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