diff options
author | Tom Tromey <tromey@adacore.com> | 2023-01-13 09:08:41 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-02-08 08:20:12 -0700 |
commit | 83bad3162d7303b51e2ec9b49cb9e78c72d27aa3 (patch) | |
tree | 816e4d1e981f536b0286d6b73e27a608b4bf451e /gdb/buildsym-legacy.h | |
parent | b8a6e9878141f5f1ac6c790e85257eadd51fff8f (diff) | |
download | binutils-83bad3162d7303b51e2ec9b49cb9e78c72d27aa3.zip binutils-83bad3162d7303b51e2ec9b49cb9e78c72d27aa3.tar.gz binutils-83bad3162d7303b51e2ec9b49cb9e78c72d27aa3.tar.bz2 |
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.
Diffstat (limited to 'gdb/buildsym-legacy.h')
-rw-r--r-- | gdb/buildsym-legacy.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); |