delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/06/16:41:36

Date: Sat, 06 Jan 2001 23:39:57 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
Message-Id: <9003-Sat06Jan2001233957+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp-workers AT delorie DOT com
In-reply-to: <NEBBIOJNGMKPNOBKHCGHCEFLCAAA.tim.van.holder@pandora.be>
Subject: Re: Backslashes in debug info
References: <NEBBIOJNGMKPNOBKHCGHCEFLCAAA DOT tim DOT van DOT holder AT pandora DOT be>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
> Date: Sat, 6 Jan 2001 18:56:39 +0100
> 
> I thought this had already been fixed though. If not, it's probably
> an oversight (I know several places in bfd were support for DOS
> paths was added).

If you are talking about changes added a few months ago, they are
mine, I think.

> Did you try binutils 2.10.1 too?

I have the last version ported by Mark in Jupy 2000.  I don't think
it's 2.10.1.

> Also, I don't see this 14-char limitation with -gcoff; I tried
> -gcoff3, -gcoff, -g and -gstabs+3 - all objects produced had the
> full pathname (non-truncated; and it was 51 chars).

Where did you look? in the "gcc -S" output?  That's not where I
looked.

Here's how to reproduce this:

  C:\dir1\dir2\dir3\dir4> gcc -gcoff -o foo c:\dir1\dir2\dir3\dir4\foo.c
  C:\dir1\dir2\dir3\dir4> gdb foo
  GNU gdb 5.0
  ....
  (gdb) b main
  Breakpoint 1 at 0x15a6: file c:\dir1\dir2\d, line 5
  (gdb) r
  Starting program c:/dir1/dir2/dir3/dir4/foo

  Breakpoint 1, main (argc=1, argv=0xfff334a0) at c:\dir1\dir2\d:5
  5	c:\dir1\dir2\d: No such file or directory (ENOENT)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019