aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-low.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-03-13 18:37:54 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-03-13 18:37:54 +0000
commit4fa7e2ff221c6b8c129e5e0486112c578f628ded (patch)
treeafa546f38c8e3086524c43e08cd55070580656f8 /gdb/gdbserver/linux-low.c
parent6f937416b997de1c0fb4664df3b7a69910b66b76 (diff)
downloadgdb-4fa7e2ff221c6b8c129e5e0486112c578f628ded.zip
gdb-4fa7e2ff221c6b8c129e5e0486112c578f628ded.tar.gz
gdb-4fa7e2ff221c6b8c129e5e0486112c578f628ded.tar.bz2
Extraneous NULL in linux_target_ops when HAVE_LINUX_BTRACE not defined
This fixes the followin error when HAVE_LINUX_BTRACE is not defined: linux-low.c:5943: error: excess elements in struct initializer linux-low.c:5943: error: (near initialization for 'linux_target_ops') gdb/gdbserver/ChangeLog: * linux-low.c (linux_target_ops) [!HAVE_LINUX_BTRACE]: Remove extraneous NULL element.
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r--gdb/gdbserver/linux-low.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index b5084c9..523926d 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -5940,7 +5940,6 @@ static struct target_ops linux_target_ops = {
NULL,
NULL,
NULL,
- NULL,
#endif
};