Home
last modified time | relevance | path

Searched refs:old_chain (Results 1 – 25 of 59) sorted by relevance

123

/openbsd/gnu/usr.bin/binutils/gdb/
H A Dhpux-thread.c175 struct cleanup *old_chain; in hpux_thread_resume() local
195 do_cleanups (old_chain); in hpux_thread_resume()
205 struct cleanup *old_chain; in hpux_thread_wait() local
218 do_cleanups (old_chain); in hpux_thread_wait()
253 struct cleanup *old_chain; in hpux_thread_fetch_registers() local
267 do_cleanups (old_chain); in hpux_thread_fetch_registers()
308 do_cleanups (old_chain); in hpux_thread_fetch_registers()
315 struct cleanup *old_chain; in hpux_thread_store_registers() local
378 do_cleanups (old_chain); in hpux_thread_store_registers()
399 struct cleanup *old_chain; in hpux_thread_xfer_memory() local
[all …]
H A Dproc-service.c72 struct cleanup *old_chain = save_inferior_ptid (); in ps_xfer_memory() local
82 do_cleanups (old_chain); in ps_xfer_memory()
232 struct cleanup *old_chain = save_inferior_ptid (); in ps_lgetregs() local
239 do_cleanups (old_chain); in ps_lgetregs()
249 struct cleanup *old_chain = save_inferior_ptid (); in ps_lsetregs() local
257 do_cleanups (old_chain); in ps_lsetregs()
268 struct cleanup *old_chain = save_inferior_ptid (); in ps_lgetfpregs() local
275 do_cleanups (old_chain); in ps_lgetfpregs()
286 struct cleanup *old_chain = save_inferior_ptid (); in ps_lsetfpregs() local
294 do_cleanups (old_chain); in ps_lsetfpregs()
H A Dtypeprint.c120 struct cleanup *old_chain = NULL; in whatis_exp() local
130 old_chain = make_cleanup (free_current_contents, &expr); in whatis_exp()
173 do_cleanups (old_chain); in whatis_exp()
207 struct cleanup *old_chain; in ptype_command() local
217 old_chain = make_cleanup (free_current_contents, &expr); in ptype_command()
225 do_cleanups (old_chain); in ptype_command()
230 do_cleanups (old_chain); in ptype_command()
327 struct cleanup *old_chain; in maintenance_print_type() local
333 old_chain = make_cleanup (free_current_contents, &expr); in maintenance_print_type()
350 do_cleanups (old_chain); in maintenance_print_type()
H A Dsol-thread.c397 struct cleanup *old_chain; in sol_thread_resume() local
419 do_cleanups (old_chain); in sol_thread_resume()
430 struct cleanup *old_chain; in sol_thread_wait() local
474 do_cleanups (old_chain); in sol_thread_wait()
689 do_cleanups (old_chain); in sol_thread_xfer_memory()
725 do_cleanups (old_chain); in sol_thread_xfer_partial()
1052 do_cleanups (old_chain); in rw_common()
1110 do_cleanups (old_chain); in ps_lgetregs()
1133 do_cleanups (old_chain); in ps_lsetregs()
1242 do_cleanups (old_chain); in ps_lgetfpregs()
[all …]
H A Dsolib-aix5.c329 struct cleanup *old_chain = make_cleanup (null_cleanup, 0); in open_symbol_file_object() local
344 do_cleanups (old_chain); in open_symbol_file_object()
373 struct cleanup *old_chain = make_cleanup (null_cleanup, 0); in aix5_current_sos() local
395 discard_cleanups (old_chain); in aix5_current_sos()
701 struct cleanup *old_chain = make_cleanup (null_cleanup, 0); in aix5_relocate_main_executable() local
711 do_cleanups (old_chain); in aix5_relocate_main_executable()
763 do_cleanups (old_chain); in aix5_relocate_main_executable()
859 struct cleanup *old_chain = make_cleanup (null_cleanup, 0); in aix5_find_global_pointer() local
890 do_cleanups (old_chain); in aix5_find_global_pointer()
914 do_cleanups (old_chain); in aix5_find_gate_addresses()
[all …]
H A Dutils.c283 struct cleanup *old_chain = *pmy_chain; in make_my_cleanup() local
290 return old_chain; in make_my_cleanup()
297 do_cleanups (struct cleanup *old_chain) in do_cleanups() argument
309 do_run_cleanups (struct cleanup *old_chain) in do_run_cleanups() argument
315 do_exec_cleanups (struct cleanup *old_chain) in do_exec_cleanups() argument
328 struct cleanup *old_chain) in do_my_cleanups() argument
331 while ((ptr = *pmy_chain) != old_chain) in do_my_cleanups()
362 struct cleanup *old_chain) in discard_my_cleanups() argument
365 while ((ptr = *pmy_chain) != old_chain) in discard_my_cleanups()
388 struct cleanup *old_chain = *pmy_chain; in save_my_cleanups() local
[all …]
H A Dsolib-svr4.c635 struct cleanup *old_chain; in svr4_current_sos() local
645 old_chain = make_cleanup (xfree, new_offsets); in svr4_current_sos()
657 do_cleanups (old_chain); in svr4_current_sos()
761 discard_cleanups (old_chain); in svr4_current_sos()
790 struct cleanup *old_chain; in svr4_fetch_objfile_link_map() local
793 old_chain = make_cleanup (xfree, l_name_buf); in svr4_fetch_objfile_link_map()
827 do_cleanups (old_chain); in svr4_fetch_objfile_link_map()
835 do_cleanups (old_chain); in svr4_fetch_objfile_link_map()
1188 struct cleanup *old_chain; in svr4_relocate_main_executable() local
1223 old_chain = make_cleanup (xfree, new_offsets); in svr4_relocate_main_executable()
[all …]
H A Dgcore.c44 struct cleanup *old_chain; in gcore_command() local
74 old_chain = make_cleanup_bfd_close (obfd); in gcore_command()
112 do_cleanups (old_chain); in gcore_command()
448 struct cleanup *old_chain = NULL; in gcore_copy_callback() local
463 old_chain = make_cleanup (xfree, memhunk); in gcore_copy_callback()
473 do_cleanups (old_chain); /* Frees MEMHUNK. */ in gcore_copy_callback()
H A Dcorelow.c282 struct cleanup *old_chain; in core_open() local
305 old_chain = make_cleanup (xfree, filename); in core_open()
334 discard_cleanups (old_chain); /* Don't free filename any more */ in core_open()
337 old_chain = make_cleanup (core_close_cleanup, 0 /*ignore*/); in core_open()
366 discard_cleanups (old_chain); in core_open()
H A Dthread.c515 struct cleanup *old_chain; in thread_apply_all_command() local
522 old_chain = make_cleanup_restore_current_thread (inferior_ptid); in thread_apply_all_command()
543 do_cleanups (old_chain); in thread_apply_all_command()
551 struct cleanup *old_chain; in thread_apply_command() local
563 old_chain = make_cleanup_restore_current_thread (inferior_ptid); in thread_apply_command()
616 do_cleanups (old_chain); in thread_apply_command()
H A Dtracepoint.c338 struct cleanup *old_chain; in set_raw_tracepoint() local
373 discard_cleanups (old_chain); in set_raw_tracepoint()
816 struct cleanup *old_chain; in read_actions() local
899 discard_cleanups (old_chain); in read_actions()
908 struct cleanup *old_chain = NULL; in validate_actionline() local
994 do_cleanups (old_chain); in validate_actionline()
1619 do_cleanups (old_chain); in encode_actions()
1718 struct cleanup *old_chain = NULL; in trace_start_command() local
1787 do_cleanups (old_chain); in trace_start_command()
2094 struct cleanup *old_chain; in trace_find_line_command() local
[all …]
H A Dinfptrace.c421 struct cleanup *old_chain = NULL; in child_xfer_memory() local
462 old_chain = make_cleanup (xfree, buffer); in child_xfer_memory()
525 if (old_chain != NULL) in child_xfer_memory()
526 do_cleanups (old_chain); in child_xfer_memory()
H A Dprintcmd.c868 struct cleanup *old_chain = 0; in print_command_1() local
895 old_chain = make_cleanup (free_current_contents, &expr); in print_command_1()
933 do_cleanups (old_chain); in print_command_1()
963 struct cleanup *old_chain; in output_command() local
977 old_chain = make_cleanup (free_current_contents, &expr); in output_command()
990 do_cleanups (old_chain); in output_command()
997 struct cleanup *old_chain = in set_command() local
1000 do_cleanups (old_chain); in set_command()
1272 struct cleanup *old_chain; in x_command() local
1295 old_chain = make_cleanup (free_current_contents, &expr); in x_command()
[all …]
H A Dvalprint.c892 struct cleanup *old_chain = NULL; /* Top of the old cleanup chain. */ in val_print_string() local
920 old_chain = make_cleanup (null_cleanup, 0); in val_print_string()
926 old_chain = make_cleanup (xfree, buffer); in val_print_string()
945 discard_cleanups (old_chain); in val_print_string()
949 old_chain = make_cleanup (xfree, buffer); in val_print_string()
1049 do_cleanups (old_chain); in val_print_string()
H A Dstack.c221 struct cleanup *old_chain, *list_chain; in print_frame_args() local
225 old_chain = make_cleanup_ui_out_stream_delete (stb); in print_frame_args()
384 do_cleanups (old_chain); in print_frame_args()
544 struct cleanup *old_chain; in print_frame() local
548 old_chain = make_cleanup_ui_out_stream_delete (stb); in print_frame()
693 do_cleanups (old_chain); in print_frame()
1192 struct cleanup *old_chain = (struct cleanup *) NULL; in backtrace_command() local
1202 old_chain = make_cleanup_freeargv (argv); in backtrace_command()
1250 if (old_chain) in backtrace_command()
1251 do_cleanups (old_chain); in backtrace_command()
H A Dax-gdb.c1729 struct cleanup *old_chain = 0; in expr_to_agent() local
1733 old_chain = make_cleanup_free_agent_expr (ax); in expr_to_agent()
1742 discard_cleanups (old_chain); in expr_to_agent()
1781 struct cleanup *old_chain = 0; in gen_trace_for_expr() local
1786 old_chain = make_cleanup_free_agent_expr (ax); in gen_trace_for_expr()
1801 discard_cleanups (old_chain); in gen_trace_for_expr()
1808 struct cleanup *old_chain = 0; in agent_command() local
1824 old_chain = make_cleanup (free_current_contents, &expr); in agent_command()
1832 do_cleanups (old_chain); in agent_command()
H A Dinfcmd.c1081 struct cleanup *old_chain; in print_return_value() local
1114 old_chain = make_cleanup_ui_out_stream_delete (stb); in print_return_value()
1122 do_cleanups (old_chain); in print_return_value()
1191 struct cleanup *old_chain; in finish_command() local
1232 old_chain = make_cleanup_delete_breakpoint (breakpoint); in finish_command()
1234 old_chain = make_exec_cleanup_delete_breakpoint (breakpoint); in finish_command()
1265 arg3->data.pointer = old_chain; in finish_command()
1301 do_cleanups (old_chain); in finish_command()
H A Dtop.c775 struct cleanup *old_chain; in command_loop() local
793 old_chain = make_cleanup (null_cleanup, 0); in command_loop()
815 do_cleanups (old_chain); in command_loop()
849 struct cleanup *old_chain; in simplified_command_loop() local
858 old_chain = make_cleanup (null_cleanup, 0); in simplified_command_loop()
872 do_cleanups (old_chain); in simplified_command_loop()
H A Dbreakpoint.c1240 do_cleanups (old_chain); in reattach_breakpoints()
1402 do_cleanups (old_chain); in detach_breakpoints()
2001 struct cleanup *old_chain; in bpstat_do_actions() local
2063 do_cleanups (old_chain); in bpstat_do_actions()
3589 do_cleanups (old_chain); in print_one_breakpoint()
4334 do_cleanups (old_chain); in resolve_pending_breakpoint()
4588 do_cleanups (old_chain); in solib_load_unload_1()
4939 do_cleanups (old_chain); in mention()
5376 do_cleanups (old_chain); in break_command_1()
5486 do_cleanups (old_chain); in do_captured_breakpoint()
[all …]
H A Dsolib.c234 struct cleanup *old_chain; in solib_map_sections() local
239 old_chain = make_cleanup (xfree, filename); in solib_map_sections()
290 do_cleanups (old_chain); in solib_map_sections()
H A Dvarobj.c428 struct cleanup *old_chain; in varobj_create() local
432 old_chain = make_cleanup_free_variable (var); in varobj_create()
474 do_cleanups (old_chain); in varobj_create()
533 do_cleanups (old_chain); in varobj_create()
538 discard_cleanups (old_chain); in varobj_create()
731 struct cleanup *old_chain; in varobj_get_type() local
742 old_chain = make_cleanup_ui_file_delete (stb); in varobj_get_type()
750 do_cleanups (old_chain); in varobj_get_type()
2147 struct cleanup *old_chain = make_cleanup_ui_file_delete (stb); in c_value_of_variable() local
2157 do_cleanups (old_chain); in c_value_of_variable()
H A Devent-top.c466 struct cleanup *old_chain; in command_handler() local
480 old_chain = make_cleanup (null_cleanup, 0); in command_handler()
526 do_cleanups (old_chain); in command_handler()
/openbsd/gnu/usr.bin/binutils/gdb/cli/
H A Dcli-script.c112 do_cleanups (old_chain); in get_command_line()
116 discard_cleanups (old_chain); in get_command_line()
256 struct cleanup *old_chain; in execute_user_command() local
287 do_cleanups (old_chain); in execute_user_command()
434 do_cleanups (old_chain); in execute_control_command()
495 struct cleanup *old_chain; in setup_user_args() local
507 return old_chain; in setup_user_args()
520 return old_chain; in setup_user_args()
567 return old_chain; in setup_user_args()
920 old_chain = NULL; in read_command_lines()
[all …]
H A Dcli-setshow.c258 struct cleanup *old_chain; in do_setshow_command() local
263 old_chain = make_cleanup_ui_out_stream_delete (stb); in do_setshow_command()
342 do_cleanups (old_chain); in do_setshow_command()
/openbsd/gnu/usr.bin/binutils/gdb/mi/
H A Dmi-main.c604 struct cleanup *old_chain; in mi_cmd_data_write_register_values() local
610 old_chain = make_cleanup (xfree, buffer); in mi_cmd_data_write_register_values()
615 do_cleanups (old_chain); in mi_cmd_data_write_register_values()
637 struct cleanup *old_chain;
649 old_chain = make_cleanup (free_current_contents, &expr);
651 do_cleanups (old_chain);
663 struct cleanup *old_chain = NULL; in mi_cmd_data_evaluate_expression() local
689 do_cleanups (old_chain); in mi_cmd_data_evaluate_expression()
973 struct cleanup *old_chain; in mi_cmd_data_write_memory() local
1025 old_chain = make_cleanup (xfree, buffer); in mi_cmd_data_write_memory()
[all …]

123