diff options
author | Alan Modra <amodra@gmail.com> | 2022-05-27 12:37:21 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-05-27 22:08:59 +0930 |
commit | 0e3c1eebb22e0ade28b619fb41f42d66ed6fb145 (patch) | |
tree | 8a886ac9438d7e9268807c07585eef11a146714d /gdb | |
parent | aa9b5dbc0f30855aa23034cbd78a1f2025cb9fa9 (diff) | |
download | gdb-0e3c1eebb22e0ade28b619fb41f42d66ed6fb145.zip gdb-0e3c1eebb22e0ade28b619fb41f42d66ed6fb145.tar.gz gdb-0e3c1eebb22e0ade28b619fb41f42d66ed6fb145.tar.bz2 |
Remove use of bfd_uint64_t and similar
Requiring C99 means that uses of bfd_uint64_t can be replaced with
uint64_t, and similarly for bfd_int64_t, BFD_HOST_U_64_BIT, and
BFD_HOST_64_BIT. This patch does that, removes #ifdef BFD_HOST_*
and tidies a few places that print 64-bit values.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/findcmd.c | 2 | ||||
-rw-r--r-- | gdb/tilegx-tdep.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/findcmd.c b/gdb/findcmd.c index ff13f22..ed2cea7 100644 --- a/gdb/findcmd.c +++ b/gdb/findcmd.c @@ -30,7 +30,7 @@ /* Copied from bfd_put_bits. */ static void -put_bits (bfd_uint64_t data, gdb::byte_vector &buf, int bits, bfd_boolean big_p) +put_bits (uint64_t data, gdb::byte_vector &buf, int bits, bfd_boolean big_p) { int i; int bytes; diff --git a/gdb/tilegx-tdep.c b/gdb/tilegx-tdep.c index 7930db7..9668aa8 100644 --- a/gdb/tilegx-tdep.c +++ b/gdb/tilegx-tdep.c @@ -375,7 +375,7 @@ tilegx_analyze_prologue (struct gdbarch* gdbarch, CORE_ADDR instbuf_start; unsigned int instbuf_size; int status; - bfd_uint64_t bundle; + uint64_t bundle; struct tilegx_decoded_instruction decoded[TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE]; int num_insns; |