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