On Tue, Jul 24, 2012 at 7:27 AM, shu <[email protected]> wrote: > Hi there, > I need to debug an android phone with which using serial port is > not convenient. > So I consider writing a virtual tty driver which implements two > connected virtual tty devices. kgdboc would be connected to tty1, tty2 > would be forwarded to the PC through 'adb forward', then I could connect > gdb to the forwarded port on my PC: kgdboc <--> tty1 <--> tty2 <--> > tty2'(PC) <--> gdb. > Is it possible to implement such a driver or is it a right > approach? Is there any other better solution to my problem?
I don't think that possible to implement. As kgdb run, all system interrupt were disabled, thus your virtual driver maybe couldn't work without interrupt(kgdboc poll the serial device for data). For your problem, if your netcard support netpoll, maybe kgdboe is good for you. Tx, Dongdong > > thanks, > > shu > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Kgdb-bugreport mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
