Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* V3 ABI stuff is broken
@ 2001-05-24 13:31 Mark Kettenis
  2001-06-01 20:56 ` Jim Blandy
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Kettenis @ 2001-05-24 13:31 UTC (permalink / raw)
  To: gdb

The new V3 ABI code in gnu-v3-abi.c uses a per-architecture
data-pointer, but it looks like this mechanism is broken, at least for
targets that are not yet multi-arch.

If I understand things correcly in that case startup_gdbarch is used.
However, the per-architecture data-pointer isn't allocated/initialized
for startup_gdbarch.  This leads to a lot of test failures for
alpha-unknown-freebsd5.0 when using GCC 3.0.

Should arch-utils.c:initialize_current_architecture() always call
gdbarch_update_p(), even if the target is not multi-arch?

Mark


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: V3 ABI stuff is broken
  2001-05-24 13:31 V3 ABI stuff is broken Mark Kettenis
@ 2001-06-01 20:56 ` Jim Blandy
  2001-06-03  3:04   ` Mark Kettenis
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Blandy @ 2001-06-01 20:56 UTC (permalink / raw)
  To: Mark Kettenis; +Cc: gdb

I think I've fixed this ("PATCH: relax restrictions on
per-architecture data registration").  If this problem isn't gone,
please post.

Mark Kettenis <kettenis@wins.uva.nl> writes:
> The new V3 ABI code in gnu-v3-abi.c uses a per-architecture
> data-pointer, but it looks like this mechanism is broken, at least for
> targets that are not yet multi-arch.
> 
> If I understand things correcly in that case startup_gdbarch is used.
> However, the per-architecture data-pointer isn't allocated/initialized
> for startup_gdbarch.  This leads to a lot of test failures for
> alpha-unknown-freebsd5.0 when using GCC 3.0.
> 
> Should arch-utils.c:initialize_current_architecture() always call
> gdbarch_update_p(), even if the target is not multi-arch?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: V3 ABI stuff is broken
  2001-06-01 20:56 ` Jim Blandy
@ 2001-06-03  3:04   ` Mark Kettenis
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Kettenis @ 2001-06-03  3:04 UTC (permalink / raw)
  To: jimb; +Cc: gdb

   From: Jim Blandy <jimb@zwingli.cygnus.com>
   Date: 01 Jun 2001 22:57:14 -0500

   I think I've fixed this ("PATCH: relax restrictions on
   per-architecture data registration").  If this problem isn't gone,
   please post.

Seems to work fine on alpha-unknown-freebsd5.0 with GCC 3.0.

Thanks,

Mark


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-03  3:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-24 13:31 V3 ABI stuff is broken Mark Kettenis
2001-06-01 20:56 ` Jim Blandy
2001-06-03  3:04   ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox