This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tdep/17379] PowerPC: internal-error: value_of_register_lazy: Assertion `frame_id_p (get_frame_id (frame))' failed.
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 12 Sep 2014 12:29:20 +0000
- Subject: [Bug tdep/17379] PowerPC: internal-error: value_of_register_lazy: Assertion `frame_id_p (get_frame_id (frame))' failed.
- Auto-submitted: auto-generated
- References: <bug-17379-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17379
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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
--
You are receiving this mail because:
You are on the CC list for the bug.