[PATCH 4/4] [gdb/tui] Make translate return entry->value instead of entry

Tom Tromey tom@tromey.com
Fri Jun 23 20:30:28 GMT 2023


>>>>> Tom de Vries <tdevries@suse.de> writes:

> The only use of "entry = translate (...)" is entry->value.
> Simplify using the function by returning entry->value instead.

Seems like a good cleanup to me.  Thank you.

Tom


More information about the Gdb-patches mailing list