public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Amit.Lubovsky@infineon.com
Cc: gdb@sources.redhat.com
Subject: Re: gdb-5.3 on mips
Date: Tue, 03 Jun 2003 13:00:00 -0000	[thread overview]
Message-ID: <20030603130004.GB13483@nevyn.them.org> (raw)
In-Reply-To: <AD2F581BD7340A4C908AF1AFB066EA3B0E45F9@ntah901e.savan.com>

On Tue, Jun 03, 2003 at 03:34:14PM +0200, Amit.Lubovsky@infineon.com wrote:
> Hi,
> I need some help in order to guide me where to start...,
> my target is mips running uClinux I have compiled gdb-5.3,
> gdbserver and gdb for the host,
> 
> follows the output when I run gdb on the host, what happens is that
> I can't control the target process like setting  breakpoints 
> getting info and so on.
> 
> any help will be appreciated. 

This looks like a kernel bug on your target to me.

> (gdb) b main
> Sending packet: $m400220,4#f5...Ack
> Packet received: 00000000
> Breakpoint 1 at 0x400220

That's really unlikely.  Main should not start with a nop.  So ptrace
PEEKTEXT isn't working, which suggests that POKETEXT won't either.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

      reply	other threads:[~2003-06-03 13:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-03 12:35 Amit.Lubovsky
2003-06-03 13:00 ` Daniel Jacobowitz [this message]

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=20030603130004.GB13483@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=Amit.Lubovsky@infineon.com \
    --cc=gdb@sources.redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).