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