diff options
author | John Gilmore <gnu@cygnus> | 1992-04-02 10:35:19 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-04-02 10:35:19 +0000 |
commit | ac88ca205c0d1cb48943550d41a6400b4e556271 (patch) | |
tree | 0b23ecb6a51897374da059120d8bc0084c184eeb /gdb/values.c | |
parent | adf5061ceb7101a850eca4ec11aa0882c1847de0 (diff) | |
download | gdb-ac88ca205c0d1cb48943550d41a6400b4e556271.zip gdb-ac88ca205c0d1cb48943550d41a6400b4e556271.tar.gz gdb-ac88ca205c0d1cb48943550d41a6400b4e556271.tar.bz2 |
Lint.
* symfile.c (add_symbol_file_command): Initialize mapped/readnow.
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gdb/values.c b/gdb/values.c index 998c42e..512cc64 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -26,6 +26,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "frame.h" #include "command.h" #include "gdbcmd.h" +#include "target.h" /* Local function prototypes. */ @@ -36,7 +37,7 @@ static void show_values PARAMS ((char *, int)); static void -show_convenience PARAMS ((void)); +show_convenience PARAMS ((char *, int)); /* The value-history records all the values printed by print commands during this session. Each chunk @@ -481,7 +482,9 @@ clear_internalvars () } static void -show_convenience () +show_convenience (ignore, from_tty) + char *ignore; + int from_tty; { register struct internalvar *var; int varseen = 0; @@ -494,10 +497,6 @@ show_convenience () #endif if (!varseen) { -#if 0 - /* Useless noise. */ - printf ("Debugger convenience variables:\n\n"); -#endif varseen = 1; } printf_filtered ("$%s = ", var->name); |