public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-jankratochvil-vla: Fixup a regression.
@ 2010-11-20 4:55 jkratoch
0 siblings, 0 replies; only message in thread
From: jkratoch @ 2010-11-20 4:55 UTC (permalink / raw)
To: archer-commits
The branch, archer-jankratochvil-vla has been updated
via 229cd27b511db0acfd87a1656755318349f10eda (commit)
from a2144eb95b6717b9bed0050941b4349bf38ce00e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 229cd27b511db0acfd87a1656755318349f10eda
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Nov 20 05:54:48 2010 +0100
Fixup a regression.
-----------------------------------------------------------------------
Summary of changes:
gdb/utils.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
First 500 lines of diff:
diff --git a/gdb/utils.c b/gdb/utils.c
index 6f71e66..7e53f62 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -2218,6 +2218,10 @@ make_cleanup_restore_selected_frame (void)
{
struct frame_id *frame_idp;
+ /* get_selected_frame->get_current_frame would error otherwise. */
+ if (!has_stack_frames ())
+ return make_cleanup (null_cleanup, NULL);
+
frame_idp = xmalloc (sizeof (*frame_idp));
*frame_idp = get_frame_id (get_selected_frame (NULL));
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-20 4:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-20 4:55 [SCM] archer-jankratochvil-vla: Fixup a regression jkratoch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).