From ebd5e6fb4ef671dccb322dd80bbc45235ce4bb0f Mon Sep 17 00:00:00 2001 From: uwe Date: Mon, 31 Oct 2011 19:08:45 +0000 Subject: [PATCH] #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). --- sys/arch/sh3/include/ptrace.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/arch/sh3/include/ptrace.h b/sys/arch/sh3/include/ptrace.h index 31710eb55e12..bbd0c466309b 100644 --- a/sys/arch/sh3/include/ptrace.h +++ b/sys/arch/sh3/include/ptrace.h @@ -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", \