diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-01-29 21:27:19 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-01-29 21:27:19 +0000 |
commit | 9db13498bf776b48194951144d26fb7c3616356a (patch) | |
tree | 4a14d05d24ca8f3aee74f6599397f08ba4ab50af /gdb/amd64-tdep.c | |
parent | b4d5ed91aeaa7adad902df2121e0c4b3cfee35b7 (diff) | |
download | gdb-9db13498bf776b48194951144d26fb7c3616356a.zip gdb-9db13498bf776b48194951144d26fb7c3616356a.tar.gz gdb-9db13498bf776b48194951144d26fb7c3616356a.tar.bz2 |
* amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r-- | gdb/amd64-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 86423f7..fae24a4 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -359,6 +359,7 @@ amd64_classify (struct type *type, enum amd64_reg_class class[2]) class. */ if ((code == TYPE_CODE_INT || code == TYPE_CODE_ENUM || code == TYPE_CODE_BOOL || code == TYPE_CODE_RANGE + || code == TYPE_CODE_CHAR || code == TYPE_CODE_PTR || code == TYPE_CODE_REF) && (len == 1 || len == 2 || len == 4 || len == 8)) class[0] = AMD64_INTEGER; |