On Thu, Jun 18, 2015 at 10:24:52AM -0700, Peter Crosthwaite wrote: > All callsites to this function navigate the cpu->env_ptr only for the > function to take the env ptr back to the original cpu ptr. Change the > function to just pass in the CPU pointer instead. Removes a core code > usage of ENV_GET_CPU (in gdbstub.c). > > Cc: Riku Voipio <riku.voi...@iki.fi> > Reviewed-by: Andreas Färber <afaer...@suse.de> > Signed-off-by: Peter Crosthwaite <crosthwaite.pe...@gmail.com>
Reviewed-by: Eduardo Habkost <ehabk...@redhat.com> -- Eduardo