]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/ChangeLog
[gdb/testsuite] Update gdb.arch/i386-mpx-call.exp for -m32
[thirdparty/binutils-gdb.git] / gdbsupport / ChangeLog
CommitLineData
60a7223f
AF
12020-12-08 Alexander Fedotov <alfedotov@gmail.com>
2
3 * pathstuff.cc (get_standard_cache_dir): Use LOCALAPPDATA environment
4 variable when running on Windows.
5
54e75f29
AB
62020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * tdesc.cc (print_xml_feature::visit): Print enum fields using
9 'evalue' syntax.
10
4f36e61b
CC
112020-12-01 Chungyi Chi <demonic@csie.io>
12
13 * tdesc.cc (print_xml_feature::visit): Print enum size attribute.
14
14f62a09
TT
152020-11-20 Tom Tromey <tromey@adacore.com>
16
17 * thread-pool.cc (thread_pool::set_thread_count): Ignore system
18 errors.
19
6c51cf51
TT
202020-11-10 Tom Tromey <tromey@adacore.com>
21
22 PR build/26848:
23 * pathstuff.h: Move include block here...
24 * pathstuff.cc: ... from here.
25
8768c3e3
TT
262020-11-02 Tom Tromey <tom@tromey.com>
27
28 * pathstuff.h (get_standard_config_dir): Declare.
29 * pathstuff.cc (get_standard_config_dir): New function.
30
dda83cd7
SM
312020-11-02 Simon Marchi <simon.marchi@efficios.com>
32
33 * common-exceptions.h: Fix indentation.
34 * event-loop.cc: Fix indentation.
35 * fileio.cc: Fix indentation.
36 * filestuff.cc: Fix indentation.
37 * gdb-dlfcn.cc: Fix indentation.
38 * gdb_string_view.h: Fix indentation.
39 * job-control.cc: Fix indentation.
40 * signals.cc: Fix indentation.
41
17417fb0
SM
422020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
43
44 * common-debug.cc (debug_prefixed_printf): New.
45 * common-debug.h (debug_prefixed_printf): New declaration.
46 * event-loop.cc (event_loop_debug_printf_1): Remove.
47 * event-loop.h (event_loop_debug_printf_1): Remove.
48 (event_loop_debug_printf): Use debug_prefixed_printf.
49 (event_loop_ui_debug_printf): Use debug_prefixed_printf.
50
b9442ec1
SM
512020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
52
53 * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
54 AC_LANG_PROGRAM.
55 * configure: Re-generate.
56
15dabc52
SM
572020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
58
59 * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK.
60
864ca435
SM
612020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
62
63 * configure: Re-generate.
64 * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
65 AC_LANG_PROGRAM.
66
5164c117
SM
672020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
68
69 * configure: Re-generate.
70 * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
71 AC_LANG_PROGRAM.
72
b6fb30ed
SM
732020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
74
75 * configure: Re-generate.
76 * ptrace.m4: Re-indent.
77
e41fda1d
SM
782020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
79
80 * aclocal.m4: Re-generate.
81 * configure: Re-generate.
82 * configure.ac: Remove AM_PROG_CC_STDC.
83
91e1a0ed
SM
842020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
85
86 * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
87 AC_CANONICAL_SYSTEM.
88 * configure: Re-generate.
89
d744f0f9
PA
902020-10-26 Pedro Alves <pedro@palves.net>
91
92 * eintr.h (handle_eintr): Replace Ret template parameter with
93 ErrorValType. Use it as type of the failure value. Deduce the
94 function's return type using decltype. Use lowercase for function
95 parameter names.
96
006811bc
SM
972020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
98
99 * Makefile.in: Re-generate.
100 * acinclude.m4: Update ptrace.m4 path.
101 * ptrace.m4: Move here.
102
51a948fd
AB
1032020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
104
105 * tdesc.h (allocate_target_description): Update return type.
106
4a72de73
TT
1072020-10-07 Tom Tromey <tromey@adacore.com>
108
109 * Makefile.in: Rebuild.
110 * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
111 * search.h: New file.
112 * search.cc: New file.
113
6b01403b
SM
1142020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
115
116 * event-loop.h (debug_event_loop): New variable declaration.
117 (event_loop_debug_printf_1): New function declaration.
118 (event_loop_debug_printf): New macro.
119 * event-loop.cc (debug_event_loop): New variable.
120 (handle_file_event): Add debug print.
121 (event_loop_debug_printf_1): New function.
122
ba988419
SM
1232020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
124
125 * common-debug.cc (debug_prefixed_vprintf): Move here.
126 * common-debug.h (debug_prefixed_vprintf): Move here.
127
2554f6f5
SM
1282020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
129
130 * event-loop.h (add_file_handler): Add "name" parameter.
131 * event-loop.cc (struct file_handler) <name>: New field.
132 (create_file_handler): Add "name" parameter, assign it to file
133 handler.
134 (add_file_handler): Add "name" parameter.
135
e2a2a24a
KR
1362020-10-01 Kamil Rytarowski <n54@gmx.com>
137
138 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
139
de38d64a
PA
1402020-09-29 Pedro Alves <pedro@palves.net>
141
142 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
143 class instead of an alias template and adjust static_assert.
144
29363cfa
SM
1452020-09-24 Simon Marchi <simon.marchi@efficios.com>
146
147 * event-loop.c (struct file_handler): Remove typedef, re-format.
148
e911c666
JB
1492020-09-16 John Baldwin <jhb@FreeBSD.org>
150
151 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
152 * configure, config.in: Regenerate.
153
04902b09
PA
1542020-09-14 Pedro Alves <pedro@palves.net>
155
156 * enum-flags.h: Include "traits.h".
157 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
158 structure.
159 (enum_underlying_type): Update comment.
160 (namespace enum_flags_detail): New. Move struct zero_type here.
161 (EnumIsUnsigned, EnumIsSigned): New.
162 (class enum_flags): Make most methods constexpr.
163 (operator&=, operator|=, operator^=): Take an enum_flags instead
164 of an enum_type. Make rvalue ref versions deleted.
165 (operator enum_type()): Delete.
166 (operator&, operator|, operator^, operator~): Delete, moved out of
167 class.
168 (raw()): New method.
169 (is_enum_flags_enum_type_t): Declare.
170 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
171 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
172 operators.
173 (operator~): Now constexpr and reimplemented.
174 (operator<<, operator>>): New deleted functions.
175 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
176
1945192c
PA
1772020-09-14 Pedro Alves <pedro@palves.net>
178
179 * traits.h (struct nonesuch, struct detector, detected_or)
180 (detected_or_t, is_detected, detected_t, detected_or)
181 (detected_or_t, is_detected_exact, is_detected_convertible): New.
182 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
183
48c9b433
KR
1842020-09-10 Kamil Rytarowski <n54@gmx.com>
185
186 * eintr.h: New file.
187
ece5bc8a
SM
1882020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
189
190 * selftest.h (run_tests): Change parameter to array_view.
191 * selftest.c (run_tests): Change parameter to array_view and use
192 it.
193
c8693053
RO
1942020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
195
196 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
197 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
198 <sys/procfs.h>.
199 * Makefile.in: Regenerate.
200 * configure, config.in: Regenerate.
201
866b34a1
TV
2022020-07-28 Tom de Vries <tdevries@suse.de>
203
204 PR build/26281
205 * gdb_optional.h (class optional): Add volatile member to union
206 contaning m_dummy and m_item.
207
0e267416
AB
2082020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
209
210 * tdesc.h (struct target_desc_deleter): Moved here
211 from gdb/target-descriptions.h, extend comment.
212 (target_desc_up): Likewise.
213
5ac58899
TT
2142020-06-30 Tom Tromey <tromey@adacore.com>
215
216 PR build/26183:
217 * gdb_string_view.h (basic_string_view::to_string): Remove.
218 (gdb::to_string): New function.
219
6db3031e
SM
2202020-06-27 Simon Marchi <simon.marchi@efficios.com>
221
222 * tdesc.h (class print_xml_feature) <add_line>: Add
223 ATTRIBUTE_PRINTF.
224
caa7fd04
AB
2252020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
226
227 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
228 output content, and call indent as needed in all overloaded
229 variants.
230 (print_xml_feature::visit_post): Likewise.
231 (print_xml_feature::visit): Likewise.
232 (print_xml_feature::add_line): Two new overloaded functions.
233 * tdesc.h (print_xml_feature::indent): New member function.
234 (print_xml_feature::add_line): Two new overloaded member
235 functions.
236 (print_xml_feature::m_depth): New member variable.
237
fbf42f4e
AB
2382020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
239
240 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
241 information.
242 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
243 (tdesc_compatible_info_up): New typedef.
244 (tdesc_compatible_info_list): Declare new function.
245 (tdesc_compatible_info_arch_name): Declare new function.
246
7dbfcd6f
MW
2472020-05-25 Michael Weghorn <m.weghorn@posteo.de>
248
249 * common-utils.cc, common-utils.h (stringify_argv): Drop
250 now unused function stringify_argv
251
8c4b5f3d
MW
2522020-05-25 Michael Weghorn <m.weghorn@posteo.de>
253
254 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
255 Adapt to take a gdb::array_view<char * const> parameter.
256 Adapt call site.
257
c699004a
MW
2582020-05-25 Michael Weghorn <m.weghorn@posteo.de>
259
260 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
261 Adapt to handle zero args and return a std::string.
262 Adapt call site.
263
92651b1d
MW
2642020-05-25 Michael Weghorn <m.weghorn@posteo.de>
265
266 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
267 Move function here from gdb/infcmd.c, gdb/inferior.h
268
a51951c2
KB
2692020-05-14 Kevin Buettner <kevinb@redhat.com>
270
271 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
272
fc75c28b
TBA
2732020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
274
275 * common-regcache.h (regcache_read_pc_protected): New function
276 declaration.
277
32d1f47a
TBA
2782020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
279
280 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
281
ff8885c3
SM
2822020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
283
284 * common-defs.h: Include cstdlib.h.
285
0fa7617d
TT
2862020-04-20 Tom Tromey <tromey@adacore.com>
287
288 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
289 Use initialization style. Don't call destroy.
290 * scoped_fd.h (class scoped_fd): Mark move constructor as
291 noexcept.
292 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
293 noexcept.
294
7990abcc
TT
2952020-04-13 Tom Tromey <tom@tromey.com>
296
297 * event-loop.c: Move comment. Remove obsolete comment.
298
400b5eca
TT
2992020-04-13 Tom Tromey <tom@tromey.com>
300
301 * event-loop.h: Move from ../gdb/.
302 * event-loop.cc: Move from ../gdb/.
303
c1cd3163
TT
3042020-04-13 Tom Tromey <tom@tromey.com>
305
306 * errors.h (flush_streams): Declare.
307
06cc9596
TT
3082020-04-13 Tom Tromey <tom@tromey.com>
309
310 * gdb_select.h: Move from ../gdb/.
311
8ae8e197
TT
3122020-04-13 Tom Tromey <tom@tromey.com>
313
314 * config.in, configure: Rebuild.
315 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
316 sys/select.h, and poll.
317
af62665e
TT
3182020-03-31 Tom Tromey <tromey@adacore.com>
319
320 * btrace-common.cc (btrace_data_append): Conditionally call
321 memcpy.
322
8f2dae6a
AB
3232020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
324
325 * create-version.sh: Resolve issues highlighted by shellcheck.
326
c884cc46
SM
3272020-03-20 Simon Marchi <simon.marchi@efficios.com>
328
329 * config.in: Re-generate.
330 * configure: Re-generate.
331
d3e2a5e8
KR
3322020-03-17 Kamil Rytarowski <n54@gmx.com>
333
334 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
335
21329136
TT
3362020-03-12 Tom Tromey <tom@tromey.com>
337
338 * common-types.h: Remove GDBSERVER code.
339 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
340 * common-defs.h: Remove GDBSERVER code.
341
272cd5a3
SM
3422020-03-12 Simon Marchi <simon.marchi@efficios.com>
343
344 * selftest.m4: Moved from gdb/.
345 * acinclude.m4: Update path to selftest.m4.
346
db6878ac
SM
3472020-03-12 Simon Marchi <simon.marchi@efficios.com>
348
349 * configure.ac: Don't source bfd/development.sh.
350 * common.m4: Source bfd/development.sh.
351 * configure: Re-generate.
352
4d696a5c
SM
3532020-03-12 Simon Marchi <simon.marchi@efficios.com>
354
355 * configure: Re-generate.
356
a0761e34
SM
3572020-03-11 Simon Marchi <simon.marchi@efficios.com>
358
359 * configure: Re-generate.
360 * warning.m4: Enable -Wmissing-prototypes.
361
e63ee24f
TT
3622020-03-08 Tom Tromey <tom@tromey.com>
363
364 * gdb_binary_search.h: Fix two typos.
365
20ea4a60
AB
3662020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
367
368 * .dir-locals.el: New file.
369
3d1e5a43
VP
3702020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
371
372 * configure.ac: Added call development.sh.
373 * configure: Regenerate.
374
842806cb
TBA
3752020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
376
377 * .gitattributes: New file.
378
89725b0d
SM
3792020-03-03 Simon Marchi <simon.marchi@efficios.com>
380
381 * Makefile.in: Re-generate.
382
d7592e97
SDJ
3832020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
384
385 * gdb-dlfcn.h (gdb_dlopen): Update comment.
386
9f1528a1
AB
3872020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
388
389 * configure: Regenerate.
390
1a627e7e
TT
3912020-02-14 Tom Tromey <tom@tromey.com>
392
393 * common-defs.h: Change path to gnulib/config.h.
394
06b3c5bd
SM
3952020-02-13 Simon Marchi <simon.marchi@efficios.com>
396
397 * Makefile.am: Rename source files from .c to .cc.
398 (CC, CFLAGS): Don't override.
399 (AM_CFLAGS): Rename to ...
400 (AM_CXXFLAGS): ... this.
401 * Makefile.in: Re-generate.
402 * %.c: Rename to %.cc.
403
898e7f60
SM
4042020-02-11 Simon Marchi <simon.marchi@efficios.com>
405
406 * configure: Re-generate.
407
8ddd8e0e
SM
4082020-02-11 Simon Marchi <simon.marchi@efficios.com>
409
410 * warning.m4: Add -Wstrict-null-sentinel.
411 * configure: Re-generate.
412
58df732b
SM
4132020-02-11 Simon Marchi <simon.marchi@efficios.com>
414
415 * warning.m4: Move here, from gdb/warning.m4.
416 * acinclude.m4: Update warning.m4 path.
417 * Makefile.in: Re-generate.
418
629c2962
SM
4192020-02-11 Simon Marchi <simon.marchi@efficios.com>
420
421 * acinclude.m4: Include ../gdb/warning.m4.
422 * configure.ac: Use AM_GDB_WARNINGS.
423 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
424 * Makefile.in: Re-generate.
425 * configure: Re-generate.
426
85f0dd3c
TV
4272020-02-10 Tom de Vries <tdevries@suse.de>
428
429 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
430
43198d20
CB
4312020-01-24 Christian Biesinger <cbiesinger@google.com>
432
433 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
434 version of pthread_setname_np.
435
67b10306
PA
4362020-01-17 Pedro Alves <palves@redhat.com>
437
438 * Makefile.am: Append CXX_DIALECT to CXX.
439 * Makefile.in: Regenerate.
440
3684d331
PA
4412020-01-17 Pedro Alves <palves@redhat.com>
442
443 * configure.ac: Generate config.h instead of support-config.h.
444 * common-defs.h: Include <gdbsupport/config.h> instead of
445 <gdbsupport/support-config.h>.
446 * Makefile.in: Regenerate.
447 * configure: Regenerate.
448
0454ef42
TT
4492020-01-14 Tom Tromey <tom@tromey.com>
450
451 * Makefile.in: Rebuild.
452 * Makefile.am (check-defines): New target.
453 * check-defines.el: New file.
454
05ea2a05
TT
4552020-01-14 Tom Tromey <tom@tromey.com>
456
457 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
458 Rebuild.
459 * common.m4 (GDB_AC_COMMON): Move many checks from
460 gdb/configure.ac.
461 * acinclude.m4: Include bfd.m4, ptrace.m4.
462
01027315
TT
4632020-01-14 Tom Tromey <tom@tromey.com>
464
465 * common-defs.h: Add GDBSERVER case. Update includes.
466 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
467 Makefile.am, Makefile.in, README: New files.
468 * Moved from ../gdb/gdbsupport/