2004-07-21 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Wed, 21 Jul 2004 16:17:56 +0000 (16:17 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 21 Jul 2004 16:17:56 +0000 (16:17 +0000)
* PROBLEMS: Mention breakpoints/1702.
* NEWS: For signal trampolines, cite s390 GNU/Linux as a system
that is known to work.

gdb/ChangeLog
gdb/NEWS
gdb/PROBLEMS

index 73d4441..6690fd4 100644 (file)
@@ -1,5 +1,11 @@
 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.
+
+2004-07-21  Andrew Cagney  <cagney@gnu.org>
+
        * config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate.
        * mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update.
        * infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro.
index 823b5f3..19f68bf 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -38,8 +38,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.
 
index 7baf1d2..2bb66bb 100644 (file)
@@ -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