*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.mi / gdb701.exp
index 8120b5a08f5d8227d797cb4376127a0a41ee8085..c75e7ce0f49d55d77d07a451e783ee109f4faefa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2002 Free Software Foundation, Inc.
+# Copyright 2002, 2007 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -50,9 +50,7 @@ mi_run_to_main
 # Step over "foo = 0"
 mi_next "step over \"foo = 0\""
 
-mi_gdb_test "-var-create fooPtr * foo" \
-  "(&\".*\"\r\n)*\\^done,name=\"fooPtr\",numchild=\"3\",type=\"Foo \\*\"" \
-  "create fooPtr"
+mi_create_varobj fooPtr foo "create fooPtr"
 
 mi_gdb_test "-var-list-children fooPtr" \
   "(&\".*\"\r\n)*\\^done,numchild=\"3\",.*" \
This page took 0.025643 seconds and 4 git commands to generate.