This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/13351] New: lookup_symbol: No frame selected. - but noneis needed
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 27 Oct 2011 14:05:27 +0000
- Subject: [Bug python/13351] New: lookup_symbol: No frame selected. - but noneis needed
- Auto-submitted: auto-generated
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.