aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infrun.c18
2 files changed, 7 insertions, 16 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a574b58..ab4270b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
+ signals for which stop and print are cleared by default.
+
Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* config/pa/tm-hppa.h (unwind_table_entry): Use one of the
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;
}