have not heard of such feature available, but technically, the reason why serial port is important is because it is initialized at a very early stage in linux kernel bootup, and anything that happened before that cannot be analyzed via kgdb as well. i am not sure why u need ethernet. normally my approach is to use VirtualBox running a kernel with kgdb parameters all setup, and then define a virtual serial port in VirtualBox, to connect to a pipe, and then from host OS, use gdb to attach via "target remote" to the virtual terminal, which is created via the "socat" command.<div>
<br></div><div>Search the web for details.</div><div><br></div><div><a href="http://www.google.com.sg/search?sourceid=chrome&ie=UTF-8&q=socat+virtualbox+serial+kgdb">http://www.google.com.sg/search?q=socat+virtualbox+serial+kgdb</a><br>
<br><div class="gmail_quote">On Tue, Jul 3, 2012 at 12:00 PM, Amit Nagal <span dir="ltr"><<a href="mailto:helloin.amit@gmail.com" target="_blank">helloin.amit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, Jul 2, 2012 at 10:35 PM, <<a href="mailto:Ashish_Bunkar@dell.com">Ashish_Bunkar@dell.com</a>> wrote:<br>
> what i know is gdb over ethernet is removed from newer kernels.<br>
> Please let me know if you have some other information.<br>
><br>
> Thanks<br>
> Ashish Bunkar<br>
> ________________________________________<br>
> From: <a href="mailto:kernelnewbies-bounces@kernelnewbies.org">kernelnewbies-bounces@kernelnewbies.org</a> [<a href="mailto:kernelnewbies-bounces@kernelnewbies.org">kernelnewbies-bounces@kernelnewbies.org</a>] On Behalf Of Amit Nagal [<a href="mailto:helloin.amit@gmail.com">helloin.amit@gmail.com</a>]<br>
> Subject: kgdb over ethernet support for 3.x kernel<br>
<div class="im">><br>
> Hi ,<br>
><br>
> 3.x kernel does not seem to have built in support to use kgdb over<br>
> ethernet functionality .<br>
> To use this , can i be guided from where i can download patch for the<br>
> same and apply to 3.x series kernel ?<br>
><br>
> thanx & regards<br>
> Amit Nagal<br>
><br>
<br>
</div>Actually i want to to debug kernel modules with kgdb - gdb connected<br>
over tcp / udp port<br>
as depicted in <a href="http://kernel.org/pub/linux/kernel/people/jwessel/kdb/EnableKGDB.html" target="_blank">http://kernel.org/pub/linux/kernel/people/jwessel/kdb/EnableKGDB.html</a><br>
section 3 .<br>
but in kernel , there seems to no built in support for that .<br>
<div class="HOEnZb"><div class="h5"><br>
Thanx & Regards<br>
Amit Nagal<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Peter Teoh<br>
</div>