not TARGET_PTR_BIT, since we are dealing with addresses, not
pointers.
+Wed Nov 15 09:31:39 2000 David Taylor <taylor@redhat.com>
+
+ * utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
+ not TARGET_PTR_BIT, since we are dealing with addresses, not
+ pointers.
+
2000-11-14 Daniel Berlin <dberlin@redhat.com>
From Kenneth Block <kenneth.block@compaq.com>
int
strlen_paddr (void)
{
- return (TARGET_PTR_BIT / 8 * 2);
+ return (TARGET_ADDR_BIT / 8 * 2);
}
char *
paddr (CORE_ADDR addr)
{
- return phex (addr, TARGET_PTR_BIT / 8);
+ return phex (addr, TARGET_ADDR_BIT / 8);
}
char *
paddr_nz (CORE_ADDR addr)
{
- return phex_nz (addr, TARGET_PTR_BIT / 8);
+ return phex_nz (addr, TARGET_ADDR_BIT / 8);
}
static void