This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix null dereference SEGV during 'maint print arch' caused by the disassembler-options patch
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, Jan Kratochvil <jkratoch at redhat dot com>, Pedro Alves <palves at redhat dot com>
- Date: Tue, 7 Mar 2017 09:50:41 -0600
- Subject: Re: [PATCH] Fix null dereference SEGV during 'maint print arch' caused by the disassembler-options patch
- Authentication-results: sourceware.org; auth=none
- References: <20170307081601.A161ED8331D@oc3748833570.ibm.com>
On 3/7/17 2:16 AM, Ulrich Weigand wrote:
> Peter Bergner wrote:
>
>> * gdbarch.sh (pstring_ptr): New static function.
>> (gdbarch_disassembler_options): Use it.
>> (gdbarch_verify_disassembler_options): Print valid_disassembler_options,
>> not valid_disassembler_option->name.
>> * gdbarch.c: Regenerate.
>
> This is OK.
Ok, committed. Thanks.
Peter