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