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