This is the mail archive of the gdb-patches@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]

Re: [RFA] restore "mt set python print-stack" for gdb 7.4


> 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


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