[Cython] cygdb gdb script problem

Vitja Makarov vitja.makarov at gmail.com
Tue Mar 29 21:11:52 CEST 2011

Running cygdb with Cython installed in the system leads to the
following problem:

vitja at vitja-laptop:~/work/cython-vitek-git/zzz$ python ../cygdb.py
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 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-linux-gnu".
For bug reporting instructions, please see:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named Debugger
/tmp/tmp1ZvOf9:3: Error in sourced command file:
Error while executing Python code.

So may be it's better to explicitly specify correct path to Cython
package in gdb script?

Small example patch is attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygdb-path-insert.diff
Type: text/x-patch
Size: 855 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20110329/8900fdab/attachment.bin>

More information about the cython-devel mailing list