public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/12438] New: maintenance set python print-stack should be off by default
@ 2011-01-25 20:19 mjw at redhat dot com
2011-06-28 14:00 ` [Bug python/12438] " pmuldoon at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: mjw at redhat dot com @ 2011-01-25 20:19 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12438
Summary: maintenance set python print-stack should be off by
default
Product: gdb
Version: archer
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: mjw@redhat.com
Having random python stack traces in the middle of your output really
isn't helpful. Unless you are hacking on python pretty printers of course.
For normal users the default really should be off.
Some examples where it really doesn't make sense and is utterly confusing:
PR12425 and PR12436
Leave the option there for people who want to hack on python pretty printers,
but flip the default please.
--
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] 4+ messages in thread
* [Bug python/12438] maintenance set python print-stack should be off by default
2011-01-25 20:19 [Bug python/12438] New: maintenance set python print-stack should be off by default mjw at redhat dot com
@ 2011-06-28 14:00 ` pmuldoon at redhat dot com
2011-07-11 13:08 ` cvs-commit at gcc dot gnu.org
2011-07-11 13:20 ` pmuldoon at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2011-06-28 14:00 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12438
Phil Muldoon <pmuldoon at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pmuldoon at redhat dot com
AssignedTo|unassigned at sourceware |pmuldoon at redhat dot com
|dot org |
Target Milestone|--- |7.4
--
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] 4+ messages in thread
* [Bug python/12438] maintenance set python print-stack should be off by default
2011-01-25 20:19 [Bug python/12438] New: maintenance set python print-stack should be off by default mjw at redhat dot com
2011-06-28 14:00 ` [Bug python/12438] " pmuldoon at redhat dot com
@ 2011-07-11 13:08 ` cvs-commit at gcc dot gnu.org
2011-07-11 13:20 ` pmuldoon at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-07-11 13:08 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12438
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-07-11 13:07:40 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: pmuldoon@sourceware.org 2011-07-11 13:07:38
Modified files:
gdb : ChangeLog NEWS
gdb/doc : ChangeLog gdb.texinfo
gdb/python : python.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.python: py-function.exp py-prettyprint.exp
python.exp
Log message:
2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
PR python/12438
* python/python.c: Set gdbpy_should_print_stack default to off.
(set_python): Deprecate maint set python print-stack to
class_deprecate.
(_initialize_python): Deprecate maint set/show python print-stack.
Add new prefix command, python. Add new setting, print-backtrace.
* NEWS: Document set python print-stack. Document default change.
2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
PR python/12438
* gdb.texinfo (Python Commands): Add deprecate note to maint
set/show python print-stack. Document set/show python
print-backtrace.
2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
PR python/12438
* gdb.python/python.exp: Add maint set/show python print-stack
deprecated tests. Add set/show python print-backtrace tests.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13179&r2=1.13180
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.441&r2=1.442
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1197&r2=1.1198
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.845&r2=1.846
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python.c.diff?cvsroot=src&r1=1.65&r2=1.66
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2787&r2=1.2788
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-function.exp.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-prettyprint.exp.diff?cvsroot=src&r1=1.19&r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/python.exp.diff?cvsroot=src&r1=1.22&r2=1.23
--
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] 4+ messages in thread
* [Bug python/12438] maintenance set python print-stack should be off by default
2011-01-25 20:19 [Bug python/12438] New: maintenance set python print-stack should be off by default mjw at redhat dot com
2011-06-28 14:00 ` [Bug python/12438] " pmuldoon at redhat dot com
2011-07-11 13:08 ` cvs-commit at gcc dot gnu.org
@ 2011-07-11 13:20 ` pmuldoon at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: pmuldoon at redhat dot com @ 2011-07-11 13:20 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=12438
Phil Muldoon <pmuldoon at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Phil Muldoon <pmuldoon at redhat dot com> 2011-07-11 13:19:34 UTC ---
Thanks for the bug report. The fix is now in CVS and will be released in the
next GDB release (7.4). If you see any regressions, or you do not think the
bug is fixed, please reopen this PR.
Cheers
--
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] 4+ messages in thread
end of thread, other threads:[~2011-07-11 13:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 20:19 [Bug python/12438] New: maintenance set python print-stack should be off by default mjw at redhat dot com
2011-06-28 14:00 ` [Bug python/12438] " pmuldoon at redhat dot com
2011-07-11 13:08 ` cvs-commit at gcc dot gnu.org
2011-07-11 13:20 ` pmuldoon 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).