Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: Why no hwatch command in gdb ?
@ 2011-03-10  8:23 paawan oza
  0 siblings, 0 replies; 16+ messages in thread
From: paawan oza @ 2011-03-10  8:23 UTC (permalink / raw)
  To: robert song; +Cc: gdb



gdb uses HW debug registers HW support is there; and most of the processors have 

it.

just need to change configuration internal to gdb;

set can-use-hw-watchpoint.. 1


then when you watch; it will set as many watchpoints as many debug registers 
available.

regards,
Oza.



----- Original Message ----
From: robert song <robertsong.japan@gmail.com>
To: gdb@sourceware.org
Sent: Thu, March 10, 2011 12:55:18 PM
Subject: Why no hwatch command in gdb ?

Hi, everyone.

In gdb command line, we can use break or hbreak to set breakpoint or
hardware breakpoint.

But I can only find watch command without hardware watch command, so
why watchpoint and breakpoint command are not united?

Regards,
  robert


      


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Why no hwatch command in gdb ?
@ 2011-03-10  7:25 robert song
  2011-03-10  8:12 ` Jan Kratochvil
  0 siblings, 1 reply; 16+ messages in thread
From: robert song @ 2011-03-10  7:25 UTC (permalink / raw)
  To: gdb

Hi, everyone.

In gdb command line, we can use break or hbreak to set breakpoint or
hardware breakpoint.

But I can only find watch command without hardware watch command, so
why watchpoint and breakpoint command are not united?

Regards,
  robert


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

end of thread, other threads:[~2011-03-11 17:48 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-10  8:23 Why no hwatch command in gdb ? paawan oza
  -- strict thread matches above, loose matches on Subject: below --
2011-03-10  7:25 robert song
2011-03-10  8:12 ` Jan Kratochvil
2011-03-10 10:09   ` robert song
2011-03-10 10:34     ` Jan Kratochvil
2011-03-10 11:26       ` Eli Zaretskii
2011-03-10 11:34         ` Joel Brobecker
2011-03-10 12:27           ` Pedro Alves
2011-03-10 11:55         ` Jan Kratochvil
2011-03-10 14:47           ` Frank Ch. Eigler
2011-03-10 12:18       ` robert song
2011-03-10 13:45         ` Jan Kratochvil
2011-03-10 14:47           ` Philippe Waroquiers
2011-03-10 21:04             ` Tom Tromey
2011-03-11  7:58               ` Philippe Waroquiers
2011-03-11 17:48           ` Daniel Jacobowitz

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