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
55aefb655Srie# Common Development and Distribution License (the "License").
65aefb655Srie# 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#
215aefb655Srie
225aefb655Srie#
23*57ef7aa9SRod Evans# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
245aefb655Srie# Use is subject to license terms.
255aefb655Srie#
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate# Message file for cmd/sgs/librtld_db.
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate@ MSG_ID_LIBRTLD_DB
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate# There presently seem little point in internationalizing these messages
327c478bd9Sstevel@tonic-gate# as they provide debugging information for dbx developers and shouldn't
337c478bd9Sstevel@tonic-gate# be see by anyone else.
347c478bd9Sstevel@tonic-gate
357c478bd9Sstevel@tonic-gate@ _END_
367c478bd9Sstevel@tonic-gate
377c478bd9Sstevel@tonic-gate# Basic strings
387c478bd9Sstevel@tonic-gate
397c478bd9Sstevel@tonic-gate@ MSG_DB_NOLDDATA	"rtld_db: rr: no LDDATA found in aux vector - \
407c478bd9Sstevel@tonic-gate			 falling back to symbol lookup"
417c478bd9Sstevel@tonic-gate@ MSG_DB_FLDDATA	"rtld_db: rl: found LDDATA auxv ld.so.1 data seg \
427c478bd9Sstevel@tonic-gate			 at: 0x%p"
437c478bd9Sstevel@tonic-gate@ MSG_DB_SYMRDEBUG	"rtld_db: rr: found ld.so.1::rdebug address: 0x%llx"
447c478bd9Sstevel@tonic-gate@ MSG_DB_LOOKFAIL	"rtld_db: rr: lookup of %s failed"
457c478bd9Sstevel@tonic-gate@ MSG_DB_NOAUXV		"rtld_db: rr: call to ps_pauxv() failed"
467c478bd9Sstevel@tonic-gate@ MSG_DB_DMLOOKFAIL	"rtld_db: rr: lookup of data model failed"
477c478bd9Sstevel@tonic-gate@ MSG_DB_NODYNAMIC	"rtld_db: rr: unable to find _DYNAMIC in exec"
487c478bd9Sstevel@tonic-gate@ MSG_DB_INITFAILED	"rtld_db: rr: can't find r_debug, rtld_db init failed"
497c478bd9Sstevel@tonic-gate@ MSG_DB_RESETFAIL	"rtld_db: rn: rd_reset failed"
507c478bd9Sstevel@tonic-gate@ MSG_DB_LKMAPFAIL	"rtld_db: im: failed in reading link_maps"
517c478bd9Sstevel@tonic-gate@ MSG_DB_CALLBACKR0	"rtld_db: im: itermap() callback returned 0 - \
527c478bd9Sstevel@tonic-gate			 terminating link-map traversal"
537c478bd9Sstevel@tonic-gate@ MSG_DB_ITERMAP	"rtld_db: im: itermap_cb(cb=0x%p, data=0x%p,\n\
547c478bd9Sstevel@tonic-gate			 rtld_db: im:      objbase=0x%llx, ident=0x%llx)"
557c478bd9Sstevel@tonic-gate@ MSG_DB_READDBGFAIL_1	"rtld_db: rli: failed to read rtld_db_priv: 0x%llx"
567c478bd9Sstevel@tonic-gate@ MSG_DB_READDBGFAIL_2	"rtld_db: reg: failed to read rdebug: 0x%llx"
57*57ef7aa9SRod Evans@ MSG_DB_READDBGFAIL_3	"rtld_db: rli: failed to read rtd_dynlmlst: 0x%llx"
58*57ef7aa9SRod Evans@ MSG_DB_READDBGFAIL_4	"rtld_db: rli: failed to read dynlm_list: 0x%llx"
59*57ef7aa9SRod Evans@ MSG_DB_READDBGFAIL_5	"rtld_db: rli: failed to read dynlm_list->ap_data[]: \
60*57ef7aa9SRod Evans			 0x%llx"
61*57ef7aa9SRod Evans@ MSG_DB_READDBGFAIL_6	"rtld_db: rli: failed to read Lm_list: 0x%llx"
627c478bd9Sstevel@tonic-gate@ MSG_DB_READPRIVFAIL_1	"rtld_db: rr: fail to read rtld_db_priv: 0x%llx"
637c478bd9Sstevel@tonic-gate@ MSG_DB_BADPVERS	"rtld_db: ve: rtld vs. rtld_db version mismatch: \
647c478bd9Sstevel@tonic-gate			 %d != %d"
657c478bd9Sstevel@tonic-gate@ MSG_DB_VALIDRDEBUG	"rtld_db: ve: found valid r_debug structure. \
667c478bd9Sstevel@tonic-gate			 Addr: 0x%llx\n\
677c478bd9Sstevel@tonic-gate			 rtld_db: ve:	rtld_dbVers: %d rtldVers: %d \
687c478bd9Sstevel@tonic-gate			 Corefile: %d"
697c478bd9Sstevel@tonic-gate@ MSG_DB_LKMAPNOINIT	"rtld_db: rli: link maps are not yet initialized: \
707c478bd9Sstevel@tonic-gate			 rtd_dynlmlst: 0x%llx"
717c478bd9Sstevel@tonic-gate@ MSG_DB_LKMAPNOINIT_1	"rtld_db: rli: dynlm_list is not yet initialized: \
72*57ef7aa9SRod Evans			 dynlm_list: 0x%llx"
737c478bd9Sstevel@tonic-gate@ MSG_DB_NULLITER	"rtld_db: rli: called with null iterator"
747c478bd9Sstevel@tonic-gate@ MSG_DB_UNEXPEVENT	"rtld_db: rea: unexpected event num: %d"
757c478bd9Sstevel@tonic-gate@ MSG_DB_READFAIL_1	"rtld_db: vr: read of 0x%llx failed"
767c478bd9Sstevel@tonic-gate@ MSG_DB_READFAIL_2	"rtld_db: rpr: read of 0x%llx failed"
777c478bd9Sstevel@tonic-gate@ MSG_DB_READFAIL_3	"rtld_db: roe: read of 0x%llx failed"
787c478bd9Sstevel@tonic-gate@ MSG_DB_READFAIL_4	"rtld_db: fde: read of 0x%llx failed"
7922872efbSedp@ MSG_DB_READFAIL_5	"rtld_db: ge: read of 0x%llx failed"
8022872efbSedp@ MSG_DB_READFAIL_6	"rtld_db: gd: read of 0x%llx failed"
817c478bd9Sstevel@tonic-gate@ MSG_DB_WRITEFAIL_1	"rtld_db: ree: write of 0x%llx failed"
827c478bd9Sstevel@tonic-gate@ MSG_DB_WRITEFAIL_2	"rtld_db: roe: write of 0x%llx failed"
837c478bd9Sstevel@tonic-gate@ MSG_DB_UNFNDSYM	"rtld_db: rbea: unable to find sym: %s"
847c478bd9Sstevel@tonic-gate@ MSG_DB_NODYNDEBUG	"rtld_db: fde: no %lld found in .dynamic"
857c478bd9Sstevel@tonic-gate@ MSG_DB_FINDDYNAMIC	"rtld_db: fde: DYNAMIC entry found tag: %d found. \
867c478bd9Sstevel@tonic-gate			 val: 0x%llx"
8722872efbSedp@ MSG_DB_HELPER_PREFIX	"/usr/lib/brand"
889acbbeafSnn
899acbbeafSnn
909acbbeafSnn
917c478bd9Sstevel@tonic-gate# Diagnostic messages
927c478bd9Sstevel@tonic-gate
937c478bd9Sstevel@tonic-gate@ MSG_DB_LOGENABLE	"rtld_db: logging enabled!"
947c478bd9Sstevel@tonic-gate@ MSG_DB_RDINIT		"rtld_db: rd_init(%d)"
957c478bd9Sstevel@tonic-gate@ MSG_DB_RDNEW		"rtld_db: rd_new(0x%p)"
967c478bd9Sstevel@tonic-gate@ MSG_DB_RDDELETE	"rtld_db: rd_delete(0x%p)"
977c478bd9Sstevel@tonic-gate@ MSG_DB_LOADOBJITER	"rtld_db: rd_loadobj_iter32(dmodel=%d, cb=0x%p, \
987c478bd9Sstevel@tonic-gate			 d=0x%p)"
997c478bd9Sstevel@tonic-gate@ MSG_DB_RDEVENTADDR	"rtld_db: rd_event_addr(event=%d, addr=0x%llx)"
1007c478bd9Sstevel@tonic-gate@ MSG_DB_RDRESET	"rtld_db: rd_reset(dmodel=%d)"
1017c478bd9Sstevel@tonic-gate@ MSG_DB_RDEVENTENABLE	"rtld_db: rd_event_enable(dmodel=%d, onoff=%d)"
1027c478bd9Sstevel@tonic-gate@ MSG_DB_RDEVENTGETMSG	"rtld_db: rd_event_getmsg(dmodel=%d, type=%d, \
1037c478bd9Sstevel@tonic-gate			 state=%d)"
1047c478bd9Sstevel@tonic-gate@ MSG_DB_RDOBJPADE	"rtld_db: rd_objpad_enable(padsize=0x%llx)"
10522872efbSedp@ MSG_DB_64BIT_PREFIX	"64/"
1069acbbeafSnn@ MSG_DB_BRAND_HELPERPATH_PREFIX "%s/%s/%s/%s%s_librtld_db.so.1"
1079acbbeafSnn@ MSG_DB_BRAND_HELPERPATH "%s/%s/%s%s_librtld_db.so.1"
1089acbbeafSnn@ MSG_DB_HELPERNOOPS	"rtld_db: helper lib loaded but ops not preset"
1099acbbeafSnn@ MSG_DB_HELPERLOADED	"rtld_db: helper library loaded for brand \"%s\""
1109acbbeafSnn@ MSG_DB_HELPERLOADFAILED "rtld_db: couldn't load brand helper library %s"
1119acbbeafSnn@ MSG_DB_HELPERINITFAILED "rtld_db: brand helper library initialization failed"
1127c478bd9Sstevel@tonic-gate
1137c478bd9Sstevel@tonic-gate@ MSG_ER_OK		"no error"
1147c478bd9Sstevel@tonic-gate@ MSG_ER_ERR		"generic rtld_db.so error"
1157c478bd9Sstevel@tonic-gate@ MSG_ER_DBERR		"debugger service failed"
1167c478bd9Sstevel@tonic-gate@ MSG_ER_NOCAPAB	"capability not available"
1177c478bd9Sstevel@tonic-gate@ MSG_ER_NODYNAM	"couldn't find '_DYNAMIC'"
1187c478bd9Sstevel@tonic-gate@ MSG_ER_NOBASE		"couldn't find auxv tag 'AT_BASE'"
1197c478bd9Sstevel@tonic-gate@ MSG_ER_NOMAPS		"link-maps are not initialized"
1207c478bd9Sstevel@tonic-gate@ MSG_ER_DEFAULT	"unknown rtld_db.so error code"
1217c478bd9Sstevel@tonic-gate
1227c478bd9Sstevel@tonic-gate@ MSG_SYM_DEBUG		"r_debug"
1237c478bd9Sstevel@tonic-gate@ MSG_SYM_PREINIT	"rtld_db_preinit"
1247c478bd9Sstevel@tonic-gate@ MSG_SYM_POSTINIT	"rtld_db_postinit"
1257c478bd9Sstevel@tonic-gate@ MSG_SYM_DLACT		"rtld_db_dlactivity"
1267c478bd9Sstevel@tonic-gate@ MSG_SYM_RTBIND	"elf_rtbndr"
1277c478bd9Sstevel@tonic-gate@ MSG_SYM_DYNAMIC	"_DYNAMIC"
128adbfe822Srie@ MSG_SYM_BRANDOPS_32	"rtld_db_brand_ops32"
129adbfe822Srie@ MSG_SYM_BRANDOPS_64	"rtld_db_brand_ops64"
130