nto & lynx x86: call init_target_desc
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 2 Oct 2017 09:00:30 +0000 (11:00 +0200)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 2 Oct 2017 09:00:30 +0000 (11:00 +0200)
commit289a6840c1ed80f71d58632bb6d702d97d114387
tree05b564b3b121607fa5f7c9a99b26508d8fff48b6
parentdcd2b8a0144f4f5f81887861542609ef858a28c9
nto & lynx x86: call init_target_desc

In gdbserver, target descriptions need to be initialized by calling
init_target_desc.  Because i386_create_target_description is shared with
GDB, it doesn't do that, the callers must take care of it.  These two
platforms currently don't.

I am not able to build them, so I couldn't test.

gdb/gdbserver/ChangeLog:

* lynx-i386-low.c (lynx_i386_arch_setup): Call init_target_desc.
* nto-x86-low.c (nto_x86_arch_setup): Likewise.
gdb/gdbserver/ChangeLog
gdb/gdbserver/lynx-i386-low.c
gdb/gdbserver/nto-x86-low.c