This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Mixing custom debug information with that of as --gen-debug


Hi!

I would like to make an assembler file with my compiler where I would
define (DWARF) debug information for high level types, function
arguments and global variables while retaining symbol and line debug
information from "as --gen-debug". I have tried to do this by adding
my own DWARF information into the assembler file but if I add compile
unit information and assemble it with "--gen-debug", after I run such
program in GDB and try to set a break, GDB crashes with segfault. So I
think that there is a bug in GDB (6.8-debian) and that I also do
something wrong. Any suggestions how could I accomplish this?


Mitar


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