This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb works with egcs?



I was wondering if gdb version 4.16 will work fully with object code
produed by egcs.

I have a situation where there is a static library compiled with egcs
using the -g flag. This library is then linked with an executable.
When debugging the executable, the debugger produces 'incomplete type'
for types defined in the library but not for types defined in the object
files that make up the executable itself.

Does ld need any special flags to make this work?

Ta,
Ben

+---------------------------------------------------------+
|\\ + //   Ben Ross                                \\ ^ //|
| \- -/    ben@proximity.com.au                     \` '/ |
|  \|/     http://www.proximity.com.au/~ben/         \~/  |
+---+-------------------------------------------------+---+



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]