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