Do not pass section index to end_compunit_symtab
authorTom Tromey <tromey@adacore.com>
Fri, 13 Jan 2023 16:08:41 +0000 (09:08 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 8 Feb 2023 15:20:12 +0000 (08:20 -0700)
commit83bad3162d7303b51e2ec9b49cb9e78c72d27aa3
tree816e4d1e981f536b0286d6b73e27a608b4bf451e
parentb8a6e9878141f5f1ac6c790e85257eadd51fff8f
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.c
gdb/buildsym-legacy.h
gdb/buildsym.c
gdb/buildsym.h
gdb/coffread.c
gdb/ctfread.c
gdb/dbxread.c
gdb/dwarf2/read.c
gdb/mdebugread.c
gdb/xcoffread.c