96 uiout->
text (
"Temporary catchpoint ");
98 uiout->
text (
"Catchpoint ");
105 uiout->
text (
" (exec'd ");
123 if (opts.addressprint)
126 uiout->
text (
"exec");
129 uiout->
text (
", program \"");
166 const char *cond_string;
168 if (((*arg)[0] !=
'i') || ((*arg)[1] !=
'f') || !isspace ((*arg)[2]))
176 *arg = skip_spaces (*arg);
181 (*arg) += strlen (cond_string);
194 const char *cond_string = NULL;
199 arg = skip_spaces (arg);
208 if ((*arg !=
'\0') && !isspace (*arg))
209 error (_(
"Junk at end of arguments."));
211 std::unique_ptr<exec_catchpoint> c
void annotate_field(int num)
void annotate_catchpoint(int num)
struct gdbarch * get_current_arch(void)
void _initialize_break_catch_exec()
static void catch_exec_command_1(const char *arg, int from_tty, struct cmd_list_element *command)
const char * ep_parse_optional_if_clause(const char **arg)
void add_catch_command(const char *name, const char *docstring, cmd_func_ftype *func, completer_ftype *completer, void *user_data_catch, void *user_data_tcatch)
const char * bpdisp_text(enum bpdisp disp)
breakpoint * install_breakpoint(int internal, std::unique_ptr< breakpoint > &&arg, int update_gll)
void maybe_print_thread_hit_breakpoint(struct ui_out *uiout)
void field_string(const char *fldname, const char *string, const ui_file_style &style=ui_file_style())
void field_signed(const char *fldname, LONGEST value)
void field_skip(const char *fldname)
void text(const char *string)
bool is_mi_like_p() const
const char * async_reason_lookup(enum async_reply_reason reason)
gdb::unique_xmalloc_ptr< char > cond_string
void print_recreate_thread(struct ui_file *fp) const
gdb::unique_xmalloc_ptr< char > exec_pathname
exec_catchpoint(struct gdbarch *gdbarch, bool temp, const char *cond_string)
bool print_one(const bp_location **) const override
void print_recreate(struct ui_file *fp) const override
int insert_location(struct bp_location *) override
enum print_stop_action print_it(const bpstat *bs) const override
int breakpoint_hit(const struct bp_location *bl, const address_space *aspace, CORE_ADDR bp_addr, const target_waitstatus &ws) override
int remove_location(struct bp_location *, enum remove_bp_reason reason) override
void print_mention() const override
target_waitkind kind() const
int target_remove_exec_catchpoint(int pid)
int target_insert_exec_catchpoint(int pid)
void gdb_printf(struct ui_file *stream, const char *format,...)
void get_user_print_options(struct value_print_options *opts)