symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses updated.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-11-18 Doug Evans <xdje42@gmail.com>
2
3 * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses
4 updated.
5
6 2014-11-18 Doug Evans <xdje42@gmail.com>
7
8 * buildsym.c (buildsym_objfile): New static global.
9 (buildsym_comp_dir): New static global.
10 (finish_block_internal): Delete arg objfile. All callers updated.
11 (finish_block): Delete arg objfile. All callers updated.
12 (start_subfile): Delete arg dirname. All callers updated.
13 (patch_subfile_names): Update buildsym_comp_dir.
14 (get_macro_table): Delete arg objfile. All callers updated.
15 (start_symtab): New arg objfile. All callers updated.
16 Rename arg dirname to comp_dir.
17 (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir.
18 (end_symtab_get_static_block): Delete arg objfile. All callers
19 updated.
20 (end_symtab_without_blockvector): Ditto.
21 (end_symtab_with_blockvector): Ditto.
22 (end_symtab_from_static_block): Ditto.
23 (end_symtab): Ditto.
24 (end_expandable_symtab): Ditto.
25 (augment_type_symtab): Ditto.
26 * coffread.c (coff_start_symtab): New arg objfile. All callers
27 updated.
28
29 2014-11-18 Doug Evans <xdje42@gmail.com>
30
31 * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses
32 updated.
33
34 2014-11-18 Doug Evans <xdje42@gmail.com>
35
36 * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member
37 symtab.dirname updated to use it.
38
39 2014-11-18 Doug Evans <xdje42@gmail.com>
40
41 * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member
42 symtab.objfile updated to use it.
43
44 2014-11-18 Doug Evans <xdje42@gmail.com>
45
46 * buildsym.c (watch_main_source_file_lossage): Fix memory leak.
47
48 2014-11-18 Doug Evans <xdje42@gmail.com>
49
50 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
51 SYMBOL_OBJFILE.
52 * findvar.c (default_read_var_value): Ditto.
53 * jv-lang.c (add_class_symtab_symbol): Ditto.
54 * parse.c (operator_check_standard): Ditto.
55 * printcmd.c (address_info): Ditto.
56 * symtab.c (fixup_symbol_section): Ditto.
57 (skip_prologue_sal): Ditto.
58 * tracepoint.c (scope_info): Ditto.
59 * valops.c (find_function_in_inferior): Ditto.
60 * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto.
61 * python/py-symbol.c (set_symbol): Ditto.
62
63 2014-11-18 Doug Evans <xdje42@gmail.com>
64
65 * buildsym.c (main_subfile): New static global.
66 (free_subfiles_list): New function.
67 (start_symtab): Set main_subfile.
68 (restart_symtab): Replace init of subfiles, current_subfile with
69 call to free_subfiles_list.
70 (watch_main_source_file_lossage): Use main_subfile.
71 (reset_symtab_globals): Replace init of current_subfile with call
72 to free_subfiles_list.
73 (end_symtab_without_blockvector, end_symtab_with_blockvector): New
74 functions, split out from ...
75 (end_symtab_from_static_block): ... here. Rewrite to call them.
76
77 2014-11-18 Doug Evans <xdje42@gmail.com>
78
79 The result of symtab expansion is always a primary symtab.
80 * dwarf2read.c (dw2_instantiate_symtab): Add assert.
81 (dw2_lookup_symbol): Remove unnecessary test for primary symbol table.
82 * psymtab.c (lookup_symbol_aux_psymtabs): Ditto.
83 (psymtab_to_symtab): Add comment and assert.
84 (map_matching_symbols_psymtab): Remove unnecessary test for
85 non-primary symtab.
86
87 2014-11-15 Doug Evans <xdje42@gmail.com>
88
89 PR symtab/17559
90 * symtab.c (find_pc_line_symtab): New function.
91 * symtab.h (find_pc_line_symtab): Declare.
92 * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of
93 find_pc_symtab.
94 * tui/tui-disasm.c (tui_set_disassem_content): Ditto.
95 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto.
96 * tui/tui-source.c (tui_vertical_source_scroll): Ditto.
97 * tui/tui-win.c (make_visible_with_new_height): Ditto.
98 * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto.
99 (tui_display_main): Call find_pc_line_symtab instead of find_pc_line.
100
101 2014-11-15 Doug Evans <xdje42@gmail.com>
102
103 * symtab.c (expand_symtab_containing_pc): Renamed from
104 find_pc_sect_symtab_via_partial. All callers updated.
105
106 2014-11-15 Yao Qi <yao@codesourcery.com>
107
108 * go32-nat.c (go32_create_inferior): Add missing parenthesis.
109
110 2014-11-14 Joel Brobecker <brobecker@adacore.com>
111
112 * common/common-defs.h: Move <stdarg.h> #include ahead of
113 <stdio.h> #include.
114
115 2014-11-14 Pedro Alves <palves@redhat.com>
116
117 * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define.
118 [!PHONY_ICONV] (gdb_iconv): New function.
119 [!PHONY_ICONV] (iconv): Redefine to gdb_iconv.
120
121 2014-11-13 Doug Evans <dje@google.com>
122
123 PR symtab/17591
124 * dwarf2read.c (find_slot_in_mapped_hash): Handle
125 "(anonymous namespace)".
126
127 2014-11-13 Doug Evans <dje@google.com>
128
129 * dwarf2read.c (update_enumeration_type_from_children): Avoid
130 infinite loop.
131
132 2014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com>
133
134 * NEWS (maint set target-async): Fix typo.
135
136 2014-11-12 Pedro Alves <palves@redhat.com>
137
138 * infrun.c (enum infwait_states, infwait_state): Delete.
139
140 2014-11-12 Pedro Alves <palves@redhat.com>
141
142 * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
143 Rewrite stepping over a permanent breakpoint.
144 (thread_still_needs_step_over, proceed): Don't set
145 stepping_over_breakpoint for permanent breakpoints.
146 (handle_signal_stop): Don't clear stepped_breakpoint. Also pull
147 single-step breakpoints out of the target on hardware step
148 targets.
149 (process_event_stop_test): If stepping a permanent breakpoint
150 doesn't hit the step-resume breakpoint, delete the step-resume
151 breakpoint.
152 (switch_back_to_stepped_thread): Also check if the stepped thread
153 has advanced already on hardware step targets.
154 (currently_stepping): Return true if the thread stepped a
155 breakpoint.
156
157 2014-11-12 Pedro Alves <palves@redhat.com>
158
159 Mark locations as permanent, not the whole breakpoint.
160 * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust.
161 (mark_breakpoints_out): Don't mark permanent breakpoints as
162 uninserted.
163 (breakpoint_init_inferior): Use mark_breakpoints_out.
164 (breakpoint_here_p): Adjust.
165 (bpstat_stop_status, describe_other_breakpoints): Remove handling
166 of permanent breakpoints.
167 (make_breakpoint_permanent): Mark each location as permanent,
168 instead of marking the breakpoint.
169 (add_location_to_breakpoint): If the location is permanent, mark
170 it as such, and as inserted.
171 (init_breakpoint_sal): Don't make the breakpoint permanent here.
172 (bp_location_compare, update_global_location_list): Adjust.
173 (update_breakpoint_locations): Don't make the breakpoint permanent
174 here.
175 (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent
176 breakpoints.
177 * breakpoint.h (enum enable_state) <bp_permanent>: Delete field.
178 (struct bp_location) <permanent>: New field.
179 * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove
180 reference to bp_permanent.
181
182 2014-11-12 Pedro Alves <palves@redhat.com>
183
184 * arch-utils.c (default_skip_permanent_breakpoint): New function.
185 * arch-utils.h (default_skip_permanent_breakpoint): New
186 declaration.
187 * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function.
188 Install default_skip_permanent_breakpoint as default method.
189 * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function.
190 (i386_gdbarch_init): Don't install it.
191 * infrun.c (resume): Assume there's always a
192 gdbarch_skip_permanent_breakpoint implementation.
193 * gdbarch.h, gdbarch.c: Regenerate.
194
195 2014-11-11 Daniel Colascione <dancol@dancol.org>
196
197 Warn about cross-PID-namespace debugging.
198 * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype.
199 * nat/linux-procfs.c (linux_proc_pid_get_ns): New function.
200 * linux-thread-db.c (check_pid_namespace_match): New function.
201 (thread_db_inferior_created): Call it.
202
203 2014-11-10 Doug Evans <xdje42@gmail.com>
204
205 * symmisc.c (print_objfile_statistics): Remove trailing whitespace.
206 (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
207
208 2014-11-10 Doug Evans <xdje42@gmail.com>
209
210 * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
211
212 2014-11-10 Doug Evans <xdje42@gmail.com>
213
214 PR symtab/17564
215 * symtab.c (lookup_symbol_in_all_objfiles): Delete.
216 (lookup_static_symbol): Move definition to new location and rewrite.
217 (lookup_symbol_in_objfile): New function.
218 (lookup_symbol_global_iterator_cb): Call it.
219
220 2014-11-10 Ulrich Weigand  <uweigand@de.ibm.com>
221
222 * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
223
224 2014-11-07 Pedro Alves <palves@redhat.com>
225
226 * infrun.c (process_event_stop_test) <subroutine check>: Don't
227 check if we did a "nexti" inside a prologue.
228 * symtab.c (in_prologue): Delete function.
229 * symtab.h (in_prologue): Delete declaration.
230
231 2014-11-06 Doug Evans <xdje42@gmail.com>
232
233 * symtab.h (lookup_global_symbol): Improve function comment.
234
235 2014-11-06 Doug Evans <xdje42@gmail.com>
236
237 * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
238 All callers updated.
239 * symtab.h (lookup_global_symbol): Update decl.
240 (lookup_static_symbol): Move decl to better location.
241
242 2014-11-06 Doug Evans <xdje42@gmail.com>
243
244 * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
245
246 2014-11-06 Doug Evans <xdje42@gmail.com>
247
248 * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
249 All callers updated.
250 (lookup_symbol_in_all_objfiles): Renamed from
251 lookup_symbol_aux_symtabs. All callers updated.
252 (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
253 All callers updated.
254 (lookup_symbol_in_objfile_symtabs): Renamed from
255 lookup_symbol_aux_objfile. All callers updated.
256
257 2014-11-06 Doug Evans <xdje42@gmail.com>
258
259 * symtab.c (lookup_symbol_in_block): Renamed from
260 lookup_symbol_aux_block. All callers updated.
261
262 2014-11-06 Doug Evans <xdje42@gmail.com>
263
264 * symtab.c (lookup_static_symbol): Renamed from
265 lookup_static_symbol_aux. All callers updated.
266 (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
267 All callers updated.
268
269 2014-11-06 Doug Evans <xdje42@gmail.com>
270
271 * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
272 * block.c (block_lookup_symbol): Use it.
273 * cp-support.c (make_symbol_overload_list_block): Use it.
274 * symtab.c (iterate_over_symbols): Use it.
275
276 2014-11-06 Doug Evans <xdje42@gmail.com>
277
278 * symtab.c (lookup_block_symbol): Moved to ...
279 * block.c (block_lookup_symbol): ... here and renamed.
280 All callers updated.
281 * block.h (block_lookup_symbol): Declare.
282 * symtab.h (lookup_block_symbol): Delete.
283
284 2014-11-06 Doug Evans <xdje42@gmail.com>
285
286 * ada-lang.c (ada_make_symbol_completion_list): Use
287 ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
288 * symtab.c (lookup_objfile_from_block): Ditto.
289
290 2014-11-06 Doug Evans <xdje42@gmail.com>
291
292 * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
293 TYPE_CODE_STRUCT.
294
295 2014-11-06 Doug Evans <xdje42@gmail.com>
296
297 * objfiles.c (get_objfile_arch): Constify.
298 * objfiles.h (get_objfile_arch): Update prototype.
299 * solib.c (solib_global_lookup): Fetch arch from objfile,
300 not target_gdbarch.
301
302 2014-11-06 Sandra Loosemore <sandra@codesourcery.com>
303
304 * nios2-tdep.c (wild_insn): Delete.
305 (profiler_insn, irqentry_insn): Delete.
306 (nios2_match_sequence): Delete.
307 (nios2_analyze_prologue): Update comments. Remove matching
308 of obsolete profiler_insn and irqentry_insn sequences.
309
310 2014-11-05 Alan Modra <amodra@gmail.com>
311
312 * charset.c (convert_between_encodings): Shrink obstack using
313 obstack_blank_fast.
314 * minsyms.c (install_minimal_symbols): Likewise.
315 * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
316 to char* before doing pointer arithmetic.
317
318 2014-11-04 Simon Marchi <simon.marchi@ericsson.com>
319
320 * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
321
322 2014-11-04 Pedro Alves <palves@redhat.com>
323
324 * breakpoint.c (breakpoint_thread_match): Delete function.
325 * breakpoint.h (breakpoint_thread_match): Delete declaration.
326
327 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
328
329 PR c++/17494
330 * eval.c (evaluate_subexp_standard): Evaluate the "object" and
331 the method args also under EVAL_SKIP when evaluating method
332 calls under EVAL_SKIP.
333
334 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
335
336 * dwarf2loc.c (read_pieced_value): Do big endian
337 processing only if gdb_regnum is not -1.
338 (write_pieced_value): Ditto.
339
340 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
341
342 * arm-linux-tdep.c (arm_linux_init_abi): Use
343 info.byte_order_for_code to choose endianity of breakpoint
344 instructions snippets.
345
346 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
347
348 * arm-tdep.c (extract_arm_insn): Use
349 gdbarch_byte_order_for_code to read arm instruction.
350
351 2014-11-02 Doug Evans <xdje42@gmail.com>
352
353 * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
354
355 2014-11-02 Doug Evans <xdje42@gmail.com>
356
357 * xcoffread.c (process_linenos): Delete unnecessary zeroing of
358 main_subfile before returning.
359
360 2014-10-31 Doug Evans <xdje42@gmail.com>
361
362 * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
363 (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
364
365 2014-10-31 Doug Evans <xdje42@gmail.com>
366
367 * valops.c (value_cast_pointers): Fix whitespace.
368 (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
369 Ditto.
370
371 2014-10-30 Doug Evans <dje@google.com>
372
373 * NEWS: Mention ability add attributes to gdb.Objfile and
374 gdb.Progspace objects.
375 * python/py-objfile.c (objfile_object): New member dict.
376 (objfpy_dealloc): Py_XDECREF dict.
377 (objfpy_initialize): Initialize dict.
378 (objfile_getset): Add __dict__.
379 (objfile_object_type): Set tp_dictoffset member.
380 * python/py-progspace.c (progspace_object): New member dict.
381 (pspy_dealloc): Py_XDECREF dict.
382 (pspy_initialize): Initialize dict.
383 (pspace_getset): Add __dict__.
384 (pspace_object_type): Set tp_dictoffset member.
385
386 2014-10-30 Yao Qi <yao@codesourcery.com>
387
388 * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
389 replace '\\' with '\\\\'.
390
391 2014-10-29 Joel Brobecker <brobecker@adacore.com>
392
393 GDB 7.8.1 released.
394
395 2014-10-29 Pedro Alves <palves@redhat.com>
396
397 PR gdb/17408
398 * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
399 instead of assuming a thread with a stepping range is always
400 stepping.
401
402 2014-10-29 Pedro Alves <palves@redhat.com>
403
404 PR python/17372
405 * event-top.c (change_line_handler): Call
406 gdb_rl_callback_handler_remove instead of
407 rl_callback_handler_remove.
408 (callback_handler_installed): New global.
409 (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
410 (gdb_rl_callback_handler_reinstall): New functions.
411 (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
412 gdb_rl_callback_handler_install instead of
413 rl_callback_handler_remove and rl_callback_handler_install.
414 (gdb_disable_readline): Call gdb_rl_callback_handler_remove
415 instead of rl_callback_handler_remove.
416 * event-top.h (gdb_rl_callback_handler_remove)
417 (gdb_rl_callback_handler_install)
418 (gdb_rl_callback_handler_reinstall): New declarations.
419 * infrun.c (reinstall_readline_callback_handler_cleanup): New
420 cleanup function.
421 (fetch_inferior_event): Install it.
422 * top.c (gdb_readline_wrapper_line) Call
423 gdb_rl_callback_handler_remove instead of
424 rl_callback_handler_remove.
425 (gdb_readline_wrapper_cleanup): Don't call
426 rl_callback_handler_install.
427
428 2014-10-29 Pedro Alves <palves@redhat.com>
429
430 * event-top.c (command_line_handler): Clear the first byte of
431 linebuffer, when it is first allocated.
432
433 2014-10-29 Pedro Alves <palves@redhat.com>
434
435 * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
436 TRY_CATCH.
437
438 2014-10-29 Pedro Alves <palves@redhat.com>
439
440 PR tui/16138
441 PR tui/17519
442 * tui/tui-interp.c (tui_is_toplevel): Delete global.
443 (tui_allowed_p): Delete function.
444 * tui/tui.c: Include "interps.h".
445 (tui_enable): Don't use tui_allowed_p. Error out here with
446 detailed error messages if the TUI is the top level interpreter,
447 or if output is not a terminal. Use newterm instead of initscr,
448 and error out if initializing the terminal fails. Also error out if
449 the terminal doesn't support cursor addressing.
450 * tui/tui.h (tui_allowed_p): Delete declaration.
451
452 2014-10-29 Joel Brobecker <brobecker@adacore.com>
453
454 * arm-tdep.c (arm_skip_stack_protector): Return early if
455 address loaded by first "ldr" instruction does not have
456 a corresponding minimal symbol. Update comment.
457
458 2014-10-29 Yao Qi <yao@codesourcery.com>
459
460 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
461 loaded address correctly of ldr instruction.
462
463 2014-10-28 Pedro Alves <palves@redhat.com>
464
465 PR gdb/12623
466 * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
467 field.
468 * infrun.c (resume) <stepping breakpoint instruction>: Set the
469 thread's stepped_breakpoint field. Skip if reverse debugging.
470 Add comment.
471 (init_thread_stepping_state, handle_signal_stop): Clear the
472 thread's stepped_breakpoint field.
473
474 2014-10-27 Pedro Alves <palves@redhat.com>
475
476 * remote.c (remote_thread_alive): New, factored out from ...
477 (remote_thread_alive): ... this.
478 (remote_update_thread_list): Bail out before deleting threads if
479 the target returned an empty list, and, the current thread has a
480 magic/fake ptid.
481
482 2014-10-27 Pedro Alves <palves@redhat.com>
483
484 * infrun.c (handle_signal_stop): Also skip handlers when a random
485 signal arrives while handling a "stepi" or a "nexti". Set the
486 thread's 'step_after_step_resume_breakpoint' flag.
487
488 2014-10-27 Luis Machado <lgustavo@codesourcery.com>
489
490 * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
491 (arm_record_ld_st_imm_offset): Reimplement to cover all
492 load/store cases for ARM opcode 010.
493 (arm_record_ld_st_multiple): Reimplement to cover all
494 load/store cases for ARM opcode 100.
495
496 2014-10-26 Doug Evans <xdje42@gmail.com>
497
498 * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
499
500 2014-10-26 Doug Evans <xdje42@gmail.com>
501
502 * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
503 parameter "kind" to "block_index".
504 * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
505 "block_index".
506 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
507
508 2014-10-26 Doug Evans <xdje42@gmail.com>
509
510 * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
511
512 2014-10-26 Doug Evans <xdje42@gmail.com>
513
514 * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
515 obstack_alloc.
516
517 2014-10-26 Doug Evans <xdje42@gmail.com>
518
519 * parser-defs.h (block_found): Move decl from here ...
520 * symtab.h (block_found): ... to here.
521
522 2014-10-26 Doug Evans <xdje42@gmail.com>
523
524 * symtab.h (struct field_of_this_result): Fix typo in comment.
525 (lookup_symbol_in_language): Move function comment here.
526 (lookup_symbol): Improve function comment.
527 (basic_lookup_symbol_nonlocal): Ditto.
528 (lookup_symbol_static, lookup_symbol_global): Ditto.
529 (lookup_symbol_aux_block): Ditto.
530 (lookup_language_this): Add function comment.
531 (lookup_static_symbol_aux): Explicitly mark as extern. Improve
532 function comment.
533 (lookup_block_symbol): Improve function comment.
534 (lookup_struct): Fix capitalization in function comment.
535 (lookup_transparent_type): Add function comment.
536 (lookup_global_symbol_from_objfile): Explicitly mark as extern.
537 Improve function comment.
538 (lookup_objfile_from_block): Add function comment.
539 * symtab.c (lookup_symbol_in_language): Update function comment.
540 (lookup_symbol, lookup_language_this): Ditto.
541 (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
542 (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
543 (basic_lookup_symbol_nonlocal): Ditto.
544 (lookup_symbol_static, lookup_symbol_global): Ditto.
545 (lookup_transparent_type, lookup_block_symbol): Ditto.
546
547 2014-10-25 Doug Evans <xdje42@gmail.com>
548
549 * symtab.c (types_info): Delete forward decl.
550 (functions_info, variables_info, sources_info): Ditto.
551 (_initialize_symtab): Rewrite forward decl to use
552 initialize_file_ftype.
553
554 2014-10-25 Doug Evans <xdje42@gmail.com>
555
556 * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
557
558 2014-10-25 Doug Evans <xdje42@gmail.com>
559
560 * dwarf2read.c (process_structure_scope): Remove second (nested) copy
561 of local var child_die.
562
563 2014-10-24 Don Breazeal <donb@codesourcery.com>
564
565 * infrun.c (follow_fork_inferior): Update fork message printing
566 to use target_terminal_ours_for_output instead of
567 target_terminal_ours, to use _() for all format strings, to print
568 "vfork" instead of "fork" for vforks, and to add a detach message.
569 (handle_vfork_child_exec_or_exit): Update message printing to use
570 target_terminal_ours_for_output instead of target_terminal_ours, to
571 use _() for all format strings, and to fix some formatting.
572
573 2014-10-24 Pedro Alves <palves@redhat.com>
574
575 * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
576 * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
577 * config/vax/vax.mh: Delete.
578 * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
579 obsolete configurations section.
580 * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
581 * vax-nat.c: Delete file.
582
583 2014-10-24 Pedro Alves <palves@redhat.com>
584
585 * NEWS (Removed targets): Add OS/arch column.
586
587 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
588
589 * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
590 on the arg type of a constructor only if it is of reference type.
591
592 2014-10-23 Sandra Loosemore <sandra@codesourcery.com>
593
594 * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
595 accessors and constants from nios2 opcodes update.
596 (nios2_get_next_pc): Likewise.
597
598 2014-10-19 Doug Evans <xdje42@gmail.com>
599
600 * gdbthread.h (set_running): Fix comment.
601 (set_executing, finish_thread_state): Fix comment.
602
603 2014-10-18 Doug Evans <xdje42@gmail.com>
604
605 * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
606
607 2014-10-17 Doug Evans <dje@google.com>
608
609 * NEWS: Mention new event gdb.clear_objfiles.
610 * python/py-event.h (emit_clear_objfiles_event): Clear
611 * python/py-events.h (events_object): New member clear_objfiles.
612 * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
613 event.
614 * python/py-inferior.c (python_new_objfile): If objfile is NULL,
615 emit clear_objfiles event.
616 * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
617 function.
618 (emit_clear_objfiles_event): New function.
619 (clear_objfiles): New event.
620 * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
621 Declare.
622 * python/python.c (_initialize_python): Call
623 gdbpy_initialize_clear_objfiles_event.
624
625 2014-10-17 Doug Evans <dje@google.com>
626
627 * NEWS: Mention new gdb.Objfile.progspace attribute.
628 * python/py-objfile.c (objfpy_get_progspace): New function.
629 (objfile_getset): New entry for "progspace".
630
631 2014-10-17 Pedro Alves <palves@redhat.com>
632
633 PR gdb/17471
634 * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
635 returns a copy of the input.
636 (run_command_1, continue_command, step_1, jump_command)
637 (signal_command, until_command, advance_command, finish_command)
638 (attach_command): Adjust and install a cleanup to free the
639 stripped args.
640
641 2014-10-17 Pedro Alves <palves@redhat.com>
642
643 PR gdb/17300
644 * infcmd.c (continue_1): If continuing all threads in the
645 foreground, make sure the inferior's terminal settings are put in
646 effect.
647
648 2014-10-17 Pedro Alves <palves@redhat.com>
649
650 PR gdb/17472
651 * annotate.c (annotate_breakpoints_invalid): Use
652 target_terminal_our_for_output instead of target_terminal_ours.
653 Give back the terminal to the target.
654 (annotate_frames_invalid): Likewise.
655
656 2014-10-17 Pedro Alves <palves@redhat.com>
657
658 * target.c (enum terminal_state): New enum.
659 (terminal_state): New global.
660 (target_terminal_init): New function.
661 (target_terminal_inferior): Skip if inferior already owns the
662 terminal.
663 (target_terminal_ours, target_terminal_ours_for_output): New
664 functions.
665 * target.h (target_terminal_init): Convert to function prototype.
666 (target_terminal_ours_for_output): Convert to function prototype
667 and tweak comment.
668 (target_terminal_ours): Convert to function prototype and tweak
669 comment.
670 * windows-nat.c (do_initial_windows_stuff): Call
671 target_terminal_init instead of child_terminal_init_with_pgrp.
672
673 2014-10-17 Pedro Alves <palves@redhat.com>
674
675 * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
676 (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
677 (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
678 solib-osf.c.
679 * NEWS: Mention that support for alpha*-*-osf* has been removed.
680 * ada-lang.h [__alpha__ && __osf__]
681 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
682 * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
683 * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
684 GDB_OSABI_OSF1.
685 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
686 files.
687 * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
688 (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
689 * configure: Regenerate.
690 * configure.ac: Remove references to osf.
691 * configure.host: Handle alpha*-*-osf* in the obsolete hosts
692 section. Remove all other references to osf.
693 * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
694 Remove all other references to osf.
695 * dec-thread.c: Delete file.
696 * defs.h (GDB_OSABI_OSF1): Delete.
697 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
698 defined.
699 * osabi.c (gdb_osabi_names): Delete "OSF/1".
700 * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
701 Delete code.
702 (unconditionally_kill_inferior)
703 [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
704 * solib-osf.c: Delete file.
705
706 2014-10-17 Pedro Alves <palves@redhat.com>
707
708 * remote.c (clear_threads_listing_context): Move higher up, out of
709 the HAVE_LIBEXPAT guard.
710
711 2014-10-16 Tristan Gingold <gingold@adacore.com>
712
713 * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
714 (i386_darwin_store_inferior_registers): Sanitize gs and fs values
715 on amd64.
716
717 2014-10-15 Pedro Alves <palves@redhat.com>
718
719 * dec-thread.c (dec_thread_count_gdb_threads)
720 (dec_thread_add_gdb_thread): Delete.
721 (dec_thread_update_thread_list): Delete.
722 (dec_thread_find_new_threads): Rename to ...
723 (dec_thread_update_thread_list): ... this. Delete GDB-size
724 threads that are no longer found in dec_thread_list.
725 (resync_thread_list): Delete.
726 (dec_thread_wait): Call dec_thread_update_thread_list instead of
727 resync_thread_list.
728
729 2014-10-15 Pedro Alves <palves@redhat.com>
730
731 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
732 * remote.c (remote_update_thread_list): Skip calling prune_threads
733 if any thread listing method is supported, and instead walk over
734 the set of remote threads listed, deleting those that are not
735 found in GDB's thread list.
736
737 2014-10-15 Pedro Alves <palves@redhat.com>
738
739 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
740 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
741 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
742 (bsd_uthread_target): Adjust.
743 * corelow.c (core_open): Adjust.
744 * dec-thread.c (dec_thread_find_new_threads): Update comment.
745 (dec_thread_update_thread_list): New function.
746 (init_dec_thread_ops): Adjust.
747 * gdbthread.h (prune_threads): New declaration.
748 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
749 (thread_db_update_thread_list): ... this. Call prune_threads.
750 (init_thread_db_ops): Adjust.
751 * nto-procfs.c (procfs_find_new_threads): Rename to ...
752 (procfs_update_thread_list): ... this. Call prune_threads.
753 (procfs_attach, procfs_create_inferior, init_procfs_targets):
754 Adjust.
755 * obsd-nat.c (obsd_find_new_threads): Rename to ...
756 (obsd_update_thread_list): ... this. Call prune_threads.
757 (obsd_add_target): Adjust.
758 * procfs.c (procfs_target): Adjust.
759 (procfs_notice_thread): Update comment.
760 (procfs_find_new_threads): Rename to ...
761 (procfs_update_thread_list): ... this. Call prune_threads.
762 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
763 comment.
764 (ravenscar_wait): Adjust.
765 (ravenscar_find_new_threads): Rename to ...
766 (ravenscar_update_thread_list): ... this. Call prune_threads.
767 (init_ravenscar_thread_ops): Adjust.
768 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
769 (record_btrace_update_thread_list): ... this. Adjust comment.
770 (init_record_btrace_ops): Adjust.
771 * remote.c (remote_threads_info): Rename to ...
772 (remote_update_thread_list): ... this. Call prune_threads.
773 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
774 Adjust.
775 * sol-thread.c (check_for_thread_db): Adjust.
776 (sol_find_new_threads_callback): Rename to ...
777 (sol_update_thread_list_callback): ... this.
778 (sol_find_new_threads): Rename to ...
779 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
780 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
781 * target-delegates.c: Regenerate.
782 * target.c (target_find_new_threads): Rename to ...
783 (target_update_thread_list): ... this.
784 * target.h (struct target_ops): Rename to_find_new_threads field
785 to to_update_thread_list.
786 (target_find_new_threads): Rename to ...
787 (target_update_thread_list): ... this.
788 * thread.c (prune_threads): Make extern.
789 (update_thread_list): Adjust.
790
791 2014-10-15 Pedro Alves <palves@redhat.com>
792
793 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
794 Add describing comment. Return -1 if the qL packet is not
795 supported.
796 (struct thread_item, thread_item_t): Move higher up in
797 the file. Add comments.
798 (struct threads_parsing_context): Move higher up in
799 the file, add comments, and remote to ...
800 (struct threads_listing_context): ... this.
801 (remote_newthread_step): Don't add the thread to GDB's thread
802 database here. Instead push it to the thread_listing_context
803 list.
804 (remote_find_new_threads): Rename to ...
805 (remote_get_threads_with_ql): ... this. Add target_ops and
806 targets_listing_context parameters. Pass down context.
807 (start_thread): Adjust.
808 (clear_threads_parsing_context): Rename to ...
809 (clear_threads_listing_context): ... this.
810 (remote_get_threads_with_qxfer): New, with parts salvaged from old
811 remote_threads_info.
812 (remote_get_threads_with_qthreadinfo): Ditto.
813 (remote_threads_info): Reimplement.
814
815 2014-10-15 Pedro Alves <palves@redhat.com>
816
817 * infrun.c (resume): Don't force displaced-stepping for all
818 single-steps on software single-stepping archs.
819
820 2014-10-15 Pedro Alves <palves@redhat.com>
821
822 * breakpoint.c (single_step_breakpoints): Delete global.
823 (insert_single_step_breakpoint): Adjust to store the breakpoint
824 pointer in the current thread.
825 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
826 (cancel_single_step_breakpoints): Delete functions.
827 (breakpoint_has_location_inserted_here): Make extern.
828 (single_step_breakpoint_inserted_here_p): Adjust to walk the
829 breakpoint list.
830 * breakpoint.h (breakpoint_has_location_inserted_here): New
831 declaration.
832 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
833 (cancel_single_step_breakpoints): Remove declarations.
834 * gdbthread.h (struct thread_control_state)
835 <single_step_breakpoints>: New field.
836 (delete_single_step_breakpoints)
837 (thread_has_single_step_breakpoints_set)
838 (thread_has_single_step_breakpoint_here): New declarations.
839 * infrun.c (follow_exec): Also clear the single-step breakpoints.
840 (singlestep_breakpoints_inserted_p, singlestep_ptid)
841 (singlestep_pc): Delete globals.
842 (infrun_thread_ptid_changed): Remove references to removed
843 globals.
844 (resume_cleanups): Delete the current thread's single-step
845 breakpoints.
846 (maybe_software_singlestep): Remove references to removed globals.
847 (resume): Adjust to use thread_has_single_step_breakpoints_set and
848 delete_single_step_breakpoints.
849 (init_wait_for_inferior): Remove references to removed globals.
850 (delete_thread_infrun_breakpoints): Delete the thread's
851 single-step breakpoints too.
852 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
853 single-step breakpoints here.
854 (delete_stopped_threads_single_step_breakpoints): New function.
855 (adjust_pc_after_break): Adjust to use
856 thread_has_single_step_breakpoints_set.
857 (handle_inferior_event): Remove references to removed globals.
858 Use delete_stopped_threads_single_step_breakpoints.
859 (handle_signal_stop): Adjust to per-thread single-step
860 breakpoints. Swap test order to do cheaper tests first.
861 (switch_back_to_stepped_thread): Extend debug output. Remove
862 references to removed globals.
863 * record-full.c (record_full_wait_1): Adjust to per-thread
864 single-step breakpoints.
865 * thread.c (delete_single_step_breakpoints)
866 (thread_has_single_step_breakpoints_set)
867 (thread_has_single_step_breakpoint_here): New functions.
868 (clear_thread_inferior_resources): Also delete the thread's
869 single-step breakpoints.
870
871 2014-10-15 Pedro Alves <palves@redhat.com>
872
873 * thread.c (delete_thread_breakpoint): New function.
874 (delete_step_resume_breakpoint)
875 (delete_exception_resume_breakpoint): Use it.
876 (delete_at_next_stop): New function.
877 (clear_thread_inferior_resources): Use delete_at_next_stop.
878
879 2014-10-15 Pedro Alves <palves@redhat.com>
880
881 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
882 (breakpoint_inserted_here_p): ... here. Remove special case for
883 software single-step breakpoints.
884 (find_non_raw_software_breakpoint_inserted_here): Inline ...
885 (software_breakpoint_inserted_here_p): ... here. Remove special
886 case for software single-step breakpoints.
887 (bp_target_info_copy_insertion_state)
888 (deprecated_insert_raw_breakpoint)
889 (deprecated_remove_raw_breakpoint): Delete functions.
890 * breakpoint.h (deprecated_insert_raw_breakpoint)
891 (deprecated_remove_raw_breakpoint): Remove declarations.
892
893 2014-10-15 Pedro Alves <palves@redhat.com>
894
895 PR breakpoints/9649
896 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
897 Delete array globals.
898 (single_step_breakpoints): New global.
899 (breakpoint_xfer_memory): Remove special handling for single-step
900 breakpoints.
901 (update_breakpoints_after_exec): Delete bp_single_step
902 breakpoints.
903 (detach_breakpoints): Remove special handling for single-step
904 breakpoints.
905 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
906 (bpstat_stop_status): Add comment.
907 (bpstat_what, bptype_string, print_one_breakpoint_location)
908 (adjust_breakpoint_address, init_bp_location): Handle
909 bp_single_step.
910 (new_single_step_breakpoint): New function.
911 (set_momentary_breakpoint, bkpt_remove_location): Remove special
912 handling for single-step breakpoints.
913 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
914 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
915 Rewrite.
916 (detach_single_step_breakpoints, find_single_step_breakpoint):
917 Delete functions.
918 (breakpoint_has_location_inserted_here): New function.
919 (single_step_breakpoint_inserted_here_p): Rewrite.
920 * breakpoint.h: Remove FIXME.
921 (enum bptype) <bp_single_step>: New enum value.
922 (insert_single_step_breakpoint): Update comment.
923 * infrun.c (resume_cleanups)
924 (delete_step_thread_step_resume_breakpoint): Remove single-step
925 breakpoints.
926 (fetch_inferior_event): Install a cleanup that removes infrun
927 breakpoints.
928 (switch_back_to_stepped_thread) <expect thread advanced also>:
929 Clear step-over info.
930
931 2014-10-15 Pedro Alves <palves@redhat.com>
932
933 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
934 (delete_thread_infrun_breakpoints): New function, with parts
935 salvaged from delete_step_resume_breakpoint_callback.
936 (delete_step_thread_step_resume_breakpoint): Delete.
937 (for_each_just_stopped_thread_callback_func): New typedef.
938 (for_each_just_stopped_thread): New function.
939 (delete_just_stopped_threads_infrun_breakpoints): New function.
940 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
941 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
942 ... this. Adjust.
943 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
944
945 2014-10-15 Pedro Alves <palves@redhat.com>
946
947 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
948 trying to step past a non-steppable watchpoint.
949 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
950 field.
951 * infrun.c (struct step_over_info): Add new field
952 'nonsteppable_watchpoint_p' and adjust comments.
953 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
954 Adjust.
955 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
956 (stepping_past_nonsteppable_watchpoint): New function.
957 (step_over_info_valid_p): Also return true if stepping past a
958 nonsteppable watchpoint.
959 (proceed): Adjust call to set_step_over_info. Remove reference to
960 init_infwait_state.
961 (init_wait_for_inferior): Remove reference to init_infwait_state.
962 (waiton_ptid): Delete global.
963 (struct execution_control_state)
964 <stepped_after_stopped_by_watchpoint>: Delete field.
965 (wait_for_inferior, fetch_inferior_event): Always pass
966 minus_one_ptid to target_wait.
967 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
968 field.
969 (init_infwait_state): Delete function.
970 (handle_inferior_event): Remove infwait_state handling.
971 (handle_signal_stop) <watchpoints handling>: Adjust after
972 stepped_after_stopped_by_watchpoint removal. Don't remove
973 breakpoints here nor set infwait_state. Set the thread's
974 stepping_over_watchpoint flag, and call keep_going instead.
975 (keep_going): Handle stepping_over_watchpoint. Adjust
976 set_step_over_info calls.
977 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
978 function.
979
980 2014-10-15 Pedro Alves <palves@redhat.com>
981
982 * infrun.c (step_over_info_valid_p): New function.
983 (resume): Use step_over_info_valid_p instead of checking the
984 threads's trap_expected flag.
985
986 2014-10-15 Doug Evans <dje@google.com>
987 Walfred Tedeschi <walfred.tedeschi@intel.com>
988
989 PR python/17364
990 * python/lib/gdb/__init__.py (packages): Add "printer".
991 * python/lib/gdb/command/bound_registers.py: Moved to ...
992 * python/lib/gdb/printer/bound_registers.py: ... here.
993 Add printer to global set of builtin printers. Rename printer from
994 "bound" to "mpx_bound128".
995 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
996 registered as global "builtin" printer.
997 (add_builtin_pretty_printer): New function.
998 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
999 gdb/printer/__init__.py.
1000
1001 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1002
1003 * Makefile.in (SFILES): Remove d-support.c.
1004 (COMMON_OBS): Remove d-support.o.
1005 * d-lang.h (d_parse_symbol): Remove declaration.
1006 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
1007 * d-support.c: Remove file.
1008
1009 2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1010
1011 * gdb/infrun.c (process_event_stop_test): Apply
1012 gdbarch_addr_bits_remove to longjmp resume address.
1013
1014 2014-10-15 Pedro Alves <palves@redhat.com>
1015
1016 * regformats/microblaze.dat: Delete file.
1017
1018 2014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
1019
1020 * features/Makefile (microblaze-expedite): Replace pc with rpc.
1021 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1022
1023 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1024
1025 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
1026 as non-trivial.
1027
1028 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1029
1030 PR c++/13403
1031 PR c++/15154
1032 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
1033 with qualified args.
1034
1035 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1036
1037 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
1038 of the case where the second operand is a pointer.
1039 <BINOP_SUB>: Likewise.
1040
1041 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1042
1043 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
1044 only if it is not NULL.
1045 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
1046 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
1047 (struct probe_ops) <clear_semaphore>: Likewise.
1048 * tracepoint.c (start_tracing): Call set_semaphore only if it is
1049 not NULL.
1050 (stop_tracing): Likewise, for clear_semaphore.
1051
1052 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1053
1054 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
1055 using language_c, instead of current_language.
1056
1057 2014-10-13 Doug Evans <dje@google.com>
1058
1059 * python/py-objfile.c (objfpy_initialize): New function.
1060 (objfpy_new, objfile_to_objfile_object): Call it.
1061 * python/py-progspace.c (pspy_initialize): New function.
1062 (pspy_new, pspace_to_pspace_object): Call it.
1063
1064 2014-10-13 Miroslav Franc <mfranc@redhat.com>
1065 Jan Kratochvil <jan.kratochvil@redhat.com>
1066
1067 Fix "save breakpoints" for "catch" command.
1068 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
1069 newline.
1070
1071 2014-10-12 Miroslav Franc <mfranc@redhat.com>
1072
1073 Fix "save breakpoints" for "disable $bpnum" command.
1074 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
1075
1076 2014-10-10 Pedro Alves <palves@redhat.com>
1077
1078 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
1079 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
1080 (HFILES_NO_SRCDIR): Remove solib-irix.h.
1081 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
1082 and been removed.
1083 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
1084 * configure.ac: Remove references to IRIX.
1085 * configure.host: Add *-*-irix* to the obsolete hosts section.
1086 Remove all other references to irix.
1087 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
1088 Delete files.
1089
1090 2014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
1091
1092 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
1093 isn't valid, release the tdesc arch data and return NULL.
1094
1095 2014-10-10 Pedro Alves <palves@redhat.com>
1096
1097 * linux-tdep.c: Include observer.h.
1098 (linux_inferior_data): New global.
1099 (struct linux_info): New structure.
1100 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
1101 (get_linux_inferior_data): New functions.
1102 (linux_vsyscall_range): Rename to ...
1103 (linux_vsyscall_range_raw): ... this.
1104 (linux_vsyscall_range): New function; handles caching.
1105 (_initialize_linux_tdep): Register linux_inferior_data. Install
1106 inferior_exit and inferior_appeared observers.
1107
1108 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1109 Pedro Alves <palves@redhat.com>
1110
1111 PR symtab/14466
1112 * solib-svr4.c (svr4_read_so_list): Rename to ...
1113 (svr4_current_sos_1): ... this and change the function comment.
1114 (svr4_current_sos): New function.
1115
1116 2014-10-10 Pedro Alves <palves@redhat.com>
1117
1118 * arch-utils.c (default_vsyscall_range): New function.
1119 * arch-utils.h (default_vsyscall_range): New declaration.
1120 * gdbarch.sh (vsyscall_range): New hook.
1121 * gdbarch.h, gdbarch.c: Regenerate.
1122 * linux-tdep.c (linux_vsyscall_range): New function.
1123 (linux_init_abi): Install linux_vsyscall_range as
1124 vsyscall_range gdbarch hook.
1125 * memrange.c (address_in_mem_range): New function.
1126 * memrange.h (address_in_mem_range): New declaration.
1127 * symfile-mem.c (find_vdso_size): Delete function.
1128 (add_vsyscall_page): Use gdbarch_vsyscall_range.
1129
1130 2014-10-10 Pedro Alves <palves@redhat.com>
1131
1132 * infrun.c (normal_stop): Fix typo in comment.
1133
1134 2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
1135
1136 PR tdep/9390
1137 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
1138 typo when using logical AND to determine instruction type.
1139
1140 2014-10-09 Yao Qi <yao@codesourcery.com>
1141
1142 * infrun.c (handle_signal_stop): Remove local variable
1143 'printed'.
1144
1145 2014-10-08 Stan Shebs <stan@codesourcery.com>
1146
1147 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
1148
1149 2014-10-08 Gary Benson <gbenson@redhat.com>
1150
1151 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
1152
1153 2014-10-08 Gary Benson <gbenson@redhat.com>
1154
1155 * common/common-defs.h: Include common-exceptions.h.
1156 * exceptions.h: Do not include common-exceptions.h.
1157
1158 2014-10-08 Gary Benson <gbenson@redhat.com>
1159
1160 * common/common-defs.h: Include cleanups.h.
1161 * common/common-exceptions.c: Do not include cleanups.h.
1162 * utils.h: Likewise.
1163
1164 2014-10-08 Gary Benson <gbenson@redhat.com>
1165
1166 * ada-lang.c: Do not include exceptions.h.
1167 * ada-valprint.c: Likewise.
1168 * amd64-tdep.c: Likewise.
1169 * auto-load.c: Likewise.
1170 * block.c: Likewise.
1171 * break-catch-throw.c: Likewise.
1172 * breakpoint.c: Likewise.
1173 * btrace.c: Likewise.
1174 * c-lang.c: Likewise.
1175 * cli/cli-cmds.c: Likewise.
1176 * cli/cli-interp.c: Likewise.
1177 * cli/cli-script.c: Likewise.
1178 * completer.c: Likewise.
1179 * corefile.c: Likewise.
1180 * corelow.c: Likewise.
1181 * cp-abi.c: Likewise.
1182 * cp-support.c: Likewise.
1183 * cp-valprint.c: Likewise.
1184 * darwin-nat.c: Likewise.
1185 * dwarf2-frame-tailcall.c: Likewise.
1186 * dwarf2-frame.c: Likewise.
1187 * dwarf2loc.c: Likewise.
1188 * dwarf2read.c: Likewise.
1189 * eval.c: Likewise.
1190 * event-loop.c: Likewise.
1191 * event-top.c: Likewise.
1192 * f-valprint.c: Likewise.
1193 * frame-unwind.c: Likewise.
1194 * frame.c: Likewise.
1195 * gdbtypes.c: Likewise.
1196 * gnu-v2-abi.c: Likewise.
1197 * gnu-v3-abi.c: Likewise.
1198 * guile/scm-auto-load.c: Likewise.
1199 * guile/scm-breakpoint.c: Likewise.
1200 * guile/scm-cmd.c: Likewise.
1201 * guile/scm-frame.c: Likewise.
1202 * guile/scm-lazy-string.c: Likewise.
1203 * guile/scm-param.c: Likewise.
1204 * guile/scm-symbol.c: Likewise.
1205 * guile/scm-type.c: Likewise.
1206 * hppa-hpux-tdep.c: Likewise.
1207 * i386-tdep.c: Likewise.
1208 * inf-loop.c: Likewise.
1209 * infcall.c: Likewise.
1210 * infcmd.c: Likewise.
1211 * infrun.c: Likewise.
1212 * interps.c: Likewise.
1213 * interps.h: Likewise.
1214 * jit.c: Likewise.
1215 * linespec.c: Likewise.
1216 * linux-nat.c: Likewise.
1217 * linux-thread-db.c: Likewise.
1218 * m32r-rom.c: Likewise.
1219 * main.c: Likewise.
1220 * memory-map.c: Likewise.
1221 * mi/mi-cmd-break.c: Likewise.
1222 * mi/mi-cmd-stack.c: Likewise.
1223 * mi/mi-interp.c: Likewise.
1224 * mi/mi-main.c: Likewise.
1225 * monitor.c: Likewise.
1226 * nto-procfs.c: Likewise.
1227 * objc-lang.c: Likewise.
1228 * p-valprint.c: Likewise.
1229 * parse.c: Likewise.
1230 * ppc-linux-tdep.c: Likewise.
1231 * printcmd.c: Likewise.
1232 * probe.c: Likewise.
1233 * python/py-auto-load.c: Likewise.
1234 * python/py-breakpoint.c: Likewise.
1235 * python/py-cmd.c: Likewise.
1236 * python/py-finishbreakpoint.c: Likewise.
1237 * python/py-frame.c: Likewise.
1238 * python/py-framefilter.c: Likewise.
1239 * python/py-function.c: Likewise.
1240 * python/py-gdb-readline.c: Likewise.
1241 * python/py-inferior.c: Likewise.
1242 * python/py-infthread.c: Likewise.
1243 * python/py-lazy-string.c: Likewise.
1244 * python/py-linetable.c: Likewise.
1245 * python/py-param.c: Likewise.
1246 * python/py-prettyprint.c: Likewise.
1247 * python/py-symbol.c: Likewise.
1248 * python/py-type.c: Likewise.
1249 * python/py-value.c: Likewise.
1250 * python/python-internal.h: Likewise.
1251 * python/python.c: Likewise.
1252 * record-btrace.c: Likewise.
1253 * record-full.c: Likewise.
1254 * regcache.c: Likewise.
1255 * remote-fileio.c: Likewise.
1256 * remote-mips.c: Likewise.
1257 * remote.c: Likewise.
1258 * rs6000-aix-tdep.c: Likewise.
1259 * rs6000-nat.c: Likewise.
1260 * skip.c: Likewise.
1261 * solib-darwin.c: Likewise.
1262 * solib-dsbt.c: Likewise.
1263 * solib-frv.c: Likewise.
1264 * solib-ia64-hpux.c: Likewise.
1265 * solib-spu.c: Likewise.
1266 * solib-svr4.c: Likewise.
1267 * solib.c: Likewise.
1268 * spu-tdep.c: Likewise.
1269 * stack.c: Likewise.
1270 * stap-probe.c: Likewise.
1271 * symfile-mem.c: Likewise.
1272 * symmisc.c: Likewise.
1273 * target.c: Likewise.
1274 * thread.c: Likewise.
1275 * top.c: Likewise.
1276 * tracepoint.c: Likewise.
1277 * tui/tui-interp.c: Likewise.
1278 * typeprint.c: Likewise.
1279 * utils.c: Likewise.
1280 * valarith.c: Likewise.
1281 * valops.c: Likewise.
1282 * valprint.c: Likewise.
1283 * value.c: Likewise.
1284 * varobj.c: Likewise.
1285 * windows-nat.c: Likewise.
1286 * xml-support.c: Likewise.
1287
1288 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1289
1290 * mips-tdep.c (add_offset_16): Rewrite to implement what the
1291 name implies.
1292 (extended_mips16_next_pc): Update accordingly.
1293
1294 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1295
1296 * mips-tdep.c (mips16_instruction_is_compact_branch): New
1297 function.
1298 (micromips_instruction_is_compact_branch): Likewise.
1299 (mips16_scan_prologue): Terminate scanning upon seeing a branch
1300 or a compact jump, reaching a jump delay slot, or seeing a
1301 second non-prologue instruction.
1302 (micromips_scan_prologue): Also terminate scanning upon seeing a
1303 compact branch or jump, or reaching a branch or jump delay slot.
1304 (mips32_scan_prologue): Terminate scanning upon reaching a branch
1305 or jump delay slot, or seeing a second non-prologue instruction.
1306 (mips32_instruction_has_delay_slot): Retain instruction
1307 examination code only, update arguments accordingly and move
1308 instruction fetch pieces to...
1309 (mips32_insn_at_pc_has_delay_slot): ... this new function.
1310 (micromips_instruction_has_delay_slot): Likewise and to...
1311 (micromips_insn_at_pc_has_delay_slot): ... this new function.
1312 (mips16_instruction_has_delay_slot): Likewise and to...
1313 (mips16_insn_at_pc_has_delay_slot): ... this new function.
1314 (mips_single_step_through_delay): Update accordingly.
1315 (mips_adjust_breakpoint_address): Likewise.
1316
1317 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1318
1319 * mips-tdep.c (micromips_instruction_has_delay_slot): When
1320 !mustbe32 also return 1 for 32-bit instructions.
1321 (mips16_instruction_has_delay_slot): Likewise. Add an
1322 explanatory comment.
1323
1324 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1325
1326 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
1327 symbols special.
1328
1329 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1330
1331 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
1332 update comments.
1333 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
1334 for the breakpoint's address. Don't preinitialize `placed_size'.
1335 (insert_bp_location): Set `reqstd_address' rather than
1336 `placed_address'.
1337 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
1338 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
1339 address.
1340 (bkpt_remove_location): Likewise.
1341 (deprecated_insert_raw_breakpoint): Likewise.
1342 (deprecated_remove_raw_breakpoint): Likewise.
1343 (find_single_step_breakpoint): Likewise.
1344 * mem-break.c (default_memory_insert_breakpoint): Use
1345 `reqstd_address' for the breakpoint's address. Don't set
1346 `placed_address' or `placed_size' if breakpoint contents couldn't
1347 have been determined.
1348 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
1349 the breakpoint's address.
1350 (remote_insert_hw_breakpoint): Likewise. Don't set
1351 `placed_address' or `placed_size' if breakpoint couldn't have been
1352 set.
1353 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
1354 `reqstd_address' for the breakpoint's address.
1355 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
1356 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
1357 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
1358 * microblaze-linux-tdep.c
1359 (microblaze_linux_memory_remove_breakpoint): Likewise.
1360 * monitor.c (monitor_insert_breakpoint): Likewise.
1361 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
1362 (procfs_insert_hw_breakpoint): Likewise.
1363 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
1364 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
1365 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
1366 * remote-mips.c (mips_insert_breakpoint): Likewise.
1367 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
1368
1369 2014-10-03 Luis Machado <lgustavo@codesourcery.com>
1370
1371 * valops.c (value_assign): Check for bit field assignments
1372 before calling architecture-specific register value
1373 conversion functions.
1374
1375 2014-10-03 Pierre Muller <muller@sourceware.org>
1376
1377 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
1378
1379 2014-10-02 Pedro Alves <palves@redhat.com>
1380
1381 * breakpoint.c (breakpoints_should_be_inserted_now): Use
1382 threads_are_executing.
1383 * breakpoint.h (breakpoints_should_be_inserted_now): Add
1384 describing comment.
1385 * gdbthread.h (threads_are_executing): Declare.
1386 (handle_signal_stop) <random signals>: Don't print about the
1387 signal here if stopping.
1388 (end_stepping_range): Don't notify observers here.
1389 (normal_stop): Update the thread list. If stopped by a random
1390 signal or a stepping range ended, notify observers.
1391 * thread.c (threads_executing): New global.
1392 (init_thread_list): Clear 'threads_executing'.
1393 (set_executing): Set or clear 'threads_executing'.
1394 (threads_are_executing): New function.
1395 (update_threads_executing): New function.
1396 (update_thread_list): Use it.
1397
1398 2014-10-02 Pedro Alves <palves@redhat.com>
1399
1400 PR breakpoints/17431
1401 * breakpoint.c (update_breakpoints_after_exec): Don't create
1402 overlay, longjmp, std terminate nor exception breakpoints here.
1403
1404 2014-10-02 Pedro Alves <palves@redhat.com>
1405
1406 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
1407 Adjust comments.
1408 * inferior.c (find_inferior_for_program_space): Give preference to
1409 the current inferior.
1410 * inferior.h (find_inferior_for_program_space): Update comment.
1411 * progspace.c (switch_to_program_space_and_thread): Prefer the
1412 current inferior if it's bound to the program space requested. If
1413 the inferior found doesn't have a PID yet, don't bother looking up
1414 a thread.
1415 * progspace.h (switch_to_program_space_and_thread): Adjust
1416 comment.
1417 * thread.c (any_thread_of_process, any_live_thread_of_process):
1418 Give preference to the current thread.
1419
1420 2014-10-01 Pedro Alves <palves@redhat.com>
1421
1422 * breakpoint.c (insert_bp_location): Error out if inserting a
1423 software breakpoint at a read-only address.
1424 * target.c (memory_xfer_check_region): New function, factored out
1425 from ...
1426 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
1427 ULONGEST.
1428 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
1429 against the memory region attributes.
1430
1431 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1432
1433 * NEWS: Announce new exit-code field in -list-thread-groups
1434 output.
1435 * inferior.c (exit_inferior_1): Don't clear exit code.
1436 (inferior_appeared): Clear exit code.
1437 * mi/mi-main.c (print_one_inferior): Add printing of the exit
1438 code.
1439
1440 2014-10-01 Pedro Alves <palves@redhat.com>
1441
1442 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
1443 GENERATED" along with emacs/vi read-only markers.
1444 * regformats/aarch64.dat: Regenerate.
1445 * regformats/arm-with-iwmmxt.dat: Regenerate.
1446 * regformats/arm-with-neon.dat: Regenerate.
1447 * regformats/arm-with-vfpv2.dat: Regenerate.
1448 * regformats/arm-with-vfpv3.dat: Regenerate.
1449 * regformats/i386/amd64-avx-linux.dat: Regenerate.
1450 * regformats/i386/amd64-avx.dat: Regenerate.
1451 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
1452 * regformats/i386/amd64-avx512.dat: Regenerate.
1453 * regformats/i386/amd64-linux.dat: Regenerate.
1454 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
1455 * regformats/i386/amd64-mpx.dat: Regenerate.
1456 * regformats/i386/amd64.dat: Regenerate.
1457 * regformats/i386/i386-avx-linux.dat: Regenerate.
1458 * regformats/i386/i386-avx.dat: Regenerate.
1459 * regformats/i386/i386-avx512-linux.dat: Regenerate.
1460 * regformats/i386/i386-avx512.dat: Regenerate.
1461 * regformats/i386/i386-linux.dat: Regenerate.
1462 * regformats/i386/i386-mmx-linux.dat: Regenerate.
1463 * regformats/i386/i386-mmx.dat: Regenerate.
1464 * regformats/i386/i386-mpx-linux.dat: Regenerate.
1465 * regformats/i386/i386-mpx.dat: Regenerate.
1466 * regformats/i386/i386.dat: Regenerate.
1467 * regformats/i386/x32-avx-linux.dat: Regenerate.
1468 * regformats/i386/x32-avx.dat: Regenerate.
1469 * regformats/i386/x32-avx512-linux.dat: Regenerate.
1470 * regformats/i386/x32-avx512.dat: Regenerate.
1471 * regformats/i386/x32-linux.dat: Regenerate.
1472 * regformats/i386/x32.dat: Regenerate.
1473 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1474 * regformats/mips-dsp-linux.dat: Regenerate.
1475 * regformats/mips-linux.dat: Regenerate.
1476 * regformats/mips64-dsp-linux.dat: Regenerate.
1477 * regformats/mips64-linux.dat: Regenerate.
1478 * regformats/nios2-linux.dat: Regenerate.
1479 * regformats/rs6000/powerpc-32.dat: Regenerate.
1480 * regformats/rs6000/powerpc-32l.dat: Regenerate.
1481 * regformats/rs6000/powerpc-64l.dat: Regenerate.
1482 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
1483 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
1484 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
1485 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
1486 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
1487 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
1488 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
1489 * regformats/s390-linux32.dat: Regenerate.
1490 * regformats/s390-linux32v1.dat: Regenerate.
1491 * regformats/s390-linux32v2.dat: Regenerate.
1492 * regformats/s390-linux64.dat: Regenerate.
1493 * regformats/s390-linux64v1.dat: Regenerate.
1494 * regformats/s390-linux64v2.dat: Regenerate.
1495 * regformats/s390-te-linux64.dat: Regenerate.
1496 * regformats/s390x-linux64.dat: Regenerate.
1497 * regformats/s390x-linux64v1.dat: Regenerate.
1498 * regformats/s390x-linux64v2.dat: Regenerate.
1499 * regformats/s390x-te-linux64.dat: Regenerate.
1500 * regformats/tic6x-c62x-linux.dat: Regenerate.
1501 * regformats/tic6x-c62x.dat: Regenerate.
1502 * regformats/tic6x-c64x-linux.dat: Regenerate.
1503 * regformats/tic6x-c64x.dat: Regenerate.
1504 * regformats/tic6x-c64xp-linux.dat: Regenerate.
1505 * regformats/tic6x-c64xp.dat: Regenerate.
1506
1507 2014-10-01 Pedro Alves <palves@redhat.com>
1508
1509 * features/Makefile: Update comments.
1510 (XMLTOC): List all xml files we build C files from.
1511 (clean-cfiles): New rule.
1512
1513 2014-10-01 Pedro Alves <palves@redhat.com>
1514
1515 * features/i386/amd64-avx512-linux.c: Regenerate.
1516 * features/i386/amd64-avx512.c: Regenerate.
1517 * features/i386/x32-avx512-linux.c: Regenerate.
1518 * features/i386/x32-avx512.c: Regenerate.
1519
1520 2014-10-01 Pedro Alves <palves@redhat.com>
1521
1522 * features/Makefile (WHICH): Remove arm-with-m,
1523 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
1524
1525 2014-10-01 Pedro Alves <palves@redhat.com>
1526
1527 * features/Makefile (clean): New rule.
1528
1529 2014-10-01 Pedro Alves <palves@redhat.com>
1530
1531 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
1532 (zmm14h): Add missing end quotes.
1533
1534 2014-10-01 Pedro Alves <palves@redhat.com>
1535
1536 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
1537 * features/aarch64.c: Regenerate.
1538
1539 2014-09-30 Don Breazeal <donb@codesourcery.com>
1540
1541 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
1542 code so as to work with follow_fork_inferior.
1543 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
1544 (inf_ttrace_create_inferior): Remove reference to
1545 inf_ttrace_vfork_ppid.
1546 (inf_ttrace_attach): Ditto.
1547 (inf_ttrace_detach): Ditto.
1548 (inf_ttrace_kill): Use current_inferior instead of
1549 inf_ttrace_vfork_ppid.
1550 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
1551 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
1552 inferior away from the parent.
1553 * infrun.c (follow_fork): Call follow_fork_inferior instead of
1554 target_follow_fork.
1555 (follow_fork_inferior): New function.
1556 (follow_inferior_reset_breakpoints): Make function static.
1557 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
1558 * linux-nat.c (linux_child_follow_fork): Move target-independent
1559 code to infrun.c:follow_fork_inferior.
1560
1561 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1562
1563 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
1564 * gdbarch.c: Regenerate.
1565 * gdbarch.h: Likewise.
1566 * corelow.c (sniff_core_bfd): Drop presence check for deleted
1567 gdbarch method 'regset_from_core_section'.
1568 (get_core_register_section): Remove handling for the case that
1569 regset == NULL and regset_from_core_section is defined.
1570 (get_core_registers): Drop check for deleted method.
1571 * procfs.c (procfs_do_thread_registers): Adjust comment.
1572
1573 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1574
1575 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
1576 (linux_nat_make_corefile_notes): Remove.
1577 (linux_target_install_ops): Do not set target method
1578 'make_corefile_notes'.
1579 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
1580 Remove field.
1581 (linux_corefile_thread_callback): Instead of args->collect, call
1582 linux_collect_thread_registers.
1583 (linux_make_corefile_notes): Remove 'collect' parameter. Return
1584 NULL unless there is a regset iterator.
1585 (linux_make_corefile_notes_1): Remove.
1586 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
1587 by linux_make_corefile_notes.
1588 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
1589
1590 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1591
1592 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
1593 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
1594 Remove.
1595 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
1596
1597 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1598
1599 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
1600 (xtensa_iterate_over_regset_sections): New.
1601 (xtensa_gdbarch_init): Adjust gdbarch initialization.
1602
1603 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1604
1605 * vax-tdep.c (vax_regset_from_core_section): Remove.
1606 (vax_iterate_over_regset_sections): New.
1607 (vax_gdbarch_init): Adjust gdbarch initialization.
1608
1609 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1610
1611 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
1612 (tilegx_regset_from_core_section): Remove.
1613 (tilegx_iterate_over_regset_sections): New.
1614 (tilegx_linux_init_abi): Adjust gdbarch initialization.
1615
1616 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1617
1618 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
1619 (sparc_iterate_over_regset_sections): New.
1620 (sparc32_gdbarch_init): Adjust gdbarch initialization.
1621 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
1622 targets.
1623 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
1624 (sparc64fbsd_init_abi): Call fbsd_init_abi.
1625 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
1626 target method 'make_corefile_notes'.
1627
1628 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1629
1630 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
1631 'sizeof_gregset' and 'sizeof_fpregset'.
1632 * sh-tdep.c (sh_regset_from_core_section): Remove.
1633 (sh_iterate_over_regset_sections): New.
1634 (sh_gdbarch_init): Adjust gdbarch initialization.
1635 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
1636 sizeof_fpregset.
1637 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
1638 'sizeof_gregset'.
1639
1640 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1641
1642 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
1643 (score7_linux_iterate_over_regset_sections): New.
1644 (score_gdbarch_init): Adjust gdbarch initialization.
1645
1646 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1647
1648 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
1649 FreeBSD targets.
1650 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
1651 method 'make_corefile_notes'.
1652 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
1653 (ppcfbsd_regset_from_core_section): Remove.
1654 (ppcfbsd_iterate_over_regset_sections): New.
1655 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
1656 initialization.
1657 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
1658 (ppcnbsd_iterate_over_regset_sections): New.
1659 (ppcnbsd_init_abi): Adjust.
1660 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
1661 (ppcobsd_iterate_over_regset_sections): New.
1662 (ppcobsd_init_abi): Adjust.
1663 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
1664 (rs6000_aix_iterate_over_regset_sections): New.
1665 (rs6000_aix_init_osabi): Adjust.
1666
1667 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1668
1669 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
1670 (nios2_regset_from_core_section): Remove.
1671 (nios2_iterate_over_regset_sections): New.
1672 (nios2_linux_init_abi): Adjust gdbarch initialization.
1673
1674 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1675
1676 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
1677 (am33_iterate_over_regset_sections): New.
1678 (am33_linux_init_osabi): Adjust gdbarch initialization.
1679
1680 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1681
1682 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
1683 (mips_linux_iterate_over_regset_sections): New.
1684 (mips_linux_init_abi): Adjust gdbarch initialization.
1685 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
1686 (mips64obsd_iterate_over_regset_sections): New.
1687 (mips64obsd_init_abi): Adjust.
1688 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
1689 (mipsnbsd_iterate_over_regset_sections): New.
1690 (mipsnbsd_init_abi): Adjust.
1691
1692 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1693
1694 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
1695 (m88k_iterate_over_regset_sections): New.
1696 (m88k_gdbarch_init): Adjust gdbarch initialization.
1697
1698 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1699
1700 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
1701 (ia64_linux_iterate_over_regset_sections): New.
1702 (ia64_linux_init_abi): Adjust gdbarch initialization.
1703
1704 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1705
1706 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
1707 (m68kbsd_iterate_over_regset_sections): New.
1708 (m68kbsd_init_abi): Adjust gdbarch initialization.
1709 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
1710 (m68k_linux_iterate_over_regset_sections): New.
1711 (m68k_linux_init_abi): Adjust gdbarch initialization.
1712
1713 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1714
1715 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
1716 (m32r_linux_regset_from_core_section): Remove.
1717 (m32r_linux_iterate_over_regset_sections): New.
1718 (m32r_linux_init_abi): Adjust gdbarch initialization.
1719
1720 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1721
1722 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
1723 (amd64obsd_iterate_over_regset_sections): New.
1724 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
1725 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
1726 Remove.
1727 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
1728 regset_from_core_section initialization.
1729 * i386-tdep.c (i386_regset_from_core_section): Remove.
1730 (i386_iterate_over_regset_sections): New.
1731 (i386_gdbarch_init): Adjust gdbarch initialization.
1732 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
1733 (i386_iterate_over_regset_sections): New prototype.
1734 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
1735 Remove.
1736 (i386obsd_aout_iterate_over_regset_sections): New.
1737 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
1738 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
1739 targets.
1740 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
1741 (amd64fbsd_init_abi): Call fbsd_init_abi.
1742 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
1743 (i386fbsd4_init_abi): Call fbsd_init_abi.
1744 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
1745 target method 'make_corefile_notes'.
1746 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
1747
1748 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1749
1750 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
1751 (hppa_hpux_iterate_over_regset_sections): New.
1752 (hppa_hpux_init_abi): Adjust gdbarch initialization.
1753 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
1754 (hppa_linux_iterate_over_regset_sections): New.
1755 (hppa_linux_init_abi): Adjust.
1756 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1757 (hppanbsd_iterate_over_regset_sections): New.
1758 (hppanbsd_init_abi): Adjust.
1759 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1760 (hppaobsd_iterate_over_regset_sections): New.
1761 (hppaobsd_init_abi): Adjust.
1762
1763 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1764
1765 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
1766 (frv_linux_iterate_over_regset_sections): New.
1767 (frv_linux_init_abi): Adjust gdbarch initialization.
1768
1769 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1770
1771 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
1772 (armbsd_iterate_over_regset_sections): New prototype.
1773 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
1774 (armbsd_iterate_over_regset_sections): New.
1775 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
1776 initialization.
1777
1778 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1779
1780 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
1781 (alpha_linux_iterate_over_regset_sections): New.
1782 (alpha_linux_init_abi): Adjust gdbarch initialization.
1783 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
1784 prototype.
1785 (alphanbsd_iterate_over_regset_sections): New prototype.
1786
1787 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1788
1789 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
1790 Remove.
1791 (aarch64_linux_iterate_over_regset_sections): New.
1792 (aarch64_linux_init_abi): Adjust gdbarch initialization.
1793
1794 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1795
1796 * fbsd-tdep.c: New file.
1797 * fbsd-tdep.h: New file.
1798 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
1799 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
1800 (ALLDEPFILES): Add fbsd-tdep.c.
1801
1802 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1803
1804 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
1805 parameter.
1806 * gdbarch.h: Regenerate.
1807 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
1808 iterator.
1809 (get_core_register_section): Add parameter 'regset' and use it, if
1810 set. Add parameter 'min_size' and verify the bfd section size
1811 against it.
1812 (get_core_registers_cb): Add parameter 'regset' and pass it to
1813 get_core_register section. For the "standard" register sections
1814 ".reg" and ".reg2", set an appropriate default for human_name.
1815 (get_core_registers): Don't abort when the gdbarch has an iterator
1816 but no regset_from_core_section. Add NULL/0 for parameters
1817 'regset'/'min_size' in calls to get_core_register_section.
1818 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
1819 'regset' and use it instead of calling the
1820 regset_from_core_section gdbarch method.
1821 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
1822 * i386-tdep.c (i386_supply_xstateregset)
1823 (i386_collect_xstateregset, i386_xstateregset): Moved to
1824 i386-linux-tdep.c.
1825 (i386_regset_from_core_section): Drop handling for .reg-xfp and
1826 .reg-xstate.
1827 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
1828 core file support only if the regset iterator hasn't been set.
1829 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
1830 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
1831 Moved from i386-tdep.c and renamed to *_linux*.
1832 (i386_linux_iterate_over_regset_sections): Add regset parameter to
1833 each callback invocation. Allow any .reg-xstate size when reading
1834 from a core file.
1835 * amd64-tdep.c (amd64_supply_xstateregset)
1836 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
1837 amd64-linux-tdep.c.
1838 (amd64_regset_from_core_section): Remove.
1839 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
1840 install an amd64-specific regset_from_core_section gdbarch method.
1841 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
1842 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
1843 Moved from amd64-tdep.c and renamed to *_linux*.
1844 (amd64_linux_iterate_over_regset_sections): Add regset parameter
1845 to each callback invocation. Allow any .reg-xstate size when
1846 reading from a core file.
1847 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
1848 (arm_linux_iterate_over_regset_sections): Add regset parameter to
1849 each callback invocation.
1850 (arm_linux_init_abi): No longer set the regset_from_core_section
1851 gdbarch method.
1852 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
1853 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
1854 each callback invocation.
1855 (ppc_linux_init_abi): No longer set the regset_from_core_section
1856 gdbarch method.
1857 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
1858 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
1859 (s390_regset_from_core_section): Remove.
1860 (s390_iterate_over_regset_sections): Add regset parameter to each
1861 callback invocation.
1862 (s390_gdbarch_init): No longer set the regset_from_core_section
1863 gdbarch method. Drop initialization of deleted tdep fields.
1864
1865 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1866
1867 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
1868 (amd64_linux_iterate_over_regset_sections): New.
1869 (amd64_linux_init_abi_common): Don't install the regset section
1870 list, but the new iterator in gdbarch.
1871 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
1872 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
1873 (arm_linux_iterate_over_regset_sections): ...here. New function.
1874 (arm_linux_init_abi): Set iterator instead of section list.
1875 * corelow.c (get_core_registers_cb): New function, logic moved
1876 from...
1877 (get_core_registers): ...loop body here. Use new iterator method
1878 instead of walking through the regset section list.
1879 * gdbarch.sh: Remove 'core_regset_sections'. New method
1880 'iterate_over_regset_sections'. New typedef
1881 'iterate_over_regset_sections_cb'.
1882 * gdbarch.c: Regenerate.
1883 * gdbarch.h: Likewise.
1884 * i386-linux-tdep.c (i386_linux_regset_sections)
1885 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
1886 Remove.
1887 (i386_linux_iterate_over_regset_sections): New.
1888 (i386_linux_init_abi): Don't choose a regset section list, but
1889 install new iterator in gdbarch.
1890 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
1891 (linux_collect_regset_section_cb): New function, logic moved
1892 from...
1893 (linux_collect_thread_registers): ...loop body here. Use iterator
1894 method instead of walking through list.
1895 (linux_make_corefile_notes_1): Check for presence of iterator
1896 method instead of regset section list.
1897 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
1898 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
1899 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
1900 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
1901 (ppc_linux_iterate_over_regset_sections): ...here. New function.
1902 (ppc_linux_init_abi): Don't choose from above regset section
1903 lists, but install new iterator in gdbarch.
1904 * regset.h (struct core_regset_section): Remove.
1905 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
1906 have_linux_v1, have_linux_v2, and have_tdb.
1907 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
1908 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
1909 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
1910 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
1911 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
1912 (s390_iterate_over_regset_sections): ...here. New function. Use
1913 new tdep fields.
1914 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
1915 regset section lists, but install new iterator.
1916
1917 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1918
1919 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
1920
1921 2014-09-26 Simon Marchi <simon.marchi@ericsson.com>
1922
1923 * progspace.c (print_program_space): Don't prune program spaces
1924 before printing them.
1925
1926 2014-09-25 Pedro Alves <palves@redhat.com>
1927
1928 * infrun.c (user_visible_resume_ptid): Don't check
1929 singlestep_breakpoints_inserted_p.
1930
1931 2014-09-25 Pedro Alves <palves@redhat.com>
1932
1933 * breakpoint.c (should_be_inserted): Add debug output.
1934
1935 2014-09-25 Pedro Alves <palves@redhat.com>
1936
1937 * infrun.c (stepping_past_instruction_at)
1938 (clear_exit_convenience_vars): Point at infrun.h instead of
1939 inferior.h.
1940 (handle_signal_stop): Fix typo.
1941
1942 2014-09-24 Yao Qi <yao@codesourcery.com>
1943
1944 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
1945 bitmask.
1946
1947 2014-09-22 Gary Benson <gbenson@redhat.com>
1948
1949 * target.c (target_stop): Updated comment.
1950
1951 2014-09-22 Gary Benson <gbenson@redhat.com>
1952
1953 * target/target.h (target_stop_ptid): Renamed as...
1954 (target_stop_and_wait): New function. Updated comment.
1955 All uses updated.
1956 (target_continue_ptid): Renamed as...
1957 (target_continue_no_signal): New function. Updated comment.
1958 All uses updated.
1959
1960 2014-09-22 Pedro Alves <palves@redhat.com>
1961
1962 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
1963 and "auto" merged.
1964 * breakpoint.c (enum ugll_insert_mode): New enum.
1965 (always_inserted_mode): Now a plain boolean.
1966 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
1967 (breakpoints_always_inserted_mode): Delete.
1968 (breakpoints_should_be_inserted_now): New function.
1969 (insert_breakpoints): Pass UGLL_INSERT to
1970 update_global_location_list instead of calling
1971 insert_breakpoint_locations manually.
1972 (create_solib_event_breakpoint_1): New, factored out from ...
1973 (create_solib_event_breakpoint): ... this.
1974 (create_and_insert_solib_event_breakpoint): Use
1975 create_solib_event_breakpoint_1 instead of calling
1976 insert_breakpoint_locations manually.
1977 (update_global_location_list): Change parameter type from boolean
1978 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1979 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1980 (update_global_location_list_nothrow): Change parameter type from
1981 boolean to enum ugll_insert_mode.
1982 (_initialize_breakpoint): "breakpoint always-inserted" option is
1983 now a boolean command. Update help text.
1984 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
1985 (breakpoints_should_be_inserted_now): New declaration.
1986 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
1987 Remove breakpoints_always_inserted_mode check.
1988 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
1989 * remote.c (remote_start_remote): Likewise.
1990
1991 2014-09-22 Pedro Alves <palves@redhat.com>
1992
1993 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
1994 (insert_breakpoints): Don't call insert_breakpoint_locations here.
1995 Instead, pass UGLL_INSERT to update_global_location_list.
1996 (update_global_location_list): Change parameter type from boolean
1997 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1998 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1999 (create_solib_event_breakpoint_1): New, factored out from ...
2000 (create_solib_event_breakpoint): ... this.
2001 (create_and_insert_solib_event_breakpoint): Use
2002 create_solib_event_breakpoint_1 instead of calling
2003 insert_breakpoint_locations manually.
2004 (update_global_location_list): Handle UGLL_INSERT.
2005
2006 2014-09-22 Pedro Alves <palves@redhat.com>
2007
2008 * breakpoint.c (enum ugll_insert_mode): New enum.
2009 (update_global_location_list)
2010 (update_global_location_list_nothrow): Change parameter type from
2011 boolean to enum ugll_insert_mode. All callers adjusted.
2012
2013 2014-09-19 Joel Brobecker <brobecker@adacore.com>
2014
2015 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
2016 SystemTap support in GDB.
2017
2018 2014-09-19 Don Breazeal <donb@codesourcery.com>
2019
2020 * linux-nat.c (linux_handle_extended_wait): Call
2021 linux_ptrace_get_extended_event.
2022 (wait_lwp): Call linux_is_extended_waitstatus.
2023 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
2024 and linux_is_extended_waitstatus.
2025 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
2026 linux_ptrace_get_extended_event.
2027 (linux_ptrace_get_extended_event): New function.
2028 (linux_is_extended_waitstatus): New function.
2029 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
2030 (linux_is_extended_waitstatus): New declarations.
2031
2032 2014-09-19 Yao Qi <yao@codesourcery.com>
2033
2034 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2035 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
2036 comments. Callers update.
2037 (dwarf_decode_lines): Likewise.
2038 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
2039 comments. Skip the line table if 'lowpc' is greater than
2040 'address'. Don't check
2041 dwarf2_per_objfile->has_section_at_zero.
2042
2043 2014-09-18 Doug Evans <dje@google.com>
2044
2045 * NEWS: Mention new "producer" attribute of gdb.Symtab.
2046 * python/py-symtab.c (stpy_get_producer): New function.
2047 (symtab_object_getset): Add "producer" attribute.
2048
2049 2014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
2050
2051 PR gdb/17384
2052 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
2053 (do_captured_read_memory_integer): Remove.
2054 (safe_read_memory_integer): Use target_read_memory directly instead
2055 of catching errors in do_captured_read_memory_integer.
2056
2057 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
2058
2059 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
2060 not gdb/doc.
2061
2062 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2063
2064 * objc-lang.c (find_implementation_from_class): Remove dead code.
2065
2066 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2067
2068 PR cli/7233
2069 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
2070 "fprintf_unfiltered (gdb_stdlog...)".
2071
2072 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2073
2074 PR breakpoints/12526
2075 * breakpoint.h (struct watchpoint): New fields val_bitpos and
2076 val_bitsize.
2077 * breakpoint.c (watch_command_1): Use these fields to retain
2078 bitfield information.
2079 (extract_bitfield_from_watchpoint_value): New function.
2080 (watchpoint_check): Use it.
2081 (update_watchpoint): Use it. Optimize the address and length of a
2082 HW watchpoint pointing to a bitfield.
2083 * value.h (unpack_value_bitfield): New prototype.
2084 * value.c (unpack_value_bitfield): Make extern.
2085
2086 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2087
2088 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
2089 x86-dregs.o.
2090 * gnu-nat.c (inf_threads): New function.
2091 * gnu-nat.h (inf_threads_ftype): New typedef.
2092 (inf_threads): New declaration.
2093 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
2094 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
2095 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
2096 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
2097 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
2098 (i386_gnu_dr_get_control): New functions.
2099 (reg_addr): New structure.
2100 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
2101 i386 debugging register hooks.
2102 * NEWS: Mention this.
2103
2104 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2105
2106 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
2107 vector data transfer instructions.
2108 (arm_record_coproc_data_proc): Updated.
2109
2110 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2111
2112 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
2113 arm_record_exreg_ld_st_insn.
2114 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
2115 load/store insns.
2116
2117 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2118
2119 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
2120 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
2121 processing instructions.
2122
2123 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2124
2125 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
2126 for advance SIMD struct ld/st insn.
2127 (thumb2_record_decode_insn_handler): Replace stub handler with
2128 thumb2_record_asimd_struct_ld_st.
2129
2130 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2131
2132 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
2133 for asimd, vfp and coprocessor insns.
2134 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
2135 and coprocessor insns.
2136 (thumb2_record_coproc_insn): New function.
2137 (thumb2_record_decode_insn_handler): Update coprocessor insns record
2138 handlers.
2139 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
2140 opcode 110 insns.
2141
2142 2014-09-13 Doug Evans <xdje42@gmail.com>
2143
2144 * NEWS: Mention new "queue-signal" command.
2145 * infcmd.c (queue_signal_command): New function.
2146 (_initialize_infcmd): Add new queue-signal command.
2147
2148 2014-09-13 Doug Evans <xdje42@gmail.com>
2149
2150 * linux-nat.c (wait_lwp): Add debugging printf.
2151 (linux_nat_wait_1): Ditto.
2152
2153 2014-09-12 Pedro Alves <palves@redhat.com>
2154
2155 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
2156 (create_and_insert_solib_event_breakpoint): New functions.
2157 * breakpoint.h (create_and_insert_solib_event_breakpoint)
2158 (remove_solib_event_breakpoints_at_next_stop): New declarations.
2159 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
2160 (remove_dbx_link_breakpoint): Delete function.
2161 (insert_dbx_link_bpt_in_file): Use
2162 create_and_insert_solib_event_breakpoint instead of
2163 deprecated_insert_raw_breakpoint.
2164 (procfs_wait): Don't check whether we hit __dbx_link here.
2165 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
2166 here.
2167 * solib-irix.c (base_breakpoint): Delete global.
2168 (disable_break): Delete function.
2169 (enable_break): Use create_solib_event_breakpoint
2170 instead of deprecated_insert_raw_breakpoint.
2171 (irix_solib_handle_event): New function.
2172 (irix_solib_create_inferior_hook): Don't run the target or disable
2173 the mapping-complete breakpoint here.
2174 (_initialize_irix_solib): Install irix_solib_handle_event as
2175 so_ops->handle_event hook.
2176
2177 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2178 Ulrich Weigand  <uweigand@de.ibm.com>
2179
2180 PR tdep/17379
2181 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
2182 instead of read_memory_unsigned_integer.
2183
2184 2014-09-12 Gary Benson <gbenson@redhat.com>
2185
2186 * nat/linux-waitpid.c: Include common-defs.h.
2187 [GDBSERVER]: Add FIXME comment.
2188 [!GDBSERVER]: Don't include defs.h or signal.h.
2189 (linux_debug) [!GDBSERVER]: Remove empty block.
2190
2191 2014-09-12 Gary Benson <gbenson@redhat.com>
2192
2193 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
2194 Don't include defs.h or server.h.
2195
2196 2014-09-12 Gary Benson <gbenson@redhat.com>
2197
2198 * nat/linux-btrace.c: Include common-defs.h.
2199 Don't include defs.h, server.h or gdbthread.h.
2200 * nat/linux-btrace.h (struct target_ops): New forward declaration.
2201
2202 2014-09-12 Gary Benson <gbenson@redhat.com>
2203
2204 * common/agent.c: Include common-defs.h.
2205 Don't include defs.h or server.h.
2206 * common/buffer.c: Likewise.
2207 * common/common-debug.c: Likewise.
2208 * common/common-utils.c: Likewise.
2209 * common/errors.c: Likewise.
2210 * common/filestuff.c: Likewise.
2211 * common/format.c: Likewise.
2212 * common/gdb_vecs.c: Likewise.
2213 * common/print-utils.c: Likewise.
2214 * common/ptid.c: Likewise.
2215 * common/rsp-low.c: Likewise.
2216 * common/signals.c: Likewise.
2217 * common/vec.c: Likewise.
2218 * common/xml-utils.c: Likewise.
2219 * nat/linux-osdata.c: Likewise.
2220 * nat/linux-procfs.c: Likewise.
2221 * nat/linux-ptrace.c: Likewise.
2222 * nat/mips-linux-watch.c: Likewise.
2223 * target/waitstatus.c: Likewise.
2224
2225 2014-09-12 Tom Tromey <tromey@redhat.com>
2226 Gary Benson <gbenson@redhat.com>
2227
2228 * common/common-regcache.h: New file.
2229 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
2230 * regcache.h: Include common-regcache.h.
2231 (regcache_read_pc): Don't declare.
2232 * regcache.c (get_thread_regcache_for_ptid): New function.
2233 * nat/linux-btrace.c: Don't include regcache.h.
2234 Include common-regcache.h.
2235 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
2236
2237 2014-09-11 Thomas Schwinge <thomas@codesourcery.com>
2238
2239 * regcache.h (struct regset): Declare.
2240
2241 2014-09-11 Pedro Alves <palves@redhat.com>
2242
2243 PR gdb/17347
2244 * main.c: Include "infrun.h".
2245 (catch_command_errors, catch_command_errors_const): Wait for the
2246 foreground command to complete.
2247 * top.c (maybe_wait_sync_command_done): New function, factored out
2248 from ...
2249 (maybe_wait_sync_command_done): ... here.
2250 * top.h (maybe_wait_sync_command_done): New declaration.
2251
2252 2014-09-11 Tom Tromey <tromey@redhat.com>
2253 Gary Benson <gbenson@redhat.com>
2254
2255 * common/symbol.h: New file.
2256 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
2257 * minsyms.c (find_minimal_symbol_address): New function.
2258 * common/agent.c: Include common/symbol.h.
2259 [!GDBSERVER]: Don't include objfiles.h.
2260 (agent_look_up_symbols): Use find_minimal_symbol_address.
2261
2262 2014-09-11 Gary Benson <gbenson@redhat.com>
2263
2264 * target/target.h (target_stop_ptid, target_continue_ptid):
2265 Declare.
2266 * target.c (target_stop_ptid, target_continue_ptid): New
2267 functions.
2268 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
2269 (agent_run_command): Always use target_stop_ptid and
2270 target_continue_ptid.
2271
2272 2014-09-11 Tom Tromey <tromey@redhat.com>
2273 Gary Benson <gbenson@redhat.com>
2274
2275 * target/target.h: New file.
2276 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
2277 * target.h: Include target/target.h.
2278 (target_read_memory, target_write_memory): Don't declare.
2279 * target.c (target_read_uint32): New function.
2280 * common/agent.c: Include target/target.h.
2281 [!GDBSERVER]: Don't include target.h.
2282 (helper_thread_id): Type changed to uint32_t.
2283 (agent_get_helper_thread_id): Use target_read_uint32.
2284 (agent_run_command): Always use target_read_memory and
2285 target_write_memory.
2286 (agent_capability): Type changed to uint32_t.
2287 (agent_capability_check): Use target_read_uint32.
2288
2289 2014-09-11 Gary Benson <gbenson@redhat.com>
2290
2291 * common/common-debug.h (show_debug_regs): Declare.
2292 * common/common-debug.c (show_debug_regs): Define.
2293 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
2294 all uses with show_debug_regs. Replace all uses that considered
2295 debug_hw_points as a multi-value integer with straight boolean
2296 uses.
2297 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
2298 with show_debug_regs.
2299 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
2300 all uses with show_debug_regs.
2301 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
2302 uses with show_debug_regs.
2303
2304 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2305
2306 * findvar.c (address_from_register): Handle targets requiring
2307 a special conversion routine even for plain pointer types.
2308
2309 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2310
2311 * rs6000-nat.c (exec_one_dummy_insn): Remove.
2312 (store_register): Do not call exec_one_dummy_insn.
2313
2314 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2315
2316 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
2317 dereference it first. Use value_enclosing_type instead of
2318 value_type.
2319 (ada_array_length): Likewise.
2320
2321 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2322
2323 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
2324 Adjust function implementation and documentation accordingly.
2325 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
2326 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
2327 Update call to ada_value_ptr_subscript.
2328
2329 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2330
2331 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
2332 instead of VAL's type.
2333
2334 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2335
2336 * amd64-linux-nat.c: Add <sys/uio.h> #include.
2337
2338 2014-09-09 Doug Evans <xdje42@gmail.com>
2339
2340 PR guile/17367
2341 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
2342 last parameter to pkg-config, not first.
2343 * configure.ac: Pass --with-guile provided pkg-config path to
2344 GDB_GUILE_PROGRAM_NAMES.
2345 * configure: Regenerate.
2346
2347 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
2348
2349 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
2350 Bertazi".
2351
2352 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2353
2354 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
2355 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
2356 the list of sections determining GDB_OSABI_IRIX.
2357
2358 2014-09-09 James Hogan <james.hogan@imgtec.com>
2359
2360 * MAINTAINERS (Write After Approval): Add "James Hogan".
2361
2362 2014-09-09 James Hogan <james.hogan@imgtec.com>
2363
2364 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
2365
2366 2014-09-09 Joel Brobecker <brobecker@adacore.com>
2367
2368 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
2369
2370 2014-09-08 Doug Evans <xdje42@gmail.com>
2371
2372 PR 17247
2373 * guile.c: #include <signal.h>.
2374 (_initialize_guile): Block SIGCHLD while initializing Guile.
2375
2376 Replaces the following, which is reverted.
2377
2378 2014-07-26 Doug Evans <xdje42@gmail.com>
2379
2380 PR 17185
2381 * configure.ac: Add check for header gc/gc.h.
2382 Add check for function setenv.
2383 * configure: Regenerate.
2384 * config.in: Regenerate.
2385 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2386
2387 2014-09-08 Doug Evans <xdje42@gmail.com>
2388
2389 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
2390 with named constant. Fix style of pointer comparison.
2391 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
2392
2393 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2394
2395 PR gdb/17035
2396 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
2397 decide whether we display the command on "show user".
2398 * cli/cli-script.c (show_user_1): Only verify cmdlines after
2399 printing command name.
2400 * cli/cli-decode.h (cli_user_command_p): Declare new function.
2401 * cli/cli-decode.c (cli_user_command_p): Create helper function
2402 to verify whether cmd_list_element is a user-defined command.
2403
2404 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2405
2406 PR python/17355
2407 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
2408 Fix goto out of TRY_CATCH.
2409
2410 2014-09-06 Doug Evans <xdje42@gmail.com>
2411 Tom Tromey <tromey@redhat.com>
2412
2413 PR 15276
2414 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
2415 $_any_caller_matches.
2416 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
2417 * python/lib/gdb/function/caller_is.py: New file.
2418
2419 2014-09-06 Doug Evans <xdje42@gmail.com>
2420
2421 * infcmd.c (program_info): Fix typo.
2422
2423 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2424
2425 PR gdb/17235
2426 * stap-probe.c (stap_parse_single_operand): Delete unused variable
2427 'number'. New variable 'has_digit'. Rewrite code to deal with
2428 subexpressions on SDT probes.
2429
2430 2014-09-04 Pedro Alves <palves@redhat.com>
2431
2432 * c-exp.y (parse_number): Skip handling base-switching prefixes if
2433 the input is only one character long.
2434
2435 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2436
2437 PR fortran/17237
2438 * f-valprint.c (f_val_print): Specify the correct print option to
2439 use when printing integer values.
2440
2441 2014-09-04 Gary Benson <gbenson@redhat.com>
2442
2443 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
2444 Remove code to cope with LWPs wrapped as PIDs.
2445 Add assertions to ensure no wrapped LWPs are passed.
2446
2447 2014-09-04 Pedro Alves <palves@redhat.com>
2448
2449 * value.c (value_ranges_copy_adjusted): New function, factored out
2450 from ...
2451 (value_contents_copy_raw): ... here.
2452 (unpack_value_bits_as_long_1): Rename back to ...
2453 (unpack_bits_as_long): ... this. Remove 'original_value' and
2454 'result' parameters. Change return type to LONGEST.
2455 (unpack_value_bits_as_long): Delete.
2456 (unpack_value_field_as_long_1): Delete.
2457 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
2458 (unpack_value_bitfield): New function.
2459 (value_field_bitfield): Reimplement using unpack_value_bitfield.
2460 (value_fetch_lazy): Use unpack_value_bitfield.
2461 * value.h (unpack_value_bits_as_long): Delete declaration.
2462
2463 2014-09-03 Sasha Smundak <asmundak@google.com>
2464
2465 * python/py-frame.c (frapy_read_register): New function.
2466
2467 2014-09-03 James Hogan <james.hogan@imgtec.com>
2468
2469 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
2470 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
2471
2472 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2473
2474 PR python/16699
2475 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
2476 function.
2477 (add_cmd): Set "completer_handle_brkchars" to NULL.
2478 * cli/cli-decode.h (struct cmd_list_element)
2479 <completer_handle_brkchars>: New field.
2480 * command.h (completer_ftype_void): New typedef.
2481 (set_cmd_completer_handle_brkchars): New prototype.
2482 * completer.c (set_gdb_completion_word_break_characters): New
2483 function.
2484 (complete_line_internal): Call "completer_handle_brkchars"
2485 callback from command.
2486 * completer.h: Include "command.h".
2487 (set_gdb_completion_word_break_characters): New prototype.
2488 * python/py-cmd.c (cmdpy_completer_helper): New function.
2489 (cmdpy_completer_handle_brkchars): New function.
2490 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
2491 (cmdpy_init): Set completer_handle_brkchars to
2492 cmdpy_completer_handle_brkchars.
2493
2494 2014-09-03 Gary Benson <gbenson@redhat.com>
2495
2496 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
2497 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
2498 Loop conditions changed to equivalent form.
2499 (struct x86_debug_reg_state): Updated dr_ref_count comment.
2500 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
2501 ALL_DEBUG_ADDRESS_REGISTERS.
2502
2503 2014-09-03 Joel Brobecker <brobecker@adacore.com>
2504
2505 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
2506 description fix.
2507
2508 2014-09-02 Doug Evans <dje@google.com>
2509
2510 * typeprint.c (find_global_typedef): Fix comment.
2511
2512 2014-09-02 Gary Benson <gbenson@redhat.com>
2513
2514 * i386-nat.h: Renamed as...
2515 * x86-nat.h: New file. All type, function and variable name
2516 prefixes changed from "i386_" to "x86_". All references updated.
2517 * i386-nat.c: Renamed as...
2518 * x86-nat.c: New file. All type, function and variable name
2519 prefixes changed from "i386_" to "x86_". All references updated.
2520 * common/i386-xstate.h: Renamed as...
2521 * common/x86-xstate.h: New file. All type, function and variable
2522 name prefixes changed from "i386_" to "x86_". All references
2523 updated.
2524 * nat/i386-cpuid.h: Renamed as...
2525 * nat/x86-cpuid.h: New file. All type, function and variable name
2526 prefixes changed from "i386_" to "x86_". All references updated.
2527 * nat/i386-gcc-cpuid.h: Renamed as...
2528 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
2529 name prefixes changed from "i386_" to "x86_". All references
2530 updated.
2531 * nat/i386-dregs.h: Renamed as...
2532 * nat/x86-dregs.h: New file. All type, function and variable name
2533 prefixes changed from "i386_" to "x86_". All references updated.
2534 * nat/i386-dregs.c: Renamed as...
2535 * nat/x86-dregs.c: New file. All type, function and variable name
2536 prefixes changed from "i386_" to "x86_". All references updated.
2537
2538 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
2539
2540 * varobj.c (_initialize_varobj): Move to the end of file.
2541
2542 2014-08-29 Gary Benson <gbenson@redhat.com>
2543
2544 * common/common-exceptions.h: New file.
2545 * common/common-exceptions.c: Likewise.
2546 * Makefile.in (SFILES): Add common/common-exceptions.c.
2547 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
2548 (COMMON_OBS): Add common-exceptions.o.
2549 (common-exceptions.o): New rule.
2550 * exceptions.h (common-exceptions.h): Include.
2551 (gdb_setjmp.h): Do not include.
2552 (return_reason): Moved to common-exceptions.h.
2553 (enum return_reason): Likewise.
2554 (RETURN_MASK): Likewise.
2555 (typedef return_mask): Likewise.
2556 (enum errors): Likewise.
2557 (struct gdb_exception): Likewise.
2558 (exceptions_state_mc_init): Likewise.
2559 (exceptions_state_mc_action_iter): Likewise.
2560 (exceptions_state_mc_action_iter_1): Likewise.
2561 (TRY_CATCH): Likewise.
2562 (throw_exception): Likewise.
2563 (throw_verror): Likewise.
2564 (throw_vquit): Likewise.
2565 (throw_error): Likewise.
2566 (throw_quit): Likewise.
2567 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
2568 (enum catcher_action): Likewise.
2569 (struct catcher): Likewise.
2570 (current_catcher): Likewise.
2571 (catcher_list_size): Likewise.
2572 (exceptions_state_mc_init): Likewise.
2573 (catcher_pop): Likewise.
2574 (exceptions_state_mc): Likewise.
2575 (exceptions_state_mc_action_iter): Likewise.
2576 (exceptions_state_mc_action_iter_1): Likewise.
2577 (throw_exception): Likewise.
2578 (exception_messages): Likewise.
2579 (exception_messages_size): Likewise.
2580 (throw_it): Likewise.
2581 (throw_verror): Likewise.
2582 (throw_vquit): Likewise.
2583 (throw_error): Likewise.
2584 (throw_quit): Likewise.
2585 (prepare_to_throw_exception): New function.
2586
2587 2014-08-29 Gary Benson <gbenson@redhat.com>
2588
2589 * common/gdb_setjmp.h: New file.
2590 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
2591 * configure.ac: Move sigsetjmp check...
2592 * common/common.m4: ...here.
2593 * configure: Regenerate.
2594 * cp-support.c (SIGJMP_BUF): Delete.
2595 (SIGSETJMP): Likewise.
2596 (SIGLONGJMP): Likewise.
2597 * exceptions.h (gdb_setjmp.h): Include.
2598 (setjmp.h): Do not include.
2599 (EXCEPTIONS_SIGJMP_BUF): Delete.
2600 (EXCEPTIONS_SIGSETJMP): Likewise.
2601 (EXCEPTIONS_SIGLONGJMP): Likewise.
2602 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
2603 from gdb_setjmp.h.
2604 * exceptions.c: Likewise.
2605
2606 2014-08-29 Gary Benson <gbenson@redhat.com>
2607
2608 * cleanups.h: Moved to...
2609 * common/cleanups.h: New file.
2610 * cleanups.c: Moved to...
2611 * common/cleanups.c: New file. Include common-defs.h and
2612 cleanups.h. Do not include defs.h.
2613 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
2614 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
2615 (cleanups.o): New rule.
2616
2617 2014-08-29 Gary Benson <gbenson@redhat.com>
2618
2619 * common/errors.h (internal_warning): New declaration.
2620 (internal_vwarning): Likewise.
2621 * common/errors.c (internal_warning): New function.
2622 * utils.h (internal_warning): Don't declare.
2623 (internal_vwarning): Likewise.
2624 * utils.c (internal_warning): Removed.
2625
2626 2014-08-29 Gary Benson <gbenson@redhat.com>
2627
2628 * main.c (captured_main): Use warning during startup.
2629 Prefix startup warning messages with command name.
2630
2631 2014-08-29 Gary Benson <gbenson@redhat.com>
2632
2633 * main.c (captured_main): Handle usage errors with error.
2634
2635 2014-08-29 Gary Benson <gbenson@redhat.com>
2636
2637 * go32-nat.c (go32_create_inferior): Replace a fprintf/
2638 exit pair with a call to error. Wrap the message with _().
2639
2640 2014-08-29 Gary Benson <gbenson@redhat.com>
2641
2642 * main.c (captured_main): Replace a fprintf/exit
2643 pair with a call to error. Wrap the message with _().
2644
2645 2014-08-29 Gary Benson <gbenson@redhat.com>
2646
2647 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
2648 pairs with calls to error. Wrap the message with _().
2649
2650 2014-08-29 Gary Benson <gbenson@redhat.com>
2651
2652 * utils.c (vwarning): Protect calls to target_terminal_ours
2653 and wrap_here.
2654
2655 2014-08-29 Gary Benson <gbenson@redhat.com>
2656
2657 * exceptions.c (print_flush): Protect calls to
2658 target_terminal_ours and wrap_here.
2659
2660 2014-08-29 Gary Benson <gbenson@redhat.com>
2661
2662 * utils.h (filtered_printing_initialized): New declaration.
2663 * utils.c (abort_with_message): New function.
2664 (internal_vproblem): Use abort_with_message for first level
2665 recursive internal problems, and if gdb_stderr is not set up.
2666 Protect calls to target_terminal_ours, begin_line and query.
2667
2668 2014-08-28 Doug Evans <dje@google.com>
2669
2670 * symtab.c (in_prologue): Move definition to better spot.
2671 (skip_prologue_using_sal): Ditto.
2672
2673 2014-08-28 Doug Evans <dje@google.com>
2674
2675 * symtab.c (find_function_start_sal): Move definition to better spot.
2676
2677 2014-08-28 Yao Qi <yao@codesourcery.com>
2678
2679 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
2680 found_stack_adjust in forward scan. Remove condition check
2681 on found_stack_adjust which is always true. Indent the code.
2682
2683 2014-08-28 Yao Qi <yao@codesourcery.com>
2684
2685 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2686 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
2687 (dwarf_decode_lines): Remove argument
2688 want_line_info. Remove condition check on want_line_info.
2689 Callers update.
2690
2691 2014-08-27 Doug Evans <dje@google.com>
2692
2693 * dwarf2read.c (dwarf_record_line): Fix typo.
2694
2695 2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
2696
2697 * target.h (struct target_ops::to_terminal_save_ours): Remove
2698 declaration.
2699 (target_terminal_save_ours): Remove macro.
2700 * target-delegates.c: Regenerate.
2701 * inf-child.c (inf_child_target): Don't set the nonexistent
2702 field to_terminal_save_ours.
2703 * inferior.h (child_terminal_save_ours): Remove declaration.
2704 * terminal.h (gdb_save_tty_state): New declaration.
2705 * inflow.c (child_terminal_save_ours): Rename to ...
2706 (gdb_save_tty_state): ... this.
2707 * tui/tui.c: Include terminal.h.
2708 (tui_enable): Use gdb_save_tty_state instead of
2709 target_terminal_save_ours.
2710 (tui_disable): Likewise.
2711
2712 2014-08-25 Doug Evans <dje@google.com>
2713
2714 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
2715 Pass NULL instead of 0 for context pointer.
2716
2717 2014-08-25 Yao Qi <yao@codesourcery.com>
2718
2719 * dwarf2read.c: Fix grammatical error.
2720
2721 2014-08-24 Yao Qi <yao@codesourcery.com>
2722
2723 * dwarf2read.c (scan_partial_symbols): Update comments.
2724 Rename argument 'need_pc' with 'set_addrmap'.
2725 (add_partial_namespace): Rename argument 'need_pc' with
2726 'set_addrmap'.
2727 (add_partial_module): Likewise.
2728 (add_partial_subprogram): Likewise. Update comments.
2729 (dwarf2_name): Fix typo.
2730
2731 2014-08-22 Doug Evans <dje@google.com>
2732
2733 PR 17276
2734 * dwarf2read.c (dwarf_record_line_p): New function.
2735 (dwarf_decode_lines_1): Ignore subsequent line number entries
2736 for the same line if any entry had a non-zero discriminator.
2737
2738 2014-08-22 Doug Evans <dje@google.com>
2739
2740 * buildsym.h (record_line_ftype): New typedef.
2741 (record_line): Use it.
2742 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
2743 (dwarf_decode_lines_1): Call them.
2744
2745 2014-08-22 Yao Qi <yao@codesourcery.com>
2746
2747 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
2748 (ctf_end): Remove code.
2749
2750 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2751
2752 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
2753 (linux_make_corefile_notes): call update_thread_list, protected against
2754 exceptions.
2755
2756 2014-08-21 Pedro Alves <palves@redhat.com>
2757
2758 * infcmd.c (attach_command): Remove comment.
2759
2760 2014-08-21 Bin Cheng <bin.cheng@arm.com>
2761
2762 * aarch64-linux-nat.c (dr_changed_t): Change the type from
2763 unsigned LONGEST to ULONGEST.
2764
2765 2014-08-20 Pedro Alves <palves@redhat.com>
2766
2767 * Makefile.in (check-read1): New rule.
2768
2769 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2770
2771 * value.c (value_from_contents_and_address): Strip resolved_type's
2772 typedef layers before checking its TYPE_DATA_LOCATION.
2773
2774 2014-08-20 Pedro Alves <palves@redhat.com>
2775
2776 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
2777
2778 2014-08-20 Yao Qi <yao@codesourcery.com>
2779
2780 * amd64-tdep.c (amd64_classify): Add a blank line after the
2781 example. Move "*/" to a new line.
2782 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
2783 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
2784 * dwarf2read.c (psymtab_include_file_name): Likewise.
2785
2786 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2787 Pedro Alves <palves@redhat.com>
2788
2789 PR symtab/14604
2790 PR symtab/14605
2791 * ada-lang.c (coerce_unspec_val_to_type): Use
2792 value_contents_copy_raw.
2793 * ada-valprint.c (val_print_packed_array_elements): Adjust.
2794 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
2795 * cp-valprint.c (cp_print_value_fields): Let the common printing
2796 code handle optimized out values.
2797 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
2798 * d-valprint.c (dynamic_array_type): Use
2799 value_bits_any_optimized_out.
2800 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
2801 check_any_valid fields.
2802 (check_pieced_value_bits): Delete and inline ...
2803 (check_pieced_synthetic_pointer): ... here.
2804 (check_pieced_value_validity): Delete.
2805 (check_pieced_value_invalid): Delete.
2806 (pieced_value_funcs): Remove check_validity and check_any_valid
2807 fields.
2808 (read_pieced_value): Use mark_value_bits_optimized_out.
2809 (write_pieced_value): Switch to use
2810 mark_value_bytes_optimized_out.
2811 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
2812 of assuming the whole value is optimized out.
2813 * findvar.c (read_frame_register_value): Remove special handling
2814 of optimized out registers.
2815 (value_from_register): Use mark_value_bytes_optimized_out.
2816 * frame-unwind.c (frame_unwind_got_optimized): Use
2817 mark_value_bytes_optimized_out.
2818 * jv-valprint.c (java_value_print): Adjust.
2819 (java_print_value_fields): Let the common printing code handle
2820 optimized out values.
2821 * mips-tdep.c (mips_print_register): Remove special handling of
2822 optimized out registers.
2823 * opencl-lang.c (lval_func_check_validity): Delete.
2824 (lval_func_check_any_valid): Delete.
2825 (opencl_value_funcs): Remove check_validity and check_any_valid
2826 fields.
2827 * p-valprint.c (pascal_object_print_value_fields): Let the common
2828 printing code handle optimized out values.
2829 * stack.c (read_frame_arg): Remove special handling of optimized
2830 out values. Fetch both VAL and ENTRYVAL before comparing
2831 contents. Adjust to value_available_contents_eq rename.
2832 * valprint.c (valprint_check_validity)
2833 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
2834 (val_print_array_elements): Adjust.
2835 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
2836 (value_bits_any_optimized_out): New function.
2837 (value_entirely_covered_by_range_vector): New function, factored
2838 out from value_entirely_unavailable.
2839 (value_entirely_unavailable): Reimplement.
2840 (value_entirely_optimized_out): New function.
2841 (insert_into_bit_range_vector): New function, factored out from
2842 mark_value_bits_unavailable.
2843 (mark_value_bits_unavailable): Reimplement.
2844 (struct ranges_and_idx): New struct.
2845 (find_first_range_overlap_and_match): New function, factored out
2846 from value_available_contents_bits_eq.
2847 (value_available_contents_bits_eq): Rename to ...
2848 (value_contents_bits_eq): ... this. Check both unavailable
2849 contents and optimized out contents.
2850 (value_available_contents_eq): Rename to ...
2851 (value_contents_eq): ... this.
2852 (allocate_value_lazy): Remove reference to the old optimized_out
2853 boolean.
2854 (allocate_optimized_out_value): Use
2855 mark_value_bytes_optimized_out.
2856 (require_not_optimized_out): Adjust to check whether the
2857 optimized_out vec is empty.
2858 (ranges_copy_adjusted): New function, factored out from
2859 value_contents_copy_raw.
2860 (value_contents_copy_raw): Also copy the optimized out ranges.
2861 Assert the destination ranges aren't optimized out.
2862 (value_contents_copy): Update comment, remove call to
2863 require_not_optimized_out.
2864 (value_contents_equal): Adjust to check whether the optimized_out
2865 vec is empty.
2866 (set_value_optimized_out, value_optimized_out_const): Delete.
2867 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2868 New functions.
2869 (value_entirely_optimized_out, value_bits_valid): Delete.
2870 (value_copy): Take a VEC copy of the 'optimized_out' field.
2871 (value_primitive_field): Remove special handling of optimized out.
2872 (value_fetch_lazy): Assert that lazy values have no unavailable
2873 regions. Use value_bits_any_optimized_out. Remove some special
2874 handling for optimized out values.
2875 * value.h: Add intro comment about <optimized out> and
2876 <unavailable>.
2877 (struct lval_funcs): Remove check_validity and check_any_valid
2878 fields.
2879 (set_value_optimized_out, value_optimized_out_const): Remove.
2880 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2881 New declarations.
2882 (value_bits_any_optimized_out): New declaration.
2883 (value_bits_valid): Delete declaration.
2884 (value_available_contents_eq): Rename to ...
2885 (value_contents_eq): ... this, and extend comments.
2886
2887 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2888
2889 Fix -fsanitize=address on unreadable inferior strings.
2890 * valprint.c (val_print_string): Fix access before BUFFER.
2891
2892 2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
2893
2894 * target.c (target_struct_size): Remove.
2895 (target_struct_allocsize): Remove.
2896 (DEFAULT_ALLOCSIZE): Remove.
2897 (target_ops_p): New typedef.
2898 (DEF_VEC_P (target_ops_p)): New vector type.
2899 (target_structs): Change type to VEC (target_ops_p).
2900 (add_target_with_completer): Replace "push" code by VEC_safe_push.
2901 (find_default_run_target): Rewrite for loop following changes to
2902 target_structs.
2903
2904 2014-08-19 Joel Brobecker <brobecker@adacore.com>
2905
2906 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
2907 Adjust code accordingly. Adjust function description comment.
2908
2909 2014-08-19 Yao Qi <yao@codesourcery.com>
2910
2911 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
2912 types.
2913
2914 2014-08-19 Alan Modra <amodra@gmail.com>
2915
2916 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
2917 * config.in: Regenerate.
2918 * configure: Regenerate.
2919
2920 2014-08-19 Tom Tromey <tromey@redhat.com>
2921 Gary Benson <gbenson@redhat.com>
2922
2923 * common/common-debug.h: New file.
2924 * common/common-debug.c: Likewise.
2925 * debug.c: Likewise.
2926 * Makefile.in (SFILES): Add common/common-debug.c.
2927 (HFILES_NO_SRCDIR): Add common/common-debug.h.
2928 (COMMON_OBS): Add common-debug.o and debug.o.
2929 (common-debug.o): New rule.
2930 * common/common-defs.h: Include common-debug.h.
2931 * common/agent.c (debug_agent_printf): New function.
2932 (DEBUG_AGENT): Redefine.
2933 * nat/i386-dregs.c (debug_printf): Undefine.
2934
2935 2014-08-19 Gary Benson <gbenson@redhat.com>
2936
2937 * common/common-defs.h: Include print-utils.h.
2938 * utils.h: Do not include print-utils.h.
2939
2940 2014-08-19 Tom Tromey <tromey@redhat.com>
2941 Gary Benson <gbenson@redhat.com>
2942
2943 * common/common-types.h: New file.
2944 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
2945 * common/common-defs.h: Include common-types.h.
2946 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
2947 (ULONGEST): Remove.
2948
2949 2014-08-19 Tom Tromey <tromey@redhat.com>
2950 Gary Benson <gbenson@redhat.com>
2951
2952 * common/errors.h: New file.
2953 * common/errors.c: Likewise.
2954 * Makefile.in (SFILES): Add common/errors.c.
2955 (HFILES_NO_SRCDIR): Add common/errors.h.
2956 (COMMON_OBS): Add errors.o.
2957 (errors.o): New rule.
2958 * common/common-defs.h: Include errors.h.
2959 * utils.h (perror_with_name, error, verror, warning, vwarning):
2960 Don't declare.
2961 * common/common-utils.h: (malloc_failure, internal_error):
2962 Likewise.
2963
2964 2014-08-19 Gary Benson <gbenson@redhat.com>
2965
2966 * utils.c (internal_vproblem): Always print the message.
2967
2968 2014-08-18 Doug Evans <dje@google.com>
2969
2970 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
2971
2972 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2973
2974 * ada-typeprint.c (type_is_full_subrange_of_target_type):
2975 Return 0 if TYPE is dynamic.
2976 (print_range): Add handling of dynamic ranges.
2977
2978 2014-08-18 Keven Boell <keven.boell@intel.com>
2979 Joel Brobecker <brobecker@adacore.com>
2980
2981 * gdbtypes.h (struct main_type): Add field "data_location".
2982 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
2983 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
2984 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
2985 a dynamic data location.
2986 (resolve_dynamic_type): Add DW_AT_data_location handling.
2987 (copy_recursive, copy_type): Copy the data_location information
2988 when present.
2989 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
2990 * value.c (value_from_contents_and_address): Add
2991 DW_AT_data_location handling.
2992
2993 2014-08-18 Keven Boell <keven.boell@intel.com>
2994 Joel Brobecker <brobecker@adacore.com>
2995
2996 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
2997 field "get_object_address".
2998 * dwarf2expr.c (execute_stack_op): Add handling for
2999 DW_OP_push_object_address.
3000 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
3001 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
3002 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
3003 (dwarf_expr_get_obj_addr): New function.
3004 (dwarf_expr_ctx_funcs): Add get_object_address field.
3005 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
3006 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
3007 (dwarf2_evaluate_property): Add parameter "address". Use it.
3008 (needs_get_obj_addr): New function.
3009 (needs_frame_ctx_funcs): Add get_object_address field.
3010 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
3011 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
3012 (resolve_dynamic_array): Likewise.
3013
3014 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3015
3016 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
3017 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
3018 fixed value for records and unions for which some GNAT encodings
3019 are present.
3020
3021 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3022
3023 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
3024 rewrite to avoid "else if" and "else" constructs. Should be
3025 a no-op in practice.
3026
3027 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3028
3029 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
3030 of lexical block.
3031
3032 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3033
3034 PR c++/17132
3035 * eval.c: Update all calls to find_overload_match.
3036 * valarith.c: Likewise.
3037 (value_user_defined_cpp_op, value_user_defined_op): New
3038 argument NOSIDE. Update all callers.
3039 * valops.c (find_overload_match): New argument NOSIDE.
3040 * value.h (find_overload_match): Update signature.
3041
3042 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3043
3044 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
3045 'items' methods instead of 'iteritems' method on dictionaries.
3046
3047 2014-08-15 Doug Evans <dje@google.com>
3048
3049 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
3050 closer to use.
3051
3052 2014-08-15 Doug Evans <dje@google.com>
3053
3054 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
3055
3056 2014-08-15 Doug Evans <dje@google.com>
3057
3058 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
3059
3060 2014-08-15 Doug Evans <dje@google.com>
3061
3062 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
3063 unused.
3064
3065 2014-08-15 Eli Zaretskii <eliz@gnu.org>
3066
3067 * dcache.h: Include target.h, to avoid compile time warnings.
3068
3069 2014-08-15 Joel Brobecker <brobecker@adacore.com>
3070
3071 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
3072 frame_info" partial declaration.
3073 * gdbarch.h: Regenerate.
3074
3075 2014-08-15 Yao Qi <yao@codesourcery.com>
3076
3077 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
3078 Add parameter 'decode_for_pst_p'. Callers update.
3079
3080 2014-08-13 Yao Qi <yao@codesourcery.com>
3081
3082 PR build/17104
3083 * configure.ac: Use local variable 'pos'.
3084 * configure: Regenerated.
3085
3086 2014-08-11 Doug Evans <dje@google.com>
3087
3088 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
3089 message, it is redundant with "Reading symbols from ..." message.
3090
3091 2014-08-10 Doug Evans <xdje42@gmail.com>
3092
3093 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
3094
3095 2014-08-09 Yao Qi <yao@codesourcery.com>
3096
3097 PR remote/9053
3098 * remote.c (remote_xfer_partial): Remove dead code.
3099
3100 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3101
3102 * ia64-linux-tdep.c: Include "regset.h".
3103 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
3104 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
3105 (ia64_linux_supply_fpregset): New function.
3106 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
3107 (ia64_linux_regset_from_core_section): New function.
3108 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
3109 method.
3110
3111 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3112
3113 * m68klinux-tdep.c: Include "regset.h".
3114 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
3115 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
3116 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
3117 (m68k_linux_regset_from_core_section): New function.
3118 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
3119 method.
3120
3121 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3122
3123 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
3124 function. Move logic to...
3125 (tilegx_linux_regmap): ... this new register map.
3126 (tilegx_linux_regset): Refer to register map, replace supply
3127 method by regcache_supply_regset, and add collect method.
3128 * tilegx-tdep.h (enum tilegx_regnum): New enum value
3129 TILEGX_FIRST_EASY_REGNUM.
3130
3131 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3132
3133 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
3134 that calls regcache_supply_regset and handles the EPC register
3135 separately. Move main logic to...
3136 (score7_linux_gregmap): ... this new register map.
3137 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
3138 (score7_linux_gregset): Refer to register map. Add collect method.
3139 (score7_linux_regset_from_core_section): Replace
3140 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
3141 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
3142 (struct regset): Delete unused forward declaraction.
3143 (struct pt_regs): Delete structure definition.
3144 (elf_gregset_t): Delete typedef.
3145
3146 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3147
3148 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
3149 (nios2_core_regset): Add collect method.
3150
3151 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3152
3153 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
3154 platform-independent and don't write to read-only input buffer.
3155 (m32r_linux_collect_gregset): New function.
3156 (m32r_linux_gregset): Add collect method.
3157
3158 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3159
3160 * hppa-linux-tdep.c (greg_map): Rename to...
3161 (hppa_linux_gregmap): ... this. Also convert to
3162 regcache_map_entry format.
3163 (hppa_linux_supply_regset): Delete function.
3164 (hppa_linux_supply_fpregset): Delete function. Move logic to...
3165 (hppa_linux_fpregmap): ... this new register map.
3166 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
3167 register map, replace supply method by regcache_supply_regset, and
3168 add collect method regcache_collect_regset.
3169
3170 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3171
3172 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
3173 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
3174 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
3175 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
3176 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
3177 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
3178 (frv_linux_supply_gregset): Replace main logic by call to
3179 regcache_supply_regset, but keep clearing gr32-gr63.
3180 (frv_linux_supply_fpregset): Delete function.
3181 (frv_linux_gregset): Refer to appropriate register map and add
3182 regcache_collect_regset as the collect method.
3183 (frv_linux_fpregset): Likewise. Also exchange the supply method
3184 by regcache_supply_regset.
3185
3186 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3187
3188 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
3189 by call to alpha_supply_int_regs.
3190 (alpha_linux_collect_gregset): New function.
3191 (alpha_linux_supply_fpregset): Replace logic by call to
3192 alpha_supply_fp_regs.
3193 (alpha_linux_collect_fpregset): New function.
3194 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
3195
3196 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3197
3198 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
3199 by call to regcache_collect_regset.
3200 (supply_gregset, supply_fpregset): Call regcache_supply_regset
3201 instead of aarch64_linux_supply_gregset/_fpregset.
3202 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
3203 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
3204 header file instead.
3205 (aarch64_linux_supply_gregset, supply_gregset_from_core)
3206 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
3207 functions. Move logic to ...
3208 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
3209 register maps.
3210 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
3211 refer to new register maps, replace *_regset_from_core by
3212 regcache_supply_regset, and also use regcache_collect_regset.
3213 * aarch64-linux-tdep.h: Include "regset.h".
3214 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
3215 Delete prototypes.
3216 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
3217 macros, moved from C source file.
3218 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
3219 variable declarations.
3220
3221 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3222
3223 * s390-linux-nat.c: Include "regset.h".
3224 (regmap_gregset): Delete macro.
3225 (s390_64_regmap_gregset): New register map for
3226 regcache_supply/_collect_regset.
3227 (s390_64_gregset): New regset.
3228 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
3229 (regmap_fpregset): Delete macro.
3230 (s390_native_supply, s390_native_collect): Delete functions.
3231 (supply_gregset, fill_gregset): Replace s390-specific regmap
3232 handling by a call to regcache_supply/_collect_regset.
3233 (supply_fpregset, fill_fpregset): Call regcache_supply/
3234 _collect_regset instead of s390_native_supply/_collect.
3235 (fetch_regset, store_regset): Likewise. Also change the last
3236 parameter to a regset instead of a regmap.
3237 (s390_linux_fetch_inferior_registers)
3238 (390_linux_store_inferior_registers): Adjust last parameter in
3239 calls to fetch_regset and store_regset.
3240 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
3241 (s390_gregmap): ... this. Also make static const and convert to
3242 regcache_map_entry format.
3243 (s390x_regmap_gregset): Delete.
3244 (s390_regmap_fpregset): Rename to...
3245 (s390_fpregmap): ... this. Make static const and convert to
3246 regcache_map_entry format.
3247 (s390_regmap_upper, s390_regmap_last_break)
3248 (s390x_regmap_last_break, s390_regmap_system_call)
3249 (s390_regmap_tdb): Likewise.
3250 (s390_supply_regset, s390_collect_regset): Remove functions.
3251 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
3252 s390_supply_regset.
3253 (s390_gregset, s390_fpregset, s390_upper_regset)
3254 (s390_last_break_regset, s390x_last_break_regset)
3255 (s390_system_call_regset, s390_tdb_regset): Make global and
3256 replace s390_supply/_collect_regset by regcache_supply/
3257 _collect_regset.
3258 (s390x_gregset): Delete.
3259 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
3260 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
3261 (s390_regmap_fpregset, s390_regmap_last_break)
3262 (s390x_regmap_last_break, s390_regmap_system_call)
3263 (s390_regmap_tdb): Delete global variable declarations.
3264 (s390_gregset, s390_fpregset, s390_last_break_regset)
3265 (s390x_last_break_regset, s390_system_call_regset)
3266 (s390_tdb_regset): New global variable declarations.
3267
3268 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3269
3270 * regcache.c: Include "regset.h".
3271 (regcache_transfer_regset): New local function.
3272 (regcache_supply_regset, regcache_collect_regset): New functions.
3273 * regcache.h (struct regcache_map_entry): New structure.
3274 (REGCACHE_MAP_SKIP): New enum value.
3275 (regcache_supply_regset, regcache_collect_regset): New prototypes.
3276
3277 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3278
3279 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
3280 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3281 (ppc_linux_collect_gregset ): Likewise.
3282 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
3283 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
3284 (ppc_collect_vrregset): Likewise.
3285 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
3286 Likewise.
3287
3288 2014-08-07 Yao Qi <yao@codesourcery.com>
3289
3290 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
3291 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
3292 * remote.c (remote_read_bytes): Likewise.
3293
3294 2014-08-07 Yao Qi <yao@codesourcery.com>
3295
3296 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
3297
3298 2014-08-07 Yao Qi <yao@codesourcery.com>
3299
3300 PR remote/17230
3301 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
3302 TARGET_XFER_OK instead of 0.
3303
3304 2014-08-07 Gary Benson <gbenson@redhat.com>
3305
3306 * common/common-defs.h: Include errno.h.
3307 * defs.h: Do not include errno.h.
3308 * ada-typeprint.c: Likewise.
3309 * c-typeprint.c: Likewise.
3310 * core-regset.c: Likewise.
3311 * corefile.c: Likewise.
3312 * corelow.c: Likewise.
3313 * event-loop.c: Likewise.
3314 * f-typeprint.c: Likewise.
3315 * gnu-nat.c: Likewise.
3316 * go32-nat.c: Likewise.
3317 * i386gnu-nat.c: Likewise.
3318 * m2-typeprint.c: Likewise.
3319 * nat/linux-btrace.c: Likewise.
3320 * p-typeprint.c: Likewise.
3321 * procfs.c: Likewise.
3322 * remote-sim.c: Likewise.
3323 * rs6000-nat.c: Likewise.
3324 * target.c: Likewise.
3325 * typeprint.c: Likewise.
3326 * ui-file.c: Likewise.
3327 * valops.c: Likewise.
3328 * valprint.c: Likewise.
3329
3330 2014-08-07 Gary Benson <gbenson@redhat.com>
3331
3332 * common/common-defs.h: Include string.h.
3333 * aarch64-tdep.c: Do not include string.h.
3334 * ada-exp.y: Likewise.
3335 * ada-lang.c: Likewise.
3336 * ada-lex.l: Likewise.
3337 * ada-typeprint.c: Likewise.
3338 * ada-valprint.c: Likewise.
3339 * aix-thread.c: Likewise.
3340 * alpha-linux-tdep.c: Likewise.
3341 * alpha-mdebug-tdep.c: Likewise.
3342 * alpha-nat.c: Likewise.
3343 * alpha-osf1-tdep.c: Likewise.
3344 * alpha-tdep.c: Likewise.
3345 * alphanbsd-tdep.c: Likewise.
3346 * amd64-dicos-tdep.c: Likewise.
3347 * amd64-linux-tdep.c: Likewise.
3348 * amd64-nat.c: Likewise.
3349 * amd64-sol2-tdep.c: Likewise.
3350 * amd64fbsd-tdep.c: Likewise.
3351 * amd64obsd-tdep.c: Likewise.
3352 * arch-utils.c: Likewise.
3353 * arm-linux-nat.c: Likewise.
3354 * arm-linux-tdep.c: Likewise.
3355 * arm-tdep.c: Likewise.
3356 * arm-wince-tdep.c: Likewise.
3357 * armbsd-tdep.c: Likewise.
3358 * armnbsd-nat.c: Likewise.
3359 * armnbsd-tdep.c: Likewise.
3360 * armobsd-tdep.c: Likewise.
3361 * avr-tdep.c: Likewise.
3362 * ax-gdb.c: Likewise.
3363 * ax-general.c: Likewise.
3364 * bcache.c: Likewise.
3365 * bfin-tdep.c: Likewise.
3366 * breakpoint.c: Likewise.
3367 * build-id.c: Likewise.
3368 * buildsym.c: Likewise.
3369 * c-exp.y: Likewise.
3370 * c-lang.c: Likewise.
3371 * c-typeprint.c: Likewise.
3372 * c-valprint.c: Likewise.
3373 * charset.c: Likewise.
3374 * cli-out.c: Likewise.
3375 * cli/cli-cmds.c: Likewise.
3376 * cli/cli-decode.c: Likewise.
3377 * cli/cli-dump.c: Likewise.
3378 * cli/cli-interp.c: Likewise.
3379 * cli/cli-logging.c: Likewise.
3380 * cli/cli-script.c: Likewise.
3381 * cli/cli-setshow.c: Likewise.
3382 * cli/cli-utils.c: Likewise.
3383 * coffread.c: Likewise.
3384 * common/agent.c: Likewise.
3385 * common/buffer.c: Likewise.
3386 * common/buffer.h: Likewise.
3387 * common/common-utils.c: Likewise.
3388 * common/filestuff.c: Likewise.
3389 * common/filestuff.c: Likewise.
3390 * common/format.c: Likewise.
3391 * common/print-utils.c: Likewise.
3392 * common/rsp-low.c: Likewise.
3393 * common/signals.c: Likewise.
3394 * common/vec.h: Likewise.
3395 * common/xml-utils.c: Likewise.
3396 * core-regset.c: Likewise.
3397 * corefile.c: Likewise.
3398 * corelow.c: Likewise.
3399 * cp-abi.c: Likewise.
3400 * cp-name-parser.y: Likewise.
3401 * cp-support.c: Likewise.
3402 * cp-valprint.c: Likewise.
3403 * cris-tdep.c: Likewise.
3404 * d-exp.y: Likewise.
3405 * darwin-nat.c: Likewise.
3406 * dbxread.c: Likewise.
3407 * dcache.c: Likewise.
3408 * demangle.c: Likewise.
3409 * dicos-tdep.c: Likewise.
3410 * disasm.c: Likewise.
3411 * doublest.c: Likewise.
3412 * dsrec.c: Likewise.
3413 * dummy-frame.c: Likewise.
3414 * dwarf2-frame.c: Likewise.
3415 * dwarf2loc.c: Likewise.
3416 * dwarf2read.c: Likewise.
3417 * elfread.c: Likewise.
3418 * environ.c: Likewise.
3419 * eval.c: Likewise.
3420 * event-loop.c: Likewise.
3421 * exceptions.c: Likewise.
3422 * exec.c: Likewise.
3423 * expprint.c: Likewise.
3424 * f-exp.y: Likewise.
3425 * f-lang.c: Likewise.
3426 * f-typeprint.c: Likewise.
3427 * f-valprint.c: Likewise.
3428 * fbsd-nat.c: Likewise.
3429 * findcmd.c: Likewise.
3430 * findvar.c: Likewise.
3431 * fork-child.c: Likewise.
3432 * frame.c: Likewise.
3433 * frv-linux-tdep.c: Likewise.
3434 * frv-tdep.c: Likewise.
3435 * gdb.c: Likewise.
3436 * gdb_bfd.c: Likewise.
3437 * gdbarch.c: Likewise.
3438 * gdbarch.sh: Likewise.
3439 * gdbtypes.c: Likewise.
3440 * gnu-nat.c: Likewise.
3441 * gnu-v2-abi.c: Likewise.
3442 * gnu-v3-abi.c: Likewise.
3443 * go-exp.y: Likewise.
3444 * go-lang.c: Likewise.
3445 * go32-nat.c: Likewise.
3446 * guile/guile.c: Likewise.
3447 * guile/scm-auto-load.c: Likewise.
3448 * hppa-hpux-tdep.c: Likewise.
3449 * hppa-linux-nat.c: Likewise.
3450 * hppanbsd-tdep.c: Likewise.
3451 * hppaobsd-tdep.c: Likewise.
3452 * i386-cygwin-tdep.c: Likewise.
3453 * i386-dicos-tdep.c: Likewise.
3454 * i386-linux-tdep.c: Likewise.
3455 * i386-nto-tdep.c: Likewise.
3456 * i386-sol2-tdep.c: Likewise.
3457 * i386-tdep.c: Likewise.
3458 * i386bsd-tdep.c: Likewise.
3459 * i386gnu-nat.c: Likewise.
3460 * i386nbsd-tdep.c: Likewise.
3461 * i386obsd-tdep.c: Likewise.
3462 * i387-tdep.c: Likewise.
3463 * ia64-libunwind-tdep.c: Likewise.
3464 * ia64-linux-nat.c: Likewise.
3465 * inf-child.c: Likewise.
3466 * inf-ptrace.c: Likewise.
3467 * inf-ttrace.c: Likewise.
3468 * infcall.c: Likewise.
3469 * infcmd.c: Likewise.
3470 * inflow.c: Likewise.
3471 * infrun.c: Likewise.
3472 * interps.c: Likewise.
3473 * iq2000-tdep.c: Likewise.
3474 * irix5-nat.c: Likewise.
3475 * jv-exp.y: Likewise.
3476 * jv-lang.c: Likewise.
3477 * jv-typeprint.c: Likewise.
3478 * jv-valprint.c: Likewise.
3479 * language.c: Likewise.
3480 * linux-fork.c: Likewise.
3481 * linux-nat.c: Likewise.
3482 * lm32-tdep.c: Likewise.
3483 * m2-exp.y: Likewise.
3484 * m2-typeprint.c: Likewise.
3485 * m32c-tdep.c: Likewise.
3486 * m32r-linux-nat.c: Likewise.
3487 * m32r-linux-tdep.c: Likewise.
3488 * m32r-rom.c: Likewise.
3489 * m32r-tdep.c: Likewise.
3490 * m68hc11-tdep.c: Likewise.
3491 * m68k-tdep.c: Likewise.
3492 * m68kbsd-tdep.c: Likewise.
3493 * m68klinux-nat.c: Likewise.
3494 * m68klinux-tdep.c: Likewise.
3495 * m88k-tdep.c: Likewise.
3496 * machoread.c: Likewise.
3497 * macrocmd.c: Likewise.
3498 * main.c: Likewise.
3499 * mdebugread.c: Likewise.
3500 * mem-break.c: Likewise.
3501 * memattr.c: Likewise.
3502 * memory-map.c: Likewise.
3503 * mep-tdep.c: Likewise.
3504 * mi/mi-cmd-break.c: Likewise.
3505 * mi/mi-cmd-disas.c: Likewise.
3506 * mi/mi-cmd-env.c: Likewise.
3507 * mi/mi-cmd-stack.c: Likewise.
3508 * mi/mi-cmd-var.c: Likewise.
3509 * mi/mi-cmds.c: Likewise.
3510 * mi/mi-console.c: Likewise.
3511 * mi/mi-getopt.c: Likewise.
3512 * mi/mi-interp.c: Likewise.
3513 * mi/mi-main.c: Likewise.
3514 * mi/mi-parse.c: Likewise.
3515 * microblaze-rom.c: Likewise.
3516 * microblaze-tdep.c: Likewise.
3517 * mingw-hdep.c: Likewise.
3518 * minidebug.c: Likewise.
3519 * minsyms.c: Likewise.
3520 * mips-irix-tdep.c: Likewise.
3521 * mips-linux-tdep.c: Likewise.
3522 * mips-tdep.c: Likewise.
3523 * mips64obsd-tdep.c: Likewise.
3524 * mipsnbsd-tdep.c: Likewise.
3525 * mipsread.c: Likewise.
3526 * mn10300-linux-tdep.c: Likewise.
3527 * mn10300-tdep.c: Likewise.
3528 * monitor.c: Likewise.
3529 * moxie-tdep.c: Likewise.
3530 * mt-tdep.c: Likewise.
3531 * nat/linux-btrace.c: Likewise.
3532 * nat/linux-osdata.c: Likewise.
3533 * nat/linux-procfs.c: Likewise.
3534 * nat/linux-ptrace.c: Likewise.
3535 * nat/linux-waitpid.c: Likewise.
3536 * nbsd-tdep.c: Likewise.
3537 * nios2-linux-tdep.c: Likewise.
3538 * nto-procfs.c: Likewise.
3539 * nto-tdep.c: Likewise.
3540 * objc-lang.c: Likewise.
3541 * objfiles.c: Likewise.
3542 * opencl-lang.c: Likewise.
3543 * osabi.c: Likewise.
3544 * osdata.c: Likewise.
3545 * p-exp.y: Likewise.
3546 * p-lang.c: Likewise.
3547 * p-typeprint.c: Likewise.
3548 * parse.c: Likewise.
3549 * posix-hdep.c: Likewise.
3550 * ppc-linux-nat.c: Likewise.
3551 * ppc-sysv-tdep.c: Likewise.
3552 * ppcfbsd-tdep.c: Likewise.
3553 * ppcnbsd-tdep.c: Likewise.
3554 * ppcobsd-tdep.c: Likewise.
3555 * printcmd.c: Likewise.
3556 * procfs.c: Likewise.
3557 * prologue-value.c: Likewise.
3558 * python/py-auto-load.c: Likewise.
3559 * python/py-gdb-readline.c: Likewise.
3560 * ravenscar-thread.c: Likewise.
3561 * regcache.c: Likewise.
3562 * registry.c: Likewise.
3563 * remote-fileio.c: Likewise.
3564 * remote-m32r-sdi.c: Likewise.
3565 * remote-mips.c: Likewise.
3566 * remote-notif.c: Likewise.
3567 * remote-sim.c: Likewise.
3568 * remote.c: Likewise.
3569 * reverse.c: Likewise.
3570 * rs6000-aix-tdep.c: Likewise.
3571 * ser-base.c: Likewise.
3572 * ser-go32.c: Likewise.
3573 * ser-mingw.c: Likewise.
3574 * ser-pipe.c: Likewise.
3575 * ser-tcp.c: Likewise.
3576 * ser-unix.c: Likewise.
3577 * serial.c: Likewise.
3578 * sh-tdep.c: Likewise.
3579 * sh64-tdep.c: Likewise.
3580 * shnbsd-tdep.c: Likewise.
3581 * skip.c: Likewise.
3582 * sol-thread.c: Likewise.
3583 * solib-dsbt.c: Likewise.
3584 * solib-frv.c: Likewise.
3585 * solib-osf.c: Likewise.
3586 * solib-som.c: Likewise.
3587 * solib-spu.c: Likewise.
3588 * solib-target.c: Likewise.
3589 * solib.c: Likewise.
3590 * somread.c: Likewise.
3591 * source.c: Likewise.
3592 * sparc-nat.c: Likewise.
3593 * sparc-sol2-tdep.c: Likewise.
3594 * sparc-tdep.c: Likewise.
3595 * sparc64-tdep.c: Likewise.
3596 * sparc64fbsd-tdep.c: Likewise.
3597 * sparc64nbsd-tdep.c: Likewise.
3598 * sparcnbsd-tdep.c: Likewise.
3599 * spu-linux-nat.c: Likewise.
3600 * spu-multiarch.c: Likewise.
3601 * spu-tdep.c: Likewise.
3602 * stabsread.c: Likewise.
3603 * stack.c: Likewise.
3604 * std-regs.c: Likewise.
3605 * symfile.c: Likewise.
3606 * symmisc.c: Likewise.
3607 * symtab.c: Likewise.
3608 * target.c: Likewise.
3609 * thread.c: Likewise.
3610 * tilegx-linux-nat.c: Likewise.
3611 * tilegx-tdep.c: Likewise.
3612 * top.c: Likewise.
3613 * tracepoint.c: Likewise.
3614 * tui/tui-command.c: Likewise.
3615 * tui/tui-data.c: Likewise.
3616 * tui/tui-disasm.c: Likewise.
3617 * tui/tui-file.c: Likewise.
3618 * tui/tui-layout.c: Likewise.
3619 * tui/tui-out.c: Likewise.
3620 * tui/tui-regs.c: Likewise.
3621 * tui/tui-source.c: Likewise.
3622 * tui/tui-stack.c: Likewise.
3623 * tui/tui-win.c: Likewise.
3624 * tui/tui-windata.c: Likewise.
3625 * tui/tui-winsource.c: Likewise.
3626 * typeprint.c: Likewise.
3627 * ui-file.c: Likewise.
3628 * ui-out.c: Likewise.
3629 * user-regs.c: Likewise.
3630 * utils.c: Likewise.
3631 * v850-tdep.c: Likewise.
3632 * valarith.c: Likewise.
3633 * valops.c: Likewise.
3634 * valprint.c: Likewise.
3635 * value.c: Likewise.
3636 * varobj.c: Likewise.
3637 * vax-tdep.c: Likewise.
3638 * vaxnbsd-tdep.c: Likewise.
3639 * vaxobsd-tdep.c: Likewise.
3640 * windows-nat.c: Likewise.
3641 * xcoffread.c: Likewise.
3642 * xml-support.c: Likewise.
3643 * xstormy16-tdep.c: Likewise.
3644 * xtensa-linux-nat.c: Likewise.
3645
3646 2014-08-07 Gary Benson <gbenson@redhat.com>
3647
3648 * common/common-defs.h: Include gdb_assert.h.
3649 * aarch64-tdep.c: Do not include gdb_assert.h.
3650 * addrmap.c: Likewise.
3651 * aix-thread.c: Likewise.
3652 * alpha-linux-tdep.c: Likewise.
3653 * alpha-mdebug-tdep.c: Likewise.
3654 * alphanbsd-tdep.c: Likewise.
3655 * amd64-nat.c: Likewise.
3656 * amd64-tdep.c: Likewise.
3657 * amd64bsd-nat.c: Likewise.
3658 * amd64fbsd-nat.c: Likewise.
3659 * amd64fbsd-tdep.c: Likewise.
3660 * amd64nbsd-nat.c: Likewise.
3661 * amd64nbsd-tdep.c: Likewise.
3662 * amd64obsd-nat.c: Likewise.
3663 * amd64obsd-tdep.c: Likewise.
3664 * arch-utils.c: Likewise.
3665 * arm-tdep.c: Likewise.
3666 * armbsd-tdep.c: Likewise.
3667 * auxv.c: Likewise.
3668 * bcache.c: Likewise.
3669 * bfin-tdep.c: Likewise.
3670 * blockframe.c: Likewise.
3671 * breakpoint.c: Likewise.
3672 * bsd-kvm.c: Likewise.
3673 * bsd-uthread.c: Likewise.
3674 * buildsym.c: Likewise.
3675 * c-exp.y: Likewise.
3676 * c-lang.c: Likewise.
3677 * charset.c: Likewise.
3678 * cleanups.c: Likewise.
3679 * cli-out.c: Likewise.
3680 * cli/cli-decode.c: Likewise.
3681 * cli/cli-dump.c: Likewise.
3682 * cli/cli-logging.c: Likewise.
3683 * cli/cli-script.c: Likewise.
3684 * cli/cli-utils.c: Likewise.
3685 * coffread.c: Likewise.
3686 * common/common-utils.c: Likewise.
3687 * common/queue.h: Likewise.
3688 * common/signals.c: Likewise.
3689 * common/vec.h: Likewise.
3690 * complaints.c: Likewise.
3691 * completer.c: Likewise.
3692 * corelow.c: Likewise.
3693 * cp-abi.c: Likewise.
3694 * cp-name-parser.y: Likewise.
3695 * cp-namespace.c: Likewise.
3696 * cp-support.c: Likewise.
3697 * cris-tdep.c: Likewise.
3698 * dbxread.c: Likewise.
3699 * dictionary.c: Likewise.
3700 * doublest.c: Likewise.
3701 * dsrec.c: Likewise.
3702 * dummy-frame.c: Likewise.
3703 * dwarf2-frame-tailcall.c: Likewise.
3704 * dwarf2-frame.c: Likewise.
3705 * dwarf2expr.c: Likewise.
3706 * dwarf2loc.c: Likewise.
3707 * dwarf2read.c: Likewise.
3708 * eval.c: Likewise.
3709 * event-loop.c: Likewise.
3710 * exceptions.c: Likewise.
3711 * expprint.c: Likewise.
3712 * f-valprint.c: Likewise.
3713 * fbsd-nat.c: Likewise.
3714 * findvar.c: Likewise.
3715 * frame-unwind.c: Likewise.
3716 * frame.c: Likewise.
3717 * frv-tdep.c: Likewise.
3718 * gcore.c: Likewise.
3719 * gdb-dlfcn.c: Likewise.
3720 * gdb_bfd.c: Likewise.
3721 * gdbarch.c: Likewise.
3722 * gdbarch.sh: Likewise.
3723 * gdbtypes.c: Likewise.
3724 * gnu-nat.c: Likewise.
3725 * gnu-v3-abi.c: Likewise.
3726 * go-lang.c: Likewise.
3727 * guile/scm-exception.c: Likewise.
3728 * guile/scm-gsmob.c: Likewise.
3729 * guile/scm-lazy-string.c: Likewise.
3730 * guile/scm-math.c: Likewise.
3731 * guile/scm-pretty-print.c: Likewise.
3732 * guile/scm-safe-call.c: Likewise.
3733 * guile/scm-utils.c: Likewise.
3734 * guile/scm-value.c: Likewise.
3735 * h8300-tdep.c: Likewise.
3736 * hppa-hpux-nat.c: Likewise.
3737 * hppa-tdep.c: Likewise.
3738 * hppanbsd-tdep.c: Likewise.
3739 * hppaobsd-tdep.c: Likewise.
3740 * i386-darwin-nat.c: Likewise.
3741 * i386-darwin-tdep.c: Likewise.
3742 * i386-nto-tdep.c: Likewise.
3743 * i386-tdep.c: Likewise.
3744 * i386bsd-nat.c: Likewise.
3745 * i386fbsd-tdep.c: Likewise.
3746 * i386gnu-nat.c: Likewise.
3747 * i386nbsd-tdep.c: Likewise.
3748 * i386obsd-tdep.c: Likewise.
3749 * i387-tdep.c: Likewise.
3750 * ia64-libunwind-tdep.c: Likewise.
3751 * ia64-tdep.c: Likewise.
3752 * inf-ptrace.c: Likewise.
3753 * inf-ttrace.c: Likewise.
3754 * infcall.c: Likewise.
3755 * infcmd.c: Likewise.
3756 * infrun.c: Likewise.
3757 * inline-frame.c: Likewise.
3758 * interps.c: Likewise.
3759 * jv-lang.c: Likewise.
3760 * jv-typeprint.c: Likewise.
3761 * linux-fork.c: Likewise.
3762 * linux-nat.c: Likewise.
3763 * linux-thread-db.c: Likewise.
3764 * m32c-tdep.c: Likewise.
3765 * m32r-linux-nat.c: Likewise.
3766 * m32r-tdep.c: Likewise.
3767 * m68k-tdep.c: Likewise.
3768 * m68kbsd-nat.c: Likewise.
3769 * m68kbsd-tdep.c: Likewise.
3770 * m88k-tdep.c: Likewise.
3771 * machoread.c: Likewise.
3772 * macroexp.c: Likewise.
3773 * macrotab.c: Likewise.
3774 * maint.c: Likewise.
3775 * mdebugread.c: Likewise.
3776 * memory-map.c: Likewise.
3777 * mep-tdep.c: Likewise.
3778 * mi/mi-common.c: Likewise.
3779 * microblaze-tdep.c: Likewise.
3780 * mingw-hdep.c: Likewise.
3781 * mips-linux-nat.c: Likewise.
3782 * mips-linux-tdep.c: Likewise.
3783 * mips-tdep.c: Likewise.
3784 * mips64obsd-tdep.c: Likewise.
3785 * mipsnbsd-tdep.c: Likewise.
3786 * mn10300-linux-tdep.c: Likewise.
3787 * mn10300-tdep.c: Likewise.
3788 * moxie-tdep.c: Likewise.
3789 * mt-tdep.c: Likewise.
3790 * nat/linux-btrace.c: Likewise.
3791 * nat/linux-osdata.c: Likewise.
3792 * nat/linux-ptrace.c: Likewise.
3793 * nat/mips-linux-watch.c: Likewise.
3794 * nios2-linux-tdep.c: Likewise.
3795 * nios2-tdep.c: Likewise.
3796 * objc-lang.c: Likewise.
3797 * objfiles.c: Likewise.
3798 * obsd-nat.c: Likewise.
3799 * opencl-lang.c: Likewise.
3800 * osabi.c: Likewise.
3801 * parse.c: Likewise.
3802 * ppc-linux-nat.c: Likewise.
3803 * ppc-sysv-tdep.c: Likewise.
3804 * ppcfbsd-nat.c: Likewise.
3805 * ppcfbsd-tdep.c: Likewise.
3806 * ppcnbsd-nat.c: Likewise.
3807 * ppcnbsd-tdep.c: Likewise.
3808 * ppcobsd-nat.c: Likewise.
3809 * ppcobsd-tdep.c: Likewise.
3810 * printcmd.c: Likewise.
3811 * procfs.c: Likewise.
3812 * prologue-value.c: Likewise.
3813 * psymtab.c: Likewise.
3814 * python/py-lazy-string.c: Likewise.
3815 * python/py-value.c: Likewise.
3816 * regcache.c: Likewise.
3817 * reggroups.c: Likewise.
3818 * registry.c: Likewise.
3819 * remote-sim.c: Likewise.
3820 * remote.c: Likewise.
3821 * rs6000-aix-tdep.c: Likewise.
3822 * rs6000-tdep.c: Likewise.
3823 * s390-linux-tdep.c: Likewise.
3824 * score-tdep.c: Likewise.
3825 * ser-base.c: Likewise.
3826 * ser-mingw.c: Likewise.
3827 * sh-tdep.c: Likewise.
3828 * sh64-tdep.c: Likewise.
3829 * solib-darwin.c: Likewise.
3830 * solib-spu.c: Likewise.
3831 * solib-svr4.c: Likewise.
3832 * source.c: Likewise.
3833 * sparc-nat.c: Likewise.
3834 * sparc-sol2-tdep.c: Likewise.
3835 * sparc-tdep.c: Likewise.
3836 * sparc64-sol2-tdep.c: Likewise.
3837 * sparc64-tdep.c: Likewise.
3838 * sparc64fbsd-tdep.c: Likewise.
3839 * sparc64nbsd-tdep.c: Likewise.
3840 * sparc64obsd-tdep.c: Likewise.
3841 * sparcnbsd-tdep.c: Likewise.
3842 * sparcobsd-tdep.c: Likewise.
3843 * spu-multiarch.c: Likewise.
3844 * spu-tdep.c: Likewise.
3845 * stabsread.c: Likewise.
3846 * stack.c: Likewise.
3847 * symfile.c: Likewise.
3848 * symtab.c: Likewise.
3849 * target-descriptions.c: Likewise.
3850 * target-memory.c: Likewise.
3851 * target.c: Likewise.
3852 * tic6x-linux-tdep.c: Likewise.
3853 * tic6x-tdep.c: Likewise.
3854 * tilegx-linux-nat.c: Likewise.
3855 * tilegx-tdep.c: Likewise.
3856 * top.c: Likewise.
3857 * tramp-frame.c: Likewise.
3858 * tui/tui-out.c: Likewise.
3859 * tui/tui-winsource.c: Likewise.
3860 * ui-out.c: Likewise.
3861 * user-regs.c: Likewise.
3862 * utils.c: Likewise.
3863 * v850-tdep.c: Likewise.
3864 * valops.c: Likewise.
3865 * value.c: Likewise.
3866 * varobj.c: Likewise.
3867 * vax-nat.c: Likewise.
3868 * xml-syscall.c: Likewise.
3869 * xml-tdesc.c: Likewise.
3870 * xstormy16-tdep.c: Likewise.
3871 * xtensa-linux-nat.c: Likewise.
3872 * xtensa-tdep.c: Likewise.
3873
3874 2014-08-07 Gary Benson <gbenson@redhat.com>
3875
3876 * common/common-defs.h: Include common-utils.h.
3877 * defs.h: Do not include common-utils.h.
3878 * common/gdb_assert.h: Likewise.
3879 * darwin-nat.h: Likewise.
3880 * nat/linux-btrace.c: Likewise.
3881 * target/waitstatus.h: Likewise.
3882
3883 2014-08-07 Gary Benson <gbenson@redhat.com>
3884
3885 * common/common-defs.h: Include ptid.h.
3886 * defs.h: Do not include ptid.h.
3887 * inferior.h: Likewise.
3888 * infrun.h: Likewise.
3889 * nat/linux-btrace.h: Likewise.
3890 * nat/linux-osdata.h: Likewise.
3891 * target/waitstatus.h: Likewise.
3892
3893 2014-08-07 Gary Benson <gbenson@redhat.com>
3894
3895 * common/common-defs.h: Include gdb_locale.h.
3896 * defs.h: Do not include gdb_locale.h.
3897
3898 2014-08-07 Gary Benson <gbenson@redhat.com>
3899
3900 * common/common-defs.h: Include gdb/signals.h.
3901 * defs.h: Do not include gdb/signals.h.
3902
3903 2014-08-07 Gary Benson <gbenson@redhat.com>
3904
3905 * common/common-defs.h: Include pathmax.h.
3906 * defs.h: Do not include pathmax.h.
3907
3908 2014-08-07 Gary Benson <gbenson@redhat.com>
3909
3910 * common/common-defs.h: Include libiberty.h.
3911 * defs.h: Do not include libiberty.h.
3912 * common/queue.h: Likewise.
3913 * cp-name-parser.y: Likewise.
3914 * mi/mi-cmd-catch.c: Likewise.
3915 * python/python.c: Likewise.
3916
3917 2014-08-07 Gary Benson <gbenson@redhat.com>
3918
3919 * common/common-defs.h: Include ansidecl.h.
3920 * defs.h: Do not include ansidecl.h.
3921 * common/buffer.h: Likewise.
3922 * common/common-utils.h: Likewise.
3923
3924 2014-08-07 Gary Benson <gbenson@redhat.com>
3925
3926 * common/common-defs.h: Include stddef.h.
3927 * defs.h: Do not include stddef.h.
3928 * common/common-utils.h: Likewise.
3929 * amd64fbsd-nat.c: Likewise.
3930 * bcache.c: Likewise.
3931 * charset.c: Likewise.
3932 * common/buffer.h: Likewise.
3933 * common/vec.h: Likewise.
3934 * i386bsd-nat.c: Likewise.
3935 * nat/linux-btrace.h: Likewise.
3936 * ppcfbsd-nat.c: Likewise.
3937 * ppcnbsd-tdep.h: Likewise.
3938 * ppcobsd-nat.c: Likewise.
3939 * ppcobsd-tdep.h: Likewise.
3940 * python/py-gdb-readline.c: Likewise.
3941
3942 2014-08-07 Gary Benson <gbenson@redhat.com>
3943
3944 * common/common-defs.h: Include stdarg.h.
3945 * defs.h: Do not include stdarg.h.
3946 * ada-lang.c: Likewise.
3947 * common/common-utils.h: Likewise.
3948 * guile/scm-string.c: Likewise.
3949 * guile/scm-utils.c: Likewise.
3950 * m32c-tdep.c: Likewise.
3951
3952 2014-08-07 Gary Benson <gbenson@redhat.com>
3953
3954 * common/common-defs.h: Include stdlib.h.
3955 * defs.h: Do not include stdlib.h.
3956 * addrmap.c: Likewise.
3957 * bcache.c: Likewise.
3958 * common/buffer.c: Likewise.
3959 * common/common-utils.c: Likewise.
3960 * cp-name-parser.y: Likewise.
3961 * go32-nat.c: Likewise.
3962 * mn10300-linux-tdep.c: Likewise.
3963 * nat/linux-osdata.c: Likewise.
3964 * tui/tui.c: Likewise.
3965 * windows-nat.c: Likewise.
3966
3967 2014-08-07 Gary Benson <gbenson@redhat.com>
3968
3969 * common/common-defs.h: Include stdio.h.
3970 * defs.h: Do not include stdio.h.
3971 * ada-lang.c: Likewise.
3972 * common/buffer.c: Likewise.
3973 * common/common-utils.c: Likewise.
3974 * cp-name-parser.y: Likewise.
3975 * gnu-nat.c: Likewise.
3976 * go32-nat.c: Likewise.
3977 * i386gnu-nat.c: Likewise.
3978 * proc-api.c: Likewise.
3979 * proc-events.c: Likewise.
3980 * proc-flags.c: Likewise.
3981 * proc-why.c: Likewise.
3982 * python/python-internal.h: Likewise.
3983 * target-memory.c: Likewise.
3984 * tui/tui-io.c: Likewise.
3985 * tui/tui.c: Likewise.
3986
3987 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
3988
3989 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
3990 (scan_dyntag_auxv): Same.
3991
3992 2014-08-06 Yao Qi <yao@codesourcery.com>
3993
3994 * amd64-linux-nat.c: Remove duplicated include
3995 "x86-linux-nat.h".
3996 * i386-linux-nat.c: Likewise.
3997
3998 2014-08-06 Yao Qi <yao@codesourcery.com>
3999
4000 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
4001 operand" with "Special opcode" in comments.
4002
4003 2014-08-05 Gary Benson <gbenson@redhat.com>
4004
4005 * interps.c (initialize_interps): Remove prototype.
4006 (interpreter_initialized): Remove static global.
4007 (interp_add): Do not call initialize_interps.
4008 (initialize_interps): Remove function.
4009
4010 2014-08-05 Gary Benson <gbenson@redhat.com>
4011
4012 * utils.c (vwarning): Remove spurious va_end.
4013
4014 2014-08-05 Alan Modra <amodra@gmail.com>
4015
4016 * charset.c (convert_between_encodings): Cast result of obstack_base.
4017 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
4018 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
4019 (read_unwind_info): Use size_t for some locals.
4020 * jit.c (finalize_symtab): Likewise.
4021 * utils.c (hashtab_obstack_allocate): Likewise.
4022 * symmisc.c (print_objfile_statistics): Update format strings.
4023
4024 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4025
4026 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
4027 (Changes in GDB 7.8): ... here.
4028
4029 2014-08-04 Tom Tromey <tromey@redhat.com>
4030
4031 * target.c (set_targetdebug): New function.
4032 (initialize_targets): Pass set_targetdebug when creating "set
4033 debug target".
4034
4035 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4036
4037 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
4038 if detecting a variable-sized field that is not the last field.
4039 Fix struct type length computation.
4040
4041 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4042
4043 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4044 Add debug trace.
4045
4046 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4047
4048 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4049 Remove "+ 8" offset in computation of CHAIN_VMA.
4050
4051 2014-07-31 Doug Evans <dje@google.com>
4052
4053 * inflow.c (child_terminal_inferior): Add comment.
4054 (child_terminal_ours_for_output): Add comment.
4055 (child_terminal_ours): Add comment.
4056 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
4057 (linux_nat_terminal_ours): Add comment.
4058
4059 2014-07-31 Gary Benson <gbenson@redhat.com>
4060
4061 * common/btrace-common.h: Do not include defs.h or server.h.
4062 * nat/mips-linux-watch.h: Likewise.
4063 * gdb-dlfcn.h: Do not include defs.h.
4064 * tracefile.h: Likewise.
4065
4066 2014-07-30 Roland McGrath <mcgrathr@google.com>
4067
4068 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
4069
4070 2014-07-30 Tom Tromey <tromey@redhat.com>
4071
4072 * bsd-kvm.c (bsd_kvm_open): Constify.
4073 * corelow.c (core_open): Constify.
4074 * ctf.c (ctf_open): Constify.
4075 * dbug-rom.c (dbug_open): Constify.
4076 * exec.c (exec_open): Constify.
4077 * m32r-rom.c (m32r_open, mon2000_open): Constify.
4078 * microblaze-rom.c (picobug_open): Constify.
4079 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
4080 Constify.
4081 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
4082 * record-btrace.c (record_btrace_open): Constify.
4083 * record-full.c (record_full_core_open_1, record_full_open_1)
4084 (record_full_open): Constify.
4085 * remote-m32r-sdi.c (m32r_open): Constify.
4086 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
4087 (rockhopper_open, lsi_open): Constify.
4088 * remote-sim.c (gdbsim_open): Constify.
4089 * remote.c (remote_open, extended_remote_open, remote_open_1):
4090 Constify.
4091 * target.h (struct target_ops) <to_open>: Make "arg" const.
4092 * tracefile-tfile.c (tfile_open): Constify.
4093
4094 2014-07-30 Tom Tromey <tromey@redhat.com>
4095
4096 * breakpoint.c (map_breakpoint_numbers): Update.
4097 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
4098 (get_number_const): New function.
4099 (get_number): Rewrite using get_number_const.
4100 (init_number_or_range): Make "string" const.
4101 (number_is_in_list): Make "list" const.
4102 * cli/cli-utils.h (get_number_const): Declare.
4103 (struct get_number_or_range_state) <string, end_ptr>: Now const.
4104 (init_number_or_range, number_is_in_list): Update.
4105 * printcmd.c (map_display_numbers): Update.
4106 * value.c (value_from_history_ref): Constify.
4107 * value.h (value_from_history_ref): Update.
4108
4109 2014-07-30 Tom Tromey <tromey@redhat.com>
4110
4111 * corefile.c (hook_type, call_extra_exec_file_hooks)
4112 (specify_exec_file_hook): Constify.
4113 * exec.c (exec_file_attach): Make "filename" const.
4114 * gdbcore.h (deprecated_exec_file_display_hook)
4115 (specify_exec_file_hook, exec_file_attach): Constify.
4116 * main.c (captured_main): Use catch_command_errors_const.
4117
4118 2014-07-30 Tom Tromey <tromey@redhat.com>
4119
4120 * target.c (open_target): New function.
4121 (add_target_with_completer, add_deprecated_target_alias): Use
4122 set_cmd_sfunc, set_cmd_context.
4123 (debug_to_open): Remove.
4124 (setup_target_debug): Update.
4125
4126 2014-07-30 Yao Qi <yao@codesourcery.com>
4127
4128 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
4129 comments.
4130 * parse.c (exp_iterate): Update comments.
4131
4132 2014-07-30 Gary Benson <gbenson@redhat.com>
4133
4134 * common/common-defs.h: New file.
4135 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
4136 * defs.h: Include common-defs.h.
4137 Do not include config.h or build-gnulib/config.h.
4138
4139 2014-07-30 Gary Benson <gbenson@redhat.com>
4140
4141 * common/common-utils.h: Do not include config.h.
4142 * nat/linux-btrace.h: Likewise.
4143
4144 2014-07-30 Gary Benson <gbenson@redhat.com>
4145
4146 * btrace.c: Include defs.h.
4147 * common/ptid.c: Include defs.h or server.h as appropriate.
4148 * nat/mips-linux-watch.c: Likewise.
4149
4150 2014-07-29 Tom Tromey <tromey@redhat.com>
4151
4152 * target.c (target_is_pushed): Simplify.
4153
4154 2014-07-29 Joel Brobecker <brobecker@adacore.com>
4155
4156 GDB 7.8 released.
4157
4158 2014-07-29 Yao Qi <yao@codesourcery.com>
4159
4160 PR gdb/17206
4161 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
4162
4163 2014-07-28 Doug Evans <xdje42@gmail.com>
4164
4165 PR guile/17203
4166 * guile/scm-param.c (pascm_parameter_defined_p): New function.
4167 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
4168 parameters.
4169
4170 2014-07-28 Will Newton <will.newton@linaro.org>
4171
4172 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
4173 (THUMB2_SET_R7_SIGRETURN2): Likewise.
4174 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
4175 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
4176 (THUMB2_EABI_SYSCALL): Likewise.
4177 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
4178 struct tramp_frame.
4179 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
4180 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
4181
4182 2014-07-27 Doug Evans <xdje42@gmail.com>
4183
4184 * guile/scm-param.c (pascm_print_param_smob): Fix output.
4185
4186 2014-07-27 Doug Evans <xdje42@gmail.com>
4187
4188 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
4189
4190 2014-07-26 Ludovic Courtès <ludo@gnu.org>
4191 Doug Evans <xdje42@gmail.com>
4192
4193 PR guile/17146
4194 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
4195 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
4196 * configure.ac: Try to use guild to compile an scm file, if it fails
4197 then disable guile support.
4198 * configure: Regenerate.
4199 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
4200 GUILE_FILE_LIST.
4201 (GUILE_COMPILED_FILES): New variable.
4202 (GUILE_FILES) Update.
4203 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
4204 (stamp-guile): Compile scm files.
4205 * guile/guile.c (boot_guile_support): New function.
4206 (standard_throw_args_p): New function.
4207 (print_standard_throw_error, print_throw_error): New functions.
4208 (handle_boot_error): New function.
4209 (initialize_scheme_side): Rewrite to call boot_guile_support.
4210 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
4211 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
4212
4213 2014-07-26 Ludovic Courtès <ludo@gnu.org>
4214 Doug Evans <xdje42@gmail.com>
4215
4216 PR guile/17146
4217 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
4218 * guile/lib/gdb/support.scm: New file.
4219 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
4220 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
4221 All uses updated.
4222 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
4223 All uses updated.
4224 (%assert-type): Ditto, and renamed to assert-type.
4225 (%exception-print-style): Delete.
4226
4227 2014-07-26 Doug Evans <xdje42@gmail.com>
4228
4229 PR build/17105
4230 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
4231 * configure: Regenerate.
4232 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
4233 PYTHON_FILES.
4234 (PYTHON_FILES): New variable.
4235 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
4236 (GUILE_FILES): New variable.
4237 (stamp-python, install-python, uninstall-python): Handle empty
4238 file list.
4239 (stamp-guile, install-guile, uninstall-guile): Ditto.
4240
4241 2014-07-26 Doug Evans <xdje42@gmail.com>
4242
4243 PR guile/17177
4244 * guile/lib/gdb.scm (pretty-printers): Export.
4245 (set-pretty-printers!): Export.
4246 * guile/lib/gdb/printing.scm (gdb module): Update.
4247 (prepend-pretty-printer!, append-pretty-printer!): Update.
4248 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
4249 (pretty_printer_list_var): Delete.
4250 (pretty_printer_list): New static global.
4251 (gdbscm_pretty_printers): New function.
4252 (gdbscm_set_pretty_printers_x): New function.
4253 (ppscm_find_pretty_printer_from_gdb): Update.
4254 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
4255 (gdbscm_initialize_pretty_printers): Update.
4256
4257 2014-07-26 Doug Evans <xdje42@gmail.com>
4258
4259 PR 17185
4260 * configure.ac: Add check for header gc/gc.h.
4261 Add check for function setenv.
4262 * configure: Regenerate.
4263 * config.in: Regenerate.
4264 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
4265
4266 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
4267
4268 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
4269 variation in gdbarch matching.
4270
4271 2014-07-25 Tom Tromey <tromey@redhat.com>
4272
4273 * exec.c (using_exec_ops): Remove.
4274 (exec_close_1): Update. Remove extraneous block, reindent.
4275 (add_target_sections): Use target_is_pushed.
4276
4277 2014-07-25 Pedro Alves <palves@redhat.com>
4278
4279 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
4280 * monitor.c (monitor_create_inferior): Likewise.
4281 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
4282 * remote-sim.c (gdbsim_create_inferior): Likewise.
4283 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
4284 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
4285 * windows-nat.c (do_initial_windows_stuff): Likewise.
4286
4287 2014-07-25 Pedro Alves <palves@redhat.com>
4288
4289 * NEWS: Mention signal passing and "signal" command changes.
4290 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
4291 comment.
4292 * breakpoint.c (until_break_command): Adjust clear_proceed_status
4293 call.
4294 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
4295 * infcmd.c (proceed_thread_callback, continue_1, step_once)
4296 (jump_command): Adjust clear_proceed_status call.
4297 (signal_command): Warn if other thread that are resumed have
4298 signals that will be delivered. Adjust clear_proceed_status call.
4299 (until_next_command, finish_command)
4300 (proceed_after_attach_callback, attach_command_post_wait)
4301 (attach_command): Adjust clear_proceed_status call.
4302 * infrun.c (proceed_after_vfork_done): Likewise.
4303 (proceed_after_attach_callback): Adjust comment.
4304 (clear_proceed_status_thread): Clear stop_signal if not in pass
4305 state.
4306 (clear_proceed_status_callback): Delete.
4307 (clear_proceed_status): New 'step' parameter. Only clear the
4308 proceed status of threads the command being prepared is about to
4309 resume.
4310 (proceed): If passed in an explicit signal, override stop_signal
4311 with it. Don't pass the last stop signal to the thread we're
4312 resuming.
4313 (init_wait_for_inferior): Adjust clear_proceed_status call.
4314 (switch_back_to_stepped_thread): Clear the signal if it should not
4315 be passed.
4316 * infrun.h (clear_proceed_status): New 'step' parameter.
4317 (user_visible_resume_ptid): Add comment.
4318 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
4319 signal is in pass state.
4320 * remote.c (append_pending_thread_resumptions): Likewise.
4321 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
4322
4323 2014-07-25 Tom Tromey <tromey@redhat.com>
4324
4325 * target.h (target_stopped_data_address)
4326 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
4327 parentheses.
4328
4329 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
4330
4331 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
4332 comments.
4333 (avr_pointer_to_address): Likewise.
4334
4335 2014-07-24 Tom Tromey <tromey@redhat.com>
4336
4337 * monitor.c (compile_pattern): Update.
4338 * target.h (struct target_ops) <to_shortname, to_longname,
4339 to_doc>: Now const.
4340
4341 2014-07-24 Tom Tromey <tromey@redhat.com>
4342
4343 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
4344 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
4345 (add_info_alias, add_com): Make "doc" const.
4346 (print_doc_line): Make "str" const.
4347 (delete_cmd): Update.
4348 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
4349 (print_doc_line): Update.
4350 * cli/cli-script.c (document_command): Update.
4351 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
4352 (add_com, add_info, add_info_alias): Update.
4353 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4354 * python/py-cmd.c (cmdpy_destroyer): Update.
4355
4356 2014-07-24 Tom Tromey <tromey@redhat.com>
4357
4358 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
4359 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
4360 (help_cmd_list): Constify.
4361 (lookup_cmd): Update.
4362 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
4363 const.
4364 (help_cmd_list, apropos_cmd): Update.
4365 * cli/cli-script.c (show_user): Update.
4366 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
4367 * cli/cli-setshow.h (cmd_show_list): Update.
4368 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
4369 (cmd_show_list): Update.
4370 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4371 * python/py-cmd.c (cmdpy_destroyer): Update.
4372
4373 2014-07-24 Tom Tromey <tromey@redhat.com>
4374
4375 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
4376 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
4377 const.
4378 * command.h (deprecate_cmd): Update.
4379 * maint.c (maintenance_do_deprecate): Add casts.
4380
4381 2014-07-24 Tom Tromey <tromey@redhat.com>
4382
4383 * cli/cli-decode.c (help_cmd): Make parameter "const".
4384 * cli/cli-decode.h (help_cmd): Update.
4385
4386 2014-07-24 Tom Tromey <tromey@redhat.com>
4387
4388 * stack.c (up_silently_base, down_silently_base): Make argument
4389 const.
4390
4391 2014-07-24 Tom Tromey <tromey@redhat.com>
4392
4393 * solib.c (solib_add): Make "pattern" const.
4394 * solib.h (solib_add): Update.
4395
4396 2014-07-24 Tom Tromey <tromey@redhat.com>
4397
4398 * remote.c (remote_serial_open, print_packet, putpkt)
4399 (putpkt_binary): Constify.
4400 * remote.h (putpkt): Update.
4401
4402 2014-07-24 Tom Tromey <tromey@redhat.com>
4403
4404 * monitor.c (monitor_open): Make "args" const.
4405 * monitor.h (monitor_open): Update.
4406
4407 2014-07-24 Tom Tromey <tromey@redhat.com>
4408
4409 * maint.c (match_bfd_flags): Make "string" const.
4410 (print_bfd_section_info): Remove casts.
4411 (print_objfile_section_info): Make "string" const.
4412
4413 2014-07-24 Tom Tromey <tromey@redhat.com>
4414
4415 * inf-child.c (inf_child_open_target): Make "arg" const.
4416 * inf-child.h (inf_child_open_target): Update.
4417
4418 2014-07-24 Tom Tromey <tromey@redhat.com>
4419
4420 * environ.c (unset_in_environ): Make "var" const.
4421 * environ.h (unset_in_environ): Update.
4422
4423 2014-07-24 Tom Tromey <tromey@redhat.com>
4424
4425 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
4426 Make "cmd" const.
4427 (scan_filename_with_cleanup): Likewise.
4428 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
4429 Make arguments const.
4430 (restore_command): Update.
4431
4432 2014-07-24 Pedro Alves <palves@redhat.com>
4433
4434 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
4435
4436 2014-07-24 Tom Tromey <tromey@redhat.com>
4437 Gary Benson <gbenson@redhat.com>
4438
4439 * nat/linux-ptrace.c (additional_flags): New global.
4440 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
4441 additional_flags; don't check GDBSERVER.
4442 (linux_ptrace_set_additional_flags): New function.
4443 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
4444 Declare.
4445 * linux-nat.c (_initialize_linux_nat): Call
4446 linux_ptrace_set_additional_flags.
4447
4448 2014-07-24 Tom Tromey <tromey@redhat.com>
4449
4450 * make-target-delegates (munge_type, write_debugmethod): New
4451 functions.
4452 (debug_names): New global.
4453 ($TARGET_DEBUG_PRINTER): New global.
4454 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
4455 name.
4456 Write debug methods. Generate init_debug_target.
4457 * target-debug.h: New file.
4458 * target-delegates.c: Rebuild.
4459 * target.c: Include target-debug.h.
4460 (debug_target): Hoist definition.
4461 (target_kill, target_get_section_table, target_memory_map)
4462 (target_flash_erase, target_flash_done, target_detach)
4463 (target_disconnect, target_wait, target_resume)
4464 (target_pass_signals, target_program_signals, target_follow_fork)
4465 (target_mourn_inferior, target_search_memory)
4466 (target_thread_address_space, target_close)
4467 (target_find_new_threads, target_core_of_thread)
4468 (target_verify_memory, target_insert_mask_watchpoint)
4469 (target_remove_mask_watchpoint): Remove targetdebug code.
4470 (debug_to_post_attach, debug_to_prepare_to_store)
4471 (debug_to_files_info, debug_to_insert_breakpoint)
4472 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
4473 (debug_to_region_ok_for_hw_watchpoint)
4474 (debug_to_can_accel_watchpoint_condition)
4475 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
4476 (debug_to_watchpoint_addr_within_range)
4477 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
4478 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
4479 (debug_to_terminal_init, debug_to_terminal_inferior)
4480 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
4481 (debug_to_terminal_save_ours, debug_to_terminal_info)
4482 (debug_to_load, debug_to_post_startup_inferior)
4483 (debug_to_insert_fork_catchpoint)
4484 (debug_to_remove_fork_catchpoint)
4485 (debug_to_insert_vfork_catchpoint)
4486 (debug_to_remove_vfork_catchpoint)
4487 (debug_to_insert_exec_catchpoint)
4488 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
4489 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
4490 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
4491 (setup_target_debug): Call init_debug_target.
4492 * target.h (TARGET_DEBUG_PRINTER): New macro.
4493 (struct target_ops) <to_resume, to_wait, to_pass_signals,
4494 to_program_signals>: Use TARGET_DEBUG_PRINTER.
4495
4496 2014-07-24 Gary Benson <gbenson@redhat.com>
4497
4498 * exceptions.h (throw_vfatal): Renamed to...
4499 (throw_vquit): New declaration.
4500 (throw_quit): Likewise.
4501 * exceptions.c (throw_vfatal): Renamed to...
4502 (throw_vquit): New function.
4503 (throw_quit): Likewise.
4504 (throw_error): Call throw_verror rather than throw_it.
4505 * utils.h (vfatal): Removed.
4506 (fatal): Likewise.
4507 * utils.c (vfatal): Removed.
4508 (fatal): Likewise.
4509 (internal_verror): Replaced call to fatal with call to throw_quit.
4510 (quit): Replaced calls to fatal with calls to throw_quit.
4511
4512 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
4513
4514 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
4515 target_read_code.
4516
4517 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
4518
4519 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
4520 less than zero in conditional expression.
4521
4522 2014-07-23 Tom Tromey <tromey@redhat.com>
4523
4524 * make-target-delegates ($ARGS_PART): Match trailing close paren.
4525 ($INTRO_PART): Don't match whitespace.
4526 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
4527 argument matching.
4528 ($METHOD): Add $METHOD_TRAILER.
4529 (trim): Rewrite.
4530 (scan_target_h): New sub.
4531 Change main loop not to collect state.
4532 * target-delegates.c: Rebuild.
4533
4534 2014-07-23 Gary Benson <gbenson@redhat.com>
4535
4536 * cp-support.c (gdb_demangle): Fix build on systems without
4537 sigaltstack.
4538
4539 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4540
4541 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
4542 for reference entry value target data value.
4543
4544 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4545
4546 * stack.c (read_frame_arg): Verify value_optimized_out before calling
4547 value_available_contents_eq.
4548
4549 2014-07-22 Pedro Alves <palves@redhat.com>
4550
4551 * value.c (allocate_optimized_out_value): Don't mark value as
4552 non-lazy.
4553
4554 2014-07-22 Jiong Wang <jiong.wang@arm.com>
4555
4556 * MAINTAINERS (Write After Approval): Update my email address.
4557
4558 2014-07-20 Doug Evans <dje@google.com>
4559
4560 PR server/17147
4561 * remote.c (putpkt_binary): Add text to error message.
4562
4563 2014-07-20 Yao Qi <yao@codesourcery.com>
4564
4565 * eval.c: Remove "Chill" from comments.
4566 * gdbtypes.h: Likewise.
4567 * symtab.h: Likewise.
4568
4569 2014-07-20 Yao Qi <yao@codesourcery.com>
4570
4571 * std-operator.def: Update comments to TERNOP_SLICE.
4572
4573 2014-07-20 Yao Qi <yao@codesourcery.com>
4574
4575 * std-operator.def: Remove BINOP_RANGE.
4576 * breakpoint.c (watchpoint_exp_is_const): Update.
4577 * expprint.c (dump_subexp_body_standard): Likewise.
4578 * eval.c (init_array_element): Remove dead code.
4579 (evaluate_subexp_standard): Likewise.
4580
4581 2014-07-20 Yao Qi <yao@codesourcery.com>
4582
4583 * std-operator.def: Remove BINOP_IN.
4584 * breakpoint.c (watchpoint_exp_is_const): Update.
4585 * eval.c (evaluate_subexp_standard): Likewise.
4586 * expprint.c (dump_subexp_body_standard): Likewise.
4587
4588 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
4589
4590 * microblaze-tdep.c (microblaze_register_names): Add
4591 the rshr and rslr register names.
4592 (microblaze_gdbarch_init): Use of tdesc_has_registers.
4593 Use of tdesc_find_feature. Use of tdesc_data_alloc.
4594 Use of tdesc_numbered_register. Use of
4595 microblaze_register_g_packet_guesses. Use of
4596 tdesc_use_registers. Use of set_gdbarch_register_type.
4597 (microblaze_register_g_packet_guesses): New.
4598 * microblaze-tdep.h (microblaze_reg_num): Add
4599 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
4600 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
4601 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
4602 * features/microblaze-core.xml: New file.
4603 * features/microblaze-stack-protect.xml: New file.
4604 * features/microblaze-with-stack-protect.c: New file.
4605 * features/microblaze-with-stack-protect.xml: New file.
4606 * features/microblaze.xml: New file.
4607 * features/microblaze.c: New file.
4608 * features/Makefile (microblaze-with-stack-protect): Add
4609 microblaze-with-stack-protect microblaze and microblaze-expedite.
4610 * regformats/microblaze-with-stack-protect.dat: New file.
4611 * regformats/microblaze.dat: New file.
4612 * doc/gdb.texinfo (MicroBlaze Features): Added.
4613
4614 2014-07-18 Tom Tromey <tromey@redhat.com>
4615
4616 * exec.c (exec_ops): Now static.
4617 * exec.h (exec_ops): Don't declare.
4618
4619 2014-07-18 Tom Tromey <tromey@redhat.com>
4620
4621 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
4622 to find_target_beneath.
4623 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
4624 find_target_beneath.
4625 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
4626
4627 2014-07-18 Tom Tromey <tromey@redhat.com>
4628
4629 PR gdb/17130:
4630 * utils.c (quit): Use target_supports_terminal_ours.
4631 * target.h (target_supports_terminal_ours): Declare.
4632 * target.c (target_supports_delete_record): Don't check
4633 to_delete_record against NULL.
4634 (target_supports_terminal_ours): New function.
4635
4636 2014-07-18 Tom Tromey <tromey@redhat.com>
4637
4638 PR gdb/17130:
4639 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
4640 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
4641 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
4642 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
4643 * windows-nat.c (windows_xfer_partial): Always delegate.
4644 * record-btrace.c (record_btrace_xfer_partial): Simplify
4645 delegation.
4646 (record_btrace_fetch_registers, record_btrace_store_registers)
4647 (record_btrace_prepare_to_store, record_btrace_resume)
4648 (record_btrace_wait, record_btrace_find_new_threads)
4649 (record_btrace_thread_alive): Likewise.
4650 * procfs.c (procfs_xfer_partial): Always delegate.
4651 * corelow.c (core_xfer_partial): Always delegate.
4652 * sol-thread.c (sol_find_new_threads): Simplify delegation.
4653
4654 2014-07-18 Tom Tromey <tromey@redhat.com>
4655
4656 * exec.c (exec_make_note_section): Move earlier.
4657
4658 2014-07-17 Doug Evans <dje@google.com>
4659
4660 PR gdb/17170
4661 * maint.c (count_symtabs_and_blocks): Handle NULL
4662 current_program_space.
4663 (report_command_stats): Check global enabled flag in addition to
4664 recorded enabled flag.
4665 (make_command_stats_cleanup): Handle msg_type == 0, startup.
4666
4667 2014-07-16 Pedro Alves <palves@redhat.com>
4668
4669 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
4670
4671 2014-07-16 Tom Tromey <tromey@redhat.com>
4672
4673 * target.h (struct target_ops) <to_delete_record>: Reformat
4674 comment.
4675
4676 2014-07-16 Tom Tromey <tromey@redhat.com>
4677
4678 * target-delegates.c: Rebuild.
4679
4680 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4681
4682 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
4683 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
4684 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
4685 (avr_pointer_to_address): Likewise.
4686 (avr_address_class_type_flags): New function.
4687 (avr_address_class_type_flags_to_name): Likewise.
4688 (avr_address_class_name_to_type_flags): Likewise.
4689 (avr_gdbarch_init): Set address_class_type_flags,
4690 address_class_type_flags_to_name and
4691 address_class_name_to_type_flags.
4692
4693 2014-07-15 Pedro Alves <palves@redhat.com>
4694
4695 * linux-nat.c (kill_callback): Save errno and work with saved
4696 copy.
4697
4698 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4699
4700 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
4701
4702 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4703
4704 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
4705 breakpoint support correctly.
4706
4707 2014-07-14 Pedro Alves <palves@redhat.com>
4708
4709 * utils.c (prompt_for_continue): Call target_terminal_ours.
4710
4711 2014-07-14 Pedro Alves <palves@redhat.com>
4712
4713 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
4714 catch_errors. Don't re-enable stdin or notify observers where,
4715 and rethrow error.
4716 (fetch_inferior_event_wrapper): Delete.
4717
4718 2014-07-14 Pedro Alves <palves@redhat.com>
4719
4720 PR gdb/17072
4721 * top.c: Include "inf-loop.h".
4722 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
4723 field.
4724 (gdb_readline_wrapper_cleanup): Make the target async again, if it
4725 was async before.
4726 (gdb_readline_wrapper): Store whether the target is async, and
4727 make it sync.
4728
4729 2014-07-14 Pedro Alves <palves@redhat.com>
4730
4731 PR gdb/17072
4732 * top.c (gdb_readline_wrapper_line): Tweak comment.
4733 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
4734 the input handler callback.
4735
4736 2014-07-14 Pedro Alves <palves@redhat.com>
4737
4738 PR gdb/17072
4739 * main.c: Include event-top.h.
4740 (handle_command_errors): New function.
4741 (catch_command_errors, catch_command_errors_const): Use it.
4742
4743 2014-07-14 Pedro Alves <palves@redhat.com>
4744
4745 * exceptions.c (catch_command_errors, catch_command_errors_const):
4746 Moved to main.c.
4747 * exceptions.h (catch_command_errors_ftype)
4748 (catch_command_errors_const_ftype): Moved to main.c.
4749 (catch_command_errors, catch_command_errors_const): Delete
4750 declarations.
4751 * main.c (catch_command_errors_ftype)
4752 (catch_command_errors_const_ftype): Moved here from exceptions.h.
4753 (catch_command_errors, catch_command_errors_const)): Moved here
4754 from exceptions.c and make static.
4755
4756 2014-07-14 Pedro Alves <palves@redhat.com>
4757
4758 * exceptions.c (print_any_exception): Delete.
4759 (catch_exceptions_with_msg): Use exception_print instead of
4760 print_any_exception.
4761 (catch_errors): Use exception_fprintf instead of
4762 print_any_exception.
4763 (catch_command_errors, catch_command_errors_const): Use
4764 exception_print instead of print_any_exception.
4765
4766 2014-07-14 Pedro Alves <palves@redhat.com>
4767
4768 * infcall.c (run_inferior_call): Set 'sync_execution' while
4769 running the inferior call.
4770
4771 2014-07-14 Pedro Alves <palves@redhat.com>
4772
4773 * value.c (value_contents_equal): Delete function.
4774 * value.h (value_contents_equal): Delete declaration.
4775
4776 2014-07-14 Tom Tromey <tromey@redhat.com>
4777
4778 PR exp/17106:
4779 * gdbtypes.c (is_dynamic_type_internal): New function, from
4780 is_dynamic_type.
4781 (is_dynamic_type): Rewrite.
4782 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
4783 (resolve_dynamic_struct): Likewise.
4784 (resolve_dynamic_type_internal): New function, from
4785 resolve_dynamic_type.
4786 (resolve_dynamic_type): Rewrite.
4787
4788 2014-07-14 Tom Tromey <tromey@redhat.com>
4789
4790 * target.c (target_require_runnable): Also check record_stratum.
4791 Update comment.
4792
4793 2014-07-11 Yao Qi <yao@codesourcery.com>
4794
4795 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
4796 thumb_instruction_restores_sp return true.
4797
4798 2014-07-11 Yao Qi <yao@codesourcery.com>
4799
4800 * arm-tdep.c (thumb_instruction_restores_sp): New function.
4801 (thumb_in_function_epilogue_p): Call
4802 thumb_instruction_restores_sp.
4803
4804 2014-07-11 Yao Qi <yao@codesourcery.com>
4805
4806 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
4807 'add sp, #imm'.
4808 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
4809
4810 2014-07-11 Gary Benson <gbenson@redhat.com>
4811
4812 * amd64-linux-nat.c (gdbcore.h): Remove include.
4813 (regset.h): Likewise.
4814 (nat/linux-btrace.h): Likewise.
4815 (btrace.h): Likewise.
4816 (gdb_assert.h): Likewise.
4817 (string.h): Likewise.
4818 (sys/uio.h): Likewise.
4819 (sys/debugreg.h): Likewise.
4820 (sys/syscall.h): Likewise.
4821 (sys/procfs.h): Likewise.
4822 (sys/user.h): Likewise.
4823 (asm/ptrace.h): Likewise.
4824 (i386-nat.h): Likewise.
4825 * i386-linux-nat.c (i386-nat.h): Likewise.
4826 (regset.h): Likewise.
4827 (target.h): Likewise.
4828 (linux-nat.h): Likewise.
4829 (nat/linux-btrace.h): Likewise.
4830 (btrace.h): Likewise.
4831 (gdb_assert.h): Likewise.
4832 (string.h): Likewise.
4833 (sys/uio.h): Likewise.
4834 (sys/user.h): Likewise.
4835 (sys/procfs.h): Likewise.
4836 (sys/reg.h): Likewise.
4837 (sys/debugreg.h): Likewise.
4838 (ORIG_EAX): Remove definition.
4839
4840 2014-07-11 Gary Benson <gbenson@redhat.com>
4841
4842 * i386-linux-nat.h: New file.
4843 * x86-linux-nat.h: Likewise.
4844 * x86-linux-nat.c: Likewise.
4845 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
4846 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
4847 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4848 * amd64-linux-nat.c (x86-linux-nat.h): New include.
4849 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4850 (PTRACE_SETREGSET): Likewise.
4851 (arch_lwp_info): Now in x86-linux-nat.c.
4852 (have_ptrace_getregset): Now in x86-linux-nat.h.
4853 (x86_linux_dr_get): Now in x86-linux-nat.c.
4854 (x86_linux_dr_set): Likewise.
4855 (x86_linux_dr_get_addr): Likewise.
4856 (x86_linux_dr_get_control): Likewise.
4857 (x86_linux_dr_get_status): Likewise.
4858 (update_debug_registers_callback): Likewise.
4859 (x86_linux_dr_set_control): Likewise.
4860 (x86_linux_dr_set_addr): Likewise.
4861 (x86_linux_prepare_to_resume): Likewise.
4862 (x86_linux_new_thread): Likewise.
4863 (x86_linux_new_fork): Likewise.
4864 (x86_linux_get_thread_area): Likewise.
4865 (super_post_startup_inferior): Likewise.
4866 (x86_linux_child_post_startup_inferior): Likewise.
4867 (AMD64_LINUX_USER64_CS): Likewise.
4868 (AMD64_LINUX_X32_DS): Likewise.
4869 (x86_linux_read_description): Likewise.
4870 (x86_linux_enable_btrace): Likewise.
4871 (x86_linux_disable_btrace): Likewise.
4872 (x86_linux_teardown_btrace): Likewise.
4873 (x86_linux_read_btrace): Likewise.
4874 (x86_linux_create_target): Likewise.
4875 (x86_linux_add_target): Likewise.
4876 * i386-linux-nat.c (x86-linux-nat.h): New include.
4877 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4878 (PTRACE_SETREGSET): Likewise.
4879 (arch_lwp_info): Now in x86-linux-nat.c.
4880 (have_ptrace_getregset): Now in x86-linux-nat.h.
4881 (x86_linux_dr_get): Now in x86-linux-nat.c.
4882 (x86_linux_dr_set): Likewise.
4883 (x86_linux_dr_get_addr): Likewise.
4884 (x86_linux_dr_get_control): Likewise.
4885 (x86_linux_dr_get_status): Likewise.
4886 (update_debug_registers_callback): Likewise.
4887 (x86_linux_dr_set_control): Likewise.
4888 (x86_linux_dr_set_addr): Likewise.
4889 (x86_linux_prepare_to_resume): Likewise.
4890 (x86_linux_new_thread): Likewise.
4891 (x86_linux_new_fork): Likewise.
4892 (x86_linux_get_thread_area): Likewise.
4893 (super_post_startup_inferior): Likewise.
4894 (x86_linux_child_post_startup_inferior): Likewise.
4895 (AMD64_LINUX_USER64_CS): Likewise.
4896 (AMD64_LINUX_X32_DS): Likewise.
4897 (x86_linux_read_description): Likewise.
4898 (x86_linux_enable_btrace): Likewise.
4899 (x86_linux_disable_btrace): Likewise.
4900 (x86_linux_teardown_btrace): Likewise.
4901 (x86_linux_read_btrace): Likewise.
4902 (x86_linux_create_target): Likewise.
4903 (x86_linux_add_target): Likewise.
4904
4905 2014-07-11 Gary Benson <gbenson@redhat.com>
4906
4907 * amd64-linux-nat.c: Comment and whitespace changes.
4908 * i386-linux-nat.c: Comment and whitespace changes.
4909
4910 2014-07-11 Gary Benson <gbenson@redhat.com>
4911
4912 * amd64-linux-nat.c (x86_linux_create_target): New function.
4913 (x86_linux_add_target): Likewise.
4914 (_initialize_amd64_linux_nat): Delegate to the above new functions.
4915 * i386-linux-nat.c (x86_linux_create_target): New function.
4916 (x86_linux_add_target): Likewise.
4917 (_initialize_i386_linux_nat): Delegate to the above new functions.
4918
4919 2014-07-11 Gary Benson <gbenson@redhat.com>
4920
4921 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
4922 (ps_get_thread_area): Delegate to the above in 32-bit mode.
4923 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
4924 (ps_get_thread_area): Delegate to the above.
4925
4926 2014-07-11 Gary Benson <gbenson@redhat.com>
4927
4928 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
4929 x86_linux_read_description. All uses updated. amd64-specific
4930 code conditionalized. Conditionalized i386-specific code added.
4931 Redundant cast removed.
4932 * i386-linux-nat.c (i386_linux_read_description): Renamed to
4933 x86_linux_read_description. All uses updated. i386-specific
4934 code conditionalized. Conditionalized amd64-specific code added.
4935 One sizeof replaced with the actual type it is describing.
4936
4937 2014-07-11 Gary Benson <gbenson@redhat.com>
4938
4939 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
4940 x86_linux_dr_get. All uses updated.
4941 (amd64_linux_dr_set): Renamed to
4942 x86_linux_dr_set. All uses updated.
4943 (amd64_linux_dr_get_addr): Renamed to
4944 x86_linux_dr_get_addr. All uses updated.
4945 (amd64_linux_dr_get_control): Renamed to
4946 x86_linux_dr_get_control. All uses updated.
4947 (amd64_linux_dr_get_status): Renamed to
4948 x86_linux_dr_get_status. All uses updated.
4949 (amd64_linux_dr_set_control): Renamed to
4950 x86_linux_dr_set_control. All uses updated.
4951 (amd64_linux_dr_set_addr): Renamed to
4952 x86_linux_dr_set_addr. All uses updated.
4953 (amd64_linux_prepare_to_resume): Renamed to
4954 x86_linux_prepare_to_resume. All uses updated.
4955 (amd64_linux_new_thread): Renamed to
4956 x86_linux_new_thread. All uses updated.
4957 (amd64_linux_new_fork): Renamed to
4958 x86_linux_new_fork. All uses updated.
4959 (amd64_linux_child_post_startup_inferior): Renamed to
4960 x86_linux_child_post_startup_inferior. All uses updated.
4961 (amd64_linux_enable_btrace): Renamed to
4962 x86_linux_enable_btrace. All uses updated.
4963 (amd64_linux_disable_btrace): Renamed to
4964 x86_linux_disable_btrace. All uses updated.
4965 (amd64_linux_teardown_btrace): Renamed to
4966 x86_linux_teardown_btrace. All uses updated.
4967 (amd64_linux_read_btrace): Renamed to
4968 x86_linux_read_btrace. All uses updated.
4969 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
4970 x86_linux_dr_get. All uses updated.
4971 (i386_linux_dr_set): Renamed to
4972 x86_linux_dr_set. All uses updated.
4973 (i386_linux_dr_get_addr): Renamed to
4974 x86_linux_dr_get_addr. All uses updated.
4975 (i386_linux_dr_get_control): Renamed to
4976 x86_linux_dr_get_control. All uses updated.
4977 (i386_linux_dr_get_status): Renamed to
4978 x86_linux_dr_get_status. All uses updated.
4979 (i386_linux_dr_set_control): Renamed to
4980 x86_linux_dr_set_control. All uses updated.
4981 (i386_linux_dr_set_addr): Renamed to
4982 x86_linux_dr_set_addr. All uses updated.
4983 (i386_linux_prepare_to_resume): Renamed to
4984 x86_linux_prepare_to_resume. All uses updated.
4985 (i386_linux_new_thread): Renamed to
4986 x86_linux_new_thread. All uses updated.
4987 (i386_linux_new_fork): Renamed to
4988 x86_linux_new_fork. All uses updated.
4989 (i386_linux_child_post_startup_inferior): Renamed to
4990 x86_linux_child_post_startup_inferior. All uses updated.
4991 (i386_linux_enable_btrace): Renamed to
4992 x86_linux_enable_btrace. All uses updated.
4993 (i386_linux_disable_btrace): Renamed to
4994 x86_linux_disable_btrace. All uses updated.
4995 (i386_linux_teardown_btrace): Renamed to
4996 x86_linux_teardown_btrace. All uses updated.
4997 (i386_linux_read_btrace): Renamed to
4998 x86_linux_read_btrace. All uses updated.
4999
5000 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5001
5002 * remote.c (extended_remote_post_attach): New function.
5003 (init_extended_remote_ops): Install it as to_post_attach method.
5004
5005 2014-07-09 Pedro Alves <palves@redhat.com>
5006
5007 * infcmd.c (attach_command_post_wait): Don't call
5008 target_terminal_inferior here.
5009 (attach_command): Call it here instead.
5010
5011 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5012
5013 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
5014 field.
5015 * c-varobj.c (c_is_path_expr_parent): New function, moved core
5016 from varobj.c, with additional checks.
5017 (c_varobj_ops): Fill in is_path_expr_parent field.
5018 (cplus_varobj_ops): Fill in is_path_expr_parent field.
5019 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
5020 field.
5021 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
5022 ops method.
5023 (varobj_default_is_path_expr_parent): New function.
5024 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
5025 (varobj_default_is_path_expr_parent): Declare new function.
5026
5027 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5028
5029 * infcmd.c (finish_backward): Turn internal error into normal error.
5030
5031 2014-07-07 Pedro Alves <palves@redhat.com>
5032
5033 PR gdb/17096
5034 * remote.c (async_handle_remote_sigint)
5035 (async_handle_remote_sigint_twice): Call
5036 gdb_call_async_signal_handler instead of
5037 mark_async_signal_handler.
5038
5039 2014-07-07 Tom Tromey <tromey@redhat.com>
5040
5041 * target-delegates.c: Rebuild.
5042 * target.c (target_info_record): Remove.
5043 * record.c (info_record_command): Unconditionally call
5044 to_info_record.
5045 * target.h (struct target_ops) <to_info_record>: Use
5046 TARGET_DEFAULT_IGNORE.
5047 (target_info_record): Remove.
5048
5049 2014-07-07 Tom Tromey <tromey@redhat.com>
5050
5051 * target.h (struct target_ops) <to_get_thread_local_address>: Use
5052 TARGET_DEFAULT_NORETURN.
5053 * target.c (generic_tls_error): New function.
5054 (target_translate_tls_address): Don't search target stack.
5055 * target-delegates.c: Rebuild.
5056 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
5057 stack.
5058 * linux-thread-db.c (thread_db_get_thread_local_address):
5059 Unconditionally call beneath target.
5060
5061 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
5062
5063 * cli/cli-logging.c (pop_output_files): Assign targerr to
5064 gdb_stdtargerr.
5065
5066 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
5067
5068 * MAINTAINERS (Write After Approval): Update my email address.
5069
5070 2014-07-02 Gary Benson <gbenson@redhat.com>
5071
5072 * proc-service.c (ps_xfer_memory): Update comment.
5073 (ps_pstop): Remove unused function.
5074 (ps_pcontinue): Likewise.
5075 (ps_lstop): Likewise.
5076 (ps_lcontinue): Likewise.
5077 (ps_lgetxregsize): Likewise.
5078 (ps_lgetxregs): Likewise.
5079 (ps_lsetxregs): Likewise.
5080 (ps_plog): Likewise.
5081 (ps_ptread): Likewise.
5082 (ps_ptwrite): Likewise.
5083
5084 2014-07-01 Mark Wielaard <mjw@redhat.com>
5085
5086 * dwarf2read.c (add_array_cv_type): New function.
5087 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
5088 (read_tag_volatile_type): Likewise.
5089
5090 2014-07-01 Tom Tromey <tromey@redhat.com>
5091
5092 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
5093 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
5094 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
5095 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
5096 * command.h (cmd_cfunc_ftype): Move earlier.
5097 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
5098 (add_com, add_info): Use cmd_cfunc_ftype.
5099
5100 2014-06-30 Tom Tromey <tromey@redhat.com>
5101
5102 * symtab.c (operator_chars): Make parameters and return type
5103 const.
5104 (file_matches): Make "files" const.
5105 (struct search_symbols_data) <files>: Now const.
5106 (search_symbols): Make "regexp" and "files" parameters const.
5107 Update.
5108 (symtab_symbol_info): Remove cast.
5109 (rbreak_command): Update.
5110 * symtab.h (search_symbols): Update.
5111
5112 2014-06-27 Yao Qi <yao@codesourcery.com>
5113
5114 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
5115 Change parameter type to 'struct thread_info *'. Caller
5116 updated.
5117 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
5118 Update declaration.
5119 * dummy-frame.c (struct dummy_frame_id): New.
5120 (dummy_frame_id_eq): New function.
5121 (struct dummy_frame) <id>: Change its type to 'struct
5122 dummy_frame_id'.
5123 (dummy_frame_push): Add parameter ptid and save it in
5124 dummy_frame_id.
5125 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
5126 inferior_ptid.
5127 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
5128 to inferior_ptid.
5129 (lookup_dummy_frame): Change parameter type to 'struct
5130 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
5131 instead of frame_id_eq.
5132 (dummy_frame_pop): Add parameter ptid. Callers updated.
5133 Update comments. Compose dummy_frame_id and pass it to
5134 lookup_dummy_frame.
5135 (dummy_frame_discard): Add parameter ptid.
5136 (dummy_frame_sniffer): Compose dummy_frame_id and call
5137 dummy_frame_id_eq instead of frame_id_eq.
5138 (fprint_dummy_frames): Print ptid.
5139 * dummy-frame.h: Remove comments.
5140 (dummy_frame_push): Add ptid in declaration.
5141 (dummy_frame_pop, dummy_frame_discard): Likewise.
5142
5143 2014-06-26 Tom Tromey <tromey@redhat.com>
5144
5145 * cli/cli-cmds.c (error_no_arg): Make "why" const.
5146 * command.h (error_no_arg): Update.
5147
5148 2014-06-26 Tom Tromey <tromey@redhat.com>
5149
5150 * cli/cli-setshow.c (do_set_command): Make "arg" const.
5151 (do_show_command): Make "arg" const.
5152 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
5153
5154 2014-06-26 Tom Tromey <tromey@redhat.com>
5155
5156 * record-full.c (record_full_get_bookmark): Make "args" const.
5157 (record_full_goto_bookmark): Make "raw_bookmark" const.
5158 * record.c (record_goto): New function.
5159 (cmd_record_goto): Use it. Now static.
5160 * record.h (record_goto): Declare.
5161 (cmd_record_goto): Remove declaration.
5162 * target-delegates.c: Rebuild.
5163 * target.h (struct target_ops) <to_get_bookmark,
5164 to_goto_bookmark>: Make parameter const.
5165
5166 2014-06-26 Tom Tromey <tromey@redhat.com>
5167
5168 * defs.h (generic_load): Update.
5169 * m32r-rom.c (m32r_load_gen): Make "filename" const.
5170 * monitor.c (monitor_load): Make "args" const.
5171 * remote-m32r-sdi.c (m32r_load): Make "args" const.
5172 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
5173 const.
5174 (mips_load): Make "file" const.
5175 * remote-sim.c (gdbsim_load): Make "args" const.
5176 * remote.c (remote_load): Make "name" const.
5177 * symfile.c (generic_load): Make "args" const.
5178 * target-delegates.c: Rebuild.
5179 * target.c (target_load): Make "arg" const.
5180 (debug_to_load): Make "args" const.
5181 * target.h (struct target_ops) <to_load>: Make parameter const.
5182 (target_load): Update.
5183
5184 2014-06-26 Tom Tromey <tromey@redhat.com>
5185
5186 PR symtab/16902:
5187 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
5188 (dwarf2_physname, read_partial_die)
5189 (guess_partial_die_structure_name, fixup_partial_die)
5190 (guess_full_die_structure_name, anonymous_struct_prefix)
5191 (dwarf2_name): Use per-BFD obstack.
5192
5193 2014-06-26 Yao Qi <yao@codesourcery.com>
5194
5195 * dummy-frame.c (dummy_frame_sniffer): Move local variables
5196 dummyframe and this_id into inner block below.
5197
5198 2014-06-26 Yao Qi <yao@codesourcery.com>
5199
5200 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
5201 with "signal_pass[0]" in the initialization of signal_pass.
5202
5203 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5204
5205 * record-btrace.c (record_btrace_generating_corefile)
5206 (record_btrace_prepare_to_generate_core)
5207 (record_btrace_done_generating_core): New.
5208 (record_btrace_xfer_partial, record_btrace_fetch_registers)
5209 (record_btrace_store_registers, record_btrace_prepare_to_store):
5210 Forward request when generating a core file.
5211 (record_btrace_open): Set record_btrace_generating_corefile to zero.
5212 (init_record_btrace_ops): Set to_prepare_to_generate_core and
5213 to_done_generating_core.
5214
5215 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5216
5217 * target.h (target_ops) <to_prepare_to_generate_core>
5218 <to_done_generating_core>: New.
5219 (target_prepare_to_generate_core, target_done_generating_core): New.
5220 * target.c (target_prepare_to_generate_core)
5221 (target_done_generating_core): New.
5222 * target-delegates.c: Regenerate.
5223 * gcore.c: (write_gcore_file): Rename to ...
5224 (write_gcore_file_1): ...this.
5225 (write_gcore_file): Call target_prepare_to_generate_core
5226 and target_done_generating_core.
5227
5228 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5229
5230 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
5231 * gcore.c (write_gcore_file): Free memory returned from
5232 make_corefile_notes.
5233 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
5234 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
5235
5236 2014-06-24 Yao Qi <yao@codesourcery.com>
5237
5238 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
5239 (arm_linux_init_abi): Set skip_trampoline_code with
5240 gdbarch_skip_trampoline_code instead of
5241 find_solib_trampoline_target.
5242
5243 2014-06-24 Yao Qi <yao@codesourcery.com>
5244
5245 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
5246 arm_skip_bx_reg returns non-zero.
5247
5248 2014-06-24 Yao Qi <yao@codesourcery.com>
5249
5250 * arm-tdep.c (arm_skip_bx_reg): New function.
5251 (arm_skip_stub): Call arm_skip_bx_reg.
5252
5253 2014-06-23 Don Breazeal <donb@codesourcery.com>
5254
5255 * MAINTAINERS: Add myself as write-after-approval maintainer.
5256
5257 2014-06-23 Pedro Alves <palves@redhat.com>
5258
5259 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
5260 DR_CONTROL before setting DR0..DR3.
5261 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
5262 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
5263 bits of DR_CONTROL related to the debug register slot being
5264 disabled. If all slots are vacant, clear local slowdown as well,
5265 and assert DR_CONTROL is 0.
5266
5267 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5268
5269 * python/lib/gdb/command/xmethods.py
5270 (get_method_matchers_in_loci): Lookup xmethod matchers in the
5271 current progspace only if the string "progspace" matches LOCUS_RE.
5272
5273 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5274
5275 Fix --with-system-readline with readline-6.3 patch 5.
5276 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
5277 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
5278 types.
5279
5280 2014-06-20 Tom Tromey <tromey@redhat.com>
5281
5282 * dwarf2read.c (dw2_get_real_path): Use correct type in
5283 OBSTACK_CALLOC.
5284 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
5285
5286 2014-06-20 Gary Benson <gbenson@redhat.com>
5287
5288 * common/gdb_thread_db.h: Moved to nat. All includes updated.
5289 * common/glibc_thread_db.h: Likewise.
5290 * common/i386-cpuid.h: Likewise.
5291 * common/i386-gcc-cpuid.h: Likewise.
5292 * common/linux-btrace.h: Likewise.
5293 * common/linux-osdata.h: Likewise.
5294 * common/linux-procfs.h: Likewise.
5295 * common/linux-ptrace.h: Likewise.
5296 * common/mips-linux-watch.h: Likewise.
5297 * common/linux-btrace.c: Moved to nat.
5298 * common/linux-osdata.c: Likewise.
5299 * common/linux-procfs.c: Likewise.
5300 * common/linux-ptrace.c: Likewise.
5301 * common/mips-linux-watch.c: Likewise.
5302 * nat/gdb_thread_db.h: Moved from common.
5303 * nat/glibc_thread_db.h: Likewise.
5304 * nat/i386-cpuid.h: Likewise.
5305 * nat/i386-gcc-cpuid.h: Likewise.
5306 * nat/linux-btrace.c: Likewise.
5307 * nat/linux-btrace.h: Likewise.
5308 * nat/linux-osdata.c: Likewise.
5309 * nat/linux-osdata.h: Likewise.
5310 * nat/linux-procfs.c: Likewise.
5311 * nat/linux-procfs.h: Likewise.
5312 * nat/linux-ptrace.c: Likewise.
5313 * nat/linux-ptrace.h: Likewise.
5314 * nat/mips-linux-watch.c: Likewise.
5315 * nat/mips-linux-watch.h: Likewise.
5316 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
5317 (object file files): Reordered.
5318 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
5319 of glibc_thread_db.h.
5320
5321 2014-06-20 Gary Benson <gbenson@redhat.com>
5322
5323 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
5324 (i386_dr_low_type): Moved to nat/i386-dregs.h.
5325 (i386_dr_low): Likewise.
5326 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
5327 (i386_dr_low_set_addr): Likewise.
5328 (i386_dr_low_get_addr): Likewise.
5329 (i386_dr_low_can_set_control): Likewise.
5330 (i386_dr_low_set_control): Likewise.
5331 (i386_dr_low_get_control): Likewise.
5332 (i386_dr_low_get_status): Likewise.
5333 (i386_get_debug_register_length): Likewise.
5334 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
5335 (i386_dr_low): Likewise.
5336 * nat/i386-dregs.c (i386-low.h): Remove include.
5337 (i386-nat.h): Likewise.
5338 (nat/i386-dregs.h): New include.
5339 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
5340 (i386_dr_low_set_addr): Likewise.
5341 (i386_dr_low_get_addr): Likewise.
5342 (i386_dr_low_can_set_control): Likewise.
5343 (i386_dr_low_set_control): Likewise.
5344 (i386_dr_low_get_control): Likewise.
5345 (i386_dr_low_get_status): Likewise.
5346 (i386_get_debug_register_length): Likewise.
5347 (debug_hw_points): Likewise.
5348
5349 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5350
5351 * Makefile.in (SFILES): Add d-exp.y.
5352 (YYFILES): Add d-exp.c.
5353 (YYOBJ): Add d-exp.o.
5354 (local-maintainer-clean): Delete d-exp.c.
5355 * d-exp.y: New file.
5356 * d-lang.h (d_parse): New declaration.
5357 (d_error): New declaration.
5358 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
5359 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
5360 PREC_ORDER operators.
5361 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
5362
5363 2014-06-19 Yao Qi <yao@codesourcery.com>
5364
5365 * gdbthread.h (any_running): Remove the declaration.
5366 * thread.c (any_running): Remove.
5367
5368 2014-06-19 Yao Qi <yao@codesourcery.com>
5369
5370 * gdbthread.h (struct thread_info) <state>: Change its type to
5371 'enum thread_state'. Update comments.
5372
5373 2014-06-19 Pedro Alves <palves@redhat.com>
5374
5375 * gdbthread.h (ALL_THREADS): Delete.
5376 (ALL_NON_EXITED_THREADS): New macro.
5377 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
5378 instead of ALL_THREADS.
5379 * infrun.c (find_thread_needs_step_over)
5380 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
5381 instead of ALL_THREADS.
5382 * record-btrace.c (record_btrace_open)
5383 (record_btrace_stop_recording, record_btrace_close)
5384 (record_btrace_is_replaying, record_btrace_resume)
5385 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
5386 * remote.c (append_pending_thread_resumptions): Likewise.
5387 * thread.c (thread_apply_all_command): Likewise.
5388
5389 2014-06-19 Gary Benson <gbenson@redhat.com>
5390
5391 * i386-nat.c (i386_stopped_by_watchpoint):
5392 Use i386_dr_stopped_by_watchpoint.
5393 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
5394 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
5395
5396 2014-06-19 Gary Benson <gbenson@redhat.com>
5397
5398 * nat/i386-dregs.c: New file.
5399 * Makefile.in (i386-dregs.o): New rule.
5400 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
5401 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
5402 * config/i386/darwin.mh (NATDEPFILES): Likewise.
5403 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
5404 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
5405 * config/i386/go32.mh (NATDEPFILES): Likewise.
5406 * config/i386/linux.mh (NATDEPFILES): Likewise.
5407 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5408 * config/i386/mingw.mh (NATDEPFILES): Likewise.
5409 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
5410 * i386-nat.h (debug_hw_points): New declaration.
5411 * i386-nat.c (breakpoint.h): Remove include.
5412 (command.h): Likewise.
5413 (target.h): Likewise.
5414 (gdb_assert.h): Likewise.
5415 (debug_hw_points): Made nonstatic.
5416 (debug_printf): Now in i386-dregs.c.
5417 (TARGET_HAS_DR_LEN_8): Likewise.
5418 (DR_CONTROL_SHIFT): Likewise.
5419 (DR_CONTROL_SIZE): Likewise.
5420 (DR_RW_EXECUTE): Likewise.
5421 (DR_RW_WRITE): Likewise.
5422 (DR_RW_READ): Likewise.
5423 (DR_RW_IORW): Likewise.
5424 (DR_LEN_1): Likewise.
5425 (DR_LEN_2): Likewise.
5426 (DR_LEN_4): Likewise.
5427 (DR_LEN_8): Likewise.
5428 (DR_LOCAL_ENABLE_SHIFT): Likewise.
5429 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
5430 (DR_ENABLE_SIZE): Likewise.
5431 (DR_LOCAL_SLOWDOWN): Likewise.
5432 (DR_GLOBAL_SLOWDOWN): Likewise.
5433 (DR_CONTROL_RESERVED): Likewise.
5434 (I386_DR_CONTROL_MASK): Likewise.
5435 (I386_DR_VACANT): Likewise.
5436 (I386_DR_LOCAL_ENABLE): Likewise.
5437 (I386_DR_GLOBAL_ENABLE): Likewise.
5438 (I386_DR_DISABLE): Likewise.
5439 (I386_DR_SET_RW_LEN): Likewise.
5440 (I386_DR_GET_RW_LEN): Likewise.
5441 (I386_DR_WATCH_HIT): Likewise.
5442 (i386_wp_op_t): Likewise.
5443 (i386_show_dr): Likewise.
5444 (i386_length_and_rw_bits): Likewise.
5445 (i386_insert_aligned_watchpoint): Likewise.
5446 (i386_remove_aligned_watchpoint): Likewise.
5447 (i386_handle_nonaligned_watchpoint): Likewise.
5448 (i386_update_inferior_debug_regs): Likewise.
5449 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
5450 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
5451 (i386_region_ok_for_watchpoint):
5452 Use i386_dr_region_ok_for_watchpoint.
5453 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
5454
5455 2014-06-19 Gary Benson <gbenson@redhat.com>
5456
5457 * i386-nat.c (i386_insert_hw_breakpoint): Use
5458 i386_insert_watchpoint.
5459 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
5460
5461 2014-06-19 Gary Benson <gbenson@redhat.com>
5462
5463 * i386-nat.c (i386_dr_show): Renamed to
5464 i386_show_dr and made static. All uses updated.
5465 (i386_dr_length_and_rw_bits): Renamed to
5466 i386_length_and_rw_bits and made static.
5467 All uses updated.
5468 (i386_dr_insert_aligned_watchpoint): Renamed to
5469 i386_insert_aligned_watchpoint and made static.
5470 All uses updated.
5471 (i386_dr_remove_aligned_watchpoint): Renamed to
5472 i386_remove_aligned_watchpoint and made static.
5473 All uses updated.
5474 (i386_dr_update_inferior_debug_regs): Renamed to
5475 i386_update_inferior_debug_regs and made static.
5476 All uses updated.
5477 * nat/i386-dregs.h (i386_dr_show): Removed.
5478 (i386_dr_length_and_rw_bits): Likewise.
5479 (i386_dr_insert_aligned_watchpoint): Likewise.
5480 (i386_dr_remove_aligned_watchpoint): Likewise.
5481 (i386_dr_update_inferior_debug_regs): Likewise.
5482
5483 2014-06-19 Gary Benson <gbenson@redhat.com>
5484
5485 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
5486 * configure: Regenerate.
5487 * config.in: Likewise.
5488 * main.c (signal.h): New include.
5489 (setup_alternate_signal_stack): New function.
5490 (captured_main): Call the above.
5491 * cp-support.c (signal.h): New include.
5492 (catch_demangler_crashes): New flag.
5493 (SIGJMP_BUF): New define.
5494 (SIGSETJMP): Likewise.
5495 (SIGLONGJMP): Likewise.
5496 (gdb_demangle_jmp_buf): New static global.
5497 (gdb_demangle_attempt_core_dump): Likewise.
5498 (gdb_demangle_signal_handler): New function.
5499 (gdb_demangle): If catch_demangler_crashes is set, install the
5500 above signal handler before calling bfd_demangle, and restore
5501 the original signal handler afterwards. Display the offending
5502 symbol and call demangler_warning the first time a segmentation
5503 fault is caught.
5504 (_initialize_cp_support): New maint set/show command.
5505
5506 2014-06-19 Gary Benson <gbenson@redhat.com>
5507
5508 * utils.h (resource_limit_kind): New enum.
5509 (can_dump_core): New declaration.
5510 (warn_cant_dump_core): Likewise.
5511 (dump_core): Likewise.
5512 * utils.c (dump_core): Made nonstatic. Added new
5513 parameter "limit_kind".
5514 (can_dump_core): Made nonstatic. Moved printing code to...
5515 (warn_cant_dump_core): New function.
5516 (can_dump_core_warn): Likewise.
5517 (internal_vproblem): Replace calls to can_dump_core with
5518 calls to can_dump_core_warn. Supply new argument to each.
5519
5520 2014-06-19 Gary Benson <gbenson@redhat.com>
5521
5522 * utils.h (demangler_vwarning): New declaration.
5523 (demangler_warning): Likewise.
5524 * utils.c (struct internal_problem)
5525 <user_settable_should_quit>: New field.
5526 <user_settable_should_dump_core>: Likewise
5527 (internal_error_problem): Add values for above new fields.
5528 (internal_warning_problem): Likewise.
5529 (demangler_warning_problem): New static global.
5530 (demangler_vwarning): New function.
5531 (demangler_warning): Likewise.
5532 (add_internal_problem_command): Selectively add commands.
5533 (_initialize_utils): New internal problem command.
5534 * maint.c (maintenance_demangler_warning): New function.
5535 (_initialize_maint_cmds): New command.
5536
5537 2014-06-18 Tom Tromey <tromey@redhat.com>
5538
5539 * f-valprint.c (info_common_command_for_block): Update.
5540 * symtab.h (struct general_symbol_info) <common_block>: Now
5541 const.
5542
5543 2014-06-18 Tom Tromey <tromey@redhat.com>
5544
5545 * symtab.h (struct symtab) <blockvector>: Now const.
5546 * ada-lang.c (ada_add_global_exceptions): Update.
5547 * buildsym.c (augment_type_symtab): Update.
5548 * dwarf2read.c (dw2_lookup_symbol): Update.
5549 * jit.c (finalize_symtab): Update.
5550 * jv-lang.c (add_class_symtab_symbol): Update.
5551 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
5552 Update.
5553 * objfiles.c (objfile_relocate1): Update.
5554 * psymtab.c (lookup_symbol_aux_psymtabs)
5555 (maintenance_check_psymtabs): Update.
5556 * python/py-symtab.c (stpy_global_block, stpy_static_block):
5557 Update.
5558 * spu-tdep.c (spu_catch_start): Update.
5559 * symmisc.c (dump_symtab_1): Update.
5560 * symtab.c (lookup_global_symbol_from_objfile)
5561 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
5562 (basic_lookup_transparent_type_quick)
5563 (basic_lookup_transparent_type, find_pc_sect_symtab)
5564 (find_pc_sect_line, search_symbols): Update.
5565 * block.c (find_block_in_blockvector): Make "bl" const.
5566 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
5567 const.
5568 (blockvector_contains_pc): Make "bv" const.
5569 (block_for_pc_sect): Update.
5570 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5571 (blockvector_contains_pc): Update.
5572 * breakpoint.c (resolve_sal_pc): Update.
5573 * inline-frame.c (block_starting_point_at): Update.
5574
5575 2014-06-18 Tom Tromey <tromey@redhat.com>
5576
5577 * completer.c (complete_line): Make "line_buffer" const.
5578 * completer.h (complete_line): Update.
5579
5580 2014-06-18 Tom Tromey <tromey@redhat.com>
5581
5582 * symtab.c (add_macro_name): Remove unneeded cast.
5583
5584 2014-06-18 Tom Tromey <tromey@redhat.com>
5585
5586 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
5587 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
5588
5589 2014-06-18 Tom Tromey <tromey@redhat.com>
5590
5591 * probe.c (info_probes_for_ops): Make "arg" const.
5592 * probe.h (info_probes_for_ops): Update.
5593
5594 2014-06-18 Tom Tromey <tromey@redhat.com>
5595
5596 * varobj.c (varobj_create): Update.
5597 * valops.c (value_of_this): Update.
5598 * tracepoint.c (add_local_symbols, scope_info): Update.
5599 * symtab.h (struct general_symbol_info) <block>: Now const.
5600 * symtab.c (skip_prologue_sal)
5601 (default_make_symbol_completion_list_break_on)
5602 (skip_prologue_using_sal): Update.
5603 * stack.h (iterate_over_block_locals)
5604 (iterate_over_block_local_vars): Update.
5605 * stack.c (print_frame_args): Update.
5606 (iterate_over_block_locals, iterate_over_block_local_vars): Make
5607 parameter const.
5608 (get_selected_block): Make return type const.
5609 * python/py-frame.c (frapy_block): Update.
5610 * python/py-block.c (gdbpy_block_for_pc): Update.
5611 * p-exp.y (%union) <bval>: Now const.
5612 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
5613 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
5614 * m2-exp.y (%union) <bval>: Now const.
5615 * linespec.c (get_current_search_block): Make return type const.
5616 (create_sals_line_offset, find_label_symbols): Update.
5617 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
5618 Update.
5619 (block_starting_point_at): Make "block" const.
5620 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
5621 (check_exception_resume): Update.
5622 * guile/scm-frame.c (gdbscm_frame_block): Update.
5623 * guile/scm-block.c (gdbscm_lookup_block): Update.
5624 * frame.h (get_frame_block): Update.
5625 (get_selected_block): Make return type const.
5626 * frame.c (frame_id_inner): Update.
5627 * f-valprint.c (info_common_command_for_block)
5628 (info_common_command): Update.
5629 * dwarf2loc.c (dwarf2_find_location_expression)
5630 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
5631 (locexpr_describe_location_piece): Update.
5632 * c-exp.y (%union) <bval>: Now const.
5633 * breakpoint.c (resolve_sal_pc): Update.
5634 * blockframe.c (get_frame_block):Make return type const.
5635 (get_pc_function_start, get_frame_function, find_pc_sect_function)
5636 (block_innermost_frame): Update.
5637 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5638 (block_for_pc, block_for_pc_sect): Update.
5639 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
5640 'pblock' const.
5641 (block_for_pc_sect, block_for_pc): Make return type const.
5642 * ax-gdb.c (gen_expr): Update.
5643 * alpha-mdebug-tdep.c (find_proc_desc): Update.
5644 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
5645 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
5646 (ada_read_var_value): Update.
5647 * ada-exp.y (struct name_info) <block>: Now const.
5648 (%union): Likewise.
5649 (block_lookup): Constify.
5650
5651 2014-06-18 Gary Benson <gbenson@redhat.com>
5652
5653 * nat/i386-dregs.h: New file.
5654 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
5655 * i386-nat.h (i386-dregs.h): New include.
5656 (DR_FIRSTADDR): Now in i386-dregs.h.
5657 (DR_LASTADDR): Likewise.
5658 (DR_NADDR): Likewise.
5659 (DR_STATUS): Likewise.
5660 (DR_CONTROL): Likewise.
5661 (i386_debug_reg_state): Likewise.
5662 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
5663
5664 2014-06-18 Don Breazeal <donb@codesourcery.com>
5665
5666 * breakpoint.c (set_longjmp_breakpoint): Call
5667 momentary_breakpoint_from_master with additional argument.
5668 (set_longjmp_breakpoint_for_call_dummy): Call
5669 momentary_breakpoint_from_master with additional argument.
5670 (set_std_terminate_breakpoint): Call
5671 momentary_breakpoint_from_master with additional argument.
5672 (momentary_breakpoint_from_master): Add argument to function
5673 definition and use it to initialize structure member flag.
5674 (clone_momentary_breakpoint): Call
5675 momentary_breakpoint_from_master with additional argument.
5676 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
5677 member flags set in momentary_breakpoint_from_master.
5678
5679 2014-06-18 Gary Benson <gbenson@redhat.com>
5680
5681 * i386-nat.c (i386_show_dr): Renamed to
5682 i386_dr_show and made nonstatic. All uses updated.
5683 (i386_length_and_rw_bits): Renamed to
5684 i386_dr_length_and_rw_bits and made nonstatic.
5685 All uses updated.
5686 (i386_insert_aligned_watchpoint): Renamed to
5687 i386_dr_insert_aligned_watchpoint and made nonstatic.
5688 All uses updated.
5689 (i386_remove_aligned_watchpoint): Renamed to
5690 i386_dr_remove_aligned_watchpoint and made nonstatic.
5691 All uses updated.
5692 (i386_update_inferior_debug_regs): Renamed to
5693 i386_dr_update_inferior_debug_regs and made nonstatic.
5694 All uses updated.
5695
5696 2014-06-18 Gary Benson <gbenson@redhat.com>
5697
5698 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
5699 (i386_dr_low_can_set_control): Likewise.
5700 (i386_dr_low_set_addr): Likewise.
5701 (i386_dr_low_set_control): Likewise.
5702 (i386_dr_low_get_addr): Likewise.
5703 (i386_dr_low_get_status): Likewise.
5704 (i386_dr_low_get_control): Likewise.
5705 (i386_insert_aligned_watchpoint): Use new macros.
5706 (i386_update_inferior_debug_regs): Likewise.
5707 (i386_stopped_data_address): Likewise.
5708
5709 2014-06-18 Gary Benson <gbenson@redhat.com>
5710
5711 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
5712 New parameter. All uses updated.
5713
5714 2014-06-18 Gary Benson <gbenson@redhat.com>
5715
5716 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
5717 All uses updated.
5718
5719 2014-06-18 Gary Benson <gbenson@redhat.com>
5720
5721 * i386-nat.c (debug_printf): New macro.
5722 (i386_get_debug_register_length): Likewise.
5723 (TARGET_HAS_DR_LEN_8): Use above macro.
5724 (i386_show_dr): Use debug_printf instead of puts_unfiltered
5725 and printf_unfiltered. Use phex to format values.
5726
5727 2014-06-18 Gary Benson <gbenson@redhat.com>
5728
5729 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
5730 Make const.
5731
5732 2014-06-18 Gary Benson <gbenson@redhat.com>
5733
5734 * i386-nat.c: Comment changes.
5735
5736 2014-06-18 Gary Benson <gbenson@redhat.com>
5737
5738 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
5739
5740 2014-06-18 Gary Benson <gbenson@redhat.com>
5741
5742 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
5743 (i386_insert_aligned_watchpoint): Likewise.
5744 (i386_remove_aligned_watchpoint): Likewise.
5745 (i386_handle_nonaligned_watchpoint): Likewise.
5746
5747 2014-06-18 Gary Benson <gbenson@redhat.com>
5748
5749 * i386-nat.c: Whitespace changes.
5750
5751 2014-06-17 Samuel Bronson <naesten@gmail.com>
5752
5753 * MAINTAINERS: Update Roland McGrath's email address.
5754 Thanks to Sergio Durigan Junior for pointing out that he left
5755 Red Hat a while ago, and giving me a current address.
5756
5757 2014-06-17 Tom Tromey <tromey@redhat.com>
5758
5759 * utils.h (savestring): Remove declaration.
5760
5761 2014-06-17 Tom Tromey <tromey@redhat.com>
5762
5763 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
5764
5765 2014-06-16 Keith Seitz <keiths@redhat.com>
5766
5767 PR mi/15863
5768 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
5769 to update the varobj if inferior_ptid is null_ptid.
5770
5771 2014-06-16 Tom Tromey <tromey@redhat.com>
5772
5773 * target.h (struct target_ops) <to_info_proc>: Make parameter
5774 const.
5775 (target_info_proc): Update.
5776 * target.c (target_info_proc): Make "args" const.
5777 * procfs.c (procfs_info_proc): Update.
5778 * linux-tdep.c (linux_info_proc): Update.
5779 (linux_core_info_proc_mappings): Make "args" const.
5780 (linux_core_info_proc): Update.
5781 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
5782 * gdbarch.c: Rebuild.
5783 * gdbarch.h: Rebuild.
5784 * corelow.c (core_info_proc): Update.
5785
5786 2014-06-16 Tom Tromey <tromey@redhat.com>
5787
5788 * target.h (struct target_ops) <to_disconnect>: Make parameter
5789 const.
5790 (target_disconnect): Update.
5791 * target.c (target_disconnect): Make "args" const.
5792 * target-delegates.c: Rebuild.
5793 * remote.c (remote_disconnect): Update.
5794 * record.h (record_disconnect): Update.
5795 * record.c (record_disconnect): Update.
5796 * inf-child.c (inf_child_disconnect): Update.
5797
5798 2014-06-16 Tom Tromey <tromey@redhat.com>
5799
5800 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
5801 * target.c (debug_to_rcmd, default_rcmd): Update.
5802 * target-delegates.c: Rebuild.
5803 * remote.c (remote_rcmd): Update.
5804 * monitor.c (monitor_rcmd): Update.
5805
5806 2014-06-16 Pedro Alves <palves@redhat.com>
5807
5808 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
5809 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
5810 have OBJF_SHARED set.
5811 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
5812 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
5813 instead of OBJF_USERLOADED.
5814 * objfiles.h (OBJF_SHARED): Update comment.
5815 (userloaded_objfile_contains_address_p): Rename to ...
5816 (shared_objfile_contains_address_p): ... this, and update
5817 comments.
5818 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
5819 new objfile.
5820 (remove_symbol_file_command): Skip objfiles that don't have
5821 OBJF_SHARED set.
5822
5823 2014-06-16 Tom Tromey <tromey@redhat.com>
5824
5825 * minsyms.h (prim_record_minimal_symbol)
5826 (prim_record_minimal_symbol_and_info): Update comments.
5827
5828 2014-06-14 Eli Zaretskii <eliz@gnu.org>
5829
5830 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
5831 or --without-guile, according to how GDB was built.
5832
5833 2014-06-13 Tom Tromey <tromey@redhat.com>
5834
5835 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
5836 to help_list.
5837 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
5838 to help_list.
5839 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
5840 help_list.
5841 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
5842 help_list.Pass all_commands, not -1, to help_list.
5843 * cli/cli-dump.c (dump_command, append_command)
5844 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
5845 (binary_dump_command, binary_append_command): Pass all_commands,
5846 not -1, to help_list.
5847 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
5848 -1, to help_list.
5849 * valprint.c (set_print, set_print_raw): Pass all_commands, not
5850 -1, to help_list.
5851 * typeprint.c (set_print_type): Pass all_commands, not -1, to
5852 help_list.
5853 * top.c (set_history): Pass all_commands, not -1, to help_list.
5854 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
5855 all_commands, not -1, to help_list.
5856 * symfile.c (overlay_command): Pass all_commands, not -1, to
5857 help_list.
5858 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
5859 help_list.
5860 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
5861 help_list.
5862 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
5863 -1, to help_list.
5864 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
5865 not -1, to help_list.
5866 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
5867 not -1, to help_list.
5868 * maint.c (maintenance_command, maintenance_info_command)
5869 (maintenance_print_command, maintenance_set_cmd): Pass
5870 all_commands, not -1, to help_list.
5871 * macrocmd.c (macro_command): Pass all_commands, not -1, to
5872 help_list.
5873 * language.c (set_check): Pass all_commands, not -1, to help_list.
5874 * infcmd.c (unset_command): Pass all_commands, not -1, to
5875 help_list.
5876 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
5877 help_list.
5878 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
5879 help_list.
5880 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
5881 help_list.
5882 * breakpoint.c (save_command): Pass all_commands, not -1, to
5883 help_list.
5884 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
5885 all_commands, not -1, to help_list.
5886
5887 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
5888
5889 * regcache.c (struct register_to_invalidate): New structure.
5890 (do_register_invalidate, make_cleanup_regcache_invalidate): New
5891 functions.
5892 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
5893
5894 2014-06-12 Yao Qi <yao@codesourcery.com>
5895
5896 * varobj.c (varobj_get_num_children): Call
5897 varobj_is_dynamic_p.
5898 (varobj_list_children): Likewise.
5899 (varobj_update): Likewise. Update comments.
5900
5901 2014-06-12 Yao Qi <yao@codesourcery.com>
5902
5903 * varobj.c (varobj_pretty_printed_p): Rename to ...
5904 (varobj_is_dynamic_p): ... this. New function.
5905 * varobj.h (varobj_pretty_printed_p): Remove declaration.
5906 (varobj_is_dynamic_p): Declare.
5907 * mi/mi-cmd-var.c (print_varobj): All callers updated.
5908 (mi_print_value_p, varobj_update_one): Likewise.
5909
5910 2014-06-12 Pedro Alves <pedro@codesourcery.com>
5911 Yao Qi <yao@codesourcery.com>
5912
5913 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
5914 (varobj_get_iterator): Wrap up code for pretty-printer by
5915 "#if HAVE_PYTHON" and "#endif".
5916 (update_dynamic_varobj_children): Likewise.
5917
5918 2014-06-12 Pedro Alves <pedro@codesourcery.com>
5919 Yao Qi <yao@codesourcery.com>
5920
5921 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
5922 gdb_python_initialized is false. Move some code from varobj.c.
5923 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
5924 * varobj.c: Move "varobj-iter.h" inclusion earlier.
5925 (struct varobj_item): Moved to varobj-iter.h".
5926 (varobj_clear_saved_item): New function.
5927 (update_dynamic_varobj_children): Move python-related code to
5928 py-varobj.c.
5929 (free_variable): Call varobj_clear_saved_item and
5930 varobj_iter_delete.
5931
5932 2014-06-12 Pedro Alves <pedro@codesourcery.com>
5933 Yao Qi <yao@codesourcery.com>
5934
5935 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
5936 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
5937 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
5938 (py-varobj.o): New rule.
5939 * python/py-varobj.c: New file.
5940 * python/python-internal.h (py_varobj_get_iterator): Declare.
5941 * varobj-iter.h: New file.
5942 * varobj.c: Include "varobj-iter.h"
5943 (struct varobj) <child_iter>: Change its type from "PyObject *"
5944 to "struct varobj_iter *".
5945 <saved_item>: Likewise.
5946 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
5947 [HAVE_PYTHON] (varobj_get_iterator): New function.
5948 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
5949 python-specific code to python/py-varobj.c.
5950 (install_visualizer): Call varobj_iter_delete instead of
5951 Py_XDECREF.
5952 * varobj.h (varobj_ensure_python_env): Declare.
5953
5954 2014-06-12 Yao Qi <yao@codesourcery.com>
5955
5956 * varobj.c (struct varobj_item): New structure.
5957 (create_child_with_value): Update declaration.
5958 (varobj_add_child): Replace arguments 'name' and 'value' with
5959 'item'. All callers updated.
5960 (install_dynamic_child): Likewise.
5961 (update_dynamic_varobj_children): Likewise.
5962 (varobj_add_child): Likewise.
5963 (create_child_with_value): Likewise.
5964
5965 2014-06-11 Joel Brobecker <brobecker@adacore.com>
5966
5967 * NEWS: Create a new section for the next release branch.
5968 Rename the section of the current branch, now that it has
5969 been cut.
5970
5971 2014-06-11 Joel Brobecker <brobecker@adacore.com>
5972
5973 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
5974 * version.in: Bump version to 7.8.50.DATE-cvs.
5975
5976 2014-06-11 Pedro Alves <palves@redhat.com>
5977
5978 PR remote/17028
5979 * ser-mingw.c (net_windows_socket_check_pending): New function.
5980 (net_windows_select_thread): Ignore spurious wakeups. Use
5981 net_windows_socket_check_pending.
5982 (net_windows_wait_handle): Check for pending events with
5983 ioctlsocket, through net_windows_socket_check_pending, instead of
5984 checking the socket's event.
5985
5986 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
5987
5988 * python/python-internal.h (gdb_PyObject_GetAttrString)
5989 (gdb_PyObject_HasAttrString): New inline function definitions.
5990 * py-value.c (get_field_flag): Remove the now unnecessary cast to
5991 char * of the second argument to PyObject_GetAttrString.
5992
5993 2014-06-10 Joel Brobecker <brobecker@adacore.com>
5994
5995 * serial.c (serial_write): Fix index of character to be printed
5996 in call to serial_logchar when serial debug traces are enabled.
5997
5998 2014-06-10 Joel Brobecker <brobecker@adacore.com>
5999
6000 * gdbtypes (resolve_dynamic_range): Add function description.
6001
6002 2014-06-09 Pedro Alves <palves@redhat.com>
6003
6004 * linux-nat.c (linux_child_follow_fork): Initialize status with
6005 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
6006 inner block. Only pass the signal to PTRACE_DETACH if in pass
6007 state.
6008
6009 2014-06-09 Gary Benson <gbenson@redhat.com>
6010
6011 * common/signals.c (gdb_signal_from_host): Reorder to separate
6012 the always-available ANSI-standard signals from the signals that
6013 require checking.
6014 (do_gdb_signal_to_host): Likewise.
6015 * proc-events.c (signal_table): Likewise.
6016
6017 2014-06-08 Hui Zhu <hui@codesourcery.com>
6018
6019 * common/linux-ptrace.c (linux_disable_event_reporting): New
6020 function.
6021 * common/linux-ptrace.h (linux_disable_event_reporting): New
6022 declaration.
6023 * linux-nat.c (linux_child_follow_fork): Do a single step before
6024 detach.
6025
6026 2014-06-07 Keith Seitz <keiths@redhat.com>
6027
6028 Revert:
6029 PR c++/16253
6030 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6031 from symbol_matches_domain in symtab.c. All local callers
6032 of symbol_matches_domain updated.
6033 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6034 search STRUCT_DOMAIN.
6035 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6036 independently. standard_lookup will do that automatically.
6037 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6038 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6039 (cp_lookup_symbol_in_namespace): Likewise.
6040 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6041 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6042 may return a STRUCT_DOMAIN match.
6043 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6044 * cp-support.c: Include language.h.
6045 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6046 VAR_DOMAIN.
6047 * psymtab.c (match_partial_symbol): Compare the requested
6048 domain with the symbol's domain directly.
6049 (lookup_partial_symbol): Likewise.
6050 * symtab.c (lookup_symbol_in_language): Explain when/why
6051 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6052 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6053 appropriate languages.
6054 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6055 and moved to ada-lang.c
6056 (lookup_block_symbol): Explain that this function only returns
6057 symbol matching the requested DOMAIN.
6058 Compare the requested domain with the symbol's domain directly.
6059 (iterate_over_symbols): Compare the requested domain with the
6060 symbol's domain directly.
6061 * symtab.h (symbol_matches_domain): Remove.
6062
6063 2014-06-06 Doug Evans <xdje42@gmail.com>
6064
6065 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
6066 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
6067 (gdbscm_guile_version_is_at_least): Declare.
6068 (gdbscm_scm_string_to_int): Declare.
6069 * guile/guile.c (gdbscm_guile_major_version): New global.
6070 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
6071 (guile_datadir): New static global.
6072 (gdbscm_guile_data_directory): New function.
6073 (initialize_scheme_side): Update.
6074 (misc_guile_functions): Add guile-data-directory.
6075 (initialize_gdb_module): Fetch guile version number.
6076 * guile/lib/gdb.scm: Remove call to add-to-load-path.
6077 * guile/lib/gdb/init.scm (%initialize!): Ditto.
6078 * guile/lib/gdb/boot.scm: Use guile-data-directory.
6079 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
6080 comments.
6081 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
6082 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
6083 * guile/scm-value.c (gdbscm_value_to_string): Only call
6084 scm_port_conversion_strategy if Guile version >= 2.0.6.
6085
6086 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
6087
6088 * main.c (print_gdb_help): Add -q and --silent.
6089
6090 2014-06-06 Gary Benson <gbenson@redhat.com>
6091
6092 * common/signals.c: Remove preprocessor conditionals for
6093 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6094 SIGSEGV and SIGTERM.
6095 * proc-events.c: Likewise.
6096
6097 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
6098
6099 * symfile.c (symfile_free_objfile): Remove restriction to
6100 OBJF_USERLOADED.
6101 * symfile-mem.c (symbol_file_add_from_memory): Call
6102 add_target_sections_of_objfile.
6103
6104 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6105
6106 * guile/scm-value.c (gdbscm_history_append_x): Use
6107 'vlscm_get_value_smob_arg_unsafe' instead of
6108 'vlscm_scm_to_value'.
6109
6110 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6111
6112 PR mi/15806
6113 * utils.c (printchar): Don't escape at all if quoter is NUL.
6114 Update function documentation to clarify effect of parameter
6115 QUOTER.
6116 * remote.c (escape_buffer): Pass '\\' as the quoter to
6117 fputstrn_unfiltered.
6118 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
6119 generate the output.
6120 (mi_solib_unloaded): Same.
6121
6122 2014-06-05 Joel Brobecker <brobecker@adacore.com>
6123
6124 * development.sh: Delete.
6125 * Makefile.in (config.status): Adjust dependency on development.sh.
6126 * configure.ac: Adjust development.sh source call.
6127 * configure: Regenerate.
6128
6129 2014-06-04 Doug Evans <xdje42@gmail.com>
6130
6131 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
6132 is_scheme_bkpt, spec.
6133 (bpscm_make_breakpoint_smob): Initialize new members.
6134 (gdbscm_create_breakpoint_x): Split into two ...
6135 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
6136 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
6137 (scheme_function breakpoint_functions): Update.
6138 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
6139 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
6140 register-breakpoint!.
6141
6142 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
6143
6144 PR server/17023
6145 * mem-break.c (z_type_supported): Return zero if
6146 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
6147
6148 2014-06-04 Tom Tromey <tromey@redhat.com>
6149
6150 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
6151 value_from_contents_and_address_unresolved.
6152 (ada_template_to_fixed_record_type_1): Likewise.
6153 (ada_which_variant_applies): Likewise.
6154 * value.h (value_from_contents_and_address_unresolved): Declare.
6155 * value.c (value_from_contents_and_address_unresolved): New
6156 function.
6157 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
6158 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
6159 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
6160
6161 2014-06-04 Tom Tromey <tromey@redhat.com>
6162
6163 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
6164
6165 2014-06-04 Tom Tromey <tromey@redhat.com>
6166
6167 * procfs.c (procfs_attach): Make "args" const.
6168 * windows-nat.c (windows_attach): Make "args" const.
6169 * nto-procfs.c (procfs_attach): Make "args" const.
6170 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
6171 * go32-nat.c (go32_attach): Make "args" const.
6172 * gnu-nat.c (gnu_attach): Make "args" const.
6173 * darwin-nat.c (darwin_attach): Make "args" const.
6174 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
6175 * linux-nat.c (linux_nat_attach): Make "args" const.
6176 * remote.c (extended_remote_attach_1, extended_remote_attach):
6177 Make "args" const.
6178 * target.h (struct target_ops) <to_attach>: Make "args" const.
6179 (find_default_attach): Likewise.
6180 * utils.c (parse_pid_to_attach): Make "args" const.
6181 * utils.h (parse_pid_to_attach): Update.
6182
6183 2014-06-04 Tom Tromey <tromey@redhat.com>
6184
6185 * target-delegates.c: Rebuild.
6186 * target.c (default_thread_address_space): New function.
6187 (target_thread_address_space): Simplify.
6188 * target.h (struct target_ops) <to_thread_address_space>: Add
6189 TARGET_DEFAULT_FUNC.
6190
6191 2014-06-04 Doug Evans <xdje42@gmail.com>
6192
6193 * guile/scm-type.c (type_smob): Remove duplicate typedef.
6194
6195 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
6196
6197 * record-btrace.c: Include event-loop.h and inf-loop.h.
6198 (record_btrace_resume_exec_dir)
6199 (record_btrace_async_inferior_event_handler)
6200 (record_btrace_handle_async_inferior_event): New.
6201 (record_btrace_open): Create async event handler.
6202 (record_btrace_close): Delete async event handler.
6203 (record_btrace_resume): Set record_btrace_resume_exec_dir,
6204 Mark async event handler.
6205 (record_btrace_execution_direction): New.
6206 (init_record_btrace_ops): Initialize to_execution_direction.
6207
6208 2014-06-03 Doug Evans <xdje42@gmail.com>
6209
6210 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
6211 (gdbscm_make_parameter): Ditto.
6212
6213 2014-06-03 Doug Evans <dje@google.com>
6214
6215 * exec.c (exec_close_1): Call clear_section_table instead of
6216 resize_section_table.
6217 (clear_section_table): New function.
6218 (resize_section_table): Make static. Rename arg num_added to
6219 adjustment.
6220 * exec.h (clear_section_table): Declare.
6221 (resize_section_table): Delete.
6222 * progspace.c (release_program_space): Call clear_section_table
6223 instead of resize_section_table.
6224
6225 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6226
6227 * NEWS (Python Scripting): Add entry about the new xmethods
6228 feature.
6229
6230 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6231
6232 * python/py-xmethods.c: New file.
6233 * python/py-objfile.c (objfile_object): New field 'xmethods'.
6234 (objfpy_dealloc): XDECREF on the new xmethods field.
6235 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
6236 field.
6237 (objfpy_get_xmethods): New function.
6238 (objfile_getset): New entry 'xmethods'.
6239 * python/py-progspace.c (pspace_object): New field 'xmethods'.
6240 (pspy_dealloc): XDECREF on the new xmethods field.
6241 (pspy_new, pspace_to_pspace_object): Initialize xmethods
6242 field.
6243 (pspy_get_xmethods): New function.
6244 (pspace_getset): New entry 'xmethods'.
6245 * python/python-internal.h: Add declarations for new functions.
6246 * python/python.c (_initialize_python): Invoke
6247 gdbpy_initialize_xmethods.
6248 * python/lib/gdb/__init__.py (xmethods): New
6249 attribute.
6250 * python/lib/gdb/xmethod.py: New file.
6251 * python/lib/gdb/command/xmethods.py: New file.
6252
6253 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6254
6255 * eval.c (evaluate_subexp_standard): Call the xmethod if the
6256 best match method returned by find_overload_match is an xmethod.
6257 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
6258 the best matching operator returned by find_overload_match is an
6259 xmethod.
6260 * valops.c: #include "extension.h".
6261 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
6262 Return void. The list of matching source methods is returned in
6263 "fn_list" and a vector of matching debug method workers is
6264 returned in "xm_worker_vec". Update all callers.
6265 (value_find_oload_method_list): Likewise.
6266 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
6267 non-NULL, then the index of the best matching method in this
6268 vector is returned. Update all callers.
6269 (find_overload_match): Include xmethods while performing overload
6270 resolution.
6271
6272 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6273
6274 * defs.h (enum lval_type): New enumerator "lval_xcallable".
6275 * extension-priv.h (struct extension_language_ops): Add the
6276 xmethod interface.
6277 * extension.c (new_xmethod_worker, clone_xmethod_worker,
6278 get_matching_xmethod_workers, get_xmethod_argtypes,
6279 invoke_xmethod, free_xmethod_worker,
6280 free_xmethod_worker_vec): New functions.
6281 * extension.h: #include "common/vec.h".
6282 New function declarations.
6283 (struct xmethod_worker): New struct.
6284 (VEC (xmethod_worker_ptr)): New vector type.
6285 (xmethod_worker_ptr): New typedef.
6286 (xmethod_worker_vec): Likewise.
6287 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
6288 builtin_type.
6289 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
6290 (struct builtin_type): New field "xmethod".
6291 * valarith.c (value_ptradd): Assert that the value argument is not
6292 lval_xcallable.
6293 * valops.c (value_must_coerce_to_target): Return 0 for
6294 lval_xcallable values.
6295 * value.c (struct value): New field XM_WORKER in the field
6296 LOCATION.
6297 (value_address, value_raw_address): Return 0 for lval_xcallable
6298 values.
6299 (set_value_address): Assert that the value is not an
6300 lval_xcallable.
6301 (value_free): Free the associated xmethod worker when freeing
6302 lval_xcallable values.
6303 (set_value_component_location): Assert that the WHOLE value is not
6304 lval_xcallable.
6305 (value_of_xmethod, call_xmethod): New functions.
6306 * value.h: Declare "struct xmethod_worker".
6307 Declare new functions value_of_xmethod, call_xmethod.
6308
6309 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6310 Pedro Alves <palves@redhat.com>
6311
6312 PR breakpoints/17000
6313 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
6314 New function, extracted from software_breakpoint_inserted_here_p.
6315 (software_breakpoint_inserted_here_p): Replace factored out code
6316 by call to find_non_raw_software_breakpoint_inserted_here.
6317 (bp_target_info_copy_insertion_state): New function.
6318 (bkpt_insert_location): Handle the case of a single-step
6319 breakpoint already inserted at the same address.
6320 (bkpt_remove_location): Handle the case of a single-step
6321 breakpoint still inserted at the same address.
6322 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
6323 breakpoint already inserted at the same address.
6324 (deprecated_remove_raw_breakpoint): Handle the case of a
6325 non-raw breakpoint still inserted at the same address.
6326 (find_single_step_breakpoint): New function, extracted from
6327 single_step_breakpoint_inserted_here_p.
6328 (find_single_step_breakpoint): New function,
6329 factored out from single_step_breakpoint_inserted_here_p.
6330 (single_step_breakpoint_inserted_here_p): Reimplement.
6331
6332 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6333
6334 Pushed by Joel Brobecker <brobecker@adacore.com>
6335 * source.c (show_substitute_path_command): Fix display of matching
6336 substitution rules.
6337
6338 2014-06-03 Gary Benson <gbenson@redhat.com>
6339
6340 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
6341
6342 2014-06-02 Doug Evans <xdje42@gmail.com>
6343
6344 Add parameter support for Guile.
6345 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
6346 (SUBDIR_GUILE_SRCS): Add scm-param.c.
6347 (scm-param.o): New rule.
6348 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
6349 (gdbscm_misc_error): Declare.
6350 (gdbscm_canonicalize_command_name): Declare.
6351 (gdbscm_scm_to_host_string): Declare.
6352 (gdbscm_scm_from_host_string): Declare.
6353 (gdbscm_initialize_parameters): Declare.
6354 * guile/guile.c (initialize_gdb_module): Call
6355 gdbscm_initialize_parameters.
6356 * guile/lib/gdb.scm: Export parameter symbols.
6357 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
6358 cmdscm_canonicalize_name and made public. All callers updated.
6359 * guile/scm-exception.c (gdbscm_misc_error): New function.
6360 * guile/scm-param.c: New file.
6361 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
6362 (gdbscm_scm_to_host_string): New function.
6363 (gdbscm_scm_from_host_string): New function.
6364 * scm-utils.c (gdbscm_gc_dup_argv): New function.
6365
6366 2014-06-02 Doug Evans <xdje42@gmail.com>
6367
6368 Add command support for Guile.
6369 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
6370 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
6371 (scm-cmd.o): New rule.
6372 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
6373 (gdbscm_user_error_p): Declare.
6374 (gdbscm_parse_command_name): Declare.
6375 (gdbscm_valid_command_class_p): Declare.
6376 (gdbscm_initialize_commands): Declare.
6377 * guile/guile.c (initialize_gdb_module): Call
6378 gdbscm_initialize_commands.
6379 * guile/lib/gdb.scm: Export command symbols.
6380 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
6381 (throw-user-error): New function.
6382 * guile/scm-cmd.c: New file.
6383 * guile/scm-exception.c (user_error_symbol): New static global.
6384 (gdbscm_user_error_p): New function.
6385 (gdbscm_initialize_exceptions): Set user_error_symbol.
6386 * scm-utils.c (gdbscm_gc_xstrdup): New function.
6387
6388 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
6389
6390 * top.c (command_loop): Handle comments here...
6391 (command_line_input): ... not here.
6392
6393 2014-06-02 Doug Evans <xdje42@gmail.com>
6394
6395 Add progspace support for Guile.
6396 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
6397 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
6398 (scm-progspace.o): New rule.
6399 * guile/guile-internal.h (pspace_smob): New typedef.
6400 (psscm_pspace_smob_pretty_printers): Declare.
6401 (psscm_pspace_smob_from_pspace): Declare.
6402 (psscm_scm_from_pspace): Declare.
6403 * guile/guile.c (initialize_gdb_module): Call
6404 gdbscm_initialize_pspaces.
6405 * guile/lib/gdb.scm: Export progspace symbols.
6406 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
6407 support.
6408 (append-pretty-printer!): Ditto.
6409 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
6410 Implement.
6411 * guile/scm-progspace.c: New file.
6412
6413 2014-06-03 Alan Modra <amodra@gmail.com>
6414
6415 * ppc64-tdep.c (ppc64_standard_linkage8): New.
6416 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
6417
6418 2014-06-02 Doug Evans <dje@google.com>
6419
6420 Add support for skeletonless type units.
6421 * dwarf2read.c (struct dwarf2_per_objfile): New member
6422 n_allocated_type_units.
6423 (struct dwarf2_per_objfile) <tu_stats>: New member
6424 nr_all_type_units_reallocs.
6425 (create_signatured_type_table_from_index): Initialize
6426 n_allocated_type_units
6427 (create_all_type_units): Ditto.
6428 (add_type_unit): Move up in file. New arg slot.
6429 All callers updated. Increase space for all_type_units more
6430 efficiently.
6431 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
6432 (lookup_dwo_signatured_type): Handle skeletonless TUs.
6433 (lookup_dwp_signatured_type): Ditto.
6434 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
6435 All callers updated.
6436 (build_type_psymtabs_1): Leave type_unit_groups as
6437 NULL if no TUs present.
6438 (print_tu_stats): New function.
6439 (process_skeletonless_type_unit): New function.
6440 (process_dwo_file_for_skeletonless_type_units): New
6441 function.
6442 (process_skeletonless_type_units): New function.
6443 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
6444 Call print tu_stats if debugging enabled.
6445
6446 2014-06-02 Pedro Alves <palves@redhat.com>
6447
6448 * breakpoint.c (build_target_command_list): Don't build a command
6449 list if we have any duplicate location that isn't a dprintf.
6450
6451 2014-06-02 Pedro Alves <palves@redhat.com>
6452
6453 * breakpoint.c (dprintf_breakpoint_hit): New function.
6454 (initialize_breakpoint_ops): Install it as dprintf's
6455 breakpoint_hit method.
6456
6457 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6458
6459 * source.c (substitute_path_rule_matches): Simplify using
6460 filename_ncmp instead of FILENAME_CMP.
6461
6462 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6463
6464 * source.c (substitute_path_rule_matches): Remove trailing spaces.
6465
6466 2014-06-01 Ludovic Courtès <ludo@gnu.org>
6467
6468 * configure.ac: When Guile is available, check for the
6469 availability of 'scm_new_smob'.
6470 * configure, config.h.in: Regenerate.
6471 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
6472 function.
6473
6474 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6475
6476 * frame.c (struct frame_info): Add stop_string field.
6477 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
6478 (get_prev_frame_always): Old content moved into
6479 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
6480 TRY_CATCH, handle MEMORY_ERROR exceptions.
6481 (frame_stop_reason_string): New function definition.
6482 * frame.h (unwind_stop_reason_to_string): Extend comment to
6483 mention frame_stop_reason_string.
6484 (frame_stop_reason_string): New function declaration.
6485 * stack.c (frame_info): Switch to frame_stop_reason_string.
6486 (backtrace_command_1): Switch to frame_stop_reason_string.
6487 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
6488 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
6489 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
6490
6491 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6492
6493 * frame.c (frame_stop_reason_string): Rename to ...
6494 (unwind_stop_reason_to_string): this.
6495 * frame.h (frame_stop_reason_string): Rename to ...
6496 (unwind_stop_reason_to_string): this.
6497 * stack.c (frame_info): Update call to frame_stop_reason_string.
6498 (backtrace_command_1): Likewise.
6499 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
6500 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
6501
6502 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6503
6504 * frame.c (remove_prev_frame): New function.
6505 (get_prev_frame_if_no_cycle): Create / discard cleanup using
6506 remove_prev_frame.
6507
6508 2014-05-29 Pedro Alves <palves@redhat.com>
6509
6510 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
6511 and make it const. When a single-step decays to a continue,
6512 clear 'step', not 'hw_step'. Pass whether the caller wanted
6513 to step to user_visible_resume_ptid, not what we ask the
6514 target to do.
6515
6516 2014-05-29 Pedro Alves <palves@redhat.com>
6517
6518 * infrun.c (process_event_stop_test, handle_step_into_function)
6519 (handle_step_into_function_backward): Adjust.
6520 Don't set the even thread's stop_step and call stop_waiting before
6521 calling end_stepping_range. Instead do that ...
6522 (end_stepping_range): ... here. Take an ecs pointer parameter.
6523
6524 2014-05-29 Pedro Alves <palves@redhat.com>
6525
6526 * infrun.c (stop_stepping): Rename to ...
6527 (stop_waiting): ... this.
6528 (proceed): Update comment.
6529 (process_event_stop_test, handle_inferior_event)
6530 (handle_signal_stop, handle_step_into_function)
6531 (handle_step_into_function_backward): Update.
6532
6533 2014-05-29 Pedro Alves <palves@redhat.com>
6534
6535 * infcall.c (run_inferior_call): Don't check whether the current
6536 thread is running after the proceed call.
6537
6538 2014-05-29 Pedro Alves <palves@redhat.com>
6539 Tom Tromey <tromey@redhat.com>
6540
6541 * NEWS: Mention "maint set target-async", "set mi-async", and that
6542 background execution commands are now always available.
6543 * target.h (target_async_permitted): Update comment.
6544 * target.c (target_async_permitted, target_async_permitted_1):
6545 Default to 1.
6546 (set_target_async_command): Rename to ...
6547 (maint_set_target_async_command): ... this.
6548 (show_target_async_command): Rename to ...
6549 (maint_show_target_async_command): ... this.
6550 (_initialize_target): Adjust.
6551 * infcmd.c (prepare_execution_command): Make extern.
6552 * inferior.h (prepare_execution_command): Declare.
6553 * infrun.c (set_observer_mode): Leave target async alone.
6554 * mi/mi-interp.c (mi_interpreter_init): Install
6555 mi_on_sync_execution_done as sync_execution_done observer.
6556 (mi_on_sync_execution_done): New function.
6557 (mi_execute_command_input_handler): Don't print the prompt if we
6558 just started a synchronous command with an async target.
6559 (mi_on_resume): Check sync_execution before printing prompt.
6560 * mi/mi-main.h (mi_async_p): Declare.
6561 * mi/mi-main.c: Include gdbcmd.h.
6562 (mi_async_p): New function.
6563 (mi_async, mi_async_1): New globals.
6564 (set_mi_async_command, show_mi_async_command, mi_async): New
6565 functions.
6566 (exec_continue): Call prepare_execution_command.
6567 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
6568 (mi_execute_async_cli_command): Use mi_async_p.
6569 (_initialize_mi_main): Install "set mi-async". Make
6570 "target-async" a deprecated alias.
6571
6572 2014-05-29 Pedro Alves <palves@redhat.com>
6573
6574 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
6575 (_initialize_cli_interp): Adjust.
6576 * event-loop.c: Include "observer.h".
6577 (start_event_loop): Notify 'command_error' observers instead of
6578 calling display_gdb_prompt. Remove FIXME comment.
6579 * event-top.c (display_gdb_prompt): Remove call into the
6580 interpreters.
6581 * inf-loop.c: Include "observer.h".
6582 (inferior_event_handler): Notify 'command_error' observers instead
6583 of calling display_gdb_prompt.
6584 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
6585 observers instead of calling display_gdb_prompt.
6586 * interps.c (interp_set): Don't call display_gdb_prompt.
6587 (current_interp_display_prompt_p): Delete.
6588 * interps.h (interp_prompt_p): Delete declaration.
6589 (interp_prompt_p_ftype): Delete.
6590 (struct interp_procs) <prompt_proc_p>: Delete field.
6591 (current_interp_display_prompt_p): Delete declaration.
6592 * mi-interp.c (mi_interpreter_prompt_p): Delete.
6593 (_initialize_mi_interp): Adjust.
6594 * tui-interp.c (tui_init): Install 'sync_execution_done' and
6595 'command_error' observers.
6596 (tui_on_sync_execution_done, tui_on_command_error): New
6597 functions.
6598 (tui_display_prompt_p): Delete.
6599 (_initialize_tui_interp): Adjust.
6600
6601 2014-05-29 Pedro Alves <palves@redhat.com>
6602
6603 PR gdb/13860
6604 * cli/cli-interp.c: Include infrun.h and observer.h.
6605 (cli_uiout, cli_interp): New globals.
6606 (cli_on_signal_received, cli_on_end_stepping_range)
6607 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
6608 functions.
6609 (cli_interpreter_init): Install them as 'end_stepping_range',
6610 'signal_received' 'signal_exited', 'exited' and 'no_history'
6611 observers.
6612 (_initialize_cli_interp): Remove cli_interp local.
6613 * infrun.c (handle_inferior_event): Call the several stop reason
6614 observers instead of printing the stop reason directly.
6615 (end_stepping_range): New function.
6616 (print_end_stepping_range_reason, print_signal_exited_reason)
6617 (print_exited_reason, print_signal_received_reason)
6618 (print_no_history_reason): Make static, and add an uiout
6619 parameter. Print to that instead of to CURRENT_UIOUT.
6620 * infrun.h (print_end_stepping_range_reason)
6621 (print_signal_exited_reason, print_exited_reason)
6622 (print_signal_received_reason print_no_history_reason): New
6623 declarations.
6624 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
6625 'mi_uiout'.
6626 <cli_uiout>: New field.
6627 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
6628 uiout for CLI output. Install 'signal_received',
6629 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
6630 observers.
6631 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
6632 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
6633 (mi_on_no_history): New functions.
6634 (ui_out_free_cleanup): Delete function.
6635 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
6636 instead use the one already stored in the MI interpreter data.
6637 (mi_ui_out): Adjust.
6638 * tui/tui-interp.c: Include infrun.h and observer.h.
6639 (tui_interp): New global.
6640 (tui_on_signal_received, tui_on_end_stepping_range)
6641 (tui_on_signal_exited, tui_on_exited)
6642 (tui_on_no_history): New functions.
6643 (tui_init): Install them as 'end_stepping_range',
6644 'signal_received' 'signal_exited', 'exited' and 'no_history'
6645 observers.
6646 (_initialize_tui_interp): Delete tui_interp local.
6647
6648 2014-05-29 Pedro Alves <palves@redhat.com>
6649
6650 PR gdb/15713
6651 * linux-nat.c (linux_nat_resume_callback): Rename the second
6652 parameter to 'except'. Skip LP if it points to EXCEPT.
6653 (linux_nat_resume): Don't mark the event lwp as not stopped
6654 before resuming sibling lwps. Instead ask
6655 linux_nat_resume_callback to skip the event lwp. Mark it as not
6656 stopped after actually resuming it.
6657 (linux_handle_syscall_trap): Mark the lwp as not stopped after
6658 resuming it.
6659 (wait_lwp): Mark the lwp as stopped here.
6660 (stop_wait_callback): Mark the lwp as not stopped right after
6661 resuming it. Don't mark lwps as stopped here.
6662 (linux_nat_filter_event): Mark the lwp as stopped earlier.
6663 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
6664
6665 2014-05-29 Pedro Alves <palves@redhat.com>
6666
6667 PR PR15693
6668 * infrun.c (resume): Determine how much to resume depending on
6669 whether the caller wanted a step, not whether we can hardware step
6670 the target. Mark all threads that we intend to run as running,
6671 unless we're calling an inferior function.
6672 (normal_stop): If the thread is running an infcall, don't finish
6673 thread state.
6674 * target.c (target_resume): Don't mark threads as running here.
6675
6676 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6677
6678 * serial.c (_initialize_serial): Remove support for
6679 the "set remotebaud" and "show remotebaud" commands.
6680 * NEWS: Add entry documenting the removal of that command.
6681
6682 2014-05-28 Yao Qi <yao@codesourcery.com>
6683
6684 * charset.c: Fix typo in comments.
6685
6686 2014-05-27 Gary Benson <gbenson@redhat.com>
6687
6688 * utils.c (internal_vproblem): Prompt for a bug report.
6689
6690 2014-05-26 Andy Wingo <wingo@igalia.com>
6691
6692 * guile/scm-arch.c (arscm_mark_arch_smob):
6693 * guile/scm-block.c (bkscm_mark_block_smob)
6694 (bkscm_mark_block_syms_progress_smob):
6695 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
6696 * guile/scm-exception.c (exscm_mark_exception_smob):
6697 * guile/scm-frame.c (frscm_mark_frame_smob):
6698 * guile/scm-iterator.c (itscm_mark_iterator_smob):
6699 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
6700 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
6701 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
6702 (ppscm_mark_pretty_printer_worker_smob):
6703 * guile/scm-symbol.c (syscm_mark_symbol_smob):
6704 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
6705 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
6706 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
6707 mark functions.
6708 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
6709 function.
6710
6711 2014-05-26 Andy Wingo <wingo@igalia.com>
6712 Doug Evans <xdje42@gmail.com>
6713
6714 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
6715 empty_base_class. All uses updated.
6716 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
6717 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
6718 Adapt all callers.
6719 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
6720 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
6721 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
6722 (gdbscm_gsmob_has_property_p, add_property_name)
6723 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
6724 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
6725 (gdb-object-has-property?, gdb-object-properties): Remove.
6726 (gdb-object-kind): Renamed from gsmob-kind.
6727
6728 2014-05-26 Andy Wingo <wingo@igalia.com>
6729
6730 * configure.ac (try_guile_versions): Allow building with guile 2.2.
6731 * configure: Regenerate.
6732
6733 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6734
6735 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
6736
6737 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6738
6739 * record-btrace.c (record_btrace_allow_memory_access): Remove.
6740 (replay_memory_access_read_only, replay_memory_access_read_write)
6741 (replay_memory_access_types, replay_memory_access)
6742 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
6743 (cmd_set_record_btrace, cmd_show_record_btrace)
6744 (cmd_show_replay_memory_access): New.
6745 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
6746 (record_btrace_remove_breakpoint): Replace
6747 record_btrace_allow_memory_access with replay_memory_access.
6748 (_initialize_record_btrace): Add commands.
6749 * NEWS: Announce it.
6750
6751 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6752
6753 * aarch64-linux-nat.c (asm/ptrace.h): Include.
6754
6755 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6756
6757 * MAINTAINERS (Write After Approval): Move self back from
6758 paper trail.
6759
6760 2014-05-22 Pedro Alves <palves@redhat.com>
6761
6762 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
6763 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
6764 (disable_randomization, enum exec_direction_kind)
6765 (execution_direction, stop_registers, start_remote)
6766 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
6767 (wait_for_inferior, normal_stop, get_last_target_status)
6768 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
6769 (insert_step_resume_breakpoint_at_sal)
6770 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
6771 (set_step_info, print_stop_event, signal_stop_state)
6772 (signal_print_state, signal_pass_state, signal_stop_update)
6773 (signal_print_update, signal_pass_update)
6774 (update_signals_program_target, clear_exit_convenience_vars)
6775 (displaced_step_dump_bytes, update_observer_mode)
6776 (signal_catch_update, gdb_signal_from_command): Move
6777 declarations ...
6778 * infrun.h: ... to this new file.
6779 * amd64-tdep.c: Include infrun.h.
6780 * annotate.c: Include infrun.h.
6781 * arch-utils.c: Include infrun.h.
6782 * arm-linux-tdep.c: Include infrun.h.
6783 * arm-tdep.c: Include infrun.h.
6784 * break-catch-sig.c: Include infrun.h.
6785 * breakpoint.c: Include infrun.h.
6786 * common/agent.c: Include infrun.h instead of inferior.h.
6787 * corelow.c: Include infrun.h.
6788 * event-top.c: Include infrun.h.
6789 * go32-nat.c: Include infrun.h.
6790 * i386-tdep.c: Include infrun.h.
6791 * inf-loop.c: Include infrun.h.
6792 * infcall.c: Include infrun.h.
6793 * infcmd.c: Include infrun.h.
6794 * infrun.c: Include infrun.h.
6795 * linux-fork.c: Include infrun.h.
6796 * linux-nat.c: Include infrun.h.
6797 * linux-thread-db.c: Include infrun.h.
6798 * monitor.c: Include infrun.h.
6799 * nto-tdep.c: Include infrun.h.
6800 * procfs.c: Include infrun.h.
6801 * record-btrace.c: Include infrun.h.
6802 * record-full.c: Include infrun.h.
6803 * remote-m32r-sdi.c: Include infrun.h.
6804 * remote-mips.c: Include infrun.h.
6805 * remote-notif.c: Include infrun.h.
6806 * remote-sim.c: Include infrun.h.
6807 * remote.c: Include infrun.h.
6808 * reverse.c: Include infrun.h.
6809 * rs6000-tdep.c: Include infrun.h.
6810 * s390-linux-tdep.c: Include infrun.h.
6811 * solib-irix.c: Include infrun.h.
6812 * solib-osf.c: Include infrun.h.
6813 * solib-svr4.c: Include infrun.h.
6814 * target.c: Include infrun.h.
6815 * top.c: Include infrun.h.
6816 * windows-nat.c: Include infrun.h.
6817 * mi/mi-interp.c: Include infrun.h.
6818 * mi/mi-main.c: Include infrun.h.
6819 * python/py-threadevent.c: Include infrun.h.
6820
6821 2014-05-22 Pedro Alves <palves@redhat.com>
6822
6823 * infrun.c (handle_inferior_event): Store the exit code for
6824 --return-child-result here, instead of ...
6825 (print_exited_reason): ... here.
6826
6827 2014-05-21 Pedro Alves <palves@redhat.com>
6828
6829 PR gdb/13860
6830 * gdbthread.h (struct thread_control_state): New field
6831 `command_interp'.
6832 * infrun.c (follow_fork): Copy the new thread control field to the
6833 child fork thread.
6834 (clear_proceed_status_thread): Clear the new thread control field.
6835 (proceed): Set the new thread control field.
6836 * interps.h (command_interp): Declare.
6837 * interps.c (command_interpreter): New global.
6838 (command_interp): New function.
6839 (interp_exec): Set `command_interpreter' while here.
6840 * cli-out.c (cli_uiout_dtor): New function.
6841 (cli_ui_out_impl): Install it.
6842 * mi/mi-interp.c: Include cli-out.h.
6843 (mi_cmd_interpreter_exec): Add comment.
6844 (restore_current_uiout_cleanup): New function.
6845 (ui_out_free_cleanup): New function.
6846 (mi_on_normal_stop): If finishing an execution command started by
6847 a CLI command, or any kind of breakpoint-like event triggered,
6848 print the stop event to the output (CLI) stream.
6849 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
6850
6851 2014-05-21 Pedro Alves <palves@redhat.com>
6852
6853 * cli/cli-cmds.c (list_command): Handle the first "list" after the
6854 current source line having changed.
6855 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
6856 * infrun.c (normal_stop): Adjust call to
6857 set_current_sal_from_frame.
6858 * source.c (clear_lines_listed_range): New function.
6859 (set_current_source_symtab_and_line, identify_source_line): Clear
6860 the lines listed range.
6861 (line_info): Handle the first "info line" after the current source
6862 line having changed.
6863 * stack.c (print_stack_frame): Remove center handling.
6864 (set_current_sal_from_frame): Remove 'center' parameter. Don't
6865 center sal.line.
6866
6867 2014-05-21 Pedro Alves <palves@redhat.com>
6868
6869 * inf-child.c (inf_child_mourn_inferior): New function.
6870 * inf-child.h (inf_child_mourn_inferior): New declaration.
6871 * darwin-nat.c (darwin_mourn_inferior): Use
6872 inf_child_mourn_inferior.
6873 * gnu-nat.c (gnu_mourn_inferior): Likewise.
6874 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
6875 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
6876 * nto-procfs.c (procfs_mourn_inferior): Likewise.
6877 * windows-nat.c (windows_mourn_inferior): Likewise.
6878
6879 2014-05-21 Doug Evans <xdje42@gmail.com>
6880
6881 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
6882
6883 2014-05-21 Doug Evans <xdje42@gmail.com>
6884
6885 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
6886 (gdbscm_out_of_range_error): Ditto.
6887 (gdbscm_memory_error): Ditto.
6888 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
6889 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
6890 (gdbscm_out_of_range_error): Update.
6891 (gdbscm_memory_error): Update.
6892 (gdbscm_scm_to_target_string_unsafe): Delete.
6893
6894 2014-05-21 Pedro Alves <palves@redhat.com>
6895
6896 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
6897 globals.
6898 (inf_child_open_target): New function.
6899 (inf_child_open): Use inf_child_open_target to push the target
6900 instead of erroring out.
6901 (inf_child_disconnect, inf_child_close)
6902 (inf_child_maybe_unpush_target): New functions.
6903 (inf_child_target): Install inf_child_disconnect and
6904 inf_child_close. Store a pointer to the returned object.
6905 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
6906 declarations.
6907 * target.c (auto_connect_native_target): New global.
6908 (show_default_run_target): New function.
6909 (find_default_run_target): Return NULL if automatically connecting
6910 to the native target is disabled.
6911 (_initialize_target): Install set/show auto-connect-native-target.
6912 * NEWS: Mention "set auto-connect-native-target", and "target
6913 native".
6914 * linux-nat.c (super_close): New global.
6915 (linux_nat_close): Call super_close.
6916 (linux_nat_add_target): Store a pointer to the base class's
6917 to_close method.
6918 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
6919 inf_child_maybe_unpush.
6920 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
6921 already pushed.
6922 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
6923 the inferior. Use inf_child_maybe_unpush_target.
6924 (inf_ttrace_attach): Don't push the target if it is already
6925 pushed.
6926 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
6927 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
6928 after mourning the inferior. Use inf_child_maybe_unpush_target.
6929 (darwin_attach_pid): Don't push the target if it is already
6930 pushed.
6931 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
6932 mourning the inferior. Use inf_child_maybe_unpush_target.
6933 (gnu_detach): Use inf_child_maybe_unpush_target.
6934 * go32-nat.c (go32_create_inferior): Don't push the target if it
6935 is already pushed.
6936 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
6937 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
6938 (procfs_open): Rename to ...
6939 (procfs_open_1): ... this. Add target_ops parameter. Adjust
6940 comments. Can target_preopen before changing node. Call
6941 inf_child_open_target to push the target explicitly.
6942 (procfs_attach): Don't push the target if it is already pushed.
6943 (procfs_detach): Use inf_child_maybe_unpush_target.
6944 (procfs_create_inferior): Don't push the target if it is already
6945 pushed.
6946 (nto_native_ops): New global.
6947 (procfs_open): Reimplement.
6948 (procfs_native_open): New function.
6949 (init_procfs_targets): Install procfs_native_open as to_open of
6950 "target native". Store a pointer to the "native" target in
6951 nto_native_ops.
6952 * procfs.c (procfs_attach): Don't push the target if it is already
6953 pushed.
6954 (procfs_detach): Use inf_child_maybe_unpush_target.
6955 (procfs_mourn_inferior): Only unpush the target after mourning the
6956 inferior. Use inf_child_maybe_unpush_target.
6957 (procfs_init_inferior): Don't push the target if it is already
6958 pushed.
6959 * windows-nat.c (do_initial_windows_stuff): Don't push the target
6960 if it is already pushed.
6961
6962 2014-05-21 Pedro Alves <palves@redhat.com>
6963
6964 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
6965 and "procfs" targets are now called "native" instead.
6966
6967 2014-05-21 Pedro Alves <palves@redhat.com>
6968
6969 * go32-nat.c (go32_open): Delete.
6970 (go32_target): Don't override the to_open method.
6971
6972 2014-05-21 Pedro Alves <palves@redhat.com>
6973
6974 * nto-procfs.c (procfs_can_run): New function.
6975 (nto_procfs_ops): New global.
6976 (init_procfs_targets): New, based on procfs_target. Install
6977 "target native" in addition to "target procfs".
6978 (_initialize_procfs): Call init_procfs_targets instead of adding
6979 the target here.
6980
6981 2014-05-21 Pedro Alves <palves@redhat.com>
6982
6983 * windows-nat.c (windows_target): Don't override to_shortname,
6984 to_longname or to_doc.
6985
6986 2014-05-21 Pedro Alves <palves@redhat.com>
6987
6988 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
6989 to_doc.
6990
6991 2014-05-21 Pedro Alves <palves@redhat.com>
6992
6993 * darwin-nat.c (_initialize_darwin_inferior): Don't override
6994 to_shortname, to_longname or to_doc.
6995
6996 2014-05-21 Pedro Alves <palves@redhat.com>
6997
6998 * go32-nat.c (go32_target): Don't override to_shortname,
6999 to_longname or to_doc.
7000
7001 2014-05-21 Pedro Alves <palves@redhat.com>
7002
7003 * inf-child.c (inf_child_open): Remove mention of "child".
7004 (inf_child_target): Rename target to "native" instead of "child".
7005
7006 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7007
7008 * Makefile.in (SFILES): Delete "regset.c".
7009 (COMMON_OBS): Delete "regset.o".
7010 * regset.c: Remove.
7011 * regset.h (regset_alloc): Delete prototype.
7012
7013 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7014
7015 * sparc-linux-tdep.c (sparc32_linux_gregset)
7016 (sparc32_linux_fpregset): New static regset structures.
7017 (sparc32_linux_init_abi): Drop dynamic regset allocations.
7018 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
7019 'fpregset' fields.
7020 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
7021 (sparc64_linux_fpregset): New static regset structures.
7022 (sparc64_linux_init_abi): Drop dynamic regset allocations.
7023 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
7024 New static regset structures.
7025 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
7026 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
7027 New static regset structures.
7028 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
7029 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
7030 New static regset structures.
7031 (sparc64obsd_init_abi): Drop dynamic regset allocations.
7032 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
7033 New static regset structures.
7034 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
7035
7036 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7037
7038 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
7039 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
7040 register maps ("regmaps") from "*regset" to "*regmap". Do this
7041 for all regmap types and variables.
7042 * sparc-linux-tdep.c (sparc32_linux_step_trap)
7043 (sparc32_linux_supply_core_gregset)
7044 (sparc32_linux_collect_core_gregset)
7045 (sparc32_linux_supply_core_fpregset)
7046 (sparc32_linux_collect_core_fpregset): Likewise.
7047 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
7048 (sparc_gregmap, sparc_fpregmap): ... these.
7049 (sparc_supply_gregset, sparc_collect_gregset)
7050 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7051 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
7052 (_initialize_sparc_nat): Rename regmaps.
7053 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
7054 (sparc_gregmap, sparc_fpregmap): ... these.
7055 (sparc_supply_gregset, sparc_collect_gregset)
7056 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7057 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
7058 Rename macros to...
7059 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
7060 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
7061 Likewise.
7062 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
7063 Rename to...
7064 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
7065 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
7066 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
7067 regmaps.
7068 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7069 (sparc32_bsd_fpregset): Rename to...
7070 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7071 (sparc32_bsd_fpregmap): ... these.
7072 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
7073 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7074 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
7075 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
7076 (struct sparc_gregmap, struct sparc_fpregmap)
7077 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7078 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
7079 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
7080 (sparc32_supply_regset, sparc32_collect_gregset)
7081 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
7082 prototypes.
7083 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
7084 (sparc64_linux_ptrace_gregmap): ... this.
7085 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
7086 (_initialize_sparc64_linux_nat): Rename regmaps.
7087 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
7088 (sparc64_linux_core_gregmap): ... this.
7089 (sparc64_linux_supply_core_gregset)
7090 (sparc64_linux_collect_core_gregset)
7091 (sparc64_linux_supply_core_fpregset)
7092 (sparc64_linux_collect_core_fpregset): Rename regmaps.
7093 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
7094 (sparc64_sol2_fpregset): Rename to...
7095 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
7096 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
7097 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
7098 regmaps.
7099 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
7100 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
7101 (sparc64_bsd_fpregset): Rename to...
7102 (struct sparc_gregmap, sparc64_sol2_gregmap)
7103 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
7104 (sparc64_bsd_fpregmap): ... these.
7105 (sparc64_supply_gregset, sparc64_collect_gregset)
7106 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
7107 prototypes.
7108 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
7109 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
7110 (sparc64fbsd_gregmap): ... this.
7111 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
7112 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
7113 Rename regmaps.
7114 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
7115 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
7116 (sparc64nbsd_collect_fpregset): Likewise.
7117 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
7118 (sparc64nbsd_gregmap): ... this.
7119 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
7120 regmaps.
7121 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
7122 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
7123 (sparc64obsd_gregmap): ... this.
7124 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
7125 regmaps.
7126 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
7127 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
7128 (sparc32nbsd_gregmap): ... this.
7129 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
7130 regmaps.
7131
7132 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7133
7134 * score-tdep.c (score7_linux_gregset): New static regset
7135 structure.
7136 (score7_linux_regset_from_core_section): Remove dynamic regset
7137 allocation.
7138 (score_gdbarch_init): Drop allocation of tdep structure.
7139 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
7140
7141 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7142
7143 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
7144 regset structures.
7145 (am33_regset_from_core_section): Remove dynamic regset
7146 allocations.
7147
7148 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7149
7150 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
7151 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
7152 structures.
7153 (mips_linux_regset_from_core_section): Remove dynamic regset
7154 allocations.
7155 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7156 'gregset64', 'fpregset', and 'fpregset64'.
7157 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
7158 deleted tdep fields.
7159
7160 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7161
7162 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
7163 regset structures.
7164 (amd64_regset_from_core_section): Remove dynamic regset
7165 allocations.
7166 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
7167 structure.
7168 (amd64obsd_regset_from_core_section): Remove dynamic regset
7169 allocation.
7170 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
7171 Likewise.
7172 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
7173 x86-common regset supply function.
7174 * i386-tdep.c (i386_collect_gregset): Make static.
7175 (i386_gregset): New global regset structure.
7176 (i386_fpregset, i386_xstateregset): New static regset structures.
7177 (i386_regset_from_core_section): Remove dynamic regset
7178 allocations.
7179 (i386_gdbarch_init): Remove initialization of tdep fields
7180 'gregset', 'fpregset', and 'xstateregset'.
7181 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7182 'fpregset', and 'xstateregset'.
7183 (i386_collect_gregset): Remove prototype.
7184 (i386_gregset): New declaration.
7185 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
7186 structure.
7187 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
7188 allocation.
7189
7190 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7191
7192 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
7193 (arm_linux_vfpregset): New static regset structures.
7194 (arm_linux_regset_from_core_section): Remove dynamic allocation of
7195 regset structures.
7196 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
7197 and 'vfpregset' fields.
7198
7199 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7200
7201 * aarch64-linux-tdep.c (aarch64_linux_gregset)
7202 (aarch64_linux_fpregset): New static regset structures.
7203 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
7204 of regset structures.
7205 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
7206 'fpregset' fields.
7207
7208 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7209
7210 * regset.h (struct regset): Remove gdbarch field.
7211 * regset.c (regset_alloc): Drop initialization of gdbarch field.
7212 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7213 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
7214 Likewise.
7215 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
7216 (ppc32_linux_fpregset, ppc32_linux_vrregset)
7217 (ppc32_linux_vsxregset): Likewise.
7218 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
7219 via the regcache instead of the regset.
7220 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
7221 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
7222 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
7223 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
7224 Likewise.
7225
7226 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7227
7228 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
7229 Constify structures.
7230 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
7231 (alphanbsd_aout_gregset): Likewise.
7232 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
7233 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
7234 Likewise.
7235 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
7236 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
7237 Likewise.
7238 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
7239 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
7240 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
7241 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
7242 * m88k-tdep.c (m88k_gregset): Likewise.
7243 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
7244 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
7245 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7246 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
7247 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7248 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7249 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7250 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7251 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
7252 Likewise.
7253 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
7254 * sh-tdep.h (sh_corefile_gregset): Likewise.
7255 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
7256 * vax-tdep.c (vax_gregset): Likewise.
7257
7258 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7259
7260 Fix TLS access for -static -pthread.
7261 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
7262 (try_thread_db_load_1): Initialize it.
7263 (thread_db_get_thread_local_address): Call it if LM is zero.
7264 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
7265 * target.h (struct target_ops) (to_get_thread_local_address): Add
7266 load_module_addr comment.
7267
7268 2014-05-21 Pedro Alves <palves@redhat.com>
7269
7270 * dcache.c (dcache_read_memory_partial): If reading the cache line
7271 fails, fallback to reading just the memory the caller wanted.
7272
7273 2014-05-20 Doug Evans <dje@google.com>
7274
7275 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
7276 instead of get_current_arch.
7277
7278 2014-05-20 Pedro Alves <palves@redhat.com>
7279
7280 * NEWS: Mention that compare-sections now works with all targets.
7281
7282 * remote.c (PACKET_qCRC): New enum value.
7283 (remote_verify_memory): Don't send qCRC if the target has no
7284 execution. Use packet_support/packet_ok. If the target doesn't
7285 support the qCRC packet, fallback to a deep memory copy.
7286 (compare_sections_command): Say "target image" instead of "remote
7287 executable".
7288 (_initialize_remote): Add PACKET_qCRC to the list of config
7289 packets that have no associated command. Extend comment.
7290 * target.c (simple_verify_memory, default_verify_memory): New
7291 function.
7292 * target.h (struct target_ops) <to_verify_memory>: Default to
7293 default_verify_memory.
7294 (simple_verify_memory): New declaration.
7295 * target-delegates.c: Regenerate.
7296
7297 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7298
7299 * record-btrace.c (record_btrace_step_thread): Check for empty history.
7300
7301 2014-05-20 Hui Zhu <hui@codesourcery.com>
7302 Yao Qi <yao@codesourcery.com>
7303
7304 PR backtrace/16558
7305 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
7306 and change address of sp and pc.
7307
7308 2014-05-19 Tom Tromey <tromey@redhat.com>
7309
7310 * gdbtypes.c (rank_function): Use XNEWVEC.
7311 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
7312
7313 2014-05-19 Doug Evans <dje@google.com>
7314
7315 * dwarf2read.c (build_type_psymtabs_1): Renamed from
7316 build_type_unit_groups and moved closer to only caller. Remove
7317 arguments. All references updated. Remove outdated .gdb_index
7318 comment.
7319 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
7320 build_type_psymtabs_1.
7321
7322 2014-05-19 Doug Evans <dje@google.com>
7323
7324 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
7325 n_type_unit_groups, all_type_unit_groups. All uses removed.
7326 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
7327 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
7328 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
7329 (add_type_unit_group_to_table): Delete.
7330
7331 2014-05-19 Doug Evans <dje@google.com>
7332
7333 * eval.c (evaluate_subexp_standard): Add some comments.
7334
7335 2014-05-17 Doug Evans <xdje42@gmail.com>
7336
7337 * progspace.c (remove_program_space): Delete, unused.
7338 * progspace.h (remove_program_space): Ditto.
7339
7340 2014-05-17 Doug Evans <xdje42@gmail.com>
7341
7342 * inferior.c (prune_inferiors): Fix comment.
7343 (remove_inferior_command): Call prune_program_spaces.
7344
7345 2014-05-16 Doug Evans <dje@google.com>
7346
7347 New command line option -D.
7348 * NEWS: Mention it.
7349 * main.c (set_gdb_data_directory): New function.
7350 (captured_main): Recognize -D. Flag error for --data-directory "".
7351 Call set_gdb_data_directory.
7352 (print_gdb_help): Print --data-directory, -D.
7353 * main.h (set_gdb_data_directory): Declare.
7354 * top.c (staged_gdb_datadir): New static global.
7355 (set_gdb_datadir): Call set_gdb_data_directory
7356 (show_gdb_datadir): New function.
7357 (init_main): Update init of data-directory parameter.
7358
7359 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
7360
7361 Import the "dirfd" gnulib module.
7362 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
7363 * gnulib/aclocal.m4: Update.
7364 * gnulib/config.in: Update.
7365 * gnulib/configure: Update.
7366 * gnulib/import/Makefile.am: Update.
7367 * gnulib/import/Makefile.in: Update.
7368 * gnulib/import/dirfd.c: New.
7369 * gnulib/import/m4/dirfd.m4: New.
7370 * gnulib/import/m4/gnulib-cache.m4: Update.
7371 * gnulib/import/m4/gnulib-comp.m4: Update.
7372
7373 2014-05-16 Pierre Muller <muller@sourceware.org>
7374 Yao Qi <yao@codesourcery.com>
7375
7376 * valprint.c (print_wchar): Move the code on checking whether
7377 W is a printable wide char to the default branch of switch
7378 statement below. Call wchar_printable instead of gdb_iswprint.
7379
7380 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
7381
7382 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
7383 ldr.w and ldrd instructions.
7384
7385 2014-05-15 Doug Evans <dje@google.com>
7386
7387 * dwarf2read.c (read_structure_type): Delete outdated comments.
7388
7389 2014-05-14 Tom Tromey <tromey@redhat.com>
7390
7391 * macrocmd.c (print_macro_definition): Reindent.
7392
7393 2014-05-13 Doug Evans <xdje42@gmail.com>
7394
7395 * python/py-cmd.c (cmdpy_completer): Add comment.
7396 (completers): Make const.
7397
7398 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
7399
7400 * infrun.c (resume): Remove should_resume (unused). Move up
7401 declaration of resume_ptid.
7402
7403 2014-05-13 Tom Tromey <tromey@redhat.com>
7404
7405 * language.h (unop_type_check): Remove.
7406 (binop_type_check): Don't declare.
7407
7408 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
7409
7410 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
7411 call to regcache_raw_collect.
7412
7413 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7414
7415 * mi/mi-console.c (mi_console_raw_packet): Use the value from
7416 mi_console->quote as the quoting character.
7417
7418 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7419
7420 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
7421
7422 2014-04-29 Tom Tromey <tromey@redhat.com>
7423
7424 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
7425 "show debug varobj".
7426
7427 2014-05-07 Kyle McMartin <kyle@redhat.com>
7428
7429 Pushed by Joel Brobecker <brobecker@adacore.com>.
7430 * aarch64-tdep.c (aarch64_software_single_step): New function.
7431 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
7432 with aarch64_software_single_step.
7433
7434 2014-05-05 Joel Brobecker <brobecker@adacore.com>
7435
7436 GDB 7.7.1 released.
7437
7438 2014-05-05 Keith Seitz <keiths@redhat.com>
7439
7440 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
7441 variable or history value is successfully parsed.
7442
7443 2014-05-05 Yao Qi <yao@codesourcery.com>
7444 Pedro Alves <palves@redhat.com>
7445
7446 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
7447 address of blocks that intersects the requested range. Trim
7448 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
7449 sections.
7450 * ctf.c (ctf_xfer_partial): Likewise.
7451
7452 2014-05-05 Yao Qi <yao@codesourcery.com>
7453
7454 * printcmd.c (display_command): Remove the check to
7455 target_has_execution.
7456
7457 2014-05-03 Mark Kettenis <kettenis@gnu.org>
7458
7459 * ppcobsd-nat.c: Include "obsd-nat.h".
7460 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
7461 add_target.
7462 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7463
7464 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7465
7466 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
7467 and 16-bit signed and unsigned arguments. Update comment.
7468 (stap_parse_probe_arguments): Extend code to handle such
7469 arguments. Use warning instead of complaint to notify about
7470 unrecognized bitness.
7471
7472 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7473
7474 PR breakpoints/16889
7475 * stap-probe.c (stap_parse_probe_arguments): Simplify
7476 check for non-prefixed probes (i.e., probes whose
7477 arguments do not start with "N@"). Always set the
7478 argument type to a sane value.
7479
7480 2014-05-01 David Taylor <dtaylor@emc.com>
7481
7482 * remote.c (compare_sections_command): Add -r option to compare
7483 all loadable read-only sections.
7484
7485 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
7486
7487 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
7488 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
7489 Update all callers.
7490 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
7491 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
7492 Remove unused CORE_ADDR argument. Update all callers.
7493
7494 2014-04-29 Pedro Alves <palves@redhat.com>
7495
7496 * remote.c (struct packet_config) <detect>: Extend comment.
7497 (add_packet_config_cmd): Don't set the config's detect or support
7498 fields here.
7499 (init_all_packet_configs): Also initialize the config's 'detect'
7500 field.
7501 (reset_all_packet_configs_support): New function.
7502 (remote_open_1): Call reset_all_packet_configs_support instead of
7503 init_all_packet_configs.
7504 (_initialize_remote): Initialize all packet configs. Assert that
7505 all packets have an associated command, except a few known
7506 outliers.
7507
7508 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7509
7510 * dwarf2read.c (read_subrange_type): Handle dynamic
7511 DW_AT_lower_bound attributes.
7512
7513 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7514
7515 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
7516 dynamic bounds before computing its upper bound.
7517 (ada_discrete_type_low_bound): Same as above with the lower bound.
7518
7519 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7520
7521 * dwarf2read.c (is_dynamic_type): Return true for dynamic
7522 range types. Adjust the array handling implementation to
7523 take advantage of this change.
7524 (resolve_dynamic_range): New function, mostly extracted from
7525 resolve_dynamic_bounds.
7526 (resolve_dynamic_array): New function, mostly extracted from
7527 resolve_dynamic_bounds.
7528 (resolve_dynamic_bounds): Delete.
7529 (resolve_dynamic_type): Reimplement. Add handling of
7530 TYPE_CODE_RANGE types.
7531
7532 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7533
7534 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
7535 handling of parallel ___XA types.
7536
7537 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7538
7539 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
7540 unnecessary second call to static_unwrap_type.
7541
7542 2014-04-27 Hui Zhu <hui@codesourcery.com>
7543
7544 * stack.c (print_frame_info): Call do_gdb_disassembly with
7545 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
7546
7547 2014-04-26 Doug Evans <xdje42@gmail.com>
7548
7549 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
7550
7551 2014-04-25 Pedro Alves <palves@redhat.com>
7552
7553 PR server/16255
7554 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
7555 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
7556 and newline from built string.
7557 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
7558 (linux_ptrace_attach_fail_reason): ... this.
7559 * linux-nat.c (linux_nat_attach): Adjust to use
7560 linux_ptrace_attach_fail_reason.
7561
7562 2014-04-25 Pedro Alves <palves@redhat.com>
7563
7564 * remote.c (struct remote_state): Remove multi_process_aware,
7565 non_stop_aware, cond_tracepoints, cond_breakpoints,
7566 breakpoint_commands, fast_tracepoints, static_tracepoints,
7567 install_in_trace, disconnected_tracing,
7568 enable_disable_tracepoints, string_tracing, and
7569 augmented_libraries_svr4_read fields.
7570 (remote_multi_process_p): Move further below in the file.
7571 (struct packet_config): Add comments.
7572 (update_packet_config): Delete function.
7573 (show_packet_config_cmd): Use packet_config_support.
7574 (add_packet_config_cmd): Use NULL as set callback.
7575 (packet_ok): "set remote foo-packet"-style commands no longer
7576 change config->supported -- adjust.
7577 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
7578 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
7579 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
7580 (PACKET_QNonStop, PACKET_multiprocess_feature)
7581 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
7582 (PACKET_DisconnectedTracing_feature)
7583 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
7584 (set_remote_protocol_packet_cmd): Delete function.
7585 (packet_config_support, packet_support): New functions.
7586 (set_remote_protocol_Z_packet_cmd): Don't call
7587 update_packet_config.
7588 (remote_query_attached, remote_pass_signals)
7589 (remote_program_signals, remote_threads_info)
7590 (remote_threads_extra_info, remote_start_remote): Use
7591 packet_support.
7592 (remote_start_remote): Use packet_config_support and
7593 packet_support.
7594 (init_all_packet_configs): Set all packets to unknown support,
7595 instead of calling update_packet_config.
7596 (remote_check_symbols): Use packet_support.
7597 (remote_supported_packet): Unconditionally set the packet config's
7598 support status.
7599 (remote_multi_process_feature, remote_non_stop_feature)
7600 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
7601 (remote_breakpoint_commands_feature)
7602 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
7603 (remote_install_in_trace_feature)
7604 (remote_disconnected_tracing_feature)
7605 (remote_enable_disable_tracepoint_feature)
7606 (remote_string_tracing_feature)
7607 (remote_augmented_libraries_svr4_read_feature): Delete functions.
7608 (remote_protocol_features): Adjust to use remote_supported_packet
7609 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
7610 "ConditionalTracepoints", "ConditionalBreakpoints",
7611 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
7612 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
7613 "EnableDisableTracepoints", and "tracenz".
7614 (remote_query_supported): Use packet_support.
7615 (remote_open_1): Adjust.
7616 (extended_remote_attach_1): Use packet_support. Switch on the
7617 result of packet_ok instead of checking whether the packet ended
7618 up disabled.
7619 (remote_vcont_resume): Use packet_support.
7620 (remote_resume, remote_stop_ns, fetch_register_using_p)
7621 (remote_prepare_to_store, store_register_using_P)
7622 (check_binary_download, remote_write_bytes): Use packet_support.
7623 (remote_vkill): Use packet_support. Switch on the result of
7624 packet_ok instead of checking whether the packet ended up
7625 disabled.
7626 (extended_remote_supports_disable_randomization): Use
7627 packet_support.
7628 (extended_remote_run): Switch on the result of packet_ok instead
7629 of checking whether the packet ended up disabled.
7630 (remote_insert_breakpoint, remote_remove_breakpoint)
7631 (remote_insert_watchpoint, remote_remove_watchpoint)
7632 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
7633 packet_support.
7634 (remote_search_memory): Use packet_config_support.
7635 (remote_get_thread_local_address, remote_get_tib_address)
7636 (remote_hostio_send_command, remote_can_execute_reverse): Use
7637 packet_support.
7638 (remote_supports_cond_tracepoints)
7639 (remote_supports_cond_breakpoints)
7640 (remote_supports_fast_tracepoints)
7641 (remote_supports_static_tracepoints)
7642 (remote_supports_install_in_trace)
7643 (remote_supports_enable_disable_tracepoint)
7644 (remote_supports_string_tracing)
7645 (remote_can_run_breakpoint_commands): Rewrite, checking whether
7646 the packet config says the feature is enabled or disabled.
7647 (remote_download_tracepoint, remote_trace_set_readonly_regions)
7648 (remote_get_trace_status): Use packet_support.
7649 (remote_set_disconnected_tracing): Adjust to check whether the
7650 feature is enabled with packet_support.
7651 (remote_set_trace_buffer_size, remote_use_agent)
7652 (remote_can_use_agent, remote_supports_btrace): Use
7653 packet_support.
7654 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
7655 Use packet_config_support.
7656 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
7657 the packet config says the feature is enabled or disabled.
7658 (set_range_stepping): Use packet_support.
7659
7660 2014-04-25 Tom Tromey <tromey@redhat.com>
7661
7662 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
7663 argument.
7664
7665 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
7666
7667 * NEWS: Mention support for C99 variable length arrays.
7668
7669 2014-04-24 Joel Brobecker <brobecker@adacore.com>
7670
7671 * ada-lang.c (standard_exc): Expand introductory comment.
7672
7673 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7674 Walfred Tedeschi <walfred.tedeschi@intel.com>
7675
7676 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
7677 AVX512 registers.
7678 (amd64_linux_read_description): Add code to handle AVX512 xstate
7679 mask and return respective tdesc.
7680 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
7681 and features/i386/x32-avx512-linux.c.
7682 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
7683 (amd64_linux_core_read_description): Add code to handle AVX512
7684 xstate mask and return respective tdesc.
7685 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
7686 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
7687 calculation.
7688 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
7689 (tdesc_amd64_avx512_linux): New prototype.
7690 (tdesc_x32_avx512_linux): Likewise.
7691 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
7692 features/i386/x32-avx512.c.
7693 (amd64_ymm_avx512_names): New register names for pseudo
7694 registers YMM16-31.
7695 (amd64_ymmh_avx512_names): New register names for raw registers
7696 YMMH16-31.
7697 (amd64_k_names): New register names for K registers.
7698 (amd64_zmmh_names): New register names for ZMM raw registers.
7699 (amd64_zmm_names): New registers names for ZMM pseudo registers.
7700 (amd64_xmm_avx512_names): New register names for XMM16-31
7701 registers.
7702 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
7703 registers.
7704 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
7705 if feature is present.
7706 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
7707 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
7708 (AMD64_NUM_REGS): Adjust to new number of registers.
7709 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
7710 registers supplied via XSTATE by AVX512 registers.
7711 (i386_linux_read_description): Add case for AVX512.
7712 * i386-linux-tdep.c: Include i386-avx512-linux.c.
7713 (i386_linux_gregset_reg_offset): Add AVX512 registers.
7714 (i386_linux_core_read_description): Add case for AVX512.
7715 (i386_linux_init_abi): Install supported register note section
7716 for AVX512.
7717 (_initialize_i386_linux_tdep): Add call to tdesc init function for
7718 AVX512.
7719 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
7720 registers to be number of zmm7h + 1.
7721 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
7722 * i386-tdep.c: Include features/i386/i386-avx512.c.
7723 (i386_zmm_names): Add ZMM pseudo register names array.
7724 (i386_zmmh_names): Add ZMM raw register names array.
7725 (i386_k_names): Add K raw register names array.
7726 (num_lower_zmm_regs): Add constant for the number of lower ZMM
7727 registers. AVX512 has 16 more ZMM registers than there are YMM
7728 registers.
7729 (i386_zmmh_regnum_p): Add function to look up register number of
7730 ZMM raw registers.
7731 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
7732 (i386_k_regnum_p): Likewise for K raw registers.
7733 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
7734 registers added by AVX512.
7735 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
7736 registers added by AVX512.
7737 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
7738 added by AVX512.
7739 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
7740 (i386_pseudo_register_name): Add ZMM pseudo registers.
7741 (i386_zmm_type): Construct and return vector registers type for ZMM
7742 registers.
7743 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
7744 ZMM0-31 pseudo registers and K registers.
7745 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
7746 and YMM16-31 registers from register cache.
7747 (i386_pseudo_register_write): Add code to write K, ZMM and
7748 YMM16-31 registers.
7749 (i386_register_reggroup_p): Add code to include/exclude AVX512
7750 registers in/from respective register groups.
7751 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
7752 registers if feature is present in xcr0.
7753 (i386_gdbarch_init): Add code to initialize AVX512 feature
7754 variables in tdep structure, wire in pseudo registers and call
7755 initialize_tdesc_i386_avx512.
7756 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
7757 variables.
7758 (i386_regnum): Add AVX512 registers.
7759 (I386_SSE_NUM_REGS): New define for number of SSE registers.
7760 (I386_AVX_NUM_REGS): Likewise for AVX registers.
7761 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
7762 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
7763 512 bits wide.
7764 (i386_xmm_avx512_regnum_p): New prototype for register look up.
7765 (i386_ymm_avx512_regnum_p): Likewise.
7766 (i386_k_regnum_p): Likewise.
7767 (i386_zmm_regnum_p): Likewise.
7768 (i386_zmmh_regnum_p): Likewise.
7769 * i387-tdep.c : Update year in copyright notice.
7770 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
7771 XSAVE buffer.
7772 (XSAVE_YMM_AVX512_ADDR): New macro.
7773 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
7774 XSAVE buffer.
7775 (XSAVE_XMM_AVX512_ADDR): New macro.
7776 (xsave_avx512_k_offset): New table for K register offsets in
7777 XSAVE buffer.
7778 (XSAVE_AVX512_K_ADDR): New macro.
7779 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
7780 in XSAVE buffer.
7781 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
7782 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
7783 buffer.
7784 (i387_collect_xsave): Add code to collect AVX512 registers from
7785 XSAVE buffer.
7786 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
7787 of XMM16-31 registers.
7788 (I387_NUM_K_REGS): New define for number of K registers.
7789 (I387_K0_REGNUM): New define for K0 register number.
7790 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
7791 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
7792 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
7793 registers.
7794 (I387_YMM16H_REGNUM): New define for YMM16H register number.
7795 (I387_XMM16_REGNUM): New define for XMM16 register number.
7796 (I387_YMM0_REGNUM): New define for YMM0 register number.
7797 (I387_KEND_REGNUM): New define for last K register number.
7798 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
7799 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
7800 number.
7801 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
7802 number.
7803 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
7804 size.
7805 * features/Makefile: Add AVX512 related files.
7806 * features/i386/32bit-avx512.xml: New file.
7807 * features/i386/64bit-avx512.xml: Likewise.
7808 * features/i386/amd64-avx512-linux.c: Likewise.
7809 * features/i386/amd64-avx512-linux.xml: Likewise.
7810 * features/i386/amd64-avx512.c: Likewise.
7811 * features/i386/amd64-avx512.xml: Likewise.
7812 * features/i386/i386-avx512-linux.c: Likewise.
7813 * features/i386/i386-avx512-linux.xml: Likewise.
7814 * features/i386/i386-avx512.c: Likewise.
7815 * features/i386/i386-avx512.xml: Likewise.
7816 * features/i386/x32-avx512-linux.c: Likewise.
7817 * features/i386/x32-avx512-linux.xml: Likewise.
7818 * features/i386/x32-avx512.c: Likewise.
7819 * features/i386/x32-avx512.xml: Likewise.
7820 * regformats/i386/amd64-avx512-linux.dat: New file.
7821 * regformats/i386/amd64-avx512.dat: Likewise.
7822 * regformats/i386/i386-avx512-linux.dat: Likewise.
7823 * regformats/i386/i386-avx512.dat: Likewise.
7824 * regformats/i386/x32-avx512-linux.dat: Likewise.
7825 * regformats/i386/x32-avx512.dat: Likewise.
7826 * NEWS: Add note about new support for AVX512.
7827
7828
7829 2014-04-23 Pedro Alves <palves@redhat.com>
7830
7831 * breakpoint.c (insert_bp_location): Tolerate errors if the
7832 breakpoint is set in a user-loaded objfile.
7833 (remove_breakpoint_1): Likewise. Also tolerate errors if the
7834 location is marked shlib_disabled. If the breakpoint is set in a
7835 user-loaded objfile is a GDB-side memory breakpoint, validate it
7836 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
7837 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
7838 flag.
7839 * mem-break.c (memory_validate_breakpoint): New function.
7840 * objfiles.c (userloaded_objfile_contains_address_p): New
7841 function.
7842 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
7843 * target.h (memory_validate_breakpoint): New declaration.
7844
7845 2014-04-23 Pedro Alves <palves@redhat.com>
7846
7847 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
7848 the breakpoint is set in a shared library, only suppress
7849 errors for software breakpoints, not hardware breakpoints.
7850
7851 2014-04-22 Pedro Alves <palves@redhat.com>
7852
7853 * infrun.c (schedlock_applies): New function, factored out from
7854 find_thread_needs_step_over.
7855 (find_thread_needs_step_over): Use it.
7856 (switch_back_to_stepped_thread): Always clear trap_expected if the
7857 step over is finished. Return early if scheduler locking applies.
7858 Look for the stepping thread and a potential step-over thread with
7859 a single loop.
7860 (currently_stepping_or_nexting_callback): Delete.
7861
7862 2014-04-22 Nick Clifton <nickc@redhat.com>
7863
7864 * NEWS: Mention that ARM sim now supports tracing.
7865
7866 2014-04-22 Yao Qi <yao@codesourcery.com>
7867
7868 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
7869 to ...
7870 * tracefile.c (tracefile_fetch_registers): ... it. New
7871 function.
7872 * tracefile.h (tracefile_fetch_registers): Declare.
7873 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
7874 tracefile_fetch_registers.
7875
7876 2014-04-19 Eli Zaretskii <eliz@gnu.org>
7877
7878 PR gdb/14018
7879 * windows-nat.c (thread_rec): Don't display a warning when
7880 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
7881 fails for any reason, set th->suspended to -1, so that we don't
7882 try to resume such a thread. Also, don't return NULL in these
7883 cases, to avoid completely ruin the session due to "PC register is
7884 not available" error.
7885 (do_windows_fetch_inferior_registers): Check errors in
7886 GetThreadContext call.
7887 (windows_continue): Accept an additional argument KILLED; if not
7888 zero, ignore errors in the SetThreadContext call, since the
7889 inferior was killed and is shutting down.
7890 (windows_resume, get_windows_debug_event)
7891 (windows_create_inferior, windows_mourn_inferior)
7892 (windows_kill_inferior): All callers of windows_continue changed
7893 to adjust to its new calling sequence.
7894
7895 2014-04-19 Yao Qi <yao@codesourcery.com>
7896
7897 * ctf.c (ctf_open): Call post_create_inferior.
7898
7899 2014-04-19 Yao Qi <yao@codesourcery.com>
7900
7901 * ctf.c (handle_id): New static variable.
7902 (ctf_open_dir): Get handle_id from bt_context_add_trace return
7903 value. Get the declaration of event "register" and get length
7904 of field "contents".
7905
7906 2014-04-19 Yao Qi <yao@codesourcery.com>
7907
7908 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
7909
7910 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
7911
7912 * valops.c (oload_method_static): Remove unnecessary argument
7913 METHOD. Update all callers.
7914
7915 2014-04-18 Pedro alves <palves@redhat.com>
7916 Tom Tromey <tromey@redhat.com>
7917
7918 PR backtrace/15558
7919 * frame.c (get_prev_frame_1): Rename to ...
7920 (get_prev_frame_always): ... this, and make extern. Adjust.
7921 (skip_artificial_frames): Use get_prev_frame_always.
7922 (frame_unwind_caller_id, frame_pop, get_prev_frame)
7923 (get_frame_unwind_stop_reason): Adjust to rename.
7924 * frame.h (get_prev_frame_always): Declare.
7925 * inline-frame.c: Include frame.h.
7926 (inline_frame_this_id): Use get_prev_frame_always.
7927
7928 2014-04-18 Tristan Gingold <gingold@adacore.com>
7929
7930 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
7931 code by using bfd_mach_o_get_base_address.
7932
7933 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7934
7935 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
7936 (spu_ax_pseudo_register_collect): New function.
7937 (spu_ax_pseudo_register_push_stack): Likewise.
7938 (spu_dwarf_reg_to_regnum): Likewise.
7939 (spu_gdbarch_init): Install them. Append DWARF unwinders.
7940
7941 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7942
7943 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
7944 Replace FRAME argument with FRAME_ID.
7945 * gdbarch.c, gdbarch.h: Regenerate.
7946 * findvar.c (default_value_from_register): Add GDBARCH argument;
7947 replace FRAME by FRAME_ID. No longer call get_frame_id.
7948 (value_from_register): Update call to gdbarch_value_from_register.
7949 * value.h (default_value_from_register): Update prototype.
7950 * s390-linux-tdep.c (s390_value_from_register): Update interface
7951 and call to default_value_from_register.
7952 * spu-tdep.c (spu_value_from_register): Likewise.
7953
7954 * findvar.c (address_from_register): Remove TYPE argument.
7955 Do not call value_from_register; use gdbarch_value_from_register
7956 with null_frame_id instead.
7957 * value.h (address_from_register): Update prototype.
7958 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
7959 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
7960 address_from_register interface change.
7961
7962 2014-04-17 Yao Qi <yao@codesourcery.com>
7963
7964 * gdbtypes.h: Update comments to link to types and macros'
7965 definitions.
7966
7967 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
7968
7969 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
7970
7971 2014-04-16 Keith Seitz <keiths@redhat.com>
7972
7973 PR gdb/15827
7974 * dwarf2read.c (skip_one_die): Check that all relative-offset
7975 sibling DIEs fall within range of the current reader's buffer.
7976 (read_partial_die): Likewise.
7977
7978 2014-04-16 Keith Seitz <keiths@redhat.com>
7979
7980 PR c++/16597
7981 * cp-namespace.c (lookup_symbol_file): If the type name of
7982 `this' is NULL, return immediately.
7983
7984 2014-04-14 Keith Seitz <keiths@redhat.com>
7985
7986 PR c++/16253
7987 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
7988 from symbol_matches_domain in symtab.c. All local callers
7989 of symbol_matches_domain updated.
7990 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
7991 search STRUCT_DOMAIN.
7992 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
7993 independently. standard_lookup will do that automatically.
7994 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
7995 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7996 (cp_lookup_symbol_in_namespace): Likewise.
7997 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
7998 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
7999 may return a STRUCT_DOMAIN match.
8000 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
8001 * cp-support.c: Include language.h.
8002 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
8003 VAR_DOMAIN.
8004 * psymtab.c (match_partial_symbol): Compare the requested
8005 domain with the symbol's domain directly.
8006 (lookup_partial_symbol): Likewise.
8007 * symtab.c (lookup_symbol_in_language): Explain when/why
8008 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8009 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
8010 appropriate languages.
8011 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
8012 and moved to ada-lang.c
8013 (lookup_block_symbol): Explain that this function only returns
8014 symbol matching the requested DOMAIN.
8015 Compare the requested domain with the symbol's domain directly.
8016 (iterate_over_symbols): Compare the requested domain with the
8017 symbol's domain directly.
8018 * symtab.h (symbol_matches_domain): Remove.
8019
8020 2014-04-14 Tom Tromey <tromey@redhat.com>
8021
8022 PR c++/15246:
8023 * c-exp.y (type_aggregate_p): New function.
8024 (qualified_name, classify_inner_name): Use it.
8025 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
8026 and TYPE_TARGET_TYPE of an enum type.
8027 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
8028 an enum type.
8029 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
8030 handle TYPE_DECLARED_CLASS.
8031 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
8032 types.
8033 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
8034 * valops.c (enum_constant_from_type): New function.
8035 (value_aggregate_elt): Use it.
8036 * cp-namespace.c (cp_lookup_nested_symbol): Handle
8037 TYPE_CODE_ENUM.
8038
8039 2014-04-14 Tom Tromey <tromey@redhat.com>
8040
8041 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
8042 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
8043 const.
8044 * value.h (value_aggregate_elt): Update.
8045
8046 2014-04-14 Tom Tromey <tromey@redhat.com>
8047
8048 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
8049
8050 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8051
8052 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8053 (evaluate_subexp_standard): Pass noside argument.
8054 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8055 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8056 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8057 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8058 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8059
8060 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8061
8062 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8063 points to a constant blob.
8064
8065 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8066
8067 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8068 property and store it as the high bound and flag the range accordingly.
8069 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8070 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8071 * gdbtypes.h (enum range_flags): New enum.
8072 (struct range_bounds): Add flags member.
8073
8074 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8075
8076 * c-typeprint.c (c_type_print_varspec_suffix): Added
8077 check for not yet resolved high bound. If unresolved, print
8078 "variable length" string to the console instead of random
8079 length.
8080
8081 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8082
8083 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
8084 value.
8085 (ada_template_to_fixed_record_type_1): Likewise.
8086 (ada_to_fixed_type_1): Likewise.
8087 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8088 (cp_print_value): Likewise.
8089 * d-valprint.c (dynamic_array_type): Likewise.
8090 * findvar.c (address_of_variable): Likewise.
8091 * jv-valprint.c (java_value_print): Likewise.
8092 * valops.c (value_ind): Likewise.
8093 * value.c (coerce_ref): Likewise.
8094
8095 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8096
8097 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8098 value and retrieve the dynamic type size.
8099
8100 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8101
8102 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8103 passed to sizeof is dynamic evaluate the argument to compute the length.
8104
8105 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8106 Joel Brobecker <brobecker@adacore.com>
8107
8108 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8109 (dwarf2_evaluate_property): New function.
8110 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8111 * dwarf2read.c (attr_to_dynamic_prop): New function.
8112 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8113 attribute.
8114 * gdbtypes.c: Include dwarf2loc.h.
8115 (is_dynamic_type): New function.
8116 (resolve_dynamic_type): New function.
8117 (resolve_dynamic_bounds): New function.
8118 (get_type_length): New function.
8119 (check_typedef): Use get_type_length to compute type length.
8120 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8121 (TYPE_LOW_BOUND_KIND): New macro.
8122 (is_dynamic_type): New function prototype.
8123 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8124 to resolve dynamic properties of the type. Update comment.
8125 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8126
8127 2014-04-14 Richard Henderson <rth@redhat.com>
8128
8129 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
8130
8131 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8132 Doug Evans <xdje42@gmail.com>
8133
8134 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
8135 dereference TYPE_CODE_REF values.
8136
8137 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8138
8139 Revert the following changes due to regressions:
8140
8141 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8142 (dwarf2_evaluate_property): New function.
8143 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8144 * dwarf2read.c (attr_to_dynamic_prop): New function.
8145 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8146 attribute.
8147 * gdbtypes.c: Include dwarf2loc.h.
8148 (is_dynamic_type): New function.
8149 (resolve_dynamic_type): New function.
8150 (resolve_dynamic_bounds): New function.
8151 (get_type_length): New function.
8152 (check_typedef): Use get_type_length to compute type length.
8153 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8154 (TYPE_LOW_BOUND_KIND): New macro.
8155 (is_dynamic_type): New function prototype.
8156 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8157 to resolve dynamic properties of the type. Update comment.
8158 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8159
8160 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8161 passed to sizeof is dynamic evaluate the argument to compute the length.
8162
8163 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8164 value and retrieve the dynamic type size.
8165
8166 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8167 (ada_template_to_fixed_record_type_1): Likewise.
8168 (ada_to_fixed_type_1): Likewise.
8169 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8170 (cp_print_value): Likewise.
8171 * d-valprint.c (dynamic_array_type): Likewise.
8172 * eval.c (evaluate_subexp_with_coercion): Likewise.
8173 * findvar.c (address_of_variable): Likewise.
8174 * jv-valprint.c (java_value_print): Likewise.
8175 * valops.c (value_ind): Likewise.
8176 * value.c (coerce_ref): Likewise.
8177
8178 * c-typeprint.c (c_type_print_varspec_suffix): Added
8179 check for not yet resolved high bound. If unresolved, print
8180 "variable length" string to the console instead of random
8181 length.
8182
8183 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8184 property and store it as the high bound and flag the range accordingly.
8185 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8186 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8187 * gdbtypes.h (enum range_flags): New enum.
8188 (struct range_bounds): Add flags member.
8189
8190 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8191 points to a constant blob.
8192
8193 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8194 (evaluate_subexp_standard): Pass noside argument.
8195 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8196 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8197 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8198 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8199 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8200
8201 2014-04-11 Keith Seitz <keiths@redhat.com>
8202
8203 PR c++/16675
8204 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
8205 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
8206 reference types.
8207
8208 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8209
8210 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8211 (evaluate_subexp_standard): Pass noside argument.
8212 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8213 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8214 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8215 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8216 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8217
8218 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8219
8220 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8221 points to a constant blob.
8222
8223 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8224
8225 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8226 property and store it as the high bound and flag the range accordingly.
8227 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8228 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8229 * gdbtypes.h (enum range_flags): New enum.
8230 (struct range_bounds): Add flags member.
8231
8232 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8233
8234 * c-typeprint.c (c_type_print_varspec_suffix): Added
8235 check for not yet resolved high bound. If unresolved, print
8236 "variable length" string to the console instead of random
8237 length.
8238
8239 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8240
8241 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8242 (ada_template_to_fixed_record_type_1): Likewise.
8243 (ada_to_fixed_type_1): Likewise.
8244 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8245 (cp_print_value): Likewise.
8246 * d-valprint.c (dynamic_array_type): Likewise.
8247 * eval.c (evaluate_subexp_with_coercion): Likewise.
8248 * findvar.c (address_of_variable): Likewise.
8249 * jv-valprint.c (java_value_print): Likewise.
8250 * valops.c (value_ind): Likewise.
8251 * value.c (coerce_ref): Likewise.
8252
8253 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8254
8255 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8256 value and retrieve the dynamic type size.
8257
8258 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8259
8260 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8261 passed to sizeof is dynamic evaluate the argument to compute the length.
8262
8263 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8264
8265 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8266 (dwarf2_evaluate_property): New function.
8267 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8268 * dwarf2read.c (attr_to_dynamic_prop): New function.
8269 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8270 attribute.
8271 * gdbtypes.c: Include dwarf2loc.h.
8272 (is_dynamic_type): New function.
8273 (resolve_dynamic_type): New function.
8274 (resolve_dynamic_bounds): New function.
8275 (get_type_length): New function.
8276 (check_typedef): Use get_type_length to compute type length.
8277 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8278 (TYPE_LOW_BOUND_KIND): New macro.
8279 (is_dynamic_type): New function prototype.
8280 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8281 to resolve dynamic properties of the type. Update comment.
8282 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8283
8284 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8285
8286 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
8287 declaring high/low bounds and change uses accordingly. Call
8288 create_range_type instead of create_static_range_type.
8289 * gdbtypes.c (create_range_type): New function.
8290 (create_range_type): Convert bounds into struct bound_prop and pass
8291 them to create_range_type.
8292 * gdbtypes.h (struct bound_prop): New struct.
8293 (create_range_type): New function prototype.
8294 (struct range_bounds): Use struct bound_prop instead of LONGEST for
8295 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
8296 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
8297 part of the bound.
8298 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
8299
8300 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8301
8302 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
8303 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
8304 * ada-lang.c: All uses of create_range_type updated.
8305 * coffread.c: All uses of create_range_type updated.
8306 * dwarf2read.c: All uses of create_range_type updated.
8307 * f-exp.y: All uses of create_range_type updated.
8308 * m2-valprint.c: All uses of create_range_type updated.
8309 * mdebugread.c: All uses of create_range_type updated.
8310 * stabsread.c: All uses of create_range_type updated.
8311 * valops.c: All uses of create_range_type updated.
8312 * valprint.c: All uses of create_range_type updated.
8313
8314 2014-04-10 Pedro Alves <palves@redhat.com>
8315
8316 * breakpoint.c (single_step_breakpoints)
8317 (single_step_gdbarch): Move up in the file.
8318 (one_breakpoint_xfer_memory): New function, factored out from ...
8319 (breakpoint_xfer_memory): ... here. Also process single-step
8320 breakpoints.
8321
8322 2014-04-09 Tristan Gingold <gingold@adacore.com>
8323
8324 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
8325 comments.
8326 (darwin_decode_exception_message): Free port only after use.
8327
8328 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
8329
8330 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
8331 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
8332 when setting the size of call_length.
8333
8334 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8335
8336 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
8337 dereference TYPE_CODE_REF values.
8338
8339 2014-04-07 Joel Brobecker <brobecker@adacore.com>
8340
8341 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
8342 end of warning message.
8343
8344 2014-04-03 Doug Evans <dje@google.com>
8345
8346 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
8347 of stub_comp_unit_die, stub_comp_dir is non-NULL.
8348
8349 2014-04-02 Alan Modra <amodra@gmail.com>
8350
8351 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
8352 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
8353 (struct symbol_file_add_from_memory_args): Add size field.
8354 (find_vdso_size): New function.
8355 (add_vsyscall_page): Attempt to find vdso size.
8356
8357 2014-04-01 Doug Evans <dje@google.com>
8358
8359 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
8360
8361 2014-04-01 Tristan Gingold <gingold@adacore.com>
8362
8363 * darwin-nat.c (darwin_encode_reply): Add prototype.
8364 (darwin_decode_exception_message): Reply to unknown inferiors.
8365 (darwin_decode_message): Handle message by id. Ignore message
8366 to unknown inferior.
8367 (darwin_wait): Discard unknown messages, add debug trace.
8368
8369 2014-03-31 Doug Evans <dje@google.com>
8370
8371 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
8372 comp_dir_string.
8373
8374 2014-03-31 Doug Evans <dje@google.com>
8375
8376 New option "set print symbol-loading".
8377 * NEWS: Mention it.
8378 * solib.c (solib_read_symbols): Only print symbol loading messages
8379 if requested.
8380 (solib_add): If symbol loading is in "brief" mode, notify user
8381 symbols are being loaded.
8382 (reload_shared_libraries_1): Ditto.
8383 * symfile.c (print_symbol_loading_off): New static global.
8384 (print_symbol_loading_brief): New static global.
8385 (print_symbol_loading_full): New static global.
8386 (print_symbol_loading_enums): New static global.
8387 (print_symbol_loading): New static global.
8388 (print_symbol_loading_p): New function.
8389 (symbol_file_add_with_addrs): Only print symbol loading messages
8390 if requested.
8391 (_initialize_symfile): Register "print symbol-loading" set/show
8392 command.
8393 * symfile.h (print_symbol_loading_p): Declare.
8394
8395 2014-03-30 Doug Evans <xdje42@gmail.com>
8396
8397 * infrun.c (set_last_target_status): New function.
8398 (handle_inferior_event): Call it.
8399
8400 2014-03-30 Doug Evans <xdje42@gmail.com>
8401
8402 * inferior.h (enum stop_kind): Improve comment.
8403
8404 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8405
8406 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
8407 a reference, strip the reference layer before calling
8408 the lang_ops value_has_mutated callback.
8409
8410 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
8411
8412 Remove some globals from our parser.
8413 * language.c (unk_lang_parser): Add "struct parser_state"
8414 argument.
8415 * language.h (struct language_defn) <la_parser>: Likewise.
8416 * parse.c (expout, expout_size, expout_ptr): Remove variables.
8417 (initialize_expout): Add "struct parser_state" argument.
8418 Rewrite function to use the parser state.
8419 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
8420 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
8421 write_exp_elt_longcst, write_exp_elt_dblcst,
8422 write_exp_elt_decfloatcst, write_exp_elt_type,
8423 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8424 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
8425 write_dollar_variable): Likewise.
8426 (parse_exp_in_context_1): Use parser state.
8427 (insert_type_address_space): Add "struct parser_state" argument.
8428 Use parser state.
8429 (increase_expout_size): New function.
8430 * parser-defs.h: Forward declare "struct language_defn" and
8431 "struct parser_state".
8432 (expout, expout_size, expout_ptr): Remove extern declarations.
8433 (parse_gdbarch, parse_language): Rewrite macro declarations to
8434 accept the parser state.
8435 (struct parser_state): New struct.
8436 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
8437 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
8438 write_exp_elt_decfloatcst, write_exp_elt_type,
8439 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8440 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
8441 write_exp_msymbol, write_dollar_variable,
8442 mark_struct_expression, insert_type_address_space): Add "struct
8443 parser_state" argument.
8444 (increase_expout_size): New function.
8445 * utils.c (do_clear_parser_state): New function.
8446 (make_cleanup_clear_parser_state): Likewise.
8447 * utils.h (make_cleanup_clear_parser_state): New function
8448 prototype.
8449 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
8450 Update calls to write_exp* in order to pass the parser state.
8451 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
8452 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
8453 (i386_stap_parse_special_token_three_arg_disp): Likewise.
8454 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
8455 * stap-probe.c (stap_parse_register_operand): Likewise.
8456 (stap_parse_single_operand): Likewise.
8457 (stap_parse_argument_1): Likewise.
8458 (stap_parse_argument): Use parser state.
8459 * stap-probe.h: Include "parser-defs.h".
8460 (struct stap_parse_info) <pstate>: New field.
8461 * c-exp.y (parse_type): Rewrite to use parser state.
8462 (yyparse): Redefine to c_parse_internal.
8463 (pstate): New global variable.
8464 (parse_number): Add "struct parser_state" argument.
8465 (write_destructor_name): Likewise.
8466 (type_exp): Update calls to write_exp* and similars in order to
8467 use parser state.
8468 (exp1, exp, variable, qualified_name, space_identifier,
8469 typename, typebase): Likewise.
8470 (write_destructor_name, parse_number, lex_one_token,
8471 classify_name, classify_inner_name, c_parse): Add "struct
8472 parser_state" argument. Update function to use parser state.
8473 * c-lang.h: Forward declare "struct parser_state".
8474 (c_parse): Add "struct parser_state" argument.
8475 * ada-exp.y (parse_type): Rewrite macro to use parser state.
8476 (yyparse): Redefine macro to ada_parse_internal.
8477 (pstate): New variable.
8478 (write_int, write_object_renaming, write_var_or_type,
8479 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
8480 type_int, type_long, type_long_long, type_float, type_double,
8481 type_long_double, type_char, type_boolean, type_system_address):
8482 Add "struct parser_state" argument.
8483 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
8484 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
8485 var_or_type, aggregate, aggregate_component_list,
8486 positional_list, others, component_group,
8487 component_associations): Update calls to write_exp* and similar
8488 functions in order to use parser state.
8489 (ada_parse, write_var_from_sym, write_int,
8490 write_exp_op_with_string, write_object_renaming,
8491 find_primitive_type, write_selectors, write_ambiguous_var,
8492 write_var_or_type, write_name_assoc, type_int, type_long,
8493 type_long_long, type_float, type_double, type_long_double,
8494 type_char, type_boolean, type_system_address): Add "struct
8495 parser_state" argument. Adjust function to use parser state.
8496 * ada-lang.c (parse): Likewise.
8497 * ada-lang.h: Forward declare "struct parser_state".
8498 (ada_parse): Add "struct parser_state" argument.
8499 * ada-lex.l (processInt, processReal): Likewise. Adjust all
8500 calls to both functions.
8501 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
8502 parser state.
8503 (yyparse): Redefine macro to f_parse_internal.
8504 (pstate): New variable.
8505 (parse_number): Add "struct parser_state" argument.
8506 (type_exp, exp, subrange, typebase): Update calls to write_exp*
8507 and similars in order to use parser state.
8508 (parse_number): Adjust code to use parser state.
8509 (yylex): Likewise.
8510 (f_parse): New function.
8511 * f-lang.h: Forward declare "struct parser_state".
8512 (f_parse): Add "struct parser_state" argument.
8513 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
8514 parser state.
8515 (yyparse): Redefine macro for java_parse_internal.
8516 (pstate): New variable.
8517 (push_expression_name, push_expression_name, insert_exp): Add
8518 "struct parser_state" argument.
8519 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
8520 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
8521 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
8522 PostIncrementExpression, PostDecrementExpression,
8523 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
8524 UnaryExpressionNotPlusMinus, CastExpression,
8525 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
8526 RelationalExpression, EqualityExpression, AndExpression,
8527 ExclusiveOrExpression, InclusiveOrExpression,
8528 ConditionalAndExpression, ConditionalOrExpression,
8529 ConditionalExpression, Assignment, LeftHandSide): Update
8530 calls to write_exp* and similars in order to use parser state.
8531 (parse_number): Ajust code to use parser state.
8532 (yylex): Likewise.
8533 (java_parse): New function.
8534 (push_variable): Add "struct parser_state" argument. Adjust
8535 code to user parser state.
8536 (push_fieldnames, push_qualified_expression_name,
8537 push_expression_name, insert_exp): Likewise.
8538 * jv-lang.h: Forward declare "struct parser_state".
8539 (java_parse): Add "struct parser_state" argument.
8540 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
8541 parser state.
8542 (yyparse): Redefine macro to m2_parse_internal.
8543 (pstate): New variable.
8544 (type_exp, exp, fblock, variable, type): Update calls to
8545 write_exp* and similars to use parser state.
8546 (yylex): Likewise.
8547 (m2_parse): New function.
8548 * m2-lang.h: Forward declare "struct parser_state".
8549 (m2_parse): Add "struct parser_state" argument.
8550 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
8551 * objc-lang.h: Forward declare "struct parser_state".
8552 (end_msglist): Add "struct parser_state" argument.
8553 * p-exp.y (parse_type): Rewrite macro to use parser state.
8554 (yyparse): Redefine macro to pascal_parse_internal.
8555 (pstate): New variable.
8556 (parse_number): Add "struct parser_state" argument.
8557 (type_exp, exp1, exp, qualified_name, variable): Update calls to
8558 write_exp* and similars in order to use parser state.
8559 (parse_number, yylex): Adjust code to use parser state.
8560 (pascal_parse): New function.
8561 * p-lang.h: Forward declare "struct parser_state".
8562 (pascal_parse): Add "struct parser_state" argument.
8563 * go-exp.y (parse_type): Rewrite macro to use parser state.
8564 (yyparse): Redefine macro to go_parse_internal.
8565 (pstate): New variable.
8566 (parse_number): Add "struct parser_state" argument.
8567 (type_exp, exp1, exp, variable, type): Update calls to
8568 write_exp* and similars in order to use parser state.
8569 (parse_number, lex_one_token, classify_name, yylex): Adjust code
8570 to use parser state.
8571 (go_parse): Likewise.
8572 * go-lang.h: Forward declare "struct parser_state".
8573 (go_parse): Add "struct parser_state" argument.
8574
8575 2014-03-27 Doug Evans <dje@google.com>
8576
8577 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
8578
8579 2014-03-27 Doug Evans <dje@google.com>
8580
8581 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
8582 Remove argument abbrev_section. All callers updated.
8583
8584 2014-03-27 Doug Evans <dje@google.com>
8585
8586 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
8587 addr_base, ranges_base.
8588
8589 2014-03-26 Keith Seitz <keiths@redhat.com>
8590
8591 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
8592 types, not VAR_DOMAIN.
8593
8594 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
8595
8596 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
8597 "ra" registers.
8598 * features/nios2-linux.c: Regenerated.
8599 * features/nios2.c: Regenerated.
8600
8601 2014-03-25 Pedro Alves <palves@redhat.com>
8602
8603 * cli/cli-script.c (script_from_file): Force the interpreter to
8604 sync mode.
8605
8606 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8607
8608 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
8609 small stack allocation.
8610
8611 2014-03-24 Tristan Gingold <gingold@adacore.com>
8612
8613 * darwin-nat.c (exc_server): Remove unused prototype.
8614 (darwin_dump_message): Correctly display data on x86_64.
8615 (darwin_encode_reply): Fix style.
8616 Add comments and fix indentation.
8617
8618 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8619
8620 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
8621
8622 2014-03-22 Doug Evans <xdje42@gmail.com>
8623
8624 * infcmd.c: Whitespace fixes.
8625 (interrupt_command): Merge two function comments into one.
8626
8627 2014-03-22 Doug Evans <xdje42@gmail.com>
8628
8629 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
8630 All uses updated.
8631
8632 2014-03-22 Yao Qi <yao@codesourcery.com>
8633
8634 * remote.c (target_read_live_memory): Remove.
8635 (memory_xfer_live_readonly_partial): Rename it to
8636 remote_xfer_live_readonly_partial. Remove argument 'object'.
8637 All callers updated. Call remote_read_bytes_1
8638 instead of target_read_live_memory.
8639 * tracepoint.c (set_traceframe_number): Remove.
8640 (make_cleanup_restore_traceframe_number): Likewise .
8641 * tracepoint.h (set_traceframe_number): Remove declaration.
8642 (make_cleanup_restore_traceframe_number): Likewise.
8643
8644 2014-03-22 Yao Qi <yao@codesourcery.com>
8645
8646 * remote.c (remote_read_bytes): Move code on reading from the
8647 remote stub to ...
8648 (remote_read_bytes_1): ... here. New function.
8649
8650 2014-03-22 Yao Qi <yao@codesourcery.com>
8651
8652 * ctf.c (ctf_xfer_partial): Check the return value of
8653 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
8654 return TARGET_XFER_UNAVAILABLE.
8655 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8656 * target.c (target_read_live_memory): Move it to remote.c.
8657 (memory_xfer_live_readonly_partial): Likewise.
8658 (memory_xfer_partial_1): Move some code to remote_read_bytes.
8659 * remote.c (target_read_live_memory): Moved from target.c.
8660 (memory_xfer_live_readonly_partial): Likewise.
8661 (remote_read_bytes): Factored out from
8662 memory_xfer_partial_1.
8663
8664 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
8665
8666 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
8667 NULL pointer.
8668
8669 2014-03-21 Pedro Alves <palves@redhat.com>
8670
8671 * infrun.c (normal_stop): Extend comment.
8672
8673 2014-03-21 Hui Zhu <hui@codesourcery.com>
8674 Pedro Alves <palves@redhat.com>
8675
8676 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
8677 static buffer.
8678 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
8679 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
8680 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
8681
8682 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
8683
8684 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
8685 `z' formatted output modifier.
8686
8687 2014-03-20 Tom Tromey <tromey@redhat.com>
8688 Sergio Durigan Junior <sergiodj@redhat.com>
8689
8690 * probe.c (parse_probes): Turn assert into an ordinary error.
8691 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
8692 exceptions when parsing probes. Rearrange the code for clarity.
8693
8694 2014-03-20 Tom Tromey <tromey@redhat.com>
8695
8696 PR gdb/14135
8697 * top.c (execute_command): Only dispatch events if the command
8698 started the target.
8699
8700 2014-03-20 Tom Tromey <tromey@redhat.com>
8701
8702 PR cli/15718
8703 * infcall.c: Include event-top.h.
8704 (run_inferior_call): Call async_disable_stdin if needed.
8705
8706 2014-03-20 Pedro Alves <palves@redhat.com>
8707
8708 * infrun.c (prepare_to_proceed): Delete.
8709 (thread_still_needs_step_over): New function.
8710 (find_thread_needs_step_over): New function.
8711 (proceed): If the current thread needs a step-over, set its
8712 steping_over_breakpoint flag. Adjust to use
8713 find_thread_needs_step_over instead of prepare_to_proceed.
8714 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
8715 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
8716 breakpoint.
8717 (switch_back_to_stepped_thread): Step over breakpoints of all
8718 threads not the stepping thread, before switching back to the
8719 stepping thread.
8720
8721 2014-03-20 Pedro Alves <palves@redhat.com>
8722
8723 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
8724 extern.
8725 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
8726 * infrun.c (saved_singlestep_ptid)
8727 (stepping_past_singlestep_breakpoint): Delete.
8728 (resume): Remove stepping_past_singlestep_breakpoint handling.
8729 (proceed): Store the prev_pc of the stepping thread too.
8730 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
8731 singlestep_pc.
8732 (enum infwait_states): Delete infwait_thread_hop_state.
8733 (struct execution_control_state) <hit_singlestep_breakpoint>: New
8734 field.
8735 (handle_inferior_event): Adjust.
8736 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
8737 handling and the thread-hop code. Before removing single-step
8738 breakpoints, check whether the thread hit a single-step breakpoint
8739 of another thread. If it did, the trap is not a random signal.
8740 (switch_back_to_stepped_thread): If the event thread hit a
8741 single-step breakpoint, unblock it before switching to the
8742 stepping thread. Handle the case of the stepped thread having
8743 advanced already.
8744 (keep_going): Handle the case of the current thread moving past a
8745 single-step breakpoint.
8746
8747 2014-03-20 Pedro Alves <palves@redhat.com>
8748
8749 PR breakpoints/7143
8750 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
8751 are being stepped over.
8752 (breakpoint_address_match): Make extern.
8753 * breakpoint.h (breakpoint_address_match): New declaration.
8754 * inferior.h (stepping_past_instruction_at): New declaration.
8755 * infrun.c (struct step_over_info): New type.
8756 (step_over_info): New global.
8757 (set_step_over_info, clear_step_over_info)
8758 (stepping_past_instruction_at): New functions.
8759 (handle_inferior_event): Clear the step-over info when
8760 trap_expected is cleared.
8761 (resume): Remove now stale comment.
8762 (clear_proceed_status): Clear step-over info.
8763 (proceed): Adjust step-over handling to set or clear the step-over
8764 info instead of removing all breakpoints.
8765 (handle_signal_stop): When setting up a thread-hop, don't remove
8766 breakpoints here.
8767 (stop_stepping): Clear step-over info.
8768 (keep_going): Adjust step-over handling to set or clear step-over
8769 info and then always inserting breakpoints, instead of removing
8770 all breakpoints when stepping over one.
8771
8772 2014-03-20 Pedro Alves <palves@redhat.com>
8773
8774 * infrun.c (previous_inferior_ptid): Adjust comment.
8775 (deferred_step_ptid): Delete.
8776 (infrun_thread_ptid_changed, prepare_to_proceed)
8777 (init_wait_for_inferior): Adjust.
8778 (handle_signal_stop): Delete deferred_step_ptid handling.
8779
8780 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8781
8782 PR gdb/15358
8783 * defs.h (sync_quit_force_run): New declaration.
8784 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
8785 * event-top.c (async_sigterm_handler): New declaration.
8786 (async_sigterm_token): New variable.
8787 (async_init_signals): Create also async_sigterm_token.
8788 (async_sigterm_handler): New function.
8789 (sync_quit_force_run): New variable.
8790 (handle_sigterm): Replace quit_force call by other calls.
8791 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
8792
8793 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
8794
8795 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
8796 offset into SPE pseudo registers.
8797
8798 2014-03-18 Pedro Alves <palves@redhat.com>
8799
8800 PR gdb/13860
8801 * inferior.h (print_stop_event): Declare.
8802 * infrun.c (print_stop_event): New, factored out from ...
8803 (normal_stop): ... this.
8804 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
8805 of bpstat_print/print_stack_frame.
8806
8807 2014-03-17 Tom Tromey <tromey@redhat.com>
8808
8809 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
8810
8811 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
8812
8813 * ada-lang.c (decode_constrained_packed_array): Perform a
8814 minimal coercion for reference with coerce_ref instead of
8815 ada_coerce_ref.
8816
8817 2014-03-17 Tristan Gingold <gingold@adacore.com>
8818
8819 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
8820 (darwin_solib_create_inferior_hook): Emit a warning if version
8821 is unhandled.
8822
8823 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
8824
8825 * python/py-value.c (get_field_flag): Cast flag_name argument to
8826 PyObject_GetAttrString to support Python 2.4.
8827
8828 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8829
8830 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
8831 (Global Maintainers): Remove Jan Kratochvil.
8832
8833 2014-03-14 Pedro Alves <palves@redhat.com>
8834
8835 * inferior.h (terminal_ours_for_output): Rename to ...
8836 (child_terminal_ours_for_output): ... this.
8837 (terminal_save_ours): Rename to ...
8838 (child_terminal_save_ours): ... this.
8839 (terminal_ours): Rename to ...
8840 (child_terminal_ours): ... this.
8841 (terminal_inferior): Rename to ...
8842 (child_terminal_inferior): ... this.
8843 (terminal_init_inferior): Rename to ...
8844 (child_terminal_init_inferior): ... this.
8845 (terminal_init_inferior_with_pgrp): Rename to ...
8846 (child_terminal_init_inferior_with_pgrp): ... this.
8847 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
8848 (child_terminal_init_with_pgrp): ... this.
8849 (terminal_save_ours): Rename to ...
8850 (child_terminal_save_ours): ... this.
8851 (terminal_init_inferior): Rename to ...
8852 (child_terminal_init): ... this. Adjust.
8853 (terminal_inferior): Rename to ...
8854 (child_terminal_inferior): ... this.
8855 (terminal_ours_for_output): Rename to ...
8856 (child_terminal_ours_for_output): ... this. Adjust.
8857 (terminal_ours): Rename to ...
8858 (child_terminal_ours): ... this.
8859 (terminal_ours_1): Rename to ...
8860 (child_terminal_ours_1): ... this. Adjust.
8861 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
8862 * windows-nat.c (do_initial_windows_stuff): Adjust.
8863 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
8864 (gnu_terminal_init): ... this. Adjust.
8865 (gnu_target): Adjust.
8866 * inf-child.c (inf_child_target): Adjust.
8867
8868 2014-03-13 Doug Evans <xdje42@gmail.com>
8869
8870 PR guile/16612
8871 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
8872 new eq?-hashtab.
8873
8874 2014-03-13 Doug Evans <xdje42@gmail.com>
8875
8876 * value.c (record_latest_value): Call release_value_or_incref
8877 instead of release_value.
8878
8879 2014-03-13 Pedro Alves <palves@redhat.com>
8880
8881 * procfs.c (procfs_target): Don't override to_shortname,
8882 to_longname or to_doc.
8883
8884 2014-03-13 Pedro Alves <palves@redhat.com>
8885
8886 * inf-child.c (inf_child_open, inf_child_target): Don't mention
8887 Unix in user visible strings.
8888
8889 2014-03-12 Stan Shebs <stan@codesourcery.com>
8890
8891 * gdbtypes.h: Annotate comments for Doxygen, add a page
8892 block comment with some general info.
8893
8894 2014-03-12 Pedro Alves <palves@redhat.com>
8895
8896 * infcmd.c (prepare_execution_command): New function, factored out
8897 from several execution commands.
8898 (run_command_1, continue_command, step_1, jump_command)
8899 (signal_command, until_command, advance_command, finish_command)
8900 (attach_command): Use prepare_execution_command.
8901
8902 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
8903
8904 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
8905 (MAX_BPTS): Define.
8906 (MAX_WPTS): Define.
8907 (struct arm_linux_thread_points): Removed.
8908 (struct arm_linux_process_info): New.
8909 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
8910 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
8911 (arm_linux_find_breakpoints_by_tid): Removed.
8912 (struct arch_lwp_info): New.
8913 (arm_linux_find_process_pid): New functions.
8914 (arm_linux_add_process): New functions.
8915 (arm_linux_process_info_get): New functions.
8916 (arm_linux_forget_process): New function.
8917 (arm_linux_get_debug_reg_state): New function.
8918 (struct update_registers_data): New.
8919 (update_registers_callback): New function.
8920 (arm_linux_insert_hw_breakpoint1): Updated.
8921 (arm_linux_remove_hw_breakpoint1): Updated.
8922 (arm_linux_insert_hw_breakpoint): Updated.
8923 (arm_linux_remove_hw_breakpoint): Updated.
8924 (arm_linux_insert_watchpoint): Updated.
8925 (arm_linux_remove_watchpoint): Updated.
8926 (arm_linux_new_thread): Updated.
8927 (arm_linux_prepare_to_resume): New function.
8928 (arm_linux_new_fork): New function.
8929 (_initialize_arm_linux_nat): Updated.
8930
8931 2014-03-12 Pedro Alves <palves@redhat.com>
8932
8933 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
8934
8935 2014-03-12 Tom Tromey <tromey@redhat.com>
8936
8937 * inf-child.c (return_zero): New function.
8938 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
8939 * aix-thread.c (aix_thread_inferior_created): New function.
8940 (aix_thread_attach): Remove.
8941 (init_aix_thread_ops): Don't set to_attach.
8942 (_initialize_aix_thread): Register inferior_created observer.
8943 * corelow.c (init_core_ops): Don't set to_attach or
8944 to_create_inferior.
8945 * exec.c (init_exec_ops): Don't set to_attach or
8946 to_create_inferior.
8947 * infcmd.c (run_command_1): Use find_run_target. Make direct
8948 target calls.
8949 (attach_command): Use find_attach_target. Make direct target
8950 calls.
8951 * record-btrace.c (init_record_btrace_ops): Don't set
8952 to_create_inferior.
8953 * record-full.c (record_full_can_async_p, record_full_is_async_p):
8954 Remove.
8955 (init_record_full_ops, init_record_full_core_ops): Update. Don't
8956 set to_create_inferior.
8957 * target.c (complete_target_initialization): Add assertion.
8958 (target_create_inferior): Remove.
8959 (find_default_attach, find_default_create_inferior): Remove.
8960 (find_attach_target, find_run_target): New functions.
8961 (find_default_is_async_p, find_default_can_async_p)
8962 (target_supports_non_stop, target_attach): Remove.
8963 (init_dummy_target): Don't set to_create_inferior or
8964 to_supports_non_stop.
8965 * target.h (struct target_ops) <to_attach>: Add comment. Remove
8966 TARGET_DEFAULT_FUNC.
8967 <to_create_inferior>: Add comment.
8968 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
8969 TARGET_DEFAULT_RETURN.
8970 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
8971 (find_attach_target, find_run_target): Declare.
8972 (target_create_inferior): Remove.
8973 (target_has_execution_1): Update comment.
8974 (target_supports_non_stop): Remove.
8975 * target-delegates.c: Rebuild.
8976
8977 2014-03-12 Pedro Alves <palves@redhat.com>
8978
8979 * inf-child.h: Update comment to not mention Unix.
8980
8981 2014-03-12 Pedro Alves <palves@redhat.com>
8982
8983 * inf-child.c: Update top comment to not mention Unix. Add
8984 generic comment describing how this target is meant to be used.
8985 (inf_child_post_attach, inf_child_post_startup_inferior)
8986 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
8987 Unix in comment.
8988
8989 2014-03-12 Pedro Alves <palves@redhat.com>
8990
8991 * nto-procfs.c: Include inf-child.h.
8992 (procfs_ops): Delete global.
8993 (procfs_can_run): Delete method.
8994 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
8995 target pointer instead of referencing procfs_ops.
8996 (procfs_prepare_to_store): Delete.
8997 (init_procfs_ops): Delete function.
8998 (procfs_target): New function, based on init_procfs_ops, but
8999 inherit inf_child_target.
9000 (_initialize_procfs): Use procfs_target.
9001
9002 2014-03-12 Pedro Alves <palves@redhat.com>
9003
9004 * windows-nat.c: Include inf-child.h.
9005 (windows_ops): Delete global.
9006 (windows_open, windows_prepare_to_store, windows_can_run): Delete
9007 methods.
9008 (init_windows_ops): Delete function.
9009 (windows_target): New function, based on init_windows_ops, but
9010 inherit inf_child_target.
9011 (_initialize_windows_nat): Use windows_target. Install x86
9012 specific target methods here.
9013
9014 2014-03-10 Doug Evans <xdje42@gmail.com>
9015
9016 * guile/guile.c (call_initialize_gdb_module): New function.
9017 (initialize_guile): Replace call to scm_init_guile with call to
9018 scm_with_guile.
9019
9020 2014-03-10 Joel Brobecker <brobecker@adacore.com>
9021
9022 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
9023 in call to TYPE_CODE macro.
9024
9025 2014-03-10 Jerome Guitton <guitton@adacore.com>
9026
9027 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
9028 Resolve tagged types to full view.
9029
9030 2014-03-10 Hui Zhu <hui@codesourcery.com>
9031
9032 * target.h (target_insert_breakpoint): Remove "hardware" from its
9033 comments.
9034
9035 2014-03-07 Doug Evans <dje@google.com>
9036
9037 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
9038
9039 2014-03-07 Doug Evans <dje@google.com>
9040
9041 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
9042 Remove unused local comp_dir_attr. Assert exactly one of
9043 stub_comp_unit_die, stub_comp_dir is non-NULL.
9044
9045 2014-03-07 Joel Brobecker <brobecker@adacore.com>
9046
9047 * target.h (complete_target_initialization, add_target):
9048 Add comment.
9049
9050 2014-03-07 Pedro Alves <palves@redhat.com>
9051
9052 * go32-nat.c: Include inf-child.h.
9053 (go32_ops): Delete global.
9054 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
9055 Delete methods.
9056 (go32_create_inferior): Push the passed in target pointer instead
9057 of referencing go32_ops.
9058 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
9059 (go32_target): New function, based on init_go32_ops, but inherit
9060 inf_child_target.
9061 (_initialize_go32_nat): Use go32_target. Move parts of
9062 init_go32_ops here.
9063
9064 2014-03-06 Joel Brobecker <brobecker@adacore.com>
9065
9066 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
9067 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
9068 SYMBOL_VALUE_ADDRESS.
9069 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
9070
9071 2014-03-06 Yao Qi <yao@codesourcery.com>
9072
9073 * breakpoint.c (get_tracepoint_by_number): Remove argument
9074 optional_p. All callers updated. Adjust comments. Update
9075 output message.
9076 * breakpoint.h (get_tracepoint_by_number): Update declaration.
9077
9078 2014-03-06 Yao Qi <yao@codesourcery.com>
9079
9080 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
9081 early if get_number returns zero. Use 'p' instead of 'args'.
9082
9083 2014-03-06 Yao Qi <yao@codesourcery.com>
9084
9085 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
9086 message.
9087
9088 2014-03-06 Yao Qi <yao@codesourcery.com>
9089
9090 PR breakpoints/16508
9091 * tracepoint.c (check_trace_running): New function.
9092 (trace_find_command): Move code to check_trace_running and
9093 call check_trace_running.
9094 (trace_find_pc_command): Likewise.
9095 (trace_find_tracepoint_command): Likewise.
9096 (trace_find_line_command): Likewise.
9097 (trace_find_range_command): Likewise.
9098 * tracepoint.h (check_trace_running): Likewise.
9099 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
9100
9101 2014-03-06 Yao Qi <yao@codesourcery.com>
9102
9103 * target.h (struct target_ops) <to_traceframe_info>: Use
9104 TARGET_DEFAULT_NORETURN (tcomplain ()).
9105 * target-delegates.c: Regenerated.
9106
9107 2014-03-05 Pedro Alves <palves@redhat.com>
9108
9109 PR gdb/16575
9110 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
9111 void. Update comment.
9112 (dcache_xfer_memory): Delete.
9113 (dcache_read_memory_partial): New, based on the read bits of
9114 dcache_xfer_memory.
9115 (dcache_update): Add status parameter. Use ULONGEST for len, and
9116 adjust. Discard cache lines if the reason for the update was
9117 error.
9118 * dcache.h (dcache_xfer_memory): Delete declaration.
9119 (dcache_read_memory_partial): New declaration.
9120 (dcache_update): Update prototype.
9121 * target.c (raw_memory_xfer_partial): Update the dcache here.
9122 (memory_xfer_partial_1): Don't handle dcache writes here.
9123
9124 2014-03-05 Mike Frysinger <vapier@gentoo.org>
9125
9126 * remote-sim.c (gdbsim_load): Add const to prog.
9127
9128 2014-03-03 Tom Tromey <tromey@redhat.com>
9129
9130 * elfread.c (probe_key): Change to bfd_data.
9131 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
9132 now per-BFD, not per-objfile.
9133 * stap-probe.c (stap_probe_destroy): Update comment.
9134 (handle_stap_probe): Allocate on the per-BFD obstack.
9135
9136 2014-03-03 Tom Tromey <tromey@redhat.com>
9137
9138 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
9139 * breakpoint.c (create_longjmp_master_breakpoint): Use
9140 get_probe_address.
9141 (add_location_to_breakpoint, bkpt_probe_insert_location)
9142 (bkpt_probe_remove_location): Update.
9143 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
9144 * elfread.c (elf_symfile_relocate_probe): Remove.
9145 (elf_probe_fns): Update.
9146 (insert_exception_resume_breakpoint): Change type of "probe"
9147 parameter to bound_probe.
9148 (check_exception_resume): Update.
9149 * objfiles.c (objfile_relocate1): Don't relocate probes.
9150 * probe.c (bound_probe_s): New typedef.
9151 (parse_probes): Use get_probe_address. Set sal's objfile.
9152 (find_probe_by_pc): Return a bound_probe.
9153 (collect_probes): Return a VEC(bound_probe_s).
9154 (compare_probes): Update.
9155 (gen_ui_out_table_header_info): Change type of "probes"
9156 parameter. Update.
9157 (info_probes_for_ops): Update.
9158 (get_probe_address): New function.
9159 (probe_safe_evaluate_at_pc): Update.
9160 * probe.h (struct probe_ops) <get_probe_address>: New field.
9161 <set_semaphore, clear_semaphore>: Add objfile parameter.
9162 (struct probe) <objfile>: Remove field.
9163 <arch>: New field.
9164 <address>: Update comment.
9165 (struct bound_probe): New.
9166 (find_probe_by_pc): Return a bound_probe.
9167 (get_probe_address): Declare.
9168 * solib-svr4.c (struct probe_and_action) <address>: New field.
9169 (hash_probe_and_action, equal_probe_and_action): Update.
9170 (register_solib_event_probe): Add address parameter.
9171 (solib_event_probe_at): Update.
9172 (svr4_create_probe_breakpoints): Add objfile parameter. Use
9173 get_probe_address.
9174 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
9175 (stap_get_probe_address): New function.
9176 (stap_can_evaluate_probe_arguments, compute_probe_arg)
9177 (compile_probe_arg): Update.
9178 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
9179 address.
9180 (handle_stap_probe): Don't relocate the probe.
9181 (stap_relocate): Remove.
9182 (stap_gen_info_probes_table_values): Update.
9183 (stap_probe_ops): Remove stap_relocate.
9184 * symfile-debug.c (debug_sym_relocate_probe): Remove.
9185 (debug_sym_probe_fns): Update.
9186 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
9187 * symtab.c (init_sal): Use memset.
9188 * symtab.h (struct symtab_and_line) <objfile>: New field.
9189 * tracepoint.c (start_tracing, stop_tracing): Update.
9190
9191 2014-03-03 Tom Tromey <tromey@redhat.com>
9192
9193 * probe.h (parse_probes, find_probe_by_pc)
9194 (find_probes_in_objfile): Fix comments.
9195
9196 2014-03-02 Doug Evans <xdje42@gmail.com>
9197
9198 * infrun.c (handle_signal_stop): Replace test for
9199 TARGET_WAITKIND_STOPPED with an assert.
9200
9201 2014-03-02 Doug Evans <xdje42@gmail.com>
9202
9203 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
9204
9205 2014-03-02 Doug Evans <xdje42@gmail.com>
9206
9207 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
9208
9209 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9210
9211 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
9212
9213 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9214
9215 * i386obsd-nat.c: Include "obsd-nat.h".
9216 (_initialize_i386obsd_nat): Call obsd_add_target instead of
9217 add_target.
9218 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
9219
9220 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9221
9222 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
9223
9224 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9225
9226 * mips64obsd-nat.c: Include "obsd-nath".
9227 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
9228 add_target
9229 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9230
9231 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9232
9233 * amd64obsd-nat.c: Include "obsd-nat,h.
9234 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
9235 add_target.
9236 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9237
9238 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
9239
9240 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
9241 (find_overload_match): Update call to find_oload_champ.
9242 (find_oload_champ_namespace_loop): Likewise
9243
9244 2014-02-28 Mark Kettenis <kettenis@gnu.org>
9245
9246 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
9247
9248 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
9249 * config/sparc/obsd64.mh: New file.
9250 * sparc64obsd-nat.c: New file.
9251
9252 * obsd-nat.h: New file.
9253 * obsd-nat.c: New file.
9254 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
9255 (ALLDEPFILES): Add obsd-nat.c.
9256
9257 2014-02-28 Tom Tromey <tromey@redhat.com>
9258
9259 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
9260 * cli-out.h (cli_ui_out_impl): Now const.
9261 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
9262 * ui-out.c (struct ui_out) <impl>: Now const.
9263 (default_ui_out_impl): Now const.
9264 (ui_out_new): Make 'impl' parameter const.
9265 * ui-out.h (ui_out_new): Update.
9266
9267 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9268
9269 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
9270
9271 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9272
9273 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
9274
9275 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9276
9277 Additional PR 8882 fix.
9278 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
9279
9280 2014-02-27 Pedro Alves <palves@redhat.com>
9281
9282 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
9283 isn't set.
9284
9285 2014-02-27 Pedro Alves <palves@redhat.com>
9286
9287 PR 12702
9288 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
9289 * nat/linux-waitpid.c: Include string.h.
9290 (status_to_str): Moved here and made extern.
9291 * nat/linux-waitpid.h (status_to_str): New declaration.
9292
9293 2014-02-27 Hui Zhu <hui@codesourcery.com>
9294
9295 PR 12702
9296 * infrun.c (ptid_match): Move ...
9297 * common/ptid.c (ptid_match): ... here.
9298 * inferior.h (ptid_match): Move ...
9299 * common/ptid.h (ptid_match): ... here.
9300
9301 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9302
9303 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
9304 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
9305 gdb_target_obs.
9306
9307 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9308
9309 * obsd-tdep.c (obsd_auxv_parse): New function.
9310 (obsd_init_abi): Set auxv_parse.
9311
9312 * gdbarch.sh (auxv_parse): New.
9313 * gdbarch.h: Regenerated.
9314 * gdbarch.c: Regenerated.
9315 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
9316
9317 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9318
9319 * guile/scm-value.c (gdbscm_history_append_x): New function.
9320 (value_functions): Add it.
9321
9322 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9323
9324 * dwarf2read.c (attr_value_as_address): New function.
9325 (dwarf2_find_base_address, read_call_site_scope): Use
9326 attr_value_as_address in place of DW_ADDR.
9327 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
9328 the low and high addresses. Slight rework of the handling
9329 of the high pc being a constant form, and limit it to
9330 DWARF verson 4 or higher.
9331 (dwarf2_record_block_ranges): Likewise.
9332 (read_partial_die): Likewise.
9333 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
9334
9335 2014-02-26 Tom Tromey <tromey@redhat.com>
9336
9337 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
9338
9339 2014-02-26 Tom Tromey <tromey@redhat.com>
9340
9341 * elfread.c (elf_read_minimal_symbols): Return early if
9342 minimal symbols have already been read. Add "ei" parameter.
9343 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
9344 * minsyms.c (prim_record_minimal_symbol_full): Update.
9345 * objfiles.h (struct objstats) <n_minsyms>: Move...
9346 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
9347 * symmisc.c (print_objfile_statistics): Update.
9348
9349 2014-02-26 Tom Tromey <tromey@redhat.com>
9350
9351 * elfread.c (elf_read_minimal_symbols): New function, from
9352 elf_symfile_read.
9353 (elf_symfile_read): Call it.
9354
9355 2014-02-26 Tom Tromey <tromey@redhat.com>
9356
9357 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
9358 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
9359 (lookup_minimal_symbol_solib_trampoline)
9360 (lookup_minimal_symbol_by_pc_section_1)
9361 (lookup_minimal_symbol_and_objfile): Update.
9362 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
9363 Don't allocate a minimal symbol if minsyms have already been read.
9364 (build_minimal_symbol_hash_tables): Update.
9365 (install_minimal_symbols): Do nothing if minsyms already read.
9366 Use the per-BFD obstack.
9367 (terminate_minimal_symbol_table): Use the per-BFD obstack.
9368 * objfiles.c (allocate_objfile): Call
9369 terminate_minimal_symbol_table later.
9370 (have_minimal_symbols): Update.
9371 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
9372 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
9373 Move from struct objfile.
9374 <minsyms_read>: New field.
9375 (struct objfile) <msymbols, minimal_symbol_count,
9376 msymbol_hash, msymbol_demangled_hash>: Move.
9377 (ALL_OBJFILE_MSYMBOLS): Update.
9378 * symfile.c (read_symbols): Set minsyms_read.
9379 (reread_symbols): Update.
9380 * symmisc.c (dump_objfile, dump_msymbols): Update.
9381
9382 2014-02-26 Tom Tromey <tromey@redhat.com>
9383
9384 * minsyms.c (msymbols_sort): Remove.
9385 * minsyms.h (msymbols_sort): Remove.
9386 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
9387 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
9388 * elfread.c (elf_symtab_read): Don't add section offsets.
9389 * xcoffread.c (record_minimal_symbol): Don't add section offset
9390 to minimal symbol address.
9391 * somread.c (text_offset, data_offset): Remove.
9392 (som_symtab_read): Don't add section offsets to minimal symbol
9393 addresses.
9394 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
9395 Don't add section offsets to minimal symbols.
9396 * coffread.c (coff_symtab_read): Don't add section offsets
9397 to minimal symbol addresses.
9398 * machoread.c (macho_symtab_add_minsym): Don't add section offset
9399 to minimal symbol addresses.
9400 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
9401 section offset to minimal symbol addresses.
9402 * mdebugread.c (parse_partial_symbols): Don't add section
9403 offset to minimal symbol addresses.
9404 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
9405 offset to minimal symbol addresses.
9406
9407 2014-02-26 Tom Tromey <tromey@redhat.com>
9408
9409 * ada-lang.c (ada_main_name): Update.
9410 (ada_add_standard_exceptions): Update.
9411 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9412 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9413 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
9414 * auxv.c (ld_so_xfer_auxv): Update.
9415 * avr-tdep.c (avr_scan_prologue): Update.
9416 * ax-gdb.c (gen_var_ref): Update.
9417 * blockframe.c (get_pc_function_start)
9418 (find_pc_partial_function_gnu_ifunc): Update.
9419 * breakpoint.c (create_overlay_event_breakpoint)
9420 (create_longjmp_master_breakpoint)
9421 (create_std_terminate_master_breakpoint)
9422 (create_exception_master_breakpoint): Update.
9423 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9424 * c-valprint.c (c_val_print): Update.
9425 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9426 * common/agent.c (agent_look_up_symbols): Update.
9427 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9428 * dwarf2loc.c (call_site_to_target_addr): Update.
9429 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
9430 * elfread.c (elf_gnu_ifunc_record_cache)
9431 (elf_gnu_ifunc_resolve_by_got): Update.
9432 * findvar.c (default_read_var_value): Update.
9433 * frame.c (inside_main_func): Update.
9434 * frv-tdep.c (frv_frame_this_id): Update.
9435 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9436 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9437 Update.
9438 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
9439 (hppa_hpux_find_dummy_bpaddr): Update.
9440 * hppa-tdep.c (hppa_symbol_address): Update.
9441 * infcmd.c (until_next_command): Update.
9442 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
9443 Update.
9444 * linespec.c (minsym_found, add_minsym): Update.
9445 * linux-nat.c (get_signo): Update.
9446 * linux-thread-db.c (inferior_has_bug): Update.
9447 * m32c-tdep.c (m32c_return_value)
9448 (m32c_m16c_address_to_pointer): Update.
9449 * m32r-tdep.c (m32r_frame_this_id): Update.
9450 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9451 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9452 * maint.c (maintenance_translate_address): Update.
9453 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
9454 (frob_address): New function.
9455 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
9456 frob_address. Rename parameter to "pc_in".
9457 (compare_minimal_symbols, compact_minimal_symbols): Use raw
9458 addresses.
9459 (find_solib_trampoline_target, minimal_symbol_upper_bound):
9460 Update.
9461 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9462 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
9463 * objc-lang.c (find_objc_msgsend): Update.
9464 * objfiles.c (objfile_relocate1): Update.
9465 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9466 * p-valprint.c (pascal_val_print): Update.
9467 * parse.c (write_exp_msymbol): Update.
9468 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
9469 (ppc_elfv2_skip_entrypoint): Update.
9470 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9471 * printcmd.c (build_address_symbolic, msym_info)
9472 (address_info): Update.
9473 * proc-service.c (ps_pglobal_lookup): Update.
9474 * psymtab.c (find_pc_sect_psymtab_closer)
9475 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
9476 Change msymbol parameter to bound_minimal_symbol.
9477 * ravenscar-thread.c (get_running_thread_id): Update.
9478 * remote.c (remote_check_symbols): Update.
9479 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
9480 address.
9481 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9482 * solib-dsbt.c (lm_base): Update.
9483 * solib-frv.c (lm_base, main_got): Update.
9484 * solib-irix.c (locate_base): Update.
9485 * solib-som.c (som_solib_create_inferior_hook)
9486 (link_map_start): Update.
9487 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
9488 * solib-svr4.c (elf_locate_base, enable_break): Update.
9489 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9490 (flush_ea_cache): Update.
9491 * stabsread.c (define_symbol, scan_file_globals): Update.
9492 * stack.c (find_frame_funname): Update.
9493 * symfile-debug.c (debug_qf_expand_symtabs_matching)
9494 (debug_qf_find_pc_sect_symtab): Update.
9495 * symfile.c (simple_read_overlay_table)
9496 (simple_overlay_update): Update.
9497 * symfile.h (struct quick_symbol_functions)
9498 <find_pc_sect_symtab>: Change type of msymbol to
9499 bound_minimal_symbol.
9500 * symmisc.c (dump_msymbols): Update.
9501 * symtab.c (find_pc_sect_symtab_via_partial)
9502 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
9503 (search_symbols, print_msymbol_info): Update.
9504 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
9505 (MSYMBOL_VALUE_ADDRESS): Redefine.
9506 (BMSYMBOL_VALUE_ADDRESS): New macro.
9507 * tracepoint.c (scope_info): Update.
9508 * tui/tui-disasm.c (tui_find_disassembly_address)
9509 (tui_get_begin_asm_address): Update.
9510 * valops.c (find_function_in_inferior): Update.
9511 * value.c (value_static_field, value_fn_field): Update.
9512
9513 2014-02-26 Tom Tromey <tromey@redhat.com>
9514
9515 * ada-lang.c (ada_update_initial_language): Update.
9516 (ada_main_name, ada_has_this_exception_support): Update.
9517 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9518 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9519 * arm-tdep.c (arm_skip_stub): Update.
9520 * auxv.c (ld_so_xfer_auxv): Update.
9521 * avr-tdep.c (avr_scan_prologue): Update.
9522 * ax-gdb.c (gen_var_ref): Update.
9523 * breakpoint.c (struct breakpoint_objfile_data)
9524 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
9525 type to bound_minimal_symbol.
9526 (create_overlay_event_breakpoint)
9527 (create_longjmp_master_breakpoint)
9528 (create_std_terminate_master_breakpoint)
9529 (create_exception_master_breakpoint): Update.
9530 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9531 * c-exp.y (classify_name): Update.
9532 * coffread.c (coff_symfile_read): Update.
9533 * common/agent.c (agent_look_up_symbols): Update.
9534 * d-lang.c (d_main_name): Update.
9535 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9536 * dec-thread.c (enable_dec_thread): Update.
9537 * dwarf2loc.c (call_site_to_target_addr): Update.
9538 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
9539 * eval.c (evaluate_subexp_standard): Update.
9540 * findvar.c (struct minsym_lookup_data) <result>: Change type
9541 to bound_minimal_symbol.
9542 <objfile>: Remove.
9543 (minsym_lookup_iterator_cb, default_read_var_value): Update.
9544 * frame.c (inside_main_func): Update.
9545 * frv-tdep.c (frv_frame_this_id): Update.
9546 * gcore.c (call_target_sbrk): Update.
9547 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9548 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9549 Update.
9550 * go-lang.c (go_main_name): Update.
9551 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
9552 (hppa_hpux_find_import_stub_for_addr): Update.
9553 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
9554 Update. Change return type.
9555 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
9556 type.
9557 * jit.c (jit_breakpoint_re_set_internal): Update.
9558 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
9559 Update.
9560 * linux-nat.c (get_signo): Update.
9561 * linux-thread-db.c (inferior_has_bug): Update
9562 * m32c-tdep.c (m32c_return_value)
9563 (m32c_m16c_address_to_pointer): Update.
9564 * m32r-tdep.c (m32r_frame_this_id): Update.
9565 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9566 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9567 * minsyms.c (lookup_minimal_symbol_internal): Rename to
9568 lookup_minimal_symbol. Change return type.
9569 (lookup_minimal_symbol): Remove.
9570 (lookup_bound_minimal_symbol): Update.
9571 (lookup_minimal_symbol_text): Change return type.
9572 (lookup_minimal_symbol_solib_trampoline): Change return type.
9573 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
9574 (lookup_minimal_symbol_solib_trampoline): Change return type.
9575 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9576 * objc-lang.c (lookup_objc_class, lookup_child_selector)
9577 (value_nsstring, find_imps): Update.
9578 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9579 * p-lang.c (pascal_main_name): Update.
9580 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
9581 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9582 * proc-service.c (ps_pglobal_lookup): Update.
9583 * ravenscar-thread.c (get_running_thread_msymbol): Change
9584 return type.
9585 (has_ravenscar_runtime, get_running_thread_id): Update.
9586 * remote.c (remote_check_symbols): Update.
9587 * sol-thread.c (ps_pglobal_lookup): Update.
9588 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9589 * solib-dsbt.c (lm_base): Update.
9590 * solib-frv.c (lm_base, frv_relocate_section_addresses):
9591 Update.
9592 * solib-irix.c (locate_base): Update.
9593 * solib-som.c (som_solib_create_inferior_hook)
9594 (som_solib_desire_dynamic_linker_symbols, link_map_start):
9595 Update.
9596 * solib-spu.c (spu_enable_break): Update.
9597 * solib-svr4.c (elf_locate_base, enable_break): Update.
9598 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9599 (flush_ea_cache): Update.
9600 * stabsread.c (define_symbol): Update.
9601 * symfile.c (simple_read_overlay_table): Update.
9602 * symtab.c (find_pc_sect_line): Update.
9603 * tracepoint.c (scope_info): Update.
9604 * tui-disasm.c (tui_get_begin_asm_address): Update.
9605 * value.c (value_static_field): Update.
9606
9607 2014-02-26 Tom Tromey <tromey@redhat.com>
9608
9609 * minsyms.c (prim_record_minimal_symbol_full): Use
9610 SET_MSYMBOL_VALUE_ADDRESS.
9611 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
9612 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
9613 SET_MSYMBOL_VALUE_ADDRESS.
9614 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
9615 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
9616
9617 2014-02-26 Tom Tromey <tromey@redhat.com>
9618
9619 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
9620 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
9621 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
9622 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
9623 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
9624 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
9625 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
9626 * ada-lang.c (ada_main_name): Update.
9627 (ada_lookup_simple_minsym): Update.
9628 (ada_make_symbol_completion_list): Update.
9629 (ada_add_standard_exceptions): Update.
9630 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
9631 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9632 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
9633 * arm-tdep.c (skip_prologue_function): Update.
9634 (arm_skip_stack_protector, arm_skip_stub): Update.
9635 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
9636 (arm_wince_skip_main_prologue): Update.
9637 * auxv.c (ld_so_xfer_auxv): Update.
9638 * avr-tdep.c (avr_scan_prologue): Update.
9639 * ax-gdb.c (gen_var_ref): Update.
9640 * block.c (call_site_for_pc): Update.
9641 * blockframe.c (get_pc_function_start): Update.
9642 (find_pc_partial_function_gnu_ifunc): Update.
9643 * breakpoint.c (create_overlay_event_breakpoint): Update.
9644 (create_longjmp_master_breakpoint): Update.
9645 (create_std_terminate_master_breakpoint): Update.
9646 (create_exception_master_breakpoint): Update.
9647 (resolve_sal_pc): Update.
9648 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9649 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
9650 Update.
9651 * c-valprint.c (c_val_print): Update.
9652 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9653 * coffread.c (coff_symfile_read): Update.
9654 * common/agent.c (agent_look_up_symbols): Update.
9655 * dbxread.c (find_stab_function_addr): Update.
9656 (end_psymtab): Update.
9657 * dwarf2loc.c (call_site_to_target_addr): Update.
9658 (func_verify_no_selftailcall): Update.
9659 (tailcall_dump): Update.
9660 (call_site_find_chain_1): Update.
9661 (dwarf_expr_reg_to_entry_parameter): Update.
9662 * elfread.c (elf_gnu_ifunc_record_cache): Update.
9663 (elf_gnu_ifunc_resolve_by_got): Update.
9664 * f-valprint.c (info_common_command): Update.
9665 * findvar.c (read_var_value): Update.
9666 * frame.c (get_prev_frame_1): Update.
9667 (inside_main_func): Update.
9668 * frv-tdep.c (frv_skip_main_prologue): Update.
9669 (frv_frame_this_id): Update.
9670 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9671 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
9672 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
9673 (gnuv3_skip_trampoline): Update.
9674 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
9675 (hppa64_hpux_in_solib_call_trampoline): Update.
9676 (hppa_hpux_skip_trampoline_code): Update.
9677 (hppa64_hpux_search_dummy_call_sequence): Update.
9678 (hppa_hpux_find_import_stub_for_addr): Update.
9679 (hppa_hpux_find_dummy_bpaddr): Update.
9680 * hppa-tdep.c (hppa_symbol_address)
9681 (hppa_lookup_stub_minimal_symbol): Update.
9682 * i386-tdep.c (i386_skip_main_prologue): Update.
9683 (i386_pe_skip_trampoline_code): Update.
9684 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
9685 * infcall.c (get_function_name): Update.
9686 * infcmd.c (until_next_command): Update.
9687 * jit.c (jit_breakpoint_re_set_internal): Update.
9688 (jit_inferior_init): Update.
9689 * linespec.c (minsym_found): Update.
9690 (add_minsym): Update.
9691 * linux-fork.c (info_checkpoints_command): Update.
9692 * linux-nat.c (get_signo): Update.
9693 * linux-thread-db.c (inferior_has_bug): Update.
9694 * m32c-tdep.c (m32c_return_value): Update.
9695 (m32c_m16c_address_to_pointer): Update.
9696 (m32c_m16c_pointer_to_address): Update.
9697 * m32r-tdep.c (m32r_frame_this_id): Update.
9698 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9699 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9700 * maint.c (maintenance_translate_address): Update.
9701 * minsyms.c (add_minsym_to_hash_table): Update.
9702 (add_minsym_to_demangled_hash_table): Update.
9703 (msymbol_objfile): Update.
9704 (lookup_minimal_symbol): Update.
9705 (iterate_over_minimal_symbols): Update.
9706 (lookup_minimal_symbol_text): Update.
9707 (lookup_minimal_symbol_by_pc_name): Update.
9708 (lookup_minimal_symbol_solib_trampoline): Update.
9709 (lookup_minimal_symbol_by_pc_section_1): Update.
9710 (lookup_minimal_symbol_and_objfile): Update.
9711 (prim_record_minimal_symbol_full): Update.
9712 (compare_minimal_symbols): Update.
9713 (compact_minimal_symbols): Update.
9714 (build_minimal_symbol_hash_tables): Update.
9715 (install_minimal_symbols): Update.
9716 (terminate_minimal_symbol_table): Update.
9717 (find_solib_trampoline_target): Update.
9718 (minimal_symbol_upper_bound): Update.
9719 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9720 * mips-tdep.c (mips_stub_frame_sniffer): Update.
9721 (mips_skip_pic_trampoline_code): Update.
9722 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
9723 * objc-lang.c (selectors_info): Update.
9724 (classes_info): Update.
9725 (find_methods): Update.
9726 (find_imps): Update.
9727 (find_objc_msgsend): Update.
9728 * objfiles.c (objfile_relocate1): Update.
9729 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
9730 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9731 * p-valprint.c (pascal_val_print): Update.
9732 * parse.c (write_exp_msymbol): Update.
9733 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
9734 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
9735 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9736 * printcmd.c (build_address_symbolic): Update.
9737 (sym_info): Update.
9738 (address_info): Update.
9739 * proc-service.c (ps_pglobal_lookup): Update.
9740 * psymtab.c (find_pc_sect_psymtab_closer): Update.
9741 (find_pc_sect_psymtab): Update.
9742 * python/py-framefilter.c (py_print_frame): Update.
9743 * ravenscar-thread.c (get_running_thread_id): Update.
9744 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
9745 Update.
9746 * remote.c (remote_check_symbols): Update.
9747 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
9748 (rs6000_skip_trampoline_code): Update.
9749 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
9750 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9751 * solib-dsbt.c (lm_base): Update.
9752 * solib-frv.c (lm_base): Update.
9753 (main_got): Update.
9754 * solib-irix.c (locate_base): Update.
9755 * solib-som.c (som_solib_create_inferior_hook): Update.
9756 (som_solib_desire_dynamic_linker_symbols): Update.
9757 (link_map_start): Update.
9758 * solib-spu.c (spu_enable_break): Update.
9759 (ocl_enable_break): Update.
9760 * solib-svr4.c (elf_locate_base): Update.
9761 (enable_break): Update.
9762 * spu-tdep.c (spu_get_overlay_table): Update.
9763 (spu_catch_start): Update.
9764 (flush_ea_cache): Update.
9765 * stabsread.c (define_symbol): Update.
9766 (scan_file_globals): Update.
9767 * stack.c (find_frame_funname): Update.
9768 (frame_info): Update.
9769 * symfile.c (simple_read_overlay_table): Update.
9770 (simple_overlay_update): Update.
9771 * symmisc.c (dump_msymbols): Update.
9772 * symtab.c (fixup_section): Update.
9773 (find_pc_sect_line): Update.
9774 (skip_prologue_sal): Update.
9775 (search_symbols): Update.
9776 (print_msymbol_info): Update.
9777 (rbreak_command): Update.
9778 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
9779 (completion_list_objc_symbol): Update.
9780 (default_make_symbol_completion_list_break_on): Update.
9781 * tracepoint.c (scope_info): Update.
9782 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
9783 (tui_get_begin_asm_address): Update.
9784 * valops.c (find_function_in_inferior): Update.
9785 * value.c (value_static_field): Update.
9786 (value_fn_field): Update.
9787
9788 2014-02-26 Tom Tromey <tromey@redhat.com>
9789
9790 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
9791 bound minimal symbols. Move code that knows about minsym
9792 table layout...
9793 * minsyms.c (minimal_symbol_upper_bound): ... here. New
9794 function.
9795 * minsyms.h (minimal_symbol_upper_bound): Declare.
9796 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
9797 minimal_symbol_upper_bound.
9798
9799 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9800
9801 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
9802 Use the type's name if its basic type does not have a tag.
9803
9804 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9805
9806 * dwarf2read.c (read_subrange_type): Add comment.
9807
9808 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9809
9810 * dwarf2read.c (update_enumeration_type_from_children): New
9811 function, mostly extracted from process_structure_scope.
9812 (read_enumeration_type): Call update_enumeration_type_from_children.
9813 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
9814 and flag_flag_enum fields.
9815
9816 2014-02-26 Pedro Alves <palves@redhat.com>
9817
9818 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
9819 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
9820 to_xfer_partial method.
9821
9822 2014-02-26 Pedro Alves <palves@redhat.com>
9823
9824 * target.c (complete_target_initialization): Don't install
9825 default_xfer_partial as to_xfer_partial hook.
9826 (nomemory): Delete.
9827 (update_current_target): Don't INHERIT nor de_fault
9828 deprecated_xfer_memory. Delete de_fault macro.
9829 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
9830 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
9831 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
9832 field.
9833
9834 2014-02-26 Pedro Alves <palves@redhat.com>
9835
9836 * go32-nat.c (my_write_child): New function.
9837 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
9838 (go32_xfer_partial): New function.
9839 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
9840 Instead install a to_xfer_partial hook.
9841
9842 2014-02-26 Pedro Alves <palves@redhat.com>
9843
9844 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
9845 to_xfer_partial helper. Rewrite.
9846 (procfs_xfer_partial): New function.
9847 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
9848 Install a to_xfer_partial hook.
9849
9850 2014-02-26 Pedro Alves <palves@redhat.com>
9851
9852 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
9853 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
9854 (m32r_xfer_partial): New function.
9855 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
9856 Install a to_xfer_partial hook.
9857
9858 2014-02-26 Pedro Alves <palves@redhat.com>
9859
9860 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
9861 helper.
9862 (mips_xfer_partial): New function.
9863 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
9864 hook. Install a to_xfer_partial hook.
9865
9866 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9867
9868 * gdbtypes.h (create_array_type_with_stride): Add declaration.
9869 * gdbtypes.c (create_array_type_with_stride): New function,
9870 renaming create_array_type, but with an added parameter
9871 called "bit_stride".
9872 (create_array_type): Re-implement using
9873 create_array_type_with_stride.
9874 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
9875 and DW_AT_bit_stride attributes.
9876
9877 2014-02-26 Pedro Alves <palves@redhat.com>
9878
9879 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
9880 task-specific breakpoints.
9881
9882 2014-02-25 Pedro Alves <palves@redhat.com>
9883
9884 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
9885 handling of object == TARGET_OBJECT_UNWIND_TABLE.
9886
9887 2014-02-25 Stan Shebs <stan@codesourcery.com>
9888
9889 * defs.h: Annotate comments for Doxygen.
9890
9891 2014-02-25 Tom Tromey <tromey@redhat.com>
9892
9893 * target.h (target_ignore): Don't declare.
9894 * target.c (target_ignore): Remove.
9895
9896 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9897
9898 PR gdb/16626
9899 * auto-load.c (auto_load_objfile_script_1): Change filename to
9900 debugfile.
9901
9902 2014-02-25 Joel Brobecker <brobecker@adacore.com>
9903
9904 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
9905 documentation. Adjust prototype to match the target_ops
9906 to_xfer_partial method. Adjust implementation accordingly.
9907
9908 2014-02-25 Hui Zhu <hui@codesourcery.com>
9909
9910 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
9911 to_traceframe_info.
9912
9913 2014-02-25 Kevin Buettner <kevinb@redhat.com>
9914
9915 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
9916 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
9917 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
9918 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
9919 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
9920 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
9921 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
9922 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
9923 New constants.
9924 (rl78_register_type): Use a data pointer type for SP and
9925 new pseudo registers mentioned above. Use a 16 bit integer
9926 type for all other register pairs.
9927 (rl78_register_name, rl78_g10_register_name): Update for
9928 new pseudo registers.
9929 (rl78_pseudo_register_read): Likewise.
9930 (rl78_pseudo_register_write): Likewise.
9931 (rl78_dwarf_reg_to_regnum): Return register numbers representing
9932 to the newly added pseudo registers.
9933
9934 2014-02-24 Doug Evans <dje@google.com>
9935
9936 * value.c (record_latest_value): Fix comment.
9937 * printcmd.c (print_command_1): Remove code to handle -1 return from
9938 record_latest_value.
9939
9940 2014-02-24 Pedro Alves <palves@redhat.com>
9941
9942 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
9943 deprecated_xfer_memory hook.
9944 (procfs_xfer_partial): Call procfs_xfer_memory instead
9945 of the deprecated_xfer_memory target hook.
9946 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
9947 helper.
9948
9949 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
9950
9951 * windows-nat.c (windows_xfer_shared_libraries): Return
9952 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
9953 requested object is TARGET_OBJECT_LIBRARIES.
9954
9955 2014-02-24 Yao Qi <yao@codesourcery.com>
9956
9957 * target.h (enum target_xfer_status)
9958 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
9959 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
9960 explicitly. New.
9961 * corefile.c (memory_error_message): User updated.
9962 * exec.c (section_table_read_available_memory): Likewise.
9963 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9964 * target.c (target_xfer_status_to_string): Likewise.
9965 (raw_memory_xfer_partial): Likewise.
9966 (memory_xfer_partial_1, target_xfer_partial): Likewise.
9967 * valops.c (read_value_memory): Likewise.
9968 * exec.h: Update comments.
9969
9970 2014-02-24 Yao Qi <yao@codesourcery.com>
9971
9972 * target.c (target_xfer_status_to_string): Rename argument err
9973 to status.
9974 * target.h (target_xfer_status_to_string): Update declaration.
9975 Replace target_xfer_error_to_string with
9976 target_xfer_status_to_string in comment.
9977
9978 2014-02-24 Yao Qi <yao@codesourcery.com>
9979
9980 * mips-linux-nat.c (super_close): Update its type.
9981 (mips_linux_close): Pass 'self' to super_close.
9982
9983 2014-02-24 Yao Qi <yao@codesourcery.com>
9984
9985 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
9986 * corefile.c (read_memory): Adjusted.
9987 * target.c (target_write_with_progress): Adjusted.
9988
9989 2014-02-23 Yao Qi <yao@codesourcery.com>
9990
9991 Revert two patches:
9992
9993 2013-10-25 Yao Qi <yao@codesourcery.com>
9994
9995 * remote.c (remote_traceframe_info): Return early if
9996 traceframe is not selected.
9997
9998 2013-07-19 Yao Qi <yao@codesourcery.com>
9999
10000 * target.c (update_current_target): Change the default action
10001 of 'to_traceframe_info' from tcomplain to return_zero.
10002 * target.h (struct target_ops) <to_traceframe_info>: Add more
10003 comments.
10004
10005 2014-02-23 Yao Qi <yao@codesourcery.com>
10006
10007 * valops.c (read_value_memory): Rewrite it. Call
10008 target_xfer_partial in a loop.
10009 * exec.h (section_table_available_memory): Remove declaration.
10010 Move comments to ...
10011 * exec.c (section_table_available_memory): ... here. Make it
10012 static.
10013
10014 2014-02-23 Yao Qi <yao@codesourcery.com>
10015
10016 * exec.c (section_table_read_available_memory): New function.
10017 * exec.h (section_table_read_available_memory): Declare.
10018 * ctf.c (ctf_xfer_partial): Call
10019 section_table_read_available_memory.
10020 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10021
10022 2014-02-23 Yao Qi <yao@codesourcery.com>
10023
10024 * ctf.c (ctf_xfer_partial): Move code to ...
10025 * exec.c (exec_read_partial_read_only): ... it. New function.
10026 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10027 * tracefile.c: Include "exec.h".
10028 * exec.h (exec_read_partial_read_only): Declare.
10029
10030 2014-02-23 Yao Qi <yao@codesourcery.com>
10031
10032 * tracefile-tfile.c (tfile_has_all_memory): Remove.
10033 (tfile_has_memory): Remove.
10034 (init_tfile_ops): Don't set fields to_has_all_memory and
10035 to_has_memory of tfile_ops.
10036 * tracefile.c (tracefile_has_all_memory): New function.
10037 (tracefile_has_memory): New function.
10038 (init_tracefile_ops): Initialize fields to_has_all_memory and
10039 to_has_memory of 'ops'.
10040
10041 2014-02-23 Yao Qi <yao@codesourcery.com>
10042
10043 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
10044 (ctf_thread_alive, ctf_get_trace_status): Remove.
10045 (init_ctf_ops): Don't set some fields of ctf_ops. Call
10046 init_tracefile_ops.
10047 * tracefile-tfile.c (tfile_get_trace_status): Remove.
10048 (tfile_has_stack, tfile_has_registers): Remove.
10049 (tfile_thread_alive): Remove.
10050 (init_tfile_ops): Don't set some fields of tfile_ops. Call
10051 init_tracefile_ops.
10052 * tracefile.c (tracefile_has_stack): New function.
10053 (tracefile_has_registers): New function.
10054 (tracefile_thread_alive): New function.
10055 (tracefile_get_trace_status): New function.
10056 (init_tracefile_ops): New function.
10057 * tracefile.h (init_tracefile_ops): Declare.
10058
10059 2014-02-23 Yao Qi <yao@codesourcery.com>
10060
10061 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
10062 (O_LARGEFILE): Likewise.
10063 (tfile_ops): Likewise.
10064 (TRACE_HEADER_SIZE): Likewise.
10065 (trace_fd, trace_frames_offset, cur_offset): Likewise.
10066 (cur_data_size): Likewise.
10067 (tfile_read, tfile_open, tfile_interp_line): Likewise.
10068 (tfile_close, tfile_files_info): Likewise.
10069 (tfile_get_trace_status): Likewise.
10070 (tfile_get_tracepoint_status): Likewise.
10071 (tfile_get_traceframe_address): Likewise.
10072 (tfile_trace_find, match_blocktype): Likewise.
10073 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
10074 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
10075 (tfile_get_trace_state_variable_value): Likewise.
10076 (tfile_has_all_memory, tfile_has_memory): Likewise.
10077 (tfile_has_stack, tfile_has_registers): Likewise.
10078 (tfile_thread_alive, build_traceframe_info): Likewise.
10079 (tfile_traceframe_info, init_tfile_ops): Likewise.
10080 (_initialize_tracepoint): Don't call init_tfile_ops
10081 and add_target_with_completer.
10082 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
10083 exec.h, completer.h and filenames.h.
10084 (_initialize_tracefile_tfile): New function.
10085
10086 2014-02-23 Yao Qi <yao@codesourcery.com>
10087
10088 * Makefile.in (REMOTE_OBS): Append tracefile.o and
10089 tracefile-tfile.o.
10090 (HFILES_NO_SRCDIR): Add tracefile.h.
10091 * ctf.c: Include "tracefile.h".
10092 * tracefile.h: New file.
10093 * tracefile.c: New file
10094 * tracefile-tfile.c: New file.
10095 * tracepoint.c: Include "tracefile.h".
10096 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
10097 (stop_reason_names): Add const.
10098 (trace_file_writer_xfree): Move it to tracefile.c.
10099 (trace_save, trace_save_command, trace_save_tfile): Likewise.
10100 (trace_save_ctf): Likewise.
10101 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
10102 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
10103 (tfile_write_header, tfile_write_regblock_type): Likewise.
10104 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
10105 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
10106 (tfile_write_raw_data, tfile_end): Likewise.
10107 (tfile_trace_file_writer_new): Likewise.
10108 (free_uploaded_tp): Make it extern.
10109 (free_uploaded_tsv): Make it extern.
10110 (_initialize_tracepoint): Move code to register command 'tsave'
10111 to tracefile.c.
10112 * tracepoint.h (stop_reason_names): Declare.
10113 (struct trace_frame_write_ops): Move it to tracefile.h.
10114 (struct trace_file_write_ops): Likewise.
10115 (struct trace_file_writer): Likewise.
10116 (free_uploaded_tsvs, free_uploaded_tps): Declare.
10117
10118 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10119
10120 PR gdb/16594
10121 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
10122 process name.
10123 (get_cores_used_by_process): New parameter num_cores, use it.
10124 (linux_xfer_osdata_processes): Pass num_cores to it.
10125 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
10126 process name.
10127
10128 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
10129
10130 * target.c (memory_xfer_partial): Fix length arg in call to
10131 breakpoint_xfer_memory.
10132
10133 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10134
10135 PR tdep/16397
10136 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
10137 number comes after the + or - signs. Adjust length of register
10138 name to be extracted.
10139
10140 2014-02-20 Tom Tromey <tromey@redhat.com>
10141
10142 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
10143 (ada_varobj_ops): Mark "extern".
10144
10145 2014-02-20 Tom Tromey <tromey@redhat.com>
10146
10147 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
10148
10149 2014-02-20 Doug Evans <xdje42@gmail.com>
10150
10151 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
10152 All callers updated.
10153 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
10154 All callers updated.
10155 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
10156 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
10157
10158 2014-02-20 lin zuojian <manjian2006@gmail.com>
10159 Joel Brobecker <brobecker@adacore.com>
10160 Doug Evans <xdje42@gmail.com>
10161
10162 PR symtab/16581
10163 * dwarf2read.c (struct die_info): New member in_process.
10164 (reset_die_in_process): New function.
10165 (process_die): Set it at the start, reset when returning.
10166 (inherit_abstract_dies): Only call process_die if origin_child_die
10167 not already being processed.
10168
10169 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10170
10171 * windows-nat.c (handle_unload_dll): Add function documentation.
10172 (do_initial_windows_stuff): Add comment explaining why we wait
10173 until after inferior initialization has finished before
10174 processing all DLLs.
10175
10176 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10177
10178 * windows-nat.c (get_module_name): Delete.
10179 (windows_get_exec_module_filename): New function, mostly
10180 inspired from get_module_name.
10181 (windows_pid_to_exec_file): Replace call to get_module_name
10182 by call to windows_get_exec_module_filename.
10183
10184 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10185
10186 * windows-nat.c (handle_load_dll): Rewrite this function's
10187 introductory comment. Remove code using get_module_name
10188 to get the DLL's name.
10189
10190 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10191
10192 * windows-nat.c (get_windows_debug_event): Ignore
10193 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
10194 if windows_initialization_done == 0.
10195 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
10196 Adjust implementation to always load all DLLs.
10197 (do_initial_windows_stuff): Replace call to
10198 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
10199
10200 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10201
10202 * windows-nat.c (_initialize_windows_nat): Deprecate the
10203 "dll-symbols" command. Turn the "add-shared-symbol-files"
10204 and "assf" aliases into commands, and deprecate them as well.
10205 * NEWS: Add entry explaining that "dll-symbols" and its two
10206 aliases are now deprecated.
10207
10208 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10209
10210 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
10211 new-line in debug string. Remove trailing spaces.
10212
10213 2014-02-19 Stan Shebs <stan@codesourcery.com>
10214
10215 * darwin-nat.c (darwin_xfer_partial): Fix return type.
10216
10217 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10218
10219 * NEWS: Add entry for the new feature
10220 * python/py-value.c (valpy_binop): Call value_x_binop for struct
10221 and class values.
10222
10223 2014-02-19 Stan Shebs <stan@codesourcery.com>
10224
10225 * MAINTAINERS: List Yao Qi as nios2 maintainer.
10226
10227 2014-02-19 Pedro Alves <palves@redhat.com>
10228
10229 * common/ptid.h (struct ptid): Mention that process_stratum
10230 targets should prefer ptid.lwp.
10231
10232 2014-02-19 Pedro Alves <palves@redhat.com>
10233
10234 * remote.c (remote_thread_alive, write_ptid, read_ptid)
10235 (read_ptid, remote_newthread_step, remote_threads_extra_info)
10236 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
10237 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
10238 store remote thread ids rather than ptid.tid.
10239 (_initialize_remote): Adjust.
10240
10241 2014-02-19 Tom Tromey <tromey@redhat.com>
10242
10243 * target.c (target_get_unwinder): Rewrite.
10244 (target_get_tailcall_unwinder): Rewrite.
10245 * record-btrace.c (record_btrace_to_get_unwinder): New function.
10246 (record_btrace_to_get_tailcall_unwinder): New function.
10247 (init_record_btrace_ops): Update.
10248 * target.h (struct target_ops) <to_get_unwinder,
10249 to_get_tailcall_unwinder>: Now function pointers. Use
10250 TARGET_DEFAULT_RETURN.
10251
10252 2014-02-19 Tom Tromey <tromey@redhat.com>
10253
10254 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
10255 argument.
10256 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
10257
10258 2014-02-19 Tom Tromey <tromey@redhat.com>
10259
10260 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
10261 directly.
10262 * target-delegates.c: Rebuild.
10263 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
10264 TARGET_DEFAULT_FUNC.
10265 * target.c (default_target_decr_pc_after_break): Rename from
10266 forward_target_decr_pc_after_break. Simplify.
10267 (target_decr_pc_after_break): Rely on delegation.
10268
10269 2014-02-19 Tom Tromey <tromey@redhat.com>
10270
10271 * target.c (update_current_target): Do not INHERIT to_doc or
10272 to_magic. Do not de_fault to_open or to_close.
10273
10274 2014-02-19 Tom Tromey <tromey@redhat.com>
10275
10276 * gcore.h (objfile_find_memory_regions): Declare.
10277 * gcore.c (objfile_find_memory_regions): No longer static. Add
10278 "self" argument.
10279 (_initialize_gcore): Don't call exec_set_find_memory_regions.
10280 * exec.c: Include gcore.h.
10281 (exec_set_find_memory_regions): Remove.
10282 (exec_find_memory_regions): Remove.
10283 (exec_do_find_memory_regions): Remove.
10284 (init_exec_ops): Update.
10285 * defs.h (exec_set_find_memory_regions): Remove.
10286
10287 2014-02-19 Tom Tromey <tromey@redhat.com>
10288
10289 * target-delegates.c: Rebuild.
10290 * target.h (struct target_ops) <to_extra_thread_info,
10291 to_thread_name, to_pid_to_exec_file, to_get_section_table,
10292 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
10293 not 0, in TARGET_DEFAULT_RETURN.
10294
10295 2014-02-19 Tom Tromey <tromey@redhat.com>
10296
10297 * target.c (complete_target_initialization): Remove casts. Use
10298 return_zero_has_execution.
10299 (return_zero): Add "ignore" argument.
10300 (return_zero_has_execution): New function.
10301 (init_dummy_target): Remove casts. Use
10302 return_zero_has_execution.
10303
10304 2014-02-19 Tom Tromey <tromey@redhat.com>
10305
10306 * target.c (update_current_target): Update comments. Do not
10307 INHERIT to_stratum.
10308
10309 2014-02-19 Tom Tromey <tromey@redhat.com>
10310
10311 * arm-linux-nat.c (arm_linux_read_description): Delegate when
10312 needed.
10313 * corelow.c (core_read_description): Delegate when needed.
10314 * remote.c (remote_read_description): Delegate when needed.
10315 * target-delegates.c: Rebuild.
10316 * target.c (target_read_description): Rewrite.
10317 * target.h (struct target_ops) <to_read_description>: Update
10318 comment. Use TARGET_DEFAULT_RETURN.
10319
10320 2014-02-19 Tom Tromey <tromey@redhat.com>
10321
10322 * target-delegates.c: Rebuild.
10323 * target.c (update_current_target): Don't inherit or default
10324 to_can_run.
10325 (find_default_run_target): Check against delegate_can_run.
10326 * target.h (struct target_ops) <to_can_run>: Use
10327 TARGET_DEFAULT_RETURN.
10328
10329 2014-02-19 Tom Tromey <tromey@redhat.com>
10330
10331 * target-delegates.c: Rebuild.
10332 * target.c (target_disconnect): Unconditionally delegate.
10333 * target.h (struct target_ops) <to_disconnect>: Use
10334 TARGET_DEFAULT_NORETURN.
10335
10336 2014-02-19 Tom Tromey <tromey@redhat.com>
10337
10338 * record.c (record_stop): Unconditionally delegate.
10339 * target-delegates.c: Rebuild.
10340 * target.c (target_stop_recording): Unconditionally delegate.
10341 * target.h (struct target_ops) <to_stop_recording>: Use
10342 TARGET_DEFAULT_IGNORE.
10343
10344 2014-02-19 Tom Tromey <tromey@redhat.com>
10345
10346 * target-delegates.c: Rebuild.
10347 * target.c (target_enable_btrace): Unconditionally delegate.
10348 * target.h (struct target_ops) <to_enable_btrace>: Use
10349 TARGET_DEFAULT_NORETURN.
10350
10351 2014-02-19 Tom Tromey <tromey@redhat.com>
10352
10353 * target-delegates.c: Rebuild.
10354 * target.c (target_read_btrace): Unconditionally delegate.
10355 * target.h (struct target_ops) <to_read_btrace>: Use
10356 TARGET_DEFAULT_NORETURN.
10357
10358 2014-02-19 Tom Tromey <tromey@redhat.com>
10359
10360 * target-delegates.c: Rebuild.
10361 * target.c (target_teardown_btrace): Unconditionally delegate.
10362 * target.h (struct target_ops) <to_teardown_btrace>: Use
10363 TARGET_DEFAULT_NORETURN.
10364
10365 2014-02-19 Tom Tromey <tromey@redhat.com>
10366
10367 * target-delegates.c: Rebuild.
10368 * target.c (target_disable_btrace): Unconditionally delegate.
10369 * target.h (struct target_ops) <to_disable_btrace>: Use
10370 TARGET_DEFAULT_NORETURN.
10371
10372 2014-02-19 Tom Tromey <tromey@redhat.com>
10373
10374 * target-delegates.c: Rebuild.
10375 * target.c (default_search_memory): New function.
10376 (simple_search_memory): Update comment.
10377 (target_search_memory): Unconditionally delegate.
10378 * target.h (struct target_ops) <to_search_memory>: Use
10379 TARGET_DEFAULT_FUNC.
10380
10381 2014-02-19 Tom Tromey <tromey@redhat.com>
10382
10383 * auxv.c (default_auxv_parse): No longer static.
10384 (target_auxv_parse): Unconditionally delegate.
10385 * auxv.h (default_auxv_parse): Declare.
10386 * target-delegates.c: Rebuild.
10387 * target.c: Include auxv.h.
10388 * target.h (struct target_ops) <to_auxv_parse>: Use
10389 TARGET_DEFAULT_FUNC.
10390
10391 2014-02-19 Tom Tromey <tromey@redhat.com>
10392
10393 * target-delegates.c: Rebuild.
10394 * target.c (target_memory_map): Unconditionally delegate.
10395 * target.h (struct target_ops) <to_memory_map>: Use
10396 TARGET_DEFAULT_RETURN.
10397
10398 2014-02-19 Tom Tromey <tromey@redhat.com>
10399
10400 * target-delegates.c: Rebuild.
10401 * target.c (target_thread_alive): Unconditionally delegate.
10402 * target.h (struct target_ops) <to_thread_alive>: Use
10403 TARGET_DEFAULT_RETURN.
10404
10405 2014-02-19 Tom Tromey <tromey@redhat.com>
10406
10407 * target-delegates.c: Rebuild.
10408 * target.c (target_save_record): Unconditionally delegate.
10409 * target.h (struct target_ops) <to_save_record>: Use
10410 TARGET_DEFAULT_NORETURN.
10411
10412 2014-02-19 Tom Tromey <tromey@redhat.com>
10413
10414 * target-delegates.c: Rebuild.
10415 * target.c (target_delete_record): Unconditionally delegate.
10416 * target.h (struct target_ops) <to_delete_record>: Use
10417 TARGET_DEFAULT_NORETURN.
10418
10419 2014-02-19 Tom Tromey <tromey@redhat.com>
10420
10421 * target-delegates.c: Rebuild.
10422 * target.c (target_record_is_replaying): Unconditionally
10423 delegate.
10424 * target.h (struct target_ops) <to_record_is_replaying>: Use
10425 TARGET_DEFAULT_RETURN.
10426
10427 2014-02-19 Tom Tromey <tromey@redhat.com>
10428
10429 * target-delegates.c: Rebuild.
10430 * target.c (target_goto_record_begin): Unconditionally delegate.
10431 * target.h (struct target_ops) <to_goto_record_begin>: Use
10432 TARGET_DEFAULT_NORETURN.
10433
10434 2014-02-19 Tom Tromey <tromey@redhat.com>
10435
10436 * target-delegates.c: Rebuild.
10437 * target.c (target_goto_record_end): Unconditionally delegate.
10438 * target.h (struct target_ops) <to_goto_record_end>: Use
10439 TARGET_DEFAULT_NORETURN.
10440
10441 2014-02-19 Tom Tromey <tromey@redhat.com>
10442
10443 * target-delegates.c: Rebuild.
10444 * target.c (target_goto_record): Unconditionally delegate.
10445 * target.h (struct target_ops) <to_goto_record>: Use
10446 TARGET_DEFAULT_NORETURN.
10447
10448 2014-02-19 Tom Tromey <tromey@redhat.com>
10449
10450 * target-delegates.c: Rebuild.
10451 * target.c (target_insn_history): Unconditionally delegate.
10452 * target.h (struct target_ops) <to_insn_history>: Use
10453 TARGET_DEFAULT_NORETURN.
10454
10455 2014-02-19 Tom Tromey <tromey@redhat.com>
10456
10457 * target-delegates.c: Rebuild.
10458 * target.c (target_insn_history_from): Unconditionally delegate.
10459 * target.h (struct target_ops) <to_insn_history_from>: Use
10460 TARGET_DEFAULT_NORETURN.
10461
10462 2014-02-19 Tom Tromey <tromey@redhat.com>
10463
10464 * target-delegates.c: Rebuild.
10465 * target.c (target_insn_history_range): Unconditionally delegate.
10466 * target.h (struct target_ops) <to_insn_history_range>: Use
10467 TARGET_DEFAULT_NORETURN.
10468
10469 2014-02-19 Tom Tromey <tromey@redhat.com>
10470
10471 * target-delegates.c: Rebuild.
10472 * target.c (target_call_history): Unconditionally delegate.
10473 * target.h (struct target_ops) <to_call_history>: Use
10474 TARGET_DEFAULT_NORETURN.
10475
10476 2014-02-19 Tom Tromey <tromey@redhat.com>
10477
10478 * target-delegates.c: Rebuild.
10479 * target.c (target_call_history_from): Unconditionally delegate.
10480 * target.h (struct target_ops) <to_call_history_from>: Use
10481 TARGET_DEFAULT_NORETURN.
10482
10483 2014-02-19 Tom Tromey <tromey@redhat.com>
10484
10485 * target-delegates.c: Rebuild.
10486 * target.c (target_call_history_range): Unconditionally delegate.
10487 * target.h (struct target_ops) <to_call_history_range>: Use
10488 TARGET_DEFAULT_NORETURN.
10489
10490 2014-02-19 Tom Tromey <tromey@redhat.com>
10491
10492 * target-delegates.c: Rebuild.
10493 * target.c (target_verify_memory): Unconditionally delegate.
10494 * target.h (struct target_ops) <to_verify_memory>: Use
10495 TARGET_DEFAULT_NORETURN.
10496
10497 2014-02-19 Tom Tromey <tromey@redhat.com>
10498
10499 * target-delegates.c: Rebuild.
10500 * target.c (target_core_of_thread): Unconditionally delegate.
10501 * target.h (struct target_ops) <to_core_of_thread>: Use
10502 TARGET_DEFAULT_RETURN.
10503
10504 2014-02-19 Tom Tromey <tromey@redhat.com>
10505
10506 * target-delegates.c: Rebuild.
10507 * target.c (target_flash_done): Unconditionally delegate.
10508 * target.h (struct target_ops) <to_flash_done>: Use
10509 TARGET_DEFAULT_NORETURN.
10510
10511 2014-02-19 Tom Tromey <tromey@redhat.com>
10512
10513 * target-delegates.c: Rebuild.
10514 * target.c (target_flash_erase): Unconditionally delegate.
10515 * target.h (struct target_ops) <to_flash_erase>: Use
10516 TARGET_DEFAULT_NORETURN.
10517
10518 2014-02-19 Tom Tromey <tromey@redhat.com>
10519
10520 * target-delegates.c: Rebuild.
10521 * target.c (target_get_section_table): Unconditionally delegate.
10522 * target.h (struct target_ops) <to_get_section_table>: Use
10523 TARGET_DEFAULT_RETURN.
10524
10525 2014-02-19 Tom Tromey <tromey@redhat.com>
10526
10527 * target-delegates.c: Rebuild.
10528 * target.c (target_pid_to_str): Unconditionally delegate.
10529 (init_dummy_target): Don't initialize to_pid_to_str.
10530 (default_pid_to_str): Rename from dummy_pid_to_str.
10531 * target.h (struct target_ops) <to_pid_to_str>: Use
10532 TARGET_DEFAULT_FUNC.
10533
10534 2014-02-19 Tom Tromey <tromey@redhat.com>
10535
10536 * target-delegates.c: Rebuild.
10537 * target.c (target_find_new_threads): Unconditionally delegate.
10538 * target.h (struct target_ops) <to_find_new_threads>: Use
10539 TARGET_DEFAULT_RETURN.
10540
10541 2014-02-19 Tom Tromey <tromey@redhat.com>
10542
10543 * target-delegates.c: Rebuild.
10544 * target.c (target_program_signals): Unconditionally delegate.
10545 * target.h (struct target_ops) <to_program_signals>: Use
10546 TARGET_DEFAULT_IGNORE.
10547
10548 2014-02-19 Tom Tromey <tromey@redhat.com>
10549
10550 * target-delegates.c: Rebuild.
10551 * target.c (target_pass_signals): Unconditionally delegate.
10552 * target.h (struct target_ops) <to_pass_signals>: Use
10553 TARGET_DEFAULT_IGNORE.
10554
10555 2014-02-19 Tom Tromey <tromey@redhat.com>
10556
10557 * target-delegates.c: Rebuild.
10558 * target.c (default_mourn_inferior): New function.
10559 (target_mourn_inferior): Unconditionally delegate.
10560 * target.h (struct target_ops) <to_mourn_inferior>: Use
10561 TARGET_DEFAULT_FUNC.
10562
10563 2014-02-19 Tom Tromey <tromey@redhat.com>
10564
10565 * target-delegates.c: Rebuild.
10566 * target.c (default_follow_fork): New function.
10567 (target_follow_fork): Unconditionally delegate.
10568 * target.h (struct target_ops) <to_follow_fork>: Use
10569 TARGET_DEFAULT_FUNC.
10570
10571 2014-02-19 Tom Tromey <tromey@redhat.com>
10572
10573 * target-delegates.c: Rebuild.
10574 * target.c (target_kill): Unconditionally delegate.
10575 * target.h (struct target_ops) <to_kill>: Use
10576 TARGET_DEFAULT_NORETURN.
10577
10578 2014-02-19 Tom Tromey <tromey@redhat.com>
10579
10580 * target-delegates.c: Rebuild.
10581 * target.c (target_masked_watch_num_registers): Unconditionally
10582 delegate.
10583 * target.h (struct target_ops) <to_masked_watch_num_registers>:
10584 Use TARGET_DEFAULT_RETURN.
10585
10586 2014-02-19 Tom Tromey <tromey@redhat.com>
10587
10588 * target-delegates.c: Rebuild.
10589 * target.c (target_remove_mask_watchpoint): Unconditionally
10590 delegate.
10591 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
10592 TARGET_DEFAULT_RETURN.
10593
10594 2014-02-19 Tom Tromey <tromey@redhat.com>
10595
10596 * target-delegates.c: Rebuild.
10597 * target.c (target_insert_mask_watchpoint): Unconditionally
10598 delegate.
10599 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
10600 TARGET_DEFAULT_RETURN.
10601
10602 2014-02-19 Tom Tromey <tromey@redhat.com>
10603
10604 * target-delegates.c: Rebuild.
10605 * target.c (target_ranged_break_num_registers): Unconditionally
10606 delegate.
10607 * target.h (struct target_ops) <to_ranged_break_num_registers>:
10608 Use TARGET_DEFAULT_RETURN.
10609
10610 2014-02-19 Tom Tromey <tromey@redhat.com>
10611
10612 * target-delegates.c: Rebuild.
10613 * target.c (target_fetch_registers): Unconditionally delegate.
10614 * target.h (struct target_ops) <to_fetch_registers>: Use
10615 TARGET_DEFAULT_NORETURN.
10616
10617 2014-02-19 Tom Tromey <tromey@redhat.com>
10618
10619 * target-delegates.c: Rebuild.
10620 * target.c (update_current_target): Don't inherit or default
10621 to_stop.
10622 * target.h (struct target_ops) <to_stop>: Use
10623 TARGET_DEFAULT_IGNORE.
10624
10625 2014-02-19 Tom Tromey <tromey@redhat.com>
10626
10627 * target-delegates.c: Rebuild.
10628 * target.c (update_current_target): Don't inherit or default
10629 to_can_run_breakpoint_commands.
10630 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10631 Use TARGET_DEFAULT_RETURN.
10632
10633 2014-02-19 Tom Tromey <tromey@redhat.com>
10634
10635 * target-delegates.c: Rebuild.
10636 * target.c (update_current_target): Don't inherit or default
10637 to_supports_evaluation_of_breakpoint_conditions.
10638 * target.h (struct target_ops)
10639 <to_supports_evaluation_of_breakpoint_conditions>: Use
10640 TARGET_DEFAULT_RETURN.
10641
10642 2014-02-19 Tom Tromey <tromey@redhat.com>
10643
10644 * target-delegates.c: Rebuild.
10645 * target.c (update_current_target): Don't inherit or default
10646 to_augmented_libraries_svr4_read.
10647 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10648 Use TARGET_DEFAULT_RETURN.
10649
10650 2014-02-19 Tom Tromey <tromey@redhat.com>
10651
10652 * target-delegates.c: Rebuild.
10653 * target.c (update_current_target): Don't inherit or default
10654 to_can_use_agent.
10655 * target.h (struct target_ops) <to_can_use_agent>: Use
10656 TARGET_DEFAULT_RETURN.
10657
10658 2014-02-19 Tom Tromey <tromey@redhat.com>
10659
10660 * target-delegates.c: Rebuild.
10661 * target.c (update_current_target): Don't inherit or default
10662 to_use_agent.
10663 * target.h (struct target_ops) <to_use_agent>: Use
10664 TARGET_DEFAULT_NORETURN.
10665
10666 2014-02-19 Tom Tromey <tromey@redhat.com>
10667
10668 * target-delegates.c: Rebuild.
10669 * target.c (update_current_target): Don't inherit or default
10670 to_traceframe_info.
10671 (return_null): Remove.
10672 * target.h (struct target_ops) <to_traceframe_info>: Use
10673 TARGET_DEFAULT_RETURN.
10674
10675 2014-02-19 Tom Tromey <tromey@redhat.com>
10676
10677 * target-delegates.c: Rebuild.
10678 * target.c (update_current_target): Don't inherit or default
10679 to_static_tracepoint_markers_by_strid.
10680 * target.h (struct target_ops)
10681 <to_static_tracepoint_markers_by_strid>: Use
10682 TARGET_DEFAULT_NORETURN.
10683
10684 2014-02-19 Tom Tromey <tromey@redhat.com>
10685
10686 * target-delegates.c: Rebuild.
10687 * target.c (update_current_target): Don't inherit or default
10688 to_static_tracepoint_marker_at.
10689 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10690 Use TARGET_DEFAULT_RETURN.
10691
10692 2014-02-19 Tom Tromey <tromey@redhat.com>
10693
10694 * target-delegates.c: Rebuild.
10695 * target.c (update_current_target): Don't inherit or default
10696 to_set_permissions.
10697 * target.h (struct target_ops) <to_set_permissions>: Use
10698 TARGET_DEFAULT_IGNORE.
10699
10700 2014-02-19 Tom Tromey <tromey@redhat.com>
10701
10702 * target-delegates.c: Rebuild.
10703 * target.c (update_current_target): Don't inherit or default
10704 to_get_tib_address.
10705 * target.h (struct target_ops) <to_get_tib_address>: Use
10706 TARGET_DEFAULT_NORETURN.
10707
10708 2014-02-19 Tom Tromey <tromey@redhat.com>
10709
10710 * target-delegates.c: Rebuild.
10711 * target.c (update_current_target): Don't inherit or default
10712 to_set_trace_notes.
10713 * target.h (struct target_ops) <to_set_trace_notes>: Use
10714 TARGET_DEFAULT_RETURN.
10715
10716 2014-02-19 Tom Tromey <tromey@redhat.com>
10717
10718 * target-delegates.c: Rebuild.
10719 * target.c (update_current_target): Don't initialize
10720 to_set_trace_buffer_size.
10721 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
10722 TARGET_DEFAULT_IGNORE.
10723
10724 2014-02-19 Tom Tromey <tromey@redhat.com>
10725
10726 * target-delegates.c: Rebuild.
10727 * target.c (update_current_target): Don't inherit or default
10728 to_set_circular_trace_buffer.
10729 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
10730 TARGET_DEFAULT_IGNORE.
10731
10732 2014-02-19 Tom Tromey <tromey@redhat.com>
10733
10734 * target-delegates.c: Rebuild.
10735 * target.c (update_current_target): Don't inherit or default
10736 to_set_disconnected_tracing.
10737 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
10738 TARGET_DEFAULT_IGNORE.
10739
10740 2014-02-19 Tom Tromey <tromey@redhat.com>
10741
10742 * target-delegates.c: Rebuild.
10743 * target.c (update_current_target): Don't inherit or default
10744 to_get_min_fast_tracepoint_insn_len.
10745 (return_minus_one): Remove.
10746 * target.h (struct target_ops)
10747 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
10748
10749 2014-02-19 Tom Tromey <tromey@redhat.com>
10750
10751 * target-delegates.c: Rebuild.
10752 * target.c (update_current_target): Don't inherit or default
10753 to_get_raw_trace_data.
10754 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
10755 TARGET_DEFAULT_NORETURN.
10756
10757 2014-02-19 Tom Tromey <tromey@redhat.com>
10758
10759 * target-delegates.c: Rebuild.
10760 * target.c (update_current_target): Don't inherit or default
10761 to_upload_trace_state_variables.
10762 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10763 Use TARGET_DEFAULT_RETURN.
10764
10765 2014-02-19 Tom Tromey <tromey@redhat.com>
10766
10767 * target-delegates.c: Rebuild.
10768 * target.c (update_current_target): Don't inherit or default
10769 to_upload_tracepoints.
10770 * target.h (struct target_ops) <to_upload_tracepoints>: Use
10771 TARGET_DEFAULT_RETURN.
10772
10773 2014-02-19 Tom Tromey <tromey@redhat.com>
10774
10775 * target-delegates.c: Rebuild.
10776 * target.c (update_current_target): Don't inherit or default
10777 to_save_trace_data.
10778 * target.h (struct target_ops) <to_save_trace_data>: Use
10779 TARGET_DEFAULT_NORETURN.
10780
10781 2014-02-19 Tom Tromey <tromey@redhat.com>
10782
10783 * target-delegates.c: Rebuild.
10784 * target.c (update_current_target): Don't inherit or default
10785 to_get_trace_state_variable_value.
10786 * target.h (struct target_ops)
10787 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
10788
10789 2014-02-19 Tom Tromey <tromey@redhat.com>
10790
10791 * target-delegates.c: Rebuild.
10792 * target.c (update_current_target): Don't inherit or default
10793 to_trace_find.
10794 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
10795
10796 2014-02-19 Tom Tromey <tromey@redhat.com>
10797
10798 * target-delegates.c: Rebuild.
10799 * target.c (update_current_target): Don't inherit or default
10800 to_trace_stop.
10801 * target.h (struct target_ops) <to_trace_stop>: Use
10802 TARGET_DEFAULT_NORETURN.
10803
10804 2014-02-19 Tom Tromey <tromey@redhat.com>
10805
10806 * target-delegates.c: Rebuild.
10807 * target.c (update_current_target): Don't inherit or default
10808 to_get_tracepoint_status.
10809 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
10810 TARGET_DEFAULT_NORETURN.
10811
10812 2014-02-19 Tom Tromey <tromey@redhat.com>
10813
10814 * target-delegates.c: Rebuild.
10815 * target.c (update_current_target): Don't inherit or default
10816 to_get_trace_status.
10817 * target.h (struct target_ops) <to_get_trace_status>: Use
10818 TARGET_DEFAULT_RETURN.
10819
10820 2014-02-19 Tom Tromey <tromey@redhat.com>
10821
10822 * target-delegates.c: Rebuild.
10823 * target.c (update_current_target): Don't inherit or default
10824 to_trace_start.
10825 * target.h (struct target_ops) <to_trace_start>: Use
10826 TARGET_DEFAULT_NORETURN.
10827
10828 2014-02-19 Tom Tromey <tromey@redhat.com>
10829
10830 * target-delegates.c: Rebuild.
10831 * target.c (update_current_target): Don't inherit or default
10832 to_trace_set_readonly_regions.
10833 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10834 Use TARGET_DEFAULT_NORETURN.
10835
10836 2014-02-19 Tom Tromey <tromey@redhat.com>
10837
10838 * target-delegates.c: Rebuild.
10839 * target.c (update_current_target): Don't inherit or default
10840 to_disable_tracepoint.
10841 * target.h (struct target_ops) <to_disable_tracepoint>: Use
10842 TARGET_DEFAULT_NORETURN.
10843
10844 2014-02-19 Tom Tromey <tromey@redhat.com>
10845
10846 * target-delegates.c: Rebuild.
10847 * target.c (update_current_target): Don't inherit or default
10848 to_enable_tracepoint.
10849 * target.h (struct target_ops) <to_enable_tracepoint>: Use
10850 TARGET_DEFAULT_NORETURN.
10851
10852 2014-02-19 Tom Tromey <tromey@redhat.com>
10853
10854 * target-delegates.c: Rebuild.
10855 * target.c (update_current_target): Don't inherit or default
10856 to_download_trace_state_variable.
10857 * target.h (struct target_ops) <to_download_trace_state_variable>:
10858 Use TARGET_DEFAULT_NORETURN.
10859
10860 2014-02-19 Tom Tromey <tromey@redhat.com>
10861
10862 * target-delegates.c: Rebuild.
10863 * target.c (update_current_target): Don't inherit or default
10864 to_can_download_tracepoint.
10865 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
10866 TARGET_DEFAULT_RETURN.
10867
10868 2014-02-19 Tom Tromey <tromey@redhat.com>
10869
10870 * target-delegates.c: Rebuild.
10871 * target.c (update_current_target): Don't inherit or default
10872 to_download_tracepoint.
10873 * target.h (struct target_ops) <to_download_tracepoint>: Use
10874 TARGET_DEFAULT_NORETURN.
10875
10876 2014-02-19 Tom Tromey <tromey@redhat.com>
10877
10878 * target-delegates.c: Rebuild.
10879 * target.c (update_current_target): Don't inherit or default
10880 to_trace_init.
10881 * target.h (struct target_ops) <to_trace_init>: Use
10882 TARGET_DEFAULT_RETURN.
10883
10884 2014-02-19 Tom Tromey <tromey@redhat.com>
10885
10886 * target-delegates.c: Rebuild.
10887 * target.c (update_current_target): Don't inherit or default
10888 to_supports_string_tracing.
10889 * target.h (struct target_ops) <to_supports_string_tracing>: Use
10890 TARGET_DEFAULT_RETURN.
10891
10892 2014-02-19 Tom Tromey <tromey@redhat.com>
10893
10894 * target-delegates.c: Rebuild.
10895 * target.c (update_current_target): Don't inherit or default
10896 to_supports_enable_disable_tracepoint.
10897 * target.h (struct target_ops)
10898 <to_supports_enable_disable_tracepoint>: Use
10899 TARGET_DEFAULT_RETURN.
10900
10901 2014-02-19 Tom Tromey <tromey@redhat.com>
10902
10903 * target-delegates.c: Rebuild.
10904 * target.c (update_current_target): Don't inherit or default
10905 to_supports_multi_process.
10906 * target.h (struct target_ops) <to_supports_multi_process>: Use
10907 TARGET_DEFAULT_RETURN.
10908
10909 2014-02-19 Tom Tromey <tromey@redhat.com>
10910
10911 * target-delegates.c: Rebuild.
10912 * target.c (update_current_target): Don't inherit or default
10913 to_get_ada_task_ptid.
10914 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
10915 TARGET_DEFAULT_FUNC.
10916
10917 2014-02-19 Tom Tromey <tromey@redhat.com>
10918
10919 * target-delegates.c: Rebuild.
10920 * target.c (update_current_target): Don't inherit or default
10921 to_thread_architecture.
10922 * target.h (struct target_ops) <to_thread_architecture>: Use
10923 TARGET_DEFAULT_FUNC.
10924
10925 2014-02-19 Tom Tromey <tromey@redhat.com>
10926
10927 * target-delegates.c: Rebuild.
10928 * target.c (update_current_target): Don't inherit or default
10929 to_execution_direction.
10930 * target.h (struct target_ops) <to_execution_direction>: Use
10931 TARGET_DEFAULT_FUNC.
10932
10933 2014-02-19 Tom Tromey <tromey@redhat.com>
10934
10935 * target-delegates.c: Rebuild.
10936 * target.c (update_current_target): Don't inherit or default
10937 to_can_execute_reverse.
10938 * target.h (struct target_ops) <to_can_execute_reverse>: Use
10939 TARGET_DEFAULT_RETURN.
10940 (target_can_execute_reverse): Unconditionally delegate.
10941
10942 2014-02-19 Tom Tromey <tromey@redhat.com>
10943
10944 * target-delegates.c: Rebuild.
10945 * target.c (update_current_target): Don't inherit or default
10946 to_goto_bookmark.
10947 (dummy_goto_bookmark): Remove.
10948 (init_dummy_target): Don't inherit or default to_goto_bookmark.
10949 * target.h (struct target_ops) <to_goto_bookmark>: Use
10950 TARGET_DEFAULT_NORETURN.
10951
10952 2014-02-19 Tom Tromey <tromey@redhat.com>
10953
10954 * target-delegates.c: Rebuild.
10955 * target.c (update_current_target): Don't inherit or default
10956 to_get_bookmark.
10957 (dummy_get_bookmark): Remove.
10958 (init_dummy_target): Don't inherit or default to_get_bookmark.
10959 * target.h (struct target_ops) <to_get_bookmark>: Use
10960 TARGET_DEFAULT_NORETURN
10961
10962 2014-02-19 Tom Tromey <tromey@redhat.com>
10963
10964 * target-delegates.c: Rebuild.
10965 * target.c (update_current_target): Don't inherit or default
10966 to_make_corefile_notes.
10967 (init_dummy_target): Don't initialize to_make_corefile_notes.
10968 * target.h (struct target_ops) <to_make_corefile_notes>: Use
10969 TARGET_DEFAULT_FUNC.
10970
10971 2014-02-19 Tom Tromey <tromey@redhat.com>
10972
10973 * target-delegates.c: Rebuild.
10974 * target.c (update_current_target): Don't inherit or default
10975 to_find_memory_regions.
10976 (init_dummy_target): Don't initialize to_find_memory_regions.
10977 * target.h (struct target_ops) <to_find_memory_regions>: Use
10978 TARGET_DEFAULT_FUNC.
10979
10980 2014-02-19 Tom Tromey <tromey@redhat.com>
10981
10982 * target-delegates.c: Rebuild.
10983 * target.c (update_current_target): Don't inherit or default
10984 to_log_command.
10985 * target.h (struct target_ops) <to_log_command>: Use
10986 TARGET_DEFAULT_IGNORE.
10987 (target_log_command): Unconditionally delegate.
10988
10989 2014-02-19 Tom Tromey <tromey@redhat.com>
10990
10991 * target-delegates.c: Rebuild.
10992 * target.c (update_current_target): Don't inherit or default
10993 to_pid_to_exec_file.
10994 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
10995 TARGET_DEFAULT_RETURN.
10996
10997 2014-02-19 Tom Tromey <tromey@redhat.com>
10998
10999 * target-delegates.c: Rebuild.
11000 * target.c (update_current_target): Don't inherit or default
11001 to_thread_name.
11002 (target_thread_name): Unconditionally delegate.
11003 * target.h (struct target_ops) <to_thread_name>: Use
11004 TARGET_DEFAULT_RETURN.
11005
11006 2014-02-19 Tom Tromey <tromey@redhat.com>
11007
11008 * target-delegates.c: Rebuild.
11009 * target.c (update_current_target): Don't inherit or default
11010 to_extra_thread_info.
11011 * target.h (struct target_ops) <to_extra_thread_info>: Use
11012 TARGET_DEFAULT_RETURN.
11013
11014 2014-02-19 Tom Tromey <tromey@redhat.com>
11015
11016 * target-delegates.c: Rebuild.
11017 * target.c (update_current_target): Don't inherit or default
11018 to_has_exited.
11019 * target.h (struct target_ops) <to_has_exited>: Use
11020 TARGET_DEFAULT_RETURN..
11021
11022 2014-02-19 Tom Tromey <tromey@redhat.com>
11023
11024 * target-delegates.c: Rebuild.
11025 * target.c (update_current_target): Don't inherit or default
11026 to_set_syscall_catchpoint.
11027 (return_one): Remove.
11028 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
11029 TARGET_DEFAULT_RETURN.
11030
11031 2014-02-19 Tom Tromey <tromey@redhat.com>
11032
11033 * target-delegates.c: Rebuild.
11034 * target.c (update_current_target): Don't inherit or default
11035 to_insert_exec_catchpoint.
11036 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11037 TARGET_DEFAULT_RETURN.
11038
11039 2014-01-08 Tom Tromey <tromey@redhat.com>
11040
11041 * target-delegates.c: Rebuild.
11042 * target.c (update_current_target): Don't inherit or default
11043 to_insert_exec_catchpoint.
11044 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11045 TARGET_DEFAULT_RETURN.
11046
11047 2014-02-19 Tom Tromey <tromey@redhat.com>
11048
11049 * target-delegates.c: Rebuild.
11050 * target.c (update_current_target): Don't inherit or default
11051 to_remove_vfork_catchpoint.
11052 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
11053 TARGET_DEFAULT_RETURN.
11054
11055 2014-02-19 Tom Tromey <tromey@redhat.com>
11056
11057 * target-delegates.c: Rebuild.
11058 * target.c (update_current_target): Don't inherit or default
11059 to_insert_vfork_catchpoint.
11060 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
11061 TARGET_DEFAULT_RETURN.
11062
11063 2014-02-19 Tom Tromey <tromey@redhat.com>
11064
11065 * target-delegates.c: Rebuild.
11066 * target.c (update_current_target): Don't inherit or default
11067 to_remove_fork_catchpoint.
11068 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
11069 TARGET_DEFAULT_RETURN.
11070
11071 2014-02-19 Tom Tromey <tromey@redhat.com>
11072
11073 * target-delegates.c: Rebuild.
11074 * target.c (update_current_target): Don't inherit or default
11075 to_insert_fork_catchpoint.
11076 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
11077 TARGET_DEFAULT_RETURN.
11078
11079 2014-02-19 Tom Tromey <tromey@redhat.com>
11080
11081 * target-delegates.c: Rebuild.
11082 * target.c (update_current_target): Don't inherit or default
11083 to_post_startup_inferior.
11084 * target.h (struct target_ops) <to_post_startup_inferior>: Use
11085 TARGET_DEFAULT_IGNORE.
11086
11087 2014-02-19 Tom Tromey <tromey@redhat.com>
11088
11089 * target-delegates.c: Rebuild.
11090 * target.c (update_current_target): Don't inherit or default
11091 to_load.
11092 * target.h (struct target_ops) <to_load>: Use
11093 TARGET_DEFAULT_NORETURN.
11094
11095 2014-02-19 Tom Tromey <tromey@redhat.com>
11096
11097 * target-delegates.c: Rebuild.
11098 * target.c (update_current_target): Don't inherit or default
11099 to_terminal_info.
11100 * target.h (struct target_ops) <to_terminal_info>: Use
11101 TARGET_DEFAULT_FUNC.
11102
11103 2014-02-19 Tom Tromey <tromey@redhat.com>
11104
11105 * target-delegates.c: Rebuild.
11106 * target.c (update_current_target): Don't inherit or default
11107 to_terminal_save_ours.
11108 * target.h (struct target_ops) <to_terminal_save_ours>: Use
11109 TARGET_DEFAULT_IGNORE.
11110
11111 2014-02-19 Tom Tromey <tromey@redhat.com>
11112
11113 * target-delegates.c: Rebuild.
11114 * target.c (update_current_target): Don't inherit or default
11115 to_terminal_ours.
11116 * target.h (struct target_ops) <to_terminal_ours>: Use
11117 TARGET_DEFAULT_IGNORE.
11118
11119 2014-02-19 Tom Tromey <tromey@redhat.com>
11120
11121 * target-delegates.c: Rebuild.
11122 * target.c (update_current_target): Don't inherit or default
11123 to_terminal_ours_for_output.
11124 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
11125 TARGET_DEFAULT_IGNORE.
11126
11127 2014-02-19 Tom Tromey <tromey@redhat.com>
11128
11129 * target-delegates.c: Rebuild.
11130 * target.c (update_current_target): Don't inherit or default
11131 to_terminal_inferior.
11132 * target.h (struct target_ops) <to_terminal_inferior>: Use
11133 TARGET_DEFAULT_IGNORE.
11134
11135 2014-02-19 Tom Tromey <tromey@redhat.com>
11136
11137 * target-delegates.c: Rebuild.
11138 * target.c (update_current_target): Don't inherit or default
11139 to_terminal_init.
11140 * target.h (struct target_ops) <to_terminal_init>: Use
11141 TARGET_DEFAULT_IGNORE.
11142
11143 2014-02-19 Tom Tromey <tromey@redhat.com>
11144
11145 * target-delegates.c: Rebuild.
11146 * target.c (update_current_target): Don't inherit or default
11147 to_can_accel_watchpoint_condition.
11148 * target.h (struct target_ops)
11149 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
11150
11151 2014-02-19 Tom Tromey <tromey@redhat.com>
11152
11153 * target-delegates.c: Rebuild.
11154 * target.c (update_current_target): Don't inherit or default
11155 to_region_ok_for_hw_watchpoint.
11156 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11157 Use TARGET_DEFAULT_FUNC.
11158
11159 2014-02-19 Tom Tromey <tromey@redhat.com>
11160
11161 * target-delegates.c: Rebuild.
11162 * target.c (update_current_target): Don't inherit or default
11163 to_watchpoint_addr_within_range.
11164 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
11165 Use TARGET_DEFAULT_FUNC.
11166
11167 2014-02-19 Tom Tromey <tromey@redhat.com>
11168
11169 * target-delegates.c: Rebuild.
11170 * target.c (update_current_target): Don't inherit or default
11171 to_remove_watchpoint.
11172 * target.h (struct target_ops) <to_remove_watchpoint>: Use
11173 TARGET_DEFAULT_NORETURN.
11174
11175 2014-02-19 Tom Tromey <tromey@redhat.com>
11176
11177 * target-delegates.c: Rebuild.
11178 * target.c (update_current_target): Don't inherit or default
11179 to_insert_watchpoint.
11180 * target.h (struct target_ops) <to_insert_watchpoint>: Use
11181 TARGET_DEFAULT_RETURN.
11182
11183 2014-02-19 Tom Tromey <tromey@redhat.com>
11184
11185 * target-delegates.c: Rebuild.
11186 * target.c (update_current_target): Don't inherit or default
11187 to_remove_hw_breakpoint.
11188 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
11189 TARGET_DEFAULT_RETURN.
11190
11191 2014-02-19 Tom Tromey <tromey@redhat.com>
11192
11193 * target-delegates.c: Rebuild.
11194 * target.c (update_current_target): Don't inherit or default
11195 to_insert_hw_breakpoint.
11196 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
11197 TARGET_DEFAULT_RETURN.
11198
11199 2014-02-19 Tom Tromey <tromey@redhat.com>
11200
11201 * target-delegates.c: Rebuild.
11202 * target.c (update_current_target): Don't inherit or default
11203 to_can_use_hw_breakpoint.
11204 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
11205 TARGET_DEFAULT_RETURN.
11206
11207 2014-02-19 Tom Tromey <tromey@redhat.com>
11208
11209 * target-delegates.c: Rebuild.
11210 * target.c (update_current_target): Don't inherit or default
11211 to_files_info.
11212 * target.h (struct target_ops) <to_files_info>: Use
11213 TARGET_DEFAULT_IGNORE.
11214
11215 2014-02-19 Tom Tromey <tromey@redhat.com>
11216
11217 * target-delegates.c: Rebuild.
11218 * target.c (update_current_target): Don't inherit or default
11219 to_store.
11220 * target.h (struct target_ops) <to_store>: Use
11221 TARGET_DEFAULT_NORETURN.
11222
11223 2014-02-19 Tom Tromey <tromey@redhat.com>
11224
11225 * target-delegates.c: Rebuild.
11226 * target.c (update_current_target): Don't inherit or default
11227 to_post_attach.
11228 * target.h (struct target_ops) <to_post_attach>: Use
11229 TARGET_DEFAULT_IGNORE.
11230
11231 2014-02-19 Tom Tromey <tromey@redhat.com>
11232
11233 * target-delegates.c: Rebuild.
11234 * target.c (update_current_target): Don't inherit or default
11235 to_rcmd.
11236 (default_rcmd): New function.
11237 (do_monitor_command): Unconditionally delegate.
11238 * target.h (struct target_ops) <to_rmcd>: Use
11239 TARGET_DEFAULT_FUNC.
11240
11241 2014-02-19 Tom Tromey <tromey@redhat.com>
11242
11243 * target-delegates.c: Rebuild.
11244 * target.c (init_dummy_target): Don't initialize to_attach.
11245 (target_attach): Unconditionally delegate.
11246 * target.h (struct target_ops) <to_attach>: Use
11247 TARGET_DEFAULT_FUNC.
11248
11249 2014-02-19 Tom Tromey <tromey@redhat.com>
11250
11251 * target-delegates.c: Rebuild.
11252 * target.c (target_detach): Unconditionally delegate.
11253 (init_dummy_target): Don't initialize to_detach.
11254 * target.h (struct target_ops) <to_detach>: Use
11255 TARGET_DEFAULT_IGNORE.
11256
11257 2014-02-19 Tom Tromey <tromey@redhat.com>
11258
11259 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11260 Add argument.
11261 (target_augmented_libraries_svr4_read): Add argument.
11262 * target.c (update_current_target): Update.
11263 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
11264 argument.
11265
11266 2014-02-19 Tom Tromey <tromey@redhat.com>
11267
11268 * target.h (struct target_ops) <to_call_history_range>: Add
11269 argument.
11270 * target.c (target_call_history_range): Add argument.
11271 * record-btrace.c (record_btrace_call_history_range): Add 'self'
11272 argument.
11273 (record_btrace_call_history_from): Update.
11274
11275 2014-02-19 Tom Tromey <tromey@redhat.com>
11276
11277 * target.h (struct target_ops) <to_call_history_from>: Add
11278 argument.
11279 * target.c (target_call_history_from): Add argument.
11280 * record-btrace.c (record_btrace_call_history_from): Add 'self'
11281 argument.
11282
11283 2014-02-19 Tom Tromey <tromey@redhat.com>
11284
11285 * target.h (struct target_ops) <to_call_history>: Add argument.
11286 * target.c (target_call_history): Add argument.
11287 * record-btrace.c (record_btrace_call_history): Add 'self'
11288 argument.
11289
11290 2014-02-19 Tom Tromey <tromey@redhat.com>
11291
11292 * target.h (struct target_ops) <to_insn_history_range>: Add
11293 argument.
11294 * target.c (target_insn_history_range): Add argument.
11295 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
11296 argument.
11297 (record_btrace_insn_history_from): Update.
11298
11299 2014-02-19 Tom Tromey <tromey@redhat.com>
11300
11301 * target.h (struct target_ops) <to_insn_history_from>: Add
11302 argument.
11303 * target.c (target_insn_history_from): Add argument.
11304 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
11305 argument.
11306
11307 2014-02-19 Tom Tromey <tromey@redhat.com>
11308
11309 * target.h (struct target_ops) <to_insn_history>: Add argument.
11310 * target.c (target_insn_history): Add argument.
11311 * record-btrace.c (record_btrace_insn_history): Add 'self'
11312 argument.
11313
11314 2014-02-19 Tom Tromey <tromey@redhat.com>
11315
11316 * target.h (struct target_ops) <to_goto_record>: Add argument.
11317 * target.c (target_goto_record): Add argument.
11318 * record-full.c (record_full_goto): Add 'self' argument.
11319 * record-btrace.c (record_btrace_goto): Add 'self' argument.
11320
11321 2014-02-19 Tom Tromey <tromey@redhat.com>
11322
11323 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
11324 * target.c (target_goto_record_end): Add argument.
11325 * record-full.c (record_full_goto_end): Add 'self' argument.
11326 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
11327
11328 2014-02-19 Tom Tromey <tromey@redhat.com>
11329
11330 * target.h (struct target_ops) <to_goto_record_begin>: Add
11331 argument.
11332 * target.c (target_goto_record_begin): Add argument.
11333 * record-full.c (record_full_goto_begin): Add 'self' argument.
11334 * record-btrace.c (record_btrace_goto_begin): Add 'self'
11335 argument.
11336
11337 2014-02-19 Tom Tromey <tromey@redhat.com>
11338
11339 * target.h (struct target_ops) <to_record_is_replaying>: Add
11340 argument.
11341 * target.c (target_record_is_replaying): Add argument.
11342 * record-full.c (record_full_is_replaying): Add 'self' argument.
11343 * record-btrace.c (record_btrace_is_replaying): Add 'self'
11344 argument.
11345 (record_btrace_xfer_partial, record_btrace_store_registers)
11346 (record_btrace_prepare_to_store, record_btrace_resume)
11347 (record_btrace_wait, record_btrace_decr_pc_after_break)
11348 (record_btrace_find_new_threads, record_btrace_thread_alive):
11349 Update.
11350
11351 2014-02-19 Tom Tromey <tromey@redhat.com>
11352
11353 * target.h (struct target_ops) <to_delete_record>: Add argument.
11354 * target.c (target_delete_record): Add argument.
11355 * record-full.c (record_full_delete): Add 'self' argument.
11356
11357 2014-02-19 Tom Tromey <tromey@redhat.com>
11358
11359 * target.h (struct target_ops) <to_save_record>: Add argument.
11360 * target.c (target_save_record): Add argument.
11361 * record-full.c (record_full_save): Add 'self' argument.
11362 (record_full_save): Add 'self' argument.
11363
11364 2014-02-19 Tom Tromey <tromey@redhat.com>
11365
11366 * target.h (struct target_ops) <to_info_record>: Add argument.
11367 * target.c (target_info_record): Add argument.
11368 * record.c (info_record_command): Add argument.
11369 * record-full.c (record_full_info): Add 'self' argument.
11370 * record-btrace.c (record_btrace_info): Add 'self' argument.
11371
11372 2014-02-19 Tom Tromey <tromey@redhat.com>
11373
11374 * target.h (struct target_ops) <to_stop_recording>: Add argument.
11375 * target.c (target_stop_recording): Add argument.
11376 * record.c (record_stop): Add argument.
11377 * record-btrace.c (record_btrace_stop_recording): Add 'self'
11378 argument.
11379
11380 2014-02-19 Tom Tromey <tromey@redhat.com>
11381
11382 * target.h (struct target_ops) <to_read_btrace>: Add argument.
11383 * target.c (struct target_ops) <to_read_btrace>: Add argument.
11384 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
11385 argument.
11386 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
11387 (_initialize_amd64_linux_nat): Use it.
11388 * i386-linux-nat.c (i386_linux_read_btrace): New function.
11389 (_initialize_i386_linux_nat): Use it.
11390
11391 2014-02-19 Tom Tromey <tromey@redhat.com>
11392
11393 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
11394 * target.c (target_teardown_btrace): Add argument.
11395 * remote.c (remote_teardown_btrace): Add 'self' argument.
11396 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
11397 argument.
11398 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
11399 argument.
11400
11401 2014-02-19 Tom Tromey <tromey@redhat.com>
11402
11403 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
11404 * target.c (target_disable_btrace): Add argument.
11405 * remote.c (remote_disable_btrace): Add 'self' argument.
11406 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
11407 argument.
11408 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
11409 argument.
11410
11411 2014-02-19 Tom Tromey <tromey@redhat.com>
11412
11413 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
11414 * target.c (target_enable_btrace): Add argument.
11415 * remote.c (remote_enable_btrace): Add 'self' argument.
11416 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
11417 argument.
11418 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
11419 argument.
11420
11421 2014-02-19 Tom Tromey <tromey@redhat.com>
11422
11423 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
11424 (target_can_use_agent): Add argument.
11425 * target.c (update_current_target): Update.
11426 * remote.c (remote_can_use_agent): Add 'self' argument.
11427 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
11428
11429 2014-02-19 Tom Tromey <tromey@redhat.com>
11430
11431 * target.h (struct target_ops) <to_use_agent>: Add argument.
11432 (target_use_agent): Add argument.
11433 * target.c (update_current_target): Update.
11434 * remote.c (remote_use_agent): Add 'self' argument.
11435 * inf-child.c (inf_child_use_agent): Add 'self' argument.
11436
11437 2014-02-19 Tom Tromey <tromey@redhat.com>
11438
11439 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
11440 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
11441 (target_traceframe_info): Add argument.
11442 * target.c (update_current_target): Update.
11443 * remote.c (remote_traceframe_info): Add 'self' argument.
11444 * ctf.c (ctf_traceframe_info): Add 'self' argument.
11445
11446 2014-02-19 Tom Tromey <tromey@redhat.com>
11447
11448 * target.h (target_static_tracepoint_markers_by_strid): Add
11449 argument.
11450 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
11451 'self' argument.
11452 * target.c (update_current_target): Update.
11453 * remote.c (struct target_ops)
11454 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11455 * linux-nat.c (struct target_ops)
11456 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11457
11458 2014-02-19 Tom Tromey <tromey@redhat.com>
11459
11460 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11461 Add argument.
11462 (target_static_tracepoint_marker_at): Add argument.
11463 * target.c (update_current_target): Update.
11464 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
11465 argument.
11466
11467 2014-02-19 Tom Tromey <tromey@redhat.com>
11468
11469 * target.h (struct target_ops) <to_set_permissions>: Add argument.
11470 (target_set_permissions): Add argument.
11471 * target.c (update_current_target): Update.
11472 * remote.c (remote_set_permissions): Add 'self' argument.
11473 (remote_start_remote): Update.
11474
11475 2014-02-19 Tom Tromey <tromey@redhat.com>
11476
11477 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
11478 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
11479 (target_get_tib_address): Add argument.
11480 * target.c (update_current_target): Update.
11481 * remote.c (remote_get_tib_address): Add 'self' argument.
11482
11483 2014-02-19 Tom Tromey <tromey@redhat.com>
11484
11485 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
11486 (target_set_trace_notes): Add argument.
11487 * target.c (update_current_target): Update.
11488 * remote.c (remote_set_trace_notes): Add 'self' argument.
11489
11490 2014-02-19 Tom Tromey <tromey@redhat.com>
11491
11492 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
11493 argument.
11494 (target_set_trace_buffer_size): Add argument.
11495 * target.c (update_current_target): Update.
11496 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
11497
11498 2014-02-19 Tom Tromey <tromey@redhat.com>
11499
11500 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
11501 argument.
11502 (target_set_circular_trace_buffer): Add argument.
11503 * target.c (update_current_target): Update.
11504 * remote.c (remote_set_circular_trace_buffer): Add 'self'
11505 argument.
11506
11507 2014-02-19 Tom Tromey <tromey@redhat.com>
11508
11509 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
11510 argument.
11511 (target_set_disconnected_tracing): Add argument.
11512 * target.c (update_current_target): Update.
11513 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
11514
11515 2014-02-19 Tom Tromey <tromey@redhat.com>
11516
11517 * target.h (struct target_ops)
11518 <to_get_min_fast_tracepoint_insn_len>: Add argument.
11519 (target_get_min_fast_tracepoint_insn_len): Add argument.
11520 * target.c (update_current_target): Update.
11521 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
11522 argument.
11523
11524 2014-02-19 Tom Tromey <tromey@redhat.com>
11525
11526 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
11527 argument.
11528 (target_get_raw_trace_data): Add argument.
11529 * target.c (update_current_target): Update.
11530 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
11531
11532 2014-02-19 Tom Tromey <tromey@redhat.com>
11533
11534 * target.h (struct target_ops) <to_upload_trace_state_variables>:
11535 Add argument.
11536 (target_upload_trace_state_variables): Add argument.
11537 * target.c (update_current_target): Update.
11538 * remote.c (remote_upload_trace_state_variables): Add 'self'
11539 argument.
11540 (remote_start_remote): Update.
11541
11542 2014-02-19 Tom Tromey <tromey@redhat.com>
11543
11544 * target.h (struct target_ops) <to_upload_tracepoints>: Add
11545 argument.
11546 (target_upload_tracepoints): Add argument.
11547 * target.c (update_current_target): Update.
11548 * remote.c (remote_upload_tracepoints): Add 'self' argument.
11549 (remote_start_remote): Update.
11550
11551 2014-02-19 Tom Tromey <tromey@redhat.com>
11552
11553 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
11554 (target_save_trace_data): Add argument.
11555 * target.c (update_current_target): Update.
11556 * remote.c (remote_save_trace_data): Add 'self' argument.
11557
11558 2014-02-19 Tom Tromey <tromey@redhat.com>
11559
11560 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
11561 argument.
11562 * target.h (struct target_ops)
11563 <to_get_trace_state_variable_value>: Add argument.
11564 (target_get_trace_state_variable_value): Add argument.
11565 * target.c (update_current_target): Update.
11566 * remote.c (remote_get_trace_state_variable_value): Add 'self'
11567 argument.
11568 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
11569
11570 2014-02-19 Tom Tromey <tromey@redhat.com>
11571
11572 * tracepoint.c (tfile_trace_find): Add 'self' argument.
11573 * target.h (struct target_ops) <to_trace_find>: Add argument.
11574 (target_trace_find): Add argument.
11575 * target.c (update_current_target): Update.
11576 * remote.c (remote_trace_find): Add 'self' argument.
11577 * ctf.c (ctf_trace_find): Add 'self' argument.
11578
11579 2014-02-19 Tom Tromey <tromey@redhat.com>
11580
11581 * target.h (struct target_ops) <to_trace_stop>: Add argument.
11582 (target_trace_stop): Add argument.
11583 * target.c (update_current_target): Update.
11584 * remote.c (remote_trace_stop): Add 'self' argument.
11585
11586 2014-02-19 Tom Tromey <tromey@redhat.com>
11587
11588 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
11589 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
11590 argument.
11591 (target_get_tracepoint_status): Add argument.
11592 * target.c (update_current_target): Update.
11593 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
11594
11595 2014-02-19 Tom Tromey <tromey@redhat.com>
11596
11597 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
11598 * target.h (struct target_ops) <to_get_trace_status>: Add
11599 argument.
11600 (target_get_trace_status): Add argument.
11601 * target.c (update_current_target): Update.
11602 * remote.c (remote_get_trace_status): Add 'self' argument.
11603 (remote_start_remote, remote_can_download_tracepoint): Update.
11604 * ctf.c (ctf_get_trace_status): Add 'self' argument.
11605
11606 2014-02-19 Tom Tromey <tromey@redhat.com>
11607
11608 * target.h (struct target_ops) <to_trace_start>: Add argument.
11609 (target_trace_start): Add argument.
11610 * target.c (update_current_target): Update.
11611 * remote.c (remote_trace_start): Add 'self' argument.
11612
11613 2014-02-19 Tom Tromey <tromey@redhat.com>
11614
11615 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11616 Add argument.
11617 (target_trace_set_readonly_regions): Add argument.
11618 * target.c (update_current_target): Update.
11619 * remote.c (remote_trace_set_readonly_regions): Add 'self'
11620 argument.
11621
11622 2014-02-19 Tom Tromey <tromey@redhat.com>
11623
11624 * target.h (struct target_ops) <to_disable_tracepoint>: Add
11625 argument.
11626 (target_disable_tracepoint): Add argument.
11627 * target.c (update_current_target): Update.
11628 * remote.c (remote_disable_tracepoint): Add 'self' argument.
11629
11630 2014-02-19 Tom Tromey <tromey@redhat.com>
11631
11632 * target.h (struct target_ops) <to_enable_tracepoint>: Add
11633 argument.
11634 (target_enable_tracepoint): Add argument.
11635 * target.c (update_current_target): Update.
11636 * remote.c (remote_enable_tracepoint): Add 'self' argument.
11637
11638 2014-02-19 Tom Tromey <tromey@redhat.com>
11639
11640 * target.h (struct target_ops) <to_download_trace_state_variable>:
11641 Add argument.
11642 (target_download_trace_state_variable): Add argument.
11643 * target.c (update_current_target): Update.
11644 * remote.c (remote_download_trace_state_variable): Add 'self'
11645 argument.
11646
11647 2014-02-19 Tom Tromey <tromey@redhat.com>
11648
11649 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
11650 argument.
11651 (target_can_download_tracepoint): Add argument.
11652 * target.c (update_current_target): Update.
11653 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
11654
11655 2014-02-19 Tom Tromey <tromey@redhat.com>
11656
11657 * target.h (struct target_ops) <to_download_tracepoint>: Add
11658 argument.
11659 (target_download_tracepoint): Add argument.
11660 * target.c (update_current_target): Update.
11661 * remote.c (remote_download_tracepoint): Add 'self' argument.
11662
11663 2014-02-19 Tom Tromey <tromey@redhat.com>
11664
11665 * target.h (struct target_ops) <to_trace_init>: Add argument.
11666 (target_trace_init): Add argument.
11667 * target.c (update_current_target): Update.
11668 * remote.c (remote_trace_init): Add 'self' argument.
11669
11670 2014-02-19 Tom Tromey <tromey@redhat.com>
11671
11672 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
11673 * target.c (target_fileio_readlink): Add argument.
11674 * remote.c (remote_hostio_readlink): Add 'self' argument.
11675 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
11676
11677 2014-02-19 Tom Tromey <tromey@redhat.com>
11678
11679 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
11680 * target.c (target_fileio_unlink): Add argument.
11681 * remote.c (remote_hostio_unlink): Add 'self' argument.
11682 (remote_file_delete): Update.
11683 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
11684
11685 2014-02-19 Tom Tromey <tromey@redhat.com>
11686
11687 * target.h (struct target_ops) <to_fileio_close>: Add argument.
11688 * target.c (target_fileio_close): Add argument.
11689 * remote.c (remote_hostio_close): Add 'self' argument.
11690 (remote_hostio_close_cleanup): Update.
11691 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
11692 Update.
11693 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
11694
11695 2014-02-19 Tom Tromey <tromey@redhat.com>
11696
11697 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
11698 * target.c (target_fileio_pread): Add argument.
11699 * remote.c (remote_hostio_pread): Add 'self' argument.
11700 (remote_bfd_iovec_pread, remote_file_get): Update.
11701 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
11702
11703 2014-02-19 Tom Tromey <tromey@redhat.com>
11704
11705 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
11706 * target.c (target_fileio_pwrite): Add argument.
11707 * remote.c (remote_hostio_pwrite): Add 'self' argument.
11708 (remote_file_put): Update.
11709 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
11710
11711 2014-02-19 Tom Tromey <tromey@redhat.com>
11712
11713 * target.h (struct target_ops) <to_fileio_open>: Add argument.
11714 * target.c (target_fileio_open): Add argument.
11715 * remote.c (remote_hostio_open): Add 'self' argument.
11716 (remote_bfd_iovec_open): Add 'self' argument.
11717 (remote_file_put): Add 'self' argument.
11718 (remote_file_get): Add 'self' argument.
11719 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
11720
11721 2014-02-19 Tom Tromey <tromey@redhat.com>
11722
11723 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
11724 Add argument.
11725 (target_can_run_breakpoint_commands): Add argument.
11726 * target.c (update_current_target): Update.
11727 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
11728 argument.
11729 (remote_insert_breakpoint): Add 'self' argument.
11730 (remote_insert_hw_breakpoint): Add 'self' argument.
11731 (remote_can_run_breakpoint_commands): Add 'self' argument.
11732
11733 2014-02-19 Tom Tromey <tromey@redhat.com>
11734
11735 * target.h (struct target_ops)
11736 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
11737 (target_supports_evaluation_of_breakpoint_conditions): Add
11738 argument.
11739 * target.c (update_current_target): Update.
11740 * remote.c (remote_supports_cond_breakpoints): Add 'self'
11741 argument.
11742 (remote_insert_breakpoint): Add 'self' argument.
11743 (remote_insert_hw_breakpoint): Add 'self' argument.
11744 (remote_supports_cond_breakpoints): Add 'self' argument.
11745
11746 2014-02-19 Tom Tromey <tromey@redhat.com>
11747
11748 * target.h (struct target_ops) <to_supports_string_tracing>: Add
11749 argument.
11750 (target_supports_string_tracing): Add argument.
11751 * target.c (update_current_target): Update.
11752 * remote.c (remote_supports_string_tracing): Add 'self' argument.
11753
11754 2014-02-19 Tom Tromey <tromey@redhat.com>
11755
11756 * target.h (struct target_ops)
11757 <to_supports_disable_randomization>: Add argument.
11758 * target.c (find_default_supports_disable_randomization): Add
11759 argument.
11760 (target_supports_disable_randomization): Add argument.
11761 (find_default_supports_disable_randomization): Add 'self'
11762 argument.
11763 * remote.c (extended_remote_supports_disable_randomization): Add
11764 'self' argument.
11765 (remote_supports_disable_randomization): Add 'self' argument.
11766 (extended_remote_create_inferior): Update.
11767 * linux-nat.c (linux_nat_supports_disable_randomization): Add
11768 'self' argument.
11769
11770 2014-02-19 Tom Tromey <tromey@redhat.com>
11771
11772 * target.h (struct target_ops)
11773 <to_supports_enable_disable_tracepoint>: Add argument.
11774 (target_supports_enable_disable_tracepoint): Add argument.
11775 * target.c (update_current_target): Update.
11776 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
11777 argument.
11778
11779 2014-02-19 Tom Tromey <tromey@redhat.com>
11780
11781 * target.h (struct target_ops) <to_supports_multi_process>: Add
11782 argument.
11783 (target_supports_multi_process): Add argument.
11784 * target.c (update_current_target): Update.
11785 * remote.c (remote_supports_multi_process): Add 'self' argument.
11786 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
11787 argument.
11788 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
11789 argument.
11790
11791 2014-02-19 Tom Tromey <tromey@redhat.com>
11792
11793 * target.h (struct target_ops) <to_execution_direction>: Add
11794 argument.
11795 (target_execution_direction): Add argument.
11796 * target.c (default_execution_direction): Add 'self' argument.
11797 * record-full.c (record_full_execution_direction): Add 'self'
11798 argument.
11799
11800 2014-02-19 Tom Tromey <tromey@redhat.com>
11801
11802 * target.h (struct target_ops) <to_can_execute_reverse>: Add
11803 argument.
11804 (target_can_execute_reverse): Add argument.
11805 * remote.c (remote_can_execute_reverse): Add 'self' argument.
11806 * record-full.c (record_full_can_execute_reverse): Add 'self'
11807 argument.
11808 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
11809 argument.
11810
11811 2014-02-19 Tom Tromey <tromey@redhat.com>
11812
11813 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
11814 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
11815 argument.
11816 (target_get_ada_task_ptid): Add argument.
11817 * target.c (update_current_target): Update.
11818 (default_get_ada_task_ptid): Add 'self' argument.
11819 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
11820 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
11821 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
11822 argument.
11823 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
11824 argument.
11825 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
11826 argument.
11827 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
11828 argument.
11829 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
11830 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
11831 argument.
11832
11833 2014-02-19 Tom Tromey <tromey@redhat.com>
11834
11835 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
11836 (target_goto_bookmark): Add argument.
11837 * target.c (dummy_goto_bookmark): Add 'self' argument.
11838 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
11839
11840 2014-02-19 Tom Tromey <tromey@redhat.com>
11841
11842 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
11843 (target_get_bookmark): Add argument.
11844 * target.c (dummy_get_bookmark): Add 'self' argument.
11845 * record-full.c (record_full_get_bookmark): Add 'self' argument.
11846
11847 2014-02-19 Tom Tromey <tromey@redhat.com>
11848
11849 * target.h (struct target_ops) <to_make_corefile_notes>: Add
11850 argument.
11851 (target_make_corefile_notes): Add argument.
11852 * target.c (dummy_make_corefile_notes): Add 'self' argument.
11853 * procfs.c (procfs_make_note_section): Add 'self' argument.
11854 (procfs_make_note_section): Add 'self' argument.
11855 (procfs_make_note_section): Add 'self' argument.
11856 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
11857 argument.
11858 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
11859 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
11860 * exec.c (exec_make_note_section): Add 'self' argument.
11861 (exec_make_note_section): Add 'self' argument.
11862
11863 2014-02-19 Tom Tromey <tromey@redhat.com>
11864
11865 * target.h (struct target_ops) <to_find_memory_regions>: Add
11866 argument.
11867 (target_find_memory_regions): Add argument.
11868 * target.c (dummy_find_memory_regions): Add 'self' argument.
11869 * procfs.c (proc_find_memory_regions): Add 'self' argument.
11870 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
11871 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
11872 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
11873 * exec. (exec_do_find_memory_regions): New global.
11874 (exec_set_find_memory_regions): Rewrite.
11875 (exec_find_memory_regions): New function.
11876 (init_exec_ops): Use exec_find_memory_regions.
11877
11878 2014-02-19 Tom Tromey <tromey@redhat.com>
11879
11880 * target.h (struct target_ops) <to_supports_non_stop>: Add
11881 argument.
11882 * target.c (find_default_supports_non_stop): Add argument.
11883 (target_supports_non_stop): Add argument.
11884 (find_default_supports_non_stop): Add 'self' argument.
11885 * remote.c (remote_supports_non_stop): Add 'self' argument.
11886 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
11887
11888 2014-02-19 Tom Tromey <tromey@redhat.com>
11889
11890 * target.h (struct target_ops) <to_log_command>: Add argument.
11891 (target_log_command): Add argument.
11892 * serial.h (serial_log_command): Add 'self' argument.
11893 * serial.c (serial_log_command): Add 'self' argument.
11894
11895 2014-02-19 Tom Tromey <tromey@redhat.com>
11896
11897 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
11898 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
11899 argument.
11900 (target_pid_to_exec_file): Add argument.
11901 * target.c (debug_to_pid_to_exec_file): Add argument.
11902 (update_current_target): Update.
11903 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
11904 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
11905 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
11906 (linux_handle_extended_wait): Update.
11907 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
11908 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
11909 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
11910 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
11911
11912 2014-02-19 Tom Tromey <tromey@redhat.com>
11913
11914 * target.h (struct target_ops) <to_rcmd>: Add argument.
11915 (target_rcmd): Add argument.
11916 * target.c (debug_to_rcmd): Add argument.
11917 (update_current_target, do_monitor_command): Update.
11918 * remote.c (remote_rcmd): Add 'self' argument.
11919 * monitor.c (monitor_rcmd): Add 'self' argument.
11920
11921 2014-02-19 Tom Tromey <tromey@redhat.com>
11922
11923 * windows-nat.c (windows_stop): Add 'self' argument.
11924 * target.h (struct target_ops) <to_stop>: Add argument.
11925 * target.c (target_stop): Add argument.
11926 (debug_to_stop): Add argument.
11927 (update_current_target): Update.
11928 * remote.c (remote_stop): Add 'self' argument.
11929 * remote-sim.c (gdbsim_stop): Add 'self' argument.
11930 (gdbsim_cntrl_c): Update.
11931 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
11932 * procfs.c (procfs_stop): Add 'self' argument.
11933 * nto-procfs.c (procfs_stop): Add 'self' argument.
11934 * monitor.c (monitor_stop): Add 'self' argument.
11935 (monitor_open): Update.
11936 * linux-nat.c (linux_nat_stop): Add argument.
11937 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
11938 * gnu-nat.c (gnu_stop): Add 'self' argument.
11939 * darwin-nat.c (darwin_stop): Add 'self' argument.
11940
11941 2014-02-19 Tom Tromey <tromey@redhat.com>
11942
11943 * target.h (struct target_ops) <to_thread_name>: Add argument.
11944 * target.c (target_thread_name): Add argument.
11945 (update_current_target): Update.
11946 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
11947
11948 2014-02-19 Tom Tromey <tromey@redhat.com>
11949
11950 * target.h (struct target_ops) <to_extra_thread_info>: Add
11951 argument.
11952 (target_extra_thread_info): Add argument.
11953 * target.c (update_current_target): Update.
11954 * remote.c (remote_threads_extra_info): Add 'self' argument.
11955 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
11956 argument.
11957 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
11958 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
11959 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
11960 argument.
11961 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
11962 argument.
11963 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
11964 argument.
11965 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
11966 argument.
11967
11968 2014-02-19 Tom Tromey <tromey@redhat.com>
11969
11970 * target.h (struct target_ops) <to_program_signals>: Add argument.
11971 * target.c (target_program_signals): Add argument.
11972 * remote.c (remote_program_signals): Add 'self' argument.
11973
11974 2014-02-19 Tom Tromey <tromey@redhat.com>
11975
11976 * target.h (struct target_ops) <to_pass_signals>: Add argument.
11977 * target.c (target_pass_signals): Add argument.
11978 * remote.c (remote_pass_signals): Add 'self' argument.
11979 (remote_start_remote): Update.
11980 * procfs.c (procfs_pass_signals): Add 'self' argument.
11981 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
11982 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
11983 (linux_nat_create_inferior, linux_nat_attach): Update.
11984
11985 2014-02-19 Tom Tromey <tromey@redhat.com>
11986
11987 * windows-nat.c (windows_can_run): Add 'self' argument.
11988 * target.h (struct target_ops) <to_can_run>: Add argument.
11989 (target_can_run): Add argument.
11990 * target.c (debug_to_can_run): Add argument.
11991 (update_current_target): Update.
11992 * nto-procfs.c (procfs_can_run): Add 'self' argument.
11993 * inf-child.c (inf_child_can_run): Add 'self' argument.
11994 * go32-nat.c (go32_can_run): Add 'self' argument.
11995
11996 2014-02-19 Tom Tromey <tromey@redhat.com>
11997
11998 * target.h (struct target_ops) <to_has_exited>: Add argument.
11999 (target_has_exited): Add argument.
12000 * target.c (debug_to_has_exited): Add argument.
12001 (update_current_target): Update.
12002
12003 2014-02-19 Tom Tromey <tromey@redhat.com>
12004
12005 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
12006 argument.
12007 (target_set_syscall_catchpoint): Add argument.
12008 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
12009 argument.
12010 * target.c (update_current_target): Update.
12011
12012 2014-02-19 Tom Tromey <tromey@redhat.com>
12013
12014 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
12015 argument.
12016 (target_remove_exec_catchpoint): Add argument.
12017 * target.c (debug_to_remove_exec_catchpoint): Add argument.
12018 (update_current_target): Update.
12019 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
12020 argument.
12021
12022 2014-02-19 Tom Tromey <tromey@redhat.com>
12023
12024 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
12025 argument.
12026 (target_insert_exec_catchpoint): Add argument.
12027 * target.c (debug_to_insert_exec_catchpoint): Add argument.
12028 (update_current_target): Update.
12029 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
12030 argument.
12031
12032 2014-02-19 Tom Tromey <tromey@redhat.com>
12033
12034 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
12035 argument.
12036 (target_remove_vfork_catchpoint): Add argument.
12037 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
12038 (update_current_target): Update.
12039 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
12040 argument.
12041
12042 2014-02-19 Tom Tromey <tromey@redhat.com>
12043
12044 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
12045 argument.
12046 (target_insert_vfork_catchpoint): Add argument.
12047 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
12048 (update_current_target): Update.
12049 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
12050 argument.
12051
12052 2014-02-19 Tom Tromey <tromey@redhat.com>
12053
12054 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
12055 argument.
12056 (target_remove_fork_catchpoint): Add argument.
12057 * target.c (debug_to_remove_fork_catchpoint): Add argument.
12058 (update_current_target): Update.
12059 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
12060 argument.
12061
12062 2014-02-19 Tom Tromey <tromey@redhat.com>
12063
12064 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
12065 argument.
12066 (target_insert_fork_catchpoint): Add argument.
12067 * target.c (debug_to_insert_fork_catchpoint): Add argument.
12068 (update_current_target): Update.
12069 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
12070 argument.
12071
12072 2014-02-19 Tom Tromey <tromey@redhat.com>
12073
12074 * target.h (struct target_ops) <to_post_startup_inferior>: Add
12075 argument.
12076 (target_post_startup_inferior): Add argument.
12077 * target.c (debug_to_post_startup_inferior): Add argument.
12078 (update_current_target): Update.
12079 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
12080 argument.
12081 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
12082 argument.
12083 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
12084 argument.
12085 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
12086 argument.
12087 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
12088 'self' argument.
12089 (super_post_startup_inferior): Likewise.
12090 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
12091 'self' argument.
12092 (super_post_startup_inferior): Likewise.
12093 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
12094 Add 'self' argument.
12095 (super_post_startup_inferior): Likewise.
12096
12097 2014-02-19 Tom Tromey <tromey@redhat.com>
12098
12099 * target.h (struct target_ops) <to_load>: Add argument.
12100 * target.c (target_load): Add argument.
12101 (debug_to_load): Add argument.
12102 (update_current_target): Update.
12103 * remote.c (remote_load): Add 'self' argument.
12104 * remote-sim.c (gdbsim_load): Add 'self' argument.
12105 * remote-mips.c (mips_load): Add 'self' argument.
12106 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
12107 * monitor.c (monitor_load): Add 'self' argument.
12108 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
12109
12110 2014-02-19 Tom Tromey <tromey@redhat.com>
12111
12112 * target.h (struct target_ops) <to_terminal_info>: Add argument.
12113 (target_terminal_info): Add argument.
12114 * target.c (debug_to_terminal_info): Add argument.
12115 (default_terminal_info): Likewise.
12116 * inflow.c (child_terminal_info): Add 'self' argument.
12117 * inferior.h (child_terminal_info): Add 'self' argument.
12118 * go32-nat.c (go32_terminal_info): Add 'self' argument.
12119
12120 2014-02-19 Tom Tromey <tromey@redhat.com>
12121
12122 * target.h (struct target_ops) <to_terminal_save_ours>: Add
12123 argument.
12124 (target_terminal_save_ours): Add argument.
12125 * target.c (debug_to_terminal_save_ours): Add argument.
12126 (update_current_target): Update.
12127 * inflow.c (terminal_save_ours): Add 'self' argument.
12128 * inferior.h (terminal_save_ours): Add 'self' argument.
12129
12130 2014-02-19 Tom Tromey <tromey@redhat.com>
12131
12132 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
12133 (target_terminal_ours): Add argument.
12134 * target.c (debug_to_terminal_ours): Add argument.
12135 (update_current_target): Update.
12136 * remote.c (remote_terminal_ours): Add 'self' argument.
12137 (remote_close): Update.
12138 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
12139 * inflow.c (terminal_ours): Add 'self' argument.
12140 * inferior.h (terminal_ours): Add 'self' argument.
12141 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12142
12143 2014-02-19 Pedro Alves <palves@redhat.com>
12144 Tom Tromey <tromey@redhat.com>
12145
12146 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
12147 argument.
12148 (target_terminal_ours_for_output): Add argument.
12149 * target.c (debug_to_terminal_ours_for_output): Add argument.
12150 (update_current_target): Update.
12151 * inflow.c (terminal_ours_for_output): Add 'self' argument.
12152 * inferior.h (terminal_ours_for_output): Add 'self' argument.
12153 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12154
12155 2014-02-19 Tom Tromey <tromey@redhat.com>
12156
12157 * target.h (struct target_ops) <to_terminal_inferior>: Add
12158 argument.
12159 * target.c (target_terminal_inferior): Add argument.
12160 (update_current_target): Update.
12161 * remote.c (remote_terminal_inferior): Add 'self' argument.
12162 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
12163 * inflow.c (terminal_inferior): Add 'self' argument.
12164 * inferior.h (terminal_inferior): Add 'self' argument.
12165 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
12166 (go32_terminal_inferior): Add 'self' argument.
12167
12168 2014-02-19 Tom Tromey <tromey@redhat.com>
12169
12170 * target.h (struct target_ops) <to_terminal_init>: Add argument.
12171 (target_terminal_init): Add argument.
12172 * target.c (debug_to_terminal_init): Add argument.
12173 (update_current_target): Update.
12174 * inflow.c (terminal_init_inferior): Add 'self' argument.
12175 * inferior.h (terminal_init_inferior): Add 'self' argument.
12176 * go32-nat.c (go32_terminal_init): Add 'self' argument.
12177 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
12178
12179 2014-02-19 Tom Tromey <tromey@redhat.com>
12180
12181 * target.h (struct target_ops)
12182 <to_can_accel_watchpoint_condition>: Add argument.
12183 (target_can_accel_watchpoint_condition): Add argument.
12184 * target.c (debug_to_can_accel_watchpoint_condition): Add
12185 argument.
12186 (update_current_target): Update.
12187 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
12188 'self' argument.
12189
12190 2014-02-19 Tom Tromey <tromey@redhat.com>
12191
12192 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
12193 Add argument.
12194 (target_region_ok_for_hw_watchpoint): Add argument.
12195 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
12196 (default_region_ok_for_hw_watchpoint): Add argument.
12197 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
12198 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
12199 argument.
12200 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
12201 argument.
12202 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
12203 argument.
12204 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
12205 'self' argument.
12206 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
12207 'self' argument.
12208 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
12209 'self' argument.
12210 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
12211 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
12212 'self' argument.
12213 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
12214 Add 'self' argument.
12215
12216 2014-02-19 Tom Tromey <tromey@redhat.com>
12217
12218 * target.h (struct target_ops) <to_insert_watchpoint>: Add
12219 argument.
12220 (target_insert_watchpoint): Add argument.
12221 * target.c (debug_to_insert_watchpoint): Add argument.
12222 (update_current_target): Update.
12223 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
12224 * remote.c (remote_insert_watchpoint): Add 'self' argument.
12225 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
12226 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
12227 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
12228 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
12229 argument.
12230 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
12231 (procfs_insert_hw_watchpoint): Add 'self' argument.
12232 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
12233 argument.
12234 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
12235 argument.
12236 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
12237 argument.
12238 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
12239 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
12240 argument.
12241 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
12242 'self' argument.
12243
12244 2014-02-19 Tom Tromey <tromey@redhat.com>
12245
12246 * target.h (struct target_ops) <to_remove_watchpoint>: Add
12247 argument.
12248 (target_remove_watchpoint): Add argument.
12249 * target.c (debug_to_remove_watchpoint): Add argument.
12250 (update_current_target): Update.
12251 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
12252 * remote.c (remote_remove_watchpoint): Add 'self' argument.
12253 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
12254 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
12255 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
12256 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
12257 argument.
12258 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
12259 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
12260 argument.
12261 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
12262 argument.
12263 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
12264 argument.
12265 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
12266 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
12267 argument.
12268 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
12269 'self' argument.
12270
12271 2014-02-19 Tom Tromey <tromey@redhat.com>
12272
12273 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
12274 argument.
12275 (target_remove_hw_breakpoint): Add argument.
12276 * target.c (debug_to_remove_hw_breakpoint): Add argument.
12277 (update_current_target): Update.
12278 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
12279 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
12280 argument.
12281 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
12282 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
12283 argument.
12284 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
12285 'self' argument.
12286
12287 2014-02-19 Tom Tromey <tromey@redhat.com>
12288
12289 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
12290 argument.
12291 (target_insert_hw_breakpoint): Add argument.
12292 * target.c (debug_to_insert_hw_breakpoint): Add argument.
12293 (update_current_target): Update.
12294 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
12295 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
12296 argument.
12297 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
12298 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
12299 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
12300 argument.
12301 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
12302 'self' argument.
12303
12304 2014-02-19 Tom Tromey <tromey@redhat.com>
12305
12306 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
12307 argument.
12308 (target_can_use_hardware_watchpoint): Add argument.
12309 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
12310 (update_current_target): Update.
12311 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
12312 argument.
12313 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
12314 argument.
12315 * remote.c (remote_check_watch_resources): Add 'self' argument.
12316 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
12317 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
12318 argument.
12319 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
12320 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
12321 argument.
12322 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
12323 argument.
12324 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
12325 argument.
12326 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
12327 argument.
12328 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
12329 argument.
12330 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
12331 argument.
12332 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
12333 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
12334 argument.
12335 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
12336 'self' argument.
12337
12338 2014-02-19 Tom Tromey <tromey@redhat.com>
12339
12340 * target.h (struct target_ops) <to_post_attach>: Add argument.
12341 (target_post_attach): Add argument.
12342 * target.c (debug_to_post_attach): Add argument.
12343 (update_current_target): Update.
12344 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
12345 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
12346 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
12347 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
12348 * inf-child.c (inf_child_post_attach): Add 'self' argument.
12349
12350 2014-02-19 Tom Tromey <tromey@redhat.com>
12351
12352 * windows-nat.c (windows_close): Add 'self' argument.
12353 * tracepoint.c (tfile_close): Add 'self' argument.
12354 * target.h (struct target_ops) <to_close>: Add argument.
12355 * target.c (target_close): Add argument.
12356 (update_current_target): Update.
12357 * remote.c (remote_close): Add 'self' argument.
12358 * remote-sim.c (gdbsim_close): Add 'self' argument.
12359 * remote-mips.c (mips_close): Add 'self' argument.
12360 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
12361 * record-full.c (record_full_close): Add 'self' argument.
12362 * record-btrace.c (record_btrace_close): Add 'self' argument.
12363 * monitor.h (monitor_close): Add 'self' argument.
12364 * monitor.c (monitor_close): Add 'self' argument.
12365 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
12366 * linux-nat.c (linux_nat_close): Add argument.
12367 * go32-nat.c (go32_close): Add 'self' argument.
12368 * exec.c (exec_close_1): Add 'self' argument.
12369 * ctf.c (ctf_close): Add 'self' argument.
12370 * corelow.c (core_close): Add 'self' argument.
12371 (core_close_cleanup): Update.
12372 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
12373 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
12374
12375 2014-02-19 Tom Tromey <tromey@redhat.com>
12376
12377 * remote.c (remote_load): New function.
12378 (init_remote_ops): Use it.
12379
12380 2014-02-19 Tom Tromey <tromey@redhat.com>
12381
12382 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
12383 argument.
12384 * common/linux-btrace.h (linux_supports_btrace): Update.
12385 * remote.c (remote_supports_btrace): Add "self" argument.
12386 * target-delegates.c: Rebuild.
12387 * target.c (target_supports_btrace): Remove.
12388 * target.h (struct target_ops) <to_supports_btrace>: Add
12389 target_ops argument.
12390 (target_supports_btrace): New define.
12391
12392 2014-02-19 Tom Tromey <tromey@redhat.com>
12393
12394 * record-full.c (record_full_beneath_to_resume_ops)
12395 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
12396 (record_full_beneath_to_wait)
12397 (record_full_beneath_to_store_registers_ops)
12398 (record_full_beneath_to_store_registers)
12399 (record_full_beneath_to_xfer_partial_ops)
12400 (record_full_beneath_to_xfer_partial)
12401 (record_full_beneath_to_insert_breakpoint_ops)
12402 (record_full_beneath_to_insert_breakpoint)
12403 (record_full_beneath_to_remove_breakpoint_ops)
12404 (record_full_beneath_to_remove_breakpoint)
12405 (record_full_beneath_to_stopped_by_watchpoint)
12406 (record_full_beneath_to_stopped_data_address)
12407 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
12408 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
12409 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
12410 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
12411 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
12412 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
12413 (tmp_to_stopped_data_address, tmp_to_async): Remove.
12414 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
12415 (record_full_resume, record_full_wait_1)
12416 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
12417 (record_full_store_registers, record_full_xfer_partial)
12418 (record_full_insert_breakpoint, record_full_remove_breakpoint)
12419 (record_full_async, record_full_core_xfer_partial): Use target
12420 delegation.
12421 * target-delegates.c: Rebuild.
12422 * target.c (current_xfer_partial): Remove.
12423 (update_current_target): Do not INHERIT or de_fault
12424 to_insert_breakpoint, to_remove_breakpoint,
12425 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
12426 to_is_async_p, to_async. Do not set to_xfer_partial field.
12427 (default_xfer_partial): Simplify.
12428 (current_xfer_partial): Remove.
12429 (target_wait, target_resume): Simplify.
12430 (find_default_can_async_p, find_default_is_async_p): Update.
12431 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
12432 to_xfer_partial, to_stopped_by_watchpoint,
12433 to_stopped_data_address.
12434 (target_store_registers): Simplify.
12435 (forward_target_remove_breakpoint)
12436 (forward_target_insert_breakpoint): Remove.
12437 (target_remove_breakpoint, target_insert_breakpoint)
12438 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
12439 * target.h (struct target_ops) <to_resume, to_wait,
12440 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
12441 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
12442 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
12443 markup.
12444 (forward_target_remove_breakpoint)
12445 (forward_target_insert_breakpoint): Remove.
12446 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
12447 directly.
12448 (record_btrace_insert_breakpoint): Delegate directly.
12449
12450 2014-02-19 Tom Tromey <tromey@redhat.com>
12451
12452 PR build/7701:
12453 * target-delegates.c: New file.
12454 * target.c: Include target-delegates.c.
12455 (init_dummy_target): Call install_dummy_methods.
12456 (complete_target_initialization): Call install_delegators.
12457 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
12458 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
12459 * make-target-delegates: New file.
12460
12461 2014-02-19 Tom Tromey <tromey@redhat.com>
12462
12463 * record.c (find_record_target): Use find_target_at.
12464 * target.c (find_target_at): New function.
12465 * target.h (find_target_at): Declare.
12466
12467 2014-02-19 Tom Tromey <tromey@redhat.com>
12468
12469 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
12470 Add 'ops' argument.
12471 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
12472 'ops' argument.
12473 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
12474 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
12475 'ops' argument.
12476 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
12477 argument.
12478 * linux-nat.c (save_sigtrap): Update.
12479 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
12480 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
12481 (linux_nat_close): Update.
12482 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
12483 argument.
12484 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
12485 argument.
12486 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
12487 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
12488 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
12489 (tmp_to_async): Add 'ops' argument.
12490 (record_full_stopped_by_watchpoint, record_full_async)
12491 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
12492 argument.
12493 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
12494 (m32r_stopped_by_watchpoint): Add 'ops' argument.
12495 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
12496 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
12497 (remote_is_async_p, remote_async): Add 'ops' argument.
12498 (remote_stopped_data_address): Update.
12499 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
12500 * target.c (update_current_target)
12501 (find_default_can_async_p, find_default_is_async_p): Update.
12502 (init_dummy_target): Update.
12503 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
12504 * target.h (struct target_ops) <to_stopped_by_watchpoint,
12505 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
12506 (target_can_async_p, target_is_async_p, target_async)
12507 (target_stopped_by_watchpoint): Update.
12508
12509 2014-02-19 Yao Qi <yao@codesourcery.com>
12510
12511 PR gdb/16220
12512 * gdbarch.sh: Remove startup_gdbarch.
12513 * gdbarch.c: Regenerated.
12514 * gdbarch.h: Likewise.
12515
12516 2014-02-17 Kevin Buettner <kevinb@redhat.com>
12517
12518 * rl78-tdep.c (rl78_g10_register_name): New function.
12519 (rl78_return_value): Add g10 support.
12520 (rl78_gdbarch_init): Register rl78_g10_register_name for the
12521 g10.
12522
12523 2014-02-17 Doug Evans <xdje42@gmail.com>
12524
12525 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
12526 (SUBDIR_GUILE_SRCS): Ditto.
12527 (scm-gsmob.o): Ditto.
12528
12529 2014-02-17 Yao Qi <yao@codesourcery.com>
12530
12531 * gnu-nat.c (ILL_RPC): Declare defined function.
12532
12533 2014-02-17 Yao Qi <yao@codesourcery.com>
12534
12535 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
12536 mach_msg_type_number_t.
12537 (gnu_write_inferior): Likewise.
12538
12539 2014-02-17 Yao Qi <yao@codesourcery.com>
12540
12541 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
12542 in format string.
12543 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
12544 (inf_validate_procs, inf_signal): Likewise.
12545 (S_exception_raise_request): Likewise.
12546 (do_mach_notify_dead_name): Likewise.
12547 (steal_exc_port): Likewise.
12548 (gnu_read_inferior): Change 'copy_count''s type to
12549 mach_msg_type_number_t.
12550 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
12551 format string.
12552
12553 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
12554
12555 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
12556 flag. Adjust all users; in particular...
12557 (gnu_wait): ..., don't decrement its value in here...
12558 (gnu_create_inferior): ..., and instead set the flag in here,
12559 around the startup_inferior call, and call that one with
12560 START_INFERIOR_TRAPS_EXPECTED.
12561
12562 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
12563 (ILL_RPC): ... new macro.
12564 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
12565 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
12566 (do_mach_notify_send_once, S_proc_setmsgport_reply)
12567 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
12568 functions with ILL_RPC macro.
12569 (S_proc_pid2task_reply, S_proc_task2pid_reply)
12570 (S_proc_task2proc_reply, S_proc_proc2task_reply)
12571 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
12572 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
12573 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
12574 (S_proc_getlogin_reply, S_proc_getsid_reply)
12575 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
12576 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
12577 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
12578 (S_proc_getnports_reply, S_proc_is_important_reply)
12579 (S_proc_get_code_reply): New stub functions, generated with
12580 ILL_RPC macro.
12581
12582 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
12583 collected the type check structures.
12584
12585 * reply_mig_hack.awk: Don't expect to see the auto keyword.
12586
12587 2014-02-14 Doug Evans <dje@google.com>
12588
12589 * target.c (target_write_partial): Fix result type.
12590
12591 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
12592
12593 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
12594 the proper offsets to access fpregset_t.
12595
12596 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
12597
12598 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
12599 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
12600 * h8300-tdep.c (setmachinelist): Remove global.
12601 * hppa-tdep.c (hppa_sigtramp): Remove global.
12602 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
12603 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
12604 * ravenscar-thread.c (update_target_observer): Remove global.
12605 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
12606
12607 2014-02-12 Tom Tromey <tromey@redhat.com>
12608
12609 * common/rsp-low.c: Update comments.
12610 * common/rsp-low.h: Update comments.
12611
12612 2014-02-12 Tom Tromey <tromey@redhat.com>
12613
12614 * common/rsp-low.c (convert_ascii_to_int): Remove.
12615 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
12616
12617 2014-02-12 Tom Tromey <tromey@redhat.com>
12618
12619 * common/rsp-low.h (unhexify): Don't declare.
12620 * common/rsp-low.c (unhexify): Remove.
12621
12622 2014-02-12 Tom Tromey <tromey@redhat.com>
12623
12624 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
12625 * common/rsp-low.c (convert_int_to_ascii): Remove.
12626
12627 2014-02-12 Tom Tromey <tromey@redhat.com>
12628
12629 * common/rsp-low.h (hexify): Don't declare.
12630 * common/rsp-low.c (hexify): Remove.
12631
12632 2014-02-12 Tom Tromey <tromey@redhat.com>
12633
12634 * common/rsp-low.c (hexify): Never take strlen of argument.
12635
12636 2014-02-12 Tom Tromey <tromey@redhat.com>
12637
12638 * common/rsp-low.c (bin2hex): Never take strlen of argument.
12639 * remote.c (extended_remote_run, remote_rcmd)
12640 (remote_download_trace_state_variable, remote_save_trace_data)
12641 (remote_set_trace_notes): Update.
12642 * tracepoint.c (encode_source_string, tfile_write_status)
12643 (tfile_write_uploaded_tsv): Update.
12644
12645 2014-02-12 Tom Tromey <tromey@redhat.com>
12646
12647 * tracepoint.c: Include rsp-low.h.
12648 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
12649 * remote.c: Include rsp-low.h.
12650 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
12651 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
12652 (remote_unescape_input): Move to common/rsp-low.c.
12653 * common/rsp-low.h: New file.
12654 * common/rsp-low.c: New file.
12655 * Makefile.in (SFILES): Add common/rsp-low.c.
12656 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
12657 (COMMON_OBS): Add rsp-low.o.
12658 (rsp-low.o): New target.
12659
12660 2014-02-12 Tom Tromey <tromey@redhat.com>
12661
12662 * utils.h: Include print-utils.h.
12663 (host_address_to_string, plongest, pulongest, phex, phex_nz)
12664 (int_string, core_addr_to_string, core_addr_to_string_nz)
12665 (hex_string, hex_string_custom): Don't declare.
12666 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
12667 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
12668 (hex_string_custom, int_string, core_addr_to_string)
12669 (core_addr_to_string_nz, host_address_to_string): Move to
12670 common/print-utils.c.
12671 * common/print-utils.h: New file.
12672 * common/print-utils.c: New file
12673 * Makefile.in (SFILES): Add common/print-utils.c.
12674 (HFILES_NO_SRCDIR): Add common/print-utils.h.
12675 (COMMON_OBS): Add print-utils.o.
12676 (print-utils.o): New target.
12677
12678 2014-02-12 Tom Tromey <tromey@redhat.com>
12679
12680 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
12681
12682 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12683
12684 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
12685
12686 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12687
12688 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
12689 if a PT_IO ptrace request returns sucessfully but indicates that 0
12690 bytes were transferred.
12691
12692 2014-02-12 Pedro Alves <palves@redhat.com>
12693 Kevin Buettner <kevinb@redhat.com>
12694
12695 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
12696 TYPE_INSTANCE_FLAG_CODE_SPACE.
12697
12698 2014-02-12 Pedro Alves <palves@redhat.com>
12699
12700 * h8300-tdep.c (pseudo_from_raw_register)
12701 (raw_from_pseudo_register): New functions.
12702 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
12703 them.
12704
12705 2014-02-12 Pedro Alves <palves@redhat.com>
12706
12707 * h8300-tdep.c (h8300_register_sim_regno): New function.
12708 (h8300_gdbarch_init): Install h8300_register_sim_regno as
12709 gdbarch_register_sim_regno hook.
12710
12711 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12712
12713 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
12714
12715 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12716
12717 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
12718
12719 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12720
12721 * obsd-tdep.h (obsd_init_abi): New prototype.
12722 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
12723 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
12724 (obsd_init_abi): New functions.
12725 * i386obsd-tdep.c: Include "obsd-tdep.h".
12726 (i386obsd_init_abi): Call obsd_init_abi.
12727 * amd64obsd-tdep.c: Include "obsd-tdep.h".
12728 (amd64obsd_init_abi): Call obsd_init_abi.
12729 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
12730 obsd-tdep.c to gdb_target_obs.
12731
12732 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
12733
12734 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
12735 double float arguments to 16-byte in the argument slots.
12736
12737 2014-02-11 Doug Evans <xdje42@gmail.com>
12738
12739 * configure.ac: Don't crash if pkg-config is not found and guile
12740 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
12741 in guile checks.
12742 * configure: Regenerate.
12743
12744 2014-02-11 Yao Qi <yao@codesourcery.com>
12745
12746 * aix-thread.c (aix_thread_xfer_partial): Update comments.
12747 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
12748 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12749 * gnu-nat.c (gnu_xfer_memory): Likewise.
12750 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12751 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12752 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12753 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12754
12755 2014-02-11 Yao Qi <yao@codesourcery.com>
12756
12757 * target.h (enum target_xfer_error): Rename to ...
12758 (enum target_xfer_status): ... it. New. All users updated.
12759 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
12760 New.
12761 (TARGET_XFER_STATUS_ERROR_P): New macro.
12762 (target_xfer_error_to_string): Remove declaration.
12763 (target_xfer_status_to_string): Declare.
12764 (target_xfer_partial_ftype): Adjust it.
12765 (struct target_ops) <to_xfer_partial>: Return
12766 target_xfer_status. Add argument xfered_len. Update
12767 comments.
12768 * target.c (target_xfer_error_to_string): Rename to ...
12769 (target_xfer_status_to_string): ... it. New. All callers
12770 updated.
12771 (target_read_live_memory): Likewise. Call target_xfer_partial
12772 instead of target_read.
12773 (memory_xfer_live_readonly_partial): Return
12774 target_xfer_status. Add argument xfered_len.
12775 (raw_memory_xfer_partial): Likewise.
12776 (memory_xfer_partial_1): Likewise.
12777 (memory_xfer_partial): Likewise.
12778 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
12779 properly. Update debug message.
12780 (default_xfer_partial, current_xfer_partial): Likewise.
12781 (target_write_partial): Likewise.
12782 (target_read_partial): Likewise. All callers updated.
12783 (read_whatever_is_readable): Likewise.
12784 (target_write_with_progress): Likewise.
12785 (target_read_alloc_1): Likewise.
12786
12787 * aix-thread.c (aix_thread_xfer_partial): Likewise.
12788 * auxv.c (procfs_xfer_auxv): Likewise.
12789 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
12790 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12791 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12792 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
12793 * corefile.c (read_memory): Adjust.
12794 * corelow.c (core_xfer_partial): Likewise.
12795 * ctf.c (ctf_xfer_partial): Likewise.
12796 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
12797 updated.
12798 (darwin_xfer_partial): Likewise.
12799 * exec.c (section_table_xfer_memory_partial): Likewise. All
12800 callers updated.
12801 (exec_xfer_partial): Likewise.
12802 * exec.h (section_table_xfer_memory_partial): Update
12803 declaration.
12804 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
12805 negative.
12806 (gnu_xfer_partial): Likewise.
12807 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
12808 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
12809 (ia64_hpux_xfer_solib_got): Likewise.
12810 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
12811 type of 'partial_len' to ULONGEST.
12812 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12813 * linux-nat.c (linux_xfer_siginfo ): Likewise.
12814 (linux_nat_xfer_partial): Likewise.
12815 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
12816 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
12817 * monitor.c (monitor_xfer_memory): Likewise.
12818 (monitor_xfer_partial): Likewise.
12819 * procfs.c (procfs_xfer_partial): Likewise.
12820 * record-btrace.c (record_btrace_xfer_partial): Likewise.
12821 * record-full.c (record_full_xfer_partial): Likewise.
12822 (record_full_core_xfer_partial): Likewise.
12823 * remote-sim.c (gdbsim_xfer_memory): Likewise.
12824 (gdbsim_xfer_partial): Likewise.
12825 * remote.c (remote_write_bytes_aux): Likewise. All callers
12826 updated.
12827 (remote_write_bytes, remote_read_bytes): Likewise. All
12828 callers updated.
12829 (remote_flash_erase): Likewise. All callers updated.
12830 (remote_write_qxfer): Likewise. All callers updated.
12831 (remote_read_qxfer): Likewise. All callers updated.
12832 (remote_xfer_partial): Likewise.
12833 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12834 (rs6000_xfer_shared_libraries): Likewise.
12835 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12836 (sol_thread_xfer_partial): Likewise.
12837 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12838 (sparc_xfer_partial): Likewise.
12839 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
12840 updated.
12841 (spu_xfer_partial): Likewise.
12842 * spu-multiarch.c (spu_xfer_partial): Likewise.
12843 * tracepoint.c (tfile_xfer_partial): Likewise.
12844 * windows-nat.c (windows_xfer_memory): Likewise.
12845 (windows_xfer_shared_libraries): Likewise.
12846 (windows_xfer_partial): Likewise.
12847 * valprint.c: Replace 'target_xfer_error' with
12848 'target_xfer_status' in comments.
12849
12850 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
12851
12852 Checked in by Joel Brobecker <brobecker@adacore.com>.
12853 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
12854
12855 2014-02-11 Joel Brobecker <brobecker@adacore.com>
12856
12857 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
12858 function parameters.
12859
12860 2014-02-10 Will Newton <will.newton@linaro.org>
12861
12862 * elfread.c (elf_rel_plt_read): Look for a .got section if
12863 looking up .got.plt fails.
12864 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
12865 on address passed to elf_gnu_ifunc_record_cache.
12866 (elf_gnu_ifunc_resolve_addr): Likewise.
12867 (elf_gnu_ifunc_resolver_return_stop): Likewise.
12868
12869 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
12870
12871 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
12872 (X_RETTURN): New macro.
12873 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
12874
12875 * sparc64-tdep.c (sparc64_init_abi): Hook
12876 sparc_in_function_epilogue_p.
12877
12878 2014-02-10 Gary Benson <gbenson@redhat.com>
12879
12880 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12881 Rename name_matcher to symbol_matcher.
12882
12883 2014-02-10 Gary Benson <gbenson@redhat.com>
12884
12885 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12886 Use expand_symtabs_file_matcher_ftype and
12887 expand_symtabs_symbol_matcher_ftype.
12888
12889 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12890
12891 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
12892 (struct ada_symbol_cache): New.
12893 (ada_free_symbol_cache): Forward declare.
12894 (struct ada_pspace_data): New.
12895 (ada_pspace_data_handle): New static global.
12896 (get_ada_pspace_data, ada_pspace_data_cleanup)
12897 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
12898 (cache_space, cache): Delete, now folded inside struct
12899 ada_pspace_data.
12900 (ada_get_symbol_cache): New function.
12901 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
12902 implementation.
12903 (_initialize_ada_language): Remove initialization of cache_space.
12904 Move call to observer_attach_inferior_exit up, grouping it
12905 with the other observer registrations inside this function.
12906 Rename command to be more general. Add call to
12907 register_program_space_data_with_cleanup.
12908
12909 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12910
12911 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
12912 ada_new_objfile_observer.
12913 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
12914 (_initialize_tasks): Update uses of ada_new_objfile_observer
12915 and ada_tasks_normal_stop_observer.
12916
12917 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12918
12919 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
12920 returned by the 'Length attribute to integer.
12921
12922 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12923
12924 * ada-lang.c (_initialize_ada_language): Initialize
12925 cache_space obstack.
12926
12927 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12928
12929 * ada-lang.c (HASH_SIZE): New macro.
12930 (struct cache_entry): New type.
12931 (cache_space, cache): New static globals.
12932 (ada_clear_symbol_cache, find_entry): New functions.
12933 (lookup_cached_symbol, cache_symbol): Implement.
12934 (ada_new_objfile_observer, ada_free_objfile_observer): New.
12935 (_initialize_ada_language): Attach ada_new_objfile_observer
12936 and ada_free_objfile_observer.
12937
12938 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12939
12940 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
12941 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
12942 struct block * parameter.
12943 (ada_lookup_symbol_list_worker): Constify local variable "block".
12944 Remove cast which is no longer necessary.
12945
12946 2014-02-10 Doug Evans <xdje42@gmail.com>
12947
12948 Add Guile as an extension language.
12949 * NEWS: Mention Guile scripting.
12950 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
12951 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
12952 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
12953 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
12954 (CLIBS): Add GUILE_LIBS.
12955 (install-guile): New rule.
12956 (guile.o): New rule.
12957 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
12958 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
12959 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
12960 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
12961 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
12962 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
12963 (scm-type.o, scm-utils.o, scm-value.o): New rules.
12964 * configure.ac: New option --with-guile.
12965 * configure: Regenerate.
12966 * config.in: Regenerate.
12967 * auto-load.c: Remove #include "python/python.h". Add #include
12968 "gdb/section-scripts.h".
12969 (source_section_scripts): Handle Guile scripts.
12970 (_initialize_auto_load): Add name of Guile objfile script to
12971 scripts-directory help text.
12972 * breakpoint.c (condition_command): Tweak comment to include Scheme.
12973 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
12974 (struct breakpoint): New member scm_bp_object.
12975 * defs.h (enum command_control_type): New value guile_control.
12976 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
12977 "extension.h".
12978 (show_user): Update comment.
12979 (_initialize_cli_cmds): Update help text for "show user". Update help
12980 text for max-user-call-depth.
12981 * cli/cli-script.c: Remove #include "python/python.h". Add #include
12982 "extension.h".
12983 (multi_line_command_p): Add guile_control.
12984 (print_command_lines): Handle guile_control.
12985 (execute_control_command, recurse_read_control_structure): Ditto.
12986 (process_next_line): Recognize "guile" commands.
12987 * disasm.c (gdb_disassemble_info): Make non-static.
12988 * disasm.h: #include "dis-asm.h".
12989 (struct gdbarch): Add forward decl.
12990 (gdb_disassemble_info): Declare.
12991 * extension.c: #include "guile/guile.h".
12992 (extension_languages): Add guile.
12993 (get_ext_lang_defn): Handle EXT_LANG_GDB.
12994 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
12995 * gdbtypes.c (get_unsigned_type_max): New function.
12996 (get_signed_type_minmax): New function.
12997 * gdbtypes.h (get_unsigned_type_max): Declare.
12998 (get_signed_type_minmax): Declare.
12999 * guile/README: New file.
13000 * guile/guile-internal.h: New file.
13001 * guile/guile.c: New file.
13002 * guile/guile.h: New file.
13003 * guile/scm-arch.c: New file.
13004 * guile/scm-auto-load.c: New file.
13005 * guile/scm-block.c: New file.
13006 * guile/scm-breakpoint.c: New file.
13007 * guile/scm-disasm.c: New file.
13008 * guile/scm-exception.c: New file.
13009 * guile/scm-frame.c: New file.
13010 * guile/scm-gsmob.c: New file.
13011 * guile/scm-iterator.c: New file.
13012 * guile/scm-lazy-string.c: New file.
13013 * guile/scm-math.c: New file.
13014 * guile/scm-objfile.c: New file.
13015 * guile/scm-ports.c: New file.
13016 * guile/scm-pretty-print.c: New file.
13017 * guile/scm-safe-call.c: New file.
13018 * guile/scm-string.c: New file.
13019 * guile/scm-symbol.c: New file.
13020 * guile/scm-symtab.c: New file.
13021 * guile/scm-type.c: New file.
13022 * guile/scm-utils.c: New file.
13023 * guile/scm-value.c: New file.
13024 * guile/lib/gdb.scm: New file.
13025 * guile/lib/gdb/boot.scm: New file.
13026 * guile/lib/gdb/experimental.scm: New file.
13027 * guile/lib/gdb/init.scm: New file.
13028 * guile/lib/gdb/iterator.scm: New file.
13029 * guile/lib/gdb/printing.scm: New file.
13030 * guile/lib/gdb/types.scm: New file.
13031 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
13032 (VPATH): Add $(GUILE_SRCDIR).
13033 (GUILE_DIR): New variable.
13034 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
13035 (all): Add stamp-guile dependency.
13036 (stamp-guile): New rule.
13037 (clean-guile, install-guile, uninstall-guile): New rules.
13038 (install-only): Add install-guile dependency.
13039 (uninstall): Add uninstall-guile dependency.
13040 (clean): Add clean-guile dependency.
13041
13042 2014-02-09 Doug Evans <xdje42@gmail.com>
13043
13044 Revert this patch (which I approved, mea culpa).
13045
13046 2014-02-08 Mark Kettenis <kettenis@gnu.org>
13047
13048 * Makefile.in (all-lib): Remove.
13049 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13050
13051 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13052
13053 Fix Python stack corruption.
13054 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
13055 gdb_py_longest.
13056
13057 2014-02-08 Mark Kettenis <kettenis@gnu.org>
13058
13059 * Makefile.in (all-lib): Remove.
13060 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13061
13062 2014-02-07 Doug Evans <dje@google.com>
13063
13064 * extension-priv.h (extension_language_script_ops): Add comment.
13065 (extension_language_ops): Add comment.
13066 (active_ext_lang_state): Fix typo in comment.
13067
13068 2014-02-07 Pedro Alves <palves@redhat.com>
13069
13070 PR breakpoints/16292
13071 * infrun.c (handle_signal_stop) <signal arrives while stepping
13072 over a breakpoint>: Switch back to the stepping thread.
13073
13074 2014-02-07 Yao Qi <yao@codesourcery.com>
13075
13076 * target.c (target_xfer_partial): Return zero if LEN is zero.
13077
13078 2014-02-07 Yao Qi <yao@codesourcery.com>
13079
13080 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
13081 (ld_so_xfer_auxv): Likewise.
13082 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13083 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13084 * corelow.c (core_xfer_partial): Likewise.
13085 * ctf.c (ctf_xfer_partial): Likewise.
13086 * darwin-nat.c (darwin_read_dyld_info): Likewise.
13087 (darwin_xfer_partial): Likewise.
13088 * exec.c (exec_xfer_partial): Likewise.
13089 * gnu-nat.c (gnu_xfer_partial): Likewise.
13090 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
13091 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
13092 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
13093 * linux-nat.c (linux_xfer_siginfo): Likewise.
13094 (linux_proc_xfer_spu): Likewise.
13095 * procfs.c (procfs_xfer_partial): Likewise.
13096 * record-full.c (record_full_xfer_partial): Likewise.
13097 (record_full_core_xfer_partial): Likewise.
13098 * remote-sim.c (gdbsim_xfer_partial): Likewise.
13099 * remote.c (remote_write_qxfer): Likewise.
13100 (remote_write_qxfer, remote_read_qxfer): Likewise.
13101 (remote_xfer_partial): Likewise.
13102 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13103 (rs6000_xfer_shared_libraries): Likewise.
13104 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13105 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13106 (spu_xfer_partial): Likewise.
13107 * target.c (memory_xfer_partial_1): Likewise.
13108 * tracepoint.c (tfile_xfer_partial): Likewise.
13109 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
13110 (windows_xfer_partial): Likewise.
13111
13112 2014-02-07 Yao Qi <yao@codesourcery.com>
13113
13114 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
13115 comments.
13116 (core_xfer_shared_libraries_aix): Likewise.
13117 * gdbarch.c, gdbarch.h: Regenerated.
13118 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
13119 ULONGEST. Change 'len_avail' type to ULONGEST.
13120 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13121 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13122 declaration.
13123 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
13124
13125 2014-02-07 Yao Qi <yao@codesourcery.com>
13126
13127 * corefile.c (memory_error): Get 'exception' from ERR and pass
13128 'exception' to throw_error.
13129
13130 2014-02-06 Doug Evans <xdje42@gmail.com>
13131
13132 * configure.ac (libpython checking): Remove all but python.o from
13133 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
13134 * configure: Regenerate.
13135
13136 * Makefile.in (SFILES): Add extension.c.
13137 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
13138 (COMMON_OBS): Add extension.o.
13139 * extension.h: New file.
13140 * extension-priv.h: New file.
13141 * extension.c: New file.
13142
13143 * python/python-internal.h: #include "extension.h".
13144 (gdbpy_auto_load_enabled): Declare.
13145 (gdbpy_apply_val_pretty_printer): Declare.
13146 (gdbpy_apply_frame_filter): Declare.
13147 (gdbpy_preserve_values): Declare.
13148 (gdbpy_breakpoint_cond_says_stop): Declare.
13149 (gdbpy_breakpoint_has_cond): Declare.
13150 (void source_python_script_for_objfile): Delete.
13151 * python/python.c: #include "extension-priv.h".
13152 Delete inclusion of "observer.h".
13153 (extension_language_python): Moved here and renamed from
13154 script_language_python in py-auto-load.c.
13155 Redefined to be of type extension_language_defn.
13156 (python_extension_script_ops): New global.
13157 (python_extension_ops): New global.
13158 (struct python_env): New member previous_active.
13159 (restore_python_env): Call restore_active_ext_lang.
13160 (ensure_python_env): Call set_active_ext_lang.
13161 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
13162 New arg extlang.
13163 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
13164 New arg extlang.
13165 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
13166 New arg extlang.
13167 (gdbpy_eval_from_control_command): Renamed from
13168 eval_python_from_control_command, made static. New arg extlang.
13169 (gdbpy_source_script) Renamed from source_python_script, made static.
13170 New arg extlang.
13171 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
13172 result to int. New arg extlang.
13173 (gdbpy_source_objfile_script): Renamed from
13174 source_python_script_for_objfile, made static. New arg extlang.
13175 (gdbpy_start_type_printers): Renamed from start_type_printers, made
13176 static. New args extlang, extlang_printers. Change result type to
13177 "void".
13178 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
13179 static. New arg extlang. Rename arg printers to extlang_printers
13180 and change type to ext_lang_type_printers *.
13181 (gdbpy_free_type_printers): Renamed from free_type_printers, made
13182 static. Replace argument arg with extlang, extlang_printers.
13183 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
13184 (!HAVE_PYTHON, source_python_script): Delete.
13185 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
13186 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
13187 (!HAVE_PYTHON, start_type_printers): Delete.
13188 (!HAVE_PYTHON, apply_type_printers): Delete.
13189 (!HAVE_PYTHON, free_type_printers): Delete.
13190 (_initialize_python): Delete call to observer_attach_before_prompt.
13191 (finalize_python): Set/restore active extension language.
13192 (gdbpy_finish_initialization) Renamed from
13193 finish_python_initialization, made static. New arg extlang.
13194 (gdbpy_initialized): New function.
13195 * python/python.h: #include "extension.h". Delete #include
13196 "value.h", "mi/mi-cmds.h".
13197 (extension_language_python): Declare.
13198 (GDBPY_AUTO_FILE_NAME): Delete.
13199 (enum py_bt_status): Moved to extension.h and renamed to
13200 ext_lang_bt_status.
13201 (enum frame_filter_flags): Moved to extension.h.
13202 (enum py_frame_args): Moved to extension.h and renamed to
13203 ext_lang_frame_args.
13204 (finish_python_initialization): Delete.
13205 (eval_python_from_control_command): Delete.
13206 (source_python_script): Delete.
13207 (apply_val_pretty_printer): Delete.
13208 (apply_frame_filter): Delete.
13209 (preserve_python_values): Delete.
13210 (gdbpy_script_language_defn): Delete.
13211 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
13212 (start_type_printers, apply_type_printers, free_type_printers): Delete.
13213
13214 * auto-load.c: #include "extension.h".
13215 (GDB_AUTO_FILE_NAME): Delete.
13216 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
13217 (script_language_gdb): Delete, moved to extension.c and renamed to
13218 extension_language_gdb.
13219 (source_gdb_script_for_objfile): Delete.
13220 (auto_load_pspace_info): New member unsupported_script_warning_printed.
13221 (loaded_script): Change type of language member to
13222 struct extension_language_defn *.
13223 (init_loaded_scripts_info): Initialize
13224 unsupported_script_warning_printed.
13225 (maybe_add_script): Make static. Change type of language arg to
13226 struct extension_language_defn *.
13227 (clear_section_scripts): Reset unsupported_script_warning_printed.
13228 (auto_load_objfile_script_1): Rewrite to use extension language API.
13229 (auto_load_objfile_script): Make public. Remove support-compiled-in
13230 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
13231 (source_section_scripts): Rewrite to use extension language API.
13232 (load_auto_scripts_for_objfile): Rewrite to use
13233 auto_load_scripts_for_objfile.
13234 (collect_matching_scripts_data): Change type of language member to
13235 struct extension_language_defn *.
13236 (auto_load_info_scripts): Change type of language arg to
13237 struct extension_language_defn *.
13238 (unsupported_script_warning_print): New function.
13239 (script_not_found_warning_print): Make static.
13240 (_initialize_auto_load): Rewrite construction of scripts-directory
13241 help.
13242 * auto-load.h (struct objfile): Add forward decl.
13243 (struct script_language): Delete.
13244 (struct auto_load_pspace_info): Add forward decl.
13245 (struct extension_language_defn): Add forward decl.
13246 (maybe_add_script): Delete.
13247 (auto_load_objfile_script): Declare.
13248 (script_not_found_warning_print): Delete.
13249 (auto_load_info_scripts): Update prototype.
13250 (auto_load_gdb_scripts_enabled): Declare.
13251 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
13252 auto_load_python_scripts_enabled and made public.
13253 (script_language_python): Delete, moved to python.c.
13254 (gdbpy_script_language_defn): Delete.
13255 (info_auto_load_python_scripts): Update to use
13256 extension_language_python.
13257
13258 * breakpoint.c (condition_command): Replace call to
13259 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
13260 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
13261 with call to breakpoint_ext_lang_cond_says_stop.
13262 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
13263 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
13264 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
13265 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
13266 New arg slang.
13267 (local_setattro): Print name of extension language with existing
13268 stop condition.
13269
13270 * valprint.c (val_print, value_print): Update to call
13271 apply_ext_lang_val_pretty_printer.
13272 * cp-valprint.c (cp_print_value): Update call to
13273 apply_ext_lang_val_pretty_printer.
13274 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
13275 (gdbpy_apply_val_pretty_printer): Renamed from
13276 apply_val_pretty_printer. New arg extlang.
13277 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
13278
13279 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
13280 extension language API.
13281 * cli/cli-script.c (execute_control_command): Update to call
13282 eval_ext_lang_from_control_command.
13283
13284 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
13285 enum ext_lang_bt_status values. Update call to
13286 apply_ext_lang_frame_filter.
13287 (mi_cmd_stack_list_locals): Ditto.
13288 (mi_cmd_stack_list_args): Ditto.
13289 (mi_cmd_stack_list_variables): Ditto.
13290 * mi/mi-main.c: Delete #include "python/python-internal.h".
13291 Add #include "extension.h".
13292 (mi_cmd_list_features): Replace reference to python internal variable
13293 gdb_python_initialized with call to ext_lang_initialized_p.
13294
13295 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
13296 Update to use enum ext_lang_frame_args. Update to call
13297 apply_ext_lang_frame_filter.
13298 * python/py-framefilter.c (extract_sym): Update to use enum
13299 ext_lang_bt_status.
13300 (extract_value, py_print_type, py_print_value): Ditto.
13301 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
13302 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
13303 (py_print_frame): Ditto.
13304 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
13305 New arg extlang. Update to use enum ext_lang_bt_status.
13306
13307 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
13308 finish_python_initialization. Replace with call to
13309 finish_ext_lang_initialization.
13310
13311 * typeprint.c (do_free_global_table): Update to call
13312 free_ext_lang_type_printers.
13313 (create_global_typedef_table): Update to call
13314 start_ext_lang_type_printers.
13315 (find_global_typedef): Update to call apply_ext_lang_type_printers.
13316 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
13317 (type_print_options): Change type of global_printers from "void *"
13318 to "struct ext_lang_type_printers *".
13319
13320 * value.c (preserve_values): Update to call preserve_ext_lang_values.
13321 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
13322 (gdbpy_preserve_values): Renamed from preserve_python_values.
13323 New arg extlang.
13324 (!HAVE_PYTHON, preserve_python_values): Delete.
13325
13326 * utils.c (quit_flag): Delete, moved to extension.c.
13327 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
13328 extension.c.
13329
13330 * eval.c: Delete #include "python/python.h".
13331 * main.c: Delete #include "python/python.h".
13332
13333 * defs.h: Update comment.
13334
13335 2014-02-06 Joel Brobecker <brobecker@adacore.com>
13336
13337 GDB 7.7 released.
13338
13339 2014-02-05 Mark Kettenis <kettenis@gnu.org>
13340
13341 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
13342 defined.
13343
13344 2014-02-05 Yao Qi <yao@codesourcery.com>
13345
13346 * remote.c (remote_pass_signals): Remove local 'buf' and use
13347 rs->buf.
13348 (remote_program_signals): Likewise.
13349
13350 2014-02-05 Yao Qi <yao@codesourcery.com>
13351
13352 * ctf.c: Include "inferior.h" and "gdbthread.h".
13353 (CTF_PID): A new macro.
13354 (ctf_open): Call inferior_appeared and add_thread_silent.
13355 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
13356 (ctf_thread_alive): New function.
13357 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
13358
13359 2014-02-05 Yao Qi <yao@codesourcery.com>
13360
13361 Revert this patch:
13362
13363 2013-05-24 Yao Qi <yao@codesourcery.com>
13364
13365 * tracepoint.c (TFILE_PID): Remove.
13366 (tfile_open): Don't add thread and inferior.
13367 (tfile_close): Don't set 'inferior_ptid'. Don't call
13368 exit_inferior_silent.
13369 (tfile_thread_alive): Remove.
13370 (init_tfile_ops): Don't set field 'to_thread_alive' of
13371 tfile_ops.
13372
13373 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
13374
13375 * remote.c (remote_start_remote): Call remote_check_symbols even
13376 if only symbol-file (not file) has been given.
13377
13378 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13379
13380 * gdbarch.sh (skip_entrypoint): New callback.
13381 * gdbarch.c, gdbarch.h: Regenerate.
13382 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
13383 * infrun.c (fill_in_stop_func): Likewise.
13384 * ppc-linux-tdep.c: Include "elf/ppc64.h".
13385 (ppc_elfv2_elf_make_msymbol_special): New function.
13386 (ppc_elfv2_skip_entrypoint): Likewise.
13387 (ppc_linux_init_abi): Install them for ELFv2.
13388
13389 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13390
13391 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
13392 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
13393 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
13394 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
13395 structures returned in GPRs.
13396
13397 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13398
13399 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
13400 offset to the stack parameter list for the ELFv2 ABI.
13401
13402 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13403
13404 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
13405 set_gdbarch_convert_from_func_ptr_addr and
13406 set_gdbarch_elf_make_msymbol_special for ELFv1.
13407 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
13408 function descriptors on ELFv1.
13409 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
13410 set up r12 at function entry.
13411
13412 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13413
13414 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
13415 (struct gdbarch_tdep): New member elf_abi.
13416
13417 * rs6000-tdep.c: Include "elf/ppc64.h".
13418 (rs6000_gdbarch_init): Detect ELF ABI version.
13419
13420 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13421
13422 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
13423 within a register pair holding a DFP 128-bit value on little-endian.
13424 (ppc64_sysv_abi_return_value_base): Likewise.
13425 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
13426 (dfp_pseudo_register_write): Likewise.
13427
13428 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13429
13430 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
13431 offset on little-endian when passing _Decimal32.
13432 (ppc64_sysv_abi_return_value_base): Likewise for return values.
13433
13434 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13435
13436 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
13437 of the overlapped FP register within the VSX register on little-
13438 endian platforms.
13439 (efpr_pseudo_register_write): Likewise.
13440
13441 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13442
13443 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
13444 offset on little-endian when passing small structures.
13445
13446 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13447
13448 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
13449 (struct ppc64_sysv_argpos): New data structure.
13450 (ppc64_sysv_abi_push_float): Remove.
13451 (ppc64_sysv_abi_push_val): New function.
13452 (ppc64_sysv_abi_push_integer): Likewise.
13453 (ppc64_sysv_abi_push_freg): Likewise.
13454 (ppc64_sysv_abi_push_vreg): Likewise.
13455 (ppc64_sysv_abi_push_param): Likewise.
13456 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
13457 (ppc64_sysv_abi_return_value_base): New function.
13458 (ppc64_sysv_abi_return_value): Refactor to use it.
13459
13460 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13461
13462 * NEWS: Document new target powerpc64le-*-linux*.
13463
13464 2014-02-04 Mark Kettenis <kettenis@gnu.org>
13465
13466 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
13467 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
13468 core dumps.
13469 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
13470 register set used in ELF core dumps. Add floating-point register set.
13471
13472 2014-02-03 Kevin Buettner <kevinb@redhat.com>
13473
13474 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
13475 dwarf2_to_gdb[] table using symbolic constants. Adjust
13476 penultimate entry from number representing the PC register
13477 to symbolic constant representing the MDR register. Add
13478 constant for the PC register to the end of the table.
13479
13480 2014-02-03 Mark Kettenis <kettenis@gnu.org>
13481
13482 * bsd-kvm.c: Include <sys/param.h>
13483
13484 2014-02-03 Mark Kettenis <kettenis@gnu.org>
13485
13486 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
13487
13488 2014-01-31 Joel Brobecker <brobecker@adacore.com>
13489
13490 * ada-lang.h (clear_ada_sym_cache): Delete.
13491
13492 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
13493
13494 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
13495
13496 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13497
13498 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
13499 the sigreturn register save area only if the syscall is
13500 sigreturn.
13501
13502 2014-01-29 Joel Brobecker <brobecker@adacore.com>
13503
13504 * valops.c (value_slice): Minor reformatting.
13505
13506 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
13507
13508 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
13509
13510 2014-01-28 Joel Brobecker <brobecker@adacore.com>
13511
13512 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
13513 New static globals.
13514 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
13515 (ada_ignore_descriptive_types_p): New static global.
13516 (find_parallel_type_by_descriptive_type): Return immediately
13517 if ada_ignore_descriptive_types_p is set.
13518 (_initialize_ada_language): Register new commands "maintenance
13519 set ada", "maintenance show ada", "maintenance set ada
13520 ignore-descriptive-types" and "maintenance show ada
13521 ignore-descriptive-types".
13522 * NEWS: Add entry for new "maint ada set/show
13523 ignore-descriptive-types" commands.
13524
13525 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
13526
13527 * record-btrace.c (record_btrace_close): Call btrace_teardown
13528 for all threads.
13529
13530 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13531
13532 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
13533 "ui-out.h".
13534
13535 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13536
13537 * ada-typeprint (type_is_full_subrange_of_target_type):
13538 New function.
13539 (print_range): Add parameter bounds_prefered_p. If not set,
13540 try printing range types using the name of their base type.
13541 (print_range_type): Add parameter bounds_prefered_p.
13542 Use it in call to print_range.
13543 (print_array_type, ada_print_type): Update calls to print_range
13544 and print_range_type.
13545
13546 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13547
13548 * ada-typeprint.c (print_array_type, print_choices, print_range)
13549 (print_range_bound, print_dynamic_range_bound, print_range_type):
13550 Remove declaration.
13551
13552 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13553
13554 * ada-typeprint.c (print_range): Add missing empty line
13555 after local declaration.
13556
13557 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13558
13559 * ada-valprint.c (print_optional_low_bound): Get index_type's
13560 target type for as long as it is a TYPE_CODE_RANGE.
13561
13562 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13563
13564 * procfs.c (procfs_make_note_section): Remove assertion and
13565 associated comment.
13566
13567 2014-01-24 Yao Qi <yao@codesourcery.com>
13568
13569 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
13570 * corelow.c (get_core_siginfo): Likewise.
13571
13572 2014-01-24 Yao Qi <yao@codesourcery.com>
13573
13574 * remote.c (remote_write_bytes_aux): Change type of 'len' to
13575 ULONGEST. Don't check 'len' is negative.
13576 (remote_write_bytes): Change type of 'len' to ULONGEST.
13577
13578 2014-01-23 Tom Tromey <tromey@redhat.com>
13579
13580 PR python/16485:
13581 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
13582 Handle exception from frame.block.
13583 (FrameVars.fetch_frame_locals): Likewise.
13584
13585 2014-01-23 Tom Tromey <tromey@redhat.com>
13586
13587 PR python/16487:
13588 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
13589 on a NULL pointer. Move "goto error" to correct place.
13590
13591 2014-01-23 Tom Tromey <tromey@redhat.com>
13592
13593 PR python/16491:
13594 * python/py-framefilter.c (apply_frame_filter): Call
13595 ensure_python_env after computing gdbarch.
13596
13597 2014-01-23 Yao Qi <yao@codesourcery.com>
13598
13599 * target.c (raw_memory_xfer_partial): Change argument type
13600 from void * to gdb_byte *.
13601 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
13602
13603 2014-01-22 Doug Evans <dje@google.com>
13604
13605 New gdbserver option --debug-format=timestamp.
13606 * NEWS: Mention it.
13607
13608 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13609
13610 * syscalls/s390x-linux.xml: New file.
13611 * syscalls/s390-linux.xml: New file.
13612 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
13613 (XML_SYSCALL_FILENAME_S390X): Likewise.
13614 (op_svc): New enum value for SVC opcode.
13615 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
13616 (s390_linux_get_syscall_number): New function.
13617 (s390_gdbarch_init): Register '*get_syscall_number' and the
13618 syscall xml file name.
13619 * data-directory/Makefile.in (SYSCALLS_FILES): Add
13620 "s390-linux.xml" and "s390x-linux.xml".
13621 * NEWS: Announce new feature.
13622
13623 2014-01-22 Baruch Siach <baruch@tkos.co.il>
13624
13625 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
13626
13627 2014-01-22 Pedro Alves <palves@redhat.com>
13628
13629 * xtensa-config.c: Include defs.h.
13630
13631 2014-01-22 Joel Brobecker <brobecker@adacore.com>
13632
13633 * common/common-utils.h: Add "ARI:" comment beside __func__
13634 reference.
13635
13636 2014-01-22 Joel Brobecker <brobecker@adacore.com>
13637
13638 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
13639 documentation a bit.
13640
13641 2014-01-21 Roland McGrath <mcgrathr@google.com>
13642
13643 * configure.ac: Call AM_PROG_INSTALL_STRIP.
13644 * configure: Regenerate.
13645 * aclocal.m4: Regenerate.
13646 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
13647 New substituted variables.
13648 (install-strip): New target.
13649 (INSTALL_SCRIPT): New substituted variable.
13650 (FLAGS_TO_PASS): Add it.
13651 (install-only): Use $(INSTALL_SCRIPT) rather than
13652 $(INSTALL_PROGRAM) for gcore.
13653
13654 2014-01-20 Tom Tromey <tromey@redhat.com>
13655
13656 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
13657 together.
13658
13659 2014-01-20 Tom Tromey <tromey@redhat.com>
13660
13661 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
13662 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
13663 (deprecated_cmd_warning, complete_on_cmdlist): Update.
13664 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
13665 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
13666 (struct cmd_list_element) <flags>: Remove.
13667 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
13668 doc_allocated>: New fields.
13669 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
13670 bitfields.
13671 * maint.c (maintenance_do_deprecate): Update.
13672 * top.c (execute_command): Update.
13673
13674 2014-01-20 Baruch Siach <baruch@tkos.co.il>
13675
13676 * xtensa-linux-nat.c: Include asm/ptrace.h.
13677
13678 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13679
13680 * Makefile.in (SFILES): Add d-support.c.
13681 (COMMON_OBS): Add d-support.o.
13682 * d-lang.h (d_parse_symbol): Add comment, now defined in
13683 d-support.c.
13684 * d-lang.c (parse_call_convention)
13685 (parse_attributes, parse_function_types)
13686 (parse_function_args, parse_type, parse_identifier)
13687 (call_convention_p, d_parse_symbol): Move functions to ...
13688 * d-support.c: ... New file.
13689
13690 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13691
13692 * d-lang.h (d_parse_symbol): Add declaration.
13693 * d-lang.c (extract_identifiers)
13694 (extract_type_info): Remove functions.
13695 (parse_call_convention, parse_attributes)
13696 (parse_function_types, parse_function_args)
13697 (parse_type, parse_identifier, call_convention_p)
13698 (d_parse_symbol): New functions.
13699 (d_demangle): Use d_parse_symbol to demangle D symbols.
13700
13701 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13702
13703 * d-lang.h (struct builtin_d_type): New data type.
13704 (builtin_d_type): Add declaration.
13705 * d-lang.c (d_language_arch_info, build_d_types)
13706 (builtin_d_type): New functions.
13707 (enum d_primitive_types): New data type.
13708 (d_language_defn): Change c_language_arch_info to
13709 d_language_arch_info.
13710 (d_type_data): New static variable.
13711 (_initialize_d_language): Initialize d_type_data.
13712
13713 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13714
13715 * d-lang.h (d_main_name): Add declaration.
13716 * d-lang.c (d_main_name): New function.
13717 * symtab.c (find_main_name): Add call to d_main_name.
13718
13719 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13720
13721 * d-lang.c (d_language_defn): Change macro_expansion_c to
13722 macro_expansion_no.
13723
13724 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13725
13726 * MAINTAINERS: Add myself as a write-after-approval maintainer.
13727
13728 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
13729
13730 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
13731 gdb_exception" declaration.
13732 * remote.c (getpkt_or_notif_sane): Likewise.
13733
13734 2014-01-17 Doug Evans <dje@google.com>
13735
13736 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
13737 function, contents of dirnames_to_char_ptr_vec_append moved here.
13738 (delim_string_to_char_ptr_vec): New function.
13739 (dirnames_to_char_ptr_vec_append): Rewrite.
13740 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
13741
13742 2014-01-17 Doug Evans <dje@google.com>
13743
13744 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
13745 and moved here ...
13746 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
13747 #include "common-utils.h".
13748 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
13749 * common/vec.h (VEC_ASSERT_PASS): Update.
13750 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
13751 (MACH_CHECK_ERROR): Update.
13752
13753 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
13754
13755 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
13756 comments.
13757 * gdbarch.h: Regenerate.
13758
13759 2014-01-16 Tom Tromey <tromey@redhat.com>
13760
13761 * value.c (struct value) <regnum>: Move earlier.
13762
13763 2014-01-16 Tom Tromey <tromey@redhat.com>
13764
13765 * remote.c (extended_remote_create_inferior): Rename from
13766 extended_remote_create_inferior_1. Add "ops" argument. Remove
13767 old implementation.
13768
13769 2014-01-16 Pedro Alves <palves@redhat.com>
13770
13771 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
13772 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
13773 the backchain.
13774
13775 2014-01-16 Doug Evans <dje@google.com>
13776
13777 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
13778
13779 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13780
13781 * btrace.h (btrace_thread_flag): New.
13782 (struct btrace_thread_info) <flags>: New.
13783 * record-btrace.c (record_btrace_resume_thread)
13784 (record_btrace_find_thread_to_move, btrace_step_no_history)
13785 (btrace_step_stopped, record_btrace_start_replaying)
13786 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
13787 (record_btrace_find_resume_thread): New.
13788 (record_btrace_resume, record_btrace_wait): Extend.
13789 (record_btrace_can_execute_reverse): New.
13790 (record_btrace_open): Fail in non-stop mode.
13791 (record_btrace_set_replay): Split into this, ...
13792 (record_btrace_stop_replaying): ... this, ...
13793 (record_btrace_clear_histories): ... and this.
13794 (init_record_btrace_ops): Init to_can_execute_reverse.
13795 * NEWS: Announce it.
13796
13797 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13798
13799 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
13800 (forward_target_decr_pc_after_break)
13801 (target_decr_pc_after_break): New.
13802 * target.c (forward_target_decr_pc_after_break)
13803 (target_decr_pc_after_break): New.
13804 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
13805 instead of gdbarch_decr_pc_after_break.
13806 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13807 instead of gdbarch_decr_pc_after_break.
13808 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
13809 instead of gdbarch_decr_pc_after_break.
13810 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13811 instead of gdbarch_decr_pc_after_break.
13812 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
13813 instead of gdbarch_decr_pc_after_break.
13814 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
13815 instead of gdbarch_decr_pc_after_break.
13816
13817 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13818
13819 * btrace.c: Include regcache.h.
13820 (btrace_add_pc): New.
13821 (btrace_enable): Call btrace_add_pc.
13822 (btrace_is_empty): New.
13823 * btrace.h (btrace_is_empty): New.
13824 * record-btrace.c (require_btrace, record_btrace_info): Call
13825 btrace_is_empty.
13826
13827 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13828
13829 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
13830 Support delta reads.
13831 (linux_disable_btrace): Change return type.
13832 * common/linux-btrace.h (linux_read_btrace): Change parameters
13833 and return type to allow error reporting. Update users.
13834 (linux_disable_btrace): Change return type. Update users.
13835 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
13836 New.
13837 (btrace_error): New.
13838 (btrace_block) <begin>: Comment on BEGIN == 0.
13839 * btrace.c (btrace_compute_ftrace): Start from the end of
13840 the current trace.
13841 (btrace_stitch_trace, btrace_clear_history): New.
13842 (btrace_fetch): Read delta trace, return if replaying.
13843 (btrace_clear): Move clear history code to btrace_clear_history.
13844 (parse_xml_btrace): Throw an error if parsing failed.
13845 * target.h (struct target_ops) <to_read_btrace>: Change parameters
13846 and return type to allow error reporting.
13847 (target_read_btrace): Change parameters and return type to allow
13848 error reporting.
13849 * target.c (target_read_btrace): Update.
13850 * remote.c (remote_read_btrace): Support delta reads. Pass
13851 errors on.
13852 * NEWS: Announce it.
13853
13854 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13855
13856 * record.h (record_btrace_frame_unwind)
13857 (record_btrace_tailcall_frame_unwind): New declarations.
13858 * dwarf2-frame: Include record.h
13859 (dwarf2_frame_cfa): Throw an error for btrace frames.
13860 * record-btrace.c: Include hashtab.h.
13861 (btrace_get_bfun_name): New.
13862 (btrace_call_history): Call btrace_get_bfun_name.
13863 (struct btrace_frame_cache): New.
13864 (bfcache): New.
13865 (bfcache_hash, bfcache_eq, bfcache_new): New.
13866 (btrace_get_frame_function): New.
13867 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
13868 (record_btrace_frame_this_id): Compute own id.
13869 (record_btrace_frame_prev_register): Provide PC, throw_error
13870 for all other registers.
13871 (record_btrace_frame_sniffer): Detect btrace frames.
13872 (record_btrace_tailcall_frame_sniffer): New.
13873 (record_btrace_frame_dealloc_cache): New.
13874 (record_btrace_frame_unwind): Add new functions.
13875 (record_btrace_tailcall_frame_unwind): New.
13876 (_initialize_record_btrace): Allocate cache.
13877 * btrace.c (btrace_clear): Call reinit_frame_cache.
13878 * NEWS: Announce it.
13879
13880 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13881
13882 * record-btrace.c (record_btrace_set_replay)
13883 (record_btrace_goto_begin, record_btrace_goto_end)
13884 (record_btrace_goto): New.
13885 (init_record_btrace_ops): Initialize them.
13886 * NEWS: Announce it.
13887
13888 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13889
13890 * record-btrace.c (record_btrace_find_new_threads)
13891 (record_btrace_thread_alive): New.
13892 (init_record_btrace_ops): Initialize to_find_new_threads and
13893 to_thread_alive.
13894
13895 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13896
13897 * record-btrace.c (record_btrace_resume): New.
13898 (record_btrace_wait): New.
13899 (init_record_btrace_ops): Initialize to_wait and to_resume.
13900
13901 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13902
13903 * record-btrace.c (record_btrace_xfer_partial)
13904 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
13905 (record_btrace_allow_memory_access): New.
13906 (init_record_btrace_ops): Initialize new methods.
13907 * target.c (raw_memory_xfer_partial): Bail out if target reports
13908 that this memory is not available.
13909
13910 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13911
13912 * target.h (target_ops) <to_insert_breakpoint>
13913 <to_remove_breakpoint>: Add target_ops parameter.
13914 (forward_target_insert_breakpoint): New.
13915 (forward_target_remove_breakpoint): New.
13916 (memory_remove_breakpoint, memory_insert_breakpoint):
13917 Add target_ops parameter.
13918 * target.c (target_insert_breakpoint): Split into this and ...
13919 (forward_target_insert_breakpoint): ... this.
13920 (target_remove_breakpoint): Split into this and ...
13921 (forward_target_remove_breakpoint): ... this.
13922 (debug_to_insert_breakpoint): Add target_ops parameter.
13923 Call forward_target_insert_breakpoint.
13924 (debug_to_remove_breakpoint): Add target_ops parameter.
13925 Call forward_target_remove_breakpoint.
13926 (update_current_target): Do not inherit or default to_insert_breakpoint
13927 and to_remove_breakpoint.
13928 * corelow.c (ignore): Add target_ops parameter.
13929 * exec.c (ignore): Add target_ops parameter.
13930 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
13931 Add target_ops parameter.
13932 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
13933 Add target_ops parameter.
13934 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
13935 Add target_ops parameter.
13936 * record-full.c (record_full_beneath_to_insert_breakpoint)
13937 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
13938 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
13939 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
13940 (record_full_core_remove_breakpoint): Add target_ops parameter.
13941 Update users.
13942 (record_full_beneath_to_insert_breakpoint_ops)
13943 (record_full_beneath_to_remove_breakpoint_ops)
13944 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
13945 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
13946 tmp_to_remove_breakpoint_ops,
13947 record_full_beneath_to_insert_breakpoint_ops, and
13948 record_full_beneath_to_remove_breakpoint_ops.
13949 * remote-m32r-sdi.c (m32r_insert_breakpoint)
13950 (m32r_remove_breakpoint): Add target_ops parameter.
13951 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
13952 Add target_ops parameter.
13953 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
13954 Add target_ops parameter.
13955
13956 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13957 Markus Metzger <markus.t.metzger@intel.com>
13958
13959 * record-btrace.c: Include frame-unwind.h.
13960 (record_btrace_frame_unwind_stop_reason)
13961 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
13962 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
13963 New.
13964 (init_record_btrace_ops): Install it.
13965
13966 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13967
13968 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
13969 get_prev_frame_1.
13970
13971 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13972
13973 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
13974 earlier.
13975
13976 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13977
13978 * frame-unwind.c: Include target.h.
13979 (frame_unwind_try_unwinder): New function with code from ...
13980 (frame_unwind_find_by_frame): ... here. New variable
13981 unwinder_from_target, call also target_get_unwinder)
13982 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
13983 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
13984 * target.h (struct target_ops): New fields to_get_unwinder and
13985 to_get_tailcall_unwinder.
13986 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
13987
13988 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13989
13990 * record-btrace.c (record_btrace_fetch_registers)
13991 (record_btrace_store_registers)
13992 (record_btrace_to_prepare_to_store): New.
13993 (init_record_btrace_ops): Add the above.
13994
13995 2014-01-16 Tom Tromey <tromey@redhat.com>
13996
13997 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
13998 * target.h (struct target_ops) <to_prepare_to_store>: Add
13999 argument.
14000 (target_prepare_to_store): Add argument.
14001 * target.c (debug_to_prepare_to_store): Add argument.
14002 (update_current_target): Update.
14003 * remote.c (remote_prepare_to_store): Add 'self' argument.
14004 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
14005 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
14006 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
14007 * record-full.c (record_full_core_prepare_to_store): Add 'self'
14008 argument.
14009 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
14010 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
14011 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
14012 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
14013 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
14014
14015 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14016
14017 * btrace.h (replay) <replay>: New.
14018 (btrace_is_replaying): New.
14019 * btrace.c (btrace_clear): Free replay iterator.
14020 (btrace_is_replaying): New.
14021 * record-btrace.c (record_btrace_is_replaying): New.
14022 (record_btrace_info): Print insn number if replaying.
14023 (record_btrace_insn_history): Start at replay position.
14024 (record_btrace_call_history): Start at replay position.
14025 (init_record_btrace_ops): Init to_record_is_replaying.
14026
14027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14028
14029 * record-btrace.c (record_btrace_insn_history_range): Include
14030 end.
14031 (record_btrace_insn_history_from): Adjust range.
14032 (record_btrace_call_history_range): Include
14033 end.
14034 (record_btrace_call_history_from): Adjust range.
14035 * NEWS: Announce changes.
14036
14037 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14038
14039 * record.h (enum record_print_flag)
14040 <record_print_indent_calls>: New.
14041 * record.c (get_call_history_modifiers): Recognize /c modifier.
14042 (_initialize_record): Document /c modifier.
14043 * record-btrace.c (btrace_call_history): Add btinfo parameter.
14044 Reorder fields. Optionally indent the function name. Update
14045 all users.
14046 * NEWS: Announce changes.
14047
14048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14049
14050 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
14051
14052 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14053
14054 * btrace.c (ftrace_new_function): Start counting at one.
14055 * record-btrace.c (record_btrace_info): Adjust number of calls
14056 and insns.
14057 * NEWS: Announce it.
14058
14059 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14060
14061 * record-btrace.c (btrace_call_history_insn_range): Print
14062 insn range as [begin, end].
14063
14064 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14065
14066 * btrace.h (struct btrace_func_link): New.
14067 (enum btrace_function_flag): New.
14068 (struct btrace_inst): Rename to ...
14069 (struct btrace_insn): ...this. Update all users.
14070 (struct btrace_func) <ibegin, iend>: Remove.
14071 (struct btrace_func_link): New.
14072 (struct btrace_func): Rename to ...
14073 (struct btrace_function): ...this. Update all users.
14074 (struct btrace_function) <segment, flow, up, insn, insn_offset)
14075 (number, level, flags>: New.
14076 (struct btrace_insn_iterator): Rename to ...
14077 (struct btrace_insn_history): ...this.
14078 Update all users.
14079 (struct btrace_insn_iterator, btrace_call_iterator): New.
14080 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
14081 (struct btrace_target_info) <begin, end, level>
14082 <insn_history, call_history>: New.
14083 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14084 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14085 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14086 (btrace_call_number, btrace_call_begin, btrace_call_end)
14087 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14088 (btrace_find_function_by_number, btrace_set_insn_history)
14089 (btrace_set_call_history): New.
14090 * btrace.c (btrace_init_insn_iterator)
14091 (btrace_init_func_iterator, compute_itrace): Remove.
14092 (ftrace_print_function_name, ftrace_print_filename)
14093 (ftrace_skip_file): Change
14094 parameter to const.
14095 (ftrace_init_func): Remove.
14096 (ftrace_debug): Use new btrace_function fields.
14097 (ftrace_function_switched): Also consider gaining and
14098 losing symbol information).
14099 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
14100 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
14101 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
14102 New.
14103 (ftrace_new_function): Move. Remove debug print.
14104 (ftrace_update_lines, ftrace_update_insns): New.
14105 (ftrace_update_function): Check for call, ret, and jump.
14106 (compute_ftrace): Renamed to ...
14107 (btrace_compute_ftrace): ...this. Rewritten to compute call
14108 stack.
14109 (btrace_fetch, btrace_clear): Updated.
14110 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14111 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14112 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14113 (btrace_call_number, btrace_call_begin, btrace_call_end)
14114 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14115 (btrace_find_function_by_number, btrace_set_insn_history)
14116 (btrace_set_call_history): New.
14117 * record-btrace.c (require_btrace): Use new btrace thread
14118 info fields.
14119 (record_btrace_info, btrace_insn_history)
14120 (record_btrace_insn_history, record_btrace_insn_history_range):
14121 Use new btrace thread info fields and new iterator.
14122 (btrace_func_history_src_line): Rename to ...
14123 (btrace_call_history_src_line): ...this. Use new btrace
14124 thread info fields.
14125 (btrace_func_history): Rename to ...
14126 (btrace_call_history): ...this. Use new btrace thread info
14127 fields and new iterator.
14128 (record_btrace_call_history, record_btrace_call_history_range):
14129 Use new btrace thread info fields and new iterator.
14130
14131 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14132
14133 * frame.h (frame_id_build_unavailable_stack_special): New.
14134 * frame.c (frame_id_build_unavailable_stack_special): New.
14135
14136 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14137
14138 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
14139 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
14140 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
14141 to gdbarch.
14142 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
14143 (i386_insn_is_jump, i386_jmp_p): New.
14144 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
14145 insn_is_jump to gdbarch.
14146 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
14147 * gdbarch.h: Regenerated.
14148 * gdbarch.c: Regenerated.
14149 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
14150 (default_insn_is_jump): New.
14151 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
14152 (default_insn_is_jump): New.
14153
14154 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14155
14156 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
14157 Change to ...
14158 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
14159 (btrace_read_type) <btrace_read_new>: Change to ...
14160 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
14161
14162 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14163
14164 * common/linux-btrace.c (linux_read_btrace): Free trace from
14165 previous iteration.
14166
14167 2014-01-15 Doug Evans <dje@google.com>
14168
14169 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
14170 uint32_t.
14171
14172 2014-01-15 Tom Tromey <tromey@redhat.com>
14173
14174 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
14175 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
14176 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
14177 (set_objfile_main_name): New function.
14178 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
14179 language_of_main>: New fields.
14180 (set_objfile_main_name): Declare.
14181 * symtab.c (find_main_name): Loop over objfiles to find the main
14182 name and language.
14183 (set_main_name): Now static.
14184 (get_main_info): Add comment.
14185 * symtab.h (set_main_name): Don't declare.
14186
14187 2014-01-15 Tom Tromey <tromey@redhat.com>
14188
14189 * symtab.c (main_progspace_key): New global.
14190 (struct main_info): New.
14191 (name_of_main, language_of_main): Remove.
14192 (get_main_info, main_info_cleanup): New function.
14193 (set_main_name, main_name, main_language): Use get_main_info.
14194 (_initialize_symtab): Initialize main_progspace_key.
14195
14196 2014-01-15 Tom Tromey <tromey@redhat.com>
14197
14198 * dbxread.c (process_one_symbol): Update.
14199 * dwarf2read.c (read_partial_die): Update.
14200 * symfile.c (set_initial_language): Call main_language.
14201 * symtab.c (language_of_main): Now static.
14202 (set_main_name): Add 'lang' parameter.
14203 (find_main_name): Update.
14204 (main_language): New function.
14205 (symtab_observer_executable_changed): Update.
14206 * symtab.h (set_main_name): Update.
14207 (language_of_main): Remove.
14208 (main_language): Declare.
14209
14210 2014-01-15 Tom Tromey <tromey@redhat.com>
14211
14212 * symfile.c (init_entry_point_info): Use new "initialized" field.
14213 Update.
14214 * objfiles.h (struct entry_point) <initialized>: New field.
14215 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
14216 (struct objfile) <ei>: ...here. Remove.
14217 * objfiles.c (entry_point_address_query): Update.
14218
14219 2014-01-15 Tom Tromey <tromey@redhat.com>
14220
14221 * objfiles.c (entry_point_address_query): Relocate entry point
14222 address.
14223 (objfile_relocate1): Do not relocate entry point address.
14224 * objfiles.h (struct entry_info) <entry_point>: Update comment.
14225 <the_bfd_section_index>: New field.
14226 * symfile.c (init_entry_point_info): Find the entry point's
14227 section.
14228
14229 2014-01-15 Tom Tromey <tromey@redhat.com>
14230
14231 * solib-frv.c (enable_break): Use entry_point_address_query.
14232
14233 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14234
14235 * NEWS: Add note on improved process record-replay on
14236 arm*-linux* targets.
14237
14238 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14239
14240 * arm-tdep.c (enum arm_record_result): New enum.
14241 (arm_record_unsupported_insn): New function.
14242 (arm_record_coproc_data_proc): Removed.
14243 (thumb2_record_ld_st_multiple): New function.
14244 (thumb2_record_ld_st_dual_ex_tbb): New function.
14245 (thumb2_record_data_proc_sreg_mimm): New function.
14246 (thumb2_record_ps_dest_generic): New function.
14247 (thumb2_record_branch_misc_cntrl): New function.
14248 (thumb2_record_str_single_data): New function.
14249 (thumb2_record_ld_mem_hints): New function.
14250 (thumb2_record_ld_word): New function.
14251 (thumb2_record_lmul_lmla_div): New function.
14252 (thumb2_record_decode_insn_handler): New function.
14253 (decode_insn): Add thumb32 instruction handlers.
14254
14255 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14256
14257 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
14258 (struct arm_linux_record_tdep): Declare.
14259 (arm_canonicalize_syscall): New function.
14260 (arm_all_but_pc_registers_record): New function.
14261 (arm_linux_syscall_record): New function.
14262 (arm_linux_init_abi): Add syscall recording constructs.
14263 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
14264 decoding. (arm_record_coproc_data_proc): Update arm syscall
14265 decoding.
14266 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
14267 <arm_syscall_record>: New field.
14268 * configure.tgt (arm*-*-linux*): Add linux-record.o to
14269 gdb_target_obs.
14270
14271 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14272
14273 * arm-tdep.c (thumb_record_misc): Update to use sp as base
14274 register for push instruction recording.
14275
14276 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14277
14278 * arm-tdep.c (thumb_record_misc): Update to correct logical
14279 error while recording ldm, ldmia and pop instructions.
14280
14281 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14282
14283 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
14284
14285 2014-01-15 Pedro Alves <palves@redhat.com>
14286
14287 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
14288 (go32_resume, go32_fetch_registers, store_register)
14289 (go32_store_registers, go32_prepare_to_store)
14290 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
14291 (go32_create_inferior, go32_can_run, go32_terminal_init)
14292 (go32_terminal_inferior, go32_terminal_ours): Delete forward
14293 declarations.
14294
14295 2014-01-15 Tom Tromey <tromey@redhat.com>
14296
14297 * target.h (async_callback_ftype): New typedef.
14298 (struct target_ops) <to_async>: Use it.
14299
14300 2014-01-15 Joel Brobecker <brobecker@adacore.com>
14301
14302 * python/py-value.c (get_field_type): Remove unnecessary curly
14303 braces for single-statement if block.
14304
14305 2014-01-15 Joel Brobecker <brobecker@adacore.com>
14306
14307 * python/py-type.c (convert_field): Add missing empty line
14308 after declarations.
14309
14310 2014-01-14 Doug Evans <dje@google.com>
14311
14312 * symfile.h (expand_symtabs_matching): Renamed from
14313 expand_partial_symbol_names. Update prototype.
14314 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14315 * symfile.c (expand_symtabs_matching): Renamed from
14316 expand_partial_symbol_names. New args file_matcher, kind.
14317 Rename arg fun to symbol_matcher.
14318 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14319 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
14320 ada_expand_partial_symbol_name.
14321 (ada_make_symbol_completion_list): Update to call
14322 expand_symtabs_matching.
14323 (ada_add_global_exceptions): Call expand_symtabs_matching.
14324 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
14325 call map_symbol_filenames.
14326 * symtab.c (sources_info): Update to call map_symbol_filenames.
14327 (search_symbols): Call expand_symtabs_matching.
14328 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
14329 (default_make_symbol_completion_list_break_on): Update to call
14330 expand_symtabs_matching.
14331 (make_source_files_completion_list): Update to call
14332 map_symbol_filenames.
14333
14334 2014-01-14 Doug Evans <dje@google.com>
14335
14336 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
14337 (expand_symtabs_symbol_matcher_ftype): New typedef.
14338 (quick_symbol_functions.expand_symtabs_matching): Update to use.
14339 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14340 * symfile.c (expand_partial_symbol_names): Update to use
14341 expand_symtabs_symbol_matcher_ftype.
14342 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
14343 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14344 Arg name_matcher renamed to symbol_matcher.
14345 * psymtab.c (recursively_search_psymtabs): Update to use
14346 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
14347 sym_matcher.
14348 (expand_symtabs_matching_via_partial): Update to use
14349 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14350 Arg name_matcher renamed to symbol_matcher.
14351
14352 2014-01-14 Doug Evans <dje@google.com>
14353
14354 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
14355 (map_partial_symbol_filenames): Ditto.
14356 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
14357 (map_partial_symbol_filenames): Ditto.
14358 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
14359 (map_partial_symbol_filenames): Ditto.
14360 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
14361 (map_partial_symbol_filenames): Ditto.
14362 * symtab.c: Delete #include "psymtab.h".
14363
14364 2014-01-14 Pedro Alves <palves@redhat.com>
14365 Tom Tromey <tromey@redhat.com>
14366
14367 * infrun.c (use_displaced_stepping): Use find_record_target
14368 instead of RECORD_IS_USED.
14369 (adjust_pc_after_break): Use record_full_is_used instead of
14370 RECORD_IS_USED.
14371 * record-btrace.c (record_btrace_open): Call record_preopen
14372 instead of checking RECORD_IS_USED.
14373 * record-full.c (record_full_shortname)
14374 (record_full_core_shortname): New globals.
14375 (record_full_is_used): New function.
14376 (find_full_open): Call record_preopen instead of checking
14377 RECORD_IS_USED.
14378 (init_record_full_ops): Set the target's shortname to
14379 record_full_shortname.
14380 (init_record_full_core_ops): Set the target's shortname to
14381 record_full_core_shortname.
14382 * record-full.h (record_full_is_used): Declare.
14383 * record.c (find_record_target): Make extern.
14384 (record_preopen): New function.
14385 * record.h (RECORD_IS_USED): Delete macro.
14386 (find_record_target, record_preopen): Declare functions.
14387
14388 2014-01-14 Yao Qi <yao@codesourcery.com>
14389
14390 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
14391 'len''s type to ULONGEST.
14392 (core_xfer_shared_libraries_aix): Likewise.
14393 * gdbarch.c, gdbarch.h: Regenerated.
14394 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
14395 Change type of 'len' to ULONGEST.
14396 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14397 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
14398
14399 2014-01-14 Yao Qi <yao@codesourcery.com>
14400
14401 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
14402 type of 'len' to ULONGEST.
14403 (linux_xfer_osdata_processgroups): Likewise.
14404 (linux_xfer_osdata_threads): Likewise.
14405 (linux_xfer_osdata_fds): Likewise.
14406 (linux_xfer_osdata_isockets): Likewise.
14407 (linux_xfer_osdata_shm): Likewise.
14408 (linux_xfer_osdata_sem): Likewise.
14409 (linux_xfer_osdata_msg): Likewise.
14410 (linux_common_xfer_osdata): Likewise.
14411 (struct osdata_type) <getter>: Likewise.
14412 * common/linux-osdata.h (linux_common_xfer_osdata): Update
14413 the declaration.
14414
14415 2014-01-14 Yao Qi <yao@codesourcery.com>
14416
14417 * target.h (target_xfer_partial_ftype): Update.
14418 (struct target_ops) <to_xfer_partial>: Change 'len' type to
14419 ULONGEST.
14420 * aix-thread.c (aix_thread_xfer_partial): Change type of
14421 argument 'len' to ULONGEST.
14422 * auxv.c (procfs_xfer_auxv): Likewise.
14423 (ld_so_xfer_auxv): Likewise.
14424 (memory_xfer_auxv): Likewise.
14425 * bfd-target.c (target_bfd_xfer_partial): Likewise.
14426 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
14427 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
14428 * corelow.c (core_xfer_partial): Likewise.
14429 * ctf.c (ctf_xfer_partial): Likewise.
14430 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
14431 '%u'.
14432 (darwin_read_dyld_info): Likewise.
14433 (darwin_xfer_partial): Likewise.
14434 * exec.c (section_table_xfer_memory_partial): Likewise.
14435 (exec_xfer_partial): Likewise.
14436 * exec.h (section_table_xfer_memory_partial): Update
14437 declaration.
14438 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
14439 instead of plongest.
14440 (gnu_xfer_partial): Likewise.
14441 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
14442 (ia64_hpux_xfer_solib_got): Likewise.
14443 (ia64_hpux_xfer_partial): Likewise.
14444 * ia64-linux-nat.c (ia64_linux_xfer_partial):
14445 * inf-ptrace.c (inf_ptrace_xfer_partial):
14446 * inf-ttrace.c (inf_ttrace_xfer_partial):
14447 * linux-nat.c (linux_xfer_siginfo): Likewise.
14448 (linux_nat_xfer_partial): Likewise.
14449 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
14450 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
14451 * monitor.c (monitor_xfer_memory): Likewise.
14452 (monitor_xfer_partial): Likewise.
14453 * procfs.c (procfs_xfer_partial): Likewise.
14454 * record-full.c (record_full_xfer_partial): Likewise.
14455 (record_full_core_xfer_partial): Likewise.
14456 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
14457 instead of plongest.
14458 (gdbsim_xfer_partial): Likewise.
14459 * remote.c (remote_xfer_partial): Likewise.
14460 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14461 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
14462 declaration.
14463 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
14464 (rs6000_xfer_shared_libraries): Likewise.
14465 * sol-thread.c (sol_thread_xfer_partial): Likewise.
14466 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
14467 (sparc_xfer_partial): Likewise.
14468 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
14469 (spu_xfer_partial): Likewise.
14470 * spu-multiarch.c (spu_xfer_partial): Likewise.
14471 * target.c (target_read_live_memory): Likewise.
14472 (memory_xfer_live_readonly_partial): Likewise.
14473 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
14474 (target_xfer_partial, default_xfer_partial): Likewise.
14475 (current_xfer_partial): Likewise.
14476 * tracepoint.c (tfile_xfer_partial): Likewise.
14477 * windows-nat.c (windows_xfer_memory): Likewise. Call
14478 pulongest instead of plongest.
14479 (windows_xfer_partial): Likewise.
14480 (windows_xfer_shared_libraries): Likewise.
14481
14482 2014-01-14 Yao Qi <yao@codesourcery.com>
14483
14484 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
14485 target_xfer_partial_ftype.
14486
14487 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14488
14489 PR python/15464
14490 PR python/16113
14491 * valops.c (value_struct_elt_bitpos): New function
14492 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
14493 object to 'None' if the field name is an empty string ("").
14494 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
14495 attribute to look for a field when 'name' is 'None'.
14496 (get_field_type): New function
14497
14498 2014-01-13 Doug Evans <dje@google.com>
14499
14500 PR symtab/16426
14501 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
14502 (try_open_dwop_file): Ditto.
14503 * gdb_bfd.c: #include "vec.h".
14504 (bfdp): New typedef.
14505 (struct gdb_bfd_data): New member included_bfds.
14506 (gdb_bfd_unref): Unref all included bfds.
14507 (gdb_bfd_record_inclusion): New function.
14508 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
14509
14510 2014-01-13 Tom Tromey <tromey@redhat.com>
14511
14512 * gdbcore.h (deprecated_core_resize_section_table): Remove.
14513
14514 2014-01-13 Tom Tromey <tromey@redhat.com>
14515
14516 * defs.h (use_windows): Remove.
14517 * gdb.c (main): Update.
14518 * main.c (captured_main, gdb_main): Update.
14519 * main.h (struct captured_main_args) <use_windows>: Remove.
14520 * top.c (use_windows): Remove.
14521
14522 2014-01-13 Tom Tromey <tromey@redhat.com>
14523
14524 * defs.h (deprecated_flush_hook): Remove.
14525
14526 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14527
14528 PR threads/16216
14529 * linux-thread-db.c (try_thread_db_load): Add parameter
14530 check_auto_load_safe. Move here the file_is_auto_load_safe call.
14531 (try_thread_db_load_from_pdir_1): Move it there from here.
14532 (try_thread_db_load_from_sdir): Update caller.
14533 (try_thread_db_load_from_dir): Move it there from here.
14534
14535 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
14536
14537 * regformats/regdat.sh: Always rewrite the register file.
14538
14539 2014-01-13 Pedro Alves <palves@redhat.com>
14540
14541 * Makefile.in (CHECK_HEADERS): New variable.
14542 (check-headers:): New rule.
14543
14544 2014-01-13 Tom Tromey <tromey@redhat.com>
14545
14546 * cli/cli-setshow.c (do_set_command): Update.
14547 * defs.h (deprecated_set_hook): Remove.
14548 * top.c (deprecated_set_hook): Remove.
14549
14550 2014-01-13 Pedro Alves <palves@redhat.com>
14551
14552 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
14553 the tracepoint if the PC is a pseudo-register.
14554
14555 2014-01-13 Tom Tromey <tromey@redhat.com>
14556
14557 * defs.h (XCALLOC): Remove.
14558 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
14559 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
14560 * dwarf2loc.c (allocate_piece_closure): Likewise.
14561 * elfread.c (elf_symfile_segments): Likewise.
14562 (elf_symfile_segments): Likewise.
14563 * gdbtypes.c (copy_type_recursive): Likewise.
14564 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
14565 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
14566 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
14567 XCALLOC.
14568 * mt-tdep.c (mt_gdbarch_init): Likewise.
14569 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
14570 XCALLOC.
14571 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
14572 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
14573 * registry.c (registry_alloc_data): Likewise.
14574 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
14575 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
14576 * serial.c (serial_fdopen_ops): Likewise.
14577 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
14578 XCALLOC.
14579 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
14580 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
14581 not XCALLOC.
14582
14583 2014-01-13 Tom Tromey <tromey@redhat.com>
14584
14585 * defs.h (XMALLOC): Remove.
14586 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
14587 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
14588 * cli-out.c (struct ui_out *): Likewise.
14589 * cli/cli-dump.c (add_dump_command): Likewise.
14590 (add_dump_command): Likewise.
14591 * complaints.c (get_complaints): Likewise.
14592 (find_complaint): Likewise.
14593 * dwarf2-frame.c (execute_cfa_program): Likewise.
14594 * dwarf2read.c (abbrev_table_read_table): Likewise.
14595 * gdbarch.sh: Likewise.
14596 * gdbarch.c: Rebuild.
14597 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
14598 * interps.c (interp_new): Likewise.
14599 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
14600 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
14601 * mi/mi-console.c (mi_console_file_new): Likewise.
14602 * mi/mi-interp.c (mi_interpreter_init): Likewise.
14603 * mi/mi-out.c (mi_out_new): Likewise.
14604 * mi/mi-parse.c (mi_parse): Likewise.
14605 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
14606 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
14607 * observer.c (xalloc_observer_list_node): Likewise.
14608 * regcache.c (regcache_xmalloc_1): Likewise.
14609 * reggroups.c (reggroup_new): Likewise.
14610 (_initialize_reggroup): Likewise.
14611 * registry.c (register_data_with_cleanup): Likewise.
14612 * remote.c (remote_notif_stop_alloc_reply): Likewise.
14613 * ser-base.c (serial_ttystate): Likewise.
14614 * ser-mingw.c (make_pipe_state): Likewise.
14615 * ser-pipe.c (pipe_open): Likewise.
14616 * serial.c (serial_open): Likewise.
14617 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
14618 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
14619 (tui_alloc_win_info): Likewise.
14620 (tui_add_content_elements): Likewise.
14621 * tui/tui-file.c (tui_file_new): Likewise.
14622 * tui/tui-out.c (tui_out_new): Likewise.
14623 * ui-file.c (mem_file_new): Likewise.
14624 * ui-out.c (push_level): Likewise.
14625 (make_cleanup_ui_out_end): Likewise.
14626 (append_header_to_list): Likewise.
14627 (ui_out_new): Likewise.
14628 * user-regs.c (user_reg_add_builtin): Likewise.
14629
14630 2014-01-13 Tom Tromey <tromey@redhat.com>
14631
14632 * defs.h (XZALLOC): Remove.
14633 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
14634 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
14635 (get_ada_tasks_inferior_data): Likewise.
14636 * auto-load.c (get_auto_load_pspace_data): Likewise.
14637 * auxv.c (get_auxv_inferior_data): Likewise.
14638 * bfd-target.c (target_bfd_reopen): Likewise.
14639 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
14640 (deprecated_insert_raw_breakpoint): Likewise.
14641 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
14642 * corelow.c (core_open): Likewise.
14643 * darwin-nat.c (darwin_check_new_threads): Likewise.
14644 (darwin_attach_pid): Likewise.
14645 * dummy-frame.c (dummy_frame_push): Likewise.
14646 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
14647 * dwarf2loc.c (allocate_piece_closure): Likewise.
14648 * elfread.c (elf_symfile_segments): Likewise.
14649 * eval.c (ptrmath_type_p): Likewise.
14650 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
14651 * gdbtypes.c (alloc_type_arch): Likewise.
14652 (alloc_type_instance): Likewise.
14653 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
14654 * inf-child.c (inf_child_can_use_agent): Likewise.
14655 * inflow.c (get_inflow_inferior_data): Likewise.
14656 * infrun.c (save_infcall_suspend_state): Likewise.
14657 * jit.c (jit_reader_load): Likewise.
14658 (get_jit_objfile_data): Likewise.
14659 (get_jit_program_space_data): Likewise.
14660 (jit_object_open_impl): Likewise.
14661 (jit_symtab_open_impl): Likewise.
14662 (jit_block_open_impl): Likewise.
14663 (jit_frame_sniffer): Likewise.
14664 * linux-fork.c (add_fork): Likewise.
14665 * maint.c (make_command_stats_cleanup): Likewise.
14666 * objfiles.c (get_objfile_pspace_data): Likewise.
14667 * opencl-lang.c (struct lval_closure): Likewise.
14668 * osdata.c (osdata_start_osdata): Likewise.
14669 * progspace.c (new_address_space): Likewise.
14670 (add_program_space): Likewise.
14671 * remote-sim.c (get_sim_inferior_data): Likewise.
14672 * sh-tdep.c (sh_gdbarch_init): Likewise.
14673 * skip.c (Ignore): Likewise.
14674 (skip_delete_command): Likewise.
14675 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
14676 (library_list_start_library): Likewise.
14677 (solib_aix_current_sos): Likewise.
14678 * solib-darwin.c (get_darwin_info): Likewise.
14679 (darwin_current_sos): Likewise.
14680 * solib-dsbt.c (get_dsbt_info): Likewise.
14681 * solib-ia64-hpux.c (new_so_list): Likewise.
14682 (ia64_hpux_get_solib_linkage_addr): Likewise.
14683 * solib-spu.c (append_ocl_sos): Likewise.
14684 (spu_current_sos): Likewise.
14685 * solib-svr4.c (get_svr4_info): Likewise.
14686 (svr4_keep_data_in_core): Likewise.
14687 (library_list_start_library): Likewise.
14688 (svr4_default_sos): Likewise.
14689 (svr4_read_so_list): Likewise.
14690 * solib-target.c (library_list_start_library): Likewise.
14691 (solib_target_current_sos): Likewise.
14692 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
14693 * symfile-debug.c (install_symfile_debug_logging): Likewise.
14694 * symfile.c (default_symfile_segments): Likewise.
14695 * target-descriptions.c (tdesc_data_init): Likewise.
14696 (tdesc_create_reg): Likewise.
14697 (struct tdesc_type *): Likewise.
14698 (tdesc_create_vector): Likewise.
14699 (tdesc_set_struct_size): Likewise.
14700 (struct tdesc_type *): Likewise.
14701 (tdesc_free_feature): Likewise.
14702 (tdesc_create_feature): Likewise.
14703 * windows-nat.c (windows_add_thread): Likewise.
14704 (windows_make_so): Likewise.
14705 * xml-support.c (gdb_xml_body_text): Likewise.
14706 (gdb_xml_create_parser_and_cleanup): Likewise.
14707 (xml_process_xincludes): Likewise.
14708 * xml-syscall.c (allocate_syscalls_info): Likewise.
14709 (syscall_create_syscall_desc): Likewise.
14710
14711 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
14712
14713 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
14714 function, with code from i386_stap_parse_special_token.
14715 (i386_stap_parse_special_token_three_arg_disp): Likewise.
14716 (i386_stap_parse_special_token): Move code to the two functions
14717 above; simplify it.
14718
14719 2014-01-09 Pedro Alves <palves@redhat.com>
14720 Hui Zhu <hui@codesourcery.com>
14721
14722 PR gdb/16101
14723 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
14724 bp_err_string. Don't mark the location shlib_disabled if the
14725 error thrown wasn't a generic or memory error. Catch errors
14726 thrown while inserting breakpoints in overlayed code. Output
14727 error message of software breakpoints.
14728 * remote.c (remote_insert_breakpoint): If this breakpoint has
14729 target-side commands but this stub doesn't support Z0 packets,
14730 throw NOT_SUPPORTED_ERROR error.
14731 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
14732 * target.h (target_insert_breakpoint): Extend comment.
14733 (target_insert_hw_breakpoint): Add comment.
14734
14735 2014-01-08 Pedro Alves <palves@redhat.com>
14736
14737 * remote.c (remote_add_thread): Add threads silently if starting
14738 up.
14739 (remote_notice_new_inferior): If in all-stop, and starting up,
14740 don't call notice_new_inferior.
14741 (get_current_thread): New function, factored out from ...
14742 (add_current_inferior_and_thread): ... this. Adjust.
14743 (remote_start_remote) <all-stop>: Fetch the thread list. If we
14744 found any thread, then select the remote's current thread as GDB's
14745 current thread too.
14746
14747 2014-01-08 Joel Brobecker <brobecker@adacore.com>
14748
14749 * NEWS: Create a new section for the next release branch.
14750 Rename the section of the current branch, now that it has
14751 been cut.
14752
14753 2014-01-08 Joel Brobecker <brobecker@adacore.com>
14754
14755 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
14756 * version.in: Bump version to 7.7.50.DATE-cvs.
14757
14758 2014-01-08 Yao Qi <yao@codesourcery.com>
14759
14760 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
14761 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
14762 (spu_xfer_partial): Cast 'buf' to 'const char *'.
14763
14764 2014-01-08 Yao Qi <yao@codesourcery.com>
14765
14766 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
14767 return value of bfd_get_filename to symbol_file_add_from_bfd.
14768
14769 2014-01-08 Pierre Muller <muller@sourceware.org>
14770
14771 Fix PR16201.
14772 * coff-pe-read.c (struct read_pe_section_data): Add index field.
14773 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
14774 to prim_record_mininal_symbol_and_info.
14775 (add_pe_forwarded_sym): Use known section number of forwarded symbol
14776 in call to prim_record_minimal_symbol_and_info.
14777 (read_pe_exported_syms): Set index field of section_data.
14778
14779 2014-01-07 Andrew Pinski <apinski@cavium.com>
14780
14781 * features/aarch64-core.xml (cpsr): Change to be 64bit.
14782 * features/aarch64.c: Regenerate.
14783
14784 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
14785
14786 * target.c (return_null): Define.
14787 (update_current_target): Use it instead of return_zero for
14788 functions that return a pointer.
14789
14790 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14791
14792 * source.c (add_path): Fix check for duplicated paths in the previously
14793 included paths.
14794
14795 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
14796
14797 * ada-lang.c: Remove duplicated include statements.
14798 * alphabsd-nat.c: Ditto.
14799 * amd64-darwin-tdep.c: Ditto.
14800 * amd64fbsd-nat.c: Ditto.
14801 * auto-load.c: Ditto.
14802 * ax-gdb.c: Ditto.
14803 * breakpoint.c: Ditto.
14804 * dbxread.c: Ditto.
14805 * fork-child.c: Ditto.
14806 * gdb_usleep.c: Ditto.
14807 * i386-darwin-tdep.c: Ditto.
14808 * i386fbsd-nat.c: Ditto.
14809 * infcmd.c: Ditto.
14810 * inferior.c: Ditto.
14811 * jv-lang.c: Ditto.
14812 * linux-nat.c: Ditto.
14813 * linux-tdep.c: Ditto.
14814 * m68kbsd-nat.c: Ditto.
14815 * m68klinux-nat.c: Ditto.
14816 * microblaze-tdep.c: Ditto.
14817 * mips-linux-tdep.c: Ditto.
14818 * mn10300-tdep.c: Ditto.
14819 * nto-tdep.c: Ditto.
14820 * opencl-lang.c: Ditto.
14821 * osdata.c: Ditto.
14822 * printcmd.c: Ditto.
14823 * regcache.c: Ditto.
14824 * remote-m32r-sdi.c: Ditto.
14825 * remote.c: Ditto.
14826 * symfile.c: Ditto.
14827 * symtab.c: Ditto.
14828 * tilegx-linux-nat.c: Ditto.
14829 * tilegx-tdep.c: Ditto.
14830 * tracepoint.c: Ditto.
14831 * valops.c: Ditto.
14832 * vaxbsd-nat.c: Ditto.
14833 * windows-nat.c: Ditto.
14834 * xtensa-tdep.c: Ditto.
14835
14836 2014-01-07 Yao Qi <yao@codesourcery.com>
14837
14838 * spu-linux-nat.c (_initialize_spu_nat): Declare.
14839
14840 2014-01-07 Yao Qi <yao@codesourcery.com>
14841 Joel Brobecker <brobecker@adacore.com>
14842
14843 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
14844 (pdc_write_regs): Likewise.
14845 (fetch_regs_kernel_thread): Likewise.
14846 (store_regs_kernel_thread): Likewise.
14847
14848 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14849
14850 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
14851 tagged type objects to their actual type.
14852
14853 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14854
14855 * ada-valprint.c (print_field_values): Add "language" parameter.
14856 Update calls to print_field_values and print_variant_part.
14857 Pass new parameter "language" in call to val_print instead
14858 of "current_language". Replace call to ada_val_print by call
14859 to val_print.
14860 (print_variant_part): Add "language" parameter.
14861 (ada_val_print_struct_union): Update call to print_field_values.
14862
14863 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14864
14865 * ada-valprint.c (ui_memcpy): Delete.
14866 (ada_print_floating): Update documentation. Add empty line
14867 between between function documentation and implementation.
14868 Delete variable "buffer". Use ui_file_xstrdup in place of
14869 ui_file_put. Minor adjustments following this change.
14870
14871 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14872
14873 * ada-valprint.c (ada_val_print_string): New function,
14874 extracted from ada_val_print_array.
14875 (ada_val_print_array): Replace extracted code by call
14876 to ada_val_print_string followed by a return. Move
14877 "else" branch to the function's top block.
14878
14879 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14880
14881 * ada-valprint.c (ada_val_print_array): Move implementation
14882 down. Rename parameter "offset" and "val" into "offset_aligned"
14883 and "original_value" respectively. Add parameter "offset".
14884
14885 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14886
14887 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
14888 re-organizing the code. Change the "???" message printed
14889 when target type is a TYPE_CODE_UNDEF into
14890 "<ref to undefined type>".
14891
14892 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14893
14894 * ada-valprint.c (print_record): Delete, implementation inlined...
14895 (ada_val_print_struct_union): ... here. Remove call to
14896 ada_check_typedef in inlined implementation.
14897
14898 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14899
14900 * ada-valprint.c (ada_val_print_gnat_array): New function,
14901 extracted from ada_val_print_1;
14902 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
14903 (ada_val_print_flt, ada_val_print_struct_union)
14904 (ada_val_print_ref): Likewise.
14905 (ada_val_print_1): Delete variables i and elttype.
14906 Replace extracted-out code by call to corresponding
14907 new functions.
14908
14909 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14910
14911 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
14912
14913 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14914
14915 * ada-valprint.c (ada_val_print_1): Replace calls to
14916 ada_val_print_1 by calls to val_print.
14917
14918 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14919
14920 * ada-valprint.c (ada_val_print_1): Add parameter "language".
14921 Update calls to self accordingly. Replace calls to c_val_print
14922 by calls to val_print.
14923
14924 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14925
14926 * ada-valprint.c (print_record): Delete declaration.
14927 (adjust_type_signedness, ada_val_print_1): Likewise.
14928 (ada_val_print): Move function implementation down.
14929 (print_variant_part, print_field_values, print_record):
14930 Move function implementation up.
14931
14932 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14933
14934 * python/py-type.c (typy_get_name): New function.
14935 (type_object_getset): Add entry for attribute "name".
14936 * NEWS: Add entry mentioning this new attribute.
14937
14938 2014-01-07 Yao Qi <yao@codesourcery.com>
14939
14940 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
14941 statement.
14942
14943 2014-01-07 Yao Qi <yao@codesourcery.com>
14944
14945 * gnu-nat.c (info_port_rights): Add qualifier const to
14946 argument args.
14947
14948 2014-01-07 Yao Qi <yao@codesourcery.com>
14949
14950 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
14951
14952 2014-01-07 Yao Qi <yao@codesourcery.com>
14953
14954 * gnu-nat.c (make_inf) Update declaration.
14955 (make_inf): Make it static.
14956 (inf_set_traced): Likewise.
14957 (inf_port_to_thread, inf_task_died_status): Likewise.
14958
14959 2014-01-07 Yao Qi <yao@codesourcery.com>
14960
14961 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
14962
14963 2014-01-07 Yao Qi <yao@codesourcery.com>
14964
14965 * gnu-nat.c (_initialize_gnu_nat): Declare.
14966
14967 2014-01-07 Yao Qi <yao@codesourcery.com>
14968
14969 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
14970 'enum bfd_endian'.
14971 (struct gdbarch_info) <byte_order>: Change type to
14972 'enum bfd_endian'.
14973 <byte_order_for_code>: Likewise.
14974 * gdbarch.c, gdbarch.h: Regenerated.
14975
14976 2014-01-06 Sasha Smundak <asmundak@google.com>
14977
14978 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
14979
14980 2014-01-06 Tom Tromey <tromey@redhat.com>
14981
14982 * doublest.c (convert_doublest_to_floatformat): Use const, not
14983 CONST.
14984 * somread.c (som_symtab_read): Likewise.
14985
14986 2014-01-07 Hui Zhu <hui@codesourcery.com>
14987
14988 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
14989 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
14990 (gdb_bfd_fopen): Ditto.
14991 (gdb_bfd_openr): Ditto.
14992 (gdb_bfd_openw): Ditto.
14993 (gdb_bfd_openr_iovec): Ditto.
14994 (gdb_bfd_fdopenr): Ditto.
14995 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
14996 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
14997 with xstrdup.
14998 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
14999 with xstrdup.
15000 * symfile-mem.c (symbol_file_add_from_memory): Removed
15001 gdb_bfd_stash_filename.
15002
15003 2014-01-03 Doug Evans <dje@google.com>
15004
15005 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
15006 output.
15007
15008 2014-01-01 Joel Brobecker <brobecker@adacore.com>
15009
15010 Update year range in copyright notice of all files.
15011
15012 2014-01-01 Joel Brobecker <brobecker@adacore.com>
15013
15014 * top.c (print_gdb_version): Set copyright year to 2014.
15015
15016 2014-01-01 Joel Brobecker <brobecker@adacore.com>
15017
15018 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
15019
15020 For older changes see ChangeLog-2013.
15021 \f
15022 Local Variables:
15023 mode: change-log
15024 left-margin: 8
15025 fill-column: 74
15026 version-control: never
15027 coding: utf-8
15028 End:
This page took 0.396948 seconds and 5 git commands to generate.