xref: /illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/rtld.msg (revision 7247f8883be6bcac5fe4735b6f87f873387dbbef)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
510a4fa49Srie# Common Development and Distribution License (the "License").
610a4fa49Srie# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
2110a4fa49Srie
2210a4fa49Srie#
239a411307Srie# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
2410a4fa49Srie# Use is subject to license terms.
2510a4fa49Srie#
267c478bd9Sstevel@tonic-gate# pragma ident	"%Z%%M%	%I%	%E% SMI"
277c478bd9Sstevel@tonic-gate#
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate@ _START_
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate@ _END_
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate#
347c478bd9Sstevel@tonic-gate# Misc. Strings
357c478bd9Sstevel@tonic-gate#
367c478bd9Sstevel@tonic-gate@ MSG_STR_NAME		"NAME"
377c478bd9Sstevel@tonic-gate@ MSG_STR_PATHNAME	"PATHNAME"
387c478bd9Sstevel@tonic-gate@ MSG_STR_REFNAME	"REFNAME"
397c478bd9Sstevel@tonic-gate@ MSG_STR_RPATH		"RPATH"
407c478bd9Sstevel@tonic-gate@ MSG_STR_DASHES	"----------------------------------------------\n"
417c478bd9Sstevel@tonic-gate@ MSG_STR_LDSO1		"ld.so.1"
427c478bd9Sstevel@tonic-gate@ MSG_STR_DYNLMLIST	"dynlm_list"
437c478bd9Sstevel@tonic-gate@ MSG_STR_ALIST		"Alist"
447c478bd9Sstevel@tonic-gate@ MSG_STR_LISTNODE	"Listnode"
457c478bd9Sstevel@tonic-gate@ MSG_STR_EMPTY		""
467c478bd9Sstevel@tonic-gate@ MSG_STR_ORPHANED	"<orphaned>"
477c478bd9Sstevel@tonic-gate@ MSG_STR_SETENV	"setenv"
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gate#
507c478bd9Sstevel@tonic-gate# mdb_dcmd_t.dc_usage's
517c478bd9Sstevel@tonic-gate#
527c478bd9Sstevel@tonic-gate@ MSG_USG_ADDREQ	":"			# Address required
537c478bd9Sstevel@tonic-gate@ MSG_USG_ADDREQ_V	":[-v]"			# Address required plus -v
547c478bd9Sstevel@tonic-gate@ MSG_USG_ADDOPT_V	"?[-v]"			# Address optional plus -v
557c478bd9Sstevel@tonic-gate@ MSG_USG_SETENV	"name[=value]"		# Setenv argument
567c478bd9Sstevel@tonic-gate
577c478bd9Sstevel@tonic-gate#
587c478bd9Sstevel@tonic-gate# mdb_walker.walk_descr's
597c478bd9Sstevel@tonic-gate#
607c478bd9Sstevel@tonic-gate@ MSG_WWD_RTMAP		"Walk a List of Rt_maps"
617c478bd9Sstevel@tonic-gate@ MSG_WWD_LIST		"Walk a List"
627c478bd9Sstevel@tonic-gate
637c478bd9Sstevel@tonic-gate#
647c478bd9Sstevel@tonic-gate# Flag Strings
657c478bd9Sstevel@tonic-gate#
669a411307Srie@ MSG_FLG_ISMAIN	"IS-MAIN"
679a411307Srie@ MSG_FLG_IMGALLOC	"IMAGE-ALLOCATED"
687c478bd9Sstevel@tonic-gate@ MSG_FLG_RELOCED	"RELOCED"
699a411307Srie@ MSG_FLG_SETGROUP	"SET-GROUP"
707c478bd9Sstevel@tonic-gate@ MSG_FLG_HWCAP		"HWCAP"
717c478bd9Sstevel@tonic-gate@ MSG_FLG_OBJECT	"OBJECT"
727c478bd9Sstevel@tonic-gate@ MSG_FLG_NODUMP	"NODUMP"
737c478bd9Sstevel@tonic-gate@ MSG_FLG_DELETE	"DELETE"
747c478bd9Sstevel@tonic-gate@ MSG_FLG_ANALYZED	"ANALYZED"
759a411307Srie@ MSG_FLG_INITDONE	"INIT-DONE"
767c478bd9Sstevel@tonic-gate@ MSG_FLG_TRANS		"TRANS"
777c478bd9Sstevel@tonic-gate@ MSG_FLG_FIXED		"FIXED"
787c478bd9Sstevel@tonic-gate@ MSG_FLG_PRELOAD	"PRELOAD"
799a411307Srie@ MSG_FLG_ALTER		"ALTERNATE"
809a411307Srie@ MSG_FLG_LOADFLTR	"LOAD-FILTERS"
817c478bd9Sstevel@tonic-gate@ MSG_FLG_AUDIT		"AUDIT"
829a411307Srie@ MSG_FLG_MODESET	"MODE-SET"
837c478bd9Sstevel@tonic-gate@ MSG_FLG_ANALZING	"ANALYZING"
849a411307Srie@ MSG_FLG_INITFRST	"INIT-FIRST"
859a411307Srie@ MSG_FLG_NOOPEN	"NO-OPEN"
869a411307Srie@ MSG_FLG_FINICLCT	"FINI-COLLECTED"
879a411307Srie@ MSG_FLG_INITCALL	"INIT-CALLED"
887c478bd9Sstevel@tonic-gate@ MSG_FLG_SUNWBSS	"SUNWBSS"
899a411307Srie@ MSG_FLG_OBJINTPO	"OBJECT-INTERPOSE"
909a411307Srie@ MSG_FLG_SYMINTPO	"SYMBOL-INTERPOSE"
917c478bd9Sstevel@tonic-gate@ MSG_FLG_MOVE		"MOVE"
927c478bd9Sstevel@tonic-gate@ MSG_FLG_DLSYM		"DLSYM"
939a411307Srie@ MSG_FLG_REGSYMS	"REGISTER-SYMS"
949a411307Srie@ MSG_FLG_INITCLCT	"INIT-COLLECTED"
957c478bd9Sstevel@tonic-gate@ MSG_FLG_HANDLE	"HANDLE"
967c478bd9Sstevel@tonic-gate@ MSG_FLG_RELOCING	"RELOCATING"
977c478bd9Sstevel@tonic-gate
987c478bd9Sstevel@tonic-gate@ MSG_FL1_COPYTOOK	"COPYTOOK"
997c478bd9Sstevel@tonic-gate@ MSG_FL1_RELATIVE	"RELATIVE"
1007c478bd9Sstevel@tonic-gate@ MSG_FL1_CONFSET	"CONFSET"
1019a411307Srie@ MSG_FL1_NODEFLIB	"NO-DEFAULT-LIBPATH"
1029a411307Srie@ MSG_FL1_ENDFILTE	"END-FILTEE"
1039a411307Srie@ MSG_FL1_DISPREL	"DISPLACEMENT-RELOCATED"
1049a411307Srie@ MSG_FL1_TEXTREL	"TEXT-RELOCATED"
1059a411307Srie@ MSG_FL1_INITWAIT	"INIT-WAIT"
1067c478bd9Sstevel@tonic-gate@ MSG_FL1_LDDSTUB	"LDDSTUB"
1079a411307Srie@ MSG_FL1_NOINIFIN	"NO-INITFINI"
1087c478bd9Sstevel@tonic-gate@ MSG_FL1_USED		"USED"
1097c478bd9Sstevel@tonic-gate@ MSG_FL1_SYMBOLIC	"SYMBOLIC"
1109a411307Srie@ MSG_FL1_OBJSFLTR	"OBJ-STD-FILTER"
1119a411307Srie@ MSG_FL1_OBJAFLTR	"OBJ-AUX-FILTER"
1129a411307Srie@ MSG_FL1_SYMSFLTR	"SYM-STD-FILTER"
1139a411307Srie@ MSG_FL1_SYMAFLTR	"SYM-AUX-FILTER"
1149a411307Srie@ MSG_FL1_TLSADD	"TLS-ADD"
1159a411307Srie@ MSG_FL1_TLSSTAT	"TLS-STAT"
1169a411307Srie@ MSG_FL1_DIRECT	"DIRECT"
117*7247f888Srie@ MSG_FL1_GLOBAUD	"GLOBAL-AUDITING"
1187c478bd9Sstevel@tonic-gate
1197c478bd9Sstevel@tonic-gate@ MSG_MODE_LAZY		"LAZY"
1207c478bd9Sstevel@tonic-gate@ MSG_MODE_NOW		"NOW"
1217c478bd9Sstevel@tonic-gate@ MSG_MODE_NOLOAD	"NOLOAD"
1227c478bd9Sstevel@tonic-gate@ MSG_MODE_GLOBAL	"GLOBAL"
1237c478bd9Sstevel@tonic-gate@ MSG_MODE_PARENT	"PARENT"
1247c478bd9Sstevel@tonic-gate@ MSG_MODE_GROUP	"GROUP"
1257c478bd9Sstevel@tonic-gate@ MSG_MODE_WORLD	"WORLD"
1267c478bd9Sstevel@tonic-gate@ MSG_MODE_NODELETE	"NODELETE"
1277c478bd9Sstevel@tonic-gate@ MSG_MODE_FIRST	"FIRST"
1287c478bd9Sstevel@tonic-gate@ MSG_MODE_CONFGEN	"CONFGEN"
1297c478bd9Sstevel@tonic-gate
1307c478bd9Sstevel@tonic-gate@ MSG_BFL_NEEDED	"NEEDED"
1317c478bd9Sstevel@tonic-gate@ MSG_BFL_REFER		"REFERENCED"
132dffec89cSrie@ MSG_BFL_FILTER	"FILTER"
1337c478bd9Sstevel@tonic-gate
1347c478bd9Sstevel@tonic-gate@ MSG_GPH_ZERO		"ZERO"
1357c478bd9Sstevel@tonic-gate@ MSG_GPH_LDSO		"LD.SO.1"
1367c478bd9Sstevel@tonic-gate@ MSG_GPH_FIRST		"FIRST-ONLY"
1377c478bd9Sstevel@tonic-gate@ MSG_GPH_PARENT	"PARENT-REQUIRED"
1387c478bd9Sstevel@tonic-gate@ MSG_GPH_FILTEE	"FILTEE"
1397c478bd9Sstevel@tonic-gate@ MSG_GPH_INITIAL	"INITIALIZED"
1402926dd2eSrie@ MSG_GPH_NOPENDLAZY	"NO-PENDING-LAZY-DEPENDENCIES"
1417c478bd9Sstevel@tonic-gate
1427c478bd9Sstevel@tonic-gate@ MSG_GPD_AVAIL		"AVAIL-TO-DLSYM"
1437c478bd9Sstevel@tonic-gate@ MSG_GPD_ADDEPS	"ADD-DEPENDENCIES"
1447c478bd9Sstevel@tonic-gate@ MSG_GPD_PARENT	"PARENT"
1457c478bd9Sstevel@tonic-gate@ MSG_GPD_FILTER	"FILTER"
1467c478bd9Sstevel@tonic-gate@ MSG_GPD_REMOVE	"REMOVAL-CANDIDATE"
1477c478bd9Sstevel@tonic-gate
1487c478bd9Sstevel@tonic-gate@ MSG_LFL_BASELM	"BASELM"
1497c478bd9Sstevel@tonic-gate@ MSG_LFL_RTLDLM	"RTLDLM"
1502926dd2eSrie@ MSG_LFL_NOAUDIT	"NO-AUDIT"
1512926dd2eSrie@ MSG_LFL_PLTREL	"DEFERRED-PLT-RELOCATION"
1522926dd2eSrie@ MSG_LFL_HOLDLOCK	"HOLD-LOCK"
1537c478bd9Sstevel@tonic-gate@ MSG_LFL_ENVIRON	"ENVIRON"
1542926dd2eSrie@ MSG_LFL_INTRPOSE	"INTERPOSE"
1552926dd2eSrie@ MSG_LFL_LOCAUDIT	"LOCAL-AUDIT"
1562926dd2eSrie@ MSG_LFL_LOADAVAIL	"LOAD-AVAILABLE"
1572926dd2eSrie@ MSG_LFL_IGNRELERR	"IGNORE-RELOCATION-ERROR"
1582926dd2eSrie@ MSG_LFL_DBNOTIF	"DBG-NOTIFY"
1592926dd2eSrie@ MSG_LFL_STARTREL	"START-RELOCATION"
160dffec89cSrie@ MSG_LFL_ATEXIT	"ATEXIT"
1612926dd2eSrie@ MSG_LFL_OBJADDED	"OBJECT-ADDED"
1622926dd2eSrie@ MSG_LFL_OBJDELETED	"OBJECT-DELETED"
1632926dd2eSrie@ MSG_LFL_OBJREEVAL	"OBJECT-REEVALUATE"
1642926dd2eSrie@ MSG_LFL_NOPENDGLBLAZY	"NO-PENDING-GLOBAL-LAZY-DEPENDENCY"
1657c478bd9Sstevel@tonic-gate
1667c478bd9Sstevel@tonic-gate@ MSG_LFL_TRC_LDDSTUB	"TRC_LDDSTUB"
1677c478bd9Sstevel@tonic-gate@ MSG_LFL_TRC_ENABLE	"TRC_ENABLE"
1687c478bd9Sstevel@tonic-gate@ MSG_LFL_TRC_WARN	"TRC_WARN"
1697c478bd9Sstevel@tonic-gate@ MSG_LFL_TRC_VERBOSE	"TRC_VERBOSE"
1707c478bd9Sstevel@tonic-gate@ MSG_LFL_TRC_SEARCH	"TRC_SEARCH"
1717c478bd9Sstevel@tonic-gate@ MSG_LFL_TRC_UNREF	"TRC_UNREF"
1727c478bd9Sstevel@tonic-gate@ MSG_LFL_TRC_UNUSED	"TRC_UNUSED"
1737c478bd9Sstevel@tonic-gate@ MSG_LFL_TRC_INIT	"TRC_INIT"
1747c478bd9Sstevel@tonic-gate
1757c478bd9Sstevel@tonic-gate@ MSG_LTFL_NOLAZYLD	"NOLAZYLD"
1767c478bd9Sstevel@tonic-gate@ MSG_LTFL_NODIRECT	"NODIRECT"
1777c478bd9Sstevel@tonic-gate@ MSG_LTFL_LOADFLTR	"LOADFLTR"
1787c478bd9Sstevel@tonic-gate
1797c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_PREINIT		"AUD_PREINIT"
1807c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_OBJSEARCH	"AUD_OBJSEARCH"
1817c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_OBJOPEN		"AUD_OBJOPEN"
1827c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_OBJFILTER	"AUD_OBJFILTER"
1837c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_OBJCLOSE		"AUD_OBJCLOSE"
1847c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_SYMBIND		"AUD_SYMBIND"
1857c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_PLTENTER		"AUD_PLTENTER"
1867c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_PLTEXIT		"AUD_PLTEXIT"
1877c478bd9Sstevel@tonic-gate@ MSG_LTFL_AUD_ACTIVITY		"AUD_ACTIVITY"
1887c478bd9Sstevel@tonic-gate
1897c478bd9Sstevel@tonic-gate@ MSG_LMC_ANALYZING		"ANALYZING"
1907c478bd9Sstevel@tonic-gate@ MSG_LMC_RELOCATING		"RELOCATING"
1917c478bd9Sstevel@tonic-gate@ MSG_LMC_REANALYZE		"REANALYZE"
1927c478bd9Sstevel@tonic-gate
1937c478bd9Sstevel@tonic-gate#
1947c478bd9Sstevel@tonic-gate# Error messages
1957c478bd9Sstevel@tonic-gate#
1967c478bd9Sstevel@tonic-gate@ MSG_ERR_NAS		"%s:: no address specified\n"
1977c478bd9Sstevel@tonic-gate@ MSG_ERR_READ		"%s:: failed to read from: 0x%p\n"
1987c478bd9Sstevel@tonic-gate@ MSG_ERR_SYMFAILED	"rtmaps:: lookup of %s`%s failed\n"
1997c478bd9Sstevel@tonic-gate
2007c478bd9Sstevel@tonic-gate#
2017c478bd9Sstevel@tonic-gate# Various generic format strings
2027c478bd9Sstevel@tonic-gate#
2037c478bd9Sstevel@tonic-gate@ MSG_FMT_RT		"[0x%x]\t0x%0?p 0x%0?p %s\n"
2047c478bd9Sstevel@tonic-gate@ MSG_FMT_LN		"0x%0?p 0x%0?p 0x%0?p\n"
2057c478bd9Sstevel@tonic-gate
2067c478bd9Sstevel@tonic-gate#
2077c478bd9Sstevel@tonic-gate# Elf header messages.
2087c478bd9Sstevel@tonic-gate#
2097c478bd9Sstevel@tonic-gate@ MSG_EHDR_STR		"ElfEhdr"
2107c478bd9Sstevel@tonic-gate
2117c478bd9Sstevel@tonic-gate@ MSG_EHDR_DCD		"Display Elf_Ehdr entry"
2127c478bd9Sstevel@tonic-gate
2137c478bd9Sstevel@tonic-gate@ MSG_EHDR_TITLE	"Elf Header located at: 0x%p\n"
2147c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE1	" ei_magic:    { 0x%x, %c, %c, %c }\n"
2157c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE2	" ei_class:    %-18s  ei_data:     %s\n"
2167c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE3	" e_machine:   %-18s  e_version:   %s\n"
2177c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE4	" e_type:      %s\n"
2187c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE5	" e_flags:     %s\n"
2197c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE6	" e_flags:     %18s\n"
2207c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE7	" e_entry:     %#18lx  e_ehsize:     %2d  \
2217c478bd9Sstevel@tonic-gate			  e_shstrndx:   %2d\n"
2227c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE8	" e_shoff:     %#18lx  e_shentsize:  %2d  \
2237c478bd9Sstevel@tonic-gate			  e_shnum:      %2d\n"
2247c478bd9Sstevel@tonic-gate@ MSG_EHDR_LINE9	" e_phoff:     %#18lx  e_phentsize:  %2d  \
2257c478bd9Sstevel@tonic-gate			  e_phnum:      %2d\n"
2267c478bd9Sstevel@tonic-gate
2277c478bd9Sstevel@tonic-gate@ MSG_EHDR_HELP		"\
2287c478bd9Sstevel@tonic-gate   Decode an ELF Header (Elf_Ehdr) structure.\n\
2297c478bd9Sstevel@tonic-gate   \n\
2307c478bd9Sstevel@tonic-gate   Example:\n\n\
2317c478bd9Sstevel@tonic-gate   \t> 0x10000::ElfEhdr \n\
2327c478bd9Sstevel@tonic-gate   \tElf Header located at: 0x10000\n\
2337c478bd9Sstevel@tonic-gate   \t ei_magic:    { 0x7f, E, L, F }\n\
2347c478bd9Sstevel@tonic-gate   \t ei_class:    ELFCLASS32          ei_data:     ELFDATA2MSB\n\
2357c478bd9Sstevel@tonic-gate   \t e_machine:   EM_SPARC            e_version:   EV_CURRENT\n\
2367c478bd9Sstevel@tonic-gate   \t e_type:      ET_EXEC\n\
2377c478bd9Sstevel@tonic-gate   \t e_flags:                      0\n\
2387c478bd9Sstevel@tonic-gate   \t e_entry:                0x10640  e_ehsize:     52  e_shstrndx:   27\n\
2397c478bd9Sstevel@tonic-gate   \t e_shoff:                 0x1390  e_shentsize:  40  e_shnum:      29\n\
2407c478bd9Sstevel@tonic-gate   \t e_phoff:                   0x34  e_phentsize:  32  e_phnum:       5\n"
2417c478bd9Sstevel@tonic-gate
2427c478bd9Sstevel@tonic-gate#
2437c478bd9Sstevel@tonic-gate# Elf Program Header messages.
2447c478bd9Sstevel@tonic-gate#
2457c478bd9Sstevel@tonic-gate
2467c478bd9Sstevel@tonic-gate@ MSG_EPHDR_STR		"ElfPhdr"
2477c478bd9Sstevel@tonic-gate
2487c478bd9Sstevel@tonic-gate@ MSG_EPHDR_DCD		"Display Elf_Phdr entry"
2497c478bd9Sstevel@tonic-gate
2507c478bd9Sstevel@tonic-gate@ MSG_EPHDR_TITLE	"Program Header located at: 0x%p\n"
2517c478bd9Sstevel@tonic-gate@ MSG_EPHDR_LINE1	"    p_vaddr:      %#-14lx  p_flags:    %s\n"
2527c478bd9Sstevel@tonic-gate@ MSG_EPHDR_LINE2	"    p_paddr:      %#-14lx  p_type:     %s\n"
2537c478bd9Sstevel@tonic-gate@ MSG_EPHDR_LINE3	"    p_filesz:     %#-14lx  p_memsz:    %#lx\n"
2547c478bd9Sstevel@tonic-gate@ MSG_EPHDR_LINE4	"    p_offset:     %#-14lx  p_align:    %#lx\n"
2557c478bd9Sstevel@tonic-gate
2567c478bd9Sstevel@tonic-gate@ MSG_EPHDR_HELP	"\
2577c478bd9Sstevel@tonic-gate   Decode an ELF Program Header (Elf_Phdr) structure.\n\
2587c478bd9Sstevel@tonic-gate   \n\
2597c478bd9Sstevel@tonic-gate   Example 1 - a single entry:\n\n\
2607c478bd9Sstevel@tonic-gate   \t> 0x10000+0x34::ElfPhdr\n\
2617c478bd9Sstevel@tonic-gate   \tProgram Header located at: 0x10034\n\
2627c478bd9Sstevel@tonic-gate   \t    p_vaddr:      0x10034         p_flags:    [ PF_X  PF_R ]\n\
2637c478bd9Sstevel@tonic-gate   \t    p_paddr:      0               p_type:     [ PT_PHDR ]\n\
2647c478bd9Sstevel@tonic-gate   \t    p_filesz:     0xa0            p_memsz:    0xa0\n\
2657c478bd9Sstevel@tonic-gate   \t    p_offset:     0x34            p_align:    0\n\
2667c478bd9Sstevel@tonic-gate   \n\
2677c478bd9Sstevel@tonic-gate   Example 2 - multiple entries:\n\n\
2687c478bd9Sstevel@tonic-gate   \t> 0x10034,2::ElfPhdr\n\
2697c478bd9Sstevel@tonic-gate   \tProgram Header located at: 0x10034\n\
2707c478bd9Sstevel@tonic-gate   \t    p_vaddr:      0x10034         p_flags:    [ PF_X  PF_R ]\n\
2717c478bd9Sstevel@tonic-gate   \t    p_paddr:      0               p_type:     [ PT_PHDR ]\n\
2727c478bd9Sstevel@tonic-gate   \t    p_filesz:     0xa0            p_memsz:    0xa0\n\
2737c478bd9Sstevel@tonic-gate   \t    p_offset:     0x34            p_align:    0\n\
2747c478bd9Sstevel@tonic-gate   \tProgram Header located at: 0x10054\n\
2757c478bd9Sstevel@tonic-gate   \t    p_vaddr:      0               p_flags:    [ PF_R ]\n\
2767c478bd9Sstevel@tonic-gate   \t    p_paddr:      0               p_type:     [ PT_INTERP ]\n\
2777c478bd9Sstevel@tonic-gate   \t    p_filesz:     0x11            p_memsz:    0\n\
2787c478bd9Sstevel@tonic-gate   \t    p_offset:     0xd4            p_align:    0\n"
2797c478bd9Sstevel@tonic-gate
2807c478bd9Sstevel@tonic-gate
2817c478bd9Sstevel@tonic-gate#
2827c478bd9Sstevel@tonic-gate# Elf_Dyn messages.
2837c478bd9Sstevel@tonic-gate#
2847c478bd9Sstevel@tonic-gate
2857c478bd9Sstevel@tonic-gate@ MSG_ELFDYN_STR	"ElfDyn"
2867c478bd9Sstevel@tonic-gate
2877c478bd9Sstevel@tonic-gate@ MSG_ELFDYN_DCD	"Display Elf_Dyn entry"
2887c478bd9Sstevel@tonic-gate
2897c478bd9Sstevel@tonic-gate@ MSG_ELFDYN_TITLE	"Elf_Dyn located at: 0x%p\n"
2907c478bd9Sstevel@tonic-gate@ MSG_ELFDYN_LINE1	"    %a  %s\t  0x%0?p\n"
2917c478bd9Sstevel@tonic-gate
2927c478bd9Sstevel@tonic-gate@ MSG_ELFDYN_HELP	"\
2937c478bd9Sstevel@tonic-gate   Decode an ELF dynamic section (Elf_Dyn) entry.\n\
2947c478bd9Sstevel@tonic-gate   \n\
2957c478bd9Sstevel@tonic-gate   Example 1 - a single entry:\n\n\
2967c478bd9Sstevel@tonic-gate   \t> 0xff33a478::ElfDyn\n\
2977c478bd9Sstevel@tonic-gate   \tElf_Dyn located at: 0xff33a478\n\
2987c478bd9Sstevel@tonic-gate   \t    0xff33a478  NEEDED  0x00004013\n\
2997c478bd9Sstevel@tonic-gate   \n\
3007c478bd9Sstevel@tonic-gate   Example 2 - multiple entries:\n\n\
3017c478bd9Sstevel@tonic-gate   \t> 0xff33a478,4::ElfDyn\n\
3027c478bd9Sstevel@tonic-gate   \tElf_Dyn located at: 0xff33a478\n\
3037c478bd9Sstevel@tonic-gate   \t    0xff33a478  NEEDED  0x00004013\n\
3047c478bd9Sstevel@tonic-gate   \tElf_Dyn located at: 0xff33a480\n\
3057c478bd9Sstevel@tonic-gate   \t    0xff33a480  INIT    0x0009b484\n\
3067c478bd9Sstevel@tonic-gate   \tElf_Dyn located at: 0xff33a488\n\
3077c478bd9Sstevel@tonic-gate   \t    0xff33a488  FINI    0x0009b4dc\n\
3087c478bd9Sstevel@tonic-gate   \tElf_Dyn located at: 0xff33a490\n\
3097c478bd9Sstevel@tonic-gate   \t    0xff33a490  SONAME  0x00004009\n"
3107c478bd9Sstevel@tonic-gate
3117c478bd9Sstevel@tonic-gate
3127c478bd9Sstevel@tonic-gate#
3137c478bd9Sstevel@tonic-gate# List messages.
3147c478bd9Sstevel@tonic-gate#
3157c478bd9Sstevel@tonic-gate
3167c478bd9Sstevel@tonic-gate@ MSG_LIST_STR		"List"
3177c478bd9Sstevel@tonic-gate
3187c478bd9Sstevel@tonic-gate@ MSG_LIST_DCD		"Display entries in a List"
3197c478bd9Sstevel@tonic-gate
3207c478bd9Sstevel@tonic-gate@ MSG_LIST_TITLE	"Listnode   data       next\n"
3217c478bd9Sstevel@tonic-gate
3227c478bd9Sstevel@tonic-gate@ MSG_LIST_HELP		"\
3237c478bd9Sstevel@tonic-gate   Walk a List structure.  A list consists of a chain of Listnodes.  The head\n\
3247c478bd9Sstevel@tonic-gate   of a List points to the initial node, the tail of the list points to the\n\
3257c478bd9Sstevel@tonic-gate   final node.  A Listnode contains a pointer to a data item and a pointer to\n\
3267c478bd9Sstevel@tonic-gate   the next Listnode.\n\
3277c478bd9Sstevel@tonic-gate   \n\
3287c478bd9Sstevel@tonic-gate   Example:\n\n\
3297c478bd9Sstevel@tonic-gate   \t> ld.so.1`dynlm_list::List\n\
3307c478bd9Sstevel@tonic-gate   \tListnode   data       next\n\
3317c478bd9Sstevel@tonic-gate   \t---------------------------------------------\n\
3327c478bd9Sstevel@tonic-gate   \t0xff3b05ac 0xff3f60c8 0xff3b05c4\n\
3337c478bd9Sstevel@tonic-gate   \t0xff3b05c4 0xff3f60e8 0x00000000\n"
3347c478bd9Sstevel@tonic-gate
3357c478bd9Sstevel@tonic-gate#
3367c478bd9Sstevel@tonic-gate# Lm_list messages.
3377c478bd9Sstevel@tonic-gate#
3387c478bd9Sstevel@tonic-gate
3397c478bd9Sstevel@tonic-gate@ MSG_LMLIST_STR	"Lm_list"
3407c478bd9Sstevel@tonic-gate
3417c478bd9Sstevel@tonic-gate@ MSG_LMLIST_DCD	"Display Lm_list structure"
3427c478bd9Sstevel@tonic-gate
3437c478bd9Sstevel@tonic-gate@ MSG_LMLIST_BASE	"(LM_ID_BASE)"
3447c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LDSO	"(LM_ID_LDSO)"
3457c478bd9Sstevel@tonic-gate@ MSG_LMLIST_NEWLM	"(LM_ID_NEWLM)"
3467c478bd9Sstevel@tonic-gate
3477c478bd9Sstevel@tonic-gate@ MSG_LMLIST_TITLE1	"Link-map lists (%s): 0x%p\n";
3487c478bd9Sstevel@tonic-gate@ MSG_LMLIST_TITLE2	"Lm_list: 0x%p  %s\n"
3497c478bd9Sstevel@tonic-gate
3507c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LINE0	"   lists: 0x%0?p Alist[used %u: total %u]\n"
3517c478bd9Sstevel@tonic-gate
3527c478bd9Sstevel@tonic-gate@ MSG_LMC_LINE1		"Lm_cntl: 0x%p\n"
3537c478bd9Sstevel@tonic-gate@ MSG_LMC_LINE2		"   head: 0x%0?p\t      tail: 0x%0?p\n"
3547c478bd9Sstevel@tonic-gate@ MSG_LMC_LINE3		"  flags: 0x%08x\t       now: 0x%0?p\n"
3557c478bd9Sstevel@tonic-gate@ MSG_LMC_LINE4		"         [ %#b ]\n"
3567c478bd9Sstevel@tonic-gate
3577c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LINE1	"    head: 0x%0?p\t      tail: 0x%0?p\n"
35810a4fa49Srie@ MSG_LMLIST_LINE2	"   audit: 0x%0?p\t  rtldinfo: 0x%0?p\n"
3597c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LINE3	"  handle: 0x%0?p\t       obj: %4d  init: %4d  \
3607c478bd9Sstevel@tonic-gate			 lazy: %4d\n"
3617c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LINE4	"   flags: 0x%08x\n"
3627c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LINE5	"  tflags: 0x%08x\n"
3637c478bd9Sstevel@tonic-gate@ MSG_LMLIST_LINE6	"          [ %#b ]\n"
3647c478bd9Sstevel@tonic-gate
3657c478bd9Sstevel@tonic-gate@ MSG_LMLIST_HELP	"\
3667c478bd9Sstevel@tonic-gate   Display a link-map list header.  If no address is specified, the \
3677c478bd9Sstevel@tonic-gate   dynlm_list\nmaster link-map list is searched and all link-map headers \
3687c478bd9Sstevel@tonic-gate   displayed.\n\
3697c478bd9Sstevel@tonic-gate   \n\
3707c478bd9Sstevel@tonic-gate   A link-map list header points to a family of link-map control lists, \
3717c478bd9Sstevel@tonic-gate   together\nwith other state information. The initial control list represents \
3727c478bd9Sstevel@tonic-gate   those\nobjects that have been completely analyzed and relocated, and are \
3737c478bd9Sstevel@tonic-gate   presently in\nuse.  \
3747c478bd9Sstevel@tonic-gate   Additional control lists may exist as families of objects are processed\nin \
3757c478bd9Sstevel@tonic-gate   preparation for joining the main control list.  These families are created\n\
3767c478bd9Sstevel@tonic-gate   from events such as dlopen(3c), lazy loading, and filtee processing, once\n\
3777c478bd9Sstevel@tonic-gate   the initial process that started the application has been relocated.\n\
3787c478bd9Sstevel@tonic-gate   \n\
3797c478bd9Sstevel@tonic-gate   The -v option walks all link-map control lists displaying each member.\n\
3807c478bd9Sstevel@tonic-gate   \n\
3817c478bd9Sstevel@tonic-gate   Example 1 - a single, verbose entry, starting from a specified address:\n\n\
3827c478bd9Sstevel@tonic-gate   \n\
3837c478bd9Sstevel@tonic-gate   \t> 0xff3ee0f0::Lm_list -v\n\
3847c478bd9Sstevel@tonic-gate   \tLm_list: 0xff3ee0f0  (LM_ID_BASE)\n\
3857c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
3867c478bd9Sstevel@tonic-gate   \t   lists: 0xff3f0b00 Alist[used 1: total 4]\n\
3877c478bd9Sstevel@tonic-gate   \t  ----------------------------------------------\n\
3887c478bd9Sstevel@tonic-gate   \t    Lm_cntl: 0xff3f0b0c\n\
3897c478bd9Sstevel@tonic-gate   \t       head: 0xff3f0fdc      tail: 0xff3f13bc\n\
3907c478bd9Sstevel@tonic-gate   \t      flags: 0x00000000       now: 0x00000000\n\
3917c478bd9Sstevel@tonic-gate   \t             [ 0 ]\n\
3927c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
3937c478bd9Sstevel@tonic-gate   \t    lmco        rtmap       ADDR()     NAME()\n\
3947c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
3957c478bd9Sstevel@tonic-gate   \t    [0xc]       0xff3f0fdc 0x00010000 main\n\
3967c478bd9Sstevel@tonic-gate   \t    [0xc]       0xff3f13bc 0xff280000 /lib/libc.so.1\n\
3977c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
3987c478bd9Sstevel@tonic-gate   \t    head: 0xff3f0f84        tail: 0xff3f1794\n\
3997c478bd9Sstevel@tonic-gate   \t   audit: 0x00000000     preexec: 0xff3f1794\n\
4007c478bd9Sstevel@tonic-gate   \t  handle: 0x00000000         obj:    3  init:    0  lazy:    0\n\
4017c478bd9Sstevel@tonic-gate   \t   flags: 0x00008041\n\
4027c478bd9Sstevel@tonic-gate   \t          [ BASELM,ENVIRON,STARTREL ]\n\
4037c478bd9Sstevel@tonic-gate   \t  tflags: 0x00000000\n\
4047c478bd9Sstevel@tonic-gate   \n\
4057c478bd9Sstevel@tonic-gate   Example 2 - all link-map headers:\n\n\
4067c478bd9Sstevel@tonic-gate   \t> ::Lm_list\n\
4077c478bd9Sstevel@tonic-gate   \tLink-map lists (dynlm_list): 0xffbfdbf8\n\
4087c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
4097c478bd9Sstevel@tonic-gate   \t  Lm_list: 0xff3ee0f0  (LM_ID_BASE)\n\
4107c478bd9Sstevel@tonic-gate   \t  ----------------------------------------------\n\
4117c478bd9Sstevel@tonic-gate   \t     lists: 0xff3f0b68 Alist[used 1: total 4]\n\
4127c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
4137c478bd9Sstevel@tonic-gate   \t      head: 0xff3f0f84        tail: 0xff3f1794\n\
4147c478bd9Sstevel@tonic-gate   \t     audit: 0x00000000     preexec: 0xff3f1794\n\
4157c478bd9Sstevel@tonic-gate   \t    handle: 0x00000000         obj:    3  init:    0  lazy:    0\n\
4167c478bd9Sstevel@tonic-gate   \t     flags: 0x00008041\n\
4177c478bd9Sstevel@tonic-gate   \t            [ BASELM,ENVIRON,STARTREL ]\n\
4187c478bd9Sstevel@tonic-gate   \t    tflags: 0x00000000\n\
4197c478bd9Sstevel@tonic-gate   \t  ----------------------------------------------\n\
4207c478bd9Sstevel@tonic-gate   \t  Lm_list: 0xff3ee134  (LM_ID_LDSO)\n\
4217c478bd9Sstevel@tonic-gate   \t  ----------------------------------------------\n\
4227c478bd9Sstevel@tonic-gate   \t     lists: 0xff3f0ba4 Alist[used 1: total 4]\n\
4237c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
4247c478bd9Sstevel@tonic-gate   \t      head: 0xff3f0c20        tail: 0xff3f0c20\n\
4257c478bd9Sstevel@tonic-gate   \t     audit: 0x00000000     preexec: 0x00000000\n\
4267c478bd9Sstevel@tonic-gate   \t    handle: 0x00000000         obj:    0  init:    0  lazy:    0\n\
4277c478bd9Sstevel@tonic-gate   \t     flags: 0x00000006\n\
4287c478bd9Sstevel@tonic-gate   \t            [ RTLDLM,NOAUDIT ]\n\
4297c478bd9Sstevel@tonic-gate   \t    tflags: 0x00000000\n"
4307c478bd9Sstevel@tonic-gate
4317c478bd9Sstevel@tonic-gate#
4327c478bd9Sstevel@tonic-gate# Rt_maps messages.
4337c478bd9Sstevel@tonic-gate#
4347c478bd9Sstevel@tonic-gate
4357c478bd9Sstevel@tonic-gate@ MSG_RTMAPS_STR	"Rt_maps"
4367c478bd9Sstevel@tonic-gate
4377c478bd9Sstevel@tonic-gate@ MSG_RTMAPS_DCD	"Display list of Rt_map structures"
4387c478bd9Sstevel@tonic-gate
4397c478bd9Sstevel@tonic-gate@ MSG_RTMAPS_TITLE0	"lmco \trtmap       ADDR()     NAME()\n"
4407c478bd9Sstevel@tonic-gate
4417c478bd9Sstevel@tonic-gate@ MSG_RTMAPS_HELP "\
4427c478bd9Sstevel@tonic-gate   Walk a list of Rt_map's starting with a specified Rt_map entry.  If no\n\
4437c478bd9Sstevel@tonic-gate   address is specified, the dynlm_list master Rt_map list is searched and\n\
4447c478bd9Sstevel@tonic-gate   all objects listed.\n\
4457c478bd9Sstevel@tonic-gate   \n\
4467c478bd9Sstevel@tonic-gate   The -v option expands each Rt_map in detail.  See Rt_map.\n\
4477c478bd9Sstevel@tonic-gate   \n\
4487c478bd9Sstevel@tonic-gate   Example 1 - a single entry, starting from a specified address:\n\n\
4497c478bd9Sstevel@tonic-gate   \t> 0xff3b0214::Rt_maps\n\
4507c478bd9Sstevel@tonic-gate   \tlmco    rtmap      ADDR()     NAME()\n\
4517c478bd9Sstevel@tonic-gate   \t---------------------------------------------\n\
4527c478bd9Sstevel@tonic-gate   \t[0xc]   0xff3b0214 0x00010000 prog\n\
4537c478bd9Sstevel@tonic-gate   \t[0xc]   0xff3b065c 0xff3a0000 /lib/libdl.so.1\n\
4547c478bd9Sstevel@tonic-gate   \t[0xc]   0xff3b0a04 0xff280000 /lib/libc.so.1\n\
4557c478bd9Sstevel@tonic-gate   \n\
4567c478bd9Sstevel@tonic-gate   Example 2 - all Rt_map entries:\n\n\
4577c478bd9Sstevel@tonic-gate   \t> ::Rt_maps\n\
4587c478bd9Sstevel@tonic-gate   \tLink-map lists (dynlm_list): 0xffbfe080\n\
4597c478bd9Sstevel@tonic-gate   \t---------------------------------------------\n\
4607c478bd9Sstevel@tonic-gate   \t  Lm_list: 0xff3f60c8  (LM_ID_BASE)\n\
4617c478bd9Sstevel@tonic-gate   \t  ---------------------------------------------\n\
4627c478bd9Sstevel@tonic-gate   \t    lmco    rtmap      ADDR()     NAME()\n\
4637c478bd9Sstevel@tonic-gate   \t    ---------------------------------------------\n\
4647c478bd9Sstevel@tonic-gate   \t    [0xc]   0xff3b0214 0x00010000 prog\n\
4657c478bd9Sstevel@tonic-gate   \t    [0xc]   0xff3b065c 0xff3a0000 /lib/libdl.so.1\n\
4667c478bd9Sstevel@tonic-gate   \t    [0xc]   0xff3b0a04 0xff280000 /lib/libc.so.1\n\
4677c478bd9Sstevel@tonic-gate   \t  ---------------------------------------------\n\
4687c478bd9Sstevel@tonic-gate   \t  Lm_list: 0xff3f60e8  (LM_ID_LDSO)\n\
4697c478bd9Sstevel@tonic-gate   \t  ---------------------------------------------\n\
4707c478bd9Sstevel@tonic-gate   \t    lmco    rtmap      ADDR()     NAME()\n\
4717c478bd9Sstevel@tonic-gate   \t    ---------------------------------------------\n\
4727c478bd9Sstevel@tonic-gate   \t    [0xc]   0xff3f7cc0 0xff3c0000 /lib/ld.so.1\n"
4737c478bd9Sstevel@tonic-gate
4747c478bd9Sstevel@tonic-gate
4757c478bd9Sstevel@tonic-gate#
4767c478bd9Sstevel@tonic-gate# Rt_map messages.
4777c478bd9Sstevel@tonic-gate#
4787c478bd9Sstevel@tonic-gate
4797c478bd9Sstevel@tonic-gate@ MSG_RTMAP_STR		"Rt_map"
4807c478bd9Sstevel@tonic-gate
4817c478bd9Sstevel@tonic-gate@ MSG_RTMAP_DCD		"Display Rt_map structure"
4827c478bd9Sstevel@tonic-gate
4837c478bd9Sstevel@tonic-gate@ MSG_RTMAP_TITLE	"Rt_map located at: 0x%0?p\n"
4847c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE1	"     NAME: %s\n"
4857c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE2	" PATHNAME: %s\n"
4867c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE3	"     ADDR: 0x%0?p\t      DYN: 0x%0?p\n"
4877c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE4	"     NEXT: 0x%0?p\t     PREV: 0x%0?p\n"
4887c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE5	"      FCT: 0x%0?p\t TLSMODID:   %?ld\n"
4897c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE6	"     INIT: 0x%0?p\t     FINI: 0x%0?p\n"
4907c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE7	"   GROUPS: 0x%0?p\t  HANDLES: 0x%0?p\n"
4917c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE8	"  DEPENDS: 0x%0?p\t  CALLERS: 0x%0?p\n"
4927c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE9	"  DYNINFO: 0x%0?p\t  REFNAME: %s\n"
4937c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE10	"    RLIST: 0x%0?p\t    RPATH: %s\n"
4947c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE11	"     LIST: 0x%0?p [%a]\n"
4957c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE12	"    FLAGS: 0x%08x\n"
4967c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE13	"   FLAGS1: 0x%08x\n"
4977c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE14	"     MODE: 0x%08x\n"
4987c478bd9Sstevel@tonic-gate@ MSG_RTMAP_LINE20	"           [ %#b ]\n"
4997c478bd9Sstevel@tonic-gate
5007c478bd9Sstevel@tonic-gate@ MSG_RTMAP_HELP "\
5017c478bd9Sstevel@tonic-gate   Display the contents of selected fields of an Rt_map structure.\n\
5027c478bd9Sstevel@tonic-gate   \n\
5037c478bd9Sstevel@tonic-gate   Example:\n\n\
5047c478bd9Sstevel@tonic-gate   \t0xff3b0214::Rt_map\n\
5057c478bd9Sstevel@tonic-gate   \tRt_map located at: 0xff3b0214\n\
5067c478bd9Sstevel@tonic-gate   \t      NAME: prog\n\
5077c478bd9Sstevel@tonic-gate   \t  PATHNAME: /home/developer/bin/prog\n\
5087c478bd9Sstevel@tonic-gate   \t      ADDR: 0x00010000         DYN: 0x00020b1\n\
5097c478bd9Sstevel@tonic-gate   \t      NEXT: 0xff3b065c        PREV: 0x0000000\n\
5107c478bd9Sstevel@tonic-gate   \t       FCT: 0xff3f6080    TLSMODID:         0\n\
5117c478bd9Sstevel@tonic-gate   \t      INIT: 0x00010960        FINI: 0x000109b\n\
5127c478bd9Sstevel@tonic-gate   \t      .....\n"
5137c478bd9Sstevel@tonic-gate
5147c478bd9Sstevel@tonic-gate#
5157c478bd9Sstevel@tonic-gate# Bind messages.
5167c478bd9Sstevel@tonic-gate#
5177c478bd9Sstevel@tonic-gate
5187c478bd9Sstevel@tonic-gate@ MSG_BND_STR		"Bind"
5197c478bd9Sstevel@tonic-gate
5207c478bd9Sstevel@tonic-gate@ MSG_BND_DCD		"Display a Binding Descriptor"
5217c478bd9Sstevel@tonic-gate
5227c478bd9Sstevel@tonic-gate@ MSG_BND_TITLE		"Binding descriptor located at: 0x%0?p\n"
5237c478bd9Sstevel@tonic-gate@ MSG_BND_LINE1		"   caller: 0x%0?p    %s\n"
5247c478bd9Sstevel@tonic-gate@ MSG_BND_LINE2		"   depend: 0x%0?p    %s\n"
5257c478bd9Sstevel@tonic-gate@ MSG_BND_LINE3		"    flags: 0x%08x    [ %#b ]\n"
5267c478bd9Sstevel@tonic-gate
5277c478bd9Sstevel@tonic-gate@ MSG_BND_HELP		"\
5287c478bd9Sstevel@tonic-gate   Decode the binding descriptor specified by addr.\n\
5297c478bd9Sstevel@tonic-gate   \n\
5307c478bd9Sstevel@tonic-gate   Relationships between Rt_map objects are maintained by a binding dis-\n\
5317c478bd9Sstevel@tonic-gate   cripter.  The descriptor contains a pointer to the Rt_map of the caller,\n\
5327c478bd9Sstevel@tonic-gate   a pointer to the Rt_map of the dependency, and a flags field indicating\n\
5337c478bd9Sstevel@tonic-gate   the relationship between the two Rt_map objects.\n\
5347c478bd9Sstevel@tonic-gate   \n\
5357c478bd9Sstevel@tonic-gate   The -v option expands each Rt_map.\n\
5367c478bd9Sstevel@tonic-gate   \n\
5377c478bd9Sstevel@tonic-gate   Example:\n\n\
5387c478bd9Sstevel@tonic-gate   \t> 0xff3b0410::Bind\n\
5397c478bd9Sstevel@tonic-gate   \tBinding Descriptor located at: 0xff3b0410\n\
5407c478bd9Sstevel@tonic-gate   \t   caller: 0xff3b0030    main\n\
5417c478bd9Sstevel@tonic-gate   \t   depend: 0xff3b0460    /lib/libelf.so.1\n\
5427c478bd9Sstevel@tonic-gate   \t    flags: 0x00000001    [ NEEDED ]\n"
5437c478bd9Sstevel@tonic-gate
5447c478bd9Sstevel@tonic-gate
5457c478bd9Sstevel@tonic-gate#
5467c478bd9Sstevel@tonic-gate# Depends messages.
5477c478bd9Sstevel@tonic-gate#
5487c478bd9Sstevel@tonic-gate
5497c478bd9Sstevel@tonic-gate@ MSG_DEPENDS_STR	"Depends"
5507c478bd9Sstevel@tonic-gate
5517c478bd9Sstevel@tonic-gate@ MSG_DEPENDS_DCD	"Display Rt_map DEPENDS binding descriptors"
5527c478bd9Sstevel@tonic-gate
5537c478bd9Sstevel@tonic-gate@ MSG_DEPENDS_LINE1	"DEPENDS for %s\n"
5547c478bd9Sstevel@tonic-gate@ MSG_DEPENDS_LINE2	"  Depends: 0x%0?p Alist[used %u: total %u]\n"
5557c478bd9Sstevel@tonic-gate
5567c478bd9Sstevel@tonic-gate@ MSG_DEPENDS_HELP	"\
5577c478bd9Sstevel@tonic-gate   Display the binding descriptor list of DEPENDS() of the Rt_map\n\
5587c478bd9Sstevel@tonic-gate   specified by addr.  A DEPENDS() entry consists of an Alist\n\
5597c478bd9Sstevel@tonic-gate   defining each dependency.\n\
5607c478bd9Sstevel@tonic-gate   \n\
5617c478bd9Sstevel@tonic-gate   The -v option walks the Alist descriptor displaying each dependency.\n\
5627c478bd9Sstevel@tonic-gate   \n\
5637c478bd9Sstevel@tonic-gate   Example:\n\n\
5647c478bd9Sstevel@tonic-gate   \t> 0xff3b0554::Depends -v\n\
5657c478bd9Sstevel@tonic-gate   \tDEPENDS for /lib/libc.so.1\n\
5667c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
5677c478bd9Sstevel@tonic-gate   \t  Depends: 0xff3b0bc4 Alist[used 2: total 4]\n\
5687c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
5697c478bd9Sstevel@tonic-gate   \t    Binding descriptor located at: 0xff3b08f8\n\
5707c478bd9Sstevel@tonic-gate   \t       caller: 0xff3b0554    /lib/libc.so.1\n\
5717c478bd9Sstevel@tonic-gate   \t       depend: 0xff3b0938    /lib/libdl.so.1\n\
5727c478bd9Sstevel@tonic-gate   \t        flags: 0x00000003    [ NEEDED,REFERENCED ]\n\
5737c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
5747c478bd9Sstevel@tonic-gate   \t    Binding descriptor located at: 0xff3b07a8\n\
5757c478bd9Sstevel@tonic-gate   \t       caller: 0xff3b0554    /lib/libc.so.1\n\
5767c478bd9Sstevel@tonic-gate   \t       depend: 0xff3f7cc0    /lib/ld.so.1\n\
5777c478bd9Sstevel@tonic-gate   \t        flags: 0x00000002    [ REFERENCED ]\n"
5787c478bd9Sstevel@tonic-gate
5797c478bd9Sstevel@tonic-gate#
5807c478bd9Sstevel@tonic-gate# Callers messages.
5817c478bd9Sstevel@tonic-gate#
5827c478bd9Sstevel@tonic-gate
5837c478bd9Sstevel@tonic-gate@ MSG_CALLERS_STR	"Callers"
5847c478bd9Sstevel@tonic-gate
5857c478bd9Sstevel@tonic-gate@ MSG_CALLERS_DCD	"Display Rt_map CALLERS binding descriptors"
5867c478bd9Sstevel@tonic-gate
5877c478bd9Sstevel@tonic-gate@ MSG_CALLERS_LINE1	"CALLERS for %s\n"
5887c478bd9Sstevel@tonic-gate@ MSG_CALLERS_LINE2	"  Callers: 0x%0?p Alist[used %u: total %u]\n"
5897c478bd9Sstevel@tonic-gate
5907c478bd9Sstevel@tonic-gate@ MSG_CALLERS_HELP	"\
5917c478bd9Sstevel@tonic-gate   Display the binding descriptor list of CALLERS() of the Rt_map\n\
5927c478bd9Sstevel@tonic-gate   specified by addr.  A CALLERS() entry consists of an Alist\n\
5937c478bd9Sstevel@tonic-gate   defining each caller.\n\
5947c478bd9Sstevel@tonic-gate   \n\
5957c478bd9Sstevel@tonic-gate   The -v option walks the Alist descriptor displaying each caller.\n\
5967c478bd9Sstevel@tonic-gate   \n\
5977c478bd9Sstevel@tonic-gate   Example:\n\n\
5987c478bd9Sstevel@tonic-gate   \t> 0xff3b0554::Callers -v\n\
5997c478bd9Sstevel@tonic-gate   \tCALLERS for /lib/libc.so.1\n\
6007c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
6017c478bd9Sstevel@tonic-gate   \t  Callers: 0xff3b08cc Alist[used 1: total 4]\n\
6027c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
6037c478bd9Sstevel@tonic-gate   \t    Binding descriptor located at: 0xff3b0514\n\
6047c478bd9Sstevel@tonic-gate   \t       caller: 0xff3b0214    a.out\n\
6057c478bd9Sstevel@tonic-gate   \t       depend: 0xff3b0554    /lib/libc.so.1\n\
6067c478bd9Sstevel@tonic-gate   \t        flags: 0x00000003    [ NEEDED,REFERENCED ]\n"
6077c478bd9Sstevel@tonic-gate
6087c478bd9Sstevel@tonic-gate
6097c478bd9Sstevel@tonic-gate#
6107c478bd9Sstevel@tonic-gate# Handle messages.
6117c478bd9Sstevel@tonic-gate#
6127c478bd9Sstevel@tonic-gate
6137c478bd9Sstevel@tonic-gate@ MSG_HANDLES_STR	"Handles"
6147c478bd9Sstevel@tonic-gate
6157c478bd9Sstevel@tonic-gate@ MSG_HANDLES_DCD	"Display Rt_map HANDLES group descriptors"
6167c478bd9Sstevel@tonic-gate
6177c478bd9Sstevel@tonic-gate@ MSG_HANDLES_LINE1	"HANDLES for %s\n"
6187c478bd9Sstevel@tonic-gate@ MSG_HANDLES_LINE2	"  HANDLE: 0x%0?p Alist[used %u: total %u]\n"
6197c478bd9Sstevel@tonic-gate
6207c478bd9Sstevel@tonic-gate@ MSG_HANDLES_HELP	"\
6217c478bd9Sstevel@tonic-gate   Display the list of HANDLES() that the Rt_map, specified by addr, is the\n\
6227c478bd9Sstevel@tonic-gate   owner of.  A HANDLES() entry consists of an Alist of Grp_hdl descriptors.\n\
6237c478bd9Sstevel@tonic-gate   See GrpHdl.  Each Grp_hdl() consists of an Alist of Grp_desc descriptors\n\
6247c478bd9Sstevel@tonic-gate   that define each caller.  See GrpDesc.\n\
6257c478bd9Sstevel@tonic-gate   \n\
6267c478bd9Sstevel@tonic-gate   The -v option walks all Alists displaying each member of the handle.\n\
6277c478bd9Sstevel@tonic-gate   \n\
6287c478bd9Sstevel@tonic-gate   Example:\n\n\
6297c478bd9Sstevel@tonic-gate   \t> 0xff3b0f6c::Handles -v\n\
6307c478bd9Sstevel@tonic-gate   \tHANDLES for ./sub.so\n\
6317c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
6327c478bd9Sstevel@tonic-gate   \t  HANDLE: 0xff3b1310 Alist[used 1: total 1]\n\
6337c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
6347c478bd9Sstevel@tonic-gate   \t    Group Handle located at: 0xff3b1270\n\
6357c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
6367c478bd9Sstevel@tonic-gate   \t       owner:               ./sub.so\n\
6377c478bd9Sstevel@tonic-gate   \t       flags: 0x00000000    [ 0 ]\n\
6387c478bd9Sstevel@tonic-gate   \t      refcnt:          1    depends: 0xff3b12c8 Alist[used 3: total 4]\n\
6397c478bd9Sstevel@tonic-gate   \t       ----------------------------------------------\n\
6407c478bd9Sstevel@tonic-gate   \t       Group Descriptor located at: 0xff3b12d4\n\
6417c478bd9Sstevel@tonic-gate   \t          depend: 0xff3b0f6c    ./sub.so\n\
6427c478bd9Sstevel@tonic-gate   \t           flags: 0x00000003    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n\
6437c478bd9Sstevel@tonic-gate   \t       ----------------------------------------------\n\
6447c478bd9Sstevel@tonic-gate   \t       Group Descriptor located at: 0xff3b12dc\n\
6457c478bd9Sstevel@tonic-gate   \t          depend: 0xff3b0a04    /lib/libc.so.1\n\
6467c478bd9Sstevel@tonic-gate   \t           flags: 0x00000003    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n\
6477c478bd9Sstevel@tonic-gate   \t       ----------------------------------------------\n\
6487c478bd9Sstevel@tonic-gate   \t       Group Descriptor located at: 0xff3b12e4\n\
6497c478bd9Sstevel@tonic-gate   \t          depend: 0xff3b065c    /lib/libdl.so.1\n\
6507c478bd9Sstevel@tonic-gate   \t           flags: 0x00000003    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n"
6517c478bd9Sstevel@tonic-gate
6527c478bd9Sstevel@tonic-gate#
6537c478bd9Sstevel@tonic-gate# Group messages.
6547c478bd9Sstevel@tonic-gate#
6557c478bd9Sstevel@tonic-gate
6567c478bd9Sstevel@tonic-gate@ MSG_GROUPS_STR	"Groups"
6577c478bd9Sstevel@tonic-gate
6587c478bd9Sstevel@tonic-gate@ MSG_GROUPS_DCD	"Display Rt_map GROUPS group handles"
6597c478bd9Sstevel@tonic-gate
6607c478bd9Sstevel@tonic-gate@ MSG_GROUPS_LINE1	"GROUPS for %s\n"
6617c478bd9Sstevel@tonic-gate@ MSG_GROUPS_LINE2	"  Groups: 0x%0?p Alist[used %u: total %u]\n"
6627c478bd9Sstevel@tonic-gate
6637c478bd9Sstevel@tonic-gate@ MSG_GROUPS_HELP	"\
6647c478bd9Sstevel@tonic-gate   Display the list of GROUPS() that the Rt_map, specified by addr, is a \
6657c478bd9Sstevel@tonic-gate   member\nof.  A GROUPS() entry consists of an Alist of Grp_hdl entries.  \
6667c478bd9Sstevel@tonic-gate   See GrpHdl.\n\
6677c478bd9Sstevel@tonic-gate   \n\
6687c478bd9Sstevel@tonic-gate   The -v option walks the Alist descriptor displaying each member of the\n\
6697c478bd9Sstevel@tonic-gate   handle.\n\
6707c478bd9Sstevel@tonic-gate   \n\
6717c478bd9Sstevel@tonic-gate   Example:\n\n\
6727c478bd9Sstevel@tonic-gate   \t> 0xff3b0f6c::Groups -v\n\
6737c478bd9Sstevel@tonic-gate   \tGROUPS for ./sub.so\n\
6747c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
6757c478bd9Sstevel@tonic-gate   \t  Groups: 0xff3b12a8 Alist[used 1: total 1]\n\
6767c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
6777c478bd9Sstevel@tonic-gate   \t    Group Handle located at: 0xff3b1270\n\
6787c478bd9Sstevel@tonic-gate   \t    ----------------------------------------------\n\
6797c478bd9Sstevel@tonic-gate   \t        owner:               ./sub.so\n\
6807c478bd9Sstevel@tonic-gate   \t        flags: 0x00000000    [ 0 ]\n\
6817c478bd9Sstevel@tonic-gate   \t       refcnt:          1    depends: 0xff3b12c8 Alist[used 3: total 4]\n\
6827c478bd9Sstevel@tonic-gate   \t        ----------------------------------------------\n\
6837c478bd9Sstevel@tonic-gate   \t        Group Descriptor located at: 0xff3b12d4\n\
6847c478bd9Sstevel@tonic-gate   \t           depend: 0xff3b0f6c    ./sub.so\n\
6857c478bd9Sstevel@tonic-gate   \t            flags: 0x00000003    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n\
6867c478bd9Sstevel@tonic-gate   \t        ----------------------------------------------\n\
6877c478bd9Sstevel@tonic-gate   \t        Group Descriptor located at: 0xff3b12dc\n\
6887c478bd9Sstevel@tonic-gate   \t           depend: 0xff3b0a04    /lib/libc.so.1\n\
6897c478bd9Sstevel@tonic-gate   \t            flags: 0x00000004    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n\
6907c478bd9Sstevel@tonic-gate   \t        ----------------------------------------------\n\
6917c478bd9Sstevel@tonic-gate   \t        Group Descriptor located at: 0xff3b12e4\n\
6927c478bd9Sstevel@tonic-gate   \t           depend: 0xff3b065c    /lib/libdl.so.1\n\
6937c478bd9Sstevel@tonic-gate   \t            flags: 0x00000004    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n"
6947c478bd9Sstevel@tonic-gate
6957c478bd9Sstevel@tonic-gate
6967c478bd9Sstevel@tonic-gate#
6977c478bd9Sstevel@tonic-gate# Group handle and group descriptor messages.
6987c478bd9Sstevel@tonic-gate#
6997c478bd9Sstevel@tonic-gate
7007c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_STR	"GrpHdl"
7017c478bd9Sstevel@tonic-gate
7027c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_DCD	"Display a Group Handle"
7037c478bd9Sstevel@tonic-gate
7047c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_LINE1	"Group Handle located at: 0x%0?p\n"
7057c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_LINE2	"    owner:               %s\n"
7067c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_LINE3	"    flags: 0x%08x    [ %#b ]\n"
7077c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_LINE4	"   refcnt:   %8d    depends: 0\n"
7087c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_LINE5	"   refcnt:   %8d    depends: 0x%0?p \
7097c478bd9Sstevel@tonic-gate			 Alist[used %u: total %u]\n"
7107c478bd9Sstevel@tonic-gate
7117c478bd9Sstevel@tonic-gate@ MSG_GRPHDL_HELP	"\
7127c478bd9Sstevel@tonic-gate   Decode a group handle.  A successful dlopen() of an object returns a\n\
7137c478bd9Sstevel@tonic-gate   handle applicable for subsequent dlsym() requests.  The handle maintains\n\
7147c478bd9Sstevel@tonic-gate   a reference count, flags and a table of group descriptors that define the\n\
7157c478bd9Sstevel@tonic-gate   dependencies associated with this group of objects.\n\
7167c478bd9Sstevel@tonic-gate   \n\
7177c478bd9Sstevel@tonic-gate   The -v option expands each group descriptor.\n\
7187c478bd9Sstevel@tonic-gate   \n\
7197c478bd9Sstevel@tonic-gate   Example:\n\n\
7207c478bd9Sstevel@tonic-gate   \t> 0xff3a0c58::GrpHdl\n\
7217c478bd9Sstevel@tonic-gate   \tGroup Handle located at: 0xff3a0c58\n\
7227c478bd9Sstevel@tonic-gate   \t----------------------------------------------\n\
7237c478bd9Sstevel@tonic-gate   \t   refcnt:          1    main\n\
7247c478bd9Sstevel@tonic-gate   \t    flags: 0x00000001    [ DLOPEN-ZERO ]\n\
7257c478bd9Sstevel@tonic-gate   \t  depends: 0xff3a0c89 Alist[next 1: cnt 2]\n"
7267c478bd9Sstevel@tonic-gate
7277c478bd9Sstevel@tonic-gate
7287c478bd9Sstevel@tonic-gate
7297c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_STR	"GrpDesc"
7307c478bd9Sstevel@tonic-gate
7317c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_DCD	"Display a Group Descriptor"
7327c478bd9Sstevel@tonic-gate
7337c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_LINE1	"Group Descriptor located at: 0x%0?p\n"
7347c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_LINE2	"   depend: 0x%0?p    %s\n"
7357c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_LINE3	"    flags: 0x%08x    [ %#b ]\n"
7367c478bd9Sstevel@tonic-gate
7377c478bd9Sstevel@tonic-gate@ MSG_GRPDESC_HELP	"\
7387c478bd9Sstevel@tonic-gate   Decode a group descriptor.  A GrpHdl created by dlopen() maintains a\n\
7397c478bd9Sstevel@tonic-gate   list of group descriptors for each dependency.  See GrpHdl.\n\
7407c478bd9Sstevel@tonic-gate   \n\
7417c478bd9Sstevel@tonic-gate   Example\n\n\
7427c478bd9Sstevel@tonic-gate   \t> 0xff3b12d4::GrpDesc -v\n\
7437c478bd9Sstevel@tonic-gate   \tGroup Descriptor located at: 0xff3b12d4\n\
7447c478bd9Sstevel@tonic-gate   \t   depend: 0xff3b0f6c    ./sub.so\n\
7457c478bd9Sstevel@tonic-gate   \t    flags: 0x00000003    [ AVAIL-TO-DLSYM,ADD-DEPENDENCIES ]\n"
7467c478bd9Sstevel@tonic-gate
7477c478bd9Sstevel@tonic-gate
7487c478bd9Sstevel@tonic-gate@ MSG_BNDDESC_STR	"BndDesc"
7497c478bd9Sstevel@tonic-gate
7507c478bd9Sstevel@tonic-gate#
7517c478bd9Sstevel@tonic-gate# General purpose environment addition.
7527c478bd9Sstevel@tonic-gate#
7537c478bd9Sstevel@tonic-gate
7547c478bd9Sstevel@tonic-gate@ MSG_SETENV_STR	"Setenv"
7557c478bd9Sstevel@tonic-gate
7567c478bd9Sstevel@tonic-gate@ MSG_SETENV_DCD	"Set an environment variable"
7577c478bd9Sstevel@tonic-gate
7587c478bd9Sstevel@tonic-gate@ MSG_SETENV_HELP	"\
7597c478bd9Sstevel@tonic-gate   Set the associated environment variable.  This can be useful to establish\n\
7607c478bd9Sstevel@tonic-gate   runtime linker environment variables without affecting the debugger itself.\n\
7617c478bd9Sstevel@tonic-gate   \n\
7627c478bd9Sstevel@tonic-gate   Note, newer versions of mdb(1) provide setenv.  The mdb(1) implementation\n\
7637c478bd9Sstevel@tonic-gate   provides the ability to make environment changes at any point during\n\
7647c478bd9Sstevel@tonic-gate   application monitoring.  Where available, Setenv calls through to setenv.\n\
7657c478bd9Sstevel@tonic-gate   On older environments, Setenv only provides for changing the applications\n\
7667c478bd9Sstevel@tonic-gate   environment before it is invoked.\n\
7677c478bd9Sstevel@tonic-gate   \n\
7687c478bd9Sstevel@tonic-gate   Example\n\n\
7697c478bd9Sstevel@tonic-gate   \t> ::Setenv LD_DEBUG=files\n"
770