aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-svr4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tm-svr4.h')
-rwxr-xr-xgdb/tm-svr4.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/gdb/tm-svr4.h b/gdb/tm-svr4.h
index ed14214..f1eea20 100755
--- a/gdb/tm-svr4.h
+++ b/gdb/tm-svr4.h
@@ -18,4 +18,20 @@ 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. */
-/* Currently empty */
+/* Support for SVR4 shared libraries. */
+
+#define CLEAR_SOLIB clear_solib
+extern void clear_solib (); /* solib.c */
+
+#define SOLIB_ADD(filename, from_tty, targ) solib_add (filename, from_tty, targ)
+extern void solib_add (); /* solib.c */
+
+#define SOLIB_CREATE_INFERIOR_HOOK solib_create_inferior_hook
+extern void solib_create_inferior_hook(); /* solib.c */
+
+/* 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 */
+