Deleted Added
full compact
db_textdump.c (272958) db_textdump.c (283088)
1/*-
2 * Copyright (c) 2007 Robert N. M. Watson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

52 * TODO
53 * ----
54 *
55 * - Allow subsytems to register to submit files for inclusion in the text
56 * dump in a generic way.
57 */
58
59#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2007 Robert N. M. Watson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

52 * TODO
53 * ----
54 *
55 * - Allow subsytems to register to submit files for inclusion in the text
56 * dump in a generic way.
57 */
58
59#include <sys/cdefs.h>
60__FBSDID("$FreeBSD: head/sys/ddb/db_textdump.c 272958 2014-10-11 20:25:19Z pfg $");
60__FBSDID("$FreeBSD: head/sys/ddb/db_textdump.c 283088 2015-05-18 22:27:46Z pfg $");
61
62#include "opt_config.h"
63
64#include "opt_ddb.h"
65
66#include <sys/param.h>
67#include <sys/conf.h>
68#include <sys/kernel.h>

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

538 db_printf("textdump is set\n");
539 else
540 db_printf("textdump is not set\n");
541 } else if (strcmp(db_tok_string, "unset") == 0) {
542 textdump_pending = 0;
543 db_printf("textdump unset\n");
544 } else if (strcmp(db_tok_string, "dump") == 0) {
545 textdump_pending = 1;
61
62#include "opt_config.h"
63
64#include "opt_ddb.h"
65
66#include <sys/param.h>
67#include <sys/conf.h>
68#include <sys/kernel.h>

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

538 db_printf("textdump is set\n");
539 else
540 db_printf("textdump is not set\n");
541 } else if (strcmp(db_tok_string, "unset") == 0) {
542 textdump_pending = 0;
543 db_printf("textdump unset\n");
544 } else if (strcmp(db_tok_string, "dump") == 0) {
545 textdump_pending = 1;
546 doadump(TRUE);
546 doadump(true);
547 } else {
548 db_textdump_usage();
549 }
550}
547 } else {
548 db_textdump_usage();
549 }
550}