Fix warnings from calls to catch_errors() and make_cleanup().
This commit is contained in:
parent
6e45c399c1
commit
8bdec905f1
2 changed files with 17 additions and 2 deletions
|
@ -1,3 +1,18 @@
|
||||||
|
Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
|
* stack.c (print_frame_info_base): Don't cast call to
|
||||||
|
catch_errors.
|
||||||
|
(print_args_stub): Change char* arg to PTR.
|
||||||
|
* symmisc.c (print_symbol): Ditto.
|
||||||
|
* top.c (quit_cover): Ditto.
|
||||||
|
* remote.c (remote_open_1, remote_start_remote): Ditto.
|
||||||
|
* infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
|
||||||
|
Ditto.
|
||||||
|
|
||||||
|
* stack.c (backtrace_command): Cast first arg of make_cleanup to
|
||||||
|
make_cleanup_func.
|
||||||
|
* remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
|
||||||
|
|
||||||
Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
|
Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* defs.h (catch_errors_ftype): Define.
|
* defs.h (catch_errors_ftype): Define.
|
||||||
|
|
|
@ -140,7 +140,7 @@ static void complete_command PARAMS ((char *, int));
|
||||||
static void do_nothing PARAMS ((int));
|
static void do_nothing PARAMS ((int));
|
||||||
|
|
||||||
#ifdef SIGHUP
|
#ifdef SIGHUP
|
||||||
static int quit_cover PARAMS ((char *));
|
static int quit_cover PARAMS ((PTR));
|
||||||
|
|
||||||
static void disconnect PARAMS ((int));
|
static void disconnect PARAMS ((int));
|
||||||
#endif
|
#endif
|
||||||
|
@ -587,7 +587,7 @@ int signo;
|
||||||
|
|
||||||
static int
|
static int
|
||||||
quit_cover (s)
|
quit_cover (s)
|
||||||
char *s;
|
PTR s;
|
||||||
{
|
{
|
||||||
caution = 0; /* Throw caution to the wind -- we're exiting.
|
caution = 0; /* Throw caution to the wind -- we're exiting.
|
||||||
This prevents asking the user dumb questions. */
|
This prevents asking the user dumb questions. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue