aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-21 14:44:29 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-21 14:44:29 +0000
commit1b880e74fb2800a7878dec5bfc2b271149e97af6 (patch)
tree270a7977ef8d5a2293cc88c383c9e19e72f7f9a1
parent6657a0c7ea9855163b8f1cca053c5e3f6e71dc51 (diff)
downloadgdb-1b880e74fb2800a7878dec5bfc2b271149e97af6.zip
gdb-1b880e74fb2800a7878dec5bfc2b271149e97af6.tar.gz
gdb-1b880e74fb2800a7878dec5bfc2b271149e97af6.tar.bz2
* xcoffread.c (xcoff_symfile_read): Make second parameter a
struct section_offsets *, not a (nonexistent) struct section_offset *.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/xcoffread.c8
2 files changed, 5 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0b76582..28ffae7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+ * xcoffread.c (xcoff_symfile_read): Make second parameter a
+ struct section_offsets *, not a (nonexistent) struct section_offset *.
+
* xcoffread.c (read_xcoff_symtab): Make main_aux just a union
internal_xcoff_symtab, not an array of one of them. Change lots of
"main_aux" to "&main_aux" and so on.
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 4819fec..aac5524 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -168,12 +168,8 @@ xcoff_symfile_init PARAMS ((struct objfile *));
static void
xcoff_new_init PARAMS ((struct objfile *));
-#ifdef __STDC__
-struct section_offset;
-#endif
-
static void
-xcoff_symfile_read PARAMS ((struct objfile *, struct section_offset *, int));
+xcoff_symfile_read PARAMS ((struct objfile *, struct section_offsets *, int));
static void
xcoff_symfile_finish PARAMS ((struct objfile *));
@@ -2017,7 +2013,7 @@ free_debugsection()
static void
xcoff_symfile_read (objfile, section_offset, mainline)
struct objfile *objfile;
- struct section_offset *section_offset;
+ struct section_offsets *section_offset;
int mainline;
{
int num_symbols; /* # of symbols */