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 v3] arc: Select CPU model properly before disassembling


> > +     header).  */
> > +  if (info.target_desc != NULL)
> > +    {
> > +      const struct bfd_arch_info *tdesc_arch
> > +	= tdesc_architecture (info.target_desc);
> > +      if (tdesc_arch != NULL)
> > +	{
> > +	  free (arc_disassembler_options);
> 
> Nit: Use xfree instead of free.
> 
> You can fix that and push directly.

Pushed, thanks for the review!

Anton


> 
> Thanks!
> 
> Simon


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