From: Yao Qi <yao@codesourcery.com>
To: Doug Evans <dje@google.com>
Cc: Pedro Alves <palves@redhat.com>,
gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Add completer to commands 'target {core/tfile/exec}'
Date: Wed, 03 Apr 2013 17:09:00 -0000 [thread overview]
Message-ID: <515BFEDA.7010805@codesourcery.com> (raw)
In-Reply-To: <515BA2E7.6080808@codesourcery.com>
On 04/03/2013 11:32 AM, Yao Qi wrote:
> gdb/testsuite:
>
> 2013-04-03 Yao Qi<yao@codesourcery.com>
>
> * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
> "tfile-basic.tf" instead of "basic.tf".
> (write_error_trace_file): Pass argument "tfile-error.tf"
> instead of "error.tf".
> * gdb.trace/tfile.exp: Update tfile names to
> "tfile-basic.tf" and "tfile-error.tf".
The change on tfile name affects gdb.trace/mi-traceframe-changed.exp.
Update the tfile name in it.
--
Yao (é½å°§)
gdb/testsuite:
2013-04-03 Yao Qi <yao@codesourcery.com>
* gdb.trace/mi-traceframe-changed.exp: Update tfile name to
"tfile-basic.tf".
(test_tfind_tfile): Likewise.
---
gdb/testsuite/gdb.trace/mi-traceframe-changed.exp | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp
index 7849a7e..cb83dbe 100644
--- a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp
+++ b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp
@@ -27,12 +27,13 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
}
# Make sure we are starting fresh.
-remote_file host delete basic.tf
-remote_file target delete basic.tf
+remote_file host delete tfile-basic.tf
+remote_file target delete tfile-basic.tf
remote_exec target "$binfile"
# Copy tracefile from target to host.
-remote_download host [remote_upload target basic.tf] basic.tf
+remote_download host [remote_upload target tfile-basic.tf] \
+ tfile-basic.tf
proc test_tfind_tfile { } {
with_test_prefix "tfile" {
@@ -44,7 +45,7 @@ proc test_tfind_tfile { } {
}
mi_gdb_load ${binfile}
- mi_gdb_test "-target-select tfile basic.tf" \
+ mi_gdb_test "-target-select tfile tfile-basic.tf" \
".*=breakpoint-created,bkpt=\{number=\"${decimal}\",type=\"tracepoint\",disp=\"keep\",enabled=\"y\",.*,func=\"write_basic_trace_file\".*\\^connected" \
"select trace file"
--
1.7.7.6
prev parent reply other threads:[~2013-04-03 10:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 15:14 Yao Qi
2013-03-28 18:50 ` Pedro Alves
2013-03-29 16:42 ` Yao Qi
2013-04-03 13:44 ` Doug Evans
2013-04-03 15:53 ` Yao Qi
2013-04-03 17:09 ` Yao Qi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=515BFEDA.7010805@codesourcery.com \
--to=yao@codesourcery.com \
--cc=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox