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/read.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/read.c')
-rw-r--r-- | gas/read.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -5002,7 +5002,14 @@ generate_lineno_debug () break; case DEBUG_DWARF: case DEBUG_DWARF2: - /* FIXME. */ + /* This cannot safely be done in a generic manner. A single + binary instruction word may span mutliple lines of assembler + source and may occupy a variable number of bytes. Instead, + if a port wishes to support DWARF2 line number generation by + the assembler, it should add a call to dwarf2_generate_asm_lineno + inside md_assemble() at whatever point is appropriate. Note, + such a port should also define md_end and make sure that + dwarf2_finish is called, to emit the accumulated line information. */ break; } } |