This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add $_as_string convenience function
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>
- Cc: brobecker at adacore dot com, gdb-patches at sourceware dot org
- Date: Mon, 07 Mar 2016 18:18:05 +0200
- Subject: Re: [PATCH] Add $_as_string convenience function
- Authentication-results: sourceware.org; auth=none
- References: <1457124218-22342-1-git-send-email-simon dot marchi at polymtl dot ca> <20160304230722 dot GB4291 at adacore dot com> <6d64d5d824055dfa70782fbd19f3ad75 at simark dot ca>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 07 Mar 2016 09:54:33 -0500
> From: Simon Marchi <simon.marchi@polymtl.ca>
> Cc: gdb-patches@sourceware.org
>
> On 2016-03-04 18:07, Joel Brobecker wrote:
> > Neat. I think this deserves a NEWS entry!
>
> That would be the NEWS entry:
>
> * New Python-based convenience function $_as_string(val), which returns
> the textual representation of a value. This function is especially
> useful to obtain the text label of an enum value.
This is fine with me, thanks.