Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Richard Henderson <rth@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: declare canonicalize_file_name
Date: Thu, 14 Mar 2002 15:29:00 -0000	[thread overview]
Message-ID: <3C912539.4010009@cygnus.com> (raw)
In-Reply-To: <20020314132845.A25190@redhat.com>

> GDB uses canonicalize_file_name if it detects it in libc,
> but doesn't define _GNU_SOURCE to get it declared.  This
> results in the compiler thinking that the function returns
> an integer, which results in the pointer value being 
> truncated on ia64.
> 
> I figured providing a declaration was safer than forcing
> _GNU_SOURCE.

I believe RichardE's fixed this (or will when he wakes up :-).  GDB 
should have been using realpath() in preference to 
canonicalize_file_name() .

enjoy,
Andrew

(See gdb/409)



  reply	other threads:[~2002-03-14 23:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14 13:28 Richard Henderson
2002-03-14 15:29 ` Andrew Cagney [this message]
2002-03-14 14:56   ` Richard Henderson
2002-03-14 15:44     ` Andrew Cagney
2002-03-14 16:07       ` rth
2002-03-14 16:27         ` Andrew Cagney
2002-03-15  0:35       ` Alfred M. Szmidt

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=3C912539.4010009@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=rth@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