diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-12-11 17:06:35 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-12-14 10:54:21 +0000 |
commit | 132874d7e3c94d8cc6f865b57f286cf62e5ad0b8 (patch) | |
tree | c40a4ed4653090e95bd0ac1b57d8095d76ab99f6 /gdb/gdb_expat.h | |
parent | 92e18d93433197e0cee12366b17297a984e76bd8 (diff) | |
download | gdb-132874d7e3c94d8cc6f865b57f286cf62e5ad0b8.zip gdb-132874d7e3c94d8cc6f865b57f286cf62e5ad0b8.tar.gz gdb-132874d7e3c94d8cc6f865b57f286cf62e5ad0b8.tar.bz2 |
gdb: Use TYPE_LENGTH macro
Fixes a couple of places where we access the length field of the type
structure directly, rather than using the TYPE_LENGTH macro.
gdb/ChangeLog:
* i386-tdep.c (i386_mpx_info_bounds): Use TYPE_LENGTH.
(i386_mpx_set_bounds): Likewise.
* solib-darwin.c (darwin_load_image_infos): Likewise.
(darwin_solib_read_all_image_info_addr): Likewise.
Diffstat (limited to 'gdb/gdb_expat.h')
0 files changed, 0 insertions, 0 deletions