From: Pedro Alves <pedro@codesourcery.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Tristan Gingold <gingold@adacore.com>,
gdb-patches@sourceware.org, Yao Qi <yao@codesourcery.com>
Subject: Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode
Date: Mon, 12 Dec 2011 11:53:00 -0000 [thread overview]
Message-ID: <201112121120.31827.pedro@codesourcery.com> (raw)
In-Reply-To: <20111211203257.GA21456@host2.jankratochvil.net>
On Sunday 11 December 2011 20:32:57, Jan Kratochvil wrote:
> On Fri, 09 Dec 2011 17:30:20 +0100, Pedro Alves wrote:
> > On Monday 05 December 2011 20:25:13, Jan Kratochvil wrote:
> > > The patchset
> > > [patch 0/4] hw watchpoints across fork() + multi-inf
> > >
> > > which I am rebasing now on top of HEAD which already reimplements its part by
> > > commit 96fd921972966166fda0eb300bfa4e5479f3b31f
> > > Author: Pedro Alves <pedro@codesourcery.com>
> > > Date: Fri Jul 22 16:58:30 2011 +0000
> > > http://sourceware.org/ml/gdb-patches/2011-07/msg00586.html
> >
> > You mean you were already pulling in this non-stop change from
> > gdbserver? :-(
>
> Last time you stopped that patchset due to referenced merging with gdbserver
> http://sourceware.org/ml/gdb-patches/2010-12/msg00348.html
As seen on that email, the main objections were:
" 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. "
" 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...
> which AFAIK Yao Qi was working on but which has not yet happened, so not sure
> how more years it cannot get merged.
The patches I mentioned that would move some shareable bits of
gdb and gdbserver into common/, seeding the way to duplication
removal were Kwok's. They are in now. Note, seeding, not getting
rid of the all the duplication. Yao's common/ work earlier in the year
was a personal effort, AFAIK.
> It was probably my wrong assumption for
> the last year the i386-nat.c merging with gdbserver was being worked on while
> in fact you only mentioned it would be good to do.
Right. There's chances I may be able to help with the effort of merging
target side code between gdb and gdbserver next year, but no promises.
AFAICS, Ulrich has actually been quietly taking the lead, pushing
to gdbserver features currently only native debugging supports.
> > --- a/gdb/mi/mi-main.c
> > +++ b/gdb/mi/mi-main.c
> > @@ -1743,12 +1743,11 @@ mi_cmd_list_target_features (char *command, char **argv, int argc)
> > struct cleanup *cleanup = NULL;
> > struct ui_out *uiout = current_uiout;
> >
> > - cleanup = make_cleanup_ui_out_list_begin_end (uiout, "features");
> > + cleanup = make_cleanup_ui_out_list_begin_end (uiout, "features");
> > if (target_can_async_p ())
> > ui_out_field_string (uiout, NULL, "async");
> > if (target_can_execute_reverse)
> > ui_out_field_string (uiout, NULL, "reverse");
> > -
> > do_cleanups (cleanup);
> > return;
> > }
>
> Unrelated whitespace cleanup only. Not present in the ChangeLog.
Whoops. Not supposed to be there. Thanks.
--
Pedro Alves
next prev parent reply other threads:[~2011-12-12 11:21 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 [this message]
2011-12-12 14:49 ` Jan Kratochvil
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=201112121120.31827.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=gingold@adacore.com \
--cc=jan.kratochvil@redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).