aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>1999-02-12 00:00:14 +0000
committerMartin Hunt <hunt@redhat.com>1999-02-12 00:00:14 +0000
commiteb9ea5de7419d471a66a17e3261200601d5f16f4 (patch)
tree44dbd67336e47763c85b7e33e14ca297bd8e0e06
parent5bbb337f4a85108f44ba32551260d65620f5131f (diff)
downloadfsf-binutils-gdb-eb9ea5de7419d471a66a17e3261200601d5f16f4.zip
fsf-binutils-gdb-eb9ea5de7419d471a66a17e3261200601d5f16f4.tar.gz
fsf-binutils-gdb-eb9ea5de7419d471a66a17e3261200601d5f16f4.tar.bz2
1999-02-11 Martin Hunt <hunt@cygnus.com>
* gdbtk-variable.c (variable_format): Enable binary format.
-rw-r--r--gdb/ChangeLog-gdbtk4
-rw-r--r--gdb/gdbtk-variable.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog-gdbtk b/gdb/ChangeLog-gdbtk
index c3717be..514b2c7 100644
--- a/gdb/ChangeLog-gdbtk
+++ b/gdb/ChangeLog-gdbtk
@@ -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.
diff --git a/gdb/gdbtk-variable.c b/gdb/gdbtk-variable.c
index 09ff360..f1e7455 100644
--- a/gdb/gdbtk-variable.c
+++ b/gdb/gdbtk-variable.c
@@ -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))