]> granicus.if.org Git - yasm/commit
STABS debugging information. This includes, naturally, several draft
authorMichael Urman <mu@tortall.net>
Fri, 15 Aug 2003 03:43:55 +0000 (03:43 -0000)
committerMichael Urman <mu@tortall.net>
Fri, 15 Aug 2003 03:43:55 +0000 (03:43 -0000)
commit47576797ad4671019f3de1821e21c1117143b1b1
tree3a7dc8415dfb12cce0d6f7292918a320488d9243
parent4a4aa52a8586aca6abeb67fa07c7fd3669bc8b19
STABS debugging information.  This includes, naturally, several draft
changes to the dbgfmt interface, and other assorted updates, including:
* yasm.c now calls df->initialize() and df->generate()
* a dbgfmt bytecode type with associated handling
* yasm_output_reloc_func type for use particularly by dbgfmts
* df: initialize updated; generate, bc_dbgfmt_data_{output|delete|print} added
* null-dbgfmt structure brought in line with these additions
* elf-objfmt made aware of stabs sections, and what to do with them

The bad news:
* just enough stabs output to support line number information in GDB
* GDB identifies function labels off by 3 bytes in my test, but line
  numbers remain correct, somehow.  Unknown whether stabs-dbgfmt or GDB
  at fault.

svn path=/trunk/yasm/; revision=1037
14 files changed:
frontends/yasm/yasm.c
libyasm/bytecode.c
libyasm/bytecode.h
libyasm/coretype.h
libyasm/dbgfmt.h
modules/dbgfmts/Makefile.inc
modules/dbgfmts/null/null-dbgfmt.c
modules/dbgfmts/stabs/Makefile.inc [new file with mode: 0644]
modules/dbgfmts/stabs/stabs-dbgfmt.c [new file with mode: 0644]
modules/objfmts/bin/bin-objfmt.c
modules/objfmts/coff/coff-objfmt.c
modules/objfmts/elf/elf-objfmt.c
modules/objfmts/elf/elf.c
modules/objfmts/elf/elf.h