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