Stabs debug

Edouard Gomez ed.gomez at free.fr
Mon Oct 27 11:17:41 PST 2003


Hello,

When  using stabs as  debug format,  the filename  written to  the debug
section is relative to the place yam is assembling the file. It would be
better that yasm took care of turning relative path to absolute paths so
when debugging,  the debugger will find  the file wherever  we debug the
application.

And there's an annoying message on stdout:

Index: modules/dbgfmts/stabs/stabs-dbgfmt.c
===================================================================
RCS file: /cvs/yasm/modules/dbgfmts/stabs/stabs-dbgfmt.c,v
retrieving revision 1.2
diff -u -r1.2 stabs-dbgfmt.c
--- modules/dbgfmts/stabs/stabs-dbgfmt.c	2 Oct 2003 05:03:48 -0000	1.2
+++ modules/dbgfmts/stabs/stabs-dbgfmt.c	27 Oct 2003 10:16:22 -0000
@@ -441,7 +441,6 @@
     YASM_WRITE_16_L(buf, stab->desc);
 
     if (stab->symvalue != NULL) {
-	printf("DBG: ");
 	bc->offset += 8;
 	output_reloc(stab->symvalue, bc, buf, stabs_relocsize_bytes,
 		     stabs_relocsize_bits, 0, 0, d);

-- 
Edouard Gomez


More information about the bug-yasm mailing list