1STRUCT KGDB_ARCH(9)             KGDB Internals             STRUCT KGDB_ARCH(9)
2
3
4

NAME

6       struct_kgdb_arch - Describe architecture specific values.
7

SYNOPSIS

9       struct kgdb_arch {
10         unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE];
11         unsigned long flags;
12         int (* set_breakpoint) (unsigned long, char *);
13         int (* remove_breakpoint) (unsigned long, char *);
14         int (* set_hw_breakpoint) (unsigned long, int, enum kgdb_bptype);
15         int (* remove_hw_breakpoint) (unsigned long, int, enum kgdb_bptype);
16         void (* remove_all_hw_break) (void);
17         void (* correct_hw_break) (void);
18       };
19

MEMBERS

21       gdb_bpt_instr[BREAK_INSTR_SIZE]
22           The instruction to trigger a breakpoint.
23
24       flags
25           Flags for the breakpoint, currently just KGDB_HW_BREAKPOINT.
26
27       set_breakpoint
28           Allow an architecture to specify how to set a software breakpoint.
29
30       remove_breakpoint
31           Allow an architecture to specify how to remove a software
32           breakpoint.
33
34       set_hw_breakpoint
35           Allow an architecture to specify how to set a hardware breakpoint.
36
37       remove_hw_breakpoint
38           Allow an architecture to specify how to remove a hardware
39           breakpoint.
40
41       remove_all_hw_break
42           Allow an architecture to specify how to remove all hardware
43           breakpoints.
44
45       correct_hw_break
46           Allow an architecture to specify how to correct the hardware debug
47           registers.
48

AUTHORS

50       Jason Wessel <jason.wessel@windriver.com>
51           Author.
52
53       Tom Rini <trini@kernel.crashing.org>
54           Author.
55
56       Amit S. Kale <amitkale@linsyssoft.com>
57           Author.
58
60Kernel Hackers Manual 2.6.         June 2019               STRUCT KGDB_ARCH(9)
Impressum