public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/11204] New: Make logging more flexible
@ 2010-01-21 16:52 ppluzhnikov at google dot com
  2010-01-21 16:54 ` [Bug cli/11204] " ppluzhnikov at google dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ppluzhnikov at google dot com @ 2010-01-21 16:52 UTC (permalink / raw)
  To: gdb-prs

With 'set logging on', GDB will record its output into gdb.txt

It is often desirable to include my input there as well (either so I can
remember later what I was doing, or so I can take gdb.txt and attach it
to a bug report directly, instead of doing screen scrape).

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"

-- 
           Summary: Make logging more flexible
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: cli
        AssignedTo: ppluzhnikov at google dot com
        ReportedBy: ppluzhnikov at google dot com
                CC: gdb-prs at sourceware dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug cli/11204] Make logging more flexible
  2010-01-21 16:52 [Bug cli/11204] New: Make logging more flexible ppluzhnikov at google dot com
@ 2010-01-21 16:54 ` ppluzhnikov at google dot com
  2010-01-22 16:55 ` tromey at redhat dot com
  2010-01-22 17:00 ` ppluzhnikov at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ppluzhnikov at google dot com @ 2010-01-21 16:54 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
  GCC build triplet|x86_64-unknown-linux-gnu    |
   GCC host triplet|x86_64-unknown-linux-gnu    |
 GCC target triplet|x86_64-unknown-linux-gnu    |


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

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug cli/11204] Make logging more flexible
  2010-01-21 16:52 [Bug cli/11204] New: Make logging more flexible ppluzhnikov at google dot com
  2010-01-21 16:54 ` [Bug cli/11204] " ppluzhnikov at google dot com
@ 2010-01-22 16:55 ` tromey at redhat dot com
  2010-01-22 17:00 ` ppluzhnikov at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2010-01-22 16:55 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2010-01-22 16:55 -------
This overlaps with PR #8822.


-- 


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

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug cli/11204] Make logging more flexible
  2010-01-21 16:52 [Bug cli/11204] New: Make logging more flexible ppluzhnikov at google dot com
  2010-01-21 16:54 ` [Bug cli/11204] " ppluzhnikov at google dot com
  2010-01-22 16:55 ` tromey at redhat dot com
@ 2010-01-22 17:00 ` ppluzhnikov at google dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ppluzhnikov at google dot com @ 2010-01-22 17:00 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From ppluzhnikov at google dot com  2010-01-22 17:00 -------
I've searched for "logging" before filing this, but PR 8822 doesn't have that
word in its subject.

*** This bug has been marked as a duplicate of 8822 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |DUPLICATE


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

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-22 17:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-21 16:52 [Bug cli/11204] New: Make logging more flexible ppluzhnikov at google dot com
2010-01-21 16:54 ` [Bug cli/11204] " ppluzhnikov at google dot com
2010-01-22 16:55 ` tromey at redhat dot com
2010-01-22 17:00 ` ppluzhnikov at google 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).