Date: Sat, 13 May 2000 04:50:04 -0700 (PDT) From: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/18498: allowing ELF_VERBOSE in /etc/make.conf Message-ID: <200005131150.EAA45541@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/18498; it has been noted by GNATS. From: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl> To: mellon@pobox.com Cc: FreeBSD-gnats-submit@freebsd.org, jhb@freebsd.org Subject: Re: bin/18498: allowing ELF_VERBOSE in /etc/make.conf Date: Sat, 13 May 2000 13:48:11 +0200 -On [20000511 16:02], mellon@pobox.com (mellon@pobox.com) wrote: > >5.0-CURRENT > >>Description: > >For debugging the loader, the following trivial change to >src/sys/boot/common/Makefile.inc will allow placing ELF_VERBOSE=true >in /etc/make.conf instead of having to change the makefile; this >makes life a little bit brighter and is exactly the arrangement >already existing with BTXLDR_VERBOSE in sys/boot/i386/btx/btxldr/Makefile, >for instance. > >>How-To-Repeat: > >>Fix: > >Index: Makefile.inc >=================================================================== >RCS file: /freebsd/cvs/src/sys/boot/common/Makefile.inc,v >retrieving revision 1.9 >diff -u -r1.9 Makefile.inc >--- Makefile.inc 1999/08/28 00:39:44 1.9 >+++ Makefile.inc 2000/05/11 15:53:43 >@@ -16,3 +16,9 @@ > .if BOOT_FORTH > SRCS+= interp_forth.c > .endif >+ >+.if defined(ELF_VERBOSE) >+CFLAGS+=-DELF_VERBOSE >+.endif >+ >+ Why those two trailing newlines? Anyways, John, what do you think of this change? I think it would make debugging easier for those who want it, however the ELF_VERBOSE name is a tad bit generic to make it a make.conf variable. I prefer it to be ELF_BOOT_VERBOSE or something like that. Or ELF_BOOT_DEBUG. Just my interpretation to get this integrated. -- Jeroen Ruigrok vd Werven/Asmodai asmodai@[wxs.nl|bart.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai> Sleep tonight, sweet summer light, scattered yesterdays, the past is far away... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005131150.EAA45541>