[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libunwind] building on HPUX for remote only
From: |
Rob Faught |
Subject: |
[libunwind] building on HPUX for remote only |
Date: |
Fri, 07 Jan 2005 10:26:01 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2 |
I am trying to build libunwind 0.98.3 on HPUX with gcc 3.3.1 and with
UNW_REMOTE_ONLY defined.
There are two undefined symbols in src/ia64/Ginit.c: access_reg and
access_fpreg. It seems to me that these should be using the callback
functions, as the calls to access_mem in the same functions already do.
Is this correct?
Rob Faught
Etnus
diff -c /home/r/libunwind-0.98.3/src/ia64/Ginit.c Ginit.c
*** /home/r/libunwind-0.98.3/src/ia64/Ginit.c Tue Nov 16 14:22:07 2004
--- Ginit.c Thu Jan 6 23:35:44 2005
***************
*** 460,466 ****
}
if (IA64_IS_REG_LOC (loc))
! ret = access_reg (unw_local_addr_space, IA64_GET_REG (loc), valp,
write,
ucp);
else
{
--- 460,466 ----
}
if (IA64_IS_REG_LOC (loc))
! ret = c->as->acc.access_reg (unw_local_addr_space, IA64_GET_REG
(loc), valp, write,
ucp);
else
{
***************
*** 527,533 ****
return ret;
}
! if ((ret = access_fpreg (unw_local_addr_space, IA64_GET_REG (loc), valp,
write, ucp)) < 0)
return ret;
--- 527,533 ----
return ret;
}
! if ((ret = c->as->acc.access_fpreg (unw_local_addr_space,
IA64_GET_REG (loc), valp,
write, ucp)) < 0)
return ret;
- [libunwind] building on HPUX for remote only,
Rob Faught <=