]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/ChangeLog
gdb: use AC_PROG_CC_STDC instead of AM_PROG_CC_STDC
[thirdparty/binutils-gdb.git] / gdbsupport / ChangeLog
CommitLineData
e41fda1d
SM
12020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * aclocal.m4: Re-generate.
4 * configure: Re-generate.
5 * configure.ac: Remove AM_PROG_CC_STDC.
6
91e1a0ed
SM
72020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8
9 * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
10 AC_CANONICAL_SYSTEM.
11 * configure: Re-generate.
12
d744f0f9
PA
132020-10-26 Pedro Alves <pedro@palves.net>
14
15 * eintr.h (handle_eintr): Replace Ret template parameter with
16 ErrorValType. Use it as type of the failure value. Deduce the
17 function's return type using decltype. Use lowercase for function
18 parameter names.
19
006811bc
SM
202020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
21
22 * Makefile.in: Re-generate.
23 * acinclude.m4: Update ptrace.m4 path.
24 * ptrace.m4: Move here.
25
51a948fd
AB
262020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
27
28 * tdesc.h (allocate_target_description): Update return type.
29
4a72de73
TT
302020-10-07 Tom Tromey <tromey@adacore.com>
31
32 * Makefile.in: Rebuild.
33 * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
34 * search.h: New file.
35 * search.cc: New file.
36
6b01403b
SM
372020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
38
39 * event-loop.h (debug_event_loop): New variable declaration.
40 (event_loop_debug_printf_1): New function declaration.
41 (event_loop_debug_printf): New macro.
42 * event-loop.cc (debug_event_loop): New variable.
43 (handle_file_event): Add debug print.
44 (event_loop_debug_printf_1): New function.
45
ba988419
SM
462020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
47
48 * common-debug.cc (debug_prefixed_vprintf): Move here.
49 * common-debug.h (debug_prefixed_vprintf): Move here.
50
2554f6f5
SM
512020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
52
53 * event-loop.h (add_file_handler): Add "name" parameter.
54 * event-loop.cc (struct file_handler) <name>: New field.
55 (create_file_handler): Add "name" parameter, assign it to file
56 handler.
57 (add_file_handler): Add "name" parameter.
58
e2a2a24a
KR
592020-10-01 Kamil Rytarowski <n54@gmx.com>
60
61 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
62
de38d64a
PA
632020-09-29 Pedro Alves <pedro@palves.net>
64
65 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
66 class instead of an alias template and adjust static_assert.
67
29363cfa
SM
682020-09-24 Simon Marchi <simon.marchi@efficios.com>
69
70 * event-loop.c (struct file_handler): Remove typedef, re-format.
71
e911c666
JB
722020-09-16 John Baldwin <jhb@FreeBSD.org>
73
74 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
75 * configure, config.in: Regenerate.
76
04902b09
PA
772020-09-14 Pedro Alves <pedro@palves.net>
78
79 * enum-flags.h: Include "traits.h".
80 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
81 structure.
82 (enum_underlying_type): Update comment.
83 (namespace enum_flags_detail): New. Move struct zero_type here.
84 (EnumIsUnsigned, EnumIsSigned): New.
85 (class enum_flags): Make most methods constexpr.
86 (operator&=, operator|=, operator^=): Take an enum_flags instead
87 of an enum_type. Make rvalue ref versions deleted.
88 (operator enum_type()): Delete.
89 (operator&, operator|, operator^, operator~): Delete, moved out of
90 class.
91 (raw()): New method.
92 (is_enum_flags_enum_type_t): Declare.
93 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
94 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
95 operators.
96 (operator~): Now constexpr and reimplemented.
97 (operator<<, operator>>): New deleted functions.
98 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
99
1945192c
PA
1002020-09-14 Pedro Alves <pedro@palves.net>
101
102 * traits.h (struct nonesuch, struct detector, detected_or)
103 (detected_or_t, is_detected, detected_t, detected_or)
104 (detected_or_t, is_detected_exact, is_detected_convertible): New.
105 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
106
48c9b433
KR
1072020-09-10 Kamil Rytarowski <n54@gmx.com>
108
109 * eintr.h: New file.
110
ece5bc8a
SM
1112020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
112
113 * selftest.h (run_tests): Change parameter to array_view.
114 * selftest.c (run_tests): Change parameter to array_view and use
115 it.
116
c8693053
RO
1172020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
118
119 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
120 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
121 <sys/procfs.h>.
122 * Makefile.in: Regenerate.
123 * configure, config.in: Regenerate.
124
866b34a1
TV
1252020-07-28 Tom de Vries <tdevries@suse.de>
126
127 PR build/26281
128 * gdb_optional.h (class optional): Add volatile member to union
129 contaning m_dummy and m_item.
130
0e267416
AB
1312020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
132
133 * tdesc.h (struct target_desc_deleter): Moved here
134 from gdb/target-descriptions.h, extend comment.
135 (target_desc_up): Likewise.
136
5ac58899
TT
1372020-06-30 Tom Tromey <tromey@adacore.com>
138
139 PR build/26183:
140 * gdb_string_view.h (basic_string_view::to_string): Remove.
141 (gdb::to_string): New function.
142
6db3031e
SM
1432020-06-27 Simon Marchi <simon.marchi@efficios.com>
144
145 * tdesc.h (class print_xml_feature) <add_line>: Add
146 ATTRIBUTE_PRINTF.
147
caa7fd04
AB
1482020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
149
150 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
151 output content, and call indent as needed in all overloaded
152 variants.
153 (print_xml_feature::visit_post): Likewise.
154 (print_xml_feature::visit): Likewise.
155 (print_xml_feature::add_line): Two new overloaded functions.
156 * tdesc.h (print_xml_feature::indent): New member function.
157 (print_xml_feature::add_line): Two new overloaded member
158 functions.
159 (print_xml_feature::m_depth): New member variable.
160
fbf42f4e
AB
1612020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
162
163 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
164 information.
165 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
166 (tdesc_compatible_info_up): New typedef.
167 (tdesc_compatible_info_list): Declare new function.
168 (tdesc_compatible_info_arch_name): Declare new function.
169
7dbfcd6f
MW
1702020-05-25 Michael Weghorn <m.weghorn@posteo.de>
171
172 * common-utils.cc, common-utils.h (stringify_argv): Drop
173 now unused function stringify_argv
174
8c4b5f3d
MW
1752020-05-25 Michael Weghorn <m.weghorn@posteo.de>
176
177 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
178 Adapt to take a gdb::array_view<char * const> parameter.
179 Adapt call site.
180
c699004a
MW
1812020-05-25 Michael Weghorn <m.weghorn@posteo.de>
182
183 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
184 Adapt to handle zero args and return a std::string.
185 Adapt call site.
186
92651b1d
MW
1872020-05-25 Michael Weghorn <m.weghorn@posteo.de>
188
189 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
190 Move function here from gdb/infcmd.c, gdb/inferior.h
191
a51951c2
KB
1922020-05-14 Kevin Buettner <kevinb@redhat.com>
193
194 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
195
fc75c28b
TBA
1962020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
197
198 * common-regcache.h (regcache_read_pc_protected): New function
199 declaration.
200
32d1f47a
TBA
2012020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
202
203 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
204
ff8885c3
SM
2052020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
206
207 * common-defs.h: Include cstdlib.h.
208
0fa7617d
TT
2092020-04-20 Tom Tromey <tromey@adacore.com>
210
211 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
212 Use initialization style. Don't call destroy.
213 * scoped_fd.h (class scoped_fd): Mark move constructor as
214 noexcept.
215 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
216 noexcept.
217
7990abcc
TT
2182020-04-13 Tom Tromey <tom@tromey.com>
219
220 * event-loop.c: Move comment. Remove obsolete comment.
221
400b5eca
TT
2222020-04-13 Tom Tromey <tom@tromey.com>
223
224 * event-loop.h: Move from ../gdb/.
225 * event-loop.cc: Move from ../gdb/.
226
c1cd3163
TT
2272020-04-13 Tom Tromey <tom@tromey.com>
228
229 * errors.h (flush_streams): Declare.
230
06cc9596
TT
2312020-04-13 Tom Tromey <tom@tromey.com>
232
233 * gdb_select.h: Move from ../gdb/.
234
8ae8e197
TT
2352020-04-13 Tom Tromey <tom@tromey.com>
236
237 * config.in, configure: Rebuild.
238 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
239 sys/select.h, and poll.
240
af62665e
TT
2412020-03-31 Tom Tromey <tromey@adacore.com>
242
243 * btrace-common.cc (btrace_data_append): Conditionally call
244 memcpy.
245
8f2dae6a
AB
2462020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
247
248 * create-version.sh: Resolve issues highlighted by shellcheck.
249
c884cc46
SM
2502020-03-20 Simon Marchi <simon.marchi@efficios.com>
251
252 * config.in: Re-generate.
253 * configure: Re-generate.
254
d3e2a5e8
KR
2552020-03-17 Kamil Rytarowski <n54@gmx.com>
256
257 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
258
21329136
TT
2592020-03-12 Tom Tromey <tom@tromey.com>
260
261 * common-types.h: Remove GDBSERVER code.
262 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
263 * common-defs.h: Remove GDBSERVER code.
264
272cd5a3
SM
2652020-03-12 Simon Marchi <simon.marchi@efficios.com>
266
267 * selftest.m4: Moved from gdb/.
268 * acinclude.m4: Update path to selftest.m4.
269
db6878ac
SM
2702020-03-12 Simon Marchi <simon.marchi@efficios.com>
271
272 * configure.ac: Don't source bfd/development.sh.
273 * common.m4: Source bfd/development.sh.
274 * configure: Re-generate.
275
4d696a5c
SM
2762020-03-12 Simon Marchi <simon.marchi@efficios.com>
277
278 * configure: Re-generate.
279
a0761e34
SM
2802020-03-11 Simon Marchi <simon.marchi@efficios.com>
281
282 * configure: Re-generate.
283 * warning.m4: Enable -Wmissing-prototypes.
284
e63ee24f
TT
2852020-03-08 Tom Tromey <tom@tromey.com>
286
287 * gdb_binary_search.h: Fix two typos.
288
20ea4a60
AB
2892020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
290
291 * .dir-locals.el: New file.
292
3d1e5a43
VP
2932020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
294
295 * configure.ac: Added call development.sh.
296 * configure: Regenerate.
297
842806cb
TBA
2982020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
299
300 * .gitattributes: New file.
301
89725b0d
SM
3022020-03-03 Simon Marchi <simon.marchi@efficios.com>
303
304 * Makefile.in: Re-generate.
305
d7592e97
SDJ
3062020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
307
308 * gdb-dlfcn.h (gdb_dlopen): Update comment.
309
9f1528a1
AB
3102020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
311
312 * configure: Regenerate.
313
1a627e7e
TT
3142020-02-14 Tom Tromey <tom@tromey.com>
315
316 * common-defs.h: Change path to gnulib/config.h.
317
06b3c5bd
SM
3182020-02-13 Simon Marchi <simon.marchi@efficios.com>
319
320 * Makefile.am: Rename source files from .c to .cc.
321 (CC, CFLAGS): Don't override.
322 (AM_CFLAGS): Rename to ...
323 (AM_CXXFLAGS): ... this.
324 * Makefile.in: Re-generate.
325 * %.c: Rename to %.cc.
326
898e7f60
SM
3272020-02-11 Simon Marchi <simon.marchi@efficios.com>
328
329 * configure: Re-generate.
330
8ddd8e0e
SM
3312020-02-11 Simon Marchi <simon.marchi@efficios.com>
332
333 * warning.m4: Add -Wstrict-null-sentinel.
334 * configure: Re-generate.
335
58df732b
SM
3362020-02-11 Simon Marchi <simon.marchi@efficios.com>
337
338 * warning.m4: Move here, from gdb/warning.m4.
339 * acinclude.m4: Update warning.m4 path.
340 * Makefile.in: Re-generate.
341
629c2962
SM
3422020-02-11 Simon Marchi <simon.marchi@efficios.com>
343
344 * acinclude.m4: Include ../gdb/warning.m4.
345 * configure.ac: Use AM_GDB_WARNINGS.
346 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
347 * Makefile.in: Re-generate.
348 * configure: Re-generate.
349
85f0dd3c
TV
3502020-02-10 Tom de Vries <tdevries@suse.de>
351
352 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
353
43198d20
CB
3542020-01-24 Christian Biesinger <cbiesinger@google.com>
355
356 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
357 version of pthread_setname_np.
358
67b10306
PA
3592020-01-17 Pedro Alves <palves@redhat.com>
360
361 * Makefile.am: Append CXX_DIALECT to CXX.
362 * Makefile.in: Regenerate.
363
3684d331
PA
3642020-01-17 Pedro Alves <palves@redhat.com>
365
366 * configure.ac: Generate config.h instead of support-config.h.
367 * common-defs.h: Include <gdbsupport/config.h> instead of
368 <gdbsupport/support-config.h>.
369 * Makefile.in: Regenerate.
370 * configure: Regenerate.
371
0454ef42
TT
3722020-01-14 Tom Tromey <tom@tromey.com>
373
374 * Makefile.in: Rebuild.
375 * Makefile.am (check-defines): New target.
376 * check-defines.el: New file.
377
05ea2a05
TT
3782020-01-14 Tom Tromey <tom@tromey.com>
379
380 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
381 Rebuild.
382 * common.m4 (GDB_AC_COMMON): Move many checks from
383 gdb/configure.ac.
384 * acinclude.m4: Include bfd.m4, ptrace.m4.
385
01027315
TT
3862020-01-14 Tom Tromey <tom@tromey.com>
387
388 * common-defs.h: Add GDBSERVER case. Update includes.
389 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
390 Makefile.am, Makefile.in, README: New files.
391 * Moved from ../gdb/gdbsupport/