[PATCHv2 1/9] gdb: unify parts of the Linux and FreeBSD core dumping code

Tom Tromey tom@tromey.com
Fri Jan 22 18:50:33 GMT 2021


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

Andrew> While reviewing the Linux and FreeBSD core dumping code within GDB for
Andrew> another patch series, I noticed that the code that collects the
Andrew> registers for each thread and writes these into ELF note format is
Andrew> basically identical between Linux and FreeBSD.

Andrew> This commit merges this code and moves it into the gcore.c file,
Andrew> which seemed like the right place for generic writing a core file
Andrew> code.

FWIW this looks reasonable to me.

Tom


More information about the Gdb-patches mailing list