From fbd641cbd348124c35994973312aa42ec6cbae00 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Fri, 29 Jan 1999 18:29:12 +0000 Subject: [PATCH] Fri Jan 29 12:57:34 1999 Elena Zannoni * infrun.c (_initialize_infrun): do not stop or print anything when a SIGWINCH is received. --- gdb/ChangeLog | 3 +++ gdb/infrun.c | 12 +++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e682c505998..2ccc245bcd1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Fri Jan 29 12:57:34 1999 Elena Zannoni + * infrun.c (_initialize_infrun): do not stop or print anything + when a SIGWINCH is received. + * Makefile.in (m2-exp.tab.c): use YACC not BISON. (f-exp.tab.c): ditto (jv-exp.tab.c): ditto diff --git a/gdb/infrun.c b/gdb/infrun.c index 0633c0383e5..128ce5896f6 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -47,7 +47,7 @@ static void sig_print_header PARAMS ((void)); static void resume_cleanups PARAMS ((int)); -static int hook_stop_stub PARAMS ((char *)); +static int hook_stop_stub PARAMS ((PTR)); static void delete_breakpoint_current_contents PARAMS ((PTR)); @@ -2982,7 +2982,7 @@ The same program may be running in another process.\n"); if (stop_command && stop_command->hook) { - catch_errors (hook_stop_stub, (char *)stop_command->hook, + catch_errors (hook_stop_stub, stop_command->hook, "Error while running hook_stop:\n", RETURN_MASK_ALL); } @@ -3070,7 +3070,7 @@ The same program may be running in another process.\n"); static int hook_stop_stub (cmd) - char *cmd; + PTR cmd; { execute_user_command ((struct cmd_list_element *)cmd, 0); return (0); @@ -3460,7 +3460,7 @@ struct restore_selected_frame_args { int level; }; -static int restore_selected_frame PARAMS ((char *)); +static int restore_selected_frame PARAMS ((PTR)); /* Restore the selected frame. args is really a struct restore_selected_frame_args * (declared as char * for catch_errors) @@ -3469,7 +3469,7 @@ static int restore_selected_frame PARAMS ((char *)); static int restore_selected_frame (args) - char *args; + PTR args; { struct restore_selected_frame_args *fr = (struct restore_selected_frame_args *) args; @@ -3668,6 +3668,8 @@ of the program stops.", &cmdlist); signal_print[TARGET_SIGNAL_POLL] = 0; signal_stop[TARGET_SIGNAL_URG] = 0; signal_print[TARGET_SIGNAL_URG] = 0; + signal_stop[TARGET_SIGNAL_WINCH] = 0; + signal_print[TARGET_SIGNAL_WINCH] = 0; #ifdef SOLIB_ADD add_show_from_set -- 2.30.2