From 95d4fadae9ca50170b15d83840daaa23633619ee Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 14 Sep 2003 16:32:14 +0000 Subject: 2003-09-14 Andrew Cagney * 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. --- gdb/buildsym.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'gdb/buildsym.c') diff --git a/gdb/buildsym.c b/gdb/buildsym.c index aa87d4c4fcb..1a097495cfa 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -84,7 +84,7 @@ static int compare_line_numbers (const void *ln1p, const void *ln2p); void add_free_pendings (struct pending *list) { - register struct pending *link = list; + struct pending *link = list; if (list) { @@ -102,7 +102,7 @@ add_free_pendings (struct pending *list) void add_symbol_to_list (struct symbol *symbol, struct pending **listhead) { - register struct pending *link; + struct pending *link; /* If this is an alias for another symbol, don't add it. */ if (symbol->ginfo.name && symbol->ginfo.name[0] == '#') @@ -226,9 +226,9 @@ finish_block (struct symbol *symbol, struct pending **listhead, CORE_ADDR start, CORE_ADDR end, struct objfile *objfile) { - register struct pending *next, *next1; - register struct block *block; - register struct pending_block *pblock; + struct pending *next, *next1; + struct block *block; + struct pending_block *pblock; struct pending_block *opblock; block = allocate_block (&objfile->symbol_obstack); @@ -447,7 +447,7 @@ void record_pending_block (struct objfile *objfile, struct block *block, struct pending_block *opblock) { - register struct pending_block *pblock; + struct pending_block *pblock; pblock = (struct pending_block *) obstack_alloc (&objfile->symbol_obstack, sizeof (struct pending_block)); @@ -467,9 +467,9 @@ record_pending_block (struct objfile *objfile, struct block *block, static struct blockvector * make_blockvector (struct objfile *objfile) { - register struct pending_block *next; - register struct blockvector *blockvector; - register int i; + struct pending_block *next; + struct blockvector *blockvector; + int i; /* Count the length of the list of blocks. */ @@ -539,7 +539,7 @@ make_blockvector (struct objfile *objfile) void start_subfile (char *name, char *dirname) { - register struct subfile *subfile; + struct subfile *subfile; /* See if this subfile is already known as a subfile of the current main source file. */ @@ -677,7 +677,7 @@ patch_subfile_names (struct subfile *subfile, char *name) void push_subfile (void) { - register struct subfile_stack *tem + struct subfile_stack *tem = (struct subfile_stack *) xmalloc (sizeof (struct subfile_stack)); tem->next = subfile_stack; @@ -692,8 +692,8 @@ push_subfile (void) char * pop_subfile (void) { - register char *name; - register struct subfile_stack *link = subfile_stack; + char *name; + struct subfile_stack *link = subfile_stack; if (link == NULL) { @@ -824,10 +824,10 @@ start_symtab (char *name, char *dirname, CORE_ADDR start_addr) struct symtab * end_symtab (CORE_ADDR end_addr, struct objfile *objfile, int section) { - register struct symtab *symtab = NULL; - register struct blockvector *blockvector; - register struct subfile *subfile; - register struct context_stack *cstk; + struct symtab *symtab = NULL; + struct blockvector *blockvector; + struct subfile *subfile; + struct context_stack *cstk; struct subfile *nextsub; /* Finish the lexical context of the last function in the file; pop @@ -1056,7 +1056,7 @@ end_symtab (CORE_ADDR end_addr, struct objfile *objfile, int section) struct context_stack * push_context (int desc, CORE_ADDR valu) { - register struct context_stack *new; + struct context_stack *new; if (context_stack_depth == context_stack_size) { @@ -1118,7 +1118,7 @@ record_debugformat (char *format) void merge_symbol_lists (struct pending **srclist, struct pending **targetlist) { - register int i; + int i; if (!srclist || !*srclist) return; -- cgit v1.2.1