Re: preparing svgalib for gdb

Search this archive.

From: Christian Groessler (cpg@aladdin.de)
Date: Mon 19 Oct 1998 - 17:26:16 IST


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
:-)

regards,
chris


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:22 IST