qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RESEND v5 19/26] target/ppc: Remove references to gdb_has_xml


From: Nicholas Piggin
Subject: Re: [PATCH RESEND v5 19/26] target/ppc: Remove references to gdb_has_xml
Date: Fri, 25 Aug 2023 19:40:46 +1000

On Fri Aug 18, 2023 at 1:36 PM AEST, Akihiko Odaki wrote:
> GDB has XML support since 6.7 which was released in 2007.
> It's time to remove support for old GDB versions without XML support.

These 3 patches might be better to go ahead in a preparation series
with "remove support for gdb 6.7" in the subject so people don't
miss it. You could put a minimum version in docs/system/gdb.rst
too.

For the ppc part,

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>

>
> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
> ---
>  target/ppc/gdbstub.c | 12 ------------
>  1 file changed, 12 deletions(-)
>
> diff --git a/target/ppc/gdbstub.c b/target/ppc/gdbstub.c
> index c86b7055ca..7e3b67a234 100644
> --- a/target/ppc/gdbstub.c
> +++ b/target/ppc/gdbstub.c
> @@ -54,12 +54,6 @@ static int ppc_gdb_register_len(int n)
>      case 0 ... 31:
>          /* gprs */
>          return sizeof(target_ulong);
> -    case 32 ... 63:
> -        /* fprs */
> -        if (gdb_has_xml) {
> -            return 0;
> -        }
> -        return 8;
>      case 66:
>          /* cr */
>      case 69:
> @@ -74,12 +68,6 @@ static int ppc_gdb_register_len(int n)
>      case 68:
>          /* ctr */
>          return sizeof(target_ulong);
> -    case 70:
> -        /* fpscr */
> -        if (gdb_has_xml) {
> -            return 0;
> -        }
> -        return sizeof(target_ulong);
>      default:
>          return 0;
>      }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]