This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Source a python script to gdb plugin?


On Thu, Aug 7, 2008 at 10:00 AM, Neo Jia <neojia@gmail.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]