aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-12-27 16:31:56 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-12-27 16:31:56 +0000
commit404f69a80b818c6d4a29fbb56f535b65d9d59b50 (patch)
treea0cf80474bef468996ada3bb498ab6b31d12df49 /gdb/symtab.h
parente7386e322551fd94efdfbf228bf7db3efa0d9d56 (diff)
downloadfsf-binutils-gdb-404f69a80b818c6d4a29fbb56f535b65d9d59b50.zip
fsf-binutils-gdb-404f69a80b818c6d4a29fbb56f535b65d9d59b50.tar.gz
fsf-binutils-gdb-404f69a80b818c6d4a29fbb56f535b65d9d59b50.tar.bz2
* dbxread.c: Move default definition of GCC_COMPILED_FLAG_SYMBOL
from here . . . * symtab.h: . . . to here. * dbxread.c (record_minimal_symbol): Move check for gcc{,2}_compiled. and __gnu_compiled* from here . . . * minsyms.c (prim_record_minimal_symbol_and_info): . . . to here. * minsyms.c (prim_record_minimal_symbol): Call prim_record_minimal_symbol_and_info rather than duplicating code.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 69a83a8..8a4f17b 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -978,6 +978,16 @@ contained_in PARAMS ((struct block *, struct block *));
extern void
reread_symbols PARAMS ((void));
+/* Macro for name of symbol to indicate a file compiled with gcc. */
+#ifndef GCC_COMPILED_FLAG_SYMBOL
+#define GCC_COMPILED_FLAG_SYMBOL "gcc_compiled."
+#endif
+
+/* Macro for name of symbol to indicate a file compiled with gcc2. */
+#ifndef GCC2_COMPILED_FLAG_SYMBOL
+#define GCC2_COMPILED_FLAG_SYMBOL "gcc2_compiled."
+#endif
+
/* Functions for dealing with the minimal symbol table, really a misc
address<->symbol mapping for things we don't have debug symbols for. */
@@ -1036,7 +1046,7 @@ extern CORE_ADDR
find_line_pc PARAMS ((struct symtab *, int));
extern int
-find_line_pc_range PARAMS ((struct symtab_and_line, int,
+find_line_pc_range PARAMS ((struct symtab_and_line,
CORE_ADDR *, CORE_ADDR *));
extern void