Commit | Line | Data |
---|---|---|
b6fb30ed SM |
1 | 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca> |
2 | ||
3 | * configure: Re-generate. | |
4 | * ptrace.m4: Re-indent. | |
5 | ||
e41fda1d SM |
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 | ||
91e1a0ed SM |
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 | ||
d744f0f9 PA |
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 | ||
006811bc SM |
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 | ||
51a948fd AB |
31 | 2020-10-08 Andrew Burgess <andrew.burgess@embecosm.com> |
32 | ||
33 | * tdesc.h (allocate_target_description): Update return type. | |
34 | ||
4a72de73 TT |
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 | ||
6b01403b SM |
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 | ||
ba988419 SM |
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 | ||
2554f6f5 SM |
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 | ||
e2a2a24a KR |
64 | 2020-10-01 Kamil Rytarowski <n54@gmx.com> |
65 | ||
66 | * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros. | |
67 | ||
de38d64a PA |
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 | ||
29363cfa SM |
73 | 2020-09-24 Simon Marchi <simon.marchi@efficios.com> |
74 | ||
75 | * event-loop.c (struct file_handler): Remove typedef, re-format. | |
76 | ||
e911c666 JB |
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 | ||
04902b09 PA |
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 | ||
1945192c PA |
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 | ||
48c9b433 KR |
112 | 2020-09-10 Kamil Rytarowski <n54@gmx.com> |
113 | ||
114 | * eintr.h: New file. | |
115 | ||
ece5bc8a SM |
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 | ||
c8693053 RO |
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 | ||
866b34a1 TV |
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 | ||
0e267416 AB |
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 | ||
5ac58899 TT |
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 | ||
6db3031e SM |
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 | ||
caa7fd04 AB |
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 | ||
fbf42f4e AB |
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 | ||
7dbfcd6f MW |
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 | ||
8c4b5f3d MW |
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 | ||
c699004a MW |
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 | ||
92651b1d MW |
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 | ||
a51951c2 KB |
197 | 2020-05-14 Kevin Buettner <kevinb@redhat.com> |
198 | ||
199 | * btrace-common.h (btrace_cpu_vendor): Add CV_AMD. | |
200 | ||
fc75c28b TBA |
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 | ||
32d1f47a TBA |
206 | 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
207 | ||
208 | * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask). | |
209 | ||
ff8885c3 SM |
210 | 2020-04-27 Simon Marchi <simon.marchi@polymtl.ca> |
211 | ||
212 | * common-defs.h: Include cstdlib.h. | |
213 | ||
0fa7617d TT |
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 | ||
7990abcc TT |
223 | 2020-04-13 Tom Tromey <tom@tromey.com> |
224 | ||
225 | * event-loop.c: Move comment. Remove obsolete comment. | |
226 | ||
400b5eca TT |
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 | ||
c1cd3163 TT |
232 | 2020-04-13 Tom Tromey <tom@tromey.com> |
233 | ||
234 | * errors.h (flush_streams): Declare. | |
235 | ||
06cc9596 TT |
236 | 2020-04-13 Tom Tromey <tom@tromey.com> |
237 | ||
238 | * gdb_select.h: Move from ../gdb/. | |
239 | ||
8ae8e197 TT |
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 | ||
af62665e TT |
246 | 2020-03-31 Tom Tromey <tromey@adacore.com> |
247 | ||
248 | * btrace-common.cc (btrace_data_append): Conditionally call | |
249 | memcpy. | |
250 | ||
8f2dae6a AB |
251 | 2020-03-27 Andrew Burgess <andrew.burgess@embecosm.com> |
252 | ||
253 | * create-version.sh: Resolve issues highlighted by shellcheck. | |
254 | ||
c884cc46 SM |
255 | 2020-03-20 Simon Marchi <simon.marchi@efficios.com> |
256 | ||
257 | * config.in: Re-generate. | |
258 | * configure: Re-generate. | |
259 | ||
d3e2a5e8 KR |
260 | 2020-03-17 Kamil Rytarowski <n54@gmx.com> |
261 | ||
262 | * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined. | |
263 | ||
21329136 TT |
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 | ||
272cd5a3 SM |
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 | ||
db6878ac SM |
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 | ||
4d696a5c SM |
281 | 2020-03-12 Simon Marchi <simon.marchi@efficios.com> |
282 | ||
283 | * configure: Re-generate. | |
284 | ||
a0761e34 SM |
285 | 2020-03-11 Simon Marchi <simon.marchi@efficios.com> |
286 | ||
287 | * configure: Re-generate. | |
288 | * warning.m4: Enable -Wmissing-prototypes. | |
289 | ||
e63ee24f TT |
290 | 2020-03-08 Tom Tromey <tom@tromey.com> |
291 | ||
292 | * gdb_binary_search.h: Fix two typos. | |
293 | ||
20ea4a60 AB |
294 | 2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
295 | ||
296 | * .dir-locals.el: New file. | |
297 | ||
3d1e5a43 VP |
298 | 2020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com> |
299 | ||
300 | * configure.ac: Added call development.sh. | |
301 | * configure: Regenerate. | |
302 | ||
842806cb TBA |
303 | 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
304 | ||
305 | * .gitattributes: New file. | |
306 | ||
89725b0d SM |
307 | 2020-03-03 Simon Marchi <simon.marchi@efficios.com> |
308 | ||
309 | * Makefile.in: Re-generate. | |
310 | ||
d7592e97 SDJ |
311 | 2020-02-28 Sergio Durigan Junior <sergiodj@redhat.com> |
312 | ||
313 | * gdb-dlfcn.h (gdb_dlopen): Update comment. | |
314 | ||
9f1528a1 AB |
315 | 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com> |
316 | ||
317 | * configure: Regenerate. | |
318 | ||
1a627e7e TT |
319 | 2020-02-14 Tom Tromey <tom@tromey.com> |
320 | ||
321 | * common-defs.h: Change path to gnulib/config.h. | |
322 | ||
06b3c5bd SM |
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 | ||
898e7f60 SM |
332 | 2020-02-11 Simon Marchi <simon.marchi@efficios.com> |
333 | ||
334 | * configure: Re-generate. | |
335 | ||
8ddd8e0e SM |
336 | 2020-02-11 Simon Marchi <simon.marchi@efficios.com> |
337 | ||
338 | * warning.m4: Add -Wstrict-null-sentinel. | |
339 | * configure: Re-generate. | |
340 | ||
58df732b SM |
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 | ||
629c2962 SM |
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 | ||
85f0dd3c TV |
355 | 2020-02-10 Tom de Vries <tdevries@suse.de> |
356 | ||
357 | * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *. | |
358 | ||
43198d20 CB |
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 | ||
67b10306 PA |
364 | 2020-01-17 Pedro Alves <palves@redhat.com> |
365 | ||
366 | * Makefile.am: Append CXX_DIALECT to CXX. | |
367 | * Makefile.in: Regenerate. | |
368 | ||
3684d331 PA |
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 | ||
0454ef42 TT |
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 | ||
05ea2a05 TT |
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 | ||
01027315 TT |
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/ |