Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Ulisses Furquim" <ulissesf@gmail.com>
To: gdb@sourceware.org
Cc: "Ulisses Furquim" <ulissesf@gmail.com>
Subject: Re: Watchpoints in an ARM platform
Date: Thu, 31 May 2007 18:30:00 -0000	[thread overview]
Message-ID: <d23110170705311130h522897d8vca4300e575d6e8d7@mail.gmail.com> (raw)
In-Reply-To: <20070531170329.GA23197@localhost.localdomain>

Hi Daniel,

On 5/31/07, Daniel Jacobowitz <drow@false.org> wrote:
> Correct.  ARM Linux has no support for hardware watchpoints; I don't
> think any ARM platform has watchpoints that can be used in user space
> like i386 / ppc do.  It might be possible to expose the same
> watchpoint controller that JTAG would use though.

Ok, thanks.

> > continue and it correctly stops the program the first time, but when I
> > continue again something goes wrong and gdb gets confused. Do you have
> > any idea why this happens? Am I missing anything here?
>
> A software watchpoint is implemented by repeatedly single stepping.
> You've stepped into something that confused GDB, probably the start of
> a PLT stub for a function from a dynamic library.  I thought recent
> ARM GDB would recognize those stubs fine, but I guess something has
> gone wrong.

Hmm.. a function from a dynamic library? Are you sure? I had only a
simple loop where variable "i" was incremented and then I was printing
something.

Regards,

-- Ulisses


      reply	other threads:[~2007-05-31 18:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31 10:18 Ulisses Furquim
2007-05-31 17:23 ` Daniel Jacobowitz
2007-05-31 18:30   ` Ulisses Furquim [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=d23110170705311130h522897d8vca4300e575d6e8d7@mail.gmail.com \
    --to=ulissesf@gmail.com \
    --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