]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/ChangeLog
Minor Python simplifications
[thirdparty/binutils-gdb.git] / gdbsupport / ChangeLog
CommitLineData
dda83cd7
SM
12020-11-02 Simon Marchi <simon.marchi@efficios.com>
2
3 * common-exceptions.h: Fix indentation.
4 * event-loop.cc: Fix indentation.
5 * fileio.cc: Fix indentation.
6 * filestuff.cc: Fix indentation.
7 * gdb-dlfcn.cc: Fix indentation.
8 * gdb_string_view.h: Fix indentation.
9 * job-control.cc: Fix indentation.
10 * signals.cc: Fix indentation.
11
17417fb0
SM
122020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
13
14 * common-debug.cc (debug_prefixed_printf): New.
15 * common-debug.h (debug_prefixed_printf): New declaration.
16 * event-loop.cc (event_loop_debug_printf_1): Remove.
17 * event-loop.h (event_loop_debug_printf_1): Remove.
18 (event_loop_debug_printf): Use debug_prefixed_printf.
19 (event_loop_ui_debug_printf): Use debug_prefixed_printf.
20
b9442ec1
SM
212020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
22
23 * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
24 AC_LANG_PROGRAM.
25 * configure: Re-generate.
26
15dabc52
SM
272020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
28
29 * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK.
30
864ca435
SM
312020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
32
33 * configure: Re-generate.
34 * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
35 AC_LANG_PROGRAM.
36
5164c117
SM
372020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
38
39 * configure: Re-generate.
40 * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
41 AC_LANG_PROGRAM.
42
b6fb30ed
SM
432020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
44
45 * configure: Re-generate.
46 * ptrace.m4: Re-indent.
47
e41fda1d
SM
482020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
49
50 * aclocal.m4: Re-generate.
51 * configure: Re-generate.
52 * configure.ac: Remove AM_PROG_CC_STDC.
53
91e1a0ed
SM
542020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
55
56 * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
57 AC_CANONICAL_SYSTEM.
58 * configure: Re-generate.
59
d744f0f9
PA
602020-10-26 Pedro Alves <pedro@palves.net>
61
62 * eintr.h (handle_eintr): Replace Ret template parameter with
63 ErrorValType. Use it as type of the failure value. Deduce the
64 function's return type using decltype. Use lowercase for function
65 parameter names.
66
006811bc
SM
672020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
68
69 * Makefile.in: Re-generate.
70 * acinclude.m4: Update ptrace.m4 path.
71 * ptrace.m4: Move here.
72
51a948fd
AB
732020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
74
75 * tdesc.h (allocate_target_description): Update return type.
76
4a72de73
TT
772020-10-07 Tom Tromey <tromey@adacore.com>
78
79 * Makefile.in: Rebuild.
80 * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
81 * search.h: New file.
82 * search.cc: New file.
83
6b01403b
SM
842020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
85
86 * event-loop.h (debug_event_loop): New variable declaration.
87 (event_loop_debug_printf_1): New function declaration.
88 (event_loop_debug_printf): New macro.
89 * event-loop.cc (debug_event_loop): New variable.
90 (handle_file_event): Add debug print.
91 (event_loop_debug_printf_1): New function.
92
ba988419
SM
932020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
94
95 * common-debug.cc (debug_prefixed_vprintf): Move here.
96 * common-debug.h (debug_prefixed_vprintf): Move here.
97
2554f6f5
SM
982020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
99
100 * event-loop.h (add_file_handler): Add "name" parameter.
101 * event-loop.cc (struct file_handler) <name>: New field.
102 (create_file_handler): Add "name" parameter, assign it to file
103 handler.
104 (add_file_handler): Add "name" parameter.
105
e2a2a24a
KR
1062020-10-01 Kamil Rytarowski <n54@gmx.com>
107
108 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
109
de38d64a
PA
1102020-09-29 Pedro Alves <pedro@palves.net>
111
112 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
113 class instead of an alias template and adjust static_assert.
114
29363cfa
SM
1152020-09-24 Simon Marchi <simon.marchi@efficios.com>
116
117 * event-loop.c (struct file_handler): Remove typedef, re-format.
118
e911c666
JB
1192020-09-16 John Baldwin <jhb@FreeBSD.org>
120
121 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
122 * configure, config.in: Regenerate.
123
04902b09
PA
1242020-09-14 Pedro Alves <pedro@palves.net>
125
126 * enum-flags.h: Include "traits.h".
127 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
128 structure.
129 (enum_underlying_type): Update comment.
130 (namespace enum_flags_detail): New. Move struct zero_type here.
131 (EnumIsUnsigned, EnumIsSigned): New.
132 (class enum_flags): Make most methods constexpr.
133 (operator&=, operator|=, operator^=): Take an enum_flags instead
134 of an enum_type. Make rvalue ref versions deleted.
135 (operator enum_type()): Delete.
136 (operator&, operator|, operator^, operator~): Delete, moved out of
137 class.
138 (raw()): New method.
139 (is_enum_flags_enum_type_t): Declare.
140 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
141 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
142 operators.
143 (operator~): Now constexpr and reimplemented.
144 (operator<<, operator>>): New deleted functions.
145 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
146
1945192c
PA
1472020-09-14 Pedro Alves <pedro@palves.net>
148
149 * traits.h (struct nonesuch, struct detector, detected_or)
150 (detected_or_t, is_detected, detected_t, detected_or)
151 (detected_or_t, is_detected_exact, is_detected_convertible): New.
152 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
153
48c9b433
KR
1542020-09-10 Kamil Rytarowski <n54@gmx.com>
155
156 * eintr.h: New file.
157
ece5bc8a
SM
1582020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
159
160 * selftest.h (run_tests): Change parameter to array_view.
161 * selftest.c (run_tests): Change parameter to array_view and use
162 it.
163
c8693053
RO
1642020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
165
166 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
167 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
168 <sys/procfs.h>.
169 * Makefile.in: Regenerate.
170 * configure, config.in: Regenerate.
171
866b34a1
TV
1722020-07-28 Tom de Vries <tdevries@suse.de>
173
174 PR build/26281
175 * gdb_optional.h (class optional): Add volatile member to union
176 contaning m_dummy and m_item.
177
0e267416
AB
1782020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
179
180 * tdesc.h (struct target_desc_deleter): Moved here
181 from gdb/target-descriptions.h, extend comment.
182 (target_desc_up): Likewise.
183
5ac58899
TT
1842020-06-30 Tom Tromey <tromey@adacore.com>
185
186 PR build/26183:
187 * gdb_string_view.h (basic_string_view::to_string): Remove.
188 (gdb::to_string): New function.
189
6db3031e
SM
1902020-06-27 Simon Marchi <simon.marchi@efficios.com>
191
192 * tdesc.h (class print_xml_feature) <add_line>: Add
193 ATTRIBUTE_PRINTF.
194
caa7fd04
AB
1952020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
196
197 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
198 output content, and call indent as needed in all overloaded
199 variants.
200 (print_xml_feature::visit_post): Likewise.
201 (print_xml_feature::visit): Likewise.
202 (print_xml_feature::add_line): Two new overloaded functions.
203 * tdesc.h (print_xml_feature::indent): New member function.
204 (print_xml_feature::add_line): Two new overloaded member
205 functions.
206 (print_xml_feature::m_depth): New member variable.
207
fbf42f4e
AB
2082020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
209
210 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
211 information.
212 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
213 (tdesc_compatible_info_up): New typedef.
214 (tdesc_compatible_info_list): Declare new function.
215 (tdesc_compatible_info_arch_name): Declare new function.
216
7dbfcd6f
MW
2172020-05-25 Michael Weghorn <m.weghorn@posteo.de>
218
219 * common-utils.cc, common-utils.h (stringify_argv): Drop
220 now unused function stringify_argv
221
8c4b5f3d
MW
2222020-05-25 Michael Weghorn <m.weghorn@posteo.de>
223
224 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
225 Adapt to take a gdb::array_view<char * const> parameter.
226 Adapt call site.
227
c699004a
MW
2282020-05-25 Michael Weghorn <m.weghorn@posteo.de>
229
230 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
231 Adapt to handle zero args and return a std::string.
232 Adapt call site.
233
92651b1d
MW
2342020-05-25 Michael Weghorn <m.weghorn@posteo.de>
235
236 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
237 Move function here from gdb/infcmd.c, gdb/inferior.h
238
a51951c2
KB
2392020-05-14 Kevin Buettner <kevinb@redhat.com>
240
241 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
242
fc75c28b
TBA
2432020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
244
245 * common-regcache.h (regcache_read_pc_protected): New function
246 declaration.
247
32d1f47a
TBA
2482020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
249
250 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
251
ff8885c3
SM
2522020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
253
254 * common-defs.h: Include cstdlib.h.
255
0fa7617d
TT
2562020-04-20 Tom Tromey <tromey@adacore.com>
257
258 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
259 Use initialization style. Don't call destroy.
260 * scoped_fd.h (class scoped_fd): Mark move constructor as
261 noexcept.
262 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
263 noexcept.
264
7990abcc
TT
2652020-04-13 Tom Tromey <tom@tromey.com>
266
267 * event-loop.c: Move comment. Remove obsolete comment.
268
400b5eca
TT
2692020-04-13 Tom Tromey <tom@tromey.com>
270
271 * event-loop.h: Move from ../gdb/.
272 * event-loop.cc: Move from ../gdb/.
273
c1cd3163
TT
2742020-04-13 Tom Tromey <tom@tromey.com>
275
276 * errors.h (flush_streams): Declare.
277
06cc9596
TT
2782020-04-13 Tom Tromey <tom@tromey.com>
279
280 * gdb_select.h: Move from ../gdb/.
281
8ae8e197
TT
2822020-04-13 Tom Tromey <tom@tromey.com>
283
284 * config.in, configure: Rebuild.
285 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
286 sys/select.h, and poll.
287
af62665e
TT
2882020-03-31 Tom Tromey <tromey@adacore.com>
289
290 * btrace-common.cc (btrace_data_append): Conditionally call
291 memcpy.
292
8f2dae6a
AB
2932020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
294
295 * create-version.sh: Resolve issues highlighted by shellcheck.
296
c884cc46
SM
2972020-03-20 Simon Marchi <simon.marchi@efficios.com>
298
299 * config.in: Re-generate.
300 * configure: Re-generate.
301
d3e2a5e8
KR
3022020-03-17 Kamil Rytarowski <n54@gmx.com>
303
304 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
305
21329136
TT
3062020-03-12 Tom Tromey <tom@tromey.com>
307
308 * common-types.h: Remove GDBSERVER code.
309 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
310 * common-defs.h: Remove GDBSERVER code.
311
272cd5a3
SM
3122020-03-12 Simon Marchi <simon.marchi@efficios.com>
313
314 * selftest.m4: Moved from gdb/.
315 * acinclude.m4: Update path to selftest.m4.
316
db6878ac
SM
3172020-03-12 Simon Marchi <simon.marchi@efficios.com>
318
319 * configure.ac: Don't source bfd/development.sh.
320 * common.m4: Source bfd/development.sh.
321 * configure: Re-generate.
322
4d696a5c
SM
3232020-03-12 Simon Marchi <simon.marchi@efficios.com>
324
325 * configure: Re-generate.
326
a0761e34
SM
3272020-03-11 Simon Marchi <simon.marchi@efficios.com>
328
329 * configure: Re-generate.
330 * warning.m4: Enable -Wmissing-prototypes.
331
e63ee24f
TT
3322020-03-08 Tom Tromey <tom@tromey.com>
333
334 * gdb_binary_search.h: Fix two typos.
335
20ea4a60
AB
3362020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
337
338 * .dir-locals.el: New file.
339
3d1e5a43
VP
3402020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
341
342 * configure.ac: Added call development.sh.
343 * configure: Regenerate.
344
842806cb
TBA
3452020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
346
347 * .gitattributes: New file.
348
89725b0d
SM
3492020-03-03 Simon Marchi <simon.marchi@efficios.com>
350
351 * Makefile.in: Re-generate.
352
d7592e97
SDJ
3532020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
354
355 * gdb-dlfcn.h (gdb_dlopen): Update comment.
356
9f1528a1
AB
3572020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
358
359 * configure: Regenerate.
360
1a627e7e
TT
3612020-02-14 Tom Tromey <tom@tromey.com>
362
363 * common-defs.h: Change path to gnulib/config.h.
364
06b3c5bd
SM
3652020-02-13 Simon Marchi <simon.marchi@efficios.com>
366
367 * Makefile.am: Rename source files from .c to .cc.
368 (CC, CFLAGS): Don't override.
369 (AM_CFLAGS): Rename to ...
370 (AM_CXXFLAGS): ... this.
371 * Makefile.in: Re-generate.
372 * %.c: Rename to %.cc.
373
898e7f60
SM
3742020-02-11 Simon Marchi <simon.marchi@efficios.com>
375
376 * configure: Re-generate.
377
8ddd8e0e
SM
3782020-02-11 Simon Marchi <simon.marchi@efficios.com>
379
380 * warning.m4: Add -Wstrict-null-sentinel.
381 * configure: Re-generate.
382
58df732b
SM
3832020-02-11 Simon Marchi <simon.marchi@efficios.com>
384
385 * warning.m4: Move here, from gdb/warning.m4.
386 * acinclude.m4: Update warning.m4 path.
387 * Makefile.in: Re-generate.
388
629c2962
SM
3892020-02-11 Simon Marchi <simon.marchi@efficios.com>
390
391 * acinclude.m4: Include ../gdb/warning.m4.
392 * configure.ac: Use AM_GDB_WARNINGS.
393 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
394 * Makefile.in: Re-generate.
395 * configure: Re-generate.
396
85f0dd3c
TV
3972020-02-10 Tom de Vries <tdevries@suse.de>
398
399 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
400
43198d20
CB
4012020-01-24 Christian Biesinger <cbiesinger@google.com>
402
403 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
404 version of pthread_setname_np.
405
67b10306
PA
4062020-01-17 Pedro Alves <palves@redhat.com>
407
408 * Makefile.am: Append CXX_DIALECT to CXX.
409 * Makefile.in: Regenerate.
410
3684d331
PA
4112020-01-17 Pedro Alves <palves@redhat.com>
412
413 * configure.ac: Generate config.h instead of support-config.h.
414 * common-defs.h: Include <gdbsupport/config.h> instead of
415 <gdbsupport/support-config.h>.
416 * Makefile.in: Regenerate.
417 * configure: Regenerate.
418
0454ef42
TT
4192020-01-14 Tom Tromey <tom@tromey.com>
420
421 * Makefile.in: Rebuild.
422 * Makefile.am (check-defines): New target.
423 * check-defines.el: New file.
424
05ea2a05
TT
4252020-01-14 Tom Tromey <tom@tromey.com>
426
427 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
428 Rebuild.
429 * common.m4 (GDB_AC_COMMON): Move many checks from
430 gdb/configure.ac.
431 * acinclude.m4: Include bfd.m4, ptrace.m4.
432
01027315
TT
4332020-01-14 Tom Tromey <tom@tromey.com>
434
435 * common-defs.h: Add GDBSERVER case. Update includes.
436 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
437 Makefile.am, Makefile.in, README: New files.
438 * Moved from ../gdb/gdbsupport/