public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/12886] New: python's gdb.execute('interpreter-exec mi an-mi-command', to_string=True) returns empty string
@ 2011-06-14 9:10 jacques.klein at dalim dot com
2012-02-07 20:37 ` [Bug python/12886] " tromey at redhat dot com
2012-07-18 23:23 ` jan.kratochvil at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: jacques.klein at dalim dot com @ 2011-06-14 9:10 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12886
Summary: python's gdb.execute('interpreter-exec mi
an-mi-command', to_string=True) returns empty string
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: jacques.klein@dalim.com
When to_string is set to True, mi command results are sent to stdout instead of
beeing returned by gdb.execute()
For example:
(gdb) python
>def mibug(toString):
> r = gdb.execute('interpreter-exec mi -environment-pwd', to_string=toString)
> print "r=>" + r + "<"
>end
(gdb) python mibug(True)
^done,cwd="/var/tmp"
(gdb)
r=><
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug python/12886] python's gdb.execute('interpreter-exec mi an-mi-command', to_string=True) returns empty string
2011-06-14 9:10 [Bug gdb/12886] New: python's gdb.execute('interpreter-exec mi an-mi-command', to_string=True) returns empty string jacques.klein at dalim dot com
@ 2012-02-07 20:37 ` tromey at redhat dot com
2012-07-18 23:23 ` jan.kratochvil at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2012-02-07 20:37 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12886
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
Component|gdb |python
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug python/12886] python's gdb.execute('interpreter-exec mi an-mi-command', to_string=True) returns empty string
2011-06-14 9:10 [Bug gdb/12886] New: python's gdb.execute('interpreter-exec mi an-mi-command', to_string=True) returns empty string jacques.klein at dalim dot com
2012-02-07 20:37 ` [Bug python/12886] " tromey at redhat dot com
@ 2012-07-18 23:23 ` jan.kratochvil at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: jan.kratochvil at redhat dot com @ 2012-07-18 23:23 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12886
Jan Kratochvil <jan.kratochvil at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jan.kratochvil at redhat
| |dot com
Resolution| |FIXED
Target Milestone|--- |7.5
--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-07-18 23:22:35 UTC ---
GNU gdb (GDB) 7.4.90.20120718-cvs
(gdb) python mibug(True)
r=>^done,cwd="/home/jkratoch"
<
I can confirm it still did not work in:
GNU gdb (GDB) 7.4.1.20120717-cvs
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-18 23:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-14 9:10 [Bug gdb/12886] New: python's gdb.execute('interpreter-exec mi an-mi-command', to_string=True) returns empty string jacques.klein at dalim dot com
2012-02-07 20:37 ` [Bug python/12886] " tromey at redhat dot com
2012-07-18 23:23 ` jan.kratochvil at redhat dot com
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).