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