Rename lookup_symbol_global to lookup_global_symbol.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-11-06 Doug Evans <xdje42@gmail.com>
2
3 * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
4 All callers updated.
5 * symtab.h (lookup_global_symbol): Update decl.
6 (lookup_static_symbol): Move decl to better location.
7
8 2014-11-06 Doug Evans <xdje42@gmail.com>
9
10 * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
11
12 2014-11-06 Doug Evans <xdje42@gmail.com>
13
14 * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
15 All callers updated.
16 (lookup_symbol_in_all_objfiles): Renamed from
17 lookup_symbol_aux_symtabs. All callers updated.
18 (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
19 All callers updated.
20 (lookup_symbol_in_objfile_symtabs): Renamed from
21 lookup_symbol_aux_objfile. All callers updated.
22
23 2014-11-06 Doug Evans <xdje42@gmail.com>
24
25 * symtab.c (lookup_symbol_in_block): Renamed from
26 lookup_symbol_aux_block. All callers updated.
27
28 2014-11-06 Doug Evans <xdje42@gmail.com>
29
30 * symtab.c (lookup_static_symbol): Renamed from
31 lookup_static_symbol_aux. All callers updated.
32 (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
33 All callers updated.
34
35 2014-11-06 Doug Evans <xdje42@gmail.com>
36
37 * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
38 * block.c (block_lookup_symbol): Use it.
39 * cp-support.c (make_symbol_overload_list_block): Use it.
40 * symtab.c (iterate_over_symbols): Use it.
41
42 2014-11-06 Doug Evans <xdje42@gmail.com>
43
44 * symtab.c (lookup_block_symbol): Moved to ...
45 * block.c (block_lookup_symbol): ... here and renamed.
46 All callers updated.
47 * block.h (block_lookup_symbol): Declare.
48 * symtab.h (lookup_block_symbol): Delete.
49
50 2014-11-06 Doug Evans <xdje42@gmail.com>
51
52 * ada-lang.c (ada_make_symbol_completion_list): Use
53 ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
54 * symtab.c (lookup_objfile_from_block): Ditto.
55
56 2014-11-06 Doug Evans <xdje42@gmail.com>
57
58 * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
59 TYPE_CODE_STRUCT.
60
61 2014-11-06 Doug Evans <xdje42@gmail.com>
62
63 * objfiles.c (get_objfile_arch): Constify.
64 * objfiles.h (get_objfile_arch): Update prototype.
65 * solib.c (solib_global_lookup): Fetch arch from objfile,
66 not target_gdbarch.
67
68 2014-11-06 Sandra Loosemore <sandra@codesourcery.com>
69
70 * nios2-tdep.c (wild_insn): Delete.
71 (profiler_insn, irqentry_insn): Delete.
72 (nios2_match_sequence): Delete.
73 (nios2_analyze_prologue): Update comments. Remove matching
74 of obsolete profiler_insn and irqentry_insn sequences.
75
76 2014-11-05 Alan Modra <amodra@gmail.com>
77
78 * charset.c (convert_between_encodings): Shrink obstack using
79 obstack_blank_fast.
80 * minsyms.c (install_minimal_symbols): Likewise.
81 * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
82 to char* before doing pointer arithmetic.
83
84 2014-11-04 Simon Marchi <simon.marchi@ericsson.com>
85
86 * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
87
88 2014-11-04 Pedro Alves <palves@redhat.com>
89
90 * breakpoint.c (breakpoint_thread_match): Delete function.
91 * breakpoint.h (breakpoint_thread_match): Delete declaration.
92
93 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
94
95 PR c++/17494
96 * eval.c (evaluate_subexp_standard): Evaluate the "object" and
97 the method args also under EVAL_SKIP when evaluating method
98 calls under EVAL_SKIP.
99
100 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
101
102 * dwarf2loc.c (read_pieced_value): Do big endian
103 processing only if gdb_regnum is not -1.
104 (write_pieced_value): Ditto.
105
106 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
107
108 * arm-linux-tdep.c (arm_linux_init_abi): Use
109 info.byte_order_for_code to choose endianity of breakpoint
110 instructions snippets.
111
112 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
113
114 * arm-tdep.c (extract_arm_insn): Use
115 gdbarch_byte_order_for_code to read arm instruction.
116
117 2014-11-02 Doug Evans <xdje42@gmail.com>
118
119 * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
120
121 2014-11-02 Doug Evans <xdje42@gmail.com>
122
123 * xcoffread.c (process_linenos): Delete unnecessary zeroing of
124 main_subfile before returning.
125
126 2014-10-31 Doug Evans <xdje42@gmail.com>
127
128 * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
129 (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
130
131 2014-10-31 Doug Evans <xdje42@gmail.com>
132
133 * valops.c (value_cast_pointers): Fix whitespace.
134 (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
135 Ditto.
136
137 2014-10-30 Doug Evans <dje@google.com>
138
139 * NEWS: Mention ability add attributes to gdb.Objfile and
140 gdb.Progspace objects.
141 * python/py-objfile.c (objfile_object): New member dict.
142 (objfpy_dealloc): Py_XDECREF dict.
143 (objfpy_initialize): Initialize dict.
144 (objfile_getset): Add __dict__.
145 (objfile_object_type): Set tp_dictoffset member.
146 * python/py-progspace.c (progspace_object): New member dict.
147 (pspy_dealloc): Py_XDECREF dict.
148 (pspy_initialize): Initialize dict.
149 (pspace_getset): Add __dict__.
150 (pspace_object_type): Set tp_dictoffset member.
151
152 2014-10-30 Yao Qi <yao@codesourcery.com>
153
154 * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
155 replace '\\' with '\\\\'.
156
157 2014-10-29 Joel Brobecker <brobecker@adacore.com>
158
159 GDB 7.8.1 released.
160
161 2014-10-29 Pedro Alves <palves@redhat.com>
162
163 PR gdb/17408
164 * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
165 instead of assuming a thread with a stepping range is always
166 stepping.
167
168 2014-10-29 Pedro Alves <palves@redhat.com>
169
170 PR python/17372
171 * event-top.c (change_line_handler): Call
172 gdb_rl_callback_handler_remove instead of
173 rl_callback_handler_remove.
174 (callback_handler_installed): New global.
175 (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
176 (gdb_rl_callback_handler_reinstall): New functions.
177 (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
178 gdb_rl_callback_handler_install instead of
179 rl_callback_handler_remove and rl_callback_handler_install.
180 (gdb_disable_readline): Call gdb_rl_callback_handler_remove
181 instead of rl_callback_handler_remove.
182 * event-top.h (gdb_rl_callback_handler_remove)
183 (gdb_rl_callback_handler_install)
184 (gdb_rl_callback_handler_reinstall): New declarations.
185 * infrun.c (reinstall_readline_callback_handler_cleanup): New
186 cleanup function.
187 (fetch_inferior_event): Install it.
188 * top.c (gdb_readline_wrapper_line) Call
189 gdb_rl_callback_handler_remove instead of
190 rl_callback_handler_remove.
191 (gdb_readline_wrapper_cleanup): Don't call
192 rl_callback_handler_install.
193
194 2014-10-29 Pedro Alves <palves@redhat.com>
195
196 * event-top.c (command_line_handler): Clear the first byte of
197 linebuffer, when it is first allocated.
198
199 2014-10-29 Pedro Alves <palves@redhat.com>
200
201 * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
202 TRY_CATCH.
203
204 2014-10-29 Pedro Alves <palves@redhat.com>
205
206 PR tui/16138
207 PR tui/17519
208 * tui/tui-interp.c (tui_is_toplevel): Delete global.
209 (tui_allowed_p): Delete function.
210 * tui/tui.c: Include "interps.h".
211 (tui_enable): Don't use tui_allowed_p. Error out here with
212 detailed error messages if the TUI is the top level interpreter,
213 or if output is not a terminal. Use newterm instead of initscr,
214 and error out if initializing the terminal fails. Also error out if
215 the terminal doesn't support cursor addressing.
216 * tui/tui.h (tui_allowed_p): Delete declaration.
217
218 2014-10-29 Joel Brobecker <brobecker@adacore.com>
219
220 * arm-tdep.c (arm_skip_stack_protector): Return early if
221 address loaded by first "ldr" instruction does not have
222 a corresponding minimal symbol. Update comment.
223
224 2014-10-29 Yao Qi <yao@codesourcery.com>
225
226 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
227 loaded address correctly of ldr instruction.
228
229 2014-10-28 Pedro Alves <palves@redhat.com>
230
231 PR gdb/12623
232 * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
233 field.
234 * infrun.c (resume) <stepping breakpoint instruction>: Set the
235 thread's stepped_breakpoint field. Skip if reverse debugging.
236 Add comment.
237 (init_thread_stepping_state, handle_signal_stop): Clear the
238 thread's stepped_breakpoint field.
239
240 2014-10-27 Pedro Alves <palves@redhat.com>
241
242 * remote.c (remote_thread_alive): New, factored out from ...
243 (remote_thread_alive): ... this.
244 (remote_update_thread_list): Bail out before deleting threads if
245 the target returned an empty list, and, the current thread has a
246 magic/fake ptid.
247
248 2014-10-27 Pedro Alves <palves@redhat.com>
249
250 * infrun.c (handle_signal_stop): Also skip handlers when a random
251 signal arrives while handling a "stepi" or a "nexti". Set the
252 thread's 'step_after_step_resume_breakpoint' flag.
253
254 2014-10-27 Luis Machado <lgustavo@codesourcery.com>
255
256 * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
257 (arm_record_ld_st_imm_offset): Reimplement to cover all
258 load/store cases for ARM opcode 010.
259 (arm_record_ld_st_multiple): Reimplement to cover all
260 load/store cases for ARM opcode 100.
261
262 2014-10-26 Doug Evans <xdje42@gmail.com>
263
264 * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
265
266 2014-10-26 Doug Evans <xdje42@gmail.com>
267
268 * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
269 parameter "kind" to "block_index".
270 * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
271 "block_index".
272 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
273
274 2014-10-26 Doug Evans <xdje42@gmail.com>
275
276 * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
277
278 2014-10-26 Doug Evans <xdje42@gmail.com>
279
280 * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
281 obstack_alloc.
282
283 2014-10-26 Doug Evans <xdje42@gmail.com>
284
285 * parser-defs.h (block_found): Move decl from here ...
286 * symtab.h (block_found): ... to here.
287
288 2014-10-26 Doug Evans <xdje42@gmail.com>
289
290 * symtab.h (struct field_of_this_result): Fix typo in comment.
291 (lookup_symbol_in_language): Move function comment here.
292 (lookup_symbol): Improve function comment.
293 (basic_lookup_symbol_nonlocal): Ditto.
294 (lookup_symbol_static, lookup_symbol_global): Ditto.
295 (lookup_symbol_aux_block): Ditto.
296 (lookup_language_this): Add function comment.
297 (lookup_static_symbol_aux): Explicitly mark as extern. Improve
298 function comment.
299 (lookup_block_symbol): Improve function comment.
300 (lookup_struct): Fix capitalization in function comment.
301 (lookup_transparent_type): Add function comment.
302 (lookup_global_symbol_from_objfile): Explicitly mark as extern.
303 Improve function comment.
304 (lookup_objfile_from_block): Add function comment.
305 * symtab.c (lookup_symbol_in_language): Update function comment.
306 (lookup_symbol, lookup_language_this): Ditto.
307 (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
308 (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
309 (basic_lookup_symbol_nonlocal): Ditto.
310 (lookup_symbol_static, lookup_symbol_global): Ditto.
311 (lookup_transparent_type, lookup_block_symbol): Ditto.
312
313 2014-10-25 Doug Evans <xdje42@gmail.com>
314
315 * symtab.c (types_info): Delete forward decl.
316 (functions_info, variables_info, sources_info): Ditto.
317 (_initialize_symtab): Rewrite forward decl to use
318 initialize_file_ftype.
319
320 2014-10-25 Doug Evans <xdje42@gmail.com>
321
322 * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
323
324 2014-10-25 Doug Evans <xdje42@gmail.com>
325
326 * dwarf2read.c (process_structure_scope): Remove second (nested) copy
327 of local var child_die.
328
329 2014-10-24 Don Breazeal <donb@codesourcery.com>
330
331 * infrun.c (follow_fork_inferior): Update fork message printing
332 to use target_terminal_ours_for_output instead of
333 target_terminal_ours, to use _() for all format strings, to print
334 "vfork" instead of "fork" for vforks, and to add a detach message.
335 (handle_vfork_child_exec_or_exit): Update message printing to use
336 target_terminal_ours_for_output instead of target_terminal_ours, to
337 use _() for all format strings, and to fix some formatting.
338
339 2014-10-24 Pedro Alves <palves@redhat.com>
340
341 * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
342 * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
343 * config/vax/vax.mh: Delete.
344 * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
345 obsolete configurations section.
346 * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
347 * vax-nat.c: Delete file.
348
349 2014-10-24 Pedro Alves <palves@redhat.com>
350
351 * NEWS (Removed targets): Add OS/arch column.
352
353 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
354
355 * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
356 on the arg type of a constructor only if it is of reference type.
357
358 2014-10-23 Sandra Loosemore <sandra@codesourcery.com>
359
360 * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
361 accessors and constants from nios2 opcodes update.
362 (nios2_get_next_pc): Likewise.
363
364 2014-10-19 Doug Evans <xdje42@gmail.com>
365
366 * gdbthread.h (set_running): Fix comment.
367 (set_executing, finish_thread_state): Fix comment.
368
369 2014-10-18 Doug Evans <xdje42@gmail.com>
370
371 * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
372
373 2014-10-17 Doug Evans <dje@google.com>
374
375 * NEWS: Mention new event gdb.clear_objfiles.
376 * python/py-event.h (emit_clear_objfiles_event): Clear
377 * python/py-events.h (events_object): New member clear_objfiles.
378 * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
379 event.
380 * python/py-inferior.c (python_new_objfile): If objfile is NULL,
381 emit clear_objfiles event.
382 * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
383 function.
384 (emit_clear_objfiles_event): New function.
385 (clear_objfiles): New event.
386 * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
387 Declare.
388 * python/python.c (_initialize_python): Call
389 gdbpy_initialize_clear_objfiles_event.
390
391 2014-10-17 Doug Evans <dje@google.com>
392
393 * NEWS: Mention new gdb.Objfile.progspace attribute.
394 * python/py-objfile.c (objfpy_get_progspace): New function.
395 (objfile_getset): New entry for "progspace".
396
397 2014-10-17 Pedro Alves <palves@redhat.com>
398
399 PR gdb/17471
400 * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
401 returns a copy of the input.
402 (run_command_1, continue_command, step_1, jump_command)
403 (signal_command, until_command, advance_command, finish_command)
404 (attach_command): Adjust and install a cleanup to free the
405 stripped args.
406
407 2014-10-17 Pedro Alves <palves@redhat.com>
408
409 PR gdb/17300
410 * infcmd.c (continue_1): If continuing all threads in the
411 foreground, make sure the inferior's terminal settings are put in
412 effect.
413
414 2014-10-17 Pedro Alves <palves@redhat.com>
415
416 PR gdb/17472
417 * annotate.c (annotate_breakpoints_invalid): Use
418 target_terminal_our_for_output instead of target_terminal_ours.
419 Give back the terminal to the target.
420 (annotate_frames_invalid): Likewise.
421
422 2014-10-17 Pedro Alves <palves@redhat.com>
423
424 * target.c (enum terminal_state): New enum.
425 (terminal_state): New global.
426 (target_terminal_init): New function.
427 (target_terminal_inferior): Skip if inferior already owns the
428 terminal.
429 (target_terminal_ours, target_terminal_ours_for_output): New
430 functions.
431 * target.h (target_terminal_init): Convert to function prototype.
432 (target_terminal_ours_for_output): Convert to function prototype
433 and tweak comment.
434 (target_terminal_ours): Convert to function prototype and tweak
435 comment.
436 * windows-nat.c (do_initial_windows_stuff): Call
437 target_terminal_init instead of child_terminal_init_with_pgrp.
438
439 2014-10-17 Pedro Alves <palves@redhat.com>
440
441 * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
442 (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
443 (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
444 solib-osf.c.
445 * NEWS: Mention that support for alpha*-*-osf* has been removed.
446 * ada-lang.h [__alpha__ && __osf__]
447 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
448 * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
449 * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
450 GDB_OSABI_OSF1.
451 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
452 files.
453 * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
454 (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
455 * configure: Regenerate.
456 * configure.ac: Remove references to osf.
457 * configure.host: Handle alpha*-*-osf* in the obsolete hosts
458 section. Remove all other references to osf.
459 * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
460 Remove all other references to osf.
461 * dec-thread.c: Delete file.
462 * defs.h (GDB_OSABI_OSF1): Delete.
463 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
464 defined.
465 * osabi.c (gdb_osabi_names): Delete "OSF/1".
466 * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
467 Delete code.
468 (unconditionally_kill_inferior)
469 [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
470 * solib-osf.c: Delete file.
471
472 2014-10-17 Pedro Alves <palves@redhat.com>
473
474 * remote.c (clear_threads_listing_context): Move higher up, out of
475 the HAVE_LIBEXPAT guard.
476
477 2014-10-16 Tristan Gingold <gingold@adacore.com>
478
479 * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
480 (i386_darwin_store_inferior_registers): Sanitize gs and fs values
481 on amd64.
482
483 2014-10-15 Pedro Alves <palves@redhat.com>
484
485 * dec-thread.c (dec_thread_count_gdb_threads)
486 (dec_thread_add_gdb_thread): Delete.
487 (dec_thread_update_thread_list): Delete.
488 (dec_thread_find_new_threads): Rename to ...
489 (dec_thread_update_thread_list): ... this. Delete GDB-size
490 threads that are no longer found in dec_thread_list.
491 (resync_thread_list): Delete.
492 (dec_thread_wait): Call dec_thread_update_thread_list instead of
493 resync_thread_list.
494
495 2014-10-15 Pedro Alves <palves@redhat.com>
496
497 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
498 * remote.c (remote_update_thread_list): Skip calling prune_threads
499 if any thread listing method is supported, and instead walk over
500 the set of remote threads listed, deleting those that are not
501 found in GDB's thread list.
502
503 2014-10-15 Pedro Alves <palves@redhat.com>
504
505 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
506 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
507 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
508 (bsd_uthread_target): Adjust.
509 * corelow.c (core_open): Adjust.
510 * dec-thread.c (dec_thread_find_new_threads): Update comment.
511 (dec_thread_update_thread_list): New function.
512 (init_dec_thread_ops): Adjust.
513 * gdbthread.h (prune_threads): New declaration.
514 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
515 (thread_db_update_thread_list): ... this. Call prune_threads.
516 (init_thread_db_ops): Adjust.
517 * nto-procfs.c (procfs_find_new_threads): Rename to ...
518 (procfs_update_thread_list): ... this. Call prune_threads.
519 (procfs_attach, procfs_create_inferior, init_procfs_targets):
520 Adjust.
521 * obsd-nat.c (obsd_find_new_threads): Rename to ...
522 (obsd_update_thread_list): ... this. Call prune_threads.
523 (obsd_add_target): Adjust.
524 * procfs.c (procfs_target): Adjust.
525 (procfs_notice_thread): Update comment.
526 (procfs_find_new_threads): Rename to ...
527 (procfs_update_thread_list): ... this. Call prune_threads.
528 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
529 comment.
530 (ravenscar_wait): Adjust.
531 (ravenscar_find_new_threads): Rename to ...
532 (ravenscar_update_thread_list): ... this. Call prune_threads.
533 (init_ravenscar_thread_ops): Adjust.
534 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
535 (record_btrace_update_thread_list): ... this. Adjust comment.
536 (init_record_btrace_ops): Adjust.
537 * remote.c (remote_threads_info): Rename to ...
538 (remote_update_thread_list): ... this. Call prune_threads.
539 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
540 Adjust.
541 * sol-thread.c (check_for_thread_db): Adjust.
542 (sol_find_new_threads_callback): Rename to ...
543 (sol_update_thread_list_callback): ... this.
544 (sol_find_new_threads): Rename to ...
545 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
546 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
547 * target-delegates.c: Regenerate.
548 * target.c (target_find_new_threads): Rename to ...
549 (target_update_thread_list): ... this.
550 * target.h (struct target_ops): Rename to_find_new_threads field
551 to to_update_thread_list.
552 (target_find_new_threads): Rename to ...
553 (target_update_thread_list): ... this.
554 * thread.c (prune_threads): Make extern.
555 (update_thread_list): Adjust.
556
557 2014-10-15 Pedro Alves <palves@redhat.com>
558
559 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
560 Add describing comment. Return -1 if the qL packet is not
561 supported.
562 (struct thread_item, thread_item_t): Move higher up in
563 the file. Add comments.
564 (struct threads_parsing_context): Move higher up in
565 the file, add comments, and remote to ...
566 (struct threads_listing_context): ... this.
567 (remote_newthread_step): Don't add the thread to GDB's thread
568 database here. Instead push it to the thread_listing_context
569 list.
570 (remote_find_new_threads): Rename to ...
571 (remote_get_threads_with_ql): ... this. Add target_ops and
572 targets_listing_context parameters. Pass down context.
573 (start_thread): Adjust.
574 (clear_threads_parsing_context): Rename to ...
575 (clear_threads_listing_context): ... this.
576 (remote_get_threads_with_qxfer): New, with parts salvaged from old
577 remote_threads_info.
578 (remote_get_threads_with_qthreadinfo): Ditto.
579 (remote_threads_info): Reimplement.
580
581 2014-10-15 Pedro Alves <palves@redhat.com>
582
583 * infrun.c (resume): Don't force displaced-stepping for all
584 single-steps on software single-stepping archs.
585
586 2014-10-15 Pedro Alves <palves@redhat.com>
587
588 * breakpoint.c (single_step_breakpoints): Delete global.
589 (insert_single_step_breakpoint): Adjust to store the breakpoint
590 pointer in the current thread.
591 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
592 (cancel_single_step_breakpoints): Delete functions.
593 (breakpoint_has_location_inserted_here): Make extern.
594 (single_step_breakpoint_inserted_here_p): Adjust to walk the
595 breakpoint list.
596 * breakpoint.h (breakpoint_has_location_inserted_here): New
597 declaration.
598 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
599 (cancel_single_step_breakpoints): Remove declarations.
600 * gdbthread.h (struct thread_control_state)
601 <single_step_breakpoints>: New field.
602 (delete_single_step_breakpoints)
603 (thread_has_single_step_breakpoints_set)
604 (thread_has_single_step_breakpoint_here): New declarations.
605 * infrun.c (follow_exec): Also clear the single-step breakpoints.
606 (singlestep_breakpoints_inserted_p, singlestep_ptid)
607 (singlestep_pc): Delete globals.
608 (infrun_thread_ptid_changed): Remove references to removed
609 globals.
610 (resume_cleanups): Delete the current thread's single-step
611 breakpoints.
612 (maybe_software_singlestep): Remove references to removed globals.
613 (resume): Adjust to use thread_has_single_step_breakpoints_set and
614 delete_single_step_breakpoints.
615 (init_wait_for_inferior): Remove references to removed globals.
616 (delete_thread_infrun_breakpoints): Delete the thread's
617 single-step breakpoints too.
618 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
619 single-step breakpoints here.
620 (delete_stopped_threads_single_step_breakpoints): New function.
621 (adjust_pc_after_break): Adjust to use
622 thread_has_single_step_breakpoints_set.
623 (handle_inferior_event): Remove references to removed globals.
624 Use delete_stopped_threads_single_step_breakpoints.
625 (handle_signal_stop): Adjust to per-thread single-step
626 breakpoints. Swap test order to do cheaper tests first.
627 (switch_back_to_stepped_thread): Extend debug output. Remove
628 references to removed globals.
629 * record-full.c (record_full_wait_1): Adjust to per-thread
630 single-step breakpoints.
631 * thread.c (delete_single_step_breakpoints)
632 (thread_has_single_step_breakpoints_set)
633 (thread_has_single_step_breakpoint_here): New functions.
634 (clear_thread_inferior_resources): Also delete the thread's
635 single-step breakpoints.
636
637 2014-10-15 Pedro Alves <palves@redhat.com>
638
639 * thread.c (delete_thread_breakpoint): New function.
640 (delete_step_resume_breakpoint)
641 (delete_exception_resume_breakpoint): Use it.
642 (delete_at_next_stop): New function.
643 (clear_thread_inferior_resources): Use delete_at_next_stop.
644
645 2014-10-15 Pedro Alves <palves@redhat.com>
646
647 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
648 (breakpoint_inserted_here_p): ... here. Remove special case for
649 software single-step breakpoints.
650 (find_non_raw_software_breakpoint_inserted_here): Inline ...
651 (software_breakpoint_inserted_here_p): ... here. Remove special
652 case for software single-step breakpoints.
653 (bp_target_info_copy_insertion_state)
654 (deprecated_insert_raw_breakpoint)
655 (deprecated_remove_raw_breakpoint): Delete functions.
656 * breakpoint.h (deprecated_insert_raw_breakpoint)
657 (deprecated_remove_raw_breakpoint): Remove declarations.
658
659 2014-10-15 Pedro Alves <palves@redhat.com>
660
661 PR breakpoints/9649
662 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
663 Delete array globals.
664 (single_step_breakpoints): New global.
665 (breakpoint_xfer_memory): Remove special handling for single-step
666 breakpoints.
667 (update_breakpoints_after_exec): Delete bp_single_step
668 breakpoints.
669 (detach_breakpoints): Remove special handling for single-step
670 breakpoints.
671 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
672 (bpstat_stop_status): Add comment.
673 (bpstat_what, bptype_string, print_one_breakpoint_location)
674 (adjust_breakpoint_address, init_bp_location): Handle
675 bp_single_step.
676 (new_single_step_breakpoint): New function.
677 (set_momentary_breakpoint, bkpt_remove_location): Remove special
678 handling for single-step breakpoints.
679 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
680 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
681 Rewrite.
682 (detach_single_step_breakpoints, find_single_step_breakpoint):
683 Delete functions.
684 (breakpoint_has_location_inserted_here): New function.
685 (single_step_breakpoint_inserted_here_p): Rewrite.
686 * breakpoint.h: Remove FIXME.
687 (enum bptype) <bp_single_step>: New enum value.
688 (insert_single_step_breakpoint): Update comment.
689 * infrun.c (resume_cleanups)
690 (delete_step_thread_step_resume_breakpoint): Remove single-step
691 breakpoints.
692 (fetch_inferior_event): Install a cleanup that removes infrun
693 breakpoints.
694 (switch_back_to_stepped_thread) <expect thread advanced also>:
695 Clear step-over info.
696
697 2014-10-15 Pedro Alves <palves@redhat.com>
698
699 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
700 (delete_thread_infrun_breakpoints): New function, with parts
701 salvaged from delete_step_resume_breakpoint_callback.
702 (delete_step_thread_step_resume_breakpoint): Delete.
703 (for_each_just_stopped_thread_callback_func): New typedef.
704 (for_each_just_stopped_thread): New function.
705 (delete_just_stopped_threads_infrun_breakpoints): New function.
706 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
707 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
708 ... this. Adjust.
709 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
710
711 2014-10-15 Pedro Alves <palves@redhat.com>
712
713 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
714 trying to step past a non-steppable watchpoint.
715 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
716 field.
717 * infrun.c (struct step_over_info): Add new field
718 'nonsteppable_watchpoint_p' and adjust comments.
719 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
720 Adjust.
721 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
722 (stepping_past_nonsteppable_watchpoint): New function.
723 (step_over_info_valid_p): Also return true if stepping past a
724 nonsteppable watchpoint.
725 (proceed): Adjust call to set_step_over_info. Remove reference to
726 init_infwait_state.
727 (init_wait_for_inferior): Remove reference to init_infwait_state.
728 (waiton_ptid): Delete global.
729 (struct execution_control_state)
730 <stepped_after_stopped_by_watchpoint>: Delete field.
731 (wait_for_inferior, fetch_inferior_event): Always pass
732 minus_one_ptid to target_wait.
733 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
734 field.
735 (init_infwait_state): Delete function.
736 (handle_inferior_event): Remove infwait_state handling.
737 (handle_signal_stop) <watchpoints handling>: Adjust after
738 stepped_after_stopped_by_watchpoint removal. Don't remove
739 breakpoints here nor set infwait_state. Set the thread's
740 stepping_over_watchpoint flag, and call keep_going instead.
741 (keep_going): Handle stepping_over_watchpoint. Adjust
742 set_step_over_info calls.
743 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
744 function.
745
746 2014-10-15 Pedro Alves <palves@redhat.com>
747
748 * infrun.c (step_over_info_valid_p): New function.
749 (resume): Use step_over_info_valid_p instead of checking the
750 threads's trap_expected flag.
751
752 2014-10-15 Doug Evans <dje@google.com>
753 Walfred Tedeschi <walfred.tedeschi@intel.com>
754
755 PR python/17364
756 * python/lib/gdb/__init__.py (packages): Add "printer".
757 * python/lib/gdb/command/bound_registers.py: Moved to ...
758 * python/lib/gdb/printer/bound_registers.py: ... here.
759 Add printer to global set of builtin printers. Rename printer from
760 "bound" to "mpx_bound128".
761 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
762 registered as global "builtin" printer.
763 (add_builtin_pretty_printer): New function.
764 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
765 gdb/printer/__init__.py.
766
767 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
768
769 * Makefile.in (SFILES): Remove d-support.c.
770 (COMMON_OBS): Remove d-support.o.
771 * d-lang.h (d_parse_symbol): Remove declaration.
772 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
773 * d-support.c: Remove file.
774
775 2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
776
777 * gdb/infrun.c (process_event_stop_test): Apply
778 gdbarch_addr_bits_remove to longjmp resume address.
779
780 2014-10-15 Pedro Alves <palves@redhat.com>
781
782 * regformats/microblaze.dat: Delete file.
783
784 2014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
785
786 * features/Makefile (microblaze-expedite): Replace pc with rpc.
787 * regformats/microblaze-with-stack-protect.dat: Regenerate.
788
789 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
790
791 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
792 as non-trivial.
793
794 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
795
796 PR c++/13403
797 PR c++/15154
798 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
799 with qualified args.
800
801 2014-10-14 Joel Brobecker <brobecker@adacore.com>
802
803 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
804 of the case where the second operand is a pointer.
805 <BINOP_SUB>: Likewise.
806
807 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
808
809 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
810 only if it is not NULL.
811 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
812 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
813 (struct probe_ops) <clear_semaphore>: Likewise.
814 * tracepoint.c (start_tracing): Call set_semaphore only if it is
815 not NULL.
816 (stop_tracing): Likewise, for clear_semaphore.
817
818 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
819
820 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
821 using language_c, instead of current_language.
822
823 2014-10-13 Doug Evans <dje@google.com>
824
825 * python/py-objfile.c (objfpy_initialize): New function.
826 (objfpy_new, objfile_to_objfile_object): Call it.
827 * python/py-progspace.c (pspy_initialize): New function.
828 (pspy_new, pspace_to_pspace_object): Call it.
829
830 2014-10-13 Miroslav Franc <mfranc@redhat.com>
831 Jan Kratochvil <jan.kratochvil@redhat.com>
832
833 Fix "save breakpoints" for "catch" command.
834 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
835 newline.
836
837 2014-10-12 Miroslav Franc <mfranc@redhat.com>
838
839 Fix "save breakpoints" for "disable $bpnum" command.
840 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
841
842 2014-10-10 Pedro Alves <palves@redhat.com>
843
844 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
845 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
846 (HFILES_NO_SRCDIR): Remove solib-irix.h.
847 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
848 and been removed.
849 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
850 * configure.ac: Remove references to IRIX.
851 * configure.host: Add *-*-irix* to the obsolete hosts section.
852 Remove all other references to irix.
853 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
854 Delete files.
855
856 2014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
857
858 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
859 isn't valid, release the tdesc arch data and return NULL.
860
861 2014-10-10 Pedro Alves <palves@redhat.com>
862
863 * linux-tdep.c: Include observer.h.
864 (linux_inferior_data): New global.
865 (struct linux_info): New structure.
866 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
867 (get_linux_inferior_data): New functions.
868 (linux_vsyscall_range): Rename to ...
869 (linux_vsyscall_range_raw): ... this.
870 (linux_vsyscall_range): New function; handles caching.
871 (_initialize_linux_tdep): Register linux_inferior_data. Install
872 inferior_exit and inferior_appeared observers.
873
874 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
875 Pedro Alves <palves@redhat.com>
876
877 PR symtab/14466
878 * solib-svr4.c (svr4_read_so_list): Rename to ...
879 (svr4_current_sos_1): ... this and change the function comment.
880 (svr4_current_sos): New function.
881
882 2014-10-10 Pedro Alves <palves@redhat.com>
883
884 * arch-utils.c (default_vsyscall_range): New function.
885 * arch-utils.h (default_vsyscall_range): New declaration.
886 * gdbarch.sh (vsyscall_range): New hook.
887 * gdbarch.h, gdbarch.c: Regenerate.
888 * linux-tdep.c (linux_vsyscall_range): New function.
889 (linux_init_abi): Install linux_vsyscall_range as
890 vsyscall_range gdbarch hook.
891 * memrange.c (address_in_mem_range): New function.
892 * memrange.h (address_in_mem_range): New declaration.
893 * symfile-mem.c (find_vdso_size): Delete function.
894 (add_vsyscall_page): Use gdbarch_vsyscall_range.
895
896 2014-10-10 Pedro Alves <palves@redhat.com>
897
898 * infrun.c (normal_stop): Fix typo in comment.
899
900 2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
901
902 PR tdep/9390
903 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
904 typo when using logical AND to determine instruction type.
905
906 2014-10-09 Yao Qi <yao@codesourcery.com>
907
908 * infrun.c (handle_signal_stop): Remove local variable
909 'printed'.
910
911 2014-10-08 Stan Shebs <stan@codesourcery.com>
912
913 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
914
915 2014-10-08 Gary Benson <gbenson@redhat.com>
916
917 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
918
919 2014-10-08 Gary Benson <gbenson@redhat.com>
920
921 * common/common-defs.h: Include common-exceptions.h.
922 * exceptions.h: Do not include common-exceptions.h.
923
924 2014-10-08 Gary Benson <gbenson@redhat.com>
925
926 * common/common-defs.h: Include cleanups.h.
927 * common/common-exceptions.c: Do not include cleanups.h.
928 * utils.h: Likewise.
929
930 2014-10-08 Gary Benson <gbenson@redhat.com>
931
932 * ada-lang.c: Do not include exceptions.h.
933 * ada-valprint.c: Likewise.
934 * amd64-tdep.c: Likewise.
935 * auto-load.c: Likewise.
936 * block.c: Likewise.
937 * break-catch-throw.c: Likewise.
938 * breakpoint.c: Likewise.
939 * btrace.c: Likewise.
940 * c-lang.c: Likewise.
941 * cli/cli-cmds.c: Likewise.
942 * cli/cli-interp.c: Likewise.
943 * cli/cli-script.c: Likewise.
944 * completer.c: Likewise.
945 * corefile.c: Likewise.
946 * corelow.c: Likewise.
947 * cp-abi.c: Likewise.
948 * cp-support.c: Likewise.
949 * cp-valprint.c: Likewise.
950 * darwin-nat.c: Likewise.
951 * dwarf2-frame-tailcall.c: Likewise.
952 * dwarf2-frame.c: Likewise.
953 * dwarf2loc.c: Likewise.
954 * dwarf2read.c: Likewise.
955 * eval.c: Likewise.
956 * event-loop.c: Likewise.
957 * event-top.c: Likewise.
958 * f-valprint.c: Likewise.
959 * frame-unwind.c: Likewise.
960 * frame.c: Likewise.
961 * gdbtypes.c: Likewise.
962 * gnu-v2-abi.c: Likewise.
963 * gnu-v3-abi.c: Likewise.
964 * guile/scm-auto-load.c: Likewise.
965 * guile/scm-breakpoint.c: Likewise.
966 * guile/scm-cmd.c: Likewise.
967 * guile/scm-frame.c: Likewise.
968 * guile/scm-lazy-string.c: Likewise.
969 * guile/scm-param.c: Likewise.
970 * guile/scm-symbol.c: Likewise.
971 * guile/scm-type.c: Likewise.
972 * hppa-hpux-tdep.c: Likewise.
973 * i386-tdep.c: Likewise.
974 * inf-loop.c: Likewise.
975 * infcall.c: Likewise.
976 * infcmd.c: Likewise.
977 * infrun.c: Likewise.
978 * interps.c: Likewise.
979 * interps.h: Likewise.
980 * jit.c: Likewise.
981 * linespec.c: Likewise.
982 * linux-nat.c: Likewise.
983 * linux-thread-db.c: Likewise.
984 * m32r-rom.c: Likewise.
985 * main.c: Likewise.
986 * memory-map.c: Likewise.
987 * mi/mi-cmd-break.c: Likewise.
988 * mi/mi-cmd-stack.c: Likewise.
989 * mi/mi-interp.c: Likewise.
990 * mi/mi-main.c: Likewise.
991 * monitor.c: Likewise.
992 * nto-procfs.c: Likewise.
993 * objc-lang.c: Likewise.
994 * p-valprint.c: Likewise.
995 * parse.c: Likewise.
996 * ppc-linux-tdep.c: Likewise.
997 * printcmd.c: Likewise.
998 * probe.c: Likewise.
999 * python/py-auto-load.c: Likewise.
1000 * python/py-breakpoint.c: Likewise.
1001 * python/py-cmd.c: Likewise.
1002 * python/py-finishbreakpoint.c: Likewise.
1003 * python/py-frame.c: Likewise.
1004 * python/py-framefilter.c: Likewise.
1005 * python/py-function.c: Likewise.
1006 * python/py-gdb-readline.c: Likewise.
1007 * python/py-inferior.c: Likewise.
1008 * python/py-infthread.c: Likewise.
1009 * python/py-lazy-string.c: Likewise.
1010 * python/py-linetable.c: Likewise.
1011 * python/py-param.c: Likewise.
1012 * python/py-prettyprint.c: Likewise.
1013 * python/py-symbol.c: Likewise.
1014 * python/py-type.c: Likewise.
1015 * python/py-value.c: Likewise.
1016 * python/python-internal.h: Likewise.
1017 * python/python.c: Likewise.
1018 * record-btrace.c: Likewise.
1019 * record-full.c: Likewise.
1020 * regcache.c: Likewise.
1021 * remote-fileio.c: Likewise.
1022 * remote-mips.c: Likewise.
1023 * remote.c: Likewise.
1024 * rs6000-aix-tdep.c: Likewise.
1025 * rs6000-nat.c: Likewise.
1026 * skip.c: Likewise.
1027 * solib-darwin.c: Likewise.
1028 * solib-dsbt.c: Likewise.
1029 * solib-frv.c: Likewise.
1030 * solib-ia64-hpux.c: Likewise.
1031 * solib-spu.c: Likewise.
1032 * solib-svr4.c: Likewise.
1033 * solib.c: Likewise.
1034 * spu-tdep.c: Likewise.
1035 * stack.c: Likewise.
1036 * stap-probe.c: Likewise.
1037 * symfile-mem.c: Likewise.
1038 * symmisc.c: Likewise.
1039 * target.c: Likewise.
1040 * thread.c: Likewise.
1041 * top.c: Likewise.
1042 * tracepoint.c: Likewise.
1043 * tui/tui-interp.c: Likewise.
1044 * typeprint.c: Likewise.
1045 * utils.c: Likewise.
1046 * valarith.c: Likewise.
1047 * valops.c: Likewise.
1048 * valprint.c: Likewise.
1049 * value.c: Likewise.
1050 * varobj.c: Likewise.
1051 * windows-nat.c: Likewise.
1052 * xml-support.c: Likewise.
1053
1054 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1055
1056 * mips-tdep.c (add_offset_16): Rewrite to implement what the
1057 name implies.
1058 (extended_mips16_next_pc): Update accordingly.
1059
1060 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1061
1062 * mips-tdep.c (mips16_instruction_is_compact_branch): New
1063 function.
1064 (micromips_instruction_is_compact_branch): Likewise.
1065 (mips16_scan_prologue): Terminate scanning upon seeing a branch
1066 or a compact jump, reaching a jump delay slot, or seeing a
1067 second non-prologue instruction.
1068 (micromips_scan_prologue): Also terminate scanning upon seeing a
1069 compact branch or jump, or reaching a branch or jump delay slot.
1070 (mips32_scan_prologue): Terminate scanning upon reaching a branch
1071 or jump delay slot, or seeing a second non-prologue instruction.
1072 (mips32_instruction_has_delay_slot): Retain instruction
1073 examination code only, update arguments accordingly and move
1074 instruction fetch pieces to...
1075 (mips32_insn_at_pc_has_delay_slot): ... this new function.
1076 (micromips_instruction_has_delay_slot): Likewise and to...
1077 (micromips_insn_at_pc_has_delay_slot): ... this new function.
1078 (mips16_instruction_has_delay_slot): Likewise and to...
1079 (mips16_insn_at_pc_has_delay_slot): ... this new function.
1080 (mips_single_step_through_delay): Update accordingly.
1081 (mips_adjust_breakpoint_address): Likewise.
1082
1083 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1084
1085 * mips-tdep.c (micromips_instruction_has_delay_slot): When
1086 !mustbe32 also return 1 for 32-bit instructions.
1087 (mips16_instruction_has_delay_slot): Likewise. Add an
1088 explanatory comment.
1089
1090 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1091
1092 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
1093 symbols special.
1094
1095 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1096
1097 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
1098 update comments.
1099 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
1100 for the breakpoint's address. Don't preinitialize `placed_size'.
1101 (insert_bp_location): Set `reqstd_address' rather than
1102 `placed_address'.
1103 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
1104 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
1105 address.
1106 (bkpt_remove_location): Likewise.
1107 (deprecated_insert_raw_breakpoint): Likewise.
1108 (deprecated_remove_raw_breakpoint): Likewise.
1109 (find_single_step_breakpoint): Likewise.
1110 * mem-break.c (default_memory_insert_breakpoint): Use
1111 `reqstd_address' for the breakpoint's address. Don't set
1112 `placed_address' or `placed_size' if breakpoint contents couldn't
1113 have been determined.
1114 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
1115 the breakpoint's address.
1116 (remote_insert_hw_breakpoint): Likewise. Don't set
1117 `placed_address' or `placed_size' if breakpoint couldn't have been
1118 set.
1119 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
1120 `reqstd_address' for the breakpoint's address.
1121 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
1122 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
1123 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
1124 * microblaze-linux-tdep.c
1125 (microblaze_linux_memory_remove_breakpoint): Likewise.
1126 * monitor.c (monitor_insert_breakpoint): Likewise.
1127 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
1128 (procfs_insert_hw_breakpoint): Likewise.
1129 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
1130 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
1131 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
1132 * remote-mips.c (mips_insert_breakpoint): Likewise.
1133 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
1134
1135 2014-10-03 Luis Machado <lgustavo@codesourcery.com>
1136
1137 * valops.c (value_assign): Check for bit field assignments
1138 before calling architecture-specific register value
1139 conversion functions.
1140
1141 2014-10-03 Pierre Muller <muller@sourceware.org>
1142
1143 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
1144
1145 2014-10-02 Pedro Alves <palves@redhat.com>
1146
1147 * breakpoint.c (breakpoints_should_be_inserted_now): Use
1148 threads_are_executing.
1149 * breakpoint.h (breakpoints_should_be_inserted_now): Add
1150 describing comment.
1151 * gdbthread.h (threads_are_executing): Declare.
1152 (handle_signal_stop) <random signals>: Don't print about the
1153 signal here if stopping.
1154 (end_stepping_range): Don't notify observers here.
1155 (normal_stop): Update the thread list. If stopped by a random
1156 signal or a stepping range ended, notify observers.
1157 * thread.c (threads_executing): New global.
1158 (init_thread_list): Clear 'threads_executing'.
1159 (set_executing): Set or clear 'threads_executing'.
1160 (threads_are_executing): New function.
1161 (update_threads_executing): New function.
1162 (update_thread_list): Use it.
1163
1164 2014-10-02 Pedro Alves <palves@redhat.com>
1165
1166 PR breakpoints/17431
1167 * breakpoint.c (update_breakpoints_after_exec): Don't create
1168 overlay, longjmp, std terminate nor exception breakpoints here.
1169
1170 2014-10-02 Pedro Alves <palves@redhat.com>
1171
1172 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
1173 Adjust comments.
1174 * inferior.c (find_inferior_for_program_space): Give preference to
1175 the current inferior.
1176 * inferior.h (find_inferior_for_program_space): Update comment.
1177 * progspace.c (switch_to_program_space_and_thread): Prefer the
1178 current inferior if it's bound to the program space requested. If
1179 the inferior found doesn't have a PID yet, don't bother looking up
1180 a thread.
1181 * progspace.h (switch_to_program_space_and_thread): Adjust
1182 comment.
1183 * thread.c (any_thread_of_process, any_live_thread_of_process):
1184 Give preference to the current thread.
1185
1186 2014-10-01 Pedro Alves <palves@redhat.com>
1187
1188 * breakpoint.c (insert_bp_location): Error out if inserting a
1189 software breakpoint at a read-only address.
1190 * target.c (memory_xfer_check_region): New function, factored out
1191 from ...
1192 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
1193 ULONGEST.
1194 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
1195 against the memory region attributes.
1196
1197 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1198
1199 * NEWS: Announce new exit-code field in -list-thread-groups
1200 output.
1201 * inferior.c (exit_inferior_1): Don't clear exit code.
1202 (inferior_appeared): Clear exit code.
1203 * mi/mi-main.c (print_one_inferior): Add printing of the exit
1204 code.
1205
1206 2014-10-01 Pedro Alves <palves@redhat.com>
1207
1208 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
1209 GENERATED" along with emacs/vi read-only markers.
1210 * regformats/aarch64.dat: Regenerate.
1211 * regformats/arm-with-iwmmxt.dat: Regenerate.
1212 * regformats/arm-with-neon.dat: Regenerate.
1213 * regformats/arm-with-vfpv2.dat: Regenerate.
1214 * regformats/arm-with-vfpv3.dat: Regenerate.
1215 * regformats/i386/amd64-avx-linux.dat: Regenerate.
1216 * regformats/i386/amd64-avx.dat: Regenerate.
1217 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
1218 * regformats/i386/amd64-avx512.dat: Regenerate.
1219 * regformats/i386/amd64-linux.dat: Regenerate.
1220 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
1221 * regformats/i386/amd64-mpx.dat: Regenerate.
1222 * regformats/i386/amd64.dat: Regenerate.
1223 * regformats/i386/i386-avx-linux.dat: Regenerate.
1224 * regformats/i386/i386-avx.dat: Regenerate.
1225 * regformats/i386/i386-avx512-linux.dat: Regenerate.
1226 * regformats/i386/i386-avx512.dat: Regenerate.
1227 * regformats/i386/i386-linux.dat: Regenerate.
1228 * regformats/i386/i386-mmx-linux.dat: Regenerate.
1229 * regformats/i386/i386-mmx.dat: Regenerate.
1230 * regformats/i386/i386-mpx-linux.dat: Regenerate.
1231 * regformats/i386/i386-mpx.dat: Regenerate.
1232 * regformats/i386/i386.dat: Regenerate.
1233 * regformats/i386/x32-avx-linux.dat: Regenerate.
1234 * regformats/i386/x32-avx.dat: Regenerate.
1235 * regformats/i386/x32-avx512-linux.dat: Regenerate.
1236 * regformats/i386/x32-avx512.dat: Regenerate.
1237 * regformats/i386/x32-linux.dat: Regenerate.
1238 * regformats/i386/x32.dat: Regenerate.
1239 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1240 * regformats/mips-dsp-linux.dat: Regenerate.
1241 * regformats/mips-linux.dat: Regenerate.
1242 * regformats/mips64-dsp-linux.dat: Regenerate.
1243 * regformats/mips64-linux.dat: Regenerate.
1244 * regformats/nios2-linux.dat: Regenerate.
1245 * regformats/rs6000/powerpc-32.dat: Regenerate.
1246 * regformats/rs6000/powerpc-32l.dat: Regenerate.
1247 * regformats/rs6000/powerpc-64l.dat: Regenerate.
1248 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
1249 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
1250 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
1251 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
1252 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
1253 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
1254 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
1255 * regformats/s390-linux32.dat: Regenerate.
1256 * regformats/s390-linux32v1.dat: Regenerate.
1257 * regformats/s390-linux32v2.dat: Regenerate.
1258 * regformats/s390-linux64.dat: Regenerate.
1259 * regformats/s390-linux64v1.dat: Regenerate.
1260 * regformats/s390-linux64v2.dat: Regenerate.
1261 * regformats/s390-te-linux64.dat: Regenerate.
1262 * regformats/s390x-linux64.dat: Regenerate.
1263 * regformats/s390x-linux64v1.dat: Regenerate.
1264 * regformats/s390x-linux64v2.dat: Regenerate.
1265 * regformats/s390x-te-linux64.dat: Regenerate.
1266 * regformats/tic6x-c62x-linux.dat: Regenerate.
1267 * regformats/tic6x-c62x.dat: Regenerate.
1268 * regformats/tic6x-c64x-linux.dat: Regenerate.
1269 * regformats/tic6x-c64x.dat: Regenerate.
1270 * regformats/tic6x-c64xp-linux.dat: Regenerate.
1271 * regformats/tic6x-c64xp.dat: Regenerate.
1272
1273 2014-10-01 Pedro Alves <palves@redhat.com>
1274
1275 * features/Makefile: Update comments.
1276 (XMLTOC): List all xml files we build C files from.
1277 (clean-cfiles): New rule.
1278
1279 2014-10-01 Pedro Alves <palves@redhat.com>
1280
1281 * features/i386/amd64-avx512-linux.c: Regenerate.
1282 * features/i386/amd64-avx512.c: Regenerate.
1283 * features/i386/x32-avx512-linux.c: Regenerate.
1284 * features/i386/x32-avx512.c: Regenerate.
1285
1286 2014-10-01 Pedro Alves <palves@redhat.com>
1287
1288 * features/Makefile (WHICH): Remove arm-with-m,
1289 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
1290
1291 2014-10-01 Pedro Alves <palves@redhat.com>
1292
1293 * features/Makefile (clean): New rule.
1294
1295 2014-10-01 Pedro Alves <palves@redhat.com>
1296
1297 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
1298 (zmm14h): Add missing end quotes.
1299
1300 2014-10-01 Pedro Alves <palves@redhat.com>
1301
1302 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
1303 * features/aarch64.c: Regenerate.
1304
1305 2014-09-30 Don Breazeal <donb@codesourcery.com>
1306
1307 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
1308 code so as to work with follow_fork_inferior.
1309 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
1310 (inf_ttrace_create_inferior): Remove reference to
1311 inf_ttrace_vfork_ppid.
1312 (inf_ttrace_attach): Ditto.
1313 (inf_ttrace_detach): Ditto.
1314 (inf_ttrace_kill): Use current_inferior instead of
1315 inf_ttrace_vfork_ppid.
1316 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
1317 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
1318 inferior away from the parent.
1319 * infrun.c (follow_fork): Call follow_fork_inferior instead of
1320 target_follow_fork.
1321 (follow_fork_inferior): New function.
1322 (follow_inferior_reset_breakpoints): Make function static.
1323 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
1324 * linux-nat.c (linux_child_follow_fork): Move target-independent
1325 code to infrun.c:follow_fork_inferior.
1326
1327 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1328
1329 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
1330 * gdbarch.c: Regenerate.
1331 * gdbarch.h: Likewise.
1332 * corelow.c (sniff_core_bfd): Drop presence check for deleted
1333 gdbarch method 'regset_from_core_section'.
1334 (get_core_register_section): Remove handling for the case that
1335 regset == NULL and regset_from_core_section is defined.
1336 (get_core_registers): Drop check for deleted method.
1337 * procfs.c (procfs_do_thread_registers): Adjust comment.
1338
1339 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1340
1341 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
1342 (linux_nat_make_corefile_notes): Remove.
1343 (linux_target_install_ops): Do not set target method
1344 'make_corefile_notes'.
1345 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
1346 Remove field.
1347 (linux_corefile_thread_callback): Instead of args->collect, call
1348 linux_collect_thread_registers.
1349 (linux_make_corefile_notes): Remove 'collect' parameter. Return
1350 NULL unless there is a regset iterator.
1351 (linux_make_corefile_notes_1): Remove.
1352 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
1353 by linux_make_corefile_notes.
1354 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
1355
1356 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1357
1358 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
1359 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
1360 Remove.
1361 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
1362
1363 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1364
1365 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
1366 (xtensa_iterate_over_regset_sections): New.
1367 (xtensa_gdbarch_init): Adjust gdbarch initialization.
1368
1369 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1370
1371 * vax-tdep.c (vax_regset_from_core_section): Remove.
1372 (vax_iterate_over_regset_sections): New.
1373 (vax_gdbarch_init): Adjust gdbarch initialization.
1374
1375 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1376
1377 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
1378 (tilegx_regset_from_core_section): Remove.
1379 (tilegx_iterate_over_regset_sections): New.
1380 (tilegx_linux_init_abi): Adjust gdbarch initialization.
1381
1382 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1383
1384 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
1385 (sparc_iterate_over_regset_sections): New.
1386 (sparc32_gdbarch_init): Adjust gdbarch initialization.
1387 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
1388 targets.
1389 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
1390 (sparc64fbsd_init_abi): Call fbsd_init_abi.
1391 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
1392 target method 'make_corefile_notes'.
1393
1394 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1395
1396 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
1397 'sizeof_gregset' and 'sizeof_fpregset'.
1398 * sh-tdep.c (sh_regset_from_core_section): Remove.
1399 (sh_iterate_over_regset_sections): New.
1400 (sh_gdbarch_init): Adjust gdbarch initialization.
1401 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
1402 sizeof_fpregset.
1403 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
1404 'sizeof_gregset'.
1405
1406 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1407
1408 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
1409 (score7_linux_iterate_over_regset_sections): New.
1410 (score_gdbarch_init): Adjust gdbarch initialization.
1411
1412 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1413
1414 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
1415 FreeBSD targets.
1416 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
1417 method 'make_corefile_notes'.
1418 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
1419 (ppcfbsd_regset_from_core_section): Remove.
1420 (ppcfbsd_iterate_over_regset_sections): New.
1421 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
1422 initialization.
1423 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
1424 (ppcnbsd_iterate_over_regset_sections): New.
1425 (ppcnbsd_init_abi): Adjust.
1426 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
1427 (ppcobsd_iterate_over_regset_sections): New.
1428 (ppcobsd_init_abi): Adjust.
1429 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
1430 (rs6000_aix_iterate_over_regset_sections): New.
1431 (rs6000_aix_init_osabi): Adjust.
1432
1433 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1434
1435 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
1436 (nios2_regset_from_core_section): Remove.
1437 (nios2_iterate_over_regset_sections): New.
1438 (nios2_linux_init_abi): Adjust gdbarch initialization.
1439
1440 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1441
1442 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
1443 (am33_iterate_over_regset_sections): New.
1444 (am33_linux_init_osabi): Adjust gdbarch initialization.
1445
1446 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1447
1448 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
1449 (mips_linux_iterate_over_regset_sections): New.
1450 (mips_linux_init_abi): Adjust gdbarch initialization.
1451 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
1452 (mips64obsd_iterate_over_regset_sections): New.
1453 (mips64obsd_init_abi): Adjust.
1454 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
1455 (mipsnbsd_iterate_over_regset_sections): New.
1456 (mipsnbsd_init_abi): Adjust.
1457
1458 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1459
1460 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
1461 (m88k_iterate_over_regset_sections): New.
1462 (m88k_gdbarch_init): Adjust gdbarch initialization.
1463
1464 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1465
1466 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
1467 (ia64_linux_iterate_over_regset_sections): New.
1468 (ia64_linux_init_abi): Adjust gdbarch initialization.
1469
1470 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1471
1472 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
1473 (m68kbsd_iterate_over_regset_sections): New.
1474 (m68kbsd_init_abi): Adjust gdbarch initialization.
1475 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
1476 (m68k_linux_iterate_over_regset_sections): New.
1477 (m68k_linux_init_abi): Adjust gdbarch initialization.
1478
1479 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1480
1481 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
1482 (m32r_linux_regset_from_core_section): Remove.
1483 (m32r_linux_iterate_over_regset_sections): New.
1484 (m32r_linux_init_abi): Adjust gdbarch initialization.
1485
1486 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1487
1488 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
1489 (amd64obsd_iterate_over_regset_sections): New.
1490 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
1491 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
1492 Remove.
1493 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
1494 regset_from_core_section initialization.
1495 * i386-tdep.c (i386_regset_from_core_section): Remove.
1496 (i386_iterate_over_regset_sections): New.
1497 (i386_gdbarch_init): Adjust gdbarch initialization.
1498 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
1499 (i386_iterate_over_regset_sections): New prototype.
1500 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
1501 Remove.
1502 (i386obsd_aout_iterate_over_regset_sections): New.
1503 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
1504 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
1505 targets.
1506 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
1507 (amd64fbsd_init_abi): Call fbsd_init_abi.
1508 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
1509 (i386fbsd4_init_abi): Call fbsd_init_abi.
1510 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
1511 target method 'make_corefile_notes'.
1512 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
1513
1514 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1515
1516 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
1517 (hppa_hpux_iterate_over_regset_sections): New.
1518 (hppa_hpux_init_abi): Adjust gdbarch initialization.
1519 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
1520 (hppa_linux_iterate_over_regset_sections): New.
1521 (hppa_linux_init_abi): Adjust.
1522 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1523 (hppanbsd_iterate_over_regset_sections): New.
1524 (hppanbsd_init_abi): Adjust.
1525 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1526 (hppaobsd_iterate_over_regset_sections): New.
1527 (hppaobsd_init_abi): Adjust.
1528
1529 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1530
1531 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
1532 (frv_linux_iterate_over_regset_sections): New.
1533 (frv_linux_init_abi): Adjust gdbarch initialization.
1534
1535 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1536
1537 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
1538 (armbsd_iterate_over_regset_sections): New prototype.
1539 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
1540 (armbsd_iterate_over_regset_sections): New.
1541 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
1542 initialization.
1543
1544 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1545
1546 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
1547 (alpha_linux_iterate_over_regset_sections): New.
1548 (alpha_linux_init_abi): Adjust gdbarch initialization.
1549 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
1550 prototype.
1551 (alphanbsd_iterate_over_regset_sections): New prototype.
1552
1553 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1554
1555 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
1556 Remove.
1557 (aarch64_linux_iterate_over_regset_sections): New.
1558 (aarch64_linux_init_abi): Adjust gdbarch initialization.
1559
1560 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1561
1562 * fbsd-tdep.c: New file.
1563 * fbsd-tdep.h: New file.
1564 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
1565 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
1566 (ALLDEPFILES): Add fbsd-tdep.c.
1567
1568 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1569
1570 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
1571 parameter.
1572 * gdbarch.h: Regenerate.
1573 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
1574 iterator.
1575 (get_core_register_section): Add parameter 'regset' and use it, if
1576 set. Add parameter 'min_size' and verify the bfd section size
1577 against it.
1578 (get_core_registers_cb): Add parameter 'regset' and pass it to
1579 get_core_register section. For the "standard" register sections
1580 ".reg" and ".reg2", set an appropriate default for human_name.
1581 (get_core_registers): Don't abort when the gdbarch has an iterator
1582 but no regset_from_core_section. Add NULL/0 for parameters
1583 'regset'/'min_size' in calls to get_core_register_section.
1584 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
1585 'regset' and use it instead of calling the
1586 regset_from_core_section gdbarch method.
1587 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
1588 * i386-tdep.c (i386_supply_xstateregset)
1589 (i386_collect_xstateregset, i386_xstateregset): Moved to
1590 i386-linux-tdep.c.
1591 (i386_regset_from_core_section): Drop handling for .reg-xfp and
1592 .reg-xstate.
1593 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
1594 core file support only if the regset iterator hasn't been set.
1595 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
1596 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
1597 Moved from i386-tdep.c and renamed to *_linux*.
1598 (i386_linux_iterate_over_regset_sections): Add regset parameter to
1599 each callback invocation. Allow any .reg-xstate size when reading
1600 from a core file.
1601 * amd64-tdep.c (amd64_supply_xstateregset)
1602 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
1603 amd64-linux-tdep.c.
1604 (amd64_regset_from_core_section): Remove.
1605 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
1606 install an amd64-specific regset_from_core_section gdbarch method.
1607 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
1608 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
1609 Moved from amd64-tdep.c and renamed to *_linux*.
1610 (amd64_linux_iterate_over_regset_sections): Add regset parameter
1611 to each callback invocation. Allow any .reg-xstate size when
1612 reading from a core file.
1613 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
1614 (arm_linux_iterate_over_regset_sections): Add regset parameter to
1615 each callback invocation.
1616 (arm_linux_init_abi): No longer set the regset_from_core_section
1617 gdbarch method.
1618 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
1619 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
1620 each callback invocation.
1621 (ppc_linux_init_abi): No longer set the regset_from_core_section
1622 gdbarch method.
1623 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
1624 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
1625 (s390_regset_from_core_section): Remove.
1626 (s390_iterate_over_regset_sections): Add regset parameter to each
1627 callback invocation.
1628 (s390_gdbarch_init): No longer set the regset_from_core_section
1629 gdbarch method. Drop initialization of deleted tdep fields.
1630
1631 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1632
1633 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
1634 (amd64_linux_iterate_over_regset_sections): New.
1635 (amd64_linux_init_abi_common): Don't install the regset section
1636 list, but the new iterator in gdbarch.
1637 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
1638 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
1639 (arm_linux_iterate_over_regset_sections): ...here. New function.
1640 (arm_linux_init_abi): Set iterator instead of section list.
1641 * corelow.c (get_core_registers_cb): New function, logic moved
1642 from...
1643 (get_core_registers): ...loop body here. Use new iterator method
1644 instead of walking through the regset section list.
1645 * gdbarch.sh: Remove 'core_regset_sections'. New method
1646 'iterate_over_regset_sections'. New typedef
1647 'iterate_over_regset_sections_cb'.
1648 * gdbarch.c: Regenerate.
1649 * gdbarch.h: Likewise.
1650 * i386-linux-tdep.c (i386_linux_regset_sections)
1651 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
1652 Remove.
1653 (i386_linux_iterate_over_regset_sections): New.
1654 (i386_linux_init_abi): Don't choose a regset section list, but
1655 install new iterator in gdbarch.
1656 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
1657 (linux_collect_regset_section_cb): New function, logic moved
1658 from...
1659 (linux_collect_thread_registers): ...loop body here. Use iterator
1660 method instead of walking through list.
1661 (linux_make_corefile_notes_1): Check for presence of iterator
1662 method instead of regset section list.
1663 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
1664 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
1665 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
1666 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
1667 (ppc_linux_iterate_over_regset_sections): ...here. New function.
1668 (ppc_linux_init_abi): Don't choose from above regset section
1669 lists, but install new iterator in gdbarch.
1670 * regset.h (struct core_regset_section): Remove.
1671 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
1672 have_linux_v1, have_linux_v2, and have_tdb.
1673 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
1674 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
1675 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
1676 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
1677 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
1678 (s390_iterate_over_regset_sections): ...here. New function. Use
1679 new tdep fields.
1680 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
1681 regset section lists, but install new iterator.
1682
1683 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1684
1685 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
1686
1687 2014-09-26 Simon Marchi <simon.marchi@ericsson.com>
1688
1689 * progspace.c (print_program_space): Don't prune program spaces
1690 before printing them.
1691
1692 2014-09-25 Pedro Alves <palves@redhat.com>
1693
1694 * infrun.c (user_visible_resume_ptid): Don't check
1695 singlestep_breakpoints_inserted_p.
1696
1697 2014-09-25 Pedro Alves <palves@redhat.com>
1698
1699 * breakpoint.c (should_be_inserted): Add debug output.
1700
1701 2014-09-25 Pedro Alves <palves@redhat.com>
1702
1703 * infrun.c (stepping_past_instruction_at)
1704 (clear_exit_convenience_vars): Point at infrun.h instead of
1705 inferior.h.
1706 (handle_signal_stop): Fix typo.
1707
1708 2014-09-24 Yao Qi <yao@codesourcery.com>
1709
1710 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
1711 bitmask.
1712
1713 2014-09-22 Gary Benson <gbenson@redhat.com>
1714
1715 * target.c (target_stop): Updated comment.
1716
1717 2014-09-22 Gary Benson <gbenson@redhat.com>
1718
1719 * target/target.h (target_stop_ptid): Renamed as...
1720 (target_stop_and_wait): New function. Updated comment.
1721 All uses updated.
1722 (target_continue_ptid): Renamed as...
1723 (target_continue_no_signal): New function. Updated comment.
1724 All uses updated.
1725
1726 2014-09-22 Pedro Alves <palves@redhat.com>
1727
1728 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
1729 and "auto" merged.
1730 * breakpoint.c (enum ugll_insert_mode): New enum.
1731 (always_inserted_mode): Now a plain boolean.
1732 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
1733 (breakpoints_always_inserted_mode): Delete.
1734 (breakpoints_should_be_inserted_now): New function.
1735 (insert_breakpoints): Pass UGLL_INSERT to
1736 update_global_location_list instead of calling
1737 insert_breakpoint_locations manually.
1738 (create_solib_event_breakpoint_1): New, factored out from ...
1739 (create_solib_event_breakpoint): ... this.
1740 (create_and_insert_solib_event_breakpoint): Use
1741 create_solib_event_breakpoint_1 instead of calling
1742 insert_breakpoint_locations manually.
1743 (update_global_location_list): Change parameter type from boolean
1744 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1745 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1746 (update_global_location_list_nothrow): Change parameter type from
1747 boolean to enum ugll_insert_mode.
1748 (_initialize_breakpoint): "breakpoint always-inserted" option is
1749 now a boolean command. Update help text.
1750 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
1751 (breakpoints_should_be_inserted_now): New declaration.
1752 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
1753 Remove breakpoints_always_inserted_mode check.
1754 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
1755 * remote.c (remote_start_remote): Likewise.
1756
1757 2014-09-22 Pedro Alves <palves@redhat.com>
1758
1759 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
1760 (insert_breakpoints): Don't call insert_breakpoint_locations here.
1761 Instead, pass UGLL_INSERT to update_global_location_list.
1762 (update_global_location_list): Change parameter type from boolean
1763 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1764 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1765 (create_solib_event_breakpoint_1): New, factored out from ...
1766 (create_solib_event_breakpoint): ... this.
1767 (create_and_insert_solib_event_breakpoint): Use
1768 create_solib_event_breakpoint_1 instead of calling
1769 insert_breakpoint_locations manually.
1770 (update_global_location_list): Handle UGLL_INSERT.
1771
1772 2014-09-22 Pedro Alves <palves@redhat.com>
1773
1774 * breakpoint.c (enum ugll_insert_mode): New enum.
1775 (update_global_location_list)
1776 (update_global_location_list_nothrow): Change parameter type from
1777 boolean to enum ugll_insert_mode. All callers adjusted.
1778
1779 2014-09-19 Joel Brobecker <brobecker@adacore.com>
1780
1781 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
1782 SystemTap support in GDB.
1783
1784 2014-09-19 Don Breazeal <donb@codesourcery.com>
1785
1786 * linux-nat.c (linux_handle_extended_wait): Call
1787 linux_ptrace_get_extended_event.
1788 (wait_lwp): Call linux_is_extended_waitstatus.
1789 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
1790 and linux_is_extended_waitstatus.
1791 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
1792 linux_ptrace_get_extended_event.
1793 (linux_ptrace_get_extended_event): New function.
1794 (linux_is_extended_waitstatus): New function.
1795 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
1796 (linux_is_extended_waitstatus): New declarations.
1797
1798 2014-09-19 Yao Qi <yao@codesourcery.com>
1799
1800 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1801 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
1802 comments. Callers update.
1803 (dwarf_decode_lines): Likewise.
1804 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
1805 comments. Skip the line table if 'lowpc' is greater than
1806 'address'. Don't check
1807 dwarf2_per_objfile->has_section_at_zero.
1808
1809 2014-09-18 Doug Evans <dje@google.com>
1810
1811 * NEWS: Mention new "producer" attribute of gdb.Symtab.
1812 * python/py-symtab.c (stpy_get_producer): New function.
1813 (symtab_object_getset): Add "producer" attribute.
1814
1815 2014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
1816
1817 PR gdb/17384
1818 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
1819 (do_captured_read_memory_integer): Remove.
1820 (safe_read_memory_integer): Use target_read_memory directly instead
1821 of catching errors in do_captured_read_memory_integer.
1822
1823 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
1824
1825 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
1826 not gdb/doc.
1827
1828 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1829
1830 * objc-lang.c (find_implementation_from_class): Remove dead code.
1831
1832 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1833
1834 PR cli/7233
1835 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
1836 "fprintf_unfiltered (gdb_stdlog...)".
1837
1838 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1839
1840 PR breakpoints/12526
1841 * breakpoint.h (struct watchpoint): New fields val_bitpos and
1842 val_bitsize.
1843 * breakpoint.c (watch_command_1): Use these fields to retain
1844 bitfield information.
1845 (extract_bitfield_from_watchpoint_value): New function.
1846 (watchpoint_check): Use it.
1847 (update_watchpoint): Use it. Optimize the address and length of a
1848 HW watchpoint pointing to a bitfield.
1849 * value.h (unpack_value_bitfield): New prototype.
1850 * value.c (unpack_value_bitfield): Make extern.
1851
1852 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1853
1854 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
1855 x86-dregs.o.
1856 * gnu-nat.c (inf_threads): New function.
1857 * gnu-nat.h (inf_threads_ftype): New typedef.
1858 (inf_threads): New declaration.
1859 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
1860 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
1861 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
1862 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
1863 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
1864 (i386_gnu_dr_get_control): New functions.
1865 (reg_addr): New structure.
1866 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
1867 i386 debugging register hooks.
1868 * NEWS: Mention this.
1869
1870 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
1871
1872 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
1873 vector data transfer instructions.
1874 (arm_record_coproc_data_proc): Updated.
1875
1876 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
1877
1878 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
1879 arm_record_exreg_ld_st_insn.
1880 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
1881 load/store insns.
1882
1883 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
1884
1885 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
1886 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
1887 processing instructions.
1888
1889 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
1890
1891 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
1892 for advance SIMD struct ld/st insn.
1893 (thumb2_record_decode_insn_handler): Replace stub handler with
1894 thumb2_record_asimd_struct_ld_st.
1895
1896 2014-08-13 Omair Javaid <omair.javaid@linaro.org>
1897
1898 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
1899 for asimd, vfp and coprocessor insns.
1900 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
1901 and coprocessor insns.
1902 (thumb2_record_coproc_insn): New function.
1903 (thumb2_record_decode_insn_handler): Update coprocessor insns record
1904 handlers.
1905 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
1906 opcode 110 insns.
1907
1908 2014-09-13 Doug Evans <xdje42@gmail.com>
1909
1910 * NEWS: Mention new "queue-signal" command.
1911 * infcmd.c (queue_signal_command): New function.
1912 (_initialize_infcmd): Add new queue-signal command.
1913
1914 2014-09-13 Doug Evans <xdje42@gmail.com>
1915
1916 * linux-nat.c (wait_lwp): Add debugging printf.
1917 (linux_nat_wait_1): Ditto.
1918
1919 2014-09-12 Pedro Alves <palves@redhat.com>
1920
1921 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
1922 (create_and_insert_solib_event_breakpoint): New functions.
1923 * breakpoint.h (create_and_insert_solib_event_breakpoint)
1924 (remove_solib_event_breakpoints_at_next_stop): New declarations.
1925 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
1926 (remove_dbx_link_breakpoint): Delete function.
1927 (insert_dbx_link_bpt_in_file): Use
1928 create_and_insert_solib_event_breakpoint instead of
1929 deprecated_insert_raw_breakpoint.
1930 (procfs_wait): Don't check whether we hit __dbx_link here.
1931 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
1932 here.
1933 * solib-irix.c (base_breakpoint): Delete global.
1934 (disable_break): Delete function.
1935 (enable_break): Use create_solib_event_breakpoint
1936 instead of deprecated_insert_raw_breakpoint.
1937 (irix_solib_handle_event): New function.
1938 (irix_solib_create_inferior_hook): Don't run the target or disable
1939 the mapping-complete breakpoint here.
1940 (_initialize_irix_solib): Install irix_solib_handle_event as
1941 so_ops->handle_event hook.
1942
1943 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1944 Ulrich Weigand  <uweigand@de.ibm.com>
1945
1946 PR tdep/17379
1947 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
1948 instead of read_memory_unsigned_integer.
1949
1950 2014-09-12 Gary Benson <gbenson@redhat.com>
1951
1952 * nat/linux-waitpid.c: Include common-defs.h.
1953 [GDBSERVER]: Add FIXME comment.
1954 [!GDBSERVER]: Don't include defs.h or signal.h.
1955 (linux_debug) [!GDBSERVER]: Remove empty block.
1956
1957 2014-09-12 Gary Benson <gbenson@redhat.com>
1958
1959 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
1960 Don't include defs.h or server.h.
1961
1962 2014-09-12 Gary Benson <gbenson@redhat.com>
1963
1964 * nat/linux-btrace.c: Include common-defs.h.
1965 Don't include defs.h, server.h or gdbthread.h.
1966 * nat/linux-btrace.h (struct target_ops): New forward declaration.
1967
1968 2014-09-12 Gary Benson <gbenson@redhat.com>
1969
1970 * common/agent.c: Include common-defs.h.
1971 Don't include defs.h or server.h.
1972 * common/buffer.c: Likewise.
1973 * common/common-debug.c: Likewise.
1974 * common/common-utils.c: Likewise.
1975 * common/errors.c: Likewise.
1976 * common/filestuff.c: Likewise.
1977 * common/format.c: Likewise.
1978 * common/gdb_vecs.c: Likewise.
1979 * common/print-utils.c: Likewise.
1980 * common/ptid.c: Likewise.
1981 * common/rsp-low.c: Likewise.
1982 * common/signals.c: Likewise.
1983 * common/vec.c: Likewise.
1984 * common/xml-utils.c: Likewise.
1985 * nat/linux-osdata.c: Likewise.
1986 * nat/linux-procfs.c: Likewise.
1987 * nat/linux-ptrace.c: Likewise.
1988 * nat/mips-linux-watch.c: Likewise.
1989 * target/waitstatus.c: Likewise.
1990
1991 2014-09-12 Tom Tromey <tromey@redhat.com>
1992 Gary Benson <gbenson@redhat.com>
1993
1994 * common/common-regcache.h: New file.
1995 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
1996 * regcache.h: Include common-regcache.h.
1997 (regcache_read_pc): Don't declare.
1998 * regcache.c (get_thread_regcache_for_ptid): New function.
1999 * nat/linux-btrace.c: Don't include regcache.h.
2000 Include common-regcache.h.
2001 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
2002
2003 2014-09-11 Thomas Schwinge <thomas@codesourcery.com>
2004
2005 * regcache.h (struct regset): Declare.
2006
2007 2014-09-11 Pedro Alves <palves@redhat.com>
2008
2009 PR gdb/17347
2010 * main.c: Include "infrun.h".
2011 (catch_command_errors, catch_command_errors_const): Wait for the
2012 foreground command to complete.
2013 * top.c (maybe_wait_sync_command_done): New function, factored out
2014 from ...
2015 (maybe_wait_sync_command_done): ... here.
2016 * top.h (maybe_wait_sync_command_done): New declaration.
2017
2018 2014-09-11 Tom Tromey <tromey@redhat.com>
2019 Gary Benson <gbenson@redhat.com>
2020
2021 * common/symbol.h: New file.
2022 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
2023 * minsyms.c (find_minimal_symbol_address): New function.
2024 * common/agent.c: Include common/symbol.h.
2025 [!GDBSERVER]: Don't include objfiles.h.
2026 (agent_look_up_symbols): Use find_minimal_symbol_address.
2027
2028 2014-09-11 Gary Benson <gbenson@redhat.com>
2029
2030 * target/target.h (target_stop_ptid, target_continue_ptid):
2031 Declare.
2032 * target.c (target_stop_ptid, target_continue_ptid): New
2033 functions.
2034 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
2035 (agent_run_command): Always use target_stop_ptid and
2036 target_continue_ptid.
2037
2038 2014-09-11 Tom Tromey <tromey@redhat.com>
2039 Gary Benson <gbenson@redhat.com>
2040
2041 * target/target.h: New file.
2042 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
2043 * target.h: Include target/target.h.
2044 (target_read_memory, target_write_memory): Don't declare.
2045 * target.c (target_read_uint32): New function.
2046 * common/agent.c: Include target/target.h.
2047 [!GDBSERVER]: Don't include target.h.
2048 (helper_thread_id): Type changed to uint32_t.
2049 (agent_get_helper_thread_id): Use target_read_uint32.
2050 (agent_run_command): Always use target_read_memory and
2051 target_write_memory.
2052 (agent_capability): Type changed to uint32_t.
2053 (agent_capability_check): Use target_read_uint32.
2054
2055 2014-09-11 Gary Benson <gbenson@redhat.com>
2056
2057 * common/common-debug.h (show_debug_regs): Declare.
2058 * common/common-debug.c (show_debug_regs): Define.
2059 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
2060 all uses with show_debug_regs. Replace all uses that considered
2061 debug_hw_points as a multi-value integer with straight boolean
2062 uses.
2063 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
2064 with show_debug_regs.
2065 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
2066 all uses with show_debug_regs.
2067 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
2068 uses with show_debug_regs.
2069
2070 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2071
2072 * findvar.c (address_from_register): Handle targets requiring
2073 a special conversion routine even for plain pointer types.
2074
2075 2014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2076
2077 * rs6000-nat.c (exec_one_dummy_insn): Remove.
2078 (store_register): Do not call exec_one_dummy_insn.
2079
2080 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2081
2082 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
2083 dereference it first. Use value_enclosing_type instead of
2084 value_type.
2085 (ada_array_length): Likewise.
2086
2087 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2088
2089 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
2090 Adjust function implementation and documentation accordingly.
2091 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
2092 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
2093 Update call to ada_value_ptr_subscript.
2094
2095 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2096
2097 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
2098 instead of VAL's type.
2099
2100 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2101
2102 * amd64-linux-nat.c: Add <sys/uio.h> #include.
2103
2104 2014-09-09 Doug Evans <xdje42@gmail.com>
2105
2106 PR guile/17367
2107 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
2108 last parameter to pkg-config, not first.
2109 * configure.ac: Pass --with-guile provided pkg-config path to
2110 GDB_GUILE_PROGRAM_NAMES.
2111 * configure: Regenerate.
2112
2113 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
2114
2115 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
2116 Bertazi".
2117
2118 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2119
2120 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
2121 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
2122 the list of sections determining GDB_OSABI_IRIX.
2123
2124 2014-09-09 James Hogan <james.hogan@imgtec.com>
2125
2126 * MAINTAINERS (Write After Approval): Add "James Hogan".
2127
2128 2014-09-09 James Hogan <james.hogan@imgtec.com>
2129
2130 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
2131
2132 2014-09-09 Joel Brobecker <brobecker@adacore.com>
2133
2134 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
2135
2136 2014-09-08 Doug Evans <xdje42@gmail.com>
2137
2138 PR 17247
2139 * guile.c: #include <signal.h>.
2140 (_initialize_guile): Block SIGCHLD while initializing Guile.
2141
2142 Replaces the following, which is reverted.
2143
2144 2014-07-26 Doug Evans <xdje42@gmail.com>
2145
2146 PR 17185
2147 * configure.ac: Add check for header gc/gc.h.
2148 Add check for function setenv.
2149 * configure: Regenerate.
2150 * config.in: Regenerate.
2151 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2152
2153 2014-09-08 Doug Evans <xdje42@gmail.com>
2154
2155 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
2156 with named constant. Fix style of pointer comparison.
2157 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
2158
2159 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2160
2161 PR gdb/17035
2162 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
2163 decide whether we display the command on "show user".
2164 * cli/cli-script.c (show_user_1): Only verify cmdlines after
2165 printing command name.
2166 * cli/cli-decode.h (cli_user_command_p): Declare new function.
2167 * cli/cli-decode.c (cli_user_command_p): Create helper function
2168 to verify whether cmd_list_element is a user-defined command.
2169
2170 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2171
2172 PR python/17355
2173 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
2174 Fix goto out of TRY_CATCH.
2175
2176 2014-09-06 Doug Evans <xdje42@gmail.com>
2177 Tom Tromey <tromey@redhat.com>
2178
2179 PR 15276
2180 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
2181 $_any_caller_matches.
2182 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
2183 * python/lib/gdb/function/caller_is.py: New file.
2184
2185 2014-09-06 Doug Evans <xdje42@gmail.com>
2186
2187 * infcmd.c (program_info): Fix typo.
2188
2189 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2190
2191 PR gdb/17235
2192 * stap-probe.c (stap_parse_single_operand): Delete unused variable
2193 'number'. New variable 'has_digit'. Rewrite code to deal with
2194 subexpressions on SDT probes.
2195
2196 2014-09-04 Pedro Alves <palves@redhat.com>
2197
2198 * c-exp.y (parse_number): Skip handling base-switching prefixes if
2199 the input is only one character long.
2200
2201 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2202
2203 PR fortran/17237
2204 * f-valprint.c (f_val_print): Specify the correct print option to
2205 use when printing integer values.
2206
2207 2014-09-04 Gary Benson <gbenson@redhat.com>
2208
2209 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
2210 Remove code to cope with LWPs wrapped as PIDs.
2211 Add assertions to ensure no wrapped LWPs are passed.
2212
2213 2014-09-04 Pedro Alves <palves@redhat.com>
2214
2215 * value.c (value_ranges_copy_adjusted): New function, factored out
2216 from ...
2217 (value_contents_copy_raw): ... here.
2218 (unpack_value_bits_as_long_1): Rename back to ...
2219 (unpack_bits_as_long): ... this. Remove 'original_value' and
2220 'result' parameters. Change return type to LONGEST.
2221 (unpack_value_bits_as_long): Delete.
2222 (unpack_value_field_as_long_1): Delete.
2223 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
2224 (unpack_value_bitfield): New function.
2225 (value_field_bitfield): Reimplement using unpack_value_bitfield.
2226 (value_fetch_lazy): Use unpack_value_bitfield.
2227 * value.h (unpack_value_bits_as_long): Delete declaration.
2228
2229 2014-09-03 Sasha Smundak <asmundak@google.com>
2230
2231 * python/py-frame.c (frapy_read_register): New function.
2232
2233 2014-09-03 James Hogan <james.hogan@imgtec.com>
2234
2235 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
2236 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
2237
2238 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2239
2240 PR python/16699
2241 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
2242 function.
2243 (add_cmd): Set "completer_handle_brkchars" to NULL.
2244 * cli/cli-decode.h (struct cmd_list_element)
2245 <completer_handle_brkchars>: New field.
2246 * command.h (completer_ftype_void): New typedef.
2247 (set_cmd_completer_handle_brkchars): New prototype.
2248 * completer.c (set_gdb_completion_word_break_characters): New
2249 function.
2250 (complete_line_internal): Call "completer_handle_brkchars"
2251 callback from command.
2252 * completer.h: Include "command.h".
2253 (set_gdb_completion_word_break_characters): New prototype.
2254 * python/py-cmd.c (cmdpy_completer_helper): New function.
2255 (cmdpy_completer_handle_brkchars): New function.
2256 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
2257 (cmdpy_init): Set completer_handle_brkchars to
2258 cmdpy_completer_handle_brkchars.
2259
2260 2014-09-03 Gary Benson <gbenson@redhat.com>
2261
2262 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
2263 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
2264 Loop conditions changed to equivalent form.
2265 (struct x86_debug_reg_state): Updated dr_ref_count comment.
2266 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
2267 ALL_DEBUG_ADDRESS_REGISTERS.
2268
2269 2014-09-03 Joel Brobecker <brobecker@adacore.com>
2270
2271 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
2272 description fix.
2273
2274 2014-09-02 Doug Evans <dje@google.com>
2275
2276 * typeprint.c (find_global_typedef): Fix comment.
2277
2278 2014-09-02 Gary Benson <gbenson@redhat.com>
2279
2280 * i386-nat.h: Renamed as...
2281 * x86-nat.h: New file. All type, function and variable name
2282 prefixes changed from "i386_" to "x86_". All references updated.
2283 * i386-nat.c: Renamed as...
2284 * x86-nat.c: New file. All type, function and variable name
2285 prefixes changed from "i386_" to "x86_". All references updated.
2286 * common/i386-xstate.h: Renamed as...
2287 * common/x86-xstate.h: New file. All type, function and variable
2288 name prefixes changed from "i386_" to "x86_". All references
2289 updated.
2290 * nat/i386-cpuid.h: Renamed as...
2291 * nat/x86-cpuid.h: New file. All type, function and variable name
2292 prefixes changed from "i386_" to "x86_". All references updated.
2293 * nat/i386-gcc-cpuid.h: Renamed as...
2294 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
2295 name prefixes changed from "i386_" to "x86_". All references
2296 updated.
2297 * nat/i386-dregs.h: Renamed as...
2298 * nat/x86-dregs.h: New file. All type, function and variable name
2299 prefixes changed from "i386_" to "x86_". All references updated.
2300 * nat/i386-dregs.c: Renamed as...
2301 * nat/x86-dregs.c: New file. All type, function and variable name
2302 prefixes changed from "i386_" to "x86_". All references updated.
2303
2304 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
2305
2306 * varobj.c (_initialize_varobj): Move to the end of file.
2307
2308 2014-08-29 Gary Benson <gbenson@redhat.com>
2309
2310 * common/common-exceptions.h: New file.
2311 * common/common-exceptions.c: Likewise.
2312 * Makefile.in (SFILES): Add common/common-exceptions.c.
2313 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
2314 (COMMON_OBS): Add common-exceptions.o.
2315 (common-exceptions.o): New rule.
2316 * exceptions.h (common-exceptions.h): Include.
2317 (gdb_setjmp.h): Do not include.
2318 (return_reason): Moved to common-exceptions.h.
2319 (enum return_reason): Likewise.
2320 (RETURN_MASK): Likewise.
2321 (typedef return_mask): Likewise.
2322 (enum errors): Likewise.
2323 (struct gdb_exception): Likewise.
2324 (exceptions_state_mc_init): Likewise.
2325 (exceptions_state_mc_action_iter): Likewise.
2326 (exceptions_state_mc_action_iter_1): Likewise.
2327 (TRY_CATCH): Likewise.
2328 (throw_exception): Likewise.
2329 (throw_verror): Likewise.
2330 (throw_vquit): Likewise.
2331 (throw_error): Likewise.
2332 (throw_quit): Likewise.
2333 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
2334 (enum catcher_action): Likewise.
2335 (struct catcher): Likewise.
2336 (current_catcher): Likewise.
2337 (catcher_list_size): Likewise.
2338 (exceptions_state_mc_init): Likewise.
2339 (catcher_pop): Likewise.
2340 (exceptions_state_mc): Likewise.
2341 (exceptions_state_mc_action_iter): Likewise.
2342 (exceptions_state_mc_action_iter_1): Likewise.
2343 (throw_exception): Likewise.
2344 (exception_messages): Likewise.
2345 (exception_messages_size): Likewise.
2346 (throw_it): Likewise.
2347 (throw_verror): Likewise.
2348 (throw_vquit): Likewise.
2349 (throw_error): Likewise.
2350 (throw_quit): Likewise.
2351 (prepare_to_throw_exception): New function.
2352
2353 2014-08-29 Gary Benson <gbenson@redhat.com>
2354
2355 * common/gdb_setjmp.h: New file.
2356 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
2357 * configure.ac: Move sigsetjmp check...
2358 * common/common.m4: ...here.
2359 * configure: Regenerate.
2360 * cp-support.c (SIGJMP_BUF): Delete.
2361 (SIGSETJMP): Likewise.
2362 (SIGLONGJMP): Likewise.
2363 * exceptions.h (gdb_setjmp.h): Include.
2364 (setjmp.h): Do not include.
2365 (EXCEPTIONS_SIGJMP_BUF): Delete.
2366 (EXCEPTIONS_SIGSETJMP): Likewise.
2367 (EXCEPTIONS_SIGLONGJMP): Likewise.
2368 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
2369 from gdb_setjmp.h.
2370 * exceptions.c: Likewise.
2371
2372 2014-08-29 Gary Benson <gbenson@redhat.com>
2373
2374 * cleanups.h: Moved to...
2375 * common/cleanups.h: New file.
2376 * cleanups.c: Moved to...
2377 * common/cleanups.c: New file. Include common-defs.h and
2378 cleanups.h. Do not include defs.h.
2379 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
2380 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
2381 (cleanups.o): New rule.
2382
2383 2014-08-29 Gary Benson <gbenson@redhat.com>
2384
2385 * common/errors.h (internal_warning): New declaration.
2386 (internal_vwarning): Likewise.
2387 * common/errors.c (internal_warning): New function.
2388 * utils.h (internal_warning): Don't declare.
2389 (internal_vwarning): Likewise.
2390 * utils.c (internal_warning): Removed.
2391
2392 2014-08-29 Gary Benson <gbenson@redhat.com>
2393
2394 * main.c (captured_main): Use warning during startup.
2395 Prefix startup warning messages with command name.
2396
2397 2014-08-29 Gary Benson <gbenson@redhat.com>
2398
2399 * main.c (captured_main): Handle usage errors with error.
2400
2401 2014-08-29 Gary Benson <gbenson@redhat.com>
2402
2403 * go32-nat.c (go32_create_inferior): Replace a fprintf/
2404 exit pair with a call to error. Wrap the message with _().
2405
2406 2014-08-29 Gary Benson <gbenson@redhat.com>
2407
2408 * main.c (captured_main): Replace a fprintf/exit
2409 pair with a call to error. Wrap the message with _().
2410
2411 2014-08-29 Gary Benson <gbenson@redhat.com>
2412
2413 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
2414 pairs with calls to error. Wrap the message with _().
2415
2416 2014-08-29 Gary Benson <gbenson@redhat.com>
2417
2418 * utils.c (vwarning): Protect calls to target_terminal_ours
2419 and wrap_here.
2420
2421 2014-08-29 Gary Benson <gbenson@redhat.com>
2422
2423 * exceptions.c (print_flush): Protect calls to
2424 target_terminal_ours and wrap_here.
2425
2426 2014-08-29 Gary Benson <gbenson@redhat.com>
2427
2428 * utils.h (filtered_printing_initialized): New declaration.
2429 * utils.c (abort_with_message): New function.
2430 (internal_vproblem): Use abort_with_message for first level
2431 recursive internal problems, and if gdb_stderr is not set up.
2432 Protect calls to target_terminal_ours, begin_line and query.
2433
2434 2014-08-28 Doug Evans <dje@google.com>
2435
2436 * symtab.c (in_prologue): Move definition to better spot.
2437 (skip_prologue_using_sal): Ditto.
2438
2439 2014-08-28 Doug Evans <dje@google.com>
2440
2441 * symtab.c (find_function_start_sal): Move definition to better spot.
2442
2443 2014-08-28 Yao Qi <yao@codesourcery.com>
2444
2445 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
2446 found_stack_adjust in forward scan. Remove condition check
2447 on found_stack_adjust which is always true. Indent the code.
2448
2449 2014-08-28 Yao Qi <yao@codesourcery.com>
2450
2451 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2452 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
2453 (dwarf_decode_lines): Remove argument
2454 want_line_info. Remove condition check on want_line_info.
2455 Callers update.
2456
2457 2014-08-27 Doug Evans <dje@google.com>
2458
2459 * dwarf2read.c (dwarf_record_line): Fix typo.
2460
2461 2014-08-27 Patrick Palka <patrick@parcs.ath.cx>
2462
2463 * target.h (struct target_ops::to_terminal_save_ours): Remove
2464 declaration.
2465 (target_terminal_save_ours): Remove macro.
2466 * target-delegates.c: Regenerate.
2467 * inf-child.c (inf_child_target): Don't set the nonexistent
2468 field to_terminal_save_ours.
2469 * inferior.h (child_terminal_save_ours): Remove declaration.
2470 * terminal.h (gdb_save_tty_state): New declaration.
2471 * inflow.c (child_terminal_save_ours): Rename to ...
2472 (gdb_save_tty_state): ... this.
2473 * tui/tui.c: Include terminal.h.
2474 (tui_enable): Use gdb_save_tty_state instead of
2475 target_terminal_save_ours.
2476 (tui_disable): Likewise.
2477
2478 2014-08-25 Doug Evans <dje@google.com>
2479
2480 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
2481 Pass NULL instead of 0 for context pointer.
2482
2483 2014-08-25 Yao Qi <yao@codesourcery.com>
2484
2485 * dwarf2read.c: Fix grammatical error.
2486
2487 2014-08-24 Yao Qi <yao@codesourcery.com>
2488
2489 * dwarf2read.c (scan_partial_symbols): Update comments.
2490 Rename argument 'need_pc' with 'set_addrmap'.
2491 (add_partial_namespace): Rename argument 'need_pc' with
2492 'set_addrmap'.
2493 (add_partial_module): Likewise.
2494 (add_partial_subprogram): Likewise. Update comments.
2495 (dwarf2_name): Fix typo.
2496
2497 2014-08-22 Doug Evans <dje@google.com>
2498
2499 PR 17276
2500 * dwarf2read.c (dwarf_record_line_p): New function.
2501 (dwarf_decode_lines_1): Ignore subsequent line number entries
2502 for the same line if any entry had a non-zero discriminator.
2503
2504 2014-08-22 Doug Evans <dje@google.com>
2505
2506 * buildsym.h (record_line_ftype): New typedef.
2507 (record_line): Use it.
2508 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
2509 (dwarf_decode_lines_1): Call them.
2510
2511 2014-08-22 Yao Qi <yao@codesourcery.com>
2512
2513 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
2514 (ctf_end): Remove code.
2515
2516 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2517
2518 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
2519 (linux_make_corefile_notes): call update_thread_list, protected against
2520 exceptions.
2521
2522 2014-08-21 Pedro Alves <palves@redhat.com>
2523
2524 * infcmd.c (attach_command): Remove comment.
2525
2526 2014-08-21 Bin Cheng <bin.cheng@arm.com>
2527
2528 * aarch64-linux-nat.c (dr_changed_t): Change the type from
2529 unsigned LONGEST to ULONGEST.
2530
2531 2014-08-20 Pedro Alves <palves@redhat.com>
2532
2533 * Makefile.in (check-read1): New rule.
2534
2535 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2536
2537 * value.c (value_from_contents_and_address): Strip resolved_type's
2538 typedef layers before checking its TYPE_DATA_LOCATION.
2539
2540 2014-08-20 Pedro Alves <palves@redhat.com>
2541
2542 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
2543
2544 2014-08-20 Yao Qi <yao@codesourcery.com>
2545
2546 * amd64-tdep.c (amd64_classify): Add a blank line after the
2547 example. Move "*/" to a new line.
2548 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
2549 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
2550 * dwarf2read.c (psymtab_include_file_name): Likewise.
2551
2552 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2553 Pedro Alves <palves@redhat.com>
2554
2555 PR symtab/14604
2556 PR symtab/14605
2557 * ada-lang.c (coerce_unspec_val_to_type): Use
2558 value_contents_copy_raw.
2559 * ada-valprint.c (val_print_packed_array_elements): Adjust.
2560 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
2561 * cp-valprint.c (cp_print_value_fields): Let the common printing
2562 code handle optimized out values.
2563 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
2564 * d-valprint.c (dynamic_array_type): Use
2565 value_bits_any_optimized_out.
2566 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
2567 check_any_valid fields.
2568 (check_pieced_value_bits): Delete and inline ...
2569 (check_pieced_synthetic_pointer): ... here.
2570 (check_pieced_value_validity): Delete.
2571 (check_pieced_value_invalid): Delete.
2572 (pieced_value_funcs): Remove check_validity and check_any_valid
2573 fields.
2574 (read_pieced_value): Use mark_value_bits_optimized_out.
2575 (write_pieced_value): Switch to use
2576 mark_value_bytes_optimized_out.
2577 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
2578 of assuming the whole value is optimized out.
2579 * findvar.c (read_frame_register_value): Remove special handling
2580 of optimized out registers.
2581 (value_from_register): Use mark_value_bytes_optimized_out.
2582 * frame-unwind.c (frame_unwind_got_optimized): Use
2583 mark_value_bytes_optimized_out.
2584 * jv-valprint.c (java_value_print): Adjust.
2585 (java_print_value_fields): Let the common printing code handle
2586 optimized out values.
2587 * mips-tdep.c (mips_print_register): Remove special handling of
2588 optimized out registers.
2589 * opencl-lang.c (lval_func_check_validity): Delete.
2590 (lval_func_check_any_valid): Delete.
2591 (opencl_value_funcs): Remove check_validity and check_any_valid
2592 fields.
2593 * p-valprint.c (pascal_object_print_value_fields): Let the common
2594 printing code handle optimized out values.
2595 * stack.c (read_frame_arg): Remove special handling of optimized
2596 out values. Fetch both VAL and ENTRYVAL before comparing
2597 contents. Adjust to value_available_contents_eq rename.
2598 * valprint.c (valprint_check_validity)
2599 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
2600 (val_print_array_elements): Adjust.
2601 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
2602 (value_bits_any_optimized_out): New function.
2603 (value_entirely_covered_by_range_vector): New function, factored
2604 out from value_entirely_unavailable.
2605 (value_entirely_unavailable): Reimplement.
2606 (value_entirely_optimized_out): New function.
2607 (insert_into_bit_range_vector): New function, factored out from
2608 mark_value_bits_unavailable.
2609 (mark_value_bits_unavailable): Reimplement.
2610 (struct ranges_and_idx): New struct.
2611 (find_first_range_overlap_and_match): New function, factored out
2612 from value_available_contents_bits_eq.
2613 (value_available_contents_bits_eq): Rename to ...
2614 (value_contents_bits_eq): ... this. Check both unavailable
2615 contents and optimized out contents.
2616 (value_available_contents_eq): Rename to ...
2617 (value_contents_eq): ... this.
2618 (allocate_value_lazy): Remove reference to the old optimized_out
2619 boolean.
2620 (allocate_optimized_out_value): Use
2621 mark_value_bytes_optimized_out.
2622 (require_not_optimized_out): Adjust to check whether the
2623 optimized_out vec is empty.
2624 (ranges_copy_adjusted): New function, factored out from
2625 value_contents_copy_raw.
2626 (value_contents_copy_raw): Also copy the optimized out ranges.
2627 Assert the destination ranges aren't optimized out.
2628 (value_contents_copy): Update comment, remove call to
2629 require_not_optimized_out.
2630 (value_contents_equal): Adjust to check whether the optimized_out
2631 vec is empty.
2632 (set_value_optimized_out, value_optimized_out_const): Delete.
2633 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2634 New functions.
2635 (value_entirely_optimized_out, value_bits_valid): Delete.
2636 (value_copy): Take a VEC copy of the 'optimized_out' field.
2637 (value_primitive_field): Remove special handling of optimized out.
2638 (value_fetch_lazy): Assert that lazy values have no unavailable
2639 regions. Use value_bits_any_optimized_out. Remove some special
2640 handling for optimized out values.
2641 * value.h: Add intro comment about <optimized out> and
2642 <unavailable>.
2643 (struct lval_funcs): Remove check_validity and check_any_valid
2644 fields.
2645 (set_value_optimized_out, value_optimized_out_const): Remove.
2646 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2647 New declarations.
2648 (value_bits_any_optimized_out): New declaration.
2649 (value_bits_valid): Delete declaration.
2650 (value_available_contents_eq): Rename to ...
2651 (value_contents_eq): ... this, and extend comments.
2652
2653 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2654
2655 Fix -fsanitize=address on unreadable inferior strings.
2656 * valprint.c (val_print_string): Fix access before BUFFER.
2657
2658 2014-08-19 Simon Marchi <simon.marchi@ericsson.com>
2659
2660 * target.c (target_struct_size): Remove.
2661 (target_struct_allocsize): Remove.
2662 (DEFAULT_ALLOCSIZE): Remove.
2663 (target_ops_p): New typedef.
2664 (DEF_VEC_P (target_ops_p)): New vector type.
2665 (target_structs): Change type to VEC (target_ops_p).
2666 (add_target_with_completer): Replace "push" code by VEC_safe_push.
2667 (find_default_run_target): Rewrite for loop following changes to
2668 target_structs.
2669
2670 2014-08-19 Joel Brobecker <brobecker@adacore.com>
2671
2672 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
2673 Adjust code accordingly. Adjust function description comment.
2674
2675 2014-08-19 Yao Qi <yao@codesourcery.com>
2676
2677 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
2678 types.
2679
2680 2014-08-19 Alan Modra <amodra@gmail.com>
2681
2682 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
2683 * config.in: Regenerate.
2684 * configure: Regenerate.
2685
2686 2014-08-19 Tom Tromey <tromey@redhat.com>
2687 Gary Benson <gbenson@redhat.com>
2688
2689 * common/common-debug.h: New file.
2690 * common/common-debug.c: Likewise.
2691 * debug.c: Likewise.
2692 * Makefile.in (SFILES): Add common/common-debug.c.
2693 (HFILES_NO_SRCDIR): Add common/common-debug.h.
2694 (COMMON_OBS): Add common-debug.o and debug.o.
2695 (common-debug.o): New rule.
2696 * common/common-defs.h: Include common-debug.h.
2697 * common/agent.c (debug_agent_printf): New function.
2698 (DEBUG_AGENT): Redefine.
2699 * nat/i386-dregs.c (debug_printf): Undefine.
2700
2701 2014-08-19 Gary Benson <gbenson@redhat.com>
2702
2703 * common/common-defs.h: Include print-utils.h.
2704 * utils.h: Do not include print-utils.h.
2705
2706 2014-08-19 Tom Tromey <tromey@redhat.com>
2707 Gary Benson <gbenson@redhat.com>
2708
2709 * common/common-types.h: New file.
2710 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
2711 * common/common-defs.h: Include common-types.h.
2712 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
2713 (ULONGEST): Remove.
2714
2715 2014-08-19 Tom Tromey <tromey@redhat.com>
2716 Gary Benson <gbenson@redhat.com>
2717
2718 * common/errors.h: New file.
2719 * common/errors.c: Likewise.
2720 * Makefile.in (SFILES): Add common/errors.c.
2721 (HFILES_NO_SRCDIR): Add common/errors.h.
2722 (COMMON_OBS): Add errors.o.
2723 (errors.o): New rule.
2724 * common/common-defs.h: Include errors.h.
2725 * utils.h (perror_with_name, error, verror, warning, vwarning):
2726 Don't declare.
2727 * common/common-utils.h: (malloc_failure, internal_error):
2728 Likewise.
2729
2730 2014-08-19 Gary Benson <gbenson@redhat.com>
2731
2732 * utils.c (internal_vproblem): Always print the message.
2733
2734 2014-08-18 Doug Evans <dje@google.com>
2735
2736 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
2737
2738 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2739
2740 * ada-typeprint.c (type_is_full_subrange_of_target_type):
2741 Return 0 if TYPE is dynamic.
2742 (print_range): Add handling of dynamic ranges.
2743
2744 2014-08-18 Keven Boell <keven.boell@intel.com>
2745 Joel Brobecker <brobecker@adacore.com>
2746
2747 * gdbtypes.h (struct main_type): Add field "data_location".
2748 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
2749 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
2750 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
2751 a dynamic data location.
2752 (resolve_dynamic_type): Add DW_AT_data_location handling.
2753 (copy_recursive, copy_type): Copy the data_location information
2754 when present.
2755 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
2756 * value.c (value_from_contents_and_address): Add
2757 DW_AT_data_location handling.
2758
2759 2014-08-18 Keven Boell <keven.boell@intel.com>
2760 Joel Brobecker <brobecker@adacore.com>
2761
2762 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
2763 field "get_object_address".
2764 * dwarf2expr.c (execute_stack_op): Add handling for
2765 DW_OP_push_object_address.
2766 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
2767 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
2768 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
2769 (dwarf_expr_get_obj_addr): New function.
2770 (dwarf_expr_ctx_funcs): Add get_object_address field.
2771 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
2772 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
2773 (dwarf2_evaluate_property): Add parameter "address". Use it.
2774 (needs_get_obj_addr): New function.
2775 (needs_frame_ctx_funcs): Add get_object_address field.
2776 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
2777 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
2778 (resolve_dynamic_array): Likewise.
2779
2780 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2781
2782 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
2783 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
2784 fixed value for records and unions for which some GNAT encodings
2785 are present.
2786
2787 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2788
2789 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
2790 rewrite to avoid "else if" and "else" constructs. Should be
2791 a no-op in practice.
2792
2793 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2794
2795 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
2796 of lexical block.
2797
2798 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2799
2800 PR c++/17132
2801 * eval.c: Update all calls to find_overload_match.
2802 * valarith.c: Likewise.
2803 (value_user_defined_cpp_op, value_user_defined_op): New
2804 argument NOSIDE. Update all callers.
2805 * valops.c (find_overload_match): New argument NOSIDE.
2806 * value.h (find_overload_match): Update signature.
2807
2808 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2809
2810 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
2811 'items' methods instead of 'iteritems' method on dictionaries.
2812
2813 2014-08-15 Doug Evans <dje@google.com>
2814
2815 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
2816 closer to use.
2817
2818 2014-08-15 Doug Evans <dje@google.com>
2819
2820 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
2821
2822 2014-08-15 Doug Evans <dje@google.com>
2823
2824 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
2825
2826 2014-08-15 Doug Evans <dje@google.com>
2827
2828 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
2829 unused.
2830
2831 2014-08-15 Eli Zaretskii <eliz@gnu.org>
2832
2833 * dcache.h: Include target.h, to avoid compile time warnings.
2834
2835 2014-08-15 Joel Brobecker <brobecker@adacore.com>
2836
2837 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
2838 frame_info" partial declaration.
2839 * gdbarch.h: Regenerate.
2840
2841 2014-08-15 Yao Qi <yao@codesourcery.com>
2842
2843 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
2844 Add parameter 'decode_for_pst_p'. Callers update.
2845
2846 2014-08-13 Yao Qi <yao@codesourcery.com>
2847
2848 PR build/17104
2849 * configure.ac: Use local variable 'pos'.
2850 * configure: Regenerated.
2851
2852 2014-08-11 Doug Evans <dje@google.com>
2853
2854 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
2855 message, it is redundant with "Reading symbols from ..." message.
2856
2857 2014-08-10 Doug Evans <xdje42@gmail.com>
2858
2859 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
2860
2861 2014-08-09 Yao Qi <yao@codesourcery.com>
2862
2863 PR remote/9053
2864 * remote.c (remote_xfer_partial): Remove dead code.
2865
2866 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2867
2868 * ia64-linux-tdep.c: Include "regset.h".
2869 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
2870 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
2871 (ia64_linux_supply_fpregset): New function.
2872 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
2873 (ia64_linux_regset_from_core_section): New function.
2874 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
2875 method.
2876
2877 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2878
2879 * m68klinux-tdep.c: Include "regset.h".
2880 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
2881 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
2882 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
2883 (m68k_linux_regset_from_core_section): New function.
2884 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
2885 method.
2886
2887 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2888
2889 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
2890 function. Move logic to...
2891 (tilegx_linux_regmap): ... this new register map.
2892 (tilegx_linux_regset): Refer to register map, replace supply
2893 method by regcache_supply_regset, and add collect method.
2894 * tilegx-tdep.h (enum tilegx_regnum): New enum value
2895 TILEGX_FIRST_EASY_REGNUM.
2896
2897 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2898
2899 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
2900 that calls regcache_supply_regset and handles the EPC register
2901 separately. Move main logic to...
2902 (score7_linux_gregmap): ... this new register map.
2903 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
2904 (score7_linux_gregset): Refer to register map. Add collect method.
2905 (score7_linux_regset_from_core_section): Replace
2906 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
2907 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
2908 (struct regset): Delete unused forward declaraction.
2909 (struct pt_regs): Delete structure definition.
2910 (elf_gregset_t): Delete typedef.
2911
2912 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2913
2914 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
2915 (nios2_core_regset): Add collect method.
2916
2917 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2918
2919 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
2920 platform-independent and don't write to read-only input buffer.
2921 (m32r_linux_collect_gregset): New function.
2922 (m32r_linux_gregset): Add collect method.
2923
2924 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2925
2926 * hppa-linux-tdep.c (greg_map): Rename to...
2927 (hppa_linux_gregmap): ... this. Also convert to
2928 regcache_map_entry format.
2929 (hppa_linux_supply_regset): Delete function.
2930 (hppa_linux_supply_fpregset): Delete function. Move logic to...
2931 (hppa_linux_fpregmap): ... this new register map.
2932 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
2933 register map, replace supply method by regcache_supply_regset, and
2934 add collect method regcache_collect_regset.
2935
2936 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2937
2938 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
2939 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
2940 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
2941 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
2942 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
2943 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
2944 (frv_linux_supply_gregset): Replace main logic by call to
2945 regcache_supply_regset, but keep clearing gr32-gr63.
2946 (frv_linux_supply_fpregset): Delete function.
2947 (frv_linux_gregset): Refer to appropriate register map and add
2948 regcache_collect_regset as the collect method.
2949 (frv_linux_fpregset): Likewise. Also exchange the supply method
2950 by regcache_supply_regset.
2951
2952 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2953
2954 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
2955 by call to alpha_supply_int_regs.
2956 (alpha_linux_collect_gregset): New function.
2957 (alpha_linux_supply_fpregset): Replace logic by call to
2958 alpha_supply_fp_regs.
2959 (alpha_linux_collect_fpregset): New function.
2960 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
2961
2962 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2963
2964 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
2965 by call to regcache_collect_regset.
2966 (supply_gregset, supply_fpregset): Call regcache_supply_regset
2967 instead of aarch64_linux_supply_gregset/_fpregset.
2968 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
2969 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
2970 header file instead.
2971 (aarch64_linux_supply_gregset, supply_gregset_from_core)
2972 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
2973 functions. Move logic to ...
2974 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
2975 register maps.
2976 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
2977 refer to new register maps, replace *_regset_from_core by
2978 regcache_supply_regset, and also use regcache_collect_regset.
2979 * aarch64-linux-tdep.h: Include "regset.h".
2980 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
2981 Delete prototypes.
2982 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
2983 macros, moved from C source file.
2984 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
2985 variable declarations.
2986
2987 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2988
2989 * s390-linux-nat.c: Include "regset.h".
2990 (regmap_gregset): Delete macro.
2991 (s390_64_regmap_gregset): New register map for
2992 regcache_supply/_collect_regset.
2993 (s390_64_gregset): New regset.
2994 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
2995 (regmap_fpregset): Delete macro.
2996 (s390_native_supply, s390_native_collect): Delete functions.
2997 (supply_gregset, fill_gregset): Replace s390-specific regmap
2998 handling by a call to regcache_supply/_collect_regset.
2999 (supply_fpregset, fill_fpregset): Call regcache_supply/
3000 _collect_regset instead of s390_native_supply/_collect.
3001 (fetch_regset, store_regset): Likewise. Also change the last
3002 parameter to a regset instead of a regmap.
3003 (s390_linux_fetch_inferior_registers)
3004 (390_linux_store_inferior_registers): Adjust last parameter in
3005 calls to fetch_regset and store_regset.
3006 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
3007 (s390_gregmap): ... this. Also make static const and convert to
3008 regcache_map_entry format.
3009 (s390x_regmap_gregset): Delete.
3010 (s390_regmap_fpregset): Rename to...
3011 (s390_fpregmap): ... this. Make static const and convert to
3012 regcache_map_entry format.
3013 (s390_regmap_upper, s390_regmap_last_break)
3014 (s390x_regmap_last_break, s390_regmap_system_call)
3015 (s390_regmap_tdb): Likewise.
3016 (s390_supply_regset, s390_collect_regset): Remove functions.
3017 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
3018 s390_supply_regset.
3019 (s390_gregset, s390_fpregset, s390_upper_regset)
3020 (s390_last_break_regset, s390x_last_break_regset)
3021 (s390_system_call_regset, s390_tdb_regset): Make global and
3022 replace s390_supply/_collect_regset by regcache_supply/
3023 _collect_regset.
3024 (s390x_gregset): Delete.
3025 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
3026 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
3027 (s390_regmap_fpregset, s390_regmap_last_break)
3028 (s390x_regmap_last_break, s390_regmap_system_call)
3029 (s390_regmap_tdb): Delete global variable declarations.
3030 (s390_gregset, s390_fpregset, s390_last_break_regset)
3031 (s390x_last_break_regset, s390_system_call_regset)
3032 (s390_tdb_regset): New global variable declarations.
3033
3034 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3035
3036 * regcache.c: Include "regset.h".
3037 (regcache_transfer_regset): New local function.
3038 (regcache_supply_regset, regcache_collect_regset): New functions.
3039 * regcache.h (struct regcache_map_entry): New structure.
3040 (REGCACHE_MAP_SKIP): New enum value.
3041 (regcache_supply_regset, regcache_collect_regset): New prototypes.
3042
3043 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3044
3045 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
3046 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3047 (ppc_linux_collect_gregset ): Likewise.
3048 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
3049 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
3050 (ppc_collect_vrregset): Likewise.
3051 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
3052 Likewise.
3053
3054 2014-08-07 Yao Qi <yao@codesourcery.com>
3055
3056 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
3057 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
3058 * remote.c (remote_read_bytes): Likewise.
3059
3060 2014-08-07 Yao Qi <yao@codesourcery.com>
3061
3062 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
3063
3064 2014-08-07 Yao Qi <yao@codesourcery.com>
3065
3066 PR remote/17230
3067 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
3068 TARGET_XFER_OK instead of 0.
3069
3070 2014-08-07 Gary Benson <gbenson@redhat.com>
3071
3072 * common/common-defs.h: Include errno.h.
3073 * defs.h: Do not include errno.h.
3074 * ada-typeprint.c: Likewise.
3075 * c-typeprint.c: Likewise.
3076 * core-regset.c: Likewise.
3077 * corefile.c: Likewise.
3078 * corelow.c: Likewise.
3079 * event-loop.c: Likewise.
3080 * f-typeprint.c: Likewise.
3081 * gnu-nat.c: Likewise.
3082 * go32-nat.c: Likewise.
3083 * i386gnu-nat.c: Likewise.
3084 * m2-typeprint.c: Likewise.
3085 * nat/linux-btrace.c: Likewise.
3086 * p-typeprint.c: Likewise.
3087 * procfs.c: Likewise.
3088 * remote-sim.c: Likewise.
3089 * rs6000-nat.c: Likewise.
3090 * target.c: Likewise.
3091 * typeprint.c: Likewise.
3092 * ui-file.c: Likewise.
3093 * valops.c: Likewise.
3094 * valprint.c: Likewise.
3095
3096 2014-08-07 Gary Benson <gbenson@redhat.com>
3097
3098 * common/common-defs.h: Include string.h.
3099 * aarch64-tdep.c: Do not include string.h.
3100 * ada-exp.y: Likewise.
3101 * ada-lang.c: Likewise.
3102 * ada-lex.l: Likewise.
3103 * ada-typeprint.c: Likewise.
3104 * ada-valprint.c: Likewise.
3105 * aix-thread.c: Likewise.
3106 * alpha-linux-tdep.c: Likewise.
3107 * alpha-mdebug-tdep.c: Likewise.
3108 * alpha-nat.c: Likewise.
3109 * alpha-osf1-tdep.c: Likewise.
3110 * alpha-tdep.c: Likewise.
3111 * alphanbsd-tdep.c: Likewise.
3112 * amd64-dicos-tdep.c: Likewise.
3113 * amd64-linux-tdep.c: Likewise.
3114 * amd64-nat.c: Likewise.
3115 * amd64-sol2-tdep.c: Likewise.
3116 * amd64fbsd-tdep.c: Likewise.
3117 * amd64obsd-tdep.c: Likewise.
3118 * arch-utils.c: Likewise.
3119 * arm-linux-nat.c: Likewise.
3120 * arm-linux-tdep.c: Likewise.
3121 * arm-tdep.c: Likewise.
3122 * arm-wince-tdep.c: Likewise.
3123 * armbsd-tdep.c: Likewise.
3124 * armnbsd-nat.c: Likewise.
3125 * armnbsd-tdep.c: Likewise.
3126 * armobsd-tdep.c: Likewise.
3127 * avr-tdep.c: Likewise.
3128 * ax-gdb.c: Likewise.
3129 * ax-general.c: Likewise.
3130 * bcache.c: Likewise.
3131 * bfin-tdep.c: Likewise.
3132 * breakpoint.c: Likewise.
3133 * build-id.c: Likewise.
3134 * buildsym.c: Likewise.
3135 * c-exp.y: Likewise.
3136 * c-lang.c: Likewise.
3137 * c-typeprint.c: Likewise.
3138 * c-valprint.c: Likewise.
3139 * charset.c: Likewise.
3140 * cli-out.c: Likewise.
3141 * cli/cli-cmds.c: Likewise.
3142 * cli/cli-decode.c: Likewise.
3143 * cli/cli-dump.c: Likewise.
3144 * cli/cli-interp.c: Likewise.
3145 * cli/cli-logging.c: Likewise.
3146 * cli/cli-script.c: Likewise.
3147 * cli/cli-setshow.c: Likewise.
3148 * cli/cli-utils.c: Likewise.
3149 * coffread.c: Likewise.
3150 * common/agent.c: Likewise.
3151 * common/buffer.c: Likewise.
3152 * common/buffer.h: Likewise.
3153 * common/common-utils.c: Likewise.
3154 * common/filestuff.c: Likewise.
3155 * common/filestuff.c: Likewise.
3156 * common/format.c: Likewise.
3157 * common/print-utils.c: Likewise.
3158 * common/rsp-low.c: Likewise.
3159 * common/signals.c: Likewise.
3160 * common/vec.h: Likewise.
3161 * common/xml-utils.c: Likewise.
3162 * core-regset.c: Likewise.
3163 * corefile.c: Likewise.
3164 * corelow.c: Likewise.
3165 * cp-abi.c: Likewise.
3166 * cp-name-parser.y: Likewise.
3167 * cp-support.c: Likewise.
3168 * cp-valprint.c: Likewise.
3169 * cris-tdep.c: Likewise.
3170 * d-exp.y: Likewise.
3171 * darwin-nat.c: Likewise.
3172 * dbxread.c: Likewise.
3173 * dcache.c: Likewise.
3174 * demangle.c: Likewise.
3175 * dicos-tdep.c: Likewise.
3176 * disasm.c: Likewise.
3177 * doublest.c: Likewise.
3178 * dsrec.c: Likewise.
3179 * dummy-frame.c: Likewise.
3180 * dwarf2-frame.c: Likewise.
3181 * dwarf2loc.c: Likewise.
3182 * dwarf2read.c: Likewise.
3183 * elfread.c: Likewise.
3184 * environ.c: Likewise.
3185 * eval.c: Likewise.
3186 * event-loop.c: Likewise.
3187 * exceptions.c: Likewise.
3188 * exec.c: Likewise.
3189 * expprint.c: Likewise.
3190 * f-exp.y: Likewise.
3191 * f-lang.c: Likewise.
3192 * f-typeprint.c: Likewise.
3193 * f-valprint.c: Likewise.
3194 * fbsd-nat.c: Likewise.
3195 * findcmd.c: Likewise.
3196 * findvar.c: Likewise.
3197 * fork-child.c: Likewise.
3198 * frame.c: Likewise.
3199 * frv-linux-tdep.c: Likewise.
3200 * frv-tdep.c: Likewise.
3201 * gdb.c: Likewise.
3202 * gdb_bfd.c: Likewise.
3203 * gdbarch.c: Likewise.
3204 * gdbarch.sh: Likewise.
3205 * gdbtypes.c: Likewise.
3206 * gnu-nat.c: Likewise.
3207 * gnu-v2-abi.c: Likewise.
3208 * gnu-v3-abi.c: Likewise.
3209 * go-exp.y: Likewise.
3210 * go-lang.c: Likewise.
3211 * go32-nat.c: Likewise.
3212 * guile/guile.c: Likewise.
3213 * guile/scm-auto-load.c: Likewise.
3214 * hppa-hpux-tdep.c: Likewise.
3215 * hppa-linux-nat.c: Likewise.
3216 * hppanbsd-tdep.c: Likewise.
3217 * hppaobsd-tdep.c: Likewise.
3218 * i386-cygwin-tdep.c: Likewise.
3219 * i386-dicos-tdep.c: Likewise.
3220 * i386-linux-tdep.c: Likewise.
3221 * i386-nto-tdep.c: Likewise.
3222 * i386-sol2-tdep.c: Likewise.
3223 * i386-tdep.c: Likewise.
3224 * i386bsd-tdep.c: Likewise.
3225 * i386gnu-nat.c: Likewise.
3226 * i386nbsd-tdep.c: Likewise.
3227 * i386obsd-tdep.c: Likewise.
3228 * i387-tdep.c: Likewise.
3229 * ia64-libunwind-tdep.c: Likewise.
3230 * ia64-linux-nat.c: Likewise.
3231 * inf-child.c: Likewise.
3232 * inf-ptrace.c: Likewise.
3233 * inf-ttrace.c: Likewise.
3234 * infcall.c: Likewise.
3235 * infcmd.c: Likewise.
3236 * inflow.c: Likewise.
3237 * infrun.c: Likewise.
3238 * interps.c: Likewise.
3239 * iq2000-tdep.c: Likewise.
3240 * irix5-nat.c: Likewise.
3241 * jv-exp.y: Likewise.
3242 * jv-lang.c: Likewise.
3243 * jv-typeprint.c: Likewise.
3244 * jv-valprint.c: Likewise.
3245 * language.c: Likewise.
3246 * linux-fork.c: Likewise.
3247 * linux-nat.c: Likewise.
3248 * lm32-tdep.c: Likewise.
3249 * m2-exp.y: Likewise.
3250 * m2-typeprint.c: Likewise.
3251 * m32c-tdep.c: Likewise.
3252 * m32r-linux-nat.c: Likewise.
3253 * m32r-linux-tdep.c: Likewise.
3254 * m32r-rom.c: Likewise.
3255 * m32r-tdep.c: Likewise.
3256 * m68hc11-tdep.c: Likewise.
3257 * m68k-tdep.c: Likewise.
3258 * m68kbsd-tdep.c: Likewise.
3259 * m68klinux-nat.c: Likewise.
3260 * m68klinux-tdep.c: Likewise.
3261 * m88k-tdep.c: Likewise.
3262 * machoread.c: Likewise.
3263 * macrocmd.c: Likewise.
3264 * main.c: Likewise.
3265 * mdebugread.c: Likewise.
3266 * mem-break.c: Likewise.
3267 * memattr.c: Likewise.
3268 * memory-map.c: Likewise.
3269 * mep-tdep.c: Likewise.
3270 * mi/mi-cmd-break.c: Likewise.
3271 * mi/mi-cmd-disas.c: Likewise.
3272 * mi/mi-cmd-env.c: Likewise.
3273 * mi/mi-cmd-stack.c: Likewise.
3274 * mi/mi-cmd-var.c: Likewise.
3275 * mi/mi-cmds.c: Likewise.
3276 * mi/mi-console.c: Likewise.
3277 * mi/mi-getopt.c: Likewise.
3278 * mi/mi-interp.c: Likewise.
3279 * mi/mi-main.c: Likewise.
3280 * mi/mi-parse.c: Likewise.
3281 * microblaze-rom.c: Likewise.
3282 * microblaze-tdep.c: Likewise.
3283 * mingw-hdep.c: Likewise.
3284 * minidebug.c: Likewise.
3285 * minsyms.c: Likewise.
3286 * mips-irix-tdep.c: Likewise.
3287 * mips-linux-tdep.c: Likewise.
3288 * mips-tdep.c: Likewise.
3289 * mips64obsd-tdep.c: Likewise.
3290 * mipsnbsd-tdep.c: Likewise.
3291 * mipsread.c: Likewise.
3292 * mn10300-linux-tdep.c: Likewise.
3293 * mn10300-tdep.c: Likewise.
3294 * monitor.c: Likewise.
3295 * moxie-tdep.c: Likewise.
3296 * mt-tdep.c: Likewise.
3297 * nat/linux-btrace.c: Likewise.
3298 * nat/linux-osdata.c: Likewise.
3299 * nat/linux-procfs.c: Likewise.
3300 * nat/linux-ptrace.c: Likewise.
3301 * nat/linux-waitpid.c: Likewise.
3302 * nbsd-tdep.c: Likewise.
3303 * nios2-linux-tdep.c: Likewise.
3304 * nto-procfs.c: Likewise.
3305 * nto-tdep.c: Likewise.
3306 * objc-lang.c: Likewise.
3307 * objfiles.c: Likewise.
3308 * opencl-lang.c: Likewise.
3309 * osabi.c: Likewise.
3310 * osdata.c: Likewise.
3311 * p-exp.y: Likewise.
3312 * p-lang.c: Likewise.
3313 * p-typeprint.c: Likewise.
3314 * parse.c: Likewise.
3315 * posix-hdep.c: Likewise.
3316 * ppc-linux-nat.c: Likewise.
3317 * ppc-sysv-tdep.c: Likewise.
3318 * ppcfbsd-tdep.c: Likewise.
3319 * ppcnbsd-tdep.c: Likewise.
3320 * ppcobsd-tdep.c: Likewise.
3321 * printcmd.c: Likewise.
3322 * procfs.c: Likewise.
3323 * prologue-value.c: Likewise.
3324 * python/py-auto-load.c: Likewise.
3325 * python/py-gdb-readline.c: Likewise.
3326 * ravenscar-thread.c: Likewise.
3327 * regcache.c: Likewise.
3328 * registry.c: Likewise.
3329 * remote-fileio.c: Likewise.
3330 * remote-m32r-sdi.c: Likewise.
3331 * remote-mips.c: Likewise.
3332 * remote-notif.c: Likewise.
3333 * remote-sim.c: Likewise.
3334 * remote.c: Likewise.
3335 * reverse.c: Likewise.
3336 * rs6000-aix-tdep.c: Likewise.
3337 * ser-base.c: Likewise.
3338 * ser-go32.c: Likewise.
3339 * ser-mingw.c: Likewise.
3340 * ser-pipe.c: Likewise.
3341 * ser-tcp.c: Likewise.
3342 * ser-unix.c: Likewise.
3343 * serial.c: Likewise.
3344 * sh-tdep.c: Likewise.
3345 * sh64-tdep.c: Likewise.
3346 * shnbsd-tdep.c: Likewise.
3347 * skip.c: Likewise.
3348 * sol-thread.c: Likewise.
3349 * solib-dsbt.c: Likewise.
3350 * solib-frv.c: Likewise.
3351 * solib-osf.c: Likewise.
3352 * solib-som.c: Likewise.
3353 * solib-spu.c: Likewise.
3354 * solib-target.c: Likewise.
3355 * solib.c: Likewise.
3356 * somread.c: Likewise.
3357 * source.c: Likewise.
3358 * sparc-nat.c: Likewise.
3359 * sparc-sol2-tdep.c: Likewise.
3360 * sparc-tdep.c: Likewise.
3361 * sparc64-tdep.c: Likewise.
3362 * sparc64fbsd-tdep.c: Likewise.
3363 * sparc64nbsd-tdep.c: Likewise.
3364 * sparcnbsd-tdep.c: Likewise.
3365 * spu-linux-nat.c: Likewise.
3366 * spu-multiarch.c: Likewise.
3367 * spu-tdep.c: Likewise.
3368 * stabsread.c: Likewise.
3369 * stack.c: Likewise.
3370 * std-regs.c: Likewise.
3371 * symfile.c: Likewise.
3372 * symmisc.c: Likewise.
3373 * symtab.c: Likewise.
3374 * target.c: Likewise.
3375 * thread.c: Likewise.
3376 * tilegx-linux-nat.c: Likewise.
3377 * tilegx-tdep.c: Likewise.
3378 * top.c: Likewise.
3379 * tracepoint.c: Likewise.
3380 * tui/tui-command.c: Likewise.
3381 * tui/tui-data.c: Likewise.
3382 * tui/tui-disasm.c: Likewise.
3383 * tui/tui-file.c: Likewise.
3384 * tui/tui-layout.c: Likewise.
3385 * tui/tui-out.c: Likewise.
3386 * tui/tui-regs.c: Likewise.
3387 * tui/tui-source.c: Likewise.
3388 * tui/tui-stack.c: Likewise.
3389 * tui/tui-win.c: Likewise.
3390 * tui/tui-windata.c: Likewise.
3391 * tui/tui-winsource.c: Likewise.
3392 * typeprint.c: Likewise.
3393 * ui-file.c: Likewise.
3394 * ui-out.c: Likewise.
3395 * user-regs.c: Likewise.
3396 * utils.c: Likewise.
3397 * v850-tdep.c: Likewise.
3398 * valarith.c: Likewise.
3399 * valops.c: Likewise.
3400 * valprint.c: Likewise.
3401 * value.c: Likewise.
3402 * varobj.c: Likewise.
3403 * vax-tdep.c: Likewise.
3404 * vaxnbsd-tdep.c: Likewise.
3405 * vaxobsd-tdep.c: Likewise.
3406 * windows-nat.c: Likewise.
3407 * xcoffread.c: Likewise.
3408 * xml-support.c: Likewise.
3409 * xstormy16-tdep.c: Likewise.
3410 * xtensa-linux-nat.c: Likewise.
3411
3412 2014-08-07 Gary Benson <gbenson@redhat.com>
3413
3414 * common/common-defs.h: Include gdb_assert.h.
3415 * aarch64-tdep.c: Do not include gdb_assert.h.
3416 * addrmap.c: Likewise.
3417 * aix-thread.c: Likewise.
3418 * alpha-linux-tdep.c: Likewise.
3419 * alpha-mdebug-tdep.c: Likewise.
3420 * alphanbsd-tdep.c: Likewise.
3421 * amd64-nat.c: Likewise.
3422 * amd64-tdep.c: Likewise.
3423 * amd64bsd-nat.c: Likewise.
3424 * amd64fbsd-nat.c: Likewise.
3425 * amd64fbsd-tdep.c: Likewise.
3426 * amd64nbsd-nat.c: Likewise.
3427 * amd64nbsd-tdep.c: Likewise.
3428 * amd64obsd-nat.c: Likewise.
3429 * amd64obsd-tdep.c: Likewise.
3430 * arch-utils.c: Likewise.
3431 * arm-tdep.c: Likewise.
3432 * armbsd-tdep.c: Likewise.
3433 * auxv.c: Likewise.
3434 * bcache.c: Likewise.
3435 * bfin-tdep.c: Likewise.
3436 * blockframe.c: Likewise.
3437 * breakpoint.c: Likewise.
3438 * bsd-kvm.c: Likewise.
3439 * bsd-uthread.c: Likewise.
3440 * buildsym.c: Likewise.
3441 * c-exp.y: Likewise.
3442 * c-lang.c: Likewise.
3443 * charset.c: Likewise.
3444 * cleanups.c: Likewise.
3445 * cli-out.c: Likewise.
3446 * cli/cli-decode.c: Likewise.
3447 * cli/cli-dump.c: Likewise.
3448 * cli/cli-logging.c: Likewise.
3449 * cli/cli-script.c: Likewise.
3450 * cli/cli-utils.c: Likewise.
3451 * coffread.c: Likewise.
3452 * common/common-utils.c: Likewise.
3453 * common/queue.h: Likewise.
3454 * common/signals.c: Likewise.
3455 * common/vec.h: Likewise.
3456 * complaints.c: Likewise.
3457 * completer.c: Likewise.
3458 * corelow.c: Likewise.
3459 * cp-abi.c: Likewise.
3460 * cp-name-parser.y: Likewise.
3461 * cp-namespace.c: Likewise.
3462 * cp-support.c: Likewise.
3463 * cris-tdep.c: Likewise.
3464 * dbxread.c: Likewise.
3465 * dictionary.c: Likewise.
3466 * doublest.c: Likewise.
3467 * dsrec.c: Likewise.
3468 * dummy-frame.c: Likewise.
3469 * dwarf2-frame-tailcall.c: Likewise.
3470 * dwarf2-frame.c: Likewise.
3471 * dwarf2expr.c: Likewise.
3472 * dwarf2loc.c: Likewise.
3473 * dwarf2read.c: Likewise.
3474 * eval.c: Likewise.
3475 * event-loop.c: Likewise.
3476 * exceptions.c: Likewise.
3477 * expprint.c: Likewise.
3478 * f-valprint.c: Likewise.
3479 * fbsd-nat.c: Likewise.
3480 * findvar.c: Likewise.
3481 * frame-unwind.c: Likewise.
3482 * frame.c: Likewise.
3483 * frv-tdep.c: Likewise.
3484 * gcore.c: Likewise.
3485 * gdb-dlfcn.c: Likewise.
3486 * gdb_bfd.c: Likewise.
3487 * gdbarch.c: Likewise.
3488 * gdbarch.sh: Likewise.
3489 * gdbtypes.c: Likewise.
3490 * gnu-nat.c: Likewise.
3491 * gnu-v3-abi.c: Likewise.
3492 * go-lang.c: Likewise.
3493 * guile/scm-exception.c: Likewise.
3494 * guile/scm-gsmob.c: Likewise.
3495 * guile/scm-lazy-string.c: Likewise.
3496 * guile/scm-math.c: Likewise.
3497 * guile/scm-pretty-print.c: Likewise.
3498 * guile/scm-safe-call.c: Likewise.
3499 * guile/scm-utils.c: Likewise.
3500 * guile/scm-value.c: Likewise.
3501 * h8300-tdep.c: Likewise.
3502 * hppa-hpux-nat.c: Likewise.
3503 * hppa-tdep.c: Likewise.
3504 * hppanbsd-tdep.c: Likewise.
3505 * hppaobsd-tdep.c: Likewise.
3506 * i386-darwin-nat.c: Likewise.
3507 * i386-darwin-tdep.c: Likewise.
3508 * i386-nto-tdep.c: Likewise.
3509 * i386-tdep.c: Likewise.
3510 * i386bsd-nat.c: Likewise.
3511 * i386fbsd-tdep.c: Likewise.
3512 * i386gnu-nat.c: Likewise.
3513 * i386nbsd-tdep.c: Likewise.
3514 * i386obsd-tdep.c: Likewise.
3515 * i387-tdep.c: Likewise.
3516 * ia64-libunwind-tdep.c: Likewise.
3517 * ia64-tdep.c: Likewise.
3518 * inf-ptrace.c: Likewise.
3519 * inf-ttrace.c: Likewise.
3520 * infcall.c: Likewise.
3521 * infcmd.c: Likewise.
3522 * infrun.c: Likewise.
3523 * inline-frame.c: Likewise.
3524 * interps.c: Likewise.
3525 * jv-lang.c: Likewise.
3526 * jv-typeprint.c: Likewise.
3527 * linux-fork.c: Likewise.
3528 * linux-nat.c: Likewise.
3529 * linux-thread-db.c: Likewise.
3530 * m32c-tdep.c: Likewise.
3531 * m32r-linux-nat.c: Likewise.
3532 * m32r-tdep.c: Likewise.
3533 * m68k-tdep.c: Likewise.
3534 * m68kbsd-nat.c: Likewise.
3535 * m68kbsd-tdep.c: Likewise.
3536 * m88k-tdep.c: Likewise.
3537 * machoread.c: Likewise.
3538 * macroexp.c: Likewise.
3539 * macrotab.c: Likewise.
3540 * maint.c: Likewise.
3541 * mdebugread.c: Likewise.
3542 * memory-map.c: Likewise.
3543 * mep-tdep.c: Likewise.
3544 * mi/mi-common.c: Likewise.
3545 * microblaze-tdep.c: Likewise.
3546 * mingw-hdep.c: Likewise.
3547 * mips-linux-nat.c: Likewise.
3548 * mips-linux-tdep.c: Likewise.
3549 * mips-tdep.c: Likewise.
3550 * mips64obsd-tdep.c: Likewise.
3551 * mipsnbsd-tdep.c: Likewise.
3552 * mn10300-linux-tdep.c: Likewise.
3553 * mn10300-tdep.c: Likewise.
3554 * moxie-tdep.c: Likewise.
3555 * mt-tdep.c: Likewise.
3556 * nat/linux-btrace.c: Likewise.
3557 * nat/linux-osdata.c: Likewise.
3558 * nat/linux-ptrace.c: Likewise.
3559 * nat/mips-linux-watch.c: Likewise.
3560 * nios2-linux-tdep.c: Likewise.
3561 * nios2-tdep.c: Likewise.
3562 * objc-lang.c: Likewise.
3563 * objfiles.c: Likewise.
3564 * obsd-nat.c: Likewise.
3565 * opencl-lang.c: Likewise.
3566 * osabi.c: Likewise.
3567 * parse.c: Likewise.
3568 * ppc-linux-nat.c: Likewise.
3569 * ppc-sysv-tdep.c: Likewise.
3570 * ppcfbsd-nat.c: Likewise.
3571 * ppcfbsd-tdep.c: Likewise.
3572 * ppcnbsd-nat.c: Likewise.
3573 * ppcnbsd-tdep.c: Likewise.
3574 * ppcobsd-nat.c: Likewise.
3575 * ppcobsd-tdep.c: Likewise.
3576 * printcmd.c: Likewise.
3577 * procfs.c: Likewise.
3578 * prologue-value.c: Likewise.
3579 * psymtab.c: Likewise.
3580 * python/py-lazy-string.c: Likewise.
3581 * python/py-value.c: Likewise.
3582 * regcache.c: Likewise.
3583 * reggroups.c: Likewise.
3584 * registry.c: Likewise.
3585 * remote-sim.c: Likewise.
3586 * remote.c: Likewise.
3587 * rs6000-aix-tdep.c: Likewise.
3588 * rs6000-tdep.c: Likewise.
3589 * s390-linux-tdep.c: Likewise.
3590 * score-tdep.c: Likewise.
3591 * ser-base.c: Likewise.
3592 * ser-mingw.c: Likewise.
3593 * sh-tdep.c: Likewise.
3594 * sh64-tdep.c: Likewise.
3595 * solib-darwin.c: Likewise.
3596 * solib-spu.c: Likewise.
3597 * solib-svr4.c: Likewise.
3598 * source.c: Likewise.
3599 * sparc-nat.c: Likewise.
3600 * sparc-sol2-tdep.c: Likewise.
3601 * sparc-tdep.c: Likewise.
3602 * sparc64-sol2-tdep.c: Likewise.
3603 * sparc64-tdep.c: Likewise.
3604 * sparc64fbsd-tdep.c: Likewise.
3605 * sparc64nbsd-tdep.c: Likewise.
3606 * sparc64obsd-tdep.c: Likewise.
3607 * sparcnbsd-tdep.c: Likewise.
3608 * sparcobsd-tdep.c: Likewise.
3609 * spu-multiarch.c: Likewise.
3610 * spu-tdep.c: Likewise.
3611 * stabsread.c: Likewise.
3612 * stack.c: Likewise.
3613 * symfile.c: Likewise.
3614 * symtab.c: Likewise.
3615 * target-descriptions.c: Likewise.
3616 * target-memory.c: Likewise.
3617 * target.c: Likewise.
3618 * tic6x-linux-tdep.c: Likewise.
3619 * tic6x-tdep.c: Likewise.
3620 * tilegx-linux-nat.c: Likewise.
3621 * tilegx-tdep.c: Likewise.
3622 * top.c: Likewise.
3623 * tramp-frame.c: Likewise.
3624 * tui/tui-out.c: Likewise.
3625 * tui/tui-winsource.c: Likewise.
3626 * ui-out.c: Likewise.
3627 * user-regs.c: Likewise.
3628 * utils.c: Likewise.
3629 * v850-tdep.c: Likewise.
3630 * valops.c: Likewise.
3631 * value.c: Likewise.
3632 * varobj.c: Likewise.
3633 * vax-nat.c: Likewise.
3634 * xml-syscall.c: Likewise.
3635 * xml-tdesc.c: Likewise.
3636 * xstormy16-tdep.c: Likewise.
3637 * xtensa-linux-nat.c: Likewise.
3638 * xtensa-tdep.c: Likewise.
3639
3640 2014-08-07 Gary Benson <gbenson@redhat.com>
3641
3642 * common/common-defs.h: Include common-utils.h.
3643 * defs.h: Do not include common-utils.h.
3644 * common/gdb_assert.h: Likewise.
3645 * darwin-nat.h: Likewise.
3646 * nat/linux-btrace.c: Likewise.
3647 * target/waitstatus.h: Likewise.
3648
3649 2014-08-07 Gary Benson <gbenson@redhat.com>
3650
3651 * common/common-defs.h: Include ptid.h.
3652 * defs.h: Do not include ptid.h.
3653 * inferior.h: Likewise.
3654 * infrun.h: Likewise.
3655 * nat/linux-btrace.h: Likewise.
3656 * nat/linux-osdata.h: Likewise.
3657 * target/waitstatus.h: Likewise.
3658
3659 2014-08-07 Gary Benson <gbenson@redhat.com>
3660
3661 * common/common-defs.h: Include gdb_locale.h.
3662 * defs.h: Do not include gdb_locale.h.
3663
3664 2014-08-07 Gary Benson <gbenson@redhat.com>
3665
3666 * common/common-defs.h: Include gdb/signals.h.
3667 * defs.h: Do not include gdb/signals.h.
3668
3669 2014-08-07 Gary Benson <gbenson@redhat.com>
3670
3671 * common/common-defs.h: Include pathmax.h.
3672 * defs.h: Do not include pathmax.h.
3673
3674 2014-08-07 Gary Benson <gbenson@redhat.com>
3675
3676 * common/common-defs.h: Include libiberty.h.
3677 * defs.h: Do not include libiberty.h.
3678 * common/queue.h: Likewise.
3679 * cp-name-parser.y: Likewise.
3680 * mi/mi-cmd-catch.c: Likewise.
3681 * python/python.c: Likewise.
3682
3683 2014-08-07 Gary Benson <gbenson@redhat.com>
3684
3685 * common/common-defs.h: Include ansidecl.h.
3686 * defs.h: Do not include ansidecl.h.
3687 * common/buffer.h: Likewise.
3688 * common/common-utils.h: Likewise.
3689
3690 2014-08-07 Gary Benson <gbenson@redhat.com>
3691
3692 * common/common-defs.h: Include stddef.h.
3693 * defs.h: Do not include stddef.h.
3694 * common/common-utils.h: Likewise.
3695 * amd64fbsd-nat.c: Likewise.
3696 * bcache.c: Likewise.
3697 * charset.c: Likewise.
3698 * common/buffer.h: Likewise.
3699 * common/vec.h: Likewise.
3700 * i386bsd-nat.c: Likewise.
3701 * nat/linux-btrace.h: Likewise.
3702 * ppcfbsd-nat.c: Likewise.
3703 * ppcnbsd-tdep.h: Likewise.
3704 * ppcobsd-nat.c: Likewise.
3705 * ppcobsd-tdep.h: Likewise.
3706 * python/py-gdb-readline.c: Likewise.
3707
3708 2014-08-07 Gary Benson <gbenson@redhat.com>
3709
3710 * common/common-defs.h: Include stdarg.h.
3711 * defs.h: Do not include stdarg.h.
3712 * ada-lang.c: Likewise.
3713 * common/common-utils.h: Likewise.
3714 * guile/scm-string.c: Likewise.
3715 * guile/scm-utils.c: Likewise.
3716 * m32c-tdep.c: Likewise.
3717
3718 2014-08-07 Gary Benson <gbenson@redhat.com>
3719
3720 * common/common-defs.h: Include stdlib.h.
3721 * defs.h: Do not include stdlib.h.
3722 * addrmap.c: Likewise.
3723 * bcache.c: Likewise.
3724 * common/buffer.c: Likewise.
3725 * common/common-utils.c: Likewise.
3726 * cp-name-parser.y: Likewise.
3727 * go32-nat.c: Likewise.
3728 * mn10300-linux-tdep.c: Likewise.
3729 * nat/linux-osdata.c: Likewise.
3730 * tui/tui.c: Likewise.
3731 * windows-nat.c: Likewise.
3732
3733 2014-08-07 Gary Benson <gbenson@redhat.com>
3734
3735 * common/common-defs.h: Include stdio.h.
3736 * defs.h: Do not include stdio.h.
3737 * ada-lang.c: Likewise.
3738 * common/buffer.c: Likewise.
3739 * common/common-utils.c: Likewise.
3740 * cp-name-parser.y: Likewise.
3741 * gnu-nat.c: Likewise.
3742 * go32-nat.c: Likewise.
3743 * i386gnu-nat.c: Likewise.
3744 * proc-api.c: Likewise.
3745 * proc-events.c: Likewise.
3746 * proc-flags.c: Likewise.
3747 * proc-why.c: Likewise.
3748 * python/python-internal.h: Likewise.
3749 * target-memory.c: Likewise.
3750 * tui/tui-io.c: Likewise.
3751 * tui/tui.c: Likewise.
3752
3753 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
3754
3755 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
3756 (scan_dyntag_auxv): Same.
3757
3758 2014-08-06 Yao Qi <yao@codesourcery.com>
3759
3760 * amd64-linux-nat.c: Remove duplicated include
3761 "x86-linux-nat.h".
3762 * i386-linux-nat.c: Likewise.
3763
3764 2014-08-06 Yao Qi <yao@codesourcery.com>
3765
3766 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
3767 operand" with "Special opcode" in comments.
3768
3769 2014-08-05 Gary Benson <gbenson@redhat.com>
3770
3771 * interps.c (initialize_interps): Remove prototype.
3772 (interpreter_initialized): Remove static global.
3773 (interp_add): Do not call initialize_interps.
3774 (initialize_interps): Remove function.
3775
3776 2014-08-05 Gary Benson <gbenson@redhat.com>
3777
3778 * utils.c (vwarning): Remove spurious va_end.
3779
3780 2014-08-05 Alan Modra <amodra@gmail.com>
3781
3782 * charset.c (convert_between_encodings): Cast result of obstack_base.
3783 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
3784 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
3785 (read_unwind_info): Use size_t for some locals.
3786 * jit.c (finalize_symtab): Likewise.
3787 * utils.c (hashtab_obstack_allocate): Likewise.
3788 * symmisc.c (print_objfile_statistics): Update format strings.
3789
3790 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3791
3792 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
3793 (Changes in GDB 7.8): ... here.
3794
3795 2014-08-04 Tom Tromey <tromey@redhat.com>
3796
3797 * target.c (set_targetdebug): New function.
3798 (initialize_targets): Pass set_targetdebug when creating "set
3799 debug target".
3800
3801 2014-08-01 Joel Brobecker <brobecker@adacore.com>
3802
3803 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
3804 if detecting a variable-sized field that is not the last field.
3805 Fix struct type length computation.
3806
3807 2014-08-01 Joel Brobecker <brobecker@adacore.com>
3808
3809 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3810 Add debug trace.
3811
3812 2014-08-01 Joel Brobecker <brobecker@adacore.com>
3813
3814 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3815 Remove "+ 8" offset in computation of CHAIN_VMA.
3816
3817 2014-07-31 Doug Evans <dje@google.com>
3818
3819 * inflow.c (child_terminal_inferior): Add comment.
3820 (child_terminal_ours_for_output): Add comment.
3821 (child_terminal_ours): Add comment.
3822 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
3823 (linux_nat_terminal_ours): Add comment.
3824
3825 2014-07-31 Gary Benson <gbenson@redhat.com>
3826
3827 * common/btrace-common.h: Do not include defs.h or server.h.
3828 * nat/mips-linux-watch.h: Likewise.
3829 * gdb-dlfcn.h: Do not include defs.h.
3830 * tracefile.h: Likewise.
3831
3832 2014-07-30 Roland McGrath <mcgrathr@google.com>
3833
3834 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
3835
3836 2014-07-30 Tom Tromey <tromey@redhat.com>
3837
3838 * bsd-kvm.c (bsd_kvm_open): Constify.
3839 * corelow.c (core_open): Constify.
3840 * ctf.c (ctf_open): Constify.
3841 * dbug-rom.c (dbug_open): Constify.
3842 * exec.c (exec_open): Constify.
3843 * m32r-rom.c (m32r_open, mon2000_open): Constify.
3844 * microblaze-rom.c (picobug_open): Constify.
3845 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
3846 Constify.
3847 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
3848 * record-btrace.c (record_btrace_open): Constify.
3849 * record-full.c (record_full_core_open_1, record_full_open_1)
3850 (record_full_open): Constify.
3851 * remote-m32r-sdi.c (m32r_open): Constify.
3852 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
3853 (rockhopper_open, lsi_open): Constify.
3854 * remote-sim.c (gdbsim_open): Constify.
3855 * remote.c (remote_open, extended_remote_open, remote_open_1):
3856 Constify.
3857 * target.h (struct target_ops) <to_open>: Make "arg" const.
3858 * tracefile-tfile.c (tfile_open): Constify.
3859
3860 2014-07-30 Tom Tromey <tromey@redhat.com>
3861
3862 * breakpoint.c (map_breakpoint_numbers): Update.
3863 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
3864 (get_number_const): New function.
3865 (get_number): Rewrite using get_number_const.
3866 (init_number_or_range): Make "string" const.
3867 (number_is_in_list): Make "list" const.
3868 * cli/cli-utils.h (get_number_const): Declare.
3869 (struct get_number_or_range_state) <string, end_ptr>: Now const.
3870 (init_number_or_range, number_is_in_list): Update.
3871 * printcmd.c (map_display_numbers): Update.
3872 * value.c (value_from_history_ref): Constify.
3873 * value.h (value_from_history_ref): Update.
3874
3875 2014-07-30 Tom Tromey <tromey@redhat.com>
3876
3877 * corefile.c (hook_type, call_extra_exec_file_hooks)
3878 (specify_exec_file_hook): Constify.
3879 * exec.c (exec_file_attach): Make "filename" const.
3880 * gdbcore.h (deprecated_exec_file_display_hook)
3881 (specify_exec_file_hook, exec_file_attach): Constify.
3882 * main.c (captured_main): Use catch_command_errors_const.
3883
3884 2014-07-30 Tom Tromey <tromey@redhat.com>
3885
3886 * target.c (open_target): New function.
3887 (add_target_with_completer, add_deprecated_target_alias): Use
3888 set_cmd_sfunc, set_cmd_context.
3889 (debug_to_open): Remove.
3890 (setup_target_debug): Update.
3891
3892 2014-07-30 Yao Qi <yao@codesourcery.com>
3893
3894 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
3895 comments.
3896 * parse.c (exp_iterate): Update comments.
3897
3898 2014-07-30 Gary Benson <gbenson@redhat.com>
3899
3900 * common/common-defs.h: New file.
3901 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
3902 * defs.h: Include common-defs.h.
3903 Do not include config.h or build-gnulib/config.h.
3904
3905 2014-07-30 Gary Benson <gbenson@redhat.com>
3906
3907 * common/common-utils.h: Do not include config.h.
3908 * nat/linux-btrace.h: Likewise.
3909
3910 2014-07-30 Gary Benson <gbenson@redhat.com>
3911
3912 * btrace.c: Include defs.h.
3913 * common/ptid.c: Include defs.h or server.h as appropriate.
3914 * nat/mips-linux-watch.c: Likewise.
3915
3916 2014-07-29 Tom Tromey <tromey@redhat.com>
3917
3918 * target.c (target_is_pushed): Simplify.
3919
3920 2014-07-29 Joel Brobecker <brobecker@adacore.com>
3921
3922 GDB 7.8 released.
3923
3924 2014-07-29 Yao Qi <yao@codesourcery.com>
3925
3926 PR gdb/17206
3927 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
3928
3929 2014-07-28 Doug Evans <xdje42@gmail.com>
3930
3931 PR guile/17203
3932 * guile/scm-param.c (pascm_parameter_defined_p): New function.
3933 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
3934 parameters.
3935
3936 2014-07-28 Will Newton <will.newton@linaro.org>
3937
3938 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
3939 (THUMB2_SET_R7_SIGRETURN2): Likewise.
3940 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
3941 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
3942 (THUMB2_EABI_SYSCALL): Likewise.
3943 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
3944 struct tramp_frame.
3945 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
3946 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
3947
3948 2014-07-27 Doug Evans <xdje42@gmail.com>
3949
3950 * guile/scm-param.c (pascm_print_param_smob): Fix output.
3951
3952 2014-07-27 Doug Evans <xdje42@gmail.com>
3953
3954 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
3955
3956 2014-07-26 Ludovic Courtès <ludo@gnu.org>
3957 Doug Evans <xdje42@gmail.com>
3958
3959 PR guile/17146
3960 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
3961 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
3962 * configure.ac: Try to use guild to compile an scm file, if it fails
3963 then disable guile support.
3964 * configure: Regenerate.
3965 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
3966 GUILE_FILE_LIST.
3967 (GUILE_COMPILED_FILES): New variable.
3968 (GUILE_FILES) Update.
3969 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
3970 (stamp-guile): Compile scm files.
3971 * guile/guile.c (boot_guile_support): New function.
3972 (standard_throw_args_p): New function.
3973 (print_standard_throw_error, print_throw_error): New functions.
3974 (handle_boot_error): New function.
3975 (initialize_scheme_side): Rewrite to call boot_guile_support.
3976 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
3977 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
3978
3979 2014-07-26 Ludovic Courtès <ludo@gnu.org>
3980 Doug Evans <xdje42@gmail.com>
3981
3982 PR guile/17146
3983 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
3984 * guile/lib/gdb/support.scm: New file.
3985 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
3986 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
3987 All uses updated.
3988 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
3989 All uses updated.
3990 (%assert-type): Ditto, and renamed to assert-type.
3991 (%exception-print-style): Delete.
3992
3993 2014-07-26 Doug Evans <xdje42@gmail.com>
3994
3995 PR build/17105
3996 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
3997 * configure: Regenerate.
3998 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
3999 PYTHON_FILES.
4000 (PYTHON_FILES): New variable.
4001 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
4002 (GUILE_FILES): New variable.
4003 (stamp-python, install-python, uninstall-python): Handle empty
4004 file list.
4005 (stamp-guile, install-guile, uninstall-guile): Ditto.
4006
4007 2014-07-26 Doug Evans <xdje42@gmail.com>
4008
4009 PR guile/17177
4010 * guile/lib/gdb.scm (pretty-printers): Export.
4011 (set-pretty-printers!): Export.
4012 * guile/lib/gdb/printing.scm (gdb module): Update.
4013 (prepend-pretty-printer!, append-pretty-printer!): Update.
4014 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
4015 (pretty_printer_list_var): Delete.
4016 (pretty_printer_list): New static global.
4017 (gdbscm_pretty_printers): New function.
4018 (gdbscm_set_pretty_printers_x): New function.
4019 (ppscm_find_pretty_printer_from_gdb): Update.
4020 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
4021 (gdbscm_initialize_pretty_printers): Update.
4022
4023 2014-07-26 Doug Evans <xdje42@gmail.com>
4024
4025 PR 17185
4026 * configure.ac: Add check for header gc/gc.h.
4027 Add check for function setenv.
4028 * configure: Regenerate.
4029 * config.in: Regenerate.
4030 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
4031
4032 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
4033
4034 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
4035 variation in gdbarch matching.
4036
4037 2014-07-25 Tom Tromey <tromey@redhat.com>
4038
4039 * exec.c (using_exec_ops): Remove.
4040 (exec_close_1): Update. Remove extraneous block, reindent.
4041 (add_target_sections): Use target_is_pushed.
4042
4043 2014-07-25 Pedro Alves <palves@redhat.com>
4044
4045 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
4046 * monitor.c (monitor_create_inferior): Likewise.
4047 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
4048 * remote-sim.c (gdbsim_create_inferior): Likewise.
4049 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
4050 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
4051 * windows-nat.c (do_initial_windows_stuff): Likewise.
4052
4053 2014-07-25 Pedro Alves <palves@redhat.com>
4054
4055 * NEWS: Mention signal passing and "signal" command changes.
4056 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
4057 comment.
4058 * breakpoint.c (until_break_command): Adjust clear_proceed_status
4059 call.
4060 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
4061 * infcmd.c (proceed_thread_callback, continue_1, step_once)
4062 (jump_command): Adjust clear_proceed_status call.
4063 (signal_command): Warn if other thread that are resumed have
4064 signals that will be delivered. Adjust clear_proceed_status call.
4065 (until_next_command, finish_command)
4066 (proceed_after_attach_callback, attach_command_post_wait)
4067 (attach_command): Adjust clear_proceed_status call.
4068 * infrun.c (proceed_after_vfork_done): Likewise.
4069 (proceed_after_attach_callback): Adjust comment.
4070 (clear_proceed_status_thread): Clear stop_signal if not in pass
4071 state.
4072 (clear_proceed_status_callback): Delete.
4073 (clear_proceed_status): New 'step' parameter. Only clear the
4074 proceed status of threads the command being prepared is about to
4075 resume.
4076 (proceed): If passed in an explicit signal, override stop_signal
4077 with it. Don't pass the last stop signal to the thread we're
4078 resuming.
4079 (init_wait_for_inferior): Adjust clear_proceed_status call.
4080 (switch_back_to_stepped_thread): Clear the signal if it should not
4081 be passed.
4082 * infrun.h (clear_proceed_status): New 'step' parameter.
4083 (user_visible_resume_ptid): Add comment.
4084 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
4085 signal is in pass state.
4086 * remote.c (append_pending_thread_resumptions): Likewise.
4087 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
4088
4089 2014-07-25 Tom Tromey <tromey@redhat.com>
4090
4091 * target.h (target_stopped_data_address)
4092 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
4093 parentheses.
4094
4095 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
4096
4097 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
4098 comments.
4099 (avr_pointer_to_address): Likewise.
4100
4101 2014-07-24 Tom Tromey <tromey@redhat.com>
4102
4103 * monitor.c (compile_pattern): Update.
4104 * target.h (struct target_ops) <to_shortname, to_longname,
4105 to_doc>: Now const.
4106
4107 2014-07-24 Tom Tromey <tromey@redhat.com>
4108
4109 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
4110 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
4111 (add_info_alias, add_com): Make "doc" const.
4112 (print_doc_line): Make "str" const.
4113 (delete_cmd): Update.
4114 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
4115 (print_doc_line): Update.
4116 * cli/cli-script.c (document_command): Update.
4117 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
4118 (add_com, add_info, add_info_alias): Update.
4119 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4120 * python/py-cmd.c (cmdpy_destroyer): Update.
4121
4122 2014-07-24 Tom Tromey <tromey@redhat.com>
4123
4124 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
4125 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
4126 (help_cmd_list): Constify.
4127 (lookup_cmd): Update.
4128 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
4129 const.
4130 (help_cmd_list, apropos_cmd): Update.
4131 * cli/cli-script.c (show_user): Update.
4132 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
4133 * cli/cli-setshow.h (cmd_show_list): Update.
4134 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
4135 (cmd_show_list): Update.
4136 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4137 * python/py-cmd.c (cmdpy_destroyer): Update.
4138
4139 2014-07-24 Tom Tromey <tromey@redhat.com>
4140
4141 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
4142 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
4143 const.
4144 * command.h (deprecate_cmd): Update.
4145 * maint.c (maintenance_do_deprecate): Add casts.
4146
4147 2014-07-24 Tom Tromey <tromey@redhat.com>
4148
4149 * cli/cli-decode.c (help_cmd): Make parameter "const".
4150 * cli/cli-decode.h (help_cmd): Update.
4151
4152 2014-07-24 Tom Tromey <tromey@redhat.com>
4153
4154 * stack.c (up_silently_base, down_silently_base): Make argument
4155 const.
4156
4157 2014-07-24 Tom Tromey <tromey@redhat.com>
4158
4159 * solib.c (solib_add): Make "pattern" const.
4160 * solib.h (solib_add): Update.
4161
4162 2014-07-24 Tom Tromey <tromey@redhat.com>
4163
4164 * remote.c (remote_serial_open, print_packet, putpkt)
4165 (putpkt_binary): Constify.
4166 * remote.h (putpkt): Update.
4167
4168 2014-07-24 Tom Tromey <tromey@redhat.com>
4169
4170 * monitor.c (monitor_open): Make "args" const.
4171 * monitor.h (monitor_open): Update.
4172
4173 2014-07-24 Tom Tromey <tromey@redhat.com>
4174
4175 * maint.c (match_bfd_flags): Make "string" const.
4176 (print_bfd_section_info): Remove casts.
4177 (print_objfile_section_info): Make "string" const.
4178
4179 2014-07-24 Tom Tromey <tromey@redhat.com>
4180
4181 * inf-child.c (inf_child_open_target): Make "arg" const.
4182 * inf-child.h (inf_child_open_target): Update.
4183
4184 2014-07-24 Tom Tromey <tromey@redhat.com>
4185
4186 * environ.c (unset_in_environ): Make "var" const.
4187 * environ.h (unset_in_environ): Update.
4188
4189 2014-07-24 Tom Tromey <tromey@redhat.com>
4190
4191 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
4192 Make "cmd" const.
4193 (scan_filename_with_cleanup): Likewise.
4194 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
4195 Make arguments const.
4196 (restore_command): Update.
4197
4198 2014-07-24 Pedro Alves <palves@redhat.com>
4199
4200 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
4201
4202 2014-07-24 Tom Tromey <tromey@redhat.com>
4203 Gary Benson <gbenson@redhat.com>
4204
4205 * nat/linux-ptrace.c (additional_flags): New global.
4206 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
4207 additional_flags; don't check GDBSERVER.
4208 (linux_ptrace_set_additional_flags): New function.
4209 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
4210 Declare.
4211 * linux-nat.c (_initialize_linux_nat): Call
4212 linux_ptrace_set_additional_flags.
4213
4214 2014-07-24 Tom Tromey <tromey@redhat.com>
4215
4216 * make-target-delegates (munge_type, write_debugmethod): New
4217 functions.
4218 (debug_names): New global.
4219 ($TARGET_DEBUG_PRINTER): New global.
4220 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
4221 name.
4222 Write debug methods. Generate init_debug_target.
4223 * target-debug.h: New file.
4224 * target-delegates.c: Rebuild.
4225 * target.c: Include target-debug.h.
4226 (debug_target): Hoist definition.
4227 (target_kill, target_get_section_table, target_memory_map)
4228 (target_flash_erase, target_flash_done, target_detach)
4229 (target_disconnect, target_wait, target_resume)
4230 (target_pass_signals, target_program_signals, target_follow_fork)
4231 (target_mourn_inferior, target_search_memory)
4232 (target_thread_address_space, target_close)
4233 (target_find_new_threads, target_core_of_thread)
4234 (target_verify_memory, target_insert_mask_watchpoint)
4235 (target_remove_mask_watchpoint): Remove targetdebug code.
4236 (debug_to_post_attach, debug_to_prepare_to_store)
4237 (debug_to_files_info, debug_to_insert_breakpoint)
4238 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
4239 (debug_to_region_ok_for_hw_watchpoint)
4240 (debug_to_can_accel_watchpoint_condition)
4241 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
4242 (debug_to_watchpoint_addr_within_range)
4243 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
4244 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
4245 (debug_to_terminal_init, debug_to_terminal_inferior)
4246 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
4247 (debug_to_terminal_save_ours, debug_to_terminal_info)
4248 (debug_to_load, debug_to_post_startup_inferior)
4249 (debug_to_insert_fork_catchpoint)
4250 (debug_to_remove_fork_catchpoint)
4251 (debug_to_insert_vfork_catchpoint)
4252 (debug_to_remove_vfork_catchpoint)
4253 (debug_to_insert_exec_catchpoint)
4254 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
4255 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
4256 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
4257 (setup_target_debug): Call init_debug_target.
4258 * target.h (TARGET_DEBUG_PRINTER): New macro.
4259 (struct target_ops) <to_resume, to_wait, to_pass_signals,
4260 to_program_signals>: Use TARGET_DEBUG_PRINTER.
4261
4262 2014-07-24 Gary Benson <gbenson@redhat.com>
4263
4264 * exceptions.h (throw_vfatal): Renamed to...
4265 (throw_vquit): New declaration.
4266 (throw_quit): Likewise.
4267 * exceptions.c (throw_vfatal): Renamed to...
4268 (throw_vquit): New function.
4269 (throw_quit): Likewise.
4270 (throw_error): Call throw_verror rather than throw_it.
4271 * utils.h (vfatal): Removed.
4272 (fatal): Likewise.
4273 * utils.c (vfatal): Removed.
4274 (fatal): Likewise.
4275 (internal_verror): Replaced call to fatal with call to throw_quit.
4276 (quit): Replaced calls to fatal with calls to throw_quit.
4277
4278 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
4279
4280 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
4281 target_read_code.
4282
4283 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
4284
4285 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
4286 less than zero in conditional expression.
4287
4288 2014-07-23 Tom Tromey <tromey@redhat.com>
4289
4290 * make-target-delegates ($ARGS_PART): Match trailing close paren.
4291 ($INTRO_PART): Don't match whitespace.
4292 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
4293 argument matching.
4294 ($METHOD): Add $METHOD_TRAILER.
4295 (trim): Rewrite.
4296 (scan_target_h): New sub.
4297 Change main loop not to collect state.
4298 * target-delegates.c: Rebuild.
4299
4300 2014-07-23 Gary Benson <gbenson@redhat.com>
4301
4302 * cp-support.c (gdb_demangle): Fix build on systems without
4303 sigaltstack.
4304
4305 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4306
4307 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
4308 for reference entry value target data value.
4309
4310 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4311
4312 * stack.c (read_frame_arg): Verify value_optimized_out before calling
4313 value_available_contents_eq.
4314
4315 2014-07-22 Pedro Alves <palves@redhat.com>
4316
4317 * value.c (allocate_optimized_out_value): Don't mark value as
4318 non-lazy.
4319
4320 2014-07-22 Jiong Wang <jiong.wang@arm.com>
4321
4322 * MAINTAINERS (Write After Approval): Update my email address.
4323
4324 2014-07-20 Doug Evans <dje@google.com>
4325
4326 PR server/17147
4327 * remote.c (putpkt_binary): Add text to error message.
4328
4329 2014-07-20 Yao Qi <yao@codesourcery.com>
4330
4331 * eval.c: Remove "Chill" from comments.
4332 * gdbtypes.h: Likewise.
4333 * symtab.h: Likewise.
4334
4335 2014-07-20 Yao Qi <yao@codesourcery.com>
4336
4337 * std-operator.def: Update comments to TERNOP_SLICE.
4338
4339 2014-07-20 Yao Qi <yao@codesourcery.com>
4340
4341 * std-operator.def: Remove BINOP_RANGE.
4342 * breakpoint.c (watchpoint_exp_is_const): Update.
4343 * expprint.c (dump_subexp_body_standard): Likewise.
4344 * eval.c (init_array_element): Remove dead code.
4345 (evaluate_subexp_standard): Likewise.
4346
4347 2014-07-20 Yao Qi <yao@codesourcery.com>
4348
4349 * std-operator.def: Remove BINOP_IN.
4350 * breakpoint.c (watchpoint_exp_is_const): Update.
4351 * eval.c (evaluate_subexp_standard): Likewise.
4352 * expprint.c (dump_subexp_body_standard): Likewise.
4353
4354 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
4355
4356 * microblaze-tdep.c (microblaze_register_names): Add
4357 the rshr and rslr register names.
4358 (microblaze_gdbarch_init): Use of tdesc_has_registers.
4359 Use of tdesc_find_feature. Use of tdesc_data_alloc.
4360 Use of tdesc_numbered_register. Use of
4361 microblaze_register_g_packet_guesses. Use of
4362 tdesc_use_registers. Use of set_gdbarch_register_type.
4363 (microblaze_register_g_packet_guesses): New.
4364 * microblaze-tdep.h (microblaze_reg_num): Add
4365 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
4366 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
4367 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
4368 * features/microblaze-core.xml: New file.
4369 * features/microblaze-stack-protect.xml: New file.
4370 * features/microblaze-with-stack-protect.c: New file.
4371 * features/microblaze-with-stack-protect.xml: New file.
4372 * features/microblaze.xml: New file.
4373 * features/microblaze.c: New file.
4374 * features/Makefile (microblaze-with-stack-protect): Add
4375 microblaze-with-stack-protect microblaze and microblaze-expedite.
4376 * regformats/microblaze-with-stack-protect.dat: New file.
4377 * regformats/microblaze.dat: New file.
4378 * doc/gdb.texinfo (MicroBlaze Features): Added.
4379
4380 2014-07-18 Tom Tromey <tromey@redhat.com>
4381
4382 * exec.c (exec_ops): Now static.
4383 * exec.h (exec_ops): Don't declare.
4384
4385 2014-07-18 Tom Tromey <tromey@redhat.com>
4386
4387 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
4388 to find_target_beneath.
4389 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
4390 find_target_beneath.
4391 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
4392
4393 2014-07-18 Tom Tromey <tromey@redhat.com>
4394
4395 PR gdb/17130:
4396 * utils.c (quit): Use target_supports_terminal_ours.
4397 * target.h (target_supports_terminal_ours): Declare.
4398 * target.c (target_supports_delete_record): Don't check
4399 to_delete_record against NULL.
4400 (target_supports_terminal_ours): New function.
4401
4402 2014-07-18 Tom Tromey <tromey@redhat.com>
4403
4404 PR gdb/17130:
4405 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
4406 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
4407 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
4408 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
4409 * windows-nat.c (windows_xfer_partial): Always delegate.
4410 * record-btrace.c (record_btrace_xfer_partial): Simplify
4411 delegation.
4412 (record_btrace_fetch_registers, record_btrace_store_registers)
4413 (record_btrace_prepare_to_store, record_btrace_resume)
4414 (record_btrace_wait, record_btrace_find_new_threads)
4415 (record_btrace_thread_alive): Likewise.
4416 * procfs.c (procfs_xfer_partial): Always delegate.
4417 * corelow.c (core_xfer_partial): Always delegate.
4418 * sol-thread.c (sol_find_new_threads): Simplify delegation.
4419
4420 2014-07-18 Tom Tromey <tromey@redhat.com>
4421
4422 * exec.c (exec_make_note_section): Move earlier.
4423
4424 2014-07-17 Doug Evans <dje@google.com>
4425
4426 PR gdb/17170
4427 * maint.c (count_symtabs_and_blocks): Handle NULL
4428 current_program_space.
4429 (report_command_stats): Check global enabled flag in addition to
4430 recorded enabled flag.
4431 (make_command_stats_cleanup): Handle msg_type == 0, startup.
4432
4433 2014-07-16 Pedro Alves <palves@redhat.com>
4434
4435 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
4436
4437 2014-07-16 Tom Tromey <tromey@redhat.com>
4438
4439 * target.h (struct target_ops) <to_delete_record>: Reformat
4440 comment.
4441
4442 2014-07-16 Tom Tromey <tromey@redhat.com>
4443
4444 * target-delegates.c: Rebuild.
4445
4446 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4447
4448 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
4449 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
4450 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
4451 (avr_pointer_to_address): Likewise.
4452 (avr_address_class_type_flags): New function.
4453 (avr_address_class_type_flags_to_name): Likewise.
4454 (avr_address_class_name_to_type_flags): Likewise.
4455 (avr_gdbarch_init): Set address_class_type_flags,
4456 address_class_type_flags_to_name and
4457 address_class_name_to_type_flags.
4458
4459 2014-07-15 Pedro Alves <palves@redhat.com>
4460
4461 * linux-nat.c (kill_callback): Save errno and work with saved
4462 copy.
4463
4464 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4465
4466 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
4467
4468 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4469
4470 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
4471 breakpoint support correctly.
4472
4473 2014-07-14 Pedro Alves <palves@redhat.com>
4474
4475 * utils.c (prompt_for_continue): Call target_terminal_ours.
4476
4477 2014-07-14 Pedro Alves <palves@redhat.com>
4478
4479 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
4480 catch_errors. Don't re-enable stdin or notify observers where,
4481 and rethrow error.
4482 (fetch_inferior_event_wrapper): Delete.
4483
4484 2014-07-14 Pedro Alves <palves@redhat.com>
4485
4486 PR gdb/17072
4487 * top.c: Include "inf-loop.h".
4488 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
4489 field.
4490 (gdb_readline_wrapper_cleanup): Make the target async again, if it
4491 was async before.
4492 (gdb_readline_wrapper): Store whether the target is async, and
4493 make it sync.
4494
4495 2014-07-14 Pedro Alves <palves@redhat.com>
4496
4497 PR gdb/17072
4498 * top.c (gdb_readline_wrapper_line): Tweak comment.
4499 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
4500 the input handler callback.
4501
4502 2014-07-14 Pedro Alves <palves@redhat.com>
4503
4504 PR gdb/17072
4505 * main.c: Include event-top.h.
4506 (handle_command_errors): New function.
4507 (catch_command_errors, catch_command_errors_const): Use it.
4508
4509 2014-07-14 Pedro Alves <palves@redhat.com>
4510
4511 * exceptions.c (catch_command_errors, catch_command_errors_const):
4512 Moved to main.c.
4513 * exceptions.h (catch_command_errors_ftype)
4514 (catch_command_errors_const_ftype): Moved to main.c.
4515 (catch_command_errors, catch_command_errors_const): Delete
4516 declarations.
4517 * main.c (catch_command_errors_ftype)
4518 (catch_command_errors_const_ftype): Moved here from exceptions.h.
4519 (catch_command_errors, catch_command_errors_const)): Moved here
4520 from exceptions.c and make static.
4521
4522 2014-07-14 Pedro Alves <palves@redhat.com>
4523
4524 * exceptions.c (print_any_exception): Delete.
4525 (catch_exceptions_with_msg): Use exception_print instead of
4526 print_any_exception.
4527 (catch_errors): Use exception_fprintf instead of
4528 print_any_exception.
4529 (catch_command_errors, catch_command_errors_const): Use
4530 exception_print instead of print_any_exception.
4531
4532 2014-07-14 Pedro Alves <palves@redhat.com>
4533
4534 * infcall.c (run_inferior_call): Set 'sync_execution' while
4535 running the inferior call.
4536
4537 2014-07-14 Pedro Alves <palves@redhat.com>
4538
4539 * value.c (value_contents_equal): Delete function.
4540 * value.h (value_contents_equal): Delete declaration.
4541
4542 2014-07-14 Tom Tromey <tromey@redhat.com>
4543
4544 PR exp/17106:
4545 * gdbtypes.c (is_dynamic_type_internal): New function, from
4546 is_dynamic_type.
4547 (is_dynamic_type): Rewrite.
4548 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
4549 (resolve_dynamic_struct): Likewise.
4550 (resolve_dynamic_type_internal): New function, from
4551 resolve_dynamic_type.
4552 (resolve_dynamic_type): Rewrite.
4553
4554 2014-07-14 Tom Tromey <tromey@redhat.com>
4555
4556 * target.c (target_require_runnable): Also check record_stratum.
4557 Update comment.
4558
4559 2014-07-11 Yao Qi <yao@codesourcery.com>
4560
4561 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
4562 thumb_instruction_restores_sp return true.
4563
4564 2014-07-11 Yao Qi <yao@codesourcery.com>
4565
4566 * arm-tdep.c (thumb_instruction_restores_sp): New function.
4567 (thumb_in_function_epilogue_p): Call
4568 thumb_instruction_restores_sp.
4569
4570 2014-07-11 Yao Qi <yao@codesourcery.com>
4571
4572 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
4573 'add sp, #imm'.
4574 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
4575
4576 2014-07-11 Gary Benson <gbenson@redhat.com>
4577
4578 * amd64-linux-nat.c (gdbcore.h): Remove include.
4579 (regset.h): Likewise.
4580 (nat/linux-btrace.h): Likewise.
4581 (btrace.h): Likewise.
4582 (gdb_assert.h): Likewise.
4583 (string.h): Likewise.
4584 (sys/uio.h): Likewise.
4585 (sys/debugreg.h): Likewise.
4586 (sys/syscall.h): Likewise.
4587 (sys/procfs.h): Likewise.
4588 (sys/user.h): Likewise.
4589 (asm/ptrace.h): Likewise.
4590 (i386-nat.h): Likewise.
4591 * i386-linux-nat.c (i386-nat.h): Likewise.
4592 (regset.h): Likewise.
4593 (target.h): Likewise.
4594 (linux-nat.h): Likewise.
4595 (nat/linux-btrace.h): Likewise.
4596 (btrace.h): Likewise.
4597 (gdb_assert.h): Likewise.
4598 (string.h): Likewise.
4599 (sys/uio.h): Likewise.
4600 (sys/user.h): Likewise.
4601 (sys/procfs.h): Likewise.
4602 (sys/reg.h): Likewise.
4603 (sys/debugreg.h): Likewise.
4604 (ORIG_EAX): Remove definition.
4605
4606 2014-07-11 Gary Benson <gbenson@redhat.com>
4607
4608 * i386-linux-nat.h: New file.
4609 * x86-linux-nat.h: Likewise.
4610 * x86-linux-nat.c: Likewise.
4611 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
4612 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
4613 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4614 * amd64-linux-nat.c (x86-linux-nat.h): New include.
4615 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4616 (PTRACE_SETREGSET): Likewise.
4617 (arch_lwp_info): Now in x86-linux-nat.c.
4618 (have_ptrace_getregset): Now in x86-linux-nat.h.
4619 (x86_linux_dr_get): Now in x86-linux-nat.c.
4620 (x86_linux_dr_set): Likewise.
4621 (x86_linux_dr_get_addr): Likewise.
4622 (x86_linux_dr_get_control): Likewise.
4623 (x86_linux_dr_get_status): Likewise.
4624 (update_debug_registers_callback): Likewise.
4625 (x86_linux_dr_set_control): Likewise.
4626 (x86_linux_dr_set_addr): Likewise.
4627 (x86_linux_prepare_to_resume): Likewise.
4628 (x86_linux_new_thread): Likewise.
4629 (x86_linux_new_fork): Likewise.
4630 (x86_linux_get_thread_area): Likewise.
4631 (super_post_startup_inferior): Likewise.
4632 (x86_linux_child_post_startup_inferior): Likewise.
4633 (AMD64_LINUX_USER64_CS): Likewise.
4634 (AMD64_LINUX_X32_DS): Likewise.
4635 (x86_linux_read_description): Likewise.
4636 (x86_linux_enable_btrace): Likewise.
4637 (x86_linux_disable_btrace): Likewise.
4638 (x86_linux_teardown_btrace): Likewise.
4639 (x86_linux_read_btrace): Likewise.
4640 (x86_linux_create_target): Likewise.
4641 (x86_linux_add_target): Likewise.
4642 * i386-linux-nat.c (x86-linux-nat.h): New include.
4643 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4644 (PTRACE_SETREGSET): Likewise.
4645 (arch_lwp_info): Now in x86-linux-nat.c.
4646 (have_ptrace_getregset): Now in x86-linux-nat.h.
4647 (x86_linux_dr_get): Now in x86-linux-nat.c.
4648 (x86_linux_dr_set): Likewise.
4649 (x86_linux_dr_get_addr): Likewise.
4650 (x86_linux_dr_get_control): Likewise.
4651 (x86_linux_dr_get_status): Likewise.
4652 (update_debug_registers_callback): Likewise.
4653 (x86_linux_dr_set_control): Likewise.
4654 (x86_linux_dr_set_addr): Likewise.
4655 (x86_linux_prepare_to_resume): Likewise.
4656 (x86_linux_new_thread): Likewise.
4657 (x86_linux_new_fork): Likewise.
4658 (x86_linux_get_thread_area): Likewise.
4659 (super_post_startup_inferior): Likewise.
4660 (x86_linux_child_post_startup_inferior): Likewise.
4661 (AMD64_LINUX_USER64_CS): Likewise.
4662 (AMD64_LINUX_X32_DS): Likewise.
4663 (x86_linux_read_description): Likewise.
4664 (x86_linux_enable_btrace): Likewise.
4665 (x86_linux_disable_btrace): Likewise.
4666 (x86_linux_teardown_btrace): Likewise.
4667 (x86_linux_read_btrace): Likewise.
4668 (x86_linux_create_target): Likewise.
4669 (x86_linux_add_target): Likewise.
4670
4671 2014-07-11 Gary Benson <gbenson@redhat.com>
4672
4673 * amd64-linux-nat.c: Comment and whitespace changes.
4674 * i386-linux-nat.c: Comment and whitespace changes.
4675
4676 2014-07-11 Gary Benson <gbenson@redhat.com>
4677
4678 * amd64-linux-nat.c (x86_linux_create_target): New function.
4679 (x86_linux_add_target): Likewise.
4680 (_initialize_amd64_linux_nat): Delegate to the above new functions.
4681 * i386-linux-nat.c (x86_linux_create_target): New function.
4682 (x86_linux_add_target): Likewise.
4683 (_initialize_i386_linux_nat): Delegate to the above new functions.
4684
4685 2014-07-11 Gary Benson <gbenson@redhat.com>
4686
4687 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
4688 (ps_get_thread_area): Delegate to the above in 32-bit mode.
4689 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
4690 (ps_get_thread_area): Delegate to the above.
4691
4692 2014-07-11 Gary Benson <gbenson@redhat.com>
4693
4694 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
4695 x86_linux_read_description. All uses updated. amd64-specific
4696 code conditionalized. Conditionalized i386-specific code added.
4697 Redundant cast removed.
4698 * i386-linux-nat.c (i386_linux_read_description): Renamed to
4699 x86_linux_read_description. All uses updated. i386-specific
4700 code conditionalized. Conditionalized amd64-specific code added.
4701 One sizeof replaced with the actual type it is describing.
4702
4703 2014-07-11 Gary Benson <gbenson@redhat.com>
4704
4705 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
4706 x86_linux_dr_get. All uses updated.
4707 (amd64_linux_dr_set): Renamed to
4708 x86_linux_dr_set. All uses updated.
4709 (amd64_linux_dr_get_addr): Renamed to
4710 x86_linux_dr_get_addr. All uses updated.
4711 (amd64_linux_dr_get_control): Renamed to
4712 x86_linux_dr_get_control. All uses updated.
4713 (amd64_linux_dr_get_status): Renamed to
4714 x86_linux_dr_get_status. All uses updated.
4715 (amd64_linux_dr_set_control): Renamed to
4716 x86_linux_dr_set_control. All uses updated.
4717 (amd64_linux_dr_set_addr): Renamed to
4718 x86_linux_dr_set_addr. All uses updated.
4719 (amd64_linux_prepare_to_resume): Renamed to
4720 x86_linux_prepare_to_resume. All uses updated.
4721 (amd64_linux_new_thread): Renamed to
4722 x86_linux_new_thread. All uses updated.
4723 (amd64_linux_new_fork): Renamed to
4724 x86_linux_new_fork. All uses updated.
4725 (amd64_linux_child_post_startup_inferior): Renamed to
4726 x86_linux_child_post_startup_inferior. All uses updated.
4727 (amd64_linux_enable_btrace): Renamed to
4728 x86_linux_enable_btrace. All uses updated.
4729 (amd64_linux_disable_btrace): Renamed to
4730 x86_linux_disable_btrace. All uses updated.
4731 (amd64_linux_teardown_btrace): Renamed to
4732 x86_linux_teardown_btrace. All uses updated.
4733 (amd64_linux_read_btrace): Renamed to
4734 x86_linux_read_btrace. All uses updated.
4735 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
4736 x86_linux_dr_get. All uses updated.
4737 (i386_linux_dr_set): Renamed to
4738 x86_linux_dr_set. All uses updated.
4739 (i386_linux_dr_get_addr): Renamed to
4740 x86_linux_dr_get_addr. All uses updated.
4741 (i386_linux_dr_get_control): Renamed to
4742 x86_linux_dr_get_control. All uses updated.
4743 (i386_linux_dr_get_status): Renamed to
4744 x86_linux_dr_get_status. All uses updated.
4745 (i386_linux_dr_set_control): Renamed to
4746 x86_linux_dr_set_control. All uses updated.
4747 (i386_linux_dr_set_addr): Renamed to
4748 x86_linux_dr_set_addr. All uses updated.
4749 (i386_linux_prepare_to_resume): Renamed to
4750 x86_linux_prepare_to_resume. All uses updated.
4751 (i386_linux_new_thread): Renamed to
4752 x86_linux_new_thread. All uses updated.
4753 (i386_linux_new_fork): Renamed to
4754 x86_linux_new_fork. All uses updated.
4755 (i386_linux_child_post_startup_inferior): Renamed to
4756 x86_linux_child_post_startup_inferior. All uses updated.
4757 (i386_linux_enable_btrace): Renamed to
4758 x86_linux_enable_btrace. All uses updated.
4759 (i386_linux_disable_btrace): Renamed to
4760 x86_linux_disable_btrace. All uses updated.
4761 (i386_linux_teardown_btrace): Renamed to
4762 x86_linux_teardown_btrace. All uses updated.
4763 (i386_linux_read_btrace): Renamed to
4764 x86_linux_read_btrace. All uses updated.
4765
4766 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4767
4768 * remote.c (extended_remote_post_attach): New function.
4769 (init_extended_remote_ops): Install it as to_post_attach method.
4770
4771 2014-07-09 Pedro Alves <palves@redhat.com>
4772
4773 * infcmd.c (attach_command_post_wait): Don't call
4774 target_terminal_inferior here.
4775 (attach_command): Call it here instead.
4776
4777 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4778
4779 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
4780 field.
4781 * c-varobj.c (c_is_path_expr_parent): New function, moved core
4782 from varobj.c, with additional checks.
4783 (c_varobj_ops): Fill in is_path_expr_parent field.
4784 (cplus_varobj_ops): Fill in is_path_expr_parent field.
4785 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
4786 field.
4787 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
4788 ops method.
4789 (varobj_default_is_path_expr_parent): New function.
4790 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
4791 (varobj_default_is_path_expr_parent): Declare new function.
4792
4793 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4794
4795 * infcmd.c (finish_backward): Turn internal error into normal error.
4796
4797 2014-07-07 Pedro Alves <palves@redhat.com>
4798
4799 PR gdb/17096
4800 * remote.c (async_handle_remote_sigint)
4801 (async_handle_remote_sigint_twice): Call
4802 gdb_call_async_signal_handler instead of
4803 mark_async_signal_handler.
4804
4805 2014-07-07 Tom Tromey <tromey@redhat.com>
4806
4807 * target-delegates.c: Rebuild.
4808 * target.c (target_info_record): Remove.
4809 * record.c (info_record_command): Unconditionally call
4810 to_info_record.
4811 * target.h (struct target_ops) <to_info_record>: Use
4812 TARGET_DEFAULT_IGNORE.
4813 (target_info_record): Remove.
4814
4815 2014-07-07 Tom Tromey <tromey@redhat.com>
4816
4817 * target.h (struct target_ops) <to_get_thread_local_address>: Use
4818 TARGET_DEFAULT_NORETURN.
4819 * target.c (generic_tls_error): New function.
4820 (target_translate_tls_address): Don't search target stack.
4821 * target-delegates.c: Rebuild.
4822 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
4823 stack.
4824 * linux-thread-db.c (thread_db_get_thread_local_address):
4825 Unconditionally call beneath target.
4826
4827 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
4828
4829 * cli/cli-logging.c (pop_output_files): Assign targerr to
4830 gdb_stdtargerr.
4831
4832 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
4833
4834 * MAINTAINERS (Write After Approval): Update my email address.
4835
4836 2014-07-02 Gary Benson <gbenson@redhat.com>
4837
4838 * proc-service.c (ps_xfer_memory): Update comment.
4839 (ps_pstop): Remove unused function.
4840 (ps_pcontinue): Likewise.
4841 (ps_lstop): Likewise.
4842 (ps_lcontinue): Likewise.
4843 (ps_lgetxregsize): Likewise.
4844 (ps_lgetxregs): Likewise.
4845 (ps_lsetxregs): Likewise.
4846 (ps_plog): Likewise.
4847 (ps_ptread): Likewise.
4848 (ps_ptwrite): Likewise.
4849
4850 2014-07-01 Mark Wielaard <mjw@redhat.com>
4851
4852 * dwarf2read.c (add_array_cv_type): New function.
4853 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
4854 (read_tag_volatile_type): Likewise.
4855
4856 2014-07-01 Tom Tromey <tromey@redhat.com>
4857
4858 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
4859 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
4860 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
4861 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
4862 * command.h (cmd_cfunc_ftype): Move earlier.
4863 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
4864 (add_com, add_info): Use cmd_cfunc_ftype.
4865
4866 2014-06-30 Tom Tromey <tromey@redhat.com>
4867
4868 * symtab.c (operator_chars): Make parameters and return type
4869 const.
4870 (file_matches): Make "files" const.
4871 (struct search_symbols_data) <files>: Now const.
4872 (search_symbols): Make "regexp" and "files" parameters const.
4873 Update.
4874 (symtab_symbol_info): Remove cast.
4875 (rbreak_command): Update.
4876 * symtab.h (search_symbols): Update.
4877
4878 2014-06-27 Yao Qi <yao@codesourcery.com>
4879
4880 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
4881 Change parameter type to 'struct thread_info *'. Caller
4882 updated.
4883 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
4884 Update declaration.
4885 * dummy-frame.c (struct dummy_frame_id): New.
4886 (dummy_frame_id_eq): New function.
4887 (struct dummy_frame) <id>: Change its type to 'struct
4888 dummy_frame_id'.
4889 (dummy_frame_push): Add parameter ptid and save it in
4890 dummy_frame_id.
4891 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
4892 inferior_ptid.
4893 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
4894 to inferior_ptid.
4895 (lookup_dummy_frame): Change parameter type to 'struct
4896 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
4897 instead of frame_id_eq.
4898 (dummy_frame_pop): Add parameter ptid. Callers updated.
4899 Update comments. Compose dummy_frame_id and pass it to
4900 lookup_dummy_frame.
4901 (dummy_frame_discard): Add parameter ptid.
4902 (dummy_frame_sniffer): Compose dummy_frame_id and call
4903 dummy_frame_id_eq instead of frame_id_eq.
4904 (fprint_dummy_frames): Print ptid.
4905 * dummy-frame.h: Remove comments.
4906 (dummy_frame_push): Add ptid in declaration.
4907 (dummy_frame_pop, dummy_frame_discard): Likewise.
4908
4909 2014-06-26 Tom Tromey <tromey@redhat.com>
4910
4911 * cli/cli-cmds.c (error_no_arg): Make "why" const.
4912 * command.h (error_no_arg): Update.
4913
4914 2014-06-26 Tom Tromey <tromey@redhat.com>
4915
4916 * cli/cli-setshow.c (do_set_command): Make "arg" const.
4917 (do_show_command): Make "arg" const.
4918 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
4919
4920 2014-06-26 Tom Tromey <tromey@redhat.com>
4921
4922 * record-full.c (record_full_get_bookmark): Make "args" const.
4923 (record_full_goto_bookmark): Make "raw_bookmark" const.
4924 * record.c (record_goto): New function.
4925 (cmd_record_goto): Use it. Now static.
4926 * record.h (record_goto): Declare.
4927 (cmd_record_goto): Remove declaration.
4928 * target-delegates.c: Rebuild.
4929 * target.h (struct target_ops) <to_get_bookmark,
4930 to_goto_bookmark>: Make parameter const.
4931
4932 2014-06-26 Tom Tromey <tromey@redhat.com>
4933
4934 * defs.h (generic_load): Update.
4935 * m32r-rom.c (m32r_load_gen): Make "filename" const.
4936 * monitor.c (monitor_load): Make "args" const.
4937 * remote-m32r-sdi.c (m32r_load): Make "args" const.
4938 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
4939 const.
4940 (mips_load): Make "file" const.
4941 * remote-sim.c (gdbsim_load): Make "args" const.
4942 * remote.c (remote_load): Make "name" const.
4943 * symfile.c (generic_load): Make "args" const.
4944 * target-delegates.c: Rebuild.
4945 * target.c (target_load): Make "arg" const.
4946 (debug_to_load): Make "args" const.
4947 * target.h (struct target_ops) <to_load>: Make parameter const.
4948 (target_load): Update.
4949
4950 2014-06-26 Tom Tromey <tromey@redhat.com>
4951
4952 PR symtab/16902:
4953 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
4954 (dwarf2_physname, read_partial_die)
4955 (guess_partial_die_structure_name, fixup_partial_die)
4956 (guess_full_die_structure_name, anonymous_struct_prefix)
4957 (dwarf2_name): Use per-BFD obstack.
4958
4959 2014-06-26 Yao Qi <yao@codesourcery.com>
4960
4961 * dummy-frame.c (dummy_frame_sniffer): Move local variables
4962 dummyframe and this_id into inner block below.
4963
4964 2014-06-26 Yao Qi <yao@codesourcery.com>
4965
4966 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
4967 with "signal_pass[0]" in the initialization of signal_pass.
4968
4969 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4970
4971 * record-btrace.c (record_btrace_generating_corefile)
4972 (record_btrace_prepare_to_generate_core)
4973 (record_btrace_done_generating_core): New.
4974 (record_btrace_xfer_partial, record_btrace_fetch_registers)
4975 (record_btrace_store_registers, record_btrace_prepare_to_store):
4976 Forward request when generating a core file.
4977 (record_btrace_open): Set record_btrace_generating_corefile to zero.
4978 (init_record_btrace_ops): Set to_prepare_to_generate_core and
4979 to_done_generating_core.
4980
4981 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4982
4983 * target.h (target_ops) <to_prepare_to_generate_core>
4984 <to_done_generating_core>: New.
4985 (target_prepare_to_generate_core, target_done_generating_core): New.
4986 * target.c (target_prepare_to_generate_core)
4987 (target_done_generating_core): New.
4988 * target-delegates.c: Regenerate.
4989 * gcore.c: (write_gcore_file): Rename to ...
4990 (write_gcore_file_1): ...this.
4991 (write_gcore_file): Call target_prepare_to_generate_core
4992 and target_done_generating_core.
4993
4994 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4995
4996 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
4997 * gcore.c (write_gcore_file): Free memory returned from
4998 make_corefile_notes.
4999 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
5000 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
5001
5002 2014-06-24 Yao Qi <yao@codesourcery.com>
5003
5004 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
5005 (arm_linux_init_abi): Set skip_trampoline_code with
5006 gdbarch_skip_trampoline_code instead of
5007 find_solib_trampoline_target.
5008
5009 2014-06-24 Yao Qi <yao@codesourcery.com>
5010
5011 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
5012 arm_skip_bx_reg returns non-zero.
5013
5014 2014-06-24 Yao Qi <yao@codesourcery.com>
5015
5016 * arm-tdep.c (arm_skip_bx_reg): New function.
5017 (arm_skip_stub): Call arm_skip_bx_reg.
5018
5019 2014-06-23 Don Breazeal <donb@codesourcery.com>
5020
5021 * MAINTAINERS: Add myself as write-after-approval maintainer.
5022
5023 2014-06-23 Pedro Alves <palves@redhat.com>
5024
5025 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
5026 DR_CONTROL before setting DR0..DR3.
5027 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
5028 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
5029 bits of DR_CONTROL related to the debug register slot being
5030 disabled. If all slots are vacant, clear local slowdown as well,
5031 and assert DR_CONTROL is 0.
5032
5033 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5034
5035 * python/lib/gdb/command/xmethods.py
5036 (get_method_matchers_in_loci): Lookup xmethod matchers in the
5037 current progspace only if the string "progspace" matches LOCUS_RE.
5038
5039 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5040
5041 Fix --with-system-readline with readline-6.3 patch 5.
5042 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
5043 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
5044 types.
5045
5046 2014-06-20 Tom Tromey <tromey@redhat.com>
5047
5048 * dwarf2read.c (dw2_get_real_path): Use correct type in
5049 OBSTACK_CALLOC.
5050 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
5051
5052 2014-06-20 Gary Benson <gbenson@redhat.com>
5053
5054 * common/gdb_thread_db.h: Moved to nat. All includes updated.
5055 * common/glibc_thread_db.h: Likewise.
5056 * common/i386-cpuid.h: Likewise.
5057 * common/i386-gcc-cpuid.h: Likewise.
5058 * common/linux-btrace.h: Likewise.
5059 * common/linux-osdata.h: Likewise.
5060 * common/linux-procfs.h: Likewise.
5061 * common/linux-ptrace.h: Likewise.
5062 * common/mips-linux-watch.h: Likewise.
5063 * common/linux-btrace.c: Moved to nat.
5064 * common/linux-osdata.c: Likewise.
5065 * common/linux-procfs.c: Likewise.
5066 * common/linux-ptrace.c: Likewise.
5067 * common/mips-linux-watch.c: Likewise.
5068 * nat/gdb_thread_db.h: Moved from common.
5069 * nat/glibc_thread_db.h: Likewise.
5070 * nat/i386-cpuid.h: Likewise.
5071 * nat/i386-gcc-cpuid.h: Likewise.
5072 * nat/linux-btrace.c: Likewise.
5073 * nat/linux-btrace.h: Likewise.
5074 * nat/linux-osdata.c: Likewise.
5075 * nat/linux-osdata.h: Likewise.
5076 * nat/linux-procfs.c: Likewise.
5077 * nat/linux-procfs.h: Likewise.
5078 * nat/linux-ptrace.c: Likewise.
5079 * nat/linux-ptrace.h: Likewise.
5080 * nat/mips-linux-watch.c: Likewise.
5081 * nat/mips-linux-watch.h: Likewise.
5082 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
5083 (object file files): Reordered.
5084 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
5085 of glibc_thread_db.h.
5086
5087 2014-06-20 Gary Benson <gbenson@redhat.com>
5088
5089 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
5090 (i386_dr_low_type): Moved to nat/i386-dregs.h.
5091 (i386_dr_low): Likewise.
5092 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
5093 (i386_dr_low_set_addr): Likewise.
5094 (i386_dr_low_get_addr): Likewise.
5095 (i386_dr_low_can_set_control): Likewise.
5096 (i386_dr_low_set_control): Likewise.
5097 (i386_dr_low_get_control): Likewise.
5098 (i386_dr_low_get_status): Likewise.
5099 (i386_get_debug_register_length): Likewise.
5100 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
5101 (i386_dr_low): Likewise.
5102 * nat/i386-dregs.c (i386-low.h): Remove include.
5103 (i386-nat.h): Likewise.
5104 (nat/i386-dregs.h): New include.
5105 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
5106 (i386_dr_low_set_addr): Likewise.
5107 (i386_dr_low_get_addr): Likewise.
5108 (i386_dr_low_can_set_control): Likewise.
5109 (i386_dr_low_set_control): Likewise.
5110 (i386_dr_low_get_control): Likewise.
5111 (i386_dr_low_get_status): Likewise.
5112 (i386_get_debug_register_length): Likewise.
5113 (debug_hw_points): Likewise.
5114
5115 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5116
5117 * Makefile.in (SFILES): Add d-exp.y.
5118 (YYFILES): Add d-exp.c.
5119 (YYOBJ): Add d-exp.o.
5120 (local-maintainer-clean): Delete d-exp.c.
5121 * d-exp.y: New file.
5122 * d-lang.h (d_parse): New declaration.
5123 (d_error): New declaration.
5124 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
5125 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
5126 PREC_ORDER operators.
5127 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
5128
5129 2014-06-19 Yao Qi <yao@codesourcery.com>
5130
5131 * gdbthread.h (any_running): Remove the declaration.
5132 * thread.c (any_running): Remove.
5133
5134 2014-06-19 Yao Qi <yao@codesourcery.com>
5135
5136 * gdbthread.h (struct thread_info) <state>: Change its type to
5137 'enum thread_state'. Update comments.
5138
5139 2014-06-19 Pedro Alves <palves@redhat.com>
5140
5141 * gdbthread.h (ALL_THREADS): Delete.
5142 (ALL_NON_EXITED_THREADS): New macro.
5143 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
5144 instead of ALL_THREADS.
5145 * infrun.c (find_thread_needs_step_over)
5146 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
5147 instead of ALL_THREADS.
5148 * record-btrace.c (record_btrace_open)
5149 (record_btrace_stop_recording, record_btrace_close)
5150 (record_btrace_is_replaying, record_btrace_resume)
5151 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
5152 * remote.c (append_pending_thread_resumptions): Likewise.
5153 * thread.c (thread_apply_all_command): Likewise.
5154
5155 2014-06-19 Gary Benson <gbenson@redhat.com>
5156
5157 * i386-nat.c (i386_stopped_by_watchpoint):
5158 Use i386_dr_stopped_by_watchpoint.
5159 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
5160 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
5161
5162 2014-06-19 Gary Benson <gbenson@redhat.com>
5163
5164 * nat/i386-dregs.c: New file.
5165 * Makefile.in (i386-dregs.o): New rule.
5166 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
5167 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
5168 * config/i386/darwin.mh (NATDEPFILES): Likewise.
5169 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
5170 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
5171 * config/i386/go32.mh (NATDEPFILES): Likewise.
5172 * config/i386/linux.mh (NATDEPFILES): Likewise.
5173 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5174 * config/i386/mingw.mh (NATDEPFILES): Likewise.
5175 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
5176 * i386-nat.h (debug_hw_points): New declaration.
5177 * i386-nat.c (breakpoint.h): Remove include.
5178 (command.h): Likewise.
5179 (target.h): Likewise.
5180 (gdb_assert.h): Likewise.
5181 (debug_hw_points): Made nonstatic.
5182 (debug_printf): Now in i386-dregs.c.
5183 (TARGET_HAS_DR_LEN_8): Likewise.
5184 (DR_CONTROL_SHIFT): Likewise.
5185 (DR_CONTROL_SIZE): Likewise.
5186 (DR_RW_EXECUTE): Likewise.
5187 (DR_RW_WRITE): Likewise.
5188 (DR_RW_READ): Likewise.
5189 (DR_RW_IORW): Likewise.
5190 (DR_LEN_1): Likewise.
5191 (DR_LEN_2): Likewise.
5192 (DR_LEN_4): Likewise.
5193 (DR_LEN_8): Likewise.
5194 (DR_LOCAL_ENABLE_SHIFT): Likewise.
5195 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
5196 (DR_ENABLE_SIZE): Likewise.
5197 (DR_LOCAL_SLOWDOWN): Likewise.
5198 (DR_GLOBAL_SLOWDOWN): Likewise.
5199 (DR_CONTROL_RESERVED): Likewise.
5200 (I386_DR_CONTROL_MASK): Likewise.
5201 (I386_DR_VACANT): Likewise.
5202 (I386_DR_LOCAL_ENABLE): Likewise.
5203 (I386_DR_GLOBAL_ENABLE): Likewise.
5204 (I386_DR_DISABLE): Likewise.
5205 (I386_DR_SET_RW_LEN): Likewise.
5206 (I386_DR_GET_RW_LEN): Likewise.
5207 (I386_DR_WATCH_HIT): Likewise.
5208 (i386_wp_op_t): Likewise.
5209 (i386_show_dr): Likewise.
5210 (i386_length_and_rw_bits): Likewise.
5211 (i386_insert_aligned_watchpoint): Likewise.
5212 (i386_remove_aligned_watchpoint): Likewise.
5213 (i386_handle_nonaligned_watchpoint): Likewise.
5214 (i386_update_inferior_debug_regs): Likewise.
5215 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
5216 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
5217 (i386_region_ok_for_watchpoint):
5218 Use i386_dr_region_ok_for_watchpoint.
5219 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
5220
5221 2014-06-19 Gary Benson <gbenson@redhat.com>
5222
5223 * i386-nat.c (i386_insert_hw_breakpoint): Use
5224 i386_insert_watchpoint.
5225 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
5226
5227 2014-06-19 Gary Benson <gbenson@redhat.com>
5228
5229 * i386-nat.c (i386_dr_show): Renamed to
5230 i386_show_dr and made static. All uses updated.
5231 (i386_dr_length_and_rw_bits): Renamed to
5232 i386_length_and_rw_bits and made static.
5233 All uses updated.
5234 (i386_dr_insert_aligned_watchpoint): Renamed to
5235 i386_insert_aligned_watchpoint and made static.
5236 All uses updated.
5237 (i386_dr_remove_aligned_watchpoint): Renamed to
5238 i386_remove_aligned_watchpoint and made static.
5239 All uses updated.
5240 (i386_dr_update_inferior_debug_regs): Renamed to
5241 i386_update_inferior_debug_regs and made static.
5242 All uses updated.
5243 * nat/i386-dregs.h (i386_dr_show): Removed.
5244 (i386_dr_length_and_rw_bits): Likewise.
5245 (i386_dr_insert_aligned_watchpoint): Likewise.
5246 (i386_dr_remove_aligned_watchpoint): Likewise.
5247 (i386_dr_update_inferior_debug_regs): Likewise.
5248
5249 2014-06-19 Gary Benson <gbenson@redhat.com>
5250
5251 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
5252 * configure: Regenerate.
5253 * config.in: Likewise.
5254 * main.c (signal.h): New include.
5255 (setup_alternate_signal_stack): New function.
5256 (captured_main): Call the above.
5257 * cp-support.c (signal.h): New include.
5258 (catch_demangler_crashes): New flag.
5259 (SIGJMP_BUF): New define.
5260 (SIGSETJMP): Likewise.
5261 (SIGLONGJMP): Likewise.
5262 (gdb_demangle_jmp_buf): New static global.
5263 (gdb_demangle_attempt_core_dump): Likewise.
5264 (gdb_demangle_signal_handler): New function.
5265 (gdb_demangle): If catch_demangler_crashes is set, install the
5266 above signal handler before calling bfd_demangle, and restore
5267 the original signal handler afterwards. Display the offending
5268 symbol and call demangler_warning the first time a segmentation
5269 fault is caught.
5270 (_initialize_cp_support): New maint set/show command.
5271
5272 2014-06-19 Gary Benson <gbenson@redhat.com>
5273
5274 * utils.h (resource_limit_kind): New enum.
5275 (can_dump_core): New declaration.
5276 (warn_cant_dump_core): Likewise.
5277 (dump_core): Likewise.
5278 * utils.c (dump_core): Made nonstatic. Added new
5279 parameter "limit_kind".
5280 (can_dump_core): Made nonstatic. Moved printing code to...
5281 (warn_cant_dump_core): New function.
5282 (can_dump_core_warn): Likewise.
5283 (internal_vproblem): Replace calls to can_dump_core with
5284 calls to can_dump_core_warn. Supply new argument to each.
5285
5286 2014-06-19 Gary Benson <gbenson@redhat.com>
5287
5288 * utils.h (demangler_vwarning): New declaration.
5289 (demangler_warning): Likewise.
5290 * utils.c (struct internal_problem)
5291 <user_settable_should_quit>: New field.
5292 <user_settable_should_dump_core>: Likewise
5293 (internal_error_problem): Add values for above new fields.
5294 (internal_warning_problem): Likewise.
5295 (demangler_warning_problem): New static global.
5296 (demangler_vwarning): New function.
5297 (demangler_warning): Likewise.
5298 (add_internal_problem_command): Selectively add commands.
5299 (_initialize_utils): New internal problem command.
5300 * maint.c (maintenance_demangler_warning): New function.
5301 (_initialize_maint_cmds): New command.
5302
5303 2014-06-18 Tom Tromey <tromey@redhat.com>
5304
5305 * f-valprint.c (info_common_command_for_block): Update.
5306 * symtab.h (struct general_symbol_info) <common_block>: Now
5307 const.
5308
5309 2014-06-18 Tom Tromey <tromey@redhat.com>
5310
5311 * symtab.h (struct symtab) <blockvector>: Now const.
5312 * ada-lang.c (ada_add_global_exceptions): Update.
5313 * buildsym.c (augment_type_symtab): Update.
5314 * dwarf2read.c (dw2_lookup_symbol): Update.
5315 * jit.c (finalize_symtab): Update.
5316 * jv-lang.c (add_class_symtab_symbol): Update.
5317 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
5318 Update.
5319 * objfiles.c (objfile_relocate1): Update.
5320 * psymtab.c (lookup_symbol_aux_psymtabs)
5321 (maintenance_check_psymtabs): Update.
5322 * python/py-symtab.c (stpy_global_block, stpy_static_block):
5323 Update.
5324 * spu-tdep.c (spu_catch_start): Update.
5325 * symmisc.c (dump_symtab_1): Update.
5326 * symtab.c (lookup_global_symbol_from_objfile)
5327 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
5328 (basic_lookup_transparent_type_quick)
5329 (basic_lookup_transparent_type, find_pc_sect_symtab)
5330 (find_pc_sect_line, search_symbols): Update.
5331 * block.c (find_block_in_blockvector): Make "bl" const.
5332 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
5333 const.
5334 (blockvector_contains_pc): Make "bv" const.
5335 (block_for_pc_sect): Update.
5336 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5337 (blockvector_contains_pc): Update.
5338 * breakpoint.c (resolve_sal_pc): Update.
5339 * inline-frame.c (block_starting_point_at): Update.
5340
5341 2014-06-18 Tom Tromey <tromey@redhat.com>
5342
5343 * completer.c (complete_line): Make "line_buffer" const.
5344 * completer.h (complete_line): Update.
5345
5346 2014-06-18 Tom Tromey <tromey@redhat.com>
5347
5348 * symtab.c (add_macro_name): Remove unneeded cast.
5349
5350 2014-06-18 Tom Tromey <tromey@redhat.com>
5351
5352 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
5353 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
5354
5355 2014-06-18 Tom Tromey <tromey@redhat.com>
5356
5357 * probe.c (info_probes_for_ops): Make "arg" const.
5358 * probe.h (info_probes_for_ops): Update.
5359
5360 2014-06-18 Tom Tromey <tromey@redhat.com>
5361
5362 * varobj.c (varobj_create): Update.
5363 * valops.c (value_of_this): Update.
5364 * tracepoint.c (add_local_symbols, scope_info): Update.
5365 * symtab.h (struct general_symbol_info) <block>: Now const.
5366 * symtab.c (skip_prologue_sal)
5367 (default_make_symbol_completion_list_break_on)
5368 (skip_prologue_using_sal): Update.
5369 * stack.h (iterate_over_block_locals)
5370 (iterate_over_block_local_vars): Update.
5371 * stack.c (print_frame_args): Update.
5372 (iterate_over_block_locals, iterate_over_block_local_vars): Make
5373 parameter const.
5374 (get_selected_block): Make return type const.
5375 * python/py-frame.c (frapy_block): Update.
5376 * python/py-block.c (gdbpy_block_for_pc): Update.
5377 * p-exp.y (%union) <bval>: Now const.
5378 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
5379 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
5380 * m2-exp.y (%union) <bval>: Now const.
5381 * linespec.c (get_current_search_block): Make return type const.
5382 (create_sals_line_offset, find_label_symbols): Update.
5383 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
5384 Update.
5385 (block_starting_point_at): Make "block" const.
5386 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
5387 (check_exception_resume): Update.
5388 * guile/scm-frame.c (gdbscm_frame_block): Update.
5389 * guile/scm-block.c (gdbscm_lookup_block): Update.
5390 * frame.h (get_frame_block): Update.
5391 (get_selected_block): Make return type const.
5392 * frame.c (frame_id_inner): Update.
5393 * f-valprint.c (info_common_command_for_block)
5394 (info_common_command): Update.
5395 * dwarf2loc.c (dwarf2_find_location_expression)
5396 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
5397 (locexpr_describe_location_piece): Update.
5398 * c-exp.y (%union) <bval>: Now const.
5399 * breakpoint.c (resolve_sal_pc): Update.
5400 * blockframe.c (get_frame_block):Make return type const.
5401 (get_pc_function_start, get_frame_function, find_pc_sect_function)
5402 (block_innermost_frame): Update.
5403 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5404 (block_for_pc, block_for_pc_sect): Update.
5405 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
5406 'pblock' const.
5407 (block_for_pc_sect, block_for_pc): Make return type const.
5408 * ax-gdb.c (gen_expr): Update.
5409 * alpha-mdebug-tdep.c (find_proc_desc): Update.
5410 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
5411 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
5412 (ada_read_var_value): Update.
5413 * ada-exp.y (struct name_info) <block>: Now const.
5414 (%union): Likewise.
5415 (block_lookup): Constify.
5416
5417 2014-06-18 Gary Benson <gbenson@redhat.com>
5418
5419 * nat/i386-dregs.h: New file.
5420 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
5421 * i386-nat.h (i386-dregs.h): New include.
5422 (DR_FIRSTADDR): Now in i386-dregs.h.
5423 (DR_LASTADDR): Likewise.
5424 (DR_NADDR): Likewise.
5425 (DR_STATUS): Likewise.
5426 (DR_CONTROL): Likewise.
5427 (i386_debug_reg_state): Likewise.
5428 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
5429
5430 2014-06-18 Don Breazeal <donb@codesourcery.com>
5431
5432 * breakpoint.c (set_longjmp_breakpoint): Call
5433 momentary_breakpoint_from_master with additional argument.
5434 (set_longjmp_breakpoint_for_call_dummy): Call
5435 momentary_breakpoint_from_master with additional argument.
5436 (set_std_terminate_breakpoint): Call
5437 momentary_breakpoint_from_master with additional argument.
5438 (momentary_breakpoint_from_master): Add argument to function
5439 definition and use it to initialize structure member flag.
5440 (clone_momentary_breakpoint): Call
5441 momentary_breakpoint_from_master with additional argument.
5442 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
5443 member flags set in momentary_breakpoint_from_master.
5444
5445 2014-06-18 Gary Benson <gbenson@redhat.com>
5446
5447 * i386-nat.c (i386_show_dr): Renamed to
5448 i386_dr_show and made nonstatic. All uses updated.
5449 (i386_length_and_rw_bits): Renamed to
5450 i386_dr_length_and_rw_bits and made nonstatic.
5451 All uses updated.
5452 (i386_insert_aligned_watchpoint): Renamed to
5453 i386_dr_insert_aligned_watchpoint and made nonstatic.
5454 All uses updated.
5455 (i386_remove_aligned_watchpoint): Renamed to
5456 i386_dr_remove_aligned_watchpoint and made nonstatic.
5457 All uses updated.
5458 (i386_update_inferior_debug_regs): Renamed to
5459 i386_dr_update_inferior_debug_regs and made nonstatic.
5460 All uses updated.
5461
5462 2014-06-18 Gary Benson <gbenson@redhat.com>
5463
5464 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
5465 (i386_dr_low_can_set_control): Likewise.
5466 (i386_dr_low_set_addr): Likewise.
5467 (i386_dr_low_set_control): Likewise.
5468 (i386_dr_low_get_addr): Likewise.
5469 (i386_dr_low_get_status): Likewise.
5470 (i386_dr_low_get_control): Likewise.
5471 (i386_insert_aligned_watchpoint): Use new macros.
5472 (i386_update_inferior_debug_regs): Likewise.
5473 (i386_stopped_data_address): Likewise.
5474
5475 2014-06-18 Gary Benson <gbenson@redhat.com>
5476
5477 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
5478 New parameter. All uses updated.
5479
5480 2014-06-18 Gary Benson <gbenson@redhat.com>
5481
5482 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
5483 All uses updated.
5484
5485 2014-06-18 Gary Benson <gbenson@redhat.com>
5486
5487 * i386-nat.c (debug_printf): New macro.
5488 (i386_get_debug_register_length): Likewise.
5489 (TARGET_HAS_DR_LEN_8): Use above macro.
5490 (i386_show_dr): Use debug_printf instead of puts_unfiltered
5491 and printf_unfiltered. Use phex to format values.
5492
5493 2014-06-18 Gary Benson <gbenson@redhat.com>
5494
5495 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
5496 Make const.
5497
5498 2014-06-18 Gary Benson <gbenson@redhat.com>
5499
5500 * i386-nat.c: Comment changes.
5501
5502 2014-06-18 Gary Benson <gbenson@redhat.com>
5503
5504 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
5505
5506 2014-06-18 Gary Benson <gbenson@redhat.com>
5507
5508 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
5509 (i386_insert_aligned_watchpoint): Likewise.
5510 (i386_remove_aligned_watchpoint): Likewise.
5511 (i386_handle_nonaligned_watchpoint): Likewise.
5512
5513 2014-06-18 Gary Benson <gbenson@redhat.com>
5514
5515 * i386-nat.c: Whitespace changes.
5516
5517 2014-06-17 Samuel Bronson <naesten@gmail.com>
5518
5519 * MAINTAINERS: Update Roland McGrath's email address.
5520 Thanks to Sergio Durigan Junior for pointing out that he left
5521 Red Hat a while ago, and giving me a current address.
5522
5523 2014-06-17 Tom Tromey <tromey@redhat.com>
5524
5525 * utils.h (savestring): Remove declaration.
5526
5527 2014-06-17 Tom Tromey <tromey@redhat.com>
5528
5529 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
5530
5531 2014-06-16 Keith Seitz <keiths@redhat.com>
5532
5533 PR mi/15863
5534 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
5535 to update the varobj if inferior_ptid is null_ptid.
5536
5537 2014-06-16 Tom Tromey <tromey@redhat.com>
5538
5539 * target.h (struct target_ops) <to_info_proc>: Make parameter
5540 const.
5541 (target_info_proc): Update.
5542 * target.c (target_info_proc): Make "args" const.
5543 * procfs.c (procfs_info_proc): Update.
5544 * linux-tdep.c (linux_info_proc): Update.
5545 (linux_core_info_proc_mappings): Make "args" const.
5546 (linux_core_info_proc): Update.
5547 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
5548 * gdbarch.c: Rebuild.
5549 * gdbarch.h: Rebuild.
5550 * corelow.c (core_info_proc): Update.
5551
5552 2014-06-16 Tom Tromey <tromey@redhat.com>
5553
5554 * target.h (struct target_ops) <to_disconnect>: Make parameter
5555 const.
5556 (target_disconnect): Update.
5557 * target.c (target_disconnect): Make "args" const.
5558 * target-delegates.c: Rebuild.
5559 * remote.c (remote_disconnect): Update.
5560 * record.h (record_disconnect): Update.
5561 * record.c (record_disconnect): Update.
5562 * inf-child.c (inf_child_disconnect): Update.
5563
5564 2014-06-16 Tom Tromey <tromey@redhat.com>
5565
5566 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
5567 * target.c (debug_to_rcmd, default_rcmd): Update.
5568 * target-delegates.c: Rebuild.
5569 * remote.c (remote_rcmd): Update.
5570 * monitor.c (monitor_rcmd): Update.
5571
5572 2014-06-16 Pedro Alves <palves@redhat.com>
5573
5574 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
5575 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
5576 have OBJF_SHARED set.
5577 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
5578 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
5579 instead of OBJF_USERLOADED.
5580 * objfiles.h (OBJF_SHARED): Update comment.
5581 (userloaded_objfile_contains_address_p): Rename to ...
5582 (shared_objfile_contains_address_p): ... this, and update
5583 comments.
5584 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
5585 new objfile.
5586 (remove_symbol_file_command): Skip objfiles that don't have
5587 OBJF_SHARED set.
5588
5589 2014-06-16 Tom Tromey <tromey@redhat.com>
5590
5591 * minsyms.h (prim_record_minimal_symbol)
5592 (prim_record_minimal_symbol_and_info): Update comments.
5593
5594 2014-06-14 Eli Zaretskii <eliz@gnu.org>
5595
5596 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
5597 or --without-guile, according to how GDB was built.
5598
5599 2014-06-13 Tom Tromey <tromey@redhat.com>
5600
5601 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
5602 to help_list.
5603 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
5604 to help_list.
5605 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
5606 help_list.
5607 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
5608 help_list.Pass all_commands, not -1, to help_list.
5609 * cli/cli-dump.c (dump_command, append_command)
5610 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
5611 (binary_dump_command, binary_append_command): Pass all_commands,
5612 not -1, to help_list.
5613 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
5614 -1, to help_list.
5615 * valprint.c (set_print, set_print_raw): Pass all_commands, not
5616 -1, to help_list.
5617 * typeprint.c (set_print_type): Pass all_commands, not -1, to
5618 help_list.
5619 * top.c (set_history): Pass all_commands, not -1, to help_list.
5620 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
5621 all_commands, not -1, to help_list.
5622 * symfile.c (overlay_command): Pass all_commands, not -1, to
5623 help_list.
5624 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
5625 help_list.
5626 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
5627 help_list.
5628 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
5629 -1, to help_list.
5630 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
5631 not -1, to help_list.
5632 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
5633 not -1, to help_list.
5634 * maint.c (maintenance_command, maintenance_info_command)
5635 (maintenance_print_command, maintenance_set_cmd): Pass
5636 all_commands, not -1, to help_list.
5637 * macrocmd.c (macro_command): Pass all_commands, not -1, to
5638 help_list.
5639 * language.c (set_check): Pass all_commands, not -1, to help_list.
5640 * infcmd.c (unset_command): Pass all_commands, not -1, to
5641 help_list.
5642 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
5643 help_list.
5644 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
5645 help_list.
5646 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
5647 help_list.
5648 * breakpoint.c (save_command): Pass all_commands, not -1, to
5649 help_list.
5650 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
5651 all_commands, not -1, to help_list.
5652
5653 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
5654
5655 * regcache.c (struct register_to_invalidate): New structure.
5656 (do_register_invalidate, make_cleanup_regcache_invalidate): New
5657 functions.
5658 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
5659
5660 2014-06-12 Yao Qi <yao@codesourcery.com>
5661
5662 * varobj.c (varobj_get_num_children): Call
5663 varobj_is_dynamic_p.
5664 (varobj_list_children): Likewise.
5665 (varobj_update): Likewise. Update comments.
5666
5667 2014-06-12 Yao Qi <yao@codesourcery.com>
5668
5669 * varobj.c (varobj_pretty_printed_p): Rename to ...
5670 (varobj_is_dynamic_p): ... this. New function.
5671 * varobj.h (varobj_pretty_printed_p): Remove declaration.
5672 (varobj_is_dynamic_p): Declare.
5673 * mi/mi-cmd-var.c (print_varobj): All callers updated.
5674 (mi_print_value_p, varobj_update_one): Likewise.
5675
5676 2014-06-12 Pedro Alves <pedro@codesourcery.com>
5677 Yao Qi <yao@codesourcery.com>
5678
5679 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
5680 (varobj_get_iterator): Wrap up code for pretty-printer by
5681 "#if HAVE_PYTHON" and "#endif".
5682 (update_dynamic_varobj_children): Likewise.
5683
5684 2014-06-12 Pedro Alves <pedro@codesourcery.com>
5685 Yao Qi <yao@codesourcery.com>
5686
5687 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
5688 gdb_python_initialized is false. Move some code from varobj.c.
5689 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
5690 * varobj.c: Move "varobj-iter.h" inclusion earlier.
5691 (struct varobj_item): Moved to varobj-iter.h".
5692 (varobj_clear_saved_item): New function.
5693 (update_dynamic_varobj_children): Move python-related code to
5694 py-varobj.c.
5695 (free_variable): Call varobj_clear_saved_item and
5696 varobj_iter_delete.
5697
5698 2014-06-12 Pedro Alves <pedro@codesourcery.com>
5699 Yao Qi <yao@codesourcery.com>
5700
5701 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
5702 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
5703 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
5704 (py-varobj.o): New rule.
5705 * python/py-varobj.c: New file.
5706 * python/python-internal.h (py_varobj_get_iterator): Declare.
5707 * varobj-iter.h: New file.
5708 * varobj.c: Include "varobj-iter.h"
5709 (struct varobj) <child_iter>: Change its type from "PyObject *"
5710 to "struct varobj_iter *".
5711 <saved_item>: Likewise.
5712 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
5713 [HAVE_PYTHON] (varobj_get_iterator): New function.
5714 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
5715 python-specific code to python/py-varobj.c.
5716 (install_visualizer): Call varobj_iter_delete instead of
5717 Py_XDECREF.
5718 * varobj.h (varobj_ensure_python_env): Declare.
5719
5720 2014-06-12 Yao Qi <yao@codesourcery.com>
5721
5722 * varobj.c (struct varobj_item): New structure.
5723 (create_child_with_value): Update declaration.
5724 (varobj_add_child): Replace arguments 'name' and 'value' with
5725 'item'. All callers updated.
5726 (install_dynamic_child): Likewise.
5727 (update_dynamic_varobj_children): Likewise.
5728 (varobj_add_child): Likewise.
5729 (create_child_with_value): Likewise.
5730
5731 2014-06-11 Joel Brobecker <brobecker@adacore.com>
5732
5733 * NEWS: Create a new section for the next release branch.
5734 Rename the section of the current branch, now that it has
5735 been cut.
5736
5737 2014-06-11 Joel Brobecker <brobecker@adacore.com>
5738
5739 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
5740 * version.in: Bump version to 7.8.50.DATE-cvs.
5741
5742 2014-06-11 Pedro Alves <palves@redhat.com>
5743
5744 PR remote/17028
5745 * ser-mingw.c (net_windows_socket_check_pending): New function.
5746 (net_windows_select_thread): Ignore spurious wakeups. Use
5747 net_windows_socket_check_pending.
5748 (net_windows_wait_handle): Check for pending events with
5749 ioctlsocket, through net_windows_socket_check_pending, instead of
5750 checking the socket's event.
5751
5752 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
5753
5754 * python/python-internal.h (gdb_PyObject_GetAttrString)
5755 (gdb_PyObject_HasAttrString): New inline function definitions.
5756 * py-value.c (get_field_flag): Remove the now unnecessary cast to
5757 char * of the second argument to PyObject_GetAttrString.
5758
5759 2014-06-10 Joel Brobecker <brobecker@adacore.com>
5760
5761 * serial.c (serial_write): Fix index of character to be printed
5762 in call to serial_logchar when serial debug traces are enabled.
5763
5764 2014-06-10 Joel Brobecker <brobecker@adacore.com>
5765
5766 * gdbtypes (resolve_dynamic_range): Add function description.
5767
5768 2014-06-09 Pedro Alves <palves@redhat.com>
5769
5770 * linux-nat.c (linux_child_follow_fork): Initialize status with
5771 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
5772 inner block. Only pass the signal to PTRACE_DETACH if in pass
5773 state.
5774
5775 2014-06-09 Gary Benson <gbenson@redhat.com>
5776
5777 * common/signals.c (gdb_signal_from_host): Reorder to separate
5778 the always-available ANSI-standard signals from the signals that
5779 require checking.
5780 (do_gdb_signal_to_host): Likewise.
5781 * proc-events.c (signal_table): Likewise.
5782
5783 2014-06-08 Hui Zhu <hui@codesourcery.com>
5784
5785 * common/linux-ptrace.c (linux_disable_event_reporting): New
5786 function.
5787 * common/linux-ptrace.h (linux_disable_event_reporting): New
5788 declaration.
5789 * linux-nat.c (linux_child_follow_fork): Do a single step before
5790 detach.
5791
5792 2014-06-07 Keith Seitz <keiths@redhat.com>
5793
5794 Revert:
5795 PR c++/16253
5796 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5797 from symbol_matches_domain in symtab.c. All local callers
5798 of symbol_matches_domain updated.
5799 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5800 search STRUCT_DOMAIN.
5801 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5802 independently. standard_lookup will do that automatically.
5803 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5804 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5805 (cp_lookup_symbol_in_namespace): Likewise.
5806 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5807 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5808 may return a STRUCT_DOMAIN match.
5809 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5810 * cp-support.c: Include language.h.
5811 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5812 VAR_DOMAIN.
5813 * psymtab.c (match_partial_symbol): Compare the requested
5814 domain with the symbol's domain directly.
5815 (lookup_partial_symbol): Likewise.
5816 * symtab.c (lookup_symbol_in_language): Explain when/why
5817 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5818 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5819 appropriate languages.
5820 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5821 and moved to ada-lang.c
5822 (lookup_block_symbol): Explain that this function only returns
5823 symbol matching the requested DOMAIN.
5824 Compare the requested domain with the symbol's domain directly.
5825 (iterate_over_symbols): Compare the requested domain with the
5826 symbol's domain directly.
5827 * symtab.h (symbol_matches_domain): Remove.
5828
5829 2014-06-06 Doug Evans <xdje42@gmail.com>
5830
5831 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
5832 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
5833 (gdbscm_guile_version_is_at_least): Declare.
5834 (gdbscm_scm_string_to_int): Declare.
5835 * guile/guile.c (gdbscm_guile_major_version): New global.
5836 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
5837 (guile_datadir): New static global.
5838 (gdbscm_guile_data_directory): New function.
5839 (initialize_scheme_side): Update.
5840 (misc_guile_functions): Add guile-data-directory.
5841 (initialize_gdb_module): Fetch guile version number.
5842 * guile/lib/gdb.scm: Remove call to add-to-load-path.
5843 * guile/lib/gdb/init.scm (%initialize!): Ditto.
5844 * guile/lib/gdb/boot.scm: Use guile-data-directory.
5845 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
5846 comments.
5847 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
5848 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
5849 * guile/scm-value.c (gdbscm_value_to_string): Only call
5850 scm_port_conversion_strategy if Guile version >= 2.0.6.
5851
5852 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
5853
5854 * main.c (print_gdb_help): Add -q and --silent.
5855
5856 2014-06-06 Gary Benson <gbenson@redhat.com>
5857
5858 * common/signals.c: Remove preprocessor conditionals for
5859 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5860 SIGSEGV and SIGTERM.
5861 * proc-events.c: Likewise.
5862
5863 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
5864
5865 * symfile.c (symfile_free_objfile): Remove restriction to
5866 OBJF_USERLOADED.
5867 * symfile-mem.c (symbol_file_add_from_memory): Call
5868 add_target_sections_of_objfile.
5869
5870 2014-06-05 Ludovic Courtès <ludo@gnu.org>
5871
5872 * guile/scm-value.c (gdbscm_history_append_x): Use
5873 'vlscm_get_value_smob_arg_unsafe' instead of
5874 'vlscm_scm_to_value'.
5875
5876 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5877
5878 PR mi/15806
5879 * utils.c (printchar): Don't escape at all if quoter is NUL.
5880 Update function documentation to clarify effect of parameter
5881 QUOTER.
5882 * remote.c (escape_buffer): Pass '\\' as the quoter to
5883 fputstrn_unfiltered.
5884 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
5885 generate the output.
5886 (mi_solib_unloaded): Same.
5887
5888 2014-06-05 Joel Brobecker <brobecker@adacore.com>
5889
5890 * development.sh: Delete.
5891 * Makefile.in (config.status): Adjust dependency on development.sh.
5892 * configure.ac: Adjust development.sh source call.
5893 * configure: Regenerate.
5894
5895 2014-06-04 Doug Evans <xdje42@gmail.com>
5896
5897 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
5898 is_scheme_bkpt, spec.
5899 (bpscm_make_breakpoint_smob): Initialize new members.
5900 (gdbscm_create_breakpoint_x): Split into two ...
5901 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
5902 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
5903 (scheme_function breakpoint_functions): Update.
5904 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
5905 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
5906 register-breakpoint!.
5907
5908 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
5909
5910 PR server/17023
5911 * mem-break.c (z_type_supported): Return zero if
5912 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
5913
5914 2014-06-04 Tom Tromey <tromey@redhat.com>
5915
5916 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
5917 value_from_contents_and_address_unresolved.
5918 (ada_template_to_fixed_record_type_1): Likewise.
5919 (ada_which_variant_applies): Likewise.
5920 * value.h (value_from_contents_and_address_unresolved): Declare.
5921 * value.c (value_from_contents_and_address_unresolved): New
5922 function.
5923 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
5924 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
5925 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
5926
5927 2014-06-04 Tom Tromey <tromey@redhat.com>
5928
5929 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
5930
5931 2014-06-04 Tom Tromey <tromey@redhat.com>
5932
5933 * procfs.c (procfs_attach): Make "args" const.
5934 * windows-nat.c (windows_attach): Make "args" const.
5935 * nto-procfs.c (procfs_attach): Make "args" const.
5936 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
5937 * go32-nat.c (go32_attach): Make "args" const.
5938 * gnu-nat.c (gnu_attach): Make "args" const.
5939 * darwin-nat.c (darwin_attach): Make "args" const.
5940 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
5941 * linux-nat.c (linux_nat_attach): Make "args" const.
5942 * remote.c (extended_remote_attach_1, extended_remote_attach):
5943 Make "args" const.
5944 * target.h (struct target_ops) <to_attach>: Make "args" const.
5945 (find_default_attach): Likewise.
5946 * utils.c (parse_pid_to_attach): Make "args" const.
5947 * utils.h (parse_pid_to_attach): Update.
5948
5949 2014-06-04 Tom Tromey <tromey@redhat.com>
5950
5951 * target-delegates.c: Rebuild.
5952 * target.c (default_thread_address_space): New function.
5953 (target_thread_address_space): Simplify.
5954 * target.h (struct target_ops) <to_thread_address_space>: Add
5955 TARGET_DEFAULT_FUNC.
5956
5957 2014-06-04 Doug Evans <xdje42@gmail.com>
5958
5959 * guile/scm-type.c (type_smob): Remove duplicate typedef.
5960
5961 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
5962
5963 * record-btrace.c: Include event-loop.h and inf-loop.h.
5964 (record_btrace_resume_exec_dir)
5965 (record_btrace_async_inferior_event_handler)
5966 (record_btrace_handle_async_inferior_event): New.
5967 (record_btrace_open): Create async event handler.
5968 (record_btrace_close): Delete async event handler.
5969 (record_btrace_resume): Set record_btrace_resume_exec_dir,
5970 Mark async event handler.
5971 (record_btrace_execution_direction): New.
5972 (init_record_btrace_ops): Initialize to_execution_direction.
5973
5974 2014-06-03 Doug Evans <xdje42@gmail.com>
5975
5976 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
5977 (gdbscm_make_parameter): Ditto.
5978
5979 2014-06-03 Doug Evans <dje@google.com>
5980
5981 * exec.c (exec_close_1): Call clear_section_table instead of
5982 resize_section_table.
5983 (clear_section_table): New function.
5984 (resize_section_table): Make static. Rename arg num_added to
5985 adjustment.
5986 * exec.h (clear_section_table): Declare.
5987 (resize_section_table): Delete.
5988 * progspace.c (release_program_space): Call clear_section_table
5989 instead of resize_section_table.
5990
5991 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5992
5993 * NEWS (Python Scripting): Add entry about the new xmethods
5994 feature.
5995
5996 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5997
5998 * python/py-xmethods.c: New file.
5999 * python/py-objfile.c (objfile_object): New field 'xmethods'.
6000 (objfpy_dealloc): XDECREF on the new xmethods field.
6001 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
6002 field.
6003 (objfpy_get_xmethods): New function.
6004 (objfile_getset): New entry 'xmethods'.
6005 * python/py-progspace.c (pspace_object): New field 'xmethods'.
6006 (pspy_dealloc): XDECREF on the new xmethods field.
6007 (pspy_new, pspace_to_pspace_object): Initialize xmethods
6008 field.
6009 (pspy_get_xmethods): New function.
6010 (pspace_getset): New entry 'xmethods'.
6011 * python/python-internal.h: Add declarations for new functions.
6012 * python/python.c (_initialize_python): Invoke
6013 gdbpy_initialize_xmethods.
6014 * python/lib/gdb/__init__.py (xmethods): New
6015 attribute.
6016 * python/lib/gdb/xmethod.py: New file.
6017 * python/lib/gdb/command/xmethods.py: New file.
6018
6019 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6020
6021 * eval.c (evaluate_subexp_standard): Call the xmethod if the
6022 best match method returned by find_overload_match is an xmethod.
6023 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
6024 the best matching operator returned by find_overload_match is an
6025 xmethod.
6026 * valops.c: #include "extension.h".
6027 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
6028 Return void. The list of matching source methods is returned in
6029 "fn_list" and a vector of matching debug method workers is
6030 returned in "xm_worker_vec". Update all callers.
6031 (value_find_oload_method_list): Likewise.
6032 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
6033 non-NULL, then the index of the best matching method in this
6034 vector is returned. Update all callers.
6035 (find_overload_match): Include xmethods while performing overload
6036 resolution.
6037
6038 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6039
6040 * defs.h (enum lval_type): New enumerator "lval_xcallable".
6041 * extension-priv.h (struct extension_language_ops): Add the
6042 xmethod interface.
6043 * extension.c (new_xmethod_worker, clone_xmethod_worker,
6044 get_matching_xmethod_workers, get_xmethod_argtypes,
6045 invoke_xmethod, free_xmethod_worker,
6046 free_xmethod_worker_vec): New functions.
6047 * extension.h: #include "common/vec.h".
6048 New function declarations.
6049 (struct xmethod_worker): New struct.
6050 (VEC (xmethod_worker_ptr)): New vector type.
6051 (xmethod_worker_ptr): New typedef.
6052 (xmethod_worker_vec): Likewise.
6053 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
6054 builtin_type.
6055 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
6056 (struct builtin_type): New field "xmethod".
6057 * valarith.c (value_ptradd): Assert that the value argument is not
6058 lval_xcallable.
6059 * valops.c (value_must_coerce_to_target): Return 0 for
6060 lval_xcallable values.
6061 * value.c (struct value): New field XM_WORKER in the field
6062 LOCATION.
6063 (value_address, value_raw_address): Return 0 for lval_xcallable
6064 values.
6065 (set_value_address): Assert that the value is not an
6066 lval_xcallable.
6067 (value_free): Free the associated xmethod worker when freeing
6068 lval_xcallable values.
6069 (set_value_component_location): Assert that the WHOLE value is not
6070 lval_xcallable.
6071 (value_of_xmethod, call_xmethod): New functions.
6072 * value.h: Declare "struct xmethod_worker".
6073 Declare new functions value_of_xmethod, call_xmethod.
6074
6075 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6076 Pedro Alves <palves@redhat.com>
6077
6078 PR breakpoints/17000
6079 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
6080 New function, extracted from software_breakpoint_inserted_here_p.
6081 (software_breakpoint_inserted_here_p): Replace factored out code
6082 by call to find_non_raw_software_breakpoint_inserted_here.
6083 (bp_target_info_copy_insertion_state): New function.
6084 (bkpt_insert_location): Handle the case of a single-step
6085 breakpoint already inserted at the same address.
6086 (bkpt_remove_location): Handle the case of a single-step
6087 breakpoint still inserted at the same address.
6088 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
6089 breakpoint already inserted at the same address.
6090 (deprecated_remove_raw_breakpoint): Handle the case of a
6091 non-raw breakpoint still inserted at the same address.
6092 (find_single_step_breakpoint): New function, extracted from
6093 single_step_breakpoint_inserted_here_p.
6094 (find_single_step_breakpoint): New function,
6095 factored out from single_step_breakpoint_inserted_here_p.
6096 (single_step_breakpoint_inserted_here_p): Reimplement.
6097
6098 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6099
6100 Pushed by Joel Brobecker <brobecker@adacore.com>
6101 * source.c (show_substitute_path_command): Fix display of matching
6102 substitution rules.
6103
6104 2014-06-03 Gary Benson <gbenson@redhat.com>
6105
6106 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
6107
6108 2014-06-02 Doug Evans <xdje42@gmail.com>
6109
6110 Add parameter support for Guile.
6111 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
6112 (SUBDIR_GUILE_SRCS): Add scm-param.c.
6113 (scm-param.o): New rule.
6114 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
6115 (gdbscm_misc_error): Declare.
6116 (gdbscm_canonicalize_command_name): Declare.
6117 (gdbscm_scm_to_host_string): Declare.
6118 (gdbscm_scm_from_host_string): Declare.
6119 (gdbscm_initialize_parameters): Declare.
6120 * guile/guile.c (initialize_gdb_module): Call
6121 gdbscm_initialize_parameters.
6122 * guile/lib/gdb.scm: Export parameter symbols.
6123 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
6124 cmdscm_canonicalize_name and made public. All callers updated.
6125 * guile/scm-exception.c (gdbscm_misc_error): New function.
6126 * guile/scm-param.c: New file.
6127 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
6128 (gdbscm_scm_to_host_string): New function.
6129 (gdbscm_scm_from_host_string): New function.
6130 * scm-utils.c (gdbscm_gc_dup_argv): New function.
6131
6132 2014-06-02 Doug Evans <xdje42@gmail.com>
6133
6134 Add command support for Guile.
6135 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
6136 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
6137 (scm-cmd.o): New rule.
6138 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
6139 (gdbscm_user_error_p): Declare.
6140 (gdbscm_parse_command_name): Declare.
6141 (gdbscm_valid_command_class_p): Declare.
6142 (gdbscm_initialize_commands): Declare.
6143 * guile/guile.c (initialize_gdb_module): Call
6144 gdbscm_initialize_commands.
6145 * guile/lib/gdb.scm: Export command symbols.
6146 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
6147 (throw-user-error): New function.
6148 * guile/scm-cmd.c: New file.
6149 * guile/scm-exception.c (user_error_symbol): New static global.
6150 (gdbscm_user_error_p): New function.
6151 (gdbscm_initialize_exceptions): Set user_error_symbol.
6152 * scm-utils.c (gdbscm_gc_xstrdup): New function.
6153
6154 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
6155
6156 * top.c (command_loop): Handle comments here...
6157 (command_line_input): ... not here.
6158
6159 2014-06-02 Doug Evans <xdje42@gmail.com>
6160
6161 Add progspace support for Guile.
6162 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
6163 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
6164 (scm-progspace.o): New rule.
6165 * guile/guile-internal.h (pspace_smob): New typedef.
6166 (psscm_pspace_smob_pretty_printers): Declare.
6167 (psscm_pspace_smob_from_pspace): Declare.
6168 (psscm_scm_from_pspace): Declare.
6169 * guile/guile.c (initialize_gdb_module): Call
6170 gdbscm_initialize_pspaces.
6171 * guile/lib/gdb.scm: Export progspace symbols.
6172 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
6173 support.
6174 (append-pretty-printer!): Ditto.
6175 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
6176 Implement.
6177 * guile/scm-progspace.c: New file.
6178
6179 2014-06-03 Alan Modra <amodra@gmail.com>
6180
6181 * ppc64-tdep.c (ppc64_standard_linkage8): New.
6182 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
6183
6184 2014-06-02 Doug Evans <dje@google.com>
6185
6186 Add support for skeletonless type units.
6187 * dwarf2read.c (struct dwarf2_per_objfile): New member
6188 n_allocated_type_units.
6189 (struct dwarf2_per_objfile) <tu_stats>: New member
6190 nr_all_type_units_reallocs.
6191 (create_signatured_type_table_from_index): Initialize
6192 n_allocated_type_units
6193 (create_all_type_units): Ditto.
6194 (add_type_unit): Move up in file. New arg slot.
6195 All callers updated. Increase space for all_type_units more
6196 efficiently.
6197 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
6198 (lookup_dwo_signatured_type): Handle skeletonless TUs.
6199 (lookup_dwp_signatured_type): Ditto.
6200 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
6201 All callers updated.
6202 (build_type_psymtabs_1): Leave type_unit_groups as
6203 NULL if no TUs present.
6204 (print_tu_stats): New function.
6205 (process_skeletonless_type_unit): New function.
6206 (process_dwo_file_for_skeletonless_type_units): New
6207 function.
6208 (process_skeletonless_type_units): New function.
6209 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
6210 Call print tu_stats if debugging enabled.
6211
6212 2014-06-02 Pedro Alves <palves@redhat.com>
6213
6214 * breakpoint.c (build_target_command_list): Don't build a command
6215 list if we have any duplicate location that isn't a dprintf.
6216
6217 2014-06-02 Pedro Alves <palves@redhat.com>
6218
6219 * breakpoint.c (dprintf_breakpoint_hit): New function.
6220 (initialize_breakpoint_ops): Install it as dprintf's
6221 breakpoint_hit method.
6222
6223 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6224
6225 * source.c (substitute_path_rule_matches): Simplify using
6226 filename_ncmp instead of FILENAME_CMP.
6227
6228 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6229
6230 * source.c (substitute_path_rule_matches): Remove trailing spaces.
6231
6232 2014-06-01 Ludovic Courtès <ludo@gnu.org>
6233
6234 * configure.ac: When Guile is available, check for the
6235 availability of 'scm_new_smob'.
6236 * configure, config.h.in: Regenerate.
6237 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
6238 function.
6239
6240 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6241
6242 * frame.c (struct frame_info): Add stop_string field.
6243 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
6244 (get_prev_frame_always): Old content moved into
6245 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
6246 TRY_CATCH, handle MEMORY_ERROR exceptions.
6247 (frame_stop_reason_string): New function definition.
6248 * frame.h (unwind_stop_reason_to_string): Extend comment to
6249 mention frame_stop_reason_string.
6250 (frame_stop_reason_string): New function declaration.
6251 * stack.c (frame_info): Switch to frame_stop_reason_string.
6252 (backtrace_command_1): Switch to frame_stop_reason_string.
6253 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
6254 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
6255 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
6256
6257 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6258
6259 * frame.c (frame_stop_reason_string): Rename to ...
6260 (unwind_stop_reason_to_string): this.
6261 * frame.h (frame_stop_reason_string): Rename to ...
6262 (unwind_stop_reason_to_string): this.
6263 * stack.c (frame_info): Update call to frame_stop_reason_string.
6264 (backtrace_command_1): Likewise.
6265 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
6266 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
6267
6268 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6269
6270 * frame.c (remove_prev_frame): New function.
6271 (get_prev_frame_if_no_cycle): Create / discard cleanup using
6272 remove_prev_frame.
6273
6274 2014-05-29 Pedro Alves <palves@redhat.com>
6275
6276 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
6277 and make it const. When a single-step decays to a continue,
6278 clear 'step', not 'hw_step'. Pass whether the caller wanted
6279 to step to user_visible_resume_ptid, not what we ask the
6280 target to do.
6281
6282 2014-05-29 Pedro Alves <palves@redhat.com>
6283
6284 * infrun.c (process_event_stop_test, handle_step_into_function)
6285 (handle_step_into_function_backward): Adjust.
6286 Don't set the even thread's stop_step and call stop_waiting before
6287 calling end_stepping_range. Instead do that ...
6288 (end_stepping_range): ... here. Take an ecs pointer parameter.
6289
6290 2014-05-29 Pedro Alves <palves@redhat.com>
6291
6292 * infrun.c (stop_stepping): Rename to ...
6293 (stop_waiting): ... this.
6294 (proceed): Update comment.
6295 (process_event_stop_test, handle_inferior_event)
6296 (handle_signal_stop, handle_step_into_function)
6297 (handle_step_into_function_backward): Update.
6298
6299 2014-05-29 Pedro Alves <palves@redhat.com>
6300
6301 * infcall.c (run_inferior_call): Don't check whether the current
6302 thread is running after the proceed call.
6303
6304 2014-05-29 Pedro Alves <palves@redhat.com>
6305 Tom Tromey <tromey@redhat.com>
6306
6307 * NEWS: Mention "maint set target-async", "set mi-async", and that
6308 background execution commands are now always available.
6309 * target.h (target_async_permitted): Update comment.
6310 * target.c (target_async_permitted, target_async_permitted_1):
6311 Default to 1.
6312 (set_target_async_command): Rename to ...
6313 (maint_set_target_async_command): ... this.
6314 (show_target_async_command): Rename to ...
6315 (maint_show_target_async_command): ... this.
6316 (_initialize_target): Adjust.
6317 * infcmd.c (prepare_execution_command): Make extern.
6318 * inferior.h (prepare_execution_command): Declare.
6319 * infrun.c (set_observer_mode): Leave target async alone.
6320 * mi/mi-interp.c (mi_interpreter_init): Install
6321 mi_on_sync_execution_done as sync_execution_done observer.
6322 (mi_on_sync_execution_done): New function.
6323 (mi_execute_command_input_handler): Don't print the prompt if we
6324 just started a synchronous command with an async target.
6325 (mi_on_resume): Check sync_execution before printing prompt.
6326 * mi/mi-main.h (mi_async_p): Declare.
6327 * mi/mi-main.c: Include gdbcmd.h.
6328 (mi_async_p): New function.
6329 (mi_async, mi_async_1): New globals.
6330 (set_mi_async_command, show_mi_async_command, mi_async): New
6331 functions.
6332 (exec_continue): Call prepare_execution_command.
6333 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
6334 (mi_execute_async_cli_command): Use mi_async_p.
6335 (_initialize_mi_main): Install "set mi-async". Make
6336 "target-async" a deprecated alias.
6337
6338 2014-05-29 Pedro Alves <palves@redhat.com>
6339
6340 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
6341 (_initialize_cli_interp): Adjust.
6342 * event-loop.c: Include "observer.h".
6343 (start_event_loop): Notify 'command_error' observers instead of
6344 calling display_gdb_prompt. Remove FIXME comment.
6345 * event-top.c (display_gdb_prompt): Remove call into the
6346 interpreters.
6347 * inf-loop.c: Include "observer.h".
6348 (inferior_event_handler): Notify 'command_error' observers instead
6349 of calling display_gdb_prompt.
6350 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
6351 observers instead of calling display_gdb_prompt.
6352 * interps.c (interp_set): Don't call display_gdb_prompt.
6353 (current_interp_display_prompt_p): Delete.
6354 * interps.h (interp_prompt_p): Delete declaration.
6355 (interp_prompt_p_ftype): Delete.
6356 (struct interp_procs) <prompt_proc_p>: Delete field.
6357 (current_interp_display_prompt_p): Delete declaration.
6358 * mi-interp.c (mi_interpreter_prompt_p): Delete.
6359 (_initialize_mi_interp): Adjust.
6360 * tui-interp.c (tui_init): Install 'sync_execution_done' and
6361 'command_error' observers.
6362 (tui_on_sync_execution_done, tui_on_command_error): New
6363 functions.
6364 (tui_display_prompt_p): Delete.
6365 (_initialize_tui_interp): Adjust.
6366
6367 2014-05-29 Pedro Alves <palves@redhat.com>
6368
6369 PR gdb/13860
6370 * cli/cli-interp.c: Include infrun.h and observer.h.
6371 (cli_uiout, cli_interp): New globals.
6372 (cli_on_signal_received, cli_on_end_stepping_range)
6373 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
6374 functions.
6375 (cli_interpreter_init): Install them as 'end_stepping_range',
6376 'signal_received' 'signal_exited', 'exited' and 'no_history'
6377 observers.
6378 (_initialize_cli_interp): Remove cli_interp local.
6379 * infrun.c (handle_inferior_event): Call the several stop reason
6380 observers instead of printing the stop reason directly.
6381 (end_stepping_range): New function.
6382 (print_end_stepping_range_reason, print_signal_exited_reason)
6383 (print_exited_reason, print_signal_received_reason)
6384 (print_no_history_reason): Make static, and add an uiout
6385 parameter. Print to that instead of to CURRENT_UIOUT.
6386 * infrun.h (print_end_stepping_range_reason)
6387 (print_signal_exited_reason, print_exited_reason)
6388 (print_signal_received_reason print_no_history_reason): New
6389 declarations.
6390 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
6391 'mi_uiout'.
6392 <cli_uiout>: New field.
6393 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
6394 uiout for CLI output. Install 'signal_received',
6395 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
6396 observers.
6397 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
6398 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
6399 (mi_on_no_history): New functions.
6400 (ui_out_free_cleanup): Delete function.
6401 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
6402 instead use the one already stored in the MI interpreter data.
6403 (mi_ui_out): Adjust.
6404 * tui/tui-interp.c: Include infrun.h and observer.h.
6405 (tui_interp): New global.
6406 (tui_on_signal_received, tui_on_end_stepping_range)
6407 (tui_on_signal_exited, tui_on_exited)
6408 (tui_on_no_history): New functions.
6409 (tui_init): Install them as 'end_stepping_range',
6410 'signal_received' 'signal_exited', 'exited' and 'no_history'
6411 observers.
6412 (_initialize_tui_interp): Delete tui_interp local.
6413
6414 2014-05-29 Pedro Alves <palves@redhat.com>
6415
6416 PR gdb/15713
6417 * linux-nat.c (linux_nat_resume_callback): Rename the second
6418 parameter to 'except'. Skip LP if it points to EXCEPT.
6419 (linux_nat_resume): Don't mark the event lwp as not stopped
6420 before resuming sibling lwps. Instead ask
6421 linux_nat_resume_callback to skip the event lwp. Mark it as not
6422 stopped after actually resuming it.
6423 (linux_handle_syscall_trap): Mark the lwp as not stopped after
6424 resuming it.
6425 (wait_lwp): Mark the lwp as stopped here.
6426 (stop_wait_callback): Mark the lwp as not stopped right after
6427 resuming it. Don't mark lwps as stopped here.
6428 (linux_nat_filter_event): Mark the lwp as stopped earlier.
6429 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
6430
6431 2014-05-29 Pedro Alves <palves@redhat.com>
6432
6433 PR PR15693
6434 * infrun.c (resume): Determine how much to resume depending on
6435 whether the caller wanted a step, not whether we can hardware step
6436 the target. Mark all threads that we intend to run as running,
6437 unless we're calling an inferior function.
6438 (normal_stop): If the thread is running an infcall, don't finish
6439 thread state.
6440 * target.c (target_resume): Don't mark threads as running here.
6441
6442 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6443
6444 * serial.c (_initialize_serial): Remove support for
6445 the "set remotebaud" and "show remotebaud" commands.
6446 * NEWS: Add entry documenting the removal of that command.
6447
6448 2014-05-28 Yao Qi <yao@codesourcery.com>
6449
6450 * charset.c: Fix typo in comments.
6451
6452 2014-05-27 Gary Benson <gbenson@redhat.com>
6453
6454 * utils.c (internal_vproblem): Prompt for a bug report.
6455
6456 2014-05-26 Andy Wingo <wingo@igalia.com>
6457
6458 * guile/scm-arch.c (arscm_mark_arch_smob):
6459 * guile/scm-block.c (bkscm_mark_block_smob)
6460 (bkscm_mark_block_syms_progress_smob):
6461 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
6462 * guile/scm-exception.c (exscm_mark_exception_smob):
6463 * guile/scm-frame.c (frscm_mark_frame_smob):
6464 * guile/scm-iterator.c (itscm_mark_iterator_smob):
6465 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
6466 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
6467 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
6468 (ppscm_mark_pretty_printer_worker_smob):
6469 * guile/scm-symbol.c (syscm_mark_symbol_smob):
6470 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
6471 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
6472 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
6473 mark functions.
6474 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
6475 function.
6476
6477 2014-05-26 Andy Wingo <wingo@igalia.com>
6478 Doug Evans <xdje42@gmail.com>
6479
6480 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
6481 empty_base_class. All uses updated.
6482 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
6483 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
6484 Adapt all callers.
6485 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
6486 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
6487 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
6488 (gdbscm_gsmob_has_property_p, add_property_name)
6489 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
6490 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
6491 (gdb-object-has-property?, gdb-object-properties): Remove.
6492 (gdb-object-kind): Renamed from gsmob-kind.
6493
6494 2014-05-26 Andy Wingo <wingo@igalia.com>
6495
6496 * configure.ac (try_guile_versions): Allow building with guile 2.2.
6497 * configure: Regenerate.
6498
6499 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6500
6501 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
6502
6503 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6504
6505 * record-btrace.c (record_btrace_allow_memory_access): Remove.
6506 (replay_memory_access_read_only, replay_memory_access_read_write)
6507 (replay_memory_access_types, replay_memory_access)
6508 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
6509 (cmd_set_record_btrace, cmd_show_record_btrace)
6510 (cmd_show_replay_memory_access): New.
6511 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
6512 (record_btrace_remove_breakpoint): Replace
6513 record_btrace_allow_memory_access with replay_memory_access.
6514 (_initialize_record_btrace): Add commands.
6515 * NEWS: Announce it.
6516
6517 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6518
6519 * aarch64-linux-nat.c (asm/ptrace.h): Include.
6520
6521 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6522
6523 * MAINTAINERS (Write After Approval): Move self back from
6524 paper trail.
6525
6526 2014-05-22 Pedro Alves <palves@redhat.com>
6527
6528 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
6529 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
6530 (disable_randomization, enum exec_direction_kind)
6531 (execution_direction, stop_registers, start_remote)
6532 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
6533 (wait_for_inferior, normal_stop, get_last_target_status)
6534 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
6535 (insert_step_resume_breakpoint_at_sal)
6536 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
6537 (set_step_info, print_stop_event, signal_stop_state)
6538 (signal_print_state, signal_pass_state, signal_stop_update)
6539 (signal_print_update, signal_pass_update)
6540 (update_signals_program_target, clear_exit_convenience_vars)
6541 (displaced_step_dump_bytes, update_observer_mode)
6542 (signal_catch_update, gdb_signal_from_command): Move
6543 declarations ...
6544 * infrun.h: ... to this new file.
6545 * amd64-tdep.c: Include infrun.h.
6546 * annotate.c: Include infrun.h.
6547 * arch-utils.c: Include infrun.h.
6548 * arm-linux-tdep.c: Include infrun.h.
6549 * arm-tdep.c: Include infrun.h.
6550 * break-catch-sig.c: Include infrun.h.
6551 * breakpoint.c: Include infrun.h.
6552 * common/agent.c: Include infrun.h instead of inferior.h.
6553 * corelow.c: Include infrun.h.
6554 * event-top.c: Include infrun.h.
6555 * go32-nat.c: Include infrun.h.
6556 * i386-tdep.c: Include infrun.h.
6557 * inf-loop.c: Include infrun.h.
6558 * infcall.c: Include infrun.h.
6559 * infcmd.c: Include infrun.h.
6560 * infrun.c: Include infrun.h.
6561 * linux-fork.c: Include infrun.h.
6562 * linux-nat.c: Include infrun.h.
6563 * linux-thread-db.c: Include infrun.h.
6564 * monitor.c: Include infrun.h.
6565 * nto-tdep.c: Include infrun.h.
6566 * procfs.c: Include infrun.h.
6567 * record-btrace.c: Include infrun.h.
6568 * record-full.c: Include infrun.h.
6569 * remote-m32r-sdi.c: Include infrun.h.
6570 * remote-mips.c: Include infrun.h.
6571 * remote-notif.c: Include infrun.h.
6572 * remote-sim.c: Include infrun.h.
6573 * remote.c: Include infrun.h.
6574 * reverse.c: Include infrun.h.
6575 * rs6000-tdep.c: Include infrun.h.
6576 * s390-linux-tdep.c: Include infrun.h.
6577 * solib-irix.c: Include infrun.h.
6578 * solib-osf.c: Include infrun.h.
6579 * solib-svr4.c: Include infrun.h.
6580 * target.c: Include infrun.h.
6581 * top.c: Include infrun.h.
6582 * windows-nat.c: Include infrun.h.
6583 * mi/mi-interp.c: Include infrun.h.
6584 * mi/mi-main.c: Include infrun.h.
6585 * python/py-threadevent.c: Include infrun.h.
6586
6587 2014-05-22 Pedro Alves <palves@redhat.com>
6588
6589 * infrun.c (handle_inferior_event): Store the exit code for
6590 --return-child-result here, instead of ...
6591 (print_exited_reason): ... here.
6592
6593 2014-05-21 Pedro Alves <palves@redhat.com>
6594
6595 PR gdb/13860
6596 * gdbthread.h (struct thread_control_state): New field
6597 `command_interp'.
6598 * infrun.c (follow_fork): Copy the new thread control field to the
6599 child fork thread.
6600 (clear_proceed_status_thread): Clear the new thread control field.
6601 (proceed): Set the new thread control field.
6602 * interps.h (command_interp): Declare.
6603 * interps.c (command_interpreter): New global.
6604 (command_interp): New function.
6605 (interp_exec): Set `command_interpreter' while here.
6606 * cli-out.c (cli_uiout_dtor): New function.
6607 (cli_ui_out_impl): Install it.
6608 * mi/mi-interp.c: Include cli-out.h.
6609 (mi_cmd_interpreter_exec): Add comment.
6610 (restore_current_uiout_cleanup): New function.
6611 (ui_out_free_cleanup): New function.
6612 (mi_on_normal_stop): If finishing an execution command started by
6613 a CLI command, or any kind of breakpoint-like event triggered,
6614 print the stop event to the output (CLI) stream.
6615 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
6616
6617 2014-05-21 Pedro Alves <palves@redhat.com>
6618
6619 * cli/cli-cmds.c (list_command): Handle the first "list" after the
6620 current source line having changed.
6621 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
6622 * infrun.c (normal_stop): Adjust call to
6623 set_current_sal_from_frame.
6624 * source.c (clear_lines_listed_range): New function.
6625 (set_current_source_symtab_and_line, identify_source_line): Clear
6626 the lines listed range.
6627 (line_info): Handle the first "info line" after the current source
6628 line having changed.
6629 * stack.c (print_stack_frame): Remove center handling.
6630 (set_current_sal_from_frame): Remove 'center' parameter. Don't
6631 center sal.line.
6632
6633 2014-05-21 Pedro Alves <palves@redhat.com>
6634
6635 * inf-child.c (inf_child_mourn_inferior): New function.
6636 * inf-child.h (inf_child_mourn_inferior): New declaration.
6637 * darwin-nat.c (darwin_mourn_inferior): Use
6638 inf_child_mourn_inferior.
6639 * gnu-nat.c (gnu_mourn_inferior): Likewise.
6640 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
6641 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
6642 * nto-procfs.c (procfs_mourn_inferior): Likewise.
6643 * windows-nat.c (windows_mourn_inferior): Likewise.
6644
6645 2014-05-21 Doug Evans <xdje42@gmail.com>
6646
6647 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
6648
6649 2014-05-21 Doug Evans <xdje42@gmail.com>
6650
6651 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
6652 (gdbscm_out_of_range_error): Ditto.
6653 (gdbscm_memory_error): Ditto.
6654 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
6655 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
6656 (gdbscm_out_of_range_error): Update.
6657 (gdbscm_memory_error): Update.
6658 (gdbscm_scm_to_target_string_unsafe): Delete.
6659
6660 2014-05-21 Pedro Alves <palves@redhat.com>
6661
6662 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
6663 globals.
6664 (inf_child_open_target): New function.
6665 (inf_child_open): Use inf_child_open_target to push the target
6666 instead of erroring out.
6667 (inf_child_disconnect, inf_child_close)
6668 (inf_child_maybe_unpush_target): New functions.
6669 (inf_child_target): Install inf_child_disconnect and
6670 inf_child_close. Store a pointer to the returned object.
6671 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
6672 declarations.
6673 * target.c (auto_connect_native_target): New global.
6674 (show_default_run_target): New function.
6675 (find_default_run_target): Return NULL if automatically connecting
6676 to the native target is disabled.
6677 (_initialize_target): Install set/show auto-connect-native-target.
6678 * NEWS: Mention "set auto-connect-native-target", and "target
6679 native".
6680 * linux-nat.c (super_close): New global.
6681 (linux_nat_close): Call super_close.
6682 (linux_nat_add_target): Store a pointer to the base class's
6683 to_close method.
6684 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
6685 inf_child_maybe_unpush.
6686 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
6687 already pushed.
6688 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
6689 the inferior. Use inf_child_maybe_unpush_target.
6690 (inf_ttrace_attach): Don't push the target if it is already
6691 pushed.
6692 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
6693 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
6694 after mourning the inferior. Use inf_child_maybe_unpush_target.
6695 (darwin_attach_pid): Don't push the target if it is already
6696 pushed.
6697 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
6698 mourning the inferior. Use inf_child_maybe_unpush_target.
6699 (gnu_detach): Use inf_child_maybe_unpush_target.
6700 * go32-nat.c (go32_create_inferior): Don't push the target if it
6701 is already pushed.
6702 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
6703 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
6704 (procfs_open): Rename to ...
6705 (procfs_open_1): ... this. Add target_ops parameter. Adjust
6706 comments. Can target_preopen before changing node. Call
6707 inf_child_open_target to push the target explicitly.
6708 (procfs_attach): Don't push the target if it is already pushed.
6709 (procfs_detach): Use inf_child_maybe_unpush_target.
6710 (procfs_create_inferior): Don't push the target if it is already
6711 pushed.
6712 (nto_native_ops): New global.
6713 (procfs_open): Reimplement.
6714 (procfs_native_open): New function.
6715 (init_procfs_targets): Install procfs_native_open as to_open of
6716 "target native". Store a pointer to the "native" target in
6717 nto_native_ops.
6718 * procfs.c (procfs_attach): Don't push the target if it is already
6719 pushed.
6720 (procfs_detach): Use inf_child_maybe_unpush_target.
6721 (procfs_mourn_inferior): Only unpush the target after mourning the
6722 inferior. Use inf_child_maybe_unpush_target.
6723 (procfs_init_inferior): Don't push the target if it is already
6724 pushed.
6725 * windows-nat.c (do_initial_windows_stuff): Don't push the target
6726 if it is already pushed.
6727
6728 2014-05-21 Pedro Alves <palves@redhat.com>
6729
6730 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
6731 and "procfs" targets are now called "native" instead.
6732
6733 2014-05-21 Pedro Alves <palves@redhat.com>
6734
6735 * go32-nat.c (go32_open): Delete.
6736 (go32_target): Don't override the to_open method.
6737
6738 2014-05-21 Pedro Alves <palves@redhat.com>
6739
6740 * nto-procfs.c (procfs_can_run): New function.
6741 (nto_procfs_ops): New global.
6742 (init_procfs_targets): New, based on procfs_target. Install
6743 "target native" in addition to "target procfs".
6744 (_initialize_procfs): Call init_procfs_targets instead of adding
6745 the target here.
6746
6747 2014-05-21 Pedro Alves <palves@redhat.com>
6748
6749 * windows-nat.c (windows_target): Don't override to_shortname,
6750 to_longname or to_doc.
6751
6752 2014-05-21 Pedro Alves <palves@redhat.com>
6753
6754 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
6755 to_doc.
6756
6757 2014-05-21 Pedro Alves <palves@redhat.com>
6758
6759 * darwin-nat.c (_initialize_darwin_inferior): Don't override
6760 to_shortname, to_longname or to_doc.
6761
6762 2014-05-21 Pedro Alves <palves@redhat.com>
6763
6764 * go32-nat.c (go32_target): Don't override to_shortname,
6765 to_longname or to_doc.
6766
6767 2014-05-21 Pedro Alves <palves@redhat.com>
6768
6769 * inf-child.c (inf_child_open): Remove mention of "child".
6770 (inf_child_target): Rename target to "native" instead of "child".
6771
6772 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6773
6774 * Makefile.in (SFILES): Delete "regset.c".
6775 (COMMON_OBS): Delete "regset.o".
6776 * regset.c: Remove.
6777 * regset.h (regset_alloc): Delete prototype.
6778
6779 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6780
6781 * sparc-linux-tdep.c (sparc32_linux_gregset)
6782 (sparc32_linux_fpregset): New static regset structures.
6783 (sparc32_linux_init_abi): Drop dynamic regset allocations.
6784 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
6785 'fpregset' fields.
6786 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
6787 (sparc64_linux_fpregset): New static regset structures.
6788 (sparc64_linux_init_abi): Drop dynamic regset allocations.
6789 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
6790 New static regset structures.
6791 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
6792 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
6793 New static regset structures.
6794 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
6795 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
6796 New static regset structures.
6797 (sparc64obsd_init_abi): Drop dynamic regset allocations.
6798 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
6799 New static regset structures.
6800 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
6801
6802 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6803
6804 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
6805 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
6806 register maps ("regmaps") from "*regset" to "*regmap". Do this
6807 for all regmap types and variables.
6808 * sparc-linux-tdep.c (sparc32_linux_step_trap)
6809 (sparc32_linux_supply_core_gregset)
6810 (sparc32_linux_collect_core_gregset)
6811 (sparc32_linux_supply_core_fpregset)
6812 (sparc32_linux_collect_core_fpregset): Likewise.
6813 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
6814 (sparc_gregmap, sparc_fpregmap): ... these.
6815 (sparc_supply_gregset, sparc_collect_gregset)
6816 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6817 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
6818 (_initialize_sparc_nat): Rename regmaps.
6819 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
6820 (sparc_gregmap, sparc_fpregmap): ... these.
6821 (sparc_supply_gregset, sparc_collect_gregset)
6822 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6823 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
6824 Rename macros to...
6825 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
6826 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
6827 Likewise.
6828 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
6829 Rename to...
6830 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
6831 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
6832 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
6833 regmaps.
6834 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6835 (sparc32_bsd_fpregset): Rename to...
6836 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6837 (sparc32_bsd_fpregmap): ... these.
6838 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
6839 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6840 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
6841 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
6842 (struct sparc_gregmap, struct sparc_fpregmap)
6843 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6844 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
6845 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
6846 (sparc32_supply_regset, sparc32_collect_gregset)
6847 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
6848 prototypes.
6849 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
6850 (sparc64_linux_ptrace_gregmap): ... this.
6851 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
6852 (_initialize_sparc64_linux_nat): Rename regmaps.
6853 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
6854 (sparc64_linux_core_gregmap): ... this.
6855 (sparc64_linux_supply_core_gregset)
6856 (sparc64_linux_collect_core_gregset)
6857 (sparc64_linux_supply_core_fpregset)
6858 (sparc64_linux_collect_core_fpregset): Rename regmaps.
6859 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
6860 (sparc64_sol2_fpregset): Rename to...
6861 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
6862 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
6863 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
6864 regmaps.
6865 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
6866 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
6867 (sparc64_bsd_fpregset): Rename to...
6868 (struct sparc_gregmap, sparc64_sol2_gregmap)
6869 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
6870 (sparc64_bsd_fpregmap): ... these.
6871 (sparc64_supply_gregset, sparc64_collect_gregset)
6872 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
6873 prototypes.
6874 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
6875 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
6876 (sparc64fbsd_gregmap): ... this.
6877 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
6878 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
6879 Rename regmaps.
6880 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
6881 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
6882 (sparc64nbsd_collect_fpregset): Likewise.
6883 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
6884 (sparc64nbsd_gregmap): ... this.
6885 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
6886 regmaps.
6887 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
6888 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
6889 (sparc64obsd_gregmap): ... this.
6890 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
6891 regmaps.
6892 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
6893 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
6894 (sparc32nbsd_gregmap): ... this.
6895 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
6896 regmaps.
6897
6898 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6899
6900 * score-tdep.c (score7_linux_gregset): New static regset
6901 structure.
6902 (score7_linux_regset_from_core_section): Remove dynamic regset
6903 allocation.
6904 (score_gdbarch_init): Drop allocation of tdep structure.
6905 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
6906
6907 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6908
6909 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
6910 regset structures.
6911 (am33_regset_from_core_section): Remove dynamic regset
6912 allocations.
6913
6914 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6915
6916 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
6917 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
6918 structures.
6919 (mips_linux_regset_from_core_section): Remove dynamic regset
6920 allocations.
6921 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6922 'gregset64', 'fpregset', and 'fpregset64'.
6923 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
6924 deleted tdep fields.
6925
6926 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6927
6928 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
6929 regset structures.
6930 (amd64_regset_from_core_section): Remove dynamic regset
6931 allocations.
6932 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
6933 structure.
6934 (amd64obsd_regset_from_core_section): Remove dynamic regset
6935 allocation.
6936 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
6937 Likewise.
6938 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
6939 x86-common regset supply function.
6940 * i386-tdep.c (i386_collect_gregset): Make static.
6941 (i386_gregset): New global regset structure.
6942 (i386_fpregset, i386_xstateregset): New static regset structures.
6943 (i386_regset_from_core_section): Remove dynamic regset
6944 allocations.
6945 (i386_gdbarch_init): Remove initialization of tdep fields
6946 'gregset', 'fpregset', and 'xstateregset'.
6947 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6948 'fpregset', and 'xstateregset'.
6949 (i386_collect_gregset): Remove prototype.
6950 (i386_gregset): New declaration.
6951 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
6952 structure.
6953 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
6954 allocation.
6955
6956 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6957
6958 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
6959 (arm_linux_vfpregset): New static regset structures.
6960 (arm_linux_regset_from_core_section): Remove dynamic allocation of
6961 regset structures.
6962 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
6963 and 'vfpregset' fields.
6964
6965 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6966
6967 * aarch64-linux-tdep.c (aarch64_linux_gregset)
6968 (aarch64_linux_fpregset): New static regset structures.
6969 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
6970 of regset structures.
6971 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
6972 'fpregset' fields.
6973
6974 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6975
6976 * regset.h (struct regset): Remove gdbarch field.
6977 * regset.c (regset_alloc): Drop initialization of gdbarch field.
6978 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
6979 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
6980 Likewise.
6981 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
6982 (ppc32_linux_fpregset, ppc32_linux_vrregset)
6983 (ppc32_linux_vsxregset): Likewise.
6984 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
6985 via the regcache instead of the regset.
6986 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
6987 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
6988 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
6989 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
6990 Likewise.
6991
6992 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6993
6994 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
6995 Constify structures.
6996 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
6997 (alphanbsd_aout_gregset): Likewise.
6998 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
6999 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
7000 Likewise.
7001 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
7002 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
7003 Likewise.
7004 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
7005 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
7006 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
7007 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
7008 * m88k-tdep.c (m88k_gregset): Likewise.
7009 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
7010 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
7011 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7012 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
7013 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7014 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7015 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7016 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7017 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
7018 Likewise.
7019 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
7020 * sh-tdep.h (sh_corefile_gregset): Likewise.
7021 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
7022 * vax-tdep.c (vax_gregset): Likewise.
7023
7024 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7025
7026 Fix TLS access for -static -pthread.
7027 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
7028 (try_thread_db_load_1): Initialize it.
7029 (thread_db_get_thread_local_address): Call it if LM is zero.
7030 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
7031 * target.h (struct target_ops) (to_get_thread_local_address): Add
7032 load_module_addr comment.
7033
7034 2014-05-21 Pedro Alves <palves@redhat.com>
7035
7036 * dcache.c (dcache_read_memory_partial): If reading the cache line
7037 fails, fallback to reading just the memory the caller wanted.
7038
7039 2014-05-20 Doug Evans <dje@google.com>
7040
7041 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
7042 instead of get_current_arch.
7043
7044 2014-05-20 Pedro Alves <palves@redhat.com>
7045
7046 * NEWS: Mention that compare-sections now works with all targets.
7047
7048 * remote.c (PACKET_qCRC): New enum value.
7049 (remote_verify_memory): Don't send qCRC if the target has no
7050 execution. Use packet_support/packet_ok. If the target doesn't
7051 support the qCRC packet, fallback to a deep memory copy.
7052 (compare_sections_command): Say "target image" instead of "remote
7053 executable".
7054 (_initialize_remote): Add PACKET_qCRC to the list of config
7055 packets that have no associated command. Extend comment.
7056 * target.c (simple_verify_memory, default_verify_memory): New
7057 function.
7058 * target.h (struct target_ops) <to_verify_memory>: Default to
7059 default_verify_memory.
7060 (simple_verify_memory): New declaration.
7061 * target-delegates.c: Regenerate.
7062
7063 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7064
7065 * record-btrace.c (record_btrace_step_thread): Check for empty history.
7066
7067 2014-05-20 Hui Zhu <hui@codesourcery.com>
7068 Yao Qi <yao@codesourcery.com>
7069
7070 PR backtrace/16558
7071 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
7072 and change address of sp and pc.
7073
7074 2014-05-19 Tom Tromey <tromey@redhat.com>
7075
7076 * gdbtypes.c (rank_function): Use XNEWVEC.
7077 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
7078
7079 2014-05-19 Doug Evans <dje@google.com>
7080
7081 * dwarf2read.c (build_type_psymtabs_1): Renamed from
7082 build_type_unit_groups and moved closer to only caller. Remove
7083 arguments. All references updated. Remove outdated .gdb_index
7084 comment.
7085 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
7086 build_type_psymtabs_1.
7087
7088 2014-05-19 Doug Evans <dje@google.com>
7089
7090 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
7091 n_type_unit_groups, all_type_unit_groups. All uses removed.
7092 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
7093 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
7094 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
7095 (add_type_unit_group_to_table): Delete.
7096
7097 2014-05-19 Doug Evans <dje@google.com>
7098
7099 * eval.c (evaluate_subexp_standard): Add some comments.
7100
7101 2014-05-17 Doug Evans <xdje42@gmail.com>
7102
7103 * progspace.c (remove_program_space): Delete, unused.
7104 * progspace.h (remove_program_space): Ditto.
7105
7106 2014-05-17 Doug Evans <xdje42@gmail.com>
7107
7108 * inferior.c (prune_inferiors): Fix comment.
7109 (remove_inferior_command): Call prune_program_spaces.
7110
7111 2014-05-16 Doug Evans <dje@google.com>
7112
7113 New command line option -D.
7114 * NEWS: Mention it.
7115 * main.c (set_gdb_data_directory): New function.
7116 (captured_main): Recognize -D. Flag error for --data-directory "".
7117 Call set_gdb_data_directory.
7118 (print_gdb_help): Print --data-directory, -D.
7119 * main.h (set_gdb_data_directory): Declare.
7120 * top.c (staged_gdb_datadir): New static global.
7121 (set_gdb_datadir): Call set_gdb_data_directory
7122 (show_gdb_datadir): New function.
7123 (init_main): Update init of data-directory parameter.
7124
7125 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
7126
7127 Import the "dirfd" gnulib module.
7128 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
7129 * gnulib/aclocal.m4: Update.
7130 * gnulib/config.in: Update.
7131 * gnulib/configure: Update.
7132 * gnulib/import/Makefile.am: Update.
7133 * gnulib/import/Makefile.in: Update.
7134 * gnulib/import/dirfd.c: New.
7135 * gnulib/import/m4/dirfd.m4: New.
7136 * gnulib/import/m4/gnulib-cache.m4: Update.
7137 * gnulib/import/m4/gnulib-comp.m4: Update.
7138
7139 2014-05-16 Pierre Muller <muller@sourceware.org>
7140 Yao Qi <yao@codesourcery.com>
7141
7142 * valprint.c (print_wchar): Move the code on checking whether
7143 W is a printable wide char to the default branch of switch
7144 statement below. Call wchar_printable instead of gdb_iswprint.
7145
7146 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
7147
7148 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
7149 ldr.w and ldrd instructions.
7150
7151 2014-05-15 Doug Evans <dje@google.com>
7152
7153 * dwarf2read.c (read_structure_type): Delete outdated comments.
7154
7155 2014-05-14 Tom Tromey <tromey@redhat.com>
7156
7157 * macrocmd.c (print_macro_definition): Reindent.
7158
7159 2014-05-13 Doug Evans <xdje42@gmail.com>
7160
7161 * python/py-cmd.c (cmdpy_completer): Add comment.
7162 (completers): Make const.
7163
7164 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
7165
7166 * infrun.c (resume): Remove should_resume (unused). Move up
7167 declaration of resume_ptid.
7168
7169 2014-05-13 Tom Tromey <tromey@redhat.com>
7170
7171 * language.h (unop_type_check): Remove.
7172 (binop_type_check): Don't declare.
7173
7174 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
7175
7176 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
7177 call to regcache_raw_collect.
7178
7179 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7180
7181 * mi/mi-console.c (mi_console_raw_packet): Use the value from
7182 mi_console->quote as the quoting character.
7183
7184 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7185
7186 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
7187
7188 2014-04-29 Tom Tromey <tromey@redhat.com>
7189
7190 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
7191 "show debug varobj".
7192
7193 2014-05-07 Kyle McMartin <kyle@redhat.com>
7194
7195 Pushed by Joel Brobecker <brobecker@adacore.com>.
7196 * aarch64-tdep.c (aarch64_software_single_step): New function.
7197 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
7198 with aarch64_software_single_step.
7199
7200 2014-05-05 Joel Brobecker <brobecker@adacore.com>
7201
7202 GDB 7.7.1 released.
7203
7204 2014-05-05 Keith Seitz <keiths@redhat.com>
7205
7206 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
7207 variable or history value is successfully parsed.
7208
7209 2014-05-05 Yao Qi <yao@codesourcery.com>
7210 Pedro Alves <palves@redhat.com>
7211
7212 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
7213 address of blocks that intersects the requested range. Trim
7214 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
7215 sections.
7216 * ctf.c (ctf_xfer_partial): Likewise.
7217
7218 2014-05-05 Yao Qi <yao@codesourcery.com>
7219
7220 * printcmd.c (display_command): Remove the check to
7221 target_has_execution.
7222
7223 2014-05-03 Mark Kettenis <kettenis@gnu.org>
7224
7225 * ppcobsd-nat.c: Include "obsd-nat.h".
7226 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
7227 add_target.
7228 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7229
7230 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7231
7232 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
7233 and 16-bit signed and unsigned arguments. Update comment.
7234 (stap_parse_probe_arguments): Extend code to handle such
7235 arguments. Use warning instead of complaint to notify about
7236 unrecognized bitness.
7237
7238 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7239
7240 PR breakpoints/16889
7241 * stap-probe.c (stap_parse_probe_arguments): Simplify
7242 check for non-prefixed probes (i.e., probes whose
7243 arguments do not start with "N@"). Always set the
7244 argument type to a sane value.
7245
7246 2014-05-01 David Taylor <dtaylor@emc.com>
7247
7248 * remote.c (compare_sections_command): Add -r option to compare
7249 all loadable read-only sections.
7250
7251 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
7252
7253 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
7254 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
7255 Update all callers.
7256 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
7257 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
7258 Remove unused CORE_ADDR argument. Update all callers.
7259
7260 2014-04-29 Pedro Alves <palves@redhat.com>
7261
7262 * remote.c (struct packet_config) <detect>: Extend comment.
7263 (add_packet_config_cmd): Don't set the config's detect or support
7264 fields here.
7265 (init_all_packet_configs): Also initialize the config's 'detect'
7266 field.
7267 (reset_all_packet_configs_support): New function.
7268 (remote_open_1): Call reset_all_packet_configs_support instead of
7269 init_all_packet_configs.
7270 (_initialize_remote): Initialize all packet configs. Assert that
7271 all packets have an associated command, except a few known
7272 outliers.
7273
7274 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7275
7276 * dwarf2read.c (read_subrange_type): Handle dynamic
7277 DW_AT_lower_bound attributes.
7278
7279 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7280
7281 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
7282 dynamic bounds before computing its upper bound.
7283 (ada_discrete_type_low_bound): Same as above with the lower bound.
7284
7285 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7286
7287 * dwarf2read.c (is_dynamic_type): Return true for dynamic
7288 range types. Adjust the array handling implementation to
7289 take advantage of this change.
7290 (resolve_dynamic_range): New function, mostly extracted from
7291 resolve_dynamic_bounds.
7292 (resolve_dynamic_array): New function, mostly extracted from
7293 resolve_dynamic_bounds.
7294 (resolve_dynamic_bounds): Delete.
7295 (resolve_dynamic_type): Reimplement. Add handling of
7296 TYPE_CODE_RANGE types.
7297
7298 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7299
7300 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
7301 handling of parallel ___XA types.
7302
7303 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7304
7305 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
7306 unnecessary second call to static_unwrap_type.
7307
7308 2014-04-27 Hui Zhu <hui@codesourcery.com>
7309
7310 * stack.c (print_frame_info): Call do_gdb_disassembly with
7311 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
7312
7313 2014-04-26 Doug Evans <xdje42@gmail.com>
7314
7315 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
7316
7317 2014-04-25 Pedro Alves <palves@redhat.com>
7318
7319 PR server/16255
7320 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
7321 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
7322 and newline from built string.
7323 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
7324 (linux_ptrace_attach_fail_reason): ... this.
7325 * linux-nat.c (linux_nat_attach): Adjust to use
7326 linux_ptrace_attach_fail_reason.
7327
7328 2014-04-25 Pedro Alves <palves@redhat.com>
7329
7330 * remote.c (struct remote_state): Remove multi_process_aware,
7331 non_stop_aware, cond_tracepoints, cond_breakpoints,
7332 breakpoint_commands, fast_tracepoints, static_tracepoints,
7333 install_in_trace, disconnected_tracing,
7334 enable_disable_tracepoints, string_tracing, and
7335 augmented_libraries_svr4_read fields.
7336 (remote_multi_process_p): Move further below in the file.
7337 (struct packet_config): Add comments.
7338 (update_packet_config): Delete function.
7339 (show_packet_config_cmd): Use packet_config_support.
7340 (add_packet_config_cmd): Use NULL as set callback.
7341 (packet_ok): "set remote foo-packet"-style commands no longer
7342 change config->supported -- adjust.
7343 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
7344 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
7345 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
7346 (PACKET_QNonStop, PACKET_multiprocess_feature)
7347 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
7348 (PACKET_DisconnectedTracing_feature)
7349 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
7350 (set_remote_protocol_packet_cmd): Delete function.
7351 (packet_config_support, packet_support): New functions.
7352 (set_remote_protocol_Z_packet_cmd): Don't call
7353 update_packet_config.
7354 (remote_query_attached, remote_pass_signals)
7355 (remote_program_signals, remote_threads_info)
7356 (remote_threads_extra_info, remote_start_remote): Use
7357 packet_support.
7358 (remote_start_remote): Use packet_config_support and
7359 packet_support.
7360 (init_all_packet_configs): Set all packets to unknown support,
7361 instead of calling update_packet_config.
7362 (remote_check_symbols): Use packet_support.
7363 (remote_supported_packet): Unconditionally set the packet config's
7364 support status.
7365 (remote_multi_process_feature, remote_non_stop_feature)
7366 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
7367 (remote_breakpoint_commands_feature)
7368 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
7369 (remote_install_in_trace_feature)
7370 (remote_disconnected_tracing_feature)
7371 (remote_enable_disable_tracepoint_feature)
7372 (remote_string_tracing_feature)
7373 (remote_augmented_libraries_svr4_read_feature): Delete functions.
7374 (remote_protocol_features): Adjust to use remote_supported_packet
7375 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
7376 "ConditionalTracepoints", "ConditionalBreakpoints",
7377 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
7378 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
7379 "EnableDisableTracepoints", and "tracenz".
7380 (remote_query_supported): Use packet_support.
7381 (remote_open_1): Adjust.
7382 (extended_remote_attach_1): Use packet_support. Switch on the
7383 result of packet_ok instead of checking whether the packet ended
7384 up disabled.
7385 (remote_vcont_resume): Use packet_support.
7386 (remote_resume, remote_stop_ns, fetch_register_using_p)
7387 (remote_prepare_to_store, store_register_using_P)
7388 (check_binary_download, remote_write_bytes): Use packet_support.
7389 (remote_vkill): Use packet_support. Switch on the result of
7390 packet_ok instead of checking whether the packet ended up
7391 disabled.
7392 (extended_remote_supports_disable_randomization): Use
7393 packet_support.
7394 (extended_remote_run): Switch on the result of packet_ok instead
7395 of checking whether the packet ended up disabled.
7396 (remote_insert_breakpoint, remote_remove_breakpoint)
7397 (remote_insert_watchpoint, remote_remove_watchpoint)
7398 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
7399 packet_support.
7400 (remote_search_memory): Use packet_config_support.
7401 (remote_get_thread_local_address, remote_get_tib_address)
7402 (remote_hostio_send_command, remote_can_execute_reverse): Use
7403 packet_support.
7404 (remote_supports_cond_tracepoints)
7405 (remote_supports_cond_breakpoints)
7406 (remote_supports_fast_tracepoints)
7407 (remote_supports_static_tracepoints)
7408 (remote_supports_install_in_trace)
7409 (remote_supports_enable_disable_tracepoint)
7410 (remote_supports_string_tracing)
7411 (remote_can_run_breakpoint_commands): Rewrite, checking whether
7412 the packet config says the feature is enabled or disabled.
7413 (remote_download_tracepoint, remote_trace_set_readonly_regions)
7414 (remote_get_trace_status): Use packet_support.
7415 (remote_set_disconnected_tracing): Adjust to check whether the
7416 feature is enabled with packet_support.
7417 (remote_set_trace_buffer_size, remote_use_agent)
7418 (remote_can_use_agent, remote_supports_btrace): Use
7419 packet_support.
7420 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
7421 Use packet_config_support.
7422 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
7423 the packet config says the feature is enabled or disabled.
7424 (set_range_stepping): Use packet_support.
7425
7426 2014-04-25 Tom Tromey <tromey@redhat.com>
7427
7428 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
7429 argument.
7430
7431 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
7432
7433 * NEWS: Mention support for C99 variable length arrays.
7434
7435 2014-04-24 Joel Brobecker <brobecker@adacore.com>
7436
7437 * ada-lang.c (standard_exc): Expand introductory comment.
7438
7439 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7440 Walfred Tedeschi <walfred.tedeschi@intel.com>
7441
7442 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
7443 AVX512 registers.
7444 (amd64_linux_read_description): Add code to handle AVX512 xstate
7445 mask and return respective tdesc.
7446 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
7447 and features/i386/x32-avx512-linux.c.
7448 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
7449 (amd64_linux_core_read_description): Add code to handle AVX512
7450 xstate mask and return respective tdesc.
7451 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
7452 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
7453 calculation.
7454 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
7455 (tdesc_amd64_avx512_linux): New prototype.
7456 (tdesc_x32_avx512_linux): Likewise.
7457 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
7458 features/i386/x32-avx512.c.
7459 (amd64_ymm_avx512_names): New register names for pseudo
7460 registers YMM16-31.
7461 (amd64_ymmh_avx512_names): New register names for raw registers
7462 YMMH16-31.
7463 (amd64_k_names): New register names for K registers.
7464 (amd64_zmmh_names): New register names for ZMM raw registers.
7465 (amd64_zmm_names): New registers names for ZMM pseudo registers.
7466 (amd64_xmm_avx512_names): New register names for XMM16-31
7467 registers.
7468 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
7469 registers.
7470 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
7471 if feature is present.
7472 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
7473 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
7474 (AMD64_NUM_REGS): Adjust to new number of registers.
7475 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
7476 registers supplied via XSTATE by AVX512 registers.
7477 (i386_linux_read_description): Add case for AVX512.
7478 * i386-linux-tdep.c: Include i386-avx512-linux.c.
7479 (i386_linux_gregset_reg_offset): Add AVX512 registers.
7480 (i386_linux_core_read_description): Add case for AVX512.
7481 (i386_linux_init_abi): Install supported register note section
7482 for AVX512.
7483 (_initialize_i386_linux_tdep): Add call to tdesc init function for
7484 AVX512.
7485 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
7486 registers to be number of zmm7h + 1.
7487 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
7488 * i386-tdep.c: Include features/i386/i386-avx512.c.
7489 (i386_zmm_names): Add ZMM pseudo register names array.
7490 (i386_zmmh_names): Add ZMM raw register names array.
7491 (i386_k_names): Add K raw register names array.
7492 (num_lower_zmm_regs): Add constant for the number of lower ZMM
7493 registers. AVX512 has 16 more ZMM registers than there are YMM
7494 registers.
7495 (i386_zmmh_regnum_p): Add function to look up register number of
7496 ZMM raw registers.
7497 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
7498 (i386_k_regnum_p): Likewise for K raw registers.
7499 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
7500 registers added by AVX512.
7501 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
7502 registers added by AVX512.
7503 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
7504 added by AVX512.
7505 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
7506 (i386_pseudo_register_name): Add ZMM pseudo registers.
7507 (i386_zmm_type): Construct and return vector registers type for ZMM
7508 registers.
7509 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
7510 ZMM0-31 pseudo registers and K registers.
7511 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
7512 and YMM16-31 registers from register cache.
7513 (i386_pseudo_register_write): Add code to write K, ZMM and
7514 YMM16-31 registers.
7515 (i386_register_reggroup_p): Add code to include/exclude AVX512
7516 registers in/from respective register groups.
7517 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
7518 registers if feature is present in xcr0.
7519 (i386_gdbarch_init): Add code to initialize AVX512 feature
7520 variables in tdep structure, wire in pseudo registers and call
7521 initialize_tdesc_i386_avx512.
7522 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
7523 variables.
7524 (i386_regnum): Add AVX512 registers.
7525 (I386_SSE_NUM_REGS): New define for number of SSE registers.
7526 (I386_AVX_NUM_REGS): Likewise for AVX registers.
7527 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
7528 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
7529 512 bits wide.
7530 (i386_xmm_avx512_regnum_p): New prototype for register look up.
7531 (i386_ymm_avx512_regnum_p): Likewise.
7532 (i386_k_regnum_p): Likewise.
7533 (i386_zmm_regnum_p): Likewise.
7534 (i386_zmmh_regnum_p): Likewise.
7535 * i387-tdep.c : Update year in copyright notice.
7536 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
7537 XSAVE buffer.
7538 (XSAVE_YMM_AVX512_ADDR): New macro.
7539 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
7540 XSAVE buffer.
7541 (XSAVE_XMM_AVX512_ADDR): New macro.
7542 (xsave_avx512_k_offset): New table for K register offsets in
7543 XSAVE buffer.
7544 (XSAVE_AVX512_K_ADDR): New macro.
7545 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
7546 in XSAVE buffer.
7547 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
7548 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
7549 buffer.
7550 (i387_collect_xsave): Add code to collect AVX512 registers from
7551 XSAVE buffer.
7552 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
7553 of XMM16-31 registers.
7554 (I387_NUM_K_REGS): New define for number of K registers.
7555 (I387_K0_REGNUM): New define for K0 register number.
7556 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
7557 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
7558 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
7559 registers.
7560 (I387_YMM16H_REGNUM): New define for YMM16H register number.
7561 (I387_XMM16_REGNUM): New define for XMM16 register number.
7562 (I387_YMM0_REGNUM): New define for YMM0 register number.
7563 (I387_KEND_REGNUM): New define for last K register number.
7564 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
7565 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
7566 number.
7567 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
7568 number.
7569 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
7570 size.
7571 * features/Makefile: Add AVX512 related files.
7572 * features/i386/32bit-avx512.xml: New file.
7573 * features/i386/64bit-avx512.xml: Likewise.
7574 * features/i386/amd64-avx512-linux.c: Likewise.
7575 * features/i386/amd64-avx512-linux.xml: Likewise.
7576 * features/i386/amd64-avx512.c: Likewise.
7577 * features/i386/amd64-avx512.xml: Likewise.
7578 * features/i386/i386-avx512-linux.c: Likewise.
7579 * features/i386/i386-avx512-linux.xml: Likewise.
7580 * features/i386/i386-avx512.c: Likewise.
7581 * features/i386/i386-avx512.xml: Likewise.
7582 * features/i386/x32-avx512-linux.c: Likewise.
7583 * features/i386/x32-avx512-linux.xml: Likewise.
7584 * features/i386/x32-avx512.c: Likewise.
7585 * features/i386/x32-avx512.xml: Likewise.
7586 * regformats/i386/amd64-avx512-linux.dat: New file.
7587 * regformats/i386/amd64-avx512.dat: Likewise.
7588 * regformats/i386/i386-avx512-linux.dat: Likewise.
7589 * regformats/i386/i386-avx512.dat: Likewise.
7590 * regformats/i386/x32-avx512-linux.dat: Likewise.
7591 * regformats/i386/x32-avx512.dat: Likewise.
7592 * NEWS: Add note about new support for AVX512.
7593
7594
7595 2014-04-23 Pedro Alves <palves@redhat.com>
7596
7597 * breakpoint.c (insert_bp_location): Tolerate errors if the
7598 breakpoint is set in a user-loaded objfile.
7599 (remove_breakpoint_1): Likewise. Also tolerate errors if the
7600 location is marked shlib_disabled. If the breakpoint is set in a
7601 user-loaded objfile is a GDB-side memory breakpoint, validate it
7602 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
7603 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
7604 flag.
7605 * mem-break.c (memory_validate_breakpoint): New function.
7606 * objfiles.c (userloaded_objfile_contains_address_p): New
7607 function.
7608 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
7609 * target.h (memory_validate_breakpoint): New declaration.
7610
7611 2014-04-23 Pedro Alves <palves@redhat.com>
7612
7613 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
7614 the breakpoint is set in a shared library, only suppress
7615 errors for software breakpoints, not hardware breakpoints.
7616
7617 2014-04-22 Pedro Alves <palves@redhat.com>
7618
7619 * infrun.c (schedlock_applies): New function, factored out from
7620 find_thread_needs_step_over.
7621 (find_thread_needs_step_over): Use it.
7622 (switch_back_to_stepped_thread): Always clear trap_expected if the
7623 step over is finished. Return early if scheduler locking applies.
7624 Look for the stepping thread and a potential step-over thread with
7625 a single loop.
7626 (currently_stepping_or_nexting_callback): Delete.
7627
7628 2014-04-22 Nick Clifton <nickc@redhat.com>
7629
7630 * NEWS: Mention that ARM sim now supports tracing.
7631
7632 2014-04-22 Yao Qi <yao@codesourcery.com>
7633
7634 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
7635 to ...
7636 * tracefile.c (tracefile_fetch_registers): ... it. New
7637 function.
7638 * tracefile.h (tracefile_fetch_registers): Declare.
7639 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
7640 tracefile_fetch_registers.
7641
7642 2014-04-19 Eli Zaretskii <eliz@gnu.org>
7643
7644 PR gdb/14018
7645 * windows-nat.c (thread_rec): Don't display a warning when
7646 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
7647 fails for any reason, set th->suspended to -1, so that we don't
7648 try to resume such a thread. Also, don't return NULL in these
7649 cases, to avoid completely ruin the session due to "PC register is
7650 not available" error.
7651 (do_windows_fetch_inferior_registers): Check errors in
7652 GetThreadContext call.
7653 (windows_continue): Accept an additional argument KILLED; if not
7654 zero, ignore errors in the SetThreadContext call, since the
7655 inferior was killed and is shutting down.
7656 (windows_resume, get_windows_debug_event)
7657 (windows_create_inferior, windows_mourn_inferior)
7658 (windows_kill_inferior): All callers of windows_continue changed
7659 to adjust to its new calling sequence.
7660
7661 2014-04-19 Yao Qi <yao@codesourcery.com>
7662
7663 * ctf.c (ctf_open): Call post_create_inferior.
7664
7665 2014-04-19 Yao Qi <yao@codesourcery.com>
7666
7667 * ctf.c (handle_id): New static variable.
7668 (ctf_open_dir): Get handle_id from bt_context_add_trace return
7669 value. Get the declaration of event "register" and get length
7670 of field "contents".
7671
7672 2014-04-19 Yao Qi <yao@codesourcery.com>
7673
7674 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
7675
7676 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
7677
7678 * valops.c (oload_method_static): Remove unnecessary argument
7679 METHOD. Update all callers.
7680
7681 2014-04-18 Pedro alves <palves@redhat.com>
7682 Tom Tromey <tromey@redhat.com>
7683
7684 PR backtrace/15558
7685 * frame.c (get_prev_frame_1): Rename to ...
7686 (get_prev_frame_always): ... this, and make extern. Adjust.
7687 (skip_artificial_frames): Use get_prev_frame_always.
7688 (frame_unwind_caller_id, frame_pop, get_prev_frame)
7689 (get_frame_unwind_stop_reason): Adjust to rename.
7690 * frame.h (get_prev_frame_always): Declare.
7691 * inline-frame.c: Include frame.h.
7692 (inline_frame_this_id): Use get_prev_frame_always.
7693
7694 2014-04-18 Tristan Gingold <gingold@adacore.com>
7695
7696 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
7697 code by using bfd_mach_o_get_base_address.
7698
7699 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7700
7701 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
7702 (spu_ax_pseudo_register_collect): New function.
7703 (spu_ax_pseudo_register_push_stack): Likewise.
7704 (spu_dwarf_reg_to_regnum): Likewise.
7705 (spu_gdbarch_init): Install them. Append DWARF unwinders.
7706
7707 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7708
7709 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
7710 Replace FRAME argument with FRAME_ID.
7711 * gdbarch.c, gdbarch.h: Regenerate.
7712 * findvar.c (default_value_from_register): Add GDBARCH argument;
7713 replace FRAME by FRAME_ID. No longer call get_frame_id.
7714 (value_from_register): Update call to gdbarch_value_from_register.
7715 * value.h (default_value_from_register): Update prototype.
7716 * s390-linux-tdep.c (s390_value_from_register): Update interface
7717 and call to default_value_from_register.
7718 * spu-tdep.c (spu_value_from_register): Likewise.
7719
7720 * findvar.c (address_from_register): Remove TYPE argument.
7721 Do not call value_from_register; use gdbarch_value_from_register
7722 with null_frame_id instead.
7723 * value.h (address_from_register): Update prototype.
7724 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
7725 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
7726 address_from_register interface change.
7727
7728 2014-04-17 Yao Qi <yao@codesourcery.com>
7729
7730 * gdbtypes.h: Update comments to link to types and macros'
7731 definitions.
7732
7733 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
7734
7735 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
7736
7737 2014-04-16 Keith Seitz <keiths@redhat.com>
7738
7739 PR gdb/15827
7740 * dwarf2read.c (skip_one_die): Check that all relative-offset
7741 sibling DIEs fall within range of the current reader's buffer.
7742 (read_partial_die): Likewise.
7743
7744 2014-04-16 Keith Seitz <keiths@redhat.com>
7745
7746 PR c++/16597
7747 * cp-namespace.c (lookup_symbol_file): If the type name of
7748 `this' is NULL, return immediately.
7749
7750 2014-04-14 Keith Seitz <keiths@redhat.com>
7751
7752 PR c++/16253
7753 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
7754 from symbol_matches_domain in symtab.c. All local callers
7755 of symbol_matches_domain updated.
7756 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
7757 search STRUCT_DOMAIN.
7758 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
7759 independently. standard_lookup will do that automatically.
7760 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
7761 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7762 (cp_lookup_symbol_in_namespace): Likewise.
7763 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
7764 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
7765 may return a STRUCT_DOMAIN match.
7766 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
7767 * cp-support.c: Include language.h.
7768 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
7769 VAR_DOMAIN.
7770 * psymtab.c (match_partial_symbol): Compare the requested
7771 domain with the symbol's domain directly.
7772 (lookup_partial_symbol): Likewise.
7773 * symtab.c (lookup_symbol_in_language): Explain when/why
7774 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7775 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
7776 appropriate languages.
7777 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
7778 and moved to ada-lang.c
7779 (lookup_block_symbol): Explain that this function only returns
7780 symbol matching the requested DOMAIN.
7781 Compare the requested domain with the symbol's domain directly.
7782 (iterate_over_symbols): Compare the requested domain with the
7783 symbol's domain directly.
7784 * symtab.h (symbol_matches_domain): Remove.
7785
7786 2014-04-14 Tom Tromey <tromey@redhat.com>
7787
7788 PR c++/15246:
7789 * c-exp.y (type_aggregate_p): New function.
7790 (qualified_name, classify_inner_name): Use it.
7791 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
7792 and TYPE_TARGET_TYPE of an enum type.
7793 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
7794 an enum type.
7795 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
7796 handle TYPE_DECLARED_CLASS.
7797 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
7798 types.
7799 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
7800 * valops.c (enum_constant_from_type): New function.
7801 (value_aggregate_elt): Use it.
7802 * cp-namespace.c (cp_lookup_nested_symbol): Handle
7803 TYPE_CODE_ENUM.
7804
7805 2014-04-14 Tom Tromey <tromey@redhat.com>
7806
7807 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
7808 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
7809 const.
7810 * value.h (value_aggregate_elt): Update.
7811
7812 2014-04-14 Tom Tromey <tromey@redhat.com>
7813
7814 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
7815
7816 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7817
7818 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7819 (evaluate_subexp_standard): Pass noside argument.
7820 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7821 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7822 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7823 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7824 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7825
7826 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7827
7828 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7829 points to a constant blob.
7830
7831 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7832
7833 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7834 property and store it as the high bound and flag the range accordingly.
7835 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7836 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7837 * gdbtypes.h (enum range_flags): New enum.
7838 (struct range_bounds): Add flags member.
7839
7840 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7841
7842 * c-typeprint.c (c_type_print_varspec_suffix): Added
7843 check for not yet resolved high bound. If unresolved, print
7844 "variable length" string to the console instead of random
7845 length.
7846
7847 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7848
7849 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
7850 value.
7851 (ada_template_to_fixed_record_type_1): Likewise.
7852 (ada_to_fixed_type_1): Likewise.
7853 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7854 (cp_print_value): Likewise.
7855 * d-valprint.c (dynamic_array_type): Likewise.
7856 * findvar.c (address_of_variable): Likewise.
7857 * jv-valprint.c (java_value_print): Likewise.
7858 * valops.c (value_ind): Likewise.
7859 * value.c (coerce_ref): Likewise.
7860
7861 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7862
7863 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7864 value and retrieve the dynamic type size.
7865
7866 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7867
7868 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7869 passed to sizeof is dynamic evaluate the argument to compute the length.
7870
7871 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7872 Joel Brobecker <brobecker@adacore.com>
7873
7874 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7875 (dwarf2_evaluate_property): New function.
7876 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7877 * dwarf2read.c (attr_to_dynamic_prop): New function.
7878 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7879 attribute.
7880 * gdbtypes.c: Include dwarf2loc.h.
7881 (is_dynamic_type): New function.
7882 (resolve_dynamic_type): New function.
7883 (resolve_dynamic_bounds): New function.
7884 (get_type_length): New function.
7885 (check_typedef): Use get_type_length to compute type length.
7886 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7887 (TYPE_LOW_BOUND_KIND): New macro.
7888 (is_dynamic_type): New function prototype.
7889 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7890 to resolve dynamic properties of the type. Update comment.
7891 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7892
7893 2014-04-14 Richard Henderson <rth@redhat.com>
7894
7895 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
7896
7897 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7898 Doug Evans <xdje42@gmail.com>
7899
7900 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
7901 dereference TYPE_CODE_REF values.
7902
7903 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7904
7905 Revert the following changes due to regressions:
7906
7907 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7908 (dwarf2_evaluate_property): New function.
7909 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7910 * dwarf2read.c (attr_to_dynamic_prop): New function.
7911 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7912 attribute.
7913 * gdbtypes.c: Include dwarf2loc.h.
7914 (is_dynamic_type): New function.
7915 (resolve_dynamic_type): New function.
7916 (resolve_dynamic_bounds): New function.
7917 (get_type_length): New function.
7918 (check_typedef): Use get_type_length to compute type length.
7919 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7920 (TYPE_LOW_BOUND_KIND): New macro.
7921 (is_dynamic_type): New function prototype.
7922 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7923 to resolve dynamic properties of the type. Update comment.
7924 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7925
7926 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7927 passed to sizeof is dynamic evaluate the argument to compute the length.
7928
7929 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7930 value and retrieve the dynamic type size.
7931
7932 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7933 (ada_template_to_fixed_record_type_1): Likewise.
7934 (ada_to_fixed_type_1): Likewise.
7935 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7936 (cp_print_value): Likewise.
7937 * d-valprint.c (dynamic_array_type): Likewise.
7938 * eval.c (evaluate_subexp_with_coercion): Likewise.
7939 * findvar.c (address_of_variable): Likewise.
7940 * jv-valprint.c (java_value_print): Likewise.
7941 * valops.c (value_ind): Likewise.
7942 * value.c (coerce_ref): Likewise.
7943
7944 * c-typeprint.c (c_type_print_varspec_suffix): Added
7945 check for not yet resolved high bound. If unresolved, print
7946 "variable length" string to the console instead of random
7947 length.
7948
7949 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7950 property and store it as the high bound and flag the range accordingly.
7951 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7952 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7953 * gdbtypes.h (enum range_flags): New enum.
7954 (struct range_bounds): Add flags member.
7955
7956 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7957 points to a constant blob.
7958
7959 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7960 (evaluate_subexp_standard): Pass noside argument.
7961 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7962 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7963 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7964 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7965 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7966
7967 2014-04-11 Keith Seitz <keiths@redhat.com>
7968
7969 PR c++/16675
7970 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
7971 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
7972 reference types.
7973
7974 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7975
7976 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7977 (evaluate_subexp_standard): Pass noside argument.
7978 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7979 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7980 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7981 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7982 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7983
7984 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7985
7986 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7987 points to a constant blob.
7988
7989 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7990
7991 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7992 property and store it as the high bound and flag the range accordingly.
7993 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7994 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7995 * gdbtypes.h (enum range_flags): New enum.
7996 (struct range_bounds): Add flags member.
7997
7998 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7999
8000 * c-typeprint.c (c_type_print_varspec_suffix): Added
8001 check for not yet resolved high bound. If unresolved, print
8002 "variable length" string to the console instead of random
8003 length.
8004
8005 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8006
8007 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8008 (ada_template_to_fixed_record_type_1): Likewise.
8009 (ada_to_fixed_type_1): Likewise.
8010 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8011 (cp_print_value): Likewise.
8012 * d-valprint.c (dynamic_array_type): Likewise.
8013 * eval.c (evaluate_subexp_with_coercion): Likewise.
8014 * findvar.c (address_of_variable): Likewise.
8015 * jv-valprint.c (java_value_print): Likewise.
8016 * valops.c (value_ind): Likewise.
8017 * value.c (coerce_ref): Likewise.
8018
8019 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8020
8021 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8022 value and retrieve the dynamic type size.
8023
8024 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8025
8026 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8027 passed to sizeof is dynamic evaluate the argument to compute the length.
8028
8029 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8030
8031 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8032 (dwarf2_evaluate_property): New function.
8033 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8034 * dwarf2read.c (attr_to_dynamic_prop): New function.
8035 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8036 attribute.
8037 * gdbtypes.c: Include dwarf2loc.h.
8038 (is_dynamic_type): New function.
8039 (resolve_dynamic_type): New function.
8040 (resolve_dynamic_bounds): New function.
8041 (get_type_length): New function.
8042 (check_typedef): Use get_type_length to compute type length.
8043 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8044 (TYPE_LOW_BOUND_KIND): New macro.
8045 (is_dynamic_type): New function prototype.
8046 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8047 to resolve dynamic properties of the type. Update comment.
8048 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8049
8050 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8051
8052 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
8053 declaring high/low bounds and change uses accordingly. Call
8054 create_range_type instead of create_static_range_type.
8055 * gdbtypes.c (create_range_type): New function.
8056 (create_range_type): Convert bounds into struct bound_prop and pass
8057 them to create_range_type.
8058 * gdbtypes.h (struct bound_prop): New struct.
8059 (create_range_type): New function prototype.
8060 (struct range_bounds): Use struct bound_prop instead of LONGEST for
8061 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
8062 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
8063 part of the bound.
8064 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
8065
8066 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8067
8068 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
8069 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
8070 * ada-lang.c: All uses of create_range_type updated.
8071 * coffread.c: All uses of create_range_type updated.
8072 * dwarf2read.c: All uses of create_range_type updated.
8073 * f-exp.y: All uses of create_range_type updated.
8074 * m2-valprint.c: All uses of create_range_type updated.
8075 * mdebugread.c: All uses of create_range_type updated.
8076 * stabsread.c: All uses of create_range_type updated.
8077 * valops.c: All uses of create_range_type updated.
8078 * valprint.c: All uses of create_range_type updated.
8079
8080 2014-04-10 Pedro Alves <palves@redhat.com>
8081
8082 * breakpoint.c (single_step_breakpoints)
8083 (single_step_gdbarch): Move up in the file.
8084 (one_breakpoint_xfer_memory): New function, factored out from ...
8085 (breakpoint_xfer_memory): ... here. Also process single-step
8086 breakpoints.
8087
8088 2014-04-09 Tristan Gingold <gingold@adacore.com>
8089
8090 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
8091 comments.
8092 (darwin_decode_exception_message): Free port only after use.
8093
8094 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
8095
8096 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
8097 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
8098 when setting the size of call_length.
8099
8100 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8101
8102 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
8103 dereference TYPE_CODE_REF values.
8104
8105 2014-04-07 Joel Brobecker <brobecker@adacore.com>
8106
8107 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
8108 end of warning message.
8109
8110 2014-04-03 Doug Evans <dje@google.com>
8111
8112 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
8113 of stub_comp_unit_die, stub_comp_dir is non-NULL.
8114
8115 2014-04-02 Alan Modra <amodra@gmail.com>
8116
8117 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
8118 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
8119 (struct symbol_file_add_from_memory_args): Add size field.
8120 (find_vdso_size): New function.
8121 (add_vsyscall_page): Attempt to find vdso size.
8122
8123 2014-04-01 Doug Evans <dje@google.com>
8124
8125 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
8126
8127 2014-04-01 Tristan Gingold <gingold@adacore.com>
8128
8129 * darwin-nat.c (darwin_encode_reply): Add prototype.
8130 (darwin_decode_exception_message): Reply to unknown inferiors.
8131 (darwin_decode_message): Handle message by id. Ignore message
8132 to unknown inferior.
8133 (darwin_wait): Discard unknown messages, add debug trace.
8134
8135 2014-03-31 Doug Evans <dje@google.com>
8136
8137 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
8138 comp_dir_string.
8139
8140 2014-03-31 Doug Evans <dje@google.com>
8141
8142 New option "set print symbol-loading".
8143 * NEWS: Mention it.
8144 * solib.c (solib_read_symbols): Only print symbol loading messages
8145 if requested.
8146 (solib_add): If symbol loading is in "brief" mode, notify user
8147 symbols are being loaded.
8148 (reload_shared_libraries_1): Ditto.
8149 * symfile.c (print_symbol_loading_off): New static global.
8150 (print_symbol_loading_brief): New static global.
8151 (print_symbol_loading_full): New static global.
8152 (print_symbol_loading_enums): New static global.
8153 (print_symbol_loading): New static global.
8154 (print_symbol_loading_p): New function.
8155 (symbol_file_add_with_addrs): Only print symbol loading messages
8156 if requested.
8157 (_initialize_symfile): Register "print symbol-loading" set/show
8158 command.
8159 * symfile.h (print_symbol_loading_p): Declare.
8160
8161 2014-03-30 Doug Evans <xdje42@gmail.com>
8162
8163 * infrun.c (set_last_target_status): New function.
8164 (handle_inferior_event): Call it.
8165
8166 2014-03-30 Doug Evans <xdje42@gmail.com>
8167
8168 * inferior.h (enum stop_kind): Improve comment.
8169
8170 2014-03-28 Joel Brobecker <brobecker@adacore.com>
8171
8172 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
8173 a reference, strip the reference layer before calling
8174 the lang_ops value_has_mutated callback.
8175
8176 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
8177
8178 Remove some globals from our parser.
8179 * language.c (unk_lang_parser): Add "struct parser_state"
8180 argument.
8181 * language.h (struct language_defn) <la_parser>: Likewise.
8182 * parse.c (expout, expout_size, expout_ptr): Remove variables.
8183 (initialize_expout): Add "struct parser_state" argument.
8184 Rewrite function to use the parser state.
8185 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
8186 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
8187 write_exp_elt_longcst, write_exp_elt_dblcst,
8188 write_exp_elt_decfloatcst, write_exp_elt_type,
8189 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8190 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
8191 write_dollar_variable): Likewise.
8192 (parse_exp_in_context_1): Use parser state.
8193 (insert_type_address_space): Add "struct parser_state" argument.
8194 Use parser state.
8195 (increase_expout_size): New function.
8196 * parser-defs.h: Forward declare "struct language_defn" and
8197 "struct parser_state".
8198 (expout, expout_size, expout_ptr): Remove extern declarations.
8199 (parse_gdbarch, parse_language): Rewrite macro declarations to
8200 accept the parser state.
8201 (struct parser_state): New struct.
8202 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
8203 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
8204 write_exp_elt_decfloatcst, write_exp_elt_type,
8205 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8206 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
8207 write_exp_msymbol, write_dollar_variable,
8208 mark_struct_expression, insert_type_address_space): Add "struct
8209 parser_state" argument.
8210 (increase_expout_size): New function.
8211 * utils.c (do_clear_parser_state): New function.
8212 (make_cleanup_clear_parser_state): Likewise.
8213 * utils.h (make_cleanup_clear_parser_state): New function
8214 prototype.
8215 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
8216 Update calls to write_exp* in order to pass the parser state.
8217 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
8218 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
8219 (i386_stap_parse_special_token_three_arg_disp): Likewise.
8220 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
8221 * stap-probe.c (stap_parse_register_operand): Likewise.
8222 (stap_parse_single_operand): Likewise.
8223 (stap_parse_argument_1): Likewise.
8224 (stap_parse_argument): Use parser state.
8225 * stap-probe.h: Include "parser-defs.h".
8226 (struct stap_parse_info) <pstate>: New field.
8227 * c-exp.y (parse_type): Rewrite to use parser state.
8228 (yyparse): Redefine to c_parse_internal.
8229 (pstate): New global variable.
8230 (parse_number): Add "struct parser_state" argument.
8231 (write_destructor_name): Likewise.
8232 (type_exp): Update calls to write_exp* and similars in order to
8233 use parser state.
8234 (exp1, exp, variable, qualified_name, space_identifier,
8235 typename, typebase): Likewise.
8236 (write_destructor_name, parse_number, lex_one_token,
8237 classify_name, classify_inner_name, c_parse): Add "struct
8238 parser_state" argument. Update function to use parser state.
8239 * c-lang.h: Forward declare "struct parser_state".
8240 (c_parse): Add "struct parser_state" argument.
8241 * ada-exp.y (parse_type): Rewrite macro to use parser state.
8242 (yyparse): Redefine macro to ada_parse_internal.
8243 (pstate): New variable.
8244 (write_int, write_object_renaming, write_var_or_type,
8245 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
8246 type_int, type_long, type_long_long, type_float, type_double,
8247 type_long_double, type_char, type_boolean, type_system_address):
8248 Add "struct parser_state" argument.
8249 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
8250 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
8251 var_or_type, aggregate, aggregate_component_list,
8252 positional_list, others, component_group,
8253 component_associations): Update calls to write_exp* and similar
8254 functions in order to use parser state.
8255 (ada_parse, write_var_from_sym, write_int,
8256 write_exp_op_with_string, write_object_renaming,
8257 find_primitive_type, write_selectors, write_ambiguous_var,
8258 write_var_or_type, write_name_assoc, type_int, type_long,
8259 type_long_long, type_float, type_double, type_long_double,
8260 type_char, type_boolean, type_system_address): Add "struct
8261 parser_state" argument. Adjust function to use parser state.
8262 * ada-lang.c (parse): Likewise.
8263 * ada-lang.h: Forward declare "struct parser_state".
8264 (ada_parse): Add "struct parser_state" argument.
8265 * ada-lex.l (processInt, processReal): Likewise. Adjust all
8266 calls to both functions.
8267 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
8268 parser state.
8269 (yyparse): Redefine macro to f_parse_internal.
8270 (pstate): New variable.
8271 (parse_number): Add "struct parser_state" argument.
8272 (type_exp, exp, subrange, typebase): Update calls to write_exp*
8273 and similars in order to use parser state.
8274 (parse_number): Adjust code to use parser state.
8275 (yylex): Likewise.
8276 (f_parse): New function.
8277 * f-lang.h: Forward declare "struct parser_state".
8278 (f_parse): Add "struct parser_state" argument.
8279 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
8280 parser state.
8281 (yyparse): Redefine macro for java_parse_internal.
8282 (pstate): New variable.
8283 (push_expression_name, push_expression_name, insert_exp): Add
8284 "struct parser_state" argument.
8285 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
8286 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
8287 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
8288 PostIncrementExpression, PostDecrementExpression,
8289 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
8290 UnaryExpressionNotPlusMinus, CastExpression,
8291 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
8292 RelationalExpression, EqualityExpression, AndExpression,
8293 ExclusiveOrExpression, InclusiveOrExpression,
8294 ConditionalAndExpression, ConditionalOrExpression,
8295 ConditionalExpression, Assignment, LeftHandSide): Update
8296 calls to write_exp* and similars in order to use parser state.
8297 (parse_number): Ajust code to use parser state.
8298 (yylex): Likewise.
8299 (java_parse): New function.
8300 (push_variable): Add "struct parser_state" argument. Adjust
8301 code to user parser state.
8302 (push_fieldnames, push_qualified_expression_name,
8303 push_expression_name, insert_exp): Likewise.
8304 * jv-lang.h: Forward declare "struct parser_state".
8305 (java_parse): Add "struct parser_state" argument.
8306 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
8307 parser state.
8308 (yyparse): Redefine macro to m2_parse_internal.
8309 (pstate): New variable.
8310 (type_exp, exp, fblock, variable, type): Update calls to
8311 write_exp* and similars to use parser state.
8312 (yylex): Likewise.
8313 (m2_parse): New function.
8314 * m2-lang.h: Forward declare "struct parser_state".
8315 (m2_parse): Add "struct parser_state" argument.
8316 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
8317 * objc-lang.h: Forward declare "struct parser_state".
8318 (end_msglist): Add "struct parser_state" argument.
8319 * p-exp.y (parse_type): Rewrite macro to use parser state.
8320 (yyparse): Redefine macro to pascal_parse_internal.
8321 (pstate): New variable.
8322 (parse_number): Add "struct parser_state" argument.
8323 (type_exp, exp1, exp, qualified_name, variable): Update calls to
8324 write_exp* and similars in order to use parser state.
8325 (parse_number, yylex): Adjust code to use parser state.
8326 (pascal_parse): New function.
8327 * p-lang.h: Forward declare "struct parser_state".
8328 (pascal_parse): Add "struct parser_state" argument.
8329 * go-exp.y (parse_type): Rewrite macro to use parser state.
8330 (yyparse): Redefine macro to go_parse_internal.
8331 (pstate): New variable.
8332 (parse_number): Add "struct parser_state" argument.
8333 (type_exp, exp1, exp, variable, type): Update calls to
8334 write_exp* and similars in order to use parser state.
8335 (parse_number, lex_one_token, classify_name, yylex): Adjust code
8336 to use parser state.
8337 (go_parse): Likewise.
8338 * go-lang.h: Forward declare "struct parser_state".
8339 (go_parse): Add "struct parser_state" argument.
8340
8341 2014-03-27 Doug Evans <dje@google.com>
8342
8343 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
8344
8345 2014-03-27 Doug Evans <dje@google.com>
8346
8347 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
8348 Remove argument abbrev_section. All callers updated.
8349
8350 2014-03-27 Doug Evans <dje@google.com>
8351
8352 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
8353 addr_base, ranges_base.
8354
8355 2014-03-26 Keith Seitz <keiths@redhat.com>
8356
8357 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
8358 types, not VAR_DOMAIN.
8359
8360 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
8361
8362 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
8363 "ra" registers.
8364 * features/nios2-linux.c: Regenerated.
8365 * features/nios2.c: Regenerated.
8366
8367 2014-03-25 Pedro Alves <palves@redhat.com>
8368
8369 * cli/cli-script.c (script_from_file): Force the interpreter to
8370 sync mode.
8371
8372 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8373
8374 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
8375 small stack allocation.
8376
8377 2014-03-24 Tristan Gingold <gingold@adacore.com>
8378
8379 * darwin-nat.c (exc_server): Remove unused prototype.
8380 (darwin_dump_message): Correctly display data on x86_64.
8381 (darwin_encode_reply): Fix style.
8382 Add comments and fix indentation.
8383
8384 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8385
8386 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
8387
8388 2014-03-22 Doug Evans <xdje42@gmail.com>
8389
8390 * infcmd.c: Whitespace fixes.
8391 (interrupt_command): Merge two function comments into one.
8392
8393 2014-03-22 Doug Evans <xdje42@gmail.com>
8394
8395 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
8396 All uses updated.
8397
8398 2014-03-22 Yao Qi <yao@codesourcery.com>
8399
8400 * remote.c (target_read_live_memory): Remove.
8401 (memory_xfer_live_readonly_partial): Rename it to
8402 remote_xfer_live_readonly_partial. Remove argument 'object'.
8403 All callers updated. Call remote_read_bytes_1
8404 instead of target_read_live_memory.
8405 * tracepoint.c (set_traceframe_number): Remove.
8406 (make_cleanup_restore_traceframe_number): Likewise .
8407 * tracepoint.h (set_traceframe_number): Remove declaration.
8408 (make_cleanup_restore_traceframe_number): Likewise.
8409
8410 2014-03-22 Yao Qi <yao@codesourcery.com>
8411
8412 * remote.c (remote_read_bytes): Move code on reading from the
8413 remote stub to ...
8414 (remote_read_bytes_1): ... here. New function.
8415
8416 2014-03-22 Yao Qi <yao@codesourcery.com>
8417
8418 * ctf.c (ctf_xfer_partial): Check the return value of
8419 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
8420 return TARGET_XFER_UNAVAILABLE.
8421 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8422 * target.c (target_read_live_memory): Move it to remote.c.
8423 (memory_xfer_live_readonly_partial): Likewise.
8424 (memory_xfer_partial_1): Move some code to remote_read_bytes.
8425 * remote.c (target_read_live_memory): Moved from target.c.
8426 (memory_xfer_live_readonly_partial): Likewise.
8427 (remote_read_bytes): Factored out from
8428 memory_xfer_partial_1.
8429
8430 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
8431
8432 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
8433 NULL pointer.
8434
8435 2014-03-21 Pedro Alves <palves@redhat.com>
8436
8437 * infrun.c (normal_stop): Extend comment.
8438
8439 2014-03-21 Hui Zhu <hui@codesourcery.com>
8440 Pedro Alves <palves@redhat.com>
8441
8442 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
8443 static buffer.
8444 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
8445 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
8446 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
8447
8448 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
8449
8450 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
8451 `z' formatted output modifier.
8452
8453 2014-03-20 Tom Tromey <tromey@redhat.com>
8454 Sergio Durigan Junior <sergiodj@redhat.com>
8455
8456 * probe.c (parse_probes): Turn assert into an ordinary error.
8457 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
8458 exceptions when parsing probes. Rearrange the code for clarity.
8459
8460 2014-03-20 Tom Tromey <tromey@redhat.com>
8461
8462 PR gdb/14135
8463 * top.c (execute_command): Only dispatch events if the command
8464 started the target.
8465
8466 2014-03-20 Tom Tromey <tromey@redhat.com>
8467
8468 PR cli/15718
8469 * infcall.c: Include event-top.h.
8470 (run_inferior_call): Call async_disable_stdin if needed.
8471
8472 2014-03-20 Pedro Alves <palves@redhat.com>
8473
8474 * infrun.c (prepare_to_proceed): Delete.
8475 (thread_still_needs_step_over): New function.
8476 (find_thread_needs_step_over): New function.
8477 (proceed): If the current thread needs a step-over, set its
8478 steping_over_breakpoint flag. Adjust to use
8479 find_thread_needs_step_over instead of prepare_to_proceed.
8480 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
8481 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
8482 breakpoint.
8483 (switch_back_to_stepped_thread): Step over breakpoints of all
8484 threads not the stepping thread, before switching back to the
8485 stepping thread.
8486
8487 2014-03-20 Pedro Alves <palves@redhat.com>
8488
8489 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
8490 extern.
8491 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
8492 * infrun.c (saved_singlestep_ptid)
8493 (stepping_past_singlestep_breakpoint): Delete.
8494 (resume): Remove stepping_past_singlestep_breakpoint handling.
8495 (proceed): Store the prev_pc of the stepping thread too.
8496 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
8497 singlestep_pc.
8498 (enum infwait_states): Delete infwait_thread_hop_state.
8499 (struct execution_control_state) <hit_singlestep_breakpoint>: New
8500 field.
8501 (handle_inferior_event): Adjust.
8502 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
8503 handling and the thread-hop code. Before removing single-step
8504 breakpoints, check whether the thread hit a single-step breakpoint
8505 of another thread. If it did, the trap is not a random signal.
8506 (switch_back_to_stepped_thread): If the event thread hit a
8507 single-step breakpoint, unblock it before switching to the
8508 stepping thread. Handle the case of the stepped thread having
8509 advanced already.
8510 (keep_going): Handle the case of the current thread moving past a
8511 single-step breakpoint.
8512
8513 2014-03-20 Pedro Alves <palves@redhat.com>
8514
8515 PR breakpoints/7143
8516 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
8517 are being stepped over.
8518 (breakpoint_address_match): Make extern.
8519 * breakpoint.h (breakpoint_address_match): New declaration.
8520 * inferior.h (stepping_past_instruction_at): New declaration.
8521 * infrun.c (struct step_over_info): New type.
8522 (step_over_info): New global.
8523 (set_step_over_info, clear_step_over_info)
8524 (stepping_past_instruction_at): New functions.
8525 (handle_inferior_event): Clear the step-over info when
8526 trap_expected is cleared.
8527 (resume): Remove now stale comment.
8528 (clear_proceed_status): Clear step-over info.
8529 (proceed): Adjust step-over handling to set or clear the step-over
8530 info instead of removing all breakpoints.
8531 (handle_signal_stop): When setting up a thread-hop, don't remove
8532 breakpoints here.
8533 (stop_stepping): Clear step-over info.
8534 (keep_going): Adjust step-over handling to set or clear step-over
8535 info and then always inserting breakpoints, instead of removing
8536 all breakpoints when stepping over one.
8537
8538 2014-03-20 Pedro Alves <palves@redhat.com>
8539
8540 * infrun.c (previous_inferior_ptid): Adjust comment.
8541 (deferred_step_ptid): Delete.
8542 (infrun_thread_ptid_changed, prepare_to_proceed)
8543 (init_wait_for_inferior): Adjust.
8544 (handle_signal_stop): Delete deferred_step_ptid handling.
8545
8546 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8547
8548 PR gdb/15358
8549 * defs.h (sync_quit_force_run): New declaration.
8550 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
8551 * event-top.c (async_sigterm_handler): New declaration.
8552 (async_sigterm_token): New variable.
8553 (async_init_signals): Create also async_sigterm_token.
8554 (async_sigterm_handler): New function.
8555 (sync_quit_force_run): New variable.
8556 (handle_sigterm): Replace quit_force call by other calls.
8557 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
8558
8559 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
8560
8561 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
8562 offset into SPE pseudo registers.
8563
8564 2014-03-18 Pedro Alves <palves@redhat.com>
8565
8566 PR gdb/13860
8567 * inferior.h (print_stop_event): Declare.
8568 * infrun.c (print_stop_event): New, factored out from ...
8569 (normal_stop): ... this.
8570 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
8571 of bpstat_print/print_stack_frame.
8572
8573 2014-03-17 Tom Tromey <tromey@redhat.com>
8574
8575 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
8576
8577 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
8578
8579 * ada-lang.c (decode_constrained_packed_array): Perform a
8580 minimal coercion for reference with coerce_ref instead of
8581 ada_coerce_ref.
8582
8583 2014-03-17 Tristan Gingold <gingold@adacore.com>
8584
8585 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
8586 (darwin_solib_create_inferior_hook): Emit a warning if version
8587 is unhandled.
8588
8589 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
8590
8591 * python/py-value.c (get_field_flag): Cast flag_name argument to
8592 PyObject_GetAttrString to support Python 2.4.
8593
8594 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8595
8596 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
8597 (Global Maintainers): Remove Jan Kratochvil.
8598
8599 2014-03-14 Pedro Alves <palves@redhat.com>
8600
8601 * inferior.h (terminal_ours_for_output): Rename to ...
8602 (child_terminal_ours_for_output): ... this.
8603 (terminal_save_ours): Rename to ...
8604 (child_terminal_save_ours): ... this.
8605 (terminal_ours): Rename to ...
8606 (child_terminal_ours): ... this.
8607 (terminal_inferior): Rename to ...
8608 (child_terminal_inferior): ... this.
8609 (terminal_init_inferior): Rename to ...
8610 (child_terminal_init_inferior): ... this.
8611 (terminal_init_inferior_with_pgrp): Rename to ...
8612 (child_terminal_init_inferior_with_pgrp): ... this.
8613 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
8614 (child_terminal_init_with_pgrp): ... this.
8615 (terminal_save_ours): Rename to ...
8616 (child_terminal_save_ours): ... this.
8617 (terminal_init_inferior): Rename to ...
8618 (child_terminal_init): ... this. Adjust.
8619 (terminal_inferior): Rename to ...
8620 (child_terminal_inferior): ... this.
8621 (terminal_ours_for_output): Rename to ...
8622 (child_terminal_ours_for_output): ... this. Adjust.
8623 (terminal_ours): Rename to ...
8624 (child_terminal_ours): ... this.
8625 (terminal_ours_1): Rename to ...
8626 (child_terminal_ours_1): ... this. Adjust.
8627 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
8628 * windows-nat.c (do_initial_windows_stuff): Adjust.
8629 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
8630 (gnu_terminal_init): ... this. Adjust.
8631 (gnu_target): Adjust.
8632 * inf-child.c (inf_child_target): Adjust.
8633
8634 2014-03-13 Doug Evans <xdje42@gmail.com>
8635
8636 PR guile/16612
8637 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
8638 new eq?-hashtab.
8639
8640 2014-03-13 Doug Evans <xdje42@gmail.com>
8641
8642 * value.c (record_latest_value): Call release_value_or_incref
8643 instead of release_value.
8644
8645 2014-03-13 Pedro Alves <palves@redhat.com>
8646
8647 * procfs.c (procfs_target): Don't override to_shortname,
8648 to_longname or to_doc.
8649
8650 2014-03-13 Pedro Alves <palves@redhat.com>
8651
8652 * inf-child.c (inf_child_open, inf_child_target): Don't mention
8653 Unix in user visible strings.
8654
8655 2014-03-12 Stan Shebs <stan@codesourcery.com>
8656
8657 * gdbtypes.h: Annotate comments for Doxygen, add a page
8658 block comment with some general info.
8659
8660 2014-03-12 Pedro Alves <palves@redhat.com>
8661
8662 * infcmd.c (prepare_execution_command): New function, factored out
8663 from several execution commands.
8664 (run_command_1, continue_command, step_1, jump_command)
8665 (signal_command, until_command, advance_command, finish_command)
8666 (attach_command): Use prepare_execution_command.
8667
8668 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
8669
8670 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
8671 (MAX_BPTS): Define.
8672 (MAX_WPTS): Define.
8673 (struct arm_linux_thread_points): Removed.
8674 (struct arm_linux_process_info): New.
8675 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
8676 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
8677 (arm_linux_find_breakpoints_by_tid): Removed.
8678 (struct arch_lwp_info): New.
8679 (arm_linux_find_process_pid): New functions.
8680 (arm_linux_add_process): New functions.
8681 (arm_linux_process_info_get): New functions.
8682 (arm_linux_forget_process): New function.
8683 (arm_linux_get_debug_reg_state): New function.
8684 (struct update_registers_data): New.
8685 (update_registers_callback): New function.
8686 (arm_linux_insert_hw_breakpoint1): Updated.
8687 (arm_linux_remove_hw_breakpoint1): Updated.
8688 (arm_linux_insert_hw_breakpoint): Updated.
8689 (arm_linux_remove_hw_breakpoint): Updated.
8690 (arm_linux_insert_watchpoint): Updated.
8691 (arm_linux_remove_watchpoint): Updated.
8692 (arm_linux_new_thread): Updated.
8693 (arm_linux_prepare_to_resume): New function.
8694 (arm_linux_new_fork): New function.
8695 (_initialize_arm_linux_nat): Updated.
8696
8697 2014-03-12 Pedro Alves <palves@redhat.com>
8698
8699 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
8700
8701 2014-03-12 Tom Tromey <tromey@redhat.com>
8702
8703 * inf-child.c (return_zero): New function.
8704 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
8705 * aix-thread.c (aix_thread_inferior_created): New function.
8706 (aix_thread_attach): Remove.
8707 (init_aix_thread_ops): Don't set to_attach.
8708 (_initialize_aix_thread): Register inferior_created observer.
8709 * corelow.c (init_core_ops): Don't set to_attach or
8710 to_create_inferior.
8711 * exec.c (init_exec_ops): Don't set to_attach or
8712 to_create_inferior.
8713 * infcmd.c (run_command_1): Use find_run_target. Make direct
8714 target calls.
8715 (attach_command): Use find_attach_target. Make direct target
8716 calls.
8717 * record-btrace.c (init_record_btrace_ops): Don't set
8718 to_create_inferior.
8719 * record-full.c (record_full_can_async_p, record_full_is_async_p):
8720 Remove.
8721 (init_record_full_ops, init_record_full_core_ops): Update. Don't
8722 set to_create_inferior.
8723 * target.c (complete_target_initialization): Add assertion.
8724 (target_create_inferior): Remove.
8725 (find_default_attach, find_default_create_inferior): Remove.
8726 (find_attach_target, find_run_target): New functions.
8727 (find_default_is_async_p, find_default_can_async_p)
8728 (target_supports_non_stop, target_attach): Remove.
8729 (init_dummy_target): Don't set to_create_inferior or
8730 to_supports_non_stop.
8731 * target.h (struct target_ops) <to_attach>: Add comment. Remove
8732 TARGET_DEFAULT_FUNC.
8733 <to_create_inferior>: Add comment.
8734 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
8735 TARGET_DEFAULT_RETURN.
8736 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
8737 (find_attach_target, find_run_target): Declare.
8738 (target_create_inferior): Remove.
8739 (target_has_execution_1): Update comment.
8740 (target_supports_non_stop): Remove.
8741 * target-delegates.c: Rebuild.
8742
8743 2014-03-12 Pedro Alves <palves@redhat.com>
8744
8745 * inf-child.h: Update comment to not mention Unix.
8746
8747 2014-03-12 Pedro Alves <palves@redhat.com>
8748
8749 * inf-child.c: Update top comment to not mention Unix. Add
8750 generic comment describing how this target is meant to be used.
8751 (inf_child_post_attach, inf_child_post_startup_inferior)
8752 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
8753 Unix in comment.
8754
8755 2014-03-12 Pedro Alves <palves@redhat.com>
8756
8757 * nto-procfs.c: Include inf-child.h.
8758 (procfs_ops): Delete global.
8759 (procfs_can_run): Delete method.
8760 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
8761 target pointer instead of referencing procfs_ops.
8762 (procfs_prepare_to_store): Delete.
8763 (init_procfs_ops): Delete function.
8764 (procfs_target): New function, based on init_procfs_ops, but
8765 inherit inf_child_target.
8766 (_initialize_procfs): Use procfs_target.
8767
8768 2014-03-12 Pedro Alves <palves@redhat.com>
8769
8770 * windows-nat.c: Include inf-child.h.
8771 (windows_ops): Delete global.
8772 (windows_open, windows_prepare_to_store, windows_can_run): Delete
8773 methods.
8774 (init_windows_ops): Delete function.
8775 (windows_target): New function, based on init_windows_ops, but
8776 inherit inf_child_target.
8777 (_initialize_windows_nat): Use windows_target. Install x86
8778 specific target methods here.
8779
8780 2014-03-10 Doug Evans <xdje42@gmail.com>
8781
8782 * guile/guile.c (call_initialize_gdb_module): New function.
8783 (initialize_guile): Replace call to scm_init_guile with call to
8784 scm_with_guile.
8785
8786 2014-03-10 Joel Brobecker <brobecker@adacore.com>
8787
8788 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
8789 in call to TYPE_CODE macro.
8790
8791 2014-03-10 Jerome Guitton <guitton@adacore.com>
8792
8793 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
8794 Resolve tagged types to full view.
8795
8796 2014-03-10 Hui Zhu <hui@codesourcery.com>
8797
8798 * target.h (target_insert_breakpoint): Remove "hardware" from its
8799 comments.
8800
8801 2014-03-07 Doug Evans <dje@google.com>
8802
8803 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
8804
8805 2014-03-07 Doug Evans <dje@google.com>
8806
8807 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
8808 Remove unused local comp_dir_attr. Assert exactly one of
8809 stub_comp_unit_die, stub_comp_dir is non-NULL.
8810
8811 2014-03-07 Joel Brobecker <brobecker@adacore.com>
8812
8813 * target.h (complete_target_initialization, add_target):
8814 Add comment.
8815
8816 2014-03-07 Pedro Alves <palves@redhat.com>
8817
8818 * go32-nat.c: Include inf-child.h.
8819 (go32_ops): Delete global.
8820 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
8821 Delete methods.
8822 (go32_create_inferior): Push the passed in target pointer instead
8823 of referencing go32_ops.
8824 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
8825 (go32_target): New function, based on init_go32_ops, but inherit
8826 inf_child_target.
8827 (_initialize_go32_nat): Use go32_target. Move parts of
8828 init_go32_ops here.
8829
8830 2014-03-06 Joel Brobecker <brobecker@adacore.com>
8831
8832 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
8833 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
8834 SYMBOL_VALUE_ADDRESS.
8835 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
8836
8837 2014-03-06 Yao Qi <yao@codesourcery.com>
8838
8839 * breakpoint.c (get_tracepoint_by_number): Remove argument
8840 optional_p. All callers updated. Adjust comments. Update
8841 output message.
8842 * breakpoint.h (get_tracepoint_by_number): Update declaration.
8843
8844 2014-03-06 Yao Qi <yao@codesourcery.com>
8845
8846 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
8847 early if get_number returns zero. Use 'p' instead of 'args'.
8848
8849 2014-03-06 Yao Qi <yao@codesourcery.com>
8850
8851 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
8852 message.
8853
8854 2014-03-06 Yao Qi <yao@codesourcery.com>
8855
8856 PR breakpoints/16508
8857 * tracepoint.c (check_trace_running): New function.
8858 (trace_find_command): Move code to check_trace_running and
8859 call check_trace_running.
8860 (trace_find_pc_command): Likewise.
8861 (trace_find_tracepoint_command): Likewise.
8862 (trace_find_line_command): Likewise.
8863 (trace_find_range_command): Likewise.
8864 * tracepoint.h (check_trace_running): Likewise.
8865 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
8866
8867 2014-03-06 Yao Qi <yao@codesourcery.com>
8868
8869 * target.h (struct target_ops) <to_traceframe_info>: Use
8870 TARGET_DEFAULT_NORETURN (tcomplain ()).
8871 * target-delegates.c: Regenerated.
8872
8873 2014-03-05 Pedro Alves <palves@redhat.com>
8874
8875 PR gdb/16575
8876 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
8877 void. Update comment.
8878 (dcache_xfer_memory): Delete.
8879 (dcache_read_memory_partial): New, based on the read bits of
8880 dcache_xfer_memory.
8881 (dcache_update): Add status parameter. Use ULONGEST for len, and
8882 adjust. Discard cache lines if the reason for the update was
8883 error.
8884 * dcache.h (dcache_xfer_memory): Delete declaration.
8885 (dcache_read_memory_partial): New declaration.
8886 (dcache_update): Update prototype.
8887 * target.c (raw_memory_xfer_partial): Update the dcache here.
8888 (memory_xfer_partial_1): Don't handle dcache writes here.
8889
8890 2014-03-05 Mike Frysinger <vapier@gentoo.org>
8891
8892 * remote-sim.c (gdbsim_load): Add const to prog.
8893
8894 2014-03-03 Tom Tromey <tromey@redhat.com>
8895
8896 * elfread.c (probe_key): Change to bfd_data.
8897 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
8898 now per-BFD, not per-objfile.
8899 * stap-probe.c (stap_probe_destroy): Update comment.
8900 (handle_stap_probe): Allocate on the per-BFD obstack.
8901
8902 2014-03-03 Tom Tromey <tromey@redhat.com>
8903
8904 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
8905 * breakpoint.c (create_longjmp_master_breakpoint): Use
8906 get_probe_address.
8907 (add_location_to_breakpoint, bkpt_probe_insert_location)
8908 (bkpt_probe_remove_location): Update.
8909 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
8910 * elfread.c (elf_symfile_relocate_probe): Remove.
8911 (elf_probe_fns): Update.
8912 (insert_exception_resume_breakpoint): Change type of "probe"
8913 parameter to bound_probe.
8914 (check_exception_resume): Update.
8915 * objfiles.c (objfile_relocate1): Don't relocate probes.
8916 * probe.c (bound_probe_s): New typedef.
8917 (parse_probes): Use get_probe_address. Set sal's objfile.
8918 (find_probe_by_pc): Return a bound_probe.
8919 (collect_probes): Return a VEC(bound_probe_s).
8920 (compare_probes): Update.
8921 (gen_ui_out_table_header_info): Change type of "probes"
8922 parameter. Update.
8923 (info_probes_for_ops): Update.
8924 (get_probe_address): New function.
8925 (probe_safe_evaluate_at_pc): Update.
8926 * probe.h (struct probe_ops) <get_probe_address>: New field.
8927 <set_semaphore, clear_semaphore>: Add objfile parameter.
8928 (struct probe) <objfile>: Remove field.
8929 <arch>: New field.
8930 <address>: Update comment.
8931 (struct bound_probe): New.
8932 (find_probe_by_pc): Return a bound_probe.
8933 (get_probe_address): Declare.
8934 * solib-svr4.c (struct probe_and_action) <address>: New field.
8935 (hash_probe_and_action, equal_probe_and_action): Update.
8936 (register_solib_event_probe): Add address parameter.
8937 (solib_event_probe_at): Update.
8938 (svr4_create_probe_breakpoints): Add objfile parameter. Use
8939 get_probe_address.
8940 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
8941 (stap_get_probe_address): New function.
8942 (stap_can_evaluate_probe_arguments, compute_probe_arg)
8943 (compile_probe_arg): Update.
8944 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
8945 address.
8946 (handle_stap_probe): Don't relocate the probe.
8947 (stap_relocate): Remove.
8948 (stap_gen_info_probes_table_values): Update.
8949 (stap_probe_ops): Remove stap_relocate.
8950 * symfile-debug.c (debug_sym_relocate_probe): Remove.
8951 (debug_sym_probe_fns): Update.
8952 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
8953 * symtab.c (init_sal): Use memset.
8954 * symtab.h (struct symtab_and_line) <objfile>: New field.
8955 * tracepoint.c (start_tracing, stop_tracing): Update.
8956
8957 2014-03-03 Tom Tromey <tromey@redhat.com>
8958
8959 * probe.h (parse_probes, find_probe_by_pc)
8960 (find_probes_in_objfile): Fix comments.
8961
8962 2014-03-02 Doug Evans <xdje42@gmail.com>
8963
8964 * infrun.c (handle_signal_stop): Replace test for
8965 TARGET_WAITKIND_STOPPED with an assert.
8966
8967 2014-03-02 Doug Evans <xdje42@gmail.com>
8968
8969 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
8970
8971 2014-03-02 Doug Evans <xdje42@gmail.com>
8972
8973 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
8974
8975 2014-03-01 Mark Kettenis <kettenis@gnu.org>
8976
8977 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
8978
8979 2014-03-01 Mark Kettenis <kettenis@gnu.org>
8980
8981 * i386obsd-nat.c: Include "obsd-nat.h".
8982 (_initialize_i386obsd_nat): Call obsd_add_target instead of
8983 add_target.
8984 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
8985
8986 2014-03-01 Mark Kettenis <kettenis@gnu.org>
8987
8988 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
8989
8990 2014-03-01 Mark Kettenis <kettenis@gnu.org>
8991
8992 * mips64obsd-nat.c: Include "obsd-nath".
8993 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
8994 add_target
8995 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
8996
8997 2014-03-01 Mark Kettenis <kettenis@gnu.org>
8998
8999 * amd64obsd-nat.c: Include "obsd-nat,h.
9000 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
9001 add_target.
9002 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9003
9004 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
9005
9006 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
9007 (find_overload_match): Update call to find_oload_champ.
9008 (find_oload_champ_namespace_loop): Likewise
9009
9010 2014-02-28 Mark Kettenis <kettenis@gnu.org>
9011
9012 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
9013
9014 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
9015 * config/sparc/obsd64.mh: New file.
9016 * sparc64obsd-nat.c: New file.
9017
9018 * obsd-nat.h: New file.
9019 * obsd-nat.c: New file.
9020 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
9021 (ALLDEPFILES): Add obsd-nat.c.
9022
9023 2014-02-28 Tom Tromey <tromey@redhat.com>
9024
9025 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
9026 * cli-out.h (cli_ui_out_impl): Now const.
9027 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
9028 * ui-out.c (struct ui_out) <impl>: Now const.
9029 (default_ui_out_impl): Now const.
9030 (ui_out_new): Make 'impl' parameter const.
9031 * ui-out.h (ui_out_new): Update.
9032
9033 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9034
9035 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
9036
9037 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9038
9039 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
9040
9041 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9042
9043 Additional PR 8882 fix.
9044 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
9045
9046 2014-02-27 Pedro Alves <palves@redhat.com>
9047
9048 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
9049 isn't set.
9050
9051 2014-02-27 Pedro Alves <palves@redhat.com>
9052
9053 PR 12702
9054 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
9055 * nat/linux-waitpid.c: Include string.h.
9056 (status_to_str): Moved here and made extern.
9057 * nat/linux-waitpid.h (status_to_str): New declaration.
9058
9059 2014-02-27 Hui Zhu <hui@codesourcery.com>
9060
9061 PR 12702
9062 * infrun.c (ptid_match): Move ...
9063 * common/ptid.c (ptid_match): ... here.
9064 * inferior.h (ptid_match): Move ...
9065 * common/ptid.h (ptid_match): ... here.
9066
9067 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9068
9069 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
9070 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
9071 gdb_target_obs.
9072
9073 2014-02-27 Mark Kettenis <kettenis@gnu.org>
9074
9075 * obsd-tdep.c (obsd_auxv_parse): New function.
9076 (obsd_init_abi): Set auxv_parse.
9077
9078 * gdbarch.sh (auxv_parse): New.
9079 * gdbarch.h: Regenerated.
9080 * gdbarch.c: Regenerated.
9081 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
9082
9083 2014-02-26 Ludovic Courtès <ludo@gnu.org>
9084
9085 * guile/scm-value.c (gdbscm_history_append_x): New function.
9086 (value_functions): Add it.
9087
9088 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9089
9090 * dwarf2read.c (attr_value_as_address): New function.
9091 (dwarf2_find_base_address, read_call_site_scope): Use
9092 attr_value_as_address in place of DW_ADDR.
9093 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
9094 the low and high addresses. Slight rework of the handling
9095 of the high pc being a constant form, and limit it to
9096 DWARF verson 4 or higher.
9097 (dwarf2_record_block_ranges): Likewise.
9098 (read_partial_die): Likewise.
9099 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
9100
9101 2014-02-26 Tom Tromey <tromey@redhat.com>
9102
9103 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
9104
9105 2014-02-26 Tom Tromey <tromey@redhat.com>
9106
9107 * elfread.c (elf_read_minimal_symbols): Return early if
9108 minimal symbols have already been read. Add "ei" parameter.
9109 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
9110 * minsyms.c (prim_record_minimal_symbol_full): Update.
9111 * objfiles.h (struct objstats) <n_minsyms>: Move...
9112 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
9113 * symmisc.c (print_objfile_statistics): Update.
9114
9115 2014-02-26 Tom Tromey <tromey@redhat.com>
9116
9117 * elfread.c (elf_read_minimal_symbols): New function, from
9118 elf_symfile_read.
9119 (elf_symfile_read): Call it.
9120
9121 2014-02-26 Tom Tromey <tromey@redhat.com>
9122
9123 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
9124 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
9125 (lookup_minimal_symbol_solib_trampoline)
9126 (lookup_minimal_symbol_by_pc_section_1)
9127 (lookup_minimal_symbol_and_objfile): Update.
9128 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
9129 Don't allocate a minimal symbol if minsyms have already been read.
9130 (build_minimal_symbol_hash_tables): Update.
9131 (install_minimal_symbols): Do nothing if minsyms already read.
9132 Use the per-BFD obstack.
9133 (terminate_minimal_symbol_table): Use the per-BFD obstack.
9134 * objfiles.c (allocate_objfile): Call
9135 terminate_minimal_symbol_table later.
9136 (have_minimal_symbols): Update.
9137 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
9138 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
9139 Move from struct objfile.
9140 <minsyms_read>: New field.
9141 (struct objfile) <msymbols, minimal_symbol_count,
9142 msymbol_hash, msymbol_demangled_hash>: Move.
9143 (ALL_OBJFILE_MSYMBOLS): Update.
9144 * symfile.c (read_symbols): Set minsyms_read.
9145 (reread_symbols): Update.
9146 * symmisc.c (dump_objfile, dump_msymbols): Update.
9147
9148 2014-02-26 Tom Tromey <tromey@redhat.com>
9149
9150 * minsyms.c (msymbols_sort): Remove.
9151 * minsyms.h (msymbols_sort): Remove.
9152 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
9153 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
9154 * elfread.c (elf_symtab_read): Don't add section offsets.
9155 * xcoffread.c (record_minimal_symbol): Don't add section offset
9156 to minimal symbol address.
9157 * somread.c (text_offset, data_offset): Remove.
9158 (som_symtab_read): Don't add section offsets to minimal symbol
9159 addresses.
9160 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
9161 Don't add section offsets to minimal symbols.
9162 * coffread.c (coff_symtab_read): Don't add section offsets
9163 to minimal symbol addresses.
9164 * machoread.c (macho_symtab_add_minsym): Don't add section offset
9165 to minimal symbol addresses.
9166 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
9167 section offset to minimal symbol addresses.
9168 * mdebugread.c (parse_partial_symbols): Don't add section
9169 offset to minimal symbol addresses.
9170 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
9171 offset to minimal symbol addresses.
9172
9173 2014-02-26 Tom Tromey <tromey@redhat.com>
9174
9175 * ada-lang.c (ada_main_name): Update.
9176 (ada_add_standard_exceptions): Update.
9177 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9178 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9179 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
9180 * auxv.c (ld_so_xfer_auxv): Update.
9181 * avr-tdep.c (avr_scan_prologue): Update.
9182 * ax-gdb.c (gen_var_ref): Update.
9183 * blockframe.c (get_pc_function_start)
9184 (find_pc_partial_function_gnu_ifunc): Update.
9185 * breakpoint.c (create_overlay_event_breakpoint)
9186 (create_longjmp_master_breakpoint)
9187 (create_std_terminate_master_breakpoint)
9188 (create_exception_master_breakpoint): Update.
9189 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9190 * c-valprint.c (c_val_print): Update.
9191 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9192 * common/agent.c (agent_look_up_symbols): Update.
9193 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9194 * dwarf2loc.c (call_site_to_target_addr): Update.
9195 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
9196 * elfread.c (elf_gnu_ifunc_record_cache)
9197 (elf_gnu_ifunc_resolve_by_got): Update.
9198 * findvar.c (default_read_var_value): Update.
9199 * frame.c (inside_main_func): Update.
9200 * frv-tdep.c (frv_frame_this_id): Update.
9201 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9202 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9203 Update.
9204 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
9205 (hppa_hpux_find_dummy_bpaddr): Update.
9206 * hppa-tdep.c (hppa_symbol_address): Update.
9207 * infcmd.c (until_next_command): Update.
9208 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
9209 Update.
9210 * linespec.c (minsym_found, add_minsym): Update.
9211 * linux-nat.c (get_signo): Update.
9212 * linux-thread-db.c (inferior_has_bug): Update.
9213 * m32c-tdep.c (m32c_return_value)
9214 (m32c_m16c_address_to_pointer): Update.
9215 * m32r-tdep.c (m32r_frame_this_id): Update.
9216 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9217 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9218 * maint.c (maintenance_translate_address): Update.
9219 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
9220 (frob_address): New function.
9221 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
9222 frob_address. Rename parameter to "pc_in".
9223 (compare_minimal_symbols, compact_minimal_symbols): Use raw
9224 addresses.
9225 (find_solib_trampoline_target, minimal_symbol_upper_bound):
9226 Update.
9227 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9228 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
9229 * objc-lang.c (find_objc_msgsend): Update.
9230 * objfiles.c (objfile_relocate1): Update.
9231 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9232 * p-valprint.c (pascal_val_print): Update.
9233 * parse.c (write_exp_msymbol): Update.
9234 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
9235 (ppc_elfv2_skip_entrypoint): Update.
9236 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9237 * printcmd.c (build_address_symbolic, msym_info)
9238 (address_info): Update.
9239 * proc-service.c (ps_pglobal_lookup): Update.
9240 * psymtab.c (find_pc_sect_psymtab_closer)
9241 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
9242 Change msymbol parameter to bound_minimal_symbol.
9243 * ravenscar-thread.c (get_running_thread_id): Update.
9244 * remote.c (remote_check_symbols): Update.
9245 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
9246 address.
9247 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9248 * solib-dsbt.c (lm_base): Update.
9249 * solib-frv.c (lm_base, main_got): Update.
9250 * solib-irix.c (locate_base): Update.
9251 * solib-som.c (som_solib_create_inferior_hook)
9252 (link_map_start): Update.
9253 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
9254 * solib-svr4.c (elf_locate_base, enable_break): Update.
9255 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9256 (flush_ea_cache): Update.
9257 * stabsread.c (define_symbol, scan_file_globals): Update.
9258 * stack.c (find_frame_funname): Update.
9259 * symfile-debug.c (debug_qf_expand_symtabs_matching)
9260 (debug_qf_find_pc_sect_symtab): Update.
9261 * symfile.c (simple_read_overlay_table)
9262 (simple_overlay_update): Update.
9263 * symfile.h (struct quick_symbol_functions)
9264 <find_pc_sect_symtab>: Change type of msymbol to
9265 bound_minimal_symbol.
9266 * symmisc.c (dump_msymbols): Update.
9267 * symtab.c (find_pc_sect_symtab_via_partial)
9268 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
9269 (search_symbols, print_msymbol_info): Update.
9270 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
9271 (MSYMBOL_VALUE_ADDRESS): Redefine.
9272 (BMSYMBOL_VALUE_ADDRESS): New macro.
9273 * tracepoint.c (scope_info): Update.
9274 * tui/tui-disasm.c (tui_find_disassembly_address)
9275 (tui_get_begin_asm_address): Update.
9276 * valops.c (find_function_in_inferior): Update.
9277 * value.c (value_static_field, value_fn_field): Update.
9278
9279 2014-02-26 Tom Tromey <tromey@redhat.com>
9280
9281 * ada-lang.c (ada_update_initial_language): Update.
9282 (ada_main_name, ada_has_this_exception_support): Update.
9283 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9284 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9285 * arm-tdep.c (arm_skip_stub): Update.
9286 * auxv.c (ld_so_xfer_auxv): Update.
9287 * avr-tdep.c (avr_scan_prologue): Update.
9288 * ax-gdb.c (gen_var_ref): Update.
9289 * breakpoint.c (struct breakpoint_objfile_data)
9290 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
9291 type to bound_minimal_symbol.
9292 (create_overlay_event_breakpoint)
9293 (create_longjmp_master_breakpoint)
9294 (create_std_terminate_master_breakpoint)
9295 (create_exception_master_breakpoint): Update.
9296 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9297 * c-exp.y (classify_name): Update.
9298 * coffread.c (coff_symfile_read): Update.
9299 * common/agent.c (agent_look_up_symbols): Update.
9300 * d-lang.c (d_main_name): Update.
9301 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9302 * dec-thread.c (enable_dec_thread): Update.
9303 * dwarf2loc.c (call_site_to_target_addr): Update.
9304 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
9305 * eval.c (evaluate_subexp_standard): Update.
9306 * findvar.c (struct minsym_lookup_data) <result>: Change type
9307 to bound_minimal_symbol.
9308 <objfile>: Remove.
9309 (minsym_lookup_iterator_cb, default_read_var_value): Update.
9310 * frame.c (inside_main_func): Update.
9311 * frv-tdep.c (frv_frame_this_id): Update.
9312 * gcore.c (call_target_sbrk): Update.
9313 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9314 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9315 Update.
9316 * go-lang.c (go_main_name): Update.
9317 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
9318 (hppa_hpux_find_import_stub_for_addr): Update.
9319 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
9320 Update. Change return type.
9321 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
9322 type.
9323 * jit.c (jit_breakpoint_re_set_internal): Update.
9324 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
9325 Update.
9326 * linux-nat.c (get_signo): Update.
9327 * linux-thread-db.c (inferior_has_bug): Update
9328 * m32c-tdep.c (m32c_return_value)
9329 (m32c_m16c_address_to_pointer): Update.
9330 * m32r-tdep.c (m32r_frame_this_id): Update.
9331 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9332 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9333 * minsyms.c (lookup_minimal_symbol_internal): Rename to
9334 lookup_minimal_symbol. Change return type.
9335 (lookup_minimal_symbol): Remove.
9336 (lookup_bound_minimal_symbol): Update.
9337 (lookup_minimal_symbol_text): Change return type.
9338 (lookup_minimal_symbol_solib_trampoline): Change return type.
9339 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
9340 (lookup_minimal_symbol_solib_trampoline): Change return type.
9341 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9342 * objc-lang.c (lookup_objc_class, lookup_child_selector)
9343 (value_nsstring, find_imps): Update.
9344 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9345 * p-lang.c (pascal_main_name): Update.
9346 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
9347 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9348 * proc-service.c (ps_pglobal_lookup): Update.
9349 * ravenscar-thread.c (get_running_thread_msymbol): Change
9350 return type.
9351 (has_ravenscar_runtime, get_running_thread_id): Update.
9352 * remote.c (remote_check_symbols): Update.
9353 * sol-thread.c (ps_pglobal_lookup): Update.
9354 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9355 * solib-dsbt.c (lm_base): Update.
9356 * solib-frv.c (lm_base, frv_relocate_section_addresses):
9357 Update.
9358 * solib-irix.c (locate_base): Update.
9359 * solib-som.c (som_solib_create_inferior_hook)
9360 (som_solib_desire_dynamic_linker_symbols, link_map_start):
9361 Update.
9362 * solib-spu.c (spu_enable_break): Update.
9363 * solib-svr4.c (elf_locate_base, enable_break): Update.
9364 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9365 (flush_ea_cache): Update.
9366 * stabsread.c (define_symbol): Update.
9367 * symfile.c (simple_read_overlay_table): Update.
9368 * symtab.c (find_pc_sect_line): Update.
9369 * tracepoint.c (scope_info): Update.
9370 * tui-disasm.c (tui_get_begin_asm_address): Update.
9371 * value.c (value_static_field): Update.
9372
9373 2014-02-26 Tom Tromey <tromey@redhat.com>
9374
9375 * minsyms.c (prim_record_minimal_symbol_full): Use
9376 SET_MSYMBOL_VALUE_ADDRESS.
9377 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
9378 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
9379 SET_MSYMBOL_VALUE_ADDRESS.
9380 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
9381 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
9382
9383 2014-02-26 Tom Tromey <tromey@redhat.com>
9384
9385 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
9386 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
9387 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
9388 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
9389 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
9390 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
9391 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
9392 * ada-lang.c (ada_main_name): Update.
9393 (ada_lookup_simple_minsym): Update.
9394 (ada_make_symbol_completion_list): Update.
9395 (ada_add_standard_exceptions): Update.
9396 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
9397 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9398 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
9399 * arm-tdep.c (skip_prologue_function): Update.
9400 (arm_skip_stack_protector, arm_skip_stub): Update.
9401 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
9402 (arm_wince_skip_main_prologue): Update.
9403 * auxv.c (ld_so_xfer_auxv): Update.
9404 * avr-tdep.c (avr_scan_prologue): Update.
9405 * ax-gdb.c (gen_var_ref): Update.
9406 * block.c (call_site_for_pc): Update.
9407 * blockframe.c (get_pc_function_start): Update.
9408 (find_pc_partial_function_gnu_ifunc): Update.
9409 * breakpoint.c (create_overlay_event_breakpoint): Update.
9410 (create_longjmp_master_breakpoint): Update.
9411 (create_std_terminate_master_breakpoint): Update.
9412 (create_exception_master_breakpoint): Update.
9413 (resolve_sal_pc): Update.
9414 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9415 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
9416 Update.
9417 * c-valprint.c (c_val_print): Update.
9418 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9419 * coffread.c (coff_symfile_read): Update.
9420 * common/agent.c (agent_look_up_symbols): Update.
9421 * dbxread.c (find_stab_function_addr): Update.
9422 (end_psymtab): Update.
9423 * dwarf2loc.c (call_site_to_target_addr): Update.
9424 (func_verify_no_selftailcall): Update.
9425 (tailcall_dump): Update.
9426 (call_site_find_chain_1): Update.
9427 (dwarf_expr_reg_to_entry_parameter): Update.
9428 * elfread.c (elf_gnu_ifunc_record_cache): Update.
9429 (elf_gnu_ifunc_resolve_by_got): Update.
9430 * f-valprint.c (info_common_command): Update.
9431 * findvar.c (read_var_value): Update.
9432 * frame.c (get_prev_frame_1): Update.
9433 (inside_main_func): Update.
9434 * frv-tdep.c (frv_skip_main_prologue): Update.
9435 (frv_frame_this_id): Update.
9436 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9437 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
9438 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
9439 (gnuv3_skip_trampoline): Update.
9440 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
9441 (hppa64_hpux_in_solib_call_trampoline): Update.
9442 (hppa_hpux_skip_trampoline_code): Update.
9443 (hppa64_hpux_search_dummy_call_sequence): Update.
9444 (hppa_hpux_find_import_stub_for_addr): Update.
9445 (hppa_hpux_find_dummy_bpaddr): Update.
9446 * hppa-tdep.c (hppa_symbol_address)
9447 (hppa_lookup_stub_minimal_symbol): Update.
9448 * i386-tdep.c (i386_skip_main_prologue): Update.
9449 (i386_pe_skip_trampoline_code): Update.
9450 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
9451 * infcall.c (get_function_name): Update.
9452 * infcmd.c (until_next_command): Update.
9453 * jit.c (jit_breakpoint_re_set_internal): Update.
9454 (jit_inferior_init): Update.
9455 * linespec.c (minsym_found): Update.
9456 (add_minsym): Update.
9457 * linux-fork.c (info_checkpoints_command): Update.
9458 * linux-nat.c (get_signo): Update.
9459 * linux-thread-db.c (inferior_has_bug): Update.
9460 * m32c-tdep.c (m32c_return_value): Update.
9461 (m32c_m16c_address_to_pointer): Update.
9462 (m32c_m16c_pointer_to_address): Update.
9463 * m32r-tdep.c (m32r_frame_this_id): Update.
9464 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9465 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9466 * maint.c (maintenance_translate_address): Update.
9467 * minsyms.c (add_minsym_to_hash_table): Update.
9468 (add_minsym_to_demangled_hash_table): Update.
9469 (msymbol_objfile): Update.
9470 (lookup_minimal_symbol): Update.
9471 (iterate_over_minimal_symbols): Update.
9472 (lookup_minimal_symbol_text): Update.
9473 (lookup_minimal_symbol_by_pc_name): Update.
9474 (lookup_minimal_symbol_solib_trampoline): Update.
9475 (lookup_minimal_symbol_by_pc_section_1): Update.
9476 (lookup_minimal_symbol_and_objfile): Update.
9477 (prim_record_minimal_symbol_full): Update.
9478 (compare_minimal_symbols): Update.
9479 (compact_minimal_symbols): Update.
9480 (build_minimal_symbol_hash_tables): Update.
9481 (install_minimal_symbols): Update.
9482 (terminate_minimal_symbol_table): Update.
9483 (find_solib_trampoline_target): Update.
9484 (minimal_symbol_upper_bound): Update.
9485 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9486 * mips-tdep.c (mips_stub_frame_sniffer): Update.
9487 (mips_skip_pic_trampoline_code): Update.
9488 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
9489 * objc-lang.c (selectors_info): Update.
9490 (classes_info): Update.
9491 (find_methods): Update.
9492 (find_imps): Update.
9493 (find_objc_msgsend): Update.
9494 * objfiles.c (objfile_relocate1): Update.
9495 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
9496 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9497 * p-valprint.c (pascal_val_print): Update.
9498 * parse.c (write_exp_msymbol): Update.
9499 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
9500 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
9501 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9502 * printcmd.c (build_address_symbolic): Update.
9503 (sym_info): Update.
9504 (address_info): Update.
9505 * proc-service.c (ps_pglobal_lookup): Update.
9506 * psymtab.c (find_pc_sect_psymtab_closer): Update.
9507 (find_pc_sect_psymtab): Update.
9508 * python/py-framefilter.c (py_print_frame): Update.
9509 * ravenscar-thread.c (get_running_thread_id): Update.
9510 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
9511 Update.
9512 * remote.c (remote_check_symbols): Update.
9513 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
9514 (rs6000_skip_trampoline_code): Update.
9515 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
9516 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9517 * solib-dsbt.c (lm_base): Update.
9518 * solib-frv.c (lm_base): Update.
9519 (main_got): Update.
9520 * solib-irix.c (locate_base): Update.
9521 * solib-som.c (som_solib_create_inferior_hook): Update.
9522 (som_solib_desire_dynamic_linker_symbols): Update.
9523 (link_map_start): Update.
9524 * solib-spu.c (spu_enable_break): Update.
9525 (ocl_enable_break): Update.
9526 * solib-svr4.c (elf_locate_base): Update.
9527 (enable_break): Update.
9528 * spu-tdep.c (spu_get_overlay_table): Update.
9529 (spu_catch_start): Update.
9530 (flush_ea_cache): Update.
9531 * stabsread.c (define_symbol): Update.
9532 (scan_file_globals): Update.
9533 * stack.c (find_frame_funname): Update.
9534 (frame_info): Update.
9535 * symfile.c (simple_read_overlay_table): Update.
9536 (simple_overlay_update): Update.
9537 * symmisc.c (dump_msymbols): Update.
9538 * symtab.c (fixup_section): Update.
9539 (find_pc_sect_line): Update.
9540 (skip_prologue_sal): Update.
9541 (search_symbols): Update.
9542 (print_msymbol_info): Update.
9543 (rbreak_command): Update.
9544 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
9545 (completion_list_objc_symbol): Update.
9546 (default_make_symbol_completion_list_break_on): Update.
9547 * tracepoint.c (scope_info): Update.
9548 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
9549 (tui_get_begin_asm_address): Update.
9550 * valops.c (find_function_in_inferior): Update.
9551 * value.c (value_static_field): Update.
9552 (value_fn_field): Update.
9553
9554 2014-02-26 Tom Tromey <tromey@redhat.com>
9555
9556 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
9557 bound minimal symbols. Move code that knows about minsym
9558 table layout...
9559 * minsyms.c (minimal_symbol_upper_bound): ... here. New
9560 function.
9561 * minsyms.h (minimal_symbol_upper_bound): Declare.
9562 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
9563 minimal_symbol_upper_bound.
9564
9565 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9566
9567 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
9568 Use the type's name if its basic type does not have a tag.
9569
9570 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9571
9572 * dwarf2read.c (read_subrange_type): Add comment.
9573
9574 2014-02-27 Joel Brobecker <brobecker@adacore.com>
9575
9576 * dwarf2read.c (update_enumeration_type_from_children): New
9577 function, mostly extracted from process_structure_scope.
9578 (read_enumeration_type): Call update_enumeration_type_from_children.
9579 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
9580 and flag_flag_enum fields.
9581
9582 2014-02-26 Pedro Alves <palves@redhat.com>
9583
9584 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
9585 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
9586 to_xfer_partial method.
9587
9588 2014-02-26 Pedro Alves <palves@redhat.com>
9589
9590 * target.c (complete_target_initialization): Don't install
9591 default_xfer_partial as to_xfer_partial hook.
9592 (nomemory): Delete.
9593 (update_current_target): Don't INHERIT nor de_fault
9594 deprecated_xfer_memory. Delete de_fault macro.
9595 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
9596 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
9597 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
9598 field.
9599
9600 2014-02-26 Pedro Alves <palves@redhat.com>
9601
9602 * go32-nat.c (my_write_child): New function.
9603 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
9604 (go32_xfer_partial): New function.
9605 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
9606 Instead install a to_xfer_partial hook.
9607
9608 2014-02-26 Pedro Alves <palves@redhat.com>
9609
9610 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
9611 to_xfer_partial helper. Rewrite.
9612 (procfs_xfer_partial): New function.
9613 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
9614 Install a to_xfer_partial hook.
9615
9616 2014-02-26 Pedro Alves <palves@redhat.com>
9617
9618 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
9619 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
9620 (m32r_xfer_partial): New function.
9621 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
9622 Install a to_xfer_partial hook.
9623
9624 2014-02-26 Pedro Alves <palves@redhat.com>
9625
9626 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
9627 helper.
9628 (mips_xfer_partial): New function.
9629 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
9630 hook. Install a to_xfer_partial hook.
9631
9632 2014-02-26 Joel Brobecker <brobecker@adacore.com>
9633
9634 * gdbtypes.h (create_array_type_with_stride): Add declaration.
9635 * gdbtypes.c (create_array_type_with_stride): New function,
9636 renaming create_array_type, but with an added parameter
9637 called "bit_stride".
9638 (create_array_type): Re-implement using
9639 create_array_type_with_stride.
9640 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
9641 and DW_AT_bit_stride attributes.
9642
9643 2014-02-26 Pedro Alves <palves@redhat.com>
9644
9645 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
9646 task-specific breakpoints.
9647
9648 2014-02-25 Pedro Alves <palves@redhat.com>
9649
9650 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
9651 handling of object == TARGET_OBJECT_UNWIND_TABLE.
9652
9653 2014-02-25 Stan Shebs <stan@codesourcery.com>
9654
9655 * defs.h: Annotate comments for Doxygen.
9656
9657 2014-02-25 Tom Tromey <tromey@redhat.com>
9658
9659 * target.h (target_ignore): Don't declare.
9660 * target.c (target_ignore): Remove.
9661
9662 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9663
9664 PR gdb/16626
9665 * auto-load.c (auto_load_objfile_script_1): Change filename to
9666 debugfile.
9667
9668 2014-02-25 Joel Brobecker <brobecker@adacore.com>
9669
9670 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
9671 documentation. Adjust prototype to match the target_ops
9672 to_xfer_partial method. Adjust implementation accordingly.
9673
9674 2014-02-25 Hui Zhu <hui@codesourcery.com>
9675
9676 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
9677 to_traceframe_info.
9678
9679 2014-02-25 Kevin Buettner <kevinb@redhat.com>
9680
9681 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
9682 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
9683 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
9684 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
9685 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
9686 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
9687 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
9688 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
9689 New constants.
9690 (rl78_register_type): Use a data pointer type for SP and
9691 new pseudo registers mentioned above. Use a 16 bit integer
9692 type for all other register pairs.
9693 (rl78_register_name, rl78_g10_register_name): Update for
9694 new pseudo registers.
9695 (rl78_pseudo_register_read): Likewise.
9696 (rl78_pseudo_register_write): Likewise.
9697 (rl78_dwarf_reg_to_regnum): Return register numbers representing
9698 to the newly added pseudo registers.
9699
9700 2014-02-24 Doug Evans <dje@google.com>
9701
9702 * value.c (record_latest_value): Fix comment.
9703 * printcmd.c (print_command_1): Remove code to handle -1 return from
9704 record_latest_value.
9705
9706 2014-02-24 Pedro Alves <palves@redhat.com>
9707
9708 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
9709 deprecated_xfer_memory hook.
9710 (procfs_xfer_partial): Call procfs_xfer_memory instead
9711 of the deprecated_xfer_memory target hook.
9712 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
9713 helper.
9714
9715 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
9716
9717 * windows-nat.c (windows_xfer_shared_libraries): Return
9718 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
9719 requested object is TARGET_OBJECT_LIBRARIES.
9720
9721 2014-02-24 Yao Qi <yao@codesourcery.com>
9722
9723 * target.h (enum target_xfer_status)
9724 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
9725 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
9726 explicitly. New.
9727 * corefile.c (memory_error_message): User updated.
9728 * exec.c (section_table_read_available_memory): Likewise.
9729 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9730 * target.c (target_xfer_status_to_string): Likewise.
9731 (raw_memory_xfer_partial): Likewise.
9732 (memory_xfer_partial_1, target_xfer_partial): Likewise.
9733 * valops.c (read_value_memory): Likewise.
9734 * exec.h: Update comments.
9735
9736 2014-02-24 Yao Qi <yao@codesourcery.com>
9737
9738 * target.c (target_xfer_status_to_string): Rename argument err
9739 to status.
9740 * target.h (target_xfer_status_to_string): Update declaration.
9741 Replace target_xfer_error_to_string with
9742 target_xfer_status_to_string in comment.
9743
9744 2014-02-24 Yao Qi <yao@codesourcery.com>
9745
9746 * mips-linux-nat.c (super_close): Update its type.
9747 (mips_linux_close): Pass 'self' to super_close.
9748
9749 2014-02-24 Yao Qi <yao@codesourcery.com>
9750
9751 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
9752 * corefile.c (read_memory): Adjusted.
9753 * target.c (target_write_with_progress): Adjusted.
9754
9755 2014-02-23 Yao Qi <yao@codesourcery.com>
9756
9757 Revert two patches:
9758
9759 2013-10-25 Yao Qi <yao@codesourcery.com>
9760
9761 * remote.c (remote_traceframe_info): Return early if
9762 traceframe is not selected.
9763
9764 2013-07-19 Yao Qi <yao@codesourcery.com>
9765
9766 * target.c (update_current_target): Change the default action
9767 of 'to_traceframe_info' from tcomplain to return_zero.
9768 * target.h (struct target_ops) <to_traceframe_info>: Add more
9769 comments.
9770
9771 2014-02-23 Yao Qi <yao@codesourcery.com>
9772
9773 * valops.c (read_value_memory): Rewrite it. Call
9774 target_xfer_partial in a loop.
9775 * exec.h (section_table_available_memory): Remove declaration.
9776 Move comments to ...
9777 * exec.c (section_table_available_memory): ... here. Make it
9778 static.
9779
9780 2014-02-23 Yao Qi <yao@codesourcery.com>
9781
9782 * exec.c (section_table_read_available_memory): New function.
9783 * exec.h (section_table_read_available_memory): Declare.
9784 * ctf.c (ctf_xfer_partial): Call
9785 section_table_read_available_memory.
9786 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9787
9788 2014-02-23 Yao Qi <yao@codesourcery.com>
9789
9790 * ctf.c (ctf_xfer_partial): Move code to ...
9791 * exec.c (exec_read_partial_read_only): ... it. New function.
9792 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9793 * tracefile.c: Include "exec.h".
9794 * exec.h (exec_read_partial_read_only): Declare.
9795
9796 2014-02-23 Yao Qi <yao@codesourcery.com>
9797
9798 * tracefile-tfile.c (tfile_has_all_memory): Remove.
9799 (tfile_has_memory): Remove.
9800 (init_tfile_ops): Don't set fields to_has_all_memory and
9801 to_has_memory of tfile_ops.
9802 * tracefile.c (tracefile_has_all_memory): New function.
9803 (tracefile_has_memory): New function.
9804 (init_tracefile_ops): Initialize fields to_has_all_memory and
9805 to_has_memory of 'ops'.
9806
9807 2014-02-23 Yao Qi <yao@codesourcery.com>
9808
9809 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
9810 (ctf_thread_alive, ctf_get_trace_status): Remove.
9811 (init_ctf_ops): Don't set some fields of ctf_ops. Call
9812 init_tracefile_ops.
9813 * tracefile-tfile.c (tfile_get_trace_status): Remove.
9814 (tfile_has_stack, tfile_has_registers): Remove.
9815 (tfile_thread_alive): Remove.
9816 (init_tfile_ops): Don't set some fields of tfile_ops. Call
9817 init_tracefile_ops.
9818 * tracefile.c (tracefile_has_stack): New function.
9819 (tracefile_has_registers): New function.
9820 (tracefile_thread_alive): New function.
9821 (tracefile_get_trace_status): New function.
9822 (init_tracefile_ops): New function.
9823 * tracefile.h (init_tracefile_ops): Declare.
9824
9825 2014-02-23 Yao Qi <yao@codesourcery.com>
9826
9827 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
9828 (O_LARGEFILE): Likewise.
9829 (tfile_ops): Likewise.
9830 (TRACE_HEADER_SIZE): Likewise.
9831 (trace_fd, trace_frames_offset, cur_offset): Likewise.
9832 (cur_data_size): Likewise.
9833 (tfile_read, tfile_open, tfile_interp_line): Likewise.
9834 (tfile_close, tfile_files_info): Likewise.
9835 (tfile_get_trace_status): Likewise.
9836 (tfile_get_tracepoint_status): Likewise.
9837 (tfile_get_traceframe_address): Likewise.
9838 (tfile_trace_find, match_blocktype): Likewise.
9839 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
9840 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
9841 (tfile_get_trace_state_variable_value): Likewise.
9842 (tfile_has_all_memory, tfile_has_memory): Likewise.
9843 (tfile_has_stack, tfile_has_registers): Likewise.
9844 (tfile_thread_alive, build_traceframe_info): Likewise.
9845 (tfile_traceframe_info, init_tfile_ops): Likewise.
9846 (_initialize_tracepoint): Don't call init_tfile_ops
9847 and add_target_with_completer.
9848 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
9849 exec.h, completer.h and filenames.h.
9850 (_initialize_tracefile_tfile): New function.
9851
9852 2014-02-23 Yao Qi <yao@codesourcery.com>
9853
9854 * Makefile.in (REMOTE_OBS): Append tracefile.o and
9855 tracefile-tfile.o.
9856 (HFILES_NO_SRCDIR): Add tracefile.h.
9857 * ctf.c: Include "tracefile.h".
9858 * tracefile.h: New file.
9859 * tracefile.c: New file
9860 * tracefile-tfile.c: New file.
9861 * tracepoint.c: Include "tracefile.h".
9862 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
9863 (stop_reason_names): Add const.
9864 (trace_file_writer_xfree): Move it to tracefile.c.
9865 (trace_save, trace_save_command, trace_save_tfile): Likewise.
9866 (trace_save_ctf): Likewise.
9867 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
9868 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
9869 (tfile_write_header, tfile_write_regblock_type): Likewise.
9870 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
9871 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
9872 (tfile_write_raw_data, tfile_end): Likewise.
9873 (tfile_trace_file_writer_new): Likewise.
9874 (free_uploaded_tp): Make it extern.
9875 (free_uploaded_tsv): Make it extern.
9876 (_initialize_tracepoint): Move code to register command 'tsave'
9877 to tracefile.c.
9878 * tracepoint.h (stop_reason_names): Declare.
9879 (struct trace_frame_write_ops): Move it to tracefile.h.
9880 (struct trace_file_write_ops): Likewise.
9881 (struct trace_file_writer): Likewise.
9882 (free_uploaded_tsvs, free_uploaded_tps): Declare.
9883
9884 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9885
9886 PR gdb/16594
9887 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
9888 process name.
9889 (get_cores_used_by_process): New parameter num_cores, use it.
9890 (linux_xfer_osdata_processes): Pass num_cores to it.
9891 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
9892 process name.
9893
9894 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
9895
9896 * target.c (memory_xfer_partial): Fix length arg in call to
9897 breakpoint_xfer_memory.
9898
9899 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9900
9901 PR tdep/16397
9902 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
9903 number comes after the + or - signs. Adjust length of register
9904 name to be extracted.
9905
9906 2014-02-20 Tom Tromey <tromey@redhat.com>
9907
9908 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
9909 (ada_varobj_ops): Mark "extern".
9910
9911 2014-02-20 Tom Tromey <tromey@redhat.com>
9912
9913 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
9914
9915 2014-02-20 Doug Evans <xdje42@gmail.com>
9916
9917 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
9918 All callers updated.
9919 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
9920 All callers updated.
9921 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
9922 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
9923
9924 2014-02-20 lin zuojian <manjian2006@gmail.com>
9925 Joel Brobecker <brobecker@adacore.com>
9926 Doug Evans <xdje42@gmail.com>
9927
9928 PR symtab/16581
9929 * dwarf2read.c (struct die_info): New member in_process.
9930 (reset_die_in_process): New function.
9931 (process_die): Set it at the start, reset when returning.
9932 (inherit_abstract_dies): Only call process_die if origin_child_die
9933 not already being processed.
9934
9935 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9936
9937 * windows-nat.c (handle_unload_dll): Add function documentation.
9938 (do_initial_windows_stuff): Add comment explaining why we wait
9939 until after inferior initialization has finished before
9940 processing all DLLs.
9941
9942 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9943
9944 * windows-nat.c (get_module_name): Delete.
9945 (windows_get_exec_module_filename): New function, mostly
9946 inspired from get_module_name.
9947 (windows_pid_to_exec_file): Replace call to get_module_name
9948 by call to windows_get_exec_module_filename.
9949
9950 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9951
9952 * windows-nat.c (handle_load_dll): Rewrite this function's
9953 introductory comment. Remove code using get_module_name
9954 to get the DLL's name.
9955
9956 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9957
9958 * windows-nat.c (get_windows_debug_event): Ignore
9959 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
9960 if windows_initialization_done == 0.
9961 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
9962 Adjust implementation to always load all DLLs.
9963 (do_initial_windows_stuff): Replace call to
9964 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
9965
9966 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9967
9968 * windows-nat.c (_initialize_windows_nat): Deprecate the
9969 "dll-symbols" command. Turn the "add-shared-symbol-files"
9970 and "assf" aliases into commands, and deprecate them as well.
9971 * NEWS: Add entry explaining that "dll-symbols" and its two
9972 aliases are now deprecated.
9973
9974 2014-02-20 Joel Brobecker <brobecker@adacore.com>
9975
9976 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
9977 new-line in debug string. Remove trailing spaces.
9978
9979 2014-02-19 Stan Shebs <stan@codesourcery.com>
9980
9981 * darwin-nat.c (darwin_xfer_partial): Fix return type.
9982
9983 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9984
9985 * NEWS: Add entry for the new feature
9986 * python/py-value.c (valpy_binop): Call value_x_binop for struct
9987 and class values.
9988
9989 2014-02-19 Stan Shebs <stan@codesourcery.com>
9990
9991 * MAINTAINERS: List Yao Qi as nios2 maintainer.
9992
9993 2014-02-19 Pedro Alves <palves@redhat.com>
9994
9995 * common/ptid.h (struct ptid): Mention that process_stratum
9996 targets should prefer ptid.lwp.
9997
9998 2014-02-19 Pedro Alves <palves@redhat.com>
9999
10000 * remote.c (remote_thread_alive, write_ptid, read_ptid)
10001 (read_ptid, remote_newthread_step, remote_threads_extra_info)
10002 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
10003 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
10004 store remote thread ids rather than ptid.tid.
10005 (_initialize_remote): Adjust.
10006
10007 2014-02-19 Tom Tromey <tromey@redhat.com>
10008
10009 * target.c (target_get_unwinder): Rewrite.
10010 (target_get_tailcall_unwinder): Rewrite.
10011 * record-btrace.c (record_btrace_to_get_unwinder): New function.
10012 (record_btrace_to_get_tailcall_unwinder): New function.
10013 (init_record_btrace_ops): Update.
10014 * target.h (struct target_ops) <to_get_unwinder,
10015 to_get_tailcall_unwinder>: Now function pointers. Use
10016 TARGET_DEFAULT_RETURN.
10017
10018 2014-02-19 Tom Tromey <tromey@redhat.com>
10019
10020 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
10021 argument.
10022 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
10023
10024 2014-02-19 Tom Tromey <tromey@redhat.com>
10025
10026 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
10027 directly.
10028 * target-delegates.c: Rebuild.
10029 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
10030 TARGET_DEFAULT_FUNC.
10031 * target.c (default_target_decr_pc_after_break): Rename from
10032 forward_target_decr_pc_after_break. Simplify.
10033 (target_decr_pc_after_break): Rely on delegation.
10034
10035 2014-02-19 Tom Tromey <tromey@redhat.com>
10036
10037 * target.c (update_current_target): Do not INHERIT to_doc or
10038 to_magic. Do not de_fault to_open or to_close.
10039
10040 2014-02-19 Tom Tromey <tromey@redhat.com>
10041
10042 * gcore.h (objfile_find_memory_regions): Declare.
10043 * gcore.c (objfile_find_memory_regions): No longer static. Add
10044 "self" argument.
10045 (_initialize_gcore): Don't call exec_set_find_memory_regions.
10046 * exec.c: Include gcore.h.
10047 (exec_set_find_memory_regions): Remove.
10048 (exec_find_memory_regions): Remove.
10049 (exec_do_find_memory_regions): Remove.
10050 (init_exec_ops): Update.
10051 * defs.h (exec_set_find_memory_regions): Remove.
10052
10053 2014-02-19 Tom Tromey <tromey@redhat.com>
10054
10055 * target-delegates.c: Rebuild.
10056 * target.h (struct target_ops) <to_extra_thread_info,
10057 to_thread_name, to_pid_to_exec_file, to_get_section_table,
10058 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
10059 not 0, in TARGET_DEFAULT_RETURN.
10060
10061 2014-02-19 Tom Tromey <tromey@redhat.com>
10062
10063 * target.c (complete_target_initialization): Remove casts. Use
10064 return_zero_has_execution.
10065 (return_zero): Add "ignore" argument.
10066 (return_zero_has_execution): New function.
10067 (init_dummy_target): Remove casts. Use
10068 return_zero_has_execution.
10069
10070 2014-02-19 Tom Tromey <tromey@redhat.com>
10071
10072 * target.c (update_current_target): Update comments. Do not
10073 INHERIT to_stratum.
10074
10075 2014-02-19 Tom Tromey <tromey@redhat.com>
10076
10077 * arm-linux-nat.c (arm_linux_read_description): Delegate when
10078 needed.
10079 * corelow.c (core_read_description): Delegate when needed.
10080 * remote.c (remote_read_description): Delegate when needed.
10081 * target-delegates.c: Rebuild.
10082 * target.c (target_read_description): Rewrite.
10083 * target.h (struct target_ops) <to_read_description>: Update
10084 comment. Use TARGET_DEFAULT_RETURN.
10085
10086 2014-02-19 Tom Tromey <tromey@redhat.com>
10087
10088 * target-delegates.c: Rebuild.
10089 * target.c (update_current_target): Don't inherit or default
10090 to_can_run.
10091 (find_default_run_target): Check against delegate_can_run.
10092 * target.h (struct target_ops) <to_can_run>: Use
10093 TARGET_DEFAULT_RETURN.
10094
10095 2014-02-19 Tom Tromey <tromey@redhat.com>
10096
10097 * target-delegates.c: Rebuild.
10098 * target.c (target_disconnect): Unconditionally delegate.
10099 * target.h (struct target_ops) <to_disconnect>: Use
10100 TARGET_DEFAULT_NORETURN.
10101
10102 2014-02-19 Tom Tromey <tromey@redhat.com>
10103
10104 * record.c (record_stop): Unconditionally delegate.
10105 * target-delegates.c: Rebuild.
10106 * target.c (target_stop_recording): Unconditionally delegate.
10107 * target.h (struct target_ops) <to_stop_recording>: Use
10108 TARGET_DEFAULT_IGNORE.
10109
10110 2014-02-19 Tom Tromey <tromey@redhat.com>
10111
10112 * target-delegates.c: Rebuild.
10113 * target.c (target_enable_btrace): Unconditionally delegate.
10114 * target.h (struct target_ops) <to_enable_btrace>: Use
10115 TARGET_DEFAULT_NORETURN.
10116
10117 2014-02-19 Tom Tromey <tromey@redhat.com>
10118
10119 * target-delegates.c: Rebuild.
10120 * target.c (target_read_btrace): Unconditionally delegate.
10121 * target.h (struct target_ops) <to_read_btrace>: Use
10122 TARGET_DEFAULT_NORETURN.
10123
10124 2014-02-19 Tom Tromey <tromey@redhat.com>
10125
10126 * target-delegates.c: Rebuild.
10127 * target.c (target_teardown_btrace): Unconditionally delegate.
10128 * target.h (struct target_ops) <to_teardown_btrace>: Use
10129 TARGET_DEFAULT_NORETURN.
10130
10131 2014-02-19 Tom Tromey <tromey@redhat.com>
10132
10133 * target-delegates.c: Rebuild.
10134 * target.c (target_disable_btrace): Unconditionally delegate.
10135 * target.h (struct target_ops) <to_disable_btrace>: Use
10136 TARGET_DEFAULT_NORETURN.
10137
10138 2014-02-19 Tom Tromey <tromey@redhat.com>
10139
10140 * target-delegates.c: Rebuild.
10141 * target.c (default_search_memory): New function.
10142 (simple_search_memory): Update comment.
10143 (target_search_memory): Unconditionally delegate.
10144 * target.h (struct target_ops) <to_search_memory>: Use
10145 TARGET_DEFAULT_FUNC.
10146
10147 2014-02-19 Tom Tromey <tromey@redhat.com>
10148
10149 * auxv.c (default_auxv_parse): No longer static.
10150 (target_auxv_parse): Unconditionally delegate.
10151 * auxv.h (default_auxv_parse): Declare.
10152 * target-delegates.c: Rebuild.
10153 * target.c: Include auxv.h.
10154 * target.h (struct target_ops) <to_auxv_parse>: Use
10155 TARGET_DEFAULT_FUNC.
10156
10157 2014-02-19 Tom Tromey <tromey@redhat.com>
10158
10159 * target-delegates.c: Rebuild.
10160 * target.c (target_memory_map): Unconditionally delegate.
10161 * target.h (struct target_ops) <to_memory_map>: Use
10162 TARGET_DEFAULT_RETURN.
10163
10164 2014-02-19 Tom Tromey <tromey@redhat.com>
10165
10166 * target-delegates.c: Rebuild.
10167 * target.c (target_thread_alive): Unconditionally delegate.
10168 * target.h (struct target_ops) <to_thread_alive>: Use
10169 TARGET_DEFAULT_RETURN.
10170
10171 2014-02-19 Tom Tromey <tromey@redhat.com>
10172
10173 * target-delegates.c: Rebuild.
10174 * target.c (target_save_record): Unconditionally delegate.
10175 * target.h (struct target_ops) <to_save_record>: Use
10176 TARGET_DEFAULT_NORETURN.
10177
10178 2014-02-19 Tom Tromey <tromey@redhat.com>
10179
10180 * target-delegates.c: Rebuild.
10181 * target.c (target_delete_record): Unconditionally delegate.
10182 * target.h (struct target_ops) <to_delete_record>: Use
10183 TARGET_DEFAULT_NORETURN.
10184
10185 2014-02-19 Tom Tromey <tromey@redhat.com>
10186
10187 * target-delegates.c: Rebuild.
10188 * target.c (target_record_is_replaying): Unconditionally
10189 delegate.
10190 * target.h (struct target_ops) <to_record_is_replaying>: Use
10191 TARGET_DEFAULT_RETURN.
10192
10193 2014-02-19 Tom Tromey <tromey@redhat.com>
10194
10195 * target-delegates.c: Rebuild.
10196 * target.c (target_goto_record_begin): Unconditionally delegate.
10197 * target.h (struct target_ops) <to_goto_record_begin>: Use
10198 TARGET_DEFAULT_NORETURN.
10199
10200 2014-02-19 Tom Tromey <tromey@redhat.com>
10201
10202 * target-delegates.c: Rebuild.
10203 * target.c (target_goto_record_end): Unconditionally delegate.
10204 * target.h (struct target_ops) <to_goto_record_end>: Use
10205 TARGET_DEFAULT_NORETURN.
10206
10207 2014-02-19 Tom Tromey <tromey@redhat.com>
10208
10209 * target-delegates.c: Rebuild.
10210 * target.c (target_goto_record): Unconditionally delegate.
10211 * target.h (struct target_ops) <to_goto_record>: Use
10212 TARGET_DEFAULT_NORETURN.
10213
10214 2014-02-19 Tom Tromey <tromey@redhat.com>
10215
10216 * target-delegates.c: Rebuild.
10217 * target.c (target_insn_history): Unconditionally delegate.
10218 * target.h (struct target_ops) <to_insn_history>: Use
10219 TARGET_DEFAULT_NORETURN.
10220
10221 2014-02-19 Tom Tromey <tromey@redhat.com>
10222
10223 * target-delegates.c: Rebuild.
10224 * target.c (target_insn_history_from): Unconditionally delegate.
10225 * target.h (struct target_ops) <to_insn_history_from>: Use
10226 TARGET_DEFAULT_NORETURN.
10227
10228 2014-02-19 Tom Tromey <tromey@redhat.com>
10229
10230 * target-delegates.c: Rebuild.
10231 * target.c (target_insn_history_range): Unconditionally delegate.
10232 * target.h (struct target_ops) <to_insn_history_range>: Use
10233 TARGET_DEFAULT_NORETURN.
10234
10235 2014-02-19 Tom Tromey <tromey@redhat.com>
10236
10237 * target-delegates.c: Rebuild.
10238 * target.c (target_call_history): Unconditionally delegate.
10239 * target.h (struct target_ops) <to_call_history>: Use
10240 TARGET_DEFAULT_NORETURN.
10241
10242 2014-02-19 Tom Tromey <tromey@redhat.com>
10243
10244 * target-delegates.c: Rebuild.
10245 * target.c (target_call_history_from): Unconditionally delegate.
10246 * target.h (struct target_ops) <to_call_history_from>: Use
10247 TARGET_DEFAULT_NORETURN.
10248
10249 2014-02-19 Tom Tromey <tromey@redhat.com>
10250
10251 * target-delegates.c: Rebuild.
10252 * target.c (target_call_history_range): Unconditionally delegate.
10253 * target.h (struct target_ops) <to_call_history_range>: Use
10254 TARGET_DEFAULT_NORETURN.
10255
10256 2014-02-19 Tom Tromey <tromey@redhat.com>
10257
10258 * target-delegates.c: Rebuild.
10259 * target.c (target_verify_memory): Unconditionally delegate.
10260 * target.h (struct target_ops) <to_verify_memory>: Use
10261 TARGET_DEFAULT_NORETURN.
10262
10263 2014-02-19 Tom Tromey <tromey@redhat.com>
10264
10265 * target-delegates.c: Rebuild.
10266 * target.c (target_core_of_thread): Unconditionally delegate.
10267 * target.h (struct target_ops) <to_core_of_thread>: Use
10268 TARGET_DEFAULT_RETURN.
10269
10270 2014-02-19 Tom Tromey <tromey@redhat.com>
10271
10272 * target-delegates.c: Rebuild.
10273 * target.c (target_flash_done): Unconditionally delegate.
10274 * target.h (struct target_ops) <to_flash_done>: Use
10275 TARGET_DEFAULT_NORETURN.
10276
10277 2014-02-19 Tom Tromey <tromey@redhat.com>
10278
10279 * target-delegates.c: Rebuild.
10280 * target.c (target_flash_erase): Unconditionally delegate.
10281 * target.h (struct target_ops) <to_flash_erase>: Use
10282 TARGET_DEFAULT_NORETURN.
10283
10284 2014-02-19 Tom Tromey <tromey@redhat.com>
10285
10286 * target-delegates.c: Rebuild.
10287 * target.c (target_get_section_table): Unconditionally delegate.
10288 * target.h (struct target_ops) <to_get_section_table>: Use
10289 TARGET_DEFAULT_RETURN.
10290
10291 2014-02-19 Tom Tromey <tromey@redhat.com>
10292
10293 * target-delegates.c: Rebuild.
10294 * target.c (target_pid_to_str): Unconditionally delegate.
10295 (init_dummy_target): Don't initialize to_pid_to_str.
10296 (default_pid_to_str): Rename from dummy_pid_to_str.
10297 * target.h (struct target_ops) <to_pid_to_str>: Use
10298 TARGET_DEFAULT_FUNC.
10299
10300 2014-02-19 Tom Tromey <tromey@redhat.com>
10301
10302 * target-delegates.c: Rebuild.
10303 * target.c (target_find_new_threads): Unconditionally delegate.
10304 * target.h (struct target_ops) <to_find_new_threads>: Use
10305 TARGET_DEFAULT_RETURN.
10306
10307 2014-02-19 Tom Tromey <tromey@redhat.com>
10308
10309 * target-delegates.c: Rebuild.
10310 * target.c (target_program_signals): Unconditionally delegate.
10311 * target.h (struct target_ops) <to_program_signals>: Use
10312 TARGET_DEFAULT_IGNORE.
10313
10314 2014-02-19 Tom Tromey <tromey@redhat.com>
10315
10316 * target-delegates.c: Rebuild.
10317 * target.c (target_pass_signals): Unconditionally delegate.
10318 * target.h (struct target_ops) <to_pass_signals>: Use
10319 TARGET_DEFAULT_IGNORE.
10320
10321 2014-02-19 Tom Tromey <tromey@redhat.com>
10322
10323 * target-delegates.c: Rebuild.
10324 * target.c (default_mourn_inferior): New function.
10325 (target_mourn_inferior): Unconditionally delegate.
10326 * target.h (struct target_ops) <to_mourn_inferior>: Use
10327 TARGET_DEFAULT_FUNC.
10328
10329 2014-02-19 Tom Tromey <tromey@redhat.com>
10330
10331 * target-delegates.c: Rebuild.
10332 * target.c (default_follow_fork): New function.
10333 (target_follow_fork): Unconditionally delegate.
10334 * target.h (struct target_ops) <to_follow_fork>: Use
10335 TARGET_DEFAULT_FUNC.
10336
10337 2014-02-19 Tom Tromey <tromey@redhat.com>
10338
10339 * target-delegates.c: Rebuild.
10340 * target.c (target_kill): Unconditionally delegate.
10341 * target.h (struct target_ops) <to_kill>: Use
10342 TARGET_DEFAULT_NORETURN.
10343
10344 2014-02-19 Tom Tromey <tromey@redhat.com>
10345
10346 * target-delegates.c: Rebuild.
10347 * target.c (target_masked_watch_num_registers): Unconditionally
10348 delegate.
10349 * target.h (struct target_ops) <to_masked_watch_num_registers>:
10350 Use TARGET_DEFAULT_RETURN.
10351
10352 2014-02-19 Tom Tromey <tromey@redhat.com>
10353
10354 * target-delegates.c: Rebuild.
10355 * target.c (target_remove_mask_watchpoint): Unconditionally
10356 delegate.
10357 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
10358 TARGET_DEFAULT_RETURN.
10359
10360 2014-02-19 Tom Tromey <tromey@redhat.com>
10361
10362 * target-delegates.c: Rebuild.
10363 * target.c (target_insert_mask_watchpoint): Unconditionally
10364 delegate.
10365 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
10366 TARGET_DEFAULT_RETURN.
10367
10368 2014-02-19 Tom Tromey <tromey@redhat.com>
10369
10370 * target-delegates.c: Rebuild.
10371 * target.c (target_ranged_break_num_registers): Unconditionally
10372 delegate.
10373 * target.h (struct target_ops) <to_ranged_break_num_registers>:
10374 Use TARGET_DEFAULT_RETURN.
10375
10376 2014-02-19 Tom Tromey <tromey@redhat.com>
10377
10378 * target-delegates.c: Rebuild.
10379 * target.c (target_fetch_registers): Unconditionally delegate.
10380 * target.h (struct target_ops) <to_fetch_registers>: Use
10381 TARGET_DEFAULT_NORETURN.
10382
10383 2014-02-19 Tom Tromey <tromey@redhat.com>
10384
10385 * target-delegates.c: Rebuild.
10386 * target.c (update_current_target): Don't inherit or default
10387 to_stop.
10388 * target.h (struct target_ops) <to_stop>: Use
10389 TARGET_DEFAULT_IGNORE.
10390
10391 2014-02-19 Tom Tromey <tromey@redhat.com>
10392
10393 * target-delegates.c: Rebuild.
10394 * target.c (update_current_target): Don't inherit or default
10395 to_can_run_breakpoint_commands.
10396 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10397 Use TARGET_DEFAULT_RETURN.
10398
10399 2014-02-19 Tom Tromey <tromey@redhat.com>
10400
10401 * target-delegates.c: Rebuild.
10402 * target.c (update_current_target): Don't inherit or default
10403 to_supports_evaluation_of_breakpoint_conditions.
10404 * target.h (struct target_ops)
10405 <to_supports_evaluation_of_breakpoint_conditions>: Use
10406 TARGET_DEFAULT_RETURN.
10407
10408 2014-02-19 Tom Tromey <tromey@redhat.com>
10409
10410 * target-delegates.c: Rebuild.
10411 * target.c (update_current_target): Don't inherit or default
10412 to_augmented_libraries_svr4_read.
10413 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10414 Use TARGET_DEFAULT_RETURN.
10415
10416 2014-02-19 Tom Tromey <tromey@redhat.com>
10417
10418 * target-delegates.c: Rebuild.
10419 * target.c (update_current_target): Don't inherit or default
10420 to_can_use_agent.
10421 * target.h (struct target_ops) <to_can_use_agent>: Use
10422 TARGET_DEFAULT_RETURN.
10423
10424 2014-02-19 Tom Tromey <tromey@redhat.com>
10425
10426 * target-delegates.c: Rebuild.
10427 * target.c (update_current_target): Don't inherit or default
10428 to_use_agent.
10429 * target.h (struct target_ops) <to_use_agent>: Use
10430 TARGET_DEFAULT_NORETURN.
10431
10432 2014-02-19 Tom Tromey <tromey@redhat.com>
10433
10434 * target-delegates.c: Rebuild.
10435 * target.c (update_current_target): Don't inherit or default
10436 to_traceframe_info.
10437 (return_null): Remove.
10438 * target.h (struct target_ops) <to_traceframe_info>: Use
10439 TARGET_DEFAULT_RETURN.
10440
10441 2014-02-19 Tom Tromey <tromey@redhat.com>
10442
10443 * target-delegates.c: Rebuild.
10444 * target.c (update_current_target): Don't inherit or default
10445 to_static_tracepoint_markers_by_strid.
10446 * target.h (struct target_ops)
10447 <to_static_tracepoint_markers_by_strid>: Use
10448 TARGET_DEFAULT_NORETURN.
10449
10450 2014-02-19 Tom Tromey <tromey@redhat.com>
10451
10452 * target-delegates.c: Rebuild.
10453 * target.c (update_current_target): Don't inherit or default
10454 to_static_tracepoint_marker_at.
10455 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10456 Use TARGET_DEFAULT_RETURN.
10457
10458 2014-02-19 Tom Tromey <tromey@redhat.com>
10459
10460 * target-delegates.c: Rebuild.
10461 * target.c (update_current_target): Don't inherit or default
10462 to_set_permissions.
10463 * target.h (struct target_ops) <to_set_permissions>: Use
10464 TARGET_DEFAULT_IGNORE.
10465
10466 2014-02-19 Tom Tromey <tromey@redhat.com>
10467
10468 * target-delegates.c: Rebuild.
10469 * target.c (update_current_target): Don't inherit or default
10470 to_get_tib_address.
10471 * target.h (struct target_ops) <to_get_tib_address>: Use
10472 TARGET_DEFAULT_NORETURN.
10473
10474 2014-02-19 Tom Tromey <tromey@redhat.com>
10475
10476 * target-delegates.c: Rebuild.
10477 * target.c (update_current_target): Don't inherit or default
10478 to_set_trace_notes.
10479 * target.h (struct target_ops) <to_set_trace_notes>: Use
10480 TARGET_DEFAULT_RETURN.
10481
10482 2014-02-19 Tom Tromey <tromey@redhat.com>
10483
10484 * target-delegates.c: Rebuild.
10485 * target.c (update_current_target): Don't initialize
10486 to_set_trace_buffer_size.
10487 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
10488 TARGET_DEFAULT_IGNORE.
10489
10490 2014-02-19 Tom Tromey <tromey@redhat.com>
10491
10492 * target-delegates.c: Rebuild.
10493 * target.c (update_current_target): Don't inherit or default
10494 to_set_circular_trace_buffer.
10495 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
10496 TARGET_DEFAULT_IGNORE.
10497
10498 2014-02-19 Tom Tromey <tromey@redhat.com>
10499
10500 * target-delegates.c: Rebuild.
10501 * target.c (update_current_target): Don't inherit or default
10502 to_set_disconnected_tracing.
10503 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
10504 TARGET_DEFAULT_IGNORE.
10505
10506 2014-02-19 Tom Tromey <tromey@redhat.com>
10507
10508 * target-delegates.c: Rebuild.
10509 * target.c (update_current_target): Don't inherit or default
10510 to_get_min_fast_tracepoint_insn_len.
10511 (return_minus_one): Remove.
10512 * target.h (struct target_ops)
10513 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
10514
10515 2014-02-19 Tom Tromey <tromey@redhat.com>
10516
10517 * target-delegates.c: Rebuild.
10518 * target.c (update_current_target): Don't inherit or default
10519 to_get_raw_trace_data.
10520 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
10521 TARGET_DEFAULT_NORETURN.
10522
10523 2014-02-19 Tom Tromey <tromey@redhat.com>
10524
10525 * target-delegates.c: Rebuild.
10526 * target.c (update_current_target): Don't inherit or default
10527 to_upload_trace_state_variables.
10528 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10529 Use TARGET_DEFAULT_RETURN.
10530
10531 2014-02-19 Tom Tromey <tromey@redhat.com>
10532
10533 * target-delegates.c: Rebuild.
10534 * target.c (update_current_target): Don't inherit or default
10535 to_upload_tracepoints.
10536 * target.h (struct target_ops) <to_upload_tracepoints>: Use
10537 TARGET_DEFAULT_RETURN.
10538
10539 2014-02-19 Tom Tromey <tromey@redhat.com>
10540
10541 * target-delegates.c: Rebuild.
10542 * target.c (update_current_target): Don't inherit or default
10543 to_save_trace_data.
10544 * target.h (struct target_ops) <to_save_trace_data>: Use
10545 TARGET_DEFAULT_NORETURN.
10546
10547 2014-02-19 Tom Tromey <tromey@redhat.com>
10548
10549 * target-delegates.c: Rebuild.
10550 * target.c (update_current_target): Don't inherit or default
10551 to_get_trace_state_variable_value.
10552 * target.h (struct target_ops)
10553 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
10554
10555 2014-02-19 Tom Tromey <tromey@redhat.com>
10556
10557 * target-delegates.c: Rebuild.
10558 * target.c (update_current_target): Don't inherit or default
10559 to_trace_find.
10560 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
10561
10562 2014-02-19 Tom Tromey <tromey@redhat.com>
10563
10564 * target-delegates.c: Rebuild.
10565 * target.c (update_current_target): Don't inherit or default
10566 to_trace_stop.
10567 * target.h (struct target_ops) <to_trace_stop>: Use
10568 TARGET_DEFAULT_NORETURN.
10569
10570 2014-02-19 Tom Tromey <tromey@redhat.com>
10571
10572 * target-delegates.c: Rebuild.
10573 * target.c (update_current_target): Don't inherit or default
10574 to_get_tracepoint_status.
10575 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
10576 TARGET_DEFAULT_NORETURN.
10577
10578 2014-02-19 Tom Tromey <tromey@redhat.com>
10579
10580 * target-delegates.c: Rebuild.
10581 * target.c (update_current_target): Don't inherit or default
10582 to_get_trace_status.
10583 * target.h (struct target_ops) <to_get_trace_status>: Use
10584 TARGET_DEFAULT_RETURN.
10585
10586 2014-02-19 Tom Tromey <tromey@redhat.com>
10587
10588 * target-delegates.c: Rebuild.
10589 * target.c (update_current_target): Don't inherit or default
10590 to_trace_start.
10591 * target.h (struct target_ops) <to_trace_start>: Use
10592 TARGET_DEFAULT_NORETURN.
10593
10594 2014-02-19 Tom Tromey <tromey@redhat.com>
10595
10596 * target-delegates.c: Rebuild.
10597 * target.c (update_current_target): Don't inherit or default
10598 to_trace_set_readonly_regions.
10599 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10600 Use TARGET_DEFAULT_NORETURN.
10601
10602 2014-02-19 Tom Tromey <tromey@redhat.com>
10603
10604 * target-delegates.c: Rebuild.
10605 * target.c (update_current_target): Don't inherit or default
10606 to_disable_tracepoint.
10607 * target.h (struct target_ops) <to_disable_tracepoint>: Use
10608 TARGET_DEFAULT_NORETURN.
10609
10610 2014-02-19 Tom Tromey <tromey@redhat.com>
10611
10612 * target-delegates.c: Rebuild.
10613 * target.c (update_current_target): Don't inherit or default
10614 to_enable_tracepoint.
10615 * target.h (struct target_ops) <to_enable_tracepoint>: Use
10616 TARGET_DEFAULT_NORETURN.
10617
10618 2014-02-19 Tom Tromey <tromey@redhat.com>
10619
10620 * target-delegates.c: Rebuild.
10621 * target.c (update_current_target): Don't inherit or default
10622 to_download_trace_state_variable.
10623 * target.h (struct target_ops) <to_download_trace_state_variable>:
10624 Use TARGET_DEFAULT_NORETURN.
10625
10626 2014-02-19 Tom Tromey <tromey@redhat.com>
10627
10628 * target-delegates.c: Rebuild.
10629 * target.c (update_current_target): Don't inherit or default
10630 to_can_download_tracepoint.
10631 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
10632 TARGET_DEFAULT_RETURN.
10633
10634 2014-02-19 Tom Tromey <tromey@redhat.com>
10635
10636 * target-delegates.c: Rebuild.
10637 * target.c (update_current_target): Don't inherit or default
10638 to_download_tracepoint.
10639 * target.h (struct target_ops) <to_download_tracepoint>: Use
10640 TARGET_DEFAULT_NORETURN.
10641
10642 2014-02-19 Tom Tromey <tromey@redhat.com>
10643
10644 * target-delegates.c: Rebuild.
10645 * target.c (update_current_target): Don't inherit or default
10646 to_trace_init.
10647 * target.h (struct target_ops) <to_trace_init>: Use
10648 TARGET_DEFAULT_RETURN.
10649
10650 2014-02-19 Tom Tromey <tromey@redhat.com>
10651
10652 * target-delegates.c: Rebuild.
10653 * target.c (update_current_target): Don't inherit or default
10654 to_supports_string_tracing.
10655 * target.h (struct target_ops) <to_supports_string_tracing>: Use
10656 TARGET_DEFAULT_RETURN.
10657
10658 2014-02-19 Tom Tromey <tromey@redhat.com>
10659
10660 * target-delegates.c: Rebuild.
10661 * target.c (update_current_target): Don't inherit or default
10662 to_supports_enable_disable_tracepoint.
10663 * target.h (struct target_ops)
10664 <to_supports_enable_disable_tracepoint>: Use
10665 TARGET_DEFAULT_RETURN.
10666
10667 2014-02-19 Tom Tromey <tromey@redhat.com>
10668
10669 * target-delegates.c: Rebuild.
10670 * target.c (update_current_target): Don't inherit or default
10671 to_supports_multi_process.
10672 * target.h (struct target_ops) <to_supports_multi_process>: Use
10673 TARGET_DEFAULT_RETURN.
10674
10675 2014-02-19 Tom Tromey <tromey@redhat.com>
10676
10677 * target-delegates.c: Rebuild.
10678 * target.c (update_current_target): Don't inherit or default
10679 to_get_ada_task_ptid.
10680 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
10681 TARGET_DEFAULT_FUNC.
10682
10683 2014-02-19 Tom Tromey <tromey@redhat.com>
10684
10685 * target-delegates.c: Rebuild.
10686 * target.c (update_current_target): Don't inherit or default
10687 to_thread_architecture.
10688 * target.h (struct target_ops) <to_thread_architecture>: Use
10689 TARGET_DEFAULT_FUNC.
10690
10691 2014-02-19 Tom Tromey <tromey@redhat.com>
10692
10693 * target-delegates.c: Rebuild.
10694 * target.c (update_current_target): Don't inherit or default
10695 to_execution_direction.
10696 * target.h (struct target_ops) <to_execution_direction>: Use
10697 TARGET_DEFAULT_FUNC.
10698
10699 2014-02-19 Tom Tromey <tromey@redhat.com>
10700
10701 * target-delegates.c: Rebuild.
10702 * target.c (update_current_target): Don't inherit or default
10703 to_can_execute_reverse.
10704 * target.h (struct target_ops) <to_can_execute_reverse>: Use
10705 TARGET_DEFAULT_RETURN.
10706 (target_can_execute_reverse): Unconditionally delegate.
10707
10708 2014-02-19 Tom Tromey <tromey@redhat.com>
10709
10710 * target-delegates.c: Rebuild.
10711 * target.c (update_current_target): Don't inherit or default
10712 to_goto_bookmark.
10713 (dummy_goto_bookmark): Remove.
10714 (init_dummy_target): Don't inherit or default to_goto_bookmark.
10715 * target.h (struct target_ops) <to_goto_bookmark>: Use
10716 TARGET_DEFAULT_NORETURN.
10717
10718 2014-02-19 Tom Tromey <tromey@redhat.com>
10719
10720 * target-delegates.c: Rebuild.
10721 * target.c (update_current_target): Don't inherit or default
10722 to_get_bookmark.
10723 (dummy_get_bookmark): Remove.
10724 (init_dummy_target): Don't inherit or default to_get_bookmark.
10725 * target.h (struct target_ops) <to_get_bookmark>: Use
10726 TARGET_DEFAULT_NORETURN
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_make_corefile_notes.
10733 (init_dummy_target): Don't initialize to_make_corefile_notes.
10734 * target.h (struct target_ops) <to_make_corefile_notes>: Use
10735 TARGET_DEFAULT_FUNC.
10736
10737 2014-02-19 Tom Tromey <tromey@redhat.com>
10738
10739 * target-delegates.c: Rebuild.
10740 * target.c (update_current_target): Don't inherit or default
10741 to_find_memory_regions.
10742 (init_dummy_target): Don't initialize to_find_memory_regions.
10743 * target.h (struct target_ops) <to_find_memory_regions>: Use
10744 TARGET_DEFAULT_FUNC.
10745
10746 2014-02-19 Tom Tromey <tromey@redhat.com>
10747
10748 * target-delegates.c: Rebuild.
10749 * target.c (update_current_target): Don't inherit or default
10750 to_log_command.
10751 * target.h (struct target_ops) <to_log_command>: Use
10752 TARGET_DEFAULT_IGNORE.
10753 (target_log_command): Unconditionally delegate.
10754
10755 2014-02-19 Tom Tromey <tromey@redhat.com>
10756
10757 * target-delegates.c: Rebuild.
10758 * target.c (update_current_target): Don't inherit or default
10759 to_pid_to_exec_file.
10760 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
10761 TARGET_DEFAULT_RETURN.
10762
10763 2014-02-19 Tom Tromey <tromey@redhat.com>
10764
10765 * target-delegates.c: Rebuild.
10766 * target.c (update_current_target): Don't inherit or default
10767 to_thread_name.
10768 (target_thread_name): Unconditionally delegate.
10769 * target.h (struct target_ops) <to_thread_name>: Use
10770 TARGET_DEFAULT_RETURN.
10771
10772 2014-02-19 Tom Tromey <tromey@redhat.com>
10773
10774 * target-delegates.c: Rebuild.
10775 * target.c (update_current_target): Don't inherit or default
10776 to_extra_thread_info.
10777 * target.h (struct target_ops) <to_extra_thread_info>: Use
10778 TARGET_DEFAULT_RETURN.
10779
10780 2014-02-19 Tom Tromey <tromey@redhat.com>
10781
10782 * target-delegates.c: Rebuild.
10783 * target.c (update_current_target): Don't inherit or default
10784 to_has_exited.
10785 * target.h (struct target_ops) <to_has_exited>: Use
10786 TARGET_DEFAULT_RETURN..
10787
10788 2014-02-19 Tom Tromey <tromey@redhat.com>
10789
10790 * target-delegates.c: Rebuild.
10791 * target.c (update_current_target): Don't inherit or default
10792 to_set_syscall_catchpoint.
10793 (return_one): Remove.
10794 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
10795 TARGET_DEFAULT_RETURN.
10796
10797 2014-02-19 Tom Tromey <tromey@redhat.com>
10798
10799 * target-delegates.c: Rebuild.
10800 * target.c (update_current_target): Don't inherit or default
10801 to_insert_exec_catchpoint.
10802 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10803 TARGET_DEFAULT_RETURN.
10804
10805 2014-01-08 Tom Tromey <tromey@redhat.com>
10806
10807 * target-delegates.c: Rebuild.
10808 * target.c (update_current_target): Don't inherit or default
10809 to_insert_exec_catchpoint.
10810 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10811 TARGET_DEFAULT_RETURN.
10812
10813 2014-02-19 Tom Tromey <tromey@redhat.com>
10814
10815 * target-delegates.c: Rebuild.
10816 * target.c (update_current_target): Don't inherit or default
10817 to_remove_vfork_catchpoint.
10818 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
10819 TARGET_DEFAULT_RETURN.
10820
10821 2014-02-19 Tom Tromey <tromey@redhat.com>
10822
10823 * target-delegates.c: Rebuild.
10824 * target.c (update_current_target): Don't inherit or default
10825 to_insert_vfork_catchpoint.
10826 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
10827 TARGET_DEFAULT_RETURN.
10828
10829 2014-02-19 Tom Tromey <tromey@redhat.com>
10830
10831 * target-delegates.c: Rebuild.
10832 * target.c (update_current_target): Don't inherit or default
10833 to_remove_fork_catchpoint.
10834 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
10835 TARGET_DEFAULT_RETURN.
10836
10837 2014-02-19 Tom Tromey <tromey@redhat.com>
10838
10839 * target-delegates.c: Rebuild.
10840 * target.c (update_current_target): Don't inherit or default
10841 to_insert_fork_catchpoint.
10842 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
10843 TARGET_DEFAULT_RETURN.
10844
10845 2014-02-19 Tom Tromey <tromey@redhat.com>
10846
10847 * target-delegates.c: Rebuild.
10848 * target.c (update_current_target): Don't inherit or default
10849 to_post_startup_inferior.
10850 * target.h (struct target_ops) <to_post_startup_inferior>: Use
10851 TARGET_DEFAULT_IGNORE.
10852
10853 2014-02-19 Tom Tromey <tromey@redhat.com>
10854
10855 * target-delegates.c: Rebuild.
10856 * target.c (update_current_target): Don't inherit or default
10857 to_load.
10858 * target.h (struct target_ops) <to_load>: Use
10859 TARGET_DEFAULT_NORETURN.
10860
10861 2014-02-19 Tom Tromey <tromey@redhat.com>
10862
10863 * target-delegates.c: Rebuild.
10864 * target.c (update_current_target): Don't inherit or default
10865 to_terminal_info.
10866 * target.h (struct target_ops) <to_terminal_info>: Use
10867 TARGET_DEFAULT_FUNC.
10868
10869 2014-02-19 Tom Tromey <tromey@redhat.com>
10870
10871 * target-delegates.c: Rebuild.
10872 * target.c (update_current_target): Don't inherit or default
10873 to_terminal_save_ours.
10874 * target.h (struct target_ops) <to_terminal_save_ours>: Use
10875 TARGET_DEFAULT_IGNORE.
10876
10877 2014-02-19 Tom Tromey <tromey@redhat.com>
10878
10879 * target-delegates.c: Rebuild.
10880 * target.c (update_current_target): Don't inherit or default
10881 to_terminal_ours.
10882 * target.h (struct target_ops) <to_terminal_ours>: Use
10883 TARGET_DEFAULT_IGNORE.
10884
10885 2014-02-19 Tom Tromey <tromey@redhat.com>
10886
10887 * target-delegates.c: Rebuild.
10888 * target.c (update_current_target): Don't inherit or default
10889 to_terminal_ours_for_output.
10890 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
10891 TARGET_DEFAULT_IGNORE.
10892
10893 2014-02-19 Tom Tromey <tromey@redhat.com>
10894
10895 * target-delegates.c: Rebuild.
10896 * target.c (update_current_target): Don't inherit or default
10897 to_terminal_inferior.
10898 * target.h (struct target_ops) <to_terminal_inferior>: Use
10899 TARGET_DEFAULT_IGNORE.
10900
10901 2014-02-19 Tom Tromey <tromey@redhat.com>
10902
10903 * target-delegates.c: Rebuild.
10904 * target.c (update_current_target): Don't inherit or default
10905 to_terminal_init.
10906 * target.h (struct target_ops) <to_terminal_init>: Use
10907 TARGET_DEFAULT_IGNORE.
10908
10909 2014-02-19 Tom Tromey <tromey@redhat.com>
10910
10911 * target-delegates.c: Rebuild.
10912 * target.c (update_current_target): Don't inherit or default
10913 to_can_accel_watchpoint_condition.
10914 * target.h (struct target_ops)
10915 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
10916
10917 2014-02-19 Tom Tromey <tromey@redhat.com>
10918
10919 * target-delegates.c: Rebuild.
10920 * target.c (update_current_target): Don't inherit or default
10921 to_region_ok_for_hw_watchpoint.
10922 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10923 Use TARGET_DEFAULT_FUNC.
10924
10925 2014-02-19 Tom Tromey <tromey@redhat.com>
10926
10927 * target-delegates.c: Rebuild.
10928 * target.c (update_current_target): Don't inherit or default
10929 to_watchpoint_addr_within_range.
10930 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
10931 Use TARGET_DEFAULT_FUNC.
10932
10933 2014-02-19 Tom Tromey <tromey@redhat.com>
10934
10935 * target-delegates.c: Rebuild.
10936 * target.c (update_current_target): Don't inherit or default
10937 to_remove_watchpoint.
10938 * target.h (struct target_ops) <to_remove_watchpoint>: Use
10939 TARGET_DEFAULT_NORETURN.
10940
10941 2014-02-19 Tom Tromey <tromey@redhat.com>
10942
10943 * target-delegates.c: Rebuild.
10944 * target.c (update_current_target): Don't inherit or default
10945 to_insert_watchpoint.
10946 * target.h (struct target_ops) <to_insert_watchpoint>: Use
10947 TARGET_DEFAULT_RETURN.
10948
10949 2014-02-19 Tom Tromey <tromey@redhat.com>
10950
10951 * target-delegates.c: Rebuild.
10952 * target.c (update_current_target): Don't inherit or default
10953 to_remove_hw_breakpoint.
10954 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
10955 TARGET_DEFAULT_RETURN.
10956
10957 2014-02-19 Tom Tromey <tromey@redhat.com>
10958
10959 * target-delegates.c: Rebuild.
10960 * target.c (update_current_target): Don't inherit or default
10961 to_insert_hw_breakpoint.
10962 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
10963 TARGET_DEFAULT_RETURN.
10964
10965 2014-02-19 Tom Tromey <tromey@redhat.com>
10966
10967 * target-delegates.c: Rebuild.
10968 * target.c (update_current_target): Don't inherit or default
10969 to_can_use_hw_breakpoint.
10970 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
10971 TARGET_DEFAULT_RETURN.
10972
10973 2014-02-19 Tom Tromey <tromey@redhat.com>
10974
10975 * target-delegates.c: Rebuild.
10976 * target.c (update_current_target): Don't inherit or default
10977 to_files_info.
10978 * target.h (struct target_ops) <to_files_info>: Use
10979 TARGET_DEFAULT_IGNORE.
10980
10981 2014-02-19 Tom Tromey <tromey@redhat.com>
10982
10983 * target-delegates.c: Rebuild.
10984 * target.c (update_current_target): Don't inherit or default
10985 to_store.
10986 * target.h (struct target_ops) <to_store>: Use
10987 TARGET_DEFAULT_NORETURN.
10988
10989 2014-02-19 Tom Tromey <tromey@redhat.com>
10990
10991 * target-delegates.c: Rebuild.
10992 * target.c (update_current_target): Don't inherit or default
10993 to_post_attach.
10994 * target.h (struct target_ops) <to_post_attach>: Use
10995 TARGET_DEFAULT_IGNORE.
10996
10997 2014-02-19 Tom Tromey <tromey@redhat.com>
10998
10999 * target-delegates.c: Rebuild.
11000 * target.c (update_current_target): Don't inherit or default
11001 to_rcmd.
11002 (default_rcmd): New function.
11003 (do_monitor_command): Unconditionally delegate.
11004 * target.h (struct target_ops) <to_rmcd>: Use
11005 TARGET_DEFAULT_FUNC.
11006
11007 2014-02-19 Tom Tromey <tromey@redhat.com>
11008
11009 * target-delegates.c: Rebuild.
11010 * target.c (init_dummy_target): Don't initialize to_attach.
11011 (target_attach): Unconditionally delegate.
11012 * target.h (struct target_ops) <to_attach>: Use
11013 TARGET_DEFAULT_FUNC.
11014
11015 2014-02-19 Tom Tromey <tromey@redhat.com>
11016
11017 * target-delegates.c: Rebuild.
11018 * target.c (target_detach): Unconditionally delegate.
11019 (init_dummy_target): Don't initialize to_detach.
11020 * target.h (struct target_ops) <to_detach>: Use
11021 TARGET_DEFAULT_IGNORE.
11022
11023 2014-02-19 Tom Tromey <tromey@redhat.com>
11024
11025 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11026 Add argument.
11027 (target_augmented_libraries_svr4_read): Add argument.
11028 * target.c (update_current_target): Update.
11029 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
11030 argument.
11031
11032 2014-02-19 Tom Tromey <tromey@redhat.com>
11033
11034 * target.h (struct target_ops) <to_call_history_range>: Add
11035 argument.
11036 * target.c (target_call_history_range): Add argument.
11037 * record-btrace.c (record_btrace_call_history_range): Add 'self'
11038 argument.
11039 (record_btrace_call_history_from): Update.
11040
11041 2014-02-19 Tom Tromey <tromey@redhat.com>
11042
11043 * target.h (struct target_ops) <to_call_history_from>: Add
11044 argument.
11045 * target.c (target_call_history_from): Add argument.
11046 * record-btrace.c (record_btrace_call_history_from): Add 'self'
11047 argument.
11048
11049 2014-02-19 Tom Tromey <tromey@redhat.com>
11050
11051 * target.h (struct target_ops) <to_call_history>: Add argument.
11052 * target.c (target_call_history): Add argument.
11053 * record-btrace.c (record_btrace_call_history): Add 'self'
11054 argument.
11055
11056 2014-02-19 Tom Tromey <tromey@redhat.com>
11057
11058 * target.h (struct target_ops) <to_insn_history_range>: Add
11059 argument.
11060 * target.c (target_insn_history_range): Add argument.
11061 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
11062 argument.
11063 (record_btrace_insn_history_from): Update.
11064
11065 2014-02-19 Tom Tromey <tromey@redhat.com>
11066
11067 * target.h (struct target_ops) <to_insn_history_from>: Add
11068 argument.
11069 * target.c (target_insn_history_from): Add argument.
11070 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
11071 argument.
11072
11073 2014-02-19 Tom Tromey <tromey@redhat.com>
11074
11075 * target.h (struct target_ops) <to_insn_history>: Add argument.
11076 * target.c (target_insn_history): Add argument.
11077 * record-btrace.c (record_btrace_insn_history): Add 'self'
11078 argument.
11079
11080 2014-02-19 Tom Tromey <tromey@redhat.com>
11081
11082 * target.h (struct target_ops) <to_goto_record>: Add argument.
11083 * target.c (target_goto_record): Add argument.
11084 * record-full.c (record_full_goto): Add 'self' argument.
11085 * record-btrace.c (record_btrace_goto): Add 'self' argument.
11086
11087 2014-02-19 Tom Tromey <tromey@redhat.com>
11088
11089 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
11090 * target.c (target_goto_record_end): Add argument.
11091 * record-full.c (record_full_goto_end): Add 'self' argument.
11092 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
11093
11094 2014-02-19 Tom Tromey <tromey@redhat.com>
11095
11096 * target.h (struct target_ops) <to_goto_record_begin>: Add
11097 argument.
11098 * target.c (target_goto_record_begin): Add argument.
11099 * record-full.c (record_full_goto_begin): Add 'self' argument.
11100 * record-btrace.c (record_btrace_goto_begin): Add 'self'
11101 argument.
11102
11103 2014-02-19 Tom Tromey <tromey@redhat.com>
11104
11105 * target.h (struct target_ops) <to_record_is_replaying>: Add
11106 argument.
11107 * target.c (target_record_is_replaying): Add argument.
11108 * record-full.c (record_full_is_replaying): Add 'self' argument.
11109 * record-btrace.c (record_btrace_is_replaying): Add 'self'
11110 argument.
11111 (record_btrace_xfer_partial, record_btrace_store_registers)
11112 (record_btrace_prepare_to_store, record_btrace_resume)
11113 (record_btrace_wait, record_btrace_decr_pc_after_break)
11114 (record_btrace_find_new_threads, record_btrace_thread_alive):
11115 Update.
11116
11117 2014-02-19 Tom Tromey <tromey@redhat.com>
11118
11119 * target.h (struct target_ops) <to_delete_record>: Add argument.
11120 * target.c (target_delete_record): Add argument.
11121 * record-full.c (record_full_delete): Add 'self' argument.
11122
11123 2014-02-19 Tom Tromey <tromey@redhat.com>
11124
11125 * target.h (struct target_ops) <to_save_record>: Add argument.
11126 * target.c (target_save_record): Add argument.
11127 * record-full.c (record_full_save): Add 'self' argument.
11128 (record_full_save): Add 'self' argument.
11129
11130 2014-02-19 Tom Tromey <tromey@redhat.com>
11131
11132 * target.h (struct target_ops) <to_info_record>: Add argument.
11133 * target.c (target_info_record): Add argument.
11134 * record.c (info_record_command): Add argument.
11135 * record-full.c (record_full_info): Add 'self' argument.
11136 * record-btrace.c (record_btrace_info): Add 'self' argument.
11137
11138 2014-02-19 Tom Tromey <tromey@redhat.com>
11139
11140 * target.h (struct target_ops) <to_stop_recording>: Add argument.
11141 * target.c (target_stop_recording): Add argument.
11142 * record.c (record_stop): Add argument.
11143 * record-btrace.c (record_btrace_stop_recording): Add 'self'
11144 argument.
11145
11146 2014-02-19 Tom Tromey <tromey@redhat.com>
11147
11148 * target.h (struct target_ops) <to_read_btrace>: Add argument.
11149 * target.c (struct target_ops) <to_read_btrace>: Add argument.
11150 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
11151 argument.
11152 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
11153 (_initialize_amd64_linux_nat): Use it.
11154 * i386-linux-nat.c (i386_linux_read_btrace): New function.
11155 (_initialize_i386_linux_nat): Use it.
11156
11157 2014-02-19 Tom Tromey <tromey@redhat.com>
11158
11159 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
11160 * target.c (target_teardown_btrace): Add argument.
11161 * remote.c (remote_teardown_btrace): Add 'self' argument.
11162 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
11163 argument.
11164 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
11165 argument.
11166
11167 2014-02-19 Tom Tromey <tromey@redhat.com>
11168
11169 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
11170 * target.c (target_disable_btrace): Add argument.
11171 * remote.c (remote_disable_btrace): Add 'self' argument.
11172 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
11173 argument.
11174 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
11175 argument.
11176
11177 2014-02-19 Tom Tromey <tromey@redhat.com>
11178
11179 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
11180 * target.c (target_enable_btrace): Add argument.
11181 * remote.c (remote_enable_btrace): Add 'self' argument.
11182 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
11183 argument.
11184 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
11185 argument.
11186
11187 2014-02-19 Tom Tromey <tromey@redhat.com>
11188
11189 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
11190 (target_can_use_agent): Add argument.
11191 * target.c (update_current_target): Update.
11192 * remote.c (remote_can_use_agent): Add 'self' argument.
11193 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
11194
11195 2014-02-19 Tom Tromey <tromey@redhat.com>
11196
11197 * target.h (struct target_ops) <to_use_agent>: Add argument.
11198 (target_use_agent): Add argument.
11199 * target.c (update_current_target): Update.
11200 * remote.c (remote_use_agent): Add 'self' argument.
11201 * inf-child.c (inf_child_use_agent): Add 'self' argument.
11202
11203 2014-02-19 Tom Tromey <tromey@redhat.com>
11204
11205 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
11206 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
11207 (target_traceframe_info): Add argument.
11208 * target.c (update_current_target): Update.
11209 * remote.c (remote_traceframe_info): Add 'self' argument.
11210 * ctf.c (ctf_traceframe_info): Add 'self' argument.
11211
11212 2014-02-19 Tom Tromey <tromey@redhat.com>
11213
11214 * target.h (target_static_tracepoint_markers_by_strid): Add
11215 argument.
11216 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
11217 'self' argument.
11218 * target.c (update_current_target): Update.
11219 * remote.c (struct target_ops)
11220 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11221 * linux-nat.c (struct target_ops)
11222 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11223
11224 2014-02-19 Tom Tromey <tromey@redhat.com>
11225
11226 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11227 Add argument.
11228 (target_static_tracepoint_marker_at): Add argument.
11229 * target.c (update_current_target): Update.
11230 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
11231 argument.
11232
11233 2014-02-19 Tom Tromey <tromey@redhat.com>
11234
11235 * target.h (struct target_ops) <to_set_permissions>: Add argument.
11236 (target_set_permissions): Add argument.
11237 * target.c (update_current_target): Update.
11238 * remote.c (remote_set_permissions): Add 'self' argument.
11239 (remote_start_remote): Update.
11240
11241 2014-02-19 Tom Tromey <tromey@redhat.com>
11242
11243 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
11244 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
11245 (target_get_tib_address): Add argument.
11246 * target.c (update_current_target): Update.
11247 * remote.c (remote_get_tib_address): Add 'self' argument.
11248
11249 2014-02-19 Tom Tromey <tromey@redhat.com>
11250
11251 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
11252 (target_set_trace_notes): Add argument.
11253 * target.c (update_current_target): Update.
11254 * remote.c (remote_set_trace_notes): Add 'self' argument.
11255
11256 2014-02-19 Tom Tromey <tromey@redhat.com>
11257
11258 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
11259 argument.
11260 (target_set_trace_buffer_size): Add argument.
11261 * target.c (update_current_target): Update.
11262 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
11263
11264 2014-02-19 Tom Tromey <tromey@redhat.com>
11265
11266 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
11267 argument.
11268 (target_set_circular_trace_buffer): Add argument.
11269 * target.c (update_current_target): Update.
11270 * remote.c (remote_set_circular_trace_buffer): Add 'self'
11271 argument.
11272
11273 2014-02-19 Tom Tromey <tromey@redhat.com>
11274
11275 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
11276 argument.
11277 (target_set_disconnected_tracing): Add argument.
11278 * target.c (update_current_target): Update.
11279 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
11280
11281 2014-02-19 Tom Tromey <tromey@redhat.com>
11282
11283 * target.h (struct target_ops)
11284 <to_get_min_fast_tracepoint_insn_len>: Add argument.
11285 (target_get_min_fast_tracepoint_insn_len): Add argument.
11286 * target.c (update_current_target): Update.
11287 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
11288 argument.
11289
11290 2014-02-19 Tom Tromey <tromey@redhat.com>
11291
11292 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
11293 argument.
11294 (target_get_raw_trace_data): Add argument.
11295 * target.c (update_current_target): Update.
11296 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
11297
11298 2014-02-19 Tom Tromey <tromey@redhat.com>
11299
11300 * target.h (struct target_ops) <to_upload_trace_state_variables>:
11301 Add argument.
11302 (target_upload_trace_state_variables): Add argument.
11303 * target.c (update_current_target): Update.
11304 * remote.c (remote_upload_trace_state_variables): Add 'self'
11305 argument.
11306 (remote_start_remote): Update.
11307
11308 2014-02-19 Tom Tromey <tromey@redhat.com>
11309
11310 * target.h (struct target_ops) <to_upload_tracepoints>: Add
11311 argument.
11312 (target_upload_tracepoints): Add argument.
11313 * target.c (update_current_target): Update.
11314 * remote.c (remote_upload_tracepoints): Add 'self' argument.
11315 (remote_start_remote): Update.
11316
11317 2014-02-19 Tom Tromey <tromey@redhat.com>
11318
11319 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
11320 (target_save_trace_data): Add argument.
11321 * target.c (update_current_target): Update.
11322 * remote.c (remote_save_trace_data): Add 'self' argument.
11323
11324 2014-02-19 Tom Tromey <tromey@redhat.com>
11325
11326 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
11327 argument.
11328 * target.h (struct target_ops)
11329 <to_get_trace_state_variable_value>: Add argument.
11330 (target_get_trace_state_variable_value): Add argument.
11331 * target.c (update_current_target): Update.
11332 * remote.c (remote_get_trace_state_variable_value): Add 'self'
11333 argument.
11334 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
11335
11336 2014-02-19 Tom Tromey <tromey@redhat.com>
11337
11338 * tracepoint.c (tfile_trace_find): Add 'self' argument.
11339 * target.h (struct target_ops) <to_trace_find>: Add argument.
11340 (target_trace_find): Add argument.
11341 * target.c (update_current_target): Update.
11342 * remote.c (remote_trace_find): Add 'self' argument.
11343 * ctf.c (ctf_trace_find): Add 'self' argument.
11344
11345 2014-02-19 Tom Tromey <tromey@redhat.com>
11346
11347 * target.h (struct target_ops) <to_trace_stop>: Add argument.
11348 (target_trace_stop): Add argument.
11349 * target.c (update_current_target): Update.
11350 * remote.c (remote_trace_stop): Add 'self' argument.
11351
11352 2014-02-19 Tom Tromey <tromey@redhat.com>
11353
11354 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
11355 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
11356 argument.
11357 (target_get_tracepoint_status): Add argument.
11358 * target.c (update_current_target): Update.
11359 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
11360
11361 2014-02-19 Tom Tromey <tromey@redhat.com>
11362
11363 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
11364 * target.h (struct target_ops) <to_get_trace_status>: Add
11365 argument.
11366 (target_get_trace_status): Add argument.
11367 * target.c (update_current_target): Update.
11368 * remote.c (remote_get_trace_status): Add 'self' argument.
11369 (remote_start_remote, remote_can_download_tracepoint): Update.
11370 * ctf.c (ctf_get_trace_status): Add 'self' argument.
11371
11372 2014-02-19 Tom Tromey <tromey@redhat.com>
11373
11374 * target.h (struct target_ops) <to_trace_start>: Add argument.
11375 (target_trace_start): Add argument.
11376 * target.c (update_current_target): Update.
11377 * remote.c (remote_trace_start): Add 'self' argument.
11378
11379 2014-02-19 Tom Tromey <tromey@redhat.com>
11380
11381 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11382 Add argument.
11383 (target_trace_set_readonly_regions): Add argument.
11384 * target.c (update_current_target): Update.
11385 * remote.c (remote_trace_set_readonly_regions): Add 'self'
11386 argument.
11387
11388 2014-02-19 Tom Tromey <tromey@redhat.com>
11389
11390 * target.h (struct target_ops) <to_disable_tracepoint>: Add
11391 argument.
11392 (target_disable_tracepoint): Add argument.
11393 * target.c (update_current_target): Update.
11394 * remote.c (remote_disable_tracepoint): Add 'self' argument.
11395
11396 2014-02-19 Tom Tromey <tromey@redhat.com>
11397
11398 * target.h (struct target_ops) <to_enable_tracepoint>: Add
11399 argument.
11400 (target_enable_tracepoint): Add argument.
11401 * target.c (update_current_target): Update.
11402 * remote.c (remote_enable_tracepoint): Add 'self' argument.
11403
11404 2014-02-19 Tom Tromey <tromey@redhat.com>
11405
11406 * target.h (struct target_ops) <to_download_trace_state_variable>:
11407 Add argument.
11408 (target_download_trace_state_variable): Add argument.
11409 * target.c (update_current_target): Update.
11410 * remote.c (remote_download_trace_state_variable): Add 'self'
11411 argument.
11412
11413 2014-02-19 Tom Tromey <tromey@redhat.com>
11414
11415 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
11416 argument.
11417 (target_can_download_tracepoint): Add argument.
11418 * target.c (update_current_target): Update.
11419 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
11420
11421 2014-02-19 Tom Tromey <tromey@redhat.com>
11422
11423 * target.h (struct target_ops) <to_download_tracepoint>: Add
11424 argument.
11425 (target_download_tracepoint): Add argument.
11426 * target.c (update_current_target): Update.
11427 * remote.c (remote_download_tracepoint): Add 'self' argument.
11428
11429 2014-02-19 Tom Tromey <tromey@redhat.com>
11430
11431 * target.h (struct target_ops) <to_trace_init>: Add argument.
11432 (target_trace_init): Add argument.
11433 * target.c (update_current_target): Update.
11434 * remote.c (remote_trace_init): Add 'self' argument.
11435
11436 2014-02-19 Tom Tromey <tromey@redhat.com>
11437
11438 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
11439 * target.c (target_fileio_readlink): Add argument.
11440 * remote.c (remote_hostio_readlink): Add 'self' argument.
11441 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
11442
11443 2014-02-19 Tom Tromey <tromey@redhat.com>
11444
11445 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
11446 * target.c (target_fileio_unlink): Add argument.
11447 * remote.c (remote_hostio_unlink): Add 'self' argument.
11448 (remote_file_delete): Update.
11449 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
11450
11451 2014-02-19 Tom Tromey <tromey@redhat.com>
11452
11453 * target.h (struct target_ops) <to_fileio_close>: Add argument.
11454 * target.c (target_fileio_close): Add argument.
11455 * remote.c (remote_hostio_close): Add 'self' argument.
11456 (remote_hostio_close_cleanup): Update.
11457 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
11458 Update.
11459 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
11460
11461 2014-02-19 Tom Tromey <tromey@redhat.com>
11462
11463 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
11464 * target.c (target_fileio_pread): Add argument.
11465 * remote.c (remote_hostio_pread): Add 'self' argument.
11466 (remote_bfd_iovec_pread, remote_file_get): Update.
11467 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
11468
11469 2014-02-19 Tom Tromey <tromey@redhat.com>
11470
11471 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
11472 * target.c (target_fileio_pwrite): Add argument.
11473 * remote.c (remote_hostio_pwrite): Add 'self' argument.
11474 (remote_file_put): Update.
11475 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
11476
11477 2014-02-19 Tom Tromey <tromey@redhat.com>
11478
11479 * target.h (struct target_ops) <to_fileio_open>: Add argument.
11480 * target.c (target_fileio_open): Add argument.
11481 * remote.c (remote_hostio_open): Add 'self' argument.
11482 (remote_bfd_iovec_open): Add 'self' argument.
11483 (remote_file_put): Add 'self' argument.
11484 (remote_file_get): Add 'self' argument.
11485 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
11486
11487 2014-02-19 Tom Tromey <tromey@redhat.com>
11488
11489 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
11490 Add argument.
11491 (target_can_run_breakpoint_commands): Add argument.
11492 * target.c (update_current_target): Update.
11493 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
11494 argument.
11495 (remote_insert_breakpoint): Add 'self' argument.
11496 (remote_insert_hw_breakpoint): Add 'self' argument.
11497 (remote_can_run_breakpoint_commands): Add 'self' argument.
11498
11499 2014-02-19 Tom Tromey <tromey@redhat.com>
11500
11501 * target.h (struct target_ops)
11502 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
11503 (target_supports_evaluation_of_breakpoint_conditions): Add
11504 argument.
11505 * target.c (update_current_target): Update.
11506 * remote.c (remote_supports_cond_breakpoints): Add 'self'
11507 argument.
11508 (remote_insert_breakpoint): Add 'self' argument.
11509 (remote_insert_hw_breakpoint): Add 'self' argument.
11510 (remote_supports_cond_breakpoints): Add 'self' argument.
11511
11512 2014-02-19 Tom Tromey <tromey@redhat.com>
11513
11514 * target.h (struct target_ops) <to_supports_string_tracing>: Add
11515 argument.
11516 (target_supports_string_tracing): Add argument.
11517 * target.c (update_current_target): Update.
11518 * remote.c (remote_supports_string_tracing): Add 'self' argument.
11519
11520 2014-02-19 Tom Tromey <tromey@redhat.com>
11521
11522 * target.h (struct target_ops)
11523 <to_supports_disable_randomization>: Add argument.
11524 * target.c (find_default_supports_disable_randomization): Add
11525 argument.
11526 (target_supports_disable_randomization): Add argument.
11527 (find_default_supports_disable_randomization): Add 'self'
11528 argument.
11529 * remote.c (extended_remote_supports_disable_randomization): Add
11530 'self' argument.
11531 (remote_supports_disable_randomization): Add 'self' argument.
11532 (extended_remote_create_inferior): Update.
11533 * linux-nat.c (linux_nat_supports_disable_randomization): Add
11534 'self' argument.
11535
11536 2014-02-19 Tom Tromey <tromey@redhat.com>
11537
11538 * target.h (struct target_ops)
11539 <to_supports_enable_disable_tracepoint>: Add argument.
11540 (target_supports_enable_disable_tracepoint): Add argument.
11541 * target.c (update_current_target): Update.
11542 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
11543 argument.
11544
11545 2014-02-19 Tom Tromey <tromey@redhat.com>
11546
11547 * target.h (struct target_ops) <to_supports_multi_process>: Add
11548 argument.
11549 (target_supports_multi_process): Add argument.
11550 * target.c (update_current_target): Update.
11551 * remote.c (remote_supports_multi_process): Add 'self' argument.
11552 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
11553 argument.
11554 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
11555 argument.
11556
11557 2014-02-19 Tom Tromey <tromey@redhat.com>
11558
11559 * target.h (struct target_ops) <to_execution_direction>: Add
11560 argument.
11561 (target_execution_direction): Add argument.
11562 * target.c (default_execution_direction): Add 'self' argument.
11563 * record-full.c (record_full_execution_direction): Add 'self'
11564 argument.
11565
11566 2014-02-19 Tom Tromey <tromey@redhat.com>
11567
11568 * target.h (struct target_ops) <to_can_execute_reverse>: Add
11569 argument.
11570 (target_can_execute_reverse): Add argument.
11571 * remote.c (remote_can_execute_reverse): Add 'self' argument.
11572 * record-full.c (record_full_can_execute_reverse): Add 'self'
11573 argument.
11574 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
11575 argument.
11576
11577 2014-02-19 Tom Tromey <tromey@redhat.com>
11578
11579 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
11580 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
11581 argument.
11582 (target_get_ada_task_ptid): Add argument.
11583 * target.c (update_current_target): Update.
11584 (default_get_ada_task_ptid): Add 'self' argument.
11585 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
11586 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
11587 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
11588 argument.
11589 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
11590 argument.
11591 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
11592 argument.
11593 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
11594 argument.
11595 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
11596 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
11597 argument.
11598
11599 2014-02-19 Tom Tromey <tromey@redhat.com>
11600
11601 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
11602 (target_goto_bookmark): Add argument.
11603 * target.c (dummy_goto_bookmark): Add 'self' argument.
11604 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
11605
11606 2014-02-19 Tom Tromey <tromey@redhat.com>
11607
11608 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
11609 (target_get_bookmark): Add argument.
11610 * target.c (dummy_get_bookmark): Add 'self' argument.
11611 * record-full.c (record_full_get_bookmark): Add 'self' argument.
11612
11613 2014-02-19 Tom Tromey <tromey@redhat.com>
11614
11615 * target.h (struct target_ops) <to_make_corefile_notes>: Add
11616 argument.
11617 (target_make_corefile_notes): Add argument.
11618 * target.c (dummy_make_corefile_notes): Add 'self' argument.
11619 * procfs.c (procfs_make_note_section): Add 'self' argument.
11620 (procfs_make_note_section): Add 'self' argument.
11621 (procfs_make_note_section): Add 'self' argument.
11622 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
11623 argument.
11624 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
11625 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
11626 * exec.c (exec_make_note_section): Add 'self' argument.
11627 (exec_make_note_section): Add 'self' argument.
11628
11629 2014-02-19 Tom Tromey <tromey@redhat.com>
11630
11631 * target.h (struct target_ops) <to_find_memory_regions>: Add
11632 argument.
11633 (target_find_memory_regions): Add argument.
11634 * target.c (dummy_find_memory_regions): Add 'self' argument.
11635 * procfs.c (proc_find_memory_regions): Add 'self' argument.
11636 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
11637 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
11638 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
11639 * exec. (exec_do_find_memory_regions): New global.
11640 (exec_set_find_memory_regions): Rewrite.
11641 (exec_find_memory_regions): New function.
11642 (init_exec_ops): Use exec_find_memory_regions.
11643
11644 2014-02-19 Tom Tromey <tromey@redhat.com>
11645
11646 * target.h (struct target_ops) <to_supports_non_stop>: Add
11647 argument.
11648 * target.c (find_default_supports_non_stop): Add argument.
11649 (target_supports_non_stop): Add argument.
11650 (find_default_supports_non_stop): Add 'self' argument.
11651 * remote.c (remote_supports_non_stop): Add 'self' argument.
11652 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
11653
11654 2014-02-19 Tom Tromey <tromey@redhat.com>
11655
11656 * target.h (struct target_ops) <to_log_command>: Add argument.
11657 (target_log_command): Add argument.
11658 * serial.h (serial_log_command): Add 'self' argument.
11659 * serial.c (serial_log_command): Add 'self' argument.
11660
11661 2014-02-19 Tom Tromey <tromey@redhat.com>
11662
11663 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
11664 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
11665 argument.
11666 (target_pid_to_exec_file): Add argument.
11667 * target.c (debug_to_pid_to_exec_file): Add argument.
11668 (update_current_target): Update.
11669 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
11670 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
11671 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
11672 (linux_handle_extended_wait): Update.
11673 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
11674 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
11675 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
11676 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
11677
11678 2014-02-19 Tom Tromey <tromey@redhat.com>
11679
11680 * target.h (struct target_ops) <to_rcmd>: Add argument.
11681 (target_rcmd): Add argument.
11682 * target.c (debug_to_rcmd): Add argument.
11683 (update_current_target, do_monitor_command): Update.
11684 * remote.c (remote_rcmd): Add 'self' argument.
11685 * monitor.c (monitor_rcmd): Add 'self' argument.
11686
11687 2014-02-19 Tom Tromey <tromey@redhat.com>
11688
11689 * windows-nat.c (windows_stop): Add 'self' argument.
11690 * target.h (struct target_ops) <to_stop>: Add argument.
11691 * target.c (target_stop): Add argument.
11692 (debug_to_stop): Add argument.
11693 (update_current_target): Update.
11694 * remote.c (remote_stop): Add 'self' argument.
11695 * remote-sim.c (gdbsim_stop): Add 'self' argument.
11696 (gdbsim_cntrl_c): Update.
11697 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
11698 * procfs.c (procfs_stop): Add 'self' argument.
11699 * nto-procfs.c (procfs_stop): Add 'self' argument.
11700 * monitor.c (monitor_stop): Add 'self' argument.
11701 (monitor_open): Update.
11702 * linux-nat.c (linux_nat_stop): Add argument.
11703 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
11704 * gnu-nat.c (gnu_stop): Add 'self' argument.
11705 * darwin-nat.c (darwin_stop): Add 'self' argument.
11706
11707 2014-02-19 Tom Tromey <tromey@redhat.com>
11708
11709 * target.h (struct target_ops) <to_thread_name>: Add argument.
11710 * target.c (target_thread_name): Add argument.
11711 (update_current_target): Update.
11712 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
11713
11714 2014-02-19 Tom Tromey <tromey@redhat.com>
11715
11716 * target.h (struct target_ops) <to_extra_thread_info>: Add
11717 argument.
11718 (target_extra_thread_info): Add argument.
11719 * target.c (update_current_target): Update.
11720 * remote.c (remote_threads_extra_info): Add 'self' argument.
11721 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
11722 argument.
11723 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
11724 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
11725 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
11726 argument.
11727 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
11728 argument.
11729 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
11730 argument.
11731 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
11732 argument.
11733
11734 2014-02-19 Tom Tromey <tromey@redhat.com>
11735
11736 * target.h (struct target_ops) <to_program_signals>: Add argument.
11737 * target.c (target_program_signals): Add argument.
11738 * remote.c (remote_program_signals): Add 'self' argument.
11739
11740 2014-02-19 Tom Tromey <tromey@redhat.com>
11741
11742 * target.h (struct target_ops) <to_pass_signals>: Add argument.
11743 * target.c (target_pass_signals): Add argument.
11744 * remote.c (remote_pass_signals): Add 'self' argument.
11745 (remote_start_remote): Update.
11746 * procfs.c (procfs_pass_signals): Add 'self' argument.
11747 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
11748 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
11749 (linux_nat_create_inferior, linux_nat_attach): Update.
11750
11751 2014-02-19 Tom Tromey <tromey@redhat.com>
11752
11753 * windows-nat.c (windows_can_run): Add 'self' argument.
11754 * target.h (struct target_ops) <to_can_run>: Add argument.
11755 (target_can_run): Add argument.
11756 * target.c (debug_to_can_run): Add argument.
11757 (update_current_target): Update.
11758 * nto-procfs.c (procfs_can_run): Add 'self' argument.
11759 * inf-child.c (inf_child_can_run): Add 'self' argument.
11760 * go32-nat.c (go32_can_run): Add 'self' argument.
11761
11762 2014-02-19 Tom Tromey <tromey@redhat.com>
11763
11764 * target.h (struct target_ops) <to_has_exited>: Add argument.
11765 (target_has_exited): Add argument.
11766 * target.c (debug_to_has_exited): Add argument.
11767 (update_current_target): Update.
11768
11769 2014-02-19 Tom Tromey <tromey@redhat.com>
11770
11771 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
11772 argument.
11773 (target_set_syscall_catchpoint): Add argument.
11774 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
11775 argument.
11776 * target.c (update_current_target): Update.
11777
11778 2014-02-19 Tom Tromey <tromey@redhat.com>
11779
11780 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
11781 argument.
11782 (target_remove_exec_catchpoint): Add argument.
11783 * target.c (debug_to_remove_exec_catchpoint): Add argument.
11784 (update_current_target): Update.
11785 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
11786 argument.
11787
11788 2014-02-19 Tom Tromey <tromey@redhat.com>
11789
11790 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
11791 argument.
11792 (target_insert_exec_catchpoint): Add argument.
11793 * target.c (debug_to_insert_exec_catchpoint): Add argument.
11794 (update_current_target): Update.
11795 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
11796 argument.
11797
11798 2014-02-19 Tom Tromey <tromey@redhat.com>
11799
11800 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
11801 argument.
11802 (target_remove_vfork_catchpoint): Add argument.
11803 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
11804 (update_current_target): Update.
11805 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
11806 argument.
11807
11808 2014-02-19 Tom Tromey <tromey@redhat.com>
11809
11810 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
11811 argument.
11812 (target_insert_vfork_catchpoint): Add argument.
11813 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
11814 (update_current_target): Update.
11815 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
11816 argument.
11817
11818 2014-02-19 Tom Tromey <tromey@redhat.com>
11819
11820 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
11821 argument.
11822 (target_remove_fork_catchpoint): Add argument.
11823 * target.c (debug_to_remove_fork_catchpoint): Add argument.
11824 (update_current_target): Update.
11825 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
11826 argument.
11827
11828 2014-02-19 Tom Tromey <tromey@redhat.com>
11829
11830 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
11831 argument.
11832 (target_insert_fork_catchpoint): Add argument.
11833 * target.c (debug_to_insert_fork_catchpoint): Add argument.
11834 (update_current_target): Update.
11835 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
11836 argument.
11837
11838 2014-02-19 Tom Tromey <tromey@redhat.com>
11839
11840 * target.h (struct target_ops) <to_post_startup_inferior>: Add
11841 argument.
11842 (target_post_startup_inferior): Add argument.
11843 * target.c (debug_to_post_startup_inferior): Add argument.
11844 (update_current_target): Update.
11845 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
11846 argument.
11847 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
11848 argument.
11849 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
11850 argument.
11851 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
11852 argument.
11853 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
11854 'self' argument.
11855 (super_post_startup_inferior): Likewise.
11856 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
11857 'self' argument.
11858 (super_post_startup_inferior): Likewise.
11859 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
11860 Add 'self' argument.
11861 (super_post_startup_inferior): Likewise.
11862
11863 2014-02-19 Tom Tromey <tromey@redhat.com>
11864
11865 * target.h (struct target_ops) <to_load>: Add argument.
11866 * target.c (target_load): Add argument.
11867 (debug_to_load): Add argument.
11868 (update_current_target): Update.
11869 * remote.c (remote_load): Add 'self' argument.
11870 * remote-sim.c (gdbsim_load): Add 'self' argument.
11871 * remote-mips.c (mips_load): Add 'self' argument.
11872 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
11873 * monitor.c (monitor_load): Add 'self' argument.
11874 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
11875
11876 2014-02-19 Tom Tromey <tromey@redhat.com>
11877
11878 * target.h (struct target_ops) <to_terminal_info>: Add argument.
11879 (target_terminal_info): Add argument.
11880 * target.c (debug_to_terminal_info): Add argument.
11881 (default_terminal_info): Likewise.
11882 * inflow.c (child_terminal_info): Add 'self' argument.
11883 * inferior.h (child_terminal_info): Add 'self' argument.
11884 * go32-nat.c (go32_terminal_info): Add 'self' argument.
11885
11886 2014-02-19 Tom Tromey <tromey@redhat.com>
11887
11888 * target.h (struct target_ops) <to_terminal_save_ours>: Add
11889 argument.
11890 (target_terminal_save_ours): Add argument.
11891 * target.c (debug_to_terminal_save_ours): Add argument.
11892 (update_current_target): Update.
11893 * inflow.c (terminal_save_ours): Add 'self' argument.
11894 * inferior.h (terminal_save_ours): Add 'self' argument.
11895
11896 2014-02-19 Tom Tromey <tromey@redhat.com>
11897
11898 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
11899 (target_terminal_ours): Add argument.
11900 * target.c (debug_to_terminal_ours): Add argument.
11901 (update_current_target): Update.
11902 * remote.c (remote_terminal_ours): Add 'self' argument.
11903 (remote_close): Update.
11904 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
11905 * inflow.c (terminal_ours): Add 'self' argument.
11906 * inferior.h (terminal_ours): Add 'self' argument.
11907 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11908
11909 2014-02-19 Pedro Alves <palves@redhat.com>
11910 Tom Tromey <tromey@redhat.com>
11911
11912 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
11913 argument.
11914 (target_terminal_ours_for_output): Add argument.
11915 * target.c (debug_to_terminal_ours_for_output): Add argument.
11916 (update_current_target): Update.
11917 * inflow.c (terminal_ours_for_output): Add 'self' argument.
11918 * inferior.h (terminal_ours_for_output): Add 'self' argument.
11919 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11920
11921 2014-02-19 Tom Tromey <tromey@redhat.com>
11922
11923 * target.h (struct target_ops) <to_terminal_inferior>: Add
11924 argument.
11925 * target.c (target_terminal_inferior): Add argument.
11926 (update_current_target): Update.
11927 * remote.c (remote_terminal_inferior): Add 'self' argument.
11928 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
11929 * inflow.c (terminal_inferior): Add 'self' argument.
11930 * inferior.h (terminal_inferior): Add 'self' argument.
11931 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
11932 (go32_terminal_inferior): Add 'self' argument.
11933
11934 2014-02-19 Tom Tromey <tromey@redhat.com>
11935
11936 * target.h (struct target_ops) <to_terminal_init>: Add argument.
11937 (target_terminal_init): Add argument.
11938 * target.c (debug_to_terminal_init): Add argument.
11939 (update_current_target): Update.
11940 * inflow.c (terminal_init_inferior): Add 'self' argument.
11941 * inferior.h (terminal_init_inferior): Add 'self' argument.
11942 * go32-nat.c (go32_terminal_init): Add 'self' argument.
11943 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
11944
11945 2014-02-19 Tom Tromey <tromey@redhat.com>
11946
11947 * target.h (struct target_ops)
11948 <to_can_accel_watchpoint_condition>: Add argument.
11949 (target_can_accel_watchpoint_condition): Add argument.
11950 * target.c (debug_to_can_accel_watchpoint_condition): Add
11951 argument.
11952 (update_current_target): Update.
11953 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
11954 'self' argument.
11955
11956 2014-02-19 Tom Tromey <tromey@redhat.com>
11957
11958 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11959 Add argument.
11960 (target_region_ok_for_hw_watchpoint): Add argument.
11961 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
11962 (default_region_ok_for_hw_watchpoint): Add argument.
11963 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
11964 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
11965 argument.
11966 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
11967 argument.
11968 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
11969 argument.
11970 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
11971 'self' argument.
11972 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
11973 'self' argument.
11974 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
11975 'self' argument.
11976 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
11977 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
11978 'self' argument.
11979 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
11980 Add 'self' argument.
11981
11982 2014-02-19 Tom Tromey <tromey@redhat.com>
11983
11984 * target.h (struct target_ops) <to_insert_watchpoint>: Add
11985 argument.
11986 (target_insert_watchpoint): Add argument.
11987 * target.c (debug_to_insert_watchpoint): Add argument.
11988 (update_current_target): Update.
11989 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
11990 * remote.c (remote_insert_watchpoint): Add 'self' argument.
11991 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
11992 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
11993 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
11994 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
11995 argument.
11996 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
11997 (procfs_insert_hw_watchpoint): Add 'self' argument.
11998 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
11999 argument.
12000 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
12001 argument.
12002 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
12003 argument.
12004 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
12005 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
12006 argument.
12007 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
12008 'self' argument.
12009
12010 2014-02-19 Tom Tromey <tromey@redhat.com>
12011
12012 * target.h (struct target_ops) <to_remove_watchpoint>: Add
12013 argument.
12014 (target_remove_watchpoint): Add argument.
12015 * target.c (debug_to_remove_watchpoint): Add argument.
12016 (update_current_target): Update.
12017 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
12018 * remote.c (remote_remove_watchpoint): Add 'self' argument.
12019 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
12020 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
12021 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
12022 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
12023 argument.
12024 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
12025 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
12026 argument.
12027 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
12028 argument.
12029 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
12030 argument.
12031 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
12032 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
12033 argument.
12034 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
12035 'self' argument.
12036
12037 2014-02-19 Tom Tromey <tromey@redhat.com>
12038
12039 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
12040 argument.
12041 (target_remove_hw_breakpoint): Add argument.
12042 * target.c (debug_to_remove_hw_breakpoint): Add argument.
12043 (update_current_target): Update.
12044 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
12045 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
12046 argument.
12047 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
12048 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
12049 argument.
12050 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
12051 'self' argument.
12052
12053 2014-02-19 Tom Tromey <tromey@redhat.com>
12054
12055 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
12056 argument.
12057 (target_insert_hw_breakpoint): Add argument.
12058 * target.c (debug_to_insert_hw_breakpoint): Add argument.
12059 (update_current_target): Update.
12060 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
12061 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
12062 argument.
12063 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
12064 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
12065 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
12066 argument.
12067 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
12068 'self' argument.
12069
12070 2014-02-19 Tom Tromey <tromey@redhat.com>
12071
12072 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
12073 argument.
12074 (target_can_use_hardware_watchpoint): Add argument.
12075 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
12076 (update_current_target): Update.
12077 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
12078 argument.
12079 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
12080 argument.
12081 * remote.c (remote_check_watch_resources): Add 'self' argument.
12082 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
12083 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
12084 argument.
12085 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
12086 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
12087 argument.
12088 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
12089 argument.
12090 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
12091 argument.
12092 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
12093 argument.
12094 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
12095 argument.
12096 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
12097 argument.
12098 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
12099 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
12100 argument.
12101 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
12102 'self' argument.
12103
12104 2014-02-19 Tom Tromey <tromey@redhat.com>
12105
12106 * target.h (struct target_ops) <to_post_attach>: Add argument.
12107 (target_post_attach): Add argument.
12108 * target.c (debug_to_post_attach): Add argument.
12109 (update_current_target): Update.
12110 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
12111 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
12112 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
12113 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
12114 * inf-child.c (inf_child_post_attach): Add 'self' argument.
12115
12116 2014-02-19 Tom Tromey <tromey@redhat.com>
12117
12118 * windows-nat.c (windows_close): Add 'self' argument.
12119 * tracepoint.c (tfile_close): Add 'self' argument.
12120 * target.h (struct target_ops) <to_close>: Add argument.
12121 * target.c (target_close): Add argument.
12122 (update_current_target): Update.
12123 * remote.c (remote_close): Add 'self' argument.
12124 * remote-sim.c (gdbsim_close): Add 'self' argument.
12125 * remote-mips.c (mips_close): Add 'self' argument.
12126 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
12127 * record-full.c (record_full_close): Add 'self' argument.
12128 * record-btrace.c (record_btrace_close): Add 'self' argument.
12129 * monitor.h (monitor_close): Add 'self' argument.
12130 * monitor.c (monitor_close): Add 'self' argument.
12131 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
12132 * linux-nat.c (linux_nat_close): Add argument.
12133 * go32-nat.c (go32_close): Add 'self' argument.
12134 * exec.c (exec_close_1): Add 'self' argument.
12135 * ctf.c (ctf_close): Add 'self' argument.
12136 * corelow.c (core_close): Add 'self' argument.
12137 (core_close_cleanup): Update.
12138 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
12139 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
12140
12141 2014-02-19 Tom Tromey <tromey@redhat.com>
12142
12143 * remote.c (remote_load): New function.
12144 (init_remote_ops): Use it.
12145
12146 2014-02-19 Tom Tromey <tromey@redhat.com>
12147
12148 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
12149 argument.
12150 * common/linux-btrace.h (linux_supports_btrace): Update.
12151 * remote.c (remote_supports_btrace): Add "self" argument.
12152 * target-delegates.c: Rebuild.
12153 * target.c (target_supports_btrace): Remove.
12154 * target.h (struct target_ops) <to_supports_btrace>: Add
12155 target_ops argument.
12156 (target_supports_btrace): New define.
12157
12158 2014-02-19 Tom Tromey <tromey@redhat.com>
12159
12160 * record-full.c (record_full_beneath_to_resume_ops)
12161 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
12162 (record_full_beneath_to_wait)
12163 (record_full_beneath_to_store_registers_ops)
12164 (record_full_beneath_to_store_registers)
12165 (record_full_beneath_to_xfer_partial_ops)
12166 (record_full_beneath_to_xfer_partial)
12167 (record_full_beneath_to_insert_breakpoint_ops)
12168 (record_full_beneath_to_insert_breakpoint)
12169 (record_full_beneath_to_remove_breakpoint_ops)
12170 (record_full_beneath_to_remove_breakpoint)
12171 (record_full_beneath_to_stopped_by_watchpoint)
12172 (record_full_beneath_to_stopped_data_address)
12173 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
12174 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
12175 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
12176 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
12177 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
12178 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
12179 (tmp_to_stopped_data_address, tmp_to_async): Remove.
12180 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
12181 (record_full_resume, record_full_wait_1)
12182 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
12183 (record_full_store_registers, record_full_xfer_partial)
12184 (record_full_insert_breakpoint, record_full_remove_breakpoint)
12185 (record_full_async, record_full_core_xfer_partial): Use target
12186 delegation.
12187 * target-delegates.c: Rebuild.
12188 * target.c (current_xfer_partial): Remove.
12189 (update_current_target): Do not INHERIT or de_fault
12190 to_insert_breakpoint, to_remove_breakpoint,
12191 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
12192 to_is_async_p, to_async. Do not set to_xfer_partial field.
12193 (default_xfer_partial): Simplify.
12194 (current_xfer_partial): Remove.
12195 (target_wait, target_resume): Simplify.
12196 (find_default_can_async_p, find_default_is_async_p): Update.
12197 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
12198 to_xfer_partial, to_stopped_by_watchpoint,
12199 to_stopped_data_address.
12200 (target_store_registers): Simplify.
12201 (forward_target_remove_breakpoint)
12202 (forward_target_insert_breakpoint): Remove.
12203 (target_remove_breakpoint, target_insert_breakpoint)
12204 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
12205 * target.h (struct target_ops) <to_resume, to_wait,
12206 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
12207 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
12208 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
12209 markup.
12210 (forward_target_remove_breakpoint)
12211 (forward_target_insert_breakpoint): Remove.
12212 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
12213 directly.
12214 (record_btrace_insert_breakpoint): Delegate directly.
12215
12216 2014-02-19 Tom Tromey <tromey@redhat.com>
12217
12218 PR build/7701:
12219 * target-delegates.c: New file.
12220 * target.c: Include target-delegates.c.
12221 (init_dummy_target): Call install_dummy_methods.
12222 (complete_target_initialization): Call install_delegators.
12223 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
12224 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
12225 * make-target-delegates: New file.
12226
12227 2014-02-19 Tom Tromey <tromey@redhat.com>
12228
12229 * record.c (find_record_target): Use find_target_at.
12230 * target.c (find_target_at): New function.
12231 * target.h (find_target_at): Declare.
12232
12233 2014-02-19 Tom Tromey <tromey@redhat.com>
12234
12235 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
12236 Add 'ops' argument.
12237 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
12238 'ops' argument.
12239 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
12240 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
12241 'ops' argument.
12242 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
12243 argument.
12244 * linux-nat.c (save_sigtrap): Update.
12245 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
12246 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
12247 (linux_nat_close): Update.
12248 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
12249 argument.
12250 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
12251 argument.
12252 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
12253 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
12254 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
12255 (tmp_to_async): Add 'ops' argument.
12256 (record_full_stopped_by_watchpoint, record_full_async)
12257 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
12258 argument.
12259 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
12260 (m32r_stopped_by_watchpoint): Add 'ops' argument.
12261 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
12262 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
12263 (remote_is_async_p, remote_async): Add 'ops' argument.
12264 (remote_stopped_data_address): Update.
12265 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
12266 * target.c (update_current_target)
12267 (find_default_can_async_p, find_default_is_async_p): Update.
12268 (init_dummy_target): Update.
12269 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
12270 * target.h (struct target_ops) <to_stopped_by_watchpoint,
12271 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
12272 (target_can_async_p, target_is_async_p, target_async)
12273 (target_stopped_by_watchpoint): Update.
12274
12275 2014-02-19 Yao Qi <yao@codesourcery.com>
12276
12277 PR gdb/16220
12278 * gdbarch.sh: Remove startup_gdbarch.
12279 * gdbarch.c: Regenerated.
12280 * gdbarch.h: Likewise.
12281
12282 2014-02-17 Kevin Buettner <kevinb@redhat.com>
12283
12284 * rl78-tdep.c (rl78_g10_register_name): New function.
12285 (rl78_return_value): Add g10 support.
12286 (rl78_gdbarch_init): Register rl78_g10_register_name for the
12287 g10.
12288
12289 2014-02-17 Doug Evans <xdje42@gmail.com>
12290
12291 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
12292 (SUBDIR_GUILE_SRCS): Ditto.
12293 (scm-gsmob.o): Ditto.
12294
12295 2014-02-17 Yao Qi <yao@codesourcery.com>
12296
12297 * gnu-nat.c (ILL_RPC): Declare defined function.
12298
12299 2014-02-17 Yao Qi <yao@codesourcery.com>
12300
12301 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
12302 mach_msg_type_number_t.
12303 (gnu_write_inferior): Likewise.
12304
12305 2014-02-17 Yao Qi <yao@codesourcery.com>
12306
12307 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
12308 in format string.
12309 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
12310 (inf_validate_procs, inf_signal): Likewise.
12311 (S_exception_raise_request): Likewise.
12312 (do_mach_notify_dead_name): Likewise.
12313 (steal_exc_port): Likewise.
12314 (gnu_read_inferior): Change 'copy_count''s type to
12315 mach_msg_type_number_t.
12316 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
12317 format string.
12318
12319 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
12320
12321 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
12322 flag. Adjust all users; in particular...
12323 (gnu_wait): ..., don't decrement its value in here...
12324 (gnu_create_inferior): ..., and instead set the flag in here,
12325 around the startup_inferior call, and call that one with
12326 START_INFERIOR_TRAPS_EXPECTED.
12327
12328 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
12329 (ILL_RPC): ... new macro.
12330 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
12331 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
12332 (do_mach_notify_send_once, S_proc_setmsgport_reply)
12333 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
12334 functions with ILL_RPC macro.
12335 (S_proc_pid2task_reply, S_proc_task2pid_reply)
12336 (S_proc_task2proc_reply, S_proc_proc2task_reply)
12337 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
12338 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
12339 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
12340 (S_proc_getlogin_reply, S_proc_getsid_reply)
12341 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
12342 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
12343 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
12344 (S_proc_getnports_reply, S_proc_is_important_reply)
12345 (S_proc_get_code_reply): New stub functions, generated with
12346 ILL_RPC macro.
12347
12348 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
12349 collected the type check structures.
12350
12351 * reply_mig_hack.awk: Don't expect to see the auto keyword.
12352
12353 2014-02-14 Doug Evans <dje@google.com>
12354
12355 * target.c (target_write_partial): Fix result type.
12356
12357 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
12358
12359 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
12360 the proper offsets to access fpregset_t.
12361
12362 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
12363
12364 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
12365 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
12366 * h8300-tdep.c (setmachinelist): Remove global.
12367 * hppa-tdep.c (hppa_sigtramp): Remove global.
12368 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
12369 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
12370 * ravenscar-thread.c (update_target_observer): Remove global.
12371 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
12372
12373 2014-02-12 Tom Tromey <tromey@redhat.com>
12374
12375 * common/rsp-low.c: Update comments.
12376 * common/rsp-low.h: Update comments.
12377
12378 2014-02-12 Tom Tromey <tromey@redhat.com>
12379
12380 * common/rsp-low.c (convert_ascii_to_int): Remove.
12381 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
12382
12383 2014-02-12 Tom Tromey <tromey@redhat.com>
12384
12385 * common/rsp-low.h (unhexify): Don't declare.
12386 * common/rsp-low.c (unhexify): Remove.
12387
12388 2014-02-12 Tom Tromey <tromey@redhat.com>
12389
12390 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
12391 * common/rsp-low.c (convert_int_to_ascii): Remove.
12392
12393 2014-02-12 Tom Tromey <tromey@redhat.com>
12394
12395 * common/rsp-low.h (hexify): Don't declare.
12396 * common/rsp-low.c (hexify): Remove.
12397
12398 2014-02-12 Tom Tromey <tromey@redhat.com>
12399
12400 * common/rsp-low.c (hexify): Never take strlen of argument.
12401
12402 2014-02-12 Tom Tromey <tromey@redhat.com>
12403
12404 * common/rsp-low.c (bin2hex): Never take strlen of argument.
12405 * remote.c (extended_remote_run, remote_rcmd)
12406 (remote_download_trace_state_variable, remote_save_trace_data)
12407 (remote_set_trace_notes): Update.
12408 * tracepoint.c (encode_source_string, tfile_write_status)
12409 (tfile_write_uploaded_tsv): Update.
12410
12411 2014-02-12 Tom Tromey <tromey@redhat.com>
12412
12413 * tracepoint.c: Include rsp-low.h.
12414 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
12415 * remote.c: Include rsp-low.h.
12416 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
12417 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
12418 (remote_unescape_input): Move to common/rsp-low.c.
12419 * common/rsp-low.h: New file.
12420 * common/rsp-low.c: New file.
12421 * Makefile.in (SFILES): Add common/rsp-low.c.
12422 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
12423 (COMMON_OBS): Add rsp-low.o.
12424 (rsp-low.o): New target.
12425
12426 2014-02-12 Tom Tromey <tromey@redhat.com>
12427
12428 * utils.h: Include print-utils.h.
12429 (host_address_to_string, plongest, pulongest, phex, phex_nz)
12430 (int_string, core_addr_to_string, core_addr_to_string_nz)
12431 (hex_string, hex_string_custom): Don't declare.
12432 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
12433 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
12434 (hex_string_custom, int_string, core_addr_to_string)
12435 (core_addr_to_string_nz, host_address_to_string): Move to
12436 common/print-utils.c.
12437 * common/print-utils.h: New file.
12438 * common/print-utils.c: New file
12439 * Makefile.in (SFILES): Add common/print-utils.c.
12440 (HFILES_NO_SRCDIR): Add common/print-utils.h.
12441 (COMMON_OBS): Add print-utils.o.
12442 (print-utils.o): New target.
12443
12444 2014-02-12 Tom Tromey <tromey@redhat.com>
12445
12446 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
12447
12448 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12449
12450 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
12451
12452 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12453
12454 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
12455 if a PT_IO ptrace request returns sucessfully but indicates that 0
12456 bytes were transferred.
12457
12458 2014-02-12 Pedro Alves <palves@redhat.com>
12459 Kevin Buettner <kevinb@redhat.com>
12460
12461 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
12462 TYPE_INSTANCE_FLAG_CODE_SPACE.
12463
12464 2014-02-12 Pedro Alves <palves@redhat.com>
12465
12466 * h8300-tdep.c (pseudo_from_raw_register)
12467 (raw_from_pseudo_register): New functions.
12468 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
12469 them.
12470
12471 2014-02-12 Pedro Alves <palves@redhat.com>
12472
12473 * h8300-tdep.c (h8300_register_sim_regno): New function.
12474 (h8300_gdbarch_init): Install h8300_register_sim_regno as
12475 gdbarch_register_sim_regno hook.
12476
12477 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12478
12479 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
12480
12481 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12482
12483 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
12484
12485 2014-02-12 Mark Kettenis <kettenis@gnu.org>
12486
12487 * obsd-tdep.h (obsd_init_abi): New prototype.
12488 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
12489 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
12490 (obsd_init_abi): New functions.
12491 * i386obsd-tdep.c: Include "obsd-tdep.h".
12492 (i386obsd_init_abi): Call obsd_init_abi.
12493 * amd64obsd-tdep.c: Include "obsd-tdep.h".
12494 (amd64obsd_init_abi): Call obsd_init_abi.
12495 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
12496 obsd-tdep.c to gdb_target_obs.
12497
12498 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
12499
12500 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
12501 double float arguments to 16-byte in the argument slots.
12502
12503 2014-02-11 Doug Evans <xdje42@gmail.com>
12504
12505 * configure.ac: Don't crash if pkg-config is not found and guile
12506 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
12507 in guile checks.
12508 * configure: Regenerate.
12509
12510 2014-02-11 Yao Qi <yao@codesourcery.com>
12511
12512 * aix-thread.c (aix_thread_xfer_partial): Update comments.
12513 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
12514 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12515 * gnu-nat.c (gnu_xfer_memory): Likewise.
12516 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12517 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12518 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12519 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12520
12521 2014-02-11 Yao Qi <yao@codesourcery.com>
12522
12523 * target.h (enum target_xfer_error): Rename to ...
12524 (enum target_xfer_status): ... it. New. All users updated.
12525 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
12526 New.
12527 (TARGET_XFER_STATUS_ERROR_P): New macro.
12528 (target_xfer_error_to_string): Remove declaration.
12529 (target_xfer_status_to_string): Declare.
12530 (target_xfer_partial_ftype): Adjust it.
12531 (struct target_ops) <to_xfer_partial>: Return
12532 target_xfer_status. Add argument xfered_len. Update
12533 comments.
12534 * target.c (target_xfer_error_to_string): Rename to ...
12535 (target_xfer_status_to_string): ... it. New. All callers
12536 updated.
12537 (target_read_live_memory): Likewise. Call target_xfer_partial
12538 instead of target_read.
12539 (memory_xfer_live_readonly_partial): Return
12540 target_xfer_status. Add argument xfered_len.
12541 (raw_memory_xfer_partial): Likewise.
12542 (memory_xfer_partial_1): Likewise.
12543 (memory_xfer_partial): Likewise.
12544 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
12545 properly. Update debug message.
12546 (default_xfer_partial, current_xfer_partial): Likewise.
12547 (target_write_partial): Likewise.
12548 (target_read_partial): Likewise. All callers updated.
12549 (read_whatever_is_readable): Likewise.
12550 (target_write_with_progress): Likewise.
12551 (target_read_alloc_1): Likewise.
12552
12553 * aix-thread.c (aix_thread_xfer_partial): Likewise.
12554 * auxv.c (procfs_xfer_auxv): Likewise.
12555 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
12556 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12557 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12558 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
12559 * corefile.c (read_memory): Adjust.
12560 * corelow.c (core_xfer_partial): Likewise.
12561 * ctf.c (ctf_xfer_partial): Likewise.
12562 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
12563 updated.
12564 (darwin_xfer_partial): Likewise.
12565 * exec.c (section_table_xfer_memory_partial): Likewise. All
12566 callers updated.
12567 (exec_xfer_partial): Likewise.
12568 * exec.h (section_table_xfer_memory_partial): Update
12569 declaration.
12570 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
12571 negative.
12572 (gnu_xfer_partial): Likewise.
12573 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
12574 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
12575 (ia64_hpux_xfer_solib_got): Likewise.
12576 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
12577 type of 'partial_len' to ULONGEST.
12578 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12579 * linux-nat.c (linux_xfer_siginfo ): Likewise.
12580 (linux_nat_xfer_partial): Likewise.
12581 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
12582 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
12583 * monitor.c (monitor_xfer_memory): Likewise.
12584 (monitor_xfer_partial): Likewise.
12585 * procfs.c (procfs_xfer_partial): Likewise.
12586 * record-btrace.c (record_btrace_xfer_partial): Likewise.
12587 * record-full.c (record_full_xfer_partial): Likewise.
12588 (record_full_core_xfer_partial): Likewise.
12589 * remote-sim.c (gdbsim_xfer_memory): Likewise.
12590 (gdbsim_xfer_partial): Likewise.
12591 * remote.c (remote_write_bytes_aux): Likewise. All callers
12592 updated.
12593 (remote_write_bytes, remote_read_bytes): Likewise. All
12594 callers updated.
12595 (remote_flash_erase): Likewise. All callers updated.
12596 (remote_write_qxfer): Likewise. All callers updated.
12597 (remote_read_qxfer): Likewise. All callers updated.
12598 (remote_xfer_partial): Likewise.
12599 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12600 (rs6000_xfer_shared_libraries): Likewise.
12601 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12602 (sol_thread_xfer_partial): Likewise.
12603 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12604 (sparc_xfer_partial): Likewise.
12605 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
12606 updated.
12607 (spu_xfer_partial): Likewise.
12608 * spu-multiarch.c (spu_xfer_partial): Likewise.
12609 * tracepoint.c (tfile_xfer_partial): Likewise.
12610 * windows-nat.c (windows_xfer_memory): Likewise.
12611 (windows_xfer_shared_libraries): Likewise.
12612 (windows_xfer_partial): Likewise.
12613 * valprint.c: Replace 'target_xfer_error' with
12614 'target_xfer_status' in comments.
12615
12616 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
12617
12618 Checked in by Joel Brobecker <brobecker@adacore.com>.
12619 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
12620
12621 2014-02-11 Joel Brobecker <brobecker@adacore.com>
12622
12623 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
12624 function parameters.
12625
12626 2014-02-10 Will Newton <will.newton@linaro.org>
12627
12628 * elfread.c (elf_rel_plt_read): Look for a .got section if
12629 looking up .got.plt fails.
12630 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
12631 on address passed to elf_gnu_ifunc_record_cache.
12632 (elf_gnu_ifunc_resolve_addr): Likewise.
12633 (elf_gnu_ifunc_resolver_return_stop): Likewise.
12634
12635 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
12636
12637 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
12638 (X_RETTURN): New macro.
12639 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
12640
12641 * sparc64-tdep.c (sparc64_init_abi): Hook
12642 sparc_in_function_epilogue_p.
12643
12644 2014-02-10 Gary Benson <gbenson@redhat.com>
12645
12646 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12647 Rename name_matcher to symbol_matcher.
12648
12649 2014-02-10 Gary Benson <gbenson@redhat.com>
12650
12651 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12652 Use expand_symtabs_file_matcher_ftype and
12653 expand_symtabs_symbol_matcher_ftype.
12654
12655 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12656
12657 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
12658 (struct ada_symbol_cache): New.
12659 (ada_free_symbol_cache): Forward declare.
12660 (struct ada_pspace_data): New.
12661 (ada_pspace_data_handle): New static global.
12662 (get_ada_pspace_data, ada_pspace_data_cleanup)
12663 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
12664 (cache_space, cache): Delete, now folded inside struct
12665 ada_pspace_data.
12666 (ada_get_symbol_cache): New function.
12667 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
12668 implementation.
12669 (_initialize_ada_language): Remove initialization of cache_space.
12670 Move call to observer_attach_inferior_exit up, grouping it
12671 with the other observer registrations inside this function.
12672 Rename command to be more general. Add call to
12673 register_program_space_data_with_cleanup.
12674
12675 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12676
12677 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
12678 ada_new_objfile_observer.
12679 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
12680 (_initialize_tasks): Update uses of ada_new_objfile_observer
12681 and ada_tasks_normal_stop_observer.
12682
12683 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12684
12685 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
12686 returned by the 'Length attribute to integer.
12687
12688 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12689
12690 * ada-lang.c (_initialize_ada_language): Initialize
12691 cache_space obstack.
12692
12693 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12694
12695 * ada-lang.c (HASH_SIZE): New macro.
12696 (struct cache_entry): New type.
12697 (cache_space, cache): New static globals.
12698 (ada_clear_symbol_cache, find_entry): New functions.
12699 (lookup_cached_symbol, cache_symbol): Implement.
12700 (ada_new_objfile_observer, ada_free_objfile_observer): New.
12701 (_initialize_ada_language): Attach ada_new_objfile_observer
12702 and ada_free_objfile_observer.
12703
12704 2014-02-10 Joel Brobecker <brobecker@adacore.com>
12705
12706 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
12707 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
12708 struct block * parameter.
12709 (ada_lookup_symbol_list_worker): Constify local variable "block".
12710 Remove cast which is no longer necessary.
12711
12712 2014-02-10 Doug Evans <xdje42@gmail.com>
12713
12714 Add Guile as an extension language.
12715 * NEWS: Mention Guile scripting.
12716 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
12717 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
12718 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
12719 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
12720 (CLIBS): Add GUILE_LIBS.
12721 (install-guile): New rule.
12722 (guile.o): New rule.
12723 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
12724 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
12725 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
12726 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
12727 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
12728 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
12729 (scm-type.o, scm-utils.o, scm-value.o): New rules.
12730 * configure.ac: New option --with-guile.
12731 * configure: Regenerate.
12732 * config.in: Regenerate.
12733 * auto-load.c: Remove #include "python/python.h". Add #include
12734 "gdb/section-scripts.h".
12735 (source_section_scripts): Handle Guile scripts.
12736 (_initialize_auto_load): Add name of Guile objfile script to
12737 scripts-directory help text.
12738 * breakpoint.c (condition_command): Tweak comment to include Scheme.
12739 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
12740 (struct breakpoint): New member scm_bp_object.
12741 * defs.h (enum command_control_type): New value guile_control.
12742 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
12743 "extension.h".
12744 (show_user): Update comment.
12745 (_initialize_cli_cmds): Update help text for "show user". Update help
12746 text for max-user-call-depth.
12747 * cli/cli-script.c: Remove #include "python/python.h". Add #include
12748 "extension.h".
12749 (multi_line_command_p): Add guile_control.
12750 (print_command_lines): Handle guile_control.
12751 (execute_control_command, recurse_read_control_structure): Ditto.
12752 (process_next_line): Recognize "guile" commands.
12753 * disasm.c (gdb_disassemble_info): Make non-static.
12754 * disasm.h: #include "dis-asm.h".
12755 (struct gdbarch): Add forward decl.
12756 (gdb_disassemble_info): Declare.
12757 * extension.c: #include "guile/guile.h".
12758 (extension_languages): Add guile.
12759 (get_ext_lang_defn): Handle EXT_LANG_GDB.
12760 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
12761 * gdbtypes.c (get_unsigned_type_max): New function.
12762 (get_signed_type_minmax): New function.
12763 * gdbtypes.h (get_unsigned_type_max): Declare.
12764 (get_signed_type_minmax): Declare.
12765 * guile/README: New file.
12766 * guile/guile-internal.h: New file.
12767 * guile/guile.c: New file.
12768 * guile/guile.h: New file.
12769 * guile/scm-arch.c: New file.
12770 * guile/scm-auto-load.c: New file.
12771 * guile/scm-block.c: New file.
12772 * guile/scm-breakpoint.c: New file.
12773 * guile/scm-disasm.c: New file.
12774 * guile/scm-exception.c: New file.
12775 * guile/scm-frame.c: New file.
12776 * guile/scm-gsmob.c: New file.
12777 * guile/scm-iterator.c: New file.
12778 * guile/scm-lazy-string.c: New file.
12779 * guile/scm-math.c: New file.
12780 * guile/scm-objfile.c: New file.
12781 * guile/scm-ports.c: New file.
12782 * guile/scm-pretty-print.c: New file.
12783 * guile/scm-safe-call.c: New file.
12784 * guile/scm-string.c: New file.
12785 * guile/scm-symbol.c: New file.
12786 * guile/scm-symtab.c: New file.
12787 * guile/scm-type.c: New file.
12788 * guile/scm-utils.c: New file.
12789 * guile/scm-value.c: New file.
12790 * guile/lib/gdb.scm: New file.
12791 * guile/lib/gdb/boot.scm: New file.
12792 * guile/lib/gdb/experimental.scm: New file.
12793 * guile/lib/gdb/init.scm: New file.
12794 * guile/lib/gdb/iterator.scm: New file.
12795 * guile/lib/gdb/printing.scm: New file.
12796 * guile/lib/gdb/types.scm: New file.
12797 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
12798 (VPATH): Add $(GUILE_SRCDIR).
12799 (GUILE_DIR): New variable.
12800 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
12801 (all): Add stamp-guile dependency.
12802 (stamp-guile): New rule.
12803 (clean-guile, install-guile, uninstall-guile): New rules.
12804 (install-only): Add install-guile dependency.
12805 (uninstall): Add uninstall-guile dependency.
12806 (clean): Add clean-guile dependency.
12807
12808 2014-02-09 Doug Evans <xdje42@gmail.com>
12809
12810 Revert this patch (which I approved, mea culpa).
12811
12812 2014-02-08 Mark Kettenis <kettenis@gnu.org>
12813
12814 * Makefile.in (all-lib): Remove.
12815 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12816
12817 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12818
12819 Fix Python stack corruption.
12820 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
12821 gdb_py_longest.
12822
12823 2014-02-08 Mark Kettenis <kettenis@gnu.org>
12824
12825 * Makefile.in (all-lib): Remove.
12826 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12827
12828 2014-02-07 Doug Evans <dje@google.com>
12829
12830 * extension-priv.h (extension_language_script_ops): Add comment.
12831 (extension_language_ops): Add comment.
12832 (active_ext_lang_state): Fix typo in comment.
12833
12834 2014-02-07 Pedro Alves <palves@redhat.com>
12835
12836 PR breakpoints/16292
12837 * infrun.c (handle_signal_stop) <signal arrives while stepping
12838 over a breakpoint>: Switch back to the stepping thread.
12839
12840 2014-02-07 Yao Qi <yao@codesourcery.com>
12841
12842 * target.c (target_xfer_partial): Return zero if LEN is zero.
12843
12844 2014-02-07 Yao Qi <yao@codesourcery.com>
12845
12846 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
12847 (ld_so_xfer_auxv): Likewise.
12848 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12849 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12850 * corelow.c (core_xfer_partial): Likewise.
12851 * ctf.c (ctf_xfer_partial): Likewise.
12852 * darwin-nat.c (darwin_read_dyld_info): Likewise.
12853 (darwin_xfer_partial): Likewise.
12854 * exec.c (exec_xfer_partial): Likewise.
12855 * gnu-nat.c (gnu_xfer_partial): Likewise.
12856 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
12857 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12858 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12859 * linux-nat.c (linux_xfer_siginfo): Likewise.
12860 (linux_proc_xfer_spu): Likewise.
12861 * procfs.c (procfs_xfer_partial): Likewise.
12862 * record-full.c (record_full_xfer_partial): Likewise.
12863 (record_full_core_xfer_partial): Likewise.
12864 * remote-sim.c (gdbsim_xfer_partial): Likewise.
12865 * remote.c (remote_write_qxfer): Likewise.
12866 (remote_write_qxfer, remote_read_qxfer): Likewise.
12867 (remote_xfer_partial): Likewise.
12868 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12869 (rs6000_xfer_shared_libraries): Likewise.
12870 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12871 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12872 (spu_xfer_partial): Likewise.
12873 * target.c (memory_xfer_partial_1): Likewise.
12874 * tracepoint.c (tfile_xfer_partial): Likewise.
12875 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
12876 (windows_xfer_partial): Likewise.
12877
12878 2014-02-07 Yao Qi <yao@codesourcery.com>
12879
12880 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
12881 comments.
12882 (core_xfer_shared_libraries_aix): Likewise.
12883 * gdbarch.c, gdbarch.h: Regenerated.
12884 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
12885 ULONGEST. Change 'len_avail' type to ULONGEST.
12886 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12887 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12888 declaration.
12889 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
12890
12891 2014-02-07 Yao Qi <yao@codesourcery.com>
12892
12893 * corefile.c (memory_error): Get 'exception' from ERR and pass
12894 'exception' to throw_error.
12895
12896 2014-02-06 Doug Evans <xdje42@gmail.com>
12897
12898 * configure.ac (libpython checking): Remove all but python.o from
12899 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
12900 * configure: Regenerate.
12901
12902 * Makefile.in (SFILES): Add extension.c.
12903 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
12904 (COMMON_OBS): Add extension.o.
12905 * extension.h: New file.
12906 * extension-priv.h: New file.
12907 * extension.c: New file.
12908
12909 * python/python-internal.h: #include "extension.h".
12910 (gdbpy_auto_load_enabled): Declare.
12911 (gdbpy_apply_val_pretty_printer): Declare.
12912 (gdbpy_apply_frame_filter): Declare.
12913 (gdbpy_preserve_values): Declare.
12914 (gdbpy_breakpoint_cond_says_stop): Declare.
12915 (gdbpy_breakpoint_has_cond): Declare.
12916 (void source_python_script_for_objfile): Delete.
12917 * python/python.c: #include "extension-priv.h".
12918 Delete inclusion of "observer.h".
12919 (extension_language_python): Moved here and renamed from
12920 script_language_python in py-auto-load.c.
12921 Redefined to be of type extension_language_defn.
12922 (python_extension_script_ops): New global.
12923 (python_extension_ops): New global.
12924 (struct python_env): New member previous_active.
12925 (restore_python_env): Call restore_active_ext_lang.
12926 (ensure_python_env): Call set_active_ext_lang.
12927 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
12928 New arg extlang.
12929 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
12930 New arg extlang.
12931 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
12932 New arg extlang.
12933 (gdbpy_eval_from_control_command): Renamed from
12934 eval_python_from_control_command, made static. New arg extlang.
12935 (gdbpy_source_script) Renamed from source_python_script, made static.
12936 New arg extlang.
12937 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
12938 result to int. New arg extlang.
12939 (gdbpy_source_objfile_script): Renamed from
12940 source_python_script_for_objfile, made static. New arg extlang.
12941 (gdbpy_start_type_printers): Renamed from start_type_printers, made
12942 static. New args extlang, extlang_printers. Change result type to
12943 "void".
12944 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
12945 static. New arg extlang. Rename arg printers to extlang_printers
12946 and change type to ext_lang_type_printers *.
12947 (gdbpy_free_type_printers): Renamed from free_type_printers, made
12948 static. Replace argument arg with extlang, extlang_printers.
12949 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
12950 (!HAVE_PYTHON, source_python_script): Delete.
12951 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
12952 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
12953 (!HAVE_PYTHON, start_type_printers): Delete.
12954 (!HAVE_PYTHON, apply_type_printers): Delete.
12955 (!HAVE_PYTHON, free_type_printers): Delete.
12956 (_initialize_python): Delete call to observer_attach_before_prompt.
12957 (finalize_python): Set/restore active extension language.
12958 (gdbpy_finish_initialization) Renamed from
12959 finish_python_initialization, made static. New arg extlang.
12960 (gdbpy_initialized): New function.
12961 * python/python.h: #include "extension.h". Delete #include
12962 "value.h", "mi/mi-cmds.h".
12963 (extension_language_python): Declare.
12964 (GDBPY_AUTO_FILE_NAME): Delete.
12965 (enum py_bt_status): Moved to extension.h and renamed to
12966 ext_lang_bt_status.
12967 (enum frame_filter_flags): Moved to extension.h.
12968 (enum py_frame_args): Moved to extension.h and renamed to
12969 ext_lang_frame_args.
12970 (finish_python_initialization): Delete.
12971 (eval_python_from_control_command): Delete.
12972 (source_python_script): Delete.
12973 (apply_val_pretty_printer): Delete.
12974 (apply_frame_filter): Delete.
12975 (preserve_python_values): Delete.
12976 (gdbpy_script_language_defn): Delete.
12977 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
12978 (start_type_printers, apply_type_printers, free_type_printers): Delete.
12979
12980 * auto-load.c: #include "extension.h".
12981 (GDB_AUTO_FILE_NAME): Delete.
12982 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
12983 (script_language_gdb): Delete, moved to extension.c and renamed to
12984 extension_language_gdb.
12985 (source_gdb_script_for_objfile): Delete.
12986 (auto_load_pspace_info): New member unsupported_script_warning_printed.
12987 (loaded_script): Change type of language member to
12988 struct extension_language_defn *.
12989 (init_loaded_scripts_info): Initialize
12990 unsupported_script_warning_printed.
12991 (maybe_add_script): Make static. Change type of language arg to
12992 struct extension_language_defn *.
12993 (clear_section_scripts): Reset unsupported_script_warning_printed.
12994 (auto_load_objfile_script_1): Rewrite to use extension language API.
12995 (auto_load_objfile_script): Make public. Remove support-compiled-in
12996 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
12997 (source_section_scripts): Rewrite to use extension language API.
12998 (load_auto_scripts_for_objfile): Rewrite to use
12999 auto_load_scripts_for_objfile.
13000 (collect_matching_scripts_data): Change type of language member to
13001 struct extension_language_defn *.
13002 (auto_load_info_scripts): Change type of language arg to
13003 struct extension_language_defn *.
13004 (unsupported_script_warning_print): New function.
13005 (script_not_found_warning_print): Make static.
13006 (_initialize_auto_load): Rewrite construction of scripts-directory
13007 help.
13008 * auto-load.h (struct objfile): Add forward decl.
13009 (struct script_language): Delete.
13010 (struct auto_load_pspace_info): Add forward decl.
13011 (struct extension_language_defn): Add forward decl.
13012 (maybe_add_script): Delete.
13013 (auto_load_objfile_script): Declare.
13014 (script_not_found_warning_print): Delete.
13015 (auto_load_info_scripts): Update prototype.
13016 (auto_load_gdb_scripts_enabled): Declare.
13017 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
13018 auto_load_python_scripts_enabled and made public.
13019 (script_language_python): Delete, moved to python.c.
13020 (gdbpy_script_language_defn): Delete.
13021 (info_auto_load_python_scripts): Update to use
13022 extension_language_python.
13023
13024 * breakpoint.c (condition_command): Replace call to
13025 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
13026 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
13027 with call to breakpoint_ext_lang_cond_says_stop.
13028 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
13029 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
13030 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
13031 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
13032 New arg slang.
13033 (local_setattro): Print name of extension language with existing
13034 stop condition.
13035
13036 * valprint.c (val_print, value_print): Update to call
13037 apply_ext_lang_val_pretty_printer.
13038 * cp-valprint.c (cp_print_value): Update call to
13039 apply_ext_lang_val_pretty_printer.
13040 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
13041 (gdbpy_apply_val_pretty_printer): Renamed from
13042 apply_val_pretty_printer. New arg extlang.
13043 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
13044
13045 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
13046 extension language API.
13047 * cli/cli-script.c (execute_control_command): Update to call
13048 eval_ext_lang_from_control_command.
13049
13050 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
13051 enum ext_lang_bt_status values. Update call to
13052 apply_ext_lang_frame_filter.
13053 (mi_cmd_stack_list_locals): Ditto.
13054 (mi_cmd_stack_list_args): Ditto.
13055 (mi_cmd_stack_list_variables): Ditto.
13056 * mi/mi-main.c: Delete #include "python/python-internal.h".
13057 Add #include "extension.h".
13058 (mi_cmd_list_features): Replace reference to python internal variable
13059 gdb_python_initialized with call to ext_lang_initialized_p.
13060
13061 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
13062 Update to use enum ext_lang_frame_args. Update to call
13063 apply_ext_lang_frame_filter.
13064 * python/py-framefilter.c (extract_sym): Update to use enum
13065 ext_lang_bt_status.
13066 (extract_value, py_print_type, py_print_value): Ditto.
13067 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
13068 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
13069 (py_print_frame): Ditto.
13070 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
13071 New arg extlang. Update to use enum ext_lang_bt_status.
13072
13073 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
13074 finish_python_initialization. Replace with call to
13075 finish_ext_lang_initialization.
13076
13077 * typeprint.c (do_free_global_table): Update to call
13078 free_ext_lang_type_printers.
13079 (create_global_typedef_table): Update to call
13080 start_ext_lang_type_printers.
13081 (find_global_typedef): Update to call apply_ext_lang_type_printers.
13082 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
13083 (type_print_options): Change type of global_printers from "void *"
13084 to "struct ext_lang_type_printers *".
13085
13086 * value.c (preserve_values): Update to call preserve_ext_lang_values.
13087 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
13088 (gdbpy_preserve_values): Renamed from preserve_python_values.
13089 New arg extlang.
13090 (!HAVE_PYTHON, preserve_python_values): Delete.
13091
13092 * utils.c (quit_flag): Delete, moved to extension.c.
13093 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
13094 extension.c.
13095
13096 * eval.c: Delete #include "python/python.h".
13097 * main.c: Delete #include "python/python.h".
13098
13099 * defs.h: Update comment.
13100
13101 2014-02-06 Joel Brobecker <brobecker@adacore.com>
13102
13103 GDB 7.7 released.
13104
13105 2014-02-05 Mark Kettenis <kettenis@gnu.org>
13106
13107 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
13108 defined.
13109
13110 2014-02-05 Yao Qi <yao@codesourcery.com>
13111
13112 * remote.c (remote_pass_signals): Remove local 'buf' and use
13113 rs->buf.
13114 (remote_program_signals): Likewise.
13115
13116 2014-02-05 Yao Qi <yao@codesourcery.com>
13117
13118 * ctf.c: Include "inferior.h" and "gdbthread.h".
13119 (CTF_PID): A new macro.
13120 (ctf_open): Call inferior_appeared and add_thread_silent.
13121 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
13122 (ctf_thread_alive): New function.
13123 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
13124
13125 2014-02-05 Yao Qi <yao@codesourcery.com>
13126
13127 Revert this patch:
13128
13129 2013-05-24 Yao Qi <yao@codesourcery.com>
13130
13131 * tracepoint.c (TFILE_PID): Remove.
13132 (tfile_open): Don't add thread and inferior.
13133 (tfile_close): Don't set 'inferior_ptid'. Don't call
13134 exit_inferior_silent.
13135 (tfile_thread_alive): Remove.
13136 (init_tfile_ops): Don't set field 'to_thread_alive' of
13137 tfile_ops.
13138
13139 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
13140
13141 * remote.c (remote_start_remote): Call remote_check_symbols even
13142 if only symbol-file (not file) has been given.
13143
13144 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13145
13146 * gdbarch.sh (skip_entrypoint): New callback.
13147 * gdbarch.c, gdbarch.h: Regenerate.
13148 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
13149 * infrun.c (fill_in_stop_func): Likewise.
13150 * ppc-linux-tdep.c: Include "elf/ppc64.h".
13151 (ppc_elfv2_elf_make_msymbol_special): New function.
13152 (ppc_elfv2_skip_entrypoint): Likewise.
13153 (ppc_linux_init_abi): Install them for ELFv2.
13154
13155 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13156
13157 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
13158 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
13159 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
13160 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
13161 structures returned in GPRs.
13162
13163 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13164
13165 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
13166 offset to the stack parameter list for the ELFv2 ABI.
13167
13168 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13169
13170 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
13171 set_gdbarch_convert_from_func_ptr_addr and
13172 set_gdbarch_elf_make_msymbol_special for ELFv1.
13173 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
13174 function descriptors on ELFv1.
13175 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
13176 set up r12 at function entry.
13177
13178 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13179
13180 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
13181 (struct gdbarch_tdep): New member elf_abi.
13182
13183 * rs6000-tdep.c: Include "elf/ppc64.h".
13184 (rs6000_gdbarch_init): Detect ELF ABI version.
13185
13186 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13187
13188 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
13189 within a register pair holding a DFP 128-bit value on little-endian.
13190 (ppc64_sysv_abi_return_value_base): Likewise.
13191 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
13192 (dfp_pseudo_register_write): Likewise.
13193
13194 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13195
13196 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
13197 offset on little-endian when passing _Decimal32.
13198 (ppc64_sysv_abi_return_value_base): Likewise for return values.
13199
13200 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13201
13202 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
13203 of the overlapped FP register within the VSX register on little-
13204 endian platforms.
13205 (efpr_pseudo_register_write): Likewise.
13206
13207 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13208
13209 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
13210 offset on little-endian when passing small structures.
13211
13212 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13213
13214 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
13215 (struct ppc64_sysv_argpos): New data structure.
13216 (ppc64_sysv_abi_push_float): Remove.
13217 (ppc64_sysv_abi_push_val): New function.
13218 (ppc64_sysv_abi_push_integer): Likewise.
13219 (ppc64_sysv_abi_push_freg): Likewise.
13220 (ppc64_sysv_abi_push_vreg): Likewise.
13221 (ppc64_sysv_abi_push_param): Likewise.
13222 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
13223 (ppc64_sysv_abi_return_value_base): New function.
13224 (ppc64_sysv_abi_return_value): Refactor to use it.
13225
13226 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13227
13228 * NEWS: Document new target powerpc64le-*-linux*.
13229
13230 2014-02-04 Mark Kettenis <kettenis@gnu.org>
13231
13232 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
13233 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
13234 core dumps.
13235 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
13236 register set used in ELF core dumps. Add floating-point register set.
13237
13238 2014-02-03 Kevin Buettner <kevinb@redhat.com>
13239
13240 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
13241 dwarf2_to_gdb[] table using symbolic constants. Adjust
13242 penultimate entry from number representing the PC register
13243 to symbolic constant representing the MDR register. Add
13244 constant for the PC register to the end of the table.
13245
13246 2014-02-03 Mark Kettenis <kettenis@gnu.org>
13247
13248 * bsd-kvm.c: Include <sys/param.h>
13249
13250 2014-02-03 Mark Kettenis <kettenis@gnu.org>
13251
13252 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
13253
13254 2014-01-31 Joel Brobecker <brobecker@adacore.com>
13255
13256 * ada-lang.h (clear_ada_sym_cache): Delete.
13257
13258 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
13259
13260 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
13261
13262 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13263
13264 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
13265 the sigreturn register save area only if the syscall is
13266 sigreturn.
13267
13268 2014-01-29 Joel Brobecker <brobecker@adacore.com>
13269
13270 * valops.c (value_slice): Minor reformatting.
13271
13272 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
13273
13274 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
13275
13276 2014-01-28 Joel Brobecker <brobecker@adacore.com>
13277
13278 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
13279 New static globals.
13280 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
13281 (ada_ignore_descriptive_types_p): New static global.
13282 (find_parallel_type_by_descriptive_type): Return immediately
13283 if ada_ignore_descriptive_types_p is set.
13284 (_initialize_ada_language): Register new commands "maintenance
13285 set ada", "maintenance show ada", "maintenance set ada
13286 ignore-descriptive-types" and "maintenance show ada
13287 ignore-descriptive-types".
13288 * NEWS: Add entry for new "maint ada set/show
13289 ignore-descriptive-types" commands.
13290
13291 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
13292
13293 * record-btrace.c (record_btrace_close): Call btrace_teardown
13294 for all threads.
13295
13296 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13297
13298 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
13299 "ui-out.h".
13300
13301 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13302
13303 * ada-typeprint (type_is_full_subrange_of_target_type):
13304 New function.
13305 (print_range): Add parameter bounds_prefered_p. If not set,
13306 try printing range types using the name of their base type.
13307 (print_range_type): Add parameter bounds_prefered_p.
13308 Use it in call to print_range.
13309 (print_array_type, ada_print_type): Update calls to print_range
13310 and print_range_type.
13311
13312 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13313
13314 * ada-typeprint.c (print_array_type, print_choices, print_range)
13315 (print_range_bound, print_dynamic_range_bound, print_range_type):
13316 Remove declaration.
13317
13318 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13319
13320 * ada-typeprint.c (print_range): Add missing empty line
13321 after local declaration.
13322
13323 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13324
13325 * ada-valprint.c (print_optional_low_bound): Get index_type's
13326 target type for as long as it is a TYPE_CODE_RANGE.
13327
13328 2014-01-27 Joel Brobecker <brobecker@adacore.com>
13329
13330 * procfs.c (procfs_make_note_section): Remove assertion and
13331 associated comment.
13332
13333 2014-01-24 Yao Qi <yao@codesourcery.com>
13334
13335 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
13336 * corelow.c (get_core_siginfo): Likewise.
13337
13338 2014-01-24 Yao Qi <yao@codesourcery.com>
13339
13340 * remote.c (remote_write_bytes_aux): Change type of 'len' to
13341 ULONGEST. Don't check 'len' is negative.
13342 (remote_write_bytes): Change type of 'len' to ULONGEST.
13343
13344 2014-01-23 Tom Tromey <tromey@redhat.com>
13345
13346 PR python/16485:
13347 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
13348 Handle exception from frame.block.
13349 (FrameVars.fetch_frame_locals): Likewise.
13350
13351 2014-01-23 Tom Tromey <tromey@redhat.com>
13352
13353 PR python/16487:
13354 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
13355 on a NULL pointer. Move "goto error" to correct place.
13356
13357 2014-01-23 Tom Tromey <tromey@redhat.com>
13358
13359 PR python/16491:
13360 * python/py-framefilter.c (apply_frame_filter): Call
13361 ensure_python_env after computing gdbarch.
13362
13363 2014-01-23 Yao Qi <yao@codesourcery.com>
13364
13365 * target.c (raw_memory_xfer_partial): Change argument type
13366 from void * to gdb_byte *.
13367 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
13368
13369 2014-01-22 Doug Evans <dje@google.com>
13370
13371 New gdbserver option --debug-format=timestamp.
13372 * NEWS: Mention it.
13373
13374 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13375
13376 * syscalls/s390x-linux.xml: New file.
13377 * syscalls/s390-linux.xml: New file.
13378 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
13379 (XML_SYSCALL_FILENAME_S390X): Likewise.
13380 (op_svc): New enum value for SVC opcode.
13381 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
13382 (s390_linux_get_syscall_number): New function.
13383 (s390_gdbarch_init): Register '*get_syscall_number' and the
13384 syscall xml file name.
13385 * data-directory/Makefile.in (SYSCALLS_FILES): Add
13386 "s390-linux.xml" and "s390x-linux.xml".
13387 * NEWS: Announce new feature.
13388
13389 2014-01-22 Baruch Siach <baruch@tkos.co.il>
13390
13391 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
13392
13393 2014-01-22 Pedro Alves <palves@redhat.com>
13394
13395 * xtensa-config.c: Include defs.h.
13396
13397 2014-01-22 Joel Brobecker <brobecker@adacore.com>
13398
13399 * common/common-utils.h: Add "ARI:" comment beside __func__
13400 reference.
13401
13402 2014-01-22 Joel Brobecker <brobecker@adacore.com>
13403
13404 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
13405 documentation a bit.
13406
13407 2014-01-21 Roland McGrath <mcgrathr@google.com>
13408
13409 * configure.ac: Call AM_PROG_INSTALL_STRIP.
13410 * configure: Regenerate.
13411 * aclocal.m4: Regenerate.
13412 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
13413 New substituted variables.
13414 (install-strip): New target.
13415 (INSTALL_SCRIPT): New substituted variable.
13416 (FLAGS_TO_PASS): Add it.
13417 (install-only): Use $(INSTALL_SCRIPT) rather than
13418 $(INSTALL_PROGRAM) for gcore.
13419
13420 2014-01-20 Tom Tromey <tromey@redhat.com>
13421
13422 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
13423 together.
13424
13425 2014-01-20 Tom Tromey <tromey@redhat.com>
13426
13427 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
13428 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
13429 (deprecated_cmd_warning, complete_on_cmdlist): Update.
13430 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
13431 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
13432 (struct cmd_list_element) <flags>: Remove.
13433 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
13434 doc_allocated>: New fields.
13435 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
13436 bitfields.
13437 * maint.c (maintenance_do_deprecate): Update.
13438 * top.c (execute_command): Update.
13439
13440 2014-01-20 Baruch Siach <baruch@tkos.co.il>
13441
13442 * xtensa-linux-nat.c: Include asm/ptrace.h.
13443
13444 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13445
13446 * Makefile.in (SFILES): Add d-support.c.
13447 (COMMON_OBS): Add d-support.o.
13448 * d-lang.h (d_parse_symbol): Add comment, now defined in
13449 d-support.c.
13450 * d-lang.c (parse_call_convention)
13451 (parse_attributes, parse_function_types)
13452 (parse_function_args, parse_type, parse_identifier)
13453 (call_convention_p, d_parse_symbol): Move functions to ...
13454 * d-support.c: ... New file.
13455
13456 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13457
13458 * d-lang.h (d_parse_symbol): Add declaration.
13459 * d-lang.c (extract_identifiers)
13460 (extract_type_info): Remove functions.
13461 (parse_call_convention, parse_attributes)
13462 (parse_function_types, parse_function_args)
13463 (parse_type, parse_identifier, call_convention_p)
13464 (d_parse_symbol): New functions.
13465 (d_demangle): Use d_parse_symbol to demangle D symbols.
13466
13467 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13468
13469 * d-lang.h (struct builtin_d_type): New data type.
13470 (builtin_d_type): Add declaration.
13471 * d-lang.c (d_language_arch_info, build_d_types)
13472 (builtin_d_type): New functions.
13473 (enum d_primitive_types): New data type.
13474 (d_language_defn): Change c_language_arch_info to
13475 d_language_arch_info.
13476 (d_type_data): New static variable.
13477 (_initialize_d_language): Initialize d_type_data.
13478
13479 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13480
13481 * d-lang.h (d_main_name): Add declaration.
13482 * d-lang.c (d_main_name): New function.
13483 * symtab.c (find_main_name): Add call to d_main_name.
13484
13485 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13486
13487 * d-lang.c (d_language_defn): Change macro_expansion_c to
13488 macro_expansion_no.
13489
13490 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13491
13492 * MAINTAINERS: Add myself as a write-after-approval maintainer.
13493
13494 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
13495
13496 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
13497 gdb_exception" declaration.
13498 * remote.c (getpkt_or_notif_sane): Likewise.
13499
13500 2014-01-17 Doug Evans <dje@google.com>
13501
13502 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
13503 function, contents of dirnames_to_char_ptr_vec_append moved here.
13504 (delim_string_to_char_ptr_vec): New function.
13505 (dirnames_to_char_ptr_vec_append): Rewrite.
13506 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
13507
13508 2014-01-17 Doug Evans <dje@google.com>
13509
13510 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
13511 and moved here ...
13512 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
13513 #include "common-utils.h".
13514 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
13515 * common/vec.h (VEC_ASSERT_PASS): Update.
13516 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
13517 (MACH_CHECK_ERROR): Update.
13518
13519 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
13520
13521 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
13522 comments.
13523 * gdbarch.h: Regenerate.
13524
13525 2014-01-16 Tom Tromey <tromey@redhat.com>
13526
13527 * value.c (struct value) <regnum>: Move earlier.
13528
13529 2014-01-16 Tom Tromey <tromey@redhat.com>
13530
13531 * remote.c (extended_remote_create_inferior): Rename from
13532 extended_remote_create_inferior_1. Add "ops" argument. Remove
13533 old implementation.
13534
13535 2014-01-16 Pedro Alves <palves@redhat.com>
13536
13537 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
13538 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
13539 the backchain.
13540
13541 2014-01-16 Doug Evans <dje@google.com>
13542
13543 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
13544
13545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13546
13547 * btrace.h (btrace_thread_flag): New.
13548 (struct btrace_thread_info) <flags>: New.
13549 * record-btrace.c (record_btrace_resume_thread)
13550 (record_btrace_find_thread_to_move, btrace_step_no_history)
13551 (btrace_step_stopped, record_btrace_start_replaying)
13552 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
13553 (record_btrace_find_resume_thread): New.
13554 (record_btrace_resume, record_btrace_wait): Extend.
13555 (record_btrace_can_execute_reverse): New.
13556 (record_btrace_open): Fail in non-stop mode.
13557 (record_btrace_set_replay): Split into this, ...
13558 (record_btrace_stop_replaying): ... this, ...
13559 (record_btrace_clear_histories): ... and this.
13560 (init_record_btrace_ops): Init to_can_execute_reverse.
13561 * NEWS: Announce it.
13562
13563 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13564
13565 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
13566 (forward_target_decr_pc_after_break)
13567 (target_decr_pc_after_break): New.
13568 * target.c (forward_target_decr_pc_after_break)
13569 (target_decr_pc_after_break): New.
13570 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
13571 instead of gdbarch_decr_pc_after_break.
13572 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13573 instead of gdbarch_decr_pc_after_break.
13574 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
13575 instead of gdbarch_decr_pc_after_break.
13576 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13577 instead of gdbarch_decr_pc_after_break.
13578 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
13579 instead of gdbarch_decr_pc_after_break.
13580 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
13581 instead of gdbarch_decr_pc_after_break.
13582
13583 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13584
13585 * btrace.c: Include regcache.h.
13586 (btrace_add_pc): New.
13587 (btrace_enable): Call btrace_add_pc.
13588 (btrace_is_empty): New.
13589 * btrace.h (btrace_is_empty): New.
13590 * record-btrace.c (require_btrace, record_btrace_info): Call
13591 btrace_is_empty.
13592
13593 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13594
13595 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
13596 Support delta reads.
13597 (linux_disable_btrace): Change return type.
13598 * common/linux-btrace.h (linux_read_btrace): Change parameters
13599 and return type to allow error reporting. Update users.
13600 (linux_disable_btrace): Change return type. Update users.
13601 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
13602 New.
13603 (btrace_error): New.
13604 (btrace_block) <begin>: Comment on BEGIN == 0.
13605 * btrace.c (btrace_compute_ftrace): Start from the end of
13606 the current trace.
13607 (btrace_stitch_trace, btrace_clear_history): New.
13608 (btrace_fetch): Read delta trace, return if replaying.
13609 (btrace_clear): Move clear history code to btrace_clear_history.
13610 (parse_xml_btrace): Throw an error if parsing failed.
13611 * target.h (struct target_ops) <to_read_btrace>: Change parameters
13612 and return type to allow error reporting.
13613 (target_read_btrace): Change parameters and return type to allow
13614 error reporting.
13615 * target.c (target_read_btrace): Update.
13616 * remote.c (remote_read_btrace): Support delta reads. Pass
13617 errors on.
13618 * NEWS: Announce it.
13619
13620 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13621
13622 * record.h (record_btrace_frame_unwind)
13623 (record_btrace_tailcall_frame_unwind): New declarations.
13624 * dwarf2-frame: Include record.h
13625 (dwarf2_frame_cfa): Throw an error for btrace frames.
13626 * record-btrace.c: Include hashtab.h.
13627 (btrace_get_bfun_name): New.
13628 (btrace_call_history): Call btrace_get_bfun_name.
13629 (struct btrace_frame_cache): New.
13630 (bfcache): New.
13631 (bfcache_hash, bfcache_eq, bfcache_new): New.
13632 (btrace_get_frame_function): New.
13633 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
13634 (record_btrace_frame_this_id): Compute own id.
13635 (record_btrace_frame_prev_register): Provide PC, throw_error
13636 for all other registers.
13637 (record_btrace_frame_sniffer): Detect btrace frames.
13638 (record_btrace_tailcall_frame_sniffer): New.
13639 (record_btrace_frame_dealloc_cache): New.
13640 (record_btrace_frame_unwind): Add new functions.
13641 (record_btrace_tailcall_frame_unwind): New.
13642 (_initialize_record_btrace): Allocate cache.
13643 * btrace.c (btrace_clear): Call reinit_frame_cache.
13644 * NEWS: Announce it.
13645
13646 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13647
13648 * record-btrace.c (record_btrace_set_replay)
13649 (record_btrace_goto_begin, record_btrace_goto_end)
13650 (record_btrace_goto): New.
13651 (init_record_btrace_ops): Initialize them.
13652 * NEWS: Announce it.
13653
13654 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13655
13656 * record-btrace.c (record_btrace_find_new_threads)
13657 (record_btrace_thread_alive): New.
13658 (init_record_btrace_ops): Initialize to_find_new_threads and
13659 to_thread_alive.
13660
13661 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13662
13663 * record-btrace.c (record_btrace_resume): New.
13664 (record_btrace_wait): New.
13665 (init_record_btrace_ops): Initialize to_wait and to_resume.
13666
13667 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13668
13669 * record-btrace.c (record_btrace_xfer_partial)
13670 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
13671 (record_btrace_allow_memory_access): New.
13672 (init_record_btrace_ops): Initialize new methods.
13673 * target.c (raw_memory_xfer_partial): Bail out if target reports
13674 that this memory is not available.
13675
13676 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13677
13678 * target.h (target_ops) <to_insert_breakpoint>
13679 <to_remove_breakpoint>: Add target_ops parameter.
13680 (forward_target_insert_breakpoint): New.
13681 (forward_target_remove_breakpoint): New.
13682 (memory_remove_breakpoint, memory_insert_breakpoint):
13683 Add target_ops parameter.
13684 * target.c (target_insert_breakpoint): Split into this and ...
13685 (forward_target_insert_breakpoint): ... this.
13686 (target_remove_breakpoint): Split into this and ...
13687 (forward_target_remove_breakpoint): ... this.
13688 (debug_to_insert_breakpoint): Add target_ops parameter.
13689 Call forward_target_insert_breakpoint.
13690 (debug_to_remove_breakpoint): Add target_ops parameter.
13691 Call forward_target_remove_breakpoint.
13692 (update_current_target): Do not inherit or default to_insert_breakpoint
13693 and to_remove_breakpoint.
13694 * corelow.c (ignore): Add target_ops parameter.
13695 * exec.c (ignore): Add target_ops parameter.
13696 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
13697 Add target_ops parameter.
13698 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
13699 Add target_ops parameter.
13700 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
13701 Add target_ops parameter.
13702 * record-full.c (record_full_beneath_to_insert_breakpoint)
13703 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
13704 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
13705 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
13706 (record_full_core_remove_breakpoint): Add target_ops parameter.
13707 Update users.
13708 (record_full_beneath_to_insert_breakpoint_ops)
13709 (record_full_beneath_to_remove_breakpoint_ops)
13710 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
13711 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
13712 tmp_to_remove_breakpoint_ops,
13713 record_full_beneath_to_insert_breakpoint_ops, and
13714 record_full_beneath_to_remove_breakpoint_ops.
13715 * remote-m32r-sdi.c (m32r_insert_breakpoint)
13716 (m32r_remove_breakpoint): Add target_ops parameter.
13717 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
13718 Add target_ops parameter.
13719 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
13720 Add target_ops parameter.
13721
13722 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13723 Markus Metzger <markus.t.metzger@intel.com>
13724
13725 * record-btrace.c: Include frame-unwind.h.
13726 (record_btrace_frame_unwind_stop_reason)
13727 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
13728 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
13729 New.
13730 (init_record_btrace_ops): Install it.
13731
13732 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13733
13734 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
13735 get_prev_frame_1.
13736
13737 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13738
13739 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
13740 earlier.
13741
13742 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13743
13744 * frame-unwind.c: Include target.h.
13745 (frame_unwind_try_unwinder): New function with code from ...
13746 (frame_unwind_find_by_frame): ... here. New variable
13747 unwinder_from_target, call also target_get_unwinder)
13748 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
13749 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
13750 * target.h (struct target_ops): New fields to_get_unwinder and
13751 to_get_tailcall_unwinder.
13752 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
13753
13754 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13755
13756 * record-btrace.c (record_btrace_fetch_registers)
13757 (record_btrace_store_registers)
13758 (record_btrace_to_prepare_to_store): New.
13759 (init_record_btrace_ops): Add the above.
13760
13761 2014-01-16 Tom Tromey <tromey@redhat.com>
13762
13763 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
13764 * target.h (struct target_ops) <to_prepare_to_store>: Add
13765 argument.
13766 (target_prepare_to_store): Add argument.
13767 * target.c (debug_to_prepare_to_store): Add argument.
13768 (update_current_target): Update.
13769 * remote.c (remote_prepare_to_store): Add 'self' argument.
13770 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
13771 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
13772 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
13773 * record-full.c (record_full_core_prepare_to_store): Add 'self'
13774 argument.
13775 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
13776 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
13777 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
13778 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
13779 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
13780
13781 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13782
13783 * btrace.h (replay) <replay>: New.
13784 (btrace_is_replaying): New.
13785 * btrace.c (btrace_clear): Free replay iterator.
13786 (btrace_is_replaying): New.
13787 * record-btrace.c (record_btrace_is_replaying): New.
13788 (record_btrace_info): Print insn number if replaying.
13789 (record_btrace_insn_history): Start at replay position.
13790 (record_btrace_call_history): Start at replay position.
13791 (init_record_btrace_ops): Init to_record_is_replaying.
13792
13793 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13794
13795 * record-btrace.c (record_btrace_insn_history_range): Include
13796 end.
13797 (record_btrace_insn_history_from): Adjust range.
13798 (record_btrace_call_history_range): Include
13799 end.
13800 (record_btrace_call_history_from): Adjust range.
13801 * NEWS: Announce changes.
13802
13803 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13804
13805 * record.h (enum record_print_flag)
13806 <record_print_indent_calls>: New.
13807 * record.c (get_call_history_modifiers): Recognize /c modifier.
13808 (_initialize_record): Document /c modifier.
13809 * record-btrace.c (btrace_call_history): Add btinfo parameter.
13810 Reorder fields. Optionally indent the function name. Update
13811 all users.
13812 * NEWS: Announce changes.
13813
13814 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13815
13816 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
13817
13818 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13819
13820 * btrace.c (ftrace_new_function): Start counting at one.
13821 * record-btrace.c (record_btrace_info): Adjust number of calls
13822 and insns.
13823 * NEWS: Announce it.
13824
13825 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13826
13827 * record-btrace.c (btrace_call_history_insn_range): Print
13828 insn range as [begin, end].
13829
13830 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13831
13832 * btrace.h (struct btrace_func_link): New.
13833 (enum btrace_function_flag): New.
13834 (struct btrace_inst): Rename to ...
13835 (struct btrace_insn): ...this. Update all users.
13836 (struct btrace_func) <ibegin, iend>: Remove.
13837 (struct btrace_func_link): New.
13838 (struct btrace_func): Rename to ...
13839 (struct btrace_function): ...this. Update all users.
13840 (struct btrace_function) <segment, flow, up, insn, insn_offset)
13841 (number, level, flags>: New.
13842 (struct btrace_insn_iterator): Rename to ...
13843 (struct btrace_insn_history): ...this.
13844 Update all users.
13845 (struct btrace_insn_iterator, btrace_call_iterator): New.
13846 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
13847 (struct btrace_target_info) <begin, end, level>
13848 <insn_history, call_history>: New.
13849 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13850 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13851 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13852 (btrace_call_number, btrace_call_begin, btrace_call_end)
13853 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13854 (btrace_find_function_by_number, btrace_set_insn_history)
13855 (btrace_set_call_history): New.
13856 * btrace.c (btrace_init_insn_iterator)
13857 (btrace_init_func_iterator, compute_itrace): Remove.
13858 (ftrace_print_function_name, ftrace_print_filename)
13859 (ftrace_skip_file): Change
13860 parameter to const.
13861 (ftrace_init_func): Remove.
13862 (ftrace_debug): Use new btrace_function fields.
13863 (ftrace_function_switched): Also consider gaining and
13864 losing symbol information).
13865 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
13866 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
13867 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
13868 New.
13869 (ftrace_new_function): Move. Remove debug print.
13870 (ftrace_update_lines, ftrace_update_insns): New.
13871 (ftrace_update_function): Check for call, ret, and jump.
13872 (compute_ftrace): Renamed to ...
13873 (btrace_compute_ftrace): ...this. Rewritten to compute call
13874 stack.
13875 (btrace_fetch, btrace_clear): Updated.
13876 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13877 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13878 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13879 (btrace_call_number, btrace_call_begin, btrace_call_end)
13880 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13881 (btrace_find_function_by_number, btrace_set_insn_history)
13882 (btrace_set_call_history): New.
13883 * record-btrace.c (require_btrace): Use new btrace thread
13884 info fields.
13885 (record_btrace_info, btrace_insn_history)
13886 (record_btrace_insn_history, record_btrace_insn_history_range):
13887 Use new btrace thread info fields and new iterator.
13888 (btrace_func_history_src_line): Rename to ...
13889 (btrace_call_history_src_line): ...this. Use new btrace
13890 thread info fields.
13891 (btrace_func_history): Rename to ...
13892 (btrace_call_history): ...this. Use new btrace thread info
13893 fields and new iterator.
13894 (record_btrace_call_history, record_btrace_call_history_range):
13895 Use new btrace thread info fields and new iterator.
13896
13897 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13898
13899 * frame.h (frame_id_build_unavailable_stack_special): New.
13900 * frame.c (frame_id_build_unavailable_stack_special): New.
13901
13902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13903
13904 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
13905 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
13906 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
13907 to gdbarch.
13908 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
13909 (i386_insn_is_jump, i386_jmp_p): New.
13910 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
13911 insn_is_jump to gdbarch.
13912 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
13913 * gdbarch.h: Regenerated.
13914 * gdbarch.c: Regenerated.
13915 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
13916 (default_insn_is_jump): New.
13917 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
13918 (default_insn_is_jump): New.
13919
13920 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13921
13922 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
13923 Change to ...
13924 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
13925 (btrace_read_type) <btrace_read_new>: Change to ...
13926 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
13927
13928 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13929
13930 * common/linux-btrace.c (linux_read_btrace): Free trace from
13931 previous iteration.
13932
13933 2014-01-15 Doug Evans <dje@google.com>
13934
13935 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
13936 uint32_t.
13937
13938 2014-01-15 Tom Tromey <tromey@redhat.com>
13939
13940 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
13941 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
13942 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
13943 (set_objfile_main_name): New function.
13944 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
13945 language_of_main>: New fields.
13946 (set_objfile_main_name): Declare.
13947 * symtab.c (find_main_name): Loop over objfiles to find the main
13948 name and language.
13949 (set_main_name): Now static.
13950 (get_main_info): Add comment.
13951 * symtab.h (set_main_name): Don't declare.
13952
13953 2014-01-15 Tom Tromey <tromey@redhat.com>
13954
13955 * symtab.c (main_progspace_key): New global.
13956 (struct main_info): New.
13957 (name_of_main, language_of_main): Remove.
13958 (get_main_info, main_info_cleanup): New function.
13959 (set_main_name, main_name, main_language): Use get_main_info.
13960 (_initialize_symtab): Initialize main_progspace_key.
13961
13962 2014-01-15 Tom Tromey <tromey@redhat.com>
13963
13964 * dbxread.c (process_one_symbol): Update.
13965 * dwarf2read.c (read_partial_die): Update.
13966 * symfile.c (set_initial_language): Call main_language.
13967 * symtab.c (language_of_main): Now static.
13968 (set_main_name): Add 'lang' parameter.
13969 (find_main_name): Update.
13970 (main_language): New function.
13971 (symtab_observer_executable_changed): Update.
13972 * symtab.h (set_main_name): Update.
13973 (language_of_main): Remove.
13974 (main_language): Declare.
13975
13976 2014-01-15 Tom Tromey <tromey@redhat.com>
13977
13978 * symfile.c (init_entry_point_info): Use new "initialized" field.
13979 Update.
13980 * objfiles.h (struct entry_point) <initialized>: New field.
13981 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
13982 (struct objfile) <ei>: ...here. Remove.
13983 * objfiles.c (entry_point_address_query): Update.
13984
13985 2014-01-15 Tom Tromey <tromey@redhat.com>
13986
13987 * objfiles.c (entry_point_address_query): Relocate entry point
13988 address.
13989 (objfile_relocate1): Do not relocate entry point address.
13990 * objfiles.h (struct entry_info) <entry_point>: Update comment.
13991 <the_bfd_section_index>: New field.
13992 * symfile.c (init_entry_point_info): Find the entry point's
13993 section.
13994
13995 2014-01-15 Tom Tromey <tromey@redhat.com>
13996
13997 * solib-frv.c (enable_break): Use entry_point_address_query.
13998
13999 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14000
14001 * NEWS: Add note on improved process record-replay on
14002 arm*-linux* targets.
14003
14004 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14005
14006 * arm-tdep.c (enum arm_record_result): New enum.
14007 (arm_record_unsupported_insn): New function.
14008 (arm_record_coproc_data_proc): Removed.
14009 (thumb2_record_ld_st_multiple): New function.
14010 (thumb2_record_ld_st_dual_ex_tbb): New function.
14011 (thumb2_record_data_proc_sreg_mimm): New function.
14012 (thumb2_record_ps_dest_generic): New function.
14013 (thumb2_record_branch_misc_cntrl): New function.
14014 (thumb2_record_str_single_data): New function.
14015 (thumb2_record_ld_mem_hints): New function.
14016 (thumb2_record_ld_word): New function.
14017 (thumb2_record_lmul_lmla_div): New function.
14018 (thumb2_record_decode_insn_handler): New function.
14019 (decode_insn): Add thumb32 instruction handlers.
14020
14021 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14022
14023 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
14024 (struct arm_linux_record_tdep): Declare.
14025 (arm_canonicalize_syscall): New function.
14026 (arm_all_but_pc_registers_record): New function.
14027 (arm_linux_syscall_record): New function.
14028 (arm_linux_init_abi): Add syscall recording constructs.
14029 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
14030 decoding. (arm_record_coproc_data_proc): Update arm syscall
14031 decoding.
14032 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
14033 <arm_syscall_record>: New field.
14034 * configure.tgt (arm*-*-linux*): Add linux-record.o to
14035 gdb_target_obs.
14036
14037 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14038
14039 * arm-tdep.c (thumb_record_misc): Update to use sp as base
14040 register for push instruction recording.
14041
14042 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14043
14044 * arm-tdep.c (thumb_record_misc): Update to correct logical
14045 error while recording ldm, ldmia and pop instructions.
14046
14047 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
14048
14049 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
14050
14051 2014-01-15 Pedro Alves <palves@redhat.com>
14052
14053 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
14054 (go32_resume, go32_fetch_registers, store_register)
14055 (go32_store_registers, go32_prepare_to_store)
14056 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
14057 (go32_create_inferior, go32_can_run, go32_terminal_init)
14058 (go32_terminal_inferior, go32_terminal_ours): Delete forward
14059 declarations.
14060
14061 2014-01-15 Tom Tromey <tromey@redhat.com>
14062
14063 * target.h (async_callback_ftype): New typedef.
14064 (struct target_ops) <to_async>: Use it.
14065
14066 2014-01-15 Joel Brobecker <brobecker@adacore.com>
14067
14068 * python/py-value.c (get_field_type): Remove unnecessary curly
14069 braces for single-statement if block.
14070
14071 2014-01-15 Joel Brobecker <brobecker@adacore.com>
14072
14073 * python/py-type.c (convert_field): Add missing empty line
14074 after declarations.
14075
14076 2014-01-14 Doug Evans <dje@google.com>
14077
14078 * symfile.h (expand_symtabs_matching): Renamed from
14079 expand_partial_symbol_names. Update prototype.
14080 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14081 * symfile.c (expand_symtabs_matching): Renamed from
14082 expand_partial_symbol_names. New args file_matcher, kind.
14083 Rename arg fun to symbol_matcher.
14084 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14085 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
14086 ada_expand_partial_symbol_name.
14087 (ada_make_symbol_completion_list): Update to call
14088 expand_symtabs_matching.
14089 (ada_add_global_exceptions): Call expand_symtabs_matching.
14090 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
14091 call map_symbol_filenames.
14092 * symtab.c (sources_info): Update to call map_symbol_filenames.
14093 (search_symbols): Call expand_symtabs_matching.
14094 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
14095 (default_make_symbol_completion_list_break_on): Update to call
14096 expand_symtabs_matching.
14097 (make_source_files_completion_list): Update to call
14098 map_symbol_filenames.
14099
14100 2014-01-14 Doug Evans <dje@google.com>
14101
14102 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
14103 (expand_symtabs_symbol_matcher_ftype): New typedef.
14104 (quick_symbol_functions.expand_symtabs_matching): Update to use.
14105 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14106 * symfile.c (expand_partial_symbol_names): Update to use
14107 expand_symtabs_symbol_matcher_ftype.
14108 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
14109 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14110 Arg name_matcher renamed to symbol_matcher.
14111 * psymtab.c (recursively_search_psymtabs): Update to use
14112 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
14113 sym_matcher.
14114 (expand_symtabs_matching_via_partial): Update to use
14115 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14116 Arg name_matcher renamed to symbol_matcher.
14117
14118 2014-01-14 Doug Evans <dje@google.com>
14119
14120 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
14121 (map_partial_symbol_filenames): Ditto.
14122 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
14123 (map_partial_symbol_filenames): Ditto.
14124 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
14125 (map_partial_symbol_filenames): Ditto.
14126 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
14127 (map_partial_symbol_filenames): Ditto.
14128 * symtab.c: Delete #include "psymtab.h".
14129
14130 2014-01-14 Pedro Alves <palves@redhat.com>
14131 Tom Tromey <tromey@redhat.com>
14132
14133 * infrun.c (use_displaced_stepping): Use find_record_target
14134 instead of RECORD_IS_USED.
14135 (adjust_pc_after_break): Use record_full_is_used instead of
14136 RECORD_IS_USED.
14137 * record-btrace.c (record_btrace_open): Call record_preopen
14138 instead of checking RECORD_IS_USED.
14139 * record-full.c (record_full_shortname)
14140 (record_full_core_shortname): New globals.
14141 (record_full_is_used): New function.
14142 (find_full_open): Call record_preopen instead of checking
14143 RECORD_IS_USED.
14144 (init_record_full_ops): Set the target's shortname to
14145 record_full_shortname.
14146 (init_record_full_core_ops): Set the target's shortname to
14147 record_full_core_shortname.
14148 * record-full.h (record_full_is_used): Declare.
14149 * record.c (find_record_target): Make extern.
14150 (record_preopen): New function.
14151 * record.h (RECORD_IS_USED): Delete macro.
14152 (find_record_target, record_preopen): Declare functions.
14153
14154 2014-01-14 Yao Qi <yao@codesourcery.com>
14155
14156 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
14157 'len''s type to ULONGEST.
14158 (core_xfer_shared_libraries_aix): Likewise.
14159 * gdbarch.c, gdbarch.h: Regenerated.
14160 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
14161 Change type of 'len' to ULONGEST.
14162 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14163 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
14164
14165 2014-01-14 Yao Qi <yao@codesourcery.com>
14166
14167 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
14168 type of 'len' to ULONGEST.
14169 (linux_xfer_osdata_processgroups): Likewise.
14170 (linux_xfer_osdata_threads): Likewise.
14171 (linux_xfer_osdata_fds): Likewise.
14172 (linux_xfer_osdata_isockets): Likewise.
14173 (linux_xfer_osdata_shm): Likewise.
14174 (linux_xfer_osdata_sem): Likewise.
14175 (linux_xfer_osdata_msg): Likewise.
14176 (linux_common_xfer_osdata): Likewise.
14177 (struct osdata_type) <getter>: Likewise.
14178 * common/linux-osdata.h (linux_common_xfer_osdata): Update
14179 the declaration.
14180
14181 2014-01-14 Yao Qi <yao@codesourcery.com>
14182
14183 * target.h (target_xfer_partial_ftype): Update.
14184 (struct target_ops) <to_xfer_partial>: Change 'len' type to
14185 ULONGEST.
14186 * aix-thread.c (aix_thread_xfer_partial): Change type of
14187 argument 'len' to ULONGEST.
14188 * auxv.c (procfs_xfer_auxv): Likewise.
14189 (ld_so_xfer_auxv): Likewise.
14190 (memory_xfer_auxv): Likewise.
14191 * bfd-target.c (target_bfd_xfer_partial): Likewise.
14192 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
14193 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
14194 * corelow.c (core_xfer_partial): Likewise.
14195 * ctf.c (ctf_xfer_partial): Likewise.
14196 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
14197 '%u'.
14198 (darwin_read_dyld_info): Likewise.
14199 (darwin_xfer_partial): Likewise.
14200 * exec.c (section_table_xfer_memory_partial): Likewise.
14201 (exec_xfer_partial): Likewise.
14202 * exec.h (section_table_xfer_memory_partial): Update
14203 declaration.
14204 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
14205 instead of plongest.
14206 (gnu_xfer_partial): Likewise.
14207 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
14208 (ia64_hpux_xfer_solib_got): Likewise.
14209 (ia64_hpux_xfer_partial): Likewise.
14210 * ia64-linux-nat.c (ia64_linux_xfer_partial):
14211 * inf-ptrace.c (inf_ptrace_xfer_partial):
14212 * inf-ttrace.c (inf_ttrace_xfer_partial):
14213 * linux-nat.c (linux_xfer_siginfo): Likewise.
14214 (linux_nat_xfer_partial): Likewise.
14215 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
14216 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
14217 * monitor.c (monitor_xfer_memory): Likewise.
14218 (monitor_xfer_partial): Likewise.
14219 * procfs.c (procfs_xfer_partial): Likewise.
14220 * record-full.c (record_full_xfer_partial): Likewise.
14221 (record_full_core_xfer_partial): Likewise.
14222 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
14223 instead of plongest.
14224 (gdbsim_xfer_partial): Likewise.
14225 * remote.c (remote_xfer_partial): Likewise.
14226 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14227 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
14228 declaration.
14229 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
14230 (rs6000_xfer_shared_libraries): Likewise.
14231 * sol-thread.c (sol_thread_xfer_partial): Likewise.
14232 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
14233 (sparc_xfer_partial): Likewise.
14234 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
14235 (spu_xfer_partial): Likewise.
14236 * spu-multiarch.c (spu_xfer_partial): Likewise.
14237 * target.c (target_read_live_memory): Likewise.
14238 (memory_xfer_live_readonly_partial): Likewise.
14239 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
14240 (target_xfer_partial, default_xfer_partial): Likewise.
14241 (current_xfer_partial): Likewise.
14242 * tracepoint.c (tfile_xfer_partial): Likewise.
14243 * windows-nat.c (windows_xfer_memory): Likewise. Call
14244 pulongest instead of plongest.
14245 (windows_xfer_partial): Likewise.
14246 (windows_xfer_shared_libraries): Likewise.
14247
14248 2014-01-14 Yao Qi <yao@codesourcery.com>
14249
14250 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
14251 target_xfer_partial_ftype.
14252
14253 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14254
14255 PR python/15464
14256 PR python/16113
14257 * valops.c (value_struct_elt_bitpos): New function
14258 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
14259 object to 'None' if the field name is an empty string ("").
14260 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
14261 attribute to look for a field when 'name' is 'None'.
14262 (get_field_type): New function
14263
14264 2014-01-13 Doug Evans <dje@google.com>
14265
14266 PR symtab/16426
14267 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
14268 (try_open_dwop_file): Ditto.
14269 * gdb_bfd.c: #include "vec.h".
14270 (bfdp): New typedef.
14271 (struct gdb_bfd_data): New member included_bfds.
14272 (gdb_bfd_unref): Unref all included bfds.
14273 (gdb_bfd_record_inclusion): New function.
14274 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
14275
14276 2014-01-13 Tom Tromey <tromey@redhat.com>
14277
14278 * gdbcore.h (deprecated_core_resize_section_table): Remove.
14279
14280 2014-01-13 Tom Tromey <tromey@redhat.com>
14281
14282 * defs.h (use_windows): Remove.
14283 * gdb.c (main): Update.
14284 * main.c (captured_main, gdb_main): Update.
14285 * main.h (struct captured_main_args) <use_windows>: Remove.
14286 * top.c (use_windows): Remove.
14287
14288 2014-01-13 Tom Tromey <tromey@redhat.com>
14289
14290 * defs.h (deprecated_flush_hook): Remove.
14291
14292 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14293
14294 PR threads/16216
14295 * linux-thread-db.c (try_thread_db_load): Add parameter
14296 check_auto_load_safe. Move here the file_is_auto_load_safe call.
14297 (try_thread_db_load_from_pdir_1): Move it there from here.
14298 (try_thread_db_load_from_sdir): Update caller.
14299 (try_thread_db_load_from_dir): Move it there from here.
14300
14301 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
14302
14303 * regformats/regdat.sh: Always rewrite the register file.
14304
14305 2014-01-13 Pedro Alves <palves@redhat.com>
14306
14307 * Makefile.in (CHECK_HEADERS): New variable.
14308 (check-headers:): New rule.
14309
14310 2014-01-13 Tom Tromey <tromey@redhat.com>
14311
14312 * cli/cli-setshow.c (do_set_command): Update.
14313 * defs.h (deprecated_set_hook): Remove.
14314 * top.c (deprecated_set_hook): Remove.
14315
14316 2014-01-13 Pedro Alves <palves@redhat.com>
14317
14318 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
14319 the tracepoint if the PC is a pseudo-register.
14320
14321 2014-01-13 Tom Tromey <tromey@redhat.com>
14322
14323 * defs.h (XCALLOC): Remove.
14324 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
14325 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
14326 * dwarf2loc.c (allocate_piece_closure): Likewise.
14327 * elfread.c (elf_symfile_segments): Likewise.
14328 (elf_symfile_segments): Likewise.
14329 * gdbtypes.c (copy_type_recursive): Likewise.
14330 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
14331 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
14332 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
14333 XCALLOC.
14334 * mt-tdep.c (mt_gdbarch_init): Likewise.
14335 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
14336 XCALLOC.
14337 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
14338 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
14339 * registry.c (registry_alloc_data): Likewise.
14340 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
14341 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
14342 * serial.c (serial_fdopen_ops): Likewise.
14343 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
14344 XCALLOC.
14345 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
14346 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
14347 not XCALLOC.
14348
14349 2014-01-13 Tom Tromey <tromey@redhat.com>
14350
14351 * defs.h (XMALLOC): Remove.
14352 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
14353 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
14354 * cli-out.c (struct ui_out *): Likewise.
14355 * cli/cli-dump.c (add_dump_command): Likewise.
14356 (add_dump_command): Likewise.
14357 * complaints.c (get_complaints): Likewise.
14358 (find_complaint): Likewise.
14359 * dwarf2-frame.c (execute_cfa_program): Likewise.
14360 * dwarf2read.c (abbrev_table_read_table): Likewise.
14361 * gdbarch.sh: Likewise.
14362 * gdbarch.c: Rebuild.
14363 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
14364 * interps.c (interp_new): Likewise.
14365 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
14366 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
14367 * mi/mi-console.c (mi_console_file_new): Likewise.
14368 * mi/mi-interp.c (mi_interpreter_init): Likewise.
14369 * mi/mi-out.c (mi_out_new): Likewise.
14370 * mi/mi-parse.c (mi_parse): Likewise.
14371 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
14372 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
14373 * observer.c (xalloc_observer_list_node): Likewise.
14374 * regcache.c (regcache_xmalloc_1): Likewise.
14375 * reggroups.c (reggroup_new): Likewise.
14376 (_initialize_reggroup): Likewise.
14377 * registry.c (register_data_with_cleanup): Likewise.
14378 * remote.c (remote_notif_stop_alloc_reply): Likewise.
14379 * ser-base.c (serial_ttystate): Likewise.
14380 * ser-mingw.c (make_pipe_state): Likewise.
14381 * ser-pipe.c (pipe_open): Likewise.
14382 * serial.c (serial_open): Likewise.
14383 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
14384 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
14385 (tui_alloc_win_info): Likewise.
14386 (tui_add_content_elements): Likewise.
14387 * tui/tui-file.c (tui_file_new): Likewise.
14388 * tui/tui-out.c (tui_out_new): Likewise.
14389 * ui-file.c (mem_file_new): Likewise.
14390 * ui-out.c (push_level): Likewise.
14391 (make_cleanup_ui_out_end): Likewise.
14392 (append_header_to_list): Likewise.
14393 (ui_out_new): Likewise.
14394 * user-regs.c (user_reg_add_builtin): Likewise.
14395
14396 2014-01-13 Tom Tromey <tromey@redhat.com>
14397
14398 * defs.h (XZALLOC): Remove.
14399 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
14400 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
14401 (get_ada_tasks_inferior_data): Likewise.
14402 * auto-load.c (get_auto_load_pspace_data): Likewise.
14403 * auxv.c (get_auxv_inferior_data): Likewise.
14404 * bfd-target.c (target_bfd_reopen): Likewise.
14405 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
14406 (deprecated_insert_raw_breakpoint): Likewise.
14407 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
14408 * corelow.c (core_open): Likewise.
14409 * darwin-nat.c (darwin_check_new_threads): Likewise.
14410 (darwin_attach_pid): Likewise.
14411 * dummy-frame.c (dummy_frame_push): Likewise.
14412 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
14413 * dwarf2loc.c (allocate_piece_closure): Likewise.
14414 * elfread.c (elf_symfile_segments): Likewise.
14415 * eval.c (ptrmath_type_p): Likewise.
14416 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
14417 * gdbtypes.c (alloc_type_arch): Likewise.
14418 (alloc_type_instance): Likewise.
14419 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
14420 * inf-child.c (inf_child_can_use_agent): Likewise.
14421 * inflow.c (get_inflow_inferior_data): Likewise.
14422 * infrun.c (save_infcall_suspend_state): Likewise.
14423 * jit.c (jit_reader_load): Likewise.
14424 (get_jit_objfile_data): Likewise.
14425 (get_jit_program_space_data): Likewise.
14426 (jit_object_open_impl): Likewise.
14427 (jit_symtab_open_impl): Likewise.
14428 (jit_block_open_impl): Likewise.
14429 (jit_frame_sniffer): Likewise.
14430 * linux-fork.c (add_fork): Likewise.
14431 * maint.c (make_command_stats_cleanup): Likewise.
14432 * objfiles.c (get_objfile_pspace_data): Likewise.
14433 * opencl-lang.c (struct lval_closure): Likewise.
14434 * osdata.c (osdata_start_osdata): Likewise.
14435 * progspace.c (new_address_space): Likewise.
14436 (add_program_space): Likewise.
14437 * remote-sim.c (get_sim_inferior_data): Likewise.
14438 * sh-tdep.c (sh_gdbarch_init): Likewise.
14439 * skip.c (Ignore): Likewise.
14440 (skip_delete_command): Likewise.
14441 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
14442 (library_list_start_library): Likewise.
14443 (solib_aix_current_sos): Likewise.
14444 * solib-darwin.c (get_darwin_info): Likewise.
14445 (darwin_current_sos): Likewise.
14446 * solib-dsbt.c (get_dsbt_info): Likewise.
14447 * solib-ia64-hpux.c (new_so_list): Likewise.
14448 (ia64_hpux_get_solib_linkage_addr): Likewise.
14449 * solib-spu.c (append_ocl_sos): Likewise.
14450 (spu_current_sos): Likewise.
14451 * solib-svr4.c (get_svr4_info): Likewise.
14452 (svr4_keep_data_in_core): Likewise.
14453 (library_list_start_library): Likewise.
14454 (svr4_default_sos): Likewise.
14455 (svr4_read_so_list): Likewise.
14456 * solib-target.c (library_list_start_library): Likewise.
14457 (solib_target_current_sos): Likewise.
14458 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
14459 * symfile-debug.c (install_symfile_debug_logging): Likewise.
14460 * symfile.c (default_symfile_segments): Likewise.
14461 * target-descriptions.c (tdesc_data_init): Likewise.
14462 (tdesc_create_reg): Likewise.
14463 (struct tdesc_type *): Likewise.
14464 (tdesc_create_vector): Likewise.
14465 (tdesc_set_struct_size): Likewise.
14466 (struct tdesc_type *): Likewise.
14467 (tdesc_free_feature): Likewise.
14468 (tdesc_create_feature): Likewise.
14469 * windows-nat.c (windows_add_thread): Likewise.
14470 (windows_make_so): Likewise.
14471 * xml-support.c (gdb_xml_body_text): Likewise.
14472 (gdb_xml_create_parser_and_cleanup): Likewise.
14473 (xml_process_xincludes): Likewise.
14474 * xml-syscall.c (allocate_syscalls_info): Likewise.
14475 (syscall_create_syscall_desc): Likewise.
14476
14477 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
14478
14479 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
14480 function, with code from i386_stap_parse_special_token.
14481 (i386_stap_parse_special_token_three_arg_disp): Likewise.
14482 (i386_stap_parse_special_token): Move code to the two functions
14483 above; simplify it.
14484
14485 2014-01-09 Pedro Alves <palves@redhat.com>
14486 Hui Zhu <hui@codesourcery.com>
14487
14488 PR gdb/16101
14489 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
14490 bp_err_string. Don't mark the location shlib_disabled if the
14491 error thrown wasn't a generic or memory error. Catch errors
14492 thrown while inserting breakpoints in overlayed code. Output
14493 error message of software breakpoints.
14494 * remote.c (remote_insert_breakpoint): If this breakpoint has
14495 target-side commands but this stub doesn't support Z0 packets,
14496 throw NOT_SUPPORTED_ERROR error.
14497 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
14498 * target.h (target_insert_breakpoint): Extend comment.
14499 (target_insert_hw_breakpoint): Add comment.
14500
14501 2014-01-08 Pedro Alves <palves@redhat.com>
14502
14503 * remote.c (remote_add_thread): Add threads silently if starting
14504 up.
14505 (remote_notice_new_inferior): If in all-stop, and starting up,
14506 don't call notice_new_inferior.
14507 (get_current_thread): New function, factored out from ...
14508 (add_current_inferior_and_thread): ... this. Adjust.
14509 (remote_start_remote) <all-stop>: Fetch the thread list. If we
14510 found any thread, then select the remote's current thread as GDB's
14511 current thread too.
14512
14513 2014-01-08 Joel Brobecker <brobecker@adacore.com>
14514
14515 * NEWS: Create a new section for the next release branch.
14516 Rename the section of the current branch, now that it has
14517 been cut.
14518
14519 2014-01-08 Joel Brobecker <brobecker@adacore.com>
14520
14521 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
14522 * version.in: Bump version to 7.7.50.DATE-cvs.
14523
14524 2014-01-08 Yao Qi <yao@codesourcery.com>
14525
14526 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
14527 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
14528 (spu_xfer_partial): Cast 'buf' to 'const char *'.
14529
14530 2014-01-08 Yao Qi <yao@codesourcery.com>
14531
14532 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
14533 return value of bfd_get_filename to symbol_file_add_from_bfd.
14534
14535 2014-01-08 Pierre Muller <muller@sourceware.org>
14536
14537 Fix PR16201.
14538 * coff-pe-read.c (struct read_pe_section_data): Add index field.
14539 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
14540 to prim_record_mininal_symbol_and_info.
14541 (add_pe_forwarded_sym): Use known section number of forwarded symbol
14542 in call to prim_record_minimal_symbol_and_info.
14543 (read_pe_exported_syms): Set index field of section_data.
14544
14545 2014-01-07 Andrew Pinski <apinski@cavium.com>
14546
14547 * features/aarch64-core.xml (cpsr): Change to be 64bit.
14548 * features/aarch64.c: Regenerate.
14549
14550 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
14551
14552 * target.c (return_null): Define.
14553 (update_current_target): Use it instead of return_zero for
14554 functions that return a pointer.
14555
14556 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14557
14558 * source.c (add_path): Fix check for duplicated paths in the previously
14559 included paths.
14560
14561 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
14562
14563 * ada-lang.c: Remove duplicated include statements.
14564 * alphabsd-nat.c: Ditto.
14565 * amd64-darwin-tdep.c: Ditto.
14566 * amd64fbsd-nat.c: Ditto.
14567 * auto-load.c: Ditto.
14568 * ax-gdb.c: Ditto.
14569 * breakpoint.c: Ditto.
14570 * dbxread.c: Ditto.
14571 * fork-child.c: Ditto.
14572 * gdb_usleep.c: Ditto.
14573 * i386-darwin-tdep.c: Ditto.
14574 * i386fbsd-nat.c: Ditto.
14575 * infcmd.c: Ditto.
14576 * inferior.c: Ditto.
14577 * jv-lang.c: Ditto.
14578 * linux-nat.c: Ditto.
14579 * linux-tdep.c: Ditto.
14580 * m68kbsd-nat.c: Ditto.
14581 * m68klinux-nat.c: Ditto.
14582 * microblaze-tdep.c: Ditto.
14583 * mips-linux-tdep.c: Ditto.
14584 * mn10300-tdep.c: Ditto.
14585 * nto-tdep.c: Ditto.
14586 * opencl-lang.c: Ditto.
14587 * osdata.c: Ditto.
14588 * printcmd.c: Ditto.
14589 * regcache.c: Ditto.
14590 * remote-m32r-sdi.c: Ditto.
14591 * remote.c: Ditto.
14592 * symfile.c: Ditto.
14593 * symtab.c: Ditto.
14594 * tilegx-linux-nat.c: Ditto.
14595 * tilegx-tdep.c: Ditto.
14596 * tracepoint.c: Ditto.
14597 * valops.c: Ditto.
14598 * vaxbsd-nat.c: Ditto.
14599 * windows-nat.c: Ditto.
14600 * xtensa-tdep.c: Ditto.
14601
14602 2014-01-07 Yao Qi <yao@codesourcery.com>
14603
14604 * spu-linux-nat.c (_initialize_spu_nat): Declare.
14605
14606 2014-01-07 Yao Qi <yao@codesourcery.com>
14607 Joel Brobecker <brobecker@adacore.com>
14608
14609 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
14610 (pdc_write_regs): Likewise.
14611 (fetch_regs_kernel_thread): Likewise.
14612 (store_regs_kernel_thread): Likewise.
14613
14614 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14615
14616 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
14617 tagged type objects to their actual type.
14618
14619 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14620
14621 * ada-valprint.c (print_field_values): Add "language" parameter.
14622 Update calls to print_field_values and print_variant_part.
14623 Pass new parameter "language" in call to val_print instead
14624 of "current_language". Replace call to ada_val_print by call
14625 to val_print.
14626 (print_variant_part): Add "language" parameter.
14627 (ada_val_print_struct_union): Update call to print_field_values.
14628
14629 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14630
14631 * ada-valprint.c (ui_memcpy): Delete.
14632 (ada_print_floating): Update documentation. Add empty line
14633 between between function documentation and implementation.
14634 Delete variable "buffer". Use ui_file_xstrdup in place of
14635 ui_file_put. Minor adjustments following this change.
14636
14637 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14638
14639 * ada-valprint.c (ada_val_print_string): New function,
14640 extracted from ada_val_print_array.
14641 (ada_val_print_array): Replace extracted code by call
14642 to ada_val_print_string followed by a return. Move
14643 "else" branch to the function's top block.
14644
14645 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14646
14647 * ada-valprint.c (ada_val_print_array): Move implementation
14648 down. Rename parameter "offset" and "val" into "offset_aligned"
14649 and "original_value" respectively. Add parameter "offset".
14650
14651 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14652
14653 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
14654 re-organizing the code. Change the "???" message printed
14655 when target type is a TYPE_CODE_UNDEF into
14656 "<ref to undefined type>".
14657
14658 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14659
14660 * ada-valprint.c (print_record): Delete, implementation inlined...
14661 (ada_val_print_struct_union): ... here. Remove call to
14662 ada_check_typedef in inlined implementation.
14663
14664 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14665
14666 * ada-valprint.c (ada_val_print_gnat_array): New function,
14667 extracted from ada_val_print_1;
14668 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
14669 (ada_val_print_flt, ada_val_print_struct_union)
14670 (ada_val_print_ref): Likewise.
14671 (ada_val_print_1): Delete variables i and elttype.
14672 Replace extracted-out code by call to corresponding
14673 new functions.
14674
14675 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14676
14677 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
14678
14679 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14680
14681 * ada-valprint.c (ada_val_print_1): Replace calls to
14682 ada_val_print_1 by calls to val_print.
14683
14684 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14685
14686 * ada-valprint.c (ada_val_print_1): Add parameter "language".
14687 Update calls to self accordingly. Replace calls to c_val_print
14688 by calls to val_print.
14689
14690 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14691
14692 * ada-valprint.c (print_record): Delete declaration.
14693 (adjust_type_signedness, ada_val_print_1): Likewise.
14694 (ada_val_print): Move function implementation down.
14695 (print_variant_part, print_field_values, print_record):
14696 Move function implementation up.
14697
14698 2014-01-07 Joel Brobecker <brobecker@adacore.com>
14699
14700 * python/py-type.c (typy_get_name): New function.
14701 (type_object_getset): Add entry for attribute "name".
14702 * NEWS: Add entry mentioning this new attribute.
14703
14704 2014-01-07 Yao Qi <yao@codesourcery.com>
14705
14706 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
14707 statement.
14708
14709 2014-01-07 Yao Qi <yao@codesourcery.com>
14710
14711 * gnu-nat.c (info_port_rights): Add qualifier const to
14712 argument args.
14713
14714 2014-01-07 Yao Qi <yao@codesourcery.com>
14715
14716 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
14717
14718 2014-01-07 Yao Qi <yao@codesourcery.com>
14719
14720 * gnu-nat.c (make_inf) Update declaration.
14721 (make_inf): Make it static.
14722 (inf_set_traced): Likewise.
14723 (inf_port_to_thread, inf_task_died_status): Likewise.
14724
14725 2014-01-07 Yao Qi <yao@codesourcery.com>
14726
14727 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
14728
14729 2014-01-07 Yao Qi <yao@codesourcery.com>
14730
14731 * gnu-nat.c (_initialize_gnu_nat): Declare.
14732
14733 2014-01-07 Yao Qi <yao@codesourcery.com>
14734
14735 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
14736 'enum bfd_endian'.
14737 (struct gdbarch_info) <byte_order>: Change type to
14738 'enum bfd_endian'.
14739 <byte_order_for_code>: Likewise.
14740 * gdbarch.c, gdbarch.h: Regenerated.
14741
14742 2014-01-06 Sasha Smundak <asmundak@google.com>
14743
14744 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
14745
14746 2014-01-06 Tom Tromey <tromey@redhat.com>
14747
14748 * doublest.c (convert_doublest_to_floatformat): Use const, not
14749 CONST.
14750 * somread.c (som_symtab_read): Likewise.
14751
14752 2014-01-07 Hui Zhu <hui@codesourcery.com>
14753
14754 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
14755 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
14756 (gdb_bfd_fopen): Ditto.
14757 (gdb_bfd_openr): Ditto.
14758 (gdb_bfd_openw): Ditto.
14759 (gdb_bfd_openr_iovec): Ditto.
14760 (gdb_bfd_fdopenr): Ditto.
14761 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
14762 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
14763 with xstrdup.
14764 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
14765 with xstrdup.
14766 * symfile-mem.c (symbol_file_add_from_memory): Removed
14767 gdb_bfd_stash_filename.
14768
14769 2014-01-03 Doug Evans <dje@google.com>
14770
14771 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
14772 output.
14773
14774 2014-01-01 Joel Brobecker <brobecker@adacore.com>
14775
14776 Update year range in copyright notice of all files.
14777
14778 2014-01-01 Joel Brobecker <brobecker@adacore.com>
14779
14780 * top.c (print_gdb_version): Set copyright year to 2014.
14781
14782 2014-01-01 Joel Brobecker <brobecker@adacore.com>
14783
14784 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
14785
14786 For older changes see ChangeLog-2013.
14787 \f
14788 Local Variables:
14789 mode: change-log
14790 left-margin: 8
14791 fill-column: 74
14792 version-control: never
14793 coding: utf-8
14794 End:
This page took 0.313493 seconds and 5 git commands to generate.