Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: gdb-patches@sourceware.org, Pedro Alves <pedro@codesourcery.com>,
	  dgraham@nortel.com
Subject: Re: RFC: Do not try g-packet-guess algorithm on exited targets
Date: Mon, 01 Dec 2008 22:10:00 -0000	[thread overview]
Message-ID: <49346036.6060204@vmware.com> (raw)
In-Reply-To: <20081123211454.GA17391@caradoc.them.org>

Daniel Jacobowitz wrote:
> We got a bug report indicating that gdbserver --multi didn't work on
> MIPS.  We'd connect to the target, try to read the XML description -
> gdbserver reports an error because there's no process yet - and then
> try to guess the description from the g packet length instead.  Of
> course we can't do that; there's no process yet.
> 
> This patch fixes the problem.  We try qXfer on connection, then try
> 'g' only if (A) there was no XML description, and (B) there is a
> running process, and (C) we are not in non-stop mode; assume that
> non-stop targets can provide a description explicitly.

Just curious -- how do you determine whether or not there is
a running process?


  parent reply	other threads:[~2008-12-01 22:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-24 13:53 Daniel Jacobowitz
2008-11-24 14:49 ` Pedro Alves
2008-11-24 14:49   ` Daniel Jacobowitz
2008-11-24 19:06   ` Daniel Jacobowitz
2008-11-24 19:17     ` Pedro Alves
2008-11-24 20:11       ` Daniel Jacobowitz
2008-12-01 22:10 ` Michael Snyder [this message]
2008-12-01 22:18   ` Daniel Jacobowitz

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=49346036.6060204@vmware.com \
    --to=msnyder@vmware.com \
    --cc=dgraham@nortel.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@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