Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Vladimir Prus <vladimir@codesourcery.com>
Subject: Re: [RFA] Remove unnecessary target defaults.
Date: Fri, 15 Aug 2008 13:08:00 -0000	[thread overview]
Message-ID: <200808151408.42896.pedro@codesourcery.com> (raw)
In-Reply-To: <200808151645.31042.vladimir@codesourcery.com>

On Friday 15 August 2008 13:45:30, Vladimir Prus wrote:

> -  de_fault (to_can_async_p,
> -	    (int (*) (void))
> -	    return_zero);
> -  de_fault (to_is_async_p,
> -	    (int (*) (void))
> -	    return_zero);

I believe this is incorrect.  You don't notice it when connected
to remote, because those methods are implemented in remote_ops.  But,
when connected to e.g., remote-sim.c, and because gdbsim_ops doesn't define
those, you'll inherit the dummy target's implementation, which looks
for asyncness in the default run target instead --- while you should be
looking for asyncness in the remote-sim target.

-- 
Pedro Alves


  reply	other threads:[~2008-08-15 13:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15 12:46 Vladimir Prus
2008-08-15 13:08 ` Pedro Alves [this message]
2008-08-15 14:16   ` Vladimir Prus
2008-08-15 14:31     ` Pedro Alves
2008-08-15 14:41       ` Vladimir Prus
2008-08-15 14:52         ` Pedro Alves
2008-08-15 15:02           ` Vladimir Prus
2008-08-15 15:11             ` Pedro Alves
2008-08-16 20:15 ` 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=200808151408.42896.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=vladimir@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