remove target_ignore
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-02-25 Tom Tromey <tromey@redhat.com>
2
3 * target.h (target_ignore): Don't declare.
4 * target.c (target_ignore): Remove.
5
6 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7
8 PR gdb/16626
9 * auto-load.c (auto_load_objfile_script_1): Change filename to
10 debugfile.
11
12 2014-02-25 Joel Brobecker <brobecker@adacore.com>
13
14 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
15 documentation. Adjust prototype to match the target_ops
16 to_xfer_partial method. Adjust implementation accordingly.
17
18 2014-02-25 Hui Zhu <hui@codesourcery.com>
19
20 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
21 to_traceframe_info.
22
23 2014-02-25 Kevin Buettner <kevinb@redhat.com>
24
25 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
26 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
27 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
28 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
29 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
30 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
31 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
32 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
33 New constants.
34 (rl78_register_type): Use a data pointer type for SP and
35 new pseudo registers mentioned above. Use a 16 bit integer
36 type for all other register pairs.
37 (rl78_register_name, rl78_g10_register_name): Update for
38 new pseudo registers.
39 (rl78_pseudo_register_read): Likewise.
40 (rl78_pseudo_register_write): Likewise.
41 (rl78_dwarf_reg_to_regnum): Return register numbers representing
42 to the newly added pseudo registers.
43
44 2014-02-24 Doug Evans <dje@google.com>
45
46 * value.c (record_latest_value): Fix comment.
47 * printcmd.c (print_command_1): Remove code to handle -1 return from
48 record_latest_value.
49
50 2014-02-24 Pedro Alves <palves@redhat.com>
51
52 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
53 deprecated_xfer_memory hook.
54 (procfs_xfer_partial): Call procfs_xfer_memory instead
55 of the deprecated_xfer_memory target hook.
56 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
57 helper.
58
59 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
60
61 * windows-nat.c (windows_xfer_shared_libraries): Return
62 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
63 requested object is TARGET_OBJECT_LIBRARIES.
64
65 2014-02-24 Yao Qi <yao@codesourcery.com>
66
67 * target.h (enum target_xfer_status)
68 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
69 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
70 explicitly. New.
71 * corefile.c (memory_error_message): User updated.
72 * exec.c (section_table_read_available_memory): Likewise.
73 * record-btrace.c (record_btrace_xfer_partial): Likewise.
74 * target.c (target_xfer_status_to_string): Likewise.
75 (raw_memory_xfer_partial): Likewise.
76 (memory_xfer_partial_1, target_xfer_partial): Likewise.
77 * valops.c (read_value_memory): Likewise.
78 * exec.h: Update comments.
79
80 2014-02-24 Yao Qi <yao@codesourcery.com>
81
82 * target.c (target_xfer_status_to_string): Rename argument err
83 to status.
84 * target.h (target_xfer_status_to_string): Update declaration.
85 Replace target_xfer_error_to_string with
86 target_xfer_status_to_string in comment.
87
88 2014-02-24 Yao Qi <yao@codesourcery.com>
89
90 * mips-linux-nat.c (super_close): Update its type.
91 (mips_linux_close): Pass 'self' to super_close.
92
93 2014-02-24 Yao Qi <yao@codesourcery.com>
94
95 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
96 * corefile.c (read_memory): Adjusted.
97 * target.c (target_write_with_progress): Adjusted.
98
99 2014-02-23 Yao Qi <yao@codesourcery.com>
100
101 Revert two patches:
102
103 2013-10-25 Yao Qi <yao@codesourcery.com>
104
105 * remote.c (remote_traceframe_info): Return early if
106 traceframe is not selected.
107
108 2013-07-19 Yao Qi <yao@codesourcery.com>
109
110 * target.c (update_current_target): Change the default action
111 of 'to_traceframe_info' from tcomplain to return_zero.
112 * target.h (struct target_ops) <to_traceframe_info>: Add more
113 comments.
114
115 2014-02-23 Yao Qi <yao@codesourcery.com>
116
117 * valops.c (read_value_memory): Rewrite it. Call
118 target_xfer_partial in a loop.
119 * exec.h (section_table_available_memory): Remove declaration.
120 Move comments to ...
121 * exec.c (section_table_available_memory): ... here. Make it
122 static.
123
124 2014-02-23 Yao Qi <yao@codesourcery.com>
125
126 * exec.c (section_table_read_available_memory): New function.
127 * exec.h (section_table_read_available_memory): Declare.
128 * ctf.c (ctf_xfer_partial): Call
129 section_table_read_available_memory.
130 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
131
132 2014-02-23 Yao Qi <yao@codesourcery.com>
133
134 * ctf.c (ctf_xfer_partial): Move code to ...
135 * exec.c (exec_read_partial_read_only): ... it. New function.
136 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
137 * tracefile.c: Include "exec.h".
138 * exec.h (exec_read_partial_read_only): Declare.
139
140 2014-02-23 Yao Qi <yao@codesourcery.com>
141
142 * tracefile-tfile.c (tfile_has_all_memory): Remove.
143 (tfile_has_memory): Remove.
144 (init_tfile_ops): Don't set fields to_has_all_memory and
145 to_has_memory of tfile_ops.
146 * tracefile.c (tracefile_has_all_memory): New function.
147 (tracefile_has_memory): New function.
148 (init_tracefile_ops): Initialize fields to_has_all_memory and
149 to_has_memory of 'ops'.
150
151 2014-02-23 Yao Qi <yao@codesourcery.com>
152
153 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
154 (ctf_thread_alive, ctf_get_trace_status): Remove.
155 (init_ctf_ops): Don't set some fields of ctf_ops. Call
156 init_tracefile_ops.
157 * tracefile-tfile.c (tfile_get_trace_status): Remove.
158 (tfile_has_stack, tfile_has_registers): Remove.
159 (tfile_thread_alive): Remove.
160 (init_tfile_ops): Don't set some fields of tfile_ops. Call
161 init_tracefile_ops.
162 * tracefile.c (tracefile_has_stack): New function.
163 (tracefile_has_registers): New function.
164 (tracefile_thread_alive): New function.
165 (tracefile_get_trace_status): New function.
166 (init_tracefile_ops): New function.
167 * tracefile.h (init_tracefile_ops): Declare.
168
169 2014-02-23 Yao Qi <yao@codesourcery.com>
170
171 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
172 (O_LARGEFILE): Likewise.
173 (tfile_ops): Likewise.
174 (TRACE_HEADER_SIZE): Likewise.
175 (trace_fd, trace_frames_offset, cur_offset): Likewise.
176 (cur_data_size): Likewise.
177 (tfile_read, tfile_open, tfile_interp_line): Likewise.
178 (tfile_close, tfile_files_info): Likewise.
179 (tfile_get_trace_status): Likewise.
180 (tfile_get_tracepoint_status): Likewise.
181 (tfile_get_traceframe_address): Likewise.
182 (tfile_trace_find, match_blocktype): Likewise.
183 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
184 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
185 (tfile_get_trace_state_variable_value): Likewise.
186 (tfile_has_all_memory, tfile_has_memory): Likewise.
187 (tfile_has_stack, tfile_has_registers): Likewise.
188 (tfile_thread_alive, build_traceframe_info): Likewise.
189 (tfile_traceframe_info, init_tfile_ops): Likewise.
190 (_initialize_tracepoint): Don't call init_tfile_ops
191 and add_target_with_completer.
192 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
193 exec.h, completer.h and filenames.h.
194 (_initialize_tracefile_tfile): New function.
195
196 2014-02-23 Yao Qi <yao@codesourcery.com>
197
198 * Makefile.in (REMOTE_OBS): Append tracefile.o and
199 tracefile-tfile.o.
200 (HFILES_NO_SRCDIR): Add tracefile.h.
201 * ctf.c: Include "tracefile.h".
202 * tracefile.h: New file.
203 * tracefile.c: New file
204 * tracefile-tfile.c: New file.
205 * tracepoint.c: Include "tracefile.h".
206 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
207 (stop_reason_names): Add const.
208 (trace_file_writer_xfree): Move it to tracefile.c.
209 (trace_save, trace_save_command, trace_save_tfile): Likewise.
210 (trace_save_ctf): Likewise.
211 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
212 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
213 (tfile_write_header, tfile_write_regblock_type): Likewise.
214 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
215 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
216 (tfile_write_raw_data, tfile_end): Likewise.
217 (tfile_trace_file_writer_new): Likewise.
218 (free_uploaded_tp): Make it extern.
219 (free_uploaded_tsv): Make it extern.
220 (_initialize_tracepoint): Move code to register command 'tsave'
221 to tracefile.c.
222 * tracepoint.h (stop_reason_names): Declare.
223 (struct trace_frame_write_ops): Move it to tracefile.h.
224 (struct trace_file_write_ops): Likewise.
225 (struct trace_file_writer): Likewise.
226 (free_uploaded_tsvs, free_uploaded_tps): Declare.
227
228 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
229
230 PR gdb/16594
231 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
232 process name.
233 (get_cores_used_by_process): New parameter num_cores, use it.
234 (linux_xfer_osdata_processes): Pass num_cores to it.
235 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
236 process name.
237
238 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
239
240 * target.c (memory_xfer_partial): Fix length arg in call to
241 breakpoint_xfer_memory.
242
243 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
244
245 PR tdep/16397
246 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
247 number comes after the + or - signs. Adjust length of register
248 name to be extracted.
249
250 2014-02-20 Tom Tromey <tromey@redhat.com>
251
252 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
253 (ada_varobj_ops): Mark "extern".
254
255 2014-02-20 Tom Tromey <tromey@redhat.com>
256
257 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
258
259 2014-02-20 Doug Evans <xdje42@gmail.com>
260
261 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
262 All callers updated.
263 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
264 All callers updated.
265 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
266 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
267
268 2014-02-20 lin zuojian <manjian2006@gmail.com>
269 Joel Brobecker <brobecker@adacore.com>
270 Doug Evans <xdje42@gmail.com>
271
272 PR symtab/16581
273 * dwarf2read.c (struct die_info): New member in_process.
274 (reset_die_in_process): New function.
275 (process_die): Set it at the start, reset when returning.
276 (inherit_abstract_dies): Only call process_die if origin_child_die
277 not already being processed.
278
279 2014-02-20 Joel Brobecker <brobecker@adacore.com>
280
281 * windows-nat.c (handle_unload_dll): Add function documentation.
282 (do_initial_windows_stuff): Add comment explaining why we wait
283 until after inferior initialization has finished before
284 processing all DLLs.
285
286 2014-02-20 Joel Brobecker <brobecker@adacore.com>
287
288 * windows-nat.c (get_module_name): Delete.
289 (windows_get_exec_module_filename): New function, mostly
290 inspired from get_module_name.
291 (windows_pid_to_exec_file): Replace call to get_module_name
292 by call to windows_get_exec_module_filename.
293
294 2014-02-20 Joel Brobecker <brobecker@adacore.com>
295
296 * windows-nat.c (handle_load_dll): Rewrite this function's
297 introductory comment. Remove code using get_module_name
298 to get the DLL's name.
299
300 2014-02-20 Joel Brobecker <brobecker@adacore.com>
301
302 * windows-nat.c (get_windows_debug_event): Ignore
303 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
304 if windows_initialization_done == 0.
305 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
306 Adjust implementation to always load all DLLs.
307 (do_initial_windows_stuff): Replace call to
308 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
309
310 2014-02-20 Joel Brobecker <brobecker@adacore.com>
311
312 * windows-nat.c (_initialize_windows_nat): Deprecate the
313 "dll-symbols" command. Turn the "add-shared-symbol-files"
314 and "assf" aliases into commands, and deprecate them as well.
315 * NEWS: Add entry explaining that "dll-symbols" and its two
316 aliases are now deprecated.
317
318 2014-02-20 Joel Brobecker <brobecker@adacore.com>
319
320 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
321 new-line in debug string. Remove trailing spaces.
322
323 2014-02-19 Stan Shebs <stan@codesourcery.com>
324
325 * darwin-nat.c (darwin_xfer_partial): Fix return type.
326
327 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
328
329 * NEWS: Add entry for the new feature
330 * python/py-value.c (valpy_binop): Call value_x_binop for struct
331 and class values.
332
333 2014-02-19 Stan Shebs <stan@codesourcery.com>
334
335 * MAINTAINERS: List Yao Qi as nios2 maintainer.
336
337 2014-02-19 Pedro Alves <palves@redhat.com>
338
339 * common/ptid.h (struct ptid): Mention that process_stratum
340 targets should prefer ptid.lwp.
341
342 2014-02-19 Pedro Alves <palves@redhat.com>
343
344 * remote.c (remote_thread_alive, write_ptid, read_ptid)
345 (read_ptid, remote_newthread_step, remote_threads_extra_info)
346 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
347 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
348 store remote thread ids rather than ptid.tid.
349 (_initialize_remote): Adjust.
350
351 2014-02-19 Tom Tromey <tromey@redhat.com>
352
353 * target.c (target_get_unwinder): Rewrite.
354 (target_get_tailcall_unwinder): Rewrite.
355 * record-btrace.c (record_btrace_to_get_unwinder): New function.
356 (record_btrace_to_get_tailcall_unwinder): New function.
357 (init_record_btrace_ops): Update.
358 * target.h (struct target_ops) <to_get_unwinder,
359 to_get_tailcall_unwinder>: Now function pointers. Use
360 TARGET_DEFAULT_RETURN.
361
362 2014-02-19 Tom Tromey <tromey@redhat.com>
363
364 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
365 argument.
366 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
367
368 2014-02-19 Tom Tromey <tromey@redhat.com>
369
370 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
371 directly.
372 * target-delegates.c: Rebuild.
373 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
374 TARGET_DEFAULT_FUNC.
375 * target.c (default_target_decr_pc_after_break): Rename from
376 forward_target_decr_pc_after_break. Simplify.
377 (target_decr_pc_after_break): Rely on delegation.
378
379 2014-02-19 Tom Tromey <tromey@redhat.com>
380
381 * target.c (update_current_target): Do not INHERIT to_doc or
382 to_magic. Do not de_fault to_open or to_close.
383
384 2014-02-19 Tom Tromey <tromey@redhat.com>
385
386 * gcore.h (objfile_find_memory_regions): Declare.
387 * gcore.c (objfile_find_memory_regions): No longer static. Add
388 "self" argument.
389 (_initialize_gcore): Don't call exec_set_find_memory_regions.
390 * exec.c: Include gcore.h.
391 (exec_set_find_memory_regions): Remove.
392 (exec_find_memory_regions): Remove.
393 (exec_do_find_memory_regions): Remove.
394 (init_exec_ops): Update.
395 * defs.h (exec_set_find_memory_regions): Remove.
396
397 2014-02-19 Tom Tromey <tromey@redhat.com>
398
399 * target-delegates.c: Rebuild.
400 * target.h (struct target_ops) <to_extra_thread_info,
401 to_thread_name, to_pid_to_exec_file, to_get_section_table,
402 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
403 not 0, in TARGET_DEFAULT_RETURN.
404
405 2014-02-19 Tom Tromey <tromey@redhat.com>
406
407 * target.c (complete_target_initialization): Remove casts. Use
408 return_zero_has_execution.
409 (return_zero): Add "ignore" argument.
410 (return_zero_has_execution): New function.
411 (init_dummy_target): Remove casts. Use
412 return_zero_has_execution.
413
414 2014-02-19 Tom Tromey <tromey@redhat.com>
415
416 * target.c (update_current_target): Update comments. Do not
417 INHERIT to_stratum.
418
419 2014-02-19 Tom Tromey <tromey@redhat.com>
420
421 * arm-linux-nat.c (arm_linux_read_description): Delegate when
422 needed.
423 * corelow.c (core_read_description): Delegate when needed.
424 * remote.c (remote_read_description): Delegate when needed.
425 * target-delegates.c: Rebuild.
426 * target.c (target_read_description): Rewrite.
427 * target.h (struct target_ops) <to_read_description>: Update
428 comment. Use TARGET_DEFAULT_RETURN.
429
430 2014-02-19 Tom Tromey <tromey@redhat.com>
431
432 * target-delegates.c: Rebuild.
433 * target.c (update_current_target): Don't inherit or default
434 to_can_run.
435 (find_default_run_target): Check against delegate_can_run.
436 * target.h (struct target_ops) <to_can_run>: Use
437 TARGET_DEFAULT_RETURN.
438
439 2014-02-19 Tom Tromey <tromey@redhat.com>
440
441 * target-delegates.c: Rebuild.
442 * target.c (target_disconnect): Unconditionally delegate.
443 * target.h (struct target_ops) <to_disconnect>: Use
444 TARGET_DEFAULT_NORETURN.
445
446 2014-02-19 Tom Tromey <tromey@redhat.com>
447
448 * record.c (record_stop): Unconditionally delegate.
449 * target-delegates.c: Rebuild.
450 * target.c (target_stop_recording): Unconditionally delegate.
451 * target.h (struct target_ops) <to_stop_recording>: Use
452 TARGET_DEFAULT_IGNORE.
453
454 2014-02-19 Tom Tromey <tromey@redhat.com>
455
456 * target-delegates.c: Rebuild.
457 * target.c (target_enable_btrace): Unconditionally delegate.
458 * target.h (struct target_ops) <to_enable_btrace>: Use
459 TARGET_DEFAULT_NORETURN.
460
461 2014-02-19 Tom Tromey <tromey@redhat.com>
462
463 * target-delegates.c: Rebuild.
464 * target.c (target_read_btrace): Unconditionally delegate.
465 * target.h (struct target_ops) <to_read_btrace>: Use
466 TARGET_DEFAULT_NORETURN.
467
468 2014-02-19 Tom Tromey <tromey@redhat.com>
469
470 * target-delegates.c: Rebuild.
471 * target.c (target_teardown_btrace): Unconditionally delegate.
472 * target.h (struct target_ops) <to_teardown_btrace>: Use
473 TARGET_DEFAULT_NORETURN.
474
475 2014-02-19 Tom Tromey <tromey@redhat.com>
476
477 * target-delegates.c: Rebuild.
478 * target.c (target_disable_btrace): Unconditionally delegate.
479 * target.h (struct target_ops) <to_disable_btrace>: Use
480 TARGET_DEFAULT_NORETURN.
481
482 2014-02-19 Tom Tromey <tromey@redhat.com>
483
484 * target-delegates.c: Rebuild.
485 * target.c (default_search_memory): New function.
486 (simple_search_memory): Update comment.
487 (target_search_memory): Unconditionally delegate.
488 * target.h (struct target_ops) <to_search_memory>: Use
489 TARGET_DEFAULT_FUNC.
490
491 2014-02-19 Tom Tromey <tromey@redhat.com>
492
493 * auxv.c (default_auxv_parse): No longer static.
494 (target_auxv_parse): Unconditionally delegate.
495 * auxv.h (default_auxv_parse): Declare.
496 * target-delegates.c: Rebuild.
497 * target.c: Include auxv.h.
498 * target.h (struct target_ops) <to_auxv_parse>: Use
499 TARGET_DEFAULT_FUNC.
500
501 2014-02-19 Tom Tromey <tromey@redhat.com>
502
503 * target-delegates.c: Rebuild.
504 * target.c (target_memory_map): Unconditionally delegate.
505 * target.h (struct target_ops) <to_memory_map>: Use
506 TARGET_DEFAULT_RETURN.
507
508 2014-02-19 Tom Tromey <tromey@redhat.com>
509
510 * target-delegates.c: Rebuild.
511 * target.c (target_thread_alive): Unconditionally delegate.
512 * target.h (struct target_ops) <to_thread_alive>: Use
513 TARGET_DEFAULT_RETURN.
514
515 2014-02-19 Tom Tromey <tromey@redhat.com>
516
517 * target-delegates.c: Rebuild.
518 * target.c (target_save_record): Unconditionally delegate.
519 * target.h (struct target_ops) <to_save_record>: Use
520 TARGET_DEFAULT_NORETURN.
521
522 2014-02-19 Tom Tromey <tromey@redhat.com>
523
524 * target-delegates.c: Rebuild.
525 * target.c (target_delete_record): Unconditionally delegate.
526 * target.h (struct target_ops) <to_delete_record>: Use
527 TARGET_DEFAULT_NORETURN.
528
529 2014-02-19 Tom Tromey <tromey@redhat.com>
530
531 * target-delegates.c: Rebuild.
532 * target.c (target_record_is_replaying): Unconditionally
533 delegate.
534 * target.h (struct target_ops) <to_record_is_replaying>: Use
535 TARGET_DEFAULT_RETURN.
536
537 2014-02-19 Tom Tromey <tromey@redhat.com>
538
539 * target-delegates.c: Rebuild.
540 * target.c (target_goto_record_begin): Unconditionally delegate.
541 * target.h (struct target_ops) <to_goto_record_begin>: Use
542 TARGET_DEFAULT_NORETURN.
543
544 2014-02-19 Tom Tromey <tromey@redhat.com>
545
546 * target-delegates.c: Rebuild.
547 * target.c (target_goto_record_end): Unconditionally delegate.
548 * target.h (struct target_ops) <to_goto_record_end>: Use
549 TARGET_DEFAULT_NORETURN.
550
551 2014-02-19 Tom Tromey <tromey@redhat.com>
552
553 * target-delegates.c: Rebuild.
554 * target.c (target_goto_record): Unconditionally delegate.
555 * target.h (struct target_ops) <to_goto_record>: Use
556 TARGET_DEFAULT_NORETURN.
557
558 2014-02-19 Tom Tromey <tromey@redhat.com>
559
560 * target-delegates.c: Rebuild.
561 * target.c (target_insn_history): Unconditionally delegate.
562 * target.h (struct target_ops) <to_insn_history>: Use
563 TARGET_DEFAULT_NORETURN.
564
565 2014-02-19 Tom Tromey <tromey@redhat.com>
566
567 * target-delegates.c: Rebuild.
568 * target.c (target_insn_history_from): Unconditionally delegate.
569 * target.h (struct target_ops) <to_insn_history_from>: Use
570 TARGET_DEFAULT_NORETURN.
571
572 2014-02-19 Tom Tromey <tromey@redhat.com>
573
574 * target-delegates.c: Rebuild.
575 * target.c (target_insn_history_range): Unconditionally delegate.
576 * target.h (struct target_ops) <to_insn_history_range>: Use
577 TARGET_DEFAULT_NORETURN.
578
579 2014-02-19 Tom Tromey <tromey@redhat.com>
580
581 * target-delegates.c: Rebuild.
582 * target.c (target_call_history): Unconditionally delegate.
583 * target.h (struct target_ops) <to_call_history>: Use
584 TARGET_DEFAULT_NORETURN.
585
586 2014-02-19 Tom Tromey <tromey@redhat.com>
587
588 * target-delegates.c: Rebuild.
589 * target.c (target_call_history_from): Unconditionally delegate.
590 * target.h (struct target_ops) <to_call_history_from>: Use
591 TARGET_DEFAULT_NORETURN.
592
593 2014-02-19 Tom Tromey <tromey@redhat.com>
594
595 * target-delegates.c: Rebuild.
596 * target.c (target_call_history_range): Unconditionally delegate.
597 * target.h (struct target_ops) <to_call_history_range>: Use
598 TARGET_DEFAULT_NORETURN.
599
600 2014-02-19 Tom Tromey <tromey@redhat.com>
601
602 * target-delegates.c: Rebuild.
603 * target.c (target_verify_memory): Unconditionally delegate.
604 * target.h (struct target_ops) <to_verify_memory>: Use
605 TARGET_DEFAULT_NORETURN.
606
607 2014-02-19 Tom Tromey <tromey@redhat.com>
608
609 * target-delegates.c: Rebuild.
610 * target.c (target_core_of_thread): Unconditionally delegate.
611 * target.h (struct target_ops) <to_core_of_thread>: Use
612 TARGET_DEFAULT_RETURN.
613
614 2014-02-19 Tom Tromey <tromey@redhat.com>
615
616 * target-delegates.c: Rebuild.
617 * target.c (target_flash_done): Unconditionally delegate.
618 * target.h (struct target_ops) <to_flash_done>: Use
619 TARGET_DEFAULT_NORETURN.
620
621 2014-02-19 Tom Tromey <tromey@redhat.com>
622
623 * target-delegates.c: Rebuild.
624 * target.c (target_flash_erase): Unconditionally delegate.
625 * target.h (struct target_ops) <to_flash_erase>: Use
626 TARGET_DEFAULT_NORETURN.
627
628 2014-02-19 Tom Tromey <tromey@redhat.com>
629
630 * target-delegates.c: Rebuild.
631 * target.c (target_get_section_table): Unconditionally delegate.
632 * target.h (struct target_ops) <to_get_section_table>: Use
633 TARGET_DEFAULT_RETURN.
634
635 2014-02-19 Tom Tromey <tromey@redhat.com>
636
637 * target-delegates.c: Rebuild.
638 * target.c (target_pid_to_str): Unconditionally delegate.
639 (init_dummy_target): Don't initialize to_pid_to_str.
640 (default_pid_to_str): Rename from dummy_pid_to_str.
641 * target.h (struct target_ops) <to_pid_to_str>: Use
642 TARGET_DEFAULT_FUNC.
643
644 2014-02-19 Tom Tromey <tromey@redhat.com>
645
646 * target-delegates.c: Rebuild.
647 * target.c (target_find_new_threads): Unconditionally delegate.
648 * target.h (struct target_ops) <to_find_new_threads>: Use
649 TARGET_DEFAULT_RETURN.
650
651 2014-02-19 Tom Tromey <tromey@redhat.com>
652
653 * target-delegates.c: Rebuild.
654 * target.c (target_program_signals): Unconditionally delegate.
655 * target.h (struct target_ops) <to_program_signals>: Use
656 TARGET_DEFAULT_IGNORE.
657
658 2014-02-19 Tom Tromey <tromey@redhat.com>
659
660 * target-delegates.c: Rebuild.
661 * target.c (target_pass_signals): Unconditionally delegate.
662 * target.h (struct target_ops) <to_pass_signals>: Use
663 TARGET_DEFAULT_IGNORE.
664
665 2014-02-19 Tom Tromey <tromey@redhat.com>
666
667 * target-delegates.c: Rebuild.
668 * target.c (default_mourn_inferior): New function.
669 (target_mourn_inferior): Unconditionally delegate.
670 * target.h (struct target_ops) <to_mourn_inferior>: Use
671 TARGET_DEFAULT_FUNC.
672
673 2014-02-19 Tom Tromey <tromey@redhat.com>
674
675 * target-delegates.c: Rebuild.
676 * target.c (default_follow_fork): New function.
677 (target_follow_fork): Unconditionally delegate.
678 * target.h (struct target_ops) <to_follow_fork>: Use
679 TARGET_DEFAULT_FUNC.
680
681 2014-02-19 Tom Tromey <tromey@redhat.com>
682
683 * target-delegates.c: Rebuild.
684 * target.c (target_kill): Unconditionally delegate.
685 * target.h (struct target_ops) <to_kill>: Use
686 TARGET_DEFAULT_NORETURN.
687
688 2014-02-19 Tom Tromey <tromey@redhat.com>
689
690 * target-delegates.c: Rebuild.
691 * target.c (target_masked_watch_num_registers): Unconditionally
692 delegate.
693 * target.h (struct target_ops) <to_masked_watch_num_registers>:
694 Use TARGET_DEFAULT_RETURN.
695
696 2014-02-19 Tom Tromey <tromey@redhat.com>
697
698 * target-delegates.c: Rebuild.
699 * target.c (target_remove_mask_watchpoint): Unconditionally
700 delegate.
701 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
702 TARGET_DEFAULT_RETURN.
703
704 2014-02-19 Tom Tromey <tromey@redhat.com>
705
706 * target-delegates.c: Rebuild.
707 * target.c (target_insert_mask_watchpoint): Unconditionally
708 delegate.
709 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
710 TARGET_DEFAULT_RETURN.
711
712 2014-02-19 Tom Tromey <tromey@redhat.com>
713
714 * target-delegates.c: Rebuild.
715 * target.c (target_ranged_break_num_registers): Unconditionally
716 delegate.
717 * target.h (struct target_ops) <to_ranged_break_num_registers>:
718 Use TARGET_DEFAULT_RETURN.
719
720 2014-02-19 Tom Tromey <tromey@redhat.com>
721
722 * target-delegates.c: Rebuild.
723 * target.c (target_fetch_registers): Unconditionally delegate.
724 * target.h (struct target_ops) <to_fetch_registers>: Use
725 TARGET_DEFAULT_NORETURN.
726
727 2014-02-19 Tom Tromey <tromey@redhat.com>
728
729 * target-delegates.c: Rebuild.
730 * target.c (update_current_target): Don't inherit or default
731 to_stop.
732 * target.h (struct target_ops) <to_stop>: Use
733 TARGET_DEFAULT_IGNORE.
734
735 2014-02-19 Tom Tromey <tromey@redhat.com>
736
737 * target-delegates.c: Rebuild.
738 * target.c (update_current_target): Don't inherit or default
739 to_can_run_breakpoint_commands.
740 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
741 Use TARGET_DEFAULT_RETURN.
742
743 2014-02-19 Tom Tromey <tromey@redhat.com>
744
745 * target-delegates.c: Rebuild.
746 * target.c (update_current_target): Don't inherit or default
747 to_supports_evaluation_of_breakpoint_conditions.
748 * target.h (struct target_ops)
749 <to_supports_evaluation_of_breakpoint_conditions>: Use
750 TARGET_DEFAULT_RETURN.
751
752 2014-02-19 Tom Tromey <tromey@redhat.com>
753
754 * target-delegates.c: Rebuild.
755 * target.c (update_current_target): Don't inherit or default
756 to_augmented_libraries_svr4_read.
757 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
758 Use TARGET_DEFAULT_RETURN.
759
760 2014-02-19 Tom Tromey <tromey@redhat.com>
761
762 * target-delegates.c: Rebuild.
763 * target.c (update_current_target): Don't inherit or default
764 to_can_use_agent.
765 * target.h (struct target_ops) <to_can_use_agent>: Use
766 TARGET_DEFAULT_RETURN.
767
768 2014-02-19 Tom Tromey <tromey@redhat.com>
769
770 * target-delegates.c: Rebuild.
771 * target.c (update_current_target): Don't inherit or default
772 to_use_agent.
773 * target.h (struct target_ops) <to_use_agent>: Use
774 TARGET_DEFAULT_NORETURN.
775
776 2014-02-19 Tom Tromey <tromey@redhat.com>
777
778 * target-delegates.c: Rebuild.
779 * target.c (update_current_target): Don't inherit or default
780 to_traceframe_info.
781 (return_null): Remove.
782 * target.h (struct target_ops) <to_traceframe_info>: Use
783 TARGET_DEFAULT_RETURN.
784
785 2014-02-19 Tom Tromey <tromey@redhat.com>
786
787 * target-delegates.c: Rebuild.
788 * target.c (update_current_target): Don't inherit or default
789 to_static_tracepoint_markers_by_strid.
790 * target.h (struct target_ops)
791 <to_static_tracepoint_markers_by_strid>: Use
792 TARGET_DEFAULT_NORETURN.
793
794 2014-02-19 Tom Tromey <tromey@redhat.com>
795
796 * target-delegates.c: Rebuild.
797 * target.c (update_current_target): Don't inherit or default
798 to_static_tracepoint_marker_at.
799 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
800 Use TARGET_DEFAULT_RETURN.
801
802 2014-02-19 Tom Tromey <tromey@redhat.com>
803
804 * target-delegates.c: Rebuild.
805 * target.c (update_current_target): Don't inherit or default
806 to_set_permissions.
807 * target.h (struct target_ops) <to_set_permissions>: Use
808 TARGET_DEFAULT_IGNORE.
809
810 2014-02-19 Tom Tromey <tromey@redhat.com>
811
812 * target-delegates.c: Rebuild.
813 * target.c (update_current_target): Don't inherit or default
814 to_get_tib_address.
815 * target.h (struct target_ops) <to_get_tib_address>: Use
816 TARGET_DEFAULT_NORETURN.
817
818 2014-02-19 Tom Tromey <tromey@redhat.com>
819
820 * target-delegates.c: Rebuild.
821 * target.c (update_current_target): Don't inherit or default
822 to_set_trace_notes.
823 * target.h (struct target_ops) <to_set_trace_notes>: Use
824 TARGET_DEFAULT_RETURN.
825
826 2014-02-19 Tom Tromey <tromey@redhat.com>
827
828 * target-delegates.c: Rebuild.
829 * target.c (update_current_target): Don't initialize
830 to_set_trace_buffer_size.
831 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
832 TARGET_DEFAULT_IGNORE.
833
834 2014-02-19 Tom Tromey <tromey@redhat.com>
835
836 * target-delegates.c: Rebuild.
837 * target.c (update_current_target): Don't inherit or default
838 to_set_circular_trace_buffer.
839 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
840 TARGET_DEFAULT_IGNORE.
841
842 2014-02-19 Tom Tromey <tromey@redhat.com>
843
844 * target-delegates.c: Rebuild.
845 * target.c (update_current_target): Don't inherit or default
846 to_set_disconnected_tracing.
847 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
848 TARGET_DEFAULT_IGNORE.
849
850 2014-02-19 Tom Tromey <tromey@redhat.com>
851
852 * target-delegates.c: Rebuild.
853 * target.c (update_current_target): Don't inherit or default
854 to_get_min_fast_tracepoint_insn_len.
855 (return_minus_one): Remove.
856 * target.h (struct target_ops)
857 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
858
859 2014-02-19 Tom Tromey <tromey@redhat.com>
860
861 * target-delegates.c: Rebuild.
862 * target.c (update_current_target): Don't inherit or default
863 to_get_raw_trace_data.
864 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
865 TARGET_DEFAULT_NORETURN.
866
867 2014-02-19 Tom Tromey <tromey@redhat.com>
868
869 * target-delegates.c: Rebuild.
870 * target.c (update_current_target): Don't inherit or default
871 to_upload_trace_state_variables.
872 * target.h (struct target_ops) <to_upload_trace_state_variables>:
873 Use TARGET_DEFAULT_RETURN.
874
875 2014-02-19 Tom Tromey <tromey@redhat.com>
876
877 * target-delegates.c: Rebuild.
878 * target.c (update_current_target): Don't inherit or default
879 to_upload_tracepoints.
880 * target.h (struct target_ops) <to_upload_tracepoints>: Use
881 TARGET_DEFAULT_RETURN.
882
883 2014-02-19 Tom Tromey <tromey@redhat.com>
884
885 * target-delegates.c: Rebuild.
886 * target.c (update_current_target): Don't inherit or default
887 to_save_trace_data.
888 * target.h (struct target_ops) <to_save_trace_data>: Use
889 TARGET_DEFAULT_NORETURN.
890
891 2014-02-19 Tom Tromey <tromey@redhat.com>
892
893 * target-delegates.c: Rebuild.
894 * target.c (update_current_target): Don't inherit or default
895 to_get_trace_state_variable_value.
896 * target.h (struct target_ops)
897 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
898
899 2014-02-19 Tom Tromey <tromey@redhat.com>
900
901 * target-delegates.c: Rebuild.
902 * target.c (update_current_target): Don't inherit or default
903 to_trace_find.
904 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
905
906 2014-02-19 Tom Tromey <tromey@redhat.com>
907
908 * target-delegates.c: Rebuild.
909 * target.c (update_current_target): Don't inherit or default
910 to_trace_stop.
911 * target.h (struct target_ops) <to_trace_stop>: Use
912 TARGET_DEFAULT_NORETURN.
913
914 2014-02-19 Tom Tromey <tromey@redhat.com>
915
916 * target-delegates.c: Rebuild.
917 * target.c (update_current_target): Don't inherit or default
918 to_get_tracepoint_status.
919 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
920 TARGET_DEFAULT_NORETURN.
921
922 2014-02-19 Tom Tromey <tromey@redhat.com>
923
924 * target-delegates.c: Rebuild.
925 * target.c (update_current_target): Don't inherit or default
926 to_get_trace_status.
927 * target.h (struct target_ops) <to_get_trace_status>: Use
928 TARGET_DEFAULT_RETURN.
929
930 2014-02-19 Tom Tromey <tromey@redhat.com>
931
932 * target-delegates.c: Rebuild.
933 * target.c (update_current_target): Don't inherit or default
934 to_trace_start.
935 * target.h (struct target_ops) <to_trace_start>: Use
936 TARGET_DEFAULT_NORETURN.
937
938 2014-02-19 Tom Tromey <tromey@redhat.com>
939
940 * target-delegates.c: Rebuild.
941 * target.c (update_current_target): Don't inherit or default
942 to_trace_set_readonly_regions.
943 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
944 Use TARGET_DEFAULT_NORETURN.
945
946 2014-02-19 Tom Tromey <tromey@redhat.com>
947
948 * target-delegates.c: Rebuild.
949 * target.c (update_current_target): Don't inherit or default
950 to_disable_tracepoint.
951 * target.h (struct target_ops) <to_disable_tracepoint>: Use
952 TARGET_DEFAULT_NORETURN.
953
954 2014-02-19 Tom Tromey <tromey@redhat.com>
955
956 * target-delegates.c: Rebuild.
957 * target.c (update_current_target): Don't inherit or default
958 to_enable_tracepoint.
959 * target.h (struct target_ops) <to_enable_tracepoint>: Use
960 TARGET_DEFAULT_NORETURN.
961
962 2014-02-19 Tom Tromey <tromey@redhat.com>
963
964 * target-delegates.c: Rebuild.
965 * target.c (update_current_target): Don't inherit or default
966 to_download_trace_state_variable.
967 * target.h (struct target_ops) <to_download_trace_state_variable>:
968 Use TARGET_DEFAULT_NORETURN.
969
970 2014-02-19 Tom Tromey <tromey@redhat.com>
971
972 * target-delegates.c: Rebuild.
973 * target.c (update_current_target): Don't inherit or default
974 to_can_download_tracepoint.
975 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
976 TARGET_DEFAULT_RETURN.
977
978 2014-02-19 Tom Tromey <tromey@redhat.com>
979
980 * target-delegates.c: Rebuild.
981 * target.c (update_current_target): Don't inherit or default
982 to_download_tracepoint.
983 * target.h (struct target_ops) <to_download_tracepoint>: Use
984 TARGET_DEFAULT_NORETURN.
985
986 2014-02-19 Tom Tromey <tromey@redhat.com>
987
988 * target-delegates.c: Rebuild.
989 * target.c (update_current_target): Don't inherit or default
990 to_trace_init.
991 * target.h (struct target_ops) <to_trace_init>: Use
992 TARGET_DEFAULT_RETURN.
993
994 2014-02-19 Tom Tromey <tromey@redhat.com>
995
996 * target-delegates.c: Rebuild.
997 * target.c (update_current_target): Don't inherit or default
998 to_supports_string_tracing.
999 * target.h (struct target_ops) <to_supports_string_tracing>: Use
1000 TARGET_DEFAULT_RETURN.
1001
1002 2014-02-19 Tom Tromey <tromey@redhat.com>
1003
1004 * target-delegates.c: Rebuild.
1005 * target.c (update_current_target): Don't inherit or default
1006 to_supports_enable_disable_tracepoint.
1007 * target.h (struct target_ops)
1008 <to_supports_enable_disable_tracepoint>: Use
1009 TARGET_DEFAULT_RETURN.
1010
1011 2014-02-19 Tom Tromey <tromey@redhat.com>
1012
1013 * target-delegates.c: Rebuild.
1014 * target.c (update_current_target): Don't inherit or default
1015 to_supports_multi_process.
1016 * target.h (struct target_ops) <to_supports_multi_process>: Use
1017 TARGET_DEFAULT_RETURN.
1018
1019 2014-02-19 Tom Tromey <tromey@redhat.com>
1020
1021 * target-delegates.c: Rebuild.
1022 * target.c (update_current_target): Don't inherit or default
1023 to_get_ada_task_ptid.
1024 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1025 TARGET_DEFAULT_FUNC.
1026
1027 2014-02-19 Tom Tromey <tromey@redhat.com>
1028
1029 * target-delegates.c: Rebuild.
1030 * target.c (update_current_target): Don't inherit or default
1031 to_thread_architecture.
1032 * target.h (struct target_ops) <to_thread_architecture>: Use
1033 TARGET_DEFAULT_FUNC.
1034
1035 2014-02-19 Tom Tromey <tromey@redhat.com>
1036
1037 * target-delegates.c: Rebuild.
1038 * target.c (update_current_target): Don't inherit or default
1039 to_execution_direction.
1040 * target.h (struct target_ops) <to_execution_direction>: Use
1041 TARGET_DEFAULT_FUNC.
1042
1043 2014-02-19 Tom Tromey <tromey@redhat.com>
1044
1045 * target-delegates.c: Rebuild.
1046 * target.c (update_current_target): Don't inherit or default
1047 to_can_execute_reverse.
1048 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1049 TARGET_DEFAULT_RETURN.
1050 (target_can_execute_reverse): Unconditionally delegate.
1051
1052 2014-02-19 Tom Tromey <tromey@redhat.com>
1053
1054 * target-delegates.c: Rebuild.
1055 * target.c (update_current_target): Don't inherit or default
1056 to_goto_bookmark.
1057 (dummy_goto_bookmark): Remove.
1058 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1059 * target.h (struct target_ops) <to_goto_bookmark>: Use
1060 TARGET_DEFAULT_NORETURN.
1061
1062 2014-02-19 Tom Tromey <tromey@redhat.com>
1063
1064 * target-delegates.c: Rebuild.
1065 * target.c (update_current_target): Don't inherit or default
1066 to_get_bookmark.
1067 (dummy_get_bookmark): Remove.
1068 (init_dummy_target): Don't inherit or default to_get_bookmark.
1069 * target.h (struct target_ops) <to_get_bookmark>: Use
1070 TARGET_DEFAULT_NORETURN
1071
1072 2014-02-19 Tom Tromey <tromey@redhat.com>
1073
1074 * target-delegates.c: Rebuild.
1075 * target.c (update_current_target): Don't inherit or default
1076 to_make_corefile_notes.
1077 (init_dummy_target): Don't initialize to_make_corefile_notes.
1078 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1079 TARGET_DEFAULT_FUNC.
1080
1081 2014-02-19 Tom Tromey <tromey@redhat.com>
1082
1083 * target-delegates.c: Rebuild.
1084 * target.c (update_current_target): Don't inherit or default
1085 to_find_memory_regions.
1086 (init_dummy_target): Don't initialize to_find_memory_regions.
1087 * target.h (struct target_ops) <to_find_memory_regions>: Use
1088 TARGET_DEFAULT_FUNC.
1089
1090 2014-02-19 Tom Tromey <tromey@redhat.com>
1091
1092 * target-delegates.c: Rebuild.
1093 * target.c (update_current_target): Don't inherit or default
1094 to_log_command.
1095 * target.h (struct target_ops) <to_log_command>: Use
1096 TARGET_DEFAULT_IGNORE.
1097 (target_log_command): Unconditionally delegate.
1098
1099 2014-02-19 Tom Tromey <tromey@redhat.com>
1100
1101 * target-delegates.c: Rebuild.
1102 * target.c (update_current_target): Don't inherit or default
1103 to_pid_to_exec_file.
1104 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1105 TARGET_DEFAULT_RETURN.
1106
1107 2014-02-19 Tom Tromey <tromey@redhat.com>
1108
1109 * target-delegates.c: Rebuild.
1110 * target.c (update_current_target): Don't inherit or default
1111 to_thread_name.
1112 (target_thread_name): Unconditionally delegate.
1113 * target.h (struct target_ops) <to_thread_name>: Use
1114 TARGET_DEFAULT_RETURN.
1115
1116 2014-02-19 Tom Tromey <tromey@redhat.com>
1117
1118 * target-delegates.c: Rebuild.
1119 * target.c (update_current_target): Don't inherit or default
1120 to_extra_thread_info.
1121 * target.h (struct target_ops) <to_extra_thread_info>: Use
1122 TARGET_DEFAULT_RETURN.
1123
1124 2014-02-19 Tom Tromey <tromey@redhat.com>
1125
1126 * target-delegates.c: Rebuild.
1127 * target.c (update_current_target): Don't inherit or default
1128 to_has_exited.
1129 * target.h (struct target_ops) <to_has_exited>: Use
1130 TARGET_DEFAULT_RETURN..
1131
1132 2014-02-19 Tom Tromey <tromey@redhat.com>
1133
1134 * target-delegates.c: Rebuild.
1135 * target.c (update_current_target): Don't inherit or default
1136 to_set_syscall_catchpoint.
1137 (return_one): Remove.
1138 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1139 TARGET_DEFAULT_RETURN.
1140
1141 2014-02-19 Tom Tromey <tromey@redhat.com>
1142
1143 * target-delegates.c: Rebuild.
1144 * target.c (update_current_target): Don't inherit or default
1145 to_insert_exec_catchpoint.
1146 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1147 TARGET_DEFAULT_RETURN.
1148
1149 2014-01-08 Tom Tromey <tromey@redhat.com>
1150
1151 * target-delegates.c: Rebuild.
1152 * target.c (update_current_target): Don't inherit or default
1153 to_insert_exec_catchpoint.
1154 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1155 TARGET_DEFAULT_RETURN.
1156
1157 2014-02-19 Tom Tromey <tromey@redhat.com>
1158
1159 * target-delegates.c: Rebuild.
1160 * target.c (update_current_target): Don't inherit or default
1161 to_remove_vfork_catchpoint.
1162 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1163 TARGET_DEFAULT_RETURN.
1164
1165 2014-02-19 Tom Tromey <tromey@redhat.com>
1166
1167 * target-delegates.c: Rebuild.
1168 * target.c (update_current_target): Don't inherit or default
1169 to_insert_vfork_catchpoint.
1170 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1171 TARGET_DEFAULT_RETURN.
1172
1173 2014-02-19 Tom Tromey <tromey@redhat.com>
1174
1175 * target-delegates.c: Rebuild.
1176 * target.c (update_current_target): Don't inherit or default
1177 to_remove_fork_catchpoint.
1178 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1179 TARGET_DEFAULT_RETURN.
1180
1181 2014-02-19 Tom Tromey <tromey@redhat.com>
1182
1183 * target-delegates.c: Rebuild.
1184 * target.c (update_current_target): Don't inherit or default
1185 to_insert_fork_catchpoint.
1186 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1187 TARGET_DEFAULT_RETURN.
1188
1189 2014-02-19 Tom Tromey <tromey@redhat.com>
1190
1191 * target-delegates.c: Rebuild.
1192 * target.c (update_current_target): Don't inherit or default
1193 to_post_startup_inferior.
1194 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1195 TARGET_DEFAULT_IGNORE.
1196
1197 2014-02-19 Tom Tromey <tromey@redhat.com>
1198
1199 * target-delegates.c: Rebuild.
1200 * target.c (update_current_target): Don't inherit or default
1201 to_load.
1202 * target.h (struct target_ops) <to_load>: Use
1203 TARGET_DEFAULT_NORETURN.
1204
1205 2014-02-19 Tom Tromey <tromey@redhat.com>
1206
1207 * target-delegates.c: Rebuild.
1208 * target.c (update_current_target): Don't inherit or default
1209 to_terminal_info.
1210 * target.h (struct target_ops) <to_terminal_info>: Use
1211 TARGET_DEFAULT_FUNC.
1212
1213 2014-02-19 Tom Tromey <tromey@redhat.com>
1214
1215 * target-delegates.c: Rebuild.
1216 * target.c (update_current_target): Don't inherit or default
1217 to_terminal_save_ours.
1218 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1219 TARGET_DEFAULT_IGNORE.
1220
1221 2014-02-19 Tom Tromey <tromey@redhat.com>
1222
1223 * target-delegates.c: Rebuild.
1224 * target.c (update_current_target): Don't inherit or default
1225 to_terminal_ours.
1226 * target.h (struct target_ops) <to_terminal_ours>: Use
1227 TARGET_DEFAULT_IGNORE.
1228
1229 2014-02-19 Tom Tromey <tromey@redhat.com>
1230
1231 * target-delegates.c: Rebuild.
1232 * target.c (update_current_target): Don't inherit or default
1233 to_terminal_ours_for_output.
1234 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1235 TARGET_DEFAULT_IGNORE.
1236
1237 2014-02-19 Tom Tromey <tromey@redhat.com>
1238
1239 * target-delegates.c: Rebuild.
1240 * target.c (update_current_target): Don't inherit or default
1241 to_terminal_inferior.
1242 * target.h (struct target_ops) <to_terminal_inferior>: Use
1243 TARGET_DEFAULT_IGNORE.
1244
1245 2014-02-19 Tom Tromey <tromey@redhat.com>
1246
1247 * target-delegates.c: Rebuild.
1248 * target.c (update_current_target): Don't inherit or default
1249 to_terminal_init.
1250 * target.h (struct target_ops) <to_terminal_init>: Use
1251 TARGET_DEFAULT_IGNORE.
1252
1253 2014-02-19 Tom Tromey <tromey@redhat.com>
1254
1255 * target-delegates.c: Rebuild.
1256 * target.c (update_current_target): Don't inherit or default
1257 to_can_accel_watchpoint_condition.
1258 * target.h (struct target_ops)
1259 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1260
1261 2014-02-19 Tom Tromey <tromey@redhat.com>
1262
1263 * target-delegates.c: Rebuild.
1264 * target.c (update_current_target): Don't inherit or default
1265 to_region_ok_for_hw_watchpoint.
1266 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1267 Use TARGET_DEFAULT_FUNC.
1268
1269 2014-02-19 Tom Tromey <tromey@redhat.com>
1270
1271 * target-delegates.c: Rebuild.
1272 * target.c (update_current_target): Don't inherit or default
1273 to_watchpoint_addr_within_range.
1274 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1275 Use TARGET_DEFAULT_FUNC.
1276
1277 2014-02-19 Tom Tromey <tromey@redhat.com>
1278
1279 * target-delegates.c: Rebuild.
1280 * target.c (update_current_target): Don't inherit or default
1281 to_remove_watchpoint.
1282 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1283 TARGET_DEFAULT_NORETURN.
1284
1285 2014-02-19 Tom Tromey <tromey@redhat.com>
1286
1287 * target-delegates.c: Rebuild.
1288 * target.c (update_current_target): Don't inherit or default
1289 to_insert_watchpoint.
1290 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1291 TARGET_DEFAULT_RETURN.
1292
1293 2014-02-19 Tom Tromey <tromey@redhat.com>
1294
1295 * target-delegates.c: Rebuild.
1296 * target.c (update_current_target): Don't inherit or default
1297 to_remove_hw_breakpoint.
1298 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1299 TARGET_DEFAULT_RETURN.
1300
1301 2014-02-19 Tom Tromey <tromey@redhat.com>
1302
1303 * target-delegates.c: Rebuild.
1304 * target.c (update_current_target): Don't inherit or default
1305 to_insert_hw_breakpoint.
1306 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1307 TARGET_DEFAULT_RETURN.
1308
1309 2014-02-19 Tom Tromey <tromey@redhat.com>
1310
1311 * target-delegates.c: Rebuild.
1312 * target.c (update_current_target): Don't inherit or default
1313 to_can_use_hw_breakpoint.
1314 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1315 TARGET_DEFAULT_RETURN.
1316
1317 2014-02-19 Tom Tromey <tromey@redhat.com>
1318
1319 * target-delegates.c: Rebuild.
1320 * target.c (update_current_target): Don't inherit or default
1321 to_files_info.
1322 * target.h (struct target_ops) <to_files_info>: Use
1323 TARGET_DEFAULT_IGNORE.
1324
1325 2014-02-19 Tom Tromey <tromey@redhat.com>
1326
1327 * target-delegates.c: Rebuild.
1328 * target.c (update_current_target): Don't inherit or default
1329 to_store.
1330 * target.h (struct target_ops) <to_store>: Use
1331 TARGET_DEFAULT_NORETURN.
1332
1333 2014-02-19 Tom Tromey <tromey@redhat.com>
1334
1335 * target-delegates.c: Rebuild.
1336 * target.c (update_current_target): Don't inherit or default
1337 to_post_attach.
1338 * target.h (struct target_ops) <to_post_attach>: Use
1339 TARGET_DEFAULT_IGNORE.
1340
1341 2014-02-19 Tom Tromey <tromey@redhat.com>
1342
1343 * target-delegates.c: Rebuild.
1344 * target.c (update_current_target): Don't inherit or default
1345 to_rcmd.
1346 (default_rcmd): New function.
1347 (do_monitor_command): Unconditionally delegate.
1348 * target.h (struct target_ops) <to_rmcd>: Use
1349 TARGET_DEFAULT_FUNC.
1350
1351 2014-02-19 Tom Tromey <tromey@redhat.com>
1352
1353 * target-delegates.c: Rebuild.
1354 * target.c (init_dummy_target): Don't initialize to_attach.
1355 (target_attach): Unconditionally delegate.
1356 * target.h (struct target_ops) <to_attach>: Use
1357 TARGET_DEFAULT_FUNC.
1358
1359 2014-02-19 Tom Tromey <tromey@redhat.com>
1360
1361 * target-delegates.c: Rebuild.
1362 * target.c (target_detach): Unconditionally delegate.
1363 (init_dummy_target): Don't initialize to_detach.
1364 * target.h (struct target_ops) <to_detach>: Use
1365 TARGET_DEFAULT_IGNORE.
1366
1367 2014-02-19 Tom Tromey <tromey@redhat.com>
1368
1369 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1370 Add argument.
1371 (target_augmented_libraries_svr4_read): Add argument.
1372 * target.c (update_current_target): Update.
1373 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1374 argument.
1375
1376 2014-02-19 Tom Tromey <tromey@redhat.com>
1377
1378 * target.h (struct target_ops) <to_call_history_range>: Add
1379 argument.
1380 * target.c (target_call_history_range): Add argument.
1381 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1382 argument.
1383 (record_btrace_call_history_from): Update.
1384
1385 2014-02-19 Tom Tromey <tromey@redhat.com>
1386
1387 * target.h (struct target_ops) <to_call_history_from>: Add
1388 argument.
1389 * target.c (target_call_history_from): Add argument.
1390 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1391 argument.
1392
1393 2014-02-19 Tom Tromey <tromey@redhat.com>
1394
1395 * target.h (struct target_ops) <to_call_history>: Add argument.
1396 * target.c (target_call_history): Add argument.
1397 * record-btrace.c (record_btrace_call_history): Add 'self'
1398 argument.
1399
1400 2014-02-19 Tom Tromey <tromey@redhat.com>
1401
1402 * target.h (struct target_ops) <to_insn_history_range>: Add
1403 argument.
1404 * target.c (target_insn_history_range): Add argument.
1405 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1406 argument.
1407 (record_btrace_insn_history_from): Update.
1408
1409 2014-02-19 Tom Tromey <tromey@redhat.com>
1410
1411 * target.h (struct target_ops) <to_insn_history_from>: Add
1412 argument.
1413 * target.c (target_insn_history_from): Add argument.
1414 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1415 argument.
1416
1417 2014-02-19 Tom Tromey <tromey@redhat.com>
1418
1419 * target.h (struct target_ops) <to_insn_history>: Add argument.
1420 * target.c (target_insn_history): Add argument.
1421 * record-btrace.c (record_btrace_insn_history): Add 'self'
1422 argument.
1423
1424 2014-02-19 Tom Tromey <tromey@redhat.com>
1425
1426 * target.h (struct target_ops) <to_goto_record>: Add argument.
1427 * target.c (target_goto_record): Add argument.
1428 * record-full.c (record_full_goto): Add 'self' argument.
1429 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1430
1431 2014-02-19 Tom Tromey <tromey@redhat.com>
1432
1433 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1434 * target.c (target_goto_record_end): Add argument.
1435 * record-full.c (record_full_goto_end): Add 'self' argument.
1436 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1437
1438 2014-02-19 Tom Tromey <tromey@redhat.com>
1439
1440 * target.h (struct target_ops) <to_goto_record_begin>: Add
1441 argument.
1442 * target.c (target_goto_record_begin): Add argument.
1443 * record-full.c (record_full_goto_begin): Add 'self' argument.
1444 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1445 argument.
1446
1447 2014-02-19 Tom Tromey <tromey@redhat.com>
1448
1449 * target.h (struct target_ops) <to_record_is_replaying>: Add
1450 argument.
1451 * target.c (target_record_is_replaying): Add argument.
1452 * record-full.c (record_full_is_replaying): Add 'self' argument.
1453 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1454 argument.
1455 (record_btrace_xfer_partial, record_btrace_store_registers)
1456 (record_btrace_prepare_to_store, record_btrace_resume)
1457 (record_btrace_wait, record_btrace_decr_pc_after_break)
1458 (record_btrace_find_new_threads, record_btrace_thread_alive):
1459 Update.
1460
1461 2014-02-19 Tom Tromey <tromey@redhat.com>
1462
1463 * target.h (struct target_ops) <to_delete_record>: Add argument.
1464 * target.c (target_delete_record): Add argument.
1465 * record-full.c (record_full_delete): Add 'self' argument.
1466
1467 2014-02-19 Tom Tromey <tromey@redhat.com>
1468
1469 * target.h (struct target_ops) <to_save_record>: Add argument.
1470 * target.c (target_save_record): Add argument.
1471 * record-full.c (record_full_save): Add 'self' argument.
1472 (record_full_save): Add 'self' argument.
1473
1474 2014-02-19 Tom Tromey <tromey@redhat.com>
1475
1476 * target.h (struct target_ops) <to_info_record>: Add argument.
1477 * target.c (target_info_record): Add argument.
1478 * record.c (info_record_command): Add argument.
1479 * record-full.c (record_full_info): Add 'self' argument.
1480 * record-btrace.c (record_btrace_info): Add 'self' argument.
1481
1482 2014-02-19 Tom Tromey <tromey@redhat.com>
1483
1484 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1485 * target.c (target_stop_recording): Add argument.
1486 * record.c (record_stop): Add argument.
1487 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1488 argument.
1489
1490 2014-02-19 Tom Tromey <tromey@redhat.com>
1491
1492 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1493 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1494 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1495 argument.
1496 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1497 (_initialize_amd64_linux_nat): Use it.
1498 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1499 (_initialize_i386_linux_nat): Use it.
1500
1501 2014-02-19 Tom Tromey <tromey@redhat.com>
1502
1503 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1504 * target.c (target_teardown_btrace): Add argument.
1505 * remote.c (remote_teardown_btrace): Add 'self' argument.
1506 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1507 argument.
1508 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1509 argument.
1510
1511 2014-02-19 Tom Tromey <tromey@redhat.com>
1512
1513 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1514 * target.c (target_disable_btrace): Add argument.
1515 * remote.c (remote_disable_btrace): Add 'self' argument.
1516 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1517 argument.
1518 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1519 argument.
1520
1521 2014-02-19 Tom Tromey <tromey@redhat.com>
1522
1523 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1524 * target.c (target_enable_btrace): Add argument.
1525 * remote.c (remote_enable_btrace): Add 'self' argument.
1526 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1527 argument.
1528 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1529 argument.
1530
1531 2014-02-19 Tom Tromey <tromey@redhat.com>
1532
1533 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1534 (target_can_use_agent): Add argument.
1535 * target.c (update_current_target): Update.
1536 * remote.c (remote_can_use_agent): Add 'self' argument.
1537 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1538
1539 2014-02-19 Tom Tromey <tromey@redhat.com>
1540
1541 * target.h (struct target_ops) <to_use_agent>: Add argument.
1542 (target_use_agent): Add argument.
1543 * target.c (update_current_target): Update.
1544 * remote.c (remote_use_agent): Add 'self' argument.
1545 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1546
1547 2014-02-19 Tom Tromey <tromey@redhat.com>
1548
1549 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1550 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1551 (target_traceframe_info): Add argument.
1552 * target.c (update_current_target): Update.
1553 * remote.c (remote_traceframe_info): Add 'self' argument.
1554 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1555
1556 2014-02-19 Tom Tromey <tromey@redhat.com>
1557
1558 * target.h (target_static_tracepoint_markers_by_strid): Add
1559 argument.
1560 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1561 'self' argument.
1562 * target.c (update_current_target): Update.
1563 * remote.c (struct target_ops)
1564 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1565 * linux-nat.c (struct target_ops)
1566 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1567
1568 2014-02-19 Tom Tromey <tromey@redhat.com>
1569
1570 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1571 Add argument.
1572 (target_static_tracepoint_marker_at): Add argument.
1573 * target.c (update_current_target): Update.
1574 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1575 argument.
1576
1577 2014-02-19 Tom Tromey <tromey@redhat.com>
1578
1579 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1580 (target_set_permissions): Add argument.
1581 * target.c (update_current_target): Update.
1582 * remote.c (remote_set_permissions): Add 'self' argument.
1583 (remote_start_remote): Update.
1584
1585 2014-02-19 Tom Tromey <tromey@redhat.com>
1586
1587 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1588 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1589 (target_get_tib_address): Add argument.
1590 * target.c (update_current_target): Update.
1591 * remote.c (remote_get_tib_address): Add 'self' argument.
1592
1593 2014-02-19 Tom Tromey <tromey@redhat.com>
1594
1595 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1596 (target_set_trace_notes): Add argument.
1597 * target.c (update_current_target): Update.
1598 * remote.c (remote_set_trace_notes): Add 'self' argument.
1599
1600 2014-02-19 Tom Tromey <tromey@redhat.com>
1601
1602 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1603 argument.
1604 (target_set_trace_buffer_size): Add argument.
1605 * target.c (update_current_target): Update.
1606 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1607
1608 2014-02-19 Tom Tromey <tromey@redhat.com>
1609
1610 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1611 argument.
1612 (target_set_circular_trace_buffer): Add argument.
1613 * target.c (update_current_target): Update.
1614 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1615 argument.
1616
1617 2014-02-19 Tom Tromey <tromey@redhat.com>
1618
1619 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1620 argument.
1621 (target_set_disconnected_tracing): Add argument.
1622 * target.c (update_current_target): Update.
1623 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1624
1625 2014-02-19 Tom Tromey <tromey@redhat.com>
1626
1627 * target.h (struct target_ops)
1628 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1629 (target_get_min_fast_tracepoint_insn_len): Add argument.
1630 * target.c (update_current_target): Update.
1631 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1632 argument.
1633
1634 2014-02-19 Tom Tromey <tromey@redhat.com>
1635
1636 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1637 argument.
1638 (target_get_raw_trace_data): Add argument.
1639 * target.c (update_current_target): Update.
1640 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1641
1642 2014-02-19 Tom Tromey <tromey@redhat.com>
1643
1644 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1645 Add argument.
1646 (target_upload_trace_state_variables): Add argument.
1647 * target.c (update_current_target): Update.
1648 * remote.c (remote_upload_trace_state_variables): Add 'self'
1649 argument.
1650 (remote_start_remote): Update.
1651
1652 2014-02-19 Tom Tromey <tromey@redhat.com>
1653
1654 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1655 argument.
1656 (target_upload_tracepoints): Add argument.
1657 * target.c (update_current_target): Update.
1658 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1659 (remote_start_remote): Update.
1660
1661 2014-02-19 Tom Tromey <tromey@redhat.com>
1662
1663 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1664 (target_save_trace_data): Add argument.
1665 * target.c (update_current_target): Update.
1666 * remote.c (remote_save_trace_data): Add 'self' argument.
1667
1668 2014-02-19 Tom Tromey <tromey@redhat.com>
1669
1670 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1671 argument.
1672 * target.h (struct target_ops)
1673 <to_get_trace_state_variable_value>: Add argument.
1674 (target_get_trace_state_variable_value): Add argument.
1675 * target.c (update_current_target): Update.
1676 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1677 argument.
1678 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1679
1680 2014-02-19 Tom Tromey <tromey@redhat.com>
1681
1682 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1683 * target.h (struct target_ops) <to_trace_find>: Add argument.
1684 (target_trace_find): Add argument.
1685 * target.c (update_current_target): Update.
1686 * remote.c (remote_trace_find): Add 'self' argument.
1687 * ctf.c (ctf_trace_find): Add 'self' argument.
1688
1689 2014-02-19 Tom Tromey <tromey@redhat.com>
1690
1691 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1692 (target_trace_stop): Add argument.
1693 * target.c (update_current_target): Update.
1694 * remote.c (remote_trace_stop): Add 'self' argument.
1695
1696 2014-02-19 Tom Tromey <tromey@redhat.com>
1697
1698 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1699 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1700 argument.
1701 (target_get_tracepoint_status): Add argument.
1702 * target.c (update_current_target): Update.
1703 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1704
1705 2014-02-19 Tom Tromey <tromey@redhat.com>
1706
1707 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1708 * target.h (struct target_ops) <to_get_trace_status>: Add
1709 argument.
1710 (target_get_trace_status): Add argument.
1711 * target.c (update_current_target): Update.
1712 * remote.c (remote_get_trace_status): Add 'self' argument.
1713 (remote_start_remote, remote_can_download_tracepoint): Update.
1714 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1715
1716 2014-02-19 Tom Tromey <tromey@redhat.com>
1717
1718 * target.h (struct target_ops) <to_trace_start>: Add argument.
1719 (target_trace_start): Add argument.
1720 * target.c (update_current_target): Update.
1721 * remote.c (remote_trace_start): Add 'self' argument.
1722
1723 2014-02-19 Tom Tromey <tromey@redhat.com>
1724
1725 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1726 Add argument.
1727 (target_trace_set_readonly_regions): Add argument.
1728 * target.c (update_current_target): Update.
1729 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1730 argument.
1731
1732 2014-02-19 Tom Tromey <tromey@redhat.com>
1733
1734 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1735 argument.
1736 (target_disable_tracepoint): Add argument.
1737 * target.c (update_current_target): Update.
1738 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1739
1740 2014-02-19 Tom Tromey <tromey@redhat.com>
1741
1742 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1743 argument.
1744 (target_enable_tracepoint): Add argument.
1745 * target.c (update_current_target): Update.
1746 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1747
1748 2014-02-19 Tom Tromey <tromey@redhat.com>
1749
1750 * target.h (struct target_ops) <to_download_trace_state_variable>:
1751 Add argument.
1752 (target_download_trace_state_variable): Add argument.
1753 * target.c (update_current_target): Update.
1754 * remote.c (remote_download_trace_state_variable): Add 'self'
1755 argument.
1756
1757 2014-02-19 Tom Tromey <tromey@redhat.com>
1758
1759 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1760 argument.
1761 (target_can_download_tracepoint): Add argument.
1762 * target.c (update_current_target): Update.
1763 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1764
1765 2014-02-19 Tom Tromey <tromey@redhat.com>
1766
1767 * target.h (struct target_ops) <to_download_tracepoint>: Add
1768 argument.
1769 (target_download_tracepoint): Add argument.
1770 * target.c (update_current_target): Update.
1771 * remote.c (remote_download_tracepoint): Add 'self' argument.
1772
1773 2014-02-19 Tom Tromey <tromey@redhat.com>
1774
1775 * target.h (struct target_ops) <to_trace_init>: Add argument.
1776 (target_trace_init): Add argument.
1777 * target.c (update_current_target): Update.
1778 * remote.c (remote_trace_init): Add 'self' argument.
1779
1780 2014-02-19 Tom Tromey <tromey@redhat.com>
1781
1782 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1783 * target.c (target_fileio_readlink): Add argument.
1784 * remote.c (remote_hostio_readlink): Add 'self' argument.
1785 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1786
1787 2014-02-19 Tom Tromey <tromey@redhat.com>
1788
1789 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1790 * target.c (target_fileio_unlink): Add argument.
1791 * remote.c (remote_hostio_unlink): Add 'self' argument.
1792 (remote_file_delete): Update.
1793 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1794
1795 2014-02-19 Tom Tromey <tromey@redhat.com>
1796
1797 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1798 * target.c (target_fileio_close): Add argument.
1799 * remote.c (remote_hostio_close): Add 'self' argument.
1800 (remote_hostio_close_cleanup): Update.
1801 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1802 Update.
1803 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1804
1805 2014-02-19 Tom Tromey <tromey@redhat.com>
1806
1807 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1808 * target.c (target_fileio_pread): Add argument.
1809 * remote.c (remote_hostio_pread): Add 'self' argument.
1810 (remote_bfd_iovec_pread, remote_file_get): Update.
1811 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1812
1813 2014-02-19 Tom Tromey <tromey@redhat.com>
1814
1815 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1816 * target.c (target_fileio_pwrite): Add argument.
1817 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1818 (remote_file_put): Update.
1819 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1820
1821 2014-02-19 Tom Tromey <tromey@redhat.com>
1822
1823 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1824 * target.c (target_fileio_open): Add argument.
1825 * remote.c (remote_hostio_open): Add 'self' argument.
1826 (remote_bfd_iovec_open): Add 'self' argument.
1827 (remote_file_put): Add 'self' argument.
1828 (remote_file_get): Add 'self' argument.
1829 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1830
1831 2014-02-19 Tom Tromey <tromey@redhat.com>
1832
1833 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1834 Add argument.
1835 (target_can_run_breakpoint_commands): Add argument.
1836 * target.c (update_current_target): Update.
1837 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1838 argument.
1839 (remote_insert_breakpoint): Add 'self' argument.
1840 (remote_insert_hw_breakpoint): Add 'self' argument.
1841 (remote_can_run_breakpoint_commands): Add 'self' argument.
1842
1843 2014-02-19 Tom Tromey <tromey@redhat.com>
1844
1845 * target.h (struct target_ops)
1846 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1847 (target_supports_evaluation_of_breakpoint_conditions): Add
1848 argument.
1849 * target.c (update_current_target): Update.
1850 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1851 argument.
1852 (remote_insert_breakpoint): Add 'self' argument.
1853 (remote_insert_hw_breakpoint): Add 'self' argument.
1854 (remote_supports_cond_breakpoints): Add 'self' argument.
1855
1856 2014-02-19 Tom Tromey <tromey@redhat.com>
1857
1858 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1859 argument.
1860 (target_supports_string_tracing): Add argument.
1861 * target.c (update_current_target): Update.
1862 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1863
1864 2014-02-19 Tom Tromey <tromey@redhat.com>
1865
1866 * target.h (struct target_ops)
1867 <to_supports_disable_randomization>: Add argument.
1868 * target.c (find_default_supports_disable_randomization): Add
1869 argument.
1870 (target_supports_disable_randomization): Add argument.
1871 (find_default_supports_disable_randomization): Add 'self'
1872 argument.
1873 * remote.c (extended_remote_supports_disable_randomization): Add
1874 'self' argument.
1875 (remote_supports_disable_randomization): Add 'self' argument.
1876 (extended_remote_create_inferior): Update.
1877 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1878 'self' argument.
1879
1880 2014-02-19 Tom Tromey <tromey@redhat.com>
1881
1882 * target.h (struct target_ops)
1883 <to_supports_enable_disable_tracepoint>: Add argument.
1884 (target_supports_enable_disable_tracepoint): Add argument.
1885 * target.c (update_current_target): Update.
1886 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1887 argument.
1888
1889 2014-02-19 Tom Tromey <tromey@redhat.com>
1890
1891 * target.h (struct target_ops) <to_supports_multi_process>: Add
1892 argument.
1893 (target_supports_multi_process): Add argument.
1894 * target.c (update_current_target): Update.
1895 * remote.c (remote_supports_multi_process): Add 'self' argument.
1896 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1897 argument.
1898 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1899 argument.
1900
1901 2014-02-19 Tom Tromey <tromey@redhat.com>
1902
1903 * target.h (struct target_ops) <to_execution_direction>: Add
1904 argument.
1905 (target_execution_direction): Add argument.
1906 * target.c (default_execution_direction): Add 'self' argument.
1907 * record-full.c (record_full_execution_direction): Add 'self'
1908 argument.
1909
1910 2014-02-19 Tom Tromey <tromey@redhat.com>
1911
1912 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1913 argument.
1914 (target_can_execute_reverse): Add argument.
1915 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1916 * record-full.c (record_full_can_execute_reverse): Add 'self'
1917 argument.
1918 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1919 argument.
1920
1921 2014-02-19 Tom Tromey <tromey@redhat.com>
1922
1923 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1924 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1925 argument.
1926 (target_get_ada_task_ptid): Add argument.
1927 * target.c (update_current_target): Update.
1928 (default_get_ada_task_ptid): Add 'self' argument.
1929 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1930 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1931 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1932 argument.
1933 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1934 argument.
1935 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1936 argument.
1937 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1938 argument.
1939 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1940 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1941 argument.
1942
1943 2014-02-19 Tom Tromey <tromey@redhat.com>
1944
1945 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1946 (target_goto_bookmark): Add argument.
1947 * target.c (dummy_goto_bookmark): Add 'self' argument.
1948 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1949
1950 2014-02-19 Tom Tromey <tromey@redhat.com>
1951
1952 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1953 (target_get_bookmark): Add argument.
1954 * target.c (dummy_get_bookmark): Add 'self' argument.
1955 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1956
1957 2014-02-19 Tom Tromey <tromey@redhat.com>
1958
1959 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1960 argument.
1961 (target_make_corefile_notes): Add argument.
1962 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1963 * procfs.c (procfs_make_note_section): Add 'self' argument.
1964 (procfs_make_note_section): Add 'self' argument.
1965 (procfs_make_note_section): Add 'self' argument.
1966 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1967 argument.
1968 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1969 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1970 * exec.c (exec_make_note_section): Add 'self' argument.
1971 (exec_make_note_section): Add 'self' argument.
1972
1973 2014-02-19 Tom Tromey <tromey@redhat.com>
1974
1975 * target.h (struct target_ops) <to_find_memory_regions>: Add
1976 argument.
1977 (target_find_memory_regions): Add argument.
1978 * target.c (dummy_find_memory_regions): Add 'self' argument.
1979 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1980 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1981 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1982 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1983 * exec. (exec_do_find_memory_regions): New global.
1984 (exec_set_find_memory_regions): Rewrite.
1985 (exec_find_memory_regions): New function.
1986 (init_exec_ops): Use exec_find_memory_regions.
1987
1988 2014-02-19 Tom Tromey <tromey@redhat.com>
1989
1990 * target.h (struct target_ops) <to_supports_non_stop>: Add
1991 argument.
1992 * target.c (find_default_supports_non_stop): Add argument.
1993 (target_supports_non_stop): Add argument.
1994 (find_default_supports_non_stop): Add 'self' argument.
1995 * remote.c (remote_supports_non_stop): Add 'self' argument.
1996 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1997
1998 2014-02-19 Tom Tromey <tromey@redhat.com>
1999
2000 * target.h (struct target_ops) <to_log_command>: Add argument.
2001 (target_log_command): Add argument.
2002 * serial.h (serial_log_command): Add 'self' argument.
2003 * serial.c (serial_log_command): Add 'self' argument.
2004
2005 2014-02-19 Tom Tromey <tromey@redhat.com>
2006
2007 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2008 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2009 argument.
2010 (target_pid_to_exec_file): Add argument.
2011 * target.c (debug_to_pid_to_exec_file): Add argument.
2012 (update_current_target): Update.
2013 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2014 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2015 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2016 (linux_handle_extended_wait): Update.
2017 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2018 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2019 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2020 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2021
2022 2014-02-19 Tom Tromey <tromey@redhat.com>
2023
2024 * target.h (struct target_ops) <to_rcmd>: Add argument.
2025 (target_rcmd): Add argument.
2026 * target.c (debug_to_rcmd): Add argument.
2027 (update_current_target, do_monitor_command): Update.
2028 * remote.c (remote_rcmd): Add 'self' argument.
2029 * monitor.c (monitor_rcmd): Add 'self' argument.
2030
2031 2014-02-19 Tom Tromey <tromey@redhat.com>
2032
2033 * windows-nat.c (windows_stop): Add 'self' argument.
2034 * target.h (struct target_ops) <to_stop>: Add argument.
2035 * target.c (target_stop): Add argument.
2036 (debug_to_stop): Add argument.
2037 (update_current_target): Update.
2038 * remote.c (remote_stop): Add 'self' argument.
2039 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2040 (gdbsim_cntrl_c): Update.
2041 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2042 * procfs.c (procfs_stop): Add 'self' argument.
2043 * nto-procfs.c (procfs_stop): Add 'self' argument.
2044 * monitor.c (monitor_stop): Add 'self' argument.
2045 (monitor_open): Update.
2046 * linux-nat.c (linux_nat_stop): Add argument.
2047 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2048 * gnu-nat.c (gnu_stop): Add 'self' argument.
2049 * darwin-nat.c (darwin_stop): Add 'self' argument.
2050
2051 2014-02-19 Tom Tromey <tromey@redhat.com>
2052
2053 * target.h (struct target_ops) <to_thread_name>: Add argument.
2054 * target.c (target_thread_name): Add argument.
2055 (update_current_target): Update.
2056 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2057
2058 2014-02-19 Tom Tromey <tromey@redhat.com>
2059
2060 * target.h (struct target_ops) <to_extra_thread_info>: Add
2061 argument.
2062 (target_extra_thread_info): Add argument.
2063 * target.c (update_current_target): Update.
2064 * remote.c (remote_threads_extra_info): Add 'self' argument.
2065 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2066 argument.
2067 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2068 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2069 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2070 argument.
2071 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2072 argument.
2073 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2074 argument.
2075 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2076 argument.
2077
2078 2014-02-19 Tom Tromey <tromey@redhat.com>
2079
2080 * target.h (struct target_ops) <to_program_signals>: Add argument.
2081 * target.c (target_program_signals): Add argument.
2082 * remote.c (remote_program_signals): Add 'self' argument.
2083
2084 2014-02-19 Tom Tromey <tromey@redhat.com>
2085
2086 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2087 * target.c (target_pass_signals): Add argument.
2088 * remote.c (remote_pass_signals): Add 'self' argument.
2089 (remote_start_remote): Update.
2090 * procfs.c (procfs_pass_signals): Add 'self' argument.
2091 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2092 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2093 (linux_nat_create_inferior, linux_nat_attach): Update.
2094
2095 2014-02-19 Tom Tromey <tromey@redhat.com>
2096
2097 * windows-nat.c (windows_can_run): Add 'self' argument.
2098 * target.h (struct target_ops) <to_can_run>: Add argument.
2099 (target_can_run): Add argument.
2100 * target.c (debug_to_can_run): Add argument.
2101 (update_current_target): Update.
2102 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2103 * inf-child.c (inf_child_can_run): Add 'self' argument.
2104 * go32-nat.c (go32_can_run): Add 'self' argument.
2105
2106 2014-02-19 Tom Tromey <tromey@redhat.com>
2107
2108 * target.h (struct target_ops) <to_has_exited>: Add argument.
2109 (target_has_exited): Add argument.
2110 * target.c (debug_to_has_exited): Add argument.
2111 (update_current_target): Update.
2112
2113 2014-02-19 Tom Tromey <tromey@redhat.com>
2114
2115 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2116 argument.
2117 (target_set_syscall_catchpoint): Add argument.
2118 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2119 argument.
2120 * target.c (update_current_target): Update.
2121
2122 2014-02-19 Tom Tromey <tromey@redhat.com>
2123
2124 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2125 argument.
2126 (target_remove_exec_catchpoint): Add argument.
2127 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2128 (update_current_target): Update.
2129 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2130 argument.
2131
2132 2014-02-19 Tom Tromey <tromey@redhat.com>
2133
2134 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2135 argument.
2136 (target_insert_exec_catchpoint): Add argument.
2137 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2138 (update_current_target): Update.
2139 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2140 argument.
2141
2142 2014-02-19 Tom Tromey <tromey@redhat.com>
2143
2144 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2145 argument.
2146 (target_remove_vfork_catchpoint): Add argument.
2147 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2148 (update_current_target): Update.
2149 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2150 argument.
2151
2152 2014-02-19 Tom Tromey <tromey@redhat.com>
2153
2154 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2155 argument.
2156 (target_insert_vfork_catchpoint): Add argument.
2157 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2158 (update_current_target): Update.
2159 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2160 argument.
2161
2162 2014-02-19 Tom Tromey <tromey@redhat.com>
2163
2164 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2165 argument.
2166 (target_remove_fork_catchpoint): Add argument.
2167 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2168 (update_current_target): Update.
2169 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2170 argument.
2171
2172 2014-02-19 Tom Tromey <tromey@redhat.com>
2173
2174 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2175 argument.
2176 (target_insert_fork_catchpoint): Add argument.
2177 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2178 (update_current_target): Update.
2179 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2180 argument.
2181
2182 2014-02-19 Tom Tromey <tromey@redhat.com>
2183
2184 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2185 argument.
2186 (target_post_startup_inferior): Add argument.
2187 * target.c (debug_to_post_startup_inferior): Add argument.
2188 (update_current_target): Update.
2189 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2190 argument.
2191 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2192 argument.
2193 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2194 argument.
2195 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2196 argument.
2197 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2198 'self' argument.
2199 (super_post_startup_inferior): Likewise.
2200 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2201 'self' argument.
2202 (super_post_startup_inferior): Likewise.
2203 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2204 Add 'self' argument.
2205 (super_post_startup_inferior): Likewise.
2206
2207 2014-02-19 Tom Tromey <tromey@redhat.com>
2208
2209 * target.h (struct target_ops) <to_load>: Add argument.
2210 * target.c (target_load): Add argument.
2211 (debug_to_load): Add argument.
2212 (update_current_target): Update.
2213 * remote.c (remote_load): Add 'self' argument.
2214 * remote-sim.c (gdbsim_load): Add 'self' argument.
2215 * remote-mips.c (mips_load): Add 'self' argument.
2216 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2217 * monitor.c (monitor_load): Add 'self' argument.
2218 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2219
2220 2014-02-19 Tom Tromey <tromey@redhat.com>
2221
2222 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2223 (target_terminal_info): Add argument.
2224 * target.c (debug_to_terminal_info): Add argument.
2225 (default_terminal_info): Likewise.
2226 * inflow.c (child_terminal_info): Add 'self' argument.
2227 * inferior.h (child_terminal_info): Add 'self' argument.
2228 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2229
2230 2014-02-19 Tom Tromey <tromey@redhat.com>
2231
2232 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2233 argument.
2234 (target_terminal_save_ours): Add argument.
2235 * target.c (debug_to_terminal_save_ours): Add argument.
2236 (update_current_target): Update.
2237 * inflow.c (terminal_save_ours): Add 'self' argument.
2238 * inferior.h (terminal_save_ours): Add 'self' argument.
2239
2240 2014-02-19 Tom Tromey <tromey@redhat.com>
2241
2242 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2243 (target_terminal_ours): Add argument.
2244 * target.c (debug_to_terminal_ours): Add argument.
2245 (update_current_target): Update.
2246 * remote.c (remote_terminal_ours): Add 'self' argument.
2247 (remote_close): Update.
2248 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2249 * inflow.c (terminal_ours): Add 'self' argument.
2250 * inferior.h (terminal_ours): Add 'self' argument.
2251 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2252
2253 2014-02-19 Pedro Alves <palves@redhat.com>
2254 Tom Tromey <tromey@redhat.com>
2255
2256 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2257 argument.
2258 (target_terminal_ours_for_output): Add argument.
2259 * target.c (debug_to_terminal_ours_for_output): Add argument.
2260 (update_current_target): Update.
2261 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2262 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2263 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2264
2265 2014-02-19 Tom Tromey <tromey@redhat.com>
2266
2267 * target.h (struct target_ops) <to_terminal_inferior>: Add
2268 argument.
2269 * target.c (target_terminal_inferior): Add argument.
2270 (update_current_target): Update.
2271 * remote.c (remote_terminal_inferior): Add 'self' argument.
2272 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2273 * inflow.c (terminal_inferior): Add 'self' argument.
2274 * inferior.h (terminal_inferior): Add 'self' argument.
2275 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2276 (go32_terminal_inferior): Add 'self' argument.
2277
2278 2014-02-19 Tom Tromey <tromey@redhat.com>
2279
2280 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2281 (target_terminal_init): Add argument.
2282 * target.c (debug_to_terminal_init): Add argument.
2283 (update_current_target): Update.
2284 * inflow.c (terminal_init_inferior): Add 'self' argument.
2285 * inferior.h (terminal_init_inferior): Add 'self' argument.
2286 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2287 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2288
2289 2014-02-19 Tom Tromey <tromey@redhat.com>
2290
2291 * target.h (struct target_ops)
2292 <to_can_accel_watchpoint_condition>: Add argument.
2293 (target_can_accel_watchpoint_condition): Add argument.
2294 * target.c (debug_to_can_accel_watchpoint_condition): Add
2295 argument.
2296 (update_current_target): Update.
2297 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2298 'self' argument.
2299
2300 2014-02-19 Tom Tromey <tromey@redhat.com>
2301
2302 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2303 Add argument.
2304 (target_region_ok_for_hw_watchpoint): Add argument.
2305 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2306 (default_region_ok_for_hw_watchpoint): Add argument.
2307 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2308 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2309 argument.
2310 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2311 argument.
2312 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2313 argument.
2314 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2315 'self' argument.
2316 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2317 'self' argument.
2318 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2319 'self' argument.
2320 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2321 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2322 'self' argument.
2323 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2324 Add 'self' argument.
2325
2326 2014-02-19 Tom Tromey <tromey@redhat.com>
2327
2328 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2329 argument.
2330 (target_insert_watchpoint): Add argument.
2331 * target.c (debug_to_insert_watchpoint): Add argument.
2332 (update_current_target): Update.
2333 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2334 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2335 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2336 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2337 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2338 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2339 argument.
2340 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2341 (procfs_insert_hw_watchpoint): Add 'self' argument.
2342 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2343 argument.
2344 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2345 argument.
2346 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2347 argument.
2348 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2349 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2350 argument.
2351 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2352 'self' argument.
2353
2354 2014-02-19 Tom Tromey <tromey@redhat.com>
2355
2356 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2357 argument.
2358 (target_remove_watchpoint): Add argument.
2359 * target.c (debug_to_remove_watchpoint): Add argument.
2360 (update_current_target): Update.
2361 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2362 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2363 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2364 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2365 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2366 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2367 argument.
2368 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2369 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2370 argument.
2371 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2372 argument.
2373 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2374 argument.
2375 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2376 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2377 argument.
2378 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2379 'self' argument.
2380
2381 2014-02-19 Tom Tromey <tromey@redhat.com>
2382
2383 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2384 argument.
2385 (target_remove_hw_breakpoint): Add argument.
2386 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2387 (update_current_target): Update.
2388 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2389 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2390 argument.
2391 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2392 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2393 argument.
2394 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2395 'self' argument.
2396
2397 2014-02-19 Tom Tromey <tromey@redhat.com>
2398
2399 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2400 argument.
2401 (target_insert_hw_breakpoint): Add argument.
2402 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2403 (update_current_target): Update.
2404 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2405 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2406 argument.
2407 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2408 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2409 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2410 argument.
2411 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2412 'self' argument.
2413
2414 2014-02-19 Tom Tromey <tromey@redhat.com>
2415
2416 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2417 argument.
2418 (target_can_use_hardware_watchpoint): Add argument.
2419 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2420 (update_current_target): Update.
2421 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2422 argument.
2423 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2424 argument.
2425 * remote.c (remote_check_watch_resources): Add 'self' argument.
2426 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2427 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2428 argument.
2429 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2430 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2431 argument.
2432 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2433 argument.
2434 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2435 argument.
2436 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2437 argument.
2438 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2439 argument.
2440 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2441 argument.
2442 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2443 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2444 argument.
2445 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2446 'self' argument.
2447
2448 2014-02-19 Tom Tromey <tromey@redhat.com>
2449
2450 * target.h (struct target_ops) <to_post_attach>: Add argument.
2451 (target_post_attach): Add argument.
2452 * target.c (debug_to_post_attach): Add argument.
2453 (update_current_target): Update.
2454 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2455 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2456 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2457 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2458 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2459
2460 2014-02-19 Tom Tromey <tromey@redhat.com>
2461
2462 * windows-nat.c (windows_close): Add 'self' argument.
2463 * tracepoint.c (tfile_close): Add 'self' argument.
2464 * target.h (struct target_ops) <to_close>: Add argument.
2465 * target.c (target_close): Add argument.
2466 (update_current_target): Update.
2467 * remote.c (remote_close): Add 'self' argument.
2468 * remote-sim.c (gdbsim_close): Add 'self' argument.
2469 * remote-mips.c (mips_close): Add 'self' argument.
2470 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2471 * record-full.c (record_full_close): Add 'self' argument.
2472 * record-btrace.c (record_btrace_close): Add 'self' argument.
2473 * monitor.h (monitor_close): Add 'self' argument.
2474 * monitor.c (monitor_close): Add 'self' argument.
2475 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2476 * linux-nat.c (linux_nat_close): Add argument.
2477 * go32-nat.c (go32_close): Add 'self' argument.
2478 * exec.c (exec_close_1): Add 'self' argument.
2479 * ctf.c (ctf_close): Add 'self' argument.
2480 * corelow.c (core_close): Add 'self' argument.
2481 (core_close_cleanup): Update.
2482 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2483 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2484
2485 2014-02-19 Tom Tromey <tromey@redhat.com>
2486
2487 * remote.c (remote_load): New function.
2488 (init_remote_ops): Use it.
2489
2490 2014-02-19 Tom Tromey <tromey@redhat.com>
2491
2492 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2493 argument.
2494 * common/linux-btrace.h (linux_supports_btrace): Update.
2495 * remote.c (remote_supports_btrace): Add "self" argument.
2496 * target-delegates.c: Rebuild.
2497 * target.c (target_supports_btrace): Remove.
2498 * target.h (struct target_ops) <to_supports_btrace>: Add
2499 target_ops argument.
2500 (target_supports_btrace): New define.
2501
2502 2014-02-19 Tom Tromey <tromey@redhat.com>
2503
2504 * record-full.c (record_full_beneath_to_resume_ops)
2505 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2506 (record_full_beneath_to_wait)
2507 (record_full_beneath_to_store_registers_ops)
2508 (record_full_beneath_to_store_registers)
2509 (record_full_beneath_to_xfer_partial_ops)
2510 (record_full_beneath_to_xfer_partial)
2511 (record_full_beneath_to_insert_breakpoint_ops)
2512 (record_full_beneath_to_insert_breakpoint)
2513 (record_full_beneath_to_remove_breakpoint_ops)
2514 (record_full_beneath_to_remove_breakpoint)
2515 (record_full_beneath_to_stopped_by_watchpoint)
2516 (record_full_beneath_to_stopped_data_address)
2517 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2518 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2519 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2520 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2521 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2522 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2523 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2524 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2525 (record_full_resume, record_full_wait_1)
2526 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2527 (record_full_store_registers, record_full_xfer_partial)
2528 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2529 (record_full_async, record_full_core_xfer_partial): Use target
2530 delegation.
2531 * target-delegates.c: Rebuild.
2532 * target.c (current_xfer_partial): Remove.
2533 (update_current_target): Do not INHERIT or de_fault
2534 to_insert_breakpoint, to_remove_breakpoint,
2535 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2536 to_is_async_p, to_async. Do not set to_xfer_partial field.
2537 (default_xfer_partial): Simplify.
2538 (current_xfer_partial): Remove.
2539 (target_wait, target_resume): Simplify.
2540 (find_default_can_async_p, find_default_is_async_p): Update.
2541 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2542 to_xfer_partial, to_stopped_by_watchpoint,
2543 to_stopped_data_address.
2544 (target_store_registers): Simplify.
2545 (forward_target_remove_breakpoint)
2546 (forward_target_insert_breakpoint): Remove.
2547 (target_remove_breakpoint, target_insert_breakpoint)
2548 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2549 * target.h (struct target_ops) <to_resume, to_wait,
2550 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2551 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2552 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2553 markup.
2554 (forward_target_remove_breakpoint)
2555 (forward_target_insert_breakpoint): Remove.
2556 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2557 directly.
2558 (record_btrace_insert_breakpoint): Delegate directly.
2559
2560 2014-02-19 Tom Tromey <tromey@redhat.com>
2561
2562 PR build/7701:
2563 * target-delegates.c: New file.
2564 * target.c: Include target-delegates.c.
2565 (init_dummy_target): Call install_dummy_methods.
2566 (complete_target_initialization): Call install_delegators.
2567 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2568 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2569 * make-target-delegates: New file.
2570
2571 2014-02-19 Tom Tromey <tromey@redhat.com>
2572
2573 * record.c (find_record_target): Use find_target_at.
2574 * target.c (find_target_at): New function.
2575 * target.h (find_target_at): Declare.
2576
2577 2014-02-19 Tom Tromey <tromey@redhat.com>
2578
2579 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2580 Add 'ops' argument.
2581 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2582 'ops' argument.
2583 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2584 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2585 'ops' argument.
2586 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2587 argument.
2588 * linux-nat.c (save_sigtrap): Update.
2589 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2590 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2591 (linux_nat_close): Update.
2592 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2593 argument.
2594 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2595 argument.
2596 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2597 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2598 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2599 (tmp_to_async): Add 'ops' argument.
2600 (record_full_stopped_by_watchpoint, record_full_async)
2601 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2602 argument.
2603 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2604 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2605 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2606 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2607 (remote_is_async_p, remote_async): Add 'ops' argument.
2608 (remote_stopped_data_address): Update.
2609 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2610 * target.c (update_current_target)
2611 (find_default_can_async_p, find_default_is_async_p): Update.
2612 (init_dummy_target): Update.
2613 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2614 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2615 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2616 (target_can_async_p, target_is_async_p, target_async)
2617 (target_stopped_by_watchpoint): Update.
2618
2619 2014-02-19 Yao Qi <yao@codesourcery.com>
2620
2621 PR gdb/16220
2622 * gdbarch.sh: Remove startup_gdbarch.
2623 * gdbarch.c: Regenerated.
2624 * gdbarch.h: Likewise.
2625
2626 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2627
2628 * rl78-tdep.c (rl78_g10_register_name): New function.
2629 (rl78_return_value): Add g10 support.
2630 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2631 g10.
2632
2633 2014-02-17 Doug Evans <xdje42@gmail.com>
2634
2635 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2636 (SUBDIR_GUILE_SRCS): Ditto.
2637 (scm-gsmob.o): Ditto.
2638
2639 2014-02-17 Yao Qi <yao@codesourcery.com>
2640
2641 * gnu-nat.c (ILL_RPC): Declare defined function.
2642
2643 2014-02-17 Yao Qi <yao@codesourcery.com>
2644
2645 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2646 mach_msg_type_number_t.
2647 (gnu_write_inferior): Likewise.
2648
2649 2014-02-17 Yao Qi <yao@codesourcery.com>
2650
2651 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2652 in format string.
2653 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2654 (inf_validate_procs, inf_signal): Likewise.
2655 (S_exception_raise_request): Likewise.
2656 (do_mach_notify_dead_name): Likewise.
2657 (steal_exc_port): Likewise.
2658 (gnu_read_inferior): Change 'copy_count''s type to
2659 mach_msg_type_number_t.
2660 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2661 format string.
2662
2663 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2664
2665 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2666 flag. Adjust all users; in particular...
2667 (gnu_wait): ..., don't decrement its value in here...
2668 (gnu_create_inferior): ..., and instead set the flag in here,
2669 around the startup_inferior call, and call that one with
2670 START_INFERIOR_TRAPS_EXPECTED.
2671
2672 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2673 (ILL_RPC): ... new macro.
2674 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2675 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2676 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2677 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2678 functions with ILL_RPC macro.
2679 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2680 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2681 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2682 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2683 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2684 (S_proc_getlogin_reply, S_proc_getsid_reply)
2685 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2686 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2687 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2688 (S_proc_getnports_reply, S_proc_is_important_reply)
2689 (S_proc_get_code_reply): New stub functions, generated with
2690 ILL_RPC macro.
2691
2692 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2693 collected the type check structures.
2694
2695 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2696
2697 2014-02-14 Doug Evans <dje@google.com>
2698
2699 * target.c (target_write_partial): Fix result type.
2700
2701 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2702
2703 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2704 the proper offsets to access fpregset_t.
2705
2706 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2707
2708 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2709 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2710 * h8300-tdep.c (setmachinelist): Remove global.
2711 * hppa-tdep.c (hppa_sigtramp): Remove global.
2712 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2713 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2714 * ravenscar-thread.c (update_target_observer): Remove global.
2715 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2716
2717 2014-02-12 Tom Tromey <tromey@redhat.com>
2718
2719 * common/rsp-low.c: Update comments.
2720 * common/rsp-low.h: Update comments.
2721
2722 2014-02-12 Tom Tromey <tromey@redhat.com>
2723
2724 * common/rsp-low.c (convert_ascii_to_int): Remove.
2725 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2726
2727 2014-02-12 Tom Tromey <tromey@redhat.com>
2728
2729 * common/rsp-low.h (unhexify): Don't declare.
2730 * common/rsp-low.c (unhexify): Remove.
2731
2732 2014-02-12 Tom Tromey <tromey@redhat.com>
2733
2734 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2735 * common/rsp-low.c (convert_int_to_ascii): Remove.
2736
2737 2014-02-12 Tom Tromey <tromey@redhat.com>
2738
2739 * common/rsp-low.h (hexify): Don't declare.
2740 * common/rsp-low.c (hexify): Remove.
2741
2742 2014-02-12 Tom Tromey <tromey@redhat.com>
2743
2744 * common/rsp-low.c (hexify): Never take strlen of argument.
2745
2746 2014-02-12 Tom Tromey <tromey@redhat.com>
2747
2748 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2749 * remote.c (extended_remote_run, remote_rcmd)
2750 (remote_download_trace_state_variable, remote_save_trace_data)
2751 (remote_set_trace_notes): Update.
2752 * tracepoint.c (encode_source_string, tfile_write_status)
2753 (tfile_write_uploaded_tsv): Update.
2754
2755 2014-02-12 Tom Tromey <tromey@redhat.com>
2756
2757 * tracepoint.c: Include rsp-low.h.
2758 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2759 * remote.c: Include rsp-low.h.
2760 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2761 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2762 (remote_unescape_input): Move to common/rsp-low.c.
2763 * common/rsp-low.h: New file.
2764 * common/rsp-low.c: New file.
2765 * Makefile.in (SFILES): Add common/rsp-low.c.
2766 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2767 (COMMON_OBS): Add rsp-low.o.
2768 (rsp-low.o): New target.
2769
2770 2014-02-12 Tom Tromey <tromey@redhat.com>
2771
2772 * utils.h: Include print-utils.h.
2773 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2774 (int_string, core_addr_to_string, core_addr_to_string_nz)
2775 (hex_string, hex_string_custom): Don't declare.
2776 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2777 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2778 (hex_string_custom, int_string, core_addr_to_string)
2779 (core_addr_to_string_nz, host_address_to_string): Move to
2780 common/print-utils.c.
2781 * common/print-utils.h: New file.
2782 * common/print-utils.c: New file
2783 * Makefile.in (SFILES): Add common/print-utils.c.
2784 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2785 (COMMON_OBS): Add print-utils.o.
2786 (print-utils.o): New target.
2787
2788 2014-02-12 Tom Tromey <tromey@redhat.com>
2789
2790 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2791
2792 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2793
2794 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2795
2796 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2797
2798 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2799 if a PT_IO ptrace request returns sucessfully but indicates that 0
2800 bytes were transferred.
2801
2802 2014-02-12 Pedro Alves <palves@redhat.com>
2803 Kevin Buettner <kevinb@redhat.com>
2804
2805 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2806 TYPE_INSTANCE_FLAG_CODE_SPACE.
2807
2808 2014-02-12 Pedro Alves <palves@redhat.com>
2809
2810 * h8300-tdep.c (pseudo_from_raw_register)
2811 (raw_from_pseudo_register): New functions.
2812 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2813 them.
2814
2815 2014-02-12 Pedro Alves <palves@redhat.com>
2816
2817 * h8300-tdep.c (h8300_register_sim_regno): New function.
2818 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2819 gdbarch_register_sim_regno hook.
2820
2821 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2822
2823 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2824
2825 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2826
2827 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2828
2829 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2830
2831 * obsd-tdep.h (obsd_init_abi): New prototype.
2832 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2833 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2834 (obsd_init_abi): New functions.
2835 * i386obsd-tdep.c: Include "obsd-tdep.h".
2836 (i386obsd_init_abi): Call obsd_init_abi.
2837 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2838 (amd64obsd_init_abi): Call obsd_init_abi.
2839 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2840 obsd-tdep.c to gdb_target_obs.
2841
2842 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2843
2844 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2845 double float arguments to 16-byte in the argument slots.
2846
2847 2014-02-11 Doug Evans <xdje42@gmail.com>
2848
2849 * configure.ac: Don't crash if pkg-config is not found and guile
2850 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2851 in guile checks.
2852 * configure: Regenerate.
2853
2854 2014-02-11 Yao Qi <yao@codesourcery.com>
2855
2856 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2857 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2858 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2859 * gnu-nat.c (gnu_xfer_memory): Likewise.
2860 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2861 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2862 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2863 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2864
2865 2014-02-11 Yao Qi <yao@codesourcery.com>
2866
2867 * target.h (enum target_xfer_error): Rename to ...
2868 (enum target_xfer_status): ... it. New. All users updated.
2869 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2870 New.
2871 (TARGET_XFER_STATUS_ERROR_P): New macro.
2872 (target_xfer_error_to_string): Remove declaration.
2873 (target_xfer_status_to_string): Declare.
2874 (target_xfer_partial_ftype): Adjust it.
2875 (struct target_ops) <to_xfer_partial>: Return
2876 target_xfer_status. Add argument xfered_len. Update
2877 comments.
2878 * target.c (target_xfer_error_to_string): Rename to ...
2879 (target_xfer_status_to_string): ... it. New. All callers
2880 updated.
2881 (target_read_live_memory): Likewise. Call target_xfer_partial
2882 instead of target_read.
2883 (memory_xfer_live_readonly_partial): Return
2884 target_xfer_status. Add argument xfered_len.
2885 (raw_memory_xfer_partial): Likewise.
2886 (memory_xfer_partial_1): Likewise.
2887 (memory_xfer_partial): Likewise.
2888 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2889 properly. Update debug message.
2890 (default_xfer_partial, current_xfer_partial): Likewise.
2891 (target_write_partial): Likewise.
2892 (target_read_partial): Likewise. All callers updated.
2893 (read_whatever_is_readable): Likewise.
2894 (target_write_with_progress): Likewise.
2895 (target_read_alloc_1): Likewise.
2896
2897 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2898 * auxv.c (procfs_xfer_auxv): Likewise.
2899 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2900 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2901 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2902 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2903 * corefile.c (read_memory): Adjust.
2904 * corelow.c (core_xfer_partial): Likewise.
2905 * ctf.c (ctf_xfer_partial): Likewise.
2906 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2907 updated.
2908 (darwin_xfer_partial): Likewise.
2909 * exec.c (section_table_xfer_memory_partial): Likewise. All
2910 callers updated.
2911 (exec_xfer_partial): Likewise.
2912 * exec.h (section_table_xfer_memory_partial): Update
2913 declaration.
2914 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2915 negative.
2916 (gnu_xfer_partial): Likewise.
2917 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2918 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2919 (ia64_hpux_xfer_solib_got): Likewise.
2920 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2921 type of 'partial_len' to ULONGEST.
2922 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2923 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2924 (linux_nat_xfer_partial): Likewise.
2925 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2926 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2927 * monitor.c (monitor_xfer_memory): Likewise.
2928 (monitor_xfer_partial): Likewise.
2929 * procfs.c (procfs_xfer_partial): Likewise.
2930 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2931 * record-full.c (record_full_xfer_partial): Likewise.
2932 (record_full_core_xfer_partial): Likewise.
2933 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2934 (gdbsim_xfer_partial): Likewise.
2935 * remote.c (remote_write_bytes_aux): Likewise. All callers
2936 updated.
2937 (remote_write_bytes, remote_read_bytes): Likewise. All
2938 callers updated.
2939 (remote_flash_erase): Likewise. All callers updated.
2940 (remote_write_qxfer): Likewise. All callers updated.
2941 (remote_read_qxfer): Likewise. All callers updated.
2942 (remote_xfer_partial): Likewise.
2943 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2944 (rs6000_xfer_shared_libraries): Likewise.
2945 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2946 (sol_thread_xfer_partial): Likewise.
2947 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2948 (sparc_xfer_partial): Likewise.
2949 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2950 updated.
2951 (spu_xfer_partial): Likewise.
2952 * spu-multiarch.c (spu_xfer_partial): Likewise.
2953 * tracepoint.c (tfile_xfer_partial): Likewise.
2954 * windows-nat.c (windows_xfer_memory): Likewise.
2955 (windows_xfer_shared_libraries): Likewise.
2956 (windows_xfer_partial): Likewise.
2957 * valprint.c: Replace 'target_xfer_error' with
2958 'target_xfer_status' in comments.
2959
2960 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2961
2962 Checked in by Joel Brobecker <brobecker@adacore.com>.
2963 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2964
2965 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2966
2967 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2968 function parameters.
2969
2970 2014-02-10 Will Newton <will.newton@linaro.org>
2971
2972 * elfread.c (elf_rel_plt_read): Look for a .got section if
2973 looking up .got.plt fails.
2974 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2975 on address passed to elf_gnu_ifunc_record_cache.
2976 (elf_gnu_ifunc_resolve_addr): Likewise.
2977 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2978
2979 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2980
2981 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2982 (X_RETTURN): New macro.
2983 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2984
2985 * sparc64-tdep.c (sparc64_init_abi): Hook
2986 sparc_in_function_epilogue_p.
2987
2988 2014-02-10 Gary Benson <gbenson@redhat.com>
2989
2990 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2991 Rename name_matcher to symbol_matcher.
2992
2993 2014-02-10 Gary Benson <gbenson@redhat.com>
2994
2995 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2996 Use expand_symtabs_file_matcher_ftype and
2997 expand_symtabs_symbol_matcher_ftype.
2998
2999 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3000
3001 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3002 (struct ada_symbol_cache): New.
3003 (ada_free_symbol_cache): Forward declare.
3004 (struct ada_pspace_data): New.
3005 (ada_pspace_data_handle): New static global.
3006 (get_ada_pspace_data, ada_pspace_data_cleanup)
3007 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3008 (cache_space, cache): Delete, now folded inside struct
3009 ada_pspace_data.
3010 (ada_get_symbol_cache): New function.
3011 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3012 implementation.
3013 (_initialize_ada_language): Remove initialization of cache_space.
3014 Move call to observer_attach_inferior_exit up, grouping it
3015 with the other observer registrations inside this function.
3016 Rename command to be more general. Add call to
3017 register_program_space_data_with_cleanup.
3018
3019 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3020
3021 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3022 ada_new_objfile_observer.
3023 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3024 (_initialize_tasks): Update uses of ada_new_objfile_observer
3025 and ada_tasks_normal_stop_observer.
3026
3027 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3028
3029 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3030 returned by the 'Length attribute to integer.
3031
3032 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3033
3034 * ada-lang.c (_initialize_ada_language): Initialize
3035 cache_space obstack.
3036
3037 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3038
3039 * ada-lang.c (HASH_SIZE): New macro.
3040 (struct cache_entry): New type.
3041 (cache_space, cache): New static globals.
3042 (ada_clear_symbol_cache, find_entry): New functions.
3043 (lookup_cached_symbol, cache_symbol): Implement.
3044 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3045 (_initialize_ada_language): Attach ada_new_objfile_observer
3046 and ada_free_objfile_observer.
3047
3048 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3049
3050 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3051 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3052 struct block * parameter.
3053 (ada_lookup_symbol_list_worker): Constify local variable "block".
3054 Remove cast which is no longer necessary.
3055
3056 2014-02-10 Doug Evans <xdje42@gmail.com>
3057
3058 Add Guile as an extension language.
3059 * NEWS: Mention Guile scripting.
3060 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3061 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3062 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3063 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3064 (CLIBS): Add GUILE_LIBS.
3065 (install-guile): New rule.
3066 (guile.o): New rule.
3067 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3068 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3069 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3070 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3071 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3072 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3073 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3074 * configure.ac: New option --with-guile.
3075 * configure: Regenerate.
3076 * config.in: Regenerate.
3077 * auto-load.c: Remove #include "python/python.h". Add #include
3078 "gdb/section-scripts.h".
3079 (source_section_scripts): Handle Guile scripts.
3080 (_initialize_auto_load): Add name of Guile objfile script to
3081 scripts-directory help text.
3082 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3083 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3084 (struct breakpoint): New member scm_bp_object.
3085 * defs.h (enum command_control_type): New value guile_control.
3086 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3087 "extension.h".
3088 (show_user): Update comment.
3089 (_initialize_cli_cmds): Update help text for "show user". Update help
3090 text for max-user-call-depth.
3091 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3092 "extension.h".
3093 (multi_line_command_p): Add guile_control.
3094 (print_command_lines): Handle guile_control.
3095 (execute_control_command, recurse_read_control_structure): Ditto.
3096 (process_next_line): Recognize "guile" commands.
3097 * disasm.c (gdb_disassemble_info): Make non-static.
3098 * disasm.h: #include "dis-asm.h".
3099 (struct gdbarch): Add forward decl.
3100 (gdb_disassemble_info): Declare.
3101 * extension.c: #include "guile/guile.h".
3102 (extension_languages): Add guile.
3103 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3104 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3105 * gdbtypes.c (get_unsigned_type_max): New function.
3106 (get_signed_type_minmax): New function.
3107 * gdbtypes.h (get_unsigned_type_max): Declare.
3108 (get_signed_type_minmax): Declare.
3109 * guile/README: New file.
3110 * guile/guile-internal.h: New file.
3111 * guile/guile.c: New file.
3112 * guile/guile.h: New file.
3113 * guile/scm-arch.c: New file.
3114 * guile/scm-auto-load.c: New file.
3115 * guile/scm-block.c: New file.
3116 * guile/scm-breakpoint.c: New file.
3117 * guile/scm-disasm.c: New file.
3118 * guile/scm-exception.c: New file.
3119 * guile/scm-frame.c: New file.
3120 * guile/scm-gsmob.c: New file.
3121 * guile/scm-iterator.c: New file.
3122 * guile/scm-lazy-string.c: New file.
3123 * guile/scm-math.c: New file.
3124 * guile/scm-objfile.c: New file.
3125 * guile/scm-ports.c: New file.
3126 * guile/scm-pretty-print.c: New file.
3127 * guile/scm-safe-call.c: New file.
3128 * guile/scm-string.c: New file.
3129 * guile/scm-symbol.c: New file.
3130 * guile/scm-symtab.c: New file.
3131 * guile/scm-type.c: New file.
3132 * guile/scm-utils.c: New file.
3133 * guile/scm-value.c: New file.
3134 * guile/lib/gdb.scm: New file.
3135 * guile/lib/gdb/boot.scm: New file.
3136 * guile/lib/gdb/experimental.scm: New file.
3137 * guile/lib/gdb/init.scm: New file.
3138 * guile/lib/gdb/iterator.scm: New file.
3139 * guile/lib/gdb/printing.scm: New file.
3140 * guile/lib/gdb/types.scm: New file.
3141 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3142 (VPATH): Add $(GUILE_SRCDIR).
3143 (GUILE_DIR): New variable.
3144 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3145 (all): Add stamp-guile dependency.
3146 (stamp-guile): New rule.
3147 (clean-guile, install-guile, uninstall-guile): New rules.
3148 (install-only): Add install-guile dependency.
3149 (uninstall): Add uninstall-guile dependency.
3150 (clean): Add clean-guile dependency.
3151
3152 2014-02-09 Doug Evans <xdje42@gmail.com>
3153
3154 Revert this patch (which I approved, mea culpa).
3155
3156 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3157
3158 * Makefile.in (all-lib): Remove.
3159 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3160
3161 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3162
3163 Fix Python stack corruption.
3164 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3165 gdb_py_longest.
3166
3167 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3168
3169 * Makefile.in (all-lib): Remove.
3170 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3171
3172 2014-02-07 Doug Evans <dje@google.com>
3173
3174 * extension-priv.h (extension_language_script_ops): Add comment.
3175 (extension_language_ops): Add comment.
3176 (active_ext_lang_state): Fix typo in comment.
3177
3178 2014-02-07 Pedro Alves <palves@redhat.com>
3179
3180 * infrun.c (handle_signal_stop) <signal arrives while stepping
3181 over a breakpoint>: Switch back to the stepping thread.
3182
3183 2014-02-07 Yao Qi <yao@codesourcery.com>
3184
3185 * target.c (target_xfer_partial): Return zero if LEN is zero.
3186
3187 2014-02-07 Yao Qi <yao@codesourcery.com>
3188
3189 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3190 (ld_so_xfer_auxv): Likewise.
3191 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3192 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3193 * corelow.c (core_xfer_partial): Likewise.
3194 * ctf.c (ctf_xfer_partial): Likewise.
3195 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3196 (darwin_xfer_partial): Likewise.
3197 * exec.c (exec_xfer_partial): Likewise.
3198 * gnu-nat.c (gnu_xfer_partial): Likewise.
3199 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3200 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3201 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3202 * linux-nat.c (linux_xfer_siginfo): Likewise.
3203 (linux_proc_xfer_spu): Likewise.
3204 * procfs.c (procfs_xfer_partial): Likewise.
3205 * record-full.c (record_full_xfer_partial): Likewise.
3206 (record_full_core_xfer_partial): Likewise.
3207 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3208 * remote.c (remote_write_qxfer): Likewise.
3209 (remote_write_qxfer, remote_read_qxfer): Likewise.
3210 (remote_xfer_partial): Likewise.
3211 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3212 (rs6000_xfer_shared_libraries): Likewise.
3213 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3214 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3215 (spu_xfer_partial): Likewise.
3216 * target.c (memory_xfer_partial_1): Likewise.
3217 * tracepoint.c (tfile_xfer_partial): Likewise.
3218 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3219 (windows_xfer_partial): Likewise.
3220
3221 2014-02-07 Yao Qi <yao@codesourcery.com>
3222
3223 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3224 comments.
3225 (core_xfer_shared_libraries_aix): Likewise.
3226 * gdbarch.c, gdbarch.h: Regenerated.
3227 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3228 ULONGEST. Change 'len_avail' type to ULONGEST.
3229 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3230 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3231 declaration.
3232 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3233
3234 2014-02-07 Yao Qi <yao@codesourcery.com>
3235
3236 * corefile.c (memory_error): Get 'exception' from ERR and pass
3237 'exception' to throw_error.
3238
3239 2014-02-06 Doug Evans <xdje42@gmail.com>
3240
3241 * configure.ac (libpython checking): Remove all but python.o from
3242 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3243 * configure: Regenerate.
3244
3245 * Makefile.in (SFILES): Add extension.c.
3246 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3247 (COMMON_OBS): Add extension.o.
3248 * extension.h: New file.
3249 * extension-priv.h: New file.
3250 * extension.c: New file.
3251
3252 * python/python-internal.h: #include "extension.h".
3253 (gdbpy_auto_load_enabled): Declare.
3254 (gdbpy_apply_val_pretty_printer): Declare.
3255 (gdbpy_apply_frame_filter): Declare.
3256 (gdbpy_preserve_values): Declare.
3257 (gdbpy_breakpoint_cond_says_stop): Declare.
3258 (gdbpy_breakpoint_has_cond): Declare.
3259 (void source_python_script_for_objfile): Delete.
3260 * python/python.c: #include "extension-priv.h".
3261 Delete inclusion of "observer.h".
3262 (extension_language_python): Moved here and renamed from
3263 script_language_python in py-auto-load.c.
3264 Redefined to be of type extension_language_defn.
3265 (python_extension_script_ops): New global.
3266 (python_extension_ops): New global.
3267 (struct python_env): New member previous_active.
3268 (restore_python_env): Call restore_active_ext_lang.
3269 (ensure_python_env): Call set_active_ext_lang.
3270 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3271 New arg extlang.
3272 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3273 New arg extlang.
3274 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3275 New arg extlang.
3276 (gdbpy_eval_from_control_command): Renamed from
3277 eval_python_from_control_command, made static. New arg extlang.
3278 (gdbpy_source_script) Renamed from source_python_script, made static.
3279 New arg extlang.
3280 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3281 result to int. New arg extlang.
3282 (gdbpy_source_objfile_script): Renamed from
3283 source_python_script_for_objfile, made static. New arg extlang.
3284 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3285 static. New args extlang, extlang_printers. Change result type to
3286 "void".
3287 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3288 static. New arg extlang. Rename arg printers to extlang_printers
3289 and change type to ext_lang_type_printers *.
3290 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3291 static. Replace argument arg with extlang, extlang_printers.
3292 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3293 (!HAVE_PYTHON, source_python_script): Delete.
3294 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3295 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3296 (!HAVE_PYTHON, start_type_printers): Delete.
3297 (!HAVE_PYTHON, apply_type_printers): Delete.
3298 (!HAVE_PYTHON, free_type_printers): Delete.
3299 (_initialize_python): Delete call to observer_attach_before_prompt.
3300 (finalize_python): Set/restore active extension language.
3301 (gdbpy_finish_initialization) Renamed from
3302 finish_python_initialization, made static. New arg extlang.
3303 (gdbpy_initialized): New function.
3304 * python/python.h: #include "extension.h". Delete #include
3305 "value.h", "mi/mi-cmds.h".
3306 (extension_language_python): Declare.
3307 (GDBPY_AUTO_FILE_NAME): Delete.
3308 (enum py_bt_status): Moved to extension.h and renamed to
3309 ext_lang_bt_status.
3310 (enum frame_filter_flags): Moved to extension.h.
3311 (enum py_frame_args): Moved to extension.h and renamed to
3312 ext_lang_frame_args.
3313 (finish_python_initialization): Delete.
3314 (eval_python_from_control_command): Delete.
3315 (source_python_script): Delete.
3316 (apply_val_pretty_printer): Delete.
3317 (apply_frame_filter): Delete.
3318 (preserve_python_values): Delete.
3319 (gdbpy_script_language_defn): Delete.
3320 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3321 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3322
3323 * auto-load.c: #include "extension.h".
3324 (GDB_AUTO_FILE_NAME): Delete.
3325 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3326 (script_language_gdb): Delete, moved to extension.c and renamed to
3327 extension_language_gdb.
3328 (source_gdb_script_for_objfile): Delete.
3329 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3330 (loaded_script): Change type of language member to
3331 struct extension_language_defn *.
3332 (init_loaded_scripts_info): Initialize
3333 unsupported_script_warning_printed.
3334 (maybe_add_script): Make static. Change type of language arg to
3335 struct extension_language_defn *.
3336 (clear_section_scripts): Reset unsupported_script_warning_printed.
3337 (auto_load_objfile_script_1): Rewrite to use extension language API.
3338 (auto_load_objfile_script): Make public. Remove support-compiled-in
3339 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3340 (source_section_scripts): Rewrite to use extension language API.
3341 (load_auto_scripts_for_objfile): Rewrite to use
3342 auto_load_scripts_for_objfile.
3343 (collect_matching_scripts_data): Change type of language member to
3344 struct extension_language_defn *.
3345 (auto_load_info_scripts): Change type of language arg to
3346 struct extension_language_defn *.
3347 (unsupported_script_warning_print): New function.
3348 (script_not_found_warning_print): Make static.
3349 (_initialize_auto_load): Rewrite construction of scripts-directory
3350 help.
3351 * auto-load.h (struct objfile): Add forward decl.
3352 (struct script_language): Delete.
3353 (struct auto_load_pspace_info): Add forward decl.
3354 (struct extension_language_defn): Add forward decl.
3355 (maybe_add_script): Delete.
3356 (auto_load_objfile_script): Declare.
3357 (script_not_found_warning_print): Delete.
3358 (auto_load_info_scripts): Update prototype.
3359 (auto_load_gdb_scripts_enabled): Declare.
3360 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3361 auto_load_python_scripts_enabled and made public.
3362 (script_language_python): Delete, moved to python.c.
3363 (gdbpy_script_language_defn): Delete.
3364 (info_auto_load_python_scripts): Update to use
3365 extension_language_python.
3366
3367 * breakpoint.c (condition_command): Replace call to
3368 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3369 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3370 with call to breakpoint_ext_lang_cond_says_stop.
3371 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3372 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3373 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3374 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3375 New arg slang.
3376 (local_setattro): Print name of extension language with existing
3377 stop condition.
3378
3379 * valprint.c (val_print, value_print): Update to call
3380 apply_ext_lang_val_pretty_printer.
3381 * cp-valprint.c (cp_print_value): Update call to
3382 apply_ext_lang_val_pretty_printer.
3383 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3384 (gdbpy_apply_val_pretty_printer): Renamed from
3385 apply_val_pretty_printer. New arg extlang.
3386 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3387
3388 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3389 extension language API.
3390 * cli/cli-script.c (execute_control_command): Update to call
3391 eval_ext_lang_from_control_command.
3392
3393 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3394 enum ext_lang_bt_status values. Update call to
3395 apply_ext_lang_frame_filter.
3396 (mi_cmd_stack_list_locals): Ditto.
3397 (mi_cmd_stack_list_args): Ditto.
3398 (mi_cmd_stack_list_variables): Ditto.
3399 * mi/mi-main.c: Delete #include "python/python-internal.h".
3400 Add #include "extension.h".
3401 (mi_cmd_list_features): Replace reference to python internal variable
3402 gdb_python_initialized with call to ext_lang_initialized_p.
3403
3404 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3405 Update to use enum ext_lang_frame_args. Update to call
3406 apply_ext_lang_frame_filter.
3407 * python/py-framefilter.c (extract_sym): Update to use enum
3408 ext_lang_bt_status.
3409 (extract_value, py_print_type, py_print_value): Ditto.
3410 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3411 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3412 (py_print_frame): Ditto.
3413 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3414 New arg extlang. Update to use enum ext_lang_bt_status.
3415
3416 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3417 finish_python_initialization. Replace with call to
3418 finish_ext_lang_initialization.
3419
3420 * typeprint.c (do_free_global_table): Update to call
3421 free_ext_lang_type_printers.
3422 (create_global_typedef_table): Update to call
3423 start_ext_lang_type_printers.
3424 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3425 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3426 (type_print_options): Change type of global_printers from "void *"
3427 to "struct ext_lang_type_printers *".
3428
3429 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3430 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3431 (gdbpy_preserve_values): Renamed from preserve_python_values.
3432 New arg extlang.
3433 (!HAVE_PYTHON, preserve_python_values): Delete.
3434
3435 * utils.c (quit_flag): Delete, moved to extension.c.
3436 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3437 extension.c.
3438
3439 * eval.c: Delete #include "python/python.h".
3440 * main.c: Delete #include "python/python.h".
3441
3442 * defs.h: Update comment.
3443
3444 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3445
3446 GDB 7.7 released.
3447
3448 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3449
3450 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3451 defined.
3452
3453 2014-02-05 Yao Qi <yao@codesourcery.com>
3454
3455 * remote.c (remote_pass_signals): Remove local 'buf' and use
3456 rs->buf.
3457 (remote_program_signals): Likewise.
3458
3459 2014-02-05 Yao Qi <yao@codesourcery.com>
3460
3461 * ctf.c: Include "inferior.h" and "gdbthread.h".
3462 (CTF_PID): A new macro.
3463 (ctf_open): Call inferior_appeared and add_thread_silent.
3464 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3465 (ctf_thread_alive): New function.
3466 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3467
3468 2014-02-05 Yao Qi <yao@codesourcery.com>
3469
3470 Revert this patch:
3471
3472 2013-05-24 Yao Qi <yao@codesourcery.com>
3473
3474 * tracepoint.c (TFILE_PID): Remove.
3475 (tfile_open): Don't add thread and inferior.
3476 (tfile_close): Don't set 'inferior_ptid'. Don't call
3477 exit_inferior_silent.
3478 (tfile_thread_alive): Remove.
3479 (init_tfile_ops): Don't set field 'to_thread_alive' of
3480 tfile_ops.
3481
3482 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3483
3484 * remote.c (remote_start_remote): Call remote_check_symbols even
3485 if only symbol-file (not file) has been given.
3486
3487 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3488
3489 * gdbarch.sh (skip_entrypoint): New callback.
3490 * gdbarch.c, gdbarch.h: Regenerate.
3491 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3492 * infrun.c (fill_in_stop_func): Likewise.
3493 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3494 (ppc_elfv2_elf_make_msymbol_special): New function.
3495 (ppc_elfv2_skip_entrypoint): Likewise.
3496 (ppc_linux_init_abi): Install them for ELFv2.
3497
3498 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3499
3500 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3501 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3502 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3503 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3504 structures returned in GPRs.
3505
3506 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3507
3508 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3509 offset to the stack parameter list for the ELFv2 ABI.
3510
3511 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3512
3513 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3514 set_gdbarch_convert_from_func_ptr_addr and
3515 set_gdbarch_elf_make_msymbol_special for ELFv1.
3516 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3517 function descriptors on ELFv1.
3518 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3519 set up r12 at function entry.
3520
3521 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3522
3523 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3524 (struct gdbarch_tdep): New member elf_abi.
3525
3526 * rs6000-tdep.c: Include "elf/ppc64.h".
3527 (rs6000_gdbarch_init): Detect ELF ABI version.
3528
3529 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3530
3531 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3532 within a register pair holding a DFP 128-bit value on little-endian.
3533 (ppc64_sysv_abi_return_value_base): Likewise.
3534 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3535 (dfp_pseudo_register_write): Likewise.
3536
3537 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3538
3539 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3540 offset on little-endian when passing _Decimal32.
3541 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3542
3543 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3544
3545 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3546 of the overlapped FP register within the VSX register on little-
3547 endian platforms.
3548 (efpr_pseudo_register_write): Likewise.
3549
3550 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3551
3552 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3553 offset on little-endian when passing small structures.
3554
3555 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3556
3557 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3558 (struct ppc64_sysv_argpos): New data structure.
3559 (ppc64_sysv_abi_push_float): Remove.
3560 (ppc64_sysv_abi_push_val): New function.
3561 (ppc64_sysv_abi_push_integer): Likewise.
3562 (ppc64_sysv_abi_push_freg): Likewise.
3563 (ppc64_sysv_abi_push_vreg): Likewise.
3564 (ppc64_sysv_abi_push_param): Likewise.
3565 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3566 (ppc64_sysv_abi_return_value_base): New function.
3567 (ppc64_sysv_abi_return_value): Refactor to use it.
3568
3569 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
3570
3571 * NEWS: Document new target powerpc64le-*-linux*.
3572
3573 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3574
3575 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3576 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3577 core dumps.
3578 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3579 register set used in ELF core dumps. Add floating-point register set.
3580
3581 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3582
3583 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3584 dwarf2_to_gdb[] table using symbolic constants. Adjust
3585 penultimate entry from number representing the PC register
3586 to symbolic constant representing the MDR register. Add
3587 constant for the PC register to the end of the table.
3588
3589 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3590
3591 * bsd-kvm.c: Include <sys/param.h>
3592
3593 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3594
3595 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3596
3597 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3598
3599 * ada-lang.h (clear_ada_sym_cache): Delete.
3600
3601 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
3602
3603 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3604
3605 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3606
3607 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3608 the sigreturn register save area only if the syscall is
3609 sigreturn.
3610
3611 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3612
3613 * valops.c (value_slice): Minor reformatting.
3614
3615 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
3616
3617 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3618
3619 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3620
3621 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3622 New static globals.
3623 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3624 (ada_ignore_descriptive_types_p): New static global.
3625 (find_parallel_type_by_descriptive_type): Return immediately
3626 if ada_ignore_descriptive_types_p is set.
3627 (_initialize_ada_language): Register new commands "maintenance
3628 set ada", "maintenance show ada", "maintenance set ada
3629 ignore-descriptive-types" and "maintenance show ada
3630 ignore-descriptive-types".
3631 * NEWS: Add entry for new "maint ada set/show
3632 ignore-descriptive-types" commands.
3633
3634 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3635
3636 * record-btrace.c (record_btrace_close): Call btrace_teardown
3637 for all threads.
3638
3639 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3640
3641 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3642 "ui-out.h".
3643
3644 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3645
3646 * ada-typeprint (type_is_full_subrange_of_target_type):
3647 New function.
3648 (print_range): Add parameter bounds_prefered_p. If not set,
3649 try printing range types using the name of their base type.
3650 (print_range_type): Add parameter bounds_prefered_p.
3651 Use it in call to print_range.
3652 (print_array_type, ada_print_type): Update calls to print_range
3653 and print_range_type.
3654
3655 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3656
3657 * ada-typeprint.c (print_array_type, print_choices, print_range)
3658 (print_range_bound, print_dynamic_range_bound, print_range_type):
3659 Remove declaration.
3660
3661 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3662
3663 * ada-typeprint.c (print_range): Add missing empty line
3664 after local declaration.
3665
3666 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3667
3668 * ada-valprint.c (print_optional_low_bound): Get index_type's
3669 target type for as long as it is a TYPE_CODE_RANGE.
3670
3671 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3672
3673 * procfs.c (procfs_make_note_section): Remove assertion and
3674 associated comment.
3675
3676 2014-01-24 Yao Qi <yao@codesourcery.com>
3677
3678 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3679 * corelow.c (get_core_siginfo): Likewise.
3680
3681 2014-01-24 Yao Qi <yao@codesourcery.com>
3682
3683 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3684 ULONGEST. Don't check 'len' is negative.
3685 (remote_write_bytes): Change type of 'len' to ULONGEST.
3686
3687 2014-01-23 Tom Tromey <tromey@redhat.com>
3688
3689 PR python/16485:
3690 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3691 Handle exception from frame.block.
3692 (FrameVars.fetch_frame_locals): Likewise.
3693
3694 2014-01-23 Tom Tromey <tromey@redhat.com>
3695
3696 PR python/16487:
3697 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3698 on a NULL pointer. Move "goto error" to correct place.
3699
3700 2014-01-23 Tom Tromey <tromey@redhat.com>
3701
3702 PR python/16491:
3703 * python/py-framefilter.c (apply_frame_filter): Call
3704 ensure_python_env after computing gdbarch.
3705
3706 2014-01-23 Yao Qi <yao@codesourcery.com>
3707
3708 * target.c (raw_memory_xfer_partial): Change argument type
3709 from void * to gdb_byte *.
3710 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3711
3712 2014-01-22 Doug Evans <dje@google.com>
3713
3714 New gdbserver option --debug-format=timestamp.
3715 * NEWS: Mention it.
3716
3717 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3718
3719 * syscalls/s390x-linux.xml: New file.
3720 * syscalls/s390-linux.xml: New file.
3721 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3722 (XML_SYSCALL_FILENAME_S390X): Likewise.
3723 (op_svc): New enum value for SVC opcode.
3724 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3725 (s390_linux_get_syscall_number): New function.
3726 (s390_gdbarch_init): Register '*get_syscall_number' and the
3727 syscall xml file name.
3728 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3729 "s390-linux.xml" and "s390x-linux.xml".
3730 * NEWS: Announce new feature.
3731
3732 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3733
3734 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3735
3736 2014-01-22 Pedro Alves <palves@redhat.com>
3737
3738 * xtensa-config.c: Include defs.h.
3739
3740 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3741
3742 * common/common-utils.h: Add "ARI:" comment beside __func__
3743 reference.
3744
3745 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3746
3747 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3748 documentation a bit.
3749
3750 2014-01-21 Roland McGrath <mcgrathr@google.com>
3751
3752 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3753 * configure: Regenerate.
3754 * aclocal.m4: Regenerate.
3755 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3756 New substituted variables.
3757 (install-strip): New target.
3758 (INSTALL_SCRIPT): New substituted variable.
3759 (FLAGS_TO_PASS): Add it.
3760 (install-only): Use $(INSTALL_SCRIPT) rather than
3761 $(INSTALL_PROGRAM) for gcore.
3762
3763 2014-01-20 Tom Tromey <tromey@redhat.com>
3764
3765 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3766 together.
3767
3768 2014-01-20 Tom Tromey <tromey@redhat.com>
3769
3770 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3771 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3772 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3773 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3774 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3775 (struct cmd_list_element) <flags>: Remove.
3776 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3777 doc_allocated>: New fields.
3778 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3779 bitfields.
3780 * maint.c (maintenance_do_deprecate): Update.
3781 * top.c (execute_command): Update.
3782
3783 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3784
3785 * xtensa-linux-nat.c: Include asm/ptrace.h.
3786
3787 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3788
3789 * Makefile.in (SFILES): Add d-support.c.
3790 (COMMON_OBS): Add d-support.o.
3791 * d-lang.h (d_parse_symbol): Add comment, now defined in
3792 d-support.c.
3793 * d-lang.c (parse_call_convention)
3794 (parse_attributes, parse_function_types)
3795 (parse_function_args, parse_type, parse_identifier)
3796 (call_convention_p, d_parse_symbol): Move functions to ...
3797 * d-support.c: ... New file.
3798
3799 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3800
3801 * d-lang.h (d_parse_symbol): Add declaration.
3802 * d-lang.c (extract_identifiers)
3803 (extract_type_info): Remove functions.
3804 (parse_call_convention, parse_attributes)
3805 (parse_function_types, parse_function_args)
3806 (parse_type, parse_identifier, call_convention_p)
3807 (d_parse_symbol): New functions.
3808 (d_demangle): Use d_parse_symbol to demangle D symbols.
3809
3810 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3811
3812 * d-lang.h (struct builtin_d_type): New data type.
3813 (builtin_d_type): Add declaration.
3814 * d-lang.c (d_language_arch_info, build_d_types)
3815 (builtin_d_type): New functions.
3816 (enum d_primitive_types): New data type.
3817 (d_language_defn): Change c_language_arch_info to
3818 d_language_arch_info.
3819 (d_type_data): New static variable.
3820 (_initialize_d_language): Initialize d_type_data.
3821
3822 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3823
3824 * d-lang.h (d_main_name): Add declaration.
3825 * d-lang.c (d_main_name): New function.
3826 * symtab.c (find_main_name): Add call to d_main_name.
3827
3828 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3829
3830 * d-lang.c (d_language_defn): Change macro_expansion_c to
3831 macro_expansion_no.
3832
3833 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3834
3835 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3836
3837 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3838
3839 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3840 gdb_exception" declaration.
3841 * remote.c (getpkt_or_notif_sane): Likewise.
3842
3843 2014-01-17 Doug Evans <dje@google.com>
3844
3845 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3846 function, contents of dirnames_to_char_ptr_vec_append moved here.
3847 (delim_string_to_char_ptr_vec): New function.
3848 (dirnames_to_char_ptr_vec_append): Rewrite.
3849 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3850
3851 2014-01-17 Doug Evans <dje@google.com>
3852
3853 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3854 and moved here ...
3855 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3856 #include "common-utils.h".
3857 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3858 * common/vec.h (VEC_ASSERT_PASS): Update.
3859 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3860 (MACH_CHECK_ERROR): Update.
3861
3862 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3863
3864 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3865 comments.
3866 * gdbarch.h: Regenerate.
3867
3868 2014-01-16 Tom Tromey <tromey@redhat.com>
3869
3870 * value.c (struct value) <regnum>: Move earlier.
3871
3872 2014-01-16 Tom Tromey <tromey@redhat.com>
3873
3874 * remote.c (extended_remote_create_inferior): Rename from
3875 extended_remote_create_inferior_1. Add "ops" argument. Remove
3876 old implementation.
3877
3878 2014-01-16 Pedro Alves <palves@redhat.com>
3879
3880 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3881 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3882 the backchain.
3883
3884 2014-01-16 Doug Evans <dje@google.com>
3885
3886 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3887
3888 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3889
3890 * btrace.h (btrace_thread_flag): New.
3891 (struct btrace_thread_info) <flags>: New.
3892 * record-btrace.c (record_btrace_resume_thread)
3893 (record_btrace_find_thread_to_move, btrace_step_no_history)
3894 (btrace_step_stopped, record_btrace_start_replaying)
3895 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3896 (record_btrace_find_resume_thread): New.
3897 (record_btrace_resume, record_btrace_wait): Extend.
3898 (record_btrace_can_execute_reverse): New.
3899 (record_btrace_open): Fail in non-stop mode.
3900 (record_btrace_set_replay): Split into this, ...
3901 (record_btrace_stop_replaying): ... this, ...
3902 (record_btrace_clear_histories): ... and this.
3903 (init_record_btrace_ops): Init to_can_execute_reverse.
3904 * NEWS: Announce it.
3905
3906 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3907
3908 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3909 (forward_target_decr_pc_after_break)
3910 (target_decr_pc_after_break): New.
3911 * target.c (forward_target_decr_pc_after_break)
3912 (target_decr_pc_after_break): New.
3913 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3914 instead of gdbarch_decr_pc_after_break.
3915 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3916 instead of gdbarch_decr_pc_after_break.
3917 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3918 instead of gdbarch_decr_pc_after_break.
3919 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3920 instead of gdbarch_decr_pc_after_break.
3921 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3922 instead of gdbarch_decr_pc_after_break.
3923 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3924 instead of gdbarch_decr_pc_after_break.
3925
3926 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3927
3928 * btrace.c: Include regcache.h.
3929 (btrace_add_pc): New.
3930 (btrace_enable): Call btrace_add_pc.
3931 (btrace_is_empty): New.
3932 * btrace.h (btrace_is_empty): New.
3933 * record-btrace.c (require_btrace, record_btrace_info): Call
3934 btrace_is_empty.
3935
3936 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3937
3938 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3939 Support delta reads.
3940 (linux_disable_btrace): Change return type.
3941 * common/linux-btrace.h (linux_read_btrace): Change parameters
3942 and return type to allow error reporting. Update users.
3943 (linux_disable_btrace): Change return type. Update users.
3944 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3945 New.
3946 (btrace_error): New.
3947 (btrace_block) <begin>: Comment on BEGIN == 0.
3948 * btrace.c (btrace_compute_ftrace): Start from the end of
3949 the current trace.
3950 (btrace_stitch_trace, btrace_clear_history): New.
3951 (btrace_fetch): Read delta trace, return if replaying.
3952 (btrace_clear): Move clear history code to btrace_clear_history.
3953 (parse_xml_btrace): Throw an error if parsing failed.
3954 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3955 and return type to allow error reporting.
3956 (target_read_btrace): Change parameters and return type to allow
3957 error reporting.
3958 * target.c (target_read_btrace): Update.
3959 * remote.c (remote_read_btrace): Support delta reads. Pass
3960 errors on.
3961 * NEWS: Announce it.
3962
3963 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3964
3965 * record.h (record_btrace_frame_unwind)
3966 (record_btrace_tailcall_frame_unwind): New declarations.
3967 * dwarf2-frame: Include record.h
3968 (dwarf2_frame_cfa): Throw an error for btrace frames.
3969 * record-btrace.c: Include hashtab.h.
3970 (btrace_get_bfun_name): New.
3971 (btrace_call_history): Call btrace_get_bfun_name.
3972 (struct btrace_frame_cache): New.
3973 (bfcache): New.
3974 (bfcache_hash, bfcache_eq, bfcache_new): New.
3975 (btrace_get_frame_function): New.
3976 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3977 (record_btrace_frame_this_id): Compute own id.
3978 (record_btrace_frame_prev_register): Provide PC, throw_error
3979 for all other registers.
3980 (record_btrace_frame_sniffer): Detect btrace frames.
3981 (record_btrace_tailcall_frame_sniffer): New.
3982 (record_btrace_frame_dealloc_cache): New.
3983 (record_btrace_frame_unwind): Add new functions.
3984 (record_btrace_tailcall_frame_unwind): New.
3985 (_initialize_record_btrace): Allocate cache.
3986 * btrace.c (btrace_clear): Call reinit_frame_cache.
3987 * NEWS: Announce it.
3988
3989 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3990
3991 * record-btrace.c (record_btrace_set_replay)
3992 (record_btrace_goto_begin, record_btrace_goto_end)
3993 (record_btrace_goto): New.
3994 (init_record_btrace_ops): Initialize them.
3995 * NEWS: Announce it.
3996
3997 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3998
3999 * record-btrace.c (record_btrace_find_new_threads)
4000 (record_btrace_thread_alive): New.
4001 (init_record_btrace_ops): Initialize to_find_new_threads and
4002 to_thread_alive.
4003
4004 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4005
4006 * record-btrace.c (record_btrace_resume): New.
4007 (record_btrace_wait): New.
4008 (init_record_btrace_ops): Initialize to_wait and to_resume.
4009
4010 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4011
4012 * record-btrace.c (record_btrace_xfer_partial)
4013 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4014 (record_btrace_allow_memory_access): New.
4015 (init_record_btrace_ops): Initialize new methods.
4016 * target.c (raw_memory_xfer_partial): Bail out if target reports
4017 that this memory is not available.
4018
4019 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4020
4021 * target.h (target_ops) <to_insert_breakpoint>
4022 <to_remove_breakpoint>: Add target_ops parameter.
4023 (forward_target_insert_breakpoint): New.
4024 (forward_target_remove_breakpoint): New.
4025 (memory_remove_breakpoint, memory_insert_breakpoint):
4026 Add target_ops parameter.
4027 * target.c (target_insert_breakpoint): Split into this and ...
4028 (forward_target_insert_breakpoint): ... this.
4029 (target_remove_breakpoint): Split into this and ...
4030 (forward_target_remove_breakpoint): ... this.
4031 (debug_to_insert_breakpoint): Add target_ops parameter.
4032 Call forward_target_insert_breakpoint.
4033 (debug_to_remove_breakpoint): Add target_ops parameter.
4034 Call forward_target_remove_breakpoint.
4035 (update_current_target): Do not inherit or default to_insert_breakpoint
4036 and to_remove_breakpoint.
4037 * corelow.c (ignore): Add target_ops parameter.
4038 * exec.c (ignore): Add target_ops parameter.
4039 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4040 Add target_ops parameter.
4041 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4042 Add target_ops parameter.
4043 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4044 Add target_ops parameter.
4045 * record-full.c (record_full_beneath_to_insert_breakpoint)
4046 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4047 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4048 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4049 (record_full_core_remove_breakpoint): Add target_ops parameter.
4050 Update users.
4051 (record_full_beneath_to_insert_breakpoint_ops)
4052 (record_full_beneath_to_remove_breakpoint_ops)
4053 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4054 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4055 tmp_to_remove_breakpoint_ops,
4056 record_full_beneath_to_insert_breakpoint_ops, and
4057 record_full_beneath_to_remove_breakpoint_ops.
4058 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4059 (m32r_remove_breakpoint): Add target_ops parameter.
4060 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4061 Add target_ops parameter.
4062 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4063 Add target_ops parameter.
4064
4065 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4066 Markus Metzger <markus.t.metzger@intel.com>
4067
4068 * record-btrace.c: Include frame-unwind.h.
4069 (record_btrace_frame_unwind_stop_reason)
4070 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4071 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4072 New.
4073 (init_record_btrace_ops): Install it.
4074
4075 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4076
4077 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4078 get_prev_frame_1.
4079
4080 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4081
4082 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4083 earlier.
4084
4085 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4086
4087 * frame-unwind.c: Include target.h.
4088 (frame_unwind_try_unwinder): New function with code from ...
4089 (frame_unwind_find_by_frame): ... here. New variable
4090 unwinder_from_target, call also target_get_unwinder)
4091 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4092 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4093 * target.h (struct target_ops): New fields to_get_unwinder and
4094 to_get_tailcall_unwinder.
4095 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4096
4097 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4098
4099 * record-btrace.c (record_btrace_fetch_registers)
4100 (record_btrace_store_registers)
4101 (record_btrace_to_prepare_to_store): New.
4102 (init_record_btrace_ops): Add the above.
4103
4104 2014-01-16 Tom Tromey <tromey@redhat.com>
4105
4106 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4107 * target.h (struct target_ops) <to_prepare_to_store>: Add
4108 argument.
4109 (target_prepare_to_store): Add argument.
4110 * target.c (debug_to_prepare_to_store): Add argument.
4111 (update_current_target): Update.
4112 * remote.c (remote_prepare_to_store): Add 'self' argument.
4113 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4114 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4115 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4116 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4117 argument.
4118 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4119 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4120 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4121 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4122 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4123
4124 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4125
4126 * btrace.h (replay) <replay>: New.
4127 (btrace_is_replaying): New.
4128 * btrace.c (btrace_clear): Free replay iterator.
4129 (btrace_is_replaying): New.
4130 * record-btrace.c (record_btrace_is_replaying): New.
4131 (record_btrace_info): Print insn number if replaying.
4132 (record_btrace_insn_history): Start at replay position.
4133 (record_btrace_call_history): Start at replay position.
4134 (init_record_btrace_ops): Init to_record_is_replaying.
4135
4136 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4137
4138 * record-btrace.c (record_btrace_insn_history_range): Include
4139 end.
4140 (record_btrace_insn_history_from): Adjust range.
4141 (record_btrace_call_history_range): Include
4142 end.
4143 (record_btrace_call_history_from): Adjust range.
4144 * NEWS: Announce changes.
4145
4146 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4147
4148 * record.h (enum record_print_flag)
4149 <record_print_indent_calls>: New.
4150 * record.c (get_call_history_modifiers): Recognize /c modifier.
4151 (_initialize_record): Document /c modifier.
4152 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4153 Reorder fields. Optionally indent the function name. Update
4154 all users.
4155 * NEWS: Announce changes.
4156
4157 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4158
4159 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4160
4161 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4162
4163 * btrace.c (ftrace_new_function): Start counting at one.
4164 * record-btrace.c (record_btrace_info): Adjust number of calls
4165 and insns.
4166 * NEWS: Announce it.
4167
4168 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4169
4170 * record-btrace.c (btrace_call_history_insn_range): Print
4171 insn range as [begin, end].
4172
4173 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4174
4175 * btrace.h (struct btrace_func_link): New.
4176 (enum btrace_function_flag): New.
4177 (struct btrace_inst): Rename to ...
4178 (struct btrace_insn): ...this. Update all users.
4179 (struct btrace_func) <ibegin, iend>: Remove.
4180 (struct btrace_func_link): New.
4181 (struct btrace_func): Rename to ...
4182 (struct btrace_function): ...this. Update all users.
4183 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4184 (number, level, flags>: New.
4185 (struct btrace_insn_iterator): Rename to ...
4186 (struct btrace_insn_history): ...this.
4187 Update all users.
4188 (struct btrace_insn_iterator, btrace_call_iterator): New.
4189 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4190 (struct btrace_target_info) <begin, end, level>
4191 <insn_history, call_history>: New.
4192 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4193 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4194 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4195 (btrace_call_number, btrace_call_begin, btrace_call_end)
4196 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4197 (btrace_find_function_by_number, btrace_set_insn_history)
4198 (btrace_set_call_history): New.
4199 * btrace.c (btrace_init_insn_iterator)
4200 (btrace_init_func_iterator, compute_itrace): Remove.
4201 (ftrace_print_function_name, ftrace_print_filename)
4202 (ftrace_skip_file): Change
4203 parameter to const.
4204 (ftrace_init_func): Remove.
4205 (ftrace_debug): Use new btrace_function fields.
4206 (ftrace_function_switched): Also consider gaining and
4207 losing symbol information).
4208 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4209 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4210 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4211 New.
4212 (ftrace_new_function): Move. Remove debug print.
4213 (ftrace_update_lines, ftrace_update_insns): New.
4214 (ftrace_update_function): Check for call, ret, and jump.
4215 (compute_ftrace): Renamed to ...
4216 (btrace_compute_ftrace): ...this. Rewritten to compute call
4217 stack.
4218 (btrace_fetch, btrace_clear): Updated.
4219 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4220 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4221 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4222 (btrace_call_number, btrace_call_begin, btrace_call_end)
4223 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4224 (btrace_find_function_by_number, btrace_set_insn_history)
4225 (btrace_set_call_history): New.
4226 * record-btrace.c (require_btrace): Use new btrace thread
4227 info fields.
4228 (record_btrace_info, btrace_insn_history)
4229 (record_btrace_insn_history, record_btrace_insn_history_range):
4230 Use new btrace thread info fields and new iterator.
4231 (btrace_func_history_src_line): Rename to ...
4232 (btrace_call_history_src_line): ...this. Use new btrace
4233 thread info fields.
4234 (btrace_func_history): Rename to ...
4235 (btrace_call_history): ...this. Use new btrace thread info
4236 fields and new iterator.
4237 (record_btrace_call_history, record_btrace_call_history_range):
4238 Use new btrace thread info fields and new iterator.
4239
4240 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4241
4242 * frame.h (frame_id_build_unavailable_stack_special): New.
4243 * frame.c (frame_id_build_unavailable_stack_special): New.
4244
4245 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4246
4247 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4248 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4249 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4250 to gdbarch.
4251 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4252 (i386_insn_is_jump, i386_jmp_p): New.
4253 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4254 insn_is_jump to gdbarch.
4255 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4256 * gdbarch.h: Regenerated.
4257 * gdbarch.c: Regenerated.
4258 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4259 (default_insn_is_jump): New.
4260 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4261 (default_insn_is_jump): New.
4262
4263 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4264
4265 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4266 Change to ...
4267 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4268 (btrace_read_type) <btrace_read_new>: Change to ...
4269 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4270
4271 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4272
4273 * common/linux-btrace.c (linux_read_btrace): Free trace from
4274 previous iteration.
4275
4276 2014-01-15 Doug Evans <dje@google.com>
4277
4278 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4279 uint32_t.
4280
4281 2014-01-15 Tom Tromey <tromey@redhat.com>
4282
4283 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4284 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4285 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4286 (set_objfile_main_name): New function.
4287 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4288 language_of_main>: New fields.
4289 (set_objfile_main_name): Declare.
4290 * symtab.c (find_main_name): Loop over objfiles to find the main
4291 name and language.
4292 (set_main_name): Now static.
4293 (get_main_info): Add comment.
4294 * symtab.h (set_main_name): Don't declare.
4295
4296 2014-01-15 Tom Tromey <tromey@redhat.com>
4297
4298 * symtab.c (main_progspace_key): New global.
4299 (struct main_info): New.
4300 (name_of_main, language_of_main): Remove.
4301 (get_main_info, main_info_cleanup): New function.
4302 (set_main_name, main_name, main_language): Use get_main_info.
4303 (_initialize_symtab): Initialize main_progspace_key.
4304
4305 2014-01-15 Tom Tromey <tromey@redhat.com>
4306
4307 * dbxread.c (process_one_symbol): Update.
4308 * dwarf2read.c (read_partial_die): Update.
4309 * symfile.c (set_initial_language): Call main_language.
4310 * symtab.c (language_of_main): Now static.
4311 (set_main_name): Add 'lang' parameter.
4312 (find_main_name): Update.
4313 (main_language): New function.
4314 (symtab_observer_executable_changed): Update.
4315 * symtab.h (set_main_name): Update.
4316 (language_of_main): Remove.
4317 (main_language): Declare.
4318
4319 2014-01-15 Tom Tromey <tromey@redhat.com>
4320
4321 * symfile.c (init_entry_point_info): Use new "initialized" field.
4322 Update.
4323 * objfiles.h (struct entry_point) <initialized>: New field.
4324 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4325 (struct objfile) <ei>: ...here. Remove.
4326 * objfiles.c (entry_point_address_query): Update.
4327
4328 2014-01-15 Tom Tromey <tromey@redhat.com>
4329
4330 * objfiles.c (entry_point_address_query): Relocate entry point
4331 address.
4332 (objfile_relocate1): Do not relocate entry point address.
4333 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4334 <the_bfd_section_index>: New field.
4335 * symfile.c (init_entry_point_info): Find the entry point's
4336 section.
4337
4338 2014-01-15 Tom Tromey <tromey@redhat.com>
4339
4340 * solib-frv.c (enable_break): Use entry_point_address_query.
4341
4342 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4343
4344 * NEWS: Add note on improved process record-replay on
4345 arm*-linux* targets.
4346
4347 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4348
4349 * arm-tdep.c (enum arm_record_result): New enum.
4350 (arm_record_unsupported_insn): New function.
4351 (arm_record_coproc_data_proc): Removed.
4352 (thumb2_record_ld_st_multiple): New function.
4353 (thumb2_record_ld_st_dual_ex_tbb): New function.
4354 (thumb2_record_data_proc_sreg_mimm): New function.
4355 (thumb2_record_ps_dest_generic): New function.
4356 (thumb2_record_branch_misc_cntrl): New function.
4357 (thumb2_record_str_single_data): New function.
4358 (thumb2_record_ld_mem_hints): New function.
4359 (thumb2_record_ld_word): New function.
4360 (thumb2_record_lmul_lmla_div): New function.
4361 (thumb2_record_decode_insn_handler): New function.
4362 (decode_insn): Add thumb32 instruction handlers.
4363
4364 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4365
4366 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4367 (struct arm_linux_record_tdep): Declare.
4368 (arm_canonicalize_syscall): New function.
4369 (arm_all_but_pc_registers_record): New function.
4370 (arm_linux_syscall_record): New function.
4371 (arm_linux_init_abi): Add syscall recording constructs.
4372 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4373 decoding. (arm_record_coproc_data_proc): Update arm syscall
4374 decoding.
4375 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4376 <arm_syscall_record>: New field.
4377 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4378 gdb_target_obs.
4379
4380 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4381
4382 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4383 register for push instruction recording.
4384
4385 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4386
4387 * arm-tdep.c (thumb_record_misc): Update to correct logical
4388 error while recording ldm, ldmia and pop instructions.
4389
4390 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4391
4392 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4393
4394 2014-01-15 Pedro Alves <palves@redhat.com>
4395
4396 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4397 (go32_resume, go32_fetch_registers, store_register)
4398 (go32_store_registers, go32_prepare_to_store)
4399 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4400 (go32_create_inferior, go32_can_run, go32_terminal_init)
4401 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4402 declarations.
4403
4404 2014-01-15 Tom Tromey <tromey@redhat.com>
4405
4406 * target.h (async_callback_ftype): New typedef.
4407 (struct target_ops) <to_async>: Use it.
4408
4409 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4410
4411 * python/py-value.c (get_field_type): Remove unnecessary curly
4412 braces for single-statement if block.
4413
4414 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4415
4416 * python/py-type.c (convert_field): Add missing empty line
4417 after declarations.
4418
4419 2014-01-14 Doug Evans <dje@google.com>
4420
4421 * symfile.h (expand_symtabs_matching): Renamed from
4422 expand_partial_symbol_names. Update prototype.
4423 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4424 * symfile.c (expand_symtabs_matching): Renamed from
4425 expand_partial_symbol_names. New args file_matcher, kind.
4426 Rename arg fun to symbol_matcher.
4427 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4428 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4429 ada_expand_partial_symbol_name.
4430 (ada_make_symbol_completion_list): Update to call
4431 expand_symtabs_matching.
4432 (ada_add_global_exceptions): Call expand_symtabs_matching.
4433 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4434 call map_symbol_filenames.
4435 * symtab.c (sources_info): Update to call map_symbol_filenames.
4436 (search_symbols): Call expand_symtabs_matching.
4437 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4438 (default_make_symbol_completion_list_break_on): Update to call
4439 expand_symtabs_matching.
4440 (make_source_files_completion_list): Update to call
4441 map_symbol_filenames.
4442
4443 2014-01-14 Doug Evans <dje@google.com>
4444
4445 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4446 (expand_symtabs_symbol_matcher_ftype): New typedef.
4447 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4448 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4449 * symfile.c (expand_partial_symbol_names): Update to use
4450 expand_symtabs_symbol_matcher_ftype.
4451 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4452 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4453 Arg name_matcher renamed to symbol_matcher.
4454 * psymtab.c (recursively_search_psymtabs): Update to use
4455 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4456 sym_matcher.
4457 (expand_symtabs_matching_via_partial): Update to use
4458 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4459 Arg name_matcher renamed to symbol_matcher.
4460
4461 2014-01-14 Doug Evans <dje@google.com>
4462
4463 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4464 (map_partial_symbol_filenames): Ditto.
4465 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4466 (map_partial_symbol_filenames): Ditto.
4467 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4468 (map_partial_symbol_filenames): Ditto.
4469 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4470 (map_partial_symbol_filenames): Ditto.
4471 * symtab.c: Delete #include "psymtab.h".
4472
4473 2014-01-14 Pedro Alves <palves@redhat.com>
4474 Tom Tromey <tromey@redhat.com>
4475
4476 * infrun.c (use_displaced_stepping): Use find_record_target
4477 instead of RECORD_IS_USED.
4478 (adjust_pc_after_break): Use record_full_is_used instead of
4479 RECORD_IS_USED.
4480 * record-btrace.c (record_btrace_open): Call record_preopen
4481 instead of checking RECORD_IS_USED.
4482 * record-full.c (record_full_shortname)
4483 (record_full_core_shortname): New globals.
4484 (record_full_is_used): New function.
4485 (find_full_open): Call record_preopen instead of checking
4486 RECORD_IS_USED.
4487 (init_record_full_ops): Set the target's shortname to
4488 record_full_shortname.
4489 (init_record_full_core_ops): Set the target's shortname to
4490 record_full_core_shortname.
4491 * record-full.h (record_full_is_used): Declare.
4492 * record.c (find_record_target): Make extern.
4493 (record_preopen): New function.
4494 * record.h (RECORD_IS_USED): Delete macro.
4495 (find_record_target, record_preopen): Declare functions.
4496
4497 2014-01-14 Yao Qi <yao@codesourcery.com>
4498
4499 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4500 'len''s type to ULONGEST.
4501 (core_xfer_shared_libraries_aix): Likewise.
4502 * gdbarch.c, gdbarch.h: Regenerated.
4503 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4504 Change type of 'len' to ULONGEST.
4505 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4506 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4507
4508 2014-01-14 Yao Qi <yao@codesourcery.com>
4509
4510 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4511 type of 'len' to ULONGEST.
4512 (linux_xfer_osdata_processgroups): Likewise.
4513 (linux_xfer_osdata_threads): Likewise.
4514 (linux_xfer_osdata_fds): Likewise.
4515 (linux_xfer_osdata_isockets): Likewise.
4516 (linux_xfer_osdata_shm): Likewise.
4517 (linux_xfer_osdata_sem): Likewise.
4518 (linux_xfer_osdata_msg): Likewise.
4519 (linux_common_xfer_osdata): Likewise.
4520 (struct osdata_type) <getter>: Likewise.
4521 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4522 the declaration.
4523
4524 2014-01-14 Yao Qi <yao@codesourcery.com>
4525
4526 * target.h (target_xfer_partial_ftype): Update.
4527 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4528 ULONGEST.
4529 * aix-thread.c (aix_thread_xfer_partial): Change type of
4530 argument 'len' to ULONGEST.
4531 * auxv.c (procfs_xfer_auxv): Likewise.
4532 (ld_so_xfer_auxv): Likewise.
4533 (memory_xfer_auxv): Likewise.
4534 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4535 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4536 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4537 * corelow.c (core_xfer_partial): Likewise.
4538 * ctf.c (ctf_xfer_partial): Likewise.
4539 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4540 '%u'.
4541 (darwin_read_dyld_info): Likewise.
4542 (darwin_xfer_partial): Likewise.
4543 * exec.c (section_table_xfer_memory_partial): Likewise.
4544 (exec_xfer_partial): Likewise.
4545 * exec.h (section_table_xfer_memory_partial): Update
4546 declaration.
4547 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4548 instead of plongest.
4549 (gnu_xfer_partial): Likewise.
4550 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4551 (ia64_hpux_xfer_solib_got): Likewise.
4552 (ia64_hpux_xfer_partial): Likewise.
4553 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4554 * inf-ptrace.c (inf_ptrace_xfer_partial):
4555 * inf-ttrace.c (inf_ttrace_xfer_partial):
4556 * linux-nat.c (linux_xfer_siginfo): Likewise.
4557 (linux_nat_xfer_partial): Likewise.
4558 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4559 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4560 * monitor.c (monitor_xfer_memory): Likewise.
4561 (monitor_xfer_partial): Likewise.
4562 * procfs.c (procfs_xfer_partial): Likewise.
4563 * record-full.c (record_full_xfer_partial): Likewise.
4564 (record_full_core_xfer_partial): Likewise.
4565 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4566 instead of plongest.
4567 (gdbsim_xfer_partial): Likewise.
4568 * remote.c (remote_xfer_partial): Likewise.
4569 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4570 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4571 declaration.
4572 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4573 (rs6000_xfer_shared_libraries): Likewise.
4574 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4575 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4576 (sparc_xfer_partial): Likewise.
4577 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4578 (spu_xfer_partial): Likewise.
4579 * spu-multiarch.c (spu_xfer_partial): Likewise.
4580 * target.c (target_read_live_memory): Likewise.
4581 (memory_xfer_live_readonly_partial): Likewise.
4582 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4583 (target_xfer_partial, default_xfer_partial): Likewise.
4584 (current_xfer_partial): Likewise.
4585 * tracepoint.c (tfile_xfer_partial): Likewise.
4586 * windows-nat.c (windows_xfer_memory): Likewise. Call
4587 pulongest instead of plongest.
4588 (windows_xfer_partial): Likewise.
4589 (windows_xfer_shared_libraries): Likewise.
4590
4591 2014-01-14 Yao Qi <yao@codesourcery.com>
4592
4593 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4594 target_xfer_partial_ftype.
4595
4596 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4597
4598 PR python/15464
4599 PR python/16113
4600 * valops.c (value_struct_elt_bitpos): New function
4601 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4602 object to 'None' if the field name is an empty string ("").
4603 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4604 attribute to look for a field when 'name' is 'None'.
4605 (get_field_type): New function
4606
4607 2014-01-13 Doug Evans <dje@google.com>
4608
4609 PR symtab/16426
4610 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4611 (try_open_dwop_file): Ditto.
4612 * gdb_bfd.c: #include "vec.h".
4613 (bfdp): New typedef.
4614 (struct gdb_bfd_data): New member included_bfds.
4615 (gdb_bfd_unref): Unref all included bfds.
4616 (gdb_bfd_record_inclusion): New function.
4617 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4618
4619 2014-01-13 Tom Tromey <tromey@redhat.com>
4620
4621 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4622
4623 2014-01-13 Tom Tromey <tromey@redhat.com>
4624
4625 * defs.h (use_windows): Remove.
4626 * gdb.c (main): Update.
4627 * main.c (captured_main, gdb_main): Update.
4628 * main.h (struct captured_main_args) <use_windows>: Remove.
4629 * top.c (use_windows): Remove.
4630
4631 2014-01-13 Tom Tromey <tromey@redhat.com>
4632
4633 * defs.h (deprecated_flush_hook): Remove.
4634
4635 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4636
4637 PR threads/16216
4638 * linux-thread-db.c (try_thread_db_load): Add parameter
4639 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4640 (try_thread_db_load_from_pdir_1): Move it there from here.
4641 (try_thread_db_load_from_sdir): Update caller.
4642 (try_thread_db_load_from_dir): Move it there from here.
4643
4644 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4645
4646 * regformats/regdat.sh: Always rewrite the register file.
4647
4648 2014-01-13 Pedro Alves <palves@redhat.com>
4649
4650 * Makefile.in (CHECK_HEADERS): New variable.
4651 (check-headers:): New rule.
4652
4653 2014-01-13 Tom Tromey <tromey@redhat.com>
4654
4655 * cli/cli-setshow.c (do_set_command): Update.
4656 * defs.h (deprecated_set_hook): Remove.
4657 * top.c (deprecated_set_hook): Remove.
4658
4659 2014-01-13 Pedro Alves <palves@redhat.com>
4660
4661 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4662 the tracepoint if the PC is a pseudo-register.
4663
4664 2014-01-13 Tom Tromey <tromey@redhat.com>
4665
4666 * defs.h (XCALLOC): Remove.
4667 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4668 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4669 * dwarf2loc.c (allocate_piece_closure): Likewise.
4670 * elfread.c (elf_symfile_segments): Likewise.
4671 (elf_symfile_segments): Likewise.
4672 * gdbtypes.c (copy_type_recursive): Likewise.
4673 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4674 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4675 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4676 XCALLOC.
4677 * mt-tdep.c (mt_gdbarch_init): Likewise.
4678 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4679 XCALLOC.
4680 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4681 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4682 * registry.c (registry_alloc_data): Likewise.
4683 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4684 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4685 * serial.c (serial_fdopen_ops): Likewise.
4686 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4687 XCALLOC.
4688 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4689 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4690 not XCALLOC.
4691
4692 2014-01-13 Tom Tromey <tromey@redhat.com>
4693
4694 * defs.h (XMALLOC): Remove.
4695 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4696 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4697 * cli-out.c (struct ui_out *): Likewise.
4698 * cli/cli-dump.c (add_dump_command): Likewise.
4699 (add_dump_command): Likewise.
4700 * complaints.c (get_complaints): Likewise.
4701 (find_complaint): Likewise.
4702 * dwarf2-frame.c (execute_cfa_program): Likewise.
4703 * dwarf2read.c (abbrev_table_read_table): Likewise.
4704 * gdbarch.sh: Likewise.
4705 * gdbarch.c: Rebuild.
4706 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4707 * interps.c (interp_new): Likewise.
4708 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4709 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4710 * mi/mi-console.c (mi_console_file_new): Likewise.
4711 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4712 * mi/mi-out.c (mi_out_new): Likewise.
4713 * mi/mi-parse.c (mi_parse): Likewise.
4714 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4715 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4716 * observer.c (xalloc_observer_list_node): Likewise.
4717 * regcache.c (regcache_xmalloc_1): Likewise.
4718 * reggroups.c (reggroup_new): Likewise.
4719 (_initialize_reggroup): Likewise.
4720 * registry.c (register_data_with_cleanup): Likewise.
4721 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4722 * ser-base.c (serial_ttystate): Likewise.
4723 * ser-mingw.c (make_pipe_state): Likewise.
4724 * ser-pipe.c (pipe_open): Likewise.
4725 * serial.c (serial_open): Likewise.
4726 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4727 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4728 (tui_alloc_win_info): Likewise.
4729 (tui_add_content_elements): Likewise.
4730 * tui/tui-file.c (tui_file_new): Likewise.
4731 * tui/tui-out.c (tui_out_new): Likewise.
4732 * ui-file.c (mem_file_new): Likewise.
4733 * ui-out.c (push_level): Likewise.
4734 (make_cleanup_ui_out_end): Likewise.
4735 (append_header_to_list): Likewise.
4736 (ui_out_new): Likewise.
4737 * user-regs.c (user_reg_add_builtin): Likewise.
4738
4739 2014-01-13 Tom Tromey <tromey@redhat.com>
4740
4741 * defs.h (XZALLOC): Remove.
4742 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4743 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4744 (get_ada_tasks_inferior_data): Likewise.
4745 * auto-load.c (get_auto_load_pspace_data): Likewise.
4746 * auxv.c (get_auxv_inferior_data): Likewise.
4747 * bfd-target.c (target_bfd_reopen): Likewise.
4748 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4749 (deprecated_insert_raw_breakpoint): Likewise.
4750 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4751 * corelow.c (core_open): Likewise.
4752 * darwin-nat.c (darwin_check_new_threads): Likewise.
4753 (darwin_attach_pid): Likewise.
4754 * dummy-frame.c (dummy_frame_push): Likewise.
4755 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4756 * dwarf2loc.c (allocate_piece_closure): Likewise.
4757 * elfread.c (elf_symfile_segments): Likewise.
4758 * eval.c (ptrmath_type_p): Likewise.
4759 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4760 * gdbtypes.c (alloc_type_arch): Likewise.
4761 (alloc_type_instance): Likewise.
4762 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4763 * inf-child.c (inf_child_can_use_agent): Likewise.
4764 * inflow.c (get_inflow_inferior_data): Likewise.
4765 * infrun.c (save_infcall_suspend_state): Likewise.
4766 * jit.c (jit_reader_load): Likewise.
4767 (get_jit_objfile_data): Likewise.
4768 (get_jit_program_space_data): Likewise.
4769 (jit_object_open_impl): Likewise.
4770 (jit_symtab_open_impl): Likewise.
4771 (jit_block_open_impl): Likewise.
4772 (jit_frame_sniffer): Likewise.
4773 * linux-fork.c (add_fork): Likewise.
4774 * maint.c (make_command_stats_cleanup): Likewise.
4775 * objfiles.c (get_objfile_pspace_data): Likewise.
4776 * opencl-lang.c (struct lval_closure): Likewise.
4777 * osdata.c (osdata_start_osdata): Likewise.
4778 * progspace.c (new_address_space): Likewise.
4779 (add_program_space): Likewise.
4780 * remote-sim.c (get_sim_inferior_data): Likewise.
4781 * sh-tdep.c (sh_gdbarch_init): Likewise.
4782 * skip.c (Ignore): Likewise.
4783 (skip_delete_command): Likewise.
4784 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4785 (library_list_start_library): Likewise.
4786 (solib_aix_current_sos): Likewise.
4787 * solib-darwin.c (get_darwin_info): Likewise.
4788 (darwin_current_sos): Likewise.
4789 * solib-dsbt.c (get_dsbt_info): Likewise.
4790 * solib-ia64-hpux.c (new_so_list): Likewise.
4791 (ia64_hpux_get_solib_linkage_addr): Likewise.
4792 * solib-spu.c (append_ocl_sos): Likewise.
4793 (spu_current_sos): Likewise.
4794 * solib-svr4.c (get_svr4_info): Likewise.
4795 (svr4_keep_data_in_core): Likewise.
4796 (library_list_start_library): Likewise.
4797 (svr4_default_sos): Likewise.
4798 (svr4_read_so_list): Likewise.
4799 * solib-target.c (library_list_start_library): Likewise.
4800 (solib_target_current_sos): Likewise.
4801 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4802 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4803 * symfile.c (default_symfile_segments): Likewise.
4804 * target-descriptions.c (tdesc_data_init): Likewise.
4805 (tdesc_create_reg): Likewise.
4806 (struct tdesc_type *): Likewise.
4807 (tdesc_create_vector): Likewise.
4808 (tdesc_set_struct_size): Likewise.
4809 (struct tdesc_type *): Likewise.
4810 (tdesc_free_feature): Likewise.
4811 (tdesc_create_feature): Likewise.
4812 * windows-nat.c (windows_add_thread): Likewise.
4813 (windows_make_so): Likewise.
4814 * xml-support.c (gdb_xml_body_text): Likewise.
4815 (gdb_xml_create_parser_and_cleanup): Likewise.
4816 (xml_process_xincludes): Likewise.
4817 * xml-syscall.c (allocate_syscalls_info): Likewise.
4818 (syscall_create_syscall_desc): Likewise.
4819
4820 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4821
4822 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4823 function, with code from i386_stap_parse_special_token.
4824 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4825 (i386_stap_parse_special_token): Move code to the two functions
4826 above; simplify it.
4827
4828 2014-01-09 Pedro Alves <palves@redhat.com>
4829 Hui Zhu <hui@codesourcery.com>
4830
4831 PR gdb/16101
4832 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4833 bp_err_string. Don't mark the location shlib_disabled if the
4834 error thrown wasn't a generic or memory error. Catch errors
4835 thrown while inserting breakpoints in overlayed code. Output
4836 error message of software breakpoints.
4837 * remote.c (remote_insert_breakpoint): If this breakpoint has
4838 target-side commands but this stub doesn't support Z0 packets,
4839 throw NOT_SUPPORTED_ERROR error.
4840 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4841 * target.h (target_insert_breakpoint): Extend comment.
4842 (target_insert_hw_breakpoint): Add comment.
4843
4844 2014-01-08 Pedro Alves <palves@redhat.com>
4845
4846 * remote.c (remote_add_thread): Add threads silently if starting
4847 up.
4848 (remote_notice_new_inferior): If in all-stop, and starting up,
4849 don't call notice_new_inferior.
4850 (get_current_thread): New function, factored out from ...
4851 (add_current_inferior_and_thread): ... this. Adjust.
4852 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4853 found any thread, then select the remote's current thread as GDB's
4854 current thread too.
4855
4856 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4857
4858 * NEWS: Create a new section for the next release branch.
4859 Rename the section of the current branch, now that it has
4860 been cut.
4861
4862 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4863
4864 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4865 * version.in: Bump version to 7.7.50.DATE-cvs.
4866
4867 2014-01-08 Yao Qi <yao@codesourcery.com>
4868
4869 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4870 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4871 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4872
4873 2014-01-08 Yao Qi <yao@codesourcery.com>
4874
4875 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4876 return value of bfd_get_filename to symbol_file_add_from_bfd.
4877
4878 2014-01-08 Pierre Muller <muller@sourceware.org>
4879
4880 Fix PR16201.
4881 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4882 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4883 to prim_record_mininal_symbol_and_info.
4884 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4885 in call to prim_record_minimal_symbol_and_info.
4886 (read_pe_exported_syms): Set index field of section_data.
4887
4888 2014-01-07 Andrew Pinski <apinski@cavium.com>
4889
4890 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4891 * features/aarch64.c: Regenerate.
4892
4893 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4894
4895 * target.c (return_null): Define.
4896 (update_current_target): Use it instead of return_zero for
4897 functions that return a pointer.
4898
4899 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4900
4901 * source.c (add_path): Fix check for duplicated paths in the previously
4902 included paths.
4903
4904 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4905
4906 * ada-lang.c: Remove duplicated include statements.
4907 * alphabsd-nat.c: Ditto.
4908 * amd64-darwin-tdep.c: Ditto.
4909 * amd64fbsd-nat.c: Ditto.
4910 * auto-load.c: Ditto.
4911 * ax-gdb.c: Ditto.
4912 * breakpoint.c: Ditto.
4913 * dbxread.c: Ditto.
4914 * fork-child.c: Ditto.
4915 * gdb_usleep.c: Ditto.
4916 * i386-darwin-tdep.c: Ditto.
4917 * i386fbsd-nat.c: Ditto.
4918 * infcmd.c: Ditto.
4919 * inferior.c: Ditto.
4920 * jv-lang.c: Ditto.
4921 * linux-nat.c: Ditto.
4922 * linux-tdep.c: Ditto.
4923 * m68kbsd-nat.c: Ditto.
4924 * m68klinux-nat.c: Ditto.
4925 * microblaze-tdep.c: Ditto.
4926 * mips-linux-tdep.c: Ditto.
4927 * mn10300-tdep.c: Ditto.
4928 * nto-tdep.c: Ditto.
4929 * opencl-lang.c: Ditto.
4930 * osdata.c: Ditto.
4931 * printcmd.c: Ditto.
4932 * regcache.c: Ditto.
4933 * remote-m32r-sdi.c: Ditto.
4934 * remote.c: Ditto.
4935 * symfile.c: Ditto.
4936 * symtab.c: Ditto.
4937 * tilegx-linux-nat.c: Ditto.
4938 * tilegx-tdep.c: Ditto.
4939 * tracepoint.c: Ditto.
4940 * valops.c: Ditto.
4941 * vaxbsd-nat.c: Ditto.
4942 * windows-nat.c: Ditto.
4943 * xtensa-tdep.c: Ditto.
4944
4945 2014-01-07 Yao Qi <yao@codesourcery.com>
4946
4947 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4948
4949 2014-01-07 Yao Qi <yao@codesourcery.com>
4950 Joel Brobecker <brobecker@adacore.com>
4951
4952 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4953 (pdc_write_regs): Likewise.
4954 (fetch_regs_kernel_thread): Likewise.
4955 (store_regs_kernel_thread): Likewise.
4956
4957 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4958
4959 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4960 tagged type objects to their actual type.
4961
4962 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4963
4964 * ada-valprint.c (print_field_values): Add "language" parameter.
4965 Update calls to print_field_values and print_variant_part.
4966 Pass new parameter "language" in call to val_print instead
4967 of "current_language". Replace call to ada_val_print by call
4968 to val_print.
4969 (print_variant_part): Add "language" parameter.
4970 (ada_val_print_struct_union): Update call to print_field_values.
4971
4972 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4973
4974 * ada-valprint.c (ui_memcpy): Delete.
4975 (ada_print_floating): Update documentation. Add empty line
4976 between between function documentation and implementation.
4977 Delete variable "buffer". Use ui_file_xstrdup in place of
4978 ui_file_put. Minor adjustments following this change.
4979
4980 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4981
4982 * ada-valprint.c (ada_val_print_string): New function,
4983 extracted from ada_val_print_array.
4984 (ada_val_print_array): Replace extracted code by call
4985 to ada_val_print_string followed by a return. Move
4986 "else" branch to the function's top block.
4987
4988 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4989
4990 * ada-valprint.c (ada_val_print_array): Move implementation
4991 down. Rename parameter "offset" and "val" into "offset_aligned"
4992 and "original_value" respectively. Add parameter "offset".
4993
4994 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4995
4996 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4997 re-organizing the code. Change the "???" message printed
4998 when target type is a TYPE_CODE_UNDEF into
4999 "<ref to undefined type>".
5000
5001 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5002
5003 * ada-valprint.c (print_record): Delete, implementation inlined...
5004 (ada_val_print_struct_union): ... here. Remove call to
5005 ada_check_typedef in inlined implementation.
5006
5007 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5008
5009 * ada-valprint.c (ada_val_print_gnat_array): New function,
5010 extracted from ada_val_print_1;
5011 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5012 (ada_val_print_flt, ada_val_print_struct_union)
5013 (ada_val_print_ref): Likewise.
5014 (ada_val_print_1): Delete variables i and elttype.
5015 Replace extracted-out code by call to corresponding
5016 new functions.
5017
5018 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5019
5020 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5021
5022 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5023
5024 * ada-valprint.c (ada_val_print_1): Replace calls to
5025 ada_val_print_1 by calls to val_print.
5026
5027 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5028
5029 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5030 Update calls to self accordingly. Replace calls to c_val_print
5031 by calls to val_print.
5032
5033 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5034
5035 * ada-valprint.c (print_record): Delete declaration.
5036 (adjust_type_signedness, ada_val_print_1): Likewise.
5037 (ada_val_print): Move function implementation down.
5038 (print_variant_part, print_field_values, print_record):
5039 Move function implementation up.
5040
5041 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5042
5043 * python/py-type.c (typy_get_name): New function.
5044 (type_object_getset): Add entry for attribute "name".
5045 * NEWS: Add entry mentioning this new attribute.
5046
5047 2014-01-07 Yao Qi <yao@codesourcery.com>
5048
5049 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5050 statement.
5051
5052 2014-01-07 Yao Qi <yao@codesourcery.com>
5053
5054 * gnu-nat.c (info_port_rights): Add qualifier const to
5055 argument args.
5056
5057 2014-01-07 Yao Qi <yao@codesourcery.com>
5058
5059 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5060
5061 2014-01-07 Yao Qi <yao@codesourcery.com>
5062
5063 * gnu-nat.c (make_inf) Update declaration.
5064 (make_inf): Make it static.
5065 (inf_set_traced): Likewise.
5066 (inf_port_to_thread, inf_task_died_status): Likewise.
5067
5068 2014-01-07 Yao Qi <yao@codesourcery.com>
5069
5070 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5071
5072 2014-01-07 Yao Qi <yao@codesourcery.com>
5073
5074 * gnu-nat.c (_initialize_gnu_nat): Declare.
5075
5076 2014-01-07 Yao Qi <yao@codesourcery.com>
5077
5078 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5079 'enum bfd_endian'.
5080 (struct gdbarch_info) <byte_order>: Change type to
5081 'enum bfd_endian'.
5082 <byte_order_for_code>: Likewise.
5083 * gdbarch.c, gdbarch.h: Regenerated.
5084
5085 2014-01-06 Sasha Smundak <asmundak@google.com>
5086
5087 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5088
5089 2014-01-06 Tom Tromey <tromey@redhat.com>
5090
5091 * doublest.c (convert_doublest_to_floatformat): Use const, not
5092 CONST.
5093 * somread.c (som_symtab_read): Likewise.
5094
5095 2014-01-07 Hui Zhu <hui@codesourcery.com>
5096
5097 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5098 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5099 (gdb_bfd_fopen): Ditto.
5100 (gdb_bfd_openr): Ditto.
5101 (gdb_bfd_openw): Ditto.
5102 (gdb_bfd_openr_iovec): Ditto.
5103 (gdb_bfd_fdopenr): Ditto.
5104 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5105 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5106 with xstrdup.
5107 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5108 with xstrdup.
5109 * symfile-mem.c (symbol_file_add_from_memory): Removed
5110 gdb_bfd_stash_filename.
5111
5112 2014-01-03 Doug Evans <dje@google.com>
5113
5114 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5115 output.
5116
5117 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5118
5119 Update year range in copyright notice of all files.
5120
5121 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5122
5123 * top.c (print_gdb_version): Set copyright year to 2014.
5124
5125 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5126
5127 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5128
5129 For older changes see ChangeLog-2013.
5130 \f
5131 Local Variables:
5132 mode: change-log
5133 left-margin: 8
5134 fill-column: 74
5135 version-control: never
5136 coding: utf-8
5137 End:
This page took 0.181734 seconds and 5 git commands to generate.