/* Program to stuff files into a specially prepared space in kdb.
- Copyright (C) 1986, 1989, 1991 Free Software Foundation, Inc.
+ Copyright 1986, 1989, 1991, 1992, 1995, 2000
+ Free Software Foundation, Inc.
This file is part of GDB.
/* Read symbol table from file and returns the offset into the file
* where symbol sym_name is located. If error, print message and
* exit. */
-get_offset (file, sym_name)
- char *file;
- char *sym_name;
+get_offset (char *file, char *sym_name)
{
int f;
struct exec file_hdr;
return (N_TXTOFF (file_hdr) + core_addr - origin);
}
-find_symbol (sym_name, symbol_table, length, strings)
- char *sym_name;
- struct nlist *symbol_table;
- int length;
- char *strings;
+find_symbol (char *sym_name, struct nlist *symbol_table, int length,
+ char *strings)
{
register struct nlist *sym;