f379362 further reduce the size of gdb-6.6-buildid-locate.patch

Authored and Committed by aburgess 2 months ago
    further reduce the size of gdb-6.6-buildid-locate.patch
    
    While working on the Fedora tree I noticed that the patch
    gdb-6.6-buildid-locate introduces some unnecessary casts into
    bfd/libbfd-in.h (and consequently bfd/libbfd.h).  These are casts that
    cast the result of a call to bfd_malloc, which is a wrapper around
    malloc, the cast is converting void* to char*.
    
    In C such a cast is not necessary, and there are plenty of places
    where the result of bfd_malloc is not explicitly cast, so I see no
    reason why we should carry this one additional cast around in the
    Fedora GDB tree.
    
    In this commit I remove the cast, reducing the size of the
    gdb-6.6-buildid-locate.patch slightly.  This reduces the chance of
    merge conflicts, and so makes the Fedora GDB tree slightly easier to
    maintain.
    
    There should be no changes in the functionality of a Fedora GDB build
    after this commit.
    
        
file modified
+0 -24
file modified
+5 -1