files.c revision 8af2c5b9bdbf69a55f079d7ad9483d38fae9f023
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Use is subject to license terms.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#pragma ident "%Z%%M% %I% %E% SMI"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinDbg_file_aout(Lm_list *lml, const char *name, ulong_t dynamic, ulong_t base,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin dbg_print(lml, MSG_INTL(MSG_FIL_DATA_DB), EC_XWORD(dynamic),
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin dbg_print(lml, MSG_INTL(MSG_FIL_DATA_S), EC_XWORD(size));
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin dbg_print(lml, MSG_INTL(MSG_FIL_DATA_LL), lmid, EC_XWORD(lmco));
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinDbg_file_elf(Lm_list *lml, const char *name, ulong_t dynamic, ulong_t base,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ulong_t size, ulong_t entry, const char *lmid, Aliste lmco)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin const char *str;
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin dbg_print(lml, MSG_INTL(MSG_FIL_DATA_DB), EC_XWORD(dynamic),
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin dbg_print(lml, MSG_INTL(MSG_FIL_DATA_SE), EC_XWORD(size),
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin dbg_print(lml, MSG_INTL(MSG_FIL_DATA_LL), lmid, EC_XWORD(lmco));
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinDbg_file_ldso(Rt_map *lmp, char **envp, auxv_t *auxv, const char *lmid,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin dbg_print(lml, MSG_INTL(MSG_FIL_DATA_DB), EC_NATPTR(DYN(lmp)),
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin dbg_print(lml, MSG_INTL(MSG_FIL_DATA_EA), EC_NATPTR(envp),
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin dbg_print(lml, MSG_INTL(MSG_FIL_DATA_LL), lmid, EC_XWORD(lmco));
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin dbg_print(lml, MSG_INTL(MSG_FIL_PROT), NAME(lmp), (prot ? '+' : '-'));
static int hdl_title = 0;
if (DBG_NOTDETAIL())
hdl_str = 0;
hdl_title = 0;
const char *str;
if (DBG_NOTDETAIL())
if (hdl_title) {
hdl_title = 0;
if (name)
if (DBG_NOTDETAIL())
if (hdl_title) {
if (hdl_str) {
const char *name;
hdl_title = 0;
if (DBG_NOTDETAIL())
const char *str;
int next = 0;
if (DBG_NOTDETAIL())
FLG_RT_INITCLCT) == 0)
if (next++)
&bnd_type_buf));
const char *str;
int config)
if (config)
if (audit) {
if (filter)
filter);
int fd;
if (DBG_NOTDETAIL())
ofile++;
const char *str;
case DBG_CONF_IGNORE:
case DBG_CONF_VERSION:
case DBG_CONF_PRCFAIL:
case DBG_CONF_CORRUPT:
case DBG_CONF_ABIMISMATCH:
const char *config)
if (file) {
if (DBG_NOTDETAIL())
const char *str;
if (again)
static const Msg
reject[] = {
const char *str;
if (DBG_NOTDETAIL())
if (nelf == 0)