Re: [Qemu-devel] [PATCH] gdbstub: Support AUXV packet for debugging PIE executables.

2014-12-25 Thread Wei-cheng Wang
Ping :) Thanks, Wei-cheng On 11/28/2014 12:57 AM, Paolo Bonzini wrote: CCing Riku Voipio for a review. Paolo On 23/11/2014 14:28, Wei-cheng, Wang wrote: Hi, This patch adds support for sending AUXV packet. This is required for debugging Linux position independent executables. Otherwise

Re: [Qemu-devel] [PATCH] gdbstub: Convert gdb-signal to target signal when continuing.

2014-11-23 Thread Wei-cheng Wang
Never mind. I just found Martin Simmons fixed the same issue. On Sun, Nov 23, 2014 at 9:30 PM, Wei-cheng, Wang wrote: > Ping? > > > On 10/27/2014 12:58 AM, Wei-cheng Wang wrote: >> >> QEMU should convert signal number reciving from GDB cilent >> from gdb-signal

Re: [Qemu-devel] [PATCH] gdbstub: Convert gdb-signal to target signal when continuing.

2014-11-23 Thread Wei-cheng, Wang
Ping? On 10/27/2014 12:58 AM, Wei-cheng Wang wrote: QEMU should convert signal number reciving from GDB cilent from gdb-signal number to target sginal number - using gdb_signal_to_target(). In this case, GDB_SIG_BUS is 10. However, 10 is SIGUSR1 for target. So QEMU continues with the wrong

[Qemu-devel] [PATCH] gdbstub: Support AUXV packet for debugging PIE executables.

2014-11-23 Thread Wei-cheng, Wang
Hi, This patch adds support for sending AUXV packet. This is required for debugging Linux position independent executables. Otherwise, gdb client cannot find out where the executable is loaded. Signed-off-by: Wei-cheng, Wang --- gdbstub.c | 41 + 1 file

[Qemu-devel] [PATCH] gdbstub: Convert gdb-signal to target signal when continuing.

2014-10-26 Thread Wei-cheng Wang
() (gdb) c Continuing. Program terminated with signal SIGUSR1, User defined signal 1. ^^^ The program no longer exists. (gdb) Thansk, Wei-cheng Wang From: Cole Wang Date: Mon, 27 Oct 2014 00:33:18 +0800 Subject: [PATCH] gdbstub: Convert gdb-signal to target s