diff options
author | Tom Tromey <tromey@redhat.com> | 2011-12-14 19:59:25 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-12-14 19:59:25 +0000 |
commit | d6a0f6e0c71bc2217ddc2d8bc51331f4f713c43d (patch) | |
tree | 32f5342bfb8e4b7674671aa5e68eb06845718abf /gdb/testsuite/gdb.dwarf2 | |
parent | 31015e1de02e4367a8ef1f25fcb3ca518d13a0c7 (diff) | |
download | binutils-gdb-d6a0f6e0c71bc2217ddc2d8bc51331f4f713c43d.tar.gz |
* gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp b/gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp index ffb213102e3..3e1aa1ce91f 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp @@ -41,7 +41,9 @@ gdb_unload # Strip out any labels there as they could corrupt the `main' name. 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 "output is $output" if {$result != 0} { |