aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2002-01-09 18:07:48 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2002-01-09 18:07:48 +0000
commitdd96c05b5f44d4fca25617e30b6b0c4e44b8f146 (patch)
treed3fcc4bc3d89ee0064949ebe08433d6a44ac91e5 /gdb/arm-tdep.c
parent9437c45bc16e47b1ce44095c8e8b910364e7d756 (diff)
downloadgdb-dd96c05b5f44d4fca25617e30b6b0c4e44b8f146.zip
gdb-dd96c05b5f44d4fca25617e30b6b0c4e44b8f146.tar.gz
gdb-dd96c05b5f44d4fca25617e30b6b0c4e44b8f146.tar.bz2
MAINTAINERS (write-after-approval): Add myself.
arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to IN_SIGTRAMP.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 733c6d3..74a61af 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -1060,7 +1060,7 @@ arm_init_extra_frame_info (int fromleaf, struct frame_info *fi)
to IN_SIGTRAMP. */
if (SIGCONTEXT_REGISTER_ADDRESS_P ()
- && (fi->signal_handler_caller || IN_SIGTRAMP (fi->pc, 0)))
+ && (fi->signal_handler_caller || IN_SIGTRAMP (fi->pc, (char *)0)))
{
for (reg = 0; reg < NUM_REGS; reg++)
fi->fsr.regs[reg] = SIGCONTEXT_REGISTER_ADDRESS (sp, fi->pc, reg);