This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: binutils/stabs.c fixes


> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]