This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

V3 ABI stuff is broken


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]