From 83bad3162d7303b51e2ec9b49cb9e78c72d27aa3 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 13 Jan 2023 09:08:41 -0700 Subject: Do not pass section index to end_compunit_symtab Right now, the section index passed to end_compunit_symtab is always SECT_OFF_TEXT. Remove this parameter and simply always use SECT_OFF_TEXT. --- gdb/buildsym-legacy.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/buildsym-legacy.h') diff --git a/gdb/buildsym-legacy.h b/gdb/buildsym-legacy.h index b553eb7..3d705a8 100644 --- a/gdb/buildsym-legacy.h +++ b/gdb/buildsym-legacy.h @@ -70,8 +70,7 @@ extern void push_subfile (); extern const char *pop_subfile (); -extern struct compunit_symtab *end_compunit_symtab (CORE_ADDR end_addr, - int section); +extern struct compunit_symtab *end_compunit_symtab (CORE_ADDR end_addr); extern struct context_stack *push_context (int desc, CORE_ADDR valu); -- cgit v1.1