From: Andreas Schwab <schwab@suse.de>
Cc: emacs-devel@gnu.org
Subject: Re: new gdb/gdba code has bug with absolute source filenames
Date: Tue, 06 Jan 2004 21:40:55 +0100 [thread overview]
Message-ID: <m38ykkeroo.fsf@whitebox.m5r.de> (raw)
In-Reply-To: <80vfnpqa6s.fsf@isode.com> (Bruce Stephens's message of "Tue, 06 Jan 2004 17:05:47 +0000")
Bruce Stephens <bruce.stephens@isode.com> writes:
> With a file (whose contents don't matter much) hello.c in /tmp.
>
> gcc -g3 -o hello hello.c
>
> Then I can debug hello fine with the new M-x gdb.
>
> If I compile it thus:
>
> gcc -g3 -o hello /tmp/hello.c
>
> then when I do M-x gdb, and select gdb --annotate=3 hello, I see the
> assembler code for main rather than C source code.
This is because gdb-frame-handler can't handle word wrapping in the
ouput of "info frame". Should be fixed now.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2004-01-06 20:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-06 17:05 new gdb/gdba code has bug with absolute source filenames Bruce Stephens
2004-01-06 20:40 ` Andreas Schwab [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-01-07 22:43 Nick Roberts
2004-01-08 0:46 ` Bruce Stephens
2004-01-08 10:21 ` Nick Roberts
2004-01-08 11:11 ` Bruce Stephens
2004-01-08 10:27 ` Andreas Schwab
2004-01-08 11:04 ` Bruce Stephens
2004-01-08 10:21 ` Andreas Schwab
2004-01-08 12:28 ` Nick Roberts
2004-01-08 13:53 ` Bruce Stephens
2004-01-08 22:04 Nick Roberts
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=m38ykkeroo.fsf@whitebox.m5r.de \
--to=schwab@suse.de \
--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.