public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-jankratochvil-vla: Fix gdb.dwarf2/dw2-op-call.exp regression.
@ 2010-07-11 12:37 jkratoch
0 siblings, 0 replies; only message in thread
From: jkratoch @ 2010-07-11 12:37 UTC (permalink / raw)
To: archer-commits
The branch, archer-jankratochvil-vla has been updated
via dc35b1895fb040aad2c6643e036d9b4340116d3f (commit)
from f01c3c47bd9e71b76ae35fe0c270885cfeb0ecf3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit dc35b1895fb040aad2c6643e036d9b4340116d3f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jul 10 23:43:40 2010 +0200
Fix gdb.dwarf2/dw2-op-call.exp regression.
-----------------------------------------------------------------------
Summary of changes:
gdb/dwarf2loc.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
First 500 lines of diff:
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index 2003a98..9ece9fc 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -346,9 +346,6 @@ dwarf_expr_prep_ctx (struct frame_info *frame, const gdb_byte *data,
struct dwarf_expr_baton baton;
struct objfile *objfile = dwarf2_per_cu_objfile (per_cu);
- if (!frame)
- frame = get_selected_frame (NULL);
-
baton.frame = frame;
baton.per_cu = per_cu;
baton.object_address = object_address;
@@ -386,8 +383,8 @@ dwarf_locexpr_baton_eval (struct dwarf2_locexpr_baton *dlbaton)
CORE_ADDR retval;
struct cleanup *back_to = make_cleanup (null_cleanup, 0);
- ctx = dwarf_expr_prep_ctx (NULL, dlbaton->data, dlbaton->size,
- dlbaton->per_cu);
+ ctx = dwarf_expr_prep_ctx (get_selected_frame (NULL), dlbaton->data,
+ dlbaton->size, dlbaton->per_cu);
if (ctx->num_pieces > 0)
error (_("DW_OP_*piece is unsupported for DW_FORM_block"));
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-11 12:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-11 12:37 [SCM] archer-jankratochvil-vla: Fix gdb.dwarf2/dw2-op-call.exp 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).