[PATCH 1/2] new memory-changed MI notification.
Yao Qi
yao@codesourcery.com
Fri Sep 28 07:58:00 GMT 2012
On 09/28/2012 03:36 PM, Eli Zaretskii wrote:
> If @var{type} can only be "code", then I suggest to say
>
> ...[,type=code]
>
> explicitly.
>
@var{type} can only "code" nowadays, but I am wondering we may have
other types, such as "data", in the future. I don't want to give the
consumer of this notification an impression that "type=code" is
hard-coded into notification. If we don't have to worry about it at
all, "[,type=code]" is fine to me.
> Btw, why "code"? If this is the name of the section, it should be
> ".text", not code.
From the consumer of this notification's point of view, 'type' is more
useful than 'name', because the consumer may don't know what ".text"
section is, or on some ports, text section is not named as ".text", such
as section ".text_vle" for VLE.
--
Yao
More information about the Gdb-patches
mailing list