This is the mail archive of the gdb-patches@sources.redhat.com 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: bfd target lists


On Wed, Nov 06, 2002 at 05:16:20PM -0500, Andrew Cagney wrote:
> BTW, how does:
> 	*name_ptr++ = &bfd_target_vector[0]->name;
> 	for (target = &bfd_target_vector[1]; *target != NULL; target++)
> 	  if (*target != bfd_target_vector[0])
> 	    *name_ptr++ = (*target)->name;
> look.

I wouldn't complain.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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