]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/ChangeLog
Rewrite valid-expr.h's internals in terms of the detection idiom (C++17/N4502)
[thirdparty/binutils-gdb.git] / gdbsupport / ChangeLog
CommitLineData
1945192c
PA
12020-09-14 Pedro Alves <pedro@palves.net>
2
3 * traits.h (struct nonesuch, struct detector, detected_or)
4 (detected_or_t, is_detected, detected_t, detected_or)
5 (detected_or_t, is_detected_exact, is_detected_convertible): New.
6 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
7
48c9b433
KR
82020-09-10 Kamil Rytarowski <n54@gmx.com>
9
10 * eintr.h: New file.
11
ece5bc8a
SM
122020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
13
14 * selftest.h (run_tests): Change parameter to array_view.
15 * selftest.c (run_tests): Change parameter to array_view and use
16 it.
17
c8693053
RO
182020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
19
20 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
21 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
22 <sys/procfs.h>.
23 * Makefile.in: Regenerate.
24 * configure, config.in: Regenerate.
25
866b34a1
TV
262020-07-28 Tom de Vries <tdevries@suse.de>
27
28 PR build/26281
29 * gdb_optional.h (class optional): Add volatile member to union
30 contaning m_dummy and m_item.
31
0e267416
AB
322020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
33
34 * tdesc.h (struct target_desc_deleter): Moved here
35 from gdb/target-descriptions.h, extend comment.
36 (target_desc_up): Likewise.
37
5ac58899
TT
382020-06-30 Tom Tromey <tromey@adacore.com>
39
40 PR build/26183:
41 * gdb_string_view.h (basic_string_view::to_string): Remove.
42 (gdb::to_string): New function.
43
6db3031e
SM
442020-06-27 Simon Marchi <simon.marchi@efficios.com>
45
46 * tdesc.h (class print_xml_feature) <add_line>: Add
47 ATTRIBUTE_PRINTF.
48
caa7fd04
AB
492020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
50
51 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
52 output content, and call indent as needed in all overloaded
53 variants.
54 (print_xml_feature::visit_post): Likewise.
55 (print_xml_feature::visit): Likewise.
56 (print_xml_feature::add_line): Two new overloaded functions.
57 * tdesc.h (print_xml_feature::indent): New member function.
58 (print_xml_feature::add_line): Two new overloaded member
59 functions.
60 (print_xml_feature::m_depth): New member variable.
61
fbf42f4e
AB
622020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
63
64 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
65 information.
66 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
67 (tdesc_compatible_info_up): New typedef.
68 (tdesc_compatible_info_list): Declare new function.
69 (tdesc_compatible_info_arch_name): Declare new function.
70
7dbfcd6f
MW
712020-05-25 Michael Weghorn <m.weghorn@posteo.de>
72
73 * common-utils.cc, common-utils.h (stringify_argv): Drop
74 now unused function stringify_argv
75
8c4b5f3d
MW
762020-05-25 Michael Weghorn <m.weghorn@posteo.de>
77
78 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
79 Adapt to take a gdb::array_view<char * const> parameter.
80 Adapt call site.
81
c699004a
MW
822020-05-25 Michael Weghorn <m.weghorn@posteo.de>
83
84 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
85 Adapt to handle zero args and return a std::string.
86 Adapt call site.
87
92651b1d
MW
882020-05-25 Michael Weghorn <m.weghorn@posteo.de>
89
90 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
91 Move function here from gdb/infcmd.c, gdb/inferior.h
92
a51951c2
KB
932020-05-14 Kevin Buettner <kevinb@redhat.com>
94
95 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
96
fc75c28b
TBA
972020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
98
99 * common-regcache.h (regcache_read_pc_protected): New function
100 declaration.
101
32d1f47a
TBA
1022020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
103
104 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
105
ff8885c3
SM
1062020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
107
108 * common-defs.h: Include cstdlib.h.
109
0fa7617d
TT
1102020-04-20 Tom Tromey <tromey@adacore.com>
111
112 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
113 Use initialization style. Don't call destroy.
114 * scoped_fd.h (class scoped_fd): Mark move constructor as
115 noexcept.
116 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
117 noexcept.
118
7990abcc
TT
1192020-04-13 Tom Tromey <tom@tromey.com>
120
121 * event-loop.c: Move comment. Remove obsolete comment.
122
400b5eca
TT
1232020-04-13 Tom Tromey <tom@tromey.com>
124
125 * event-loop.h: Move from ../gdb/.
126 * event-loop.cc: Move from ../gdb/.
127
c1cd3163
TT
1282020-04-13 Tom Tromey <tom@tromey.com>
129
130 * errors.h (flush_streams): Declare.
131
06cc9596
TT
1322020-04-13 Tom Tromey <tom@tromey.com>
133
134 * gdb_select.h: Move from ../gdb/.
135
8ae8e197
TT
1362020-04-13 Tom Tromey <tom@tromey.com>
137
138 * config.in, configure: Rebuild.
139 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
140 sys/select.h, and poll.
141
af62665e
TT
1422020-03-31 Tom Tromey <tromey@adacore.com>
143
144 * btrace-common.cc (btrace_data_append): Conditionally call
145 memcpy.
146
8f2dae6a
AB
1472020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
148
149 * create-version.sh: Resolve issues highlighted by shellcheck.
150
c884cc46
SM
1512020-03-20 Simon Marchi <simon.marchi@efficios.com>
152
153 * config.in: Re-generate.
154 * configure: Re-generate.
155
d3e2a5e8
KR
1562020-03-17 Kamil Rytarowski <n54@gmx.com>
157
158 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
159
21329136
TT
1602020-03-12 Tom Tromey <tom@tromey.com>
161
162 * common-types.h: Remove GDBSERVER code.
163 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
164 * common-defs.h: Remove GDBSERVER code.
165
272cd5a3
SM
1662020-03-12 Simon Marchi <simon.marchi@efficios.com>
167
168 * selftest.m4: Moved from gdb/.
169 * acinclude.m4: Update path to selftest.m4.
170
db6878ac
SM
1712020-03-12 Simon Marchi <simon.marchi@efficios.com>
172
173 * configure.ac: Don't source bfd/development.sh.
174 * common.m4: Source bfd/development.sh.
175 * configure: Re-generate.
176
4d696a5c
SM
1772020-03-12 Simon Marchi <simon.marchi@efficios.com>
178
179 * configure: Re-generate.
180
a0761e34
SM
1812020-03-11 Simon Marchi <simon.marchi@efficios.com>
182
183 * configure: Re-generate.
184 * warning.m4: Enable -Wmissing-prototypes.
185
e63ee24f
TT
1862020-03-08 Tom Tromey <tom@tromey.com>
187
188 * gdb_binary_search.h: Fix two typos.
189
20ea4a60
AB
1902020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
191
192 * .dir-locals.el: New file.
193
3d1e5a43
VP
1942020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
195
196 * configure.ac: Added call development.sh.
197 * configure: Regenerate.
198
842806cb
TBA
1992020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
200
201 * .gitattributes: New file.
202
89725b0d
SM
2032020-03-03 Simon Marchi <simon.marchi@efficios.com>
204
205 * Makefile.in: Re-generate.
206
d7592e97
SDJ
2072020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
208
209 * gdb-dlfcn.h (gdb_dlopen): Update comment.
210
9f1528a1
AB
2112020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
212
213 * configure: Regenerate.
214
1a627e7e
TT
2152020-02-14 Tom Tromey <tom@tromey.com>
216
217 * common-defs.h: Change path to gnulib/config.h.
218
06b3c5bd
SM
2192020-02-13 Simon Marchi <simon.marchi@efficios.com>
220
221 * Makefile.am: Rename source files from .c to .cc.
222 (CC, CFLAGS): Don't override.
223 (AM_CFLAGS): Rename to ...
224 (AM_CXXFLAGS): ... this.
225 * Makefile.in: Re-generate.
226 * %.c: Rename to %.cc.
227
898e7f60
SM
2282020-02-11 Simon Marchi <simon.marchi@efficios.com>
229
230 * configure: Re-generate.
231
8ddd8e0e
SM
2322020-02-11 Simon Marchi <simon.marchi@efficios.com>
233
234 * warning.m4: Add -Wstrict-null-sentinel.
235 * configure: Re-generate.
236
58df732b
SM
2372020-02-11 Simon Marchi <simon.marchi@efficios.com>
238
239 * warning.m4: Move here, from gdb/warning.m4.
240 * acinclude.m4: Update warning.m4 path.
241 * Makefile.in: Re-generate.
242
629c2962
SM
2432020-02-11 Simon Marchi <simon.marchi@efficios.com>
244
245 * acinclude.m4: Include ../gdb/warning.m4.
246 * configure.ac: Use AM_GDB_WARNINGS.
247 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
248 * Makefile.in: Re-generate.
249 * configure: Re-generate.
250
85f0dd3c
TV
2512020-02-10 Tom de Vries <tdevries@suse.de>
252
253 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
254
43198d20
CB
2552020-01-24 Christian Biesinger <cbiesinger@google.com>
256
257 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
258 version of pthread_setname_np.
259
67b10306
PA
2602020-01-17 Pedro Alves <palves@redhat.com>
261
262 * Makefile.am: Append CXX_DIALECT to CXX.
263 * Makefile.in: Regenerate.
264
3684d331
PA
2652020-01-17 Pedro Alves <palves@redhat.com>
266
267 * configure.ac: Generate config.h instead of support-config.h.
268 * common-defs.h: Include <gdbsupport/config.h> instead of
269 <gdbsupport/support-config.h>.
270 * Makefile.in: Regenerate.
271 * configure: Regenerate.
272
0454ef42
TT
2732020-01-14 Tom Tromey <tom@tromey.com>
274
275 * Makefile.in: Rebuild.
276 * Makefile.am (check-defines): New target.
277 * check-defines.el: New file.
278
05ea2a05
TT
2792020-01-14 Tom Tromey <tom@tromey.com>
280
281 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
282 Rebuild.
283 * common.m4 (GDB_AC_COMMON): Move many checks from
284 gdb/configure.ac.
285 * acinclude.m4: Include bfd.m4, ptrace.m4.
286
01027315
TT
2872020-01-14 Tom Tromey <tom@tromey.com>
288
289 * common-defs.h: Add GDBSERVER case. Update includes.
290 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
291 Makefile.am, Makefile.in, README: New files.
292 * Moved from ../gdb/gdbsupport/
293