From: Pedro Alves <palves@redhat.com>
To: Yao Qi <yao@codesourcery.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: gdb in non-stop/sync mode connects to gdbserver
Date: Thu, 22 Nov 2012 18:16:00 -0000 [thread overview]
Message-ID: <50AE6BFF.5050008@redhat.com> (raw)
In-Reply-To: <50AE4E3D.8000701@codesourcery.com>
On 11/22/2012 04:09 PM, Yao Qi wrote:
> Hello,
> When running moribund-step.exp with boardfile 'unix', we'll get two passes,
>
> PASS: gdb.base/moribund-step.exp: set non-stop on
> PASS: gdb.base/moribund-step.exp: step
>
> However, when running it with boardilfe native-gdbserver, we'll get only one pass,
>
> PASS: gdb.base/moribund-step.exp: set non-stop on
>
> in fact, gdb hang there when connecting to gdbserver. Supposing gdb is in non-stop and sync mode, here is callgraph of functions related to 'connecting to remote gdbserver'.
"non-stop and sync mode" is really not supported. non-stop is defined to
work only with async on. There are many such assumptions in the code. That the
test works in sync mode on native is just an accident.
--
Pedro Alves
next prev parent reply other threads:[~2012-11-22 18:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-22 16:09 Yao Qi
2012-11-22 18:16 ` Pedro Alves [this message]
2012-11-23 1:35 ` Yao Qi
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=50AE6BFF.5050008@redhat.com \
--to=palves@redhat.com \
--cc=gdb@sourceware.org \
--cc=yao@codesourcery.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).