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