[PATCH 2/2] gdb: Add native support for ARC in GNU/Linux

Tom Tromey tom@tromey.com
Thu Nov 12 18:03:24 GMT 2020


>>>>> "Shahab" == Shahab Vahedi via Gdb-patches <gdb-patches@sourceware.org> writes:

Shahab> From: Anton Kolesov <anton.kolesov@synopsys.com>
Shahab> With this patch in place it is possible to build a GDB that
Shahab> can run on ARC (GNU/Linux) hosts for debugging ARC targets.

Shahab> The "arc-linux-nat.c" is a rather small one that mostly deals
Shahab> with registers and a few thread related hooks.

Thanks for the patch.  I read through it and have one nit.

Shahab> +/* Suppress warning from -Wmissing-prototypes.  */
Shahab> +void _initialize_arc_linux_nat (void);
Shahab> +
Shahab> +void
Shahab> +_initialize_arc_linux_nat (void)

You can remove the "void"s here, those are relics from the C days.

This is ok with that tweak.

Tom


More information about the Gdb-patches mailing list