Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* RE: [HELP]Can GDB for ARM set hard breakpoint when native debugging?
@ 2010-06-01 15:06 karthikeyan.s
  2010-06-01 15:18 ` Matthew Gretton-Dann
  0 siblings, 1 reply; 12+ messages in thread
From: karthikeyan.s @ 2010-06-01 15:06 UTC (permalink / raw)
  To: Will Deacon; +Cc: gdb, Matthew Gretton-Dann

Hi,
> I've had a go at implementing a backend for hardware watchpoints and breakpoints in the Kernel:
> http://lists.infradead.org/pipermail/linux-arm-kernel/2010-March/01117
> 0.html
Thanks.

>I'm hoping to submit a newer version of this patchset against 2.6.35.
>I'll add you on CC when I post it to the list. The main changes will be:
Thanks again! Looking forward to it.

> It's worth noting that using the context-id based watchpoint will
> almost certainly break in the case of ASID rollover for a process. It
> also won't allow you to install watchpoints on a per-thread basis afaict.
Yeah I agree. Not sure about the per-thread hypothesis.

>The HW-breakpoint framework inserts/removes breakpoints on context
>switch so the need for hardware assisted context id matching is removed.
This was my next step. I thought context id based implementation would
let me get familiar with what I am doing quickly and then I can take
up context-switch-time bkpt insertion.
But you beat me to it totally!

Going through your patch and will be trying it soon. At first sight,
seems the gdb changes aren't there in that link. Can you point me to
the gdb changes?

Thanks,
Karthik


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [HELP]Can GDB for ARM set hard breakpoint when native debugging?
@ 2010-05-28  6:00 xingxing pan
  2010-05-28  6:22 ` xingxing pan
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: xingxing pan @ 2010-05-28  6:00 UTC (permalink / raw)
  To: gdb

Hey guys, can GDB for ARM set hard breakpoint when native debugging?
I found GDB for i386 use the ptrace(POKE_USER,...) to set hard
breakpoint. But in ARM's code I can't find such similar facility.
Dose ARM has some hardware unit to support hard breakpoint?


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

end of thread, other threads:[~2010-06-13 13:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-01 15:06 [HELP]Can GDB for ARM set hard breakpoint when native debugging? karthikeyan.s
2010-06-01 15:18 ` Matthew Gretton-Dann
2010-06-03 11:39   ` karthikeyan.s
2010-06-03 11:54     ` Will Deacon
     [not found]     ` <-3629479195726626766@unknownmsgid>
2010-06-10 14:40       ` karthikeyan.s
2010-06-10 15:03         ` Will Deacon
     [not found]         ` <-2775908164685299161@unknownmsgid>
2010-06-13 13:00           ` karthikeyan.s
  -- strict thread matches above, loose matches on Subject: below --
2010-05-28  6:00 xingxing pan
2010-05-28  6:22 ` xingxing pan
2010-05-28  9:28 ` Matthew Gretton-Dann
     [not found]   ` <113ACA888B71994BB56E5CF3704953486BAA6A18D8@BGMAIL02.nvidia.com>
2010-06-01  9:06     ` Will Deacon
2010-05-28 11:20 ` Simon Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox