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