diff options
author | Weimin Pan <weimin.pan@oracle.com> | 2019-12-20 22:30:17 +0000 |
---|---|---|
committer | Weimin Pan <weimin.pan@oracle.com> | 2019-12-20 22:30:17 +0000 |
commit | 1c7148dd0d370175b7ed6ef47de0a6958b1abac8 (patch) | |
tree | db7a70db661b3d6433ad0cb95032752cb258e91d /gdb/bfin-tdep.c | |
parent | 7f2d7a0d0d827788394ba7a5a8f4b6b4e0671a7c (diff) | |
download | gdb-1c7148dd0d370175b7ed6ef47de0a6958b1abac8.zip gdb-1c7148dd0d370175b7ed6ef47de0a6958b1abac8.tar.gz gdb-1c7148dd0d370175b7ed6ef47de0a6958b1abac8.tar.bz2 |
Address Tom Tromey's comments on the CTF reader.
* Use the type-safe registry for ctf_file_key;
* Drop "typedef" when defining "struct ctf_context";
* Use ANOFFSET with SECT_OFF_TEXT to get the text base address;
gdb/ChangeLog
2019-12-20 Weimin Pan <weimin.pan@oracle.com>
* ctfread.c (ctf_file_key): Change type to objfile_key.
(struct ctf_context): Remove typedef.
(get_objfile_text_range): Use ANOFFSET to get text base.
Diffstat (limited to 'gdb/bfin-tdep.c')
0 files changed, 0 insertions, 0 deletions