diff options
author | Jeff Law <law@redhat.com> | 1997-02-10 23:15:37 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1997-02-10 23:15:37 +0000 |
commit | efaf2b5892b8ad09a93e0551e183543e5bd18082 (patch) | |
tree | 97bbbad4cd022c4f0e0dc81cb77be881c7482ed3 /gdb | |
parent | 66e7ce0addc1ddb847c86c9280363aac7cb72795 (diff) | |
download | gdb-efaf2b5892b8ad09a93e0551e183543e5bd18082.zip gdb-efaf2b5892b8ad09a93e0551e183543e5bd18082.tar.gz gdb-efaf2b5892b8ad09a93e0551e183543e5bd18082.tar.bz2 |
* blockframe.c (generic_get_saved_regs): Remove unused variable
"addr".
* breakpoint.c (frame_in_dummy): Move struct breakpoint *b decl
inside #ifdef CALL_DUMMY.
(watch_command_1): Initialize target_resources_ok.
* command.c (do_setshow_command): Provide dummy initialization
for "match".
* valops.c (find_function_addr): Move function & prototype inside
#ifdef CALL_DUMMY.
(value_arg_coerce): Similarly.
(value_of_variable): Provide dummy initialization of "frame".
Lint.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 14 | ||||
-rw-r--r-- | gdb/command.c | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 471c8ce..9821f21 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,17 @@ +Mon Feb 10 16:11:57 1997 Jeffrey A Law (law@cygnus.com) + + * blockframe.c (generic_get_saved_regs): Remove unused variable + "addr". + * breakpoint.c (frame_in_dummy): Move struct breakpoint *b decl + inside #ifdef CALL_DUMMY. + (watch_command_1): Initialize target_resources_ok. + * command.c (do_setshow_command): Provide dummy initialization + for "match". + * valops.c (find_function_addr): Move function & prototype inside + #ifdef CALL_DUMMY. + (value_arg_coerce): Similarly. + (value_of_variable): Provide dummy initialization of "frame". + Mon Feb 10 13:50:53 1997 Stu Grossman (grossman@critters.cygnus.com) * gdbtk.c (call_wrapper): Clear running_now if an error occurs. diff --git a/gdb/command.c b/gdb/command.c index 9afbf82..ee8d712 100644 --- a/gdb/command.c +++ b/gdb/command.c @@ -1230,7 +1230,7 @@ do_setshow_command (arg, from_tty, c) int i; int len; int nmatches; - char *match; + char *match = NULL; char *p; p = strchr (arg, ' '); |