aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-18 04:14:34 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-18 04:14:34 +0000
commit4d4f2d50c814863eb959037706479ac5df978ed1 (patch)
treedea73467bb1f4f5326859351b289ffd44a812c43 /gdb/infrun.c
parent46ee83a0b8a075ea730d2fc0adee70b100e411c4 (diff)
downloadgdb-4d4f2d50c814863eb959037706479ac5df978ed1.zip
gdb-4d4f2d50c814863eb959037706479ac5df978ed1.tar.gz
gdb-4d4f2d50c814863eb959037706479ac5df978ed1.tar.bz2
* infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
signals for which stop and print are cleared by default.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 3fc8cf1..62d4333 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -74,13 +74,6 @@ hook_stop_stub PARAMS ((char *));
#define SKIP_TRAMPOLINE_CODE(pc) 0
#endif
-/* On Irix 5, some function calls automatically skip the first few
- instructions, so we need a more complicated test to see if we are
- the start of a function. */
-#ifndef AT_FUNCTION_START
-#define AT_FUNCTION_START(pc,func_name,func_addr) 0
-#endif
-
/* For SVR4 shared libraries, each call goes through a small piece of
trampoline code in the ".init" section. IN_SOLIB_TRAMPOLINE evaluates
to nonzero if we are current stopped in one of these. */
@@ -989,15 +982,6 @@ switch_thread:
/* If we do a call, we will be at the start of a function... */
|| stop_pc == stop_func_start
-#if 0
- /* Should be taken care of by the stop_pc < prologue_pc check
- below. Also, on irix5 where this checks for stop_pc
- equal to stop_func_start plus 12, it would seem to be
- wrong for a function with a 4 byte prologue, and an 8 byte
- call; a "return" could end up at stop_func_start+12. */
-
- || AT_FUNCTION_START (stop_pc, stop_func_name, stop_func_start)
-#endif
/* ...except on the Alpha with -O (and also Irix 5 and
perhaps others), in which we might call the address
@@ -1878,6 +1862,8 @@ of the program stops.", &cmdlist);
signal_print[TARGET_SIGNAL_CHLD] = 0;
signal_stop[TARGET_SIGNAL_IO] = 0;
signal_print[TARGET_SIGNAL_IO] = 0;
+ signal_stop[TARGET_SIGNAL_POLL] = 0;
+ signal_print[TARGET_SIGNAL_POLL] = 0;
signal_stop[TARGET_SIGNAL_URG] = 0;
signal_print[TARGET_SIGNAL_URG] = 0;
}