xref: /illumos-gate/usr/src/cmd/sgs/librtld_db/common/librtld_db.msg (revision 4eaa471005973e11a6110b69fe990530b3b95a38)
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 2009 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27# Message file for cmd/sgs/librtld_db.
28
29@ MSG_ID_LIBRTLD_DB
30
31# There presently seem little point in internationalizing these messages
32# as they provide debugging information for dbx developers and shouldn't
33# be see by anyone else.
34
35@ _END_
36
37# Basic strings
38
39@ MSG_DB_NOLDDATA	"rtld_db: rr: no LDDATA found in aux vector - \
40			 falling back to symbol lookup"
41@ MSG_DB_FLDDATA	"rtld_db: rl: found LDDATA auxv ld.so.1 data seg \
42			 at: 0x%p"
43@ MSG_DB_SYMRDEBUG	"rtld_db: rr: found ld.so.1::rdebug address: 0x%llx"
44@ MSG_DB_LOOKFAIL	"rtld_db: rr: lookup of %s failed"
45@ MSG_DB_NOAUXV		"rtld_db: rr: call to ps_pauxv() failed"
46@ MSG_DB_DMLOOKFAIL	"rtld_db: rr: lookup of data model failed"
47@ MSG_DB_NODYNAMIC	"rtld_db: rr: unable to find _DYNAMIC in exec"
48@ MSG_DB_INITFAILED	"rtld_db: rr: can't find r_debug, rtld_db init failed"
49@ MSG_DB_RESETFAIL	"rtld_db: rn: rd_reset failed"
50@ MSG_DB_LKMAPFAIL	"rtld_db: im: failed in reading link_maps"
51@ MSG_DB_CALLBACKR0	"rtld_db: im: itermap() callback returned 0 - \
52			 terminating link-map traversal"
53@ MSG_DB_ITERMAP	"rtld_db: im: itermap_cb(cb=0x%p, data=0x%p,\n\
54			 rtld_db: im:      objbase=0x%llx, ident=0x%llx)"
55@ MSG_DB_READDBGFAIL_1	"rtld_db: rli: failed to read rtld_db_priv: 0x%llx"
56@ MSG_DB_READDBGFAIL_2	"rtld_db: reg: failed to read rdebug: 0x%llx"
57@ MSG_DB_READDBGFAIL_3	"rtld_db: rli: failed to read rtd_dynlmlst: 0x%llx"
58@ MSG_DB_READDBGFAIL_4	"rtld_db: rli: failed to read dynlm_list: 0x%llx"
59@ MSG_DB_READDBGFAIL_5	"rtld_db: rli: failed to read dynlm_list->ap_data[]: \
60			 0x%llx"
61@ MSG_DB_READDBGFAIL_6	"rtld_db: rli: failed to read Lm_list: 0x%llx"
62@ MSG_DB_READPRIVFAIL_1	"rtld_db: rr: fail to read rtld_db_priv: 0x%llx"
63@ MSG_DB_BADPVERS	"rtld_db: ve: rtld vs. rtld_db version mismatch: \
64			 %d != %d"
65@ MSG_DB_VALIDRDEBUG	"rtld_db: ve: found valid r_debug structure. \
66			 Addr: 0x%llx\n\
67			 rtld_db: ve:	rtld_dbVers: %d rtldVers: %d \
68			 Corefile: %d"
69@ MSG_DB_LKMAPNOINIT	"rtld_db: rli: link maps are not yet initialized: \
70			 rtd_dynlmlst: 0x%llx"
71@ MSG_DB_LKMAPNOINIT_1	"rtld_db: rli: dynlm_list is not yet initialized: \
72			 dynlm_list: 0x%llx"
73@ MSG_DB_NULLITER	"rtld_db: rli: called with null iterator"
74@ MSG_DB_UNEXPEVENT	"rtld_db: rea: unexpected event num: %d"
75@ MSG_DB_READFAIL_1	"rtld_db: vr: read of 0x%llx failed"
76@ MSG_DB_READFAIL_2	"rtld_db: rpr: read of 0x%llx failed"
77@ MSG_DB_READFAIL_3	"rtld_db: roe: read of 0x%llx failed"
78@ MSG_DB_READFAIL_4	"rtld_db: fde: read of 0x%llx failed"
79@ MSG_DB_READFAIL_5	"rtld_db: ge: read of 0x%llx failed"
80@ MSG_DB_READFAIL_6	"rtld_db: gd: read of 0x%llx failed"
81@ MSG_DB_WRITEFAIL_1	"rtld_db: ree: write of 0x%llx failed"
82@ MSG_DB_WRITEFAIL_2	"rtld_db: roe: write of 0x%llx failed"
83@ MSG_DB_UNFNDSYM	"rtld_db: rbea: unable to find sym: %s"
84@ MSG_DB_NODYNDEBUG	"rtld_db: fde: no %lld found in .dynamic"
85@ MSG_DB_FINDDYNAMIC	"rtld_db: fde: DYNAMIC entry found tag: %d found. \
86			 val: 0x%llx"
87@ MSG_DB_HELPER_PREFIX	"/usr/lib/brand"
88
89
90
91# Diagnostic messages
92
93@ MSG_DB_LOGENABLE	"rtld_db: logging enabled!"
94@ MSG_DB_RDINIT		"rtld_db: rd_init(%d)"
95@ MSG_DB_RDNEW		"rtld_db: rd_new(0x%p)"
96@ MSG_DB_RDDELETE	"rtld_db: rd_delete(0x%p)"
97@ MSG_DB_LOADOBJITER	"rtld_db: rd_loadobj_iter32(dmodel=%d, cb=0x%p, \
98			 d=0x%p)"
99@ MSG_DB_RDEVENTADDR	"rtld_db: rd_event_addr(event=%d, addr=0x%llx)"
100@ MSG_DB_RDRESET	"rtld_db: rd_reset(dmodel=%d)"
101@ MSG_DB_RDEVENTENABLE	"rtld_db: rd_event_enable(dmodel=%d, onoff=%d)"
102@ MSG_DB_RDEVENTGETMSG	"rtld_db: rd_event_getmsg(dmodel=%d, type=%d, \
103			 state=%d)"
104@ MSG_DB_RDOBJPADE	"rtld_db: rd_objpad_enable(padsize=0x%llx)"
105@ MSG_DB_64BIT_PREFIX	"64/"
106@ MSG_DB_BRAND_HELPERPATH_PREFIX "%s/%s/%s/%s%s_librtld_db.so.1"
107@ MSG_DB_BRAND_HELPERPATH "%s/%s/%s%s_librtld_db.so.1"
108@ MSG_DB_HELPERNOOPS	"rtld_db: helper lib loaded but ops not preset"
109@ MSG_DB_HELPERLOADED	"rtld_db: helper library loaded for brand \"%s\""
110@ MSG_DB_HELPERLOADFAILED "rtld_db: couldn't load brand helper library %s"
111@ MSG_DB_HELPERINITFAILED "rtld_db: brand helper library initialization failed"
112
113@ MSG_ER_OK		"no error"
114@ MSG_ER_ERR		"generic rtld_db.so error"
115@ MSG_ER_DBERR		"debugger service failed"
116@ MSG_ER_NOCAPAB	"capability not available"
117@ MSG_ER_NODYNAM	"couldn't find '_DYNAMIC'"
118@ MSG_ER_NOBASE		"couldn't find auxv tag 'AT_BASE'"
119@ MSG_ER_NOMAPS		"link-maps are not initialized"
120@ MSG_ER_DEFAULT	"unknown rtld_db.so error code"
121
122@ MSG_SYM_DEBUG		"r_debug"
123@ MSG_SYM_PREINIT	"rtld_db_preinit"
124@ MSG_SYM_POSTINIT	"rtld_db_postinit"
125@ MSG_SYM_DLACT		"rtld_db_dlactivity"
126@ MSG_SYM_RTBIND	"elf_rtbndr"
127@ MSG_SYM_DYNAMIC	"_DYNAMIC"
128@ MSG_SYM_BRANDOPS_32	"rtld_db_brand_ops32"
129@ MSG_SYM_BRANDOPS_64	"rtld_db_brand_ops64"
130