This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] target attributes [3/5] GDB access support
- From: Hui Zhu <teawater at gmail dot com>
- To: Hui Zhu <hui_zhu at mentor dot com>
- Cc: gdb-patches at sourceware dot org, Stan Shebs <stan_shebs at mentor dot com>
- Date: Mon, 18 Feb 2013 18:03:00 +0800
- Subject: Re: [PATCH] target attributes [3/5] GDB access support
- References: <503DCED4.7000707@mentor.com>
Ping.
Thanks,
Hui
On Wed, Aug 29, 2012 at 4:12 PM, Hui Zhu <hui_zhu@mentor.com> wrote:
> This patch add the target attributes support to let GDB access them as
> internal variables.
>
>
> Thanks,
> Hui
>
> 2012-08-29 Hui Zhu <hui_zhu@mentor.com>
>
> * remote.c (remote_get_target_attribute_value,
> remote_set_target_attribute_value): New functions.
> (init_remote_ops): Set remote_ops.to_get_target_attribute_value
> and remote_ops.to_set_target_attribute_value.
> * target.c (update_current_target): Set
> to_get_target_attribute_value and to_set_target_attribute_value.
> * target.h (target_ops): Add to_get_target_attribute_value and
> to_set_target_attribute_value.
> (target_get_target_attribute_value,
> target_set_target_attribute_value): New macros.
> * value.c (target-attributes.h): New include.
> (value_of_internalvar): Add handler for target attributes.
> (set_internalvar): Ditto.