aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-09-07 19:22:42 +0000
committerRichard Henderson <rth@redhat.com>2005-09-07 19:22:42 +0000
commitecea767983fd834f48c7ceafefaec153239837c8 (patch)
tree481e8b12b179103a057bc3d182fd2e8919fcfeb1 /gas/dwarf2dbg.h
parentbd12172103c0a142056c764a932d1a5f15977c81 (diff)
downloadgdb-ecea767983fd834f48c7ceafefaec153239837c8.zip
gdb-ecea767983fd834f48c7ceafefaec153239837c8.tar.gz
gdb-ecea767983fd834f48c7ceafefaec153239837c8.tar.bz2
* dwarf2dbg.c (dwarf2_where): Set line->isa.
(dwarf2_set_isa): New. (dwarf2_directive_loc): Rearrange to allow all options on one line. * dwarf2dbg.h (dwarf2_set_isa): Declare. * doc/as.texinfo: Update .loc documentation. * gas/lns/lns-common-1.d: Don't match header or special opcode numbers. * gas/lns/lns-common-1.s: Update for syntax change. * gas/lns/lns-diag-1.[sl]: Likewise.
Diffstat (limited to 'gas/dwarf2dbg.h')
-rw-r--r--gas/dwarf2dbg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/dwarf2dbg.h b/gas/dwarf2dbg.h
index 34c923f..6e80021 100644
--- a/gas/dwarf2dbg.h
+++ b/gas/dwarf2dbg.h
@@ -55,6 +55,10 @@ extern void dwarf2_directive_loc (int dummy);
returned. */
extern void dwarf2_where (struct dwarf2_line_info *l);
+/* A hook to allow the target backend to inform the line number state
+ machine of isa changes when assembler debug info is enabled. */
+extern void dwarf2_set_isa (unsigned int isa);
+
/* This function generates .debug_line info based on the address and
source information passed in the arguments. ADDR should be the
frag-relative offset of the instruction the information is for and