Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2008 23:20:17 -0800 (PST)
From:      "Sanjeev Kumar.S" <sanjeevfiles@yahoo.com>
To:        freebsd-hackers@freebsd.org
Subject:   kgdb in emacs
Message-ID:  <573900.69293.qm@web57712.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 kernel.debug
     I get :
     Current directory is /dev/
     kgdb: multiple core files specified. Ignored
     kgdb: d: No such file or directory.
     Debugger exited abnormally with code 1

     Why is emacs even interpretting my commands.
     Why doesn't it just call kgdb with whatever arguments
     I give ?  

Regards,
Sanjeev.
     
       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?573900.69293.qm>