binutils/stabs.c fixes

Mark E. snowball3@bigfoot.com
Tue Jan 30 12:55:00 GMT 2001


> 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




More information about the Binutils mailing list