This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Why no hwatch command in gdb ?
- From: paawan oza <paawan1982 at yahoo dot com>
- To: robert song <robertsong dot japan at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Thu, 10 Mar 2011 00:23:13 -0800 (PST)
- Subject: Re: Why no hwatch command in 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