This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
source command for python scripts (was Re: Python pretty-printersand non-ASCII strings do not play well together :-()
- From: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: archer at sourceware dot org
- Date: Wed, 05 Nov 2008 15:56:23 -0200
- Subject: source command for python scripts (was Re: Python pretty-printersand non-ASCII strings do not play well together :-()
- References: <20081104192834.32F4D3A6B0B@localhost>
El mar, 04-11-2008 a las 11:28 -0800, Paul Pluzhnikov escribiÃ:
> (gdb) python execfile('simple.py')
I was wondering if it would be useful to have a command in GDB to source
Python scripts, something like "source -p foo.py". But the command above
is short enough that we wouldn't need a separate command. What do you
think?
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center