Re: Serial consoles and remote GDB

2004-09-08 Thread Greg 'groggy' Lehey
On Monday, 30 August 2004 at 14:11:49 -0400, Rob Deker wrote: Stephan Uphoff wrote: Are you sure that your serial line is configured with the right baud rate? This may seem a stupid question, but how do I set the baudrate on the port and in gdb? The default bit rate is 9600 bps. It would

Re: Serial consoles and remote GDB

2004-09-08 Thread Lanny Baron
I use tip com1 to go out serial to serial of other server's redirected console. Just check /etc/remote and make sure you have a line as follows: sio0|com1:dv=/dev/cuaa0:br#9600:pa=none: But if you do serious console redirection, get a decent Terminal Server to which you ssh to the

Serial consoles and remote GDB

2004-08-29 Thread Rob Deker
Hi folks, New to the list, so please bear with me if this is a question that's been answered someplace before. I've been searching and can't seem to find an answer. I'm doing some driver hacking w/ FreeBSD 5.2.1 and I've hit a spot where my life would be much easier if I had remote GDB for

Re: Serial consoles and remote GDB

2004-08-29 Thread Marcel Moolenaar
On Sun, Aug 29, 2004 at 06:13:12PM -0400, Rob Deker wrote: I'm doing some driver hacking w/ FreeBSD 5.2.1 and I've hit a spot where my life would be much easier if I had remote GDB for kernel debugging. I am however using a serial console on this box, and can't seem to get things working so

Re: Serial consoles and remote GDB

2004-08-29 Thread Stephan Uphoff
Hi, Try the patch from kern/65278 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/65278 Stephan On Sun, 2004-08-29 at 18:13, Rob Deker wrote: Hi folks, New to the list, so please bear with me if this is a question that's been answered someplace before. I've been searching and

Re: Serial consoles and remote GDB

2004-08-29 Thread Jiafu He
--- Rob Deker [EMAIL PROTECTED] wrote: Hi folks, New to the list, so please bear with me if this is a question that's been answered someplace before. I've been searching and can't seem to find an answer. I'm doing some driver hacking w/ FreeBSD 5.2.1 and I've hit a spot where my life

Re: Serial consoles and remote GDB

2004-08-29 Thread Rob Deker
On Sun, 2004-08-29 at 18:55, Stephan Uphoff wrote: Hi, Try the patch from kern/65278 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/65278 Thanks, Looks like that did some good (I have my console back now), but when i either boot -g or break into ddb and give it a gdb command, then try