aboutsummaryrefslogtreecommitdiff
path: root/gdb/features
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-03-09 11:29:56 +0000
committerPedro Alves <palves@redhat.com>2015-03-09 11:29:57 +0000
commit9a9df97001814c87929826e6538762f3be07c4a4 (patch)
tree35a39438a137f5ce1036cf99ed3a950e67dbcb6f /gdb/features
parent9eb1356e381f3412f53ffe5bc68ce854330600fb (diff)
downloadgdb-9a9df97001814c87929826e6538762f3be07c4a4.zip
gdb-9a9df97001814c87929826e6538762f3be07c4a4.tar.gz
gdb-9a9df97001814c87929826e6538762f3be07c4a4.tar.bz2
gdbserver/tracepoint: Add 'struct sockaddr_un *' -> 'struct sockaddr *' cast
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 <palves@redhat.com> * tracepoint.c (gdb_agent_helper_thread): Cast '&sockaddr' to 'struct sockaddr' pointer in 'accept' call.
Diffstat (limited to 'gdb/features')
-rwxr-xr-x[-rw-r--r--]gdb/features/feature_to_c.sh0
1 files changed, 0 insertions, 0 deletions
diff --git a/gdb/features/feature_to_c.sh b/gdb/features/feature_to_c.sh
index 35db791..35db791 100644..100755
--- a/gdb/features/feature_to_c.sh
+++ b/gdb/features/feature_to_c.sh