From: Pedro Alves <pedro@codesourcery.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org
Subject: Re: [PATCH 2/2] Add support for GNAT Ravenscar run-time library.
Date: Fri, 24 Sep 2010 01:39:00 -0000 [thread overview]
Message-ID: <201009232308.50387.pedro@codesourcery.com> (raw)
In-Reply-To: <20100923213927.GD3007@adacore.com>
On Thursday 23 September 2010 22:39:27, Joel Brobecker wrote:
> +static void
> +ravenscar_inferior_created (struct target_ops *target, int from_tty)
> +{
> + if (ravenscar_task_support
> + && has_ravenscar_runtime ()
> + && strcmp (target_shortname, ravenscar_ops.to_shortname) != 0)
> + ravenscar_initialize (NULL, 0);
> +}
Please no current/topmost target name comparisons. Add a
ravenscar_is_open global if you don't have any other global you
can use to check whether target revenscar is open.
--
Pedro Alves
next prev parent reply other threads:[~2010-09-23 22:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-23 19:01 Joel Brobecker
2010-09-23 19:44 ` [PATCH 1/2] [Ada] Add ada-tasks.c:iterate_over_live_ada_tasks Joel Brobecker
2010-09-29 3:25 ` Joel Brobecker
2010-09-23 19:49 ` [PATCH 2/2] Add support for GNAT Ravenscar run-time library Joel Brobecker
2010-09-23 21:56 ` Joel Brobecker
2010-09-23 21:58 ` Jan Kratochvil
2010-09-23 22:09 ` Pedro Alves
2010-09-23 23:39 ` Joel Brobecker
2010-09-24 1:39 ` Pedro Alves [this message]
2010-09-27 18:59 ` Joel Brobecker
2010-09-27 19:01 ` Pedro Alves
2010-09-28 14:55 ` Joel Brobecker
2010-09-29 9:52 ` Joel Brobecker
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=201009232308.50387.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.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).