aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2025-03-12 00:34:07 -0400
committerSimon Marchi <simon.marchi@efficios.com>2025-03-12 22:27:12 -0400
commitc8016181cb4f7f2baa940e6a1bcc6b74bd26bd5d (patch)
treead927f5766fb232209c22887c68e83a64e74f601 /gdb
parent69e80b754d21b8a94ecb30e6273e38b9f4ed580f (diff)
downloadfsf-binutils-gdb-master.zip
fsf-binutils-gdb-master.tar.gz
fsf-binutils-gdb-master.tar.bz2
gdb/dwarf: remove unused parameter of create_dwo_cu_readerHEADmaster
Change-Id: I0c5b7591eab8e6616b653be7c04bc75159427ad6
Diffstat (limited to 'gdb')
-rw-r--r--gdb/dwarf2/read.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index 5ca3e95..d53c1e9 100644
--- a/gdb/dwarf2/read.c
+++ b/gdb/dwarf2/read.c
@@ -6543,9 +6543,8 @@ lookup_dwo_file (dwarf2_per_bfd *per_bfd, const char *dwo_name,
/* die_reader_func for create_dwo_cu. */
static void
-create_dwo_cu_reader (dwarf2_cu *cu, const gdb_byte *info_ptr,
- die_info *comp_unit_die, dwo_file *dwo_file,
- dwo_unit *dwo_unit)
+create_dwo_cu_reader (dwarf2_cu *cu, die_info *comp_unit_die,
+ dwo_file *dwo_file, dwo_unit *dwo_unit)
{
sect_offset sect_off = cu->per_cu->sect_off;
struct dwarf2_section_info *section = cu->per_cu->section;
@@ -6606,8 +6605,8 @@ create_cus_hash_table (dwarf2_cu *cu, dwo_file &dwo_file)
cu, &dwo_file);
if (!reader.is_dummy ())
- create_dwo_cu_reader (reader.cu (), reader.info_ptr (),
- reader.top_level_die (), &dwo_file, &read_unit);
+ create_dwo_cu_reader (reader.cu (), reader.top_level_die (), &dwo_file,
+ &read_unit);
info_ptr += per_cu.length ();
/* If the unit could not be parsed, skip it. */