Hello.

Jason Wessel wrote:

> I rolled up several patches along with my changes to fix HW breakpoints 
> on x86_64 and i386.   I also deprecated some of the #defines in favor of 
> using the kgdb_ops to control the HW breakpoints for other non IA archs 
> at the point that these are implemented.
> 
> Until such time that there is a common interface for kernel HW 
> breakpoints, if a user space application uses HW breakpoints the kernel 
> breakpoints will disappear.  I tested execution, data access and data 
> write breakpoints and all work with gdb 6.6.

> If there are no objections, I am going to replace the i386.patch with 
> i386_hw_breakpoints.patch and x86_64_breakpoints.patch and merge the 
> core changes for arch breakpoints to core-lite.patch.

    Unfortunately, h/w watchpoints don't seem to work on x86_64. That's what 
I'm getting with 2.6.21.5-rt10 and gdb 6.5.50:

(gdb) watch jiffies
Hardware watchpoint 2: jiffies
(gdb) c
Continuing.
warning: Could not remove hardware watchpoint 2.
Warning:
Could not insert hardware watchpoint 2.
Could not insert hardware breakpoints:
You may have requested too many hardware breakpoints/watchpoints.

WBR, Sergei

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to