emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new gdb/gdba code has bug with absolute source filenames


From: Andreas Schwab
Subject: Re: new gdb/gdba code has bug with absolute source filenames
Date: Tue, 06 Jan 2004 21:40:55 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

Bruce Stephens <address@hidden> 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, address@hidden
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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]