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