diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-01-29 21:19:31 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-01-29 21:19:31 +0000 |
commit | b929c77fbae1a7ef580cb30886af6e27e86b1a3c (patch) | |
tree | 0058605abe610d12ff82f51393c182f718ad06f0 /gdb/amd64-tdep.c | |
parent | fd7d450d2b237084c67c0d519083cc4abdd25732 (diff) | |
download | gdb-b929c77fbae1a7ef580cb30886af6e27e86b1a3c.zip gdb-b929c77fbae1a7ef580cb30886af6e27e86b1a3c.tar.gz gdb-b929c77fbae1a7ef580cb30886af6e27e86b1a3c.tar.bz2 |
* amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
Fixes PR tdep/2075.
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r-- | gdb/amd64-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 31a1281..647edcd 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -404,7 +404,7 @@ amd64_classify (struct type *type, enum amd64_reg_class class[2]) range types, used by languages such as Ada, are also in the INTEGER class. */ if ((code == TYPE_CODE_INT || code == TYPE_CODE_ENUM - || code == TYPE_CODE_RANGE + || code == TYPE_CODE_BOOL || code == TYPE_CODE_RANGE || code == TYPE_CODE_PTR || code == TYPE_CODE_REF) && (len == 1 || len == 2 || len == 4 || len == 8)) class[0] = AMD64_INTEGER; |