]> Git Repo - binutils.git/blobdiff - gdb/tm-sunos.h
* dbxread.c (dbx_symfile_init, elfstab_build_psymtabs):
[binutils.git] / gdb / tm-sunos.h
index c9aae94cee175d4ff4d8a43db1f176ca8706c52b..551def8df646e354a589f93fcb86851f3a13fd8e 100644 (file)
@@ -1,4 +1,6 @@
-/* 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.
 
@@ -16,16 +18,9 @@ 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., 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. */
This page took 0.0245 seconds and 4 git commands to generate.