aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc/nm-sun4sol2.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/sparc/nm-sun4sol2.h')
-rw-r--r--gdb/config/sparc/nm-sun4sol2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/config/sparc/nm-sun4sol2.h b/gdb/config/sparc/nm-sun4sol2.h
index f3cfe6b..9fb58e0 100644
--- a/gdb/config/sparc/nm-sun4sol2.h
+++ b/gdb/config/sparc/nm-sun4sol2.h
@@ -28,3 +28,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* Solaris PSRVADDR support does not seem to include a place for nPC. */
#define PRSVADDR_BROKEN
+
+#ifdef __STDC__
+struct objfile;
+#endif
+
+#define target_new_objfile(OBJFILE) sol_thread_new_objfile (OBJFILE)
+
+void sol_thread_new_objfile PARAMS ((struct objfile *objfile));