Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org, dgraham@nortel.com
Subject: Re: RFC: Do not try g-packet-guess algorithm on exited targets
Date: Mon, 24 Nov 2008 14:49:00 -0000	[thread overview]
Message-ID: <20081123230519.GA7191@caradoc.them.org> (raw)
In-Reply-To: <200811232211.59013.pedro@codesourcery.com>

On Sun, Nov 23, 2008 at 10:11:58PM +0000, Pedro Alves wrote:
> Is this new flag working around that fact that remote_open_1 does this?
> 
>   /* Assume that the target is running, unless we learn otherwise.  */
>   target_mark_running (target);

Right.

> Then would this in remote_read_description work instead of a
> new flag?
> 
> > +  /* Do not try this during initial connection.  */
> > +  if (!target_has_execution || ptid_equal (inferior_ptid, null_ptid))
> > +    return NULL;
> 
> (or just null_ptid).

It ought to.  Let me give that a try.

(The patch fixes 9 FAILs in gdb.server/\* on mips-linux, as expected.)

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2008-11-23 23:06 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 [this message]
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
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=20081123230519.GA7191@caradoc.them.org \
    --to=drow@false.org \
    --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