* solib-svr4.c (svr4_truncate_ptr): New function.
authorJim Blandy <jimb@codesourcery.com>
Tue, 5 Feb 2002 23:28:13 +0000 (23:28 +0000)
committerJim Blandy <jimb@codesourcery.com>
Tue, 5 Feb 2002 23:28:13 +0000 (23:28 +0000)
commit6bb7be438564ec5bbf948c963b6888d5a37b83cc
tree456cfb8cead68e96ca05493a1df574b79a1442dd
parent91542be9428956ea04b370440f1dea97d3a0a1bb
* solib-svr4.c (svr4_truncate_ptr): New function.
(svr4_relocate_section_addresses): Do the address arithmetic with
the appropriate truncation for target addresses, even when
CORE_ADDR is larger than a target address.
gdb/ChangeLog
gdb/solib-svr4.c