OSDN Git Service

Replaces my previous bogus patch on this:
authorkseitz <kseitz>
Mon, 27 Oct 2008 18:40:12 +0000 (18:40 +0000)
committerkseitz <kseitz>
Mon, 27 Oct 2008 18:40:12 +0000 (18:40 +0000)
        * generic/gdbtk-stack.c (get_gdb_vars_command): clientData is an
        int, not a pointer to int.

gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-stack.c

index fc99156..ac09140 100644 (file)
@@ -1,7 +1,7 @@
 2008-10-27  Keith Seitz  <keiths@redhat.com>
 
-       * generic/gdbtk-stack.c (get_gdb_vars_command): Remove superfluous
-       ampersand from assignment.
+       * generic/gdbtk-stack.c (get_gdb_vars_command): clientData is an
+       int, not a pointer to int.
 
 2008-09-22  Keith Seitz  <keiths@redhat.com>
 
index 9844953..3f86805 100644 (file)
@@ -285,7 +285,7 @@ gdb_get_vars_command (ClientData clientData, Tcl_Interp *interp,
       return TCL_ERROR;
     }
 
-  arguments = *(int *) clientData;
+  arguments = (int) clientData;
 
   /* Initialize the result pointer to an empty list. */