diff options
author | Richard Henderson <rth@redhat.com> | 2010-09-02 22:35:18 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2010-09-02 22:35:18 +0000 |
commit | a57bec38676038972c9bbe4fb2d3f1010fdf3c54 (patch) | |
tree | 9508bedc193e0b710e2f33d88e32eb097b0a4d6c /binutils/dwarf.h | |
parent | 191079f6aa0f4e96639b39a58e782f715270a230 (diff) | |
download | binutils-redhat-a57bec38676038972c9bbe4fb2d3f1010fdf3c54.tar.gz |
* dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
(init_dwarf_regnames): Use them.
* dwarf.h: Declare them.
* objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
the regnames, rather than using elf_machine_code.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 58ecc67b26..a9b501f3e7 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -122,6 +122,8 @@ extern int do_trace_aranges; extern int do_wide; extern void init_dwarf_regnames (unsigned int); +extern void init_dwarf_regnames_i386 (void); +extern void init_dwarf_regnames_x86_64 (void); extern int load_debug_section (enum dwarf_section_display_enum, void *); |