/* Native-dependent code for OpenBSD/i386.
- Copyright 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GDB.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
+ Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA. */
#include "defs.h"
len = sizeof (_ps);
if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0)
{
- i386obsd_sigtramp_start_addr = (CORE_ADDR)_ps.val - 128;
- i386obsd_sigtramp_end_addr = (CORE_ADDR)_ps.val;
+ i386obsd_sigtramp_start_addr = (u_long) _ps.val - 128;
+ i386obsd_sigtramp_end_addr = (u_long) _ps.val;
}
}
#endif