Don't check target is running in remote_target::mourn_inferior
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
ddf5db90
PA
12020-01-10 Pedro Alves <palves@redhat.com>
2
3 * remote.c (remote_target::mourn_inferior): No longer check
4 whether the target is running.
5
5018ce90
PA
62020-01-10 Pedro Alves <palves@redhat.com>
7
8 * corelow.c (core_target::has_execution): Change parameter type to
9 inferior pointer.
10 * inferior.c (number_of_live_inferiors): Use
11 inferior::has_execution instead of target_has_execution_1.
12 * inferior.h (inferior::has_execution): New.
13 * linux-thread-db.c (thread_db_target::update_thread_list): Use
14 inferior::has_execution instead of target_has_execution_1.
15 * process-stratum-target.c
16 (process_stratum_target::has_execution): Change parameter type to
17 inferior pointer. Check the inferior's PID instead of
18 inferior_ptid.
19 * process-stratum-target.h
20 (process_stratum_target::has_execution): Change parameter type to
21 inferior pointer.
22 * record-full.c (record_full_core_target::has_execution): Change
23 parameter type to inferior pointer.
24 * target.c (target_has_execution_1): Change parameter type to
25 inferior pointer.
26 (target_has_execution_current): Adjust.
27 * target.h (target_ops::has_execution): Change parameter type to
28 inferior pointer.
29 (target_has_execution_1): Change parameter type to inferior
30 pointer. Change return type to bool.
31 * tracefile.h (tracefile_target::has_execution): Change parameter
32 type to inferior pointer.
33
74375d18
PA
342020-01-10 Pedro Alves <palves@redhat.com>
35
36 * exceptions.c (print_flush): Remove current_top_target() check.
37
acdf84a6
PA
382020-01-10 Pedro Alves <palves@redhat.com>
39
40 * remote.c (show_remote_exec_file): Show the current inferior's
41 exec-file instead of the command variable's value.
42
ec506636
PA
432020-01-10 Pedro Alves <palves@redhat.com>
44
45 * record-full.c (record_full_resume_ptid): New global.
46 (record_full_target::resume): Set it.
47 (record_full_wait_1): Use record_full_resume_ptid instead of
48 inferior_ptid.
49
873657b9
PA
502020-01-10 Pedro Alves <palves@redhat.com>
51
52 * gdbthread.h (scoped_restore_current_thread)
53 <dont_restore, restore, m_dont_restore>: Declare.
54 * thread.c (thread_alive): Add assertion. Return bool.
55 (switch_to_thread_if_alive): New.
56 (prune_threads): Switch inferior/thread.
57 (print_thread_info_1): Switch thread before calling target methods.
58 (scoped_restore_current_thread::restore): New, factored out from
59 ...
60 (scoped_restore_current_thread::~scoped_restore_current_thread):
61 ... this.
62 (scoped_restore_current_thread::scoped_restore_current_thread):
63 Add assertion.
64 (thread_apply_all_command, thread_select): Use
65 switch_to_thread_if_alive.
66
7f0ae84c
GB
672020-01-10 George Barrett <bob@bob131.so>
68
69 * stap-probe.c (stap_modify_semaphore): Don't check for null
70 semaphores.
71 (stap_probe::set_semaphore, stap_probe::clear_semaphore): Check
72 for null semaphores.
73
f5a7c406
AB
742020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
75
76 * tui/tui-source.c (tui_source_window::do_scroll_vertical): Update
77 all source windows, and maintain horizontal scroll status while
78 doing so.
79
9ae6bf64
TT
802020-01-09 Tom Tromey <tom@tromey.com>
81
82 PR tui/18932:
83 * tui/tui-source.c (tui_source_window::do_scroll_vertical): Call
84 update_source_window, not print_source_lines.
85
b2efe70c
AB
862020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * tui/tui.c (tui_enable): Register tui hooks after calling
89 tui_display_main.
90
5f23a082
CB
912020-01-09 Christian Biesinger <cbiesinger@google.com>
92
93 * gdbsupport/common-defs.h: Don't define _FORTIFY_SOURCE on MinGW.
94
3061113b
SM
952020-01-08 Simon Marchi <simon.marchi@efficios.com>
96
97 * thread.c (print_thread_info_1): Fix indentation.
98
57d75002
CB
992020-01-09 Christian Biesinger <cbiesinger@google.com>
100
101 * symtab.c (general_symbol_info::compute_and_set_names): Move the
102 unique_xmalloc_ptr outside the if to always free the demangled name.
103
6a053cb1
TT
1042020-01-08 Tom Tromey <tromey@adacore.com>
105
106 * xcoffread.c (enter_line_range, read_xcoff_symtab)
107 (process_xcoff_symbol, xcoff_symfile_offsets): Update.
108 * symtab.h (MSYMBOL_VALUE_ADDRESS): Update.
109 (struct section_offsets, ANOFFSET, SIZEOF_N_SECTION_OFFSETS):
110 Remove.
111 (section_offsets): New typedef.
112 * symtab.c (fixup_section, get_msymbol_address): Update.
113 * symmisc.c (dump_msymbols): Update.
114 * symfile.h (relative_addr_info_to_section_offsets)
115 (symfile_map_offsets_to_segments): Update.
116 * symfile.c (build_section_addr_info_from_objfile)
117 (init_objfile_sect_indices): Update.
118 (struct place_section_arg): Change type of "offsets".
119 (place_section): Update.
120 (relative_addr_info_to_section_offsets): Change type of
121 "section_offsets". Remove "num_sections" parameter.
122 (default_symfile_offsets, syms_from_objfile_1)
123 (set_objfile_default_section_offset): Update.
124 (reread_symbols): No need to preserve section offsets by hand.
125 (symfile_map_offsets_to_segments): Change type of "offsets".
126 * stap-probe.c (relocate_address): Update.
127 * stabsread.h (process_one_symbol): Update.
128 * solib-target.c (struct lm_info_target) <offsets>: Change type.
129 (solib_target_relocate_section_addresses): Update.
130 * solib-svr4.c (enable_break, svr4_relocate_main_executable):
131 Update.
132 * solib-frv.c (frv_relocate_main_executable): Update.
133 * solib-dsbt.c (dsbt_relocate_main_executable): Update.
134 * solib-aix.c (solib_aix_get_section_offsets): Change return
135 type.
136 (solib_aix_solib_create_inferior_hook): Update.
137 * remote.c (remote_target::get_offsets): Update.
138 * psymtab.c (find_pc_sect_psymtab): Update.
139 * psympriv.h (struct partial_symbol) <address, text_low,
140 text_high>: Update.
141 * objfiles.h (obj_section_offset): Update.
142 (struct objfile) <section_offsets>: Change type.
143 <num_sections>: Remove.
144 (objfile_relocate): Update.
145 * objfiles.c (entry_point_address_query): Update
146 (relocate_one_symbol): Change type of "section_offsets".
147 (objfile_relocate1, objfile_relocate1): Change type of
148 "new_offsets".
149 (objfile_rebase1): Update.
150 * mipsread.c (mipscoff_symfile_read): Update.
151 (read_alphacoff_dynamic_symtab): Remove "section_offsets"
152 parameter.
153 * mdebugread.c (parse_symbol): Change type of "section_offsets".
154 (parse_external, psymtab_to_symtab_1): Update.
155 * machoread.c (macho_symfile_offsets): Update.
156 * ia64-tdep.c (ia64_find_unwind_table): Update.
157 * hppa-tdep.c (read_unwind_info): Update.
158 * hppa-bsd-tdep.c (hppabsd_find_global_pointer): Update.
159 * dwarf2read.c (create_addrmap_from_index)
160 (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab)
161 (process_psymtab_comp_unit_reader, add_partial_symbol)
162 (add_partial_subprogram, process_full_comp_unit)
163 (read_file_scope, read_func_scope, read_lexical_block_scope)
164 (read_call_site_scope, dwarf2_rnglists_process)
165 (dwarf2_ranges_process, dwarf2_ranges_read)
166 (dwarf_decode_lines_1, var_decode_location, new_symbol)
167 (dwarf2_fetch_die_loc_sect_off, dwarf2_per_cu_text_offset):
168 Update.
169 * dwarf2-frame.c (execute_cfa_program, dwarf2_frame_find_fde):
170 Update.
171 * dtrace-probe.c (dtrace_probe::get_relocated_address): Update.
172 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Update.
173 (process_one_symbol): Change type of "section_offsets".
174 * ctfread.c (get_objfile_text_range): Update.
175 * coffread.c (coff_symtab_read, enter_linenos)
176 (process_coff_symbol): Update.
177 * coff-pe-read.c (add_pe_forwarded_sym): Update.
178 * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Update.
179
456e800a
TT
1802020-01-08 Tom Tromey <tromey@adacore.com>
181
182 * dwarf2read.c (parse_macro_definition): Use std::string.
183 (parse_macro_definition): Likewise.
184
6dfa2fc2
TT
1852020-01-08 Tom Tromey <tromey@adacore.com>
186
187 * dwarf2read.c (abbrev_table_read_table): Use std::vector.
188 (ATTR_ALLOC_CHUNK): Remove.
189
421d1616
TT
1902020-01-08 Tom Tromey <tromey@adacore.com>
191
192 * dwarf2read.c (fixup_go_packaging): Use unique_xmalloc_ptr.
193
43816ebc
TT
1942020-01-08 Tom Tromey <tromey@adacore.com>
195
196 * dwarf2read.c (add_partial_symbol): Use unique_xmalloc_ptr.
197 (dwarf2_compute_name, open_dwo_file): Likewise.
198 (process_enumeration_scope): Use std::vector.
199 (guess_partial_die_structure_name): Use unique_xmalloc_ptr.
200 (partial_die_info::fixup, dwarf2_start_subfile)
201 (guess_full_die_structure_name, dwarf2_name): Likewise.
202 (determine_prefix): Update.
203 (guess_full_die_structure_name): Make return type const.
204 (partial_die_full_name): Return unique_xmalloc_ptr.
205 (DW_FIELD_ALLOC_CHUNK): Remove.
206
4212d509
TT
2072020-01-07 Tom Tromey <tromey@adacore.com>
208
209 PR build/24937:
210 * stap-probe.c (class stap_static_probe_ops): Add constructor.
211
06a6207a
JT
2122020-01-02 Jon Turney <jon.turney@dronecode.org.uk>
213
214 * cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build.
215
153d79c4
AB
2162020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
217
218 * stack.c (print_frame_info): Move disassemble_next_line code
219 inside source_print block.
220
66182876
EZ
2212020-01-06 Eli Zaretskii <eliz@gnu.org>
222
223 * gdbsupport/gdb_wait.c: Include <signal.h> instead of
224 gdb/signals.h, as we are now using native signal symbols.
225
cbfa8581
SV
2262020-01-06 Shahab Vahedi <shahab@synopsys.com>
227
228 * tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): Avoid
229 overflow by an early check of content vs threshold.
230 * tui/tui-source.c (tui_source_window::line_is_displayed):
231 Likewise.
232
3f602821
EZ
2332020-01-06 Eli Zaretskii <eliz@gnu.org>
234
235 * NEWS: Mention the recent fix of $_exitsignal on MS-Windows.
236
a08c904d
JT
2372020-01-02 Jon Turney <jon.turney@dronecode.org.uk>
238
239 * coff-pe-read.c (read_pe_exported_syms): Don't try to read the
240 export table if no section contains it's RVA.
241
89a65580
EZ
2422020-01-06 Eli Zaretskii <eliz@gnu.org>
243
244 * windows-tdep.c: Fix a typo in WINDOWS_SIGABRT.
245
8b7fcda2
HD
2462020-01-06 Hannes Domani <ssbssa@yahoo.de>
247
248 * source.c (print_source_lines_base): Set last_line_listed.
249
a61b4f69
SV
2502020-01-06 Shahab Vahedi <shahab@synopsys.com>
251
252 * tui/tui-disasm.c: Remove trailing spaces.
253
559e7e50
EZ
2542020-01-06 Eli Zaretskii <eliz@gnu.org>
255 Pedro Alves <palves@redhat.com>
256
257 * Makefile.in (COMMON_SFILES): Add gdbsupport/gdb_wait.c.
258 * windows-tdep.c: New enumeration of WINDOWS_SIG* signals.
259 (windows_gdb_signal_to_target): New function, uses the above
260 enumeration to convert GDB internal signal codes to equivalent
261 Windows codes.
262 (windows_init_abi): Call set_gdbarch_gdb_signal_to_target.
263 * windows-nat.c: Include "gdb_wait.h".
264 (get_windows_debug_event): Extract the fatal exception from the
265 exit status and convert to the equivalent Posix signal number.
266 * cli/cli-cmds.c (exit_status_set_internal_vars): Account for the
267 possibility that WTERMSIG returns GDB_SIGNAL_UNKNOWN.
268 * gdbsupport/gdb_wait.c: New file, implements
269 windows_status_to_termsig.
270 * gdbsupport/gdb_wait.h (WIFEXITED, WIFSIGNALED, WEXITSTATUS)
271 (WTERMSIG) [__MINGW32__]: Separate definitions for MinGW.
272
f2302a34
AB
2732020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
274
275 * tui/tui-layout.c (tui_add_win_to_layout): Use tui_set_layout not
276 show_layout.
277
6a5206eb
LM
2782020-01-05 Luis Machado <luis.machado@linaro.org>
279
280 * aarch64-linux-nat.c
281 (aarch64_linux_nat_target::thread_architecture): Use bfd_arch_aarch64
282 and bfd_mach_aarch64.
283
6ec1d75e
PW
2842020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
285
286 * ui-file.c (stdio_file::can_emit_style_escape)
287 (tee_file::can_emit_style_escape): Ensure style is used also on
288 gdb_stderr when gdb_stderr is a tty supporting styling, similarly
289 to gdb_stdout.
290 * main.c (set_gdb_data_directory): Use file style to output the
291 warning that the given pathname is not a directory.
292 * top.c (show_history_filename, gdb_safe_append_history)
293 (show_gdb_datadir): Use file style.
294
44f81a76
HD
2952020-01-03 Hannes Domani <ssbssa@yahoo.de>
296
297 * solib-target.c (struct lm_info_target):
298 Change offsets to be a unique_xmalloc_ptr.
299 (solib_target_relocate_section_addresses): Update.
300
25057eb0
HD
3012020-01-03 Hannes Domani <ssbssa@yahoo.de>
302
303 * windows-nat.c (windows_clear_solib): Free so_list linked list.
304
6e2118f5
BE
3052020-01-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
306
307 * MAINTAINERS (Write After Approval): Add myself.
308
8133c7dc
LM
3092020-01-02 Luis Machado <luis.machado@linaro.org>
310
311 * proc-service.c (get_ps_regcache): Remove reference to obsolete
312 Cell BE architecture.
313 * target.h (struct target_ops) <thread_architecture>: Likewise.
314
48189bec
HD
3152020-01-01 Hannes Domani <ssbssa@yahoo.de>
316
317 * Makefile.in: Use INSTALL_PROGRAM_ENV.
318
ead1063b
HD
3192020-01-01 Hannes Domani <ssbssa@yahoo.de>
320
321 * MAINTAINERS (Write After Approval): Add myself.
322
e5d78223
JB
3232020-01-01 Joel Brobecker <brobecker@adacore.com>
324
325 * gdbarch.sh: Update copyright year range of generated files.
326
b811d2c2
JB
3272020-01-01 Joel Brobecker <brobecker@adacore.com>
328
329 Update copyright year range in all GDB files.
330
5f4def5c
JB
3312020-01-01 Joel Brobecker <brobecker@adacore.com>
332
333 * copyright.py: Convert to Python 3.
334
51fd4002
JB
3352020-01-01 Joel Brobecker <brobecker@adacore.com>
336
337 * copyright.py: Adapt after move of gnulib directory from gdb
338 directory to toplevel directory.
339
5fb651f2
JB
3402020-01-01 Joel Brobecker <brobecker@adacore.com>
341
342 * copyright.py (main): Exit if run from the wrong directory.
343
5dd8bf88
JB
3442020-01-01 Joel Brobecker <brobecker@adacore.com>
345
346 * top.c (print_gdb_version): Change copyright year to 2020.
347
9f71dacb 3482020-01-01 Joel Brobecker <brobecker@adacore.com>
3d34df0a 349
9f71dacb 350 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2019.
3d34df0a 351
9f71dacb 352For older changes see ChangeLog-2019.
c906108c
SS
353\f
354Local Variables:
355mode: change-log
356left-margin: 8
357fill-column: 74
358version-control: never
57da7796 359coding: utf-8
c906108c 360End:
This page took 2.481681 seconds and 4 git commands to generate.