This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Patch to allow compilation by Sun cc
- To: Paul Hilfinger <hilfingr at gnat dot com>
- Subject: Re: RFC: Patch to allow compilation by Sun cc
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 01 Feb 2001 10:12:17 -0800
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <20010201125533.018A834D80@nile.gnat.com>
> *************** 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