From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27055 invoked by alias); 7 Aug 2008 17:13:02 -0000 Received: (qmail 27046 invoked by uid 22791); 7 Aug 2008 17:13:02 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Aug 2008 17:12:28 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m77HCNpK018372; Thu, 7 Aug 2008 13:12:23 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m77HCMQR003137; Thu, 7 Aug 2008 13:12:22 -0400 Received: from opsy.redhat.com (vpn-10-34.bos.redhat.com [10.16.10.34]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m77HCMUK014182; Thu, 7 Aug 2008 13:12:22 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 6876A378159; Thu, 7 Aug 2008 11:12:23 -0600 (MDT) To: "Paul Pluzhnikov" Cc: "Neo Jia" , "gdb ml" Subject: Re: Source a python script to gdb plugin? References: <5d649bdb0808070039o6503e704gc8deac92ada5d2a6@mail.gmail.com> <5d649bdb0808071000rbe89429xc8b607f5822a60be@mail.gmail.com> <8ac60eac0808071008p6a05e668h66300269b3bf3fd5@mail.gmail.com> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Thu, 07 Aug 2008 17:13:00 -0000 In-Reply-To: <8ac60eac0808071008p6a05e668h66300269b3bf3fd5@mail.gmail.com> (Paul Pluzhnikov's message of "Thu\, 7 Aug 2008 10\:08\:05 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2008-08/txt/msg00131.txt.bz2 >>>>> "Paul" == Paul Pluzhnikov writes: >> (gdb) source ./load_libc >> /home/cjia/workareas/gdb_nvwatch/scripts/load_libc:3: Error in sourced command file: >> Undefined command: "from". Try "help". Paul> Don't you want to switch to python interpreter before doing 'source' Paul> (or rather its python equivalent)? Yes. The "source" command remains unchanged -- it reads gdb command scripts. Tom