From: "Sanjeev Kumar.S" <sanjeevfiles@yahoo.com>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: help-gnu-emacs@gnu.org
Subject: Re: kgdb in emacs
Date: Sun, 27 Jan 2008 03:21:36 -0800 (PST) [thread overview]
Message-ID: <599749.86642.qm@web57714.mail.re3.yahoo.com> (raw)
In-Reply-To: <18332.25118.870355.870079@kahikatea.snap.net.nz>
[-- Attachment #1.1: Type: text/plain, Size: 1533 bytes --]
To see what kgdb is doing run
kgdb -a -r /dev/cuad0 kernel.debug
and perhaps
kgdb -a -a -a -r /dev/cuad0 kernel.debug
from the command line.
With GDB, Emacs uses the marker ^Z^Z to parse the file and line number:
(gdb) b main
Breakpoint 1 at 0x804862c: file myprog.c, line 95.
(gdb) r
Starting program: /home/nickrob/myprog
Breakpoint 1, main (argc=1, argv=0xbfcfbfd4) at myprog.c:95
^Z^Z/home/nickrob/myprog.c:95:1274:beg:0x804862c
(gdb)
kgdb should output something similar. However, I guess the kernel in your
case is already running, so maybe it's a bit like attaching to a process
and perhaps the first marker is missing.
Sanjeev: I'm using emacs graphical. I see
now what you meant by gdb-many-windows
(locals and breakpoints and stackframes).
and I dont think its got anything to do with
source code display, eg in my case even
after the new break enters the old source code is displayed in the multi-window mode.
and when I do a "n" the current source where the break
hit was displayed. and like in other emacs instances
after the "n" when I do a "f" I get the source
opened in a seperate window if it is not already
opened.
But I think like you said the marker ^Z^Z is
missing, I dont want to step everytime I
jump into gdb to see where I am in the code.
Any way to get this working ? I tried doing a
^Z^Z on the emacs window and it minimized on the first ^Z :). Doesnt want
me to use it anymore.
Regards,
Sanjeev.
---------------------------------
Never miss a thing. Make Yahoo your homepage.
[-- Attachment #1.2: Type: text/html, Size: 1859 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next prev parent reply other threads:[~2008-01-27 11:21 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-26 17:14 Mysterious hidden end of line characters David
2008-01-26 19:21 ` Thierry Volpiatto
2008-01-26 19:54 ` David
2008-01-26 20:06 ` David
2008-01-26 20:08 ` David
[not found] ` <mailman.6584.1201377847.18990.help-gnu-emacs@gnu.org>
2008-01-27 6:10 ` Tim X
2008-01-27 7:17 ` kgdb in emacs Sanjeev Kumar.S
2008-01-27 8:26 ` Nick Roberts
2008-01-27 8:53 ` Sanjeev Kumar.S
2008-01-27 9:23 ` Nick Roberts
2008-01-27 10:17 ` Sanjeev Kumar.S
2008-01-27 10:51 ` Nick Roberts
2008-01-27 11:21 ` Sanjeev Kumar.S [this message]
2008-01-27 20:40 ` Nick Roberts
2008-01-26 20:41 ` Mysterious hidden end of line characters Peter Dyballa
2008-01-30 15:04 ` David
[not found] ` <mailman.6748.1201705322.18990.help-gnu-emacs@gnu.org>
2008-01-31 6:21 ` Tim X
2008-01-31 10:20 ` Thierry Volpiatto
2008-01-31 11:17 ` Peter Dyballa
2008-01-31 12:44 ` Thierry Volpiatto
2008-01-31 16:04 ` Thierry Volpiatto
2008-01-31 16:12 ` Thierry Volpiatto
2008-01-31 16:40 ` Thierry Volpiatto
2008-02-02 14:18 ` Thierry Volpiatto
2008-02-04 13:00 ` Thierry Volpiatto
2008-02-04 13:10 ` Thierry Volpiatto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=599749.86642.qm@web57714.mail.re3.yahoo.com \
--to=sanjeevfiles@yahoo.com \
--cc=help-gnu-emacs@gnu.org \
--cc=nickrob@snap.net.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).