Hello list. I've just upgraded to OSX Mavericks. GDB is no longer installed with xcode5 so I downloaded, compiled and installed GDB 7.6.2 myself. I can debug my own programs, testcases and Lazarus packages if I use Dwarf debuginfo.

However, RTL which I compiled with "-gl" doesn't show filenames, procnames and line numbers anymore in the heaptrc output or stacktraces. If I compile RTL with "-gl -gw", GDB crashes with the following messages. Using FPC_2_6 and Laz_1_2 from yesterday.

While executing the command:
"TGDBMIDebuggerInstruction: "-break-insert +0", "
gdb reported:
"&"linespec.c:2445: internal-error: void decode_line_full(char **, int, struct symtab *, int, struct linespec_result *, const char *, const char *): Assertion `state->canonical_names[i].suffix != NULL' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.""

and

The GDB command:
"-break-insert +0"
did not return any result.
The GDB process is no longer running.

Following [1] I tried to compile GDB 7.3 or below. All of them failed compiling or installing on Mavericks. Is this a known problem? Is there a workaround to see linenumbers and the like on RTL traces on Mavericks?

[1] http://www.sourceware.org/ml/gdb/2012-03/msg00055.html

Thanks!

Joao Morais


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to