This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] make first parameter of to_lookup_symbol const char *
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> This is what it looks like to remove the target_ops method. It feels
Joel> a little like excising a potentially useful feature, so I'm not going
Joel> to commit without review, although there is no sign that we'll ever
Joel> need it any time soon. But I added a comment explaining what we used
Joel> to do, to give us a clue later on, if we encounter a target where
Joel> we might need something of this kind.
I think it is a good idea to remove unused code. If it is needed in the
future, it is simple enough to resurrect or rewrite this code.
The patch looks fine to me.
Tom