kdb_private.h (95f7f15461fa482a05237669507b4c9b06865b73) kdb_private.h (c25abcd625505f53b72dc156bac32b5120826742)
1#ifndef _KDBPRIVATE_H
2#define _KDBPRIVATE_H
3
4/*
5 * Kernel Debugger Architecture Independent Private Headers
6 *
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive

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

159 unsigned int bp_delay:1; /* Do delayed bp handling */
160 unsigned int bp_delayed:1; /* Delayed breakpoint */
161 unsigned int bph_length; /* HW break length */
162} kdb_bp_t;
163
164#ifdef CONFIG_KGDB_KDB
165extern kdb_bp_t kdb_breakpoints[/* KDB_MAXBPT */];
166
1#ifndef _KDBPRIVATE_H
2#define _KDBPRIVATE_H
3
4/*
5 * Kernel Debugger Architecture Independent Private Headers
6 *
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file "COPYING" in the main directory of this archive

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

159 unsigned int bp_delay:1; /* Do delayed bp handling */
160 unsigned int bp_delayed:1; /* Delayed breakpoint */
161 unsigned int bph_length; /* HW break length */
162} kdb_bp_t;
163
164#ifdef CONFIG_KGDB_KDB
165extern kdb_bp_t kdb_breakpoints[/* KDB_MAXBPT */];
166
167/* The KDB shell command table */
168typedef struct _kdbtab {
169 char *cmd_name; /* Command name */
170 kdb_func_t cmd_func; /* Function to execute command */
171 char *cmd_usage; /* Usage String for this command */
172 char *cmd_help; /* Help message for this command */
173 short cmd_minlen; /* Minimum legal # command
174 * chars required */
175 kdb_cmdflags_t cmd_flags; /* Command behaviour flags */
176 struct list_head list_node; /* Command list */
177 bool is_dynamic; /* Command table allocation type */
178} kdbtab_t;
179
180extern void kdb_register_table(kdbtab_t *kp, size_t len);
181extern int kdb_bt(int, const char **); /* KDB display back trace */
182
183/* KDB breakpoint management functions */
184extern void kdb_initbptab(void);
185extern void kdb_bp_install(struct pt_regs *);
186extern void kdb_bp_remove(void);
187

--- 76 unchanged lines hidden ---
167extern void kdb_register_table(kdbtab_t *kp, size_t len);
168extern int kdb_bt(int, const char **); /* KDB display back trace */
169
170/* KDB breakpoint management functions */
171extern void kdb_initbptab(void);
172extern void kdb_bp_install(struct pt_regs *);
173extern void kdb_bp_remove(void);
174

--- 76 unchanged lines hidden ---