bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/19435] objdump receives SIGABRT when disassembling Mach O


From: iankronquist at gmail dot com
Subject: [Bug binutils/19435] objdump receives SIGABRT when disassembling Mach O binary on OS X
Date: Sun, 24 Jan 2016 07:14:39 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19435

--- Comment #7 from Ian Kronquist <iankronquist at gmail dot com> ---
Hi Nick,
Those patches fix the problem, or at the very least hide it.

Sincerely,
Ian Kronquist

On Fri, Jan 22, 2016 at 3:52 AM, nickc at redhat dot com <
address@hidden> wrote:

> https://sourceware.org/bugzilla/show_bug.cgi?id=19435
>
> --- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
> I missed a bit...
>
> diff --git a/bfd/mach-o.c b/bfd/mach-o.c
> index 72454f9..a712ff6 100644
> --- a/bfd/mach-o.c
> +++ b/bfd/mach-o.c
> @@ -5798,14 +5798,16 @@ bfd_mach_o_close_and_cleanup (bfd *abfd)
>        if (mdata->dsym_bfd != NULL)
>          {
>            bfd *fat_bfd = mdata->dsym_bfd->my_archive;
> +#if 0
>            char *dsym_filename = (char *)(fat_bfd
>                                           ? fat_bfd->filename
>                                           : mdata->dsym_bfd->filename);
> +#endif
>            bfd_close (mdata->dsym_bfd);
>            mdata->dsym_bfd = NULL;
>            if (fat_bfd)
>              bfd_close (fat_bfd);
> -          free (dsym_filename);
> +          /*free (dsym_filename);*/
>          }
>      }
>
> Cheers
>   Nick
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]