forked from Imagelibrary/binutils-gdb
2003-09-14 Andrew Cagney <cagney@redhat.com>
* alpha-nat.c: Remove some occurances of "register". * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. * typeprint.c, utils.c, valarith.c, valops.c: Ditto. * values.c, vax-tdep.c, xcoffread.c: Ditto.
This commit is contained in:
@@ -352,8 +352,8 @@ add_this_object_header_file (int i)
|
||||
static void
|
||||
add_old_header_file (char *name, int instance)
|
||||
{
|
||||
register struct header_file *p = HEADER_FILES (current_objfile);
|
||||
register int i;
|
||||
struct header_file *p = HEADER_FILES (current_objfile);
|
||||
int i;
|
||||
|
||||
for (i = 0; i < N_HEADER_FILES (current_objfile); i++)
|
||||
if (STREQ (p[i].name, name) && instance == p[i].instance)
|
||||
@@ -378,8 +378,8 @@ add_old_header_file (char *name, int instance)
|
||||
static void
|
||||
add_new_header_file (char *name, int instance)
|
||||
{
|
||||
register int i;
|
||||
register struct header_file *hfile;
|
||||
int i;
|
||||
struct header_file *hfile;
|
||||
|
||||
/* Make sure there is room for one more header file. */
|
||||
|
||||
@@ -421,7 +421,7 @@ add_new_header_file (char *name, int instance)
|
||||
static struct type **
|
||||
explicit_lookup_type (int real_filenum, int index)
|
||||
{
|
||||
register struct header_file *f = &HEADER_FILES (current_objfile)[real_filenum];
|
||||
struct header_file *f = &HEADER_FILES (current_objfile)[real_filenum];
|
||||
|
||||
if (index >= f->length)
|
||||
{
|
||||
@@ -1292,12 +1292,12 @@ function_outside_compilation_unit_complaint (const char *arg1)
|
||||
static void
|
||||
read_dbx_symtab (struct objfile *objfile)
|
||||
{
|
||||
register struct external_nlist *bufp = 0; /* =0 avoids gcc -Wall glitch */
|
||||
struct external_nlist *bufp = 0; /* =0 avoids gcc -Wall glitch */
|
||||
struct internal_nlist nlist;
|
||||
CORE_ADDR text_addr;
|
||||
int text_size;
|
||||
|
||||
register char *namestring;
|
||||
char *namestring;
|
||||
int nsl;
|
||||
int past_first_source_file = 0;
|
||||
CORE_ADDR last_o_file_start = 0;
|
||||
@@ -2588,12 +2588,12 @@ dbx_psymtab_to_symtab (struct partial_symtab *pst)
|
||||
static void
|
||||
read_ofile_symtab (struct partial_symtab *pst)
|
||||
{
|
||||
register char *namestring;
|
||||
register struct external_nlist *bufp;
|
||||
char *namestring;
|
||||
struct external_nlist *bufp;
|
||||
struct internal_nlist nlist;
|
||||
unsigned char type;
|
||||
unsigned max_symnum;
|
||||
register bfd *abfd;
|
||||
bfd *abfd;
|
||||
struct objfile *objfile;
|
||||
int sym_offset; /* Offset to start of symbols to read */
|
||||
int sym_size; /* Size of symbols to read */
|
||||
@@ -2805,7 +2805,7 @@ process_one_symbol (int type, int desc, CORE_ADDR valu, char *name,
|
||||
static CORE_ADDR last_pc_address;
|
||||
#endif
|
||||
|
||||
register struct context_stack *new;
|
||||
struct context_stack *new;
|
||||
/* This remembers the address of the start of a function. It is used
|
||||
because in Solaris 2, N_LBRAC, N_RBRAC, and N_SLINE entries are
|
||||
relative to the current function's start address. On systems
|
||||
|
||||
Reference in New Issue
Block a user