Home
last modified time | relevance | path

Searched refs:make_cleanup (Results 1 – 25 of 91) sorted by relevance

1234

/NextBSD/contrib/gdb/gdb/
HDmacrocmd.c53 struct cleanup *cleanup_chain = make_cleanup (free_current_contents, &ms); in macro_expand_command()
54 make_cleanup (free_current_contents, &expanded); in macro_expand_command()
89 struct cleanup *cleanup_chain = make_cleanup (free_current_contents, &ms); in macro_expand_once_command()
90 make_cleanup (free_current_contents, &expanded); in macro_expand_once_command()
141 struct cleanup *cleanup_chain = make_cleanup (free_current_contents, &ms); in info_macro_command()
HDsolib-svr4.c227 back_to = make_cleanup (xfree, symbol_table); in bfd_lookup_symbol()
255 back_to = make_cleanup (xfree, symbol_table); in bfd_lookup_symbol()
615 struct cleanup *cleanups = make_cleanup (xfree, r_map_buf); in first_link_map_member()
662 struct cleanup *cleanups = make_cleanup (xfree, l_name_buf); in open_symbol_file_object()
698 make_cleanup (xfree, filename); in open_symbol_file_object()
751 struct cleanup *old_chain = make_cleanup (xfree, new); in svr4_current_sos()
756 make_cleanup (xfree, new->lm_info); in svr4_current_sos()
759 make_cleanup (xfree, new->lm_info->lm); in svr4_current_sos()
839 old_chain = make_cleanup (xfree, l_name_buf); in svr4_fetch_objfile_link_map()
845 make_cleanup (xfree, objfile_lm_info.lm); in svr4_fetch_objfile_link_map()
[all …]
HDfbsd-proc.c42 make_cleanup (xfree, path); in child_pid_to_exec_file()
43 make_cleanup (xfree, buf); in child_pid_to_exec_file()
158 make_cleanup (xfree, note_data); in fbsd_make_corefile_notes()
HDmipsread.c264 cleanups = make_cleanup (free, sym_secptr); in read_alphacoff_dynamic_symtab()
266 make_cleanup (free, str_secptr); in read_alphacoff_dynamic_symtab()
268 make_cleanup (free, dyninfo_secptr); in read_alphacoff_dynamic_symtab()
270 make_cleanup (free, got_secptr); in read_alphacoff_dynamic_symtab()
HDmacroexp.c696 struct cleanup *back_to = make_cleanup (free_current_contents, &args); in gather_arguments()
929 struct cleanup *back_to = make_cleanup (null_cleanup, 0); in expand()
939 make_cleanup (free_current_contents, &argv); in expand()
972 make_cleanup (cleanup_macro_buffer, &substituted); in expand()
1023 struct cleanup *back_to = make_cleanup (xfree, id); in maybe_expand()
1109 back_to = make_cleanup (cleanup_macro_buffer, &dest); in macro_expand()
1143 back_to = make_cleanup (cleanup_macro_buffer, &dest); in macro_expand_next()
HDelfread.c479 make_cleanup (free_elfinfo, (void *) objfile); in elf_symfile_read()
493 make_cleanup (xfree, symbol_table); in elf_symfile_read()
510 make_cleanup (xfree, dyn_symbol_table); in elf_symfile_read()
531 make_cleanup (xfree, synthsyms); in elf_symfile_read()
541 make_cleanup (xfree, synth_symbol_table); in elf_symfile_read()
HDdisasm.c167 struct cleanup *ui_out_tuple_chain = make_cleanup (null_cleanup, 0); in do_mixed_source_and_assembly()
168 struct cleanup *ui_out_list_chain = make_cleanup (null_cleanup, 0); in do_mixed_source_and_assembly()
287 ui_out_tuple_chain = make_cleanup (null_cleanup, 0); in do_mixed_source_and_assembly()
288 ui_out_list_chain = make_cleanup (null_cleanup, 0); in do_mixed_source_and_assembly()
HDtypeprint.c130 old_chain = make_cleanup (free_current_contents, &expr); in whatis_exp()
217 old_chain = make_cleanup (free_current_contents, &expr); in ptype_command()
333 old_chain = make_cleanup (free_current_contents, &expr); in maintenance_print_type()
HDsolib-sunos.c378 struct cleanup *old_chain = make_cleanup (xfree, new); in sunos_current_sos()
383 make_cleanup (xfree, new->lm_info); in sunos_current_sos()
386 make_cleanup (xfree, new->lm_info->lm); in sunos_current_sos()
736 old_chain = make_cleanup (xfree, new_offsets); in sunos_relocate_main_executable()
HDsymfile.c288 struct cleanup *back_to = make_cleanup (decrement_reading_symtab, NULL); in psymtab_to_symtab()
542 make_cleanup (xfree, local_addr); in syms_from_objfile()
552 make_cleanup (clear_symtab_users_cleanup, 0 /*ignore*/); in syms_from_objfile()
806 my_cleanups = make_cleanup (xfree, orig_addrs); in symbol_file_add_with_addrs_or_offsets()
1239 make_cleanup (xfree, name); in symfile_bfd_open()
1250 make_cleanup (xfree, name); in symfile_bfd_open()
1262 make_cleanup (xfree, name); in symfile_bfd_open()
1393 old_chain = make_cleanup (xfree, buffer); in load_section_callback()
1426 make_cleanup (xfree, check); in load_section_callback()
1480 old_cleanups = make_cleanup (xfree, filename); in generic_load()
[all …]
HDbreakpoint.c608 struct cleanup *cleanups = make_cleanup (xfree, tmpbuf); in commands_command()
1038 struct cleanup *cleanups = make_cleanup (xfree, message); in insert_bp_location()
1070 struct cleanup *cleanups = make_cleanup (xfree, prefix); in insert_bp_location()
2030 old_chain = make_cleanup (cleanup_executing_breakpoints, 0); in bpstat_do_actions()
2705 struct cleanup *cleanups = make_cleanup (xfree, message); in bpstat_stop_status()
2780 struct cleanup *cleanups = make_cleanup (xfree, message); in bpstat_stop_status()
4318 old_chain = make_cleanup (do_restore_lang_radix_cleanup, &old_lr); in resolve_pending_breakpoint()
4448 old_chain = make_cleanup (xfree, sals.sals); in solib_load_unload_1()
4451 make_cleanup (xfree, canonical); in solib_load_unload_1()
4452 canonical_strings_chain = make_cleanup (null_cleanup, 0); in solib_load_unload_1()
[all …]
HDprintcmd.c547 struct cleanup *cleanup_chain = make_cleanup (free_current_contents, &name); in print_address_symbolic()
548 make_cleanup (free_current_contents, &filename); in print_address_symbolic()
897 old_chain = make_cleanup (free_current_contents, &expr); in print_command_1()
979 old_chain = make_cleanup (free_current_contents, &expr); in output_command()
1000 make_cleanup (free_current_contents, &expr); in set_command()
1297 old_chain = make_cleanup (free_current_contents, &expr); in x_command()
1746 old_cleanups = make_cleanup (free_current_contents, &val_args); in printf_command()
HDtracepoint.c341 old_chain = make_cleanup (xfree, t); in set_raw_tracepoint()
961 old_chain = make_cleanup (free_current_contents, &exp); in validate_actionline()
989 (void) make_cleanup (xfree, areqs.reg_mask); in validate_actionline()
1055 return make_cleanup (do_free_actions_cleanup, t); in make_cleanup_free_actions()
1561 old_chain = make_cleanup (free_current_contents, &exp); in encode_actions()
1754 old_chain = make_cleanup (free_actions_list_cleanup_wrapper, in trace_start_command()
1756 (void) make_cleanup (free_actions_list_cleanup_wrapper, in trace_start_command()
2121 old_chain = make_cleanup (xfree, sals.sals); in trace_find_line_command()
2509 old_cleanups = make_cleanup (null_cleanup, NULL); in trace_dump_command()
2572 make_cleanup (replace_comma, next_comma); in trace_dump_command()
HDpa64solib.c171 make_cleanup (xfree, filename); in pa64_solib_sizeof_symbol_table()
179 make_cleanup (xfree, filename); in pa64_solib_sizeof_symbol_table()
265 my_cleanups = make_cleanup (xfree, section_addrs); in pa64_solib_add_solib_objfile()
1230 back_to = make_cleanup (xfree, symbol_table); in bfd_lookup_symbol()
HDthread.c523 return make_cleanup (do_restore_current_thread_cleanup, old); in make_cleanup_restore_current_thread()
555 saved_cmd_cleanup_chain = make_cleanup (xfree, (void *) saved_cmd); in thread_apply_all_command()
597 saved_cmd_cleanup_chain = make_cleanup (xfree, (void *) saved_cmd); in thread_apply_command()
HDui-out.c367 return make_cleanup (do_cleanup_table_end, ui_out); in make_cleanup_ui_out_table_begin_end()
436 return make_cleanup (do_cleanup_end, end_cleanup_data); in make_cleanup_ui_out_end()
513 struct cleanup *old_cleanup = make_cleanup (xfree, buffer); in ui_out_field_stream()
625 return make_cleanup (do_stream_delete, buf); in make_cleanup_ui_out_stream_delete()
HDc-lang.c449 struct cleanup *back_to = make_cleanup (free_current_contents, &scope); in c_preprocess_and_parse()
468 make_cleanup (scan_macro_cleanup, 0); in c_preprocess_and_parse()
HDcorelow.c300 old_chain = make_cleanup (xfree, filename); in core_open()
327 old_chain = make_cleanup (core_close_cleanup, 0 /*ignore*/); in core_open()
/NextBSD/contrib/gdb/gdb/cli/
HDcli-script.c222 struct cleanup *cleanups = make_cleanup (clear_hook_in_cleanup, c); in execute_cmd_pre_hook()
234 struct cleanup *cleanups = make_cleanup (clear_hook_in_cleanup, c); in execute_cmd_post_hook()
271 old_chain = make_cleanup (do_restore_user_call_depth, &user_call_depth); in execute_user_command()
275 old_chain = make_cleanup (do_restore_instream_cleanup, instream); in execute_user_command()
297 struct cleanup *old_chain = make_cleanup (null_cleanup, 0); in execute_control_command()
315 make_cleanup (free_current_contents, &new_line); in execute_control_command()
333 make_cleanup (free_current_contents, &new_line); in execute_control_command()
335 make_cleanup (free_current_contents, &expr); in execute_control_command()
393 make_cleanup (free_current_contents, &new_line); in execute_control_command()
396 make_cleanup (free_current_contents, &expr); in execute_control_command()
[all …]
HDcli-dump.c55 make_cleanup (xfree, exp); in scan_expression_with_cleanup()
65 make_cleanup (xfree, exp); in scan_expression_with_cleanup()
82 return make_cleanup (do_fclose_cleanup, file); in make_cleanup_fclose()
99 make_cleanup (xfree, filename); in scan_filename_with_cleanup()
109 make_cleanup (xfree, filename); in scan_filename_with_cleanup()
115 make_cleanup (xfree, fullname); in scan_filename_with_cleanup()
228 struct cleanup *old_cleanups = make_cleanup (null_cleanup, NULL); in dump_memory_to_file()
260 make_cleanup (xfree, buf); in dump_memory_to_file()
285 struct cleanup *old_cleanups = make_cleanup (null_cleanup, NULL); in dump_value_to_file()
492 old_chain = make_cleanup (xfree, buf); in restore_section_callback()
[all …]
/NextBSD/contrib/gdb/gdb/mi/
HDmi-main.c646 old_chain = make_cleanup (xfree, buffer); in mi_cmd_data_write_register_values()
686 old_chain = make_cleanup (free_current_contents, &expr);
715 old_chain = make_cleanup (free_current_contents, &expr); in mi_cmd_data_evaluate_expression()
739 old_cleanups = make_cleanup (xfree, run); in mi_cmd_target_download()
754 old_cleanups = make_cleanup (xfree, run); in mi_cmd_target_select()
798 struct cleanup *cleanups = make_cleanup (null_cleanup, NULL); in mi_cmd_data_read_memory()
901 make_cleanup (xfree, mbuf); in mi_cmd_data_read_memory()
1072 old_chain = make_cleanup (xfree, buffer); in mi_cmd_data_write_memory()
1223 struct cleanup *cleanup = make_cleanup (xfree, msg); in mi_execute_command()
1324 old_cleanups = make_cleanup (xfree, run); in mi_execute_cli_command()
[all …]
HDmi-cmd-var.c62 old_cleanups = make_cleanup (free_current_contents, &name); in mi_cmd_var_create()
65 old_cleanups = make_cleanup (xfree, frame); in mi_cmd_var_create()
128 old_cleanups = make_cleanup (free_current_contents, &name); in mi_cmd_var_delete()
/NextBSD/gnu/usr.bin/gdb/kgdb/
HDkld.c131 make_cleanup(xfree, module_path); in find_kld_path()
247 cleanup = make_cleanup(xfree, sections); in load_kld()
255 cleanup = make_cleanup((make_cleanup_ftype *)free_section_addr_info, in load_kld()
HDtrgt.c134 old_chain = make_cleanup (xfree, filename); in kgdb_trgt_open()
147 old_chain = make_cleanup(kgdb_core_cleanup, NULL); in kgdb_trgt_open()
HDmain.c197 old_chain = make_cleanup(xfree, s); in kgdb_parse_1()
199 make_cleanup(free_current_contents, &expr); in kgdb_parse_1()

1234