From: Andrew Cagney Date: Wed, 21 Jul 2004 16:17:56 +0000 (+0000) Subject: 2004-07-21 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73cc75f3b22c0bb899f4f91727e8c3e01f289824;p=binutils-gdb.git 2004-07-21 Andrew Cagney * PROBLEMS: Mention breakpoints/1702. * NEWS: For signal trampolines, cite s390 GNU/Linux as a system that is known to work. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 73d444139bc..6690fd40015 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-07-21 Andrew Cagney + + * 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 * config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate. diff --git a/gdb/NEWS b/gdb/NEWS index 823b5f37262..19f68bff30c 100644 --- 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. 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