aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-04-05 19:21:35 +0100
committerPedro Alves <palves@redhat.com>2017-04-05 19:21:35 +0100
commit21c8a587ab81a58d3e067551d5503a765f00ec6e (patch)
tree5b48ab4e903525113da90bd05309ecde9d4efafe /gdb/gdbserver/ChangeLog
parentfb32b4f7005ef8f1bde02394b58b5c5eda9cbf10 (diff)
downloadgdb-21c8a587ab81a58d3e067551d5503a765f00ec6e.zip
gdb-21c8a587ab81a58d3e067551d5503a765f00ec6e.tar.gz
gdb-21c8a587ab81a58d3e067551d5503a765f00ec6e.tar.bz2
-Wwrite-strings: gdbserver/win32-low.c and TARGET_WAITKIND_EXECD
src/gdb/gdbserver/win32-low.c:1499:39: error: ISO C++ forbids converting a string constant to 'char*' [-Werror=write-strings] ourstatus->value.execd_pathname = "Main executable"; ^ This reporting via TARGET_WAITKIND_EXECD it's totally unnecessary. get_child_debug_event returns a TARGET_WAITKIND_SPURIOUS by default, which works just as well here, and is what the equivalent code in gdb/windows-nat.c does too. gdb/gdbserver/ChangeLog: 2017-04-05 Pedro Alves <palves@redhat.com> * win32-low.c (get_child_debug_event) <CREATE_PROCESS_DEBUG_EVENT>: Don't report TARGET_WAITKIND_EXECD. Report TARGET_WAITKIND_SPURIOUS instead.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r--gdb/gdbserver/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 4660a7b..0bfe2ec 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,11 @@
2017-04-05 Pedro Alves <palves@redhat.com>
+ * win32-low.c (get_child_debug_event)
+ <CREATE_PROCESS_DEBUG_EVENT>: Don't report TARGET_WAITKIND_EXECD.
+ Report TARGET_WAITKIND_SPURIOUS instead.
+
+2017-04-05 Pedro Alves <palves@redhat.com>
+
* remote-utils.c (remote_prepare, remote_open): Constify.
* remote-utils.h (remote_prepare, remote_open): Constify.
* server.c (captured_main): Constify 'port' handling.