aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-03-28 18:17:17 -0400
committerSimon Marchi <simon.marchi@efficios.com>2022-04-04 12:58:07 -0400
commit59dfe8ad84c6a9ef17a1ba4a8f443ac3cb9f6fd5 (patch)
tree119727391fc7c5e95ace6211cac153fcbfb93876 /gdb/stabsread.c
parent056b6f879d0b958d470b9ed1df19ec68daf77467 (diff)
downloadgdb-59dfe8ad84c6a9ef17a1ba4a8f443ac3cb9f6fd5.zip
gdb-59dfe8ad84c6a9ef17a1ba4a8f443ac3cb9f6fd5.tar.gz
gdb-59dfe8ad84c6a9ef17a1ba4a8f443ac3cb9f6fd5.tar.bz2
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
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index c6821f8..5e85c34 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -4659,7 +4659,7 @@ stabsread_new_init (void)
}
/* Initialize anything that needs initializing at the same time as
- start_symtab() is called. */
+ start_compunit_symtab() is called. */
void
start_stabs (void)
@@ -4675,7 +4675,7 @@ start_stabs (void)
common_block_name = NULL;
}
-/* Call after end_symtab(). */
+/* Call after end_compunit_symtab(). */
void
end_stabs (void)