Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: DeD MustDIE <dedmustdie@gmail.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb@sourceware.org
Subject: Re: How to enable hardware breakpoint support
Date: Thu, 18 Nov 2010 13:19:00 -0000	[thread overview]
Message-ID: <AANLkTi=uGwtsY7aRKWsqSaKU5a51RVw6S7t0ryrcCByH@mail.gmail.com> (raw)
In-Reply-To: <201011181132.20789.pedro@codesourcery.com>

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
>


  reply	other threads:[~2010-11-18 13:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18  9:33 DeD MustDIE
2010-11-18 11:32 ` Pedro Alves
2010-11-18 13:19   ` DeD MustDIE [this message]
2010-11-18 13:43     ` Pedro Alves
2010-11-18 14:38       ` Pedro Alves
2010-11-24  8:21         ` DeD MustDIE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=uGwtsY7aRKWsqSaKU5a51RVw6S7t0ryrcCByH@mail.gmail.com' \
    --to=dedmustdie@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=pedro@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox