summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-08-14 11:09:45 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-08-14 11:09:45 +0000
commit3298e71c4f1456b5f25b4170ebb7ae4229d20d2b (patch)
treeb55c1e529693e39604a2664f29cadbcf0aa6b25c /gdb/breakpoint.c
parent5e35e9d775303b90f59b97599529fb5cf5e06d71 (diff)
downloadgdb-3298e71c4f1456b5f25b4170ebb7ae4229d20d2b.tar.gz
gdb/
* breakpoint.c (disable_breakpoints_in_shlibs): Remove the 'silent' parameter and code to implement that. * breakpoint.h (disable_breakpoints_in_shlibs): Adjust prototype. * win32-nat.c: Adjust. * solib.c: Adjust.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 1fc3d104956..f798710dfb8 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -4448,7 +4448,7 @@ create_solib_event_breakpoint (CORE_ADDR address)
apply to enabled breakpoints, disabled ones can just stay disabled. */
void
-disable_breakpoints_in_shlibs (int silent)
+disable_breakpoints_in_shlibs (void)
{
struct breakpoint *b;
int disabled_shlib_breaks = 0;
@@ -4463,19 +4463,7 @@ disable_breakpoints_in_shlibs (int silent)
&& solib_address (b->loc->address)
#endif
)
- {
b->enable_state = bp_shlib_disabled;
- if (!silent)
- {
- if (!disabled_shlib_breaks)
- {
- target_terminal_ours_for_output ();
- warning (_("Temporarily disabling shared library breakpoints:"));
- }
- disabled_shlib_breaks = 1;
- warning (_("breakpoint #%d "), b->number);
- }
- }
}
}