aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-dsbt.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-05-07 09:26:09 +0000
committerYao Qi <yao@codesourcery.com>2013-05-07 09:26:09 +0000
commit26a4dda9e5c3de44c1540ab835e909f83583589d (patch)
tree61ea74d1879eb48606d135b14425d7deaf818ed3 /gdb/solib-dsbt.c
parent3582629f2da5f4f11c9c825e02b9c6e9782213c6 (diff)
downloadgdb-26a4dda9e5c3de44c1540ab835e909f83583589d.zip
gdb-26a4dda9e5c3de44c1540ab835e909f83583589d.tar.gz
gdb-26a4dda9e5c3de44c1540ab835e909f83583589d.tar.bz2
gdb/
* solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove. (get_dsbt_info, enable_break, dsbt_clear_solib): Update.
Diffstat (limited to 'gdb/solib-dsbt.c')
-rw-r--r--gdb/solib-dsbt.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/solib-dsbt.c b/gdb/solib-dsbt.c
index 3585251..01dc4b7 100644
--- a/gdb/solib-dsbt.c
+++ b/gdb/solib-dsbt.c
@@ -154,8 +154,6 @@ struct dsbt_info
/* Link map address for main module. */
CORE_ADDR main_lm_addr;
- int enable_break2_done;
-
CORE_ADDR interp_text_sect_low;
CORE_ADDR interp_text_sect_high;
CORE_ADDR interp_plt_sect_low;
@@ -189,7 +187,6 @@ get_dsbt_info (void)
info = XZALLOC (struct dsbt_info);
set_program_space_data (current_program_space, solib_dsbt_pspace_data, info);
- info->enable_break2_done = 0;
info->lm_base_cache = 0;
info->main_lm_addr = 0;
@@ -812,9 +809,6 @@ enable_break (void)
info = get_dsbt_info ();
- if (info->enable_break2_done)
- return 1;
-
info->interp_text_sect_low = 0;
info->interp_text_sect_high = 0;
info->interp_plt_sect_low = 0;
@@ -899,7 +893,6 @@ enable_break (void)
/* Now (finally!) create the solib breakpoint. */
create_solib_event_breakpoint (target_gdbarch (), addr);
- info->enable_break2_done = 1;
ret = 1;
}
else
@@ -1023,7 +1016,6 @@ dsbt_clear_solib (void)
struct dsbt_info *info = get_dsbt_info ();
info->lm_base_cache = 0;
- info->enable_break2_done = 0;
info->main_lm_addr = 0;
if (info->main_executable_lm_info != 0)
{