arm-elf and SIGCONTEXT_REGISTER_ADDRESS
Andrew Cagney
ac131313@cygnus.com
Wed Sep 6 02:21:00 GMT 2000
FYI,
The way the macro SIGCONTEXT_REGISTER_ADDRESS is defined doesn't go down
well with GCC. I'm seeing:
src/gdb/arm-tdep.c: In function `arm_init_extra_frame_info':
src/gdb/arm-tdep.c:1054: called object is not a function
Instead a separate SIGCONTEXT_REGISTER_ADDRESS_P() method should be
defined.
Part of the rationale is that, eventually, the multi-arch methods are
going to be re-done so that an explicit thread/context/state is passed
as a parameter. At that point, having a function return a function
starts to get complex.
enjoy,
Andrew
More information about the Gdb-patches
mailing list