Testsuite: Fix ambiguous "break" due to libinproctrace
[deliverable/binutils-gdb.git] / gdb / observer.sh
index c98afd07ce0bb276e3405e7f0d70a801bc26c5c3..fa3dcc505fc4bf8b756ebd3e17e25aad7214a849 100755 (executable)
@@ -29,7 +29,7 @@ rm -f ${otmp}
 cat <<EOF >>${otmp}
 /* GDB Notifications to Observers.
 
-   Copyright (C) 2004-2005, 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 2004-2018 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -64,6 +64,7 @@ struct so_list;
 struct objfile;
 struct thread_info;
 struct inferior;
+struct trace_state_variable;
 EOF
         ;;
 esac
@@ -142,7 +143,7 @@ EOF
 
        if test ! -z "${notify_args}"; then
            cat<<EOF >>${otmp}
-  const struct ${event}_args *args = args_data;
+  const struct ${event}_args *args = (const struct ${event}_args *) args_data;
 EOF
        fi
        cat <<EOF >>${otmp}
This page took 0.024151 seconds and 4 git commands to generate.