This is the mail archive of the gdb-patches@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]

Re: RFC: Patch to allow compilation by Sun cc



> *************** 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

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