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.
This commit is contained in:
Joel Brobecker 2013-03-13 18:37:54 +00:00
parent 6f937416b9
commit 4fa7e2ff22
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-03-13 Joel Brobecker <brobecker@adacore.com>
* linux-low.c (linux_target_ops) [!HAVE_LINUX_BTRACE]:
Remove extraneous NULL element.
2013-03-13 Yao Qi <yao@codesourcery.com>
* tracepoint.c (traceframe_read_tsv): Look for the last matched

View File

@ -5940,7 +5940,6 @@ static struct target_ops linux_target_ops = {
NULL,
NULL,
NULL,
NULL,
#endif
};