From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16242 invoked by alias); 9 Aug 2011 13:26:22 -0000 Received: (qmail 16231 invoked by uid 22791); 9 Aug 2011 13:26:22 -0000 X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-pz0-f44.google.com (HELO mail-pz0-f44.google.com) (209.85.210.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Aug 2011 13:26:05 +0000 Received: by pzk36 with SMTP id 36so4404945pzk.3 for ; Tue, 09 Aug 2011 06:26:04 -0700 (PDT) Received: by 10.142.210.7 with SMTP id i7mr3547852wfg.37.1312896364323; Tue, 09 Aug 2011 06:26:04 -0700 (PDT) Received: from [192.168.1.3] ([27.47.192.83]) by mx.google.com with ESMTPS id b2sm986815wfe.3.2011.08.09.06.26.01 (version=SSLv3 cipher=OTHER); Tue, 09 Aug 2011 06:26:03 -0700 (PDT) Message-ID: <4E4136C5.1080704@gmail.com> Date: Tue, 09 Aug 2011 13:26:00 -0000 From: PcX User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110630 Thunderbird/5.0 MIME-Version: 1.0 To: gdb@sourceware.org Subject: How can I set gdb.python directory on Windows? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00024.txt.bz2 Hi, all Since gdb harcodes its share directory, but I usually move the gdb to other directory. I found that in gdb command: set data-directory e:\mypack\mingw\share\gdb I can set gdb's share directory, but I type python print gdb.PYTHONDIR and found that the python pretty-printer directory not changed. Is there some methods to change the gdb python pretty-printer directory to e:\mypack\mingw\share\gdb\python? Thanks. -- Best Regards, PcX