diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-03-01 11:03:25 +0000 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-03-01 11:03:25 +0000 |
commit | a2303a6ba747046fcb9f848a76ee66d7fce23417 (patch) | |
tree | cff5909678f0f243fa84fb3936e8aae2eb55ede6 /gdb/progspace-and-thread.h | |
parent | 5d5e92d9e071dc9d92934c2b62c25d006be465a5 (diff) | |
download | gdb-a2303a6ba747046fcb9f848a76ee66d7fce23417.zip gdb-a2303a6ba747046fcb9f848a76ee66d7fce23417.tar.gz gdb-a2303a6ba747046fcb9f848a76ee66d7fce23417.tar.bz2 |
[PATCH v3 5/8] Add tdesc osabi and architecture functions
Add functions to access to printable names for osabi and architecture in
target_desc.
I wanted to add these as member functions of target_desc, but cannot until
target_desc is moved into the header files.
Alan.
2018-03-01 Alan Hayward <alan.hayward@arm.com>
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.
gdb/gdbserver/
* tdesc.c (tdesc_architecture_name): Add new function.
(tdesc_osabi_name): Likewise.
(tdesc_get_features_xml): Use new functions.
Diffstat (limited to 'gdb/progspace-and-thread.h')
0 files changed, 0 insertions, 0 deletions