This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tdep/12223] GDB becomes unusable if it fails to speculate aboutframe information on ARM.
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 06 Mar 2012 18:01:57 +0000
- Subject: [Bug tdep/12223] GDB becomes unusable if it fails to speculate aboutframe information on ARM.
- Auto-submitted: auto-generated
- References: <bug-12223-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12223
--- Comment #4 from Pedro Alves <palves at redhat dot com> 2012-03-06 18:01:57 UTC ---
read_memory is just a wrapper for target_read_memory that throws MEMORY_ERROR
on access errors. So instead of further wrapping read_memory in try/catch, the
right thing to do is to use target_read_memory (+extract_(un)signed_integer)
directly, thus avoiding the exception to begin with.
Please do read through CONTRIBUTE linked from
<http://sourceware.org/gdb/contribute/>.
Thanks!
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.