aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-12-14 19:59:25 +0000
committerTom Tromey <tromey@redhat.com>2011-12-14 19:59:25 +0000
commitd6a0f6e0c71bc2217ddc2d8bc51331f4f713c43d (patch)
tree32f5342bfb8e4b7674671aa5e68eb06845718abf /gdb/testsuite
parent31015e1de02e4367a8ef1f25fcb3ca518d13a0c7 (diff)
downloadgdb-d6a0f6e0c71bc2217ddc2d8bc51331f4f713c43d.zip
gdb-d6a0f6e0c71bc2217ddc2d8bc51331f4f713c43d.tar.gz
gdb-d6a0f6e0c71bc2217ddc2d8bc51331f4f713c43d.tar.bz2
* gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp4
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9ce9c02..4db009e 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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>
* lib/gdb.exp (gdb_start_cmd): Fix error return value.
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp b/gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp
index ffb2131..3e1aa1c 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} {