gdbsupport: re-indent ptrace.m4
[deliverable/binutils-gdb.git] / gdbsupport / ChangeLog
1 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * configure: Re-generate.
4 * ptrace.m4: Re-indent.
5
6 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7
8 * aclocal.m4: Re-generate.
9 * configure: Re-generate.
10 * configure.ac: Remove AM_PROG_CC_STDC.
11
12 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
13
14 * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
15 AC_CANONICAL_SYSTEM.
16 * configure: Re-generate.
17
18 2020-10-26 Pedro Alves <pedro@palves.net>
19
20 * eintr.h (handle_eintr): Replace Ret template parameter with
21 ErrorValType. Use it as type of the failure value. Deduce the
22 function's return type using decltype. Use lowercase for function
23 parameter names.
24
25 2020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
26
27 * Makefile.in: Re-generate.
28 * acinclude.m4: Update ptrace.m4 path.
29 * ptrace.m4: Move here.
30
31 2020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
32
33 * tdesc.h (allocate_target_description): Update return type.
34
35 2020-10-07 Tom Tromey <tromey@adacore.com>
36
37 * Makefile.in: Rebuild.
38 * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
39 * search.h: New file.
40 * search.cc: New file.
41
42 2020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
43
44 * event-loop.h (debug_event_loop): New variable declaration.
45 (event_loop_debug_printf_1): New function declaration.
46 (event_loop_debug_printf): New macro.
47 * event-loop.cc (debug_event_loop): New variable.
48 (handle_file_event): Add debug print.
49 (event_loop_debug_printf_1): New function.
50
51 2020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
52
53 * common-debug.cc (debug_prefixed_vprintf): Move here.
54 * common-debug.h (debug_prefixed_vprintf): Move here.
55
56 2020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
57
58 * event-loop.h (add_file_handler): Add "name" parameter.
59 * event-loop.cc (struct file_handler) <name>: New field.
60 (create_file_handler): Add "name" parameter, assign it to file
61 handler.
62 (add_file_handler): Add "name" parameter.
63
64 2020-10-01 Kamil Rytarowski <n54@gmx.com>
65
66 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
67
68 2020-09-29 Pedro Alves <pedro@palves.net>
69
70 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
71 class instead of an alias template and adjust static_assert.
72
73 2020-09-24 Simon Marchi <simon.marchi@efficios.com>
74
75 * event-loop.c (struct file_handler): Remove typedef, re-format.
76
77 2020-09-16 John Baldwin <jhb@FreeBSD.org>
78
79 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
80 * configure, config.in: Regenerate.
81
82 2020-09-14 Pedro Alves <pedro@palves.net>
83
84 * enum-flags.h: Include "traits.h".
85 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
86 structure.
87 (enum_underlying_type): Update comment.
88 (namespace enum_flags_detail): New. Move struct zero_type here.
89 (EnumIsUnsigned, EnumIsSigned): New.
90 (class enum_flags): Make most methods constexpr.
91 (operator&=, operator|=, operator^=): Take an enum_flags instead
92 of an enum_type. Make rvalue ref versions deleted.
93 (operator enum_type()): Delete.
94 (operator&, operator|, operator^, operator~): Delete, moved out of
95 class.
96 (raw()): New method.
97 (is_enum_flags_enum_type_t): Declare.
98 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
99 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
100 operators.
101 (operator~): Now constexpr and reimplemented.
102 (operator<<, operator>>): New deleted functions.
103 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
104
105 2020-09-14 Pedro Alves <pedro@palves.net>
106
107 * traits.h (struct nonesuch, struct detector, detected_or)
108 (detected_or_t, is_detected, detected_t, detected_or)
109 (detected_or_t, is_detected_exact, is_detected_convertible): New.
110 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
111
112 2020-09-10 Kamil Rytarowski <n54@gmx.com>
113
114 * eintr.h: New file.
115
116 2020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
117
118 * selftest.h (run_tests): Change parameter to array_view.
119 * selftest.c (run_tests): Change parameter to array_view and use
120 it.
121
122 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
123
124 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
125 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
126 <sys/procfs.h>.
127 * Makefile.in: Regenerate.
128 * configure, config.in: Regenerate.
129
130 2020-07-28 Tom de Vries <tdevries@suse.de>
131
132 PR build/26281
133 * gdb_optional.h (class optional): Add volatile member to union
134 contaning m_dummy and m_item.
135
136 2020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
137
138 * tdesc.h (struct target_desc_deleter): Moved here
139 from gdb/target-descriptions.h, extend comment.
140 (target_desc_up): Likewise.
141
142 2020-06-30 Tom Tromey <tromey@adacore.com>
143
144 PR build/26183:
145 * gdb_string_view.h (basic_string_view::to_string): Remove.
146 (gdb::to_string): New function.
147
148 2020-06-27 Simon Marchi <simon.marchi@efficios.com>
149
150 * tdesc.h (class print_xml_feature) <add_line>: Add
151 ATTRIBUTE_PRINTF.
152
153 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
154
155 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
156 output content, and call indent as needed in all overloaded
157 variants.
158 (print_xml_feature::visit_post): Likewise.
159 (print_xml_feature::visit): Likewise.
160 (print_xml_feature::add_line): Two new overloaded functions.
161 * tdesc.h (print_xml_feature::indent): New member function.
162 (print_xml_feature::add_line): Two new overloaded member
163 functions.
164 (print_xml_feature::m_depth): New member variable.
165
166 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
167
168 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
169 information.
170 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
171 (tdesc_compatible_info_up): New typedef.
172 (tdesc_compatible_info_list): Declare new function.
173 (tdesc_compatible_info_arch_name): Declare new function.
174
175 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
176
177 * common-utils.cc, common-utils.h (stringify_argv): Drop
178 now unused function stringify_argv
179
180 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
181
182 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
183 Adapt to take a gdb::array_view<char * const> parameter.
184 Adapt call site.
185
186 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
187
188 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
189 Adapt to handle zero args and return a std::string.
190 Adapt call site.
191
192 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
193
194 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
195 Move function here from gdb/infcmd.c, gdb/inferior.h
196
197 2020-05-14 Kevin Buettner <kevinb@redhat.com>
198
199 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
200
201 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
202
203 * common-regcache.h (regcache_read_pc_protected): New function
204 declaration.
205
206 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
207
208 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
209
210 2020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
211
212 * common-defs.h: Include cstdlib.h.
213
214 2020-04-20 Tom Tromey <tromey@adacore.com>
215
216 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
217 Use initialization style. Don't call destroy.
218 * scoped_fd.h (class scoped_fd): Mark move constructor as
219 noexcept.
220 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
221 noexcept.
222
223 2020-04-13 Tom Tromey <tom@tromey.com>
224
225 * event-loop.c: Move comment. Remove obsolete comment.
226
227 2020-04-13 Tom Tromey <tom@tromey.com>
228
229 * event-loop.h: Move from ../gdb/.
230 * event-loop.cc: Move from ../gdb/.
231
232 2020-04-13 Tom Tromey <tom@tromey.com>
233
234 * errors.h (flush_streams): Declare.
235
236 2020-04-13 Tom Tromey <tom@tromey.com>
237
238 * gdb_select.h: Move from ../gdb/.
239
240 2020-04-13 Tom Tromey <tom@tromey.com>
241
242 * config.in, configure: Rebuild.
243 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
244 sys/select.h, and poll.
245
246 2020-03-31 Tom Tromey <tromey@adacore.com>
247
248 * btrace-common.cc (btrace_data_append): Conditionally call
249 memcpy.
250
251 2020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
252
253 * create-version.sh: Resolve issues highlighted by shellcheck.
254
255 2020-03-20 Simon Marchi <simon.marchi@efficios.com>
256
257 * config.in: Re-generate.
258 * configure: Re-generate.
259
260 2020-03-17 Kamil Rytarowski <n54@gmx.com>
261
262 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
263
264 2020-03-12 Tom Tromey <tom@tromey.com>
265
266 * common-types.h: Remove GDBSERVER code.
267 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
268 * common-defs.h: Remove GDBSERVER code.
269
270 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
271
272 * selftest.m4: Moved from gdb/.
273 * acinclude.m4: Update path to selftest.m4.
274
275 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
276
277 * configure.ac: Don't source bfd/development.sh.
278 * common.m4: Source bfd/development.sh.
279 * configure: Re-generate.
280
281 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
282
283 * configure: Re-generate.
284
285 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
286
287 * configure: Re-generate.
288 * warning.m4: Enable -Wmissing-prototypes.
289
290 2020-03-08 Tom Tromey <tom@tromey.com>
291
292 * gdb_binary_search.h: Fix two typos.
293
294 2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
295
296 * .dir-locals.el: New file.
297
298 2020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
299
300 * configure.ac: Added call development.sh.
301 * configure: Regenerate.
302
303 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
304
305 * .gitattributes: New file.
306
307 2020-03-03 Simon Marchi <simon.marchi@efficios.com>
308
309 * Makefile.in: Re-generate.
310
311 2020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
312
313 * gdb-dlfcn.h (gdb_dlopen): Update comment.
314
315 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
316
317 * configure: Regenerate.
318
319 2020-02-14 Tom Tromey <tom@tromey.com>
320
321 * common-defs.h: Change path to gnulib/config.h.
322
323 2020-02-13 Simon Marchi <simon.marchi@efficios.com>
324
325 * Makefile.am: Rename source files from .c to .cc.
326 (CC, CFLAGS): Don't override.
327 (AM_CFLAGS): Rename to ...
328 (AM_CXXFLAGS): ... this.
329 * Makefile.in: Re-generate.
330 * %.c: Rename to %.cc.
331
332 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
333
334 * configure: Re-generate.
335
336 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
337
338 * warning.m4: Add -Wstrict-null-sentinel.
339 * configure: Re-generate.
340
341 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
342
343 * warning.m4: Move here, from gdb/warning.m4.
344 * acinclude.m4: Update warning.m4 path.
345 * Makefile.in: Re-generate.
346
347 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
348
349 * acinclude.m4: Include ../gdb/warning.m4.
350 * configure.ac: Use AM_GDB_WARNINGS.
351 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
352 * Makefile.in: Re-generate.
353 * configure: Re-generate.
354
355 2020-02-10 Tom de Vries <tdevries@suse.de>
356
357 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
358
359 2020-01-24 Christian Biesinger <cbiesinger@google.com>
360
361 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
362 version of pthread_setname_np.
363
364 2020-01-17 Pedro Alves <palves@redhat.com>
365
366 * Makefile.am: Append CXX_DIALECT to CXX.
367 * Makefile.in: Regenerate.
368
369 2020-01-17 Pedro Alves <palves@redhat.com>
370
371 * configure.ac: Generate config.h instead of support-config.h.
372 * common-defs.h: Include <gdbsupport/config.h> instead of
373 <gdbsupport/support-config.h>.
374 * Makefile.in: Regenerate.
375 * configure: Regenerate.
376
377 2020-01-14 Tom Tromey <tom@tromey.com>
378
379 * Makefile.in: Rebuild.
380 * Makefile.am (check-defines): New target.
381 * check-defines.el: New file.
382
383 2020-01-14 Tom Tromey <tom@tromey.com>
384
385 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
386 Rebuild.
387 * common.m4 (GDB_AC_COMMON): Move many checks from
388 gdb/configure.ac.
389 * acinclude.m4: Include bfd.m4, ptrace.m4.
390
391 2020-01-14 Tom Tromey <tom@tromey.com>
392
393 * common-defs.h: Add GDBSERVER case. Update includes.
394 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
395 Makefile.am, Makefile.in, README: New files.
396 * Moved from ../gdb/gdbsupport/
This page took 0.039461 seconds and 4 git commands to generate.