Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sh3/include #if-0'ed defines for PT_GETFPREGS and P...
details: https://anonhg.NetBSD.org/src/rev/81b2e573ce19
branches: trunk
changeset: 770751:81b2e573ce19
user: uwe <uwe%NetBSD.org@localhost>
date: Mon Oct 31 19:08:45 2011 +0000
description:
#if-0'ed defines for PT_GETFPREGS and PT_SETFPREGS. Not used yet, but
reserve the numbers as they are "leaked" to readelf(1), that has to know
them as NT_NETBSDCORE_FIRSTMACH + x (see get_netbsd_elfcore_note_type).
diffstat:
sys/arch/sh3/include/ptrace.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 7d49b40b11a2 -r 81b2e573ce19 sys/arch/sh3/include/ptrace.h
--- a/sys/arch/sh3/include/ptrace.h Mon Oct 31 18:41:17 2011 +0000
+++ b/sys/arch/sh3/include/ptrace.h Mon Oct 31 19:08:45 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ptrace.h,v 1.9 2011/01/28 21:06:07 uwe Exp $ */
+/* $NetBSD: ptrace.h,v 1.10 2011/10/31 19:08:45 uwe Exp $ */
/*
* Copyright (c) 1993 Christopher G. Demetriou
@@ -46,6 +46,11 @@
#define PT_GETREGS (PT_FIRSTMACH + 3)
#define PT_SETREGS (PT_FIRSTMACH + 4)
+#if 0 /* XXX: not yet, but reserve the numbers "leaked" to readelf(1). */
+#define PT_GETFPREGS (PT_FIRSTMACH + 5)
+#define PT_SETFPREGS (PT_FIRSTMACH + 6)
+#endif
+
#define PT_MACHDEP_STRINGS \
"PT_STEP", \
"PT___GETREGS40", \
Home |
Main Index |
Thread Index |
Old Index