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