* arm-tdep.c (arm_push_dummy_call): Handle pointers to
typedef'ed function types correctly.
This commit is contained in:
parent
657fd239a4
commit
f96b8fa002
@ -1,3 +1,8 @@
|
||||
2010-08-14 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* arm-tdep.c (arm_push_dummy_call): Handle pointers to
|
||||
typedef'ed function types correctly.
|
||||
|
||||
2010-08-13 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* python/python-internal.h (gdbpy_get_hook_function): Don't
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user