/* Mac OS X support for GDB, the GNU debugger.
   Copyright 1997, 1998, 1999, 2000, 2001, 2002
   Free Software Foundation, Inc.

   Contributed by Apple Computer, Inc.

   This file is part of GDB.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   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.  */

#include "defs.h"
#include "target.h"
#include "event-loop.h"

/* The following functions are defined for the benefit of inftarg.c;
   they should never be called */

int attach (int pid)
{ 
  internal_error (__FILE__, __LINE__, "macosx_nat_inferior: unexpected call to attach ()");
  return 0;
}

void detach (int sig) 
{ 
  internal_error (__FILE__, __LINE__, "macosx_nat_inferior: unexpected call to detach ()"); 
}

void kill_inferior ()
{ 
  internal_error (__FILE__, __LINE__, "macosx_nat_inferior: unexpected call to kill_inferior ()"); 
}

void child_resume (int pid, int step, enum target_signal sig)
{
  internal_error (__FILE__, __LINE__, "macosx_nat_inferior: unexpected call to child_resume ()");
}

int child_wait (int pid, struct target_waitstatus *status, gdb_client_data client_data)
{
  internal_error (__FILE__, __LINE__, "macosx_nat_inferior: unexpected call to child_wait ()");
}

int child_xfer_memory
 (CORE_ADDR memaddr, char *myaddr, int len, int write, struct mem_attrib *attrib, struct target_ops *target)
{
  internal_error (__FILE__, __LINE__, "macosx_nat_inferior: unexpected call to child_xfer_memory ()");
}
