This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Issue complaint instead of assert for invalid/unhandled DW_AT_accessibility
- From: Pedro Alves <palves at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>, gdb-patches at sourceware dot org
- Date: Wed, 18 Oct 2017 11:21:24 +0100
- Subject: Re: [PATCH] Issue complaint instead of assert for invalid/unhandled DW_AT_accessibility
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1832AC034E16
- References: <9431dc9a-2156-10d7-8fbd-b46d5af9a72f@redhat.com> <1508276312-7910-1-git-send-email-keiths@redhat.com>
On 10/17/2017 10:38 PM, Keith Seitz wrote:
> A previous patch called gdb_assert_not_reached whenever reading
> the accessibility of a nested typedef definition. Wisely, Pedro has asked me
> not do this.
>
> This patch changes the previous one so that it issues a complaint instead.
>
> gdb/ChangeLog:
>
> * dwarf2read.c (dwarf2_add_typedef): Issue a complaint on unhandled
> DW_AT_accessibility.
OK.
Thanks,
Pedro Alves