* am29k-tdep.c (initialize_29k): Fix call_scratch_address doc.

Remove reginv command.
(reginv_com):  Remove ancient kludge command.
This commit is contained in:
John Gilmore 1993-03-06 01:49:03 +00:00
parent 24365af960
commit 19327ea5d4
2 changed files with 9 additions and 17 deletions

View file

@ -1,3 +1,9 @@
Fri Mar 5 17:39:45 1993 John Gilmore (gnu@cacophony.cygnus.com)
* am29k-tdep.c (initialize_29k): Fix call_scratch_address doc.
Remove reginv command.
(reginv_com): Remove ancient kludge command.
Fri Mar 5 17:16:26 1993 K. Richard Pixley (rich@rtl.cygnus.com) Fri Mar 5 17:16:26 1993 K. Richard Pixley (rich@rtl.cygnus.com)
* tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that

View file

@ -1,5 +1,5 @@
/* Target-machine dependent code for the AMD 29000 /* 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. Contributed by Cygnus Support. Written by Jim Kingdon.
This file is part of GDB. This file is part of GDB.
@ -797,25 +797,11 @@ push_dummy_frame ()
write_register (lrnum, read_register (NPC_REGNUM)); 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 void
_initialize_29k() _initialize_29k()
{ {
extern CORE_ADDR text_end; 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. */ /* FIXME, there should be a way to make a CORE_ADDR variable settable. */
add_show_from_set add_show_from_set
(add_set_cmd ("rstack_high_address", class_support, var_uinteger, (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_show_from_set
(add_set_cmd ("call_scratch_address", class_support, var_uinteger, (add_set_cmd ("call_scratch_address", class_support, var_uinteger,
(char *)&text_end, (char *)&text_end,
"Set address in memory where small amounts of RAM can be used when\n\ "Set address in memory where small amounts of RAM can be used\n\
making function calls into the inferior.", &setlist), when making function calls into the inferior.", &setlist),
&showlist); &showlist);
} }