aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-03-02 16:44:34 +0000
committerDaniel Jacobowitz <drow@false.org>2010-03-02 16:44:34 +0000
commit0b6ae52290bac3fee2f4ce2e435b70b52c932d69 (patch)
treefc6cd2b2b78d553d73ba855284bf18d080ad3365 /binutils/dwarf.c
parent1ba53b71caf9544b0c1dc040af4052561c32d47b (diff)
downloadgdb-0b6ae52290bac3fee2f4ce2e435b70b52c932d69.zip
gdb-0b6ae52290bac3fee2f4ce2e435b70b52c932d69.tar.gz
gdb-0b6ae52290bac3fee2f4ce2e435b70b52c932d69.tar.bz2
* NEWS: Document .ARM.exidx / .ARM.extab support.
* dwarf.c (read_leb128): Make non-static. * dwarf.h (read_leb128): Declare. * readelf.c (REMOVE_ARCH_BITS): Define. (find_section_by_address): New. (read_uleb128): Move higher. Use read_leb128 from dwarf.c. (find_symbol_for_address): Handle the Thumb bit for ARM, by using REMOVE_ARCH_BITS. (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name) (arm_free_section, arm_section_get_word, decode_arm_unwind) (dump_arm_unwind, arm_process_unwind): New. (process_unwind): Handle ARM.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 0e14332..e51aa64 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -227,7 +227,7 @@ print_dwarf_vma (dwarf_vma val, unsigned byte_size)
fputs (buff + (byte_size == 4 ? 8 : 0), stdout);
}
-static unsigned long int
+unsigned long int
read_leb128 (unsigned char *data, unsigned int *length_return, int sign)
{
unsigned long int result = 0;