[PATCH v3] arc: Select CPU model properly before disassembling

Anton Kolesov Anton.Kolesov@synopsys.com
Fri Jun 16 12:03:00 GMT 2017


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



More information about the Gdb-patches mailing list