Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: vinay hegde <thisismevinay@yahoo.co.in>
To: gdb@sourceware.org
Cc: thisismevinay@yahoo.co.in
Subject: gdbserver-6.3 issue
Date: Fri, 16 Jun 2006 12:37:00 -0000	[thread overview]
Message-ID: <20060616043606.1978.qmail@web8403.mail.in.yahoo.com> (raw)

Hi, 

I am using a x86 host and a PPC target to test the
gdb-6.3. But, in the gdb session, I get "segmentation
fault" error. I do the following to test the gdb:

1. Boot the target.
2. Copy the test program (simple hello world) on the
target.
3. Issue the following command on the target:
     gdbserver :1234 ./test
4. On the host, launch gdb session.
     gdb ./test
5. In the gdb session, issue following:
     > target extended-remote <target ip>:1234

Then, I get following output:

>>>>>>>>>>>
(gdb) target extended-remote 192.168.4.16:1234
Remote debugging using 192.168.4.16:1234
warning: Remote sent bad register number 64: 300103dc;
Packet: 'T0501:7fa1ee50;40:300103dc;'

warning: Remote register badly formatted:
T0501:7fa1ee50;40:300103dc;
warning:             here: 103dc;
warning: Malformed packet(b) (missing colon):
Packet: 'T0501:7fa1ee50;40:300103dc;'

warning: Remote sent bad register number 66524:
Packet: 'T0501:7fa1ee50;40:300103dc;'

Segmentation fault
<<<<<<<<<<<<<

Can somebody please help in this regard? I browsed
through remote.c and linux-low.c files, but can't see
anything wrong.

Thanks,
Vinay.





		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn
something new
http://in.answers.yahoo.com/


		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/


             reply	other threads:[~2006-06-16  4:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-16 12:37 vinay hegde [this message]
2006-06-16 23:31 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060616043606.1978.qmail@web8403.mail.in.yahoo.com \
    --to=thisismevinay@yahoo.co.in \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox