This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: arm-elf and SIGCONTEXT_REGISTER_ADDRESS
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