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 cli/8822] log commands along with their output (make logging


------- Additional Comments From ppluzhnikov at google dot com  2010-01-22 17:06 -------
>From PR 11204:
---
It would also be nice to be able to timestamp output in gdb.txt, so when
dealing with performance bugs, it's immediately clear which operations
took how long.

I think 'set logging NNN' could become a multi-state (similar to 'handle'), e.g.

 set logging user gdb timestamp  # turn all on
 set logging on             # alias for "set logging gdb" (backward compat)
 set logging off            # alias for "set logging nouser nogdb notimestamp"
---

The advantage of GDB logging over script(1) is that it eliminates "line noise"
-- all the ^R and ^H that make script log hard to read and understand.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware dot|ppluzhnikov at google dot
                   |org                         |com
            Summary|log commands along with     |log commands along with
                   |their output                |their output (make logging


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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