This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/13351] New: lookup_symbol: No frame selected. - but noneis needed


http://sourceware.org/bugzilla/show_bug.cgi?id=13351

             Bug #: 13351
           Summary: lookup_symbol: No frame selected. - but none is needed
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan.kratochvil@redhat.com
    Classification: Unclassified
              Host: x86_64-unknown-linux-gnu
            Target: x86_64-unknown-linux-gnu


$ ./gdb -nx ./gdb
GNU gdb (GDB) 7.3.50.20111027-cvs
(gdb) python gdb.lookup_symbol("gdb_stdin")
Traceback (most recent call last):
  File "<string>", line 1, in <module>
gdb.error: No frame selected.
Error while executing Python code.

But `gdb_stdin' is a global variable, there is no need for any frame.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]