RFC: Patch to allow compilation by Sun cc
Andrew Cagney
ac131313@cygnus.com
Thu Feb 1 10:15:00 GMT 2001
> *************** extern void sparc32_extract_return_value
> *** 738,744 ****
>
> #define SOFTWARE_SINGLE_STEP_P 1
> extern void sparc_software_single_step (unsigned int, int);
> ! #define SOFTWARE_SINGLE_STEP(sig,bp_p) sparc_software_single_step (sig,bp_p)
>
> /* We need more arguments in a frame specification for the
> "frame" or "info frame" command. */
> --- 738,745 ----
>
> #define SOFTWARE_SINGLE_STEP_P 1
> extern void sparc_software_single_step (unsigned int, int);
> ! #define SOFTWARE_SINGLE_STEP(sig,bp_p) \
> ! sparc_software_single_step ((unsigned int) (sig),bp_p)
>
> /* We need more arguments in a frame specification for the
> "frame" or "info frame" command. */
This bit looks wrong. Why is a cast needed?
Andrew
More information about the Gdb-patches
mailing list