diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-02 16:39:29 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-02 16:39:29 +0000 |
commit | 407f1a2e1727b611f2f36645b23300b4f15cf402 (patch) | |
tree | 7cf62d6321ae493a49b8b35994d440e1dc1f335d /gdb/ppc-linux-nat.c | |
parent | 02d3ff8c47852d55db40850ca078e88c0de6131a (diff) | |
download | gdb-407f1a2e1727b611f2f36645b23300b4f15cf402.zip gdb-407f1a2e1727b611f2f36645b23300b4f15cf402.tar.gz gdb-407f1a2e1727b611f2f36645b23300b4f15cf402.tar.bz2 |
* ppc-linux-nat.c (ppc_linux_stopped_data_address): Cast
pointer to uintptr_t before casting to CORE_ADDR.
Diffstat (limited to 'gdb/ppc-linux-nat.c')
-rw-r--r-- | gdb/ppc-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index ec061b0..d86c9f8 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -869,7 +869,7 @@ ppc_linux_stopped_data_address (struct target_ops *target, CORE_ADDR *addr_p) || (siginfo_p->si_code & 0xffff) != 0x0004 /* TRAP_HWBKPT */) return 0; - *addr_p = (CORE_ADDR) siginfo_p->si_addr; + *addr_p = (CORE_ADDR) (uintptr_t) siginfo_p->si_addr; return 1; } |