diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2010-08-14 00:45:39 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2010-08-14 00:45:39 +0000 |
commit | f96b8fa0026babcd2fd3ef58f724a56049da27d5 (patch) | |
tree | 53a625c9d6b34c216a7c825ed497a1b94dbe4f17 /gdb/arm-tdep.c | |
parent | 657fd239a40a381e40665a41bde56be737504501 (diff) | |
download | gdb-f96b8fa0026babcd2fd3ef58f724a56049da27d5.zip gdb-f96b8fa0026babcd2fd3ef58f724a56049da27d5.tar.gz gdb-f96b8fa0026babcd2fd3ef58f724a56049da27d5.tar.bz2 |
* arm-tdep.c (arm_push_dummy_call): Handle pointers to
typedef'ed function types correctly.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 31f17f1..1ac8817 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -2144,7 +2144,7 @@ arm_push_dummy_call (struct gdbarch *gdbarch, struct value *function, the THUMB bit in it. */ if (TYPE_CODE_PTR == typecode && target_type != NULL - && TYPE_CODE_FUNC == TYPE_CODE (target_type)) + && TYPE_CODE_FUNC == TYPE_CODE (check_typedef (target_type))) { CORE_ADDR regval = extract_unsigned_integer (val, len, byte_order); if (arm_pc_is_thumb (regval)) |