Re: Why no hwatch command in gdb ?

paawan oza
2011-03-10T08:23:20Z

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