diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-07-13 20:26:09 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-07-13 20:26:09 +0000 |
commit | e1d240ac9b01931332c65dcf4cd0f36193a58f60 (patch) | |
tree | 5450cc82aa05e87ad138dd81a6f49a34cbae21a9 /gdb/buildsym.h | |
parent | b226be4b6cebe7e8b1279e9189fc6575c66b2c4a (diff) | |
download | gdb-e1d240ac9b01931332c65dcf4cd0f36193a58f60.tar.gz |
gdb/
* buildsym.c (end_symtab_1): Split it to ...
(end_symtab_get_static_block): ... this ...
(end_symtab_from_static_block): ... and this function.
(end_symtab, end_expandable_symtab): Call them.
* buildsym.h (end_symtab_get_static_block)
(end_symtab_from_static_block): New declarations.
* dwarf2read.c (process_full_comp_unit): New variable static_block.
Set its valid CU ranges.
gdb/testsuite/
* gdb.dwarf2/dw2-minsym-in-cu.S: New file.
* gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r-- | gdb/buildsym.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h index df5cc930a5a..162ee8c79df 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -258,6 +258,15 @@ extern void push_subfile (void); extern char *pop_subfile (void); +extern struct block *end_symtab_get_static_block (CORE_ADDR end_addr, + struct objfile *objfile, + int expandable); + +extern struct symtab *end_symtab_from_static_block (struct block *static_block, + struct objfile *objfile, + int section, + int expandable); + extern struct symtab *end_symtab (CORE_ADDR end_addr, struct objfile *objfile, int section); |