[PATCH 22/40] get_int_var_value

Keith Seitz keiths@redhat.com
Mon Jul 17 22:11:00 GMT 2017


On 06/02/2017 05:22 AM, Pedro Alves wrote:
> I noticed that get_int_var_value's parameters could use some
> constification.  And then realized that client code would become
> simpler by changing the interface to return the success/failure
> indication as actual return value, as allows getting rid of the the
> local "boolean" variable.

It is certainly more appropriate for Joel to comment, but I did look through the patch, and it is a pretty straightforward change. I didn't notice any issues.

Keith



More information about the Gdb-patches mailing list