diff options
author | Doug Evans <dje@google.com> | 2012-04-13 02:03:21 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-04-13 02:03:21 +0000 |
commit | e319fa28f9559b7164a0a52e34ebcda1a07341c9 (patch) | |
tree | c14cd1a35ce3732980bd37556d47b22a270b5cdf /gdb | |
parent | aae5e003e6fc213a681ef3ffdd7c4f9834800de9 (diff) | |
download | gdb-e319fa28f9559b7164a0a52e34ebcda1a07341c9.zip gdb-e319fa28f9559b7164a0a52e34ebcda1a07341c9.tar.gz gdb-e319fa28f9559b7164a0a52e34ebcda1a07341c9.tar.bz2 |
* dwarf2read.c (lookup_signatured_type): Remove arg "objfile", unused.
All callers updated.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0262d6f..0c48bd3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-04-12 Doug Evans <dje@google.com> + + * dwarf2read.c (lookup_signatured_type): Remove arg "objfile", unused. + All callers updated. + 2012-04-12 Mark Kettenis <kettenis@gnu.org> * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index ed2c99e..0e211ae 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -3351,10 +3351,10 @@ create_all_type_units (struct objfile *objfile) } /* Lookup a signature based type. - Returns NULL if SIG is not present in the table. */ + Returns NULL if signature SIG is not present in the table. */ static struct signatured_type * -lookup_signatured_type (struct objfile *objfile, ULONGEST sig) +lookup_signatured_type (ULONGEST sig) { struct signatured_type find_entry, *entry; @@ -10336,7 +10336,7 @@ read_attribute_value (struct attribute *attr, unsigned form, for later lookup. NOTE: This is NULL if the type wasn't found. */ DW_SIGNATURED_TYPE (attr) = - lookup_signatured_type (cu->objfile, read_8_bytes (abfd, info_ptr)); + lookup_signatured_type (read_8_bytes (abfd, info_ptr)); info_ptr += 8; break; case DW_FORM_ref_udata: |