diff options
author | Pedro Alves <palves@redhat.com> | 2016-04-20 20:13:23 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-04-20 23:01:54 +0100 |
commit | 5ae0055212a4835793815dbd8fa120d8c63fc7e8 (patch) | |
tree | 56bf9b5e7472df6ded7319dfd5ff13d0b2c38ca6 /gdb/ChangeLog | |
parent | d9436c7c71f13df84182371c6b2fb6e356051d14 (diff) | |
download | gdb-5ae0055212a4835793815dbd8fa120d8c63fc7e8.zip gdb-5ae0055212a4835793815dbd8fa120d8c63fc7e8.tar.gz gdb-5ae0055212a4835793815dbd8fa120d8c63fc7e8.tar.bz2 |
Fix host signal vs gdb signal mixup in gdb/darwin-nat.c
Building in C++ mode caught a bug here:
.../src/gdb/darwin-nat.c: In function 'ptid_t darwin_decode_message(mach_msg_header_t*, darwin_thread_t**, inferior**, target_waitstatus*)':
.../src/gdb/darwin-nat.c:1016:25: error: invalid conversion from 'int' to 'gdb_signal' [-fpermissive]
status->value.sig = WTERMSIG (wstatus);
^
gdb/ChangeLog:
2016-04-20 Pedro Alves <palves@redhat.com>
* darwin-nat.c (darwin_decode_message): Use gdb_signal_from_host.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 16edea2..9dec801 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2016-04-20 Pedro Alves <palves@redhat.com> + * darwin-nat.c (darwin_decode_message): Use gdb_signal_from_host. + +2016-04-20 Pedro Alves <palves@redhat.com> + * aarch64-tdep.c (aarch64_record_load_store): Change type of 'reg_rm_val' local to ULONGEST. |