From 9a9df97001814c87929826e6538762f3be07c4a4 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 9 Mar 2015 11:29:56 +0000 Subject: gdbserver/tracepoint: Add 'struct sockaddr_un *' -> 'struct sockaddr *' cast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes this in C++ mode: gdb/gdbserver/tracepoint.c: In function ‘void* gdb_agent_helper_thread(void*)’: gdb/gdbserver/tracepoint.c:7190:47: error: cannot convert ‘sockaddr_un*’ to ‘sockaddr*’ for argument ‘2’ to ‘int accept(int, sockaddr*, socklen_t*)’ fd = accept (listen_fd, &sockaddr, &tmp); gdb/gdbserver/ChangeLog: 2015-03-09 Pedro Alves * tracepoint.c (gdb_agent_helper_thread): Cast '&sockaddr' to 'struct sockaddr' pointer in 'accept' call. --- gdb/features/feature_to_c.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 gdb/features/feature_to_c.sh (limited to 'gdb/features') diff --git a/gdb/features/feature_to_c.sh b/gdb/features/feature_to_c.sh old mode 100644 new mode 100755 -- cgit v1.1