summaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-10 20:20:02 +0000
committerDoug Evans <dje@google.com>2012-07-10 20:20:02 +0000
commit8237a7c5bf3d76be7159639cd3977dd51f739952 (patch)
tree29815598dd57bb180a806bf7f6efcc7cb8e5eea6 /gdb/buildsym.h
parente79fe37c513da4eb9612bf6eadc61539782df1fd (diff)
downloadgdb-8237a7c5bf3d76be7159639cd3977dd51f739952.tar.gz
* 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 4448267c24a..df5cc930a5a 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);