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: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: bergner at vnet dot ibm dot com (Peter Bergner)
- Cc: gdb-patches at sourceware dot org, jkratoch at redhat dot com (Jan Kratochvil), palves at redhat dot com (Pedro Alves)
- Date: Tue, 7 Mar 2017 09:16:01 +0100 (CET)
- Subject: Re: [PATCH] Fix null dereference SEGV during 'maint print arch' caused by the disassembler-options patch
- Authentication-results: sourceware.org; auth=none
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.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com