Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Doug Evans <dje@google.com>
Cc: gdb-patches@sourceware.org, marc.khouzam@ericsson.com
Subject: Re: [RFA] restore "mt set python print-stack" for gdb 7.4
Date: Sat, 14 Jan 2012 08:25:00 -0000	[thread overview]
Message-ID: <20120114040553.GV31383@adacore.com> (raw)
In-Reply-To: <20120114004152.083902461A8@ruffy.mtv.corp.google.com>

> Joel, ok to check into the branch?

Looks good to me!

> 2012-01-13  Doug Evans  <dje@google.com>
> 
> 	Restore "mt set python print-stack on|off" for 7.4.
> 	* NEWS: Update to indicate "mt set python print-stack" is deprecated,
> 	but not deleted yet, and will be gone in gdb 7.5.
> 	* python/python.c (maint_set_python_list, maint_show_python_list):
> 	New global vars.
> 	(maint_set_python, maint_show_python): New functions.
> 	(gdbpy_should_print_stack_deprecated): New global var.
> 	(set_maint_python_print_stack): New function.
> 	(show_maint_python_print_stack): New function.
> 	(_initialize_python): Define commands
> 	"mt set python print-stack on|off" and ""mt show python print-stack".

[...]
> Index: NEWS
> ===================================================================
> RCS file: /cvs/src/src/gdb/NEWS,v
> retrieving revision 1.472.2.3
> diff -u -p -r1.472.2.3 NEWS
> --- NEWS	1 Jan 2012 21:47:08 -0000	1.472.2.3
> +++ NEWS	14 Jan 2012 00:24:15 -0000
> @@ -29,10 +29,11 @@
>       existing one.
>  
>    ** The "maint set python print-stack on|off" command has been
> -     removed.  A new command: "set python print-stack
> -     none|full|message" has replaced it.  Additionally, the default
> -     for "print-stack" is now "message", which just prints the error
> -     message without the stack trace.
> +     deprecated and will be deleted in GDB 7.5.
> +     A new command: "set python print-stack none|full|message" has
> +     replaced it.  Additionally, the default for "print-stack" is
> +     now "message", which just prints the error message without
> +     the stack trace.

I think we need to update the NEWS file on the HEAD as well.
I would resynchronize the contents of the "in GDB 7.4" section
on the HEAD with the above, and then add a small entry in
"since 7.4" to say that the deprecated command has now been
removed.

-- 
Joel


  reply	other threads:[~2012-01-14  4:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-14  4:06 Doug Evans
2012-01-14  8:25 ` Joel Brobecker [this message]
2012-01-14 21:07   ` Doug Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120114040553.GV31383@adacore.com \
    --to=brobecker@adacore.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=marc.khouzam@ericsson.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox