[PATCH] [WineDbg]: fix backend prototypes for PowerPC and Alpha
Austin English
austinenglish at gmail.com
Tue Sep 1 18:07:38 CDT 2009
On Tue, Sep 1, 2009 at 3:23 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..8ced1d6 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, ADDRESS64* callee)
> {
> return FALSE;
> }
> diff --git a/programs/winedbg/be_ppc.c b/programs/winedbg/be_ppc.c
> index 2e8826e..bff1571 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;
> }
>
> -static unsigned be_ppc_is_func_call(void* insn, void** insn_callee)
> +static unsigned be_ppc_is_func_call(const void* insn, ADDRESS64* callee)
> {
> return FALSE;
> }
>
>
>
>
>
>
Works for PPC.
--
-Austin
More information about the wine-patches
mailing list