This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 9d9bf2df89db515958b429a1aeb1db38884ba488
- From: emachado at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 12 Sep 2014 12:28:42 -0000
- Subject: gdb and binutils branch master updated. 9d9bf2df89db515958b429a1aeb1db38884ba488
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 9d9bf2df89db515958b429a1aeb1db38884ba488 (commit)
from 1cf2f1b045e9e647f6dfd28829ff4592c588dcb7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9d9bf2df89db515958b429a1aeb1db38884ba488
commit 9d9bf2df89db515958b429a1aeb1db38884ba488
Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Date: Fri Sep 12 09:20:25 2014 -0300
PR tdep/17379: Fix internal-error when stack pointer is invalid.
The problem is that rs6000_frame_cache attempts to read the stack backchain via
read_memory_unsigned_integer, which throws an exception if the stack pointer is
invalid. With this patch, it calls safe_read_memory_integer instead, which
doesn't throw an exception and allows for safe handling of that situation.
gdb/ChangeLog
2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Ulrich Weigand <uweigand@de.ibm.com>
PR tdep/17379
* rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
instead of read_memory_unsigned_integer.
gdb/testcase/ChangeLog
2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
PR tdep/17379
* gdb.arch/powerpc-stackless.S: New file.
* gdb.arch/powerpc-stackless.exp: New file.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 7 ++++
gdb/rs6000-tdep.c | 11 +++++--
gdb/testsuite/ChangeLog | 6 ++++
gdb/testsuite/gdb.arch/powerpc-stackless.S | 24 +++++++++++++++
gdb/testsuite/gdb.arch/powerpc-stackless.exp | 42 ++++++++++++++++++++++++++
5 files changed, 87 insertions(+), 3 deletions(-)
create mode 100644 gdb/testsuite/gdb.arch/powerpc-stackless.S
create mode 100644 gdb/testsuite/gdb.arch/powerpc-stackless.exp
hooks/post-receive
--
gdb and binutils