[PATCHv2 3/9] gdb: write target description into core file

Tom Tromey tom@tromey.com
Fri Jan 22 19:15:30 GMT 2021


>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:

Andrew> gdb/ChangeLog:

Andrew> 	* corelow.c: Add 'xml-tdesc.h' include.
Andrew> 	(core_target::read_description): Load the target description from
Andrew> 	the core file when possible.
Andrew> 	* gcore.c: Add 'gdbsupport/tdesc.h' include.
Andrew> 	(write_gcore_file_1): Write out the target description.

Seems reasonable to me.

Andrew> +	  contents [tdesc_note_size] = '\0';

Extra space before the '[' here.

Tom


More information about the Binutils mailing list