.. | .. |
---|
33 | 33 | #define DCPU_WANT_MASTER 0x1 /* Waiting to become a master kgdb cpu */ |
---|
34 | 34 | #define DCPU_NEXT_MASTER 0x2 /* Transition from one master cpu to another */ |
---|
35 | 35 | #define DCPU_IS_SLAVE 0x4 /* Slave cpu enter exception */ |
---|
36 | | -#define DCPU_SSTEP 0x8 /* CPU is single stepping */ |
---|
| 36 | +#define DCPU_WANT_BT 0x8 /* Slave cpu should backtrace then clear flag */ |
---|
37 | 37 | |
---|
38 | 38 | struct debuggerinfo_struct { |
---|
39 | 39 | void *debuggerinfo; |
---|
.. | .. |
---|
42 | 42 | int ret_state; |
---|
43 | 43 | int irq_depth; |
---|
44 | 44 | int enter_kgdb; |
---|
| 45 | + bool rounding_up; |
---|
45 | 46 | }; |
---|
46 | 47 | |
---|
47 | 48 | extern struct debuggerinfo_struct kgdb_info[]; |
---|
.. | .. |
---|
75 | 76 | extern int kdb_parse(const char *cmdstr); |
---|
76 | 77 | extern int kdb_common_init_state(struct kgdb_state *ks); |
---|
77 | 78 | extern int kdb_common_deinit_state(void); |
---|
| 79 | +extern void kdb_dump_stack_on_cpu(int cpu); |
---|
78 | 80 | #else /* ! CONFIG_KGDB_KDB */ |
---|
79 | 81 | static inline int kdb_stub(struct kgdb_state *ks) |
---|
80 | 82 | { |
---|