xref: /illumos-gate/usr/src/cmd/sgs/librtld_db/common/librtld_db.msg (revision 60405de4d8688d96dd05157c28db3ade5c9bc234)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27
28# Message file for cmd/sgs/librtld_db.
29
30@ MSG_ID_LIBRTLD_DB
31
32# There presently seem little point in internationalizing these messages
33# as they provide debugging information for dbx developers and shouldn't
34# be see by anyone else.
35
36@ _END_
37
38# Basic strings
39
40@ MSG_DB_NOLDDATA	"rtld_db: rr: no LDDATA found in aux vector - \
41			 falling back to symbol lookup"
42@ MSG_DB_FLDDATA	"rtld_db: rl: found LDDATA auxv ld.so.1 data seg \
43			 at: 0x%p"
44@ MSG_DB_SYMRDEBUG	"rtld_db: rr: found ld.so.1::rdebug address: 0x%llx"
45@ MSG_DB_LOOKFAIL	"rtld_db: rr: lookup of %s failed"
46@ MSG_DB_NOAUXV		"rtld_db: rr: call to ps_pauxv() failed"
47@ MSG_DB_DMLOOKFAIL	"rtld_db: rr: lookup of data model failed"
48@ MSG_DB_NODYNAMIC	"rtld_db: rr: unable to find _DYNAMIC in exec"
49@ MSG_DB_INITFAILED	"rtld_db: rr: can't find r_debug, rtld_db init failed"
50@ MSG_DB_RESETFAIL	"rtld_db: rn: rd_reset failed"
51@ MSG_DB_LKMAPFAIL	"rtld_db: im: failed in reading link_maps"
52@ MSG_DB_CALLBACKR0	"rtld_db: im: itermap() callback returned 0 - \
53			 terminating link-map traversal"
54@ MSG_DB_ITERMAP	"rtld_db: im: itermap_cb(cb=0x%p, data=0x%p,\n\
55			 rtld_db: im:      objbase=0x%llx, ident=0x%llx)"
56@ MSG_DB_READDBGFAIL_1	"rtld_db: rli: failed to read rtld_db_priv: 0x%llx"
57@ MSG_DB_READDBGFAIL_2	"rtld_db: reg: failed to read rdebug: 0x%llx"
58@ MSG_DB_READDBGFAIL_3	"rtld_db: rli: failed to read dynlm_list: 0x%llx"
59@ MSG_DB_READDBGFAIL_4	"rtld_db: rli: failed to read listnode: 0x%llx"
60@ MSG_DB_READDBGFAIL_5	"rtld_db: rli: failed to read listnode.data: 0x%llx"
61@ MSG_DB_READPRIVFAIL_1	"rtld_db: rr: fail to read rtld_db_priv: 0x%llx"
62@ MSG_DB_BADPVERS	"rtld_db: ve: rtld vs. rtld_db version mismatch: \
63			 %d != %d"
64@ MSG_DB_VALIDRDEBUG	"rtld_db: ve: found valid r_debug structure. \
65			 Addr: 0x%llx\n\
66			 rtld_db: ve:	rtld_dbVers: %d rtldVers: %d \
67			 Corefile: %d"
68@ MSG_DB_LKMAPNOINIT	"rtld_db: rli: link maps are not yet initialized: \
69			 rtd_dynlmlst: 0x%llx"
70@ MSG_DB_LKMAPNOINIT_1	"rtld_db: rli: dynlm_list is not yet initialized: \
71			 dynlm_list.head: 0x%llx"
72@ MSG_DB_NULLITER	"rtld_db: rli: called with null iterator"
73@ MSG_DB_UNEXPEVENT	"rtld_db: rea: unexpected event num: %d"
74@ MSG_DB_READFAIL_1	"rtld_db: vr: read of 0x%llx failed"
75@ MSG_DB_READFAIL_2	"rtld_db: rpr: read of 0x%llx failed"
76@ MSG_DB_READFAIL_3	"rtld_db: roe: read of 0x%llx failed"
77@ MSG_DB_READFAIL_4	"rtld_db: fde: read of 0x%llx failed"
78@ MSG_DB_WRITEFAIL_1	"rtld_db: ree: write of 0x%llx failed"
79@ MSG_DB_WRITEFAIL_2	"rtld_db: roe: write of 0x%llx failed"
80@ MSG_DB_UNFNDSYM	"rtld_db: rbea: unable to find sym: %s"
81@ MSG_DB_NODYNDEBUG	"rtld_db: fde: no %lld found in .dynamic"
82@ MSG_DB_FINDDYNAMIC	"rtld_db: fde: DYNAMIC entry found tag: %d found. \
83			 val: 0x%llx"
84@ MSG_DB_HELPER_PREFIX	"/usr/lib/brand/"
85
86
87
88# Diagnostic messages
89
90@ MSG_DB_LOGENABLE	"rtld_db: logging enabled!"
91@ MSG_DB_RDINIT		"rtld_db: rd_init(%d)"
92@ MSG_DB_RDNEW		"rtld_db: rd_new(0x%p)"
93@ MSG_DB_RDDELETE	"rtld_db: rd_delete(0x%p)"
94@ MSG_DB_LOADOBJITER	"rtld_db: rd_loadobj_iter32(dmodel=%d, cb=0x%p, \
95			 d=0x%p)"
96@ MSG_DB_RDEVENTADDR	"rtld_db: rd_event_addr(event=%d, addr=0x%llx)"
97@ MSG_DB_RDRESET	"rtld_db: rd_reset(dmodel=%d)"
98@ MSG_DB_RDEVENTENABLE	"rtld_db: rd_event_enable(dmodel=%d, onoff=%d)"
99@ MSG_DB_RDEVENTGETMSG	"rtld_db: rd_event_getmsg(dmodel=%d, type=%d, \
100			 state=%d)"
101@ MSG_DB_RDOBJPADE	"rtld_db: rd_objpad_enable(padsize=0x%llx)"
102@ MSG_DB_64BIT_PREFIX	"64/";
103@ MSG_DB_BRAND_HELPERPATH_PREFIX "%s/%s/%s/%s%s_librtld_db.so.1"
104@ MSG_DB_BRAND_HELPERPATH "%s/%s/%s%s_librtld_db.so.1"
105@ MSG_DB_HELPERNOOPS	"rtld_db: helper lib loaded but ops not preset"
106@ MSG_DB_HELPERLOADED	"rtld_db: helper library loaded for brand \"%s\""
107@ MSG_DB_HELPERLOADFAILED "rtld_db: couldn't load brand helper library %s"
108@ MSG_DB_HELPERINITFAILED "rtld_db: brand helper library initialization failed"
109
110@ MSG_ER_OK		"no error"
111@ MSG_ER_ERR		"generic rtld_db.so error"
112@ MSG_ER_DBERR		"debugger service failed"
113@ MSG_ER_NOCAPAB	"capability not available"
114@ MSG_ER_NODYNAM	"couldn't find '_DYNAMIC'"
115@ MSG_ER_NOBASE		"couldn't find auxv tag 'AT_BASE'"
116@ MSG_ER_NOMAPS		"link-maps are not initialized"
117@ MSG_ER_DEFAULT	"unknown rtld_db.so error code"
118
119@ MSG_SYM_DEBUG		"r_debug"
120@ MSG_SYM_PREINIT	"rtld_db_preinit"
121@ MSG_SYM_POSTINIT	"rtld_db_postinit"
122@ MSG_SYM_DLACT		"rtld_db_dlactivity"
123@ MSG_SYM_RTBIND	"elf_rtbndr"
124@ MSG_SYM_DYNAMIC	"_DYNAMIC"
125@ MSG_SYM_BRANDOPS	"rtld_db_brand_ops"
126