making stabs visible to gdb

Tom Tromey tom@tromey.com
Fri Aug 5 14:50:30 GMT 2022


>> Also, is there a better way to accomplish what I'm trying to do?

In the gdb test suite, we have some Tcl code that makes it relatively
simple to create synthetic DWARF.  So, I'd consider extracting that and
using it to describe your program.

Nick> There may be a gdb command that associates an address
Nick> with a symbol name, but I do not know what it is.  Sorry.

There isn't one that does exactly this, but you can probably use the
'compile' command to achieve it.

Tom


More information about the Binutils mailing list