This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [pushed] gdb: Constify solib_find (Re: [RFA 2/8] Use class to manage BFD reference counts)
>>>>> "Pedro" == Pedro Alves <palves@redhat.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[0] to str.c_str().
Tom