* linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of
authorDaniel Jacobowitz <drow@false.org>
Wed, 20 Nov 2002 16:31:08 +0000 (16:31 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 20 Nov 2002 16:31:08 +0000 (16:31 +0000)
defined(PT_FPR0_HI).

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-s390-low.c

index d8e7c4cc556aaff6cc0d33f62bf61048cebad622..9a25c44be8779858bf961e9e6dce6c99cfa4db07 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-20  Daniel Jacobowitz  <drow@mvista.com>
+
+       * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead of
+       defined(PT_FPR0_HI).
+
 2002-11-17  Stuart Hughes  <seh@zee2.com>
 
        * linux-arm-low.c (arm_num_regs): Increase.
index 8d800ae8b5f9ff0147f990f3401ca0dd2a0c780f..9213f68ef00f63a94cc7724980cf3e499c532656 100644 (file)
@@ -49,7 +49,8 @@ static int s390_regmap[] = {
   
   PT_FPC,
 
-#ifdef PT_FPR0_HI
+/* <asm/ptrace.h> 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,
This page took 0.029131 seconds and 4 git commands to generate.