couldn't establish connection to remote target: kgdb

2008-01-26 Thread Sanjeev Kumar.S
Hi, I'm facing an issue of not being able to connect to the target from the host on i386 on 6.2-RELEASE. I get a Couldn't establish connection to remote target, everytime. 1) Yes, both the baud on source and sink is 9600, confirmed doing a tty -a -f /dev/cuad0. 2) and /etc/ttys has ttyd0

kgdb in emacs

2008-01-26 Thread Sanjeev Kumar.S
Hi, I'm trying to use kgdb in emacs on Freebsd V6.2. I'm able to use kgdb on the command line like this kgdb -r /dev/cuad0 kernel.debug. In 6.2 there is no gdb -k, only kgdb. But when I run it in emacs. M-x gdb Run gdb ( like this ) : kgdb -r /dev/cuad0

synchronous freebsd print

2008-02-27 Thread Sanjeev Kumar.S
Hi, I have a quick question, and I believe this will be a common requirement. I do a print of some data and then immediately in a next statement there is a crash. But the print is not complete, before it completes there is a crash, the print is about 6-9 lines . Is

Re: synchronous freebsd print

2008-02-27 Thread Sanjeev Kumar.S
something wrong. Sanjeev. Peter Jeremy [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 12:08:28AM -0800, Sanjeev Kumar.S wrote: I have a quick question, and I believe this will be a common requirement. This is a standard C question. I do a print of some data and then immediately

seemingly good gdbinit for freebsd kernel errors out

2008-04-02 Thread Sanjeev Kumar.S
Hi, Im trying to debug a gdb init script that errors out saying: too few arguments in function call Here is the script define kldload set $kld = linker_files.tqh_first set $done = 0 while ($kld != 0 $done == 0) if ($kld-filename == $arg0) set $done = 1 else

Saving entire console sessions

2008-04-24 Thread Sanjeev Kumar.S
Hi, Is there any way to save entire console sessions ? Screen asks me to copy and paste what I want. I don't want to do that I need to save entire sessions. like a start till I do a exit or quit the application. Is there a utility like that ? Regards, Sanjeev.

Re: Saving entire console sessions

2008-05-03 Thread Sanjeev Kumar.S
Thank you this serves my purpose very well. Pranav Peshwe [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 5:57 PM, Sanjeev Kumar.S wrote: Hi, Is there any way to save entire console sessions ? Screen asks me to copy and paste what I want. I don't want to do that I need

Re: Saving entire console sessions

2008-05-03 Thread Sanjeev Kumar.S
Sorry, did not mean to. Thank you very much for the suggestion. Suits my requirement very well. Regards, Sanjeev. Rink Springer [EMAIL PROTECTED] wrote: Hi, On Thu, Apr 24, 2008 at 05:27:36AM -0700, Sanjeev Kumar.S wrote: Is there any way to save entire console sessions ? Screen