This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH, mi] Add memory ranges to -library-loaded events
- From: Pedro Alves <palves at redhat dot com>
- To: lgustavo at codesourcery dot com
- Cc: "'gdb-patches at sourceware dot org'" <gdb-patches at sourceware dot org>
- Date: Mon, 22 Apr 2013 15:46:40 +0100
- Subject: Re: [PATCH, mi] Add memory ranges to -library-loaded events
- References: <517517F6 dot 2060909 at codesourcery dot com>
On 04/22/2013 11:59 AM, Luis Machado wrote:
> This patch extends the information exported by -library-loaded events to the upper layers by adding two more fields.
>
> These fields are the low address and high address of the loaded library, indicating exactly where it was loaded in memory.
A library can have multiple segments, and they might well not be contiguous.
> I didn't see any explicit tests for -library-loaded events. We mostly just recognize that it is there, but ignore its contents completely. So no testcase for this one.
>
> A NEWS entry was added and the documentation was updated to reflect the new fields.
These fields were present in the initial -library-loaded event
submission, but didn't pass review:
http://sourceware.org/ml/gdb-patches/2009-02/msg00002.html
Please when pushing local patches always look up prior discussions and
refer to them.
As is, there doesn't seem to be any new justification to add
these new MI fields.
--
Pedro Alves