diff options
author | Pedro Alves <pedro@palves.net> | 2021-06-04 14:50:15 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2021-06-07 23:22:39 +0100 |
commit | c57eb1a26982fd55f4fa991ede68576d91634f33 (patch) | |
tree | f209a3bff4ac7d41cbb6b7d9f7a2a3169c09deed /gdb/ChangeLog | |
parent | d8ca8e9facb184d67ce1aca9196ed8446e7e2a09 (diff) | |
download | gdb-c57eb1a26982fd55f4fa991ede68576d91634f33.zip gdb-c57eb1a26982fd55f4fa991ede68576d91634f33.tar.gz gdb-c57eb1a26982fd55f4fa991ede68576d91634f33.tar.bz2 |
nat/amd64-linux-siginfo.c: Remove typedefs
Since GDB is written in C++ now, we don't need struct/union typedefs
any more. Remove them from nat/amd64-linux-siginfo.c.
gdb/ChangeLog:
yyyy-mm-dd Pedro Alves <pedro@palves.net>
* nat/amd64-linux-siginfo.c (union nat_sigval): Rename to ...
(nat_sigval_t): ... this and remove typedef of same name.
(struct nat_siginfo): Rename to ...
(nat_siginfo_t): ... this and remove typedef of same name.
(struct compat_sigval): Rename to ...
(compat_sigval_t): ... this and remove typedef of same name.
(struct compat_siginfo): Rename to ...
(compat_siginfo_t): ... this and remove typedef of same name.
(struct compat_x32_siginfo): Rename to ...
(compat_x32_siginfo_t): ... this and remove typedef of same name.
(amd64_linux_siginfo_fixup_common): Adjust.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4859531..f0afa4e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,19 @@ 2021-06-07 Pedro Alves <pedro@palves.net> + * nat/amd64-linux-siginfo.c (union nat_sigval): Rename to ... + (nat_sigval_t): ... this and remove typedef of same name. + (struct nat_siginfo): Rename to ... + (nat_siginfo_t): ... this and remove typedef of same name. + (struct compat_sigval): Rename to ... + (compat_sigval_t): ... this and remove typedef of same name. + (struct compat_siginfo): Rename to ... + (compat_siginfo_t): ... this and remove typedef of same name. + (struct compat_x32_siginfo): Rename to ... + (compat_x32_siginfo_t): ... this and remove typedef of same name. + (amd64_linux_siginfo_fixup_common): Adjust. + +2021-06-07 Pedro Alves <pedro@palves.net> + * nat/amd64-linux-siginfo.c (compat_x32_siginfo_t): Move __attribute__ __aligned__ from the typedef to the struct. |