aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
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/buildsym.h
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/buildsym.h')
-rw-r--r--gdb/buildsym.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 003d8a5..fa774db 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -271,13 +271,13 @@ struct buildsym_compunit
struct context_stack pop_context ();
- struct block *end_symtab_get_static_block (CORE_ADDR end_addr,
- int expandable, int required);
+ struct block *end_compunit_symtab_get_static_block
+ (CORE_ADDR end_addr, int expandable, int required);
- struct compunit_symtab *end_symtab_from_static_block
- (struct block *static_block, int section, int expandable);
+ struct compunit_symtab *end_compunit_symtab_from_static_block
+ (struct block *static_block, int section, int expandable);
- struct compunit_symtab *end_symtab (CORE_ADDR end_addr, int section);
+ struct compunit_symtab *end_compunit_symtab (CORE_ADDR end_addr, int section);
struct compunit_symtab *end_expandable_symtab (CORE_ADDR end_addr,
int section);
@@ -299,8 +299,8 @@ private:
void watch_main_source_file_lossage ();
- struct compunit_symtab *end_symtab_with_blockvector
- (struct block *static_block, int section, int expandable);
+ struct compunit_symtab *end_compunit_symtab_with_blockvector
+ (struct block *static_block, int section, int expandable);
/* The objfile we're reading debug info from. */
struct objfile *m_objfile;