Path: csiph.com!weretis.net!feeder9.news.weretis.net!border-3.nntp.ord.giganews.com!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 12 Apr 2026 01:06:52 +0000 From: steve g Newsgroups: gnu.gcc.help,gnu.gdb Subject: Re: setting full source filename for gdb References: Date: Sat, 11 Apr 2026 21:06:00 -0400 Message-ID: <87se91c7if.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:yRbT/Htjox3eiSe1Sycy8eb+BlU= MIME-Version: 1.0 Content-Type: text/plain Lines: 14 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-u6HxLHy2Awka4zghG24kPoONmNXqV9AVAcKZV/xfP0jcS01zZZp3eYENXy6xu1mnu4kskZJ9o7ul0xn!OG2fmU0Ho0HtMsXzXMNJyCm/HGsUgUefEF1cl3CuAGnVX8s= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Xref: csiph.com gnu.gcc.help:3557 "Don Khan" 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.