2003-09-16 Andrew Cagney <cagney@redhat.com>

* buildsym.c: Remove more occurances of "register".
	* coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto.
	* environ.c, eval.c, f-valprint.c, findvar.c: Ditto.
	* gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto.
	* infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto.
	* printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto.
	* sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto.
	* standalone.c, symfile.c, symmisc.c, symtab.c: Ditto.
	* utils.c, valops.c, values.c, xcoffread.c: Ditto.
This commit is contained in:
Andrew Cagney 2003-09-16 18:56:35 +00:00
parent f2ea0907de
commit aa1ee363bc
34 changed files with 147 additions and 134 deletions

View file

@ -219,7 +219,7 @@ clear_current_source_symtab_and_line (void)
before we need to would make things slower than necessary. */
void
select_source_symtab (register struct symtab *s)
select_source_symtab (struct symtab *s)
{
struct symtabs_and_lines sals;
struct symtab_and_line sal;
@ -418,7 +418,7 @@ add_path (char *dirname, char **which_path, int parse_separators)
do
{
char *name = dirname;
register char *p;
char *p;
struct stat st;
{
@ -526,7 +526,7 @@ add_path (char *dirname, char **which_path, int parse_separators)
append:
{
register unsigned int len = strlen (name);
unsigned int len = strlen (name);
p = *which_path;
while (1)
@ -1019,7 +1019,7 @@ source_line_charpos (struct symtab *s, int line)
/* Return the line number of character position POS in symtab S. */
int
source_charpos_line (register struct symtab *s, register int chr)
source_charpos_line (struct symtab *s, int chr)
{
int line = 0;
int *lnp;
@ -1390,7 +1390,7 @@ forward_search_command (char *regex, int from_tty)
while (1)
{
static char *buf = NULL;
register char *p;
char *p;
int cursize, newsize;
cursize = 256;
@ -1487,7 +1487,7 @@ reverse_search_command (char *regex, int from_tty)
{
/* FIXME!!! We walk right off the end of buf if we get a long line!!! */
char buf[4096]; /* Should be reasonable??? */
register char *p = buf;
char *p = buf;
c = getc (stream);
if (c == EOF)