Commit 5c68706c by Alexandre Oliva Committed by Alexandre Oliva

mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as DWARF2_DEBUG.

* config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
DWARF2_DEBUG.
(DWARF2_ASM_LINE_DEBUG_INFO): Define.
(ASM_OUTPUT_DWARF2_ADDR_CONST): Define.

From-SVN: r33869
parent 497eb8c3
2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
* config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
DWARF2_DEBUG.
(DWARF2_ASM_LINE_DEBUG_INFO): Define.
(ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
2000-05-11 Richard Henderson <rth@cygnus.com> 2000-05-11 Richard Henderson <rth@cygnus.com>
* calls.c: Revert both 05-09 patches. * calls.c: Revert both 05-09 patches.
......
...@@ -1031,10 +1031,16 @@ do { char dstr[30]; \ ...@@ -1031,10 +1031,16 @@ do { char dstr[30]; \
/* We don't have to worry about dbx compatibility for the mn10300. */ /* We don't have to worry about dbx compatibility for the mn10300. */
#define DEFAULT_GDB_EXTENSIONS 1 #define DEFAULT_GDB_EXTENSIONS 1
/* Use stabs debugging info by default. */ /* Use dwarf2 debugging info by default. */
#undef PREFERRED_DEBUGGING_TYPE #undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#define DWARF2_ASM_LINE_DEBUG_INFO 1
/* We need to prepend underscores. */
#define ASM_OUTPUT_DWARF2_ADDR_CONST(FILE,ADDR) \
fprintf ((FILE), "\t%s\t_%s", UNALIGNED_WORD_ASM_OP, (ADDR))
#define DBX_REGISTER_NUMBER(REGNO) REGNO #define DBX_REGISTER_NUMBER(REGNO) REGNO
/* GDB always assumes the current function's frame begins at the value /* GDB always assumes the current function's frame begins at the value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment