This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Archer functionality in Fedora 11


On Wed, 28 Jan 2009 21:05:56 +0100, Jan Kratochvil wrote:
> On Wed, 28 Jan 2009 20:48:21 +0100, Rick Moseley wrote:
> > If you have something to add to your branch, let me know and I will hold off
> > merging it until you give the go ahead.  
> 
> archer-jankratochvil-vla currently (still? it is a new FSF GDB testcase) has
> a regression on `gdb.base/miscexprs.exp'.  To be fixed in the close days.

Fixed (OK, calling deprecated_*() is not right but the whole `object addres'
passing will probably change more in the future).


Regards,
Jan


- Log -----------------------------------------------------------------
commit 859a1f3400cb83226e637bde7c2dd4e6a297db47
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Jan 29 23:08:39 2009 +0100

    Fix a regression by the last patch for: gdb.stabs/weird.exp

commit 369c3a0ff8eddf3df247f5b77a68539cba872ba2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Jan 29 22:36:52 2009 +0100

    Fix gdb.base/miscexprs.exp (by get_current_frame(), though).

-----------------------------------------------------------------------

Summary of changes:
 gdb/eval.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/gdb/eval.c b/gdb/eval.c
index 1448c26..3e2c320 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -2708,7 +2708,8 @@ evaluate_subexp_for_sizeof (struct expression *exp, int *pos)
 	 need to have executed object_address_set which needs valid
 	 SYMBOL_VALUE_ADDRESS of the symbol.  Still VALUE returned by
 	 read_var_value we left as lazy.  */
-      type = value_type (read_var_value (exp->elts[pc + 2].symbol, NULL));
+      type = value_type (read_var_value (exp->elts[pc + 2].symbol,
+					deprecated_safe_get_selected_frame ()));
       return value_from_longest (size_type, (LONGEST) TYPE_LENGTH (type));
 
     default:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]