From: mliebana@laurel.datsi.fi.upm.es (Miguel Angel Liebana Presa)
Subject: Problems with Makefiles for debugging.
Date: 10 Sep 93 10:24:34 +0200 [thread overview]
Message-ID: <1993Sep10.102434.103@goofy.fi.upm.es> (raw)
We are currently modifying OSF/1 Release 1.0.4 MK 4.1 in
order to provide Posix 1003.4 services and we have a little problem with
the Makefiles, the shell scripts and the configuration files that build
the server.
I am trying to use the modified version of gdb provided with the
OSF/1 distribution to attach it to a second server.
After building the server using the configuration file 'DEBUG', I
get a 7 Mb executable, therefore the debugging was extremely slow. The size is
so big because the DEBUG configuration file forces the compilation of all
source files with the -g option. ^^^
Does anybody know a clean way of turn on debugging on only one
source file?. Such solution will create a quite smaller executable that
will speed up debugging.
I can now generate the small-size debugable server, but the way
I do this is obscure and dirty. I have removed our files of the
'src/mach_servers/server/conf/files' file and I have modified the file
'src/mach_servers/server/conf/template.mk' to force the compilation of our
files with the -g option.
It will also be appreciated help about where to find documentation
about the shell scripts and configuration files that builds the server.
Specially helpful will be the format of the file 'files' processed by the
'config' utility.
Thank You.!
Miguel.
-----------------------------------------------------------------------------
Name: Miguel Angel Liebana Presa
E-mail: mliebana@datsi.fi.upm.es (138.100.9.1)
Department: Computer Architecture Department.
Center: Facultad de Informatica. ( Computer Science )
University: Universidad Politecnica de Madrid.
Country: Spain.
-----------------------------------------------------------------------------
reply other threads:[~1993-09-10 8:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox