Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Paul Koning <Paul_Koning@dell.com>
To: marc.khouzam@ericsson.com
Cc: drow@false.org,     eliz@gnu.org,     gdb@sourceware.org
Subject: RE: Disabling sysroot
Date: Thu, 05 Jun 2008 16:12:00 -0000	[thread overview]
Message-ID: <18504.4177.281333.464717@gargle.gargle.HOWL> (raw)
In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA0429117F@ecamlmw720.eamcs.ericsson.se>

>>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:

 >> > It would be even nicer to have a way to 'turn off' sysroot > for
 >> this case.  Something like "unset sysroot".  I'm not > sure if
 >> "unset" is something that GDB supports.
 >> 
 >> It is, but unsetting sysroot does not mean what you want.  Without
 >> a sysroot, libraries are searched for in the root filesystem on
 >> the host.  You want to actually disable searching by full path;
 >> gdb has no option for that.

 Marc> From what I understand, it would be nice if unset sysroot
 Marc> disabled sysrtoot, while an explicit set sysrtoot "/" be used
 Marc> to search from the root.  But, for the sake of backwards
 Marc> compatibility, this should probably be left alone and /dev/null
 Marc> used for sysrtoot to disable it.

There should be a user-friendly way to disable sysroot, and that
should be on by default in a cross-gdb.

       paul


      reply	other threads:[~2008-06-05 16:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6D19CA8D71C89C43A057926FE0D4ADAA04291110@ecamlmw720.eamcs.ericsson.se>
     [not found] ` <200805141603.35204.pedro@codesourcery.com>
2008-06-04 13:34   ` Marc Khouzam
2008-06-04 15:13     ` Daniel Jacobowitz
2008-06-04 15:20       ` Marc Khouzam
2008-06-04 17:38       ` Eli Zaretskii
2008-06-05 15:08         ` Marc Khouzam
2008-06-05 15:23           ` Daniel Jacobowitz
2008-06-05 16:10             ` Marc Khouzam
2008-06-05 16:12               ` Paul Koning [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=18504.4177.281333.464717@gargle.gargle.HOWL \
    --to=paul_koning@dell.com \
    --cc=drow@false.org \
    --cc=eliz@gnu.org \
    --cc=gdb@sourceware.org \
    --cc=marc.khouzam@ericsson.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