[Bug cli/23135] Configuring logging inside a user-defined command does not take effect

tromey at sourceware dot org sourceware-bugzilla@sourceware.org
Wed Aug 10 17:29:43 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=23135

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
This seems to work now:

(gdb) source s
(gdb) setup-logging 
(gdb) print 23
(gdb) q

murgatroyd. cat gdb.txt 
$1 = 23


I'm not sure when it was fixed, but the test above was with gdb 11.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list