This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

external/1270: debug info doesn't always contain a full pathname


>Number:         1270
>Category:       external
>Synopsis:       debug info doesn't always contain a full pathname
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          external
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 07 14:48:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     ezannoni@redhat.com
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
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.)
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]