Re: [PATCH] Create gdb_termios.h (and cleanup gdb/{,gdbserver/}terminal.h)

Pedro Alves
2017-04-12T10:28:59Z

On 04/12/2017 02:16 AM, Sergio Durigan Junior wrote:

> gdb/ChangeLog:
> yyyy-mm-dd Sergio Durigan Junior <sergiodj@redhat.com>
>
> * Makefile.in (HFILES_NO_SRCDIR): Add "common/gdb_termios.h".
> * common/common.m4: Check headers 'termios.h', 'termio.h' and
> 'sgtty.h'.
> * common/gdb_termios.h: New file, with parts of "terminal.h".
> * inflow.c: Include "gdb_termios.h".
> * ser-unix.c: Include "gdb_termios.h".
> * terminal.h: Move terminal-related defines to
> "common/gdb_termios.h".
>
> gdb/gdbserver/ChangeLog:
> yyyy-mm-dd Sergio Durigan Junior <sergiodj@redhat.com>
>
> * remote-utils.c: Include "gdb_termios.h" instead of
> "terminal.h".
> * terminal.h: Delete file.

(Note leading tabs vs spaces in the gdbserver CL.)

OK.

Thanks,
Pedro Alves