mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +08:00
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.
This commit is contained in:
@ -181,7 +181,7 @@ amd64fbsd_read_description (struct target_ops *ops)
|
||||
if (is64)
|
||||
return amd64_target_description (X86_XSTATE_SSE_MASK);
|
||||
else
|
||||
return tdesc_i386;
|
||||
return i386_target_description (X86_XSTATE_SSE_MASK);
|
||||
}
|
||||
|
||||
/* Provide a prototype to silence -Wmissing-prototypes. */
|
||||
|
Reference in New Issue
Block a user