arm-elf and SIGCONTEXT_REGISTER_ADDRESS
Kevin Buettner
kevinb@cygnus.com
Wed Sep 6 09:26:00 GMT 2000
On Sep 6, 11:34pm, Andrew Cagney wrote:
> Andrew Cagney wrote:
> >
> > 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
>
> The attatched gets around this immediate problem and fixes a few other
> warnings that the protoize changes turn up.
>
> OK?
> Andrew
>
[...]
> * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P): Provide default
> definition.
> (arm_init_extra_frame_info): Use.
I'm not the maintainer, but this looks right to me.
Kevin
More information about the Gdb-patches
mailing list