Extraneous NULL in linux_target_ops when HAVE_LINUX_BTRACE not defined
authorJoel Brobecker <brobecker@gnat.com>
Wed, 13 Mar 2013 18:37:54 +0000 (18:37 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 13 Mar 2013 18:37:54 +0000 (18:37 +0000)
commit4fa7e2ff221c6b8c129e5e0486112c578f628ded
treeafa546f38c8e3086524c43e08cd55070580656f8
parent6f937416b997de1c0fb4664df3b7a69910b66b76
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.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c