diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-16 18:56:35 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-16 18:56:35 +0000 |
commit | aa1ee363bce1eac43bf9824069e231d7113f7453 (patch) | |
tree | 525611e316e7caf3efd4ea5a1ebcdf74dbf3b07c /gdb/infcmd.c | |
parent | f2ea0907de3f3f7f59a0efdea58305184917e6cf (diff) | |
download | gdb-aa1ee363bce1eac43bf9824069e231d7113f7453.zip gdb-aa1ee363bce1eac43bf9824069e231d7113f7453.tar.gz gdb-aa1ee363bce1eac43bf9824069e231d7113f7453.tar.bz2 |
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.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 55f98c3..eee0b73 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1337,7 +1337,7 @@ environment_info (char *var, int from_tty) { if (var) { - register char *val = get_in_environ (inferior_environ, var); + char *val = get_in_environ (inferior_environ, var); if (val) { puts_filtered (var); @@ -1354,7 +1354,7 @@ environment_info (char *var, int from_tty) } else { - register char **vector = environ_vector (inferior_environ); + char **vector = environ_vector (inferior_environ); while (*vector) { puts_filtered (*vector++); |