Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/include gdb requires a `struct fpstate' so ...



details:   https://anonhg.NetBSD.org/src/rev/4b8d7f1713a9
branches:  trunk
changeset: 494587:4b8d7f1713a9
user:      eeh <eeh%NetBSD.org@localhost>
date:      Sat Jul 08 19:25:14 2000 +0000

description:
gdb requires a `struct fpstate' so provide one.

diffstat:

 sys/arch/sparc64/include/reg.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 224c14fe7585 -r 4b8d7f1713a9 sys/arch/sparc64/include/reg.h
--- a/sys/arch/sparc64/include/reg.h    Sat Jul 08 19:18:19 2000 +0000
+++ b/sys/arch/sparc64/include/reg.h    Sat Jul 08 19:25:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reg.h,v 1.6 2000/01/10 03:53:20 eeh Exp $ */
+/*     $NetBSD: reg.h,v 1.7 2000/07/08 19:25:14 eeh Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -194,11 +194,13 @@
 /* Here we gotta do naughty things to let gdb work on 32-bit binaries */
 #define reg            reg64
 #define fpreg          fpreg64
+#define fpstate                fpstate64
 #define trapframe      trapframe64
 #define rwindow                rwindow64
 #else
 #define reg            reg32
 #define fpreg          fpreg32
+#define fpstate                fpstate32
 #define trapframe      trapframe32
 #define rwindow                rwindow32
 #endif



Home | Main Index | Thread Index | Old Index