summaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-04-20 22:36:00 +0000
committerJason Molenda <jmolenda@apple.com>1998-04-20 22:36:00 +0000
commitfa89ee43a5e0b1335406384395bc20dea31bc04d (patch)
treecf821f54b51606aa5b67104a7a046c91392cc83c /gdb/values.c
parenta38cd80ae71b993001fe458b6a8a7ff2bfca1146 (diff)
downloadbinutils-gdb-fa89ee43a5e0b1335406384395bc20dea31bc04d.tar.gz
Mon Apr 20 15:35:03 1998 Philippe De Muyter <phdm@macqel.be>
* coffread.c (decode_base_type): Treat a long field with size greater than TARGET_LONG_BIT as long long. * values.c (value_from_longest): Print code value in error message.
Diffstat (limited to 'gdb/values.c')
-rw-r--r--gdb/values.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/values.c b/gdb/values.c
index 69c19a6399c..3d4d45e96da 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -1291,7 +1291,7 @@ value_from_longest (type, num)
break;
default:
- error ("Unexpected type encountered for integer constant.");
+ error ("Unexpected type (%d) encountered for integer constant.", code);
}
return val;
}