From owner-cvs-sys Fri Dec 19 12:49:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA17096 for cvs-sys-outgoing; Fri, 19 Dec 1997 12:49:19 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA16995; Fri, 19 Dec 1997 12:47:55 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA03274; Fri, 19 Dec 1997 12:44:51 -0800 (PST) Date: Fri, 19 Dec 1997 12:44:51 -0800 (PST) Message-Id: <199712192044.MAA03274@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/sys imgact_aout.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/19 12:44:51 PST Modified files: sys/sys imgact_aout.h Log: Made N_TXTADDR() work for kernels (assume that a ZMAGIC file with an out of bounds a_entry is a kernel and use the usual kludge to find the text address). If gdb had used this, it would have been able to find the kernel text address properly. Unfortunately, it uses its own a.out macros, so this is mainly an example for gdb to copy. Revision Changes Path 1.8 +6 -2 src/sys/sys/imgact_aout.h