Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andreas Schwab <schwab@suse.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc, rfa/doc] Multi-threaded watchpoint improvements
Date: Wed, 23 Apr 2008 19:46:00 -0000	[thread overview]
Message-ID: <u63u8a23q.fsf@gnu.org> (raw)
In-Reply-To: <jeiqy8sty4.fsf@sykes.suse.de>

> From: Andreas Schwab <schwab@suse.de>
> Date: Wed, 23 Apr 2008 13:15:47 +0200
> 
> Here's a patch.  OK?
> 
> Andreas.
> 
> 2008-04-23  Andreas Schwab  <schwab@suse.de>
> 
> 	* target.h (struct target_ops): Add
> 	to_watchpoint_addr_within_range.
> 	(target_watchpoint_addr_within_range): New function.
> 	* target.c (update_current_target): Inherit
> 	to_watchpoint_addr_within_range, defaulting to
> 	default_watchpoint_addr_within_range.
> 	(default_watchpoint_addr_within_range): New function.
> 	(debug_to_watchpoint_addr_within_range): New function.
> 	(setup_target_debug): Set to_watchpoint_addr_within_range.
> 	* ppc-linux-nat.c (ppc_linux_watchpoint_addr_within_range):
> 	New function.
> 	(_initialize_ppc_linux_nat): Set to_watchpoint_addr_within_range.
> 	* breakpoint.c (watchpoints_triggered): Use
> 	target_watchpoint_addr_within_range.
> 
> doc/:
> 	* gdbint.texinfo (Algorithms): Describe
> 	target_watchpoint_addr_within_range.

The patch to gdbint.texinfo is approved, with one comment:

> +Check whether @var{addr} (as returned by target_stopped_data_address)

target_stopped_data_address should have the @code markup, since it's a
C symbol.

> +                              This only needs to be provided if the
> +granularity of a watchpoint is greater than one byte

Strictly speaking, I think it's needed only if watchpoint's
granularity is greater than the granularity of data addresses, but
that's nitpicking.


  reply	other threads:[~2008-04-23 17:55 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-16 18:40 Daniel Jacobowitz
2007-09-22  9:03 ` Eli Zaretskii
2007-09-22 14:04   ` Daniel Jacobowitz
2007-09-22 14:13     ` Eli Zaretskii
2007-09-22 15:37       ` Daniel Jacobowitz
2007-09-22 15:46         ` Eli Zaretskii
2007-09-22 18:28           ` Daniel Jacobowitz
2007-10-01  0:20 ` Daniel Jacobowitz
2007-10-24 14:59   ` Luis Machado
2007-10-24 16:00     ` Daniel Jacobowitz
2007-10-24 16:42       ` Luis Machado
2007-10-24 16:51         ` Daniel Jacobowitz
2007-10-24 18:08           ` Luis Machado
2007-10-24 18:20             ` Daniel Jacobowitz
2008-04-16 22:57   ` Andreas Schwab
2008-04-16 23:05     ` Daniel Jacobowitz
2008-04-16 23:18       ` Andreas Schwab
2008-04-17  0:25         ` Daniel Jacobowitz
2008-04-17  9:52           ` Andreas Schwab
2008-04-17  9:59             ` Andreas Schwab
2008-04-17 10:17           ` Andreas Schwab
2008-04-17 14:53             ` Daniel Jacobowitz
2008-04-20  2:35               ` Andreas Schwab
2008-04-23 11:55                 ` Andreas Schwab
2008-04-23 19:46                   ` Eli Zaretskii [this message]
2008-05-01 19:30                   ` Daniel Jacobowitz
2008-05-01 19:50       ` Luis Machado

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=u63u8a23q.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=schwab@suse.de \
    /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