diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-12 06:27:33 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-12 06:27:33 +0000 |
commit | f2bf5fae9b255871ae2b28c8a17b35a99a6444cd (patch) | |
tree | 386d4ac9786828cbbaa7adb3b1abb939aa4813a2 /gcc/config/mn10300/mn10300.h | |
parent | 4b066641b8c3420da84dd88b6754b54bb3fa8a67 (diff) | |
download | gcc-f2bf5fae9b255871ae2b28c8a17b35a99a6444cd.tar.gz |
* config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
DWARF2_DEBUG.
(DWARF2_ASM_LINE_DEBUG_INFO): Define.
(ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33869 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mn10300/mn10300.h')
-rw-r--r-- | gcc/config/mn10300/mn10300.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h index 5bc14520d83..0dd7ad14900 100644 --- a/gcc/config/mn10300/mn10300.h +++ b/gcc/config/mn10300/mn10300.h @@ -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 |