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