This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
V3 ABI stuff is broken
- To: gdb at sources dot redhat dot com
- Subject: V3 ABI stuff is broken
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Thu, 24 May 2001 22:31:30 +0200
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