[PATCH] [WineDbg]: fix backend prototypes for PowerPC and Alpha

Austin English austinenglish at gmail.com
Mon Aug 31 20:25:18 CDT 2009


On Mon, Aug 31, 2009 at 3:02 PM, Eric Pouech<eric.pouech at orange.fr> wrote:
>
>
>
> A+
> ---
>
>  programs/winedbg/be_alpha.c |    8 ++++----
>  programs/winedbg/be_ppc.c   |    8 ++++----
>  2 files changed, 8 insertions(+), 8 deletions(-)
>
>
> diff --git a/programs/winedbg/be_alpha.c b/programs/winedbg/be_alpha.c
> index aeeb79a..5f40f71 100644
> --- a/programs/winedbg/be_alpha.c
> +++ b/programs/winedbg/be_alpha.c
> @@ -60,25 +60,25 @@ static const struct dbg_internal_var* be_alpha_init_registers(CONTEXT* ctx)
>     return be_alpha_ctx;
>  }
>
> -static unsigned be_alpha_is_step_over_insn(void* insn)
> +static unsigned be_alpha_is_step_over_insn(const void* insn)
>  {
>     dbg_printf("not done\n");
>     return FALSE;
>  }
>
> -static unsigned be_alpha_is_function_return(void* insn)
> +static unsigned be_alpha_is_function_return(const void* insn)
>  {
>     dbg_printf("not done\n");
>     return FALSE;
>  }
>
> -static unsigned be_alpha_is_break_insn(void* insn)
> +static unsigned be_alpha_is_break_insn(const void* insn)
>  {
>     dbg_printf("not done\n");
>     return FALSE;
>  }
>
> -static unsigned be_alpha_is_func_call(void* insn, void** insn_callee)
> +static unsigned be_alpha_is_func_call(const void* insn, void** insn_callee)
>  {
>     return FALSE;
>  }
> diff --git a/programs/winedbg/be_ppc.c b/programs/winedbg/be_ppc.c
> index 2e8826e..c2bc431 100644
> --- a/programs/winedbg/be_ppc.c
> +++ b/programs/winedbg/be_ppc.c
> @@ -73,25 +73,25 @@ static const struct dbg_internal_var* be_ppc_init_registers(CONTEXT* ctx)
>     return be_ppc_ctx;
>  }
>
> -static unsigned be_ppc_is_step_over_insn(void* insn)
> +static unsigned be_ppc_is_step_over_insn(const void* insn)
>  {
>     dbg_printf("not done\n");
>     return FALSE;
>  }
>
> -static unsigned be_ppc_is_function_return(void* insn)
> +static unsigned be_ppc_is_function_return(const void* insn)
>  {
>     dbg_printf("not done\n");
>     return FALSE;
>  }
>
> -static unsigned be_ppc_is_break_insn(void* insn)
> +static unsigned be_ppc_is_break_insn(const void* insn)
>  {
>     dbg_printf("not done\n");
>     return FALSE;
>  }

These all work fine on PPC.

> -static unsigned be_ppc_is_func_call(void* insn, void** insn_callee)
> +static unsigned be_ppc_is_func_call(const void* insn, void** insn_callee)
>  {
>     return FALSE;
>  }

Still got a warning here.

-- 
-Austin



More information about the wine-devel mailing list