-/* Copyright (C) 1990 Free Software Foundation, Inc.
+/* Target machine sub-description for SunOS version 4.
+ This is included by other tm-*.h files to specify SunOS-specific stuff.
+ Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-/* This is for SunOS version 4, not for earlier versions. */
+/* The C compiler puts an underscore at the front
+ of external names before giving them to the linker. */
-#define CLEAR_SOLIB clear_solib
-#define SOLIB_ADD(filename, from_tty) solib_add (filename, from_tty)
-#define SOLIB_XFER_MEMORY(memaddr, myaddr, len, write) solib_xfer_memory (memaddr, myaddr, len, write)
+#define NAMES_HAVE_UNDERSCORE
-/* If we can't set a breakpoint, and it's in a shared library, just
- disable it. */
-#define DISABLE_UNSETTABLE_BREAK(addr) solib_address(addr)
-extern int solib_address (); /* solib.c */
-extern int solib_xfer_memory ();
-extern void solib_add ();
-extern void clear_solib ();
+#include "solib.h" /* Support for shared libraries. */