This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]