Re: Issues using KGDB on a Linux machine to debug NetBSD

2012-07-12 Thread Reinoud Zandijk
hi folks, sorry i'm so late :) On Fri, Jun 08, 2012 at 01:35:44PM -0700, Israel Jacquez wrote: When I invoke dmesg(8): dmesg | grep -E '^com', I get the following: com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo com0: console com0: kgdb and thats the issue: you are multiplexing

Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread Israel Jacquez
Hello, I'll make this short. I can't seem to get debugging support working even when following the guide: http://www.netbsd.org/docs/kernel/kgdb.html. Target: NetBSD 5.1.2 on the i386 port Remote: Debian GNU/Linux Kernel on target: NetBSD-CURRENT I have enabled the following options in the

Re: Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread Paul_Koning
On Jun 8, 2012, at 4:35 PM, Israel Jacquez wrote: Hello, I'll make this short. I can't seem to get debugging support working even when following the guide: http://www.netbsd.org/docs/kernel/kgdb.html. ... Immediately, I get dropped into DDB. I can only see this through the serial

Re: Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread Israel Jacquez
On Fri, Jun 8, 2012 at 1:46 PM, paul_kon...@dell.com wrote: On Jun 8, 2012, at 4:35 PM, Israel Jacquez wrote: Hello, I'll make this short. I can't seem to get debugging support working even when following the guide: http://www.netbsd.org/docs/kernel/kgdb.html. ... Immediately, I get

Re: Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread Greg Troxel
For what it's worth, some of my colleagues are successfully using the gdb from netbsd-5 (and I'm 99% sure netbsd-6) with the corresponding systems (all i386) on serial ports. Your output reports make me wonder if gdb changed the protocol. I'd look at the gdb 7 sources to see if there is an

Re: Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread Israel Jacquez
On Fri, Jun 8, 2012 at 2:10 PM, Greg Troxel g...@ir.bbn.com wrote: For what it's worth, some of my colleagues are successfully using the gdb from netbsd-5 (and I'm 99% sure netbsd-6) with the corresponding systems (all i386) on serial ports. I'll try to build an older version of GDB, possibly

Re: Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread Israel Jacquez
On Fri, Jun 8, 2012 at 2:08 PM, paul_kon...@dell.com wrote: On Jun 8, 2012, at 4:53 PM, Israel Jacquez wrote: On Fri, Jun 8, 2012 at 1:46 PM,  paul_kon...@dell.com wrote: On Jun 8, 2012, at 4:35 PM, Israel Jacquez wrote: Hello, I'll make this short. I can't seem to get debugging support

Re: Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread Paul_Koning
On Jun 8, 2012, at 5:14 PM, Israel Jacquez wrote: ... Maybe I don't understand the work flow. Should I then wait until I get to the login prompt in order to fire up GDB? What if it crashes halfway through? The problem is that it's headless so I don't know what's going on. I guess I could

re: Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread matthew green
options DDB try removing this one. .mrg.

Re: Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread Eduardo Horvath
On Fri, 8 Jun 2012, Israel Jacquez wrote: Hello, I'll make this short. I can't seem to get debugging support working even when following the guide: http://www.netbsd.org/docs/kernel/kgdb.html. Target: NetBSD 5.1.2 on the i386 port Remote: Debian GNU/Linux Kernel on target:

Re: Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread Paul_Koning
On Jun 8, 2012, at 4:53 PM, Israel Jacquez wrote: On Fri, Jun 8, 2012 at 1:46 PM, paul_kon...@dell.com wrote: On Jun 8, 2012, at 4:35 PM, Israel Jacquez wrote: Hello, I'll make this short. I can't seem to get debugging support working even when following the guide:

Re: Issues using KGDB on a Linux machine to debug NetBSD

2012-06-08 Thread Israel Jacquez
On Fri, Jun 8, 2012 at 3:03 PM, Eduardo Horvath e...@netbsd.org wrote: On Fri, 8 Jun 2012, Israel Jacquez wrote: Hello, I'll make this short. I can't seem to get debugging support working even when following the guide: http://www.netbsd.org/docs/kernel/kgdb.html. Target: NetBSD 5.1.2 on