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