aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-11 09:11:11 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-11 09:11:11 +0000
commit3de61d8c53f4cd0aa568067130b7909c68f79272 (patch)
tree06e9a00b9179528005b985c0a13f2b1b974c3b8d /gdb/stack.c
parenteb54a95a02cd1b0e1a7d96cfb7580c68551b976b (diff)
downloadgdb-3de61d8c53f4cd0aa568067130b7909c68f79272.zip
gdb-3de61d8c53f4cd0aa568067130b7909c68f79272.tar.gz
gdb-3de61d8c53f4cd0aa568067130b7909c68f79272.tar.bz2
* xm-mips.h (KERNEL_U_ADDR): Get from <machine/param.h>.
(REGISTER_U_ADDR): Fix up for Ultrix 4.2. * tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR): Move macro to xm-tahoe.h. * stack.c (_initialize_stack): "dow" should be a valid abbreviation for "down". Suggested by Richard Stallman.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 4aeb7c4..a8037c4 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -624,7 +624,7 @@ backtrace_command (count_exp, from_tty)
fi = get_frame_info (frame);
ps = find_pc_psymtab (fi->pc);
if (ps)
- (void) PSYMTAB_TO_SYMTAB (ps); /* Force syms to come in */
+ PSYMTAB_TO_SYMTAB (ps); /* Force syms to come in */
}
}
@@ -779,7 +779,7 @@ print_frame_label_vars (frame, this_level_only, stream)
bl = blockvector_for_pc (BLOCK_END (block) - 4, &index);
blocks_printed = (char *) alloca (BLOCKVECTOR_NBLOCKS (bl) * sizeof (char));
- (void) memset (blocks_printed, 0, BLOCKVECTOR_NBLOCKS (bl) * sizeof (char));
+ memset (blocks_printed, 0, BLOCKVECTOR_NBLOCKS (bl) * sizeof (char));
while (block != 0)
{
@@ -1144,7 +1144,7 @@ return_command (retval_exp, from_tty)
if (retval_exp)
{
return_value = parse_and_eval (retval_exp);
- (void) (VALUE_CONTENTS (return_value));
+ VALUE_CONTENTS (return_value);
}
/* If interactive, require confirmation. */
@@ -1239,6 +1239,7 @@ This is useful in command scripts.");
"Select and print stack frame called by this one.\n\
An argument says how many frames down to go.");
add_com_alias ("do", "down", class_stack, 1);
+ add_com_alias ("dow", "down", class_stack, 1);
add_com ("down-silently", class_support, down_silently_command,
"Same as the `down' command, but does not print anything.\n\
This is useful in command scripts.");