aboutsummaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-03-08 19:16:33 +0000
committerJeff Law <law@redhat.com>1996-03-08 19:16:33 +0000
commit3c5124da490a9dc51aee29e7416767e9173ab74c (patch)
treef67f3a3fe9914369eb1a7e21dfe0a58cb158a5b2 /gdb/corelow.c
parent4972c44eb37ad94a8655611eaf0ca84ccb84c622 (diff)
downloadfsf-binutils-gdb-3c5124da490a9dc51aee29e7416767e9173ab74c.zip
fsf-binutils-gdb-3c5124da490a9dc51aee29e7416767e9173ab74c.tar.gz
fsf-binutils-gdb-3c5124da490a9dc51aee29e7416767e9173ab74c.tar.bz2
* breakpoint.h (enum enable): New enum shlib_disabled for
shared library breakpoints that have been temporarily disabled. * breakpoint.c: Handle temporarily disabled shared library breakpoints like disabled breakpoints in most places. (insert_breakpoints): Use shlib_disabled to indicate that an unsettable breakpoint is only temporarily disabled. (re_enable_breakpoints_in_shlibs): New function. * corelow.c (solib_add_stub): After adding shared libraries, try to reenable any temporarily disabled breakpoints. * infcmd.c (attach_command): Likewise. * infrun.c (wait_for_inferior): Likewise. Hopefully the last 7763 related patches for a while.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index d0626c3..48bc184 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -107,6 +107,7 @@ solib_add_stub (from_ttyp)
char *from_ttyp;
{
SOLIB_ADD (NULL, *(int *)from_ttyp, &current_target);
+ re_enable_breakpoints_in_shlibs ();
return 0;
}
#endif /* SOLIB_ADD */