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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d4b17ab..b58e4f5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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. + 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> * dwarf2read.c (is_valid_DW_AT_calling_convention_for_subroutine): |