GDB remote debug on PowerPC 83xx board received "SIGTRAP".

Daniel Jacobowitz drow@false.org
Thu Dec 14 13:49:00 GMT 2006


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



More information about the Gdb mailing list