diff options
author | John Darrington <john@darrington.wattle.id.au> | 2018-08-29 21:51:26 +0200 |
---|---|---|
committer | John Darrington <john@darrington.wattle.id.au> | 2018-10-02 16:10:57 +0200 |
commit | c1168a2f66553cd4730931cf59e3be8378a1a03f (patch) | |
tree | 51f93d65860c1b74207ab7581c1d4bc461b55758 /gdb/Makefile.in | |
parent | eb528ad18b276117cb1016edbb12419819786366 (diff) | |
download | gdb-c1168a2f66553cd4730931cf59e3be8378a1a03f.zip gdb-c1168a2f66553cd4730931cf59e3be8378a1a03f.tar.gz gdb-c1168a2f66553cd4730931cf59e3be8378a1a03f.tar.bz2 |
Allow remote debugging over a Unix local domain socket.
Extend the "target remote" and "target extended-remote" commands
such that if the filename provided is a Unix local domain (AF_UNIX)
socket, then it'll be treated as such, instead of trying to open
it as if it were a character device.
gdb/ChangeLog:
* NEWS: Mention changed commands.
* ser-uds.c: New file.
* configure.ac (SER_HARDWIRE): Add ser-uds.o.
* configure: Regenerate.
* Makefile.in: Add new file.
* serial.c (serial_open): Check if filename is a socket
and lookup the appropriate interface accordingly.
gdb/doc/ChangeLog:
* gdb.texinfo (Remote Connection Commands): Describe
the changes to target remote and target extended-remote
relating to Unix domain sockets.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index f856c32..8d780ac 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2323,6 +2323,7 @@ ALLDEPFILES = \ ser-mingw.c \ ser-pipe.c \ ser-tcp.c \ + ser-uds.c \ sh-nbsd-nat.c \ sh-nbsd-tdep.c \ sh-tdep.c \ |