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