From 4ed90530f6e59e600782336485871a3c11b6e795 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 27 Nov 2001 22:19:55 +0000 Subject: [PATCH] * s390-tdep.c (register_names): Call the general-purpose registers `r0' -- `r15', and the floating-point registers `f0' -- `f15', to match the assembly language. --- gdb/ChangeLog | 6 ++++++ gdb/s390-tdep.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f4f170726d..83a4af9a82d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-11-27 Jim Blandy + + * s390-tdep.c (register_names): Call the general-purpose registers + `r0' -- `r15', and the floating-point registers `f0' -- `f15', to + match the assembly language. + 2001-11-26 Pierre Muller * config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index 20c2f647d09..f3f7dcb919b 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -149,15 +149,15 @@ s390_register_name (int reg_nr) { static char *register_names[] = { "pswm", "pswa", - "gpr0", "gpr1", "gpr2", "gpr3", "gpr4", "gpr5", "gpr6", "gpr7", - "gpr8", "gpr9", "gpr10", "gpr11", "gpr12", "gpr13", "gpr14", "gpr15", + "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", + "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", "acr0", "acr1", "acr2", "acr3", "acr4", "acr5", "acr6", "acr7", "acr8", "acr9", "acr10", "acr11", "acr12", "acr13", "acr14", "acr15", "cr0", "cr1", "cr2", "cr3", "cr4", "cr5", "cr6", "cr7", "cr8", "cr9", "cr10", "cr11", "cr12", "cr13", "cr14", "cr15", "fpc", - "fpr0", "fpr1", "fpr2", "fpr3", "fpr4", "fpr5", "fpr6", "fpr7", - "fpr8", "fpr9", "fpr10", "fpr11", "fpr12", "fpr13", "fpr14", "fpr15" + "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", + "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15" }; if (reg_nr >= S390_LAST_REGNUM) -- 2.30.2