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: 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


      


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