Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <yao@codesourcery.com>
To: <gdb-patches@sourceware.org>
Cc: Hui Zhu <teawater@gmail.com>, Pedro Alves <palves@redhat.com>
Subject: Re: [PATCH] add testsuite for for backtrace commands with tfile to test the tfile memory read
Date: Wed, 20 Jun 2012 14:44:00 -0000	[thread overview]
Message-ID: <58272362.Fy9KhpX3fQ@qiyao.dyndns.org> (raw)
In-Reply-To: <CANFwon3yijJE2S55JQg+qMLepVBOyvzBc40vrtN4aV4YcE4fvw@mail.gmail.com>

Hi, Hui,

I got some fails with your patch applied,

FAIL: gdb.trace/tfile.exp: tstart
FAIL: gdb.trace/tfile.exp: tstop
FAIL: gdb.trace/tfile.exp: load trace file bt.tf (GDB internal error)
FAIL: gdb.trace/tfile.exp: tfind 0 on trace file bt.tf
FAIL: gdb.trace/tfile.exp: backtrace on trace file bt.tf

On Wednesday 20 June 2012 18:08:17 Hui Zhu wrote:
> gdb_test_no_output "tstart"

You start tracing in native, which doesn't support tracepoint.

> +gdb_test "break done_making_trace_files" ".*" ""
> +gdb_test "continue" ".*" ""
> +gdb_test_no_output "tstop"
> +gdb_test "tsave ./bt.tf" ".*" ""

AFAIK, in tfile.exp, trace file is generated by tfile.c and GDB only consumes 
these trace files (basic.tf and error.tf) for test purpose.

-- 
Yao (齐尧)


  parent reply	other threads:[~2012-06-20 14:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-20 10:09 Hui Zhu
2012-06-20 14:19 ` Yao Qi
2012-06-20 14:44 ` Yao Qi [this message]
2012-06-21 11:16   ` Hui Zhu
2012-06-21 14:17     ` Pedro Alves
2012-06-22  1:43       ` Hui Zhu
2012-06-22  9:05         ` Pedro Alves
2012-06-24  7:39           ` Hui Zhu

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=58272362.Fy9KhpX3fQ@qiyao.dyndns.org \
    --to=yao@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@redhat.com \
    --cc=teawater@gmail.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