Add tdesc osabi and architecture functions
authorAlan Hayward <alan.hayward@arm.com>
Wed, 18 Apr 2018 10:51:21 +0000 (11:51 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Wed, 18 Apr 2018 13:00:43 +0000 (14:00 +0100)
commitd278f585afe8e096e9232b8fd80404ab5fae5719
tree53550c54565f386592c024088a6f86c9832d59e0
parenteee8a18dd2d4b62ed5e03324b099508717886193
Add tdesc osabi and architecture functions

gdb/
* common/tdesc.h (tdesc_architecture_name): Add new declaration.
(tdesc_osabi_name): Likewise.
* target-descriptions.c (tdesc_architecture_name): Add new function.
(tdesc_osabi_name): Likewise.

gdbserver/
* tdesc.c (tdesc_architecture_name): Add new function.
(tdesc_osabi_name): Likewise.
(tdesc_get_features_xml): Use new functions.
gdb/ChangeLog
gdb/common/tdesc.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/tdesc.c
gdb/target-descriptions.c