aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-03-29 23:26:47 +0000
committerJohn Gilmore <gnu@cygnus>1992-03-29 23:26:47 +0000
commitbe772100b5002a9d942ebea6e597787ea878932a (patch)
treed5cf30ef76c85c6e4ee0fdf6824ea25df14fcf47 /gdb/elfread.c
parent3414e4eb38123381ceb0a04ae0fd7fbb3de7e2db (diff)
downloadgdb-be772100b5002a9d942ebea6e597787ea878932a.zip
gdb-be772100b5002a9d942ebea6e597787ea878932a.tar.gz
gdb-be772100b5002a9d942ebea6e597787ea878932a.tar.bz2
Lint
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 99cf1ad..db66a25 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -40,6 +40,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "symtab.h"
#include "symfile.h"
#include "objfiles.h"
+#include "buildsym.h"
#define STREQ(a,b) (strcmp((a),(b))==0)
@@ -63,7 +64,7 @@ static void
elf_symfile_finish PARAMS ((struct objfile *));
static void
-elf_symtab_read PARAMS ((bfd *, CORE_ADDR, int, struct objfile *));
+elf_symtab_read PARAMS ((bfd *, CORE_ADDR, struct objfile *));
static void
record_minimal_symbol PARAMS ((char *, CORE_ADDR, enum minimal_symbol_type,
@@ -86,8 +87,8 @@ elf_locate_sections PARAMS ((bfd *, asection *, PTR));
FIXME: The section names should not be hardwired strings. */
static void
-elf_locate_sections (abfd, sectp, eip)
- bfd *abfd;
+elf_locate_sections (ignore_abfd, sectp, eip)
+ bfd *ignore_abfd;
asection *sectp;
PTR eip;
{
@@ -173,7 +174,7 @@ LOCAL FUNCTION
SYNOPSIS
- void elf_symtab_read (bfd *abfd, CORE_ADDR addr, int mainline,
+ void elf_symtab_read (bfd *abfd, CORE_ADDR addr,
struct objfile *objfile)
DESCRIPTION
@@ -186,10 +187,9 @@ DESCRIPTION
*/
static void
-elf_symtab_read (abfd, addr, mainline, objfile)
+elf_symtab_read (abfd, addr, objfile)
bfd *abfd;
CORE_ADDR addr;
- int mainline;
struct objfile *objfile;
{
unsigned int storage_needed;
@@ -287,7 +287,7 @@ elf_symfile_read (objfile, addr, mainline)
/* Process the normal ELF symbol table first. */
- elf_symtab_read (abfd, addr, mainline, objfile);
+ elf_symtab_read (abfd, addr, objfile);
/* Now process the DWARF debugging information, which is contained in
special ELF sections. We first have to find them... */
@@ -326,8 +326,8 @@ elf_symfile_read (objfile, addr, mainline)
just a stub. */
static void
-elf_new_init (objfile)
- struct objfile *objfile;
+elf_new_init (ignore)
+ struct objfile *ignore;
{
buildsym_new_init ();
}
@@ -357,8 +357,8 @@ elf_symfile_finish (objfile)
just a stub. */
static void
-elf_symfile_init (objfile)
- struct objfile *objfile;
+elf_symfile_init (ignore)
+ struct objfile *ignore;
{
}