From 408400e7f61453203c3e294ba75649bc1fce0b2f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 9 Dec 2002 02:44:52 +0000 Subject: 2002-12-08 Andrew Cagney * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Add declaration. * dwarf2cfi.c (cfi_init_frame_pc): Cast the PC to a pointer. --- gdb/dwarf2cfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/dwarf2cfi.c') diff --git a/gdb/dwarf2cfi.c b/gdb/dwarf2cfi.c index c431862..75c3c4d 100644 --- a/gdb/dwarf2cfi.c +++ b/gdb/dwarf2cfi.c @@ -1754,7 +1754,7 @@ cfi_init_frame_pc (int fromleaf, struct frame_info *fi) CORE_ADDR pc; /* FIXME: cagney/2002-12-04: This is straight wrong. It's assuming that the PC is CORE_ADDR (a host quantity) in size. */ - get_reg (&pc, UNWIND_CONTEXT (get_next_frame (fi)), PC_REGNUM); + get_reg ((void *)&pc, UNWIND_CONTEXT (get_next_frame (fi)), PC_REGNUM); return pc; } else -- cgit v1.1