This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils/stabs.c fixes
- To: binutils at sources dot redhat dot com
- Subject: Re: binutils/stabs.c fixes
- From: "Mark E." <snowball3 at bigfoot dot com>
- Date: Tue, 30 Jan 2001 15:55:27 -0500
> I found another occurrence of the same stuff that you fixed earlier. It
> does fix the problem I was having, but simply by the avoidance of the code
> that is causing the problems.
Excellent!
> + #ifdef HAVE_DOS_BASED_FILE_SYSTEM
> backslash = strrchr (modname, '\\');
> ! if (modname == NULL || (backslash != NULL && backslash > modname))
> modname = backslash;
> + #endif
Blech. There, I said it and I feel much better now. Many places in binutils
now use similiar code. I'd like to replace that mess with either a) basename
or b) a new bfd function unless I'm missing something.
Mark