From 1b880e74fb2800a7878dec5bfc2b271149e97af6 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 21 Jan 1994 14:44:29 +0000 Subject: [PATCH] * xcoffread.c (xcoff_symfile_read): Make second parameter a struct section_offsets *, not a (nonexistent) struct section_offset *. --- gdb/ChangeLog | 3 +++ gdb/xcoffread.c | 8 ++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0b76582d934..28ffae72074 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 4819fec9b8b..aac55247ac4 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 */ -- 2.30.2