use user_breakpoint_p in python code
[deliverable/binutils-gdb.git] / gdb / observer.sh
index 8a8c62601459964bf168e80d983ac8dbf8d5599e..cc613a7a81e8940066339fd3e8bd66041984f436 100755 (executable)
@@ -29,7 +29,7 @@ rm -f ${otmp}
 cat <<EOF >>${otmp}
 /* GDB Notifications to Observers.
 
-   Copyright (C) 2004-2014 Free Software Foundation, Inc.
+   Copyright (C) 2004-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -143,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.025371 seconds and 4 git commands to generate.