* Obsolete m32r?
@ 2002-01-06 9:44 Andrew Cagney
2002-01-06 21:23 ` Michael Snyder
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2002-01-06 9:44 UTC (permalink / raw)
To: msnyder; +Cc: gdb
Michael,
The m32r needs to be multi-arch. I'm not sure what you want to do with
it though.
You could, for instance, just let it be made obsolete. Any thoughts?
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Obsolete m32r?
2002-01-06 9:44 Obsolete m32r? Andrew Cagney
@ 2002-01-06 21:23 ` Michael Snyder
2002-01-09 9:24 ` Andrew Cagney
0 siblings, 1 reply; 5+ messages in thread
From: Michael Snyder @ 2002-01-06 21:23 UTC (permalink / raw)
To: Andrew Cagney; +Cc: msnyder, gdb
Andrew Cagney wrote:
>
> Michael,
>
> The m32r needs to be multi-arch. I'm not sure what you want to do with
> it though.
>
> You could, for instance, just let it be made obsolete. Any thoughts?
Mitsubishi still uses it (both the chip and the tools),
so I don't think obsoleting it would be appropriate.
What brings this up?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Obsolete m32r?
2002-01-06 21:23 ` Michael Snyder
@ 2002-01-09 9:24 ` Andrew Cagney
2002-01-10 14:28 ` LeakyStain
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2002-01-09 9:24 UTC (permalink / raw)
To: Michael Snyder; +Cc: msnyder, gdb
> Andrew Cagney wrote:
>
>>
>> Michael,
>>
>> The m32r needs to be multi-arch. I'm not sure what you want to do with
>> it though.
>>
>> You could, for instance, just let it be made obsolete. Any thoughts?
>
>
> Mitsubishi still uses it (both the chip and the tools),
> so I don't think obsoleting it would be appropriate.
>
> What brings this up?
In GDB 5.2 we're ment to have everything multi-arched so this target
needs to be done. I don't actually think that goal will be achived but
we should at least be working on it.
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Obsolete m32r?
2002-01-09 9:24 ` Andrew Cagney
@ 2002-01-10 14:28 ` LeakyStain
2002-01-10 15:51 ` gdbint.info; Was: " Andrew Cagney
0 siblings, 1 reply; 5+ messages in thread
From: LeakyStain @ 2002-01-10 14:28 UTC (permalink / raw)
Cc: gdb
It would help if the gdbint.info was updated first, to label the macros
obsolete or deprecated, and describe multi-arch more completely.
I started working on a port of gdb 5.0 to the ut69r in September 2001,
and I read gdbint.info pretty thoroughly; there was only one mention of
multi-arch, and it was pretty obscure. So I implemented the macros, and
now I discover I have to change them.
-- Stephe
Andrew Cagney wrote:
> In GDB 5.2 we're ment to have everything multi-arched so this target
> needs to be done. I don't actually think that goal will be achived but
> we should at least be working on it.
>
> Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* gdbint.info; Was: Obsolete m32r?
2002-01-10 14:28 ` LeakyStain
@ 2002-01-10 15:51 ` Andrew Cagney
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Cagney @ 2002-01-10 15:51 UTC (permalink / raw)
To: LeakyStain; +Cc: gdb
> It would help if the gdbint.info was updated first, to label the macros
> obsolete or deprecated, and describe multi-arch more completely.
Obsolete macros are deleted (when someone notices they are not in use or
removes all uses). There is no pre-documented warning that this will
happen however strong hints are found on
http://sources.redhat.com/gdb/ari/ .
The intention (discussed last year) is to more clearly identify
deprecated macro's and functions by adding the prefix deprecated_....().
> I started working on a port of gdb 5.0 to the ut69r in September 2001,
> and I read gdbint.info pretty thoroughly; there was only one mention of
> multi-arch, and it was pretty obscure. So I implemented the macros, and
> now I discover I have to change them.
Prior to the 5.1 release I tried to update the internals doco so that it
better represented current reality (1, 2):
http://sources.redhat.com/gdb/onlinedocs/gdbint_9.html#SEC67
The introduction is correct. The misleading part is where it uses the
words macro vs function. Looking at it I probably should have simply
replaced all uses of the word macro with function (it is complicated
because currently most architecture methods are still accessed via a
macro by core-GDB :-/). The section on files points out that tm-*.h
files are not needed and should not be created.
Overall it could do with more work. With 5.1 I was more worried about
getting the coding standard section to better reflect reality.
If you're wondering about the big picture see:
http://sources.redhat.com/gdb/papers/multi-arch/whatis.html
http://sources.redhat.com/gdb/papers/multi-arch/real-multi-arch/
If you're wondering what you need to change see:
http://sources.redhat.com/gdb/papers/multi-arch/howto.html
Andrew
(1) GDB currently isn't multi-arch. At this stage multi-arch just
refers to implementing a target using the architecture vector.
(1) Hmm, section 9.1 is completly out-of-date. GDB and the compiler's register numberings are now completly independant!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-01-10 23:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-06 9:44 Obsolete m32r? Andrew Cagney
2002-01-06 21:23 ` Michael Snyder
2002-01-09 9:24 ` Andrew Cagney
2002-01-10 14:28 ` LeakyStain
2002-01-10 15:51 ` gdbint.info; Was: " Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox