Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tarjei Knapstad <tarjeik@chemcon.no>
To: gdb <gdb@sources.redhat.com>
Subject: Re: gdb has problems finding my sources (now with testcase)
Date: Fri, 23 Jan 2004 12:07:00 -0000	[thread overview]
Message-ID: <1074859637.24026.220.camel@cc-intern01> (raw)
In-Reply-To: <1074703990.24026.109.camel@cc-intern01>

On Wed, 2004-01-21 at 17:53, Tarjei Knapstad wrote:
> On Wed, 2004-01-21 at 16:12, Daniel Jacobowitz wrote:
> > On Wed, Jan 21, 2004 at 03:09:13PM +0100, Tarjei Knapstad wrote:
> 

<snip>

> OK, I have just created a tiny KDevelop project, autoconf and all, which
> reproduces the problem exactly. The roughly 360kB tarball can be
> downloaded from:
>    
> http://www.chemcon.no/files/gdbtest.tar.bz2
> 
> I made a KDevelop project to reproduce all compiler arguments etc.
> exactly - sorry about the size.
> 
> Run configure in the gdbtest-0.1/ subdirectory with these arguments:
> 
>    ./configure --with-extra-includes=../../../ --enable-debug=full
> 

I've done some more testing, and the relative include path seems to be
the problem. If I use --with-extra-includes=/full/path/to/header instead
it works flawlessly. I noticed the new ongoing thread about absolute
source file paths which may be related to this. 

Is there any argument I can give gdb that will make it accept relative
paths? The reason for using relative paths is because this is usually
set from within KDevelop, and the KDevelop project file lives in CVS. I
would like to avoid having /home/joesixpack paths in this file as it
would mean every developer would have to change this manually at every
update.

<snip>

Cheers,
--
Tarjei Knapstad


      reply	other threads:[~2004-01-23 12:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-21 14:09 gdb has problems finding my sources Tarjei Knapstad
2004-01-21 15:12 ` Daniel Jacobowitz
2004-01-21 15:18   ` Tarjei Knapstad
2004-01-21 16:53   ` gdb has problems finding my sources (now with testcase) Tarjei Knapstad
2004-01-23 12:07     ` Tarjei Knapstad [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1074859637.24026.220.camel@cc-intern01 \
    --to=tarjeik@chemcon.no \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox