mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
* gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2011-12-14 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
|
||||||
|
|
||||||
2011-12-14 Doug Evans <dje@google.com>
|
2011-12-14 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
* lib/gdb.exp (gdb_start_cmd): Fix error return value.
|
* lib/gdb.exp (gdb_start_cmd): Fix error return value.
|
||||||
|
@ -41,7 +41,9 @@ gdb_unload
|
|||||||
# Strip out any labels there as they could corrupt the `main' name.
|
# Strip out any labels there as they could corrupt the `main' name.
|
||||||
|
|
||||||
set objcopy_program [transform objcopy]
|
set objcopy_program [transform objcopy]
|
||||||
set result [catch "exec $objcopy_program -N block_start -N block_end -N break_at ${binfile}" output]
|
set command "$objcopy_program -N block_start -N block_end -N break_at ${binfile}"
|
||||||
|
verbose -log "Executing: $command"
|
||||||
|
set result [catch "exec $command" output]
|
||||||
verbose "result is $result"
|
verbose "result is $result"
|
||||||
verbose "output is $output"
|
verbose "output is $output"
|
||||||
if {$result != 0} {
|
if {$result != 0} {
|
||||||
|
Reference in New Issue
Block a user