[PATCH] Fix DW_CFA_restore_extended parsing

Jim Blandy jimb@red-bean.com
Fri Dec 21 00:49:00 GMT 2007


On Dec 20, 2007 12:22 PM, Luis Machado <luisgpm@linux.vnet.ibm.com> wrote:
> This simple patch fixes the issue. Any thoughts? Ok to commit?

The only difference between those two opcodes is in their encoding ---
the action to be performed is identical.  It seems silly to duplicate
the code.  Could you pull the common code out into its own function,
and then have both cases simply parse their arguments and call the
function?



More information about the Gdb-patches mailing list