Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
To: Alexander Larsson <alexl@redhat.com>
Cc: Elena Zannoni <ezannoni@redhat.com>,
	gdb@sources.redhat.com, Jim Blandy <jimb@redhat.com>
Subject: Re: External debug symbols
Date: Mon, 23 Sep 2002 21:45:00 -0000	[thread overview]
Message-ID: <Pine.SUN.3.91.1020924064115.18101C-100000@is> (raw)
In-Reply-To: <Pine.LNX.4.44.0209231113390.26936-200000@devserv.devel.redhat.com>


On Mon, 23 Sep 2002, Alexander Larsson wrote:

> > For the below, in theory is Ok, but I would suggest looking at the
> > function openp() (in source.c) and how it is used in the solib_open()
> > function in solib.c.  The tricky part is going to be assuring that the
> > filename is portable, i.e. working on windows/dos systems where the
> > directory separator is '\'. Look at IS_DIR_SEPARATOR, IS_ABSOLUTE_PATH
> > in the libiberty directory.
> 
> I don't want to use openp() because i don't want the first availible file. 
> I want the first one that matches the checksum. I can't see how i can use 
> openp() to accomplish that.

Nevertheless, the code that analizes file names must be portable, so it 
has to use IS_DIR_SEPARATOR, IS_ABSOLUTE_PATH, and the like instead of a 
literal '/' etc.


  parent reply	other threads:[~2002-09-24  4:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-20 12:50 Alexander Larsson
2002-08-21  6:39 ` Alexander Larsson
2002-08-21 10:46 ` Jim Blandy
2002-08-21 23:51   ` Alexander Larsson
2002-08-27  3:59   ` Alexander Larsson
2002-09-16  6:59     ` Alexander Larsson
2002-09-20  8:13       ` Elena Zannoni
2002-09-20  8:22         ` Daniel Jacobowitz
2002-09-23  0:46           ` Alexander Larsson
2002-09-23  0:43         ` Alexander Larsson
2002-09-23  8:21         ` Alexander Larsson
2002-09-23  8:25           ` Daniel Jacobowitz
2002-09-23 10:03             ` Alexander Larsson
2002-09-23 21:45           ` Eli Zaretskii [this message]
2002-09-25  1:51             ` Alexander Larsson
2002-09-25 22:00               ` Eli Zaretskii
2002-10-02  7:42                 ` Alexander Larsson
2002-10-02 21:40                   ` Eli Zaretskii
2002-10-08  8:21                     ` Alexander Larsson
2002-10-08  9:33                       ` Eli Zaretskii

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=Pine.SUN.3.91.1020924064115.18101C-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=alexl@redhat.com \
    --cc=ezannoni@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=jimb@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