[ros-dev] Missing debug symbols

Casper Hornstrup chorns at users.sourceforge.net
Wed Oct 13 00:24:30 CEST 2004


 

> -----Original Message-----
> From: ros-dev-bounces at reactos.com 
> [mailto:ros-dev-bounces at reactos.com] On Behalf Of WaxDragon
> Sent: 12. oktober 2004 21:17
> To: ros-dev at reactos.com
> Subject: [ros-dev] Missing debug symbols
> 
> Hello,
> 
>     For almost a week now my symbols have been missing.  It 
> started with gdb not reading in any symbols when I was trying 
> to hunt down cygwin problems, then I re-enabled KDBG in 
> config and rebuilt and KDBG can tell you the function name, 
> but not the file name and line number.
>  Last night, I deleted my sandbox and checked out a fresh 
> copy from CVS, only enabling DBG.  I think it was Arty who 
> suggested I check to see if the targets are getting the "-g" 
> flag.  I captured the entire build into a log, and these are 
> the only targets that had "-g" on the gcc command line:
> 
> ntdll (-g)
> opengl32 (-g3)
> dnsapi (-g)
> bzip2 (-g)
> oskittcp (-g)
> patblt (-g)
> primitives (-g)
> strechblt (-g)
> txtscale (-g)
> wm_erasebkgnd (-g)
> 
>     I checked this against my symbols directory and they 
> correspond to .sym files that appear to be valid. All the 
> others are 16 bytes, and don't appear to contain any useful 
> information.
> 
>     I'm not much of a make guru, so I thought I would report 
> it rather than continue to hunt it down alone. ;0)
> 
> Thanks,
> Andrew

Symbols aren't installed by default. You need to use:

mingw32-make INSTALL_SYMBOLS=yes install

Casper



More information about the Ros-dev mailing list