Deleted Added
full compact
db_write_cmd.c (256281) db_write_cmd.c (273265)
1/*-
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the

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

24 * rights to redistribute these changes.
25 */
26/*
27 * Author: David B. Golub, Carnegie Mellon University
28 * Date: 7/90
29 */
30
31#include <sys/cdefs.h>
1/*-
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the

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

24 * rights to redistribute these changes.
25 */
26/*
27 * Author: David B. Golub, Carnegie Mellon University
28 * Date: 7/90
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: stable/10/sys/ddb/db_write_cmd.c 139747 2005-01-06 01:34:41Z imp $");
32__FBSDID("$FreeBSD: stable/10/sys/ddb/db_write_cmd.c 273265 2014-10-18 19:22:59Z pfg $");
33
34#include <sys/param.h>
35
36#include <ddb/ddb.h>
37#include <ddb/db_access.h>
38#include <ddb/db_command.h>
39#include <ddb/db_sym.h>
40
41/*
42 * Write to file.
43 */
44/*ARGSUSED*/
45void
33
34#include <sys/param.h>
35
36#include <ddb/ddb.h>
37#include <ddb/db_access.h>
38#include <ddb/db_command.h>
39#include <ddb/db_sym.h>
40
41/*
42 * Write to file.
43 */
44/*ARGSUSED*/
45void
46db_write_cmd(address, have_addr, count, modif)
47 db_expr_t address;
48 boolean_t have_addr;
49 db_expr_t count;
50 char * modif;
46db_write_cmd(db_expr_t address, boolean_t have_addr, db_expr_t count,
47 char * modif)
51{
52 register
53 db_addr_t addr;
54 register
55 db_expr_t old_value;
56 db_expr_t new_value;
57 register int size;
58 boolean_t wrote_one = FALSE;

--- 38 unchanged lines hidden ---
48{
49 register
50 db_addr_t addr;
51 register
52 db_expr_t old_value;
53 db_expr_t new_value;
54 register int size;
55 boolean_t wrote_one = FALSE;

--- 38 unchanged lines hidden ---