From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d4f6017c85894020,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-09-10 02:28:50 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!doc.ic.ac.uk!warwick!zaphod.crihan.fr!vishnu.jussieu.fr!univ-lyon1.fr!scsing.switch.ch!sun.rediris.es!goofy.fi.upm.es!laurel.datsi.fi.upm.es!mliebana Newsgroups: comp.unix.osf.osf1 Subject: Problems with Makefiles for debugging. Message-ID: <1993Sep10.102434.103@goofy.fi.upm.es> From: mliebana@laurel.datsi.fi.upm.es (Miguel Angel Liebana Presa) Date: 10 Sep 93 10:24:34 +0200 Distribution: world Organization: Dpto. Arquitectura. Universidad Politecnica de Madrid Nntp-Posting-Host: laurel.datsi.fi.upm.es 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. -----------------------------------------------------------------------------