From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22489 invoked by alias); 23 Mar 2010 06:26:32 -0000 Received: (qmail 22478 invoked by uid 22791); 23 Mar 2010 06:26:32 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from qw-out-1920.google.com (HELO qw-out-1920.google.com) (74.125.92.147) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Mar 2010 06:26:28 +0000 Received: by qw-out-1920.google.com with SMTP id 4so1185664qwk.24 for ; Mon, 22 Mar 2010 23:26:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.192.10 with SMTP id do10mr638904qcb.48.1269325585158; Mon, 22 Mar 2010 23:26:25 -0700 (PDT) In-Reply-To: References: <1957618c1003171419q24c02ee7vdf293b210bbba849@mail.gmail.com> Date: Tue, 23 Mar 2010 06:26:00 -0000 Message-ID: <1957618c1003222326j41f82412l9ab77295568975cc@mail.gmail.com> Subject: Re: gdb python setup problem From: Yogesh Mundada To: tromey@redhat.com Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2010-03/txt/msg00186.txt.bz2 I followed instructions from http://sourceware.org/gdb/wiki/PythonGdb. But I don't think I am getting the correct branch. Here are commands for your reference: yogesh@destiny:~$ git clone git://sourceware.org/git/archer.git git: /usr/local/lib/libidn.so.11: no version information available (required by /usr/lib/libcurl-gnutls.so.4) Initialized empty Git repository in /home/yogesh/archer/.git/ git: /usr/local/lib/libidn.so.11: no version information available (required by /usr/lib/libcurl-gnutls.so.4) git-index-pack: /usr/local/lib/libidn.so.11: no version information available (required by /usr/lib/libcurl-gnutls.so.4) remote: Counting objects: 309735, done. remote: Compressing objects: 100% (57761/57761), done. Receiving objects: 100% (309735/309735), 116.01 MiB | 758 KiB/s, done. remote: Total 309735 (delta 245181), reused 309056 (delta 244653) Resolving deltas: 100% (245181/245181), done. Checking out files: 100% (7324/7324), done. yogesh@destiny:~$ yogesh@destiny:~$ ls -ltr total 708 -rw-r--r-- 1 yogesh yogesh 668436 2010-03-08 09:46 ws7_replay_linux_technote.pdf -rw-r--r-- 1 yogesh yogesh 63 2010-03-17 17:43 gp-cont.py drwxr-xr-x 3 yogesh yogesh 4096 2010-03-22 23:48 vmware drwxr-xr-x 4 yogesh yogesh 4096 2010-03-23 01:07 Downloads drwxr-xr-x 2 yogesh yogesh 4096 2010-03-23 01:12 Desktop drwxr-xr-x 16 yogesh yogesh 4096 2010-03-23 01:15 archer yogesh@destiny:~$ yogesh@destiny:~$ cd archer; git checkout --track -b python origin/archer-tromey-python git: /usr/local/lib/libidn.so.11: no version information available (required by /usr/lib/libcurl-gnutls.so.4) Branch python set up to track remote branch archer-tromey-python from origin. Switched to a new branch 'python' yogesh@destiny:~/archer$ I think that libidn related messages are harmless. I've the blog entries from "The Cliffs of Inanity" and I really want to try this gdb scripting feature. What can I do to checkout the correct branch? Any help is greatly appreciated. On Thu, Mar 18, 2010 at 11:55 AM, Tom Tromey wrote: >>>>>> "Yogesh" == Yogesh Mundada writes: > > A few things that the other responses didn't cover... > > Yogesh> #!/home/yogesh/build/gdb/gdb -P > > We haven't submitted the -P patch yet. > > Yogesh> Then I got the source code from archer-tromey-python branch as > Yogesh> mentioned in http://sourceware.org/gdb/wiki/PythonGdb. I compiled that > Yogesh> source code but still it did not have any -P option for python > Yogesh> scripting. > > Make sure you are on the right branch -- archer-tromey-python. > > Tom >