This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] remove a redundant struct from linespec
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 23 Sep 2013 12:06:23 -0600
- Subject: Re: [PATCH] remove a redundant struct from linespec
- Authentication-results: sourceware.org; auth=none
- References: <1376682922-4604-1-git-send-email-tromey at redhat dot com>
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> I noticed that the linespec minsym_and_objfile struct is redundant
Tom> with bound_minimal_symbol. So, I removed it.
Tom> Built and regtested on x86-64 Fedora 18.
Tom> * linespec.c (struct minsym_and_objfile): Remove.
Tom> (minsym_and_objfile_d): Remove.
Tom> (struct linespec, struct collect_info, linespec_parse_basic)
Tom> (convert_linespec_to_sals, linespec_parser_delete, decode_objc)
Tom> (compare_msymbols, find_method, find_function_symbols)
Tom> (find_linespec_symbols, struct collect_minsyms, compare_msyms)
Tom> (add_minsym, search_minsyms_for_name): Update.
I'm checking this in now.
Tom