NetBSD-Bugs archive

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

Re: kern/56418: cannot compile INSTALL_FLOPPY kernel on current/i386



The following reply was made to PR kern/56418; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: hashikaw%mail.ru@localhost
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/56418: cannot compile INSTALL_FLOPPY kernel on current/i386
Date: Mon, 27 Sep 2021 22:11:27 +0700

     Date:        Mon, 27 Sep 2021 08:45:00 +0000 (UTC)
     From:        hashikaw%mail.ru@localhost
     Message-ID:  <20210927084500.738461A921F%mollari.NetBSD.org@localhost>
 
 
   | >Fix:
   | I think, 
   |
 
   | -#ifdef PT_REGISTERS
   | +#if defined(PTRACE_HOOKS) && defined(PT_REGISTERS)
 
 I would do, earlier than that
 
 #ifndef PTRACE_HOOKS		/* perhaps with a comment */
 #undef PT_REGISTERS
 #undef PT_GETREGS
 #undef PT_SETREGS
 #undef PT_GETFPREGS
 #undef PT_SETFPREGS
 #undef PT_GETFPREGS
 #undef PT_SETDBREGS
 #endif
 
 That is, avoid cluttering already cluttered #if lines with even more
 
 kre
 


Home | Main Index | Thread Index | Old Index