public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
From: Phil Muldoon <pmuldoon@redhat.com>
To: Sreejith <sreejithsmadhavan@gmail.com>
Cc: archer@sourceware.org
Subject: Re: Archer in Cygwin help
Date: Wed, 20 May 2009 22:04:00 -0000	[thread overview]
Message-ID: <4A147E6B.6000708@redhat.com> (raw)
In-Reply-To: <41aa4e6c0905201017j68b44350s2141ef8af6895701@mail.gmail.com>

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

  reply	other threads:[~2009-05-20 22:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20 17:18 Sreejith
2009-05-20 22:04 ` Phil Muldoon [this message]
2009-05-21  9:44   ` Sreejith
2009-05-21 16:50     ` Phil Muldoon
2009-05-21 17:02       ` Sreejith
2009-05-21 22:40         ` Paul Pluzhnikov
2009-05-22  7:49           ` Sreejith
2009-05-22  8:26             ` Phil Muldoon
2009-05-22  8:42               ` Sreejith
2009-05-22 15:33                 ` Sreejith
2009-05-27 17:07                   ` Tom Tromey
2009-05-28 13:58                     ` Sreejith
2009-06-01 16:39                       ` Tom Tromey
2009-06-04 11:34                         ` Sreejith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A147E6B.6000708@redhat.com \
    --to=pmuldoon@redhat.com \
    --cc=archer@sourceware.org \
    --cc=sreejithsmadhavan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).