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