Use i386_target_description to get tdesc_i386
authorYao Qi <yao.qi@linaro.org>
Mon, 4 Sep 2017 10:33:56 +0000 (11:33 +0100)
committerYao Qi <yao.qi@linaro.org>
Mon, 4 Sep 2017 10:33:56 +0000 (11:33 +0100)
commitca1fa5eef2912262a0a33875e9a23f2e79a72328
tree94a627f6329fbc78155eef2942664819d520e394
parent2434b0199ddcd9419c55742552953b0a79d00ebc
Use i386_target_description to get tdesc_i386

GDB can call function i386_target_description to get the right target
description rather than tdesc_i386

gdb:

2017-09-04  Yao Qi  <yao.qi@linaro.org>

* amd64-fbsd-nat.c (amd64fbsd_read_description): Call
i386_target_description.
* i386-fbsd-nat.c (i386fbsd_read_description): Call
i386_target_description.
* i386-tdep.c (i386_gdbarch_init): Likewise.
gdb/ChangeLog
gdb/amd64-fbsd-nat.c
gdb/i386-fbsd-nat.c
gdb/i386-tdep.c