summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-21 16:16:56 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-21 16:16:56 +0000
commit3c4d50de72cb887b0c6aebffeedf85eb7433e668 (patch)
tree6a3ad2bbca88f35cdc022dad6c702ca100858d2b
parent85ae447369ba3ff95fb64359c00a930cc16c62ca (diff)
downloadgdb-3c4d50de72cb887b0c6aebffeedf85eb7433e668.tar.gz
2004-07-21 Andrew Cagney <cagney@gnu.org>
* PROBLEMS: Mention breakpoints/1702. * NEWS: For signal trampolines, cite s390 GNU/Linux as a system that is known to work.
-rw-r--r--gdb/NEWS5
-rw-r--r--gdb/PROBLEMS13
2 files changed, 16 insertions, 2 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index e7d7d9b29bc..0e18814199b 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -36,8 +36,9 @@ of sa_sigaction signal trampolines; backtrace from a NULL pointer
call; backtrace through a signal trampoline; step into and out of
signal handlers; and single-stepping in the signal trampoline.
-These fixes were tested on i386 GNU/Linux systems that include a 2.4
-kernel.
+Please note that kernel bugs are a limiting factor here. These
+features have been shown to work on an s390 GNU/Linux system that
+include a 2.6.8-rc1 kernel. Ref PR breakpoints/1702.
* Cygwin support for DWARF 2 added.
diff --git a/gdb/PROBLEMS b/gdb/PROBLEMS
index 7baf1d2e831..2bb66bbd8df 100644
--- a/gdb/PROBLEMS
+++ b/gdb/PROBLEMS
@@ -94,6 +94,19 @@ implement virtual base classes. gcc 2.x generated just one object code
function with a hidden parameter, but gcc 3.x conforms to a multi-vendor
ABI for C++ which requires multiple object code functions.
+*** Signal handlers
+
+On many systems an attempt to single-step a system-call instruction
+results in two or more instructions being executed (the system-call,
+and one or more instructions following).
+
+When attempting to single-step through a signal trampoline, this
+problem may result the program unintentionally running to completion,
+or re-execute the faulting instruction, or even corrupting the program
+counter.
+
+Ref: PR breakpoints/1702.
+
*** Stack backtraces
GDB's core code base has been updated to use a new backtrace