+2013-05-07 Yao Qi <yao@codesourcery.com>
+
+ * solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove.
+ (get_dsbt_info, enable_break, dsbt_clear_solib): Update.
+
2013-05-07 Yao Qi <yao@codesourcery.com>
* solib-dsbt.c (enable_break): Declare.
/* 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;
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;
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;
/* Now (finally!) create the solib breakpoint. */
create_solib_event_breakpoint (target_gdbarch (), addr);
- info->enable_break2_done = 1;
ret = 1;
}
else
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)
{