This is the mail archive of the
mailing list for the GDB project.
Re: Source a python script to gdb plugin?
On Thu, Aug 7, 2008 at 7:02 AM, Tom Tromey <email@example.com> wrote:
>>>>>> "Neo" == Neo Jia <firstname.lastname@example.org> writes:
> Neo> I am going to source the following script through gdb plugin, but it
> Neo> doesn't work.
> Neo> Any suggestions?
> That isn't enough information. What platform is this? What version
> of Python are you using? How did it fail? Does it work with the
> ordinary python interpreter?
Linux x86_64. Python is 2.5.1.
GNU gdb (GDB) 188.8.131.5280716-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
(gdb) source ./load_libc
/home/cjia/workareas/gdb_nvwatch/scripts/load_libc:3: Error in sourced command f
Undefined command: "from". Try "help".
execute the script out of the gdb.
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!