Does hardware watchpoint work on Linux/x86-64?

Daniel Jacobowitz drow@false.org
Wed Apr 16 23:00:00 GMT 2008


Yes, hardware watchpoints work on x86-64.

On Wed, Apr 16, 2008 at 03:05:23PM -0700, H.J. Lu wrote:
> (gdb) watch section_headers
> During symbol reading, DW_AT_type missing from DW_TAG_subrange_type.
> Watchpoint 1: section_headers

Figure out what sort of symbol GDB thinks this is.  It thinks it's too
complicated to use a hardware watchpoint for.  Does it have a location
list (odd for a global variable)?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list