X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fconfig%2Fm32r%2Fm32r.h;h=830ae82a576dc97cea052b9fddb1478ad6953bbf;hb=1c9e8ae3b417cbfcbc5e200a1d68d34669d59964;hp=b2a00a95b331c7a16ed010115fea9547bedf82e9;hpb=d0de818d2c8adf1bd0c34a1e3a57af3fadd79235;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h index b2a00a95b33..830ae82a576 100644 --- a/gcc/config/m32r/m32r.h +++ b/gcc/config/m32r/m32r.h @@ -1524,6 +1524,7 @@ L2: .word STATIC #define DBX_OUTPUT_SOURCE_LINE(file, line, counter) \ do \ { \ + rtx begin_label = XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0);\ char label[64]; \ ASM_GENERATE_INTERNAL_LABEL (label, "LM", counter); \ \ @@ -1534,7 +1535,8 @@ L2: .word STATIC fputs ("\n\t.debugsym ", file); \ assemble_name (file, label); \ putc ('\n', file); \ - } \ + counter += 1; \ + } \ while (0) /* How to refer to registers in assembler output. @@ -1694,9 +1696,9 @@ extern char m32r_punct_chars[256]; #define DBX_DEBUGGING_INFO 1 #define DWARF2_DEBUGGING_INFO 1 -/* Prefer STABS (for now). */ +/* Use DWARF2 debugging info by default. */ #undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG +#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG /* Turn off splitting of long stabs. */ #define DBX_CONTIN_LENGTH 0