Bug 8375 - debug info doesn't always contain a full pathname
Summary: debug info doesn't always contain a full pathname
Status: ASSIGNED
Alias: None
Product: gdb
Classification: Unclassified
Component: external (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 8376 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-07 14:48 UTC by E. Zannoni
Modified: 2024-03-15 09:17 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description E. Zannoni 2003-07-07 14:48:00 UTC
[Converted from Gnats 1270]

See thread on:
http://sources.redhat.com/ml/gdb-patches/2003-04/msg00145.html

this relates to the path of the source file in annota1.exp.

David Carlton writes:

My srcdir is just '.', so ${srcdir}/${subdir}/${srcfile} really is equivalent to ${subdir}/${srcfile}, GCC is just noticing that it can leave out the './' at the start when generating debug info.  (I'm pretty sure I checked at the 
time and made sure that it's GCC that's getting rid of the './', not GDB.)

Release:
unknown
Comment 1 Sourceware Commits 2022-06-27 20:08:47 UTC
The master branch has been updated by Bruno Larsen <blarsen@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e1692475fd63ae6f036f6faf3bcb5436a400477b

commit e1692475fd63ae6f036f6faf3bcb5436a400477b
Author: Bruno Larsen <blarsen@redhat.com>
Date:   Mon Jun 27 16:39:03 2022 -0300

    gdb/testsuite: update bug numbers from Gnats to bugzilla
    
    Some tests link to outdated bug numbers when an XFAIL or a KFAIL happen.
    
    gdb.base/macscp.exp was referencing bug number 555, and the bug 7660
    mentions that it used to be 555 on the Gnats system and seems to relate
    to the issue at hand.
    
    gdb.base/annota1.exp was referencing bug number 1270, and bug 8375
    mentions being number 1270 on Gnats, and mentions annota1 specifically,
    so it seemed pretty obvious.