This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
[python] trivial regression by new has_more="0"
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: tromey at sourceware dot org
- Cc: archer at sourceware dot org
- Date: Tue, 1 Sep 2009 14:40:38 +0200
- Subject: [python] trivial regression by new has_more="0"
- References: <20090831151357.18034.qmail@sourceware.org>
Hi Tom,
3 leftover cases causing a regression.
Thanks,
Jan
Expecting: ^(-var-update linteger[
]+)?(\^done,changelist=\[{name="linteger",in_scope="invalid"}\][
]+[(]gdb[)]
[ ]*)
-var-update linteger^M
^done,changelist=[{name="linteger",in_scope="invalid",has_more="0"}]
(gdb)
FAIL: gdb.mi/mi-var-invalidate.exp: linteger not anymore in scope due to binary changes
Expecting: ^(-var-update linteger[
]+)?(\^done,changelist=\[{name="linteger",in_scope="invalid"}\][
]+[(]gdb[)]
[ ]*)
-var-update linteger
^done,changelist=[{name="linteger",in_scope="invalid",has_more="0"}]
(gdb)
FAIL: gdb.mi/mi-var-invalidate.exp: linteger not valid anymore due to binary changes
Expecting: ^(-var-update global_simple[
]+)?(\^done,changelist=\[{name="global_simple",in_scope="invalid"}\][
]+[(]gdb[)]
[ ]*)
-var-update global_simple
^done,changelist=[{name="global_simple",in_scope="invalid",has_more="0"}]
(gdb)
FAIL: gdb.mi/mi-var-invalidate.exp: global_simple not anymore in scope due to binary changes
On Mon, 31 Aug 2009 17:13:57 +0200, tromey@sourceware.org wrote:
> The branch, archer-tromey-python has been updated
> via cb5408c12b9747fee95f09ae207acaf4751e7398 (commit)
> from ad40d573de25e2914c5103442856248021660940 (commit)
>
> Those revisions listed above that are new to this repository have
> not appeared on any other notification email.
>
> - Log -----------------------------------------------------------------
> commit cb5408c12b9747fee95f09ae207acaf4751e7398
> Author: Tom Tromey <tromey@redhat.com>
> Date: Mon Aug 31 09:13:33 2009 -0600
>
> gdb
> * varobj.c (varobj_has_more): Also check for to==-1.
> (varobj_update): Call update_dynamic_varobj_children if children
> have not been requested.
> * mi/mi-cmd-var.c (varobj_update_one): Always emit has_more.
> gdb/testsuite
> * lib/mi-support.exp (mi_create_varobj): Expect has_more.
> (mi_varobj_update): Likewise.
> (mi_varobj_update_with_type_change): Likewise.
> * gdb.python/python-prettyprint.c (main): Add another call to
> add_item.
> * gdb.python/python-mi.exp: Add test for transition from no
> children to children.
> * gdb.mi/mi2-var-cmd.exp: Update.
> * gdb.mi/mi2-var-child.exp: Update.
> * gdb.mi/mi2-var-block.exp: Update.
> * gdb.mi/mi-var-cmd.exp: Update.
> * gdb.mi/mi-var-child.exp: Update.
> * gdb.mi/mi-var-block.exp: Update.