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