Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Problems with Makefiles for debugging.
@ 1993-09-10  8:24 Miguel Angel Liebana Presa
  0 siblings, 0 replies; only message in thread
From: Miguel Angel Liebana Presa @ 1993-09-10  8:24 UTC (permalink / 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.
-----------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-09-10  8:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-10  8:24 Problems with Makefiles for debugging Miguel Angel Liebana Presa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox