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: Watchpoints in an ARM platform


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


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