Installing a breakpoint on top of a dprintf makes GDB lose control.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-06-02 Pedro Alves <palves@redhat.com>
2
3 * breakpoint.c (build_target_command_list): Don't build a command
4 list if we have any duplicate location that isn't a dprintf.
5
6 2014-06-02 Pedro Alves <palves@redhat.com>
7
8 * breakpoint.c (dprintf_breakpoint_hit): New function.
9 (initialize_breakpoint_ops): Install it as dprintf's
10 breakpoint_hit method.
11
12 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13
14 * source.c (substitute_path_rule_matches): Simplify using
15 filename_ncmp instead of FILENAME_CMP.
16
17 2014-06-02 Joel Brobecker <brobecker@adacore.com>
18
19 * source.c (substitute_path_rule_matches): Remove trailing spaces.
20
21 2014-06-01 Ludovic Courtès <ludo@gnu.org>
22
23 * configure.ac: When Guile is available, check for the
24 availability of 'scm_new_smob'.
25 * configure, config.h.in: Regenerate.
26 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
27 function.
28
29 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
30
31 * frame.c (struct frame_info): Add stop_string field.
32 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
33 (get_prev_frame_always): Old content moved into
34 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
35 TRY_CATCH, handle MEMORY_ERROR exceptions.
36 (frame_stop_reason_string): New function definition.
37 * frame.h (unwind_stop_reason_to_string): Extend comment to
38 mention frame_stop_reason_string.
39 (frame_stop_reason_string): New function declaration.
40 * stack.c (frame_info): Switch to frame_stop_reason_string.
41 (backtrace_command_1): Switch to frame_stop_reason_string.
42 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
43 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
44 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
45
46 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
47
48 * frame.c (frame_stop_reason_string): Rename to ...
49 (unwind_stop_reason_to_string): this.
50 * frame.h (frame_stop_reason_string): Rename to ...
51 (unwind_stop_reason_to_string): this.
52 * stack.c (frame_info): Update call to frame_stop_reason_string.
53 (backtrace_command_1): Likewise.
54 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
55 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
56
57 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
58
59 * frame.c (remove_prev_frame): New function.
60 (get_prev_frame_if_no_cycle): Create / discard cleanup using
61 remove_prev_frame.
62
63 2014-05-29 Pedro Alves <palves@redhat.com>
64
65 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
66 and make it const. When a single-step decays to a continue,
67 clear 'step', not 'hw_step'. Pass whether the caller wanted
68 to step to user_visible_resume_ptid, not what we ask the
69 target to do.
70
71 2014-05-29 Pedro Alves <palves@redhat.com>
72
73 * infrun.c (process_event_stop_test, handle_step_into_function)
74 (handle_step_into_function_backward): Adjust.
75 Don't set the even thread's stop_step and call stop_waiting before
76 calling end_stepping_range. Instead do that ...
77 (end_stepping_range): ... here. Take an ecs pointer parameter.
78
79 2014-05-29 Pedro Alves <palves@redhat.com>
80
81 * infrun.c (stop_stepping): Rename to ...
82 (stop_waiting): ... this.
83 (proceed): Update comment.
84 (process_event_stop_test, handle_inferior_event)
85 (handle_signal_stop, handle_step_into_function)
86 (handle_step_into_function_backward): Update.
87
88 2014-05-29 Pedro Alves <palves@redhat.com>
89
90 * infcall.c (run_inferior_call): Don't check whether the current
91 thread is running after the proceed call.
92
93 2014-05-29 Pedro Alves <palves@redhat.com>
94 Tom Tromey <tromey@redhat.com>
95
96 * NEWS: Mention "maint set target-async", "set mi-async", and that
97 background execution commands are now always available.
98 * target.h (target_async_permitted): Update comment.
99 * target.c (target_async_permitted, target_async_permitted_1):
100 Default to 1.
101 (set_target_async_command): Rename to ...
102 (maint_set_target_async_command): ... this.
103 (show_target_async_command): Rename to ...
104 (maint_show_target_async_command): ... this.
105 (_initialize_target): Adjust.
106 * infcmd.c (prepare_execution_command): Make extern.
107 * inferior.h (prepare_execution_command): Declare.
108 * infrun.c (set_observer_mode): Leave target async alone.
109 * mi/mi-interp.c (mi_interpreter_init): Install
110 mi_on_sync_execution_done as sync_execution_done observer.
111 (mi_on_sync_execution_done): New function.
112 (mi_execute_command_input_handler): Don't print the prompt if we
113 just started a synchronous command with an async target.
114 (mi_on_resume): Check sync_execution before printing prompt.
115 * mi/mi-main.h (mi_async_p): Declare.
116 * mi/mi-main.c: Include gdbcmd.h.
117 (mi_async_p): New function.
118 (mi_async, mi_async_1): New globals.
119 (set_mi_async_command, show_mi_async_command, mi_async): New
120 functions.
121 (exec_continue): Call prepare_execution_command.
122 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
123 (mi_execute_async_cli_command): Use mi_async_p.
124 (_initialize_mi_main): Install "set mi-async". Make
125 "target-async" a deprecated alias.
126
127 2014-05-29 Pedro Alves <palves@redhat.com>
128
129 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
130 (_initialize_cli_interp): Adjust.
131 * event-loop.c: Include "observer.h".
132 (start_event_loop): Notify 'command_error' observers instead of
133 calling display_gdb_prompt. Remove FIXME comment.
134 * event-top.c (display_gdb_prompt): Remove call into the
135 interpreters.
136 * inf-loop.c: Include "observer.h".
137 (inferior_event_handler): Notify 'command_error' observers instead
138 of calling display_gdb_prompt.
139 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
140 observers instead of calling display_gdb_prompt.
141 * interps.c (interp_set): Don't call display_gdb_prompt.
142 (current_interp_display_prompt_p): Delete.
143 * interps.h (interp_prompt_p): Delete declaration.
144 (interp_prompt_p_ftype): Delete.
145 (struct interp_procs) <prompt_proc_p>: Delete field.
146 (current_interp_display_prompt_p): Delete declaration.
147 * mi-interp.c (mi_interpreter_prompt_p): Delete.
148 (_initialize_mi_interp): Adjust.
149 * tui-interp.c (tui_init): Install 'sync_execution_done' and
150 'command_error' observers.
151 (tui_on_sync_execution_done, tui_on_command_error): New
152 functions.
153 (tui_display_prompt_p): Delete.
154 (_initialize_tui_interp): Adjust.
155
156 2014-05-29 Pedro Alves <palves@redhat.com>
157
158 PR gdb/13860
159 * cli/cli-interp.c: Include infrun.h and observer.h.
160 (cli_uiout, cli_interp): New globals.
161 (cli_on_signal_received, cli_on_end_stepping_range)
162 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
163 functions.
164 (cli_interpreter_init): Install them as 'end_stepping_range',
165 'signal_received' 'signal_exited', 'exited' and 'no_history'
166 observers.
167 (_initialize_cli_interp): Remove cli_interp local.
168 * infrun.c (handle_inferior_event): Call the several stop reason
169 observers instead of printing the stop reason directly.
170 (end_stepping_range): New function.
171 (print_end_stepping_range_reason, print_signal_exited_reason)
172 (print_exited_reason, print_signal_received_reason)
173 (print_no_history_reason): Make static, and add an uiout
174 parameter. Print to that instead of to CURRENT_UIOUT.
175 * infrun.h (print_end_stepping_range_reason)
176 (print_signal_exited_reason, print_exited_reason)
177 (print_signal_received_reason print_no_history_reason): New
178 declarations.
179 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
180 'mi_uiout'.
181 <cli_uiout>: New field.
182 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
183 uiout for CLI output. Install 'signal_received',
184 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
185 observers.
186 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
187 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
188 (mi_on_no_history): New functions.
189 (ui_out_free_cleanup): Delete function.
190 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
191 instead use the one already stored in the MI interpreter data.
192 (mi_ui_out): Adjust.
193 * tui/tui-interp.c: Include infrun.h and observer.h.
194 (tui_interp): New global.
195 (tui_on_signal_received, tui_on_end_stepping_range)
196 (tui_on_signal_exited, tui_on_exited)
197 (tui_on_no_history): New functions.
198 (tui_init): Install them as 'end_stepping_range',
199 'signal_received' 'signal_exited', 'exited' and 'no_history'
200 observers.
201 (_initialize_tui_interp): Delete tui_interp local.
202
203 2014-05-29 Pedro Alves <palves@redhat.com>
204
205 PR gdb/15713
206 * linux-nat.c (linux_nat_resume_callback): Rename the second
207 parameter to 'except'. Skip LP if it points to EXCEPT.
208 (linux_nat_resume): Don't mark the event lwp as not stopped
209 before resuming sibling lwps. Instead ask
210 linux_nat_resume_callback to skip the event lwp. Mark it as not
211 stopped after actually resuming it.
212 (linux_handle_syscall_trap): Mark the lwp as not stopped after
213 resuming it.
214 (wait_lwp): Mark the lwp as stopped here.
215 (stop_wait_callback): Mark the lwp as not stopped right after
216 resuming it. Don't mark lwps as stopped here.
217 (linux_nat_filter_event): Mark the lwp as stopped earlier.
218 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
219
220 2014-05-29 Pedro Alves <palves@redhat.com>
221
222 PR PR15693
223 * infrun.c (resume): Determine how much to resume depending on
224 whether the caller wanted a step, not whether we can hardware step
225 the target. Mark all threads that we intend to run as running,
226 unless we're calling an inferior function.
227 (normal_stop): If the thread is running an infcall, don't finish
228 thread state.
229 * target.c (target_resume): Don't mark threads as running here.
230
231 2014-05-28 Joel Brobecker <brobecker@adacore.com>
232
233 * serial.c (_initialize_serial): Remove support for
234 the "set remotebaud" and "show remotebaud" commands.
235 * NEWS: Add entry documenting the removal of that command.
236
237 2014-05-28 Yao Qi <yao@codesourcery.com>
238
239 * charset.c: Fix typo in comments.
240
241 2014-05-27 Gary Benson <gbenson@redhat.com>
242
243 * utils.c (internal_vproblem): Prompt for a bug report.
244
245 2014-05-26 Andy Wingo <wingo@igalia.com>
246
247 * guile/scm-arch.c (arscm_mark_arch_smob):
248 * guile/scm-block.c (bkscm_mark_block_smob)
249 (bkscm_mark_block_syms_progress_smob):
250 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
251 * guile/scm-exception.c (exscm_mark_exception_smob):
252 * guile/scm-frame.c (frscm_mark_frame_smob):
253 * guile/scm-iterator.c (itscm_mark_iterator_smob):
254 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
255 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
256 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
257 (ppscm_mark_pretty_printer_worker_smob):
258 * guile/scm-symbol.c (syscm_mark_symbol_smob):
259 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
260 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
261 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
262 mark functions.
263 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
264 function.
265
266 2014-05-26 Andy Wingo <wingo@igalia.com>
267 Doug Evans <xdje42@gmail.com>
268
269 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
270 empty_base_class. All uses updated.
271 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
272 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
273 Adapt all callers.
274 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
275 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
276 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
277 (gdbscm_gsmob_has_property_p, add_property_name)
278 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
279 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
280 (gdb-object-has-property?, gdb-object-properties): Remove.
281 (gdb-object-kind): Renamed from gsmob-kind.
282
283 2014-05-26 Andy Wingo <wingo@igalia.com>
284
285 * configure.ac (try_guile_versions): Allow building with guile 2.2.
286 * configure: Regenerate.
287
288 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
289
290 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
291
292 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
293
294 * record-btrace.c (record_btrace_allow_memory_access): Remove.
295 (replay_memory_access_read_only, replay_memory_access_read_write)
296 (replay_memory_access_types, replay_memory_access)
297 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
298 (cmd_set_record_btrace, cmd_show_record_btrace)
299 (cmd_show_replay_memory_access): New.
300 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
301 (record_btrace_remove_breakpoint): Replace
302 record_btrace_allow_memory_access with replay_memory_access.
303 (_initialize_record_btrace): Add commands.
304 * NEWS: Announce it.
305
306 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
307
308 * aarch64-linux-nat.c (asm/ptrace.h): Include.
309
310 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
311
312 * MAINTAINERS (Write After Approval): Move self back from
313 paper trail.
314
315 2014-05-22 Pedro Alves <palves@redhat.com>
316
317 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
318 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
319 (disable_randomization, enum exec_direction_kind)
320 (execution_direction, stop_registers, start_remote)
321 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
322 (wait_for_inferior, normal_stop, get_last_target_status)
323 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
324 (insert_step_resume_breakpoint_at_sal)
325 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
326 (set_step_info, print_stop_event, signal_stop_state)
327 (signal_print_state, signal_pass_state, signal_stop_update)
328 (signal_print_update, signal_pass_update)
329 (update_signals_program_target, clear_exit_convenience_vars)
330 (displaced_step_dump_bytes, update_observer_mode)
331 (signal_catch_update, gdb_signal_from_command): Move
332 declarations ...
333 * infrun.h: ... to this new file.
334 * amd64-tdep.c: Include infrun.h.
335 * annotate.c: Include infrun.h.
336 * arch-utils.c: Include infrun.h.
337 * arm-linux-tdep.c: Include infrun.h.
338 * arm-tdep.c: Include infrun.h.
339 * break-catch-sig.c: Include infrun.h.
340 * breakpoint.c: Include infrun.h.
341 * common/agent.c: Include infrun.h instead of inferior.h.
342 * corelow.c: Include infrun.h.
343 * event-top.c: Include infrun.h.
344 * go32-nat.c: Include infrun.h.
345 * i386-tdep.c: Include infrun.h.
346 * inf-loop.c: Include infrun.h.
347 * infcall.c: Include infrun.h.
348 * infcmd.c: Include infrun.h.
349 * infrun.c: Include infrun.h.
350 * linux-fork.c: Include infrun.h.
351 * linux-nat.c: Include infrun.h.
352 * linux-thread-db.c: Include infrun.h.
353 * monitor.c: Include infrun.h.
354 * nto-tdep.c: Include infrun.h.
355 * procfs.c: Include infrun.h.
356 * record-btrace.c: Include infrun.h.
357 * record-full.c: Include infrun.h.
358 * remote-m32r-sdi.c: Include infrun.h.
359 * remote-mips.c: Include infrun.h.
360 * remote-notif.c: Include infrun.h.
361 * remote-sim.c: Include infrun.h.
362 * remote.c: Include infrun.h.
363 * reverse.c: Include infrun.h.
364 * rs6000-tdep.c: Include infrun.h.
365 * s390-linux-tdep.c: Include infrun.h.
366 * solib-irix.c: Include infrun.h.
367 * solib-osf.c: Include infrun.h.
368 * solib-svr4.c: Include infrun.h.
369 * target.c: Include infrun.h.
370 * top.c: Include infrun.h.
371 * windows-nat.c: Include infrun.h.
372 * mi/mi-interp.c: Include infrun.h.
373 * mi/mi-main.c: Include infrun.h.
374 * python/py-threadevent.c: Include infrun.h.
375
376 2014-05-22 Pedro Alves <palves@redhat.com>
377
378 * infrun.c (handle_inferior_event): Store the exit code for
379 --return-child-result here, instead of ...
380 (print_exited_reason): ... here.
381
382 2014-05-21 Pedro Alves <palves@redhat.com>
383
384 PR gdb/13860
385 * gdbthread.h (struct thread_control_state): New field
386 `command_interp'.
387 * infrun.c (follow_fork): Copy the new thread control field to the
388 child fork thread.
389 (clear_proceed_status_thread): Clear the new thread control field.
390 (proceed): Set the new thread control field.
391 * interps.h (command_interp): Declare.
392 * interps.c (command_interpreter): New global.
393 (command_interp): New function.
394 (interp_exec): Set `command_interpreter' while here.
395 * cli-out.c (cli_uiout_dtor): New function.
396 (cli_ui_out_impl): Install it.
397 * mi/mi-interp.c: Include cli-out.h.
398 (mi_cmd_interpreter_exec): Add comment.
399 (restore_current_uiout_cleanup): New function.
400 (ui_out_free_cleanup): New function.
401 (mi_on_normal_stop): If finishing an execution command started by
402 a CLI command, or any kind of breakpoint-like event triggered,
403 print the stop event to the output (CLI) stream.
404 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
405
406 2014-05-21 Pedro Alves <palves@redhat.com>
407
408 * cli/cli-cmds.c (list_command): Handle the first "list" after the
409 current source line having changed.
410 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
411 * infrun.c (normal_stop): Adjust call to
412 set_current_sal_from_frame.
413 * source.c (clear_lines_listed_range): New function.
414 (set_current_source_symtab_and_line, identify_source_line): Clear
415 the lines listed range.
416 (line_info): Handle the first "info line" after the current source
417 line having changed.
418 * stack.c (print_stack_frame): Remove center handling.
419 (set_current_sal_from_frame): Remove 'center' parameter. Don't
420 center sal.line.
421
422 2014-05-21 Pedro Alves <palves@redhat.com>
423
424 * inf-child.c (inf_child_mourn_inferior): New function.
425 * inf-child.h (inf_child_mourn_inferior): New declaration.
426 * darwin-nat.c (darwin_mourn_inferior): Use
427 inf_child_mourn_inferior.
428 * gnu-nat.c (gnu_mourn_inferior): Likewise.
429 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
430 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
431 * nto-procfs.c (procfs_mourn_inferior): Likewise.
432 * windows-nat.c (windows_mourn_inferior): Likewise.
433
434 2014-05-21 Doug Evans <xdje42@gmail.com>
435
436 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
437
438 2014-05-21 Doug Evans <xdje42@gmail.com>
439
440 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
441 (gdbscm_out_of_range_error): Ditto.
442 (gdbscm_memory_error): Ditto.
443 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
444 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
445 (gdbscm_out_of_range_error): Update.
446 (gdbscm_memory_error): Update.
447 (gdbscm_scm_to_target_string_unsafe): Delete.
448
449 2014-05-21 Pedro Alves <palves@redhat.com>
450
451 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
452 globals.
453 (inf_child_open_target): New function.
454 (inf_child_open): Use inf_child_open_target to push the target
455 instead of erroring out.
456 (inf_child_disconnect, inf_child_close)
457 (inf_child_maybe_unpush_target): New functions.
458 (inf_child_target): Install inf_child_disconnect and
459 inf_child_close. Store a pointer to the returned object.
460 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
461 declarations.
462 * target.c (auto_connect_native_target): New global.
463 (show_default_run_target): New function.
464 (find_default_run_target): Return NULL if automatically connecting
465 to the native target is disabled.
466 (_initialize_target): Install set/show auto-connect-native-target.
467 * NEWS: Mention "set auto-connect-native-target", and "target
468 native".
469 * linux-nat.c (super_close): New global.
470 (linux_nat_close): Call super_close.
471 (linux_nat_add_target): Store a pointer to the base class's
472 to_close method.
473 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
474 inf_child_maybe_unpush.
475 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
476 already pushed.
477 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
478 the inferior. Use inf_child_maybe_unpush_target.
479 (inf_ttrace_attach): Don't push the target if it is already
480 pushed.
481 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
482 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
483 after mourning the inferior. Use inf_child_maybe_unpush_target.
484 (darwin_attach_pid): Don't push the target if it is already
485 pushed.
486 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
487 mourning the inferior. Use inf_child_maybe_unpush_target.
488 (gnu_detach): Use inf_child_maybe_unpush_target.
489 * go32-nat.c (go32_create_inferior): Don't push the target if it
490 is already pushed.
491 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
492 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
493 (procfs_open): Rename to ...
494 (procfs_open_1): ... this. Add target_ops parameter. Adjust
495 comments. Can target_preopen before changing node. Call
496 inf_child_open_target to push the target explicitly.
497 (procfs_attach): Don't push the target if it is already pushed.
498 (procfs_detach): Use inf_child_maybe_unpush_target.
499 (procfs_create_inferior): Don't push the target if it is already
500 pushed.
501 (nto_native_ops): New global.
502 (procfs_open): Reimplement.
503 (procfs_native_open): New function.
504 (init_procfs_targets): Install procfs_native_open as to_open of
505 "target native". Store a pointer to the "native" target in
506 nto_native_ops.
507 * procfs.c (procfs_attach): Don't push the target if it is already
508 pushed.
509 (procfs_detach): Use inf_child_maybe_unpush_target.
510 (procfs_mourn_inferior): Only unpush the target after mourning the
511 inferior. Use inf_child_maybe_unpush_target.
512 (procfs_init_inferior): Don't push the target if it is already
513 pushed.
514 * windows-nat.c (do_initial_windows_stuff): Don't push the target
515 if it is already pushed.
516
517 2014-05-21 Pedro Alves <palves@redhat.com>
518
519 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
520 and "procfs" targets are now called "native" instead.
521
522 2014-05-21 Pedro Alves <palves@redhat.com>
523
524 * go32-nat.c (go32_open): Delete.
525 (go32_target): Don't override the to_open method.
526
527 2014-05-21 Pedro Alves <palves@redhat.com>
528
529 * nto-procfs.c (procfs_can_run): New function.
530 (nto_procfs_ops): New global.
531 (init_procfs_targets): New, based on procfs_target. Install
532 "target native" in addition to "target procfs".
533 (_initialize_procfs): Call init_procfs_targets instead of adding
534 the target here.
535
536 2014-05-21 Pedro Alves <palves@redhat.com>
537
538 * windows-nat.c (windows_target): Don't override to_shortname,
539 to_longname or to_doc.
540
541 2014-05-21 Pedro Alves <palves@redhat.com>
542
543 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
544 to_doc.
545
546 2014-05-21 Pedro Alves <palves@redhat.com>
547
548 * darwin-nat.c (_initialize_darwin_inferior): Don't override
549 to_shortname, to_longname or to_doc.
550
551 2014-05-21 Pedro Alves <palves@redhat.com>
552
553 * go32-nat.c (go32_target): Don't override to_shortname,
554 to_longname or to_doc.
555
556 2014-05-21 Pedro Alves <palves@redhat.com>
557
558 * inf-child.c (inf_child_open): Remove mention of "child".
559 (inf_child_target): Rename target to "native" instead of "child".
560
561 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
562
563 * Makefile.in (SFILES): Delete "regset.c".
564 (COMMON_OBS): Delete "regset.o".
565 * regset.c: Remove.
566 * regset.h (regset_alloc): Delete prototype.
567
568 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
569
570 * sparc-linux-tdep.c (sparc32_linux_gregset)
571 (sparc32_linux_fpregset): New static regset structures.
572 (sparc32_linux_init_abi): Drop dynamic regset allocations.
573 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
574 'fpregset' fields.
575 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
576 (sparc64_linux_fpregset): New static regset structures.
577 (sparc64_linux_init_abi): Drop dynamic regset allocations.
578 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
579 New static regset structures.
580 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
581 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
582 New static regset structures.
583 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
584 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
585 New static regset structures.
586 (sparc64obsd_init_abi): Drop dynamic regset allocations.
587 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
588 New static regset structures.
589 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
590
591 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
592
593 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
594 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
595 register maps ("regmaps") from "*regset" to "*regmap". Do this
596 for all regmap types and variables.
597 * sparc-linux-tdep.c (sparc32_linux_step_trap)
598 (sparc32_linux_supply_core_gregset)
599 (sparc32_linux_collect_core_gregset)
600 (sparc32_linux_supply_core_fpregset)
601 (sparc32_linux_collect_core_fpregset): Likewise.
602 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
603 (sparc_gregmap, sparc_fpregmap): ... these.
604 (sparc_supply_gregset, sparc_collect_gregset)
605 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
606 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
607 (_initialize_sparc_nat): Rename regmaps.
608 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
609 (sparc_gregmap, sparc_fpregmap): ... these.
610 (sparc_supply_gregset, sparc_collect_gregset)
611 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
612 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
613 Rename macros to...
614 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
615 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
616 Likewise.
617 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
618 Rename to...
619 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
620 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
621 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
622 regmaps.
623 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
624 (sparc32_bsd_fpregset): Rename to...
625 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
626 (sparc32_bsd_fpregmap): ... these.
627 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
628 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
629 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
630 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
631 (struct sparc_gregmap, struct sparc_fpregmap)
632 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
633 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
634 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
635 (sparc32_supply_regset, sparc32_collect_gregset)
636 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
637 prototypes.
638 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
639 (sparc64_linux_ptrace_gregmap): ... this.
640 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
641 (_initialize_sparc64_linux_nat): Rename regmaps.
642 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
643 (sparc64_linux_core_gregmap): ... this.
644 (sparc64_linux_supply_core_gregset)
645 (sparc64_linux_collect_core_gregset)
646 (sparc64_linux_supply_core_fpregset)
647 (sparc64_linux_collect_core_fpregset): Rename regmaps.
648 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
649 (sparc64_sol2_fpregset): Rename to...
650 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
651 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
652 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
653 regmaps.
654 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
655 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
656 (sparc64_bsd_fpregset): Rename to...
657 (struct sparc_gregmap, sparc64_sol2_gregmap)
658 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
659 (sparc64_bsd_fpregmap): ... these.
660 (sparc64_supply_gregset, sparc64_collect_gregset)
661 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
662 prototypes.
663 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
664 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
665 (sparc64fbsd_gregmap): ... this.
666 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
667 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
668 Rename regmaps.
669 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
670 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
671 (sparc64nbsd_collect_fpregset): Likewise.
672 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
673 (sparc64nbsd_gregmap): ... this.
674 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
675 regmaps.
676 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
677 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
678 (sparc64obsd_gregmap): ... this.
679 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
680 regmaps.
681 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
682 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
683 (sparc32nbsd_gregmap): ... this.
684 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
685 regmaps.
686
687 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
688
689 * score-tdep.c (score7_linux_gregset): New static regset
690 structure.
691 (score7_linux_regset_from_core_section): Remove dynamic regset
692 allocation.
693 (score_gdbarch_init): Drop allocation of tdep structure.
694 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
695
696 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
697
698 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
699 regset structures.
700 (am33_regset_from_core_section): Remove dynamic regset
701 allocations.
702
703 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
704
705 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
706 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
707 structures.
708 (mips_linux_regset_from_core_section): Remove dynamic regset
709 allocations.
710 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
711 'gregset64', 'fpregset', and 'fpregset64'.
712 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
713 deleted tdep fields.
714
715 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
716
717 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
718 regset structures.
719 (amd64_regset_from_core_section): Remove dynamic regset
720 allocations.
721 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
722 structure.
723 (amd64obsd_regset_from_core_section): Remove dynamic regset
724 allocation.
725 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
726 Likewise.
727 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
728 x86-common regset supply function.
729 * i386-tdep.c (i386_collect_gregset): Make static.
730 (i386_gregset): New global regset structure.
731 (i386_fpregset, i386_xstateregset): New static regset structures.
732 (i386_regset_from_core_section): Remove dynamic regset
733 allocations.
734 (i386_gdbarch_init): Remove initialization of tdep fields
735 'gregset', 'fpregset', and 'xstateregset'.
736 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
737 'fpregset', and 'xstateregset'.
738 (i386_collect_gregset): Remove prototype.
739 (i386_gregset): New declaration.
740 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
741 structure.
742 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
743 allocation.
744
745 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
746
747 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
748 (arm_linux_vfpregset): New static regset structures.
749 (arm_linux_regset_from_core_section): Remove dynamic allocation of
750 regset structures.
751 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
752 and 'vfpregset' fields.
753
754 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
755
756 * aarch64-linux-tdep.c (aarch64_linux_gregset)
757 (aarch64_linux_fpregset): New static regset structures.
758 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
759 of regset structures.
760 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
761 'fpregset' fields.
762
763 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
764
765 * regset.h (struct regset): Remove gdbarch field.
766 * regset.c (regset_alloc): Drop initialization of gdbarch field.
767 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
768 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
769 Likewise.
770 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
771 (ppc32_linux_fpregset, ppc32_linux_vrregset)
772 (ppc32_linux_vsxregset): Likewise.
773 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
774 via the regcache instead of the regset.
775 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
776 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
777 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
778 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
779 Likewise.
780
781 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
782
783 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
784 Constify structures.
785 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
786 (alphanbsd_aout_gregset): Likewise.
787 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
788 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
789 Likewise.
790 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
791 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
792 Likewise.
793 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
794 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
795 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
796 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
797 * m88k-tdep.c (m88k_gregset): Likewise.
798 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
799 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
800 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
801 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
802 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
803 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
804 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
805 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
806 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
807 Likewise.
808 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
809 * sh-tdep.h (sh_corefile_gregset): Likewise.
810 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
811 * vax-tdep.c (vax_gregset): Likewise.
812
813 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
814
815 Fix TLS access for -static -pthread.
816 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
817 (try_thread_db_load_1): Initialize it.
818 (thread_db_get_thread_local_address): Call it if LM is zero.
819 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
820 * target.h (struct target_ops) (to_get_thread_local_address): Add
821 load_module_addr comment.
822
823 2014-05-21 Pedro Alves <palves@redhat.com>
824
825 * dcache.c (dcache_read_memory_partial): If reading the cache line
826 fails, fallback to reading just the memory the caller wanted.
827
828 2014-05-20 Doug Evans <dje@google.com>
829
830 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
831 instead of get_current_arch.
832
833 2014-05-20 Pedro Alves <palves@redhat.com>
834
835 * NEWS: Mention that compare-sections now works with all targets.
836
837 * remote.c (PACKET_qCRC): New enum value.
838 (remote_verify_memory): Don't send qCRC if the target has no
839 execution. Use packet_support/packet_ok. If the target doesn't
840 support the qCRC packet, fallback to a deep memory copy.
841 (compare_sections_command): Say "target image" instead of "remote
842 executable".
843 (_initialize_remote): Add PACKET_qCRC to the list of config
844 packets that have no associated command. Extend comment.
845 * target.c (simple_verify_memory, default_verify_memory): New
846 function.
847 * target.h (struct target_ops) <to_verify_memory>: Default to
848 default_verify_memory.
849 (simple_verify_memory): New declaration.
850 * target-delegates.c: Regenerate.
851
852 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
853
854 * record-btrace.c (record_btrace_step_thread): Check for empty history.
855
856 2014-05-20 Hui Zhu <hui@codesourcery.com>
857 Yao Qi <yao@codesourcery.com>
858
859 PR backtrace/16558
860 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
861 and change address of sp and pc.
862
863 2014-05-19 Tom Tromey <tromey@redhat.com>
864
865 * gdbtypes.c (rank_function): Use XNEWVEC.
866 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
867
868 2014-05-19 Doug Evans <dje@google.com>
869
870 * dwarf2read.c (build_type_psymtabs_1): Renamed from
871 build_type_unit_groups and moved closer to only caller. Remove
872 arguments. All references updated. Remove outdated .gdb_index
873 comment.
874 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
875 build_type_psymtabs_1.
876
877 2014-05-19 Doug Evans <dje@google.com>
878
879 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
880 n_type_unit_groups, all_type_unit_groups. All uses removed.
881 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
882 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
883 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
884 (add_type_unit_group_to_table): Delete.
885
886 2014-05-19 Doug Evans <dje@google.com>
887
888 * eval.c (evaluate_subexp_standard): Add some comments.
889
890 2014-05-17 Doug Evans <xdje42@gmail.com>
891
892 * progspace.c (remove_program_space): Delete, unused.
893 * progspace.h (remove_program_space): Ditto.
894
895 2014-05-17 Doug Evans <xdje42@gmail.com>
896
897 * inferior.c (prune_inferiors): Fix comment.
898 (remove_inferior_command): Call prune_program_spaces.
899
900 2014-05-16 Doug Evans <dje@google.com>
901
902 New command line option -D.
903 * NEWS: Mention it.
904 * main.c (set_gdb_data_directory): New function.
905 (captured_main): Recognize -D. Flag error for --data-directory "".
906 Call set_gdb_data_directory.
907 (print_gdb_help): Print --data-directory, -D.
908 * main.h (set_gdb_data_directory): Declare.
909 * top.c (staged_gdb_datadir): New static global.
910 (set_gdb_datadir): Call set_gdb_data_directory
911 (show_gdb_datadir): New function.
912 (init_main): Update init of data-directory parameter.
913
914 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
915
916 Import the "dirfd" gnulib module.
917 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
918 * gnulib/aclocal.m4: Update.
919 * gnulib/config.in: Update.
920 * gnulib/configure: Update.
921 * gnulib/import/Makefile.am: Update.
922 * gnulib/import/Makefile.in: Update.
923 * gnulib/import/dirfd.c: New.
924 * gnulib/import/m4/dirfd.m4: New.
925 * gnulib/import/m4/gnulib-cache.m4: Update.
926 * gnulib/import/m4/gnulib-comp.m4: Update.
927
928 2014-05-16 Pierre Muller <muller@sourceware.org>
929 Yao Qi <yao@codesourcery.com>
930
931 * valprint.c (print_wchar): Move the code on checking whether
932 W is a printable wide char to the default branch of switch
933 statement below. Call wchar_printable instead of gdb_iswprint.
934
935 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
936
937 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
938 ldr.w and ldrd instructions.
939
940 2014-05-15 Doug Evans <dje@google.com>
941
942 * dwarf2read.c (read_structure_type): Delete outdated comments.
943
944 2014-05-14 Tom Tromey <tromey@redhat.com>
945
946 * macrocmd.c (print_macro_definition): Reindent.
947
948 2014-05-13 Doug Evans <xdje42@gmail.com>
949
950 * python/py-cmd.c (cmdpy_completer): Add comment.
951 (completers): Make const.
952
953 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
954
955 * infrun.c (resume): Remove should_resume (unused). Move up
956 declaration of resume_ptid.
957
958 2014-05-13 Tom Tromey <tromey@redhat.com>
959
960 * language.h (unop_type_check): Remove.
961 (binop_type_check): Don't declare.
962
963 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
964
965 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
966 call to regcache_raw_collect.
967
968 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
969
970 * mi/mi-console.c (mi_console_raw_packet): Use the value from
971 mi_console->quote as the quoting character.
972
973 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
974
975 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
976
977 2014-04-29 Tom Tromey <tromey@redhat.com>
978
979 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
980 "show debug varobj".
981
982 2014-05-07 Kyle McMartin <kyle@redhat.com>
983
984 Pushed by Joel Brobecker <brobecker@adacore.com>.
985 * aarch64-tdep.c (aarch64_software_single_step): New function.
986 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
987 with aarch64_software_single_step.
988
989 2014-05-05 Joel Brobecker <brobecker@adacore.com>
990
991 GDB 7.7.1 released.
992
993 2014-05-05 Keith Seitz <keiths@redhat.com>
994
995 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
996 variable or history value is successfully parsed.
997
998 2014-05-05 Yao Qi <yao@codesourcery.com>
999 Pedro Alves <palves@redhat.com>
1000
1001 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
1002 address of blocks that intersects the requested range. Trim
1003 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
1004 sections.
1005 * ctf.c (ctf_xfer_partial): Likewise.
1006
1007 2014-05-05 Yao Qi <yao@codesourcery.com>
1008
1009 * printcmd.c (display_command): Remove the check to
1010 target_has_execution.
1011
1012 2014-05-03 Mark Kettenis <kettenis@gnu.org>
1013
1014 * ppcobsd-nat.c: Include "obsd-nat.h".
1015 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
1016 add_target.
1017 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1018
1019 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1020
1021 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
1022 and 16-bit signed and unsigned arguments. Update comment.
1023 (stap_parse_probe_arguments): Extend code to handle such
1024 arguments. Use warning instead of complaint to notify about
1025 unrecognized bitness.
1026
1027 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1028
1029 PR breakpoints/16889
1030 * stap-probe.c (stap_parse_probe_arguments): Simplify
1031 check for non-prefixed probes (i.e., probes whose
1032 arguments do not start with "N@"). Always set the
1033 argument type to a sane value.
1034
1035 2014-05-01 David Taylor <dtaylor@emc.com>
1036
1037 * remote.c (compare_sections_command): Add -r option to compare
1038 all loadable read-only sections.
1039
1040 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
1041
1042 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
1043 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
1044 Update all callers.
1045 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
1046 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
1047 Remove unused CORE_ADDR argument. Update all callers.
1048
1049 2014-04-29 Pedro Alves <palves@redhat.com>
1050
1051 * remote.c (struct packet_config) <detect>: Extend comment.
1052 (add_packet_config_cmd): Don't set the config's detect or support
1053 fields here.
1054 (init_all_packet_configs): Also initialize the config's 'detect'
1055 field.
1056 (reset_all_packet_configs_support): New function.
1057 (remote_open_1): Call reset_all_packet_configs_support instead of
1058 init_all_packet_configs.
1059 (_initialize_remote): Initialize all packet configs. Assert that
1060 all packets have an associated command, except a few known
1061 outliers.
1062
1063 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1064
1065 * dwarf2read.c (read_subrange_type): Handle dynamic
1066 DW_AT_lower_bound attributes.
1067
1068 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1069
1070 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
1071 dynamic bounds before computing its upper bound.
1072 (ada_discrete_type_low_bound): Same as above with the lower bound.
1073
1074 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1075
1076 * dwarf2read.c (is_dynamic_type): Return true for dynamic
1077 range types. Adjust the array handling implementation to
1078 take advantage of this change.
1079 (resolve_dynamic_range): New function, mostly extracted from
1080 resolve_dynamic_bounds.
1081 (resolve_dynamic_array): New function, mostly extracted from
1082 resolve_dynamic_bounds.
1083 (resolve_dynamic_bounds): Delete.
1084 (resolve_dynamic_type): Reimplement. Add handling of
1085 TYPE_CODE_RANGE types.
1086
1087 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1088
1089 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
1090 handling of parallel ___XA types.
1091
1092 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1093
1094 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
1095 unnecessary second call to static_unwrap_type.
1096
1097 2014-04-27 Hui Zhu <hui@codesourcery.com>
1098
1099 * stack.c (print_frame_info): Call do_gdb_disassembly with
1100 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
1101
1102 2014-04-26 Doug Evans <xdje42@gmail.com>
1103
1104 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
1105
1106 2014-04-25 Pedro Alves <palves@redhat.com>
1107
1108 PR server/16255
1109 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
1110 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
1111 and newline from built string.
1112 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
1113 (linux_ptrace_attach_fail_reason): ... this.
1114 * linux-nat.c (linux_nat_attach): Adjust to use
1115 linux_ptrace_attach_fail_reason.
1116
1117 2014-04-25 Pedro Alves <palves@redhat.com>
1118
1119 * remote.c (struct remote_state): Remove multi_process_aware,
1120 non_stop_aware, cond_tracepoints, cond_breakpoints,
1121 breakpoint_commands, fast_tracepoints, static_tracepoints,
1122 install_in_trace, disconnected_tracing,
1123 enable_disable_tracepoints, string_tracing, and
1124 augmented_libraries_svr4_read fields.
1125 (remote_multi_process_p): Move further below in the file.
1126 (struct packet_config): Add comments.
1127 (update_packet_config): Delete function.
1128 (show_packet_config_cmd): Use packet_config_support.
1129 (add_packet_config_cmd): Use NULL as set callback.
1130 (packet_ok): "set remote foo-packet"-style commands no longer
1131 change config->supported -- adjust.
1132 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
1133 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
1134 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
1135 (PACKET_QNonStop, PACKET_multiprocess_feature)
1136 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
1137 (PACKET_DisconnectedTracing_feature)
1138 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
1139 (set_remote_protocol_packet_cmd): Delete function.
1140 (packet_config_support, packet_support): New functions.
1141 (set_remote_protocol_Z_packet_cmd): Don't call
1142 update_packet_config.
1143 (remote_query_attached, remote_pass_signals)
1144 (remote_program_signals, remote_threads_info)
1145 (remote_threads_extra_info, remote_start_remote): Use
1146 packet_support.
1147 (remote_start_remote): Use packet_config_support and
1148 packet_support.
1149 (init_all_packet_configs): Set all packets to unknown support,
1150 instead of calling update_packet_config.
1151 (remote_check_symbols): Use packet_support.
1152 (remote_supported_packet): Unconditionally set the packet config's
1153 support status.
1154 (remote_multi_process_feature, remote_non_stop_feature)
1155 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
1156 (remote_breakpoint_commands_feature)
1157 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
1158 (remote_install_in_trace_feature)
1159 (remote_disconnected_tracing_feature)
1160 (remote_enable_disable_tracepoint_feature)
1161 (remote_string_tracing_feature)
1162 (remote_augmented_libraries_svr4_read_feature): Delete functions.
1163 (remote_protocol_features): Adjust to use remote_supported_packet
1164 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
1165 "ConditionalTracepoints", "ConditionalBreakpoints",
1166 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
1167 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
1168 "EnableDisableTracepoints", and "tracenz".
1169 (remote_query_supported): Use packet_support.
1170 (remote_open_1): Adjust.
1171 (extended_remote_attach_1): Use packet_support. Switch on the
1172 result of packet_ok instead of checking whether the packet ended
1173 up disabled.
1174 (remote_vcont_resume): Use packet_support.
1175 (remote_resume, remote_stop_ns, fetch_register_using_p)
1176 (remote_prepare_to_store, store_register_using_P)
1177 (check_binary_download, remote_write_bytes): Use packet_support.
1178 (remote_vkill): Use packet_support. Switch on the result of
1179 packet_ok instead of checking whether the packet ended up
1180 disabled.
1181 (extended_remote_supports_disable_randomization): Use
1182 packet_support.
1183 (extended_remote_run): Switch on the result of packet_ok instead
1184 of checking whether the packet ended up disabled.
1185 (remote_insert_breakpoint, remote_remove_breakpoint)
1186 (remote_insert_watchpoint, remote_remove_watchpoint)
1187 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
1188 packet_support.
1189 (remote_search_memory): Use packet_config_support.
1190 (remote_get_thread_local_address, remote_get_tib_address)
1191 (remote_hostio_send_command, remote_can_execute_reverse): Use
1192 packet_support.
1193 (remote_supports_cond_tracepoints)
1194 (remote_supports_cond_breakpoints)
1195 (remote_supports_fast_tracepoints)
1196 (remote_supports_static_tracepoints)
1197 (remote_supports_install_in_trace)
1198 (remote_supports_enable_disable_tracepoint)
1199 (remote_supports_string_tracing)
1200 (remote_can_run_breakpoint_commands): Rewrite, checking whether
1201 the packet config says the feature is enabled or disabled.
1202 (remote_download_tracepoint, remote_trace_set_readonly_regions)
1203 (remote_get_trace_status): Use packet_support.
1204 (remote_set_disconnected_tracing): Adjust to check whether the
1205 feature is enabled with packet_support.
1206 (remote_set_trace_buffer_size, remote_use_agent)
1207 (remote_can_use_agent, remote_supports_btrace): Use
1208 packet_support.
1209 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
1210 Use packet_config_support.
1211 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
1212 the packet config says the feature is enabled or disabled.
1213 (set_range_stepping): Use packet_support.
1214
1215 2014-04-25 Tom Tromey <tromey@redhat.com>
1216
1217 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
1218 argument.
1219
1220 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
1221
1222 * NEWS: Mention support for C99 variable length arrays.
1223
1224 2014-04-24 Joel Brobecker <brobecker@adacore.com>
1225
1226 * ada-lang.c (standard_exc): Expand introductory comment.
1227
1228 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1229 Walfred Tedeschi <walfred.tedeschi@intel.com>
1230
1231 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
1232 AVX512 registers.
1233 (amd64_linux_read_description): Add code to handle AVX512 xstate
1234 mask and return respective tdesc.
1235 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
1236 and features/i386/x32-avx512-linux.c.
1237 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
1238 (amd64_linux_core_read_description): Add code to handle AVX512
1239 xstate mask and return respective tdesc.
1240 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
1241 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
1242 calculation.
1243 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
1244 (tdesc_amd64_avx512_linux): New prototype.
1245 (tdesc_x32_avx512_linux): Likewise.
1246 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
1247 features/i386/x32-avx512.c.
1248 (amd64_ymm_avx512_names): New register names for pseudo
1249 registers YMM16-31.
1250 (amd64_ymmh_avx512_names): New register names for raw registers
1251 YMMH16-31.
1252 (amd64_k_names): New register names for K registers.
1253 (amd64_zmmh_names): New register names for ZMM raw registers.
1254 (amd64_zmm_names): New registers names for ZMM pseudo registers.
1255 (amd64_xmm_avx512_names): New register names for XMM16-31
1256 registers.
1257 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
1258 registers.
1259 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
1260 if feature is present.
1261 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
1262 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
1263 (AMD64_NUM_REGS): Adjust to new number of registers.
1264 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
1265 registers supplied via XSTATE by AVX512 registers.
1266 (i386_linux_read_description): Add case for AVX512.
1267 * i386-linux-tdep.c: Include i386-avx512-linux.c.
1268 (i386_linux_gregset_reg_offset): Add AVX512 registers.
1269 (i386_linux_core_read_description): Add case for AVX512.
1270 (i386_linux_init_abi): Install supported register note section
1271 for AVX512.
1272 (_initialize_i386_linux_tdep): Add call to tdesc init function for
1273 AVX512.
1274 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
1275 registers to be number of zmm7h + 1.
1276 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
1277 * i386-tdep.c: Include features/i386/i386-avx512.c.
1278 (i386_zmm_names): Add ZMM pseudo register names array.
1279 (i386_zmmh_names): Add ZMM raw register names array.
1280 (i386_k_names): Add K raw register names array.
1281 (num_lower_zmm_regs): Add constant for the number of lower ZMM
1282 registers. AVX512 has 16 more ZMM registers than there are YMM
1283 registers.
1284 (i386_zmmh_regnum_p): Add function to look up register number of
1285 ZMM raw registers.
1286 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
1287 (i386_k_regnum_p): Likewise for K raw registers.
1288 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
1289 registers added by AVX512.
1290 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
1291 registers added by AVX512.
1292 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
1293 added by AVX512.
1294 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
1295 (i386_pseudo_register_name): Add ZMM pseudo registers.
1296 (i386_zmm_type): Construct and return vector registers type for ZMM
1297 registers.
1298 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
1299 ZMM0-31 pseudo registers and K registers.
1300 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
1301 and YMM16-31 registers from register cache.
1302 (i386_pseudo_register_write): Add code to write K, ZMM and
1303 YMM16-31 registers.
1304 (i386_register_reggroup_p): Add code to include/exclude AVX512
1305 registers in/from respective register groups.
1306 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
1307 registers if feature is present in xcr0.
1308 (i386_gdbarch_init): Add code to initialize AVX512 feature
1309 variables in tdep structure, wire in pseudo registers and call
1310 initialize_tdesc_i386_avx512.
1311 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
1312 variables.
1313 (i386_regnum): Add AVX512 registers.
1314 (I386_SSE_NUM_REGS): New define for number of SSE registers.
1315 (I386_AVX_NUM_REGS): Likewise for AVX registers.
1316 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
1317 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
1318 512 bits wide.
1319 (i386_xmm_avx512_regnum_p): New prototype for register look up.
1320 (i386_ymm_avx512_regnum_p): Likewise.
1321 (i386_k_regnum_p): Likewise.
1322 (i386_zmm_regnum_p): Likewise.
1323 (i386_zmmh_regnum_p): Likewise.
1324 * i387-tdep.c : Update year in copyright notice.
1325 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
1326 XSAVE buffer.
1327 (XSAVE_YMM_AVX512_ADDR): New macro.
1328 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
1329 XSAVE buffer.
1330 (XSAVE_XMM_AVX512_ADDR): New macro.
1331 (xsave_avx512_k_offset): New table for K register offsets in
1332 XSAVE buffer.
1333 (XSAVE_AVX512_K_ADDR): New macro.
1334 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
1335 in XSAVE buffer.
1336 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
1337 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
1338 buffer.
1339 (i387_collect_xsave): Add code to collect AVX512 registers from
1340 XSAVE buffer.
1341 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
1342 of XMM16-31 registers.
1343 (I387_NUM_K_REGS): New define for number of K registers.
1344 (I387_K0_REGNUM): New define for K0 register number.
1345 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
1346 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
1347 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
1348 registers.
1349 (I387_YMM16H_REGNUM): New define for YMM16H register number.
1350 (I387_XMM16_REGNUM): New define for XMM16 register number.
1351 (I387_YMM0_REGNUM): New define for YMM0 register number.
1352 (I387_KEND_REGNUM): New define for last K register number.
1353 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
1354 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
1355 number.
1356 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
1357 number.
1358 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
1359 size.
1360 * features/Makefile: Add AVX512 related files.
1361 * features/i386/32bit-avx512.xml: New file.
1362 * features/i386/64bit-avx512.xml: Likewise.
1363 * features/i386/amd64-avx512-linux.c: Likewise.
1364 * features/i386/amd64-avx512-linux.xml: Likewise.
1365 * features/i386/amd64-avx512.c: Likewise.
1366 * features/i386/amd64-avx512.xml: Likewise.
1367 * features/i386/i386-avx512-linux.c: Likewise.
1368 * features/i386/i386-avx512-linux.xml: Likewise.
1369 * features/i386/i386-avx512.c: Likewise.
1370 * features/i386/i386-avx512.xml: Likewise.
1371 * features/i386/x32-avx512-linux.c: Likewise.
1372 * features/i386/x32-avx512-linux.xml: Likewise.
1373 * features/i386/x32-avx512.c: Likewise.
1374 * features/i386/x32-avx512.xml: Likewise.
1375 * regformats/i386/amd64-avx512-linux.dat: New file.
1376 * regformats/i386/amd64-avx512.dat: Likewise.
1377 * regformats/i386/i386-avx512-linux.dat: Likewise.
1378 * regformats/i386/i386-avx512.dat: Likewise.
1379 * regformats/i386/x32-avx512-linux.dat: Likewise.
1380 * regformats/i386/x32-avx512.dat: Likewise.
1381 * NEWS: Add note about new support for AVX512.
1382
1383
1384 2014-04-23 Pedro Alves <palves@redhat.com>
1385
1386 * breakpoint.c (insert_bp_location): Tolerate errors if the
1387 breakpoint is set in a user-loaded objfile.
1388 (remove_breakpoint_1): Likewise. Also tolerate errors if the
1389 location is marked shlib_disabled. If the breakpoint is set in a
1390 user-loaded objfile is a GDB-side memory breakpoint, validate it
1391 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
1392 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
1393 flag.
1394 * mem-break.c (memory_validate_breakpoint): New function.
1395 * objfiles.c (userloaded_objfile_contains_address_p): New
1396 function.
1397 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
1398 * target.h (memory_validate_breakpoint): New declaration.
1399
1400 2014-04-23 Pedro Alves <palves@redhat.com>
1401
1402 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
1403 the breakpoint is set in a shared library, only suppress
1404 errors for software breakpoints, not hardware breakpoints.
1405
1406 2014-04-22 Pedro Alves <palves@redhat.com>
1407
1408 * infrun.c (schedlock_applies): New function, factored out from
1409 find_thread_needs_step_over.
1410 (find_thread_needs_step_over): Use it.
1411 (switch_back_to_stepped_thread): Always clear trap_expected if the
1412 step over is finished. Return early if scheduler locking applies.
1413 Look for the stepping thread and a potential step-over thread with
1414 a single loop.
1415 (currently_stepping_or_nexting_callback): Delete.
1416
1417 2014-04-22 Nick Clifton <nickc@redhat.com>
1418
1419 * NEWS: Mention that ARM sim now supports tracing.
1420
1421 2014-04-22 Yao Qi <yao@codesourcery.com>
1422
1423 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
1424 to ...
1425 * tracefile.c (tracefile_fetch_registers): ... it. New
1426 function.
1427 * tracefile.h (tracefile_fetch_registers): Declare.
1428 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
1429 tracefile_fetch_registers.
1430
1431 2014-04-19 Eli Zaretskii <eliz@gnu.org>
1432
1433 PR gdb/14018
1434 * windows-nat.c (thread_rec): Don't display a warning when
1435 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
1436 fails for any reason, set th->suspended to -1, so that we don't
1437 try to resume such a thread. Also, don't return NULL in these
1438 cases, to avoid completely ruin the session due to "PC register is
1439 not available" error.
1440 (do_windows_fetch_inferior_registers): Check errors in
1441 GetThreadContext call.
1442 (windows_continue): Accept an additional argument KILLED; if not
1443 zero, ignore errors in the SetThreadContext call, since the
1444 inferior was killed and is shutting down.
1445 (windows_resume, get_windows_debug_event)
1446 (windows_create_inferior, windows_mourn_inferior)
1447 (windows_kill_inferior): All callers of windows_continue changed
1448 to adjust to its new calling sequence.
1449
1450 2014-04-19 Yao Qi <yao@codesourcery.com>
1451
1452 * ctf.c (ctf_open): Call post_create_inferior.
1453
1454 2014-04-19 Yao Qi <yao@codesourcery.com>
1455
1456 * ctf.c (handle_id): New static variable.
1457 (ctf_open_dir): Get handle_id from bt_context_add_trace return
1458 value. Get the declaration of event "register" and get length
1459 of field "contents".
1460
1461 2014-04-19 Yao Qi <yao@codesourcery.com>
1462
1463 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
1464
1465 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
1466
1467 * valops.c (oload_method_static): Remove unnecessary argument
1468 METHOD. Update all callers.
1469
1470 2014-04-18 Pedro alves <palves@redhat.com>
1471 Tom Tromey <tromey@redhat.com>
1472
1473 PR backtrace/15558
1474 * frame.c (get_prev_frame_1): Rename to ...
1475 (get_prev_frame_always): ... this, and make extern. Adjust.
1476 (skip_artificial_frames): Use get_prev_frame_always.
1477 (frame_unwind_caller_id, frame_pop, get_prev_frame)
1478 (get_frame_unwind_stop_reason): Adjust to rename.
1479 * frame.h (get_prev_frame_always): Declare.
1480 * inline-frame.c: Include frame.h.
1481 (inline_frame_this_id): Use get_prev_frame_always.
1482
1483 2014-04-18 Tristan Gingold <gingold@adacore.com>
1484
1485 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
1486 code by using bfd_mach_o_get_base_address.
1487
1488 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
1489
1490 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
1491 (spu_ax_pseudo_register_collect): New function.
1492 (spu_ax_pseudo_register_push_stack): Likewise.
1493 (spu_dwarf_reg_to_regnum): Likewise.
1494 (spu_gdbarch_init): Install them. Append DWARF unwinders.
1495
1496 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
1497
1498 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
1499 Replace FRAME argument with FRAME_ID.
1500 * gdbarch.c, gdbarch.h: Regenerate.
1501 * findvar.c (default_value_from_register): Add GDBARCH argument;
1502 replace FRAME by FRAME_ID. No longer call get_frame_id.
1503 (value_from_register): Update call to gdbarch_value_from_register.
1504 * value.h (default_value_from_register): Update prototype.
1505 * s390-linux-tdep.c (s390_value_from_register): Update interface
1506 and call to default_value_from_register.
1507 * spu-tdep.c (spu_value_from_register): Likewise.
1508
1509 * findvar.c (address_from_register): Remove TYPE argument.
1510 Do not call value_from_register; use gdbarch_value_from_register
1511 with null_frame_id instead.
1512 * value.h (address_from_register): Update prototype.
1513 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
1514 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
1515 address_from_register interface change.
1516
1517 2014-04-17 Yao Qi <yao@codesourcery.com>
1518
1519 * gdbtypes.h: Update comments to link to types and macros'
1520 definitions.
1521
1522 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
1523
1524 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
1525
1526 2014-04-16 Keith Seitz <keiths@redhat.com>
1527
1528 PR gdb/15827
1529 * dwarf2read.c (skip_one_die): Check that all relative-offset
1530 sibling DIEs fall within range of the current reader's buffer.
1531 (read_partial_die): Likewise.
1532
1533 2014-04-16 Keith Seitz <keiths@redhat.com>
1534
1535 PR c++/16597
1536 * cp-namespace.c (lookup_symbol_file): If the type name of
1537 `this' is NULL, return immediately.
1538
1539 2014-04-14 Keith Seitz <keiths@redhat.com>
1540
1541 PR c++/16253
1542 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
1543 from symbol_matches_domain in symtab.c. All local callers
1544 of symbol_matches_domain updated.
1545 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
1546 search STRUCT_DOMAIN.
1547 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
1548 independently. standard_lookup will do that automatically.
1549 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
1550 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
1551 (cp_lookup_symbol_in_namespace): Likewise.
1552 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
1553 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
1554 may return a STRUCT_DOMAIN match.
1555 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
1556 * cp-support.c: Include language.h.
1557 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
1558 VAR_DOMAIN.
1559 * psymtab.c (match_partial_symbol): Compare the requested
1560 domain with the symbol's domain directly.
1561 (lookup_partial_symbol): Likewise.
1562 * symtab.c (lookup_symbol_in_language): Explain when/why
1563 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
1564 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
1565 appropriate languages.
1566 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
1567 and moved to ada-lang.c
1568 (lookup_block_symbol): Explain that this function only returns
1569 symbol matching the requested DOMAIN.
1570 Compare the requested domain with the symbol's domain directly.
1571 (iterate_over_symbols): Compare the requested domain with the
1572 symbol's domain directly.
1573 * symtab.h (symbol_matches_domain): Remove.
1574
1575 2014-04-14 Tom Tromey <tromey@redhat.com>
1576
1577 PR c++/15246:
1578 * c-exp.y (type_aggregate_p): New function.
1579 (qualified_name, classify_inner_name): Use it.
1580 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
1581 and TYPE_TARGET_TYPE of an enum type.
1582 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
1583 an enum type.
1584 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
1585 handle TYPE_DECLARED_CLASS.
1586 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
1587 types.
1588 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
1589 * valops.c (enum_constant_from_type): New function.
1590 (value_aggregate_elt): Use it.
1591 * cp-namespace.c (cp_lookup_nested_symbol): Handle
1592 TYPE_CODE_ENUM.
1593
1594 2014-04-14 Tom Tromey <tromey@redhat.com>
1595
1596 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
1597 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
1598 const.
1599 * value.h (value_aggregate_elt): Update.
1600
1601 2014-04-14 Tom Tromey <tromey@redhat.com>
1602
1603 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
1604
1605 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1606
1607 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
1608 (evaluate_subexp_standard): Pass noside argument.
1609 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
1610 if noside equals EVAL_NORMAL. If the subscript yields a vla type
1611 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
1612 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
1613 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
1614
1615 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1616
1617 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
1618 points to a constant blob.
1619
1620 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1621
1622 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
1623 property and store it as the high bound and flag the range accordingly.
1624 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
1625 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
1626 * gdbtypes.h (enum range_flags): New enum.
1627 (struct range_bounds): Add flags member.
1628
1629 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1630
1631 * c-typeprint.c (c_type_print_varspec_suffix): Added
1632 check for not yet resolved high bound. If unresolved, print
1633 "variable length" string to the console instead of random
1634 length.
1635
1636 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1637
1638 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
1639 value.
1640 (ada_template_to_fixed_record_type_1): Likewise.
1641 (ada_to_fixed_type_1): Likewise.
1642 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
1643 (cp_print_value): Likewise.
1644 * d-valprint.c (dynamic_array_type): Likewise.
1645 * findvar.c (address_of_variable): Likewise.
1646 * jv-valprint.c (java_value_print): Likewise.
1647 * valops.c (value_ind): Likewise.
1648 * value.c (coerce_ref): Likewise.
1649
1650 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1651
1652 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
1653 value and retrieve the dynamic type size.
1654
1655 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1656
1657 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
1658 passed to sizeof is dynamic evaluate the argument to compute the length.
1659
1660 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1661 Joel Brobecker <brobecker@adacore.com>
1662
1663 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
1664 (dwarf2_evaluate_property): New function.
1665 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
1666 * dwarf2read.c (attr_to_dynamic_prop): New function.
1667 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
1668 attribute.
1669 * gdbtypes.c: Include dwarf2loc.h.
1670 (is_dynamic_type): New function.
1671 (resolve_dynamic_type): New function.
1672 (resolve_dynamic_bounds): New function.
1673 (get_type_length): New function.
1674 (check_typedef): Use get_type_length to compute type length.
1675 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
1676 (TYPE_LOW_BOUND_KIND): New macro.
1677 (is_dynamic_type): New function prototype.
1678 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
1679 to resolve dynamic properties of the type. Update comment.
1680 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
1681
1682 2014-04-14 Richard Henderson <rth@redhat.com>
1683
1684 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
1685
1686 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1687 Doug Evans <xdje42@gmail.com>
1688
1689 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
1690 dereference TYPE_CODE_REF values.
1691
1692 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1693
1694 Revert the following changes due to regressions:
1695
1696 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
1697 (dwarf2_evaluate_property): New function.
1698 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
1699 * dwarf2read.c (attr_to_dynamic_prop): New function.
1700 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
1701 attribute.
1702 * gdbtypes.c: Include dwarf2loc.h.
1703 (is_dynamic_type): New function.
1704 (resolve_dynamic_type): New function.
1705 (resolve_dynamic_bounds): New function.
1706 (get_type_length): New function.
1707 (check_typedef): Use get_type_length to compute type length.
1708 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
1709 (TYPE_LOW_BOUND_KIND): New macro.
1710 (is_dynamic_type): New function prototype.
1711 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
1712 to resolve dynamic properties of the type. Update comment.
1713 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
1714
1715 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
1716 passed to sizeof is dynamic evaluate the argument to compute the length.
1717
1718 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
1719 value and retrieve the dynamic type size.
1720
1721 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
1722 (ada_template_to_fixed_record_type_1): Likewise.
1723 (ada_to_fixed_type_1): Likewise.
1724 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
1725 (cp_print_value): Likewise.
1726 * d-valprint.c (dynamic_array_type): Likewise.
1727 * eval.c (evaluate_subexp_with_coercion): Likewise.
1728 * findvar.c (address_of_variable): Likewise.
1729 * jv-valprint.c (java_value_print): Likewise.
1730 * valops.c (value_ind): Likewise.
1731 * value.c (coerce_ref): Likewise.
1732
1733 * c-typeprint.c (c_type_print_varspec_suffix): Added
1734 check for not yet resolved high bound. If unresolved, print
1735 "variable length" string to the console instead of random
1736 length.
1737
1738 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
1739 property and store it as the high bound and flag the range accordingly.
1740 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
1741 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
1742 * gdbtypes.h (enum range_flags): New enum.
1743 (struct range_bounds): Add flags member.
1744
1745 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
1746 points to a constant blob.
1747
1748 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
1749 (evaluate_subexp_standard): Pass noside argument.
1750 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
1751 if noside equals EVAL_NORMAL. If the subscript yields a vla type
1752 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
1753 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
1754 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
1755
1756 2014-04-11 Keith Seitz <keiths@redhat.com>
1757
1758 PR c++/16675
1759 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
1760 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
1761 reference types.
1762
1763 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1764
1765 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
1766 (evaluate_subexp_standard): Pass noside argument.
1767 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
1768 if noside equals EVAL_NORMAL. If the subscript yields a vla type
1769 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
1770 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
1771 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
1772
1773 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1774
1775 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
1776 points to a constant blob.
1777
1778 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1779
1780 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
1781 property and store it as the high bound and flag the range accordingly.
1782 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
1783 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
1784 * gdbtypes.h (enum range_flags): New enum.
1785 (struct range_bounds): Add flags member.
1786
1787 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1788
1789 * c-typeprint.c (c_type_print_varspec_suffix): Added
1790 check for not yet resolved high bound. If unresolved, print
1791 "variable length" string to the console instead of random
1792 length.
1793
1794 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1795
1796 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
1797 (ada_template_to_fixed_record_type_1): Likewise.
1798 (ada_to_fixed_type_1): Likewise.
1799 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
1800 (cp_print_value): Likewise.
1801 * d-valprint.c (dynamic_array_type): Likewise.
1802 * eval.c (evaluate_subexp_with_coercion): Likewise.
1803 * findvar.c (address_of_variable): Likewise.
1804 * jv-valprint.c (java_value_print): Likewise.
1805 * valops.c (value_ind): Likewise.
1806 * value.c (coerce_ref): Likewise.
1807
1808 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1809
1810 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
1811 value and retrieve the dynamic type size.
1812
1813 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1814
1815 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
1816 passed to sizeof is dynamic evaluate the argument to compute the length.
1817
1818 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1819
1820 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
1821 (dwarf2_evaluate_property): New function.
1822 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
1823 * dwarf2read.c (attr_to_dynamic_prop): New function.
1824 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
1825 attribute.
1826 * gdbtypes.c: Include dwarf2loc.h.
1827 (is_dynamic_type): New function.
1828 (resolve_dynamic_type): New function.
1829 (resolve_dynamic_bounds): New function.
1830 (get_type_length): New function.
1831 (check_typedef): Use get_type_length to compute type length.
1832 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
1833 (TYPE_LOW_BOUND_KIND): New macro.
1834 (is_dynamic_type): New function prototype.
1835 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
1836 to resolve dynamic properties of the type. Update comment.
1837 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
1838
1839 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1840
1841 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
1842 declaring high/low bounds and change uses accordingly. Call
1843 create_range_type instead of create_static_range_type.
1844 * gdbtypes.c (create_range_type): New function.
1845 (create_range_type): Convert bounds into struct bound_prop and pass
1846 them to create_range_type.
1847 * gdbtypes.h (struct bound_prop): New struct.
1848 (create_range_type): New function prototype.
1849 (struct range_bounds): Use struct bound_prop instead of LONGEST for
1850 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
1851 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
1852 part of the bound.
1853 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
1854
1855 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1856
1857 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
1858 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
1859 * ada-lang.c: All uses of create_range_type updated.
1860 * coffread.c: All uses of create_range_type updated.
1861 * dwarf2read.c: All uses of create_range_type updated.
1862 * f-exp.y: All uses of create_range_type updated.
1863 * m2-valprint.c: All uses of create_range_type updated.
1864 * mdebugread.c: All uses of create_range_type updated.
1865 * stabsread.c: All uses of create_range_type updated.
1866 * valops.c: All uses of create_range_type updated.
1867 * valprint.c: All uses of create_range_type updated.
1868
1869 2014-04-10 Pedro Alves <palves@redhat.com>
1870
1871 * breakpoint.c (single_step_breakpoints)
1872 (single_step_gdbarch): Move up in the file.
1873 (one_breakpoint_xfer_memory): New function, factored out from ...
1874 (breakpoint_xfer_memory): ... here. Also process single-step
1875 breakpoints.
1876
1877 2014-04-09 Tristan Gingold <gingold@adacore.com>
1878
1879 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
1880 comments.
1881 (darwin_decode_exception_message): Free port only after use.
1882
1883 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
1884
1885 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
1886 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
1887 when setting the size of call_length.
1888
1889 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1890
1891 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
1892 dereference TYPE_CODE_REF values.
1893
1894 2014-04-07 Joel Brobecker <brobecker@adacore.com>
1895
1896 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
1897 end of warning message.
1898
1899 2014-04-03 Doug Evans <dje@google.com>
1900
1901 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
1902 of stub_comp_unit_die, stub_comp_dir is non-NULL.
1903
1904 2014-04-02 Alan Modra <amodra@gmail.com>
1905
1906 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
1907 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
1908 (struct symbol_file_add_from_memory_args): Add size field.
1909 (find_vdso_size): New function.
1910 (add_vsyscall_page): Attempt to find vdso size.
1911
1912 2014-04-01 Doug Evans <dje@google.com>
1913
1914 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
1915
1916 2014-04-01 Tristan Gingold <gingold@adacore.com>
1917
1918 * darwin-nat.c (darwin_encode_reply): Add prototype.
1919 (darwin_decode_exception_message): Reply to unknown inferiors.
1920 (darwin_decode_message): Handle message by id. Ignore message
1921 to unknown inferior.
1922 (darwin_wait): Discard unknown messages, add debug trace.
1923
1924 2014-03-31 Doug Evans <dje@google.com>
1925
1926 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
1927 comp_dir_string.
1928
1929 2014-03-31 Doug Evans <dje@google.com>
1930
1931 New option "set print symbol-loading".
1932 * NEWS: Mention it.
1933 * solib.c (solib_read_symbols): Only print symbol loading messages
1934 if requested.
1935 (solib_add): If symbol loading is in "brief" mode, notify user
1936 symbols are being loaded.
1937 (reload_shared_libraries_1): Ditto.
1938 * symfile.c (print_symbol_loading_off): New static global.
1939 (print_symbol_loading_brief): New static global.
1940 (print_symbol_loading_full): New static global.
1941 (print_symbol_loading_enums): New static global.
1942 (print_symbol_loading): New static global.
1943 (print_symbol_loading_p): New function.
1944 (symbol_file_add_with_addrs): Only print symbol loading messages
1945 if requested.
1946 (_initialize_symfile): Register "print symbol-loading" set/show
1947 command.
1948 * symfile.h (print_symbol_loading_p): Declare.
1949
1950 2014-03-30 Doug Evans <xdje42@gmail.com>
1951
1952 * infrun.c (set_last_target_status): New function.
1953 (handle_inferior_event): Call it.
1954
1955 2014-03-30 Doug Evans <xdje42@gmail.com>
1956
1957 * inferior.h (enum stop_kind): Improve comment.
1958
1959 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1960
1961 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
1962 a reference, strip the reference layer before calling
1963 the lang_ops value_has_mutated callback.
1964
1965 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
1966
1967 Remove some globals from our parser.
1968 * language.c (unk_lang_parser): Add "struct parser_state"
1969 argument.
1970 * language.h (struct language_defn) <la_parser>: Likewise.
1971 * parse.c (expout, expout_size, expout_ptr): Remove variables.
1972 (initialize_expout): Add "struct parser_state" argument.
1973 Rewrite function to use the parser state.
1974 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
1975 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
1976 write_exp_elt_longcst, write_exp_elt_dblcst,
1977 write_exp_elt_decfloatcst, write_exp_elt_type,
1978 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
1979 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
1980 write_dollar_variable): Likewise.
1981 (parse_exp_in_context_1): Use parser state.
1982 (insert_type_address_space): Add "struct parser_state" argument.
1983 Use parser state.
1984 (increase_expout_size): New function.
1985 * parser-defs.h: Forward declare "struct language_defn" and
1986 "struct parser_state".
1987 (expout, expout_size, expout_ptr): Remove extern declarations.
1988 (parse_gdbarch, parse_language): Rewrite macro declarations to
1989 accept the parser state.
1990 (struct parser_state): New struct.
1991 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
1992 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
1993 write_exp_elt_decfloatcst, write_exp_elt_type,
1994 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
1995 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
1996 write_exp_msymbol, write_dollar_variable,
1997 mark_struct_expression, insert_type_address_space): Add "struct
1998 parser_state" argument.
1999 (increase_expout_size): New function.
2000 * utils.c (do_clear_parser_state): New function.
2001 (make_cleanup_clear_parser_state): Likewise.
2002 * utils.h (make_cleanup_clear_parser_state): New function
2003 prototype.
2004 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
2005 Update calls to write_exp* in order to pass the parser state.
2006 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
2007 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
2008 (i386_stap_parse_special_token_three_arg_disp): Likewise.
2009 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
2010 * stap-probe.c (stap_parse_register_operand): Likewise.
2011 (stap_parse_single_operand): Likewise.
2012 (stap_parse_argument_1): Likewise.
2013 (stap_parse_argument): Use parser state.
2014 * stap-probe.h: Include "parser-defs.h".
2015 (struct stap_parse_info) <pstate>: New field.
2016 * c-exp.y (parse_type): Rewrite to use parser state.
2017 (yyparse): Redefine to c_parse_internal.
2018 (pstate): New global variable.
2019 (parse_number): Add "struct parser_state" argument.
2020 (write_destructor_name): Likewise.
2021 (type_exp): Update calls to write_exp* and similars in order to
2022 use parser state.
2023 (exp1, exp, variable, qualified_name, space_identifier,
2024 typename, typebase): Likewise.
2025 (write_destructor_name, parse_number, lex_one_token,
2026 classify_name, classify_inner_name, c_parse): Add "struct
2027 parser_state" argument. Update function to use parser state.
2028 * c-lang.h: Forward declare "struct parser_state".
2029 (c_parse): Add "struct parser_state" argument.
2030 * ada-exp.y (parse_type): Rewrite macro to use parser state.
2031 (yyparse): Redefine macro to ada_parse_internal.
2032 (pstate): New variable.
2033 (write_int, write_object_renaming, write_var_or_type,
2034 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
2035 type_int, type_long, type_long_long, type_float, type_double,
2036 type_long_double, type_char, type_boolean, type_system_address):
2037 Add "struct parser_state" argument.
2038 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
2039 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
2040 var_or_type, aggregate, aggregate_component_list,
2041 positional_list, others, component_group,
2042 component_associations): Update calls to write_exp* and similar
2043 functions in order to use parser state.
2044 (ada_parse, write_var_from_sym, write_int,
2045 write_exp_op_with_string, write_object_renaming,
2046 find_primitive_type, write_selectors, write_ambiguous_var,
2047 write_var_or_type, write_name_assoc, type_int, type_long,
2048 type_long_long, type_float, type_double, type_long_double,
2049 type_char, type_boolean, type_system_address): Add "struct
2050 parser_state" argument. Adjust function to use parser state.
2051 * ada-lang.c (parse): Likewise.
2052 * ada-lang.h: Forward declare "struct parser_state".
2053 (ada_parse): Add "struct parser_state" argument.
2054 * ada-lex.l (processInt, processReal): Likewise. Adjust all
2055 calls to both functions.
2056 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
2057 parser state.
2058 (yyparse): Redefine macro to f_parse_internal.
2059 (pstate): New variable.
2060 (parse_number): Add "struct parser_state" argument.
2061 (type_exp, exp, subrange, typebase): Update calls to write_exp*
2062 and similars in order to use parser state.
2063 (parse_number): Adjust code to use parser state.
2064 (yylex): Likewise.
2065 (f_parse): New function.
2066 * f-lang.h: Forward declare "struct parser_state".
2067 (f_parse): Add "struct parser_state" argument.
2068 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
2069 parser state.
2070 (yyparse): Redefine macro for java_parse_internal.
2071 (pstate): New variable.
2072 (push_expression_name, push_expression_name, insert_exp): Add
2073 "struct parser_state" argument.
2074 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
2075 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
2076 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
2077 PostIncrementExpression, PostDecrementExpression,
2078 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
2079 UnaryExpressionNotPlusMinus, CastExpression,
2080 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
2081 RelationalExpression, EqualityExpression, AndExpression,
2082 ExclusiveOrExpression, InclusiveOrExpression,
2083 ConditionalAndExpression, ConditionalOrExpression,
2084 ConditionalExpression, Assignment, LeftHandSide): Update
2085 calls to write_exp* and similars in order to use parser state.
2086 (parse_number): Ajust code to use parser state.
2087 (yylex): Likewise.
2088 (java_parse): New function.
2089 (push_variable): Add "struct parser_state" argument. Adjust
2090 code to user parser state.
2091 (push_fieldnames, push_qualified_expression_name,
2092 push_expression_name, insert_exp): Likewise.
2093 * jv-lang.h: Forward declare "struct parser_state".
2094 (java_parse): Add "struct parser_state" argument.
2095 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
2096 parser state.
2097 (yyparse): Redefine macro to m2_parse_internal.
2098 (pstate): New variable.
2099 (type_exp, exp, fblock, variable, type): Update calls to
2100 write_exp* and similars to use parser state.
2101 (yylex): Likewise.
2102 (m2_parse): New function.
2103 * m2-lang.h: Forward declare "struct parser_state".
2104 (m2_parse): Add "struct parser_state" argument.
2105 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
2106 * objc-lang.h: Forward declare "struct parser_state".
2107 (end_msglist): Add "struct parser_state" argument.
2108 * p-exp.y (parse_type): Rewrite macro to use parser state.
2109 (yyparse): Redefine macro to pascal_parse_internal.
2110 (pstate): New variable.
2111 (parse_number): Add "struct parser_state" argument.
2112 (type_exp, exp1, exp, qualified_name, variable): Update calls to
2113 write_exp* and similars in order to use parser state.
2114 (parse_number, yylex): Adjust code to use parser state.
2115 (pascal_parse): New function.
2116 * p-lang.h: Forward declare "struct parser_state".
2117 (pascal_parse): Add "struct parser_state" argument.
2118 * go-exp.y (parse_type): Rewrite macro to use parser state.
2119 (yyparse): Redefine macro to go_parse_internal.
2120 (pstate): New variable.
2121 (parse_number): Add "struct parser_state" argument.
2122 (type_exp, exp1, exp, variable, type): Update calls to
2123 write_exp* and similars in order to use parser state.
2124 (parse_number, lex_one_token, classify_name, yylex): Adjust code
2125 to use parser state.
2126 (go_parse): Likewise.
2127 * go-lang.h: Forward declare "struct parser_state".
2128 (go_parse): Add "struct parser_state" argument.
2129
2130 2014-03-27 Doug Evans <dje@google.com>
2131
2132 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
2133
2134 2014-03-27 Doug Evans <dje@google.com>
2135
2136 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
2137 Remove argument abbrev_section. All callers updated.
2138
2139 2014-03-27 Doug Evans <dje@google.com>
2140
2141 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
2142 addr_base, ranges_base.
2143
2144 2014-03-26 Keith Seitz <keiths@redhat.com>
2145
2146 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
2147 types, not VAR_DOMAIN.
2148
2149 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
2150
2151 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
2152 "ra" registers.
2153 * features/nios2-linux.c: Regenerated.
2154 * features/nios2.c: Regenerated.
2155
2156 2014-03-25 Pedro Alves <palves@redhat.com>
2157
2158 * cli/cli-script.c (script_from_file): Force the interpreter to
2159 sync mode.
2160
2161 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
2162
2163 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
2164 small stack allocation.
2165
2166 2014-03-24 Tristan Gingold <gingold@adacore.com>
2167
2168 * darwin-nat.c (exc_server): Remove unused prototype.
2169 (darwin_dump_message): Correctly display data on x86_64.
2170 (darwin_encode_reply): Fix style.
2171 Add comments and fix indentation.
2172
2173 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
2174
2175 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
2176
2177 2014-03-22 Doug Evans <xdje42@gmail.com>
2178
2179 * infcmd.c: Whitespace fixes.
2180 (interrupt_command): Merge two function comments into one.
2181
2182 2014-03-22 Doug Evans <xdje42@gmail.com>
2183
2184 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
2185 All uses updated.
2186
2187 2014-03-22 Yao Qi <yao@codesourcery.com>
2188
2189 * remote.c (target_read_live_memory): Remove.
2190 (memory_xfer_live_readonly_partial): Rename it to
2191 remote_xfer_live_readonly_partial. Remove argument 'object'.
2192 All callers updated. Call remote_read_bytes_1
2193 instead of target_read_live_memory.
2194 * tracepoint.c (set_traceframe_number): Remove.
2195 (make_cleanup_restore_traceframe_number): Likewise .
2196 * tracepoint.h (set_traceframe_number): Remove declaration.
2197 (make_cleanup_restore_traceframe_number): Likewise.
2198
2199 2014-03-22 Yao Qi <yao@codesourcery.com>
2200
2201 * remote.c (remote_read_bytes): Move code on reading from the
2202 remote stub to ...
2203 (remote_read_bytes_1): ... here. New function.
2204
2205 2014-03-22 Yao Qi <yao@codesourcery.com>
2206
2207 * ctf.c (ctf_xfer_partial): Check the return value of
2208 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
2209 return TARGET_XFER_UNAVAILABLE.
2210 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2211 * target.c (target_read_live_memory): Move it to remote.c.
2212 (memory_xfer_live_readonly_partial): Likewise.
2213 (memory_xfer_partial_1): Move some code to remote_read_bytes.
2214 * remote.c (target_read_live_memory): Moved from target.c.
2215 (memory_xfer_live_readonly_partial): Likewise.
2216 (remote_read_bytes): Factored out from
2217 memory_xfer_partial_1.
2218
2219 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
2220
2221 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
2222 NULL pointer.
2223
2224 2014-03-21 Pedro Alves <palves@redhat.com>
2225
2226 * infrun.c (normal_stop): Extend comment.
2227
2228 2014-03-21 Hui Zhu <hui@codesourcery.com>
2229 Pedro Alves <palves@redhat.com>
2230
2231 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
2232 static buffer.
2233 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
2234 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
2235 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
2236
2237 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
2238
2239 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
2240 `z' formatted output modifier.
2241
2242 2014-03-20 Tom Tromey <tromey@redhat.com>
2243 Sergio Durigan Junior <sergiodj@redhat.com>
2244
2245 * probe.c (parse_probes): Turn assert into an ordinary error.
2246 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
2247 exceptions when parsing probes. Rearrange the code for clarity.
2248
2249 2014-03-20 Tom Tromey <tromey@redhat.com>
2250
2251 PR gdb/14135
2252 * top.c (execute_command): Only dispatch events if the command
2253 started the target.
2254
2255 2014-03-20 Tom Tromey <tromey@redhat.com>
2256
2257 PR cli/15718
2258 * infcall.c: Include event-top.h.
2259 (run_inferior_call): Call async_disable_stdin if needed.
2260
2261 2014-03-20 Pedro Alves <palves@redhat.com>
2262
2263 * infrun.c (prepare_to_proceed): Delete.
2264 (thread_still_needs_step_over): New function.
2265 (find_thread_needs_step_over): New function.
2266 (proceed): If the current thread needs a step-over, set its
2267 steping_over_breakpoint flag. Adjust to use
2268 find_thread_needs_step_over instead of prepare_to_proceed.
2269 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
2270 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
2271 breakpoint.
2272 (switch_back_to_stepped_thread): Step over breakpoints of all
2273 threads not the stepping thread, before switching back to the
2274 stepping thread.
2275
2276 2014-03-20 Pedro Alves <palves@redhat.com>
2277
2278 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
2279 extern.
2280 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
2281 * infrun.c (saved_singlestep_ptid)
2282 (stepping_past_singlestep_breakpoint): Delete.
2283 (resume): Remove stepping_past_singlestep_breakpoint handling.
2284 (proceed): Store the prev_pc of the stepping thread too.
2285 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
2286 singlestep_pc.
2287 (enum infwait_states): Delete infwait_thread_hop_state.
2288 (struct execution_control_state) <hit_singlestep_breakpoint>: New
2289 field.
2290 (handle_inferior_event): Adjust.
2291 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
2292 handling and the thread-hop code. Before removing single-step
2293 breakpoints, check whether the thread hit a single-step breakpoint
2294 of another thread. If it did, the trap is not a random signal.
2295 (switch_back_to_stepped_thread): If the event thread hit a
2296 single-step breakpoint, unblock it before switching to the
2297 stepping thread. Handle the case of the stepped thread having
2298 advanced already.
2299 (keep_going): Handle the case of the current thread moving past a
2300 single-step breakpoint.
2301
2302 2014-03-20 Pedro Alves <palves@redhat.com>
2303
2304 PR breakpoints/7143
2305 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
2306 are being stepped over.
2307 (breakpoint_address_match): Make extern.
2308 * breakpoint.h (breakpoint_address_match): New declaration.
2309 * inferior.h (stepping_past_instruction_at): New declaration.
2310 * infrun.c (struct step_over_info): New type.
2311 (step_over_info): New global.
2312 (set_step_over_info, clear_step_over_info)
2313 (stepping_past_instruction_at): New functions.
2314 (handle_inferior_event): Clear the step-over info when
2315 trap_expected is cleared.
2316 (resume): Remove now stale comment.
2317 (clear_proceed_status): Clear step-over info.
2318 (proceed): Adjust step-over handling to set or clear the step-over
2319 info instead of removing all breakpoints.
2320 (handle_signal_stop): When setting up a thread-hop, don't remove
2321 breakpoints here.
2322 (stop_stepping): Clear step-over info.
2323 (keep_going): Adjust step-over handling to set or clear step-over
2324 info and then always inserting breakpoints, instead of removing
2325 all breakpoints when stepping over one.
2326
2327 2014-03-20 Pedro Alves <palves@redhat.com>
2328
2329 * infrun.c (previous_inferior_ptid): Adjust comment.
2330 (deferred_step_ptid): Delete.
2331 (infrun_thread_ptid_changed, prepare_to_proceed)
2332 (init_wait_for_inferior): Adjust.
2333 (handle_signal_stop): Delete deferred_step_ptid handling.
2334
2335 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2336
2337 PR gdb/15358
2338 * defs.h (sync_quit_force_run): New declaration.
2339 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
2340 * event-top.c (async_sigterm_handler): New declaration.
2341 (async_sigterm_token): New variable.
2342 (async_init_signals): Create also async_sigterm_token.
2343 (async_sigterm_handler): New function.
2344 (sync_quit_force_run): New variable.
2345 (handle_sigterm): Replace quit_force call by other calls.
2346 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
2347
2348 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
2349
2350 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
2351 offset into SPE pseudo registers.
2352
2353 2014-03-18 Pedro Alves <palves@redhat.com>
2354
2355 PR gdb/13860
2356 * inferior.h (print_stop_event): Declare.
2357 * infrun.c (print_stop_event): New, factored out from ...
2358 (normal_stop): ... this.
2359 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
2360 of bpstat_print/print_stack_frame.
2361
2362 2014-03-17 Tom Tromey <tromey@redhat.com>
2363
2364 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
2365
2366 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
2367
2368 * ada-lang.c (decode_constrained_packed_array): Perform a
2369 minimal coercion for reference with coerce_ref instead of
2370 ada_coerce_ref.
2371
2372 2014-03-17 Tristan Gingold <gingold@adacore.com>
2373
2374 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
2375 (darwin_solib_create_inferior_hook): Emit a warning if version
2376 is unhandled.
2377
2378 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
2379
2380 * python/py-value.c (get_field_flag): Cast flag_name argument to
2381 PyObject_GetAttrString to support Python 2.4.
2382
2383 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2384
2385 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
2386 (Global Maintainers): Remove Jan Kratochvil.
2387
2388 2014-03-14 Pedro Alves <palves@redhat.com>
2389
2390 * inferior.h (terminal_ours_for_output): Rename to ...
2391 (child_terminal_ours_for_output): ... this.
2392 (terminal_save_ours): Rename to ...
2393 (child_terminal_save_ours): ... this.
2394 (terminal_ours): Rename to ...
2395 (child_terminal_ours): ... this.
2396 (terminal_inferior): Rename to ...
2397 (child_terminal_inferior): ... this.
2398 (terminal_init_inferior): Rename to ...
2399 (child_terminal_init_inferior): ... this.
2400 (terminal_init_inferior_with_pgrp): Rename to ...
2401 (child_terminal_init_inferior_with_pgrp): ... this.
2402 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
2403 (child_terminal_init_with_pgrp): ... this.
2404 (terminal_save_ours): Rename to ...
2405 (child_terminal_save_ours): ... this.
2406 (terminal_init_inferior): Rename to ...
2407 (child_terminal_init): ... this. Adjust.
2408 (terminal_inferior): Rename to ...
2409 (child_terminal_inferior): ... this.
2410 (terminal_ours_for_output): Rename to ...
2411 (child_terminal_ours_for_output): ... this. Adjust.
2412 (terminal_ours): Rename to ...
2413 (child_terminal_ours): ... this.
2414 (terminal_ours_1): Rename to ...
2415 (child_terminal_ours_1): ... this. Adjust.
2416 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
2417 * windows-nat.c (do_initial_windows_stuff): Adjust.
2418 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
2419 (gnu_terminal_init): ... this. Adjust.
2420 (gnu_target): Adjust.
2421 * inf-child.c (inf_child_target): Adjust.
2422
2423 2014-03-13 Doug Evans <xdje42@gmail.com>
2424
2425 PR guile/16612
2426 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
2427 new eq?-hashtab.
2428
2429 2014-03-13 Doug Evans <xdje42@gmail.com>
2430
2431 * value.c (record_latest_value): Call release_value_or_incref
2432 instead of release_value.
2433
2434 2014-03-13 Pedro Alves <palves@redhat.com>
2435
2436 * procfs.c (procfs_target): Don't override to_shortname,
2437 to_longname or to_doc.
2438
2439 2014-03-13 Pedro Alves <palves@redhat.com>
2440
2441 * inf-child.c (inf_child_open, inf_child_target): Don't mention
2442 Unix in user visible strings.
2443
2444 2014-03-12 Stan Shebs <stan@codesourcery.com>
2445
2446 * gdbtypes.h: Annotate comments for Doxygen, add a page
2447 block comment with some general info.
2448
2449 2014-03-12 Pedro Alves <palves@redhat.com>
2450
2451 * infcmd.c (prepare_execution_command): New function, factored out
2452 from several execution commands.
2453 (run_command_1, continue_command, step_1, jump_command)
2454 (signal_command, until_command, advance_command, finish_command)
2455 (attach_command): Use prepare_execution_command.
2456
2457 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
2458
2459 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
2460 (MAX_BPTS): Define.
2461 (MAX_WPTS): Define.
2462 (struct arm_linux_thread_points): Removed.
2463 (struct arm_linux_process_info): New.
2464 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
2465 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
2466 (arm_linux_find_breakpoints_by_tid): Removed.
2467 (struct arch_lwp_info): New.
2468 (arm_linux_find_process_pid): New functions.
2469 (arm_linux_add_process): New functions.
2470 (arm_linux_process_info_get): New functions.
2471 (arm_linux_forget_process): New function.
2472 (arm_linux_get_debug_reg_state): New function.
2473 (struct update_registers_data): New.
2474 (update_registers_callback): New function.
2475 (arm_linux_insert_hw_breakpoint1): Updated.
2476 (arm_linux_remove_hw_breakpoint1): Updated.
2477 (arm_linux_insert_hw_breakpoint): Updated.
2478 (arm_linux_remove_hw_breakpoint): Updated.
2479 (arm_linux_insert_watchpoint): Updated.
2480 (arm_linux_remove_watchpoint): Updated.
2481 (arm_linux_new_thread): Updated.
2482 (arm_linux_prepare_to_resume): New function.
2483 (arm_linux_new_fork): New function.
2484 (_initialize_arm_linux_nat): Updated.
2485
2486 2014-03-12 Pedro Alves <palves@redhat.com>
2487
2488 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
2489
2490 2014-03-12 Tom Tromey <tromey@redhat.com>
2491
2492 * inf-child.c (return_zero): New function.
2493 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
2494 * aix-thread.c (aix_thread_inferior_created): New function.
2495 (aix_thread_attach): Remove.
2496 (init_aix_thread_ops): Don't set to_attach.
2497 (_initialize_aix_thread): Register inferior_created observer.
2498 * corelow.c (init_core_ops): Don't set to_attach or
2499 to_create_inferior.
2500 * exec.c (init_exec_ops): Don't set to_attach or
2501 to_create_inferior.
2502 * infcmd.c (run_command_1): Use find_run_target. Make direct
2503 target calls.
2504 (attach_command): Use find_attach_target. Make direct target
2505 calls.
2506 * record-btrace.c (init_record_btrace_ops): Don't set
2507 to_create_inferior.
2508 * record-full.c (record_full_can_async_p, record_full_is_async_p):
2509 Remove.
2510 (init_record_full_ops, init_record_full_core_ops): Update. Don't
2511 set to_create_inferior.
2512 * target.c (complete_target_initialization): Add assertion.
2513 (target_create_inferior): Remove.
2514 (find_default_attach, find_default_create_inferior): Remove.
2515 (find_attach_target, find_run_target): New functions.
2516 (find_default_is_async_p, find_default_can_async_p)
2517 (target_supports_non_stop, target_attach): Remove.
2518 (init_dummy_target): Don't set to_create_inferior or
2519 to_supports_non_stop.
2520 * target.h (struct target_ops) <to_attach>: Add comment. Remove
2521 TARGET_DEFAULT_FUNC.
2522 <to_create_inferior>: Add comment.
2523 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
2524 TARGET_DEFAULT_RETURN.
2525 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
2526 (find_attach_target, find_run_target): Declare.
2527 (target_create_inferior): Remove.
2528 (target_has_execution_1): Update comment.
2529 (target_supports_non_stop): Remove.
2530 * target-delegates.c: Rebuild.
2531
2532 2014-03-12 Pedro Alves <palves@redhat.com>
2533
2534 * inf-child.h: Update comment to not mention Unix.
2535
2536 2014-03-12 Pedro Alves <palves@redhat.com>
2537
2538 * inf-child.c: Update top comment to not mention Unix. Add
2539 generic comment describing how this target is meant to be used.
2540 (inf_child_post_attach, inf_child_post_startup_inferior)
2541 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
2542 Unix in comment.
2543
2544 2014-03-12 Pedro Alves <palves@redhat.com>
2545
2546 * nto-procfs.c: Include inf-child.h.
2547 (procfs_ops): Delete global.
2548 (procfs_can_run): Delete method.
2549 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
2550 target pointer instead of referencing procfs_ops.
2551 (procfs_prepare_to_store): Delete.
2552 (init_procfs_ops): Delete function.
2553 (procfs_target): New function, based on init_procfs_ops, but
2554 inherit inf_child_target.
2555 (_initialize_procfs): Use procfs_target.
2556
2557 2014-03-12 Pedro Alves <palves@redhat.com>
2558
2559 * windows-nat.c: Include inf-child.h.
2560 (windows_ops): Delete global.
2561 (windows_open, windows_prepare_to_store, windows_can_run): Delete
2562 methods.
2563 (init_windows_ops): Delete function.
2564 (windows_target): New function, based on init_windows_ops, but
2565 inherit inf_child_target.
2566 (_initialize_windows_nat): Use windows_target. Install x86
2567 specific target methods here.
2568
2569 2014-03-10 Doug Evans <xdje42@gmail.com>
2570
2571 * guile/guile.c (call_initialize_gdb_module): New function.
2572 (initialize_guile): Replace call to scm_init_guile with call to
2573 scm_with_guile.
2574
2575 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2576
2577 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
2578 in call to TYPE_CODE macro.
2579
2580 2014-03-10 Jerome Guitton <guitton@adacore.com>
2581
2582 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
2583 Resolve tagged types to full view.
2584
2585 2014-03-10 Hui Zhu <hui@codesourcery.com>
2586
2587 * target.h (target_insert_breakpoint): Remove "hardware" from its
2588 comments.
2589
2590 2014-03-07 Doug Evans <dje@google.com>
2591
2592 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
2593
2594 2014-03-07 Doug Evans <dje@google.com>
2595
2596 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
2597 Remove unused local comp_dir_attr. Assert exactly one of
2598 stub_comp_unit_die, stub_comp_dir is non-NULL.
2599
2600 2014-03-07 Joel Brobecker <brobecker@adacore.com>
2601
2602 * target.h (complete_target_initialization, add_target):
2603 Add comment.
2604
2605 2014-03-07 Pedro Alves <palves@redhat.com>
2606
2607 * go32-nat.c: Include inf-child.h.
2608 (go32_ops): Delete global.
2609 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
2610 Delete methods.
2611 (go32_create_inferior): Push the passed in target pointer instead
2612 of referencing go32_ops.
2613 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
2614 (go32_target): New function, based on init_go32_ops, but inherit
2615 inf_child_target.
2616 (_initialize_go32_nat): Use go32_target. Move parts of
2617 init_go32_ops here.
2618
2619 2014-03-06 Joel Brobecker <brobecker@adacore.com>
2620
2621 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
2622 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
2623 SYMBOL_VALUE_ADDRESS.
2624 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
2625
2626 2014-03-06 Yao Qi <yao@codesourcery.com>
2627
2628 * breakpoint.c (get_tracepoint_by_number): Remove argument
2629 optional_p. All callers updated. Adjust comments. Update
2630 output message.
2631 * breakpoint.h (get_tracepoint_by_number): Update declaration.
2632
2633 2014-03-06 Yao Qi <yao@codesourcery.com>
2634
2635 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
2636 early if get_number returns zero. Use 'p' instead of 'args'.
2637
2638 2014-03-06 Yao Qi <yao@codesourcery.com>
2639
2640 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
2641 message.
2642
2643 2014-03-06 Yao Qi <yao@codesourcery.com>
2644
2645 PR breakpoints/16508
2646 * tracepoint.c (check_trace_running): New function.
2647 (trace_find_command): Move code to check_trace_running and
2648 call check_trace_running.
2649 (trace_find_pc_command): Likewise.
2650 (trace_find_tracepoint_command): Likewise.
2651 (trace_find_line_command): Likewise.
2652 (trace_find_range_command): Likewise.
2653 * tracepoint.h (check_trace_running): Likewise.
2654 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
2655
2656 2014-03-06 Yao Qi <yao@codesourcery.com>
2657
2658 * target.h (struct target_ops) <to_traceframe_info>: Use
2659 TARGET_DEFAULT_NORETURN (tcomplain ()).
2660 * target-delegates.c: Regenerated.
2661
2662 2014-03-05 Pedro Alves <palves@redhat.com>
2663
2664 PR gdb/16575
2665 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
2666 void. Update comment.
2667 (dcache_xfer_memory): Delete.
2668 (dcache_read_memory_partial): New, based on the read bits of
2669 dcache_xfer_memory.
2670 (dcache_update): Add status parameter. Use ULONGEST for len, and
2671 adjust. Discard cache lines if the reason for the update was
2672 error.
2673 * dcache.h (dcache_xfer_memory): Delete declaration.
2674 (dcache_read_memory_partial): New declaration.
2675 (dcache_update): Update prototype.
2676 * target.c (raw_memory_xfer_partial): Update the dcache here.
2677 (memory_xfer_partial_1): Don't handle dcache writes here.
2678
2679 2014-03-05 Mike Frysinger <vapier@gentoo.org>
2680
2681 * remote-sim.c (gdbsim_load): Add const to prog.
2682
2683 2014-03-03 Tom Tromey <tromey@redhat.com>
2684
2685 * elfread.c (probe_key): Change to bfd_data.
2686 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
2687 now per-BFD, not per-objfile.
2688 * stap-probe.c (stap_probe_destroy): Update comment.
2689 (handle_stap_probe): Allocate on the per-BFD obstack.
2690
2691 2014-03-03 Tom Tromey <tromey@redhat.com>
2692
2693 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
2694 * breakpoint.c (create_longjmp_master_breakpoint): Use
2695 get_probe_address.
2696 (add_location_to_breakpoint, bkpt_probe_insert_location)
2697 (bkpt_probe_remove_location): Update.
2698 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
2699 * elfread.c (elf_symfile_relocate_probe): Remove.
2700 (elf_probe_fns): Update.
2701 (insert_exception_resume_breakpoint): Change type of "probe"
2702 parameter to bound_probe.
2703 (check_exception_resume): Update.
2704 * objfiles.c (objfile_relocate1): Don't relocate probes.
2705 * probe.c (bound_probe_s): New typedef.
2706 (parse_probes): Use get_probe_address. Set sal's objfile.
2707 (find_probe_by_pc): Return a bound_probe.
2708 (collect_probes): Return a VEC(bound_probe_s).
2709 (compare_probes): Update.
2710 (gen_ui_out_table_header_info): Change type of "probes"
2711 parameter. Update.
2712 (info_probes_for_ops): Update.
2713 (get_probe_address): New function.
2714 (probe_safe_evaluate_at_pc): Update.
2715 * probe.h (struct probe_ops) <get_probe_address>: New field.
2716 <set_semaphore, clear_semaphore>: Add objfile parameter.
2717 (struct probe) <objfile>: Remove field.
2718 <arch>: New field.
2719 <address>: Update comment.
2720 (struct bound_probe): New.
2721 (find_probe_by_pc): Return a bound_probe.
2722 (get_probe_address): Declare.
2723 * solib-svr4.c (struct probe_and_action) <address>: New field.
2724 (hash_probe_and_action, equal_probe_and_action): Update.
2725 (register_solib_event_probe): Add address parameter.
2726 (solib_event_probe_at): Update.
2727 (svr4_create_probe_breakpoints): Add objfile parameter. Use
2728 get_probe_address.
2729 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
2730 (stap_get_probe_address): New function.
2731 (stap_can_evaluate_probe_arguments, compute_probe_arg)
2732 (compile_probe_arg): Update.
2733 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
2734 address.
2735 (handle_stap_probe): Don't relocate the probe.
2736 (stap_relocate): Remove.
2737 (stap_gen_info_probes_table_values): Update.
2738 (stap_probe_ops): Remove stap_relocate.
2739 * symfile-debug.c (debug_sym_relocate_probe): Remove.
2740 (debug_sym_probe_fns): Update.
2741 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
2742 * symtab.c (init_sal): Use memset.
2743 * symtab.h (struct symtab_and_line) <objfile>: New field.
2744 * tracepoint.c (start_tracing, stop_tracing): Update.
2745
2746 2014-03-03 Tom Tromey <tromey@redhat.com>
2747
2748 * probe.h (parse_probes, find_probe_by_pc)
2749 (find_probes_in_objfile): Fix comments.
2750
2751 2014-03-02 Doug Evans <xdje42@gmail.com>
2752
2753 * infrun.c (handle_signal_stop): Replace test for
2754 TARGET_WAITKIND_STOPPED with an assert.
2755
2756 2014-03-02 Doug Evans <xdje42@gmail.com>
2757
2758 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
2759
2760 2014-03-02 Doug Evans <xdje42@gmail.com>
2761
2762 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
2763
2764 2014-03-01 Mark Kettenis <kettenis@gnu.org>
2765
2766 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
2767
2768 2014-03-01 Mark Kettenis <kettenis@gnu.org>
2769
2770 * i386obsd-nat.c: Include "obsd-nat.h".
2771 (_initialize_i386obsd_nat): Call obsd_add_target instead of
2772 add_target.
2773 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
2774
2775 2014-03-01 Mark Kettenis <kettenis@gnu.org>
2776
2777 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
2778
2779 2014-03-01 Mark Kettenis <kettenis@gnu.org>
2780
2781 * mips64obsd-nat.c: Include "obsd-nath".
2782 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
2783 add_target
2784 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
2785
2786 2014-03-01 Mark Kettenis <kettenis@gnu.org>
2787
2788 * amd64obsd-nat.c: Include "obsd-nat,h.
2789 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
2790 add_target.
2791 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
2792
2793 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
2794
2795 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
2796 (find_overload_match): Update call to find_oload_champ.
2797 (find_oload_champ_namespace_loop): Likewise
2798
2799 2014-02-28 Mark Kettenis <kettenis@gnu.org>
2800
2801 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
2802
2803 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
2804 * config/sparc/obsd64.mh: New file.
2805 * sparc64obsd-nat.c: New file.
2806
2807 * obsd-nat.h: New file.
2808 * obsd-nat.c: New file.
2809 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
2810 (ALLDEPFILES): Add obsd-nat.c.
2811
2812 2014-02-28 Tom Tromey <tromey@redhat.com>
2813
2814 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
2815 * cli-out.h (cli_ui_out_impl): Now const.
2816 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
2817 * ui-out.c (struct ui_out) <impl>: Now const.
2818 (default_ui_out_impl): Now const.
2819 (ui_out_new): Make 'impl' parameter const.
2820 * ui-out.h (ui_out_new): Update.
2821
2822 2014-02-27 Mark Kettenis <kettenis@gnu.org>
2823
2824 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
2825
2826 2014-02-27 Mark Kettenis <kettenis@gnu.org>
2827
2828 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
2829
2830 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2831
2832 Additional PR 8882 fix.
2833 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
2834
2835 2014-02-27 Pedro Alves <palves@redhat.com>
2836
2837 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
2838 isn't set.
2839
2840 2014-02-27 Pedro Alves <palves@redhat.com>
2841
2842 PR 12702
2843 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
2844 * nat/linux-waitpid.c: Include string.h.
2845 (status_to_str): Moved here and made extern.
2846 * nat/linux-waitpid.h (status_to_str): New declaration.
2847
2848 2014-02-27 Hui Zhu <hui@codesourcery.com>
2849
2850 PR 12702
2851 * infrun.c (ptid_match): Move ...
2852 * common/ptid.c (ptid_match): ... here.
2853 * inferior.h (ptid_match): Move ...
2854 * common/ptid.h (ptid_match): ... here.
2855
2856 2014-02-27 Mark Kettenis <kettenis@gnu.org>
2857
2858 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
2859 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
2860 gdb_target_obs.
2861
2862 2014-02-27 Mark Kettenis <kettenis@gnu.org>
2863
2864 * obsd-tdep.c (obsd_auxv_parse): New function.
2865 (obsd_init_abi): Set auxv_parse.
2866
2867 * gdbarch.sh (auxv_parse): New.
2868 * gdbarch.h: Regenerated.
2869 * gdbarch.c: Regenerated.
2870 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
2871
2872 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2873
2874 * guile/scm-value.c (gdbscm_history_append_x): New function.
2875 (value_functions): Add it.
2876
2877 2014-02-27 Joel Brobecker <brobecker@adacore.com>
2878
2879 * dwarf2read.c (attr_value_as_address): New function.
2880 (dwarf2_find_base_address, read_call_site_scope): Use
2881 attr_value_as_address in place of DW_ADDR.
2882 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
2883 the low and high addresses. Slight rework of the handling
2884 of the high pc being a constant form, and limit it to
2885 DWARF verson 4 or higher.
2886 (dwarf2_record_block_ranges): Likewise.
2887 (read_partial_die): Likewise.
2888 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
2889
2890 2014-02-26 Tom Tromey <tromey@redhat.com>
2891
2892 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
2893
2894 2014-02-26 Tom Tromey <tromey@redhat.com>
2895
2896 * elfread.c (elf_read_minimal_symbols): Return early if
2897 minimal symbols have already been read. Add "ei" parameter.
2898 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
2899 * minsyms.c (prim_record_minimal_symbol_full): Update.
2900 * objfiles.h (struct objstats) <n_minsyms>: Move...
2901 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
2902 * symmisc.c (print_objfile_statistics): Update.
2903
2904 2014-02-26 Tom Tromey <tromey@redhat.com>
2905
2906 * elfread.c (elf_read_minimal_symbols): New function, from
2907 elf_symfile_read.
2908 (elf_symfile_read): Call it.
2909
2910 2014-02-26 Tom Tromey <tromey@redhat.com>
2911
2912 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
2913 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
2914 (lookup_minimal_symbol_solib_trampoline)
2915 (lookup_minimal_symbol_by_pc_section_1)
2916 (lookup_minimal_symbol_and_objfile): Update.
2917 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
2918 Don't allocate a minimal symbol if minsyms have already been read.
2919 (build_minimal_symbol_hash_tables): Update.
2920 (install_minimal_symbols): Do nothing if minsyms already read.
2921 Use the per-BFD obstack.
2922 (terminate_minimal_symbol_table): Use the per-BFD obstack.
2923 * objfiles.c (allocate_objfile): Call
2924 terminate_minimal_symbol_table later.
2925 (have_minimal_symbols): Update.
2926 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
2927 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
2928 Move from struct objfile.
2929 <minsyms_read>: New field.
2930 (struct objfile) <msymbols, minimal_symbol_count,
2931 msymbol_hash, msymbol_demangled_hash>: Move.
2932 (ALL_OBJFILE_MSYMBOLS): Update.
2933 * symfile.c (read_symbols): Set minsyms_read.
2934 (reread_symbols): Update.
2935 * symmisc.c (dump_objfile, dump_msymbols): Update.
2936
2937 2014-02-26 Tom Tromey <tromey@redhat.com>
2938
2939 * minsyms.c (msymbols_sort): Remove.
2940 * minsyms.h (msymbols_sort): Remove.
2941 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
2942 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
2943 * elfread.c (elf_symtab_read): Don't add section offsets.
2944 * xcoffread.c (record_minimal_symbol): Don't add section offset
2945 to minimal symbol address.
2946 * somread.c (text_offset, data_offset): Remove.
2947 (som_symtab_read): Don't add section offsets to minimal symbol
2948 addresses.
2949 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
2950 Don't add section offsets to minimal symbols.
2951 * coffread.c (coff_symtab_read): Don't add section offsets
2952 to minimal symbol addresses.
2953 * machoread.c (macho_symtab_add_minsym): Don't add section offset
2954 to minimal symbol addresses.
2955 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
2956 section offset to minimal symbol addresses.
2957 * mdebugread.c (parse_partial_symbols): Don't add section
2958 offset to minimal symbol addresses.
2959 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
2960 offset to minimal symbol addresses.
2961
2962 2014-02-26 Tom Tromey <tromey@redhat.com>
2963
2964 * ada-lang.c (ada_main_name): Update.
2965 (ada_add_standard_exceptions): Update.
2966 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
2967 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2968 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
2969 * auxv.c (ld_so_xfer_auxv): Update.
2970 * avr-tdep.c (avr_scan_prologue): Update.
2971 * ax-gdb.c (gen_var_ref): Update.
2972 * blockframe.c (get_pc_function_start)
2973 (find_pc_partial_function_gnu_ifunc): Update.
2974 * breakpoint.c (create_overlay_event_breakpoint)
2975 (create_longjmp_master_breakpoint)
2976 (create_std_terminate_master_breakpoint)
2977 (create_exception_master_breakpoint): Update.
2978 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2979 * c-valprint.c (c_val_print): Update.
2980 * coff-pe-read.c (add_pe_forwarded_sym): Update.
2981 * common/agent.c (agent_look_up_symbols): Update.
2982 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
2983 * dwarf2loc.c (call_site_to_target_addr): Update.
2984 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
2985 * elfread.c (elf_gnu_ifunc_record_cache)
2986 (elf_gnu_ifunc_resolve_by_got): Update.
2987 * findvar.c (default_read_var_value): Update.
2988 * frame.c (inside_main_func): Update.
2989 * frv-tdep.c (frv_frame_this_id): Update.
2990 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2991 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
2992 Update.
2993 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
2994 (hppa_hpux_find_dummy_bpaddr): Update.
2995 * hppa-tdep.c (hppa_symbol_address): Update.
2996 * infcmd.c (until_next_command): Update.
2997 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
2998 Update.
2999 * linespec.c (minsym_found, add_minsym): Update.
3000 * linux-nat.c (get_signo): Update.
3001 * linux-thread-db.c (inferior_has_bug): Update.
3002 * m32c-tdep.c (m32c_return_value)
3003 (m32c_m16c_address_to_pointer): Update.
3004 * m32r-tdep.c (m32r_frame_this_id): Update.
3005 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
3006 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
3007 * maint.c (maintenance_translate_address): Update.
3008 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
3009 (frob_address): New function.
3010 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
3011 frob_address. Rename parameter to "pc_in".
3012 (compare_minimal_symbols, compact_minimal_symbols): Use raw
3013 addresses.
3014 (find_solib_trampoline_target, minimal_symbol_upper_bound):
3015 Update.
3016 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
3017 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
3018 * objc-lang.c (find_objc_msgsend): Update.
3019 * objfiles.c (objfile_relocate1): Update.
3020 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
3021 * p-valprint.c (pascal_val_print): Update.
3022 * parse.c (write_exp_msymbol): Update.
3023 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
3024 (ppc_elfv2_skip_entrypoint): Update.
3025 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
3026 * printcmd.c (build_address_symbolic, msym_info)
3027 (address_info): Update.
3028 * proc-service.c (ps_pglobal_lookup): Update.
3029 * psymtab.c (find_pc_sect_psymtab_closer)
3030 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
3031 Change msymbol parameter to bound_minimal_symbol.
3032 * ravenscar-thread.c (get_running_thread_id): Update.
3033 * remote.c (remote_check_symbols): Update.
3034 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
3035 address.
3036 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
3037 * solib-dsbt.c (lm_base): Update.
3038 * solib-frv.c (lm_base, main_got): Update.
3039 * solib-irix.c (locate_base): Update.
3040 * solib-som.c (som_solib_create_inferior_hook)
3041 (link_map_start): Update.
3042 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
3043 * solib-svr4.c (elf_locate_base, enable_break): Update.
3044 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
3045 (flush_ea_cache): Update.
3046 * stabsread.c (define_symbol, scan_file_globals): Update.
3047 * stack.c (find_frame_funname): Update.
3048 * symfile-debug.c (debug_qf_expand_symtabs_matching)
3049 (debug_qf_find_pc_sect_symtab): Update.
3050 * symfile.c (simple_read_overlay_table)
3051 (simple_overlay_update): Update.
3052 * symfile.h (struct quick_symbol_functions)
3053 <find_pc_sect_symtab>: Change type of msymbol to
3054 bound_minimal_symbol.
3055 * symmisc.c (dump_msymbols): Update.
3056 * symtab.c (find_pc_sect_symtab_via_partial)
3057 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
3058 (search_symbols, print_msymbol_info): Update.
3059 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
3060 (MSYMBOL_VALUE_ADDRESS): Redefine.
3061 (BMSYMBOL_VALUE_ADDRESS): New macro.
3062 * tracepoint.c (scope_info): Update.
3063 * tui/tui-disasm.c (tui_find_disassembly_address)
3064 (tui_get_begin_asm_address): Update.
3065 * valops.c (find_function_in_inferior): Update.
3066 * value.c (value_static_field, value_fn_field): Update.
3067
3068 2014-02-26 Tom Tromey <tromey@redhat.com>
3069
3070 * ada-lang.c (ada_update_initial_language): Update.
3071 (ada_main_name, ada_has_this_exception_support): Update.
3072 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
3073 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
3074 * arm-tdep.c (arm_skip_stub): Update.
3075 * auxv.c (ld_so_xfer_auxv): Update.
3076 * avr-tdep.c (avr_scan_prologue): Update.
3077 * ax-gdb.c (gen_var_ref): Update.
3078 * breakpoint.c (struct breakpoint_objfile_data)
3079 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
3080 type to bound_minimal_symbol.
3081 (create_overlay_event_breakpoint)
3082 (create_longjmp_master_breakpoint)
3083 (create_std_terminate_master_breakpoint)
3084 (create_exception_master_breakpoint): Update.
3085 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
3086 * c-exp.y (classify_name): Update.
3087 * coffread.c (coff_symfile_read): Update.
3088 * common/agent.c (agent_look_up_symbols): Update.
3089 * d-lang.c (d_main_name): Update.
3090 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
3091 * dec-thread.c (enable_dec_thread): Update.
3092 * dwarf2loc.c (call_site_to_target_addr): Update.
3093 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
3094 * eval.c (evaluate_subexp_standard): Update.
3095 * findvar.c (struct minsym_lookup_data) <result>: Change type
3096 to bound_minimal_symbol.
3097 <objfile>: Remove.
3098 (minsym_lookup_iterator_cb, default_read_var_value): Update.
3099 * frame.c (inside_main_func): Update.
3100 * frv-tdep.c (frv_frame_this_id): Update.
3101 * gcore.c (call_target_sbrk): Update.
3102 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
3103 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
3104 Update.
3105 * go-lang.c (go_main_name): Update.
3106 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
3107 (hppa_hpux_find_import_stub_for_addr): Update.
3108 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
3109 Update. Change return type.
3110 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
3111 type.
3112 * jit.c (jit_breakpoint_re_set_internal): Update.
3113 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
3114 Update.
3115 * linux-nat.c (get_signo): Update.
3116 * linux-thread-db.c (inferior_has_bug): Update
3117 * m32c-tdep.c (m32c_return_value)
3118 (m32c_m16c_address_to_pointer): Update.
3119 * m32r-tdep.c (m32r_frame_this_id): Update.
3120 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
3121 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
3122 * minsyms.c (lookup_minimal_symbol_internal): Rename to
3123 lookup_minimal_symbol. Change return type.
3124 (lookup_minimal_symbol): Remove.
3125 (lookup_bound_minimal_symbol): Update.
3126 (lookup_minimal_symbol_text): Change return type.
3127 (lookup_minimal_symbol_solib_trampoline): Change return type.
3128 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
3129 (lookup_minimal_symbol_solib_trampoline): Change return type.
3130 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
3131 * objc-lang.c (lookup_objc_class, lookup_child_selector)
3132 (value_nsstring, find_imps): Update.
3133 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
3134 * p-lang.c (pascal_main_name): Update.
3135 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
3136 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
3137 * proc-service.c (ps_pglobal_lookup): Update.
3138 * ravenscar-thread.c (get_running_thread_msymbol): Change
3139 return type.
3140 (has_ravenscar_runtime, get_running_thread_id): Update.
3141 * remote.c (remote_check_symbols): Update.
3142 * sol-thread.c (ps_pglobal_lookup): Update.
3143 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
3144 * solib-dsbt.c (lm_base): Update.
3145 * solib-frv.c (lm_base, frv_relocate_section_addresses):
3146 Update.
3147 * solib-irix.c (locate_base): Update.
3148 * solib-som.c (som_solib_create_inferior_hook)
3149 (som_solib_desire_dynamic_linker_symbols, link_map_start):
3150 Update.
3151 * solib-spu.c (spu_enable_break): Update.
3152 * solib-svr4.c (elf_locate_base, enable_break): Update.
3153 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
3154 (flush_ea_cache): Update.
3155 * stabsread.c (define_symbol): Update.
3156 * symfile.c (simple_read_overlay_table): Update.
3157 * symtab.c (find_pc_sect_line): Update.
3158 * tracepoint.c (scope_info): Update.
3159 * tui-disasm.c (tui_get_begin_asm_address): Update.
3160 * value.c (value_static_field): Update.
3161
3162 2014-02-26 Tom Tromey <tromey@redhat.com>
3163
3164 * minsyms.c (prim_record_minimal_symbol_full): Use
3165 SET_MSYMBOL_VALUE_ADDRESS.
3166 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
3167 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
3168 SET_MSYMBOL_VALUE_ADDRESS.
3169 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
3170 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
3171
3172 2014-02-26 Tom Tromey <tromey@redhat.com>
3173
3174 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
3175 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
3176 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
3177 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
3178 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
3179 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
3180 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
3181 * ada-lang.c (ada_main_name): Update.
3182 (ada_lookup_simple_minsym): Update.
3183 (ada_make_symbol_completion_list): Update.
3184 (ada_add_standard_exceptions): Update.
3185 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
3186 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
3187 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
3188 * arm-tdep.c (skip_prologue_function): Update.
3189 (arm_skip_stack_protector, arm_skip_stub): Update.
3190 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
3191 (arm_wince_skip_main_prologue): Update.
3192 * auxv.c (ld_so_xfer_auxv): Update.
3193 * avr-tdep.c (avr_scan_prologue): Update.
3194 * ax-gdb.c (gen_var_ref): Update.
3195 * block.c (call_site_for_pc): Update.
3196 * blockframe.c (get_pc_function_start): Update.
3197 (find_pc_partial_function_gnu_ifunc): Update.
3198 * breakpoint.c (create_overlay_event_breakpoint): Update.
3199 (create_longjmp_master_breakpoint): Update.
3200 (create_std_terminate_master_breakpoint): Update.
3201 (create_exception_master_breakpoint): Update.
3202 (resolve_sal_pc): Update.
3203 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
3204 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
3205 Update.
3206 * c-valprint.c (c_val_print): Update.
3207 * coff-pe-read.c (add_pe_forwarded_sym): Update.
3208 * coffread.c (coff_symfile_read): Update.
3209 * common/agent.c (agent_look_up_symbols): Update.
3210 * dbxread.c (find_stab_function_addr): Update.
3211 (end_psymtab): Update.
3212 * dwarf2loc.c (call_site_to_target_addr): Update.
3213 (func_verify_no_selftailcall): Update.
3214 (tailcall_dump): Update.
3215 (call_site_find_chain_1): Update.
3216 (dwarf_expr_reg_to_entry_parameter): Update.
3217 * elfread.c (elf_gnu_ifunc_record_cache): Update.
3218 (elf_gnu_ifunc_resolve_by_got): Update.
3219 * f-valprint.c (info_common_command): Update.
3220 * findvar.c (read_var_value): Update.
3221 * frame.c (get_prev_frame_1): Update.
3222 (inside_main_func): Update.
3223 * frv-tdep.c (frv_skip_main_prologue): Update.
3224 (frv_frame_this_id): Update.
3225 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
3226 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
3227 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
3228 (gnuv3_skip_trampoline): Update.
3229 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
3230 (hppa64_hpux_in_solib_call_trampoline): Update.
3231 (hppa_hpux_skip_trampoline_code): Update.
3232 (hppa64_hpux_search_dummy_call_sequence): Update.
3233 (hppa_hpux_find_import_stub_for_addr): Update.
3234 (hppa_hpux_find_dummy_bpaddr): Update.
3235 * hppa-tdep.c (hppa_symbol_address)
3236 (hppa_lookup_stub_minimal_symbol): Update.
3237 * i386-tdep.c (i386_skip_main_prologue): Update.
3238 (i386_pe_skip_trampoline_code): Update.
3239 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
3240 * infcall.c (get_function_name): Update.
3241 * infcmd.c (until_next_command): Update.
3242 * jit.c (jit_breakpoint_re_set_internal): Update.
3243 (jit_inferior_init): Update.
3244 * linespec.c (minsym_found): Update.
3245 (add_minsym): Update.
3246 * linux-fork.c (info_checkpoints_command): Update.
3247 * linux-nat.c (get_signo): Update.
3248 * linux-thread-db.c (inferior_has_bug): Update.
3249 * m32c-tdep.c (m32c_return_value): Update.
3250 (m32c_m16c_address_to_pointer): Update.
3251 (m32c_m16c_pointer_to_address): Update.
3252 * m32r-tdep.c (m32r_frame_this_id): Update.
3253 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
3254 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
3255 * maint.c (maintenance_translate_address): Update.
3256 * minsyms.c (add_minsym_to_hash_table): Update.
3257 (add_minsym_to_demangled_hash_table): Update.
3258 (msymbol_objfile): Update.
3259 (lookup_minimal_symbol): Update.
3260 (iterate_over_minimal_symbols): Update.
3261 (lookup_minimal_symbol_text): Update.
3262 (lookup_minimal_symbol_by_pc_name): Update.
3263 (lookup_minimal_symbol_solib_trampoline): Update.
3264 (lookup_minimal_symbol_by_pc_section_1): Update.
3265 (lookup_minimal_symbol_and_objfile): Update.
3266 (prim_record_minimal_symbol_full): Update.
3267 (compare_minimal_symbols): Update.
3268 (compact_minimal_symbols): Update.
3269 (build_minimal_symbol_hash_tables): Update.
3270 (install_minimal_symbols): Update.
3271 (terminate_minimal_symbol_table): Update.
3272 (find_solib_trampoline_target): Update.
3273 (minimal_symbol_upper_bound): Update.
3274 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
3275 * mips-tdep.c (mips_stub_frame_sniffer): Update.
3276 (mips_skip_pic_trampoline_code): Update.
3277 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
3278 * objc-lang.c (selectors_info): Update.
3279 (classes_info): Update.
3280 (find_methods): Update.
3281 (find_imps): Update.
3282 (find_objc_msgsend): Update.
3283 * objfiles.c (objfile_relocate1): Update.
3284 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
3285 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
3286 * p-valprint.c (pascal_val_print): Update.
3287 * parse.c (write_exp_msymbol): Update.
3288 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
3289 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
3290 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
3291 * printcmd.c (build_address_symbolic): Update.
3292 (sym_info): Update.
3293 (address_info): Update.
3294 * proc-service.c (ps_pglobal_lookup): Update.
3295 * psymtab.c (find_pc_sect_psymtab_closer): Update.
3296 (find_pc_sect_psymtab): Update.
3297 * python/py-framefilter.c (py_print_frame): Update.
3298 * ravenscar-thread.c (get_running_thread_id): Update.
3299 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
3300 Update.
3301 * remote.c (remote_check_symbols): Update.
3302 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
3303 (rs6000_skip_trampoline_code): Update.
3304 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
3305 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
3306 * solib-dsbt.c (lm_base): Update.
3307 * solib-frv.c (lm_base): Update.
3308 (main_got): Update.
3309 * solib-irix.c (locate_base): Update.
3310 * solib-som.c (som_solib_create_inferior_hook): Update.
3311 (som_solib_desire_dynamic_linker_symbols): Update.
3312 (link_map_start): Update.
3313 * solib-spu.c (spu_enable_break): Update.
3314 (ocl_enable_break): Update.
3315 * solib-svr4.c (elf_locate_base): Update.
3316 (enable_break): Update.
3317 * spu-tdep.c (spu_get_overlay_table): Update.
3318 (spu_catch_start): Update.
3319 (flush_ea_cache): Update.
3320 * stabsread.c (define_symbol): Update.
3321 (scan_file_globals): Update.
3322 * stack.c (find_frame_funname): Update.
3323 (frame_info): Update.
3324 * symfile.c (simple_read_overlay_table): Update.
3325 (simple_overlay_update): Update.
3326 * symmisc.c (dump_msymbols): Update.
3327 * symtab.c (fixup_section): Update.
3328 (find_pc_sect_line): Update.
3329 (skip_prologue_sal): Update.
3330 (search_symbols): Update.
3331 (print_msymbol_info): Update.
3332 (rbreak_command): Update.
3333 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
3334 (completion_list_objc_symbol): Update.
3335 (default_make_symbol_completion_list_break_on): Update.
3336 * tracepoint.c (scope_info): Update.
3337 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
3338 (tui_get_begin_asm_address): Update.
3339 * valops.c (find_function_in_inferior): Update.
3340 * value.c (value_static_field): Update.
3341 (value_fn_field): Update.
3342
3343 2014-02-26 Tom Tromey <tromey@redhat.com>
3344
3345 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
3346 bound minimal symbols. Move code that knows about minsym
3347 table layout...
3348 * minsyms.c (minimal_symbol_upper_bound): ... here. New
3349 function.
3350 * minsyms.h (minimal_symbol_upper_bound): Declare.
3351 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
3352 minimal_symbol_upper_bound.
3353
3354 2014-02-27 Joel Brobecker <brobecker@adacore.com>
3355
3356 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
3357 Use the type's name if its basic type does not have a tag.
3358
3359 2014-02-27 Joel Brobecker <brobecker@adacore.com>
3360
3361 * dwarf2read.c (read_subrange_type): Add comment.
3362
3363 2014-02-27 Joel Brobecker <brobecker@adacore.com>
3364
3365 * dwarf2read.c (update_enumeration_type_from_children): New
3366 function, mostly extracted from process_structure_scope.
3367 (read_enumeration_type): Call update_enumeration_type_from_children.
3368 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
3369 and flag_flag_enum fields.
3370
3371 2014-02-26 Pedro Alves <palves@redhat.com>
3372
3373 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
3374 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
3375 to_xfer_partial method.
3376
3377 2014-02-26 Pedro Alves <palves@redhat.com>
3378
3379 * target.c (complete_target_initialization): Don't install
3380 default_xfer_partial as to_xfer_partial hook.
3381 (nomemory): Delete.
3382 (update_current_target): Don't INHERIT nor de_fault
3383 deprecated_xfer_memory. Delete de_fault macro.
3384 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
3385 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
3386 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
3387 field.
3388
3389 2014-02-26 Pedro Alves <palves@redhat.com>
3390
3391 * go32-nat.c (my_write_child): New function.
3392 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
3393 (go32_xfer_partial): New function.
3394 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
3395 Instead install a to_xfer_partial hook.
3396
3397 2014-02-26 Pedro Alves <palves@redhat.com>
3398
3399 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
3400 to_xfer_partial helper. Rewrite.
3401 (procfs_xfer_partial): New function.
3402 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
3403 Install a to_xfer_partial hook.
3404
3405 2014-02-26 Pedro Alves <palves@redhat.com>
3406
3407 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
3408 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
3409 (m32r_xfer_partial): New function.
3410 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
3411 Install a to_xfer_partial hook.
3412
3413 2014-02-26 Pedro Alves <palves@redhat.com>
3414
3415 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
3416 helper.
3417 (mips_xfer_partial): New function.
3418 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
3419 hook. Install a to_xfer_partial hook.
3420
3421 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3422
3423 * gdbtypes.h (create_array_type_with_stride): Add declaration.
3424 * gdbtypes.c (create_array_type_with_stride): New function,
3425 renaming create_array_type, but with an added parameter
3426 called "bit_stride".
3427 (create_array_type): Re-implement using
3428 create_array_type_with_stride.
3429 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
3430 and DW_AT_bit_stride attributes.
3431
3432 2014-02-26 Pedro Alves <palves@redhat.com>
3433
3434 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
3435 task-specific breakpoints.
3436
3437 2014-02-25 Pedro Alves <palves@redhat.com>
3438
3439 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
3440 handling of object == TARGET_OBJECT_UNWIND_TABLE.
3441
3442 2014-02-25 Stan Shebs <stan@codesourcery.com>
3443
3444 * defs.h: Annotate comments for Doxygen.
3445
3446 2014-02-25 Tom Tromey <tromey@redhat.com>
3447
3448 * target.h (target_ignore): Don't declare.
3449 * target.c (target_ignore): Remove.
3450
3451 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3452
3453 PR gdb/16626
3454 * auto-load.c (auto_load_objfile_script_1): Change filename to
3455 debugfile.
3456
3457 2014-02-25 Joel Brobecker <brobecker@adacore.com>
3458
3459 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
3460 documentation. Adjust prototype to match the target_ops
3461 to_xfer_partial method. Adjust implementation accordingly.
3462
3463 2014-02-25 Hui Zhu <hui@codesourcery.com>
3464
3465 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
3466 to_traceframe_info.
3467
3468 2014-02-25 Kevin Buettner <kevinb@redhat.com>
3469
3470 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
3471 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
3472 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
3473 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
3474 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
3475 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
3476 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
3477 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
3478 New constants.
3479 (rl78_register_type): Use a data pointer type for SP and
3480 new pseudo registers mentioned above. Use a 16 bit integer
3481 type for all other register pairs.
3482 (rl78_register_name, rl78_g10_register_name): Update for
3483 new pseudo registers.
3484 (rl78_pseudo_register_read): Likewise.
3485 (rl78_pseudo_register_write): Likewise.
3486 (rl78_dwarf_reg_to_regnum): Return register numbers representing
3487 to the newly added pseudo registers.
3488
3489 2014-02-24 Doug Evans <dje@google.com>
3490
3491 * value.c (record_latest_value): Fix comment.
3492 * printcmd.c (print_command_1): Remove code to handle -1 return from
3493 record_latest_value.
3494
3495 2014-02-24 Pedro Alves <palves@redhat.com>
3496
3497 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
3498 deprecated_xfer_memory hook.
3499 (procfs_xfer_partial): Call procfs_xfer_memory instead
3500 of the deprecated_xfer_memory target hook.
3501 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
3502 helper.
3503
3504 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
3505
3506 * windows-nat.c (windows_xfer_shared_libraries): Return
3507 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
3508 requested object is TARGET_OBJECT_LIBRARIES.
3509
3510 2014-02-24 Yao Qi <yao@codesourcery.com>
3511
3512 * target.h (enum target_xfer_status)
3513 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
3514 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
3515 explicitly. New.
3516 * corefile.c (memory_error_message): User updated.
3517 * exec.c (section_table_read_available_memory): Likewise.
3518 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3519 * target.c (target_xfer_status_to_string): Likewise.
3520 (raw_memory_xfer_partial): Likewise.
3521 (memory_xfer_partial_1, target_xfer_partial): Likewise.
3522 * valops.c (read_value_memory): Likewise.
3523 * exec.h: Update comments.
3524
3525 2014-02-24 Yao Qi <yao@codesourcery.com>
3526
3527 * target.c (target_xfer_status_to_string): Rename argument err
3528 to status.
3529 * target.h (target_xfer_status_to_string): Update declaration.
3530 Replace target_xfer_error_to_string with
3531 target_xfer_status_to_string in comment.
3532
3533 2014-02-24 Yao Qi <yao@codesourcery.com>
3534
3535 * mips-linux-nat.c (super_close): Update its type.
3536 (mips_linux_close): Pass 'self' to super_close.
3537
3538 2014-02-24 Yao Qi <yao@codesourcery.com>
3539
3540 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
3541 * corefile.c (read_memory): Adjusted.
3542 * target.c (target_write_with_progress): Adjusted.
3543
3544 2014-02-23 Yao Qi <yao@codesourcery.com>
3545
3546 Revert two patches:
3547
3548 2013-10-25 Yao Qi <yao@codesourcery.com>
3549
3550 * remote.c (remote_traceframe_info): Return early if
3551 traceframe is not selected.
3552
3553 2013-07-19 Yao Qi <yao@codesourcery.com>
3554
3555 * target.c (update_current_target): Change the default action
3556 of 'to_traceframe_info' from tcomplain to return_zero.
3557 * target.h (struct target_ops) <to_traceframe_info>: Add more
3558 comments.
3559
3560 2014-02-23 Yao Qi <yao@codesourcery.com>
3561
3562 * valops.c (read_value_memory): Rewrite it. Call
3563 target_xfer_partial in a loop.
3564 * exec.h (section_table_available_memory): Remove declaration.
3565 Move comments to ...
3566 * exec.c (section_table_available_memory): ... here. Make it
3567 static.
3568
3569 2014-02-23 Yao Qi <yao@codesourcery.com>
3570
3571 * exec.c (section_table_read_available_memory): New function.
3572 * exec.h (section_table_read_available_memory): Declare.
3573 * ctf.c (ctf_xfer_partial): Call
3574 section_table_read_available_memory.
3575 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
3576
3577 2014-02-23 Yao Qi <yao@codesourcery.com>
3578
3579 * ctf.c (ctf_xfer_partial): Move code to ...
3580 * exec.c (exec_read_partial_read_only): ... it. New function.
3581 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
3582 * tracefile.c: Include "exec.h".
3583 * exec.h (exec_read_partial_read_only): Declare.
3584
3585 2014-02-23 Yao Qi <yao@codesourcery.com>
3586
3587 * tracefile-tfile.c (tfile_has_all_memory): Remove.
3588 (tfile_has_memory): Remove.
3589 (init_tfile_ops): Don't set fields to_has_all_memory and
3590 to_has_memory of tfile_ops.
3591 * tracefile.c (tracefile_has_all_memory): New function.
3592 (tracefile_has_memory): New function.
3593 (init_tracefile_ops): Initialize fields to_has_all_memory and
3594 to_has_memory of 'ops'.
3595
3596 2014-02-23 Yao Qi <yao@codesourcery.com>
3597
3598 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
3599 (ctf_thread_alive, ctf_get_trace_status): Remove.
3600 (init_ctf_ops): Don't set some fields of ctf_ops. Call
3601 init_tracefile_ops.
3602 * tracefile-tfile.c (tfile_get_trace_status): Remove.
3603 (tfile_has_stack, tfile_has_registers): Remove.
3604 (tfile_thread_alive): Remove.
3605 (init_tfile_ops): Don't set some fields of tfile_ops. Call
3606 init_tracefile_ops.
3607 * tracefile.c (tracefile_has_stack): New function.
3608 (tracefile_has_registers): New function.
3609 (tracefile_thread_alive): New function.
3610 (tracefile_get_trace_status): New function.
3611 (init_tracefile_ops): New function.
3612 * tracefile.h (init_tracefile_ops): Declare.
3613
3614 2014-02-23 Yao Qi <yao@codesourcery.com>
3615
3616 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
3617 (O_LARGEFILE): Likewise.
3618 (tfile_ops): Likewise.
3619 (TRACE_HEADER_SIZE): Likewise.
3620 (trace_fd, trace_frames_offset, cur_offset): Likewise.
3621 (cur_data_size): Likewise.
3622 (tfile_read, tfile_open, tfile_interp_line): Likewise.
3623 (tfile_close, tfile_files_info): Likewise.
3624 (tfile_get_trace_status): Likewise.
3625 (tfile_get_tracepoint_status): Likewise.
3626 (tfile_get_traceframe_address): Likewise.
3627 (tfile_trace_find, match_blocktype): Likewise.
3628 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
3629 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
3630 (tfile_get_trace_state_variable_value): Likewise.
3631 (tfile_has_all_memory, tfile_has_memory): Likewise.
3632 (tfile_has_stack, tfile_has_registers): Likewise.
3633 (tfile_thread_alive, build_traceframe_info): Likewise.
3634 (tfile_traceframe_info, init_tfile_ops): Likewise.
3635 (_initialize_tracepoint): Don't call init_tfile_ops
3636 and add_target_with_completer.
3637 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
3638 exec.h, completer.h and filenames.h.
3639 (_initialize_tracefile_tfile): New function.
3640
3641 2014-02-23 Yao Qi <yao@codesourcery.com>
3642
3643 * Makefile.in (REMOTE_OBS): Append tracefile.o and
3644 tracefile-tfile.o.
3645 (HFILES_NO_SRCDIR): Add tracefile.h.
3646 * ctf.c: Include "tracefile.h".
3647 * tracefile.h: New file.
3648 * tracefile.c: New file
3649 * tracefile-tfile.c: New file.
3650 * tracepoint.c: Include "tracefile.h".
3651 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
3652 (stop_reason_names): Add const.
3653 (trace_file_writer_xfree): Move it to tracefile.c.
3654 (trace_save, trace_save_command, trace_save_tfile): Likewise.
3655 (trace_save_ctf): Likewise.
3656 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
3657 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
3658 (tfile_write_header, tfile_write_regblock_type): Likewise.
3659 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
3660 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
3661 (tfile_write_raw_data, tfile_end): Likewise.
3662 (tfile_trace_file_writer_new): Likewise.
3663 (free_uploaded_tp): Make it extern.
3664 (free_uploaded_tsv): Make it extern.
3665 (_initialize_tracepoint): Move code to register command 'tsave'
3666 to tracefile.c.
3667 * tracepoint.h (stop_reason_names): Declare.
3668 (struct trace_frame_write_ops): Move it to tracefile.h.
3669 (struct trace_file_write_ops): Likewise.
3670 (struct trace_file_writer): Likewise.
3671 (free_uploaded_tsvs, free_uploaded_tps): Declare.
3672
3673 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3674
3675 PR gdb/16594
3676 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
3677 process name.
3678 (get_cores_used_by_process): New parameter num_cores, use it.
3679 (linux_xfer_osdata_processes): Pass num_cores to it.
3680 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
3681 process name.
3682
3683 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
3684
3685 * target.c (memory_xfer_partial): Fix length arg in call to
3686 breakpoint_xfer_memory.
3687
3688 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3689
3690 PR tdep/16397
3691 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
3692 number comes after the + or - signs. Adjust length of register
3693 name to be extracted.
3694
3695 2014-02-20 Tom Tromey <tromey@redhat.com>
3696
3697 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
3698 (ada_varobj_ops): Mark "extern".
3699
3700 2014-02-20 Tom Tromey <tromey@redhat.com>
3701
3702 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
3703
3704 2014-02-20 Doug Evans <xdje42@gmail.com>
3705
3706 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
3707 All callers updated.
3708 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
3709 All callers updated.
3710 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
3711 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
3712
3713 2014-02-20 lin zuojian <manjian2006@gmail.com>
3714 Joel Brobecker <brobecker@adacore.com>
3715 Doug Evans <xdje42@gmail.com>
3716
3717 PR symtab/16581
3718 * dwarf2read.c (struct die_info): New member in_process.
3719 (reset_die_in_process): New function.
3720 (process_die): Set it at the start, reset when returning.
3721 (inherit_abstract_dies): Only call process_die if origin_child_die
3722 not already being processed.
3723
3724 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3725
3726 * windows-nat.c (handle_unload_dll): Add function documentation.
3727 (do_initial_windows_stuff): Add comment explaining why we wait
3728 until after inferior initialization has finished before
3729 processing all DLLs.
3730
3731 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3732
3733 * windows-nat.c (get_module_name): Delete.
3734 (windows_get_exec_module_filename): New function, mostly
3735 inspired from get_module_name.
3736 (windows_pid_to_exec_file): Replace call to get_module_name
3737 by call to windows_get_exec_module_filename.
3738
3739 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3740
3741 * windows-nat.c (handle_load_dll): Rewrite this function's
3742 introductory comment. Remove code using get_module_name
3743 to get the DLL's name.
3744
3745 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3746
3747 * windows-nat.c (get_windows_debug_event): Ignore
3748 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
3749 if windows_initialization_done == 0.
3750 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
3751 Adjust implementation to always load all DLLs.
3752 (do_initial_windows_stuff): Replace call to
3753 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
3754
3755 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3756
3757 * windows-nat.c (_initialize_windows_nat): Deprecate the
3758 "dll-symbols" command. Turn the "add-shared-symbol-files"
3759 and "assf" aliases into commands, and deprecate them as well.
3760 * NEWS: Add entry explaining that "dll-symbols" and its two
3761 aliases are now deprecated.
3762
3763 2014-02-20 Joel Brobecker <brobecker@adacore.com>
3764
3765 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
3766 new-line in debug string. Remove trailing spaces.
3767
3768 2014-02-19 Stan Shebs <stan@codesourcery.com>
3769
3770 * darwin-nat.c (darwin_xfer_partial): Fix return type.
3771
3772 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3773
3774 * NEWS: Add entry for the new feature
3775 * python/py-value.c (valpy_binop): Call value_x_binop for struct
3776 and class values.
3777
3778 2014-02-19 Stan Shebs <stan@codesourcery.com>
3779
3780 * MAINTAINERS: List Yao Qi as nios2 maintainer.
3781
3782 2014-02-19 Pedro Alves <palves@redhat.com>
3783
3784 * common/ptid.h (struct ptid): Mention that process_stratum
3785 targets should prefer ptid.lwp.
3786
3787 2014-02-19 Pedro Alves <palves@redhat.com>
3788
3789 * remote.c (remote_thread_alive, write_ptid, read_ptid)
3790 (read_ptid, remote_newthread_step, remote_threads_extra_info)
3791 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
3792 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
3793 store remote thread ids rather than ptid.tid.
3794 (_initialize_remote): Adjust.
3795
3796 2014-02-19 Tom Tromey <tromey@redhat.com>
3797
3798 * target.c (target_get_unwinder): Rewrite.
3799 (target_get_tailcall_unwinder): Rewrite.
3800 * record-btrace.c (record_btrace_to_get_unwinder): New function.
3801 (record_btrace_to_get_tailcall_unwinder): New function.
3802 (init_record_btrace_ops): Update.
3803 * target.h (struct target_ops) <to_get_unwinder,
3804 to_get_tailcall_unwinder>: Now function pointers. Use
3805 TARGET_DEFAULT_RETURN.
3806
3807 2014-02-19 Tom Tromey <tromey@redhat.com>
3808
3809 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
3810 argument.
3811 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
3812
3813 2014-02-19 Tom Tromey <tromey@redhat.com>
3814
3815 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
3816 directly.
3817 * target-delegates.c: Rebuild.
3818 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
3819 TARGET_DEFAULT_FUNC.
3820 * target.c (default_target_decr_pc_after_break): Rename from
3821 forward_target_decr_pc_after_break. Simplify.
3822 (target_decr_pc_after_break): Rely on delegation.
3823
3824 2014-02-19 Tom Tromey <tromey@redhat.com>
3825
3826 * target.c (update_current_target): Do not INHERIT to_doc or
3827 to_magic. Do not de_fault to_open or to_close.
3828
3829 2014-02-19 Tom Tromey <tromey@redhat.com>
3830
3831 * gcore.h (objfile_find_memory_regions): Declare.
3832 * gcore.c (objfile_find_memory_regions): No longer static. Add
3833 "self" argument.
3834 (_initialize_gcore): Don't call exec_set_find_memory_regions.
3835 * exec.c: Include gcore.h.
3836 (exec_set_find_memory_regions): Remove.
3837 (exec_find_memory_regions): Remove.
3838 (exec_do_find_memory_regions): Remove.
3839 (init_exec_ops): Update.
3840 * defs.h (exec_set_find_memory_regions): Remove.
3841
3842 2014-02-19 Tom Tromey <tromey@redhat.com>
3843
3844 * target-delegates.c: Rebuild.
3845 * target.h (struct target_ops) <to_extra_thread_info,
3846 to_thread_name, to_pid_to_exec_file, to_get_section_table,
3847 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
3848 not 0, in TARGET_DEFAULT_RETURN.
3849
3850 2014-02-19 Tom Tromey <tromey@redhat.com>
3851
3852 * target.c (complete_target_initialization): Remove casts. Use
3853 return_zero_has_execution.
3854 (return_zero): Add "ignore" argument.
3855 (return_zero_has_execution): New function.
3856 (init_dummy_target): Remove casts. Use
3857 return_zero_has_execution.
3858
3859 2014-02-19 Tom Tromey <tromey@redhat.com>
3860
3861 * target.c (update_current_target): Update comments. Do not
3862 INHERIT to_stratum.
3863
3864 2014-02-19 Tom Tromey <tromey@redhat.com>
3865
3866 * arm-linux-nat.c (arm_linux_read_description): Delegate when
3867 needed.
3868 * corelow.c (core_read_description): Delegate when needed.
3869 * remote.c (remote_read_description): Delegate when needed.
3870 * target-delegates.c: Rebuild.
3871 * target.c (target_read_description): Rewrite.
3872 * target.h (struct target_ops) <to_read_description>: Update
3873 comment. Use TARGET_DEFAULT_RETURN.
3874
3875 2014-02-19 Tom Tromey <tromey@redhat.com>
3876
3877 * target-delegates.c: Rebuild.
3878 * target.c (update_current_target): Don't inherit or default
3879 to_can_run.
3880 (find_default_run_target): Check against delegate_can_run.
3881 * target.h (struct target_ops) <to_can_run>: Use
3882 TARGET_DEFAULT_RETURN.
3883
3884 2014-02-19 Tom Tromey <tromey@redhat.com>
3885
3886 * target-delegates.c: Rebuild.
3887 * target.c (target_disconnect): Unconditionally delegate.
3888 * target.h (struct target_ops) <to_disconnect>: Use
3889 TARGET_DEFAULT_NORETURN.
3890
3891 2014-02-19 Tom Tromey <tromey@redhat.com>
3892
3893 * record.c (record_stop): Unconditionally delegate.
3894 * target-delegates.c: Rebuild.
3895 * target.c (target_stop_recording): Unconditionally delegate.
3896 * target.h (struct target_ops) <to_stop_recording>: Use
3897 TARGET_DEFAULT_IGNORE.
3898
3899 2014-02-19 Tom Tromey <tromey@redhat.com>
3900
3901 * target-delegates.c: Rebuild.
3902 * target.c (target_enable_btrace): Unconditionally delegate.
3903 * target.h (struct target_ops) <to_enable_btrace>: Use
3904 TARGET_DEFAULT_NORETURN.
3905
3906 2014-02-19 Tom Tromey <tromey@redhat.com>
3907
3908 * target-delegates.c: Rebuild.
3909 * target.c (target_read_btrace): Unconditionally delegate.
3910 * target.h (struct target_ops) <to_read_btrace>: Use
3911 TARGET_DEFAULT_NORETURN.
3912
3913 2014-02-19 Tom Tromey <tromey@redhat.com>
3914
3915 * target-delegates.c: Rebuild.
3916 * target.c (target_teardown_btrace): Unconditionally delegate.
3917 * target.h (struct target_ops) <to_teardown_btrace>: Use
3918 TARGET_DEFAULT_NORETURN.
3919
3920 2014-02-19 Tom Tromey <tromey@redhat.com>
3921
3922 * target-delegates.c: Rebuild.
3923 * target.c (target_disable_btrace): Unconditionally delegate.
3924 * target.h (struct target_ops) <to_disable_btrace>: Use
3925 TARGET_DEFAULT_NORETURN.
3926
3927 2014-02-19 Tom Tromey <tromey@redhat.com>
3928
3929 * target-delegates.c: Rebuild.
3930 * target.c (default_search_memory): New function.
3931 (simple_search_memory): Update comment.
3932 (target_search_memory): Unconditionally delegate.
3933 * target.h (struct target_ops) <to_search_memory>: Use
3934 TARGET_DEFAULT_FUNC.
3935
3936 2014-02-19 Tom Tromey <tromey@redhat.com>
3937
3938 * auxv.c (default_auxv_parse): No longer static.
3939 (target_auxv_parse): Unconditionally delegate.
3940 * auxv.h (default_auxv_parse): Declare.
3941 * target-delegates.c: Rebuild.
3942 * target.c: Include auxv.h.
3943 * target.h (struct target_ops) <to_auxv_parse>: Use
3944 TARGET_DEFAULT_FUNC.
3945
3946 2014-02-19 Tom Tromey <tromey@redhat.com>
3947
3948 * target-delegates.c: Rebuild.
3949 * target.c (target_memory_map): Unconditionally delegate.
3950 * target.h (struct target_ops) <to_memory_map>: Use
3951 TARGET_DEFAULT_RETURN.
3952
3953 2014-02-19 Tom Tromey <tromey@redhat.com>
3954
3955 * target-delegates.c: Rebuild.
3956 * target.c (target_thread_alive): Unconditionally delegate.
3957 * target.h (struct target_ops) <to_thread_alive>: Use
3958 TARGET_DEFAULT_RETURN.
3959
3960 2014-02-19 Tom Tromey <tromey@redhat.com>
3961
3962 * target-delegates.c: Rebuild.
3963 * target.c (target_save_record): Unconditionally delegate.
3964 * target.h (struct target_ops) <to_save_record>: Use
3965 TARGET_DEFAULT_NORETURN.
3966
3967 2014-02-19 Tom Tromey <tromey@redhat.com>
3968
3969 * target-delegates.c: Rebuild.
3970 * target.c (target_delete_record): Unconditionally delegate.
3971 * target.h (struct target_ops) <to_delete_record>: Use
3972 TARGET_DEFAULT_NORETURN.
3973
3974 2014-02-19 Tom Tromey <tromey@redhat.com>
3975
3976 * target-delegates.c: Rebuild.
3977 * target.c (target_record_is_replaying): Unconditionally
3978 delegate.
3979 * target.h (struct target_ops) <to_record_is_replaying>: Use
3980 TARGET_DEFAULT_RETURN.
3981
3982 2014-02-19 Tom Tromey <tromey@redhat.com>
3983
3984 * target-delegates.c: Rebuild.
3985 * target.c (target_goto_record_begin): Unconditionally delegate.
3986 * target.h (struct target_ops) <to_goto_record_begin>: Use
3987 TARGET_DEFAULT_NORETURN.
3988
3989 2014-02-19 Tom Tromey <tromey@redhat.com>
3990
3991 * target-delegates.c: Rebuild.
3992 * target.c (target_goto_record_end): Unconditionally delegate.
3993 * target.h (struct target_ops) <to_goto_record_end>: Use
3994 TARGET_DEFAULT_NORETURN.
3995
3996 2014-02-19 Tom Tromey <tromey@redhat.com>
3997
3998 * target-delegates.c: Rebuild.
3999 * target.c (target_goto_record): Unconditionally delegate.
4000 * target.h (struct target_ops) <to_goto_record>: Use
4001 TARGET_DEFAULT_NORETURN.
4002
4003 2014-02-19 Tom Tromey <tromey@redhat.com>
4004
4005 * target-delegates.c: Rebuild.
4006 * target.c (target_insn_history): Unconditionally delegate.
4007 * target.h (struct target_ops) <to_insn_history>: Use
4008 TARGET_DEFAULT_NORETURN.
4009
4010 2014-02-19 Tom Tromey <tromey@redhat.com>
4011
4012 * target-delegates.c: Rebuild.
4013 * target.c (target_insn_history_from): Unconditionally delegate.
4014 * target.h (struct target_ops) <to_insn_history_from>: Use
4015 TARGET_DEFAULT_NORETURN.
4016
4017 2014-02-19 Tom Tromey <tromey@redhat.com>
4018
4019 * target-delegates.c: Rebuild.
4020 * target.c (target_insn_history_range): Unconditionally delegate.
4021 * target.h (struct target_ops) <to_insn_history_range>: Use
4022 TARGET_DEFAULT_NORETURN.
4023
4024 2014-02-19 Tom Tromey <tromey@redhat.com>
4025
4026 * target-delegates.c: Rebuild.
4027 * target.c (target_call_history): Unconditionally delegate.
4028 * target.h (struct target_ops) <to_call_history>: Use
4029 TARGET_DEFAULT_NORETURN.
4030
4031 2014-02-19 Tom Tromey <tromey@redhat.com>
4032
4033 * target-delegates.c: Rebuild.
4034 * target.c (target_call_history_from): Unconditionally delegate.
4035 * target.h (struct target_ops) <to_call_history_from>: Use
4036 TARGET_DEFAULT_NORETURN.
4037
4038 2014-02-19 Tom Tromey <tromey@redhat.com>
4039
4040 * target-delegates.c: Rebuild.
4041 * target.c (target_call_history_range): Unconditionally delegate.
4042 * target.h (struct target_ops) <to_call_history_range>: Use
4043 TARGET_DEFAULT_NORETURN.
4044
4045 2014-02-19 Tom Tromey <tromey@redhat.com>
4046
4047 * target-delegates.c: Rebuild.
4048 * target.c (target_verify_memory): Unconditionally delegate.
4049 * target.h (struct target_ops) <to_verify_memory>: Use
4050 TARGET_DEFAULT_NORETURN.
4051
4052 2014-02-19 Tom Tromey <tromey@redhat.com>
4053
4054 * target-delegates.c: Rebuild.
4055 * target.c (target_core_of_thread): Unconditionally delegate.
4056 * target.h (struct target_ops) <to_core_of_thread>: Use
4057 TARGET_DEFAULT_RETURN.
4058
4059 2014-02-19 Tom Tromey <tromey@redhat.com>
4060
4061 * target-delegates.c: Rebuild.
4062 * target.c (target_flash_done): Unconditionally delegate.
4063 * target.h (struct target_ops) <to_flash_done>: Use
4064 TARGET_DEFAULT_NORETURN.
4065
4066 2014-02-19 Tom Tromey <tromey@redhat.com>
4067
4068 * target-delegates.c: Rebuild.
4069 * target.c (target_flash_erase): Unconditionally delegate.
4070 * target.h (struct target_ops) <to_flash_erase>: Use
4071 TARGET_DEFAULT_NORETURN.
4072
4073 2014-02-19 Tom Tromey <tromey@redhat.com>
4074
4075 * target-delegates.c: Rebuild.
4076 * target.c (target_get_section_table): Unconditionally delegate.
4077 * target.h (struct target_ops) <to_get_section_table>: Use
4078 TARGET_DEFAULT_RETURN.
4079
4080 2014-02-19 Tom Tromey <tromey@redhat.com>
4081
4082 * target-delegates.c: Rebuild.
4083 * target.c (target_pid_to_str): Unconditionally delegate.
4084 (init_dummy_target): Don't initialize to_pid_to_str.
4085 (default_pid_to_str): Rename from dummy_pid_to_str.
4086 * target.h (struct target_ops) <to_pid_to_str>: Use
4087 TARGET_DEFAULT_FUNC.
4088
4089 2014-02-19 Tom Tromey <tromey@redhat.com>
4090
4091 * target-delegates.c: Rebuild.
4092 * target.c (target_find_new_threads): Unconditionally delegate.
4093 * target.h (struct target_ops) <to_find_new_threads>: Use
4094 TARGET_DEFAULT_RETURN.
4095
4096 2014-02-19 Tom Tromey <tromey@redhat.com>
4097
4098 * target-delegates.c: Rebuild.
4099 * target.c (target_program_signals): Unconditionally delegate.
4100 * target.h (struct target_ops) <to_program_signals>: Use
4101 TARGET_DEFAULT_IGNORE.
4102
4103 2014-02-19 Tom Tromey <tromey@redhat.com>
4104
4105 * target-delegates.c: Rebuild.
4106 * target.c (target_pass_signals): Unconditionally delegate.
4107 * target.h (struct target_ops) <to_pass_signals>: Use
4108 TARGET_DEFAULT_IGNORE.
4109
4110 2014-02-19 Tom Tromey <tromey@redhat.com>
4111
4112 * target-delegates.c: Rebuild.
4113 * target.c (default_mourn_inferior): New function.
4114 (target_mourn_inferior): Unconditionally delegate.
4115 * target.h (struct target_ops) <to_mourn_inferior>: Use
4116 TARGET_DEFAULT_FUNC.
4117
4118 2014-02-19 Tom Tromey <tromey@redhat.com>
4119
4120 * target-delegates.c: Rebuild.
4121 * target.c (default_follow_fork): New function.
4122 (target_follow_fork): Unconditionally delegate.
4123 * target.h (struct target_ops) <to_follow_fork>: Use
4124 TARGET_DEFAULT_FUNC.
4125
4126 2014-02-19 Tom Tromey <tromey@redhat.com>
4127
4128 * target-delegates.c: Rebuild.
4129 * target.c (target_kill): Unconditionally delegate.
4130 * target.h (struct target_ops) <to_kill>: Use
4131 TARGET_DEFAULT_NORETURN.
4132
4133 2014-02-19 Tom Tromey <tromey@redhat.com>
4134
4135 * target-delegates.c: Rebuild.
4136 * target.c (target_masked_watch_num_registers): Unconditionally
4137 delegate.
4138 * target.h (struct target_ops) <to_masked_watch_num_registers>:
4139 Use TARGET_DEFAULT_RETURN.
4140
4141 2014-02-19 Tom Tromey <tromey@redhat.com>
4142
4143 * target-delegates.c: Rebuild.
4144 * target.c (target_remove_mask_watchpoint): Unconditionally
4145 delegate.
4146 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
4147 TARGET_DEFAULT_RETURN.
4148
4149 2014-02-19 Tom Tromey <tromey@redhat.com>
4150
4151 * target-delegates.c: Rebuild.
4152 * target.c (target_insert_mask_watchpoint): Unconditionally
4153 delegate.
4154 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
4155 TARGET_DEFAULT_RETURN.
4156
4157 2014-02-19 Tom Tromey <tromey@redhat.com>
4158
4159 * target-delegates.c: Rebuild.
4160 * target.c (target_ranged_break_num_registers): Unconditionally
4161 delegate.
4162 * target.h (struct target_ops) <to_ranged_break_num_registers>:
4163 Use TARGET_DEFAULT_RETURN.
4164
4165 2014-02-19 Tom Tromey <tromey@redhat.com>
4166
4167 * target-delegates.c: Rebuild.
4168 * target.c (target_fetch_registers): Unconditionally delegate.
4169 * target.h (struct target_ops) <to_fetch_registers>: Use
4170 TARGET_DEFAULT_NORETURN.
4171
4172 2014-02-19 Tom Tromey <tromey@redhat.com>
4173
4174 * target-delegates.c: Rebuild.
4175 * target.c (update_current_target): Don't inherit or default
4176 to_stop.
4177 * target.h (struct target_ops) <to_stop>: Use
4178 TARGET_DEFAULT_IGNORE.
4179
4180 2014-02-19 Tom Tromey <tromey@redhat.com>
4181
4182 * target-delegates.c: Rebuild.
4183 * target.c (update_current_target): Don't inherit or default
4184 to_can_run_breakpoint_commands.
4185 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
4186 Use TARGET_DEFAULT_RETURN.
4187
4188 2014-02-19 Tom Tromey <tromey@redhat.com>
4189
4190 * target-delegates.c: Rebuild.
4191 * target.c (update_current_target): Don't inherit or default
4192 to_supports_evaluation_of_breakpoint_conditions.
4193 * target.h (struct target_ops)
4194 <to_supports_evaluation_of_breakpoint_conditions>: Use
4195 TARGET_DEFAULT_RETURN.
4196
4197 2014-02-19 Tom Tromey <tromey@redhat.com>
4198
4199 * target-delegates.c: Rebuild.
4200 * target.c (update_current_target): Don't inherit or default
4201 to_augmented_libraries_svr4_read.
4202 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
4203 Use TARGET_DEFAULT_RETURN.
4204
4205 2014-02-19 Tom Tromey <tromey@redhat.com>
4206
4207 * target-delegates.c: Rebuild.
4208 * target.c (update_current_target): Don't inherit or default
4209 to_can_use_agent.
4210 * target.h (struct target_ops) <to_can_use_agent>: Use
4211 TARGET_DEFAULT_RETURN.
4212
4213 2014-02-19 Tom Tromey <tromey@redhat.com>
4214
4215 * target-delegates.c: Rebuild.
4216 * target.c (update_current_target): Don't inherit or default
4217 to_use_agent.
4218 * target.h (struct target_ops) <to_use_agent>: Use
4219 TARGET_DEFAULT_NORETURN.
4220
4221 2014-02-19 Tom Tromey <tromey@redhat.com>
4222
4223 * target-delegates.c: Rebuild.
4224 * target.c (update_current_target): Don't inherit or default
4225 to_traceframe_info.
4226 (return_null): Remove.
4227 * target.h (struct target_ops) <to_traceframe_info>: Use
4228 TARGET_DEFAULT_RETURN.
4229
4230 2014-02-19 Tom Tromey <tromey@redhat.com>
4231
4232 * target-delegates.c: Rebuild.
4233 * target.c (update_current_target): Don't inherit or default
4234 to_static_tracepoint_markers_by_strid.
4235 * target.h (struct target_ops)
4236 <to_static_tracepoint_markers_by_strid>: Use
4237 TARGET_DEFAULT_NORETURN.
4238
4239 2014-02-19 Tom Tromey <tromey@redhat.com>
4240
4241 * target-delegates.c: Rebuild.
4242 * target.c (update_current_target): Don't inherit or default
4243 to_static_tracepoint_marker_at.
4244 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
4245 Use TARGET_DEFAULT_RETURN.
4246
4247 2014-02-19 Tom Tromey <tromey@redhat.com>
4248
4249 * target-delegates.c: Rebuild.
4250 * target.c (update_current_target): Don't inherit or default
4251 to_set_permissions.
4252 * target.h (struct target_ops) <to_set_permissions>: Use
4253 TARGET_DEFAULT_IGNORE.
4254
4255 2014-02-19 Tom Tromey <tromey@redhat.com>
4256
4257 * target-delegates.c: Rebuild.
4258 * target.c (update_current_target): Don't inherit or default
4259 to_get_tib_address.
4260 * target.h (struct target_ops) <to_get_tib_address>: Use
4261 TARGET_DEFAULT_NORETURN.
4262
4263 2014-02-19 Tom Tromey <tromey@redhat.com>
4264
4265 * target-delegates.c: Rebuild.
4266 * target.c (update_current_target): Don't inherit or default
4267 to_set_trace_notes.
4268 * target.h (struct target_ops) <to_set_trace_notes>: Use
4269 TARGET_DEFAULT_RETURN.
4270
4271 2014-02-19 Tom Tromey <tromey@redhat.com>
4272
4273 * target-delegates.c: Rebuild.
4274 * target.c (update_current_target): Don't initialize
4275 to_set_trace_buffer_size.
4276 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
4277 TARGET_DEFAULT_IGNORE.
4278
4279 2014-02-19 Tom Tromey <tromey@redhat.com>
4280
4281 * target-delegates.c: Rebuild.
4282 * target.c (update_current_target): Don't inherit or default
4283 to_set_circular_trace_buffer.
4284 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
4285 TARGET_DEFAULT_IGNORE.
4286
4287 2014-02-19 Tom Tromey <tromey@redhat.com>
4288
4289 * target-delegates.c: Rebuild.
4290 * target.c (update_current_target): Don't inherit or default
4291 to_set_disconnected_tracing.
4292 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
4293 TARGET_DEFAULT_IGNORE.
4294
4295 2014-02-19 Tom Tromey <tromey@redhat.com>
4296
4297 * target-delegates.c: Rebuild.
4298 * target.c (update_current_target): Don't inherit or default
4299 to_get_min_fast_tracepoint_insn_len.
4300 (return_minus_one): Remove.
4301 * target.h (struct target_ops)
4302 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
4303
4304 2014-02-19 Tom Tromey <tromey@redhat.com>
4305
4306 * target-delegates.c: Rebuild.
4307 * target.c (update_current_target): Don't inherit or default
4308 to_get_raw_trace_data.
4309 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
4310 TARGET_DEFAULT_NORETURN.
4311
4312 2014-02-19 Tom Tromey <tromey@redhat.com>
4313
4314 * target-delegates.c: Rebuild.
4315 * target.c (update_current_target): Don't inherit or default
4316 to_upload_trace_state_variables.
4317 * target.h (struct target_ops) <to_upload_trace_state_variables>:
4318 Use TARGET_DEFAULT_RETURN.
4319
4320 2014-02-19 Tom Tromey <tromey@redhat.com>
4321
4322 * target-delegates.c: Rebuild.
4323 * target.c (update_current_target): Don't inherit or default
4324 to_upload_tracepoints.
4325 * target.h (struct target_ops) <to_upload_tracepoints>: Use
4326 TARGET_DEFAULT_RETURN.
4327
4328 2014-02-19 Tom Tromey <tromey@redhat.com>
4329
4330 * target-delegates.c: Rebuild.
4331 * target.c (update_current_target): Don't inherit or default
4332 to_save_trace_data.
4333 * target.h (struct target_ops) <to_save_trace_data>: Use
4334 TARGET_DEFAULT_NORETURN.
4335
4336 2014-02-19 Tom Tromey <tromey@redhat.com>
4337
4338 * target-delegates.c: Rebuild.
4339 * target.c (update_current_target): Don't inherit or default
4340 to_get_trace_state_variable_value.
4341 * target.h (struct target_ops)
4342 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
4343
4344 2014-02-19 Tom Tromey <tromey@redhat.com>
4345
4346 * target-delegates.c: Rebuild.
4347 * target.c (update_current_target): Don't inherit or default
4348 to_trace_find.
4349 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
4350
4351 2014-02-19 Tom Tromey <tromey@redhat.com>
4352
4353 * target-delegates.c: Rebuild.
4354 * target.c (update_current_target): Don't inherit or default
4355 to_trace_stop.
4356 * target.h (struct target_ops) <to_trace_stop>: Use
4357 TARGET_DEFAULT_NORETURN.
4358
4359 2014-02-19 Tom Tromey <tromey@redhat.com>
4360
4361 * target-delegates.c: Rebuild.
4362 * target.c (update_current_target): Don't inherit or default
4363 to_get_tracepoint_status.
4364 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
4365 TARGET_DEFAULT_NORETURN.
4366
4367 2014-02-19 Tom Tromey <tromey@redhat.com>
4368
4369 * target-delegates.c: Rebuild.
4370 * target.c (update_current_target): Don't inherit or default
4371 to_get_trace_status.
4372 * target.h (struct target_ops) <to_get_trace_status>: Use
4373 TARGET_DEFAULT_RETURN.
4374
4375 2014-02-19 Tom Tromey <tromey@redhat.com>
4376
4377 * target-delegates.c: Rebuild.
4378 * target.c (update_current_target): Don't inherit or default
4379 to_trace_start.
4380 * target.h (struct target_ops) <to_trace_start>: Use
4381 TARGET_DEFAULT_NORETURN.
4382
4383 2014-02-19 Tom Tromey <tromey@redhat.com>
4384
4385 * target-delegates.c: Rebuild.
4386 * target.c (update_current_target): Don't inherit or default
4387 to_trace_set_readonly_regions.
4388 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
4389 Use TARGET_DEFAULT_NORETURN.
4390
4391 2014-02-19 Tom Tromey <tromey@redhat.com>
4392
4393 * target-delegates.c: Rebuild.
4394 * target.c (update_current_target): Don't inherit or default
4395 to_disable_tracepoint.
4396 * target.h (struct target_ops) <to_disable_tracepoint>: Use
4397 TARGET_DEFAULT_NORETURN.
4398
4399 2014-02-19 Tom Tromey <tromey@redhat.com>
4400
4401 * target-delegates.c: Rebuild.
4402 * target.c (update_current_target): Don't inherit or default
4403 to_enable_tracepoint.
4404 * target.h (struct target_ops) <to_enable_tracepoint>: Use
4405 TARGET_DEFAULT_NORETURN.
4406
4407 2014-02-19 Tom Tromey <tromey@redhat.com>
4408
4409 * target-delegates.c: Rebuild.
4410 * target.c (update_current_target): Don't inherit or default
4411 to_download_trace_state_variable.
4412 * target.h (struct target_ops) <to_download_trace_state_variable>:
4413 Use TARGET_DEFAULT_NORETURN.
4414
4415 2014-02-19 Tom Tromey <tromey@redhat.com>
4416
4417 * target-delegates.c: Rebuild.
4418 * target.c (update_current_target): Don't inherit or default
4419 to_can_download_tracepoint.
4420 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
4421 TARGET_DEFAULT_RETURN.
4422
4423 2014-02-19 Tom Tromey <tromey@redhat.com>
4424
4425 * target-delegates.c: Rebuild.
4426 * target.c (update_current_target): Don't inherit or default
4427 to_download_tracepoint.
4428 * target.h (struct target_ops) <to_download_tracepoint>: Use
4429 TARGET_DEFAULT_NORETURN.
4430
4431 2014-02-19 Tom Tromey <tromey@redhat.com>
4432
4433 * target-delegates.c: Rebuild.
4434 * target.c (update_current_target): Don't inherit or default
4435 to_trace_init.
4436 * target.h (struct target_ops) <to_trace_init>: Use
4437 TARGET_DEFAULT_RETURN.
4438
4439 2014-02-19 Tom Tromey <tromey@redhat.com>
4440
4441 * target-delegates.c: Rebuild.
4442 * target.c (update_current_target): Don't inherit or default
4443 to_supports_string_tracing.
4444 * target.h (struct target_ops) <to_supports_string_tracing>: Use
4445 TARGET_DEFAULT_RETURN.
4446
4447 2014-02-19 Tom Tromey <tromey@redhat.com>
4448
4449 * target-delegates.c: Rebuild.
4450 * target.c (update_current_target): Don't inherit or default
4451 to_supports_enable_disable_tracepoint.
4452 * target.h (struct target_ops)
4453 <to_supports_enable_disable_tracepoint>: Use
4454 TARGET_DEFAULT_RETURN.
4455
4456 2014-02-19 Tom Tromey <tromey@redhat.com>
4457
4458 * target-delegates.c: Rebuild.
4459 * target.c (update_current_target): Don't inherit or default
4460 to_supports_multi_process.
4461 * target.h (struct target_ops) <to_supports_multi_process>: Use
4462 TARGET_DEFAULT_RETURN.
4463
4464 2014-02-19 Tom Tromey <tromey@redhat.com>
4465
4466 * target-delegates.c: Rebuild.
4467 * target.c (update_current_target): Don't inherit or default
4468 to_get_ada_task_ptid.
4469 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
4470 TARGET_DEFAULT_FUNC.
4471
4472 2014-02-19 Tom Tromey <tromey@redhat.com>
4473
4474 * target-delegates.c: Rebuild.
4475 * target.c (update_current_target): Don't inherit or default
4476 to_thread_architecture.
4477 * target.h (struct target_ops) <to_thread_architecture>: Use
4478 TARGET_DEFAULT_FUNC.
4479
4480 2014-02-19 Tom Tromey <tromey@redhat.com>
4481
4482 * target-delegates.c: Rebuild.
4483 * target.c (update_current_target): Don't inherit or default
4484 to_execution_direction.
4485 * target.h (struct target_ops) <to_execution_direction>: Use
4486 TARGET_DEFAULT_FUNC.
4487
4488 2014-02-19 Tom Tromey <tromey@redhat.com>
4489
4490 * target-delegates.c: Rebuild.
4491 * target.c (update_current_target): Don't inherit or default
4492 to_can_execute_reverse.
4493 * target.h (struct target_ops) <to_can_execute_reverse>: Use
4494 TARGET_DEFAULT_RETURN.
4495 (target_can_execute_reverse): Unconditionally delegate.
4496
4497 2014-02-19 Tom Tromey <tromey@redhat.com>
4498
4499 * target-delegates.c: Rebuild.
4500 * target.c (update_current_target): Don't inherit or default
4501 to_goto_bookmark.
4502 (dummy_goto_bookmark): Remove.
4503 (init_dummy_target): Don't inherit or default to_goto_bookmark.
4504 * target.h (struct target_ops) <to_goto_bookmark>: Use
4505 TARGET_DEFAULT_NORETURN.
4506
4507 2014-02-19 Tom Tromey <tromey@redhat.com>
4508
4509 * target-delegates.c: Rebuild.
4510 * target.c (update_current_target): Don't inherit or default
4511 to_get_bookmark.
4512 (dummy_get_bookmark): Remove.
4513 (init_dummy_target): Don't inherit or default to_get_bookmark.
4514 * target.h (struct target_ops) <to_get_bookmark>: Use
4515 TARGET_DEFAULT_NORETURN
4516
4517 2014-02-19 Tom Tromey <tromey@redhat.com>
4518
4519 * target-delegates.c: Rebuild.
4520 * target.c (update_current_target): Don't inherit or default
4521 to_make_corefile_notes.
4522 (init_dummy_target): Don't initialize to_make_corefile_notes.
4523 * target.h (struct target_ops) <to_make_corefile_notes>: Use
4524 TARGET_DEFAULT_FUNC.
4525
4526 2014-02-19 Tom Tromey <tromey@redhat.com>
4527
4528 * target-delegates.c: Rebuild.
4529 * target.c (update_current_target): Don't inherit or default
4530 to_find_memory_regions.
4531 (init_dummy_target): Don't initialize to_find_memory_regions.
4532 * target.h (struct target_ops) <to_find_memory_regions>: Use
4533 TARGET_DEFAULT_FUNC.
4534
4535 2014-02-19 Tom Tromey <tromey@redhat.com>
4536
4537 * target-delegates.c: Rebuild.
4538 * target.c (update_current_target): Don't inherit or default
4539 to_log_command.
4540 * target.h (struct target_ops) <to_log_command>: Use
4541 TARGET_DEFAULT_IGNORE.
4542 (target_log_command): Unconditionally delegate.
4543
4544 2014-02-19 Tom Tromey <tromey@redhat.com>
4545
4546 * target-delegates.c: Rebuild.
4547 * target.c (update_current_target): Don't inherit or default
4548 to_pid_to_exec_file.
4549 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
4550 TARGET_DEFAULT_RETURN.
4551
4552 2014-02-19 Tom Tromey <tromey@redhat.com>
4553
4554 * target-delegates.c: Rebuild.
4555 * target.c (update_current_target): Don't inherit or default
4556 to_thread_name.
4557 (target_thread_name): Unconditionally delegate.
4558 * target.h (struct target_ops) <to_thread_name>: Use
4559 TARGET_DEFAULT_RETURN.
4560
4561 2014-02-19 Tom Tromey <tromey@redhat.com>
4562
4563 * target-delegates.c: Rebuild.
4564 * target.c (update_current_target): Don't inherit or default
4565 to_extra_thread_info.
4566 * target.h (struct target_ops) <to_extra_thread_info>: Use
4567 TARGET_DEFAULT_RETURN.
4568
4569 2014-02-19 Tom Tromey <tromey@redhat.com>
4570
4571 * target-delegates.c: Rebuild.
4572 * target.c (update_current_target): Don't inherit or default
4573 to_has_exited.
4574 * target.h (struct target_ops) <to_has_exited>: Use
4575 TARGET_DEFAULT_RETURN..
4576
4577 2014-02-19 Tom Tromey <tromey@redhat.com>
4578
4579 * target-delegates.c: Rebuild.
4580 * target.c (update_current_target): Don't inherit or default
4581 to_set_syscall_catchpoint.
4582 (return_one): Remove.
4583 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
4584 TARGET_DEFAULT_RETURN.
4585
4586 2014-02-19 Tom Tromey <tromey@redhat.com>
4587
4588 * target-delegates.c: Rebuild.
4589 * target.c (update_current_target): Don't inherit or default
4590 to_insert_exec_catchpoint.
4591 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
4592 TARGET_DEFAULT_RETURN.
4593
4594 2014-01-08 Tom Tromey <tromey@redhat.com>
4595
4596 * target-delegates.c: Rebuild.
4597 * target.c (update_current_target): Don't inherit or default
4598 to_insert_exec_catchpoint.
4599 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
4600 TARGET_DEFAULT_RETURN.
4601
4602 2014-02-19 Tom Tromey <tromey@redhat.com>
4603
4604 * target-delegates.c: Rebuild.
4605 * target.c (update_current_target): Don't inherit or default
4606 to_remove_vfork_catchpoint.
4607 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
4608 TARGET_DEFAULT_RETURN.
4609
4610 2014-02-19 Tom Tromey <tromey@redhat.com>
4611
4612 * target-delegates.c: Rebuild.
4613 * target.c (update_current_target): Don't inherit or default
4614 to_insert_vfork_catchpoint.
4615 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
4616 TARGET_DEFAULT_RETURN.
4617
4618 2014-02-19 Tom Tromey <tromey@redhat.com>
4619
4620 * target-delegates.c: Rebuild.
4621 * target.c (update_current_target): Don't inherit or default
4622 to_remove_fork_catchpoint.
4623 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
4624 TARGET_DEFAULT_RETURN.
4625
4626 2014-02-19 Tom Tromey <tromey@redhat.com>
4627
4628 * target-delegates.c: Rebuild.
4629 * target.c (update_current_target): Don't inherit or default
4630 to_insert_fork_catchpoint.
4631 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
4632 TARGET_DEFAULT_RETURN.
4633
4634 2014-02-19 Tom Tromey <tromey@redhat.com>
4635
4636 * target-delegates.c: Rebuild.
4637 * target.c (update_current_target): Don't inherit or default
4638 to_post_startup_inferior.
4639 * target.h (struct target_ops) <to_post_startup_inferior>: Use
4640 TARGET_DEFAULT_IGNORE.
4641
4642 2014-02-19 Tom Tromey <tromey@redhat.com>
4643
4644 * target-delegates.c: Rebuild.
4645 * target.c (update_current_target): Don't inherit or default
4646 to_load.
4647 * target.h (struct target_ops) <to_load>: Use
4648 TARGET_DEFAULT_NORETURN.
4649
4650 2014-02-19 Tom Tromey <tromey@redhat.com>
4651
4652 * target-delegates.c: Rebuild.
4653 * target.c (update_current_target): Don't inherit or default
4654 to_terminal_info.
4655 * target.h (struct target_ops) <to_terminal_info>: Use
4656 TARGET_DEFAULT_FUNC.
4657
4658 2014-02-19 Tom Tromey <tromey@redhat.com>
4659
4660 * target-delegates.c: Rebuild.
4661 * target.c (update_current_target): Don't inherit or default
4662 to_terminal_save_ours.
4663 * target.h (struct target_ops) <to_terminal_save_ours>: Use
4664 TARGET_DEFAULT_IGNORE.
4665
4666 2014-02-19 Tom Tromey <tromey@redhat.com>
4667
4668 * target-delegates.c: Rebuild.
4669 * target.c (update_current_target): Don't inherit or default
4670 to_terminal_ours.
4671 * target.h (struct target_ops) <to_terminal_ours>: Use
4672 TARGET_DEFAULT_IGNORE.
4673
4674 2014-02-19 Tom Tromey <tromey@redhat.com>
4675
4676 * target-delegates.c: Rebuild.
4677 * target.c (update_current_target): Don't inherit or default
4678 to_terminal_ours_for_output.
4679 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
4680 TARGET_DEFAULT_IGNORE.
4681
4682 2014-02-19 Tom Tromey <tromey@redhat.com>
4683
4684 * target-delegates.c: Rebuild.
4685 * target.c (update_current_target): Don't inherit or default
4686 to_terminal_inferior.
4687 * target.h (struct target_ops) <to_terminal_inferior>: Use
4688 TARGET_DEFAULT_IGNORE.
4689
4690 2014-02-19 Tom Tromey <tromey@redhat.com>
4691
4692 * target-delegates.c: Rebuild.
4693 * target.c (update_current_target): Don't inherit or default
4694 to_terminal_init.
4695 * target.h (struct target_ops) <to_terminal_init>: Use
4696 TARGET_DEFAULT_IGNORE.
4697
4698 2014-02-19 Tom Tromey <tromey@redhat.com>
4699
4700 * target-delegates.c: Rebuild.
4701 * target.c (update_current_target): Don't inherit or default
4702 to_can_accel_watchpoint_condition.
4703 * target.h (struct target_ops)
4704 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
4705
4706 2014-02-19 Tom Tromey <tromey@redhat.com>
4707
4708 * target-delegates.c: Rebuild.
4709 * target.c (update_current_target): Don't inherit or default
4710 to_region_ok_for_hw_watchpoint.
4711 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4712 Use TARGET_DEFAULT_FUNC.
4713
4714 2014-02-19 Tom Tromey <tromey@redhat.com>
4715
4716 * target-delegates.c: Rebuild.
4717 * target.c (update_current_target): Don't inherit or default
4718 to_watchpoint_addr_within_range.
4719 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
4720 Use TARGET_DEFAULT_FUNC.
4721
4722 2014-02-19 Tom Tromey <tromey@redhat.com>
4723
4724 * target-delegates.c: Rebuild.
4725 * target.c (update_current_target): Don't inherit or default
4726 to_remove_watchpoint.
4727 * target.h (struct target_ops) <to_remove_watchpoint>: Use
4728 TARGET_DEFAULT_NORETURN.
4729
4730 2014-02-19 Tom Tromey <tromey@redhat.com>
4731
4732 * target-delegates.c: Rebuild.
4733 * target.c (update_current_target): Don't inherit or default
4734 to_insert_watchpoint.
4735 * target.h (struct target_ops) <to_insert_watchpoint>: Use
4736 TARGET_DEFAULT_RETURN.
4737
4738 2014-02-19 Tom Tromey <tromey@redhat.com>
4739
4740 * target-delegates.c: Rebuild.
4741 * target.c (update_current_target): Don't inherit or default
4742 to_remove_hw_breakpoint.
4743 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
4744 TARGET_DEFAULT_RETURN.
4745
4746 2014-02-19 Tom Tromey <tromey@redhat.com>
4747
4748 * target-delegates.c: Rebuild.
4749 * target.c (update_current_target): Don't inherit or default
4750 to_insert_hw_breakpoint.
4751 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
4752 TARGET_DEFAULT_RETURN.
4753
4754 2014-02-19 Tom Tromey <tromey@redhat.com>
4755
4756 * target-delegates.c: Rebuild.
4757 * target.c (update_current_target): Don't inherit or default
4758 to_can_use_hw_breakpoint.
4759 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
4760 TARGET_DEFAULT_RETURN.
4761
4762 2014-02-19 Tom Tromey <tromey@redhat.com>
4763
4764 * target-delegates.c: Rebuild.
4765 * target.c (update_current_target): Don't inherit or default
4766 to_files_info.
4767 * target.h (struct target_ops) <to_files_info>: Use
4768 TARGET_DEFAULT_IGNORE.
4769
4770 2014-02-19 Tom Tromey <tromey@redhat.com>
4771
4772 * target-delegates.c: Rebuild.
4773 * target.c (update_current_target): Don't inherit or default
4774 to_store.
4775 * target.h (struct target_ops) <to_store>: Use
4776 TARGET_DEFAULT_NORETURN.
4777
4778 2014-02-19 Tom Tromey <tromey@redhat.com>
4779
4780 * target-delegates.c: Rebuild.
4781 * target.c (update_current_target): Don't inherit or default
4782 to_post_attach.
4783 * target.h (struct target_ops) <to_post_attach>: Use
4784 TARGET_DEFAULT_IGNORE.
4785
4786 2014-02-19 Tom Tromey <tromey@redhat.com>
4787
4788 * target-delegates.c: Rebuild.
4789 * target.c (update_current_target): Don't inherit or default
4790 to_rcmd.
4791 (default_rcmd): New function.
4792 (do_monitor_command): Unconditionally delegate.
4793 * target.h (struct target_ops) <to_rmcd>: Use
4794 TARGET_DEFAULT_FUNC.
4795
4796 2014-02-19 Tom Tromey <tromey@redhat.com>
4797
4798 * target-delegates.c: Rebuild.
4799 * target.c (init_dummy_target): Don't initialize to_attach.
4800 (target_attach): Unconditionally delegate.
4801 * target.h (struct target_ops) <to_attach>: Use
4802 TARGET_DEFAULT_FUNC.
4803
4804 2014-02-19 Tom Tromey <tromey@redhat.com>
4805
4806 * target-delegates.c: Rebuild.
4807 * target.c (target_detach): Unconditionally delegate.
4808 (init_dummy_target): Don't initialize to_detach.
4809 * target.h (struct target_ops) <to_detach>: Use
4810 TARGET_DEFAULT_IGNORE.
4811
4812 2014-02-19 Tom Tromey <tromey@redhat.com>
4813
4814 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
4815 Add argument.
4816 (target_augmented_libraries_svr4_read): Add argument.
4817 * target.c (update_current_target): Update.
4818 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
4819 argument.
4820
4821 2014-02-19 Tom Tromey <tromey@redhat.com>
4822
4823 * target.h (struct target_ops) <to_call_history_range>: Add
4824 argument.
4825 * target.c (target_call_history_range): Add argument.
4826 * record-btrace.c (record_btrace_call_history_range): Add 'self'
4827 argument.
4828 (record_btrace_call_history_from): Update.
4829
4830 2014-02-19 Tom Tromey <tromey@redhat.com>
4831
4832 * target.h (struct target_ops) <to_call_history_from>: Add
4833 argument.
4834 * target.c (target_call_history_from): Add argument.
4835 * record-btrace.c (record_btrace_call_history_from): Add 'self'
4836 argument.
4837
4838 2014-02-19 Tom Tromey <tromey@redhat.com>
4839
4840 * target.h (struct target_ops) <to_call_history>: Add argument.
4841 * target.c (target_call_history): Add argument.
4842 * record-btrace.c (record_btrace_call_history): Add 'self'
4843 argument.
4844
4845 2014-02-19 Tom Tromey <tromey@redhat.com>
4846
4847 * target.h (struct target_ops) <to_insn_history_range>: Add
4848 argument.
4849 * target.c (target_insn_history_range): Add argument.
4850 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
4851 argument.
4852 (record_btrace_insn_history_from): Update.
4853
4854 2014-02-19 Tom Tromey <tromey@redhat.com>
4855
4856 * target.h (struct target_ops) <to_insn_history_from>: Add
4857 argument.
4858 * target.c (target_insn_history_from): Add argument.
4859 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
4860 argument.
4861
4862 2014-02-19 Tom Tromey <tromey@redhat.com>
4863
4864 * target.h (struct target_ops) <to_insn_history>: Add argument.
4865 * target.c (target_insn_history): Add argument.
4866 * record-btrace.c (record_btrace_insn_history): Add 'self'
4867 argument.
4868
4869 2014-02-19 Tom Tromey <tromey@redhat.com>
4870
4871 * target.h (struct target_ops) <to_goto_record>: Add argument.
4872 * target.c (target_goto_record): Add argument.
4873 * record-full.c (record_full_goto): Add 'self' argument.
4874 * record-btrace.c (record_btrace_goto): Add 'self' argument.
4875
4876 2014-02-19 Tom Tromey <tromey@redhat.com>
4877
4878 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
4879 * target.c (target_goto_record_end): Add argument.
4880 * record-full.c (record_full_goto_end): Add 'self' argument.
4881 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
4882
4883 2014-02-19 Tom Tromey <tromey@redhat.com>
4884
4885 * target.h (struct target_ops) <to_goto_record_begin>: Add
4886 argument.
4887 * target.c (target_goto_record_begin): Add argument.
4888 * record-full.c (record_full_goto_begin): Add 'self' argument.
4889 * record-btrace.c (record_btrace_goto_begin): Add 'self'
4890 argument.
4891
4892 2014-02-19 Tom Tromey <tromey@redhat.com>
4893
4894 * target.h (struct target_ops) <to_record_is_replaying>: Add
4895 argument.
4896 * target.c (target_record_is_replaying): Add argument.
4897 * record-full.c (record_full_is_replaying): Add 'self' argument.
4898 * record-btrace.c (record_btrace_is_replaying): Add 'self'
4899 argument.
4900 (record_btrace_xfer_partial, record_btrace_store_registers)
4901 (record_btrace_prepare_to_store, record_btrace_resume)
4902 (record_btrace_wait, record_btrace_decr_pc_after_break)
4903 (record_btrace_find_new_threads, record_btrace_thread_alive):
4904 Update.
4905
4906 2014-02-19 Tom Tromey <tromey@redhat.com>
4907
4908 * target.h (struct target_ops) <to_delete_record>: Add argument.
4909 * target.c (target_delete_record): Add argument.
4910 * record-full.c (record_full_delete): Add 'self' argument.
4911
4912 2014-02-19 Tom Tromey <tromey@redhat.com>
4913
4914 * target.h (struct target_ops) <to_save_record>: Add argument.
4915 * target.c (target_save_record): Add argument.
4916 * record-full.c (record_full_save): Add 'self' argument.
4917 (record_full_save): Add 'self' argument.
4918
4919 2014-02-19 Tom Tromey <tromey@redhat.com>
4920
4921 * target.h (struct target_ops) <to_info_record>: Add argument.
4922 * target.c (target_info_record): Add argument.
4923 * record.c (info_record_command): Add argument.
4924 * record-full.c (record_full_info): Add 'self' argument.
4925 * record-btrace.c (record_btrace_info): Add 'self' argument.
4926
4927 2014-02-19 Tom Tromey <tromey@redhat.com>
4928
4929 * target.h (struct target_ops) <to_stop_recording>: Add argument.
4930 * target.c (target_stop_recording): Add argument.
4931 * record.c (record_stop): Add argument.
4932 * record-btrace.c (record_btrace_stop_recording): Add 'self'
4933 argument.
4934
4935 2014-02-19 Tom Tromey <tromey@redhat.com>
4936
4937 * target.h (struct target_ops) <to_read_btrace>: Add argument.
4938 * target.c (struct target_ops) <to_read_btrace>: Add argument.
4939 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
4940 argument.
4941 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
4942 (_initialize_amd64_linux_nat): Use it.
4943 * i386-linux-nat.c (i386_linux_read_btrace): New function.
4944 (_initialize_i386_linux_nat): Use it.
4945
4946 2014-02-19 Tom Tromey <tromey@redhat.com>
4947
4948 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
4949 * target.c (target_teardown_btrace): Add argument.
4950 * remote.c (remote_teardown_btrace): Add 'self' argument.
4951 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
4952 argument.
4953 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
4954 argument.
4955
4956 2014-02-19 Tom Tromey <tromey@redhat.com>
4957
4958 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
4959 * target.c (target_disable_btrace): Add argument.
4960 * remote.c (remote_disable_btrace): Add 'self' argument.
4961 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
4962 argument.
4963 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
4964 argument.
4965
4966 2014-02-19 Tom Tromey <tromey@redhat.com>
4967
4968 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
4969 * target.c (target_enable_btrace): Add argument.
4970 * remote.c (remote_enable_btrace): Add 'self' argument.
4971 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
4972 argument.
4973 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
4974 argument.
4975
4976 2014-02-19 Tom Tromey <tromey@redhat.com>
4977
4978 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
4979 (target_can_use_agent): Add argument.
4980 * target.c (update_current_target): Update.
4981 * remote.c (remote_can_use_agent): Add 'self' argument.
4982 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
4983
4984 2014-02-19 Tom Tromey <tromey@redhat.com>
4985
4986 * target.h (struct target_ops) <to_use_agent>: Add argument.
4987 (target_use_agent): Add argument.
4988 * target.c (update_current_target): Update.
4989 * remote.c (remote_use_agent): Add 'self' argument.
4990 * inf-child.c (inf_child_use_agent): Add 'self' argument.
4991
4992 2014-02-19 Tom Tromey <tromey@redhat.com>
4993
4994 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
4995 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
4996 (target_traceframe_info): Add argument.
4997 * target.c (update_current_target): Update.
4998 * remote.c (remote_traceframe_info): Add 'self' argument.
4999 * ctf.c (ctf_traceframe_info): Add 'self' argument.
5000
5001 2014-02-19 Tom Tromey <tromey@redhat.com>
5002
5003 * target.h (target_static_tracepoint_markers_by_strid): Add
5004 argument.
5005 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
5006 'self' argument.
5007 * target.c (update_current_target): Update.
5008 * remote.c (struct target_ops)
5009 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
5010 * linux-nat.c (struct target_ops)
5011 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
5012
5013 2014-02-19 Tom Tromey <tromey@redhat.com>
5014
5015 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
5016 Add argument.
5017 (target_static_tracepoint_marker_at): Add argument.
5018 * target.c (update_current_target): Update.
5019 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
5020 argument.
5021
5022 2014-02-19 Tom Tromey <tromey@redhat.com>
5023
5024 * target.h (struct target_ops) <to_set_permissions>: Add argument.
5025 (target_set_permissions): Add argument.
5026 * target.c (update_current_target): Update.
5027 * remote.c (remote_set_permissions): Add 'self' argument.
5028 (remote_start_remote): Update.
5029
5030 2014-02-19 Tom Tromey <tromey@redhat.com>
5031
5032 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
5033 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
5034 (target_get_tib_address): Add argument.
5035 * target.c (update_current_target): Update.
5036 * remote.c (remote_get_tib_address): Add 'self' argument.
5037
5038 2014-02-19 Tom Tromey <tromey@redhat.com>
5039
5040 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
5041 (target_set_trace_notes): Add argument.
5042 * target.c (update_current_target): Update.
5043 * remote.c (remote_set_trace_notes): Add 'self' argument.
5044
5045 2014-02-19 Tom Tromey <tromey@redhat.com>
5046
5047 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
5048 argument.
5049 (target_set_trace_buffer_size): Add argument.
5050 * target.c (update_current_target): Update.
5051 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
5052
5053 2014-02-19 Tom Tromey <tromey@redhat.com>
5054
5055 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
5056 argument.
5057 (target_set_circular_trace_buffer): Add argument.
5058 * target.c (update_current_target): Update.
5059 * remote.c (remote_set_circular_trace_buffer): Add 'self'
5060 argument.
5061
5062 2014-02-19 Tom Tromey <tromey@redhat.com>
5063
5064 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
5065 argument.
5066 (target_set_disconnected_tracing): Add argument.
5067 * target.c (update_current_target): Update.
5068 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
5069
5070 2014-02-19 Tom Tromey <tromey@redhat.com>
5071
5072 * target.h (struct target_ops)
5073 <to_get_min_fast_tracepoint_insn_len>: Add argument.
5074 (target_get_min_fast_tracepoint_insn_len): Add argument.
5075 * target.c (update_current_target): Update.
5076 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
5077 argument.
5078
5079 2014-02-19 Tom Tromey <tromey@redhat.com>
5080
5081 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
5082 argument.
5083 (target_get_raw_trace_data): Add argument.
5084 * target.c (update_current_target): Update.
5085 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
5086
5087 2014-02-19 Tom Tromey <tromey@redhat.com>
5088
5089 * target.h (struct target_ops) <to_upload_trace_state_variables>:
5090 Add argument.
5091 (target_upload_trace_state_variables): Add argument.
5092 * target.c (update_current_target): Update.
5093 * remote.c (remote_upload_trace_state_variables): Add 'self'
5094 argument.
5095 (remote_start_remote): Update.
5096
5097 2014-02-19 Tom Tromey <tromey@redhat.com>
5098
5099 * target.h (struct target_ops) <to_upload_tracepoints>: Add
5100 argument.
5101 (target_upload_tracepoints): Add argument.
5102 * target.c (update_current_target): Update.
5103 * remote.c (remote_upload_tracepoints): Add 'self' argument.
5104 (remote_start_remote): Update.
5105
5106 2014-02-19 Tom Tromey <tromey@redhat.com>
5107
5108 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
5109 (target_save_trace_data): Add argument.
5110 * target.c (update_current_target): Update.
5111 * remote.c (remote_save_trace_data): Add 'self' argument.
5112
5113 2014-02-19 Tom Tromey <tromey@redhat.com>
5114
5115 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
5116 argument.
5117 * target.h (struct target_ops)
5118 <to_get_trace_state_variable_value>: Add argument.
5119 (target_get_trace_state_variable_value): Add argument.
5120 * target.c (update_current_target): Update.
5121 * remote.c (remote_get_trace_state_variable_value): Add 'self'
5122 argument.
5123 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
5124
5125 2014-02-19 Tom Tromey <tromey@redhat.com>
5126
5127 * tracepoint.c (tfile_trace_find): Add 'self' argument.
5128 * target.h (struct target_ops) <to_trace_find>: Add argument.
5129 (target_trace_find): Add argument.
5130 * target.c (update_current_target): Update.
5131 * remote.c (remote_trace_find): Add 'self' argument.
5132 * ctf.c (ctf_trace_find): Add 'self' argument.
5133
5134 2014-02-19 Tom Tromey <tromey@redhat.com>
5135
5136 * target.h (struct target_ops) <to_trace_stop>: Add argument.
5137 (target_trace_stop): Add argument.
5138 * target.c (update_current_target): Update.
5139 * remote.c (remote_trace_stop): Add 'self' argument.
5140
5141 2014-02-19 Tom Tromey <tromey@redhat.com>
5142
5143 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
5144 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
5145 argument.
5146 (target_get_tracepoint_status): Add argument.
5147 * target.c (update_current_target): Update.
5148 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
5149
5150 2014-02-19 Tom Tromey <tromey@redhat.com>
5151
5152 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
5153 * target.h (struct target_ops) <to_get_trace_status>: Add
5154 argument.
5155 (target_get_trace_status): Add argument.
5156 * target.c (update_current_target): Update.
5157 * remote.c (remote_get_trace_status): Add 'self' argument.
5158 (remote_start_remote, remote_can_download_tracepoint): Update.
5159 * ctf.c (ctf_get_trace_status): Add 'self' argument.
5160
5161 2014-02-19 Tom Tromey <tromey@redhat.com>
5162
5163 * target.h (struct target_ops) <to_trace_start>: Add argument.
5164 (target_trace_start): Add argument.
5165 * target.c (update_current_target): Update.
5166 * remote.c (remote_trace_start): Add 'self' argument.
5167
5168 2014-02-19 Tom Tromey <tromey@redhat.com>
5169
5170 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
5171 Add argument.
5172 (target_trace_set_readonly_regions): Add argument.
5173 * target.c (update_current_target): Update.
5174 * remote.c (remote_trace_set_readonly_regions): Add 'self'
5175 argument.
5176
5177 2014-02-19 Tom Tromey <tromey@redhat.com>
5178
5179 * target.h (struct target_ops) <to_disable_tracepoint>: Add
5180 argument.
5181 (target_disable_tracepoint): Add argument.
5182 * target.c (update_current_target): Update.
5183 * remote.c (remote_disable_tracepoint): Add 'self' argument.
5184
5185 2014-02-19 Tom Tromey <tromey@redhat.com>
5186
5187 * target.h (struct target_ops) <to_enable_tracepoint>: Add
5188 argument.
5189 (target_enable_tracepoint): Add argument.
5190 * target.c (update_current_target): Update.
5191 * remote.c (remote_enable_tracepoint): Add 'self' argument.
5192
5193 2014-02-19 Tom Tromey <tromey@redhat.com>
5194
5195 * target.h (struct target_ops) <to_download_trace_state_variable>:
5196 Add argument.
5197 (target_download_trace_state_variable): Add argument.
5198 * target.c (update_current_target): Update.
5199 * remote.c (remote_download_trace_state_variable): Add 'self'
5200 argument.
5201
5202 2014-02-19 Tom Tromey <tromey@redhat.com>
5203
5204 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
5205 argument.
5206 (target_can_download_tracepoint): Add argument.
5207 * target.c (update_current_target): Update.
5208 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
5209
5210 2014-02-19 Tom Tromey <tromey@redhat.com>
5211
5212 * target.h (struct target_ops) <to_download_tracepoint>: Add
5213 argument.
5214 (target_download_tracepoint): Add argument.
5215 * target.c (update_current_target): Update.
5216 * remote.c (remote_download_tracepoint): Add 'self' argument.
5217
5218 2014-02-19 Tom Tromey <tromey@redhat.com>
5219
5220 * target.h (struct target_ops) <to_trace_init>: Add argument.
5221 (target_trace_init): Add argument.
5222 * target.c (update_current_target): Update.
5223 * remote.c (remote_trace_init): Add 'self' argument.
5224
5225 2014-02-19 Tom Tromey <tromey@redhat.com>
5226
5227 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
5228 * target.c (target_fileio_readlink): Add argument.
5229 * remote.c (remote_hostio_readlink): Add 'self' argument.
5230 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
5231
5232 2014-02-19 Tom Tromey <tromey@redhat.com>
5233
5234 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
5235 * target.c (target_fileio_unlink): Add argument.
5236 * remote.c (remote_hostio_unlink): Add 'self' argument.
5237 (remote_file_delete): Update.
5238 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
5239
5240 2014-02-19 Tom Tromey <tromey@redhat.com>
5241
5242 * target.h (struct target_ops) <to_fileio_close>: Add argument.
5243 * target.c (target_fileio_close): Add argument.
5244 * remote.c (remote_hostio_close): Add 'self' argument.
5245 (remote_hostio_close_cleanup): Update.
5246 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
5247 Update.
5248 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
5249
5250 2014-02-19 Tom Tromey <tromey@redhat.com>
5251
5252 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
5253 * target.c (target_fileio_pread): Add argument.
5254 * remote.c (remote_hostio_pread): Add 'self' argument.
5255 (remote_bfd_iovec_pread, remote_file_get): Update.
5256 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
5257
5258 2014-02-19 Tom Tromey <tromey@redhat.com>
5259
5260 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
5261 * target.c (target_fileio_pwrite): Add argument.
5262 * remote.c (remote_hostio_pwrite): Add 'self' argument.
5263 (remote_file_put): Update.
5264 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
5265
5266 2014-02-19 Tom Tromey <tromey@redhat.com>
5267
5268 * target.h (struct target_ops) <to_fileio_open>: Add argument.
5269 * target.c (target_fileio_open): Add argument.
5270 * remote.c (remote_hostio_open): Add 'self' argument.
5271 (remote_bfd_iovec_open): Add 'self' argument.
5272 (remote_file_put): Add 'self' argument.
5273 (remote_file_get): Add 'self' argument.
5274 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
5275
5276 2014-02-19 Tom Tromey <tromey@redhat.com>
5277
5278 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
5279 Add argument.
5280 (target_can_run_breakpoint_commands): Add argument.
5281 * target.c (update_current_target): Update.
5282 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
5283 argument.
5284 (remote_insert_breakpoint): Add 'self' argument.
5285 (remote_insert_hw_breakpoint): Add 'self' argument.
5286 (remote_can_run_breakpoint_commands): Add 'self' argument.
5287
5288 2014-02-19 Tom Tromey <tromey@redhat.com>
5289
5290 * target.h (struct target_ops)
5291 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
5292 (target_supports_evaluation_of_breakpoint_conditions): Add
5293 argument.
5294 * target.c (update_current_target): Update.
5295 * remote.c (remote_supports_cond_breakpoints): Add 'self'
5296 argument.
5297 (remote_insert_breakpoint): Add 'self' argument.
5298 (remote_insert_hw_breakpoint): Add 'self' argument.
5299 (remote_supports_cond_breakpoints): Add 'self' argument.
5300
5301 2014-02-19 Tom Tromey <tromey@redhat.com>
5302
5303 * target.h (struct target_ops) <to_supports_string_tracing>: Add
5304 argument.
5305 (target_supports_string_tracing): Add argument.
5306 * target.c (update_current_target): Update.
5307 * remote.c (remote_supports_string_tracing): Add 'self' argument.
5308
5309 2014-02-19 Tom Tromey <tromey@redhat.com>
5310
5311 * target.h (struct target_ops)
5312 <to_supports_disable_randomization>: Add argument.
5313 * target.c (find_default_supports_disable_randomization): Add
5314 argument.
5315 (target_supports_disable_randomization): Add argument.
5316 (find_default_supports_disable_randomization): Add 'self'
5317 argument.
5318 * remote.c (extended_remote_supports_disable_randomization): Add
5319 'self' argument.
5320 (remote_supports_disable_randomization): Add 'self' argument.
5321 (extended_remote_create_inferior): Update.
5322 * linux-nat.c (linux_nat_supports_disable_randomization): Add
5323 'self' argument.
5324
5325 2014-02-19 Tom Tromey <tromey@redhat.com>
5326
5327 * target.h (struct target_ops)
5328 <to_supports_enable_disable_tracepoint>: Add argument.
5329 (target_supports_enable_disable_tracepoint): Add argument.
5330 * target.c (update_current_target): Update.
5331 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
5332 argument.
5333
5334 2014-02-19 Tom Tromey <tromey@redhat.com>
5335
5336 * target.h (struct target_ops) <to_supports_multi_process>: Add
5337 argument.
5338 (target_supports_multi_process): Add argument.
5339 * target.c (update_current_target): Update.
5340 * remote.c (remote_supports_multi_process): Add 'self' argument.
5341 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
5342 argument.
5343 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
5344 argument.
5345
5346 2014-02-19 Tom Tromey <tromey@redhat.com>
5347
5348 * target.h (struct target_ops) <to_execution_direction>: Add
5349 argument.
5350 (target_execution_direction): Add argument.
5351 * target.c (default_execution_direction): Add 'self' argument.
5352 * record-full.c (record_full_execution_direction): Add 'self'
5353 argument.
5354
5355 2014-02-19 Tom Tromey <tromey@redhat.com>
5356
5357 * target.h (struct target_ops) <to_can_execute_reverse>: Add
5358 argument.
5359 (target_can_execute_reverse): Add argument.
5360 * remote.c (remote_can_execute_reverse): Add 'self' argument.
5361 * record-full.c (record_full_can_execute_reverse): Add 'self'
5362 argument.
5363 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
5364 argument.
5365
5366 2014-02-19 Tom Tromey <tromey@redhat.com>
5367
5368 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
5369 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
5370 argument.
5371 (target_get_ada_task_ptid): Add argument.
5372 * target.c (update_current_target): Update.
5373 (default_get_ada_task_ptid): Add 'self' argument.
5374 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
5375 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
5376 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
5377 argument.
5378 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
5379 argument.
5380 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
5381 argument.
5382 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
5383 argument.
5384 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
5385 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
5386 argument.
5387
5388 2014-02-19 Tom Tromey <tromey@redhat.com>
5389
5390 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
5391 (target_goto_bookmark): Add argument.
5392 * target.c (dummy_goto_bookmark): Add 'self' argument.
5393 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
5394
5395 2014-02-19 Tom Tromey <tromey@redhat.com>
5396
5397 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
5398 (target_get_bookmark): Add argument.
5399 * target.c (dummy_get_bookmark): Add 'self' argument.
5400 * record-full.c (record_full_get_bookmark): Add 'self' argument.
5401
5402 2014-02-19 Tom Tromey <tromey@redhat.com>
5403
5404 * target.h (struct target_ops) <to_make_corefile_notes>: Add
5405 argument.
5406 (target_make_corefile_notes): Add argument.
5407 * target.c (dummy_make_corefile_notes): Add 'self' argument.
5408 * procfs.c (procfs_make_note_section): Add 'self' argument.
5409 (procfs_make_note_section): Add 'self' argument.
5410 (procfs_make_note_section): Add 'self' argument.
5411 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
5412 argument.
5413 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
5414 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
5415 * exec.c (exec_make_note_section): Add 'self' argument.
5416 (exec_make_note_section): Add 'self' argument.
5417
5418 2014-02-19 Tom Tromey <tromey@redhat.com>
5419
5420 * target.h (struct target_ops) <to_find_memory_regions>: Add
5421 argument.
5422 (target_find_memory_regions): Add argument.
5423 * target.c (dummy_find_memory_regions): Add 'self' argument.
5424 * procfs.c (proc_find_memory_regions): Add 'self' argument.
5425 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
5426 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
5427 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
5428 * exec. (exec_do_find_memory_regions): New global.
5429 (exec_set_find_memory_regions): Rewrite.
5430 (exec_find_memory_regions): New function.
5431 (init_exec_ops): Use exec_find_memory_regions.
5432
5433 2014-02-19 Tom Tromey <tromey@redhat.com>
5434
5435 * target.h (struct target_ops) <to_supports_non_stop>: Add
5436 argument.
5437 * target.c (find_default_supports_non_stop): Add argument.
5438 (target_supports_non_stop): Add argument.
5439 (find_default_supports_non_stop): Add 'self' argument.
5440 * remote.c (remote_supports_non_stop): Add 'self' argument.
5441 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
5442
5443 2014-02-19 Tom Tromey <tromey@redhat.com>
5444
5445 * target.h (struct target_ops) <to_log_command>: Add argument.
5446 (target_log_command): Add argument.
5447 * serial.h (serial_log_command): Add 'self' argument.
5448 * serial.c (serial_log_command): Add 'self' argument.
5449
5450 2014-02-19 Tom Tromey <tromey@redhat.com>
5451
5452 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
5453 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
5454 argument.
5455 (target_pid_to_exec_file): Add argument.
5456 * target.c (debug_to_pid_to_exec_file): Add argument.
5457 (update_current_target): Update.
5458 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
5459 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
5460 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
5461 (linux_handle_extended_wait): Update.
5462 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
5463 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
5464 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
5465 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
5466
5467 2014-02-19 Tom Tromey <tromey@redhat.com>
5468
5469 * target.h (struct target_ops) <to_rcmd>: Add argument.
5470 (target_rcmd): Add argument.
5471 * target.c (debug_to_rcmd): Add argument.
5472 (update_current_target, do_monitor_command): Update.
5473 * remote.c (remote_rcmd): Add 'self' argument.
5474 * monitor.c (monitor_rcmd): Add 'self' argument.
5475
5476 2014-02-19 Tom Tromey <tromey@redhat.com>
5477
5478 * windows-nat.c (windows_stop): Add 'self' argument.
5479 * target.h (struct target_ops) <to_stop>: Add argument.
5480 * target.c (target_stop): Add argument.
5481 (debug_to_stop): Add argument.
5482 (update_current_target): Update.
5483 * remote.c (remote_stop): Add 'self' argument.
5484 * remote-sim.c (gdbsim_stop): Add 'self' argument.
5485 (gdbsim_cntrl_c): Update.
5486 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
5487 * procfs.c (procfs_stop): Add 'self' argument.
5488 * nto-procfs.c (procfs_stop): Add 'self' argument.
5489 * monitor.c (monitor_stop): Add 'self' argument.
5490 (monitor_open): Update.
5491 * linux-nat.c (linux_nat_stop): Add argument.
5492 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
5493 * gnu-nat.c (gnu_stop): Add 'self' argument.
5494 * darwin-nat.c (darwin_stop): Add 'self' argument.
5495
5496 2014-02-19 Tom Tromey <tromey@redhat.com>
5497
5498 * target.h (struct target_ops) <to_thread_name>: Add argument.
5499 * target.c (target_thread_name): Add argument.
5500 (update_current_target): Update.
5501 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
5502
5503 2014-02-19 Tom Tromey <tromey@redhat.com>
5504
5505 * target.h (struct target_ops) <to_extra_thread_info>: Add
5506 argument.
5507 (target_extra_thread_info): Add argument.
5508 * target.c (update_current_target): Update.
5509 * remote.c (remote_threads_extra_info): Add 'self' argument.
5510 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
5511 argument.
5512 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
5513 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
5514 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
5515 argument.
5516 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
5517 argument.
5518 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
5519 argument.
5520 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
5521 argument.
5522
5523 2014-02-19 Tom Tromey <tromey@redhat.com>
5524
5525 * target.h (struct target_ops) <to_program_signals>: Add argument.
5526 * target.c (target_program_signals): Add argument.
5527 * remote.c (remote_program_signals): Add 'self' argument.
5528
5529 2014-02-19 Tom Tromey <tromey@redhat.com>
5530
5531 * target.h (struct target_ops) <to_pass_signals>: Add argument.
5532 * target.c (target_pass_signals): Add argument.
5533 * remote.c (remote_pass_signals): Add 'self' argument.
5534 (remote_start_remote): Update.
5535 * procfs.c (procfs_pass_signals): Add 'self' argument.
5536 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
5537 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
5538 (linux_nat_create_inferior, linux_nat_attach): Update.
5539
5540 2014-02-19 Tom Tromey <tromey@redhat.com>
5541
5542 * windows-nat.c (windows_can_run): Add 'self' argument.
5543 * target.h (struct target_ops) <to_can_run>: Add argument.
5544 (target_can_run): Add argument.
5545 * target.c (debug_to_can_run): Add argument.
5546 (update_current_target): Update.
5547 * nto-procfs.c (procfs_can_run): Add 'self' argument.
5548 * inf-child.c (inf_child_can_run): Add 'self' argument.
5549 * go32-nat.c (go32_can_run): Add 'self' argument.
5550
5551 2014-02-19 Tom Tromey <tromey@redhat.com>
5552
5553 * target.h (struct target_ops) <to_has_exited>: Add argument.
5554 (target_has_exited): Add argument.
5555 * target.c (debug_to_has_exited): Add argument.
5556 (update_current_target): Update.
5557
5558 2014-02-19 Tom Tromey <tromey@redhat.com>
5559
5560 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
5561 argument.
5562 (target_set_syscall_catchpoint): Add argument.
5563 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
5564 argument.
5565 * target.c (update_current_target): Update.
5566
5567 2014-02-19 Tom Tromey <tromey@redhat.com>
5568
5569 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
5570 argument.
5571 (target_remove_exec_catchpoint): Add argument.
5572 * target.c (debug_to_remove_exec_catchpoint): Add argument.
5573 (update_current_target): Update.
5574 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
5575 argument.
5576
5577 2014-02-19 Tom Tromey <tromey@redhat.com>
5578
5579 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
5580 argument.
5581 (target_insert_exec_catchpoint): Add argument.
5582 * target.c (debug_to_insert_exec_catchpoint): Add argument.
5583 (update_current_target): Update.
5584 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
5585 argument.
5586
5587 2014-02-19 Tom Tromey <tromey@redhat.com>
5588
5589 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
5590 argument.
5591 (target_remove_vfork_catchpoint): Add argument.
5592 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
5593 (update_current_target): Update.
5594 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
5595 argument.
5596
5597 2014-02-19 Tom Tromey <tromey@redhat.com>
5598
5599 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
5600 argument.
5601 (target_insert_vfork_catchpoint): Add argument.
5602 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
5603 (update_current_target): Update.
5604 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
5605 argument.
5606
5607 2014-02-19 Tom Tromey <tromey@redhat.com>
5608
5609 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
5610 argument.
5611 (target_remove_fork_catchpoint): Add argument.
5612 * target.c (debug_to_remove_fork_catchpoint): Add argument.
5613 (update_current_target): Update.
5614 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
5615 argument.
5616
5617 2014-02-19 Tom Tromey <tromey@redhat.com>
5618
5619 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
5620 argument.
5621 (target_insert_fork_catchpoint): Add argument.
5622 * target.c (debug_to_insert_fork_catchpoint): Add argument.
5623 (update_current_target): Update.
5624 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
5625 argument.
5626
5627 2014-02-19 Tom Tromey <tromey@redhat.com>
5628
5629 * target.h (struct target_ops) <to_post_startup_inferior>: Add
5630 argument.
5631 (target_post_startup_inferior): Add argument.
5632 * target.c (debug_to_post_startup_inferior): Add argument.
5633 (update_current_target): Update.
5634 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
5635 argument.
5636 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
5637 argument.
5638 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
5639 argument.
5640 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
5641 argument.
5642 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
5643 'self' argument.
5644 (super_post_startup_inferior): Likewise.
5645 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
5646 'self' argument.
5647 (super_post_startup_inferior): Likewise.
5648 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
5649 Add 'self' argument.
5650 (super_post_startup_inferior): Likewise.
5651
5652 2014-02-19 Tom Tromey <tromey@redhat.com>
5653
5654 * target.h (struct target_ops) <to_load>: Add argument.
5655 * target.c (target_load): Add argument.
5656 (debug_to_load): Add argument.
5657 (update_current_target): Update.
5658 * remote.c (remote_load): Add 'self' argument.
5659 * remote-sim.c (gdbsim_load): Add 'self' argument.
5660 * remote-mips.c (mips_load): Add 'self' argument.
5661 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
5662 * monitor.c (monitor_load): Add 'self' argument.
5663 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
5664
5665 2014-02-19 Tom Tromey <tromey@redhat.com>
5666
5667 * target.h (struct target_ops) <to_terminal_info>: Add argument.
5668 (target_terminal_info): Add argument.
5669 * target.c (debug_to_terminal_info): Add argument.
5670 (default_terminal_info): Likewise.
5671 * inflow.c (child_terminal_info): Add 'self' argument.
5672 * inferior.h (child_terminal_info): Add 'self' argument.
5673 * go32-nat.c (go32_terminal_info): Add 'self' argument.
5674
5675 2014-02-19 Tom Tromey <tromey@redhat.com>
5676
5677 * target.h (struct target_ops) <to_terminal_save_ours>: Add
5678 argument.
5679 (target_terminal_save_ours): Add argument.
5680 * target.c (debug_to_terminal_save_ours): Add argument.
5681 (update_current_target): Update.
5682 * inflow.c (terminal_save_ours): Add 'self' argument.
5683 * inferior.h (terminal_save_ours): Add 'self' argument.
5684
5685 2014-02-19 Tom Tromey <tromey@redhat.com>
5686
5687 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
5688 (target_terminal_ours): Add argument.
5689 * target.c (debug_to_terminal_ours): Add argument.
5690 (update_current_target): Update.
5691 * remote.c (remote_terminal_ours): Add 'self' argument.
5692 (remote_close): Update.
5693 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
5694 * inflow.c (terminal_ours): Add 'self' argument.
5695 * inferior.h (terminal_ours): Add 'self' argument.
5696 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
5697
5698 2014-02-19 Pedro Alves <palves@redhat.com>
5699 Tom Tromey <tromey@redhat.com>
5700
5701 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
5702 argument.
5703 (target_terminal_ours_for_output): Add argument.
5704 * target.c (debug_to_terminal_ours_for_output): Add argument.
5705 (update_current_target): Update.
5706 * inflow.c (terminal_ours_for_output): Add 'self' argument.
5707 * inferior.h (terminal_ours_for_output): Add 'self' argument.
5708 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
5709
5710 2014-02-19 Tom Tromey <tromey@redhat.com>
5711
5712 * target.h (struct target_ops) <to_terminal_inferior>: Add
5713 argument.
5714 * target.c (target_terminal_inferior): Add argument.
5715 (update_current_target): Update.
5716 * remote.c (remote_terminal_inferior): Add 'self' argument.
5717 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
5718 * inflow.c (terminal_inferior): Add 'self' argument.
5719 * inferior.h (terminal_inferior): Add 'self' argument.
5720 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
5721 (go32_terminal_inferior): Add 'self' argument.
5722
5723 2014-02-19 Tom Tromey <tromey@redhat.com>
5724
5725 * target.h (struct target_ops) <to_terminal_init>: Add argument.
5726 (target_terminal_init): Add argument.
5727 * target.c (debug_to_terminal_init): Add argument.
5728 (update_current_target): Update.
5729 * inflow.c (terminal_init_inferior): Add 'self' argument.
5730 * inferior.h (terminal_init_inferior): Add 'self' argument.
5731 * go32-nat.c (go32_terminal_init): Add 'self' argument.
5732 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
5733
5734 2014-02-19 Tom Tromey <tromey@redhat.com>
5735
5736 * target.h (struct target_ops)
5737 <to_can_accel_watchpoint_condition>: Add argument.
5738 (target_can_accel_watchpoint_condition): Add argument.
5739 * target.c (debug_to_can_accel_watchpoint_condition): Add
5740 argument.
5741 (update_current_target): Update.
5742 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
5743 'self' argument.
5744
5745 2014-02-19 Tom Tromey <tromey@redhat.com>
5746
5747 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
5748 Add argument.
5749 (target_region_ok_for_hw_watchpoint): Add argument.
5750 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
5751 (default_region_ok_for_hw_watchpoint): Add argument.
5752 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
5753 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
5754 argument.
5755 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
5756 argument.
5757 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
5758 argument.
5759 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
5760 'self' argument.
5761 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
5762 'self' argument.
5763 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
5764 'self' argument.
5765 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
5766 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
5767 'self' argument.
5768 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
5769 Add 'self' argument.
5770
5771 2014-02-19 Tom Tromey <tromey@redhat.com>
5772
5773 * target.h (struct target_ops) <to_insert_watchpoint>: Add
5774 argument.
5775 (target_insert_watchpoint): Add argument.
5776 * target.c (debug_to_insert_watchpoint): Add argument.
5777 (update_current_target): Update.
5778 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
5779 * remote.c (remote_insert_watchpoint): Add 'self' argument.
5780 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
5781 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
5782 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
5783 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
5784 argument.
5785 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
5786 (procfs_insert_hw_watchpoint): Add 'self' argument.
5787 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
5788 argument.
5789 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
5790 argument.
5791 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
5792 argument.
5793 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
5794 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
5795 argument.
5796 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
5797 'self' argument.
5798
5799 2014-02-19 Tom Tromey <tromey@redhat.com>
5800
5801 * target.h (struct target_ops) <to_remove_watchpoint>: Add
5802 argument.
5803 (target_remove_watchpoint): Add argument.
5804 * target.c (debug_to_remove_watchpoint): Add argument.
5805 (update_current_target): Update.
5806 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
5807 * remote.c (remote_remove_watchpoint): Add 'self' argument.
5808 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
5809 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
5810 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
5811 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
5812 argument.
5813 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
5814 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
5815 argument.
5816 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
5817 argument.
5818 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
5819 argument.
5820 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
5821 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
5822 argument.
5823 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
5824 'self' argument.
5825
5826 2014-02-19 Tom Tromey <tromey@redhat.com>
5827
5828 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
5829 argument.
5830 (target_remove_hw_breakpoint): Add argument.
5831 * target.c (debug_to_remove_hw_breakpoint): Add argument.
5832 (update_current_target): Update.
5833 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
5834 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
5835 argument.
5836 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
5837 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
5838 argument.
5839 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
5840 'self' argument.
5841
5842 2014-02-19 Tom Tromey <tromey@redhat.com>
5843
5844 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
5845 argument.
5846 (target_insert_hw_breakpoint): Add argument.
5847 * target.c (debug_to_insert_hw_breakpoint): Add argument.
5848 (update_current_target): Update.
5849 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
5850 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
5851 argument.
5852 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
5853 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
5854 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
5855 argument.
5856 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
5857 'self' argument.
5858
5859 2014-02-19 Tom Tromey <tromey@redhat.com>
5860
5861 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
5862 argument.
5863 (target_can_use_hardware_watchpoint): Add argument.
5864 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
5865 (update_current_target): Update.
5866 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
5867 argument.
5868 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
5869 argument.
5870 * remote.c (remote_check_watch_resources): Add 'self' argument.
5871 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
5872 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
5873 argument.
5874 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
5875 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
5876 argument.
5877 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
5878 argument.
5879 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
5880 argument.
5881 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
5882 argument.
5883 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
5884 argument.
5885 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
5886 argument.
5887 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
5888 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
5889 argument.
5890 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
5891 'self' argument.
5892
5893 2014-02-19 Tom Tromey <tromey@redhat.com>
5894
5895 * target.h (struct target_ops) <to_post_attach>: Add argument.
5896 (target_post_attach): Add argument.
5897 * target.c (debug_to_post_attach): Add argument.
5898 (update_current_target): Update.
5899 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
5900 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
5901 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
5902 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
5903 * inf-child.c (inf_child_post_attach): Add 'self' argument.
5904
5905 2014-02-19 Tom Tromey <tromey@redhat.com>
5906
5907 * windows-nat.c (windows_close): Add 'self' argument.
5908 * tracepoint.c (tfile_close): Add 'self' argument.
5909 * target.h (struct target_ops) <to_close>: Add argument.
5910 * target.c (target_close): Add argument.
5911 (update_current_target): Update.
5912 * remote.c (remote_close): Add 'self' argument.
5913 * remote-sim.c (gdbsim_close): Add 'self' argument.
5914 * remote-mips.c (mips_close): Add 'self' argument.
5915 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
5916 * record-full.c (record_full_close): Add 'self' argument.
5917 * record-btrace.c (record_btrace_close): Add 'self' argument.
5918 * monitor.h (monitor_close): Add 'self' argument.
5919 * monitor.c (monitor_close): Add 'self' argument.
5920 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
5921 * linux-nat.c (linux_nat_close): Add argument.
5922 * go32-nat.c (go32_close): Add 'self' argument.
5923 * exec.c (exec_close_1): Add 'self' argument.
5924 * ctf.c (ctf_close): Add 'self' argument.
5925 * corelow.c (core_close): Add 'self' argument.
5926 (core_close_cleanup): Update.
5927 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
5928 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
5929
5930 2014-02-19 Tom Tromey <tromey@redhat.com>
5931
5932 * remote.c (remote_load): New function.
5933 (init_remote_ops): Use it.
5934
5935 2014-02-19 Tom Tromey <tromey@redhat.com>
5936
5937 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
5938 argument.
5939 * common/linux-btrace.h (linux_supports_btrace): Update.
5940 * remote.c (remote_supports_btrace): Add "self" argument.
5941 * target-delegates.c: Rebuild.
5942 * target.c (target_supports_btrace): Remove.
5943 * target.h (struct target_ops) <to_supports_btrace>: Add
5944 target_ops argument.
5945 (target_supports_btrace): New define.
5946
5947 2014-02-19 Tom Tromey <tromey@redhat.com>
5948
5949 * record-full.c (record_full_beneath_to_resume_ops)
5950 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
5951 (record_full_beneath_to_wait)
5952 (record_full_beneath_to_store_registers_ops)
5953 (record_full_beneath_to_store_registers)
5954 (record_full_beneath_to_xfer_partial_ops)
5955 (record_full_beneath_to_xfer_partial)
5956 (record_full_beneath_to_insert_breakpoint_ops)
5957 (record_full_beneath_to_insert_breakpoint)
5958 (record_full_beneath_to_remove_breakpoint_ops)
5959 (record_full_beneath_to_remove_breakpoint)
5960 (record_full_beneath_to_stopped_by_watchpoint)
5961 (record_full_beneath_to_stopped_data_address)
5962 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
5963 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
5964 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
5965 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
5966 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
5967 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
5968 (tmp_to_stopped_data_address, tmp_to_async): Remove.
5969 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
5970 (record_full_resume, record_full_wait_1)
5971 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
5972 (record_full_store_registers, record_full_xfer_partial)
5973 (record_full_insert_breakpoint, record_full_remove_breakpoint)
5974 (record_full_async, record_full_core_xfer_partial): Use target
5975 delegation.
5976 * target-delegates.c: Rebuild.
5977 * target.c (current_xfer_partial): Remove.
5978 (update_current_target): Do not INHERIT or de_fault
5979 to_insert_breakpoint, to_remove_breakpoint,
5980 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
5981 to_is_async_p, to_async. Do not set to_xfer_partial field.
5982 (default_xfer_partial): Simplify.
5983 (current_xfer_partial): Remove.
5984 (target_wait, target_resume): Simplify.
5985 (find_default_can_async_p, find_default_is_async_p): Update.
5986 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
5987 to_xfer_partial, to_stopped_by_watchpoint,
5988 to_stopped_data_address.
5989 (target_store_registers): Simplify.
5990 (forward_target_remove_breakpoint)
5991 (forward_target_insert_breakpoint): Remove.
5992 (target_remove_breakpoint, target_insert_breakpoint)
5993 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
5994 * target.h (struct target_ops) <to_resume, to_wait,
5995 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
5996 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
5997 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
5998 markup.
5999 (forward_target_remove_breakpoint)
6000 (forward_target_insert_breakpoint): Remove.
6001 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
6002 directly.
6003 (record_btrace_insert_breakpoint): Delegate directly.
6004
6005 2014-02-19 Tom Tromey <tromey@redhat.com>
6006
6007 PR build/7701:
6008 * target-delegates.c: New file.
6009 * target.c: Include target-delegates.c.
6010 (init_dummy_target): Call install_dummy_methods.
6011 (complete_target_initialization): Call install_delegators.
6012 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
6013 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
6014 * make-target-delegates: New file.
6015
6016 2014-02-19 Tom Tromey <tromey@redhat.com>
6017
6018 * record.c (find_record_target): Use find_target_at.
6019 * target.c (find_target_at): New function.
6020 * target.h (find_target_at): Declare.
6021
6022 2014-02-19 Tom Tromey <tromey@redhat.com>
6023
6024 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
6025 Add 'ops' argument.
6026 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
6027 'ops' argument.
6028 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
6029 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
6030 'ops' argument.
6031 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
6032 argument.
6033 * linux-nat.c (save_sigtrap): Update.
6034 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
6035 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
6036 (linux_nat_close): Update.
6037 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
6038 argument.
6039 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
6040 argument.
6041 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
6042 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
6043 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
6044 (tmp_to_async): Add 'ops' argument.
6045 (record_full_stopped_by_watchpoint, record_full_async)
6046 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
6047 argument.
6048 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
6049 (m32r_stopped_by_watchpoint): Add 'ops' argument.
6050 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
6051 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
6052 (remote_is_async_p, remote_async): Add 'ops' argument.
6053 (remote_stopped_data_address): Update.
6054 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
6055 * target.c (update_current_target)
6056 (find_default_can_async_p, find_default_is_async_p): Update.
6057 (init_dummy_target): Update.
6058 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
6059 * target.h (struct target_ops) <to_stopped_by_watchpoint,
6060 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
6061 (target_can_async_p, target_is_async_p, target_async)
6062 (target_stopped_by_watchpoint): Update.
6063
6064 2014-02-19 Yao Qi <yao@codesourcery.com>
6065
6066 PR gdb/16220
6067 * gdbarch.sh: Remove startup_gdbarch.
6068 * gdbarch.c: Regenerated.
6069 * gdbarch.h: Likewise.
6070
6071 2014-02-17 Kevin Buettner <kevinb@redhat.com>
6072
6073 * rl78-tdep.c (rl78_g10_register_name): New function.
6074 (rl78_return_value): Add g10 support.
6075 (rl78_gdbarch_init): Register rl78_g10_register_name for the
6076 g10.
6077
6078 2014-02-17 Doug Evans <xdje42@gmail.com>
6079
6080 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
6081 (SUBDIR_GUILE_SRCS): Ditto.
6082 (scm-gsmob.o): Ditto.
6083
6084 2014-02-17 Yao Qi <yao@codesourcery.com>
6085
6086 * gnu-nat.c (ILL_RPC): Declare defined function.
6087
6088 2014-02-17 Yao Qi <yao@codesourcery.com>
6089
6090 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
6091 mach_msg_type_number_t.
6092 (gnu_write_inferior): Likewise.
6093
6094 2014-02-17 Yao Qi <yao@codesourcery.com>
6095
6096 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
6097 in format string.
6098 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
6099 (inf_validate_procs, inf_signal): Likewise.
6100 (S_exception_raise_request): Likewise.
6101 (do_mach_notify_dead_name): Likewise.
6102 (steal_exc_port): Likewise.
6103 (gnu_read_inferior): Change 'copy_count''s type to
6104 mach_msg_type_number_t.
6105 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
6106 format string.
6107
6108 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
6109
6110 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
6111 flag. Adjust all users; in particular...
6112 (gnu_wait): ..., don't decrement its value in here...
6113 (gnu_create_inferior): ..., and instead set the flag in here,
6114 around the startup_inferior call, and call that one with
6115 START_INFERIOR_TRAPS_EXPECTED.
6116
6117 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
6118 (ILL_RPC): ... new macro.
6119 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
6120 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
6121 (do_mach_notify_send_once, S_proc_setmsgport_reply)
6122 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
6123 functions with ILL_RPC macro.
6124 (S_proc_pid2task_reply, S_proc_task2pid_reply)
6125 (S_proc_task2proc_reply, S_proc_proc2task_reply)
6126 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
6127 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
6128 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
6129 (S_proc_getlogin_reply, S_proc_getsid_reply)
6130 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
6131 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
6132 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
6133 (S_proc_getnports_reply, S_proc_is_important_reply)
6134 (S_proc_get_code_reply): New stub functions, generated with
6135 ILL_RPC macro.
6136
6137 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
6138 collected the type check structures.
6139
6140 * reply_mig_hack.awk: Don't expect to see the auto keyword.
6141
6142 2014-02-14 Doug Evans <dje@google.com>
6143
6144 * target.c (target_write_partial): Fix result type.
6145
6146 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
6147
6148 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
6149 the proper offsets to access fpregset_t.
6150
6151 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
6152
6153 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
6154 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
6155 * h8300-tdep.c (setmachinelist): Remove global.
6156 * hppa-tdep.c (hppa_sigtramp): Remove global.
6157 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
6158 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
6159 * ravenscar-thread.c (update_target_observer): Remove global.
6160 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
6161
6162 2014-02-12 Tom Tromey <tromey@redhat.com>
6163
6164 * common/rsp-low.c: Update comments.
6165 * common/rsp-low.h: Update comments.
6166
6167 2014-02-12 Tom Tromey <tromey@redhat.com>
6168
6169 * common/rsp-low.c (convert_ascii_to_int): Remove.
6170 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
6171
6172 2014-02-12 Tom Tromey <tromey@redhat.com>
6173
6174 * common/rsp-low.h (unhexify): Don't declare.
6175 * common/rsp-low.c (unhexify): Remove.
6176
6177 2014-02-12 Tom Tromey <tromey@redhat.com>
6178
6179 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
6180 * common/rsp-low.c (convert_int_to_ascii): Remove.
6181
6182 2014-02-12 Tom Tromey <tromey@redhat.com>
6183
6184 * common/rsp-low.h (hexify): Don't declare.
6185 * common/rsp-low.c (hexify): Remove.
6186
6187 2014-02-12 Tom Tromey <tromey@redhat.com>
6188
6189 * common/rsp-low.c (hexify): Never take strlen of argument.
6190
6191 2014-02-12 Tom Tromey <tromey@redhat.com>
6192
6193 * common/rsp-low.c (bin2hex): Never take strlen of argument.
6194 * remote.c (extended_remote_run, remote_rcmd)
6195 (remote_download_trace_state_variable, remote_save_trace_data)
6196 (remote_set_trace_notes): Update.
6197 * tracepoint.c (encode_source_string, tfile_write_status)
6198 (tfile_write_uploaded_tsv): Update.
6199
6200 2014-02-12 Tom Tromey <tromey@redhat.com>
6201
6202 * tracepoint.c: Include rsp-low.h.
6203 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
6204 * remote.c: Include rsp-low.h.
6205 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
6206 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
6207 (remote_unescape_input): Move to common/rsp-low.c.
6208 * common/rsp-low.h: New file.
6209 * common/rsp-low.c: New file.
6210 * Makefile.in (SFILES): Add common/rsp-low.c.
6211 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
6212 (COMMON_OBS): Add rsp-low.o.
6213 (rsp-low.o): New target.
6214
6215 2014-02-12 Tom Tromey <tromey@redhat.com>
6216
6217 * utils.h: Include print-utils.h.
6218 (host_address_to_string, plongest, pulongest, phex, phex_nz)
6219 (int_string, core_addr_to_string, core_addr_to_string_nz)
6220 (hex_string, hex_string_custom): Don't declare.
6221 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
6222 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
6223 (hex_string_custom, int_string, core_addr_to_string)
6224 (core_addr_to_string_nz, host_address_to_string): Move to
6225 common/print-utils.c.
6226 * common/print-utils.h: New file.
6227 * common/print-utils.c: New file
6228 * Makefile.in (SFILES): Add common/print-utils.c.
6229 (HFILES_NO_SRCDIR): Add common/print-utils.h.
6230 (COMMON_OBS): Add print-utils.o.
6231 (print-utils.o): New target.
6232
6233 2014-02-12 Tom Tromey <tromey@redhat.com>
6234
6235 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
6236
6237 2014-02-12 Mark Kettenis <kettenis@gnu.org>
6238
6239 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
6240
6241 2014-02-12 Mark Kettenis <kettenis@gnu.org>
6242
6243 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
6244 if a PT_IO ptrace request returns sucessfully but indicates that 0
6245 bytes were transferred.
6246
6247 2014-02-12 Pedro Alves <palves@redhat.com>
6248 Kevin Buettner <kevinb@redhat.com>
6249
6250 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
6251 TYPE_INSTANCE_FLAG_CODE_SPACE.
6252
6253 2014-02-12 Pedro Alves <palves@redhat.com>
6254
6255 * h8300-tdep.c (pseudo_from_raw_register)
6256 (raw_from_pseudo_register): New functions.
6257 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
6258 them.
6259
6260 2014-02-12 Pedro Alves <palves@redhat.com>
6261
6262 * h8300-tdep.c (h8300_register_sim_regno): New function.
6263 (h8300_gdbarch_init): Install h8300_register_sim_regno as
6264 gdbarch_register_sim_regno hook.
6265
6266 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
6267
6268 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
6269
6270 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
6271
6272 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
6273
6274 2014-02-12 Mark Kettenis <kettenis@gnu.org>
6275
6276 * obsd-tdep.h (obsd_init_abi): New prototype.
6277 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
6278 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
6279 (obsd_init_abi): New functions.
6280 * i386obsd-tdep.c: Include "obsd-tdep.h".
6281 (i386obsd_init_abi): Call obsd_init_abi.
6282 * amd64obsd-tdep.c: Include "obsd-tdep.h".
6283 (amd64obsd_init_abi): Call obsd_init_abi.
6284 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
6285 obsd-tdep.c to gdb_target_obs.
6286
6287 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
6288
6289 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
6290 double float arguments to 16-byte in the argument slots.
6291
6292 2014-02-11 Doug Evans <xdje42@gmail.com>
6293
6294 * configure.ac: Don't crash if pkg-config is not found and guile
6295 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
6296 in guile checks.
6297 * configure: Regenerate.
6298
6299 2014-02-11 Yao Qi <yao@codesourcery.com>
6300
6301 * aix-thread.c (aix_thread_xfer_partial): Update comments.
6302 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
6303 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
6304 * gnu-nat.c (gnu_xfer_memory): Likewise.
6305 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
6306 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6307 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6308 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
6309
6310 2014-02-11 Yao Qi <yao@codesourcery.com>
6311
6312 * target.h (enum target_xfer_error): Rename to ...
6313 (enum target_xfer_status): ... it. New. All users updated.
6314 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
6315 New.
6316 (TARGET_XFER_STATUS_ERROR_P): New macro.
6317 (target_xfer_error_to_string): Remove declaration.
6318 (target_xfer_status_to_string): Declare.
6319 (target_xfer_partial_ftype): Adjust it.
6320 (struct target_ops) <to_xfer_partial>: Return
6321 target_xfer_status. Add argument xfered_len. Update
6322 comments.
6323 * target.c (target_xfer_error_to_string): Rename to ...
6324 (target_xfer_status_to_string): ... it. New. All callers
6325 updated.
6326 (target_read_live_memory): Likewise. Call target_xfer_partial
6327 instead of target_read.
6328 (memory_xfer_live_readonly_partial): Return
6329 target_xfer_status. Add argument xfered_len.
6330 (raw_memory_xfer_partial): Likewise.
6331 (memory_xfer_partial_1): Likewise.
6332 (memory_xfer_partial): Likewise.
6333 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
6334 properly. Update debug message.
6335 (default_xfer_partial, current_xfer_partial): Likewise.
6336 (target_write_partial): Likewise.
6337 (target_read_partial): Likewise. All callers updated.
6338 (read_whatever_is_readable): Likewise.
6339 (target_write_with_progress): Likewise.
6340 (target_read_alloc_1): Likewise.
6341
6342 * aix-thread.c (aix_thread_xfer_partial): Likewise.
6343 * auxv.c (procfs_xfer_auxv): Likewise.
6344 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
6345 * bfd-target.c (target_bfd_xfer_partial): Likewise.
6346 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
6347 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
6348 * corefile.c (read_memory): Adjust.
6349 * corelow.c (core_xfer_partial): Likewise.
6350 * ctf.c (ctf_xfer_partial): Likewise.
6351 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
6352 updated.
6353 (darwin_xfer_partial): Likewise.
6354 * exec.c (section_table_xfer_memory_partial): Likewise. All
6355 callers updated.
6356 (exec_xfer_partial): Likewise.
6357 * exec.h (section_table_xfer_memory_partial): Update
6358 declaration.
6359 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
6360 negative.
6361 (gnu_xfer_partial): Likewise.
6362 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
6363 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
6364 (ia64_hpux_xfer_solib_got): Likewise.
6365 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
6366 type of 'partial_len' to ULONGEST.
6367 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
6368 * linux-nat.c (linux_xfer_siginfo ): Likewise.
6369 (linux_nat_xfer_partial): Likewise.
6370 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
6371 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
6372 * monitor.c (monitor_xfer_memory): Likewise.
6373 (monitor_xfer_partial): Likewise.
6374 * procfs.c (procfs_xfer_partial): Likewise.
6375 * record-btrace.c (record_btrace_xfer_partial): Likewise.
6376 * record-full.c (record_full_xfer_partial): Likewise.
6377 (record_full_core_xfer_partial): Likewise.
6378 * remote-sim.c (gdbsim_xfer_memory): Likewise.
6379 (gdbsim_xfer_partial): Likewise.
6380 * remote.c (remote_write_bytes_aux): Likewise. All callers
6381 updated.
6382 (remote_write_bytes, remote_read_bytes): Likewise. All
6383 callers updated.
6384 (remote_flash_erase): Likewise. All callers updated.
6385 (remote_write_qxfer): Likewise. All callers updated.
6386 (remote_read_qxfer): Likewise. All callers updated.
6387 (remote_xfer_partial): Likewise.
6388 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6389 (rs6000_xfer_shared_libraries): Likewise.
6390 * sol-thread.c (sol_thread_xfer_partial): Likewise.
6391 (sol_thread_xfer_partial): Likewise.
6392 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6393 (sparc_xfer_partial): Likewise.
6394 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
6395 updated.
6396 (spu_xfer_partial): Likewise.
6397 * spu-multiarch.c (spu_xfer_partial): Likewise.
6398 * tracepoint.c (tfile_xfer_partial): Likewise.
6399 * windows-nat.c (windows_xfer_memory): Likewise.
6400 (windows_xfer_shared_libraries): Likewise.
6401 (windows_xfer_partial): Likewise.
6402 * valprint.c: Replace 'target_xfer_error' with
6403 'target_xfer_status' in comments.
6404
6405 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
6406
6407 Checked in by Joel Brobecker <brobecker@adacore.com>.
6408 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
6409
6410 2014-02-11 Joel Brobecker <brobecker@adacore.com>
6411
6412 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
6413 function parameters.
6414
6415 2014-02-10 Will Newton <will.newton@linaro.org>
6416
6417 * elfread.c (elf_rel_plt_read): Look for a .got section if
6418 looking up .got.plt fails.
6419 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
6420 on address passed to elf_gnu_ifunc_record_cache.
6421 (elf_gnu_ifunc_resolve_addr): Likewise.
6422 (elf_gnu_ifunc_resolver_return_stop): Likewise.
6423
6424 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
6425
6426 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
6427 (X_RETTURN): New macro.
6428 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
6429
6430 * sparc64-tdep.c (sparc64_init_abi): Hook
6431 sparc_in_function_epilogue_p.
6432
6433 2014-02-10 Gary Benson <gbenson@redhat.com>
6434
6435 * symfile-debug.c (debug_qf_expand_symtabs_matching):
6436 Rename name_matcher to symbol_matcher.
6437
6438 2014-02-10 Gary Benson <gbenson@redhat.com>
6439
6440 * symfile-debug.c (debug_qf_expand_symtabs_matching):
6441 Use expand_symtabs_file_matcher_ftype and
6442 expand_symtabs_symbol_matcher_ftype.
6443
6444 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6445
6446 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
6447 (struct ada_symbol_cache): New.
6448 (ada_free_symbol_cache): Forward declare.
6449 (struct ada_pspace_data): New.
6450 (ada_pspace_data_handle): New static global.
6451 (get_ada_pspace_data, ada_pspace_data_cleanup)
6452 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
6453 (cache_space, cache): Delete, now folded inside struct
6454 ada_pspace_data.
6455 (ada_get_symbol_cache): New function.
6456 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
6457 implementation.
6458 (_initialize_ada_language): Remove initialization of cache_space.
6459 Move call to observer_attach_inferior_exit up, grouping it
6460 with the other observer registrations inside this function.
6461 Rename command to be more general. Add call to
6462 register_program_space_data_with_cleanup.
6463
6464 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6465
6466 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
6467 ada_new_objfile_observer.
6468 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
6469 (_initialize_tasks): Update uses of ada_new_objfile_observer
6470 and ada_tasks_normal_stop_observer.
6471
6472 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6473
6474 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
6475 returned by the 'Length attribute to integer.
6476
6477 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6478
6479 * ada-lang.c (_initialize_ada_language): Initialize
6480 cache_space obstack.
6481
6482 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6483
6484 * ada-lang.c (HASH_SIZE): New macro.
6485 (struct cache_entry): New type.
6486 (cache_space, cache): New static globals.
6487 (ada_clear_symbol_cache, find_entry): New functions.
6488 (lookup_cached_symbol, cache_symbol): Implement.
6489 (ada_new_objfile_observer, ada_free_objfile_observer): New.
6490 (_initialize_ada_language): Attach ada_new_objfile_observer
6491 and ada_free_objfile_observer.
6492
6493 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6494
6495 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
6496 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
6497 struct block * parameter.
6498 (ada_lookup_symbol_list_worker): Constify local variable "block".
6499 Remove cast which is no longer necessary.
6500
6501 2014-02-10 Doug Evans <xdje42@gmail.com>
6502
6503 Add Guile as an extension language.
6504 * NEWS: Mention Guile scripting.
6505 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
6506 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
6507 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
6508 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
6509 (CLIBS): Add GUILE_LIBS.
6510 (install-guile): New rule.
6511 (guile.o): New rule.
6512 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
6513 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
6514 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
6515 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
6516 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
6517 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
6518 (scm-type.o, scm-utils.o, scm-value.o): New rules.
6519 * configure.ac: New option --with-guile.
6520 * configure: Regenerate.
6521 * config.in: Regenerate.
6522 * auto-load.c: Remove #include "python/python.h". Add #include
6523 "gdb/section-scripts.h".
6524 (source_section_scripts): Handle Guile scripts.
6525 (_initialize_auto_load): Add name of Guile objfile script to
6526 scripts-directory help text.
6527 * breakpoint.c (condition_command): Tweak comment to include Scheme.
6528 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
6529 (struct breakpoint): New member scm_bp_object.
6530 * defs.h (enum command_control_type): New value guile_control.
6531 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
6532 "extension.h".
6533 (show_user): Update comment.
6534 (_initialize_cli_cmds): Update help text for "show user". Update help
6535 text for max-user-call-depth.
6536 * cli/cli-script.c: Remove #include "python/python.h". Add #include
6537 "extension.h".
6538 (multi_line_command_p): Add guile_control.
6539 (print_command_lines): Handle guile_control.
6540 (execute_control_command, recurse_read_control_structure): Ditto.
6541 (process_next_line): Recognize "guile" commands.
6542 * disasm.c (gdb_disassemble_info): Make non-static.
6543 * disasm.h: #include "dis-asm.h".
6544 (struct gdbarch): Add forward decl.
6545 (gdb_disassemble_info): Declare.
6546 * extension.c: #include "guile/guile.h".
6547 (extension_languages): Add guile.
6548 (get_ext_lang_defn): Handle EXT_LANG_GDB.
6549 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
6550 * gdbtypes.c (get_unsigned_type_max): New function.
6551 (get_signed_type_minmax): New function.
6552 * gdbtypes.h (get_unsigned_type_max): Declare.
6553 (get_signed_type_minmax): Declare.
6554 * guile/README: New file.
6555 * guile/guile-internal.h: New file.
6556 * guile/guile.c: New file.
6557 * guile/guile.h: New file.
6558 * guile/scm-arch.c: New file.
6559 * guile/scm-auto-load.c: New file.
6560 * guile/scm-block.c: New file.
6561 * guile/scm-breakpoint.c: New file.
6562 * guile/scm-disasm.c: New file.
6563 * guile/scm-exception.c: New file.
6564 * guile/scm-frame.c: New file.
6565 * guile/scm-gsmob.c: New file.
6566 * guile/scm-iterator.c: New file.
6567 * guile/scm-lazy-string.c: New file.
6568 * guile/scm-math.c: New file.
6569 * guile/scm-objfile.c: New file.
6570 * guile/scm-ports.c: New file.
6571 * guile/scm-pretty-print.c: New file.
6572 * guile/scm-safe-call.c: New file.
6573 * guile/scm-string.c: New file.
6574 * guile/scm-symbol.c: New file.
6575 * guile/scm-symtab.c: New file.
6576 * guile/scm-type.c: New file.
6577 * guile/scm-utils.c: New file.
6578 * guile/scm-value.c: New file.
6579 * guile/lib/gdb.scm: New file.
6580 * guile/lib/gdb/boot.scm: New file.
6581 * guile/lib/gdb/experimental.scm: New file.
6582 * guile/lib/gdb/init.scm: New file.
6583 * guile/lib/gdb/iterator.scm: New file.
6584 * guile/lib/gdb/printing.scm: New file.
6585 * guile/lib/gdb/types.scm: New file.
6586 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
6587 (VPATH): Add $(GUILE_SRCDIR).
6588 (GUILE_DIR): New variable.
6589 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
6590 (all): Add stamp-guile dependency.
6591 (stamp-guile): New rule.
6592 (clean-guile, install-guile, uninstall-guile): New rules.
6593 (install-only): Add install-guile dependency.
6594 (uninstall): Add uninstall-guile dependency.
6595 (clean): Add clean-guile dependency.
6596
6597 2014-02-09 Doug Evans <xdje42@gmail.com>
6598
6599 Revert this patch (which I approved, mea culpa).
6600
6601 2014-02-08 Mark Kettenis <kettenis@gnu.org>
6602
6603 * Makefile.in (all-lib): Remove.
6604 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
6605
6606 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6607
6608 Fix Python stack corruption.
6609 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
6610 gdb_py_longest.
6611
6612 2014-02-08 Mark Kettenis <kettenis@gnu.org>
6613
6614 * Makefile.in (all-lib): Remove.
6615 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
6616
6617 2014-02-07 Doug Evans <dje@google.com>
6618
6619 * extension-priv.h (extension_language_script_ops): Add comment.
6620 (extension_language_ops): Add comment.
6621 (active_ext_lang_state): Fix typo in comment.
6622
6623 2014-02-07 Pedro Alves <palves@redhat.com>
6624
6625 PR breakpoints/16292
6626 * infrun.c (handle_signal_stop) <signal arrives while stepping
6627 over a breakpoint>: Switch back to the stepping thread.
6628
6629 2014-02-07 Yao Qi <yao@codesourcery.com>
6630
6631 * target.c (target_xfer_partial): Return zero if LEN is zero.
6632
6633 2014-02-07 Yao Qi <yao@codesourcery.com>
6634
6635 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
6636 (ld_so_xfer_auxv): Likewise.
6637 * bfd-target.c (target_bfd_xfer_partial): Likewise.
6638 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
6639 * corelow.c (core_xfer_partial): Likewise.
6640 * ctf.c (ctf_xfer_partial): Likewise.
6641 * darwin-nat.c (darwin_read_dyld_info): Likewise.
6642 (darwin_xfer_partial): Likewise.
6643 * exec.c (exec_xfer_partial): Likewise.
6644 * gnu-nat.c (gnu_xfer_partial): Likewise.
6645 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
6646 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
6647 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
6648 * linux-nat.c (linux_xfer_siginfo): Likewise.
6649 (linux_proc_xfer_spu): Likewise.
6650 * procfs.c (procfs_xfer_partial): Likewise.
6651 * record-full.c (record_full_xfer_partial): Likewise.
6652 (record_full_core_xfer_partial): Likewise.
6653 * remote-sim.c (gdbsim_xfer_partial): Likewise.
6654 * remote.c (remote_write_qxfer): Likewise.
6655 (remote_write_qxfer, remote_read_qxfer): Likewise.
6656 (remote_xfer_partial): Likewise.
6657 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6658 (rs6000_xfer_shared_libraries): Likewise.
6659 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6660 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
6661 (spu_xfer_partial): Likewise.
6662 * target.c (memory_xfer_partial_1): Likewise.
6663 * tracepoint.c (tfile_xfer_partial): Likewise.
6664 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
6665 (windows_xfer_partial): Likewise.
6666
6667 2014-02-07 Yao Qi <yao@codesourcery.com>
6668
6669 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
6670 comments.
6671 (core_xfer_shared_libraries_aix): Likewise.
6672 * gdbarch.c, gdbarch.h: Regenerated.
6673 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
6674 ULONGEST. Change 'len_avail' type to ULONGEST.
6675 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6676 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
6677 declaration.
6678 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
6679
6680 2014-02-07 Yao Qi <yao@codesourcery.com>
6681
6682 * corefile.c (memory_error): Get 'exception' from ERR and pass
6683 'exception' to throw_error.
6684
6685 2014-02-06 Doug Evans <xdje42@gmail.com>
6686
6687 * configure.ac (libpython checking): Remove all but python.o from
6688 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
6689 * configure: Regenerate.
6690
6691 * Makefile.in (SFILES): Add extension.c.
6692 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
6693 (COMMON_OBS): Add extension.o.
6694 * extension.h: New file.
6695 * extension-priv.h: New file.
6696 * extension.c: New file.
6697
6698 * python/python-internal.h: #include "extension.h".
6699 (gdbpy_auto_load_enabled): Declare.
6700 (gdbpy_apply_val_pretty_printer): Declare.
6701 (gdbpy_apply_frame_filter): Declare.
6702 (gdbpy_preserve_values): Declare.
6703 (gdbpy_breakpoint_cond_says_stop): Declare.
6704 (gdbpy_breakpoint_has_cond): Declare.
6705 (void source_python_script_for_objfile): Delete.
6706 * python/python.c: #include "extension-priv.h".
6707 Delete inclusion of "observer.h".
6708 (extension_language_python): Moved here and renamed from
6709 script_language_python in py-auto-load.c.
6710 Redefined to be of type extension_language_defn.
6711 (python_extension_script_ops): New global.
6712 (python_extension_ops): New global.
6713 (struct python_env): New member previous_active.
6714 (restore_python_env): Call restore_active_ext_lang.
6715 (ensure_python_env): Call set_active_ext_lang.
6716 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
6717 New arg extlang.
6718 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
6719 New arg extlang.
6720 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
6721 New arg extlang.
6722 (gdbpy_eval_from_control_command): Renamed from
6723 eval_python_from_control_command, made static. New arg extlang.
6724 (gdbpy_source_script) Renamed from source_python_script, made static.
6725 New arg extlang.
6726 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
6727 result to int. New arg extlang.
6728 (gdbpy_source_objfile_script): Renamed from
6729 source_python_script_for_objfile, made static. New arg extlang.
6730 (gdbpy_start_type_printers): Renamed from start_type_printers, made
6731 static. New args extlang, extlang_printers. Change result type to
6732 "void".
6733 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
6734 static. New arg extlang. Rename arg printers to extlang_printers
6735 and change type to ext_lang_type_printers *.
6736 (gdbpy_free_type_printers): Renamed from free_type_printers, made
6737 static. Replace argument arg with extlang, extlang_printers.
6738 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
6739 (!HAVE_PYTHON, source_python_script): Delete.
6740 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
6741 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
6742 (!HAVE_PYTHON, start_type_printers): Delete.
6743 (!HAVE_PYTHON, apply_type_printers): Delete.
6744 (!HAVE_PYTHON, free_type_printers): Delete.
6745 (_initialize_python): Delete call to observer_attach_before_prompt.
6746 (finalize_python): Set/restore active extension language.
6747 (gdbpy_finish_initialization) Renamed from
6748 finish_python_initialization, made static. New arg extlang.
6749 (gdbpy_initialized): New function.
6750 * python/python.h: #include "extension.h". Delete #include
6751 "value.h", "mi/mi-cmds.h".
6752 (extension_language_python): Declare.
6753 (GDBPY_AUTO_FILE_NAME): Delete.
6754 (enum py_bt_status): Moved to extension.h and renamed to
6755 ext_lang_bt_status.
6756 (enum frame_filter_flags): Moved to extension.h.
6757 (enum py_frame_args): Moved to extension.h and renamed to
6758 ext_lang_frame_args.
6759 (finish_python_initialization): Delete.
6760 (eval_python_from_control_command): Delete.
6761 (source_python_script): Delete.
6762 (apply_val_pretty_printer): Delete.
6763 (apply_frame_filter): Delete.
6764 (preserve_python_values): Delete.
6765 (gdbpy_script_language_defn): Delete.
6766 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
6767 (start_type_printers, apply_type_printers, free_type_printers): Delete.
6768
6769 * auto-load.c: #include "extension.h".
6770 (GDB_AUTO_FILE_NAME): Delete.
6771 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
6772 (script_language_gdb): Delete, moved to extension.c and renamed to
6773 extension_language_gdb.
6774 (source_gdb_script_for_objfile): Delete.
6775 (auto_load_pspace_info): New member unsupported_script_warning_printed.
6776 (loaded_script): Change type of language member to
6777 struct extension_language_defn *.
6778 (init_loaded_scripts_info): Initialize
6779 unsupported_script_warning_printed.
6780 (maybe_add_script): Make static. Change type of language arg to
6781 struct extension_language_defn *.
6782 (clear_section_scripts): Reset unsupported_script_warning_printed.
6783 (auto_load_objfile_script_1): Rewrite to use extension language API.
6784 (auto_load_objfile_script): Make public. Remove support-compiled-in
6785 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
6786 (source_section_scripts): Rewrite to use extension language API.
6787 (load_auto_scripts_for_objfile): Rewrite to use
6788 auto_load_scripts_for_objfile.
6789 (collect_matching_scripts_data): Change type of language member to
6790 struct extension_language_defn *.
6791 (auto_load_info_scripts): Change type of language arg to
6792 struct extension_language_defn *.
6793 (unsupported_script_warning_print): New function.
6794 (script_not_found_warning_print): Make static.
6795 (_initialize_auto_load): Rewrite construction of scripts-directory
6796 help.
6797 * auto-load.h (struct objfile): Add forward decl.
6798 (struct script_language): Delete.
6799 (struct auto_load_pspace_info): Add forward decl.
6800 (struct extension_language_defn): Add forward decl.
6801 (maybe_add_script): Delete.
6802 (auto_load_objfile_script): Declare.
6803 (script_not_found_warning_print): Delete.
6804 (auto_load_info_scripts): Update prototype.
6805 (auto_load_gdb_scripts_enabled): Declare.
6806 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
6807 auto_load_python_scripts_enabled and made public.
6808 (script_language_python): Delete, moved to python.c.
6809 (gdbpy_script_language_defn): Delete.
6810 (info_auto_load_python_scripts): Update to use
6811 extension_language_python.
6812
6813 * breakpoint.c (condition_command): Replace call to
6814 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
6815 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
6816 with call to breakpoint_ext_lang_cond_says_stop.
6817 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
6818 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
6819 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
6820 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
6821 New arg slang.
6822 (local_setattro): Print name of extension language with existing
6823 stop condition.
6824
6825 * valprint.c (val_print, value_print): Update to call
6826 apply_ext_lang_val_pretty_printer.
6827 * cp-valprint.c (cp_print_value): Update call to
6828 apply_ext_lang_val_pretty_printer.
6829 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
6830 (gdbpy_apply_val_pretty_printer): Renamed from
6831 apply_val_pretty_printer. New arg extlang.
6832 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
6833
6834 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
6835 extension language API.
6836 * cli/cli-script.c (execute_control_command): Update to call
6837 eval_ext_lang_from_control_command.
6838
6839 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
6840 enum ext_lang_bt_status values. Update call to
6841 apply_ext_lang_frame_filter.
6842 (mi_cmd_stack_list_locals): Ditto.
6843 (mi_cmd_stack_list_args): Ditto.
6844 (mi_cmd_stack_list_variables): Ditto.
6845 * mi/mi-main.c: Delete #include "python/python-internal.h".
6846 Add #include "extension.h".
6847 (mi_cmd_list_features): Replace reference to python internal variable
6848 gdb_python_initialized with call to ext_lang_initialized_p.
6849
6850 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
6851 Update to use enum ext_lang_frame_args. Update to call
6852 apply_ext_lang_frame_filter.
6853 * python/py-framefilter.c (extract_sym): Update to use enum
6854 ext_lang_bt_status.
6855 (extract_value, py_print_type, py_print_value): Ditto.
6856 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
6857 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
6858 (py_print_frame): Ditto.
6859 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
6860 New arg extlang. Update to use enum ext_lang_bt_status.
6861
6862 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
6863 finish_python_initialization. Replace with call to
6864 finish_ext_lang_initialization.
6865
6866 * typeprint.c (do_free_global_table): Update to call
6867 free_ext_lang_type_printers.
6868 (create_global_typedef_table): Update to call
6869 start_ext_lang_type_printers.
6870 (find_global_typedef): Update to call apply_ext_lang_type_printers.
6871 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
6872 (type_print_options): Change type of global_printers from "void *"
6873 to "struct ext_lang_type_printers *".
6874
6875 * value.c (preserve_values): Update to call preserve_ext_lang_values.
6876 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
6877 (gdbpy_preserve_values): Renamed from preserve_python_values.
6878 New arg extlang.
6879 (!HAVE_PYTHON, preserve_python_values): Delete.
6880
6881 * utils.c (quit_flag): Delete, moved to extension.c.
6882 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
6883 extension.c.
6884
6885 * eval.c: Delete #include "python/python.h".
6886 * main.c: Delete #include "python/python.h".
6887
6888 * defs.h: Update comment.
6889
6890 2014-02-06 Joel Brobecker <brobecker@adacore.com>
6891
6892 GDB 7.7 released.
6893
6894 2014-02-05 Mark Kettenis <kettenis@gnu.org>
6895
6896 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
6897 defined.
6898
6899 2014-02-05 Yao Qi <yao@codesourcery.com>
6900
6901 * remote.c (remote_pass_signals): Remove local 'buf' and use
6902 rs->buf.
6903 (remote_program_signals): Likewise.
6904
6905 2014-02-05 Yao Qi <yao@codesourcery.com>
6906
6907 * ctf.c: Include "inferior.h" and "gdbthread.h".
6908 (CTF_PID): A new macro.
6909 (ctf_open): Call inferior_appeared and add_thread_silent.
6910 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
6911 (ctf_thread_alive): New function.
6912 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
6913
6914 2014-02-05 Yao Qi <yao@codesourcery.com>
6915
6916 Revert this patch:
6917
6918 2013-05-24 Yao Qi <yao@codesourcery.com>
6919
6920 * tracepoint.c (TFILE_PID): Remove.
6921 (tfile_open): Don't add thread and inferior.
6922 (tfile_close): Don't set 'inferior_ptid'. Don't call
6923 exit_inferior_silent.
6924 (tfile_thread_alive): Remove.
6925 (init_tfile_ops): Don't set field 'to_thread_alive' of
6926 tfile_ops.
6927
6928 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
6929
6930 * remote.c (remote_start_remote): Call remote_check_symbols even
6931 if only symbol-file (not file) has been given.
6932
6933 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
6934
6935 * gdbarch.sh (skip_entrypoint): New callback.
6936 * gdbarch.c, gdbarch.h: Regenerate.
6937 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
6938 * infrun.c (fill_in_stop_func): Likewise.
6939 * ppc-linux-tdep.c: Include "elf/ppc64.h".
6940 (ppc_elfv2_elf_make_msymbol_special): New function.
6941 (ppc_elfv2_skip_entrypoint): Likewise.
6942 (ppc_linux_init_abi): Install them for ELFv2.
6943
6944 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
6945
6946 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
6947 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
6948 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
6949 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
6950 structures returned in GPRs.
6951
6952 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
6953
6954 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
6955 offset to the stack parameter list for the ELFv2 ABI.
6956
6957 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
6958
6959 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
6960 set_gdbarch_convert_from_func_ptr_addr and
6961 set_gdbarch_elf_make_msymbol_special for ELFv1.
6962 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
6963 function descriptors on ELFv1.
6964 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
6965 set up r12 at function entry.
6966
6967 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
6968
6969 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
6970 (struct gdbarch_tdep): New member elf_abi.
6971
6972 * rs6000-tdep.c: Include "elf/ppc64.h".
6973 (rs6000_gdbarch_init): Detect ELF ABI version.
6974
6975 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
6976
6977 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
6978 within a register pair holding a DFP 128-bit value on little-endian.
6979 (ppc64_sysv_abi_return_value_base): Likewise.
6980 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
6981 (dfp_pseudo_register_write): Likewise.
6982
6983 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
6984
6985 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
6986 offset on little-endian when passing _Decimal32.
6987 (ppc64_sysv_abi_return_value_base): Likewise for return values.
6988
6989 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
6990
6991 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
6992 of the overlapped FP register within the VSX register on little-
6993 endian platforms.
6994 (efpr_pseudo_register_write): Likewise.
6995
6996 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
6997
6998 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
6999 offset on little-endian when passing small structures.
7000
7001 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7002
7003 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
7004 (struct ppc64_sysv_argpos): New data structure.
7005 (ppc64_sysv_abi_push_float): Remove.
7006 (ppc64_sysv_abi_push_val): New function.
7007 (ppc64_sysv_abi_push_integer): Likewise.
7008 (ppc64_sysv_abi_push_freg): Likewise.
7009 (ppc64_sysv_abi_push_vreg): Likewise.
7010 (ppc64_sysv_abi_push_param): Likewise.
7011 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
7012 (ppc64_sysv_abi_return_value_base): New function.
7013 (ppc64_sysv_abi_return_value): Refactor to use it.
7014
7015 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7016
7017 * NEWS: Document new target powerpc64le-*-linux*.
7018
7019 2014-02-04 Mark Kettenis <kettenis@gnu.org>
7020
7021 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
7022 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
7023 core dumps.
7024 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
7025 register set used in ELF core dumps. Add floating-point register set.
7026
7027 2014-02-03 Kevin Buettner <kevinb@redhat.com>
7028
7029 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
7030 dwarf2_to_gdb[] table using symbolic constants. Adjust
7031 penultimate entry from number representing the PC register
7032 to symbolic constant representing the MDR register. Add
7033 constant for the PC register to the end of the table.
7034
7035 2014-02-03 Mark Kettenis <kettenis@gnu.org>
7036
7037 * bsd-kvm.c: Include <sys/param.h>
7038
7039 2014-02-03 Mark Kettenis <kettenis@gnu.org>
7040
7041 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
7042
7043 2014-01-31 Joel Brobecker <brobecker@adacore.com>
7044
7045 * ada-lang.h (clear_ada_sym_cache): Delete.
7046
7047 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
7048
7049 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
7050
7051 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7052
7053 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
7054 the sigreturn register save area only if the syscall is
7055 sigreturn.
7056
7057 2014-01-29 Joel Brobecker <brobecker@adacore.com>
7058
7059 * valops.c (value_slice): Minor reformatting.
7060
7061 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
7062
7063 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
7064
7065 2014-01-28 Joel Brobecker <brobecker@adacore.com>
7066
7067 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
7068 New static globals.
7069 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
7070 (ada_ignore_descriptive_types_p): New static global.
7071 (find_parallel_type_by_descriptive_type): Return immediately
7072 if ada_ignore_descriptive_types_p is set.
7073 (_initialize_ada_language): Register new commands "maintenance
7074 set ada", "maintenance show ada", "maintenance set ada
7075 ignore-descriptive-types" and "maintenance show ada
7076 ignore-descriptive-types".
7077 * NEWS: Add entry for new "maint ada set/show
7078 ignore-descriptive-types" commands.
7079
7080 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
7081
7082 * record-btrace.c (record_btrace_close): Call btrace_teardown
7083 for all threads.
7084
7085 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7086
7087 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
7088 "ui-out.h".
7089
7090 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7091
7092 * ada-typeprint (type_is_full_subrange_of_target_type):
7093 New function.
7094 (print_range): Add parameter bounds_prefered_p. If not set,
7095 try printing range types using the name of their base type.
7096 (print_range_type): Add parameter bounds_prefered_p.
7097 Use it in call to print_range.
7098 (print_array_type, ada_print_type): Update calls to print_range
7099 and print_range_type.
7100
7101 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7102
7103 * ada-typeprint.c (print_array_type, print_choices, print_range)
7104 (print_range_bound, print_dynamic_range_bound, print_range_type):
7105 Remove declaration.
7106
7107 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7108
7109 * ada-typeprint.c (print_range): Add missing empty line
7110 after local declaration.
7111
7112 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7113
7114 * ada-valprint.c (print_optional_low_bound): Get index_type's
7115 target type for as long as it is a TYPE_CODE_RANGE.
7116
7117 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7118
7119 * procfs.c (procfs_make_note_section): Remove assertion and
7120 associated comment.
7121
7122 2014-01-24 Yao Qi <yao@codesourcery.com>
7123
7124 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
7125 * corelow.c (get_core_siginfo): Likewise.
7126
7127 2014-01-24 Yao Qi <yao@codesourcery.com>
7128
7129 * remote.c (remote_write_bytes_aux): Change type of 'len' to
7130 ULONGEST. Don't check 'len' is negative.
7131 (remote_write_bytes): Change type of 'len' to ULONGEST.
7132
7133 2014-01-23 Tom Tromey <tromey@redhat.com>
7134
7135 PR python/16485:
7136 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
7137 Handle exception from frame.block.
7138 (FrameVars.fetch_frame_locals): Likewise.
7139
7140 2014-01-23 Tom Tromey <tromey@redhat.com>
7141
7142 PR python/16487:
7143 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
7144 on a NULL pointer. Move "goto error" to correct place.
7145
7146 2014-01-23 Tom Tromey <tromey@redhat.com>
7147
7148 PR python/16491:
7149 * python/py-framefilter.c (apply_frame_filter): Call
7150 ensure_python_env after computing gdbarch.
7151
7152 2014-01-23 Yao Qi <yao@codesourcery.com>
7153
7154 * target.c (raw_memory_xfer_partial): Change argument type
7155 from void * to gdb_byte *.
7156 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
7157
7158 2014-01-22 Doug Evans <dje@google.com>
7159
7160 New gdbserver option --debug-format=timestamp.
7161 * NEWS: Mention it.
7162
7163 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7164
7165 * syscalls/s390x-linux.xml: New file.
7166 * syscalls/s390-linux.xml: New file.
7167 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
7168 (XML_SYSCALL_FILENAME_S390X): Likewise.
7169 (op_svc): New enum value for SVC opcode.
7170 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
7171 (s390_linux_get_syscall_number): New function.
7172 (s390_gdbarch_init): Register '*get_syscall_number' and the
7173 syscall xml file name.
7174 * data-directory/Makefile.in (SYSCALLS_FILES): Add
7175 "s390-linux.xml" and "s390x-linux.xml".
7176 * NEWS: Announce new feature.
7177
7178 2014-01-22 Baruch Siach <baruch@tkos.co.il>
7179
7180 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
7181
7182 2014-01-22 Pedro Alves <palves@redhat.com>
7183
7184 * xtensa-config.c: Include defs.h.
7185
7186 2014-01-22 Joel Brobecker <brobecker@adacore.com>
7187
7188 * common/common-utils.h: Add "ARI:" comment beside __func__
7189 reference.
7190
7191 2014-01-22 Joel Brobecker <brobecker@adacore.com>
7192
7193 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
7194 documentation a bit.
7195
7196 2014-01-21 Roland McGrath <mcgrathr@google.com>
7197
7198 * configure.ac: Call AM_PROG_INSTALL_STRIP.
7199 * configure: Regenerate.
7200 * aclocal.m4: Regenerate.
7201 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
7202 New substituted variables.
7203 (install-strip): New target.
7204 (INSTALL_SCRIPT): New substituted variable.
7205 (FLAGS_TO_PASS): Add it.
7206 (install-only): Use $(INSTALL_SCRIPT) rather than
7207 $(INSTALL_PROGRAM) for gcore.
7208
7209 2014-01-20 Tom Tromey <tromey@redhat.com>
7210
7211 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
7212 together.
7213
7214 2014-01-20 Tom Tromey <tromey@redhat.com>
7215
7216 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
7217 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
7218 (deprecated_cmd_warning, complete_on_cmdlist): Update.
7219 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
7220 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
7221 (struct cmd_list_element) <flags>: Remove.
7222 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
7223 doc_allocated>: New fields.
7224 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
7225 bitfields.
7226 * maint.c (maintenance_do_deprecate): Update.
7227 * top.c (execute_command): Update.
7228
7229 2014-01-20 Baruch Siach <baruch@tkos.co.il>
7230
7231 * xtensa-linux-nat.c: Include asm/ptrace.h.
7232
7233 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7234
7235 * Makefile.in (SFILES): Add d-support.c.
7236 (COMMON_OBS): Add d-support.o.
7237 * d-lang.h (d_parse_symbol): Add comment, now defined in
7238 d-support.c.
7239 * d-lang.c (parse_call_convention)
7240 (parse_attributes, parse_function_types)
7241 (parse_function_args, parse_type, parse_identifier)
7242 (call_convention_p, d_parse_symbol): Move functions to ...
7243 * d-support.c: ... New file.
7244
7245 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7246
7247 * d-lang.h (d_parse_symbol): Add declaration.
7248 * d-lang.c (extract_identifiers)
7249 (extract_type_info): Remove functions.
7250 (parse_call_convention, parse_attributes)
7251 (parse_function_types, parse_function_args)
7252 (parse_type, parse_identifier, call_convention_p)
7253 (d_parse_symbol): New functions.
7254 (d_demangle): Use d_parse_symbol to demangle D symbols.
7255
7256 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7257
7258 * d-lang.h (struct builtin_d_type): New data type.
7259 (builtin_d_type): Add declaration.
7260 * d-lang.c (d_language_arch_info, build_d_types)
7261 (builtin_d_type): New functions.
7262 (enum d_primitive_types): New data type.
7263 (d_language_defn): Change c_language_arch_info to
7264 d_language_arch_info.
7265 (d_type_data): New static variable.
7266 (_initialize_d_language): Initialize d_type_data.
7267
7268 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7269
7270 * d-lang.h (d_main_name): Add declaration.
7271 * d-lang.c (d_main_name): New function.
7272 * symtab.c (find_main_name): Add call to d_main_name.
7273
7274 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7275
7276 * d-lang.c (d_language_defn): Change macro_expansion_c to
7277 macro_expansion_no.
7278
7279 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7280
7281 * MAINTAINERS: Add myself as a write-after-approval maintainer.
7282
7283 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
7284
7285 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
7286 gdb_exception" declaration.
7287 * remote.c (getpkt_or_notif_sane): Likewise.
7288
7289 2014-01-17 Doug Evans <dje@google.com>
7290
7291 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
7292 function, contents of dirnames_to_char_ptr_vec_append moved here.
7293 (delim_string_to_char_ptr_vec): New function.
7294 (dirnames_to_char_ptr_vec_append): Rewrite.
7295 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
7296
7297 2014-01-17 Doug Evans <dje@google.com>
7298
7299 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
7300 and moved here ...
7301 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
7302 #include "common-utils.h".
7303 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
7304 * common/vec.h (VEC_ASSERT_PASS): Update.
7305 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
7306 (MACH_CHECK_ERROR): Update.
7307
7308 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
7309
7310 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
7311 comments.
7312 * gdbarch.h: Regenerate.
7313
7314 2014-01-16 Tom Tromey <tromey@redhat.com>
7315
7316 * value.c (struct value) <regnum>: Move earlier.
7317
7318 2014-01-16 Tom Tromey <tromey@redhat.com>
7319
7320 * remote.c (extended_remote_create_inferior): Rename from
7321 extended_remote_create_inferior_1. Add "ops" argument. Remove
7322 old implementation.
7323
7324 2014-01-16 Pedro Alves <palves@redhat.com>
7325
7326 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
7327 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
7328 the backchain.
7329
7330 2014-01-16 Doug Evans <dje@google.com>
7331
7332 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
7333
7334 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7335
7336 * btrace.h (btrace_thread_flag): New.
7337 (struct btrace_thread_info) <flags>: New.
7338 * record-btrace.c (record_btrace_resume_thread)
7339 (record_btrace_find_thread_to_move, btrace_step_no_history)
7340 (btrace_step_stopped, record_btrace_start_replaying)
7341 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
7342 (record_btrace_find_resume_thread): New.
7343 (record_btrace_resume, record_btrace_wait): Extend.
7344 (record_btrace_can_execute_reverse): New.
7345 (record_btrace_open): Fail in non-stop mode.
7346 (record_btrace_set_replay): Split into this, ...
7347 (record_btrace_stop_replaying): ... this, ...
7348 (record_btrace_clear_histories): ... and this.
7349 (init_record_btrace_ops): Init to_can_execute_reverse.
7350 * NEWS: Announce it.
7351
7352 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7353
7354 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
7355 (forward_target_decr_pc_after_break)
7356 (target_decr_pc_after_break): New.
7357 * target.c (forward_target_decr_pc_after_break)
7358 (target_decr_pc_after_break): New.
7359 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
7360 instead of gdbarch_decr_pc_after_break.
7361 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
7362 instead of gdbarch_decr_pc_after_break.
7363 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
7364 instead of gdbarch_decr_pc_after_break.
7365 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
7366 instead of gdbarch_decr_pc_after_break.
7367 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
7368 instead of gdbarch_decr_pc_after_break.
7369 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
7370 instead of gdbarch_decr_pc_after_break.
7371
7372 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7373
7374 * btrace.c: Include regcache.h.
7375 (btrace_add_pc): New.
7376 (btrace_enable): Call btrace_add_pc.
7377 (btrace_is_empty): New.
7378 * btrace.h (btrace_is_empty): New.
7379 * record-btrace.c (require_btrace, record_btrace_info): Call
7380 btrace_is_empty.
7381
7382 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7383
7384 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
7385 Support delta reads.
7386 (linux_disable_btrace): Change return type.
7387 * common/linux-btrace.h (linux_read_btrace): Change parameters
7388 and return type to allow error reporting. Update users.
7389 (linux_disable_btrace): Change return type. Update users.
7390 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
7391 New.
7392 (btrace_error): New.
7393 (btrace_block) <begin>: Comment on BEGIN == 0.
7394 * btrace.c (btrace_compute_ftrace): Start from the end of
7395 the current trace.
7396 (btrace_stitch_trace, btrace_clear_history): New.
7397 (btrace_fetch): Read delta trace, return if replaying.
7398 (btrace_clear): Move clear history code to btrace_clear_history.
7399 (parse_xml_btrace): Throw an error if parsing failed.
7400 * target.h (struct target_ops) <to_read_btrace>: Change parameters
7401 and return type to allow error reporting.
7402 (target_read_btrace): Change parameters and return type to allow
7403 error reporting.
7404 * target.c (target_read_btrace): Update.
7405 * remote.c (remote_read_btrace): Support delta reads. Pass
7406 errors on.
7407 * NEWS: Announce it.
7408
7409 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7410
7411 * record.h (record_btrace_frame_unwind)
7412 (record_btrace_tailcall_frame_unwind): New declarations.
7413 * dwarf2-frame: Include record.h
7414 (dwarf2_frame_cfa): Throw an error for btrace frames.
7415 * record-btrace.c: Include hashtab.h.
7416 (btrace_get_bfun_name): New.
7417 (btrace_call_history): Call btrace_get_bfun_name.
7418 (struct btrace_frame_cache): New.
7419 (bfcache): New.
7420 (bfcache_hash, bfcache_eq, bfcache_new): New.
7421 (btrace_get_frame_function): New.
7422 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
7423 (record_btrace_frame_this_id): Compute own id.
7424 (record_btrace_frame_prev_register): Provide PC, throw_error
7425 for all other registers.
7426 (record_btrace_frame_sniffer): Detect btrace frames.
7427 (record_btrace_tailcall_frame_sniffer): New.
7428 (record_btrace_frame_dealloc_cache): New.
7429 (record_btrace_frame_unwind): Add new functions.
7430 (record_btrace_tailcall_frame_unwind): New.
7431 (_initialize_record_btrace): Allocate cache.
7432 * btrace.c (btrace_clear): Call reinit_frame_cache.
7433 * NEWS: Announce it.
7434
7435 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7436
7437 * record-btrace.c (record_btrace_set_replay)
7438 (record_btrace_goto_begin, record_btrace_goto_end)
7439 (record_btrace_goto): New.
7440 (init_record_btrace_ops): Initialize them.
7441 * NEWS: Announce it.
7442
7443 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7444
7445 * record-btrace.c (record_btrace_find_new_threads)
7446 (record_btrace_thread_alive): New.
7447 (init_record_btrace_ops): Initialize to_find_new_threads and
7448 to_thread_alive.
7449
7450 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7451
7452 * record-btrace.c (record_btrace_resume): New.
7453 (record_btrace_wait): New.
7454 (init_record_btrace_ops): Initialize to_wait and to_resume.
7455
7456 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7457
7458 * record-btrace.c (record_btrace_xfer_partial)
7459 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
7460 (record_btrace_allow_memory_access): New.
7461 (init_record_btrace_ops): Initialize new methods.
7462 * target.c (raw_memory_xfer_partial): Bail out if target reports
7463 that this memory is not available.
7464
7465 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7466
7467 * target.h (target_ops) <to_insert_breakpoint>
7468 <to_remove_breakpoint>: Add target_ops parameter.
7469 (forward_target_insert_breakpoint): New.
7470 (forward_target_remove_breakpoint): New.
7471 (memory_remove_breakpoint, memory_insert_breakpoint):
7472 Add target_ops parameter.
7473 * target.c (target_insert_breakpoint): Split into this and ...
7474 (forward_target_insert_breakpoint): ... this.
7475 (target_remove_breakpoint): Split into this and ...
7476 (forward_target_remove_breakpoint): ... this.
7477 (debug_to_insert_breakpoint): Add target_ops parameter.
7478 Call forward_target_insert_breakpoint.
7479 (debug_to_remove_breakpoint): Add target_ops parameter.
7480 Call forward_target_remove_breakpoint.
7481 (update_current_target): Do not inherit or default to_insert_breakpoint
7482 and to_remove_breakpoint.
7483 * corelow.c (ignore): Add target_ops parameter.
7484 * exec.c (ignore): Add target_ops parameter.
7485 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
7486 Add target_ops parameter.
7487 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
7488 Add target_ops parameter.
7489 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
7490 Add target_ops parameter.
7491 * record-full.c (record_full_beneath_to_insert_breakpoint)
7492 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
7493 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
7494 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
7495 (record_full_core_remove_breakpoint): Add target_ops parameter.
7496 Update users.
7497 (record_full_beneath_to_insert_breakpoint_ops)
7498 (record_full_beneath_to_remove_breakpoint_ops)
7499 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
7500 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
7501 tmp_to_remove_breakpoint_ops,
7502 record_full_beneath_to_insert_breakpoint_ops, and
7503 record_full_beneath_to_remove_breakpoint_ops.
7504 * remote-m32r-sdi.c (m32r_insert_breakpoint)
7505 (m32r_remove_breakpoint): Add target_ops parameter.
7506 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
7507 Add target_ops parameter.
7508 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
7509 Add target_ops parameter.
7510
7511 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7512 Markus Metzger <markus.t.metzger@intel.com>
7513
7514 * record-btrace.c: Include frame-unwind.h.
7515 (record_btrace_frame_unwind_stop_reason)
7516 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
7517 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
7518 New.
7519 (init_record_btrace_ops): Install it.
7520
7521 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7522
7523 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
7524 get_prev_frame_1.
7525
7526 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7527
7528 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
7529 earlier.
7530
7531 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7532
7533 * frame-unwind.c: Include target.h.
7534 (frame_unwind_try_unwinder): New function with code from ...
7535 (frame_unwind_find_by_frame): ... here. New variable
7536 unwinder_from_target, call also target_get_unwinder)
7537 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
7538 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
7539 * target.h (struct target_ops): New fields to_get_unwinder and
7540 to_get_tailcall_unwinder.
7541 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
7542
7543 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7544
7545 * record-btrace.c (record_btrace_fetch_registers)
7546 (record_btrace_store_registers)
7547 (record_btrace_to_prepare_to_store): New.
7548 (init_record_btrace_ops): Add the above.
7549
7550 2014-01-16 Tom Tromey <tromey@redhat.com>
7551
7552 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
7553 * target.h (struct target_ops) <to_prepare_to_store>: Add
7554 argument.
7555 (target_prepare_to_store): Add argument.
7556 * target.c (debug_to_prepare_to_store): Add argument.
7557 (update_current_target): Update.
7558 * remote.c (remote_prepare_to_store): Add 'self' argument.
7559 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
7560 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
7561 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
7562 * record-full.c (record_full_core_prepare_to_store): Add 'self'
7563 argument.
7564 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
7565 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
7566 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
7567 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
7568 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
7569
7570 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7571
7572 * btrace.h (replay) <replay>: New.
7573 (btrace_is_replaying): New.
7574 * btrace.c (btrace_clear): Free replay iterator.
7575 (btrace_is_replaying): New.
7576 * record-btrace.c (record_btrace_is_replaying): New.
7577 (record_btrace_info): Print insn number if replaying.
7578 (record_btrace_insn_history): Start at replay position.
7579 (record_btrace_call_history): Start at replay position.
7580 (init_record_btrace_ops): Init to_record_is_replaying.
7581
7582 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7583
7584 * record-btrace.c (record_btrace_insn_history_range): Include
7585 end.
7586 (record_btrace_insn_history_from): Adjust range.
7587 (record_btrace_call_history_range): Include
7588 end.
7589 (record_btrace_call_history_from): Adjust range.
7590 * NEWS: Announce changes.
7591
7592 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7593
7594 * record.h (enum record_print_flag)
7595 <record_print_indent_calls>: New.
7596 * record.c (get_call_history_modifiers): Recognize /c modifier.
7597 (_initialize_record): Document /c modifier.
7598 * record-btrace.c (btrace_call_history): Add btinfo parameter.
7599 Reorder fields. Optionally indent the function name. Update
7600 all users.
7601 * NEWS: Announce changes.
7602
7603 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7604
7605 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
7606
7607 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7608
7609 * btrace.c (ftrace_new_function): Start counting at one.
7610 * record-btrace.c (record_btrace_info): Adjust number of calls
7611 and insns.
7612 * NEWS: Announce it.
7613
7614 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7615
7616 * record-btrace.c (btrace_call_history_insn_range): Print
7617 insn range as [begin, end].
7618
7619 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7620
7621 * btrace.h (struct btrace_func_link): New.
7622 (enum btrace_function_flag): New.
7623 (struct btrace_inst): Rename to ...
7624 (struct btrace_insn): ...this. Update all users.
7625 (struct btrace_func) <ibegin, iend>: Remove.
7626 (struct btrace_func_link): New.
7627 (struct btrace_func): Rename to ...
7628 (struct btrace_function): ...this. Update all users.
7629 (struct btrace_function) <segment, flow, up, insn, insn_offset)
7630 (number, level, flags>: New.
7631 (struct btrace_insn_iterator): Rename to ...
7632 (struct btrace_insn_history): ...this.
7633 Update all users.
7634 (struct btrace_insn_iterator, btrace_call_iterator): New.
7635 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
7636 (struct btrace_target_info) <begin, end, level>
7637 <insn_history, call_history>: New.
7638 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
7639 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
7640 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
7641 (btrace_call_number, btrace_call_begin, btrace_call_end)
7642 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
7643 (btrace_find_function_by_number, btrace_set_insn_history)
7644 (btrace_set_call_history): New.
7645 * btrace.c (btrace_init_insn_iterator)
7646 (btrace_init_func_iterator, compute_itrace): Remove.
7647 (ftrace_print_function_name, ftrace_print_filename)
7648 (ftrace_skip_file): Change
7649 parameter to const.
7650 (ftrace_init_func): Remove.
7651 (ftrace_debug): Use new btrace_function fields.
7652 (ftrace_function_switched): Also consider gaining and
7653 losing symbol information).
7654 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
7655 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
7656 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
7657 New.
7658 (ftrace_new_function): Move. Remove debug print.
7659 (ftrace_update_lines, ftrace_update_insns): New.
7660 (ftrace_update_function): Check for call, ret, and jump.
7661 (compute_ftrace): Renamed to ...
7662 (btrace_compute_ftrace): ...this. Rewritten to compute call
7663 stack.
7664 (btrace_fetch, btrace_clear): Updated.
7665 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
7666 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
7667 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
7668 (btrace_call_number, btrace_call_begin, btrace_call_end)
7669 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
7670 (btrace_find_function_by_number, btrace_set_insn_history)
7671 (btrace_set_call_history): New.
7672 * record-btrace.c (require_btrace): Use new btrace thread
7673 info fields.
7674 (record_btrace_info, btrace_insn_history)
7675 (record_btrace_insn_history, record_btrace_insn_history_range):
7676 Use new btrace thread info fields and new iterator.
7677 (btrace_func_history_src_line): Rename to ...
7678 (btrace_call_history_src_line): ...this. Use new btrace
7679 thread info fields.
7680 (btrace_func_history): Rename to ...
7681 (btrace_call_history): ...this. Use new btrace thread info
7682 fields and new iterator.
7683 (record_btrace_call_history, record_btrace_call_history_range):
7684 Use new btrace thread info fields and new iterator.
7685
7686 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7687
7688 * frame.h (frame_id_build_unavailable_stack_special): New.
7689 * frame.c (frame_id_build_unavailable_stack_special): New.
7690
7691 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7692
7693 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
7694 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
7695 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
7696 to gdbarch.
7697 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
7698 (i386_insn_is_jump, i386_jmp_p): New.
7699 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
7700 insn_is_jump to gdbarch.
7701 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
7702 * gdbarch.h: Regenerated.
7703 * gdbarch.c: Regenerated.
7704 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
7705 (default_insn_is_jump): New.
7706 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
7707 (default_insn_is_jump): New.
7708
7709 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7710
7711 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
7712 Change to ...
7713 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
7714 (btrace_read_type) <btrace_read_new>: Change to ...
7715 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
7716
7717 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7718
7719 * common/linux-btrace.c (linux_read_btrace): Free trace from
7720 previous iteration.
7721
7722 2014-01-15 Doug Evans <dje@google.com>
7723
7724 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
7725 uint32_t.
7726
7727 2014-01-15 Tom Tromey <tromey@redhat.com>
7728
7729 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
7730 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
7731 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
7732 (set_objfile_main_name): New function.
7733 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
7734 language_of_main>: New fields.
7735 (set_objfile_main_name): Declare.
7736 * symtab.c (find_main_name): Loop over objfiles to find the main
7737 name and language.
7738 (set_main_name): Now static.
7739 (get_main_info): Add comment.
7740 * symtab.h (set_main_name): Don't declare.
7741
7742 2014-01-15 Tom Tromey <tromey@redhat.com>
7743
7744 * symtab.c (main_progspace_key): New global.
7745 (struct main_info): New.
7746 (name_of_main, language_of_main): Remove.
7747 (get_main_info, main_info_cleanup): New function.
7748 (set_main_name, main_name, main_language): Use get_main_info.
7749 (_initialize_symtab): Initialize main_progspace_key.
7750
7751 2014-01-15 Tom Tromey <tromey@redhat.com>
7752
7753 * dbxread.c (process_one_symbol): Update.
7754 * dwarf2read.c (read_partial_die): Update.
7755 * symfile.c (set_initial_language): Call main_language.
7756 * symtab.c (language_of_main): Now static.
7757 (set_main_name): Add 'lang' parameter.
7758 (find_main_name): Update.
7759 (main_language): New function.
7760 (symtab_observer_executable_changed): Update.
7761 * symtab.h (set_main_name): Update.
7762 (language_of_main): Remove.
7763 (main_language): Declare.
7764
7765 2014-01-15 Tom Tromey <tromey@redhat.com>
7766
7767 * symfile.c (init_entry_point_info): Use new "initialized" field.
7768 Update.
7769 * objfiles.h (struct entry_point) <initialized>: New field.
7770 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
7771 (struct objfile) <ei>: ...here. Remove.
7772 * objfiles.c (entry_point_address_query): Update.
7773
7774 2014-01-15 Tom Tromey <tromey@redhat.com>
7775
7776 * objfiles.c (entry_point_address_query): Relocate entry point
7777 address.
7778 (objfile_relocate1): Do not relocate entry point address.
7779 * objfiles.h (struct entry_info) <entry_point>: Update comment.
7780 <the_bfd_section_index>: New field.
7781 * symfile.c (init_entry_point_info): Find the entry point's
7782 section.
7783
7784 2014-01-15 Tom Tromey <tromey@redhat.com>
7785
7786 * solib-frv.c (enable_break): Use entry_point_address_query.
7787
7788 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7789
7790 * NEWS: Add note on improved process record-replay on
7791 arm*-linux* targets.
7792
7793 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7794
7795 * arm-tdep.c (enum arm_record_result): New enum.
7796 (arm_record_unsupported_insn): New function.
7797 (arm_record_coproc_data_proc): Removed.
7798 (thumb2_record_ld_st_multiple): New function.
7799 (thumb2_record_ld_st_dual_ex_tbb): New function.
7800 (thumb2_record_data_proc_sreg_mimm): New function.
7801 (thumb2_record_ps_dest_generic): New function.
7802 (thumb2_record_branch_misc_cntrl): New function.
7803 (thumb2_record_str_single_data): New function.
7804 (thumb2_record_ld_mem_hints): New function.
7805 (thumb2_record_ld_word): New function.
7806 (thumb2_record_lmul_lmla_div): New function.
7807 (thumb2_record_decode_insn_handler): New function.
7808 (decode_insn): Add thumb32 instruction handlers.
7809
7810 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7811
7812 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
7813 (struct arm_linux_record_tdep): Declare.
7814 (arm_canonicalize_syscall): New function.
7815 (arm_all_but_pc_registers_record): New function.
7816 (arm_linux_syscall_record): New function.
7817 (arm_linux_init_abi): Add syscall recording constructs.
7818 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
7819 decoding. (arm_record_coproc_data_proc): Update arm syscall
7820 decoding.
7821 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
7822 <arm_syscall_record>: New field.
7823 * configure.tgt (arm*-*-linux*): Add linux-record.o to
7824 gdb_target_obs.
7825
7826 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7827
7828 * arm-tdep.c (thumb_record_misc): Update to use sp as base
7829 register for push instruction recording.
7830
7831 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7832
7833 * arm-tdep.c (thumb_record_misc): Update to correct logical
7834 error while recording ldm, ldmia and pop instructions.
7835
7836 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7837
7838 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
7839
7840 2014-01-15 Pedro Alves <palves@redhat.com>
7841
7842 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
7843 (go32_resume, go32_fetch_registers, store_register)
7844 (go32_store_registers, go32_prepare_to_store)
7845 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
7846 (go32_create_inferior, go32_can_run, go32_terminal_init)
7847 (go32_terminal_inferior, go32_terminal_ours): Delete forward
7848 declarations.
7849
7850 2014-01-15 Tom Tromey <tromey@redhat.com>
7851
7852 * target.h (async_callback_ftype): New typedef.
7853 (struct target_ops) <to_async>: Use it.
7854
7855 2014-01-15 Joel Brobecker <brobecker@adacore.com>
7856
7857 * python/py-value.c (get_field_type): Remove unnecessary curly
7858 braces for single-statement if block.
7859
7860 2014-01-15 Joel Brobecker <brobecker@adacore.com>
7861
7862 * python/py-type.c (convert_field): Add missing empty line
7863 after declarations.
7864
7865 2014-01-14 Doug Evans <dje@google.com>
7866
7867 * symfile.h (expand_symtabs_matching): Renamed from
7868 expand_partial_symbol_names. Update prototype.
7869 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
7870 * symfile.c (expand_symtabs_matching): Renamed from
7871 expand_partial_symbol_names. New args file_matcher, kind.
7872 Rename arg fun to symbol_matcher.
7873 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
7874 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
7875 ada_expand_partial_symbol_name.
7876 (ada_make_symbol_completion_list): Update to call
7877 expand_symtabs_matching.
7878 (ada_add_global_exceptions): Call expand_symtabs_matching.
7879 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
7880 call map_symbol_filenames.
7881 * symtab.c (sources_info): Update to call map_symbol_filenames.
7882 (search_symbols): Call expand_symtabs_matching.
7883 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
7884 (default_make_symbol_completion_list_break_on): Update to call
7885 expand_symtabs_matching.
7886 (make_source_files_completion_list): Update to call
7887 map_symbol_filenames.
7888
7889 2014-01-14 Doug Evans <dje@google.com>
7890
7891 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
7892 (expand_symtabs_symbol_matcher_ftype): New typedef.
7893 (quick_symbol_functions.expand_symtabs_matching): Update to use.
7894 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7895 * symfile.c (expand_partial_symbol_names): Update to use
7896 expand_symtabs_symbol_matcher_ftype.
7897 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
7898 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7899 Arg name_matcher renamed to symbol_matcher.
7900 * psymtab.c (recursively_search_psymtabs): Update to use
7901 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
7902 sym_matcher.
7903 (expand_symtabs_matching_via_partial): Update to use
7904 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7905 Arg name_matcher renamed to symbol_matcher.
7906
7907 2014-01-14 Doug Evans <dje@google.com>
7908
7909 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
7910 (map_partial_symbol_filenames): Ditto.
7911 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
7912 (map_partial_symbol_filenames): Ditto.
7913 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
7914 (map_partial_symbol_filenames): Ditto.
7915 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
7916 (map_partial_symbol_filenames): Ditto.
7917 * symtab.c: Delete #include "psymtab.h".
7918
7919 2014-01-14 Pedro Alves <palves@redhat.com>
7920 Tom Tromey <tromey@redhat.com>
7921
7922 * infrun.c (use_displaced_stepping): Use find_record_target
7923 instead of RECORD_IS_USED.
7924 (adjust_pc_after_break): Use record_full_is_used instead of
7925 RECORD_IS_USED.
7926 * record-btrace.c (record_btrace_open): Call record_preopen
7927 instead of checking RECORD_IS_USED.
7928 * record-full.c (record_full_shortname)
7929 (record_full_core_shortname): New globals.
7930 (record_full_is_used): New function.
7931 (find_full_open): Call record_preopen instead of checking
7932 RECORD_IS_USED.
7933 (init_record_full_ops): Set the target's shortname to
7934 record_full_shortname.
7935 (init_record_full_core_ops): Set the target's shortname to
7936 record_full_core_shortname.
7937 * record-full.h (record_full_is_used): Declare.
7938 * record.c (find_record_target): Make extern.
7939 (record_preopen): New function.
7940 * record.h (RECORD_IS_USED): Delete macro.
7941 (find_record_target, record_preopen): Declare functions.
7942
7943 2014-01-14 Yao Qi <yao@codesourcery.com>
7944
7945 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
7946 'len''s type to ULONGEST.
7947 (core_xfer_shared_libraries_aix): Likewise.
7948 * gdbarch.c, gdbarch.h: Regenerated.
7949 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
7950 Change type of 'len' to ULONGEST.
7951 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7952 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
7953
7954 2014-01-14 Yao Qi <yao@codesourcery.com>
7955
7956 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
7957 type of 'len' to ULONGEST.
7958 (linux_xfer_osdata_processgroups): Likewise.
7959 (linux_xfer_osdata_threads): Likewise.
7960 (linux_xfer_osdata_fds): Likewise.
7961 (linux_xfer_osdata_isockets): Likewise.
7962 (linux_xfer_osdata_shm): Likewise.
7963 (linux_xfer_osdata_sem): Likewise.
7964 (linux_xfer_osdata_msg): Likewise.
7965 (linux_common_xfer_osdata): Likewise.
7966 (struct osdata_type) <getter>: Likewise.
7967 * common/linux-osdata.h (linux_common_xfer_osdata): Update
7968 the declaration.
7969
7970 2014-01-14 Yao Qi <yao@codesourcery.com>
7971
7972 * target.h (target_xfer_partial_ftype): Update.
7973 (struct target_ops) <to_xfer_partial>: Change 'len' type to
7974 ULONGEST.
7975 * aix-thread.c (aix_thread_xfer_partial): Change type of
7976 argument 'len' to ULONGEST.
7977 * auxv.c (procfs_xfer_auxv): Likewise.
7978 (ld_so_xfer_auxv): Likewise.
7979 (memory_xfer_auxv): Likewise.
7980 * bfd-target.c (target_bfd_xfer_partial): Likewise.
7981 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
7982 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
7983 * corelow.c (core_xfer_partial): Likewise.
7984 * ctf.c (ctf_xfer_partial): Likewise.
7985 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
7986 '%u'.
7987 (darwin_read_dyld_info): Likewise.
7988 (darwin_xfer_partial): Likewise.
7989 * exec.c (section_table_xfer_memory_partial): Likewise.
7990 (exec_xfer_partial): Likewise.
7991 * exec.h (section_table_xfer_memory_partial): Update
7992 declaration.
7993 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
7994 instead of plongest.
7995 (gnu_xfer_partial): Likewise.
7996 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
7997 (ia64_hpux_xfer_solib_got): Likewise.
7998 (ia64_hpux_xfer_partial): Likewise.
7999 * ia64-linux-nat.c (ia64_linux_xfer_partial):
8000 * inf-ptrace.c (inf_ptrace_xfer_partial):
8001 * inf-ttrace.c (inf_ttrace_xfer_partial):
8002 * linux-nat.c (linux_xfer_siginfo): Likewise.
8003 (linux_nat_xfer_partial): Likewise.
8004 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
8005 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
8006 * monitor.c (monitor_xfer_memory): Likewise.
8007 (monitor_xfer_partial): Likewise.
8008 * procfs.c (procfs_xfer_partial): Likewise.
8009 * record-full.c (record_full_xfer_partial): Likewise.
8010 (record_full_core_xfer_partial): Likewise.
8011 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
8012 instead of plongest.
8013 (gdbsim_xfer_partial): Likewise.
8014 * remote.c (remote_xfer_partial): Likewise.
8015 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
8016 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
8017 declaration.
8018 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
8019 (rs6000_xfer_shared_libraries): Likewise.
8020 * sol-thread.c (sol_thread_xfer_partial): Likewise.
8021 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
8022 (sparc_xfer_partial): Likewise.
8023 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
8024 (spu_xfer_partial): Likewise.
8025 * spu-multiarch.c (spu_xfer_partial): Likewise.
8026 * target.c (target_read_live_memory): Likewise.
8027 (memory_xfer_live_readonly_partial): Likewise.
8028 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
8029 (target_xfer_partial, default_xfer_partial): Likewise.
8030 (current_xfer_partial): Likewise.
8031 * tracepoint.c (tfile_xfer_partial): Likewise.
8032 * windows-nat.c (windows_xfer_memory): Likewise. Call
8033 pulongest instead of plongest.
8034 (windows_xfer_partial): Likewise.
8035 (windows_xfer_shared_libraries): Likewise.
8036
8037 2014-01-14 Yao Qi <yao@codesourcery.com>
8038
8039 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
8040 target_xfer_partial_ftype.
8041
8042 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8043
8044 PR python/15464
8045 PR python/16113
8046 * valops.c (value_struct_elt_bitpos): New function
8047 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
8048 object to 'None' if the field name is an empty string ("").
8049 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
8050 attribute to look for a field when 'name' is 'None'.
8051 (get_field_type): New function
8052
8053 2014-01-13 Doug Evans <dje@google.com>
8054
8055 PR symtab/16426
8056 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
8057 (try_open_dwop_file): Ditto.
8058 * gdb_bfd.c: #include "vec.h".
8059 (bfdp): New typedef.
8060 (struct gdb_bfd_data): New member included_bfds.
8061 (gdb_bfd_unref): Unref all included bfds.
8062 (gdb_bfd_record_inclusion): New function.
8063 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
8064
8065 2014-01-13 Tom Tromey <tromey@redhat.com>
8066
8067 * gdbcore.h (deprecated_core_resize_section_table): Remove.
8068
8069 2014-01-13 Tom Tromey <tromey@redhat.com>
8070
8071 * defs.h (use_windows): Remove.
8072 * gdb.c (main): Update.
8073 * main.c (captured_main, gdb_main): Update.
8074 * main.h (struct captured_main_args) <use_windows>: Remove.
8075 * top.c (use_windows): Remove.
8076
8077 2014-01-13 Tom Tromey <tromey@redhat.com>
8078
8079 * defs.h (deprecated_flush_hook): Remove.
8080
8081 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8082
8083 PR threads/16216
8084 * linux-thread-db.c (try_thread_db_load): Add parameter
8085 check_auto_load_safe. Move here the file_is_auto_load_safe call.
8086 (try_thread_db_load_from_pdir_1): Move it there from here.
8087 (try_thread_db_load_from_sdir): Update caller.
8088 (try_thread_db_load_from_dir): Move it there from here.
8089
8090 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
8091
8092 * regformats/regdat.sh: Always rewrite the register file.
8093
8094 2014-01-13 Pedro Alves <palves@redhat.com>
8095
8096 * Makefile.in (CHECK_HEADERS): New variable.
8097 (check-headers:): New rule.
8098
8099 2014-01-13 Tom Tromey <tromey@redhat.com>
8100
8101 * cli/cli-setshow.c (do_set_command): Update.
8102 * defs.h (deprecated_set_hook): Remove.
8103 * top.c (deprecated_set_hook): Remove.
8104
8105 2014-01-13 Pedro Alves <palves@redhat.com>
8106
8107 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
8108 the tracepoint if the PC is a pseudo-register.
8109
8110 2014-01-13 Tom Tromey <tromey@redhat.com>
8111
8112 * defs.h (XCALLOC): Remove.
8113 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
8114 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
8115 * dwarf2loc.c (allocate_piece_closure): Likewise.
8116 * elfread.c (elf_symfile_segments): Likewise.
8117 (elf_symfile_segments): Likewise.
8118 * gdbtypes.c (copy_type_recursive): Likewise.
8119 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
8120 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
8121 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
8122 XCALLOC.
8123 * mt-tdep.c (mt_gdbarch_init): Likewise.
8124 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
8125 XCALLOC.
8126 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
8127 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
8128 * registry.c (registry_alloc_data): Likewise.
8129 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
8130 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
8131 * serial.c (serial_fdopen_ops): Likewise.
8132 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
8133 XCALLOC.
8134 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
8135 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
8136 not XCALLOC.
8137
8138 2014-01-13 Tom Tromey <tromey@redhat.com>
8139
8140 * defs.h (XMALLOC): Remove.
8141 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
8142 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
8143 * cli-out.c (struct ui_out *): Likewise.
8144 * cli/cli-dump.c (add_dump_command): Likewise.
8145 (add_dump_command): Likewise.
8146 * complaints.c (get_complaints): Likewise.
8147 (find_complaint): Likewise.
8148 * dwarf2-frame.c (execute_cfa_program): Likewise.
8149 * dwarf2read.c (abbrev_table_read_table): Likewise.
8150 * gdbarch.sh: Likewise.
8151 * gdbarch.c: Rebuild.
8152 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
8153 * interps.c (interp_new): Likewise.
8154 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
8155 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
8156 * mi/mi-console.c (mi_console_file_new): Likewise.
8157 * mi/mi-interp.c (mi_interpreter_init): Likewise.
8158 * mi/mi-out.c (mi_out_new): Likewise.
8159 * mi/mi-parse.c (mi_parse): Likewise.
8160 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
8161 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
8162 * observer.c (xalloc_observer_list_node): Likewise.
8163 * regcache.c (regcache_xmalloc_1): Likewise.
8164 * reggroups.c (reggroup_new): Likewise.
8165 (_initialize_reggroup): Likewise.
8166 * registry.c (register_data_with_cleanup): Likewise.
8167 * remote.c (remote_notif_stop_alloc_reply): Likewise.
8168 * ser-base.c (serial_ttystate): Likewise.
8169 * ser-mingw.c (make_pipe_state): Likewise.
8170 * ser-pipe.c (pipe_open): Likewise.
8171 * serial.c (serial_open): Likewise.
8172 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
8173 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
8174 (tui_alloc_win_info): Likewise.
8175 (tui_add_content_elements): Likewise.
8176 * tui/tui-file.c (tui_file_new): Likewise.
8177 * tui/tui-out.c (tui_out_new): Likewise.
8178 * ui-file.c (mem_file_new): Likewise.
8179 * ui-out.c (push_level): Likewise.
8180 (make_cleanup_ui_out_end): Likewise.
8181 (append_header_to_list): Likewise.
8182 (ui_out_new): Likewise.
8183 * user-regs.c (user_reg_add_builtin): Likewise.
8184
8185 2014-01-13 Tom Tromey <tromey@redhat.com>
8186
8187 * defs.h (XZALLOC): Remove.
8188 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
8189 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
8190 (get_ada_tasks_inferior_data): Likewise.
8191 * auto-load.c (get_auto_load_pspace_data): Likewise.
8192 * auxv.c (get_auxv_inferior_data): Likewise.
8193 * bfd-target.c (target_bfd_reopen): Likewise.
8194 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
8195 (deprecated_insert_raw_breakpoint): Likewise.
8196 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
8197 * corelow.c (core_open): Likewise.
8198 * darwin-nat.c (darwin_check_new_threads): Likewise.
8199 (darwin_attach_pid): Likewise.
8200 * dummy-frame.c (dummy_frame_push): Likewise.
8201 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
8202 * dwarf2loc.c (allocate_piece_closure): Likewise.
8203 * elfread.c (elf_symfile_segments): Likewise.
8204 * eval.c (ptrmath_type_p): Likewise.
8205 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
8206 * gdbtypes.c (alloc_type_arch): Likewise.
8207 (alloc_type_instance): Likewise.
8208 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
8209 * inf-child.c (inf_child_can_use_agent): Likewise.
8210 * inflow.c (get_inflow_inferior_data): Likewise.
8211 * infrun.c (save_infcall_suspend_state): Likewise.
8212 * jit.c (jit_reader_load): Likewise.
8213 (get_jit_objfile_data): Likewise.
8214 (get_jit_program_space_data): Likewise.
8215 (jit_object_open_impl): Likewise.
8216 (jit_symtab_open_impl): Likewise.
8217 (jit_block_open_impl): Likewise.
8218 (jit_frame_sniffer): Likewise.
8219 * linux-fork.c (add_fork): Likewise.
8220 * maint.c (make_command_stats_cleanup): Likewise.
8221 * objfiles.c (get_objfile_pspace_data): Likewise.
8222 * opencl-lang.c (struct lval_closure): Likewise.
8223 * osdata.c (osdata_start_osdata): Likewise.
8224 * progspace.c (new_address_space): Likewise.
8225 (add_program_space): Likewise.
8226 * remote-sim.c (get_sim_inferior_data): Likewise.
8227 * sh-tdep.c (sh_gdbarch_init): Likewise.
8228 * skip.c (Ignore): Likewise.
8229 (skip_delete_command): Likewise.
8230 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
8231 (library_list_start_library): Likewise.
8232 (solib_aix_current_sos): Likewise.
8233 * solib-darwin.c (get_darwin_info): Likewise.
8234 (darwin_current_sos): Likewise.
8235 * solib-dsbt.c (get_dsbt_info): Likewise.
8236 * solib-ia64-hpux.c (new_so_list): Likewise.
8237 (ia64_hpux_get_solib_linkage_addr): Likewise.
8238 * solib-spu.c (append_ocl_sos): Likewise.
8239 (spu_current_sos): Likewise.
8240 * solib-svr4.c (get_svr4_info): Likewise.
8241 (svr4_keep_data_in_core): Likewise.
8242 (library_list_start_library): Likewise.
8243 (svr4_default_sos): Likewise.
8244 (svr4_read_so_list): Likewise.
8245 * solib-target.c (library_list_start_library): Likewise.
8246 (solib_target_current_sos): Likewise.
8247 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
8248 * symfile-debug.c (install_symfile_debug_logging): Likewise.
8249 * symfile.c (default_symfile_segments): Likewise.
8250 * target-descriptions.c (tdesc_data_init): Likewise.
8251 (tdesc_create_reg): Likewise.
8252 (struct tdesc_type *): Likewise.
8253 (tdesc_create_vector): Likewise.
8254 (tdesc_set_struct_size): Likewise.
8255 (struct tdesc_type *): Likewise.
8256 (tdesc_free_feature): Likewise.
8257 (tdesc_create_feature): Likewise.
8258 * windows-nat.c (windows_add_thread): Likewise.
8259 (windows_make_so): Likewise.
8260 * xml-support.c (gdb_xml_body_text): Likewise.
8261 (gdb_xml_create_parser_and_cleanup): Likewise.
8262 (xml_process_xincludes): Likewise.
8263 * xml-syscall.c (allocate_syscalls_info): Likewise.
8264 (syscall_create_syscall_desc): Likewise.
8265
8266 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
8267
8268 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
8269 function, with code from i386_stap_parse_special_token.
8270 (i386_stap_parse_special_token_three_arg_disp): Likewise.
8271 (i386_stap_parse_special_token): Move code to the two functions
8272 above; simplify it.
8273
8274 2014-01-09 Pedro Alves <palves@redhat.com>
8275 Hui Zhu <hui@codesourcery.com>
8276
8277 PR gdb/16101
8278 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
8279 bp_err_string. Don't mark the location shlib_disabled if the
8280 error thrown wasn't a generic or memory error. Catch errors
8281 thrown while inserting breakpoints in overlayed code. Output
8282 error message of software breakpoints.
8283 * remote.c (remote_insert_breakpoint): If this breakpoint has
8284 target-side commands but this stub doesn't support Z0 packets,
8285 throw NOT_SUPPORTED_ERROR error.
8286 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
8287 * target.h (target_insert_breakpoint): Extend comment.
8288 (target_insert_hw_breakpoint): Add comment.
8289
8290 2014-01-08 Pedro Alves <palves@redhat.com>
8291
8292 * remote.c (remote_add_thread): Add threads silently if starting
8293 up.
8294 (remote_notice_new_inferior): If in all-stop, and starting up,
8295 don't call notice_new_inferior.
8296 (get_current_thread): New function, factored out from ...
8297 (add_current_inferior_and_thread): ... this. Adjust.
8298 (remote_start_remote) <all-stop>: Fetch the thread list. If we
8299 found any thread, then select the remote's current thread as GDB's
8300 current thread too.
8301
8302 2014-01-08 Joel Brobecker <brobecker@adacore.com>
8303
8304 * NEWS: Create a new section for the next release branch.
8305 Rename the section of the current branch, now that it has
8306 been cut.
8307
8308 2014-01-08 Joel Brobecker <brobecker@adacore.com>
8309
8310 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
8311 * version.in: Bump version to 7.7.50.DATE-cvs.
8312
8313 2014-01-08 Yao Qi <yao@codesourcery.com>
8314
8315 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
8316 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
8317 (spu_xfer_partial): Cast 'buf' to 'const char *'.
8318
8319 2014-01-08 Yao Qi <yao@codesourcery.com>
8320
8321 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
8322 return value of bfd_get_filename to symbol_file_add_from_bfd.
8323
8324 2014-01-08 Pierre Muller <muller@sourceware.org>
8325
8326 Fix PR16201.
8327 * coff-pe-read.c (struct read_pe_section_data): Add index field.
8328 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
8329 to prim_record_mininal_symbol_and_info.
8330 (add_pe_forwarded_sym): Use known section number of forwarded symbol
8331 in call to prim_record_minimal_symbol_and_info.
8332 (read_pe_exported_syms): Set index field of section_data.
8333
8334 2014-01-07 Andrew Pinski <apinski@cavium.com>
8335
8336 * features/aarch64-core.xml (cpsr): Change to be 64bit.
8337 * features/aarch64.c: Regenerate.
8338
8339 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
8340
8341 * target.c (return_null): Define.
8342 (update_current_target): Use it instead of return_zero for
8343 functions that return a pointer.
8344
8345 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8346
8347 * source.c (add_path): Fix check for duplicated paths in the previously
8348 included paths.
8349
8350 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
8351
8352 * ada-lang.c: Remove duplicated include statements.
8353 * alphabsd-nat.c: Ditto.
8354 * amd64-darwin-tdep.c: Ditto.
8355 * amd64fbsd-nat.c: Ditto.
8356 * auto-load.c: Ditto.
8357 * ax-gdb.c: Ditto.
8358 * breakpoint.c: Ditto.
8359 * dbxread.c: Ditto.
8360 * fork-child.c: Ditto.
8361 * gdb_usleep.c: Ditto.
8362 * i386-darwin-tdep.c: Ditto.
8363 * i386fbsd-nat.c: Ditto.
8364 * infcmd.c: Ditto.
8365 * inferior.c: Ditto.
8366 * jv-lang.c: Ditto.
8367 * linux-nat.c: Ditto.
8368 * linux-tdep.c: Ditto.
8369 * m68kbsd-nat.c: Ditto.
8370 * m68klinux-nat.c: Ditto.
8371 * microblaze-tdep.c: Ditto.
8372 * mips-linux-tdep.c: Ditto.
8373 * mn10300-tdep.c: Ditto.
8374 * nto-tdep.c: Ditto.
8375 * opencl-lang.c: Ditto.
8376 * osdata.c: Ditto.
8377 * printcmd.c: Ditto.
8378 * regcache.c: Ditto.
8379 * remote-m32r-sdi.c: Ditto.
8380 * remote.c: Ditto.
8381 * symfile.c: Ditto.
8382 * symtab.c: Ditto.
8383 * tilegx-linux-nat.c: Ditto.
8384 * tilegx-tdep.c: Ditto.
8385 * tracepoint.c: Ditto.
8386 * valops.c: Ditto.
8387 * vaxbsd-nat.c: Ditto.
8388 * windows-nat.c: Ditto.
8389 * xtensa-tdep.c: Ditto.
8390
8391 2014-01-07 Yao Qi <yao@codesourcery.com>
8392
8393 * spu-linux-nat.c (_initialize_spu_nat): Declare.
8394
8395 2014-01-07 Yao Qi <yao@codesourcery.com>
8396 Joel Brobecker <brobecker@adacore.com>
8397
8398 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
8399 (pdc_write_regs): Likewise.
8400 (fetch_regs_kernel_thread): Likewise.
8401 (store_regs_kernel_thread): Likewise.
8402
8403 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8404
8405 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
8406 tagged type objects to their actual type.
8407
8408 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8409
8410 * ada-valprint.c (print_field_values): Add "language" parameter.
8411 Update calls to print_field_values and print_variant_part.
8412 Pass new parameter "language" in call to val_print instead
8413 of "current_language". Replace call to ada_val_print by call
8414 to val_print.
8415 (print_variant_part): Add "language" parameter.
8416 (ada_val_print_struct_union): Update call to print_field_values.
8417
8418 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8419
8420 * ada-valprint.c (ui_memcpy): Delete.
8421 (ada_print_floating): Update documentation. Add empty line
8422 between between function documentation and implementation.
8423 Delete variable "buffer". Use ui_file_xstrdup in place of
8424 ui_file_put. Minor adjustments following this change.
8425
8426 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8427
8428 * ada-valprint.c (ada_val_print_string): New function,
8429 extracted from ada_val_print_array.
8430 (ada_val_print_array): Replace extracted code by call
8431 to ada_val_print_string followed by a return. Move
8432 "else" branch to the function's top block.
8433
8434 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8435
8436 * ada-valprint.c (ada_val_print_array): Move implementation
8437 down. Rename parameter "offset" and "val" into "offset_aligned"
8438 and "original_value" respectively. Add parameter "offset".
8439
8440 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8441
8442 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
8443 re-organizing the code. Change the "???" message printed
8444 when target type is a TYPE_CODE_UNDEF into
8445 "<ref to undefined type>".
8446
8447 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8448
8449 * ada-valprint.c (print_record): Delete, implementation inlined...
8450 (ada_val_print_struct_union): ... here. Remove call to
8451 ada_check_typedef in inlined implementation.
8452
8453 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8454
8455 * ada-valprint.c (ada_val_print_gnat_array): New function,
8456 extracted from ada_val_print_1;
8457 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
8458 (ada_val_print_flt, ada_val_print_struct_union)
8459 (ada_val_print_ref): Likewise.
8460 (ada_val_print_1): Delete variables i and elttype.
8461 Replace extracted-out code by call to corresponding
8462 new functions.
8463
8464 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8465
8466 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
8467
8468 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8469
8470 * ada-valprint.c (ada_val_print_1): Replace calls to
8471 ada_val_print_1 by calls to val_print.
8472
8473 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8474
8475 * ada-valprint.c (ada_val_print_1): Add parameter "language".
8476 Update calls to self accordingly. Replace calls to c_val_print
8477 by calls to val_print.
8478
8479 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8480
8481 * ada-valprint.c (print_record): Delete declaration.
8482 (adjust_type_signedness, ada_val_print_1): Likewise.
8483 (ada_val_print): Move function implementation down.
8484 (print_variant_part, print_field_values, print_record):
8485 Move function implementation up.
8486
8487 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8488
8489 * python/py-type.c (typy_get_name): New function.
8490 (type_object_getset): Add entry for attribute "name".
8491 * NEWS: Add entry mentioning this new attribute.
8492
8493 2014-01-07 Yao Qi <yao@codesourcery.com>
8494
8495 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
8496 statement.
8497
8498 2014-01-07 Yao Qi <yao@codesourcery.com>
8499
8500 * gnu-nat.c (info_port_rights): Add qualifier const to
8501 argument args.
8502
8503 2014-01-07 Yao Qi <yao@codesourcery.com>
8504
8505 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
8506
8507 2014-01-07 Yao Qi <yao@codesourcery.com>
8508
8509 * gnu-nat.c (make_inf) Update declaration.
8510 (make_inf): Make it static.
8511 (inf_set_traced): Likewise.
8512 (inf_port_to_thread, inf_task_died_status): Likewise.
8513
8514 2014-01-07 Yao Qi <yao@codesourcery.com>
8515
8516 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
8517
8518 2014-01-07 Yao Qi <yao@codesourcery.com>
8519
8520 * gnu-nat.c (_initialize_gnu_nat): Declare.
8521
8522 2014-01-07 Yao Qi <yao@codesourcery.com>
8523
8524 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
8525 'enum bfd_endian'.
8526 (struct gdbarch_info) <byte_order>: Change type to
8527 'enum bfd_endian'.
8528 <byte_order_for_code>: Likewise.
8529 * gdbarch.c, gdbarch.h: Regenerated.
8530
8531 2014-01-06 Sasha Smundak <asmundak@google.com>
8532
8533 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
8534
8535 2014-01-06 Tom Tromey <tromey@redhat.com>
8536
8537 * doublest.c (convert_doublest_to_floatformat): Use const, not
8538 CONST.
8539 * somread.c (som_symtab_read): Likewise.
8540
8541 2014-01-07 Hui Zhu <hui@codesourcery.com>
8542
8543 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
8544 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
8545 (gdb_bfd_fopen): Ditto.
8546 (gdb_bfd_openr): Ditto.
8547 (gdb_bfd_openw): Ditto.
8548 (gdb_bfd_openr_iovec): Ditto.
8549 (gdb_bfd_fdopenr): Ditto.
8550 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
8551 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
8552 with xstrdup.
8553 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
8554 with xstrdup.
8555 * symfile-mem.c (symbol_file_add_from_memory): Removed
8556 gdb_bfd_stash_filename.
8557
8558 2014-01-03 Doug Evans <dje@google.com>
8559
8560 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
8561 output.
8562
8563 2014-01-01 Joel Brobecker <brobecker@adacore.com>
8564
8565 Update year range in copyright notice of all files.
8566
8567 2014-01-01 Joel Brobecker <brobecker@adacore.com>
8568
8569 * top.c (print_gdb_version): Set copyright year to 2014.
8570
8571 2014-01-01 Joel Brobecker <brobecker@adacore.com>
8572
8573 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
8574
8575 For older changes see ChangeLog-2013.
8576 \f
8577 Local Variables:
8578 mode: change-log
8579 left-margin: 8
8580 fill-column: 74
8581 version-control: never
8582 coding: utf-8
8583 End:
This page took 0.208416 seconds and 4 git commands to generate.