public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/26225] New: set logging redirect works only from prompt
@ 2020-07-10 8:54 etesta at undo dot io
2020-07-10 8:55 ` [Bug gdb/26225] " etesta at undo dot io
2022-08-10 17:27 ` tromey at sourceware dot org
0 siblings, 2 replies; 3+ messages in thread
From: etesta at undo dot io @ 2020-07-10 8:54 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26225
Bug ID: 26225
Summary: set logging redirect works only from prompt
Product: gdb
Version: 9.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: etesta at undo dot io
Target Milestone: ---
--
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 gdb/26225] set logging redirect works only from prompt
2020-07-10 8:54 [Bug gdb/26225] New: set logging redirect works only from prompt etesta at undo dot io
@ 2020-07-10 8:55 ` etesta at undo dot io
2022-08-10 17:27 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: etesta at undo dot io @ 2020-07-10 8:55 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26225
--- Comment #1 from Emiliano Testa <etesta at undo dot io> ---
The following doesn't seem to work:
python
gdb.execute('set logging off')
gdb.execute('set logging redirect on')
gdb.execute('set logging on')
gdb.execute('next')
gdb.execute('set logging off')
end
I would expect the "next" to be completely silent and "gdb.txt" to contain the
output... it doesn't work.
define snext
set logging off
set logging redirect on
set logging on
next
set logging off
end
snext
works as expected. Is this a bug?
(tried both on GDB-8.1 and GDB-9.2)
--
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 gdb/26225] set logging redirect works only from prompt
2020-07-10 8:54 [Bug gdb/26225] New: set logging redirect works only from prompt etesta at undo dot io
2020-07-10 8:55 ` [Bug gdb/26225] " etesta at undo dot io
@ 2022-08-10 17:27 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2022-08-10 17:27 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26225
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
CC| |tromey at sourceware dot org
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
This seems to work ok now.
I'm not sure when it was fixed but I tried gdb 11 and git master.
--
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:[~2022-08-10 17:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10 8:54 [Bug gdb/26225] New: set logging redirect works only from prompt etesta at undo dot io
2020-07-10 8:55 ` [Bug gdb/26225] " etesta at undo dot io
2022-08-10 17:27 ` tromey at sourceware dot org
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).