Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Thiago Jung Bauermann <bauerman@br.ibm.com>
To: "Sérgio Durigan Júnior" <sergiodj@linux.vnet.ibm.com>
Cc: gdb ml <gdb@sourceware.org>, Luis Machado <luisgpm@linux.vnet.ibm.com>
Subject: Re: support for BookE hardware debug features
Date: Tue, 26 May 2009 14:28:00 -0000	[thread overview]
Message-ID: <1243348109.26330.1.camel@hactar> (raw)
In-Reply-To: <1243279194.24075.15.camel@miki>

Em Seg, 2009-05-25 às 16:19 -0300, Sérgio Durigan Júnior escreveu:
> On Sun, 2009-05-24 at 16:38 -0300, Thiago Jung Bauermann wrote:
> 
> > I implemented a "watch-range" command, which takes a start address (or
> > expression which evaluates to an address) and an end address (or
> > expression). Not sure if I'll keep it that way or change. Didn't think
> > much about it yet.
> 
> Just to complement (I don't know if it's worth mentioning, but
> anyway...) it seems we may have found a little bug regarding
> watchpoint's expression evaluation.  Basically, the problem was
> occurring when GDB tried to see if a block of memory changed in order to
> determine whether it should trigger the watchpoint.  GDB was basically
> comparing the address of this memory region, and not the content itself,
> which made it impossible to trigger the watchpoint.

Indeed. I was meaning to submit the fix as a separate patch, but I
forgot. Will regression test it and submit the fix ASAP.

> > We are just starting to work on the DVC (conditioned hw watchpoint), but
> > for now I'm inclined to use it automagically for simple expressions with
> > just one == or != operator. We're taking into account Joel's comments
> > and suggestions on this. Thanks Joel for your input!
> 
> That is what I was thinking, too.  I don't know if it's possible to use
> the DVC registers for more complex expressions, do you?

I think not, but I may be wrong. As we get more familiar with the
hardware feature, we'll see.
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center


      reply	other threads:[~2009-05-26 14:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-02 20:39 Thiago Jung Bauermann
2009-03-02 20:55 ` Joel Brobecker
2009-03-03 19:32   ` Thiago Jung Bauermann
2009-03-03 21:33     ` Joel Brobecker
2009-05-24 19:39 ` Thiago Jung Bauermann
2009-05-25 19:20   ` Sérgio Durigan Júnior
2009-05-26 14:28     ` Thiago Jung Bauermann [this message]

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=1243348109.26330.1.camel@hactar \
    --to=bauerman@br.ibm.com \
    --cc=gdb@sourceware.org \
    --cc=luisgpm@linux.vnet.ibm.com \
    --cc=sergiodj@linux.vnet.ibm.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