diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-03-06 21:18:10 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-03-06 21:18:10 +0000 |
| commit | 04afc99ca51f0dea7ceec4ef8557d88530bc32aa (patch) | |
| tree | 832f9341a136213389fa58384b669d3f364f5da4 /musl/patches-others/gdb-17.1/0000-termios.diff | |
| parent | bd935cf9759eb8f4e4000cc5b9ff13470673efca (diff) | |
| download | ToolchainFactory-04afc99ca51f0dea7ceec4ef8557d88530bc32aa.tar.gz | |
Add support for static pie, update to latest versions
Diffstat (limited to 'musl/patches-others/gdb-17.1/0000-termios.diff')
| -rw-r--r-- | musl/patches-others/gdb-17.1/0000-termios.diff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/musl/patches-others/gdb-17.1/0000-termios.diff b/musl/patches-others/gdb-17.1/0000-termios.diff new file mode 100644 index 0000000..b23f4b5 --- /dev/null +++ b/musl/patches-others/gdb-17.1/0000-termios.diff @@ -0,0 +1,18 @@ +diff -rU3 gdb-17.1.old/gdb/ser-unix.c gdb-17.1/gdb/ser-unix.c +--- gdb-17.1.old/gdb/ser-unix.c 2025-12-20 02:53:21.000000000 +0000 ++++ gdb-17.1/gdb/ser-unix.c 2026-03-03 08:17:32.599938159 +0000 +@@ -529,12 +529,12 @@ + /* Clear the current output baud rate and fill a new value. */ + tio.c_cflag &= ~CBAUD; + tio.c_cflag |= BOTHER; +- tio.c_ospeed = rate; ++ tio.__c_ospeed = rate; + + /* Clear the current input baud rate and fill a new value. */ + tio.c_cflag &= ~(CBAUD << IBSHIFT); + tio.c_cflag |= BOTHER << IBSHIFT; +- tio.c_ispeed = rate; ++ tio.__c_ispeed = rate; + + if (ioctl (fd, req_set, &tio) < 0) + perror_with_name (_("Can not set custom baud rate")); |
