From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: jan.kratochvil@redhat.com (Jan Kratochvil)
Cc: gdb-patches@sourceware.org, drow@false.org (Daniel Jacobowitz)
Subject: Re: [patch] Fix hw watchpoints regression on i386/x86_64/ia64
Date: Wed, 17 Dec 2008 20:13:00 -0000 [thread overview]
Message-ID: <200812172012.mBHKCDY5006031@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <20081208083759.GA18359@host0.dyn.jankratochvil.net> from "Jan Kratochvil" at Dec 08, 2008 09:37:59 AM
Jan Kratochvil wrote:
> 2008-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Fix hw watchpoints created before the inferior was started.
> * breakpoint.c (update_watchpoint): Convert the bp_watchpoint and
> bp_hardware_watchpoint types according to the current runtime state.
>
> 2008-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
This seems reasonable to me. One minor issue:
> + /* Hack around 'unused var' error for some targets here. */
> + (void) i;
Is this really necessary? The other callers of
TARGET_CAN_USE_HARDWARE_WATCHPOINT don't do that either ...
> +if {![istarget "i?86-*-*"] && ![istarget "x86_64-*-*"] && ![istarget "ia64-*-*"]
> + && ![istarget "s390*-*-*"]} then {
> + verbose "Skipping watchpoint-hw test."
> + return
> +}
This test case should respect [target_info exists gdb,no_hardware_watchpoints].
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
next prev parent reply other threads:[~2008-12-17 20:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-07 22:38 Jan Kratochvil
2008-12-08 8:39 ` Jan Kratochvil
2008-12-17 20:13 ` Ulrich Weigand [this message]
2008-12-21 15:12 ` Jan Kratochvil
2008-12-21 15:37 ` Daniel Jacobowitz
2008-12-21 19:04 ` Jan Kratochvil
2008-12-21 16:16 ` Andreas Schwab
2008-12-21 17:12 ` [ob] Remove bug-gdb@prep.ai.mit.edu (PR 8648) [Re: [patch] Fix hw watchpoints regression on i386/x86_64/ia64] Jan Kratochvil
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=200812172012.mBHKCDY5006031@d12av02.megacenter.de.ibm.com \
--to=uweigand@de.ibm.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.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