1999-02-11 Martin Hunt <hunt@cygnus.com>
authorMartin Hunt <hunt@redhat.com>
Fri, 12 Feb 1999 00:00:14 +0000 (00:00 +0000)
committerMartin Hunt <hunt@redhat.com>
Fri, 12 Feb 1999 00:00:14 +0000 (00:00 +0000)
* gdbtk-variable.c (variable_format): Enable binary format.

gdb/ChangeLog-gdbtk
gdb/gdbtk-variable.c

index c3717be..514b2c7 100644 (file)
@@ -1,5 +1,9 @@
 1999-02-11  Martin Hunt  <hunt@cygnus.com>
 
+       * gdbtk-variable.c (variable_format): Enable binary format.
+
+1999-02-11  Martin Hunt  <hunt@cygnus.com>
+       
        * gdbtk-hooks.c: Change ALL Tcl_Eval calls in hooks to
        call report_error() if there are errors.
 
index 09ff360..f1e7455 100644 (file)
@@ -1185,7 +1185,7 @@ variable_format (interp, objc, objv, var)
       if (STREQN (fmt, "natural", len))
         var->format = FORMAT_NATURAL;
       else if (STREQN (fmt, "binary", len))
-        var->format = FORMAT_NATURAL;
+        var->format = FORMAT_BINARY;
       else if (STREQN (fmt, "decimal", len))
         var->format = FORMAT_DECIMAL;
       else if (STREQN (fmt, "hexadecimal", len))