This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/6] Convert fatal to perror_with_name in IPA code
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, gdb-patches at sourceware dot org
- Date: Wed, 20 Aug 2014 17:24:58 +0100
- Subject: Re: [PATCH 5/6] Convert fatal to perror_with_name in IPA code
- Authentication-results: sourceware.org; auth=none
- References: <1407340688-13721-1-git-send-email-gbenson at redhat dot com> <1407340688-13721-6-git-send-email-gbenson at redhat dot com>
On 08/06/2014 04:58 PM, Gary Benson wrote:
> This commit converts four calls to fatal into calls to
> perror_with_name. perror_with_name calls error, which
> in IPA terminates with exit (1) rather than longjmp, so
> there is no functional change here.
>
> gdb/gdbserver/
> 2014-08-06 Gary Benson <gbenson@redhat.com>
>
> * tracepoint.c (gdb_agent_init): Replace fatal with
> perror_with_name.
> (initialize_tracepoint): Likewise.
OK.
Thanks,
Pedro Alves