mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 10:34:21 +08:00
* gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
Use gdb_load later.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
|
||||||
|
Use gdb_load later.
|
||||||
|
|
||||||
2010-03-14 Pedro Alves <pedro@codesourcery.com>
|
2010-03-14 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* gdb.base/solib-disc.c (main): Make format of fprintf a string
|
* gdb.base/solib-disc.c (main): Make format of fprintf a string
|
||||||
|
@ -768,7 +768,7 @@ gdb_test "ptype \"abc\"" " = char \\\[4\\\]"
|
|||||||
gdb_test "print \$cvar = \"abc\"" " = \"abc\""
|
gdb_test "print \$cvar = \"abc\"" " = \"abc\""
|
||||||
gdb_test "print sizeof (\$cvar)" " = 4"
|
gdb_test "print sizeof (\$cvar)" " = 4"
|
||||||
|
|
||||||
gdb_load ${binfile}
|
gdb_file_cmd ${binfile}
|
||||||
|
|
||||||
gdb_test "print \$pc" "No registers\\." "print \$pc (with file)"
|
gdb_test "print \$pc" "No registers\\." "print \$pc (with file)"
|
||||||
|
|
||||||
@ -779,6 +779,7 @@ gdb_test "set width 0" ""
|
|||||||
if [set_lang_c] then {
|
if [set_lang_c] then {
|
||||||
gdb_test "p ctable1\[120\]" "120 'x'" "p ctable1\[120\] #1"
|
gdb_test "p ctable1\[120\]" "120 'x'" "p ctable1\[120\] #1"
|
||||||
|
|
||||||
|
gdb_load ${binfile}
|
||||||
if [runto_main] then {
|
if [runto_main] then {
|
||||||
test_integer_literals_accepted
|
test_integer_literals_accepted
|
||||||
test_integer_literals_rejected
|
test_integer_literals_rejected
|
||||||
|
Reference in New Issue
Block a user