From: Joel Brobecker Date: Tue, 29 Jan 2008 21:27:19 +0000 (+0000) Subject: * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9db13498bf776b48194951144d26fb7c3616356a;p=binutils-gdb.git * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e6c402560ac..83cfc220da9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-01-29 Joel Brobecker + + * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. + 2008-01-29 Joel Brobecker * nto-tdep.h: Remove #include "defs.h". 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;