public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gdbserver: Child terminated with signal = 5
@ 2006-07-25  3:31 veinson.fu
  2006-07-25  4:09 ` Christopher Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: veinson.fu @ 2006-07-25  3:31 UTC (permalink / raw)
  To: cygwin

i use gdb6.4  for remote debug between windows-xp(gdb) and linux(gdbserver).
the gdb of windows-xp is recompiled by gcc of cygwin and
the gdbserver of linux is also recompiled on linux.

but i occure two problems.
1. when i set a breakpoint in my source-code(no multithread) at client, the 
target(gdbserver) receive one message that mean "Wrong sized register packet 
(expected 624 bytes, got 616)"
2. when i set a breakpoint in my source-code(has two threads) at client, the 
target(gdbserver) receive one message that mean "Child terminated with 
signal = 0x5" and then Gdbserve exits.

can somebody give me some help ?
thanks! 




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gdbserver: Child terminated with signal = 5
  2006-07-25  3:31 gdbserver: Child terminated with signal = 5 veinson.fu
@ 2006-07-25  4:09 ` Christopher Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2006-07-25  4:09 UTC (permalink / raw)
  To: cygwin

On Tue, Jul 25, 2006 at 10:25:13AM +0800, veinson.fu wrote:
>i use gdb6.4  for remote debug between windows-xp(gdb) and linux(gdbserver).
>the gdb of windows-xp is recompiled by gcc of cygwin and
>the gdbserver of linux is also recompiled on linux.
>
>but i occure two problems.
>1. when i set a breakpoint in my source-code(no multithread) at client, the 
>target(gdbserver) receive one message that mean "Wrong sized register packet 
>(expected 624 bytes, got 616)"
>2. when i set a breakpoint in my source-code(has two threads) at client, the 
>target(gdbserver) receive one message that mean "Child terminated with 
>signal = 0x5" and then Gdbserve exits.
>
>can somebody give me some help ?

It's not likely that anyone here will be able to help with gdb.
gdb has its own mailing list:

gdb
at
sourceware
dot
org

You should send a query there.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-25  3:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-25  3:31 gdbserver: Child terminated with signal = 5 veinson.fu
2006-07-25  4:09 ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).