aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-10 20:20:15 +0000
committerDoug Evans <dje@google.com>2012-07-10 20:20:15 +0000
commit6d30eef8d4080bfe2437b2bd0e13525f386a8350 (patch)
treeba9c666031efd5deb735990392b88eab47a2fceb /gdb/buildsym.h
parentb4c41fc7e2e297121ad3c96ad9e2f8b8738be373 (diff)
downloadgdb-6d30eef8d4080bfe2437b2bd0e13525f386a8350.zip
gdb-6d30eef8d4080bfe2437b2bd0e13525f386a8350.tar.gz
gdb-6d30eef8d4080bfe2437b2bd0e13525f386a8350.tar.bz2
* buildsym.c (finish_block_internal): New arg "expandable".
All callers updated. (start_symtab): Move most contents to ... (restart_symtab): ... here. New function. (reset_symtab_globals): New function. (end_symtab_1): Renamed from end_symtab. New arg "expandable". Call reset_symtab_globals. (end_symtab, end_expandable_symtab): New functions. (set_missing_symtab, augment_type_symtab): New functions. * buildsym.h (end_expandable_symtab): Declare. (augment_type_symtab, restart_symtab): Declare.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 4448267..df5cc93 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -261,6 +261,13 @@ extern char *pop_subfile (void);
extern struct symtab *end_symtab (CORE_ADDR end_addr,
struct objfile *objfile, int section);
+extern struct symtab *end_expandable_symtab (CORE_ADDR end_addr,
+ struct objfile *objfile,
+ int section);
+
+extern void augment_type_symtab (struct objfile *objfile,
+ struct symtab *primary_symtab);
+
/* Defined in stabsread.c. */
extern void scan_file_globals (struct objfile *objfile);
@@ -277,6 +284,8 @@ extern void record_line (struct subfile *subfile, int line, CORE_ADDR pc);
extern void start_symtab (char *name, char *dirname, CORE_ADDR start_addr);
+extern void restart_symtab (CORE_ADDR start_addr);
+
extern int hashname (const char *name);
extern void free_pending_blocks (void);