|
@@ -618,8 +618,8 @@ int kgdb_arch_init(void)
|
|
* portion of kgdb because this operation requires mutexs to
|
|
* portion of kgdb because this operation requires mutexs to
|
|
* complete.
|
|
* complete.
|
|
*/
|
|
*/
|
|
|
|
+ hw_breakpoint_init(&attr);
|
|
attr.bp_addr = (unsigned long)kgdb_arch_init;
|
|
attr.bp_addr = (unsigned long)kgdb_arch_init;
|
|
- attr.type = PERF_TYPE_BREAKPOINT;
|
|
|
|
attr.bp_len = HW_BREAKPOINT_LEN_1;
|
|
attr.bp_len = HW_BREAKPOINT_LEN_1;
|
|
attr.bp_type = HW_BREAKPOINT_W;
|
|
attr.bp_type = HW_BREAKPOINT_W;
|
|
attr.disabled = 1;
|
|
attr.disabled = 1;
|