This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB remote debug on PowerPC 83xx board received "SIGTRAP".
- From: Daniel Jacobowitz <drow at false dot org>
- To: FCG WANG Baohua <Baohua dot WANG at alcatel-sbell dot com dot cn>
- Cc: gdb at sourceware dot org
- Date: Thu, 14 Dec 2006 08:48:54 -0500
- Subject: Re: GDB remote debug on PowerPC 83xx board received "SIGTRAP".
- References: <A9DE2BAF233E444FA9C5E77A5825A01E865148@ydmail.sbell.com.cn>
On Thu, Dec 14, 2006 at 03:54:32PM +0800, FCG WANG Baohua wrote:
> Dear All,
>
> I start a gdbserver on 83xx target, use gdb on host (x86) to connect
> it. It runs fine on main process, but If i set a breakpoint at
> App_init() function in child process, the GDB will show this
> information and program exit when program reach breakpoints in
> App_init().
What kind of child process is this? I think it's not really a separate
process, but another thread, from your description.
Make sure that "info shared" shows the correct shared library files,
that they have been loaded, and that they exactly match those on your
target. See "solib-absolute-prefix" to point GDB at the correct
libraries.
--
Daniel Jacobowitz
CodeSourcery