aboutsummaryrefslogtreecommitdiff
path: root/gdb/am29k-tdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-03-06 01:49:03 +0000
committerJohn Gilmore <gnu@cygnus>1993-03-06 01:49:03 +0000
commit19327ea5d49cffdc44db690d2687c58c3e145f7d (patch)
tree80c77bb8cb40e6b6199bfc1f3a011c165d11223f /gdb/am29k-tdep.c
parent24365af9608bb80028101776a2c9ce59f5e37849 (diff)
downloadgdb-19327ea5d49cffdc44db690d2687c58c3e145f7d.zip
gdb-19327ea5d49cffdc44db690d2687c58c3e145f7d.tar.gz
gdb-19327ea5d49cffdc44db690d2687c58c3e145f7d.tar.bz2
* am29k-tdep.c (initialize_29k): Fix call_scratch_address doc.
Remove reginv command. (reginv_com): Remove ancient kludge command.
Diffstat (limited to 'gdb/am29k-tdep.c')
-rw-r--r--gdb/am29k-tdep.c20
1 files changed, 3 insertions, 17 deletions
diff --git a/gdb/am29k-tdep.c b/gdb/am29k-tdep.c
index b81ab6d..7df9ef5 100644
--- a/gdb/am29k-tdep.c
+++ b/gdb/am29k-tdep.c
@@ -1,5 +1,5 @@
/* Target-machine dependent code for the AMD 29000
- Copyright 1990, 1991 Free Software Foundation, Inc.
+ Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by Jim Kingdon.
This file is part of GDB.
@@ -797,25 +797,11 @@ push_dummy_frame ()
write_register (lrnum, read_register (NPC_REGNUM));
}
-static void
-reginv_com (args, fromtty)
- char *args;
- int fromtty;
-{
- registers_changed();
- if (fromtty)
- printf_filtered("Gdb's register cache invalidated.\n");
-}
-
-/* We use this mostly for debugging gdb */
void
_initialize_29k()
{
extern CORE_ADDR text_end;
- add_com ("reginv ", class_obscure, reginv_com,
- "Invalidate gdb's internal register cache.");
-
/* FIXME, there should be a way to make a CORE_ADDR variable settable. */
add_show_from_set
(add_set_cmd ("rstack_high_address", class_support, var_uinteger,
@@ -829,7 +815,7 @@ or will produce the value -1.", &setlist),
add_show_from_set
(add_set_cmd ("call_scratch_address", class_support, var_uinteger,
(char *)&text_end,
-"Set address in memory where small amounts of RAM can be used when\n\
-making function calls into the inferior.", &setlist),
+"Set address in memory where small amounts of RAM can be used\n\
+when making function calls into the inferior.", &setlist),
&showlist);
}