This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: Archer in Cygwin help
Sreejith wrote:
I could confirm that python support is available in Cygwin, but
libstdc++ printers are not working as expected. The following log
explains more:
If you building from the archer-tromey-python branch, type:
python import gdb.libstdcxx.v6.printers
in GDB first. In the Fedora 11 release this is all processed via hooks
so it is not necessary, but from that branch it is.
(gdb) python print myList
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'myList' is not defined
Error while executing Python code.
Python is expecting to find a Python variable "myList" (which doesn't
exist). If you type the above import statement, and type:
print myList
in GDB, does it work for you then?
Regards
Phil