From: Aleksandar Ristovski <aristovski@qnx.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [patch] nto target: Code cleanup
Date: Fri, 12 Jun 2009 19:05:00 -0000 [thread overview]
Message-ID: <4A32A6F7.9090709@qnx.com> (raw)
In-Reply-To: <4A316D52.3010305@qnx.com>
Aleksandar Ristovski wrote:
> Mark Kettenis wrote:
>>
>> Not sure this is a step in the right direction. This being in a
>> -tdep.c file pretty much makes it impossible to build a multi-arch GDB
>> that supports multiple NTO targets.
>>
>
> The patch functionally doesn't change anything. If you look at
> nto-tdep.h there is current_nto_target extern which gets set either by
> macros I used in my patch or indirectly by nto_set_target.
>
> The patch removes the unnecessary indirection since it doesn't do what
> one might expect.
>
> Note that this approach works for multiarch but will definitely not work
> once we enable gdb for multiple targets (of different architectures) at
> the same time, and my patch doesn't change this situation.
>
Mark do you agree? Are you ok with the patch?
Thanks,
--
Aleksandar Ristovski
QNX Software Systems
prev parent reply other threads:[~2009-06-12 19:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-11 19:16 Aleksandar Ristovski
2009-06-11 19:24 ` Joel Brobecker
2009-06-11 19:34 ` Aleksandar Ristovski
2009-06-11 20:40 ` Mark Kettenis
2009-06-11 20:47 ` Aleksandar Ristovski
2009-06-12 19:05 ` Aleksandar Ristovski [this message]
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=4A32A6F7.9090709@qnx.com \
--to=aristovski@qnx.com \
--cc=gdb-patches@sources.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