From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: Tristan Gingold <gingold@adacore.com>,
gdb-patches@sourceware.org, Yao Qi <yao@codesourcery.com>,
Doug Evans <dje@google.com>
Subject: Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode
Date: Mon, 12 Dec 2011 14:49:00 -0000 [thread overview]
Message-ID: <20111212125221.GA11453@host2.jankratochvil.net> (raw)
In-Reply-To: <201112121120.31827.pedro@codesourcery.com>
On Mon, 12 Dec 2011 12:20:31 +0100, Pedro Alves wrote:
> " gdbserver already has a per-process structure for the debug registers,
> yet, your implementation is different, which makes it gratuitously harder
> to share and move code between the gdb and gdbserver implementations. "
While I agree that current FSF GDB state is what it is and I have to new gdb
patch the same as the checked-in gdbserver patch it was chronologically the
opposite way as I stated in:
http://sourceware.org/ml/gdb-patches/2011-01/msg00561.html
The Doug's gdbserver patch was posted 18 months after the gdb patch of mine
being ignored.
> " gdbserver gets away without the iteration over all threads setting the
> debug registers synchronously, which merged to native gdb, I think
> could get rid of some of the churn in your patches, I think, in addition
> to fixing watchpoints in non-stop mode (PR10729). "
>
> The latter is what my patch now brings to gdb. In my mind, I was even
> helping get those patches closer to being mainlined...
Therefore:
* I will rebase the 2007 patch on this 2011 non-stop patch of yours.
* I will rename structures of the 2007 patch to the 2009 gdbserver one.
* Depending on how feasible it will be I will then unify the structures into
gdb/common/ as nobody else is working on this part now.
I hope this plan is OK to get the 2007 patch checked in.
I do not understand why to deal with watchpoints as they still do not work
even for GDB-on-GDB debugging as they stop working already during the
grand-inferior fork. Moreover the same happens with any desktop apps.
Regards,
Jan
next prev parent reply other threads:[~2011-12-12 12:53 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-05 16:46 Pedro Alves
2011-12-05 17:06 ` Eli Zaretskii
2011-12-09 16:30 ` New tests to watch regions larger than a machine word (Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode) Pedro Alves
2011-12-09 19:11 ` Eli Zaretskii
2011-12-13 16:12 ` Pedro Alves
2011-12-05 21:24 ` [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode Jan Kratochvil
2011-12-09 16:45 ` Pedro Alves
2011-12-09 16:47 ` Tristan Gingold
2011-12-09 19:23 ` Eli Zaretskii
2011-12-13 16:26 ` Pedro Alves
2011-12-11 23:39 ` Jan Kratochvil
2011-12-12 11:53 ` Pedro Alves
2011-12-12 14:49 ` Jan Kratochvil [this message]
2011-12-12 0:14 ` Jan Kratochvil
2011-12-12 17:23 ` Pedro Alves
2011-12-12 18:38 ` Jan Kratochvil
2011-12-12 20:14 ` Jan Kratochvil
2011-12-12 20:30 ` Pedro Alves
2011-12-13 17:24 ` Jan Kratochvil
2011-12-13 18:49 ` Pedro Alves
2011-12-13 19:25 ` Jan Kratochvil
2011-12-16 16:16 ` Pedro Alves
2012-01-20 19:51 ` testsuite: native/non-extended/extended modes [Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode] Jan Kratochvil
2012-01-20 19:53 ` Pedro Alves
2012-01-20 19:57 ` Jan Kratochvil
2011-12-12 20:34 ` [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode Pedro Alves
2011-12-12 21:39 ` Jan Kratochvil
2011-12-13 16:21 ` Fix PR remote/13492 (Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode) Pedro Alves
2011-12-13 17:23 ` Fix PR remote/13492 Jan Kratochvil
2011-12-13 16:33 ` [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode Pedro Alves
2011-12-13 18:57 ` Jan Kratochvil
2011-12-14 17:35 ` Pedro Alves
2011-12-14 17:42 ` Pedro Alves
2011-12-15 8:48 ` Regression for T (Stopped) processes [Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode] Jan Kratochvil
2011-12-15 12:44 ` Pedro Alves
2011-12-15 15:33 ` Jan Kratochvil
2011-12-13 22:27 ` [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode 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=20111212125221.GA11453@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=gingold@adacore.com \
--cc=pedro@codesourcery.com \
--cc=yao@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