aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-06-14 13:30:28 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2013-06-14 13:30:28 +0000
commite410add4157311809c0b580cf2303bd07c55ea1e (patch)
tree0c7d805e894dd462976744ceeb1c9fbad0eb55e0 /gas/dwarf2dbg.h
parent6a50d470b71ce26110ef91d2679d4565d3a3192e (diff)
downloadgdb-e410add4157311809c0b580cf2303bd07c55ea1e.zip
gdb-e410add4157311809c0b580cf2303bd07c55ea1e.tar.gz
gdb-e410add4157311809c0b580cf2303bd07c55ea1e.tar.bz2
gas/
* dwarf2dbg.h (dwarf2_move_insn): Declare. * dwarf2dbg.c (line_subseg): Add pmove_tail. (get_line_subseg): Add create_p argument. Initialize pmove_tail. (dwarf2_gen_line_info_1): Update call accordingly. (dwarf2_move_insn): New function. * config/tc-mips.c (append_insn): Use dwarf2_move_insn. gas/testsuite/ * gas/mips/loc-swap-3.d, gas/mips/loc-swap-3.s: New test. * gas/mips/mips.exp: Run it.
Diffstat (limited to 'gas/dwarf2dbg.h')
-rw-r--r--gas/dwarf2dbg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/dwarf2dbg.h b/gas/dwarf2dbg.h
index 05c7bee..84ef8f6 100644
--- a/gas/dwarf2dbg.h
+++ b/gas/dwarf2dbg.h
@@ -74,6 +74,8 @@ extern void dwarf2_gen_line_info (addressT addr, struct dwarf2_line_info *l);
/* Must be called for each generated instruction. */
extern void dwarf2_emit_insn (int);
+void dwarf2_move_insn (int);
+
/* Reset the state of the line number information to reflect that
it has been used. */
extern void dwarf2_consume_line_info (void);