From: Pedro Alves <palves@redhat.com>
To: "Metzger, Markus T" <markus.t.metzger@intel.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH] btrace: diagnose "record btrace pt" without libipt
Date: Thu, 26 Nov 2015 09:43:00 -0000 [thread overview]
Message-ID: <5656D421.5010505@redhat.com> (raw)
In-Reply-To: <A78C989F6D9628469189715575E55B233322F94F@IRSMSX104.ger.corp.intel.com>
On 11/26/2015 07:12 AM, Metzger, Markus T wrote:
> -----Original Message-----
> From: Pedro Alves [mailto:palves@redhat.com]
> Sent: Wednesday, November 25, 2015 5:38 PM
> To: Metzger, Markus T <markus.t.metzger@intel.com>
> Cc: gdb-patches@sourceware.org
> Subject: Re: [PATCH] btrace: diagnose "record btrace pt" without libipt
>
>
>> It would be nice if GDB could detect that record btrace is already
>> enabled and push the record-btrace target automatically. I guess this
>> requires some indication about the record status from gdbserver. Is
>> there some other target that does this automatic push on (re-)connect that I could use as reference?
>
> E.g., linux-thread-db.c pushes itself from a new_objfile observer (thread_db_new_objfile), and the spu multiarch target pushes itself from an inferior_created observer (spu_multiarch_inferior_created).
>
> Thanks. I'll look into those examples. It'll take a bit but I don't think this is urgent.
Certainly not urgent.
>
>
> Are you OK to push the patch to avoid the internal error and handle the re-connect
> case in a separate series?
Yes.
>
> That patch might make sense for 7.10.1, as well. OK to push onto the 7.10 branch?
OK. In that case, as per standard procedure, please file a PR and
list it the 7.10 release wiki page.
Thanks,
Pedro Alves
prev parent reply other threads:[~2015-11-26 9:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-20 9:17 Markus Metzger
2015-11-20 11:31 ` Pedro Alves
2015-11-20 11:35 ` Pedro Alves
2015-11-20 12:11 ` Metzger, Markus T
2015-11-20 13:12 ` Pedro Alves
2015-11-20 13:59 ` Metzger, Markus T
2015-11-25 16:38 ` Pedro Alves
2015-11-26 7:12 ` Metzger, Markus T
2015-11-26 9:43 ` Pedro Alves [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=5656D421.5010505@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=markus.t.metzger@intel.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