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