/* * Created by: Jason Wessel <[email protected]> * * Copyright (c) 2009 Wind River Systems, Inc. All Rights Reserved. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include <linux/kgdb.h> #include <linux/kdb.h> #include <linux/kdebug.h> #include <linux/export.h> #include <linux/hardirq.h> #include "kdb_private.h" #include "../debug_core.h" /* * KDB interface to KGDB internals */ get_char_func kdb_poll_funcs[] = …; EXPORT_SYMBOL_GPL(…); int kdb_poll_idx = …; EXPORT_SYMBOL_GPL(…); static struct kgdb_state *kdb_ks; int kdb_common_init_state(struct kgdb_state *ks) { … } int kdb_common_deinit_state(void) { … } int kdb_stub(struct kgdb_state *ks) { … } void kdb_gdb_state_pass(char *buf) { … }