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: How to enable hardware breakpoint support


On Thursday 18 November 2010 13:43:24, Pedro Alves wrote:
> On Thursday 18 November 2010 13:18:55, DeD MustDIE wrote:
> > Thank you.
> > I was not careful. On workstation (Ubuntu) hardware breakpoints work
> > fine. I really forgot to run program.
> > But on server (FreeBSD) hardware breakpoints still not working.
> 
> AFAICS, an x86 FBSD gdb should support hardware breakpoints and
> watchpoints.  I don't see an x64_64/amd64 FreeBSD port in the FSF GDB
> tree, so it may be your GDB has local changes to support it
> that missed adding the HW breakpoint support.

Actually, that's nonsense.  There's an x86_64-freebsd port in mainline
indeed.   But, it doesn't seem to install the necessary hooks for
hardware breakpoints or watchpoints support.  Don't know
more than that though.  And I didn't check older gdb's either.

-- 
Pedro Alves


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