This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/4] make probes independent of the program space
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 05 Dec 2013 17:10:47 +0000
- Subject: Re: [PATCH 0/4] make probes independent of the program space
- Authentication-results: sourceware.org; auth=none
- References: <1386100019-27379-1-git-send-email-tromey at redhat dot com>
On 12/03/2013 07:46 PM, Tom Tromey wrote:
> This patch series changes SystemTap probes to be independent of the
> program space, and then to be stored in the per-BFD object. That way,
> they can be shared by all objfiles referring to a given BFD. This
> saves memory and perhaps a bit of time, in the multi-inferior case.
>
> This is based on my similar patch series to make minimal symbols
> independent of the program space:
>
> https://sourceware.org/ml/gdb-patches/2013-10/msg00521.html
>
> This is part of the obj file splitting project:
>
> https://sourceware.org/gdb/wiki/ObjfileSplitting
>
> I built and regtested the series on x86-64 Fedora 18.
I read this series, and it looked excellent to me.
I only wondered whether sal.objfile should be named
sal.probe_objfile to avoid confusion, but I realized that
down the road sal.objfile will probably end up set when
sal.symtab is too, so I understand that choice. Or at
least, I think I do. :-)
--
Pedro Alves