/* Native-dependent code for OpenBSD/amd64.
- Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
This file is part of GDB.
return 0;
/* Read the stack frame, and check its validity. */
- read_memory (pcb->pcb_rsp, (char *) &sf, sizeof sf);
+ read_memory (pcb->pcb_rsp, (gdb_byte *) &sf, sizeof sf);
if (sf.sf_rbp == pcb->pcb_rbp)
{
/* Yes, we have a frame that matches cpu_switch(). */