From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15880 invoked by alias); 27 Mar 2013 18:36:30 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 15829 invoked by uid 89); 27 Mar 2013 18:36:20 -0000 X-Spam-SWARE-Status: No, score=-5.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from mail-vc0-f201.google.com (HELO mail-vc0-f201.google.com) (209.85.220.201) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 27 Mar 2013 18:36:17 +0000 Received: by mail-vc0-f201.google.com with SMTP id hf12so857134vcb.2 for ; Wed, 27 Mar 2013 11:36:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:message-id:from:to:subject:x-gm-message-state; bh=UEgOUZpNNkx3qo3lYfFHahj2tY1fAmnC2aBpbxDd5oQ=; b=cRajeC1kaD5+58lViKlcNtdfLMecX8qFiVeXTqWPLyHHUQ/QBgE6hAKAlQtb4YsO7x +NZt407r+jOMLExsGKZKxgEp76LyqOOr54pv+r/76C8Jk9wjmflV7qR+mVGfpAsgc9yc HwtVCDfvPOq5oTRoVYm6QeiMs3mfKV9x3waJvaL5ZVOZD1BljDBIrlWXWO77gTzeojrw a03GTDf/lvrJTpeP9iLA7xhzECdQ1x09m4RrQZ/G9NYQpanpZisjJ3SGWsFVIYKA12yj 0wIe3zWs3vn0Q7HWZAfxoRVj2ERWyH/zSQz5wFxd+1tLH2MLzY355d1A1R+/M0Rlkhh+ hfqw== X-Received: by 10.224.185.79 with SMTP id cn15mr12174275qab.4.1364409375379; Wed, 27 Mar 2013 11:36:15 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id c2si2694186qck.3.2013.03.27.11.36.15 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Wed, 27 Mar 2013 11:36:15 -0700 (PDT) Received: from ruffy2.mtv.corp.google.com (ruffy2.mtv.corp.google.com [172.17.128.107]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id E3E7B5A403C for ; Wed, 27 Mar 2013 11:36:14 -0700 (PDT) Date: Wed, 27 Mar 2013 20:17:00 -0000 Message-Id: From: Doug Evans To: gdb-patches@sourceware.org Subject: [RFA, RFA 7.6] Improve help for, e.g., running gdb in build tree. X-Gm-Message-State: ALoCoQkAQVBJZo4YmNgG4FXadVFYYGNP1o2m8VH7FYogtb6SdINpOoSi/ROzByBytLPH7Ku811YcAiucOvJ9NtZRpWPk7F8g6eZpB8sJKLnYEvLpnRf4y5u71jmSV7G7gnG41w1ewaL+WK8q7GqTFobnqgXi0rFZSoa+DlLfsu6YiE1DhTKYuLiayR+c7ESWdMASZhfQkY/a8mmGWo+/S0AofGPd9wvWdMUH+f7hk1F2gikLWGmY4QQ= X-SW-Source: 2013-03/txt/msg01032.txt.bz2 Hi. How about this for 7.6? 2013-03-27 Doug Evans * python/python.c (finish_python_initialization): Provide suggestion for how to tell gdb to find its python files. Index: python.c =================================================================== RCS file: /cvs/src/src/gdb/python/python.c,v retrieving revision 1.111 diff -u -p -r1.111 python.c --- python.c 12 Mar 2013 17:39:45 -0000 1.111 +++ python.c 27 Mar 2013 18:34:24 -0000 @@ -1714,6 +1714,7 @@ finish_python_initialization (void) warning (_("Could not load the Python gdb module from `%s'."), gdb_pythondir); warning (_("Limited Python support is available from the _gdb module.")); + warning (_("Suggest passing --data-directory=/path/to/gdb/data-directory.")); do_cleanups (cleanup); return; }