From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3074 invoked by alias); 13 Jan 2012 15:48:54 -0000 Received: (qmail 3065 invoked by uid 22791); 13 Jan 2012 15:48:53 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL,TW_SM X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Jan 2012 15:48:39 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LXQ00000UKXWD00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Fri, 13 Jan 2012 17:48:38 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.136.230]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXQ00MJDUL1UCH0@a-mtaout20.012.net.il>; Fri, 13 Jan 2012 17:48:38 +0200 (IST) Date: Fri, 13 Jan 2012 16:55:00 -0000 From: Eli Zaretskii Subject: Re: Building GDB 7.3.92 with MinGW In-reply-to: <4F103C20.8070204@gmail.com> To: asmwarrior Cc: brobecker@adacore.com, dje@google.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83ipkfk3hg.fsf@gnu.org> References: <83hb03e9sx.fsf@gnu.org> <838vlfe0k9.fsf@gnu.org> <4F0CD948.8080909@gmail.com> <4F0E266C.8080208@gmail.com> <20120112064721.GN31383@adacore.com> <20120112115355.GO31383@adacore.com> <838vlclv4r.fsf@gnu.org> <4F103C20.8070204@gmail.com> X-IsSubscribed: yes 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 X-SW-Source: 2012-01/txt/msg00484.txt.bz2 > Date: Fri, 13 Jan 2012 22:13:52 +0800 > From: asmwarrior > CC: Joel Brobecker , dje@google.com, > gdb-patches@sourceware.org > > a, suppose you have gdb install or copied in some folder: > c:/path_to_mingw/bin/gdb.exe > c:/path_to_mingw/share/gdb/python/gdb (this folder contains some python script like:printing.py....) > > b, run the gdb.exe. > b1, you can type: > python print gdb.PYTHONDIR > It should return the windows path: c:/path_to_mingw/share/gdb/python Works for me. > b2, you can continue type: > info pretty-printer > Then, gdb will report all the pretty-printers installed. If you encountered some error message like: > Undefined info command: "pretty-printer". Try "help info". > This means gdb's own python script does not loaded correctly when gdb startup, this is because gdb can't find the path: > c:/path_to_mingw/share/gdb/python/gdb What does it mean if "info pretty-printer" doesn't display anything, but doesn't show any error messages, either?