diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-04-30 10:53:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-01 14:33:26 +0100 |
commit | 0496a29bac6460a0dd02c3b9861e079742ab8869 (patch) | |
tree | ce1be99f23918be6b2d78da53f2ac4d4896d1c7e | |
parent | e7212e247634bf914dd2a81973cea188336223d6 (diff) | |
download | poky-0496a29bac6460a0dd02c3b9861e079742ab8869.tar.gz |
gdb: Upgrade to 16.3
Add couple of readline patches to fix build with internal readline
Other Changes
* PR symtab/32309 ([gdb/symtab, fission] gdb/dwarf2/read.h:289:
internal-error: version: Assertion `m_dwarf_version != 0' failed)
* PR corefiles/32441 (gdb segfaults when generating a core file if
target_fileio_read_alloc fails)
* PR tui/32623 (TUI console window doesn't update while inferior is running)
* PR corefiles/32634 ([gdb/corefiles] segfault in
gdb.arch/i386-biarch-core.exp)
* PR backtrace/32757 ("Assertion `stashed' failed" when inline frame #0 is
duplicated)
* PR tdep/32770 ([gdb/tdep, i386] FAIL: gdb.reverse/recvmsg-reverse.exp:
continue to breakpoint: marker2)
* PR gdb/32775 ([AArch64] gdbserver crashes on SVE/SME-enabled systems)
* PR record/32784 ([gdb/record, aarch64] Stack smashing detected in
aarch64_record_asimd_load_store)
* PR tui/32797 (Escape sequences to only reset foreground or background color
to default fail)
* PR gdb/32828 (gstack regression: missing file names and line numbers)
(From OE-Core rev: abd0b9c3b82b6d7623c09692feaf2c356d395e6b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 files changed, 206 insertions, 11 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_16.2.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_16.3.bb index 4ab2b7156d..4ab2b7156d 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_16.2.bb +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_16.3.bb | |||
diff --git a/meta/recipes-devtools/gdb/gdb-cross_16.2.bb b/meta/recipes-devtools/gdb/gdb-cross_16.3.bb index 3b654a2f0d..3b654a2f0d 100644 --- a/meta/recipes-devtools/gdb/gdb-cross_16.2.bb +++ b/meta/recipes-devtools/gdb/gdb-cross_16.3.bb | |||
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc index 1ac29b45f6..a36f78fe67 100644 --- a/meta/recipes-devtools/gdb/gdb.inc +++ b/meta/recipes-devtools/gdb/gdb.inc | |||
@@ -12,5 +12,7 @@ SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \ | |||
12 | file://0005-Change-order-of-CFLAGS.patch \ | 12 | file://0005-Change-order-of-CFLAGS.patch \ |
13 | file://0006-Fix-invalid-sigprocmask-call.patch \ | 13 | file://0006-Fix-invalid-sigprocmask-call.patch \ |
14 | file://0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ | 14 | file://0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \ |
15 | file://0008-Add-fix-for-packages-that-are-not-compatible-with-C2.patch \ | ||
16 | file://0009-Readline-8.3-alpha-release.patch \ | ||
15 | " | 17 | " |
16 | SRC_URI[sha256sum] = "4002cb7f23f45c37c790536a13a720942ce4be0402d929c9085e92f10d480119" | 18 | SRC_URI[sha256sum] = "bcfcd095528a987917acf9fff3f1672181694926cc18d609c99d0042c00224c5" |
diff --git a/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch b/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch index 5e313a08b2..7a3064a14b 100644 --- a/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch +++ b/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 31c6c42479e750aff3130e76bae2646c418cb548 Mon Sep 17 00:00:00 2001 | 1 | From 8448967d9cfb09eb11fd3573a72a35ae94a89ba1 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 23 Mar 2016 06:30:09 +0000 | 3 | Date: Wed, 23 Mar 2016 06:30:09 +0000 |
4 | Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined | 4 | Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined |
diff --git a/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch index 69d4d51af0..56cbacf384 100644 --- a/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +++ b/meta/recipes-devtools/gdb/gdb/0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 8f350f9b7b3934bd492cad35e1b6e44d142313a4 Mon Sep 17 00:00:00 2001 | 1 | From ec49e6283bc6a4a99596410db9509bee6cd941ce Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 30 Apr 2016 18:32:14 -0700 | 3 | Date: Sat, 30 Apr 2016 18:32:14 -0700 |
4 | Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems | 4 | Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems |
@@ -12,7 +12,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
12 | 2 files changed, 12 insertions(+) | 12 | 2 files changed, 12 insertions(+) |
13 | 13 | ||
14 | diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h | 14 | diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h |
15 | index b51e2278f4b..f1bc07df0e9 100644 | 15 | index 3efc1b9a9bf..635d07486de 100644 |
16 | --- a/gdb/nat/ppc-linux.h | 16 | --- a/gdb/nat/ppc-linux.h |
17 | +++ b/gdb/nat/ppc-linux.h | 17 | +++ b/gdb/nat/ppc-linux.h |
18 | @@ -18,7 +18,13 @@ | 18 | @@ -18,7 +18,13 @@ |
@@ -30,7 +30,7 @@ index b51e2278f4b..f1bc07df0e9 100644 | |||
30 | 30 | ||
31 | /* This sometimes isn't defined. */ | 31 | /* This sometimes isn't defined. */ |
32 | diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc | 32 | diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc |
33 | index bd3ac143660..1c8c0b3a98e 100644 | 33 | index 3ce978f4c7c..38534297cdf 100644 |
34 | --- a/gdbserver/linux-ppc-low.cc | 34 | --- a/gdbserver/linux-ppc-low.cc |
35 | +++ b/gdbserver/linux-ppc-low.cc | 35 | +++ b/gdbserver/linux-ppc-low.cc |
36 | @@ -22,7 +22,13 @@ | 36 | @@ -22,7 +22,13 @@ |
diff --git a/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch b/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch index 0f7f387866..024cf34427 100644 --- a/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch +++ b/meta/recipes-devtools/gdb/gdb/0003-Dont-disable-libreadline.a-when-using-disable-static.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c4102e4fd74804b053c437352ef92c64c8b1fdbf Mon Sep 17 00:00:00 2001 | 1 | From 2fa91dec5f0ec5663861ca53bde8951e48557bb3 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 30 Apr 2016 15:25:03 -0700 | 3 | Date: Sat, 30 Apr 2016 15:25:03 -0700 |
4 | Subject: [PATCH] Dont disable libreadline.a when using --disable-static | 4 | Subject: [PATCH] Dont disable libreadline.a when using --disable-static |
diff --git a/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch b/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch index 6dee5037da..556f371fee 100644 --- a/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch +++ b/meta/recipes-devtools/gdb/gdb/0004-use-asm-sgidefs.h.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 91e294b399c8e3de2cbdd495309f31b6a218516d Mon Sep 17 00:00:00 2001 | 1 | From 6d37100388d45185a6e88ea7099a698c2c76b084 Mon Sep 17 00:00:00 2001 |
2 | From: Andre McCurdy <amccurdy@gmail.com> | 2 | From: Andre McCurdy <amccurdy@gmail.com> |
3 | Date: Sat, 30 Apr 2016 15:29:06 -0700 | 3 | Date: Sat, 30 Apr 2016 15:29:06 -0700 |
4 | Subject: [PATCH] use <asm/sgidefs.h> | 4 | Subject: [PATCH] use <asm/sgidefs.h> |
diff --git a/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch b/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch index 6d5d3a7e4f..809cd232aa 100644 --- a/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch +++ b/meta/recipes-devtools/gdb/gdb/0005-Change-order-of-CFLAGS.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c151a90c6df7a8b31fe0a6c4d6d28aaff55ac25f Mon Sep 17 00:00:00 2001 | 1 | From e7cab417080f3454ea984e19384d9f1bf9e48fba Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 30 Apr 2016 15:35:39 -0700 | 3 | Date: Sat, 30 Apr 2016 15:35:39 -0700 |
4 | Subject: [PATCH] Change order of CFLAGS | 4 | Subject: [PATCH] Change order of CFLAGS |
@@ -13,7 +13,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
13 | 1 file changed, 1 insertion(+) | 13 | 1 file changed, 1 insertion(+) |
14 | 14 | ||
15 | diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in | 15 | diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in |
16 | index 6148ccf9121..3ad15573923 100644 | 16 | index 365dcf23650..fc16218334f 100644 |
17 | --- a/gdbserver/Makefile.in | 17 | --- a/gdbserver/Makefile.in |
18 | +++ b/gdbserver/Makefile.in | 18 | +++ b/gdbserver/Makefile.in |
19 | @@ -174,6 +174,7 @@ INTERNAL_CFLAGS = \ | 19 | @@ -174,6 +174,7 @@ INTERNAL_CFLAGS = \ |
diff --git a/meta/recipes-devtools/gdb/gdb/0006-Fix-invalid-sigprocmask-call.patch b/meta/recipes-devtools/gdb/gdb/0006-Fix-invalid-sigprocmask-call.patch index a256b8fc68..7c9129b9f5 100644 --- a/meta/recipes-devtools/gdb/gdb/0006-Fix-invalid-sigprocmask-call.patch +++ b/meta/recipes-devtools/gdb/gdb/0006-Fix-invalid-sigprocmask-call.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f63dddf6b986642eeeefa27176d59780e1681ddd Mon Sep 17 00:00:00 2001 | 1 | From 13e61d515b74389e61fa52ca43656f9d1c294683 Mon Sep 17 00:00:00 2001 |
2 | From: Yousong Zhou <yszhou4tech@gmail.com> | 2 | From: Yousong Zhou <yszhou4tech@gmail.com> |
3 | Date: Fri, 24 Mar 2017 10:36:03 +0800 | 3 | Date: Fri, 24 Mar 2017 10:36:03 +0800 |
4 | Subject: [PATCH] Fix invalid sigprocmask call | 4 | Subject: [PATCH] Fix invalid sigprocmask call |
diff --git a/meta/recipes-devtools/gdb/gdb/0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch b/meta/recipes-devtools/gdb/gdb/0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch index dcc01e414c..d8816e3bef 100644 --- a/meta/recipes-devtools/gdb/gdb/0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch +++ b/meta/recipes-devtools/gdb/gdb/0007-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f1b4a90ea61771840fcf4889f616b156b5157843 Mon Sep 17 00:00:00 2001 | 1 | From 3d3d91ac1db8ee7f624d225734cb5b57b752e00b Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 15 Jan 2023 00:16:25 -0800 | 3 | Date: Sun, 15 Jan 2023 00:16:25 -0800 |
4 | Subject: [PATCH] Define alignof using _Alignof when using C11 or newer | 4 | Subject: [PATCH] Define alignof using _Alignof when using C11 or newer |
diff --git a/meta/recipes-devtools/gdb/gdb/0008-Add-fix-for-packages-that-are-not-compatible-with-C2.patch b/meta/recipes-devtools/gdb/gdb/0008-Add-fix-for-packages-that-are-not-compatible-with-C2.patch new file mode 100644 index 0000000000..661eb261c2 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb/0008-Add-fix-for-packages-that-are-not-compatible-with-C2.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From f71cfa9db1a196f0fadb2090ac04ce3164e171d3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 16 Mar 2025 12:48:46 -0700 | ||
4 | Subject: [PATCH] Add fix for packages that are not compatible with C23 | ||
5 | |||
6 | Fixes builds with GCC-15 | ||
7 | Sourced from Fedora: https://src.fedoraproject.org/rpms/readline/c/c47eb813afb942128253213ad5b8221770557e48?branch=rawhide | ||
8 | |||
9 | Help getting packages like bluez5 building | ||
10 | |||
11 | Upstream-Status: Submitted [https://lists.gnu.org/archive/html/bug-readline/2025-03/msg00001.html] | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | readline/readline/rlstdc.h | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/readline/readline/rlstdc.h b/readline/readline/rlstdc.h | ||
18 | index 2aaa30babfb..a7a0ef30428 100644 | ||
19 | --- a/readline/readline/rlstdc.h | ||
20 | +++ b/readline/readline/rlstdc.h | ||
21 | @@ -44,7 +44,7 @@ | ||
22 | |||
23 | /* Moved from config.h.in because readline.h:rl_message depends on these | ||
24 | defines. */ | ||
25 | -#if defined (__STDC__) && defined (HAVE_STDARG_H) | ||
26 | +#if defined (__STDC__) | ||
27 | # define PREFER_STDARG | ||
28 | # define USE_VARARGS | ||
29 | #else | ||
diff --git a/meta/recipes-devtools/gdb/gdb/0009-Readline-8.3-alpha-release.patch b/meta/recipes-devtools/gdb/gdb/0009-Readline-8.3-alpha-release.patch new file mode 100644 index 0000000000..206b4baaf0 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb/0009-Readline-8.3-alpha-release.patch | |||
@@ -0,0 +1,164 @@ | |||
1 | From 8807681557d9f30aac819186369ee62f4f8d1d96 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chet Ramey <chet.ramey@case.edu> | ||
3 | Date: Mon, 22 Apr 2024 10:41:37 -0400 | ||
4 | Subject: [PATCH] Readline-8.3-alpha release | ||
5 | |||
6 | Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/readline.git/commit/tcap.h?h=readline-8.3-testing&id=69e5c5e4c9778bf86c3d1c6b058ddece70854de8] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | ...ap-Add-function-parameter-prototypes.patch | 37 ++++++++++ | ||
10 | ...d=cef614441f99b7b6e444ba601d8465a6e88f5a98 | 67 +++++++++++++++++++ | ||
11 | readline/readline/tcap.h | 14 ++-- | ||
12 | 3 files changed, 111 insertions(+), 7 deletions(-) | ||
13 | create mode 100644 readline/readline/0001-tcap-Add-function-parameter-prototypes.patch | ||
14 | create mode 100644 readline/readline/index.html?id=cef614441f99b7b6e444ba601d8465a6e88f5a98 | ||
15 | |||
16 | diff --git a/readline/readline/0001-tcap-Add-function-parameter-prototypes.patch b/readline/readline/0001-tcap-Add-function-parameter-prototypes.patch | ||
17 | new file mode 100644 | ||
18 | index 00000000000..f28e31fd0e0 | ||
19 | --- /dev/null | ||
20 | +++ b/readline/readline/0001-tcap-Add-function-parameter-prototypes.patch | ||
21 | @@ -0,0 +1,37 @@ | ||
22 | +From 0c16af6ebf0bf81138c973e5e6a7c4ebf71f2489 Mon Sep 17 00:00:00 2001 | ||
23 | +From: Khem Raj <raj.khem@gmail.com> | ||
24 | +Date: Wed, 30 Apr 2025 10:41:12 -0700 | ||
25 | +Subject: [PATCH] tcap: Add function parameter prototypes | ||
26 | + | ||
27 | +GCC-15 with C23 dilect defaults expects full function signature | ||
28 | + | ||
29 | +Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
30 | +--- | ||
31 | + readline/readline/tcap.h | 14 ++++++-------- | ||
32 | + 1 file changed, 6 insertions(+), 8 deletions(-) | ||
33 | + | ||
34 | +diff --git a/readline/readline/tcap.h b/readline/readline/tcap.h | ||
35 | +index 859e6ee..2b22ff7 100644 | ||
36 | +--- a/readline/readline/tcap.h | ||
37 | ++++ b/readline/readline/tcap.h | ||
38 | +@@ -46,14 +46,12 @@ extern char *UP, *BC; | ||
39 | + | ||
40 | + extern short ospeed; | ||
41 | + | ||
42 | +-extern int tgetent (); | ||
43 | +-extern int tgetflag (); | ||
44 | +-extern int tgetnum (); | ||
45 | +-extern char *tgetstr (); | ||
46 | +- | ||
47 | +-extern int tputs (); | ||
48 | +- | ||
49 | +-extern char *tgoto (); | ||
50 | ++extern int tgetent(char*, const char*); | ||
51 | ++extern int tgetflag(const char*); | ||
52 | ++extern int tgetnum(const char*); | ||
53 | ++extern char *tgetstr(const char*, char**); | ||
54 | ++extern char *tgoto(const char*, int, int); | ||
55 | ++extern int tputs(const char*, int, int (*)(int)); | ||
56 | + | ||
57 | + #endif /* HAVE_TERMCAP_H */ | ||
58 | + | ||
59 | diff --git a/readline/readline/index.html?id=cef614441f99b7b6e444ba601d8465a6e88f5a98 b/readline/readline/index.html?id=cef614441f99b7b6e444ba601d8465a6e88f5a98 | ||
60 | new file mode 100644 | ||
61 | index 00000000000..02e665b143b | ||
62 | --- /dev/null | ||
63 | +++ b/readline/readline/index.html?id=cef614441f99b7b6e444ba601d8465a6e88f5a98 | ||
64 | @@ -0,0 +1,67 @@ | ||
65 | +From cef614441f99b7b6e444ba601d8465a6e88f5a98 Mon Sep 17 00:00:00 2001 | ||
66 | +From: Chet Ramey <chet.ramey@case.edu> | ||
67 | +Date: Sun, 14 Jan 2024 15:19:37 -0500 | ||
68 | +Subject: Readline-8.2 patch 8: add missing function prototypes | ||
69 | + | ||
70 | +--- | ||
71 | + bind.c | 4 +--- | ||
72 | + patchlevel | 2 +- | ||
73 | + rltty.c | 3 +-- | ||
74 | + text.c | 3 +-- | ||
75 | + 4 files changed, 4 insertions(+), 8 deletions(-) | ||
76 | + | ||
77 | +diff --git a/bind.c b/bind.c | ||
78 | +index 971116a..2596006 100644 | ||
79 | +--- a/bind.c | ||
80 | ++++ b/bind.c | ||
81 | +@@ -1167,9 +1167,7 @@ _rl_init_file_error (va_alist) | ||
82 | + /* **************************************************************** */ | ||
83 | + | ||
84 | + static int | ||
85 | +-parse_comparison_op (s, indp) | ||
86 | +- const char *s; | ||
87 | +- int *indp; | ||
88 | ++parse_comparison_op (const char *s, int *indp) | ||
89 | + { | ||
90 | + int i, peekc, op; | ||
91 | + | ||
92 | +diff --git a/patchlevel b/patchlevel | ||
93 | +index e340b58..6c10f12 100644 | ||
94 | +--- a/patchlevel | ||
95 | ++++ b/patchlevel | ||
96 | +@@ -1,3 +1,3 @@ | ||
97 | + # Do not edit -- exists only for use by patch | ||
98 | + | ||
99 | +-7 | ||
100 | ++8 | ||
101 | +diff --git a/rltty.c b/rltty.c | ||
102 | +index 882a3d4..a4863ac 100644 | ||
103 | +--- a/rltty.c | ||
104 | ++++ b/rltty.c | ||
105 | +@@ -80,8 +80,7 @@ static int ksrflow; | ||
106 | + /* Dummy call to force a backgrounded readline to stop before it tries | ||
107 | + to get the tty settings. */ | ||
108 | + static void | ||
109 | +-set_winsize (tty) | ||
110 | +- int tty; | ||
111 | ++set_winsize (int tty) | ||
112 | + { | ||
113 | + #if defined (TIOCGWINSZ) | ||
114 | + struct winsize w; | ||
115 | +diff --git a/text.c b/text.c | ||
116 | +index 91c3f33..30fdaa1 100644 | ||
117 | +--- a/text.c | ||
118 | ++++ b/text.c | ||
119 | +@@ -1764,8 +1764,7 @@ _rl_char_search (int count, int fdir, int bdir) | ||
120 | + | ||
121 | + #if defined (READLINE_CALLBACKS) | ||
122 | + static int | ||
123 | +-_rl_char_search_callback (data) | ||
124 | +- _rl_callback_generic_arg *data; | ||
125 | ++_rl_char_search_callback (_rl_callback_generic_arg *data) | ||
126 | + { | ||
127 | + _rl_callback_func = 0; | ||
128 | + _rl_want_redisplay = 1; | ||
129 | +-- | ||
130 | +cgit v1.1 | ||
131 | + | ||
132 | diff --git a/readline/readline/tcap.h b/readline/readline/tcap.h | ||
133 | index 859e6eed5aa..467ea60e903 100644 | ||
134 | --- a/readline/readline/tcap.h | ||
135 | +++ b/readline/readline/tcap.h | ||
136 | @@ -1,6 +1,6 @@ | ||
137 | /* tcap.h -- termcap library functions and variables. */ | ||
138 | |||
139 | -/* Copyright (C) 1996-2015 Free Software Foundation, Inc. | ||
140 | +/* Copyright (C) 1996-2015,2023 Free Software Foundation, Inc. | ||
141 | |||
142 | This file is part of the GNU Readline Library (Readline), a library | ||
143 | for reading lines of text with interactive input and history editing. | ||
144 | @@ -46,14 +46,14 @@ extern char *UP, *BC; | ||
145 | |||
146 | extern short ospeed; | ||
147 | |||
148 | -extern int tgetent (); | ||
149 | -extern int tgetflag (); | ||
150 | -extern int tgetnum (); | ||
151 | -extern char *tgetstr (); | ||
152 | +extern int tgetent (char *, const char *); | ||
153 | +extern int tgetflag (const char *); | ||
154 | +extern int tgetnum (const char *); | ||
155 | +extern char *tgetstr (const char *, char **); | ||
156 | |||
157 | -extern int tputs (); | ||
158 | +extern int tputs (const char *, int, int (*)(int)); | ||
159 | |||
160 | -extern char *tgoto (); | ||
161 | +extern char *tgoto (const char *, int, int); | ||
162 | |||
163 | #endif /* HAVE_TERMCAP_H */ | ||
164 | |||
diff --git a/meta/recipes-devtools/gdb/gdb_16.2.bb b/meta/recipes-devtools/gdb/gdb_16.3.bb index 9c6db4ca2c..9c6db4ca2c 100644 --- a/meta/recipes-devtools/gdb/gdb_16.2.bb +++ b/meta/recipes-devtools/gdb/gdb_16.3.bb | |||