Commit f30fed1
committed
kgdb: Add module event hooks
Allow gdb to auto load kernel modules when it is attached,
which makes it trivially easy to debug module init functions
or pre-set breakpoints in a kernel module that has not loaded yet.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>1 parent a0d271c commit f30fed1
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
691 | 707 | | |
692 | 708 | | |
693 | 709 | | |
| |||
816 | 832 | | |
817 | 833 | | |
818 | 834 | | |
| 835 | + | |
819 | 836 | | |
820 | 837 | | |
821 | 838 | | |
| |||
839 | 856 | | |
840 | 857 | | |
841 | 858 | | |
| 859 | + | |
842 | 860 | | |
843 | 861 | | |
844 | 862 | | |
| |||
0 commit comments