Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: gdb@sources.redhat.com
Subject: Re: handling of absolute source file paths (feature wish/implementation idea)
Date: Thu, 22 Jan 2004 20:16:00 -0000	[thread overview]
Message-ID: <20040122201642.GA26573@nevyn.them.org> (raw)
In-Reply-To: <40101A49.1080902@gnu.org>

On Thu, Jan 22, 2004 at 01:45:29PM -0500, Andrew Cagney wrote:
> Hmm, we're rapidly accumulating a long list of ways to alter the 
> absolute-prefix. cf also:
> 
> (gdb) help set debug-file-directory
> Set the directory where separate debug symbols are searched for.
> Separate debug symbols are first searched for in the same
> directory as the binary, then in the `.debug' subdirectory,
> and lastly at the path of the directory of the binary with
> the global debug-file directory prepended
> 
> and the ./configure option:
> 
>   --with-sysroot[=DIR] Search for usr/lib et al within DIR.
> 
> Might be time for some consolidation:
> 
> set absolute-prefix {source,solib,sysroot,debug,all} <path>

Hmm, maybe, but most places that I can think of would want either
solib, or source, but not both.  --with-sysroot just sets solib, also.
I have no idea what it ought to do with debug...

Now what would be really nice would be a manual chapter referencing all
of these.

> (although an immediate source-absolute-prefix shouldn't hurt).
> 
> BTW, wasn't there a mechanism for editing/replacing part of the source 
> prefix added, or did that get lost?

Now that sounds like a great idea.  I can't see it in the source,
though, and it doesn't ring a bell.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2004-01-22 20:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-22 15:01 Gernot Hillier
2004-01-22 15:07 ` Daniel Jacobowitz
2004-01-22 15:39   ` Gernot Hillier
2004-01-22 18:02     ` Daniel Jacobowitz
2004-01-22 16:04   ` Paul Koning
2004-01-22 17:26 ` Eli Zaretskii
2004-01-22 17:58   ` Daniel Jacobowitz
2004-03-03 17:54     ` Baurjan Ismagulov
2004-01-22 18:45   ` Andrew Cagney
2004-01-22 20:16     ` Daniel Jacobowitz [this message]
2004-01-23 13:02       ` Eli Zaretskii
2004-01-23 20:26       ` Andrew Cagney
     [not found] <1074884800.30040.ezmlm@sources.redhat.com>
2004-01-23 21:31 ` Jim Ingham
2004-03-03 16:12   ` Baurjan Ismagulov

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=20040122201642.GA26573@nevyn.them.org \
    --to=drow@mvista.com \
    --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