From a1358604f19f33d3b588e685f85cbee16ba8bb50 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 20 Nov 2002 16:31:08 +0000 Subject: [PATCH] * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of defined(PT_FPR0_HI). --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/linux-s390-low.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index d8e7c4cc556..9a25c44be87 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2002-11-20 Daniel Jacobowitz + + * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of + defined(PT_FPR0_HI). + 2002-11-17 Stuart Hughes * linux-arm-low.c (arm_num_regs): Increase. diff --git a/gdb/gdbserver/linux-s390-low.c b/gdb/gdbserver/linux-s390-low.c index 8d800ae8b5f..9213f68ef00 100644 --- a/gdb/gdbserver/linux-s390-low.c +++ b/gdb/gdbserver/linux-s390-low.c @@ -49,7 +49,8 @@ static int s390_regmap[] = { PT_FPC, -#ifdef PT_FPR0_HI +/* defines GPR_SIZE. */ +#if GPR_SIZE == 4 PT_FPR0_HI, PT_FPR1_HI, PT_FPR2_HI, PT_FPR3_HI, PT_FPR4_HI, PT_FPR5_HI, PT_FPR6_HI, PT_FPR7_HI, PT_FPR8_HI, PT_FPR9_HI, PT_FPR10_HI, PT_FPR11_HI, -- 2.30.2