gdb: xtensa: clean up xtensa_default_isa initialization
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 18 Nov 2016 17:39:41 +0000 (09:39 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 27 Mar 2017 19:56:06 +0000 (12:56 -0700)
commita43986283d61ffd4d7dc9b20c0ecb73cd345206c
treeac4568e16eaa155ad4c2be37bba46f407d042ceb
parent8c43009f48a0d4be497cf7c1285784aa70fc5abd
gdb: xtensa: clean up xtensa_default_isa initialization

This fixes segfault in native gdb because isa is not initialized at the
point of call to xtensa_isa_maxlength.

gdb/
2017-03-27  Max Filippov  <jcmvbkbc@gmail.com>

* xtensa-tdep.c (xtensa_scan_prologue, call0_analyze_prologue):
Drop xtensa_default_isa initialization.
(xtensa_gdbarch_init): Initialize xtensa_default_isa.
gdb/ChangeLog
gdb/xtensa-tdep.c