From dd96c05b5f44d4fca25617e30b6b0c4e44b8f146 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Wed, 9 Jan 2002 18:07:48 +0000 Subject: [PATCH] MAINTAINERS (write-after-approval): Add myself. arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to IN_SIGTRAMP. --- gdb/ChangeLog | 7 +++++++ gdb/MAINTAINERS | 1 + gdb/arm-tdep.c | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e06162246dc..e25d2d633d3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2002-01-09 Richard Earnshaw + + MAINTAINERS (write-after-approval): Add myself. + + arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to + IN_SIGTRAMP. + 2002-01-08 Michael Snyder * linux-proc.c (child_pid_to_exec_file): Use readlink to get the diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS index b7eeb5ddd89..42df9a0c3d1 100644 --- a/gdb/MAINTAINERS +++ b/gdb/MAINTAINERS @@ -346,6 +346,7 @@ David Anderson davea@sgi.com Philip Blundell philb@gnu.org Joel Brobecker brobecker@act-europe.fr Nick Clifton nickc@redhat.com +Richard Earnshaw rearnsha@arm.com Matthew Green mrg@eterna.com.au Orjan Friberg orjanf@axis.com Ben Harris bjh21@netbsd.org diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 733c6d365a0..74a61afa19f 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); -- 2.30.2