|
|
Issues with GDB on OpenServer and UnixWare. |
| OpenServer 5 support in GDB was sneaked into GDB 4.16 at the last minute
and suffered from some problems. You must run
to get a gdb that recognizes both COFF and ELF.
Generally, you'll be better off using a GDB from Skunkware or building a
newer version. 4.17 and 4.18 seem to work well.
| |
| GDB 4.17 works well on OpenServer. robertlipe@usa.net | |
| GDB 4.18 seems to work OK for OpenServer. For UnixWare 7, you must either
configure --target=i686-UnixWare7-sysv42mp or apply a minor patch to configure.tgt.
robertlipe@usa.net | |
| If you are using gdb (or the native debugger) on Openserver and you get
warnings of the form
"no debugging symbols" on an ELF executable
even though you are sure you gave specified -g on the object and executable
build lines make sure that *all* the objects ( and libraries) going into the executable are also ELF format. The devsys will make ELF executables if any of the incoming objects are ELF. Any COFF files are converted to ELF format in passing but in the process symbol and debug information is removed from the resulting executable. All COFF objects -> COFF executable with symbol info All ELF objects -> ELF executable with symbol info Mixed ELF/COFF objects -> ELF executable - symbol info stripped. hops@sco.com | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||