aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 536d50a..61ffc0f 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -49,12 +49,6 @@ struct dynamic_prop;
#define HASHSIZE 127 /* Size of things hashed via
hashname(). */
-/* Core address of start of text of current source file. This too
- comes from the N_SO symbol. For Dwarf it typically comes from the
- DW_AT_low_pc attribute of a DW_TAG_compile_unit DIE. */
-
-EXTERN CORE_ADDR last_source_start_addr;
-
/* The list of sub-source-files within the current individual
compilation. Each file gets its own symtab with its own linetable
and associated info, but they all share one blockvector. */
@@ -310,6 +304,16 @@ extern struct compunit_symtab *buildsym_compunit_symtab (void);
extern struct macro_table *get_macro_table (void);
+/* Set the last source start address. Can only be used between
+ start_symtab and end_symtab* calls. */
+
+extern void set_last_source_start_addr (CORE_ADDR addr);
+
+/* Get the last source start address. Can only be used between
+ start_symtab and end_symtab* calls. */
+
+extern CORE_ADDR get_last_source_start_addr ();
+
#undef EXTERN
#endif /* defined (BUILDSYM_H) */