Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Paul Pluzhnikov" <ppluzhnikov@google.com>
Cc: "Neo Jia" <neojia@gmail.com>, "gdb ml" <gdb@sourceware.org>
Subject: Re: Source a python script to gdb plugin?
Date: Thu, 07 Aug 2008 17:13:00 -0000	[thread overview]
Message-ID: <m3y738hhqg.fsf@fleche.redhat.com> (raw)
In-Reply-To: <8ac60eac0808071008p6a05e668h66300269b3bf3fd5@mail.gmail.com> (Paul Pluzhnikov's message of "Thu\, 7 Aug 2008 10\:08\:05 -0700")

>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> 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


  reply	other threads:[~2008-08-07 17:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07  7:40 Neo Jia
2008-08-07 14:03 ` Tom Tromey
2008-08-07 17:01   ` Neo Jia
2008-08-07 17:08     ` Paul Pluzhnikov
2008-08-07 17:13       ` Tom Tromey [this message]
2008-08-07 19:09         ` Neo Jia
2008-08-07 19:17           ` Tom Tromey
2008-08-07 19:18             ` Neo Jia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3y738hhqg.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=neojia@gmail.com \
    --cc=ppluzhnikov@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox