Browse Source

Protoization.

binutils-2_11-branch
Kevin Buettner 26 years ago
parent
commit
9df3df999d
  1. 5
      gdb/ChangeLog
  2. 10
      gdb/dbxread.c
  3. 10
      gdb/dsrec.c

5
gdb/ChangeLog

@ -1,3 +1,8 @@
2000-08-21 Kevin Buettner <kevinb@redhat.com>
* dbxread (dbx_symfile_read, process_later): Protoize.
* dsrec.c (load_srec): Protoize.
2000-08-18 Andrew Cagney <cagney@ops1.cygnus.com>
* mips-tdep.c (mips_gdbarch_init): Check arches->gdbarch and not

10
gdb/dbxread.c

@ -549,9 +549,7 @@ record_minimal_symbol (char *name, CORE_ADDR address, int type,
table (as opposed to a shared lib or dynamically loaded file). */
static void
dbx_symfile_read (objfile, mainline)
struct objfile *objfile;
int mainline; /* FIXME comments above */
dbx_symfile_read (struct objfile *objfile, int mainline)
{
bfd *sym_bfd;
int val;
@ -813,10 +811,8 @@ static int cont_count = 0;
/* Arrange for function F to be called with arguments SYM and P later
in the stabs reading process. */
void
process_later (sym, p, f)
struct symbol *sym;
char *p;
int (*f) (struct objfile *, struct symbol *, char *);
process_later (struct symbol *sym, char *p,
int (*f) (struct objfile *, struct symbol *, char *))
{
/* Allocate more space for the deferred list. */

10
gdb/dsrec.c

@ -44,14 +44,8 @@ static int make_srec (char *srec, CORE_ADDR targ_addr, bfd * abfd,
and returns non-zero if the ack is read correctly. */
void
load_srec (desc, file, load_offset, maxrecsize, flags, hashmark, waitack)
serial_t desc;
const char *file;
bfd_vma load_offset;
int maxrecsize;
int flags;
int hashmark;
int (*waitack) (void);
load_srec (serial_t desc, const char *file, bfd_vma load_offset, int maxrecsize,
int flags, int hashmark, int (*waitack) (void))
{
bfd *abfd;
asection *s;

Loading…
Cancel
Save