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