From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24716 invoked by alias); 7 Aug 2008 17:08:51 -0000 Received: (qmail 24706 invoked by uid 22791); 7 Aug 2008 17:08:51 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Aug 2008 17:08:16 +0000 Received: from zps75.corp.google.com (zps75.corp.google.com [172.25.146.75]) by smtp-out3.google.com with ESMTP id m77H87QX000703 for ; Thu, 7 Aug 2008 18:08:08 +0100 Received: from yw-out-1718.google.com (ywr5.prod.google.com [10.192.18.5]) by zps75.corp.google.com with ESMTP id m77H86IT007802 for ; Thu, 7 Aug 2008 10:08:06 -0700 Received: by yw-out-1718.google.com with SMTP id 5so339811ywr.44 for ; Thu, 07 Aug 2008 10:08:06 -0700 (PDT) Received: by 10.115.32.8 with SMTP id k8mr1527264waj.89.1218128885840; Thu, 07 Aug 2008 10:08:05 -0700 (PDT) Received: by 10.114.122.10 with HTTP; Thu, 7 Aug 2008 10:08:05 -0700 (PDT) Message-ID: <8ac60eac0808071008p6a05e668h66300269b3bf3fd5@mail.gmail.com> Date: Thu, 07 Aug 2008 17:08:00 -0000 From: "Paul Pluzhnikov" To: "Neo Jia" Subject: Re: Source a python script to gdb plugin? Cc: tromey@redhat.com, "gdb ml" In-Reply-To: <5d649bdb0808071000rbe89429xc8b607f5822a60be@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5d649bdb0808070039o6503e704gc8deac92ada5d2a6@mail.gmail.com> <5d649bdb0808071000rbe89429xc8b607f5822a60be@mail.gmail.com> 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: 2008-08/txt/msg00130.txt.bz2 On Thu, Aug 7, 2008 at 10:00 AM, Neo Jia wrote: > (gdb) source ./load_libc > /home/cjia/workareas/gdb_nvwatch/scripts/load_libc:3: Error in sourced command file: > Undefined command: "from". Try "help". Don't you want to switch to python interpreter before doing 'source' (or rather its python equivalent)? -- Paul Pluzhnikov