Don't set CC in config/i386/go32.mh
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-11-19 Yao Qi <yao@codesourcery.com>
2
3 * config/i386/go32.mh (CC): Remove.
4
5 2014-11-18 Doug Evans <xdje42@gmail.com>
6
7 * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses
8 updated.
9
10 2014-11-18 Doug Evans <xdje42@gmail.com>
11
12 * buildsym.c (buildsym_objfile): New static global.
13 (buildsym_comp_dir): New static global.
14 (finish_block_internal): Delete arg objfile. All callers updated.
15 (finish_block): Delete arg objfile. All callers updated.
16 (start_subfile): Delete arg dirname. All callers updated.
17 (patch_subfile_names): Update buildsym_comp_dir.
18 (get_macro_table): Delete arg objfile. All callers updated.
19 (start_symtab): New arg objfile. All callers updated.
20 Rename arg dirname to comp_dir.
21 (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir.
22 (end_symtab_get_static_block): Delete arg objfile. All callers
23 updated.
24 (end_symtab_without_blockvector): Ditto.
25 (end_symtab_with_blockvector): Ditto.
26 (end_symtab_from_static_block): Ditto.
27 (end_symtab): Ditto.
28 (end_expandable_symtab): Ditto.
29 (augment_type_symtab): Ditto.
30 * coffread.c (coff_start_symtab): New arg objfile. All callers
31 updated.
32
33 2014-11-18 Doug Evans <xdje42@gmail.com>
34
35 * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses
36 updated.
37
38 2014-11-18 Doug Evans <xdje42@gmail.com>
39
40 * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member
41 symtab.dirname updated to use it.
42
43 2014-11-18 Doug Evans <xdje42@gmail.com>
44
45 * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member
46 symtab.objfile updated to use it.
47
48 2014-11-18 Doug Evans <xdje42@gmail.com>
49
50 * buildsym.c (watch_main_source_file_lossage): Fix memory leak.
51
52 2014-11-18 Doug Evans <xdje42@gmail.com>
53
54 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
55 SYMBOL_OBJFILE.
56 * findvar.c (default_read_var_value): Ditto.
57 * jv-lang.c (add_class_symtab_symbol): Ditto.
58 * parse.c (operator_check_standard): Ditto.
59 * printcmd.c (address_info): Ditto.
60 * symtab.c (fixup_symbol_section): Ditto.
61 (skip_prologue_sal): Ditto.
62 * tracepoint.c (scope_info): Ditto.
63 * valops.c (find_function_in_inferior): Ditto.
64 * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto.
65 * python/py-symbol.c (set_symbol): Ditto.
66
67 2014-11-18 Doug Evans <xdje42@gmail.com>
68
69 * buildsym.c (main_subfile): New static global.
70 (free_subfiles_list): New function.
71 (start_symtab): Set main_subfile.
72 (restart_symtab): Replace init of subfiles, current_subfile with
73 call to free_subfiles_list.
74 (watch_main_source_file_lossage): Use main_subfile.
75 (reset_symtab_globals): Replace init of current_subfile with call
76 to free_subfiles_list.
77 (end_symtab_without_blockvector, end_symtab_with_blockvector): New
78 functions, split out from ...
79 (end_symtab_from_static_block): ... here. Rewrite to call them.
80
81 2014-11-18 Doug Evans <xdje42@gmail.com>
82
83 The result of symtab expansion is always a primary symtab.
84 * dwarf2read.c (dw2_instantiate_symtab): Add assert.
85 (dw2_lookup_symbol): Remove unnecessary test for primary symbol table.
86 * psymtab.c (lookup_symbol_aux_psymtabs): Ditto.
87 (psymtab_to_symtab): Add comment and assert.
88 (map_matching_symbols_psymtab): Remove unnecessary test for
89 non-primary symtab.
90
91 2014-11-15 Doug Evans <xdje42@gmail.com>
92
93 PR symtab/17559
94 * symtab.c (find_pc_line_symtab): New function.
95 * symtab.h (find_pc_line_symtab): Declare.
96 * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of
97 find_pc_symtab.
98 * tui/tui-disasm.c (tui_set_disassem_content): Ditto.
99 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto.
100 * tui/tui-source.c (tui_vertical_source_scroll): Ditto.
101 * tui/tui-win.c (make_visible_with_new_height): Ditto.
102 * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto.
103 (tui_display_main): Call find_pc_line_symtab instead of find_pc_line.
104
105 2014-11-15 Doug Evans <xdje42@gmail.com>
106
107 * symtab.c (expand_symtab_containing_pc): Renamed from
108 find_pc_sect_symtab_via_partial. All callers updated.
109
110 2014-11-15 Yao Qi <yao@codesourcery.com>
111
112 * go32-nat.c (go32_create_inferior): Add missing parenthesis.
113
114 2014-11-14 Joel Brobecker <brobecker@adacore.com>
115
116 * common/common-defs.h: Move <stdarg.h> #include ahead of
117 <stdio.h> #include.
118
119 2014-11-14 Pedro Alves <palves@redhat.com>
120
121 * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define.
122 [!PHONY_ICONV] (gdb_iconv): New function.
123 [!PHONY_ICONV] (iconv): Redefine to gdb_iconv.
124
125 2014-11-13 Doug Evans <dje@google.com>
126
127 PR symtab/17591
128 * dwarf2read.c (find_slot_in_mapped_hash): Handle
129 "(anonymous namespace)".
130
131 2014-11-13 Doug Evans <dje@google.com>
132
133 * dwarf2read.c (update_enumeration_type_from_children): Avoid
134 infinite loop.
135
136 2014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com>
137
138 * NEWS (maint set target-async): Fix typo.
139
140 2014-11-12 Pedro Alves <palves@redhat.com>
141
142 * infrun.c (enum infwait_states, infwait_state): Delete.
143
144 2014-11-12 Pedro Alves <palves@redhat.com>
145
146 * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
147 Rewrite stepping over a permanent breakpoint.
148 (thread_still_needs_step_over, proceed): Don't set
149 stepping_over_breakpoint for permanent breakpoints.
150 (handle_signal_stop): Don't clear stepped_breakpoint. Also pull
151 single-step breakpoints out of the target on hardware step
152 targets.
153 (process_event_stop_test): If stepping a permanent breakpoint
154 doesn't hit the step-resume breakpoint, delete the step-resume
155 breakpoint.
156 (switch_back_to_stepped_thread): Also check if the stepped thread
157 has advanced already on hardware step targets.
158 (currently_stepping): Return true if the thread stepped a
159 breakpoint.
160
161 2014-11-12 Pedro Alves <palves@redhat.com>
162
163 Mark locations as permanent, not the whole breakpoint.
164 * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust.
165 (mark_breakpoints_out): Don't mark permanent breakpoints as
166 uninserted.
167 (breakpoint_init_inferior): Use mark_breakpoints_out.
168 (breakpoint_here_p): Adjust.
169 (bpstat_stop_status, describe_other_breakpoints): Remove handling
170 of permanent breakpoints.
171 (make_breakpoint_permanent): Mark each location as permanent,
172 instead of marking the breakpoint.
173 (add_location_to_breakpoint): If the location is permanent, mark
174 it as such, and as inserted.
175 (init_breakpoint_sal): Don't make the breakpoint permanent here.
176 (bp_location_compare, update_global_location_list): Adjust.
177 (update_breakpoint_locations): Don't make the breakpoint permanent
178 here.
179 (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent
180 breakpoints.
181 * breakpoint.h (enum enable_state) <bp_permanent>: Delete field.
182 (struct bp_location) <permanent>: New field.
183 * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove
184 reference to bp_permanent.
185
186 2014-11-12 Pedro Alves <palves@redhat.com>
187
188 * arch-utils.c (default_skip_permanent_breakpoint): New function.
189 * arch-utils.h (default_skip_permanent_breakpoint): New
190 declaration.
191 * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function.
192 Install default_skip_permanent_breakpoint as default method.
193 * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function.
194 (i386_gdbarch_init): Don't install it.
195 * infrun.c (resume): Assume there's always a
196 gdbarch_skip_permanent_breakpoint implementation.
197 * gdbarch.h, gdbarch.c: Regenerate.
198
199 2014-11-11 Daniel Colascione <dancol@dancol.org>
200
201 Warn about cross-PID-namespace debugging.
202 * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype.
203 * nat/linux-procfs.c (linux_proc_pid_get_ns): New function.
204 * linux-thread-db.c (check_pid_namespace_match): New function.
205 (thread_db_inferior_created): Call it.
206
207 2014-11-10 Doug Evans <xdje42@gmail.com>
208
209 * symmisc.c (print_objfile_statistics): Remove trailing whitespace.
210 (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
211
212 2014-11-10 Doug Evans <xdje42@gmail.com>
213
214 * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
215
216 2014-11-10 Doug Evans <xdje42@gmail.com>
217
218 PR symtab/17564
219 * symtab.c (lookup_symbol_in_all_objfiles): Delete.
220 (lookup_static_symbol): Move definition to new location and rewrite.
221 (lookup_symbol_in_objfile): New function.
222 (lookup_symbol_global_iterator_cb): Call it.
223
224 2014-11-10 Ulrich Weigand  <uweigand@de.ibm.com>
225
226 * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
227
228 2014-11-07 Pedro Alves <palves@redhat.com>
229
230 * infrun.c (process_event_stop_test) <subroutine check>: Don't
231 check if we did a "nexti" inside a prologue.
232 * symtab.c (in_prologue): Delete function.
233 * symtab.h (in_prologue): Delete declaration.
234
235 2014-11-06 Doug Evans <xdje42@gmail.com>
236
237 * symtab.h (lookup_global_symbol): Improve function comment.
238
239 2014-11-06 Doug Evans <xdje42@gmail.com>
240
241 * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
242 All callers updated.
243 * symtab.h (lookup_global_symbol): Update decl.
244 (lookup_static_symbol): Move decl to better location.
245
246 2014-11-06 Doug Evans <xdje42@gmail.com>
247
248 * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
249
250 2014-11-06 Doug Evans <xdje42@gmail.com>
251
252 * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
253 All callers updated.
254 (lookup_symbol_in_all_objfiles): Renamed from
255 lookup_symbol_aux_symtabs. All callers updated.
256 (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
257 All callers updated.
258 (lookup_symbol_in_objfile_symtabs): Renamed from
259 lookup_symbol_aux_objfile. All callers updated.
260
261 2014-11-06 Doug Evans <xdje42@gmail.com>
262
263 * symtab.c (lookup_symbol_in_block): Renamed from
264 lookup_symbol_aux_block. All callers updated.
265
266 2014-11-06 Doug Evans <xdje42@gmail.com>
267
268 * symtab.c (lookup_static_symbol): Renamed from
269 lookup_static_symbol_aux. All callers updated.
270 (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
271 All callers updated.
272
273 2014-11-06 Doug Evans <xdje42@gmail.com>
274
275 * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
276 * block.c (block_lookup_symbol): Use it.
277 * cp-support.c (make_symbol_overload_list_block): Use it.
278 * symtab.c (iterate_over_symbols): Use it.
279
280 2014-11-06 Doug Evans <xdje42@gmail.com>
281
282 * symtab.c (lookup_block_symbol): Moved to ...
283 * block.c (block_lookup_symbol): ... here and renamed.
284 All callers updated.
285 * block.h (block_lookup_symbol): Declare.
286 * symtab.h (lookup_block_symbol): Delete.
287
288 2014-11-06 Doug Evans <xdje42@gmail.com>
289
290 * ada-lang.c (ada_make_symbol_completion_list): Use
291 ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
292 * symtab.c (lookup_objfile_from_block): Ditto.
293
294 2014-11-06 Doug Evans <xdje42@gmail.com>
295
296 * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
297 TYPE_CODE_STRUCT.
298
299 2014-11-06 Doug Evans <xdje42@gmail.com>
300
301 * objfiles.c (get_objfile_arch): Constify.
302 * objfiles.h (get_objfile_arch): Update prototype.
303 * solib.c (solib_global_lookup): Fetch arch from objfile,
304 not target_gdbarch.
305
306 2014-11-06 Sandra Loosemore <sandra@codesourcery.com>
307
308 * nios2-tdep.c (wild_insn): Delete.
309 (profiler_insn, irqentry_insn): Delete.
310 (nios2_match_sequence): Delete.
311 (nios2_analyze_prologue): Update comments. Remove matching
312 of obsolete profiler_insn and irqentry_insn sequences.
313
314 2014-11-05 Alan Modra <amodra@gmail.com>
315
316 * charset.c (convert_between_encodings): Shrink obstack using
317 obstack_blank_fast.
318 * minsyms.c (install_minimal_symbols): Likewise.
319 * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
320 to char* before doing pointer arithmetic.
321
322 2014-11-04 Simon Marchi <simon.marchi@ericsson.com>
323
324 * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
325
326 2014-11-04 Pedro Alves <palves@redhat.com>
327
328 * breakpoint.c (breakpoint_thread_match): Delete function.
329 * breakpoint.h (breakpoint_thread_match): Delete declaration.
330
331 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
332
333 PR c++/17494
334 * eval.c (evaluate_subexp_standard): Evaluate the "object" and
335 the method args also under EVAL_SKIP when evaluating method
336 calls under EVAL_SKIP.
337
338 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
339
340 * dwarf2loc.c (read_pieced_value): Do big endian
341 processing only if gdb_regnum is not -1.
342 (write_pieced_value): Ditto.
343
344 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
345
346 * arm-linux-tdep.c (arm_linux_init_abi): Use
347 info.byte_order_for_code to choose endianity of breakpoint
348 instructions snippets.
349
350 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
351
352 * arm-tdep.c (extract_arm_insn): Use
353 gdbarch_byte_order_for_code to read arm instruction.
354
355 2014-11-02 Doug Evans <xdje42@gmail.com>
356
357 * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
358
359 2014-11-02 Doug Evans <xdje42@gmail.com>
360
361 * xcoffread.c (process_linenos): Delete unnecessary zeroing of
362 main_subfile before returning.
363
364 2014-10-31 Doug Evans <xdje42@gmail.com>
365
366 * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
367 (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
368
369 2014-10-31 Doug Evans <xdje42@gmail.com>
370
371 * valops.c (value_cast_pointers): Fix whitespace.
372 (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
373 Ditto.
374
375 2014-10-30 Doug Evans <dje@google.com>
376
377 * NEWS: Mention ability add attributes to gdb.Objfile and
378 gdb.Progspace objects.
379 * python/py-objfile.c (objfile_object): New member dict.
380 (objfpy_dealloc): Py_XDECREF dict.
381 (objfpy_initialize): Initialize dict.
382 (objfile_getset): Add __dict__.
383 (objfile_object_type): Set tp_dictoffset member.
384 * python/py-progspace.c (progspace_object): New member dict.
385 (pspy_dealloc): Py_XDECREF dict.
386 (pspy_initialize): Initialize dict.
387 (pspace_getset): Add __dict__.
388 (pspace_object_type): Set tp_dictoffset member.
389
390 2014-10-30 Yao Qi <yao@codesourcery.com>
391
392 * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
393 replace '\\' with '\\\\'.
394
395 2014-10-29 Joel Brobecker <brobecker@adacore.com>
396
397 GDB 7.8.1 released.
398
399 2014-10-29 Pedro Alves <palves@redhat.com>
400
401 PR gdb/17408
402 * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
403 instead of assuming a thread with a stepping range is always
404 stepping.
405
406 2014-10-29 Pedro Alves <palves@redhat.com>
407
408 PR python/17372
409 * event-top.c (change_line_handler): Call
410 gdb_rl_callback_handler_remove instead of
411 rl_callback_handler_remove.
412 (callback_handler_installed): New global.
413 (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
414 (gdb_rl_callback_handler_reinstall): New functions.
415 (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
416 gdb_rl_callback_handler_install instead of
417 rl_callback_handler_remove and rl_callback_handler_install.
418 (gdb_disable_readline): Call gdb_rl_callback_handler_remove
419 instead of rl_callback_handler_remove.
420 * event-top.h (gdb_rl_callback_handler_remove)
421 (gdb_rl_callback_handler_install)
422 (gdb_rl_callback_handler_reinstall): New declarations.
423 * infrun.c (reinstall_readline_callback_handler_cleanup): New
424 cleanup function.
425 (fetch_inferior_event): Install it.
426 * top.c (gdb_readline_wrapper_line) Call
427 gdb_rl_callback_handler_remove instead of
428 rl_callback_handler_remove.
429 (gdb_readline_wrapper_cleanup): Don't call
430 rl_callback_handler_install.
431
432 2014-10-29 Pedro Alves <palves@redhat.com>
433
434 * event-top.c (command_line_handler): Clear the first byte of
435 linebuffer, when it is first allocated.
436
437 2014-10-29 Pedro Alves <palves@redhat.com>
438
439 * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
440 TRY_CATCH.
441
442 2014-10-29 Pedro Alves <palves@redhat.com>
443
444 PR tui/16138
445 PR tui/17519
446 * tui/tui-interp.c (tui_is_toplevel): Delete global.
447 (tui_allowed_p): Delete function.
448 * tui/tui.c: Include "interps.h".
449 (tui_enable): Don't use tui_allowed_p. Error out here with
450 detailed error messages if the TUI is the top level interpreter,
451 or if output is not a terminal. Use newterm instead of initscr,
452 and error out if initializing the terminal fails. Also error out if
453 the terminal doesn't support cursor addressing.
454 * tui/tui.h (tui_allowed_p): Delete declaration.
455
456 2014-10-29 Joel Brobecker <brobecker@adacore.com>
457
458 * arm-tdep.c (arm_skip_stack_protector): Return early if
459 address loaded by first "ldr" instruction does not have
460 a corresponding minimal symbol. Update comment.
461
462 2014-10-29 Yao Qi <yao@codesourcery.com>
463
464 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
465 loaded address correctly of ldr instruction.
466
467 2014-10-28 Pedro Alves <palves@redhat.com>
468
469 PR gdb/12623
470 * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
471 field.
472 * infrun.c (resume) <stepping breakpoint instruction>: Set the
473 thread's stepped_breakpoint field. Skip if reverse debugging.
474 Add comment.
475 (init_thread_stepping_state, handle_signal_stop): Clear the
476 thread's stepped_breakpoint field.
477
478 2014-10-27 Pedro Alves <palves@redhat.com>
479
480 * remote.c (remote_thread_alive): New, factored out from ...
481 (remote_thread_alive): ... this.
482 (remote_update_thread_list): Bail out before deleting threads if
483 the target returned an empty list, and, the current thread has a
484 magic/fake ptid.
485
486 2014-10-27 Pedro Alves <palves@redhat.com>
487
488 * infrun.c (handle_signal_stop): Also skip handlers when a random
489 signal arrives while handling a "stepi" or a "nexti". Set the
490 thread's 'step_after_step_resume_breakpoint' flag.
491
492 2014-10-27 Luis Machado <lgustavo@codesourcery.com>
493
494 * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
495 (arm_record_ld_st_imm_offset): Reimplement to cover all
496 load/store cases for ARM opcode 010.
497 (arm_record_ld_st_multiple): Reimplement to cover all
498 load/store cases for ARM opcode 100.
499
500 2014-10-26 Doug Evans <xdje42@gmail.com>
501
502 * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
503
504 2014-10-26 Doug Evans <xdje42@gmail.com>
505
506 * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
507 parameter "kind" to "block_index".
508 * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
509 "block_index".
510 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
511
512 2014-10-26 Doug Evans <xdje42@gmail.com>
513
514 * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
515
516 2014-10-26 Doug Evans <xdje42@gmail.com>
517
518 * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
519 obstack_alloc.
520
521 2014-10-26 Doug Evans <xdje42@gmail.com>
522
523 * parser-defs.h (block_found): Move decl from here ...
524 * symtab.h (block_found): ... to here.
525
526 2014-10-26 Doug Evans <xdje42@gmail.com>
527
528 * symtab.h (struct field_of_this_result): Fix typo in comment.
529 (lookup_symbol_in_language): Move function comment here.
530 (lookup_symbol): Improve function comment.
531 (basic_lookup_symbol_nonlocal): Ditto.
532 (lookup_symbol_static, lookup_symbol_global): Ditto.
533 (lookup_symbol_aux_block): Ditto.
534 (lookup_language_this): Add function comment.
535 (lookup_static_symbol_aux): Explicitly mark as extern. Improve
536 function comment.
537 (lookup_block_symbol): Improve function comment.
538 (lookup_struct): Fix capitalization in function comment.
539 (lookup_transparent_type): Add function comment.
540 (lookup_global_symbol_from_objfile): Explicitly mark as extern.
541 Improve function comment.
542 (lookup_objfile_from_block): Add function comment.
543 * symtab.c (lookup_symbol_in_language): Update function comment.
544 (lookup_symbol, lookup_language_this): Ditto.
545 (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
546 (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
547 (basic_lookup_symbol_nonlocal): Ditto.
548 (lookup_symbol_static, lookup_symbol_global): Ditto.
549 (lookup_transparent_type, lookup_block_symbol): Ditto.
550
551 2014-10-25 Doug Evans <xdje42@gmail.com>
552
553 * symtab.c (types_info): Delete forward decl.
554 (functions_info, variables_info, sources_info): Ditto.
555 (_initialize_symtab): Rewrite forward decl to use
556 initialize_file_ftype.
557
558 2014-10-25 Doug Evans <xdje42@gmail.com>
559
560 * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
561
562 2014-10-25 Doug Evans <xdje42@gmail.com>
563
564 * dwarf2read.c (process_structure_scope): Remove second (nested) copy
565 of local var child_die.
566
567 2014-10-24 Don Breazeal <donb@codesourcery.com>
568
569 * infrun.c (follow_fork_inferior): Update fork message printing
570 to use target_terminal_ours_for_output instead of
571 target_terminal_ours, to use _() for all format strings, to print
572 "vfork" instead of "fork" for vforks, and to add a detach message.
573 (handle_vfork_child_exec_or_exit): Update message printing to use
574 target_terminal_ours_for_output instead of target_terminal_ours, to
575 use _() for all format strings, and to fix some formatting.
576
577 2014-10-24 Pedro Alves <palves@redhat.com>
578
579 * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
580 * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
581 * config/vax/vax.mh: Delete.
582 * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
583 obsolete configurations section.
584 * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
585 * vax-nat.c: Delete file.
586
587 2014-10-24 Pedro Alves <palves@redhat.com>
588
589 * NEWS (Removed targets): Add OS/arch column.
590
591 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
592
593 * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
594 on the arg type of a constructor only if it is of reference type.
595
596 2014-10-23 Sandra Loosemore <sandra@codesourcery.com>
597
598 * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
599 accessors and constants from nios2 opcodes update.
600 (nios2_get_next_pc): Likewise.
601
602 2014-10-19 Doug Evans <xdje42@gmail.com>
603
604 * gdbthread.h (set_running): Fix comment.
605 (set_executing, finish_thread_state): Fix comment.
606
607 2014-10-18 Doug Evans <xdje42@gmail.com>
608
609 * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
610
611 2014-10-17 Doug Evans <dje@google.com>
612
613 * NEWS: Mention new event gdb.clear_objfiles.
614 * python/py-event.h (emit_clear_objfiles_event): Clear
615 * python/py-events.h (events_object): New member clear_objfiles.
616 * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
617 event.
618 * python/py-inferior.c (python_new_objfile): If objfile is NULL,
619 emit clear_objfiles event.
620 * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
621 function.
622 (emit_clear_objfiles_event): New function.
623 (clear_objfiles): New event.
624 * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
625 Declare.
626 * python/python.c (_initialize_python): Call
627 gdbpy_initialize_clear_objfiles_event.
628
629 2014-10-17 Doug Evans <dje@google.com>
630
631 * NEWS: Mention new gdb.Objfile.progspace attribute.
632 * python/py-objfile.c (objfpy_get_progspace): New function.
633 (objfile_getset): New entry for "progspace".
634
635 2014-10-17 Pedro Alves <palves@redhat.com>
636
637 PR gdb/17471
638 * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
639 returns a copy of the input.
640 (run_command_1, continue_command, step_1, jump_command)
641 (signal_command, until_command, advance_command, finish_command)
642 (attach_command): Adjust and install a cleanup to free the
643 stripped args.
644
645 2014-10-17 Pedro Alves <palves@redhat.com>
646
647 PR gdb/17300
648 * infcmd.c (continue_1): If continuing all threads in the
649 foreground, make sure the inferior's terminal settings are put in
650 effect.
651
652 2014-10-17 Pedro Alves <palves@redhat.com>
653
654 PR gdb/17472
655 * annotate.c (annotate_breakpoints_invalid): Use
656 target_terminal_our_for_output instead of target_terminal_ours.
657 Give back the terminal to the target.
658 (annotate_frames_invalid): Likewise.
659
660 2014-10-17 Pedro Alves <palves@redhat.com>
661
662 * target.c (enum terminal_state): New enum.
663 (terminal_state): New global.
664 (target_terminal_init): New function.
665 (target_terminal_inferior): Skip if inferior already owns the
666 terminal.
667 (target_terminal_ours, target_terminal_ours_for_output): New
668 functions.
669 * target.h (target_terminal_init): Convert to function prototype.
670 (target_terminal_ours_for_output): Convert to function prototype
671 and tweak comment.
672 (target_terminal_ours): Convert to function prototype and tweak
673 comment.
674 * windows-nat.c (do_initial_windows_stuff): Call
675 target_terminal_init instead of child_terminal_init_with_pgrp.
676
677 2014-10-17 Pedro Alves <palves@redhat.com>
678
679 * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
680 (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
681 (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
682 solib-osf.c.
683 * NEWS: Mention that support for alpha*-*-osf* has been removed.
684 * ada-lang.h [__alpha__ && __osf__]
685 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
686 * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
687 * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
688 GDB_OSABI_OSF1.
689 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
690 files.
691 * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
692 (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
693 * configure: Regenerate.
694 * configure.ac: Remove references to osf.
695 * configure.host: Handle alpha*-*-osf* in the obsolete hosts
696 section. Remove all other references to osf.
697 * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
698 Remove all other references to osf.
699 * dec-thread.c: Delete file.
700 * defs.h (GDB_OSABI_OSF1): Delete.
701 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
702 defined.
703 * osabi.c (gdb_osabi_names): Delete "OSF/1".
704 * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
705 Delete code.
706 (unconditionally_kill_inferior)
707 [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
708 * solib-osf.c: Delete file.
709
710 2014-10-17 Pedro Alves <palves@redhat.com>
711
712 * remote.c (clear_threads_listing_context): Move higher up, out of
713 the HAVE_LIBEXPAT guard.
714
715 2014-10-16 Tristan Gingold <gingold@adacore.com>
716
717 * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
718 (i386_darwin_store_inferior_registers): Sanitize gs and fs values
719 on amd64.
720
721 2014-10-15 Pedro Alves <palves@redhat.com>
722
723 * dec-thread.c (dec_thread_count_gdb_threads)
724 (dec_thread_add_gdb_thread): Delete.
725 (dec_thread_update_thread_list): Delete.
726 (dec_thread_find_new_threads): Rename to ...
727 (dec_thread_update_thread_list): ... this. Delete GDB-size
728 threads that are no longer found in dec_thread_list.
729 (resync_thread_list): Delete.
730 (dec_thread_wait): Call dec_thread_update_thread_list instead of
731 resync_thread_list.
732
733 2014-10-15 Pedro Alves <palves@redhat.com>
734
735 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
736 * remote.c (remote_update_thread_list): Skip calling prune_threads
737 if any thread listing method is supported, and instead walk over
738 the set of remote threads listed, deleting those that are not
739 found in GDB's thread list.
740
741 2014-10-15 Pedro Alves <palves@redhat.com>
742
743 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
744 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
745 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
746 (bsd_uthread_target): Adjust.
747 * corelow.c (core_open): Adjust.
748 * dec-thread.c (dec_thread_find_new_threads): Update comment.
749 (dec_thread_update_thread_list): New function.
750 (init_dec_thread_ops): Adjust.
751 * gdbthread.h (prune_threads): New declaration.
752 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
753 (thread_db_update_thread_list): ... this. Call prune_threads.
754 (init_thread_db_ops): Adjust.
755 * nto-procfs.c (procfs_find_new_threads): Rename to ...
756 (procfs_update_thread_list): ... this. Call prune_threads.
757 (procfs_attach, procfs_create_inferior, init_procfs_targets):
758 Adjust.
759 * obsd-nat.c (obsd_find_new_threads): Rename to ...
760 (obsd_update_thread_list): ... this. Call prune_threads.
761 (obsd_add_target): Adjust.
762 * procfs.c (procfs_target): Adjust.
763 (procfs_notice_thread): Update comment.
764 (procfs_find_new_threads): Rename to ...
765 (procfs_update_thread_list): ... this. Call prune_threads.
766 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
767 comment.
768 (ravenscar_wait): Adjust.
769 (ravenscar_find_new_threads): Rename to ...
770 (ravenscar_update_thread_list): ... this. Call prune_threads.
771 (init_ravenscar_thread_ops): Adjust.
772 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
773 (record_btrace_update_thread_list): ... this. Adjust comment.
774 (init_record_btrace_ops): Adjust.
775 * remote.c (remote_threads_info): Rename to ...
776 (remote_update_thread_list): ... this. Call prune_threads.
777 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
778 Adjust.
779 * sol-thread.c (check_for_thread_db): Adjust.
780 (sol_find_new_threads_callback): Rename to ...
781 (sol_update_thread_list_callback): ... this.
782 (sol_find_new_threads): Rename to ...
783 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
784 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
785 * target-delegates.c: Regenerate.
786 * target.c (target_find_new_threads): Rename to ...
787 (target_update_thread_list): ... this.
788 * target.h (struct target_ops): Rename to_find_new_threads field
789 to to_update_thread_list.
790 (target_find_new_threads): Rename to ...
791 (target_update_thread_list): ... this.
792 * thread.c (prune_threads): Make extern.
793 (update_thread_list): Adjust.
794
795 2014-10-15 Pedro Alves <palves@redhat.com>
796
797 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
798 Add describing comment. Return -1 if the qL packet is not
799 supported.
800 (struct thread_item, thread_item_t): Move higher up in
801 the file. Add comments.
802 (struct threads_parsing_context): Move higher up in
803 the file, add comments, and remote to ...
804 (struct threads_listing_context): ... this.
805 (remote_newthread_step): Don't add the thread to GDB's thread
806 database here. Instead push it to the thread_listing_context
807 list.
808 (remote_find_new_threads): Rename to ...
809 (remote_get_threads_with_ql): ... this. Add target_ops and
810 targets_listing_context parameters. Pass down context.
811 (start_thread): Adjust.
812 (clear_threads_parsing_context): Rename to ...
813 (clear_threads_listing_context): ... this.
814 (remote_get_threads_with_qxfer): New, with parts salvaged from old
815 remote_threads_info.
816 (remote_get_threads_with_qthreadinfo): Ditto.
817 (remote_threads_info): Reimplement.
818
819 2014-10-15 Pedro Alves <palves@redhat.com>
820
821 * infrun.c (resume): Don't force displaced-stepping for all
822 single-steps on software single-stepping archs.
823
824 2014-10-15 Pedro Alves <palves@redhat.com>
825
826 * breakpoint.c (single_step_breakpoints): Delete global.
827 (insert_single_step_breakpoint): Adjust to store the breakpoint
828 pointer in the current thread.
829 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
830 (cancel_single_step_breakpoints): Delete functions.
831 (breakpoint_has_location_inserted_here): Make extern.
832 (single_step_breakpoint_inserted_here_p): Adjust to walk the
833 breakpoint list.
834 * breakpoint.h (breakpoint_has_location_inserted_here): New
835 declaration.
836 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
837 (cancel_single_step_breakpoints): Remove declarations.
838 * gdbthread.h (struct thread_control_state)
839 <single_step_breakpoints>: New field.
840 (delete_single_step_breakpoints)
841 (thread_has_single_step_breakpoints_set)
842 (thread_has_single_step_breakpoint_here): New declarations.
843 * infrun.c (follow_exec): Also clear the single-step breakpoints.
844 (singlestep_breakpoints_inserted_p, singlestep_ptid)
845 (singlestep_pc): Delete globals.
846 (infrun_thread_ptid_changed): Remove references to removed
847 globals.
848 (resume_cleanups): Delete the current thread's single-step
849 breakpoints.
850 (maybe_software_singlestep): Remove references to removed globals.
851 (resume): Adjust to use thread_has_single_step_breakpoints_set and
852 delete_single_step_breakpoints.
853 (init_wait_for_inferior): Remove references to removed globals.
854 (delete_thread_infrun_breakpoints): Delete the thread's
855 single-step breakpoints too.
856 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
857 single-step breakpoints here.
858 (delete_stopped_threads_single_step_breakpoints): New function.
859 (adjust_pc_after_break): Adjust to use
860 thread_has_single_step_breakpoints_set.
861 (handle_inferior_event): Remove references to removed globals.
862 Use delete_stopped_threads_single_step_breakpoints.
863 (handle_signal_stop): Adjust to per-thread single-step
864 breakpoints. Swap test order to do cheaper tests first.
865 (switch_back_to_stepped_thread): Extend debug output. Remove
866 references to removed globals.
867 * record-full.c (record_full_wait_1): Adjust to per-thread
868 single-step breakpoints.
869 * thread.c (delete_single_step_breakpoints)
870 (thread_has_single_step_breakpoints_set)
871 (thread_has_single_step_breakpoint_here): New functions.
872 (clear_thread_inferior_resources): Also delete the thread's
873 single-step breakpoints.
874
875 2014-10-15 Pedro Alves <palves@redhat.com>
876
877 * thread.c (delete_thread_breakpoint): New function.
878 (delete_step_resume_breakpoint)
879 (delete_exception_resume_breakpoint): Use it.
880 (delete_at_next_stop): New function.
881 (clear_thread_inferior_resources): Use delete_at_next_stop.
882
883 2014-10-15 Pedro Alves <palves@redhat.com>
884
885 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
886 (breakpoint_inserted_here_p): ... here. Remove special case for
887 software single-step breakpoints.
888 (find_non_raw_software_breakpoint_inserted_here): Inline ...
889 (software_breakpoint_inserted_here_p): ... here. Remove special
890 case for software single-step breakpoints.
891 (bp_target_info_copy_insertion_state)
892 (deprecated_insert_raw_breakpoint)
893 (deprecated_remove_raw_breakpoint): Delete functions.
894 * breakpoint.h (deprecated_insert_raw_breakpoint)
895 (deprecated_remove_raw_breakpoint): Remove declarations.
896
897 2014-10-15 Pedro Alves <palves@redhat.com>
898
899 PR breakpoints/9649
900 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
901 Delete array globals.
902 (single_step_breakpoints): New global.
903 (breakpoint_xfer_memory): Remove special handling for single-step
904 breakpoints.
905 (update_breakpoints_after_exec): Delete bp_single_step
906 breakpoints.
907 (detach_breakpoints): Remove special handling for single-step
908 breakpoints.
909 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
910 (bpstat_stop_status): Add comment.
911 (bpstat_what, bptype_string, print_one_breakpoint_location)
912 (adjust_breakpoint_address, init_bp_location): Handle
913 bp_single_step.
914 (new_single_step_breakpoint): New function.
915 (set_momentary_breakpoint, bkpt_remove_location): Remove special
916 handling for single-step breakpoints.
917 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
918 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
919 Rewrite.
920 (detach_single_step_breakpoints, find_single_step_breakpoint):
921 Delete functions.
922 (breakpoint_has_location_inserted_here): New function.
923 (single_step_breakpoint_inserted_here_p): Rewrite.
924 * breakpoint.h: Remove FIXME.
925 (enum bptype) <bp_single_step>: New enum value.
926 (insert_single_step_breakpoint): Update comment.
927 * infrun.c (resume_cleanups)
928 (delete_step_thread_step_resume_breakpoint): Remove single-step
929 breakpoints.
930 (fetch_inferior_event): Install a cleanup that removes infrun
931 breakpoints.
932 (switch_back_to_stepped_thread) <expect thread advanced also>:
933 Clear step-over info.
934
935 2014-10-15 Pedro Alves <palves@redhat.com>
936
937 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
938 (delete_thread_infrun_breakpoints): New function, with parts
939 salvaged from delete_step_resume_breakpoint_callback.
940 (delete_step_thread_step_resume_breakpoint): Delete.
941 (for_each_just_stopped_thread_callback_func): New typedef.
942 (for_each_just_stopped_thread): New function.
943 (delete_just_stopped_threads_infrun_breakpoints): New function.
944 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
945 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
946 ... this. Adjust.
947 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
948
949 2014-10-15 Pedro Alves <palves@redhat.com>
950
951 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
952 trying to step past a non-steppable watchpoint.
953 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
954 field.
955 * infrun.c (struct step_over_info): Add new field
956 'nonsteppable_watchpoint_p' and adjust comments.
957 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
958 Adjust.
959 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
960 (stepping_past_nonsteppable_watchpoint): New function.
961 (step_over_info_valid_p): Also return true if stepping past a
962 nonsteppable watchpoint.
963 (proceed): Adjust call to set_step_over_info. Remove reference to
964 init_infwait_state.
965 (init_wait_for_inferior): Remove reference to init_infwait_state.
966 (waiton_ptid): Delete global.
967 (struct execution_control_state)
968 <stepped_after_stopped_by_watchpoint>: Delete field.
969 (wait_for_inferior, fetch_inferior_event): Always pass
970 minus_one_ptid to target_wait.
971 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
972 field.
973 (init_infwait_state): Delete function.
974 (handle_inferior_event): Remove infwait_state handling.
975 (handle_signal_stop) <watchpoints handling>: Adjust after
976 stepped_after_stopped_by_watchpoint removal. Don't remove
977 breakpoints here nor set infwait_state. Set the thread's
978 stepping_over_watchpoint flag, and call keep_going instead.
979 (keep_going): Handle stepping_over_watchpoint. Adjust
980 set_step_over_info calls.
981 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
982 function.
983
984 2014-10-15 Pedro Alves <palves@redhat.com>
985
986 * infrun.c (step_over_info_valid_p): New function.
987 (resume): Use step_over_info_valid_p instead of checking the
988 threads's trap_expected flag.
989
990 2014-10-15 Doug Evans <dje@google.com>
991 Walfred Tedeschi <walfred.tedeschi@intel.com>
992
993 PR python/17364
994 * python/lib/gdb/__init__.py (packages): Add "printer".
995 * python/lib/gdb/command/bound_registers.py: Moved to ...
996 * python/lib/gdb/printer/bound_registers.py: ... here.
997 Add printer to global set of builtin printers. Rename printer from
998 "bound" to "mpx_bound128".
999 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
1000 registered as global "builtin" printer.
1001 (add_builtin_pretty_printer): New function.
1002 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
1003 gdb/printer/__init__.py.
1004
1005 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1006
1007 * Makefile.in (SFILES): Remove d-support.c.
1008 (COMMON_OBS): Remove d-support.o.
1009 * d-lang.h (d_parse_symbol): Remove declaration.
1010 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
1011 * d-support.c: Remove file.
1012
1013 2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1014
1015 * gdb/infrun.c (process_event_stop_test): Apply
1016 gdbarch_addr_bits_remove to longjmp resume address.
1017
1018 2014-10-15 Pedro Alves <palves@redhat.com>
1019
1020 * regformats/microblaze.dat: Delete file.
1021
1022 2014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
1023
1024 * features/Makefile (microblaze-expedite): Replace pc with rpc.
1025 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1026
1027 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1028
1029 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
1030 as non-trivial.
1031
1032 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1033
1034 PR c++/13403
1035 PR c++/15154
1036 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
1037 with qualified args.
1038
1039 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1040
1041 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
1042 of the case where the second operand is a pointer.
1043 <BINOP_SUB>: Likewise.
1044
1045 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1046
1047 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
1048 only if it is not NULL.
1049 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
1050 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
1051 (struct probe_ops) <clear_semaphore>: Likewise.
1052 * tracepoint.c (start_tracing): Call set_semaphore only if it is
1053 not NULL.
1054 (stop_tracing): Likewise, for clear_semaphore.
1055
1056 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1057
1058 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
1059 using language_c, instead of current_language.
1060
1061 2014-10-13 Doug Evans <dje@google.com>
1062
1063 * python/py-objfile.c (objfpy_initialize): New function.
1064 (objfpy_new, objfile_to_objfile_object): Call it.
1065 * python/py-progspace.c (pspy_initialize): New function.
1066 (pspy_new, pspace_to_pspace_object): Call it.
1067
1068 2014-10-13 Miroslav Franc <mfranc@redhat.com>
1069 Jan Kratochvil <jan.kratochvil@redhat.com>
1070
1071 Fix "save breakpoints" for "catch" command.
1072 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
1073 newline.
1074
1075 2014-10-12 Miroslav Franc <mfranc@redhat.com>
1076
1077 Fix "save breakpoints" for "disable $bpnum" command.
1078 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
1079
1080 2014-10-10 Pedro Alves <palves@redhat.com>
1081
1082 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
1083 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
1084 (HFILES_NO_SRCDIR): Remove solib-irix.h.
1085 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
1086 and been removed.
1087 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
1088 * configure.ac: Remove references to IRIX.
1089 * configure.host: Add *-*-irix* to the obsolete hosts section.
1090 Remove all other references to irix.
1091 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
1092 Delete files.
1093
1094 2014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
1095
1096 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
1097 isn't valid, release the tdesc arch data and return NULL.
1098
1099 2014-10-10 Pedro Alves <palves@redhat.com>
1100
1101 * linux-tdep.c: Include observer.h.
1102 (linux_inferior_data): New global.
1103 (struct linux_info): New structure.
1104 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
1105 (get_linux_inferior_data): New functions.
1106 (linux_vsyscall_range): Rename to ...
1107 (linux_vsyscall_range_raw): ... this.
1108 (linux_vsyscall_range): New function; handles caching.
1109 (_initialize_linux_tdep): Register linux_inferior_data. Install
1110 inferior_exit and inferior_appeared observers.
1111
1112 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1113 Pedro Alves <palves@redhat.com>
1114
1115 PR symtab/14466
1116 * solib-svr4.c (svr4_read_so_list): Rename to ...
1117 (svr4_current_sos_1): ... this and change the function comment.
1118 (svr4_current_sos): New function.
1119
1120 2014-10-10 Pedro Alves <palves@redhat.com>
1121
1122 * arch-utils.c (default_vsyscall_range): New function.
1123 * arch-utils.h (default_vsyscall_range): New declaration.
1124 * gdbarch.sh (vsyscall_range): New hook.
1125 * gdbarch.h, gdbarch.c: Regenerate.
1126 * linux-tdep.c (linux_vsyscall_range): New function.
1127 (linux_init_abi): Install linux_vsyscall_range as
1128 vsyscall_range gdbarch hook.
1129 * memrange.c (address_in_mem_range): New function.
1130 * memrange.h (address_in_mem_range): New declaration.
1131 * symfile-mem.c (find_vdso_size): Delete function.
1132 (add_vsyscall_page): Use gdbarch_vsyscall_range.
1133
1134 2014-10-10 Pedro Alves <palves@redhat.com>
1135
1136 * infrun.c (normal_stop): Fix typo in comment.
1137
1138 2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
1139
1140 PR tdep/9390
1141 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
1142 typo when using logical AND to determine instruction type.
1143
1144 2014-10-09 Yao Qi <yao@codesourcery.com>
1145
1146 * infrun.c (handle_signal_stop): Remove local variable
1147 'printed'.
1148
1149 2014-10-08 Stan Shebs <stan@codesourcery.com>
1150
1151 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
1152
1153 2014-10-08 Gary Benson <gbenson@redhat.com>
1154
1155 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
1156
1157 2014-10-08 Gary Benson <gbenson@redhat.com>
1158
1159 * common/common-defs.h: Include common-exceptions.h.
1160 * exceptions.h: Do not include common-exceptions.h.
1161
1162 2014-10-08 Gary Benson <gbenson@redhat.com>
1163
1164 * common/common-defs.h: Include cleanups.h.
1165 * common/common-exceptions.c: Do not include cleanups.h.
1166 * utils.h: Likewise.
1167
1168 2014-10-08 Gary Benson <gbenson@redhat.com>
1169
1170 * ada-lang.c: Do not include exceptions.h.
1171 * ada-valprint.c: Likewise.
1172 * amd64-tdep.c: Likewise.
1173 * auto-load.c: Likewise.
1174 * block.c: Likewise.
1175 * break-catch-throw.c: Likewise.
1176 * breakpoint.c: Likewise.
1177 * btrace.c: Likewise.
1178 * c-lang.c: Likewise.
1179 * cli/cli-cmds.c: Likewise.
1180 * cli/cli-interp.c: Likewise.
1181 * cli/cli-script.c: Likewise.
1182 * completer.c: Likewise.
1183 * corefile.c: Likewise.
1184 * corelow.c: Likewise.
1185 * cp-abi.c: Likewise.
1186 * cp-support.c: Likewise.
1187 * cp-valprint.c: Likewise.
1188 * darwin-nat.c: Likewise.
1189 * dwarf2-frame-tailcall.c: Likewise.
1190 * dwarf2-frame.c: Likewise.
1191 * dwarf2loc.c: Likewise.
1192 * dwarf2read.c: Likewise.
1193 * eval.c: Likewise.
1194 * event-loop.c: Likewise.
1195 * event-top.c: Likewise.
1196 * f-valprint.c: Likewise.
1197 * frame-unwind.c: Likewise.
1198 * frame.c: Likewise.
1199 * gdbtypes.c: Likewise.
1200 * gnu-v2-abi.c: Likewise.
1201 * gnu-v3-abi.c: Likewise.
1202 * guile/scm-auto-load.c: Likewise.
1203 * guile/scm-breakpoint.c: Likewise.
1204 * guile/scm-cmd.c: Likewise.
1205 * guile/scm-frame.c: Likewise.
1206 * guile/scm-lazy-string.c: Likewise.
1207 * guile/scm-param.c: Likewise.
1208 * guile/scm-symbol.c: Likewise.
1209 * guile/scm-type.c: Likewise.
1210 * hppa-hpux-tdep.c: Likewise.
1211 * i386-tdep.c: Likewise.
1212 * inf-loop.c: Likewise.
1213 * infcall.c: Likewise.
1214 * infcmd.c: Likewise.
1215 * infrun.c: Likewise.
1216 * interps.c: Likewise.
1217 * interps.h: Likewise.
1218 * jit.c: Likewise.
1219 * linespec.c: Likewise.
1220 * linux-nat.c: Likewise.
1221 * linux-thread-db.c: Likewise.
1222 * m32r-rom.c: Likewise.
1223 * main.c: Likewise.
1224 * memory-map.c: Likewise.
1225 * mi/mi-cmd-break.c: Likewise.
1226 * mi/mi-cmd-stack.c: Likewise.
1227 * mi/mi-interp.c: Likewise.
1228 * mi/mi-main.c: Likewise.
1229 * monitor.c: Likewise.
1230 * nto-procfs.c: Likewise.
1231 * objc-lang.c: Likewise.
1232 * p-valprint.c: Likewise.
1233 * parse.c: Likewise.
1234 * ppc-linux-tdep.c: Likewise.
1235 * printcmd.c: Likewise.
1236 * probe.c: Likewise.
1237 * python/py-auto-load.c: Likewise.
1238 * python/py-breakpoint.c: Likewise.
1239 * python/py-cmd.c: Likewise.
1240 * python/py-finishbreakpoint.c: Likewise.
1241 * python/py-frame.c: Likewise.
1242 * python/py-framefilter.c: Likewise.
1243 * python/py-function.c: Likewise.
1244 * python/py-gdb-readline.c: Likewise.
1245 * python/py-inferior.c: Likewise.
1246 * python/py-infthread.c: Likewise.
1247 * python/py-lazy-string.c: Likewise.
1248 * python/py-linetable.c: Likewise.
1249 * python/py-param.c: Likewise.
1250 * python/py-prettyprint.c: Likewise.
1251 * python/py-symbol.c: Likewise.
1252 * python/py-type.c: Likewise.
1253 * python/py-value.c: Likewise.
1254 * python/python-internal.h: Likewise.
1255 * python/python.c: Likewise.
1256 * record-btrace.c: Likewise.
1257 * record-full.c: Likewise.
1258 * regcache.c: Likewise.
1259 * remote-fileio.c: Likewise.
1260 * remote-mips.c: Likewise.
1261 * remote.c: Likewise.
1262 * rs6000-aix-tdep.c: Likewise.
1263 * rs6000-nat.c: Likewise.
1264 * skip.c: Likewise.
1265 * solib-darwin.c: Likewise.
1266 * solib-dsbt.c: Likewise.
1267 * solib-frv.c: Likewise.
1268 * solib-ia64-hpux.c: Likewise.
1269 * solib-spu.c: Likewise.
1270 * solib-svr4.c: Likewise.
1271 * solib.c: Likewise.
1272 * spu-tdep.c: Likewise.
1273 * stack.c: Likewise.
1274 * stap-probe.c: Likewise.
1275 * symfile-mem.c: Likewise.
1276 * symmisc.c: Likewise.
1277 * target.c: Likewise.
1278 * thread.c: Likewise.
1279 * top.c: Likewise.
1280 * tracepoint.c: Likewise.
1281 * tui/tui-interp.c: Likewise.
1282 * typeprint.c: Likewise.
1283 * utils.c: Likewise.
1284 * valarith.c: Likewise.
1285 * valops.c: Likewise.
1286 * valprint.c: Likewise.
1287 * value.c: Likewise.
1288 * varobj.c: Likewise.
1289 * windows-nat.c: Likewise.
1290 * xml-support.c: Likewise.
1291
1292 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1293
1294 * mips-tdep.c (add_offset_16): Rewrite to implement what the
1295 name implies.
1296 (extended_mips16_next_pc): Update accordingly.
1297
1298 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1299
1300 * mips-tdep.c (mips16_instruction_is_compact_branch): New
1301 function.
1302 (micromips_instruction_is_compact_branch): Likewise.
1303 (mips16_scan_prologue): Terminate scanning upon seeing a branch
1304 or a compact jump, reaching a jump delay slot, or seeing a
1305 second non-prologue instruction.
1306 (micromips_scan_prologue): Also terminate scanning upon seeing a
1307 compact branch or jump, or reaching a branch or jump delay slot.
1308 (mips32_scan_prologue): Terminate scanning upon reaching a branch
1309 or jump delay slot, or seeing a second non-prologue instruction.
1310 (mips32_instruction_has_delay_slot): Retain instruction
1311 examination code only, update arguments accordingly and move
1312 instruction fetch pieces to...
1313 (mips32_insn_at_pc_has_delay_slot): ... this new function.
1314 (micromips_instruction_has_delay_slot): Likewise and to...
1315 (micromips_insn_at_pc_has_delay_slot): ... this new function.
1316 (mips16_instruction_has_delay_slot): Likewise and to...
1317 (mips16_insn_at_pc_has_delay_slot): ... this new function.
1318 (mips_single_step_through_delay): Update accordingly.
1319 (mips_adjust_breakpoint_address): Likewise.
1320
1321 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1322
1323 * mips-tdep.c (micromips_instruction_has_delay_slot): When
1324 !mustbe32 also return 1 for 32-bit instructions.
1325 (mips16_instruction_has_delay_slot): Likewise. Add an
1326 explanatory comment.
1327
1328 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1329
1330 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
1331 symbols special.
1332
1333 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1334
1335 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
1336 update comments.
1337 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
1338 for the breakpoint's address. Don't preinitialize `placed_size'.
1339 (insert_bp_location): Set `reqstd_address' rather than
1340 `placed_address'.
1341 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
1342 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
1343 address.
1344 (bkpt_remove_location): Likewise.
1345 (deprecated_insert_raw_breakpoint): Likewise.
1346 (deprecated_remove_raw_breakpoint): Likewise.
1347 (find_single_step_breakpoint): Likewise.
1348 * mem-break.c (default_memory_insert_breakpoint): Use
1349 `reqstd_address' for the breakpoint's address. Don't set
1350 `placed_address' or `placed_size' if breakpoint contents couldn't
1351 have been determined.
1352 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
1353 the breakpoint's address.
1354 (remote_insert_hw_breakpoint): Likewise. Don't set
1355 `placed_address' or `placed_size' if breakpoint couldn't have been
1356 set.
1357 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
1358 `reqstd_address' for the breakpoint's address.
1359 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
1360 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
1361 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
1362 * microblaze-linux-tdep.c
1363 (microblaze_linux_memory_remove_breakpoint): Likewise.
1364 * monitor.c (monitor_insert_breakpoint): Likewise.
1365 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
1366 (procfs_insert_hw_breakpoint): Likewise.
1367 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
1368 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
1369 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
1370 * remote-mips.c (mips_insert_breakpoint): Likewise.
1371 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
1372
1373 2014-10-03 Luis Machado <lgustavo@codesourcery.com>
1374
1375 * valops.c (value_assign): Check for bit field assignments
1376 before calling architecture-specific register value
1377 conversion functions.
1378
1379 2014-10-03 Pierre Muller <muller@sourceware.org>
1380
1381 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
1382
1383 2014-10-02 Pedro Alves <palves@redhat.com>
1384
1385 * breakpoint.c (breakpoints_should_be_inserted_now): Use
1386 threads_are_executing.
1387 * breakpoint.h (breakpoints_should_be_inserted_now): Add
1388 describing comment.
1389 * gdbthread.h (threads_are_executing): Declare.
1390 (handle_signal_stop) <random signals>: Don't print about the
1391 signal here if stopping.
1392 (end_stepping_range): Don't notify observers here.
1393 (normal_stop): Update the thread list. If stopped by a random
1394 signal or a stepping range ended, notify observers.
1395 * thread.c (threads_executing): New global.
1396 (init_thread_list): Clear 'threads_executing'.
1397 (set_executing): Set or clear 'threads_executing'.
1398 (threads_are_executing): New function.
1399 (update_threads_executing): New function.
1400 (update_thread_list): Use it.
1401
1402 2014-10-02 Pedro Alves <palves@redhat.com>
1403
1404 PR breakpoints/17431
1405 * breakpoint.c (update_breakpoints_after_exec): Don't create
1406 overlay, longjmp, std terminate nor exception breakpoints here.
1407
1408 2014-10-02 Pedro Alves <palves@redhat.com>
1409
1410 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
1411 Adjust comments.
1412 * inferior.c (find_inferior_for_program_space): Give preference to
1413 the current inferior.
1414 * inferior.h (find_inferior_for_program_space): Update comment.
1415 * progspace.c (switch_to_program_space_and_thread): Prefer the
1416 current inferior if it's bound to the program space requested. If
1417 the inferior found doesn't have a PID yet, don't bother looking up
1418 a thread.
1419 * progspace.h (switch_to_program_space_and_thread): Adjust
1420 comment.
1421 * thread.c (any_thread_of_process, any_live_thread_of_process):
1422 Give preference to the current thread.
1423
1424 2014-10-01 Pedro Alves <palves@redhat.com>
1425
1426 * breakpoint.c (insert_bp_location): Error out if inserting a
1427 software breakpoint at a read-only address.
1428 * target.c (memory_xfer_check_region): New function, factored out
1429 from ...
1430 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
1431 ULONGEST.
1432 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
1433 against the memory region attributes.
1434
1435 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1436
1437 * NEWS: Announce new exit-code field in -list-thread-groups
1438 output.
1439 * inferior.c (exit_inferior_1): Don't clear exit code.
1440 (inferior_appeared): Clear exit code.
1441 * mi/mi-main.c (print_one_inferior): Add printing of the exit
1442 code.
1443
1444 2014-10-01 Pedro Alves <palves@redhat.com>
1445
1446 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
1447 GENERATED" along with emacs/vi read-only markers.
1448 * regformats/aarch64.dat: Regenerate.
1449 * regformats/arm-with-iwmmxt.dat: Regenerate.
1450 * regformats/arm-with-neon.dat: Regenerate.
1451 * regformats/arm-with-vfpv2.dat: Regenerate.
1452 * regformats/arm-with-vfpv3.dat: Regenerate.
1453 * regformats/i386/amd64-avx-linux.dat: Regenerate.
1454 * regformats/i386/amd64-avx.dat: Regenerate.
1455 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
1456 * regformats/i386/amd64-avx512.dat: Regenerate.
1457 * regformats/i386/amd64-linux.dat: Regenerate.
1458 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
1459 * regformats/i386/amd64-mpx.dat: Regenerate.
1460 * regformats/i386/amd64.dat: Regenerate.
1461 * regformats/i386/i386-avx-linux.dat: Regenerate.
1462 * regformats/i386/i386-avx.dat: Regenerate.
1463 * regformats/i386/i386-avx512-linux.dat: Regenerate.
1464 * regformats/i386/i386-avx512.dat: Regenerate.
1465 * regformats/i386/i386-linux.dat: Regenerate.
1466 * regformats/i386/i386-mmx-linux.dat: Regenerate.
1467 * regformats/i386/i386-mmx.dat: Regenerate.
1468 * regformats/i386/i386-mpx-linux.dat: Regenerate.
1469 * regformats/i386/i386-mpx.dat: Regenerate.
1470 * regformats/i386/i386.dat: Regenerate.
1471 * regformats/i386/x32-avx-linux.dat: Regenerate.
1472 * regformats/i386/x32-avx.dat: Regenerate.
1473 * regformats/i386/x32-avx512-linux.dat: Regenerate.
1474 * regformats/i386/x32-avx512.dat: Regenerate.
1475 * regformats/i386/x32-linux.dat: Regenerate.
1476 * regformats/i386/x32.dat: Regenerate.
1477 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1478 * regformats/mips-dsp-linux.dat: Regenerate.
1479 * regformats/mips-linux.dat: Regenerate.
1480 * regformats/mips64-dsp-linux.dat: Regenerate.
1481 * regformats/mips64-linux.dat: Regenerate.
1482 * regformats/nios2-linux.dat: Regenerate.
1483 * regformats/rs6000/powerpc-32.dat: Regenerate.
1484 * regformats/rs6000/powerpc-32l.dat: Regenerate.
1485 * regformats/rs6000/powerpc-64l.dat: Regenerate.
1486 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
1487 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
1488 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
1489 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
1490 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
1491 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
1492 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
1493 * regformats/s390-linux32.dat: Regenerate.
1494 * regformats/s390-linux32v1.dat: Regenerate.
1495 * regformats/s390-linux32v2.dat: Regenerate.
1496 * regformats/s390-linux64.dat: Regenerate.
1497 * regformats/s390-linux64v1.dat: Regenerate.
1498 * regformats/s390-linux64v2.dat: Regenerate.
1499 * regformats/s390-te-linux64.dat: Regenerate.
1500 * regformats/s390x-linux64.dat: Regenerate.
1501 * regformats/s390x-linux64v1.dat: Regenerate.
1502 * regformats/s390x-linux64v2.dat: Regenerate.
1503 * regformats/s390x-te-linux64.dat: Regenerate.
1504 * regformats/tic6x-c62x-linux.dat: Regenerate.
1505 * regformats/tic6x-c62x.dat: Regenerate.
1506 * regformats/tic6x-c64x-linux.dat: Regenerate.
1507 * regformats/tic6x-c64x.dat: Regenerate.
1508 * regformats/tic6x-c64xp-linux.dat: Regenerate.
1509 * regformats/tic6x-c64xp.dat: Regenerate.
1510
1511 2014-10-01 Pedro Alves <palves@redhat.com>
1512
1513 * features/Makefile: Update comments.
1514 (XMLTOC): List all xml files we build C files from.
1515 (clean-cfiles): New rule.
1516
1517 2014-10-01 Pedro Alves <palves@redhat.com>
1518
1519 * features/i386/amd64-avx512-linux.c: Regenerate.
1520 * features/i386/amd64-avx512.c: Regenerate.
1521 * features/i386/x32-avx512-linux.c: Regenerate.
1522 * features/i386/x32-avx512.c: Regenerate.
1523
1524 2014-10-01 Pedro Alves <palves@redhat.com>
1525
1526 * features/Makefile (WHICH): Remove arm-with-m,
1527 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
1528
1529 2014-10-01 Pedro Alves <palves@redhat.com>
1530
1531 * features/Makefile (clean): New rule.
1532
1533 2014-10-01 Pedro Alves <palves@redhat.com>
1534
1535 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
1536 (zmm14h): Add missing end quotes.
1537
1538 2014-10-01 Pedro Alves <palves@redhat.com>
1539
1540 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
1541 * features/aarch64.c: Regenerate.
1542
1543 2014-09-30 Don Breazeal <donb@codesourcery.com>
1544
1545 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
1546 code so as to work with follow_fork_inferior.
1547 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
1548 (inf_ttrace_create_inferior): Remove reference to
1549 inf_ttrace_vfork_ppid.
1550 (inf_ttrace_attach): Ditto.
1551 (inf_ttrace_detach): Ditto.
1552 (inf_ttrace_kill): Use current_inferior instead of
1553 inf_ttrace_vfork_ppid.
1554 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
1555 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
1556 inferior away from the parent.
1557 * infrun.c (follow_fork): Call follow_fork_inferior instead of
1558 target_follow_fork.
1559 (follow_fork_inferior): New function.
1560 (follow_inferior_reset_breakpoints): Make function static.
1561 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
1562 * linux-nat.c (linux_child_follow_fork): Move target-independent
1563 code to infrun.c:follow_fork_inferior.
1564
1565 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1566
1567 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
1568 * gdbarch.c: Regenerate.
1569 * gdbarch.h: Likewise.
1570 * corelow.c (sniff_core_bfd): Drop presence check for deleted
1571 gdbarch method 'regset_from_core_section'.
1572 (get_core_register_section): Remove handling for the case that
1573 regset == NULL and regset_from_core_section is defined.
1574 (get_core_registers): Drop check for deleted method.
1575 * procfs.c (procfs_do_thread_registers): Adjust comment.
1576
1577 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1578
1579 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
1580 (linux_nat_make_corefile_notes): Remove.
1581 (linux_target_install_ops): Do not set target method
1582 'make_corefile_notes'.
1583 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
1584 Remove field.
1585 (linux_corefile_thread_callback): Instead of args->collect, call
1586 linux_collect_thread_registers.
1587 (linux_make_corefile_notes): Remove 'collect' parameter. Return
1588 NULL unless there is a regset iterator.
1589 (linux_make_corefile_notes_1): Remove.
1590 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
1591 by linux_make_corefile_notes.
1592 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
1593
1594 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1595
1596 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
1597 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
1598 Remove.
1599 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
1600
1601 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1602
1603 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
1604 (xtensa_iterate_over_regset_sections): New.
1605 (xtensa_gdbarch_init): Adjust gdbarch initialization.
1606
1607 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1608
1609 * vax-tdep.c (vax_regset_from_core_section): Remove.
1610 (vax_iterate_over_regset_sections): New.
1611 (vax_gdbarch_init): Adjust gdbarch initialization.
1612
1613 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1614
1615 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
1616 (tilegx_regset_from_core_section): Remove.
1617 (tilegx_iterate_over_regset_sections): New.
1618 (tilegx_linux_init_abi): Adjust gdbarch initialization.
1619
1620 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1621
1622 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
1623 (sparc_iterate_over_regset_sections): New.
1624 (sparc32_gdbarch_init): Adjust gdbarch initialization.
1625 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
1626 targets.
1627 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
1628 (sparc64fbsd_init_abi): Call fbsd_init_abi.
1629 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
1630 target method 'make_corefile_notes'.
1631
1632 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1633
1634 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
1635 'sizeof_gregset' and 'sizeof_fpregset'.
1636 * sh-tdep.c (sh_regset_from_core_section): Remove.
1637 (sh_iterate_over_regset_sections): New.
1638 (sh_gdbarch_init): Adjust gdbarch initialization.
1639 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
1640 sizeof_fpregset.
1641 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
1642 'sizeof_gregset'.
1643
1644 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1645
1646 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
1647 (score7_linux_iterate_over_regset_sections): New.
1648 (score_gdbarch_init): Adjust gdbarch initialization.
1649
1650 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1651
1652 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
1653 FreeBSD targets.
1654 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
1655 method 'make_corefile_notes'.
1656 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
1657 (ppcfbsd_regset_from_core_section): Remove.
1658 (ppcfbsd_iterate_over_regset_sections): New.
1659 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
1660 initialization.
1661 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
1662 (ppcnbsd_iterate_over_regset_sections): New.
1663 (ppcnbsd_init_abi): Adjust.
1664 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
1665 (ppcobsd_iterate_over_regset_sections): New.
1666 (ppcobsd_init_abi): Adjust.
1667 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
1668 (rs6000_aix_iterate_over_regset_sections): New.
1669 (rs6000_aix_init_osabi): Adjust.
1670
1671 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1672
1673 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
1674 (nios2_regset_from_core_section): Remove.
1675 (nios2_iterate_over_regset_sections): New.
1676 (nios2_linux_init_abi): Adjust gdbarch initialization.
1677
1678 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1679
1680 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
1681 (am33_iterate_over_regset_sections): New.
1682 (am33_linux_init_osabi): Adjust gdbarch initialization.
1683
1684 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1685
1686 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
1687 (mips_linux_iterate_over_regset_sections): New.
1688 (mips_linux_init_abi): Adjust gdbarch initialization.
1689 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
1690 (mips64obsd_iterate_over_regset_sections): New.
1691 (mips64obsd_init_abi): Adjust.
1692 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
1693 (mipsnbsd_iterate_over_regset_sections): New.
1694 (mipsnbsd_init_abi): Adjust.
1695
1696 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1697
1698 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
1699 (m88k_iterate_over_regset_sections): New.
1700 (m88k_gdbarch_init): Adjust gdbarch initialization.
1701
1702 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1703
1704 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
1705 (ia64_linux_iterate_over_regset_sections): New.
1706 (ia64_linux_init_abi): Adjust gdbarch initialization.
1707
1708 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1709
1710 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
1711 (m68kbsd_iterate_over_regset_sections): New.
1712 (m68kbsd_init_abi): Adjust gdbarch initialization.
1713 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
1714 (m68k_linux_iterate_over_regset_sections): New.
1715 (m68k_linux_init_abi): Adjust gdbarch initialization.
1716
1717 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1718
1719 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
1720 (m32r_linux_regset_from_core_section): Remove.
1721 (m32r_linux_iterate_over_regset_sections): New.
1722 (m32r_linux_init_abi): Adjust gdbarch initialization.
1723
1724 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1725
1726 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
1727 (amd64obsd_iterate_over_regset_sections): New.
1728 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
1729 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
1730 Remove.
1731 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
1732 regset_from_core_section initialization.
1733 * i386-tdep.c (i386_regset_from_core_section): Remove.
1734 (i386_iterate_over_regset_sections): New.
1735 (i386_gdbarch_init): Adjust gdbarch initialization.
1736 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
1737 (i386_iterate_over_regset_sections): New prototype.
1738 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
1739 Remove.
1740 (i386obsd_aout_iterate_over_regset_sections): New.
1741 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
1742 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
1743 targets.
1744 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
1745 (amd64fbsd_init_abi): Call fbsd_init_abi.
1746 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
1747 (i386fbsd4_init_abi): Call fbsd_init_abi.
1748 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
1749 target method 'make_corefile_notes'.
1750 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
1751
1752 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1753
1754 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
1755 (hppa_hpux_iterate_over_regset_sections): New.
1756 (hppa_hpux_init_abi): Adjust gdbarch initialization.
1757 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
1758 (hppa_linux_iterate_over_regset_sections): New.
1759 (hppa_linux_init_abi): Adjust.
1760 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1761 (hppanbsd_iterate_over_regset_sections): New.
1762 (hppanbsd_init_abi): Adjust.
1763 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1764 (hppaobsd_iterate_over_regset_sections): New.
1765 (hppaobsd_init_abi): Adjust.
1766
1767 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1768
1769 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
1770 (frv_linux_iterate_over_regset_sections): New.
1771 (frv_linux_init_abi): Adjust gdbarch initialization.
1772
1773 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1774
1775 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
1776 (armbsd_iterate_over_regset_sections): New prototype.
1777 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
1778 (armbsd_iterate_over_regset_sections): New.
1779 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
1780 initialization.
1781
1782 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1783
1784 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
1785 (alpha_linux_iterate_over_regset_sections): New.
1786 (alpha_linux_init_abi): Adjust gdbarch initialization.
1787 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
1788 prototype.
1789 (alphanbsd_iterate_over_regset_sections): New prototype.
1790
1791 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1792
1793 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
1794 Remove.
1795 (aarch64_linux_iterate_over_regset_sections): New.
1796 (aarch64_linux_init_abi): Adjust gdbarch initialization.
1797
1798 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1799
1800 * fbsd-tdep.c: New file.
1801 * fbsd-tdep.h: New file.
1802 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
1803 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
1804 (ALLDEPFILES): Add fbsd-tdep.c.
1805
1806 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1807
1808 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
1809 parameter.
1810 * gdbarch.h: Regenerate.
1811 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
1812 iterator.
1813 (get_core_register_section): Add parameter 'regset' and use it, if
1814 set. Add parameter 'min_size' and verify the bfd section size
1815 against it.
1816 (get_core_registers_cb): Add parameter 'regset' and pass it to
1817 get_core_register section. For the "standard" register sections
1818 ".reg" and ".reg2", set an appropriate default for human_name.
1819 (get_core_registers): Don't abort when the gdbarch has an iterator
1820 but no regset_from_core_section. Add NULL/0 for parameters
1821 'regset'/'min_size' in calls to get_core_register_section.
1822 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
1823 'regset' and use it instead of calling the
1824 regset_from_core_section gdbarch method.
1825 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
1826 * i386-tdep.c (i386_supply_xstateregset)
1827 (i386_collect_xstateregset, i386_xstateregset): Moved to
1828 i386-linux-tdep.c.
1829 (i386_regset_from_core_section): Drop handling for .reg-xfp and
1830 .reg-xstate.
1831 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
1832 core file support only if the regset iterator hasn't been set.
1833 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
1834 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
1835 Moved from i386-tdep.c and renamed to *_linux*.
1836 (i386_linux_iterate_over_regset_sections): Add regset parameter to
1837 each callback invocation. Allow any .reg-xstate size when reading
1838 from a core file.
1839 * amd64-tdep.c (amd64_supply_xstateregset)
1840 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
1841 amd64-linux-tdep.c.
1842 (amd64_regset_from_core_section): Remove.
1843 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
1844 install an amd64-specific regset_from_core_section gdbarch method.
1845 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
1846 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
1847 Moved from amd64-tdep.c and renamed to *_linux*.
1848 (amd64_linux_iterate_over_regset_sections): Add regset parameter
1849 to each callback invocation. Allow any .reg-xstate size when
1850 reading from a core file.
1851 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
1852 (arm_linux_iterate_over_regset_sections): Add regset parameter to
1853 each callback invocation.
1854 (arm_linux_init_abi): No longer set the regset_from_core_section
1855 gdbarch method.
1856 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
1857 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
1858 each callback invocation.
1859 (ppc_linux_init_abi): No longer set the regset_from_core_section
1860 gdbarch method.
1861 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
1862 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
1863 (s390_regset_from_core_section): Remove.
1864 (s390_iterate_over_regset_sections): Add regset parameter to each
1865 callback invocation.
1866 (s390_gdbarch_init): No longer set the regset_from_core_section
1867 gdbarch method. Drop initialization of deleted tdep fields.
1868
1869 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1870
1871 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
1872 (amd64_linux_iterate_over_regset_sections): New.
1873 (amd64_linux_init_abi_common): Don't install the regset section
1874 list, but the new iterator in gdbarch.
1875 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
1876 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
1877 (arm_linux_iterate_over_regset_sections): ...here. New function.
1878 (arm_linux_init_abi): Set iterator instead of section list.
1879 * corelow.c (get_core_registers_cb): New function, logic moved
1880 from...
1881 (get_core_registers): ...loop body here. Use new iterator method
1882 instead of walking through the regset section list.
1883 * gdbarch.sh: Remove 'core_regset_sections'. New method
1884 'iterate_over_regset_sections'. New typedef
1885 'iterate_over_regset_sections_cb'.
1886 * gdbarch.c: Regenerate.
1887 * gdbarch.h: Likewise.
1888 * i386-linux-tdep.c (i386_linux_regset_sections)
1889 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
1890 Remove.
1891 (i386_linux_iterate_over_regset_sections): New.
1892 (i386_linux_init_abi): Don't choose a regset section list, but
1893 install new iterator in gdbarch.
1894 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
1895 (linux_collect_regset_section_cb): New function, logic moved
1896 from...
1897 (linux_collect_thread_registers): ...loop body here. Use iterator
1898 method instead of walking through list.
1899 (linux_make_corefile_notes_1): Check for presence of iterator
1900 method instead of regset section list.
1901 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
1902 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
1903 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
1904 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
1905 (ppc_linux_iterate_over_regset_sections): ...here. New function.
1906 (ppc_linux_init_abi): Don't choose from above regset section
1907 lists, but install new iterator in gdbarch.
1908 * regset.h (struct core_regset_section): Remove.
1909 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
1910 have_linux_v1, have_linux_v2, and have_tdb.
1911 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
1912 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
1913 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
1914 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
1915 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
1916 (s390_iterate_over_regset_sections): ...here. New function. Use
1917 new tdep fields.
1918 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
1919 regset section lists, but install new iterator.
1920
1921 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1922
1923 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
1924
1925 2014-09-26 Simon Marchi <simon.marchi@ericsson.com>
1926
1927 * progspace.c (print_program_space): Don't prune program spaces
1928 before printing them.
1929
1930 2014-09-25 Pedro Alves <palves@redhat.com>
1931
1932 * infrun.c (user_visible_resume_ptid): Don't check
1933 singlestep_breakpoints_inserted_p.
1934
1935 2014-09-25 Pedro Alves <palves@redhat.com>
1936
1937 * breakpoint.c (should_be_inserted): Add debug output.
1938
1939 2014-09-25 Pedro Alves <palves@redhat.com>
1940
1941 * infrun.c (stepping_past_instruction_at)
1942 (clear_exit_convenience_vars): Point at infrun.h instead of
1943 inferior.h.
1944 (handle_signal_stop): Fix typo.
1945
1946 2014-09-24 Yao Qi <yao@codesourcery.com>
1947
1948 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
1949 bitmask.
1950
1951 2014-09-22 Gary Benson <gbenson@redhat.com>
1952
1953 * target.c (target_stop): Updated comment.
1954
1955 2014-09-22 Gary Benson <gbenson@redhat.com>
1956
1957 * target/target.h (target_stop_ptid): Renamed as...
1958 (target_stop_and_wait): New function. Updated comment.
1959 All uses updated.
1960 (target_continue_ptid): Renamed as...
1961 (target_continue_no_signal): New function. Updated comment.
1962 All uses updated.
1963
1964 2014-09-22 Pedro Alves <palves@redhat.com>
1965
1966 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
1967 and "auto" merged.
1968 * breakpoint.c (enum ugll_insert_mode): New enum.
1969 (always_inserted_mode): Now a plain boolean.
1970 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
1971 (breakpoints_always_inserted_mode): Delete.
1972 (breakpoints_should_be_inserted_now): New function.
1973 (insert_breakpoints): Pass UGLL_INSERT to
1974 update_global_location_list instead of calling
1975 insert_breakpoint_locations manually.
1976 (create_solib_event_breakpoint_1): New, factored out from ...
1977 (create_solib_event_breakpoint): ... this.
1978 (create_and_insert_solib_event_breakpoint): Use
1979 create_solib_event_breakpoint_1 instead of calling
1980 insert_breakpoint_locations manually.
1981 (update_global_location_list): Change parameter type from boolean
1982 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1983 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1984 (update_global_location_list_nothrow): Change parameter type from
1985 boolean to enum ugll_insert_mode.
1986 (_initialize_breakpoint): "breakpoint always-inserted" option is
1987 now a boolean command. Update help text.
1988 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
1989 (breakpoints_should_be_inserted_now): New declaration.
1990 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
1991 Remove breakpoints_always_inserted_mode check.
1992 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
1993 * remote.c (remote_start_remote): Likewise.
1994
1995 2014-09-22 Pedro Alves <palves@redhat.com>
1996
1997 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
1998 (insert_breakpoints): Don't call insert_breakpoint_locations here.
1999 Instead, pass UGLL_INSERT to update_global_location_list.
2000 (update_global_location_list): Change parameter type from boolean
2001 to enum ugll_insert_mode. All callers adjusted. Adjust to use
2002 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
2003 (create_solib_event_breakpoint_1): New, factored out from ...
2004 (create_solib_event_breakpoint): ... this.
2005 (create_and_insert_solib_event_breakpoint): Use
2006 create_solib_event_breakpoint_1 instead of calling
2007 insert_breakpoint_locations manually.
2008 (update_global_location_list): Handle UGLL_INSERT.
2009
2010 2014-09-22 Pedro Alves <palves@redhat.com>
2011
2012 * breakpoint.c (enum ugll_insert_mode): New enum.
2013 (update_global_location_list)
2014 (update_global_location_list_nothrow): Change parameter type from
2015 boolean to enum ugll_insert_mode. All callers adjusted.
2016
2017 2014-09-19 Joel Brobecker <brobecker@adacore.com>
2018
2019 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
2020 SystemTap support in GDB.
2021
2022 2014-09-19 Don Breazeal <donb@codesourcery.com>
2023
2024 * linux-nat.c (linux_handle_extended_wait): Call
2025 linux_ptrace_get_extended_event.
2026 (wait_lwp): Call linux_is_extended_waitstatus.
2027 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
2028 and linux_is_extended_waitstatus.
2029 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
2030 linux_ptrace_get_extended_event.
2031 (linux_ptrace_get_extended_event): New function.
2032 (linux_is_extended_waitstatus): New function.
2033 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
2034 (linux_is_extended_waitstatus): New declarations.
2035
2036 2014-09-19 Yao Qi <yao@codesourcery.com>
2037
2038 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2039 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
2040 comments. Callers update.
2041 (dwarf_decode_lines): Likewise.
2042 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
2043 comments. Skip the line table if 'lowpc' is greater than
2044 'address'. Don't check
2045 dwarf2_per_objfile->has_section_at_zero.
2046
2047 2014-09-18 Doug Evans <dje@google.com>
2048
2049 * NEWS: Mention new "producer" attribute of gdb.Symtab.
2050 * python/py-symtab.c (stpy_get_producer): New function.
2051 (symtab_object_getset): Add "producer" attribute.
2052
2053 2014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
2054
2055 PR gdb/17384
2056 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
2057 (do_captured_read_memory_integer): Remove.
2058 (safe_read_memory_integer): Use target_read_memory directly instead
2059 of catching errors in do_captured_read_memory_integer.
2060
2061 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
2062
2063 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
2064 not gdb/doc.
2065
2066 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2067
2068 * objc-lang.c (find_implementation_from_class): Remove dead code.
2069
2070 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2071
2072 PR cli/7233
2073 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
2074 "fprintf_unfiltered (gdb_stdlog...)".
2075
2076 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2077
2078 PR breakpoints/12526
2079 * breakpoint.h (struct watchpoint): New fields val_bitpos and
2080 val_bitsize.
2081 * breakpoint.c (watch_command_1): Use these fields to retain
2082 bitfield information.
2083 (extract_bitfield_from_watchpoint_value): New function.
2084 (watchpoint_check): Use it.
2085 (update_watchpoint): Use it. Optimize the address and length of a
2086 HW watchpoint pointing to a bitfield.
2087 * value.h (unpack_value_bitfield): New prototype.
2088 * value.c (unpack_value_bitfield): Make extern.
2089
2090 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2091
2092 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
2093 x86-dregs.o.
2094 * gnu-nat.c (inf_threads): New function.
2095 * gnu-nat.h (inf_threads_ftype): New typedef.
2096 (inf_threads): New declaration.
2097 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
2098 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
2099 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
2100 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
2101 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
2102 (i386_gnu_dr_get_control): New functions.
2103 (reg_addr): New structure.
2104 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
2105 i386 debugging register hooks.
2106 * NEWS: Mention this.
2107
2108 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2109
2110 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
2111 vector data transfer instructions.
2112 (arm_record_coproc_data_proc): Updated.
2113
2114 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2115
2116 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
2117 arm_record_exreg_ld_st_insn.
2118 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
2119 load/store insns.
2120
2121 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2122
2123 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
2124 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
2125 processing instructions.
2126
2127 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2128
2129 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
2130 for advance SIMD struct ld/st insn.
2131 (thumb2_record_decode_insn_handler): Replace stub handler with
2132 thumb2_record_asimd_struct_ld_st.
2133
2134 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
2135
2136 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
2137 for asimd, vfp and coprocessor insns.
2138 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
2139 and coprocessor insns.
2140 (thumb2_record_coproc_insn): New function.
2141 (thumb2_record_decode_insn_handler): Update coprocessor insns record
2142 handlers.
2143 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
2144 opcode 110 insns.
2145
2146 2014-09-13 Doug Evans <xdje42@gmail.com>
2147
2148 * NEWS: Mention new "queue-signal" command.
2149 * infcmd.c (queue_signal_command): New function.
2150 (_initialize_infcmd): Add new queue-signal command.
2151
2152 2014-09-13 Doug Evans <xdje42@gmail.com>
2153
2154 * linux-nat.c (wait_lwp): Add debugging printf.
2155 (linux_nat_wait_1): Ditto.
2156
2157 2014-09-12 Pedro Alves <palves@redhat.com>
2158
2159 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
2160 (create_and_insert_solib_event_breakpoint): New functions.
2161 * breakpoint.h (create_and_insert_solib_event_breakpoint)
2162 (remove_solib_event_breakpoints_at_next_stop): New declarations.
2163 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
2164 (remove_dbx_link_breakpoint): Delete function.
2165 (insert_dbx_link_bpt_in_file): Use
2166 create_and_insert_solib_event_breakpoint instead of
2167 deprecated_insert_raw_breakpoint.
2168 (procfs_wait): Don't check whether we hit __dbx_link here.
2169 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
2170 here.
2171 * solib-irix.c (base_breakpoint): Delete global.
2172 (disable_break): Delete function.
2173 (enable_break): Use create_solib_event_breakpoint
2174 instead of deprecated_insert_raw_breakpoint.
2175 (irix_solib_handle_event): New function.
2176 (irix_solib_create_inferior_hook): Don't run the target or disable
2177 the mapping-complete breakpoint here.
2178 (_initialize_irix_solib): Install irix_solib_handle_event as
2179 so_ops->handle_event hook.
2180
2181 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2182 Ulrich Weigand  <uweigand@de.ibm.com>
2183
2184 PR tdep/17379
2185 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
2186 instead of read_memory_unsigned_integer.
2187
2188 2014-09-12 Gary Benson <gbenson@redhat.com>
2189
2190 * nat/linux-waitpid.c: Include common-defs.h.
2191 [GDBSERVER]: Add FIXME comment.
2192 [!GDBSERVER]: Don't include defs.h or signal.h.
2193 (linux_debug) [!GDBSERVER]: Remove empty block.
2194
2195 2014-09-12 Gary Benson <gbenson@redhat.com>
2196
2197 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
2198 Don't include defs.h or server.h.
2199
2200 2014-09-12 Gary Benson <gbenson@redhat.com>
2201
2202 * nat/linux-btrace.c: Include common-defs.h.
2203 Don't include defs.h, server.h or gdbthread.h.
2204 * nat/linux-btrace.h (struct target_ops): New forward declaration.
2205
2206 2014-09-12 Gary Benson <gbenson@redhat.com>
2207
2208 * common/agent.c: Include common-defs.h.
2209 Don't include defs.h or server.h.
2210 * common/buffer.c: Likewise.
2211 * common/common-debug.c: Likewise.
2212 * common/common-utils.c: Likewise.
2213 * common/errors.c: Likewise.
2214 * common/filestuff.c: Likewise.
2215 * common/format.c: Likewise.
2216 * common/gdb_vecs.c: Likewise.
2217 * common/print-utils.c: Likewise.
2218 * common/ptid.c: Likewise.
2219 * common/rsp-low.c: Likewise.
2220 * common/signals.c: Likewise.
2221 * common/vec.c: Likewise.
2222 * common/xml-utils.c: Likewise.
2223 * nat/linux-osdata.c: Likewise.
2224 * nat/linux-procfs.c: Likewise.
2225 * nat/linux-ptrace.c: Likewise.
2226 * nat/mips-linux-watch.c: Likewise.
2227 * target/waitstatus.c: Likewise.
2228
2229 2014-09-12 Tom Tromey <tromey@redhat.com>
2230 Gary Benson <gbenson@redhat.com>
2231
2232 * common/common-regcache.h: New file.
2233 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
2234 * regcache.h: Include common-regcache.h.
2235 (regcache_read_pc): Don't declare.
2236 * regcache.c (get_thread_regcache_for_ptid): New function.
2237 * nat/linux-btrace.c: Don't include regcache.h.
2238 Include common-regcache.h.
2239 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
2240
2241 2014-09-11 Thomas Schwinge <thomas@codesourcery.com>
2242
2243 * regcache.h (struct regset): Declare.
2244
2245 2014-09-11 Pedro Alves <palves@redhat.com>
2246
2247 PR gdb/17347
2248 * main.c: Include "infrun.h".
2249 (catch_command_errors, catch_command_errors_const): Wait for the
2250 foreground command to complete.
2251 * top.c (maybe_wait_sync_command_done): New function, factored out
2252 from ...
2253 (maybe_wait_sync_command_done): ... here.
2254 * top.h (maybe_wait_sync_command_done): New declaration.
2255
2256 2014-09-11 Tom Tromey <tromey@redhat.com>
2257 Gary Benson <gbenson@redhat.com>
2258
2259 * common/symbol.h: New file.
2260 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
2261 * minsyms.c (find_minimal_symbol_address): New function.
2262 * common/agent.c: Include common/symbol.h.
2263 [!GDBSERVER]: Don't include objfiles.h.
2264 (agent_look_up_symbols): Use find_minimal_symbol_address.
2265
2266 2014-09-11 Gary Benson <gbenson@redhat.com>
2267
2268 * target/target.h (target_stop_ptid, target_continue_ptid):
2269 Declare.
2270 * target.c (target_stop_ptid, target_continue_ptid): New
2271 functions.
2272 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
2273 (agent_run_command): Always use target_stop_ptid and
2274 target_continue_ptid.
2275
2276 2014-09-11 Tom Tromey <tromey@redhat.com>
2277 Gary Benson <gbenson@redhat.com>
2278
2279 * target/target.h: New file.
2280 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
2281 * target.h: Include target/target.h.
2282 (target_read_memory, target_write_memory): Don't declare.
2283 * target.c (target_read_uint32): New function.
2284 * common/agent.c: Include target/target.h.
2285 [!GDBSERVER]: Don't include target.h.
2286 (helper_thread_id): Type changed to uint32_t.
2287 (agent_get_helper_thread_id): Use target_read_uint32.
2288 (agent_run_command): Always use target_read_memory and
2289 target_write_memory.
2290 (agent_capability): Type changed to uint32_t.
2291 (agent_capability_check): Use target_read_uint32.
2292
2293 2014-09-11 Gary Benson <gbenson@redhat.com>
2294
2295 * common/common-debug.h (show_debug_regs): Declare.
2296 * common/common-debug.c (show_debug_regs): Define.
2297 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
2298 all uses with show_debug_regs. Replace all uses that considered
2299 debug_hw_points as a multi-value integer with straight boolean
2300 uses.
2301 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
2302 with show_debug_regs.
2303 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
2304 all uses with show_debug_regs.
2305 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
2306 uses with show_debug_regs.
2307
2308 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2309
2310 * findvar.c (address_from_register): Handle targets requiring
2311 a special conversion routine even for plain pointer types.
2312
2313 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2314
2315 * rs6000-nat.c (exec_one_dummy_insn): Remove.
2316 (store_register): Do not call exec_one_dummy_insn.
2317
2318 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2319
2320 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
2321 dereference it first. Use value_enclosing_type instead of
2322 value_type.
2323 (ada_array_length): Likewise.
2324
2325 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2326
2327 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
2328 Adjust function implementation and documentation accordingly.
2329 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
2330 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
2331 Update call to ada_value_ptr_subscript.
2332
2333 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2334
2335 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
2336 instead of VAL's type.
2337
2338 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2339
2340 * amd64-linux-nat.c: Add <sys/uio.h> #include.
2341
2342 2014-09-09 Doug Evans <xdje42@gmail.com>
2343
2344 PR guile/17367
2345 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
2346 last parameter to pkg-config, not first.
2347 * configure.ac: Pass --with-guile provided pkg-config path to
2348 GDB_GUILE_PROGRAM_NAMES.
2349 * configure: Regenerate.
2350
2351 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
2352
2353 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
2354 Bertazi".
2355
2356 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2357
2358 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
2359 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
2360 the list of sections determining GDB_OSABI_IRIX.
2361
2362 2014-09-09 James Hogan <james.hogan@imgtec.com>
2363
2364 * MAINTAINERS (Write After Approval): Add "James Hogan".
2365
2366 2014-09-09 James Hogan <james.hogan@imgtec.com>
2367
2368 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
2369
2370 2014-09-09 Joel Brobecker <brobecker@adacore.com>
2371
2372 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
2373
2374 2014-09-08 Doug Evans <xdje42@gmail.com>
2375
2376 PR 17247
2377 * guile.c: #include <signal.h>.
2378 (_initialize_guile): Block SIGCHLD while initializing Guile.
2379
2380 Replaces the following, which is reverted.
2381
2382 2014-07-26 Doug Evans <xdje42@gmail.com>
2383
2384 PR 17185
2385 * configure.ac: Add check for header gc/gc.h.
2386 Add check for function setenv.
2387 * configure: Regenerate.
2388 * config.in: Regenerate.
2389 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2390
2391 2014-09-08 Doug Evans <xdje42@gmail.com>
2392
2393 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
2394 with named constant. Fix style of pointer comparison.
2395 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
2396
2397 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2398
2399 PR gdb/17035
2400 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
2401 decide whether we display the command on "show user".
2402 * cli/cli-script.c (show_user_1): Only verify cmdlines after
2403 printing command name.
2404 * cli/cli-decode.h (cli_user_command_p): Declare new function.
2405 * cli/cli-decode.c (cli_user_command_p): Create helper function
2406 to verify whether cmd_list_element is a user-defined command.
2407
2408 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2409
2410 PR python/17355
2411 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
2412 Fix goto out of TRY_CATCH.
2413
2414 2014-09-06 Doug Evans <xdje42@gmail.com>
2415 Tom Tromey <tromey@redhat.com>
2416
2417 PR 15276
2418 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
2419 $_any_caller_matches.
2420 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
2421 * python/lib/gdb/function/caller_is.py: New file.
2422
2423 2014-09-06 Doug Evans <xdje42@gmail.com>
2424
2425 * infcmd.c (program_info): Fix typo.
2426
2427 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2428
2429 PR gdb/17235
2430 * stap-probe.c (stap_parse_single_operand): Delete unused variable
2431 'number'. New variable 'has_digit'. Rewrite code to deal with
2432 subexpressions on SDT probes.
2433
2434 2014-09-04 Pedro Alves <palves@redhat.com>
2435
2436 * c-exp.y (parse_number): Skip handling base-switching prefixes if
2437 the input is only one character long.
2438
2439 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2440
2441 PR fortran/17237
2442 * f-valprint.c (f_val_print): Specify the correct print option to
2443 use when printing integer values.
2444
2445 2014-09-04 Gary Benson <gbenson@redhat.com>
2446
2447 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
2448 Remove code to cope with LWPs wrapped as PIDs.
2449 Add assertions to ensure no wrapped LWPs are passed.
2450
2451 2014-09-04 Pedro Alves <palves@redhat.com>
2452
2453 * value.c (value_ranges_copy_adjusted): New function, factored out
2454 from ...
2455 (value_contents_copy_raw): ... here.
2456 (unpack_value_bits_as_long_1): Rename back to ...
2457 (unpack_bits_as_long): ... this. Remove 'original_value' and
2458 'result' parameters. Change return type to LONGEST.
2459 (unpack_value_bits_as_long): Delete.
2460 (unpack_value_field_as_long_1): Delete.
2461 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
2462 (unpack_value_bitfield): New function.
2463 (value_field_bitfield): Reimplement using unpack_value_bitfield.
2464 (value_fetch_lazy): Use unpack_value_bitfield.
2465 * value.h (unpack_value_bits_as_long): Delete declaration.
2466
2467 2014-09-03 Sasha Smundak <asmundak@google.com>
2468
2469 * python/py-frame.c (frapy_read_register): New function.
2470
2471 2014-09-03 James Hogan <james.hogan@imgtec.com>
2472
2473 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
2474 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
2475
2476 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2477
2478 PR python/16699
2479 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
2480 function.
2481 (add_cmd): Set "completer_handle_brkchars" to NULL.
2482 * cli/cli-decode.h (struct cmd_list_element)
2483 <completer_handle_brkchars>: New field.
2484 * command.h (completer_ftype_void): New typedef.
2485 (set_cmd_completer_handle_brkchars): New prototype.
2486 * completer.c (set_gdb_completion_word_break_characters): New
2487 function.
2488 (complete_line_internal): Call "completer_handle_brkchars"
2489 callback from command.
2490 * completer.h: Include "command.h".
2491 (set_gdb_completion_word_break_characters): New prototype.
2492 * python/py-cmd.c (cmdpy_completer_helper): New function.
2493 (cmdpy_completer_handle_brkchars): New function.
2494 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
2495 (cmdpy_init): Set completer_handle_brkchars to
2496 cmdpy_completer_handle_brkchars.
2497
2498 2014-09-03 Gary Benson <gbenson@redhat.com>
2499
2500 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
2501 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
2502 Loop conditions changed to equivalent form.
2503 (struct x86_debug_reg_state): Updated dr_ref_count comment.
2504 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
2505 ALL_DEBUG_ADDRESS_REGISTERS.
2506
2507 2014-09-03 Joel Brobecker <brobecker@adacore.com>
2508
2509 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
2510 description fix.
2511
2512 2014-09-02 Doug Evans <dje@google.com>
2513
2514 * typeprint.c (find_global_typedef): Fix comment.
2515
2516 2014-09-02 Gary Benson <gbenson@redhat.com>
2517
2518 * i386-nat.h: Renamed as...
2519 * x86-nat.h: New file. All type, function and variable name
2520 prefixes changed from "i386_" to "x86_". All references updated.
2521 * i386-nat.c: Renamed as...
2522 * x86-nat.c: New file. All type, function and variable name
2523 prefixes changed from "i386_" to "x86_". All references updated.
2524 * common/i386-xstate.h: Renamed as...
2525 * common/x86-xstate.h: New file. All type, function and variable
2526 name prefixes changed from "i386_" to "x86_". All references
2527 updated.
2528 * nat/i386-cpuid.h: Renamed as...
2529 * nat/x86-cpuid.h: New file. All type, function and variable name
2530 prefixes changed from "i386_" to "x86_". All references updated.
2531 * nat/i386-gcc-cpuid.h: Renamed as...
2532 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
2533 name prefixes changed from "i386_" to "x86_". All references
2534 updated.
2535 * nat/i386-dregs.h: Renamed as...
2536 * nat/x86-dregs.h: New file. All type, function and variable name
2537 prefixes changed from "i386_" to "x86_". All references updated.
2538 * nat/i386-dregs.c: Renamed as...
2539 * nat/x86-dregs.c: New file. All type, function and variable name
2540 prefixes changed from "i386_" to "x86_". All references updated.
2541
2542 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
2543
2544 * varobj.c (_initialize_varobj): Move to the end of file.
2545
2546 2014-08-29 Gary Benson <gbenson@redhat.com>
2547
2548 * common/common-exceptions.h: New file.
2549 * common/common-exceptions.c: Likewise.
2550 * Makefile.in (SFILES): Add common/common-exceptions.c.
2551 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
2552 (COMMON_OBS): Add common-exceptions.o.
2553 (common-exceptions.o): New rule.
2554 * exceptions.h (common-exceptions.h): Include.
2555 (gdb_setjmp.h): Do not include.
2556 (return_reason): Moved to common-exceptions.h.
2557 (enum return_reason): Likewise.
2558 (RETURN_MASK): Likewise.
2559 (typedef return_mask): Likewise.
2560 (enum errors): Likewise.
2561 (struct gdb_exception): Likewise.
2562 (exceptions_state_mc_init): Likewise.
2563 (exceptions_state_mc_action_iter): Likewise.
2564 (exceptions_state_mc_action_iter_1): Likewise.
2565 (TRY_CATCH): Likewise.
2566 (throw_exception): Likewise.
2567 (throw_verror): Likewise.
2568 (throw_vquit): Likewise.
2569 (throw_error): Likewise.
2570 (throw_quit): Likewise.
2571 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
2572 (enum catcher_action): Likewise.
2573 (struct catcher): Likewise.
2574 (current_catcher): Likewise.
2575 (catcher_list_size): Likewise.
2576 (exceptions_state_mc_init): Likewise.
2577 (catcher_pop): Likewise.
2578 (exceptions_state_mc): Likewise.
2579 (exceptions_state_mc_action_iter): Likewise.
2580 (exceptions_state_mc_action_iter_1): Likewise.
2581 (throw_exception): Likewise.
2582 (exception_messages): Likewise.
2583 (exception_messages_size): Likewise.
2584 (throw_it): Likewise.
2585 (throw_verror): Likewise.
2586 (throw_vquit): Likewise.
2587 (throw_error): Likewise.
2588 (throw_quit): Likewise.
2589 (prepare_to_throw_exception): New function.
2590
2591 2014-08-29 Gary Benson <gbenson@redhat.com>
2592
2593 * common/gdb_setjmp.h: New file.
2594 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
2595 * configure.ac: Move sigsetjmp check...
2596 * common/common.m4: ...here.
2597 * configure: Regenerate.
2598 * cp-support.c (SIGJMP_BUF): Delete.
2599 (SIGSETJMP): Likewise.
2600 (SIGLONGJMP): Likewise.
2601 * exceptions.h (gdb_setjmp.h): Include.
2602 (setjmp.h): Do not include.
2603 (EXCEPTIONS_SIGJMP_BUF): Delete.
2604 (EXCEPTIONS_SIGSETJMP): Likewise.
2605 (EXCEPTIONS_SIGLONGJMP): Likewise.
2606 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
2607 from gdb_setjmp.h.
2608 * exceptions.c: Likewise.
2609
2610 2014-08-29 Gary Benson <gbenson@redhat.com>
2611
2612 * cleanups.h: Moved to...
2613 * common/cleanups.h: New file.
2614 * cleanups.c: Moved to...
2615 * common/cleanups.c: New file. Include common-defs.h and
2616 cleanups.h. Do not include defs.h.
2617 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
2618 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
2619 (cleanups.o): New rule.
2620
2621 2014-08-29 Gary Benson <gbenson@redhat.com>
2622
2623 * common/errors.h (internal_warning): New declaration.
2624 (internal_vwarning): Likewise.
2625 * common/errors.c (internal_warning): New function.
2626 * utils.h (internal_warning): Don't declare.
2627 (internal_vwarning): Likewise.
2628 * utils.c (internal_warning): Removed.
2629
2630 2014-08-29 Gary Benson <gbenson@redhat.com>
2631
2632 * main.c (captured_main): Use warning during startup.
2633 Prefix startup warning messages with command name.
2634
2635 2014-08-29 Gary Benson <gbenson@redhat.com>
2636
2637 * main.c (captured_main): Handle usage errors with error.
2638
2639 2014-08-29 Gary Benson <gbenson@redhat.com>
2640
2641 * go32-nat.c (go32_create_inferior): Replace a fprintf/
2642 exit pair with a call to error. Wrap the message with _().
2643
2644 2014-08-29 Gary Benson <gbenson@redhat.com>
2645
2646 * main.c (captured_main): Replace a fprintf/exit
2647 pair with a call to error. Wrap the message with _().
2648
2649 2014-08-29 Gary Benson <gbenson@redhat.com>
2650
2651 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
2652 pairs with calls to error. Wrap the message with _().
2653
2654 2014-08-29 Gary Benson <gbenson@redhat.com>
2655
2656 * utils.c (vwarning): Protect calls to target_terminal_ours
2657 and wrap_here.
2658
2659 2014-08-29 Gary Benson <gbenson@redhat.com>
2660
2661 * exceptions.c (print_flush): Protect calls to
2662 target_terminal_ours and wrap_here.
2663
2664 2014-08-29 Gary Benson <gbenson@redhat.com>
2665
2666 * utils.h (filtered_printing_initialized): New declaration.
2667 * utils.c (abort_with_message): New function.
2668 (internal_vproblem): Use abort_with_message for first level
2669 recursive internal problems, and if gdb_stderr is not set up.
2670 Protect calls to target_terminal_ours, begin_line and query.
2671
2672 2014-08-28 Doug Evans <dje@google.com>
2673
2674 * symtab.c (in_prologue): Move definition to better spot.
2675 (skip_prologue_using_sal): Ditto.
2676
2677 2014-08-28 Doug Evans <dje@google.com>
2678
2679 * symtab.c (find_function_start_sal): Move definition to better spot.
2680
2681 2014-08-28 Yao Qi <yao@codesourcery.com>
2682
2683 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
2684 found_stack_adjust in forward scan. Remove condition check
2685 on found_stack_adjust which is always true. Indent the code.
2686
2687 2014-08-28 Yao Qi <yao@codesourcery.com>
2688
2689 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2690 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
2691 (dwarf_decode_lines): Remove argument
2692 want_line_info. Remove condition check on want_line_info.
2693 Callers update.
2694
2695 2014-08-27 Doug Evans <dje@google.com>
2696
2697 * dwarf2read.c (dwarf_record_line): Fix typo.
2698
2699 2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
2700
2701 * target.h (struct target_ops::to_terminal_save_ours): Remove
2702 declaration.
2703 (target_terminal_save_ours): Remove macro.
2704 * target-delegates.c: Regenerate.
2705 * inf-child.c (inf_child_target): Don't set the nonexistent
2706 field to_terminal_save_ours.
2707 * inferior.h (child_terminal_save_ours): Remove declaration.
2708 * terminal.h (gdb_save_tty_state): New declaration.
2709 * inflow.c (child_terminal_save_ours): Rename to ...
2710 (gdb_save_tty_state): ... this.
2711 * tui/tui.c: Include terminal.h.
2712 (tui_enable): Use gdb_save_tty_state instead of
2713 target_terminal_save_ours.
2714 (tui_disable): Likewise.
2715
2716 2014-08-25 Doug Evans <dje@google.com>
2717
2718 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
2719 Pass NULL instead of 0 for context pointer.
2720
2721 2014-08-25 Yao Qi <yao@codesourcery.com>
2722
2723 * dwarf2read.c: Fix grammatical error.
2724
2725 2014-08-24 Yao Qi <yao@codesourcery.com>
2726
2727 * dwarf2read.c (scan_partial_symbols): Update comments.
2728 Rename argument 'need_pc' with 'set_addrmap'.
2729 (add_partial_namespace): Rename argument 'need_pc' with
2730 'set_addrmap'.
2731 (add_partial_module): Likewise.
2732 (add_partial_subprogram): Likewise. Update comments.
2733 (dwarf2_name): Fix typo.
2734
2735 2014-08-22 Doug Evans <dje@google.com>
2736
2737 PR 17276
2738 * dwarf2read.c (dwarf_record_line_p): New function.
2739 (dwarf_decode_lines_1): Ignore subsequent line number entries
2740 for the same line if any entry had a non-zero discriminator.
2741
2742 2014-08-22 Doug Evans <dje@google.com>
2743
2744 * buildsym.h (record_line_ftype): New typedef.
2745 (record_line): Use it.
2746 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
2747 (dwarf_decode_lines_1): Call them.
2748
2749 2014-08-22 Yao Qi <yao@codesourcery.com>
2750
2751 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
2752 (ctf_end): Remove code.
2753
2754 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2755
2756 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
2757 (linux_make_corefile_notes): call update_thread_list, protected against
2758 exceptions.
2759
2760 2014-08-21 Pedro Alves <palves@redhat.com>
2761
2762 * infcmd.c (attach_command): Remove comment.
2763
2764 2014-08-21 Bin Cheng <bin.cheng@arm.com>
2765
2766 * aarch64-linux-nat.c (dr_changed_t): Change the type from
2767 unsigned LONGEST to ULONGEST.
2768
2769 2014-08-20 Pedro Alves <palves@redhat.com>
2770
2771 * Makefile.in (check-read1): New rule.
2772
2773 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2774
2775 * value.c (value_from_contents_and_address): Strip resolved_type's
2776 typedef layers before checking its TYPE_DATA_LOCATION.
2777
2778 2014-08-20 Pedro Alves <palves@redhat.com>
2779
2780 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
2781
2782 2014-08-20 Yao Qi <yao@codesourcery.com>
2783
2784 * amd64-tdep.c (amd64_classify): Add a blank line after the
2785 example. Move "*/" to a new line.
2786 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
2787 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
2788 * dwarf2read.c (psymtab_include_file_name): Likewise.
2789
2790 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2791 Pedro Alves <palves@redhat.com>
2792
2793 PR symtab/14604
2794 PR symtab/14605
2795 * ada-lang.c (coerce_unspec_val_to_type): Use
2796 value_contents_copy_raw.
2797 * ada-valprint.c (val_print_packed_array_elements): Adjust.
2798 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
2799 * cp-valprint.c (cp_print_value_fields): Let the common printing
2800 code handle optimized out values.
2801 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
2802 * d-valprint.c (dynamic_array_type): Use
2803 value_bits_any_optimized_out.
2804 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
2805 check_any_valid fields.
2806 (check_pieced_value_bits): Delete and inline ...
2807 (check_pieced_synthetic_pointer): ... here.
2808 (check_pieced_value_validity): Delete.
2809 (check_pieced_value_invalid): Delete.
2810 (pieced_value_funcs): Remove check_validity and check_any_valid
2811 fields.
2812 (read_pieced_value): Use mark_value_bits_optimized_out.
2813 (write_pieced_value): Switch to use
2814 mark_value_bytes_optimized_out.
2815 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
2816 of assuming the whole value is optimized out.
2817 * findvar.c (read_frame_register_value): Remove special handling
2818 of optimized out registers.
2819 (value_from_register): Use mark_value_bytes_optimized_out.
2820 * frame-unwind.c (frame_unwind_got_optimized): Use
2821 mark_value_bytes_optimized_out.
2822 * jv-valprint.c (java_value_print): Adjust.
2823 (java_print_value_fields): Let the common printing code handle
2824 optimized out values.
2825 * mips-tdep.c (mips_print_register): Remove special handling of
2826 optimized out registers.
2827 * opencl-lang.c (lval_func_check_validity): Delete.
2828 (lval_func_check_any_valid): Delete.
2829 (opencl_value_funcs): Remove check_validity and check_any_valid
2830 fields.
2831 * p-valprint.c (pascal_object_print_value_fields): Let the common
2832 printing code handle optimized out values.
2833 * stack.c (read_frame_arg): Remove special handling of optimized
2834 out values. Fetch both VAL and ENTRYVAL before comparing
2835 contents. Adjust to value_available_contents_eq rename.
2836 * valprint.c (valprint_check_validity)
2837 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
2838 (val_print_array_elements): Adjust.
2839 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
2840 (value_bits_any_optimized_out): New function.
2841 (value_entirely_covered_by_range_vector): New function, factored
2842 out from value_entirely_unavailable.
2843 (value_entirely_unavailable): Reimplement.
2844 (value_entirely_optimized_out): New function.
2845 (insert_into_bit_range_vector): New function, factored out from
2846 mark_value_bits_unavailable.
2847 (mark_value_bits_unavailable): Reimplement.
2848 (struct ranges_and_idx): New struct.
2849 (find_first_range_overlap_and_match): New function, factored out
2850 from value_available_contents_bits_eq.
2851 (value_available_contents_bits_eq): Rename to ...
2852 (value_contents_bits_eq): ... this. Check both unavailable
2853 contents and optimized out contents.
2854 (value_available_contents_eq): Rename to ...
2855 (value_contents_eq): ... this.
2856 (allocate_value_lazy): Remove reference to the old optimized_out
2857 boolean.
2858 (allocate_optimized_out_value): Use
2859 mark_value_bytes_optimized_out.
2860 (require_not_optimized_out): Adjust to check whether the
2861 optimized_out vec is empty.
2862 (ranges_copy_adjusted): New function, factored out from
2863 value_contents_copy_raw.
2864 (value_contents_copy_raw): Also copy the optimized out ranges.
2865 Assert the destination ranges aren't optimized out.
2866 (value_contents_copy): Update comment, remove call to
2867 require_not_optimized_out.
2868 (value_contents_equal): Adjust to check whether the optimized_out
2869 vec is empty.
2870 (set_value_optimized_out, value_optimized_out_const): Delete.
2871 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2872 New functions.
2873 (value_entirely_optimized_out, value_bits_valid): Delete.
2874 (value_copy): Take a VEC copy of the 'optimized_out' field.
2875 (value_primitive_field): Remove special handling of optimized out.
2876 (value_fetch_lazy): Assert that lazy values have no unavailable
2877 regions. Use value_bits_any_optimized_out. Remove some special
2878 handling for optimized out values.
2879 * value.h: Add intro comment about <optimized out> and
2880 <unavailable>.
2881 (struct lval_funcs): Remove check_validity and check_any_valid
2882 fields.
2883 (set_value_optimized_out, value_optimized_out_const): Remove.
2884 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2885 New declarations.
2886 (value_bits_any_optimized_out): New declaration.
2887 (value_bits_valid): Delete declaration.
2888 (value_available_contents_eq): Rename to ...
2889 (value_contents_eq): ... this, and extend comments.
2890
2891 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2892
2893 Fix -fsanitize=address on unreadable inferior strings.
2894 * valprint.c (val_print_string): Fix access before BUFFER.
2895
2896 2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
2897
2898 * target.c (target_struct_size): Remove.
2899 (target_struct_allocsize): Remove.
2900 (DEFAULT_ALLOCSIZE): Remove.
2901 (target_ops_p): New typedef.
2902 (DEF_VEC_P (target_ops_p)): New vector type.
2903 (target_structs): Change type to VEC (target_ops_p).
2904 (add_target_with_completer): Replace "push" code by VEC_safe_push.
2905 (find_default_run_target): Rewrite for loop following changes to
2906 target_structs.
2907
2908 2014-08-19 Joel Brobecker <brobecker@adacore.com>
2909
2910 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
2911 Adjust code accordingly. Adjust function description comment.
2912
2913 2014-08-19 Yao Qi <yao@codesourcery.com>
2914
2915 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
2916 types.
2917
2918 2014-08-19 Alan Modra <amodra@gmail.com>
2919
2920 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
2921 * config.in: Regenerate.
2922 * configure: Regenerate.
2923
2924 2014-08-19 Tom Tromey <tromey@redhat.com>
2925 Gary Benson <gbenson@redhat.com>
2926
2927 * common/common-debug.h: New file.
2928 * common/common-debug.c: Likewise.
2929 * debug.c: Likewise.
2930 * Makefile.in (SFILES): Add common/common-debug.c.
2931 (HFILES_NO_SRCDIR): Add common/common-debug.h.
2932 (COMMON_OBS): Add common-debug.o and debug.o.
2933 (common-debug.o): New rule.
2934 * common/common-defs.h: Include common-debug.h.
2935 * common/agent.c (debug_agent_printf): New function.
2936 (DEBUG_AGENT): Redefine.
2937 * nat/i386-dregs.c (debug_printf): Undefine.
2938
2939 2014-08-19 Gary Benson <gbenson@redhat.com>
2940
2941 * common/common-defs.h: Include print-utils.h.
2942 * utils.h: Do not include print-utils.h.
2943
2944 2014-08-19 Tom Tromey <tromey@redhat.com>
2945 Gary Benson <gbenson@redhat.com>
2946
2947 * common/common-types.h: New file.
2948 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
2949 * common/common-defs.h: Include common-types.h.
2950 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
2951 (ULONGEST): Remove.
2952
2953 2014-08-19 Tom Tromey <tromey@redhat.com>
2954 Gary Benson <gbenson@redhat.com>
2955
2956 * common/errors.h: New file.
2957 * common/errors.c: Likewise.
2958 * Makefile.in (SFILES): Add common/errors.c.
2959 (HFILES_NO_SRCDIR): Add common/errors.h.
2960 (COMMON_OBS): Add errors.o.
2961 (errors.o): New rule.
2962 * common/common-defs.h: Include errors.h.
2963 * utils.h (perror_with_name, error, verror, warning, vwarning):
2964 Don't declare.
2965 * common/common-utils.h: (malloc_failure, internal_error):
2966 Likewise.
2967
2968 2014-08-19 Gary Benson <gbenson@redhat.com>
2969
2970 * utils.c (internal_vproblem): Always print the message.
2971
2972 2014-08-18 Doug Evans <dje@google.com>
2973
2974 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
2975
2976 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2977
2978 * ada-typeprint.c (type_is_full_subrange_of_target_type):
2979 Return 0 if TYPE is dynamic.
2980 (print_range): Add handling of dynamic ranges.
2981
2982 2014-08-18 Keven Boell <keven.boell@intel.com>
2983 Joel Brobecker <brobecker@adacore.com>
2984
2985 * gdbtypes.h (struct main_type): Add field "data_location".
2986 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
2987 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
2988 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
2989 a dynamic data location.
2990 (resolve_dynamic_type): Add DW_AT_data_location handling.
2991 (copy_recursive, copy_type): Copy the data_location information
2992 when present.
2993 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
2994 * value.c (value_from_contents_and_address): Add
2995 DW_AT_data_location handling.
2996
2997 2014-08-18 Keven Boell <keven.boell@intel.com>
2998 Joel Brobecker <brobecker@adacore.com>
2999
3000 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
3001 field "get_object_address".
3002 * dwarf2expr.c (execute_stack_op): Add handling for
3003 DW_OP_push_object_address.
3004 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
3005 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
3006 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
3007 (dwarf_expr_get_obj_addr): New function.
3008 (dwarf_expr_ctx_funcs): Add get_object_address field.
3009 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
3010 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
3011 (dwarf2_evaluate_property): Add parameter "address". Use it.
3012 (needs_get_obj_addr): New function.
3013 (needs_frame_ctx_funcs): Add get_object_address field.
3014 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
3015 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
3016 (resolve_dynamic_array): Likewise.
3017
3018 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3019
3020 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
3021 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
3022 fixed value for records and unions for which some GNAT encodings
3023 are present.
3024
3025 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3026
3027 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
3028 rewrite to avoid "else if" and "else" constructs. Should be
3029 a no-op in practice.
3030
3031 2014-08-18 Joel Brobecker <brobecker@adacore.com>
3032
3033 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
3034 of lexical block.
3035
3036 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3037
3038 PR c++/17132
3039 * eval.c: Update all calls to find_overload_match.
3040 * valarith.c: Likewise.
3041 (value_user_defined_cpp_op, value_user_defined_op): New
3042 argument NOSIDE. Update all callers.
3043 * valops.c (find_overload_match): New argument NOSIDE.
3044 * value.h (find_overload_match): Update signature.
3045
3046 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3047
3048 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
3049 'items' methods instead of 'iteritems' method on dictionaries.
3050
3051 2014-08-15 Doug Evans <dje@google.com>
3052
3053 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
3054 closer to use.
3055
3056 2014-08-15 Doug Evans <dje@google.com>
3057
3058 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
3059
3060 2014-08-15 Doug Evans <dje@google.com>
3061
3062 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
3063
3064 2014-08-15 Doug Evans <dje@google.com>
3065
3066 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
3067 unused.
3068
3069 2014-08-15 Eli Zaretskii <eliz@gnu.org>
3070
3071 * dcache.h: Include target.h, to avoid compile time warnings.
3072
3073 2014-08-15 Joel Brobecker <brobecker@adacore.com>
3074
3075 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
3076 frame_info" partial declaration.
3077 * gdbarch.h: Regenerate.
3078
3079 2014-08-15 Yao Qi <yao@codesourcery.com>
3080
3081 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
3082 Add parameter 'decode_for_pst_p'. Callers update.
3083
3084 2014-08-13 Yao Qi <yao@codesourcery.com>
3085
3086 PR build/17104
3087 * configure.ac: Use local variable 'pos'.
3088 * configure: Regenerated.
3089
3090 2014-08-11 Doug Evans <dje@google.com>
3091
3092 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
3093 message, it is redundant with "Reading symbols from ..." message.
3094
3095 2014-08-10 Doug Evans <xdje42@gmail.com>
3096
3097 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
3098
3099 2014-08-09 Yao Qi <yao@codesourcery.com>
3100
3101 PR remote/9053
3102 * remote.c (remote_xfer_partial): Remove dead code.
3103
3104 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3105
3106 * ia64-linux-tdep.c: Include "regset.h".
3107 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
3108 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
3109 (ia64_linux_supply_fpregset): New function.
3110 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
3111 (ia64_linux_regset_from_core_section): New function.
3112 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
3113 method.
3114
3115 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3116
3117 * m68klinux-tdep.c: Include "regset.h".
3118 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
3119 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
3120 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
3121 (m68k_linux_regset_from_core_section): New function.
3122 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
3123 method.
3124
3125 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3126
3127 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
3128 function. Move logic to...
3129 (tilegx_linux_regmap): ... this new register map.
3130 (tilegx_linux_regset): Refer to register map, replace supply
3131 method by regcache_supply_regset, and add collect method.
3132 * tilegx-tdep.h (enum tilegx_regnum): New enum value
3133 TILEGX_FIRST_EASY_REGNUM.
3134
3135 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3136
3137 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
3138 that calls regcache_supply_regset and handles the EPC register
3139 separately. Move main logic to...
3140 (score7_linux_gregmap): ... this new register map.
3141 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
3142 (score7_linux_gregset): Refer to register map. Add collect method.
3143 (score7_linux_regset_from_core_section): Replace
3144 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
3145 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
3146 (struct regset): Delete unused forward declaraction.
3147 (struct pt_regs): Delete structure definition.
3148 (elf_gregset_t): Delete typedef.
3149
3150 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3151
3152 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
3153 (nios2_core_regset): Add collect method.
3154
3155 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3156
3157 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
3158 platform-independent and don't write to read-only input buffer.
3159 (m32r_linux_collect_gregset): New function.
3160 (m32r_linux_gregset): Add collect method.
3161
3162 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3163
3164 * hppa-linux-tdep.c (greg_map): Rename to...
3165 (hppa_linux_gregmap): ... this. Also convert to
3166 regcache_map_entry format.
3167 (hppa_linux_supply_regset): Delete function.
3168 (hppa_linux_supply_fpregset): Delete function. Move logic to...
3169 (hppa_linux_fpregmap): ... this new register map.
3170 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
3171 register map, replace supply method by regcache_supply_regset, and
3172 add collect method regcache_collect_regset.
3173
3174 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3175
3176 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
3177 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
3178 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
3179 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
3180 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
3181 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
3182 (frv_linux_supply_gregset): Replace main logic by call to
3183 regcache_supply_regset, but keep clearing gr32-gr63.
3184 (frv_linux_supply_fpregset): Delete function.
3185 (frv_linux_gregset): Refer to appropriate register map and add
3186 regcache_collect_regset as the collect method.
3187 (frv_linux_fpregset): Likewise. Also exchange the supply method
3188 by regcache_supply_regset.
3189
3190 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3191
3192 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
3193 by call to alpha_supply_int_regs.
3194 (alpha_linux_collect_gregset): New function.
3195 (alpha_linux_supply_fpregset): Replace logic by call to
3196 alpha_supply_fp_regs.
3197 (alpha_linux_collect_fpregset): New function.
3198 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
3199
3200 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3201
3202 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
3203 by call to regcache_collect_regset.
3204 (supply_gregset, supply_fpregset): Call regcache_supply_regset
3205 instead of aarch64_linux_supply_gregset/_fpregset.
3206 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
3207 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
3208 header file instead.
3209 (aarch64_linux_supply_gregset, supply_gregset_from_core)
3210 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
3211 functions. Move logic to ...
3212 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
3213 register maps.
3214 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
3215 refer to new register maps, replace *_regset_from_core by
3216 regcache_supply_regset, and also use regcache_collect_regset.
3217 * aarch64-linux-tdep.h: Include "regset.h".
3218 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
3219 Delete prototypes.
3220 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
3221 macros, moved from C source file.
3222 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
3223 variable declarations.
3224
3225 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3226
3227 * s390-linux-nat.c: Include "regset.h".
3228 (regmap_gregset): Delete macro.
3229 (s390_64_regmap_gregset): New register map for
3230 regcache_supply/_collect_regset.
3231 (s390_64_gregset): New regset.
3232 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
3233 (regmap_fpregset): Delete macro.
3234 (s390_native_supply, s390_native_collect): Delete functions.
3235 (supply_gregset, fill_gregset): Replace s390-specific regmap
3236 handling by a call to regcache_supply/_collect_regset.
3237 (supply_fpregset, fill_fpregset): Call regcache_supply/
3238 _collect_regset instead of s390_native_supply/_collect.
3239 (fetch_regset, store_regset): Likewise. Also change the last
3240 parameter to a regset instead of a regmap.
3241 (s390_linux_fetch_inferior_registers)
3242 (390_linux_store_inferior_registers): Adjust last parameter in
3243 calls to fetch_regset and store_regset.
3244 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
3245 (s390_gregmap): ... this. Also make static const and convert to
3246 regcache_map_entry format.
3247 (s390x_regmap_gregset): Delete.
3248 (s390_regmap_fpregset): Rename to...
3249 (s390_fpregmap): ... this. Make static const and convert to
3250 regcache_map_entry format.
3251 (s390_regmap_upper, s390_regmap_last_break)
3252 (s390x_regmap_last_break, s390_regmap_system_call)
3253 (s390_regmap_tdb): Likewise.
3254 (s390_supply_regset, s390_collect_regset): Remove functions.
3255 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
3256 s390_supply_regset.
3257 (s390_gregset, s390_fpregset, s390_upper_regset)
3258 (s390_last_break_regset, s390x_last_break_regset)
3259 (s390_system_call_regset, s390_tdb_regset): Make global and
3260 replace s390_supply/_collect_regset by regcache_supply/
3261 _collect_regset.
3262 (s390x_gregset): Delete.
3263 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
3264 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
3265 (s390_regmap_fpregset, s390_regmap_last_break)
3266 (s390x_regmap_last_break, s390_regmap_system_call)
3267 (s390_regmap_tdb): Delete global variable declarations.
3268 (s390_gregset, s390_fpregset, s390_last_break_regset)
3269 (s390x_last_break_regset, s390_system_call_regset)
3270 (s390_tdb_regset): New global variable declarations.
3271
3272 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3273
3274 * regcache.c: Include "regset.h".
3275 (regcache_transfer_regset): New local function.
3276 (regcache_supply_regset, regcache_collect_regset): New functions.
3277 * regcache.h (struct regcache_map_entry): New structure.
3278 (REGCACHE_MAP_SKIP): New enum value.
3279 (regcache_supply_regset, regcache_collect_regset): New prototypes.
3280
3281 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3282
3283 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
3284 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3285 (ppc_linux_collect_gregset ): Likewise.
3286 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
3287 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
3288 (ppc_collect_vrregset): Likewise.
3289 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
3290 Likewise.
3291
3292 2014-08-07 Yao Qi <yao@codesourcery.com>
3293
3294 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
3295 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
3296 * remote.c (remote_read_bytes): Likewise.
3297
3298 2014-08-07 Yao Qi <yao@codesourcery.com>
3299
3300 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
3301
3302 2014-08-07 Yao Qi <yao@codesourcery.com>
3303
3304 PR remote/17230
3305 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
3306 TARGET_XFER_OK instead of 0.
3307
3308 2014-08-07 Gary Benson <gbenson@redhat.com>
3309
3310 * common/common-defs.h: Include errno.h.
3311 * defs.h: Do not include errno.h.
3312 * ada-typeprint.c: Likewise.
3313 * c-typeprint.c: Likewise.
3314 * core-regset.c: Likewise.
3315 * corefile.c: Likewise.
3316 * corelow.c: Likewise.
3317 * event-loop.c: Likewise.
3318 * f-typeprint.c: Likewise.
3319 * gnu-nat.c: Likewise.
3320 * go32-nat.c: Likewise.
3321 * i386gnu-nat.c: Likewise.
3322 * m2-typeprint.c: Likewise.
3323 * nat/linux-btrace.c: Likewise.
3324 * p-typeprint.c: Likewise.
3325 * procfs.c: Likewise.
3326 * remote-sim.c: Likewise.
3327 * rs6000-nat.c: Likewise.
3328 * target.c: Likewise.
3329 * typeprint.c: Likewise.
3330 * ui-file.c: Likewise.
3331 * valops.c: Likewise.
3332 * valprint.c: Likewise.
3333
3334 2014-08-07 Gary Benson <gbenson@redhat.com>
3335
3336 * common/common-defs.h: Include string.h.
3337 * aarch64-tdep.c: Do not include string.h.
3338 * ada-exp.y: Likewise.
3339 * ada-lang.c: Likewise.
3340 * ada-lex.l: Likewise.
3341 * ada-typeprint.c: Likewise.
3342 * ada-valprint.c: Likewise.
3343 * aix-thread.c: Likewise.
3344 * alpha-linux-tdep.c: Likewise.
3345 * alpha-mdebug-tdep.c: Likewise.
3346 * alpha-nat.c: Likewise.
3347 * alpha-osf1-tdep.c: Likewise.
3348 * alpha-tdep.c: Likewise.
3349 * alphanbsd-tdep.c: Likewise.
3350 * amd64-dicos-tdep.c: Likewise.
3351 * amd64-linux-tdep.c: Likewise.
3352 * amd64-nat.c: Likewise.
3353 * amd64-sol2-tdep.c: Likewise.
3354 * amd64fbsd-tdep.c: Likewise.
3355 * amd64obsd-tdep.c: Likewise.
3356 * arch-utils.c: Likewise.
3357 * arm-linux-nat.c: Likewise.
3358 * arm-linux-tdep.c: Likewise.
3359 * arm-tdep.c: Likewise.
3360 * arm-wince-tdep.c: Likewise.
3361 * armbsd-tdep.c: Likewise.
3362 * armnbsd-nat.c: Likewise.
3363 * armnbsd-tdep.c: Likewise.
3364 * armobsd-tdep.c: Likewise.
3365 * avr-tdep.c: Likewise.
3366 * ax-gdb.c: Likewise.
3367 * ax-general.c: Likewise.
3368 * bcache.c: Likewise.
3369 * bfin-tdep.c: Likewise.
3370 * breakpoint.c: Likewise.
3371 * build-id.c: Likewise.
3372 * buildsym.c: Likewise.
3373 * c-exp.y: Likewise.
3374 * c-lang.c: Likewise.
3375 * c-typeprint.c: Likewise.
3376 * c-valprint.c: Likewise.
3377 * charset.c: Likewise.
3378 * cli-out.c: Likewise.
3379 * cli/cli-cmds.c: Likewise.
3380 * cli/cli-decode.c: Likewise.
3381 * cli/cli-dump.c: Likewise.
3382 * cli/cli-interp.c: Likewise.
3383 * cli/cli-logging.c: Likewise.
3384 * cli/cli-script.c: Likewise.
3385 * cli/cli-setshow.c: Likewise.
3386 * cli/cli-utils.c: Likewise.
3387 * coffread.c: Likewise.
3388 * common/agent.c: Likewise.
3389 * common/buffer.c: Likewise.
3390 * common/buffer.h: Likewise.
3391 * common/common-utils.c: Likewise.
3392 * common/filestuff.c: Likewise.
3393 * common/filestuff.c: Likewise.
3394 * common/format.c: Likewise.
3395 * common/print-utils.c: Likewise.
3396 * common/rsp-low.c: Likewise.
3397 * common/signals.c: Likewise.
3398 * common/vec.h: Likewise.
3399 * common/xml-utils.c: Likewise.
3400 * core-regset.c: Likewise.
3401 * corefile.c: Likewise.
3402 * corelow.c: Likewise.
3403 * cp-abi.c: Likewise.
3404 * cp-name-parser.y: Likewise.
3405 * cp-support.c: Likewise.
3406 * cp-valprint.c: Likewise.
3407 * cris-tdep.c: Likewise.
3408 * d-exp.y: Likewise.
3409 * darwin-nat.c: Likewise.
3410 * dbxread.c: Likewise.
3411 * dcache.c: Likewise.
3412 * demangle.c: Likewise.
3413 * dicos-tdep.c: Likewise.
3414 * disasm.c: Likewise.
3415 * doublest.c: Likewise.
3416 * dsrec.c: Likewise.
3417 * dummy-frame.c: Likewise.
3418 * dwarf2-frame.c: Likewise.
3419 * dwarf2loc.c: Likewise.
3420 * dwarf2read.c: Likewise.
3421 * elfread.c: Likewise.
3422 * environ.c: Likewise.
3423 * eval.c: Likewise.
3424 * event-loop.c: Likewise.
3425 * exceptions.c: Likewise.
3426 * exec.c: Likewise.
3427 * expprint.c: Likewise.
3428 * f-exp.y: Likewise.
3429 * f-lang.c: Likewise.
3430 * f-typeprint.c: Likewise.
3431 * f-valprint.c: Likewise.
3432 * fbsd-nat.c: Likewise.
3433 * findcmd.c: Likewise.
3434 * findvar.c: Likewise.
3435 * fork-child.c: Likewise.
3436 * frame.c: Likewise.
3437 * frv-linux-tdep.c: Likewise.
3438 * frv-tdep.c: Likewise.
3439 * gdb.c: Likewise.
3440 * gdb_bfd.c: Likewise.
3441 * gdbarch.c: Likewise.
3442 * gdbarch.sh: Likewise.
3443 * gdbtypes.c: Likewise.
3444 * gnu-nat.c: Likewise.
3445 * gnu-v2-abi.c: Likewise.
3446 * gnu-v3-abi.c: Likewise.
3447 * go-exp.y: Likewise.
3448 * go-lang.c: Likewise.
3449 * go32-nat.c: Likewise.
3450 * guile/guile.c: Likewise.
3451 * guile/scm-auto-load.c: Likewise.
3452 * hppa-hpux-tdep.c: Likewise.
3453 * hppa-linux-nat.c: Likewise.
3454 * hppanbsd-tdep.c: Likewise.
3455 * hppaobsd-tdep.c: Likewise.
3456 * i386-cygwin-tdep.c: Likewise.
3457 * i386-dicos-tdep.c: Likewise.
3458 * i386-linux-tdep.c: Likewise.
3459 * i386-nto-tdep.c: Likewise.
3460 * i386-sol2-tdep.c: Likewise.
3461 * i386-tdep.c: Likewise.
3462 * i386bsd-tdep.c: Likewise.
3463 * i386gnu-nat.c: Likewise.
3464 * i386nbsd-tdep.c: Likewise.
3465 * i386obsd-tdep.c: Likewise.
3466 * i387-tdep.c: Likewise.
3467 * ia64-libunwind-tdep.c: Likewise.
3468 * ia64-linux-nat.c: Likewise.
3469 * inf-child.c: Likewise.
3470 * inf-ptrace.c: Likewise.
3471 * inf-ttrace.c: Likewise.
3472 * infcall.c: Likewise.
3473 * infcmd.c: Likewise.
3474 * inflow.c: Likewise.
3475 * infrun.c: Likewise.
3476 * interps.c: Likewise.
3477 * iq2000-tdep.c: Likewise.
3478 * irix5-nat.c: Likewise.
3479 * jv-exp.y: Likewise.
3480 * jv-lang.c: Likewise.
3481 * jv-typeprint.c: Likewise.
3482 * jv-valprint.c: Likewise.
3483 * language.c: Likewise.
3484 * linux-fork.c: Likewise.
3485 * linux-nat.c: Likewise.
3486 * lm32-tdep.c: Likewise.
3487 * m2-exp.y: Likewise.
3488 * m2-typeprint.c: Likewise.
3489 * m32c-tdep.c: Likewise.
3490 * m32r-linux-nat.c: Likewise.
3491 * m32r-linux-tdep.c: Likewise.
3492 * m32r-rom.c: Likewise.
3493 * m32r-tdep.c: Likewise.
3494 * m68hc11-tdep.c: Likewise.
3495 * m68k-tdep.c: Likewise.
3496 * m68kbsd-tdep.c: Likewise.
3497 * m68klinux-nat.c: Likewise.
3498 * m68klinux-tdep.c: Likewise.
3499 * m88k-tdep.c: Likewise.
3500 * machoread.c: Likewise.
3501 * macrocmd.c: Likewise.
3502 * main.c: Likewise.
3503 * mdebugread.c: Likewise.
3504 * mem-break.c: Likewise.
3505 * memattr.c: Likewise.
3506 * memory-map.c: Likewise.
3507 * mep-tdep.c: Likewise.
3508 * mi/mi-cmd-break.c: Likewise.
3509 * mi/mi-cmd-disas.c: Likewise.
3510 * mi/mi-cmd-env.c: Likewise.
3511 * mi/mi-cmd-stack.c: Likewise.
3512 * mi/mi-cmd-var.c: Likewise.
3513 * mi/mi-cmds.c: Likewise.
3514 * mi/mi-console.c: Likewise.
3515 * mi/mi-getopt.c: Likewise.
3516 * mi/mi-interp.c: Likewise.
3517 * mi/mi-main.c: Likewise.
3518 * mi/mi-parse.c: Likewise.
3519 * microblaze-rom.c: Likewise.
3520 * microblaze-tdep.c: Likewise.
3521 * mingw-hdep.c: Likewise.
3522 * minidebug.c: Likewise.
3523 * minsyms.c: Likewise.
3524 * mips-irix-tdep.c: Likewise.
3525 * mips-linux-tdep.c: Likewise.
3526 * mips-tdep.c: Likewise.
3527 * mips64obsd-tdep.c: Likewise.
3528 * mipsnbsd-tdep.c: Likewise.
3529 * mipsread.c: Likewise.
3530 * mn10300-linux-tdep.c: Likewise.
3531 * mn10300-tdep.c: Likewise.
3532 * monitor.c: Likewise.
3533 * moxie-tdep.c: Likewise.
3534 * mt-tdep.c: Likewise.
3535 * nat/linux-btrace.c: Likewise.
3536 * nat/linux-osdata.c: Likewise.
3537 * nat/linux-procfs.c: Likewise.
3538 * nat/linux-ptrace.c: Likewise.
3539 * nat/linux-waitpid.c: Likewise.
3540 * nbsd-tdep.c: Likewise.
3541 * nios2-linux-tdep.c: Likewise.
3542 * nto-procfs.c: Likewise.
3543 * nto-tdep.c: Likewise.
3544 * objc-lang.c: Likewise.
3545 * objfiles.c: Likewise.
3546 * opencl-lang.c: Likewise.
3547 * osabi.c: Likewise.
3548 * osdata.c: Likewise.
3549 * p-exp.y: Likewise.
3550 * p-lang.c: Likewise.
3551 * p-typeprint.c: Likewise.
3552 * parse.c: Likewise.
3553 * posix-hdep.c: Likewise.
3554 * ppc-linux-nat.c: Likewise.
3555 * ppc-sysv-tdep.c: Likewise.
3556 * ppcfbsd-tdep.c: Likewise.
3557 * ppcnbsd-tdep.c: Likewise.
3558 * ppcobsd-tdep.c: Likewise.
3559 * printcmd.c: Likewise.
3560 * procfs.c: Likewise.
3561 * prologue-value.c: Likewise.
3562 * python/py-auto-load.c: Likewise.
3563 * python/py-gdb-readline.c: Likewise.
3564 * ravenscar-thread.c: Likewise.
3565 * regcache.c: Likewise.
3566 * registry.c: Likewise.
3567 * remote-fileio.c: Likewise.
3568 * remote-m32r-sdi.c: Likewise.
3569 * remote-mips.c: Likewise.
3570 * remote-notif.c: Likewise.
3571 * remote-sim.c: Likewise.
3572 * remote.c: Likewise.
3573 * reverse.c: Likewise.
3574 * rs6000-aix-tdep.c: Likewise.
3575 * ser-base.c: Likewise.
3576 * ser-go32.c: Likewise.
3577 * ser-mingw.c: Likewise.
3578 * ser-pipe.c: Likewise.
3579 * ser-tcp.c: Likewise.
3580 * ser-unix.c: Likewise.
3581 * serial.c: Likewise.
3582 * sh-tdep.c: Likewise.
3583 * sh64-tdep.c: Likewise.
3584 * shnbsd-tdep.c: Likewise.
3585 * skip.c: Likewise.
3586 * sol-thread.c: Likewise.
3587 * solib-dsbt.c: Likewise.
3588 * solib-frv.c: Likewise.
3589 * solib-osf.c: Likewise.
3590 * solib-som.c: Likewise.
3591 * solib-spu.c: Likewise.
3592 * solib-target.c: Likewise.
3593 * solib.c: Likewise.
3594 * somread.c: Likewise.
3595 * source.c: Likewise.
3596 * sparc-nat.c: Likewise.
3597 * sparc-sol2-tdep.c: Likewise.
3598 * sparc-tdep.c: Likewise.
3599 * sparc64-tdep.c: Likewise.
3600 * sparc64fbsd-tdep.c: Likewise.
3601 * sparc64nbsd-tdep.c: Likewise.
3602 * sparcnbsd-tdep.c: Likewise.
3603 * spu-linux-nat.c: Likewise.
3604 * spu-multiarch.c: Likewise.
3605 * spu-tdep.c: Likewise.
3606 * stabsread.c: Likewise.
3607 * stack.c: Likewise.
3608 * std-regs.c: Likewise.
3609 * symfile.c: Likewise.
3610 * symmisc.c: Likewise.
3611 * symtab.c: Likewise.
3612 * target.c: Likewise.
3613 * thread.c: Likewise.
3614 * tilegx-linux-nat.c: Likewise.
3615 * tilegx-tdep.c: Likewise.
3616 * top.c: Likewise.
3617 * tracepoint.c: Likewise.
3618 * tui/tui-command.c: Likewise.
3619 * tui/tui-data.c: Likewise.
3620 * tui/tui-disasm.c: Likewise.
3621 * tui/tui-file.c: Likewise.
3622 * tui/tui-layout.c: Likewise.
3623 * tui/tui-out.c: Likewise.
3624 * tui/tui-regs.c: Likewise.
3625 * tui/tui-source.c: Likewise.
3626 * tui/tui-stack.c: Likewise.
3627 * tui/tui-win.c: Likewise.
3628 * tui/tui-windata.c: Likewise.
3629 * tui/tui-winsource.c: Likewise.
3630 * typeprint.c: Likewise.
3631 * ui-file.c: Likewise.
3632 * ui-out.c: Likewise.
3633 * user-regs.c: Likewise.
3634 * utils.c: Likewise.
3635 * v850-tdep.c: Likewise.
3636 * valarith.c: Likewise.
3637 * valops.c: Likewise.
3638 * valprint.c: Likewise.
3639 * value.c: Likewise.
3640 * varobj.c: Likewise.
3641 * vax-tdep.c: Likewise.
3642 * vaxnbsd-tdep.c: Likewise.
3643 * vaxobsd-tdep.c: Likewise.
3644 * windows-nat.c: Likewise.
3645 * xcoffread.c: Likewise.
3646 * xml-support.c: Likewise.
3647 * xstormy16-tdep.c: Likewise.
3648 * xtensa-linux-nat.c: Likewise.
3649
3650 2014-08-07 Gary Benson <gbenson@redhat.com>
3651
3652 * common/common-defs.h: Include gdb_assert.h.
3653 * aarch64-tdep.c: Do not include gdb_assert.h.
3654 * addrmap.c: Likewise.
3655 * aix-thread.c: Likewise.
3656 * alpha-linux-tdep.c: Likewise.
3657 * alpha-mdebug-tdep.c: Likewise.
3658 * alphanbsd-tdep.c: Likewise.
3659 * amd64-nat.c: Likewise.
3660 * amd64-tdep.c: Likewise.
3661 * amd64bsd-nat.c: Likewise.
3662 * amd64fbsd-nat.c: Likewise.
3663 * amd64fbsd-tdep.c: Likewise.
3664 * amd64nbsd-nat.c: Likewise.
3665 * amd64nbsd-tdep.c: Likewise.
3666 * amd64obsd-nat.c: Likewise.
3667 * amd64obsd-tdep.c: Likewise.
3668 * arch-utils.c: Likewise.
3669 * arm-tdep.c: Likewise.
3670 * armbsd-tdep.c: Likewise.
3671 * auxv.c: Likewise.
3672 * bcache.c: Likewise.
3673 * bfin-tdep.c: Likewise.
3674 * blockframe.c: Likewise.
3675 * breakpoint.c: Likewise.
3676 * bsd-kvm.c: Likewise.
3677 * bsd-uthread.c: Likewise.
3678 * buildsym.c: Likewise.
3679 * c-exp.y: Likewise.
3680 * c-lang.c: Likewise.
3681 * charset.c: Likewise.
3682 * cleanups.c: Likewise.
3683 * cli-out.c: Likewise.
3684 * cli/cli-decode.c: Likewise.
3685 * cli/cli-dump.c: Likewise.
3686 * cli/cli-logging.c: Likewise.
3687 * cli/cli-script.c: Likewise.
3688 * cli/cli-utils.c: Likewise.
3689 * coffread.c: Likewise.
3690 * common/common-utils.c: Likewise.
3691 * common/queue.h: Likewise.
3692 * common/signals.c: Likewise.
3693 * common/vec.h: Likewise.
3694 * complaints.c: Likewise.
3695 * completer.c: Likewise.
3696 * corelow.c: Likewise.
3697 * cp-abi.c: Likewise.
3698 * cp-name-parser.y: Likewise.
3699 * cp-namespace.c: Likewise.
3700 * cp-support.c: Likewise.
3701 * cris-tdep.c: Likewise.
3702 * dbxread.c: Likewise.
3703 * dictionary.c: Likewise.
3704 * doublest.c: Likewise.
3705 * dsrec.c: Likewise.
3706 * dummy-frame.c: Likewise.
3707 * dwarf2-frame-tailcall.c: Likewise.
3708 * dwarf2-frame.c: Likewise.
3709 * dwarf2expr.c: Likewise.
3710 * dwarf2loc.c: Likewise.
3711 * dwarf2read.c: Likewise.
3712 * eval.c: Likewise.
3713 * event-loop.c: Likewise.
3714 * exceptions.c: Likewise.
3715 * expprint.c: Likewise.
3716 * f-valprint.c: Likewise.
3717 * fbsd-nat.c: Likewise.
3718 * findvar.c: Likewise.
3719 * frame-unwind.c: Likewise.
3720 * frame.c: Likewise.
3721 * frv-tdep.c: Likewise.
3722 * gcore.c: Likewise.
3723 * gdb-dlfcn.c: Likewise.
3724 * gdb_bfd.c: Likewise.
3725 * gdbarch.c: Likewise.
3726 * gdbarch.sh: Likewise.
3727 * gdbtypes.c: Likewise.
3728 * gnu-nat.c: Likewise.
3729 * gnu-v3-abi.c: Likewise.
3730 * go-lang.c: Likewise.
3731 * guile/scm-exception.c: Likewise.
3732 * guile/scm-gsmob.c: Likewise.
3733 * guile/scm-lazy-string.c: Likewise.
3734 * guile/scm-math.c: Likewise.
3735 * guile/scm-pretty-print.c: Likewise.
3736 * guile/scm-safe-call.c: Likewise.
3737 * guile/scm-utils.c: Likewise.
3738 * guile/scm-value.c: Likewise.
3739 * h8300-tdep.c: Likewise.
3740 * hppa-hpux-nat.c: Likewise.
3741 * hppa-tdep.c: Likewise.
3742 * hppanbsd-tdep.c: Likewise.
3743 * hppaobsd-tdep.c: Likewise.
3744 * i386-darwin-nat.c: Likewise.
3745 * i386-darwin-tdep.c: Likewise.
3746 * i386-nto-tdep.c: Likewise.
3747 * i386-tdep.c: Likewise.
3748 * i386bsd-nat.c: Likewise.
3749 * i386fbsd-tdep.c: Likewise.
3750 * i386gnu-nat.c: Likewise.
3751 * i386nbsd-tdep.c: Likewise.
3752 * i386obsd-tdep.c: Likewise.
3753 * i387-tdep.c: Likewise.
3754 * ia64-libunwind-tdep.c: Likewise.
3755 * ia64-tdep.c: Likewise.
3756 * inf-ptrace.c: Likewise.
3757 * inf-ttrace.c: Likewise.
3758 * infcall.c: Likewise.
3759 * infcmd.c: Likewise.
3760 * infrun.c: Likewise.
3761 * inline-frame.c: Likewise.
3762 * interps.c: Likewise.
3763 * jv-lang.c: Likewise.
3764 * jv-typeprint.c: Likewise.
3765 * linux-fork.c: Likewise.
3766 * linux-nat.c: Likewise.
3767 * linux-thread-db.c: Likewise.
3768 * m32c-tdep.c: Likewise.
3769 * m32r-linux-nat.c: Likewise.
3770 * m32r-tdep.c: Likewise.
3771 * m68k-tdep.c: Likewise.
3772 * m68kbsd-nat.c: Likewise.
3773 * m68kbsd-tdep.c: Likewise.
3774 * m88k-tdep.c: Likewise.
3775 * machoread.c: Likewise.
3776 * macroexp.c: Likewise.
3777 * macrotab.c: Likewise.
3778 * maint.c: Likewise.
3779 * mdebugread.c: Likewise.
3780 * memory-map.c: Likewise.
3781 * mep-tdep.c: Likewise.
3782 * mi/mi-common.c: Likewise.
3783 * microblaze-tdep.c: Likewise.
3784 * mingw-hdep.c: Likewise.
3785 * mips-linux-nat.c: Likewise.
3786 * mips-linux-tdep.c: Likewise.
3787 * mips-tdep.c: Likewise.
3788 * mips64obsd-tdep.c: Likewise.
3789 * mipsnbsd-tdep.c: Likewise.
3790 * mn10300-linux-tdep.c: Likewise.
3791 * mn10300-tdep.c: Likewise.
3792 * moxie-tdep.c: Likewise.
3793 * mt-tdep.c: Likewise.
3794 * nat/linux-btrace.c: Likewise.
3795 * nat/linux-osdata.c: Likewise.
3796 * nat/linux-ptrace.c: Likewise.
3797 * nat/mips-linux-watch.c: Likewise.
3798 * nios2-linux-tdep.c: Likewise.
3799 * nios2-tdep.c: Likewise.
3800 * objc-lang.c: Likewise.
3801 * objfiles.c: Likewise.
3802 * obsd-nat.c: Likewise.
3803 * opencl-lang.c: Likewise.
3804 * osabi.c: Likewise.
3805 * parse.c: Likewise.
3806 * ppc-linux-nat.c: Likewise.
3807 * ppc-sysv-tdep.c: Likewise.
3808 * ppcfbsd-nat.c: Likewise.
3809 * ppcfbsd-tdep.c: Likewise.
3810 * ppcnbsd-nat.c: Likewise.
3811 * ppcnbsd-tdep.c: Likewise.
3812 * ppcobsd-nat.c: Likewise.
3813 * ppcobsd-tdep.c: Likewise.
3814 * printcmd.c: Likewise.
3815 * procfs.c: Likewise.
3816 * prologue-value.c: Likewise.
3817 * psymtab.c: Likewise.
3818 * python/py-lazy-string.c: Likewise.
3819 * python/py-value.c: Likewise.
3820 * regcache.c: Likewise.
3821 * reggroups.c: Likewise.
3822 * registry.c: Likewise.
3823 * remote-sim.c: Likewise.
3824 * remote.c: Likewise.
3825 * rs6000-aix-tdep.c: Likewise.
3826 * rs6000-tdep.c: Likewise.
3827 * s390-linux-tdep.c: Likewise.
3828 * score-tdep.c: Likewise.
3829 * ser-base.c: Likewise.
3830 * ser-mingw.c: Likewise.
3831 * sh-tdep.c: Likewise.
3832 * sh64-tdep.c: Likewise.
3833 * solib-darwin.c: Likewise.
3834 * solib-spu.c: Likewise.
3835 * solib-svr4.c: Likewise.
3836 * source.c: Likewise.
3837 * sparc-nat.c: Likewise.
3838 * sparc-sol2-tdep.c: Likewise.
3839 * sparc-tdep.c: Likewise.
3840 * sparc64-sol2-tdep.c: Likewise.
3841 * sparc64-tdep.c: Likewise.
3842 * sparc64fbsd-tdep.c: Likewise.
3843 * sparc64nbsd-tdep.c: Likewise.
3844 * sparc64obsd-tdep.c: Likewise.
3845 * sparcnbsd-tdep.c: Likewise.
3846 * sparcobsd-tdep.c: Likewise.
3847 * spu-multiarch.c: Likewise.
3848 * spu-tdep.c: Likewise.
3849 * stabsread.c: Likewise.
3850 * stack.c: Likewise.
3851 * symfile.c: Likewise.
3852 * symtab.c: Likewise.
3853 * target-descriptions.c: Likewise.
3854 * target-memory.c: Likewise.
3855 * target.c: Likewise.
3856 * tic6x-linux-tdep.c: Likewise.
3857 * tic6x-tdep.c: Likewise.
3858 * tilegx-linux-nat.c: Likewise.
3859 * tilegx-tdep.c: Likewise.
3860 * top.c: Likewise.
3861 * tramp-frame.c: Likewise.
3862 * tui/tui-out.c: Likewise.
3863 * tui/tui-winsource.c: Likewise.
3864 * ui-out.c: Likewise.
3865 * user-regs.c: Likewise.
3866 * utils.c: Likewise.
3867 * v850-tdep.c: Likewise.
3868 * valops.c: Likewise.
3869 * value.c: Likewise.
3870 * varobj.c: Likewise.
3871 * vax-nat.c: Likewise.
3872 * xml-syscall.c: Likewise.
3873 * xml-tdesc.c: Likewise.
3874 * xstormy16-tdep.c: Likewise.
3875 * xtensa-linux-nat.c: Likewise.
3876 * xtensa-tdep.c: Likewise.
3877
3878 2014-08-07 Gary Benson <gbenson@redhat.com>
3879
3880 * common/common-defs.h: Include common-utils.h.
3881 * defs.h: Do not include common-utils.h.
3882 * common/gdb_assert.h: Likewise.
3883 * darwin-nat.h: Likewise.
3884 * nat/linux-btrace.c: Likewise.
3885 * target/waitstatus.h: Likewise.
3886
3887 2014-08-07 Gary Benson <gbenson@redhat.com>
3888
3889 * common/common-defs.h: Include ptid.h.
3890 * defs.h: Do not include ptid.h.
3891 * inferior.h: Likewise.
3892 * infrun.h: Likewise.
3893 * nat/linux-btrace.h: Likewise.
3894 * nat/linux-osdata.h: Likewise.
3895 * target/waitstatus.h: Likewise.
3896
3897 2014-08-07 Gary Benson <gbenson@redhat.com>
3898
3899 * common/common-defs.h: Include gdb_locale.h.
3900 * defs.h: Do not include gdb_locale.h.
3901
3902 2014-08-07 Gary Benson <gbenson@redhat.com>
3903
3904 * common/common-defs.h: Include gdb/signals.h.
3905 * defs.h: Do not include gdb/signals.h.
3906
3907 2014-08-07 Gary Benson <gbenson@redhat.com>
3908
3909 * common/common-defs.h: Include pathmax.h.
3910 * defs.h: Do not include pathmax.h.
3911
3912 2014-08-07 Gary Benson <gbenson@redhat.com>
3913
3914 * common/common-defs.h: Include libiberty.h.
3915 * defs.h: Do not include libiberty.h.
3916 * common/queue.h: Likewise.
3917 * cp-name-parser.y: Likewise.
3918 * mi/mi-cmd-catch.c: Likewise.
3919 * python/python.c: Likewise.
3920
3921 2014-08-07 Gary Benson <gbenson@redhat.com>
3922
3923 * common/common-defs.h: Include ansidecl.h.
3924 * defs.h: Do not include ansidecl.h.
3925 * common/buffer.h: Likewise.
3926 * common/common-utils.h: Likewise.
3927
3928 2014-08-07 Gary Benson <gbenson@redhat.com>
3929
3930 * common/common-defs.h: Include stddef.h.
3931 * defs.h: Do not include stddef.h.
3932 * common/common-utils.h: Likewise.
3933 * amd64fbsd-nat.c: Likewise.
3934 * bcache.c: Likewise.
3935 * charset.c: Likewise.
3936 * common/buffer.h: Likewise.
3937 * common/vec.h: Likewise.
3938 * i386bsd-nat.c: Likewise.
3939 * nat/linux-btrace.h: Likewise.
3940 * ppcfbsd-nat.c: Likewise.
3941 * ppcnbsd-tdep.h: Likewise.
3942 * ppcobsd-nat.c: Likewise.
3943 * ppcobsd-tdep.h: Likewise.
3944 * python/py-gdb-readline.c: Likewise.
3945
3946 2014-08-07 Gary Benson <gbenson@redhat.com>
3947
3948 * common/common-defs.h: Include stdarg.h.
3949 * defs.h: Do not include stdarg.h.
3950 * ada-lang.c: Likewise.
3951 * common/common-utils.h: Likewise.
3952 * guile/scm-string.c: Likewise.
3953 * guile/scm-utils.c: Likewise.
3954 * m32c-tdep.c: Likewise.
3955
3956 2014-08-07 Gary Benson <gbenson@redhat.com>
3957
3958 * common/common-defs.h: Include stdlib.h.
3959 * defs.h: Do not include stdlib.h.
3960 * addrmap.c: Likewise.
3961 * bcache.c: Likewise.
3962 * common/buffer.c: Likewise.
3963 * common/common-utils.c: Likewise.
3964 * cp-name-parser.y: Likewise.
3965 * go32-nat.c: Likewise.
3966 * mn10300-linux-tdep.c: Likewise.
3967 * nat/linux-osdata.c: Likewise.
3968 * tui/tui.c: Likewise.
3969 * windows-nat.c: Likewise.
3970
3971 2014-08-07 Gary Benson <gbenson@redhat.com>
3972
3973 * common/common-defs.h: Include stdio.h.
3974 * defs.h: Do not include stdio.h.
3975 * ada-lang.c: Likewise.
3976 * common/buffer.c: Likewise.
3977 * common/common-utils.c: Likewise.
3978 * cp-name-parser.y: Likewise.
3979 * gnu-nat.c: Likewise.
3980 * go32-nat.c: Likewise.
3981 * i386gnu-nat.c: Likewise.
3982 * proc-api.c: Likewise.
3983 * proc-events.c: Likewise.
3984 * proc-flags.c: Likewise.
3985 * proc-why.c: Likewise.
3986 * python/python-internal.h: Likewise.
3987 * target-memory.c: Likewise.
3988 * tui/tui-io.c: Likewise.
3989 * tui/tui.c: Likewise.
3990
3991 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
3992
3993 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
3994 (scan_dyntag_auxv): Same.
3995
3996 2014-08-06 Yao Qi <yao@codesourcery.com>
3997
3998 * amd64-linux-nat.c: Remove duplicated include
3999 "x86-linux-nat.h".
4000 * i386-linux-nat.c: Likewise.
4001
4002 2014-08-06 Yao Qi <yao@codesourcery.com>
4003
4004 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
4005 operand" with "Special opcode" in comments.
4006
4007 2014-08-05 Gary Benson <gbenson@redhat.com>
4008
4009 * interps.c (initialize_interps): Remove prototype.
4010 (interpreter_initialized): Remove static global.
4011 (interp_add): Do not call initialize_interps.
4012 (initialize_interps): Remove function.
4013
4014 2014-08-05 Gary Benson <gbenson@redhat.com>
4015
4016 * utils.c (vwarning): Remove spurious va_end.
4017
4018 2014-08-05 Alan Modra <amodra@gmail.com>
4019
4020 * charset.c (convert_between_encodings): Cast result of obstack_base.
4021 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
4022 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
4023 (read_unwind_info): Use size_t for some locals.
4024 * jit.c (finalize_symtab): Likewise.
4025 * utils.c (hashtab_obstack_allocate): Likewise.
4026 * symmisc.c (print_objfile_statistics): Update format strings.
4027
4028 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4029
4030 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
4031 (Changes in GDB 7.8): ... here.
4032
4033 2014-08-04 Tom Tromey <tromey@redhat.com>
4034
4035 * target.c (set_targetdebug): New function.
4036 (initialize_targets): Pass set_targetdebug when creating "set
4037 debug target".
4038
4039 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4040
4041 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
4042 if detecting a variable-sized field that is not the last field.
4043 Fix struct type length computation.
4044
4045 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4046
4047 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4048 Add debug trace.
4049
4050 2014-08-01 Joel Brobecker <brobecker@adacore.com>
4051
4052 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4053 Remove "+ 8" offset in computation of CHAIN_VMA.
4054
4055 2014-07-31 Doug Evans <dje@google.com>
4056
4057 * inflow.c (child_terminal_inferior): Add comment.
4058 (child_terminal_ours_for_output): Add comment.
4059 (child_terminal_ours): Add comment.
4060 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
4061 (linux_nat_terminal_ours): Add comment.
4062
4063 2014-07-31 Gary Benson <gbenson@redhat.com>
4064
4065 * common/btrace-common.h: Do not include defs.h or server.h.
4066 * nat/mips-linux-watch.h: Likewise.
4067 * gdb-dlfcn.h: Do not include defs.h.
4068 * tracefile.h: Likewise.
4069
4070 2014-07-30 Roland McGrath <mcgrathr@google.com>
4071
4072 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
4073
4074 2014-07-30 Tom Tromey <tromey@redhat.com>
4075
4076 * bsd-kvm.c (bsd_kvm_open): Constify.
4077 * corelow.c (core_open): Constify.
4078 * ctf.c (ctf_open): Constify.
4079 * dbug-rom.c (dbug_open): Constify.
4080 * exec.c (exec_open): Constify.
4081 * m32r-rom.c (m32r_open, mon2000_open): Constify.
4082 * microblaze-rom.c (picobug_open): Constify.
4083 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
4084 Constify.
4085 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
4086 * record-btrace.c (record_btrace_open): Constify.
4087 * record-full.c (record_full_core_open_1, record_full_open_1)
4088 (record_full_open): Constify.
4089 * remote-m32r-sdi.c (m32r_open): Constify.
4090 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
4091 (rockhopper_open, lsi_open): Constify.
4092 * remote-sim.c (gdbsim_open): Constify.
4093 * remote.c (remote_open, extended_remote_open, remote_open_1):
4094 Constify.
4095 * target.h (struct target_ops) <to_open>: Make "arg" const.
4096 * tracefile-tfile.c (tfile_open): Constify.
4097
4098 2014-07-30 Tom Tromey <tromey@redhat.com>
4099
4100 * breakpoint.c (map_breakpoint_numbers): Update.
4101 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
4102 (get_number_const): New function.
4103 (get_number): Rewrite using get_number_const.
4104 (init_number_or_range): Make "string" const.
4105 (number_is_in_list): Make "list" const.
4106 * cli/cli-utils.h (get_number_const): Declare.
4107 (struct get_number_or_range_state) <string, end_ptr>: Now const.
4108 (init_number_or_range, number_is_in_list): Update.
4109 * printcmd.c (map_display_numbers): Update.
4110 * value.c (value_from_history_ref): Constify.
4111 * value.h (value_from_history_ref): Update.
4112
4113 2014-07-30 Tom Tromey <tromey@redhat.com>
4114
4115 * corefile.c (hook_type, call_extra_exec_file_hooks)
4116 (specify_exec_file_hook): Constify.
4117 * exec.c (exec_file_attach): Make "filename" const.
4118 * gdbcore.h (deprecated_exec_file_display_hook)
4119 (specify_exec_file_hook, exec_file_attach): Constify.
4120 * main.c (captured_main): Use catch_command_errors_const.
4121
4122 2014-07-30 Tom Tromey <tromey@redhat.com>
4123
4124 * target.c (open_target): New function.
4125 (add_target_with_completer, add_deprecated_target_alias): Use
4126 set_cmd_sfunc, set_cmd_context.
4127 (debug_to_open): Remove.
4128 (setup_target_debug): Update.
4129
4130 2014-07-30 Yao Qi <yao@codesourcery.com>
4131
4132 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
4133 comments.
4134 * parse.c (exp_iterate): Update comments.
4135
4136 2014-07-30 Gary Benson <gbenson@redhat.com>
4137
4138 * common/common-defs.h: New file.
4139 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
4140 * defs.h: Include common-defs.h.
4141 Do not include config.h or build-gnulib/config.h.
4142
4143 2014-07-30 Gary Benson <gbenson@redhat.com>
4144
4145 * common/common-utils.h: Do not include config.h.
4146 * nat/linux-btrace.h: Likewise.
4147
4148 2014-07-30 Gary Benson <gbenson@redhat.com>
4149
4150 * btrace.c: Include defs.h.
4151 * common/ptid.c: Include defs.h or server.h as appropriate.
4152 * nat/mips-linux-watch.c: Likewise.
4153
4154 2014-07-29 Tom Tromey <tromey@redhat.com>
4155
4156 * target.c (target_is_pushed): Simplify.
4157
4158 2014-07-29 Joel Brobecker <brobecker@adacore.com>
4159
4160 GDB 7.8 released.
4161
4162 2014-07-29 Yao Qi <yao@codesourcery.com>
4163
4164 PR gdb/17206
4165 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
4166
4167 2014-07-28 Doug Evans <xdje42@gmail.com>
4168
4169 PR guile/17203
4170 * guile/scm-param.c (pascm_parameter_defined_p): New function.
4171 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
4172 parameters.
4173
4174 2014-07-28 Will Newton <will.newton@linaro.org>
4175
4176 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
4177 (THUMB2_SET_R7_SIGRETURN2): Likewise.
4178 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
4179 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
4180 (THUMB2_EABI_SYSCALL): Likewise.
4181 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
4182 struct tramp_frame.
4183 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
4184 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
4185
4186 2014-07-27 Doug Evans <xdje42@gmail.com>
4187
4188 * guile/scm-param.c (pascm_print_param_smob): Fix output.
4189
4190 2014-07-27 Doug Evans <xdje42@gmail.com>
4191
4192 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
4193
4194 2014-07-26 Ludovic Courtès <ludo@gnu.org>
4195 Doug Evans <xdje42@gmail.com>
4196
4197 PR guile/17146
4198 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
4199 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
4200 * configure.ac: Try to use guild to compile an scm file, if it fails
4201 then disable guile support.
4202 * configure: Regenerate.
4203 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
4204 GUILE_FILE_LIST.
4205 (GUILE_COMPILED_FILES): New variable.
4206 (GUILE_FILES) Update.
4207 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
4208 (stamp-guile): Compile scm files.
4209 * guile/guile.c (boot_guile_support): New function.
4210 (standard_throw_args_p): New function.
4211 (print_standard_throw_error, print_throw_error): New functions.
4212 (handle_boot_error): New function.
4213 (initialize_scheme_side): Rewrite to call boot_guile_support.
4214 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
4215 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
4216
4217 2014-07-26 Ludovic Courtès <ludo@gnu.org>
4218 Doug Evans <xdje42@gmail.com>
4219
4220 PR guile/17146
4221 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
4222 * guile/lib/gdb/support.scm: New file.
4223 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
4224 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
4225 All uses updated.
4226 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
4227 All uses updated.
4228 (%assert-type): Ditto, and renamed to assert-type.
4229 (%exception-print-style): Delete.
4230
4231 2014-07-26 Doug Evans <xdje42@gmail.com>
4232
4233 PR build/17105
4234 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
4235 * configure: Regenerate.
4236 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
4237 PYTHON_FILES.
4238 (PYTHON_FILES): New variable.
4239 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
4240 (GUILE_FILES): New variable.
4241 (stamp-python, install-python, uninstall-python): Handle empty
4242 file list.
4243 (stamp-guile, install-guile, uninstall-guile): Ditto.
4244
4245 2014-07-26 Doug Evans <xdje42@gmail.com>
4246
4247 PR guile/17177
4248 * guile/lib/gdb.scm (pretty-printers): Export.
4249 (set-pretty-printers!): Export.
4250 * guile/lib/gdb/printing.scm (gdb module): Update.
4251 (prepend-pretty-printer!, append-pretty-printer!): Update.
4252 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
4253 (pretty_printer_list_var): Delete.
4254 (pretty_printer_list): New static global.
4255 (gdbscm_pretty_printers): New function.
4256 (gdbscm_set_pretty_printers_x): New function.
4257 (ppscm_find_pretty_printer_from_gdb): Update.
4258 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
4259 (gdbscm_initialize_pretty_printers): Update.
4260
4261 2014-07-26 Doug Evans <xdje42@gmail.com>
4262
4263 PR 17185
4264 * configure.ac: Add check for header gc/gc.h.
4265 Add check for function setenv.
4266 * configure: Regenerate.
4267 * config.in: Regenerate.
4268 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
4269
4270 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
4271
4272 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
4273 variation in gdbarch matching.
4274
4275 2014-07-25 Tom Tromey <tromey@redhat.com>
4276
4277 * exec.c (using_exec_ops): Remove.
4278 (exec_close_1): Update. Remove extraneous block, reindent.
4279 (add_target_sections): Use target_is_pushed.
4280
4281 2014-07-25 Pedro Alves <palves@redhat.com>
4282
4283 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
4284 * monitor.c (monitor_create_inferior): Likewise.
4285 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
4286 * remote-sim.c (gdbsim_create_inferior): Likewise.
4287 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
4288 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
4289 * windows-nat.c (do_initial_windows_stuff): Likewise.
4290
4291 2014-07-25 Pedro Alves <palves@redhat.com>
4292
4293 * NEWS: Mention signal passing and "signal" command changes.
4294 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
4295 comment.
4296 * breakpoint.c (until_break_command): Adjust clear_proceed_status
4297 call.
4298 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
4299 * infcmd.c (proceed_thread_callback, continue_1, step_once)
4300 (jump_command): Adjust clear_proceed_status call.
4301 (signal_command): Warn if other thread that are resumed have
4302 signals that will be delivered. Adjust clear_proceed_status call.
4303 (until_next_command, finish_command)
4304 (proceed_after_attach_callback, attach_command_post_wait)
4305 (attach_command): Adjust clear_proceed_status call.
4306 * infrun.c (proceed_after_vfork_done): Likewise.
4307 (proceed_after_attach_callback): Adjust comment.
4308 (clear_proceed_status_thread): Clear stop_signal if not in pass
4309 state.
4310 (clear_proceed_status_callback): Delete.
4311 (clear_proceed_status): New 'step' parameter. Only clear the
4312 proceed status of threads the command being prepared is about to
4313 resume.
4314 (proceed): If passed in an explicit signal, override stop_signal
4315 with it. Don't pass the last stop signal to the thread we're
4316 resuming.
4317 (init_wait_for_inferior): Adjust clear_proceed_status call.
4318 (switch_back_to_stepped_thread): Clear the signal if it should not
4319 be passed.
4320 * infrun.h (clear_proceed_status): New 'step' parameter.
4321 (user_visible_resume_ptid): Add comment.
4322 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
4323 signal is in pass state.
4324 * remote.c (append_pending_thread_resumptions): Likewise.
4325 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
4326
4327 2014-07-25 Tom Tromey <tromey@redhat.com>
4328
4329 * target.h (target_stopped_data_address)
4330 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
4331 parentheses.
4332
4333 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
4334
4335 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
4336 comments.
4337 (avr_pointer_to_address): Likewise.
4338
4339 2014-07-24 Tom Tromey <tromey@redhat.com>
4340
4341 * monitor.c (compile_pattern): Update.
4342 * target.h (struct target_ops) <to_shortname, to_longname,
4343 to_doc>: Now const.
4344
4345 2014-07-24 Tom Tromey <tromey@redhat.com>
4346
4347 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
4348 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
4349 (add_info_alias, add_com): Make "doc" const.
4350 (print_doc_line): Make "str" const.
4351 (delete_cmd): Update.
4352 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
4353 (print_doc_line): Update.
4354 * cli/cli-script.c (document_command): Update.
4355 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
4356 (add_com, add_info, add_info_alias): Update.
4357 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4358 * python/py-cmd.c (cmdpy_destroyer): Update.
4359
4360 2014-07-24 Tom Tromey <tromey@redhat.com>
4361
4362 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
4363 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
4364 (help_cmd_list): Constify.
4365 (lookup_cmd): Update.
4366 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
4367 const.
4368 (help_cmd_list, apropos_cmd): Update.
4369 * cli/cli-script.c (show_user): Update.
4370 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
4371 * cli/cli-setshow.h (cmd_show_list): Update.
4372 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
4373 (cmd_show_list): Update.
4374 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4375 * python/py-cmd.c (cmdpy_destroyer): Update.
4376
4377 2014-07-24 Tom Tromey <tromey@redhat.com>
4378
4379 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
4380 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
4381 const.
4382 * command.h (deprecate_cmd): Update.
4383 * maint.c (maintenance_do_deprecate): Add casts.
4384
4385 2014-07-24 Tom Tromey <tromey@redhat.com>
4386
4387 * cli/cli-decode.c (help_cmd): Make parameter "const".
4388 * cli/cli-decode.h (help_cmd): Update.
4389
4390 2014-07-24 Tom Tromey <tromey@redhat.com>
4391
4392 * stack.c (up_silently_base, down_silently_base): Make argument
4393 const.
4394
4395 2014-07-24 Tom Tromey <tromey@redhat.com>
4396
4397 * solib.c (solib_add): Make "pattern" const.
4398 * solib.h (solib_add): Update.
4399
4400 2014-07-24 Tom Tromey <tromey@redhat.com>
4401
4402 * remote.c (remote_serial_open, print_packet, putpkt)
4403 (putpkt_binary): Constify.
4404 * remote.h (putpkt): Update.
4405
4406 2014-07-24 Tom Tromey <tromey@redhat.com>
4407
4408 * monitor.c (monitor_open): Make "args" const.
4409 * monitor.h (monitor_open): Update.
4410
4411 2014-07-24 Tom Tromey <tromey@redhat.com>
4412
4413 * maint.c (match_bfd_flags): Make "string" const.
4414 (print_bfd_section_info): Remove casts.
4415 (print_objfile_section_info): Make "string" const.
4416
4417 2014-07-24 Tom Tromey <tromey@redhat.com>
4418
4419 * inf-child.c (inf_child_open_target): Make "arg" const.
4420 * inf-child.h (inf_child_open_target): Update.
4421
4422 2014-07-24 Tom Tromey <tromey@redhat.com>
4423
4424 * environ.c (unset_in_environ): Make "var" const.
4425 * environ.h (unset_in_environ): Update.
4426
4427 2014-07-24 Tom Tromey <tromey@redhat.com>
4428
4429 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
4430 Make "cmd" const.
4431 (scan_filename_with_cleanup): Likewise.
4432 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
4433 Make arguments const.
4434 (restore_command): Update.
4435
4436 2014-07-24 Pedro Alves <palves@redhat.com>
4437
4438 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
4439
4440 2014-07-24 Tom Tromey <tromey@redhat.com>
4441 Gary Benson <gbenson@redhat.com>
4442
4443 * nat/linux-ptrace.c (additional_flags): New global.
4444 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
4445 additional_flags; don't check GDBSERVER.
4446 (linux_ptrace_set_additional_flags): New function.
4447 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
4448 Declare.
4449 * linux-nat.c (_initialize_linux_nat): Call
4450 linux_ptrace_set_additional_flags.
4451
4452 2014-07-24 Tom Tromey <tromey@redhat.com>
4453
4454 * make-target-delegates (munge_type, write_debugmethod): New
4455 functions.
4456 (debug_names): New global.
4457 ($TARGET_DEBUG_PRINTER): New global.
4458 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
4459 name.
4460 Write debug methods. Generate init_debug_target.
4461 * target-debug.h: New file.
4462 * target-delegates.c: Rebuild.
4463 * target.c: Include target-debug.h.
4464 (debug_target): Hoist definition.
4465 (target_kill, target_get_section_table, target_memory_map)
4466 (target_flash_erase, target_flash_done, target_detach)
4467 (target_disconnect, target_wait, target_resume)
4468 (target_pass_signals, target_program_signals, target_follow_fork)
4469 (target_mourn_inferior, target_search_memory)
4470 (target_thread_address_space, target_close)
4471 (target_find_new_threads, target_core_of_thread)
4472 (target_verify_memory, target_insert_mask_watchpoint)
4473 (target_remove_mask_watchpoint): Remove targetdebug code.
4474 (debug_to_post_attach, debug_to_prepare_to_store)
4475 (debug_to_files_info, debug_to_insert_breakpoint)
4476 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
4477 (debug_to_region_ok_for_hw_watchpoint)
4478 (debug_to_can_accel_watchpoint_condition)
4479 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
4480 (debug_to_watchpoint_addr_within_range)
4481 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
4482 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
4483 (debug_to_terminal_init, debug_to_terminal_inferior)
4484 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
4485 (debug_to_terminal_save_ours, debug_to_terminal_info)
4486 (debug_to_load, debug_to_post_startup_inferior)
4487 (debug_to_insert_fork_catchpoint)
4488 (debug_to_remove_fork_catchpoint)
4489 (debug_to_insert_vfork_catchpoint)
4490 (debug_to_remove_vfork_catchpoint)
4491 (debug_to_insert_exec_catchpoint)
4492 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
4493 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
4494 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
4495 (setup_target_debug): Call init_debug_target.
4496 * target.h (TARGET_DEBUG_PRINTER): New macro.
4497 (struct target_ops) <to_resume, to_wait, to_pass_signals,
4498 to_program_signals>: Use TARGET_DEBUG_PRINTER.
4499
4500 2014-07-24 Gary Benson <gbenson@redhat.com>
4501
4502 * exceptions.h (throw_vfatal): Renamed to...
4503 (throw_vquit): New declaration.
4504 (throw_quit): Likewise.
4505 * exceptions.c (throw_vfatal): Renamed to...
4506 (throw_vquit): New function.
4507 (throw_quit): Likewise.
4508 (throw_error): Call throw_verror rather than throw_it.
4509 * utils.h (vfatal): Removed.
4510 (fatal): Likewise.
4511 * utils.c (vfatal): Removed.
4512 (fatal): Likewise.
4513 (internal_verror): Replaced call to fatal with call to throw_quit.
4514 (quit): Replaced calls to fatal with calls to throw_quit.
4515
4516 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
4517
4518 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
4519 target_read_code.
4520
4521 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
4522
4523 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
4524 less than zero in conditional expression.
4525
4526 2014-07-23 Tom Tromey <tromey@redhat.com>
4527
4528 * make-target-delegates ($ARGS_PART): Match trailing close paren.
4529 ($INTRO_PART): Don't match whitespace.
4530 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
4531 argument matching.
4532 ($METHOD): Add $METHOD_TRAILER.
4533 (trim): Rewrite.
4534 (scan_target_h): New sub.
4535 Change main loop not to collect state.
4536 * target-delegates.c: Rebuild.
4537
4538 2014-07-23 Gary Benson <gbenson@redhat.com>
4539
4540 * cp-support.c (gdb_demangle): Fix build on systems without
4541 sigaltstack.
4542
4543 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4544
4545 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
4546 for reference entry value target data value.
4547
4548 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4549
4550 * stack.c (read_frame_arg): Verify value_optimized_out before calling
4551 value_available_contents_eq.
4552
4553 2014-07-22 Pedro Alves <palves@redhat.com>
4554
4555 * value.c (allocate_optimized_out_value): Don't mark value as
4556 non-lazy.
4557
4558 2014-07-22 Jiong Wang <jiong.wang@arm.com>
4559
4560 * MAINTAINERS (Write After Approval): Update my email address.
4561
4562 2014-07-20 Doug Evans <dje@google.com>
4563
4564 PR server/17147
4565 * remote.c (putpkt_binary): Add text to error message.
4566
4567 2014-07-20 Yao Qi <yao@codesourcery.com>
4568
4569 * eval.c: Remove "Chill" from comments.
4570 * gdbtypes.h: Likewise.
4571 * symtab.h: Likewise.
4572
4573 2014-07-20 Yao Qi <yao@codesourcery.com>
4574
4575 * std-operator.def: Update comments to TERNOP_SLICE.
4576
4577 2014-07-20 Yao Qi <yao@codesourcery.com>
4578
4579 * std-operator.def: Remove BINOP_RANGE.
4580 * breakpoint.c (watchpoint_exp_is_const): Update.
4581 * expprint.c (dump_subexp_body_standard): Likewise.
4582 * eval.c (init_array_element): Remove dead code.
4583 (evaluate_subexp_standard): Likewise.
4584
4585 2014-07-20 Yao Qi <yao@codesourcery.com>
4586
4587 * std-operator.def: Remove BINOP_IN.
4588 * breakpoint.c (watchpoint_exp_is_const): Update.
4589 * eval.c (evaluate_subexp_standard): Likewise.
4590 * expprint.c (dump_subexp_body_standard): Likewise.
4591
4592 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
4593
4594 * microblaze-tdep.c (microblaze_register_names): Add
4595 the rshr and rslr register names.
4596 (microblaze_gdbarch_init): Use of tdesc_has_registers.
4597 Use of tdesc_find_feature. Use of tdesc_data_alloc.
4598 Use of tdesc_numbered_register. Use of
4599 microblaze_register_g_packet_guesses. Use of
4600 tdesc_use_registers. Use of set_gdbarch_register_type.
4601 (microblaze_register_g_packet_guesses): New.
4602 * microblaze-tdep.h (microblaze_reg_num): Add
4603 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
4604 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
4605 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
4606 * features/microblaze-core.xml: New file.
4607 * features/microblaze-stack-protect.xml: New file.
4608 * features/microblaze-with-stack-protect.c: New file.
4609 * features/microblaze-with-stack-protect.xml: New file.
4610 * features/microblaze.xml: New file.
4611 * features/microblaze.c: New file.
4612 * features/Makefile (microblaze-with-stack-protect): Add
4613 microblaze-with-stack-protect microblaze and microblaze-expedite.
4614 * regformats/microblaze-with-stack-protect.dat: New file.
4615 * regformats/microblaze.dat: New file.
4616 * doc/gdb.texinfo (MicroBlaze Features): Added.
4617
4618 2014-07-18 Tom Tromey <tromey@redhat.com>
4619
4620 * exec.c (exec_ops): Now static.
4621 * exec.h (exec_ops): Don't declare.
4622
4623 2014-07-18 Tom Tromey <tromey@redhat.com>
4624
4625 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
4626 to find_target_beneath.
4627 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
4628 find_target_beneath.
4629 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
4630
4631 2014-07-18 Tom Tromey <tromey@redhat.com>
4632
4633 PR gdb/17130:
4634 * utils.c (quit): Use target_supports_terminal_ours.
4635 * target.h (target_supports_terminal_ours): Declare.
4636 * target.c (target_supports_delete_record): Don't check
4637 to_delete_record against NULL.
4638 (target_supports_terminal_ours): New function.
4639
4640 2014-07-18 Tom Tromey <tromey@redhat.com>
4641
4642 PR gdb/17130:
4643 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
4644 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
4645 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
4646 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
4647 * windows-nat.c (windows_xfer_partial): Always delegate.
4648 * record-btrace.c (record_btrace_xfer_partial): Simplify
4649 delegation.
4650 (record_btrace_fetch_registers, record_btrace_store_registers)
4651 (record_btrace_prepare_to_store, record_btrace_resume)
4652 (record_btrace_wait, record_btrace_find_new_threads)
4653 (record_btrace_thread_alive): Likewise.
4654 * procfs.c (procfs_xfer_partial): Always delegate.
4655 * corelow.c (core_xfer_partial): Always delegate.
4656 * sol-thread.c (sol_find_new_threads): Simplify delegation.
4657
4658 2014-07-18 Tom Tromey <tromey@redhat.com>
4659
4660 * exec.c (exec_make_note_section): Move earlier.
4661
4662 2014-07-17 Doug Evans <dje@google.com>
4663
4664 PR gdb/17170
4665 * maint.c (count_symtabs_and_blocks): Handle NULL
4666 current_program_space.
4667 (report_command_stats): Check global enabled flag in addition to
4668 recorded enabled flag.
4669 (make_command_stats_cleanup): Handle msg_type == 0, startup.
4670
4671 2014-07-16 Pedro Alves <palves@redhat.com>
4672
4673 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
4674
4675 2014-07-16 Tom Tromey <tromey@redhat.com>
4676
4677 * target.h (struct target_ops) <to_delete_record>: Reformat
4678 comment.
4679
4680 2014-07-16 Tom Tromey <tromey@redhat.com>
4681
4682 * target-delegates.c: Rebuild.
4683
4684 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4685
4686 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
4687 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
4688 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
4689 (avr_pointer_to_address): Likewise.
4690 (avr_address_class_type_flags): New function.
4691 (avr_address_class_type_flags_to_name): Likewise.
4692 (avr_address_class_name_to_type_flags): Likewise.
4693 (avr_gdbarch_init): Set address_class_type_flags,
4694 address_class_type_flags_to_name and
4695 address_class_name_to_type_flags.
4696
4697 2014-07-15 Pedro Alves <palves@redhat.com>
4698
4699 * linux-nat.c (kill_callback): Save errno and work with saved
4700 copy.
4701
4702 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4703
4704 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
4705
4706 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4707
4708 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
4709 breakpoint support correctly.
4710
4711 2014-07-14 Pedro Alves <palves@redhat.com>
4712
4713 * utils.c (prompt_for_continue): Call target_terminal_ours.
4714
4715 2014-07-14 Pedro Alves <palves@redhat.com>
4716
4717 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
4718 catch_errors. Don't re-enable stdin or notify observers where,
4719 and rethrow error.
4720 (fetch_inferior_event_wrapper): Delete.
4721
4722 2014-07-14 Pedro Alves <palves@redhat.com>
4723
4724 PR gdb/17072
4725 * top.c: Include "inf-loop.h".
4726 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
4727 field.
4728 (gdb_readline_wrapper_cleanup): Make the target async again, if it
4729 was async before.
4730 (gdb_readline_wrapper): Store whether the target is async, and
4731 make it sync.
4732
4733 2014-07-14 Pedro Alves <palves@redhat.com>
4734
4735 PR gdb/17072
4736 * top.c (gdb_readline_wrapper_line): Tweak comment.
4737 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
4738 the input handler callback.
4739
4740 2014-07-14 Pedro Alves <palves@redhat.com>
4741
4742 PR gdb/17072
4743 * main.c: Include event-top.h.
4744 (handle_command_errors): New function.
4745 (catch_command_errors, catch_command_errors_const): Use it.
4746
4747 2014-07-14 Pedro Alves <palves@redhat.com>
4748
4749 * exceptions.c (catch_command_errors, catch_command_errors_const):
4750 Moved to main.c.
4751 * exceptions.h (catch_command_errors_ftype)
4752 (catch_command_errors_const_ftype): Moved to main.c.
4753 (catch_command_errors, catch_command_errors_const): Delete
4754 declarations.
4755 * main.c (catch_command_errors_ftype)
4756 (catch_command_errors_const_ftype): Moved here from exceptions.h.
4757 (catch_command_errors, catch_command_errors_const)): Moved here
4758 from exceptions.c and make static.
4759
4760 2014-07-14 Pedro Alves <palves@redhat.com>
4761
4762 * exceptions.c (print_any_exception): Delete.
4763 (catch_exceptions_with_msg): Use exception_print instead of
4764 print_any_exception.
4765 (catch_errors): Use exception_fprintf instead of
4766 print_any_exception.
4767 (catch_command_errors, catch_command_errors_const): Use
4768 exception_print instead of print_any_exception.
4769
4770 2014-07-14 Pedro Alves <palves@redhat.com>
4771
4772 * infcall.c (run_inferior_call): Set 'sync_execution' while
4773 running the inferior call.
4774
4775 2014-07-14 Pedro Alves <palves@redhat.com>
4776
4777 * value.c (value_contents_equal): Delete function.
4778 * value.h (value_contents_equal): Delete declaration.
4779
4780 2014-07-14 Tom Tromey <tromey@redhat.com>
4781
4782 PR exp/17106:
4783 * gdbtypes.c (is_dynamic_type_internal): New function, from
4784 is_dynamic_type.
4785 (is_dynamic_type): Rewrite.
4786 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
4787 (resolve_dynamic_struct): Likewise.
4788 (resolve_dynamic_type_internal): New function, from
4789 resolve_dynamic_type.
4790 (resolve_dynamic_type): Rewrite.
4791
4792 2014-07-14 Tom Tromey <tromey@redhat.com>
4793
4794 * target.c (target_require_runnable): Also check record_stratum.
4795 Update comment.
4796
4797 2014-07-11 Yao Qi <yao@codesourcery.com>
4798
4799 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
4800 thumb_instruction_restores_sp return true.
4801
4802 2014-07-11 Yao Qi <yao@codesourcery.com>
4803
4804 * arm-tdep.c (thumb_instruction_restores_sp): New function.
4805 (thumb_in_function_epilogue_p): Call
4806 thumb_instruction_restores_sp.
4807
4808 2014-07-11 Yao Qi <yao@codesourcery.com>
4809
4810 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
4811 'add sp, #imm'.
4812 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
4813
4814 2014-07-11 Gary Benson <gbenson@redhat.com>
4815
4816 * amd64-linux-nat.c (gdbcore.h): Remove include.
4817 (regset.h): Likewise.
4818 (nat/linux-btrace.h): Likewise.
4819 (btrace.h): Likewise.
4820 (gdb_assert.h): Likewise.
4821 (string.h): Likewise.
4822 (sys/uio.h): Likewise.
4823 (sys/debugreg.h): Likewise.
4824 (sys/syscall.h): Likewise.
4825 (sys/procfs.h): Likewise.
4826 (sys/user.h): Likewise.
4827 (asm/ptrace.h): Likewise.
4828 (i386-nat.h): Likewise.
4829 * i386-linux-nat.c (i386-nat.h): Likewise.
4830 (regset.h): Likewise.
4831 (target.h): Likewise.
4832 (linux-nat.h): Likewise.
4833 (nat/linux-btrace.h): Likewise.
4834 (btrace.h): Likewise.
4835 (gdb_assert.h): Likewise.
4836 (string.h): Likewise.
4837 (sys/uio.h): Likewise.
4838 (sys/user.h): Likewise.
4839 (sys/procfs.h): Likewise.
4840 (sys/reg.h): Likewise.
4841 (sys/debugreg.h): Likewise.
4842 (ORIG_EAX): Remove definition.
4843
4844 2014-07-11 Gary Benson <gbenson@redhat.com>
4845
4846 * i386-linux-nat.h: New file.
4847 * x86-linux-nat.h: Likewise.
4848 * x86-linux-nat.c: Likewise.
4849 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
4850 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
4851 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4852 * amd64-linux-nat.c (x86-linux-nat.h): New include.
4853 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4854 (PTRACE_SETREGSET): Likewise.
4855 (arch_lwp_info): Now in x86-linux-nat.c.
4856 (have_ptrace_getregset): Now in x86-linux-nat.h.
4857 (x86_linux_dr_get): Now in x86-linux-nat.c.
4858 (x86_linux_dr_set): Likewise.
4859 (x86_linux_dr_get_addr): Likewise.
4860 (x86_linux_dr_get_control): Likewise.
4861 (x86_linux_dr_get_status): Likewise.
4862 (update_debug_registers_callback): Likewise.
4863 (x86_linux_dr_set_control): Likewise.
4864 (x86_linux_dr_set_addr): Likewise.
4865 (x86_linux_prepare_to_resume): Likewise.
4866 (x86_linux_new_thread): Likewise.
4867 (x86_linux_new_fork): Likewise.
4868 (x86_linux_get_thread_area): Likewise.
4869 (super_post_startup_inferior): Likewise.
4870 (x86_linux_child_post_startup_inferior): Likewise.
4871 (AMD64_LINUX_USER64_CS): Likewise.
4872 (AMD64_LINUX_X32_DS): Likewise.
4873 (x86_linux_read_description): Likewise.
4874 (x86_linux_enable_btrace): Likewise.
4875 (x86_linux_disable_btrace): Likewise.
4876 (x86_linux_teardown_btrace): Likewise.
4877 (x86_linux_read_btrace): Likewise.
4878 (x86_linux_create_target): Likewise.
4879 (x86_linux_add_target): Likewise.
4880 * i386-linux-nat.c (x86-linux-nat.h): New include.
4881 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4882 (PTRACE_SETREGSET): Likewise.
4883 (arch_lwp_info): Now in x86-linux-nat.c.
4884 (have_ptrace_getregset): Now in x86-linux-nat.h.
4885 (x86_linux_dr_get): Now in x86-linux-nat.c.
4886 (x86_linux_dr_set): Likewise.
4887 (x86_linux_dr_get_addr): Likewise.
4888 (x86_linux_dr_get_control): Likewise.
4889 (x86_linux_dr_get_status): Likewise.
4890 (update_debug_registers_callback): Likewise.
4891 (x86_linux_dr_set_control): Likewise.
4892 (x86_linux_dr_set_addr): Likewise.
4893 (x86_linux_prepare_to_resume): Likewise.
4894 (x86_linux_new_thread): Likewise.
4895 (x86_linux_new_fork): Likewise.
4896 (x86_linux_get_thread_area): Likewise.
4897 (super_post_startup_inferior): Likewise.
4898 (x86_linux_child_post_startup_inferior): Likewise.
4899 (AMD64_LINUX_USER64_CS): Likewise.
4900 (AMD64_LINUX_X32_DS): Likewise.
4901 (x86_linux_read_description): Likewise.
4902 (x86_linux_enable_btrace): Likewise.
4903 (x86_linux_disable_btrace): Likewise.
4904 (x86_linux_teardown_btrace): Likewise.
4905 (x86_linux_read_btrace): Likewise.
4906 (x86_linux_create_target): Likewise.
4907 (x86_linux_add_target): Likewise.
4908
4909 2014-07-11 Gary Benson <gbenson@redhat.com>
4910
4911 * amd64-linux-nat.c: Comment and whitespace changes.
4912 * i386-linux-nat.c: Comment and whitespace changes.
4913
4914 2014-07-11 Gary Benson <gbenson@redhat.com>
4915
4916 * amd64-linux-nat.c (x86_linux_create_target): New function.
4917 (x86_linux_add_target): Likewise.
4918 (_initialize_amd64_linux_nat): Delegate to the above new functions.
4919 * i386-linux-nat.c (x86_linux_create_target): New function.
4920 (x86_linux_add_target): Likewise.
4921 (_initialize_i386_linux_nat): Delegate to the above new functions.
4922
4923 2014-07-11 Gary Benson <gbenson@redhat.com>
4924
4925 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
4926 (ps_get_thread_area): Delegate to the above in 32-bit mode.
4927 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
4928 (ps_get_thread_area): Delegate to the above.
4929
4930 2014-07-11 Gary Benson <gbenson@redhat.com>
4931
4932 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
4933 x86_linux_read_description. All uses updated. amd64-specific
4934 code conditionalized. Conditionalized i386-specific code added.
4935 Redundant cast removed.
4936 * i386-linux-nat.c (i386_linux_read_description): Renamed to
4937 x86_linux_read_description. All uses updated. i386-specific
4938 code conditionalized. Conditionalized amd64-specific code added.
4939 One sizeof replaced with the actual type it is describing.
4940
4941 2014-07-11 Gary Benson <gbenson@redhat.com>
4942
4943 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
4944 x86_linux_dr_get. All uses updated.
4945 (amd64_linux_dr_set): Renamed to
4946 x86_linux_dr_set. All uses updated.
4947 (amd64_linux_dr_get_addr): Renamed to
4948 x86_linux_dr_get_addr. All uses updated.
4949 (amd64_linux_dr_get_control): Renamed to
4950 x86_linux_dr_get_control. All uses updated.
4951 (amd64_linux_dr_get_status): Renamed to
4952 x86_linux_dr_get_status. All uses updated.
4953 (amd64_linux_dr_set_control): Renamed to
4954 x86_linux_dr_set_control. All uses updated.
4955 (amd64_linux_dr_set_addr): Renamed to
4956 x86_linux_dr_set_addr. All uses updated.
4957 (amd64_linux_prepare_to_resume): Renamed to
4958 x86_linux_prepare_to_resume. All uses updated.
4959 (amd64_linux_new_thread): Renamed to
4960 x86_linux_new_thread. All uses updated.
4961 (amd64_linux_new_fork): Renamed to
4962 x86_linux_new_fork. All uses updated.
4963 (amd64_linux_child_post_startup_inferior): Renamed to
4964 x86_linux_child_post_startup_inferior. All uses updated.
4965 (amd64_linux_enable_btrace): Renamed to
4966 x86_linux_enable_btrace. All uses updated.
4967 (amd64_linux_disable_btrace): Renamed to
4968 x86_linux_disable_btrace. All uses updated.
4969 (amd64_linux_teardown_btrace): Renamed to
4970 x86_linux_teardown_btrace. All uses updated.
4971 (amd64_linux_read_btrace): Renamed to
4972 x86_linux_read_btrace. All uses updated.
4973 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
4974 x86_linux_dr_get. All uses updated.
4975 (i386_linux_dr_set): Renamed to
4976 x86_linux_dr_set. All uses updated.
4977 (i386_linux_dr_get_addr): Renamed to
4978 x86_linux_dr_get_addr. All uses updated.
4979 (i386_linux_dr_get_control): Renamed to
4980 x86_linux_dr_get_control. All uses updated.
4981 (i386_linux_dr_get_status): Renamed to
4982 x86_linux_dr_get_status. All uses updated.
4983 (i386_linux_dr_set_control): Renamed to
4984 x86_linux_dr_set_control. All uses updated.
4985 (i386_linux_dr_set_addr): Renamed to
4986 x86_linux_dr_set_addr. All uses updated.
4987 (i386_linux_prepare_to_resume): Renamed to
4988 x86_linux_prepare_to_resume. All uses updated.
4989 (i386_linux_new_thread): Renamed to
4990 x86_linux_new_thread. All uses updated.
4991 (i386_linux_new_fork): Renamed to
4992 x86_linux_new_fork. All uses updated.
4993 (i386_linux_child_post_startup_inferior): Renamed to
4994 x86_linux_child_post_startup_inferior. All uses updated.
4995 (i386_linux_enable_btrace): Renamed to
4996 x86_linux_enable_btrace. All uses updated.
4997 (i386_linux_disable_btrace): Renamed to
4998 x86_linux_disable_btrace. All uses updated.
4999 (i386_linux_teardown_btrace): Renamed to
5000 x86_linux_teardown_btrace. All uses updated.
5001 (i386_linux_read_btrace): Renamed to
5002 x86_linux_read_btrace. All uses updated.
5003
5004 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5005
5006 * remote.c (extended_remote_post_attach): New function.
5007 (init_extended_remote_ops): Install it as to_post_attach method.
5008
5009 2014-07-09 Pedro Alves <palves@redhat.com>
5010
5011 * infcmd.c (attach_command_post_wait): Don't call
5012 target_terminal_inferior here.
5013 (attach_command): Call it here instead.
5014
5015 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5016
5017 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
5018 field.
5019 * c-varobj.c (c_is_path_expr_parent): New function, moved core
5020 from varobj.c, with additional checks.
5021 (c_varobj_ops): Fill in is_path_expr_parent field.
5022 (cplus_varobj_ops): Fill in is_path_expr_parent field.
5023 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
5024 field.
5025 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
5026 ops method.
5027 (varobj_default_is_path_expr_parent): New function.
5028 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
5029 (varobj_default_is_path_expr_parent): Declare new function.
5030
5031 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5032
5033 * infcmd.c (finish_backward): Turn internal error into normal error.
5034
5035 2014-07-07 Pedro Alves <palves@redhat.com>
5036
5037 PR gdb/17096
5038 * remote.c (async_handle_remote_sigint)
5039 (async_handle_remote_sigint_twice): Call
5040 gdb_call_async_signal_handler instead of
5041 mark_async_signal_handler.
5042
5043 2014-07-07 Tom Tromey <tromey@redhat.com>
5044
5045 * target-delegates.c: Rebuild.
5046 * target.c (target_info_record): Remove.
5047 * record.c (info_record_command): Unconditionally call
5048 to_info_record.
5049 * target.h (struct target_ops) <to_info_record>: Use
5050 TARGET_DEFAULT_IGNORE.
5051 (target_info_record): Remove.
5052
5053 2014-07-07 Tom Tromey <tromey@redhat.com>
5054
5055 * target.h (struct target_ops) <to_get_thread_local_address>: Use
5056 TARGET_DEFAULT_NORETURN.
5057 * target.c (generic_tls_error): New function.
5058 (target_translate_tls_address): Don't search target stack.
5059 * target-delegates.c: Rebuild.
5060 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
5061 stack.
5062 * linux-thread-db.c (thread_db_get_thread_local_address):
5063 Unconditionally call beneath target.
5064
5065 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
5066
5067 * cli/cli-logging.c (pop_output_files): Assign targerr to
5068 gdb_stdtargerr.
5069
5070 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
5071
5072 * MAINTAINERS (Write After Approval): Update my email address.
5073
5074 2014-07-02 Gary Benson <gbenson@redhat.com>
5075
5076 * proc-service.c (ps_xfer_memory): Update comment.
5077 (ps_pstop): Remove unused function.
5078 (ps_pcontinue): Likewise.
5079 (ps_lstop): Likewise.
5080 (ps_lcontinue): Likewise.
5081 (ps_lgetxregsize): Likewise.
5082 (ps_lgetxregs): Likewise.
5083 (ps_lsetxregs): Likewise.
5084 (ps_plog): Likewise.
5085 (ps_ptread): Likewise.
5086 (ps_ptwrite): Likewise.
5087
5088 2014-07-01 Mark Wielaard <mjw@redhat.com>
5089
5090 * dwarf2read.c (add_array_cv_type): New function.
5091 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
5092 (read_tag_volatile_type): Likewise.
5093
5094 2014-07-01 Tom Tromey <tromey@redhat.com>
5095
5096 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
5097 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
5098 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
5099 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
5100 * command.h (cmd_cfunc_ftype): Move earlier.
5101 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
5102 (add_com, add_info): Use cmd_cfunc_ftype.
5103
5104 2014-06-30 Tom Tromey <tromey@redhat.com>
5105
5106 * symtab.c (operator_chars): Make parameters and return type
5107 const.
5108 (file_matches): Make "files" const.
5109 (struct search_symbols_data) <files>: Now const.
5110 (search_symbols): Make "regexp" and "files" parameters const.
5111 Update.
5112 (symtab_symbol_info): Remove cast.
5113 (rbreak_command): Update.
5114 * symtab.h (search_symbols): Update.
5115
5116 2014-06-27 Yao Qi <yao@codesourcery.com>
5117
5118 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
5119 Change parameter type to 'struct thread_info *'. Caller
5120 updated.
5121 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
5122 Update declaration.
5123 * dummy-frame.c (struct dummy_frame_id): New.
5124 (dummy_frame_id_eq): New function.
5125 (struct dummy_frame) <id>: Change its type to 'struct
5126 dummy_frame_id'.
5127 (dummy_frame_push): Add parameter ptid and save it in
5128 dummy_frame_id.
5129 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
5130 inferior_ptid.
5131 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
5132 to inferior_ptid.
5133 (lookup_dummy_frame): Change parameter type to 'struct
5134 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
5135 instead of frame_id_eq.
5136 (dummy_frame_pop): Add parameter ptid. Callers updated.
5137 Update comments. Compose dummy_frame_id and pass it to
5138 lookup_dummy_frame.
5139 (dummy_frame_discard): Add parameter ptid.
5140 (dummy_frame_sniffer): Compose dummy_frame_id and call
5141 dummy_frame_id_eq instead of frame_id_eq.
5142 (fprint_dummy_frames): Print ptid.
5143 * dummy-frame.h: Remove comments.
5144 (dummy_frame_push): Add ptid in declaration.
5145 (dummy_frame_pop, dummy_frame_discard): Likewise.
5146
5147 2014-06-26 Tom Tromey <tromey@redhat.com>
5148
5149 * cli/cli-cmds.c (error_no_arg): Make "why" const.
5150 * command.h (error_no_arg): Update.
5151
5152 2014-06-26 Tom Tromey <tromey@redhat.com>
5153
5154 * cli/cli-setshow.c (do_set_command): Make "arg" const.
5155 (do_show_command): Make "arg" const.
5156 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
5157
5158 2014-06-26 Tom Tromey <tromey@redhat.com>
5159
5160 * record-full.c (record_full_get_bookmark): Make "args" const.
5161 (record_full_goto_bookmark): Make "raw_bookmark" const.
5162 * record.c (record_goto): New function.
5163 (cmd_record_goto): Use it. Now static.
5164 * record.h (record_goto): Declare.
5165 (cmd_record_goto): Remove declaration.
5166 * target-delegates.c: Rebuild.
5167 * target.h (struct target_ops) <to_get_bookmark,
5168 to_goto_bookmark>: Make parameter const.
5169
5170 2014-06-26 Tom Tromey <tromey@redhat.com>
5171
5172 * defs.h (generic_load): Update.
5173 * m32r-rom.c (m32r_load_gen): Make "filename" const.
5174 * monitor.c (monitor_load): Make "args" const.
5175 * remote-m32r-sdi.c (m32r_load): Make "args" const.
5176 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
5177 const.
5178 (mips_load): Make "file" const.
5179 * remote-sim.c (gdbsim_load): Make "args" const.
5180 * remote.c (remote_load): Make "name" const.
5181 * symfile.c (generic_load): Make "args" const.
5182 * target-delegates.c: Rebuild.
5183 * target.c (target_load): Make "arg" const.
5184 (debug_to_load): Make "args" const.
5185 * target.h (struct target_ops) <to_load>: Make parameter const.
5186 (target_load): Update.
5187
5188 2014-06-26 Tom Tromey <tromey@redhat.com>
5189
5190 PR symtab/16902:
5191 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
5192 (dwarf2_physname, read_partial_die)
5193 (guess_partial_die_structure_name, fixup_partial_die)
5194 (guess_full_die_structure_name, anonymous_struct_prefix)
5195 (dwarf2_name): Use per-BFD obstack.
5196
5197 2014-06-26 Yao Qi <yao@codesourcery.com>
5198
5199 * dummy-frame.c (dummy_frame_sniffer): Move local variables
5200 dummyframe and this_id into inner block below.
5201
5202 2014-06-26 Yao Qi <yao@codesourcery.com>
5203
5204 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
5205 with "signal_pass[0]" in the initialization of signal_pass.
5206
5207 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5208
5209 * record-btrace.c (record_btrace_generating_corefile)
5210 (record_btrace_prepare_to_generate_core)
5211 (record_btrace_done_generating_core): New.
5212 (record_btrace_xfer_partial, record_btrace_fetch_registers)
5213 (record_btrace_store_registers, record_btrace_prepare_to_store):
5214 Forward request when generating a core file.
5215 (record_btrace_open): Set record_btrace_generating_corefile to zero.
5216 (init_record_btrace_ops): Set to_prepare_to_generate_core and
5217 to_done_generating_core.
5218
5219 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5220
5221 * target.h (target_ops) <to_prepare_to_generate_core>
5222 <to_done_generating_core>: New.
5223 (target_prepare_to_generate_core, target_done_generating_core): New.
5224 * target.c (target_prepare_to_generate_core)
5225 (target_done_generating_core): New.
5226 * target-delegates.c: Regenerate.
5227 * gcore.c: (write_gcore_file): Rename to ...
5228 (write_gcore_file_1): ...this.
5229 (write_gcore_file): Call target_prepare_to_generate_core
5230 and target_done_generating_core.
5231
5232 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5233
5234 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
5235 * gcore.c (write_gcore_file): Free memory returned from
5236 make_corefile_notes.
5237 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
5238 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
5239
5240 2014-06-24 Yao Qi <yao@codesourcery.com>
5241
5242 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
5243 (arm_linux_init_abi): Set skip_trampoline_code with
5244 gdbarch_skip_trampoline_code instead of
5245 find_solib_trampoline_target.
5246
5247 2014-06-24 Yao Qi <yao@codesourcery.com>
5248
5249 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
5250 arm_skip_bx_reg returns non-zero.
5251
5252 2014-06-24 Yao Qi <yao@codesourcery.com>
5253
5254 * arm-tdep.c (arm_skip_bx_reg): New function.
5255 (arm_skip_stub): Call arm_skip_bx_reg.
5256
5257 2014-06-23 Don Breazeal <donb@codesourcery.com>
5258
5259 * MAINTAINERS: Add myself as write-after-approval maintainer.
5260
5261 2014-06-23 Pedro Alves <palves@redhat.com>
5262
5263 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
5264 DR_CONTROL before setting DR0..DR3.
5265 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
5266 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
5267 bits of DR_CONTROL related to the debug register slot being
5268 disabled. If all slots are vacant, clear local slowdown as well,
5269 and assert DR_CONTROL is 0.
5270
5271 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5272
5273 * python/lib/gdb/command/xmethods.py
5274 (get_method_matchers_in_loci): Lookup xmethod matchers in the
5275 current progspace only if the string "progspace" matches LOCUS_RE.
5276
5277 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5278
5279 Fix --with-system-readline with readline-6.3 patch 5.
5280 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
5281 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
5282 types.
5283
5284 2014-06-20 Tom Tromey <tromey@redhat.com>
5285
5286 * dwarf2read.c (dw2_get_real_path): Use correct type in
5287 OBSTACK_CALLOC.
5288 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
5289
5290 2014-06-20 Gary Benson <gbenson@redhat.com>
5291
5292 * common/gdb_thread_db.h: Moved to nat. All includes updated.
5293 * common/glibc_thread_db.h: Likewise.
5294 * common/i386-cpuid.h: Likewise.
5295 * common/i386-gcc-cpuid.h: Likewise.
5296 * common/linux-btrace.h: Likewise.
5297 * common/linux-osdata.h: Likewise.
5298 * common/linux-procfs.h: Likewise.
5299 * common/linux-ptrace.h: Likewise.
5300 * common/mips-linux-watch.h: Likewise.
5301 * common/linux-btrace.c: Moved to nat.
5302 * common/linux-osdata.c: Likewise.
5303 * common/linux-procfs.c: Likewise.
5304 * common/linux-ptrace.c: Likewise.
5305 * common/mips-linux-watch.c: Likewise.
5306 * nat/gdb_thread_db.h: Moved from common.
5307 * nat/glibc_thread_db.h: Likewise.
5308 * nat/i386-cpuid.h: Likewise.
5309 * nat/i386-gcc-cpuid.h: Likewise.
5310 * nat/linux-btrace.c: Likewise.
5311 * nat/linux-btrace.h: Likewise.
5312 * nat/linux-osdata.c: Likewise.
5313 * nat/linux-osdata.h: Likewise.
5314 * nat/linux-procfs.c: Likewise.
5315 * nat/linux-procfs.h: Likewise.
5316 * nat/linux-ptrace.c: Likewise.
5317 * nat/linux-ptrace.h: Likewise.
5318 * nat/mips-linux-watch.c: Likewise.
5319 * nat/mips-linux-watch.h: Likewise.
5320 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
5321 (object file files): Reordered.
5322 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
5323 of glibc_thread_db.h.
5324
5325 2014-06-20 Gary Benson <gbenson@redhat.com>
5326
5327 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
5328 (i386_dr_low_type): Moved to nat/i386-dregs.h.
5329 (i386_dr_low): Likewise.
5330 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
5331 (i386_dr_low_set_addr): Likewise.
5332 (i386_dr_low_get_addr): Likewise.
5333 (i386_dr_low_can_set_control): Likewise.
5334 (i386_dr_low_set_control): Likewise.
5335 (i386_dr_low_get_control): Likewise.
5336 (i386_dr_low_get_status): Likewise.
5337 (i386_get_debug_register_length): Likewise.
5338 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
5339 (i386_dr_low): Likewise.
5340 * nat/i386-dregs.c (i386-low.h): Remove include.
5341 (i386-nat.h): Likewise.
5342 (nat/i386-dregs.h): New include.
5343 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
5344 (i386_dr_low_set_addr): Likewise.
5345 (i386_dr_low_get_addr): Likewise.
5346 (i386_dr_low_can_set_control): Likewise.
5347 (i386_dr_low_set_control): Likewise.
5348 (i386_dr_low_get_control): Likewise.
5349 (i386_dr_low_get_status): Likewise.
5350 (i386_get_debug_register_length): Likewise.
5351 (debug_hw_points): Likewise.
5352
5353 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5354
5355 * Makefile.in (SFILES): Add d-exp.y.
5356 (YYFILES): Add d-exp.c.
5357 (YYOBJ): Add d-exp.o.
5358 (local-maintainer-clean): Delete d-exp.c.
5359 * d-exp.y: New file.
5360 * d-lang.h (d_parse): New declaration.
5361 (d_error): New declaration.
5362 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
5363 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
5364 PREC_ORDER operators.
5365 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
5366
5367 2014-06-19 Yao Qi <yao@codesourcery.com>
5368
5369 * gdbthread.h (any_running): Remove the declaration.
5370 * thread.c (any_running): Remove.
5371
5372 2014-06-19 Yao Qi <yao@codesourcery.com>
5373
5374 * gdbthread.h (struct thread_info) <state>: Change its type to
5375 'enum thread_state'. Update comments.
5376
5377 2014-06-19 Pedro Alves <palves@redhat.com>
5378
5379 * gdbthread.h (ALL_THREADS): Delete.
5380 (ALL_NON_EXITED_THREADS): New macro.
5381 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
5382 instead of ALL_THREADS.
5383 * infrun.c (find_thread_needs_step_over)
5384 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
5385 instead of ALL_THREADS.
5386 * record-btrace.c (record_btrace_open)
5387 (record_btrace_stop_recording, record_btrace_close)
5388 (record_btrace_is_replaying, record_btrace_resume)
5389 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
5390 * remote.c (append_pending_thread_resumptions): Likewise.
5391 * thread.c (thread_apply_all_command): Likewise.
5392
5393 2014-06-19 Gary Benson <gbenson@redhat.com>
5394
5395 * i386-nat.c (i386_stopped_by_watchpoint):
5396 Use i386_dr_stopped_by_watchpoint.
5397 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
5398 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
5399
5400 2014-06-19 Gary Benson <gbenson@redhat.com>
5401
5402 * nat/i386-dregs.c: New file.
5403 * Makefile.in (i386-dregs.o): New rule.
5404 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
5405 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
5406 * config/i386/darwin.mh (NATDEPFILES): Likewise.
5407 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
5408 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
5409 * config/i386/go32.mh (NATDEPFILES): Likewise.
5410 * config/i386/linux.mh (NATDEPFILES): Likewise.
5411 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5412 * config/i386/mingw.mh (NATDEPFILES): Likewise.
5413 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
5414 * i386-nat.h (debug_hw_points): New declaration.
5415 * i386-nat.c (breakpoint.h): Remove include.
5416 (command.h): Likewise.
5417 (target.h): Likewise.
5418 (gdb_assert.h): Likewise.
5419 (debug_hw_points): Made nonstatic.
5420 (debug_printf): Now in i386-dregs.c.
5421 (TARGET_HAS_DR_LEN_8): Likewise.
5422 (DR_CONTROL_SHIFT): Likewise.
5423 (DR_CONTROL_SIZE): Likewise.
5424 (DR_RW_EXECUTE): Likewise.
5425 (DR_RW_WRITE): Likewise.
5426 (DR_RW_READ): Likewise.
5427 (DR_RW_IORW): Likewise.
5428 (DR_LEN_1): Likewise.
5429 (DR_LEN_2): Likewise.
5430 (DR_LEN_4): Likewise.
5431 (DR_LEN_8): Likewise.
5432 (DR_LOCAL_ENABLE_SHIFT): Likewise.
5433 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
5434 (DR_ENABLE_SIZE): Likewise.
5435 (DR_LOCAL_SLOWDOWN): Likewise.
5436 (DR_GLOBAL_SLOWDOWN): Likewise.
5437 (DR_CONTROL_RESERVED): Likewise.
5438 (I386_DR_CONTROL_MASK): Likewise.
5439 (I386_DR_VACANT): Likewise.
5440 (I386_DR_LOCAL_ENABLE): Likewise.
5441 (I386_DR_GLOBAL_ENABLE): Likewise.
5442 (I386_DR_DISABLE): Likewise.
5443 (I386_DR_SET_RW_LEN): Likewise.
5444 (I386_DR_GET_RW_LEN): Likewise.
5445 (I386_DR_WATCH_HIT): Likewise.
5446 (i386_wp_op_t): Likewise.
5447 (i386_show_dr): Likewise.
5448 (i386_length_and_rw_bits): Likewise.
5449 (i386_insert_aligned_watchpoint): Likewise.
5450 (i386_remove_aligned_watchpoint): Likewise.
5451 (i386_handle_nonaligned_watchpoint): Likewise.
5452 (i386_update_inferior_debug_regs): Likewise.
5453 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
5454 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
5455 (i386_region_ok_for_watchpoint):
5456 Use i386_dr_region_ok_for_watchpoint.
5457 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
5458
5459 2014-06-19 Gary Benson <gbenson@redhat.com>
5460
5461 * i386-nat.c (i386_insert_hw_breakpoint): Use
5462 i386_insert_watchpoint.
5463 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
5464
5465 2014-06-19 Gary Benson <gbenson@redhat.com>
5466
5467 * i386-nat.c (i386_dr_show): Renamed to
5468 i386_show_dr and made static. All uses updated.
5469 (i386_dr_length_and_rw_bits): Renamed to
5470 i386_length_and_rw_bits and made static.
5471 All uses updated.
5472 (i386_dr_insert_aligned_watchpoint): Renamed to
5473 i386_insert_aligned_watchpoint and made static.
5474 All uses updated.
5475 (i386_dr_remove_aligned_watchpoint): Renamed to
5476 i386_remove_aligned_watchpoint and made static.
5477 All uses updated.
5478 (i386_dr_update_inferior_debug_regs): Renamed to
5479 i386_update_inferior_debug_regs and made static.
5480 All uses updated.
5481 * nat/i386-dregs.h (i386_dr_show): Removed.
5482 (i386_dr_length_and_rw_bits): Likewise.
5483 (i386_dr_insert_aligned_watchpoint): Likewise.
5484 (i386_dr_remove_aligned_watchpoint): Likewise.
5485 (i386_dr_update_inferior_debug_regs): Likewise.
5486
5487 2014-06-19 Gary Benson <gbenson@redhat.com>
5488
5489 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
5490 * configure: Regenerate.
5491 * config.in: Likewise.
5492 * main.c (signal.h): New include.
5493 (setup_alternate_signal_stack): New function.
5494 (captured_main): Call the above.
5495 * cp-support.c (signal.h): New include.
5496 (catch_demangler_crashes): New flag.
5497 (SIGJMP_BUF): New define.
5498 (SIGSETJMP): Likewise.
5499 (SIGLONGJMP): Likewise.
5500 (gdb_demangle_jmp_buf): New static global.
5501 (gdb_demangle_attempt_core_dump): Likewise.
5502 (gdb_demangle_signal_handler): New function.
5503 (gdb_demangle): If catch_demangler_crashes is set, install the
5504 above signal handler before calling bfd_demangle, and restore
5505 the original signal handler afterwards. Display the offending
5506 symbol and call demangler_warning the first time a segmentation
5507 fault is caught.
5508 (_initialize_cp_support): New maint set/show command.
5509
5510 2014-06-19 Gary Benson <gbenson@redhat.com>
5511
5512 * utils.h (resource_limit_kind): New enum.
5513 (can_dump_core): New declaration.
5514 (warn_cant_dump_core): Likewise.
5515 (dump_core): Likewise.
5516 * utils.c (dump_core): Made nonstatic. Added new
5517 parameter "limit_kind".
5518 (can_dump_core): Made nonstatic. Moved printing code to...
5519 (warn_cant_dump_core): New function.
5520 (can_dump_core_warn): Likewise.
5521 (internal_vproblem): Replace calls to can_dump_core with
5522 calls to can_dump_core_warn. Supply new argument to each.
5523
5524 2014-06-19 Gary Benson <gbenson@redhat.com>
5525
5526 * utils.h (demangler_vwarning): New declaration.
5527 (demangler_warning): Likewise.
5528 * utils.c (struct internal_problem)
5529 <user_settable_should_quit>: New field.
5530 <user_settable_should_dump_core>: Likewise
5531 (internal_error_problem): Add values for above new fields.
5532 (internal_warning_problem): Likewise.
5533 (demangler_warning_problem): New static global.
5534 (demangler_vwarning): New function.
5535 (demangler_warning): Likewise.
5536 (add_internal_problem_command): Selectively add commands.
5537 (_initialize_utils): New internal problem command.
5538 * maint.c (maintenance_demangler_warning): New function.
5539 (_initialize_maint_cmds): New command.
5540
5541 2014-06-18 Tom Tromey <tromey@redhat.com>
5542
5543 * f-valprint.c (info_common_command_for_block): Update.
5544 * symtab.h (struct general_symbol_info) <common_block>: Now
5545 const.
5546
5547 2014-06-18 Tom Tromey <tromey@redhat.com>
5548
5549 * symtab.h (struct symtab) <blockvector>: Now const.
5550 * ada-lang.c (ada_add_global_exceptions): Update.
5551 * buildsym.c (augment_type_symtab): Update.
5552 * dwarf2read.c (dw2_lookup_symbol): Update.
5553 * jit.c (finalize_symtab): Update.
5554 * jv-lang.c (add_class_symtab_symbol): Update.
5555 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
5556 Update.
5557 * objfiles.c (objfile_relocate1): Update.
5558 * psymtab.c (lookup_symbol_aux_psymtabs)
5559 (maintenance_check_psymtabs): Update.
5560 * python/py-symtab.c (stpy_global_block, stpy_static_block):
5561 Update.
5562 * spu-tdep.c (spu_catch_start): Update.
5563 * symmisc.c (dump_symtab_1): Update.
5564 * symtab.c (lookup_global_symbol_from_objfile)
5565 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
5566 (basic_lookup_transparent_type_quick)
5567 (basic_lookup_transparent_type, find_pc_sect_symtab)
5568 (find_pc_sect_line, search_symbols): Update.
5569 * block.c (find_block_in_blockvector): Make "bl" const.
5570 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
5571 const.
5572 (blockvector_contains_pc): Make "bv" const.
5573 (block_for_pc_sect): Update.
5574 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5575 (blockvector_contains_pc): Update.
5576 * breakpoint.c (resolve_sal_pc): Update.
5577 * inline-frame.c (block_starting_point_at): Update.
5578
5579 2014-06-18 Tom Tromey <tromey@redhat.com>
5580
5581 * completer.c (complete_line): Make "line_buffer" const.
5582 * completer.h (complete_line): Update.
5583
5584 2014-06-18 Tom Tromey <tromey@redhat.com>
5585
5586 * symtab.c (add_macro_name): Remove unneeded cast.
5587
5588 2014-06-18 Tom Tromey <tromey@redhat.com>
5589
5590 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
5591 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
5592
5593 2014-06-18 Tom Tromey <tromey@redhat.com>
5594
5595 * probe.c (info_probes_for_ops): Make "arg" const.
5596 * probe.h (info_probes_for_ops): Update.
5597
5598 2014-06-18 Tom Tromey <tromey@redhat.com>
5599
5600 * varobj.c (varobj_create): Update.
5601 * valops.c (value_of_this): Update.
5602 * tracepoint.c (add_local_symbols, scope_info): Update.
5603 * symtab.h (struct general_symbol_info) <block>: Now const.
5604 * symtab.c (skip_prologue_sal)
5605 (default_make_symbol_completion_list_break_on)
5606 (skip_prologue_using_sal): Update.
5607 * stack.h (iterate_over_block_locals)
5608 (iterate_over_block_local_vars): Update.
5609 * stack.c (print_frame_args): Update.
5610 (iterate_over_block_locals, iterate_over_block_local_vars): Make
5611 parameter const.
5612 (get_selected_block): Make return type const.
5613 * python/py-frame.c (frapy_block): Update.
5614 * python/py-block.c (gdbpy_block_for_pc): Update.
5615 * p-exp.y (%union) <bval>: Now const.
5616 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
5617 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
5618 * m2-exp.y (%union) <bval>: Now const.
5619 * linespec.c (get_current_search_block): Make return type const.
5620 (create_sals_line_offset, find_label_symbols): Update.
5621 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
5622 Update.
5623 (block_starting_point_at): Make "block" const.
5624 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
5625 (check_exception_resume): Update.
5626 * guile/scm-frame.c (gdbscm_frame_block): Update.
5627 * guile/scm-block.c (gdbscm_lookup_block): Update.
5628 * frame.h (get_frame_block): Update.
5629 (get_selected_block): Make return type const.
5630 * frame.c (frame_id_inner): Update.
5631 * f-valprint.c (info_common_command_for_block)
5632 (info_common_command): Update.
5633 * dwarf2loc.c (dwarf2_find_location_expression)
5634 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
5635 (locexpr_describe_location_piece): Update.
5636 * c-exp.y (%union) <bval>: Now const.
5637 * breakpoint.c (resolve_sal_pc): Update.
5638 * blockframe.c (get_frame_block):Make return type const.
5639 (get_pc_function_start, get_frame_function, find_pc_sect_function)
5640 (block_innermost_frame): Update.
5641 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5642 (block_for_pc, block_for_pc_sect): Update.
5643 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
5644 'pblock' const.
5645 (block_for_pc_sect, block_for_pc): Make return type const.
5646 * ax-gdb.c (gen_expr): Update.
5647 * alpha-mdebug-tdep.c (find_proc_desc): Update.
5648 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
5649 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
5650 (ada_read_var_value): Update.
5651 * ada-exp.y (struct name_info) <block>: Now const.
5652 (%union): Likewise.
5653 (block_lookup): Constify.
5654
5655 2014-06-18 Gary Benson <gbenson@redhat.com>
5656
5657 * nat/i386-dregs.h: New file.
5658 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
5659 * i386-nat.h (i386-dregs.h): New include.
5660 (DR_FIRSTADDR): Now in i386-dregs.h.
5661 (DR_LASTADDR): Likewise.
5662 (DR_NADDR): Likewise.
5663 (DR_STATUS): Likewise.
5664 (DR_CONTROL): Likewise.
5665 (i386_debug_reg_state): Likewise.
5666 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
5667
5668 2014-06-18 Don Breazeal <donb@codesourcery.com>
5669
5670 * breakpoint.c (set_longjmp_breakpoint): Call
5671 momentary_breakpoint_from_master with additional argument.
5672 (set_longjmp_breakpoint_for_call_dummy): Call
5673 momentary_breakpoint_from_master with additional argument.
5674 (set_std_terminate_breakpoint): Call
5675 momentary_breakpoint_from_master with additional argument.
5676 (momentary_breakpoint_from_master): Add argument to function
5677 definition and use it to initialize structure member flag.
5678 (clone_momentary_breakpoint): Call
5679 momentary_breakpoint_from_master with additional argument.
5680 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
5681 member flags set in momentary_breakpoint_from_master.
5682
5683 2014-06-18 Gary Benson <gbenson@redhat.com>
5684
5685 * i386-nat.c (i386_show_dr): Renamed to
5686 i386_dr_show and made nonstatic. All uses updated.
5687 (i386_length_and_rw_bits): Renamed to
5688 i386_dr_length_and_rw_bits and made nonstatic.
5689 All uses updated.
5690 (i386_insert_aligned_watchpoint): Renamed to
5691 i386_dr_insert_aligned_watchpoint and made nonstatic.
5692 All uses updated.
5693 (i386_remove_aligned_watchpoint): Renamed to
5694 i386_dr_remove_aligned_watchpoint and made nonstatic.
5695 All uses updated.
5696 (i386_update_inferior_debug_regs): Renamed to
5697 i386_dr_update_inferior_debug_regs and made nonstatic.
5698 All uses updated.
5699
5700 2014-06-18 Gary Benson <gbenson@redhat.com>
5701
5702 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
5703 (i386_dr_low_can_set_control): Likewise.
5704 (i386_dr_low_set_addr): Likewise.
5705 (i386_dr_low_set_control): Likewise.
5706 (i386_dr_low_get_addr): Likewise.
5707 (i386_dr_low_get_status): Likewise.
5708 (i386_dr_low_get_control): Likewise.
5709 (i386_insert_aligned_watchpoint): Use new macros.
5710 (i386_update_inferior_debug_regs): Likewise.
5711 (i386_stopped_data_address): Likewise.
5712
5713 2014-06-18 Gary Benson <gbenson@redhat.com>
5714
5715 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
5716 New parameter. All uses updated.
5717
5718 2014-06-18 Gary Benson <gbenson@redhat.com>
5719
5720 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
5721 All uses updated.
5722
5723 2014-06-18 Gary Benson <gbenson@redhat.com>
5724
5725 * i386-nat.c (debug_printf): New macro.
5726 (i386_get_debug_register_length): Likewise.
5727 (TARGET_HAS_DR_LEN_8): Use above macro.
5728 (i386_show_dr): Use debug_printf instead of puts_unfiltered
5729 and printf_unfiltered. Use phex to format values.
5730
5731 2014-06-18 Gary Benson <gbenson@redhat.com>
5732
5733 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
5734 Make const.
5735
5736 2014-06-18 Gary Benson <gbenson@redhat.com>
5737
5738 * i386-nat.c: Comment changes.
5739
5740 2014-06-18 Gary Benson <gbenson@redhat.com>
5741
5742 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
5743
5744 2014-06-18 Gary Benson <gbenson@redhat.com>
5745
5746 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
5747 (i386_insert_aligned_watchpoint): Likewise.
5748 (i386_remove_aligned_watchpoint): Likewise.
5749 (i386_handle_nonaligned_watchpoint): Likewise.
5750
5751 2014-06-18 Gary Benson <gbenson@redhat.com>
5752
5753 * i386-nat.c: Whitespace changes.
5754
5755 2014-06-17 Samuel Bronson <naesten@gmail.com>
5756
5757 * MAINTAINERS: Update Roland McGrath's email address.
5758 Thanks to Sergio Durigan Junior for pointing out that he left
5759 Red Hat a while ago, and giving me a current address.
5760
5761 2014-06-17 Tom Tromey <tromey@redhat.com>
5762
5763 * utils.h (savestring): Remove declaration.
5764
5765 2014-06-17 Tom Tromey <tromey@redhat.com>
5766
5767 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
5768
5769 2014-06-16 Keith Seitz <keiths@redhat.com>
5770
5771 PR mi/15863
5772 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
5773 to update the varobj if inferior_ptid is null_ptid.
5774
5775 2014-06-16 Tom Tromey <tromey@redhat.com>
5776
5777 * target.h (struct target_ops) <to_info_proc>: Make parameter
5778 const.
5779 (target_info_proc): Update.
5780 * target.c (target_info_proc): Make "args" const.
5781 * procfs.c (procfs_info_proc): Update.
5782 * linux-tdep.c (linux_info_proc): Update.
5783 (linux_core_info_proc_mappings): Make "args" const.
5784 (linux_core_info_proc): Update.
5785 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
5786 * gdbarch.c: Rebuild.
5787 * gdbarch.h: Rebuild.
5788 * corelow.c (core_info_proc): Update.
5789
5790 2014-06-16 Tom Tromey <tromey@redhat.com>
5791
5792 * target.h (struct target_ops) <to_disconnect>: Make parameter
5793 const.
5794 (target_disconnect): Update.
5795 * target.c (target_disconnect): Make "args" const.
5796 * target-delegates.c: Rebuild.
5797 * remote.c (remote_disconnect): Update.
5798 * record.h (record_disconnect): Update.
5799 * record.c (record_disconnect): Update.
5800 * inf-child.c (inf_child_disconnect): Update.
5801
5802 2014-06-16 Tom Tromey <tromey@redhat.com>
5803
5804 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
5805 * target.c (debug_to_rcmd, default_rcmd): Update.
5806 * target-delegates.c: Rebuild.
5807 * remote.c (remote_rcmd): Update.
5808 * monitor.c (monitor_rcmd): Update.
5809
5810 2014-06-16 Pedro Alves <palves@redhat.com>
5811
5812 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
5813 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
5814 have OBJF_SHARED set.
5815 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
5816 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
5817 instead of OBJF_USERLOADED.
5818 * objfiles.h (OBJF_SHARED): Update comment.
5819 (userloaded_objfile_contains_address_p): Rename to ...
5820 (shared_objfile_contains_address_p): ... this, and update
5821 comments.
5822 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
5823 new objfile.
5824 (remove_symbol_file_command): Skip objfiles that don't have
5825 OBJF_SHARED set.
5826
5827 2014-06-16 Tom Tromey <tromey@redhat.com>
5828
5829 * minsyms.h (prim_record_minimal_symbol)
5830 (prim_record_minimal_symbol_and_info): Update comments.
5831
5832 2014-06-14 Eli Zaretskii <eliz@gnu.org>
5833
5834 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
5835 or --without-guile, according to how GDB was built.
5836
5837 2014-06-13 Tom Tromey <tromey@redhat.com>
5838
5839 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
5840 to help_list.
5841 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
5842 to help_list.
5843 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
5844 help_list.
5845 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
5846 help_list.Pass all_commands, not -1, to help_list.
5847 * cli/cli-dump.c (dump_command, append_command)
5848 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
5849 (binary_dump_command, binary_append_command): Pass all_commands,
5850 not -1, to help_list.
5851 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
5852 -1, to help_list.
5853 * valprint.c (set_print, set_print_raw): Pass all_commands, not
5854 -1, to help_list.
5855 * typeprint.c (set_print_type): Pass all_commands, not -1, to
5856 help_list.
5857 * top.c (set_history): Pass all_commands, not -1, to help_list.
5858 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
5859 all_commands, not -1, to help_list.
5860 * symfile.c (overlay_command): Pass all_commands, not -1, to
5861 help_list.
5862 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
5863 help_list.
5864 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
5865 help_list.
5866 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
5867 -1, to help_list.
5868 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
5869 not -1, to help_list.
5870 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
5871 not -1, to help_list.
5872 * maint.c (maintenance_command, maintenance_info_command)
5873 (maintenance_print_command, maintenance_set_cmd): Pass
5874 all_commands, not -1, to help_list.
5875 * macrocmd.c (macro_command): Pass all_commands, not -1, to
5876 help_list.
5877 * language.c (set_check): Pass all_commands, not -1, to help_list.
5878 * infcmd.c (unset_command): Pass all_commands, not -1, to
5879 help_list.
5880 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
5881 help_list.
5882 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
5883 help_list.
5884 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
5885 help_list.
5886 * breakpoint.c (save_command): Pass all_commands, not -1, to
5887 help_list.
5888 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
5889 all_commands, not -1, to help_list.
5890
5891 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
5892
5893 * regcache.c (struct register_to_invalidate): New structure.
5894 (do_register_invalidate, make_cleanup_regcache_invalidate): New
5895 functions.
5896 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
5897
5898 2014-06-12 Yao Qi <yao@codesourcery.com>
5899
5900 * varobj.c (varobj_get_num_children): Call
5901 varobj_is_dynamic_p.
5902 (varobj_list_children): Likewise.
5903 (varobj_update): Likewise. Update comments.
5904
5905 2014-06-12 Yao Qi <yao@codesourcery.com>
5906
5907 * varobj.c (varobj_pretty_printed_p): Rename to ...
5908 (varobj_is_dynamic_p): ... this. New function.
5909 * varobj.h (varobj_pretty_printed_p): Remove declaration.
5910 (varobj_is_dynamic_p): Declare.
5911 * mi/mi-cmd-var.c (print_varobj): All callers updated.
5912 (mi_print_value_p, varobj_update_one): Likewise.
5913
5914 2014-06-12 Pedro Alves <pedro@codesourcery.com>
5915 Yao Qi <yao@codesourcery.com>
5916
5917 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
5918 (varobj_get_iterator): Wrap up code for pretty-printer by
5919 "#if HAVE_PYTHON" and "#endif".
5920 (update_dynamic_varobj_children): Likewise.
5921
5922 2014-06-12 Pedro Alves <pedro@codesourcery.com>
5923 Yao Qi <yao@codesourcery.com>
5924
5925 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
5926 gdb_python_initialized is false. Move some code from varobj.c.
5927 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
5928 * varobj.c: Move "varobj-iter.h" inclusion earlier.
5929 (struct varobj_item): Moved to varobj-iter.h".
5930 (varobj_clear_saved_item): New function.
5931 (update_dynamic_varobj_children): Move python-related code to
5932 py-varobj.c.
5933 (free_variable): Call varobj_clear_saved_item and
5934 varobj_iter_delete.
5935
5936 2014-06-12 Pedro Alves <pedro@codesourcery.com>
5937 Yao Qi <yao@codesourcery.com>
5938
5939 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
5940 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
5941 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
5942 (py-varobj.o): New rule.
5943 * python/py-varobj.c: New file.
5944 * python/python-internal.h (py_varobj_get_iterator): Declare.
5945 * varobj-iter.h: New file.
5946 * varobj.c: Include "varobj-iter.h"
5947 (struct varobj) <child_iter>: Change its type from "PyObject *"
5948 to "struct varobj_iter *".
5949 <saved_item>: Likewise.
5950 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
5951 [HAVE_PYTHON] (varobj_get_iterator): New function.
5952 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
5953 python-specific code to python/py-varobj.c.
5954 (install_visualizer): Call varobj_iter_delete instead of
5955 Py_XDECREF.
5956 * varobj.h (varobj_ensure_python_env): Declare.
5957
5958 2014-06-12 Yao Qi <yao@codesourcery.com>
5959
5960 * varobj.c (struct varobj_item): New structure.
5961 (create_child_with_value): Update declaration.
5962 (varobj_add_child): Replace arguments 'name' and 'value' with
5963 'item'. All callers updated.
5964 (install_dynamic_child): Likewise.
5965 (update_dynamic_varobj_children): Likewise.
5966 (varobj_add_child): Likewise.
5967 (create_child_with_value): Likewise.
5968
5969 2014-06-11 Joel Brobecker <brobecker@adacore.com>
5970
5971 * NEWS: Create a new section for the next release branch.
5972 Rename the section of the current branch, now that it has
5973 been cut.
5974
5975 2014-06-11 Joel Brobecker <brobecker@adacore.com>
5976
5977 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
5978 * version.in: Bump version to 7.8.50.DATE-cvs.
5979
5980 2014-06-11 Pedro Alves <palves@redhat.com>
5981
5982 PR remote/17028
5983 * ser-mingw.c (net_windows_socket_check_pending): New function.
5984 (net_windows_select_thread): Ignore spurious wakeups. Use
5985 net_windows_socket_check_pending.
5986 (net_windows_wait_handle): Check for pending events with
5987 ioctlsocket, through net_windows_socket_check_pending, instead of
5988 checking the socket's event.
5989
5990 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
5991
5992 * python/python-internal.h (gdb_PyObject_GetAttrString)
5993 (gdb_PyObject_HasAttrString): New inline function definitions.
5994 * py-value.c (get_field_flag): Remove the now unnecessary cast to
5995 char * of the second argument to PyObject_GetAttrString.
5996
5997 2014-06-10 Joel Brobecker <brobecker@adacore.com>
5998
5999 * serial.c (serial_write): Fix index of character to be printed
6000 in call to serial_logchar when serial debug traces are enabled.
6001
6002 2014-06-10 Joel Brobecker <brobecker@adacore.com>
6003
6004 * gdbtypes (resolve_dynamic_range): Add function description.
6005
6006 2014-06-09 Pedro Alves <palves@redhat.com>
6007
6008 * linux-nat.c (linux_child_follow_fork): Initialize status with
6009 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
6010 inner block. Only pass the signal to PTRACE_DETACH if in pass
6011 state.
6012
6013 2014-06-09 Gary Benson <gbenson@redhat.com>
6014
6015 * common/signals.c (gdb_signal_from_host): Reorder to separate
6016 the always-available ANSI-standard signals from the signals that
6017 require checking.
6018 (do_gdb_signal_to_host): Likewise.
6019 * proc-events.c (signal_table): Likewise.
6020
6021 2014-06-08 Hui Zhu <hui@codesourcery.com>
6022
6023 * common/linux-ptrace.c (linux_disable_event_reporting): New
6024 function.
6025 * common/linux-ptrace.h (linux_disable_event_reporting): New
6026 declaration.
6027 * linux-nat.c (linux_child_follow_fork): Do a single step before
6028 detach.
6029
6030 2014-06-07 Keith Seitz <keiths@redhat.com>
6031
6032 Revert:
6033 PR c++/16253
6034 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6035 from symbol_matches_domain in symtab.c. All local callers
6036 of symbol_matches_domain updated.
6037 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6038 search STRUCT_DOMAIN.
6039 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6040 independently. standard_lookup will do that automatically.
6041 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6042 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6043 (cp_lookup_symbol_in_namespace): Likewise.
6044 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6045 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6046 may return a STRUCT_DOMAIN match.
6047 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6048 * cp-support.c: Include language.h.
6049 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6050 VAR_DOMAIN.
6051 * psymtab.c (match_partial_symbol): Compare the requested
6052 domain with the symbol's domain directly.
6053 (lookup_partial_symbol): Likewise.
6054 * symtab.c (lookup_symbol_in_language): Explain when/why
6055 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6056 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6057 appropriate languages.
6058 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6059 and moved to ada-lang.c
6060 (lookup_block_symbol): Explain that this function only returns
6061 symbol matching the requested DOMAIN.
6062 Compare the requested domain with the symbol's domain directly.
6063 (iterate_over_symbols): Compare the requested domain with the
6064 symbol's domain directly.
6065 * symtab.h (symbol_matches_domain): Remove.
6066
6067 2014-06-06 Doug Evans <xdje42@gmail.com>
6068
6069 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
6070 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
6071 (gdbscm_guile_version_is_at_least): Declare.
6072 (gdbscm_scm_string_to_int): Declare.
6073 * guile/guile.c (gdbscm_guile_major_version): New global.
6074 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
6075 (guile_datadir): New static global.
6076 (gdbscm_guile_data_directory): New function.
6077 (initialize_scheme_side): Update.
6078 (misc_guile_functions): Add guile-data-directory.
6079 (initialize_gdb_module): Fetch guile version number.
6080 * guile/lib/gdb.scm: Remove call to add-to-load-path.
6081 * guile/lib/gdb/init.scm (%initialize!): Ditto.
6082 * guile/lib/gdb/boot.scm: Use guile-data-directory.
6083 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
6084 comments.
6085 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
6086 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
6087 * guile/scm-value.c (gdbscm_value_to_string): Only call
6088 scm_port_conversion_strategy if Guile version >= 2.0.6.
6089
6090 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
6091
6092 * main.c (print_gdb_help): Add -q and --silent.
6093
6094 2014-06-06 Gary Benson <gbenson@redhat.com>
6095
6096 * common/signals.c: Remove preprocessor conditionals for
6097 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6098 SIGSEGV and SIGTERM.
6099 * proc-events.c: Likewise.
6100
6101 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
6102
6103 * symfile.c (symfile_free_objfile): Remove restriction to
6104 OBJF_USERLOADED.
6105 * symfile-mem.c (symbol_file_add_from_memory): Call
6106 add_target_sections_of_objfile.
6107
6108 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6109
6110 * guile/scm-value.c (gdbscm_history_append_x): Use
6111 'vlscm_get_value_smob_arg_unsafe' instead of
6112 'vlscm_scm_to_value'.
6113
6114 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6115
6116 PR mi/15806
6117 * utils.c (printchar): Don't escape at all if quoter is NUL.
6118 Update function documentation to clarify effect of parameter
6119 QUOTER.
6120 * remote.c (escape_buffer): Pass '\\' as the quoter to
6121 fputstrn_unfiltered.
6122 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
6123 generate the output.
6124 (mi_solib_unloaded): Same.
6125
6126 2014-06-05 Joel Brobecker <brobecker@adacore.com>
6127
6128 * development.sh: Delete.
6129 * Makefile.in (config.status): Adjust dependency on development.sh.
6130 * configure.ac: Adjust development.sh source call.
6131 * configure: Regenerate.
6132
6133 2014-06-04 Doug Evans <xdje42@gmail.com>
6134
6135 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
6136 is_scheme_bkpt, spec.
6137 (bpscm_make_breakpoint_smob): Initialize new members.
6138 (gdbscm_create_breakpoint_x): Split into two ...
6139 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
6140 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
6141 (scheme_function breakpoint_functions): Update.
6142 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
6143 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
6144 register-breakpoint!.
6145
6146 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
6147
6148 PR server/17023
6149 * mem-break.c (z_type_supported): Return zero if
6150 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
6151
6152 2014-06-04 Tom Tromey <tromey@redhat.com>
6153
6154 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
6155 value_from_contents_and_address_unresolved.
6156 (ada_template_to_fixed_record_type_1): Likewise.
6157 (ada_which_variant_applies): Likewise.
6158 * value.h (value_from_contents_and_address_unresolved): Declare.
6159 * value.c (value_from_contents_and_address_unresolved): New
6160 function.
6161 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
6162 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
6163 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
6164
6165 2014-06-04 Tom Tromey <tromey@redhat.com>
6166
6167 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
6168
6169 2014-06-04 Tom Tromey <tromey@redhat.com>
6170
6171 * procfs.c (procfs_attach): Make "args" const.
6172 * windows-nat.c (windows_attach): Make "args" const.
6173 * nto-procfs.c (procfs_attach): Make "args" const.
6174 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
6175 * go32-nat.c (go32_attach): Make "args" const.
6176 * gnu-nat.c (gnu_attach): Make "args" const.
6177 * darwin-nat.c (darwin_attach): Make "args" const.
6178 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
6179 * linux-nat.c (linux_nat_attach): Make "args" const.
6180 * remote.c (extended_remote_attach_1, extended_remote_attach):
6181 Make "args" const.
6182 * target.h (struct target_ops) <to_attach>: Make "args" const.
6183 (find_default_attach): Likewise.
6184 * utils.c (parse_pid_to_attach): Make "args" const.
6185 * utils.h (parse_pid_to_attach): Update.
6186
6187 2014-06-04 Tom Tromey <tromey@redhat.com>
6188
6189 * target-delegates.c: Rebuild.
6190 * target.c (default_thread_address_space): New function.
6191 (target_thread_address_space): Simplify.
6192 * target.h (struct target_ops) <to_thread_address_space>: Add
6193 TARGET_DEFAULT_FUNC.
6194
6195 2014-06-04 Doug Evans <xdje42@gmail.com>
6196
6197 * guile/scm-type.c (type_smob): Remove duplicate typedef.
6198
6199 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
6200
6201 * record-btrace.c: Include event-loop.h and inf-loop.h.
6202 (record_btrace_resume_exec_dir)
6203 (record_btrace_async_inferior_event_handler)
6204 (record_btrace_handle_async_inferior_event): New.
6205 (record_btrace_open): Create async event handler.
6206 (record_btrace_close): Delete async event handler.
6207 (record_btrace_resume): Set record_btrace_resume_exec_dir,
6208 Mark async event handler.
6209 (record_btrace_execution_direction): New.
6210 (init_record_btrace_ops): Initialize to_execution_direction.
6211
6212 2014-06-03 Doug Evans <xdje42@gmail.com>
6213
6214 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
6215 (gdbscm_make_parameter): Ditto.
6216
6217 2014-06-03 Doug Evans <dje@google.com>
6218
6219 * exec.c (exec_close_1): Call clear_section_table instead of
6220 resize_section_table.
6221 (clear_section_table): New function.
6222 (resize_section_table): Make static. Rename arg num_added to
6223 adjustment.
6224 * exec.h (clear_section_table): Declare.
6225 (resize_section_table): Delete.
6226 * progspace.c (release_program_space): Call clear_section_table
6227 instead of resize_section_table.
6228
6229 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6230
6231 * NEWS (Python Scripting): Add entry about the new xmethods
6232 feature.
6233
6234 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6235
6236 * python/py-xmethods.c: New file.
6237 * python/py-objfile.c (objfile_object): New field 'xmethods'.
6238 (objfpy_dealloc): XDECREF on the new xmethods field.
6239 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
6240 field.
6241 (objfpy_get_xmethods): New function.
6242 (objfile_getset): New entry 'xmethods'.
6243 * python/py-progspace.c (pspace_object): New field 'xmethods'.
6244 (pspy_dealloc): XDECREF on the new xmethods field.
6245 (pspy_new, pspace_to_pspace_object): Initialize xmethods
6246 field.
6247 (pspy_get_xmethods): New function.
6248 (pspace_getset): New entry 'xmethods'.
6249 * python/python-internal.h: Add declarations for new functions.
6250 * python/python.c (_initialize_python): Invoke
6251 gdbpy_initialize_xmethods.
6252 * python/lib/gdb/__init__.py (xmethods): New
6253 attribute.
6254 * python/lib/gdb/xmethod.py: New file.
6255 * python/lib/gdb/command/xmethods.py: New file.
6256
6257 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6258
6259 * eval.c (evaluate_subexp_standard): Call the xmethod if the
6260 best match method returned by find_overload_match is an xmethod.
6261 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
6262 the best matching operator returned by find_overload_match is an
6263 xmethod.
6264 * valops.c: #include "extension.h".
6265 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
6266 Return void. The list of matching source methods is returned in
6267 "fn_list" and a vector of matching debug method workers is
6268 returned in "xm_worker_vec". Update all callers.
6269 (value_find_oload_method_list): Likewise.
6270 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
6271 non-NULL, then the index of the best matching method in this
6272 vector is returned. Update all callers.
6273 (find_overload_match): Include xmethods while performing overload
6274 resolution.
6275
6276 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6277
6278 * defs.h (enum lval_type): New enumerator "lval_xcallable".
6279 * extension-priv.h (struct extension_language_ops): Add the
6280 xmethod interface.
6281 * extension.c (new_xmethod_worker, clone_xmethod_worker,
6282 get_matching_xmethod_workers, get_xmethod_argtypes,
6283 invoke_xmethod, free_xmethod_worker,
6284 free_xmethod_worker_vec): New functions.
6285 * extension.h: #include "common/vec.h".
6286 New function declarations.
6287 (struct xmethod_worker): New struct.
6288 (VEC (xmethod_worker_ptr)): New vector type.
6289 (xmethod_worker_ptr): New typedef.
6290 (xmethod_worker_vec): Likewise.
6291 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
6292 builtin_type.
6293 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
6294 (struct builtin_type): New field "xmethod".
6295 * valarith.c (value_ptradd): Assert that the value argument is not
6296 lval_xcallable.
6297 * valops.c (value_must_coerce_to_target): Return 0 for
6298 lval_xcallable values.
6299 * value.c (struct value): New field XM_WORKER in the field
6300 LOCATION.
6301 (value_address, value_raw_address): Return 0 for lval_xcallable
6302 values.
6303 (set_value_address): Assert that the value is not an
6304 lval_xcallable.
6305 (value_free): Free the associated xmethod worker when freeing
6306 lval_xcallable values.
6307 (set_value_component_location): Assert that the WHOLE value is not
6308 lval_xcallable.
6309 (value_of_xmethod, call_xmethod): New functions.
6310 * value.h: Declare "struct xmethod_worker".
6311 Declare new functions value_of_xmethod, call_xmethod.
6312
6313 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6314 Pedro Alves <palves@redhat.com>
6315
6316 PR breakpoints/17000
6317 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
6318 New function, extracted from software_breakpoint_inserted_here_p.
6319 (software_breakpoint_inserted_here_p): Replace factored out code
6320 by call to find_non_raw_software_breakpoint_inserted_here.
6321 (bp_target_info_copy_insertion_state): New function.
6322 (bkpt_insert_location): Handle the case of a single-step
6323 breakpoint already inserted at the same address.
6324 (bkpt_remove_location): Handle the case of a single-step
6325 breakpoint still inserted at the same address.
6326 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
6327 breakpoint already inserted at the same address.
6328 (deprecated_remove_raw_breakpoint): Handle the case of a
6329 non-raw breakpoint still inserted at the same address.
6330 (find_single_step_breakpoint): New function, extracted from
6331 single_step_breakpoint_inserted_here_p.
6332 (find_single_step_breakpoint): New function,
6333 factored out from single_step_breakpoint_inserted_here_p.
6334 (single_step_breakpoint_inserted_here_p): Reimplement.
6335
6336 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6337
6338 Pushed by Joel Brobecker <brobecker@adacore.com>
6339 * source.c (show_substitute_path_command): Fix display of matching
6340 substitution rules.
6341
6342 2014-06-03 Gary Benson <gbenson@redhat.com>
6343
6344 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
6345
6346 2014-06-02 Doug Evans <xdje42@gmail.com>
6347
6348 Add parameter support for Guile.
6349 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
6350 (SUBDIR_GUILE_SRCS): Add scm-param.c.
6351 (scm-param.o): New rule.
6352 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
6353 (gdbscm_misc_error): Declare.
6354 (gdbscm_canonicalize_command_name): Declare.
6355 (gdbscm_scm_to_host_string): Declare.
6356 (gdbscm_scm_from_host_string): Declare.
6357 (gdbscm_initialize_parameters): Declare.
6358 * guile/guile.c (initialize_gdb_module): Call
6359 gdbscm_initialize_parameters.
6360 * guile/lib/gdb.scm: Export parameter symbols.
6361 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
6362 cmdscm_canonicalize_name and made public. All callers updated.
6363 * guile/scm-exception.c (gdbscm_misc_error): New function.
6364 * guile/scm-param.c: New file.
6365 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
6366 (gdbscm_scm_to_host_string): New function.
6367 (gdbscm_scm_from_host_string): New function.
6368 * scm-utils.c (gdbscm_gc_dup_argv): New function.
6369
6370 2014-06-02 Doug Evans <xdje42@gmail.com>
6371
6372 Add command support for Guile.
6373 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
6374 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
6375 (scm-cmd.o): New rule.
6376 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
6377 (gdbscm_user_error_p): Declare.
6378 (gdbscm_parse_command_name): Declare.
6379 (gdbscm_valid_command_class_p): Declare.
6380 (gdbscm_initialize_commands): Declare.
6381 * guile/guile.c (initialize_gdb_module): Call
6382 gdbscm_initialize_commands.
6383 * guile/lib/gdb.scm: Export command symbols.
6384 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
6385 (throw-user-error): New function.
6386 * guile/scm-cmd.c: New file.
6387 * guile/scm-exception.c (user_error_symbol): New static global.
6388 (gdbscm_user_error_p): New function.
6389 (gdbscm_initialize_exceptions): Set user_error_symbol.
6390 * scm-utils.c (gdbscm_gc_xstrdup): New function.
6391
6392 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
6393
6394 * top.c (command_loop): Handle comments here...
6395 (command_line_input): ... not here.
6396
6397 2014-06-02 Doug Evans <xdje42@gmail.com>
6398
6399 Add progspace support for Guile.
6400 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
6401 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
6402 (scm-progspace.o): New rule.
6403 * guile/guile-internal.h (pspace_smob): New typedef.
6404 (psscm_pspace_smob_pretty_printers): Declare.
6405 (psscm_pspace_smob_from_pspace): Declare.
6406 (psscm_scm_from_pspace): Declare.
6407 * guile/guile.c (initialize_gdb_module): Call
6408 gdbscm_initialize_pspaces.
6409 * guile/lib/gdb.scm: Export progspace symbols.
6410 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
6411 support.
6412 (append-pretty-printer!): Ditto.
6413 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
6414 Implement.
6415 * guile/scm-progspace.c: New file.
6416
6417 2014-06-03 Alan Modra <amodra@gmail.com>
6418
6419 * ppc64-tdep.c (ppc64_standard_linkage8): New.
6420 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
6421
6422 2014-06-02 Doug Evans <dje@google.com>
6423
6424 Add support for skeletonless type units.
6425 * dwarf2read.c (struct dwarf2_per_objfile): New member
6426 n_allocated_type_units.
6427 (struct dwarf2_per_objfile) <tu_stats>: New member
6428 nr_all_type_units_reallocs.
6429 (create_signatured_type_table_from_index): Initialize
6430 n_allocated_type_units
6431 (create_all_type_units): Ditto.
6432 (add_type_unit): Move up in file. New arg slot.
6433 All callers updated. Increase space for all_type_units more
6434 efficiently.
6435 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
6436 (lookup_dwo_signatured_type): Handle skeletonless TUs.
6437 (lookup_dwp_signatured_type): Ditto.
6438 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
6439 All callers updated.
6440 (build_type_psymtabs_1): Leave type_unit_groups as
6441 NULL if no TUs present.
6442 (print_tu_stats): New function.
6443 (process_skeletonless_type_unit): New function.
6444 (process_dwo_file_for_skeletonless_type_units): New
6445 function.
6446 (process_skeletonless_type_units): New function.
6447 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
6448 Call print tu_stats if debugging enabled.
6449
6450 2014-06-02 Pedro Alves <palves@redhat.com>
6451
6452 * breakpoint.c (build_target_command_list): Don't build a command
6453 list if we have any duplicate location that isn't a dprintf.
6454
6455 2014-06-02 Pedro Alves <palves@redhat.com>
6456
6457 * breakpoint.c (dprintf_breakpoint_hit): New function.
6458 (initialize_breakpoint_ops): Install it as dprintf's
6459 breakpoint_hit method.
6460
6461 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6462
6463 * source.c (substitute_path_rule_matches): Simplify using
6464 filename_ncmp instead of FILENAME_CMP.
6465
6466 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6467
6468 * source.c (substitute_path_rule_matches): Remove trailing spaces.
6469
6470 2014-06-01 Ludovic Courtès <ludo@gnu.org>
6471
6472 * configure.ac: When Guile is available, check for the
6473 availability of 'scm_new_smob'.
6474 * configure, config.h.in: Regenerate.
6475 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
6476 function.
6477
6478 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6479
6480 * frame.c (struct frame_info): Add stop_string field.
6481 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
6482 (get_prev_frame_always): Old content moved into
6483 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
6484 TRY_CATCH, handle MEMORY_ERROR exceptions.
6485 (frame_stop_reason_string): New function definition.
6486 * frame.h (unwind_stop_reason_to_string): Extend comment to
6487 mention frame_stop_reason_string.
6488 (frame_stop_reason_string): New function declaration.
6489 * stack.c (frame_info): Switch to frame_stop_reason_string.
6490 (backtrace_command_1): Switch to frame_stop_reason_string.
6491 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
6492 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
6493 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
6494
6495 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6496
6497 * frame.c (frame_stop_reason_string): Rename to ...
6498 (unwind_stop_reason_to_string): this.
6499 * frame.h (frame_stop_reason_string): Rename to ...
6500 (unwind_stop_reason_to_string): this.
6501 * stack.c (frame_info): Update call to frame_stop_reason_string.
6502 (backtrace_command_1): Likewise.
6503 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
6504 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
6505
6506 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6507
6508 * frame.c (remove_prev_frame): New function.
6509 (get_prev_frame_if_no_cycle): Create / discard cleanup using
6510 remove_prev_frame.
6511
6512 2014-05-29 Pedro Alves <palves@redhat.com>
6513
6514 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
6515 and make it const. When a single-step decays to a continue,
6516 clear 'step', not 'hw_step'. Pass whether the caller wanted
6517 to step to user_visible_resume_ptid, not what we ask the
6518 target to do.
6519
6520 2014-05-29 Pedro Alves <palves@redhat.com>
6521
6522 * infrun.c (process_event_stop_test, handle_step_into_function)
6523 (handle_step_into_function_backward): Adjust.
6524 Don't set the even thread's stop_step and call stop_waiting before
6525 calling end_stepping_range. Instead do that ...
6526 (end_stepping_range): ... here. Take an ecs pointer parameter.
6527
6528 2014-05-29 Pedro Alves <palves@redhat.com>
6529
6530 * infrun.c (stop_stepping): Rename to ...
6531 (stop_waiting): ... this.
6532 (proceed): Update comment.
6533 (process_event_stop_test, handle_inferior_event)
6534 (handle_signal_stop, handle_step_into_function)
6535 (handle_step_into_function_backward): Update.
6536
6537 2014-05-29 Pedro Alves <palves@redhat.com>
6538
6539 * infcall.c (run_inferior_call): Don't check whether the current
6540 thread is running after the proceed call.
6541
6542 2014-05-29 Pedro Alves <palves@redhat.com>
6543 Tom Tromey <tromey@redhat.com>
6544
6545 * NEWS: Mention "maint set target-async", "set mi-async", and that
6546 background execution commands are now always available.
6547 * target.h (target_async_permitted): Update comment.
6548 * target.c (target_async_permitted, target_async_permitted_1):
6549 Default to 1.
6550 (set_target_async_command): Rename to ...
6551 (maint_set_target_async_command): ... this.
6552 (show_target_async_command): Rename to ...
6553 (maint_show_target_async_command): ... this.
6554 (_initialize_target): Adjust.
6555 * infcmd.c (prepare_execution_command): Make extern.
6556 * inferior.h (prepare_execution_command): Declare.
6557 * infrun.c (set_observer_mode): Leave target async alone.
6558 * mi/mi-interp.c (mi_interpreter_init): Install
6559 mi_on_sync_execution_done as sync_execution_done observer.
6560 (mi_on_sync_execution_done): New function.
6561 (mi_execute_command_input_handler): Don't print the prompt if we
6562 just started a synchronous command with an async target.
6563 (mi_on_resume): Check sync_execution before printing prompt.
6564 * mi/mi-main.h (mi_async_p): Declare.
6565 * mi/mi-main.c: Include gdbcmd.h.
6566 (mi_async_p): New function.
6567 (mi_async, mi_async_1): New globals.
6568 (set_mi_async_command, show_mi_async_command, mi_async): New
6569 functions.
6570 (exec_continue): Call prepare_execution_command.
6571 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
6572 (mi_execute_async_cli_command): Use mi_async_p.
6573 (_initialize_mi_main): Install "set mi-async". Make
6574 "target-async" a deprecated alias.
6575
6576 2014-05-29 Pedro Alves <palves@redhat.com>
6577
6578 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
6579 (_initialize_cli_interp): Adjust.
6580 * event-loop.c: Include "observer.h".
6581 (start_event_loop): Notify 'command_error' observers instead of
6582 calling display_gdb_prompt. Remove FIXME comment.
6583 * event-top.c (display_gdb_prompt): Remove call into the
6584 interpreters.
6585 * inf-loop.c: Include "observer.h".
6586 (inferior_event_handler): Notify 'command_error' observers instead
6587 of calling display_gdb_prompt.
6588 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
6589 observers instead of calling display_gdb_prompt.
6590 * interps.c (interp_set): Don't call display_gdb_prompt.
6591 (current_interp_display_prompt_p): Delete.
6592 * interps.h (interp_prompt_p): Delete declaration.
6593 (interp_prompt_p_ftype): Delete.
6594 (struct interp_procs) <prompt_proc_p>: Delete field.
6595 (current_interp_display_prompt_p): Delete declaration.
6596 * mi-interp.c (mi_interpreter_prompt_p): Delete.
6597 (_initialize_mi_interp): Adjust.
6598 * tui-interp.c (tui_init): Install 'sync_execution_done' and
6599 'command_error' observers.
6600 (tui_on_sync_execution_done, tui_on_command_error): New
6601 functions.
6602 (tui_display_prompt_p): Delete.
6603 (_initialize_tui_interp): Adjust.
6604
6605 2014-05-29 Pedro Alves <palves@redhat.com>
6606
6607 PR gdb/13860
6608 * cli/cli-interp.c: Include infrun.h and observer.h.
6609 (cli_uiout, cli_interp): New globals.
6610 (cli_on_signal_received, cli_on_end_stepping_range)
6611 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
6612 functions.
6613 (cli_interpreter_init): Install them as 'end_stepping_range',
6614 'signal_received' 'signal_exited', 'exited' and 'no_history'
6615 observers.
6616 (_initialize_cli_interp): Remove cli_interp local.
6617 * infrun.c (handle_inferior_event): Call the several stop reason
6618 observers instead of printing the stop reason directly.
6619 (end_stepping_range): New function.
6620 (print_end_stepping_range_reason, print_signal_exited_reason)
6621 (print_exited_reason, print_signal_received_reason)
6622 (print_no_history_reason): Make static, and add an uiout
6623 parameter. Print to that instead of to CURRENT_UIOUT.
6624 * infrun.h (print_end_stepping_range_reason)
6625 (print_signal_exited_reason, print_exited_reason)
6626 (print_signal_received_reason print_no_history_reason): New
6627 declarations.
6628 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
6629 'mi_uiout'.
6630 <cli_uiout>: New field.
6631 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
6632 uiout for CLI output. Install 'signal_received',
6633 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
6634 observers.
6635 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
6636 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
6637 (mi_on_no_history): New functions.
6638 (ui_out_free_cleanup): Delete function.
6639 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
6640 instead use the one already stored in the MI interpreter data.
6641 (mi_ui_out): Adjust.
6642 * tui/tui-interp.c: Include infrun.h and observer.h.
6643 (tui_interp): New global.
6644 (tui_on_signal_received, tui_on_end_stepping_range)
6645 (tui_on_signal_exited, tui_on_exited)
6646 (tui_on_no_history): New functions.
6647 (tui_init): Install them as 'end_stepping_range',
6648 'signal_received' 'signal_exited', 'exited' and 'no_history'
6649 observers.
6650 (_initialize_tui_interp): Delete tui_interp local.
6651
6652 2014-05-29 Pedro Alves <palves@redhat.com>
6653
6654 PR gdb/15713
6655 * linux-nat.c (linux_nat_resume_callback): Rename the second
6656 parameter to 'except'. Skip LP if it points to EXCEPT.
6657 (linux_nat_resume): Don't mark the event lwp as not stopped
6658 before resuming sibling lwps. Instead ask
6659 linux_nat_resume_callback to skip the event lwp. Mark it as not
6660 stopped after actually resuming it.
6661 (linux_handle_syscall_trap): Mark the lwp as not stopped after
6662 resuming it.
6663 (wait_lwp): Mark the lwp as stopped here.
6664 (stop_wait_callback): Mark the lwp as not stopped right after
6665 resuming it. Don't mark lwps as stopped here.
6666 (linux_nat_filter_event): Mark the lwp as stopped earlier.
6667 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
6668
6669 2014-05-29 Pedro Alves <palves@redhat.com>
6670
6671 PR PR15693
6672 * infrun.c (resume): Determine how much to resume depending on
6673 whether the caller wanted a step, not whether we can hardware step
6674 the target. Mark all threads that we intend to run as running,
6675 unless we're calling an inferior function.
6676 (normal_stop): If the thread is running an infcall, don't finish
6677 thread state.
6678 * target.c (target_resume): Don't mark threads as running here.
6679
6680 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6681
6682 * serial.c (_initialize_serial): Remove support for
6683 the "set remotebaud" and "show remotebaud" commands.
6684 * NEWS: Add entry documenting the removal of that command.
6685
6686 2014-05-28 Yao Qi <yao@codesourcery.com>
6687
6688 * charset.c: Fix typo in comments.
6689
6690 2014-05-27 Gary Benson <gbenson@redhat.com>
6691
6692 * utils.c (internal_vproblem): Prompt for a bug report.
6693
6694 2014-05-26 Andy Wingo <wingo@igalia.com>
6695
6696 * guile/scm-arch.c (arscm_mark_arch_smob):
6697 * guile/scm-block.c (bkscm_mark_block_smob)
6698 (bkscm_mark_block_syms_progress_smob):
6699 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
6700 * guile/scm-exception.c (exscm_mark_exception_smob):
6701 * guile/scm-frame.c (frscm_mark_frame_smob):
6702 * guile/scm-iterator.c (itscm_mark_iterator_smob):
6703 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
6704 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
6705 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
6706 (ppscm_mark_pretty_printer_worker_smob):
6707 * guile/scm-symbol.c (syscm_mark_symbol_smob):
6708 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
6709 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
6710 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
6711 mark functions.
6712 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
6713 function.
6714
6715 2014-05-26 Andy Wingo <wingo@igalia.com>
6716 Doug Evans <xdje42@gmail.com>
6717
6718 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
6719 empty_base_class. All uses updated.
6720 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
6721 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
6722 Adapt all callers.
6723 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
6724 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
6725 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
6726 (gdbscm_gsmob_has_property_p, add_property_name)
6727 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
6728 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
6729 (gdb-object-has-property?, gdb-object-properties): Remove.
6730 (gdb-object-kind): Renamed from gsmob-kind.
6731
6732 2014-05-26 Andy Wingo <wingo@igalia.com>
6733
6734 * configure.ac (try_guile_versions): Allow building with guile 2.2.
6735 * configure: Regenerate.
6736
6737 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6738
6739 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
6740
6741 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6742
6743 * record-btrace.c (record_btrace_allow_memory_access): Remove.
6744 (replay_memory_access_read_only, replay_memory_access_read_write)
6745 (replay_memory_access_types, replay_memory_access)
6746 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
6747 (cmd_set_record_btrace, cmd_show_record_btrace)
6748 (cmd_show_replay_memory_access): New.
6749 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
6750 (record_btrace_remove_breakpoint): Replace
6751 record_btrace_allow_memory_access with replay_memory_access.
6752 (_initialize_record_btrace): Add commands.
6753 * NEWS: Announce it.
6754
6755 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6756
6757 * aarch64-linux-nat.c (asm/ptrace.h): Include.
6758
6759 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6760
6761 * MAINTAINERS (Write After Approval): Move self back from
6762 paper trail.
6763
6764 2014-05-22 Pedro Alves <palves@redhat.com>
6765
6766 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
6767 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
6768 (disable_randomization, enum exec_direction_kind)
6769 (execution_direction, stop_registers, start_remote)
6770 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
6771 (wait_for_inferior, normal_stop, get_last_target_status)
6772 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
6773 (insert_step_resume_breakpoint_at_sal)
6774 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
6775 (set_step_info, print_stop_event, signal_stop_state)
6776 (signal_print_state, signal_pass_state, signal_stop_update)
6777 (signal_print_update, signal_pass_update)
6778 (update_signals_program_target, clear_exit_convenience_vars)
6779 (displaced_step_dump_bytes, update_observer_mode)
6780 (signal_catch_update, gdb_signal_from_command): Move
6781 declarations ...
6782 * infrun.h: ... to this new file.
6783 * amd64-tdep.c: Include infrun.h.
6784 * annotate.c: Include infrun.h.
6785 * arch-utils.c: Include infrun.h.
6786 * arm-linux-tdep.c: Include infrun.h.
6787 * arm-tdep.c: Include infrun.h.
6788 * break-catch-sig.c: Include infrun.h.
6789 * breakpoint.c: Include infrun.h.
6790 * common/agent.c: Include infrun.h instead of inferior.h.
6791 * corelow.c: Include infrun.h.
6792 * event-top.c: Include infrun.h.
6793 * go32-nat.c: Include infrun.h.
6794 * i386-tdep.c: Include infrun.h.
6795 * inf-loop.c: Include infrun.h.
6796 * infcall.c: Include infrun.h.
6797 * infcmd.c: Include infrun.h.
6798 * infrun.c: Include infrun.h.
6799 * linux-fork.c: Include infrun.h.
6800 * linux-nat.c: Include infrun.h.
6801 * linux-thread-db.c: Include infrun.h.
6802 * monitor.c: Include infrun.h.
6803 * nto-tdep.c: Include infrun.h.
6804 * procfs.c: Include infrun.h.
6805 * record-btrace.c: Include infrun.h.
6806 * record-full.c: Include infrun.h.
6807 * remote-m32r-sdi.c: Include infrun.h.
6808 * remote-mips.c: Include infrun.h.
6809 * remote-notif.c: Include infrun.h.
6810 * remote-sim.c: Include infrun.h.
6811 * remote.c: Include infrun.h.
6812 * reverse.c: Include infrun.h.
6813 * rs6000-tdep.c: Include infrun.h.
6814 * s390-linux-tdep.c: Include infrun.h.
6815 * solib-irix.c: Include infrun.h.
6816 * solib-osf.c: Include infrun.h.
6817 * solib-svr4.c: Include infrun.h.
6818 * target.c: Include infrun.h.
6819 * top.c: Include infrun.h.
6820 * windows-nat.c: Include infrun.h.
6821 * mi/mi-interp.c: Include infrun.h.
6822 * mi/mi-main.c: Include infrun.h.
6823 * python/py-threadevent.c: Include infrun.h.
6824
6825 2014-05-22 Pedro Alves <palves@redhat.com>
6826
6827 * infrun.c (handle_inferior_event): Store the exit code for
6828 --return-child-result here, instead of ...
6829 (print_exited_reason): ... here.
6830
6831 2014-05-21 Pedro Alves <palves@redhat.com>
6832
6833 PR gdb/13860
6834 * gdbthread.h (struct thread_control_state): New field
6835 `command_interp'.
6836 * infrun.c (follow_fork): Copy the new thread control field to the
6837 child fork thread.
6838 (clear_proceed_status_thread): Clear the new thread control field.
6839 (proceed): Set the new thread control field.
6840 * interps.h (command_interp): Declare.
6841 * interps.c (command_interpreter): New global.
6842 (command_interp): New function.
6843 (interp_exec): Set `command_interpreter' while here.
6844 * cli-out.c (cli_uiout_dtor): New function.
6845 (cli_ui_out_impl): Install it.
6846 * mi/mi-interp.c: Include cli-out.h.
6847 (mi_cmd_interpreter_exec): Add comment.
6848 (restore_current_uiout_cleanup): New function.
6849 (ui_out_free_cleanup): New function.
6850 (mi_on_normal_stop): If finishing an execution command started by
6851 a CLI command, or any kind of breakpoint-like event triggered,
6852 print the stop event to the output (CLI) stream.
6853 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
6854
6855 2014-05-21 Pedro Alves <palves@redhat.com>
6856
6857 * cli/cli-cmds.c (list_command): Handle the first "list" after the
6858 current source line having changed.
6859 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
6860 * infrun.c (normal_stop): Adjust call to
6861 set_current_sal_from_frame.
6862 * source.c (clear_lines_listed_range): New function.
6863 (set_current_source_symtab_and_line, identify_source_line): Clear
6864 the lines listed range.
6865 (line_info): Handle the first "info line" after the current source
6866 line having changed.
6867 * stack.c (print_stack_frame): Remove center handling.
6868 (set_current_sal_from_frame): Remove 'center' parameter. Don't
6869 center sal.line.
6870
6871 2014-05-21 Pedro Alves <palves@redhat.com>
6872
6873 * inf-child.c (inf_child_mourn_inferior): New function.
6874 * inf-child.h (inf_child_mourn_inferior): New declaration.
6875 * darwin-nat.c (darwin_mourn_inferior): Use
6876 inf_child_mourn_inferior.
6877 * gnu-nat.c (gnu_mourn_inferior): Likewise.
6878 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
6879 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
6880 * nto-procfs.c (procfs_mourn_inferior): Likewise.
6881 * windows-nat.c (windows_mourn_inferior): Likewise.
6882
6883 2014-05-21 Doug Evans <xdje42@gmail.com>
6884
6885 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
6886
6887 2014-05-21 Doug Evans <xdje42@gmail.com>
6888
6889 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
6890 (gdbscm_out_of_range_error): Ditto.
6891 (gdbscm_memory_error): Ditto.
6892 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
6893 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
6894 (gdbscm_out_of_range_error): Update.
6895 (gdbscm_memory_error): Update.
6896 (gdbscm_scm_to_target_string_unsafe): Delete.
6897
6898 2014-05-21 Pedro Alves <palves@redhat.com>
6899
6900 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
6901 globals.
6902 (inf_child_open_target): New function.
6903 (inf_child_open): Use inf_child_open_target to push the target
6904 instead of erroring out.
6905 (inf_child_disconnect, inf_child_close)
6906 (inf_child_maybe_unpush_target): New functions.
6907 (inf_child_target): Install inf_child_disconnect and
6908 inf_child_close. Store a pointer to the returned object.
6909 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
6910 declarations.
6911 * target.c (auto_connect_native_target): New global.
6912 (show_default_run_target): New function.
6913 (find_default_run_target): Return NULL if automatically connecting
6914 to the native target is disabled.
6915 (_initialize_target): Install set/show auto-connect-native-target.
6916 * NEWS: Mention "set auto-connect-native-target", and "target
6917 native".
6918 * linux-nat.c (super_close): New global.
6919 (linux_nat_close): Call super_close.
6920 (linux_nat_add_target): Store a pointer to the base class's
6921 to_close method.
6922 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
6923 inf_child_maybe_unpush.
6924 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
6925 already pushed.
6926 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
6927 the inferior. Use inf_child_maybe_unpush_target.
6928 (inf_ttrace_attach): Don't push the target if it is already
6929 pushed.
6930 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
6931 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
6932 after mourning the inferior. Use inf_child_maybe_unpush_target.
6933 (darwin_attach_pid): Don't push the target if it is already
6934 pushed.
6935 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
6936 mourning the inferior. Use inf_child_maybe_unpush_target.
6937 (gnu_detach): Use inf_child_maybe_unpush_target.
6938 * go32-nat.c (go32_create_inferior): Don't push the target if it
6939 is already pushed.
6940 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
6941 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
6942 (procfs_open): Rename to ...
6943 (procfs_open_1): ... this. Add target_ops parameter. Adjust
6944 comments. Can target_preopen before changing node. Call
6945 inf_child_open_target to push the target explicitly.
6946 (procfs_attach): Don't push the target if it is already pushed.
6947 (procfs_detach): Use inf_child_maybe_unpush_target.
6948 (procfs_create_inferior): Don't push the target if it is already
6949 pushed.
6950 (nto_native_ops): New global.
6951 (procfs_open): Reimplement.
6952 (procfs_native_open): New function.
6953 (init_procfs_targets): Install procfs_native_open as to_open of
6954 "target native". Store a pointer to the "native" target in
6955 nto_native_ops.
6956 * procfs.c (procfs_attach): Don't push the target if it is already
6957 pushed.
6958 (procfs_detach): Use inf_child_maybe_unpush_target.
6959 (procfs_mourn_inferior): Only unpush the target after mourning the
6960 inferior. Use inf_child_maybe_unpush_target.
6961 (procfs_init_inferior): Don't push the target if it is already
6962 pushed.
6963 * windows-nat.c (do_initial_windows_stuff): Don't push the target
6964 if it is already pushed.
6965
6966 2014-05-21 Pedro Alves <palves@redhat.com>
6967
6968 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
6969 and "procfs" targets are now called "native" instead.
6970
6971 2014-05-21 Pedro Alves <palves@redhat.com>
6972
6973 * go32-nat.c (go32_open): Delete.
6974 (go32_target): Don't override the to_open method.
6975
6976 2014-05-21 Pedro Alves <palves@redhat.com>
6977
6978 * nto-procfs.c (procfs_can_run): New function.
6979 (nto_procfs_ops): New global.
6980 (init_procfs_targets): New, based on procfs_target. Install
6981 "target native" in addition to "target procfs".
6982 (_initialize_procfs): Call init_procfs_targets instead of adding
6983 the target here.
6984
6985 2014-05-21 Pedro Alves <palves@redhat.com>
6986
6987 * windows-nat.c (windows_target): Don't override to_shortname,
6988 to_longname or to_doc.
6989
6990 2014-05-21 Pedro Alves <palves@redhat.com>
6991
6992 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
6993 to_doc.
6994
6995 2014-05-21 Pedro Alves <palves@redhat.com>
6996
6997 * darwin-nat.c (_initialize_darwin_inferior): Don't override
6998 to_shortname, to_longname or to_doc.
6999
7000 2014-05-21 Pedro Alves <palves@redhat.com>
7001
7002 * go32-nat.c (go32_target): Don't override to_shortname,
7003 to_longname or to_doc.
7004
7005 2014-05-21 Pedro Alves <palves@redhat.com>
7006
7007 * inf-child.c (inf_child_open): Remove mention of "child".
7008 (inf_child_target): Rename target to "native" instead of "child".
7009
7010 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7011
7012 * Makefile.in (SFILES): Delete "regset.c".
7013 (COMMON_OBS): Delete "regset.o".
7014 * regset.c: Remove.
7015 * regset.h (regset_alloc): Delete prototype.
7016
7017 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7018
7019 * sparc-linux-tdep.c (sparc32_linux_gregset)
7020 (sparc32_linux_fpregset): New static regset structures.
7021 (sparc32_linux_init_abi): Drop dynamic regset allocations.
7022 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
7023 'fpregset' fields.
7024 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
7025 (sparc64_linux_fpregset): New static regset structures.
7026 (sparc64_linux_init_abi): Drop dynamic regset allocations.
7027 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
7028 New static regset structures.
7029 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
7030 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
7031 New static regset structures.
7032 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
7033 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
7034 New static regset structures.
7035 (sparc64obsd_init_abi): Drop dynamic regset allocations.
7036 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
7037 New static regset structures.
7038 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
7039
7040 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7041
7042 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
7043 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
7044 register maps ("regmaps") from "*regset" to "*regmap". Do this
7045 for all regmap types and variables.
7046 * sparc-linux-tdep.c (sparc32_linux_step_trap)
7047 (sparc32_linux_supply_core_gregset)
7048 (sparc32_linux_collect_core_gregset)
7049 (sparc32_linux_supply_core_fpregset)
7050 (sparc32_linux_collect_core_fpregset): Likewise.
7051 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
7052 (sparc_gregmap, sparc_fpregmap): ... these.
7053 (sparc_supply_gregset, sparc_collect_gregset)
7054 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7055 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
7056 (_initialize_sparc_nat): Rename regmaps.
7057 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
7058 (sparc_gregmap, sparc_fpregmap): ... these.
7059 (sparc_supply_gregset, sparc_collect_gregset)
7060 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7061 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
7062 Rename macros to...
7063 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
7064 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
7065 Likewise.
7066 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
7067 Rename to...
7068 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
7069 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
7070 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
7071 regmaps.
7072 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7073 (sparc32_bsd_fpregset): Rename to...
7074 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7075 (sparc32_bsd_fpregmap): ... these.
7076 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
7077 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7078 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
7079 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
7080 (struct sparc_gregmap, struct sparc_fpregmap)
7081 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7082 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
7083 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
7084 (sparc32_supply_regset, sparc32_collect_gregset)
7085 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
7086 prototypes.
7087 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
7088 (sparc64_linux_ptrace_gregmap): ... this.
7089 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
7090 (_initialize_sparc64_linux_nat): Rename regmaps.
7091 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
7092 (sparc64_linux_core_gregmap): ... this.
7093 (sparc64_linux_supply_core_gregset)
7094 (sparc64_linux_collect_core_gregset)
7095 (sparc64_linux_supply_core_fpregset)
7096 (sparc64_linux_collect_core_fpregset): Rename regmaps.
7097 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
7098 (sparc64_sol2_fpregset): Rename to...
7099 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
7100 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
7101 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
7102 regmaps.
7103 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
7104 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
7105 (sparc64_bsd_fpregset): Rename to...
7106 (struct sparc_gregmap, sparc64_sol2_gregmap)
7107 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
7108 (sparc64_bsd_fpregmap): ... these.
7109 (sparc64_supply_gregset, sparc64_collect_gregset)
7110 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
7111 prototypes.
7112 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
7113 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
7114 (sparc64fbsd_gregmap): ... this.
7115 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
7116 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
7117 Rename regmaps.
7118 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
7119 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
7120 (sparc64nbsd_collect_fpregset): Likewise.
7121 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
7122 (sparc64nbsd_gregmap): ... this.
7123 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
7124 regmaps.
7125 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
7126 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
7127 (sparc64obsd_gregmap): ... this.
7128 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
7129 regmaps.
7130 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
7131 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
7132 (sparc32nbsd_gregmap): ... this.
7133 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
7134 regmaps.
7135
7136 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7137
7138 * score-tdep.c (score7_linux_gregset): New static regset
7139 structure.
7140 (score7_linux_regset_from_core_section): Remove dynamic regset
7141 allocation.
7142 (score_gdbarch_init): Drop allocation of tdep structure.
7143 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
7144
7145 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7146
7147 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
7148 regset structures.
7149 (am33_regset_from_core_section): Remove dynamic regset
7150 allocations.
7151
7152 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7153
7154 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
7155 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
7156 structures.
7157 (mips_linux_regset_from_core_section): Remove dynamic regset
7158 allocations.
7159 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7160 'gregset64', 'fpregset', and 'fpregset64'.
7161 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
7162 deleted tdep fields.
7163
7164 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7165
7166 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
7167 regset structures.
7168 (amd64_regset_from_core_section): Remove dynamic regset
7169 allocations.
7170 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
7171 structure.
7172 (amd64obsd_regset_from_core_section): Remove dynamic regset
7173 allocation.
7174 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
7175 Likewise.
7176 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
7177 x86-common regset supply function.
7178 * i386-tdep.c (i386_collect_gregset): Make static.
7179 (i386_gregset): New global regset structure.
7180 (i386_fpregset, i386_xstateregset): New static regset structures.
7181 (i386_regset_from_core_section): Remove dynamic regset
7182 allocations.
7183 (i386_gdbarch_init): Remove initialization of tdep fields
7184 'gregset', 'fpregset', and 'xstateregset'.
7185 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7186 'fpregset', and 'xstateregset'.
7187 (i386_collect_gregset): Remove prototype.
7188 (i386_gregset): New declaration.
7189 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
7190 structure.
7191 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
7192 allocation.
7193
7194 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7195
7196 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
7197 (arm_linux_vfpregset): New static regset structures.
7198 (arm_linux_regset_from_core_section): Remove dynamic allocation of
7199 regset structures.
7200 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
7201 and 'vfpregset' fields.
7202
7203 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7204
7205 * aarch64-linux-tdep.c (aarch64_linux_gregset)
7206 (aarch64_linux_fpregset): New static regset structures.
7207 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
7208 of regset structures.
7209 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
7210 'fpregset' fields.
7211
7212 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7213
7214 * regset.h (struct regset): Remove gdbarch field.
7215 * regset.c (regset_alloc): Drop initialization of gdbarch field.
7216 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7217 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
7218 Likewise.
7219 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
7220 (ppc32_linux_fpregset, ppc32_linux_vrregset)
7221 (ppc32_linux_vsxregset): Likewise.
7222 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
7223 via the regcache instead of the regset.
7224 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
7225 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
7226 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
7227 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
7228 Likewise.
7229
7230 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7231
7232 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
7233 Constify structures.
7234 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
7235 (alphanbsd_aout_gregset): Likewise.
7236 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
7237 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
7238 Likewise.
7239 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
7240 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
7241 Likewise.
7242 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
7243 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
7244 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
7245 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
7246 * m88k-tdep.c (m88k_gregset): Likewise.
7247 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
7248 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
7249 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7250 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
7251 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7252 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7253 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7254 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7255 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
7256 Likewise.
7257 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
7258 * sh-tdep.h (sh_corefile_gregset): Likewise.
7259 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
7260 * vax-tdep.c (vax_gregset): Likewise.
7261
7262 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7263
7264 Fix TLS access for -static -pthread.
7265 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
7266 (try_thread_db_load_1): Initialize it.
7267 (thread_db_get_thread_local_address): Call it if LM is zero.
7268 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
7269 * target.h (struct target_ops) (to_get_thread_local_address): Add
7270 load_module_addr comment.
7271
7272 2014-05-21 Pedro Alves <palves@redhat.com>
7273
7274 * dcache.c (dcache_read_memory_partial): If reading the cache line
7275 fails, fallback to reading just the memory the caller wanted.
7276
7277 2014-05-20 Doug Evans <dje@google.com>
7278
7279 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
7280 instead of get_current_arch.
7281
7282 2014-05-20 Pedro Alves <palves@redhat.com>
7283
7284 * NEWS: Mention that compare-sections now works with all targets.
7285
7286 * remote.c (PACKET_qCRC): New enum value.
7287 (remote_verify_memory): Don't send qCRC if the target has no
7288 execution. Use packet_support/packet_ok. If the target doesn't
7289 support the qCRC packet, fallback to a deep memory copy.
7290 (compare_sections_command): Say "target image" instead of "remote
7291 executable".
7292 (_initialize_remote): Add PACKET_qCRC to the list of config
7293 packets that have no associated command. Extend comment.
7294 * target.c (simple_verify_memory, default_verify_memory): New
7295 function.
7296 * target.h (struct target_ops) <to_verify_memory>: Default to
7297 default_verify_memory.
7298 (simple_verify_memory): New declaration.
7299 * target-delegates.c: Regenerate.
7300
7301 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7302
7303 * record-btrace.c (record_btrace_step_thread): Check for empty history.
7304
7305 2014-05-20 Hui Zhu <hui@codesourcery.com>
7306 Yao Qi <yao@codesourcery.com>
7307
7308 PR backtrace/16558
7309 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
7310 and change address of sp and pc.
7311
7312 2014-05-19 Tom Tromey <tromey@redhat.com>
7313
7314 * gdbtypes.c (rank_function): Use XNEWVEC.
7315 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
7316
7317 2014-05-19 Doug Evans <dje@google.com>
7318
7319 * dwarf2read.c (build_type_psymtabs_1): Renamed from
7320 build_type_unit_groups and moved closer to only caller. Remove
7321 arguments. All references updated. Remove outdated .gdb_index
7322 comment.
7323 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
7324 build_type_psymtabs_1.
7325
7326 2014-05-19 Doug Evans <dje@google.com>
7327
7328 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
7329 n_type_unit_groups, all_type_unit_groups. All uses removed.
7330 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
7331 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
7332 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
7333 (add_type_unit_group_to_table): Delete.
7334
7335 2014-05-19 Doug Evans <dje@google.com>
7336
7337 * eval.c (evaluate_subexp_standard): Add some comments.
7338
7339 2014-05-17 Doug Evans <xdje42@gmail.com>
7340
7341 * progspace.c (remove_program_space): Delete, unused.
7342 * progspace.h (remove_program_space): Ditto.
7343
7344 2014-05-17 Doug Evans <xdje42@gmail.com>
7345
7346 * inferior.c (prune_inferiors): Fix comment.
7347 (remove_inferior_command): Call prune_program_spaces.
7348
7349 2014-05-16 Doug Evans <dje@google.com>
7350
7351 New command line option -D.
7352 * NEWS: Mention it.
7353 * main.c (set_gdb_data_directory): New function.
7354 (captured_main): Recognize -D. Flag error for --data-directory "".
7355 Call set_gdb_data_directory.
7356 (print_gdb_help): Print --data-directory, -D.
7357 * main.h (set_gdb_data_directory): Declare.
7358 * top.c (staged_gdb_datadir): New static global.
7359 (set_gdb_datadir): Call set_gdb_data_directory
7360 (show_gdb_datadir): New function.
7361 (init_main): Update init of data-directory parameter.
7362
7363 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
7364
7365 Import the "dirfd" gnulib module.
7366 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
7367 * gnulib/aclocal.m4: Update.
7368 * gnulib/config.in: Update.
7369 * gnulib/configure: Update.
7370 * gnulib/import/Makefile.am: Update.
7371 * gnulib/import/Makefile.in: Update.
7372 * gnulib/import/dirfd.c: New.
7373 * gnulib/import/m4/dirfd.m4: New.
7374 * gnulib/import/m4/gnulib-cache.m4: Update.
7375 * gnulib/import/m4/gnulib-comp.m4: Update.
7376
7377 2014-05-16 Pierre Muller <muller@sourceware.org>
7378 Yao Qi <yao@codesourcery.com>
7379
7380 * valprint.c (print_wchar): Move the code on checking whether
7381 W is a printable wide char to the default branch of switch
7382 statement below. Call wchar_printable instead of gdb_iswprint.
7383
7384 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
7385
7386 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
7387 ldr.w and ldrd instructions.
7388
7389 2014-05-15 Doug Evans <dje@google.com>
7390
7391 * dwarf2read.c (read_structure_type): Delete outdated comments.
7392
7393 2014-05-14 Tom Tromey <tromey@redhat.com>
7394
7395 * macrocmd.c (print_macro_definition): Reindent.
7396
7397 2014-05-13 Doug Evans <xdje42@gmail.com>
7398
7399 * python/py-cmd.c (cmdpy_completer): Add comment.
7400 (completers): Make const.
7401
7402 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
7403
7404 * infrun.c (resume): Remove should_resume (unused). Move up
7405 declaration of resume_ptid.
7406
7407 2014-05-13 Tom Tromey <tromey@redhat.com>
7408
7409 * language.h (unop_type_check): Remove.
7410 (binop_type_check): Don't declare.
7411
7412 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
7413
7414 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
7415 call to regcache_raw_collect.
7416
7417 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7418
7419 * mi/mi-console.c (mi_console_raw_packet): Use the value from
7420 mi_console->quote as the quoting character.
7421
7422 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7423
7424 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
7425
7426 2014-04-29 Tom Tromey <tromey@redhat.com>
7427
7428 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
7429 "show debug varobj".
7430
7431 2014-05-07 Kyle McMartin <kyle@redhat.com>
7432
7433 Pushed by Joel Brobecker <brobecker@adacore.com>.
7434 * aarch64-tdep.c (aarch64_software_single_step): New function.
7435 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
7436 with aarch64_software_single_step.
7437
7438 2014-05-05 Joel Brobecker <brobecker@adacore.com>
7439
7440 GDB 7.7.1 released.
7441
7442 2014-05-05 Keith Seitz <keiths@redhat.com>
7443
7444 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
7445 variable or history value is successfully parsed.
7446
7447 2014-05-05 Yao Qi <yao@codesourcery.com>
7448 Pedro Alves <palves@redhat.com>
7449
7450 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
7451 address of blocks that intersects the requested range. Trim
7452 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
7453 sections.
7454 * ctf.c (ctf_xfer_partial): Likewise.
7455
7456 2014-05-05 Yao Qi <yao@codesourcery.com>
7457
7458 * printcmd.c (display_command): Remove the check to
7459 target_has_execution.
7460
7461 2014-05-03 Mark Kettenis <kettenis@gnu.org>
7462
7463 * ppcobsd-nat.c: Include "obsd-nat.h".
7464 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
7465 add_target.
7466 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7467
7468 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7469
7470 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
7471 and 16-bit signed and unsigned arguments. Update comment.
7472 (stap_parse_probe_arguments): Extend code to handle such
7473 arguments. Use warning instead of complaint to notify about
7474 unrecognized bitness.
7475
7476 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7477
7478 PR breakpoints/16889
7479 * stap-probe.c (stap_parse_probe_arguments): Simplify
7480 check for non-prefixed probes (i.e., probes whose
7481 arguments do not start with "N@"). Always set the
7482 argument type to a sane value.
7483
7484 2014-05-01 David Taylor <dtaylor@emc.com>
7485
7486 * remote.c (compare_sections_command): Add -r option to compare
7487 all loadable read-only sections.
7488
7489 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
7490
7491 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
7492 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
7493 Update all callers.
7494 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
7495 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
7496 Remove unused CORE_ADDR argument. Update all callers.
7497
7498 2014-04-29 Pedro Alves <palves@redhat.com>
7499
7500 * remote.c (struct packet_config) <detect>: Extend comment.
7501 (add_packet_config_cmd): Don't set the config's detect or support
7502 fields here.
7503 (init_all_packet_configs): Also initialize the config's 'detect'
7504 field.
7505 (reset_all_packet_configs_support): New function.
7506 (remote_open_1): Call reset_all_packet_configs_support instead of
7507 init_all_packet_configs.
7508 (_initialize_remote): Initialize all packet configs. Assert that
7509 all packets have an associated command, except a few known
7510 outliers.
7511
7512 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7513
7514 * dwarf2read.c (read_subrange_type): Handle dynamic
7515 DW_AT_lower_bound attributes.
7516
7517 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7518
7519 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
7520 dynamic bounds before computing its upper bound.
7521 (ada_discrete_type_low_bound): Same as above with the lower bound.
7522
7523 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7524
7525 * dwarf2read.c (is_dynamic_type): Return true for dynamic
7526 range types. Adjust the array handling implementation to
7527 take advantage of this change.
7528 (resolve_dynamic_range): New function, mostly extracted from
7529 resolve_dynamic_bounds.
7530 (resolve_dynamic_array): New function, mostly extracted from
7531 resolve_dynamic_bounds.
7532 (resolve_dynamic_bounds): Delete.
7533 (resolve_dynamic_type): Reimplement. Add handling of
7534 TYPE_CODE_RANGE types.
7535
7536 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7537
7538 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
7539 handling of parallel ___XA types.
7540
7541 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7542
7543 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
7544 unnecessary second call to static_unwrap_type.
7545
7546 2014-04-27 Hui Zhu <hui@codesourcery.com>
7547
7548 * stack.c (print_frame_info): Call do_gdb_disassembly with
7549 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
7550
7551 2014-04-26 Doug Evans <xdje42@gmail.com>
7552
7553 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
7554
7555 2014-04-25 Pedro Alves <palves@redhat.com>
7556
7557 PR server/16255
7558 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
7559 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
7560 and newline from built string.
7561 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
7562 (linux_ptrace_attach_fail_reason): ... this.
7563 * linux-nat.c (linux_nat_attach): Adjust to use
7564 linux_ptrace_attach_fail_reason.
7565
7566 2014-04-25 Pedro Alves <palves@redhat.com>
7567
7568 * remote.c (struct remote_state): Remove multi_process_aware,
7569 non_stop_aware, cond_tracepoints, cond_breakpoints,
7570 breakpoint_commands, fast_tracepoints, static_tracepoints,
7571 install_in_trace, disconnected_tracing,
7572 enable_disable_tracepoints, string_tracing, and
7573 augmented_libraries_svr4_read fields.
7574 (remote_multi_process_p): Move further below in the file.
7575 (struct packet_config): Add comments.
7576 (update_packet_config): Delete function.
7577 (show_packet_config_cmd): Use packet_config_support.
7578 (add_packet_config_cmd): Use NULL as set callback.
7579 (packet_ok): "set remote foo-packet"-style commands no longer
7580 change config->supported -- adjust.
7581 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
7582 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
7583 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
7584 (PACKET_QNonStop, PACKET_multiprocess_feature)
7585 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
7586 (PACKET_DisconnectedTracing_feature)
7587 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
7588 (set_remote_protocol_packet_cmd): Delete function.
7589 (packet_config_support, packet_support): New functions.
7590 (set_remote_protocol_Z_packet_cmd): Don't call
7591 update_packet_config.
7592 (remote_query_attached, remote_pass_signals)
7593 (remote_program_signals, remote_threads_info)
7594 (remote_threads_extra_info, remote_start_remote): Use
7595 packet_support.
7596 (remote_start_remote): Use packet_config_support and
7597 packet_support.
7598 (init_all_packet_configs): Set all packets to unknown support,
7599 instead of calling update_packet_config.
7600 (remote_check_symbols): Use packet_support.
7601 (remote_supported_packet): Unconditionally set the packet config's
7602 support status.
7603 (remote_multi_process_feature, remote_non_stop_feature)
7604 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
7605 (remote_breakpoint_commands_feature)
7606 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
7607 (remote_install_in_trace_feature)
7608 (remote_disconnected_tracing_feature)
7609 (remote_enable_disable_tracepoint_feature)
7610 (remote_string_tracing_feature)
7611 (remote_augmented_libraries_svr4_read_feature): Delete functions.
7612 (remote_protocol_features): Adjust to use remote_supported_packet
7613 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
7614 "ConditionalTracepoints", "ConditionalBreakpoints",
7615 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
7616 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
7617 "EnableDisableTracepoints", and "tracenz".
7618 (remote_query_supported): Use packet_support.
7619 (remote_open_1): Adjust.
7620 (extended_remote_attach_1): Use packet_support. Switch on the
7621 result of packet_ok instead of checking whether the packet ended
7622 up disabled.
7623 (remote_vcont_resume): Use packet_support.
7624 (remote_resume, remote_stop_ns, fetch_register_using_p)
7625 (remote_prepare_to_store, store_register_using_P)
7626 (check_binary_download, remote_write_bytes): Use packet_support.
7627 (remote_vkill): Use packet_support. Switch on the result of
7628 packet_ok instead of checking whether the packet ended up
7629 disabled.
7630 (extended_remote_supports_disable_randomization): Use
7631 packet_support.
7632 (extended_remote_run): Switch on the result of packet_ok instead
7633 of checking whether the packet ended up disabled.
7634 (remote_insert_breakpoint, remote_remove_breakpoint)
7635 (remote_insert_watchpoint, remote_remove_watchpoint)
7636 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
7637 packet_support.
7638 (remote_search_memory): Use packet_config_support.
7639 (remote_get_thread_local_address, remote_get_tib_address)
7640 (remote_hostio_send_command, remote_can_execute_reverse): Use
7641 packet_support.
7642 (remote_supports_cond_tracepoints)
7643 (remote_supports_cond_breakpoints)
7644 (remote_supports_fast_tracepoints)
7645 (remote_supports_static_tracepoints)
7646 (remote_supports_install_in_trace)
7647 (remote_supports_enable_disable_tracepoint)
7648 (remote_supports_string_tracing)
7649 (remote_can_run_breakpoint_commands): Rewrite, checking whether
7650 the packet config says the feature is enabled or disabled.
7651 (remote_download_tracepoint, remote_trace_set_readonly_regions)
7652 (remote_get_trace_status): Use packet_support.
7653 (remote_set_disconnected_tracing): Adjust to check whether the
7654 feature is enabled with packet_support.
7655 (remote_set_trace_buffer_size, remote_use_agent)
7656 (remote_can_use_agent, remote_supports_btrace): Use
7657 packet_support.
7658 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
7659 Use packet_config_support.
7660 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
7661 the packet config says the feature is enabled or disabled.
7662 (set_range_stepping): Use packet_support.
7663
7664 2014-04-25 Tom Tromey <tromey@redhat.com>
7665
7666 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
7667 argument.
7668
7669 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
7670
7671 * NEWS: Mention support for C99 variable length arrays.
7672
7673 2014-04-24 Joel Brobecker <brobecker@adacore.com>
7674
7675 * ada-lang.c (standard_exc): Expand introductory comment.
7676
7677 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7678 Walfred Tedeschi <walfred.tedeschi@intel.com>
7679
7680 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
7681 AVX512 registers.
7682 (amd64_linux_read_description): Add code to handle AVX512 xstate
7683 mask and return respective tdesc.
7684 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
7685 and features/i386/x32-avx512-linux.c.
7686 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
7687 (amd64_linux_core_read_description): Add code to handle AVX512
7688 xstate mask and return respective tdesc.
7689 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
7690 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
7691 calculation.
7692 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
7693 (tdesc_amd64_avx512_linux): New prototype.
7694 (tdesc_x32_avx512_linux): Likewise.
7695 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
7696 features/i386/x32-avx512.c.
7697 (amd64_ymm_avx512_names): New register names for pseudo
7698 registers YMM16-31.
7699 (amd64_ymmh_avx512_names): New register names for raw registers
7700 YMMH16-31.
7701 (amd64_k_names): New register names for K registers.
7702 (amd64_zmmh_names): New register names for ZMM raw registers.
7703 (amd64_zmm_names): New registers names for ZMM pseudo registers.
7704 (amd64_xmm_avx512_names): New register names for XMM16-31
7705 registers.
7706 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
7707 registers.
7708 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
7709 if feature is present.
7710 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
7711 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
7712 (AMD64_NUM_REGS): Adjust to new number of registers.
7713 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
7714 registers supplied via XSTATE by AVX512 registers.
7715 (i386_linux_read_description): Add case for AVX512.
7716 * i386-linux-tdep.c: Include i386-avx512-linux.c.
7717 (i386_linux_gregset_reg_offset): Add AVX512 registers.
7718 (i386_linux_core_read_description): Add case for AVX512.
7719 (i386_linux_init_abi): Install supported register note section
7720 for AVX512.
7721 (_initialize_i386_linux_tdep): Add call to tdesc init function for
7722 AVX512.
7723 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
7724 registers to be number of zmm7h + 1.
7725 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
7726 * i386-tdep.c: Include features/i386/i386-avx512.c.
7727 (i386_zmm_names): Add ZMM pseudo register names array.
7728 (i386_zmmh_names): Add ZMM raw register names array.
7729 (i386_k_names): Add K raw register names array.
7730 (num_lower_zmm_regs): Add constant for the number of lower ZMM
7731 registers. AVX512 has 16 more ZMM registers than there are YMM
7732 registers.
7733 (i386_zmmh_regnum_p): Add function to look up register number of
7734 ZMM raw registers.
7735 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
7736 (i386_k_regnum_p): Likewise for K raw registers.
7737 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
7738 registers added by AVX512.
7739 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
7740 registers added by AVX512.
7741 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
7742 added by AVX512.
7743 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
7744 (i386_pseudo_register_name): Add ZMM pseudo registers.
7745 (i386_zmm_type): Construct and return vector registers type for ZMM
7746 registers.
7747 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
7748 ZMM0-31 pseudo registers and K registers.
7749 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
7750 and YMM16-31 registers from register cache.
7751 (i386_pseudo_register_write): Add code to write K, ZMM and
7752 YMM16-31 registers.
7753 (i386_register_reggroup_p): Add code to include/exclude AVX512
7754 registers in/from respective register groups.
7755 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
7756 registers if feature is present in xcr0.
7757 (i386_gdbarch_init): Add code to initialize AVX512 feature
7758 variables in tdep structure, wire in pseudo registers and call
7759 initialize_tdesc_i386_avx512.
7760 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
7761 variables.
7762 (i386_regnum): Add AVX512 registers.
7763 (I386_SSE_NUM_REGS): New define for number of SSE registers.
7764 (I386_AVX_NUM_REGS): Likewise for AVX registers.
7765 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
7766 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
7767 512 bits wide.
7768 (i386_xmm_avx512_regnum_p): New prototype for register look up.
7769 (i386_ymm_avx512_regnum_p): Likewise.
7770 (i386_k_regnum_p): Likewise.
7771 (i386_zmm_regnum_p): Likewise.
7772 (i386_zmmh_regnum_p): Likewise.
7773 * i387-tdep.c : Update year in copyright notice.
7774 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
7775 XSAVE buffer.
7776 (XSAVE_YMM_AVX512_ADDR): New macro.
7777 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
7778 XSAVE buffer.
7779 (XSAVE_XMM_AVX512_ADDR): New macro.
7780 (xsave_avx512_k_offset): New table for K register offsets in
7781 XSAVE buffer.
7782 (XSAVE_AVX512_K_ADDR): New macro.
7783 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
7784 in XSAVE buffer.
7785 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
7786 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
7787 buffer.
7788 (i387_collect_xsave): Add code to collect AVX512 registers from
7789 XSAVE buffer.
7790 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
7791 of XMM16-31 registers.
7792 (I387_NUM_K_REGS): New define for number of K registers.
7793 (I387_K0_REGNUM): New define for K0 register number.
7794 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
7795 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
7796 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
7797 registers.
7798 (I387_YMM16H_REGNUM): New define for YMM16H register number.
7799 (I387_XMM16_REGNUM): New define for XMM16 register number.
7800 (I387_YMM0_REGNUM): New define for YMM0 register number.
7801 (I387_KEND_REGNUM): New define for last K register number.
7802 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
7803 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
7804 number.
7805 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
7806 number.
7807 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
7808 size.
7809 * features/Makefile: Add AVX512 related files.
7810 * features/i386/32bit-avx512.xml: New file.
7811 * features/i386/64bit-avx512.xml: Likewise.
7812 * features/i386/amd64-avx512-linux.c: Likewise.
7813 * features/i386/amd64-avx512-linux.xml: Likewise.
7814 * features/i386/amd64-avx512.c: Likewise.
7815 * features/i386/amd64-avx512.xml: Likewise.
7816 * features/i386/i386-avx512-linux.c: Likewise.
7817 * features/i386/i386-avx512-linux.xml: Likewise.
7818 * features/i386/i386-avx512.c: Likewise.
7819 * features/i386/i386-avx512.xml: Likewise.
7820 * features/i386/x32-avx512-linux.c: Likewise.
7821 * features/i386/x32-avx512-linux.xml: Likewise.
7822 * features/i386/x32-avx512.c: Likewise.
7823 * features/i386/x32-avx512.xml: Likewise.
7824 * regformats/i386/amd64-avx512-linux.dat: New file.
7825 * regformats/i386/amd64-avx512.dat: Likewise.
7826 * regformats/i386/i386-avx512-linux.dat: Likewise.
7827 * regformats/i386/i386-avx512.dat: Likewise.
7828 * regformats/i386/x32-avx512-linux.dat: Likewise.
7829 * regformats/i386/x32-avx512.dat: Likewise.
7830 * NEWS: Add note about new support for AVX512.
7831
7832
7833 2014-04-23 Pedro Alves <palves@redhat.com>
7834
7835 * breakpoint.c (insert_bp_location): Tolerate errors if the
7836 breakpoint is set in a user-loaded objfile.
7837 (remove_breakpoint_1): Likewise. Also tolerate errors if the
7838 location is marked shlib_disabled. If the breakpoint is set in a
7839 user-loaded objfile is a GDB-side memory breakpoint, validate it
7840 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
7841 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
7842 flag.
7843 * mem-break.c (memory_validate_breakpoint): New function.
7844 * objfiles.c (userloaded_objfile_contains_address_p): New
7845 function.
7846 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
7847 * target.h (memory_validate_breakpoint): New declaration.
7848
7849 2014-04-23 Pedro Alves <palves@redhat.com>
7850
7851 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
7852 the breakpoint is set in a shared library, only suppress
7853 errors for software breakpoints, not hardware breakpoints.
7854
7855 2014-04-22 Pedro Alves <palves@redhat.com>
7856
7857 * infrun.c (schedlock_applies): New function, factored out from
7858 find_thread_needs_step_over.
7859 (find_thread_needs_step_over): Use it.
7860 (switch_back_to_stepped_thread): Always clear trap_expected if the
7861 step over is finished. Return early if scheduler locking applies.
7862 Look for the stepping thread and a potential step-over thread with
7863 a single loop.
7864 (currently_stepping_or_nexting_callback): Delete.
7865
7866 2014-04-22 Nick Clifton <nickc@redhat.com>
7867
7868 * NEWS: Mention that ARM sim now supports tracing.
7869
7870 2014-04-22 Yao Qi <yao@codesourcery.com>
7871
7872 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
7873 to ...
7874 * tracefile.c (tracefile_fetch_registers): ... it. New
7875 function.
7876 * tracefile.h (tracefile_fetch_registers): Declare.
7877 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
7878 tracefile_fetch_registers.
7879
7880 2014-04-19 Eli Zaretskii <eliz@gnu.org>
7881
7882 PR gdb/14018
7883 * windows-nat.c (thread_rec): Don't display a warning when
7884 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
7885 fails for any reason, set th->suspended to -1, so that we don't
7886 try to resume such a thread. Also, don't return NULL in these
7887 cases, to avoid completely ruin the session due to "PC register is
7888 not available" error.
7889 (do_windows_fetch_inferior_registers): Check errors in
7890 GetThreadContext call.
7891 (windows_continue): Accept an additional argument KILLED; if not
7892 zero, ignore errors in the SetThreadContext call, since the
7893 inferior was killed and is shutting down.
7894 (windows_resume, get_windows_debug_event)
7895 (windows_create_inferior, windows_mourn_inferior)
7896 (windows_kill_inferior): All callers of windows_continue changed
7897 to adjust to its new calling sequence.
7898
7899 2014-04-19 Yao Qi <yao@codesourcery.com>
7900
7901 * ctf.c (ctf_open): Call post_create_inferior.
7902
7903 2014-04-19 Yao Qi <yao@codesourcery.com>
7904
7905 * ctf.c (handle_id): New static variable.
7906 (ctf_open_dir): Get handle_id from bt_context_add_trace return
7907 value. Get the declaration of event "register" and get length
7908 of field "contents".
7909
7910 2014-04-19 Yao Qi <yao@codesourcery.com>
7911
7912 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
7913
7914 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
7915
7916 * valops.c (oload_method_static): Remove unnecessary argument
7917 METHOD. Update all callers.
7918
7919 2014-04-18 Pedro alves <palves@redhat.com>
7920 Tom Tromey <tromey@redhat.com>
7921
7922 PR backtrace/15558
7923 * frame.c (get_prev_frame_1): Rename to ...
7924 (get_prev_frame_always): ... this, and make extern. Adjust.
7925 (skip_artificial_frames): Use get_prev_frame_always.
7926 (frame_unwind_caller_id, frame_pop, get_prev_frame)
7927 (get_frame_unwind_stop_reason): Adjust to rename.
7928 * frame.h (get_prev_frame_always): Declare.
7929 * inline-frame.c: Include frame.h.
7930 (inline_frame_this_id): Use get_prev_frame_always.
7931
7932 2014-04-18 Tristan Gingold <gingold@adacore.com>
7933
7934 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
7935 code by using bfd_mach_o_get_base_address.
7936
7937 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7938
7939 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
7940 (spu_ax_pseudo_register_collect): New function.
7941 (spu_ax_pseudo_register_push_stack): Likewise.
7942 (spu_dwarf_reg_to_regnum): Likewise.
7943 (spu_gdbarch_init): Install them. Append DWARF unwinders.
7944
7945 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7946
7947 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
7948 Replace FRAME argument with FRAME_ID.
7949 * gdbarch.c, gdbarch.h: Regenerate.
7950 * findvar.c (default_value_from_register): Add GDBARCH argument;
7951 replace FRAME by FRAME_ID. No longer call get_frame_id.
7952 (value_from_register): Update call to gdbarch_value_from_register.
7953 * value.h (default_value_from_register): Update prototype.
7954 * s390-linux-tdep.c (s390_value_from_register): Update interface
7955 and call to default_value_from_register.
7956 * spu-tdep.c (spu_value_from_register): Likewise.
7957
7958 * findvar.c (address_from_register): Remove TYPE argument.
7959 Do not call value_from_register; use gdbarch_value_from_register
7960 with null_frame_id instead.
7961 * value.h (address_from_register): Update prototype.
7962 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
7963 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
7964 address_from_register interface change.
7965
7966 2014-04-17 Yao Qi <yao@codesourcery.com>
7967
7968 * gdbtypes.h: Update comments to link to types and macros'
7969 definitions.
7970
7971 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
7972
7973 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
7974
7975 2014-04-16 Keith Seitz <keiths@redhat.com>
7976
7977 PR gdb/15827
7978 * dwarf2read.c (skip_one_die): Check that all relative-offset
7979 sibling DIEs fall within range of the current reader's buffer.
7980 (read_partial_die): Likewise.
7981
7982 2014-04-16 Keith Seitz <keiths@redhat.com>
7983
7984 PR c++/16597
7985 * cp-namespace.c (lookup_symbol_file): If the type name of
7986 `this' is NULL, return immediately.
7987
7988 2014-04-14 Keith Seitz <keiths@redhat.com>
7989
7990 PR c++/16253
7991 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
7992 from symbol_matches_domain in symtab.c. All local callers
7993 of symbol_matches_domain updated.
7994 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
7995 search STRUCT_DOMAIN.
7996 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
7997 independently. standard_lookup will do that automatically.
7998 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
7999 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8000 (cp_lookup_symbol_in_namespace): Likewise.
8001 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
8002 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
8003 may return a STRUCT_DOMAIN match.
8004 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
8005 * cp-support.c: Include language.h.
8006 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
8007 VAR_DOMAIN.
8008 * psymtab.c (match_partial_symbol): Compare the requested
8009 domain with the symbol's domain directly.
8010 (lookup_partial_symbol): Likewise.
8011 * symtab.c (lookup_symbol_in_language): Explain when/why
8012 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8013 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
8014 appropriate languages.
8015 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
8016 and moved to ada-lang.c
8017 (lookup_block_symbol): Explain that this function only returns
8018 symbol matching the requested DOMAIN.
8019 Compare the requested domain with the symbol's domain directly.
8020 (iterate_over_symbols): Compare the requested domain with the
8021 symbol's domain directly.
8022 * symtab.h (symbol_matches_domain): Remove.
8023
8024 2014-04-14 Tom Tromey <tromey@redhat.com>
8025
8026 PR c++/15246:
8027 * c-exp.y (type_aggregate_p): New function.
8028 (qualified_name, classify_inner_name): Use it.
8029 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
8030 and TYPE_TARGET_TYPE of an enum type.
8031 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
8032 an enum type.
8033 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
8034 handle TYPE_DECLARED_CLASS.
8035 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
8036 types.
8037 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
8038 * valops.c (enum_constant_from_type): New function.
8039 (value_aggregate_elt): Use it.
8040 * cp-namespace.c (cp_lookup_nested_symbol): Handle
8041 TYPE_CODE_ENUM.
8042
8043 2014-04-14 Tom Tromey <tromey@redhat.com>
8044
8045 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
8046 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
8047 const.
8048 * value.h (value_aggregate_elt): Update.
8049
8050 2014-04-14 Tom Tromey <tromey@redhat.com>
8051
8052 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
8053
8054 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8055
8056 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8057 (evaluate_subexp_standard): Pass noside argument.
8058 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8059 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8060 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8061 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8062 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8063
8064 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8065
8066 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8067 points to a constant blob.
8068
8069 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8070
8071 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8072 property and store it as the high bound and flag the range accordingly.
8073 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8074 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8075 * gdbtypes.h (enum range_flags): New enum.
8076 (struct range_bounds): Add flags member.
8077
8078 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8079
8080 * c-typeprint.c (c_type_print_varspec_suffix): Added
8081 check for not yet resolved high bound. If unresolved, print
8082 "variable length" string to the console instead of random
8083 length.
8084
8085 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8086
8087 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
8088 value.
8089 (ada_template_to_fixed_record_type_1): Likewise.
8090 (ada_to_fixed_type_1): Likewise.
8091 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8092 (cp_print_value): Likewise.
8093 * d-valprint.c (dynamic_array_type): Likewise.
8094 * findvar.c (address_of_variable): Likewise.
8095 * jv-valprint.c (java_value_print): Likewise.
8096 * valops.c (value_ind): Likewise.
8097 * value.c (coerce_ref): Likewise.
8098
8099 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8100
8101 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8102 value and retrieve the dynamic type size.
8103
8104 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8105
8106 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8107 passed to sizeof is dynamic evaluate the argument to compute the length.
8108
8109 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8110 Joel Brobecker <brobecker@adacore.com>
8111
8112 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8113 (dwarf2_evaluate_property): New function.
8114 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8115 * dwarf2read.c (attr_to_dynamic_prop): New function.
8116 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8117 attribute.
8118 * gdbtypes.c: Include dwarf2loc.h.
8119 (is_dynamic_type): New function.
8120 (resolve_dynamic_type): New function.
8121 (resolve_dynamic_bounds): New function.
8122 (get_type_length): New function.
8123 (check_typedef): Use get_type_length to compute type length.
8124 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8125 (TYPE_LOW_BOUND_KIND): New macro.
8126 (is_dynamic_type): New function prototype.
8127 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8128 to resolve dynamic properties of the type. Update comment.
8129 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8130
8131 2014-04-14 Richard Henderson <rth@redhat.com>
8132
8133 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
8134
8135 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8136 Doug Evans <xdje42@gmail.com>
8137
8138 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
8139 dereference TYPE_CODE_REF values.
8140
8141 2014-04-11 Joel Brobecker <brobecker@adacore.com>
8142
8143 Revert the following changes due to regressions:
8144
8145 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8146 (dwarf2_evaluate_property): New function.
8147 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8148 * dwarf2read.c (attr_to_dynamic_prop): New function.
8149 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8150 attribute.
8151 * gdbtypes.c: Include dwarf2loc.h.
8152 (is_dynamic_type): New function.
8153 (resolve_dynamic_type): New function.
8154 (resolve_dynamic_bounds): New function.
8155 (get_type_length): New function.
8156 (check_typedef): Use get_type_length to compute type length.
8157 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8158 (TYPE_LOW_BOUND_KIND): New macro.
8159 (is_dynamic_type): New function prototype.
8160 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8161 to resolve dynamic properties of the type. Update comment.
8162 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8163
8164 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8165 passed to sizeof is dynamic evaluate the argument to compute the length.
8166
8167 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8168 value and retrieve the dynamic type size.
8169
8170 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8171 (ada_template_to_fixed_record_type_1): Likewise.
8172 (ada_to_fixed_type_1): Likewise.
8173 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8174 (cp_print_value): Likewise.
8175 * d-valprint.c (dynamic_array_type): Likewise.
8176 * eval.c (evaluate_subexp_with_coercion): Likewise.
8177 * findvar.c (address_of_variable): Likewise.
8178 * jv-valprint.c (java_value_print): Likewise.
8179 * valops.c (value_ind): Likewise.
8180 * value.c (coerce_ref): Likewise.
8181
8182 * c-typeprint.c (c_type_print_varspec_suffix): Added
8183 check for not yet resolved high bound. If unresolved, print
8184 "variable length" string to the console instead of random
8185 length.
8186
8187 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8188 property and store it as the high bound and flag the range accordingly.
8189 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8190 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8191 * gdbtypes.h (enum range_flags): New enum.
8192 (struct range_bounds): Add flags member.
8193
8194 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8195 points to a constant blob.
8196
8197 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8198 (evaluate_subexp_standard): Pass noside argument.
8199 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8200 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8201 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8202 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8203 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8204
8205 2014-04-11 Keith Seitz <keiths@redhat.com>
8206
8207 PR c++/16675
8208 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
8209 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
8210 reference types.
8211
8212 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8213
8214 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8215 (evaluate_subexp_standard): Pass noside argument.
8216 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8217 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8218 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8219 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8220 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8221
8222 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8223
8224 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8225 points to a constant blob.
8226
8227 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8228
8229 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8230 property and store it as the high bound and flag the range accordingly.
8231 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8232 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8233 * gdbtypes.h (enum range_flags): New enum.
8234 (struct range_bounds): Add flags member.
8235
8236 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8237
8238 * c-typeprint.c (c_type_print_varspec_suffix): Added
8239 check for not yet resolved high bound. If unresolved, print
8240 "variable length" string to the console instead of random
8241 length.
8242
8243 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8244
8245 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8246 (ada_template_to_fixed_record_type_1): Likewise.
8247 (ada_to_fixed_type_1): Likewise.
8248 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8249 (cp_print_value): Likewise.
8250 * d-valprint.c (dynamic_array_type): Likewise.
8251 * eval.c (evaluate_subexp_with_coercion): Likewise.
8252 * findvar.c (address_of_variable): Likewise.
8253 * jv-valprint.c (java_value_print): Likewise.
8254 * valops.c (value_ind): Likewise.
8255 * value.c (coerce_ref): Likewise.
8256
8257 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8258
8259 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8260 value and retrieve the dynamic type size.
8261
8262 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8263
8264 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8265 passed to sizeof is dynamic evaluate the argument to compute the length.
8266
8267 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8268
8269 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8270 (dwarf2_evaluate_property): New function.
8271 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8272 * dwarf2read.c (attr_to_dynamic_prop): New function.
8273 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8274 attribute.
8275 * gdbtypes.c: Include dwarf2loc.h.
8276 (is_dynamic_type): New function.
8277 (resolve_dynamic_type): New function.
8278 (resolve_dynamic_bounds): New function.
8279 (get_type_length): New function.
8280 (check_typedef): Use get_type_length to compute type length.
8281 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8282 (TYPE_LOW_BOUND_KIND): New macro.
8283 (is_dynamic_type): New function prototype.
8284 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8285 to resolve dynamic properties of the type. Update comment.
8286 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8287
8288 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8289
8290 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
8291 declaring high/low bounds and change uses accordingly. Call
8292 create_range_type instead of create_static_range_type.
8293 * gdbtypes.c (create_range_type): New function.
8294 (create_range_type): Convert bounds into struct bound_prop and pass
8295 them to create_range_type.
8296 * gdbtypes.h (struct bound_prop): New struct.
8297 (create_range_type): New function prototype.
8298 (struct range_bounds): Use struct bound_prop instead of LONGEST for
8299 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
8300 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
8301 part of the bound.
8302 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
8303
8304 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8305
8306 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
8307 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
8308 * ada-lang.c: All uses of create_range_type updated.
8309 * coffread.c: All uses of create_range_type updated.
8310 * dwarf2read.c: All uses of create_range_type updated.
8311 * f-exp.y: All uses of create_range_type updated.
8312 * m2-valprint.c: All uses of create_range_type updated.
8313 * mdebugread.c: All uses of create_range_type updated.
8314 * stabsread.c: All uses of create_range_type updated.
8315 * valops.c: All uses of create_range_type updated.
8316 * valprint.c: All uses of create_range_type updated.
8317
8318 2014-04-10 Pedro Alves <palves@redhat.com>
8319
8320 * breakpoint.c (single_step_breakpoints)
8321 (single_step_gdbarch): Move up in the file.
8322 (one_breakpoint_xfer_memory): New function, factored out from ...
8323 (breakpoint_xfer_memory): ... here. Also process single-step
8324 breakpoints.
8325
8326 2014-04-09 Tristan Gingold <gingold@adacore.com>
8327
8328 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
8329 comments.
8330 (darwin_decode_exception_message): Free port only after use.
8331
8332 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
8333
8334 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
8335 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
8336 when setting the size of call_length.
8337
8338 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8339
8340 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
8341 dereference TYPE_CODE_REF values.
8342
8343 2014-04-07 Joel Brobecker <brobecker@adacore.com>
8344
8345 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
8346 end of warning message.
8347
8348 2014-04-03 Doug Evans <dje@google.com>
8349
8350 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
8351 of stub_comp_unit_die, stub_comp_dir is non-NULL.
8352
8353 2014-04-02 Alan Modra <amodra@gmail.com>
8354
8355 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
8356 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
8357 (struct symbol_file_add_from_memory_args): Add size field.
8358 (find_vdso_size): New function.
8359 (add_vsyscall_page): Attempt to find vdso size.
8360
8361 2014-04-01 Doug Evans <dje@google.com>
8362
8363 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
8364
8365 2014-04-01 Tristan Gingold <gingold@adacore.com>
8366
8367 * darwin-nat.c (darwin_encode_reply): Add prototype.
8368 (darwin_decode_exception_message): Reply to unknown inferiors.
8369 (darwin_decode_message): Handle message by id. Ignore message
8370 to unknown inferior.
8371 (darwin_wait): Discard unknown messages, add debug trace.
8372
8373 2014-03-31 Doug Evans <dje@google.com>
8374
8375 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
8376 comp_dir_string.
8377
8378 2014-03-31 Doug Evans <dje@google.com>
8379
8380 New option "set print symbol-loading".
8381 * NEWS: Mention it.
8382 * solib.c (solib_read_symbols): Only print symbol loading messages
8383 if requested.
8384 (solib_add): If symbol loading is in "brief" mode, notify user
8385 symbols are being loaded.
8386 (reload_shared_libraries_1): Ditto.
8387 * symfile.c (print_symbol_loading_off): New static global.
8388 (print_symbol_loading_brief): New static global.
8389 (print_symbol_loading_full): New static global.
8390 (print_symbol_loading_enums): New static global.
8391 (print_symbol_loading): New static global.
8392 (print_symbol_loading_p): New function.
8393 (symbol_file_add_with_addrs): Only print symbol loading messages
8394 if requested.
8395 (_initialize_symfile): Register "print symbol-loading" set/show
8396 command.
8397 * symfile.h (print_symbol_loading_p): Declare.
8398
8399 2014-03-30 Doug Evans <xdje42@gmail.com>
8400
8401 * infrun.c (set_last_target_status): New function.
8402 (handle_inferior_event): Call it.
8403
8404 2014-03-30 Doug Evans <xdje42@gmail.com>
8405
8406 * inferior.h (enum stop_kind): Improve comment.
8407
8408 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8409
8410 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
8411 a reference, strip the reference layer before calling
8412 the lang_ops value_has_mutated callback.
8413
8414 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
8415
8416 Remove some globals from our parser.
8417 * language.c (unk_lang_parser): Add "struct parser_state"
8418 argument.
8419 * language.h (struct language_defn) <la_parser>: Likewise.
8420 * parse.c (expout, expout_size, expout_ptr): Remove variables.
8421 (initialize_expout): Add "struct parser_state" argument.
8422 Rewrite function to use the parser state.
8423 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
8424 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
8425 write_exp_elt_longcst, write_exp_elt_dblcst,
8426 write_exp_elt_decfloatcst, write_exp_elt_type,
8427 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8428 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
8429 write_dollar_variable): Likewise.
8430 (parse_exp_in_context_1): Use parser state.
8431 (insert_type_address_space): Add "struct parser_state" argument.
8432 Use parser state.
8433 (increase_expout_size): New function.
8434 * parser-defs.h: Forward declare "struct language_defn" and
8435 "struct parser_state".
8436 (expout, expout_size, expout_ptr): Remove extern declarations.
8437 (parse_gdbarch, parse_language): Rewrite macro declarations to
8438 accept the parser state.
8439 (struct parser_state): New struct.
8440 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
8441 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
8442 write_exp_elt_decfloatcst, write_exp_elt_type,
8443 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8444 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
8445 write_exp_msymbol, write_dollar_variable,
8446 mark_struct_expression, insert_type_address_space): Add "struct
8447 parser_state" argument.
8448 (increase_expout_size): New function.
8449 * utils.c (do_clear_parser_state): New function.
8450 (make_cleanup_clear_parser_state): Likewise.
8451 * utils.h (make_cleanup_clear_parser_state): New function
8452 prototype.
8453 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
8454 Update calls to write_exp* in order to pass the parser state.
8455 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
8456 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
8457 (i386_stap_parse_special_token_three_arg_disp): Likewise.
8458 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
8459 * stap-probe.c (stap_parse_register_operand): Likewise.
8460 (stap_parse_single_operand): Likewise.
8461 (stap_parse_argument_1): Likewise.
8462 (stap_parse_argument): Use parser state.
8463 * stap-probe.h: Include "parser-defs.h".
8464 (struct stap_parse_info) <pstate>: New field.
8465 * c-exp.y (parse_type): Rewrite to use parser state.
8466 (yyparse): Redefine to c_parse_internal.
8467 (pstate): New global variable.
8468 (parse_number): Add "struct parser_state" argument.
8469 (write_destructor_name): Likewise.
8470 (type_exp): Update calls to write_exp* and similars in order to
8471 use parser state.
8472 (exp1, exp, variable, qualified_name, space_identifier,
8473 typename, typebase): Likewise.
8474 (write_destructor_name, parse_number, lex_one_token,
8475 classify_name, classify_inner_name, c_parse): Add "struct
8476 parser_state" argument. Update function to use parser state.
8477 * c-lang.h: Forward declare "struct parser_state".
8478 (c_parse): Add "struct parser_state" argument.
8479 * ada-exp.y (parse_type): Rewrite macro to use parser state.
8480 (yyparse): Redefine macro to ada_parse_internal.
8481 (pstate): New variable.
8482 (write_int, write_object_renaming, write_var_or_type,
8483 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
8484 type_int, type_long, type_long_long, type_float, type_double,
8485 type_long_double, type_char, type_boolean, type_system_address):
8486 Add "struct parser_state" argument.
8487 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
8488 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
8489 var_or_type, aggregate, aggregate_component_list,
8490 positional_list, others, component_group,
8491 component_associations): Update calls to write_exp* and similar
8492 functions in order to use parser state.
8493 (ada_parse, write_var_from_sym, write_int,
8494 write_exp_op_with_string, write_object_renaming,
8495 find_primitive_type, write_selectors, write_ambiguous_var,
8496 write_var_or_type, write_name_assoc, type_int, type_long,
8497 type_long_long, type_float, type_double, type_long_double,
8498 type_char, type_boolean, type_system_address): Add "struct
8499 parser_state" argument. Adjust function to use parser state.
8500 * ada-lang.c (parse): Likewise.
8501 * ada-lang.h: Forward declare "struct parser_state".
8502 (ada_parse): Add "struct parser_state" argument.
8503 * ada-lex.l (processInt, processReal): Likewise. Adjust all
8504 calls to both functions.
8505 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
8506 parser state.
8507 (yyparse): Redefine macro to f_parse_internal.
8508 (pstate): New variable.
8509 (parse_number): Add "struct parser_state" argument.
8510 (type_exp, exp, subrange, typebase): Update calls to write_exp*
8511 and similars in order to use parser state.
8512 (parse_number): Adjust code to use parser state.
8513 (yylex): Likewise.
8514 (f_parse): New function.
8515 * f-lang.h: Forward declare "struct parser_state".
8516 (f_parse): Add "struct parser_state" argument.
8517 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
8518 parser state.
8519 (yyparse): Redefine macro for java_parse_internal.
8520 (pstate): New variable.
8521 (push_expression_name, push_expression_name, insert_exp): Add
8522 "struct parser_state" argument.
8523 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
8524 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
8525 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
8526 PostIncrementExpression, PostDecrementExpression,
8527 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
8528 UnaryExpressionNotPlusMinus, CastExpression,
8529 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
8530 RelationalExpression, EqualityExpression, AndExpression,
8531 ExclusiveOrExpression, InclusiveOrExpression,
8532 ConditionalAndExpression, ConditionalOrExpression,
8533 ConditionalExpression, Assignment, LeftHandSide): Update
8534 calls to write_exp* and similars in order to use parser state.
8535 (parse_number): Ajust code to use parser state.
8536 (yylex): Likewise.
8537 (java_parse): New function.
8538 (push_variable): Add "struct parser_state" argument. Adjust
8539 code to user parser state.
8540 (push_fieldnames, push_qualified_expression_name,
8541 push_expression_name, insert_exp): Likewise.
8542 * jv-lang.h: Forward declare "struct parser_state".
8543 (java_parse): Add "struct parser_state" argument.
8544 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
8545 parser state.
8546 (yyparse): Redefine macro to m2_parse_internal.
8547 (pstate): New variable.
8548 (type_exp, exp, fblock, variable, type): Update calls to
8549 write_exp* and similars to use parser state.
8550 (yylex): Likewise.
8551 (m2_parse): New function.
8552 * m2-lang.h: Forward declare "struct parser_state".
8553 (m2_parse): Add "struct parser_state" argument.
8554 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
8555 * objc-lang.h: Forward declare "struct parser_state".
8556 (end_msglist): Add "struct parser_state" argument.
8557 * p-exp.y (parse_type): Rewrite macro to use parser state.
8558 (yyparse): Redefine macro to pascal_parse_internal.
8559 (pstate): New variable.
8560 (parse_number): Add "struct parser_state" argument.
8561 (type_exp, exp1, exp, qualified_name, variable): Update calls to
8562 write_exp* and similars in order to use parser state.
8563 (parse_number, yylex): Adjust code to use parser state.
8564 (pascal_parse): New function.
8565 * p-lang.h: Forward declare "struct parser_state".
8566 (pascal_parse): Add "struct parser_state" argument.
8567 * go-exp.y (parse_type): Rewrite macro to use parser state.
8568 (yyparse): Redefine macro to go_parse_internal.
8569 (pstate): New variable.
8570 (parse_number): Add "struct parser_state" argument.
8571 (type_exp, exp1, exp, variable, type): Update calls to
8572 write_exp* and similars in order to use parser state.
8573 (parse_number, lex_one_token, classify_name, yylex): Adjust code
8574 to use parser state.
8575 (go_parse): Likewise.
8576 * go-lang.h: Forward declare "struct parser_state".
8577 (go_parse): Add "struct parser_state" argument.
8578
8579 2014-03-27 Doug Evans <dje@google.com>
8580
8581 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
8582
8583 2014-03-27 Doug Evans <dje@google.com>
8584
8585 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
8586 Remove argument abbrev_section. All callers updated.
8587
8588 2014-03-27 Doug Evans <dje@google.com>
8589
8590 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
8591 addr_base, ranges_base.
8592
8593 2014-03-26 Keith Seitz <keiths@redhat.com>
8594
8595 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
8596 types, not VAR_DOMAIN.
8597
8598 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
8599
8600 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
8601 "ra" registers.
8602 * features/nios2-linux.c: Regenerated.
8603 * features/nios2.c: Regenerated.
8604
8605 2014-03-25 Pedro Alves <palves@redhat.com>
8606
8607 * cli/cli-script.c (script_from_file): Force the interpreter to
8608 sync mode.
8609
8610 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8611
8612 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
8613 small stack allocation.
8614
8615 2014-03-24 Tristan Gingold <gingold@adacore.com>
8616
8617 * darwin-nat.c (exc_server): Remove unused prototype.
8618 (darwin_dump_message): Correctly display data on x86_64.
8619 (darwin_encode_reply): Fix style.
8620 Add comments and fix indentation.
8621
8622 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8623
8624 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
8625
8626 2014-03-22 Doug Evans <xdje42@gmail.com>
8627
8628 * infcmd.c: Whitespace fixes.
8629 (interrupt_command): Merge two function comments into one.
8630
8631 2014-03-22 Doug Evans <xdje42@gmail.com>
8632
8633 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
8634 All uses updated.
8635
8636 2014-03-22 Yao Qi <yao@codesourcery.com>
8637
8638 * remote.c (target_read_live_memory): Remove.
8639 (memory_xfer_live_readonly_partial): Rename it to
8640 remote_xfer_live_readonly_partial. Remove argument 'object'.
8641 All callers updated. Call remote_read_bytes_1
8642 instead of target_read_live_memory.
8643 * tracepoint.c (set_traceframe_number): Remove.
8644 (make_cleanup_restore_traceframe_number): Likewise .
8645 * tracepoint.h (set_traceframe_number): Remove declaration.
8646 (make_cleanup_restore_traceframe_number): Likewise.
8647
8648 2014-03-22 Yao Qi <yao@codesourcery.com>
8649
8650 * remote.c (remote_read_bytes): Move code on reading from the
8651 remote stub to ...
8652 (remote_read_bytes_1): ... here. New function.
8653
8654 2014-03-22 Yao Qi <yao@codesourcery.com>
8655
8656 * ctf.c (ctf_xfer_partial): Check the return value of
8657 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
8658 return TARGET_XFER_UNAVAILABLE.
8659 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8660 * target.c (target_read_live_memory): Move it to remote.c.
8661 (memory_xfer_live_readonly_partial): Likewise.
8662 (memory_xfer_partial_1): Move some code to remote_read_bytes.
8663 * remote.c (target_read_live_memory): Moved from target.c.
8664 (memory_xfer_live_readonly_partial): Likewise.
8665 (remote_read_bytes): Factored out from
8666 memory_xfer_partial_1.
8667
8668 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
8669
8670 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
8671 NULL pointer.
8672
8673 2014-03-21 Pedro Alves <palves@redhat.com>
8674
8675 * infrun.c (normal_stop): Extend comment.
8676
8677 2014-03-21 Hui Zhu <hui@codesourcery.com>
8678 Pedro Alves <palves@redhat.com>
8679
8680 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
8681 static buffer.
8682 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
8683 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
8684 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
8685
8686 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
8687
8688 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
8689 `z' formatted output modifier.
8690
8691 2014-03-20 Tom Tromey <tromey@redhat.com>
8692 Sergio Durigan Junior <sergiodj@redhat.com>
8693
8694 * probe.c (parse_probes): Turn assert into an ordinary error.
8695 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
8696 exceptions when parsing probes. Rearrange the code for clarity.
8697
8698 2014-03-20 Tom Tromey <tromey@redhat.com>
8699
8700 PR gdb/14135
8701 * top.c (execute_command): Only dispatch events if the command
8702 started the target.
8703
8704 2014-03-20 Tom Tromey <tromey@redhat.com>
8705
8706 PR cli/15718
8707 * infcall.c: Include event-top.h.
8708 (run_inferior_call): Call async_disable_stdin if needed.
8709
8710 2014-03-20 Pedro Alves <palves@redhat.com>
8711
8712 * infrun.c (prepare_to_proceed): Delete.
8713 (thread_still_needs_step_over): New function.
8714 (find_thread_needs_step_over): New function.
8715 (proceed): If the current thread needs a step-over, set its
8716 steping_over_breakpoint flag. Adjust to use
8717 find_thread_needs_step_over instead of prepare_to_proceed.
8718 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
8719 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
8720 breakpoint.
8721 (switch_back_to_stepped_thread): Step over breakpoints of all
8722 threads not the stepping thread, before switching back to the
8723 stepping thread.
8724
8725 2014-03-20 Pedro Alves <palves@redhat.com>
8726
8727 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
8728 extern.
8729 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
8730 * infrun.c (saved_singlestep_ptid)
8731 (stepping_past_singlestep_breakpoint): Delete.
8732 (resume): Remove stepping_past_singlestep_breakpoint handling.
8733 (proceed): Store the prev_pc of the stepping thread too.
8734 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
8735 singlestep_pc.
8736 (enum infwait_states): Delete infwait_thread_hop_state.
8737 (struct execution_control_state) <hit_singlestep_breakpoint>: New
8738 field.
8739 (handle_inferior_event): Adjust.
8740 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
8741 handling and the thread-hop code. Before removing single-step
8742 breakpoints, check whether the thread hit a single-step breakpoint
8743 of another thread. If it did, the trap is not a random signal.
8744 (switch_back_to_stepped_thread): If the event thread hit a
8745 single-step breakpoint, unblock it before switching to the
8746 stepping thread. Handle the case of the stepped thread having
8747 advanced already.
8748 (keep_going): Handle the case of the current thread moving past a
8749 single-step breakpoint.
8750
8751 2014-03-20 Pedro Alves <palves@redhat.com>
8752
8753 PR breakpoints/7143
8754 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
8755 are being stepped over.
8756 (breakpoint_address_match): Make extern.
8757 * breakpoint.h (breakpoint_address_match): New declaration.
8758 * inferior.h (stepping_past_instruction_at): New declaration.
8759 * infrun.c (struct step_over_info): New type.
8760 (step_over_info): New global.
8761 (set_step_over_info, clear_step_over_info)
8762 (stepping_past_instruction_at): New functions.
8763 (handle_inferior_event): Clear the step-over info when
8764 trap_expected is cleared.
8765 (resume): Remove now stale comment.
8766 (clear_proceed_status): Clear step-over info.
8767 (proceed): Adjust step-over handling to set or clear the step-over
8768 info instead of removing all breakpoints.
8769 (handle_signal_stop): When setting up a thread-hop, don't remove
8770 breakpoints here.
8771 (stop_stepping): Clear step-over info.
8772 (keep_going): Adjust step-over handling to set or clear step-over
8773 info and then always inserting breakpoints, instead of removing
8774 all breakpoints when stepping over one.
8775
8776 2014-03-20 Pedro Alves <palves@redhat.com>
8777
8778 * infrun.c (previous_inferior_ptid): Adjust comment.
8779 (deferred_step_ptid): Delete.
8780 (infrun_thread_ptid_changed, prepare_to_proceed)
8781 (init_wait_for_inferior): Adjust.
8782 (handle_signal_stop): Delete deferred_step_ptid handling.
8783
8784 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8785
8786 PR gdb/15358
8787 * defs.h (sync_quit_force_run): New declaration.
8788 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
8789 * event-top.c (async_sigterm_handler): New declaration.
8790 (async_sigterm_token): New variable.
8791 (async_init_signals): Create also async_sigterm_token.
8792 (async_sigterm_handler): New function.
8793 (sync_quit_force_run): New variable.
8794 (handle_sigterm): Replace quit_force call by other calls.
8795 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
8796
8797 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
8798
8799 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
8800 offset into SPE pseudo registers.
8801
8802 2014-03-18 Pedro Alves <palves@redhat.com>
8803
8804 PR gdb/13860
8805 * inferior.h (print_stop_event): Declare.
8806 * infrun.c (print_stop_event): New, factored out from ...
8807 (normal_stop): ... this.
8808 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
8809 of bpstat_print/print_stack_frame.
8810
8811 2014-03-17 Tom Tromey <tromey@redhat.com>
8812
8813 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
8814
8815 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
8816
8817 * ada-lang.c (decode_constrained_packed_array): Perform a
8818 minimal coercion for reference with coerce_ref instead of
8819 ada_coerce_ref.
8820
8821 2014-03-17 Tristan Gingold <gingold@adacore.com>
8822
8823 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
8824 (darwin_solib_create_inferior_hook): Emit a warning if version
8825 is unhandled.
8826
8827 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
8828
8829 * python/py-value.c (get_field_flag): Cast flag_name argument to
8830 PyObject_GetAttrString to support Python 2.4.
8831
8832 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8833
8834 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
8835 (Global Maintainers): Remove Jan Kratochvil.
8836
8837 2014-03-14 Pedro Alves <palves@redhat.com>
8838
8839 * inferior.h (terminal_ours_for_output): Rename to ...
8840 (child_terminal_ours_for_output): ... this.
8841 (terminal_save_ours): Rename to ...
8842 (child_terminal_save_ours): ... this.
8843 (terminal_ours): Rename to ...
8844 (child_terminal_ours): ... this.
8845 (terminal_inferior): Rename to ...
8846 (child_terminal_inferior): ... this.
8847 (terminal_init_inferior): Rename to ...
8848 (child_terminal_init_inferior): ... this.
8849 (terminal_init_inferior_with_pgrp): Rename to ...
8850 (child_terminal_init_inferior_with_pgrp): ... this.
8851 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
8852 (child_terminal_init_with_pgrp): ... this.
8853 (terminal_save_ours): Rename to ...
8854 (child_terminal_save_ours): ... this.
8855 (terminal_init_inferior): Rename to ...
8856 (child_terminal_init): ... this. Adjust.
8857 (terminal_inferior): Rename to ...
8858 (child_terminal_inferior): ... this.
8859 (terminal_ours_for_output): Rename to ...
8860 (child_terminal_ours_for_output): ... this. Adjust.
8861 (terminal_ours): Rename to ...
8862 (child_terminal_ours): ... this.
8863 (terminal_ours_1): Rename to ...
8864 (child_terminal_ours_1): ... this. Adjust.
8865 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
8866 * windows-nat.c (do_initial_windows_stuff): Adjust.
8867 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
8868 (gnu_terminal_init): ... this. Adjust.
8869 (gnu_target): Adjust.
8870 * inf-child.c (inf_child_target): Adjust.
8871
8872 2014-03-13 Doug Evans <xdje42@gmail.com>
8873
8874 PR guile/16612
8875 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
8876 new eq?-hashtab.
8877
8878 2014-03-13 Doug Evans <xdje42@gmail.com>
8879
8880 * value.c (record_latest_value): Call release_value_or_incref
8881 instead of release_value.
8882
8883 2014-03-13 Pedro Alves <palves@redhat.com>
8884
8885 * procfs.c (procfs_target): Don't override to_shortname,
8886 to_longname or to_doc.
8887
8888 2014-03-13 Pedro Alves <palves@redhat.com>
8889
8890 * inf-child.c (inf_child_open, inf_child_target): Don't mention
8891 Unix in user visible strings.
8892
8893 2014-03-12 Stan Shebs <stan@codesourcery.com>
8894
8895 * gdbtypes.h: Annotate comments for Doxygen, add a page
8896 block comment with some general info.
8897
8898 2014-03-12 Pedro Alves <palves@redhat.com>
8899
8900 * infcmd.c (prepare_execution_command): New function, factored out
8901 from several execution commands.
8902 (run_command_1, continue_command, step_1, jump_command)
8903 (signal_command, until_command, advance_command, finish_command)
8904 (attach_command): Use prepare_execution_command.
8905
8906 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
8907
8908 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
8909 (MAX_BPTS): Define.
8910 (MAX_WPTS): Define.
8911 (struct arm_linux_thread_points): Removed.
8912 (struct arm_linux_process_info): New.
8913 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
8914 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
8915 (arm_linux_find_breakpoints_by_tid): Removed.
8916 (struct arch_lwp_info): New.
8917 (arm_linux_find_process_pid): New functions.
8918 (arm_linux_add_process): New functions.
8919 (arm_linux_process_info_get): New functions.
8920 (arm_linux_forget_process): New function.
8921 (arm_linux_get_debug_reg_state): New function.
8922 (struct update_registers_data): New.
8923 (update_registers_callback): New function.
8924 (arm_linux_insert_hw_breakpoint1): Updated.
8925 (arm_linux_remove_hw_breakpoint1): Updated.
8926 (arm_linux_insert_hw_breakpoint): Updated.
8927 (arm_linux_remove_hw_breakpoint): Updated.
8928 (arm_linux_insert_watchpoint): Updated.
8929 (arm_linux_remove_watchpoint): Updated.
8930 (arm_linux_new_thread): Updated.
8931 (arm_linux_prepare_to_resume): New function.
8932 (arm_linux_new_fork): New function.
8933 (_initialize_arm_linux_nat): Updated.
8934
8935 2014-03-12 Pedro Alves <palves@redhat.com>
8936
8937 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
8938
8939 2014-03-12 Tom Tromey <tromey@redhat.com>
8940
8941 * inf-child.c (return_zero): New function.
8942 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
8943 * aix-thread.c (aix_thread_inferior_created): New function.
8944 (aix_thread_attach): Remove.
8945 (init_aix_thread_ops): Don't set to_attach.
8946 (_initialize_aix_thread): Register inferior_created observer.
8947 * corelow.c (init_core_ops): Don't set to_attach or
8948 to_create_inferior.
8949 * exec.c (init_exec_ops): Don't set to_attach or
8950 to_create_inferior.
8951 * infcmd.c (run_command_1): Use find_run_target. Make direct
8952 target calls.
8953 (attach_command): Use find_attach_target. Make direct target
8954 calls.
8955 * record-btrace.c (init_record_btrace_ops): Don't set
8956 to_create_inferior.
8957 * record-full.c (record_full_can_async_p, record_full_is_async_p):
8958 Remove.
8959 (init_record_full_ops, init_record_full_core_ops): Update. Don't
8960 set to_create_inferior.
8961 * target.c (complete_target_initialization): Add assertion.
8962 (target_create_inferior): Remove.
8963 (find_default_attach, find_default_create_inferior): Remove.
8964 (find_attach_target, find_run_target): New functions.
8965 (find_default_is_async_p, find_default_can_async_p)
8966 (target_supports_non_stop, target_attach): Remove.
8967 (init_dummy_target): Don't set to_create_inferior or
8968 to_supports_non_stop.
8969 * target.h (struct target_ops) <to_attach>: Add comment. Remove
8970 TARGET_DEFAULT_FUNC.
8971 <to_create_inferior>: Add comment.
8972 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
8973 TARGET_DEFAULT_RETURN.
8974 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
8975 (find_attach_target, find_run_target): Declare.
8976 (target_create_inferior): Remove.
8977 (target_has_execution_1): Update comment.
8978 (target_supports_non_stop): Remove.
8979 * target-delegates.c: Rebuild.
8980
8981 2014-03-12 Pedro Alves <palves@redhat.com>
8982
8983 * inf-child.h: Update comment to not mention Unix.
8984
8985 2014-03-12 Pedro Alves <palves@redhat.com>
8986
8987 * inf-child.c: Update top comment to not mention Unix. Add
8988 generic comment describing how this target is meant to be used.
8989 (inf_child_post_attach, inf_child_post_startup_inferior)
8990 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
8991 Unix in comment.
8992
8993 2014-03-12 Pedro Alves <palves@redhat.com>
8994
8995 * nto-procfs.c: Include inf-child.h.
8996 (procfs_ops): Delete global.
8997 (procfs_can_run): Delete method.
8998 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
8999 target pointer instead of referencing procfs_ops.
9000 (procfs_prepare_to_store): Delete.
9001 (init_procfs_ops): Delete function.
9002 (procfs_target): New function, based on init_procfs_ops, but
9003 inherit inf_child_target.
9004 (_initialize_procfs): Use procfs_target.
9005
9006 2014-03-12 Pedro Alves <palves@redhat.com>
9007
9008 * windows-nat.c: Include inf-child.h.
9009 (windows_ops): Delete global.
9010 (windows_open, windows_prepare_to_store, windows_can_run): Delete
9011 methods.
9012 (init_windows_ops): Delete function.
9013 (windows_target): New function, based on init_windows_ops, but
9014 inherit inf_child_target.
9015 (_initialize_windows_nat): Use windows_target. Install x86
9016 specific target methods here.
9017
9018 2014-03-10 Doug Evans <xdje42@gmail.com>
9019
9020 * guile/guile.c (call_initialize_gdb_module): New function.
9021 (initialize_guile): Replace call to scm_init_guile with call to
9022 scm_with_guile.
9023
9024 2014-03-10 Joel Brobecker <brobecker@adacore.com>
9025
9026 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
9027 in call to TYPE_CODE macro.
9028
9029 2014-03-10 Jerome Guitton <guitton@adacore.com>
9030
9031 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
9032 Resolve tagged types to full view.
9033
9034 2014-03-10 Hui Zhu <hui@codesourcery.com>
9035
9036 * target.h (target_insert_breakpoint): Remove "hardware" from its
9037 comments.
9038
9039 2014-03-07 Doug Evans <dje@google.com>
9040
9041 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
9042
9043 2014-03-07 Doug Evans <dje@google.com>
9044
9045 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
9046 Remove unused local comp_dir_attr. Assert exactly one of
9047 stub_comp_unit_die, stub_comp_dir is non-NULL.
9048
9049 2014-03-07 Joel Brobecker <brobecker@adacore.com>
9050
9051 * target.h (complete_target_initialization, add_target):
9052 Add comment.
9053
9054 2014-03-07 Pedro Alves <palves@redhat.com>
9055
9056 * go32-nat.c: Include inf-child.h.
9057 (go32_ops): Delete global.
9058 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
9059 Delete methods.
9060 (go32_create_inferior): Push the passed in target pointer instead
9061 of referencing go32_ops.
9062 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
9063 (go32_target): New function, based on init_go32_ops, but inherit
9064 inf_child_target.
9065 (_initialize_go32_nat): Use go32_target. Move parts of
9066 init_go32_ops here.
9067
9068 2014-03-06 Joel Brobecker <brobecker@adacore.com>
9069
9070 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
9071 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
9072 SYMBOL_VALUE_ADDRESS.
9073 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
9074
9075 2014-03-06 Yao Qi <yao@codesourcery.com>
9076
9077 * breakpoint.c (get_tracepoint_by_number): Remove argument
9078 optional_p. All callers updated. Adjust comments. Update
9079 output message.
9080 * breakpoint.h (get_tracepoint_by_number): Update declaration.
9081
9082 2014-03-06 Yao Qi <yao@codesourcery.com>
9083
9084 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
9085 early if get_number returns zero. Use 'p' instead of 'args'.
9086
9087 2014-03-06 Yao Qi <yao@codesourcery.com>
9088
9089 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
9090 message.
9091
9092 2014-03-06 Yao Qi <yao@codesourcery.com>
9093
9094 PR breakpoints/16508
9095 * tracepoint.c (check_trace_running): New function.
9096 (trace_find_command): Move code to check_trace_running and
9097 call check_trace_running.
9098 (trace_find_pc_command): Likewise.
9099 (trace_find_tracepoint_command): Likewise.
9100 (trace_find_line_command): Likewise.
9101 (trace_find_range_command): Likewise.
9102 * tracepoint.h (check_trace_running): Likewise.
9103 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
9104
9105 2014-03-06 Yao Qi <yao@codesourcery.com>
9106
9107 * target.h (struct target_ops) <to_traceframe_info>: Use
9108 TARGET_DEFAULT_NORETURN (tcomplain ()).
9109 * target-delegates.c: Regenerated.
9110
9111 2014-03-05 Pedro Alves <palves@redhat.com>
9112
9113 PR gdb/16575
9114 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
9115 void. Update comment.
9116 (dcache_xfer_memory): Delete.
9117 (dcache_read_memory_partial): New, based on the read bits of
9118 dcache_xfer_memory.
9119 (dcache_update): Add status parameter. Use ULONGEST for len, and
9120 adjust. Discard cache lines if the reason for the update was
9121 error.
9122 * dcache.h (dcache_xfer_memory): Delete declaration.
9123 (dcache_read_memory_partial): New declaration.
9124 (dcache_update): Update prototype.
9125 * target.c (raw_memory_xfer_partial): Update the dcache here.
9126 (memory_xfer_partial_1): Don't handle dcache writes here.
9127
9128 2014-03-05 Mike Frysinger <vapier@gentoo.org>
9129
9130 * remote-sim.c (gdbsim_load): Add const to prog.
9131
9132 2014-03-03 Tom Tromey <tromey@redhat.com>
9133
9134 * elfread.c (probe_key): Change to bfd_data.
9135 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
9136 now per-BFD, not per-objfile.
9137 * stap-probe.c (stap_probe_destroy): Update comment.
9138 (handle_stap_probe): Allocate on the per-BFD obstack.
9139
9140 2014-03-03 Tom Tromey <tromey@redhat.com>
9141
9142 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
9143 * breakpoint.c (create_longjmp_master_breakpoint): Use
9144 get_probe_address.
9145 (add_location_to_breakpoint, bkpt_probe_insert_location)
9146 (bkpt_probe_remove_location): Update.
9147 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
9148 * elfread.c (elf_symfile_relocate_probe): Remove.
9149 (elf_probe_fns): Update.
9150 (insert_exception_resume_breakpoint): Change type of "probe"
9151 parameter to bound_probe.
9152 (check_exception_resume): Update.
9153 * objfiles.c (objfile_relocate1): Don't relocate probes.
9154 * probe.c (bound_probe_s): New typedef.
9155 (parse_probes): Use get_probe_address. Set sal's objfile.
9156 (find_probe_by_pc): Return a bound_probe.
9157 (collect_probes): Return a VEC(bound_probe_s).
9158 (compare_probes): Update.
9159 (gen_ui_out_table_header_info): Change type of "probes"
9160 parameter. Update.
9161 (info_probes_for_ops): Update.
9162 (get_probe_address): New function.
9163 (probe_safe_evaluate_at_pc): Update.
9164 * probe.h (struct probe_ops) <get_probe_address>: New field.
9165 <set_semaphore, clear_semaphore>: Add objfile parameter.
9166 (struct probe) <objfile>: Remove field.
9167 <arch>: New field.
9168 <address>: Update comment.
9169 (struct bound_probe): New.
9170 (find_probe_by_pc): Return a bound_probe.
9171 (get_probe_address): Declare.
9172 * solib-svr4.c (struct probe_and_action) <address>: New field.
9173 (hash_probe_and_action, equal_probe_and_action): Update.
9174 (register_solib_event_probe): Add address parameter.
9175 (solib_event_probe_at): Update.
9176 (svr4_create_probe_breakpoints): Add objfile parameter. Use
9177 get_probe_address.
9178 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
9179 (stap_get_probe_address): New function.
9180 (stap_can_evaluate_probe_arguments, compute_probe_arg)
9181 (compile_probe_arg): Update.
9182 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
9183 address.
9184 (handle_stap_probe): Don't relocate the probe.
9185 (stap_relocate): Remove.
9186 (stap_gen_info_probes_table_values): Update.
9187 (stap_probe_ops): Remove stap_relocate.
9188 * symfile-debug.c (debug_sym_relocate_probe): Remove.
9189 (debug_sym_probe_fns): Update.
9190 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
9191 * symtab.c (init_sal): Use memset.
9192 * symtab.h (struct symtab_and_line) <objfile>: New field.
9193 * tracepoint.c (start_tracing, stop_tracing): Update.
9194
9195 2014-03-03 Tom Tromey <tromey@redhat.com>
9196
9197 * probe.h (parse_probes, find_probe_by_pc)
9198 (find_probes_in_objfile): Fix comments.
9199
9200 2014-03-02 Doug Evans <xdje42@gmail.com>
9201
9202 * infrun.c (handle_signal_stop): Replace test for
9203 TARGET_WAITKIND_STOPPED with an assert.
9204
9205 2014-03-02 Doug Evans <xdje42@gmail.com>
9206
9207 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
9208
9209 2014-03-02 Doug Evans <xdje42@gmail.com>
9210
9211 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
9212
9213 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9214
9215 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
9216
9217 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9218
9219 * i386obsd-nat.c: Include "obsd-nat.h".
9220 (_initialize_i386obsd_nat): Call obsd_add_target instead of
9221 add_target.
9222 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
9223
9224 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9225
9226 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
9227
9228 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9229
9230 * mips64obsd-nat.c: Include "obsd-nath".
9231 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
9232 add_target
9233 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9234
9235 2014-03-01 Mark Kettenis <kettenis@gnu.org>
9236
9237 * amd64obsd-nat.c: Include "obsd-nat,h.
9238 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
9239 add_target.
9240 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9241
9242 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
9243
9244 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
9245 (find_overload_match): Update call to find_oload_champ.
9246 (find_oload_champ_namespace_loop): Likewise
9247
9248 2014-02-28 Mark Kettenis <kettenis@gnu.org>
9249
9250 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
9251
9252 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
9253 * config/sparc/obsd64.mh: New file.
9254 * sparc64obsd-nat.c: New file.
9255
9256 * obsd-nat.h: New file.
9257 * obsd-nat.c: New file.
9258 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
9259 (ALLDEPFILES): Add obsd-nat.c.
9260
9261 2014-02-28 Tom Tromey <tromey@redhat.com>
9262
9263 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
9264 * cli-out.h (cli_ui_out_impl): Now const.
9265 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
9266 * ui-out.c (struct ui_out) <impl>: Now const.
9267 (default_ui_out_impl): Now const.
9268 (ui_out_new): Make 'impl' parameter const.
9269 * ui-out.h (ui_out_new): Update.
9270
9271 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9272
9273 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
9274
9275 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9276
9277 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
9278
9279 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9280
9281 Additional PR 8882 fix.
9282 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
9283
9284 2014-02-27 Pedro Alves <palves@redhat.com>
9285
9286 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
9287 isn't set.
9288
9289 2014-02-27 Pedro Alves <palves@redhat.com>
9290
9291 PR 12702
9292 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
9293 * nat/linux-waitpid.c: Include string.h.
9294 (status_to_str): Moved here and made extern.
9295 * nat/linux-waitpid.h (status_to_str): New declaration.
9296
9297 2014-02-27 Hui Zhu <hui@codesourcery.com>
9298
9299 PR 12702
9300 * infrun.c (ptid_match): Move ...
9301 * common/ptid.c (ptid_match): ... here.
9302 * inferior.h (ptid_match): Move ...
9303 * common/ptid.h (ptid_match): ... here.
9304
9305 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9306
9307 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
9308 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
9309 gdb_target_obs.
9310
9311 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9312
9313 * obsd-tdep.c (obsd_auxv_parse): New function.
9314 (obsd_init_abi): Set auxv_parse.
9315
9316 * gdbarch.sh (auxv_parse): New.
9317 * gdbarch.h: Regenerated.
9318 * gdbarch.c: Regenerated.
9319 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
9320
9321 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9322
9323 * guile/scm-value.c (gdbscm_history_append_x): New function.
9324 (value_functions): Add it.
9325
9326 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9327
9328 * dwarf2read.c (attr_value_as_address): New function.
9329 (dwarf2_find_base_address, read_call_site_scope): Use
9330 attr_value_as_address in place of DW_ADDR.
9331 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
9332 the low and high addresses. Slight rework of the handling
9333 of the high pc being a constant form, and limit it to
9334 DWARF verson 4 or higher.
9335 (dwarf2_record_block_ranges): Likewise.
9336 (read_partial_die): Likewise.
9337 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
9338
9339 2014-02-26 Tom Tromey <tromey@redhat.com>
9340
9341 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
9342
9343 2014-02-26 Tom Tromey <tromey@redhat.com>
9344
9345 * elfread.c (elf_read_minimal_symbols): Return early if
9346 minimal symbols have already been read. Add "ei" parameter.
9347 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
9348 * minsyms.c (prim_record_minimal_symbol_full): Update.
9349 * objfiles.h (struct objstats) <n_minsyms>: Move...
9350 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
9351 * symmisc.c (print_objfile_statistics): Update.
9352
9353 2014-02-26 Tom Tromey <tromey@redhat.com>
9354
9355 * elfread.c (elf_read_minimal_symbols): New function, from
9356 elf_symfile_read.
9357 (elf_symfile_read): Call it.
9358
9359 2014-02-26 Tom Tromey <tromey@redhat.com>
9360
9361 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
9362 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
9363 (lookup_minimal_symbol_solib_trampoline)
9364 (lookup_minimal_symbol_by_pc_section_1)
9365 (lookup_minimal_symbol_and_objfile): Update.
9366 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
9367 Don't allocate a minimal symbol if minsyms have already been read.
9368 (build_minimal_symbol_hash_tables): Update.
9369 (install_minimal_symbols): Do nothing if minsyms already read.
9370 Use the per-BFD obstack.
9371 (terminate_minimal_symbol_table): Use the per-BFD obstack.
9372 * objfiles.c (allocate_objfile): Call
9373 terminate_minimal_symbol_table later.
9374 (have_minimal_symbols): Update.
9375 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
9376 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
9377 Move from struct objfile.
9378 <minsyms_read>: New field.
9379 (struct objfile) <msymbols, minimal_symbol_count,
9380 msymbol_hash, msymbol_demangled_hash>: Move.
9381 (ALL_OBJFILE_MSYMBOLS): Update.
9382 * symfile.c (read_symbols): Set minsyms_read.
9383 (reread_symbols): Update.
9384 * symmisc.c (dump_objfile, dump_msymbols): Update.
9385
9386 2014-02-26 Tom Tromey <tromey@redhat.com>
9387
9388 * minsyms.c (msymbols_sort): Remove.
9389 * minsyms.h (msymbols_sort): Remove.
9390 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
9391 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
9392 * elfread.c (elf_symtab_read): Don't add section offsets.
9393 * xcoffread.c (record_minimal_symbol): Don't add section offset
9394 to minimal symbol address.
9395 * somread.c (text_offset, data_offset): Remove.
9396 (som_symtab_read): Don't add section offsets to minimal symbol
9397 addresses.
9398 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
9399 Don't add section offsets to minimal symbols.
9400 * coffread.c (coff_symtab_read): Don't add section offsets
9401 to minimal symbol addresses.
9402 * machoread.c (macho_symtab_add_minsym): Don't add section offset
9403 to minimal symbol addresses.
9404 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
9405 section offset to minimal symbol addresses.
9406 * mdebugread.c (parse_partial_symbols): Don't add section
9407 offset to minimal symbol addresses.
9408 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
9409 offset to minimal symbol addresses.
9410
9411 2014-02-26 Tom Tromey <tromey@redhat.com>
9412
9413 * ada-lang.c (ada_main_name): Update.
9414 (ada_add_standard_exceptions): Update.
9415 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9416 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9417 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
9418 * auxv.c (ld_so_xfer_auxv): Update.
9419 * avr-tdep.c (avr_scan_prologue): Update.
9420 * ax-gdb.c (gen_var_ref): Update.
9421 * blockframe.c (get_pc_function_start)
9422 (find_pc_partial_function_gnu_ifunc): Update.
9423 * breakpoint.c (create_overlay_event_breakpoint)
9424 (create_longjmp_master_breakpoint)
9425 (create_std_terminate_master_breakpoint)
9426 (create_exception_master_breakpoint): Update.
9427 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9428 * c-valprint.c (c_val_print): Update.
9429 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9430 * common/agent.c (agent_look_up_symbols): Update.
9431 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9432 * dwarf2loc.c (call_site_to_target_addr): Update.
9433 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
9434 * elfread.c (elf_gnu_ifunc_record_cache)
9435 (elf_gnu_ifunc_resolve_by_got): Update.
9436 * findvar.c (default_read_var_value): Update.
9437 * frame.c (inside_main_func): Update.
9438 * frv-tdep.c (frv_frame_this_id): Update.
9439 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9440 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9441 Update.
9442 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
9443 (hppa_hpux_find_dummy_bpaddr): Update.
9444 * hppa-tdep.c (hppa_symbol_address): Update.
9445 * infcmd.c (until_next_command): Update.
9446 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
9447 Update.
9448 * linespec.c (minsym_found, add_minsym): Update.
9449 * linux-nat.c (get_signo): Update.
9450 * linux-thread-db.c (inferior_has_bug): Update.
9451 * m32c-tdep.c (m32c_return_value)
9452 (m32c_m16c_address_to_pointer): Update.
9453 * m32r-tdep.c (m32r_frame_this_id): Update.
9454 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9455 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9456 * maint.c (maintenance_translate_address): Update.
9457 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
9458 (frob_address): New function.
9459 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
9460 frob_address. Rename parameter to "pc_in".
9461 (compare_minimal_symbols, compact_minimal_symbols): Use raw
9462 addresses.
9463 (find_solib_trampoline_target, minimal_symbol_upper_bound):
9464 Update.
9465 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9466 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
9467 * objc-lang.c (find_objc_msgsend): Update.
9468 * objfiles.c (objfile_relocate1): Update.
9469 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9470 * p-valprint.c (pascal_val_print): Update.
9471 * parse.c (write_exp_msymbol): Update.
9472 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
9473 (ppc_elfv2_skip_entrypoint): Update.
9474 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9475 * printcmd.c (build_address_symbolic, msym_info)
9476 (address_info): Update.
9477 * proc-service.c (ps_pglobal_lookup): Update.
9478 * psymtab.c (find_pc_sect_psymtab_closer)
9479 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
9480 Change msymbol parameter to bound_minimal_symbol.
9481 * ravenscar-thread.c (get_running_thread_id): Update.
9482 * remote.c (remote_check_symbols): Update.
9483 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
9484 address.
9485 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9486 * solib-dsbt.c (lm_base): Update.
9487 * solib-frv.c (lm_base, main_got): Update.
9488 * solib-irix.c (locate_base): Update.
9489 * solib-som.c (som_solib_create_inferior_hook)
9490 (link_map_start): Update.
9491 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
9492 * solib-svr4.c (elf_locate_base, enable_break): Update.
9493 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9494 (flush_ea_cache): Update.
9495 * stabsread.c (define_symbol, scan_file_globals): Update.
9496 * stack.c (find_frame_funname): Update.
9497 * symfile-debug.c (debug_qf_expand_symtabs_matching)
9498 (debug_qf_find_pc_sect_symtab): Update.
9499 * symfile.c (simple_read_overlay_table)
9500 (simple_overlay_update): Update.
9501 * symfile.h (struct quick_symbol_functions)
9502 <find_pc_sect_symtab>: Change type of msymbol to
9503 bound_minimal_symbol.
9504 * symmisc.c (dump_msymbols): Update.
9505 * symtab.c (find_pc_sect_symtab_via_partial)
9506 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
9507 (search_symbols, print_msymbol_info): Update.
9508 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
9509 (MSYMBOL_VALUE_ADDRESS): Redefine.
9510 (BMSYMBOL_VALUE_ADDRESS): New macro.
9511 * tracepoint.c (scope_info): Update.
9512 * tui/tui-disasm.c (tui_find_disassembly_address)
9513 (tui_get_begin_asm_address): Update.
9514 * valops.c (find_function_in_inferior): Update.
9515 * value.c (value_static_field, value_fn_field): Update.
9516
9517 2014-02-26 Tom Tromey <tromey@redhat.com>
9518
9519 * ada-lang.c (ada_update_initial_language): Update.
9520 (ada_main_name, ada_has_this_exception_support): Update.
9521 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9522 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9523 * arm-tdep.c (arm_skip_stub): Update.
9524 * auxv.c (ld_so_xfer_auxv): Update.
9525 * avr-tdep.c (avr_scan_prologue): Update.
9526 * ax-gdb.c (gen_var_ref): Update.
9527 * breakpoint.c (struct breakpoint_objfile_data)
9528 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
9529 type to bound_minimal_symbol.
9530 (create_overlay_event_breakpoint)
9531 (create_longjmp_master_breakpoint)
9532 (create_std_terminate_master_breakpoint)
9533 (create_exception_master_breakpoint): Update.
9534 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9535 * c-exp.y (classify_name): Update.
9536 * coffread.c (coff_symfile_read): Update.
9537 * common/agent.c (agent_look_up_symbols): Update.
9538 * d-lang.c (d_main_name): Update.
9539 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9540 * dec-thread.c (enable_dec_thread): Update.
9541 * dwarf2loc.c (call_site_to_target_addr): Update.
9542 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
9543 * eval.c (evaluate_subexp_standard): Update.
9544 * findvar.c (struct minsym_lookup_data) <result>: Change type
9545 to bound_minimal_symbol.
9546 <objfile>: Remove.
9547 (minsym_lookup_iterator_cb, default_read_var_value): Update.
9548 * frame.c (inside_main_func): Update.
9549 * frv-tdep.c (frv_frame_this_id): Update.
9550 * gcore.c (call_target_sbrk): Update.
9551 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9552 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9553 Update.
9554 * go-lang.c (go_main_name): Update.
9555 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
9556 (hppa_hpux_find_import_stub_for_addr): Update.
9557 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
9558 Update. Change return type.
9559 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
9560 type.
9561 * jit.c (jit_breakpoint_re_set_internal): Update.
9562 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
9563 Update.
9564 * linux-nat.c (get_signo): Update.
9565 * linux-thread-db.c (inferior_has_bug): Update
9566 * m32c-tdep.c (m32c_return_value)
9567 (m32c_m16c_address_to_pointer): Update.
9568 * m32r-tdep.c (m32r_frame_this_id): Update.
9569 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9570 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9571 * minsyms.c (lookup_minimal_symbol_internal): Rename to
9572 lookup_minimal_symbol. Change return type.
9573 (lookup_minimal_symbol): Remove.
9574 (lookup_bound_minimal_symbol): Update.
9575 (lookup_minimal_symbol_text): Change return type.
9576 (lookup_minimal_symbol_solib_trampoline): Change return type.
9577 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
9578 (lookup_minimal_symbol_solib_trampoline): Change return type.
9579 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9580 * objc-lang.c (lookup_objc_class, lookup_child_selector)
9581 (value_nsstring, find_imps): Update.
9582 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9583 * p-lang.c (pascal_main_name): Update.
9584 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
9585 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9586 * proc-service.c (ps_pglobal_lookup): Update.
9587 * ravenscar-thread.c (get_running_thread_msymbol): Change
9588 return type.
9589 (has_ravenscar_runtime, get_running_thread_id): Update.
9590 * remote.c (remote_check_symbols): Update.
9591 * sol-thread.c (ps_pglobal_lookup): Update.
9592 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9593 * solib-dsbt.c (lm_base): Update.
9594 * solib-frv.c (lm_base, frv_relocate_section_addresses):
9595 Update.
9596 * solib-irix.c (locate_base): Update.
9597 * solib-som.c (som_solib_create_inferior_hook)
9598 (som_solib_desire_dynamic_linker_symbols, link_map_start):
9599 Update.
9600 * solib-spu.c (spu_enable_break): Update.
9601 * solib-svr4.c (elf_locate_base, enable_break): Update.
9602 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9603 (flush_ea_cache): Update.
9604 * stabsread.c (define_symbol): Update.
9605 * symfile.c (simple_read_overlay_table): Update.
9606 * symtab.c (find_pc_sect_line): Update.
9607 * tracepoint.c (scope_info): Update.
9608 * tui-disasm.c (tui_get_begin_asm_address): Update.
9609 * value.c (value_static_field): Update.
9610
9611 2014-02-26 Tom Tromey <tromey@redhat.com>
9612
9613 * minsyms.c (prim_record_minimal_symbol_full): Use
9614 SET_MSYMBOL_VALUE_ADDRESS.
9615 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
9616 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
9617 SET_MSYMBOL_VALUE_ADDRESS.
9618 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
9619 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
9620
9621 2014-02-26 Tom Tromey <tromey@redhat.com>
9622
9623 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
9624 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
9625 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
9626 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
9627 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
9628 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
9629 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
9630 * ada-lang.c (ada_main_name): Update.
9631 (ada_lookup_simple_minsym): Update.
9632 (ada_make_symbol_completion_list): Update.
9633 (ada_add_standard_exceptions): Update.
9634 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
9635 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9636 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
9637 * arm-tdep.c (skip_prologue_function): Update.
9638 (arm_skip_stack_protector, arm_skip_stub): Update.
9639 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
9640 (arm_wince_skip_main_prologue): Update.
9641 * auxv.c (ld_so_xfer_auxv): Update.
9642 * avr-tdep.c (avr_scan_prologue): Update.
9643 * ax-gdb.c (gen_var_ref): Update.
9644 * block.c (call_site_for_pc): Update.
9645 * blockframe.c (get_pc_function_start): Update.
9646 (find_pc_partial_function_gnu_ifunc): Update.
9647 * breakpoint.c (create_overlay_event_breakpoint): Update.
9648 (create_longjmp_master_breakpoint): Update.
9649 (create_std_terminate_master_breakpoint): Update.
9650 (create_exception_master_breakpoint): Update.
9651 (resolve_sal_pc): Update.
9652 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9653 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
9654 Update.
9655 * c-valprint.c (c_val_print): Update.
9656 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9657 * coffread.c (coff_symfile_read): Update.
9658 * common/agent.c (agent_look_up_symbols): Update.
9659 * dbxread.c (find_stab_function_addr): Update.
9660 (end_psymtab): Update.
9661 * dwarf2loc.c (call_site_to_target_addr): Update.
9662 (func_verify_no_selftailcall): Update.
9663 (tailcall_dump): Update.
9664 (call_site_find_chain_1): Update.
9665 (dwarf_expr_reg_to_entry_parameter): Update.
9666 * elfread.c (elf_gnu_ifunc_record_cache): Update.
9667 (elf_gnu_ifunc_resolve_by_got): Update.
9668 * f-valprint.c (info_common_command): Update.
9669 * findvar.c (read_var_value): Update.
9670 * frame.c (get_prev_frame_1): Update.
9671 (inside_main_func): Update.
9672 * frv-tdep.c (frv_skip_main_prologue): Update.
9673 (frv_frame_this_id): Update.
9674 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9675 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
9676 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
9677 (gnuv3_skip_trampoline): Update.
9678 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
9679 (hppa64_hpux_in_solib_call_trampoline): Update.
9680 (hppa_hpux_skip_trampoline_code): Update.
9681 (hppa64_hpux_search_dummy_call_sequence): Update.
9682 (hppa_hpux_find_import_stub_for_addr): Update.
9683 (hppa_hpux_find_dummy_bpaddr): Update.
9684 * hppa-tdep.c (hppa_symbol_address)
9685 (hppa_lookup_stub_minimal_symbol): Update.
9686 * i386-tdep.c (i386_skip_main_prologue): Update.
9687 (i386_pe_skip_trampoline_code): Update.
9688 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
9689 * infcall.c (get_function_name): Update.
9690 * infcmd.c (until_next_command): Update.
9691 * jit.c (jit_breakpoint_re_set_internal): Update.
9692 (jit_inferior_init): Update.
9693 * linespec.c (minsym_found): Update.
9694 (add_minsym): Update.
9695 * linux-fork.c (info_checkpoints_command): Update.
9696 * linux-nat.c (get_signo): Update.
9697 * linux-thread-db.c (inferior_has_bug): Update.
9698 * m32c-tdep.c (m32c_return_value): Update.
9699 (m32c_m16c_address_to_pointer): Update.
9700 (m32c_m16c_pointer_to_address): Update.
9701 * m32r-tdep.c (m32r_frame_this_id): Update.
9702 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9703 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9704 * maint.c (maintenance_translate_address): Update.
9705 * minsyms.c (add_minsym_to_hash_table): Update.
9706 (add_minsym_to_demangled_hash_table): Update.
9707 (msymbol_objfile): Update.
9708 (lookup_minimal_symbol): Update.
9709 (iterate_over_minimal_symbols): Update.
9710 (lookup_minimal_symbol_text): Update.
9711 (lookup_minimal_symbol_by_pc_name): Update.
9712 (lookup_minimal_symbol_solib_trampoline): Update.
9713 (lookup_minimal_symbol_by_pc_section_1): Update.
9714 (lookup_minimal_symbol_and_objfile): Update.
9715 (prim_record_minimal_symbol_full): Update.
9716 (compare_minimal_symbols): Update.
9717 (compact_minimal_symbols): Update.
9718 (build_minimal_symbol_hash_tables): Update.
9719 (install_minimal_symbols): Update.
9720 (terminate_minimal_symbol_table): Update.
9721 (find_solib_trampoline_target): Update.
9722 (minimal_symbol_upper_bound): Update.
9723 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9724 * mips-tdep.c (mips_stub_frame_sniffer): Update.
9725 (mips_skip_pic_trampoline_code): Update.
9726 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
9727 * objc-lang.c (selectors_info): Update.
9728 (classes_info): Update.
9729 (find_methods): Update.
9730 (find_imps): Update.
9731 (find_objc_msgsend): Update.
9732 * objfiles.c (objfile_relocate1): Update.
9733 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
9734 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9735 * p-valprint.c (pascal_val_print): Update.
9736 * parse.c (write_exp_msymbol): Update.
9737 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
9738 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
9739 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9740 * printcmd.c (build_address_symbolic): Update.
9741 (sym_info): Update.
9742 (address_info): Update.
9743 * proc-service.c (ps_pglobal_lookup): Update.
9744 * psymtab.c (find_pc_sect_psymtab_closer): Update.
9745 (find_pc_sect_psymtab): Update.
9746 * python/py-framefilter.c (py_print_frame): Update.
9747 * ravenscar-thread.c (get_running_thread_id): Update.
9748 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
9749 Update.
9750 * remote.c (remote_check_symbols): Update.
9751 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
9752 (rs6000_skip_trampoline_code): Update.
9753 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
9754 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9755 * solib-dsbt.c (lm_base): Update.
9756 * solib-frv.c (lm_base): Update.
9757 (main_got): Update.
9758 * solib-irix.c (locate_base): Update.
9759 * solib-som.c (som_solib_create_inferior_hook): Update.
9760 (som_solib_desire_dynamic_linker_symbols): Update.
9761 (link_map_start): Update.
9762 * solib-spu.c (spu_enable_break): Update.
9763 (ocl_enable_break): Update.
9764 * solib-svr4.c (elf_locate_base): Update.
9765 (enable_break): Update.
9766 * spu-tdep.c (spu_get_overlay_table): Update.
9767 (spu_catch_start): Update.
9768 (flush_ea_cache): Update.
9769 * stabsread.c (define_symbol): Update.
9770 (scan_file_globals): Update.
9771 * stack.c (find_frame_funname): Update.
9772 (frame_info): Update.
9773 * symfile.c (simple_read_overlay_table): Update.
9774 (simple_overlay_update): Update.
9775 * symmisc.c (dump_msymbols): Update.
9776 * symtab.c (fixup_section): Update.
9777 (find_pc_sect_line): Update.
9778 (skip_prologue_sal): Update.
9779 (search_symbols): Update.
9780 (print_msymbol_info): Update.
9781 (rbreak_command): Update.
9782 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
9783 (completion_list_objc_symbol): Update.
9784 (default_make_symbol_completion_list_break_on): Update.
9785 * tracepoint.c (scope_info): Update.
9786 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
9787 (tui_get_begin_asm_address): Update.
9788 * valops.c (find_function_in_inferior): Update.
9789 * value.c (value_static_field): Update.
9790 (value_fn_field): Update.
9791
9792 2014-02-26 Tom Tromey <tromey@redhat.com>
9793
9794 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
9795 bound minimal symbols. Move code that knows about minsym
9796 table layout...
9797 * minsyms.c (minimal_symbol_upper_bound): ... here. New
9798 function.
9799 * minsyms.h (minimal_symbol_upper_bound): Declare.
9800 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
9801 minimal_symbol_upper_bound.
9802
9803 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9804
9805 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
9806 Use the type's name if its basic type does not have a tag.
9807
9808 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9809
9810 * dwarf2read.c (read_subrange_type): Add comment.
9811
9812 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9813
9814 * dwarf2read.c (update_enumeration_type_from_children): New
9815 function, mostly extracted from process_structure_scope.
9816 (read_enumeration_type): Call update_enumeration_type_from_children.
9817 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
9818 and flag_flag_enum fields.
9819
9820 2014-02-26 Pedro Alves <palves@redhat.com>
9821
9822 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
9823 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
9824 to_xfer_partial method.
9825
9826 2014-02-26 Pedro Alves <palves@redhat.com>
9827
9828 * target.c (complete_target_initialization): Don't install
9829 default_xfer_partial as to_xfer_partial hook.
9830 (nomemory): Delete.
9831 (update_current_target): Don't INHERIT nor de_fault
9832 deprecated_xfer_memory. Delete de_fault macro.
9833 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
9834 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
9835 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
9836 field.
9837
9838 2014-02-26 Pedro Alves <palves@redhat.com>
9839
9840 * go32-nat.c (my_write_child): New function.
9841 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
9842 (go32_xfer_partial): New function.
9843 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
9844 Instead install a to_xfer_partial hook.
9845
9846 2014-02-26 Pedro Alves <palves@redhat.com>
9847
9848 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
9849 to_xfer_partial helper. Rewrite.
9850 (procfs_xfer_partial): New function.
9851 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
9852 Install a to_xfer_partial hook.
9853
9854 2014-02-26 Pedro Alves <palves@redhat.com>
9855
9856 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
9857 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
9858 (m32r_xfer_partial): New function.
9859 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
9860 Install a to_xfer_partial hook.
9861
9862 2014-02-26 Pedro Alves <palves@redhat.com>
9863
9864 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
9865 helper.
9866 (mips_xfer_partial): New function.
9867 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
9868 hook. Install a to_xfer_partial hook.
9869
9870 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9871
9872 * gdbtypes.h (create_array_type_with_stride): Add declaration.
9873 * gdbtypes.c (create_array_type_with_stride): New function,
9874 renaming create_array_type, but with an added parameter
9875 called "bit_stride".
9876 (create_array_type): Re-implement using
9877 create_array_type_with_stride.
9878 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
9879 and DW_AT_bit_stride attributes.
9880
9881 2014-02-26 Pedro Alves <palves@redhat.com>
9882
9883 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
9884 task-specific breakpoints.
9885
9886 2014-02-25 Pedro Alves <palves@redhat.com>
9887
9888 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
9889 handling of object == TARGET_OBJECT_UNWIND_TABLE.
9890
9891 2014-02-25 Stan Shebs <stan@codesourcery.com>
9892
9893 * defs.h: Annotate comments for Doxygen.
9894
9895 2014-02-25 Tom Tromey <tromey@redhat.com>
9896
9897 * target.h (target_ignore): Don't declare.
9898 * target.c (target_ignore): Remove.
9899
9900 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9901
9902 PR gdb/16626
9903 * auto-load.c (auto_load_objfile_script_1): Change filename to
9904 debugfile.
9905
9906 2014-02-25 Joel Brobecker <brobecker@adacore.com>
9907
9908 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
9909 documentation. Adjust prototype to match the target_ops
9910 to_xfer_partial method. Adjust implementation accordingly.
9911
9912 2014-02-25 Hui Zhu <hui@codesourcery.com>
9913
9914 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
9915 to_traceframe_info.
9916
9917 2014-02-25 Kevin Buettner <kevinb@redhat.com>
9918
9919 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
9920 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
9921 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
9922 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
9923 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
9924 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
9925 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
9926 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
9927 New constants.
9928 (rl78_register_type): Use a data pointer type for SP and
9929 new pseudo registers mentioned above. Use a 16 bit integer
9930 type for all other register pairs.
9931 (rl78_register_name, rl78_g10_register_name): Update for
9932 new pseudo registers.
9933 (rl78_pseudo_register_read): Likewise.
9934 (rl78_pseudo_register_write): Likewise.
9935 (rl78_dwarf_reg_to_regnum): Return register numbers representing
9936 to the newly added pseudo registers.
9937
9938 2014-02-24 Doug Evans <dje@google.com>
9939
9940 * value.c (record_latest_value): Fix comment.
9941 * printcmd.c (print_command_1): Remove code to handle -1 return from
9942 record_latest_value.
9943
9944 2014-02-24 Pedro Alves <palves@redhat.com>
9945
9946 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
9947 deprecated_xfer_memory hook.
9948 (procfs_xfer_partial): Call procfs_xfer_memory instead
9949 of the deprecated_xfer_memory target hook.
9950 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
9951 helper.
9952
9953 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
9954
9955 * windows-nat.c (windows_xfer_shared_libraries): Return
9956 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
9957 requested object is TARGET_OBJECT_LIBRARIES.
9958
9959 2014-02-24 Yao Qi <yao@codesourcery.com>
9960
9961 * target.h (enum target_xfer_status)
9962 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
9963 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
9964 explicitly. New.
9965 * corefile.c (memory_error_message): User updated.
9966 * exec.c (section_table_read_available_memory): Likewise.
9967 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9968 * target.c (target_xfer_status_to_string): Likewise.
9969 (raw_memory_xfer_partial): Likewise.
9970 (memory_xfer_partial_1, target_xfer_partial): Likewise.
9971 * valops.c (read_value_memory): Likewise.
9972 * exec.h: Update comments.
9973
9974 2014-02-24 Yao Qi <yao@codesourcery.com>
9975
9976 * target.c (target_xfer_status_to_string): Rename argument err
9977 to status.
9978 * target.h (target_xfer_status_to_string): Update declaration.
9979 Replace target_xfer_error_to_string with
9980 target_xfer_status_to_string in comment.
9981
9982 2014-02-24 Yao Qi <yao@codesourcery.com>
9983
9984 * mips-linux-nat.c (super_close): Update its type.
9985 (mips_linux_close): Pass 'self' to super_close.
9986
9987 2014-02-24 Yao Qi <yao@codesourcery.com>
9988
9989 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
9990 * corefile.c (read_memory): Adjusted.
9991 * target.c (target_write_with_progress): Adjusted.
9992
9993 2014-02-23 Yao Qi <yao@codesourcery.com>
9994
9995 Revert two patches:
9996
9997 2013-10-25 Yao Qi <yao@codesourcery.com>
9998
9999 * remote.c (remote_traceframe_info): Return early if
10000 traceframe is not selected.
10001
10002 2013-07-19 Yao Qi <yao@codesourcery.com>
10003
10004 * target.c (update_current_target): Change the default action
10005 of 'to_traceframe_info' from tcomplain to return_zero.
10006 * target.h (struct target_ops) <to_traceframe_info>: Add more
10007 comments.
10008
10009 2014-02-23 Yao Qi <yao@codesourcery.com>
10010
10011 * valops.c (read_value_memory): Rewrite it. Call
10012 target_xfer_partial in a loop.
10013 * exec.h (section_table_available_memory): Remove declaration.
10014 Move comments to ...
10015 * exec.c (section_table_available_memory): ... here. Make it
10016 static.
10017
10018 2014-02-23 Yao Qi <yao@codesourcery.com>
10019
10020 * exec.c (section_table_read_available_memory): New function.
10021 * exec.h (section_table_read_available_memory): Declare.
10022 * ctf.c (ctf_xfer_partial): Call
10023 section_table_read_available_memory.
10024 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10025
10026 2014-02-23 Yao Qi <yao@codesourcery.com>
10027
10028 * ctf.c (ctf_xfer_partial): Move code to ...
10029 * exec.c (exec_read_partial_read_only): ... it. New function.
10030 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10031 * tracefile.c: Include "exec.h".
10032 * exec.h (exec_read_partial_read_only): Declare.
10033
10034 2014-02-23 Yao Qi <yao@codesourcery.com>
10035
10036 * tracefile-tfile.c (tfile_has_all_memory): Remove.
10037 (tfile_has_memory): Remove.
10038 (init_tfile_ops): Don't set fields to_has_all_memory and
10039 to_has_memory of tfile_ops.
10040 * tracefile.c (tracefile_has_all_memory): New function.
10041 (tracefile_has_memory): New function.
10042 (init_tracefile_ops): Initialize fields to_has_all_memory and
10043 to_has_memory of 'ops'.
10044
10045 2014-02-23 Yao Qi <yao@codesourcery.com>
10046
10047 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
10048 (ctf_thread_alive, ctf_get_trace_status): Remove.
10049 (init_ctf_ops): Don't set some fields of ctf_ops. Call
10050 init_tracefile_ops.
10051 * tracefile-tfile.c (tfile_get_trace_status): Remove.
10052 (tfile_has_stack, tfile_has_registers): Remove.
10053 (tfile_thread_alive): Remove.
10054 (init_tfile_ops): Don't set some fields of tfile_ops. Call
10055 init_tracefile_ops.
10056 * tracefile.c (tracefile_has_stack): New function.
10057 (tracefile_has_registers): New function.
10058 (tracefile_thread_alive): New function.
10059 (tracefile_get_trace_status): New function.
10060 (init_tracefile_ops): New function.
10061 * tracefile.h (init_tracefile_ops): Declare.
10062
10063 2014-02-23 Yao Qi <yao@codesourcery.com>
10064
10065 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
10066 (O_LARGEFILE): Likewise.
10067 (tfile_ops): Likewise.
10068 (TRACE_HEADER_SIZE): Likewise.
10069 (trace_fd, trace_frames_offset, cur_offset): Likewise.
10070 (cur_data_size): Likewise.
10071 (tfile_read, tfile_open, tfile_interp_line): Likewise.
10072 (tfile_close, tfile_files_info): Likewise.
10073 (tfile_get_trace_status): Likewise.
10074 (tfile_get_tracepoint_status): Likewise.
10075 (tfile_get_traceframe_address): Likewise.
10076 (tfile_trace_find, match_blocktype): Likewise.
10077 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
10078 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
10079 (tfile_get_trace_state_variable_value): Likewise.
10080 (tfile_has_all_memory, tfile_has_memory): Likewise.
10081 (tfile_has_stack, tfile_has_registers): Likewise.
10082 (tfile_thread_alive, build_traceframe_info): Likewise.
10083 (tfile_traceframe_info, init_tfile_ops): Likewise.
10084 (_initialize_tracepoint): Don't call init_tfile_ops
10085 and add_target_with_completer.
10086 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
10087 exec.h, completer.h and filenames.h.
10088 (_initialize_tracefile_tfile): New function.
10089
10090 2014-02-23 Yao Qi <yao@codesourcery.com>
10091
10092 * Makefile.in (REMOTE_OBS): Append tracefile.o and
10093 tracefile-tfile.o.
10094 (HFILES_NO_SRCDIR): Add tracefile.h.
10095 * ctf.c: Include "tracefile.h".
10096 * tracefile.h: New file.
10097 * tracefile.c: New file
10098 * tracefile-tfile.c: New file.
10099 * tracepoint.c: Include "tracefile.h".
10100 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
10101 (stop_reason_names): Add const.
10102 (trace_file_writer_xfree): Move it to tracefile.c.
10103 (trace_save, trace_save_command, trace_save_tfile): Likewise.
10104 (trace_save_ctf): Likewise.
10105 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
10106 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
10107 (tfile_write_header, tfile_write_regblock_type): Likewise.
10108 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
10109 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
10110 (tfile_write_raw_data, tfile_end): Likewise.
10111 (tfile_trace_file_writer_new): Likewise.
10112 (free_uploaded_tp): Make it extern.
10113 (free_uploaded_tsv): Make it extern.
10114 (_initialize_tracepoint): Move code to register command 'tsave'
10115 to tracefile.c.
10116 * tracepoint.h (stop_reason_names): Declare.
10117 (struct trace_frame_write_ops): Move it to tracefile.h.
10118 (struct trace_file_write_ops): Likewise.
10119 (struct trace_file_writer): Likewise.
10120 (free_uploaded_tsvs, free_uploaded_tps): Declare.
10121
10122 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10123
10124 PR gdb/16594
10125 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
10126 process name.
10127 (get_cores_used_by_process): New parameter num_cores, use it.
10128 (linux_xfer_osdata_processes): Pass num_cores to it.
10129 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
10130 process name.
10131
10132 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
10133
10134 * target.c (memory_xfer_partial): Fix length arg in call to
10135 breakpoint_xfer_memory.
10136
10137 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10138
10139 PR tdep/16397
10140 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
10141 number comes after the + or - signs. Adjust length of register
10142 name to be extracted.
10143
10144 2014-02-20 Tom Tromey <tromey@redhat.com>
10145
10146 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
10147 (ada_varobj_ops): Mark "extern".
10148
10149 2014-02-20 Tom Tromey <tromey@redhat.com>
10150
10151 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
10152
10153 2014-02-20 Doug Evans <xdje42@gmail.com>
10154
10155 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
10156 All callers updated.
10157 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
10158 All callers updated.
10159 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
10160 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
10161
10162 2014-02-20 lin zuojian <manjian2006@gmail.com>
10163 Joel Brobecker <brobecker@adacore.com>
10164 Doug Evans <xdje42@gmail.com>
10165
10166 PR symtab/16581
10167 * dwarf2read.c (struct die_info): New member in_process.
10168 (reset_die_in_process): New function.
10169 (process_die): Set it at the start, reset when returning.
10170 (inherit_abstract_dies): Only call process_die if origin_child_die
10171 not already being processed.
10172
10173 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10174
10175 * windows-nat.c (handle_unload_dll): Add function documentation.
10176 (do_initial_windows_stuff): Add comment explaining why we wait
10177 until after inferior initialization has finished before
10178 processing all DLLs.
10179
10180 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10181
10182 * windows-nat.c (get_module_name): Delete.
10183 (windows_get_exec_module_filename): New function, mostly
10184 inspired from get_module_name.
10185 (windows_pid_to_exec_file): Replace call to get_module_name
10186 by call to windows_get_exec_module_filename.
10187
10188 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10189
10190 * windows-nat.c (handle_load_dll): Rewrite this function's
10191 introductory comment. Remove code using get_module_name
10192 to get the DLL's name.
10193
10194 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10195
10196 * windows-nat.c (get_windows_debug_event): Ignore
10197 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
10198 if windows_initialization_done == 0.
10199 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
10200 Adjust implementation to always load all DLLs.
10201 (do_initial_windows_stuff): Replace call to
10202 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
10203
10204 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10205
10206 * windows-nat.c (_initialize_windows_nat): Deprecate the
10207 "dll-symbols" command. Turn the "add-shared-symbol-files"
10208 and "assf" aliases into commands, and deprecate them as well.
10209 * NEWS: Add entry explaining that "dll-symbols" and its two
10210 aliases are now deprecated.
10211
10212 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10213
10214 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
10215 new-line in debug string. Remove trailing spaces.
10216
10217 2014-02-19 Stan Shebs <stan@codesourcery.com>
10218
10219 * darwin-nat.c (darwin_xfer_partial): Fix return type.
10220
10221 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10222
10223 * NEWS: Add entry for the new feature
10224 * python/py-value.c (valpy_binop): Call value_x_binop for struct
10225 and class values.
10226
10227 2014-02-19 Stan Shebs <stan@codesourcery.com>
10228
10229 * MAINTAINERS: List Yao Qi as nios2 maintainer.
10230
10231 2014-02-19 Pedro Alves <palves@redhat.com>
10232
10233 * common/ptid.h (struct ptid): Mention that process_stratum
10234 targets should prefer ptid.lwp.
10235
10236 2014-02-19 Pedro Alves <palves@redhat.com>
10237
10238 * remote.c (remote_thread_alive, write_ptid, read_ptid)
10239 (read_ptid, remote_newthread_step, remote_threads_extra_info)
10240 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
10241 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
10242 store remote thread ids rather than ptid.tid.
10243 (_initialize_remote): Adjust.
10244
10245 2014-02-19 Tom Tromey <tromey@redhat.com>
10246
10247 * target.c (target_get_unwinder): Rewrite.
10248 (target_get_tailcall_unwinder): Rewrite.
10249 * record-btrace.c (record_btrace_to_get_unwinder): New function.
10250 (record_btrace_to_get_tailcall_unwinder): New function.
10251 (init_record_btrace_ops): Update.
10252 * target.h (struct target_ops) <to_get_unwinder,
10253 to_get_tailcall_unwinder>: Now function pointers. Use
10254 TARGET_DEFAULT_RETURN.
10255
10256 2014-02-19 Tom Tromey <tromey@redhat.com>
10257
10258 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
10259 argument.
10260 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
10261
10262 2014-02-19 Tom Tromey <tromey@redhat.com>
10263
10264 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
10265 directly.
10266 * target-delegates.c: Rebuild.
10267 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
10268 TARGET_DEFAULT_FUNC.
10269 * target.c (default_target_decr_pc_after_break): Rename from
10270 forward_target_decr_pc_after_break. Simplify.
10271 (target_decr_pc_after_break): Rely on delegation.
10272
10273 2014-02-19 Tom Tromey <tromey@redhat.com>
10274
10275 * target.c (update_current_target): Do not INHERIT to_doc or
10276 to_magic. Do not de_fault to_open or to_close.
10277
10278 2014-02-19 Tom Tromey <tromey@redhat.com>
10279
10280 * gcore.h (objfile_find_memory_regions): Declare.
10281 * gcore.c (objfile_find_memory_regions): No longer static. Add
10282 "self" argument.
10283 (_initialize_gcore): Don't call exec_set_find_memory_regions.
10284 * exec.c: Include gcore.h.
10285 (exec_set_find_memory_regions): Remove.
10286 (exec_find_memory_regions): Remove.
10287 (exec_do_find_memory_regions): Remove.
10288 (init_exec_ops): Update.
10289 * defs.h (exec_set_find_memory_regions): Remove.
10290
10291 2014-02-19 Tom Tromey <tromey@redhat.com>
10292
10293 * target-delegates.c: Rebuild.
10294 * target.h (struct target_ops) <to_extra_thread_info,
10295 to_thread_name, to_pid_to_exec_file, to_get_section_table,
10296 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
10297 not 0, in TARGET_DEFAULT_RETURN.
10298
10299 2014-02-19 Tom Tromey <tromey@redhat.com>
10300
10301 * target.c (complete_target_initialization): Remove casts. Use
10302 return_zero_has_execution.
10303 (return_zero): Add "ignore" argument.
10304 (return_zero_has_execution): New function.
10305 (init_dummy_target): Remove casts. Use
10306 return_zero_has_execution.
10307
10308 2014-02-19 Tom Tromey <tromey@redhat.com>
10309
10310 * target.c (update_current_target): Update comments. Do not
10311 INHERIT to_stratum.
10312
10313 2014-02-19 Tom Tromey <tromey@redhat.com>
10314
10315 * arm-linux-nat.c (arm_linux_read_description): Delegate when
10316 needed.
10317 * corelow.c (core_read_description): Delegate when needed.
10318 * remote.c (remote_read_description): Delegate when needed.
10319 * target-delegates.c: Rebuild.
10320 * target.c (target_read_description): Rewrite.
10321 * target.h (struct target_ops) <to_read_description>: Update
10322 comment. Use TARGET_DEFAULT_RETURN.
10323
10324 2014-02-19 Tom Tromey <tromey@redhat.com>
10325
10326 * target-delegates.c: Rebuild.
10327 * target.c (update_current_target): Don't inherit or default
10328 to_can_run.
10329 (find_default_run_target): Check against delegate_can_run.
10330 * target.h (struct target_ops) <to_can_run>: Use
10331 TARGET_DEFAULT_RETURN.
10332
10333 2014-02-19 Tom Tromey <tromey@redhat.com>
10334
10335 * target-delegates.c: Rebuild.
10336 * target.c (target_disconnect): Unconditionally delegate.
10337 * target.h (struct target_ops) <to_disconnect>: Use
10338 TARGET_DEFAULT_NORETURN.
10339
10340 2014-02-19 Tom Tromey <tromey@redhat.com>
10341
10342 * record.c (record_stop): Unconditionally delegate.
10343 * target-delegates.c: Rebuild.
10344 * target.c (target_stop_recording): Unconditionally delegate.
10345 * target.h (struct target_ops) <to_stop_recording>: Use
10346 TARGET_DEFAULT_IGNORE.
10347
10348 2014-02-19 Tom Tromey <tromey@redhat.com>
10349
10350 * target-delegates.c: Rebuild.
10351 * target.c (target_enable_btrace): Unconditionally delegate.
10352 * target.h (struct target_ops) <to_enable_btrace>: Use
10353 TARGET_DEFAULT_NORETURN.
10354
10355 2014-02-19 Tom Tromey <tromey@redhat.com>
10356
10357 * target-delegates.c: Rebuild.
10358 * target.c (target_read_btrace): Unconditionally delegate.
10359 * target.h (struct target_ops) <to_read_btrace>: Use
10360 TARGET_DEFAULT_NORETURN.
10361
10362 2014-02-19 Tom Tromey <tromey@redhat.com>
10363
10364 * target-delegates.c: Rebuild.
10365 * target.c (target_teardown_btrace): Unconditionally delegate.
10366 * target.h (struct target_ops) <to_teardown_btrace>: Use
10367 TARGET_DEFAULT_NORETURN.
10368
10369 2014-02-19 Tom Tromey <tromey@redhat.com>
10370
10371 * target-delegates.c: Rebuild.
10372 * target.c (target_disable_btrace): Unconditionally delegate.
10373 * target.h (struct target_ops) <to_disable_btrace>: Use
10374 TARGET_DEFAULT_NORETURN.
10375
10376 2014-02-19 Tom Tromey <tromey@redhat.com>
10377
10378 * target-delegates.c: Rebuild.
10379 * target.c (default_search_memory): New function.
10380 (simple_search_memory): Update comment.
10381 (target_search_memory): Unconditionally delegate.
10382 * target.h (struct target_ops) <to_search_memory>: Use
10383 TARGET_DEFAULT_FUNC.
10384
10385 2014-02-19 Tom Tromey <tromey@redhat.com>
10386
10387 * auxv.c (default_auxv_parse): No longer static.
10388 (target_auxv_parse): Unconditionally delegate.
10389 * auxv.h (default_auxv_parse): Declare.
10390 * target-delegates.c: Rebuild.
10391 * target.c: Include auxv.h.
10392 * target.h (struct target_ops) <to_auxv_parse>: Use
10393 TARGET_DEFAULT_FUNC.
10394
10395 2014-02-19 Tom Tromey <tromey@redhat.com>
10396
10397 * target-delegates.c: Rebuild.
10398 * target.c (target_memory_map): Unconditionally delegate.
10399 * target.h (struct target_ops) <to_memory_map>: Use
10400 TARGET_DEFAULT_RETURN.
10401
10402 2014-02-19 Tom Tromey <tromey@redhat.com>
10403
10404 * target-delegates.c: Rebuild.
10405 * target.c (target_thread_alive): Unconditionally delegate.
10406 * target.h (struct target_ops) <to_thread_alive>: Use
10407 TARGET_DEFAULT_RETURN.
10408
10409 2014-02-19 Tom Tromey <tromey@redhat.com>
10410
10411 * target-delegates.c: Rebuild.
10412 * target.c (target_save_record): Unconditionally delegate.
10413 * target.h (struct target_ops) <to_save_record>: Use
10414 TARGET_DEFAULT_NORETURN.
10415
10416 2014-02-19 Tom Tromey <tromey@redhat.com>
10417
10418 * target-delegates.c: Rebuild.
10419 * target.c (target_delete_record): Unconditionally delegate.
10420 * target.h (struct target_ops) <to_delete_record>: Use
10421 TARGET_DEFAULT_NORETURN.
10422
10423 2014-02-19 Tom Tromey <tromey@redhat.com>
10424
10425 * target-delegates.c: Rebuild.
10426 * target.c (target_record_is_replaying): Unconditionally
10427 delegate.
10428 * target.h (struct target_ops) <to_record_is_replaying>: Use
10429 TARGET_DEFAULT_RETURN.
10430
10431 2014-02-19 Tom Tromey <tromey@redhat.com>
10432
10433 * target-delegates.c: Rebuild.
10434 * target.c (target_goto_record_begin): Unconditionally delegate.
10435 * target.h (struct target_ops) <to_goto_record_begin>: Use
10436 TARGET_DEFAULT_NORETURN.
10437
10438 2014-02-19 Tom Tromey <tromey@redhat.com>
10439
10440 * target-delegates.c: Rebuild.
10441 * target.c (target_goto_record_end): Unconditionally delegate.
10442 * target.h (struct target_ops) <to_goto_record_end>: Use
10443 TARGET_DEFAULT_NORETURN.
10444
10445 2014-02-19 Tom Tromey <tromey@redhat.com>
10446
10447 * target-delegates.c: Rebuild.
10448 * target.c (target_goto_record): Unconditionally delegate.
10449 * target.h (struct target_ops) <to_goto_record>: Use
10450 TARGET_DEFAULT_NORETURN.
10451
10452 2014-02-19 Tom Tromey <tromey@redhat.com>
10453
10454 * target-delegates.c: Rebuild.
10455 * target.c (target_insn_history): Unconditionally delegate.
10456 * target.h (struct target_ops) <to_insn_history>: Use
10457 TARGET_DEFAULT_NORETURN.
10458
10459 2014-02-19 Tom Tromey <tromey@redhat.com>
10460
10461 * target-delegates.c: Rebuild.
10462 * target.c (target_insn_history_from): Unconditionally delegate.
10463 * target.h (struct target_ops) <to_insn_history_from>: Use
10464 TARGET_DEFAULT_NORETURN.
10465
10466 2014-02-19 Tom Tromey <tromey@redhat.com>
10467
10468 * target-delegates.c: Rebuild.
10469 * target.c (target_insn_history_range): Unconditionally delegate.
10470 * target.h (struct target_ops) <to_insn_history_range>: Use
10471 TARGET_DEFAULT_NORETURN.
10472
10473 2014-02-19 Tom Tromey <tromey@redhat.com>
10474
10475 * target-delegates.c: Rebuild.
10476 * target.c (target_call_history): Unconditionally delegate.
10477 * target.h (struct target_ops) <to_call_history>: Use
10478 TARGET_DEFAULT_NORETURN.
10479
10480 2014-02-19 Tom Tromey <tromey@redhat.com>
10481
10482 * target-delegates.c: Rebuild.
10483 * target.c (target_call_history_from): Unconditionally delegate.
10484 * target.h (struct target_ops) <to_call_history_from>: Use
10485 TARGET_DEFAULT_NORETURN.
10486
10487 2014-02-19 Tom Tromey <tromey@redhat.com>
10488
10489 * target-delegates.c: Rebuild.
10490 * target.c (target_call_history_range): Unconditionally delegate.
10491 * target.h (struct target_ops) <to_call_history_range>: Use
10492 TARGET_DEFAULT_NORETURN.
10493
10494 2014-02-19 Tom Tromey <tromey@redhat.com>
10495
10496 * target-delegates.c: Rebuild.
10497 * target.c (target_verify_memory): Unconditionally delegate.
10498 * target.h (struct target_ops) <to_verify_memory>: Use
10499 TARGET_DEFAULT_NORETURN.
10500
10501 2014-02-19 Tom Tromey <tromey@redhat.com>
10502
10503 * target-delegates.c: Rebuild.
10504 * target.c (target_core_of_thread): Unconditionally delegate.
10505 * target.h (struct target_ops) <to_core_of_thread>: Use
10506 TARGET_DEFAULT_RETURN.
10507
10508 2014-02-19 Tom Tromey <tromey@redhat.com>
10509
10510 * target-delegates.c: Rebuild.
10511 * target.c (target_flash_done): Unconditionally delegate.
10512 * target.h (struct target_ops) <to_flash_done>: Use
10513 TARGET_DEFAULT_NORETURN.
10514
10515 2014-02-19 Tom Tromey <tromey@redhat.com>
10516
10517 * target-delegates.c: Rebuild.
10518 * target.c (target_flash_erase): Unconditionally delegate.
10519 * target.h (struct target_ops) <to_flash_erase>: Use
10520 TARGET_DEFAULT_NORETURN.
10521
10522 2014-02-19 Tom Tromey <tromey@redhat.com>
10523
10524 * target-delegates.c: Rebuild.
10525 * target.c (target_get_section_table): Unconditionally delegate.
10526 * target.h (struct target_ops) <to_get_section_table>: Use
10527 TARGET_DEFAULT_RETURN.
10528
10529 2014-02-19 Tom Tromey <tromey@redhat.com>
10530
10531 * target-delegates.c: Rebuild.
10532 * target.c (target_pid_to_str): Unconditionally delegate.
10533 (init_dummy_target): Don't initialize to_pid_to_str.
10534 (default_pid_to_str): Rename from dummy_pid_to_str.
10535 * target.h (struct target_ops) <to_pid_to_str>: Use
10536 TARGET_DEFAULT_FUNC.
10537
10538 2014-02-19 Tom Tromey <tromey@redhat.com>
10539
10540 * target-delegates.c: Rebuild.
10541 * target.c (target_find_new_threads): Unconditionally delegate.
10542 * target.h (struct target_ops) <to_find_new_threads>: Use
10543 TARGET_DEFAULT_RETURN.
10544
10545 2014-02-19 Tom Tromey <tromey@redhat.com>
10546
10547 * target-delegates.c: Rebuild.
10548 * target.c (target_program_signals): Unconditionally delegate.
10549 * target.h (struct target_ops) <to_program_signals>: Use
10550 TARGET_DEFAULT_IGNORE.
10551
10552 2014-02-19 Tom Tromey <tromey@redhat.com>
10553
10554 * target-delegates.c: Rebuild.
10555 * target.c (target_pass_signals): Unconditionally delegate.
10556 * target.h (struct target_ops) <to_pass_signals>: Use
10557 TARGET_DEFAULT_IGNORE.
10558
10559 2014-02-19 Tom Tromey <tromey@redhat.com>
10560
10561 * target-delegates.c: Rebuild.
10562 * target.c (default_mourn_inferior): New function.
10563 (target_mourn_inferior): Unconditionally delegate.
10564 * target.h (struct target_ops) <to_mourn_inferior>: Use
10565 TARGET_DEFAULT_FUNC.
10566
10567 2014-02-19 Tom Tromey <tromey@redhat.com>
10568
10569 * target-delegates.c: Rebuild.
10570 * target.c (default_follow_fork): New function.
10571 (target_follow_fork): Unconditionally delegate.
10572 * target.h (struct target_ops) <to_follow_fork>: Use
10573 TARGET_DEFAULT_FUNC.
10574
10575 2014-02-19 Tom Tromey <tromey@redhat.com>
10576
10577 * target-delegates.c: Rebuild.
10578 * target.c (target_kill): Unconditionally delegate.
10579 * target.h (struct target_ops) <to_kill>: Use
10580 TARGET_DEFAULT_NORETURN.
10581
10582 2014-02-19 Tom Tromey <tromey@redhat.com>
10583
10584 * target-delegates.c: Rebuild.
10585 * target.c (target_masked_watch_num_registers): Unconditionally
10586 delegate.
10587 * target.h (struct target_ops) <to_masked_watch_num_registers>:
10588 Use TARGET_DEFAULT_RETURN.
10589
10590 2014-02-19 Tom Tromey <tromey@redhat.com>
10591
10592 * target-delegates.c: Rebuild.
10593 * target.c (target_remove_mask_watchpoint): Unconditionally
10594 delegate.
10595 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
10596 TARGET_DEFAULT_RETURN.
10597
10598 2014-02-19 Tom Tromey <tromey@redhat.com>
10599
10600 * target-delegates.c: Rebuild.
10601 * target.c (target_insert_mask_watchpoint): Unconditionally
10602 delegate.
10603 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
10604 TARGET_DEFAULT_RETURN.
10605
10606 2014-02-19 Tom Tromey <tromey@redhat.com>
10607
10608 * target-delegates.c: Rebuild.
10609 * target.c (target_ranged_break_num_registers): Unconditionally
10610 delegate.
10611 * target.h (struct target_ops) <to_ranged_break_num_registers>:
10612 Use TARGET_DEFAULT_RETURN.
10613
10614 2014-02-19 Tom Tromey <tromey@redhat.com>
10615
10616 * target-delegates.c: Rebuild.
10617 * target.c (target_fetch_registers): Unconditionally delegate.
10618 * target.h (struct target_ops) <to_fetch_registers>: Use
10619 TARGET_DEFAULT_NORETURN.
10620
10621 2014-02-19 Tom Tromey <tromey@redhat.com>
10622
10623 * target-delegates.c: Rebuild.
10624 * target.c (update_current_target): Don't inherit or default
10625 to_stop.
10626 * target.h (struct target_ops) <to_stop>: Use
10627 TARGET_DEFAULT_IGNORE.
10628
10629 2014-02-19 Tom Tromey <tromey@redhat.com>
10630
10631 * target-delegates.c: Rebuild.
10632 * target.c (update_current_target): Don't inherit or default
10633 to_can_run_breakpoint_commands.
10634 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10635 Use TARGET_DEFAULT_RETURN.
10636
10637 2014-02-19 Tom Tromey <tromey@redhat.com>
10638
10639 * target-delegates.c: Rebuild.
10640 * target.c (update_current_target): Don't inherit or default
10641 to_supports_evaluation_of_breakpoint_conditions.
10642 * target.h (struct target_ops)
10643 <to_supports_evaluation_of_breakpoint_conditions>: Use
10644 TARGET_DEFAULT_RETURN.
10645
10646 2014-02-19 Tom Tromey <tromey@redhat.com>
10647
10648 * target-delegates.c: Rebuild.
10649 * target.c (update_current_target): Don't inherit or default
10650 to_augmented_libraries_svr4_read.
10651 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10652 Use TARGET_DEFAULT_RETURN.
10653
10654 2014-02-19 Tom Tromey <tromey@redhat.com>
10655
10656 * target-delegates.c: Rebuild.
10657 * target.c (update_current_target): Don't inherit or default
10658 to_can_use_agent.
10659 * target.h (struct target_ops) <to_can_use_agent>: Use
10660 TARGET_DEFAULT_RETURN.
10661
10662 2014-02-19 Tom Tromey <tromey@redhat.com>
10663
10664 * target-delegates.c: Rebuild.
10665 * target.c (update_current_target): Don't inherit or default
10666 to_use_agent.
10667 * target.h (struct target_ops) <to_use_agent>: Use
10668 TARGET_DEFAULT_NORETURN.
10669
10670 2014-02-19 Tom Tromey <tromey@redhat.com>
10671
10672 * target-delegates.c: Rebuild.
10673 * target.c (update_current_target): Don't inherit or default
10674 to_traceframe_info.
10675 (return_null): Remove.
10676 * target.h (struct target_ops) <to_traceframe_info>: Use
10677 TARGET_DEFAULT_RETURN.
10678
10679 2014-02-19 Tom Tromey <tromey@redhat.com>
10680
10681 * target-delegates.c: Rebuild.
10682 * target.c (update_current_target): Don't inherit or default
10683 to_static_tracepoint_markers_by_strid.
10684 * target.h (struct target_ops)
10685 <to_static_tracepoint_markers_by_strid>: Use
10686 TARGET_DEFAULT_NORETURN.
10687
10688 2014-02-19 Tom Tromey <tromey@redhat.com>
10689
10690 * target-delegates.c: Rebuild.
10691 * target.c (update_current_target): Don't inherit or default
10692 to_static_tracepoint_marker_at.
10693 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10694 Use TARGET_DEFAULT_RETURN.
10695
10696 2014-02-19 Tom Tromey <tromey@redhat.com>
10697
10698 * target-delegates.c: Rebuild.
10699 * target.c (update_current_target): Don't inherit or default
10700 to_set_permissions.
10701 * target.h (struct target_ops) <to_set_permissions>: Use
10702 TARGET_DEFAULT_IGNORE.
10703
10704 2014-02-19 Tom Tromey <tromey@redhat.com>
10705
10706 * target-delegates.c: Rebuild.
10707 * target.c (update_current_target): Don't inherit or default
10708 to_get_tib_address.
10709 * target.h (struct target_ops) <to_get_tib_address>: Use
10710 TARGET_DEFAULT_NORETURN.
10711
10712 2014-02-19 Tom Tromey <tromey@redhat.com>
10713
10714 * target-delegates.c: Rebuild.
10715 * target.c (update_current_target): Don't inherit or default
10716 to_set_trace_notes.
10717 * target.h (struct target_ops) <to_set_trace_notes>: Use
10718 TARGET_DEFAULT_RETURN.
10719
10720 2014-02-19 Tom Tromey <tromey@redhat.com>
10721
10722 * target-delegates.c: Rebuild.
10723 * target.c (update_current_target): Don't initialize
10724 to_set_trace_buffer_size.
10725 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
10726 TARGET_DEFAULT_IGNORE.
10727
10728 2014-02-19 Tom Tromey <tromey@redhat.com>
10729
10730 * target-delegates.c: Rebuild.
10731 * target.c (update_current_target): Don't inherit or default
10732 to_set_circular_trace_buffer.
10733 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
10734 TARGET_DEFAULT_IGNORE.
10735
10736 2014-02-19 Tom Tromey <tromey@redhat.com>
10737
10738 * target-delegates.c: Rebuild.
10739 * target.c (update_current_target): Don't inherit or default
10740 to_set_disconnected_tracing.
10741 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
10742 TARGET_DEFAULT_IGNORE.
10743
10744 2014-02-19 Tom Tromey <tromey@redhat.com>
10745
10746 * target-delegates.c: Rebuild.
10747 * target.c (update_current_target): Don't inherit or default
10748 to_get_min_fast_tracepoint_insn_len.
10749 (return_minus_one): Remove.
10750 * target.h (struct target_ops)
10751 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
10752
10753 2014-02-19 Tom Tromey <tromey@redhat.com>
10754
10755 * target-delegates.c: Rebuild.
10756 * target.c (update_current_target): Don't inherit or default
10757 to_get_raw_trace_data.
10758 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
10759 TARGET_DEFAULT_NORETURN.
10760
10761 2014-02-19 Tom Tromey <tromey@redhat.com>
10762
10763 * target-delegates.c: Rebuild.
10764 * target.c (update_current_target): Don't inherit or default
10765 to_upload_trace_state_variables.
10766 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10767 Use TARGET_DEFAULT_RETURN.
10768
10769 2014-02-19 Tom Tromey <tromey@redhat.com>
10770
10771 * target-delegates.c: Rebuild.
10772 * target.c (update_current_target): Don't inherit or default
10773 to_upload_tracepoints.
10774 * target.h (struct target_ops) <to_upload_tracepoints>: Use
10775 TARGET_DEFAULT_RETURN.
10776
10777 2014-02-19 Tom Tromey <tromey@redhat.com>
10778
10779 * target-delegates.c: Rebuild.
10780 * target.c (update_current_target): Don't inherit or default
10781 to_save_trace_data.
10782 * target.h (struct target_ops) <to_save_trace_data>: Use
10783 TARGET_DEFAULT_NORETURN.
10784
10785 2014-02-19 Tom Tromey <tromey@redhat.com>
10786
10787 * target-delegates.c: Rebuild.
10788 * target.c (update_current_target): Don't inherit or default
10789 to_get_trace_state_variable_value.
10790 * target.h (struct target_ops)
10791 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
10792
10793 2014-02-19 Tom Tromey <tromey@redhat.com>
10794
10795 * target-delegates.c: Rebuild.
10796 * target.c (update_current_target): Don't inherit or default
10797 to_trace_find.
10798 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
10799
10800 2014-02-19 Tom Tromey <tromey@redhat.com>
10801
10802 * target-delegates.c: Rebuild.
10803 * target.c (update_current_target): Don't inherit or default
10804 to_trace_stop.
10805 * target.h (struct target_ops) <to_trace_stop>: Use
10806 TARGET_DEFAULT_NORETURN.
10807
10808 2014-02-19 Tom Tromey <tromey@redhat.com>
10809
10810 * target-delegates.c: Rebuild.
10811 * target.c (update_current_target): Don't inherit or default
10812 to_get_tracepoint_status.
10813 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
10814 TARGET_DEFAULT_NORETURN.
10815
10816 2014-02-19 Tom Tromey <tromey@redhat.com>
10817
10818 * target-delegates.c: Rebuild.
10819 * target.c (update_current_target): Don't inherit or default
10820 to_get_trace_status.
10821 * target.h (struct target_ops) <to_get_trace_status>: Use
10822 TARGET_DEFAULT_RETURN.
10823
10824 2014-02-19 Tom Tromey <tromey@redhat.com>
10825
10826 * target-delegates.c: Rebuild.
10827 * target.c (update_current_target): Don't inherit or default
10828 to_trace_start.
10829 * target.h (struct target_ops) <to_trace_start>: Use
10830 TARGET_DEFAULT_NORETURN.
10831
10832 2014-02-19 Tom Tromey <tromey@redhat.com>
10833
10834 * target-delegates.c: Rebuild.
10835 * target.c (update_current_target): Don't inherit or default
10836 to_trace_set_readonly_regions.
10837 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10838 Use TARGET_DEFAULT_NORETURN.
10839
10840 2014-02-19 Tom Tromey <tromey@redhat.com>
10841
10842 * target-delegates.c: Rebuild.
10843 * target.c (update_current_target): Don't inherit or default
10844 to_disable_tracepoint.
10845 * target.h (struct target_ops) <to_disable_tracepoint>: Use
10846 TARGET_DEFAULT_NORETURN.
10847
10848 2014-02-19 Tom Tromey <tromey@redhat.com>
10849
10850 * target-delegates.c: Rebuild.
10851 * target.c (update_current_target): Don't inherit or default
10852 to_enable_tracepoint.
10853 * target.h (struct target_ops) <to_enable_tracepoint>: Use
10854 TARGET_DEFAULT_NORETURN.
10855
10856 2014-02-19 Tom Tromey <tromey@redhat.com>
10857
10858 * target-delegates.c: Rebuild.
10859 * target.c (update_current_target): Don't inherit or default
10860 to_download_trace_state_variable.
10861 * target.h (struct target_ops) <to_download_trace_state_variable>:
10862 Use TARGET_DEFAULT_NORETURN.
10863
10864 2014-02-19 Tom Tromey <tromey@redhat.com>
10865
10866 * target-delegates.c: Rebuild.
10867 * target.c (update_current_target): Don't inherit or default
10868 to_can_download_tracepoint.
10869 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
10870 TARGET_DEFAULT_RETURN.
10871
10872 2014-02-19 Tom Tromey <tromey@redhat.com>
10873
10874 * target-delegates.c: Rebuild.
10875 * target.c (update_current_target): Don't inherit or default
10876 to_download_tracepoint.
10877 * target.h (struct target_ops) <to_download_tracepoint>: Use
10878 TARGET_DEFAULT_NORETURN.
10879
10880 2014-02-19 Tom Tromey <tromey@redhat.com>
10881
10882 * target-delegates.c: Rebuild.
10883 * target.c (update_current_target): Don't inherit or default
10884 to_trace_init.
10885 * target.h (struct target_ops) <to_trace_init>: Use
10886 TARGET_DEFAULT_RETURN.
10887
10888 2014-02-19 Tom Tromey <tromey@redhat.com>
10889
10890 * target-delegates.c: Rebuild.
10891 * target.c (update_current_target): Don't inherit or default
10892 to_supports_string_tracing.
10893 * target.h (struct target_ops) <to_supports_string_tracing>: Use
10894 TARGET_DEFAULT_RETURN.
10895
10896 2014-02-19 Tom Tromey <tromey@redhat.com>
10897
10898 * target-delegates.c: Rebuild.
10899 * target.c (update_current_target): Don't inherit or default
10900 to_supports_enable_disable_tracepoint.
10901 * target.h (struct target_ops)
10902 <to_supports_enable_disable_tracepoint>: Use
10903 TARGET_DEFAULT_RETURN.
10904
10905 2014-02-19 Tom Tromey <tromey@redhat.com>
10906
10907 * target-delegates.c: Rebuild.
10908 * target.c (update_current_target): Don't inherit or default
10909 to_supports_multi_process.
10910 * target.h (struct target_ops) <to_supports_multi_process>: Use
10911 TARGET_DEFAULT_RETURN.
10912
10913 2014-02-19 Tom Tromey <tromey@redhat.com>
10914
10915 * target-delegates.c: Rebuild.
10916 * target.c (update_current_target): Don't inherit or default
10917 to_get_ada_task_ptid.
10918 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
10919 TARGET_DEFAULT_FUNC.
10920
10921 2014-02-19 Tom Tromey <tromey@redhat.com>
10922
10923 * target-delegates.c: Rebuild.
10924 * target.c (update_current_target): Don't inherit or default
10925 to_thread_architecture.
10926 * target.h (struct target_ops) <to_thread_architecture>: Use
10927 TARGET_DEFAULT_FUNC.
10928
10929 2014-02-19 Tom Tromey <tromey@redhat.com>
10930
10931 * target-delegates.c: Rebuild.
10932 * target.c (update_current_target): Don't inherit or default
10933 to_execution_direction.
10934 * target.h (struct target_ops) <to_execution_direction>: Use
10935 TARGET_DEFAULT_FUNC.
10936
10937 2014-02-19 Tom Tromey <tromey@redhat.com>
10938
10939 * target-delegates.c: Rebuild.
10940 * target.c (update_current_target): Don't inherit or default
10941 to_can_execute_reverse.
10942 * target.h (struct target_ops) <to_can_execute_reverse>: Use
10943 TARGET_DEFAULT_RETURN.
10944 (target_can_execute_reverse): Unconditionally delegate.
10945
10946 2014-02-19 Tom Tromey <tromey@redhat.com>
10947
10948 * target-delegates.c: Rebuild.
10949 * target.c (update_current_target): Don't inherit or default
10950 to_goto_bookmark.
10951 (dummy_goto_bookmark): Remove.
10952 (init_dummy_target): Don't inherit or default to_goto_bookmark.
10953 * target.h (struct target_ops) <to_goto_bookmark>: Use
10954 TARGET_DEFAULT_NORETURN.
10955
10956 2014-02-19 Tom Tromey <tromey@redhat.com>
10957
10958 * target-delegates.c: Rebuild.
10959 * target.c (update_current_target): Don't inherit or default
10960 to_get_bookmark.
10961 (dummy_get_bookmark): Remove.
10962 (init_dummy_target): Don't inherit or default to_get_bookmark.
10963 * target.h (struct target_ops) <to_get_bookmark>: Use
10964 TARGET_DEFAULT_NORETURN
10965
10966 2014-02-19 Tom Tromey <tromey@redhat.com>
10967
10968 * target-delegates.c: Rebuild.
10969 * target.c (update_current_target): Don't inherit or default
10970 to_make_corefile_notes.
10971 (init_dummy_target): Don't initialize to_make_corefile_notes.
10972 * target.h (struct target_ops) <to_make_corefile_notes>: Use
10973 TARGET_DEFAULT_FUNC.
10974
10975 2014-02-19 Tom Tromey <tromey@redhat.com>
10976
10977 * target-delegates.c: Rebuild.
10978 * target.c (update_current_target): Don't inherit or default
10979 to_find_memory_regions.
10980 (init_dummy_target): Don't initialize to_find_memory_regions.
10981 * target.h (struct target_ops) <to_find_memory_regions>: Use
10982 TARGET_DEFAULT_FUNC.
10983
10984 2014-02-19 Tom Tromey <tromey@redhat.com>
10985
10986 * target-delegates.c: Rebuild.
10987 * target.c (update_current_target): Don't inherit or default
10988 to_log_command.
10989 * target.h (struct target_ops) <to_log_command>: Use
10990 TARGET_DEFAULT_IGNORE.
10991 (target_log_command): Unconditionally delegate.
10992
10993 2014-02-19 Tom Tromey <tromey@redhat.com>
10994
10995 * target-delegates.c: Rebuild.
10996 * target.c (update_current_target): Don't inherit or default
10997 to_pid_to_exec_file.
10998 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
10999 TARGET_DEFAULT_RETURN.
11000
11001 2014-02-19 Tom Tromey <tromey@redhat.com>
11002
11003 * target-delegates.c: Rebuild.
11004 * target.c (update_current_target): Don't inherit or default
11005 to_thread_name.
11006 (target_thread_name): Unconditionally delegate.
11007 * target.h (struct target_ops) <to_thread_name>: Use
11008 TARGET_DEFAULT_RETURN.
11009
11010 2014-02-19 Tom Tromey <tromey@redhat.com>
11011
11012 * target-delegates.c: Rebuild.
11013 * target.c (update_current_target): Don't inherit or default
11014 to_extra_thread_info.
11015 * target.h (struct target_ops) <to_extra_thread_info>: Use
11016 TARGET_DEFAULT_RETURN.
11017
11018 2014-02-19 Tom Tromey <tromey@redhat.com>
11019
11020 * target-delegates.c: Rebuild.
11021 * target.c (update_current_target): Don't inherit or default
11022 to_has_exited.
11023 * target.h (struct target_ops) <to_has_exited>: Use
11024 TARGET_DEFAULT_RETURN..
11025
11026 2014-02-19 Tom Tromey <tromey@redhat.com>
11027
11028 * target-delegates.c: Rebuild.
11029 * target.c (update_current_target): Don't inherit or default
11030 to_set_syscall_catchpoint.
11031 (return_one): Remove.
11032 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
11033 TARGET_DEFAULT_RETURN.
11034
11035 2014-02-19 Tom Tromey <tromey@redhat.com>
11036
11037 * target-delegates.c: Rebuild.
11038 * target.c (update_current_target): Don't inherit or default
11039 to_insert_exec_catchpoint.
11040 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11041 TARGET_DEFAULT_RETURN.
11042
11043 2014-01-08 Tom Tromey <tromey@redhat.com>
11044
11045 * target-delegates.c: Rebuild.
11046 * target.c (update_current_target): Don't inherit or default
11047 to_insert_exec_catchpoint.
11048 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11049 TARGET_DEFAULT_RETURN.
11050
11051 2014-02-19 Tom Tromey <tromey@redhat.com>
11052
11053 * target-delegates.c: Rebuild.
11054 * target.c (update_current_target): Don't inherit or default
11055 to_remove_vfork_catchpoint.
11056 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
11057 TARGET_DEFAULT_RETURN.
11058
11059 2014-02-19 Tom Tromey <tromey@redhat.com>
11060
11061 * target-delegates.c: Rebuild.
11062 * target.c (update_current_target): Don't inherit or default
11063 to_insert_vfork_catchpoint.
11064 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
11065 TARGET_DEFAULT_RETURN.
11066
11067 2014-02-19 Tom Tromey <tromey@redhat.com>
11068
11069 * target-delegates.c: Rebuild.
11070 * target.c (update_current_target): Don't inherit or default
11071 to_remove_fork_catchpoint.
11072 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
11073 TARGET_DEFAULT_RETURN.
11074
11075 2014-02-19 Tom Tromey <tromey@redhat.com>
11076
11077 * target-delegates.c: Rebuild.
11078 * target.c (update_current_target): Don't inherit or default
11079 to_insert_fork_catchpoint.
11080 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
11081 TARGET_DEFAULT_RETURN.
11082
11083 2014-02-19 Tom Tromey <tromey@redhat.com>
11084
11085 * target-delegates.c: Rebuild.
11086 * target.c (update_current_target): Don't inherit or default
11087 to_post_startup_inferior.
11088 * target.h (struct target_ops) <to_post_startup_inferior>: Use
11089 TARGET_DEFAULT_IGNORE.
11090
11091 2014-02-19 Tom Tromey <tromey@redhat.com>
11092
11093 * target-delegates.c: Rebuild.
11094 * target.c (update_current_target): Don't inherit or default
11095 to_load.
11096 * target.h (struct target_ops) <to_load>: Use
11097 TARGET_DEFAULT_NORETURN.
11098
11099 2014-02-19 Tom Tromey <tromey@redhat.com>
11100
11101 * target-delegates.c: Rebuild.
11102 * target.c (update_current_target): Don't inherit or default
11103 to_terminal_info.
11104 * target.h (struct target_ops) <to_terminal_info>: Use
11105 TARGET_DEFAULT_FUNC.
11106
11107 2014-02-19 Tom Tromey <tromey@redhat.com>
11108
11109 * target-delegates.c: Rebuild.
11110 * target.c (update_current_target): Don't inherit or default
11111 to_terminal_save_ours.
11112 * target.h (struct target_ops) <to_terminal_save_ours>: Use
11113 TARGET_DEFAULT_IGNORE.
11114
11115 2014-02-19 Tom Tromey <tromey@redhat.com>
11116
11117 * target-delegates.c: Rebuild.
11118 * target.c (update_current_target): Don't inherit or default
11119 to_terminal_ours.
11120 * target.h (struct target_ops) <to_terminal_ours>: Use
11121 TARGET_DEFAULT_IGNORE.
11122
11123 2014-02-19 Tom Tromey <tromey@redhat.com>
11124
11125 * target-delegates.c: Rebuild.
11126 * target.c (update_current_target): Don't inherit or default
11127 to_terminal_ours_for_output.
11128 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
11129 TARGET_DEFAULT_IGNORE.
11130
11131 2014-02-19 Tom Tromey <tromey@redhat.com>
11132
11133 * target-delegates.c: Rebuild.
11134 * target.c (update_current_target): Don't inherit or default
11135 to_terminal_inferior.
11136 * target.h (struct target_ops) <to_terminal_inferior>: Use
11137 TARGET_DEFAULT_IGNORE.
11138
11139 2014-02-19 Tom Tromey <tromey@redhat.com>
11140
11141 * target-delegates.c: Rebuild.
11142 * target.c (update_current_target): Don't inherit or default
11143 to_terminal_init.
11144 * target.h (struct target_ops) <to_terminal_init>: Use
11145 TARGET_DEFAULT_IGNORE.
11146
11147 2014-02-19 Tom Tromey <tromey@redhat.com>
11148
11149 * target-delegates.c: Rebuild.
11150 * target.c (update_current_target): Don't inherit or default
11151 to_can_accel_watchpoint_condition.
11152 * target.h (struct target_ops)
11153 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
11154
11155 2014-02-19 Tom Tromey <tromey@redhat.com>
11156
11157 * target-delegates.c: Rebuild.
11158 * target.c (update_current_target): Don't inherit or default
11159 to_region_ok_for_hw_watchpoint.
11160 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11161 Use TARGET_DEFAULT_FUNC.
11162
11163 2014-02-19 Tom Tromey <tromey@redhat.com>
11164
11165 * target-delegates.c: Rebuild.
11166 * target.c (update_current_target): Don't inherit or default
11167 to_watchpoint_addr_within_range.
11168 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
11169 Use TARGET_DEFAULT_FUNC.
11170
11171 2014-02-19 Tom Tromey <tromey@redhat.com>
11172
11173 * target-delegates.c: Rebuild.
11174 * target.c (update_current_target): Don't inherit or default
11175 to_remove_watchpoint.
11176 * target.h (struct target_ops) <to_remove_watchpoint>: Use
11177 TARGET_DEFAULT_NORETURN.
11178
11179 2014-02-19 Tom Tromey <tromey@redhat.com>
11180
11181 * target-delegates.c: Rebuild.
11182 * target.c (update_current_target): Don't inherit or default
11183 to_insert_watchpoint.
11184 * target.h (struct target_ops) <to_insert_watchpoint>: Use
11185 TARGET_DEFAULT_RETURN.
11186
11187 2014-02-19 Tom Tromey <tromey@redhat.com>
11188
11189 * target-delegates.c: Rebuild.
11190 * target.c (update_current_target): Don't inherit or default
11191 to_remove_hw_breakpoint.
11192 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
11193 TARGET_DEFAULT_RETURN.
11194
11195 2014-02-19 Tom Tromey <tromey@redhat.com>
11196
11197 * target-delegates.c: Rebuild.
11198 * target.c (update_current_target): Don't inherit or default
11199 to_insert_hw_breakpoint.
11200 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
11201 TARGET_DEFAULT_RETURN.
11202
11203 2014-02-19 Tom Tromey <tromey@redhat.com>
11204
11205 * target-delegates.c: Rebuild.
11206 * target.c (update_current_target): Don't inherit or default
11207 to_can_use_hw_breakpoint.
11208 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
11209 TARGET_DEFAULT_RETURN.
11210
11211 2014-02-19 Tom Tromey <tromey@redhat.com>
11212
11213 * target-delegates.c: Rebuild.
11214 * target.c (update_current_target): Don't inherit or default
11215 to_files_info.
11216 * target.h (struct target_ops) <to_files_info>: Use
11217 TARGET_DEFAULT_IGNORE.
11218
11219 2014-02-19 Tom Tromey <tromey@redhat.com>
11220
11221 * target-delegates.c: Rebuild.
11222 * target.c (update_current_target): Don't inherit or default
11223 to_store.
11224 * target.h (struct target_ops) <to_store>: Use
11225 TARGET_DEFAULT_NORETURN.
11226
11227 2014-02-19 Tom Tromey <tromey@redhat.com>
11228
11229 * target-delegates.c: Rebuild.
11230 * target.c (update_current_target): Don't inherit or default
11231 to_post_attach.
11232 * target.h (struct target_ops) <to_post_attach>: Use
11233 TARGET_DEFAULT_IGNORE.
11234
11235 2014-02-19 Tom Tromey <tromey@redhat.com>
11236
11237 * target-delegates.c: Rebuild.
11238 * target.c (update_current_target): Don't inherit or default
11239 to_rcmd.
11240 (default_rcmd): New function.
11241 (do_monitor_command): Unconditionally delegate.
11242 * target.h (struct target_ops) <to_rmcd>: Use
11243 TARGET_DEFAULT_FUNC.
11244
11245 2014-02-19 Tom Tromey <tromey@redhat.com>
11246
11247 * target-delegates.c: Rebuild.
11248 * target.c (init_dummy_target): Don't initialize to_attach.
11249 (target_attach): Unconditionally delegate.
11250 * target.h (struct target_ops) <to_attach>: Use
11251 TARGET_DEFAULT_FUNC.
11252
11253 2014-02-19 Tom Tromey <tromey@redhat.com>
11254
11255 * target-delegates.c: Rebuild.
11256 * target.c (target_detach): Unconditionally delegate.
11257 (init_dummy_target): Don't initialize to_detach.
11258 * target.h (struct target_ops) <to_detach>: Use
11259 TARGET_DEFAULT_IGNORE.
11260
11261 2014-02-19 Tom Tromey <tromey@redhat.com>
11262
11263 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11264 Add argument.
11265 (target_augmented_libraries_svr4_read): Add argument.
11266 * target.c (update_current_target): Update.
11267 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
11268 argument.
11269
11270 2014-02-19 Tom Tromey <tromey@redhat.com>
11271
11272 * target.h (struct target_ops) <to_call_history_range>: Add
11273 argument.
11274 * target.c (target_call_history_range): Add argument.
11275 * record-btrace.c (record_btrace_call_history_range): Add 'self'
11276 argument.
11277 (record_btrace_call_history_from): Update.
11278
11279 2014-02-19 Tom Tromey <tromey@redhat.com>
11280
11281 * target.h (struct target_ops) <to_call_history_from>: Add
11282 argument.
11283 * target.c (target_call_history_from): Add argument.
11284 * record-btrace.c (record_btrace_call_history_from): Add 'self'
11285 argument.
11286
11287 2014-02-19 Tom Tromey <tromey@redhat.com>
11288
11289 * target.h (struct target_ops) <to_call_history>: Add argument.
11290 * target.c (target_call_history): Add argument.
11291 * record-btrace.c (record_btrace_call_history): Add 'self'
11292 argument.
11293
11294 2014-02-19 Tom Tromey <tromey@redhat.com>
11295
11296 * target.h (struct target_ops) <to_insn_history_range>: Add
11297 argument.
11298 * target.c (target_insn_history_range): Add argument.
11299 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
11300 argument.
11301 (record_btrace_insn_history_from): Update.
11302
11303 2014-02-19 Tom Tromey <tromey@redhat.com>
11304
11305 * target.h (struct target_ops) <to_insn_history_from>: Add
11306 argument.
11307 * target.c (target_insn_history_from): Add argument.
11308 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
11309 argument.
11310
11311 2014-02-19 Tom Tromey <tromey@redhat.com>
11312
11313 * target.h (struct target_ops) <to_insn_history>: Add argument.
11314 * target.c (target_insn_history): Add argument.
11315 * record-btrace.c (record_btrace_insn_history): Add 'self'
11316 argument.
11317
11318 2014-02-19 Tom Tromey <tromey@redhat.com>
11319
11320 * target.h (struct target_ops) <to_goto_record>: Add argument.
11321 * target.c (target_goto_record): Add argument.
11322 * record-full.c (record_full_goto): Add 'self' argument.
11323 * record-btrace.c (record_btrace_goto): Add 'self' argument.
11324
11325 2014-02-19 Tom Tromey <tromey@redhat.com>
11326
11327 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
11328 * target.c (target_goto_record_end): Add argument.
11329 * record-full.c (record_full_goto_end): Add 'self' argument.
11330 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
11331
11332 2014-02-19 Tom Tromey <tromey@redhat.com>
11333
11334 * target.h (struct target_ops) <to_goto_record_begin>: Add
11335 argument.
11336 * target.c (target_goto_record_begin): Add argument.
11337 * record-full.c (record_full_goto_begin): Add 'self' argument.
11338 * record-btrace.c (record_btrace_goto_begin): Add 'self'
11339 argument.
11340
11341 2014-02-19 Tom Tromey <tromey@redhat.com>
11342
11343 * target.h (struct target_ops) <to_record_is_replaying>: Add
11344 argument.
11345 * target.c (target_record_is_replaying): Add argument.
11346 * record-full.c (record_full_is_replaying): Add 'self' argument.
11347 * record-btrace.c (record_btrace_is_replaying): Add 'self'
11348 argument.
11349 (record_btrace_xfer_partial, record_btrace_store_registers)
11350 (record_btrace_prepare_to_store, record_btrace_resume)
11351 (record_btrace_wait, record_btrace_decr_pc_after_break)
11352 (record_btrace_find_new_threads, record_btrace_thread_alive):
11353 Update.
11354
11355 2014-02-19 Tom Tromey <tromey@redhat.com>
11356
11357 * target.h (struct target_ops) <to_delete_record>: Add argument.
11358 * target.c (target_delete_record): Add argument.
11359 * record-full.c (record_full_delete): Add 'self' argument.
11360
11361 2014-02-19 Tom Tromey <tromey@redhat.com>
11362
11363 * target.h (struct target_ops) <to_save_record>: Add argument.
11364 * target.c (target_save_record): Add argument.
11365 * record-full.c (record_full_save): Add 'self' argument.
11366 (record_full_save): Add 'self' argument.
11367
11368 2014-02-19 Tom Tromey <tromey@redhat.com>
11369
11370 * target.h (struct target_ops) <to_info_record>: Add argument.
11371 * target.c (target_info_record): Add argument.
11372 * record.c (info_record_command): Add argument.
11373 * record-full.c (record_full_info): Add 'self' argument.
11374 * record-btrace.c (record_btrace_info): Add 'self' argument.
11375
11376 2014-02-19 Tom Tromey <tromey@redhat.com>
11377
11378 * target.h (struct target_ops) <to_stop_recording>: Add argument.
11379 * target.c (target_stop_recording): Add argument.
11380 * record.c (record_stop): Add argument.
11381 * record-btrace.c (record_btrace_stop_recording): Add 'self'
11382 argument.
11383
11384 2014-02-19 Tom Tromey <tromey@redhat.com>
11385
11386 * target.h (struct target_ops) <to_read_btrace>: Add argument.
11387 * target.c (struct target_ops) <to_read_btrace>: Add argument.
11388 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
11389 argument.
11390 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
11391 (_initialize_amd64_linux_nat): Use it.
11392 * i386-linux-nat.c (i386_linux_read_btrace): New function.
11393 (_initialize_i386_linux_nat): Use it.
11394
11395 2014-02-19 Tom Tromey <tromey@redhat.com>
11396
11397 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
11398 * target.c (target_teardown_btrace): Add argument.
11399 * remote.c (remote_teardown_btrace): Add 'self' argument.
11400 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
11401 argument.
11402 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
11403 argument.
11404
11405 2014-02-19 Tom Tromey <tromey@redhat.com>
11406
11407 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
11408 * target.c (target_disable_btrace): Add argument.
11409 * remote.c (remote_disable_btrace): Add 'self' argument.
11410 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
11411 argument.
11412 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
11413 argument.
11414
11415 2014-02-19 Tom Tromey <tromey@redhat.com>
11416
11417 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
11418 * target.c (target_enable_btrace): Add argument.
11419 * remote.c (remote_enable_btrace): Add 'self' argument.
11420 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
11421 argument.
11422 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
11423 argument.
11424
11425 2014-02-19 Tom Tromey <tromey@redhat.com>
11426
11427 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
11428 (target_can_use_agent): Add argument.
11429 * target.c (update_current_target): Update.
11430 * remote.c (remote_can_use_agent): Add 'self' argument.
11431 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
11432
11433 2014-02-19 Tom Tromey <tromey@redhat.com>
11434
11435 * target.h (struct target_ops) <to_use_agent>: Add argument.
11436 (target_use_agent): Add argument.
11437 * target.c (update_current_target): Update.
11438 * remote.c (remote_use_agent): Add 'self' argument.
11439 * inf-child.c (inf_child_use_agent): Add 'self' argument.
11440
11441 2014-02-19 Tom Tromey <tromey@redhat.com>
11442
11443 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
11444 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
11445 (target_traceframe_info): Add argument.
11446 * target.c (update_current_target): Update.
11447 * remote.c (remote_traceframe_info): Add 'self' argument.
11448 * ctf.c (ctf_traceframe_info): Add 'self' argument.
11449
11450 2014-02-19 Tom Tromey <tromey@redhat.com>
11451
11452 * target.h (target_static_tracepoint_markers_by_strid): Add
11453 argument.
11454 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
11455 'self' argument.
11456 * target.c (update_current_target): Update.
11457 * remote.c (struct target_ops)
11458 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11459 * linux-nat.c (struct target_ops)
11460 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11461
11462 2014-02-19 Tom Tromey <tromey@redhat.com>
11463
11464 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11465 Add argument.
11466 (target_static_tracepoint_marker_at): Add argument.
11467 * target.c (update_current_target): Update.
11468 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
11469 argument.
11470
11471 2014-02-19 Tom Tromey <tromey@redhat.com>
11472
11473 * target.h (struct target_ops) <to_set_permissions>: Add argument.
11474 (target_set_permissions): Add argument.
11475 * target.c (update_current_target): Update.
11476 * remote.c (remote_set_permissions): Add 'self' argument.
11477 (remote_start_remote): Update.
11478
11479 2014-02-19 Tom Tromey <tromey@redhat.com>
11480
11481 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
11482 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
11483 (target_get_tib_address): Add argument.
11484 * target.c (update_current_target): Update.
11485 * remote.c (remote_get_tib_address): Add 'self' argument.
11486
11487 2014-02-19 Tom Tromey <tromey@redhat.com>
11488
11489 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
11490 (target_set_trace_notes): Add argument.
11491 * target.c (update_current_target): Update.
11492 * remote.c (remote_set_trace_notes): Add 'self' argument.
11493
11494 2014-02-19 Tom Tromey <tromey@redhat.com>
11495
11496 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
11497 argument.
11498 (target_set_trace_buffer_size): Add argument.
11499 * target.c (update_current_target): Update.
11500 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
11501
11502 2014-02-19 Tom Tromey <tromey@redhat.com>
11503
11504 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
11505 argument.
11506 (target_set_circular_trace_buffer): Add argument.
11507 * target.c (update_current_target): Update.
11508 * remote.c (remote_set_circular_trace_buffer): Add 'self'
11509 argument.
11510
11511 2014-02-19 Tom Tromey <tromey@redhat.com>
11512
11513 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
11514 argument.
11515 (target_set_disconnected_tracing): Add argument.
11516 * target.c (update_current_target): Update.
11517 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
11518
11519 2014-02-19 Tom Tromey <tromey@redhat.com>
11520
11521 * target.h (struct target_ops)
11522 <to_get_min_fast_tracepoint_insn_len>: Add argument.
11523 (target_get_min_fast_tracepoint_insn_len): Add argument.
11524 * target.c (update_current_target): Update.
11525 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
11526 argument.
11527
11528 2014-02-19 Tom Tromey <tromey@redhat.com>
11529
11530 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
11531 argument.
11532 (target_get_raw_trace_data): Add argument.
11533 * target.c (update_current_target): Update.
11534 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
11535
11536 2014-02-19 Tom Tromey <tromey@redhat.com>
11537
11538 * target.h (struct target_ops) <to_upload_trace_state_variables>:
11539 Add argument.
11540 (target_upload_trace_state_variables): Add argument.
11541 * target.c (update_current_target): Update.
11542 * remote.c (remote_upload_trace_state_variables): Add 'self'
11543 argument.
11544 (remote_start_remote): Update.
11545
11546 2014-02-19 Tom Tromey <tromey@redhat.com>
11547
11548 * target.h (struct target_ops) <to_upload_tracepoints>: Add
11549 argument.
11550 (target_upload_tracepoints): Add argument.
11551 * target.c (update_current_target): Update.
11552 * remote.c (remote_upload_tracepoints): Add 'self' argument.
11553 (remote_start_remote): Update.
11554
11555 2014-02-19 Tom Tromey <tromey@redhat.com>
11556
11557 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
11558 (target_save_trace_data): Add argument.
11559 * target.c (update_current_target): Update.
11560 * remote.c (remote_save_trace_data): Add 'self' argument.
11561
11562 2014-02-19 Tom Tromey <tromey@redhat.com>
11563
11564 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
11565 argument.
11566 * target.h (struct target_ops)
11567 <to_get_trace_state_variable_value>: Add argument.
11568 (target_get_trace_state_variable_value): Add argument.
11569 * target.c (update_current_target): Update.
11570 * remote.c (remote_get_trace_state_variable_value): Add 'self'
11571 argument.
11572 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
11573
11574 2014-02-19 Tom Tromey <tromey@redhat.com>
11575
11576 * tracepoint.c (tfile_trace_find): Add 'self' argument.
11577 * target.h (struct target_ops) <to_trace_find>: Add argument.
11578 (target_trace_find): Add argument.
11579 * target.c (update_current_target): Update.
11580 * remote.c (remote_trace_find): Add 'self' argument.
11581 * ctf.c (ctf_trace_find): Add 'self' argument.
11582
11583 2014-02-19 Tom Tromey <tromey@redhat.com>
11584
11585 * target.h (struct target_ops) <to_trace_stop>: Add argument.
11586 (target_trace_stop): Add argument.
11587 * target.c (update_current_target): Update.
11588 * remote.c (remote_trace_stop): Add 'self' argument.
11589
11590 2014-02-19 Tom Tromey <tromey@redhat.com>
11591
11592 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
11593 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
11594 argument.
11595 (target_get_tracepoint_status): Add argument.
11596 * target.c (update_current_target): Update.
11597 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
11598
11599 2014-02-19 Tom Tromey <tromey@redhat.com>
11600
11601 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
11602 * target.h (struct target_ops) <to_get_trace_status>: Add
11603 argument.
11604 (target_get_trace_status): Add argument.
11605 * target.c (update_current_target): Update.
11606 * remote.c (remote_get_trace_status): Add 'self' argument.
11607 (remote_start_remote, remote_can_download_tracepoint): Update.
11608 * ctf.c (ctf_get_trace_status): Add 'self' argument.
11609
11610 2014-02-19 Tom Tromey <tromey@redhat.com>
11611
11612 * target.h (struct target_ops) <to_trace_start>: Add argument.
11613 (target_trace_start): Add argument.
11614 * target.c (update_current_target): Update.
11615 * remote.c (remote_trace_start): Add 'self' argument.
11616
11617 2014-02-19 Tom Tromey <tromey@redhat.com>
11618
11619 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11620 Add argument.
11621 (target_trace_set_readonly_regions): Add argument.
11622 * target.c (update_current_target): Update.
11623 * remote.c (remote_trace_set_readonly_regions): Add 'self'
11624 argument.
11625
11626 2014-02-19 Tom Tromey <tromey@redhat.com>
11627
11628 * target.h (struct target_ops) <to_disable_tracepoint>: Add
11629 argument.
11630 (target_disable_tracepoint): Add argument.
11631 * target.c (update_current_target): Update.
11632 * remote.c (remote_disable_tracepoint): Add 'self' argument.
11633
11634 2014-02-19 Tom Tromey <tromey@redhat.com>
11635
11636 * target.h (struct target_ops) <to_enable_tracepoint>: Add
11637 argument.
11638 (target_enable_tracepoint): Add argument.
11639 * target.c (update_current_target): Update.
11640 * remote.c (remote_enable_tracepoint): Add 'self' argument.
11641
11642 2014-02-19 Tom Tromey <tromey@redhat.com>
11643
11644 * target.h (struct target_ops) <to_download_trace_state_variable>:
11645 Add argument.
11646 (target_download_trace_state_variable): Add argument.
11647 * target.c (update_current_target): Update.
11648 * remote.c (remote_download_trace_state_variable): Add 'self'
11649 argument.
11650
11651 2014-02-19 Tom Tromey <tromey@redhat.com>
11652
11653 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
11654 argument.
11655 (target_can_download_tracepoint): Add argument.
11656 * target.c (update_current_target): Update.
11657 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
11658
11659 2014-02-19 Tom Tromey <tromey@redhat.com>
11660
11661 * target.h (struct target_ops) <to_download_tracepoint>: Add
11662 argument.
11663 (target_download_tracepoint): Add argument.
11664 * target.c (update_current_target): Update.
11665 * remote.c (remote_download_tracepoint): Add 'self' argument.
11666
11667 2014-02-19 Tom Tromey <tromey@redhat.com>
11668
11669 * target.h (struct target_ops) <to_trace_init>: Add argument.
11670 (target_trace_init): Add argument.
11671 * target.c (update_current_target): Update.
11672 * remote.c (remote_trace_init): Add 'self' argument.
11673
11674 2014-02-19 Tom Tromey <tromey@redhat.com>
11675
11676 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
11677 * target.c (target_fileio_readlink): Add argument.
11678 * remote.c (remote_hostio_readlink): Add 'self' argument.
11679 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
11680
11681 2014-02-19 Tom Tromey <tromey@redhat.com>
11682
11683 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
11684 * target.c (target_fileio_unlink): Add argument.
11685 * remote.c (remote_hostio_unlink): Add 'self' argument.
11686 (remote_file_delete): Update.
11687 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
11688
11689 2014-02-19 Tom Tromey <tromey@redhat.com>
11690
11691 * target.h (struct target_ops) <to_fileio_close>: Add argument.
11692 * target.c (target_fileio_close): Add argument.
11693 * remote.c (remote_hostio_close): Add 'self' argument.
11694 (remote_hostio_close_cleanup): Update.
11695 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
11696 Update.
11697 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
11698
11699 2014-02-19 Tom Tromey <tromey@redhat.com>
11700
11701 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
11702 * target.c (target_fileio_pread): Add argument.
11703 * remote.c (remote_hostio_pread): Add 'self' argument.
11704 (remote_bfd_iovec_pread, remote_file_get): Update.
11705 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
11706
11707 2014-02-19 Tom Tromey <tromey@redhat.com>
11708
11709 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
11710 * target.c (target_fileio_pwrite): Add argument.
11711 * remote.c (remote_hostio_pwrite): Add 'self' argument.
11712 (remote_file_put): Update.
11713 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
11714
11715 2014-02-19 Tom Tromey <tromey@redhat.com>
11716
11717 * target.h (struct target_ops) <to_fileio_open>: Add argument.
11718 * target.c (target_fileio_open): Add argument.
11719 * remote.c (remote_hostio_open): Add 'self' argument.
11720 (remote_bfd_iovec_open): Add 'self' argument.
11721 (remote_file_put): Add 'self' argument.
11722 (remote_file_get): Add 'self' argument.
11723 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
11724
11725 2014-02-19 Tom Tromey <tromey@redhat.com>
11726
11727 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
11728 Add argument.
11729 (target_can_run_breakpoint_commands): Add argument.
11730 * target.c (update_current_target): Update.
11731 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
11732 argument.
11733 (remote_insert_breakpoint): Add 'self' argument.
11734 (remote_insert_hw_breakpoint): Add 'self' argument.
11735 (remote_can_run_breakpoint_commands): Add 'self' argument.
11736
11737 2014-02-19 Tom Tromey <tromey@redhat.com>
11738
11739 * target.h (struct target_ops)
11740 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
11741 (target_supports_evaluation_of_breakpoint_conditions): Add
11742 argument.
11743 * target.c (update_current_target): Update.
11744 * remote.c (remote_supports_cond_breakpoints): Add 'self'
11745 argument.
11746 (remote_insert_breakpoint): Add 'self' argument.
11747 (remote_insert_hw_breakpoint): Add 'self' argument.
11748 (remote_supports_cond_breakpoints): Add 'self' argument.
11749
11750 2014-02-19 Tom Tromey <tromey@redhat.com>
11751
11752 * target.h (struct target_ops) <to_supports_string_tracing>: Add
11753 argument.
11754 (target_supports_string_tracing): Add argument.
11755 * target.c (update_current_target): Update.
11756 * remote.c (remote_supports_string_tracing): Add 'self' argument.
11757
11758 2014-02-19 Tom Tromey <tromey@redhat.com>
11759
11760 * target.h (struct target_ops)
11761 <to_supports_disable_randomization>: Add argument.
11762 * target.c (find_default_supports_disable_randomization): Add
11763 argument.
11764 (target_supports_disable_randomization): Add argument.
11765 (find_default_supports_disable_randomization): Add 'self'
11766 argument.
11767 * remote.c (extended_remote_supports_disable_randomization): Add
11768 'self' argument.
11769 (remote_supports_disable_randomization): Add 'self' argument.
11770 (extended_remote_create_inferior): Update.
11771 * linux-nat.c (linux_nat_supports_disable_randomization): Add
11772 'self' argument.
11773
11774 2014-02-19 Tom Tromey <tromey@redhat.com>
11775
11776 * target.h (struct target_ops)
11777 <to_supports_enable_disable_tracepoint>: Add argument.
11778 (target_supports_enable_disable_tracepoint): Add argument.
11779 * target.c (update_current_target): Update.
11780 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
11781 argument.
11782
11783 2014-02-19 Tom Tromey <tromey@redhat.com>
11784
11785 * target.h (struct target_ops) <to_supports_multi_process>: Add
11786 argument.
11787 (target_supports_multi_process): Add argument.
11788 * target.c (update_current_target): Update.
11789 * remote.c (remote_supports_multi_process): Add 'self' argument.
11790 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
11791 argument.
11792 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
11793 argument.
11794
11795 2014-02-19 Tom Tromey <tromey@redhat.com>
11796
11797 * target.h (struct target_ops) <to_execution_direction>: Add
11798 argument.
11799 (target_execution_direction): Add argument.
11800 * target.c (default_execution_direction): Add 'self' argument.
11801 * record-full.c (record_full_execution_direction): Add 'self'
11802 argument.
11803
11804 2014-02-19 Tom Tromey <tromey@redhat.com>
11805
11806 * target.h (struct target_ops) <to_can_execute_reverse>: Add
11807 argument.
11808 (target_can_execute_reverse): Add argument.
11809 * remote.c (remote_can_execute_reverse): Add 'self' argument.
11810 * record-full.c (record_full_can_execute_reverse): Add 'self'
11811 argument.
11812 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
11813 argument.
11814
11815 2014-02-19 Tom Tromey <tromey@redhat.com>
11816
11817 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
11818 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
11819 argument.
11820 (target_get_ada_task_ptid): Add argument.
11821 * target.c (update_current_target): Update.
11822 (default_get_ada_task_ptid): Add 'self' argument.
11823 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
11824 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
11825 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
11826 argument.
11827 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
11828 argument.
11829 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
11830 argument.
11831 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
11832 argument.
11833 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
11834 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
11835 argument.
11836
11837 2014-02-19 Tom Tromey <tromey@redhat.com>
11838
11839 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
11840 (target_goto_bookmark): Add argument.
11841 * target.c (dummy_goto_bookmark): Add 'self' argument.
11842 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
11843
11844 2014-02-19 Tom Tromey <tromey@redhat.com>
11845
11846 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
11847 (target_get_bookmark): Add argument.
11848 * target.c (dummy_get_bookmark): Add 'self' argument.
11849 * record-full.c (record_full_get_bookmark): Add 'self' argument.
11850
11851 2014-02-19 Tom Tromey <tromey@redhat.com>
11852
11853 * target.h (struct target_ops) <to_make_corefile_notes>: Add
11854 argument.
11855 (target_make_corefile_notes): Add argument.
11856 * target.c (dummy_make_corefile_notes): Add 'self' argument.
11857 * procfs.c (procfs_make_note_section): Add 'self' argument.
11858 (procfs_make_note_section): Add 'self' argument.
11859 (procfs_make_note_section): Add 'self' argument.
11860 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
11861 argument.
11862 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
11863 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
11864 * exec.c (exec_make_note_section): Add 'self' argument.
11865 (exec_make_note_section): Add 'self' argument.
11866
11867 2014-02-19 Tom Tromey <tromey@redhat.com>
11868
11869 * target.h (struct target_ops) <to_find_memory_regions>: Add
11870 argument.
11871 (target_find_memory_regions): Add argument.
11872 * target.c (dummy_find_memory_regions): Add 'self' argument.
11873 * procfs.c (proc_find_memory_regions): Add 'self' argument.
11874 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
11875 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
11876 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
11877 * exec. (exec_do_find_memory_regions): New global.
11878 (exec_set_find_memory_regions): Rewrite.
11879 (exec_find_memory_regions): New function.
11880 (init_exec_ops): Use exec_find_memory_regions.
11881
11882 2014-02-19 Tom Tromey <tromey@redhat.com>
11883
11884 * target.h (struct target_ops) <to_supports_non_stop>: Add
11885 argument.
11886 * target.c (find_default_supports_non_stop): Add argument.
11887 (target_supports_non_stop): Add argument.
11888 (find_default_supports_non_stop): Add 'self' argument.
11889 * remote.c (remote_supports_non_stop): Add 'self' argument.
11890 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
11891
11892 2014-02-19 Tom Tromey <tromey@redhat.com>
11893
11894 * target.h (struct target_ops) <to_log_command>: Add argument.
11895 (target_log_command): Add argument.
11896 * serial.h (serial_log_command): Add 'self' argument.
11897 * serial.c (serial_log_command): Add 'self' argument.
11898
11899 2014-02-19 Tom Tromey <tromey@redhat.com>
11900
11901 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
11902 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
11903 argument.
11904 (target_pid_to_exec_file): Add argument.
11905 * target.c (debug_to_pid_to_exec_file): Add argument.
11906 (update_current_target): Update.
11907 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
11908 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
11909 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
11910 (linux_handle_extended_wait): Update.
11911 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
11912 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
11913 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
11914 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
11915
11916 2014-02-19 Tom Tromey <tromey@redhat.com>
11917
11918 * target.h (struct target_ops) <to_rcmd>: Add argument.
11919 (target_rcmd): Add argument.
11920 * target.c (debug_to_rcmd): Add argument.
11921 (update_current_target, do_monitor_command): Update.
11922 * remote.c (remote_rcmd): Add 'self' argument.
11923 * monitor.c (monitor_rcmd): Add 'self' argument.
11924
11925 2014-02-19 Tom Tromey <tromey@redhat.com>
11926
11927 * windows-nat.c (windows_stop): Add 'self' argument.
11928 * target.h (struct target_ops) <to_stop>: Add argument.
11929 * target.c (target_stop): Add argument.
11930 (debug_to_stop): Add argument.
11931 (update_current_target): Update.
11932 * remote.c (remote_stop): Add 'self' argument.
11933 * remote-sim.c (gdbsim_stop): Add 'self' argument.
11934 (gdbsim_cntrl_c): Update.
11935 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
11936 * procfs.c (procfs_stop): Add 'self' argument.
11937 * nto-procfs.c (procfs_stop): Add 'self' argument.
11938 * monitor.c (monitor_stop): Add 'self' argument.
11939 (monitor_open): Update.
11940 * linux-nat.c (linux_nat_stop): Add argument.
11941 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
11942 * gnu-nat.c (gnu_stop): Add 'self' argument.
11943 * darwin-nat.c (darwin_stop): Add 'self' argument.
11944
11945 2014-02-19 Tom Tromey <tromey@redhat.com>
11946
11947 * target.h (struct target_ops) <to_thread_name>: Add argument.
11948 * target.c (target_thread_name): Add argument.
11949 (update_current_target): Update.
11950 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
11951
11952 2014-02-19 Tom Tromey <tromey@redhat.com>
11953
11954 * target.h (struct target_ops) <to_extra_thread_info>: Add
11955 argument.
11956 (target_extra_thread_info): Add argument.
11957 * target.c (update_current_target): Update.
11958 * remote.c (remote_threads_extra_info): Add 'self' argument.
11959 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
11960 argument.
11961 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
11962 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
11963 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
11964 argument.
11965 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
11966 argument.
11967 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
11968 argument.
11969 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
11970 argument.
11971
11972 2014-02-19 Tom Tromey <tromey@redhat.com>
11973
11974 * target.h (struct target_ops) <to_program_signals>: Add argument.
11975 * target.c (target_program_signals): Add argument.
11976 * remote.c (remote_program_signals): Add 'self' argument.
11977
11978 2014-02-19 Tom Tromey <tromey@redhat.com>
11979
11980 * target.h (struct target_ops) <to_pass_signals>: Add argument.
11981 * target.c (target_pass_signals): Add argument.
11982 * remote.c (remote_pass_signals): Add 'self' argument.
11983 (remote_start_remote): Update.
11984 * procfs.c (procfs_pass_signals): Add 'self' argument.
11985 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
11986 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
11987 (linux_nat_create_inferior, linux_nat_attach): Update.
11988
11989 2014-02-19 Tom Tromey <tromey@redhat.com>
11990
11991 * windows-nat.c (windows_can_run): Add 'self' argument.
11992 * target.h (struct target_ops) <to_can_run>: Add argument.
11993 (target_can_run): Add argument.
11994 * target.c (debug_to_can_run): Add argument.
11995 (update_current_target): Update.
11996 * nto-procfs.c (procfs_can_run): Add 'self' argument.
11997 * inf-child.c (inf_child_can_run): Add 'self' argument.
11998 * go32-nat.c (go32_can_run): Add 'self' argument.
11999
12000 2014-02-19 Tom Tromey <tromey@redhat.com>
12001
12002 * target.h (struct target_ops) <to_has_exited>: Add argument.
12003 (target_has_exited): Add argument.
12004 * target.c (debug_to_has_exited): Add argument.
12005 (update_current_target): Update.
12006
12007 2014-02-19 Tom Tromey <tromey@redhat.com>
12008
12009 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
12010 argument.
12011 (target_set_syscall_catchpoint): Add argument.
12012 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
12013 argument.
12014 * target.c (update_current_target): Update.
12015
12016 2014-02-19 Tom Tromey <tromey@redhat.com>
12017
12018 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
12019 argument.
12020 (target_remove_exec_catchpoint): Add argument.
12021 * target.c (debug_to_remove_exec_catchpoint): Add argument.
12022 (update_current_target): Update.
12023 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
12024 argument.
12025
12026 2014-02-19 Tom Tromey <tromey@redhat.com>
12027
12028 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
12029 argument.
12030 (target_insert_exec_catchpoint): Add argument.
12031 * target.c (debug_to_insert_exec_catchpoint): Add argument.
12032 (update_current_target): Update.
12033 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
12034 argument.
12035
12036 2014-02-19 Tom Tromey <tromey@redhat.com>
12037
12038 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
12039 argument.
12040 (target_remove_vfork_catchpoint): Add argument.
12041 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
12042 (update_current_target): Update.
12043 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
12044 argument.
12045
12046 2014-02-19 Tom Tromey <tromey@redhat.com>
12047
12048 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
12049 argument.
12050 (target_insert_vfork_catchpoint): Add argument.
12051 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
12052 (update_current_target): Update.
12053 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
12054 argument.
12055
12056 2014-02-19 Tom Tromey <tromey@redhat.com>
12057
12058 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
12059 argument.
12060 (target_remove_fork_catchpoint): Add argument.
12061 * target.c (debug_to_remove_fork_catchpoint): Add argument.
12062 (update_current_target): Update.
12063 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
12064 argument.
12065
12066 2014-02-19 Tom Tromey <tromey@redhat.com>
12067
12068 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
12069 argument.
12070 (target_insert_fork_catchpoint): Add argument.
12071 * target.c (debug_to_insert_fork_catchpoint): Add argument.
12072 (update_current_target): Update.
12073 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
12074 argument.
12075
12076 2014-02-19 Tom Tromey <tromey@redhat.com>
12077
12078 * target.h (struct target_ops) <to_post_startup_inferior>: Add
12079 argument.
12080 (target_post_startup_inferior): Add argument.
12081 * target.c (debug_to_post_startup_inferior): Add argument.
12082 (update_current_target): Update.
12083 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
12084 argument.
12085 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
12086 argument.
12087 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
12088 argument.
12089 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
12090 argument.
12091 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
12092 'self' argument.
12093 (super_post_startup_inferior): Likewise.
12094 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
12095 'self' argument.
12096 (super_post_startup_inferior): Likewise.
12097 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
12098 Add 'self' argument.
12099 (super_post_startup_inferior): Likewise.
12100
12101 2014-02-19 Tom Tromey <tromey@redhat.com>
12102
12103 * target.h (struct target_ops) <to_load>: Add argument.
12104 * target.c (target_load): Add argument.
12105 (debug_to_load): Add argument.
12106 (update_current_target): Update.
12107 * remote.c (remote_load): Add 'self' argument.
12108 * remote-sim.c (gdbsim_load): Add 'self' argument.
12109 * remote-mips.c (mips_load): Add 'self' argument.
12110 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
12111 * monitor.c (monitor_load): Add 'self' argument.
12112 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
12113
12114 2014-02-19 Tom Tromey <tromey@redhat.com>
12115
12116 * target.h (struct target_ops) <to_terminal_info>: Add argument.
12117 (target_terminal_info): Add argument.
12118 * target.c (debug_to_terminal_info): Add argument.
12119 (default_terminal_info): Likewise.
12120 * inflow.c (child_terminal_info): Add 'self' argument.
12121 * inferior.h (child_terminal_info): Add 'self' argument.
12122 * go32-nat.c (go32_terminal_info): Add 'self' argument.
12123
12124 2014-02-19 Tom Tromey <tromey@redhat.com>
12125
12126 * target.h (struct target_ops) <to_terminal_save_ours>: Add
12127 argument.
12128 (target_terminal_save_ours): Add argument.
12129 * target.c (debug_to_terminal_save_ours): Add argument.
12130 (update_current_target): Update.
12131 * inflow.c (terminal_save_ours): Add 'self' argument.
12132 * inferior.h (terminal_save_ours): Add 'self' argument.
12133
12134 2014-02-19 Tom Tromey <tromey@redhat.com>
12135
12136 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
12137 (target_terminal_ours): Add argument.
12138 * target.c (debug_to_terminal_ours): Add argument.
12139 (update_current_target): Update.
12140 * remote.c (remote_terminal_ours): Add 'self' argument.
12141 (remote_close): Update.
12142 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
12143 * inflow.c (terminal_ours): Add 'self' argument.
12144 * inferior.h (terminal_ours): Add 'self' argument.
12145 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12146
12147 2014-02-19 Pedro Alves <palves@redhat.com>
12148 Tom Tromey <tromey@redhat.com>
12149
12150 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
12151 argument.
12152 (target_terminal_ours_for_output): Add argument.
12153 * target.c (debug_to_terminal_ours_for_output): Add argument.
12154 (update_current_target): Update.
12155 * inflow.c (terminal_ours_for_output): Add 'self' argument.
12156 * inferior.h (terminal_ours_for_output): Add 'self' argument.
12157 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12158
12159 2014-02-19 Tom Tromey <tromey@redhat.com>
12160
12161 * target.h (struct target_ops) <to_terminal_inferior>: Add
12162 argument.
12163 * target.c (target_terminal_inferior): Add argument.
12164 (update_current_target): Update.
12165 * remote.c (remote_terminal_inferior): Add 'self' argument.
12166 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
12167 * inflow.c (terminal_inferior): Add 'self' argument.
12168 * inferior.h (terminal_inferior): Add 'self' argument.
12169 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
12170 (go32_terminal_inferior): Add 'self' argument.
12171
12172 2014-02-19 Tom Tromey <tromey@redhat.com>
12173
12174 * target.h (struct target_ops) <to_terminal_init>: Add argument.
12175 (target_terminal_init): Add argument.
12176 * target.c (debug_to_terminal_init): Add argument.
12177 (update_current_target): Update.
12178 * inflow.c (terminal_init_inferior): Add 'self' argument.
12179 * inferior.h (terminal_init_inferior): Add 'self' argument.
12180 * go32-nat.c (go32_terminal_init): Add 'self' argument.
12181 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
12182
12183 2014-02-19 Tom Tromey <tromey@redhat.com>
12184
12185 * target.h (struct target_ops)
12186 <to_can_accel_watchpoint_condition>: Add argument.
12187 (target_can_accel_watchpoint_condition): Add argument.
12188 * target.c (debug_to_can_accel_watchpoint_condition): Add
12189 argument.
12190 (update_current_target): Update.
12191 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
12192 'self' argument.
12193
12194 2014-02-19 Tom Tromey <tromey@redhat.com>
12195
12196 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
12197 Add argument.
12198 (target_region_ok_for_hw_watchpoint): Add argument.
12199 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
12200 (default_region_ok_for_hw_watchpoint): Add argument.
12201 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
12202 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
12203 argument.
12204 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
12205 argument.
12206 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
12207 argument.
12208 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
12209 'self' argument.
12210 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
12211 'self' argument.
12212 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
12213 'self' argument.
12214 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
12215 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
12216 'self' argument.
12217 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
12218 Add 'self' argument.
12219
12220 2014-02-19 Tom Tromey <tromey@redhat.com>
12221
12222 * target.h (struct target_ops) <to_insert_watchpoint>: Add
12223 argument.
12224 (target_insert_watchpoint): Add argument.
12225 * target.c (debug_to_insert_watchpoint): Add argument.
12226 (update_current_target): Update.
12227 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
12228 * remote.c (remote_insert_watchpoint): Add 'self' argument.
12229 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
12230 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
12231 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
12232 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
12233 argument.
12234 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
12235 (procfs_insert_hw_watchpoint): Add 'self' argument.
12236 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
12237 argument.
12238 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
12239 argument.
12240 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
12241 argument.
12242 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
12243 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
12244 argument.
12245 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
12246 'self' argument.
12247
12248 2014-02-19 Tom Tromey <tromey@redhat.com>
12249
12250 * target.h (struct target_ops) <to_remove_watchpoint>: Add
12251 argument.
12252 (target_remove_watchpoint): Add argument.
12253 * target.c (debug_to_remove_watchpoint): Add argument.
12254 (update_current_target): Update.
12255 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
12256 * remote.c (remote_remove_watchpoint): Add 'self' argument.
12257 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
12258 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
12259 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
12260 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
12261 argument.
12262 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
12263 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
12264 argument.
12265 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
12266 argument.
12267 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
12268 argument.
12269 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
12270 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
12271 argument.
12272 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
12273 'self' argument.
12274
12275 2014-02-19 Tom Tromey <tromey@redhat.com>
12276
12277 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
12278 argument.
12279 (target_remove_hw_breakpoint): Add argument.
12280 * target.c (debug_to_remove_hw_breakpoint): Add argument.
12281 (update_current_target): Update.
12282 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
12283 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
12284 argument.
12285 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
12286 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
12287 argument.
12288 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
12289 'self' argument.
12290
12291 2014-02-19 Tom Tromey <tromey@redhat.com>
12292
12293 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
12294 argument.
12295 (target_insert_hw_breakpoint): Add argument.
12296 * target.c (debug_to_insert_hw_breakpoint): Add argument.
12297 (update_current_target): Update.
12298 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
12299 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
12300 argument.
12301 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
12302 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
12303 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
12304 argument.
12305 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
12306 'self' argument.
12307
12308 2014-02-19 Tom Tromey <tromey@redhat.com>
12309
12310 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
12311 argument.
12312 (target_can_use_hardware_watchpoint): Add argument.
12313 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
12314 (update_current_target): Update.
12315 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
12316 argument.
12317 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
12318 argument.
12319 * remote.c (remote_check_watch_resources): Add 'self' argument.
12320 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
12321 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
12322 argument.
12323 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
12324 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
12325 argument.
12326 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
12327 argument.
12328 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
12329 argument.
12330 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
12331 argument.
12332 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
12333 argument.
12334 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
12335 argument.
12336 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
12337 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
12338 argument.
12339 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
12340 'self' argument.
12341
12342 2014-02-19 Tom Tromey <tromey@redhat.com>
12343
12344 * target.h (struct target_ops) <to_post_attach>: Add argument.
12345 (target_post_attach): Add argument.
12346 * target.c (debug_to_post_attach): Add argument.
12347 (update_current_target): Update.
12348 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
12349 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
12350 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
12351 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
12352 * inf-child.c (inf_child_post_attach): Add 'self' argument.
12353
12354 2014-02-19 Tom Tromey <tromey@redhat.com>
12355
12356 * windows-nat.c (windows_close): Add 'self' argument.
12357 * tracepoint.c (tfile_close): Add 'self' argument.
12358 * target.h (struct target_ops) <to_close>: Add argument.
12359 * target.c (target_close): Add argument.
12360 (update_current_target): Update.
12361 * remote.c (remote_close): Add 'self' argument.
12362 * remote-sim.c (gdbsim_close): Add 'self' argument.
12363 * remote-mips.c (mips_close): Add 'self' argument.
12364 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
12365 * record-full.c (record_full_close): Add 'self' argument.
12366 * record-btrace.c (record_btrace_close): Add 'self' argument.
12367 * monitor.h (monitor_close): Add 'self' argument.
12368 * monitor.c (monitor_close): Add 'self' argument.
12369 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
12370 * linux-nat.c (linux_nat_close): Add argument.
12371 * go32-nat.c (go32_close): Add 'self' argument.
12372 * exec.c (exec_close_1): Add 'self' argument.
12373 * ctf.c (ctf_close): Add 'self' argument.
12374 * corelow.c (core_close): Add 'self' argument.
12375 (core_close_cleanup): Update.
12376 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
12377 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
12378
12379 2014-02-19 Tom Tromey <tromey@redhat.com>
12380
12381 * remote.c (remote_load): New function.
12382 (init_remote_ops): Use it.
12383
12384 2014-02-19 Tom Tromey <tromey@redhat.com>
12385
12386 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
12387 argument.
12388 * common/linux-btrace.h (linux_supports_btrace): Update.
12389 * remote.c (remote_supports_btrace): Add "self" argument.
12390 * target-delegates.c: Rebuild.
12391 * target.c (target_supports_btrace): Remove.
12392 * target.h (struct target_ops) <to_supports_btrace>: Add
12393 target_ops argument.
12394 (target_supports_btrace): New define.
12395
12396 2014-02-19 Tom Tromey <tromey@redhat.com>
12397
12398 * record-full.c (record_full_beneath_to_resume_ops)
12399 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
12400 (record_full_beneath_to_wait)
12401 (record_full_beneath_to_store_registers_ops)
12402 (record_full_beneath_to_store_registers)
12403 (record_full_beneath_to_xfer_partial_ops)
12404 (record_full_beneath_to_xfer_partial)
12405 (record_full_beneath_to_insert_breakpoint_ops)
12406 (record_full_beneath_to_insert_breakpoint)
12407 (record_full_beneath_to_remove_breakpoint_ops)
12408 (record_full_beneath_to_remove_breakpoint)
12409 (record_full_beneath_to_stopped_by_watchpoint)
12410 (record_full_beneath_to_stopped_data_address)
12411 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
12412 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
12413 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
12414 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
12415 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
12416 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
12417 (tmp_to_stopped_data_address, tmp_to_async): Remove.
12418 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
12419 (record_full_resume, record_full_wait_1)
12420 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
12421 (record_full_store_registers, record_full_xfer_partial)
12422 (record_full_insert_breakpoint, record_full_remove_breakpoint)
12423 (record_full_async, record_full_core_xfer_partial): Use target
12424 delegation.
12425 * target-delegates.c: Rebuild.
12426 * target.c (current_xfer_partial): Remove.
12427 (update_current_target): Do not INHERIT or de_fault
12428 to_insert_breakpoint, to_remove_breakpoint,
12429 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
12430 to_is_async_p, to_async. Do not set to_xfer_partial field.
12431 (default_xfer_partial): Simplify.
12432 (current_xfer_partial): Remove.
12433 (target_wait, target_resume): Simplify.
12434 (find_default_can_async_p, find_default_is_async_p): Update.
12435 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
12436 to_xfer_partial, to_stopped_by_watchpoint,
12437 to_stopped_data_address.
12438 (target_store_registers): Simplify.
12439 (forward_target_remove_breakpoint)
12440 (forward_target_insert_breakpoint): Remove.
12441 (target_remove_breakpoint, target_insert_breakpoint)
12442 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
12443 * target.h (struct target_ops) <to_resume, to_wait,
12444 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
12445 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
12446 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
12447 markup.
12448 (forward_target_remove_breakpoint)
12449 (forward_target_insert_breakpoint): Remove.
12450 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
12451 directly.
12452 (record_btrace_insert_breakpoint): Delegate directly.
12453
12454 2014-02-19 Tom Tromey <tromey@redhat.com>
12455
12456 PR build/7701:
12457 * target-delegates.c: New file.
12458 * target.c: Include target-delegates.c.
12459 (init_dummy_target): Call install_dummy_methods.
12460 (complete_target_initialization): Call install_delegators.
12461 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
12462 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
12463 * make-target-delegates: New file.
12464
12465 2014-02-19 Tom Tromey <tromey@redhat.com>
12466
12467 * record.c (find_record_target): Use find_target_at.
12468 * target.c (find_target_at): New function.
12469 * target.h (find_target_at): Declare.
12470
12471 2014-02-19 Tom Tromey <tromey@redhat.com>
12472
12473 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
12474 Add 'ops' argument.
12475 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
12476 'ops' argument.
12477 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
12478 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
12479 'ops' argument.
12480 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
12481 argument.
12482 * linux-nat.c (save_sigtrap): Update.
12483 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
12484 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
12485 (linux_nat_close): Update.
12486 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
12487 argument.
12488 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
12489 argument.
12490 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
12491 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
12492 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
12493 (tmp_to_async): Add 'ops' argument.
12494 (record_full_stopped_by_watchpoint, record_full_async)
12495 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
12496 argument.
12497 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
12498 (m32r_stopped_by_watchpoint): Add 'ops' argument.
12499 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
12500 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
12501 (remote_is_async_p, remote_async): Add 'ops' argument.
12502 (remote_stopped_data_address): Update.
12503 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
12504 * target.c (update_current_target)
12505 (find_default_can_async_p, find_default_is_async_p): Update.
12506 (init_dummy_target): Update.
12507 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
12508 * target.h (struct target_ops) <to_stopped_by_watchpoint,
12509 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
12510 (target_can_async_p, target_is_async_p, target_async)
12511 (target_stopped_by_watchpoint): Update.
12512
12513 2014-02-19 Yao Qi <yao@codesourcery.com>
12514
12515 PR gdb/16220
12516 * gdbarch.sh: Remove startup_gdbarch.
12517 * gdbarch.c: Regenerated.
12518 * gdbarch.h: Likewise.
12519
12520 2014-02-17 Kevin Buettner <kevinb@redhat.com>
12521
12522 * rl78-tdep.c (rl78_g10_register_name): New function.
12523 (rl78_return_value): Add g10 support.
12524 (rl78_gdbarch_init): Register rl78_g10_register_name for the
12525 g10.
12526
12527 2014-02-17 Doug Evans <xdje42@gmail.com>
12528
12529 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
12530 (SUBDIR_GUILE_SRCS): Ditto.
12531 (scm-gsmob.o): Ditto.
12532
12533 2014-02-17 Yao Qi <yao@codesourcery.com>
12534
12535 * gnu-nat.c (ILL_RPC): Declare defined function.
12536
12537 2014-02-17 Yao Qi <yao@codesourcery.com>
12538
12539 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
12540 mach_msg_type_number_t.
12541 (gnu_write_inferior): Likewise.
12542
12543 2014-02-17 Yao Qi <yao@codesourcery.com>
12544
12545 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
12546 in format string.
12547 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
12548 (inf_validate_procs, inf_signal): Likewise.
12549 (S_exception_raise_request): Likewise.
12550 (do_mach_notify_dead_name): Likewise.
12551 (steal_exc_port): Likewise.
12552 (gnu_read_inferior): Change 'copy_count''s type to
12553 mach_msg_type_number_t.
12554 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
12555 format string.
12556
12557 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
12558
12559 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
12560 flag. Adjust all users; in particular...
12561 (gnu_wait): ..., don't decrement its value in here...
12562 (gnu_create_inferior): ..., and instead set the flag in here,
12563 around the startup_inferior call, and call that one with
12564 START_INFERIOR_TRAPS_EXPECTED.
12565
12566 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
12567 (ILL_RPC): ... new macro.
12568 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
12569 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
12570 (do_mach_notify_send_once, S_proc_setmsgport_reply)
12571 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
12572 functions with ILL_RPC macro.
12573 (S_proc_pid2task_reply, S_proc_task2pid_reply)
12574 (S_proc_task2proc_reply, S_proc_proc2task_reply)
12575 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
12576 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
12577 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
12578 (S_proc_getlogin_reply, S_proc_getsid_reply)
12579 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
12580 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
12581 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
12582 (S_proc_getnports_reply, S_proc_is_important_reply)
12583 (S_proc_get_code_reply): New stub functions, generated with
12584 ILL_RPC macro.
12585
12586 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
12587 collected the type check structures.
12588
12589 * reply_mig_hack.awk: Don't expect to see the auto keyword.
12590
12591 2014-02-14 Doug Evans <dje@google.com>
12592
12593 * target.c (target_write_partial): Fix result type.
12594
12595 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
12596
12597 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
12598 the proper offsets to access fpregset_t.
12599
12600 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
12601
12602 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
12603 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
12604 * h8300-tdep.c (setmachinelist): Remove global.
12605 * hppa-tdep.c (hppa_sigtramp): Remove global.
12606 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
12607 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
12608 * ravenscar-thread.c (update_target_observer): Remove global.
12609 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
12610
12611 2014-02-12 Tom Tromey <tromey@redhat.com>
12612
12613 * common/rsp-low.c: Update comments.
12614 * common/rsp-low.h: Update comments.
12615
12616 2014-02-12 Tom Tromey <tromey@redhat.com>
12617
12618 * common/rsp-low.c (convert_ascii_to_int): Remove.
12619 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
12620
12621 2014-02-12 Tom Tromey <tromey@redhat.com>
12622
12623 * common/rsp-low.h (unhexify): Don't declare.
12624 * common/rsp-low.c (unhexify): Remove.
12625
12626 2014-02-12 Tom Tromey <tromey@redhat.com>
12627
12628 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
12629 * common/rsp-low.c (convert_int_to_ascii): Remove.
12630
12631 2014-02-12 Tom Tromey <tromey@redhat.com>
12632
12633 * common/rsp-low.h (hexify): Don't declare.
12634 * common/rsp-low.c (hexify): Remove.
12635
12636 2014-02-12 Tom Tromey <tromey@redhat.com>
12637
12638 * common/rsp-low.c (hexify): Never take strlen of argument.
12639
12640 2014-02-12 Tom Tromey <tromey@redhat.com>
12641
12642 * common/rsp-low.c (bin2hex): Never take strlen of argument.
12643 * remote.c (extended_remote_run, remote_rcmd)
12644 (remote_download_trace_state_variable, remote_save_trace_data)
12645 (remote_set_trace_notes): Update.
12646 * tracepoint.c (encode_source_string, tfile_write_status)
12647 (tfile_write_uploaded_tsv): Update.
12648
12649 2014-02-12 Tom Tromey <tromey@redhat.com>
12650
12651 * tracepoint.c: Include rsp-low.h.
12652 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
12653 * remote.c: Include rsp-low.h.
12654 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
12655 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
12656 (remote_unescape_input): Move to common/rsp-low.c.
12657 * common/rsp-low.h: New file.
12658 * common/rsp-low.c: New file.
12659 * Makefile.in (SFILES): Add common/rsp-low.c.
12660 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
12661 (COMMON_OBS): Add rsp-low.o.
12662 (rsp-low.o): New target.
12663
12664 2014-02-12 Tom Tromey <tromey@redhat.com>
12665
12666 * utils.h: Include print-utils.h.
12667 (host_address_to_string, plongest, pulongest, phex, phex_nz)
12668 (int_string, core_addr_to_string, core_addr_to_string_nz)
12669 (hex_string, hex_string_custom): Don't declare.
12670 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
12671 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
12672 (hex_string_custom, int_string, core_addr_to_string)
12673 (core_addr_to_string_nz, host_address_to_string): Move to
12674 common/print-utils.c.
12675 * common/print-utils.h: New file.
12676 * common/print-utils.c: New file
12677 * Makefile.in (SFILES): Add common/print-utils.c.
12678 (HFILES_NO_SRCDIR): Add common/print-utils.h.
12679 (COMMON_OBS): Add print-utils.o.
12680 (print-utils.o): New target.
12681
12682 2014-02-12 Tom Tromey <tromey@redhat.com>
12683
12684 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
12685
12686 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12687
12688 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
12689
12690 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12691
12692 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
12693 if a PT_IO ptrace request returns sucessfully but indicates that 0
12694 bytes were transferred.
12695
12696 2014-02-12 Pedro Alves <palves@redhat.com>
12697 Kevin Buettner <kevinb@redhat.com>
12698
12699 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
12700 TYPE_INSTANCE_FLAG_CODE_SPACE.
12701
12702 2014-02-12 Pedro Alves <palves@redhat.com>
12703
12704 * h8300-tdep.c (pseudo_from_raw_register)
12705 (raw_from_pseudo_register): New functions.
12706 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
12707 them.
12708
12709 2014-02-12 Pedro Alves <palves@redhat.com>
12710
12711 * h8300-tdep.c (h8300_register_sim_regno): New function.
12712 (h8300_gdbarch_init): Install h8300_register_sim_regno as
12713 gdbarch_register_sim_regno hook.
12714
12715 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12716
12717 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
12718
12719 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12720
12721 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
12722
12723 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12724
12725 * obsd-tdep.h (obsd_init_abi): New prototype.
12726 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
12727 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
12728 (obsd_init_abi): New functions.
12729 * i386obsd-tdep.c: Include "obsd-tdep.h".
12730 (i386obsd_init_abi): Call obsd_init_abi.
12731 * amd64obsd-tdep.c: Include "obsd-tdep.h".
12732 (amd64obsd_init_abi): Call obsd_init_abi.
12733 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
12734 obsd-tdep.c to gdb_target_obs.
12735
12736 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
12737
12738 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
12739 double float arguments to 16-byte in the argument slots.
12740
12741 2014-02-11 Doug Evans <xdje42@gmail.com>
12742
12743 * configure.ac: Don't crash if pkg-config is not found and guile
12744 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
12745 in guile checks.
12746 * configure: Regenerate.
12747
12748 2014-02-11 Yao Qi <yao@codesourcery.com>
12749
12750 * aix-thread.c (aix_thread_xfer_partial): Update comments.
12751 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
12752 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12753 * gnu-nat.c (gnu_xfer_memory): Likewise.
12754 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12755 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12756 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12757 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12758
12759 2014-02-11 Yao Qi <yao@codesourcery.com>
12760
12761 * target.h (enum target_xfer_error): Rename to ...
12762 (enum target_xfer_status): ... it. New. All users updated.
12763 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
12764 New.
12765 (TARGET_XFER_STATUS_ERROR_P): New macro.
12766 (target_xfer_error_to_string): Remove declaration.
12767 (target_xfer_status_to_string): Declare.
12768 (target_xfer_partial_ftype): Adjust it.
12769 (struct target_ops) <to_xfer_partial>: Return
12770 target_xfer_status. Add argument xfered_len. Update
12771 comments.
12772 * target.c (target_xfer_error_to_string): Rename to ...
12773 (target_xfer_status_to_string): ... it. New. All callers
12774 updated.
12775 (target_read_live_memory): Likewise. Call target_xfer_partial
12776 instead of target_read.
12777 (memory_xfer_live_readonly_partial): Return
12778 target_xfer_status. Add argument xfered_len.
12779 (raw_memory_xfer_partial): Likewise.
12780 (memory_xfer_partial_1): Likewise.
12781 (memory_xfer_partial): Likewise.
12782 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
12783 properly. Update debug message.
12784 (default_xfer_partial, current_xfer_partial): Likewise.
12785 (target_write_partial): Likewise.
12786 (target_read_partial): Likewise. All callers updated.
12787 (read_whatever_is_readable): Likewise.
12788 (target_write_with_progress): Likewise.
12789 (target_read_alloc_1): Likewise.
12790
12791 * aix-thread.c (aix_thread_xfer_partial): Likewise.
12792 * auxv.c (procfs_xfer_auxv): Likewise.
12793 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
12794 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12795 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12796 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
12797 * corefile.c (read_memory): Adjust.
12798 * corelow.c (core_xfer_partial): Likewise.
12799 * ctf.c (ctf_xfer_partial): Likewise.
12800 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
12801 updated.
12802 (darwin_xfer_partial): Likewise.
12803 * exec.c (section_table_xfer_memory_partial): Likewise. All
12804 callers updated.
12805 (exec_xfer_partial): Likewise.
12806 * exec.h (section_table_xfer_memory_partial): Update
12807 declaration.
12808 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
12809 negative.
12810 (gnu_xfer_partial): Likewise.
12811 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
12812 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
12813 (ia64_hpux_xfer_solib_got): Likewise.
12814 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
12815 type of 'partial_len' to ULONGEST.
12816 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12817 * linux-nat.c (linux_xfer_siginfo ): Likewise.
12818 (linux_nat_xfer_partial): Likewise.
12819 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
12820 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
12821 * monitor.c (monitor_xfer_memory): Likewise.
12822 (monitor_xfer_partial): Likewise.
12823 * procfs.c (procfs_xfer_partial): Likewise.
12824 * record-btrace.c (record_btrace_xfer_partial): Likewise.
12825 * record-full.c (record_full_xfer_partial): Likewise.
12826 (record_full_core_xfer_partial): Likewise.
12827 * remote-sim.c (gdbsim_xfer_memory): Likewise.
12828 (gdbsim_xfer_partial): Likewise.
12829 * remote.c (remote_write_bytes_aux): Likewise. All callers
12830 updated.
12831 (remote_write_bytes, remote_read_bytes): Likewise. All
12832 callers updated.
12833 (remote_flash_erase): Likewise. All callers updated.
12834 (remote_write_qxfer): Likewise. All callers updated.
12835 (remote_read_qxfer): Likewise. All callers updated.
12836 (remote_xfer_partial): Likewise.
12837 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12838 (rs6000_xfer_shared_libraries): Likewise.
12839 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12840 (sol_thread_xfer_partial): Likewise.
12841 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12842 (sparc_xfer_partial): Likewise.
12843 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
12844 updated.
12845 (spu_xfer_partial): Likewise.
12846 * spu-multiarch.c (spu_xfer_partial): Likewise.
12847 * tracepoint.c (tfile_xfer_partial): Likewise.
12848 * windows-nat.c (windows_xfer_memory): Likewise.
12849 (windows_xfer_shared_libraries): Likewise.
12850 (windows_xfer_partial): Likewise.
12851 * valprint.c: Replace 'target_xfer_error' with
12852 'target_xfer_status' in comments.
12853
12854 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
12855
12856 Checked in by Joel Brobecker <brobecker@adacore.com>.
12857 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
12858
12859 2014-02-11 Joel Brobecker <brobecker@adacore.com>
12860
12861 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
12862 function parameters.
12863
12864 2014-02-10 Will Newton <will.newton@linaro.org>
12865
12866 * elfread.c (elf_rel_plt_read): Look for a .got section if
12867 looking up .got.plt fails.
12868 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
12869 on address passed to elf_gnu_ifunc_record_cache.
12870 (elf_gnu_ifunc_resolve_addr): Likewise.
12871 (elf_gnu_ifunc_resolver_return_stop): Likewise.
12872
12873 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
12874
12875 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
12876 (X_RETTURN): New macro.
12877 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
12878
12879 * sparc64-tdep.c (sparc64_init_abi): Hook
12880 sparc_in_function_epilogue_p.
12881
12882 2014-02-10 Gary Benson <gbenson@redhat.com>
12883
12884 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12885 Rename name_matcher to symbol_matcher.
12886
12887 2014-02-10 Gary Benson <gbenson@redhat.com>
12888
12889 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12890 Use expand_symtabs_file_matcher_ftype and
12891 expand_symtabs_symbol_matcher_ftype.
12892
12893 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12894
12895 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
12896 (struct ada_symbol_cache): New.
12897 (ada_free_symbol_cache): Forward declare.
12898 (struct ada_pspace_data): New.
12899 (ada_pspace_data_handle): New static global.
12900 (get_ada_pspace_data, ada_pspace_data_cleanup)
12901 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
12902 (cache_space, cache): Delete, now folded inside struct
12903 ada_pspace_data.
12904 (ada_get_symbol_cache): New function.
12905 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
12906 implementation.
12907 (_initialize_ada_language): Remove initialization of cache_space.
12908 Move call to observer_attach_inferior_exit up, grouping it
12909 with the other observer registrations inside this function.
12910 Rename command to be more general. Add call to
12911 register_program_space_data_with_cleanup.
12912
12913 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12914
12915 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
12916 ada_new_objfile_observer.
12917 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
12918 (_initialize_tasks): Update uses of ada_new_objfile_observer
12919 and ada_tasks_normal_stop_observer.
12920
12921 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12922
12923 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
12924 returned by the 'Length attribute to integer.
12925
12926 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12927
12928 * ada-lang.c (_initialize_ada_language): Initialize
12929 cache_space obstack.
12930
12931 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12932
12933 * ada-lang.c (HASH_SIZE): New macro.
12934 (struct cache_entry): New type.
12935 (cache_space, cache): New static globals.
12936 (ada_clear_symbol_cache, find_entry): New functions.
12937 (lookup_cached_symbol, cache_symbol): Implement.
12938 (ada_new_objfile_observer, ada_free_objfile_observer): New.
12939 (_initialize_ada_language): Attach ada_new_objfile_observer
12940 and ada_free_objfile_observer.
12941
12942 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12943
12944 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
12945 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
12946 struct block * parameter.
12947 (ada_lookup_symbol_list_worker): Constify local variable "block".
12948 Remove cast which is no longer necessary.
12949
12950 2014-02-10 Doug Evans <xdje42@gmail.com>
12951
12952 Add Guile as an extension language.
12953 * NEWS: Mention Guile scripting.
12954 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
12955 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
12956 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
12957 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
12958 (CLIBS): Add GUILE_LIBS.
12959 (install-guile): New rule.
12960 (guile.o): New rule.
12961 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
12962 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
12963 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
12964 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
12965 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
12966 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
12967 (scm-type.o, scm-utils.o, scm-value.o): New rules.
12968 * configure.ac: New option --with-guile.
12969 * configure: Regenerate.
12970 * config.in: Regenerate.
12971 * auto-load.c: Remove #include "python/python.h". Add #include
12972 "gdb/section-scripts.h".
12973 (source_section_scripts): Handle Guile scripts.
12974 (_initialize_auto_load): Add name of Guile objfile script to
12975 scripts-directory help text.
12976 * breakpoint.c (condition_command): Tweak comment to include Scheme.
12977 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
12978 (struct breakpoint): New member scm_bp_object.
12979 * defs.h (enum command_control_type): New value guile_control.
12980 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
12981 "extension.h".
12982 (show_user): Update comment.
12983 (_initialize_cli_cmds): Update help text for "show user". Update help
12984 text for max-user-call-depth.
12985 * cli/cli-script.c: Remove #include "python/python.h". Add #include
12986 "extension.h".
12987 (multi_line_command_p): Add guile_control.
12988 (print_command_lines): Handle guile_control.
12989 (execute_control_command, recurse_read_control_structure): Ditto.
12990 (process_next_line): Recognize "guile" commands.
12991 * disasm.c (gdb_disassemble_info): Make non-static.
12992 * disasm.h: #include "dis-asm.h".
12993 (struct gdbarch): Add forward decl.
12994 (gdb_disassemble_info): Declare.
12995 * extension.c: #include "guile/guile.h".
12996 (extension_languages): Add guile.
12997 (get_ext_lang_defn): Handle EXT_LANG_GDB.
12998 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
12999 * gdbtypes.c (get_unsigned_type_max): New function.
13000 (get_signed_type_minmax): New function.
13001 * gdbtypes.h (get_unsigned_type_max): Declare.
13002 (get_signed_type_minmax): Declare.
13003 * guile/README: New file.
13004 * guile/guile-internal.h: New file.
13005 * guile/guile.c: New file.
13006 * guile/guile.h: New file.
13007 * guile/scm-arch.c: New file.
13008 * guile/scm-auto-load.c: New file.
13009 * guile/scm-block.c: New file.
13010 * guile/scm-breakpoint.c: New file.
13011 * guile/scm-disasm.c: New file.
13012 * guile/scm-exception.c: New file.
13013 * guile/scm-frame.c: New file.
13014 * guile/scm-gsmob.c: New file.
13015 * guile/scm-iterator.c: New file.
13016 * guile/scm-lazy-string.c: New file.
13017 * guile/scm-math.c: New file.
13018 * guile/scm-objfile.c: New file.
13019 * guile/scm-ports.c: New file.
13020 * guile/scm-pretty-print.c: New file.
13021 * guile/scm-safe-call.c: New file.
13022 * guile/scm-string.c: New file.
13023 * guile/scm-symbol.c: New file.
13024 * guile/scm-symtab.c: New file.
13025 * guile/scm-type.c: New file.
13026 * guile/scm-utils.c: New file.
13027 * guile/scm-value.c: New file.
13028 * guile/lib/gdb.scm: New file.
13029 * guile/lib/gdb/boot.scm: New file.
13030 * guile/lib/gdb/experimental.scm: New file.
13031 * guile/lib/gdb/init.scm: New file.
13032 * guile/lib/gdb/iterator.scm: New file.
13033 * guile/lib/gdb/printing.scm: New file.
13034 * guile/lib/gdb/types.scm: New file.
13035 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
13036 (VPATH): Add $(GUILE_SRCDIR).
13037 (GUILE_DIR): New variable.
13038 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
13039 (all): Add stamp-guile dependency.
13040 (stamp-guile): New rule.
13041 (clean-guile, install-guile, uninstall-guile): New rules.
13042 (install-only): Add install-guile dependency.
13043 (uninstall): Add uninstall-guile dependency.
13044 (clean): Add clean-guile dependency.
13045
13046 2014-02-09 Doug Evans <xdje42@gmail.com>
13047
13048 Revert this patch (which I approved, mea culpa).
13049
13050 2014-02-08 Mark Kettenis <kettenis@gnu.org>
13051
13052 * Makefile.in (all-lib): Remove.
13053 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13054
13055 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13056
13057 Fix Python stack corruption.
13058 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
13059 gdb_py_longest.
13060
13061 2014-02-08 Mark Kettenis <kettenis@gnu.org>
13062
13063 * Makefile.in (all-lib): Remove.
13064 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13065
13066 2014-02-07 Doug Evans <dje@google.com>
13067
13068 * extension-priv.h (extension_language_script_ops): Add comment.
13069 (extension_language_ops): Add comment.
13070 (active_ext_lang_state): Fix typo in comment.
13071
13072 2014-02-07 Pedro Alves <palves@redhat.com>
13073
13074 PR breakpoints/16292
13075 * infrun.c (handle_signal_stop) <signal arrives while stepping
13076 over a breakpoint>: Switch back to the stepping thread.
13077
13078 2014-02-07 Yao Qi <yao@codesourcery.com>
13079
13080 * target.c (target_xfer_partial): Return zero if LEN is zero.
13081
13082 2014-02-07 Yao Qi <yao@codesourcery.com>
13083
13084 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
13085 (ld_so_xfer_auxv): Likewise.
13086 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13087 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13088 * corelow.c (core_xfer_partial): Likewise.
13089 * ctf.c (ctf_xfer_partial): Likewise.
13090 * darwin-nat.c (darwin_read_dyld_info): Likewise.
13091 (darwin_xfer_partial): Likewise.
13092 * exec.c (exec_xfer_partial): Likewise.
13093 * gnu-nat.c (gnu_xfer_partial): Likewise.
13094 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
13095 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
13096 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
13097 * linux-nat.c (linux_xfer_siginfo): Likewise.
13098 (linux_proc_xfer_spu): Likewise.
13099 * procfs.c (procfs_xfer_partial): Likewise.
13100 * record-full.c (record_full_xfer_partial): Likewise.
13101 (record_full_core_xfer_partial): Likewise.
13102 * remote-sim.c (gdbsim_xfer_partial): Likewise.
13103 * remote.c (remote_write_qxfer): Likewise.
13104 (remote_write_qxfer, remote_read_qxfer): Likewise.
13105 (remote_xfer_partial): Likewise.
13106 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13107 (rs6000_xfer_shared_libraries): Likewise.
13108 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13109 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13110 (spu_xfer_partial): Likewise.
13111 * target.c (memory_xfer_partial_1): Likewise.
13112 * tracepoint.c (tfile_xfer_partial): Likewise.
13113 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
13114 (windows_xfer_partial): Likewise.
13115
13116 2014-02-07 Yao Qi <yao@codesourcery.com>
13117
13118 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
13119 comments.
13120 (core_xfer_shared_libraries_aix): Likewise.
13121 * gdbarch.c, gdbarch.h: Regenerated.
13122 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
13123 ULONGEST. Change 'len_avail' type to ULONGEST.
13124 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13125 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13126 declaration.
13127 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
13128
13129 2014-02-07 Yao Qi <yao@codesourcery.com>
13130
13131 * corefile.c (memory_error): Get 'exception' from ERR and pass
13132 'exception' to throw_error.
13133
13134 2014-02-06 Doug Evans <xdje42@gmail.com>
13135
13136 * configure.ac (libpython checking): Remove all but python.o from
13137 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
13138 * configure: Regenerate.
13139
13140 * Makefile.in (SFILES): Add extension.c.
13141 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
13142 (COMMON_OBS): Add extension.o.
13143 * extension.h: New file.
13144 * extension-priv.h: New file.
13145 * extension.c: New file.
13146
13147 * python/python-internal.h: #include "extension.h".
13148 (gdbpy_auto_load_enabled): Declare.
13149 (gdbpy_apply_val_pretty_printer): Declare.
13150 (gdbpy_apply_frame_filter): Declare.
13151 (gdbpy_preserve_values): Declare.
13152 (gdbpy_breakpoint_cond_says_stop): Declare.
13153 (gdbpy_breakpoint_has_cond): Declare.
13154 (void source_python_script_for_objfile): Delete.
13155 * python/python.c: #include "extension-priv.h".
13156 Delete inclusion of "observer.h".
13157 (extension_language_python): Moved here and renamed from
13158 script_language_python in py-auto-load.c.
13159 Redefined to be of type extension_language_defn.
13160 (python_extension_script_ops): New global.
13161 (python_extension_ops): New global.
13162 (struct python_env): New member previous_active.
13163 (restore_python_env): Call restore_active_ext_lang.
13164 (ensure_python_env): Call set_active_ext_lang.
13165 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
13166 New arg extlang.
13167 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
13168 New arg extlang.
13169 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
13170 New arg extlang.
13171 (gdbpy_eval_from_control_command): Renamed from
13172 eval_python_from_control_command, made static. New arg extlang.
13173 (gdbpy_source_script) Renamed from source_python_script, made static.
13174 New arg extlang.
13175 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
13176 result to int. New arg extlang.
13177 (gdbpy_source_objfile_script): Renamed from
13178 source_python_script_for_objfile, made static. New arg extlang.
13179 (gdbpy_start_type_printers): Renamed from start_type_printers, made
13180 static. New args extlang, extlang_printers. Change result type to
13181 "void".
13182 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
13183 static. New arg extlang. Rename arg printers to extlang_printers
13184 and change type to ext_lang_type_printers *.
13185 (gdbpy_free_type_printers): Renamed from free_type_printers, made
13186 static. Replace argument arg with extlang, extlang_printers.
13187 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
13188 (!HAVE_PYTHON, source_python_script): Delete.
13189 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
13190 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
13191 (!HAVE_PYTHON, start_type_printers): Delete.
13192 (!HAVE_PYTHON, apply_type_printers): Delete.
13193 (!HAVE_PYTHON, free_type_printers): Delete.
13194 (_initialize_python): Delete call to observer_attach_before_prompt.
13195 (finalize_python): Set/restore active extension language.
13196 (gdbpy_finish_initialization) Renamed from
13197 finish_python_initialization, made static. New arg extlang.
13198 (gdbpy_initialized): New function.
13199 * python/python.h: #include "extension.h". Delete #include
13200 "value.h", "mi/mi-cmds.h".
13201 (extension_language_python): Declare.
13202 (GDBPY_AUTO_FILE_NAME): Delete.
13203 (enum py_bt_status): Moved to extension.h and renamed to
13204 ext_lang_bt_status.
13205 (enum frame_filter_flags): Moved to extension.h.
13206 (enum py_frame_args): Moved to extension.h and renamed to
13207 ext_lang_frame_args.
13208 (finish_python_initialization): Delete.
13209 (eval_python_from_control_command): Delete.
13210 (source_python_script): Delete.
13211 (apply_val_pretty_printer): Delete.
13212 (apply_frame_filter): Delete.
13213 (preserve_python_values): Delete.
13214 (gdbpy_script_language_defn): Delete.
13215 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
13216 (start_type_printers, apply_type_printers, free_type_printers): Delete.
13217
13218 * auto-load.c: #include "extension.h".
13219 (GDB_AUTO_FILE_NAME): Delete.
13220 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
13221 (script_language_gdb): Delete, moved to extension.c and renamed to
13222 extension_language_gdb.
13223 (source_gdb_script_for_objfile): Delete.
13224 (auto_load_pspace_info): New member unsupported_script_warning_printed.
13225 (loaded_script): Change type of language member to
13226 struct extension_language_defn *.
13227 (init_loaded_scripts_info): Initialize
13228 unsupported_script_warning_printed.
13229 (maybe_add_script): Make static. Change type of language arg to
13230 struct extension_language_defn *.
13231 (clear_section_scripts): Reset unsupported_script_warning_printed.
13232 (auto_load_objfile_script_1): Rewrite to use extension language API.
13233 (auto_load_objfile_script): Make public. Remove support-compiled-in
13234 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
13235 (source_section_scripts): Rewrite to use extension language API.
13236 (load_auto_scripts_for_objfile): Rewrite to use
13237 auto_load_scripts_for_objfile.
13238 (collect_matching_scripts_data): Change type of language member to
13239 struct extension_language_defn *.
13240 (auto_load_info_scripts): Change type of language arg to
13241 struct extension_language_defn *.
13242 (unsupported_script_warning_print): New function.
13243 (script_not_found_warning_print): Make static.
13244 (_initialize_auto_load): Rewrite construction of scripts-directory
13245 help.
13246 * auto-load.h (struct objfile): Add forward decl.
13247 (struct script_language): Delete.
13248 (struct auto_load_pspace_info): Add forward decl.
13249 (struct extension_language_defn): Add forward decl.
13250 (maybe_add_script): Delete.
13251 (auto_load_objfile_script): Declare.
13252 (script_not_found_warning_print): Delete.
13253 (auto_load_info_scripts): Update prototype.
13254 (auto_load_gdb_scripts_enabled): Declare.
13255 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
13256 auto_load_python_scripts_enabled and made public.
13257 (script_language_python): Delete, moved to python.c.
13258 (gdbpy_script_language_defn): Delete.
13259 (info_auto_load_python_scripts): Update to use
13260 extension_language_python.
13261
13262 * breakpoint.c (condition_command): Replace call to
13263 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
13264 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
13265 with call to breakpoint_ext_lang_cond_says_stop.
13266 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
13267 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
13268 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
13269 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
13270 New arg slang.
13271 (local_setattro): Print name of extension language with existing
13272 stop condition.
13273
13274 * valprint.c (val_print, value_print): Update to call
13275 apply_ext_lang_val_pretty_printer.
13276 * cp-valprint.c (cp_print_value): Update call to
13277 apply_ext_lang_val_pretty_printer.
13278 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
13279 (gdbpy_apply_val_pretty_printer): Renamed from
13280 apply_val_pretty_printer. New arg extlang.
13281 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
13282
13283 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
13284 extension language API.
13285 * cli/cli-script.c (execute_control_command): Update to call
13286 eval_ext_lang_from_control_command.
13287
13288 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
13289 enum ext_lang_bt_status values. Update call to
13290 apply_ext_lang_frame_filter.
13291 (mi_cmd_stack_list_locals): Ditto.
13292 (mi_cmd_stack_list_args): Ditto.
13293 (mi_cmd_stack_list_variables): Ditto.
13294 * mi/mi-main.c: Delete #include "python/python-internal.h".
13295 Add #include "extension.h".
13296 (mi_cmd_list_features): Replace reference to python internal variable
13297 gdb_python_initialized with call to ext_lang_initialized_p.
13298
13299 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
13300 Update to use enum ext_lang_frame_args. Update to call
13301 apply_ext_lang_frame_filter.
13302 * python/py-framefilter.c (extract_sym): Update to use enum
13303 ext_lang_bt_status.
13304 (extract_value, py_print_type, py_print_value): Ditto.
13305 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
13306 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
13307 (py_print_frame): Ditto.
13308 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
13309 New arg extlang. Update to use enum ext_lang_bt_status.
13310
13311 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
13312 finish_python_initialization. Replace with call to
13313 finish_ext_lang_initialization.
13314
13315 * typeprint.c (do_free_global_table): Update to call
13316 free_ext_lang_type_printers.
13317 (create_global_typedef_table): Update to call
13318 start_ext_lang_type_printers.
13319 (find_global_typedef): Update to call apply_ext_lang_type_printers.
13320 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
13321 (type_print_options): Change type of global_printers from "void *"
13322 to "struct ext_lang_type_printers *".
13323
13324 * value.c (preserve_values): Update to call preserve_ext_lang_values.
13325 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
13326 (gdbpy_preserve_values): Renamed from preserve_python_values.
13327 New arg extlang.
13328 (!HAVE_PYTHON, preserve_python_values): Delete.
13329
13330 * utils.c (quit_flag): Delete, moved to extension.c.
13331 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
13332 extension.c.
13333
13334 * eval.c: Delete #include "python/python.h".
13335 * main.c: Delete #include "python/python.h".
13336
13337 * defs.h: Update comment.
13338
13339 2014-02-06 Joel Brobecker <brobecker@adacore.com>
13340
13341 GDB 7.7 released.
13342
13343 2014-02-05 Mark Kettenis <kettenis@gnu.org>
13344
13345 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
13346 defined.
13347
13348 2014-02-05 Yao Qi <yao@codesourcery.com>
13349
13350 * remote.c (remote_pass_signals): Remove local 'buf' and use
13351 rs->buf.
13352 (remote_program_signals): Likewise.
13353
13354 2014-02-05 Yao Qi <yao@codesourcery.com>
13355
13356 * ctf.c: Include "inferior.h" and "gdbthread.h".
13357 (CTF_PID): A new macro.
13358 (ctf_open): Call inferior_appeared and add_thread_silent.
13359 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
13360 (ctf_thread_alive): New function.
13361 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
13362
13363 2014-02-05 Yao Qi <yao@codesourcery.com>
13364
13365 Revert this patch:
13366
13367 2013-05-24 Yao Qi <yao@codesourcery.com>
13368
13369 * tracepoint.c (TFILE_PID): Remove.
13370 (tfile_open): Don't add thread and inferior.
13371 (tfile_close): Don't set 'inferior_ptid'. Don't call
13372 exit_inferior_silent.
13373 (tfile_thread_alive): Remove.
13374 (init_tfile_ops): Don't set field 'to_thread_alive' of
13375 tfile_ops.
13376
13377 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
13378
13379 * remote.c (remote_start_remote): Call remote_check_symbols even
13380 if only symbol-file (not file) has been given.
13381
13382 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13383
13384 * gdbarch.sh (skip_entrypoint): New callback.
13385 * gdbarch.c, gdbarch.h: Regenerate.
13386 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
13387 * infrun.c (fill_in_stop_func): Likewise.
13388 * ppc-linux-tdep.c: Include "elf/ppc64.h".
13389 (ppc_elfv2_elf_make_msymbol_special): New function.
13390 (ppc_elfv2_skip_entrypoint): Likewise.
13391 (ppc_linux_init_abi): Install them for ELFv2.
13392
13393 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13394
13395 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
13396 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
13397 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
13398 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
13399 structures returned in GPRs.
13400
13401 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13402
13403 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
13404 offset to the stack parameter list for the ELFv2 ABI.
13405
13406 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13407
13408 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
13409 set_gdbarch_convert_from_func_ptr_addr and
13410 set_gdbarch_elf_make_msymbol_special for ELFv1.
13411 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
13412 function descriptors on ELFv1.
13413 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
13414 set up r12 at function entry.
13415
13416 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13417
13418 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
13419 (struct gdbarch_tdep): New member elf_abi.
13420
13421 * rs6000-tdep.c: Include "elf/ppc64.h".
13422 (rs6000_gdbarch_init): Detect ELF ABI version.
13423
13424 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13425
13426 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
13427 within a register pair holding a DFP 128-bit value on little-endian.
13428 (ppc64_sysv_abi_return_value_base): Likewise.
13429 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
13430 (dfp_pseudo_register_write): Likewise.
13431
13432 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13433
13434 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
13435 offset on little-endian when passing _Decimal32.
13436 (ppc64_sysv_abi_return_value_base): Likewise for return values.
13437
13438 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13439
13440 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
13441 of the overlapped FP register within the VSX register on little-
13442 endian platforms.
13443 (efpr_pseudo_register_write): Likewise.
13444
13445 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13446
13447 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
13448 offset on little-endian when passing small structures.
13449
13450 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13451
13452 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
13453 (struct ppc64_sysv_argpos): New data structure.
13454 (ppc64_sysv_abi_push_float): Remove.
13455 (ppc64_sysv_abi_push_val): New function.
13456 (ppc64_sysv_abi_push_integer): Likewise.
13457 (ppc64_sysv_abi_push_freg): Likewise.
13458 (ppc64_sysv_abi_push_vreg): Likewise.
13459 (ppc64_sysv_abi_push_param): Likewise.
13460 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
13461 (ppc64_sysv_abi_return_value_base): New function.
13462 (ppc64_sysv_abi_return_value): Refactor to use it.
13463
13464 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13465
13466 * NEWS: Document new target powerpc64le-*-linux*.
13467
13468 2014-02-04 Mark Kettenis <kettenis@gnu.org>
13469
13470 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
13471 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
13472 core dumps.
13473 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
13474 register set used in ELF core dumps. Add floating-point register set.
13475
13476 2014-02-03 Kevin Buettner <kevinb@redhat.com>
13477
13478 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
13479 dwarf2_to_gdb[] table using symbolic constants. Adjust
13480 penultimate entry from number representing the PC register
13481 to symbolic constant representing the MDR register. Add
13482 constant for the PC register to the end of the table.
13483
13484 2014-02-03 Mark Kettenis <kettenis@gnu.org>
13485
13486 * bsd-kvm.c: Include <sys/param.h>
13487
13488 2014-02-03 Mark Kettenis <kettenis@gnu.org>
13489
13490 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
13491
13492 2014-01-31 Joel Brobecker <brobecker@adacore.com>
13493
13494 * ada-lang.h (clear_ada_sym_cache): Delete.
13495
13496 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
13497
13498 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
13499
13500 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13501
13502 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
13503 the sigreturn register save area only if the syscall is
13504 sigreturn.
13505
13506 2014-01-29 Joel Brobecker <brobecker@adacore.com>
13507
13508 * valops.c (value_slice): Minor reformatting.
13509
13510 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
13511
13512 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
13513
13514 2014-01-28 Joel Brobecker <brobecker@adacore.com>
13515
13516 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
13517 New static globals.
13518 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
13519 (ada_ignore_descriptive_types_p): New static global.
13520 (find_parallel_type_by_descriptive_type): Return immediately
13521 if ada_ignore_descriptive_types_p is set.
13522 (_initialize_ada_language): Register new commands "maintenance
13523 set ada", "maintenance show ada", "maintenance set ada
13524 ignore-descriptive-types" and "maintenance show ada
13525 ignore-descriptive-types".
13526 * NEWS: Add entry for new "maint ada set/show
13527 ignore-descriptive-types" commands.
13528
13529 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
13530
13531 * record-btrace.c (record_btrace_close): Call btrace_teardown
13532 for all threads.
13533
13534 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13535
13536 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
13537 "ui-out.h".
13538
13539 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13540
13541 * ada-typeprint (type_is_full_subrange_of_target_type):
13542 New function.
13543 (print_range): Add parameter bounds_prefered_p. If not set,
13544 try printing range types using the name of their base type.
13545 (print_range_type): Add parameter bounds_prefered_p.
13546 Use it in call to print_range.
13547 (print_array_type, ada_print_type): Update calls to print_range
13548 and print_range_type.
13549
13550 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13551
13552 * ada-typeprint.c (print_array_type, print_choices, print_range)
13553 (print_range_bound, print_dynamic_range_bound, print_range_type):
13554 Remove declaration.
13555
13556 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13557
13558 * ada-typeprint.c (print_range): Add missing empty line
13559 after local declaration.
13560
13561 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13562
13563 * ada-valprint.c (print_optional_low_bound): Get index_type's
13564 target type for as long as it is a TYPE_CODE_RANGE.
13565
13566 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13567
13568 * procfs.c (procfs_make_note_section): Remove assertion and
13569 associated comment.
13570
13571 2014-01-24 Yao Qi <yao@codesourcery.com>
13572
13573 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
13574 * corelow.c (get_core_siginfo): Likewise.
13575
13576 2014-01-24 Yao Qi <yao@codesourcery.com>
13577
13578 * remote.c (remote_write_bytes_aux): Change type of 'len' to
13579 ULONGEST. Don't check 'len' is negative.
13580 (remote_write_bytes): Change type of 'len' to ULONGEST.
13581
13582 2014-01-23 Tom Tromey <tromey@redhat.com>
13583
13584 PR python/16485:
13585 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
13586 Handle exception from frame.block.
13587 (FrameVars.fetch_frame_locals): Likewise.
13588
13589 2014-01-23 Tom Tromey <tromey@redhat.com>
13590
13591 PR python/16487:
13592 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
13593 on a NULL pointer. Move "goto error" to correct place.
13594
13595 2014-01-23 Tom Tromey <tromey@redhat.com>
13596
13597 PR python/16491:
13598 * python/py-framefilter.c (apply_frame_filter): Call
13599 ensure_python_env after computing gdbarch.
13600
13601 2014-01-23 Yao Qi <yao@codesourcery.com>
13602
13603 * target.c (raw_memory_xfer_partial): Change argument type
13604 from void * to gdb_byte *.
13605 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
13606
13607 2014-01-22 Doug Evans <dje@google.com>
13608
13609 New gdbserver option --debug-format=timestamp.
13610 * NEWS: Mention it.
13611
13612 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13613
13614 * syscalls/s390x-linux.xml: New file.
13615 * syscalls/s390-linux.xml: New file.
13616 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
13617 (XML_SYSCALL_FILENAME_S390X): Likewise.
13618 (op_svc): New enum value for SVC opcode.
13619 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
13620 (s390_linux_get_syscall_number): New function.
13621 (s390_gdbarch_init): Register '*get_syscall_number' and the
13622 syscall xml file name.
13623 * data-directory/Makefile.in (SYSCALLS_FILES): Add
13624 "s390-linux.xml" and "s390x-linux.xml".
13625 * NEWS: Announce new feature.
13626
13627 2014-01-22 Baruch Siach <baruch@tkos.co.il>
13628
13629 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
13630
13631 2014-01-22 Pedro Alves <palves@redhat.com>
13632
13633 * xtensa-config.c: Include defs.h.
13634
13635 2014-01-22 Joel Brobecker <brobecker@adacore.com>
13636
13637 * common/common-utils.h: Add "ARI:" comment beside __func__
13638 reference.
13639
13640 2014-01-22 Joel Brobecker <brobecker@adacore.com>
13641
13642 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
13643 documentation a bit.
13644
13645 2014-01-21 Roland McGrath <mcgrathr@google.com>
13646
13647 * configure.ac: Call AM_PROG_INSTALL_STRIP.
13648 * configure: Regenerate.
13649 * aclocal.m4: Regenerate.
13650 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
13651 New substituted variables.
13652 (install-strip): New target.
13653 (INSTALL_SCRIPT): New substituted variable.
13654 (FLAGS_TO_PASS): Add it.
13655 (install-only): Use $(INSTALL_SCRIPT) rather than
13656 $(INSTALL_PROGRAM) for gcore.
13657
13658 2014-01-20 Tom Tromey <tromey@redhat.com>
13659
13660 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
13661 together.
13662
13663 2014-01-20 Tom Tromey <tromey@redhat.com>
13664
13665 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
13666 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
13667 (deprecated_cmd_warning, complete_on_cmdlist): Update.
13668 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
13669 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
13670 (struct cmd_list_element) <flags>: Remove.
13671 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
13672 doc_allocated>: New fields.
13673 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
13674 bitfields.
13675 * maint.c (maintenance_do_deprecate): Update.
13676 * top.c (execute_command): Update.
13677
13678 2014-01-20 Baruch Siach <baruch@tkos.co.il>
13679
13680 * xtensa-linux-nat.c: Include asm/ptrace.h.
13681
13682 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13683
13684 * Makefile.in (SFILES): Add d-support.c.
13685 (COMMON_OBS): Add d-support.o.
13686 * d-lang.h (d_parse_symbol): Add comment, now defined in
13687 d-support.c.
13688 * d-lang.c (parse_call_convention)
13689 (parse_attributes, parse_function_types)
13690 (parse_function_args, parse_type, parse_identifier)
13691 (call_convention_p, d_parse_symbol): Move functions to ...
13692 * d-support.c: ... New file.
13693
13694 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13695
13696 * d-lang.h (d_parse_symbol): Add declaration.
13697 * d-lang.c (extract_identifiers)
13698 (extract_type_info): Remove functions.
13699 (parse_call_convention, parse_attributes)
13700 (parse_function_types, parse_function_args)
13701 (parse_type, parse_identifier, call_convention_p)
13702 (d_parse_symbol): New functions.
13703 (d_demangle): Use d_parse_symbol to demangle D symbols.
13704
13705 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13706
13707 * d-lang.h (struct builtin_d_type): New data type.
13708 (builtin_d_type): Add declaration.
13709 * d-lang.c (d_language_arch_info, build_d_types)
13710 (builtin_d_type): New functions.
13711 (enum d_primitive_types): New data type.
13712 (d_language_defn): Change c_language_arch_info to
13713 d_language_arch_info.
13714 (d_type_data): New static variable.
13715 (_initialize_d_language): Initialize d_type_data.
13716
13717 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13718
13719 * d-lang.h (d_main_name): Add declaration.
13720 * d-lang.c (d_main_name): New function.
13721 * symtab.c (find_main_name): Add call to d_main_name.
13722
13723 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13724
13725 * d-lang.c (d_language_defn): Change macro_expansion_c to
13726 macro_expansion_no.
13727
13728 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13729
13730 * MAINTAINERS: Add myself as a write-after-approval maintainer.
13731
13732 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
13733
13734 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
13735 gdb_exception" declaration.
13736 * remote.c (getpkt_or_notif_sane): Likewise.
13737
13738 2014-01-17 Doug Evans <dje@google.com>
13739
13740 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
13741 function, contents of dirnames_to_char_ptr_vec_append moved here.
13742 (delim_string_to_char_ptr_vec): New function.
13743 (dirnames_to_char_ptr_vec_append): Rewrite.
13744 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
13745
13746 2014-01-17 Doug Evans <dje@google.com>
13747
13748 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
13749 and moved here ...
13750 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
13751 #include "common-utils.h".
13752 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
13753 * common/vec.h (VEC_ASSERT_PASS): Update.
13754 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
13755 (MACH_CHECK_ERROR): Update.
13756
13757 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
13758
13759 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
13760 comments.
13761 * gdbarch.h: Regenerate.
13762
13763 2014-01-16 Tom Tromey <tromey@redhat.com>
13764
13765 * value.c (struct value) <regnum>: Move earlier.
13766
13767 2014-01-16 Tom Tromey <tromey@redhat.com>
13768
13769 * remote.c (extended_remote_create_inferior): Rename from
13770 extended_remote_create_inferior_1. Add "ops" argument. Remove
13771 old implementation.
13772
13773 2014-01-16 Pedro Alves <palves@redhat.com>
13774
13775 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
13776 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
13777 the backchain.
13778
13779 2014-01-16 Doug Evans <dje@google.com>
13780
13781 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
13782
13783 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13784
13785 * btrace.h (btrace_thread_flag): New.
13786 (struct btrace_thread_info) <flags>: New.
13787 * record-btrace.c (record_btrace_resume_thread)
13788 (record_btrace_find_thread_to_move, btrace_step_no_history)
13789 (btrace_step_stopped, record_btrace_start_replaying)
13790 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
13791 (record_btrace_find_resume_thread): New.
13792 (record_btrace_resume, record_btrace_wait): Extend.
13793 (record_btrace_can_execute_reverse): New.
13794 (record_btrace_open): Fail in non-stop mode.
13795 (record_btrace_set_replay): Split into this, ...
13796 (record_btrace_stop_replaying): ... this, ...
13797 (record_btrace_clear_histories): ... and this.
13798 (init_record_btrace_ops): Init to_can_execute_reverse.
13799 * NEWS: Announce it.
13800
13801 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13802
13803 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
13804 (forward_target_decr_pc_after_break)
13805 (target_decr_pc_after_break): New.
13806 * target.c (forward_target_decr_pc_after_break)
13807 (target_decr_pc_after_break): New.
13808 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
13809 instead of gdbarch_decr_pc_after_break.
13810 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13811 instead of gdbarch_decr_pc_after_break.
13812 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
13813 instead of gdbarch_decr_pc_after_break.
13814 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13815 instead of gdbarch_decr_pc_after_break.
13816 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
13817 instead of gdbarch_decr_pc_after_break.
13818 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
13819 instead of gdbarch_decr_pc_after_break.
13820
13821 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13822
13823 * btrace.c: Include regcache.h.
13824 (btrace_add_pc): New.
13825 (btrace_enable): Call btrace_add_pc.
13826 (btrace_is_empty): New.
13827 * btrace.h (btrace_is_empty): New.
13828 * record-btrace.c (require_btrace, record_btrace_info): Call
13829 btrace_is_empty.
13830
13831 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13832
13833 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
13834 Support delta reads.
13835 (linux_disable_btrace): Change return type.
13836 * common/linux-btrace.h (linux_read_btrace): Change parameters
13837 and return type to allow error reporting. Update users.
13838 (linux_disable_btrace): Change return type. Update users.
13839 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
13840 New.
13841 (btrace_error): New.
13842 (btrace_block) <begin>: Comment on BEGIN == 0.
13843 * btrace.c (btrace_compute_ftrace): Start from the end of
13844 the current trace.
13845 (btrace_stitch_trace, btrace_clear_history): New.
13846 (btrace_fetch): Read delta trace, return if replaying.
13847 (btrace_clear): Move clear history code to btrace_clear_history.
13848 (parse_xml_btrace): Throw an error if parsing failed.
13849 * target.h (struct target_ops) <to_read_btrace>: Change parameters
13850 and return type to allow error reporting.
13851 (target_read_btrace): Change parameters and return type to allow
13852 error reporting.
13853 * target.c (target_read_btrace): Update.
13854 * remote.c (remote_read_btrace): Support delta reads. Pass
13855 errors on.
13856 * NEWS: Announce it.
13857
13858 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13859
13860 * record.h (record_btrace_frame_unwind)
13861 (record_btrace_tailcall_frame_unwind): New declarations.
13862 * dwarf2-frame: Include record.h
13863 (dwarf2_frame_cfa): Throw an error for btrace frames.
13864 * record-btrace.c: Include hashtab.h.
13865 (btrace_get_bfun_name): New.
13866 (btrace_call_history): Call btrace_get_bfun_name.
13867 (struct btrace_frame_cache): New.
13868 (bfcache): New.
13869 (bfcache_hash, bfcache_eq, bfcache_new): New.
13870 (btrace_get_frame_function): New.
13871 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
13872 (record_btrace_frame_this_id): Compute own id.
13873 (record_btrace_frame_prev_register): Provide PC, throw_error
13874 for all other registers.
13875 (record_btrace_frame_sniffer): Detect btrace frames.
13876 (record_btrace_tailcall_frame_sniffer): New.
13877 (record_btrace_frame_dealloc_cache): New.
13878 (record_btrace_frame_unwind): Add new functions.
13879 (record_btrace_tailcall_frame_unwind): New.
13880 (_initialize_record_btrace): Allocate cache.
13881 * btrace.c (btrace_clear): Call reinit_frame_cache.
13882 * NEWS: Announce it.
13883
13884 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13885
13886 * record-btrace.c (record_btrace_set_replay)
13887 (record_btrace_goto_begin, record_btrace_goto_end)
13888 (record_btrace_goto): New.
13889 (init_record_btrace_ops): Initialize them.
13890 * NEWS: Announce it.
13891
13892 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13893
13894 * record-btrace.c (record_btrace_find_new_threads)
13895 (record_btrace_thread_alive): New.
13896 (init_record_btrace_ops): Initialize to_find_new_threads and
13897 to_thread_alive.
13898
13899 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13900
13901 * record-btrace.c (record_btrace_resume): New.
13902 (record_btrace_wait): New.
13903 (init_record_btrace_ops): Initialize to_wait and to_resume.
13904
13905 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13906
13907 * record-btrace.c (record_btrace_xfer_partial)
13908 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
13909 (record_btrace_allow_memory_access): New.
13910 (init_record_btrace_ops): Initialize new methods.
13911 * target.c (raw_memory_xfer_partial): Bail out if target reports
13912 that this memory is not available.
13913
13914 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13915
13916 * target.h (target_ops) <to_insert_breakpoint>
13917 <to_remove_breakpoint>: Add target_ops parameter.
13918 (forward_target_insert_breakpoint): New.
13919 (forward_target_remove_breakpoint): New.
13920 (memory_remove_breakpoint, memory_insert_breakpoint):
13921 Add target_ops parameter.
13922 * target.c (target_insert_breakpoint): Split into this and ...
13923 (forward_target_insert_breakpoint): ... this.
13924 (target_remove_breakpoint): Split into this and ...
13925 (forward_target_remove_breakpoint): ... this.
13926 (debug_to_insert_breakpoint): Add target_ops parameter.
13927 Call forward_target_insert_breakpoint.
13928 (debug_to_remove_breakpoint): Add target_ops parameter.
13929 Call forward_target_remove_breakpoint.
13930 (update_current_target): Do not inherit or default to_insert_breakpoint
13931 and to_remove_breakpoint.
13932 * corelow.c (ignore): Add target_ops parameter.
13933 * exec.c (ignore): Add target_ops parameter.
13934 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
13935 Add target_ops parameter.
13936 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
13937 Add target_ops parameter.
13938 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
13939 Add target_ops parameter.
13940 * record-full.c (record_full_beneath_to_insert_breakpoint)
13941 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
13942 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
13943 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
13944 (record_full_core_remove_breakpoint): Add target_ops parameter.
13945 Update users.
13946 (record_full_beneath_to_insert_breakpoint_ops)
13947 (record_full_beneath_to_remove_breakpoint_ops)
13948 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
13949 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
13950 tmp_to_remove_breakpoint_ops,
13951 record_full_beneath_to_insert_breakpoint_ops, and
13952 record_full_beneath_to_remove_breakpoint_ops.
13953 * remote-m32r-sdi.c (m32r_insert_breakpoint)
13954 (m32r_remove_breakpoint): Add target_ops parameter.
13955 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
13956 Add target_ops parameter.
13957 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
13958 Add target_ops parameter.
13959
13960 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13961 Markus Metzger <markus.t.metzger@intel.com>
13962
13963 * record-btrace.c: Include frame-unwind.h.
13964 (record_btrace_frame_unwind_stop_reason)
13965 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
13966 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
13967 New.
13968 (init_record_btrace_ops): Install it.
13969
13970 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13971
13972 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
13973 get_prev_frame_1.
13974
13975 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13976
13977 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
13978 earlier.
13979
13980 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13981
13982 * frame-unwind.c: Include target.h.
13983 (frame_unwind_try_unwinder): New function with code from ...
13984 (frame_unwind_find_by_frame): ... here. New variable
13985 unwinder_from_target, call also target_get_unwinder)
13986 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
13987 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
13988 * target.h (struct target_ops): New fields to_get_unwinder and
13989 to_get_tailcall_unwinder.
13990 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
13991
13992 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13993
13994 * record-btrace.c (record_btrace_fetch_registers)
13995 (record_btrace_store_registers)
13996 (record_btrace_to_prepare_to_store): New.
13997 (init_record_btrace_ops): Add the above.
13998
13999 2014-01-16 Tom Tromey <tromey@redhat.com>
14000
14001 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
14002 * target.h (struct target_ops) <to_prepare_to_store>: Add
14003 argument.
14004 (target_prepare_to_store): Add argument.
14005 * target.c (debug_to_prepare_to_store): Add argument.
14006 (update_current_target): Update.
14007 * remote.c (remote_prepare_to_store): Add 'self' argument.
14008 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
14009 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
14010 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
14011 * record-full.c (record_full_core_prepare_to_store): Add 'self'
14012 argument.
14013 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
14014 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
14015 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
14016 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
14017 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
14018
14019 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14020
14021 * btrace.h (replay) <replay>: New.
14022 (btrace_is_replaying): New.
14023 * btrace.c (btrace_clear): Free replay iterator.
14024 (btrace_is_replaying): New.
14025 * record-btrace.c (record_btrace_is_replaying): New.
14026 (record_btrace_info): Print insn number if replaying.
14027 (record_btrace_insn_history): Start at replay position.
14028 (record_btrace_call_history): Start at replay position.
14029 (init_record_btrace_ops): Init to_record_is_replaying.
14030
14031 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14032
14033 * record-btrace.c (record_btrace_insn_history_range): Include
14034 end.
14035 (record_btrace_insn_history_from): Adjust range.
14036 (record_btrace_call_history_range): Include
14037 end.
14038 (record_btrace_call_history_from): Adjust range.
14039 * NEWS: Announce changes.
14040
14041 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14042
14043 * record.h (enum record_print_flag)
14044 <record_print_indent_calls>: New.
14045 * record.c (get_call_history_modifiers): Recognize /c modifier.
14046 (_initialize_record): Document /c modifier.
14047 * record-btrace.c (btrace_call_history): Add btinfo parameter.
14048 Reorder fields. Optionally indent the function name. Update
14049 all users.
14050 * NEWS: Announce changes.
14051
14052 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14053
14054 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
14055
14056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14057
14058 * btrace.c (ftrace_new_function): Start counting at one.
14059 * record-btrace.c (record_btrace_info): Adjust number of calls
14060 and insns.
14061 * NEWS: Announce it.
14062
14063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14064
14065 * record-btrace.c (btrace_call_history_insn_range): Print
14066 insn range as [begin, end].
14067
14068 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14069
14070 * btrace.h (struct btrace_func_link): New.
14071 (enum btrace_function_flag): New.
14072 (struct btrace_inst): Rename to ...
14073 (struct btrace_insn): ...this. Update all users.
14074 (struct btrace_func) <ibegin, iend>: Remove.
14075 (struct btrace_func_link): New.
14076 (struct btrace_func): Rename to ...
14077 (struct btrace_function): ...this. Update all users.
14078 (struct btrace_function) <segment, flow, up, insn, insn_offset)
14079 (number, level, flags>: New.
14080 (struct btrace_insn_iterator): Rename to ...
14081 (struct btrace_insn_history): ...this.
14082 Update all users.
14083 (struct btrace_insn_iterator, btrace_call_iterator): New.
14084 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
14085 (struct btrace_target_info) <begin, end, level>
14086 <insn_history, call_history>: New.
14087 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14088 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14089 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14090 (btrace_call_number, btrace_call_begin, btrace_call_end)
14091 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14092 (btrace_find_function_by_number, btrace_set_insn_history)
14093 (btrace_set_call_history): New.
14094 * btrace.c (btrace_init_insn_iterator)
14095 (btrace_init_func_iterator, compute_itrace): Remove.
14096 (ftrace_print_function_name, ftrace_print_filename)
14097 (ftrace_skip_file): Change
14098 parameter to const.
14099 (ftrace_init_func): Remove.
14100 (ftrace_debug): Use new btrace_function fields.
14101 (ftrace_function_switched): Also consider gaining and
14102 losing symbol information).
14103 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
14104 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
14105 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
14106 New.
14107 (ftrace_new_function): Move. Remove debug print.
14108 (ftrace_update_lines, ftrace_update_insns): New.
14109 (ftrace_update_function): Check for call, ret, and jump.
14110 (compute_ftrace): Renamed to ...
14111 (btrace_compute_ftrace): ...this. Rewritten to compute call
14112 stack.
14113 (btrace_fetch, btrace_clear): Updated.
14114 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14115 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14116 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14117 (btrace_call_number, btrace_call_begin, btrace_call_end)
14118 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14119 (btrace_find_function_by_number, btrace_set_insn_history)
14120 (btrace_set_call_history): New.
14121 * record-btrace.c (require_btrace): Use new btrace thread
14122 info fields.
14123 (record_btrace_info, btrace_insn_history)
14124 (record_btrace_insn_history, record_btrace_insn_history_range):
14125 Use new btrace thread info fields and new iterator.
14126 (btrace_func_history_src_line): Rename to ...
14127 (btrace_call_history_src_line): ...this. Use new btrace
14128 thread info fields.
14129 (btrace_func_history): Rename to ...
14130 (btrace_call_history): ...this. Use new btrace thread info
14131 fields and new iterator.
14132 (record_btrace_call_history, record_btrace_call_history_range):
14133 Use new btrace thread info fields and new iterator.
14134
14135 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14136
14137 * frame.h (frame_id_build_unavailable_stack_special): New.
14138 * frame.c (frame_id_build_unavailable_stack_special): New.
14139
14140 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14141
14142 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
14143 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
14144 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
14145 to gdbarch.
14146 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
14147 (i386_insn_is_jump, i386_jmp_p): New.
14148 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
14149 insn_is_jump to gdbarch.
14150 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
14151 * gdbarch.h: Regenerated.
14152 * gdbarch.c: Regenerated.
14153 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
14154 (default_insn_is_jump): New.
14155 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
14156 (default_insn_is_jump): New.
14157
14158 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14159
14160 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
14161 Change to ...
14162 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
14163 (btrace_read_type) <btrace_read_new>: Change to ...
14164 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
14165
14166 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14167
14168 * common/linux-btrace.c (linux_read_btrace): Free trace from
14169 previous iteration.
14170
14171 2014-01-15 Doug Evans <dje@google.com>
14172
14173 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
14174 uint32_t.
14175
14176 2014-01-15 Tom Tromey <tromey@redhat.com>
14177
14178 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
14179 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
14180 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
14181 (set_objfile_main_name): New function.
14182 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
14183 language_of_main>: New fields.
14184 (set_objfile_main_name): Declare.
14185 * symtab.c (find_main_name): Loop over objfiles to find the main
14186 name and language.
14187 (set_main_name): Now static.
14188 (get_main_info): Add comment.
14189 * symtab.h (set_main_name): Don't declare.
14190
14191 2014-01-15 Tom Tromey <tromey@redhat.com>
14192
14193 * symtab.c (main_progspace_key): New global.
14194 (struct main_info): New.
14195 (name_of_main, language_of_main): Remove.
14196 (get_main_info, main_info_cleanup): New function.
14197 (set_main_name, main_name, main_language): Use get_main_info.
14198 (_initialize_symtab): Initialize main_progspace_key.
14199
14200 2014-01-15 Tom Tromey <tromey@redhat.com>
14201
14202 * dbxread.c (process_one_symbol): Update.
14203 * dwarf2read.c (read_partial_die): Update.
14204 * symfile.c (set_initial_language): Call main_language.
14205 * symtab.c (language_of_main): Now static.
14206 (set_main_name): Add 'lang' parameter.
14207 (find_main_name): Update.
14208 (main_language): New function.
14209 (symtab_observer_executable_changed): Update.
14210 * symtab.h (set_main_name): Update.
14211 (language_of_main): Remove.
14212 (main_language): Declare.
14213
14214 2014-01-15 Tom Tromey <tromey@redhat.com>
14215
14216 * symfile.c (init_entry_point_info): Use new "initialized" field.
14217 Update.
14218 * objfiles.h (struct entry_point) <initialized>: New field.
14219 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
14220 (struct objfile) <ei>: ...here. Remove.
14221 * objfiles.c (entry_point_address_query): Update.
14222
14223 2014-01-15 Tom Tromey <tromey@redhat.com>
14224
14225 * objfiles.c (entry_point_address_query): Relocate entry point
14226 address.
14227 (objfile_relocate1): Do not relocate entry point address.
14228 * objfiles.h (struct entry_info) <entry_point>: Update comment.
14229 <the_bfd_section_index>: New field.
14230 * symfile.c (init_entry_point_info): Find the entry point's
14231 section.
14232
14233 2014-01-15 Tom Tromey <tromey@redhat.com>
14234
14235 * solib-frv.c (enable_break): Use entry_point_address_query.
14236
14237 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14238
14239 * NEWS: Add note on improved process record-replay on
14240 arm*-linux* targets.
14241
14242 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14243
14244 * arm-tdep.c (enum arm_record_result): New enum.
14245 (arm_record_unsupported_insn): New function.
14246 (arm_record_coproc_data_proc): Removed.
14247 (thumb2_record_ld_st_multiple): New function.
14248 (thumb2_record_ld_st_dual_ex_tbb): New function.
14249 (thumb2_record_data_proc_sreg_mimm): New function.
14250 (thumb2_record_ps_dest_generic): New function.
14251 (thumb2_record_branch_misc_cntrl): New function.
14252 (thumb2_record_str_single_data): New function.
14253 (thumb2_record_ld_mem_hints): New function.
14254 (thumb2_record_ld_word): New function.
14255 (thumb2_record_lmul_lmla_div): New function.
14256 (thumb2_record_decode_insn_handler): New function.
14257 (decode_insn): Add thumb32 instruction handlers.
14258
14259 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14260
14261 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
14262 (struct arm_linux_record_tdep): Declare.
14263 (arm_canonicalize_syscall): New function.
14264 (arm_all_but_pc_registers_record): New function.
14265 (arm_linux_syscall_record): New function.
14266 (arm_linux_init_abi): Add syscall recording constructs.
14267 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
14268 decoding. (arm_record_coproc_data_proc): Update arm syscall
14269 decoding.
14270 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
14271 <arm_syscall_record>: New field.
14272 * configure.tgt (arm*-*-linux*): Add linux-record.o to
14273 gdb_target_obs.
14274
14275 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14276
14277 * arm-tdep.c (thumb_record_misc): Update to use sp as base
14278 register for push instruction recording.
14279
14280 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14281
14282 * arm-tdep.c (thumb_record_misc): Update to correct logical
14283 error while recording ldm, ldmia and pop instructions.
14284
14285 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14286
14287 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
14288
14289 2014-01-15 Pedro Alves <palves@redhat.com>
14290
14291 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
14292 (go32_resume, go32_fetch_registers, store_register)
14293 (go32_store_registers, go32_prepare_to_store)
14294 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
14295 (go32_create_inferior, go32_can_run, go32_terminal_init)
14296 (go32_terminal_inferior, go32_terminal_ours): Delete forward
14297 declarations.
14298
14299 2014-01-15 Tom Tromey <tromey@redhat.com>
14300
14301 * target.h (async_callback_ftype): New typedef.
14302 (struct target_ops) <to_async>: Use it.
14303
14304 2014-01-15 Joel Brobecker <brobecker@adacore.com>
14305
14306 * python/py-value.c (get_field_type): Remove unnecessary curly
14307 braces for single-statement if block.
14308
14309 2014-01-15 Joel Brobecker <brobecker@adacore.com>
14310
14311 * python/py-type.c (convert_field): Add missing empty line
14312 after declarations.
14313
14314 2014-01-14 Doug Evans <dje@google.com>
14315
14316 * symfile.h (expand_symtabs_matching): Renamed from
14317 expand_partial_symbol_names. Update prototype.
14318 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14319 * symfile.c (expand_symtabs_matching): Renamed from
14320 expand_partial_symbol_names. New args file_matcher, kind.
14321 Rename arg fun to symbol_matcher.
14322 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14323 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
14324 ada_expand_partial_symbol_name.
14325 (ada_make_symbol_completion_list): Update to call
14326 expand_symtabs_matching.
14327 (ada_add_global_exceptions): Call expand_symtabs_matching.
14328 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
14329 call map_symbol_filenames.
14330 * symtab.c (sources_info): Update to call map_symbol_filenames.
14331 (search_symbols): Call expand_symtabs_matching.
14332 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
14333 (default_make_symbol_completion_list_break_on): Update to call
14334 expand_symtabs_matching.
14335 (make_source_files_completion_list): Update to call
14336 map_symbol_filenames.
14337
14338 2014-01-14 Doug Evans <dje@google.com>
14339
14340 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
14341 (expand_symtabs_symbol_matcher_ftype): New typedef.
14342 (quick_symbol_functions.expand_symtabs_matching): Update to use.
14343 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14344 * symfile.c (expand_partial_symbol_names): Update to use
14345 expand_symtabs_symbol_matcher_ftype.
14346 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
14347 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14348 Arg name_matcher renamed to symbol_matcher.
14349 * psymtab.c (recursively_search_psymtabs): Update to use
14350 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
14351 sym_matcher.
14352 (expand_symtabs_matching_via_partial): Update to use
14353 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14354 Arg name_matcher renamed to symbol_matcher.
14355
14356 2014-01-14 Doug Evans <dje@google.com>
14357
14358 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
14359 (map_partial_symbol_filenames): Ditto.
14360 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
14361 (map_partial_symbol_filenames): Ditto.
14362 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
14363 (map_partial_symbol_filenames): Ditto.
14364 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
14365 (map_partial_symbol_filenames): Ditto.
14366 * symtab.c: Delete #include "psymtab.h".
14367
14368 2014-01-14 Pedro Alves <palves@redhat.com>
14369 Tom Tromey <tromey@redhat.com>
14370
14371 * infrun.c (use_displaced_stepping): Use find_record_target
14372 instead of RECORD_IS_USED.
14373 (adjust_pc_after_break): Use record_full_is_used instead of
14374 RECORD_IS_USED.
14375 * record-btrace.c (record_btrace_open): Call record_preopen
14376 instead of checking RECORD_IS_USED.
14377 * record-full.c (record_full_shortname)
14378 (record_full_core_shortname): New globals.
14379 (record_full_is_used): New function.
14380 (find_full_open): Call record_preopen instead of checking
14381 RECORD_IS_USED.
14382 (init_record_full_ops): Set the target's shortname to
14383 record_full_shortname.
14384 (init_record_full_core_ops): Set the target's shortname to
14385 record_full_core_shortname.
14386 * record-full.h (record_full_is_used): Declare.
14387 * record.c (find_record_target): Make extern.
14388 (record_preopen): New function.
14389 * record.h (RECORD_IS_USED): Delete macro.
14390 (find_record_target, record_preopen): Declare functions.
14391
14392 2014-01-14 Yao Qi <yao@codesourcery.com>
14393
14394 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
14395 'len''s type to ULONGEST.
14396 (core_xfer_shared_libraries_aix): Likewise.
14397 * gdbarch.c, gdbarch.h: Regenerated.
14398 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
14399 Change type of 'len' to ULONGEST.
14400 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14401 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
14402
14403 2014-01-14 Yao Qi <yao@codesourcery.com>
14404
14405 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
14406 type of 'len' to ULONGEST.
14407 (linux_xfer_osdata_processgroups): Likewise.
14408 (linux_xfer_osdata_threads): Likewise.
14409 (linux_xfer_osdata_fds): Likewise.
14410 (linux_xfer_osdata_isockets): Likewise.
14411 (linux_xfer_osdata_shm): Likewise.
14412 (linux_xfer_osdata_sem): Likewise.
14413 (linux_xfer_osdata_msg): Likewise.
14414 (linux_common_xfer_osdata): Likewise.
14415 (struct osdata_type) <getter>: Likewise.
14416 * common/linux-osdata.h (linux_common_xfer_osdata): Update
14417 the declaration.
14418
14419 2014-01-14 Yao Qi <yao@codesourcery.com>
14420
14421 * target.h (target_xfer_partial_ftype): Update.
14422 (struct target_ops) <to_xfer_partial>: Change 'len' type to
14423 ULONGEST.
14424 * aix-thread.c (aix_thread_xfer_partial): Change type of
14425 argument 'len' to ULONGEST.
14426 * auxv.c (procfs_xfer_auxv): Likewise.
14427 (ld_so_xfer_auxv): Likewise.
14428 (memory_xfer_auxv): Likewise.
14429 * bfd-target.c (target_bfd_xfer_partial): Likewise.
14430 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
14431 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
14432 * corelow.c (core_xfer_partial): Likewise.
14433 * ctf.c (ctf_xfer_partial): Likewise.
14434 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
14435 '%u'.
14436 (darwin_read_dyld_info): Likewise.
14437 (darwin_xfer_partial): Likewise.
14438 * exec.c (section_table_xfer_memory_partial): Likewise.
14439 (exec_xfer_partial): Likewise.
14440 * exec.h (section_table_xfer_memory_partial): Update
14441 declaration.
14442 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
14443 instead of plongest.
14444 (gnu_xfer_partial): Likewise.
14445 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
14446 (ia64_hpux_xfer_solib_got): Likewise.
14447 (ia64_hpux_xfer_partial): Likewise.
14448 * ia64-linux-nat.c (ia64_linux_xfer_partial):
14449 * inf-ptrace.c (inf_ptrace_xfer_partial):
14450 * inf-ttrace.c (inf_ttrace_xfer_partial):
14451 * linux-nat.c (linux_xfer_siginfo): Likewise.
14452 (linux_nat_xfer_partial): Likewise.
14453 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
14454 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
14455 * monitor.c (monitor_xfer_memory): Likewise.
14456 (monitor_xfer_partial): Likewise.
14457 * procfs.c (procfs_xfer_partial): Likewise.
14458 * record-full.c (record_full_xfer_partial): Likewise.
14459 (record_full_core_xfer_partial): Likewise.
14460 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
14461 instead of plongest.
14462 (gdbsim_xfer_partial): Likewise.
14463 * remote.c (remote_xfer_partial): Likewise.
14464 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14465 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
14466 declaration.
14467 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
14468 (rs6000_xfer_shared_libraries): Likewise.
14469 * sol-thread.c (sol_thread_xfer_partial): Likewise.
14470 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
14471 (sparc_xfer_partial): Likewise.
14472 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
14473 (spu_xfer_partial): Likewise.
14474 * spu-multiarch.c (spu_xfer_partial): Likewise.
14475 * target.c (target_read_live_memory): Likewise.
14476 (memory_xfer_live_readonly_partial): Likewise.
14477 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
14478 (target_xfer_partial, default_xfer_partial): Likewise.
14479 (current_xfer_partial): Likewise.
14480 * tracepoint.c (tfile_xfer_partial): Likewise.
14481 * windows-nat.c (windows_xfer_memory): Likewise. Call
14482 pulongest instead of plongest.
14483 (windows_xfer_partial): Likewise.
14484 (windows_xfer_shared_libraries): Likewise.
14485
14486 2014-01-14 Yao Qi <yao@codesourcery.com>
14487
14488 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
14489 target_xfer_partial_ftype.
14490
14491 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14492
14493 PR python/15464
14494 PR python/16113
14495 * valops.c (value_struct_elt_bitpos): New function
14496 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
14497 object to 'None' if the field name is an empty string ("").
14498 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
14499 attribute to look for a field when 'name' is 'None'.
14500 (get_field_type): New function
14501
14502 2014-01-13 Doug Evans <dje@google.com>
14503
14504 PR symtab/16426
14505 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
14506 (try_open_dwop_file): Ditto.
14507 * gdb_bfd.c: #include "vec.h".
14508 (bfdp): New typedef.
14509 (struct gdb_bfd_data): New member included_bfds.
14510 (gdb_bfd_unref): Unref all included bfds.
14511 (gdb_bfd_record_inclusion): New function.
14512 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
14513
14514 2014-01-13 Tom Tromey <tromey@redhat.com>
14515
14516 * gdbcore.h (deprecated_core_resize_section_table): Remove.
14517
14518 2014-01-13 Tom Tromey <tromey@redhat.com>
14519
14520 * defs.h (use_windows): Remove.
14521 * gdb.c (main): Update.
14522 * main.c (captured_main, gdb_main): Update.
14523 * main.h (struct captured_main_args) <use_windows>: Remove.
14524 * top.c (use_windows): Remove.
14525
14526 2014-01-13 Tom Tromey <tromey@redhat.com>
14527
14528 * defs.h (deprecated_flush_hook): Remove.
14529
14530 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14531
14532 PR threads/16216
14533 * linux-thread-db.c (try_thread_db_load): Add parameter
14534 check_auto_load_safe. Move here the file_is_auto_load_safe call.
14535 (try_thread_db_load_from_pdir_1): Move it there from here.
14536 (try_thread_db_load_from_sdir): Update caller.
14537 (try_thread_db_load_from_dir): Move it there from here.
14538
14539 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
14540
14541 * regformats/regdat.sh: Always rewrite the register file.
14542
14543 2014-01-13 Pedro Alves <palves@redhat.com>
14544
14545 * Makefile.in (CHECK_HEADERS): New variable.
14546 (check-headers:): New rule.
14547
14548 2014-01-13 Tom Tromey <tromey@redhat.com>
14549
14550 * cli/cli-setshow.c (do_set_command): Update.
14551 * defs.h (deprecated_set_hook): Remove.
14552 * top.c (deprecated_set_hook): Remove.
14553
14554 2014-01-13 Pedro Alves <palves@redhat.com>
14555
14556 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
14557 the tracepoint if the PC is a pseudo-register.
14558
14559 2014-01-13 Tom Tromey <tromey@redhat.com>
14560
14561 * defs.h (XCALLOC): Remove.
14562 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
14563 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
14564 * dwarf2loc.c (allocate_piece_closure): Likewise.
14565 * elfread.c (elf_symfile_segments): Likewise.
14566 (elf_symfile_segments): Likewise.
14567 * gdbtypes.c (copy_type_recursive): Likewise.
14568 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
14569 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
14570 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
14571 XCALLOC.
14572 * mt-tdep.c (mt_gdbarch_init): Likewise.
14573 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
14574 XCALLOC.
14575 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
14576 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
14577 * registry.c (registry_alloc_data): Likewise.
14578 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
14579 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
14580 * serial.c (serial_fdopen_ops): Likewise.
14581 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
14582 XCALLOC.
14583 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
14584 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
14585 not XCALLOC.
14586
14587 2014-01-13 Tom Tromey <tromey@redhat.com>
14588
14589 * defs.h (XMALLOC): Remove.
14590 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
14591 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
14592 * cli-out.c (struct ui_out *): Likewise.
14593 * cli/cli-dump.c (add_dump_command): Likewise.
14594 (add_dump_command): Likewise.
14595 * complaints.c (get_complaints): Likewise.
14596 (find_complaint): Likewise.
14597 * dwarf2-frame.c (execute_cfa_program): Likewise.
14598 * dwarf2read.c (abbrev_table_read_table): Likewise.
14599 * gdbarch.sh: Likewise.
14600 * gdbarch.c: Rebuild.
14601 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
14602 * interps.c (interp_new): Likewise.
14603 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
14604 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
14605 * mi/mi-console.c (mi_console_file_new): Likewise.
14606 * mi/mi-interp.c (mi_interpreter_init): Likewise.
14607 * mi/mi-out.c (mi_out_new): Likewise.
14608 * mi/mi-parse.c (mi_parse): Likewise.
14609 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
14610 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
14611 * observer.c (xalloc_observer_list_node): Likewise.
14612 * regcache.c (regcache_xmalloc_1): Likewise.
14613 * reggroups.c (reggroup_new): Likewise.
14614 (_initialize_reggroup): Likewise.
14615 * registry.c (register_data_with_cleanup): Likewise.
14616 * remote.c (remote_notif_stop_alloc_reply): Likewise.
14617 * ser-base.c (serial_ttystate): Likewise.
14618 * ser-mingw.c (make_pipe_state): Likewise.
14619 * ser-pipe.c (pipe_open): Likewise.
14620 * serial.c (serial_open): Likewise.
14621 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
14622 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
14623 (tui_alloc_win_info): Likewise.
14624 (tui_add_content_elements): Likewise.
14625 * tui/tui-file.c (tui_file_new): Likewise.
14626 * tui/tui-out.c (tui_out_new): Likewise.
14627 * ui-file.c (mem_file_new): Likewise.
14628 * ui-out.c (push_level): Likewise.
14629 (make_cleanup_ui_out_end): Likewise.
14630 (append_header_to_list): Likewise.
14631 (ui_out_new): Likewise.
14632 * user-regs.c (user_reg_add_builtin): Likewise.
14633
14634 2014-01-13 Tom Tromey <tromey@redhat.com>
14635
14636 * defs.h (XZALLOC): Remove.
14637 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
14638 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
14639 (get_ada_tasks_inferior_data): Likewise.
14640 * auto-load.c (get_auto_load_pspace_data): Likewise.
14641 * auxv.c (get_auxv_inferior_data): Likewise.
14642 * bfd-target.c (target_bfd_reopen): Likewise.
14643 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
14644 (deprecated_insert_raw_breakpoint): Likewise.
14645 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
14646 * corelow.c (core_open): Likewise.
14647 * darwin-nat.c (darwin_check_new_threads): Likewise.
14648 (darwin_attach_pid): Likewise.
14649 * dummy-frame.c (dummy_frame_push): Likewise.
14650 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
14651 * dwarf2loc.c (allocate_piece_closure): Likewise.
14652 * elfread.c (elf_symfile_segments): Likewise.
14653 * eval.c (ptrmath_type_p): Likewise.
14654 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
14655 * gdbtypes.c (alloc_type_arch): Likewise.
14656 (alloc_type_instance): Likewise.
14657 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
14658 * inf-child.c (inf_child_can_use_agent): Likewise.
14659 * inflow.c (get_inflow_inferior_data): Likewise.
14660 * infrun.c (save_infcall_suspend_state): Likewise.
14661 * jit.c (jit_reader_load): Likewise.
14662 (get_jit_objfile_data): Likewise.
14663 (get_jit_program_space_data): Likewise.
14664 (jit_object_open_impl): Likewise.
14665 (jit_symtab_open_impl): Likewise.
14666 (jit_block_open_impl): Likewise.
14667 (jit_frame_sniffer): Likewise.
14668 * linux-fork.c (add_fork): Likewise.
14669 * maint.c (make_command_stats_cleanup): Likewise.
14670 * objfiles.c (get_objfile_pspace_data): Likewise.
14671 * opencl-lang.c (struct lval_closure): Likewise.
14672 * osdata.c (osdata_start_osdata): Likewise.
14673 * progspace.c (new_address_space): Likewise.
14674 (add_program_space): Likewise.
14675 * remote-sim.c (get_sim_inferior_data): Likewise.
14676 * sh-tdep.c (sh_gdbarch_init): Likewise.
14677 * skip.c (Ignore): Likewise.
14678 (skip_delete_command): Likewise.
14679 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
14680 (library_list_start_library): Likewise.
14681 (solib_aix_current_sos): Likewise.
14682 * solib-darwin.c (get_darwin_info): Likewise.
14683 (darwin_current_sos): Likewise.
14684 * solib-dsbt.c (get_dsbt_info): Likewise.
14685 * solib-ia64-hpux.c (new_so_list): Likewise.
14686 (ia64_hpux_get_solib_linkage_addr): Likewise.
14687 * solib-spu.c (append_ocl_sos): Likewise.
14688 (spu_current_sos): Likewise.
14689 * solib-svr4.c (get_svr4_info): Likewise.
14690 (svr4_keep_data_in_core): Likewise.
14691 (library_list_start_library): Likewise.
14692 (svr4_default_sos): Likewise.
14693 (svr4_read_so_list): Likewise.
14694 * solib-target.c (library_list_start_library): Likewise.
14695 (solib_target_current_sos): Likewise.
14696 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
14697 * symfile-debug.c (install_symfile_debug_logging): Likewise.
14698 * symfile.c (default_symfile_segments): Likewise.
14699 * target-descriptions.c (tdesc_data_init): Likewise.
14700 (tdesc_create_reg): Likewise.
14701 (struct tdesc_type *): Likewise.
14702 (tdesc_create_vector): Likewise.
14703 (tdesc_set_struct_size): Likewise.
14704 (struct tdesc_type *): Likewise.
14705 (tdesc_free_feature): Likewise.
14706 (tdesc_create_feature): Likewise.
14707 * windows-nat.c (windows_add_thread): Likewise.
14708 (windows_make_so): Likewise.
14709 * xml-support.c (gdb_xml_body_text): Likewise.
14710 (gdb_xml_create_parser_and_cleanup): Likewise.
14711 (xml_process_xincludes): Likewise.
14712 * xml-syscall.c (allocate_syscalls_info): Likewise.
14713 (syscall_create_syscall_desc): Likewise.
14714
14715 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
14716
14717 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
14718 function, with code from i386_stap_parse_special_token.
14719 (i386_stap_parse_special_token_three_arg_disp): Likewise.
14720 (i386_stap_parse_special_token): Move code to the two functions
14721 above; simplify it.
14722
14723 2014-01-09 Pedro Alves <palves@redhat.com>
14724 Hui Zhu <hui@codesourcery.com>
14725
14726 PR gdb/16101
14727 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
14728 bp_err_string. Don't mark the location shlib_disabled if the
14729 error thrown wasn't a generic or memory error. Catch errors
14730 thrown while inserting breakpoints in overlayed code. Output
14731 error message of software breakpoints.
14732 * remote.c (remote_insert_breakpoint): If this breakpoint has
14733 target-side commands but this stub doesn't support Z0 packets,
14734 throw NOT_SUPPORTED_ERROR error.
14735 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
14736 * target.h (target_insert_breakpoint): Extend comment.
14737 (target_insert_hw_breakpoint): Add comment.
14738
14739 2014-01-08 Pedro Alves <palves@redhat.com>
14740
14741 * remote.c (remote_add_thread): Add threads silently if starting
14742 up.
14743 (remote_notice_new_inferior): If in all-stop, and starting up,
14744 don't call notice_new_inferior.
14745 (get_current_thread): New function, factored out from ...
14746 (add_current_inferior_and_thread): ... this. Adjust.
14747 (remote_start_remote) <all-stop>: Fetch the thread list. If we
14748 found any thread, then select the remote's current thread as GDB's
14749 current thread too.
14750
14751 2014-01-08 Joel Brobecker <brobecker@adacore.com>
14752
14753 * NEWS: Create a new section for the next release branch.
14754 Rename the section of the current branch, now that it has
14755 been cut.
14756
14757 2014-01-08 Joel Brobecker <brobecker@adacore.com>
14758
14759 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
14760 * version.in: Bump version to 7.7.50.DATE-cvs.
14761
14762 2014-01-08 Yao Qi <yao@codesourcery.com>
14763
14764 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
14765 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
14766 (spu_xfer_partial): Cast 'buf' to 'const char *'.
14767
14768 2014-01-08 Yao Qi <yao@codesourcery.com>
14769
14770 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
14771 return value of bfd_get_filename to symbol_file_add_from_bfd.
14772
14773 2014-01-08 Pierre Muller <muller@sourceware.org>
14774
14775 Fix PR16201.
14776 * coff-pe-read.c (struct read_pe_section_data): Add index field.
14777 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
14778 to prim_record_mininal_symbol_and_info.
14779 (add_pe_forwarded_sym): Use known section number of forwarded symbol
14780 in call to prim_record_minimal_symbol_and_info.
14781 (read_pe_exported_syms): Set index field of section_data.
14782
14783 2014-01-07 Andrew Pinski <apinski@cavium.com>
14784
14785 * features/aarch64-core.xml (cpsr): Change to be 64bit.
14786 * features/aarch64.c: Regenerate.
14787
14788 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
14789
14790 * target.c (return_null): Define.
14791 (update_current_target): Use it instead of return_zero for
14792 functions that return a pointer.
14793
14794 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14795
14796 * source.c (add_path): Fix check for duplicated paths in the previously
14797 included paths.
14798
14799 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
14800
14801 * ada-lang.c: Remove duplicated include statements.
14802 * alphabsd-nat.c: Ditto.
14803 * amd64-darwin-tdep.c: Ditto.
14804 * amd64fbsd-nat.c: Ditto.
14805 * auto-load.c: Ditto.
14806 * ax-gdb.c: Ditto.
14807 * breakpoint.c: Ditto.
14808 * dbxread.c: Ditto.
14809 * fork-child.c: Ditto.
14810 * gdb_usleep.c: Ditto.
14811 * i386-darwin-tdep.c: Ditto.
14812 * i386fbsd-nat.c: Ditto.
14813 * infcmd.c: Ditto.
14814 * inferior.c: Ditto.
14815 * jv-lang.c: Ditto.
14816 * linux-nat.c: Ditto.
14817 * linux-tdep.c: Ditto.
14818 * m68kbsd-nat.c: Ditto.
14819 * m68klinux-nat.c: Ditto.
14820 * microblaze-tdep.c: Ditto.
14821 * mips-linux-tdep.c: Ditto.
14822 * mn10300-tdep.c: Ditto.
14823 * nto-tdep.c: Ditto.
14824 * opencl-lang.c: Ditto.
14825 * osdata.c: Ditto.
14826 * printcmd.c: Ditto.
14827 * regcache.c: Ditto.
14828 * remote-m32r-sdi.c: Ditto.
14829 * remote.c: Ditto.
14830 * symfile.c: Ditto.
14831 * symtab.c: Ditto.
14832 * tilegx-linux-nat.c: Ditto.
14833 * tilegx-tdep.c: Ditto.
14834 * tracepoint.c: Ditto.
14835 * valops.c: Ditto.
14836 * vaxbsd-nat.c: Ditto.
14837 * windows-nat.c: Ditto.
14838 * xtensa-tdep.c: Ditto.
14839
14840 2014-01-07 Yao Qi <yao@codesourcery.com>
14841
14842 * spu-linux-nat.c (_initialize_spu_nat): Declare.
14843
14844 2014-01-07 Yao Qi <yao@codesourcery.com>
14845 Joel Brobecker <brobecker@adacore.com>
14846
14847 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
14848 (pdc_write_regs): Likewise.
14849 (fetch_regs_kernel_thread): Likewise.
14850 (store_regs_kernel_thread): Likewise.
14851
14852 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14853
14854 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
14855 tagged type objects to their actual type.
14856
14857 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14858
14859 * ada-valprint.c (print_field_values): Add "language" parameter.
14860 Update calls to print_field_values and print_variant_part.
14861 Pass new parameter "language" in call to val_print instead
14862 of "current_language". Replace call to ada_val_print by call
14863 to val_print.
14864 (print_variant_part): Add "language" parameter.
14865 (ada_val_print_struct_union): Update call to print_field_values.
14866
14867 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14868
14869 * ada-valprint.c (ui_memcpy): Delete.
14870 (ada_print_floating): Update documentation. Add empty line
14871 between between function documentation and implementation.
14872 Delete variable "buffer". Use ui_file_xstrdup in place of
14873 ui_file_put. Minor adjustments following this change.
14874
14875 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14876
14877 * ada-valprint.c (ada_val_print_string): New function,
14878 extracted from ada_val_print_array.
14879 (ada_val_print_array): Replace extracted code by call
14880 to ada_val_print_string followed by a return. Move
14881 "else" branch to the function's top block.
14882
14883 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14884
14885 * ada-valprint.c (ada_val_print_array): Move implementation
14886 down. Rename parameter "offset" and "val" into "offset_aligned"
14887 and "original_value" respectively. Add parameter "offset".
14888
14889 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14890
14891 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
14892 re-organizing the code. Change the "???" message printed
14893 when target type is a TYPE_CODE_UNDEF into
14894 "<ref to undefined type>".
14895
14896 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14897
14898 * ada-valprint.c (print_record): Delete, implementation inlined...
14899 (ada_val_print_struct_union): ... here. Remove call to
14900 ada_check_typedef in inlined implementation.
14901
14902 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14903
14904 * ada-valprint.c (ada_val_print_gnat_array): New function,
14905 extracted from ada_val_print_1;
14906 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
14907 (ada_val_print_flt, ada_val_print_struct_union)
14908 (ada_val_print_ref): Likewise.
14909 (ada_val_print_1): Delete variables i and elttype.
14910 Replace extracted-out code by call to corresponding
14911 new functions.
14912
14913 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14914
14915 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
14916
14917 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14918
14919 * ada-valprint.c (ada_val_print_1): Replace calls to
14920 ada_val_print_1 by calls to val_print.
14921
14922 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14923
14924 * ada-valprint.c (ada_val_print_1): Add parameter "language".
14925 Update calls to self accordingly. Replace calls to c_val_print
14926 by calls to val_print.
14927
14928 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14929
14930 * ada-valprint.c (print_record): Delete declaration.
14931 (adjust_type_signedness, ada_val_print_1): Likewise.
14932 (ada_val_print): Move function implementation down.
14933 (print_variant_part, print_field_values, print_record):
14934 Move function implementation up.
14935
14936 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14937
14938 * python/py-type.c (typy_get_name): New function.
14939 (type_object_getset): Add entry for attribute "name".
14940 * NEWS: Add entry mentioning this new attribute.
14941
14942 2014-01-07 Yao Qi <yao@codesourcery.com>
14943
14944 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
14945 statement.
14946
14947 2014-01-07 Yao Qi <yao@codesourcery.com>
14948
14949 * gnu-nat.c (info_port_rights): Add qualifier const to
14950 argument args.
14951
14952 2014-01-07 Yao Qi <yao@codesourcery.com>
14953
14954 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
14955
14956 2014-01-07 Yao Qi <yao@codesourcery.com>
14957
14958 * gnu-nat.c (make_inf) Update declaration.
14959 (make_inf): Make it static.
14960 (inf_set_traced): Likewise.
14961 (inf_port_to_thread, inf_task_died_status): Likewise.
14962
14963 2014-01-07 Yao Qi <yao@codesourcery.com>
14964
14965 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
14966
14967 2014-01-07 Yao Qi <yao@codesourcery.com>
14968
14969 * gnu-nat.c (_initialize_gnu_nat): Declare.
14970
14971 2014-01-07 Yao Qi <yao@codesourcery.com>
14972
14973 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
14974 'enum bfd_endian'.
14975 (struct gdbarch_info) <byte_order>: Change type to
14976 'enum bfd_endian'.
14977 <byte_order_for_code>: Likewise.
14978 * gdbarch.c, gdbarch.h: Regenerated.
14979
14980 2014-01-06 Sasha Smundak <asmundak@google.com>
14981
14982 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
14983
14984 2014-01-06 Tom Tromey <tromey@redhat.com>
14985
14986 * doublest.c (convert_doublest_to_floatformat): Use const, not
14987 CONST.
14988 * somread.c (som_symtab_read): Likewise.
14989
14990 2014-01-07 Hui Zhu <hui@codesourcery.com>
14991
14992 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
14993 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
14994 (gdb_bfd_fopen): Ditto.
14995 (gdb_bfd_openr): Ditto.
14996 (gdb_bfd_openw): Ditto.
14997 (gdb_bfd_openr_iovec): Ditto.
14998 (gdb_bfd_fdopenr): Ditto.
14999 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
15000 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
15001 with xstrdup.
15002 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
15003 with xstrdup.
15004 * symfile-mem.c (symbol_file_add_from_memory): Removed
15005 gdb_bfd_stash_filename.
15006
15007 2014-01-03 Doug Evans <dje@google.com>
15008
15009 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
15010 output.
15011
15012 2014-01-01 Joel Brobecker <brobecker@adacore.com>
15013
15014 Update year range in copyright notice of all files.
15015
15016 2014-01-01 Joel Brobecker <brobecker@adacore.com>
15017
15018 * top.c (print_gdb_version): Set copyright year to 2014.
15019
15020 2014-01-01 Joel Brobecker <brobecker@adacore.com>
15021
15022 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
15023
15024 For older changes see ChangeLog-2013.
15025 \f
15026 Local Variables:
15027 mode: change-log
15028 left-margin: 8
15029 fill-column: 74
15030 version-control: never
15031 coding: utf-8
15032 End:
This page took 0.307596 seconds and 5 git commands to generate.