gdb/riscv: delete target descriptions when gdb exits
[binutils-gdb.git] / gdbsupport / ChangeLog
1 2020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * tdesc.h (struct target_desc_deleter): Moved here
4 from gdb/target-descriptions.h, extend comment.
5 (target_desc_up): Likewise.
6
7 2020-06-30 Tom Tromey <tromey@adacore.com>
8
9 PR build/26183:
10 * gdb_string_view.h (basic_string_view::to_string): Remove.
11 (gdb::to_string): New function.
12
13 2020-06-27 Simon Marchi <simon.marchi@efficios.com>
14
15 * tdesc.h (class print_xml_feature) <add_line>: Add
16 ATTRIBUTE_PRINTF.
17
18 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
19
20 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
21 output content, and call indent as needed in all overloaded
22 variants.
23 (print_xml_feature::visit_post): Likewise.
24 (print_xml_feature::visit): Likewise.
25 (print_xml_feature::add_line): Two new overloaded functions.
26 * tdesc.h (print_xml_feature::indent): New member function.
27 (print_xml_feature::add_line): Two new overloaded member
28 functions.
29 (print_xml_feature::m_depth): New member variable.
30
31 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
32
33 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
34 information.
35 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
36 (tdesc_compatible_info_up): New typedef.
37 (tdesc_compatible_info_list): Declare new function.
38 (tdesc_compatible_info_arch_name): Declare new function.
39
40 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
41
42 * common-utils.cc, common-utils.h (stringify_argv): Drop
43 now unused function stringify_argv
44
45 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
46
47 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
48 Adapt to take a gdb::array_view<char * const> parameter.
49 Adapt call site.
50
51 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
52
53 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
54 Adapt to handle zero args and return a std::string.
55 Adapt call site.
56
57 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
58
59 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
60 Move function here from gdb/infcmd.c, gdb/inferior.h
61
62 2020-05-14 Kevin Buettner <kevinb@redhat.com>
63
64 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
65
66 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
67
68 * common-regcache.h (regcache_read_pc_protected): New function
69 declaration.
70
71 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
72
73 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
74
75 2020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
76
77 * common-defs.h: Include cstdlib.h.
78
79 2020-04-20 Tom Tromey <tromey@adacore.com>
80
81 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
82 Use initialization style. Don't call destroy.
83 * scoped_fd.h (class scoped_fd): Mark move constructor as
84 noexcept.
85 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
86 noexcept.
87
88 2020-04-13 Tom Tromey <tom@tromey.com>
89
90 * event-loop.c: Move comment. Remove obsolete comment.
91
92 2020-04-13 Tom Tromey <tom@tromey.com>
93
94 * event-loop.h: Move from ../gdb/.
95 * event-loop.cc: Move from ../gdb/.
96
97 2020-04-13 Tom Tromey <tom@tromey.com>
98
99 * errors.h (flush_streams): Declare.
100
101 2020-04-13 Tom Tromey <tom@tromey.com>
102
103 * gdb_select.h: Move from ../gdb/.
104
105 2020-04-13 Tom Tromey <tom@tromey.com>
106
107 * config.in, configure: Rebuild.
108 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
109 sys/select.h, and poll.
110
111 2020-03-31 Tom Tromey <tromey@adacore.com>
112
113 * btrace-common.cc (btrace_data_append): Conditionally call
114 memcpy.
115
116 2020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
117
118 * create-version.sh: Resolve issues highlighted by shellcheck.
119
120 2020-03-20 Simon Marchi <simon.marchi@efficios.com>
121
122 * config.in: Re-generate.
123 * configure: Re-generate.
124
125 2020-03-17 Kamil Rytarowski <n54@gmx.com>
126
127 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
128
129 2020-03-12 Tom Tromey <tom@tromey.com>
130
131 * common-types.h: Remove GDBSERVER code.
132 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
133 * common-defs.h: Remove GDBSERVER code.
134
135 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
136
137 * selftest.m4: Moved from gdb/.
138 * acinclude.m4: Update path to selftest.m4.
139
140 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
141
142 * configure.ac: Don't source bfd/development.sh.
143 * common.m4: Source bfd/development.sh.
144 * configure: Re-generate.
145
146 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
147
148 * configure: Re-generate.
149
150 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
151
152 * configure: Re-generate.
153 * warning.m4: Enable -Wmissing-prototypes.
154
155 2020-03-08 Tom Tromey <tom@tromey.com>
156
157 * gdb_binary_search.h: Fix two typos.
158
159 2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
160
161 * .dir-locals.el: New file.
162
163 2020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
164
165 * configure.ac: Added call development.sh.
166 * configure: Regenerate.
167
168 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
169
170 * .gitattributes: New file.
171
172 2020-03-03 Simon Marchi <simon.marchi@efficios.com>
173
174 * Makefile.in: Re-generate.
175
176 2020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
177
178 * gdb-dlfcn.h (gdb_dlopen): Update comment.
179
180 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
181
182 * configure: Regenerate.
183
184 2020-02-14 Tom Tromey <tom@tromey.com>
185
186 * common-defs.h: Change path to gnulib/config.h.
187
188 2020-02-13 Simon Marchi <simon.marchi@efficios.com>
189
190 * Makefile.am: Rename source files from .c to .cc.
191 (CC, CFLAGS): Don't override.
192 (AM_CFLAGS): Rename to ...
193 (AM_CXXFLAGS): ... this.
194 * Makefile.in: Re-generate.
195 * %.c: Rename to %.cc.
196
197 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
198
199 * configure: Re-generate.
200
201 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
202
203 * warning.m4: Add -Wstrict-null-sentinel.
204 * configure: Re-generate.
205
206 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
207
208 * warning.m4: Move here, from gdb/warning.m4.
209 * acinclude.m4: Update warning.m4 path.
210 * Makefile.in: Re-generate.
211
212 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
213
214 * acinclude.m4: Include ../gdb/warning.m4.
215 * configure.ac: Use AM_GDB_WARNINGS.
216 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
217 * Makefile.in: Re-generate.
218 * configure: Re-generate.
219
220 2020-02-10 Tom de Vries <tdevries@suse.de>
221
222 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
223
224 2020-01-24 Christian Biesinger <cbiesinger@google.com>
225
226 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
227 version of pthread_setname_np.
228
229 2020-01-17 Pedro Alves <palves@redhat.com>
230
231 * Makefile.am: Append CXX_DIALECT to CXX.
232 * Makefile.in: Regenerate.
233
234 2020-01-17 Pedro Alves <palves@redhat.com>
235
236 * configure.ac: Generate config.h instead of support-config.h.
237 * common-defs.h: Include <gdbsupport/config.h> instead of
238 <gdbsupport/support-config.h>.
239 * Makefile.in: Regenerate.
240 * configure: Regenerate.
241
242 2020-01-14 Tom Tromey <tom@tromey.com>
243
244 * Makefile.in: Rebuild.
245 * Makefile.am (check-defines): New target.
246 * check-defines.el: New file.
247
248 2020-01-14 Tom Tromey <tom@tromey.com>
249
250 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
251 Rebuild.
252 * common.m4 (GDB_AC_COMMON): Move many checks from
253 gdb/configure.ac.
254 * acinclude.m4: Include bfd.m4, ptrace.m4.
255
256 2020-01-14 Tom Tromey <tom@tromey.com>
257
258 * common-defs.h: Add GDBSERVER case. Update includes.
259 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
260 Makefile.am, Makefile.in, README: New files.
261 * Moved from ../gdb/gdbsupport/
262