diff options
author | Nick Clifton <nickc@redhat.com> | 2000-10-25 19:15:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-10-25 19:15:34 +0000 |
commit | 85a396941012a60ef70ccc3de7de675e67d31325 (patch) | |
tree | af0e619c9cf2363b2065956934e1b8ff390f93e8 /gas/config/tc-sh.c | |
parent | c56a7a95d19613c5111a365a0733d4a35bfbdbf6 (diff) | |
download | gdb-85a396941012a60ef70ccc3de7de675e67d31325.zip gdb-85a396941012a60ef70ccc3de7de675e67d31325.tar.gz gdb-85a396941012a60ef70ccc3de7de675e67d31325.tar.bz2 |
Add --gdwarf2 support to ARM toolchain
Diffstat (limited to 'gas/config/tc-sh.c')
-rw-r--r-- | gas/config/tc-sh.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index cd7de47..65ae551 100644 --- a/gas/config/tc-sh.c +++ b/gas/config/tc-sh.c @@ -34,7 +34,6 @@ #endif #include "dwarf2dbg.h" -struct dwarf2_line_info debug_line; const char comment_chars[] = "!"; const char line_separator_chars[] = ";"; @@ -1931,19 +1930,7 @@ md_assemble (str) } if (debug_type == DEBUG_DWARF2) - { - bfd_vma addr; - - /* First update the notion of the current source line. */ - dwarf2_where (&debug_line); - - /* We want the offset of the start of this instruction within the - the current frag. may be used later */ - addr = frag_now->fr_address + frag_now_fix () - size; - - /* And record the information. */ - dwarf2_gen_line_info (addr, &debug_line); - } + dwarf2_generate_asm_lineno (size); } /* This routine is called each time a label definition is seen. It |