Home
last modified time | relevance | path

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

123

/NextBSD/contrib/gdb/gdb/
HDproc-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()
HDtypeprint.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()
HDsol-thread.c459 struct cleanup *old_chain; in sol_thread_resume() local
461 old_chain = save_inferior_ptid (); in sol_thread_resume()
481 do_cleanups (old_chain); in sol_thread_resume()
492 struct cleanup *old_chain; in sol_thread_wait() local
495 old_chain = save_inferior_ptid (); in sol_thread_wait()
536 do_cleanups (old_chain); in sol_thread_wait()
732 struct cleanup *old_chain; in sol_thread_xfer_memory() local
734 old_chain = save_inferior_ptid (); in sol_thread_xfer_memory()
748 do_cleanups (old_chain); in sol_thread_xfer_memory()
763 struct cleanup *old_chain; in sol_thread_xfer_partial() local
[all …]
HDutils.c269 struct cleanup *old_chain = *pmy_chain; in make_my_cleanup() local
276 return old_chain; in make_my_cleanup()
283 do_cleanups (struct cleanup *old_chain) in do_cleanups() argument
285 do_my_cleanups (&cleanup_chain, old_chain); in do_cleanups()
289 do_final_cleanups (struct cleanup *old_chain) in do_final_cleanups() argument
291 do_my_cleanups (&final_cleanup_chain, old_chain); in do_final_cleanups()
295 do_run_cleanups (struct cleanup *old_chain) in do_run_cleanups() argument
297 do_my_cleanups (&run_cleanup_chain, old_chain); in do_run_cleanups()
301 do_exec_cleanups (struct cleanup *old_chain) in do_exec_cleanups() argument
303 do_my_cleanups (&exec_cleanup_chain, old_chain); in do_exec_cleanups()
[all …]
HDgcore.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()
HDsolib-svr4.c751 struct cleanup *old_chain = make_cleanup (xfree, new); in svr4_current_sos() local
807 discard_cleanups (old_chain); in svr4_current_sos()
836 struct cleanup *old_chain; in svr4_fetch_objfile_link_map() local
839 old_chain = make_cleanup (xfree, l_name_buf); in svr4_fetch_objfile_link_map()
873 do_cleanups (old_chain); in svr4_fetch_objfile_link_map()
881 do_cleanups (old_chain); in svr4_fetch_objfile_link_map()
1236 struct cleanup *old_chain; in svr4_relocate_main_executable() local
1271 old_chain = make_cleanup (xfree, new_offsets); in svr4_relocate_main_executable()
1283 do_cleanups (old_chain); in svr4_relocate_main_executable()
HDsolib-sunos.c378 struct cleanup *old_chain = make_cleanup (xfree, new); in sunos_current_sos() local
421 discard_cleanups (old_chain); in sunos_current_sos()
701 struct cleanup *old_chain; in sunos_relocate_main_executable() local
736 old_chain = make_cleanup (xfree, new_offsets); in sunos_relocate_main_executable()
748 do_cleanups (old_chain); in sunos_relocate_main_executable()
HDcorelow.c278 struct cleanup *old_chain; in core_open() local
300 old_chain = make_cleanup (xfree, filename); in core_open()
324 discard_cleanups (old_chain); /* Don't free filename any more */ in core_open()
327 old_chain = make_cleanup (core_close_cleanup, 0 /*ignore*/); in core_open()
356 discard_cleanups (old_chain); in core_open()
HDtracepoint.c338 struct cleanup *old_chain; in set_raw_tracepoint() local
341 old_chain = make_cleanup (xfree, t); in set_raw_tracepoint()
373 discard_cleanups (old_chain); in set_raw_tracepoint()
817 struct cleanup *old_chain; in read_actions() local
836 old_chain = make_cleanup_free_actions (t); in read_actions()
905 discard_cleanups (old_chain); in read_actions()
914 struct cleanup *old_chain = NULL; in validate_actionline() local
961 old_chain = make_cleanup (free_current_contents, &exp); in validate_actionline()
1000 do_cleanups (old_chain); in validate_actionline()
1555 struct cleanup *old_chain = NULL; in encode_actions() local
[all …]
HDthread.c539 struct cleanup *old_chain; in thread_apply_all_command() local
546 old_chain = make_cleanup_restore_current_thread (inferior_ptid); in thread_apply_all_command()
572 do_cleanups (old_chain); in thread_apply_all_command()
580 struct cleanup *old_chain; in thread_apply_command() local
592 old_chain = make_cleanup_restore_current_thread (inferior_ptid); in thread_apply_command()
650 do_cleanups (old_chain); in thread_apply_command()
HDinfptrace.c517 struct cleanup *old_chain = NULL; in child_xfer_memory() local
558 old_chain = make_cleanup (xfree, buffer); in child_xfer_memory()
624 if (old_chain != NULL) in child_xfer_memory()
625 do_cleanups (old_chain); in child_xfer_memory()
HDprintcmd.c870 struct cleanup *old_chain = 0; in print_command_1() local
897 old_chain = make_cleanup (free_current_contents, &expr); in print_command_1()
935 do_cleanups (old_chain); in print_command_1()
965 struct cleanup *old_chain; in output_command() local
979 old_chain = make_cleanup (free_current_contents, &expr); in output_command()
992 do_cleanups (old_chain); in output_command()
999 struct cleanup *old_chain = in set_command() local
1002 do_cleanups (old_chain); in set_command()
1274 struct cleanup *old_chain; in x_command() local
1297 old_chain = make_cleanup (free_current_contents, &expr); in x_command()
[all …]
HDstack.c225 struct cleanup *old_chain, *list_chain; in print_frame_args() local
229 old_chain = make_cleanup_ui_out_stream_delete (stb); in print_frame_args()
386 do_cleanups (old_chain); in print_frame_args()
542 struct cleanup *old_chain; in print_frame() local
546 old_chain = make_cleanup_ui_out_stream_delete (stb); in print_frame()
697 do_cleanups (old_chain); in print_frame()
1250 struct cleanup *old_chain = (struct cleanup *) NULL; in backtrace_command() local
1261 old_chain = make_cleanup_freeargv (argv); in backtrace_command()
1312 if (old_chain) in backtrace_command()
1313 do_cleanups (old_chain); in backtrace_command()
HDax-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()
HDvalprint.c1092 struct cleanup *old_chain = NULL; /* Top of the old cleanup chain. */ in val_print_string() local
1120 old_chain = make_cleanup (null_cleanup, 0); in val_print_string()
1126 old_chain = make_cleanup (xfree, buffer); in val_print_string()
1145 discard_cleanups (old_chain); in val_print_string()
1149 old_chain = make_cleanup (xfree, buffer); in val_print_string()
1249 do_cleanups (old_chain); in val_print_string()
HDbreakpoint.c1199 struct cleanup *old_chain = save_inferior_ptid (); in reattach_breakpoints() local
1216 do_cleanups (old_chain); in reattach_breakpoints()
1221 do_cleanups (old_chain); in reattach_breakpoints()
1364 struct cleanup *old_chain = save_inferior_ptid (); in detach_breakpoints() local
1378 do_cleanups (old_chain); in detach_breakpoints()
1383 do_cleanups (old_chain); in detach_breakpoints()
2022 struct cleanup *old_chain; in bpstat_do_actions() local
2030 old_chain = make_cleanup (cleanup_executing_breakpoints, 0); in bpstat_do_actions()
2084 do_cleanups (old_chain); in bpstat_do_actions()
2111 struct cleanup *old_chain, *ui_out_chain; in print_it_typical() local
[all …]
HDinfcmd.c1055 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()
1183 struct cleanup *old_chain; in finish_command() local
1224 old_chain = make_cleanup_delete_breakpoint (breakpoint); in finish_command()
1226 old_chain = make_exec_cleanup_delete_breakpoint (breakpoint); in finish_command()
1258 arg3->data.pointer = old_chain; in finish_command()
1294 do_cleanups (old_chain); in finish_command()
HDtop.c785 struct cleanup *old_chain; in command_loop() local
803 old_chain = make_cleanup (null_cleanup, 0); in command_loop()
825 do_cleanups (old_chain); in command_loop()
859 struct cleanup *old_chain; in simplified_command_loop() local
868 old_chain = make_cleanup (null_cleanup, 0); in simplified_command_loop()
882 do_cleanups (old_chain); in simplified_command_loop()
HDvarobj.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()
2091 struct cleanup *old_chain = make_cleanup_ui_file_delete (stb); in c_value_of_variable() local
2099 do_cleanups (old_chain); in c_value_of_variable()
/NextBSD/contrib/gdb/gdb/cli/
HDcli-script.c101 struct cleanup *old_chain = NULL; in get_command_line() local
106 old_chain = make_cleanup_free_command_lines (&cmd); in get_command_line()
112 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
261 old_chain = setup_user_args (args); in execute_user_command()
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()
287 do_cleanups (old_chain); in execute_user_command()
297 struct cleanup *old_chain = make_cleanup (null_cleanup, 0); in execute_control_command() local
[all …]
HDcli-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()
/NextBSD/gnu/usr.bin/gdb/kgdb/
HDtrgt.c114 struct cleanup *old_chain; in kgdb_trgt_open() local
134 old_chain = make_cleanup (xfree, filename); in kgdb_trgt_open()
142 discard_cleanups(old_chain); in kgdb_trgt_open()
147 old_chain = make_cleanup(kgdb_core_cleanup, NULL); in kgdb_trgt_open()
150 discard_cleanups (old_chain); in kgdb_trgt_open()
HDmain.c186 struct cleanup *old_chain; in kgdb_parse_1() local
197 old_chain = make_cleanup(xfree, s); in kgdb_parse_1()
203 do_cleanups(old_chain); in kgdb_parse_1()
/NextBSD/gnu/usr.bin/gdb/libgdb/
HDfbsd-threads.c1689 struct cleanup *old_chain; in ps_lgetregs() local
1691 old_chain = save_inferior_ptid (); in ps_lgetregs()
1698 do_cleanups (old_chain); in ps_lgetregs()
1705 struct cleanup *old_chain; in ps_lsetregs() local
1707 old_chain = save_inferior_ptid (); in ps_lsetregs()
1711 do_cleanups (old_chain); in ps_lsetregs()
1718 struct cleanup *old_chain; in ps_lgetfpregs() local
1720 old_chain = save_inferior_ptid (); in ps_lgetfpregs()
1724 do_cleanups (old_chain); in ps_lgetfpregs()
1732 struct cleanup *old_chain; in ps_lsetfpregs() local
[all …]
/NextBSD/contrib/gdb/gdb/mi/
HDmi-main.c640 struct cleanup *old_chain; in mi_cmd_data_write_register_values() local
646 old_chain = make_cleanup (xfree, buffer); in mi_cmd_data_write_register_values()
651 do_cleanups (old_chain); in mi_cmd_data_write_register_values()
673 struct cleanup *old_chain;
686 old_chain = make_cleanup (free_current_contents, &expr);
688 do_cleanups (old_chain);
700 struct cleanup *old_chain = NULL; in mi_cmd_data_evaluate_expression() local
715 old_chain = make_cleanup (free_current_contents, &expr); in mi_cmd_data_evaluate_expression()
727 do_cleanups (old_chain); in mi_cmd_data_evaluate_expression()
1019 struct cleanup *old_chain; in mi_cmd_data_write_memory() local
[all …]

123