Possible stabs bugs

Al Stevens alstevens@midifitz.com
Thu Sep 10 09:58:00 GMT 1998


I'm writing a GUI debugger for the egcs 1.1 port of Mingw32. Mumit suggested
I submit bugs here. Is there a news group that I should be monitoring?

1. cc1plus.exe emits a strange stab for this code:

struct { int x, y; } foo;

If you name the struct as shown next, the stab looks right.

struct bar { int x, y; } foo;


2. The linker is not resolving the addresses of global variables (N_GSYM) in
the stab as previous versions of gnu-win32 do. The egcs 1.1 linker leaves
the stab's value field zero and places no other symbolic infomation in the
exe file that (as far as I can tell) provides the variable's memory address.

3. The stabs format has changed considerably since the 1993 FSF spec by
Menapace, Kingdon, and MacKenzie. Can you direct me to a more recent
specification document?

Many thanks.

Al Stevens
Dr. Dobb's Journal





More information about the Gcc-bugs mailing list