This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to enable hardware breakpoint support
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.
On Thu, Nov 18, 2010 at 14:32, Pedro Alves <pedro@codesourcery.com> wrote:
> On Thursday 18 November 2010 09:33:19, DeD MustDIE wrote:
>
>> GBD can set only software breakpoint but not hardware.
>>
>> Example:
>>
>> gdb -q `which df`
>>
>> (gdb) hb *0x400d70
>> No hardware breakpoint support in the target.
>
> Run to main first, for example with the "start" command.
> Then it should work.
>
> --
> Pedro Alves
>