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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/amd64-tdep.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e6c4025..83cfc22 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2008-01-29 Joel Brobecker <brobecker@adacore.com> + * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. + +2008-01-29 Joel Brobecker <brobecker@adacore.com> + * nto-tdep.h: Remove #include "defs.h". * nto-tdep.c: Add #include "defs.h". * Makefile.in (nto_tdep_h): Update dependencies. 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; |