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
This commit is contained in:
Alexandre Oliva 2000-05-12 06:27:33 +00:00 committed by Alexandre Oliva
parent 497eb8c3c7
commit 5c68706cb3
2 changed files with 15 additions and 2 deletions

View file

@ -1,3 +1,10 @@
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>
* calls.c: Revert both 05-09 patches.

View file

@ -1031,10 +1031,16 @@ do { char dstr[30]; \
/* We don't have to worry about dbx compatibility for the mn10300. */
#define DEFAULT_GDB_EXTENSIONS 1
/* Use stabs debugging info by default. */
/* Use dwarf2 debugging info by default. */
#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
/* GDB always assumes the current function's frame begins at the value