aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-svr4.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-12-16 20:57:28 +0000
committerFred Fish <fnf@specifix.com>1991-12-16 20:57:28 +0000
commitf8b76e70b7a1cb376bc4ac8ac071fff5c7cf6acd (patch)
treebfb5400a70021ef29b9b687b2b44bb926ed51c47 /gdb/tm-svr4.h
parent01d4cbef85c08a2f983cd4f83f4bbadc9f4ed320 (diff)
downloadgdb-f8b76e70b7a1cb376bc4ac8ac071fff5c7cf6acd.zip
gdb-f8b76e70b7a1cb376bc4ac8ac071fff5c7cf6acd.tar.gz
gdb-f8b76e70b7a1cb376bc4ac8ac071fff5c7cf6acd.tar.bz2
Numerous small changes and a complete reorganization of solib.c, to support
SVR4 shared libraries in a manner very close to the original SunOS support. See the ChangeLog for details.
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 */
+