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]

[python] trivial regression by new has_more="0"


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.


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