diff options
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/xcoffread.c | 8 |
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 */ |