diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-12-09 02:44:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-12-09 02:44:52 +0000 |
commit | 408400e7f61453203c3e294ba75649bc1fce0b2f (patch) | |
tree | 6edc9f7605a54be8ea2e18735aeadffcab41a320 /gdb/dwarf2cfi.c | |
parent | 97f46953947f21e2b8f1cac99546b7d6b51a84cc (diff) | |
download | fsf-binutils-gdb-408400e7f61453203c3e294ba75649bc1fce0b2f.zip fsf-binutils-gdb-408400e7f61453203c3e294ba75649bc1fce0b2f.tar.gz fsf-binutils-gdb-408400e7f61453203c3e294ba75649bc1fce0b2f.tar.bz2 |
2002-12-08 Andrew Cagney <ac131313@redhat.com>
* config/rs6000/tm-rs6000.h (init_frame_pc_noop): Add declaration.
* dwarf2cfi.c (cfi_init_frame_pc): Cast the PC to a pointer.
Diffstat (limited to 'gdb/dwarf2cfi.c')
-rw-r--r-- | gdb/dwarf2cfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |