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 | df0cae135215ef4449ab5484c175f63fe0590997 (patch) | |
tree | 4b701092c738505363b8ca77a17639a2595adc3c /gdb/amd64-tdep.c | |
parent | 5f6c402231bab208af143976bd5500abbbfac7b6 (diff) | |
download | gdb-df0cae135215ef4449ab5484c175f63fe0590997.tar.gz |
* 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 86423f7cbcd..fae24a482ac 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; |