On 2020-05-29 7:00 p.m., Samuel Thibault wrote:
> gdb/ChangeLog:
> 
> 2020-05-29  Samuel Thibault  <samuel.thiba...@ens-lyon.org>
> 
>       * i386-gnu-tdep.c: Include "gdbcore.h"
>       (gnu_sigtramp_code, i386_gnu_sc_reg_offset): New arrays.
>         (GNU_SIGTRAMP_LEN, GNU_SIGTRAMP_TAIL,
>         I386_GNU_SIGCONTEXT_THREAD_STATE_OFFSET): New macros
>         (i386_gnu_sigtramp_start, i386_gnu_sigtramp_p,
>         i386_gnu_sigcontext_addr): New functions
>         (i386gnu_init_abi): Register i386_gnu_sigtramp_p,
>         i386_gnu_sigcontext_addr, and i386_gnu_sc_reg_offset in the gdbarch
>         tdep.

Please add a commit message.  It should at least explain why this change is 
needed / desirable
(what case isn't working, what functionality is missing) and what it does to 
address that (not
in terms of which functions are added / removed, but how the GDB behavior 
changes as a
consequence of that change).  If the "how" is complex, it's always good to 
include some notes
about that to help those who aren't experts of the system you work on.

Simon

Reply via email to