This is the mail archive of the gdb@sources.redhat.com 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: x86 hardware breakpoint question


> Date: Thu, 15 Nov 2001 12:59:27 -0500
> From: Steven Bauer <bauer@atlas.lcs.mit.edu>
> 
> Quick question, does gdb support hardware breakpoints on
> x86 architectures?

Current GDB snapshots and the pretest of GDB 5.1 should support
them.  What version do you use and on what platform?

> I have been trying to get them to work keep
> getting an unknown error. 
> 
> (gdb) hbreak   *0x80485d9    
> 
> ....
> 
> warning: Cannot insert breakpoint 3:
> Error accessing memory address 0x80485d9: Unknown error 4294967295.

What is at the address *0x80485d9?

(The unknown error simply says that the error code is -1, which means
GDB couldn't insert the breakpoint.)


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