mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-11 18:27:00 +08:00
* config/sid.exp (gdb_load): Add test for empty argument. Adjust
return value to be compatible with gdb_run_cmd in lib/gdb.exp. Remove call to gdb_unload.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2007-07-18 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
|
* config/sid.exp (gdb_load): Add test for empty argument. Adjust
|
||||||
|
return value to be compatible with gdb_run_cmd in lib/gdb.exp.
|
||||||
|
Remove call to gdb_unload.
|
||||||
|
|
||||||
2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
|
2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||||
Daniel Jacobowitz <dan@codesourcery.com>
|
Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
@ -175,8 +175,10 @@ proc gdb_load { arg } {
|
|||||||
global gdb_prompt
|
global gdb_prompt
|
||||||
global retval
|
global retval
|
||||||
|
|
||||||
gdb_unload
|
if { $arg != "" } {
|
||||||
if [gdb_file_cmd $arg] then { return -1 }
|
if [gdb_file_cmd $arg] then { return -1 }
|
||||||
|
}
|
||||||
|
|
||||||
gdb_target_sid
|
gdb_target_sid
|
||||||
|
|
||||||
send_gdb "load\n"
|
send_gdb "load\n"
|
||||||
@ -195,7 +197,7 @@ proc gdb_load { arg } {
|
|||||||
if $verbose>1 then {
|
if $verbose>1 then {
|
||||||
send_user "Loaded $arg into $GDB\n"
|
send_user "Loaded $arg into $GDB\n"
|
||||||
}
|
}
|
||||||
set retval 1;
|
set retval 0;
|
||||||
}
|
}
|
||||||
-re "$gdb_prompt $" {
|
-re "$gdb_prompt $" {
|
||||||
if $verbose>1 then {
|
if $verbose>1 then {
|
||||||
|
Reference in New Issue
Block a user