db_watch.c (9d81dd5404b3ad7108059d7065814d56a722a96c) db_watch.c (c84c5e00ac28c8e00a56019031d1eaec74428b54)
1/*-
2 * SPDX-License-Identifier: MIT-CMU
3 *
4 * Mach Operating System
5 * Copyright (c) 1991,1990 Carnegie Mellon University
6 * All Rights Reserved.
7 *
8 * Permission to use, copy, modify and distribute this software and its

--- 202 unchanged lines hidden (view full) ---

211
212 db_set_watchpoint(db_map_addr(addr), addr, size);
213}
214
215/*
216 * At least one non-optional show-command must be implemented using
217 * DB_SHOW_COMMAND() so that db_show_cmd_set gets created. Here is one.
218 */
1/*-
2 * SPDX-License-Identifier: MIT-CMU
3 *
4 * Mach Operating System
5 * Copyright (c) 1991,1990 Carnegie Mellon University
6 * All Rights Reserved.
7 *
8 * Permission to use, copy, modify and distribute this software and its

--- 202 unchanged lines hidden (view full) ---

211
212 db_set_watchpoint(db_map_addr(addr), addr, size);
213}
214
215/*
216 * At least one non-optional show-command must be implemented using
217 * DB_SHOW_COMMAND() so that db_show_cmd_set gets created. Here is one.
218 */
219DB_SHOW_COMMAND(watches, db_listwatch_cmd)
219DB_SHOW_COMMAND_FLAGS(watches, db_listwatch_cmd, DB_CMD_MEMSAFE)
220{
221 db_list_watchpoints();
222 db_md_list_watchpoints();
223}
224
225void
226db_set_watchpoints(void)
227{

--- 110 unchanged lines hidden ---
220{
221 db_list_watchpoints();
222 db_md_list_watchpoints();
223}
224
225void
226db_set_watchpoints(void)
227{

--- 110 unchanged lines hidden ---