[RFA libiberty, gdb] Add hashtab support to filename_ncmp.c and use it in gdb.

Steven Bosscher stevenb.gcc@gmail.com
Mon Jul 9 18:51:00 GMT 2012


On Mon, Jul 9, 2012 at 8:10 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> filename_seen in gdb does a linear search, this patch changes it
> to use a hash table.
>
> Ok to check in?

Why not just use htab_hash_string? The file name canonicalization can
be put in gdb itself.

Ciao!
Steven



More information about the Gcc-patches mailing list