--- ./gdb/testsuite/gdb.mi/mi-disassemble.exp~ 2012-03-14 20:00:25.000000000 -0700 +++ ./gdb/testsuite/gdb.mi/mi-disassemble.exp 2012-03-16 20:15:31.000000000 -0700 @@ -58,6 +58,11 @@ mi_gdb_test "222-data-disassemble -f basics.c -l $line_main_body -- 0" \ "222\\^done,asm_insns=\\\[\{address=\"$hex\",func-name=\"main\",offset=\"0\",inst=\".*\"\},.*,\{address=\"$hex\",func-name=\"main\",offset=\"$decimal\",inst=\".*\"\}\\\]" \ "data-disassemble file & line, assembly only" + + mi_gdb_test "print/x \$pc" "" "" + mi_gdb_test "333-data-disassemble -s \$pc -- 0" \ + "333\\^done,asm_insns=\\\[\{address=\"$hex\",func-name=\"main\",offset=\"$decimal\",inst=\".*\"\},\{address=\"$hex\",func-name=\"main\",offset=\"$decimal\",inst=\".*\"\}.*\]" \ + "data-disassemble from pc to end of function" } proc test_disassembly_with_opcodes {} {