From: Karl Chen <quarl@cs.berkeley.edu>
Cc: Emacs Developement List <emacs-devel@gnu.org>
Subject: Re: gud.el bug + patch
Date: Fri, 24 Mar 2006 06:14:03 -0800 [thread overview]
Message-ID: <quack.20060324T0614.lthbqvwvsk4@roar.cs.berkeley.edu> (raw)
In-Reply-To: <17443.60709.682948.720000@kahikatea.snap.net.nz> (Nick Roberts's message of "Sat, 25 Mar 2006 00:59:17 +1200")
>>>>> On 2006-03-24 04:59 PST, Nick Roberts writes:
>> `gud-last-frame' gets set to ("source /path/file.cc" . 19)
>> I think this should be ("/path/file.cc" . 42).
Nick> Can you give a reproducible test case that gives the
Nick> error above or this value for gud-last-frame?
I found that having 'run' in .gdbinit triggers the problem; this
recipe should do it:
(progn
(setq gdb-enable-debug t)
(shell-command-to-string "echo 'int main() {\nreturn 42;\n}' > a.c")
(shell-command-to-string "echo 'b main\nrun' > .gdbinit")
(shell-command-to-string "gcc -g a.c -o a")
(gdb "gdb --annotate=3 a")
(gud-step 1))
Nick> send the value of gdb-debug-ring
((recv . "
^Z^Zpost-prompt
^Z^Zstarting
^Z^Zsource /tmp/a.c:3:24:beg:0x8048375
^Z^Zstopped
") (send-item "server interpreter mi -stack-info-frame
" gdb-get-version))
--
Karl 2006-03-24 06:09
next prev parent reply other threads:[~2006-03-24 14:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-23 4:54 gud.el bug + patch Karl Chen
2006-03-24 12:59 ` Nick Roberts
2006-03-24 14:14 ` Karl Chen [this message]
2006-03-24 22:05 ` Nick Roberts
2006-03-24 22:57 ` Karl Chen
2006-03-25 0:15 ` Nick Roberts
2006-03-27 23:23 ` Karl Chen
2006-03-28 1:05 ` Nick Roberts
2006-03-28 1:15 ` Karl Chen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=quack.20060324T0614.lthbqvwvsk4@roar.cs.berkeley.edu \
--to=quarl@cs.berkeley.edu \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.