aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorJohn Darrington <john@darrington.wattle.id.au>2018-08-29 21:51:26 +0200
committerJohn Darrington <john@darrington.wattle.id.au>2018-10-02 16:10:57 +0200
commitc1168a2f66553cd4730931cf59e3be8378a1a03f (patch)
tree51f93d65860c1b74207ab7581c1d4bc461b55758 /gdb/NEWS
parenteb528ad18b276117cb1016edbb12419819786366 (diff)
downloadgdb-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/NEWS')
-rw-r--r--gdb/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 2669fa9..00adcd4 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -69,6 +69,11 @@ info proc files
* Changed commands
+target remote FILENAME
+target extended-remote FILENAME
+ If FILENAME is a Unix domain socket, GDB will attempt to connect
+ to this socket instead of opening FILENAME as a character device.
+
thread apply [all | COUNT | -COUNT] [FLAG]... COMMAND
The 'thread apply' command accepts new FLAG arguments.
FLAG arguments allow to control what output to produce and how to handle