GDB 5.1 on Solaris 2.8

Eli Zaretskii
2001-11-22T16:35:33Z

I've just built GDB 5.1 on Solaris 2.8, and I have a problem: GDB says
there's no debugging symbols in every executable I find, even though they
were compiled and linkes with -g. dbx does find the debugging info.
From what I see, GDB does find the minimal symbols, since I can put
breakpoints, but it cannot find the source line information.

This is the first time I build GDB on Solaris, so I don't know whether
this is a known issue (not a word in README, though), or maybe I goofed
during the build.

The compiler used to compile GDB and the programs I try to debug was
SunWspro ANSI C compiler.

Any ideas are welcome.