]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/buildsym.c
gdb: rename start_symtab/end_symtab to start_compunit_symtab/end_compunit_symtab
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 28 Mar 2022 22:17:17 +0000 (18:17 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 4 Apr 2022 16:58:07 +0000 (12:58 -0400)
commit59dfe8ad84c6a9ef17a1ba4a8f443ac3cb9f6fd5
tree119727391fc7c5e95ace6211cac153fcbfb93876
parent056b6f879d0b958d470b9ed1df19ec68daf77467
gdb: rename start_symtab/end_symtab to start_compunit_symtab/end_compunit_symtab

It's a bit confusing because we have both "compunit_symtab" and "symtab"
types, and many methods and functions containing "start_symtab" or
"end_symtab", which actually deal with compunit_symtabs.  I believe this
comes from the time before compunit_symtab was introduced, where
symtab did the job of both.

Rename everything I found containing start_symtab or end_symtab to use
start_compunit_symtab or end_compunit_symtab.

Change-Id: If3849b156f6433640173085ad479b6a0b085ade2
13 files changed:
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/cu.c
gdb/dwarf2/cu.h
gdb/dwarf2/read.c
gdb/mdebugread.c
gdb/stabsread.c
gdb/xcoffread.c