[pushed] gdb: Constify solib_find (Re: [RFA 2/8] Use class to manage BFD reference counts)
Tue Dec 20 18:05:00 GMT 2016
>>>>> "Pedro" == Pedro Alves <email@example.com> writes:
Tom> I did this, but it's a bit ugly as solib_find isn't const-correct.
Pedro> That doesn't look hard to fix. I've pushed in the patch below.
Pedro> What uglification does this allow removing?
Huh. I had taken a stab at this but I thought I ran into some morass,
so I stopped. Oh well.
Anyway what this enables is a change from &str to str.c_str().
More information about the Gdb-patches