Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.gcc.help > #3557 > unrolled thread

Re: setting full source filename for gdb

Started bysteve g <sgonedes1977@gmail.com>
First post2026-04-11 21:06 -0400
Last post2026-04-11 21:06 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.gcc.help

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: setting full source filename for gdb steve g <sgonedes1977@gmail.com> - 2026-04-11 21:06 -0400

#3557 — Re: setting full source filename for gdb

Fromsteve g <sgonedes1977@gmail.com>
Date2026-04-11 21:06 -0400
SubjectRe: setting full source filename for gdb
Message-ID<87se91c7if.fsf@gmail.com>
"Don Khan" <root@localhost.localdomain> writes:

> Hello,
>
> Does anyone know how to compile (using gcc) so that the full source filename
> paths are used when debugging with gdb (Linux i686).


try compiling with: gcc -ggdb -Og -fverbose-asm

this is a somewhat new feature for gcc.

I also use gdb -tui at the terminal or else I use DDD for X.

[toc] | [standalone]


Back to top | Article view | gnu.gcc.help


csiph-web