]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
gdb: make the remote target track its own thread resume state
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
c9d22089
SM
12021-01-13 Simon Marchi <simon.marchi@efficios.com>
2
3 * remote.c (enum class resume_state): New.
4 (struct resumed_pending_vcont_info): New.
5 (struct remote_thread_info) <resume_state, set_not_resumed,
6 set_resumed_pending_vcont, resumed_pending_vcont_info,
7 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
8 New.
9 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
10 (remote_target::remote_add_thread): Adjust.
11 (remote_target::process_initial_stop_replies): Adjust.
12 (remote_target::resume): Adjust.
13 (remote_target::commit_resume): Rely on state in
14 remote_thread_info and not on tp->executing.
15 (remote_target::process_stop_reply): Adjust.
16
d8d1feb4
SM
172021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
18
19 * arc-tdep.h (arc_debug_printf): New.
20 * arc-tdep.c: Use arc_debug_printf.
21 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
22 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
23 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
24
fb0f5031
SM
252021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
26
27 * arc-tdep.h (arc_debug): Change type to bool.
28 * arc-tdep.c (arc_debug): Change type to bool.
29 (arc_analyze_prologue): Adjust.
30 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
31 * arc-linux-nat.c (ps_get_thread_area): Adjust.
32
5bf7e91b
SM
332021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
34
35 * auto-load.c (auto_load_objfile_script_1): Use bool.
36 (execute_script_contents): Use bool.
37
db972fce
SM
382021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
39
40 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
41 comment here.
42 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
43 comment to header.
44 * extension-priv.h (struct extension_language_script_ops)
45 <auto_load_enabled>: Return bool.
46 * extension.h (ext_lang_auto_load_enabled): Return bool, move
47 comment here.
48 * extension.c (ext_lang_auto_load_enabled): Return bool, move
49 comment to header.
50 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
51 move comment here.
52 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
53 move comment to header.
54 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
55 move comment here.
56 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
57 move comment to header.
58
5e12f48f
SM
592021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
60
61 * auto-load.h (file_is_auto_load_safe): Change return type to
62 bool, move comment here.
63 * auto-load.c (file_is_auto_load_safe): Change return type and
64 advice_printed to bool. Move comment to header.
65
54ca9002
SM
662021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
67
68 * jit.c (jit_debug_printf): New, use throughout file.
69
24a7f1b5
SM
702021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
71
72 * infrun.c (normal_stop): Fix indentation.
73
fe7a351a
SM
742021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
75
76 * top.h (readnow_symbol_files, readnever_symbol_files): Move
77 declarations to ...
78 * symfile.h: ... here.
79 * symfile.c: Update doc.
80
16e9019e
SM
812021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
82
83 * target.h (baud_rate, serial_parity): Move declarations...
84 * serial.h: ... here.
85 * main.c: Include serial.h.
86 * serial.c (baud_rate, serial_parity): Update doc.
87
b2f2ae0d
SM
882021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
89
90 * top.c (pre_init_ui_hook): Remove.
91
5291fe3c
SP
922021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
93
94 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
95 (aarch64_vnv_type): Add "bf" type in h field of v registers.
96 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
97 * features/aarch64-fpu.xml: Add bfloat16 type.
98
ce38f5ed
AB
992021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
100
101 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
102
7c654b71
AB
1032021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
104
105 * f-exp.y (dot_ops): Rename to...
106 (fortran_operators): ...this. Add a header comment. Add symbol
107 based operators.
108 (yylex): Update to use fortran_operators not dot_ops. Remove
109 special handling for '**', this is now included in
110 fortran_operators.
111
c6185dce
SM
1122021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
113
114 * arch/aarch64-insn.h (aarch64_debug_printf): New.
115 * arch/aarch64-insn.c: Use aarch64_debug_printf.
116 * aarch64-tdep.c: Use aarch64_debug_printf.
117
eef401dc
SM
1182021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
119
120 * solib-aix.c (solib_aix_debug_printf): New, use throughout
121 file.
122
062eaacb
SM
1232021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
124
125 * jit.c (jit_debug): Change type to bool.
126 (_initialize_jit): Adjust.
127
54585eee
TT
1282021-01-09 Tom Tromey <tom@tromey.com>
129
130 PR compile/23672
131 * compile/compile.c (compile_to_object): Avoid crash when
132 osabi_triplet_regexp returns NULL.
133
bc167b6b
TT
1342021-01-09 Tom Tromey <tom@tromey.com>
135
136 * tracepoint.h (class collection_list) <append_exp>: Take a
137 std::string.
138 * tracepoint.c (collection_list::append_exp): Take a std::string.
139 (encode_actions_1): Update.
140
8fc48b79
TT
1412021-01-08 Tom Tromey <tromey@adacore.com>
142
143 * parse.c (parse_expression): Add void_context_p parameter. Use
144 parse_exp_in_context.
145 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
146 parse_expression.
147 (print_command, call_command): Update.
148 * expression.h (parse_expression): Add void_context_p parameter.
149
3c8c6de2
AB
1502021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
151
152 * value.c (set_value_component_location): Adjust the VALUE_LVAL
153 for internalvar components that have a dynamic location.
154
1940319c
TV
1552021-01-08 Tom de Vries <tdevries@suse.de>
156
157 PR gdb/26881
158 * breakpoint.c (create_exception_master_breakpoint_probe)
159 (create_exception_master_breakpoint_hook): Factor out
160 of ...
161 (create_exception_master_breakpoint): ... here. Only try to install
162 the master exception breakpoint in objfile.debug using the
163 _Unwind_DebugHook method, if the install using probes in objfile
164 failed.
165
e3436813
AB
1662021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
167
168 * f-lang.c (fortran_value_subarray): Call value_from_component.
169
e904f56d
MF
1702021-01-07 Mike Frysinger <vapier@gentoo.org>
171
172 * remote-sim.c: Include memory-map.h.
173 (gdbsim_target): Define memory_map override.
174 (gdbsim_target::memory_map): Define.
175
959d6a67
TT
1762021-01-07 Tom Tromey <tromey@adacore.com>
177
178 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
179
d4813f10
TT
1802021-01-07 Tom Tromey <tromey@adacore.com>
181
182 * ada-lang.c (add_component_interval): Start loop using vector's
183 updated size.
184
b49180ac
TT
1852021-01-06 Tom Tromey <tromey@adacore.com>
186
187 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
188 Do not cast result.
189 * valarith.c (fixed_point_binop): Handle multiplication
190 and division specially.
191 * valops.c (value_to_gdb_mpq): New function.
192 (value_cast_to_fixed_point): Use it.
193
55195361
HD
1942021-01-05 Hannes Domani <ssbssa@yahoo.de>
195
196 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
197 Call wnoutrefresh instead of tui_win_info::refresh_window.
198
1b6d4bb2
HD
1992021-01-05 Hannes Domani <ssbssa@yahoo.de>
200
201 * tui/tui-source.c (tui_source_window::show_line_number):
202 Redraw second space after line number.
203
b5ff370e
HD
2042021-01-05 Hannes Domani <ssbssa@yahoo.de>
205
206 PR tui/26927
207 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
208 Fix source pad size in prefresh.
209 (tui_source_window_base::show_source_content): Grow source pad
210 if necessary.
211
c68ea49f
MF
2122021-01-04 Mike Frysinger <vapier@gentoo.org>
213
214 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
215 (bfin_frame_align): Use align_down.
216
e4ad960a
TV
2172021-01-04 Tom de Vries <tdevries@suse.de>
218
219 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
220 terminators that do not terminate anything.
221
3ec3145c
SM
2222021-01-04 Simon Marchi <simon.marchi@efficios.com>
223
224 * debug.c (debug_print_depth): New.
225 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
226 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
227 * infrun.c (start_step_over): Use
228 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
229 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
230 INFRUN_SCOPED_DEBUG_START_END.
231 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
232
e71daf80
SM
2332021-01-04 Simon Marchi <simon.marchi@efficios.com>
234
235 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
236
335709bc
SM
2372021-01-04 Simon Marchi <simon.marchi@efficios.com>
238
239 * utils.c (vfprintf_unfiltered): Print timestamp only when
240 previous debug output ended with a newline.
241
098caef4
LM
2422021-01-04 Luis Machado <luis.machado@linaro.org>
243
244 Update all users of trad_frame_saved_reg to use the new member
245 functions.
246
247 Remote all struct keywords from declarations of trad_frame_saved_reg
248 types, except on forward declarations.
249
250 * aarch64-tdep.c: Update.
251 * alpha-mdebug-tdep.c: Update.
252 * alpha-tdep.c: Update.
253 * arc-tdep.c: Update.
254 * arm-tdep.c: Update.
255 * avr-tdep.c: Update.
256 * cris-tdep.c: Update.
257 * csky-tdep.c: Update.
258 * frv-tdep.c: Update.
259 * hppa-linux-tdep.c: Update.
260 * hppa-tdep.c: Update.
261 * hppa-tdep.h: Update.
262 * lm32-tdep.c: Update.
263 * m32r-linux-tdep.c: Update.
264 * m32r-tdep.c: Update.
265 * m68hc11-tdep.c: Update.
266 * mips-tdep.c: Update.
267 * moxie-tdep.c: Update.
268 * riscv-tdep.c: Update.
269 * rs6000-tdep.c: Update.
270 * s390-linux-tdep.c: Update.
271 * s390-tdep.c: Update.
272 * score-tdep.c: Update.
273 * sparc-netbsd-tdep.c: Update.
274 * sparc-sol2-tdep.c: Update.
275 * sparc64-fbsd-tdep.c: Update.
276 * sparc64-netbsd-tdep.c: Update.
277 * sparc64-obsd-tdep.c: Update.
278 * sparc64-sol2-tdep.c: Update.
279 * tilegx-tdep.c: Update.
280 * v850-tdep.c: Update.
281 * vax-tdep.c: Update.
282
283 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
284 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
285
286 * trad-frame.c: Update.
287 Remove TF_REG_* enum.
288 (trad_frame_alloc_saved_regs): Add a static assertion to check for
289 a trivially-constructible struct.
290 (trad_frame_reset_saved_regs): Adjust to use member function.
291 (trad_frame_value_p): Likewise.
292 (trad_frame_addr_p): Likewise.
293 (trad_frame_realreg_p): Likewise.
294 (trad_frame_value_bytes_p): Likewise.
295 (trad_frame_set_value): Likewise.
296 (trad_frame_set_realreg): Likewise.
297 (trad_frame_set_addr): Likewise.
298 (trad_frame_set_unknown): Likewise.
299 (trad_frame_set_value_bytes): Likewise.
300 (trad_frame_get_prev_register): Likewise.
301 * trad-frame.h: Update.
302 (trad_frame_saved_reg_kind): New enum.
303 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
304 <m_kind, m_reg>: New member fields.
305 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
306 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
307 <is_addr, is_unknown, is_value_bytes>: New member functions.
308
9898e882
SM
3092021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
310
311 * target-float.c: Fix typos.
312
b66b4e65
HD
3132021-01-02 Hannes Domani <ssbssa@yahoo.de>
314
315 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
316
b5b5650a
JB
3172021-01-01 Joel Brobecker <brobecker@adacore.com>
318
319 * gdbarch.sh: Update copyright year range.
320
3666a048
JB
3212021-01-01 Joel Brobecker <brobecker@adacore.com>
322
323 Update copyright year range in copyright header of all GDB files.
324
ff7e39b6
JB
3252021-01-01 Joel Brobecker <brobecker@adacore.com>
326
327 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
328 to the list of directories to update.
329
2b47c078
JB
3302021-01-01 Joel Brobecker <brobecker@adacore.com>
331
332 * top.c (print_gdb_version): Update copyright year.
333
476923f1 3342021-01-01 Joel Brobecker <brobecker@adacore.com>
c8f02daa 335
476923f1 336 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
c8f02daa 337
476923f1 338For older changes see ChangeLog-2020.
c906108c
SS
339\f
340Local Variables:
341mode: change-log
342left-margin: 8
343fill-column: 74
344version-control: never
57da7796 345coding: utf-8
c906108c 346End: