This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] remove a redundant struct from linespec


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]