aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-24 01:43:59 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-24 01:43:59 +0000
commit2731625a564e7c5134aae47bb0a6dffa8f4b7896 (patch)
tree6adeb25e197dce9f84d0a1ff846a35bf8406c3f2 /gdb/stabsread.h
parent514774942d0a546735f0f0a3ebc134c97c9477cc (diff)
downloadgdb-2731625a564e7c5134aae47bb0a6dffa8f4b7896.zip
gdb-2731625a564e7c5134aae47bb0a6dffa8f4b7896.tar.gz
gdb-2731625a564e7c5134aae47bb0a6dffa8f4b7896.tar.bz2
* buildsym.h: Remove declaration of dbxread.c functions.
* stabsread.h: Group together dbxread.c functions. Move elfstab_build_psymtabs here from symfile.h. Declare pastab_build_psymtabs. * elfread.c, paread.c: Include stabsread.h (for stabsread_new_init declaration, etc).
Diffstat (limited to 'gdb/stabsread.h')
-rw-r--r--gdb/stabsread.h37
1 files changed, 26 insertions, 11 deletions
diff --git a/gdb/stabsread.h b/gdb/stabsread.h
index c7c0299..050d238 100644
--- a/gdb/stabsread.h
+++ b/gdb/stabsread.h
@@ -154,6 +154,24 @@ add_undefined_type PARAMS ((struct type *));
extern struct symbol *
define_symbol PARAMS ((unsigned int, char *, int, int, struct objfile *));
+extern void
+stabsread_init PARAMS ((void));
+
+extern void
+stabsread_new_init PARAMS ((void));
+
+extern void
+start_stabs PARAMS ((void));
+
+extern void
+end_stabs PARAMS ((void));
+
+extern void
+finish_global_stabs PARAMS ((struct objfile *objfile));
+
+/* Functions exported by dbxread.c. These are not in stabsread.h because
+ they are only used by some stabs readers. */
+
extern struct partial_symtab *
start_psymtab PARAMS ((struct objfile *, struct section_offsets *, char *,
CORE_ADDR, int, struct partial_symbol *,
@@ -168,18 +186,15 @@ process_one_symbol PARAMS ((int, int, CORE_ADDR, char *,
struct section_offsets *, struct objfile *));
extern void
-stabsread_init PARAMS ((void));
+elfstab_build_psymtabs PARAMS ((struct objfile *objfile,
+ struct section_offsets *section_offsets,
+ int mainline,
+ file_ptr staboff, unsigned int stabsize,
+ file_ptr stabstroffset,
+ unsigned int stabstrsize));
extern void
-stabsread_new_init PARAMS ((void));
-
-extern void
-start_stabs PARAMS ((void));
-
-extern void
-end_stabs PARAMS ((void));
-
-extern void
-finish_global_stabs PARAMS ((struct objfile *objfile));
+pastab_build_psymtabs PARAMS ((struct objfile *, struct section_offsets *,
+ int));
#undef EXTERN