[Qemu-devel] [PATCH v9 0/2] target-ppc: gdbstub little endian support patches

2014-04-07 Thread Thomas Falcon
The first patch pulls register length calculation into its own function and the second adds support for little endian ppc in gdbstub. Thomas Falcon (2): target-ppc: extract register length calculation in gdbstub target-ppc: gdbstub allow byte swapping for reading/writing registers target

[Qemu-devel] [PATCH v9 1/2] target-ppc: extract register length calculation in gdbstub

2014-04-07 Thread Thomas Falcon
This patch extracts the method to determine a register's size into a separate function. Signed-off-by: Thomas Falcon tlfal...@linux.vnet.ibm.com --- Differences from v8: Separated into multiple patches Removed cpu from function name --- target-ppc/gdbstub.c | 105

[Qemu-devel] [PATCH v9 2/2] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-04-07 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. Signed-off-by: Thomas Falcon tlfal...@linux.vnet.ibm.com --- Differences from v8: Separated into multiple patches ppc_gdb_swap_register(...) is now

[Qemu-devel] [PATCH v10 0/2] target-ppc: gdbstub little endian support patches

2014-04-07 Thread Thomas Falcon
The first patch pulls the register length calculation into its own function, and the second adds support for little endian ppc in gdbstub. Thomas Falcon (2): target-ppc: extract register length calculation in gdbstub target-ppc: gdbstub allow byte swapping for reading/writing registers

[Qemu-devel] [PATCH v10 1/2] target-ppc: extract register length calculation in gdbstub

2014-04-07 Thread Thomas Falcon
This patch extracts the method to determine a register's size into a separate function. Reviewed-by: Andreas Färber afaer...@suse.de Signed-off-by: Thomas Falcon tlfal...@linux.vnet.ibm.com --- target-ppc/gdbstub.c | 105 ++- 1 file changed, 71

[Qemu-devel] [PATCH v10 2/2] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-04-07 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. Reviewed-by: Andreas Färber afaer...@suse.de Signed-off-by: Thomas Falcon tlfal...@linux.vnet.ibm.com --- Difference from v9: Fixed a coding style

[Qemu-devel] [PATCH v8] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-04-04 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers if the MSR:LE value is set. Signed-off-by: Thomas Falcon tlfal

[Qemu-devel] [PATCH v7] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-04-01 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers if the MSR:LE value is set. Signed-off-by: Thomas Falcon tlfal

Re: [Qemu-devel] [Qemu-ppc] [PATCH v6] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-03-20 Thread Thomas Falcon
On 02/28/2014 03:32 PM, Thomas Falcon wrote: This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers if the MSR:LE value is set. Signed

Re: [Qemu-devel] [Qemu-ppc] [PATCH v6] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-03-10 Thread Thomas Falcon
On 03/04/2014 09:31 AM, Thomas Falcon wrote: On 02/28/2014 03:32 PM, Thomas Falcon wrote: This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any

Re: [Qemu-devel] [Qemu-ppc] [PATCH v6] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-03-04 Thread Thomas Falcon
On 02/28/2014 03:32 PM, Thomas Falcon wrote: This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers if the MSR:LE value is set. Signed

Re: [Qemu-devel] [Qemu-ppc] [PATCH v4] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-02-28 Thread Thomas Falcon
On 02/28/2014 11:37 AM, Richard Henderson wrote: On 02/26/2014 02:51 PM, Thomas Falcon wrote: +void ppc_cpu_gdb_swap_register(uint8_t *mem_buf, int n) +{ +int len = ppc_cpu_gdb_register_len(n); +int i = 0; +uint8_t tmp; +for (i = 0; i len/2; i++) { +tmp = *(mem_buf + i

[Qemu-devel] [PATCH v6] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-02-28 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers if the MSR:LE value is set. Signed-off-by: Thomas Falcon tlfal

[Qemu-devel] [PATCH v5] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-02-27 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers if the MSR:LE value is set. Signed-off-by: Thomas Falcon tlfal

[Qemu-devel] [PATCH v4] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-02-26 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers if the MSR:LE value is set. Signed-off-by: Thomas Falcon tlfal

Re: [Qemu-devel] [PATCH v3] target-ppc: gdbstub allow byte swapping for, reading/writing registers

2014-01-20 Thread Thomas Falcon
On 01/20/2014 08:33 AM, Alexander Graf wrote: On 17.01.2014, at 22:02, Thomas Falcon tlfal...@linux.vnet.ibm.com wrote: This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal

[Qemu-devel] [PATCH v3] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-01-20 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers if the MSR:LE value is set. Signed-off-by: Thomas Falcon tlfal

[Qemu-devel] [PATCH v3] target-ppc: gdbstub allow byte swapping for, reading/writing registers

2014-01-17 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers if the MSR:LE value is set. Signed-off-by: Thomas Falcon tlfal

[Qemu-devel] [PATCH v2] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-01-16 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers if the MSR:LE value is set. Signed-off-by: Thomas

Re: [Qemu-devel] [PATCH v2] target-ppc: gdbstub allow byte swapping for reading/writing registers

2014-01-16 Thread Thomas Falcon
On 01/16/2014 11:10 AM, Alexander Graf wrote: On 16.01.2014, at 17:59, Thomas Falcon tlfal...@linux.vnet.ibm.com wrote: This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal

[Qemu-devel] [PATCH] gdbstub: allow byte swapping for reading/writing registers

2014-01-14 Thread Thomas Falcon
This patch allows registers to be properly read from and written to when using the gdbstub to debug a ppc guest running in little endian mode. It accomplishes this goal by byte swapping the values of any registers only if the MSR:LE value is set and if the host machine is big endian.

[Qemu-devel] [PATCH] gdbstub: allow byte swapping for reading/writing registers

2014-01-14 Thread Thomas Falcon
-by: Thomas Falcon tlfal...@linux.vnet.ibm.com --- target-ppc/gdbstub.c | 50 -- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/target-ppc/gdbstub.c b/target-ppc/gdbstub.c index 1c91090..eba501a 100644 --- a/target-ppc/gdbstub.c +++ b