This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] target attributes [3/5] GDB access support


Ping in http://www.sourceware.org/ml/gdb-patches/2012-08/msg00842.html

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]