qemu/bsd-user
Peter Crosthwaite f7ec7f7b26 gdbstub: Change gdbserver_fork() to accept cpu instead of env
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.voipio@iki.fi>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2015-07-09 15:20:40 +02:00
..
freebsd bsd-user: Fix syscall format, add strace support for more syscalls 2014-06-11 00:25:06 +01:00
i386 bsd-user: FreeBSD update 2009-10-18 15:16:08 +00:00
netbsd Preliminary BSD user emulator support 2008-10-26 20:33:16 +00:00
openbsd Fix BSD user compilation on other than OpenBSD 2008-11-22 20:34:45 +00:00
sparc Sparc32 BSD user support 2008-11-09 09:31:37 +00:00
sparc64 Preliminary BSD user emulator support 2008-10-26 20:33:16 +00:00
x86_64 Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
bsd-mman.h Prepare for handling different BSD mmap() flags 2008-11-29 14:05:16 +00:00
bsdload.c Revert "bsd-user: replace fprintf(stderr, ...) with error_report()" 2014-06-02 13:26:59 +01:00
elfload.c bsd-user/elfload.c: Don't use ldl() or ldq_raw() 2015-01-20 15:19:33 +00:00
errno_defs.h Preliminary BSD user emulator support 2008-10-26 20:33:16 +00:00
main.c gdbstub: Change gdbserver_fork() to accept cpu instead of env 2015-07-09 15:20:40 +02:00
Makefile.objs build: move *-user/ objects to nested Makefile.objs 2012-06-07 07:17:33 +02:00
mmap.c bsd-user/mmap.c: Don't try to override g_malloc/g_free 2014-06-11 00:25:06 +01:00
qemu.h bsd-user: GPL v2 attribution update and style 2014-06-11 00:25:06 +01:00
signal.c Rename CPUState -> CPUArchState 2012-03-14 22:20:27 +01:00
strace.c bsd-user: Implement strace support for print_ioctl syscall 2014-06-11 00:25:06 +01:00
syscall_defs.h bsd-user: FreeBSD update 2009-10-18 15:16:08 +00:00
syscall.c bsd-user: OS-agnostic 64-bit SYSCTL types 2013-05-12 13:25:55 +04:00
uaccess.c fix build warnings 2009-07-17 17:48:01 +00:00