]>
Commit | Line | Data |
---|---|---|
97ce08cb YQ |
1 | 2016-10-10 Yao Qi <[email protected]> |
2 | ||
3 | * m32c-tdep.c (m32c_gdbarch_init): Rename local 'arch' by | |
4 | 'gdbarch'. | |
5 | ||
ff12a659 YQ |
6 | 2016-10-10 Yao Qi <[email protected]> |
7 | ||
8 | * v850-tdep.c (v850_breakpoint_from_pc): Use the right | |
9 | breakpoint instruction. | |
10 | (v850_dbtrap_breakpoint_from_pc): Remove. | |
11 | (v850_gdbarch_init): Update. | |
12 | ||
49d06418 SM |
13 | 2016-10-08 Simon Marchi <[email protected]> |
14 | ||
15 | * ui-out.c (push_level): Remove "id" parameter. | |
16 | (ui_out_begin): Update call. | |
17 | ||
1a307001 JB |
18 | 2016-10-07 Joel Brobecker <[email protected]> |
19 | ||
20 | GDB 7.12 released. | |
21 | ||
68dadef5 MM |
22 | 2016-10-07 Markus Metzger <[email protected]> |
23 | ||
24 | * python/python.c (gdbpy_decode_line): Call | |
25 | string_to_event_location_basic instead of new_linespec_location. | |
26 | ||
1fb77080 SDJ |
27 | 2016-10-06 Sergio Durigan Junior <[email protected]> |
28 | ||
29 | * target.c (target_supports_multi_process): New function, moved | |
30 | from... | |
31 | * target.h (target_supports_multi_process): ... here. Remove | |
32 | macro. | |
33 | * target/target.h (target_supports_multi_process): New prototype. | |
34 | ||
ddb6d633 PA |
35 | 2016-10-06 Pedro Alves <[email protected]> |
36 | ||
37 | * cp-valprint.c (vtbl_ptr_name): Write "extern const" instead of | |
38 | EXPORTED_CONST. | |
39 | * stub-termcap.c: Remove __cplusplus checks. | |
40 | * common/common-defs.h [!__cplusplus] (EXTERN_C, EXTERN_C_PUSH, | |
41 | EXTERN_C_POP): Delete. | |
42 | * common/common-exceptions.h (GDB_XCPT_SJMP): Update comments. | |
43 | (GDB_XCPT) [!__cplusplus]: Delete. | |
44 | (throw_exception, throw_exception_sjlj): Update comments. | |
45 | * guile/guile-internal.h (as_a_scm_t_subr) [!__cplusplus]: Delete. | |
46 | * guile/guile.c (extension_language_guile): Write "extern const" | |
47 | instead of EXPORTED_CONST. | |
48 | * features/feature_to_c.sh: Don't emit !__cplusplus code. Write | |
49 | "extern const" instead of EXPORTED_CONST. | |
50 | ||
33fa2c6e DE |
51 | 2016-10-06 Doug Evans <[email protected]> |
52 | ||
53 | * python/py-value.c (valpy_long): Handle unsigned values. | |
54 | ||
d73f9c4b SM |
55 | 2016-10-06 Simon Marchi <[email protected]> |
56 | ||
57 | * frame.h: Forward-declare struct ui_out. | |
58 | ||
9c37b5ae TT |
59 | 2016-10-06 Tom Tromey <[email protected]> |
60 | ||
61 | * MAINTAINERS: Remove Java test maintainer. | |
62 | * varobj.h (java_varobj_ops): Don't declare. | |
63 | * valprint.h (struct value_print_options) | |
64 | <pascal_static_field_print>: Update comment. | |
65 | * utils.c (producer_is_gcc): Remove java reference. | |
66 | * symtab.h (struct general_symbol_info): Remove java references. | |
67 | (SYMBOL_SEARCH_NAME): Likewise. | |
68 | * objfiles.c (allocate_objfile): Update comment. | |
69 | * linespec.c (find_linespec_symbols): Remove java references. | |
70 | * gnu-v3-abi.c (gnuv3_rtti_type, gnuv3_baseclass_offset): Remove | |
71 | java references. | |
72 | * gdbtypes.h (struct cplus_struct_type) <is_java>: Remove. | |
73 | (TYPE_CPLUS_REALLY_JAVA): Remove. | |
74 | * c-varobj.c (enum vsections): Update comment. | |
75 | * symtab.c (symbol_set_language, symbol_set_names) | |
76 | (symbol_natural_name, symbol_demangled_name) | |
77 | (demangle_for_lookup, symbol_matches_domain) | |
78 | (default_make_symbol_completion_list_break_on_1): Remove java | |
79 | references. | |
80 | (JAVA_PREFIX, JAVA_PREFIX_LEN): Remove. | |
81 | * psymtab.c (match_partial_symbol, psymtab_search_name) | |
82 | (lookup_partial_symbol): Remove java references. | |
83 | * dwarf2read.c (find_slot_in_mapped_hash): Remove java references. | |
84 | (add_partial_symbol, dwarf2_compute_name, dwarf2_physname) | |
85 | (dwarf2_add_member_fn, is_vtable_name, read_structure_type) | |
86 | (process_structure_scope, read_subroutine_type) | |
87 | (read_subrange_type, load_partial_dies) | |
88 | (new_symbol_full, determine_prefix, typename_concat) | |
89 | (dwarf2_name): Remove java references. | |
90 | (set_cu_language): Treat Java as C++. | |
91 | * c-typeprint.c (c_type_print_args): Remove java reference. | |
92 | * defs.h (enum language) <language_java>: Remove. | |
93 | * Makefile.in (SFILES, HFILES_NO_SRCDIR, COMMON_OBS, YYFILES) | |
94 | (YYOBJ, local-maintainer-clean): Don't mention java files. | |
95 | * jv-exp.y, jv-lang.c, jv-lang.h, jv-typeprint.c, jv-valprint.c, | |
96 | jv-varobj.c: Remove. | |
97 | ||
78b86327 MR |
98 | 2016-10-06 Maciej W. Rozycki <[email protected]> |
99 | ||
100 | * mips-tdep.c (mips_pseudo_register_type): Make FCRs always | |
101 | 32-bit. | |
102 | ||
a6912260 MR |
103 | 2016-10-06 Maciej W. Rozycki <[email protected]> |
104 | ||
105 | * mips-tdep.c (mips_pseudo_register_type): Rearrange comments | |
106 | throughout. | |
107 | ||
c620c3e4 MM |
108 | 2016-10-06 Markus Metzger <[email protected]> |
109 | ||
110 | * stack.c (frame_info): Call val_print_not_saved instead of | |
111 | val_print_unavailable if frame_id check fails. | |
112 | ||
4a556533 PA |
113 | 2016-10-06 Pedro Alves <[email protected]> |
114 | ||
115 | * jit.c (free_objfile_data): Delete the JIT breakpoint and clear | |
116 | the cached code address. | |
117 | ||
ee8da4b8 DE |
118 | 2016-10-06 Doug Evans <[email protected]> |
119 | ||
120 | * features/aarch64-core.xml (cpsr_flags): Elide "type" and specify | |
121 | "end" in all fields. | |
122 | * features/aarch64.c: Regenerate. | |
123 | * features/i386/32bit-mpx.xml (_bndcfgu): Specify type of "preserved" | |
124 | and "enabled" fields. Correct size of "enabled" field. | |
125 | * features/i386/64bit-mpx.xml (_bndcfgu): Specify type of "preserved" | |
126 | and "enabled" fields. | |
127 | * features/i386/i386-avx-mpx-linux.c: Regenerate. | |
128 | * features/i386/i386-avx-mpx.c: Regenerate. | |
129 | * features/i386/i386-avx512-linux.c: Regenerate. | |
130 | * features/i386/i386-avx512.c: Regenerate. | |
131 | * features/i386/i386-mpx-linux.c: Regenerate. | |
132 | * features/i386/i386-mpx.c: Regenerate. | |
133 | * features/arc-arcompact.c: Regenerate. | |
134 | * features/arc-v2.c: Regenerate. | |
135 | * xml-tdesc.c (tdesc_start_field): Require "end" spec. Single bit | |
136 | fields default to "bool" type. | |
137 | ||
138 | Revert 2016-03-15 Doug Evans <[email protected]> | |
139 | * features/i386/32bit-core.xml (i386_eflags): Remove "end" spec. | |
140 | * features/i386/32bit-sse.xml (i386_eflags): Ditto. | |
141 | * features/i386/64bit-core.xml (i386_eflags): Ditto. | |
142 | * features/i386/64bit-sse.xml (i386_eflags): Ditto. | |
143 | * features/i386/x32-core.xml (i386_eflags): Ditto. | |
144 | ||
e742d386 TT |
145 | 2016-10-05 Tom Tromey <[email protected]> |
146 | ||
147 | PR breakpoints/20653: | |
148 | * location.c (string_to_explicit_location): Use NULL, not '\0'. | |
149 | ||
3e611445 TT |
150 | 2016-10-05 Tom Tromey <[email protected]> |
151 | ||
152 | PR symtab/20652: | |
153 | * psymtab.c (psymbol_compare): Correctly compare "ginfo.value" | |
154 | fields. | |
155 | ||
f206f69c AA |
156 | 2016-10-05 Andreas Arnez <[email protected]> |
157 | ||
158 | * dwarf2expr.c (dwarf_expr_require_composition): Allow | |
159 | DW_OP_GNU_uninit. | |
160 | (execute_stack_op): Use dwarf_expr_require_composition instead of | |
161 | copying its logic. | |
162 | ||
ed2f09e1 AK |
163 | 2016-10-05 Anton Kolesov <[email protected]> |
164 | ||
dba48492 | 165 | * arc-tdep.c (arc_frame_prev_register): Remove annoying log message. |
ed2f09e1 | 166 | |
5878efd4 YQ |
167 | 2016-10-05 Yao Qi <[email protected]> |
168 | ||
169 | * features/Makefile (WHICH): Add | |
170 | rs6000/powerpc-isa205-32l, rs6000/powerpc-isa205-64l, | |
171 | rs6000/powerpc-isa205-altivec32l, rs6000/powerpc-isa205-altivec64l, | |
172 | rs6000/powerpc-isa205-vsx32l and rs6000/powerpc-isa205-vsx64l. | |
173 | * regformats/rs6000/powerpc-isa205-32l.dat: Regenerated. | |
174 | * regformats/rs6000/powerpc-isa205-64l.dat: Likewise. | |
175 | * regformats/rs6000/powerpc-isa205-altivec32l.dat: Likewise. | |
176 | * regformats/rs6000/powerpc-isa205-altivec64l.dat: Likewise. | |
177 | * regformats/rs6000/powerpc-isa205-vsx32l.dat: Likewise. | |
178 | * regformats/rs6000/powerpc-isa205-vsx64l.dat: Likewise. | |
179 | ||
defaaad5 YQ |
180 | 2016-10-05 Yao Qi <[email protected]> |
181 | ||
182 | * features/Makefile (XMLTOC): Add s390-tevx-linux64.xml, | |
183 | s390-vx-linux64.xml, s390x-tevx-linux64.xml and | |
184 | s390x-vx-linux64.xml. | |
185 | ||
414c838a YQ |
186 | 2016-10-05 Yao Qi <[email protected]> |
187 | ||
188 | * features/Makefile: Remove i386/*-expedite. Add i386-expedite, | |
189 | amd64-expedite, and x32-expedite. | |
190 | ||
0a69eedb YQ |
191 | 2016-10-05 Terry Guo <[email protected]> |
192 | Yao Qi <[email protected]> | |
193 | ||
194 | * arm-tdep.c: Adjust includes. | |
195 | * features/Makefile (WHICH): Add "arm/" directory to arm | |
196 | target descriptions. | |
197 | (XMLTOC): Likewise. | |
198 | (arm/arm-with-iwmmxt.dat): Adjust the path for | |
199 | dependencies. | |
200 | * features/arm-core.xml: Moved to ... | |
201 | * features/arm/arm-core.xml: ... it. | |
202 | * features/arm-fpa.xml: Moved to ... | |
203 | * features/arm/arm-fpa.xml: ... it. | |
204 | * features/arm-m-profile.xml: Moved to ... | |
205 | * features/arm/arm-m-profile.xm: ... it. | |
206 | * features/arm-vfpv2.xml: Moved to ... | |
207 | * features/arm/arm-vfpv2.xm: ... it. | |
208 | * features/arm-vfpv3.xml: Moved to ... | |
209 | * features/arm/arm-vfpv3.xml: ... it. | |
210 | * features/arm-with-iwmmxt.c: Moved to ... | |
211 | * features/arm/arm-with-iwmmxt.c: ... it. | |
212 | * features/arm-with-iwmmxt.xml: Moved to ... | |
213 | * features/arm/arm-with-iwmmxt.xml: ... it. | |
214 | * features/arm-with-m-fpa-layout.c: Moved to ... | |
215 | * features/arm/arm-with-m-fpa-layout.c: ... it. | |
216 | * features/arm-with-m-fpa-layout.xml: Moved to ... | |
217 | * features/arm/arm-with-m-fpa-layout.xml: ... it. | |
218 | * features/arm-with-m-vfp-d16.c: Moved to ... | |
219 | * features/arm/arm-with-m-vfp-d16.c: ... it. | |
220 | * features/arm-with-m-vfp-d16.xml: Moved to ... | |
221 | * features/arm/arm-with-m-vfp-d16.xml: ... it. | |
222 | * features/arm-with-m.c: Moved to ... | |
223 | * features/arm/arm-with-m.c: ... it. | |
224 | * features/arm-with-m.xml: Moved to ... | |
225 | * features/arm/arm-with-m.xm: ... it. | |
226 | * features/arm-with-neon.c: Moved to ... | |
227 | * features/arm/arm-with-neon.c: ... it. | |
228 | * features/arm-with-neon.xml: Moved to ... | |
229 | * features/arm/arm-with-neon.xml: ... it. | |
230 | * features/arm-with-vfpv2.c: Moved to ... | |
231 | * features/arm/arm-with-vfpv2.c: ... it. | |
232 | * features/arm-with-vfpv2.xml: Moved to ... | |
233 | * features/arm/arm-with-vfpv2.xml: ... it. | |
234 | * features/arm-with-vfpv3.c: Moved to ... | |
235 | * features/arm/arm-with-vfpv3.c: ... it. | |
236 | * features/arm-with-vfpv3.xml: Moved to ... | |
237 | * features/arm/arm-with-vfpv3.xml: ... it. | |
238 | * features/xscale-iwmmxt.xml: Moved to ... | |
239 | * features/arm/xscale-iwmmxt.xml: ... it. | |
240 | ||
4034d0ff AT |
241 | 2016-10-03 Antoine Tremblay <[email protected]> |
242 | 2016-10-03 Simon Marchi <[email protected]> | |
243 | ||
244 | PR gdb/20487 | |
245 | * NEWS: Mention new frame field of =thread-selected event. | |
246 | * cli/cli-decode.c (add_cmd): Initialize c->suppress_notification. | |
247 | (add_com_suppress_notification): New function definition. | |
248 | (cmd_func): Set and restore the suppress_notification flag. | |
249 | * cli/cli-deicode.h (struct cmd_list_element) | |
250 | <suppress_notification>: New field. | |
251 | * cli/cli-interp.c (cli_suppress_notification): New global variable. | |
252 | (cli_on_user_selected_context_changed): New function. | |
253 | (_initialize_cli_interp): Attach to user_selected_context_changed | |
254 | observer. | |
255 | * command.h (struct cli_suppress_notification): New structure. | |
256 | (cli_suppress_notification): New global variable declaration. | |
257 | (add_com_suppress_notification): New function declaration. | |
258 | * defs.h (enum user_selected_what_flag): New enum. | |
259 | (user_selected_what): New enum flag type. | |
260 | * frame.h (print_stack_frame_to_uiout): New function declaration. | |
261 | * gdbthread.h (print_selected_thread_frame): New function declaration. | |
262 | * inferior.c (print_selected_inferior): New function definition. | |
263 | (inferior_command): Remove printing of inferior/thread/frame switch | |
264 | notifications, notify user_selected_context_changed observer. | |
265 | * inferior.h (print_selected_inferior): New function declaration. | |
266 | * mi/mi-cmds.c (struct mi_cmd): Add user_selected_context | |
267 | suppression to stack-select-frame and thread-select commands. | |
268 | * mi/mi-interp.c (struct mi_suppress_notification) | |
269 | <user_selected_context>: Initialize. | |
270 | (mi_user_selected_context_changed): New function definition. | |
271 | (_initialize_mi_interp): Attach to user_selected_context_changed. | |
272 | * mi/mi-main.c (mi_cmd_thread_select): Print thread selection reply. | |
273 | (mi_execute_command): Handle notification suppression. Notify | |
274 | user_selected_context_changed observer on thread change instead of printing | |
275 | event directly. Don't send it if command already sends the notification. | |
276 | (command_notifies_uscc_observer): New function. | |
277 | (mi_cmd_execute): Don't handle notification suppression. | |
278 | * mi/mi-main.h (struct mi_suppress_notification) | |
279 | <user_selected_context>: New field. | |
280 | * stack.c (print_stack_frame_to_uiout): New function definition. | |
281 | (select_frame_command): Notify user_selected_context_changed | |
282 | observer. | |
283 | (frame_command): Call print_selected_thread_frame if there's no frame | |
284 | change or notify user_selected_context_changed observer if there is. | |
285 | (up_command): Notify user_selected_context_changed observer. | |
286 | (down_command): Likewise. | |
287 | (_initialize_stack): Suppress user_selected_context notification for | |
288 | command select-frame. | |
289 | * thread.c (thread_command): Notify | |
290 | user_selected_context_changed if the thread has changed, print | |
291 | thread info directly if it hasn't. | |
292 | (do_captured_thread_select): Do not print thread switch event. | |
293 | (print_selected_thread_frame): New function definition. | |
294 | * tui/tui-interp.c (tui_on_user_selected_context_changed): | |
295 | New function definition. | |
296 | (_initialize_tui_interp): Attach to user_selected_context_changed | |
297 | observer. | |
298 | ||
bb805577 JK |
299 | 2016-09-29 Jan Kratochvil <[email protected]> |
300 | ||
301 | PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression | |
302 | * exec.c (exec_file_locate_attach): Add parameter defer_bp_reset. | |
303 | Use it. | |
304 | * gdbcore.h (exec_file_locate_attach): Add parameter defer_bp_reset. | |
305 | * infcmd.c (setup_inferior): Update caller. | |
306 | * remote.c (remote_add_inferior): Likewise. | |
307 | ||
6d61dee5 PA |
308 | 2016-09-28 Pedro Alves <[email protected]> |
309 | ||
310 | * infcall.c (run_inferior_call): Remove input from the event | |
311 | loop while running the infcall. | |
312 | ||
ca90e760 FH |
313 | 2016-09-27 Fredrik Hederstierna <[email protected]> |
314 | ||
315 | * arm-tdep.c (arm_m_addr_is_magic): New function. | |
316 | (arm_addr_bits_remove): Call arm_m_addr_is_magic. | |
317 | (arm_m_exception_unwind_sniffer): Likewise. | |
318 | ||
9eee20eb JT |
319 | 2016-09-23 Jon Turney <[email protected]> |
320 | ||
321 | * windows-nat.c (windows_delete_thread): Adjusting call to | |
322 | target_mourn_inferior to include ptid_t argument. | |
323 | ||
a97e29d2 TT |
324 | 2016-09-23 Tom Tromey <[email protected]> |
325 | ||
326 | * utils.h (make_cleanup_dyn_string_delete): Remove declaration. | |
327 | * utils.c: Don't include dyn-string.h. | |
328 | (do_dyn_string_delete, make_cleanup_dyn_string_delete): Remove. | |
329 | * cli/cli-cmds.c: Include <string>. Don't include dyn-string.h. | |
330 | (argv_to_string): Rename. Change return type to std::string. | |
331 | (alias_command): Use std::string. | |
332 | ||
cfe826d4 TT |
333 | 2016-09-23 Tom Tromey <[email protected]> |
334 | ||
335 | * objfiles.c: Include <vector>. | |
336 | (objfile_relocate): Use std::vector. | |
337 | ||
ab8b80a8 TT |
338 | 2016-09-23 Tom Tromey <[email protected]> |
339 | ||
340 | * rust-lang.c: Include <string> and <vector>. | |
341 | (rust_evaluate_funcall): Use std::vector, std::string. | |
342 | (rust_evaluate_subexp): Use std::string. | |
343 | (rust_lookup_symbol_nonlocal): Use std::string. | |
344 | ||
05d49c37 TT |
345 | 2016-09-23 Tom Tromey <[email protected]> |
346 | ||
347 | * cp-namespace.c: Include <string>. | |
348 | (cp_search_static_and_baseclasses) | |
349 | (cp_lookup_symbol_imports_or_template, find_symbol_in_baseclass): | |
350 | Use std::string. | |
351 | ||
5809899d TT |
352 | 2016-09-23 Tom Tromey <[email protected]> |
353 | ||
354 | * break-catch-sig.c: Include <string>. | |
355 | (signal_catchpoint_print_one): Use std::string. | |
356 | ||
3e25a500 TT |
357 | 2016-09-23 Tom Tromey <[email protected]> |
358 | ||
359 | * utils.c (struct restore_ui_out_closure): Remove. | |
360 | * objfiles.h (terminate_minimal_symbol_table): Don't declare. | |
361 | ||
97e64e5a YQ |
362 | 2016-09-23 Yao Qi <[email protected]> |
363 | ||
364 | * nat/linux-osdata.c (linux_xfer_osdata_threads): Replace | |
365 | sprintf with xsnprintf. | |
366 | (linux_xfer_osdata_fds): Likewise. | |
367 | ||
503b1c39 PA |
368 | 2016-09-23 Pedro Alves <[email protected]> |
369 | ||
370 | * Makefile.in (SFILES): Add common/new-op.c. | |
371 | (COMMON_OBS): Add common/new-op.o. | |
372 | (new-op.o): New rule. | |
373 | * common/common-exceptions.h: Include <new>. | |
374 | (struct gdb_quit_bad_alloc): New type. | |
375 | * common/new-op.c: New file. | |
376 | ||
de678454 EBM |
377 | 2016-09-22 Edjunior Barbosa Machado <[email protected]> |
378 | ||
379 | * rs6000-tdep.c (ppc_process_record_op31): Fix | |
380 | regcache_raw_read_unsigned call using the correct parameter type. | |
381 | ||
fa42dd2e AK |
382 | 2016-09-22 Anton Kolesov <[email protected]> |
383 | ||
384 | * arc-tdep.c: Fix ARI warning for printf(%p). | |
385 | ||
31da3f27 AK |
386 | 2016-09-21 Anton Kolesov <[email protected]> |
387 | ||
388 | * MAINTAINERS (Write After Approval): Add Anton Kolesov. | |
389 | ||
ad0a504f AK |
390 | 2016-09-21 Anton Kolesov <[email protected]> |
391 | ||
392 | * Makefile.in (ALL_TARGET_OBS): Add arc-tdep.o. | |
393 | (HFILES_NO_SRCDIR): Add arc-tdep.h. | |
394 | (ALLDEPFILES): Add arc-tdep.c. | |
395 | * NEWS: Mention new ARC port. | |
396 | * configure.tgt: Add ARC. | |
397 | * arc-tdep.c: New file. | |
398 | * arc-tdep.h: New file. | |
399 | * features/Makefile (XMLTOC): Add arc-v2.xml and arc-arcompact.xml. | |
400 | * features/arc-v2.xml: New file. | |
401 | * features/arc-v2.c: New file (generated). | |
402 | * features/arc-arcompact.xml: New file. | |
403 | * features/arc-arcompact.c: New file (generated). | |
404 | ||
8aabe2e2 EBM |
405 | 2016-09-21 Edjunior Barbosa Machado <[email protected]> |
406 | ||
407 | * rs6000-tdep.c (ppc_process_record_op63): Fix return of instruction | |
408 | handlers. | |
409 | ||
36cf1806 TT |
410 | 2016-09-21 Tom Tromey <[email protected]> |
411 | ||
412 | PR gdb/20604: | |
413 | * top.h (quit_force): Update. | |
414 | * top.c (quit_force): Changed type of first argument. Don't | |
415 | evaluate expression. Pass NULL to kill_or_detach. | |
416 | * cli/cli-cmds.c (quit_command): Evaluate "args". | |
417 | ||
74172ecf SM |
418 | 2016-09-21 Simon Marchi <[email protected]> |
419 | ||
420 | * .gitignore: Ignore more files. | |
421 | * data-directory/.gitignore: Likewise. | |
422 | ||
6ec2b213 EBM |
423 | 2016-09-21 Edjunior Barbosa Machado <[email protected]> |
424 | ||
425 | * rs6000-tdep.c (PPC_DQ): New macro. | |
426 | (ppc_process_record_op4): Add Power ISA 3.0 instructions. | |
427 | (ppc_process_record_op19): Likewise. | |
428 | (ppc_process_record_op31): Likewise. | |
429 | (ppc_process_record_op59): Likewise. | |
430 | (ppc_process_record_op60): Likewise. | |
431 | (ppc_process_record_op63): Likewise. | |
432 | (ppc_process_record): Likewise. | |
433 | (ppc_process_record_op61): New function. | |
434 | ||
fc6cda2e YQ |
435 | 2016-09-21 Yao Qi <[email protected]> |
436 | ||
437 | * aarch32-linux-nat.c (aarch32_gp_regcache_collect): Keep | |
438 | bits 20 to 23. | |
439 | ||
12c58cd4 TT |
440 | 2016-09-20 Tom Tromey <[email protected]> |
441 | ||
442 | * python/py-value.c (convert_value_from_python): Make PyInt_Check | |
443 | conditional on Python 2. | |
444 | * python/py-arch.c (archpy_disassemble): Make PyInt_Check | |
445 | conditional on Python 2. | |
446 | ||
9f7efd5b EBM |
447 | 2016-09-20 Edjunior Barbosa Machado <[email protected]> |
448 | ||
449 | * rs6000-tdep.c (ppc_process_record_op31): Fix record of Store String | |
450 | Word instructions. | |
451 | ||
7d5adfe3 SDJ |
452 | 2016-09-20 Sergio Durigan Junior <[email protected]> |
453 | ||
454 | * fork-inferior.c (startup_inferior): Pass 'event_ptid' instead of | |
455 | 'resume_ptid' to 'target_mourn_inferior'. Fix regression | |
456 | introduced by my last commit. | |
457 | ||
66797541 PA |
458 | 2016-09-19 Pedro Alves <[email protected]> |
459 | ||
460 | * common/gdb_locale.h [!ENABLE_NLS] (gettext, dgettext, dcgettext, | |
461 | textdomain, bindtextdomain): Delete macros. | |
462 | * main.c (captured_main) [!ENABLE_NLS]: Skip bintextdomain and | |
463 | textdomain calls. | |
464 | ||
bc1e6c81 SDJ |
465 | 2016-09-19 Sergio Durigan Junior <[email protected]> |
466 | ||
467 | * darwin-nat.c (darwin_kill_inferior): Adjusting call to | |
468 | target_mourn_inferior to include ptid_t argument. | |
469 | * fork-child.c (startup_inferior): Likewise. | |
470 | * gnu-nat.c (gnu_kill_inferior): Likewise. | |
471 | * inf-ptrace.c (inf_ptrace_kill): Likewise. | |
472 | * infrun.c (handle_inferior_event_1): Likewise. | |
473 | * linux-nat.c (linux_nat_attach): Likewise. | |
474 | (linux_nat_kill): Likewise. | |
475 | * nto-procfs.c (interrupt_query): Likewise. | |
476 | (procfs_interrupt): Likewise. | |
477 | (procfs_kill_inferior): Likewise. | |
478 | * procfs.c (procfs_kill_inferior): Likewise. | |
479 | * record.c (record_mourn_inferior): Likewise. | |
480 | * remote-sim.c (gdbsim_kill): Likewise. | |
481 | * remote.c (remote_detach_1): Likewise. | |
482 | (remote_kill): Likewise. | |
483 | * target.c (target_mourn_inferior): Change declaration to accept | |
484 | new ptid_t argument; use gdb_assert on it. | |
485 | * target.h (target_mourn_inferior): Move function prototype from | |
486 | here... | |
487 | * target/target.h (target_mourn_inferior): ... to here. Adjust it | |
488 | to accept new ptid_t argument. | |
489 | * windows-nat.c (get_windows_debug_event): Adjusting call to | |
490 | target_mourn_inferior to include ptid_t argument. | |
491 | ||
93689493 PA |
492 | 2016-09-18 Pedro Alves <[email protected]> |
493 | ||
494 | * s390-linux-nat.c: Include <algorithm>. | |
495 | ||
768adc05 PA |
496 | 2016-09-18 Pedro Alves <[email protected]> |
497 | ||
498 | * breakpoint.c (hardware_watchpoint_inserted_in_range): Explicitly | |
499 | specify the std:min/std::max specialization. | |
500 | * exec.c (section_table_read_available_memory): Likewise. | |
501 | * remote.c (remote_read_qxfer): Likewise. | |
502 | * target.c (simple_verify_memory): Likewise. | |
503 | ||
cd94f6d5 SM |
504 | 2016-09-16 Simon Marchi <[email protected]> |
505 | ||
506 | * infrun.c (restore_current_uiout_cleanup): Move to ui-out.c. | |
507 | (print_stop_event): Use make_cleanup_restore_current_uiout. | |
508 | * python/python.c (execute_gdb_command): Likewise. | |
509 | * ui-out.c (restore_current_uiout_cleanup): Move from infrun.c. | |
510 | (make_cleanup_restore_current_uiout): New function definition. | |
511 | * ui-out.h (make_cleanup_restore_current_uiout): New function | |
512 | declaration. | |
513 | * utils.c (do_restore_ui_out): Remove. | |
514 | (make_cleanup_restore_ui_out): Remove. | |
515 | * utils.h (make_cleanup_restore_ui_out): Remove. | |
516 | ||
325fac50 PA |
517 | 2016-09-16 Pedro Alves <[email protected]> |
518 | ||
519 | * defs.h (min, max): Delete. | |
520 | * aarch64-tdep.c: Include <algorithm> and use std::min and | |
521 | std::max throughout. | |
522 | * aarch64-tdep.c: Likewise. | |
523 | * alpha-tdep.c: Likewise. | |
524 | * amd64-tdep.c: Likewise. | |
525 | * amd64-windows-tdep.c: Likewise. | |
526 | * arm-tdep.c: Likewise. | |
527 | * avr-tdep.c: Likewise. | |
528 | * breakpoint.c: Likewise. | |
529 | * btrace.c: Likewise. | |
530 | * ctf.c: Likewise. | |
531 | * disasm.c: Likewise. | |
532 | * doublest.c: Likewise. | |
533 | * dwarf2loc.c: Likewise. | |
534 | * dwarf2read.c: Likewise. | |
535 | * environ.c: Likewise. | |
536 | * exec.c: Likewise. | |
537 | * f-exp.y: Likewise. | |
538 | * findcmd.c: Likewise. | |
539 | * ft32-tdep.c: Likewise. | |
540 | * gcore.c: Likewise. | |
541 | * hppa-tdep.c: Likewise. | |
542 | * i386-darwin-tdep.c: Likewise. | |
543 | * i386-tdep.c: Likewise. | |
544 | * linux-thread-db.c: Likewise. | |
545 | * lm32-tdep.c: Likewise. | |
546 | * m32r-tdep.c: Likewise. | |
547 | * m88k-tdep.c: Likewise. | |
548 | * memrange.c: Likewise. | |
549 | * minidebug.c: Likewise. | |
550 | * mips-tdep.c: Likewise. | |
551 | * moxie-tdep.c: Likewise. | |
552 | * nds32-tdep.c: Likewise. | |
553 | * nios2-tdep.c: Likewise. | |
554 | * nto-procfs.c: Likewise. | |
555 | * parse.c: Likewise. | |
556 | * ppc-sysv-tdep.c: Likewise. | |
557 | * probe.c: Likewise. | |
558 | * record-btrace.c: Likewise. | |
559 | * remote.c: Likewise. | |
560 | * rs6000-tdep.c: Likewise. | |
561 | * rx-tdep.c: Likewise. | |
562 | * s390-linux-nat.c: Likewise. | |
563 | * s390-linux-tdep.c: Likewise. | |
564 | * ser-tcp.c: Likewise. | |
565 | * sh-tdep.c: Likewise. | |
566 | * sh64-tdep.c: Likewise. | |
567 | * source.c: Likewise. | |
568 | * sparc-tdep.c: Likewise. | |
569 | * symfile.c: Likewise. | |
570 | * target-memory.c: Likewise. | |
571 | * target.c: Likewise. | |
572 | * tic6x-tdep.c: Likewise. | |
573 | * tilegx-tdep.c: Likewise. | |
574 | * tracefile-tfile.c: Likewise. | |
575 | * tracepoint.c: Likewise. | |
576 | * valprint.c: Likewise. | |
577 | * value.c: Likewise. | |
578 | * xtensa-tdep.c: Likewise. | |
579 | * cli/cli-cmds.c: Likewise. | |
580 | * compile/compile-object-load.c: Likewise. | |
581 | ||
8193adea AA |
582 | 2016-09-16 Andreas Arnez <[email protected]> |
583 | ||
584 | * s390-linux-nat.c (PER_BIT, PER_EVENT_BRANCH, PER_EVENT_IFETCH) | |
585 | (PER_EVENT_STORE, PER_EVENT_NULLIFICATION) | |
586 | (PER_CONTROL_BRANCH_ADDRESS, PER_CONTROL_SUSPENSION) | |
587 | (PER_CONTROL_ALTERATION): New macros. | |
588 | (struct s390_debug_reg_state) <break_areas>: New member. | |
589 | (s390_forget_process): Free break_areas as well. | |
590 | (s390_linux_new_fork): Copy break_areas as well. | |
591 | (s390_prepare_to_resume): Install hardware breakpoints. | |
592 | (s390_can_use_hw_breakpoint): Indicate support for hardware | |
593 | breakpoints. | |
594 | (s390_insert_hw_breakpoint, s390_remove_hw_breakpoint): New | |
595 | linux_nat target methods. | |
596 | (_initialize_s390_nat): Register them. | |
597 | ||
0e00e962 AA |
598 | 2016-09-16 Andreas Arnez <[email protected]> |
599 | ||
600 | * nat/linux-nat.h (lwp_is_stepping): New declaration. | |
601 | * linux-nat.c (lwp_is_stepping): New function. | |
602 | ||
169fe0df AA |
603 | 2016-09-16 Andreas Arnez <[email protected]> |
604 | ||
605 | * s390-linux-nat.c (gdbcmd.h): New include. | |
606 | (s390_show_debug_regs): New function. | |
607 | (s390_stopped_by_watchpoint): Call it, if show_debug_regs is set. | |
608 | (s390_prepare_to_resume): Likewise. | |
609 | (_initialize_s390_nat): Register the command "maint set | |
610 | show-debug-regs". | |
611 | ||
373c3dad AA |
612 | 2016-09-16 Andreas Arnez <[email protected]> |
613 | ||
614 | * s390-linux-nat.c (watch_areas): Remove variable. Replace by a | |
615 | member of... | |
616 | (struct s390_debug_reg_state): ...this. New struct. | |
617 | (struct s390_process_info): New struct. | |
618 | (s390_process_list): New variable. | |
619 | (s390_find_process_pid, s390_add_process, s390_process_info_get) | |
620 | (s390_get_debug_reg_state): New functions. | |
621 | (s390_stopped_by_watchpoint): Now access the watch_areas VEC via | |
622 | s390_get_debug_reg_state. | |
623 | (s390_prepare_to_resume): Likewise. | |
624 | (s390_insert_watchpoint): Likewise. | |
625 | (s390_remove_watchpoint): Likewise. | |
626 | (s390_forget_process, s390_linux_new_fork): New linux_nat target | |
627 | methods. | |
628 | (_initialize_s390_nat): Register them. | |
629 | ||
17c84cca AA |
630 | 2016-09-16 Andreas Arnez <[email protected]> |
631 | ||
632 | * s390-linux-nat.c (s390_watch_area): New typedef. Define a VEC. | |
633 | (watch_base): Remove variable. | |
634 | (watch_areas): New variable. | |
635 | (s390_stopped_by_watchpoint): Transform operations on the | |
636 | watch_base list to equivalent operations on the watch_areas VEC. | |
637 | (s390_prepare_to_resume): Likewise. | |
638 | (s390_insert_watchpoint): Likewise. | |
639 | (s390_remove_watchpoint): Likewise. | |
640 | ||
9c2996c9 AA |
641 | 2016-09-16 Andreas Arnez <[email protected]> |
642 | ||
643 | * s390-linux-nat.c (s390_prepare_to_resume): Use advertised lwp | |
644 | functions instead of accessing lwp_info structure members. | |
645 | (s390_mark_per_info_changed): New function. | |
646 | (s390_new_thread): Use it. | |
647 | (s390_refresh_per_info_cb): New function. | |
648 | (s390_refresh_per_info): Remove parameter. Refresh all lwps of | |
649 | the current process. | |
650 | (s390_insert_watchpoint): Adjust call to s390_refresh_per_info. | |
651 | (s390_remove_watchpoint): Likewise. | |
652 | ||
e1b2624a AA |
653 | 2016-09-09 Andreas Arnez <[email protected]> |
654 | ||
655 | * elfread.c (auxv.h): New include. | |
656 | (elf_gnu_ifunc_resolve_addr): Pass HWCAP to ifunc resolver. | |
657 | ||
f5c4fcd9 TT |
658 | 2016-09-08 Tom Tromey <[email protected]> |
659 | ||
660 | * remote.c (remote_notif_stop_ack, remote_wait_as) | |
661 | (show_remote_cmd): Remove unneeded casts. | |
662 | ||
4295e285 PA |
663 | 2016-09-06 Pedro Alves <[email protected]> |
664 | ||
665 | * top.c (wait_sync_command_done): Don't assume current_ui doesn't | |
666 | change across events. Restore the current UI before returning. | |
667 | (gdb_readline_wrapper): Restore the current UI before returning. | |
668 | ||
a025b477 PA |
669 | 2016-09-06 Pedro Alves <[email protected]> |
670 | ||
671 | * event-top.c (restore_ui_cleanup): Now static. | |
672 | (make_cleanup_restore_current_ui): New function. | |
673 | (switch_thru_all_uis_init): Use it. | |
674 | * infcall.c (call_thread_fsm_should_stop): Use it. | |
675 | * infrun.c (fetch_inferior_event): Use it. | |
676 | * top.c (new_ui_command): Use it. | |
677 | * top.h (restore_ui_cleanup): Delete declaration. | |
678 | (make_cleanup_restore_current_ui): New declaration. | |
679 | ||
00d5215e UW |
680 | 2016-09-05 Ulrich Weigand <[email protected]> |
681 | ||
682 | * i386-tdep.c (i386_floatformat_for_type): New function. | |
683 | (i386_gdbarch_init): Install it. | |
684 | * ppc-linux-tdep.c (ppc_floatformat_for_type): New function. | |
685 | (ppc_linux_init_abi): Install it. | |
686 | ||
9b790ce7 UW |
687 | 2016-09-05 Ulrich Weigand <[email protected]> |
688 | ||
689 | * gdbarch.sh (floatformat_for_type): New gdbarch callback. | |
690 | * gdbarch.h, gdbarch.c: Re-generate. | |
691 | * arch-utils.h (default_floatformat_for_type): New prototype. | |
692 | * arch-utils.c (default_floatformat_for_type): New function. | |
693 | ||
694 | * doublest.c (floatformat_from_length): Remove. | |
695 | (floatformat_from_type): Assume TYPE_FLOATFORMAT is non-NULL. | |
696 | * gdbtypes.c (verify_floatformat): Require non-NULL format. | |
697 | ||
698 | * dwarf2read.c (dwarf2_init_float_type): New function. | |
699 | (read_base_type): Use it. | |
700 | * stabsread.c (dbx_init_float_type): New function. | |
701 | (read_sun_floating_type): Use it. | |
702 | (read_range_type): Likewise. | |
703 | ||
49f190bc UW |
704 | 2016-09-05 Ulrich Weigand <[email protected]> |
705 | ||
706 | * ada-lang.c (ada_language_arch_info): Use gdbarch-provided | |
707 | platform ABI floating-point formats for built-in types. | |
708 | * d-lang.c (build_d_types): Likewise. | |
709 | * f-lang.c (build_fortran_types): Likewise. | |
710 | * m2-lang.c (build_m2_types): Likewise. | |
711 | * mdebugread.c (basic_type): Likewise. | |
712 | ||
713 | * go-lang.c (build_go_types): Use IEEE floating-point formats | |
714 | for language built-in types as mandanted by the language. | |
715 | * jv-lang.c (build_java_types): Likewise. | |
716 | * rust-lang.c (rust_language_arch_info): Likewise. | |
717 | * stabsread.c (rs6000_builtin_type): Likewise. | |
718 | ||
c413c448 UW |
719 | 2016-09-05 Ulrich Weigand <[email protected]> |
720 | ||
721 | * gdbtypes.c (init_type): Remove "char" special case. | |
722 | (arch_integer_type): Likewise. | |
723 | (gdbtypes_post_init): Set TYPE_NOSIGN for "char" type. | |
724 | (objfile_type): Likewise. | |
725 | * mdebugread.c (basic_type): Likewise. | |
726 | * stabsread.c (rs6000_builtin_type): Likewise. | |
727 | ||
a9ff5f12 UW |
728 | 2016-09-05 Ulrich Weigand <[email protected]> |
729 | ||
730 | * gdbtypes.h (enum type_flag_value): Remove. | |
731 | Remove references to TYPE_FLAG_... in comments throughout. | |
732 | * gdbtypes.c (recursive_dump_type): Do not print TYPE_FLAG_... | |
733 | flags, print the corresponding TYPE_... access macro names. | |
734 | Remove references to TYPE_FLAG_... in comments throughout. | |
735 | * infcall.c: Remove references to TYPE_FLAG_... in comments. | |
736 | * valprint.c: Likewise. | |
737 | * gdb-gdb.py (class TypeFlag): No longer consider TYPE_FLAG_... | |
738 | values, only TYPE_INSTANCE_FLAG_... values. | |
739 | (class TypeFlagsPrinter): Likewise. | |
740 | ||
19f392bc UW |
741 | 2016-09-05 Ulrich Weigand <[email protected]> |
742 | ||
743 | * gdbtypes.h (init_type): Remove FLAGS argument. Move OBJFILE | |
744 | argument to first position. | |
745 | (init_integer_type): New prototype. | |
746 | (init_character_type): Likewise. | |
747 | (init_boolean_type): Likewise. | |
748 | (init_float_type): Likewise. | |
749 | (init_decfloat_type): Likewise. | |
750 | (init_complex_type): Likewise. | |
751 | (init_pointer_type): Likewise. | |
752 | * gdbtypes.c (verify_floatflormat): New function. | |
753 | (init_type): Remove FLAGS argument and processing. Move OBJFILE | |
754 | argument to first position. | |
755 | (init_integer_type): New function. | |
756 | (init_character_type): Likewise. | |
757 | (init_boolean_type): Likewise. | |
758 | (init_float_type): Likewise. | |
759 | (init_decfloat_type): Likewise. | |
760 | (init_complex_type): Likewise. | |
761 | (init_pointer_type): Likewise. | |
762 | (arch_float_type): Use verify_floatflormat. | |
763 | (objfile_type): Use init_..._type helpers instead of calling | |
764 | init_type directly. | |
765 | * dwarf2read.c (fixup_go_packaging): Update to changed init_type | |
766 | prototype. | |
767 | (read_namespace_type): Likewise. | |
768 | (read_module_type): Likewise. | |
769 | (read_typedef): Likewise. | |
770 | (read_unspecified_type): Likewise. | |
771 | (build_error_marker_type): Likewise. | |
772 | (read_base_type): Use init_..._type helpers. | |
773 | * mdebugread.c (basic_type): Use init_..._type helpers. | |
774 | (parse_type): Update to changed init_type prototype. | |
775 | (cross_ref): Likewise. | |
776 | * stabsread.c (rs6000_builtin_type): Use init_..._type helpers. | |
777 | (read_sun_builtin_type): Likewise. | |
778 | (read_sun_floating_type): Likewise. | |
779 | (read_range_type): Likewise. Also update to changed init_type | |
780 | prototype. | |
781 | ||
88dfca6c UW |
782 | 2016-09-05 Ulrich Weigand <[email protected]> |
783 | ||
784 | * gdbtypes.h (arch_decfloat_type): New prototype. | |
785 | (arch_pointer_type): Likewise. | |
786 | * gdbtypes.c (arch_decfloat_type): New function. | |
787 | (arch_pointer_type): Likewise. | |
788 | (gdbtypes_post_init): Use arch_decfloat_type. | |
789 | * avr-tdep.c (avr_gdbarch_init): Use arch_pointer_type. | |
790 | * ft32-tdep.c (ft32_gdbarch_init): Likewise. | |
791 | * m32c-tdep.c (make_types): Likewise. | |
792 | * rl78-tdep.c (rl78_gdbarch_init): Likewise. | |
793 | ||
ae438bc5 UW |
794 | 2016-09-05 Ulrich Weigand <[email protected]> |
795 | ||
796 | * gdbtypes.c (set_type_code): New function. | |
797 | (init_type, arch_type): Use it. | |
798 | ||
5f3bceb6 UW |
799 | 2016-09-05 Ulrich Weigand <[email protected]> |
800 | ||
801 | * ada-lang.c (ada_language_arch_info): Use gdbarch_long_double_bit | |
802 | instead of gdbarch_double_bit for "long_long_float". | |
803 | ||
cf6de44d PA |
804 | 2016-09-05 Pedro Alves <[email protected]> |
805 | ||
806 | * NEWS: Mention that a C++ compiler is now required. | |
807 | * Makefile.in (COMPILER, COMPILER_CFLAGS): Remove. | |
808 | (COMPILE.pre, CC_LD): Use CXX directly. | |
809 | (INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly. | |
810 | * acinclude.m4: Don't include build-with-cxx.m4. | |
811 | * build-with-cxx.m4: Delete file. | |
812 | * configure.ac: Remove GDB_AC_BUILD_WITH_CXX call. | |
813 | * warning.m4: Assume $enable_build_with_cxx is yes. | |
814 | * configure: Regenerate. | |
815 | ||
f245535c PA |
816 | 2016-09-05 Pedro Alves <[email protected]> |
817 | ||
818 | PR backtrace/19927 | |
819 | * frame.c (get_frame_id): Compute the frame id if not computed | |
820 | yet. | |
821 | (unwind_to_current_frame): Delete. | |
822 | (get_current_frame): Use get_prev_frame_always_1 to get the | |
823 | current frame and assert that that always succeeds. | |
824 | (get_prev_frame_if_no_cycle): Skip cycle detection if returning | |
825 | the current frame. | |
826 | ||
4aa4e28b TT |
827 | 2016-09-02 Tom Tromey <[email protected]> |
828 | ||
829 | PR gdb/11616: | |
830 | * dwarf2read.c (decode_locdesc): Handle DW_OP_form_tls_address. | |
831 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Handle | |
832 | DW_OP_form_tls_address. | |
833 | (locexpr_describe_location_piece): Likewise. | |
834 | * dwarf2expr.h (struct dwarf_expr_context_funcs): Update comment. | |
835 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_form_tls_address. | |
836 | (ctx_no_get_tls_address): Mention DW_OP_form_tls_address. | |
837 | * compile/compile-loc2c.c (struct insn_info): Update comment. | |
838 | (compute_stack_depth_worker): Handle DW_OP_form_tls_address. | |
839 | ||
f2b9e3df SDJ |
840 | 2016-09-01 Sergio Durigan Junior <[email protected]> |
841 | ||
842 | * target.c (target_wait): Mention that the function's prototype | |
843 | can be found at target/target.h. | |
844 | * target.h (target_wait): Move prototype from here... | |
845 | * target/target.h (target_wait): ... to here. | |
846 | ||
049a8570 SDJ |
847 | 2016-09-01 Sergio Durigan Junior <[email protected]> |
848 | ||
849 | * fork-child.c (startup_inferior): Replace calls to target_resume | |
850 | by target_continue{,_no_signal}, depending on the case. | |
851 | * linux-nat.c (cleanup_target_stop): Call | |
852 | target_continue_no_signal instead of target_resume. | |
853 | * procfs.c (procfs_wait): Likewise. | |
854 | * target.c (target_continue): New function. | |
855 | * target/target.h (target_continue): New prototype. | |
856 | ||
f99bd5f2 YQ |
857 | 2016-08-31 Yao Qi <[email protected]> |
858 | ||
859 | * record-full.c (record_full_insert_breakpoint): Fix typo. | |
860 | ||
5af962df AA |
861 | 2016-08-30 Andreas Arnez <[email protected]> |
862 | ||
863 | * thread.c (tp_array_compar): Insert missing parentheses. | |
864 | ||
ae68ff9f AA |
865 | 2016-08-25 Andreas Arnez <[email protected]> |
866 | ||
867 | * xtensa-tdep.h (XTENSA_GDBARCH_TDEP_INSTANTIATE): Replace | |
868 | designated initializer list by plain initializer list, for C++ | |
869 | compliance. | |
870 | ||
754653a7 AZ |
871 | 2016-08-25 Adhemerval Zanella <[email protected]> |
872 | ||
873 | * aarch64-linux-nat.c (ps_get_thread_area): Remove const from | |
874 | struct ps_prochandle. | |
875 | * amd64-linux-nat.c (ps_get_thread_area): Likewise. | |
876 | * arm-linux-nat.c (ps_get_thread_area): Likewise. | |
877 | * gdb_proc_service.h (ps_get_thread_area): Likewise. | |
878 | * i386-linux-nat.c (ps_get_thread_area): Likewise. | |
879 | * m68klinux-nat.c (ps_get_thread_area): Likewise. | |
880 | * mips-linux-nat.c (ps_get_thread_area): Likewise. | |
881 | * nat/aarch64-linux.c (aarch64_ps_get_thread_area): Likewise. | |
882 | * nat/aarch64-linux.h (aarch64_ps_get_thread_area): Likewise. | |
883 | * xtensa-linux-nat.c (ps_get_thread_area): Likewise. | |
884 | ||
0a1ddfa6 SM |
885 | 2016-08-24 Simon Marchi <[email protected]> |
886 | ||
887 | * infcmd.c (set_inferior_io_terminal): Set inferior terminal to | |
888 | NULL if terminal_name is an empty string. | |
889 | (_initialize_infcmd): Make the argument of "set inferior-tty" | |
890 | optional, mention it in the help doc. | |
891 | ||
bdd78711 CL |
892 | 2016-08-24 Carl Love <[email protected]> |
893 | ||
894 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove call | |
895 | set_gdbarch_deprecated_fp_regnum() architecture | |
896 | initialization function. | |
897 | ||
34f81801 SM |
898 | 2016-08-23 Simon Marchi <[email protected]> |
899 | ||
900 | * stack.c (parse_frame_specification): Fix typo in comment. | |
901 | ||
d9de1fe3 PA |
902 | 2016-08-23 Pedro Alves <[email protected]> |
903 | ||
904 | PR gdb/20494 | |
905 | * inflow.c (our_terminal_info, initial_gdb_ttystate): Update | |
906 | comments. | |
907 | (enum gdb_has_a_terminal_flag_enum, gdb_has_a_terminal_flag): | |
908 | Delete. | |
909 | (set_initial_gdb_ttystate): Record our_terminal_info here too, | |
910 | instead of ... | |
911 | (gdb_has_a_terminal): ... here. Reimplement in terms of | |
912 | initial_gdb_ttystate. Make static. | |
913 | * terminal.h (gdb_has_a_terminal): Delete declaration. | |
914 | (set_initial_gdb_ttystate): Add comment. | |
915 | * top.c (show_interactive_mode): Use input_interactive_p instead | |
916 | of gdb_has_a_terminal. | |
917 | ||
6bb90213 PA |
918 | 2016-08-22 Pedro Alves <[email protected]> |
919 | ||
920 | PR gdb/20505 | |
921 | * linux-tdep.c (linux_vsyscall_range_raw): For core inferiors, | |
922 | find the vDSO's start address with AT_SYSINFO_EHDR too, and | |
923 | determine the vDSO's size by finding the PT_LOAD segment that | |
924 | matches AT_SYSINFO_EHDR. | |
925 | ||
03bcd739 YQ |
926 | 2016-08-19 Yao Qi <[email protected]> |
927 | ||
928 | * aarch64-tdep.c (aarch64_analyze_prologue): Handle register | |
929 | based STP instruction. | |
930 | ||
bbfa2517 YQ |
931 | 2016-08-19 Yao Qi <[email protected]> |
932 | ||
933 | * completer.c (linespec_location_completer): Make file_to_match | |
934 | null-terminated. | |
935 | ||
f077e978 PA |
936 | 2016-08-19 Pedro Alves <[email protected]> |
937 | ||
938 | * amd64-tdep.c (amd64_relocate_instruction) <callq>: Handle return | |
939 | addresses over 0x7fffffff. | |
940 | ||
46da9242 CL |
941 | 2016-08-18 Carl Love <[email protected]> |
942 | ||
943 | * MAINTANERS Write After Approval): Add "Carl Love". | |
944 | ||
d44c67f3 EBM |
945 | 2016-08-18 Edjunior Barbosa Machado <[email protected]> |
946 | ||
947 | * rs6000-tdep.c (ppc_process_record_op31): Handle HTM instructions. | |
948 | ||
eb2332d7 SM |
949 | 2016-08-17 Simon Marchi <[email protected]> |
950 | ||
951 | * inferior.c (remove_inferior_command): Fix error message. | |
952 | ||
9b19e390 SM |
953 | 2016-08-17 Simon Marchi <[email protected]> |
954 | ||
955 | * inferior.c (exit_inferior_1): Remove comment. | |
956 | ||
31925464 MW |
957 | 2016-08-15 Matthew Wahab <[email protected]> |
958 | ||
959 | PR gdb/20457 | |
960 | * gdb_proc_service.h: Add an include of gregset.h | |
961 | [!HAVE_PROC_SERVICE_H]: Remove the include of gregset.h. | |
962 | ||
b31f9478 YQ |
963 | 2016-08-15 Yao Qi <[email protected]> |
964 | ||
965 | * location.c (explicit_location_lex_one): Compare the return | |
966 | value of strncmp with zero. Don't check (*inp)[9]. Increment | |
967 | *inp by 8. | |
968 | ||
39b22471 PA |
969 | 2016-08-11 Pedro Alves <[email protected]> |
970 | ||
971 | PR gdb/20413 | |
972 | * nat/linux-ptrace.c: Include <sys/procfs.h> instead of | |
973 | "gregset.h". | |
974 | ||
01d3dedf PA |
975 | 2016-08-10 Pedro Alves <[email protected]> |
976 | ||
977 | PR gdb/19187 | |
978 | * record-full.c (record_full_remove_breakpoint): Don't remove the | |
979 | breakpoint from the record_full_breakpoints VEC if we're detaching | |
980 | the breakpoint from a fork child. | |
981 | ||
73971819 PA |
982 | 2016-08-10 Pedro Alves <[email protected]> |
983 | ||
984 | PR gdb/19187 | |
985 | * break-catch-sig.c (signal_catchpoint_remove_location): Adjust | |
986 | interface. | |
987 | * break-catch-syscall.c (remove_catch_syscall): | |
988 | * breakpoint.c (enum remove_bp_reason): Moved to breakpoint.h. | |
989 | (remove_breakpoint_1): Pass 'reason' down. | |
990 | (remove_catch_fork, remove_catch_vfork, remove_catch_solib) | |
991 | (remove_catch_exec, remove_watchpoint, remove_masked_watchpoint) | |
992 | (base_breakpoint_remove_location, bkpt_remove_location) | |
993 | (bkpt_probe_remove_location, bkpt_probe_remove_location): Adjust | |
994 | interface. | |
995 | * breakpoint.h (enum remove_bp_reason): Moved here from | |
996 | breakpoint.c. | |
997 | (struct breakpoint_ops) <remove_location>: Add 'reason' parameter. | |
998 | * corelow.c (core_remove_breakpoint): New function. | |
999 | (init_core_ops): Install it as to_remove_breakpoint method. | |
1000 | * exec.c (exec_remove_breakpoint): New function. | |
1001 | (init_exec_ops): Install it as to_remove_breakpoint method. | |
1002 | * mem-break.c (memory_remove_breakpoint): Adjust interface. | |
1003 | * record-btrace.c (record_btrace_remove_breakpoint): Adjust | |
1004 | interface. | |
1005 | * record-full.c (record_full_remove_breakpoint) | |
1006 | (record_full_core_remove_breakpoint): Adjust interface. | |
1007 | * remote.c (remote_remove_breakpoint): Adjust interface. | |
1008 | * target-debug.h (target_debug_print_enum_remove_bp_reason): New | |
1009 | macro. | |
1010 | * target-delegates.c: Regenerate. | |
1011 | * target.c (target_remove_breakpoint): Add 'reason' parameter. | |
1012 | * target.h (struct target_ops) <to_remove_breakpoint>: Add | |
1013 | 'reason' parameter. | |
1014 | (target_remove_breakpoint, memory_remove_breakpoint): Add 'reason' | |
1015 | parameter. | |
1016 | ||
b2b6a7da PA |
1017 | 2016-08-10 Pedro Alves <[email protected]> |
1018 | ||
1019 | PR gdb/19187 | |
1020 | * breakpoint.c (insertion_state_t): Delete. | |
1021 | (enum remove_bp_reason): New. | |
1022 | (detach_breakpoints, remove_breakpoint_1, remove_breakpoint): | |
1023 | Adjust to use enum remove_bp_reason instead of insertion_state_t. | |
1024 | ||
834c0d03 PA |
1025 | 2016-08-10 Pedro Alves <[email protected]> |
1026 | ||
1027 | PR gdb/19187 | |
1028 | * breakpoint.c (remove_breakpoint): Remove 'is' parameter and | |
1029 | always pass mark_uninserted to remove_breakpoint_1. | |
1030 | (insert_breakpoint_locations, remove_breakpoints) | |
1031 | (remove_breakpoints_pid, update_global_location_list): Update | |
1032 | callers. | |
1033 | ||
24cdb46e РИ |
1034 | 2016-08-10 Руслан Ижбулатов <[email protected]> |
1035 | Pedro Alves <[email protected]> | |
1036 | ||
1037 | * windows-nat.c (MS_VC_EXCEPTION): New define. | |
1038 | (handle_exception_result): New enum. | |
1039 | (windows_delete_thread): Free the thread's name. | |
1040 | (handle_exception): Handle MS_VC_EXCEPTION. | |
1041 | (get_windows_debug_event): Handle HANDLE_EXCEPTION_IGNORED. | |
1042 | (windows_thread_name): New function. | |
1043 | (windows_target): Install it as to_thread_name method. | |
1044 | * NEWS: Mention the thread naming support on MS-Windows. | |
1045 | ||
669f9429 PA |
1046 | 2016-08-10 Pedro Alves <[email protected]> |
1047 | ||
1048 | * common/signals-state-save-restore.c | |
1049 | (save_original_signals_state, restore_original_signals_state): | |
1050 | Wrap perror_with_name arguments with '()'. | |
1051 | ||
3eb7562a PA |
1052 | 2016-08-09 Pedro Alves <[email protected]> |
1053 | ||
1054 | PR gdb/20418 | |
1055 | * event-top.c (ui_register_input_event_handler) | |
1056 | (ui_unregister_input_event_handler): New functions. | |
1057 | (async_enable_stdin): Register input in the event loop. | |
1058 | (async_disable_stdin): Unregister input from the event loop. | |
1059 | (gdb_setup_readline): Register input in the event loop. | |
1060 | * infrun.c (check_curr_ui_sync_execution_done): Register input in | |
1061 | the event loop. | |
1062 | * target.c (target_terminal_inferior): Don't unregister input from | |
1063 | the event loop. | |
1064 | (target_terminal_ours): Don't register input in the event loop. | |
1065 | * target.h (target_terminal_inferior) | |
1066 | (target_terminal_ours_for_output, target_terminal_ours): Update | |
1067 | comments. | |
1068 | * top.h (ui_register_input_event_handler) | |
1069 | (ui_unregister_input_event_handler): New declarations. | |
1070 | * utils.c (ui_unregister_input_event_handler_cleanup) | |
1071 | (prepare_to_handle_input): New functions. | |
1072 | (defaulted_query, prompt_for_continue): Use | |
1073 | prepare_to_handle_input. | |
1074 | ||
80614914 PA |
1075 | 2016-08-09 Pedro Alves <[email protected]> |
1076 | ||
1077 | PR mi/20431 | |
1078 | * mi/mi-main.c (mi_execute_command): Enable input and set prompt | |
1079 | state to PROMPT_NEEDED. | |
1080 | ||
f348d89a PA |
1081 | 2016-08-09 Pedro Alves <[email protected]> |
1082 | ||
1083 | PR gdb/18653 | |
1084 | * Makefile.in (SFILES): Add | |
1085 | common/signals-state-save-restore.c. | |
1086 | (HFILES_NO_SRCDIR): Add common/signals-state-save-restore.h. | |
1087 | (COMMON_OBS): Add signals-state-save-restore.o. | |
1088 | (signals-state-save-restore.o): New rule. | |
1089 | * configure: Regenerate. | |
1090 | * fork-child.c: Include "signals-state-save-restore.h". | |
1091 | (fork_inferior): Call restore_original_signals_state. | |
1092 | * main.c: Include "signals-state-save-restore.h". | |
1093 | (captured_main): Call save_original_signals_state. | |
1094 | * common/common.m4: Add sigaction to AC_CHECK_FUNCS checks. | |
1095 | * common/signals-state-save-restore.c: New file. | |
1096 | * common/signals-state-save-restore.h: New file. | |
1097 | ||
e5ca03b4 PA |
1098 | 2016-08-09 Pedro Alves <[email protected]> |
1099 | ||
1100 | * value.c (unpack_value_bitfield): Skip unpacking if the parent | |
1101 | has no contents buffer to begin with. | |
1102 | ||
6a17ca31 PA |
1103 | 2016-08-08 Pedro Alves <[email protected]> |
1104 | ||
1105 | * features/i386/amd64-avx-mpx-linux.c: Regenerate. | |
1106 | * features/i386/amd64-avx-mpx.c: Regenerate. | |
1107 | * features/i386/i386-avx-mpx-linux.c: Regenerate. | |
1108 | * features/i386/i386-avx-mpx.c: Regenerate. | |
1109 | ||
c632e428 SM |
1110 | 2016-08-05 Simon Marchi <[email protected]> |
1111 | ||
1112 | * event-top.h (cli_command_loop): Remove. | |
1113 | ||
3906a8fc PA |
1114 | 2016-08-05 Pedro Alves <[email protected]> |
1115 | ||
1116 | PR remote/20398 | |
1117 | * remote-fileio.c (remote_fileio_quit_handler): Check the quit | |
1118 | flag before calling quit. | |
1119 | ||
69ffd7f2 PA |
1120 | 2016-08-05 Pedro Alves <[email protected]> |
1121 | ||
1122 | * NEWS: Mention that GDB and GDBserver build with a C++ compiler | |
1123 | by default. | |
1124 | ||
1baf5149 PA |
1125 | 2016-08-05 Pedro Alves <[email protected]> |
1126 | ||
1127 | * build-with-cxx.m4: Change help string to be in terms of | |
1128 | --disable-build-with-cxx. | |
1129 | * configure: Regenerate. | |
1130 | ||
6f67973b YQ |
1131 | 2016-08-04 Yao Qi <[email protected]> |
1132 | ||
1133 | * aarch64-linux-nat.c (tdesc_arm_with_vfpv3): Remove the | |
1134 | declaration. | |
1135 | (aarch64_linux_read_description): Remove code on getting | |
1136 | auxv and select target description on it. Select target | |
1137 | description by the result of NT_ARM_VFP ptrace request. | |
1138 | ||
282a0691 TT |
1139 | 2016-08-03 Tom Tromey <[email protected]> |
1140 | ||
1141 | PR python/18565: | |
1142 | * python/py-frame.c (frapy_function): Use find_frame_funname. | |
1143 | ||
d10153cf TT |
1144 | 2016-08-03 Tom Tromey <[email protected]> |
1145 | ||
1146 | * stack.c (find_frame_funname): Avoid any possible leak in case | |
1147 | cp_remove_params can throw. | |
1148 | ||
8d2a0a14 TT |
1149 | 2016-08-03 Tom Tromey <[email protected]> |
1150 | ||
1151 | * NEWS: Mention new Python breakpoint events. | |
1152 | ||
33541b2e TT |
1153 | 2016-08-02 Tom Tromey <[email protected]> |
1154 | ||
1155 | * MAINTAINERS (Core): Add self as Rust maintainer. | |
1156 | ||
751b375e JB |
1157 | 2016-08-01 Joel Brobecker <[email protected]> |
1158 | ||
1159 | * NEWS: Create a new section for the next release branch. | |
1160 | Rename the section of the current branch, now that it has | |
1161 | been cut. | |
1162 | ||
b2bd7787 JB |
1163 | 2016-08-01 Joel Brobecker <[email protected]> |
1164 | ||
1165 | GDB 7.12 branch created (41bfcd638a4e0e48b96ce4de2845372dea481322): | |
1166 | * version.in: Bump version to 7.12.50.DATE-git. | |
1167 | ||
293acfae AM |
1168 | 2016-07-27 Alan Modra <[email protected]> |
1169 | ||
1170 | * amd64-darwin-tdep.c: Don't include libbfd.h. | |
1171 | * i386-darwin-tdep.c: Likewise. | |
1172 | * rs6000-nat.c: Likewise. | |
1173 | * rs6000-tdep.c: Likewise. | |
1174 | ||
0b31a4bc TT |
1175 | 2016-07-26 Tom Tromey <[email protected]> |
1176 | ||
1177 | * symtab.c (register_symbol_computed_impl): Update. | |
1178 | PR python/20190: | |
1179 | * value.h (symbol_read_needs): Declare. | |
1180 | (symbol_read_needs_frame): Add comment. | |
1181 | * symtab.h (struct symbol_computed_ops) <read_variable>: Update | |
1182 | comment. | |
1183 | <get_symbol_read_needs>: Rename. Change return type. | |
1184 | * findvar.c (symbol_read_needs): New function. | |
1185 | (symbol_read_needs_frame): Rewrite. | |
1186 | (default_read_var_value): Use symbol_read_needs. | |
1187 | * dwarf2loc.c (struct symbol_needs_baton): Rename. | |
1188 | <needs>: Renamed from needs_frame. Changed type. | |
1189 | (needs_frame_read_addr_from_reg, symbol_needs_get_reg_value) | |
1190 | (symbol_needs_read_mem, symbol_needs_frame_base) | |
1191 | (symbol_needs_frame_cfa, symbol_needs_tls_address) | |
1192 | (symbol_needs_dwarf_call): Rename. | |
1193 | (needs_dwarf_reg_entry_value): Update. | |
1194 | (symbol_needs_ctx_funcs, dwarf2_loc_desc_get_symbol_read_needs): | |
1195 | Rename and update. | |
1196 | (locexpr_get_symbol_read_needs, loclist_symbol_needs): Likewise. | |
1197 | (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Update. | |
1198 | * defs.h (enum symbol_needs_kind): New. | |
1199 | ||
40c31709 PA |
1200 | 2016-07-26 Pedro Alves <[email protected]> |
1201 | ||
1202 | * nat/linux-ptrace.c: Include "gregset.h". | |
1203 | (linux_ptrace_test_ret_to_nx): Use PTRACE_GETREGS instead of | |
1204 | PTRACE_PEEKUSER. | |
1205 | ||
9cf12d57 PA |
1206 | 2016-07-26 Pedro Alves <[email protected]> |
1207 | ||
1208 | * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Rename 'native' | |
1209 | parameter to 'ptrace'. | |
1210 | * nat/amd64-linux-siginfo.c (GDB_SI_SIZE): New define. | |
1211 | (nat_uptr_t): New an unsigned long. | |
1212 | (nat_clock_t): Remove attribute __aligned__. | |
1213 | (struct nat_timeval): Delete. | |
1214 | (nat_siginfo_t): Remove attribute __aligned__. | |
1215 | (ptrace_siginfo_t): Define. | |
1216 | (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) | |
1217 | (compat_x32_siginfo_from_siginfo) | |
1218 | (siginfo_from_compat_x32_siginfo): Make 'from' parameter const. | |
1219 | Convert through a ptrace_siginfo_t instead of a nat_siginfo_t. | |
1220 | Remove casts. | |
1221 | (amd64_linux_siginfo_fixup_common): Rename 'native' parameter to | |
1222 | 'ptrace'. Remove static assertions. | |
1223 | (top level): New static assertions. | |
1224 | ||
8194e927 SM |
1225 | 2016-07-25 Simon Marchi <[email protected]> |
1226 | ||
1227 | * top.h (make_delete_ui_cleanup): New declaration. | |
1228 | * top.c (delete_ui_cleanup): New function. | |
1229 | (make_delete_ui_cleanup): New function. | |
1230 | (new_ui_command): Create restore_ui cleanup earlier, create a | |
1231 | delete_ui cleanup and discard it on success. | |
1232 | ||
0e1a6a51 PA |
1233 | 2016-07-25 Pedro Alves <[email protected]> |
1234 | Jan Kratochvil <[email protected]> | |
1235 | ||
1236 | * nat/linux-procfs.c (parse_proc_status_state): Handle lowercase | |
1237 | 't'. | |
1238 | ||
d617208b PA |
1239 | 2016-07-25 Pedro Alves <[email protected]> |
1240 | ||
1241 | * nat/linux-procfs.c (enum proc_state): New enum. | |
1242 | (parse_proc_status_state): New function. | |
1243 | (linux_proc_pid_get_state): Replace output string buffer parameter | |
1244 | with an output proc_state parameter. Use parse_proc_status_state. | |
1245 | (linux_proc_pid_is_gone): Adjust to use proc_state values. | |
1246 | (linux_proc_pid_has_state): Change type of 'state' parameter; now | |
1247 | an enum proc_state. Adjust to linux_proc_pid_get_state interface | |
1248 | change. | |
1249 | (linux_proc_pid_is_stopped) | |
1250 | (linux_proc_pid_is_trace_stopped_nowarn) | |
1251 | (linux_proc_pid_is_zombie_maybe_warn): Adjust to | |
1252 | linux_proc_pid_get_state interface change. | |
1253 | ||
3a1518e4 TW |
1254 | 2016-07-25 Tim Wiederhake <[email protected]> |
1255 | ||
1256 | * MAINTAINERS (Write After Approval): Add Tim Wiederhake | |
1257 | ||
c0272db5 TW |
1258 | 2016-07-25 Tim Wiederhake <[email protected]> |
1259 | ||
1260 | * NEWS: Resume btrace on reconnect. | |
1261 | * record-btrace.c: Added record-btrace.h include. | |
1262 | (record_btrace_open): Split into this and ... | |
1263 | (record_btrace_push_target): ... this. | |
1264 | (record_btrace_disconnect): New function. | |
1265 | (init_record_btrace_ops): Use record_btrace_disconnect. | |
1266 | * record-btrace.h: New file. | |
1267 | * remote.c: Added record-btrace.h include. | |
1268 | (remote_start_remote): Check recording status. | |
1269 | (remote_btrace_maybe_reopen): New function. | |
1270 | ||
e3487908 GKB |
1271 | 2016-07-23 Gabriel Krisman Bertazi <[email protected]> |
1272 | ||
1273 | * xml-syscall.c (get_syscalls_by_group): New. | |
1274 | (get_syscall_group_names): New. | |
1275 | (struct syscall_group_desc): New structure to store group data. | |
1276 | (struct syscalls_info): Include field to store the group list. | |
1277 | (sysinfo_free_syscall_group_desc): New. | |
1278 | (free_syscalls_info): Free group list. | |
1279 | (syscall_group_create_syscall_group_desc): New. | |
1280 | (syscall_group_add_syscall): New. | |
1281 | (syscall_create_syscall_desc): Add syscall to its groups. | |
1282 | (syscall_start_syscall): Load group attribute. | |
1283 | (syscall_group_get_group_by_name): New. | |
1284 | (xml_list_syscalls_by_group): New. | |
1285 | (xml_list_of_groups): New. | |
1286 | * xml-syscall.h (get_syscalls_by_group): Export function | |
1287 | to retrieve a list of syscalls filtered by the group name. | |
1288 | (get_syscall_group_names): Export function to retrieve the list | |
1289 | of syscall groups. | |
1290 | * break-catch-syscall.c (catch_syscall_split_args): Verify if | |
1291 | argument is a syscall group and expand it to a list of syscalls | |
1292 | when creating catchpoints. | |
1293 | (catch_syscall_completer): Add word completion for system call | |
1294 | groups. | |
1295 | * configure.ac: Include dependency for xsltproc when building | |
1296 | in maintainer-mode. | |
1297 | * break-catch-syscall.c (_initialize_breakpoint): Update catch | |
1298 | syscall command documentation. | |
1299 | * NEWS: Include section about catching groups of syscalls. | |
1300 | * configure: Regenerate. | |
1301 | * data-directory/Makefile.in: Generate syscall xml when building | |
1302 | in maintainer mode. | |
1303 | * syscalls/gdb-syscalls.dtd: Include group attribute to the | |
1304 | syscall element. | |
1305 | * syscalls/apply-defaults.xsl: New. | |
1306 | * syscalls/linux-defaults.xml.in: New. | |
1307 | * syscalls/aarch64-linux.xml: Rename to aarch64-linux.xml.in. | |
1308 | * syscalls/amd64-linux.xml: Rename to amd64-linux.xml.in. | |
1309 | * syscalls/arm-linux.xml: Rename to arm-linux.xml.in. | |
1310 | * syscalls/bfin-linux.xml: Rename to bfin-linux.xml.in. | |
1311 | * syscalls/i386-linux.xml: Rename to i386-linux.xml.in. | |
1312 | * syscalls/mips-n32-linux.xml: Rename to mips-n32-linux.xml.in. | |
1313 | * syscalls/mips-n64-linux.xml: Rename to mips-n64-linux.xml.in. | |
1314 | * syscalls/mips-o32-linux.xml: Rename to mips-o32-linux.xml.in. | |
1315 | * syscalls/ppc-linux.xml: Rename to ppc-linux.xml.in. | |
1316 | * syscalls/ppc64-linux.xml: Rename to ppc64-linux.xml.in. | |
1317 | * syscalls/s390-linux.xml: Rename to s390-linux.xml.in. | |
1318 | * syscalls/s390x-linux.xml: Rename to s390x-linux.xml.in. | |
1319 | * syscalls/sparc-linux.xml: Rename to sparc-linux.xml.in. | |
1320 | * syscalls/sparc64-linux.xml: Rename to sparc64-linux.xml.in. | |
1321 | * syscalls/aarch64-linux.xml: Regenerate. | |
1322 | * syscalls/amd64-linux.xml: Regenerate. | |
1323 | * syscalls/arm-linux.xml: Regenerate. | |
1324 | * syscalls/i386-linux.xml: Regenerate. | |
1325 | * syscalls/mips-n32-linux.xml: Regenerate. | |
1326 | * syscalls/mips-n64-linux.xml: Regenerate. | |
1327 | * syscalls/mips-o32-linux.xml: Regenerate. | |
1328 | * syscalls/ppc-linux.xml: Regenerate. | |
1329 | * syscalls/ppc64-linux.xml: Regenerate. | |
1330 | * syscalls/s390-linux.xml: Regenerate. | |
1331 | * syscalls/s390x-linux.xml: Regenerate. | |
1332 | * syscalls/sparc-linux.xml: Regenerate. | |
1333 | * syscalls/sparc64-linux.xml: Regenerate. | |
1334 | ||
49ecef2a AP |
1335 | 2016-07-23 Andrew Pinski <[email protected]> |
1336 | ||
1337 | * nat/aarch64-linux-hw-point.c | |
1338 | (aarch64_linux_get_debug_reg_capacity): Handle | |
1339 | ARMv8.1 and ARMv8.2 debug versions. | |
1340 | * nat/aarch64-linux-hw-point.h | |
1341 | (AARCH64_DEBUG_ARCH_V8_1): New define. | |
1342 | (AARCH64_DEBUG_ARCH_V8_2): New define. | |
1343 | ||
463888ab РИ |
1344 | 2016-06-30 Руслан Ижбулатов <[email protected]> |
1345 | ||
1346 | PR gdb/14529 | |
1347 | * windows-nat.c (signal_event_command): New command 'signal-event' | |
1348 | for W32 JIT debug support. | |
1349 | * NEWS: Add an entry about the new 'signal-event' command. | |
1350 | ||
e98c9e7c TT |
1351 | 2016-07-22 Tom Tromey <[email protected]> |
1352 | ||
1353 | PR rust/20162: | |
1354 | * dwarf2read.c (scan_partial_symbols) <DW_TAG_structure_type>: | |
1355 | Call scan_partial_symbols for children when reading a Rust CU. | |
1356 | (dwarf2_physname): Ignore invalid DW_AT_linkage_name generated by | |
1357 | rustc. | |
1358 | (process_structure_scope) <DW_TAG_subprogram>: Call | |
1359 | read_func_scope for Rust. | |
1360 | ||
eed2386e YQ |
1361 | 2016-07-22 Yao Qi <[email protected]> |
1362 | ||
1363 | * ctf.c (ctf_traceframe_info): Call bt_ctf_get_uint64 rather than | |
1364 | bt_ctf_get_int64. | |
1365 | ||
12df5c00 TT |
1366 | 2016-07-21 Tom Tromey <[email protected]> |
1367 | ||
1368 | * rust-lang.c (rust_tuple_struct_type_p): Return false for empty | |
1369 | structs. | |
1370 | * rust-exp.y (struct_expr_list): Allow empty elements. | |
1371 | ||
305450ed TT |
1372 | 2016-07-21 Tom Tromey <[email protected]> |
1373 | ||
1374 | * configure: Rebuild. | |
1375 | * warning.m4 (AM_GDB_WARNINGS) <build_warnings>: Add | |
1376 | -Wunused-but-set-parameter, -Wunused-but-set-variable. | |
1377 | ||
f515a1d6 PA |
1378 | 2016-07-21 Pedro Alves <[email protected]> |
1379 | ||
1380 | * go32-nat.c (go32_create_inferior): Add cast. | |
1381 | * ser-go32.c (dos_noop): Delete. | |
1382 | (dos_flush_output, dos_setparity, dos_drain_output): New | |
1383 | functions. | |
1384 | (dos_write): Add cast. | |
1385 | (dos_ops): Use dos_flush_output, dos_setparity and | |
1386 | dos_drain_output. | |
1387 | * top.c (do_chdir_cleanup): Add cast. | |
1388 | ||
c25b7cce PA |
1389 | 2016-07-21 Pedro Alves <[email protected]> |
1390 | ||
1391 | * windows-nat.c (handle_exception): Remove "th". | |
1392 | ||
e3821cca PA |
1393 | 2016-07-21 Pedro Alves <[email protected]> |
1394 | ||
1395 | * varobj.c (varobj_value_get_print_value): Move "gdbarch" to block | |
1396 | scope that uses it. | |
1397 | ||
dbaed385 JB |
1398 | 2016-07-20 John Baldwin <[email protected]> |
1399 | ||
1400 | * fbsd-nat.c (fbsd_enable_proc_events): Enable "PTRACE_VFORK" | |
1401 | events. | |
1402 | (fbsd_pending_vfork_done): Only define if "PTRACE_VFORK" is not | |
1403 | defined. | |
1404 | (fbsd_add_vfork_done): Likewise. | |
1405 | (fbsd_is_vfork_done_pending): Likewise. | |
1406 | (fbsd_next_vfork_done): Likewise. | |
1407 | (fbsd_resume): Only ignore pending vfork done events if | |
1408 | "PTRACE_VFORK" is not defined. | |
1409 | (fbsd_wait): Only look for pending vfork done events if | |
1410 | "PTRACE_VFORK" is not defined. | |
1411 | [PTRACE_VFORK]: Handle "PL_FLAG_VFORKED" and "PL_FLAG_VFORK_DONE" | |
1412 | events. | |
1413 | (fbsd_follow_fork): Only fake a vfork done event if "PTRACE_VFORK" | |
1414 | is not defined. | |
1415 | ||
5fa14c6b JB |
1416 | 2016-07-20 John Baldwin <[email protected]> |
1417 | ||
1418 | * fbsd-nat.c (fbsd_wait): Use "fbsd_enable_proc_events" on | |
1419 | new child processes. | |
1420 | ||
da95a26c JB |
1421 | 2016-07-20 John Baldwin <[email protected]> |
1422 | ||
1423 | * fbsd-nat.c (fbsd_enable_lwp_events): Remove function. | |
1424 | (fbsd_enable_proc_events): New function. | |
1425 | (fbsd_enable_follow_fork): Remove function. | |
1426 | (fbsd_post_startup_inferior): Use "fbsd_enable_proc_events". | |
1427 | (fbsd_post_attach): Likewise. | |
1428 | ||
bc7b765a JB |
1429 | 2016-07-15 John Baldwin <[email protected]> |
1430 | ||
1431 | * common/signals.c (gdb_signal_from_host): Handle SIGLIBRT. | |
1432 | (do_gdb_signal_to_host): Likewise. | |
1433 | * infrun.c (_initialize_infrun): Pass GDB_SIGNAL_LIBRT through to | |
1434 | programs. | |
1435 | * proc-events.c (signal_table): Add entry for SIGLIBRT. | |
1436 | ||
7f131b39 TT |
1437 | 2016-07-14 Tom Tromey <[email protected]> |
1438 | ||
1439 | * python/py-breakpoint.c (gdbpy_breakpoint_deleted): Add missing | |
1440 | newline. | |
1441 | ||
78cc6c2d TT |
1442 | 2016-07-14 Tom Tromey <[email protected]> |
1443 | ||
1444 | * mips-tdep.c (micromips_scan_prologue): Remove "frame_addr". | |
1445 | (mips_o32_push_dummy_call): Remove "stack_used_p". | |
1446 | * aarch64-tdep.c (aarch64_record_data_proc_imm): Remove | |
1447 | "insn_bit28". | |
1448 | * rust-lang.c (rust_print_type): Remove "len". | |
1449 | * rust-exp.y (super_name): Remove "current_len". | |
1450 | * python/py-framefilter.c (py_print_type): Remove "type". | |
1451 | * mdebugread.c (parse_partial_symbols): Remove | |
1452 | "past_first_source_file". | |
1453 | <N_SO>: Remove "valu", "first_so_symnum", "prev_textlow_not_set". | |
1454 | * m2-valprint.c (m2_print_unbounded_array): Remove | |
1455 | "content_type". | |
1456 | (m2_val_print): Remove "i". | |
1457 | * linespec.c (unexpected_linespec_error): Remove "cleanup". | |
1458 | * f-valprint.c (f_val_print): Remove "i". | |
1459 | * elfread.c (elf_symtab_read): Remove "offset". | |
1460 | * dwarf2-frame.c (dwarf2_fetch_cfa_info): Remove "addr_size". | |
1461 | * jit.c (jit_dealloc_cache): Remove "i" and "frame_arch". | |
1462 | ||
ac298888 TT |
1463 | 2016-07-14 Tom Tromey <[email protected]> |
1464 | ||
1465 | * arch-utils.c (default_skip_permanent_breakpoint): Remove | |
1466 | "bp_insn". | |
1467 | * disasm.c (do_assembly_only): Remove "num_displayed". | |
1468 | * dwarf2read.c (read_abbrev_offset): Remove "length". | |
1469 | (dwarf_decode_macro_bytes) <DW_MACINFO_vendor_ext>: Remove | |
1470 | "constant". | |
1471 | * m32c-tdep.c (make_regs): Remove "r2hl", "r3hl", and "intbhl". | |
1472 | * microblaze-tdep.c (microblaze_frame_cache): Remove "func". | |
1473 | * tracefile.c (trace_save): Remove "status". | |
1474 | ||
764c99c1 TT |
1475 | 2016-07-14 Tom Tromey <[email protected]> |
1476 | ||
1477 | * symfile.c (simple_overlay_update_1): Remove initialization | |
1478 | of "size", and commented-out code. | |
1479 | (simple_overlay_update): Likewise. | |
1480 | ||
cecc8b99 TT |
1481 | 2016-07-14 Tom Tromey <[email protected]> |
1482 | ||
1483 | * tui/tui-winsource.c (tui_show_source_line): Use getcurx. | |
1484 | * tui/tui-io.c (tui_puts): Use getcurx. | |
1485 | (tui_redisplay_readline): Likewise. | |
1486 | ||
821fc4ae TT |
1487 | 2016-07-14 Tom Tromey <[email protected]> |
1488 | ||
1489 | * inflow.c (child_terminal_ours_1): Use ATTRIBUTE_UNUSED. | |
1490 | ||
537d9b85 TT |
1491 | 2016-07-14 Tom Tromey <[email protected]> |
1492 | ||
1493 | * corefile.c (reopen_exec_file): Only examine st.st_mtime if stat | |
1494 | succeeded. | |
1495 | ||
dac790e1 TT |
1496 | 2016-07-13 Tom Tromey <[email protected]> |
1497 | ||
1498 | PR python/15620, PR python/18620: | |
1499 | * python/py-evts.c (gdbpy_initialize_py_events): Call | |
1500 | add_new_registry for new events. | |
1501 | * python/py-events.h (events_object) <breakpoint_created, | |
1502 | breakpoint_deleted, breakpoint_modified>: New fields. | |
1503 | * python/py-breakpoint.c (gdbpy_breakpoint_created): Emit the | |
1504 | breakpoint changed event. | |
1505 | (gdbpy_breakpoint_deleted): Emit the breakpoint deleted event. | |
1506 | (gdbpy_breakpoint_modified): New function. | |
1507 | (gdbpy_initialize_breakpoints): Attach to the breakpoint modified | |
1508 | observer. | |
1509 | ||
93daf339 TT |
1510 | 2016-07-13 Tom Tromey <[email protected]> |
1511 | ||
1512 | PR python/17698: | |
1513 | * NEWS: Update. | |
1514 | * python/py-breakpoint.c (bppy_get_pending): New function. | |
1515 | (breakpoint_object_getset): Add entry for "pending". | |
1516 | * breakpoint.h (pending_breakpoint_p): Declare. | |
1517 | * breakpoint.c (pending_breakpoint_p): New function. | |
1518 | ||
43684a7b TT |
1519 | 2016-07-13 Tom Tromey <[email protected]> |
1520 | ||
1521 | * python/py-breakpoint.c (bppy_get_visibility) | |
1522 | (gdbpy_breakpoint_created): Use user_breakpoint_p. | |
1523 | ||
6571a381 TT |
1524 | 2016-07-13 Tom Tromey <[email protected]> |
1525 | ||
1526 | PR cli/18053: | |
1527 | * jit.c (jit_reader_load_command): Use tilde_expand. | |
1528 | (_initialize_jit): Fix help for jit-reader-unload. Set completer | |
1529 | for new commands. | |
1530 | ||
e0f3fd7c TT |
1531 | 2016-07-12 Tom Tromey <[email protected]> |
1532 | ||
1533 | PR python/19293: | |
1534 | * python/lib/gdb/command/unwinders.py (do_enable_unwinder): Call | |
1535 | gdb.invalidate_cached_frames. | |
1536 | * python/lib/gdb/unwinder.py (register_unwinder): Call | |
1537 | gdb.invalidate_cached_frames. | |
1538 | * python/python.c (gdbpy_invalidate_cached_frames): New function. | |
1539 | (python_GdbMethods): Add entry for invalidate_cached_frames. | |
1540 | ||
41c977aa WT |
1541 | 2016-07-07 Walfred Tedeschi <[email protected]> |
1542 | ||
1543 | * cp-namespace.c (cp_lookup_bare_symbol): Initialize | |
1544 | lang_this.symbol. | |
1545 | ||
4f19a0e6 WT |
1546 | 2016-07-07 Walfred Tedeschi <[email protected]> |
1547 | ||
1548 | * cp-namespace.c (cp_lookup_bare_symbol): Use language passed as | |
1549 | parameter to look for the symbol "this". | |
1550 | ||
1551 | ||
fb36c6bf JB |
1552 | 2016-07-06 John Baldwin <[email protected]> |
1553 | ||
1554 | * h8300-tdep.c (h8300_print_register): Remove extraneous parentheses. | |
1555 | ||
db297a65 JB |
1556 | 2016-07-06 John Baldwin <[email protected]> |
1557 | ||
1558 | * ada-lang.c (ada_unpack_from_contents): Use unsigned constants with | |
1559 | left shifts. | |
1560 | ||
9ca10714 JB |
1561 | 2016-07-06 John Baldwin <[email protected]> |
1562 | ||
1563 | * sh64-tdep.c (sh64_analyze_prologue): Set "uses_fp" when setting | |
1564 | the MEDIA_FP_REGNUM register. | |
1565 | ||
d66ff635 JB |
1566 | 2016-07-06 John Baldwin <[email protected]> |
1567 | ||
1568 | * score-tdep.c (score7_malloc_and_get_memblock): Remove check for | |
1569 | negative size. | |
1570 | ||
ee950322 JB |
1571 | 2016-07-06 John Baldwin <[email protected]> |
1572 | ||
1573 | * fbsd-nat.c (fbsd_is_vfork_done_pending): Fix return type. | |
1574 | ||
1040b979 YQ |
1575 | 2016-07-06 Yao Qi <[email protected]> |
1576 | ||
1577 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Don't call | |
1578 | arm_vfp_cprc_sub_candidate for static field. | |
1579 | ||
42d94011 MG |
1580 | 2016-07-06 Manish Goregaokar <[email protected]> |
1581 | ||
1582 | * rust-lang.c (rust_subscript): Allow subscripting pointers | |
1583 | ||
13cdc2af JK |
1584 | 2016-07-05 Jan Kratochvil <[email protected]> |
1585 | ||
1586 | * configure: Regenerate. | |
1587 | * configure.ac (HAVE_LIBBABELTRACE): Fix pos variable dereference. | |
1588 | ||
09c98b44 DB |
1589 | 2016-07-01 Don Breazeal <[email protected]> |
1590 | ||
1591 | * remote.c (remote_get_memory_xfer_limit): New function. | |
1592 | * target-delegates.c: Regenerate. | |
1593 | * target.c (memory_xfer_partial): Call | |
1594 | target_ops.to_get_memory_xfer_limit. | |
1595 | * target.h (struct target_ops) <to_get_memory_xfer_limit>: New | |
1596 | member. | |
1597 | ||
2c5c2a33 JB |
1598 | 2016-07-01 John Baldwin <[email protected]> |
1599 | ||
1600 | * fbsd-nat.c (struct fbsd_fork_child_info): Rename to ... | |
1601 | (struct fbsd_fork_info): ... this. | |
1602 | (struct fbsd_fork_info) <child>: Rename to ... | |
1603 | (struct fbsd_fork_info) <ptid>: ... this. | |
1604 | (fbsd_pending_children): Update type. | |
1605 | (fbsd_remember_child): Update type and field name. | |
1606 | (fbsd_is_child_pending): Likewise. | |
1607 | (fbsd_pending_vfork_done): New variable. | |
1608 | (fbsd_is_vfork_done_pending): New function. | |
1609 | (fbsd_next_vfork_done): New function. | |
1610 | (fbsd_resume): Don't resume processes with a pending vfork done | |
1611 | event. | |
1612 | (fbsd_wait): Report pending vfork done events. | |
1613 | (fbsd_follow_fork): Delay and record a pending vfork done event | |
1614 | for a vfork parent when detaching the child. | |
1615 | ||
8607ea63 JB |
1616 | 2016-07-01 John Baldwin <[email protected]> |
1617 | ||
1618 | * fbsd-nat.c (super_resume): Move earlier next to "super_wait". | |
1619 | (resume_one_thread_cb): Move below fork following helper code. | |
1620 | (resume_all_threads_cb): Likewise. | |
1621 | (fbsd_resume): Likewise. | |
1622 | ||
bb2a62e6 JB |
1623 | 2016-07-01 John Baldwin <[email protected]> |
1624 | ||
1625 | * fbsd-nat.c (fbsd_follow_fork): Only detach child if | |
1626 | "detach_fork" is true. | |
1627 | ||
5077bfff JB |
1628 | 2016-07-01 John Baldwin <[email protected]> |
1629 | ||
1630 | * x86bsd-nat.c: Include 'gdbthread.h'. | |
1631 | (x86bsd_dr_set): Set debug registers on all threads belonging to | |
1632 | the current inferior. | |
1633 | ||
a3405d12 JB |
1634 | 2016-07-01 John Baldwin <[email protected]> |
1635 | ||
1636 | * Makefile.in [HFILES_NO_SRCDIR]: Replace 'amd64bsd-nat.h' with | |
1637 | 'x86bsd-nat.h'. | |
1638 | * amd64bsd-nat.c: Include 'x86bsd-nat.h' instead of | |
1639 | 'amd64bsd-nat.h'. | |
1640 | (amd64bsd_xsave_len): Rename and move to x86bsd-nat.c. | |
1641 | (amd64bsd_fetch_inferior_registers): Replace 'amd64bsd_xsave_len' | |
1642 | with 'x86bsd_xsave_len'. | |
1643 | (amd64bsd_store_inferior_registers): Likewise. | |
1644 | (amd64bsd_target): Inherit from x86bsd_target. | |
1645 | (amd64bsd_dr_get): Rename and move to x86bsd-nat.c. | |
1646 | (amd64bsd_dr_set): Likewise. | |
1647 | (amd64bsd_dr_set_control): Likewise. | |
1648 | (amd64bsd_dr_set_addr): Likewise. | |
1649 | (amd64bsd_dr_get_addr): Likewise. | |
1650 | (amd64bsd_dr_get_status): Likewise. | |
1651 | (amd64bsd_dr_get_control): Likewise. | |
1652 | * amd64fbsd-nat.c: Include 'x86bsd-nat.h' instead of | |
1653 | 'amd64bsd-nat.h'. | |
1654 | (super_mourn_inferior): Move to x86bsd-nat.c. | |
1655 | (amd64fbsd_mourn_inferior): Rename and move to x86bsd-nat.c. | |
1656 | (amd64fbsd_read_description): Replace 'amd64bsd_xsave_len' with | |
1657 | 'x86bsd_xsave_len'. | |
1658 | (_initialize_amd64fbsd_nat): Remove x86 watchpoint setup and | |
1659 | mourn_inferior' target op. | |
1660 | * config/i386/fbsd.mh (NATDEPFILES): Add x86bsd-nat.o. | |
1661 | * config/i386/fbsd64.mh: Likewise. | |
1662 | * config/i386/nbsd64.mh: Likewise. | |
1663 | * config/i386/nbsdelf.mh: Likewise. | |
1664 | * config/i386/obsd.mh: Likewise. | |
1665 | * config/i386/obsd64.mh: Likewise. | |
1666 | * i386bsd-nat.c: Include 'x86bsd-nat.h'. | |
1667 | (i386bsd_xsave_len): Rename and move to x86bsd-nat.c. | |
1668 | (i386bsd_fetch_inferior_registers): Replace 'i386bsd_xsave_len' | |
1669 | with 'x86bsd_xsave_len'. | |
1670 | (i386bsd_store_inferior_registers): Likewise. | |
1671 | (i386bsd_target): Inherit from x86bsd_target. | |
1672 | (i386bsd_dr_get): Rename and move to x86bsd-nat.c. | |
1673 | (i386bsd_dr_set): Likewise. | |
1674 | (i386bsd_dr_set_control): Likewise. | |
1675 | (i386bsd_dr_set_addr): Likewise. | |
1676 | (i386bsd_dr_get_addr): Likewise. | |
1677 | (i386bsd_dr_get_status): Likewise. | |
1678 | (i386bsd_dr_get_control): Likewise. | |
1679 | * i386bsd-nat.h (i386bsd_xsave_len): Remove. | |
1680 | (i386bsd_dr_set_control): Remove. | |
1681 | (i386bsd_dr_set_addr): Remove. | |
1682 | (i386bsd_dr_get_addr): Remove. | |
1683 | (i386bsd_dr_get_status): Remove. | |
1684 | (i386bsd_dr_get_control): Remove. | |
1685 | * i386fbsd-nat.c: Include 'x86bsd-nat.h'. | |
1686 | (i386fbsd_read_description): Replace 'i386bsd_xsave_len' with | |
1687 | 'x86bsd_xsave_len'. | |
1688 | (_initialize_i386fbsd_nat): Remove x86 watchpoint setup and | |
1689 | mourn_inferior' target op. | |
1690 | * x86bsd-nat.c: New file. | |
1691 | * x86bsd-nat.h: New file. | |
1692 | ||
20aa2c60 PA |
1693 | 2016-07-01 Pedro Alves <[email protected]> |
1694 | Tom Tromey <[email protected]> | |
1695 | ||
1696 | * jit.c (jit_reader_load_command): Call reinit_frame_cache and | |
1697 | jit_inferior_created_hook. | |
1698 | (jit_reader_unload_command): Call reinit_frame_cache and | |
1699 | jit_inferior_exit_hook. | |
1700 | * jit.c (struct jit_unwind_private) <registers>: Delete field. | |
1701 | <regcache>: New field. | |
1702 | (jit_unwind_reg_set_impl): Set the register's value in the | |
1703 | regcache. Free the passed-in gdb_reg_value. | |
1704 | (jit_dealloc_cache): Adjust to free the regcache. | |
1705 | (jit_frame_sniffer): Allocate a regcache instead of an array of | |
1706 | gdb_reg_value pointers. | |
1707 | (jit_frame_this_id): Adjust. | |
1708 | (jit_frame_prev_register): Read raw registers off of the regcache | |
1709 | instead of from the gdb_reg_value pointer array. Use | |
1710 | gdbarch_pseudo_register_read_value to read pseudo registers. | |
1711 | * regcache.c (regcache_raw_set_cached_value): New function, | |
1712 | factored out from ... | |
1713 | (regcache_raw_write): ... here. | |
1714 | * regcache.h (regcache_raw_set_cached_value): Declare. | |
1715 | ||
ced2dffb PA |
1716 | 2016-07-01 Pedro Alves <[email protected]> |
1717 | Antoine Tremblay <[email protected]> | |
1718 | ||
1719 | * inf-ptrace.c (inf_ptrace_detach_success): New function, factored | |
1720 | out from ... | |
1721 | (inf_ptrace_detach): ... here. | |
1722 | * inf-ptrace.h (inf_ptrace_detach_success): New declaration. | |
1723 | * linux-nat.c (get_pending_status): Rename to ... | |
1724 | (get_detach_signal): ... this, and return a host signal instead of | |
1725 | filling in a wait status. | |
1726 | (detach_one_lwp): New function, factored out from detach_callback | |
1727 | and adjusted to handle detaching from a zombie thread. | |
1728 | (detach_callback): Skip the leader thread. | |
1729 | (linux_nat_detach): No longer defer to inf_ptrace_detach to detach | |
1730 | the leader thread, nor build a signal string to pass down. | |
1731 | Instead, use target_announce_detach, detach_one_lwp and | |
1732 | inf_ptrace_detach_success. | |
1733 | ||
63000888 PA |
1734 | 2016-07-01 Pedro Alves <[email protected]> |
1735 | ||
1736 | * breakpoint.c (breakpoint_init_inferior): Discard watchpoint | |
1737 | locations. | |
1738 | * infcmd.c (detach_command): Call breakpoint_init_inferior. | |
1739 | ||
0f48b757 PA |
1740 | 2016-07-01 Pedro Alves <[email protected]> |
1741 | ||
1742 | * darwin-nat.c (darwin_detach): Use target_announce_detach. | |
1743 | * inf-ptrace.c (inf_ptrace_detach): Likewise. | |
1744 | * nto-procfs.c (procfs_detach): Likewise. | |
1745 | * remote.c (remote_detach_1): Likewise. | |
1746 | * target.c (target_announce_detach): New function. | |
1747 | * target.h (target_announce_detach): New declaration. | |
1748 | ||
803b47e5 TT |
1749 | 2016-06-29 Tom Tromey <[email protected]> |
1750 | ||
1751 | PR python/20129: | |
1752 | * python/lib/gdb/command/frame_filters.py (_do_enable_frame_filter) | |
1753 | (SetFrameFilterPriority._set_filter_priority): Use "frame_filter", | |
1754 | not "name". | |
1755 | ||
9d78f827 TT |
1756 | 2016-06-29 Tom Tromey <[email protected]> |
1757 | ||
1758 | PR gdb/17210: | |
1759 | * target.c (free_memory_read_result_vector): Take a pointer to the | |
1760 | VEC as an argument. | |
1761 | (read_memory_robust): Install a cleanup for "result". | |
1762 | * mi/mi-main.c (mi_cmd_data_read_memory_bytes): Update. | |
1763 | ||
a405c228 MG |
1764 | 2016-06-29 Manish Goregaokar <[email protected]> |
1765 | ||
9bf74fb2 MG |
1766 | * rust-lang.c (rust_get_disr_info): Initialize saveptr to NULL. |
1767 | ||
1768 | 2016-06-29 Manish Goregaokar <[email protected]> | |
1769 | ||
a405c228 MG |
1770 | * rust-lang.c (rust_get_disr_info): Use strtok_r instead of strsep. |
1771 | ||
2ac09a5b YQ |
1772 | 2016-06-28 Yao Qi <[email protected]> |
1773 | ||
1774 | * aarch64-tdep.c (aarch64_displaced_step_b): Use int64_t for | |
1775 | variable new_offset. | |
1776 | ||
921d8f54 MG |
1777 | 2016-06-27 Manish Goregaokar <[email protected]> |
1778 | ||
6763d566 | 1779 | * rust-lang.c (rust_print_type, rust_decorations): Print unit |
0b08e1f3 PA |
1780 | types as "()". |
1781 | (rust_print_type): Omit return type for functions returning unit. | |
921d8f54 | 1782 | |
f4952523 PMR |
1783 | 2016-06-25 Pierre-Marie de Rodat <[email protected]> |
1784 | ||
1785 | * python/py-breakpoint.c (bppy_init): Clear bppy_pending_object | |
1786 | when there is an error during the breakpoint creation. | |
1787 | ||
9e8a8ea8 TT |
1788 | 2016-06-25 Tom Tromey <[email protected]> |
1789 | ||
1790 | * rust-lang.c (rust_get_disr_info, rust_print_type): Fix | |
1791 | formatting. | |
1792 | ||
b5a4b3c5 MG |
1793 | 2016-06-25 Manish Goregaokar <[email protected]> |
1794 | ||
1795 | PR gdb/20239 | |
1796 | * rust-lang.c (rust_get_disr_info): Correctly interpret | |
1797 | NonZero-optimized enums of arbitrary depth. | |
1798 | (rust_print_type): Correctly print NonZero-optimized | |
1799 | enums. | |
1800 | ||
6b850546 DT |
1801 | 2016-06-24 David Taylor <[email protected]> |
1802 | ||
1803 | PR gdb/17520 Structure offset wrong when 1/4 GB or greater. | |
1804 | * c-lang.h: Change all parameters, variables, and struct or union | |
1805 | members used as struct or union fie3ld offsets from int to | |
1806 | LONGEST. | |
1807 | * c-valprint.c: Likewise. | |
1808 | * cp-abi.c: Likewise. | |
1809 | * cp-abi.h: Likewise. | |
1810 | * cp-valprint.c: Likewise. | |
1811 | * d-valprint.c: Likewise. | |
1812 | * dwarf2loc.c: Likewise. | |
1813 | * eval.c: Likewise. | |
1814 | * extension-priv.h: Likewise. | |
1815 | * extension.c: Likewise. | |
1816 | * extension.h: Likewise. | |
1817 | * findvar.c: Likewise. | |
1818 | * gdbtypes.h: Likewise. | |
1819 | * gnu-v2-abi.c: Likewise. | |
1820 | * gnu-v3-abi.c: Likewise. | |
1821 | * go-valprint.c: Likewise. | |
1822 | * guile/guile-internal.h: Likewise. | |
1823 | * guile/scm-pretty-print.c: Likewise. | |
1824 | * jv-valprint.c Likewise. | |
1825 | * opencl-lang.c: Likewise. | |
1826 | * p-lang.h: Likewise. | |
1827 | * python/py-prettyprint.c: Likewise. | |
1828 | * python/python-internal.h: Likewise. | |
1829 | * spu-tdep.c: Likewise. | |
1830 | * typeprint.c: Likewise. | |
1831 | * valarith.c: Likewise. | |
1832 | * valops.c: Likewise. | |
1833 | * valprint.c: Likewise. | |
1834 | * valprint.h: Likewise. | |
1835 | * value.c: Likewise. | |
1836 | * value.h: Likewise. | |
1837 | * p-valprint.c: Likewise. | |
1838 | * c-typeprint.c (c_type_print_base): When printing offset, use | |
1839 | plongest, not %d. | |
1840 | * gdbtypes.c (recursive_dump_type): Ditto. | |
1841 | ||
2907f414 DT |
1842 | 2016-06-24 David Taylor <[email protected]> |
1843 | ||
1844 | * MAINTAINERS (Write After Approval): Add David Taylor. | |
1845 | ||
e6cdd38e JB |
1846 | 2016-06-24 John Baldwin <[email protected]> |
1847 | ||
1848 | * configure.ac: Check for support for system call LWP fields on | |
1849 | FreeBSD. | |
1850 | * config.in, configure: Rebuild. | |
1851 | * data-directory/Makefile.in (SYSCALLS_FILES): Add freebsd.xml. | |
1852 | * fbsd-nat.c (fbsd_wait) [HAVE_STRUCT_PTRACE_LWPINFO_PL_SYSCALL_CODE]: | |
1853 | Report system call events. | |
1854 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_SYSCALL_CODE] | |
1855 | (fbsd_set_syscall_catchpoint): New function. | |
1856 | (fbsd_nat_add_target) [HAVE_STRUCT_PTRACE_LWPINFO_PL_SYSCALL_CODE]: | |
1857 | Set "to_set_syscall_catchpoint" to "fbsd_set_syscall_catchpoint". | |
1858 | * fbsd-tdep.c: Include xml-syscall.h | |
1859 | (fbsd_get_syscall_number): New function. | |
1860 | (fbsd_init_abi): Set XML system call file name. | |
1861 | Add "get_syscall_number" gdbarch method. | |
1862 | * syscalls/freebsd.xml: New file. | |
1863 | ||
82372b2f JB |
1864 | 2016-06-24 John Baldwin <[email protected]> |
1865 | ||
1866 | * fbsd-tdep.c: Include "auxv.h". | |
1867 | (fbsd_print_auxv_entry): New function. | |
1868 | (fbsd_init_abi): Install gdbarch "print_auxv_entry" method. | |
1869 | ||
2faa3447 JB |
1870 | 2016-06-24 John Baldwin <[email protected]> |
1871 | ||
1872 | * auxv.c (fprint_auxv_entry): New function. | |
1873 | (default_print_auxv_entry): New function. | |
1874 | (fprint_target_auxv): Use gdbarch_print_auxv_entry. | |
1875 | * auxv.h (enum auxv_format): New enum. | |
1876 | (fprint_auxv_entry): Declare. | |
1877 | (default_print_auxv_entry): Declare. | |
1878 | * gdbarch.sh (print_auxv_entry): New. | |
1879 | * gdbarch.c, gdbarch.h: Re-generated. | |
1880 | ||
7697fc9e JB |
1881 | 2016-06-24 John Baldwin <[email protected]> |
1882 | ||
1883 | * fbsd-nat.c [KERN_PROC_AUXV] New variable super_xfer_partial. | |
1884 | (fbsd_xfer_partial): New function. | |
1885 | (fbsd_nat_add_target) [KERN_PROC_AUXV] Set "to_xfer_partial" to | |
1886 | "fbsd_xfer_partial". | |
1887 | ||
8b302db8 TT |
1888 | 2016-06-23 Tom Tromey <[email protected]> |
1889 | ||
1890 | * symtab.c (symbol_find_demangled_name): Loop over languages and | |
1891 | use language_sniff_from_mangled_name. | |
1892 | * rust-lang.c (rust_sniff_from_mangled_name): New function. | |
1893 | (rust_language_defn): Update. | |
1894 | * p-lang.c (pascal_language_defn): Update. | |
1895 | * opencl-lang.c (opencl_language_defn): Update. | |
1896 | * objc-lang.c (objc_sniff_from_mangled_name): New function. | |
1897 | (objc_language_defn): Update. | |
1898 | * m2-lang.c (m2_language_defn): Update. | |
1899 | * language.h (struct language_defn) <la_sniff_from_mangled_name>: New | |
1900 | field. | |
1901 | (language_sniff_from_mangled_name): Declare. | |
1902 | * language.c (language_sniff_from_mangled_name): New function. | |
1903 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
1904 | Update. | |
1905 | * jv-lang.c (java_sniff_from_mangled_name): New function. | |
1906 | (java_language_defn): Use it. | |
1907 | * go-lang.c (go_sniff_from_mangled_name): New function. | |
1908 | (go_language_defn): Use it. | |
1909 | * f-lang.c (f_language_defn): Update. | |
1910 | * defs.h (enum language): Reorder. | |
1911 | * d-lang.c (d_sniff_from_mangled_name): New function. | |
1912 | (d_language_defn): Use it. | |
1913 | * cp-support.h (gdb_sniff_from_mangled_name): Declare. | |
1914 | * cp-support.c (gdb_sniff_from_mangled_name): New function. | |
1915 | * c-lang.c (c_language_defn, cplus_language_defn) | |
1916 | (asm_language_defn, minimal_language_defn): Update. | |
1917 | * ada-lang.c (ada_sniff_from_mangled_name): New function. | |
1918 | (ada_language_defn): Use it. | |
1919 | ||
56618e20 TT |
1920 | 2016-06-23 Tom Tromey <[email protected]> |
1921 | ||
1922 | * ada-lang.c (ada_extensions): New array. | |
1923 | (ada_language_defn): Use it. | |
1924 | * c-lang.c (c_extensions): New array. | |
1925 | (c_language_defn): Use it. | |
1926 | (cplus_extensions): New array. | |
1927 | (cplus_language_defn): Use it. | |
1928 | (asm_extensions): New array. | |
1929 | (asm_language_defn): Use it. | |
1930 | (minimal_language_defn): Update. | |
1931 | * d-lang.c (d_extensions): New array. | |
1932 | (d_language_defn): Use it. | |
1933 | * f-lang.c (f_extensions): New array. | |
1934 | (f_language_defn): Use it. | |
1935 | * go-lang.c (go_language_defn): Update. | |
1936 | * jv-lang.c (java_extensions): New array. | |
1937 | (java_language_defn): Use it. | |
1938 | * language.c (add_language): Call add_filename_language. | |
1939 | (unknown_language_defn, auto_language_defn, local_language_defn): | |
1940 | Update. | |
1941 | * language.h (struct language_defn) <la_filename_extensions>: New | |
1942 | field. | |
1943 | * m2-lang.c (m2_language_defn): Update. | |
1944 | * objc-lang.c (objc_extensions): New array. | |
1945 | (objc_language_defn): Use it. | |
1946 | * opencl-lang.c (opencl_language_defn): Update. | |
1947 | * p-lang.c (p_extensions): New array. | |
1948 | (pascal_language_defn): Use it. | |
1949 | * rust-lang.c (rust_extensions): New array. | |
1950 | (rust_language_defn): Use it. | |
1951 | * symfile.c (add_filename_language): No longer static. Make "ext" | |
1952 | const. | |
1953 | (init_filename_language_table): Remove. | |
1954 | (_initialize_symfile): Update. | |
1955 | * symfile.h (add_filename_language): Declare. | |
1956 | ||
3fcf0b0d TT |
1957 | 2016-06-23 Tom Tromey <[email protected]> |
1958 | ||
1959 | * symfile.c (filename_language_table): Now a VEC. | |
1960 | (fl_table_size, fl_table_next): Remove. | |
1961 | (add_filename_language): Use VEC_safe_push. | |
1962 | (set_ext_lang_command, info_ext_lang_command) | |
1963 | (deduce_language_from_filename): Use VEC_iterate. | |
1964 | (init_filename_language_table): Use VEC_empty. | |
1965 | ||
0c72ed4c TT |
1966 | 2016-06-23 Tom Tromey <[email protected]> |
1967 | ||
1968 | * python/python.c (gdbpy_parameter): Now static. | |
1969 | * python/python-internal.h (gdbpy_parameter): Don't declare. | |
1970 | ||
17621150 TT |
1971 | 2016-06-23 Tom Tromey <[email protected]> |
1972 | ||
1973 | PR gdb/16483: | |
1974 | * python/lib/gdb/command/frame_filters.py | |
1975 | (InfoFrameFilter.list_frame_filters): Rename to print_list. Print | |
1976 | nothing if no filters found. Return value indicating whether | |
1977 | filters were printed. | |
1978 | (InfoFrameFilter.print_list): Remove. | |
1979 | (InfoFrameFilter.invoke): Print message if no frame filters | |
1980 | found. | |
1981 | ||
04d59df6 WT |
1982 | 2016-06-21 Walfred Tedeschi <[email protected]> |
1983 | ||
1984 | * f-valprint.c (f_val_print): Add field names for printing | |
1985 | derived types fields. | |
1986 | ||
34a60ddb AA |
1987 | 2016-06-21 Andreas Arnez <[email protected]> |
1988 | ||
1989 | * s390-linux-tdep.c (s390_iterate_over_regset_sections): Fix typo | |
1990 | in name of last-break regset. | |
1991 | ||
49940788 PA |
1992 | 2016-06-21 Pedro Alves <[email protected]> |
1993 | ||
1994 | * fork-child.c (fork_inferior): Switch the child to the main UI | |
1995 | right after vfork. Save/restore the current UI in the parent. | |
1996 | Flush outputs of the main UI instead of the current UI. | |
1997 | ||
468afe6c PA |
1998 | 2016-06-21 Pedro Alves <[email protected]> |
1999 | ||
2000 | * breakpoint.c (watchpoint_check): Send watchpoint-deleted output | |
2001 | to all UIs. | |
2002 | ||
86f78169 PA |
2003 | 2016-06-21 Pedro Alves <[email protected]> |
2004 | ||
2005 | * NEWS: Mention support for running interpreters on separate | |
2006 | UIs and the new new-ui command. | |
2007 | ||
60eb5395 PA |
2008 | 2016-06-21 Pedro Alves <[email protected]> |
2009 | ||
2010 | * interps.c (set_top_level_interpreter): New function, factored | |
2011 | out from captured_main. | |
2012 | (interpreter_completer): Make extern. | |
2013 | * interps.h (set_top_level_interpreter, interpreter_completer): | |
2014 | New declarations. | |
2015 | (captured_main): Use set_top_level_interpreter. | |
2016 | * top.c [!O_NOCTTY] (O_NOCTTY): Define as 0. | |
2017 | (open_terminal_stream, new_ui_command): New functions. | |
2018 | (init_main): Install the "new-ui" command. | |
2019 | ||
268a799a PA |
2020 | 2016-06-21 Pedro Alves <[email protected]> |
2021 | ||
2022 | * cli/cli-script.c (read_next_line): Adjust to per-UI stdin. | |
2023 | (read_command_lines): Use input_interactive_p instead of | |
2024 | input_from_terminal_p. | |
2025 | * defs.h (struct ui): Forward declare. | |
2026 | (input_from_terminal_p): Rename to ... | |
2027 | (input_interactive_p): ... this. | |
2028 | * event-top.c (stdin_event_handler): Pass 0 as from_tty argument | |
2029 | to quit_command. | |
2030 | (command_handler): Adjust to per-UI stdin. | |
2031 | (handle_line_of_input): Adjust to per-UI stdin and use | |
2032 | input_interactive_p instead of ISATTY and input_from_terminal_p. | |
2033 | (gdb_readline_no_editing_callback): Adjust to per-UI stdin. | |
2034 | (command_line_handler): Always pass true as "from_tty" parameter | |
2035 | of handle_line_of_input and execute_command. | |
2036 | (async_sigterm_handler): Pass 0 as from_tty argument to | |
2037 | quit_command. | |
2038 | * inflow.c (interactive_mode, show_interactive_mode): Moved to ... | |
2039 | (gdb_has_a_terminal): Don't check interactive_mode here. | |
2040 | (_initialize_inflow): Don't install "set interactive-mode" here. | |
2041 | * main.c (captured_command_loop): Adjust to per-UI stdin. | |
2042 | * mi/mi-interp.c (mi_execute_command_wrapper): Adjust to per-UI | |
2043 | stdin. | |
2044 | * top.c (new_ui): Save the stdin stream and whether it's a tty. | |
2045 | (dont_repeat): Adjust to per-UI stdin. | |
2046 | (command_line_input): Adjust to per-UI stdin and to use | |
2047 | input_interactive_p. | |
2048 | (quit_force): Write history if any UI supports interactive input. | |
2049 | (interactive_mode, show_interactive_mode): Move here, from | |
2050 | inflow.c. | |
2051 | (input_from_terminal_p): Rename to ... | |
2052 | (input_interactive_p): ... this, and check the "interactive_mode" | |
2053 | global instead of calling gdb_has_a_terminal. | |
2054 | (_initialize_top): Install "set interactive-mode" here. | |
2055 | * top.h (struct ui) <stdin_stream, input_interactive_p>: New | |
2056 | fields. | |
2057 | * utils.c (quit): Pass 0 as from_tty argument to quit_force. | |
2058 | (defaulted_query): Adjust to per-UI stdin and to use | |
2059 | input_interactive_p. | |
2060 | ||
07169ff7 PA |
2061 | 2016-06-21 Pedro Alves <[email protected]> |
2062 | ||
2063 | * event-top.c (stdin_event_handler): Don't quit gdb if it was a | |
2064 | secondary UI's input stream that closed. Instead, just delete the | |
2065 | UI. | |
2066 | ||
98d9f24e PA |
2067 | 2016-06-21 Pedro Alves <[email protected]> |
2068 | ||
2069 | * event-top.c (main_ui_): Delete. | |
2070 | (main_ui, current_ui, ui_list): No longer initialize here. | |
2071 | * main.c (captured_main): UI initialization code factored out to | |
2072 | new new_ui function. | |
2073 | (gdb_main): Wrap captured_main with TRY/CATCH instead of | |
2074 | catch_errors. | |
2075 | * top.c (highest_ui_num): New global. | |
2076 | (new_ui): New function. | |
2077 | * top.h (struct ui) <num>: New field. | |
2078 | (new_ui): New declaration. | |
2079 | ||
eaae60fd PA |
2080 | 2016-06-21 Pedro Alves <[email protected]> |
2081 | ||
2082 | * cli/cli-interp.c (cli_on_normal_stop): Bail out early if there's | |
2083 | nothing to print. Use should_print_stop_to_console. | |
2084 | * tui/tui-interp.c (tui_on_normal_stop): Likewise. | |
2085 | ||
8980e177 PA |
2086 | 2016-06-21 Pedro Alves <[email protected]> |
2087 | ||
2088 | * breakpoint.c (new_until_break_fsm): Add 'cmd_interp' parameter. | |
2089 | (until_break_fsm_should_stop, until_break_fsm_clean_up): Add | |
2090 | thread parameter. | |
2091 | (until_break_command): Pass command interpreter to thread fsm | |
2092 | ctor. | |
2093 | * cli/cli-interp.c (should_print_stop_to_console): Adjust. | |
2094 | * gdbthread.h (struct thread_control_state) <command_interp>: | |
2095 | Delete field. | |
2096 | * infcall.c (new_call_thread_fsm): Add 'cmd_interp' parameter. | |
2097 | Pass it down. | |
2098 | (call_thread_fsm_should_stop): Add thread parameter. | |
2099 | (call_function_by_hand_dummy): Pass command interpreter to thread | |
2100 | fsm ctor. Pass thread pointer to fsm clean up method. | |
2101 | * infcmd.c: Include interps.h. | |
2102 | (struct step_command_fsm) <thread>: Delete field. | |
2103 | (new_step_command_fsm): Add 'cmd_interp' parameter. Pass it down. | |
2104 | (step_command_fsm_prepare): Remove references to fsm's thread | |
2105 | field. | |
2106 | (step_1): Pass command interpreter to thread | |
2107 | fsm ctor. Pass thread pointer to fsm clean up method. | |
2108 | (step_command_fsm_should_stop, step_command_fsm_clean_up): Add | |
2109 | thread parameter and use it. | |
2110 | (new_until_next_fsm): Add 'cmd_interp' parameter. Pass it down. | |
2111 | (until_next_fsm_should_stop, until_next_fsm_clean_up): Add thread | |
2112 | parameter and use it. | |
2113 | (until_next_command): Pass command interpreter to thread fsm ctor. | |
2114 | (struct finish_command_fsm) <thread>: Delete field. | |
2115 | (finish_command_fsm_ops): Add NULL slot for should_notify_stop. | |
2116 | (new_finish_command_fsm): Add 'cmd_interp' parameter and pass it | |
2117 | down. Remove thread parameter and adjust. | |
2118 | (finish_command_fsm_should_stop, finish_command_fsm_clean_up): Add | |
2119 | thread parameter and use it. | |
2120 | (finish_command): Pass command interpreter to thread fsm ctor. | |
2121 | Don't pass thread. | |
2122 | * infrun.c (follow_fork): Move thread fsm to child fork instead of | |
2123 | command interpreter, only. | |
2124 | (clear_proceed_status_thread): Remove reference to command_interp. | |
2125 | (proceed): Don't record the thread's command interpreter. | |
2126 | (clean_up_just_stopped_threads_fsms): Pass thread to fsm clean_up | |
2127 | method. | |
2128 | (fetch_inferior_event): Pass thread to fsm should_stop method. | |
2129 | * thread-fsm.c (thread_fsm_ctor): Add 'cmd_interp' parameter. | |
2130 | Store it. | |
2131 | (thread_fsm_clean_up, thread_fsm_should_stop): Add thread | |
2132 | parameter and pass it down. | |
2133 | * thread-fsm.h (struct thread_fsm) <command_interp>: New field. | |
2134 | (struct thread_fsm_ops) <clean_up, should_stop>: Add thread | |
2135 | parameter. | |
2136 | (thread_fsm_ctor): Add 'cmd_interp' parameter. | |
2137 | (thread_fsm_clean_up, thread_fsm_should_stop): Add thread | |
2138 | parameter. | |
2139 | * thread.c (thread_cancel_execution_command): Pass thread to | |
2140 | thread fsm clean_up method. | |
2141 | ||
26cde2cc PA |
2142 | 2016-06-21 Pedro Alves <[email protected]> |
2143 | ||
2144 | * cli/cli-interp.c: Include gdbthread.h and thread-fsm.h. | |
2145 | (should_print_stop_to_console): New function, factored out from | |
2146 | mi_on_normal_stop_1. | |
2147 | * cli/cli-interp.h (should_print_stop_to_console): Declare. | |
2148 | * mi/mi-interp.c (mi_on_normal_stop_1): Use | |
2149 | should_print_stop_to_console. Pass it the current UI's console | |
2150 | interpreter. | |
2151 | * mi/mi-main.c (captured_mi_execute_command): Use the | |
2152 | INTERP_CONSOLE symbol rather than explicit "console". | |
2153 | ||
a8836c93 PA |
2154 | 2016-06-21 Pedro Alves <[email protected]> |
2155 | ||
2156 | * infcmd.c (prepare_execution_command): Use | |
2157 | all_uis_on_sync_execution_starting. | |
2158 | * infrun.c (all_uis_on_sync_execution_starting): New function. | |
2159 | * infrun.h (all_uis_on_sync_execution_starting): Declare. | |
2160 | ||
3b12939d PA |
2161 | 2016-06-21 Pedro Alves <[email protected]> |
2162 | ||
2163 | * annotate.c: Include top.h. | |
2164 | (async_background_execution_p): Delete. | |
2165 | (print_value_flags): Check the UI's prompt state rather then | |
2166 | async_background_execution_p. | |
2167 | * event-loop.c (start_event_loop): Set the prompt state to | |
2168 | PROMPT_NEEDED. | |
2169 | * event-top.c (display_gdb_prompt, async_enable_stdin) | |
2170 | (async_disable_stdin): Check the current UI's prompt state instead | |
2171 | of the sync_execution global. | |
2172 | (command_line_handler): Set the prompt state to PROMPT_NEEDED | |
2173 | before running a command, and display the prompt if still needed | |
2174 | afterwards. | |
2175 | * infcall.c (struct call_thread_fsm) <waiting_ui>: New field. | |
2176 | (new_call_thread_fsm): New parameter 'waiting_ui'. Store it. | |
2177 | (call_thread_fsm_should_stop): Set the prompt state to | |
2178 | PROMPT_NEEDED. | |
2179 | (run_inferior_call): Adjust to temporarily set the prompt state to | |
2180 | PROMPT_BLOCKED instead of using the sync_execution global. | |
2181 | (call_function_by_hand_dummy): Pass the current UI to | |
2182 | new_call_thread_fsm. | |
2183 | * infcmd.c: Include top.h. | |
2184 | (continue_1): Check the current UI's prompt state instead of the | |
2185 | sync_execution global. | |
2186 | (continue_command): Validate global execution state before calling | |
2187 | prepare_execution_command. | |
2188 | (step_1): Call all_uis_check_sync_execution_done. | |
2189 | (attach_post_wait): Don't call async_enable_stdin here. Remove | |
2190 | reference to sync_execution. | |
2191 | * infrun.c (sync_execution): Delete global. | |
2192 | (follow_fork_inferior) | |
2193 | (reinstall_readline_callback_handler_cleanup): Check the current | |
2194 | UI's prompt state instead of the sync_execution global. | |
2195 | (check_curr_ui_sync_execution_done) | |
2196 | (all_uis_check_sync_execution_done): New functions. | |
2197 | (fetch_inferior_event): Call all_uis_check_sync_execution_done | |
2198 | instead of trying to determine whether the global sync execution | |
2199 | changed. | |
2200 | (handle_no_resumed): Check the prompt state of all UIs. | |
2201 | (normal_stop): Emit the no unwait-for even to all PROMPT_BLOCKED | |
2202 | UIs. Emit the "Switching to" notification to all UIs. Enable | |
2203 | stdin in all UIs. | |
2204 | * infrun.h (sync_execution): Delete. | |
2205 | (all_uis_check_sync_execution_done): Declare. | |
2206 | * main.c (captured_command_loop): Don't call | |
2207 | interp_pre_command_loop if the prompt is blocked. | |
2208 | (catch_command_errors, catch_command_errors_const): Adjust. | |
2209 | (captured_main): Set the initial prompt state to PROMPT_NEEDED. | |
2210 | * mi/mi-interp.c (display_mi_prompt): Set the prompt state to | |
2211 | PROMPTED. | |
2212 | (mi_interpreter_resume): Don't clear sync_execution. Remove hack | |
2213 | comment. | |
2214 | (mi_execute_command_input_handler): Set the prompt state to | |
2215 | PROMPT_NEEDED before executing the command, and only display the | |
2216 | prompt if the prompt state is PROMPT_NEEDED afterwards. | |
2217 | (mi_on_resume_1): Adjust to check the prompt state. | |
2218 | * target.c (target_terminal_inferior): Adjust to check the prompt | |
2219 | state. | |
2220 | * top.c (wait_sync_command_done, maybe_wait_sync_command_done) | |
2221 | (execute_command): Check the current UI's prompt state instead of | |
2222 | sync_execution. | |
2223 | * top.h (enum prompt_state): New. | |
2224 | (struct ui) <prompt_state>: New field. | |
2225 | (ALL_UIS): New macro. | |
2226 | ||
dbf30ca3 PA |
2227 | 2016-06-21 Pedro Alves <[email protected]> |
2228 | ||
2229 | * top.c (gdb_secondary_prompt_depth): Delete. | |
2230 | (gdb_in_secondary_prompt_p): Add ui parameter. Use it. | |
2231 | (gdb_readline_wrapper_cleanup, gdb_readline_wrapper): Adjust to | |
2232 | per-UI gdb_secondary_prompt_depth. | |
2233 | * top.h (struct ui) <secondary_prompt_depth>: New field. | |
2234 | ||
b2d86570 PA |
2235 | 2016-06-21 Pedro Alves <[email protected]> |
2236 | ||
2237 | * cli/cli-interp.c (cli_interpreter_pre_command_loop): New | |
2238 | function. | |
2239 | (cli_interp_procs): Install it instead of cli_command_loop. | |
2240 | * cli/cli-interp.h (cli_interpreter_pre_command_loop): Declare. | |
2241 | * event-top.c (cli_command_loop): Delete. | |
2242 | * interps.c (interp_new): Remove reference to command_loop_proc. | |
2243 | (current_interp_command_loop): Delete. | |
2244 | (interp_pre_command_loop): New function. | |
2245 | (interp_command_loop_ftype): Delete. | |
2246 | * interps.h (interp_pre_command_loop_ftype): New typedef. | |
2247 | (struct interp_procs) <command_loop_proc>: Delele field. | |
2248 | <pre_command_loop_proc>: New field. | |
2249 | (current_interp_command_loop): Delete declaration. | |
2250 | (interp_pre_command_loop): New declaration. | |
2251 | * main.c (captured_command_loop): Call interp_pre_command_loop | |
2252 | instead of current_interp_command_loop and start an event loop. | |
2253 | * mi/mi-interp.c (mi_command_loop): Delete. | |
2254 | (mi_interpreter_pre_command_loop): New. | |
2255 | (mi_interp_procs): Update. | |
2256 | * tui/tui-interp.c (tui_interp_procs): Install | |
2257 | cli_interpreter_pre_command_loop instead of cli_command_loop. | |
2258 | ||
9204d692 PA |
2259 | 2016-06-21 Pedro Alves <[email protected]> |
2260 | ||
2261 | * interps.c (current_interpreter): New function. | |
2262 | * interps.h (current_interpreter): New declaration. | |
2263 | * mi/mi-cmds.h (raw_stdout): Delete declaration. | |
2264 | * mi/mi-common.h (struct mi_interp) <raw_stdout, | |
2265 | saved_raw_stdout>: New field. | |
2266 | * mi/mi-interp.c (display_mi_prompt): New parameter 'mi'. Adjust | |
2267 | to per-UI raw_stdout. | |
2268 | (mi_interpreter_init): Adjust to per-UI raw_stdout. | |
2269 | (mi_on_sync_execution_done, mi_execute_command_input_handler) | |
2270 | (mi_command_loop): Pass MI instance to display_mi_prompt. | |
2271 | (mi_on_normal_stop_1, mi_output_running_pid, mi_on_resume_1) | |
2272 | (mi_on_resume): Adjust to per-UI raw_stdout. | |
2273 | (saved_raw_stdout): Delete. | |
2274 | (mi_set_logging): Adjust to per-UI raw_stdout and | |
2275 | saved_raw_stdout. | |
2276 | * mi/mi-main.c (raw_stdout): Delete. | |
2277 | (mi_cmd_gdb_exit, captured_mi_execute_command) | |
2278 | (mi_print_exception, mi_load_progress): Adjust to per-UI | |
2279 | raw_stdout. | |
2280 | (print_diff_now, mi_print_timing_maybe): New ui_file parameter. | |
2281 | Pass it along. | |
2282 | (print_diff): New ui_file parameter. Send output there instead of | |
2283 | raw_stdout. | |
2284 | * mi/mi-main.h (struct ui_file): Forward declare. | |
2285 | (mi_print_timing_maybe): Add ui_file parameter. | |
2286 | ||
05beb275 PA |
2287 | 2016-06-21 Pedro Alves <[email protected]> |
2288 | ||
2289 | * mi/mi-interp.c (display_mi_prompt): New function. | |
2290 | ||
215d3118 PA |
2291 | 2016-06-21 Pedro Alves <[email protected]> |
2292 | ||
2293 | * target.c (target_terminal_inferior): Bail out after | |
2294 | unregistering input_fd if not on the main UI. | |
2295 | (target_terminal_ours): Bail out after registering input_fd if not | |
2296 | on the main UI. | |
2297 | (target_terminal_ours_for_output): Bail out if not on the main UI. | |
2298 | ||
c61db772 PA |
2299 | 2016-06-21 Pedro Alves <[email protected]> |
2300 | ||
2301 | * event-top.c (restore_ui_cleanup): Make extern. | |
2302 | * infrun.c (fetch_inferior_event): Always switch to the main UI. | |
2303 | * top.h (restore_ui_cleanup): Declare. | |
2304 | ||
3c216924 PA |
2305 | 2016-06-21 Pedro Alves <[email protected]> |
2306 | ||
2307 | PR mi/20034 | |
2308 | * cli/cli-interp.c: Include cli-interp.h and event-top.h. | |
2309 | (cli_interpreter_resume): Pass 1 to gdb_setup_readline. Set the | |
2310 | UI's input_handler here. | |
2311 | (cli_interpreter_supports_command_editing): New function. | |
2312 | (cli_interp_procs): Install it. | |
2313 | * cli/cli-interp.h: New file. | |
2314 | * event-top.c (async_command_editing_p): Rename to ... | |
2315 | (set_editing_cmd_var): ... this. | |
2316 | (change_line_handler): Add parameter 'editing', and use it. Bail | |
2317 | early if the interpreter doesn't support editing. Don't touch | |
2318 | readline state if editing is off. | |
2319 | (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install) | |
2320 | (gdb_rl_callback_handler_reinstall): Assert the current UI is the | |
2321 | main UI. | |
2322 | (display_gdb_prompt): Don't call gdb_rl_callback_handler_remove if | |
2323 | not using readline. Check whether the current UI is using command | |
2324 | editing instead of checking the async_command_editing_p global. | |
2325 | (set_async_editing_command): Delete. | |
2326 | (gdb_setup_readline): Add 'editing' parameter. Only allow editing | |
2327 | on the main UI. Don't touch readline state if editing is off. | |
2328 | (gdb_disable_readline): Don't touch readline state if editing is | |
2329 | off. | |
2330 | * event-top.h (gdb_setup_readline): Add 'int' parameter. | |
2331 | (set_async_editing_command): Delete declaration. | |
2332 | (change_line_handler, command_line_handler): Declare. | |
2333 | (async_command_editing_p): Rename to ... | |
2334 | (set_editing_cmd_var): ... this. | |
2335 | * infrun.c (reinstall_readline_callback_handler_cleanup): Check | |
2336 | whether the current UI has editing enabled rather than checking | |
2337 | the async_command_editing_p global. | |
2338 | * interps.c (interp_supports_command_editing): New function. | |
2339 | * interps.h (interp_supports_command_editing_ftype): New typedef. | |
2340 | (struct interp_procs) <supports_command_editing_proc>: New field. | |
2341 | (interp_supports_command_editing): Declare. | |
2342 | * mi/mi-interp.c (mi_interpreter_resume): Pass 0 to | |
2343 | gdb_setup_readline. Don't clear the async_command_editing_p | |
2344 | global. Update comments. | |
2345 | * top.c (gdb_readline_wrapper_line, gdb_readline_wrapper): Check | |
2346 | whether the current UI has editing enabled rather than checking | |
2347 | the async_command_editing_p global. Don't touch readline state if | |
2348 | editing is off. | |
2349 | (undo_terminal_modifications_before_exit): Switch to the main UI. | |
2350 | Unconditionally call gdb_disable_readline. | |
2351 | (set_editing): New function. | |
2352 | (show_async_command_editing_p): Rename to ... | |
2353 | (show_editing): ... this. Show the state of the current UI. | |
2354 | (_initialize_top): Adjust. | |
2355 | * top.h (struct ui) <command_editing>: New field. | |
2356 | * tui/tui-interp.c: Include cli/cli-interp.h. | |
2357 | (tui_resume): Pass 1 to gdb_setup_readline. Set the UI's | |
2358 | input_handler. | |
2359 | (tui_interp_procs): Install | |
2360 | cli_interpreter_supports_command_editing. | |
2361 | * tui/tui-io.c (tui_getc): Check whether the current UI has | |
2362 | editing enabled rather than checking the async_command_editing_p | |
2363 | global. | |
2364 | ||
b6dcde57 PA |
2365 | 2016-06-21 Pedro Alves <[email protected]> |
2366 | ||
2367 | * top.c: Call gen_ret_current_ui_field_ptr for current_uiout. | |
2368 | * top.h (struct ui) <m_current_uiout>: New field. | |
2369 | * ui-out.c (current_uiout): Delete. | |
2370 | * ui-out.h (current_uiout): Delete. | |
2371 | (current_ui_current_uiout_ptr): New declaration. | |
2372 | (current_uiout): Reimplement as wrapper around | |
2373 | current_ui_current_uiout_ptr. | |
2374 | ||
23ff98d2 PA |
2375 | 2016-06-21 Pedro Alves <[email protected]> |
2376 | ||
2377 | * ui-out.c (default_ui_out_impl): Delete. | |
2378 | (def_uiout): Delete. | |
2379 | (current_uiout): Set to NULL. | |
2380 | (default_table_begin, default_table_body, default_table_end) | |
2381 | (default_table_header, default_begin, default_end) | |
2382 | (default_field_int, default_field_skip, default_field_string) | |
2383 | (default_field_fmt, default_spaces, default_text, default_message) | |
2384 | (default_wrap_hint, default_flush, default_data_destroy): Delete. | |
2385 | ||
694ec099 PA |
2386 | 2016-06-21 Pedro Alves <[email protected]> |
2387 | ||
2388 | * event-top.c (gdb_setup_readline): Pass the UI's outstream and | |
2389 | errstream to stdout_fileopen and stderr_fileopen. | |
2390 | * exceptions.c: Include top.h. | |
2391 | (print_flush): Open the current UI's outstream file descriptor, | |
2392 | instead of hardcoding file descriptor 1. | |
2393 | * main.c (captured_main): Save the main UI's out and error | |
2394 | streams. Adjust stderr_fileopen call. | |
2395 | * top.h (struct ui) <outstream, errstream>: New fields. | |
2396 | * ui-file.c (stderr_fileopen): Add stream parameter. Use it | |
2397 | instead of stderr. | |
2398 | * ui-file.h (stderr_fileopen): Add stream parameter and update | |
2399 | comment. | |
2400 | ||
41fd2b0f PA |
2401 | 2016-06-21 Pedro Alves <[email protected]> |
2402 | ||
2403 | * event-top.c (input_fd): Delete. | |
2404 | (stdin_event_handler): Switch to the UI whose input descriptor got | |
2405 | the event. Adjust to per-UI input_fd. | |
2406 | (gdb_setup_readline): Don't set the input_fd global. Adjust to | |
2407 | per-UI input_fd. | |
2408 | (gdb_disable_readline): Adjust to per-UI input_fd. | |
2409 | * event-top.h (input_fd): Delete declaration. | |
2410 | * linux-nat.c (linux_nat_terminal_inferior): Don't remove input_fd | |
2411 | from the event-loop here. | |
2412 | (linux_nat_terminal_ours): Don't register input_fd in the | |
2413 | event-loop here. | |
2414 | * main.c (captured_main): Adjust to per-UI input_fd. | |
2415 | * remote.c (remote_terminal_inferior): Don't remove input_fd from | |
2416 | the event-loop here. | |
2417 | (remote_terminal_ours): Don't register input_fd in the event-loop | |
2418 | here. | |
2419 | * target.c: Include top.h and event-top.h. | |
2420 | (target_terminal_inferior): Remove input_fd from the event-loop | |
2421 | here. | |
2422 | (target_terminal_ours): Register input_fd in the event-loop. | |
2423 | * top.h (struct ui) <input_fd>: New field. | |
2424 | ||
f38d3ad1 PA |
2425 | 2016-06-21 Pedro Alves <[email protected]> |
2426 | ||
2427 | * cli/cli-script.c (execute_user_command, read_next_line) | |
2428 | (read_next_line): Adjust to per-UI instream. | |
2429 | * event-top.c (stdin_event_handler, command_handler) | |
2430 | (handle_line_of_input, command_line_handler) | |
2431 | (gdb_readline_no_editing_callback, async_sigterm_handler) | |
2432 | (gdb_setup_readline): Likewise. | |
2433 | * inflow.c: Include top.h. | |
2434 | (gdb_has_a_terminal, child_terminal_init_with_pgrp) | |
2435 | (gdb_save_tty_state, child_terminal_inferior) | |
2436 | (child_terminal_ours_1, copy_terminal_info): Use the main UI. | |
2437 | (initialize_stdin_serial): Adjust to per-UI instream. | |
2438 | * main.c (captured_command_loop, captured_main): Adjust to per-UI | |
2439 | instream. | |
2440 | * mi/mi-interp.c (mi_execute_command_wrapper): Likewise. | |
2441 | * python/python.c (python_interactive_command): Likewise. | |
2442 | * terminal.h (struct ui): Forward declare. | |
2443 | (initialize_stdin_serial): Add struct ui parameter. | |
2444 | * top.c (instream): Delete. | |
2445 | (do_restore_instream_cleanup, read_command_file, dont_repeat) | |
2446 | (gdb_readline_no_editing, command_line_input) | |
2447 | (input_from_terminal_p, gdb_init): Adjust to per-UI instream. | |
2448 | * top.h (struct ui) <instream>: New field. | |
2449 | (instream): Delete declaration. | |
2450 | (quit): Adjust to per-UI instream. | |
2451 | ||
2452 | 2016-06-21 Pedro Alves <[email protected]> | |
2453 | ||
2454 | * event-loop.c: Include top.h. | |
2455 | (invoke_async_signal_handlers): Switch to the main UI. | |
2456 | * event-top.c (main_ui_): Update comment. | |
2457 | (main_ui): New global. | |
2458 | * top.h (main_ui): Declare. | |
2459 | ||
73ab01a0 PA |
2460 | 2016-06-21 Pedro Alves <[email protected]> |
2461 | ||
2462 | * cli/cli-interp.c (cli_interp): Delete. | |
2463 | (as_cli_interp): New function. | |
2464 | (cli_on_normal_stop, cli_on_signal_received) | |
2465 | (cli_on_end_stepping_range, cli_on_signal_exited, cli_on_exited) | |
2466 | (cli_on_no_history): Send output to all CLI UIs. | |
2467 | (cli_on_sync_execution_done, cli_on_command_error): Skip output if | |
2468 | the top level interpreter is not a CLI. | |
2469 | (cli_interpreter_init): Don't set cli_interp or install observers | |
2470 | here. | |
2471 | (_initialize_cli_interp): Install observers here. | |
2472 | * event-top.c (main_ui_, ui_list): New globals. | |
2473 | (current_ui): Point to main_ui_. | |
2474 | (restore_ui_cleanup, switch_thru_all_uis_init) | |
2475 | (switch_thru_all_uis_cond, switch_thru_all_uis_next): New | |
2476 | functions. | |
2477 | * mi/mi-interp.c (as_mi_interp): New function. | |
2478 | (mi_interpreter_init): Don't install observers here. | |
2479 | (mi_on_sync_execution_done): Skip output if the top level | |
2480 | interpreter is not a MI. | |
2481 | (mi_new_thread, mi_thread_exit, mi_record_changed) | |
2482 | (mi_inferior_added, mi_inferior_appeared, mi_inferior_exit) | |
2483 | (mi_inferior_removed): Send output to all MI UIs. | |
2484 | (find_mi_interpreter, mi_interp_data): Delete. | |
2485 | (find_mi_interp): New function. | |
2486 | (mi_on_signal_received, mi_on_end_stepping_range) | |
2487 | (mi_on_signal_exited, mi_on_exited, mi_on_no_history): Send output | |
2488 | to all MI UIs. | |
2489 | (mi_on_normal_stop): Rename to ... | |
2490 | (mi_on_normal_stop_1): ... this. | |
2491 | (mi_on_normal_stop): Reimplement, sending output to all MI UIs. | |
2492 | (mi_traceframe_changed, mi_tsv_created, mi_tsv_deleted) | |
2493 | (mi_tsv_modified, mi_breakpoint_created, mi_breakpoint_deleted) | |
2494 | (mi_breakpoint_modified, mi_output_running_pid): Send output to | |
2495 | all MI UIs. | |
2496 | (mi_on_resume): Rename to ... | |
2497 | (mi_on_resume_1): ... this. Don't handle infcalls here. | |
2498 | (mi_on_resume): Reimplement, sending output to all MI UIs. | |
2499 | (mi_solib_loaded, mi_solib_unloaded, mi_command_param_changed) | |
2500 | (mi_memory_changed): Send output to all MI UIs. | |
2501 | (report_initial_inferior): Install observers here. | |
2502 | * top.h (struct ui) <next>: New field. | |
2503 | (ui_list): Declare. | |
2504 | (struct switch_thru_all_uis): New. | |
2505 | (switch_thru_all_uis_init, switch_thru_all_uis_cond) | |
2506 | (switch_thru_all_uis_next): Declare. | |
2507 | (SWITCH_THRU_ALL_UIS): New macro. | |
2508 | * tui/tui-interp.c (tui_interp): Delete global. | |
2509 | (as_tui_interp): New function. | |
2510 | (tui_on_normal_stop, tui_on_signal_received) | |
2511 | (tui_on_end_stepping_range, tui_on_signal_exited, tui_on_exited) | |
2512 | (tui_on_no_history): Send output to all TUI UIs. | |
2513 | (tui_on_sync_execution_done, tui_on_command_error): Skip output if | |
2514 | the top level interpreter is not a TUI. | |
2515 | (tui_init): Don't set tui_interp or install observers here. | |
2516 | (_initialize_tui_interp): Install observers here. | |
2517 | ||
8322445e PA |
2518 | 2016-06-21 Pedro Alves <[email protected]> |
2519 | ||
2520 | * cli/cli-interp.c (cli_uiout): Delete, moved into ... | |
2521 | (struct cli_interp): ... this new structure. | |
2522 | (cli_on_normal_stop, cli_on_signal_received) | |
2523 | (cli_on_end_stepping_range, cli_on_signal_exited, cli_on_exited) | |
2524 | (cli_on_no_history): Use interp_ui_out. | |
2525 | (cli_interpreter_init): If top level, set the cli_interp global. | |
2526 | (cli_interpreter_init): Return the interp's data instead of NULL. | |
2527 | (cli_interpreter_resume, cli_interpreter_exec, cli_ui_out): Adjust | |
2528 | to cli_uiout being in the interpreter's data. | |
2529 | (cli_interp_procs): New, factored out from _initialize_cli_interp. | |
2530 | (cli_interp_factory): New function. | |
2531 | (_initialize_cli_interp): Call interp_factory_register. | |
2532 | * interps.c (get_interp_info): New, factored out from ... | |
2533 | (get_current_interp_info): ... this. | |
2534 | (interp_new): Add parameter 'data'. Store it. | |
2535 | (struct interp_factory): New function. | |
2536 | (interp_factory_p): New typedef. Define a VEC_P. | |
2537 | (interpreter_factories): New global. | |
2538 | (interp_factory_register): New function. | |
2539 | (interp_add): Add 'ui' parameter. Use get_interp_info and | |
2540 | interp_lookup_existing. | |
2541 | (interp_lookup): Rename to ... | |
2542 | (interp_lookup_existing): ... this. Add 'ui' parameter. Don't | |
2543 | check for NULL or empty name here. | |
2544 | (interp_lookup): Add 'ui' parameter and reimplement. | |
2545 | (interp_set_temp, interpreter_exec_cmd): Adjust. | |
2546 | (interpreter_completer): Complete on registered interpreter | |
2547 | factories instead of interpreters. | |
2548 | * interps.h (interp_factory_func): New typedef. | |
2549 | (interp_factory_register): Declare. | |
2550 | (interp_new, interp_add): Adjust. | |
2551 | (interp_lookup): Declare. | |
2552 | * main.c (captured_main): Adjust. | |
2553 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Adjust. | |
2554 | (mi_interp_procs): New, factored out from | |
2555 | _initialize_mi_interp. | |
2556 | (mi_interp_factory): New function. | |
2557 | * python/python.c (execute_gdb_command): Adjust. | |
2558 | * tui/tui-interp.c (tui_init): If top level, set the tui_interp | |
2559 | global. | |
2560 | (tui_interp_procs): New. | |
2561 | (tui_interp_factory): New function. | |
2562 | (_initialize_tui_interp): Call interp_factory_register. | |
2563 | ||
cb814510 PA |
2564 | 2016-06-21 Pedro Alves <[email protected]> |
2565 | ||
2566 | * breakpoint.c (bpstat_do_actions_1): Access the current UI's | |
2567 | async field instead of the interpreter_async global. | |
2568 | * cli/cli-script.c (execute_user_command, while_command) | |
2569 | (if_command, script_from_file): Likewise. | |
2570 | * compile/compile.c: Include top.h instead of interps.h. | |
2571 | (compile_file_command, compile_code_command) | |
2572 | (compile_print_command): Access the current UI's async field | |
2573 | instead of the interpreter_async global. | |
2574 | * guile/guile.c: Include top.h instead of interps.h. | |
2575 | (guile_repl_command, guile_command, gdbscm_execute_gdb_command): | |
2576 | Access the current UI's async field instead of the | |
2577 | interpreter_async global. | |
2578 | * guile/scm-ports.c: Include top.h instead of interps.h. | |
2579 | (ioscm_with_output_to_port_worker): Access the current UI's async | |
2580 | field instead of the interpreter_async global. | |
2581 | * inf-loop.c (inferior_event_handler): Likewise. | |
2582 | * infcall.c (run_inferior_call): Likewise. | |
2583 | * infrun.c (reinstall_readline_callback_handler_cleanup) | |
2584 | (fetch_inferior_event): Likewise. | |
2585 | * interps.c (interpreter_async): Delete. | |
2586 | (struct ui_interp_info): New. | |
2587 | (get_current_interp_info): New function. | |
2588 | (interp_list, current_interpreter, top_level_interpreter_ptr): | |
2589 | Delete. | |
2590 | (interp_add, interp_set, interp_lookup, interp_ui_out) | |
2591 | (current_interp_set_logging, interp_set_temp) | |
2592 | (current_interp_named_p): Adjust to per-UI interpreters. | |
2593 | (command_interpreter): Delete. | |
2594 | (command_interp, current_interp_command_loop, interp_quiet_p) | |
2595 | (interp_exec, interpreter_exec_cmd, interpreter_completer) | |
2596 | (top_level_interpreter, top_level_interpreter_data): Adjust to | |
2597 | per-UI interpreters. | |
2598 | * interps.h (interpreter_async): Delete. | |
2599 | * main.c (captured_command_loop): Access the current UI's async | |
2600 | field instead of the interpreter_async global. | |
2601 | * python/python.c (python_interactive_command, python_command) | |
2602 | (execute_gdb_command): Likewise. | |
2603 | * top.c (maybe_wait_sync_command_done, execute_command_to_string): | |
2604 | Access the current UI's async field instead of the | |
2605 | interpreter_async global. | |
2606 | * top.h (struct tl_interp_info): Forward declare. | |
2607 | (struct ui) <interp_info, async>: New fields. | |
2608 | ||
79aa2fe8 PA |
2609 | 2016-06-21 Pedro Alves <[email protected]> |
2610 | ||
2611 | * main.c (gdb_stdout, gdb_stderr, gdb_stdlog, gdb_stdin): Delete | |
2612 | globals. | |
2613 | (gen_ret_current_ui_field_ptr): New macro. Use it to generate | |
2614 | wrappers for gdb_stdout, gdb_stderr, gdb_stdlog and gdb_stdin. | |
2615 | * top.h (struct ui) <m_gdb_stdout, m_gdb_stdin, m_gdb_stderr, | |
2616 | m_gdb_stdlog>: New fields. | |
2617 | (current_ui_gdb_stdout_ptr, current_ui_gdb_stdin_ptr) | |
2618 | (current_ui_gdb_stderr_ptr, current_ui_gdb_stdlog_ptr): Declare. | |
2619 | (gdb_stdout, gdb_stdin, gdb_stderr, gdb_stdlog): Reimplement as | |
2620 | macros. | |
2621 | ||
a74e1786 PA |
2622 | 2016-06-21 Pedro Alves <[email protected]> |
2623 | ||
2624 | * event-top.c: Update readline-related comments. | |
2625 | (input_handler, call_readline): Delete globals. | |
2626 | (gdb_rl_callback_handler): Call the current UI's input_handler | |
2627 | method. | |
2628 | (change_line_handler): Adjust to set current UI's properties | |
2629 | instead of globals. | |
2630 | (current_ui_, current_ui): New globals. | |
2631 | (get_command_line_buffer): Rewrite to refer to the current UI. | |
2632 | (stdin_event_handler): Adjust to call the call_readline method of | |
2633 | the current UI. | |
2634 | (gdb_readline_no_editing_callback): Adjust to call the current UI's | |
2635 | input_handler method. | |
2636 | (gdb_setup_readline): Adjust to set current UI's properties | |
2637 | instead of globals. | |
2638 | * event-top.h (call_readline, input_handler): Delete declarations. | |
2639 | * mi/mi-interp.c (mi_interpreter_resume): Adjust to set current | |
2640 | UI's properties instead of globals. | |
2641 | * top.c (gdb_readline_wrapper_cleanup): Adjust to set current UI's | |
2642 | properties instead of globals. | |
2643 | (gdb_readline_wrapper): Adjust to call and set current UI's | |
2644 | methods instead of globals. | |
2645 | * top.h: Include buffer.h and event-loop.h. | |
2646 | (struct ui): New struct. | |
2647 | (current_ui): New declaration. | |
2648 | ||
45db7c09 PA |
2649 | 2016-06-21 Pedro Alves <[email protected]> |
2650 | ||
2651 | * ada-lang.c (ada_exception_name_addr_1): Add comment. | |
2652 | (print_it_exception): Select the current frame. | |
2653 | ||
a28d8e50 YTL |
2654 | 2016-06-17 Yan-Ting Lin <[email protected]> |
2655 | ||
2656 | * Makefile.in (ALL_TARGET_OBS): Add nds32-tdep.o. | |
2657 | (HFILES_NO_SRCDIR): Add nds32-tdep.h. | |
2658 | (ALLDEPFILES): Add nds32-tdep.c. | |
2659 | * NEWS: Mention new NDS32 port. | |
2660 | * configure.tgt: Add NDS32. | |
2661 | * nds32-tdep.c: New file. | |
2662 | * nds32-tdep.h: New file. | |
2663 | * features/Makefile (XMLTOC): Add nds32.xml. | |
2664 | * features/nds32-core.xml: New file. | |
2665 | * features/nds32-fpu.xml: New file. | |
2666 | * features/nds32-system.xml: New file. | |
2667 | * features/nds32.c: New file (generated). | |
2668 | * features/nds32.xml: New file. | |
2669 | ||
4bf5402d JB |
2670 | 2016-06-14 John Baldwin <[email protected]> |
2671 | ||
2672 | * v850-tdep.c (v850_use_struct_convention): Trim type length checks. | |
2673 | ||
683cd65e JB |
2674 | 2016-06-14 John Baldwin <[email protected]> |
2675 | ||
2676 | * tui/tui-stack.c (tui_show_frame_info): Fix type mismatch. | |
2677 | ||
bec734b2 JB |
2678 | 2016-06-14 John Baldwin <[email protected]> |
2679 | ||
2680 | * rs6000-tdep.c (ppc_process_record_op31): Initialize ra. | |
2681 | ||
e46dd0f4 NC |
2682 | 2016-06-13 Nick Clifton <[email protected]> |
2683 | ||
2684 | * gdbtypes.c (replace_type): Fix assertion. | |
2685 | ||
695bfa52 TT |
2686 | 2016-06-10 Tom Tromey <[email protected]> |
2687 | ||
2688 | * gdbtypes.c (arch_type, arch_integer_type, arch_character_type) | |
2689 | (arch_boolean_type, arch_float_type, arch_complex_type) | |
2690 | (arch_flags_type, append_flags_type_field) | |
2691 | (append_flags_type_flag, arch_composite_type) | |
2692 | (append_composite_type_field_raw) | |
2693 | (append_composite_type_field_aligned) | |
2694 | (append_composite_type_field): Make "name" parameter const. | |
2695 | * gdbtypes.h (arch_type, arch_integer_type, arch_character_type) | |
2696 | (arch_boolean_type, arch_float_type, arch_complex_type) | |
2697 | (append_composite_type_field, append_composite_type_field_aligned) | |
2698 | (append_composite_type_field_raw, arch_flags_type) | |
2699 | (append_flags_type_field, append_flags_type_flag): Constify. | |
2700 | ||
347dc102 TT |
2701 | 2016-06-10 Tom Tromey <[email protected]> |
2702 | ||
2703 | PR rust/20110: | |
2704 | * rust-exp.y (lex_number): Don't truncate large numbers to i32. | |
2705 | ||
edef7b8c TT |
2706 | 2016-06-10 Tom Tromey <[email protected]> |
2707 | ||
2708 | * Makefile.in (COMMON_OBS): Remove rust-exp.o. | |
2709 | (YYFILES): Add rust-exp.c. | |
2710 | (YYOBJ): Add rust-exp.o. | |
2711 | (local-maintainer-clean): Remove rust-exp.c. | |
2712 | ||
bb556f1f TK |
2713 | 2016-06-09 Toshihito Kikuchi <[email protected]> |
2714 | ||
2715 | * NEWS: Mention that GDB now supports a negative repeat count in | |
2716 | the 'x' command. | |
2717 | * printcmd.c (decode_format): Allow '-' in the parameter | |
2718 | "string_ptr" to accept a negative repeat count. | |
2719 | (find_instruction_backward): New function. | |
2720 | (read_memory_backward): New function. | |
2721 | (integer_is_zero): New function. | |
2722 | (find_string_backward): New function. | |
2723 | (do_examine): Use new functions to examine memory backward. | |
2724 | (_initialize_printcmd): Mention that 'x' command supports a negative | |
2725 | repeat count. | |
2726 | ||
c040f3fb TK |
2727 | 2016-06-09 Toshihito Kikuchi <[email protected]> |
2728 | ||
2729 | * MAINTAINERS (Write After Approval): Add Toshihito Kikuchi. | |
2730 | ||
4dee3531 TT |
2731 | 2016-06-09 Tom Tromey <[email protected]> |
2732 | ||
2733 | PR python/19819: | |
2734 | * python/py-xmethods.c (invoke_method_name) | |
2735 | (py_get_result_type_method_name, py_invoke_method_name): Remove. | |
2736 | (gdbpy_initialize_xmethods): Don't initialize | |
2737 | py_invoke_method_name, py_get_result_type_method_name. | |
2738 | ||
1aec0b6a SM |
2739 | 2016-06-07 Simon Marchi <[email protected]> |
2740 | ||
2741 | * mi/mi-interp.c (mi_record_changed): Add missing braces. | |
2742 | ||
2091da29 BH |
2743 | 2016-06-07 Bernhard Heckel <[email protected]> |
2744 | ||
2745 | * findvar.c (follow_static_link): Check for valid pointer. | |
2746 | ||
38b022b4 SM |
2747 | 2016-06-06 Simon Marchi <[email protected]> |
2748 | ||
2749 | * NEWS: Mention the new fields in =record-started. | |
2750 | * common/btrace-common.h (btrace_format_short_string): New function | |
2751 | declaration. | |
2752 | * common/btrace-common.c (btrace_format_short_string): New | |
2753 | function. | |
2754 | * mi/mi-interp.c (mi_record_changed): Output method and format | |
2755 | fields in the =record-started record. | |
2756 | * record-btrace.c (record_btrace_open): Adapt record_changed | |
2757 | notification. | |
2758 | * record-full.c (record_full_open): Likewise. | |
2759 | * record.c (cmd_record_stop): Likewise. | |
2760 | ||
0ae534d2 JT |
2761 | 2016-06-02 Jon Turney <[email protected]> |
2762 | ||
2763 | * windows-nat.c (handle_output_debug_string): Return type of | |
2764 | gdb_signal_from_host() is gdb_signal, not an int. | |
2765 | (windows_get_exec_module_filename): Add pointer casts for C++. | |
2766 | ||
1b40ec05 TT |
2767 | 2016-06-02 Tom Tromey <[email protected]> |
2768 | ||
2769 | PR python/18984: | |
2770 | * python/python.c (gdbpy_solib_name): Use GDB_PY_LLU_ARG. | |
2771 | ||
bb7c96de PA |
2772 | 2016-06-01 Pedro Alves <[email protected]> |
2773 | ||
2774 | * remote-fileio.c (remote_fio_ctrl_c_flag, remote_fio_sa) | |
2775 | (remote_fio_osa) | |
2776 | (remote_fio_ofunc, remote_fileio_sig_init, remote_fileio_sig_set) | |
2777 | (remote_fileio_sig_exit, remote_fileio_ctrl_c_signal_handler): | |
2778 | Delete. | |
2779 | (remote_fileio_o_quit_handler): New global. | |
2780 | (remote_fileio_quit_handler): New function. | |
2781 | (remote_fileio_reply): Check the quit flag instead of the custom | |
2782 | 'remote_fio_ctrl_c_flag' flag. Restore the quit handler instead | |
2783 | of changing the SIGINT handler. | |
2784 | (do_remote_fileio_request): Override the quit handler instead of | |
2785 | changing the SIGINT handler. | |
2786 | ||
51403f74 NC |
2787 | 2016-06-01 Nick Clifton <[email protected]> |
2788 | ||
2789 | * common/common-utils.c (xmalloc_failed): New function. Provided | |
2790 | so that the version in libiberty is not linked in. | |
2791 | ||
e3b5daf9 MM |
2792 | 2016-06-01 Markus Metzger <[email protected]> |
2793 | ||
2794 | * infcmd.c (skip_finish_frames): New. | |
2795 | (finish_command): Call skip_finish_frames. | |
2796 | ||
03d73f1f YQ |
2797 | 2016-06-01 Yao Qi <[email protected]> |
2798 | ||
2799 | PR remote/19998 | |
2800 | * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Call | |
2801 | quit_serial_event_set. | |
2802 | ||
c799dec7 JB |
2803 | 2016-06-01 Joel Brobecker <[email protected]> |
2804 | ||
2805 | GDB 7.11.1 released. | |
2806 | ||
3326303b MG |
2807 | 2016-05-31 Martin Galvan <[email protected]> |
2808 | ||
2809 | PR c++/19893 | |
2810 | * dwarf2loc.c (coerce_pieced_ref, indirect_synthetic_pointer, | |
2811 | fetch_const_value_from_synthetic_pointer): New functions. | |
2812 | (indirect_pieced_value): Move lower half to indirect_synthetic_pointer. | |
2813 | (pieced_value_funcs): Implement coerce_ref. | |
2814 | * valops.c (value_addr): Call coerce_ref for synthetic references. | |
2815 | * valprint.c (valprint_check_validity): Return true for synthetic | |
2816 | references. Also, don't show "<synthetic pointer>" if they reference | |
2817 | addressable values. | |
2818 | (generic_val_print_ref): Handle synthetic references. Also move some | |
2819 | code to print_ref_address. | |
2820 | (print_ref_address, get_value_addr_contents): New functions. | |
2821 | ||
e385593e JK |
2822 | 2016-05-30 Jan Kratochvil <[email protected]> |
2823 | ||
2824 | PR c++/15231 | |
2825 | * dwarf2read.c (enum pc_bounds_kind): Add PC_BOUNDS_INVALID. | |
2826 | (process_psymtab_comp_unit_reader, read_func_scope): Adjust callers. | |
2827 | (read_lexical_block_scope): Import DIEs from bare DW_TAG_lexical_block. | |
2828 | (read_call_site_scope): Adjust callers. | |
2829 | (dwarf2_get_pc_bounds): Implement pc_bounds_invalid. | |
2830 | (dwarf2_get_subprogram_pc_bounds, get_scope_pc_bounds): Adjust callers. | |
2831 | ||
3a2b436a JK |
2832 | 2016-05-30 Jan Kratochvil <[email protected]> |
2833 | ||
2834 | Code cleanup: dwarf2_get_pc_bounds: -1/0/+1 -> enum | |
2835 | * dwarf2read.c (enum pc_bounds_kind) New. | |
2836 | (dwarf2_get_pc_bounds): Use it in the declaration. | |
2837 | (process_psymtab_comp_unit_reader): Adjust caller. Rename has_pc_info | |
2838 | to cu_bounds_kind. | |
2839 | (read_func_scope, read_lexical_block_scope, read_call_site_scope): | |
2840 | Adjust callers. | |
2841 | (dwarf2_get_pc_bounds): Use enum pc_bounds_kind in the definition. | |
2842 | (dwarf2_get_subprogram_pc_bounds, get_scope_pc_bounds): Adjust callers. | |
2843 | ||
aab3c527 JK |
2844 | 2016-05-29 Jan Kratochvil <[email protected]> |
2845 | ||
2846 | * NEWS (QCatchSyscalls): Remove the parameter. Include ... | |
2847 | (QCatchSyscalls:1 in qSupported) ... this separate entry which got | |
2848 | deleted. | |
2849 | ||
c64e0f61 JK |
2850 | 2016-05-29 Jan Kratochvil <[email protected]> |
2851 | ||
2852 | * NEWS (N stop reply): Remove empty line. | |
2853 | ||
1a72702b AM |
2854 | 2016-05-28 Alan Modra <[email protected]> |
2855 | ||
2856 | * compile/compile-object-load.c (link_callbacks_multiple_definition, | |
2857 | link_callbacks_warning, link_callbacks_undefined_symbol, | |
2858 | link_callbacks_undefined_symbol, link_callbacks_reloc_overflow, | |
2859 | link_callbacks_reloc_dangerous, | |
2860 | link_callbacks_unattached_reloc): Return void. | |
2861 | ||
51415b9f AB |
2862 | 2016-05-27 Andrew Burgess <[email protected]> |
2863 | ||
2864 | * opencl-lang.c (evaluate_subexp_opencl): If | |
2865 | EVAL_AVOID_SIDE_EFFECTS mode, forward the VALUE_LVAL attribute to | |
2866 | the returned value in the STRUCTOP_STRUCT case. | |
2867 | ||
ac775bf4 AB |
2868 | 2016-05-27 Andrew Burgess <[email protected]> |
2869 | ||
2870 | * eval.c (evaluate_subexp_standard): If EVAL_AVOID_SIDE_EFFECTS | |
2871 | mode, forward the VALUE_LVAL attribute to the returned value in | |
2872 | the STRUCTOP_PTR case. | |
2873 | ||
7bd787e8 TT |
2874 | 2016-05-25 Tom Tromey <[email protected]> |
2875 | ||
2876 | * python/py-value.c (value_object_as_number): Use correct spelling | |
2877 | of HAVE_LIBPYTHON2_4. | |
2878 | ||
2bbad2ea BH |
2879 | 2016-05-25 Bernhard Heckel <[email protected]> |
2880 | ||
2881 | * f-typeprint.c (f_type_print_base): Replace 0 by show. | |
2882 | ||
e188eb36 BH |
2883 | 2016-05-25 Bernhard Heckel <[email protected]> |
2884 | ||
2885 | * f-typeprint.c (f_type_print_base): Decrease show by one. | |
2886 | ||
9b2db1fd BH |
2887 | 2016-05-25 Bernhard Heckel <[email protected]> |
2888 | ||
2889 | * f-typeprint.c (f_type_print_base): Don't print fields when show < 0. | |
2890 | ||
72b17055 BH |
2891 | 2016-05-25 Bernhard Heckel <[email protected]> |
2892 | ||
2893 | * f-typeprint.c (f_type_print_base): Take print level into account. | |
2894 | ||
ddae9462 TT |
2895 | 2016-05-24 Tom Tromey <[email protected]> |
2896 | ||
2897 | PR python/17386: | |
2898 | * python/py-value.c (value_object_as_number): Add | |
2899 | nb_inplace_floor_divide, nb_inplace_true_divide, nb_index. | |
2900 | ||
e2b7f516 TT |
2901 | 2016-05-24 Tom Tromey <[email protected]> |
2902 | ||
2903 | * python/py-value.c (value_object_as_number): Add | |
2904 | nb_inplace_divide for Python 2. | |
2905 | ||
1957f6b8 TT |
2906 | 2016-05-23 Tom Tromey <[email protected]> |
2907 | ||
2908 | PR python/17981: | |
2909 | * python/py-breakpoint.c (gdbpy_breakpoints): Return a new tuple | |
2910 | when there are no breakpoints. | |
2911 | ||
026a9174 PA |
2912 | 2016-05-24 Pedro Alves <[email protected]> |
2913 | ||
2914 | PR gdb/19828 | |
2915 | * linux-nat.c (attach_proc_task_lwp_callback): Mark the lwp | |
2916 | resumed, and add the thread to GDB's thread list. | |
2917 | ||
72b049d3 PA |
2918 | 2016-05-24 Pedro Alves <[email protected]> |
2919 | ||
2920 | PR gdb/19828 | |
2921 | * linux-nat.c (get_pending_status): If the thread reported the | |
2922 | event to the core and it's pending, use the pending status signal | |
2923 | number. | |
2924 | ||
774113b0 PA |
2925 | 2016-05-24 Pedro Alves <[email protected]> |
2926 | ||
2927 | PR gdb/19828 | |
2928 | * linux-nat.c (lwp_lwpid_htab): New htab. | |
2929 | (lwp_info_hash, lwp_lwpid_htab_eq, lwp_lwpid_htab_create) | |
2930 | (lwp_lwpid_htab_add_lwp): New functions. | |
2931 | (lwp_list): Tweak comment. | |
2932 | (lwp_list_add, lwp_list_remove, lwp_lwpid_htab_remove_pid): New | |
2933 | functions. | |
2934 | (purge_lwp_list): Rewrite, using htab_traverse_noresize. | |
2935 | (add_initial_lwp): Add lwp to htab too. Use lwp_list_add. | |
2936 | (delete_lwp): Use lwp_list_remove. Remove htab too. | |
2937 | (find_lwp_pid): Search in htab. | |
2938 | (_initialize_linux_nat): Call lwp_lwpid_htab_create. | |
2939 | * linux-nat.h (struct lwp_info) <prev>: New field. | |
2940 | ||
2941 | 2016-05-24 Pedro Alves <[email protected]> | |
2942 | ||
2943 | PR gdb/19828 | |
2944 | * linux-nat.c (lwp_lwpid_htab): New htab. | |
2945 | (lwp_info_hash, lwp_lwpid_htab_eq, lwp_lwpid_htab_create) | |
2946 | (lwp_lwpid_htab_add_lwp): New functions. | |
2947 | (lwp_list): Tweak comment. | |
2948 | (lwp_list_add, lwp_list_remove, lwp_lwpid_htab_remove_pid): New | |
2949 | functions. | |
2950 | (purge_lwp_list): Rewrite, using htab_traverse_noresize. | |
2951 | (add_initial_lwp): Add lwp to htab too. Use lwp_list_add. | |
2952 | (delete_lwp): Use lwp_list_remove. Remove htab too. | |
2953 | (find_lwp_pid): Search in htab. | |
2954 | (_initialize_linux_nat): Call lwp_lwpid_htab_create. | |
2955 | * linux-nat.h (struct lwp_info) <prev>: New field. | |
2956 | ||
1ad3de98 PA |
2957 | 2016-05-24 Pedro Alves <[email protected]> |
2958 | ||
2959 | PR gdb/19828 | |
2960 | * linux-nat.c (linux_resume_one_lwp_throw): Clear the LWP's core | |
2961 | field. | |
2962 | (linux_nat_update_thread_list): Don't fetch the core if already | |
2963 | known. | |
2964 | ||
95e94c3f PA |
2965 | 2016-05-24 Pedro Alves <[email protected]> |
2966 | ||
2967 | PR gdb/19828 | |
2968 | * linux-tdep.c (find_mapping_size): Delete. | |
2969 | (linux_vsyscall_range_raw): Rewrite reading from | |
2970 | /proc/PID/task/PID/maps directly instead of using | |
2971 | gdbarch_find_memory_regions. | |
2972 | ||
aa01bd36 PA |
2973 | 2016-05-24 Pedro Alves <[email protected]> |
2974 | ||
2975 | PR gdb/19828 | |
2976 | * linux-nat.c (report_thread_events): New global. | |
2977 | (linux_handle_extended_wait): Report | |
2978 | TARGET_WAITKIND_THREAD_CREATED if thread event reporting is | |
2979 | enabled. | |
2980 | (wait_lwp, linux_nat_filter_event): Report all thread exits if | |
2981 | thread event reporting is enabled. Remove comment. | |
2982 | (filter_exit_event): New function. | |
2983 | (linux_nat_wait_1): Use it. | |
2984 | (linux_nat_thread_events): New function. | |
2985 | (linux_nat_add_target): Install it as target_thread_events method. | |
2986 | ||
00a3cb9c YTL |
2987 | 2016-05-24 Yan-Ting Lin <[email protected]> |
2988 | ||
2989 | * MAINTAINERS (Write After Approval): Add "Yan-Ting Lin". | |
2990 | ||
7eb89530 YQ |
2991 | 2016-05-23 Yao Qi <[email protected]> |
2992 | ||
2993 | * arch-utils.c (default_code_of_frame_writable): New function. | |
2994 | * arch-utils.h (default_code_of_frame_writable): Declare. | |
2995 | * arm-tdep.c (arm_code_of_frame_writable): New function. | |
2996 | (arm_gdbarch_init): Install gdbarch method | |
2997 | code_of_frame_writable if the target is M-profile. | |
2998 | * frame.c (skip_unwritable_frames): New function. | |
2999 | * frame.h (skip_unwritable_frames): Declare. | |
3000 | * gdbarch.sh (code_of_frame_writable): New. | |
3001 | * gdbarch.c, gdbarch.h: Re-generated. | |
3002 | * infcmd.c (finish_command): Call skip_unwritable_frames. | |
3003 | ||
0f6ed0e0 TT |
3004 | 2016-05-23 Tom Tromey <[email protected]> |
3005 | ||
3006 | PR python/19438, PR python/18393: | |
3007 | * python/py-objfile.c (objfpy_initialize): Initialize self->dict. | |
3008 | * python/py-progspace.c (pspy_initialize): Initialize self->dict. | |
3009 | ||
d0571b99 GB |
3010 | 2016-05-23 Gary Benson <[email protected]> |
3011 | ||
3012 | * nat/gdb_thread_db.h (td_thr_validate_ftype): Remove typedef. | |
3013 | * linux-thread-db.c (struct thread_db_info) <td_thr_validate_p>: | |
3014 | Remove field. | |
3015 | (try_thread_db_load_1): Remove td_thr_validate initialization. | |
3016 | ||
37773e78 JB |
3017 | 2016-05-23 Jon Boden <[email protected]> (tiny change) |
3018 | ||
3019 | * configure.ac: Search for libutil-freebsd as alternative to libutil. | |
3020 | * configure: Re-generated. | |
3021 | ||
bfb0d950 AS |
3022 | 2016-05-19 Andreas Schwab <[email protected]> |
3023 | ||
3024 | * ia64-libunwind-tdep.c (libunwind_descr): Add cast from void *. | |
3025 | (libunwind_frame_set_descr): Likewise. | |
3026 | (libunwind_frame_cache): Likewise. | |
3027 | (libunwind_frame_dealloc_cache): Likewise. | |
3028 | (libunwind_frame_sniffer): Likewise. | |
3029 | (libunwind_search_unwind_table): Likewise. | |
3030 | (libunwind_sigtramp_frame_sniffer): Likewise. | |
3031 | (libunwind_get_reg_special): Likewise. | |
3032 | (libunwind_load): Likewise. | |
3033 | * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise. | |
3034 | (ia64_linux_store_register): Likewise. | |
3035 | (ia64_linux_xfer_partial): Likewise. | |
3036 | * ia64-tdep.c (ia64_access_reg): Likewise. | |
3037 | (ia64_access_fpreg): Likewise. | |
3038 | (ia64_access_rse_reg): Likewise. | |
3039 | (ia64_access_rse_fpreg): Likewise. | |
3040 | ||
45f4ed92 TT |
3041 | 2016-05-18 Tom Tromey <[email protected]> |
3042 | ||
3043 | * rust-lang.c (rust_subscript): Initialize "high". | |
3044 | ||
28addb40 SM |
3045 | 2016-05-17 Simon Marchi <[email protected]> |
3046 | ||
3047 | PR gdb/20045 | |
3048 | * mi/mi-main.c (mi_on_resume): Call target_can_async_p instead | |
3049 | of target_is_async_p. | |
3050 | ||
61c6156d SM |
3051 | 2016-05-17 Simon Marchi <[email protected]> |
3052 | ||
3053 | PR gdb/18077 | |
3054 | * mi/mi-main.c (run_one_inferior): Use run target to determine | |
3055 | whether to run async or not. | |
3056 | (mi_cmd_exec_run): Likewise. | |
3057 | ||
01739a3b TT |
3058 | 2016-05-17 Tom Tromey <[email protected]> |
3059 | ||
3060 | * std-operator.def (OP_RANGE): Rename from OP_F90_RANGE. | |
3061 | * rust-lang.c: Don't include f-lang.h. | |
3062 | (rust_range, rust_compute_range, rust_subscript) | |
3063 | (rust_evaluate_subexp): Update. | |
3064 | * rust-exp.y: Don't include f-lang.h. | |
3065 | (ast_range, convert_ast_to_expression): Update. | |
3066 | * parse.c (operator_length_standard): Update. | |
3067 | * f-lang.h (enum f90_range_type): Move to expression.h. | |
3068 | * f-exp.y: Use OP_RANGE. | |
3069 | * expression.h (enum range_type): New enum; renamed from | |
3070 | f90_range_type. | |
3071 | * expprint.c: Don't include f-lang.h. | |
3072 | (print_subexp_standard, dump_subexp_body_standard): Use OP_RANGE. | |
3073 | * eval.c (value_f90_subarray, evaluate_subexp_standard): Update. | |
3074 | ||
0bdfa368 TT |
3075 | 2016-05-17 Tom Tromey <[email protected]> |
3076 | ||
3077 | * NEWS: Add Rust item. | |
3078 | ||
c44af4eb TT |
3079 | 2016-05-17 Tom Tromey <[email protected]> |
3080 | Manish Goregaokar <[email protected]> | |
3081 | ||
3082 | * symtab.c (symbol_find_demangled_name): Handle Rust. | |
3083 | * symfile.c (init_filename_language_table): Treat ".rs" as Rust. | |
3084 | * std-operator.def (STRUCTOP_ANONYMOUS, OP_RUST_ARRAY): New | |
3085 | constants. | |
3086 | * rust-lang.h: New file. | |
3087 | * rust-lang.c: New file. | |
3088 | * rust-exp.y: New file. | |
3089 | * dwarf2read.c (read_file_scope): Add Rust producer sniffing. | |
3090 | (dwarf2_compute_name, read_func_scope, read_structure_type) | |
3091 | (read_base_type, read_subrange_type, set_cu_language) | |
3092 | (new_symbol_full, determine_prefix): Handle Rust. | |
3093 | * defs.h (enum language) <language_rust>: New constant. | |
3094 | * Makefile.in (SFILES): Add rust-exp.y, rust-lang.c. | |
3095 | (COMMON_OBS): Add rust-exp.o, rust-lang.o. | |
3096 | ||
00272ec4 TT |
3097 | 2016-05-17 Tom Tromey <[email protected]> |
3098 | ||
3099 | * valprint.h (struct generic_val_print_array) <array_start, | |
3100 | array_end>: New fields. | |
3101 | * valprint.c (generic_val_print_array): Add "decorations" | |
3102 | parameter. Use "array_start", "array_end". | |
3103 | (generic_val_print) <TYPE_CODE_ARRAY>: Update. | |
3104 | * p-valprint.c (p_decorations): Update. | |
3105 | * m2-valprint.c (m2_decorations): Update. | |
3106 | * f-valprint.c (f_decorations): Update. | |
3107 | * c-valprint.c (c_decorations): Update. | |
3108 | ||
dcd1f979 TT |
3109 | 2016-05-17 Tom Tromey <[email protected]> |
3110 | ||
3111 | * NEWS: Add "maint selftest" entry. | |
3112 | * selftest.h: New file. | |
3113 | * selftest.c: New file. | |
3114 | * maint.c: Include selftest.h. | |
3115 | (maintenance_selftest): New function. | |
3116 | (_initialize_maint_cmds): Add "maint selftest" command. | |
3117 | * configure.ac (GDB_SELF_TEST): Maybe define. | |
3118 | * config.in, configure: Rebuild. | |
3119 | * Makefile.in (SFILES): Add selftest.c. | |
3120 | (COMMON_OBS): Add selftest.o. | |
3121 | ||
e4b8a1c8 TT |
3122 | 2016-05-17 Tom Tromey <[email protected]> |
3123 | ||
3124 | * expprint.c: Include f-lang.h. | |
3125 | (print_subexp_standard, dump_subexp_body_standard): Handle | |
3126 | OP_F90_RANGE. | |
3127 | ||
9ab0bb2a TT |
3128 | 2016-05-17 Tom Tromey <[email protected]> |
3129 | ||
3130 | * Makefile.in (init.c): Search .y files for initialization | |
3131 | functions. | |
3132 | ||
8ddd5a6c DE |
3133 | 2016-05-12 Doug Evans <[email protected]> |
3134 | ||
3135 | PR symtab/19999 | |
3136 | * dwarf2loc.c (dwarf2_find_location_expression): For DWO files still | |
3137 | add base_offset. | |
3138 | ||
df140a0b TS |
3139 | 2016-05-10 Trevor Saunders <[email protected]> |
3140 | ||
3141 | * iq2000-tdep.c (iq2000_scan_prologue): Remove if that shouldn't guard | |
3142 | anything. | |
3143 | * linespec.c (add_sal_to_sals): Restore call to symtab_to_fullname. | |
3144 | ||
39d911fc TP |
3145 | 2016-05-10 Thomas Preud'homme <[email protected]> |
3146 | ||
3147 | * arm-tdep.c (arm_elf_make_msymbol_special): Use | |
3148 | ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol. | |
3149 | ||
870f88f7 TS |
3150 | 2016-05-07 Trevor Saunders <[email protected]> |
3151 | ||
3152 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Remove unused | |
3153 | variables. | |
3154 | * aarch64-tdep.c (aarch64_skip_prologue): Likewise. | |
3155 | (aarch64_scan_prologue): Likewise. | |
3156 | (aarch64_prologue_prev_register): Likewise. | |
3157 | (aarch64_dwarf2_prev_register): Likewise. | |
3158 | (pass_in_v): Likewise. | |
3159 | (aarch64_push_dummy_call): Likewise. | |
3160 | (aarch64_breakpoint_from_pc): Likewise. | |
3161 | (aarch64_return_in_memory): Likewise. | |
3162 | (aarch64_return_value): Likewise. | |
3163 | (aarch64_displaced_step_b_cond): Likewise. | |
3164 | (aarch64_displaced_step_cb): Likewise. | |
3165 | (aarch64_displaced_step_tb): Likewise. | |
3166 | (aarch64_gdbarch_init): Likewise. | |
3167 | (aarch64_process_record): Likewise. | |
3168 | * alpha-mdebug-tdep.c (alpha_mdebug_init_abi): Likewise. | |
3169 | * alpha-tdep.c (_initialize_alpha_tdep): Likewise. | |
3170 | * amd64-dicos-tdep.c (amd64_dicos_init_abi): Likewise. | |
3171 | * amd64-linux-tdep.c (amd64_dtrace_parse_probe_argument): Likewise. | |
3172 | * amd64-tdep.c (fixup_riprel): Likewise. | |
3173 | * amd64-windows-tdep.c (amd64_windows_frame_decode_epilogue): Likewise. | |
3174 | (amd64_windows_frame_decode_insns): Likewise. | |
3175 | (amd64_windows_frame_cache): Likewise. | |
3176 | (amd64_windows_frame_prev_register): Likewise. | |
3177 | (amd64_windows_frame_this_id): Likewise. | |
3178 | (amd64_windows_init_abi): Likewise. | |
3179 | * arm-linux-tdep.c (arm_linux_get_syscall_number): Likewise. | |
3180 | (arm_linux_get_next_pcs_syscall_next_pc): Likewise. | |
3181 | * arm-symbian-tdep.c (arm_symbian_init_abi): Likewise. | |
3182 | * arm-tdep.c (arm_make_epilogue_frame_cache): Likewise. | |
3183 | (arm_epilogue_frame_prev_register): Likewise. | |
3184 | (arm_record_vdata_transfer_insn): Likewise. | |
3185 | (arm_record_exreg_ld_st_insn): Likewise. | |
3186 | * auto-load.c (execute_script_contents): Likewise. | |
3187 | (print_scripts): Likewise. | |
3188 | * avr-tdep.c (avr_frame_prev_register): Likewise. | |
3189 | (avr_push_dummy_call): Likewise. | |
3190 | * bfin-linux-tdep.c (bfin_linux_sigframe_init): Likewise. | |
3191 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
3192 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Likewise. | |
3193 | * break-catch-throw.c (fetch_probe_arguments): Likewise. | |
3194 | * breakpoint.c (breakpoint_xfer_memory): Likewise. | |
3195 | (breakpoint_init_inferior): Likewise. | |
3196 | (breakpoint_inserted_here_p): Likewise. | |
3197 | (software_breakpoint_inserted_here_p): Likewise. | |
3198 | (hardware_breakpoint_inserted_here_p): Likewise. | |
3199 | (bpstat_what): Likewise. | |
3200 | (break_range_command): Likewise. | |
3201 | (save_breakpoints): Likewise. | |
3202 | * coffread.c (coff_symfile_read): Likewise. | |
3203 | * cris-tdep.c (cris_push_dummy_call): Likewise. | |
3204 | (cris_scan_prologue): Likewise. | |
3205 | (cris_register_size): Likewise. | |
3206 | (_initialize_cris_tdep): Likewise. | |
3207 | * d-exp.y: Likewise. | |
3208 | * dbxread.c (dbx_read_symtab): Likewise. | |
3209 | (process_one_symbol): Likewise. | |
3210 | (coffstab_build_psymtabs): Likewise. | |
3211 | (elfstab_build_psymtabs): Likewise. | |
3212 | * dicos-tdep.c (dicos_init_abi): Likewise. | |
3213 | * disasm.c (do_mixed_source_and_assembly): Likewise. | |
3214 | (gdb_disassembly): Likewise. | |
3215 | * dtrace-probe.c (dtrace_process_dof): Likewise. | |
3216 | * dwarf2read.c (error_check_comp_unit_head): Likewise. | |
3217 | (build_type_psymtabs_1): Likewise. | |
3218 | (skip_one_die): Likewise. | |
3219 | (process_imported_unit_die): Likewise. | |
3220 | (dwarf2_physname): Likewise. | |
3221 | (read_file_scope): Likewise. | |
3222 | (setup_type_unit_groups): Likewise. | |
3223 | (create_dwo_cu_reader): Likewise. | |
3224 | (create_dwo_cu): Likewise. | |
3225 | (create_dwo_unit_in_dwp_v1): Likewise. | |
3226 | (create_dwo_unit_in_dwp_v2): Likewise. | |
3227 | (lookup_dwo_unit_in_dwp): Likewise. | |
3228 | (free_dwo_file): Likewise. | |
3229 | (check_producer): Likewise. | |
3230 | (dwarf2_add_typedef): Likewise. | |
3231 | (dwarf2_add_member_fn): Likewise. | |
3232 | (read_unsigned_leb128): Likewise. | |
3233 | (read_signed_leb128): Likewise. | |
3234 | (dwarf2_const_value): Likewise. | |
3235 | (follow_die_sig_1): Likewise. | |
3236 | (dwarf_decode_macro_bytes): Likewise. | |
3237 | * extension.c (restore_active_ext_lang): Likewise. | |
3238 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Likewise. | |
3239 | * ft32-tdep.c (ft32_analyze_prologue): Likewise. | |
3240 | * gdbtypes.c (lookup_typename): Likewise. | |
3241 | (resolve_dynamic_range): Likewise. | |
3242 | (check_typedef): Likewise. | |
3243 | * h8300-tdep.c (h8300_is_argument_spill): Likewise. | |
3244 | (h8300_gdbarch_init): Likewise. | |
3245 | * hppa-tdep.c (hppa32_push_dummy_call): Likewise. | |
3246 | (hppa_frame_this_id): Likewise. | |
3247 | (_initialize_hppa_tdep): Likewise. | |
3248 | * hppanbsd-tdep.c (hppanbsd_sigtramp_cache_init): Likewise. | |
3249 | * hppaobsd-tdep.c (hppaobsd_supply_fpregset): Likewise. | |
3250 | * i386-dicos-tdep.c (i386_dicos_init_abi): Likewise. | |
3251 | * i386-tdep.c (i386_bnd_type): Likewise. | |
3252 | (i386_gdbarch_init): Likewise. | |
3253 | (i386_mpx_bd_base): Likewise. | |
3254 | * i386nbsd-tdep.c (i386nbsd_sigtramp_cache_init): Likewise. | |
3255 | * i386obsd-tdep.c (i386obsd_elf_init_abi): Likewise. | |
3256 | * ia64-tdep.c (examine_prologue): Likewise. | |
3257 | (ia64_frame_cache): Likewise. | |
3258 | (ia64_push_dummy_call): Likewise. | |
3259 | * infcmd.c (finish_command_fsm_async_reply_reason): Likewise. | |
3260 | (default_print_one_register_info): Likewise. | |
3261 | * infrun.c (infrun_thread_ptid_changed): Likewise. | |
3262 | (thread_still_needs_step_over): Likewise. | |
3263 | (stop_all_threads): Likewise. | |
3264 | (restart_threads): Likewise. | |
3265 | (keep_going_stepped_thread): Likewise. | |
3266 | * iq2000-tdep.c (iq2000_scan_prologue): Likewise. | |
3267 | * language.c (language_init_primitive_type_symbols): Likewise. | |
3268 | * linespec.c (add_sal_to_sals): Likewise. | |
3269 | * linux-nat.c (status_callback): Likewise. | |
3270 | (kill_unfollowed_fork_children): Likewise. | |
3271 | (linux_nat_kill): Likewise. | |
3272 | * linux-tdep.c (linux_fill_prpsinfo): Likewise. | |
3273 | * linux-thread-db.c (thread_db_notice_clone): Likewise. | |
3274 | (record_thread): Likewise. | |
3275 | * location.c (string_to_event_location_basic): Likewise. | |
3276 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
3277 | * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise. | |
3278 | * m32r-tdep.c (decode_prologue): Likewise. | |
3279 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_cache): Likewise. | |
3280 | * machoread.c (macho_symtab_read): Likewise. | |
3281 | (macho_symfile_read): Likewise. | |
3282 | (macho_symfile_offsets): Likewise. | |
3283 | * maint.c (set_per_command_cmd): Likewise. | |
3284 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Likewise. | |
3285 | (mi_cmd_stack_list_variables): Likewise. | |
3286 | * mi/mi-main.c (mi_cmd_exec_run): Likewise. | |
3287 | (output_register): Likewise. | |
3288 | (mi_cmd_execute): Likewise. | |
3289 | (mi_cmd_trace_define_variable): Likewise. | |
3290 | (print_variable_or_computed): Likewise. | |
3291 | * minsyms.c (prim_record_minimal_symbol_full): Likewise. | |
3292 | * mn10300-tdep.c (mn10300_frame_prev_register): Likewise. | |
3293 | * msp430-tdep.c (msp430_pseudo_register_write): Likewise. | |
3294 | * mt-tdep.c (mt_registers_info): Likewise. | |
3295 | * nios2-tdep.c (nios2_analyze_prologue): Likewise. | |
3296 | (nios2_push_dummy_call): Likewise. | |
3297 | (nios2_frame_unwind_cache): Likewise. | |
3298 | (nios2_stub_frame_cache): Likewise. | |
3299 | (nios2_stub_frame_sniffer): Likewise. | |
3300 | (nios2_gdbarch_init): Likewise. | |
3301 | * ppc-ravenscar-thread.c: Likewise. | |
3302 | * ppcfbsd-tdep.c (ppcfbsd_sigtramp_frame_cache): Likewise. | |
3303 | * python/py-evts.c (add_new_registry): Likewise. | |
3304 | * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise. | |
3305 | (bpfinishpy_detect_out_scope_cb): Likewise. | |
3306 | * python/py-framefilter.c (py_print_value): Likewise. | |
3307 | * python/py-inferior.c (infpy_write_memory): Likewise. | |
3308 | * python/py-infevents.c (create_inferior_call_event_object): Likewise. | |
3309 | * python/py-infthread.c (thpy_get_ptid): Likewise. | |
3310 | * python/py-linetable.c (ltpy_get_pcs_for_line): Likewise. | |
3311 | (ltpy_get_all_source_lines): Likewise. | |
3312 | (ltpy_is_valid): Likewise. | |
3313 | (ltpy_iternext): Likewise. | |
3314 | * python/py-symtab.c (symtab_and_line_to_sal_object): Likewise. | |
3315 | * python/py-unwind.c (pyuw_object_attribute_to_pointer): Likewise. | |
3316 | (unwind_infopy_str): Likewise. | |
3317 | * python/py-varobj.c (py_varobj_get_iterator): Likewise. | |
3318 | * ravenscar-thread.c (ravenscar_inferior_created): Likewise. | |
3319 | * rs6000-aix-tdep.c (rs6000_push_dummy_call): Likewise. | |
3320 | * rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call): Likewise. | |
3321 | * rs6000-tdep.c (ppc_deal_with_atomic_sequence): Likewise. | |
3322 | * s390-linux-tdep.c (s390_supply_tdb_regset): Likewise. | |
3323 | (s390_frame_prev_register): Likewise. | |
3324 | (s390_dwarf2_frame_init_reg): Likewise. | |
3325 | (s390_record_vr): Likewise. | |
3326 | (s390_process_record): Likewise. | |
3327 | * score-tdep.c (score_push_dummy_call): Likewise. | |
3328 | (score3_analyze_prologue): Likewise. | |
3329 | * sh-tdep.c (sh_extract_return_value_nofpu): Likewise. | |
3330 | * sh64-tdep.c (sh64_analyze_prologue): Likewise. | |
3331 | (sh64_push_dummy_call): Likewise. | |
3332 | (sh64_extract_return_value): Likewise. | |
3333 | (sh64_do_fp_register): Likewise. | |
3334 | * solib-aix.c (solib_aix_get_section_offsets): Likewise. | |
3335 | * solib-darwin.c (darwin_read_exec_load_addr_from_dyld): Likewise. | |
3336 | (darwin_solib_read_all_image_info_addr): Likewise. | |
3337 | * solib-dsbt.c (enable_break): Likewise. | |
3338 | * solib-frv.c (enable_break2): Likewise. | |
3339 | (frv_fdpic_find_canonical_descriptor): Likewise. | |
3340 | * solib-svr4.c (svr4_handle_solib_event): Likewise. | |
3341 | * sparc-tdep.c (sparc_skip_stack_check): Likewise. | |
3342 | * sparc64-linux-tdep.c (sparc64_linux_get_longjmp_target): Likewise. | |
3343 | * sparcobsd-tdep.c (sparc32obsd_init_abi): Likewise. | |
3344 | * spu-tdep.c (info_spu_dma_cmdlist): Likewise. | |
3345 | * stack.c (read_frame_local): Likewise. | |
3346 | * symfile.c (symbol_file_add_separate): Likewise. | |
3347 | (remove_symbol_file_command): Likewise. | |
3348 | * symmisc.c (maintenance_print_one_line_table): Likewise. | |
3349 | * symtab.c (symbol_cache_flush): Likewise. | |
3350 | (basic_lookup_transparent_type): Likewise. | |
3351 | (sort_search_symbols_remove_dups): Likewise. | |
3352 | * target.c (target_memory_map): Likewise. | |
3353 | (target_detach): Likewise. | |
3354 | (target_resume): Likewise. | |
3355 | (acquire_fileio_fd): Likewise. | |
3356 | (target_store_registers): Likewise. | |
3357 | * thread.c (print_thread_info_1): Likewise. | |
3358 | * tic6x-tdep.c (tic6x_analyze_prologue): Likewise. | |
3359 | * tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Likewise. | |
3360 | * tilegx-tdep.c (tilegx_push_dummy_call): Likewise. | |
3361 | (tilegx_analyze_prologue): Likewise. | |
3362 | (tilegx_stack_frame_destroyed_p): Likewise. | |
3363 | (tilegx_frame_cache): Likewise. | |
3364 | * tracefile.c (trace_save): Likewise. | |
3365 | * tracepoint.c (encode_actions_and_make_cleanup): Likewise. | |
3366 | (start_tracing): Likewise. | |
3367 | (print_one_static_tracepoint_marker): Likewise. | |
3368 | * tui/tui.c (tui_enable): Likewise. | |
3369 | * valops.c (value_struct_elt_bitpos): Likewise. | |
3370 | (find_overload_match): Likewise. | |
3371 | (find_oload_champ): Likewise. | |
3372 | * value.c (value_contents_copy_raw): Likewise. | |
3373 | * windows-tdep.c (windows_get_tlb_type): Likewise. | |
3374 | * x86-linux-nat.c (x86_linux_enable_btrace): Likewise. | |
3375 | * xcoffread.c (record_minimal_symbol): Likewise. | |
3376 | (scan_xcoff_symtab): Likewise. | |
3377 | * xtensa-tdep.c (execute_code): Likewise. | |
3378 | (xtensa_gdbarch_init): Likewise. | |
3379 | (_initialize_xtensa_tdep): Likewise. | |
3380 | ||
c1aebf87 UW |
3381 | 2016-05-04 Ulrich Weigand <[email protected]> |
3382 | ||
3383 | * spu-linux-nat.c (spu_bfd_iovec_pread): Add pointer cast for C++. | |
3384 | (spu_bfd_open): Likewise. | |
3385 | ||
edf689f0 YQ |
3386 | 2016-05-04 Yao Qi <[email protected]> |
3387 | ||
3388 | PR gdb/19947 | |
3389 | * corefile.c (read_memory): Rename it to ... | |
3390 | (read_memory_object): ... it. Add parameter object. | |
3391 | (read_memory): Call read_memory_object. | |
3392 | (read_stack): Likewise. | |
3393 | (read_code): Likewise. | |
3394 | ||
6c447423 DE |
3395 | 2016-05-03 Yunlian Jiang <[email protected]> |
3396 | Doug Evans <[email protected]> | |
3397 | ||
3398 | PR symtab/19914 | |
3399 | * dwarf2read.c (open_and_init_dwp_file): Look at backlink if objfile | |
3400 | is separate debug file. | |
3401 | ||
a1ec3d24 DB |
3402 | 2016-05-03 Don Breazeal <[email protected]> |
3403 | ||
3404 | * serial.h (gdb_pipe): Fix argument names in comment. | |
3405 | ||
86f1abec PA |
3406 | 2016-05-03 Pedro Alves <[email protected]> |
3407 | ||
3408 | PR python/20037 | |
3409 | * python/python.c (_initialize_python) [IS_PY3K]: xstrdup/xfree | |
3410 | oldloc. | |
3411 | ||
1aa96702 PA |
3412 | 2016-05-03 Pedro Alves <[email protected]> |
3413 | ||
3414 | * python/python.c (_initialize_python) [IS_PY3K]: Remove dead | |
3415 | code. | |
3416 | ||
a4a1c157 PA |
3417 | 2016-05-03 Pedro Alves <[email protected]> |
3418 | ||
3419 | * configure.ac (PYTHON_LIBS): Sed away "-Xlinker -export-dynamic". | |
3420 | * configure: Regenerate. | |
3421 | ||
1b4f615e PA |
3422 | 2016-05-03 Pedro Alves <[email protected]> |
3423 | ||
3424 | * configure.ac (checking for the dynamic export flag): Add | |
3425 | $PYTHON_CPPFLAGS to CPPFLAGS. | |
3426 | * configure: Regenerate. | |
3427 | ||
b631e59b KT |
3428 | 2016-05-03 Kyrylo Tkachov <[email protected]> |
3429 | ||
3430 | * symfile.c (find_pc_overlay): Add braces to avoid -Wparentheses | |
3431 | warning. | |
3432 | (find_pc_mapped_section): Likewise. | |
3433 | (list_overlays_command): Likewise. | |
3434 | ||
1270fac6 EZ |
3435 | 2016-05-02 Eli Zaretskii <[email protected]> |
3436 | ||
3437 | * windows-nat.c (_initialize_check_for_gdb_ini): Fix off-by-one | |
3438 | error in allocation of space for "$HOME/.gdbinit" string. This | |
3439 | caused GDB to abort on startup whenever a '~/gdb.ini' file was | |
3440 | actually found, because xsnprintf would hit an assertion | |
3441 | violation. | |
3442 | ||
0400cf2f SM |
3443 | 2016-04-28 Simon Marchi <[email protected]> |
3444 | ||
3445 | * cli/cli-decode.c (help_cmd_list): Do not list commands that | |
3446 | are deprecated. | |
3447 | ||
57809e5e JK |
3448 | 2016-04-27 Jan Kratochvil <[email protected]> |
3449 | ||
3450 | * remote.c (remote_start_remote): Detect PACKET_vFile_setfs.support. | |
3451 | ||
476350ba MG |
3452 | 2016-04-27 Martin Galvan <[email protected]> |
3453 | ||
3454 | * c-valprint.c (c_value_print): Always convert val back to reference | |
3455 | type if we converted it to a pointer type. | |
3456 | ||
2d681be4 AA |
3457 | 2016-04-27 Andreas Arnez <[email protected]> |
3458 | ||
3459 | * configure.ac: Enhance configure check for babeltrace to reject | |
3460 | non-C++-enabled versions. | |
3461 | * configure: Regenerate. | |
3462 | ||
3e2e34f8 KB |
3463 | 2016-04-26 Sanimir Agovic <[email protected]> |
3464 | Keven Boell <[email protected]> | |
3465 | Bernhard Heckel <[email protected]> | |
3466 | ||
3467 | * f-valprint.c (f77_create_arrayprint_offset_tbl): Remove | |
3468 | function. | |
3469 | (F77_DIM_SIZE, F77_DIM_OFFSET): Remove macro. | |
3470 | (f77_print_array_1): Use value_subscript to subscript a | |
3471 | value array. | |
3472 | (f77_print_array): Remove call to f77_create_arrayprint_offset_tbl. | |
3473 | (f_val_print): Use value_field to construct a field value. | |
3474 | ||
8f07e298 BH |
3475 | 2016-04-26 Bernhard Heckel <[email protected]> |
3476 | ||
3477 | * valarith.c (value_address): Resolve dynamic types. | |
3478 | ||
9920b434 BH |
3479 | 2016-04-26 Bernhard Heckel <[email protected]> |
3480 | Keven Boell <[email protected]> | |
3481 | ||
3482 | * NEWS: Add new supported features for fortran. | |
3483 | * gdbtypes.c (remove_dyn_prop): New. | |
3484 | (resolve_dynamic_struct): Keep type length for fortran structs. | |
3485 | * gdbtypes.h: Forward declaration of new function. | |
3486 | * value.c (value_address): Return dynamic resolved location of a value. | |
3487 | (set_value_component_location): Adjust the value address | |
3488 | for single value prints. | |
3489 | (value_primitive_field): Support value types with a dynamic location. | |
3490 | (set_internalvar): Remove dynamic location property of | |
3491 | internal variables. | |
3492 | ||
20249ae4 YQ |
3493 | 2016-04-25 Pedro Alves <[email protected]> |
3494 | Yao Qi <[email protected]> | |
3495 | ||
3496 | * mem-break.c (set_raw_breakpoint_at): Create a raw breakpoint | |
3497 | object. Insert it if it is not inserted yet. Increase the | |
3498 | refcount and link it into the proc's raw breakpoint list. | |
3499 | ||
21edc42f YQ |
3500 | 2016-04-25 Yao Qi <[email protected]> |
3501 | ||
3502 | * breakpoint.c (should_be_inserted): Return 0 if the location's | |
3503 | owner is not single step breakpoint or single step breakpoint's | |
3504 | thread isn't the thread which is stepping past a breakpoint. | |
3505 | * gdbarch.sh (software_single_step): Update comments. | |
3506 | * gdbarch.h: Regenerated. | |
3507 | * infrun.c (struct step_over_info) <thread>: New field. | |
3508 | (set_step_over_info): New argument 'thread'. Callers updated. | |
3509 | (clear_step_over_info): Set field thread to -1. | |
3510 | (thread_is_stepping_over_breakpoint): New function. | |
3511 | * infrun.h (thread_is_stepping_over_breakpoint): Declaration. | |
3512 | ||
0154d990 EBM |
3513 | 2016-04-22 Edjunior Barbosa Machado <[email protected]> |
3514 | ||
3515 | * ppc-linux-nat.c (ppc_linux_read_description): Use PPC_FEATURE_HAS_VSX | |
3516 | and PPC_FEATURE_HAS_ALTIVEC to check if such features are available. | |
3517 | ||
6d7e9d3b YQ |
3518 | 2016-04-22 Yao Qi <[email protected]> |
3519 | ||
3520 | * valops.c (read_value_memory): New local variable 'stack'. | |
3521 | Set it to either TARGET_OBJECT_STACK_MEMORY or | |
3522 | TARGET_OBJECT_MEMORY. | |
3523 | ||
b3f11165 PA |
3524 | 2016-04-22 Pedro Alves <[email protected]> |
3525 | ||
3526 | * ada-exp.y: Remove all yy symbol remappings. | |
3527 | (GDB_YY_REMAP_PREFIX): Define. | |
3528 | Include "yy-remap.h". | |
3529 | * ada-lang.c (ada_language_defn): Adjust. | |
3530 | * ada-lang.h (ada_error): Rename to ... | |
3531 | (ada_yyerror): ... this. | |
3532 | * c-exp.y: Remove all yy symbol remappings. | |
3533 | (GDB_YY_REMAP_PREFIX): Define. | |
3534 | Include "yy-remap.h". | |
3535 | * c-lang.c (c_language_defn, cplus_language_defn) | |
3536 | (asm_language_defn, minimal_language_defn): Adjust. | |
3537 | * c-lang.h (c_error): Rename to ... | |
3538 | (c_yyerror): ... this. | |
3539 | * d-exp.y: Remove all yy symbol remappings. | |
3540 | (GDB_YY_REMAP_PREFIX): Define. | |
3541 | Include "yy-remap.h". | |
3542 | * d-lang.c (d_language_defn): Adjust. | |
3543 | * d-lang.h (d_error): Rename to ... | |
3544 | (d_yyerror): ... this. | |
3545 | * f-exp.y: Remove all yy symbol remappings. | |
3546 | (GDB_YY_REMAP_PREFIX): Define. | |
3547 | Include "yy-remap.h". | |
3548 | * f-lang.c (f_language_defn): Adjust. | |
3549 | * f-lang.h (f_error): Rename to ... | |
3550 | (f_yyerror): ... this. | |
3551 | * go-exp.y: Remove all yy symbol remappings. | |
3552 | (GDB_YY_REMAP_PREFIX): Define. | |
3553 | Include "yy-remap.h". | |
3554 | * go-lang.c (go_language_defn): Adjust. | |
3555 | * go-lang.h (go_error): Rename to ... | |
3556 | (go_yyerror): ... this. | |
3557 | * jv-exp.y: Remove all yy symbol remappings. | |
3558 | (GDB_YY_REMAP_PREFIX): Define. | |
3559 | Include "yy-remap.h". | |
3560 | * jv-lang.c (java_language_defn): Adjust. | |
3561 | * jv-lang.h (java_error): Rename to ... | |
3562 | (java_yyerror): ... this. | |
3563 | * m2-exp.y: Remove all yy symbol remappings. | |
3564 | (GDB_YY_REMAP_PREFIX): Define. | |
3565 | Include "yy-remap.h". | |
3566 | * m2-lang.c (m2_language_defn): Adjust. | |
3567 | * m2-lang.h (m2_error): Rename to ... | |
3568 | (m2_yyerror): ... this. | |
3569 | * objc-exp.y: Remove all yy symbol remappings. | |
3570 | (GDB_YY_REMAP_PREFIX): Define. | |
3571 | Include "yy-remap.h". | |
3572 | * objc-lang.c (objc_language_defn): Adjust. | |
3573 | * opencl-lang.c (opencl_language_defn): Adjust. | |
3574 | * p-exp.y: Remove all yy symbol remappings. | |
3575 | (GDB_YY_REMAP_PREFIX): Define. | |
3576 | Include "yy-remap.h". | |
3577 | * p-lang.c (pascal_language_defn): Adjust. | |
3578 | * p-lang.h (pascal_error): Rename to ... | |
3579 | (pascal_yyerror): ... this. | |
3580 | * yy-remap.h: New file. | |
3581 | ||
6290672f PA |
3582 | 2016-04-22 Pedro Alves <[email protected]> |
3583 | ||
3584 | * common/common-exceptions.h (GDB_XCPT_TRY): Remove mention of | |
3585 | the foreign frames issue. | |
3586 | [__cplusplus] (GDB_XCPT): Define as GDB_XCPT_TRY. | |
3587 | ||
89525768 PA |
3588 | 2016-04-22 Pedro Alves <[email protected]> |
3589 | ||
3590 | * common/common-exceptions.c (enum catcher_state, struct catcher) | |
3591 | (current_catcher): Define in C++ mode too. | |
3592 | (exceptions_state_mc_catch): Call throw_exception_sjlj instead of | |
3593 | throw_exception. | |
3594 | (throw_exception_sjlj, throw_exception_cxx): New functions, | |
3595 | factored out from throw_exception. | |
3596 | (throw_exception): Reimplement. | |
3597 | * common/common-exceptions.h (exceptions_state_mc_init) | |
3598 | (exceptions_state_mc_action_iter) | |
3599 | (exceptions_state_mc_action_iter_1, exceptions_state_mc_catch): | |
3600 | Declare in C++ mode too. | |
3601 | (TRY): Rename to ... | |
3602 | (TRY_SJLJ): ... this. | |
3603 | (CATCH): Rename to ... | |
3604 | (CATCH_SJLJ): ... this. | |
3605 | (END_CATCH): Rename to ... | |
3606 | (END_CATCH_SJLJ): ... this. | |
3607 | [GDB_XCPT == GDB_XCPT_SJMP] (TRY, CATCH, END_CATCH): Map to SJLJ | |
3608 | equivalents. | |
3609 | (throw_exception): Update comments. | |
3610 | (throw_exception_sjlj): Declare. | |
3611 | * event-top.c (gdb_rl_callback_read_char_wrapper): Extend intro | |
3612 | comment. Wrap body in TRY_SJLJ/CATCH_SJLJ and rethrow any | |
3613 | intercepted exception. | |
3614 | (gdb_rl_callback_handler): New function. | |
3615 | (gdb_rl_callback_handler_install): Always install | |
3616 | gdb_rl_callback_handler as readline callback. | |
3617 | ||
3c610247 PA |
3618 | 2016-04-22 Pedro Alves <[email protected]> |
3619 | ||
3620 | * event-top.c (rl_callback_read_char_wrapper): Rename to ... | |
3621 | (gdb_rl_callback_read_char_wrapper): ... this. | |
3622 | (change_line_handler, gdb_setup_readline): Adjust. | |
3623 | ||
3539aa13 YQ |
3624 | 2016-04-22 Yao Qi <[email protected]> |
3625 | ||
3626 | * aarch32-linux-nat.c (aarch32_gp_regcache_supply): Clear CPSR | |
3627 | bits 20 to 23. | |
3628 | ||
0f60e29b JB |
3629 | 2016-04-22 Joel Brobecker <[email protected]> |
3630 | ||
3631 | * MAINTAINER: Remove myself as AIX Maintainer. | |
3632 | ||
3877922e MR |
3633 | 2016-04-22 Maciej W. Rozycki <[email protected]> |
3634 | ||
3635 | * mips-tdep.c (mips_gdbarch_init): For GDB_OSABI_LINUX set | |
3636 | `num_regs' to 90 rather than 79. Where a target description is | |
3637 | present adjust the setting appropriately. | |
3638 | ||
88c3cd8d PA |
3639 | 2016-04-21 Pedro Alves <[email protected]> |
3640 | ||
3641 | * common/common-exceptions.h (GDB_XCPT_TRY): Add comment. | |
3642 | (GDB_XCPT): Always define as GDB_XCPT_SJMP. | |
3643 | ||
71829b1a PA |
3644 | 2016-04-21 Pedro Alves <[email protected]> |
3645 | ||
3646 | * aix-thread.c (pdc_read_data, pdc_write_data): Add cast. | |
3647 | (aix_thread_resume): Use PTRACE_TYPE_ARG5. | |
3648 | * rs6000-nat.c (rs6000_ptrace64): Use PTRACE_TYPE_ARG5. | |
3649 | (rs6000_ptrace_ldinfo): Change type of 'ldi' local to void | |
3650 | pointer, and cast return to gdb_byte pointer. | |
3651 | ||
3451269c PA |
3652 | 2016-04-21 Pedro Alves <[email protected]> |
3653 | ||
3654 | * s390-linux-nat.c (fetch_regset, store_regset, check_regset): Use | |
3655 | void * instead of gdb_byte *. | |
3656 | ||
b36cec19 PA |
3657 | 2016-04-21 Pedro Alves <[email protected]> |
3658 | ||
3659 | * dwarf2read.c (try_open_dwop_file, open_dwo_file) | |
3660 | (file_file_name, file_full_name): Add char * cast to sentinel in | |
3661 | concat/reconcat calls. | |
3662 | * event-top.c (top_level_prompt): Likewise. | |
3663 | * guile/guile.c (initialize_scheme_side): Likewise. | |
3664 | * linux-tdep.c (linux_fill_prpsinfo): Likewise. | |
3665 | * macrotab.c (macro_source_fullname): Likewise. | |
3666 | * main.c (get_init_files, captured_main): Likewise. | |
3667 | * psymtab.c (psymtab_to_fullname): Likewise. | |
3668 | * python/python.c (_initialize_python) | |
3669 | (gdbpy_finish_initialization): Likewise. | |
3670 | * source.c (symtab_to_fullname): Likewise. | |
3671 | ||
a2358508 PA |
3672 | 2016-04-20 Pedro Alves <[email protected]> |
3673 | ||
3674 | * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Default to yes. | |
3675 | * configure: Renegerate. | |
3676 | ||
5ae00552 PA |
3677 | 2016-04-20 Pedro Alves <[email protected]> |
3678 | ||
3679 | * darwin-nat.c (darwin_decode_message): Use gdb_signal_from_host. | |
3680 | ||
d9436c7c PA |
3681 | 2016-04-20 Pedro Alves <[email protected]> |
3682 | ||
3683 | * aarch64-tdep.c (aarch64_record_load_store): Change type of | |
3684 | 'reg_rm_val' local to ULONGEST. | |
3685 | ||
597e448c PA |
3686 | 2016-04-20 Pedro Alves <[email protected]> |
3687 | ||
3688 | * darwin-nat.c (darwin_resume_thread): Add uintptr_t cast. | |
3689 | ||
6c739336 DE |
3690 | 2016-04-20 Doug Evans <[email protected]> |
3691 | ||
3692 | * symmisc.c (dump_symtab_1): Print owning compunit for identical | |
3693 | blockvectors. | |
3694 | ||
8cef59a2 YQ |
3695 | 2016-04-20 Yao Qi <[email protected]> |
3696 | ||
3697 | * aarch32-linux-nat.c: Include "arch/arm-linux.h". | |
3698 | ||
6885166d YQ |
3699 | 2016-04-20 Yao Qi <[email protected]> |
3700 | ||
3701 | * arm-linux-tdep.h (ARM_CPSR_GREGNUM): Move it to ... | |
3702 | * arch/arm-linux.h: ... here. | |
3703 | ||
21002a63 JB |
3704 | 2016-04-19 John Baldwin <[email protected]> |
3705 | ||
3706 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Change xstateregs | |
3707 | to void *. | |
3708 | (amd64bsd_store_inferior_registers): Likewise. | |
3709 | * fbsd-nat.c (resume_one_thread_cb): Explicitly cast data to ptid_t *. | |
3710 | (resume_all_threads_cb): Likewise. | |
3711 | * i386bsd-nat.c (i386bsd_supply_gregset): Cast gregs to char *. | |
3712 | (i386bsd_collect_gregset): Likewise. | |
3713 | (i386bsd_fetch_inferior_registers): Change xstateregs to void *. | |
3714 | (i386bsd_store_inferior_registers): Likewise. | |
3715 | ||
f39c07ac JB |
3716 | 2016-04-19 John Baldwin <[email protected]> |
3717 | ||
3718 | * main.c (setup_alternate_signal_stack): Cast to char *. | |
3719 | ||
d04c1a59 DE |
3720 | 2016-04-19 Doug Evans <[email protected]> |
3721 | ||
3722 | * symmisc.c (dump_symtab_1, dump_symtab): Delete arg objfile. | |
3723 | All callers updated. | |
3724 | ||
a55411b9 DE |
3725 | 2016-04-19 Doug Evans <[email protected]> |
3726 | ||
ee2915c9 | 3727 | PR gdb/17911 |
a55411b9 DE |
3728 | * source.c (is_regular_file): New arg errno_ptr. |
3729 | All callers updated. | |
3730 | ||
73e6209f AA |
3731 | 2016-04-19 Andreas Arnez <[email protected]> |
3732 | ||
3733 | * linux-record.c (record_linux_system_call): Merge handling for | |
3734 | readlink/recv/read and pipe/pipe2. | |
3735 | ||
f42bf748 WT |
3736 | 2016-04-14 Walfred Tedeschi <[email protected]> |
3737 | ||
3738 | * features/i386/amd64-mpx-linux.xml: Remove AVX feature. | |
3739 | * features/i386/amd64-mpx.xml: Remove AVX feature. | |
3740 | * features/i386/i386-mpx-linux.xml: Remove AVX feature. | |
3741 | * features/i386/i386-mpx.xml: Remove AVX feature. | |
3742 | * features/i386/amd64-mpx-linux.c: Regenerate. | |
3743 | * features/i386/amd64-mpx.c: Regenerate. | |
3744 | * features/i386/i386-mpx-linux.c: Regenerate. | |
3745 | * features/i386/i386-mpx.c: Regenerate. | |
3746 | * regformats/i386/amd64-mpx-linux.dat: Regenerate. | |
3747 | * regformats/i386/amd64-mpx.dat: Regenerate. | |
3748 | * regformats/i386/i386-mpx-linux.dat: Regenerate. | |
3749 | * regformats/i386/i386-mpx.dat: Regenerate. | |
3750 | ||
2b863f51 WT |
3751 | 2016-04-16 Walfred Tedeschi <[email protected]> |
3752 | ||
3753 | * amd64-linux-tdep.c (features/i386/amd64-avx-mpx-linux.c): | |
3754 | New include. | |
3755 | (amd64_linux_core_read_description): Add case for | |
3756 | X86_XSTATE_AVX_MPX_MASK. | |
3757 | (_initialize_amd64_linux_tdep): Call initialize_tdesc_amd64_avx_mpx_linux. | |
3758 | * amd64-linux-tdep.h (tdesc_amd64_avx_mpx_linux): New definition. | |
3759 | * amd64-tdep.c (features/i386/amd64-avx-mpx.c): New include. | |
3760 | (amd64_target_description): Add case for X86_XSTATE_AVX_MPX_MASK. | |
3761 | (_initialize_amd64_tdep): Call initialize_tdesc_amd64_avx_mpx. | |
3762 | * common/x86-xstate.h (X86_XSTATE_MPX_MASK): Remove AVX bits. | |
3763 | (X86_XSTATE_AVX_MPX_MASK): New case. | |
3764 | * features/Makefile (i386/i386-avx-mpx, i386/i386-avx-mpx-linux) | |
3765 | (i386/amd64-avx-mpx, i386/amd64-avx-mpx-linux): New rules. | |
3766 | (i386/i386-avx-mpx-expedite, i386/i386-avx-mpx-linux-expedite) | |
3767 | (i386/amd64-avx-mpx-expedite, i386/amd64-avx-mpx-linux-expedite): | |
3768 | New expedites. | |
3769 | * i386-linux-tdep.c (features/i386/i386-avx-mpx-linux.c): New | |
3770 | include. | |
3771 | (i386_linux_core_read_description): Add case | |
3772 | X86_XSTATE_AVX_MPX_MASK. | |
3773 | (_initialize_i386_linux_tdep): Call | |
3774 | initialize_tdesc_i386_avx_mpx_linux. | |
3775 | * i386-linux-tdep.h (tdesc_i386_avx_mpx_linux): New include. | |
3776 | * i386-tdep.c (features/i386/i386-avx-mpx.c): New include. | |
3777 | (i386_target_description): Add case for X86_XSTATE_AVX_MPX_MASK. | |
3778 | * x86-linux-nat.c (x86_linux_read_description): Add case for | |
3779 | X86_XSTATE_AVX_MPX_MASK. | |
3780 | * features/i386/amd64-avx-mpx-linux.xml: New file. | |
3781 | * features/i386/i386-avx-mpx-linux.xml: New file. | |
3782 | * features/i386/i386-avx-mpx.xml: New file. | |
3783 | * features/i386/amd64-avx-mpx.xml: New file. | |
3784 | * features/i386/amd64-avx-mpx-linux.c: Generated. | |
3785 | * features/i386/amd64-avx-mpx.c: Generated. | |
3786 | * features/i386/i386-avx-mpx-linux.c: Generated. | |
3787 | * features/i386/i386-avx-mpx.c: Generated. | |
3788 | * regformats/i386/amd64-avx-mpx-linux.dat: Generated. | |
3789 | * regformats/i386/amd64-avx-mpx.dat: Generated. | |
3790 | * regformats/i386/i386-avx-mpx-linux.dat: Generated. | |
3791 | * regformats/i386/i386-avx-mpx.dat: Generated. | |
3792 | ||
9b30624b PA |
3793 | 2016-04-18 Pedro Alves <[email protected]> |
3794 | ||
3795 | * ptrace.m4 (GDB_AC_PTRACE): Don't run tests in C++ mode. | |
3796 | * configure: Regenerate. | |
3797 | ||
a22df60a MG |
3798 | 2016-04-18 Martin Galvan <[email protected]> |
3799 | ||
3800 | * valops.c (value_addr): For C++ references, set the copied value's | |
3801 | enclosing_type as well. | |
3802 | ||
5947319e YQ |
3803 | 2016-04-18 Yao Qi <[email protected]> |
3804 | ||
3805 | Revert: | |
3806 | 2016-04-15 Yao Qi <[email protected]> | |
3807 | ||
3808 | * arm-tdep.c (thumb_stack_frame_destroyed_p): Return zero if | |
3809 | PC is far from the end of function. | |
3810 | ||
58484447 PA |
3811 | 2016-04-16 Pedro Alves <[email protected]> |
3812 | ||
3813 | * ada-exp.y (yydefred): Define as ada_yydefred. | |
3814 | ||
2b2798cc PA |
3815 | 2016-04-15 Pedro Alves <[email protected]> |
3816 | ||
3817 | * ada-lang.c (ada_lookup_struct_elt_type): Constify 'type_str' and | |
3818 | 'name_str' locals. | |
3819 | ||
d7abe101 PA |
3820 | 2016-04-15 Pedro Alves <[email protected]> |
3821 | ||
3822 | * btrace.c (pt_btrace_insn_flags): Change return type to | |
3823 | btrace_insn_flags. Use btrace_insn_flags for local. | |
3824 | ||
77770d83 PA |
3825 | 2016-04-15 Pedro Alves <[email protected]> |
3826 | ||
3827 | * nat/linux-ptrace.h [__mips__] (GDB_ARCH_IS_TRAP_BRKPT): Also | |
3828 | accept TRAP_BRKPT. | |
3829 | [__mips__] (GDB_ARCH_IS_TRAP_HWBKPT): Also accept TRAP_HWBKPT. | |
3830 | ||
415fa612 YQ |
3831 | 2016-04-15 Yao Qi <[email protected]> |
3832 | ||
3833 | * arm-tdep.c (thumb_stack_frame_destroyed_p): Return zero if | |
3834 | PC is far from the end of function. | |
3835 | ||
7f31862a PA |
3836 | 2016-04-14 Pedro Alves <[email protected]> |
3837 | ||
3838 | * cli/cli-cmds.c (alias_usage_error): New function. | |
3839 | (alias_command): Use it. | |
3840 | * ctf.c (ctf_save_metadata_header): Inline metadata_fmt local in | |
3841 | ctf_save_write_metadata call. | |
3842 | ||
aebf07fc PA |
3843 | 2016-04-14 Pedro Alves <[email protected]> |
3844 | ||
3845 | * ada-typeprint.c (print_fixed_point_type): Don't pass float as | |
3846 | argument to function expecting LONGEST. | |
3847 | * value.c (unpack_long): Add casts to LONGEST. | |
3848 | ||
57d1de9c LM |
3849 | 2016-04-13 Luis Machado <[email protected]> |
3850 | ||
3851 | * exec.c (exec_file_locate_attach): Guard a couple functions | |
3852 | that can throw errors. | |
3853 | (exception_print_same): New helper function. | |
3854 | ||
3a00c802 PA |
3855 | 2016-04-13 Pedro Alves <[email protected]> |
3856 | ||
3857 | PR remote/19840 | |
3858 | * remote.c (struct remote_state) <last_resume_exec_dir>: New | |
3859 | field. | |
3860 | (new_remote_state): Default last_resume_exec_dir to EXEC_FORWARD. | |
3861 | (remote_open_1): Reset last_resume_exec_dir to EXEC_FORWARD. | |
3862 | (remote_resume): Store the last execution direction. | |
3863 | (remote_execution_direction): New function. | |
3864 | (init_remote_ops): Install it as to_execution_direction target_ops | |
3865 | method. | |
3866 | ||
0f41b320 PA |
3867 | 2016-04-12 Pedro Alves <[email protected]> |
3868 | ||
3869 | * common/common-exceptions.h (GDB_XCPT_TRY): Update comment. | |
3870 | [__cplusplus] (GDB_XCPT): Define as GDB_XCPT_TRY. | |
3871 | ||
173981bc PA |
3872 | 2016-04-12 Pedro Alves <[email protected]> |
3873 | ||
3874 | * common/common-exceptions.c (struct catcher) <buf>: Now a | |
3875 | 'jmp_buf' instead of SIGJMP_BUF. | |
3876 | (exceptions_state_mc_init): Change return type to 'jmp_buf'. | |
3877 | (throw_exception): Use longjmp instead of SIGLONGJMP. | |
3878 | * common/common-exceptions.h: Include <setjmp.h> instead of | |
3879 | "gdb_setjmp.h". | |
3880 | (exceptions_state_mc_init): Change return type to 'jmp_buf'. | |
3881 | [GDB_XCPT == GDB_XCPT_SJMP] (TRY): Use setjmp instead of | |
3882 | SIGSETJMP. | |
3883 | * cp-support.c: Include "gdb_setjmp.h". | |
3884 | ||
2afc13ff PA |
3885 | 2016-04-12 Pedro Alves <[email protected]> |
3886 | ||
3887 | * common/common-exceptions.c (exception_rethrow): Remove | |
3888 | prepare_to_throw_exception call. | |
3889 | * common/common-exceptions.h (prepare_to_throw_exception): Delete | |
3890 | declaration. | |
3891 | * exceptions.c (prepare_to_throw_exception): Delete. | |
3892 | ||
cfd0fbdd PA |
3893 | 2016-04-12 Pedro Alves <[email protected]> |
3894 | ||
3895 | * target.c (target_check_pending_interrupt): Delete. | |
3896 | * target.h (struct target_ops) <to_check_pending_interrupt>: | |
3897 | Remove method. | |
3898 | (target_check_pending_interrupt): Remove declaration. | |
3899 | * target-delegates.c: Regenerate. | |
3900 | ||
585a46a2 PA |
3901 | 2016-04-12 Pedro Alves <[email protected]> |
3902 | ||
3903 | * defs.h: Update comments on SIGINT handling. | |
3904 | (immediate_quit): Delete declaration. | |
3905 | * event-loop.c (call_async_signal_handler): Delete. | |
3906 | * event-loop.h (call_async_signal_handler): Delete declaration. | |
3907 | (mark_async_signal_handler): Update comments. | |
3908 | (gdb_call_async_signal_handler): Delete declaration. | |
3909 | * event-top.c (handle_sigint): Call mark_async_signal_handler | |
3910 | instead of gdb_call_async_signal_handler. | |
3911 | * exceptions.c (prepare_to_throw_exception): Remove reference to | |
3912 | immediate_quit. | |
3913 | (exception_fprintf): Remove comments about immediate_quit. | |
3914 | * mingw-hdep.c (sigint_event, sigint_handler): Delete. | |
3915 | (gdb_select): Don't wait on sigint_event. | |
3916 | (gdb_call_async_signal_handler): Delete. | |
3917 | (_initialize_mingw_hdep): Delete. | |
3918 | * posix-hdep.c (gdb_call_async_signal_handler): Delete. | |
3919 | * utils.c (immediate_quit): Delete. | |
3920 | ||
048094ac PA |
3921 | 2016-04-12 Pedro Alves <[email protected]> |
3922 | ||
3923 | * defs.h (quit_handler_ftype, quit_handler) | |
3924 | (make_cleanup_override_quit_handler, default_quit_handler): New. | |
3925 | (QUIT): Adjust comments. | |
3926 | * event-top.c (default_quit_handler): New function. | |
3927 | (quit_handler): New global. | |
3928 | (struct quit_handler_cleanup_data): New. | |
3929 | (restore_quit_handler, restore_quit_handler_dtor) | |
3930 | (make_cleanup_override_quit_handler): New. | |
3931 | (async_request_quit): Call QUIT. | |
3932 | * remote.c (struct remote_state) <got_ctrlc_during_io>: New field. | |
3933 | (async_sigint_remote_twice_token, async_sigint_remote_token): | |
3934 | Delete. | |
3935 | (remote_close): Update comments. | |
3936 | (remote_start_remote): Don't set immediate_quit. Set starting_up | |
3937 | earlier. | |
3938 | (remote_serial_quit_handler, remote_unpush_and_throw): New | |
3939 | functions. | |
3940 | (remote_open_1): Clear got_ctrlc_during_io. Set | |
3941 | remote_async_terminal_ours_p unconditionally. | |
3942 | (async_initialize_sigint_signal_handler) | |
3943 | (async_handle_remote_sigint, async_handle_remote_sigint_twice) | |
3944 | (remote_check_pending_interrupt, async_remote_interrupt) | |
3945 | (async_remote_interrupt_twice) | |
3946 | (async_cleanup_sigint_signal_handler, ofunc) | |
3947 | (sync_remote_interrupt, sync_remote_interrupt_twice): Delete. | |
3948 | (remote_terminal_inferior, remote_terminal_ours): Remove async | |
3949 | checks. | |
3950 | (remote_wait_as): Don't install a SIGINT handler in sync mode. | |
3951 | (readchar, remote_serial_write): Override the quit handler with | |
3952 | remote_serial_quit_handler. | |
3953 | (getpkt_or_notif_sane_1): Don't call QUIT. | |
3954 | (initialize_remote_ops): Don't install | |
3955 | remote_check_pending_interrupt. | |
3956 | (_initialize_remote): Don't create async_sigint_remote_token and | |
3957 | async_sigint_remote_twice_token. | |
3958 | * ser-base.c (ser_base_wait_for): Call QUIT and use | |
3959 | interruptible_select. | |
3960 | (ser_base_write): Call QUIT. | |
3961 | * ser-go32.c (dos_readchar, dos_write): Call QUIT. | |
3962 | * ser-unix.c (wait_for): Don't use VTIME. Always take the | |
3963 | gdb_select path, but call QUIT and interruptible_select. | |
3964 | * utils.c (maybe_quit): Call the current quit handler. Don't call | |
3965 | target_check_pending_interrupt. | |
3966 | (defaulted_query, prompt_for_continue): Override the quit handler | |
3967 | with the default quit handler. | |
3968 | ||
a12ac513 PA |
3969 | 2016-04-12 Pedro Alves <[email protected]> |
3970 | ||
3971 | * tui/tui-hooks.c (tui_target_has_run): Delete. | |
3972 | (tui_about_to_proceed): Delete. | |
3973 | (tui_about_to_proceed_observer): Delete. | |
3974 | (tui_install_hooks, tui_remove_hooks): Don't install/remove an | |
3975 | about_to_proceed observer. | |
3976 | ||
5fe96654 PA |
3977 | 2016-04-12 Pedro Alves <[email protected]> |
3978 | ||
3979 | * mi/mi-interp.c (mi_new_thread): Put | |
3980 | target_terminal_ours_for_output in effect while outputting. | |
3981 | (mi_thread_exit): Use target_terminal_ours_for_output instead of | |
3982 | target_terminal_ours. | |
3983 | (mi_record_changed, mi_inferior_added, mi_inferior_appeared) | |
3984 | (mi_inferior_exit, mi_inferior_removed, mi_traceframe_changed) | |
3985 | (mi_tsv_created, mi_tsv_deleted, mi_tsv_modified) | |
3986 | (mi_breakpoint_created, mi_breakpoint_deleted) | |
3987 | (mi_breakpoint_modified, mi_solib_loaded, mi_solib_unloaded) | |
3988 | (mi_command_param_changed, mi_memory_changed) | |
3989 | (report_initial_inferior): Use target_terminal_ours_for_output | |
3990 | instead of target_terminal_ours. Restore terminal settings. | |
3991 | * mi/mi-main.c (mi_execute_command): Use | |
3992 | target_terminal_ours_for_output instead of target_terminal_ours. | |
3993 | Restore terminal settings. | |
3994 | ||
651ce16a PA |
3995 | 2016-04-12 Pedro Alves <[email protected]> |
3996 | ||
3997 | PR gdb/19828 | |
3998 | * gnu-nat.c (inf_validate_task_sc): Don't call | |
3999 | target_terminal_ours / target_terminal_inferior around query. | |
4000 | * i386-tdep.c (i386_record_lea_modrm, i386_process_record): Don't | |
4001 | call target_terminal_ours / target_terminal_inferior around | |
4002 | yquery. | |
4003 | * linux-record.c (record_linux_system_call): Don't call | |
4004 | target_terminal_ours / target_terminal_inferior around yquery. | |
4005 | * nto-procfs.c (interrupt_query): Don't call target_terminal_ours | |
4006 | / target_terminal_inferior around query. | |
4007 | * record-full.c (record_full_check_insn_num): Remove | |
4008 | 'set_terminal' parameter. Don't call target_terminal_ours / | |
4009 | target_terminal_inferior around query. | |
4010 | (record_full_message, record_full_registers_change) | |
4011 | (record_full_xfer_partial): Adjust. | |
4012 | * remote.c (interrupt_query): Don't call target_terminal_ours / | |
4013 | target_terminal_inferior around query. | |
4014 | * utils.c (defaulted_query): Install cleanup to restore target | |
4015 | terminal. Put target_terminal_ours_for_output in effect while | |
4016 | defaulted producing, and target_terminal_ours in in effect while | |
4017 | handling input. | |
4018 | (prompt_for_continue): Install cleanup to restore target terminal. | |
4019 | Put target_terminal_ours in in effect while handling input. | |
4020 | ||
80dbc9fd PA |
4021 | 2016-04-12 Pedro Alves <[email protected]> |
4022 | ||
4023 | * utils.c (defaulted_query, prompt_for_continue): Free temporary | |
4024 | strings with cleanups, instead of xfree. | |
4025 | ||
c5ac1540 PA |
4026 | 2016-04-12 Pedro Alves <[email protected]> |
4027 | ||
4028 | * utils.c (vwarning, internal_vproblem): Use | |
4029 | make_cleanup_restore_target_terminal and | |
4030 | target_terminal_ours_for_output. | |
4031 | ||
f8e3ef9d PA |
4032 | 2016-04-12 Pedro Alves <[email protected]> |
4033 | ||
4034 | * infcmd.c (post_create_inferior, prepare_one_step): Use | |
4035 | target_terminal_ours_for_output instead of target_terminal_ours. | |
4036 | ||
481ac8c9 PA |
4037 | 2016-04-12 Pedro Alves <[email protected]> |
4038 | ||
4039 | * exceptions.c (print_flush): Use target_terminal_ours_for_output | |
4040 | instead of target_terminal_ours, and restore target terminal with | |
4041 | a cleanup. | |
4042 | ||
c509f1e1 PA |
4043 | 2016-04-12 Pedro Alves <[email protected]> |
4044 | ||
4045 | * cp-support.c (gdb_demangle): Use target_terminal_ours_for_output | |
4046 | instead of target_terminal_ours, and restore target terminal with | |
4047 | a cleanup. | |
4048 | ||
99bbb428 PA |
4049 | 2016-04-12 Pedro Alves <[email protected]> |
4050 | ||
4051 | * ada-lang.c (type_as_string, type_as_string_and_cleanup): New | |
4052 | functions. | |
4053 | (ada_lookup_struct_elt_type): Use type_as_string_and_cleanup. | |
4054 | ||
75ee5925 PA |
4055 | 2016-04-12 Pedro Alves <[email protected]> |
4056 | ||
4057 | * ser-base.c (fd_event): Retry read_prim on EINTR. | |
4058 | (do_ser_base_readchar): Retry read_prim on EINTR. | |
4059 | (ser_base_write): Retry write_prim on EINTR. | |
4060 | * ser-unix.c (ser_unix_read_prim): Don't retry on EINTR here. | |
4061 | (ser_unix_write_prim): Remove comment. | |
4062 | ||
93692b58 PA |
4063 | 2016-04-12 Pedro Alves <[email protected]> |
4064 | ||
4065 | * remote.c (remote_pass_ctrlc): New function. | |
4066 | (init_remote_ops): Install it. | |
4067 | * target.c (target_terminal_inferior): Pass pending Ctrl-C to the | |
4068 | target. | |
4069 | (target_pass_ctrlc, default_target_pass_ctrlc): New functions. | |
4070 | * target.h (struct target_ops) <to_pass_ctrlc>: New method. | |
4071 | (target_pass_ctrlc, default_target_pass_ctrlc): New declarations. | |
4072 | * target-delegates.c: Regenerate. | |
4073 | ||
e42de8c7 PA |
4074 | 2016-04-12 Pedro Alves <[email protected]> |
4075 | ||
4076 | * infcmd.c (interrupt_target_1): Call target_stop is in non-stop | |
4077 | mode. | |
4078 | * linux-nat.c (linux_nat_interrupt): Delete. | |
4079 | (linux_nat_add_target): Don't install linux_nat_interrupt. | |
4080 | * remote.c (remote_interrupt_ns): Change return type to void. | |
4081 | Throw error if interrupting the target is not supported. | |
4082 | (remote_interrupt): Don't call the remote_stop_ns/remote_stop_as. | |
4083 | ||
a149683b PA |
4084 | 2016-04-12 Pedro Alves <[email protected]> |
4085 | ||
4086 | * defs.h (clear_quit_flag): Remove declaration. | |
4087 | * extension-priv.h (struct extension_language_ops) | |
4088 | <clear_quit_flag>: Remove field and update comments. | |
4089 | * extension.c (clear_quit_flag): Delete. | |
4090 | * guile/guile.c (guile_extension_ops): Adjust. | |
4091 | * python/python.c (python_extension_ops): Adjust. | |
4092 | (gdbpy_clear_quit_flag): Delete. | |
4093 | ||
da1e5f54 PA |
4094 | 2016-04-12 Pedro Alves <[email protected]> |
4095 | ||
4096 | * main.c (captured_main): Don't clear the quit flag. | |
4097 | ||
0af679c6 PA |
4098 | 2016-04-12 Pedro Alves <[email protected]> |
4099 | ||
4100 | * exceptions.c (prepare_to_throw_exception): Don't clear the quit | |
4101 | flag. | |
4102 | ||
4a81fd47 PA |
4103 | 2016-04-12 Pedro Alves <[email protected]> |
4104 | ||
4105 | * event-top.c (command_handler): Don't call clear_quit_flag. | |
4106 | ||
abf009ef PA |
4107 | 2016-04-12 Pedro Alves <[email protected]> |
4108 | ||
4109 | * remote-sim.c (gdb_os_poll_quit): Don't call clear_quit_flag. | |
4110 | * remote.c (remote_wait_as): Don't call clear_quit_flag. | |
4111 | ||
6eddd09a PA |
4112 | 2016-04-12 Pedro Alves <[email protected]> |
4113 | ||
4114 | * python/python.c: Include "ser-event.h". | |
4115 | (gdbpy_event_fds): Delete. | |
4116 | (gdbpy_serial_event): New. | |
4117 | (gdbpy_run_events): Change prototype. Use serial_event_clear | |
4118 | instead of serial_readchar. | |
4119 | (gdbpy_post_event): Use serial_event_set instead of serial_write. | |
4120 | (gdbpy_initialize_events): Use make_serial_event instead of | |
4121 | serial_pipe. | |
4122 | ||
f0881b37 PA |
4123 | 2016-04-12 Pedro Alves <[email protected]> |
4124 | ||
4125 | * defs.h: Extend QUIT-related comments to mention | |
4126 | interruptible_select. | |
4127 | (quit_serial_event_set, quit_serial_event_clear): Declare. | |
4128 | * event-top.c: Include "ser-event.h" and "gdb_select.h". | |
4129 | (quit_serial_event): New global. | |
4130 | (async_init_signals): Make quit_serial_event. | |
4131 | (quit_serial_event_set, quit_serial_event_clear) | |
4132 | (quit_serial_event_fd, interruptible_select): New functions. | |
4133 | * extension.c (set_quit_flag): Set the quit serial event. | |
4134 | (check_quit_flag): Clear the quit serial event. | |
4135 | * gdb_select.h (interruptible_select): New declaration. | |
4136 | * guile/scm-ports.c (ioscm_input_waiting): Use | |
4137 | interruptible_select instead of gdb_select. | |
4138 | * top.c (gdb_readline_no_editing): Likewise. | |
4139 | * ui-file.c (stdio_file_read): Likewise. | |
4140 | ||
5cc3ce8b PA |
4141 | 2016-04-12 Pedro Alves <[email protected]> |
4142 | ||
4143 | * event-loop.c: Include "ser-event.h". | |
4144 | (async_signal_handlers_serial_event): New global. | |
4145 | (async_signals_handler, initialize_async_signal_handlers): New | |
4146 | functions. | |
4147 | (mark_async_signal_handler): Set | |
4148 | async_signal_handlers_serial_event. | |
4149 | (invoke_async_signal_handlers): Clear | |
4150 | async_signal_handlers_serial_event. | |
4151 | * event-top.c (async_init_signals): Call | |
4152 | initialize_async_signal_handlers. | |
4153 | ||
00340e1b PA |
4154 | 2016-04-12 Pedro Alves <[email protected]> |
4155 | ||
4156 | * Makefile.in (SFILES): Add ser-event.c. | |
4157 | (HFILES_NO_SRCDIR): Add ser-event.h. | |
4158 | (COMMON_OBS): Add ser-event.o. | |
4159 | * ser-event.c, ser-event.h: New files. | |
4160 | * serial.c (new_serial): New function, factored out from | |
4161 | (serial_fdopen_ops): ... this. | |
4162 | (serial_open_ops_1): New function, factored out from | |
4163 | (serial_open): ... this. | |
4164 | (serial_open_ops): New function. | |
4165 | * serial.h (struct serial): Forware declare. | |
4166 | (serial_open_ops): New declaration. | |
4167 | ||
5f5219fc PA |
4168 | 2016-04-12 Pedro Alves <[email protected]> |
4169 | ||
4170 | * serial.c (serial_open, serial_fdopen_ops, do_serial_close): | |
4171 | Remove references to name. | |
4172 | * serial.h (struct serial) <name>: Delete. | |
4173 | ||
acd5494d PA |
4174 | 2016-04-12 Pedro Alves <[email protected]> |
4175 | ||
4176 | * remote-fileio.c (sigint_fileio_token, remote_fio_no_longjmp): | |
4177 | Delete. | |
4178 | (async_remote_fileio_interrupt): Delete. | |
4179 | (remote_fileio_ctrl_c_signal_handler): Don't call the async signal | |
4180 | handler. Instead just always set the ctrl_c flag. | |
4181 | (remote_fileio_reply): Clear remote_fio_ctrl_c_flag before | |
4182 | re-enabling the SIGINT handler. | |
4183 | (remote_fileio_func_open, remote_fileio_func_close) | |
4184 | (remote_fileio_func_read, remote_fileio_func_write) | |
4185 | (remote_fileio_func_lseek, remote_fileio_func_rename) | |
4186 | (remote_fileio_func_unlink, remote_fileio_func_stat) | |
4187 | (remote_fileio_func_fstat, remote_fileio_func_gettimeofday) | |
4188 | (remote_fileio_func_isatty, remote_fileio_func_system) | |
4189 | (remote_fileio_request): Remove references to | |
4190 | remote_fio_no_longjmp. | |
4191 | (initialize_remote_fileio): Don't create an async signal handler. | |
4192 | ||
d2acc30b PA |
4193 | 2016-04-12 Pedro Alves <[email protected]> |
4194 | ||
4195 | * event-top.c (stdin_event_handler): Call QUIT; | |
4196 | (prompt_for_continue): Don't run with immediate_quit set. | |
4197 | ||
ab33ab13 PA |
4198 | 2016-04-12 Pedro Alves <[email protected]> |
4199 | ||
4200 | * tui/tui-io.c (tui_redisplay_readline): Check | |
4201 | gdb_in_secondary_prompt_p instead of immediate_quit. | |
4202 | * tui/tui.c: Include top.h. | |
4203 | (tui_rl_startup_hook): Check gdb_in_secondary_prompt_p instead of | |
4204 | immediate_quit. | |
4205 | ||
faa4ebe1 PA |
4206 | 2016-04-12 Pedro Alves <[email protected]> |
4207 | ||
4208 | * top.c (read_command_file): Inline command_loop here. | |
4209 | (command_loop): Delete. | |
4210 | ||
3212b858 PA |
4211 | 2016-04-12 Pedro Alves <[email protected]> |
4212 | ||
4213 | * top.c: Include "gdb_select.h". | |
4214 | (gdb_readline_no_editing): Wait for input with gdb_select instead | |
4215 | of blocking in fgetc. | |
4216 | (command_line_input): Don't set immediate_quit. | |
4217 | ||
4bf7b526 MG |
4218 | 2016-04-08 Martin Galvan <[email protected]> |
4219 | ||
4220 | * value.c (value_next): Make pass-by-reference parameters const-correct. | |
4221 | (value_parent): Likewise. | |
4222 | (value_enclosing_type): Likewise. | |
4223 | (value_lazy): Likewise. | |
4224 | (value_stack): Likewise. | |
4225 | (value_embedded_offset): Likewise. | |
4226 | (value_pointed_to_offset): Likewise. | |
4227 | (value_raw_address): Likewise. | |
4228 | (deprecated_value_modifiable): Likewise. | |
4229 | (value_free_to_mark): Likewise. | |
4230 | (value_release_to_mark): Likewise. | |
4231 | (internalvar_name): Likewise. | |
4232 | (readjust_indirect_value_type): Likewise. | |
4233 | (value_initialized): Likewise. | |
4234 | * value.h (value_next): Likewise. | |
4235 | (value_parent): Likewise. | |
4236 | (value_enclosing_type): Likewise. | |
4237 | (value_lazy): Likewise. | |
4238 | (value_stack): Likewise. | |
4239 | (value_embedded_offset): Likewise. | |
4240 | (value_pointed_to_offset): Likewise. | |
4241 | (value_raw_address): Likewise. | |
4242 | (deprecated_value_modifiable): Likewise. | |
4243 | (value_free_to_mark): Likewise. | |
4244 | (value_release_to_mark): Likewise. | |
4245 | (internalvar_name): Likewise. | |
4246 | (readjust_indirect_value_type): Likewise. | |
4247 | (value_initialized): Likewise. | |
4248 | ||
e390720b YQ |
4249 | 2016-04-07 Yao Qi <[email protected]> |
4250 | ||
4251 | * record-full.c (record_full_insert_breakpoint): Return | |
4252 | early if entry on the address is found in | |
4253 | record_full_breakpoints. | |
4254 | ||
1ccd06e4 YQ |
4255 | 2016-04-07 Yao Qi <[email protected]> |
4256 | ||
4257 | * record-full.c (record_full_insert_breakpoint): Set | |
4258 | bp_tgt->reqstd_address and bp_tgt->placed_size. | |
4259 | ||
ecf2e90c DB |
4260 | 2016-04-06 Don Breazeal <[email protected]> |
4261 | ||
4262 | * value.c (value_actual_type): Don't try to get rtti type | |
4263 | of the value if it has been optimized out. | |
4264 | (value_optimized_out): If a memory access error occurs, | |
4265 | just check vaue->optimized_out. | |
4266 | ||
14731617 JK |
4267 | 2016-04-06 Jan Kratochvil <[email protected]> |
4268 | ||
4269 | Revert the previous commit adding unknown_v_replies_ok. | |
4270 | ||
319cb5d0 JK |
4271 | 2016-04-06 Jan Kratochvil <[email protected]> |
4272 | ||
4273 | * remote.c (struct remote_state): New field unknown_v_replies_ok. | |
4274 | (packet_config_support): Read it. | |
4275 | (remote_start_remote): Set it. | |
4276 | ||
052d2eb2 JK |
4277 | 2016-04-06 Jan Kratochvil <[email protected]> |
4278 | ||
4279 | * remote.c: Revert check-in by a mistake in the previous commit. | |
4280 | ||
fef3cb9f JK |
4281 | 2016-04-06 Jan Kratochvil <[email protected]> |
4282 | Pedro Alves <[email protected]> | |
4283 | ||
4284 | * exec.c (exec_file_locate_attach): Print warning for unsupported | |
4285 | target_pid_to_exec_file. | |
4286 | * symfile-mem.c (add_vsyscall_page): Remove the "file" command | |
4287 | message part. | |
4288 | ||
2aa08bd1 SM |
4289 | 2016-04-04 Simon Marchi <[email protected]> |
4290 | ||
4291 | * cli/cli-decode.c (help_cmd_list): Fix function doc and remove | |
4292 | trailing spaces. | |
4293 | ||
cc63428a AV |
4294 | 2016-04-01 Artemiy Volkov <[email protected]> |
4295 | ||
4296 | PR gdb/19820 | |
4297 | * eval.c (evaluate_subexp_standard): Allow TYPE_CODE_ENUM to be | |
4298 | the type of BINOP_REPEAT's second operand. | |
4299 | ||
9bb84c9f YY |
4300 | 2016-03-31 Yichao Yu <[email protected]> |
4301 | ||
4302 | PR gdb/19858 | |
4303 | * jit.c (jit_breakpoint_re_set_internal): Return 0 if we already | |
4304 | got the breakpoint at the right address. | |
4305 | (jit_inferior_created): New function. | |
4306 | (_initialize_jit): Install jit_inferior_created as | |
4307 | inferior_created observer. | |
4308 | ||
22084c42 MK |
4309 | 2016-03-31 Marcin Kościelnicki <[email protected]> |
4310 | ||
4311 | * NEWS: Mention support for tracepoints on powerpc*-linux. | |
4312 | ||
e7ea3ec7 CU |
4313 | 2016-03-31 Catalin Udma <[email protected]> |
4314 | ||
4315 | PR python/19743 | |
4316 | * python/python.c (execute_gdb_command): Use console uiout | |
4317 | when executing gdb command. | |
4318 | * utils.c (restore_ui_out_closure): New structure. | |
4319 | (do_restore_ui_out): New function. | |
4320 | (make_cleanup_restore_ui_out): Likewise. | |
4321 | * utils.h (make_cleanup_restore_ui_out): Declare. | |
4322 | ||
f7c38292 PA |
4323 | 2016-03-31 Pedro Alves <[email protected]> |
4324 | ||
4325 | * NEWS: Mention that support for "target m32rsdi", "target mips", | |
4326 | "target pmon", "target ddb", "target rockhopper", and "target lsi" | |
4327 | was removed. | |
4328 | * Makefile.in (ALL_TARGET_OBS): Remove remote-m32r-sdi.o and | |
4329 | remote-mips.o. | |
4330 | (ALLDEPFILES): Remove remote-m32r-sdi.c and remote-mips.c. | |
4331 | * configure.tgt: Remove all references to remote-m32r-sdi.o and | |
4332 | remote-mips.o. | |
4333 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Delete | |
4334 | function. | |
4335 | * mips-tdep.h (deprecated_mips_set_processor_regs_hack): Delete | |
4336 | declaration. | |
4337 | * remote-m32r-sdi.c, remote-mips.c: Delete files. | |
4338 | * symfile.c (generic_load, generic_load): Remove comments. | |
4339 | ||
fb3f3d25 YQ |
4340 | 2016-03-30 Yao Qi <[email protected]> |
4341 | ||
4342 | * arm-tdep.c (arm_epilogue_frame_this_id): Check 'func' against | |
4343 | 0 rather than NULL. | |
4344 | ||
779aa56f YQ |
4345 | 2016-03-30 Yao Qi <[email protected]> |
4346 | ||
4347 | * arm-tdep.c: (arm_make_epilogue_frame_cache): New function. | |
4348 | (arm_epilogue_frame_this_id): New function. | |
4349 | (arm_epilogue_frame_prev_register): New function. | |
4350 | (arm_epilogue_frame_sniffer): New function. | |
4351 | (arm_epilogue_frame_unwind): New. | |
4352 | (arm_gdbarch_init): Append unwinder arm_epilogue_frame_unwind. | |
4353 | ||
c58b006a YQ |
4354 | 2016-03-30 Yao Qi <[email protected]> |
4355 | ||
4356 | * arm-tdep.c (arm_stack_frame_destroyed_p): Rename it ... | |
4357 | (arm_stack_frame_destroyed_p_1): ... here. Don't call | |
4358 | arm_pc_is_thumb. | |
4359 | (arm_stack_frame_destroyed_p): Call | |
4360 | thumb_stack_frame_destroyed_p and | |
4361 | arm_stack_frame_destroyed_p_1. | |
4362 | ||
4ae6cc19 DE |
4363 | 2016-03-30 Doug Evans <[email protected]> |
4364 | ||
4365 | * python/py-utils.c (host_string_to_python_string): New function. | |
4366 | * python/python-internal.h (host_string_to_python_string): Declare it. | |
4367 | * python/py-*.c (*): Update all calls to | |
4368 | PyString_Decode (str, strlen (str), host_charset (), NULL); | |
4369 | to use host_string_to_python_string instead. | |
4370 | ||
28170b88 MK |
4371 | 2016-03-30 Marcin Kościelnicki <[email protected]> |
4372 | ||
4373 | * remote.c (remote_check_symbols): Allocate own buffer for reply. | |
4374 | ||
a08b52b5 MF |
4375 | 2016-03-29 Max Filippov <[email protected]> |
4376 | ||
4377 | * xtensa-tdep.c (xtensa_frame_cache): Change op1 type to LONGEST. | |
4378 | Use safe_read_memory_integer instead of read_memory_integer. | |
4379 | ||
c37c0ba6 MK |
4380 | 2016-03-29 Marcin Kościelnicki <[email protected]> |
4381 | ||
4382 | * NEWS: Mention support for tracepoints on s390*-linux. | |
4383 | ||
444bca65 DB |
4384 | 2016-03-29 Don Breazeal <[email protected]> |
4385 | ||
4386 | * gdb/value.c (value_actual_type): Fix formatting issue. | |
4387 | ||
cc651c1c YQ |
4388 | 2016-03-23 Yao Qi <[email protected]> |
4389 | ||
4390 | * gdbarch.sh (software_single_step): Remove comments. | |
4391 | * gdbarch.h: Regenerated. | |
4392 | ||
c55978a6 YQ |
4393 | 2016-03-21 Yao Qi <[email protected]> |
4394 | ||
4395 | * arm-tdep.c (arm_record_media): New. | |
4396 | (arm_record_ld_st_reg_offset): Call arm_record_media. | |
4397 | ||
479fe002 YQ |
4398 | 2016-03-21 Yao Qi <[email protected]> |
4399 | ||
4400 | * arm-linux-tdep.c (arm_canonicalize_syscall): Canonicalize | |
4401 | more syscalls. | |
4402 | ||
9c3f2234 YQ |
4403 | 2016-03-18 Yao Qi <[email protected]> |
4404 | ||
4405 | * sparc-tdep.c (sparc_software_single_step): Make it static. | |
4406 | * sparc-tdep.h (sparc_software_single_step): Remove declaration. | |
4407 | ||
941319d1 YQ |
4408 | 2016-03-18 Yao Qi <[email protected]> |
4409 | ||
4410 | * spu-tdep.c (spu_software_single_step): Throw error when | |
4411 | target_read_memory fails. | |
4412 | ||
708bf0a1 JK |
4413 | 2016-03-17 Jan Kratochvil <[email protected]> |
4414 | ||
4415 | * linux-thread-db.c (check_pid_namespace_match): Extend the message. | |
4416 | ||
0d5b594f PA |
4417 | 2016-03-17 Pedro Alves <[email protected]> |
4418 | Don Breazeal <[email protected]> | |
4419 | ||
4420 | PR remote/19496 | |
4421 | * infcmd.c (notice_new_inferior): Use the 'leave_running' argument | |
4422 | instead of checking the 'non_stop' global. | |
4423 | * remote.c (remote_add_thread): New parameter 'executing'. Use it | |
4424 | to set the new thread's executing state. | |
4425 | (remote_notice_new_inferior): Rename parameter 'running' to | |
4426 | 'executing'. Always set the thread state to THREAD_RUNNING in | |
4427 | non-stop mode, and to THREAD_STOPPED in all-stop mode. Pass | |
4428 | EXECUTING to remote_add_thread and notice_new_inferior. | |
4429 | (remote_update_thread_list): Update to pass executing state, not | |
4430 | running state. | |
4431 | ||
bba960fc AA |
4432 | 2016-03-17 Andreas Arnez <[email protected]> |
4433 | ||
4434 | * syscalls/s390-linux.xml: Add NUMA syscalls and new syscalls up | |
4435 | to 374. | |
4436 | * syscalls/s390x-linux.xml: Likewise. | |
4437 | ||
5fd0888a AA |
4438 | 2016-03-17 Andreas Arnez <[email protected]> |
4439 | ||
4440 | * linux-record.c (record_mem_at_reg): New helper function. | |
4441 | (record_linux_system_call): Exploit new helper function where | |
4442 | applicable. | |
4443 | ||
0fc8f115 AA |
4444 | 2016-03-17 Andreas Arnez <[email protected]> |
4445 | ||
4446 | * linux-record.c: Fix whitespace issues; tabify, remove trailing | |
4447 | spaces. | |
4448 | ||
afdab916 AA |
4449 | 2016-03-17 Andreas Arnez <[email protected]> |
4450 | ||
4451 | * linux-record.c (record_linux_system_call): Add missing return | |
4452 | statements to handling of pipe and pipe2 syscalls. | |
4453 | ||
bfeeb14b DE |
4454 | 2016-03-16 Doug Evans <[email protected]> |
4455 | ||
4456 | * xml-tdesc.c (tdesc_start_enum): Fix c++ build. | |
4457 | ||
6b94a855 YQ |
4458 | 2016-03-16 Yao Qi <[email protected]> |
4459 | ||
4460 | * arm-linux-tdep.c (arm_linux_init_abi): Fix | |
4461 | arm_linux_record_tdep.arg1, arm_linux_record_tdep.arg2 and | |
4462 | arm_linux_record_tdep.arg3. Set arm_linux_record_tdep.arg4, | |
4463 | arm_linux_record_tdep.arg5, arm_linux_record_tdep.arg6, and | |
4464 | arm_linux_record_tdep.arg7. | |
4465 | ||
1cafadb4 DB |
4466 | 2016-03-15 Keith Seitz <[email protected]> |
4467 | ||
4468 | PR breakpoints/18303 | |
4469 | * cp-namespace.c (cp_lookup_bare_symbol): Change assertion to | |
4470 | look for "::" instead of simply ":". | |
4471 | (cp_search_static_and_baseclasses): Return null_block_symbol for | |
4472 | malformed input. | |
4473 | Remove assertions. | |
4474 | * cp-support.c (cp_find_first_component_aux): Do not return | |
4475 | a prefix length for ':' unless the next character is also ':'. | |
4476 | ||
89c200ed DE |
4477 | 2016-03-15 Doug Evans <[email protected]> |
4478 | ||
4479 | * features/aarch64-core.xml (cpsr_flags): New flags type. | |
4480 | (cpsr): Use it. | |
4481 | * features/aarch64.c: Regenerate. | |
4482 | ||
49b7ae7b DE |
4483 | 2016-03-15 Doug Evans <[email protected]> |
4484 | ||
4485 | * features/i386/32bit-core.xml (i386_eflags): Remove "end" spec. | |
4486 | * features/i386/32bit-sse.xml (i386_eflags): Ditto. | |
4487 | * features/i386/64bit-core.xml (i386_eflags): Ditto. | |
4488 | * features/i386/64bit-sse.xml (i386_eflags): Ditto. | |
4489 | * features/i386/x32-core.xml (i386_eflags): Ditto. | |
4490 | ||
81516450 | 4491 | 2016-03-15 Doug Evans <[email protected]> |
79427bd2 | 4492 | Wei-cheng Wang <[email protected]> |
81516450 DE |
4493 | |
4494 | Extend flags to support multibit and enum bitfields. | |
79427bd2 | 4495 | * NEWS: Document new features. |
81516450 DE |
4496 | * c-typeprint.c (c_type_print_varspec_prefix): Handle TYPE_CODE_FLAGS. |
4497 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
4498 | * gdbtypes.c (arch_flags_type): Don't assume all fields are one bit. | |
4499 | (append_flags_type_field): New function. | |
4500 | (append_flags_type_flag): Call it. | |
4501 | * gdbtypes.h (append_flags_type_field): Declare. | |
4502 | * target-descriptions.c (struct tdesc_type_flag): Delete. | |
4503 | (enum tdesc_type_kind) <TDESC_TYPE_BOOL>: New enum value. | |
4504 | (enum tdesc_type_kind) <TDESC_TYPE_ENUM>: Ditto. | |
4505 | (struct tdesc_type) <u.f>: Delete. | |
4506 | (tdesc_predefined_types): Add "bool". | |
4507 | (tdesc_predefined_type): New function. | |
4508 | (tdesc_gdb_type): Handle TDESC_TYPE_BOOL, TDESC_TYPE_ENUM. | |
4509 | Update TDESC_TYPE_FLAGS support. | |
4510 | (tdesc_free_type): Handle TDESC_TYPE_ENUM. Update TDESC_TYPE_FLAGS. | |
4511 | (tdesc_create_flags): Update. | |
4512 | (tdesc_create_enum): New function. | |
4513 | (tdesc_add_field): Initialize start,end to -1. | |
4514 | (tdesc_add_typed_bitfield): New function. | |
4515 | (tdesc_add_bitfield): Call it. | |
4516 | (tdesc_add_flag): Allow TDESC_TYPE_STRUCT. Update. | |
4517 | (tdesc_add_enum_value): New function. | |
4518 | (maint_print_c_tdesc_cmd): Fold TDESC_TYPE_FLAGS support into | |
4519 | TDESC_TYPE_STRUCT. Handle TDESC_TYPE_ENUM. | |
4520 | * target-descriptions.h (tdesc_create_enum): Declare. | |
4521 | (tdesc_add_typed_bitfield, tdesc_add_enum_value): Declare. | |
4522 | * valprint.c (generic_val_print_enum_1): New function. | |
4523 | (generic_val_print_enum): Call it. | |
4524 | (val_print_type_code_flags): Make static. Handle multibit bitfields | |
4525 | and enum bitfields. | |
4526 | * valprint.h (val_print_type_code_flags): Delete. | |
4527 | * xml-tdesc.c (struct tdesc_parsing_data) <current_type_is_flags>: | |
4528 | Delete. All uses removed. | |
4529 | (tdesc_start_enum): New function. | |
4530 | (tdesc_start_field): Handle multibit and enum bitfields. | |
4531 | (tdesc_start_enum_value): New function. | |
4532 | (enum_value_attributes, enum_children, enum_attributes): New static | |
4533 | globals. | |
4534 | (feature_children): Add "enum". | |
4535 | * features/gdb-target.dtd (enum, evalue): New elements. | |
4536 | ||
54157a25 DE |
4537 | 2016-03-15 Doug Evans <[email protected]> |
4538 | ||
4539 | * target-descriptions.c (struct tdesc_type) <u.u.size>: Change type | |
4540 | from LONGEST to int. | |
4541 | (struct tdesc_type) <u.f.size>: Ditto. | |
4542 | (tdesc_set_struct_size): Change type of "size" arg from LONGEST | |
4543 | to int. Add assertion size > 0. | |
4544 | (tdesc_create_flags): Ditto. | |
4545 | * target-descriptions.h (tdesc_set_struct_size): Update. | |
4546 | (tdesc_create_flags): Update. | |
4547 | * xml-tdesc.c (MAX_FIELD_SIZE, MAX_FIELD_BITSIZE): New macros. | |
4548 | (MAX_VECTOR_SIZE): New macro. | |
4549 | (tdesc_start_struct): Catch conversion errors from LONGEST to int. | |
4550 | (tdesc_start_flags, tdesc_start_field, tdesc_start_vector): Ditto. | |
4551 | ||
73b4f516 DE |
4552 | 2016-03-15 Doug Evans <[email protected]> |
4553 | ||
4554 | * target-descriptions.c (maint_print_c_tdesc_cmd): Use "type" for | |
4555 | TYPE_CODE_FLAGS instead of "field_type", for consistency. | |
4556 | * features/i386/amd64-avx-linux.c: Regenerate. | |
4557 | * features/i386/amd64-avx.c: Regenerate. | |
4558 | * features/i386/amd64-avx512-linux.c: Regenerate. | |
4559 | * features/i386/amd64-avx512.c: Regenerate. | |
4560 | * features/i386/amd64-linux.c: Regenerate. | |
4561 | * features/i386/amd64-mpx-linux.c: Regenerate. | |
4562 | * features/i386/amd64-mpx.c: Regenerate. | |
4563 | * features/i386/amd64.c: Regenerate. | |
4564 | * features/i386/i386-avx-linux.c: Regenerate. | |
4565 | * features/i386/i386-avx.c: Regenerate. | |
4566 | * features/i386/i386-avx512-linux.c: Regenerate. | |
4567 | * features/i386/i386-avx512.c: Regenerate. | |
4568 | * features/i386/i386-linux.c: Regenerate. | |
4569 | * features/i386/i386-mmx-linux.c: Regenerate. | |
4570 | * features/i386/i386-mmx.c: Regenerate. | |
4571 | * features/i386/i386-mpx-linux.c: Regenerate. | |
4572 | * features/i386/i386-mpx.c: Regenerate. | |
4573 | * features/i386/i386.c: Regenerate. | |
4574 | * features/i386/x32-avx-linux.c: Regenerate. | |
4575 | * features/i386/x32-avx.c: Regenerate. | |
4576 | * features/i386/x32-avx512-linux.c: Regenerate. | |
4577 | * features/i386/x32-avx512.c: Regenerate. | |
4578 | * features/i386/x32-linux.c: Regenerate. | |
4579 | * features/i386/x32.c: Regenerate. | |
4580 | ||
1eb2dbb8 PA |
4581 | 2016-03-15 Pedro Alves <[email protected]> |
4582 | ||
4583 | PR gdb/19676 | |
4584 | * linux-thread-db.c (try_thread_db_load_1): Leave | |
4585 | info->td_ta_thr_iter_p NULL iff debugging a live process and we | |
4586 | have /proc access. | |
4587 | (find_new_threads_once): Assert that we have a non-NULL | |
4588 | info->td_ta_thr_iter_p instead of checking whether the target has | |
4589 | execution. | |
4590 | ||
16b41842 PA |
4591 | 2016-03-15 Pedro Alves <[email protected]> |
4592 | ||
4593 | PR gdb/19676 | |
4594 | * infrun.c (displaced_step_prepare): Also disable displaced | |
4595 | stepping on NOT_SUPPORTED_ERROR. | |
4596 | * linux-tdep.c (linux_displaced_step_location): If reading auxv | |
4597 | fails, throw NOT_SUPPORTED_ERROR instead of generic error. | |
4598 | ||
70104a90 MK |
4599 | 2016-03-13 Marcin Kościelnicki <[email protected]> |
4600 | ||
4601 | * s390-linux-tdep.c (s390_gen_return_address): New function. | |
4602 | (s390_gdbarch_init): Fill gen_return_address hook. | |
4603 | ||
f2403c39 AB |
4604 | 2016-03-11 Andrew Burgess <[email protected]> |
4605 | ||
4606 | * symmisc.c (maintenance_info_line_tables): New function. | |
4607 | (maintenance_print_one_line_table): New function. | |
4608 | (_initialize_symmisc): Register 'maint info line-table' command. | |
4609 | * NEWS: Mention new command. | |
4610 | ||
c4b3e547 MK |
4611 | 2016-03-11 Marcin Kościelnicki <[email protected]> |
4612 | ||
4613 | * s390-linux-tdep.c (s390_ax_pseudo_register_collect): New function. | |
4614 | (s390_ax_pseudo_register_push_stack): New function. | |
4615 | (s390_gdbarch_init): Fill ax_pseudo_register_collect and | |
4616 | ax_pseudo_register_push_stack hooks. | |
4617 | ||
f2f3ccb9 SM |
4618 | 2016-03-10 Simon Marchi <[email protected]> |
4619 | ||
4620 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Install | |
4621 | gdb/function/as_string.py. | |
4622 | * python/lib/gdb/function/as_string.py: New file. | |
4623 | * NEWS: Mention the new $_as_string function. | |
4624 | ||
2343b78a JM |
4625 | 2016-03-09 Jose E. Marchesi <[email protected]> |
4626 | ||
4627 | * target.h: Fix doc string of target_can_use_hardware_watchpoint. | |
4628 | ||
b69d38af PA |
4629 | 2016-03-09 Pedro Alves <[email protected]> |
4630 | ||
4631 | * event-top.c (more_to_come): Delete. | |
4632 | (struct readline_input_state): Delete. | |
4633 | (readline_input_state): Delete. | |
4634 | (get_command_line_buffer): New function. | |
4635 | (command_handler): Update comments. Don't handle NULL commands | |
4636 | here. Do not execute commented lines. | |
4637 | (command_line_append_input_line): New function. | |
4638 | (handle_line_of_input): New function, partly based on | |
4639 | command_line_handler and command_line_input. | |
4640 | (command_line_handler): Rewrite. | |
4641 | * event-top.h (command_handler): New declaration. | |
4642 | (command_loop): Defer command execution to command_handler. | |
4643 | (command_line_input): Update comments. Simplify, using struct | |
4644 | buffer and handle_line_of_input. | |
4645 | * top.h (struct buffer): New forward declaration. | |
4646 | (handle_line_of_input): New declaration. | |
4647 | ||
2669cade PA |
4648 | 2016-03-09 Pedro Alves <[email protected]> |
4649 | ||
4650 | * event-top.c (command_line_handler): Use xfree + xstrdup instead | |
4651 | of xrealloc + strcpy. | |
4652 | * main.c (captured_main): Use xstrdup instead of xmalloc plus | |
4653 | manual clear. | |
4654 | * top.c (saved_command_line): Rewrite comment. | |
4655 | (saved_command_line_size): Delete. | |
4656 | (command_line_input): Use xfree + xstrdup instead of xrealloc + | |
4657 | strcpy. | |
4658 | * top.h (saved_command_line_size): Delete declaration. | |
4659 | ||
187212b3 PA |
4660 | 2016-03-09 Pedro Alves <[email protected]> |
4661 | ||
4662 | * event-top.c: Include buffer.h. | |
4663 | (gdb_readline_no_editing_callback): Use struct buffer instead | |
4664 | of xrealloc. | |
4665 | ||
7a3bde34 PA |
4666 | 2016-03-09 Pedro Alves <[email protected]> |
4667 | ||
4668 | * common/buffer.h (buffer_grow_char): New function. | |
4669 | * top.c: Include buffer.h. | |
4670 | (gdb_readline_no_editing): Rename 'prompt_arg' parameter to | |
4671 | 'prompt'. Use struct buffer instead of xrealloc. | |
4672 | ||
c5c136ea PA |
4673 | 2016-03-09 Pedro Alves <[email protected]> |
4674 | ||
4675 | * defs.h (gdb_readline): Delete declaration. | |
4676 | * top.c (gdb_readline): Rename to ... | |
4677 | (gdb_readline_no_editing): ... this, and make static. | |
4678 | ||
720d2e96 PA |
4679 | 2016-03-09 Pedro Alves <[email protected]> |
4680 | ||
4681 | * utils.c (prompt_for_continue): Update comments. | |
4682 | ||
608ff013 PA |
4683 | 2016-03-09 Pedro Alves <[email protected]> |
4684 | ||
4685 | * event-top.c (async_annotation_suffix): Delete. | |
4686 | (top_level_prompt, command_line_handler): Don't use | |
4687 | 'async_annotation_suffix' and simplify. | |
4688 | * event-top.h (async_annotation_suffix): Delete declaration. | |
4689 | (init_main): Remove reference to 'async_annotation_suffix'. | |
4690 | ||
c70061cf PA |
4691 | 2016-03-09 Pedro Alves <[email protected]> |
4692 | ||
4693 | * event-top.c (gdb_readline2): Rename to ... | |
4694 | (gdb_readline_no_editing_callback): ... this. | |
4695 | (change_line_handler, stdin_event_handler) | |
4696 | (gdb_setup_readline): Adjust. | |
4697 | * event-top.h (gdb_readline2): Rename to ... | |
4698 | (gdb_readline_no_editing_callback): ... this, and move closer to | |
4699 | other readline-related declarations. | |
4700 | * mi/mi-interp.c (mi_interpreter_resume): Adjust. | |
4701 | ||
8a243832 PA |
4702 | 2016-03-09 Pedro Alves <[email protected]> |
4703 | ||
4704 | * top.c (window_hook): Delete. | |
4705 | (command_loop): Remove references to window_hook. | |
4706 | ||
cc2c4da8 MK |
4707 | 2016-03-09 Marcin Kościelnicki <[email protected]> |
4708 | ||
4709 | * corefile.c (safe_read_memory_unsigned_integer): New function. | |
4710 | * gdbcore.h (safe_read_memory_unsigned_integer): New prototype. | |
4711 | * rs6000-tdep.c (rs6000_frame_cache): Read backchain as unsigned. | |
4712 | ||
a67914de MK |
4713 | 2016-03-09 Marcin Kościelnicki <[email protected]> |
4714 | ||
4715 | * rs6000-tdep.c: Add "ax.h" and "ax-gdb.h" includes. | |
4716 | (rs6000_gen_return_address): New function. | |
4717 | (rs6000_gdbarch_init): Wire in the above. | |
4718 | ||
2a2fa07b MK |
4719 | 2016-03-09 Marcin Kościelnicki <[email protected]> |
4720 | ||
4721 | * rs6000-tdep.c (rs6000_ax_pseudo_register_collect): New function. | |
4722 | (rs6000_gdbarch_init): Wire in the above. | |
4723 | ||
bc0e3f49 AA |
4724 | 2016-03-09 Andreas Arnez <[email protected]> |
4725 | ||
4726 | * s390-linux-tdep.c (s390_analyze_prologue): Ignore BRC and BRCL | |
4727 | instructions that do nothing or are conditional traps. | |
4728 | ||
6d53bec8 AA |
4729 | 2016-03-09 Andreas Arnez <[email protected]> |
4730 | ||
4731 | * s390-linux-tdep.c (s390_prologue_frame_unwind_cache): Store | |
4732 | frame func's PC in info->func before any other failure can occur. | |
4733 | (s390_frame_this_id): Use frame_id_build_unavailable_stack if | |
4734 | info->func has been filled out. | |
4735 | ||
f7990f16 PA |
4736 | 2016-03-09 Pedro Alves <[email protected]> |
4737 | ||
4738 | * osabi.c (gdb_osabi_names): Avoid spaces in osabi names. | |
4739 | ||
087ccc6a PA |
4740 | 2016-03-09 Pedro Alves <[email protected]> |
4741 | ||
4742 | * frv-tdep.c (frv_gdbarch_init): Handle bfd_mach_fr300. | |
4743 | ||
114d7832 PA |
4744 | 2016-03-09 Pedro Alves <[email protected]> |
4745 | ||
4746 | * cris-tdep.c (cris_gdbarch_init): Return 0 if the info's byte | |
4747 | order is BFD_ENDIAN_BIG or if the cris version is unsupported. | |
4748 | ||
d7a87b5e PA |
4749 | 2016-03-09 Pedro Alves <[email protected]> |
4750 | ||
4751 | * doublest.c: Extend comments. | |
4752 | (floatformat_to_doublest, floatformat_from_doublest): Copy the | |
4753 | floatformat's total size, not the host type's size. | |
4754 | ||
b79497cb PA |
4755 | 2016-03-09 Pedro Alves <[email protected]> |
4756 | ||
4757 | * doublest.c (floatformat_totalsize_bytes): New function. | |
4758 | (floatformat_from_type): Assert that the type's length is at least | |
4759 | as long as the floatformat's totalsize. | |
4760 | * doublest.h (floatformat_totalsize_bytes): New declaration. | |
4761 | * gdbtypes.c (arch_float_type): Assert that the type's length is | |
4762 | at least as long as the floatformat's totalsize. | |
4763 | ||
aacca8a7 PA |
4764 | 2016-03-09 Pedro Alves <[email protected]> |
4765 | ||
4766 | * hppa-linux-tdep.c (hppa_linux_init_abi): Set the long double | |
4767 | format to floatformats_ieee_double. | |
4768 | ||
e6c2f47b PA |
4769 | 2016-03-07 Pedro Alves <[email protected]> |
4770 | ||
4771 | * mips-tdep.c (mips_gdbarch_init): Check whether info.abfd is NULL | |
4772 | before calling bfd_get_flavour. | |
4773 | ||
cb86f388 DC |
4774 | 2016-03-05 Pitchumani Sivanupandi <[email protected]> |
4775 | ||
4776 | * avr-tdep.c (AVR_LAST_ARG_REGNUM): Define. | |
4777 | (avr_push_dummy_call): Correct last needed argument register. | |
4778 | Write MSB of argument into register and subsequent bytes into | |
4779 | other registers in decreasing order. | |
4780 | ||
f1771dce YQ |
4781 | 2016-03-04 Yao Qi <[email protected]> |
4782 | ||
4783 | * arm-tdep.c (arm_record_vdata_transfer_insn): Simplify the | |
4784 | condition check. Record the right D register number. | |
4785 | ||
ca92db2d YQ |
4786 | 2016-03-04 Yao Qi <[email protected]> |
4787 | ||
4788 | * arm-tdep.c (arm_record_extension_space): Remove code | |
4789 | printing "Process record does not support". | |
4790 | (arm_record_data_proc_misc_ld_str): Likewise. | |
4791 | (decode_insn): Call arm_record_extension_space if condition | |
4792 | is 0xf. Call arm_record_unsupported_insn if ret isn't | |
4793 | ARM_RECORD_SUCCESS. Use 'ret' instead of 'insn_id' to hold | |
4794 | the value of thumb2_record_decode_insn_handler. | |
4795 | ||
73519cce SM |
4796 | 2016-03-04 Simon Marchi <[email protected]> |
4797 | ||
4798 | * features/feature_to_c.sh: Print the help when passing no | |
4799 | argument. | |
4800 | ||
650beae3 BH |
4801 | 2016-03-02 Bernhard Heckel <[email protected]> |
4802 | ||
4803 | * MAINTAINERS (Write After Approval): Add Bernhard Heckel. | |
4804 | ||
28586665 BH |
4805 | 2016-03-02 Bernhard Heckel <[email protected]> |
4806 | ||
4807 | * dwarf2read.c (new_symbol_full): Fix detection of gfortran compilers. | |
4808 | ||
f2489477 AA |
4809 | 2016-03-01 Andreas Arnez <[email protected]> |
4810 | ||
4811 | * s390-linux-tdep.c (s390_backchain_frame_unwind_cache): Avoid | |
4812 | exception when attempting to access the inferior's backchain. | |
4813 | ||
d5219069 YQ |
4814 | 2016-02-29 Yao Qi <[email protected]> |
4815 | ||
4816 | * aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Support | |
4817 | eventfd2, eventfd2, dup3, inotify_init1, fallocate and pipe2. | |
4818 | Return gdb_sys_epoll_create1 instead of gdb_sys_epoll_create | |
4819 | for aarch64_sys_epoll_create1. | |
4820 | ||
253b4d3a YQ |
4821 | 2016-02-29 Yao Qi <[email protected]> |
4822 | ||
4823 | * linux-record.h (enum gdb_syscall) <gdb_sys_fallocate>: New. | |
4824 | <gdb_sys_eventfd2, gdb_sys_epoll_create1, gdb_sys_dup3>: New. | |
4825 | <gdb_sys_pipe2, gdb_sys_inotify_init1>: New. | |
4826 | * linux-record.c (record_linux_system_call): Handle them. | |
4827 | ||
38899f16 IB |
4828 | 2016-02-28 Iain Buclaw <[email protected]> |
4829 | ||
4830 | * d-namespace.c (d_lookup_symbol_imports): Avoid recursive lookups from | |
4831 | cyclic imports. | |
4832 | ||
1ed0c2a4 KS |
4833 | 2016-02-26 Keith Seitz <[email protected]> |
4834 | ||
4835 | * rs6000-tdep.c (rs6000_frame_cache): Explicitly cast return result | |
4836 | to avoid invalid conversion from void *. | |
4837 | ||
9fde51ed YQ |
4838 | 2016-02-26 Yao Qi <[email protected]> |
4839 | ||
4840 | * arm-tdep.c (arm_record_exreg_ld_st_insn): Set 'single_reg' | |
4841 | per bit 8. Check bit 20 instead of bit 4 for VMOV | |
4842 | instruction. Record D registers for instructions changing | |
4843 | S registers. Change of the order of length and address | |
4844 | in record_buf_mem array. | |
4845 | ||
1f33efec YQ |
4846 | 2016-02-26 Yao Qi <[email protected]> |
4847 | ||
4848 | * arm-tdep.c (thumb_record_ld_st_reg_offset): Fix the register | |
4849 | number of Rd. | |
4850 | ||
1547ef64 DE |
4851 | 2016-02-25 Doug Evans <[email protected]> |
4852 | ||
4853 | * remote-m32r-sdi.c (recv_char_data): Initialize val to avoid | |
4854 | compiler warning. | |
4855 | (recv_long_data): Ditto. | |
4856 | ||
166616ce SM |
4857 | 2016-02-25 Simon Marchi <[email protected]> |
4858 | ||
4859 | * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): | |
4860 | Initialize variables. | |
4861 | ||
1eb7c2d8 AT |
4862 | 2016-02-25 Antoine Tremblay <[email protected]> |
4863 | ||
4864 | * ax-general.c (ax_reg): Call gdbarch_remote_register_number. | |
4865 | (ax_reg_mask): Likewise. | |
4866 | ||
e7ad2f14 PA |
4867 | 2016-02-24 Pedro Alves <[email protected]> |
4868 | ||
4869 | * linux-nat.c (save_sigtrap) Delete. | |
4870 | (stop_wait_callback): Call save_stop_reason instead of | |
4871 | save_sigtrap. | |
4872 | (check_stopped_by_breakpoint): Rename to ... | |
4873 | (save_stop_reason): ... this. Bits of save_sigtrap folded here. | |
4874 | Use GDB_ARCH_IS_TRAP_HWBKPT and handle ambiguous | |
4875 | GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT. Factor out | |
4876 | common code between the USE_SIGTRAP_SIGINFO and | |
4877 | !USE_SIGTRAP_SIGINFO blocks. | |
4878 | (linux_nat_filter_event): Call save_stop_reason instead of | |
4879 | save_sigtrap. | |
4880 | * nat/linux-ptrace.h: Check for both SI_KERNEL and TRAP_BRKPT | |
4881 | si_code for MIPS. | |
4882 | * nat/linux-ptrace.h: Fix "TRAP_HWBPT" typo in x86 table. Add | |
4883 | comments on MIPS behavior. | |
4884 | (GDB_ARCH_IS_TRAP_HWBKPT): Define for all archs. | |
4885 | ||
338435ef MK |
4886 | 2016-02-24 Marcin Kościelnicki <[email protected]> |
4887 | ||
4888 | * rs6000-tdep.c (rs6000_frame_cache): Initialize frame and pc to 0 | |
4889 | to avoid spurious warnings. | |
4890 | ||
bf74e428 GB |
4891 | 2016-02-24 Gary Benson <[email protected]> |
4892 | ||
4893 | * exec.c (exec_file_locate_attach): Do not attempt to | |
4894 | locate main executable locally if not found in sysroot. | |
4895 | ||
62fb310b JB |
4896 | 2016-02-24 Joel Brobecker <[email protected]> |
4897 | ||
4898 | GDB 7.11 released. | |
4899 | ||
50ae56ec WW |
4900 | 2016-02-24 Wei-cheng Wang <[email protected]> |
4901 | ||
4902 | * rs6000-tdep.c (rs6000_frame_cache, rs6000_frame_this_id): Handle | |
4903 | unavailable PC/SP to build unavailable frame. | |
4904 | ||
cce0e923 DE |
4905 | 2016-02-23 Doug Evans <[email protected]> |
4906 | ||
4907 | Extend "skip" command to support -file, -gfile, -function, -rfunction. | |
4908 | * NEWS: Document new features. | |
4909 | * skip.c: #include "fnmatch.h", "gdb_regex.h". | |
4910 | (skiplist_entry) <file>: Renamed from filename. | |
4911 | <function>: Renamed from function_name. | |
4912 | <file_is_glob, function_is_regexp>: New members. | |
4913 | <compiled_function_regexp, compiled_function_regexp_is_valid>: | |
4914 | New members. | |
4915 | (make_skip_entry): New function. | |
4916 | (free_skiplist_entry, free_skiplist_entry_cleanup): New functions. | |
4917 | (make_free_skiplist_entry_cleanup): New function. | |
4918 | (skip_file_command): Update. | |
4919 | (skip_function, skip_function_command): Update. | |
4920 | (compile_skip_regexp): New functions. | |
4921 | (skip_command): Add support for new options. | |
4922 | (skip_info): Update. | |
4923 | (skip_file_p, skip_gfile_p): New functions. | |
4924 | (skip_function_p, skip_rfunction_p): New functions. | |
4925 | (function_name_is_marked_for_skip): Update and simplify. | |
4926 | (_initialize_step_skip): Update. | |
4927 | * symtab.c: #include "fnmatch.h". | |
4928 | (compare_glob_filenames_for_search): New function. | |
4929 | * symtab.h (compare_glob_filenames_for_search): Declare. | |
4930 | * utils.c (count_path_elements): New function. | |
4931 | (strip_leading_path_elements): New function. | |
4932 | * utils.h (count_path_elements): Declare. | |
4933 | (strip_leading_path_elements): Declare. | |
4934 | ||
12545665 SM |
4935 | 2016-02-23 Simon Marchi <[email protected]> |
4936 | ||
4937 | * arm-tdep.c (arm_decode_svc_copro): Remove "to" parameter. | |
4938 | (thumb_process_displaced_insn): Likewise. | |
4939 | (arm_process_displaced_insn): Adjust calls. | |
4940 | ||
c955ae73 YQ |
4941 | 2016-02-23 Yao Qi <[email protected]> |
4942 | ||
4943 | * aarch64-linux-tdep.c (enum aarch64_syscall) <aarch64_sys_mknod>: | |
4944 | Remove. | |
4945 | <aarch64_sys_mkdir, aarch64_sys_unlink, aarch64_sys_symlink>: Remove. | |
4946 | <aarch64_sys_link, aarch64_sys_rename, aarch64_sys_faccess>: Remove. | |
4947 | <aarch64_sys_mknodat, aarch64_sys_mkdirat>: New. | |
4948 | <aarch64_sys_unlinkat, aarch64_sys_symlinkat>: New. | |
4949 | <aarch64_sys_linkat, aarch64_sys_renameat>: New. | |
4950 | <aarch64_sys_faccessat>: New. | |
4951 | <aarch64_sys_open, aarch64_sys_readlink, aarch64_sys_fstatat>: Remove. | |
4952 | <aarch64_sys_openat, aarch64_sys_readlinkat>: New. | |
4953 | <aarch64_sys_newfstatat>: New. | |
4954 | (UNSUPPORTED_SYSCALL_MAP): New macro. | |
4955 | (aarch64_canonicalize_syscall): Add missing syscalls. | |
4956 | ||
ac46107c JK |
4957 | 2016-02-22 Jan Kratochvil <[email protected]> |
4958 | ||
4959 | * gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print. | |
4960 | ||
01e57735 YQ |
4961 | 2016-02-22 Yao Qi <[email protected]> |
4962 | ||
4963 | * arm-tdep.c: Fix code format issues. | |
4964 | ||
30a6a7f0 IB |
4965 | 2016-02-21 Iain Buclaw <[email protected]> |
4966 | ||
4967 | * d-namespace.c (d_lookup_symbol_imports): Remove argument | |
4968 | 'search_parents'. All callers updated. | |
4969 | ||
f79a3bae MK |
4970 | 2016-02-18 Marcin Kościelnicki <[email protected]> |
4971 | ||
4972 | * s390-linux-tdep.c (s390_guess_tracepoint_registers): New function. | |
4973 | (s390_gdbarch_init): Fill guess_tracepoint_registers hook. | |
4974 | ||
012b3a21 WT |
4975 | 2016-02-18 Walfred Tedeschi <[email protected]> |
4976 | ||
4977 | * NEWS: Add entry for bound violation. | |
4978 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): | |
4979 | Add handler for segmentation fault. | |
4980 | * gdbarch.sh (handle_segmentation_fault): New. | |
4981 | * gdbarch.c: Regenerate. | |
4982 | * gdbarch.h: Regenerate. | |
4983 | * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): New. | |
4984 | (SIG_CODE_BONDARY_FAULT): New define. | |
4985 | (i386_linux_init_abi): Use i386_mpx_bound_violation_handler. | |
4986 | * i386-linux-tdep.h (i386_linux_handle_segmentation_fault) New. | |
4987 | * i386-tdep.c (i386_mpx_enabled): Add as external. | |
4988 | * i386-tdep.c (i386_mpx_enabled): Add as external. | |
4989 | * infrun.c (handle_segmentation_fault): New function. | |
4990 | (print_signal_received_reason): Use handle_segmentation_fault. | |
4991 | ||
5f034a78 MK |
4992 | 2016-02-18 Marcin Kościelnicki <[email protected]> |
4993 | ||
4994 | * arch-utils.c (default_guess_tracepoint_registers): New function. | |
4995 | * arch-utils.h (default_guess_tracepoint_registers): New prototype. | |
4996 | * gdbarch.c: Regenerate. | |
4997 | * gdbarch.h: Regenerate. | |
4998 | * gdbarch.sh: Add guess_tracepoint_registers hook. | |
4999 | * tracefile.c (tracefile_fetch_registers): Use the new gdbarch hook. | |
5000 | ||
88178e82 GB |
5001 | 2016-02-17 Gary Benson <[email protected]> |
5002 | ||
5003 | * exec.c (exec_file_locate_attach): Add missing cleanup. | |
5004 | ||
4041ed77 DB |
5005 | 2016-02-16 Don Breazeal <[email protected]> |
5006 | ||
5007 | PR remote/19496 | |
5008 | * remote.c (remove_new_fork_children): Check for pending | |
5009 | fork status in thread_info.suspend. | |
5010 | ||
b442c911 YQ |
5011 | 2016-02-16 Yao Qi <[email protected]> |
5012 | ||
5013 | * arm-linux-tdep.c (arm_linux_software_single_step): Assign | |
5014 | 'old_chain' later. | |
5015 | ||
553cb527 YQ |
5016 | 2016-02-16 Yao Qi <[email protected]> |
5017 | ||
5018 | * arch/arm-get-next-pcs.h (struct arm_get_next_pcs_ops) | |
5019 | <syscall_next_pc>: Remove argument PC. Callers updated. | |
5020 | * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc): | |
5021 | Remove argument PC. Get pc from regcache_read_pc. | |
5022 | * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Remove | |
5023 | argument PC. | |
5024 | ||
0a0da556 YQ |
5025 | 2016-02-15 Yao Qi <[email protected]> |
5026 | ||
5027 | * aarch64-tdep.c (aarch64_analyze_prologue): Remove "0x". | |
5028 | ||
01113bc1 YQ |
5029 | 2016-02-12 Yao Qi <[email protected]> |
5030 | ||
5031 | * arch/arm-linux.c (arm_linux_get_next_pcs_fixup): Calculate | |
5032 | nextpc according to instruction. | |
5033 | ||
ed443b61 YQ |
5034 | 2016-02-12 Yao Qi <[email protected]> |
5035 | ||
5036 | * arch/arm-get-next-pcs.c (arm_get_next_pcs): Call | |
5037 | self->ops->fixup if it isn't NULL. | |
5038 | * arch/arm-get-next-pcs.h: Include gdb_vecs.h. | |
5039 | (struct arm_get_next_pcs_ops) <fixup>: New field. | |
5040 | * arch/arm-linux.c: Include common-regcache.h and | |
5041 | arch/arm-get-next-pcs.h. | |
5042 | (arm_linux_get_next_pcs_fixup): New function. | |
5043 | * arch/arm-linux.h (arm_linux_get_next_pcs_fixup): Declare. | |
5044 | * arm-linux-tdep.c (arm_linux_get_next_pcs_ops): Initialize | |
5045 | it with arm_linux_get_next_pcs_fixup. | |
5046 | (arm_linux_software_single_step): Move code to | |
5047 | arm_linux_get_next_pcs_fixup. | |
5048 | * arm-tdep.c (arm_get_next_pcs_ops): Initialize it. | |
5049 | ||
d21b5f15 MK |
5050 | 2016-02-12 Marcin Kościelnicki <[email protected]> |
5051 | ||
5052 | * xml-tdesc.c (target_fetch_description_xml) [!HAVE_LIBEXPAT]: Warn | |
5053 | and return NULL. | |
5054 | ||
33b4777c MM |
5055 | 2016-02-12 Markus Metzger <[email protected]> |
5056 | ||
5057 | * frame.h (skip_tailcall_frames): Update comment. | |
5058 | * frame.c (skip_artificial_frames, skip_tailcall_frames): Return NULL | |
5059 | if only artificial frames are found. Update comment. | |
5060 | (frame_unwind_caller_id): Handle NULL return. | |
5061 | (frame_unwind_caller_pc, frame_unwind_caller_arch): Assert that | |
5062 | skip_artificial_frames does not return NULL. | |
5063 | (frame_pop): Add an error if only tailcall frames are found. | |
5064 | * infcmd.c (finish_command): Move skip_tailcall_frames call into | |
5065 | forward-execution case. Add an error if only tailcall frames are | |
5066 | found. | |
5067 | ||
a038fa3e MM |
5068 | 2016-02-12 Markus Metzger <[email protected]> |
5069 | ||
5070 | * stack.c (frame_info): Check frame_unwind_caller_id. | |
5071 | ||
2f3ef606 MM |
5072 | 2016-02-12 Markus Metzger <[email protected]> |
5073 | ||
5074 | * frame.h (skip_tailcall_frames): New. | |
5075 | * frame.c (skip_tailcall_frames): New. | |
5076 | (frame_pop): Call skip_tailcall_frames. | |
5077 | * infcmd.c (finish_command): Call skip_tailcall_frames. | |
5078 | ||
e352bf0a PA |
5079 | 2016-02-11 Pedro Alves <[email protected]> |
5080 | ||
5081 | * Makefile.in (check-parallel): New rule. | |
5082 | ||
bec2ab5a SM |
5083 | 2016-02-11 Simon Marchi <[email protected]> |
5084 | ||
5085 | * arm-tdep.c (arm_skip_prologue): Remove unused variables. | |
5086 | (arm_analyze_prologue): Likewise. | |
5087 | (arm_scan_prologue): Likewise. | |
5088 | (arm_m_exception_prev_register): Likewise. | |
5089 | (arm_copy_block_xfer): Likewise. | |
5090 | (thumb2_copy_block_xfer): Likewise. | |
5091 | (arm_decode_miscellaneous): Likewise. | |
5092 | (arm_decode_ld_st_word_ubyte): Likewise. | |
5093 | (arm_decode_svc_copro): Likewise. | |
5094 | (thumb2_decode_svc_copro): Likewise. | |
5095 | (thumb_copy_16bit_ldr_literal): Likewise. | |
5096 | (thumb_copy_pop_pc_16bit): Likewise. | |
5097 | (decode_thumb_32bit_ld_mem_hints): Likewise. | |
5098 | (arm_show_force_mode): Likewise. | |
5099 | (_initialize_arm_tdep): Likewise. | |
5100 | (arm_record_strx): Likewise. | |
5101 | (arm_record_extension_space): Likewise. | |
5102 | (arm_record_data_proc_misc_ld_str): Likewise. | |
5103 | (arm_record_exreg_ld_st_insn): Likewise. | |
5104 | (arm_record_vfp_data_proc_insn): Likewise. | |
5105 | (arm_record_coproc_data_proc): Likewise. | |
5106 | (thumb_record_misc): Likewise. | |
5107 | (thumb_record_ldm_stm_swi): Likewise. | |
5108 | (thumb2_record_ld_st_dual_ex_tbb): Likewise. | |
5109 | (thumb2_record_ld_mem_hints): Likewise. | |
5110 | (thumb2_record_lmul_lmla_div): Likewise. | |
5111 | (thumb2_record_asimd_struct_ld_st): Likewise. | |
5112 | (arm_process_record): Likewise. | |
5113 | ||
2ba163c8 SM |
5114 | 2016-02-11 Simon Marchi <[email protected]> |
5115 | ||
5116 | * arm-tdep.c (arm_displaced_step_copy_insn): Remove. | |
5117 | (ARM displaced stepping support): Remove reference to | |
5118 | arm_displaced_step_copy_insn in comment. | |
5119 | * arm-tdep.h (arm_displaced_step_copy_insn): Remove. | |
5120 | * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Remove | |
5121 | reference to arm_displaced_step_copy_insn in comment. | |
5122 | ||
615234c1 SM |
5123 | 2016-02-11 Simon Marchi <[email protected]> |
5124 | ||
5125 | * arm-tdep.c (thumb_copy_unmodified_16bit): Change type of insn. | |
5126 | (thumb_copy_b): Likewise. | |
5127 | (arm_decode_b_bl_ldmstm): Likewise. | |
5128 | (thumb_copy_16bit_ldr_literal): Likewise. | |
5129 | (thumb_copy_pop_pc_16bit): Likewise. | |
5130 | ||
82e9becd AT |
5131 | 2016-02-11 Antoine Tremblay <[email protected]> |
5132 | ||
5133 | * tracepoint.c (encode_actions_1): Use target_gdbarch () rather | |
5134 | than loc->gdbarch. | |
5135 | ||
5ac87a99 MK |
5136 | 2016-02-10 Marcin Kościelnicki <[email protected]> |
5137 | ||
5138 | * tracefile-tfile.c (trace_tdesc): New static variable. | |
5139 | (tfile_open): Clear trace_tdesc, call target_find_description. | |
5140 | (tfile_interp_line): Recognize tdesc lines. | |
5141 | (tfile_close): Clear trace_tdesc. | |
5142 | (tfile_xfer_partial_features): New function. | |
5143 | (tfile_xfer_partial): Call tfile_xfer_partial_features. | |
5144 | (tfile_append_tdesc_line): New function. | |
5145 | ||
18d3cec5 MK |
5146 | 2016-02-10 Marcin Kościelnicki <[email protected]> |
5147 | ||
5148 | * ctf.c (ctf_write_tdesc): New function. | |
5149 | (ctf_write_ops): Wire in ctf_write_tdesc. | |
5150 | * tracefile-tfile.c (tfile_write_tdesc): New function. | |
5151 | (tfile_write_ops): Wire in tfile_write_tdesc. | |
5152 | * tracefile.c (trace_save): Call write_tdesc method. | |
5153 | * tracefile.h (struct trace_file_write_ops): Add write_tdesc method. | |
5154 | * xml-tdesc.c (target_fetch_description_xml): New function. | |
5155 | * xml-tdesc.h: Add target_fetch_description_xml prototype. | |
5156 | ||
550dc4e2 SM |
5157 | 2016-02-10 Simon Marchi <[email protected]> |
5158 | ||
5159 | * arm-tdep.c (arm_copy_extra_ld_st): Fix "unpriveleged" typo. | |
5160 | (arm_decode_dp_misc): Likewise. | |
5161 | ||
62e5fd57 MK |
5162 | 2016-02-10 Marcin Kościelnicki <[email protected]> |
5163 | ||
5164 | * amd64-tdep.c (amd64_ax_pseudo_register_collect): New function. | |
5165 | (amd64_init_abi): Fill ax_pseudo_register_collect hook. | |
5166 | * gdb/i386-tdep.c (i386_pseudo_register_read_into_value): Remove | |
5167 | misleading comment. | |
5168 | (i386_pseudo_register_write): Ditto. | |
5169 | (i386_ax_pseudo_register_collect): New function. | |
5170 | (i386_gdbarch_init): Fill ax_pseudo_register_collect hook. | |
5171 | * i386-tdep.h: Add i386_ax_pseudo_register_collect prototype. | |
5172 | ||
e909d859 MK |
5173 | 2016-02-10 Marcin Kościelnicki <[email protected]> |
5174 | ||
5175 | * tracefile-tfile.c (tfile_fetch_registers): Use g packet order | |
5176 | instead of gdb order. | |
5177 | ||
473b99e5 MK |
5178 | 2016-02-10 Marcin Kościelnicki <[email protected]> |
5179 | ||
5180 | * tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds | |
5181 | check. | |
5182 | ||
1233c0ba JB |
5183 | 2016-02-10 Joel Brobecker <[email protected]> |
5184 | ||
5185 | * NEWS: Create a new section for the next release branch. | |
5186 | Rename the section of the current branch, now that it has | |
5187 | been cut. | |
5188 | ||
d1dc0942 JB |
5189 | 2016-02-10 Joel Brobecker <[email protected]> |
5190 | ||
5191 | GDB 7.11 branch created (9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a): | |
5192 | * version.in: Bump version to 7.11.50.DATE-git. | |
5193 | ||
9ef9e6a6 KS |
5194 | 2016-02-09 Keith Seitz <[email protected]> |
5195 | ||
5196 | PR breakpoints/19546 | |
5197 | * breakpoint.c (breakpoint_event_location_empty_p): New function. | |
5198 | (update_breakpoints_after_exec, bkpt_re_set): Use this new function | |
5199 | instead of event_location_empty_p. | |
5200 | ||
39a67dc4 KS |
5201 | 2016-02-09 Keith Seitz <[email protected]> |
5202 | ||
5203 | * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Use | |
5204 | string_to_event_location_basic instead of string_to_event_location. | |
5205 | ||
a96e36da KS |
5206 | 2016-02-09 Keith Seitz <[email protected]> |
5207 | ||
5208 | * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Skip | |
5209 | leading whitespace and use string_to_event_location_basic instead | |
5210 | of new_linespec_location. | |
5211 | ||
9f61929f KS |
5212 | 2016-02-09 Keith Seitz <[email protected]> |
5213 | ||
5214 | PR python/19506 | |
5215 | * python/py-breakpoint.c (bppy_init): Use | |
5216 | string_to_event_location_basic instead of new_linespec_location. | |
5217 | ||
eeb1af43 KS |
5218 | 2016-02-09 Keith Seitz <[email protected]> |
5219 | ||
5220 | * location.c (string_to_explicit_location): Note that "-p" is | |
5221 | reserved for probe locations and return NULL for any input | |
5222 | that starts with that. | |
5223 | (string_to_event_location): Move "legacy" linespec code to ... | |
5224 | (string_to_event_location_basic): ... here. | |
5225 | * location.h (string_to_event_location): Update comment. | |
5226 | (string_to_event_location_basic): New function. | |
5227 | ||
1e94266c SM |
5228 | 2016-02-09 Simon Marchi <[email protected]> |
5229 | ||
5230 | * configure.ac: Use AC_CONFIG_FILES instead of passing arguments | |
5231 | to AC_OUTPUT. Remove "exit 0" at the end. | |
5232 | * configure: Regenerate. | |
5233 | ||
2a7f3dff PA |
5234 | 2016-02-09 Pedro Alves <[email protected]> |
5235 | ||
5236 | PR breakpoints/19548 | |
5237 | * breakpoint.c (create_overlay_event_breakpoint): Don't update | |
5238 | global location list here. | |
5239 | (create_longjmp_master_breakpoint) | |
5240 | (create_std_terminate_master_breakpoint) | |
5241 | (create_exception_master_breakpoint, create_jit_event_breakpoint) | |
5242 | (update_breakpoint_locations): | |
5243 | (breakpoint_re_set): Update global location list after all | |
5244 | breakpoints are re-set. | |
5245 | ||
54887903 SM |
5246 | 2016-02-08 Simon Marchi <[email protected]> |
5247 | ||
5248 | * remote.c (remote_register_number_and_offset): Remove unused | |
5249 | variable(s). | |
5250 | (remote_thread_always_alive): Likewise. | |
5251 | (remote_update_thread_list): Likewise. | |
5252 | (process_initial_stop_replies): Likewise. | |
5253 | (remote_start_remote): Likewise. | |
5254 | (remote_check_symbols): Likewise. | |
5255 | (discard_pending_stop_replies): Likewise. | |
5256 | (process_stop_reply): Likewise. | |
5257 | (putpkt_binary): Likewise. | |
5258 | (getpkt): Likewise. | |
5259 | (remote_add_target_side_condition): Likewise. | |
5260 | (remote_insert_breakpoint): Likewise. | |
5261 | (remote_supports_stopped_by_sw_breakpoint): Likewise. | |
5262 | (remote_supports_stopped_by_hw_breakpoint): Likewise. | |
5263 | (remote_xfer_partial): Likewise. | |
5264 | (remote_read_btrace): Likewise. | |
5265 | (remote_async_serial_handler): Likewise. | |
5266 | (remote_thread_events): Likewise. | |
5267 | (_initialize_remote): Likewise. | |
5268 | ||
30914ca8 SM |
5269 | 2016-02-07 Simon Marchi <[email protected]> |
5270 | ||
5271 | * varobj.h (varobj_delete): Remove dellist parameter, update and | |
5272 | move documentation here. | |
5273 | * varobj.c (struct cpstack, cppush, cppop): Remove. | |
5274 | (delete_variable): Remove resultp (first) parameter. | |
5275 | (delete_variable_1): Likewise. | |
5276 | (varobj_delete): Remove dellist parameter and unused code. | |
5277 | (update_dynamic_varobj_children): Adjust varobj_delete call. | |
5278 | (update_type_if_necessary): Likewise. | |
5279 | (varobj_set_visualizer): Likewise. | |
5280 | (varobj_update): Likewise. | |
5281 | (value_of_root): Likewise. | |
5282 | (varobj_invalidate_iter): Likewise. | |
5283 | * mi/mi-cmd-var.c (mi_cmd_var_delete): Likewise. | |
5284 | ||
e42e5352 YQ |
5285 | 2016-02-04 Yao Qi <[email protected]> |
5286 | ||
5287 | * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to | |
5288 | 0 before handling 'F' and set it back afterwards. | |
5289 | ||
6456a18b SM |
5290 | 2016-02-02 Simon Marchi <[email protected]> |
5291 | ||
5292 | * ui-out.c (MAX_UI_OUT_LEVELS): Remove. | |
5293 | ||
3f2f6cb5 WT |
5294 | 2016-02-02 Walfred Tedeschi <[email protected]> |
5295 | ||
5296 | * amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval): | |
5297 | New types. | |
5298 | (compat_siginfo): New bound fields added. | |
5299 | (compat_x32_siginfo): New field added. | |
5300 | (cpt_si_addr_lsb): New define. | |
5301 | (compat_siginfo_from_siginfo): Use nat_siginfo. | |
5302 | (siginfo_from_compat_siginfo): Use nat_siginfo. | |
5303 | (compat_x32_siginfo_from_siginfo): Likewise. | |
5304 | (siginfo_from_compat_x32_siginfo): Likewise. | |
5305 | ||
96b5c49f WT |
5306 | 2016-02-02 Walfred Tedeschi <[email protected]> |
5307 | ||
5308 | * linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd | |
5309 | structure to the siginfo if extra_fields contains | |
5310 | LINUX_SIGINFO_FIELD_ADDR_BND. | |
5311 | ||
190b495d WT |
5312 | 2016-02-02 Walfred Tedeschi <[email protected]> |
5313 | ||
5314 | * linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern. | |
5315 | * linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern. | |
5316 | * i386-linux-tdep.h (x86_linux_get_siginfo_type): New | |
5317 | function. | |
5318 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): Add | |
5319 | x86_linux_get_siginfo_type for the amd64 abi. | |
5320 | * i386-linux-tdep.c (x86_linux_get_siginfo_type): New | |
5321 | function. | |
5322 | (i386_linux_init_abi): Add new function at the i386 ABI | |
5323 | initialization. | |
5324 | ||
43564574 WT |
5325 | 2016-02-02 Walfred Tedeschi <[email protected]> |
5326 | ||
5327 | * linux-tdep.h (linux_siginfo_extra_field_values): New enum values. | |
5328 | (linux_siginfo_extra_fields): New enum type. | |
5329 | * linux-tdep.c (linux_get_siginfo_type_with_fields): New function. | |
5330 | (linux_get_siginfo_type): Use new function. | |
5331 | ||
93813b37 WT |
5332 | 2016-02-02 Walfred Tedeschi <[email protected]> |
5333 | ||
5334 | * nat/amd64-linux-siginfo.c: New file. | |
5335 | * nat/amd64-linux-siginfo.h: New file. | |
5336 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h. | |
5337 | (amd64-linux-siginfo.o): New rule. | |
5338 | * config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o. | |
5339 | * amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include. | |
5340 | (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) | |
5341 | (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo) | |
5342 | (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid) | |
5343 | (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status) | |
5344 | (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band) | |
5345 | (cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c. | |
5346 | ||
5fdf6324 AB |
5347 | 2016-02-01 Andrew Burgess <[email protected]> |
5348 | ||
5349 | * value.c (max_value_size): New variable. | |
5350 | (MIN_VALUE_FOR_MAX_VALUE_SIZE): New define. | |
5351 | (set_max_value_size): New function. | |
5352 | (show_max_value_size): New function. | |
5353 | (check_type_length_before_alloc): New function. | |
5354 | (allocate_value_contents): Call check_type_length_before_alloc. | |
5355 | (set_value_enclosing_type): Likewise. | |
5356 | (_initialize_values): Add set/show handler for max-value-size. | |
5357 | * NEWS: Mention new set/show command. | |
5358 | ||
5fa13070 SM |
5359 | 2016-01-31 Simon Marchi <[email protected]> |
5360 | ||
5361 | * varobj.h (struct varobj): Fix typos in comments. | |
5362 | (struct lang_varobj_ops): Likewise. | |
5363 | * varobj.c (VAROBJ_TABLE_SIZE): Likewise. | |
5364 | (varobj_create): Move misplaced comment. | |
5365 | ||
a2e3e93f SM |
5366 | 2016-01-29 Simon Marchi <[email protected]> |
5367 | ||
5368 | * aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces | |
5369 | to for include additional lines. | |
5370 | * xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces. | |
5371 | ||
56e374a6 SM |
5372 | 2016-01-28 Simon Marchi <[email protected]> |
5373 | ||
5374 | * gnulib/import/Makefile.am: Regenerate. | |
5375 | * gnulib/import/Makefile.in: Regenerate. | |
5376 | * gnulib/import/m4/gnulib-cache.m4: Regenerate. | |
5377 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add rawmemchr. | |
5378 | ||
8424cc97 SM |
5379 | 2016-01-28 Simon Marchi <[email protected]> |
5380 | ||
5381 | * remote.c (skip_to_semicolon): Remove. | |
5382 | (remote_parse_stop_reply): Use strchrnul instead of | |
5383 | skip_to_semicolon. | |
5384 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
5385 | strchrnul. | |
5386 | * gnulib/aclocal.m4: Regenerate. | |
5387 | * gnulib/config.in: Regenerate. | |
5388 | * gnulib/configure: Regenerate. | |
5389 | * gnulib/import/Makefile.am: Regenerate. | |
5390 | * gnulib/import/Makefile.in: Regenerate. | |
5391 | * gnulib/import/m4/gnulib-cache.m4: Regenerate. | |
5392 | * gnulib/import/m4/gnulib-comp.m4: Regenerate. | |
5393 | * gnulib/import/m4/rawmemchr.m4: New file. | |
5394 | * gnulib/import/m4/strchrnul.m4: New file. | |
5395 | * gnulib/import/rawmemchr.c: New file. | |
5396 | * gnulib/import/rawmemchr.valgrind: New file. | |
5397 | * gnulib/import/strchrnul.c: New file. | |
5398 | * gnulib/import/strchrnul.valgrind: New file. | |
5399 | ||
4a6a1ed4 YQ |
5400 | 2016-01-28 Yao Qi <[email protected]> |
5401 | ||
5402 | * breakpoint.c (build_target_command_list): Don't call continue | |
5403 | if aexpr is NULL. | |
5404 | (build_target_condition_list): Likewise. | |
5405 | ||
94715c17 KB |
5406 | 2016-01-27 Kevin Buettner <[email protected]> |
5407 | ||
5408 | * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8 | |
5409 | bytes as aggregates. | |
5410 | ||
c07af0ab JB |
5411 | 2016-01-27 Joel Brobecker <[email protected]> |
5412 | ||
5413 | * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as | |
5414 | Linespec Maintainers. | |
5415 | ||
41548caa SM |
5416 | 2016-01-26 Simon Marchi <[email protected]> |
5417 | ||
5418 | * common/common-utils.c (skip_spaces): Fix comment. | |
5419 | (skip_to_space_const): Likewise. | |
5420 | ||
4d18591b YQ |
5421 | 2016-01-25 Yao Qi <[email protected]> |
5422 | ||
5423 | * arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw): | |
5424 | Remove argument pc. Get pc by regcache_read_pc. Callers updated. | |
5425 | (arm_deal_with_atomic_sequence_raw): Likewise. | |
5426 | (thumb_get_next_pcs_raw): Likewise. | |
5427 | (arm_get_next_pcs_raw): Likewise. | |
5428 | (arm_get_next_pcs): Remove argument pc. Callers updated. | |
5429 | * arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration. | |
5430 | ||
a579cd9a MW |
5431 | 2016-01-25 Mark Wielaard <[email protected]> |
5432 | ||
5433 | * ada-lang.c (ada_evaluate_subexp): Add proper else block. | |
5434 | * c-typeprint.c (c_type_print_base): Fix misleading indentation of | |
5435 | if statement. | |
5436 | * inflow.c (child_terminal_ours_1): Fix misleading indentation of | |
5437 | statement block by introducing an else. | |
5438 | * linux-record.c (record_linux_sockaddr): Fix misleading indentation | |
5439 | of return statements. | |
5440 | (record_linux_msghdr): Likewise. | |
5441 | ||
a2077e25 PA |
5442 | 2016-01-25 Pedro Alves <[email protected]> |
5443 | ||
5444 | PR threads/19461 | |
5445 | * infrun.c (handle_inferior_event_1) <fork/vfork>: Update | |
5446 | parent/child running states. | |
5447 | ||
1d2736d4 PA |
5448 | 2016-01-25 Pedro Alves <[email protected]> |
5449 | ||
5450 | PR gdb/19494 | |
5451 | * linux-nat.c (kill_one_lwp): New, factored out from ... | |
5452 | (kill_callback): ... this. | |
5453 | (kill_wait_callback): New, factored out from ... | |
5454 | (kill_wait_one_lwp): ... this. | |
5455 | (kill_unfollowed_fork_children): New function. | |
5456 | (linux_nat_kill): Use it. | |
5457 | ||
b2bae2f7 JB |
5458 | 2016-01-22 John Baldwin <[email protected]> |
5459 | ||
5460 | * fbsd-nat.c (fbsd_pid_to_str): Adjust string format. | |
5461 | ||
d86feca3 YQ |
5462 | 2016-01-22 Yao Qi <[email protected]> |
5463 | ||
5464 | * arm-linux-nat.c (fetch_fpregs): Call perror_with_name | |
5465 | instead of warning. | |
5466 | (store_fpregs, fetch_regs, store_regs): Likewise. | |
5467 | (fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
5468 | (fetch_vfp_regs, store_vfp_regs): Likewise. | |
5469 | ||
b35a8b2f DE |
5470 | 2016-01-21 Doug Evans <[email protected]> |
5471 | ||
5472 | * breakpoint.c (init_breakpoint_sal): Add comment. | |
5473 | ||
f906b857 MK |
5474 | 2016-01-21 Marcin Kościelnicki <[email protected]> |
5475 | ||
5476 | * ax-gdb.c (gen_traced_pop): Use gen_fetch for string collection. | |
5477 | ||
4a099de2 AB |
5478 | 2016-01-21 Andrew Burgess <[email protected]> |
5479 | ||
5480 | * disasm.c (maybe_add_dis_line_entry): Rename to... | |
5481 | (add_dis_line_entry): ...this, and update header comment. | |
5482 | (do_mixed_source_and_assembly): Now use add_dis_line_entry. | |
5483 | ||
a994041d PA |
5484 | 2016-01-21 Pedro Alves <[email protected]> |
5485 | ||
5486 | * Makefile.in (COMPILER_CFLAGS): New. | |
5487 | (CXXFLAGS): Get it from configure. | |
5488 | (INTERNAL_CFLAGS_BASE, INTERNAL_LDFLAGS): Use COMPILER_CFLAGS | |
5489 | instead of CFLAGS. | |
5490 | * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Set and AC_SUBST | |
5491 | COMPILER_CFLAGS. | |
5492 | * configure: Regenerate. | |
5493 | ||
305e13e6 JB |
5494 | 2016-01-21 Joel Brobecker <[email protected]> |
5495 | ||
5496 | * location.h (new_address_location): Add new parameters | |
5497 | "addr_string" and "addr_string_len". | |
5498 | (get_address_string_location): Add declaration. | |
5499 | * location.c (new_address_location): Add new parameters | |
5500 | "addr_string" and "addr_string_len". If not NULL, store | |
5501 | a copy of the addr_string in the new location as well. | |
5502 | (get_address_string_location): New function. | |
5503 | (string_to_event_location): Update call to new_address_location. | |
5504 | * linespec.c (event_location_to_sals) <ADDRESS_LOCATION>: | |
5505 | Save the event location in the parser's state before | |
5506 | passing it to convert_address_location_to_sals. | |
5507 | * breakpoint.c (create_thread_event_breakpoint): Update call | |
5508 | to new_address_location. | |
5509 | (init_breakpoint_sal): Get the event location's string, if any, | |
5510 | and use it to update call to new_address_location. | |
5511 | * python/py-finishbreakpoint.c (bpfinishpy_init): | |
5512 | Update call to new_address_location. | |
5513 | * spu-tdep.c (spu_catch_start): Likewise. | |
5514 | ||
5515 | * config/djgpp/fnchange.lst: Add entries for | |
5516 | gdb/testsuite/gdb.base/break-fun-addr1.c and | |
5517 | gdb/testsuite/gdb.base/break-fun-addr2.c. | |
5518 | ||
f7a6a40d YQ |
5519 | 2016-01-21 Yao Qi <[email protected]> |
5520 | ||
5521 | * arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter | |
5522 | is_thumb and set it according to CPSR saved on the stack. | |
5523 | (arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to | |
5524 | arm_linux_sigreturn_next_pc. | |
5525 | ||
5f5dfff6 SM |
5526 | 2016-01-20 Simon Marchi <[email protected]> |
5527 | ||
5528 | * python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__): | |
5529 | Fix enumerators sort key function. | |
5530 | ||
be56871e JB |
5531 | 2016-01-20 Joel Brobecker <[email protected]> |
5532 | ||
b12e5614 | 5533 | * printcmd.c (print_scalar_formatted): Move binary operator from |
be56871e JB |
5534 | end of line to beginning of next line. Adjust formatting |
5535 | accordingly. | |
5536 | ||
f2feec98 JB |
5537 | 2016-01-19 John Baldwin <[email protected]> |
5538 | ||
5539 | * fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of | |
5540 | "len" with sysctl. | |
5541 | ||
20a0aab3 JB |
5542 | 2016-01-19 John Baldwin <[email protected]> |
5543 | ||
5544 | * fbsd-tdep.c (find_stop_signal): Remove. | |
5545 | (struct fbsd_collect_regset_section_cb) <lwp>: New field. | |
5546 | <stop_signal>: New field. | |
5547 | <abort_iteration>: New field. | |
5548 | (fbsd_collect_regset_section_cb): Use new fields. | |
5549 | (fbsd_collect_thread_registers): New function. | |
5550 | (struct fbsd_corefile_thread_data): New structure. | |
5551 | (fbsd_corefile_thread): New function. | |
5552 | (fbsd_make_corefile_notes): Use new function to dump notes for each | |
5553 | non-exited thread in a process. | |
5554 | ||
6e9567fe JB |
5555 | 2016-01-19 John Baldwin <[email protected]> |
5556 | ||
5557 | * configure.ac: Check for support for LWP names on FreeBSD. | |
5558 | * fbsd-nat.c [PT_LWPINFO] New variable debug_fbsd_lwp. | |
5559 | [TDP_RFPPWAIT || HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] | |
5560 | (fbsd_fetch_kinfo_proc): Move function earlier. | |
5561 | [PT_LWPINFO] (fbsd_thread_alive): New function. | |
5562 | [PT_LWPINFO] (fbsd_pid_to_str): New function. | |
5563 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] (fbsd_thread_name): New function. | |
5564 | [PT_LWP_EVENTS] (fbsd_enable_lwp_events): New function. | |
5565 | [PT_LWPINFO] (fbsd_add_threads): New function. | |
5566 | [PT_LWPINFO] (fbsd_update_thread_list): New function. | |
5567 | [PT_LWPINFO] New variable super_resume. | |
5568 | [PT_LWPINFO] (resume_one_thread_cb): New function. | |
5569 | [PT_LWPINFO] (resume_all_threads_cb): New function. | |
5570 | [PT_LWPINFO] (fbsd_resume): New function. | |
5571 | (fbsd_remember_child): Save full ptid instead of plain pid. | |
5572 | (fbsd_is_child_pending): Return ptid of saved child process. | |
5573 | (fbsd_wait): Include lwp in returned ptid and switch to LWP ptid on | |
5574 | first stop. | |
5575 | [PT_LWP_EVENTS] Handle LWP events. | |
5576 | [TDP_RFPPWAIT] Include LWP in child ptid. | |
5577 | (fbsd_post_startup_inferior) [PT_LWP_EVENTS]: Enable LWP events. | |
5578 | (fbsd_post_attach) [PT_LWP_EVENTS]: Enable LWP events. | |
5579 | Add threads for existing processes. | |
5580 | (fbsd_nat_add_target) [PT_LWPINFO]: Set "to_thread_alive" to | |
5581 | "fbsd_thread_alive". | |
5582 | Set "to_pid_to_str" to "fbsd_pid_to_str". | |
5583 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]: Set "to_thread_name" to | |
5584 | "fbsd_thread_name". | |
5585 | [PT_LWPINFO]: Set "to_update_thread_list" to "fbsd_update_thread_list". | |
5586 | Set "to_has_thread_control" to "tc_schedlock". | |
5587 | Set "to_resume" to "fbsd_resume". | |
5588 | (_initialize_fbsd_nat): New function. | |
5589 | * configure: Regenerate. | |
5590 | * config.in: Regenerate. | |
5591 | ||
94309df7 JB |
5592 | 2016-01-19 John Baldwin <[email protected]> |
5593 | ||
5594 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Use | |
5595 | get_ptrace_pid. | |
5596 | (amd64bsd_store_inferior_registers): Use get_ptrace_pid. | |
5597 | (amd64bsd_dr_get): Use get_ptrace_pid. | |
5598 | (amd64bsd_dr_set): Use get_ptrace_pid. | |
5599 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Use get_ptrace_pid. | |
5600 | (i386bsd_store_inferior_registers): Use get_ptrace_pid. | |
5601 | (i386bsd_dr_get): Use get_ptrace_pid. | |
5602 | (i386bsd_dr_set): Use get_ptrace_pid. | |
5603 | * inf-ptrace.c (get_ptrace_pid): Export. | |
5604 | * inf-ptrace.h (get_ptrace_pid): Declare. | |
5605 | * ppcfbsd-nat.c (ppcfbsd_fetch_inferior_registers): Use lwp id. | |
5606 | (ppcfbsd_store_inferior_registers): Use lwp id. | |
5607 | ||
79117428 JB |
5608 | 2016-01-19 John Baldwin <[email protected]> |
5609 | ||
5610 | * fbsd_tdep.c (fbsd_core_pid_to_str): New function. | |
5611 | (fbsd_core_thread_name): New function. | |
5612 | (fbsd_init_abi): Add "core_pid_to_str" gdbarch method. | |
5613 | Add "core_thread_name" gdbarch method. | |
5614 | ||
4dfc5dbc JB |
5615 | 2016-01-19 John Baldwin <[email protected]> |
5616 | ||
5617 | * corelow.c (core_thread_name): New function. | |
5618 | (init_core_ops): Use "core_thread_name" for the "to_thread_name" | |
5619 | target op. | |
5620 | * gdbarch.sh (core_thread_name): New gdbarch callback. | |
5621 | * gdbarch.h: Re-generate. | |
5622 | * gdbarch.c: Re-generate. | |
5623 | ||
10e3ed90 SM |
5624 | 2016-01-19 Simon Marchi <[email protected]> |
5625 | ||
5626 | * python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly | |
5627 | convert gdb.Value to integer type using int(). | |
5628 | ||
a6e69c1f JB |
5629 | 2016-01-19 John Baldwin <[email protected]> |
5630 | ||
5631 | * configure.ac: Include <sys/types.h when checking for "r_fs" in | |
5632 | "struct reg". | |
5633 | * configure: Regenerate. | |
5634 | ||
37e42b4f PA |
5635 | 2016-01-19 Pedro Alves <[email protected]> |
5636 | ||
5637 | * ax-gdb.c (agent_command_1): Adjust call to decode_line_full. | |
5638 | * break-catch-throw.c (re_set_exception_catchpoint): Pass the | |
5639 | current program space down to linespec decoding and breakpoint | |
5640 | location updating. | |
5641 | * breakpoint.c (parse_breakpoint_sals): Adjust calls to | |
5642 | decode_line_full. | |
5643 | (until_break_command): Adjust calls to decode_line_1. | |
5644 | (base_breakpoint_decode_location, bkpt_decode_location): Add | |
5645 | 'search_pspace' parameter. Pass it along. | |
5646 | (bkpt_probe_create_sals_from_location): Adjust calls to | |
5647 | parse_probes. | |
5648 | (tracepoint_decode_location, tracepoint_probe_decode_location) | |
5649 | (strace_marker_decode_location): Add 'search_pspace' parameter. | |
5650 | Pass it along. | |
5651 | (all_locations_are_pending): Rewrite to take a breakpoint and | |
5652 | program space as arguments instead. | |
5653 | (hoist_existing_locations): New function. | |
5654 | (update_breakpoint_locations): Add 'filter_pspace' parameter. Use | |
5655 | hoist_existing_locations instead of always removing all locations, | |
5656 | and adjust to all_locations_are_pending change. | |
5657 | (location_to_sals): Add 'search_pspace' parameter. Pass it along. | |
5658 | Don't disable the breakpoint if there are other locations in | |
5659 | another program space. | |
5660 | (breakpoint_re_set_default): Adjust to pass down the current | |
5661 | program space as filter program space. | |
5662 | (decode_location_default): Add 'search_pspace' parameter and pass | |
5663 | it along. | |
5664 | (prepare_re_set_context): Don't switch program space here. | |
5665 | (breakpoint_re_set): Use save_current_space_and_thread instead of | |
5666 | save_current_program_space. | |
5667 | * breakpoint.h (struct breakpoint_ops) <decode_location>: Add | |
5668 | 'search_pspace' parameter. | |
5669 | (update_breakpoint_locations): Add 'filter_pspace' parameter. | |
5670 | * cli/cli-cmds.c (edit_command, list_command): Adjust calls to | |
5671 | decode_line_1. | |
5672 | * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current | |
5673 | program space as filter program space. | |
5674 | * linespec.c (struct linespec_state) <search_pspace>: New field. | |
5675 | (create_sals_line_offset, convert_explicit_location_to_sals) | |
5676 | (parse_linespec): Pass the search program space down. | |
5677 | (linespec_state_constructor): Add 'search_pspace' parameter. | |
5678 | Store it. | |
5679 | (linespec_parser_new): Add 'search_pspace' parameter and pass it | |
5680 | along. | |
5681 | (linespec_lex_to_end): Adjust. | |
5682 | (decode_line_full, decode_line_1): Add 'search_pspace' parameter | |
5683 | and pass it along. | |
5684 | (decode_line_with_last_displayed): Adjust. | |
5685 | (collect_symtabs_from_filename, symtabs_from_filename): New | |
5686 | 'search_pspace' parameter. Use it. | |
5687 | (find_function_symbols): Pass the search program space down. | |
5688 | * linespec.h (decode_line_1, decode_line_full): Add | |
5689 | 'search_pspace' parameter. | |
5690 | * probe.c (parse_probes_in_pspace): New function, factored out | |
5691 | from ... | |
5692 | (parse_probes): ... this. Add 'search_pspace' parameter and use | |
5693 | it. | |
5694 | * probe.h (parse_probes): Add pspace' parameter. | |
5695 | * python/python.c (gdbpy_decode_line): Adjust. | |
5696 | * tracepoint.c (scope_info): Adjust. | |
5697 | ||
100b4f2e MR |
5698 | 2016-01-18 Maciej W. Rozycki <[email protected]> |
5699 | ||
5700 | * mips-tdep.c (mips_insn_size): Remove 48-bit microMIPS | |
5701 | instruction support. | |
5702 | (micromips_next_pc): Likewise. | |
5703 | (micromips_scan_prologue): Likewise. | |
5704 | (micromips_deal_with_atomic_sequence): Likewise. | |
5705 | (micromips_stack_frame_destroyed_p): Likewise. | |
5706 | (mips_breakpoint_from_pc): Likewise. | |
5707 | ||
3f7f3650 MR |
5708 | 2016-01-18 Maciej W. Rozycki <[email protected]> |
5709 | ||
5710 | * mips-tdep.c (micromips_insn_at_pc_has_delay_slot): Pass | |
5711 | unshifted 16-bit microMIPS instruction word to `mips_insn_size'. | |
5712 | ||
f303dbd6 PA |
5713 | 2016-01-18 Pedro Alves <[email protected]> |
5714 | ||
5715 | * NEWS: Mention that GDB now displays the ID and name of the | |
5716 | thread that hit a breakpoint or received a signal. | |
5717 | * break-catch-sig.c (signal_catchpoint_print_it): Use | |
5718 | maybe_print_thread_hit_breakpoint. | |
5719 | * break-catch-syscall.c (print_it_catch_syscall): Likewise. | |
5720 | * break-catch-throw.c (print_it_exception_catchpoint): Likewise. | |
5721 | * breakpoint.c (maybe_print_thread_hit_breakpoint): New function. | |
5722 | (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib) | |
5723 | (print_it_catch_exec, print_it_ranged_breakpoint) | |
5724 | (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it): | |
5725 | Use maybe_print_thread_hit_breakpoint. | |
5726 | * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare. | |
5727 | * gdbthread.h (show_thread_that_caused_stop): Declare. | |
5728 | * infrun.c (print_signal_received_reason): Print which thread | |
5729 | received signal. | |
5730 | * thread.c (show_thread_that_caused_stop): New function. | |
5731 | ||
eb0edac8 GB |
5732 | 2016-01-18 Gary Benson <[email protected]> |
5733 | ||
5734 | * nat/linux-namespaces.c (do_fork): New function. | |
5735 | (linux_mntns_get_helper): Use the above. | |
5736 | ||
dc365182 JH |
5737 | 2016-01-17 Jonas Hahnfeld <[email protected]> (tiny change) |
5738 | ||
5739 | Pushed by Joel Brobecker <[email protected]>. | |
5740 | PR gdb/19208 | |
5741 | * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name | |
5742 | if the function has no name. | |
5743 | ||
f74f61cb SL |
5744 | 2016-01-15 Sandra Loosemore <[email protected]> |
5745 | ||
5746 | * charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET): | |
5747 | Conditionalize for Windows host. | |
5748 | (GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET. | |
5749 | (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32. | |
5750 | (phony_iconv_open): Handle both UTF-32 endiannesses. | |
5751 | (phony_iconv): Likewise. Check for output overflow and clean up | |
5752 | out-of-input cases. Correct adjustment to input buffer pointer. | |
5753 | (set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match | |
5754 | phony_iconv_open. | |
5755 | ||
71ef29a8 PA |
5756 | 2016-01-15 Pedro Alves <[email protected]> |
5757 | ||
5758 | * NEWS: Mention star wildcard ranges. | |
5759 | * cli/cli-utils.c (get_number_or_range): Check state->in_range first. | |
5760 | (number_range_setup_range): New function. | |
5761 | * cli/cli-utils.h (number_range_setup_range): New declaration. | |
5762 | * thread.c (thread_apply_command): Support star TID ranges. | |
5763 | * tid-parse.c (tid_range_parser_finished) | |
5764 | (tid_range_parser_string, tid_range_parser_skip) | |
5765 | (get_tid_or_range, get_tid_or_range): Handle | |
5766 | TID_RANGE_STATE_STAR_RANGE. | |
5767 | (tid_range_parser_star_range): New function. | |
5768 | * tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>: | |
5769 | New value. | |
5770 | (tid_range_parser_star_range): New declaration. | |
5771 | ||
3f5b7598 PA |
5772 | 2016-01-15 Pedro Alves <[email protected]> |
5773 | ||
5774 | * thread.c (thread_apply_command): Use the tid range parser to | |
5775 | advance past the thread ID list. | |
5776 | * tid-parse.c (get_positive_number_trailer): New function. | |
5777 | (parse_thread_id): Use it. | |
5778 | (get_tid_or_range): Use it. Return 0 instead of throwing invalid | |
5779 | thread ID error. | |
5780 | (get_tid_or_range): Detect negative values. Return 0 instead of | |
5781 | throwing invalid thread ID error. | |
5782 | ||
e7cf25a8 YQ |
5783 | 2016-01-14 Yao Qi <[email protected]> |
5784 | ||
5785 | * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc): | |
5786 | Declare. | |
5787 | (arm_linux_get_next_pcs_ops): Install | |
5788 | arm_linux_get_next_pcs_syscall_next_pc. | |
5789 | (arm_linux_syscall_next_pc): Change to ... | |
5790 | (arm_linux_get_next_pcs_syscall_next_pc): ... it. | |
5791 | (arm_linux_init_abi): Don't set tdep->syscall_next_pc. | |
5792 | * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare. | |
5793 | (arm_get_next_pcs_syscall_next_pc): Make it static. Don't | |
5794 | call tdep->syscall_next_pc. | |
5795 | * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove. | |
5796 | (arm_get_next_pcs_syscall_next_pc): Remove. | |
5797 | ||
c0518081 YQ |
5798 | 2016-01-14 Yao Qi <[email protected]> |
5799 | ||
5800 | * remote.c (remote_set_syscall_catchpoint): Cast to char *. | |
5801 | * thread.c (do_captured_thread_select): Cast to const char *. | |
5802 | ||
1b451dda YQ |
5803 | 2016-01-14 Yao Qi <[email protected]> |
5804 | ||
5805 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change | |
5806 | argument arm_thumb2_breakpoint to has_thumb2_breakpoint. | |
5807 | (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint | |
5808 | instead. | |
5809 | * arch/arm-get-next-pcs.h (struct arm_get_next_pcs) | |
5810 | <arm_thumb2_breakpoint>: Remove. | |
5811 | <has_thumb2_breakpoint>: New field. | |
5812 | (arm_get_next_pcs_ctor): Update declaration. | |
5813 | * arm-linux-tdep.c (arm_linux_software_single_step): Pass | |
5814 | 1 to arm_get_next_pcs_ctor. | |
5815 | * arm-tdep.c (arm_software_single_step): Pass 0 to | |
5816 | arm_get_next_pcs_ctor. | |
5817 | ||
bc06e0b1 UW |
5818 | 2016-01-13 Ulrich Weigand <[email protected]> |
5819 | ||
5820 | * MAINTAINERS: Add Andreas Arnez as s390 target maintainer. | |
5821 | ||
4e7b8bea YQ |
5822 | 2016-01-13 Yao Qi <[email protected]> |
5823 | ||
5824 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use | |
5825 | byte_order_for_code to read instruction. | |
5826 | ||
663f6d42 PA |
5827 | 2016-01-13 Pedro Alves <[email protected]> |
5828 | ||
5829 | * NEWS: Mention $_gthread. | |
5830 | * gdbthread.h (struct thread_info) <global_num>: Mention | |
5831 | $_gthread. | |
5832 | * thread.c (thread_num_make_value_helper): New function. | |
5833 | (thread_id_make_value): Delete. | |
5834 | (thread_id_per_inf_num_make_value, global_thread_id_make_value): | |
5835 | New. | |
5836 | (thread_funcs): Adjust. | |
5837 | (gthread_funcs): New. | |
5838 | (_initialize_thread): Register $_gthread variable. | |
5839 | ||
c84f6bbf PA |
5840 | 2016-01-13 Pedro Alves <[email protected]> |
5841 | ||
5842 | * NEWS: Mention "info threads -gid". | |
5843 | * gdbthread.h (struct thread_info) <global_num>: Mention "info | |
5844 | threads -gid". | |
5845 | * thread.c (info_threads_command): Handle "-gid". | |
5846 | (_initialize_thread): Adjust "info threads" help string to mention | |
5847 | -gid. | |
5848 | ||
22a02324 PA |
5849 | 2016-01-13 Pedro Alves <[email protected]> |
5850 | ||
5851 | * NEWS: Mention InferiorThread.global_num. | |
5852 | * python/py-infthread.c (thpy_get_global_num): New function. | |
5853 | (thread_object_getset): Register "global_num". | |
5854 | ||
5d5658a1 PA |
5855 | 2016-01-13 Pedro Alves <[email protected]> |
5856 | ||
5857 | * NEWS: Mention that thread IDs are now per inferior and global | |
5858 | thread IDs. | |
5859 | * Makefile.in (SFILES): Add tid-parse.c. | |
5860 | (COMMON_OBS): Add tid-parse.o. | |
5861 | (HFILES_NO_SRCDIR): Add tid-parse.h. | |
5862 | * ada-tasks.c: Adjust to use ptid_to_global_thread_id. | |
5863 | * breakpoint.c (insert_breakpoint_locations) | |
5864 | (remove_threaded_breakpoints, bpstat_check_breakpoint_conditions) | |
5865 | (print_one_breakpoint_location, set_longjmp_breakpoint) | |
5866 | (check_longjmp_breakpoint_for_call_dummy) | |
5867 | (set_momentary_breakpoint): Adjust to use global IDs. | |
5868 | (find_condition_and_thread, watch_command_1): Use parse_thread_id. | |
5869 | (until_break_command, longjmp_bkpt_dtor) | |
5870 | (breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust | |
5871 | to use global IDs. | |
5872 | * dummy-frame.c (pop_dummy_frame_bpt): Adjust to use | |
5873 | ptid_to_global_thread_id. | |
5874 | * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise. | |
5875 | * gdbthread.h (struct thread_info): Rename field 'num' to | |
5876 | 'global_num. Add new fields 'per_inf_num' and 'inf'. | |
5877 | (thread_id_to_pid): Rename thread_id_to_pid to | |
5878 | global_thread_id_to_ptid. | |
5879 | (pid_to_thread_id): Rename to ... | |
5880 | (ptid_to_global_thread_id): ... this. | |
5881 | (valid_thread_id): Rename to ... | |
5882 | (valid_global_thread_id): ... this. | |
5883 | (find_thread_id): Rename to ... | |
5884 | (find_thread_global_id): ... this. | |
5885 | (ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare. | |
5886 | (print_thread_info): Add comment. | |
5887 | * tid-parse.h: New file. | |
5888 | * tid-parse.c: New file. | |
5889 | * infcmd.c (step_command_fsm_prepare) | |
5890 | (step_command_fsm_should_stop): Adjust to use the global thread | |
5891 | ID. | |
5892 | (until_next_command, until_next_command) | |
5893 | (finish_command_fsm_should_stop): Adjust to use the global thread | |
5894 | ID. | |
5895 | (attach_post_wait): Adjust to check the inferior number too. | |
5896 | * inferior.h (struct inferior) <highest_thread_num>: New field. | |
5897 | * infrun.c (handle_signal_stop) | |
5898 | (insert_exception_resume_breakpoint) | |
5899 | (insert_exception_resume_from_probe): Adjust to use the global | |
5900 | thread ID. | |
5901 | * record-btrace.c (record_btrace_open): Use global thread IDs. | |
5902 | * remote.c (process_initial_stop_replies): Also consider the | |
5903 | inferior number. | |
5904 | * target.c (target_pre_inferior): Clear the inferior's highest | |
5905 | thread num. | |
5906 | * thread.c (clear_thread_inferior_resources): Adjust to use the | |
5907 | global thread ID. | |
5908 | (new_thread): New inferior parameter. Adjust to use it. Set both | |
5909 | the thread's global ID and the thread's per-inferior ID. | |
5910 | (add_thread_silent): Adjust. | |
5911 | (find_thread_global_id): New. | |
5912 | (find_thread_id): Make static. Adjust to rename. | |
5913 | (valid_thread_id): Rename to ... | |
5914 | (valid_global_thread_id): ... this. | |
5915 | (pid_to_thread_id): Rename to ... | |
5916 | (ptid_to_global_thread_id): ... this. | |
5917 | (thread_id_to_pid): Rename to ... | |
5918 | (global_thread_id_to_ptid): ... this. Adjust. | |
5919 | (first_thread_of_process): Adjust. | |
5920 | (do_captured_list_thread_ids): Adjust to use global thread IDs. | |
5921 | (should_print_thread): New function. | |
5922 | (print_thread_info): Rename to ... | |
5923 | (print_thread_info_1): ... this, and add new show_global_ids | |
5924 | parameter. Handle it. Iterate over inferiors. | |
5925 | (print_thread_info): Reimplement as wrapper around | |
5926 | print_thread_info_1. | |
5927 | (show_inferior_qualified_tids): New function. | |
5928 | (print_thread_id): Use it. | |
5929 | (tp_array_compar): Compare inferior numbers too. | |
5930 | (thread_apply_command): Use tid_range_parser. | |
5931 | (do_captured_thread_select): Use parse_thread_id. | |
5932 | (thread_id_make_value): Adjust. | |
5933 | (_initialize_thread): Adjust "info threads" help string. | |
5934 | * varobj.c (struct varobj_root): Update comment. | |
5935 | (varobj_create): Adjust to use global thread IDs. | |
5936 | (value_of_root_1): Adjust to use global_thread_id_to_ptid. | |
5937 | * windows-tdep.c (display_tib): No longer accept an argument. | |
5938 | * cli/cli-utils.c (get_number_trailer): Make extern. | |
5939 | * cli/cli-utils.h (get_number_trailer): Declare. | |
5940 | (get_number_const): Adjust documentation. | |
5941 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global | |
5942 | thread IDs. | |
5943 | * mi/mi-interp.c (mi_new_thread, mi_thread_exit) | |
5944 | (mi_on_normal_stop, mi_output_running_pid, mi_on_resume): | |
5945 | * mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise. | |
5946 | * guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x): | |
5947 | Likewise. | |
5948 | * python/py-breakpoint.c (bppy_set_thread): Likewise. | |
5949 | * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise. | |
5950 | * python/py-infthread.c (thpy_get_num): Add comment and return the | |
5951 | per-inferior thread ID. | |
5952 | (thread_object_getset): Update comment of "num". | |
5953 | ||
43792cf0 PA |
5954 | 2016-01-13 Pedro Alves <[email protected]> |
5955 | ||
5956 | * breakpoint.c (remove_threaded_breakpoints) | |
5957 | (print_one_breakpoint_location): Use print_thread_id. | |
5958 | * btrace.c (btrace_enable, btrace_disable, btrace_teardown) | |
5959 | (btrace_fetch, btrace_clear): Use print_thread_id. | |
5960 | * common/print-utils.c (CELLSIZE): Delete. | |
5961 | (get_cell): Rename to ... | |
5962 | (get_print_cell): ... this and made extern. Adjust call callers. | |
5963 | Adjust to use PRINT_CELL_SIZE. | |
5964 | * common/print-utils.h (get_print_cell): Declare. | |
5965 | (PRINT_CELL_SIZE): New. | |
5966 | * gdbthread.h (print_thread_id): Declare. | |
5967 | * infcmd.c (signal_command): Use print_thread_id. | |
5968 | * inferior.c (print_inferior): Use print_thread_id. | |
5969 | * infrun.c (handle_signal_stop) | |
5970 | (insert_exception_resume_breakpoint) | |
5971 | (insert_exception_resume_from_probe) | |
5972 | (print_signal_received_reason): Use print_thread_id. | |
5973 | * record-btrace.c (record_btrace_info) | |
5974 | (record_btrace_resume_thread, record_btrace_cancel_resume) | |
5975 | (record_btrace_step_thread, record_btrace_wait): Use | |
5976 | print_thread_id. | |
5977 | * thread.c (thread_apply_all_command): Use print_thread_id. | |
5978 | (print_thread_id): New function. | |
5979 | (thread_apply_command): Use print_thread_id. | |
5980 | (thread_command, thread_find_command, do_captured_thread_select): | |
5981 | Use print_thread_id. | |
5982 | ||
84654457 PA |
5983 | 2016-01-13 Pedro Alves <[email protected]> |
5984 | ||
5985 | * NEWS: Mention InferiorThread.inferior. | |
5986 | * python/py-infthread.c (thpy_get_inferior): New. | |
5987 | (thread_object_getset): Register "inferior". | |
5988 | ||
e3940304 PA |
5989 | 2016-01-13 Pedro Alves <[email protected]> |
5990 | ||
5991 | * NEWS: Mention $_inferior. | |
5992 | * inferior.c (inferior_id_make_value): New. | |
5993 | (inferior_funcs): New. | |
5994 | (_initialize_inferior): Create $_inferior variable. | |
5995 | ||
a911d87a PA |
5996 | 2016-01-13 Pedro Alves <[email protected]> |
5997 | ||
5998 | PR breakpoints/19388 | |
5999 | * frame.c (get_current_frame): Use validate_registers_access. | |
6000 | * gdbthread.h (validate_registers_access): Declare. | |
6001 | * infrun.c (validate_siginfo_access): Delete. | |
6002 | (siginfo_value_read, siginfo_value_write): Use | |
6003 | validate_registers_access. | |
6004 | * thread.c (validate_registers_access): New function. | |
6005 | ||
82075af2 JS |
6006 | 2016-01-12 Josh Stone <[email protected]> |
6007 | Philippe Waroquiers <[email protected]> | |
6008 | ||
6009 | * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the | |
6010 | syscall_entry and syscall_return stop reasons. Mention GDB | |
6011 | support for remote catch syscall. | |
6012 | * remote.c (PACKET_QCatchSyscalls): New enum. | |
6013 | (remote_set_syscall_catchpoint): New function. | |
6014 | (remote_protocol_features): New element for QCatchSyscalls. | |
6015 | (remote_parse_stop_reply): Parse syscall_entry/return stops. | |
6016 | (init_remote_ops): Install remote_set_syscall_catchpoint. | |
6017 | (_initialize_remote): Config QCatchSyscalls. | |
6018 | * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo. | |
6019 | ||
d18547d8 YQ |
6020 | 2016-01-12 Yao Qi <[email protected]> |
6021 | ||
6022 | * nat/linux-ptrace.c (linux_child_function): Cast child_stack | |
6023 | to gdb_byte * and pass to linux_fork_to_function. | |
6024 | ||
ba4dd7c4 YQ |
6025 | 2016-01-12 Yao Qi <[email protected]> |
6026 | ||
6027 | * nat/linux-ptrace.c (linux_fork_to_function): Change type | |
6028 | of argument 'function'. | |
6029 | (linux_grandchild_function): Change return type to 'int'. | |
6030 | Change child_stack's type to 'void *'. | |
6031 | (linux_child_function): Likewise. | |
6032 | ||
bc504a31 PA |
6033 | 2016-01-12 Pedro Alves <[email protected]> |
6034 | ||
6035 | Remove use of the registered trademark symbol throughout. | |
6036 | ||
5eddd578 TS |
6037 | 2016-01-12 Thomas Schwinge <[email protected]> |
6038 | ||
6039 | * reply_mig_hack.awk: Rewrite one regular expression. | |
6040 | ||
b835bb52 MF |
6041 | 2016-01-11 Mike Frysinger <[email protected]> |
6042 | ||
6043 | * acinclude.m4: Include new warning.m4 file. | |
6044 | * configure: Regenerated. | |
6045 | * configure.ac: Move all warning logic ... | |
6046 | * warning.m4: ... here. | |
6047 | ||
2f99e8fc YQ |
6048 | 2016-01-08 Yao Qi <[email protected]> |
6049 | ||
6050 | * extension.c: Include target.h. | |
6051 | (set_active_ext_lang): Only call install_gdb_sigint_handler, | |
6052 | check_quit_flag, and set_quit_flag if target_terminal_is_ours | |
6053 | returns false. | |
6054 | (restore_active_ext_lang): Likewise. | |
6055 | * target.c (target_terminal_is_ours): New function. | |
6056 | * target.h (target_terminal_is_ours): Declare. | |
6057 | ||
5dd05630 MR |
6058 | 2016-01-07 Maciej W. Rozycki <[email protected]> |
6059 | ||
6060 | * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status' | |
6061 | to `err' in the little-endian leg. | |
6062 | ||
f5aa3069 YQ |
6063 | 2016-01-06 Yao Qi <[email protected]> |
6064 | ||
6065 | * arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some | |
6066 | lines below. | |
6067 | (thumb_get_next_pcs_raw): Make it static. | |
6068 | (arm_get_next_pcs_raw): Likewise. | |
6069 | * arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the | |
6070 | declaration. | |
6071 | (arm_get_next_pcs_raw): Likewise. | |
6072 | ||
bf69ad5a MF |
6073 | 2016-01-05 Mike Frysinger <[email protected]> |
6074 | ||
6075 | * version.in: Change cvs to git. | |
6076 | ||
66750332 MF |
6077 | 2016-01-05 Mike Frysinger <[email protected]> |
6078 | ||
6079 | * configure.tgt (score-*-*): Delete gdb_sim assignment. | |
6080 | ||
976102cd PA |
6081 | 2016-01-05 Pedro Alves <[email protected]> |
6082 | ||
6083 | PR sim/13418 | |
6084 | * configure.ac: Define WITH_PPC_SIM when linking in the sim and | |
6085 | the target is powerpc*. | |
fa89c126 PA |
6086 | * rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead |
6087 | of WITH_SIM. | |
976102cd PA |
6088 | * configure: Regenerate. |
6089 | * config.in: Regenerate. | |
6090 | ||
43368e1d MM |
6091 | 2016-01-04 Markus Metzger <[email protected]> |
6092 | ||
6093 | * btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH. | |
6094 | ||
32273fe6 MF |
6095 | 2016-01-02 Mike Frysinger <[email protected]> |
6096 | ||
6097 | * configure.tgt (powerpc*-*-*): Delete test call and | |
6098 | always assign gdb_sim. | |
6099 | ||
618f726f JB |
6100 | 2016-01-01 Joel Brobecker <[email protected]> |
6101 | ||
6102 | Update year range in copyright notice of all files. | |
6103 | ||
edd88788 JB |
6104 | 2016-01-01 Joel Brobecker <[email protected]> |
6105 | ||
6106 | * top.c (print_gdb_version): Change copyright year in version | |
6107 | message. | |
6108 | ||
0f7b3ef4 | 6109 | 2016-01-01 Joel Brobecker <[email protected]> |
aec47d1d | 6110 | |
0f7b3ef4 | 6111 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015. |
aec47d1d | 6112 | |
0f7b3ef4 | 6113 | For older changes see ChangeLog-2015. |
c906108c SS |
6114 | \f |
6115 | Local Variables: | |
6116 | mode: change-log | |
6117 | left-margin: 8 | |
6118 | fill-column: 74 | |
6119 | version-control: never | |
57da7796 | 6120 | coding: utf-8 |
c906108c | 6121 | End: |