This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 2017-06-19 23:24, Pedro Alves wrote:
Unless this is a case of a default target description matching the layout of targets that predated support for XML descriptions. Could that be the case here? From: static void i386_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { ... if (! tdesc_has_registers (tdesc)) tdesc = tdesc_i386_linux; ... ... it may well be. So we need to tread carefully here. The order may be required for back compatibility. A deeper audit with that in mind is in order. Thanks, Pedro Alves
Do you mean that this might impact backward compatibility with older gdbservers (or other remotes) that don't send XML target descriptions and just assume a certain "well-known" register numbering?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |