summaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-14 16:32:14 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-14 16:32:14 +0000
commit95d4fadae9ca50170b15d83840daaa23633619ee (patch)
treedb74a9a8274a8d07e533242bf81e024c85ba2553 /gdb/stack.c
parentd3c20a43cc3d0060789ba0f919ef39401f99180e (diff)
downloadgdb-95d4fadae9ca50170b15d83840daaa23633619ee.tar.gz
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.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index d3e8ac916af..4015099e715 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -213,7 +213,7 @@ print_frame_args (struct symbol *func, struct frame_info *fi, int num,
struct block *b = NULL;
int first = 1;
struct dict_iterator iter;
- register struct symbol *sym;
+ struct symbol *sym;
struct value *val;
/* Offset of next stack argument beyond the one we have seen that is
at the highest offset.
@@ -538,7 +538,7 @@ print_frame (struct frame_info *fi,
struct symtab_and_line sal)
{
struct symbol *func;
- register char *funname = 0;
+ char *funname = 0;
enum language funlang = language_unknown;
struct ui_stream *stb;
struct cleanup *old_chain;
@@ -1139,10 +1139,10 @@ static void
backtrace_command_1 (char *count_exp, int show_locals, int from_tty)
{
struct frame_info *fi;
- register int count;
- register int i;
- register struct frame_info *trailing;
- register int trailing_level;
+ int count;
+ int i;
+ struct frame_info *trailing;
+ int trailing_level;
if (!target_has_stack)
error ("No stack.");
@@ -1350,8 +1350,8 @@ print_block_frame_labels (struct block *b, int *have_default,
register struct ui_file *stream)
{
struct dict_iterator iter;
- register struct symbol *sym;
- register int values_printed = 0;
+ struct symbol *sym;
+ int values_printed = 0;
ALL_BLOCK_SYMBOLS (b, iter, sym)
{
@@ -1391,8 +1391,8 @@ static void
print_frame_local_vars (register struct frame_info *fi, register int num_tabs,
register struct ui_file *stream)
{
- register struct block *block = get_frame_block (fi, 0);
- register int values_printed = 0;
+ struct block *block = get_frame_block (fi, 0);
+ int values_printed = 0;
if (block == 0)
{
@@ -1424,9 +1424,9 @@ static void
print_frame_label_vars (register struct frame_info *fi, int this_level_only,
register struct ui_file *stream)
{
- register struct blockvector *bl;
- register struct block *block = get_frame_block (fi, 0);
- register int values_printed = 0;
+ struct blockvector *bl;
+ struct block *block = get_frame_block (fi, 0);
+ int values_printed = 0;
int index, have_default = 0;
char *blocks_printed;
CORE_ADDR pc = get_frame_pc (fi);
@@ -1530,10 +1530,10 @@ print_frame_arg_vars (register struct frame_info *fi,
register struct ui_file *stream)
{
struct symbol *func = get_frame_function (fi);
- register struct block *b;
+ struct block *b;
struct dict_iterator iter;
- register struct symbol *sym, *sym2;
- register int values_printed = 0;
+ struct symbol *sym, *sym2;
+ int values_printed = 0;
if (func == 0)
{
@@ -1660,8 +1660,8 @@ struct frame_info *
find_relative_frame (register struct frame_info *frame,
register int *level_offset_ptr)
{
- register struct frame_info *prev;
- register struct frame_info *frame1;
+ struct frame_info *prev;
+ struct frame_info *frame1;
/* Going up is simple: just do get_prev_frame enough times
or until initial frame is reached. */
@@ -1740,7 +1740,7 @@ current_frame_command (char *level_exp, int from_tty)
static void
up_silently_base (char *count_exp)
{
- register struct frame_info *fi;
+ struct frame_info *fi;
int count = 1, count1;
if (count_exp)
count = parse_and_eval_long (count_exp);
@@ -1777,7 +1777,7 @@ up_command (char *count_exp, int from_tty)
static void
down_silently_base (char *count_exp)
{
- register struct frame_info *frame;
+ struct frame_info *frame;
int count = -1, count1;
if (count_exp)
count = -parse_and_eval_long (count_exp);
@@ -1981,7 +1981,7 @@ func_command (char *arg, int from_tty)
enum language
get_frame_language (void)
{
- register struct symtab *s;
+ struct symtab *s;
enum language flang; /* The language of the current frame */
if (deprecated_selected_frame)