From: Mithras (mithras@dhp.com)
Date: Thu 22 Oct 1998 - 11:32:13 IST
On Mon, 19 Oct 1998, Christian Groessler wrote: > On 10/19/98 1:39:18 PM mithras@dhp.com wrote: > > > >I've been configuring svgalib for linux box, and been trying to debug a > test program with gdb in particular. (I've never gotten SVGA to work > >before, so I figured I may as well dive in & see what the code was > >-doing-.) Unfortunately, each time I've rebuilt the svgalib distribution > >I get 'no debugging symbols found'. I've written a hello.c to check that > gdb & gcc do work together on my system, I've reinstalled gdb & gcc, > >and I've removed the optimization flags from Makefile.cfg, but I *still* > can't debug testaccel (or fun, or accel, or vgatest, etc) > > Did you remove the "-s" parameter from the final link step of the .so file > (see src/Makefile)? > That one bit me when I was trying to build a debug lib for the first time > :-) No, I missed that one. I've removed all the '-s'es now and uncommented 'strip' in the top Makefile, but I still can't step into any library functions (while I *can* step through test programs). What else do I need to do to run the debugger on the library functions? thanks in advance, ben taylor
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:22 IST