A different KGDB stub
PATCH 3/6 A different KGDB stub
The following is the kgdboe driver for this stub.
drivers/net/Kconfig | 9 ++ drivers/net/Makefile | 1 drivers/net/kgdb_eth.c | 168 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 178 insertions(+)
drivers/net/Kconfig +9 -0
@@ -187,6 +187,15 @@ Note that the answer to this question won't directly affect the kernel: saying N will just cause the configurator to skip all the questions about Ethernet network cards. If unsure, say N. + +config KGDB_ETH + bool "KGDB: On ethernet" + depends on KGDB + select NETPOLL + select NETPOLL_TRAP + select NETPOLL_RX + help + Uses ethernet interface for kgdb. config MII tristate "Generic Media Independent Interface device support"
drivers/net/Makefile +1 -0
@@ -189,3 +189,4 @@ obj-$(CONFIG_IRDA) += irda/ obj-$(CONFIG_NETCONSOLE) += netconsole.o +obj-$(CONFIG_KGDB_ETH) += kgdb_eth.o
drivers/net/kgdb_eth.c new file +168 -0
168 lines not on this page · raw message
Signature · 2 lines
Tom Rini http://gate.crashing.org/~trini/