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