aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m68hc11.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-10-25 19:15:34 +0000
committerNick Clifton <nickc@redhat.com>2000-10-25 19:15:34 +0000
commit85a396941012a60ef70ccc3de7de675e67d31325 (patch)
treeaf0e619c9cf2363b2065956934e1b8ff390f93e8 /gas/config/tc-m68hc11.c
parentc56a7a95d19613c5111a365a0733d4a35bfbdbf6 (diff)
downloadgdb-85a396941012a60ef70ccc3de7de675e67d31325.zip
gdb-85a396941012a60ef70ccc3de7de675e67d31325.tar.gz
gdb-85a396941012a60ef70ccc3de7de675e67d31325.tar.bz2
Add --gdwarf2 support to ARM toolchain
Diffstat (limited to 'gas/config/tc-m68hc11.c')
-rw-r--r--gas/config/tc-m68hc11.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gas/config/tc-m68hc11.c b/gas/config/tc-m68hc11.c
index 61f25ba..c0549ab 100644
--- a/gas/config/tc-m68hc11.c
+++ b/gas/config/tc-m68hc11.c
@@ -26,8 +26,6 @@
#include "opcode/m68hc11.h"
#include "dwarf2dbg.h"
-struct dwarf2_line_info debug_line;
-
const char comment_chars[] = ";!";
const char line_comment_chars[] = "#*";
const char line_separator_chars[] = "";
@@ -1375,13 +1373,8 @@ m68hc11_new_insn (size)
/* Emit line number information in dwarf2 debug sections. */
if (debug_type == DEBUG_DWARF2)
- {
- bfd_vma addr;
+ dwarf2_generate_asm_lineno (size);
- dwarf2_where (&debug_line);
- addr = frag_now->fr_address + frag_now_fix () - size;
- dwarf2_gen_line_info (addr, &debug_line);
- }
return f;
}