NetBSD Problem Report #32946

From  Tue Feb 28 03:56:30 2006
Return-Path: <>
Received: by (Postfix, from userid 31301)
	id 90B5663B877; Tue, 28 Feb 2006 03:56:30 +0000 (UTC)
Message-Id: <>
Date: Tue, 28 Feb 2006 03:56:30 +0000 (UTC)
Subject: Unifying managment via environment variables and bonus debug levels
X-Send-Pr-Version: www-1.0

>Number:         32946
>Category:       lib
>Synopsis:       Unifying managment via environment variables and bonus debug levels
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 28 04:00:00 +0000 2006
>Originator:     Vassily Levchenko
>Release:        current
NetBSD archon 3.99.15 NetBSD 3.99.15 (GENERIC) #4: Wed Jan 25 06:48:19 MSK 2006  vvl@archon:/home/vvl/netbsd060121/src-kld/src/sys/arch/amd64/compile/GENERIC amd64 x86_64 AMD Athlon(tm) 64 Processor 3500+ NetBSD

Here are introduced the unified environment management of via environment variables. New method rtld_setup_env checks all environment variables that starts with LD_ and puts values or fires a flags in global structure. The result later used from this structure. 
Also debug levels are introduced. Format is  LD_DEBUG=token1,token2 possible values are: 
help – prints possible values and exit,  
basic –some basic stuff printed aka setup of or changes in internal states basic operations, 
detail - to get more detailed information (in conjunction with other tokens) 
files|init|libs|symbols|bindings|reloc – display files | init/fini | libraries | symbols | bindings | relocations processing.



NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.