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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
-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
22 matches
Mail list logo