[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v2 11/53] target/hexagon: delete unused hexagon_debug() metho
From: |
Taylor Simpson |
Subject: |
RE: [PATCH v2 11/53] target/hexagon: delete unused hexagon_debug() method |
Date: |
Tue, 14 Sep 2021 14:50:12 +0000 |
> -----Original Message-----
> From: Daniel P. Berrangé <berrange@redhat.com>
> Subject: [PATCH v2 11/53] target/hexagon: delete unused hexagon_debug()
> method
>
> This method isn't used in any code and its functionality is already available
> via
> the 'info registers' HMP command.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
> target/hexagon/cpu.c | 5 -----
> target/hexagon/internal.h | 1 -
> 2 files changed, 6 deletions(-)
>
> diff --git a/target/hexagon/cpu.c b/target/hexagon/cpu.c index
> 3338365c16..14c628db7a 100644
> --- a/target/hexagon/cpu.c
> +++ b/target/hexagon/cpu.c
> @@ -169,11 +169,6 @@ static void hexagon_dump_state(CPUState *cs, FILE
> *f, int flags)
> hexagon_dump(env, f);
> }
>
> -void hexagon_debug(CPUHexagonState *env) -{
> - hexagon_dump(env, stdout);
> -}
> -
> static void hexagon_cpu_set_pc(CPUState *cs, vaddr value) {
> HexagonCPU *cpu = HEXAGON_CPU(cs);
> diff --git a/target/hexagon/internal.h b/target/hexagon/internal.h index
> 6b20affdfa..167e91026a 100644
> --- a/target/hexagon/internal.h
> +++ b/target/hexagon/internal.h
> @@ -31,7 +31,6 @@
>
> int hexagon_gdb_read_register(CPUState *cpu, GByteArray *buf, int reg);
> int hexagon_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg);
> -void hexagon_debug(CPUHexagonState *env);
>
> extern const char * const hexagon_regnames[TOTAL_PER_THREAD_REGS];
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
- [PATCH v2 07/53] target/alpha: convert to use format_state instead of dump_state, (continued)
- [PATCH v2 10/53] target/cris: convert to use format_state instead of dump_state, Daniel P . Berrangé, 2021/09/14
- [PATCH v2 11/53] target/hexagon: delete unused hexagon_debug() method, Daniel P . Berrangé, 2021/09/14
- [PATCH v2 12/53] target/hexagon: convert to use format_state instead of dump_state, Daniel P . Berrangé, 2021/09/14
- [PATCH v2 13/53] target/hppa: convert to use format_state instead of dump_state, Daniel P . Berrangé, 2021/09/14
- [PATCH v2 14/53] target/i386: convert to use format_state instead of dump_state, Daniel P . Berrangé, 2021/09/14
- [PATCH v2 15/53] target/m68k: convert to use format_state instead of dump_state, Daniel P . Berrangé, 2021/09/14
- [PATCH v2 16/53] target/microblaze: convert to use format_state instead of dump_state, Daniel P . Berrangé, 2021/09/14