Add gdb.Objfile.progspace attribute.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
d096d8c1
DE
12014-10-17 Doug Evans <dje@google.com>
2
3 * NEWS: Mention new gdb.Objfile.progspace attribute.
4 * python/py-objfile.c (objfpy_get_progspace): New function.
5 (objfile_getset): New entry for "progspace".
6
6c4486e6
PA
72014-10-17 Pedro Alves <palves@redhat.com>
8
9 PR gdb/17471
10 * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
11 returns a copy of the input.
12 (run_command_1, continue_command, step_1, jump_command)
13 (signal_command, until_command, advance_command, finish_command)
14 (attach_command): Adjust and install a cleanup to free the
15 stripped args.
16
0ff33695
PA
172014-10-17 Pedro Alves <palves@redhat.com>
18
19 PR gdb/17300
20 * infcmd.c (continue_1): If continuing all threads in the
21 foreground, make sure the inferior's terminal settings are put in
22 effect.
23
6fdebc3d
PA
242014-10-17 Pedro Alves <palves@redhat.com>
25
26 PR gdb/17472
27 * annotate.c (annotate_breakpoints_invalid): Use
28 target_terminal_our_for_output instead of target_terminal_ours.
29 Give back the terminal to the target.
30 (annotate_frames_invalid): Likewise.
31
5842f62a
PA
322014-10-17 Pedro Alves <palves@redhat.com>
33
34 * target.c (enum terminal_state): New enum.
35 (terminal_state): New global.
36 (target_terminal_init): New function.
37 (target_terminal_inferior): Skip if inferior already owns the
38 terminal.
39 (target_terminal_ours, target_terminal_ours_for_output): New
40 functions.
41 * target.h (target_terminal_init): Convert to function prototype.
42 (target_terminal_ours_for_output): Convert to function prototype
43 and tweak comment.
44 (target_terminal_ours): Convert to function prototype and tweak
45 comment.
46 * windows-nat.c (do_initial_windows_stuff): Call
47 target_terminal_init instead of child_terminal_init_with_pgrp.
48
32a8097b
PA
492014-10-17 Pedro Alves <palves@redhat.com>
50
51 * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
52 (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
53 (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
54 solib-osf.c.
55 * NEWS: Mention that support for alpha*-*-osf* has been removed.
56 * ada-lang.h [__alpha__ && __osf__]
57 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
58 * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
59 * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
60 GDB_OSABI_OSF1.
61 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
62 files.
63 * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
64 (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
65 * configure: Regenerate.
66 * configure.ac: Remove references to osf.
67 * configure.host: Handle alpha*-*-osf* in the obsolete hosts
68 section. Remove all other references to osf.
69 * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
70 Remove all other references to osf.
71 * dec-thread.c: Delete file.
72 * defs.h (GDB_OSABI_OSF1): Delete.
73 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
74 defined.
75 * osabi.c (gdb_osabi_names): Delete "OSF/1".
76 * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
77 Delete code.
78 (unconditionally_kill_inferior)
79 [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
80 * solib-osf.c: Delete file.
81
80134cf5
PA
822014-10-17 Pedro Alves <palves@redhat.com>
83
84 * remote.c (clear_threads_listing_context): Move higher up, out of
85 the HAVE_LIBEXPAT guard.
86
89c7137f
TG
872014-10-16 Tristan Gingold <gingold@adacore.com>
88
89 * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
90 (i386_darwin_store_inferior_registers): Sanitize gs and fs values
91 on amd64.
92
44ee4a52
PA
932014-10-15 Pedro Alves <palves@redhat.com>
94
95 * dec-thread.c (dec_thread_count_gdb_threads)
96 (dec_thread_add_gdb_thread): Delete.
97 (dec_thread_update_thread_list): Delete.
98 (dec_thread_find_new_threads): Rename to ...
99 (dec_thread_update_thread_list): ... this. Delete GDB-size
100 threads that are no longer found in dec_thread_list.
101 (resync_thread_list): Delete.
102 (dec_thread_wait): Call dec_thread_update_thread_list instead of
103 resync_thread_list.
104
ab970af1
PA
1052014-10-15 Pedro Alves <palves@redhat.com>
106
107 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
108 * remote.c (remote_update_thread_list): Skip calling prune_threads
109 if any thread listing method is supported, and instead walk over
110 the set of remote threads listed, deleting those that are not
111 found in GDB's thread list.
112
e8032dde
PA
1132014-10-15 Pedro Alves <palves@redhat.com>
114
115 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
116 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
117 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
118 (bsd_uthread_target): Adjust.
119 * corelow.c (core_open): Adjust.
120 * dec-thread.c (dec_thread_find_new_threads): Update comment.
121 (dec_thread_update_thread_list): New function.
122 (init_dec_thread_ops): Adjust.
123 * gdbthread.h (prune_threads): New declaration.
124 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
125 (thread_db_update_thread_list): ... this. Call prune_threads.
126 (init_thread_db_ops): Adjust.
127 * nto-procfs.c (procfs_find_new_threads): Rename to ...
128 (procfs_update_thread_list): ... this. Call prune_threads.
129 (procfs_attach, procfs_create_inferior, init_procfs_targets):
130 Adjust.
131 * obsd-nat.c (obsd_find_new_threads): Rename to ...
132 (obsd_update_thread_list): ... this. Call prune_threads.
133 (obsd_add_target): Adjust.
134 * procfs.c (procfs_target): Adjust.
135 (procfs_notice_thread): Update comment.
136 (procfs_find_new_threads): Rename to ...
137 (procfs_update_thread_list): ... this. Call prune_threads.
138 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
139 comment.
140 (ravenscar_wait): Adjust.
141 (ravenscar_find_new_threads): Rename to ...
142 (ravenscar_update_thread_list): ... this. Call prune_threads.
143 (init_ravenscar_thread_ops): Adjust.
144 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
145 (record_btrace_update_thread_list): ... this. Adjust comment.
146 (init_record_btrace_ops): Adjust.
147 * remote.c (remote_threads_info): Rename to ...
148 (remote_update_thread_list): ... this. Call prune_threads.
149 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
150 Adjust.
151 * sol-thread.c (check_for_thread_db): Adjust.
152 (sol_find_new_threads_callback): Rename to ...
153 (sol_update_thread_list_callback): ... this.
154 (sol_find_new_threads): Rename to ...
155 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
156 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
157 * target-delegates.c: Regenerate.
158 * target.c (target_find_new_threads): Rename to ...
159 (target_update_thread_list): ... this.
160 * target.h (struct target_ops): Rename to_find_new_threads field
161 to to_update_thread_list.
162 (target_find_new_threads): Rename to ...
163 (target_update_thread_list): ... this.
164 * thread.c (prune_threads): Make extern.
165 (update_thread_list): Adjust.
166
6dc54d91
PA
1672014-10-15 Pedro Alves <palves@redhat.com>
168
169 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
170 Add describing comment. Return -1 if the qL packet is not
171 supported.
172 (struct thread_item, thread_item_t): Move higher up in
173 the file. Add comments.
174 (struct threads_parsing_context): Move higher up in
175 the file, add comments, and remote to ...
176 (struct threads_listing_context): ... this.
177 (remote_newthread_step): Don't add the thread to GDB's thread
178 database here. Instead push it to the thread_listing_context
179 list.
180 (remote_find_new_threads): Rename to ...
181 (remote_get_threads_with_ql): ... this. Add target_ops and
182 targets_listing_context parameters. Pass down context.
183 (start_thread): Adjust.
184 (clear_threads_parsing_context): Rename to ...
185 (clear_threads_listing_context): ... this.
186 (remote_get_threads_with_qxfer): New, with parts salvaged from old
187 remote_threads_info.
188 (remote_get_threads_with_qthreadinfo): Ditto.
189 (remote_threads_info): Reimplement.
190
36728e82
PA
1912014-10-15 Pedro Alves <palves@redhat.com>
192
193 * infrun.c (resume): Don't force displaced-stepping for all
194 single-steps on software single-stepping archs.
195
34b7e8a6
PA
1962014-10-15 Pedro Alves <palves@redhat.com>
197
198 * breakpoint.c (single_step_breakpoints): Delete global.
199 (insert_single_step_breakpoint): Adjust to store the breakpoint
200 pointer in the current thread.
201 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
202 (cancel_single_step_breakpoints): Delete functions.
203 (breakpoint_has_location_inserted_here): Make extern.
204 (single_step_breakpoint_inserted_here_p): Adjust to walk the
205 breakpoint list.
206 * breakpoint.h (breakpoint_has_location_inserted_here): New
207 declaration.
208 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
209 (cancel_single_step_breakpoints): Remove declarations.
210 * gdbthread.h (struct thread_control_state)
211 <single_step_breakpoints>: New field.
212 (delete_single_step_breakpoints)
213 (thread_has_single_step_breakpoints_set)
214 (thread_has_single_step_breakpoint_here): New declarations.
215 * infrun.c (follow_exec): Also clear the single-step breakpoints.
216 (singlestep_breakpoints_inserted_p, singlestep_ptid)
217 (singlestep_pc): Delete globals.
218 (infrun_thread_ptid_changed): Remove references to removed
219 globals.
220 (resume_cleanups): Delete the current thread's single-step
221 breakpoints.
222 (maybe_software_singlestep): Remove references to removed globals.
223 (resume): Adjust to use thread_has_single_step_breakpoints_set and
224 delete_single_step_breakpoints.
225 (init_wait_for_inferior): Remove references to removed globals.
226 (delete_thread_infrun_breakpoints): Delete the thread's
227 single-step breakpoints too.
228 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
229 single-step breakpoints here.
230 (delete_stopped_threads_single_step_breakpoints): New function.
231 (adjust_pc_after_break): Adjust to use
232 thread_has_single_step_breakpoints_set.
233 (handle_inferior_event): Remove references to removed globals.
234 Use delete_stopped_threads_single_step_breakpoints.
235 (handle_signal_stop): Adjust to per-thread single-step
236 breakpoints. Swap test order to do cheaper tests first.
237 (switch_back_to_stepped_thread): Extend debug output. Remove
238 references to removed globals.
239 * record-full.c (record_full_wait_1): Adjust to per-thread
240 single-step breakpoints.
241 * thread.c (delete_single_step_breakpoints)
242 (thread_has_single_step_breakpoints_set)
243 (thread_has_single_step_breakpoint_here): New functions.
244 (clear_thread_inferior_resources): Also delete the thread's
245 single-step breakpoints.
246
5b834a0a
PA
2472014-10-15 Pedro Alves <palves@redhat.com>
248
249 * thread.c (delete_thread_breakpoint): New function.
250 (delete_step_resume_breakpoint)
251 (delete_exception_resume_breakpoint): Use it.
252 (delete_at_next_stop): New function.
253 (clear_thread_inferior_resources): Use delete_at_next_stop.
254
a1fd2fa5
PA
2552014-10-15 Pedro Alves <palves@redhat.com>
256
257 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
258 (breakpoint_inserted_here_p): ... here. Remove special case for
259 software single-step breakpoints.
260 (find_non_raw_software_breakpoint_inserted_here): Inline ...
261 (software_breakpoint_inserted_here_p): ... here. Remove special
262 case for software single-step breakpoints.
263 (bp_target_info_copy_insertion_state)
264 (deprecated_insert_raw_breakpoint)
265 (deprecated_remove_raw_breakpoint): Delete functions.
266 * breakpoint.h (deprecated_insert_raw_breakpoint)
267 (deprecated_remove_raw_breakpoint): Remove declarations.
268
7c16b83e
PA
2692014-10-15 Pedro Alves <palves@redhat.com>
270
271 PR breakpoints/9649
272 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
273 Delete array globals.
274 (single_step_breakpoints): New global.
275 (breakpoint_xfer_memory): Remove special handling for single-step
276 breakpoints.
277 (update_breakpoints_after_exec): Delete bp_single_step
278 breakpoints.
279 (detach_breakpoints): Remove special handling for single-step
280 breakpoints.
281 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
282 (bpstat_stop_status): Add comment.
283 (bpstat_what, bptype_string, print_one_breakpoint_location)
284 (adjust_breakpoint_address, init_bp_location): Handle
285 bp_single_step.
286 (new_single_step_breakpoint): New function.
287 (set_momentary_breakpoint, bkpt_remove_location): Remove special
288 handling for single-step breakpoints.
289 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
290 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
291 Rewrite.
292 (detach_single_step_breakpoints, find_single_step_breakpoint):
293 Delete functions.
294 (breakpoint_has_location_inserted_here): New function.
295 (single_step_breakpoint_inserted_here_p): Rewrite.
296 * breakpoint.h: Remove FIXME.
297 (enum bptype) <bp_single_step>: New enum value.
298 (insert_single_step_breakpoint): Update comment.
299 * infrun.c (resume_cleanups)
300 (delete_step_thread_step_resume_breakpoint): Remove single-step
301 breakpoints.
302 (fetch_inferior_event): Install a cleanup that removes infrun
303 breakpoints.
304 (switch_back_to_stepped_thread) <expect thread advanced also>:
305 Clear step-over info.
306
0cbcdb96
PA
3072014-10-15 Pedro Alves <palves@redhat.com>
308
309 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
310 (delete_thread_infrun_breakpoints): New function, with parts
311 salvaged from delete_step_resume_breakpoint_callback.
312 (delete_step_thread_step_resume_breakpoint): Delete.
313 (for_each_just_stopped_thread_callback_func): New typedef.
314 (for_each_just_stopped_thread): New function.
315 (delete_just_stopped_threads_infrun_breakpoints): New function.
316 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
317 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
318 ... this. Adjust.
319 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
320
963f9c80
PA
3212014-10-15 Pedro Alves <palves@redhat.com>
322
323 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
324 trying to step past a non-steppable watchpoint.
325 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
326 field.
327 * infrun.c (struct step_over_info): Add new field
328 'nonsteppable_watchpoint_p' and adjust comments.
329 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
330 Adjust.
331 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
332 (stepping_past_nonsteppable_watchpoint): New function.
333 (step_over_info_valid_p): Also return true if stepping past a
334 nonsteppable watchpoint.
335 (proceed): Adjust call to set_step_over_info. Remove reference to
336 init_infwait_state.
337 (init_wait_for_inferior): Remove reference to init_infwait_state.
338 (waiton_ptid): Delete global.
339 (struct execution_control_state)
340 <stepped_after_stopped_by_watchpoint>: Delete field.
341 (wait_for_inferior, fetch_inferior_event): Always pass
342 minus_one_ptid to target_wait.
343 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
344 field.
345 (init_infwait_state): Delete function.
346 (handle_inferior_event): Remove infwait_state handling.
347 (handle_signal_stop) <watchpoints handling>: Adjust after
348 stepped_after_stopped_by_watchpoint removal. Don't remove
349 breakpoints here nor set infwait_state. Set the thread's
350 stepping_over_watchpoint flag, and call keep_going instead.
351 (keep_going): Handle stepping_over_watchpoint. Adjust
352 set_step_over_info calls.
353 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
354 function.
355
6cc83d2a
PA
3562014-10-15 Pedro Alves <palves@redhat.com>
357
358 * infrun.c (step_over_info_valid_p): New function.
359 (resume): Use step_over_info_valid_p instead of checking the
360 threads's trap_expected flag.
361
6979730b
DE
3622014-10-15 Doug Evans <dje@google.com>
363 Walfred Tedeschi <walfred.tedeschi@intel.com>
364
365 PR python/17364
366 * python/lib/gdb/__init__.py (packages): Add "printer".
367 * python/lib/gdb/command/bound_registers.py: Moved to ...
368 * python/lib/gdb/printer/bound_registers.py: ... here.
369 Add printer to global set of builtin printers. Rename printer from
370 "bound" to "mpx_bound128".
371 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
372 registered as global "builtin" printer.
373 (add_builtin_pretty_printer): New function.
374 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
375 gdb/printer/__init__.py.
376
35a49624
IB
3772014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
378
379 * Makefile.in (SFILES): Remove d-support.c.
380 (COMMON_OBS): Remove d-support.o.
381 * d-lang.h (d_parse_symbol): Remove declaration.
382 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
383 * d-support.c: Remove file.
384
8fa0c4f8
AA
3852014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
386
387 * gdb/infrun.c (process_event_stop_test): Apply
388 gdbarch_addr_bits_remove to longjmp resume address.
389
3666da81
PA
3902014-10-15 Pedro Alves <palves@redhat.com>
391
392 * regformats/microblaze.dat: Delete file.
393
449aa9df
AKA
3942014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
395
396 * features/Makefile (microblaze-expedite): Replace pc with rpc.
397 * regformats/microblaze-with-stack-protect.dat: Regenerate.
398
ebb8ece2
SC
3992014-10-15 Siva Chandra Reddy <sivachandra@google.com>
400
401 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
402 as non-trivial.
403
82c48ac7
SC
4042014-10-15 Siva Chandra Reddy <sivachandra@google.com>
405
406 PR c++/13403
407 PR c++/15154
408 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
409 with qualified args.
410
c40cc657
JB
4112014-10-14 Joel Brobecker <brobecker@adacore.com>
412
413 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
414 of the case where the second operand is a pointer.
415 <BINOP_SUB>: Likewise.
416
0ea5cda8
SDJ
4172014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
418
419 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
420 only if it is not NULL.
421 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
422 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
423 (struct probe_ops) <clear_semaphore>: Likewise.
424 * tracepoint.c (start_tracing): Call set_semaphore only if it is
425 not NULL.
426 (stop_tracing): Likewise, for clear_semaphore.
427
f7088df3
SDJ
4282014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
429
430 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
431 using language_c, instead of current_language.
432
4e1bbde0
DE
4332014-10-13 Doug Evans <dje@google.com>
434
6ff5a0f6 435 * python/py-objfile.c (objfpy_initialize): New function.
4e1bbde0 436 (objfpy_new, objfile_to_objfile_object): Call it.
6ff5a0f6 437 * python/py-progspace.c (pspy_initialize): New function.
4e1bbde0
DE
438 (pspy_new, pspace_to_pspace_object): Call it.
439
c780cc2f
JK
4402014-10-13 Miroslav Franc <mfranc@redhat.com>
441 Jan Kratochvil <jan.kratochvil@redhat.com>
442
443 Fix "save breakpoints" for "catch" command.
444 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
445 newline.
446
99894e11
JK
4472014-10-12 Miroslav Franc <mfranc@redhat.com>
448
449 Fix "save breakpoints" for "disable $bpnum" command.
450 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
451
3831839c
PA
4522014-10-10 Pedro Alves <palves@redhat.com>
453
454 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
455 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
456 (HFILES_NO_SRCDIR): Remove solib-irix.h.
457 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
458 and been removed.
459 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
460 * configure.ac: Remove references to IRIX.
461 * configure.host: Add *-*-irix* to the obsolete hosts section.
462 Remove all other references to irix.
463 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
464 Delete files.
465
cc3afae2
AKA
4662014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
467
468 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
469 isn't valid, release the tdesc arch data and return NULL.
470
cdfa0b0a
PA
4712014-10-10 Pedro Alves <palves@redhat.com>
472
473 * linux-tdep.c: Include observer.h.
474 (linux_inferior_data): New global.
475 (struct linux_info): New structure.
476 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
477 (get_linux_inferior_data): New functions.
478 (linux_vsyscall_range): Rename to ...
479 (linux_vsyscall_range_raw): ... this.
480 (linux_vsyscall_range): New function; handles caching.
481 (_initialize_linux_tdep): Register linux_inferior_data. Install
482 inferior_exit and inferior_appeared observers.
483
8b9a549d
PA
4842014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
485 Pedro Alves <palves@redhat.com>
486
487 PR symtab/14466
488 * solib-svr4.c (svr4_read_so_list): Rename to ...
489 (svr4_current_sos_1): ... this and change the function comment.
490 (svr4_current_sos): New function.
491
3437254d
PA
4922014-10-10 Pedro Alves <palves@redhat.com>
493
494 * arch-utils.c (default_vsyscall_range): New function.
495 * arch-utils.h (default_vsyscall_range): New declaration.
496 * gdbarch.sh (vsyscall_range): New hook.
497 * gdbarch.h, gdbarch.c: Regenerate.
498 * linux-tdep.c (linux_vsyscall_range): New function.
499 (linux_init_abi): Install linux_vsyscall_range as
500 vsyscall_range gdbarch hook.
501 * memrange.c (address_in_mem_range): New function.
502 * memrange.h (address_in_mem_range): New declaration.
503 * symfile-mem.c (find_vdso_size): Delete function.
504 (add_vsyscall_page): Use gdbarch_vsyscall_range.
505
31cc0b80
PA
5062014-10-10 Pedro Alves <palves@redhat.com>
507
508 * infrun.c (normal_stop): Fix typo in comment.
509
3e3286a2
SDJ
5102014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
511
512 PR tdep/9390
513 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
514 typo when using logical AND to determine instruction type.
515
fcbdedf8
YQ
5162014-10-09 Yao Qi <yao@codesourcery.com>
517
518 * infrun.c (handle_signal_stop): Remove local variable
519 'printed'.
520
db984616
SS
5212014-10-08 Stan Shebs <stan@codesourcery.com>
522
523 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
524
3ba37e6c
GB
5252014-10-08 Gary Benson <gbenson@redhat.com>
526
527 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
528
a442d071
GB
5292014-10-08 Gary Benson <gbenson@redhat.com>
530
531 * common/common-defs.h: Include common-exceptions.h.
532 * exceptions.h: Do not include common-exceptions.h.
533
6f1947e8
GB
5342014-10-08 Gary Benson <gbenson@redhat.com>
535
536 * common/common-defs.h: Include cleanups.h.
537 * common/common-exceptions.c: Do not include cleanups.h.
538 * utils.h: Likewise.
539
c765fdb9
GB
5402014-10-08 Gary Benson <gbenson@redhat.com>
541
542 * ada-lang.c: Do not include exceptions.h.
543 * ada-valprint.c: Likewise.
544 * amd64-tdep.c: Likewise.
545 * auto-load.c: Likewise.
546 * block.c: Likewise.
547 * break-catch-throw.c: Likewise.
548 * breakpoint.c: Likewise.
549 * btrace.c: Likewise.
550 * c-lang.c: Likewise.
551 * cli/cli-cmds.c: Likewise.
552 * cli/cli-interp.c: Likewise.
553 * cli/cli-script.c: Likewise.
554 * completer.c: Likewise.
555 * corefile.c: Likewise.
556 * corelow.c: Likewise.
557 * cp-abi.c: Likewise.
558 * cp-support.c: Likewise.
559 * cp-valprint.c: Likewise.
560 * darwin-nat.c: Likewise.
561 * dwarf2-frame-tailcall.c: Likewise.
562 * dwarf2-frame.c: Likewise.
563 * dwarf2loc.c: Likewise.
564 * dwarf2read.c: Likewise.
565 * eval.c: Likewise.
566 * event-loop.c: Likewise.
567 * event-top.c: Likewise.
568 * f-valprint.c: Likewise.
569 * frame-unwind.c: Likewise.
570 * frame.c: Likewise.
571 * gdbtypes.c: Likewise.
572 * gnu-v2-abi.c: Likewise.
573 * gnu-v3-abi.c: Likewise.
574 * guile/scm-auto-load.c: Likewise.
575 * guile/scm-breakpoint.c: Likewise.
576 * guile/scm-cmd.c: Likewise.
577 * guile/scm-frame.c: Likewise.
578 * guile/scm-lazy-string.c: Likewise.
579 * guile/scm-param.c: Likewise.
580 * guile/scm-symbol.c: Likewise.
581 * guile/scm-type.c: Likewise.
582 * hppa-hpux-tdep.c: Likewise.
583 * i386-tdep.c: Likewise.
584 * inf-loop.c: Likewise.
585 * infcall.c: Likewise.
586 * infcmd.c: Likewise.
587 * infrun.c: Likewise.
588 * interps.c: Likewise.
589 * interps.h: Likewise.
590 * jit.c: Likewise.
591 * linespec.c: Likewise.
592 * linux-nat.c: Likewise.
593 * linux-thread-db.c: Likewise.
594 * m32r-rom.c: Likewise.
595 * main.c: Likewise.
596 * memory-map.c: Likewise.
597 * mi/mi-cmd-break.c: Likewise.
598 * mi/mi-cmd-stack.c: Likewise.
599 * mi/mi-interp.c: Likewise.
600 * mi/mi-main.c: Likewise.
601 * monitor.c: Likewise.
602 * nto-procfs.c: Likewise.
603 * objc-lang.c: Likewise.
604 * p-valprint.c: Likewise.
605 * parse.c: Likewise.
606 * ppc-linux-tdep.c: Likewise.
607 * printcmd.c: Likewise.
608 * probe.c: Likewise.
609 * python/py-auto-load.c: Likewise.
610 * python/py-breakpoint.c: Likewise.
611 * python/py-cmd.c: Likewise.
612 * python/py-finishbreakpoint.c: Likewise.
613 * python/py-frame.c: Likewise.
614 * python/py-framefilter.c: Likewise.
615 * python/py-function.c: Likewise.
616 * python/py-gdb-readline.c: Likewise.
617 * python/py-inferior.c: Likewise.
618 * python/py-infthread.c: Likewise.
619 * python/py-lazy-string.c: Likewise.
620 * python/py-linetable.c: Likewise.
621 * python/py-param.c: Likewise.
622 * python/py-prettyprint.c: Likewise.
623 * python/py-symbol.c: Likewise.
624 * python/py-type.c: Likewise.
625 * python/py-value.c: Likewise.
626 * python/python-internal.h: Likewise.
627 * python/python.c: Likewise.
628 * record-btrace.c: Likewise.
629 * record-full.c: Likewise.
630 * regcache.c: Likewise.
631 * remote-fileio.c: Likewise.
632 * remote-mips.c: Likewise.
633 * remote.c: Likewise.
634 * rs6000-aix-tdep.c: Likewise.
635 * rs6000-nat.c: Likewise.
636 * skip.c: Likewise.
637 * solib-darwin.c: Likewise.
638 * solib-dsbt.c: Likewise.
639 * solib-frv.c: Likewise.
640 * solib-ia64-hpux.c: Likewise.
641 * solib-spu.c: Likewise.
642 * solib-svr4.c: Likewise.
643 * solib.c: Likewise.
644 * spu-tdep.c: Likewise.
645 * stack.c: Likewise.
646 * stap-probe.c: Likewise.
647 * symfile-mem.c: Likewise.
648 * symmisc.c: Likewise.
649 * target.c: Likewise.
650 * thread.c: Likewise.
651 * top.c: Likewise.
652 * tracepoint.c: Likewise.
653 * tui/tui-interp.c: Likewise.
654 * typeprint.c: Likewise.
655 * utils.c: Likewise.
656 * valarith.c: Likewise.
657 * valops.c: Likewise.
658 * valprint.c: Likewise.
659 * value.c: Likewise.
660 * varobj.c: Likewise.
661 * windows-nat.c: Likewise.
662 * xml-support.c: Likewise.
663
484933d1
MR
6642014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
665
666 * mips-tdep.c (add_offset_16): Rewrite to implement what the
667 name implies.
668 (extended_mips16_next_pc): Update accordingly.
669
ab50adb6
MR
6702014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
671
672 * mips-tdep.c (mips16_instruction_is_compact_branch): New
673 function.
674 (micromips_instruction_is_compact_branch): Likewise.
675 (mips16_scan_prologue): Terminate scanning upon seeing a branch
676 or a compact jump, reaching a jump delay slot, or seeing a
677 second non-prologue instruction.
678 (micromips_scan_prologue): Also terminate scanning upon seeing a
679 compact branch or jump, or reaching a branch or jump delay slot.
680 (mips32_scan_prologue): Terminate scanning upon reaching a branch
681 or jump delay slot, or seeing a second non-prologue instruction.
682 (mips32_instruction_has_delay_slot): Retain instruction
683 examination code only, update arguments accordingly and move
684 instruction fetch pieces to...
685 (mips32_insn_at_pc_has_delay_slot): ... this new function.
686 (micromips_instruction_has_delay_slot): Likewise and to...
687 (micromips_insn_at_pc_has_delay_slot): ... this new function.
688 (mips16_instruction_has_delay_slot): Likewise and to...
689 (mips16_insn_at_pc_has_delay_slot): ... this new function.
690 (mips_single_step_through_delay): Update accordingly.
691 (mips_adjust_breakpoint_address): Likewise.
692
ae790652
MR
6932014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
694
695 * mips-tdep.c (micromips_instruction_has_delay_slot): When
696 !mustbe32 also return 1 for 32-bit instructions.
697 (mips16_instruction_has_delay_slot): Likewise. Add an
698 explanatory comment.
699
9b807e7b
MR
7002014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
701
702 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
703 symbols special.
704
0d5ed153
MR
7052014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
706
707 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
708 update comments.
709 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
710 for the breakpoint's address. Don't preinitialize `placed_size'.
711 (insert_bp_location): Set `reqstd_address' rather than
712 `placed_address'.
713 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
714 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
715 address.
716 (bkpt_remove_location): Likewise.
717 (deprecated_insert_raw_breakpoint): Likewise.
718 (deprecated_remove_raw_breakpoint): Likewise.
719 (find_single_step_breakpoint): Likewise.
720 * mem-break.c (default_memory_insert_breakpoint): Use
721 `reqstd_address' for the breakpoint's address. Don't set
722 `placed_address' or `placed_size' if breakpoint contents couldn't
723 have been determined.
724 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
725 the breakpoint's address.
726 (remote_insert_hw_breakpoint): Likewise. Don't set
727 `placed_address' or `placed_size' if breakpoint couldn't have been
728 set.
729 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
730 `reqstd_address' for the breakpoint's address.
731 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
732 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
733 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
734 * microblaze-linux-tdep.c
735 (microblaze_linux_memory_remove_breakpoint): Likewise.
736 * monitor.c (monitor_insert_breakpoint): Likewise.
737 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
738 (procfs_insert_hw_breakpoint): Likewise.
739 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
740 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
741 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
742 * remote-mips.c (mips_insert_breakpoint): Likewise.
743 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
744
3e871532
LM
7452014-10-03 Luis Machado <lgustavo@codesourcery.com>
746
747 * valops.c (value_assign): Check for bit field assignments
748 before calling architecture-specific register value
749 conversion functions.
750
ec48dc8b
PM
7512014-10-03 Pierre Muller <muller@sourceware.org>
752
753 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
754
b57bacec
PA
7552014-10-02 Pedro Alves <palves@redhat.com>
756
757 * breakpoint.c (breakpoints_should_be_inserted_now): Use
758 threads_are_executing.
759 * breakpoint.h (breakpoints_should_be_inserted_now): Add
760 describing comment.
761 * gdbthread.h (threads_are_executing): Declare.
762 (handle_signal_stop) <random signals>: Don't print about the
763 signal here if stopping.
764 (end_stepping_range): Don't notify observers here.
765 (normal_stop): Update the thread list. If stopped by a random
766 signal or a stepping range ended, notify observers.
767 * thread.c (threads_executing): New global.
768 (init_thread_list): Clear 'threads_executing'.
769 (set_executing): Set or clear 'threads_executing'.
770 (threads_are_executing): New function.
771 (update_threads_executing): New function.
772 (update_thread_list): Use it.
773
13fd3ff3
PA
7742014-10-02 Pedro Alves <palves@redhat.com>
775
776 PR breakpoints/17431
777 * breakpoint.c (update_breakpoints_after_exec): Don't create
778 overlay, longjmp, std terminate nor exception breakpoints here.
779
32990ada
PA
7802014-10-02 Pedro Alves <palves@redhat.com>
781
782 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
783 Adjust comments.
784 * inferior.c (find_inferior_for_program_space): Give preference to
785 the current inferior.
786 * inferior.h (find_inferior_for_program_space): Update comment.
787 * progspace.c (switch_to_program_space_and_thread): Prefer the
788 current inferior if it's bound to the program space requested. If
789 the inferior found doesn't have a PID yet, don't bother looking up
790 a thread.
791 * progspace.h (switch_to_program_space_and_thread): Adjust
792 comment.
793 * thread.c (any_thread_of_process, any_live_thread_of_process):
794 Give preference to the current thread.
795
0fec99e8
PA
7962014-10-01 Pedro Alves <palves@redhat.com>
797
798 * breakpoint.c (insert_bp_location): Error out if inserting a
799 software breakpoint at a read-only address.
800 * target.c (memory_xfer_check_region): New function, factored out
801 from ...
802 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
803 ULONGEST.
804 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
805 against the memory region attributes.
806
2ddf4301
SM
8072014-10-01 Simon Marchi <simon.marchi@ericsson.com>
808
809 * NEWS: Announce new exit-code field in -list-thread-groups
810 output.
811 * inferior.c (exit_inferior_1): Don't clear exit code.
812 (inferior_appeared): Clear exit code.
813 * mi/mi-main.c (print_one_inferior): Add printing of the exit
814 code.
815
5fdeec1d
PA
8162014-10-01 Pedro Alves <palves@redhat.com>
817
818 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
819 GENERATED" along with emacs/vi read-only markers.
820 * regformats/aarch64.dat: Regenerate.
821 * regformats/arm-with-iwmmxt.dat: Regenerate.
822 * regformats/arm-with-neon.dat: Regenerate.
823 * regformats/arm-with-vfpv2.dat: Regenerate.
824 * regformats/arm-with-vfpv3.dat: Regenerate.
825 * regformats/i386/amd64-avx-linux.dat: Regenerate.
826 * regformats/i386/amd64-avx.dat: Regenerate.
827 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
828 * regformats/i386/amd64-avx512.dat: Regenerate.
829 * regformats/i386/amd64-linux.dat: Regenerate.
830 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
831 * regformats/i386/amd64-mpx.dat: Regenerate.
832 * regformats/i386/amd64.dat: Regenerate.
833 * regformats/i386/i386-avx-linux.dat: Regenerate.
834 * regformats/i386/i386-avx.dat: Regenerate.
835 * regformats/i386/i386-avx512-linux.dat: Regenerate.
836 * regformats/i386/i386-avx512.dat: Regenerate.
837 * regformats/i386/i386-linux.dat: Regenerate.
838 * regformats/i386/i386-mmx-linux.dat: Regenerate.
839 * regformats/i386/i386-mmx.dat: Regenerate.
840 * regformats/i386/i386-mpx-linux.dat: Regenerate.
841 * regformats/i386/i386-mpx.dat: Regenerate.
842 * regformats/i386/i386.dat: Regenerate.
843 * regformats/i386/x32-avx-linux.dat: Regenerate.
844 * regformats/i386/x32-avx.dat: Regenerate.
845 * regformats/i386/x32-avx512-linux.dat: Regenerate.
846 * regformats/i386/x32-avx512.dat: Regenerate.
847 * regformats/i386/x32-linux.dat: Regenerate.
848 * regformats/i386/x32.dat: Regenerate.
849 * regformats/microblaze-with-stack-protect.dat: Regenerate.
850 * regformats/mips-dsp-linux.dat: Regenerate.
851 * regformats/mips-linux.dat: Regenerate.
852 * regformats/mips64-dsp-linux.dat: Regenerate.
853 * regformats/mips64-linux.dat: Regenerate.
854 * regformats/nios2-linux.dat: Regenerate.
855 * regformats/rs6000/powerpc-32.dat: Regenerate.
856 * regformats/rs6000/powerpc-32l.dat: Regenerate.
857 * regformats/rs6000/powerpc-64l.dat: Regenerate.
858 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
859 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
860 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
861 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
862 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
863 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
864 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
865 * regformats/s390-linux32.dat: Regenerate.
866 * regformats/s390-linux32v1.dat: Regenerate.
867 * regformats/s390-linux32v2.dat: Regenerate.
868 * regformats/s390-linux64.dat: Regenerate.
869 * regformats/s390-linux64v1.dat: Regenerate.
870 * regformats/s390-linux64v2.dat: Regenerate.
871 * regformats/s390-te-linux64.dat: Regenerate.
872 * regformats/s390x-linux64.dat: Regenerate.
873 * regformats/s390x-linux64v1.dat: Regenerate.
874 * regformats/s390x-linux64v2.dat: Regenerate.
875 * regformats/s390x-te-linux64.dat: Regenerate.
876 * regformats/tic6x-c62x-linux.dat: Regenerate.
877 * regformats/tic6x-c62x.dat: Regenerate.
878 * regformats/tic6x-c64x-linux.dat: Regenerate.
879 * regformats/tic6x-c64x.dat: Regenerate.
880 * regformats/tic6x-c64xp-linux.dat: Regenerate.
881 * regformats/tic6x-c64xp.dat: Regenerate.
882
db74e4ba
PA
8832014-10-01 Pedro Alves <palves@redhat.com>
884
885 * features/Makefile: Update comments.
886 (XMLTOC): List all xml files we build C files from.
887 (clean-cfiles): New rule.
888
d63f2f84
PA
8892014-10-01 Pedro Alves <palves@redhat.com>
890
891 * features/i386/amd64-avx512-linux.c: Regenerate.
892 * features/i386/amd64-avx512.c: Regenerate.
893 * features/i386/x32-avx512-linux.c: Regenerate.
894 * features/i386/x32-avx512.c: Regenerate.
895
20ad026d
PA
8962014-10-01 Pedro Alves <palves@redhat.com>
897
898 * features/Makefile (WHICH): Remove arm-with-m,
899 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
900
acc9fe45
PA
9012014-10-01 Pedro Alves <palves@redhat.com>
902
903 * features/Makefile (clean): New rule.
904
e001e535
PA
9052014-10-01 Pedro Alves <palves@redhat.com>
906
907 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
908 (zmm14h): Add missing end quotes.
909
bdc14417
PA
9102014-10-01 Pedro Alves <palves@redhat.com>
911
912 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
913 * features/aarch64.c: Regenerate.
914
d83ad864
DB
9152014-09-30 Don Breazeal <donb@codesourcery.com>
916
917 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
918 code so as to work with follow_fork_inferior.
919 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
920 (inf_ttrace_create_inferior): Remove reference to
921 inf_ttrace_vfork_ppid.
922 (inf_ttrace_attach): Ditto.
923 (inf_ttrace_detach): Ditto.
924 (inf_ttrace_kill): Use current_inferior instead of
925 inf_ttrace_vfork_ppid.
926 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
927 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
928 inferior away from the parent.
929 * infrun.c (follow_fork): Call follow_fork_inferior instead of
930 target_follow_fork.
931 (follow_fork_inferior): New function.
932 (follow_inferior_reset_breakpoints): Make function static.
933 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
934 * linux-nat.c (linux_child_follow_fork): Move target-independent
935 code to infrun.c:follow_fork_inferior.
936
29082443
AA
9372014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
938
939 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
940 * gdbarch.c: Regenerate.
941 * gdbarch.h: Likewise.
942 * corelow.c (sniff_core_bfd): Drop presence check for deleted
943 gdbarch method 'regset_from_core_section'.
944 (get_core_register_section): Remove handling for the case that
945 regset == NULL and regset_from_core_section is defined.
946 (get_core_registers): Drop check for deleted method.
947 * procfs.c (procfs_do_thread_registers): Adjust comment.
948
f968fe80
AA
9492014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
950
951 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
952 (linux_nat_make_corefile_notes): Remove.
953 (linux_target_install_ops): Do not set target method
954 'make_corefile_notes'.
955 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
956 Remove field.
957 (linux_corefile_thread_callback): Instead of args->collect, call
958 linux_collect_thread_registers.
959 (linux_make_corefile_notes): Remove 'collect' parameter. Return
960 NULL unless there is a regset iterator.
961 (linux_make_corefile_notes_1): Remove.
962 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
963 by linux_make_corefile_notes.
964 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
965
174ad59a
AA
9662014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
967
968 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
969 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
970 Remove.
971 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
972
97094034
AA
9732014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
974
975 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
976 (xtensa_iterate_over_regset_sections): New.
977 (xtensa_gdbarch_init): Adjust gdbarch initialization.
978
f73d3ce7
AA
9792014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
980
981 * vax-tdep.c (vax_regset_from_core_section): Remove.
982 (vax_iterate_over_regset_sections): New.
983 (vax_gdbarch_init): Adjust gdbarch initialization.
984
cb24567a
AA
9852014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
986
987 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
988 (tilegx_regset_from_core_section): Remove.
989 (tilegx_iterate_over_regset_sections): New.
990 (tilegx_linux_init_abi): Adjust gdbarch initialization.
991
e5139de8
AA
9922014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
993
994 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
995 (sparc_iterate_over_regset_sections): New.
996 (sparc32_gdbarch_init): Adjust gdbarch initialization.
997 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
998 targets.
999 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
1000 (sparc64fbsd_init_abi): Call fbsd_init_abi.
1001 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
1002 target method 'make_corefile_notes'.
1003
c6d41a6f
AA
10042014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1005
1006 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
1007 'sizeof_gregset' and 'sizeof_fpregset'.
1008 * sh-tdep.c (sh_regset_from_core_section): Remove.
1009 (sh_iterate_over_regset_sections): New.
1010 (sh_gdbarch_init): Adjust gdbarch initialization.
1011 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
1012 sizeof_fpregset.
1013 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
1014 'sizeof_gregset'.
1015
9845a0b5
AA
10162014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1017
1018 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
1019 (score7_linux_iterate_over_regset_sections): New.
1020 (score_gdbarch_init): Adjust gdbarch initialization.
1021
23ea9aeb
AA
10222014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1023
1024 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
1025 FreeBSD targets.
1026 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
1027 method 'make_corefile_notes'.
1028 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
1029 (ppcfbsd_regset_from_core_section): Remove.
1030 (ppcfbsd_iterate_over_regset_sections): New.
1031 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
1032 initialization.
1033 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
1034 (ppcnbsd_iterate_over_regset_sections): New.
1035 (ppcnbsd_init_abi): Adjust.
1036 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
1037 (ppcobsd_iterate_over_regset_sections): New.
1038 (ppcobsd_init_abi): Adjust.
1039 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
1040 (rs6000_aix_iterate_over_regset_sections): New.
1041 (rs6000_aix_init_osabi): Adjust.
1042
c5b8d704
AA
10432014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1044
1045 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
1046 (nios2_regset_from_core_section): Remove.
1047 (nios2_iterate_over_regset_sections): New.
1048 (nios2_linux_init_abi): Adjust gdbarch initialization.
1049
3636e608
AA
10502014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1051
1052 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
1053 (am33_iterate_over_regset_sections): New.
1054 (am33_linux_init_osabi): Adjust gdbarch initialization.
1055
d4036235
AA
10562014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1057
1058 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
1059 (mips_linux_iterate_over_regset_sections): New.
1060 (mips_linux_init_abi): Adjust gdbarch initialization.
1061 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
1062 (mips64obsd_iterate_over_regset_sections): New.
1063 (mips64obsd_init_abi): Adjust.
1064 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
1065 (mipsnbsd_iterate_over_regset_sections): New.
1066 (mipsnbsd_init_abi): Adjust.
1067
b61ddd6e
AA
10682014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1069
1070 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
1071 (m88k_iterate_over_regset_sections): New.
1072 (m88k_gdbarch_init): Adjust gdbarch initialization.
1073
55a2906a
AA
10742014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1075
1076 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
1077 (ia64_linux_iterate_over_regset_sections): New.
1078 (ia64_linux_init_abi): Adjust gdbarch initialization.
1079
022c98ab
AA
10802014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1081
1082 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
1083 (m68kbsd_iterate_over_regset_sections): New.
1084 (m68kbsd_init_abi): Adjust gdbarch initialization.
1085 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
1086 (m68k_linux_iterate_over_regset_sections): New.
1087 (m68k_linux_init_abi): Adjust gdbarch initialization.
1088
5fac247f
AA
10892014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1090
1091 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
1092 (m32r_linux_regset_from_core_section): Remove.
1093 (m32r_linux_iterate_over_regset_sections): New.
1094 (m32r_linux_init_abi): Adjust gdbarch initialization.
1095
490496c3
AA
10962014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1097
1098 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
1099 (amd64obsd_iterate_over_regset_sections): New.
1100 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
1101 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
1102 Remove.
1103 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
1104 regset_from_core_section initialization.
1105 * i386-tdep.c (i386_regset_from_core_section): Remove.
1106 (i386_iterate_over_regset_sections): New.
1107 (i386_gdbarch_init): Adjust gdbarch initialization.
1108 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
1109 (i386_iterate_over_regset_sections): New prototype.
1110 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
1111 Remove.
1112 (i386obsd_aout_iterate_over_regset_sections): New.
1113 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
1114 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
1115 targets.
1116 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
1117 (amd64fbsd_init_abi): Call fbsd_init_abi.
1118 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
1119 (i386fbsd4_init_abi): Call fbsd_init_abi.
1120 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
1121 target method 'make_corefile_notes'.
1122 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
1123
50c5eb53
AA
11242014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1125
1126 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
1127 (hppa_hpux_iterate_over_regset_sections): New.
1128 (hppa_hpux_init_abi): Adjust gdbarch initialization.
1129 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
1130 (hppa_linux_iterate_over_regset_sections): New.
1131 (hppa_linux_init_abi): Adjust.
1132 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1133 (hppanbsd_iterate_over_regset_sections): New.
1134 (hppanbsd_init_abi): Adjust.
1135 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1136 (hppaobsd_iterate_over_regset_sections): New.
1137 (hppaobsd_init_abi): Adjust.
1138
66afae4f
AA
11392014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1140
1141 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
1142 (frv_linux_iterate_over_regset_sections): New.
1143 (frv_linux_init_abi): Adjust gdbarch initialization.
1144
ed09174e
AA
11452014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1146
1147 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
1148 (armbsd_iterate_over_regset_sections): New prototype.
1149 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
1150 (armbsd_iterate_over_regset_sections): New.
1151 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
1152 initialization.
1153
dff2166e
AA
11542014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1155
1156 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
1157 (alpha_linux_iterate_over_regset_sections): New.
1158 (alpha_linux_init_abi): Adjust gdbarch initialization.
1159 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
1160 prototype.
1161 (alphanbsd_iterate_over_regset_sections): New prototype.
1162
4108500a
AA
11632014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1164
1165 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
1166 Remove.
1167 (aarch64_linux_iterate_over_regset_sections): New.
1168 (aarch64_linux_init_abi): Adjust gdbarch initialization.
1169
a904c024
AA
11702014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1171
1172 * fbsd-tdep.c: New file.
1173 * fbsd-tdep.h: New file.
1174 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
1175 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
1176 (ALLDEPFILES): Add fbsd-tdep.c.
1177
8f0435f7
AA
11782014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1179
1180 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
1181 parameter.
1182 * gdbarch.h: Regenerate.
1183 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
1184 iterator.
1185 (get_core_register_section): Add parameter 'regset' and use it, if
1186 set. Add parameter 'min_size' and verify the bfd section size
1187 against it.
1188 (get_core_registers_cb): Add parameter 'regset' and pass it to
1189 get_core_register section. For the "standard" register sections
1190 ".reg" and ".reg2", set an appropriate default for human_name.
1191 (get_core_registers): Don't abort when the gdbarch has an iterator
1192 but no regset_from_core_section. Add NULL/0 for parameters
1193 'regset'/'min_size' in calls to get_core_register_section.
1194 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
1195 'regset' and use it instead of calling the
1196 regset_from_core_section gdbarch method.
1197 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
1198 * i386-tdep.c (i386_supply_xstateregset)
1199 (i386_collect_xstateregset, i386_xstateregset): Moved to
1200 i386-linux-tdep.c.
1201 (i386_regset_from_core_section): Drop handling for .reg-xfp and
1202 .reg-xstate.
1203 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
1204 core file support only if the regset iterator hasn't been set.
1205 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
1206 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
1207 Moved from i386-tdep.c and renamed to *_linux*.
1208 (i386_linux_iterate_over_regset_sections): Add regset parameter to
1209 each callback invocation. Allow any .reg-xstate size when reading
1210 from a core file.
1211 * amd64-tdep.c (amd64_supply_xstateregset)
1212 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
1213 amd64-linux-tdep.c.
1214 (amd64_regset_from_core_section): Remove.
1215 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
1216 install an amd64-specific regset_from_core_section gdbarch method.
1217 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
1218 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
1219 Moved from amd64-tdep.c and renamed to *_linux*.
1220 (amd64_linux_iterate_over_regset_sections): Add regset parameter
1221 to each callback invocation. Allow any .reg-xstate size when
1222 reading from a core file.
1223 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
1224 (arm_linux_iterate_over_regset_sections): Add regset parameter to
1225 each callback invocation.
1226 (arm_linux_init_abi): No longer set the regset_from_core_section
1227 gdbarch method.
1228 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
1229 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
1230 each callback invocation.
1231 (ppc_linux_init_abi): No longer set the regset_from_core_section
1232 gdbarch method.
1233 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
1234 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
1235 (s390_regset_from_core_section): Remove.
1236 (s390_iterate_over_regset_sections): Add regset parameter to each
1237 callback invocation.
1238 (s390_gdbarch_init): No longer set the regset_from_core_section
1239 gdbarch method. Drop initialization of deleted tdep fields.
1240
5aa82d05
AA
12412014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1242
1243 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
1244 (amd64_linux_iterate_over_regset_sections): New.
1245 (amd64_linux_init_abi_common): Don't install the regset section
1246 list, but the new iterator in gdbarch.
1247 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
1248 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
1249 (arm_linux_iterate_over_regset_sections): ...here. New function.
1250 (arm_linux_init_abi): Set iterator instead of section list.
1251 * corelow.c (get_core_registers_cb): New function, logic moved
1252 from...
1253 (get_core_registers): ...loop body here. Use new iterator method
1254 instead of walking through the regset section list.
1255 * gdbarch.sh: Remove 'core_regset_sections'. New method
1256 'iterate_over_regset_sections'. New typedef
1257 'iterate_over_regset_sections_cb'.
1258 * gdbarch.c: Regenerate.
1259 * gdbarch.h: Likewise.
1260 * i386-linux-tdep.c (i386_linux_regset_sections)
1261 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
1262 Remove.
1263 (i386_linux_iterate_over_regset_sections): New.
1264 (i386_linux_init_abi): Don't choose a regset section list, but
1265 install new iterator in gdbarch.
1266 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
1267 (linux_collect_regset_section_cb): New function, logic moved
1268 from...
1269 (linux_collect_thread_registers): ...loop body here. Use iterator
1270 method instead of walking through list.
1271 (linux_make_corefile_notes_1): Check for presence of iterator
1272 method instead of regset section list.
1273 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
1274 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
1275 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
1276 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
1277 (ppc_linux_iterate_over_regset_sections): ...here. New function.
1278 (ppc_linux_init_abi): Don't choose from above regset section
1279 lists, but install new iterator in gdbarch.
1280 * regset.h (struct core_regset_section): Remove.
1281 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
1282 have_linux_v1, have_linux_v2, and have_tdb.
1283 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
1284 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
1285 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
1286 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
1287 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
1288 (s390_iterate_over_regset_sections): ...here. New function. Use
1289 new tdep fields.
1290 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
1291 regset section lists, but install new iterator.
1292
2eca4a8d
JK
12932014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1294
1295 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
1296
a73c2b56
SM
12972014-09-26 Simon Marchi <simon.marchi@ericsson.com>
1298
1299 * progspace.c (print_program_space): Don't prune program spaces
1300 before printing them.
1301
03d46957
PA
13022014-09-25 Pedro Alves <palves@redhat.com>
1303
1304 * infrun.c (user_visible_resume_ptid): Don't check
1305 singlestep_breakpoints_inserted_p.
1306
e558d7c1
PA
13072014-09-25 Pedro Alves <palves@redhat.com>
1308
1309 * breakpoint.c (should_be_inserted): Add debug output.
1310
7f89fd65
PA
13112014-09-25 Pedro Alves <palves@redhat.com>
1312
1313 * infrun.c (stepping_past_instruction_at)
1314 (clear_exit_convenience_vars): Point at infrun.h instead of
1315 inferior.h.
1316 (handle_signal_stop): Fix typo.
1317
b7576e5c
YQ
13182014-09-24 Yao Qi <yao@codesourcery.com>
1319
1320 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
1321 bitmask.
1322
9a6cf368
GB
13232014-09-22 Gary Benson <gbenson@redhat.com>
1324
1325 * target.c (target_stop): Updated comment.
1326
03f4463b
GB
13272014-09-22 Gary Benson <gbenson@redhat.com>
1328
1329 * target/target.h (target_stop_ptid): Renamed as...
1330 (target_stop_and_wait): New function. Updated comment.
1331 All uses updated.
1332 (target_continue_ptid): Renamed as...
1333 (target_continue_no_signal): New function. Updated comment.
1334 All uses updated.
1335
a25a5a45
PA
13362014-09-22 Pedro Alves <palves@redhat.com>
1337
1338 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
1339 and "auto" merged.
1340 * breakpoint.c (enum ugll_insert_mode): New enum.
1341 (always_inserted_mode): Now a plain boolean.
1342 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
1343 (breakpoints_always_inserted_mode): Delete.
1344 (breakpoints_should_be_inserted_now): New function.
1345 (insert_breakpoints): Pass UGLL_INSERT to
1346 update_global_location_list instead of calling
1347 insert_breakpoint_locations manually.
1348 (create_solib_event_breakpoint_1): New, factored out from ...
1349 (create_solib_event_breakpoint): ... this.
1350 (create_and_insert_solib_event_breakpoint): Use
1351 create_solib_event_breakpoint_1 instead of calling
1352 insert_breakpoint_locations manually.
1353 (update_global_location_list): Change parameter type from boolean
1354 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1355 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1356 (update_global_location_list_nothrow): Change parameter type from
1357 boolean to enum ugll_insert_mode.
1358 (_initialize_breakpoint): "breakpoint always-inserted" option is
1359 now a boolean command. Update help text.
1360 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
1361 (breakpoints_should_be_inserted_now): New declaration.
1362 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
1363 Remove breakpoints_always_inserted_mode check.
1364 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
1365 * remote.c (remote_start_remote): Likewise.
1366
04086b45
PA
13672014-09-22 Pedro Alves <palves@redhat.com>
1368
1369 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
1370 (insert_breakpoints): Don't call insert_breakpoint_locations here.
1371 Instead, pass UGLL_INSERT to update_global_location_list.
1372 (update_global_location_list): Change parameter type from boolean
1373 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1374 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1375 (create_solib_event_breakpoint_1): New, factored out from ...
1376 (create_solib_event_breakpoint): ... this.
1377 (create_and_insert_solib_event_breakpoint): Use
1378 create_solib_event_breakpoint_1 instead of calling
1379 insert_breakpoint_locations manually.
1380 (update_global_location_list): Handle UGLL_INSERT.
1381
44702360
PA
13822014-09-22 Pedro Alves <palves@redhat.com>
1383
1384 * breakpoint.c (enum ugll_insert_mode): New enum.
1385 (update_global_location_list)
1386 (update_global_location_list_nothrow): Change parameter type from
1387 boolean to enum ugll_insert_mode. All callers adjusted.
1388
93c6145a
JB
13892014-09-19 Joel Brobecker <brobecker@adacore.com>
1390
1391 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
1392 SystemTap support in GDB.
1393
89a5711c
DB
13942014-09-19 Don Breazeal <donb@codesourcery.com>
1395
1396 * linux-nat.c (linux_handle_extended_wait): Call
1397 linux_ptrace_get_extended_event.
1398 (wait_lwp): Call linux_is_extended_waitstatus.
1399 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
1400 and linux_is_extended_waitstatus.
1401 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
1402 linux_ptrace_get_extended_event.
1403 (linux_ptrace_get_extended_event): New function.
1404 (linux_is_extended_waitstatus): New function.
1405 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
1406 (linux_is_extended_waitstatus): New declarations.
1407
c3b7b696
YQ
14082014-09-19 Yao Qi <yao@codesourcery.com>
1409
1410 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1411 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
1412 comments. Callers update.
1413 (dwarf_decode_lines): Likewise.
1414 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
1415 comments. Skip the line table if 'lowpc' is greater than
1416 'address'. Don't check
1417 dwarf2_per_objfile->has_section_at_zero.
1418
2b4fd423
DE
14192014-09-18 Doug Evans <dje@google.com>
1420
1421 * NEWS: Mention new "producer" attribute of gdb.Symtab.
1422 * python/py-symtab.c (stpy_get_producer): New function.
1423 (symtab_object_getset): Add "producer" attribute.
1424
5e43d467
UW
14252014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
1426
1427 PR gdb/17384
1428 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
1429 (do_captured_read_memory_integer): Remove.
1430 (safe_read_memory_integer): Use target_read_memory directly instead
1431 of catching errors in do_captured_read_memory_integer.
1432
04e79979
MR
14332014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
1434
1435 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
1436 not gdb/doc.
1437
76aeec5b
SDJ
14382014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1439
1440 * objc-lang.c (find_implementation_from_class): Remove dead code.
1441
2f693f9d
SDJ
14422014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1443
1444 PR cli/7233
1445 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
1446 "fprintf_unfiltered (gdb_stdlog...)".
1447
bb9d5f81
PP
14482014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1449
1450 PR breakpoints/12526
1451 * breakpoint.h (struct watchpoint): New fields val_bitpos and
1452 val_bitsize.
1453 * breakpoint.c (watch_command_1): Use these fields to retain
1454 bitfield information.
1455 (extract_bitfield_from_watchpoint_value): New function.
1456 (watchpoint_check): Use it.
1457 (update_watchpoint): Use it. Optimize the address and length of a
1458 HW watchpoint pointing to a bitfield.
1459 * value.h (unpack_value_bitfield): New prototype.
1460 * value.c (unpack_value_bitfield): Make extern.
1461
05db5edd
ST
14622014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1463
1464 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
1465 x86-dregs.o.
1466 * gnu-nat.c (inf_threads): New function.
1467 * gnu-nat.h (inf_threads_ftype): New typedef.
1468 (inf_threads): New declaration.
1469 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
1470 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
1471 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
1472 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
1473 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
1474 (i386_gnu_dr_get_control): New functions.
1475 (reg_addr): New structure.
1476 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
1477 i386 debugging register hooks.
1478 * NEWS: Mention this.
1479
5a578da5
OJ
14802014-08-13 Omair Javaid <omair.javaid@linaro.org>
1481
1482 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
1483 vector data transfer instructions.
1484 (arm_record_coproc_data_proc): Updated.
1485
f20f80dd
OJ
14862014-08-13 Omair Javaid <omair.javaid@linaro.org>
1487
1488 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
1489 arm_record_exreg_ld_st_insn.
1490 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
1491 load/store insns.
1492
851f26ae
OJ
14932014-08-13 Omair Javaid <omair.javaid@linaro.org>
1494
1495 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
1496 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
1497 processing instructions.
1498
1e1b6563
OJ
14992014-08-13 Omair Javaid <omair.javaid@linaro.org>
1500
1501 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
1502 for advance SIMD struct ld/st insn.
1503 (thumb2_record_decode_insn_handler): Replace stub handler with
1504 thumb2_record_asimd_struct_ld_st.
1505
60cc5e93
OJ
15062014-08-13 Omair Javaid <omair.javaid@linaro.org>
1507
1508 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
1509 for asimd, vfp and coprocessor insns.
1510 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
1511 and coprocessor insns.
1512 (thumb2_record_coproc_insn): New function.
1513 (thumb2_record_decode_insn_handler): Update coprocessor insns record
1514 handlers.
1515 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
1516 opcode 110 insns.
1517
81219e53
DE
15182014-09-13 Doug Evans <xdje42@gmail.com>
1519
1520 * NEWS: Mention new "queue-signal" command.
1521 * infcmd.c (queue_signal_command): New function.
1522 (_initialize_infcmd): Add new queue-signal command.
1523
d36bf488
DE
15242014-09-13 Doug Evans <xdje42@gmail.com>
1525
1526 * linux-nat.c (wait_lwp): Add debugging printf.
1527 (linux_nat_wait_1): Ditto.
1528
f37f681c
PA
15292014-09-12 Pedro Alves <palves@redhat.com>
1530
1531 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
1532 (create_and_insert_solib_event_breakpoint): New functions.
1533 * breakpoint.h (create_and_insert_solib_event_breakpoint)
1534 (remove_solib_event_breakpoints_at_next_stop): New declarations.
1535 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
1536 (remove_dbx_link_breakpoint): Delete function.
1537 (insert_dbx_link_bpt_in_file): Use
1538 create_and_insert_solib_event_breakpoint instead of
1539 deprecated_insert_raw_breakpoint.
1540 (procfs_wait): Don't check whether we hit __dbx_link here.
1541 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
1542 here.
1543 * solib-irix.c (base_breakpoint): Delete global.
1544 (disable_break): Delete function.
1545 (enable_break): Use create_solib_event_breakpoint
1546 instead of deprecated_insert_raw_breakpoint.
1547 (irix_solib_handle_event): New function.
1548 (irix_solib_create_inferior_hook): Don't run the target or disable
1549 the mapping-complete breakpoint here.
1550 (_initialize_irix_solib): Install irix_solib_handle_event as
1551 so_ops->handle_event hook.
1552
9d9bf2df
EBM
15532014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1554 Ulrich Weigand  <uweigand@de.ibm.com>
1555
1556 PR tdep/17379
1557 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
1558 instead of read_memory_unsigned_integer.
1559
b006a80e
GB
15602014-09-12 Gary Benson <gbenson@redhat.com>
1561
1562 * nat/linux-waitpid.c: Include common-defs.h.
1563 [GDBSERVER]: Add FIXME comment.
1564 [!GDBSERVER]: Don't include defs.h or signal.h.
1565 (linux_debug) [!GDBSERVER]: Remove empty block.
1566
296b1496
GB
15672014-09-12 Gary Benson <gbenson@redhat.com>
1568
1569 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
1570 Don't include defs.h or server.h.
1571
53f81362
GB
15722014-09-12 Gary Benson <gbenson@redhat.com>
1573
1574 * nat/linux-btrace.c: Include common-defs.h.
1575 Don't include defs.h, server.h or gdbthread.h.
1576 * nat/linux-btrace.h (struct target_ops): New forward declaration.
1577
727605ca
GB
15782014-09-12 Gary Benson <gbenson@redhat.com>
1579
1580 * common/agent.c: Include common-defs.h.
1581 Don't include defs.h or server.h.
1582 * common/buffer.c: Likewise.
1583 * common/common-debug.c: Likewise.
1584 * common/common-utils.c: Likewise.
1585 * common/errors.c: Likewise.
1586 * common/filestuff.c: Likewise.
1587 * common/format.c: Likewise.
1588 * common/gdb_vecs.c: Likewise.
1589 * common/print-utils.c: Likewise.
1590 * common/ptid.c: Likewise.
1591 * common/rsp-low.c: Likewise.
1592 * common/signals.c: Likewise.
1593 * common/vec.c: Likewise.
1594 * common/xml-utils.c: Likewise.
1595 * nat/linux-osdata.c: Likewise.
1596 * nat/linux-procfs.c: Likewise.
1597 * nat/linux-ptrace.c: Likewise.
1598 * nat/mips-linux-watch.c: Likewise.
1599 * target/waitstatus.c: Likewise.
1600
361c8ade
GB
16012014-09-12 Tom Tromey <tromey@redhat.com>
1602 Gary Benson <gbenson@redhat.com>
1603
1604 * common/common-regcache.h: New file.
1605 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
1606 * regcache.h: Include common-regcache.h.
1607 (regcache_read_pc): Don't declare.
1608 * regcache.c (get_thread_regcache_for_ptid): New function.
1609 * nat/linux-btrace.c: Don't include regcache.h.
1610 Include common-regcache.h.
1611 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
1612
a01cbb49
TS
16132014-09-11 Thomas Schwinge <thomas@codesourcery.com>
1614
1615 * regcache.h (struct regset): Declare.
1616
98880d46
PA
16172014-09-11 Pedro Alves <palves@redhat.com>
1618
1619 PR gdb/17347
1620 * main.c: Include "infrun.h".
1621 (catch_command_errors, catch_command_errors_const): Wait for the
1622 foreground command to complete.
1623 * top.c (maybe_wait_sync_command_done): New function, factored out
1624 from ...
1625 (maybe_wait_sync_command_done): ... here.
1626 * top.h (maybe_wait_sync_command_done): New declaration.
1627
bd9269f7
GB
16282014-09-11 Tom Tromey <tromey@redhat.com>
1629 Gary Benson <gbenson@redhat.com>
1630
1631 * common/symbol.h: New file.
1632 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
1633 * minsyms.c (find_minimal_symbol_address): New function.
1634 * common/agent.c: Include common/symbol.h.
1635 [!GDBSERVER]: Don't include objfiles.h.
1636 (agent_look_up_symbols): Use find_minimal_symbol_address.
1637
f8c1d06b
GB
16382014-09-11 Gary Benson <gbenson@redhat.com>
1639
1640 * target/target.h (target_stop_ptid, target_continue_ptid):
1641 Declare.
1642 * target.c (target_stop_ptid, target_continue_ptid): New
1643 functions.
1644 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
1645 (agent_run_command): Always use target_stop_ptid and
1646 target_continue_ptid.
1647
721ec300
GB
16482014-09-11 Tom Tromey <tromey@redhat.com>
1649 Gary Benson <gbenson@redhat.com>
1650
1651 * target/target.h: New file.
1652 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
1653 * target.h: Include target/target.h.
1654 (target_read_memory, target_write_memory): Don't declare.
1655 * target.c (target_read_uint32): New function.
1656 * common/agent.c: Include target/target.h.
1657 [!GDBSERVER]: Don't include target.h.
1658 (helper_thread_id): Type changed to uint32_t.
1659 (agent_get_helper_thread_id): Use target_read_uint32.
1660 (agent_run_command): Always use target_read_memory and
1661 target_write_memory.
1662 (agent_capability): Type changed to uint32_t.
1663 (agent_capability_check): Use target_read_uint32.
1664
c5e92cca
GB
16652014-09-11 Gary Benson <gbenson@redhat.com>
1666
1667 * common/common-debug.h (show_debug_regs): Declare.
1668 * common/common-debug.c (show_debug_regs): Define.
1669 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
1670 all uses with show_debug_regs. Replace all uses that considered
1671 debug_hw_points as a multi-value integer with straight boolean
1672 uses.
1673 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
1674 with show_debug_regs.
1675 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
1676 all uses with show_debug_regs.
1677 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
1678 uses with show_debug_regs.
1679
eeef931a
UW
16802014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
1681
1682 * findvar.c (address_from_register): Handle targets requiring
1683 a special conversion routine even for plain pointer types.
1684
8efa9855
UW
16852014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
1686
1687 * rs6000-nat.c (exec_one_dummy_insn): Remove.
1688 (store_register): Do not call exec_one_dummy_insn.
1689
eb479039
JB
16902014-09-10 Joel Brobecker <brobecker@adacore.com>
1691
1692 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
1693 dereference it first. Use value_enclosing_type instead of
1694 value_type.
1695 (ada_array_length): Likewise.
1696
deede10c
JB
16972014-09-10 Joel Brobecker <brobecker@adacore.com>
1698
1699 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
1700 Adjust function implementation and documentation accordingly.
1701 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
1702 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
1703 Update call to ada_value_ptr_subscript.
1704
7828a5f5
JB
17052014-09-10 Joel Brobecker <brobecker@adacore.com>
1706
1707 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
1708 instead of VAL's type.
1709
35782f14
JB
17102014-09-10 Joel Brobecker <brobecker@adacore.com>
1711
1712 * amd64-linux-nat.c: Add <sys/uio.h> #include.
1713
d342a0da
DE
17142014-09-09 Doug Evans <xdje42@gmail.com>
1715
1716 PR guile/17367
1717 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
1718 last parameter to pkg-config, not first.
1719 * configure.ac: Pass --with-guile provided pkg-config path to
1720 GDB_GUILE_PROGRAM_NAMES.
1721 * configure: Regenerate.
1722
b4a3d263
GKB
17232014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
1724
1725 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
1726 Bertazi".
1727
6e466374
MR
17282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1729
1730 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
1731 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
1732 the list of sections determining GDB_OSABI_IRIX.
1733
a1ada89a
JH
17342014-09-09 James Hogan <james.hogan@imgtec.com>
1735
1736 * MAINTAINERS (Write After Approval): Add "James Hogan".
1737
86db008d
JH
17382014-09-09 James Hogan <james.hogan@imgtec.com>
1739
1740 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
1741
72fde3df
JB
17422014-09-09 Joel Brobecker <brobecker@adacore.com>
1743
1744 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
1745
92d8d229
DE
17462014-09-08 Doug Evans <xdje42@gmail.com>
1747
1748 PR 17247
1749 * guile.c: #include <signal.h>.
1750 (_initialize_guile): Block SIGCHLD while initializing Guile.
1751
1752 Replaces the following, which is reverted.
1753
1754 2014-07-26 Doug Evans <xdje42@gmail.com>
1755
1756 PR 17185
1757 * configure.ac: Add check for header gc/gc.h.
1758 Add check for function setenv.
1759 * configure: Regenerate.
1760 * config.in: Regenerate.
1761 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1762
d81412aa
DE
17632014-09-08 Doug Evans <xdje42@gmail.com>
1764
1765 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
1766 with named constant. Fix style of pointer comparison.
1767 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
1768
a9f116cb
GKB
17692014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1770
1771 PR gdb/17035
1772 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
1773 decide whether we display the command on "show user".
1774 * cli/cli-script.c (show_user_1): Only verify cmdlines after
1775 printing command name.
1776 * cli/cli-decode.h (cli_user_command_p): Declare new function.
1777 * cli/cli-decode.c (cli_user_command_p): Create helper function
1778 to verify whether cmd_list_element is a user-defined command.
1779
c75bd3a2
JK
17802014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1781
1782 PR python/17355
1783 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
1784 Fix goto out of TRY_CATCH.
1785
faa42425 17862014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 1787 Tom Tromey <tromey@redhat.com>
faa42425
DE
1788
1789 PR 15276
1790 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
1791 $_any_caller_matches.
1792 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
1793 * python/lib/gdb/function/caller_is.py: New file.
1794
0d41ba00
DE
17952014-09-06 Doug Evans <xdje42@gmail.com>
1796
1797 * infcmd.c (program_info): Fix typo.
1798
474ca4f6
SDJ
17992014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1800
1801 PR gdb/17235
1802 * stap-probe.c (stap_parse_single_operand): Delete unused variable
1803 'number'. New variable 'has_digit'. Rewrite code to deal with
1804 subexpressions on SDT probes.
1805
ebf13736
PA
18062014-09-04 Pedro Alves <palves@redhat.com>
1807
1808 * c-exp.y (parse_number): Skip handling base-switching prefixes if
1809 the input is only one character long.
1810
eb0b0463
SDJ
18112014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1812
1813 PR fortran/17237
1814 * f-valprint.c (f_val_print): Specify the correct print option to
1815 use when printing integer values.
1816
5ee44bfa
GB
18172014-09-04 Gary Benson <gbenson@redhat.com>
1818
1819 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
1820 Remove code to cope with LWPs wrapped as PIDs.
1821 Add assertions to ensure no wrapped LWPs are passed.
1822
4875ffdb
PA
18232014-09-04 Pedro Alves <palves@redhat.com>
1824
1825 * value.c (value_ranges_copy_adjusted): New function, factored out
1826 from ...
1827 (value_contents_copy_raw): ... here.
1828 (unpack_value_bits_as_long_1): Rename back to ...
1829 (unpack_bits_as_long): ... this. Remove 'original_value' and
1830 'result' parameters. Change return type to LONGEST.
1831 (unpack_value_bits_as_long): Delete.
1832 (unpack_value_field_as_long_1): Delete.
1833 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
1834 (unpack_value_bitfield): New function.
1835 (value_field_bitfield): Reimplement using unpack_value_bitfield.
1836 (value_fetch_lazy): Use unpack_value_bitfield.
1837 * value.h (unpack_value_bits_as_long): Delete declaration.
1838
5f3b99cf
SS
18392014-09-03 Sasha Smundak <asmundak@google.com>
1840
1841 * python/py-frame.c (frapy_read_register): New function.
1842
ac740bc7
JH
18432014-09-03 James Hogan <james.hogan@imgtec.com>
1844
1845 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
1846 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
1847
7d793aa9
SDJ
18482014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1849
1850 PR python/16699
1851 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
1852 function.
1853 (add_cmd): Set "completer_handle_brkchars" to NULL.
1854 * cli/cli-decode.h (struct cmd_list_element)
1855 <completer_handle_brkchars>: New field.
1856 * command.h (completer_ftype_void): New typedef.
1857 (set_cmd_completer_handle_brkchars): New prototype.
1858 * completer.c (set_gdb_completion_word_break_characters): New
1859 function.
1860 (complete_line_internal): Call "completer_handle_brkchars"
1861 callback from command.
1862 * completer.h: Include "command.h".
1863 (set_gdb_completion_word_break_characters): New prototype.
1864 * python/py-cmd.c (cmdpy_completer_helper): New function.
1865 (cmdpy_completer_handle_brkchars): New function.
1866 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
1867 (cmdpy_init): Set completer_handle_brkchars to
1868 cmdpy_completer_handle_brkchars.
1869
97ea6506
GB
18702014-09-03 Gary Benson <gbenson@redhat.com>
1871
1872 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
1873 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
1874 Loop conditions changed to equivalent form.
1875 (struct x86_debug_reg_state): Updated dr_ref_count comment.
1876 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
1877 ALL_DEBUG_ADDRESS_REGISTERS.
1878
d1437815
JB
18792014-09-03 Joel Brobecker <brobecker@adacore.com>
1880
1881 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
1882 description fix.
1883
9b94fcf1
DE
18842014-09-02 Doug Evans <dje@google.com>
1885
1886 * typeprint.c (find_global_typedef): Fix comment.
1887
df7e5265
GB
18882014-09-02 Gary Benson <gbenson@redhat.com>
1889
1890 * i386-nat.h: Renamed as...
1891 * x86-nat.h: New file. All type, function and variable name
1892 prefixes changed from "i386_" to "x86_". All references updated.
1893 * i386-nat.c: Renamed as...
1894 * x86-nat.c: New file. All type, function and variable name
1895 prefixes changed from "i386_" to "x86_". All references updated.
1896 * common/i386-xstate.h: Renamed as...
1897 * common/x86-xstate.h: New file. All type, function and variable
1898 name prefixes changed from "i386_" to "x86_". All references
1899 updated.
1900 * nat/i386-cpuid.h: Renamed as...
1901 * nat/x86-cpuid.h: New file. All type, function and variable name
1902 prefixes changed from "i386_" to "x86_". All references updated.
1903 * nat/i386-gcc-cpuid.h: Renamed as...
1904 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
1905 name prefixes changed from "i386_" to "x86_". All references
1906 updated.
1907 * nat/i386-dregs.h: Renamed as...
1908 * nat/x86-dregs.h: New file. All type, function and variable name
1909 prefixes changed from "i386_" to "x86_". All references updated.
1910 * nat/i386-dregs.c: Renamed as...
1911 * nat/x86-dregs.c: New file. All type, function and variable name
1912 prefixes changed from "i386_" to "x86_". All references updated.
1913
1c3569d4
MR
19142014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
1915
1916 * varobj.c (_initialize_varobj): Move to the end of file.
1917
ff55e1b5
GB
19182014-08-29 Gary Benson <gbenson@redhat.com>
1919
1920 * common/common-exceptions.h: New file.
1921 * common/common-exceptions.c: Likewise.
1922 * Makefile.in (SFILES): Add common/common-exceptions.c.
1923 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
1924 (COMMON_OBS): Add common-exceptions.o.
1925 (common-exceptions.o): New rule.
1926 * exceptions.h (common-exceptions.h): Include.
1927 (gdb_setjmp.h): Do not include.
1928 (return_reason): Moved to common-exceptions.h.
1929 (enum return_reason): Likewise.
1930 (RETURN_MASK): Likewise.
1931 (typedef return_mask): Likewise.
1932 (enum errors): Likewise.
1933 (struct gdb_exception): Likewise.
1934 (exceptions_state_mc_init): Likewise.
1935 (exceptions_state_mc_action_iter): Likewise.
1936 (exceptions_state_mc_action_iter_1): Likewise.
1937 (TRY_CATCH): Likewise.
1938 (throw_exception): Likewise.
1939 (throw_verror): Likewise.
1940 (throw_vquit): Likewise.
1941 (throw_error): Likewise.
1942 (throw_quit): Likewise.
1943 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
1944 (enum catcher_action): Likewise.
1945 (struct catcher): Likewise.
1946 (current_catcher): Likewise.
1947 (catcher_list_size): Likewise.
1948 (exceptions_state_mc_init): Likewise.
1949 (catcher_pop): Likewise.
1950 (exceptions_state_mc): Likewise.
1951 (exceptions_state_mc_action_iter): Likewise.
1952 (exceptions_state_mc_action_iter_1): Likewise.
1953 (throw_exception): Likewise.
1954 (exception_messages): Likewise.
1955 (exception_messages_size): Likewise.
1956 (throw_it): Likewise.
1957 (throw_verror): Likewise.
1958 (throw_vquit): Likewise.
1959 (throw_error): Likewise.
1960 (throw_quit): Likewise.
1961 (prepare_to_throw_exception): New function.
1962
e9bcb658
GB
19632014-08-29 Gary Benson <gbenson@redhat.com>
1964
1965 * common/gdb_setjmp.h: New file.
1966 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
1967 * configure.ac: Move sigsetjmp check...
1968 * common/common.m4: ...here.
1969 * configure: Regenerate.
1970 * cp-support.c (SIGJMP_BUF): Delete.
1971 (SIGSETJMP): Likewise.
1972 (SIGLONGJMP): Likewise.
1973 * exceptions.h (gdb_setjmp.h): Include.
1974 (setjmp.h): Do not include.
1975 (EXCEPTIONS_SIGJMP_BUF): Delete.
1976 (EXCEPTIONS_SIGSETJMP): Likewise.
1977 (EXCEPTIONS_SIGLONGJMP): Likewise.
1978 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
1979 from gdb_setjmp.h.
1980 * exceptions.c: Likewise.
1981
e3180625
GB
19822014-08-29 Gary Benson <gbenson@redhat.com>
1983
1984 * cleanups.h: Moved to...
1985 * common/cleanups.h: New file.
1986 * cleanups.c: Moved to...
1987 * common/cleanups.c: New file. Include common-defs.h and
1988 cleanups.h. Do not include defs.h.
1989 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
1990 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
1991 (cleanups.o): New rule.
1992
e3d6ba5d
GB
19932014-08-29 Gary Benson <gbenson@redhat.com>
1994
1995 * common/errors.h (internal_warning): New declaration.
1996 (internal_vwarning): Likewise.
1997 * common/errors.c (internal_warning): New function.
1998 * utils.h (internal_warning): Don't declare.
1999 (internal_vwarning): Likewise.
2000 * utils.c (internal_warning): Removed.
2001
075c7033
GB
20022014-08-29 Gary Benson <gbenson@redhat.com>
2003
2004 * main.c (captured_main): Use warning during startup.
2005 Prefix startup warning messages with command name.
2006
91b35fd0
GB
20072014-08-29 Gary Benson <gbenson@redhat.com>
2008
2009 * main.c (captured_main): Handle usage errors with error.
2010
b1ec390e
GB
20112014-08-29 Gary Benson <gbenson@redhat.com>
2012
2013 * go32-nat.c (go32_create_inferior): Replace a fprintf/
2014 exit pair with a call to error. Wrap the message with _().
2015
fd0ef3dd
GB
20162014-08-29 Gary Benson <gbenson@redhat.com>
2017
2018 * main.c (captured_main): Replace a fprintf/exit
2019 pair with a call to error. Wrap the message with _().
2020
e0e6bcab
GB
20212014-08-29 Gary Benson <gbenson@redhat.com>
2022
2023 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
2024 pairs with calls to error. Wrap the message with _().
2025
0d2f5c07
GB
20262014-08-29 Gary Benson <gbenson@redhat.com>
2027
2028 * utils.c (vwarning): Protect calls to target_terminal_ours
2029 and wrap_here.
2030
5df43998
GB
20312014-08-29 Gary Benson <gbenson@redhat.com>
2032
2033 * exceptions.c (print_flush): Protect calls to
2034 target_terminal_ours and wrap_here.
2035
2437fd32
GB
20362014-08-29 Gary Benson <gbenson@redhat.com>
2037
2038 * utils.h (filtered_printing_initialized): New declaration.
2039 * utils.c (abort_with_message): New function.
2040 (internal_vproblem): Use abort_with_message for first level
2041 recursive internal problems, and if gdb_stderr is not set up.
2042 Protect calls to target_terminal_ours, begin_line and query.
2043
f1f58506
DE
20442014-08-28 Doug Evans <dje@google.com>
2045
2046 * symtab.c (in_prologue): Move definition to better spot.
2047 (skip_prologue_using_sal): Ditto.
2048
aab2f208
DE
20492014-08-28 Doug Evans <dje@google.com>
2050
2051 * symtab.c (find_function_start_sal): Move definition to better spot.
2052
6b65d1b6
YQ
20532014-08-28 Yao Qi <yao@codesourcery.com>
2054
2055 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
2056 found_stack_adjust in forward scan. Remove condition check
2057 on found_stack_adjust which is always true. Indent the code.
2058
a1b34d15
YQ
20592014-08-28 Yao Qi <yao@codesourcery.com>
2060
2061 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2062 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
2063 (dwarf_decode_lines): Remove argument
2064 want_line_info. Remove condition check on want_line_info.
2065 Callers update.
2066
d5962de5
DE
20672014-08-27 Doug Evans <dje@google.com>
2068
2069 * dwarf2read.c (dwarf_record_line): Fix typo.
2070
9b139002
SDJ
20712014-08-27 Patrick Palka <patrick@parcs.ath.cx>
2072
2073 * target.h (struct target_ops::to_terminal_save_ours): Remove
2074 declaration.
2075 (target_terminal_save_ours): Remove macro.
2076 * target-delegates.c: Regenerate.
2077 * inf-child.c (inf_child_target): Don't set the nonexistent
2078 field to_terminal_save_ours.
2079 * inferior.h (child_terminal_save_ours): Remove declaration.
2080 * terminal.h (gdb_save_tty_state): New declaration.
2081 * inflow.c (child_terminal_save_ours): Rename to ...
2082 (gdb_save_tty_state): ... this.
2083 * tui/tui.c: Include terminal.h.
2084 (tui_enable): Use gdb_save_tty_state instead of
2085 target_terminal_save_ours.
2086 (tui_disable): Likewise.
2087
9debeba0
DE
20882014-08-25 Doug Evans <dje@google.com>
2089
2090 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
2091 Pass NULL instead of 0 for context pointer.
2092
428fc5fc
YQ
20932014-08-25 Yao Qi <yao@codesourcery.com>
2094
2095 * dwarf2read.c: Fix grammatical error.
2096
cdc07690
YQ
20972014-08-24 Yao Qi <yao@codesourcery.com>
2098
2099 * dwarf2read.c (scan_partial_symbols): Update comments.
2100 Rename argument 'need_pc' with 'set_addrmap'.
2101 (add_partial_namespace): Rename argument 'need_pc' with
2102 'set_addrmap'.
2103 (add_partial_module): Likewise.
2104 (add_partial_subprogram): Likewise. Update comments.
2105 (dwarf2_name): Fix typo.
2106
a05a36a5
DE
21072014-08-22 Doug Evans <dje@google.com>
2108
2109 PR 17276
2110 * dwarf2read.c (dwarf_record_line_p): New function.
2111 (dwarf_decode_lines_1): Ignore subsequent line number entries
2112 for the same line if any entry had a non-zero discriminator.
2113
252a6764
DE
21142014-08-22 Doug Evans <dje@google.com>
2115
2116 * buildsym.h (record_line_ftype): New typedef.
2117 (record_line): Use it.
2118 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
2119 (dwarf_decode_lines_1): Call them.
2120
510db052
YQ
21212014-08-22 Yao Qi <yao@codesourcery.com>
2122
2123 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
2124 (ctf_end): Remove code.
2125
22fd09ae
JK
21262014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2127
2128 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
2129 (linux_make_corefile_notes): call update_thread_list, protected against
2130 exceptions.
2131
656e8868
PA
21322014-08-21 Pedro Alves <palves@redhat.com>
2133
2134 * infcmd.c (attach_command): Remove comment.
2135
de589d04
WN
21362014-08-21 Bin Cheng <bin.cheng@arm.com>
2137
2138 * aarch64-linux-nat.c (dr_changed_t): Change the type from
2139 unsigned LONGEST to ULONGEST.
2140
2a31c623
PA
21412014-08-20 Pedro Alves <palves@redhat.com>
2142
2143 * Makefile.in (check-read1): New rule.
2144
d36430db
JB
21452014-08-20 Joel Brobecker <brobecker@adacore.com>
2146
2147 * value.c (value_from_contents_and_address): Strip resolved_type's
2148 typedef layers before checking its TYPE_DATA_LOCATION.
2149
000339af
PA
21502014-08-20 Pedro Alves <palves@redhat.com>
2151
2152 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
2153
5f52445b
YQ
21542014-08-20 Yao Qi <yao@codesourcery.com>
2155
2156 * amd64-tdep.c (amd64_classify): Add a blank line after the
2157 example. Move "*/" to a new line.
2158 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
2159 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
2160 * dwarf2read.c (psymtab_include_file_name): Likewise.
2161
9a0dc9e3
PA
21622014-08-19 Andrew Burgess <aburgess@broadcom.com>
2163 Pedro Alves <palves@redhat.com>
2164
2165 PR symtab/14604
2166 PR symtab/14605
2167 * ada-lang.c (coerce_unspec_val_to_type): Use
2168 value_contents_copy_raw.
2169 * ada-valprint.c (val_print_packed_array_elements): Adjust.
2170 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
2171 * cp-valprint.c (cp_print_value_fields): Let the common printing
2172 code handle optimized out values.
2173 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
2174 * d-valprint.c (dynamic_array_type): Use
2175 value_bits_any_optimized_out.
2176 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
2177 check_any_valid fields.
2178 (check_pieced_value_bits): Delete and inline ...
2179 (check_pieced_synthetic_pointer): ... here.
2180 (check_pieced_value_validity): Delete.
2181 (check_pieced_value_invalid): Delete.
2182 (pieced_value_funcs): Remove check_validity and check_any_valid
2183 fields.
2184 (read_pieced_value): Use mark_value_bits_optimized_out.
2185 (write_pieced_value): Switch to use
2186 mark_value_bytes_optimized_out.
2187 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
2188 of assuming the whole value is optimized out.
2189 * findvar.c (read_frame_register_value): Remove special handling
2190 of optimized out registers.
2191 (value_from_register): Use mark_value_bytes_optimized_out.
2192 * frame-unwind.c (frame_unwind_got_optimized): Use
2193 mark_value_bytes_optimized_out.
2194 * jv-valprint.c (java_value_print): Adjust.
2195 (java_print_value_fields): Let the common printing code handle
2196 optimized out values.
2197 * mips-tdep.c (mips_print_register): Remove special handling of
2198 optimized out registers.
2199 * opencl-lang.c (lval_func_check_validity): Delete.
2200 (lval_func_check_any_valid): Delete.
2201 (opencl_value_funcs): Remove check_validity and check_any_valid
2202 fields.
2203 * p-valprint.c (pascal_object_print_value_fields): Let the common
2204 printing code handle optimized out values.
2205 * stack.c (read_frame_arg): Remove special handling of optimized
2206 out values. Fetch both VAL and ENTRYVAL before comparing
2207 contents. Adjust to value_available_contents_eq rename.
2208 * valprint.c (valprint_check_validity)
2209 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
2210 (val_print_array_elements): Adjust.
2211 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
2212 (value_bits_any_optimized_out): New function.
2213 (value_entirely_covered_by_range_vector): New function, factored
2214 out from value_entirely_unavailable.
2215 (value_entirely_unavailable): Reimplement.
2216 (value_entirely_optimized_out): New function.
2217 (insert_into_bit_range_vector): New function, factored out from
2218 mark_value_bits_unavailable.
2219 (mark_value_bits_unavailable): Reimplement.
2220 (struct ranges_and_idx): New struct.
2221 (find_first_range_overlap_and_match): New function, factored out
2222 from value_available_contents_bits_eq.
2223 (value_available_contents_bits_eq): Rename to ...
2224 (value_contents_bits_eq): ... this. Check both unavailable
2225 contents and optimized out contents.
2226 (value_available_contents_eq): Rename to ...
2227 (value_contents_eq): ... this.
2228 (allocate_value_lazy): Remove reference to the old optimized_out
2229 boolean.
2230 (allocate_optimized_out_value): Use
2231 mark_value_bytes_optimized_out.
2232 (require_not_optimized_out): Adjust to check whether the
2233 optimized_out vec is empty.
2234 (ranges_copy_adjusted): New function, factored out from
2235 value_contents_copy_raw.
2236 (value_contents_copy_raw): Also copy the optimized out ranges.
2237 Assert the destination ranges aren't optimized out.
2238 (value_contents_copy): Update comment, remove call to
2239 require_not_optimized_out.
2240 (value_contents_equal): Adjust to check whether the optimized_out
2241 vec is empty.
2242 (set_value_optimized_out, value_optimized_out_const): Delete.
2243 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2244 New functions.
2245 (value_entirely_optimized_out, value_bits_valid): Delete.
2246 (value_copy): Take a VEC copy of the 'optimized_out' field.
2247 (value_primitive_field): Remove special handling of optimized out.
2248 (value_fetch_lazy): Assert that lazy values have no unavailable
2249 regions. Use value_bits_any_optimized_out. Remove some special
2250 handling for optimized out values.
2251 * value.h: Add intro comment about <optimized out> and
2252 <unavailable>.
2253 (struct lval_funcs): Remove check_validity and check_any_valid
2254 fields.
2255 (set_value_optimized_out, value_optimized_out_const): Remove.
2256 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2257 New declarations.
2258 (value_bits_any_optimized_out): New declaration.
2259 (value_bits_valid): Delete declaration.
2260 (value_available_contents_eq): Rename to ...
2261 (value_contents_eq): ... this, and extend comments.
2262
6694c411
JK
22632014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2264
2265 Fix -fsanitize=address on unreadable inferior strings.
2266 * valprint.c (val_print_string): Fix access before BUFFER.
2267
89a1c21a
SM
22682014-08-19 Simon Marchi <simon.marchi@ericsson.com>
2269
2270 * target.c (target_struct_size): Remove.
2271 (target_struct_allocsize): Remove.
2272 (DEFAULT_ALLOCSIZE): Remove.
2273 (target_ops_p): New typedef.
2274 (DEF_VEC_P (target_ops_p)): New vector type.
2275 (target_structs): Change type to VEC (target_ops_p).
2276 (add_target_with_completer): Replace "push" code by VEC_safe_push.
2277 (find_default_run_target): Rewrite for loop following changes to
2278 target_structs.
2279
cb417230
JB
22802014-08-19 Joel Brobecker <brobecker@adacore.com>
2281
2282 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
2283 Adjust code accordingly. Adjust function description comment.
2284
817e0957
YQ
22852014-08-19 Yao Qi <yao@codesourcery.com>
2286
2287 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
2288 types.
2289
2974be62
AM
22902014-08-19 Alan Modra <amodra@gmail.com>
2291
2292 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
2293 * config.in: Regenerate.
2294 * configure: Regenerate.
2295
34abf635
GB
22962014-08-19 Tom Tromey <tromey@redhat.com>
2297 Gary Benson <gbenson@redhat.com>
2298
2299 * common/common-debug.h: New file.
2300 * common/common-debug.c: Likewise.
2301 * debug.c: Likewise.
2302 * Makefile.in (SFILES): Add common/common-debug.c.
2303 (HFILES_NO_SRCDIR): Add common/common-debug.h.
2304 (COMMON_OBS): Add common-debug.o and debug.o.
2305 (common-debug.o): New rule.
2306 * common/common-defs.h: Include common-debug.h.
2307 * common/agent.c (debug_agent_printf): New function.
2308 (DEBUG_AGENT): Redefine.
2309 * nat/i386-dregs.c (debug_printf): Undefine.
2310
f6e94d78
GB
23112014-08-19 Gary Benson <gbenson@redhat.com>
2312
2313 * common/common-defs.h: Include print-utils.h.
2314 * utils.h: Do not include print-utils.h.
2315
9239eeab
GB
23162014-08-19 Tom Tromey <tromey@redhat.com>
2317 Gary Benson <gbenson@redhat.com>
2318
2319 * common/common-types.h: New file.
2320 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
2321 * common/common-defs.h: Include common-types.h.
2322 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
2323 (ULONGEST): Remove.
2324
ef87c8bb
GB
23252014-08-19 Tom Tromey <tromey@redhat.com>
2326 Gary Benson <gbenson@redhat.com>
2327
2328 * common/errors.h: New file.
2329 * common/errors.c: Likewise.
2330 * Makefile.in (SFILES): Add common/errors.c.
2331 (HFILES_NO_SRCDIR): Add common/errors.h.
2332 (COMMON_OBS): Add errors.o.
2333 (errors.o): New rule.
2334 * common/common-defs.h: Include errors.h.
2335 * utils.h (perror_with_name, error, verror, warning, vwarning):
2336 Don't declare.
2337 * common/common-utils.h: (malloc_failure, internal_error):
2338 Likewise.
2339
196a707b
GB
23402014-08-19 Gary Benson <gbenson@redhat.com>
2341
2342 * utils.c (internal_vproblem): Always print the message.
2343
ded4fc8f
DE
23442014-08-18 Doug Evans <dje@google.com>
2345
2346 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
2347
950c97d8
JB
23482014-08-18 Joel Brobecker <brobecker@adacore.com>
2349
2350 * ada-typeprint.c (type_is_full_subrange_of_target_type):
2351 Return 0 if TYPE is dynamic.
2352 (print_range): Add handling of dynamic ranges.
2353
3cdcd0ce
JB
23542014-08-18 Keven Boell <keven.boell@intel.com>
2355 Joel Brobecker <brobecker@adacore.com>
2356
2357 * gdbtypes.h (struct main_type): Add field "data_location".
2358 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
2359 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
2360 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
2361 a dynamic data location.
2362 (resolve_dynamic_type): Add DW_AT_data_location handling.
2363 (copy_recursive, copy_type): Copy the data_location information
2364 when present.
2365 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
2366 * value.c (value_from_contents_and_address): Add
2367 DW_AT_data_location handling.
2368
08412b07
JB
23692014-08-18 Keven Boell <keven.boell@intel.com>
2370 Joel Brobecker <brobecker@adacore.com>
2371
2372 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
2373 field "get_object_address".
2374 * dwarf2expr.c (execute_stack_op): Add handling for
2375 DW_OP_push_object_address.
2376 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
2377 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
2378 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
2379 (dwarf_expr_get_obj_addr): New function.
2380 (dwarf_expr_ctx_funcs): Add get_object_address field.
2381 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
2382 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
2383 (dwarf2_evaluate_property): Add parameter "address". Use it.
2384 (needs_get_obj_addr): New function.
2385 (needs_frame_ctx_funcs): Add get_object_address field.
2386 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
2387 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
2388 (resolve_dynamic_array): Likewise.
2389
84754697
JB
23902014-08-18 Joel Brobecker <brobecker@adacore.com>
2391
2392 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
2393 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
2394 fixed value for records and unions for which some GNAT encodings
2395 are present.
2396
da5c522f
JB
23972014-08-18 Joel Brobecker <brobecker@adacore.com>
2398
2399 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
2400 rewrite to avoid "else if" and "else" constructs. Should be
2401 a no-op in practice.
2402
0d72a7c3
JB
24032014-08-18 Joel Brobecker <brobecker@adacore.com>
2404
2405 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
2406 of lexical block.
2407
e66d4446
SC
24082014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2409
2410 PR c++/17132
2411 * eval.c: Update all calls to find_overload_match.
2412 * valarith.c: Likewise.
2413 (value_user_defined_cpp_op, value_user_defined_op): New
2414 argument NOSIDE. Update all callers.
2415 * valops.c (find_overload_match): New argument NOSIDE.
2416 * value.h (find_overload_match): Update signature.
2417
940df408
SC
24182014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2419
2420 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
2421 'items' methods instead of 'iteritems' method on dictionaries.
2422
699ca60a
DE
24232014-08-15 Doug Evans <dje@google.com>
2424
2425 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
2426 closer to use.
2427
37780ee5
DE
24282014-08-15 Doug Evans <dje@google.com>
2429
2430 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
2431
0ad93d4f
DE
24322014-08-15 Doug Evans <dje@google.com>
2433
2434 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
2435
20d8c372
DE
24362014-08-15 Doug Evans <dje@google.com>
2437
2438 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
2439 unused.
2440
cb039ba4
EZ
24412014-08-15 Eli Zaretskii <eliz@gnu.org>
2442
2443 * dcache.h: Include target.h, to avoid compile time warnings.
2444
eb7a547a
JB
24452014-08-15 Joel Brobecker <brobecker@adacore.com>
2446
2447 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
2448 frame_info" partial declaration.
2449 * gdbarch.h: Regenerate.
2450
783cecc8
YQ
24512014-08-15 Yao Qi <yao@codesourcery.com>
2452
2453 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
2454 Add parameter 'decode_for_pst_p'. Callers update.
2455
65c749e7
YQ
24562014-08-13 Yao Qi <yao@codesourcery.com>
2457
2458 PR build/17104
2459 * configure.ac: Use local variable 'pos'.
2460 * configure: Regenerated.
2461
d769e349
DE
24622014-08-11 Doug Evans <dje@google.com>
2463
2464 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
2465 message, it is redundant with "Reading symbols from ..." message.
2466
24f1235e
DE
24672014-08-10 Doug Evans <xdje42@gmail.com>
2468
2469 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
2470
dcd2e6ef
YQ
24712014-08-09 Yao Qi <yao@codesourcery.com>
2472
2473 PR remote/9053
2474 * remote.c (remote_xfer_partial): Remove dead code.
2475
070bdf0b
AA
24762014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2477
2478 * ia64-linux-tdep.c: Include "regset.h".
2479 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
2480 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
2481 (ia64_linux_supply_fpregset): New function.
2482 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
2483 (ia64_linux_regset_from_core_section): New function.
2484 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
2485 method.
2486
08f9f542
AA
24872014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2488
2489 * m68klinux-tdep.c: Include "regset.h".
2490 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
2491 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
2492 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
2493 (m68k_linux_regset_from_core_section): New function.
2494 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
2495 method.
2496
8f1cee41
AA
24972014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2498
2499 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
2500 function. Move logic to...
2501 (tilegx_linux_regmap): ... this new register map.
2502 (tilegx_linux_regset): Refer to register map, replace supply
2503 method by regcache_supply_regset, and add collect method.
2504 * tilegx-tdep.h (enum tilegx_regnum): New enum value
2505 TILEGX_FIRST_EASY_REGNUM.
2506
c5741217
AA
25072014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2508
2509 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
2510 that calls regcache_supply_regset and handles the EPC register
2511 separately. Move main logic to...
2512 (score7_linux_gregmap): ... this new register map.
2513 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
2514 (score7_linux_gregset): Refer to register map. Add collect method.
2515 (score7_linux_regset_from_core_section): Replace
2516 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
2517 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
2518 (struct regset): Delete unused forward declaraction.
2519 (struct pt_regs): Delete structure definition.
2520 (elf_gregset_t): Delete typedef.
2521
81580573
AA
25222014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2523
2524 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
2525 (nios2_core_regset): Add collect method.
2526
ba199d7d
AA
25272014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2528
2529 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
2530 platform-independent and don't write to read-only input buffer.
2531 (m32r_linux_collect_gregset): New function.
2532 (m32r_linux_gregset): Add collect method.
2533
0006a9da
AA
25342014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2535
2536 * hppa-linux-tdep.c (greg_map): Rename to...
2537 (hppa_linux_gregmap): ... this. Also convert to
2538 regcache_map_entry format.
2539 (hppa_linux_supply_regset): Delete function.
2540 (hppa_linux_supply_fpregset): Delete function. Move logic to...
2541 (hppa_linux_fpregmap): ... this new register map.
2542 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
2543 register map, replace supply method by regcache_supply_regset, and
2544 add collect method regcache_collect_regset.
2545
901e1b23
AA
25462014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2547
2548 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
2549 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
2550 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
2551 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
2552 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
2553 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
2554 (frv_linux_supply_gregset): Replace main logic by call to
2555 regcache_supply_regset, but keep clearing gr32-gr63.
2556 (frv_linux_supply_fpregset): Delete function.
2557 (frv_linux_gregset): Refer to appropriate register map and add
2558 regcache_collect_regset as the collect method.
2559 (frv_linux_fpregset): Likewise. Also exchange the supply method
2560 by regcache_supply_regset.
2561
1d6e7555
AA
25622014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2563
2564 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
2565 by call to alpha_supply_int_regs.
2566 (alpha_linux_collect_gregset): New function.
2567 (alpha_linux_supply_fpregset): Replace logic by call to
2568 alpha_supply_fp_regs.
2569 (alpha_linux_collect_fpregset): New function.
2570 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
2571
d4d793bf
AA
25722014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2573
2574 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
2575 by call to regcache_collect_regset.
2576 (supply_gregset, supply_fpregset): Call regcache_supply_regset
2577 instead of aarch64_linux_supply_gregset/_fpregset.
2578 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
2579 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
2580 header file instead.
2581 (aarch64_linux_supply_gregset, supply_gregset_from_core)
2582 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
2583 functions. Move logic to ...
2584 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
2585 register maps.
2586 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
2587 refer to new register maps, replace *_regset_from_core by
2588 regcache_supply_regset, and also use regcache_collect_regset.
2589 * aarch64-linux-tdep.h: Include "regset.h".
2590 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
2591 Delete prototypes.
2592 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
2593 macros, moved from C source file.
2594 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
2595 variable declarations.
2596
99b7da5d
AA
25972014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2598
2599 * s390-linux-nat.c: Include "regset.h".
2600 (regmap_gregset): Delete macro.
2601 (s390_64_regmap_gregset): New register map for
2602 regcache_supply/_collect_regset.
2603 (s390_64_gregset): New regset.
2604 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
2605 (regmap_fpregset): Delete macro.
2606 (s390_native_supply, s390_native_collect): Delete functions.
2607 (supply_gregset, fill_gregset): Replace s390-specific regmap
2608 handling by a call to regcache_supply/_collect_regset.
2609 (supply_fpregset, fill_fpregset): Call regcache_supply/
2610 _collect_regset instead of s390_native_supply/_collect.
2611 (fetch_regset, store_regset): Likewise. Also change the last
2612 parameter to a regset instead of a regmap.
2613 (s390_linux_fetch_inferior_registers)
2614 (390_linux_store_inferior_registers): Adjust last parameter in
2615 calls to fetch_regset and store_regset.
2616 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
2617 (s390_gregmap): ... this. Also make static const and convert to
2618 regcache_map_entry format.
2619 (s390x_regmap_gregset): Delete.
2620 (s390_regmap_fpregset): Rename to...
2621 (s390_fpregmap): ... this. Make static const and convert to
2622 regcache_map_entry format.
2623 (s390_regmap_upper, s390_regmap_last_break)
2624 (s390x_regmap_last_break, s390_regmap_system_call)
2625 (s390_regmap_tdb): Likewise.
2626 (s390_supply_regset, s390_collect_regset): Remove functions.
2627 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
2628 s390_supply_regset.
2629 (s390_gregset, s390_fpregset, s390_upper_regset)
2630 (s390_last_break_regset, s390x_last_break_regset)
2631 (s390_system_call_regset, s390_tdb_regset): Make global and
2632 replace s390_supply/_collect_regset by regcache_supply/
2633 _collect_regset.
2634 (s390x_gregset): Delete.
2635 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
2636 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
2637 (s390_regmap_fpregset, s390_regmap_last_break)
2638 (s390x_regmap_last_break, s390_regmap_system_call)
2639 (s390_regmap_tdb): Delete global variable declarations.
2640 (s390_gregset, s390_fpregset, s390_last_break_regset)
2641 (s390x_last_break_regset, s390_system_call_regset)
2642 (s390_tdb_regset): New global variable declarations.
2643
0b309272
AA
26442014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2645
2646 * regcache.c: Include "regset.h".
2647 (regcache_transfer_regset): New local function.
2648 (regcache_supply_regset, regcache_collect_regset): New functions.
2649 * regcache.h (struct regcache_map_entry): New structure.
2650 (REGCACHE_MAP_SKIP): New enum value.
2651 (regcache_supply_regset, regcache_collect_regset): New prototypes.
2652
7fefa8d7
AA
26532014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2654
2655 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
2656 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
2657 (ppc_linux_collect_gregset ): Likewise.
2658 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
2659 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
2660 (ppc_collect_vrregset): Likewise.
2661 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
2662 Likewise.
2663
96c4f946
YQ
26642014-08-07 Yao Qi <yao@codesourcery.com>
2665
2666 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
2667 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
2668 * remote.c (remote_read_bytes): Likewise.
2669
fffbe6a8
YQ
26702014-08-07 Yao Qi <yao@codesourcery.com>
2671
2672 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
2673
5ee8a82c
YQ
26742014-08-07 Yao Qi <yao@codesourcery.com>
2675
2676 PR remote/17230
2677 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
2678 TARGET_XFER_OK instead of 0.
2679
bb974a24
GB
26802014-08-07 Gary Benson <gbenson@redhat.com>
2681
2682 * common/common-defs.h: Include errno.h.
2683 * defs.h: Do not include errno.h.
2684 * ada-typeprint.c: Likewise.
2685 * c-typeprint.c: Likewise.
2686 * core-regset.c: Likewise.
2687 * corefile.c: Likewise.
2688 * corelow.c: Likewise.
2689 * event-loop.c: Likewise.
2690 * f-typeprint.c: Likewise.
2691 * gnu-nat.c: Likewise.
2692 * go32-nat.c: Likewise.
2693 * i386gnu-nat.c: Likewise.
2694 * m2-typeprint.c: Likewise.
2695 * nat/linux-btrace.c: Likewise.
2696 * p-typeprint.c: Likewise.
2697 * procfs.c: Likewise.
2698 * remote-sim.c: Likewise.
2699 * rs6000-nat.c: Likewise.
2700 * target.c: Likewise.
2701 * typeprint.c: Likewise.
2702 * ui-file.c: Likewise.
2703 * valops.c: Likewise.
2704 * valprint.c: Likewise.
2705
6d3d12eb
GB
27062014-08-07 Gary Benson <gbenson@redhat.com>
2707
2708 * common/common-defs.h: Include string.h.
2709 * aarch64-tdep.c: Do not include string.h.
2710 * ada-exp.y: Likewise.
2711 * ada-lang.c: Likewise.
2712 * ada-lex.l: Likewise.
2713 * ada-typeprint.c: Likewise.
2714 * ada-valprint.c: Likewise.
2715 * aix-thread.c: Likewise.
2716 * alpha-linux-tdep.c: Likewise.
2717 * alpha-mdebug-tdep.c: Likewise.
2718 * alpha-nat.c: Likewise.
2719 * alpha-osf1-tdep.c: Likewise.
2720 * alpha-tdep.c: Likewise.
2721 * alphanbsd-tdep.c: Likewise.
2722 * amd64-dicos-tdep.c: Likewise.
2723 * amd64-linux-tdep.c: Likewise.
2724 * amd64-nat.c: Likewise.
2725 * amd64-sol2-tdep.c: Likewise.
2726 * amd64fbsd-tdep.c: Likewise.
2727 * amd64obsd-tdep.c: Likewise.
2728 * arch-utils.c: Likewise.
2729 * arm-linux-nat.c: Likewise.
2730 * arm-linux-tdep.c: Likewise.
2731 * arm-tdep.c: Likewise.
2732 * arm-wince-tdep.c: Likewise.
2733 * armbsd-tdep.c: Likewise.
2734 * armnbsd-nat.c: Likewise.
2735 * armnbsd-tdep.c: Likewise.
2736 * armobsd-tdep.c: Likewise.
2737 * avr-tdep.c: Likewise.
2738 * ax-gdb.c: Likewise.
2739 * ax-general.c: Likewise.
2740 * bcache.c: Likewise.
2741 * bfin-tdep.c: Likewise.
2742 * breakpoint.c: Likewise.
2743 * build-id.c: Likewise.
2744 * buildsym.c: Likewise.
2745 * c-exp.y: Likewise.
2746 * c-lang.c: Likewise.
2747 * c-typeprint.c: Likewise.
2748 * c-valprint.c: Likewise.
2749 * charset.c: Likewise.
2750 * cli-out.c: Likewise.
2751 * cli/cli-cmds.c: Likewise.
2752 * cli/cli-decode.c: Likewise.
2753 * cli/cli-dump.c: Likewise.
2754 * cli/cli-interp.c: Likewise.
2755 * cli/cli-logging.c: Likewise.
2756 * cli/cli-script.c: Likewise.
2757 * cli/cli-setshow.c: Likewise.
2758 * cli/cli-utils.c: Likewise.
2759 * coffread.c: Likewise.
2760 * common/agent.c: Likewise.
2761 * common/buffer.c: Likewise.
2762 * common/buffer.h: Likewise.
2763 * common/common-utils.c: Likewise.
2764 * common/filestuff.c: Likewise.
2765 * common/filestuff.c: Likewise.
2766 * common/format.c: Likewise.
2767 * common/print-utils.c: Likewise.
2768 * common/rsp-low.c: Likewise.
2769 * common/signals.c: Likewise.
2770 * common/vec.h: Likewise.
2771 * common/xml-utils.c: Likewise.
2772 * core-regset.c: Likewise.
2773 * corefile.c: Likewise.
2774 * corelow.c: Likewise.
2775 * cp-abi.c: Likewise.
2776 * cp-name-parser.y: Likewise.
2777 * cp-support.c: Likewise.
2778 * cp-valprint.c: Likewise.
2779 * cris-tdep.c: Likewise.
2780 * d-exp.y: Likewise.
2781 * darwin-nat.c: Likewise.
2782 * dbxread.c: Likewise.
2783 * dcache.c: Likewise.
2784 * demangle.c: Likewise.
2785 * dicos-tdep.c: Likewise.
2786 * disasm.c: Likewise.
2787 * doublest.c: Likewise.
2788 * dsrec.c: Likewise.
2789 * dummy-frame.c: Likewise.
2790 * dwarf2-frame.c: Likewise.
2791 * dwarf2loc.c: Likewise.
2792 * dwarf2read.c: Likewise.
2793 * elfread.c: Likewise.
2794 * environ.c: Likewise.
2795 * eval.c: Likewise.
2796 * event-loop.c: Likewise.
2797 * exceptions.c: Likewise.
2798 * exec.c: Likewise.
2799 * expprint.c: Likewise.
2800 * f-exp.y: Likewise.
2801 * f-lang.c: Likewise.
2802 * f-typeprint.c: Likewise.
2803 * f-valprint.c: Likewise.
2804 * fbsd-nat.c: Likewise.
2805 * findcmd.c: Likewise.
2806 * findvar.c: Likewise.
2807 * fork-child.c: Likewise.
2808 * frame.c: Likewise.
2809 * frv-linux-tdep.c: Likewise.
2810 * frv-tdep.c: Likewise.
2811 * gdb.c: Likewise.
2812 * gdb_bfd.c: Likewise.
2813 * gdbarch.c: Likewise.
2814 * gdbarch.sh: Likewise.
2815 * gdbtypes.c: Likewise.
2816 * gnu-nat.c: Likewise.
2817 * gnu-v2-abi.c: Likewise.
2818 * gnu-v3-abi.c: Likewise.
2819 * go-exp.y: Likewise.
2820 * go-lang.c: Likewise.
2821 * go32-nat.c: Likewise.
2822 * guile/guile.c: Likewise.
2823 * guile/scm-auto-load.c: Likewise.
2824 * hppa-hpux-tdep.c: Likewise.
2825 * hppa-linux-nat.c: Likewise.
2826 * hppanbsd-tdep.c: Likewise.
2827 * hppaobsd-tdep.c: Likewise.
2828 * i386-cygwin-tdep.c: Likewise.
2829 * i386-dicos-tdep.c: Likewise.
2830 * i386-linux-tdep.c: Likewise.
2831 * i386-nto-tdep.c: Likewise.
2832 * i386-sol2-tdep.c: Likewise.
2833 * i386-tdep.c: Likewise.
2834 * i386bsd-tdep.c: Likewise.
2835 * i386gnu-nat.c: Likewise.
2836 * i386nbsd-tdep.c: Likewise.
2837 * i386obsd-tdep.c: Likewise.
2838 * i387-tdep.c: Likewise.
2839 * ia64-libunwind-tdep.c: Likewise.
2840 * ia64-linux-nat.c: Likewise.
2841 * inf-child.c: Likewise.
2842 * inf-ptrace.c: Likewise.
2843 * inf-ttrace.c: Likewise.
2844 * infcall.c: Likewise.
2845 * infcmd.c: Likewise.
2846 * inflow.c: Likewise.
2847 * infrun.c: Likewise.
2848 * interps.c: Likewise.
2849 * iq2000-tdep.c: Likewise.
2850 * irix5-nat.c: Likewise.
2851 * jv-exp.y: Likewise.
2852 * jv-lang.c: Likewise.
2853 * jv-typeprint.c: Likewise.
2854 * jv-valprint.c: Likewise.
2855 * language.c: Likewise.
2856 * linux-fork.c: Likewise.
2857 * linux-nat.c: Likewise.
2858 * lm32-tdep.c: Likewise.
2859 * m2-exp.y: Likewise.
2860 * m2-typeprint.c: Likewise.
2861 * m32c-tdep.c: Likewise.
2862 * m32r-linux-nat.c: Likewise.
2863 * m32r-linux-tdep.c: Likewise.
2864 * m32r-rom.c: Likewise.
2865 * m32r-tdep.c: Likewise.
2866 * m68hc11-tdep.c: Likewise.
2867 * m68k-tdep.c: Likewise.
2868 * m68kbsd-tdep.c: Likewise.
2869 * m68klinux-nat.c: Likewise.
2870 * m68klinux-tdep.c: Likewise.
2871 * m88k-tdep.c: Likewise.
2872 * machoread.c: Likewise.
2873 * macrocmd.c: Likewise.
2874 * main.c: Likewise.
2875 * mdebugread.c: Likewise.
2876 * mem-break.c: Likewise.
2877 * memattr.c: Likewise.
2878 * memory-map.c: Likewise.
2879 * mep-tdep.c: Likewise.
2880 * mi/mi-cmd-break.c: Likewise.
2881 * mi/mi-cmd-disas.c: Likewise.
2882 * mi/mi-cmd-env.c: Likewise.
2883 * mi/mi-cmd-stack.c: Likewise.
2884 * mi/mi-cmd-var.c: Likewise.
2885 * mi/mi-cmds.c: Likewise.
2886 * mi/mi-console.c: Likewise.
2887 * mi/mi-getopt.c: Likewise.
2888 * mi/mi-interp.c: Likewise.
2889 * mi/mi-main.c: Likewise.
2890 * mi/mi-parse.c: Likewise.
2891 * microblaze-rom.c: Likewise.
2892 * microblaze-tdep.c: Likewise.
2893 * mingw-hdep.c: Likewise.
2894 * minidebug.c: Likewise.
2895 * minsyms.c: Likewise.
2896 * mips-irix-tdep.c: Likewise.
2897 * mips-linux-tdep.c: Likewise.
2898 * mips-tdep.c: Likewise.
2899 * mips64obsd-tdep.c: Likewise.
2900 * mipsnbsd-tdep.c: Likewise.
2901 * mipsread.c: Likewise.
2902 * mn10300-linux-tdep.c: Likewise.
2903 * mn10300-tdep.c: Likewise.
2904 * monitor.c: Likewise.
2905 * moxie-tdep.c: Likewise.
2906 * mt-tdep.c: Likewise.
2907 * nat/linux-btrace.c: Likewise.
2908 * nat/linux-osdata.c: Likewise.
2909 * nat/linux-procfs.c: Likewise.
2910 * nat/linux-ptrace.c: Likewise.
2911 * nat/linux-waitpid.c: Likewise.
2912 * nbsd-tdep.c: Likewise.
2913 * nios2-linux-tdep.c: Likewise.
2914 * nto-procfs.c: Likewise.
2915 * nto-tdep.c: Likewise.
2916 * objc-lang.c: Likewise.
2917 * objfiles.c: Likewise.
2918 * opencl-lang.c: Likewise.
2919 * osabi.c: Likewise.
2920 * osdata.c: Likewise.
2921 * p-exp.y: Likewise.
2922 * p-lang.c: Likewise.
2923 * p-typeprint.c: Likewise.
2924 * parse.c: Likewise.
2925 * posix-hdep.c: Likewise.
2926 * ppc-linux-nat.c: Likewise.
2927 * ppc-sysv-tdep.c: Likewise.
2928 * ppcfbsd-tdep.c: Likewise.
2929 * ppcnbsd-tdep.c: Likewise.
2930 * ppcobsd-tdep.c: Likewise.
2931 * printcmd.c: Likewise.
2932 * procfs.c: Likewise.
2933 * prologue-value.c: Likewise.
2934 * python/py-auto-load.c: Likewise.
2935 * python/py-gdb-readline.c: Likewise.
2936 * ravenscar-thread.c: Likewise.
2937 * regcache.c: Likewise.
2938 * registry.c: Likewise.
2939 * remote-fileio.c: Likewise.
2940 * remote-m32r-sdi.c: Likewise.
2941 * remote-mips.c: Likewise.
2942 * remote-notif.c: Likewise.
2943 * remote-sim.c: Likewise.
2944 * remote.c: Likewise.
2945 * reverse.c: Likewise.
2946 * rs6000-aix-tdep.c: Likewise.
2947 * ser-base.c: Likewise.
2948 * ser-go32.c: Likewise.
2949 * ser-mingw.c: Likewise.
2950 * ser-pipe.c: Likewise.
2951 * ser-tcp.c: Likewise.
2952 * ser-unix.c: Likewise.
2953 * serial.c: Likewise.
2954 * sh-tdep.c: Likewise.
2955 * sh64-tdep.c: Likewise.
2956 * shnbsd-tdep.c: Likewise.
2957 * skip.c: Likewise.
2958 * sol-thread.c: Likewise.
2959 * solib-dsbt.c: Likewise.
2960 * solib-frv.c: Likewise.
2961 * solib-osf.c: Likewise.
2962 * solib-som.c: Likewise.
2963 * solib-spu.c: Likewise.
2964 * solib-target.c: Likewise.
2965 * solib.c: Likewise.
2966 * somread.c: Likewise.
2967 * source.c: Likewise.
2968 * sparc-nat.c: Likewise.
2969 * sparc-sol2-tdep.c: Likewise.
2970 * sparc-tdep.c: Likewise.
2971 * sparc64-tdep.c: Likewise.
2972 * sparc64fbsd-tdep.c: Likewise.
2973 * sparc64nbsd-tdep.c: Likewise.
2974 * sparcnbsd-tdep.c: Likewise.
2975 * spu-linux-nat.c: Likewise.
2976 * spu-multiarch.c: Likewise.
2977 * spu-tdep.c: Likewise.
2978 * stabsread.c: Likewise.
2979 * stack.c: Likewise.
2980 * std-regs.c: Likewise.
2981 * symfile.c: Likewise.
2982 * symmisc.c: Likewise.
2983 * symtab.c: Likewise.
2984 * target.c: Likewise.
2985 * thread.c: Likewise.
2986 * tilegx-linux-nat.c: Likewise.
2987 * tilegx-tdep.c: Likewise.
2988 * top.c: Likewise.
2989 * tracepoint.c: Likewise.
2990 * tui/tui-command.c: Likewise.
2991 * tui/tui-data.c: Likewise.
2992 * tui/tui-disasm.c: Likewise.
2993 * tui/tui-file.c: Likewise.
2994 * tui/tui-layout.c: Likewise.
2995 * tui/tui-out.c: Likewise.
2996 * tui/tui-regs.c: Likewise.
2997 * tui/tui-source.c: Likewise.
2998 * tui/tui-stack.c: Likewise.
2999 * tui/tui-win.c: Likewise.
3000 * tui/tui-windata.c: Likewise.
3001 * tui/tui-winsource.c: Likewise.
3002 * typeprint.c: Likewise.
3003 * ui-file.c: Likewise.
3004 * ui-out.c: Likewise.
3005 * user-regs.c: Likewise.
3006 * utils.c: Likewise.
3007 * v850-tdep.c: Likewise.
3008 * valarith.c: Likewise.
3009 * valops.c: Likewise.
3010 * valprint.c: Likewise.
3011 * value.c: Likewise.
3012 * varobj.c: Likewise.
3013 * vax-tdep.c: Likewise.
3014 * vaxnbsd-tdep.c: Likewise.
3015 * vaxobsd-tdep.c: Likewise.
3016 * windows-nat.c: Likewise.
3017 * xcoffread.c: Likewise.
3018 * xml-support.c: Likewise.
3019 * xstormy16-tdep.c: Likewise.
3020 * xtensa-linux-nat.c: Likewise.
3021
dccbb609
GB
30222014-08-07 Gary Benson <gbenson@redhat.com>
3023
3024 * common/common-defs.h: Include gdb_assert.h.
3025 * aarch64-tdep.c: Do not include gdb_assert.h.
3026 * addrmap.c: Likewise.
3027 * aix-thread.c: Likewise.
3028 * alpha-linux-tdep.c: Likewise.
3029 * alpha-mdebug-tdep.c: Likewise.
3030 * alphanbsd-tdep.c: Likewise.
3031 * amd64-nat.c: Likewise.
3032 * amd64-tdep.c: Likewise.
3033 * amd64bsd-nat.c: Likewise.
3034 * amd64fbsd-nat.c: Likewise.
3035 * amd64fbsd-tdep.c: Likewise.
3036 * amd64nbsd-nat.c: Likewise.
3037 * amd64nbsd-tdep.c: Likewise.
3038 * amd64obsd-nat.c: Likewise.
3039 * amd64obsd-tdep.c: Likewise.
3040 * arch-utils.c: Likewise.
3041 * arm-tdep.c: Likewise.
3042 * armbsd-tdep.c: Likewise.
3043 * auxv.c: Likewise.
3044 * bcache.c: Likewise.
3045 * bfin-tdep.c: Likewise.
3046 * blockframe.c: Likewise.
3047 * breakpoint.c: Likewise.
3048 * bsd-kvm.c: Likewise.
3049 * bsd-uthread.c: Likewise.
3050 * buildsym.c: Likewise.
3051 * c-exp.y: Likewise.
3052 * c-lang.c: Likewise.
3053 * charset.c: Likewise.
3054 * cleanups.c: Likewise.
3055 * cli-out.c: Likewise.
3056 * cli/cli-decode.c: Likewise.
3057 * cli/cli-dump.c: Likewise.
3058 * cli/cli-logging.c: Likewise.
3059 * cli/cli-script.c: Likewise.
3060 * cli/cli-utils.c: Likewise.
3061 * coffread.c: Likewise.
3062 * common/common-utils.c: Likewise.
3063 * common/queue.h: Likewise.
3064 * common/signals.c: Likewise.
3065 * common/vec.h: Likewise.
3066 * complaints.c: Likewise.
3067 * completer.c: Likewise.
3068 * corelow.c: Likewise.
3069 * cp-abi.c: Likewise.
3070 * cp-name-parser.y: Likewise.
3071 * cp-namespace.c: Likewise.
3072 * cp-support.c: Likewise.
3073 * cris-tdep.c: Likewise.
3074 * dbxread.c: Likewise.
3075 * dictionary.c: Likewise.
3076 * doublest.c: Likewise.
3077 * dsrec.c: Likewise.
3078 * dummy-frame.c: Likewise.
3079 * dwarf2-frame-tailcall.c: Likewise.
3080 * dwarf2-frame.c: Likewise.
3081 * dwarf2expr.c: Likewise.
3082 * dwarf2loc.c: Likewise.
3083 * dwarf2read.c: Likewise.
3084 * eval.c: Likewise.
3085 * event-loop.c: Likewise.
3086 * exceptions.c: Likewise.
3087 * expprint.c: Likewise.
3088 * f-valprint.c: Likewise.
3089 * fbsd-nat.c: Likewise.
3090 * findvar.c: Likewise.
3091 * frame-unwind.c: Likewise.
3092 * frame.c: Likewise.
3093 * frv-tdep.c: Likewise.
3094 * gcore.c: Likewise.
3095 * gdb-dlfcn.c: Likewise.
3096 * gdb_bfd.c: Likewise.
3097 * gdbarch.c: Likewise.
3098 * gdbarch.sh: Likewise.
3099 * gdbtypes.c: Likewise.
3100 * gnu-nat.c: Likewise.
3101 * gnu-v3-abi.c: Likewise.
3102 * go-lang.c: Likewise.
3103 * guile/scm-exception.c: Likewise.
3104 * guile/scm-gsmob.c: Likewise.
3105 * guile/scm-lazy-string.c: Likewise.
3106 * guile/scm-math.c: Likewise.
3107 * guile/scm-pretty-print.c: Likewise.
3108 * guile/scm-safe-call.c: Likewise.
3109 * guile/scm-utils.c: Likewise.
3110 * guile/scm-value.c: Likewise.
3111 * h8300-tdep.c: Likewise.
3112 * hppa-hpux-nat.c: Likewise.
3113 * hppa-tdep.c: Likewise.
3114 * hppanbsd-tdep.c: Likewise.
3115 * hppaobsd-tdep.c: Likewise.
3116 * i386-darwin-nat.c: Likewise.
3117 * i386-darwin-tdep.c: Likewise.
3118 * i386-nto-tdep.c: Likewise.
3119 * i386-tdep.c: Likewise.
3120 * i386bsd-nat.c: Likewise.
3121 * i386fbsd-tdep.c: Likewise.
3122 * i386gnu-nat.c: Likewise.
3123 * i386nbsd-tdep.c: Likewise.
3124 * i386obsd-tdep.c: Likewise.
3125 * i387-tdep.c: Likewise.
3126 * ia64-libunwind-tdep.c: Likewise.
3127 * ia64-tdep.c: Likewise.
3128 * inf-ptrace.c: Likewise.
3129 * inf-ttrace.c: Likewise.
3130 * infcall.c: Likewise.
3131 * infcmd.c: Likewise.
3132 * infrun.c: Likewise.
3133 * inline-frame.c: Likewise.
3134 * interps.c: Likewise.
3135 * jv-lang.c: Likewise.
3136 * jv-typeprint.c: Likewise.
3137 * linux-fork.c: Likewise.
3138 * linux-nat.c: Likewise.
3139 * linux-thread-db.c: Likewise.
3140 * m32c-tdep.c: Likewise.
3141 * m32r-linux-nat.c: Likewise.
3142 * m32r-tdep.c: Likewise.
3143 * m68k-tdep.c: Likewise.
3144 * m68kbsd-nat.c: Likewise.
3145 * m68kbsd-tdep.c: Likewise.
3146 * m88k-tdep.c: Likewise.
3147 * machoread.c: Likewise.
3148 * macroexp.c: Likewise.
3149 * macrotab.c: Likewise.
3150 * maint.c: Likewise.
3151 * mdebugread.c: Likewise.
3152 * memory-map.c: Likewise.
3153 * mep-tdep.c: Likewise.
3154 * mi/mi-common.c: Likewise.
3155 * microblaze-tdep.c: Likewise.
3156 * mingw-hdep.c: Likewise.
3157 * mips-linux-nat.c: Likewise.
3158 * mips-linux-tdep.c: Likewise.
3159 * mips-tdep.c: Likewise.
3160 * mips64obsd-tdep.c: Likewise.
3161 * mipsnbsd-tdep.c: Likewise.
3162 * mn10300-linux-tdep.c: Likewise.
3163 * mn10300-tdep.c: Likewise.
3164 * moxie-tdep.c: Likewise.
3165 * mt-tdep.c: Likewise.
3166 * nat/linux-btrace.c: Likewise.
3167 * nat/linux-osdata.c: Likewise.
3168 * nat/linux-ptrace.c: Likewise.
3169 * nat/mips-linux-watch.c: Likewise.
3170 * nios2-linux-tdep.c: Likewise.
3171 * nios2-tdep.c: Likewise.
3172 * objc-lang.c: Likewise.
3173 * objfiles.c: Likewise.
3174 * obsd-nat.c: Likewise.
3175 * opencl-lang.c: Likewise.
3176 * osabi.c: Likewise.
3177 * parse.c: Likewise.
3178 * ppc-linux-nat.c: Likewise.
3179 * ppc-sysv-tdep.c: Likewise.
3180 * ppcfbsd-nat.c: Likewise.
3181 * ppcfbsd-tdep.c: Likewise.
3182 * ppcnbsd-nat.c: Likewise.
3183 * ppcnbsd-tdep.c: Likewise.
3184 * ppcobsd-nat.c: Likewise.
3185 * ppcobsd-tdep.c: Likewise.
3186 * printcmd.c: Likewise.
3187 * procfs.c: Likewise.
3188 * prologue-value.c: Likewise.
3189 * psymtab.c: Likewise.
3190 * python/py-lazy-string.c: Likewise.
3191 * python/py-value.c: Likewise.
3192 * regcache.c: Likewise.
3193 * reggroups.c: Likewise.
3194 * registry.c: Likewise.
3195 * remote-sim.c: Likewise.
3196 * remote.c: Likewise.
3197 * rs6000-aix-tdep.c: Likewise.
3198 * rs6000-tdep.c: Likewise.
3199 * s390-linux-tdep.c: Likewise.
3200 * score-tdep.c: Likewise.
3201 * ser-base.c: Likewise.
3202 * ser-mingw.c: Likewise.
3203 * sh-tdep.c: Likewise.
3204 * sh64-tdep.c: Likewise.
3205 * solib-darwin.c: Likewise.
3206 * solib-spu.c: Likewise.
3207 * solib-svr4.c: Likewise.
3208 * source.c: Likewise.
3209 * sparc-nat.c: Likewise.
3210 * sparc-sol2-tdep.c: Likewise.
3211 * sparc-tdep.c: Likewise.
3212 * sparc64-sol2-tdep.c: Likewise.
3213 * sparc64-tdep.c: Likewise.
3214 * sparc64fbsd-tdep.c: Likewise.
3215 * sparc64nbsd-tdep.c: Likewise.
3216 * sparc64obsd-tdep.c: Likewise.
3217 * sparcnbsd-tdep.c: Likewise.
3218 * sparcobsd-tdep.c: Likewise.
3219 * spu-multiarch.c: Likewise.
3220 * spu-tdep.c: Likewise.
3221 * stabsread.c: Likewise.
3222 * stack.c: Likewise.
3223 * symfile.c: Likewise.
3224 * symtab.c: Likewise.
3225 * target-descriptions.c: Likewise.
3226 * target-memory.c: Likewise.
3227 * target.c: Likewise.
3228 * tic6x-linux-tdep.c: Likewise.
3229 * tic6x-tdep.c: Likewise.
3230 * tilegx-linux-nat.c: Likewise.
3231 * tilegx-tdep.c: Likewise.
3232 * top.c: Likewise.
3233 * tramp-frame.c: Likewise.
3234 * tui/tui-out.c: Likewise.
3235 * tui/tui-winsource.c: Likewise.
3236 * ui-out.c: Likewise.
3237 * user-regs.c: Likewise.
3238 * utils.c: Likewise.
3239 * v850-tdep.c: Likewise.
3240 * valops.c: Likewise.
3241 * value.c: Likewise.
3242 * varobj.c: Likewise.
3243 * vax-nat.c: Likewise.
3244 * xml-syscall.c: Likewise.
3245 * xml-tdesc.c: Likewise.
3246 * xstormy16-tdep.c: Likewise.
3247 * xtensa-linux-nat.c: Likewise.
3248 * xtensa-tdep.c: Likewise.
3249
e76df0d0
GB
32502014-08-07 Gary Benson <gbenson@redhat.com>
3251
3252 * common/common-defs.h: Include common-utils.h.
3253 * defs.h: Do not include common-utils.h.
3254 * common/gdb_assert.h: Likewise.
3255 * darwin-nat.h: Likewise.
3256 * nat/linux-btrace.c: Likewise.
3257 * target/waitstatus.h: Likewise.
3258
4cb9c816
GB
32592014-08-07 Gary Benson <gbenson@redhat.com>
3260
3261 * common/common-defs.h: Include ptid.h.
3262 * defs.h: Do not include ptid.h.
3263 * inferior.h: Likewise.
3264 * infrun.h: Likewise.
3265 * nat/linux-btrace.h: Likewise.
3266 * nat/linux-osdata.h: Likewise.
3267 * target/waitstatus.h: Likewise.
3268
3995eeee
GB
32692014-08-07 Gary Benson <gbenson@redhat.com>
3270
3271 * common/common-defs.h: Include gdb_locale.h.
3272 * defs.h: Do not include gdb_locale.h.
3273
cb9f1a9b
GB
32742014-08-07 Gary Benson <gbenson@redhat.com>
3275
3276 * common/common-defs.h: Include gdb/signals.h.
3277 * defs.h: Do not include gdb/signals.h.
3278
a5fceff8
GB
32792014-08-07 Gary Benson <gbenson@redhat.com>
3280
3281 * common/common-defs.h: Include pathmax.h.
3282 * defs.h: Do not include pathmax.h.
3283
b9391142
GB
32842014-08-07 Gary Benson <gbenson@redhat.com>
3285
3286 * common/common-defs.h: Include libiberty.h.
3287 * defs.h: Do not include libiberty.h.
3288 * common/queue.h: Likewise.
3289 * cp-name-parser.y: Likewise.
3290 * mi/mi-cmd-catch.c: Likewise.
3291 * python/python.c: Likewise.
3292
0e443c87
GB
32932014-08-07 Gary Benson <gbenson@redhat.com>
3294
3295 * common/common-defs.h: Include ansidecl.h.
3296 * defs.h: Do not include ansidecl.h.
3297 * common/buffer.h: Likewise.
3298 * common/common-utils.h: Likewise.
3299
8ebb3f56
GB
33002014-08-07 Gary Benson <gbenson@redhat.com>
3301
3302 * common/common-defs.h: Include stddef.h.
3303 * defs.h: Do not include stddef.h.
3304 * common/common-utils.h: Likewise.
3305 * amd64fbsd-nat.c: Likewise.
3306 * bcache.c: Likewise.
3307 * charset.c: Likewise.
3308 * common/buffer.h: Likewise.
3309 * common/vec.h: Likewise.
3310 * i386bsd-nat.c: Likewise.
3311 * nat/linux-btrace.h: Likewise.
3312 * ppcfbsd-nat.c: Likewise.
3313 * ppcnbsd-tdep.h: Likewise.
3314 * ppcobsd-nat.c: Likewise.
3315 * ppcobsd-tdep.h: Likewise.
3316 * python/py-gdb-readline.c: Likewise.
3317
8980bdf6
GB
33182014-08-07 Gary Benson <gbenson@redhat.com>
3319
3320 * common/common-defs.h: Include stdarg.h.
3321 * defs.h: Do not include stdarg.h.
3322 * ada-lang.c: Likewise.
3323 * common/common-utils.h: Likewise.
3324 * guile/scm-string.c: Likewise.
3325 * guile/scm-utils.c: Likewise.
3326 * m32c-tdep.c: Likewise.
3327
d7096f71
GB
33282014-08-07 Gary Benson <gbenson@redhat.com>
3329
3330 * common/common-defs.h: Include stdlib.h.
3331 * defs.h: Do not include stdlib.h.
3332 * addrmap.c: Likewise.
3333 * bcache.c: Likewise.
3334 * common/buffer.c: Likewise.
3335 * common/common-utils.c: Likewise.
3336 * cp-name-parser.y: Likewise.
3337 * go32-nat.c: Likewise.
3338 * mn10300-linux-tdep.c: Likewise.
3339 * nat/linux-osdata.c: Likewise.
3340 * tui/tui.c: Likewise.
3341 * windows-nat.c: Likewise.
3342
d02f550d
GB
33432014-08-07 Gary Benson <gbenson@redhat.com>
3344
3345 * common/common-defs.h: Include stdio.h.
3346 * defs.h: Do not include stdio.h.
3347 * ada-lang.c: Likewise.
3348 * common/buffer.c: Likewise.
3349 * common/common-utils.c: Likewise.
3350 * cp-name-parser.y: Likewise.
3351 * gnu-nat.c: Likewise.
3352 * go32-nat.c: Likewise.
3353 * i386gnu-nat.c: Likewise.
3354 * proc-api.c: Likewise.
3355 * proc-events.c: Likewise.
3356 * proc-flags.c: Likewise.
3357 * proc-why.c: Likewise.
3358 * python/python-internal.h: Likewise.
3359 * target-memory.c: Likewise.
3360 * tui/tui-io.c: Likewise.
3361 * tui/tui.c: Likewise.
3362
b6d7a4bf
SM
33632014-08-06 Simon Marchi <simon.marchi@ericsson.com>
3364
3365 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
3366 (scan_dyntag_auxv): Same.
3367
af19829b
YQ
33682014-08-06 Yao Qi <yao@codesourcery.com>
3369
3370 * amd64-linux-nat.c: Remove duplicated include
3371 "x86-linux-nat.h".
3372 * i386-linux-nat.c: Likewise.
3373
8e07a239
YQ
33742014-08-06 Yao Qi <yao@codesourcery.com>
3375
3376 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
3377 operand" with "Special opcode" in comments.
3378
7bfe8241
GB
33792014-08-05 Gary Benson <gbenson@redhat.com>
3380
3381 * interps.c (initialize_interps): Remove prototype.
3382 (interpreter_initialized): Remove static global.
3383 (interp_add): Do not call initialize_interps.
3384 (initialize_interps): Remove function.
3385
d6c95504
GB
33862014-08-05 Gary Benson <gbenson@redhat.com>
3387
3388 * utils.c (vwarning): Remove spurious va_end.
3389
241fd515
AM
33902014-08-05 Alan Modra <amodra@gmail.com>
3391
3392 * charset.c (convert_between_encodings): Cast result of obstack_base.
3393 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
3394 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
3395 (read_unwind_info): Use size_t for some locals.
3396 * jit.c (finalize_symtab): Likewise.
3397 * utils.c (hashtab_obstack_allocate): Likewise.
3398 * symmisc.c (print_objfile_statistics): Update format strings.
3399
dc304a94
JK
34002014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3401
3402 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
3403 (Changes in GDB 7.8): ... here.
3404
3cecbbbe
TT
34052014-08-04 Tom Tromey <tromey@redhat.com>
3406
3407 * target.c (set_targetdebug): New function.
3408 (initialize_targets): Pass set_targetdebug when creating "set
3409 debug target".
3410
6908c509
JB
34112014-08-01 Joel Brobecker <brobecker@adacore.com>
3412
3413 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
3414 if detecting a variable-sized field that is not the last field.
3415 Fix struct type length computation.
3416
53e8f97d
JB
34172014-08-01 Joel Brobecker <brobecker@adacore.com>
3418
3419 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3420 Add debug trace.
3421
e068c55d
JB
34222014-08-01 Joel Brobecker <brobecker@adacore.com>
3423
3424 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3425 Remove "+ 8" offset in computation of CHAIN_VMA.
3426
4d4ca2a1
DE
34272014-07-31 Doug Evans <dje@google.com>
3428
3429 * inflow.c (child_terminal_inferior): Add comment.
3430 (child_terminal_ours_for_output): Add comment.
3431 (child_terminal_ours): Add comment.
3432 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
3433 (linux_nat_terminal_ours): Add comment.
3434
462f517e
GB
34352014-07-31 Gary Benson <gbenson@redhat.com>
3436
3437 * common/btrace-common.h: Do not include defs.h or server.h.
3438 * nat/mips-linux-watch.h: Likewise.
3439 * gdb-dlfcn.h: Do not include defs.h.
3440 * tracefile.h: Likewise.
3441
74228e77
RM
34422014-07-30 Roland McGrath <mcgrathr@google.com>
3443
3444 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
3445
014f9477
TT
34462014-07-30 Tom Tromey <tromey@redhat.com>
3447
3448 * bsd-kvm.c (bsd_kvm_open): Constify.
3449 * corelow.c (core_open): Constify.
3450 * ctf.c (ctf_open): Constify.
3451 * dbug-rom.c (dbug_open): Constify.
3452 * exec.c (exec_open): Constify.
3453 * m32r-rom.c (m32r_open, mon2000_open): Constify.
3454 * microblaze-rom.c (picobug_open): Constify.
3455 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
3456 Constify.
3457 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
3458 * record-btrace.c (record_btrace_open): Constify.
3459 * record-full.c (record_full_core_open_1, record_full_open_1)
3460 (record_full_open): Constify.
3461 * remote-m32r-sdi.c (m32r_open): Constify.
3462 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
3463 (rockhopper_open, lsi_open): Constify.
3464 * remote-sim.c (gdbsim_open): Constify.
3465 * remote.c (remote_open, extended_remote_open, remote_open_1):
3466 Constify.
3467 * target.h (struct target_ops) <to_open>: Make "arg" const.
3468 * tracefile-tfile.c (tfile_open): Constify.
3469
e799154c
TT
34702014-07-30 Tom Tromey <tromey@redhat.com>
3471
3472 * breakpoint.c (map_breakpoint_numbers): Update.
3473 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
3474 (get_number_const): New function.
3475 (get_number): Rewrite using get_number_const.
3476 (init_number_or_range): Make "string" const.
3477 (number_is_in_list): Make "list" const.
3478 * cli/cli-utils.h (get_number_const): Declare.
3479 (struct get_number_or_range_state) <string, end_ptr>: Now const.
3480 (init_number_or_range, number_is_in_list): Update.
3481 * printcmd.c (map_display_numbers): Update.
3482 * value.c (value_from_history_ref): Constify.
3483 * value.h (value_from_history_ref): Update.
3484
5f08566b
TT
34852014-07-30 Tom Tromey <tromey@redhat.com>
3486
3487 * corefile.c (hook_type, call_extra_exec_file_hooks)
3488 (specify_exec_file_hook): Constify.
3489 * exec.c (exec_file_attach): Make "filename" const.
3490 * gdbcore.h (deprecated_exec_file_display_hook)
3491 (specify_exec_file_hook, exec_file_attach): Constify.
3492 * main.c (captured_main): Use catch_command_errors_const.
3493
8981c758
TT
34942014-07-30 Tom Tromey <tromey@redhat.com>
3495
3496 * target.c (open_target): New function.
3497 (add_target_with_completer, add_deprecated_target_alias): Use
3498 set_cmd_sfunc, set_cmd_context.
3499 (debug_to_open): Remove.
3500 (setup_target_debug): Update.
3501
a1c7835a
YQ
35022014-07-30 Yao Qi <yao@codesourcery.com>
3503
3504 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
3505 comments.
3506 * parse.c (exp_iterate): Update comments.
3507
976411d6
GB
35082014-07-30 Gary Benson <gbenson@redhat.com>
3509
3510 * common/common-defs.h: New file.
3511 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
3512 * defs.h: Include common-defs.h.
3513 Do not include config.h or build-gnulib/config.h.
3514
5d4848a4
GB
35152014-07-30 Gary Benson <gbenson@redhat.com>
3516
3517 * common/common-utils.h: Do not include config.h.
3518 * nat/linux-btrace.h: Likewise.
3519
d41f6d8e
GB
35202014-07-30 Gary Benson <gbenson@redhat.com>
3521
3522 * btrace.c: Include defs.h.
3523 * common/ptid.c: Include defs.h or server.h as appropriate.
3524 * nat/mips-linux-watch.c: Likewise.
3525
84202f9c
TT
35262014-07-29 Tom Tromey <tromey@redhat.com>
3527
3528 * target.c (target_is_pushed): Simplify.
3529
2530441c
JB
35302014-07-29 Joel Brobecker <brobecker@adacore.com>
3531
3532 GDB 7.8 released.
3533
7e09a223
YQ
35342014-07-29 Yao Qi <yao@codesourcery.com>
3535
3536 PR gdb/17206
3537 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
3538
7ebdbe92
DE
35392014-07-28 Doug Evans <xdje42@gmail.com>
3540
3541 PR guile/17203
3542 * guile/scm-param.c (pascm_parameter_defined_p): New function.
3543 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
3544 parameters.
3545
f347ffc9
WN
35462014-07-28 Will Newton <will.newton@linaro.org>
3547
3548 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
3549 (THUMB2_SET_R7_SIGRETURN2): Likewise.
3550 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
3551 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
3552 (THUMB2_EABI_SYSCALL): Likewise.
3553 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
3554 struct tramp_frame.
3555 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
3556 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
3557
37c5f1f7
DE
35582014-07-27 Doug Evans <xdje42@gmail.com>
3559
3560 * guile/scm-param.c (pascm_print_param_smob): Fix output.
3561
0c3abbc7
DE
35622014-07-27 Doug Evans <xdje42@gmail.com>
3563
3564 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
3565
e76c5d17
DE
35662014-07-26 Ludovic Courtès <ludo@gnu.org>
3567 Doug Evans <xdje42@gmail.com>
3568
3569 PR guile/17146
3570 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
3571 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
3572 * configure.ac: Try to use guild to compile an scm file, if it fails
3573 then disable guile support.
3574 * configure: Regenerate.
3575 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
3576 GUILE_FILE_LIST.
3577 (GUILE_COMPILED_FILES): New variable.
3578 (GUILE_FILES) Update.
3579 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
3580 (stamp-guile): Compile scm files.
3581 * guile/guile.c (boot_guile_support): New function.
3582 (standard_throw_args_p): New function.
3583 (print_standard_throw_error, print_throw_error): New functions.
3584 (handle_boot_error): New function.
3585 (initialize_scheme_side): Rewrite to call boot_guile_support.
3586 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
3587 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
3588
186fcde0
DE
35892014-07-26 Ludovic Courtès <ludo@gnu.org>
3590 Doug Evans <xdje42@gmail.com>
3591
3592 PR guile/17146
3593 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
3594 * guile/lib/gdb/support.scm: New file.
3595 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
3596 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
3597 All uses updated.
3598 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
3599 All uses updated.
3600 (%assert-type): Ditto, and renamed to assert-type.
3601 (%exception-print-style): Delete.
3602
4df42755
DE
36032014-07-26 Doug Evans <xdje42@gmail.com>
3604
3605 PR build/17105
3606 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
3607 * configure: Regenerate.
3608 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
3609 PYTHON_FILES.
3610 (PYTHON_FILES): New variable.
3611 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
3612 (GUILE_FILES): New variable.
3613 (stamp-python, install-python, uninstall-python): Handle empty
3614 file list.
3615 (stamp-guile, install-guile, uninstall-guile): Ditto.
3616
ee7333ae
DE
36172014-07-26 Doug Evans <xdje42@gmail.com>
3618
3619 PR guile/17177
3620 * guile/lib/gdb.scm (pretty-printers): Export.
3621 (set-pretty-printers!): Export.
3622 * guile/lib/gdb/printing.scm (gdb module): Update.
3623 (prepend-pretty-printer!, append-pretty-printer!): Update.
3624 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
3625 (pretty_printer_list_var): Delete.
3626 (pretty_printer_list): New static global.
3627 (gdbscm_pretty_printers): New function.
3628 (gdbscm_set_pretty_printers_x): New function.
3629 (ppscm_find_pretty_printer_from_gdb): Update.
3630 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
3631 (gdbscm_initialize_pretty_printers): Update.
3632
74edf516
DE
36332014-07-26 Doug Evans <xdje42@gmail.com>
3634
3635 PR 17185
3636 * configure.ac: Add check for header gc/gc.h.
3637 Add check for function setenv.
3638 * configure: Regenerate.
3639 * config.in: Regenerate.
3640 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
3641
d54398a7
MR
36422014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
3643
3644 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
3645 variation in gdbarch matching.
3646
ab16fce8
TT
36472014-07-25 Tom Tromey <tromey@redhat.com>
3648
3649 * exec.c (using_exec_ops): Remove.
3650 (exec_close_1): Update. Remove extraneous block, reindent.
3651 (add_target_sections): Use target_is_pushed.
3652
88056fbb
PA
36532014-07-25 Pedro Alves <palves@redhat.com>
3654
3655 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
3656 * monitor.c (monitor_create_inferior): Likewise.
3657 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
3658 * remote-sim.c (gdbsim_create_inferior): Likewise.
3659 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
3660 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
3661 * windows-nat.c (do_initial_windows_stuff): Likewise.
3662
70509625
PA
36632014-07-25 Pedro Alves <palves@redhat.com>
3664
3665 * NEWS: Mention signal passing and "signal" command changes.
3666 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
3667 comment.
3668 * breakpoint.c (until_break_command): Adjust clear_proceed_status
3669 call.
3670 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
3671 * infcmd.c (proceed_thread_callback, continue_1, step_once)
3672 (jump_command): Adjust clear_proceed_status call.
3673 (signal_command): Warn if other thread that are resumed have
3674 signals that will be delivered. Adjust clear_proceed_status call.
3675 (until_next_command, finish_command)
3676 (proceed_after_attach_callback, attach_command_post_wait)
3677 (attach_command): Adjust clear_proceed_status call.
3678 * infrun.c (proceed_after_vfork_done): Likewise.
3679 (proceed_after_attach_callback): Adjust comment.
3680 (clear_proceed_status_thread): Clear stop_signal if not in pass
3681 state.
3682 (clear_proceed_status_callback): Delete.
3683 (clear_proceed_status): New 'step' parameter. Only clear the
3684 proceed status of threads the command being prepared is about to
3685 resume.
3686 (proceed): If passed in an explicit signal, override stop_signal
3687 with it. Don't pass the last stop signal to the thread we're
3688 resuming.
3689 (init_wait_for_inferior): Adjust clear_proceed_status call.
3690 (switch_back_to_stepped_thread): Clear the signal if it should not
3691 be passed.
3692 * infrun.h (clear_proceed_status): New 'step' parameter.
3693 (user_visible_resume_ptid): Add comment.
3694 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
3695 signal is in pass state.
3696 * remote.c (append_pending_thread_resumptions): Likewise.
3697 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
3698
d8be2939
TT
36992014-07-25 Tom Tromey <tromey@redhat.com>
3700
3701 * target.h (target_stopped_data_address)
3702 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
3703 parentheses.
3704
7d0d9d2b
PL
37052014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
3706
3707 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
3708 comments.
3709 (avr_pointer_to_address): Likewise.
3710
e9e7f724
TT
37112014-07-24 Tom Tromey <tromey@redhat.com>
3712
3713 * monitor.c (compile_pattern): Update.
3714 * target.h (struct target_ops) <to_shortname, to_longname,
3715 to_doc>: Now const.
3716
1947513d
TT
37172014-07-24 Tom Tromey <tromey@redhat.com>
3718
3719 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
3720 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
3721 (add_info_alias, add_com): Make "doc" const.
3722 (print_doc_line): Make "str" const.
3723 (delete_cmd): Update.
3724 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
3725 (print_doc_line): Update.
3726 * cli/cli-script.c (document_command): Update.
3727 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
3728 (add_com, add_info, add_info_alias): Update.
3729 * guile/scm-cmd.c (cmdscm_destroyer): Update.
3730 * python/py-cmd.c (cmdpy_destroyer): Update.
3731
64e61d29
TT
37322014-07-24 Tom Tromey <tromey@redhat.com>
3733
3734 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
3735 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
3736 (help_cmd_list): Constify.
3737 (lookup_cmd): Update.
3738 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
3739 const.
3740 (help_cmd_list, apropos_cmd): Update.
3741 * cli/cli-script.c (show_user): Update.
3742 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
3743 * cli/cli-setshow.h (cmd_show_list): Update.
3744 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
3745 (cmd_show_list): Update.
3746 * guile/scm-cmd.c (cmdscm_destroyer): Update.
3747 * python/py-cmd.c (cmdpy_destroyer): Update.
3748
429e55ea
TT
37492014-07-24 Tom Tromey <tromey@redhat.com>
3750
3751 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
3752 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
3753 const.
3754 * command.h (deprecate_cmd): Update.
3755 * maint.c (maintenance_do_deprecate): Add casts.
3756
64669f3b
TT
37572014-07-24 Tom Tromey <tromey@redhat.com>
3758
3759 * cli/cli-decode.c (help_cmd): Make parameter "const".
3760 * cli/cli-decode.h (help_cmd): Update.
3761
d3d3328b
TT
37622014-07-24 Tom Tromey <tromey@redhat.com>
3763
3764 * stack.c (up_silently_base, down_silently_base): Make argument
3765 const.
3766
414842dc
TT
37672014-07-24 Tom Tromey <tromey@redhat.com>
3768
3769 * solib.c (solib_add): Make "pattern" const.
3770 * solib.h (solib_add): Update.
3771
baa336ce
TT
37722014-07-24 Tom Tromey <tromey@redhat.com>
3773
3774 * remote.c (remote_serial_open, print_packet, putpkt)
3775 (putpkt_binary): Constify.
3776 * remote.h (putpkt): Update.
3777
5a19e2d0
TT
37782014-07-24 Tom Tromey <tromey@redhat.com>
3779
3780 * monitor.c (monitor_open): Make "args" const.
3781 * monitor.h (monitor_open): Update.
3782
fc4baa5e
TT
37832014-07-24 Tom Tromey <tromey@redhat.com>
3784
3785 * maint.c (match_bfd_flags): Make "string" const.
3786 (print_bfd_section_info): Remove casts.
3787 (print_objfile_section_info): Make "string" const.
3788
0d5f0dbe
TT
37892014-07-24 Tom Tromey <tromey@redhat.com>
3790
3791 * inf-child.c (inf_child_open_target): Make "arg" const.
3792 * inf-child.h (inf_child_open_target): Update.
3793
41c77899
TT
37942014-07-24 Tom Tromey <tromey@redhat.com>
3795
3796 * environ.c (unset_in_environ): Make "var" const.
3797 * environ.h (unset_in_environ): Update.
3798
93db0d79
TT
37992014-07-24 Tom Tromey <tromey@redhat.com>
3800
3801 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
3802 Make "cmd" const.
3803 (scan_filename_with_cleanup): Likewise.
3804 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
3805 Make arguments const.
3806 (restore_command): Update.
3807
36d6eb95
PA
38082014-07-24 Pedro Alves <palves@redhat.com>
3809
3810 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
3811
8009206a
TT
38122014-07-24 Tom Tromey <tromey@redhat.com>
3813 Gary Benson <gbenson@redhat.com>
3814
3815 * nat/linux-ptrace.c (additional_flags): New global.
3816 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
3817 additional_flags; don't check GDBSERVER.
3818 (linux_ptrace_set_additional_flags): New function.
3819 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
3820 Declare.
3821 * linux-nat.c (_initialize_linux_nat): Call
3822 linux_ptrace_set_additional_flags.
3823
a7068b60
TT
38242014-07-24 Tom Tromey <tromey@redhat.com>
3825
3826 * make-target-delegates (munge_type, write_debugmethod): New
3827 functions.
3828 (debug_names): New global.
3829 ($TARGET_DEBUG_PRINTER): New global.
3830 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
3831 name.
3832 Write debug methods. Generate init_debug_target.
3833 * target-debug.h: New file.
3834 * target-delegates.c: Rebuild.
3835 * target.c: Include target-debug.h.
3836 (debug_target): Hoist definition.
3837 (target_kill, target_get_section_table, target_memory_map)
3838 (target_flash_erase, target_flash_done, target_detach)
3839 (target_disconnect, target_wait, target_resume)
3840 (target_pass_signals, target_program_signals, target_follow_fork)
3841 (target_mourn_inferior, target_search_memory)
3842 (target_thread_address_space, target_close)
3843 (target_find_new_threads, target_core_of_thread)
3844 (target_verify_memory, target_insert_mask_watchpoint)
3845 (target_remove_mask_watchpoint): Remove targetdebug code.
3846 (debug_to_post_attach, debug_to_prepare_to_store)
3847 (debug_to_files_info, debug_to_insert_breakpoint)
3848 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
3849 (debug_to_region_ok_for_hw_watchpoint)
3850 (debug_to_can_accel_watchpoint_condition)
3851 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
3852 (debug_to_watchpoint_addr_within_range)
3853 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
3854 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
3855 (debug_to_terminal_init, debug_to_terminal_inferior)
3856 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
3857 (debug_to_terminal_save_ours, debug_to_terminal_info)
3858 (debug_to_load, debug_to_post_startup_inferior)
3859 (debug_to_insert_fork_catchpoint)
3860 (debug_to_remove_fork_catchpoint)
3861 (debug_to_insert_vfork_catchpoint)
3862 (debug_to_remove_vfork_catchpoint)
3863 (debug_to_insert_exec_catchpoint)
3864 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
3865 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
3866 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
3867 (setup_target_debug): Call init_debug_target.
3868 * target.h (TARGET_DEBUG_PRINTER): New macro.
3869 (struct target_ops) <to_resume, to_wait, to_pass_signals,
3870 to_program_signals>: Use TARGET_DEBUG_PRINTER.
3871
2c51604d
GB
38722014-07-24 Gary Benson <gbenson@redhat.com>
3873
3874 * exceptions.h (throw_vfatal): Renamed to...
3875 (throw_vquit): New declaration.
3876 (throw_quit): Likewise.
3877 * exceptions.c (throw_vfatal): Renamed to...
3878 (throw_vquit): New function.
3879 (throw_quit): Likewise.
3880 (throw_error): Call throw_verror rather than throw_it.
3881 * utils.h (vfatal): Removed.
3882 (fatal): Likewise.
3883 * utils.c (vfatal): Removed.
3884 (fatal): Likewise.
3885 (internal_verror): Replaced call to fatal with call to throw_quit.
3886 (quit): Replaced calls to fatal with calls to throw_quit.
3887
34211963
ME
38882014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
3889
3890 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
3891 target_read_code.
3892
a52b4d3e
ME
38932014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
3894
3895 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
3896 less than zero in conditional expression.
3897
a8bdc56b
TT
38982014-07-23 Tom Tromey <tromey@redhat.com>
3899
3900 * make-target-delegates ($ARGS_PART): Match trailing close paren.
3901 ($INTRO_PART): Don't match whitespace.
3902 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
3903 argument matching.
3904 ($METHOD): Add $METHOD_TRAILER.
3905 (trim): Rewrite.
3906 (scan_target_h): New sub.
3907 Change main loop not to collect state.
3908 * target-delegates.c: Rebuild.
3909
91b52240
GB
39102014-07-23 Gary Benson <gbenson@redhat.com>
3911
3912 * cp-support.c (gdb_demangle): Fix build on systems without
3913 sigaltstack.
3914
45326f6f
JK
39152014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3916
3917 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
3918 for reference entry value target data value.
3919
e214cf6c
JK
39202014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3921
3922 * stack.c (read_frame_arg): Verify value_optimized_out before calling
3923 value_available_contents_eq.
3924
bddbbedd
PA
39252014-07-22 Pedro Alves <palves@redhat.com>
3926
3927 * value.c (allocate_optimized_out_value): Don't mark value as
3928 non-lazy.
3929
45c71484
JW
39302014-07-22 Jiong Wang <jiong.wang@arm.com>
3931
3932 * MAINTAINERS (Write After Approval): Update my email address.
3933
9597b22a
DE
39342014-07-20 Doug Evans <dje@google.com>
3935
3936 PR server/17147
3937 * remote.c (putpkt_binary): Add text to error message.
3938
91101fe5
YQ
39392014-07-20 Yao Qi <yao@codesourcery.com>
3940
3941 * eval.c: Remove "Chill" from comments.
3942 * gdbtypes.h: Likewise.
3943 * symtab.h: Likewise.
3944
c9402c95
YQ
39452014-07-20 Yao Qi <yao@codesourcery.com>
3946
3947 * std-operator.def: Update comments to TERNOP_SLICE.
3948
ae8fddda
YQ
39492014-07-20 Yao Qi <yao@codesourcery.com>
3950
3951 * std-operator.def: Remove BINOP_RANGE.
3952 * breakpoint.c (watchpoint_exp_is_const): Update.
3953 * expprint.c (dump_subexp_body_standard): Likewise.
3954 * eval.c (init_array_element): Remove dead code.
3955 (evaluate_subexp_standard): Likewise.
3956
9c816640
YQ
39572014-07-20 Yao Qi <yao@codesourcery.com>
3958
3959 * std-operator.def: Remove BINOP_IN.
3960 * breakpoint.c (watchpoint_exp_is_const): Update.
3961 * eval.c (evaluate_subexp_standard): Likewise.
3962 * expprint.c (dump_subexp_body_standard): Likewise.
3963
164224e9
ME
39642014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
3965
3966 * microblaze-tdep.c (microblaze_register_names): Add
3967 the rshr and rslr register names.
3968 (microblaze_gdbarch_init): Use of tdesc_has_registers.
3969 Use of tdesc_find_feature. Use of tdesc_data_alloc.
3970 Use of tdesc_numbered_register. Use of
3971 microblaze_register_g_packet_guesses. Use of
3972 tdesc_use_registers. Use of set_gdbarch_register_type.
3973 (microblaze_register_g_packet_guesses): New.
3974 * microblaze-tdep.h (microblaze_reg_num): Add
3975 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
3976 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
3977 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
3978 * features/microblaze-core.xml: New file.
3979 * features/microblaze-stack-protect.xml: New file.
3980 * features/microblaze-with-stack-protect.c: New file.
3981 * features/microblaze-with-stack-protect.xml: New file.
3982 * features/microblaze.xml: New file.
3983 * features/microblaze.c: New file.
3984 * features/Makefile (microblaze-with-stack-protect): Add
3985 microblaze-with-stack-protect microblaze and microblaze-expedite.
3986 * regformats/microblaze-with-stack-protect.dat: New file.
3987 * regformats/microblaze.dat: New file.
3988 * doc/gdb.texinfo (MicroBlaze Features): Added.
3989
e8b2341c
TT
39902014-07-18 Tom Tromey <tromey@redhat.com>
3991
3992 * exec.c (exec_ops): Now static.
3993 * exec.h (exec_ops): Don't declare.
3994
44e89118
TT
39952014-07-18 Tom Tromey <tromey@redhat.com>
3996
3997 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
3998 to find_target_beneath.
3999 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
4000 find_target_beneath.
4001 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
4002
b0ed115f
TT
40032014-07-18 Tom Tromey <tromey@redhat.com>
4004
4005 PR gdb/17130:
4006 * utils.c (quit): Use target_supports_terminal_ours.
4007 * target.h (target_supports_terminal_ours): Declare.
4008 * target.c (target_supports_delete_record): Don't check
4009 to_delete_record against NULL.
4010 (target_supports_terminal_ours): New function.
4011
e75fdfca
TT
40122014-07-18 Tom Tromey <tromey@redhat.com>
4013
4014 PR gdb/17130:
4015 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
4016 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
4017 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
4018 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
4019 * windows-nat.c (windows_xfer_partial): Always delegate.
4020 * record-btrace.c (record_btrace_xfer_partial): Simplify
4021 delegation.
4022 (record_btrace_fetch_registers, record_btrace_store_registers)
4023 (record_btrace_prepare_to_store, record_btrace_resume)
4024 (record_btrace_wait, record_btrace_find_new_threads)
4025 (record_btrace_thread_alive): Likewise.
4026 * procfs.c (procfs_xfer_partial): Always delegate.
4027 * corelow.c (core_xfer_partial): Always delegate.
4028 * sol-thread.c (sol_find_new_threads): Simplify delegation.
4029
83814951
TT
40302014-07-18 Tom Tromey <tromey@redhat.com>
4031
4032 * exec.c (exec_make_note_section): Move earlier.
4033
b8b8facf
DE
40342014-07-17 Doug Evans <dje@google.com>
4035
74b49205 4036 PR gdb/17170
b8b8facf
DE
4037 * maint.c (count_symtabs_and_blocks): Handle NULL
4038 current_program_space.
4039 (report_command_stats): Check global enabled flag in addition to
4040 recorded enabled flag.
4041 (make_command_stats_cleanup): Handle msg_type == 0, startup.
4042
69ff6be5
PA
40432014-07-16 Pedro Alves <palves@redhat.com>
4044
4045 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
4046
252db1b5
TT
40472014-07-16 Tom Tromey <tromey@redhat.com>
4048
4049 * target.h (struct target_ops) <to_delete_record>: Reformat
4050 comment.
4051
a432721e
TT
40522014-07-16 Tom Tromey <tromey@redhat.com>
4053
4054 * target-delegates.c: Rebuild.
4055
487d9753
PL
40562014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4057
4058 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
4059 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
4060 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
4061 (avr_pointer_to_address): Likewise.
4062 (avr_address_class_type_flags): New function.
4063 (avr_address_class_type_flags_to_name): Likewise.
4064 (avr_address_class_name_to_type_flags): Likewise.
4065 (avr_gdbarch_init): Set address_class_type_flags,
4066 address_class_type_flags_to_name and
4067 address_class_name_to_type_flags.
4068
57745c90
PA
40692014-07-15 Pedro Alves <palves@redhat.com>
4070
4071 * linux-nat.c (kill_callback): Save errno and work with saved
4072 copy.
4073
2d40be18
SM
40742014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4075
4076 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
4077
572f6555
EBM
40782014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4079
4080 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
4081 breakpoint support correctly.
4082
cc1c52ad
PA
40832014-07-14 Pedro Alves <palves@redhat.com>
4084
4085 * utils.c (prompt_for_continue): Call target_terminal_ours.
4086
1e973570
PA
40872014-07-14 Pedro Alves <palves@redhat.com>
4088
4089 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
4090 catch_errors. Don't re-enable stdin or notify observers where,
4091 and rethrow error.
4092 (fetch_inferior_event_wrapper): Delete.
4093
93d6eb10
PA
40942014-07-14 Pedro Alves <palves@redhat.com>
4095
4096 PR gdb/17072
4097 * top.c: Include "inf-loop.h".
4098 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
4099 field.
4100 (gdb_readline_wrapper_cleanup): Make the target async again, if it
4101 was async before.
4102 (gdb_readline_wrapper): Store whether the target is async, and
4103 make it sync.
4104
0017922d
PA
41052014-07-14 Pedro Alves <palves@redhat.com>
4106
4107 PR gdb/17072
4108 * top.c (gdb_readline_wrapper_line): Tweak comment.
4109 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
4110 the input handler callback.
4111
94696ad3
PA
41122014-07-14 Pedro Alves <palves@redhat.com>
4113
4114 PR gdb/17072
4115 * main.c: Include event-top.h.
4116 (handle_command_errors): New function.
4117 (catch_command_errors, catch_command_errors_const): Use it.
4118
9d1e69a2
PA
41192014-07-14 Pedro Alves <palves@redhat.com>
4120
4121 * exceptions.c (catch_command_errors, catch_command_errors_const):
4122 Moved to main.c.
4123 * exceptions.h (catch_command_errors_ftype)
4124 (catch_command_errors_const_ftype): Moved to main.c.
4125 (catch_command_errors, catch_command_errors_const): Delete
4126 declarations.
4127 * main.c (catch_command_errors_ftype)
4128 (catch_command_errors_const_ftype): Moved here from exceptions.h.
4129 (catch_command_errors, catch_command_errors_const)): Moved here
4130 from exceptions.c and make static.
4131
feefc97b
PA
41322014-07-14 Pedro Alves <palves@redhat.com>
4133
4134 * exceptions.c (print_any_exception): Delete.
4135 (catch_exceptions_with_msg): Use exception_print instead of
4136 print_any_exception.
4137 (catch_errors): Use exception_fprintf instead of
4138 print_any_exception.
4139 (catch_command_errors, catch_command_errors_const): Use
4140 exception_print instead of print_any_exception.
4141
c933f875
PA
41422014-07-14 Pedro Alves <palves@redhat.com>
4143
4144 * infcall.c (run_inferior_call): Set 'sync_execution' while
4145 running the inferior call.
4146
feb6f816
PA
41472014-07-14 Pedro Alves <palves@redhat.com>
4148
4149 * value.c (value_contents_equal): Delete function.
4150 * value.h (value_contents_equal): Delete declaration.
4151
d98b7a16
TT
41522014-07-14 Tom Tromey <tromey@redhat.com>
4153
4154 PR exp/17106:
4155 * gdbtypes.c (is_dynamic_type_internal): New function, from
4156 is_dynamic_type.
4157 (is_dynamic_type): Rewrite.
4158 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
4159 (resolve_dynamic_struct): Likewise.
4160 (resolve_dynamic_type_internal): New function, from
4161 resolve_dynamic_type.
4162 (resolve_dynamic_type): Rewrite.
4163
548740d6
TT
41642014-07-14 Tom Tromey <tromey@redhat.com>
4165
4166 * target.c (target_require_runnable): Also check record_stratum.
4167 Update comment.
4168
808f7ab1
YQ
41692014-07-11 Yao Qi <yao@codesourcery.com>
4170
4171 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
4172 thumb_instruction_restores_sp return true.
4173
540314bd
YQ
41742014-07-11 Yao Qi <yao@codesourcery.com>
4175
4176 * arm-tdep.c (thumb_instruction_restores_sp): New function.
4177 (thumb_in_function_epilogue_p): Call
4178 thumb_instruction_restores_sp.
4179
1db01f22
YQ
41802014-07-11 Yao Qi <yao@codesourcery.com>
4181
4182 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
4183 'add sp, #imm'.
4184 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
4185
3116063b
GB
41862014-07-11 Gary Benson <gbenson@redhat.com>
4187
4188 * amd64-linux-nat.c (gdbcore.h): Remove include.
4189 (regset.h): Likewise.
4190 (nat/linux-btrace.h): Likewise.
4191 (btrace.h): Likewise.
4192 (gdb_assert.h): Likewise.
4193 (string.h): Likewise.
4194 (sys/uio.h): Likewise.
4195 (sys/debugreg.h): Likewise.
4196 (sys/syscall.h): Likewise.
4197 (sys/procfs.h): Likewise.
4198 (sys/user.h): Likewise.
4199 (asm/ptrace.h): Likewise.
4200 (i386-nat.h): Likewise.
4201 * i386-linux-nat.c (i386-nat.h): Likewise.
4202 (regset.h): Likewise.
4203 (target.h): Likewise.
4204 (linux-nat.h): Likewise.
4205 (nat/linux-btrace.h): Likewise.
4206 (btrace.h): Likewise.
4207 (gdb_assert.h): Likewise.
4208 (string.h): Likewise.
4209 (sys/uio.h): Likewise.
4210 (sys/user.h): Likewise.
4211 (sys/procfs.h): Likewise.
4212 (sys/reg.h): Likewise.
4213 (sys/debugreg.h): Likewise.
4214 (ORIG_EAX): Remove definition.
4215
040baaf6
GB
42162014-07-11 Gary Benson <gbenson@redhat.com>
4217
4218 * i386-linux-nat.h: New file.
4219 * x86-linux-nat.h: Likewise.
4220 * x86-linux-nat.c: Likewise.
4221 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
4222 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
4223 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4224 * amd64-linux-nat.c (x86-linux-nat.h): New include.
4225 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4226 (PTRACE_SETREGSET): Likewise.
4227 (arch_lwp_info): Now in x86-linux-nat.c.
4228 (have_ptrace_getregset): Now in x86-linux-nat.h.
4229 (x86_linux_dr_get): Now in x86-linux-nat.c.
4230 (x86_linux_dr_set): Likewise.
4231 (x86_linux_dr_get_addr): Likewise.
4232 (x86_linux_dr_get_control): Likewise.
4233 (x86_linux_dr_get_status): Likewise.
4234 (update_debug_registers_callback): Likewise.
4235 (x86_linux_dr_set_control): Likewise.
4236 (x86_linux_dr_set_addr): Likewise.
4237 (x86_linux_prepare_to_resume): Likewise.
4238 (x86_linux_new_thread): Likewise.
4239 (x86_linux_new_fork): Likewise.
4240 (x86_linux_get_thread_area): Likewise.
4241 (super_post_startup_inferior): Likewise.
4242 (x86_linux_child_post_startup_inferior): Likewise.
4243 (AMD64_LINUX_USER64_CS): Likewise.
4244 (AMD64_LINUX_X32_DS): Likewise.
4245 (x86_linux_read_description): Likewise.
4246 (x86_linux_enable_btrace): Likewise.
4247 (x86_linux_disable_btrace): Likewise.
4248 (x86_linux_teardown_btrace): Likewise.
4249 (x86_linux_read_btrace): Likewise.
4250 (x86_linux_create_target): Likewise.
4251 (x86_linux_add_target): Likewise.
4252 * i386-linux-nat.c (x86-linux-nat.h): New include.
4253 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4254 (PTRACE_SETREGSET): Likewise.
4255 (arch_lwp_info): Now in x86-linux-nat.c.
4256 (have_ptrace_getregset): Now in x86-linux-nat.h.
4257 (x86_linux_dr_get): Now in x86-linux-nat.c.
4258 (x86_linux_dr_set): Likewise.
4259 (x86_linux_dr_get_addr): Likewise.
4260 (x86_linux_dr_get_control): Likewise.
4261 (x86_linux_dr_get_status): Likewise.
4262 (update_debug_registers_callback): Likewise.
4263 (x86_linux_dr_set_control): Likewise.
4264 (x86_linux_dr_set_addr): Likewise.
4265 (x86_linux_prepare_to_resume): Likewise.
4266 (x86_linux_new_thread): Likewise.
4267 (x86_linux_new_fork): Likewise.
4268 (x86_linux_get_thread_area): Likewise.
4269 (super_post_startup_inferior): Likewise.
4270 (x86_linux_child_post_startup_inferior): Likewise.
4271 (AMD64_LINUX_USER64_CS): Likewise.
4272 (AMD64_LINUX_X32_DS): Likewise.
4273 (x86_linux_read_description): Likewise.
4274 (x86_linux_enable_btrace): Likewise.
4275 (x86_linux_disable_btrace): Likewise.
4276 (x86_linux_teardown_btrace): Likewise.
4277 (x86_linux_read_btrace): Likewise.
4278 (x86_linux_create_target): Likewise.
4279 (x86_linux_add_target): Likewise.
4280
1aa7e42c
GB
42812014-07-11 Gary Benson <gbenson@redhat.com>
4282
4283 * amd64-linux-nat.c: Comment and whitespace changes.
4284 * i386-linux-nat.c: Comment and whitespace changes.
4285
c1e246a0
GB
42862014-07-11 Gary Benson <gbenson@redhat.com>
4287
4288 * amd64-linux-nat.c (x86_linux_create_target): New function.
4289 (x86_linux_add_target): Likewise.
4290 (_initialize_amd64_linux_nat): Delegate to the above new functions.
4291 * i386-linux-nat.c (x86_linux_create_target): New function.
4292 (x86_linux_add_target): Likewise.
4293 (_initialize_i386_linux_nat): Delegate to the above new functions.
4294
8c420b8d
GB
42952014-07-11 Gary Benson <gbenson@redhat.com>
4296
4297 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
4298 (ps_get_thread_area): Delegate to the above in 32-bit mode.
4299 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
4300 (ps_get_thread_area): Delegate to the above.
4301
cb1da100
GB
43022014-07-11 Gary Benson <gbenson@redhat.com>
4303
4304 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
4305 x86_linux_read_description. All uses updated. amd64-specific
4306 code conditionalized. Conditionalized i386-specific code added.
4307 Redundant cast removed.
4308 * i386-linux-nat.c (i386_linux_read_description): Renamed to
4309 x86_linux_read_description. All uses updated. i386-specific
4310 code conditionalized. Conditionalized amd64-specific code added.
4311 One sizeof replaced with the actual type it is describing.
4312
2acf3cd0
GB
43132014-07-11 Gary Benson <gbenson@redhat.com>
4314
4315 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
4316 x86_linux_dr_get. All uses updated.
4317 (amd64_linux_dr_set): Renamed to
4318 x86_linux_dr_set. All uses updated.
4319 (amd64_linux_dr_get_addr): Renamed to
4320 x86_linux_dr_get_addr. All uses updated.
4321 (amd64_linux_dr_get_control): Renamed to
4322 x86_linux_dr_get_control. All uses updated.
4323 (amd64_linux_dr_get_status): Renamed to
4324 x86_linux_dr_get_status. All uses updated.
4325 (amd64_linux_dr_set_control): Renamed to
4326 x86_linux_dr_set_control. All uses updated.
4327 (amd64_linux_dr_set_addr): Renamed to
4328 x86_linux_dr_set_addr. All uses updated.
4329 (amd64_linux_prepare_to_resume): Renamed to
4330 x86_linux_prepare_to_resume. All uses updated.
4331 (amd64_linux_new_thread): Renamed to
4332 x86_linux_new_thread. All uses updated.
4333 (amd64_linux_new_fork): Renamed to
4334 x86_linux_new_fork. All uses updated.
4335 (amd64_linux_child_post_startup_inferior): Renamed to
4336 x86_linux_child_post_startup_inferior. All uses updated.
4337 (amd64_linux_enable_btrace): Renamed to
4338 x86_linux_enable_btrace. All uses updated.
4339 (amd64_linux_disable_btrace): Renamed to
4340 x86_linux_disable_btrace. All uses updated.
4341 (amd64_linux_teardown_btrace): Renamed to
4342 x86_linux_teardown_btrace. All uses updated.
4343 (amd64_linux_read_btrace): Renamed to
4344 x86_linux_read_btrace. All uses updated.
4345 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
4346 x86_linux_dr_get. All uses updated.
4347 (i386_linux_dr_set): Renamed to
4348 x86_linux_dr_set. All uses updated.
4349 (i386_linux_dr_get_addr): Renamed to
4350 x86_linux_dr_get_addr. All uses updated.
4351 (i386_linux_dr_get_control): Renamed to
4352 x86_linux_dr_get_control. All uses updated.
4353 (i386_linux_dr_get_status): Renamed to
4354 x86_linux_dr_get_status. All uses updated.
4355 (i386_linux_dr_set_control): Renamed to
4356 x86_linux_dr_set_control. All uses updated.
4357 (i386_linux_dr_set_addr): Renamed to
4358 x86_linux_dr_set_addr. All uses updated.
4359 (i386_linux_prepare_to_resume): Renamed to
4360 x86_linux_prepare_to_resume. All uses updated.
4361 (i386_linux_new_thread): Renamed to
4362 x86_linux_new_thread. All uses updated.
4363 (i386_linux_new_fork): Renamed to
4364 x86_linux_new_fork. All uses updated.
4365 (i386_linux_child_post_startup_inferior): Renamed to
4366 x86_linux_child_post_startup_inferior. All uses updated.
4367 (i386_linux_enable_btrace): Renamed to
4368 x86_linux_enable_btrace. All uses updated.
4369 (i386_linux_disable_btrace): Renamed to
4370 x86_linux_disable_btrace. All uses updated.
4371 (i386_linux_teardown_btrace): Renamed to
4372 x86_linux_teardown_btrace. All uses updated.
4373 (i386_linux_read_btrace): Renamed to
4374 x86_linux_read_btrace. All uses updated.
4375
b9c1d481
AS
43762014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4377
4378 * remote.c (extended_remote_post_attach): New function.
4379 (init_extended_remote_ops): Install it as to_post_attach method.
4380
7180e04a
PA
43812014-07-09 Pedro Alves <palves@redhat.com>
4382
4383 * infcmd.c (attach_command_post_wait): Don't call
4384 target_terminal_inferior here.
4385 (attach_command): Call it here instead.
4386
9a9a7608
AB
43872014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4388
4389 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
4390 field.
4391 * c-varobj.c (c_is_path_expr_parent): New function, moved core
4392 from varobj.c, with additional checks.
4393 (c_varobj_ops): Fill in is_path_expr_parent field.
4394 (cplus_varobj_ops): Fill in is_path_expr_parent field.
4395 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
4396 field.
4397 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
4398 ops method.
4399 (varobj_default_is_path_expr_parent): New function.
4400 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
4401 (varobj_default_is_path_expr_parent): Declare new function.
4402
1f267ae3
MM
44032014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4404
4405 * infcmd.c (finish_backward): Turn internal error into normal error.
4406
b2ee242b
PA
44072014-07-07 Pedro Alves <palves@redhat.com>
4408
8a869bca 4409 PR gdb/17096
b2ee242b
PA
4410 * remote.c (async_handle_remote_sigint)
4411 (async_handle_remote_sigint_twice): Call
4412 gdb_call_async_signal_handler instead of
4413 mark_async_signal_handler.
4414
38e229b2
TT
44152014-07-07 Tom Tromey <tromey@redhat.com>
4416
4417 * target-delegates.c: Rebuild.
4418 * target.c (target_info_record): Remove.
4419 * record.c (info_record_command): Unconditionally call
4420 to_info_record.
4421 * target.h (struct target_ops) <to_info_record>: Use
4422 TARGET_DEFAULT_IGNORE.
4423 (target_info_record): Remove.
4424
f0f9ff95
TT
44252014-07-07 Tom Tromey <tromey@redhat.com>
4426
4427 * target.h (struct target_ops) <to_get_thread_local_address>: Use
4428 TARGET_DEFAULT_NORETURN.
4429 * target.c (generic_tls_error): New function.
4430 (target_translate_tls_address): Don't search target stack.
4431 * target-delegates.c: Rebuild.
4432 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
4433 stack.
4434 * linux-thread-db.c (thread_db_get_thread_local_address):
4435 Unconditionally call beneath target.
4436
4a5be5ee
MK
44372014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
4438
4439 * cli/cli-logging.c (pop_output_files): Assign targerr to
4440 gdb_stdtargerr.
4441
92c3b204
AB
44422014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
4443
4444 * MAINTAINERS (Write After Approval): Update my email address.
4445
9b11e3a7
GB
44462014-07-02 Gary Benson <gbenson@redhat.com>
4447
4448 * proc-service.c (ps_xfer_memory): Update comment.
4449 (ps_pstop): Remove unused function.
4450 (ps_pcontinue): Likewise.
4451 (ps_lstop): Likewise.
4452 (ps_lcontinue): Likewise.
4453 (ps_lgetxregsize): Likewise.
4454 (ps_lgetxregs): Likewise.
4455 (ps_lsetxregs): Likewise.
4456 (ps_plog): Likewise.
4457 (ps_ptread): Likewise.
4458 (ps_ptwrite): Likewise.
4459
cf363f18
MW
44602014-07-01 Mark Wielaard <mjw@redhat.com>
4461
4462 * dwarf2read.c (add_array_cv_type): New function.
4463 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
4464 (read_tag_volatile_type): Likewise.
4465
82ae6c8d
TT
44662014-07-01 Tom Tromey <tromey@redhat.com>
4467
4468 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
4469 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
4470 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
4471 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
4472 * command.h (cmd_cfunc_ftype): Move earlier.
4473 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
4474 (add_com, add_info): Use cmd_cfunc_ftype.
4475
96142726
TT
44762014-06-30 Tom Tromey <tromey@redhat.com>
4477
4478 * symtab.c (operator_chars): Make parameters and return type
4479 const.
4480 (file_matches): Make "files" const.
4481 (struct search_symbols_data) <files>: Now const.
4482 (search_symbols): Make "regexp" and "files" parameters const.
4483 Update.
4484 (symtab_symbol_info): Remove cast.
4485 (rbreak_command): Update.
4486 * symtab.h (search_symbols): Update.
4487
b67a2c6f
YQ
44882014-06-27 Yao Qi <yao@codesourcery.com>
4489
4490 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
4491 Change parameter type to 'struct thread_info *'. Caller
4492 updated.
4493 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
4494 Update declaration.
4495 * dummy-frame.c (struct dummy_frame_id): New.
4496 (dummy_frame_id_eq): New function.
4497 (struct dummy_frame) <id>: Change its type to 'struct
4498 dummy_frame_id'.
4499 (dummy_frame_push): Add parameter ptid and save it in
4500 dummy_frame_id.
4501 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
4502 inferior_ptid.
4503 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
4504 to inferior_ptid.
4505 (lookup_dummy_frame): Change parameter type to 'struct
4506 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
4507 instead of frame_id_eq.
4508 (dummy_frame_pop): Add parameter ptid. Callers updated.
4509 Update comments. Compose dummy_frame_id and pass it to
4510 lookup_dummy_frame.
4511 (dummy_frame_discard): Add parameter ptid.
4512 (dummy_frame_sniffer): Compose dummy_frame_id and call
4513 dummy_frame_id_eq instead of frame_id_eq.
4514 (fprint_dummy_frames): Print ptid.
4515 * dummy-frame.h: Remove comments.
4516 (dummy_frame_push): Add ptid in declaration.
4517 (dummy_frame_pop, dummy_frame_discard): Likewise.
4518
5b10184c
TT
45192014-06-26 Tom Tromey <tromey@redhat.com>
4520
4521 * cli/cli-cmds.c (error_no_arg): Make "why" const.
4522 * command.h (error_no_arg): Update.
4523
06900326
TT
45242014-06-26 Tom Tromey <tromey@redhat.com>
4525
4526 * cli/cli-setshow.c (do_set_command): Make "arg" const.
4527 (do_show_command): Make "arg" const.
4528 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
4529
c2bcbb1d
TT
45302014-06-26 Tom Tromey <tromey@redhat.com>
4531
4532 * record-full.c (record_full_get_bookmark): Make "args" const.
4533 (record_full_goto_bookmark): Make "raw_bookmark" const.
4534 * record.c (record_goto): New function.
4535 (cmd_record_goto): Use it. Now static.
4536 * record.h (record_goto): Declare.
4537 (cmd_record_goto): Remove declaration.
4538 * target-delegates.c: Rebuild.
4539 * target.h (struct target_ops) <to_get_bookmark,
4540 to_goto_bookmark>: Make parameter const.
4541
9cbe5fff
TT
45422014-06-26 Tom Tromey <tromey@redhat.com>
4543
4544 * defs.h (generic_load): Update.
4545 * m32r-rom.c (m32r_load_gen): Make "filename" const.
4546 * monitor.c (monitor_load): Make "args" const.
4547 * remote-m32r-sdi.c (m32r_load): Make "args" const.
4548 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
4549 const.
4550 (mips_load): Make "file" const.
4551 * remote-sim.c (gdbsim_load): Make "args" const.
4552 * remote.c (remote_load): Make "name" const.
4553 * symfile.c (generic_load): Make "args" const.
4554 * target-delegates.c: Rebuild.
4555 * target.c (target_load): Make "arg" const.
4556 (debug_to_load): Make "args" const.
4557 * target.h (struct target_ops) <to_load>: Make parameter const.
4558 (target_load): Update.
4559
34a68019
TT
45602014-06-26 Tom Tromey <tromey@redhat.com>
4561
4562 PR symtab/16902:
4563 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
4564 (dwarf2_physname, read_partial_die)
4565 (guess_partial_die_structure_name, fixup_partial_die)
4566 (guess_full_die_structure_name, anonymous_struct_prefix)
4567 (dwarf2_name): Use per-BFD obstack.
4568
efc889c1
YQ
45692014-06-26 Yao Qi <yao@codesourcery.com>
4570
4571 * dummy-frame.c (dummy_frame_sniffer): Move local variables
4572 dummyframe and this_id into inner block below.
4573
4395285e
YQ
45742014-06-26 Yao Qi <yao@codesourcery.com>
4575
4576 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
4577 with "signal_pass[0]" in the initialization of signal_pass.
4578
aef92902
MM
45792014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4580
4581 * record-btrace.c (record_btrace_generating_corefile)
4582 (record_btrace_prepare_to_generate_core)
4583 (record_btrace_done_generating_core): New.
4584 (record_btrace_xfer_partial, record_btrace_fetch_registers)
4585 (record_btrace_store_registers, record_btrace_prepare_to_store):
4586 Forward request when generating a core file.
4587 (record_btrace_open): Set record_btrace_generating_corefile to zero.
4588 (init_record_btrace_ops): Set to_prepare_to_generate_core and
4589 to_done_generating_core.
4590
5fff78c4
MM
45912014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4592
4593 * target.h (target_ops) <to_prepare_to_generate_core>
4594 <to_done_generating_core>: New.
4595 (target_prepare_to_generate_core, target_done_generating_core): New.
4596 * target.c (target_prepare_to_generate_core)
4597 (target_done_generating_core): New.
4598 * target-delegates.c: Regenerate.
4599 * gcore.c: (write_gcore_file): Rename to ...
4600 (write_gcore_file_1): ...this.
4601 (write_gcore_file): Call target_prepare_to_generate_core
4602 and target_done_generating_core.
4603
1d1f1ccb
MM
46042014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4605
4606 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
4607 * gcore.c (write_gcore_file): Free memory returned from
4608 make_corefile_notes.
4609 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
4610 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
4611
3343ef86
YQ
46122014-06-24 Yao Qi <yao@codesourcery.com>
4613
4614 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
4615 (arm_linux_init_abi): Set skip_trampoline_code with
4616 gdbarch_skip_trampoline_code instead of
4617 find_solib_trampoline_target.
4618
18d18ac8
YQ
46192014-06-24 Yao Qi <yao@codesourcery.com>
4620
4621 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
4622 arm_skip_bx_reg returns non-zero.
4623
80d8d390
YQ
46242014-06-24 Yao Qi <yao@codesourcery.com>
4625
4626 * arm-tdep.c (arm_skip_bx_reg): New function.
4627 (arm_skip_stub): Call arm_skip_bx_reg.
4628
6a18a01c
DB
46292014-06-23 Don Breazeal <donb@codesourcery.com>
4630
4631 * MAINTAINERS: Add myself as write-after-approval maintainer.
4632
8e9db26e
PA
46332014-06-23 Pedro Alves <palves@redhat.com>
4634
4635 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
4636 DR_CONTROL before setting DR0..DR3.
4637 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
4638 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
4639 bits of DR_CONTROL related to the debug register slot being
4640 disabled. If all slots are vacant, clear local slowdown as well,
4641 and assert DR_CONTROL is 0.
4642
70afc5b7
SC
46432014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4644
4645 * python/lib/gdb/command/xmethods.py
4646 (get_method_matchers_in_loci): Lookup xmethod matchers in the
4647 current progspace only if the string "progspace" matches LOCUS_RE.
4648
840ed64d
JK
46492014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4650
4651 Fix --with-system-readline with readline-6.3 patch 5.
4652 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
4653 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
4654 types.
4655
26f2dc30
TT
46562014-06-20 Tom Tromey <tromey@redhat.com>
4657
4658 * dwarf2read.c (dw2_get_real_path): Use correct type in
4659 OBSTACK_CALLOC.
4660 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
4661
125f8a3d
GB
46622014-06-20 Gary Benson <gbenson@redhat.com>
4663
4664 * common/gdb_thread_db.h: Moved to nat. All includes updated.
4665 * common/glibc_thread_db.h: Likewise.
4666 * common/i386-cpuid.h: Likewise.
4667 * common/i386-gcc-cpuid.h: Likewise.
4668 * common/linux-btrace.h: Likewise.
4669 * common/linux-osdata.h: Likewise.
4670 * common/linux-procfs.h: Likewise.
4671 * common/linux-ptrace.h: Likewise.
4672 * common/mips-linux-watch.h: Likewise.
4673 * common/linux-btrace.c: Moved to nat.
4674 * common/linux-osdata.c: Likewise.
4675 * common/linux-procfs.c: Likewise.
4676 * common/linux-ptrace.c: Likewise.
4677 * common/mips-linux-watch.c: Likewise.
4678 * nat/gdb_thread_db.h: Moved from common.
4679 * nat/glibc_thread_db.h: Likewise.
4680 * nat/i386-cpuid.h: Likewise.
4681 * nat/i386-gcc-cpuid.h: Likewise.
4682 * nat/linux-btrace.c: Likewise.
4683 * nat/linux-btrace.h: Likewise.
4684 * nat/linux-osdata.c: Likewise.
4685 * nat/linux-osdata.h: Likewise.
4686 * nat/linux-procfs.c: Likewise.
4687 * nat/linux-procfs.h: Likewise.
4688 * nat/linux-ptrace.c: Likewise.
4689 * nat/linux-ptrace.h: Likewise.
4690 * nat/mips-linux-watch.c: Likewise.
4691 * nat/mips-linux-watch.h: Likewise.
4692 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
4693 (object file files): Reordered.
4694 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
4695 of glibc_thread_db.h.
4696
42995dbd
GB
46972014-06-20 Gary Benson <gbenson@redhat.com>
4698
4699 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
4700 (i386_dr_low_type): Moved to nat/i386-dregs.h.
4701 (i386_dr_low): Likewise.
4702 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
4703 (i386_dr_low_set_addr): Likewise.
4704 (i386_dr_low_get_addr): Likewise.
4705 (i386_dr_low_can_set_control): Likewise.
4706 (i386_dr_low_set_control): Likewise.
4707 (i386_dr_low_get_control): Likewise.
4708 (i386_dr_low_get_status): Likewise.
4709 (i386_get_debug_register_length): Likewise.
4710 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
4711 (i386_dr_low): Likewise.
4712 * nat/i386-dregs.c (i386-low.h): Remove include.
4713 (i386-nat.h): Likewise.
4714 (nat/i386-dregs.h): New include.
4715 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
4716 (i386_dr_low_set_addr): Likewise.
4717 (i386_dr_low_get_addr): Likewise.
4718 (i386_dr_low_can_set_control): Likewise.
4719 (i386_dr_low_set_control): Likewise.
4720 (i386_dr_low_get_control): Likewise.
4721 (i386_dr_low_get_status): Likewise.
4722 (i386_get_debug_register_length): Likewise.
4723 (debug_hw_points): Likewise.
4724
3ed9baed
IB
47252014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4726
4727 * Makefile.in (SFILES): Add d-exp.y.
4728 (YYFILES): Add d-exp.c.
4729 (YYOBJ): Add d-exp.o.
4730 (local-maintainer-clean): Delete d-exp.c.
4731 * d-exp.y: New file.
4732 * d-lang.h (d_parse): New declaration.
4733 (d_error): New declaration.
4734 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
4735 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
4736 PREC_ORDER operators.
4737 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
4738
78c164b0
YQ
47392014-06-19 Yao Qi <yao@codesourcery.com>
4740
4741 * gdbthread.h (any_running): Remove the declaration.
4742 * thread.c (any_running): Remove.
4743
f6e29b6e
YQ
47442014-06-19 Yao Qi <yao@codesourcery.com>
4745
4746 * gdbthread.h (struct thread_info) <state>: Change its type to
4747 'enum thread_state'. Update comments.
4748
034f788c
PA
47492014-06-19 Pedro Alves <palves@redhat.com>
4750
4751 * gdbthread.h (ALL_THREADS): Delete.
4752 (ALL_NON_EXITED_THREADS): New macro.
4753 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
4754 instead of ALL_THREADS.
4755 * infrun.c (find_thread_needs_step_over)
4756 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
4757 instead of ALL_THREADS.
4758 * record-btrace.c (record_btrace_open)
4759 (record_btrace_stop_recording, record_btrace_close)
4760 (record_btrace_is_replaying, record_btrace_resume)
4761 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
4762 * remote.c (append_pending_thread_resumptions): Likewise.
4763 * thread.c (thread_apply_all_command): Likewise.
4764
46e33252
GB
47652014-06-19 Gary Benson <gbenson@redhat.com>
4766
4767 * i386-nat.c (i386_stopped_by_watchpoint):
4768 Use i386_dr_stopped_by_watchpoint.
4769 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
4770 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
4771
3a8ee006
GB
47722014-06-19 Gary Benson <gbenson@redhat.com>
4773
4774 * nat/i386-dregs.c: New file.
4775 * Makefile.in (i386-dregs.o): New rule.
4776 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
4777 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
4778 * config/i386/darwin.mh (NATDEPFILES): Likewise.
4779 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
4780 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
4781 * config/i386/go32.mh (NATDEPFILES): Likewise.
4782 * config/i386/linux.mh (NATDEPFILES): Likewise.
4783 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4784 * config/i386/mingw.mh (NATDEPFILES): Likewise.
4785 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
4786 * i386-nat.h (debug_hw_points): New declaration.
4787 * i386-nat.c (breakpoint.h): Remove include.
4788 (command.h): Likewise.
4789 (target.h): Likewise.
4790 (gdb_assert.h): Likewise.
4791 (debug_hw_points): Made nonstatic.
4792 (debug_printf): Now in i386-dregs.c.
4793 (TARGET_HAS_DR_LEN_8): Likewise.
4794 (DR_CONTROL_SHIFT): Likewise.
4795 (DR_CONTROL_SIZE): Likewise.
4796 (DR_RW_EXECUTE): Likewise.
4797 (DR_RW_WRITE): Likewise.
4798 (DR_RW_READ): Likewise.
4799 (DR_RW_IORW): Likewise.
4800 (DR_LEN_1): Likewise.
4801 (DR_LEN_2): Likewise.
4802 (DR_LEN_4): Likewise.
4803 (DR_LEN_8): Likewise.
4804 (DR_LOCAL_ENABLE_SHIFT): Likewise.
4805 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
4806 (DR_ENABLE_SIZE): Likewise.
4807 (DR_LOCAL_SLOWDOWN): Likewise.
4808 (DR_GLOBAL_SLOWDOWN): Likewise.
4809 (DR_CONTROL_RESERVED): Likewise.
4810 (I386_DR_CONTROL_MASK): Likewise.
4811 (I386_DR_VACANT): Likewise.
4812 (I386_DR_LOCAL_ENABLE): Likewise.
4813 (I386_DR_GLOBAL_ENABLE): Likewise.
4814 (I386_DR_DISABLE): Likewise.
4815 (I386_DR_SET_RW_LEN): Likewise.
4816 (I386_DR_GET_RW_LEN): Likewise.
4817 (I386_DR_WATCH_HIT): Likewise.
4818 (i386_wp_op_t): Likewise.
4819 (i386_show_dr): Likewise.
4820 (i386_length_and_rw_bits): Likewise.
4821 (i386_insert_aligned_watchpoint): Likewise.
4822 (i386_remove_aligned_watchpoint): Likewise.
4823 (i386_handle_nonaligned_watchpoint): Likewise.
4824 (i386_update_inferior_debug_regs): Likewise.
4825 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
4826 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
4827 (i386_region_ok_for_watchpoint):
4828 Use i386_dr_region_ok_for_watchpoint.
4829 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
4830
322a8e06
GB
48312014-06-19 Gary Benson <gbenson@redhat.com>
4832
4833 * i386-nat.c (i386_insert_hw_breakpoint): Use
4834 i386_insert_watchpoint.
4835 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
4836
8f26655c
GB
48372014-06-19 Gary Benson <gbenson@redhat.com>
4838
4839 * i386-nat.c (i386_dr_show): Renamed to
4840 i386_show_dr and made static. All uses updated.
4841 (i386_dr_length_and_rw_bits): Renamed to
4842 i386_length_and_rw_bits and made static.
4843 All uses updated.
4844 (i386_dr_insert_aligned_watchpoint): Renamed to
4845 i386_insert_aligned_watchpoint and made static.
4846 All uses updated.
4847 (i386_dr_remove_aligned_watchpoint): Renamed to
4848 i386_remove_aligned_watchpoint and made static.
4849 All uses updated.
4850 (i386_dr_update_inferior_debug_regs): Renamed to
4851 i386_update_inferior_debug_regs and made static.
4852 All uses updated.
4853 * nat/i386-dregs.h (i386_dr_show): Removed.
4854 (i386_dr_length_and_rw_bits): Likewise.
4855 (i386_dr_insert_aligned_watchpoint): Likewise.
4856 (i386_dr_remove_aligned_watchpoint): Likewise.
4857 (i386_dr_update_inferior_debug_regs): Likewise.
4858
992c7d70
GB
48592014-06-19 Gary Benson <gbenson@redhat.com>
4860
4861 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
4862 * configure: Regenerate.
4863 * config.in: Likewise.
4864 * main.c (signal.h): New include.
4865 (setup_alternate_signal_stack): New function.
4866 (captured_main): Call the above.
4867 * cp-support.c (signal.h): New include.
4868 (catch_demangler_crashes): New flag.
4869 (SIGJMP_BUF): New define.
4870 (SIGSETJMP): Likewise.
4871 (SIGLONGJMP): Likewise.
4872 (gdb_demangle_jmp_buf): New static global.
4873 (gdb_demangle_attempt_core_dump): Likewise.
4874 (gdb_demangle_signal_handler): New function.
4875 (gdb_demangle): If catch_demangler_crashes is set, install the
4876 above signal handler before calling bfd_demangle, and restore
4877 the original signal handler afterwards. Display the offending
4878 symbol and call demangler_warning the first time a segmentation
4879 fault is caught.
4880 (_initialize_cp_support): New maint set/show command.
4881
eae7090b
GB
48822014-06-19 Gary Benson <gbenson@redhat.com>
4883
4884 * utils.h (resource_limit_kind): New enum.
4885 (can_dump_core): New declaration.
4886 (warn_cant_dump_core): Likewise.
4887 (dump_core): Likewise.
4888 * utils.c (dump_core): Made nonstatic. Added new
4889 parameter "limit_kind".
4890 (can_dump_core): Made nonstatic. Moved printing code to...
4891 (warn_cant_dump_core): New function.
4892 (can_dump_core_warn): Likewise.
4893 (internal_vproblem): Replace calls to can_dump_core with
4894 calls to can_dump_core_warn. Supply new argument to each.
4895
57fcfb1b
GB
48962014-06-19 Gary Benson <gbenson@redhat.com>
4897
4898 * utils.h (demangler_vwarning): New declaration.
4899 (demangler_warning): Likewise.
4900 * utils.c (struct internal_problem)
4901 <user_settable_should_quit>: New field.
4902 <user_settable_should_dump_core>: Likewise
4903 (internal_error_problem): Add values for above new fields.
4904 (internal_warning_problem): Likewise.
4905 (demangler_warning_problem): New static global.
4906 (demangler_vwarning): New function.
4907 (demangler_warning): Likewise.
4908 (add_internal_problem_command): Selectively add commands.
4909 (_initialize_utils): New internal problem command.
4910 * maint.c (maintenance_demangler_warning): New function.
4911 (_initialize_maint_cmds): New command.
4912
17a40b44
TT
49132014-06-18 Tom Tromey <tromey@redhat.com>
4914
4915 * f-valprint.c (info_common_command_for_block): Update.
4916 * symtab.h (struct general_symbol_info) <common_block>: Now
4917 const.
4918
346d1dfe
TT
49192014-06-18 Tom Tromey <tromey@redhat.com>
4920
4921 * symtab.h (struct symtab) <blockvector>: Now const.
4922 * ada-lang.c (ada_add_global_exceptions): Update.
4923 * buildsym.c (augment_type_symtab): Update.
4924 * dwarf2read.c (dw2_lookup_symbol): Update.
4925 * jit.c (finalize_symtab): Update.
4926 * jv-lang.c (add_class_symtab_symbol): Update.
4927 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
4928 Update.
4929 * objfiles.c (objfile_relocate1): Update.
4930 * psymtab.c (lookup_symbol_aux_psymtabs)
4931 (maintenance_check_psymtabs): Update.
4932 * python/py-symtab.c (stpy_global_block, stpy_static_block):
4933 Update.
4934 * spu-tdep.c (spu_catch_start): Update.
4935 * symmisc.c (dump_symtab_1): Update.
4936 * symtab.c (lookup_global_symbol_from_objfile)
4937 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
4938 (basic_lookup_transparent_type_quick)
4939 (basic_lookup_transparent_type, find_pc_sect_symtab)
4940 (find_pc_sect_line, search_symbols): Update.
4941 * block.c (find_block_in_blockvector): Make "bl" const.
4942 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
4943 const.
4944 (blockvector_contains_pc): Make "bv" const.
4945 (block_for_pc_sect): Update.
4946 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
4947 (blockvector_contains_pc): Update.
4948 * breakpoint.c (resolve_sal_pc): Update.
4949 * inline-frame.c (block_starting_point_at): Update.
4950
1834676b
TT
49512014-06-18 Tom Tromey <tromey@redhat.com>
4952
4953 * completer.c (complete_line): Make "line_buffer" const.
4954 * completer.h (complete_line): Update.
4955
ac1a991b
TT
49562014-06-18 Tom Tromey <tromey@redhat.com>
4957
4958 * symtab.c (add_macro_name): Remove unneeded cast.
4959
5bc98e52
TT
49602014-06-18 Tom Tromey <tromey@redhat.com>
4961
4962 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
4963 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
4964
8236def8
TT
49652014-06-18 Tom Tromey <tromey@redhat.com>
4966
4967 * probe.c (info_probes_for_ops): Make "arg" const.
4968 * probe.h (info_probes_for_ops): Update.
4969
3977b71f
TT
49702014-06-18 Tom Tromey <tromey@redhat.com>
4971
4972 * varobj.c (varobj_create): Update.
4973 * valops.c (value_of_this): Update.
4974 * tracepoint.c (add_local_symbols, scope_info): Update.
4975 * symtab.h (struct general_symbol_info) <block>: Now const.
4976 * symtab.c (skip_prologue_sal)
4977 (default_make_symbol_completion_list_break_on)
4978 (skip_prologue_using_sal): Update.
4979 * stack.h (iterate_over_block_locals)
4980 (iterate_over_block_local_vars): Update.
4981 * stack.c (print_frame_args): Update.
4982 (iterate_over_block_locals, iterate_over_block_local_vars): Make
4983 parameter const.
4984 (get_selected_block): Make return type const.
4985 * python/py-frame.c (frapy_block): Update.
4986 * python/py-block.c (gdbpy_block_for_pc): Update.
4987 * p-exp.y (%union) <bval>: Now const.
4988 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
4989 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
4990 * m2-exp.y (%union) <bval>: Now const.
4991 * linespec.c (get_current_search_block): Make return type const.
4992 (create_sals_line_offset, find_label_symbols): Update.
4993 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
4994 Update.
4995 (block_starting_point_at): Make "block" const.
4996 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
4997 (check_exception_resume): Update.
4998 * guile/scm-frame.c (gdbscm_frame_block): Update.
4999 * guile/scm-block.c (gdbscm_lookup_block): Update.
5000 * frame.h (get_frame_block): Update.
5001 (get_selected_block): Make return type const.
5002 * frame.c (frame_id_inner): Update.
5003 * f-valprint.c (info_common_command_for_block)
5004 (info_common_command): Update.
5005 * dwarf2loc.c (dwarf2_find_location_expression)
5006 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
5007 (locexpr_describe_location_piece): Update.
5008 * c-exp.y (%union) <bval>: Now const.
5009 * breakpoint.c (resolve_sal_pc): Update.
5010 * blockframe.c (get_frame_block):Make return type const.
5011 (get_pc_function_start, get_frame_function, find_pc_sect_function)
5012 (block_innermost_frame): Update.
5013 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5014 (block_for_pc, block_for_pc_sect): Update.
5015 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
5016 'pblock' const.
5017 (block_for_pc_sect, block_for_pc): Make return type const.
5018 * ax-gdb.c (gen_expr): Update.
5019 * alpha-mdebug-tdep.c (find_proc_desc): Update.
5020 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
5021 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
5022 (ada_read_var_value): Update.
5023 * ada-exp.y (struct name_info) <block>: Now const.
5024 (%union): Likewise.
5025 (block_lookup): Constify.
5026
b9228891
GB
50272014-06-18 Gary Benson <gbenson@redhat.com>
5028
5029 * nat/i386-dregs.h: New file.
5030 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
5031 * i386-nat.h (i386-dregs.h): New include.
5032 (DR_FIRSTADDR): Now in i386-dregs.h.
5033 (DR_LASTADDR): Likewise.
5034 (DR_NADDR): Likewise.
5035 (DR_STATUS): Likewise.
5036 (DR_CONTROL): Likewise.
5037 (i386_debug_reg_state): Likewise.
5038 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
5039
a1aa2221
LM
50402014-06-18 Don Breazeal <donb@codesourcery.com>
5041
5042 * breakpoint.c (set_longjmp_breakpoint): Call
5043 momentary_breakpoint_from_master with additional argument.
5044 (set_longjmp_breakpoint_for_call_dummy): Call
5045 momentary_breakpoint_from_master with additional argument.
5046 (set_std_terminate_breakpoint): Call
5047 momentary_breakpoint_from_master with additional argument.
5048 (momentary_breakpoint_from_master): Add argument to function
5049 definition and use it to initialize structure member flag.
74228e77 5050 (clone_momentary_breakpoint): Call
a1aa2221
LM
5051 momentary_breakpoint_from_master with additional argument.
5052 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
5053 member flags set in momentary_breakpoint_from_master.
5054
4be83cc2
GB
50552014-06-18 Gary Benson <gbenson@redhat.com>
5056
5057 * i386-nat.c (i386_show_dr): Renamed to
5058 i386_dr_show and made nonstatic. All uses updated.
5059 (i386_length_and_rw_bits): Renamed to
5060 i386_dr_length_and_rw_bits and made nonstatic.
5061 All uses updated.
5062 (i386_insert_aligned_watchpoint): Renamed to
5063 i386_dr_insert_aligned_watchpoint and made nonstatic.
5064 All uses updated.
5065 (i386_remove_aligned_watchpoint): Renamed to
5066 i386_dr_remove_aligned_watchpoint and made nonstatic.
5067 All uses updated.
5068 (i386_update_inferior_debug_regs): Renamed to
5069 i386_dr_update_inferior_debug_regs and made nonstatic.
5070 All uses updated.
5071
131aa0d4
GB
50722014-06-18 Gary Benson <gbenson@redhat.com>
5073
5074 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
5075 (i386_dr_low_can_set_control): Likewise.
5076 (i386_dr_low_set_addr): Likewise.
5077 (i386_dr_low_set_control): Likewise.
5078 (i386_dr_low_get_addr): Likewise.
5079 (i386_dr_low_get_status): Likewise.
5080 (i386_dr_low_get_control): Likewise.
5081 (i386_insert_aligned_watchpoint): Use new macros.
5082 (i386_update_inferior_debug_regs): Likewise.
5083 (i386_stopped_data_address): Likewise.
5084
d9305f7f
GB
50852014-06-18 Gary Benson <gbenson@redhat.com>
5086
5087 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
5088 New parameter. All uses updated.
5089
ea008da4
GB
50902014-06-18 Gary Benson <gbenson@redhat.com>
5091
5092 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
5093 All uses updated.
5094
1b6d4134
GB
50952014-06-18 Gary Benson <gbenson@redhat.com>
5096
5097 * i386-nat.c (debug_printf): New macro.
5098 (i386_get_debug_register_length): Likewise.
5099 (TARGET_HAS_DR_LEN_8): Use above macro.
5100 (i386_show_dr): Use debug_printf instead of puts_unfiltered
5101 and printf_unfiltered. Use phex to format values.
5102
9b4550ef
GB
51032014-06-18 Gary Benson <gbenson@redhat.com>
5104
5105 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
5106 Make const.
5107
6e62758f
GB
51082014-06-18 Gary Benson <gbenson@redhat.com>
5109
5110 * i386-nat.c: Comment changes.
5111
51c79e94
GB
51122014-06-18 Gary Benson <gbenson@redhat.com>
5113
5114 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
5115
3e11889a
GB
51162014-06-18 Gary Benson <gbenson@redhat.com>
5117
5118 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
5119 (i386_insert_aligned_watchpoint): Likewise.
5120 (i386_remove_aligned_watchpoint): Likewise.
5121 (i386_handle_nonaligned_watchpoint): Likewise.
5122
fc6e2f03
GB
51232014-06-18 Gary Benson <gbenson@redhat.com>
5124
5125 * i386-nat.c: Whitespace changes.
5126
2afe7d50
SB
51272014-06-17 Samuel Bronson <naesten@gmail.com>
5128
5129 * MAINTAINERS: Update Roland McGrath's email address.
5130 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 5131 Red Hat a while ago, and giving me a current address.
2afe7d50 5132
3bca49ee
TT
51332014-06-17 Tom Tromey <tromey@redhat.com>
5134
5135 * utils.h (savestring): Remove declaration.
5136
6e366df1
TT
51372014-06-17 Tom Tromey <tromey@redhat.com>
5138
5139 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
5140
6be47f0c
KS
51412014-06-16 Keith Seitz <keiths@redhat.com>
5142
5143 PR mi/15863
5144 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
5145 to update the varobj if inferior_ptid is null_ptid.
5146
7bc112c1
TT
51472014-06-16 Tom Tromey <tromey@redhat.com>
5148
5149 * target.h (struct target_ops) <to_info_proc>: Make parameter
5150 const.
5151 (target_info_proc): Update.
5152 * target.c (target_info_proc): Make "args" const.
5153 * procfs.c (procfs_info_proc): Update.
5154 * linux-tdep.c (linux_info_proc): Update.
5155 (linux_core_info_proc_mappings): Make "args" const.
5156 (linux_core_info_proc): Update.
5157 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
5158 * gdbarch.c: Rebuild.
5159 * gdbarch.h: Rebuild.
5160 * corelow.c (core_info_proc): Update.
5161
fee354ee
TT
51622014-06-16 Tom Tromey <tromey@redhat.com>
5163
5164 * target.h (struct target_ops) <to_disconnect>: Make parameter
5165 const.
5166 (target_disconnect): Update.
5167 * target.c (target_disconnect): Make "args" const.
5168 * target-delegates.c: Rebuild.
5169 * remote.c (remote_disconnect): Update.
5170 * record.h (record_disconnect): Update.
5171 * record.c (record_disconnect): Update.
5172 * inf-child.c (inf_child_disconnect): Update.
5173
a30bf1f1
TT
51742014-06-16 Tom Tromey <tromey@redhat.com>
5175
5176 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
5177 * target.c (debug_to_rcmd, default_rcmd): Update.
5178 * target-delegates.c: Rebuild.
5179 * remote.c (remote_rcmd): Update.
5180 * monitor.c (monitor_rcmd): Update.
5181
d03de421
PA
51822014-06-16 Pedro Alves <palves@redhat.com>
5183
5184 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
5185 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
5186 have OBJF_SHARED set.
5187 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
5188 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
5189 instead of OBJF_USERLOADED.
5190 * objfiles.h (OBJF_SHARED): Update comment.
5191 (userloaded_objfile_contains_address_p): Rename to ...
5192 (shared_objfile_contains_address_p): ... this, and update
5193 comments.
5194 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
5195 new objfile.
5196 (remove_symbol_file_command): Skip objfiles that don't have
5197 OBJF_SHARED set.
5198
99f4262f
TT
51992014-06-16 Tom Tromey <tromey@redhat.com>
5200
5201 * minsyms.h (prim_record_minimal_symbol)
5202 (prim_record_minimal_symbol_and_info): Update comments.
5203
97d66cc6
EZ
52042014-06-14 Eli Zaretskii <eliz@gnu.org>
5205
5206 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
5207 or --without-guile, according to how GDB was built.
5208
635c7e8a
TT
52092014-06-13 Tom Tromey <tromey@redhat.com>
5210
5211 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
5212 to help_list.
5213 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
5214 to help_list.
5215 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
5216 help_list.
5217 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
5218 help_list.Pass all_commands, not -1, to help_list.
5219 * cli/cli-dump.c (dump_command, append_command)
5220 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
5221 (binary_dump_command, binary_append_command): Pass all_commands,
5222 not -1, to help_list.
5223 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
5224 -1, to help_list.
5225 * valprint.c (set_print, set_print_raw): Pass all_commands, not
5226 -1, to help_list.
5227 * typeprint.c (set_print_type): Pass all_commands, not -1, to
5228 help_list.
5229 * top.c (set_history): Pass all_commands, not -1, to help_list.
5230 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
5231 all_commands, not -1, to help_list.
5232 * symfile.c (overlay_command): Pass all_commands, not -1, to
5233 help_list.
5234 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
5235 help_list.
5236 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
5237 help_list.
5238 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
5239 -1, to help_list.
5240 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
5241 not -1, to help_list.
5242 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
5243 not -1, to help_list.
5244 * maint.c (maintenance_command, maintenance_info_command)
5245 (maintenance_print_command, maintenance_set_cmd): Pass
5246 all_commands, not -1, to help_list.
5247 * macrocmd.c (macro_command): Pass all_commands, not -1, to
5248 help_list.
5249 * language.c (set_check): Pass all_commands, not -1, to help_list.
5250 * infcmd.c (unset_command): Pass all_commands, not -1, to
5251 help_list.
5252 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
5253 help_list.
5254 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
5255 help_list.
5256 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
5257 help_list.
5258 * breakpoint.c (save_command): Pass all_commands, not -1, to
5259 help_list.
5260 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
5261 all_commands, not -1, to help_list.
5262
b94ade42
PL
52632014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
5264
5265 * regcache.c (struct register_to_invalidate): New structure.
5266 (do_register_invalidate, make_cleanup_regcache_invalidate): New
5267 functions.
5268 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
5269
31f628ae
YQ
52702014-06-12 Yao Qi <yao@codesourcery.com>
5271
5272 * varobj.c (varobj_get_num_children): Call
5273 varobj_is_dynamic_p.
5274 (varobj_list_children): Likewise.
5275 (varobj_update): Likewise. Update comments.
5276
cde5ef40
YQ
52772014-06-12 Yao Qi <yao@codesourcery.com>
5278
5279 * varobj.c (varobj_pretty_printed_p): Rename to ...
5280 (varobj_is_dynamic_p): ... this. New function.
5281 * varobj.h (varobj_pretty_printed_p): Remove declaration.
5282 (varobj_is_dynamic_p): Declare.
5283 * mi/mi-cmd-var.c (print_varobj): All callers updated.
5284 (mi_print_value_p, varobj_update_one): Likewise.
5285
576ea091
YQ
52862014-06-12 Pedro Alves <pedro@codesourcery.com>
5287 Yao Qi <yao@codesourcery.com>
5288
5289 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
5290 (varobj_get_iterator): Wrap up code for pretty-printer by
5291 "#if HAVE_PYTHON" and "#endif".
5292 (update_dynamic_varobj_children): Likewise.
5293
827f100c
YQ
52942014-06-12 Pedro Alves <pedro@codesourcery.com>
5295 Yao Qi <yao@codesourcery.com>
5296
5297 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
5298 gdb_python_initialized is false. Move some code from varobj.c.
5299 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
5300 * varobj.c: Move "varobj-iter.h" inclusion earlier.
5301 (struct varobj_item): Moved to varobj-iter.h".
5302 (varobj_clear_saved_item): New function.
5303 (update_dynamic_varobj_children): Move python-related code to
5304 py-varobj.c.
5305 (free_variable): Call varobj_clear_saved_item and
5306 varobj_iter_delete.
5307
e5250216
YQ
53082014-06-12 Pedro Alves <pedro@codesourcery.com>
5309 Yao Qi <yao@codesourcery.com>
5310
5311 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
5312 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
5313 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
5314 (py-varobj.o): New rule.
5315 * python/py-varobj.c: New file.
5316 * python/python-internal.h (py_varobj_get_iterator): Declare.
5317 * varobj-iter.h: New file.
5318 * varobj.c: Include "varobj-iter.h"
5319 (struct varobj) <child_iter>: Change its type from "PyObject *"
5320 to "struct varobj_iter *".
5321 <saved_item>: Likewise.
5322 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
5323 [HAVE_PYTHON] (varobj_get_iterator): New function.
5324 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
5325 python-specific code to python/py-varobj.c.
5326 (install_visualizer): Call varobj_iter_delete instead of
5327 Py_XDECREF.
5328 * varobj.h (varobj_ensure_python_env): Declare.
5329
5a2e0d6e
YQ
53302014-06-12 Yao Qi <yao@codesourcery.com>
5331
5332 * varobj.c (struct varobj_item): New structure.
5333 (create_child_with_value): Update declaration.
5334 (varobj_add_child): Replace arguments 'name' and 'value' with
5335 'item'. All callers updated.
5336 (install_dynamic_child): Likewise.
5337 (update_dynamic_varobj_children): Likewise.
5338 (varobj_add_child): Likewise.
5339 (create_child_with_value): Likewise.
5340
919b9a93
JB
53412014-06-11 Joel Brobecker <brobecker@adacore.com>
5342
5343 * NEWS: Create a new section for the next release branch.
5344 Rename the section of the current branch, now that it has
5345 been cut.
5346
71a55bdf
JB
53472014-06-11 Joel Brobecker <brobecker@adacore.com>
5348
5349 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
5350 * version.in: Bump version to 7.8.50.DATE-cvs.
5351
364fe1f7
PA
53522014-06-11 Pedro Alves <palves@redhat.com>
5353
5354 PR remote/17028
5355 * ser-mingw.c (net_windows_socket_check_pending): New function.
5356 (net_windows_select_thread): Ignore spurious wakeups. Use
5357 net_windows_socket_check_pending.
5358 (net_windows_wait_handle): Check for pending events with
5359 ioctlsocket, through net_windows_socket_check_pending, instead of
5360 checking the socket's event.
5361
5a6c7709
SC
53622014-06-10 Siva Chandra Reddy <sivachandra@google.com>
5363
5364 * python/python-internal.h (gdb_PyObject_GetAttrString)
5365 (gdb_PyObject_HasAttrString): New inline function definitions.
5366 * py-value.c (get_field_flag): Remove the now unnecessary cast to
5367 char * of the second argument to PyObject_GetAttrString.
74228e77 5368
0e58ee40
JB
53692014-06-10 Joel Brobecker <brobecker@adacore.com>
5370
5371 * serial.c (serial_write): Fix index of character to be printed
5372 in call to serial_logchar when serial debug traces are enabled.
5373
d190df30
JB
53742014-06-10 Joel Brobecker <brobecker@adacore.com>
5375
5376 * gdbtypes (resolve_dynamic_range): Add function description.
5377
b4b01d36
PA
53782014-06-09 Pedro Alves <palves@redhat.com>
5379
5380 * linux-nat.c (linux_child_follow_fork): Initialize status with
5381 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
5382 inner block. Only pass the signal to PTRACE_DETACH if in pass
5383 state.
5384
3657956b
GB
53852014-06-09 Gary Benson <gbenson@redhat.com>
5386
5387 * common/signals.c (gdb_signal_from_host): Reorder to separate
5388 the always-available ANSI-standard signals from the signals that
5389 require checking.
5390 (do_gdb_signal_to_host): Likewise.
5391 * proc-events.c (signal_table): Likewise.
5392
c077881a
HZ
53932014-06-08 Hui Zhu <hui@codesourcery.com>
5394
5395 * common/linux-ptrace.c (linux_disable_event_reporting): New
5396 function.
5397 * common/linux-ptrace.h (linux_disable_event_reporting): New
5398 declaration.
5399 * linux-nat.c (linux_child_follow_fork): Do a single step before
5400 detach.
5401
4186eb54
KS
54022014-06-07 Keith Seitz <keiths@redhat.com>
5403
5404 Revert:
5405 PR c++/16253
5406 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5407 from symbol_matches_domain in symtab.c. All local callers
5408 of symbol_matches_domain updated.
5409 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5410 search STRUCT_DOMAIN.
5411 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5412 independently. standard_lookup will do that automatically.
5413 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5414 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5415 (cp_lookup_symbol_in_namespace): Likewise.
5416 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5417 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5418 may return a STRUCT_DOMAIN match.
5419 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5420 * cp-support.c: Include language.h.
5421 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5422 VAR_DOMAIN.
5423 * psymtab.c (match_partial_symbol): Compare the requested
5424 domain with the symbol's domain directly.
5425 (lookup_partial_symbol): Likewise.
5426 * symtab.c (lookup_symbol_in_language): Explain when/why
5427 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5428 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5429 appropriate languages.
5430 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5431 and moved to ada-lang.c
5432 (lookup_block_symbol): Explain that this function only returns
5433 symbol matching the requested DOMAIN.
5434 Compare the requested domain with the symbol's domain directly.
5435 (iterate_over_symbols): Compare the requested domain with the
5436 symbol's domain directly.
5437 * symtab.h (symbol_matches_domain): Remove.
5438
25326a28 54392014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
5440
5441 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
5442 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
5443 (gdbscm_guile_version_is_at_least): Declare.
5444 (gdbscm_scm_string_to_int): Declare.
5445 * guile/guile.c (gdbscm_guile_major_version): New global.
5446 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
5447 (guile_datadir): New static global.
5448 (gdbscm_guile_data_directory): New function.
5449 (initialize_scheme_side): Update.
5450 (misc_guile_functions): Add guile-data-directory.
5451 (initialize_gdb_module): Fetch guile version number.
5452 * guile/lib/gdb.scm: Remove call to add-to-load-path.
5453 * guile/lib/gdb/init.scm (%initialize!): Ditto.
5454 * guile/lib/gdb/boot.scm: Use guile-data-directory.
5455 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
5456 comments.
5457 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
5458 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
5459 * guile/scm-value.c (gdbscm_value_to_string): Only call
5460 scm_port_conversion_strategy if Guile version >= 2.0.6.
5461
0a770bb2 54622014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
5463
5464 * main.c (print_gdb_help): Add -q and --silent.
5465
73ba372c
GB
54662014-06-06 Gary Benson <gbenson@redhat.com>
5467
5468 * common/signals.c: Remove preprocessor conditionals for
5469 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5470 SIGSEGV and SIGTERM.
5471 * proc-events.c: Likewise.
5472
c33b2f12
MM
54732014-06-06 Markus Metzger <markus.t.metzger@intel.com>
5474
5475 * symfile.c (symfile_free_objfile): Remove restriction to
5476 OBJF_USERLOADED.
5477 * symfile-mem.c (symbol_file_add_from_memory): Call
5478 add_target_sections_of_objfile.
5479
fb934770
LC
54802014-06-05 Ludovic Courtès <ludo@gnu.org>
5481
5482 * guile/scm-value.c (gdbscm_history_append_x): Use
5483 'vlscm_get_value_smob_arg_unsafe' instead of
5484 'vlscm_scm_to_value'.
5485
6ef284bd
SM
54862014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5487
5488 PR mi/15806
5489 * utils.c (printchar): Don't escape at all if quoter is NUL.
5490 Update function documentation to clarify effect of parameter
5491 QUOTER.
5492 * remote.c (escape_buffer): Pass '\\' as the quoter to
5493 fputstrn_unfiltered.
5494 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
5495 generate the output.
5496 (mi_solib_unloaded): Same.
5497
270c9937
JB
54982014-06-05 Joel Brobecker <brobecker@adacore.com>
5499
5500 * development.sh: Delete.
5501 * Makefile.in (config.status): Adjust dependency on development.sh.
5502 * configure.ac: Adjust development.sh source call.
5503 * configure: Regenerate.
5504
16f691fb
DE
55052014-06-04 Doug Evans <xdje42@gmail.com>
5506
5507 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
5508 is_scheme_bkpt, spec.
5509 (bpscm_make_breakpoint_smob): Initialize new members.
5510 (gdbscm_create_breakpoint_x): Split into two ...
5511 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
5512 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
5513 (scheme_function breakpoint_functions): Update.
5514 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
5515 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
5516 register-breakpoint!.
5517
ef7cab6b
JB
55182014-06-04 Joel Brobecker <brobecker@adacorer.com>
5519
5520 PR server/17023
5521 * mem-break.c (z_type_supported): Return zero if
5522 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
5523
012370f6
TT
55242014-06-04 Tom Tromey <tromey@redhat.com>
5525
5526 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
5527 value_from_contents_and_address_unresolved.
5528 (ada_template_to_fixed_record_type_1): Likewise.
5529 (ada_which_variant_applies): Likewise.
5530 * value.h (value_from_contents_and_address_unresolved): Declare.
5531 * value.c (value_from_contents_and_address_unresolved): New
5532 function.
5533 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
5534 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
5535 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
5536
92e2a17f
TT
55372014-06-04 Tom Tromey <tromey@redhat.com>
5538
5539 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
5540
c0939df1
TT
55412014-06-04 Tom Tromey <tromey@redhat.com>
5542
5543 * procfs.c (procfs_attach): Make "args" const.
5544 * windows-nat.c (windows_attach): Make "args" const.
5545 * nto-procfs.c (procfs_attach): Make "args" const.
5546 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
5547 * go32-nat.c (go32_attach): Make "args" const.
5548 * gnu-nat.c (gnu_attach): Make "args" const.
5549 * darwin-nat.c (darwin_attach): Make "args" const.
5550 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
5551 * linux-nat.c (linux_nat_attach): Make "args" const.
5552 * remote.c (extended_remote_attach_1, extended_remote_attach):
5553 Make "args" const.
5554 * target.h (struct target_ops) <to_attach>: Make "args" const.
5555 (find_default_attach): Likewise.
5556 * utils.c (parse_pid_to_attach): Make "args" const.
5557 * utils.h (parse_pid_to_attach): Update.
5558
8eaff7cd
TT
55592014-06-04 Tom Tromey <tromey@redhat.com>
5560
5561 * target-delegates.c: Rebuild.
5562 * target.c (default_thread_address_space): New function.
5563 (target_thread_address_space): Simplify.
5564 * target.h (struct target_ops) <to_thread_address_space>: Add
5565 TARGET_DEFAULT_FUNC.
5566
1913f160
DE
55672014-06-04 Doug Evans <xdje42@gmail.com>
5568
5569 * guile/scm-type.c (type_smob): Remove duplicate typedef.
5570
70ad5bff
MM
55712014-06-04 Markus Metzger <markus.t.metzger@intel.com>
5572
5573 * record-btrace.c: Include event-loop.h and inf-loop.h.
5574 (record_btrace_resume_exec_dir)
5575 (record_btrace_async_inferior_event_handler)
5576 (record_btrace_handle_async_inferior_event): New.
5577 (record_btrace_open): Create async event handler.
5578 (record_btrace_close): Delete async event handler.
5579 (record_btrace_resume): Set record_btrace_resume_exec_dir,
5580 Mark async event handler.
5581 (record_btrace_execution_direction): New.
5582 (init_record_btrace_ops): Initialize to_execution_direction.
5583
b6210538
DE
55842014-06-03 Doug Evans <xdje42@gmail.com>
5585
5586 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
5587 (gdbscm_make_parameter): Ditto.
5588
a5b1fd27
DE
55892014-06-03 Doug Evans <dje@google.com>
5590
5591 * exec.c (exec_close_1): Call clear_section_table instead of
5592 resize_section_table.
5593 (clear_section_table): New function.
5594 (resize_section_table): Make static. Rename arg num_added to
5595 adjustment.
5596 * exec.h (clear_section_table): Declare.
5597 (resize_section_table): Delete.
5598 * progspace.c (release_program_space): Call clear_section_table
5599 instead of resize_section_table.
5600
0c6e92a5
SC
56012014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5602
5603 * NEWS (Python Scripting): Add entry about the new xmethods
5604 feature.
5605
883964a7
SC
56062014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5607
5608 * python/py-xmethods.c: New file.
5609 * python/py-objfile.c (objfile_object): New field 'xmethods'.
5610 (objfpy_dealloc): XDECREF on the new xmethods field.
5611 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
5612 field.
5613 (objfpy_get_xmethods): New function.
5614 (objfile_getset): New entry 'xmethods'.
5615 * python/py-progspace.c (pspace_object): New field 'xmethods'.
5616 (pspy_dealloc): XDECREF on the new xmethods field.
5617 (pspy_new, pspace_to_pspace_object): Initialize xmethods
5618 field.
5619 (pspy_get_xmethods): New function.
5620 (pspace_getset): New entry 'xmethods'.
5621 * python/python-internal.h: Add declarations for new functions.
5622 * python/python.c (_initialize_python): Invoke
5623 gdbpy_initialize_xmethods.
5624 * python/lib/gdb/__init__.py (xmethods): New
5625 attribute.
5626 * python/lib/gdb/xmethod.py: New file.
5627 * python/lib/gdb/command/xmethods.py: New file.
5628
58992dc5
SC
56292014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5630
5631 * eval.c (evaluate_subexp_standard): Call the xmethod if the
5632 best match method returned by find_overload_match is an xmethod.
5633 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
5634 the best matching operator returned by find_overload_match is an
5635 xmethod.
5636 * valops.c: #include "extension.h".
5637 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
5638 Return void. The list of matching source methods is returned in
5639 "fn_list" and a vector of matching debug method workers is
5640 returned in "xm_worker_vec". Update all callers.
5641 (value_find_oload_method_list): Likewise.
5642 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
5643 non-NULL, then the index of the best matching method in this
5644 vector is returned. Update all callers.
5645 (find_overload_match): Include xmethods while performing overload
5646 resolution.
5647
e81e7f5e
SC
56482014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5649
5650 * defs.h (enum lval_type): New enumerator "lval_xcallable".
5651 * extension-priv.h (struct extension_language_ops): Add the
5652 xmethod interface.
5653 * extension.c (new_xmethod_worker, clone_xmethod_worker,
5654 get_matching_xmethod_workers, get_xmethod_argtypes,
5655 invoke_xmethod, free_xmethod_worker,
5656 free_xmethod_worker_vec): New functions.
5657 * extension.h: #include "common/vec.h".
5658 New function declarations.
5659 (struct xmethod_worker): New struct.
5660 (VEC (xmethod_worker_ptr)): New vector type.
5661 (xmethod_worker_ptr): New typedef.
5662 (xmethod_worker_vec): Likewise.
5663 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
5664 builtin_type.
5665 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
5666 (struct builtin_type): New field "xmethod".
5667 * valarith.c (value_ptradd): Assert that the value argument is not
5668 lval_xcallable.
5669 * valops.c (value_must_coerce_to_target): Return 0 for
5670 lval_xcallable values.
5671 * value.c (struct value): New field XM_WORKER in the field
5672 LOCATION.
5673 (value_address, value_raw_address): Return 0 for lval_xcallable
5674 values.
5675 (set_value_address): Assert that the value is not an
5676 lval_xcallable.
5677 (value_free): Free the associated xmethod worker when freeing
5678 lval_xcallable values.
5679 (set_value_component_location): Assert that the WHOLE value is not
5680 lval_xcallable.
5681 (value_of_xmethod, call_xmethod): New functions.
5682 * value.h: Declare "struct xmethod_worker".
5683 Declare new functions value_of_xmethod, call_xmethod.
5684
ef370185
JB
56852014-06-03 Joel Brobecker <brobecker@adacore.com>
5686 Pedro Alves <palves@redhat.com>
5687
5688 PR breakpoints/17000
5689 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
5690 New function, extracted from software_breakpoint_inserted_here_p.
5691 (software_breakpoint_inserted_here_p): Replace factored out code
5692 by call to find_non_raw_software_breakpoint_inserted_here.
5693 (bp_target_info_copy_insertion_state): New function.
5694 (bkpt_insert_location): Handle the case of a single-step
5695 breakpoint already inserted at the same address.
5696 (bkpt_remove_location): Handle the case of a single-step
5697 breakpoint still inserted at the same address.
5698 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
5699 breakpoint already inserted at the same address.
5700 (deprecated_remove_raw_breakpoint): Handle the case of a
5701 non-raw breakpoint still inserted at the same address.
5702 (find_single_step_breakpoint): New function, extracted from
5703 single_step_breakpoint_inserted_here_p.
5704 (find_single_step_breakpoint): New function,
5705 factored out from single_step_breakpoint_inserted_here_p.
5706 (single_step_breakpoint_inserted_here_p): Reimplement.
5707
1e2ccb61
BM
57082014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5709
5710 Pushed by Joel Brobecker <brobecker@adacore.com>
5711 * source.c (show_substitute_path_command): Fix display of matching
5712 substitution rules.
5713
d3448d85
GB
57142014-06-03 Gary Benson <gbenson@redhat.com>
5715
5716 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
5717
06eb1586
DE
57182014-06-02 Doug Evans <xdje42@gmail.com>
5719
5720 Add parameter support for Guile.
5721 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
5722 (SUBDIR_GUILE_SRCS): Add scm-param.c.
5723 (scm-param.o): New rule.
5724 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
5725 (gdbscm_misc_error): Declare.
5726 (gdbscm_canonicalize_command_name): Declare.
5727 (gdbscm_scm_to_host_string): Declare.
5728 (gdbscm_scm_from_host_string): Declare.
5729 (gdbscm_initialize_parameters): Declare.
5730 * guile/guile.c (initialize_gdb_module): Call
5731 gdbscm_initialize_parameters.
5732 * guile/lib/gdb.scm: Export parameter symbols.
5733 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
5734 cmdscm_canonicalize_name and made public. All callers updated.
5735 * guile/scm-exception.c (gdbscm_misc_error): New function.
5736 * guile/scm-param.c: New file.
5737 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
5738 (gdbscm_scm_to_host_string): New function.
5739 (gdbscm_scm_from_host_string): New function.
5740 * scm-utils.c (gdbscm_gc_dup_argv): New function.
5741
e698b8c4
DE
57422014-06-02 Doug Evans <xdje42@gmail.com>
5743
5744 Add command support for Guile.
5745 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
5746 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
5747 (scm-cmd.o): New rule.
5748 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
5749 (gdbscm_user_error_p): Declare.
5750 (gdbscm_parse_command_name): Declare.
5751 (gdbscm_valid_command_class_p): Declare.
5752 (gdbscm_initialize_commands): Declare.
5753 * guile/guile.c (initialize_gdb_module): Call
5754 gdbscm_initialize_commands.
5755 * guile/lib/gdb.scm: Export command symbols.
5756 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
5757 (throw-user-error): New function.
5758 * guile/scm-cmd.c: New file.
5759 * guile/scm-exception.c (user_error_symbol): New static global.
5760 (gdbscm_user_error_p): New function.
5761 (gdbscm_initialize_exceptions): Set user_error_symbol.
5762 * scm-utils.c (gdbscm_gc_xstrdup): New function.
5763
fb1f94b0
PM
57642014-06-02 Phil Muldoon <pmuldoon@redhat.com>
5765
5766 * top.c (command_loop): Handle comments here...
5767 (command_line_input): ... not here.
5768
ded03782
DE
57692014-06-02 Doug Evans <xdje42@gmail.com>
5770
5771 Add progspace support for Guile.
5772 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
5773 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
5774 (scm-progspace.o): New rule.
5775 * guile/guile-internal.h (pspace_smob): New typedef.
5776 (psscm_pspace_smob_pretty_printers): Declare.
5777 (psscm_pspace_smob_from_pspace): Declare.
5778 (psscm_scm_from_pspace): Declare.
5779 * guile/guile.c (initialize_gdb_module): Call
5780 gdbscm_initialize_pspaces.
5781 * guile/lib/gdb.scm: Export progspace symbols.
5782 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
5783 support.
5784 (append-pretty-printer!): Ditto.
5785 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
5786 Implement.
5787 * guile/scm-progspace.c: New file.
5788
397998fc
AM
57892014-06-03 Alan Modra <amodra@gmail.com>
5790
5791 * ppc64-tdep.c (ppc64_standard_linkage8): New.
5792 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
5793
6aa5f3a6
DE
57942014-06-02 Doug Evans <dje@google.com>
5795
5796 Add support for skeletonless type units.
5797 * dwarf2read.c (struct dwarf2_per_objfile): New member
5798 n_allocated_type_units.
5799 (struct dwarf2_per_objfile) <tu_stats>: New member
5800 nr_all_type_units_reallocs.
5801 (create_signatured_type_table_from_index): Initialize
5802 n_allocated_type_units
5803 (create_all_type_units): Ditto.
5804 (add_type_unit): Move up in file. New arg slot.
5805 All callers updated. Increase space for all_type_units more
5806 efficiently.
5807 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
5808 (lookup_dwo_signatured_type): Handle skeletonless TUs.
5809 (lookup_dwp_signatured_type): Ditto.
5810 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
5811 All callers updated.
5812 (build_type_psymtabs_1): Leave type_unit_groups as
5813 NULL if no TUs present.
5814 (print_tu_stats): New function.
5815 (process_skeletonless_type_unit): New function.
5816 (process_dwo_file_for_skeletonless_type_units): New
5817 function.
5818 (process_skeletonless_type_units): New function.
5819 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
5820 Call print tu_stats if debugging enabled.
5821
41fac0cf
PA
58222014-06-02 Pedro Alves <palves@redhat.com>
5823
5824 * breakpoint.c (build_target_command_list): Don't build a command
5825 list if we have any duplicate location that isn't a dprintf.
5826
cd1608cc
PA
58272014-06-02 Pedro Alves <palves@redhat.com>
5828
5829 * breakpoint.c (dprintf_breakpoint_hit): New function.
5830 (initialize_breakpoint_ops): Install it as dprintf's
5831 breakpoint_hit method.
5832
486ef3b9
JB
58332014-06-02 Joel Brobecker <brobecker@adacore.com>
5834
5835 * source.c (substitute_path_rule_matches): Simplify using
5836 filename_ncmp instead of FILENAME_CMP.
5837
230cd560
JB
58382014-06-02 Joel Brobecker <brobecker@adacore.com>
5839
5840 * source.c (substitute_path_rule_matches): Remove trailing spaces.
5841
16954d5d
LC
58422014-06-01 Ludovic Courtès <ludo@gnu.org>
5843
5844 * configure.ac: When Guile is available, check for the
5845 availability of 'scm_new_smob'.
5846 * configure, config.h.in: Regenerate.
5847 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
5848 function.
5849
53e8a631
AB
58502014-05-30 Andrew Burgess <aburgess@broadcom.com>
5851
5852 * frame.c (struct frame_info): Add stop_string field.
5853 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
5854 (get_prev_frame_always): Old content moved into
5855 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
5856 TRY_CATCH, handle MEMORY_ERROR exceptions.
5857 (frame_stop_reason_string): New function definition.
5858 * frame.h (unwind_stop_reason_to_string): Extend comment to
5859 mention frame_stop_reason_string.
5860 (frame_stop_reason_string): New function declaration.
5861 * stack.c (frame_info): Switch to frame_stop_reason_string.
5862 (backtrace_command_1): Switch to frame_stop_reason_string.
5863 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
5864 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
5865 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
5866
70e38b8e
AB
58672014-05-30 Andrew Burgess <aburgess@broadcom.com>
5868
5869 * frame.c (frame_stop_reason_string): Rename to ...
5870 (unwind_stop_reason_to_string): this.
5871 * frame.h (frame_stop_reason_string): Rename to ...
5872 (unwind_stop_reason_to_string): this.
5873 * stack.c (frame_info): Update call to frame_stop_reason_string.
5874 (backtrace_command_1): Likewise.
5875 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
5876 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
5877
938f0e2f
AB
58782014-05-30 Andrew Burgess <aburgess@broadcom.com>
5879
5880 * frame.c (remove_prev_frame): New function.
5881 (get_prev_frame_if_no_cycle): Create / discard cleanup using
5882 remove_prev_frame.
5883
a09dd441
PA
58842014-05-29 Pedro Alves <palves@redhat.com>
5885
5886 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
5887 and make it const. When a single-step decays to a continue,
5888 clear 'step', not 'hw_step'. Pass whether the caller wanted
5889 to step to user_visible_resume_ptid, not what we ask the
5890 target to do.
5891
bdc36728
PA
58922014-05-29 Pedro Alves <palves@redhat.com>
5893
5894 * infrun.c (process_event_stop_test, handle_step_into_function)
5895 (handle_step_into_function_backward): Adjust.
5896 Don't set the even thread's stop_step and call stop_waiting before
5897 calling end_stepping_range. Instead do that ...
5898 (end_stepping_range): ... here. Take an ecs pointer parameter.
5899
22bcd14b
PA
59002014-05-29 Pedro Alves <palves@redhat.com>
5901
5902 * infrun.c (stop_stepping): Rename to ...
5903 (stop_waiting): ... this.
5904 (proceed): Update comment.
5905 (process_event_stop_test, handle_inferior_event)
5906 (handle_signal_stop, handle_step_into_function)
5907 (handle_step_into_function_backward): Update.
5908
4ae57c05
PA
59092014-05-29 Pedro Alves <palves@redhat.com>
5910
5911 * infcall.c (run_inferior_call): Don't check whether the current
5912 thread is running after the proceed call.
5913
329ea579
PA
59142014-05-29 Pedro Alves <palves@redhat.com>
5915 Tom Tromey <tromey@redhat.com>
5916
5917 * NEWS: Mention "maint set target-async", "set mi-async", and that
5918 background execution commands are now always available.
5919 * target.h (target_async_permitted): Update comment.
5920 * target.c (target_async_permitted, target_async_permitted_1):
5921 Default to 1.
5922 (set_target_async_command): Rename to ...
5923 (maint_set_target_async_command): ... this.
5924 (show_target_async_command): Rename to ...
5925 (maint_show_target_async_command): ... this.
5926 (_initialize_target): Adjust.
5927 * infcmd.c (prepare_execution_command): Make extern.
5928 * inferior.h (prepare_execution_command): Declare.
5929 * infrun.c (set_observer_mode): Leave target async alone.
5930 * mi/mi-interp.c (mi_interpreter_init): Install
5931 mi_on_sync_execution_done as sync_execution_done observer.
5932 (mi_on_sync_execution_done): New function.
5933 (mi_execute_command_input_handler): Don't print the prompt if we
5934 just started a synchronous command with an async target.
5935 (mi_on_resume): Check sync_execution before printing prompt.
5936 * mi/mi-main.h (mi_async_p): Declare.
5937 * mi/mi-main.c: Include gdbcmd.h.
5938 (mi_async_p): New function.
5939 (mi_async, mi_async_1): New globals.
5940 (set_mi_async_command, show_mi_async_command, mi_async): New
5941 functions.
5942 (exec_continue): Call prepare_execution_command.
5943 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
5944 (mi_execute_async_cli_command): Use mi_async_p.
5945 (_initialize_mi_main): Install "set mi-async". Make
5946 "target-async" a deprecated alias.
5947
92bcb5f9
PA
59482014-05-29 Pedro Alves <palves@redhat.com>
5949
5950 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
5951 (_initialize_cli_interp): Adjust.
5952 * event-loop.c: Include "observer.h".
5953 (start_event_loop): Notify 'command_error' observers instead of
5954 calling display_gdb_prompt. Remove FIXME comment.
5955 * event-top.c (display_gdb_prompt): Remove call into the
5956 interpreters.
5957 * inf-loop.c: Include "observer.h".
5958 (inferior_event_handler): Notify 'command_error' observers instead
5959 of calling display_gdb_prompt.
5960 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
5961 observers instead of calling display_gdb_prompt.
5962 * interps.c (interp_set): Don't call display_gdb_prompt.
5963 (current_interp_display_prompt_p): Delete.
5964 * interps.h (interp_prompt_p): Delete declaration.
5965 (interp_prompt_p_ftype): Delete.
5966 (struct interp_procs) <prompt_proc_p>: Delete field.
5967 (current_interp_display_prompt_p): Delete declaration.
5968 * mi-interp.c (mi_interpreter_prompt_p): Delete.
5969 (_initialize_mi_interp): Adjust.
5970 * tui-interp.c (tui_init): Install 'sync_execution_done' and
5971 'command_error' observers.
5972 (tui_on_sync_execution_done, tui_on_command_error): New
5973 functions.
5974 (tui_display_prompt_p): Delete.
5975 (_initialize_tui_interp): Adjust.
5976
fd664c91
PA
59772014-05-29 Pedro Alves <palves@redhat.com>
5978
5979 PR gdb/13860
5980 * cli/cli-interp.c: Include infrun.h and observer.h.
5981 (cli_uiout, cli_interp): New globals.
5982 (cli_on_signal_received, cli_on_end_stepping_range)
5983 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
5984 functions.
5985 (cli_interpreter_init): Install them as 'end_stepping_range',
5986 'signal_received' 'signal_exited', 'exited' and 'no_history'
5987 observers.
5988 (_initialize_cli_interp): Remove cli_interp local.
5989 * infrun.c (handle_inferior_event): Call the several stop reason
5990 observers instead of printing the stop reason directly.
5991 (end_stepping_range): New function.
5992 (print_end_stepping_range_reason, print_signal_exited_reason)
5993 (print_exited_reason, print_signal_received_reason)
5994 (print_no_history_reason): Make static, and add an uiout
5995 parameter. Print to that instead of to CURRENT_UIOUT.
5996 * infrun.h (print_end_stepping_range_reason)
5997 (print_signal_exited_reason, print_exited_reason)
5998 (print_signal_received_reason print_no_history_reason): New
5999 declarations.
6000 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
6001 'mi_uiout'.
6002 <cli_uiout>: New field.
6003 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
6004 uiout for CLI output. Install 'signal_received',
6005 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
6006 observers.
6007 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
6008 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
6009 (mi_on_no_history): New functions.
6010 (ui_out_free_cleanup): Delete function.
6011 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
6012 instead use the one already stored in the MI interpreter data.
6013 (mi_ui_out): Adjust.
6014 * tui/tui-interp.c: Include infrun.h and observer.h.
6015 (tui_interp): New global.
6016 (tui_on_signal_received, tui_on_end_stepping_range)
6017 (tui_on_signal_exited, tui_on_exited)
6018 (tui_on_no_history): New functions.
6019 (tui_init): Install them as 'end_stepping_range',
6020 'signal_received' 'signal_exited', 'exited' and 'no_history'
6021 observers.
6022 (_initialize_tui_interp): Delete tui_interp local.
6023
8817a6f2
PA
60242014-05-29 Pedro Alves <palves@redhat.com>
6025
6026 PR gdb/15713
6027 * linux-nat.c (linux_nat_resume_callback): Rename the second
6028 parameter to 'except'. Skip LP if it points to EXCEPT.
6029 (linux_nat_resume): Don't mark the event lwp as not stopped
6030 before resuming sibling lwps. Instead ask
6031 linux_nat_resume_callback to skip the event lwp. Mark it as not
6032 stopped after actually resuming it.
6033 (linux_handle_syscall_trap): Mark the lwp as not stopped after
6034 resuming it.
6035 (wait_lwp): Mark the lwp as stopped here.
6036 (stop_wait_callback): Mark the lwp as not stopped right after
6037 resuming it. Don't mark lwps as stopped here.
6038 (linux_nat_filter_event): Mark the lwp as stopped earlier.
6039 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
6040
251bde03
PA
60412014-05-29 Pedro Alves <palves@redhat.com>
6042
6043 PR PR15693
6044 * infrun.c (resume): Determine how much to resume depending on
6045 whether the caller wanted a step, not whether we can hardware step
6046 the target. Mark all threads that we intend to run as running,
6047 unless we're calling an inferior function.
6048 (normal_stop): If the thread is running an infcall, don't finish
6049 thread state.
6050 * target.c (target_resume): Don't mark threads as running here.
6051
7f3c0343
JB
60522014-05-28 Joel Brobecker <brobecker@adacore.com>
6053
6054 * serial.c (_initialize_serial): Remove support for
6055 the "set remotebaud" and "show remotebaud" commands.
6056 * NEWS: Add entry documenting the removal of that command.
6057
ee34b3f9
YQ
60582014-05-28 Yao Qi <yao@codesourcery.com>
6059
6060 * charset.c: Fix typo in comments.
6061
add6c04d
GB
60622014-05-27 Gary Benson <gbenson@redhat.com>
6063
6064 * utils.c (internal_vproblem): Prompt for a bug report.
6065
92c48fc5
AW
60662014-05-26 Andy Wingo <wingo@igalia.com>
6067
6068 * guile/scm-arch.c (arscm_mark_arch_smob):
6069 * guile/scm-block.c (bkscm_mark_block_smob)
6070 (bkscm_mark_block_syms_progress_smob):
6071 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
6072 * guile/scm-exception.c (exscm_mark_exception_smob):
6073 * guile/scm-frame.c (frscm_mark_frame_smob):
6074 * guile/scm-iterator.c (itscm_mark_iterator_smob):
6075 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
6076 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
6077 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
6078 (ppscm_mark_pretty_printer_worker_smob):
6079 * guile/scm-symbol.c (syscm_mark_symbol_smob):
6080 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
6081 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
6082 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
6083 mark functions.
6084 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
6085 function.
6086
b2715b27
AW
60872014-05-26 Andy Wingo <wingo@igalia.com>
6088 Doug Evans <xdje42@gmail.com>
6089
6090 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
6091 empty_base_class. All uses updated.
6092 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
6093 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
6094 Adapt all callers.
6095 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
6096 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
6097 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
6098 (gdbscm_gsmob_has_property_p, add_property_name)
6099 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
6100 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
6101 (gdb-object-has-property?, gdb-object-properties): Remove.
6102 (gdb-object-kind): Renamed from gsmob-kind.
6103
214ab2da
AW
61042014-05-26 Andy Wingo <wingo@igalia.com>
6105
6106 * configure.ac (try_guile_versions): Allow building with guile 2.2.
6107 * configure: Regenerate.
6108
589fdceb
MM
61092014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6110
6111 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
6112
67b5c0c1
MM
61132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6114
6115 * record-btrace.c (record_btrace_allow_memory_access): Remove.
6116 (replay_memory_access_read_only, replay_memory_access_read_write)
6117 (replay_memory_access_types, replay_memory_access)
6118 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
6119 (cmd_set_record_btrace, cmd_show_record_btrace)
6120 (cmd_show_replay_memory_access): New.
6121 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
6122 (record_btrace_remove_breakpoint): Replace
6123 record_btrace_allow_memory_access with replay_memory_access.
6124 (_initialize_record_btrace): Add commands.
6125 * NEWS: Announce it.
6126
036cd381
RR
61272014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6128
6129 * aarch64-linux-nat.c (asm/ptrace.h): Include.
6130
c77c1e42
RR
61312014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6132
6133 * MAINTAINERS (Write After Approval): Move self back from
6134 paper trail.
6135
45741a9c
PA
61362014-05-22 Pedro Alves <palves@redhat.com>
6137
6138 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
6139 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
6140 (disable_randomization, enum exec_direction_kind)
6141 (execution_direction, stop_registers, start_remote)
6142 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
6143 (wait_for_inferior, normal_stop, get_last_target_status)
6144 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
6145 (insert_step_resume_breakpoint_at_sal)
6146 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
6147 (set_step_info, print_stop_event, signal_stop_state)
6148 (signal_print_state, signal_pass_state, signal_stop_update)
6149 (signal_print_update, signal_pass_update)
6150 (update_signals_program_target, clear_exit_convenience_vars)
6151 (displaced_step_dump_bytes, update_observer_mode)
6152 (signal_catch_update, gdb_signal_from_command): Move
6153 declarations ...
6154 * infrun.h: ... to this new file.
6155 * amd64-tdep.c: Include infrun.h.
6156 * annotate.c: Include infrun.h.
6157 * arch-utils.c: Include infrun.h.
6158 * arm-linux-tdep.c: Include infrun.h.
6159 * arm-tdep.c: Include infrun.h.
6160 * break-catch-sig.c: Include infrun.h.
6161 * breakpoint.c: Include infrun.h.
6162 * common/agent.c: Include infrun.h instead of inferior.h.
6163 * corelow.c: Include infrun.h.
6164 * event-top.c: Include infrun.h.
6165 * go32-nat.c: Include infrun.h.
6166 * i386-tdep.c: Include infrun.h.
6167 * inf-loop.c: Include infrun.h.
6168 * infcall.c: Include infrun.h.
6169 * infcmd.c: Include infrun.h.
6170 * infrun.c: Include infrun.h.
6171 * linux-fork.c: Include infrun.h.
6172 * linux-nat.c: Include infrun.h.
6173 * linux-thread-db.c: Include infrun.h.
6174 * monitor.c: Include infrun.h.
6175 * nto-tdep.c: Include infrun.h.
6176 * procfs.c: Include infrun.h.
6177 * record-btrace.c: Include infrun.h.
6178 * record-full.c: Include infrun.h.
6179 * remote-m32r-sdi.c: Include infrun.h.
6180 * remote-mips.c: Include infrun.h.
6181 * remote-notif.c: Include infrun.h.
6182 * remote-sim.c: Include infrun.h.
6183 * remote.c: Include infrun.h.
6184 * reverse.c: Include infrun.h.
6185 * rs6000-tdep.c: Include infrun.h.
6186 * s390-linux-tdep.c: Include infrun.h.
6187 * solib-irix.c: Include infrun.h.
6188 * solib-osf.c: Include infrun.h.
6189 * solib-svr4.c: Include infrun.h.
6190 * target.c: Include infrun.h.
6191 * top.c: Include infrun.h.
6192 * windows-nat.c: Include infrun.h.
6193 * mi/mi-interp.c: Include infrun.h.
6194 * mi/mi-main.c: Include infrun.h.
6195 * python/py-threadevent.c: Include infrun.h.
6196
98eb56a4
PA
61972014-05-22 Pedro Alves <palves@redhat.com>
6198
6199 * infrun.c (handle_inferior_event): Store the exit code for
6200 --return-child-result here, instead of ...
6201 (print_exited_reason): ... here.
6202
17b2616c
PA
62032014-05-21 Pedro Alves <palves@redhat.com>
6204
6205 PR gdb/13860
6206 * gdbthread.h (struct thread_control_state): New field
6207 `command_interp'.
6208 * infrun.c (follow_fork): Copy the new thread control field to the
6209 child fork thread.
6210 (clear_proceed_status_thread): Clear the new thread control field.
6211 (proceed): Set the new thread control field.
6212 * interps.h (command_interp): Declare.
6213 * interps.c (command_interpreter): New global.
6214 (command_interp): New function.
6215 (interp_exec): Set `command_interpreter' while here.
6216 * cli-out.c (cli_uiout_dtor): New function.
6217 (cli_ui_out_impl): Install it.
6218 * mi/mi-interp.c: Include cli-out.h.
6219 (mi_cmd_interpreter_exec): Add comment.
6220 (restore_current_uiout_cleanup): New function.
6221 (ui_out_free_cleanup): New function.
6222 (mi_on_normal_stop): If finishing an execution command started by
6223 a CLI command, or any kind of breakpoint-like event triggered,
6224 print the stop event to the output (CLI) stream.
6225 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
6226
5166082f
PA
62272014-05-21 Pedro Alves <palves@redhat.com>
6228
6229 * cli/cli-cmds.c (list_command): Handle the first "list" after the
6230 current source line having changed.
6231 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
6232 * infrun.c (normal_stop): Adjust call to
6233 set_current_sal_from_frame.
6234 * source.c (clear_lines_listed_range): New function.
6235 (set_current_source_symtab_and_line, identify_source_line): Clear
6236 the lines listed range.
6237 (line_info): Handle the first "info line" after the current source
6238 line having changed.
6239 * stack.c (print_stack_frame): Remove center handling.
6240 (set_current_sal_from_frame): Remove 'center' parameter. Don't
6241 center sal.line.
6242
c1ee2fb3
PA
62432014-05-21 Pedro Alves <palves@redhat.com>
6244
6245 * inf-child.c (inf_child_mourn_inferior): New function.
6246 * inf-child.h (inf_child_mourn_inferior): New declaration.
6247 * darwin-nat.c (darwin_mourn_inferior): Use
6248 inf_child_mourn_inferior.
6249 * gnu-nat.c (gnu_mourn_inferior): Likewise.
6250 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
6251 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
6252 * nto-procfs.c (procfs_mourn_inferior): Likewise.
6253 * windows-nat.c (windows_mourn_inferior): Likewise.
6254
5c6d4fb2
DE
62552014-05-21 Doug Evans <xdje42@gmail.com>
6256
250748cb 6257 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 6258
4a2722c5
DE
62592014-05-21 Doug Evans <xdje42@gmail.com>
6260
17292b30 6261 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
6262 (gdbscm_out_of_range_error): Ditto.
6263 (gdbscm_memory_error): Ditto.
250748cb
DE
6264 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
6265 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
6266 (gdbscm_out_of_range_error): Update.
6267 (gdbscm_memory_error): Update.
6268 (gdbscm_scm_to_target_string_unsafe): Delete.
6269
6a3cb8e8
PA
62702014-05-21 Pedro Alves <palves@redhat.com>
6271
6272 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
6273 globals.
6274 (inf_child_open_target): New function.
6275 (inf_child_open): Use inf_child_open_target to push the target
6276 instead of erroring out.
6277 (inf_child_disconnect, inf_child_close)
6278 (inf_child_maybe_unpush_target): New functions.
6279 (inf_child_target): Install inf_child_disconnect and
6280 inf_child_close. Store a pointer to the returned object.
6281 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
6282 declarations.
6283 * target.c (auto_connect_native_target): New global.
6284 (show_default_run_target): New function.
6285 (find_default_run_target): Return NULL if automatically connecting
6286 to the native target is disabled.
6287 (_initialize_target): Install set/show auto-connect-native-target.
6288 * NEWS: Mention "set auto-connect-native-target", and "target
6289 native".
6290 * linux-nat.c (super_close): New global.
6291 (linux_nat_close): Call super_close.
6292 (linux_nat_add_target): Store a pointer to the base class's
6293 to_close method.
6294 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
6295 inf_child_maybe_unpush.
6296 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
6297 already pushed.
6298 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
6299 the inferior. Use inf_child_maybe_unpush_target.
6300 (inf_ttrace_attach): Don't push the target if it is already
6301 pushed.
6302 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
6303 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
6304 after mourning the inferior. Use inf_child_maybe_unpush_target.
6305 (darwin_attach_pid): Don't push the target if it is already
6306 pushed.
6307 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
6308 mourning the inferior. Use inf_child_maybe_unpush_target.
6309 (gnu_detach): Use inf_child_maybe_unpush_target.
6310 * go32-nat.c (go32_create_inferior): Don't push the target if it
6311 is already pushed.
6312 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
6313 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
6314 (procfs_open): Rename to ...
6315 (procfs_open_1): ... this. Add target_ops parameter. Adjust
6316 comments. Can target_preopen before changing node. Call
6317 inf_child_open_target to push the target explicitly.
6318 (procfs_attach): Don't push the target if it is already pushed.
6319 (procfs_detach): Use inf_child_maybe_unpush_target.
6320 (procfs_create_inferior): Don't push the target if it is already
6321 pushed.
6322 (nto_native_ops): New global.
6323 (procfs_open): Reimplement.
6324 (procfs_native_open): New function.
6325 (init_procfs_targets): Install procfs_native_open as to_open of
6326 "target native". Store a pointer to the "native" target in
6327 nto_native_ops.
6328 * procfs.c (procfs_attach): Don't push the target if it is already
6329 pushed.
6330 (procfs_detach): Use inf_child_maybe_unpush_target.
6331 (procfs_mourn_inferior): Only unpush the target after mourning the
6332 inferior. Use inf_child_maybe_unpush_target.
6333 (procfs_init_inferior): Don't push the target if it is already
6334 pushed.
6335 * windows-nat.c (do_initial_windows_stuff): Don't push the target
6336 if it is already pushed.
6337
930ee1b1
PA
63382014-05-21 Pedro Alves <palves@redhat.com>
6339
6340 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
6341 and "procfs" targets are now called "native" instead.
6342
1f5d1b13
PA
63432014-05-21 Pedro Alves <palves@redhat.com>
6344
6345 * go32-nat.c (go32_open): Delete.
6346 (go32_target): Don't override the to_open method.
6347
132f8e03
PA
63482014-05-21 Pedro Alves <palves@redhat.com>
6349
6350 * nto-procfs.c (procfs_can_run): New function.
6351 (nto_procfs_ops): New global.
6352 (init_procfs_targets): New, based on procfs_target. Install
6353 "target native" in addition to "target procfs".
6354 (_initialize_procfs): Call init_procfs_targets instead of adding
6355 the target here.
6356
03c136c3
PA
63572014-05-21 Pedro Alves <palves@redhat.com>
6358
6359 * windows-nat.c (windows_target): Don't override to_shortname,
6360 to_longname or to_doc.
6361
a635d0f3
PA
63622014-05-21 Pedro Alves <palves@redhat.com>
6363
6364 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
6365 to_doc.
6366
4f9b5133
PA
63672014-05-21 Pedro Alves <palves@redhat.com>
6368
6369 * darwin-nat.c (_initialize_darwin_inferior): Don't override
6370 to_shortname, to_longname or to_doc.
6371
bc85afde
PA
63722014-05-21 Pedro Alves <palves@redhat.com>
6373
6374 * go32-nat.c (go32_target): Don't override to_shortname,
6375 to_longname or to_doc.
6376
4ebfc96e
PA
63772014-05-21 Pedro Alves <palves@redhat.com>
6378
6379 * inf-child.c (inf_child_open): Remove mention of "child".
6380 (inf_child_target): Rename target to "native" instead of "child".
6381
2648dfed
AA
63822014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6383
6384 * Makefile.in (SFILES): Delete "regset.c".
6385 (COMMON_OBS): Delete "regset.o".
6386 * regset.c: Remove.
6387 * regset.h (regset_alloc): Delete prototype.
6388
b13feb94
AA
63892014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6390
6391 * sparc-linux-tdep.c (sparc32_linux_gregset)
6392 (sparc32_linux_fpregset): New static regset structures.
6393 (sparc32_linux_init_abi): Drop dynamic regset allocations.
6394 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
6395 'fpregset' fields.
6396 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
6397 (sparc64_linux_fpregset): New static regset structures.
6398 (sparc64_linux_init_abi): Drop dynamic regset allocations.
6399 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
6400 New static regset structures.
6401 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
6402 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
6403 New static regset structures.
6404 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
6405 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
6406 New static regset structures.
6407 (sparc64obsd_init_abi): Drop dynamic regset allocations.
6408 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
6409 New static regset structures.
6410 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
6411
b4fd25c9
AA
64122014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6413
6414 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
6415 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
6416 register maps ("regmaps") from "*regset" to "*regmap". Do this
6417 for all regmap types and variables.
6418 * sparc-linux-tdep.c (sparc32_linux_step_trap)
6419 (sparc32_linux_supply_core_gregset)
6420 (sparc32_linux_collect_core_gregset)
6421 (sparc32_linux_supply_core_fpregset)
6422 (sparc32_linux_collect_core_fpregset): Likewise.
6423 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
6424 (sparc_gregmap, sparc_fpregmap): ... these.
6425 (sparc_supply_gregset, sparc_collect_gregset)
6426 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6427 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
6428 (_initialize_sparc_nat): Rename regmaps.
6429 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
6430 (sparc_gregmap, sparc_fpregmap): ... these.
6431 (sparc_supply_gregset, sparc_collect_gregset)
6432 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6433 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
6434 Rename macros to...
6435 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
6436 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
6437 Likewise.
6438 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
6439 Rename to...
6440 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
6441 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
6442 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
6443 regmaps.
6444 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6445 (sparc32_bsd_fpregset): Rename to...
6446 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6447 (sparc32_bsd_fpregmap): ... these.
6448 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
6449 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6450 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
6451 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
6452 (struct sparc_gregmap, struct sparc_fpregmap)
6453 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6454 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
6455 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
6456 (sparc32_supply_regset, sparc32_collect_gregset)
6457 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
6458 prototypes.
6459 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
6460 (sparc64_linux_ptrace_gregmap): ... this.
6461 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
6462 (_initialize_sparc64_linux_nat): Rename regmaps.
6463 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
6464 (sparc64_linux_core_gregmap): ... this.
6465 (sparc64_linux_supply_core_gregset)
6466 (sparc64_linux_collect_core_gregset)
6467 (sparc64_linux_supply_core_fpregset)
6468 (sparc64_linux_collect_core_fpregset): Rename regmaps.
6469 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
6470 (sparc64_sol2_fpregset): Rename to...
6471 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
6472 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
6473 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
6474 regmaps.
6475 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
6476 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
6477 (sparc64_bsd_fpregset): Rename to...
6478 (struct sparc_gregmap, sparc64_sol2_gregmap)
6479 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
6480 (sparc64_bsd_fpregmap): ... these.
6481 (sparc64_supply_gregset, sparc64_collect_gregset)
6482 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
6483 prototypes.
6484 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
6485 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
6486 (sparc64fbsd_gregmap): ... this.
6487 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
6488 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
6489 Rename regmaps.
6490 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
6491 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
6492 (sparc64nbsd_collect_fpregset): Likewise.
6493 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
6494 (sparc64nbsd_gregmap): ... this.
6495 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
6496 regmaps.
6497 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
6498 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
6499 (sparc64obsd_gregmap): ... this.
6500 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
6501 regmaps.
6502 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
6503 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
6504 (sparc32nbsd_gregmap): ... this.
6505 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
6506 regmaps.
6507
8fea3224
AA
65082014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6509
6510 * score-tdep.c (score7_linux_gregset): New static regset
6511 structure.
6512 (score7_linux_regset_from_core_section): Remove dynamic regset
6513 allocation.
6514 (score_gdbarch_init): Drop allocation of tdep structure.
6515 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
6516
24534243
AA
65172014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6518
6519 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
6520 regset structures.
6521 (am33_regset_from_core_section): Remove dynamic regset
6522 allocations.
6523
b7195f27
AA
65242014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6525
6526 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
6527 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
6528 structures.
6529 (mips_linux_regset_from_core_section): Remove dynamic regset
6530 allocations.
6531 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6532 'gregset64', 'fpregset', and 'fpregset64'.
6533 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
6534 deleted tdep fields.
6535
ecc37a5a
AA
65362014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6537
6538 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
6539 regset structures.
6540 (amd64_regset_from_core_section): Remove dynamic regset
6541 allocations.
6542 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
6543 structure.
6544 (amd64obsd_regset_from_core_section): Remove dynamic regset
6545 allocation.
6546 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
6547 Likewise.
6548 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
6549 x86-common regset supply function.
6550 * i386-tdep.c (i386_collect_gregset): Make static.
6551 (i386_gregset): New global regset structure.
6552 (i386_fpregset, i386_xstateregset): New static regset structures.
6553 (i386_regset_from_core_section): Remove dynamic regset
6554 allocations.
6555 (i386_gdbarch_init): Remove initialization of tdep fields
6556 'gregset', 'fpregset', and 'xstateregset'.
6557 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6558 'fpregset', and 'xstateregset'.
6559 (i386_collect_gregset): Remove prototype.
6560 (i386_gregset): New declaration.
6561 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
6562 structure.
6563 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
6564 allocation.
6565
b7611c43
AA
65662014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6567
6568 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
6569 (arm_linux_vfpregset): New static regset structures.
6570 (arm_linux_regset_from_core_section): Remove dynamic allocation of
6571 regset structures.
6572 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
6573 and 'vfpregset' fields.
6574
a069a2bd
AA
65752014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6576
6577 * aarch64-linux-tdep.c (aarch64_linux_gregset)
6578 (aarch64_linux_fpregset): New static regset structures.
6579 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
6580 of regset structures.
6581 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
6582 'fpregset' fields.
6583
09424cff
AA
65842014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6585
6586 * regset.h (struct regset): Remove gdbarch field.
6587 * regset.c (regset_alloc): Drop initialization of gdbarch field.
6588 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
6589 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
6590 Likewise.
6591 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
6592 (ppc32_linux_fpregset, ppc32_linux_vrregset)
6593 (ppc32_linux_vsxregset): Likewise.
6594 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
6595 via the regcache instead of the regset.
6596 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
6597 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
6598 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
6599 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
6600 Likewise.
6601
3ca7dae4
AA
66022014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6603
6604 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
6605 Constify structures.
6606 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
6607 (alphanbsd_aout_gregset): Likewise.
6608 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
6609 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
6610 Likewise.
6611 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
6612 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
6613 Likewise.
6614 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
6615 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
6616 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
6617 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
6618 * m88k-tdep.c (m88k_gregset): Likewise.
6619 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
6620 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
6621 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
6622 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
6623 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
6624 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
6625 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
6626 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
6627 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
6628 Likewise.
6629 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
6630 * sh-tdep.h (sh_corefile_gregset): Likewise.
6631 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
6632 * vax-tdep.c (vax_gregset): Likewise.
6633
5876f503
JK
66342014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6635
6636 Fix TLS access for -static -pthread.
6637 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
6638 (try_thread_db_load_1): Initialize it.
6639 (thread_db_get_thread_local_address): Call it if LM is zero.
6640 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
6641 * target.h (struct target_ops) (to_get_thread_local_address): Add
6642 load_module_addr comment.
6643
0256a6ac
PA
66442014-05-21 Pedro Alves <palves@redhat.com>
6645
6646 * dcache.c (dcache_read_memory_partial): If reading the cache line
6647 fails, fallback to reading just the memory the caller wanted.
6648
227533ac
DE
66492014-05-20 Doug Evans <dje@google.com>
6650
6651 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
6652 instead of get_current_arch.
6653
936d2992
PA
66542014-05-20 Pedro Alves <palves@redhat.com>
6655
6656 * NEWS: Mention that compare-sections now works with all targets.
6657
6658 * remote.c (PACKET_qCRC): New enum value.
6659 (remote_verify_memory): Don't send qCRC if the target has no
6660 execution. Use packet_support/packet_ok. If the target doesn't
6661 support the qCRC packet, fallback to a deep memory copy.
6662 (compare_sections_command): Say "target image" instead of "remote
6663 executable".
6664 (_initialize_remote): Add PACKET_qCRC to the list of config
6665 packets that have no associated command. Extend comment.
6666 * target.c (simple_verify_memory, default_verify_memory): New
6667 function.
6668 * target.h (struct target_ops) <to_verify_memory>: Default to
6669 default_verify_memory.
6670 (simple_verify_memory): New declaration.
6671 * target-delegates.c: Regenerate.
6672
e59fa00f
MM
66732014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6674
6675 * record-btrace.c (record_btrace_step_thread): Check for empty history.
6676
f2205de0
HZ
66772014-05-20 Hui Zhu <hui@codesourcery.com>
6678 Yao Qi <yao@codesourcery.com>
6679
6680 PR backtrace/16558
6681 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
6682 and change address of sp and pc.
6683
c4e54771
TT
66842014-05-19 Tom Tromey <tromey@redhat.com>
6685
6686 * gdbtypes.c (rank_function): Use XNEWVEC.
6687 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
6688
73051182
DE
66892014-05-19 Doug Evans <dje@google.com>
6690
6691 * dwarf2read.c (build_type_psymtabs_1): Renamed from
6692 build_type_unit_groups and moved closer to only caller. Remove
6693 arguments. All references updated. Remove outdated .gdb_index
6694 comment.
6695 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
6696 build_type_psymtabs_1.
6697
8832e7e3
DE
66982014-05-19 Doug Evans <dje@google.com>
6699
6700 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
6701 n_type_unit_groups, all_type_unit_groups. All uses removed.
6702 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
6703 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
6704 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
6705 (add_type_unit_group_to_table): Delete.
6706
cd8ae15e
DE
67072014-05-19 Doug Evans <dje@google.com>
6708
6709 * eval.c (evaluate_subexp_standard): Add some comments.
6710
08f4850b
DE
67112014-05-17 Doug Evans <xdje42@gmail.com>
6712
6713 * progspace.c (remove_program_space): Delete, unused.
6714 * progspace.h (remove_program_space): Ditto.
6715
bed8455c
DE
67162014-05-17 Doug Evans <xdje42@gmail.com>
6717
6718 * inferior.c (prune_inferiors): Fix comment.
6719 (remove_inferior_command): Call prune_program_spaces.
6720
8d551b02
DE
67212014-05-16 Doug Evans <dje@google.com>
6722
6723 New command line option -D.
6724 * NEWS: Mention it.
6725 * main.c (set_gdb_data_directory): New function.
6726 (captured_main): Recognize -D. Flag error for --data-directory "".
6727 Call set_gdb_data_directory.
6728 (print_gdb_help): Print --data-directory, -D.
6729 * main.h (set_gdb_data_directory): Declare.
6730 * top.c (staged_gdb_datadir): New static global.
6731 (set_gdb_datadir): Call set_gdb_data_directory
6732 (show_gdb_datadir): New function.
6733 (init_main): Update init of data-directory parameter.
6734
18848e28
GF
67352014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
6736
6737 Import the "dirfd" gnulib module.
6738 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
6739 * gnulib/aclocal.m4: Update.
6740 * gnulib/config.in: Update.
6741 * gnulib/configure: Update.
6742 * gnulib/import/Makefile.am: Update.
6743 * gnulib/import/Makefile.in: Update.
6744 * gnulib/import/dirfd.c: New.
6745 * gnulib/import/m4/dirfd.m4: New.
6746 * gnulib/import/m4/gnulib-cache.m4: Update.
6747 * gnulib/import/m4/gnulib-comp.m4: Update.
6748
95c64f92
YQ
67492014-05-16 Pierre Muller <muller@sourceware.org>
6750 Yao Qi <yao@codesourcery.com>
6751
6752 * valprint.c (print_wchar): Move the code on checking whether
6753 W is a printable wide char to the default branch of switch
6754 statement below. Call wchar_printable instead of gdb_iswprint.
6755
cac395ea
TM
67562014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
6757
19679eca 6758 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
6759 ldr.w and ldrd instructions.
6760
83655187
DE
67612014-05-15 Doug Evans <dje@google.com>
6762
6763 * dwarf2read.c (read_structure_type): Delete outdated comments.
6764
dd756689
TT
67652014-05-14 Tom Tromey <tromey@redhat.com>
6766
6767 * macrocmd.c (print_macro_definition): Reindent.
6768
75ddda77
DE
67692014-05-13 Doug Evans <xdje42@gmail.com>
6770
6771 * python/py-cmd.c (cmdpy_completer): Add comment.
6772 (completers): Make const.
6773
b0f16a3e
SM
67742014-05-13 Simon Marchi <simon.marchi@ericsson.com>
6775
6776 * infrun.c (resume): Remove should_resume (unused). Move up
6777 declaration of resume_ptid.
6778
033c3379
TT
67792014-05-13 Tom Tromey <tromey@redhat.com>
6780
6781 * language.h (unop_type_check): Remove.
6782 (binop_type_check): Don't declare.
6783
9b44a3a5
AA
67842014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
6785
6786 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
6787 call to regcache_raw_collect.
6788
303a33fa
SM
67892014-05-12 Simon Marchi <simon.marchi@ericsson.com>
6790
6791 * mi/mi-console.c (mi_console_raw_packet): Use the value from
6792 mi_console->quote as the quoting character.
6793
196100a0
SM
67942014-05-12 Simon Marchi <simon.marchi@ericsson.com>
6795
6796 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
6797
f989a1c8
TT
67982014-04-29 Tom Tromey <tromey@redhat.com>
6799
6800 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
6801 "show debug varobj".
6802
9404b58f
KM
68032014-05-07 Kyle McMartin <kyle@redhat.com>
6804
6805 Pushed by Joel Brobecker <brobecker@adacore.com>.
6806 * aarch64-tdep.c (aarch64_software_single_step): New function.
6807 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
6808 with aarch64_software_single_step.
6809
5e49ba57
JB
68102014-05-05 Joel Brobecker <brobecker@adacore.com>
6811
6812 GDB 7.7.1 released.
6813
c888a17d
KS
68142014-05-05 Keith Seitz <keiths@redhat.com>
6815
6816 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
6817 variable or history value is successfully parsed.
6818
290a839c
YQ
68192014-05-05 Yao Qi <yao@codesourcery.com>
6820 Pedro Alves <palves@redhat.com>
6821
6822 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
6823 address of blocks that intersects the requested range. Trim
6824 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
6825 sections.
6826 * ctf.c (ctf_xfer_partial): Likewise.
6827
91256dc2
YQ
68282014-05-05 Yao Qi <yao@codesourcery.com>
6829
6830 * printcmd.c (display_command): Remove the check to
6831 target_has_execution.
6832
07284463
MK
68332014-05-03 Mark Kettenis <kettenis@gnu.org>
6834
6835 * ppcobsd-nat.c: Include "obsd-nat.h".
6836 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
6837 add_target.
6838 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6839
30a1e6cc
SDJ
68402014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6841
6842 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
6843 and 16-bit signed and unsigned arguments. Update comment.
6844 (stap_parse_probe_arguments): Extend code to handle such
6845 arguments. Use warning instead of complaint to notify about
6846 unrecognized bitness.
6847
f33da99a
SDJ
68482014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6849
6850 PR breakpoints/16889
6851 * stap-probe.c (stap_parse_probe_arguments): Simplify
6852 check for non-prefixed probes (i.e., probes whose
6853 arguments do not start with "N@"). Always set the
6854 argument type to a sane value.
6855
95cf3b38
DT
68562014-05-01 David Taylor <dtaylor@emc.com>
6857
6858 * remote.c (compare_sections_command): Add -r option to compare
6859 all loadable read-only sections.
6860
1cfdf534
SC
68612014-04-30 Siva Chandra Reddy <sivachandra@google.com>
6862
6863 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
6864 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
6865 Update all callers.
6866 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
6867 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
6868 Remove unused CORE_ADDR argument. Update all callers.
6869
ca4f7f8b
PA
68702014-04-29 Pedro Alves <palves@redhat.com>
6871
6872 * remote.c (struct packet_config) <detect>: Extend comment.
6873 (add_packet_config_cmd): Don't set the config's detect or support
6874 fields here.
6875 (init_all_packet_configs): Also initialize the config's 'detect'
6876 field.
6877 (reset_all_packet_configs_support): New function.
6878 (remote_open_1): Call reset_all_packet_configs_support instead of
6879 init_all_packet_configs.
6880 (_initialize_remote): Initialize all packet configs. Assert that
6881 all packets have an associated command, except a few known
6882 outliers.
6883
11c1ba78
JB
68842014-04-28 Joel Brobecker <brobecker@adacore.com>
6885
6886 * dwarf2read.c (read_subrange_type): Handle dynamic
6887 DW_AT_lower_bound attributes.
6888
8739bc53
JB
68892014-04-28 Joel Brobecker <brobecker@adacore.com>
6890
6891 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
6892 dynamic bounds before computing its upper bound.
6893 (ada_discrete_type_low_bound): Same as above with the lower bound.
6894
6f8a3220
JB
68952014-04-28 Joel Brobecker <brobecker@adacore.com>
6896
6897 * dwarf2read.c (is_dynamic_type): Return true for dynamic
6898 range types. Adjust the array handling implementation to
6899 take advantage of this change.
6900 (resolve_dynamic_range): New function, mostly extracted from
6901 resolve_dynamic_bounds.
6902 (resolve_dynamic_array): New function, mostly extracted from
6903 resolve_dynamic_bounds.
6904 (resolve_dynamic_bounds): Delete.
6905 (resolve_dynamic_type): Reimplement. Add handling of
6906 TYPE_CODE_RANGE types.
6907
4d072ce4
JB
69082014-04-28 Joel Brobecker <brobecker@adacore.com>
6909
6910 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
6911 handling of parallel ___XA types.
6912
52865325
JB
69132014-04-28 Joel Brobecker <brobecker@adacore.com>
6914
6915 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
6916 unnecessary second call to static_unwrap_type.
6917
433e77fa
HZ
69182014-04-27 Hui Zhu <hui@codesourcery.com>
6919
6920 * stack.c (print_frame_info): Call do_gdb_disassembly with
6921 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
6922
b51a69ee
DE
69232014-04-26 Doug Evans <xdje42@gmail.com>
6924
6925 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
6926
7ae1a6a6
PA
69272014-04-25 Pedro Alves <palves@redhat.com>
6928
6929 PR server/16255
6930 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
6931 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
6932 and newline from built string.
6933 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
6934 (linux_ptrace_attach_fail_reason): ... this.
6935 * linux-nat.c (linux_nat_attach): Adjust to use
6936 linux_ptrace_attach_fail_reason.
6937
4082afcc
PA
69382014-04-25 Pedro Alves <palves@redhat.com>
6939
6940 * remote.c (struct remote_state): Remove multi_process_aware,
6941 non_stop_aware, cond_tracepoints, cond_breakpoints,
6942 breakpoint_commands, fast_tracepoints, static_tracepoints,
6943 install_in_trace, disconnected_tracing,
6944 enable_disable_tracepoints, string_tracing, and
6945 augmented_libraries_svr4_read fields.
6946 (remote_multi_process_p): Move further below in the file.
6947 (struct packet_config): Add comments.
6948 (update_packet_config): Delete function.
6949 (show_packet_config_cmd): Use packet_config_support.
6950 (add_packet_config_cmd): Use NULL as set callback.
6951 (packet_ok): "set remote foo-packet"-style commands no longer
6952 change config->supported -- adjust.
6953 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
6954 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
6955 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
6956 (PACKET_QNonStop, PACKET_multiprocess_feature)
6957 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
6958 (PACKET_DisconnectedTracing_feature)
6959 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
6960 (set_remote_protocol_packet_cmd): Delete function.
6961 (packet_config_support, packet_support): New functions.
6962 (set_remote_protocol_Z_packet_cmd): Don't call
6963 update_packet_config.
6964 (remote_query_attached, remote_pass_signals)
6965 (remote_program_signals, remote_threads_info)
6966 (remote_threads_extra_info, remote_start_remote): Use
6967 packet_support.
6968 (remote_start_remote): Use packet_config_support and
6969 packet_support.
6970 (init_all_packet_configs): Set all packets to unknown support,
6971 instead of calling update_packet_config.
6972 (remote_check_symbols): Use packet_support.
6973 (remote_supported_packet): Unconditionally set the packet config's
6974 support status.
6975 (remote_multi_process_feature, remote_non_stop_feature)
6976 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
6977 (remote_breakpoint_commands_feature)
6978 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
6979 (remote_install_in_trace_feature)
6980 (remote_disconnected_tracing_feature)
6981 (remote_enable_disable_tracepoint_feature)
6982 (remote_string_tracing_feature)
6983 (remote_augmented_libraries_svr4_read_feature): Delete functions.
6984 (remote_protocol_features): Adjust to use remote_supported_packet
6985 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
6986 "ConditionalTracepoints", "ConditionalBreakpoints",
6987 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
6988 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
6989 "EnableDisableTracepoints", and "tracenz".
6990 (remote_query_supported): Use packet_support.
6991 (remote_open_1): Adjust.
6992 (extended_remote_attach_1): Use packet_support. Switch on the
6993 result of packet_ok instead of checking whether the packet ended
6994 up disabled.
6995 (remote_vcont_resume): Use packet_support.
6996 (remote_resume, remote_stop_ns, fetch_register_using_p)
6997 (remote_prepare_to_store, store_register_using_P)
6998 (check_binary_download, remote_write_bytes): Use packet_support.
6999 (remote_vkill): Use packet_support. Switch on the result of
7000 packet_ok instead of checking whether the packet ended up
7001 disabled.
7002 (extended_remote_supports_disable_randomization): Use
7003 packet_support.
7004 (extended_remote_run): Switch on the result of packet_ok instead
7005 of checking whether the packet ended up disabled.
7006 (remote_insert_breakpoint, remote_remove_breakpoint)
7007 (remote_insert_watchpoint, remote_remove_watchpoint)
7008 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
7009 packet_support.
7010 (remote_search_memory): Use packet_config_support.
7011 (remote_get_thread_local_address, remote_get_tib_address)
7012 (remote_hostio_send_command, remote_can_execute_reverse): Use
7013 packet_support.
7014 (remote_supports_cond_tracepoints)
7015 (remote_supports_cond_breakpoints)
7016 (remote_supports_fast_tracepoints)
7017 (remote_supports_static_tracepoints)
7018 (remote_supports_install_in_trace)
7019 (remote_supports_enable_disable_tracepoint)
7020 (remote_supports_string_tracing)
7021 (remote_can_run_breakpoint_commands): Rewrite, checking whether
7022 the packet config says the feature is enabled or disabled.
7023 (remote_download_tracepoint, remote_trace_set_readonly_regions)
7024 (remote_get_trace_status): Use packet_support.
7025 (remote_set_disconnected_tracing): Adjust to check whether the
7026 feature is enabled with packet_support.
7027 (remote_set_trace_buffer_size, remote_use_agent)
7028 (remote_can_use_agent, remote_supports_btrace): Use
7029 packet_support.
7030 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
7031 Use packet_config_support.
7032 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
7033 the packet config says the feature is enabled or disabled.
7034 (set_range_stepping): Use packet_support.
7035
bdb52a22
TT
70362014-04-25 Tom Tromey <tromey@redhat.com>
7037
7038 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
7039 argument.
7040
e9475ead
SA
70412014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
7042
7043 * NEWS: Mention support for C99 variable length arrays.
7044
82eacd52
JB
70452014-04-24 Joel Brobecker <brobecker@adacore.com>
7046
7047 * ada-lang.c (standard_exc): Expand introductory comment.
7048
01f9f808
MS
70492014-04-24 Michael Sturm <michael.sturm@mintel.com>
7050 Walfred Tedeschi <walfred.tedeschi@intel.com>
7051
7052 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
7053 AVX512 registers.
7054 (amd64_linux_read_description): Add code to handle AVX512 xstate
7055 mask and return respective tdesc.
7056 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
7057 and features/i386/x32-avx512-linux.c.
7058 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
7059 (amd64_linux_core_read_description): Add code to handle AVX512
7060 xstate mask and return respective tdesc.
7061 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
7062 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
7063 calculation.
7064 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
7065 (tdesc_amd64_avx512_linux): New prototype.
7066 (tdesc_x32_avx512_linux): Likewise.
7067 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
7068 features/i386/x32-avx512.c.
7069 (amd64_ymm_avx512_names): New register names for pseudo
7070 registers YMM16-31.
7071 (amd64_ymmh_avx512_names): New register names for raw registers
7072 YMMH16-31.
7073 (amd64_k_names): New register names for K registers.
7074 (amd64_zmmh_names): New register names for ZMM raw registers.
7075 (amd64_zmm_names): New registers names for ZMM pseudo registers.
7076 (amd64_xmm_avx512_names): New register names for XMM16-31
7077 registers.
7078 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
7079 registers.
7080 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
7081 if feature is present.
7082 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
7083 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
7084 (AMD64_NUM_REGS): Adjust to new number of registers.
7085 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
7086 registers supplied via XSTATE by AVX512 registers.
7087 (i386_linux_read_description): Add case for AVX512.
7088 * i386-linux-tdep.c: Include i386-avx512-linux.c.
7089 (i386_linux_gregset_reg_offset): Add AVX512 registers.
7090 (i386_linux_core_read_description): Add case for AVX512.
7091 (i386_linux_init_abi): Install supported register note section
7092 for AVX512.
7093 (_initialize_i386_linux_tdep): Add call to tdesc init function for
7094 AVX512.
7095 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
7096 registers to be number of zmm7h + 1.
7097 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
7098 * i386-tdep.c: Include features/i386/i386-avx512.c.
7099 (i386_zmm_names): Add ZMM pseudo register names array.
7100 (i386_zmmh_names): Add ZMM raw register names array.
7101 (i386_k_names): Add K raw register names array.
7102 (num_lower_zmm_regs): Add constant for the number of lower ZMM
7103 registers. AVX512 has 16 more ZMM registers than there are YMM
7104 registers.
7105 (i386_zmmh_regnum_p): Add function to look up register number of
7106 ZMM raw registers.
7107 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
7108 (i386_k_regnum_p): Likewise for K raw registers.
7109 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
7110 registers added by AVX512.
7111 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
7112 registers added by AVX512.
7113 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
7114 added by AVX512.
7115 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
7116 (i386_pseudo_register_name): Add ZMM pseudo registers.
7117 (i386_zmm_type): Construct and return vector registers type for ZMM
7118 registers.
7119 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
7120 ZMM0-31 pseudo registers and K registers.
7121 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
7122 and YMM16-31 registers from register cache.
7123 (i386_pseudo_register_write): Add code to write K, ZMM and
7124 YMM16-31 registers.
7125 (i386_register_reggroup_p): Add code to include/exclude AVX512
7126 registers in/from respective register groups.
7127 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
7128 registers if feature is present in xcr0.
7129 (i386_gdbarch_init): Add code to initialize AVX512 feature
7130 variables in tdep structure, wire in pseudo registers and call
7131 initialize_tdesc_i386_avx512.
7132 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
7133 variables.
7134 (i386_regnum): Add AVX512 registers.
7135 (I386_SSE_NUM_REGS): New define for number of SSE registers.
7136 (I386_AVX_NUM_REGS): Likewise for AVX registers.
7137 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
7138 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
7139 512 bits wide.
7140 (i386_xmm_avx512_regnum_p): New prototype for register look up.
7141 (i386_ymm_avx512_regnum_p): Likewise.
7142 (i386_k_regnum_p): Likewise.
7143 (i386_zmm_regnum_p): Likewise.
7144 (i386_zmmh_regnum_p): Likewise.
7145 * i387-tdep.c : Update year in copyright notice.
7146 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
7147 XSAVE buffer.
7148 (XSAVE_YMM_AVX512_ADDR): New macro.
7149 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
7150 XSAVE buffer.
7151 (XSAVE_XMM_AVX512_ADDR): New macro.
7152 (xsave_avx512_k_offset): New table for K register offsets in
7153 XSAVE buffer.
7154 (XSAVE_AVX512_K_ADDR): New macro.
7155 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
7156 in XSAVE buffer.
7157 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
7158 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
7159 buffer.
7160 (i387_collect_xsave): Add code to collect AVX512 registers from
7161 XSAVE buffer.
7162 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
7163 of XMM16-31 registers.
7164 (I387_NUM_K_REGS): New define for number of K registers.
7165 (I387_K0_REGNUM): New define for K0 register number.
7166 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
7167 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
7168 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
7169 registers.
7170 (I387_YMM16H_REGNUM): New define for YMM16H register number.
7171 (I387_XMM16_REGNUM): New define for XMM16 register number.
7172 (I387_YMM0_REGNUM): New define for YMM0 register number.
7173 (I387_KEND_REGNUM): New define for last K register number.
7174 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
7175 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
7176 number.
7177 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
7178 number.
7179 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
7180 size.
7181 * features/Makefile: Add AVX512 related files.
7182 * features/i386/32bit-avx512.xml: New file.
7183 * features/i386/64bit-avx512.xml: Likewise.
7184 * features/i386/amd64-avx512-linux.c: Likewise.
7185 * features/i386/amd64-avx512-linux.xml: Likewise.
7186 * features/i386/amd64-avx512.c: Likewise.
7187 * features/i386/amd64-avx512.xml: Likewise.
7188 * features/i386/i386-avx512-linux.c: Likewise.
7189 * features/i386/i386-avx512-linux.xml: Likewise.
7190 * features/i386/i386-avx512.c: Likewise.
7191 * features/i386/i386-avx512.xml: Likewise.
7192 * features/i386/x32-avx512-linux.c: Likewise.
7193 * features/i386/x32-avx512-linux.xml: Likewise.
7194 * features/i386/x32-avx512.c: Likewise.
7195 * features/i386/x32-avx512.xml: Likewise.
7196 * regformats/i386/amd64-avx512-linux.dat: New file.
7197 * regformats/i386/amd64-avx512.dat: Likewise.
7198 * regformats/i386/i386-avx512-linux.dat: Likewise.
7199 * regformats/i386/i386-avx512.dat: Likewise.
7200 * regformats/i386/x32-avx512-linux.dat: Likewise.
7201 * regformats/i386/x32-avx512.dat: Likewise.
7202 * NEWS: Add note about new support for AVX512.
7203
7204
08351840
PA
72052014-04-23 Pedro Alves <palves@redhat.com>
7206
7207 * breakpoint.c (insert_bp_location): Tolerate errors if the
7208 breakpoint is set in a user-loaded objfile.
7209 (remove_breakpoint_1): Likewise. Also tolerate errors if the
7210 location is marked shlib_disabled. If the breakpoint is set in a
7211 user-loaded objfile is a GDB-side memory breakpoint, validate it
7212 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
7213 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
7214 flag.
7215 * mem-break.c (memory_validate_breakpoint): New function.
7216 * objfiles.c (userloaded_objfile_contains_address_p): New
7217 function.
7218 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
7219 * target.h (memory_validate_breakpoint): New declaration.
7220
076855f9
PA
72212014-04-23 Pedro Alves <palves@redhat.com>
7222
7223 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
7224 the breakpoint is set in a shared library, only suppress
7225 errors for software breakpoints, not hardware breakpoints.
7226
483805cf
PA
72272014-04-22 Pedro Alves <palves@redhat.com>
7228
7229 * infrun.c (schedlock_applies): New function, factored out from
7230 find_thread_needs_step_over.
7231 (find_thread_needs_step_over): Use it.
7232 (switch_back_to_stepped_thread): Always clear trap_expected if the
7233 step over is finished. Return early if scheduler locking applies.
7234 Look for the stepping thread and a potential step-over thread with
7235 a single loop.
7236 (currently_stepping_or_nexting_callback): Delete.
7237
a75fef0e
NC
72382014-04-22 Nick Clifton <nickc@redhat.com>
7239
7240 * NEWS: Mention that ARM sim now supports tracing.
7241
48b6e87e
YQ
72422014-04-22 Yao Qi <yao@codesourcery.com>
7243
7244 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
7245 to ...
7246 * tracefile.c (tracefile_fetch_registers): ... it. New
7247 function.
7248 * tracefile.h (tracefile_fetch_registers): Declare.
7249 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
7250 tracefile_fetch_registers.
7251
17617f2d
EZ
72522014-04-19 Eli Zaretskii <eliz@gnu.org>
7253
7254 PR gdb/14018
7255 * windows-nat.c (thread_rec): Don't display a warning when
7256 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
7257 fails for any reason, set th->suspended to -1, so that we don't
7258 try to resume such a thread. Also, don't return NULL in these
7259 cases, to avoid completely ruin the session due to "PC register is
7260 not available" error.
7261 (do_windows_fetch_inferior_registers): Check errors in
7262 GetThreadContext call.
7263 (windows_continue): Accept an additional argument KILLED; if not
7264 zero, ignore errors in the SetThreadContext call, since the
7265 inferior was killed and is shutting down.
7266 (windows_resume, get_windows_debug_event)
7267 (windows_create_inferior, windows_mourn_inferior)
7268 (windows_kill_inferior): All callers of windows_continue changed
7269 to adjust to its new calling sequence.
7270
5723a6fd
YQ
72712014-04-19 Yao Qi <yao@codesourcery.com>
7272
7273 * ctf.c (ctf_open): Call post_create_inferior.
7274
614d5099
YQ
72752014-04-19 Yao Qi <yao@codesourcery.com>
7276
7277 * ctf.c (handle_id): New static variable.
7278 (ctf_open_dir): Get handle_id from bt_context_add_trace return
7279 value. Get the declaration of event "register" and get length
7280 of field "contents".
7281
dac3e710
YQ
72822014-04-19 Yao Qi <yao@codesourcery.com>
7283
7284 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
7285
2bca57ba
SC
72862014-04-18 Siva Chandra Reddy <sivachandra@google.com>
7287
7288 * valops.c (oload_method_static): Remove unnecessary argument
7289 METHOD. Update all callers.
7290
51d48146
PA
72912014-04-18 Pedro alves <palves@redhat.com>
7292 Tom Tromey <tromey@redhat.com>
7293
7294 PR backtrace/15558
7295 * frame.c (get_prev_frame_1): Rename to ...
7296 (get_prev_frame_always): ... this, and make extern. Adjust.
7297 (skip_artificial_frames): Use get_prev_frame_always.
7298 (frame_unwind_caller_id, frame_pop, get_prev_frame)
7299 (get_frame_unwind_stop_reason): Adjust to rename.
7300 * frame.h (get_prev_frame_always): Declare.
7301 * inline-frame.c: Include frame.h.
7302 (inline_frame_this_id): Use get_prev_frame_always.
7303
1bdad2e0
TG
73042014-04-18 Tristan Gingold <gingold@adacore.com>
7305
7306 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
7307 code by using bfd_mach_o_get_base_address.
7308
7ce16bd4
UW
73092014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7310
7311 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
7312 (spu_ax_pseudo_register_collect): New function.
7313 (spu_ax_pseudo_register_push_stack): Likewise.
7314 (spu_dwarf_reg_to_regnum): Likewise.
7315 (spu_gdbarch_init): Install them. Append DWARF unwinders.
7316
2ed3c037
UW
73172014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7318
7319 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
7320 Replace FRAME argument with FRAME_ID.
7321 * gdbarch.c, gdbarch.h: Regenerate.
7322 * findvar.c (default_value_from_register): Add GDBARCH argument;
7323 replace FRAME by FRAME_ID. No longer call get_frame_id.
7324 (value_from_register): Update call to gdbarch_value_from_register.
7325 * value.h (default_value_from_register): Update prototype.
7326 * s390-linux-tdep.c (s390_value_from_register): Update interface
7327 and call to default_value_from_register.
7328 * spu-tdep.c (spu_value_from_register): Likewise.
7329
7330 * findvar.c (address_from_register): Remove TYPE argument.
7331 Do not call value_from_register; use gdbarch_value_from_register
7332 with null_frame_id instead.
7333 * value.h (address_from_register): Update prototype.
7334 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
7335 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
7336 address_from_register interface change.
7337
71e50e83
YQ
73382014-04-17 Yao Qi <yao@codesourcery.com>
7339
7340 * gdbtypes.h: Update comments to link to types and macros'
7341 definitions.
7342
7a23c549
SC
73432014-04-16 Siva Chandra Reddy <sivachandra@google.com>
7344
7345 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
7346
22869d73
KS
73472014-04-16 Keith Seitz <keiths@redhat.com>
7348
7349 PR gdb/15827
7350 * dwarf2read.c (skip_one_die): Check that all relative-offset
7351 sibling DIEs fall within range of the current reader's buffer.
7352 (read_partial_die): Likewise.
7353
c4f87ca6
KS
73542014-04-16 Keith Seitz <keiths@redhat.com>
7355
7356 PR c++/16597
7357 * cp-namespace.c (lookup_symbol_file): If the type name of
7358 `this' is NULL, return immediately.
7359
b50c8614
KS
73602014-04-14 Keith Seitz <keiths@redhat.com>
7361
7362 PR c++/16253
7363 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
7364 from symbol_matches_domain in symtab.c. All local callers
7365 of symbol_matches_domain updated.
7366 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
7367 search STRUCT_DOMAIN.
7368 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
7369 independently. standard_lookup will do that automatically.
7370 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
7371 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7372 (cp_lookup_symbol_in_namespace): Likewise.
7373 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
7374 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
7375 may return a STRUCT_DOMAIN match.
7376 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
7377 * cp-support.c: Include language.h.
7378 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
7379 VAR_DOMAIN.
7380 * psymtab.c (match_partial_symbol): Compare the requested
7381 domain with the symbol's domain directly.
7382 (lookup_partial_symbol): Likewise.
7383 * symtab.c (lookup_symbol_in_language): Explain when/why
7384 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7385 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
7386 appropriate languages.
7387 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
7388 and moved to ada-lang.c
7389 (lookup_block_symbol): Explain that this function only returns
7390 symbol matching the requested DOMAIN.
7391 Compare the requested domain with the symbol's domain directly.
7392 (iterate_over_symbols): Compare the requested domain with the
7393 symbol's domain directly.
7394 * symtab.h (symbol_matches_domain): Remove.
7395
3d567982
TT
73962014-04-14 Tom Tromey <tromey@redhat.com>
7397
7398 PR c++/15246:
7399 * c-exp.y (type_aggregate_p): New function.
7400 (qualified_name, classify_inner_name): Use it.
7401 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
7402 and TYPE_TARGET_TYPE of an enum type.
7403 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
7404 an enum type.
7405 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
7406 handle TYPE_DECLARED_CLASS.
7407 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
7408 types.
7409 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
7410 * valops.c (enum_constant_from_type): New function.
7411 (value_aggregate_elt): Use it.
7412 * cp-namespace.c (cp_lookup_nested_symbol): Handle
7413 TYPE_CODE_ENUM.
7414
c848d642
TT
74152014-04-14 Tom Tromey <tromey@redhat.com>
7416
7417 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
7418 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
7419 const.
7420 * value.h (value_aggregate_elt): Update.
7421
0626fc76
TT
74222014-04-14 Tom Tromey <tromey@redhat.com>
7423
7424 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
7425
5ecaaa66
SA
74262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7427
7428 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7429 (evaluate_subexp_standard): Pass noside argument.
7430 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7431 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7432 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7433 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7434 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7435
1612e0c0
SA
74362014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7437
7438 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7439 points to a constant blob.
7440
c451ebe5
SA
74412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7442
7443 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7444 property and store it as the high bound and flag the range accordingly.
7445 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7446 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7447 * gdbtypes.h (enum range_flags): New enum.
7448 (struct range_bounds): Add flags member.
7449
1d42e4c4
SA
74502014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7451
7452 * c-typeprint.c (c_type_print_varspec_suffix): Added
7453 check for not yet resolved high bound. If unresolved, print
7454 "variable length" string to the console instead of random
7455 length.
7456
9f1f738a
SA
74572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7458
7459 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
7460 value.
7461 (ada_template_to_fixed_record_type_1): Likewise.
7462 (ada_to_fixed_type_1): Likewise.
7463 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7464 (cp_print_value): Likewise.
7465 * d-valprint.c (dynamic_array_type): Likewise.
7466 * findvar.c (address_of_variable): Likewise.
7467 * jv-valprint.c (java_value_print): Likewise.
7468 * valops.c (value_ind): Likewise.
7469 * value.c (coerce_ref): Likewise.
7470
3c8452d4
SA
74712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7472
7473 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7474 value and retrieve the dynamic type size.
7475
4ad88275
SA
74762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7477
7478 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7479 passed to sizeof is dynamic evaluate the argument to compute the length.
7480
80180f79
SA
74812014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7482 Joel Brobecker <brobecker@adacore.com>
7483
7484 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7485 (dwarf2_evaluate_property): New function.
7486 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7487 * dwarf2read.c (attr_to_dynamic_prop): New function.
7488 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7489 attribute.
7490 * gdbtypes.c: Include dwarf2loc.h.
7491 (is_dynamic_type): New function.
7492 (resolve_dynamic_type): New function.
7493 (resolve_dynamic_bounds): New function.
7494 (get_type_length): New function.
7495 (check_typedef): Use get_type_length to compute type length.
7496 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7497 (TYPE_LOW_BOUND_KIND): New macro.
7498 (is_dynamic_type): New function prototype.
7499 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7500 to resolve dynamic properties of the type. Update comment.
7501 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7502
a1556843
RH
75032014-04-14 Richard Henderson <rth@redhat.com>
7504
7505 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
7506
0be03e84
DE
75072014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7508 Doug Evans <xdje42@gmail.com>
7509
7510 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
7511 dereference TYPE_CODE_REF values.
7512
6b662e19
JB
75132014-04-11 Joel Brobecker <brobecker@adacore.com>
7514
7515 Revert the following changes due to regressions:
7516
7517 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7518 (dwarf2_evaluate_property): New function.
7519 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7520 * dwarf2read.c (attr_to_dynamic_prop): New function.
7521 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7522 attribute.
7523 * gdbtypes.c: Include dwarf2loc.h.
7524 (is_dynamic_type): New function.
7525 (resolve_dynamic_type): New function.
7526 (resolve_dynamic_bounds): New function.
7527 (get_type_length): New function.
7528 (check_typedef): Use get_type_length to compute type length.
7529 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7530 (TYPE_LOW_BOUND_KIND): New macro.
7531 (is_dynamic_type): New function prototype.
7532 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7533 to resolve dynamic properties of the type. Update comment.
7534 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7535
7536 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7537 passed to sizeof is dynamic evaluate the argument to compute the length.
7538
7539 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7540 value and retrieve the dynamic type size.
7541
7542 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7543 (ada_template_to_fixed_record_type_1): Likewise.
7544 (ada_to_fixed_type_1): Likewise.
7545 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7546 (cp_print_value): Likewise.
7547 * d-valprint.c (dynamic_array_type): Likewise.
7548 * eval.c (evaluate_subexp_with_coercion): Likewise.
7549 * findvar.c (address_of_variable): Likewise.
7550 * jv-valprint.c (java_value_print): Likewise.
7551 * valops.c (value_ind): Likewise.
7552 * value.c (coerce_ref): Likewise.
7553
7554 * c-typeprint.c (c_type_print_varspec_suffix): Added
7555 check for not yet resolved high bound. If unresolved, print
7556 "variable length" string to the console instead of random
7557 length.
7558
7559 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7560 property and store it as the high bound and flag the range accordingly.
7561 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7562 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7563 * gdbtypes.h (enum range_flags): New enum.
7564 (struct range_bounds): Add flags member.
7565
7566 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7567 points to a constant blob.
7568
7569 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7570 (evaluate_subexp_standard): Pass noside argument.
7571 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7572 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7573 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7574 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7575 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7576
245a5f0b
KS
75772014-04-11 Keith Seitz <keiths@redhat.com>
7578
7579 PR c++/16675
7580 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
7581 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
7582 reference types.
7583
3bce8237
SA
75842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7585
7586 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7587 (evaluate_subexp_standard): Pass noside argument.
7588 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7589 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7590 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7591 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7592 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7593
92b09522
SA
75942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7595
7596 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7597 points to a constant blob.
7598
e1969afb
SA
75992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7600
7601 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7602 property and store it as the high bound and flag the range accordingly.
7603 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7604 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7605 * gdbtypes.h (enum range_flags): New enum.
7606 (struct range_bounds): Add flags member.
7607
b86138fb
SA
76082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7609
7610 * c-typeprint.c (c_type_print_varspec_suffix): Added
7611 check for not yet resolved high bound. If unresolved, print
7612 "variable length" string to the console instead of random
7613 length.
7614
bcd629a4
SA
76152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7616
7617 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7618 (ada_template_to_fixed_record_type_1): Likewise.
7619 (ada_to_fixed_type_1): Likewise.
7620 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7621 (cp_print_value): Likewise.
7622 * d-valprint.c (dynamic_array_type): Likewise.
7623 * eval.c (evaluate_subexp_with_coercion): Likewise.
7624 * findvar.c (address_of_variable): Likewise.
7625 * jv-valprint.c (java_value_print): Likewise.
7626 * valops.c (value_ind): Likewise.
7627 * value.c (coerce_ref): Likewise.
7628
04b19544
SA
76292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7630
7631 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7632 value and retrieve the dynamic type size.
7633
26cb189f
SA
76342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7635
7636 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7637 passed to sizeof is dynamic evaluate the argument to compute the length.
7638
37c1ab67
SA
76392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7640
7641 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7642 (dwarf2_evaluate_property): New function.
7643 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7644 * dwarf2read.c (attr_to_dynamic_prop): New function.
7645 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7646 attribute.
7647 * gdbtypes.c: Include dwarf2loc.h.
7648 (is_dynamic_type): New function.
7649 (resolve_dynamic_type): New function.
7650 (resolve_dynamic_bounds): New function.
7651 (get_type_length): New function.
7652 (check_typedef): Use get_type_length to compute type length.
7653 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7654 (TYPE_LOW_BOUND_KIND): New macro.
7655 (is_dynamic_type): New function prototype.
7656 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7657 to resolve dynamic properties of the type. Update comment.
7658 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7659
729efb13
SA
76602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7661
7662 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
7663 declaring high/low bounds and change uses accordingly. Call
7664 create_range_type instead of create_static_range_type.
7665 * gdbtypes.c (create_range_type): New function.
7666 (create_range_type): Convert bounds into struct bound_prop and pass
7667 them to create_range_type.
7668 * gdbtypes.h (struct bound_prop): New struct.
7669 (create_range_type): New function prototype.
7670 (struct range_bounds): Use struct bound_prop instead of LONGEST for
7671 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
7672 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
7673 part of the bound.
7674 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
7675
0c9c3474
SA
76762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7677
7678 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
7679 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
7680 * ada-lang.c: All uses of create_range_type updated.
7681 * coffread.c: All uses of create_range_type updated.
7682 * dwarf2read.c: All uses of create_range_type updated.
7683 * f-exp.y: All uses of create_range_type updated.
7684 * m2-valprint.c: All uses of create_range_type updated.
7685 * mdebugread.c: All uses of create_range_type updated.
7686 * stabsread.c: All uses of create_range_type updated.
7687 * valops.c: All uses of create_range_type updated.
7688 * valprint.c: All uses of create_range_type updated.
7689
9d497a19
PA
76902014-04-10 Pedro Alves <palves@redhat.com>
7691
7692 * breakpoint.c (single_step_breakpoints)
7693 (single_step_gdbarch): Move up in the file.
7694 (one_breakpoint_xfer_memory): New function, factored out from ...
7695 (breakpoint_xfer_memory): ... here. Also process single-step
7696 breakpoints.
7697
15a9128a
TG
76982014-04-09 Tristan Gingold <gingold@adacore.com>
7699
7700 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
7701 comments.
7702 (darwin_decode_exception_message): Free port only after use.
7703
9c97a070
PL
77042014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
7705
7706 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
7707 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
7708 when setting the size of call_length.
7709
7af389b8
SC
77102014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7711
7712 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
7713 dereference TYPE_CODE_REF values.
7714
86ad98c3
JB
77152014-04-07 Joel Brobecker <brobecker@adacore.com>
7716
7717 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
7718 end of warning message.
7719
b0aeadb3
DE
77202014-04-03 Doug Evans <dje@google.com>
7721
7722 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
7723 of stub_comp_unit_die, stub_comp_dir is non-NULL.
7724
5979d6b6
AM
77252014-04-02 Alan Modra <amodra@gmail.com>
7726
7727 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
7728 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
7729 (struct symbol_file_add_from_memory_args): Add size field.
7730 (find_vdso_size): New function.
7731 (add_vsyscall_page): Attempt to find vdso size.
7732
0d60c288
DE
77332014-04-01 Doug Evans <dje@google.com>
7734
7735 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
7736
a41f2563
TG
77372014-04-01 Tristan Gingold <gingold@adacore.com>
7738
7739 * darwin-nat.c (darwin_encode_reply): Add prototype.
7740 (darwin_decode_exception_message): Reply to unknown inferiors.
7741 (darwin_decode_message): Handle message by id. Ignore message
7742 to unknown inferior.
7743 (darwin_wait): Discard unknown messages, add debug trace.
7744
11a865c8
DE
77452014-03-31 Doug Evans <dje@google.com>
7746
7747 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
7748 comp_dir_string.
7749
770e7fc7
DE
77502014-03-31 Doug Evans <dje@google.com>
7751
7752 New option "set print symbol-loading".
7753 * NEWS: Mention it.
7754 * solib.c (solib_read_symbols): Only print symbol loading messages
7755 if requested.
7756 (solib_add): If symbol loading is in "brief" mode, notify user
7757 symbols are being loaded.
7758 (reload_shared_libraries_1): Ditto.
7759 * symfile.c (print_symbol_loading_off): New static global.
7760 (print_symbol_loading_brief): New static global.
7761 (print_symbol_loading_full): New static global.
7762 (print_symbol_loading_enums): New static global.
7763 (print_symbol_loading): New static global.
7764 (print_symbol_loading_p): New function.
7765 (symbol_file_add_with_addrs): Only print symbol loading messages
7766 if requested.
7767 (_initialize_symfile): Register "print symbol-loading" set/show
7768 command.
7769 * symfile.h (print_symbol_loading_p): Declare.
7770
c32c64b7
DE
77712014-03-30 Doug Evans <xdje42@gmail.com>
7772
7773 * infrun.c (set_last_target_status): New function.
7774 (handle_inferior_event): Call it.
7775
7c0bc051
DE
77762014-03-30 Doug Evans <xdje42@gmail.com>
7777
7778 * inferior.h (enum stop_kind): Improve comment.
7779
8776cfe9
JB
77802014-03-28 Joel Brobecker <brobecker@adacore.com>
7781
7782 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
7783 a reference, strip the reference layer before calling
7784 the lang_ops value_has_mutated callback.
7785
410a0ff2
SDJ
77862014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
7787
7788 Remove some globals from our parser.
7789 * language.c (unk_lang_parser): Add "struct parser_state"
7790 argument.
7791 * language.h (struct language_defn) <la_parser>: Likewise.
7792 * parse.c (expout, expout_size, expout_ptr): Remove variables.
7793 (initialize_expout): Add "struct parser_state" argument.
7794 Rewrite function to use the parser state.
7795 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
7796 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
7797 write_exp_elt_longcst, write_exp_elt_dblcst,
7798 write_exp_elt_decfloatcst, write_exp_elt_type,
7799 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
7800 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
7801 write_dollar_variable): Likewise.
7802 (parse_exp_in_context_1): Use parser state.
7803 (insert_type_address_space): Add "struct parser_state" argument.
7804 Use parser state.
7805 (increase_expout_size): New function.
7806 * parser-defs.h: Forward declare "struct language_defn" and
7807 "struct parser_state".
7808 (expout, expout_size, expout_ptr): Remove extern declarations.
7809 (parse_gdbarch, parse_language): Rewrite macro declarations to
7810 accept the parser state.
7811 (struct parser_state): New struct.
7812 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
7813 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
7814 write_exp_elt_decfloatcst, write_exp_elt_type,
7815 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
7816 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
7817 write_exp_msymbol, write_dollar_variable,
7818 mark_struct_expression, insert_type_address_space): Add "struct
7819 parser_state" argument.
7820 (increase_expout_size): New function.
7821 * utils.c (do_clear_parser_state): New function.
7822 (make_cleanup_clear_parser_state): Likewise.
7823 * utils.h (make_cleanup_clear_parser_state): New function
7824 prototype.
7825 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
7826 Update calls to write_exp* in order to pass the parser state.
7827 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
7828 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
7829 (i386_stap_parse_special_token_three_arg_disp): Likewise.
7830 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
7831 * stap-probe.c (stap_parse_register_operand): Likewise.
7832 (stap_parse_single_operand): Likewise.
7833 (stap_parse_argument_1): Likewise.
7834 (stap_parse_argument): Use parser state.
7835 * stap-probe.h: Include "parser-defs.h".
7836 (struct stap_parse_info) <pstate>: New field.
7837 * c-exp.y (parse_type): Rewrite to use parser state.
7838 (yyparse): Redefine to c_parse_internal.
7839 (pstate): New global variable.
7840 (parse_number): Add "struct parser_state" argument.
7841 (write_destructor_name): Likewise.
7842 (type_exp): Update calls to write_exp* and similars in order to
7843 use parser state.
7844 (exp1, exp, variable, qualified_name, space_identifier,
7845 typename, typebase): Likewise.
7846 (write_destructor_name, parse_number, lex_one_token,
7847 classify_name, classify_inner_name, c_parse): Add "struct
7848 parser_state" argument. Update function to use parser state.
7849 * c-lang.h: Forward declare "struct parser_state".
7850 (c_parse): Add "struct parser_state" argument.
7851 * ada-exp.y (parse_type): Rewrite macro to use parser state.
7852 (yyparse): Redefine macro to ada_parse_internal.
7853 (pstate): New variable.
7854 (write_int, write_object_renaming, write_var_or_type,
7855 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
7856 type_int, type_long, type_long_long, type_float, type_double,
7857 type_long_double, type_char, type_boolean, type_system_address):
7858 Add "struct parser_state" argument.
7859 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
7860 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
7861 var_or_type, aggregate, aggregate_component_list,
7862 positional_list, others, component_group,
7863 component_associations): Update calls to write_exp* and similar
7864 functions in order to use parser state.
7865 (ada_parse, write_var_from_sym, write_int,
7866 write_exp_op_with_string, write_object_renaming,
7867 find_primitive_type, write_selectors, write_ambiguous_var,
7868 write_var_or_type, write_name_assoc, type_int, type_long,
7869 type_long_long, type_float, type_double, type_long_double,
7870 type_char, type_boolean, type_system_address): Add "struct
7871 parser_state" argument. Adjust function to use parser state.
7872 * ada-lang.c (parse): Likewise.
7873 * ada-lang.h: Forward declare "struct parser_state".
7874 (ada_parse): Add "struct parser_state" argument.
7875 * ada-lex.l (processInt, processReal): Likewise. Adjust all
7876 calls to both functions.
7877 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
7878 parser state.
7879 (yyparse): Redefine macro to f_parse_internal.
7880 (pstate): New variable.
7881 (parse_number): Add "struct parser_state" argument.
7882 (type_exp, exp, subrange, typebase): Update calls to write_exp*
7883 and similars in order to use parser state.
7884 (parse_number): Adjust code to use parser state.
7885 (yylex): Likewise.
7886 (f_parse): New function.
7887 * f-lang.h: Forward declare "struct parser_state".
7888 (f_parse): Add "struct parser_state" argument.
7889 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
7890 parser state.
7891 (yyparse): Redefine macro for java_parse_internal.
7892 (pstate): New variable.
7893 (push_expression_name, push_expression_name, insert_exp): Add
7894 "struct parser_state" argument.
7895 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
7896 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
7897 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
7898 PostIncrementExpression, PostDecrementExpression,
7899 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
7900 UnaryExpressionNotPlusMinus, CastExpression,
7901 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
7902 RelationalExpression, EqualityExpression, AndExpression,
7903 ExclusiveOrExpression, InclusiveOrExpression,
7904 ConditionalAndExpression, ConditionalOrExpression,
7905 ConditionalExpression, Assignment, LeftHandSide): Update
7906 calls to write_exp* and similars in order to use parser state.
7907 (parse_number): Ajust code to use parser state.
7908 (yylex): Likewise.
7909 (java_parse): New function.
7910 (push_variable): Add "struct parser_state" argument. Adjust
7911 code to user parser state.
7912 (push_fieldnames, push_qualified_expression_name,
7913 push_expression_name, insert_exp): Likewise.
7914 * jv-lang.h: Forward declare "struct parser_state".
7915 (java_parse): Add "struct parser_state" argument.
7916 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
7917 parser state.
7918 (yyparse): Redefine macro to m2_parse_internal.
7919 (pstate): New variable.
7920 (type_exp, exp, fblock, variable, type): Update calls to
7921 write_exp* and similars to use parser state.
7922 (yylex): Likewise.
7923 (m2_parse): New function.
7924 * m2-lang.h: Forward declare "struct parser_state".
7925 (m2_parse): Add "struct parser_state" argument.
7926 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
7927 * objc-lang.h: Forward declare "struct parser_state".
7928 (end_msglist): Add "struct parser_state" argument.
7929 * p-exp.y (parse_type): Rewrite macro to use parser state.
7930 (yyparse): Redefine macro to pascal_parse_internal.
7931 (pstate): New variable.
7932 (parse_number): Add "struct parser_state" argument.
7933 (type_exp, exp1, exp, qualified_name, variable): Update calls to
7934 write_exp* and similars in order to use parser state.
7935 (parse_number, yylex): Adjust code to use parser state.
7936 (pascal_parse): New function.
7937 * p-lang.h: Forward declare "struct parser_state".
7938 (pascal_parse): Add "struct parser_state" argument.
7939 * go-exp.y (parse_type): Rewrite macro to use parser state.
7940 (yyparse): Redefine macro to go_parse_internal.
7941 (pstate): New variable.
7942 (parse_number): Add "struct parser_state" argument.
7943 (type_exp, exp1, exp, variable, type): Update calls to
7944 write_exp* and similars in order to use parser state.
7945 (parse_number, lex_one_token, classify_name, yylex): Adjust code
7946 to use parser state.
7947 (go_parse): Likewise.
7948 * go-lang.h: Forward declare "struct parser_state".
7949 (go_parse): Add "struct parser_state" argument.
7950
342587c4
DE
79512014-03-27 Doug Evans <dje@google.com>
7952
7953 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
7954
33e80786
DE
79552014-03-27 Doug Evans <dje@google.com>
7956
7957 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
7958 Remove argument abbrev_section. All callers updated.
7959
1dbab08b
DE
79602014-03-27 Doug Evans <dje@google.com>
7961
7962 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
7963 addr_base, ranges_base.
7964
318d3177
KS
79652014-03-26 Keith Seitz <keiths@redhat.com>
7966
7967 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
7968 types, not VAR_DOMAIN.
7969
1e54db15
SL
79702014-03-25 Sandra Loosemore <sandra@codesourcery.com>
7971
7972 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
7973 "ra" registers.
7974 * features/nios2-linux.c: Regenerated.
7975 * features/nios2.c: Regenerated.
7976
d3839ede
PA
79772014-03-25 Pedro Alves <palves@redhat.com>
7978
7979 * cli/cli-script.c (script_from_file): Force the interpreter to
7980 sync mode.
7981
7588d2ec
PL
79822014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
7983
7984 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
7985 small stack allocation.
7986
a6290449
TG
79872014-03-24 Tristan Gingold <gingold@adacore.com>
7988
7989 * darwin-nat.c (exc_server): Remove unused prototype.
7990 (darwin_dump_message): Correctly display data on x86_64.
7991 (darwin_encode_reply): Fix style.
7992 Add comments and fix indentation.
7993
31ae9d24 79942014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
7995
7996 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
7997
6339bfc4
DE
79982014-03-22 Doug Evans <xdje42@gmail.com>
7999
8000 * infcmd.c: Whitespace fixes.
8001 (interrupt_command): Merge two function comments into one.
8002
0a07590b
DE
80032014-03-22 Doug Evans <xdje42@gmail.com>
8004
8005 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
8006 All uses updated.
8007
b55fbac4
YQ
80082014-03-22 Yao Qi <yao@codesourcery.com>
8009
8010 * remote.c (target_read_live_memory): Remove.
8011 (memory_xfer_live_readonly_partial): Rename it to
8012 remote_xfer_live_readonly_partial. Remove argument 'object'.
8013 All callers updated. Call remote_read_bytes_1
8014 instead of target_read_live_memory.
8015 * tracepoint.c (set_traceframe_number): Remove.
8016 (make_cleanup_restore_traceframe_number): Likewise .
8017 * tracepoint.h (set_traceframe_number): Remove declaration.
8018 (make_cleanup_restore_traceframe_number): Likewise.
8019
9217e74e
YQ
80202014-03-22 Yao Qi <yao@codesourcery.com>
8021
8022 * remote.c (remote_read_bytes): Move code on reading from the
8023 remote stub to ...
8024 (remote_read_bytes_1): ... here. New function.
8025
8acf9577
YQ
80262014-03-22 Yao Qi <yao@codesourcery.com>
8027
8028 * ctf.c (ctf_xfer_partial): Check the return value of
8029 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
8030 return TARGET_XFER_UNAVAILABLE.
8031 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8032 * target.c (target_read_live_memory): Move it to remote.c.
8033 (memory_xfer_live_readonly_partial): Likewise.
8034 (memory_xfer_partial_1): Move some code to remote_read_bytes.
8035 * remote.c (target_read_live_memory): Moved from target.c.
8036 (memory_xfer_live_readonly_partial): Likewise.
8037 (remote_read_bytes): Factored out from
8038 memory_xfer_partial_1.
8039
feef67ab
DE
80402014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
8041
8042 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
8043 NULL pointer.
8044
b65dc60b
PA
80452014-03-21 Pedro Alves <palves@redhat.com>
8046
8047 * infrun.c (normal_stop): Extend comment.
8048
b4ab256d
HZ
80492014-03-21 Hui Zhu <hui@codesourcery.com>
8050 Pedro Alves <palves@redhat.com>
8051
8052 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
8053 static buffer.
8054 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
8055 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
8056 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
8057
deba7593
MR
80582014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
8059
8060 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
8061 `z' formatted output modifier.
8062
1bff71c3
SDJ
80632014-03-20 Tom Tromey <tromey@redhat.com>
8064 Sergio Durigan Junior <sergiodj@redhat.com>
8065
8066 * probe.c (parse_probes): Turn assert into an ordinary error.
8067 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
8068 exceptions when parsing probes. Rearrange the code for clarity.
8069
90e28950
TT
80702014-03-20 Tom Tromey <tromey@redhat.com>
8071
8072 PR gdb/14135
8073 * top.c (execute_command): Only dispatch events if the command
8074 started the target.
8075
beb460e8
PA
80762014-03-20 Tom Tromey <tromey@redhat.com>
8077
8078 PR cli/15718
8079 * infcall.c: Include event-top.h.
8080 (run_inferior_call): Call async_disable_stdin if needed.
8081
99619bea
PA
80822014-03-20 Pedro Alves <palves@redhat.com>
8083
8084 * infrun.c (prepare_to_proceed): Delete.
8085 (thread_still_needs_step_over): New function.
8086 (find_thread_needs_step_over): New function.
8087 (proceed): If the current thread needs a step-over, set its
8088 steping_over_breakpoint flag. Adjust to use
8089 find_thread_needs_step_over instead of prepare_to_proceed.
8090 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
8091 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
8092 breakpoint.
8093 (switch_back_to_stepped_thread): Step over breakpoints of all
8094 threads not the stepping thread, before switching back to the
8095 stepping thread.
8096
2adfaa28
PA
80972014-03-20 Pedro Alves <palves@redhat.com>
8098
8099 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
8100 extern.
8101 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
8102 * infrun.c (saved_singlestep_ptid)
8103 (stepping_past_singlestep_breakpoint): Delete.
8104 (resume): Remove stepping_past_singlestep_breakpoint handling.
8105 (proceed): Store the prev_pc of the stepping thread too.
8106 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
8107 singlestep_pc.
8108 (enum infwait_states): Delete infwait_thread_hop_state.
8109 (struct execution_control_state) <hit_singlestep_breakpoint>: New
8110 field.
8111 (handle_inferior_event): Adjust.
8112 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
8113 handling and the thread-hop code. Before removing single-step
8114 breakpoints, check whether the thread hit a single-step breakpoint
8115 of another thread. If it did, the trap is not a random signal.
8116 (switch_back_to_stepped_thread): If the event thread hit a
8117 single-step breakpoint, unblock it before switching to the
8118 stepping thread. Handle the case of the stepped thread having
8119 advanced already.
8120 (keep_going): Handle the case of the current thread moving past a
8121 single-step breakpoint.
8122
31e77af2
PA
81232014-03-20 Pedro Alves <palves@redhat.com>
8124
8125 PR breakpoints/7143
8126 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
8127 are being stepped over.
8128 (breakpoint_address_match): Make extern.
8129 * breakpoint.h (breakpoint_address_match): New declaration.
8130 * inferior.h (stepping_past_instruction_at): New declaration.
8131 * infrun.c (struct step_over_info): New type.
8132 (step_over_info): New global.
8133 (set_step_over_info, clear_step_over_info)
8134 (stepping_past_instruction_at): New functions.
8135 (handle_inferior_event): Clear the step-over info when
8136 trap_expected is cleared.
8137 (resume): Remove now stale comment.
8138 (clear_proceed_status): Clear step-over info.
8139 (proceed): Adjust step-over handling to set or clear the step-over
8140 info instead of removing all breakpoints.
8141 (handle_signal_stop): When setting up a thread-hop, don't remove
8142 breakpoints here.
8143 (stop_stepping): Clear step-over info.
8144 (keep_going): Adjust step-over handling to set or clear step-over
8145 info and then always inserting breakpoints, instead of removing
8146 all breakpoints when stepping over one.
8147
b9f437de
PA
81482014-03-20 Pedro Alves <palves@redhat.com>
8149
8150 * infrun.c (previous_inferior_ptid): Adjust comment.
8151 (deferred_step_ptid): Delete.
8152 (infrun_thread_ptid_changed, prepare_to_proceed)
8153 (init_wait_for_inferior): Adjust.
8154 (handle_signal_stop): Delete deferred_step_ptid handling.
8155
06c868a8
JK
81562014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8157
8158 PR gdb/15358
8159 * defs.h (sync_quit_force_run): New declaration.
8160 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
8161 * event-top.c (async_sigterm_handler): New declaration.
8162 (async_sigterm_token): New variable.
8163 (async_init_signals): Create also async_sigterm_token.
8164 (async_sigterm_handler): New function.
8165 (sync_quit_force_run): New variable.
8166 (handle_sigterm): Replace quit_force call by other calls.
8167 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
8168
dea80df0
MR
81692014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
8170
8171 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
8172 offset into SPE pseudo registers.
8173
0c7e1a46
PA
81742014-03-18 Pedro Alves <palves@redhat.com>
8175
8176 PR gdb/13860
8177 * inferior.h (print_stop_event): Declare.
8178 * infrun.c (print_stop_event): New, factored out from ...
8179 (normal_stop): ... this.
8180 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
8181 of bpstat_print/print_stack_frame.
8182
9c1fcd01
TT
81832014-03-17 Tom Tromey <tromey@redhat.com>
8184
8185 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
8186
11aa919a
PMR
81872014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
8188
8189 * ada-lang.c (decode_constrained_packed_array): Perform a
8190 minimal coercion for reference with coerce_ref instead of
8191 ada_coerce_ref.
8192
d4ccb5e0
TG
81932014-03-17 Tristan Gingold <gingold@adacore.com>
8194
8195 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
8196 (darwin_solib_create_inferior_hook): Emit a warning if version
8197 is unhandled.
8198
49840f2a
UW
81992014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
8200
8201 * python/py-value.c (get_field_flag): Cast flag_name argument to
8202 PyObject_GetAttrString to support Python 2.4.
8203
ed4123e5
JK
82042014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8205
8206 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
8207 (Global Maintainers): Remove Jan Kratochvil.
8208
d6b64346
PA
82092014-03-14 Pedro Alves <palves@redhat.com>
8210
8211 * inferior.h (terminal_ours_for_output): Rename to ...
8212 (child_terminal_ours_for_output): ... this.
8213 (terminal_save_ours): Rename to ...
8214 (child_terminal_save_ours): ... this.
8215 (terminal_ours): Rename to ...
8216 (child_terminal_ours): ... this.
8217 (terminal_inferior): Rename to ...
8218 (child_terminal_inferior): ... this.
8219 (terminal_init_inferior): Rename to ...
8220 (child_terminal_init_inferior): ... this.
8221 (terminal_init_inferior_with_pgrp): Rename to ...
8222 (child_terminal_init_inferior_with_pgrp): ... this.
8223 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
8224 (child_terminal_init_with_pgrp): ... this.
8225 (terminal_save_ours): Rename to ...
8226 (child_terminal_save_ours): ... this.
8227 (terminal_init_inferior): Rename to ...
8228 (child_terminal_init): ... this. Adjust.
8229 (terminal_inferior): Rename to ...
8230 (child_terminal_inferior): ... this.
8231 (terminal_ours_for_output): Rename to ...
8232 (child_terminal_ours_for_output): ... this. Adjust.
8233 (terminal_ours): Rename to ...
8234 (child_terminal_ours): ... this.
8235 (terminal_ours_1): Rename to ...
8236 (child_terminal_ours_1): ... this. Adjust.
8237 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
8238 * windows-nat.c (do_initial_windows_stuff): Adjust.
8239 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
8240 (gnu_terminal_init): ... this. Adjust.
8241 (gnu_target): Adjust.
8242 * inf-child.c (inf_child_target): Adjust.
8243
5a1e8c7a
DE
82442014-03-13 Doug Evans <xdje42@gmail.com>
8245
8246 PR guile/16612
8247 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
8248 new eq?-hashtab.
8249
350e1a76
DE
82502014-03-13 Doug Evans <xdje42@gmail.com>
8251
8252 * value.c (record_latest_value): Call release_value_or_incref
8253 instead of release_value.
8254
a69900ae
PA
82552014-03-13 Pedro Alves <palves@redhat.com>
8256
8257 * procfs.c (procfs_target): Don't override to_shortname,
8258 to_longname or to_doc.
8259
5db9f0bd
PA
82602014-03-13 Pedro Alves <palves@redhat.com>
8261
8262 * inf-child.c (inf_child_open, inf_child_target): Don't mention
8263 Unix in user visible strings.
8264
5e3a2c38
SS
82652014-03-12 Stan Shebs <stan@codesourcery.com>
8266
8267 * gdbtypes.h: Annotate comments for Doxygen, add a page
8268 block comment with some general info.
8269
8bc2fe48
PA
82702014-03-12 Pedro Alves <palves@redhat.com>
8271
8272 * infcmd.c (prepare_execution_command): New function, factored out
8273 from several execution commands.
8274 (run_command_1, continue_command, step_1, jump_command)
8275 (signal_command, until_command, advance_command, finish_command)
8276 (attach_command): Use prepare_execution_command.
8277
638c5f49
OJ
82782014-03-12 Omair Javaid <omair.javaid@linaro.org>
8279
8280 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
8281 (MAX_BPTS): Define.
8282 (MAX_WPTS): Define.
8283 (struct arm_linux_thread_points): Removed.
8284 (struct arm_linux_process_info): New.
8285 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
8286 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
8287 (arm_linux_find_breakpoints_by_tid): Removed.
8288 (struct arch_lwp_info): New.
8289 (arm_linux_find_process_pid): New functions.
8290 (arm_linux_add_process): New functions.
8291 (arm_linux_process_info_get): New functions.
8292 (arm_linux_forget_process): New function.
8293 (arm_linux_get_debug_reg_state): New function.
8294 (struct update_registers_data): New.
8295 (update_registers_callback): New function.
8296 (arm_linux_insert_hw_breakpoint1): Updated.
8297 (arm_linux_remove_hw_breakpoint1): Updated.
8298 (arm_linux_insert_hw_breakpoint): Updated.
8299 (arm_linux_remove_hw_breakpoint): Updated.
8300 (arm_linux_insert_watchpoint): Updated.
8301 (arm_linux_remove_watchpoint): Updated.
8302 (arm_linux_new_thread): Updated.
8303 (arm_linux_prepare_to_resume): New function.
8304 (arm_linux_new_fork): New function.
8305 (_initialize_arm_linux_nat): Updated.
8306
6d03af93
PA
83072014-03-12 Pedro Alves <palves@redhat.com>
8308
8309 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
8310
b3ccfe11
TT
83112014-03-12 Tom Tromey <tromey@redhat.com>
8312
8313 * inf-child.c (return_zero): New function.
8314 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
8315 * aix-thread.c (aix_thread_inferior_created): New function.
8316 (aix_thread_attach): Remove.
8317 (init_aix_thread_ops): Don't set to_attach.
8318 (_initialize_aix_thread): Register inferior_created observer.
8319 * corelow.c (init_core_ops): Don't set to_attach or
8320 to_create_inferior.
8321 * exec.c (init_exec_ops): Don't set to_attach or
8322 to_create_inferior.
8323 * infcmd.c (run_command_1): Use find_run_target. Make direct
8324 target calls.
8325 (attach_command): Use find_attach_target. Make direct target
8326 calls.
8327 * record-btrace.c (init_record_btrace_ops): Don't set
8328 to_create_inferior.
8329 * record-full.c (record_full_can_async_p, record_full_is_async_p):
8330 Remove.
8331 (init_record_full_ops, init_record_full_core_ops): Update. Don't
8332 set to_create_inferior.
8333 * target.c (complete_target_initialization): Add assertion.
8334 (target_create_inferior): Remove.
8335 (find_default_attach, find_default_create_inferior): Remove.
8336 (find_attach_target, find_run_target): New functions.
8337 (find_default_is_async_p, find_default_can_async_p)
8338 (target_supports_non_stop, target_attach): Remove.
8339 (init_dummy_target): Don't set to_create_inferior or
8340 to_supports_non_stop.
8341 * target.h (struct target_ops) <to_attach>: Add comment. Remove
8342 TARGET_DEFAULT_FUNC.
8343 <to_create_inferior>: Add comment.
8344 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
8345 TARGET_DEFAULT_RETURN.
8346 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
8347 (find_attach_target, find_run_target): Declare.
8348 (target_create_inferior): Remove.
8349 (target_has_execution_1): Update comment.
8350 (target_supports_non_stop): Remove.
8351 * target-delegates.c: Rebuild.
8352
91f83b02
PA
83532014-03-12 Pedro Alves <palves@redhat.com>
8354
8355 * inf-child.h: Update comment to not mention Unix.
8356
f1aea813
PA
83572014-03-12 Pedro Alves <palves@redhat.com>
8358
8359 * inf-child.c: Update top comment to not mention Unix. Add
8360 generic comment describing how this target is meant to be used.
8361 (inf_child_post_attach, inf_child_post_startup_inferior)
8362 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
8363 Unix in comment.
8364
ee8e9165
PA
83652014-03-12 Pedro Alves <palves@redhat.com>
8366
8367 * nto-procfs.c: Include inf-child.h.
8368 (procfs_ops): Delete global.
8369 (procfs_can_run): Delete method.
8370 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
8371 target pointer instead of referencing procfs_ops.
8372 (procfs_prepare_to_store): Delete.
8373 (init_procfs_ops): Delete function.
8374 (procfs_target): New function, based on init_procfs_ops, but
8375 inherit inf_child_target.
8376 (_initialize_procfs): Use procfs_target.
8377
51a9c8c5
PA
83782014-03-12 Pedro Alves <palves@redhat.com>
8379
8380 * windows-nat.c: Include inf-child.h.
8381 (windows_ops): Delete global.
8382 (windows_open, windows_prepare_to_store, windows_can_run): Delete
8383 methods.
8384 (init_windows_ops): Delete function.
8385 (windows_target): New function, based on init_windows_ops, but
8386 inherit inf_child_target.
8387 (_initialize_windows_nat): Use windows_target. Install x86
8388 specific target methods here.
8389
c1966e26
DE
83902014-03-10 Doug Evans <xdje42@gmail.com>
8391
8392 * guile/guile.c (call_initialize_gdb_module): New function.
8393 (initialize_guile): Replace call to scm_init_guile with call to
8394 scm_with_guile.
8395
023db19c
JB
83962014-03-10 Joel Brobecker <brobecker@adacore.com>
8397
8398 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
8399 in call to TYPE_CODE macro.
8400
5ec18f2b
JG
84012014-03-10 Jerome Guitton <guitton@adacore.com>
8402
8668be63
JB
8403 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
8404 Resolve tagged types to full view.
5ec18f2b 8405
7d03f2eb
HZ
84062014-03-10 Hui Zhu <hui@codesourcery.com>
8407
8408 * target.h (target_insert_breakpoint): Remove "hardware" from its
8409 comments.
8410
c5164cbc
DE
84112014-03-07 Doug Evans <dje@google.com>
8412
8413 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
8414
c4a3fee2
DE
84152014-03-07 Doug Evans <dje@google.com>
8416
8417 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
8418 Remove unused local comp_dir_attr. Assert exactly one of
8419 stub_comp_unit_die, stub_comp_dir is non-NULL.
8420
3156469c
JB
84212014-03-07 Joel Brobecker <brobecker@adacore.com>
8422
8423 * target.h (complete_target_initialization, add_target):
8424 Add comment.
8425
c1a7b7c6
PA
84262014-03-07 Pedro Alves <palves@redhat.com>
8427
8428 * go32-nat.c: Include inf-child.h.
8429 (go32_ops): Delete global.
8430 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
8431 Delete methods.
8432 (go32_create_inferior): Push the passed in target pointer instead
8433 of referencing go32_ops.
8434 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
8435 (go32_target): New function, based on init_go32_ops, but inherit
8436 inf_child_target.
8437 (_initialize_go32_nat): Use go32_target. Move parts of
8438 init_go32_ops here.
8439
d3c1a85f
JB
84402014-03-06 Joel Brobecker <brobecker@adacore.com>
8441
8442 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
8443 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
8444 SYMBOL_VALUE_ADDRESS.
8445 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
8446
5fa1d40e
YQ
84472014-03-06 Yao Qi <yao@codesourcery.com>
8448
8449 * breakpoint.c (get_tracepoint_by_number): Remove argument
8450 optional_p. All callers updated. Adjust comments. Update
8451 output message.
8452 * breakpoint.h (get_tracepoint_by_number): Update declaration.
8453
0c13193f
YQ
84542014-03-06 Yao Qi <yao@codesourcery.com>
8455
8456 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
8457 early if get_number returns zero. Use 'p' instead of 'args'.
8458
2217da06
YQ
84592014-03-06 Yao Qi <yao@codesourcery.com>
8460
8461 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
8462 message.
8463
cc3da688
YQ
84642014-03-06 Yao Qi <yao@codesourcery.com>
8465
8466 PR breakpoints/16508
8467 * tracepoint.c (check_trace_running): New function.
8468 (trace_find_command): Move code to check_trace_running and
8469 call check_trace_running.
8470 (trace_find_pc_command): Likewise.
8471 (trace_find_tracepoint_command): Likewise.
8472 (trace_find_line_command): Likewise.
8473 (trace_find_range_command): Likewise.
8474 * tracepoint.h (check_trace_running): Likewise.
8475 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
8476
6a5f844b
YQ
84772014-03-06 Yao Qi <yao@codesourcery.com>
8478
8479 * target.h (struct target_ops) <to_traceframe_info>: Use
8480 TARGET_DEFAULT_NORETURN (tcomplain ()).
8481 * target-delegates.c: Regenerated.
8482
0f26cec1
PA
84832014-03-05 Pedro Alves <palves@redhat.com>
8484
8485 PR gdb/16575
8486 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
8487 void. Update comment.
8488 (dcache_xfer_memory): Delete.
8489 (dcache_read_memory_partial): New, based on the read bits of
8490 dcache_xfer_memory.
8491 (dcache_update): Add status parameter. Use ULONGEST for len, and
8492 adjust. Discard cache lines if the reason for the update was
8493 error.
8494 * dcache.h (dcache_xfer_memory): Delete declaration.
8495 (dcache_read_memory_partial): New declaration.
8496 (dcache_update): Update prototype.
8497 * target.c (raw_memory_xfer_partial): Update the dcache here.
8498 (memory_xfer_partial_1): Don't handle dcache writes here.
8499
b2b255bd
MF
85002014-03-05 Mike Frysinger <vapier@gentoo.org>
8501
8502 * remote-sim.c (gdbsim_load): Add const to prog.
8503
5d9cf8a4
TT
85042014-03-03 Tom Tromey <tromey@redhat.com>
8505
8506 * elfread.c (probe_key): Change to bfd_data.
8507 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
8508 now per-BFD, not per-objfile.
8509 * stap-probe.c (stap_probe_destroy): Update comment.
8510 (handle_stap_probe): Allocate on the per-BFD obstack.
8511
729662a5
TT
85122014-03-03 Tom Tromey <tromey@redhat.com>
8513
8514 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
8515 * breakpoint.c (create_longjmp_master_breakpoint): Use
8516 get_probe_address.
8517 (add_location_to_breakpoint, bkpt_probe_insert_location)
8518 (bkpt_probe_remove_location): Update.
8519 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
8520 * elfread.c (elf_symfile_relocate_probe): Remove.
8521 (elf_probe_fns): Update.
8522 (insert_exception_resume_breakpoint): Change type of "probe"
8523 parameter to bound_probe.
8524 (check_exception_resume): Update.
8525 * objfiles.c (objfile_relocate1): Don't relocate probes.
8526 * probe.c (bound_probe_s): New typedef.
8527 (parse_probes): Use get_probe_address. Set sal's objfile.
8528 (find_probe_by_pc): Return a bound_probe.
8529 (collect_probes): Return a VEC(bound_probe_s).
8530 (compare_probes): Update.
8531 (gen_ui_out_table_header_info): Change type of "probes"
8532 parameter. Update.
8533 (info_probes_for_ops): Update.
8534 (get_probe_address): New function.
8535 (probe_safe_evaluate_at_pc): Update.
8536 * probe.h (struct probe_ops) <get_probe_address>: New field.
8537 <set_semaphore, clear_semaphore>: Add objfile parameter.
8538 (struct probe) <objfile>: Remove field.
8539 <arch>: New field.
8540 <address>: Update comment.
8541 (struct bound_probe): New.
8542 (find_probe_by_pc): Return a bound_probe.
8543 (get_probe_address): Declare.
8544 * solib-svr4.c (struct probe_and_action) <address>: New field.
8545 (hash_probe_and_action, equal_probe_and_action): Update.
8546 (register_solib_event_probe): Add address parameter.
8547 (solib_event_probe_at): Update.
8548 (svr4_create_probe_breakpoints): Add objfile parameter. Use
8549 get_probe_address.
8550 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
8551 (stap_get_probe_address): New function.
8552 (stap_can_evaluate_probe_arguments, compute_probe_arg)
8553 (compile_probe_arg): Update.
8554 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
8555 address.
8556 (handle_stap_probe): Don't relocate the probe.
8557 (stap_relocate): Remove.
8558 (stap_gen_info_probes_table_values): Update.
8559 (stap_probe_ops): Remove stap_relocate.
8560 * symfile-debug.c (debug_sym_relocate_probe): Remove.
8561 (debug_sym_probe_fns): Update.
8562 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
8563 * symtab.c (init_sal): Use memset.
8564 * symtab.h (struct symtab_and_line) <objfile>: New field.
8565 * tracepoint.c (start_tracing, stop_tracing): Update.
8566
ff887920
TT
85672014-03-03 Tom Tromey <tromey@redhat.com>
8568
8569 * probe.h (parse_probes, find_probe_by_pc)
8570 (find_probes_in_objfile): Fix comments.
8571
f0407826
DE
85722014-03-02 Doug Evans <xdje42@gmail.com>
8573
8574 * infrun.c (handle_signal_stop): Replace test for
8575 TARGET_WAITKIND_STOPPED with an assert.
8576
35e6a711
DE
85772014-03-02 Doug Evans <xdje42@gmail.com>
8578
8579 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
8580
667f9d0b
DE
85812014-03-02 Doug Evans <xdje42@gmail.com>
8582
8583 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
8584
dc92ace0
MK
85852014-03-01 Mark Kettenis <kettenis@gnu.org>
8586
8587 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
8588
a900370f
MK
85892014-03-01 Mark Kettenis <kettenis@gnu.org>
8590
8591 * i386obsd-nat.c: Include "obsd-nat.h".
8592 (_initialize_i386obsd_nat): Call obsd_add_target instead of
8593 add_target.
8594 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
8595
b72a7981
MK
85962014-03-01 Mark Kettenis <kettenis@gnu.org>
8597
8598 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
8599
96c70aba
MK
86002014-03-01 Mark Kettenis <kettenis@gnu.org>
8601
8602 * mips64obsd-nat.c: Include "obsd-nath".
8603 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
8604 add_target
8605 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
8606
874a80af
MK
86072014-03-01 Mark Kettenis <kettenis@gnu.org>
8608
8fd408f1
MK
8609 * amd64obsd-nat.c: Include "obsd-nat,h.
8610 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
8611 add_target.
874a80af
MK
8612 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
8613
9cf95373
SC
86142014-02-28 Siva Chandra Reddy <sivachandra@google.com>
8615
8616 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
8617 (find_overload_match): Update call to find_oload_champ.
8618 (find_oload_champ_namespace_loop): Likewise
8619
863e4da4
MK
86202014-02-28 Mark Kettenis <kettenis@gnu.org>
8621
025cac40
MK
8622 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
8623
1ed586ce
MK
8624 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
8625 * config/sparc/obsd64.mh: New file.
8626 * sparc64obsd-nat.c: New file.
8627
863e4da4
MK
8628 * obsd-nat.h: New file.
8629 * obsd-nat.c: New file.
8630 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
8631 (ALLDEPFILES): Add obsd-nat.c.
8632
89de4da4
TT
86332014-02-28 Tom Tromey <tromey@redhat.com>
8634
8635 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
8636 * cli-out.h (cli_ui_out_impl): Now const.
8637 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
8638 * ui-out.c (struct ui_out) <impl>: Now const.
8639 (default_ui_out_impl): Now const.
8640 (ui_out_new): Make 'impl' parameter const.
8641 * ui-out.h (ui_out_new): Update.
8642
c725e7b6
MK
86432014-02-27 Mark Kettenis <kettenis@gnu.org>
8644
8645 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
8646
670b46b3
MK
86472014-02-27 Mark Kettenis <kettenis@gnu.org>
8648
8649 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
8650
c91550fc
JK
86512014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8652
8653 Additional PR 8882 fix.
8654 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
8655
2fa0369e
PA
86562014-02-27 Pedro Alves <palves@redhat.com>
8657
8658 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
8659 isn't set.
8660
d632a097
PA
86612014-02-27 Pedro Alves <palves@redhat.com>
8662
8663 PR 12702
8664 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
8665 * nat/linux-waitpid.c: Include string.h.
8666 (status_to_str): Moved here and made extern.
8667 * nat/linux-waitpid.h (status_to_str): New declaration.
8668
2ebd5a35
HZ
86692014-02-27 Hui Zhu <hui@codesourcery.com>
8670
8671 PR 12702
8672 * infrun.c (ptid_match): Move ...
8673 * common/ptid.c (ptid_match): ... here.
8674 * inferior.h (ptid_match): Move ...
8675 * common/ptid.h (ptid_match): ... here.
8676
3cdd631f
MK
86772014-02-27 Mark Kettenis <kettenis@gnu.org>
8678
8679 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
8680 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
8681 gdb_target_obs.
8682
bee30a64
MK
86832014-02-27 Mark Kettenis <kettenis@gnu.org>
8684
8685 * obsd-tdep.c (obsd_auxv_parse): New function.
8686 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
8687
8688 * gdbarch.sh (auxv_parse): New.
8689 * gdbarch.h: Regenerated.
8690 * gdbarch.c: Regenerated.
8691 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
8692
7a5a839f
LC
86932014-02-26 Ludovic Courtès <ludo@gnu.org>
8694
8695 * guile/scm-value.c (gdbscm_history_append_x): New function.
8696 (value_functions): Add it.
8697
31aa7e4e
JB
86982014-02-27 Joel Brobecker <brobecker@adacore.com>
8699
8700 * dwarf2read.c (attr_value_as_address): New function.
8701 (dwarf2_find_base_address, read_call_site_scope): Use
8702 attr_value_as_address in place of DW_ADDR.
8703 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
8704 the low and high addresses. Slight rework of the handling
8705 of the high pc being a constant form, and limit it to
8706 DWARF verson 4 or higher.
8707 (dwarf2_record_block_ranges): Likewise.
8708 (read_partial_die): Likewise.
8709 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
8710
9b333ba3
TT
87112014-02-26 Tom Tromey <tromey@redhat.com>
8712
8713 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
8714
5f6cac40
TT
87152014-02-26 Tom Tromey <tromey@redhat.com>
8716
8717 * elfread.c (elf_read_minimal_symbols): Return early if
8718 minimal symbols have already been read. Add "ei" parameter.
8719 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
8720 * minsyms.c (prim_record_minimal_symbol_full): Update.
8721 * objfiles.h (struct objstats) <n_minsyms>: Move...
8722 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
8723 * symmisc.c (print_objfile_statistics): Update.
8724
2750ef27
TT
87252014-02-26 Tom Tromey <tromey@redhat.com>
8726
8727 * elfread.c (elf_read_minimal_symbols): New function, from
8728 elf_symfile_read.
8729 (elf_symfile_read): Call it.
8730
34643a32
TT
87312014-02-26 Tom Tromey <tromey@redhat.com>
8732
8733 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
8734 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
8735 (lookup_minimal_symbol_solib_trampoline)
8736 (lookup_minimal_symbol_by_pc_section_1)
8737 (lookup_minimal_symbol_and_objfile): Update.
8738 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
8739 Don't allocate a minimal symbol if minsyms have already been read.
8740 (build_minimal_symbol_hash_tables): Update.
8741 (install_minimal_symbols): Do nothing if minsyms already read.
8742 Use the per-BFD obstack.
8743 (terminate_minimal_symbol_table): Use the per-BFD obstack.
8744 * objfiles.c (allocate_objfile): Call
8745 terminate_minimal_symbol_table later.
8746 (have_minimal_symbols): Update.
8747 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
8748 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
8749 Move from struct objfile.
8750 <minsyms_read>: New field.
8751 (struct objfile) <msymbols, minimal_symbol_count,
8752 msymbol_hash, msymbol_demangled_hash>: Move.
8753 (ALL_OBJFILE_MSYMBOLS): Update.
8754 * symfile.c (read_symbols): Set minsyms_read.
8755 (reread_symbols): Update.
8756 * symmisc.c (dump_objfile, dump_msymbols): Update.
8757
2273f0ac
TT
87582014-02-26 Tom Tromey <tromey@redhat.com>
8759
8760 * minsyms.c (msymbols_sort): Remove.
8761 * minsyms.h (msymbols_sort): Remove.
8762 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
8763 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
8764 * elfread.c (elf_symtab_read): Don't add section offsets.
8765 * xcoffread.c (record_minimal_symbol): Don't add section offset
8766 to minimal symbol address.
8767 * somread.c (text_offset, data_offset): Remove.
8768 (som_symtab_read): Don't add section offsets to minimal symbol
8769 addresses.
8770 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
8771 Don't add section offsets to minimal symbols.
8772 * coffread.c (coff_symtab_read): Don't add section offsets
8773 to minimal symbol addresses.
8774 * machoread.c (macho_symtab_add_minsym): Don't add section offset
8775 to minimal symbol addresses.
8776 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
8777 section offset to minimal symbol addresses.
8778 * mdebugread.c (parse_partial_symbols): Don't add section
8779 offset to minimal symbol addresses.
8780 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
8781 offset to minimal symbol addresses.
8782
77e371c0
TT
87832014-02-26 Tom Tromey <tromey@redhat.com>
8784
8785 * ada-lang.c (ada_main_name): Update.
8786 (ada_add_standard_exceptions): Update.
8787 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
8788 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8789 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
8790 * auxv.c (ld_so_xfer_auxv): Update.
8791 * avr-tdep.c (avr_scan_prologue): Update.
8792 * ax-gdb.c (gen_var_ref): Update.
8793 * blockframe.c (get_pc_function_start)
8794 (find_pc_partial_function_gnu_ifunc): Update.
8795 * breakpoint.c (create_overlay_event_breakpoint)
8796 (create_longjmp_master_breakpoint)
8797 (create_std_terminate_master_breakpoint)
8798 (create_exception_master_breakpoint): Update.
8799 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8800 * c-valprint.c (c_val_print): Update.
8801 * coff-pe-read.c (add_pe_forwarded_sym): Update.
8802 * common/agent.c (agent_look_up_symbols): Update.
8803 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
8804 * dwarf2loc.c (call_site_to_target_addr): Update.
8805 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
8806 * elfread.c (elf_gnu_ifunc_record_cache)
8807 (elf_gnu_ifunc_resolve_by_got): Update.
8808 * findvar.c (default_read_var_value): Update.
8809 * frame.c (inside_main_func): Update.
8810 * frv-tdep.c (frv_frame_this_id): Update.
8811 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8812 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
8813 Update.
8814 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
8815 (hppa_hpux_find_dummy_bpaddr): Update.
8816 * hppa-tdep.c (hppa_symbol_address): Update.
8817 * infcmd.c (until_next_command): Update.
8818 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
8819 Update.
8820 * linespec.c (minsym_found, add_minsym): Update.
8821 * linux-nat.c (get_signo): Update.
8822 * linux-thread-db.c (inferior_has_bug): Update.
8823 * m32c-tdep.c (m32c_return_value)
8824 (m32c_m16c_address_to_pointer): Update.
8825 * m32r-tdep.c (m32r_frame_this_id): Update.
8826 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8827 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8828 * maint.c (maintenance_translate_address): Update.
8829 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
8830 (frob_address): New function.
8831 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
8832 frob_address. Rename parameter to "pc_in".
8833 (compare_minimal_symbols, compact_minimal_symbols): Use raw
8834 addresses.
8835 (find_solib_trampoline_target, minimal_symbol_upper_bound):
8836 Update.
8837 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8838 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
8839 * objc-lang.c (find_objc_msgsend): Update.
8840 * objfiles.c (objfile_relocate1): Update.
8841 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8842 * p-valprint.c (pascal_val_print): Update.
8843 * parse.c (write_exp_msymbol): Update.
8844 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
8845 (ppc_elfv2_skip_entrypoint): Update.
8846 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8847 * printcmd.c (build_address_symbolic, msym_info)
8848 (address_info): Update.
8849 * proc-service.c (ps_pglobal_lookup): Update.
8850 * psymtab.c (find_pc_sect_psymtab_closer)
8851 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
8852 Change msymbol parameter to bound_minimal_symbol.
8853 * ravenscar-thread.c (get_running_thread_id): Update.
8854 * remote.c (remote_check_symbols): Update.
8855 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
8856 address.
8857 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8858 * solib-dsbt.c (lm_base): Update.
8859 * solib-frv.c (lm_base, main_got): Update.
8860 * solib-irix.c (locate_base): Update.
8861 * solib-som.c (som_solib_create_inferior_hook)
8862 (link_map_start): Update.
8863 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
8864 * solib-svr4.c (elf_locate_base, enable_break): Update.
8865 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
8866 (flush_ea_cache): Update.
8867 * stabsread.c (define_symbol, scan_file_globals): Update.
8868 * stack.c (find_frame_funname): Update.
8869 * symfile-debug.c (debug_qf_expand_symtabs_matching)
8870 (debug_qf_find_pc_sect_symtab): Update.
8871 * symfile.c (simple_read_overlay_table)
8872 (simple_overlay_update): Update.
8873 * symfile.h (struct quick_symbol_functions)
8874 <find_pc_sect_symtab>: Change type of msymbol to
8875 bound_minimal_symbol.
8876 * symmisc.c (dump_msymbols): Update.
8877 * symtab.c (find_pc_sect_symtab_via_partial)
8878 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
8879 (search_symbols, print_msymbol_info): Update.
8880 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
8881 (MSYMBOL_VALUE_ADDRESS): Redefine.
8882 (BMSYMBOL_VALUE_ADDRESS): New macro.
8883 * tracepoint.c (scope_info): Update.
8884 * tui/tui-disasm.c (tui_find_disassembly_address)
8885 (tui_get_begin_asm_address): Update.
8886 * valops.c (find_function_in_inferior): Update.
8887 * value.c (value_static_field, value_fn_field): Update.
8888
3b7344d5
TT
88892014-02-26 Tom Tromey <tromey@redhat.com>
8890
8891 * ada-lang.c (ada_update_initial_language): Update.
8892 (ada_main_name, ada_has_this_exception_support): Update.
8893 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
8894 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8895 * arm-tdep.c (arm_skip_stub): Update.
8896 * auxv.c (ld_so_xfer_auxv): Update.
8897 * avr-tdep.c (avr_scan_prologue): Update.
8898 * ax-gdb.c (gen_var_ref): Update.
8899 * breakpoint.c (struct breakpoint_objfile_data)
8900 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
8901 type to bound_minimal_symbol.
8902 (create_overlay_event_breakpoint)
8903 (create_longjmp_master_breakpoint)
8904 (create_std_terminate_master_breakpoint)
8905 (create_exception_master_breakpoint): Update.
8906 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8907 * c-exp.y (classify_name): Update.
8908 * coffread.c (coff_symfile_read): Update.
8909 * common/agent.c (agent_look_up_symbols): Update.
8910 * d-lang.c (d_main_name): Update.
8911 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
8912 * dec-thread.c (enable_dec_thread): Update.
8913 * dwarf2loc.c (call_site_to_target_addr): Update.
8914 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
8915 * eval.c (evaluate_subexp_standard): Update.
8916 * findvar.c (struct minsym_lookup_data) <result>: Change type
8917 to bound_minimal_symbol.
8918 <objfile>: Remove.
8919 (minsym_lookup_iterator_cb, default_read_var_value): Update.
8920 * frame.c (inside_main_func): Update.
8921 * frv-tdep.c (frv_frame_this_id): Update.
8922 * gcore.c (call_target_sbrk): Update.
8923 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8924 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
8925 Update.
8926 * go-lang.c (go_main_name): Update.
8927 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
8928 (hppa_hpux_find_import_stub_for_addr): Update.
8929 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
8930 Update. Change return type.
8931 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
8932 type.
8933 * jit.c (jit_breakpoint_re_set_internal): Update.
8934 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
8935 Update.
8936 * linux-nat.c (get_signo): Update.
8937 * linux-thread-db.c (inferior_has_bug): Update
8938 * m32c-tdep.c (m32c_return_value)
8939 (m32c_m16c_address_to_pointer): Update.
8940 * m32r-tdep.c (m32r_frame_this_id): Update.
8941 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8942 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8943 * minsyms.c (lookup_minimal_symbol_internal): Rename to
8944 lookup_minimal_symbol. Change return type.
8945 (lookup_minimal_symbol): Remove.
8946 (lookup_bound_minimal_symbol): Update.
8947 (lookup_minimal_symbol_text): Change return type.
8948 (lookup_minimal_symbol_solib_trampoline): Change return type.
8949 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
8950 (lookup_minimal_symbol_solib_trampoline): Change return type.
8951 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8952 * objc-lang.c (lookup_objc_class, lookup_child_selector)
8953 (value_nsstring, find_imps): Update.
8954 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8955 * p-lang.c (pascal_main_name): Update.
8956 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
8957 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8958 * proc-service.c (ps_pglobal_lookup): Update.
8959 * ravenscar-thread.c (get_running_thread_msymbol): Change
8960 return type.
8961 (has_ravenscar_runtime, get_running_thread_id): Update.
8962 * remote.c (remote_check_symbols): Update.
8963 * sol-thread.c (ps_pglobal_lookup): Update.
8964 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8965 * solib-dsbt.c (lm_base): Update.
8966 * solib-frv.c (lm_base, frv_relocate_section_addresses):
8967 Update.
8968 * solib-irix.c (locate_base): Update.
8969 * solib-som.c (som_solib_create_inferior_hook)
8970 (som_solib_desire_dynamic_linker_symbols, link_map_start):
8971 Update.
8972 * solib-spu.c (spu_enable_break): Update.
8973 * solib-svr4.c (elf_locate_base, enable_break): Update.
8974 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
8975 (flush_ea_cache): Update.
8976 * stabsread.c (define_symbol): Update.
8977 * symfile.c (simple_read_overlay_table): Update.
8978 * symtab.c (find_pc_sect_line): Update.
8979 * tracepoint.c (scope_info): Update.
8980 * tui-disasm.c (tui_get_begin_asm_address): Update.
8981 * value.c (value_static_field): Update.
8982
40c1a007
TT
89832014-02-26 Tom Tromey <tromey@redhat.com>
8984
8985 * minsyms.c (prim_record_minimal_symbol_full): Use
8986 SET_MSYMBOL_VALUE_ADDRESS.
8987 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
8988 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
8989 SET_MSYMBOL_VALUE_ADDRESS.
8990 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
8991 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
8992
efd66ac6
TT
89932014-02-26 Tom Tromey <tromey@redhat.com>
8994
8995 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
8996 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
8997 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
8998 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
8999 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
9000 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
9001 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
9002 * ada-lang.c (ada_main_name): Update.
9003 (ada_lookup_simple_minsym): Update.
9004 (ada_make_symbol_completion_list): Update.
9005 (ada_add_standard_exceptions): Update.
9006 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
9007 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9008 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
9009 * arm-tdep.c (skip_prologue_function): Update.
9010 (arm_skip_stack_protector, arm_skip_stub): Update.
9011 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
9012 (arm_wince_skip_main_prologue): Update.
9013 * auxv.c (ld_so_xfer_auxv): Update.
9014 * avr-tdep.c (avr_scan_prologue): Update.
9015 * ax-gdb.c (gen_var_ref): Update.
9016 * block.c (call_site_for_pc): Update.
9017 * blockframe.c (get_pc_function_start): Update.
9018 (find_pc_partial_function_gnu_ifunc): Update.
9019 * breakpoint.c (create_overlay_event_breakpoint): Update.
9020 (create_longjmp_master_breakpoint): Update.
9021 (create_std_terminate_master_breakpoint): Update.
9022 (create_exception_master_breakpoint): Update.
9023 (resolve_sal_pc): Update.
9024 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9025 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
9026 Update.
9027 * c-valprint.c (c_val_print): Update.
9028 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9029 * coffread.c (coff_symfile_read): Update.
9030 * common/agent.c (agent_look_up_symbols): Update.
9031 * dbxread.c (find_stab_function_addr): Update.
9032 (end_psymtab): Update.
9033 * dwarf2loc.c (call_site_to_target_addr): Update.
9034 (func_verify_no_selftailcall): Update.
9035 (tailcall_dump): Update.
9036 (call_site_find_chain_1): Update.
9037 (dwarf_expr_reg_to_entry_parameter): Update.
9038 * elfread.c (elf_gnu_ifunc_record_cache): Update.
9039 (elf_gnu_ifunc_resolve_by_got): Update.
9040 * f-valprint.c (info_common_command): Update.
9041 * findvar.c (read_var_value): Update.
9042 * frame.c (get_prev_frame_1): Update.
9043 (inside_main_func): Update.
9044 * frv-tdep.c (frv_skip_main_prologue): Update.
9045 (frv_frame_this_id): Update.
9046 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9047 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
9048 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
9049 (gnuv3_skip_trampoline): Update.
9050 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
9051 (hppa64_hpux_in_solib_call_trampoline): Update.
9052 (hppa_hpux_skip_trampoline_code): Update.
9053 (hppa64_hpux_search_dummy_call_sequence): Update.
9054 (hppa_hpux_find_import_stub_for_addr): Update.
9055 (hppa_hpux_find_dummy_bpaddr): Update.
9056 * hppa-tdep.c (hppa_symbol_address)
9057 (hppa_lookup_stub_minimal_symbol): Update.
9058 * i386-tdep.c (i386_skip_main_prologue): Update.
9059 (i386_pe_skip_trampoline_code): Update.
9060 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
9061 * infcall.c (get_function_name): Update.
9062 * infcmd.c (until_next_command): Update.
9063 * jit.c (jit_breakpoint_re_set_internal): Update.
9064 (jit_inferior_init): Update.
9065 * linespec.c (minsym_found): Update.
9066 (add_minsym): Update.
9067 * linux-fork.c (info_checkpoints_command): Update.
9068 * linux-nat.c (get_signo): Update.
9069 * linux-thread-db.c (inferior_has_bug): Update.
9070 * m32c-tdep.c (m32c_return_value): Update.
9071 (m32c_m16c_address_to_pointer): Update.
9072 (m32c_m16c_pointer_to_address): Update.
9073 * m32r-tdep.c (m32r_frame_this_id): Update.
9074 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9075 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9076 * maint.c (maintenance_translate_address): Update.
9077 * minsyms.c (add_minsym_to_hash_table): Update.
9078 (add_minsym_to_demangled_hash_table): Update.
9079 (msymbol_objfile): Update.
9080 (lookup_minimal_symbol): Update.
9081 (iterate_over_minimal_symbols): Update.
9082 (lookup_minimal_symbol_text): Update.
9083 (lookup_minimal_symbol_by_pc_name): Update.
9084 (lookup_minimal_symbol_solib_trampoline): Update.
9085 (lookup_minimal_symbol_by_pc_section_1): Update.
9086 (lookup_minimal_symbol_and_objfile): Update.
9087 (prim_record_minimal_symbol_full): Update.
9088 (compare_minimal_symbols): Update.
9089 (compact_minimal_symbols): Update.
9090 (build_minimal_symbol_hash_tables): Update.
9091 (install_minimal_symbols): Update.
9092 (terminate_minimal_symbol_table): Update.
9093 (find_solib_trampoline_target): Update.
9094 (minimal_symbol_upper_bound): Update.
9095 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9096 * mips-tdep.c (mips_stub_frame_sniffer): Update.
9097 (mips_skip_pic_trampoline_code): Update.
9098 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
9099 * objc-lang.c (selectors_info): Update.
9100 (classes_info): Update.
9101 (find_methods): Update.
9102 (find_imps): Update.
9103 (find_objc_msgsend): Update.
9104 * objfiles.c (objfile_relocate1): Update.
9105 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
9106 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9107 * p-valprint.c (pascal_val_print): Update.
9108 * parse.c (write_exp_msymbol): Update.
9109 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
9110 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
9111 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9112 * printcmd.c (build_address_symbolic): Update.
9113 (sym_info): Update.
9114 (address_info): Update.
9115 * proc-service.c (ps_pglobal_lookup): Update.
9116 * psymtab.c (find_pc_sect_psymtab_closer): Update.
9117 (find_pc_sect_psymtab): Update.
9118 * python/py-framefilter.c (py_print_frame): Update.
9119 * ravenscar-thread.c (get_running_thread_id): Update.
9120 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
9121 Update.
9122 * remote.c (remote_check_symbols): Update.
9123 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
9124 (rs6000_skip_trampoline_code): Update.
9125 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
9126 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9127 * solib-dsbt.c (lm_base): Update.
9128 * solib-frv.c (lm_base): Update.
9129 (main_got): Update.
9130 * solib-irix.c (locate_base): Update.
9131 * solib-som.c (som_solib_create_inferior_hook): Update.
9132 (som_solib_desire_dynamic_linker_symbols): Update.
9133 (link_map_start): Update.
9134 * solib-spu.c (spu_enable_break): Update.
9135 (ocl_enable_break): Update.
9136 * solib-svr4.c (elf_locate_base): Update.
9137 (enable_break): Update.
9138 * spu-tdep.c (spu_get_overlay_table): Update.
9139 (spu_catch_start): Update.
9140 (flush_ea_cache): Update.
9141 * stabsread.c (define_symbol): Update.
9142 (scan_file_globals): Update.
9143 * stack.c (find_frame_funname): Update.
9144 (frame_info): Update.
9145 * symfile.c (simple_read_overlay_table): Update.
9146 (simple_overlay_update): Update.
9147 * symmisc.c (dump_msymbols): Update.
9148 * symtab.c (fixup_section): Update.
9149 (find_pc_sect_line): Update.
9150 (skip_prologue_sal): Update.
9151 (search_symbols): Update.
9152 (print_msymbol_info): Update.
9153 (rbreak_command): Update.
9154 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
9155 (completion_list_objc_symbol): Update.
9156 (default_make_symbol_completion_list_break_on): Update.
9157 * tracepoint.c (scope_info): Update.
9158 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
9159 (tui_get_begin_asm_address): Update.
9160 * valops.c (find_function_in_inferior): Update.
9161 * value.c (value_static_field): Update.
9162 (value_fn_field): Update.
9163
50e65b17
TT
91642014-02-26 Tom Tromey <tromey@redhat.com>
9165
9166 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
9167 bound minimal symbols. Move code that knows about minsym
9168 table layout...
9169 * minsyms.c (minimal_symbol_upper_bound): ... here. New
9170 function.
9171 * minsyms.h (minimal_symbol_upper_bound): Declare.
9172 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
9173 minimal_symbol_upper_bound.
9174
1b588015
JB
91752014-02-27 Joel Brobecker <brobecker@adacore.com>
9176
9177 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
9178 Use the type's name if its basic type does not have a tag.
9179
dbb9c2b1
JB
91802014-02-27 Joel Brobecker <brobecker@adacore.com>
9181
9182 * dwarf2read.c (read_subrange_type): Add comment.
9183
55426c9d
JB
91842014-02-27 Joel Brobecker <brobecker@adacore.com>
9185
9186 * dwarf2read.c (update_enumeration_type_from_children): New
9187 function, mostly extracted from process_structure_scope.
9188 (read_enumeration_type): Call update_enumeration_type_from_children.
9189 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
9190 and flag_flag_enum fields.
9191
f2fce0ca
PA
91922014-02-26 Pedro Alves <palves@redhat.com>
9193
9194 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
9195 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
9196 to_xfer_partial method.
9197
7a44e40e
PA
91982014-02-26 Pedro Alves <palves@redhat.com>
9199
9200 * target.c (complete_target_initialization): Don't install
9201 default_xfer_partial as to_xfer_partial hook.
9202 (nomemory): Delete.
9203 (update_current_target): Don't INHERIT nor de_fault
9204 deprecated_xfer_memory. Delete de_fault macro.
9205 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
9206 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
9207 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
9208 field.
9209
bd265cd0
PA
92102014-02-26 Pedro Alves <palves@redhat.com>
9211
9212 * go32-nat.c (my_write_child): New function.
9213 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
9214 (go32_xfer_partial): New function.
9215 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
9216 Instead install a to_xfer_partial hook.
9217
9d46c4e5
PA
92182014-02-26 Pedro Alves <palves@redhat.com>
9219
9220 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
9221 to_xfer_partial helper. Rewrite.
9222 (procfs_xfer_partial): New function.
9223 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
9224 Install a to_xfer_partial hook.
9225
a1583b1f
PA
92262014-02-26 Pedro Alves <palves@redhat.com>
9227
9228 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
9229 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
9230 (m32r_xfer_partial): New function.
9231 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
9232 Install a to_xfer_partial hook.
9233
6df1b29f
PA
92342014-02-26 Pedro Alves <palves@redhat.com>
9235
9236 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
9237 helper.
9238 (mips_xfer_partial): New function.
9239 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
9240 hook. Install a to_xfer_partial hook.
9241
dc53a7ad
JB
92422014-02-26 Joel Brobecker <brobecker@adacore.com>
9243
9244 * gdbtypes.h (create_array_type_with_stride): Add declaration.
9245 * gdbtypes.c (create_array_type_with_stride): New function,
9246 renaming create_array_type, but with an added parameter
9247 called "bit_stride".
9248 (create_array_type): Re-implement using
9249 create_array_type_with_stride.
9250 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
9251 and DW_AT_bit_stride attributes.
9252
12ab52e9
PA
92532014-02-26 Pedro Alves <palves@redhat.com>
9254
9255 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
9256 task-specific breakpoints.
9257
d16461ae
PA
92582014-02-25 Pedro Alves <palves@redhat.com>
9259
9260 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
9261 handling of object == TARGET_OBJECT_UNWIND_TABLE.
9262
a8b16220
SS
92632014-02-25 Stan Shebs <stan@codesourcery.com>
9264
9265 * defs.h: Annotate comments for Doxygen.
9266
b9e795ee
TT
92672014-02-25 Tom Tromey <tromey@redhat.com>
9268
9269 * target.h (target_ignore): Don't declare.
9270 * target.c (target_ignore): Remove.
9271
849c862e
JK
92722014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9273
9274 PR gdb/16626
9275 * auto-load.c (auto_load_objfile_script_1): Change filename to
9276 debugfile.
9277
475109d8
JB
92782014-02-25 Joel Brobecker <brobecker@adacore.com>
9279
9280 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
9281 documentation. Adjust prototype to match the target_ops
9282 to_xfer_partial method. Adjust implementation accordingly.
9283
e186c3bd
HZ
92842014-02-25 Hui Zhu <hui@codesourcery.com>
9285
9286 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
9287 to_traceframe_info.
9288
6d451942
KB
92892014-02-25 Kevin Buettner <kevinb@redhat.com>
9290
041ab8b4 9291 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
9292 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
9293 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
9294 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
9295 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
9296 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
9297 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
9298 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
9299 New constants.
9300 (rl78_register_type): Use a data pointer type for SP and
9301 new pseudo registers mentioned above. Use a 16 bit integer
9302 type for all other register pairs.
9303 (rl78_register_name, rl78_g10_register_name): Update for
9304 new pseudo registers.
9305 (rl78_pseudo_register_read): Likewise.
9306 (rl78_pseudo_register_write): Likewise.
9307 (rl78_dwarf_reg_to_regnum): Return register numbers representing
9308 to the newly added pseudo registers.
9309
eddf0bae
DE
93102014-02-24 Doug Evans <dje@google.com>
9311
9312 * value.c (record_latest_value): Fix comment.
9313 * printcmd.c (print_command_1): Remove code to handle -1 return from
9314 record_latest_value.
9315
e96027e0
PA
93162014-02-24 Pedro Alves <palves@redhat.com>
9317
9318 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
9319 deprecated_xfer_memory hook.
9320 (procfs_xfer_partial): Call procfs_xfer_memory instead
9321 of the deprecated_xfer_memory target hook.
9322 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
9323 helper.
9324
0837c976
YZ
93252014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
9326
9327 * windows-nat.c (windows_xfer_shared_libraries): Return
9328 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
9329 requested object is TARGET_OBJECT_LIBRARIES.
9330
bc113b4e
YQ
93312014-02-24 Yao Qi <yao@codesourcery.com>
9332
9333 * target.h (enum target_xfer_status)
9334 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
9335 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
9336 explicitly. New.
9337 * corefile.c (memory_error_message): User updated.
9338 * exec.c (section_table_read_available_memory): Likewise.
9339 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9340 * target.c (target_xfer_status_to_string): Likewise.
9341 (raw_memory_xfer_partial): Likewise.
9342 (memory_xfer_partial_1, target_xfer_partial): Likewise.
9343 * valops.c (read_value_memory): Likewise.
9344 * exec.h: Update comments.
9345
01cb8804
YQ
93462014-02-24 Yao Qi <yao@codesourcery.com>
9347
9348 * target.c (target_xfer_status_to_string): Rename argument err
9349 to status.
9350 * target.h (target_xfer_status_to_string): Update declaration.
9351 Replace target_xfer_error_to_string with
9352 target_xfer_status_to_string in comment.
9353
93063aa6
YQ
93542014-02-24 Yao Qi <yao@codesourcery.com>
9355
9356 * mips-linux-nat.c (super_close): Update its type.
9357 (mips_linux_close): Pass 'self' to super_close.
9358
5c328c05
YQ
93592014-02-24 Yao Qi <yao@codesourcery.com>
9360
9361 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
9362 * corefile.c (read_memory): Adjusted.
9363 * target.c (target_write_with_progress): Adjusted.
9364
f73023dd
YQ
93652014-02-23 Yao Qi <yao@codesourcery.com>
9366
9367 Revert two patches:
9368
9369 2013-10-25 Yao Qi <yao@codesourcery.com>
9370
9371 * remote.c (remote_traceframe_info): Return early if
9372 traceframe is not selected.
9373
9374 2013-07-19 Yao Qi <yao@codesourcery.com>
9375
9376 * target.c (update_current_target): Change the default action
9377 of 'to_traceframe_info' from tcomplain to return_zero.
9378 * target.h (struct target_ops) <to_traceframe_info>: Add more
9379 comments.
9380
5a2eb0ef
YQ
93812014-02-23 Yao Qi <yao@codesourcery.com>
9382
9383 * valops.c (read_value_memory): Rewrite it. Call
9384 target_xfer_partial in a loop.
9385 * exec.h (section_table_available_memory): Remove declaration.
9386 Move comments to ...
9387 * exec.c (section_table_available_memory): ... here. Make it
9388 static.
9389
1ee79381
YQ
93902014-02-23 Yao Qi <yao@codesourcery.com>
9391
9392 * exec.c (section_table_read_available_memory): New function.
9393 * exec.h (section_table_read_available_memory): Declare.
9394 * ctf.c (ctf_xfer_partial): Call
9395 section_table_read_available_memory.
9396 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9397
1ca49d37
YQ
93982014-02-23 Yao Qi <yao@codesourcery.com>
9399
9400 * ctf.c (ctf_xfer_partial): Move code to ...
9401 * exec.c (exec_read_partial_read_only): ... it. New function.
9402 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9403 * tracefile.c: Include "exec.h".
9404 * exec.h (exec_read_partial_read_only): Declare.
9405
a283690e
YQ
94062014-02-23 Yao Qi <yao@codesourcery.com>
9407
9408 * tracefile-tfile.c (tfile_has_all_memory): Remove.
9409 (tfile_has_memory): Remove.
9410 (init_tfile_ops): Don't set fields to_has_all_memory and
9411 to_has_memory of tfile_ops.
9412 * tracefile.c (tracefile_has_all_memory): New function.
9413 (tracefile_has_memory): New function.
9414 (init_tracefile_ops): Initialize fields to_has_all_memory and
9415 to_has_memory of 'ops'.
9416
12e03cd0
YQ
94172014-02-23 Yao Qi <yao@codesourcery.com>
9418
9419 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
9420 (ctf_thread_alive, ctf_get_trace_status): Remove.
9421 (init_ctf_ops): Don't set some fields of ctf_ops. Call
9422 init_tracefile_ops.
9423 * tracefile-tfile.c (tfile_get_trace_status): Remove.
9424 (tfile_has_stack, tfile_has_registers): Remove.
9425 (tfile_thread_alive): Remove.
9426 (init_tfile_ops): Don't set some fields of tfile_ops. Call
9427 init_tracefile_ops.
9428 * tracefile.c (tracefile_has_stack): New function.
9429 (tracefile_has_registers): New function.
9430 (tracefile_thread_alive): New function.
9431 (tracefile_get_trace_status): New function.
9432 (init_tracefile_ops): New function.
9433 * tracefile.h (init_tracefile_ops): Declare.
9434
11395323
YQ
94352014-02-23 Yao Qi <yao@codesourcery.com>
9436
9437 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
9438 (O_LARGEFILE): Likewise.
9439 (tfile_ops): Likewise.
9440 (TRACE_HEADER_SIZE): Likewise.
9441 (trace_fd, trace_frames_offset, cur_offset): Likewise.
9442 (cur_data_size): Likewise.
9443 (tfile_read, tfile_open, tfile_interp_line): Likewise.
9444 (tfile_close, tfile_files_info): Likewise.
9445 (tfile_get_trace_status): Likewise.
9446 (tfile_get_tracepoint_status): Likewise.
9447 (tfile_get_traceframe_address): Likewise.
9448 (tfile_trace_find, match_blocktype): Likewise.
9449 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
9450 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
9451 (tfile_get_trace_state_variable_value): Likewise.
9452 (tfile_has_all_memory, tfile_has_memory): Likewise.
9453 (tfile_has_stack, tfile_has_registers): Likewise.
9454 (tfile_thread_alive, build_traceframe_info): Likewise.
9455 (tfile_traceframe_info, init_tfile_ops): Likewise.
9456 (_initialize_tracepoint): Don't call init_tfile_ops
9457 and add_target_with_completer.
9458 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
9459 exec.h, completer.h and filenames.h.
9460 (_initialize_tracefile_tfile): New function.
9461
7951c4eb
YQ
94622014-02-23 Yao Qi <yao@codesourcery.com>
9463
9464 * Makefile.in (REMOTE_OBS): Append tracefile.o and
9465 tracefile-tfile.o.
9466 (HFILES_NO_SRCDIR): Add tracefile.h.
9467 * ctf.c: Include "tracefile.h".
9468 * tracefile.h: New file.
9469 * tracefile.c: New file
9470 * tracefile-tfile.c: New file.
9471 * tracepoint.c: Include "tracefile.h".
9472 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
9473 (stop_reason_names): Add const.
9474 (trace_file_writer_xfree): Move it to tracefile.c.
9475 (trace_save, trace_save_command, trace_save_tfile): Likewise.
9476 (trace_save_ctf): Likewise.
9477 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
9478 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
9479 (tfile_write_header, tfile_write_regblock_type): Likewise.
9480 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
9481 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
9482 (tfile_write_raw_data, tfile_end): Likewise.
9483 (tfile_trace_file_writer_new): Likewise.
9484 (free_uploaded_tp): Make it extern.
9485 (free_uploaded_tsv): Make it extern.
9486 (_initialize_tracepoint): Move code to register command 'tsave'
9487 to tracefile.c.
9488 * tracepoint.h (stop_reason_names): Declare.
9489 (struct trace_frame_write_ops): Move it to tracefile.h.
9490 (struct trace_file_write_ops): Likewise.
9491 (struct trace_file_writer): Likewise.
9492 (free_uploaded_tsvs, free_uploaded_tps): Declare.
9493
184cd072
JK
94942014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9495
9496 PR gdb/16594
9497 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
9498 process name.
9499 (get_cores_used_by_process): New parameter num_cores, use it.
9500 (linux_xfer_osdata_processes): Pass num_cores to it.
9501 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
9502 process name.
9503
c63528fc
AK
95042014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
9505
9506 * target.c (memory_xfer_partial): Fix length arg in call to
9507 breakpoint_xfer_memory.
9508
d7b30f67
SDJ
95092014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9510
9511 PR tdep/16397
9512 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
9513 number comes after the + or - signs. Adjust length of register
9514 name to be extracted.
9515
8838afaf
TT
95162014-02-20 Tom Tromey <tromey@redhat.com>
9517
9518 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
9519 (ada_varobj_ops): Mark "extern".
9520
05227d14
TT
95212014-02-20 Tom Tromey <tromey@redhat.com>
9522
9523 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
9524
1254eefc
DE
95252014-02-20 Doug Evans <xdje42@gmail.com>
9526
9527 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
9528 All callers updated.
9529 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
9530 All callers updated.
9531 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
9532 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
9533
adde2bff
DE
95342014-02-20 lin zuojian <manjian2006@gmail.com>
9535 Joel Brobecker <brobecker@adacore.com>
9536 Doug Evans <xdje42@gmail.com>
9537
9538 PR symtab/16581
9539 * dwarf2read.c (struct die_info): New member in_process.
9540 (reset_die_in_process): New function.
9541 (process_die): Set it at the start, reset when returning.
9542 (inherit_abstract_dies): Only call process_die if origin_child_die
9543 not already being processed.
9544
3be75f87
JB
95452014-02-20 Joel Brobecker <brobecker@adacore.com>
9546
9547 * windows-nat.c (handle_unload_dll): Add function documentation.
9548 (do_initial_windows_stuff): Add comment explaining why we wait
9549 until after inferior initialization has finished before
9550 processing all DLLs.
9551
47f7ffdb
JB
95522014-02-20 Joel Brobecker <brobecker@adacore.com>
9553
9554 * windows-nat.c (get_module_name): Delete.
9555 (windows_get_exec_module_filename): New function, mostly
9556 inspired from get_module_name.
9557 (windows_pid_to_exec_file): Replace call to get_module_name
9558 by call to windows_get_exec_module_filename.
9559
1cd9feab
JB
95602014-02-20 Joel Brobecker <brobecker@adacore.com>
9561
9562 * windows-nat.c (handle_load_dll): Rewrite this function's
9563 introductory comment. Remove code using get_module_name
9564 to get the DLL's name.
9565
ea39ad35
JB
95662014-02-20 Joel Brobecker <brobecker@adacore.com>
9567
9568 * windows-nat.c (get_windows_debug_event): Ignore
9569 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
9570 if windows_initialization_done == 0.
9571 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
9572 Adjust implementation to always load all DLLs.
9573 (do_initial_windows_stuff): Replace call to
9574 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
9575
95060284
JB
95762014-02-20 Joel Brobecker <brobecker@adacore.com>
9577
9578 * windows-nat.c (_initialize_windows_nat): Deprecate the
9579 "dll-symbols" command. Turn the "add-shared-symbol-files"
9580 and "assf" aliases into commands, and deprecate them as well.
9581 * NEWS: Add entry explaining that "dll-symbols" and its two
9582 aliases are now deprecated.
9583
8d4fdb12
JB
95842014-02-20 Joel Brobecker <brobecker@adacore.com>
9585
9586 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
9587 new-line in debug string. Remove trailing spaces.
9588
1b281443
SS
95892014-02-19 Stan Shebs <stan@codesourcery.com>
9590
9591 * darwin-nat.c (darwin_xfer_partial): Fix return type.
9592
f7bd0f78
SC
95932014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9594
9595 * NEWS: Add entry for the new feature
9596 * python/py-value.c (valpy_binop): Call value_x_binop for struct
9597 and class values.
9598
399ebc3d
SS
95992014-02-19 Stan Shebs <stan@codesourcery.com>
9600
9601 * MAINTAINERS: List Yao Qi as nios2 maintainer.
9602
c658158d
PA
96032014-02-19 Pedro Alves <palves@redhat.com>
9604
9605 * common/ptid.h (struct ptid): Mention that process_stratum
9606 targets should prefer ptid.lwp.
9607
ba348170
PA
96082014-02-19 Pedro Alves <palves@redhat.com>
9609
9610 * remote.c (remote_thread_alive, write_ptid, read_ptid)
9611 (read_ptid, remote_newthread_step, remote_threads_extra_info)
9612 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
9613 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
9614 store remote thread ids rather than ptid.tid.
9615 (_initialize_remote): Adjust.
9616
ac01945b
TT
96172014-02-19 Tom Tromey <tromey@redhat.com>
9618
9619 * target.c (target_get_unwinder): Rewrite.
9620 (target_get_tailcall_unwinder): Rewrite.
9621 * record-btrace.c (record_btrace_to_get_unwinder): New function.
9622 (record_btrace_to_get_tailcall_unwinder): New function.
9623 (init_record_btrace_ops): Update.
9624 * target.h (struct target_ops) <to_get_unwinder,
9625 to_get_tailcall_unwinder>: Now function pointers. Use
9626 TARGET_DEFAULT_RETURN.
9627
8476dc92
TT
96282014-02-19 Tom Tromey <tromey@redhat.com>
9629
9630 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
9631 argument.
9632 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
9633
c0eca49f
TT
96342014-02-19 Tom Tromey <tromey@redhat.com>
9635
9636 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
9637 directly.
9638 * target-delegates.c: Rebuild.
9639 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
9640 TARGET_DEFAULT_FUNC.
9641 * target.c (default_target_decr_pc_after_break): Rename from
9642 forward_target_decr_pc_after_break. Simplify.
9643 (target_decr_pc_after_break): Rely on delegation.
9644
596b6b39
TT
96452014-02-19 Tom Tromey <tromey@redhat.com>
9646
9647 * target.c (update_current_target): Do not INHERIT to_doc or
9648 to_magic. Do not de_fault to_open or to_close.
9649
b427c1bc
TT
96502014-02-19 Tom Tromey <tromey@redhat.com>
9651
9652 * gcore.h (objfile_find_memory_regions): Declare.
9653 * gcore.c (objfile_find_memory_regions): No longer static. Add
9654 "self" argument.
9655 (_initialize_gcore): Don't call exec_set_find_memory_regions.
9656 * exec.c: Include gcore.h.
9657 (exec_set_find_memory_regions): Remove.
9658 (exec_find_memory_regions): Remove.
9659 (exec_do_find_memory_regions): Remove.
9660 (init_exec_ops): Update.
9661 * defs.h (exec_set_find_memory_regions): Remove.
9662
9b144037
TT
96632014-02-19 Tom Tromey <tromey@redhat.com>
9664
9665 * target-delegates.c: Rebuild.
9666 * target.h (struct target_ops) <to_extra_thread_info,
9667 to_thread_name, to_pid_to_exec_file, to_get_section_table,
9668 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
9669 not 0, in TARGET_DEFAULT_RETURN.
9670
555bbdeb
TT
96712014-02-19 Tom Tromey <tromey@redhat.com>
9672
9673 * target.c (complete_target_initialization): Remove casts. Use
9674 return_zero_has_execution.
9675 (return_zero): Add "ignore" argument.
9676 (return_zero_has_execution): New function.
9677 (init_dummy_target): Remove casts. Use
9678 return_zero_has_execution.
9679
be4ddd36
TT
96802014-02-19 Tom Tromey <tromey@redhat.com>
9681
9682 * target.c (update_current_target): Update comments. Do not
9683 INHERIT to_stratum.
9684
2117c711
TT
96852014-02-19 Tom Tromey <tromey@redhat.com>
9686
9687 * arm-linux-nat.c (arm_linux_read_description): Delegate when
9688 needed.
9689 * corelow.c (core_read_description): Delegate when needed.
9690 * remote.c (remote_read_description): Delegate when needed.
9691 * target-delegates.c: Rebuild.
9692 * target.c (target_read_description): Rewrite.
9693 * target.h (struct target_ops) <to_read_description>: Update
9694 comment. Use TARGET_DEFAULT_RETURN.
9695
e88ef65c
TT
96962014-02-19 Tom Tromey <tromey@redhat.com>
9697
9698 * target-delegates.c: Rebuild.
9699 * target.c (update_current_target): Don't inherit or default
9700 to_can_run.
9701 (find_default_run_target): Check against delegate_can_run.
9702 * target.h (struct target_ops) <to_can_run>: Use
9703 TARGET_DEFAULT_RETURN.
9704
86a0854a
TT
97052014-02-19 Tom Tromey <tromey@redhat.com>
9706
9707 * target-delegates.c: Rebuild.
9708 * target.c (target_disconnect): Unconditionally delegate.
9709 * target.h (struct target_ops) <to_disconnect>: Use
9710 TARGET_DEFAULT_NORETURN.
9711
ee97f592
TT
97122014-02-19 Tom Tromey <tromey@redhat.com>
9713
9714 * record.c (record_stop): Unconditionally delegate.
9715 * target-delegates.c: Rebuild.
9716 * target.c (target_stop_recording): Unconditionally delegate.
9717 * target.h (struct target_ops) <to_stop_recording>: Use
9718 TARGET_DEFAULT_IGNORE.
9719
6dc7fcf4
TT
97202014-02-19 Tom Tromey <tromey@redhat.com>
9721
9722 * target-delegates.c: Rebuild.
9723 * target.c (target_enable_btrace): Unconditionally delegate.
9724 * target.h (struct target_ops) <to_enable_btrace>: Use
9725 TARGET_DEFAULT_NORETURN.
9726
eb5b20d4
TT
97272014-02-19 Tom Tromey <tromey@redhat.com>
9728
9729 * target-delegates.c: Rebuild.
9730 * target.c (target_read_btrace): Unconditionally delegate.
9731 * target.h (struct target_ops) <to_read_btrace>: Use
9732 TARGET_DEFAULT_NORETURN.
9733
9ace480d
TT
97342014-02-19 Tom Tromey <tromey@redhat.com>
9735
9736 * target-delegates.c: Rebuild.
9737 * target.c (target_teardown_btrace): Unconditionally delegate.
9738 * target.h (struct target_ops) <to_teardown_btrace>: Use
9739 TARGET_DEFAULT_NORETURN.
9740
8dc292d3
TT
97412014-02-19 Tom Tromey <tromey@redhat.com>
9742
9743 * target-delegates.c: Rebuild.
9744 * target.c (target_disable_btrace): Unconditionally delegate.
9745 * target.h (struct target_ops) <to_disable_btrace>: Use
9746 TARGET_DEFAULT_NORETURN.
9747
58a5184e
TT
97482014-02-19 Tom Tromey <tromey@redhat.com>
9749
9750 * target-delegates.c: Rebuild.
9751 * target.c (default_search_memory): New function.
9752 (simple_search_memory): Update comment.
9753 (target_search_memory): Unconditionally delegate.
9754 * target.h (struct target_ops) <to_search_memory>: Use
9755 TARGET_DEFAULT_FUNC.
9756
8de71aab
TT
97572014-02-19 Tom Tromey <tromey@redhat.com>
9758
9759 * auxv.c (default_auxv_parse): No longer static.
9760 (target_auxv_parse): Unconditionally delegate.
9761 * auxv.h (default_auxv_parse): Declare.
9762 * target-delegates.c: Rebuild.
9763 * target.c: Include auxv.h.
9764 * target.h (struct target_ops) <to_auxv_parse>: Use
9765 TARGET_DEFAULT_FUNC.
9766
6b2c5a57
TT
97672014-02-19 Tom Tromey <tromey@redhat.com>
9768
9769 * target-delegates.c: Rebuild.
9770 * target.c (target_memory_map): Unconditionally delegate.
9771 * target.h (struct target_ops) <to_memory_map>: Use
9772 TARGET_DEFAULT_RETURN.
9773
cbffc065
TT
97742014-02-19 Tom Tromey <tromey@redhat.com>
9775
9776 * target-delegates.c: Rebuild.
9777 * target.c (target_thread_alive): Unconditionally delegate.
9778 * target.h (struct target_ops) <to_thread_alive>: Use
9779 TARGET_DEFAULT_RETURN.
9780
f09e2107
TT
97812014-02-19 Tom Tromey <tromey@redhat.com>
9782
9783 * target-delegates.c: Rebuild.
9784 * target.c (target_save_record): Unconditionally delegate.
9785 * target.h (struct target_ops) <to_save_record>: Use
9786 TARGET_DEFAULT_NORETURN.
9787
07366925
TT
97882014-02-19 Tom Tromey <tromey@redhat.com>
9789
9790 * target-delegates.c: Rebuild.
9791 * target.c (target_delete_record): Unconditionally delegate.
9792 * target.h (struct target_ops) <to_delete_record>: Use
9793 TARGET_DEFAULT_NORETURN.
9794
dd2e9d25
TT
97952014-02-19 Tom Tromey <tromey@redhat.com>
9796
9797 * target-delegates.c: Rebuild.
9798 * target.c (target_record_is_replaying): Unconditionally
9799 delegate.
9800 * target.h (struct target_ops) <to_record_is_replaying>: Use
9801 TARGET_DEFAULT_RETURN.
9802
671e76cc
TT
98032014-02-19 Tom Tromey <tromey@redhat.com>
9804
9805 * target-delegates.c: Rebuild.
9806 * target.c (target_goto_record_begin): Unconditionally delegate.
9807 * target.h (struct target_ops) <to_goto_record_begin>: Use
9808 TARGET_DEFAULT_NORETURN.
9809
e9179bb3
TT
98102014-02-19 Tom Tromey <tromey@redhat.com>
9811
9812 * target-delegates.c: Rebuild.
9813 * target.c (target_goto_record_end): Unconditionally delegate.
9814 * target.h (struct target_ops) <to_goto_record_end>: Use
9815 TARGET_DEFAULT_NORETURN.
9816
05969c84
TT
98172014-02-19 Tom Tromey <tromey@redhat.com>
9818
9819 * target-delegates.c: Rebuild.
9820 * target.c (target_goto_record): Unconditionally delegate.
9821 * target.h (struct target_ops) <to_goto_record>: Use
9822 TARGET_DEFAULT_NORETURN.
9823
3679abfa
TT
98242014-02-19 Tom Tromey <tromey@redhat.com>
9825
9826 * target-delegates.c: Rebuild.
9827 * target.c (target_insn_history): Unconditionally delegate.
9828 * target.h (struct target_ops) <to_insn_history>: Use
9829 TARGET_DEFAULT_NORETURN.
9830
8444ab58
TT
98312014-02-19 Tom Tromey <tromey@redhat.com>
9832
9833 * target-delegates.c: Rebuild.
9834 * target.c (target_insn_history_from): Unconditionally delegate.
9835 * target.h (struct target_ops) <to_insn_history_from>: Use
9836 TARGET_DEFAULT_NORETURN.
9837
c29302cc
TT
98382014-02-19 Tom Tromey <tromey@redhat.com>
9839
9840 * target-delegates.c: Rebuild.
9841 * target.c (target_insn_history_range): Unconditionally delegate.
9842 * target.h (struct target_ops) <to_insn_history_range>: Use
9843 TARGET_DEFAULT_NORETURN.
9844
170049d4
TT
98452014-02-19 Tom Tromey <tromey@redhat.com>
9846
9847 * target-delegates.c: Rebuild.
9848 * target.c (target_call_history): Unconditionally delegate.
9849 * target.h (struct target_ops) <to_call_history>: Use
9850 TARGET_DEFAULT_NORETURN.
9851
16fc27d6
TT
98522014-02-19 Tom Tromey <tromey@redhat.com>
9853
9854 * target-delegates.c: Rebuild.
9855 * target.c (target_call_history_from): Unconditionally delegate.
9856 * target.h (struct target_ops) <to_call_history_from>: Use
9857 TARGET_DEFAULT_NORETURN.
9858
115d9817
TT
98592014-02-19 Tom Tromey <tromey@redhat.com>
9860
9861 * target-delegates.c: Rebuild.
9862 * target.c (target_call_history_range): Unconditionally delegate.
9863 * target.h (struct target_ops) <to_call_history_range>: Use
9864 TARGET_DEFAULT_NORETURN.
9865
eb276a6b
TT
98662014-02-19 Tom Tromey <tromey@redhat.com>
9867
9868 * target-delegates.c: Rebuild.
9869 * target.c (target_verify_memory): Unconditionally delegate.
9870 * target.h (struct target_ops) <to_verify_memory>: Use
9871 TARGET_DEFAULT_NORETURN.
9872
9e538d0d
TT
98732014-02-19 Tom Tromey <tromey@redhat.com>
9874
9875 * target-delegates.c: Rebuild.
9876 * target.c (target_core_of_thread): Unconditionally delegate.
9877 * target.h (struct target_ops) <to_core_of_thread>: Use
9878 TARGET_DEFAULT_RETURN.
9879
f6fb2925
TT
98802014-02-19 Tom Tromey <tromey@redhat.com>
9881
9882 * target-delegates.c: Rebuild.
9883 * target.c (target_flash_done): Unconditionally delegate.
9884 * target.h (struct target_ops) <to_flash_done>: Use
9885 TARGET_DEFAULT_NORETURN.
9886
e8a6c6ac
TT
98872014-02-19 Tom Tromey <tromey@redhat.com>
9888
9889 * target-delegates.c: Rebuild.
9890 * target.c (target_flash_erase): Unconditionally delegate.
9891 * target.h (struct target_ops) <to_flash_erase>: Use
9892 TARGET_DEFAULT_NORETURN.
9893
7e35c012
TT
98942014-02-19 Tom Tromey <tromey@redhat.com>
9895
9896 * target-delegates.c: Rebuild.
9897 * target.c (target_get_section_table): Unconditionally delegate.
9898 * target.h (struct target_ops) <to_get_section_table>: Use
9899 TARGET_DEFAULT_RETURN.
9900
770234d3
TT
99012014-02-19 Tom Tromey <tromey@redhat.com>
9902
9903 * target-delegates.c: Rebuild.
9904 * target.c (target_pid_to_str): Unconditionally delegate.
9905 (init_dummy_target): Don't initialize to_pid_to_str.
9906 (default_pid_to_str): Rename from dummy_pid_to_str.
9907 * target.h (struct target_ops) <to_pid_to_str>: Use
9908 TARGET_DEFAULT_FUNC.
9909
09b0dc2b
TT
99102014-02-19 Tom Tromey <tromey@redhat.com>
9911
9912 * target-delegates.c: Rebuild.
9913 * target.c (target_find_new_threads): Unconditionally delegate.
9914 * target.h (struct target_ops) <to_find_new_threads>: Use
9915 TARGET_DEFAULT_RETURN.
9916
7d4f8efa
TT
99172014-02-19 Tom Tromey <tromey@redhat.com>
9918
9919 * target-delegates.c: Rebuild.
9920 * target.c (target_program_signals): Unconditionally delegate.
9921 * target.h (struct target_ops) <to_program_signals>: Use
9922 TARGET_DEFAULT_IGNORE.
9923
035cad7f
TT
99242014-02-19 Tom Tromey <tromey@redhat.com>
9925
9926 * target-delegates.c: Rebuild.
9927 * target.c (target_pass_signals): Unconditionally delegate.
9928 * target.h (struct target_ops) <to_pass_signals>: Use
9929 TARGET_DEFAULT_IGNORE.
9930
8d657035
TT
99312014-02-19 Tom Tromey <tromey@redhat.com>
9932
9933 * target-delegates.c: Rebuild.
9934 * target.c (default_mourn_inferior): New function.
9935 (target_mourn_inferior): Unconditionally delegate.
9936 * target.h (struct target_ops) <to_mourn_inferior>: Use
9937 TARGET_DEFAULT_FUNC.
9938
098dba18
TT
99392014-02-19 Tom Tromey <tromey@redhat.com>
9940
9941 * target-delegates.c: Rebuild.
9942 * target.c (default_follow_fork): New function.
9943 (target_follow_fork): Unconditionally delegate.
9944 * target.h (struct target_ops) <to_follow_fork>: Use
9945 TARGET_DEFAULT_FUNC.
9946
423a4807
TT
99472014-02-19 Tom Tromey <tromey@redhat.com>
9948
9949 * target-delegates.c: Rebuild.
9950 * target.c (target_kill): Unconditionally delegate.
9951 * target.h (struct target_ops) <to_kill>: Use
9952 TARGET_DEFAULT_NORETURN.
9953
6c7e5e5c
TT
99542014-02-19 Tom Tromey <tromey@redhat.com>
9955
9956 * target-delegates.c: Rebuild.
9957 * target.c (target_masked_watch_num_registers): Unconditionally
9958 delegate.
9959 * target.h (struct target_ops) <to_masked_watch_num_registers>:
9960 Use TARGET_DEFAULT_RETURN.
9961
8b1c364c
TT
99622014-02-19 Tom Tromey <tromey@redhat.com>
9963
9964 * target-delegates.c: Rebuild.
9965 * target.c (target_remove_mask_watchpoint): Unconditionally
9966 delegate.
9967 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
9968 TARGET_DEFAULT_RETURN.
9969
cd4ae029
TT
99702014-02-19 Tom Tromey <tromey@redhat.com>
9971
9972 * target-delegates.c: Rebuild.
9973 * target.c (target_insert_mask_watchpoint): Unconditionally
9974 delegate.
9975 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
9976 TARGET_DEFAULT_RETURN.
9977
a134316b
TT
99782014-02-19 Tom Tromey <tromey@redhat.com>
9979
9980 * target-delegates.c: Rebuild.
9981 * target.c (target_ranged_break_num_registers): Unconditionally
9982 delegate.
9983 * target.h (struct target_ops) <to_ranged_break_num_registers>:
9984 Use TARGET_DEFAULT_RETURN.
9985
ad5989bd
TT
99862014-02-19 Tom Tromey <tromey@redhat.com>
9987
9988 * target-delegates.c: Rebuild.
9989 * target.c (target_fetch_registers): Unconditionally delegate.
9990 * target.h (struct target_ops) <to_fetch_registers>: Use
9991 TARGET_DEFAULT_NORETURN.
9992
46ee7e8d
TT
99932014-02-19 Tom Tromey <tromey@redhat.com>
9994
9995 * target-delegates.c: Rebuild.
9996 * target.c (update_current_target): Don't inherit or default
9997 to_stop.
9998 * target.h (struct target_ops) <to_stop>: Use
9999 TARGET_DEFAULT_IGNORE.
10000
843f59ed
TT
100012014-02-19 Tom Tromey <tromey@redhat.com>
10002
10003 * target-delegates.c: Rebuild.
10004 * target.c (update_current_target): Don't inherit or default
10005 to_can_run_breakpoint_commands.
10006 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10007 Use TARGET_DEFAULT_RETURN.
10008
ccfde2a0
TT
100092014-02-19 Tom Tromey <tromey@redhat.com>
10010
10011 * target-delegates.c: Rebuild.
10012 * target.c (update_current_target): Don't inherit or default
10013 to_supports_evaluation_of_breakpoint_conditions.
10014 * target.h (struct target_ops)
10015 <to_supports_evaluation_of_breakpoint_conditions>: Use
10016 TARGET_DEFAULT_RETURN.
10017
0de91722
TT
100182014-02-19 Tom Tromey <tromey@redhat.com>
10019
10020 * target-delegates.c: Rebuild.
10021 * target.c (update_current_target): Don't inherit or default
10022 to_augmented_libraries_svr4_read.
10023 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10024 Use TARGET_DEFAULT_RETURN.
10025
9a7d8b48
TT
100262014-02-19 Tom Tromey <tromey@redhat.com>
10027
10028 * target-delegates.c: Rebuild.
10029 * target.c (update_current_target): Don't inherit or default
10030 to_can_use_agent.
10031 * target.h (struct target_ops) <to_can_use_agent>: Use
10032 TARGET_DEFAULT_RETURN.
10033
d9db5b21
TT
100342014-02-19 Tom Tromey <tromey@redhat.com>
10035
10036 * target-delegates.c: Rebuild.
10037 * target.c (update_current_target): Don't inherit or default
10038 to_use_agent.
10039 * target.h (struct target_ops) <to_use_agent>: Use
10040 TARGET_DEFAULT_NORETURN.
10041
92155eeb
TT
100422014-02-19 Tom Tromey <tromey@redhat.com>
10043
10044 * target-delegates.c: Rebuild.
10045 * target.c (update_current_target): Don't inherit or default
10046 to_traceframe_info.
10047 (return_null): Remove.
10048 * target.h (struct target_ops) <to_traceframe_info>: Use
10049 TARGET_DEFAULT_RETURN.
10050
d6522a22
TT
100512014-02-19 Tom Tromey <tromey@redhat.com>
10052
10053 * target-delegates.c: Rebuild.
10054 * target.c (update_current_target): Don't inherit or default
10055 to_static_tracepoint_markers_by_strid.
10056 * target.h (struct target_ops)
10057 <to_static_tracepoint_markers_by_strid>: Use
10058 TARGET_DEFAULT_NORETURN.
10059
4c3e4425
TT
100602014-02-19 Tom Tromey <tromey@redhat.com>
10061
10062 * target-delegates.c: Rebuild.
10063 * target.c (update_current_target): Don't inherit or default
10064 to_static_tracepoint_marker_at.
10065 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10066 Use TARGET_DEFAULT_RETURN.
10067
dcd6917f
TT
100682014-02-19 Tom Tromey <tromey@redhat.com>
10069
10070 * target-delegates.c: Rebuild.
10071 * target.c (update_current_target): Don't inherit or default
10072 to_set_permissions.
10073 * target.h (struct target_ops) <to_set_permissions>: Use
10074 TARGET_DEFAULT_IGNORE.
10075
22bcceee
TT
100762014-02-19 Tom Tromey <tromey@redhat.com>
10077
10078 * target-delegates.c: Rebuild.
10079 * target.c (update_current_target): Don't inherit or default
10080 to_get_tib_address.
10081 * target.h (struct target_ops) <to_get_tib_address>: Use
10082 TARGET_DEFAULT_NORETURN.
10083
8586ccaa
TT
100842014-02-19 Tom Tromey <tromey@redhat.com>
10085
10086 * target-delegates.c: Rebuild.
10087 * target.c (update_current_target): Don't inherit or default
10088 to_set_trace_notes.
10089 * target.h (struct target_ops) <to_set_trace_notes>: Use
10090 TARGET_DEFAULT_RETURN.
10091
91df8d1d
TT
100922014-02-19 Tom Tromey <tromey@redhat.com>
10093
10094 * target-delegates.c: Rebuild.
10095 * target.c (update_current_target): Don't initialize
10096 to_set_trace_buffer_size.
10097 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
10098 TARGET_DEFAULT_IGNORE.
10099
8d526939
TT
101002014-02-19 Tom Tromey <tromey@redhat.com>
10101
10102 * target-delegates.c: Rebuild.
10103 * target.c (update_current_target): Don't inherit or default
10104 to_set_circular_trace_buffer.
10105 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
10106 TARGET_DEFAULT_IGNORE.
10107
0bcfeddf
TT
101082014-02-19 Tom Tromey <tromey@redhat.com>
10109
10110 * target-delegates.c: Rebuild.
10111 * target.c (update_current_target): Don't inherit or default
10112 to_set_disconnected_tracing.
10113 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
10114 TARGET_DEFAULT_IGNORE.
10115
9249843f
TT
101162014-02-19 Tom Tromey <tromey@redhat.com>
10117
10118 * target-delegates.c: Rebuild.
10119 * target.c (update_current_target): Don't inherit or default
10120 to_get_min_fast_tracepoint_insn_len.
10121 (return_minus_one): Remove.
10122 * target.h (struct target_ops)
10123 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
10124
ace92e7d
TT
101252014-02-19 Tom Tromey <tromey@redhat.com>
10126
10127 * target-delegates.c: Rebuild.
10128 * target.c (update_current_target): Don't inherit or default
10129 to_get_raw_trace_data.
10130 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
10131 TARGET_DEFAULT_NORETURN.
10132
08120467
TT
101332014-02-19 Tom Tromey <tromey@redhat.com>
10134
10135 * target-delegates.c: Rebuild.
10136 * target.c (update_current_target): Don't inherit or default
10137 to_upload_trace_state_variables.
10138 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10139 Use TARGET_DEFAULT_RETURN.
10140
1e949b00
TT
101412014-02-19 Tom Tromey <tromey@redhat.com>
10142
10143 * target-delegates.c: Rebuild.
10144 * target.c (update_current_target): Don't inherit or default
10145 to_upload_tracepoints.
10146 * target.h (struct target_ops) <to_upload_tracepoints>: Use
10147 TARGET_DEFAULT_RETURN.
10148
a2e6c147
TT
101492014-02-19 Tom Tromey <tromey@redhat.com>
10150
10151 * target-delegates.c: Rebuild.
10152 * target.c (update_current_target): Don't inherit or default
10153 to_save_trace_data.
10154 * target.h (struct target_ops) <to_save_trace_data>: Use
10155 TARGET_DEFAULT_NORETURN.
10156
959bcd0b
TT
101572014-02-19 Tom Tromey <tromey@redhat.com>
10158
10159 * target-delegates.c: Rebuild.
10160 * target.c (update_current_target): Don't inherit or default
10161 to_get_trace_state_variable_value.
10162 * target.h (struct target_ops)
10163 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
10164
afc94e66
TT
101652014-02-19 Tom Tromey <tromey@redhat.com>
10166
10167 * target-delegates.c: Rebuild.
10168 * target.c (update_current_target): Don't inherit or default
10169 to_trace_find.
10170 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
10171
e51c07ea
TT
101722014-02-19 Tom Tromey <tromey@redhat.com>
10173
10174 * target-delegates.c: Rebuild.
10175 * target.c (update_current_target): Don't inherit or default
10176 to_trace_stop.
10177 * target.h (struct target_ops) <to_trace_stop>: Use
10178 TARGET_DEFAULT_NORETURN.
10179
6fea14cd
TT
101802014-02-19 Tom Tromey <tromey@redhat.com>
10181
10182 * target-delegates.c: Rebuild.
10183 * target.c (update_current_target): Don't inherit or default
10184 to_get_tracepoint_status.
10185 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
10186 TARGET_DEFAULT_NORETURN.
10187
4072d4ff
TT
101882014-02-19 Tom Tromey <tromey@redhat.com>
10189
10190 * target-delegates.c: Rebuild.
10191 * target.c (update_current_target): Don't inherit or default
10192 to_get_trace_status.
10193 * target.h (struct target_ops) <to_get_trace_status>: Use
10194 TARGET_DEFAULT_RETURN.
10195
25da2e80
TT
101962014-02-19 Tom Tromey <tromey@redhat.com>
10197
10198 * target-delegates.c: Rebuild.
10199 * target.c (update_current_target): Don't inherit or default
10200 to_trace_start.
10201 * target.h (struct target_ops) <to_trace_start>: Use
10202 TARGET_DEFAULT_NORETURN.
10203
86dd181d
TT
102042014-02-19 Tom Tromey <tromey@redhat.com>
10205
10206 * target-delegates.c: Rebuild.
10207 * target.c (update_current_target): Don't inherit or default
10208 to_trace_set_readonly_regions.
10209 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10210 Use TARGET_DEFAULT_NORETURN.
10211
05c41993
TT
102122014-02-19 Tom Tromey <tromey@redhat.com>
10213
10214 * target-delegates.c: Rebuild.
10215 * target.c (update_current_target): Don't inherit or default
10216 to_disable_tracepoint.
10217 * target.h (struct target_ops) <to_disable_tracepoint>: Use
10218 TARGET_DEFAULT_NORETURN.
10219
151f70f1
TT
102202014-02-19 Tom Tromey <tromey@redhat.com>
10221
10222 * target-delegates.c: Rebuild.
10223 * target.c (update_current_target): Don't inherit or default
10224 to_enable_tracepoint.
10225 * target.h (struct target_ops) <to_enable_tracepoint>: Use
10226 TARGET_DEFAULT_NORETURN.
10227
94eb98b9
TT
102282014-02-19 Tom Tromey <tromey@redhat.com>
10229
10230 * target-delegates.c: Rebuild.
10231 * target.c (update_current_target): Don't inherit or default
10232 to_download_trace_state_variable.
10233 * target.h (struct target_ops) <to_download_trace_state_variable>:
10234 Use TARGET_DEFAULT_NORETURN.
10235
719acc4a
TT
102362014-02-19 Tom Tromey <tromey@redhat.com>
10237
10238 * target-delegates.c: Rebuild.
10239 * target.c (update_current_target): Don't inherit or default
10240 to_can_download_tracepoint.
10241 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
10242 TARGET_DEFAULT_RETURN.
10243
9a980a22
TT
102442014-02-19 Tom Tromey <tromey@redhat.com>
10245
10246 * target-delegates.c: Rebuild.
10247 * target.c (update_current_target): Don't inherit or default
10248 to_download_tracepoint.
10249 * target.h (struct target_ops) <to_download_tracepoint>: Use
10250 TARGET_DEFAULT_NORETURN.
10251
5536135b
TT
102522014-02-19 Tom Tromey <tromey@redhat.com>
10253
10254 * target-delegates.c: Rebuild.
10255 * target.c (update_current_target): Don't inherit or default
10256 to_trace_init.
10257 * target.h (struct target_ops) <to_trace_init>: Use
10258 TARGET_DEFAULT_RETURN.
10259
9409d39e
TT
102602014-02-19 Tom Tromey <tromey@redhat.com>
10261
10262 * target-delegates.c: Rebuild.
10263 * target.c (update_current_target): Don't inherit or default
10264 to_supports_string_tracing.
10265 * target.h (struct target_ops) <to_supports_string_tracing>: Use
10266 TARGET_DEFAULT_RETURN.
10267
aab1b22d
TT
102682014-02-19 Tom Tromey <tromey@redhat.com>
10269
10270 * target-delegates.c: Rebuild.
10271 * target.c (update_current_target): Don't inherit or default
10272 to_supports_enable_disable_tracepoint.
10273 * target.h (struct target_ops)
10274 <to_supports_enable_disable_tracepoint>: Use
10275 TARGET_DEFAULT_RETURN.
10276
a7304748
TT
102772014-02-19 Tom Tromey <tromey@redhat.com>
10278
10279 * target-delegates.c: Rebuild.
10280 * target.c (update_current_target): Don't inherit or default
10281 to_supports_multi_process.
10282 * target.h (struct target_ops) <to_supports_multi_process>: Use
10283 TARGET_DEFAULT_RETURN.
10284
4229b31d
TT
102852014-02-19 Tom Tromey <tromey@redhat.com>
10286
10287 * target-delegates.c: Rebuild.
10288 * target.c (update_current_target): Don't inherit or default
10289 to_get_ada_task_ptid.
10290 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
10291 TARGET_DEFAULT_FUNC.
10292
43eba180
TT
102932014-02-19 Tom Tromey <tromey@redhat.com>
10294
10295 * target-delegates.c: Rebuild.
10296 * target.c (update_current_target): Don't inherit or default
10297 to_thread_architecture.
10298 * target.h (struct target_ops) <to_thread_architecture>: Use
10299 TARGET_DEFAULT_FUNC.
10300
fe31bf5b
TT
103012014-02-19 Tom Tromey <tromey@redhat.com>
10302
10303 * target-delegates.c: Rebuild.
10304 * target.c (update_current_target): Don't inherit or default
10305 to_execution_direction.
10306 * target.h (struct target_ops) <to_execution_direction>: Use
10307 TARGET_DEFAULT_FUNC.
10308
53e1cfc7
TT
103092014-02-19 Tom Tromey <tromey@redhat.com>
10310
10311 * target-delegates.c: Rebuild.
10312 * target.c (update_current_target): Don't inherit or default
10313 to_can_execute_reverse.
10314 * target.h (struct target_ops) <to_can_execute_reverse>: Use
10315 TARGET_DEFAULT_RETURN.
10316 (target_can_execute_reverse): Unconditionally delegate.
10317
9bb9d61d
TT
103182014-02-19 Tom Tromey <tromey@redhat.com>
10319
10320 * target-delegates.c: Rebuild.
10321 * target.c (update_current_target): Don't inherit or default
10322 to_goto_bookmark.
10323 (dummy_goto_bookmark): Remove.
10324 (init_dummy_target): Don't inherit or default to_goto_bookmark.
10325 * target.h (struct target_ops) <to_goto_bookmark>: Use
10326 TARGET_DEFAULT_NORETURN.
10327
3dbafbbb
TT
103282014-02-19 Tom Tromey <tromey@redhat.com>
10329
10330 * target-delegates.c: Rebuild.
10331 * target.c (update_current_target): Don't inherit or default
10332 to_get_bookmark.
10333 (dummy_get_bookmark): Remove.
10334 (init_dummy_target): Don't inherit or default to_get_bookmark.
10335 * target.h (struct target_ops) <to_get_bookmark>: Use
10336 TARGET_DEFAULT_NORETURN
10337
16f796b1
TT
103382014-02-19 Tom Tromey <tromey@redhat.com>
10339
10340 * target-delegates.c: Rebuild.
10341 * target.c (update_current_target): Don't inherit or default
10342 to_make_corefile_notes.
10343 (init_dummy_target): Don't initialize to_make_corefile_notes.
10344 * target.h (struct target_ops) <to_make_corefile_notes>: Use
10345 TARGET_DEFAULT_FUNC.
10346
0b5a2719
TT
103472014-02-19 Tom Tromey <tromey@redhat.com>
10348
10349 * target-delegates.c: Rebuild.
10350 * target.c (update_current_target): Don't inherit or default
10351 to_find_memory_regions.
10352 (init_dummy_target): Don't initialize to_find_memory_regions.
10353 * target.h (struct target_ops) <to_find_memory_regions>: Use
10354 TARGET_DEFAULT_FUNC.
10355
d9cb0195
TT
103562014-02-19 Tom Tromey <tromey@redhat.com>
10357
10358 * target-delegates.c: Rebuild.
10359 * target.c (update_current_target): Don't inherit or default
10360 to_log_command.
10361 * target.h (struct target_ops) <to_log_command>: Use
10362 TARGET_DEFAULT_IGNORE.
10363 (target_log_command): Unconditionally delegate.
10364
830ca330
TT
103652014-02-19 Tom Tromey <tromey@redhat.com>
10366
10367 * target-delegates.c: Rebuild.
10368 * target.c (update_current_target): Don't inherit or default
10369 to_pid_to_exec_file.
10370 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
10371 TARGET_DEFAULT_RETURN.
10372
825828fc
TT
103732014-02-19 Tom Tromey <tromey@redhat.com>
10374
10375 * target-delegates.c: Rebuild.
10376 * target.c (update_current_target): Don't inherit or default
10377 to_thread_name.
10378 (target_thread_name): Unconditionally delegate.
10379 * target.h (struct target_ops) <to_thread_name>: Use
10380 TARGET_DEFAULT_RETURN.
10381
4a7e6dda
TT
103822014-02-19 Tom Tromey <tromey@redhat.com>
10383
10384 * target-delegates.c: Rebuild.
10385 * target.c (update_current_target): Don't inherit or default
10386 to_extra_thread_info.
10387 * target.h (struct target_ops) <to_extra_thread_info>: Use
10388 TARGET_DEFAULT_RETURN.
10389
0db88c1d
TT
103902014-02-19 Tom Tromey <tromey@redhat.com>
10391
10392 * target-delegates.c: Rebuild.
10393 * target.c (update_current_target): Don't inherit or default
10394 to_has_exited.
10395 * target.h (struct target_ops) <to_has_exited>: Use
10396 TARGET_DEFAULT_RETURN..
10397
6a9fa051
TT
103982014-02-19 Tom Tromey <tromey@redhat.com>
10399
10400 * target-delegates.c: Rebuild.
10401 * target.c (update_current_target): Don't inherit or default
10402 to_set_syscall_catchpoint.
10403 (return_one): Remove.
10404 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
10405 TARGET_DEFAULT_RETURN.
10406
62f64d7a
TT
104072014-02-19 Tom Tromey <tromey@redhat.com>
10408
10409 * target-delegates.c: Rebuild.
10410 * target.c (update_current_target): Don't inherit or default
10411 to_insert_exec_catchpoint.
10412 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10413 TARGET_DEFAULT_RETURN.
10414
cda0f38c
TT
104152014-01-08 Tom Tromey <tromey@redhat.com>
10416
10417 * target-delegates.c: Rebuild.
10418 * target.c (update_current_target): Don't inherit or default
10419 to_insert_exec_catchpoint.
10420 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10421 TARGET_DEFAULT_RETURN.
10422
95c3375e
TT
104232014-02-19 Tom Tromey <tromey@redhat.com>
10424
10425 * target-delegates.c: Rebuild.
10426 * target.c (update_current_target): Don't inherit or default
10427 to_remove_vfork_catchpoint.
10428 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
10429 TARGET_DEFAULT_RETURN.
10430
7e18a8dc
TT
104312014-02-19 Tom Tromey <tromey@redhat.com>
10432
10433 * target-delegates.c: Rebuild.
10434 * target.c (update_current_target): Don't inherit or default
10435 to_insert_vfork_catchpoint.
10436 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
10437 TARGET_DEFAULT_RETURN.
10438
e1a21fb7
TT
104392014-02-19 Tom Tromey <tromey@redhat.com>
10440
10441 * target-delegates.c: Rebuild.
10442 * target.c (update_current_target): Don't inherit or default
10443 to_remove_fork_catchpoint.
10444 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
10445 TARGET_DEFAULT_RETURN.
10446
5958ebeb
TT
104472014-02-19 Tom Tromey <tromey@redhat.com>
10448
10449 * target-delegates.c: Rebuild.
10450 * target.c (update_current_target): Don't inherit or default
10451 to_insert_fork_catchpoint.
10452 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
10453 TARGET_DEFAULT_RETURN.
10454
340ba4bf
TT
104552014-02-19 Tom Tromey <tromey@redhat.com>
10456
10457 * target-delegates.c: Rebuild.
10458 * target.c (update_current_target): Don't inherit or default
10459 to_post_startup_inferior.
10460 * target.h (struct target_ops) <to_post_startup_inferior>: Use
10461 TARGET_DEFAULT_IGNORE.
10462
7634da87
TT
104632014-02-19 Tom Tromey <tromey@redhat.com>
10464
10465 * target-delegates.c: Rebuild.
10466 * target.c (update_current_target): Don't inherit or default
10467 to_load.
10468 * target.h (struct target_ops) <to_load>: Use
10469 TARGET_DEFAULT_NORETURN.
10470
e19e919f
TT
104712014-02-19 Tom Tromey <tromey@redhat.com>
10472
10473 * target-delegates.c: Rebuild.
10474 * target.c (update_current_target): Don't inherit or default
10475 to_terminal_info.
10476 * target.h (struct target_ops) <to_terminal_info>: Use
10477 TARGET_DEFAULT_FUNC.
10478
c6ea8f79
TT
104792014-02-19 Tom Tromey <tromey@redhat.com>
10480
10481 * target-delegates.c: Rebuild.
10482 * target.c (update_current_target): Don't inherit or default
10483 to_terminal_save_ours.
10484 * target.h (struct target_ops) <to_terminal_save_ours>: Use
10485 TARGET_DEFAULT_IGNORE.
10486
e4a733f1
TT
104872014-02-19 Tom Tromey <tromey@redhat.com>
10488
10489 * target-delegates.c: Rebuild.
10490 * target.c (update_current_target): Don't inherit or default
10491 to_terminal_ours.
10492 * target.h (struct target_ops) <to_terminal_ours>: Use
10493 TARGET_DEFAULT_IGNORE.
10494
74fcbef9
TT
104952014-02-19 Tom Tromey <tromey@redhat.com>
10496
10497 * target-delegates.c: Rebuild.
10498 * target.c (update_current_target): Don't inherit or default
10499 to_terminal_ours_for_output.
10500 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
10501 TARGET_DEFAULT_IGNORE.
10502
ddeaacc9
TT
105032014-02-19 Tom Tromey <tromey@redhat.com>
10504
10505 * target-delegates.c: Rebuild.
10506 * target.c (update_current_target): Don't inherit or default
10507 to_terminal_inferior.
10508 * target.h (struct target_ops) <to_terminal_inferior>: Use
10509 TARGET_DEFAULT_IGNORE.
10510
0343661d
TT
105112014-02-19 Tom Tromey <tromey@redhat.com>
10512
10513 * target-delegates.c: Rebuild.
10514 * target.c (update_current_target): Don't inherit or default
10515 to_terminal_init.
10516 * target.h (struct target_ops) <to_terminal_init>: Use
10517 TARGET_DEFAULT_IGNORE.
10518
77cdffe9
TT
105192014-02-19 Tom Tromey <tromey@redhat.com>
10520
10521 * target-delegates.c: Rebuild.
10522 * target.c (update_current_target): Don't inherit or default
10523 to_can_accel_watchpoint_condition.
10524 * target.h (struct target_ops)
10525 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
10526
d03655e4
TT
105272014-02-19 Tom Tromey <tromey@redhat.com>
10528
10529 * target-delegates.c: Rebuild.
10530 * target.c (update_current_target): Don't inherit or default
10531 to_region_ok_for_hw_watchpoint.
10532 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10533 Use TARGET_DEFAULT_FUNC.
10534
65f160a9
TT
105352014-02-19 Tom Tromey <tromey@redhat.com>
10536
10537 * target-delegates.c: Rebuild.
10538 * target.c (update_current_target): Don't inherit or default
10539 to_watchpoint_addr_within_range.
10540 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
10541 Use TARGET_DEFAULT_FUNC.
10542
61dd109f
TT
105432014-02-19 Tom Tromey <tromey@redhat.com>
10544
10545 * target-delegates.c: Rebuild.
10546 * target.c (update_current_target): Don't inherit or default
10547 to_remove_watchpoint.
10548 * target.h (struct target_ops) <to_remove_watchpoint>: Use
10549 TARGET_DEFAULT_NORETURN.
10550
016facd4
TT
105512014-02-19 Tom Tromey <tromey@redhat.com>
10552
10553 * target-delegates.c: Rebuild.
10554 * target.c (update_current_target): Don't inherit or default
10555 to_insert_watchpoint.
10556 * target.h (struct target_ops) <to_insert_watchpoint>: Use
10557 TARGET_DEFAULT_RETURN.
10558
418dabac
TT
105592014-02-19 Tom Tromey <tromey@redhat.com>
10560
10561 * target-delegates.c: Rebuild.
10562 * target.c (update_current_target): Don't inherit or default
10563 to_remove_hw_breakpoint.
10564 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
10565 TARGET_DEFAULT_RETURN.
10566
61b371f9
TT
105672014-02-19 Tom Tromey <tromey@redhat.com>
10568
10569 * target-delegates.c: Rebuild.
10570 * target.c (update_current_target): Don't inherit or default
10571 to_insert_hw_breakpoint.
10572 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
10573 TARGET_DEFAULT_RETURN.
10574
52b51d06
TT
105752014-02-19 Tom Tromey <tromey@redhat.com>
10576
10577 * target-delegates.c: Rebuild.
10578 * target.c (update_current_target): Don't inherit or default
10579 to_can_use_hw_breakpoint.
10580 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
10581 TARGET_DEFAULT_RETURN.
10582
f86e59b2
TT
105832014-02-19 Tom Tromey <tromey@redhat.com>
10584
10585 * target-delegates.c: Rebuild.
10586 * target.c (update_current_target): Don't inherit or default
10587 to_files_info.
10588 * target.h (struct target_ops) <to_files_info>: Use
10589 TARGET_DEFAULT_IGNORE.
10590
6c628163
TT
105912014-02-19 Tom Tromey <tromey@redhat.com>
10592
10593 * target-delegates.c: Rebuild.
10594 * target.c (update_current_target): Don't inherit or default
10595 to_store.
10596 * target.h (struct target_ops) <to_store>: Use
10597 TARGET_DEFAULT_NORETURN.
10598
bebd3233
TT
105992014-02-19 Tom Tromey <tromey@redhat.com>
10600
10601 * target-delegates.c: Rebuild.
10602 * target.c (update_current_target): Don't inherit or default
10603 to_post_attach.
10604 * target.h (struct target_ops) <to_post_attach>: Use
10605 TARGET_DEFAULT_IGNORE.
10606
a53f3625
TT
106072014-02-19 Tom Tromey <tromey@redhat.com>
10608
10609 * target-delegates.c: Rebuild.
10610 * target.c (update_current_target): Don't inherit or default
10611 to_rcmd.
10612 (default_rcmd): New function.
10613 (do_monitor_command): Unconditionally delegate.
10614 * target.h (struct target_ops) <to_rmcd>: Use
10615 TARGET_DEFAULT_FUNC.
10616
e9a29200
TT
106172014-02-19 Tom Tromey <tromey@redhat.com>
10618
10619 * target-delegates.c: Rebuild.
10620 * target.c (init_dummy_target): Don't initialize to_attach.
10621 (target_attach): Unconditionally delegate.
10622 * target.h (struct target_ops) <to_attach>: Use
10623 TARGET_DEFAULT_FUNC.
10624
09da0d0a
TT
106252014-02-19 Tom Tromey <tromey@redhat.com>
10626
10627 * target-delegates.c: Rebuild.
10628 * target.c (target_detach): Unconditionally delegate.
10629 (init_dummy_target): Don't initialize to_detach.
10630 * target.h (struct target_ops) <to_detach>: Use
10631 TARGET_DEFAULT_IGNORE.
10632
5436ff03
TT
106332014-02-19 Tom Tromey <tromey@redhat.com>
10634
10635 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10636 Add argument.
10637 (target_augmented_libraries_svr4_read): Add argument.
10638 * target.c (update_current_target): Update.
10639 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
10640 argument.
10641
f0d960ea
TT
106422014-02-19 Tom Tromey <tromey@redhat.com>
10643
10644 * target.h (struct target_ops) <to_call_history_range>: Add
10645 argument.
10646 * target.c (target_call_history_range): Add argument.
10647 * record-btrace.c (record_btrace_call_history_range): Add 'self'
10648 argument.
10649 (record_btrace_call_history_from): Update.
10650
ec0aea04
TT
106512014-02-19 Tom Tromey <tromey@redhat.com>
10652
10653 * target.h (struct target_ops) <to_call_history_from>: Add
10654 argument.
10655 * target.c (target_call_history_from): Add argument.
10656 * record-btrace.c (record_btrace_call_history_from): Add 'self'
10657 argument.
10658
5df2fcba
TT
106592014-02-19 Tom Tromey <tromey@redhat.com>
10660
10661 * target.h (struct target_ops) <to_call_history>: Add argument.
10662 * target.c (target_call_history): Add argument.
10663 * record-btrace.c (record_btrace_call_history): Add 'self'
10664 argument.
10665
4e99c6b7
TT
106662014-02-19 Tom Tromey <tromey@redhat.com>
10667
10668 * target.h (struct target_ops) <to_insn_history_range>: Add
10669 argument.
10670 * target.c (target_insn_history_range): Add argument.
10671 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
10672 argument.
10673 (record_btrace_insn_history_from): Update.
10674
9abc3ff3
TT
106752014-02-19 Tom Tromey <tromey@redhat.com>
10676
10677 * target.h (struct target_ops) <to_insn_history_from>: Add
10678 argument.
10679 * target.c (target_insn_history_from): Add argument.
10680 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
10681 argument.
10682
7a6c5609
TT
106832014-02-19 Tom Tromey <tromey@redhat.com>
10684
10685 * target.h (struct target_ops) <to_insn_history>: Add argument.
10686 * target.c (target_insn_history): Add argument.
10687 * record-btrace.c (record_btrace_insn_history): Add 'self'
10688 argument.
10689
606183ac
TT
106902014-02-19 Tom Tromey <tromey@redhat.com>
10691
10692 * target.h (struct target_ops) <to_goto_record>: Add argument.
10693 * target.c (target_goto_record): Add argument.
10694 * record-full.c (record_full_goto): Add 'self' argument.
10695 * record-btrace.c (record_btrace_goto): Add 'self' argument.
10696
307a1b91
TT
106972014-02-19 Tom Tromey <tromey@redhat.com>
10698
10699 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
10700 * target.c (target_goto_record_end): Add argument.
10701 * record-full.c (record_full_goto_end): Add 'self' argument.
10702 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
10703
08475817
TT
107042014-02-19 Tom Tromey <tromey@redhat.com>
10705
10706 * target.h (struct target_ops) <to_goto_record_begin>: Add
10707 argument.
10708 * target.c (target_goto_record_begin): Add argument.
10709 * record-full.c (record_full_goto_begin): Add 'self' argument.
10710 * record-btrace.c (record_btrace_goto_begin): Add 'self'
10711 argument.
10712
1c63c994
TT
107132014-02-19 Tom Tromey <tromey@redhat.com>
10714
10715 * target.h (struct target_ops) <to_record_is_replaying>: Add
10716 argument.
10717 * target.c (target_record_is_replaying): Add argument.
10718 * record-full.c (record_full_is_replaying): Add 'self' argument.
10719 * record-btrace.c (record_btrace_is_replaying): Add 'self'
10720 argument.
10721 (record_btrace_xfer_partial, record_btrace_store_registers)
10722 (record_btrace_prepare_to_store, record_btrace_resume)
10723 (record_btrace_wait, record_btrace_decr_pc_after_break)
10724 (record_btrace_find_new_threads, record_btrace_thread_alive):
10725 Update.
10726
d1b55219
TT
107272014-02-19 Tom Tromey <tromey@redhat.com>
10728
10729 * target.h (struct target_ops) <to_delete_record>: Add argument.
10730 * target.c (target_delete_record): Add argument.
10731 * record-full.c (record_full_delete): Add 'self' argument.
10732
1390f529
TT
107332014-02-19 Tom Tromey <tromey@redhat.com>
10734
10735 * target.h (struct target_ops) <to_save_record>: Add argument.
10736 * target.c (target_save_record): Add argument.
10737 * record-full.c (record_full_save): Add 'self' argument.
10738 (record_full_save): Add 'self' argument.
10739
630d6a4a
TT
107402014-02-19 Tom Tromey <tromey@redhat.com>
10741
10742 * target.h (struct target_ops) <to_info_record>: Add argument.
10743 * target.c (target_info_record): Add argument.
10744 * record.c (info_record_command): Add argument.
10745 * record-full.c (record_full_info): Add 'self' argument.
10746 * record-btrace.c (record_btrace_info): Add 'self' argument.
10747
c6cd7c02
TT
107482014-02-19 Tom Tromey <tromey@redhat.com>
10749
10750 * target.h (struct target_ops) <to_stop_recording>: Add argument.
10751 * target.c (target_stop_recording): Add argument.
10752 * record.c (record_stop): Add argument.
10753 * record-btrace.c (record_btrace_stop_recording): Add 'self'
10754 argument.
10755
39c49f83
TT
107562014-02-19 Tom Tromey <tromey@redhat.com>
10757
10758 * target.h (struct target_ops) <to_read_btrace>: Add argument.
10759 * target.c (struct target_ops) <to_read_btrace>: Add argument.
10760 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
10761 argument.
10762 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
10763 (_initialize_amd64_linux_nat): Use it.
10764 * i386-linux-nat.c (i386_linux_read_btrace): New function.
10765 (_initialize_i386_linux_nat): Use it.
10766
1777056d
TT
107672014-02-19 Tom Tromey <tromey@redhat.com>
10768
10769 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
10770 * target.c (target_teardown_btrace): Add argument.
10771 * remote.c (remote_teardown_btrace): Add 'self' argument.
10772 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
10773 argument.
10774 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
10775 argument.
10776
25e95349
TT
107772014-02-19 Tom Tromey <tromey@redhat.com>
10778
10779 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
10780 * target.c (target_disable_btrace): Add argument.
10781 * remote.c (remote_disable_btrace): Add 'self' argument.
10782 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
10783 argument.
10784 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
10785 argument.
10786
e3c49f88
TT
107872014-02-19 Tom Tromey <tromey@redhat.com>
10788
10789 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
10790 * target.c (target_enable_btrace): Add argument.
10791 * remote.c (remote_enable_btrace): Add 'self' argument.
10792 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
10793 argument.
10794 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
10795 argument.
10796
fe38f897
TT
107972014-02-19 Tom Tromey <tromey@redhat.com>
10798
10799 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
10800 (target_can_use_agent): Add argument.
10801 * target.c (update_current_target): Update.
10802 * remote.c (remote_can_use_agent): Add 'self' argument.
10803 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
10804
2c152180
TT
108052014-02-19 Tom Tromey <tromey@redhat.com>
10806
10807 * target.h (struct target_ops) <to_use_agent>: Add argument.
10808 (target_use_agent): Add argument.
10809 * target.c (update_current_target): Update.
10810 * remote.c (remote_use_agent): Add 'self' argument.
10811 * inf-child.c (inf_child_use_agent): Add 'self' argument.
10812
a893e81f
TT
108132014-02-19 Tom Tromey <tromey@redhat.com>
10814
10815 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
10816 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
10817 (target_traceframe_info): Add argument.
10818 * target.c (update_current_target): Update.
10819 * remote.c (remote_traceframe_info): Add 'self' argument.
10820 * ctf.c (ctf_traceframe_info): Add 'self' argument.
10821
c686c57f
TT
108222014-02-19 Tom Tromey <tromey@redhat.com>
10823
10824 * target.h (target_static_tracepoint_markers_by_strid): Add
10825 argument.
10826 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
10827 'self' argument.
10828 * target.c (update_current_target): Update.
10829 * remote.c (struct target_ops)
10830 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
10831 * linux-nat.c (struct target_ops)
10832 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
10833
61fc905d
TT
108342014-02-19 Tom Tromey <tromey@redhat.com>
10835
10836 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10837 Add argument.
10838 (target_static_tracepoint_marker_at): Add argument.
10839 * target.c (update_current_target): Update.
10840 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
10841 argument.
10842
c378d69d
TT
108432014-02-19 Tom Tromey <tromey@redhat.com>
10844
10845 * target.h (struct target_ops) <to_set_permissions>: Add argument.
10846 (target_set_permissions): Add argument.
10847 * target.c (update_current_target): Update.
10848 * remote.c (remote_set_permissions): Add 'self' argument.
10849 (remote_start_remote): Update.
10850
bd7ae0f5
TT
108512014-02-19 Tom Tromey <tromey@redhat.com>
10852
10853 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
10854 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
10855 (target_get_tib_address): Add argument.
10856 * target.c (update_current_target): Update.
10857 * remote.c (remote_get_tib_address): Add 'self' argument.
10858
d9e68a2c
TT
108592014-02-19 Tom Tromey <tromey@redhat.com>
10860
10861 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
10862 (target_set_trace_notes): Add argument.
10863 * target.c (update_current_target): Update.
10864 * remote.c (remote_set_trace_notes): Add 'self' argument.
10865
4da384be
TT
108662014-02-19 Tom Tromey <tromey@redhat.com>
10867
10868 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
10869 argument.
10870 (target_set_trace_buffer_size): Add argument.
10871 * target.c (update_current_target): Update.
10872 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
10873
736d5b1f
TT
108742014-02-19 Tom Tromey <tromey@redhat.com>
10875
10876 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
10877 argument.
10878 (target_set_circular_trace_buffer): Add argument.
10879 * target.c (update_current_target): Update.
10880 * remote.c (remote_set_circular_trace_buffer): Add 'self'
10881 argument.
10882
37b25738
TT
108832014-02-19 Tom Tromey <tromey@redhat.com>
10884
10885 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
10886 argument.
10887 (target_set_disconnected_tracing): Add argument.
10888 * target.c (update_current_target): Update.
10889 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
10890
0e67620a
TT
108912014-02-19 Tom Tromey <tromey@redhat.com>
10892
10893 * target.h (struct target_ops)
10894 <to_get_min_fast_tracepoint_insn_len>: Add argument.
10895 (target_get_min_fast_tracepoint_insn_len): Add argument.
10896 * target.c (update_current_target): Update.
10897 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
10898 argument.
10899
88ee6f45
TT
109002014-02-19 Tom Tromey <tromey@redhat.com>
10901
10902 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
10903 argument.
10904 (target_get_raw_trace_data): Add argument.
10905 * target.c (update_current_target): Update.
10906 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
10907
181e3713
TT
109082014-02-19 Tom Tromey <tromey@redhat.com>
10909
10910 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10911 Add argument.
10912 (target_upload_trace_state_variables): Add argument.
10913 * target.c (update_current_target): Update.
10914 * remote.c (remote_upload_trace_state_variables): Add 'self'
10915 argument.
10916 (remote_start_remote): Update.
10917
ab6617cc
TT
109182014-02-19 Tom Tromey <tromey@redhat.com>
10919
10920 * target.h (struct target_ops) <to_upload_tracepoints>: Add
10921 argument.
10922 (target_upload_tracepoints): Add argument.
10923 * target.c (update_current_target): Update.
10924 * remote.c (remote_upload_tracepoints): Add 'self' argument.
10925 (remote_start_remote): Update.
10926
dc3decaf
TT
109272014-02-19 Tom Tromey <tromey@redhat.com>
10928
10929 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
10930 (target_save_trace_data): Add argument.
10931 * target.c (update_current_target): Update.
10932 * remote.c (remote_save_trace_data): Add 'self' argument.
10933
4011015b
TT
109342014-02-19 Tom Tromey <tromey@redhat.com>
10935
10936 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
10937 argument.
10938 * target.h (struct target_ops)
10939 <to_get_trace_state_variable_value>: Add argument.
10940 (target_get_trace_state_variable_value): Add argument.
10941 * target.c (update_current_target): Update.
10942 * remote.c (remote_get_trace_state_variable_value): Add 'self'
10943 argument.
10944 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
10945
bd4c6793
TT
109462014-02-19 Tom Tromey <tromey@redhat.com>
10947
10948 * tracepoint.c (tfile_trace_find): Add 'self' argument.
10949 * target.h (struct target_ops) <to_trace_find>: Add argument.
10950 (target_trace_find): Add argument.
10951 * target.c (update_current_target): Update.
10952 * remote.c (remote_trace_find): Add 'self' argument.
10953 * ctf.c (ctf_trace_find): Add 'self' argument.
10954
74499f1b
TT
109552014-02-19 Tom Tromey <tromey@redhat.com>
10956
10957 * target.h (struct target_ops) <to_trace_stop>: Add argument.
10958 (target_trace_stop): Add argument.
10959 * target.c (update_current_target): Update.
10960 * remote.c (remote_trace_stop): Add 'self' argument.
10961
db90e85c
TT
109622014-02-19 Tom Tromey <tromey@redhat.com>
10963
10964 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
10965 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
10966 argument.
10967 (target_get_tracepoint_status): Add argument.
10968 * target.c (update_current_target): Update.
10969 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
10970
8bd200f1
TT
109712014-02-19 Tom Tromey <tromey@redhat.com>
10972
10973 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
10974 * target.h (struct target_ops) <to_get_trace_status>: Add
10975 argument.
10976 (target_get_trace_status): Add argument.
10977 * target.c (update_current_target): Update.
10978 * remote.c (remote_get_trace_status): Add 'self' argument.
10979 (remote_start_remote, remote_can_download_tracepoint): Update.
10980 * ctf.c (ctf_get_trace_status): Add 'self' argument.
10981
e2d1aae3
TT
109822014-02-19 Tom Tromey <tromey@redhat.com>
10983
10984 * target.h (struct target_ops) <to_trace_start>: Add argument.
10985 (target_trace_start): Add argument.
10986 * target.c (update_current_target): Update.
10987 * remote.c (remote_trace_start): Add 'self' argument.
10988
583f9a86
TT
109892014-02-19 Tom Tromey <tromey@redhat.com>
10990
10991 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10992 Add argument.
10993 (target_trace_set_readonly_regions): Add argument.
10994 * target.c (update_current_target): Update.
10995 * remote.c (remote_trace_set_readonly_regions): Add 'self'
10996 argument.
10997
780b049c
TT
109982014-02-19 Tom Tromey <tromey@redhat.com>
10999
11000 * target.h (struct target_ops) <to_disable_tracepoint>: Add
11001 argument.
11002 (target_disable_tracepoint): Add argument.
11003 * target.c (update_current_target): Update.
11004 * remote.c (remote_disable_tracepoint): Add 'self' argument.
11005
46670d57
TT
110062014-02-19 Tom Tromey <tromey@redhat.com>
11007
11008 * target.h (struct target_ops) <to_enable_tracepoint>: Add
11009 argument.
11010 (target_enable_tracepoint): Add argument.
11011 * target.c (update_current_target): Update.
11012 * remote.c (remote_enable_tracepoint): Add 'self' argument.
11013
559d2b81
TT
110142014-02-19 Tom Tromey <tromey@redhat.com>
11015
11016 * target.h (struct target_ops) <to_download_trace_state_variable>:
11017 Add argument.
11018 (target_download_trace_state_variable): Add argument.
11019 * target.c (update_current_target): Update.
11020 * remote.c (remote_download_trace_state_variable): Add 'self'
11021 argument.
11022
a52a8357
TT
110232014-02-19 Tom Tromey <tromey@redhat.com>
11024
11025 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
11026 argument.
11027 (target_can_download_tracepoint): Add argument.
11028 * target.c (update_current_target): Update.
11029 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
11030
548f7808
TT
110312014-02-19 Tom Tromey <tromey@redhat.com>
11032
11033 * target.h (struct target_ops) <to_download_tracepoint>: Add
11034 argument.
11035 (target_download_tracepoint): Add argument.
11036 * target.c (update_current_target): Update.
11037 * remote.c (remote_download_tracepoint): Add 'self' argument.
11038
ecae04e1
TT
110392014-02-19 Tom Tromey <tromey@redhat.com>
11040
11041 * target.h (struct target_ops) <to_trace_init>: Add argument.
11042 (target_trace_init): Add argument.
11043 * target.c (update_current_target): Update.
11044 * remote.c (remote_trace_init): Add 'self' argument.
11045
fab5aa7c
TT
110462014-02-19 Tom Tromey <tromey@redhat.com>
11047
11048 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
11049 * target.c (target_fileio_readlink): Add argument.
11050 * remote.c (remote_hostio_readlink): Add 'self' argument.
11051 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
11052
dbbca37d
TT
110532014-02-19 Tom Tromey <tromey@redhat.com>
11054
11055 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
11056 * target.c (target_fileio_unlink): Add argument.
11057 * remote.c (remote_hostio_unlink): Add 'self' argument.
11058 (remote_file_delete): Update.
11059 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
11060
df39ea25
TT
110612014-02-19 Tom Tromey <tromey@redhat.com>
11062
11063 * target.h (struct target_ops) <to_fileio_close>: Add argument.
11064 * target.c (target_fileio_close): Add argument.
11065 * remote.c (remote_hostio_close): Add 'self' argument.
11066 (remote_hostio_close_cleanup): Update.
11067 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
11068 Update.
11069 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
11070
a3be983c
TT
110712014-02-19 Tom Tromey <tromey@redhat.com>
11072
11073 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
11074 * target.c (target_fileio_pread): Add argument.
11075 * remote.c (remote_hostio_pread): Add 'self' argument.
11076 (remote_bfd_iovec_pread, remote_file_get): Update.
11077 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
11078
0d866f62
TT
110792014-02-19 Tom Tromey <tromey@redhat.com>
11080
11081 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
11082 * target.c (target_fileio_pwrite): Add argument.
11083 * remote.c (remote_hostio_pwrite): Add 'self' argument.
11084 (remote_file_put): Update.
11085 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
11086
cd897586
TT
110872014-02-19 Tom Tromey <tromey@redhat.com>
11088
11089 * target.h (struct target_ops) <to_fileio_open>: Add argument.
11090 * target.c (target_fileio_open): Add argument.
11091 * remote.c (remote_hostio_open): Add 'self' argument.
11092 (remote_bfd_iovec_open): Add 'self' argument.
11093 (remote_file_put): Add 'self' argument.
11094 (remote_file_get): Add 'self' argument.
11095 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
11096
78eff0ec
TT
110972014-02-19 Tom Tromey <tromey@redhat.com>
11098
11099 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
11100 Add argument.
11101 (target_can_run_breakpoint_commands): Add argument.
11102 * target.c (update_current_target): Update.
11103 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
11104 argument.
11105 (remote_insert_breakpoint): Add 'self' argument.
11106 (remote_insert_hw_breakpoint): Add 'self' argument.
11107 (remote_can_run_breakpoint_commands): Add 'self' argument.
11108
efcc2da7
TT
111092014-02-19 Tom Tromey <tromey@redhat.com>
11110
11111 * target.h (struct target_ops)
11112 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
11113 (target_supports_evaluation_of_breakpoint_conditions): Add
11114 argument.
11115 * target.c (update_current_target): Update.
11116 * remote.c (remote_supports_cond_breakpoints): Add 'self'
11117 argument.
11118 (remote_insert_breakpoint): Add 'self' argument.
11119 (remote_insert_hw_breakpoint): Add 'self' argument.
11120 (remote_supports_cond_breakpoints): Add 'self' argument.
11121
6de37a3a
TT
111222014-02-19 Tom Tromey <tromey@redhat.com>
11123
11124 * target.h (struct target_ops) <to_supports_string_tracing>: Add
11125 argument.
11126 (target_supports_string_tracing): Add argument.
11127 * target.c (update_current_target): Update.
11128 * remote.c (remote_supports_string_tracing): Add 'self' argument.
11129
2bfc0540
TT
111302014-02-19 Tom Tromey <tromey@redhat.com>
11131
11132 * target.h (struct target_ops)
11133 <to_supports_disable_randomization>: Add argument.
11134 * target.c (find_default_supports_disable_randomization): Add
11135 argument.
11136 (target_supports_disable_randomization): Add argument.
11137 (find_default_supports_disable_randomization): Add 'self'
11138 argument.
11139 * remote.c (extended_remote_supports_disable_randomization): Add
11140 'self' argument.
11141 (remote_supports_disable_randomization): Add 'self' argument.
11142 (extended_remote_create_inferior): Update.
11143 * linux-nat.c (linux_nat_supports_disable_randomization): Add
11144 'self' argument.
11145
7d178d6a
TT
111462014-02-19 Tom Tromey <tromey@redhat.com>
11147
11148 * target.h (struct target_ops)
11149 <to_supports_enable_disable_tracepoint>: Add argument.
11150 (target_supports_enable_disable_tracepoint): Add argument.
11151 * target.c (update_current_target): Update.
11152 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
11153 argument.
11154
86ce2668
TT
111552014-02-19 Tom Tromey <tromey@redhat.com>
11156
11157 * target.h (struct target_ops) <to_supports_multi_process>: Add
11158 argument.
11159 (target_supports_multi_process): Add argument.
11160 * target.c (update_current_target): Update.
11161 * remote.c (remote_supports_multi_process): Add 'self' argument.
11162 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
11163 argument.
11164 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
11165 argument.
11166
4c612759
TT
111672014-02-19 Tom Tromey <tromey@redhat.com>
11168
11169 * target.h (struct target_ops) <to_execution_direction>: Add
11170 argument.
11171 (target_execution_direction): Add argument.
11172 * target.c (default_execution_direction): Add 'self' argument.
11173 * record-full.c (record_full_execution_direction): Add 'self'
11174 argument.
11175
19db3e69
TT
111762014-02-19 Tom Tromey <tromey@redhat.com>
11177
11178 * target.h (struct target_ops) <to_can_execute_reverse>: Add
11179 argument.
11180 (target_can_execute_reverse): Add argument.
11181 * remote.c (remote_can_execute_reverse): Add 'self' argument.
11182 * record-full.c (record_full_can_execute_reverse): Add 'self'
11183 argument.
11184 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
11185 argument.
11186
1e6b91a4
TT
111872014-02-19 Tom Tromey <tromey@redhat.com>
11188
11189 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
11190 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
11191 argument.
11192 (target_get_ada_task_ptid): Add argument.
11193 * target.c (update_current_target): Update.
11194 (default_get_ada_task_ptid): Add 'self' argument.
11195 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
11196 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
11197 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
11198 argument.
11199 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
11200 argument.
11201 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
11202 argument.
11203 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
11204 argument.
11205 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
11206 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
11207 argument.
11208
3c80fb48
TT
112092014-02-19 Tom Tromey <tromey@redhat.com>
11210
11211 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
11212 (target_goto_bookmark): Add argument.
11213 * target.c (dummy_goto_bookmark): Add 'self' argument.
11214 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
11215
dd0e2830
TT
112162014-02-19 Tom Tromey <tromey@redhat.com>
11217
11218 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
11219 (target_get_bookmark): Add argument.
11220 * target.c (dummy_get_bookmark): Add 'self' argument.
11221 * record-full.c (record_full_get_bookmark): Add 'self' argument.
11222
fc6691b2
TT
112232014-02-19 Tom Tromey <tromey@redhat.com>
11224
11225 * target.h (struct target_ops) <to_make_corefile_notes>: Add
11226 argument.
11227 (target_make_corefile_notes): Add argument.
11228 * target.c (dummy_make_corefile_notes): Add 'self' argument.
11229 * procfs.c (procfs_make_note_section): Add 'self' argument.
11230 (procfs_make_note_section): Add 'self' argument.
11231 (procfs_make_note_section): Add 'self' argument.
11232 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
11233 argument.
11234 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
11235 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
11236 * exec.c (exec_make_note_section): Add 'self' argument.
11237 (exec_make_note_section): Add 'self' argument.
11238
2e73927c
TT
112392014-02-19 Tom Tromey <tromey@redhat.com>
11240
11241 * target.h (struct target_ops) <to_find_memory_regions>: Add
11242 argument.
11243 (target_find_memory_regions): Add argument.
11244 * target.c (dummy_find_memory_regions): Add 'self' argument.
11245 * procfs.c (proc_find_memory_regions): Add 'self' argument.
11246 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
11247 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
11248 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
11249 * exec. (exec_do_find_memory_regions): New global.
11250 (exec_set_find_memory_regions): Rewrite.
11251 (exec_find_memory_regions): New function.
11252 (init_exec_ops): Use exec_find_memory_regions.
11253
2a9a2795
TT
112542014-02-19 Tom Tromey <tromey@redhat.com>
11255
11256 * target.h (struct target_ops) <to_supports_non_stop>: Add
11257 argument.
11258 * target.c (find_default_supports_non_stop): Add argument.
11259 (target_supports_non_stop): Add argument.
11260 (find_default_supports_non_stop): Add 'self' argument.
11261 * remote.c (remote_supports_non_stop): Add 'self' argument.
11262 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
11263
4ab76ea3
TT
112642014-02-19 Tom Tromey <tromey@redhat.com>
11265
11266 * target.h (struct target_ops) <to_log_command>: Add argument.
11267 (target_log_command): Add argument.
11268 * serial.h (serial_log_command): Add 'self' argument.
11269 * serial.c (serial_log_command): Add 'self' argument.
11270
8dd27370
TT
112712014-02-19 Tom Tromey <tromey@redhat.com>
11272
11273 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
11274 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
11275 argument.
11276 (target_pid_to_exec_file): Add argument.
11277 * target.c (debug_to_pid_to_exec_file): Add argument.
11278 (update_current_target): Update.
11279 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
11280 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
11281 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
11282 (linux_handle_extended_wait): Update.
11283 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
11284 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
11285 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
11286 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
11287
1aac633b
TT
112882014-02-19 Tom Tromey <tromey@redhat.com>
11289
11290 * target.h (struct target_ops) <to_rcmd>: Add argument.
11291 (target_rcmd): Add argument.
11292 * target.c (debug_to_rcmd): Add argument.
11293 (update_current_target, do_monitor_command): Update.
11294 * remote.c (remote_rcmd): Add 'self' argument.
11295 * monitor.c (monitor_rcmd): Add 'self' argument.
11296
1eab8a48
TT
112972014-02-19 Tom Tromey <tromey@redhat.com>
11298
11299 * windows-nat.c (windows_stop): Add 'self' argument.
11300 * target.h (struct target_ops) <to_stop>: Add argument.
11301 * target.c (target_stop): Add argument.
11302 (debug_to_stop): Add argument.
11303 (update_current_target): Update.
11304 * remote.c (remote_stop): Add 'self' argument.
11305 * remote-sim.c (gdbsim_stop): Add 'self' argument.
11306 (gdbsim_cntrl_c): Update.
11307 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
11308 * procfs.c (procfs_stop): Add 'self' argument.
11309 * nto-procfs.c (procfs_stop): Add 'self' argument.
11310 * monitor.c (monitor_stop): Add 'self' argument.
11311 (monitor_open): Update.
11312 * linux-nat.c (linux_nat_stop): Add argument.
11313 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
11314 * gnu-nat.c (gnu_stop): Add 'self' argument.
11315 * darwin-nat.c (darwin_stop): Add 'self' argument.
11316
503a628d
TT
113172014-02-19 Tom Tromey <tromey@redhat.com>
11318
11319 * target.h (struct target_ops) <to_thread_name>: Add argument.
11320 * target.c (target_thread_name): Add argument.
11321 (update_current_target): Update.
11322 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
11323
c15906d8
TT
113242014-02-19 Tom Tromey <tromey@redhat.com>
11325
11326 * target.h (struct target_ops) <to_extra_thread_info>: Add
11327 argument.
11328 (target_extra_thread_info): Add argument.
11329 * target.c (update_current_target): Update.
11330 * remote.c (remote_threads_extra_info): Add 'self' argument.
11331 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
11332 argument.
11333 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
11334 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
11335 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
11336 argument.
11337 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
11338 argument.
11339 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
11340 argument.
11341 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
11342 argument.
11343
daf5e9b6
TT
113442014-02-19 Tom Tromey <tromey@redhat.com>
11345
11346 * target.h (struct target_ops) <to_program_signals>: Add argument.
11347 * target.c (target_program_signals): Add argument.
11348 * remote.c (remote_program_signals): Add 'self' argument.
11349
94bedb42
TT
113502014-02-19 Tom Tromey <tromey@redhat.com>
11351
11352 * target.h (struct target_ops) <to_pass_signals>: Add argument.
11353 * target.c (target_pass_signals): Add argument.
11354 * remote.c (remote_pass_signals): Add 'self' argument.
11355 (remote_start_remote): Update.
11356 * procfs.c (procfs_pass_signals): Add 'self' argument.
11357 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
11358 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
11359 (linux_nat_create_inferior, linux_nat_attach): Update.
11360
da82bd6b
TT
113612014-02-19 Tom Tromey <tromey@redhat.com>
11362
11363 * windows-nat.c (windows_can_run): Add 'self' argument.
11364 * target.h (struct target_ops) <to_can_run>: Add argument.
11365 (target_can_run): Add argument.
11366 * target.c (debug_to_can_run): Add argument.
11367 (update_current_target): Update.
11368 * nto-procfs.c (procfs_can_run): Add 'self' argument.
11369 * inf-child.c (inf_child_can_run): Add 'self' argument.
11370 * go32-nat.c (go32_can_run): Add 'self' argument.
11371
d796e1d6
TT
113722014-02-19 Tom Tromey <tromey@redhat.com>
11373
11374 * target.h (struct target_ops) <to_has_exited>: Add argument.
11375 (target_has_exited): Add argument.
11376 * target.c (debug_to_has_exited): Add argument.
11377 (update_current_target): Update.
11378
ff214e67
TT
113792014-02-19 Tom Tromey <tromey@redhat.com>
11380
11381 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
11382 argument.
11383 (target_set_syscall_catchpoint): Add argument.
11384 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
11385 argument.
11386 * target.c (update_current_target): Update.
11387
758e29d2
TT
113882014-02-19 Tom Tromey <tromey@redhat.com>
11389
11390 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
11391 argument.
11392 (target_remove_exec_catchpoint): Add argument.
11393 * target.c (debug_to_remove_exec_catchpoint): Add argument.
11394 (update_current_target): Update.
11395 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
11396 argument.
11397
ba025e51
TT
113982014-02-19 Tom Tromey <tromey@redhat.com>
11399
11400 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
11401 argument.
11402 (target_insert_exec_catchpoint): Add argument.
11403 * target.c (debug_to_insert_exec_catchpoint): Add argument.
11404 (update_current_target): Update.
11405 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
11406 argument.
11407
e98cf0cd
TT
114082014-02-19 Tom Tromey <tromey@redhat.com>
11409
11410 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
11411 argument.
11412 (target_remove_vfork_catchpoint): Add argument.
11413 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
11414 (update_current_target): Update.
11415 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
11416 argument.
11417
3ecc7da0
TT
114182014-02-19 Tom Tromey <tromey@redhat.com>
11419
11420 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
11421 argument.
11422 (target_insert_vfork_catchpoint): Add argument.
11423 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
11424 (update_current_target): Update.
11425 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
11426 argument.
11427
973fc227
TT
114282014-02-19 Tom Tromey <tromey@redhat.com>
11429
11430 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
11431 argument.
11432 (target_remove_fork_catchpoint): Add argument.
11433 * target.c (debug_to_remove_fork_catchpoint): Add argument.
11434 (update_current_target): Update.
11435 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
11436 argument.
11437
a863b201
TT
114382014-02-19 Tom Tromey <tromey@redhat.com>
11439
11440 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
11441 argument.
11442 (target_insert_fork_catchpoint): Add argument.
11443 * target.c (debug_to_insert_fork_catchpoint): Add argument.
11444 (update_current_target): Update.
11445 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
11446 argument.
11447
2e97a79e
TT
114482014-02-19 Tom Tromey <tromey@redhat.com>
11449
11450 * target.h (struct target_ops) <to_post_startup_inferior>: Add
11451 argument.
11452 (target_post_startup_inferior): Add argument.
11453 * target.c (debug_to_post_startup_inferior): Add argument.
11454 (update_current_target): Update.
11455 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
11456 argument.
11457 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
11458 argument.
11459 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
11460 argument.
11461 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
11462 argument.
11463 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
11464 'self' argument.
11465 (super_post_startup_inferior): Likewise.
11466 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
11467 'self' argument.
11468 (super_post_startup_inferior): Likewise.
11469 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
11470 Add 'self' argument.
11471 (super_post_startup_inferior): Likewise.
11472
71a9f134
TT
114732014-02-19 Tom Tromey <tromey@redhat.com>
11474
11475 * target.h (struct target_ops) <to_load>: Add argument.
11476 * target.c (target_load): Add argument.
11477 (debug_to_load): Add argument.
11478 (update_current_target): Update.
11479 * remote.c (remote_load): Add 'self' argument.
11480 * remote-sim.c (gdbsim_load): Add 'self' argument.
11481 * remote-mips.c (mips_load): Add 'self' argument.
11482 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
11483 * monitor.c (monitor_load): Add 'self' argument.
11484 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
11485
0a4f40a2
TT
114862014-02-19 Tom Tromey <tromey@redhat.com>
11487
11488 * target.h (struct target_ops) <to_terminal_info>: Add argument.
11489 (target_terminal_info): Add argument.
11490 * target.c (debug_to_terminal_info): Add argument.
11491 (default_terminal_info): Likewise.
11492 * inflow.c (child_terminal_info): Add 'self' argument.
11493 * inferior.h (child_terminal_info): Add 'self' argument.
11494 * go32-nat.c (go32_terminal_info): Add 'self' argument.
11495
ae3bd431
TT
114962014-02-19 Tom Tromey <tromey@redhat.com>
11497
11498 * target.h (struct target_ops) <to_terminal_save_ours>: Add
11499 argument.
11500 (target_terminal_save_ours): Add argument.
11501 * target.c (debug_to_terminal_save_ours): Add argument.
11502 (update_current_target): Update.
11503 * inflow.c (terminal_save_ours): Add 'self' argument.
11504 * inferior.h (terminal_save_ours): Add 'self' argument.
11505
e3594fd1
TT
115062014-02-19 Tom Tromey <tromey@redhat.com>
11507
11508 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
11509 (target_terminal_ours): Add argument.
11510 * target.c (debug_to_terminal_ours): Add argument.
11511 (update_current_target): Update.
11512 * remote.c (remote_terminal_ours): Add 'self' argument.
11513 (remote_close): Update.
11514 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
11515 * inflow.c (terminal_ours): Add 'self' argument.
11516 * inferior.h (terminal_ours): Add 'self' argument.
11517 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11518
2e1e1a19
TT
115192014-02-19 Pedro Alves <palves@redhat.com>
11520 Tom Tromey <tromey@redhat.com>
11521
11522 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
11523 argument.
11524 (target_terminal_ours_for_output): Add argument.
11525 * target.c (debug_to_terminal_ours_for_output): Add argument.
11526 (update_current_target): Update.
11527 * inflow.c (terminal_ours_for_output): Add 'self' argument.
11528 * inferior.h (terminal_ours_for_output): Add 'self' argument.
11529 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11530
d2f640d4
TT
115312014-02-19 Tom Tromey <tromey@redhat.com>
11532
11533 * target.h (struct target_ops) <to_terminal_inferior>: Add
11534 argument.
11535 * target.c (target_terminal_inferior): Add argument.
11536 (update_current_target): Update.
11537 * remote.c (remote_terminal_inferior): Add 'self' argument.
11538 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
11539 * inflow.c (terminal_inferior): Add 'self' argument.
11540 * inferior.h (terminal_inferior): Add 'self' argument.
11541 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
11542 (go32_terminal_inferior): Add 'self' argument.
11543
c42bf286
TT
115442014-02-19 Tom Tromey <tromey@redhat.com>
11545
11546 * target.h (struct target_ops) <to_terminal_init>: Add argument.
11547 (target_terminal_init): Add argument.
11548 * target.c (debug_to_terminal_init): Add argument.
11549 (update_current_target): Update.
11550 * inflow.c (terminal_init_inferior): Add 'self' argument.
11551 * inferior.h (terminal_init_inferior): Add 'self' argument.
11552 * go32-nat.c (go32_terminal_init): Add 'self' argument.
11553 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
11554
c3a5ff89
TT
115552014-02-19 Tom Tromey <tromey@redhat.com>
11556
11557 * target.h (struct target_ops)
11558 <to_can_accel_watchpoint_condition>: Add argument.
11559 (target_can_accel_watchpoint_condition): Add argument.
11560 * target.c (debug_to_can_accel_watchpoint_condition): Add
11561 argument.
11562 (update_current_target): Update.
11563 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
11564 'self' argument.
11565
31568a15
TT
115662014-02-19 Tom Tromey <tromey@redhat.com>
11567
11568 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11569 Add argument.
11570 (target_region_ok_for_hw_watchpoint): Add argument.
11571 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
11572 (default_region_ok_for_hw_watchpoint): Add argument.
11573 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
11574 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
11575 argument.
11576 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
11577 argument.
11578 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
11579 argument.
11580 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
11581 'self' argument.
11582 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
11583 'self' argument.
11584 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
11585 'self' argument.
11586 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
11587 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
11588 'self' argument.
11589 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
11590 Add 'self' argument.
11591
7bb99c53
TT
115922014-02-19 Tom Tromey <tromey@redhat.com>
11593
11594 * target.h (struct target_ops) <to_insert_watchpoint>: Add
11595 argument.
11596 (target_insert_watchpoint): Add argument.
11597 * target.c (debug_to_insert_watchpoint): Add argument.
11598 (update_current_target): Update.
11599 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
11600 * remote.c (remote_insert_watchpoint): Add 'self' argument.
11601 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
11602 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
11603 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
11604 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
11605 argument.
11606 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
11607 (procfs_insert_hw_watchpoint): Add 'self' argument.
11608 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
11609 argument.
11610 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
11611 argument.
11612 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
11613 argument.
11614 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
11615 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
11616 argument.
11617 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
11618 'self' argument.
11619
11b5219a
TT
116202014-02-19 Tom Tromey <tromey@redhat.com>
11621
11622 * target.h (struct target_ops) <to_remove_watchpoint>: Add
11623 argument.
11624 (target_remove_watchpoint): Add argument.
11625 * target.c (debug_to_remove_watchpoint): Add argument.
11626 (update_current_target): Update.
11627 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
11628 * remote.c (remote_remove_watchpoint): Add 'self' argument.
11629 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
11630 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
11631 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
11632 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
11633 argument.
11634 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
11635 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
11636 argument.
11637 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
11638 argument.
11639 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
11640 argument.
11641 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
11642 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
11643 argument.
11644 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
11645 'self' argument.
11646
a64dc96c
TT
116472014-02-19 Tom Tromey <tromey@redhat.com>
11648
11649 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
11650 argument.
11651 (target_remove_hw_breakpoint): Add argument.
11652 * target.c (debug_to_remove_hw_breakpoint): Add argument.
11653 (update_current_target): Update.
11654 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
11655 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
11656 argument.
11657 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
11658 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
11659 argument.
11660 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
11661 'self' argument.
11662
23a26771
TT
116632014-02-19 Tom Tromey <tromey@redhat.com>
11664
11665 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
11666 argument.
11667 (target_insert_hw_breakpoint): Add argument.
11668 * target.c (debug_to_insert_hw_breakpoint): Add argument.
11669 (update_current_target): Update.
11670 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
11671 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
11672 argument.
11673 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
11674 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
11675 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
11676 argument.
11677 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
11678 'self' argument.
11679
5461485a
TT
116802014-02-19 Tom Tromey <tromey@redhat.com>
11681
11682 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
11683 argument.
11684 (target_can_use_hardware_watchpoint): Add argument.
11685 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
11686 (update_current_target): Update.
11687 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
11688 argument.
11689 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
11690 argument.
11691 * remote.c (remote_check_watch_resources): Add 'self' argument.
11692 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
11693 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
11694 argument.
11695 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
11696 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
11697 argument.
11698 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
11699 argument.
11700 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
11701 argument.
11702 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
11703 argument.
11704 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
11705 argument.
11706 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
11707 argument.
11708 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
11709 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
11710 argument.
11711 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
11712 'self' argument.
11713
f045800c
TT
117142014-02-19 Tom Tromey <tromey@redhat.com>
11715
11716 * target.h (struct target_ops) <to_post_attach>: Add argument.
11717 (target_post_attach): Add argument.
11718 * target.c (debug_to_post_attach): Add argument.
11719 (update_current_target): Update.
11720 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
11721 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
11722 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
11723 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
11724 * inf-child.c (inf_child_post_attach): Add 'self' argument.
11725
de90e03d
TT
117262014-02-19 Tom Tromey <tromey@redhat.com>
11727
11728 * windows-nat.c (windows_close): Add 'self' argument.
11729 * tracepoint.c (tfile_close): Add 'self' argument.
11730 * target.h (struct target_ops) <to_close>: Add argument.
11731 * target.c (target_close): Add argument.
11732 (update_current_target): Update.
11733 * remote.c (remote_close): Add 'self' argument.
11734 * remote-sim.c (gdbsim_close): Add 'self' argument.
11735 * remote-mips.c (mips_close): Add 'self' argument.
11736 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
11737 * record-full.c (record_full_close): Add 'self' argument.
11738 * record-btrace.c (record_btrace_close): Add 'self' argument.
11739 * monitor.h (monitor_close): Add 'self' argument.
11740 * monitor.c (monitor_close): Add 'self' argument.
11741 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
11742 * linux-nat.c (linux_nat_close): Add argument.
11743 * go32-nat.c (go32_close): Add 'self' argument.
11744 * exec.c (exec_close_1): Add 'self' argument.
11745 * ctf.c (ctf_close): Add 'self' argument.
11746 * corelow.c (core_close): Add 'self' argument.
11747 (core_close_cleanup): Update.
11748 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
11749 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
11750
9dd130a0
TT
117512014-02-19 Tom Tromey <tromey@redhat.com>
11752
11753 * remote.c (remote_load): New function.
11754 (init_remote_ops): Use it.
11755
46917d26
TT
117562014-02-19 Tom Tromey <tromey@redhat.com>
11757
11758 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
11759 argument.
11760 * common/linux-btrace.h (linux_supports_btrace): Update.
11761 * remote.c (remote_supports_btrace): Add "self" argument.
11762 * target-delegates.c: Rebuild.
11763 * target.c (target_supports_btrace): Remove.
11764 * target.h (struct target_ops) <to_supports_btrace>: Add
11765 target_ops argument.
11766 (target_supports_btrace): New define.
11767
6b84065d
TT
117682014-02-19 Tom Tromey <tromey@redhat.com>
11769
11770 * record-full.c (record_full_beneath_to_resume_ops)
11771 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
11772 (record_full_beneath_to_wait)
11773 (record_full_beneath_to_store_registers_ops)
11774 (record_full_beneath_to_store_registers)
11775 (record_full_beneath_to_xfer_partial_ops)
11776 (record_full_beneath_to_xfer_partial)
11777 (record_full_beneath_to_insert_breakpoint_ops)
11778 (record_full_beneath_to_insert_breakpoint)
11779 (record_full_beneath_to_remove_breakpoint_ops)
11780 (record_full_beneath_to_remove_breakpoint)
11781 (record_full_beneath_to_stopped_by_watchpoint)
11782 (record_full_beneath_to_stopped_data_address)
11783 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
11784 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
11785 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
11786 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
11787 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
11788 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
11789 (tmp_to_stopped_data_address, tmp_to_async): Remove.
11790 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
11791 (record_full_resume, record_full_wait_1)
11792 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
11793 (record_full_store_registers, record_full_xfer_partial)
11794 (record_full_insert_breakpoint, record_full_remove_breakpoint)
11795 (record_full_async, record_full_core_xfer_partial): Use target
11796 delegation.
11797 * target-delegates.c: Rebuild.
11798 * target.c (current_xfer_partial): Remove.
11799 (update_current_target): Do not INHERIT or de_fault
11800 to_insert_breakpoint, to_remove_breakpoint,
11801 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
11802 to_is_async_p, to_async. Do not set to_xfer_partial field.
11803 (default_xfer_partial): Simplify.
11804 (current_xfer_partial): Remove.
11805 (target_wait, target_resume): Simplify.
11806 (find_default_can_async_p, find_default_is_async_p): Update.
11807 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
11808 to_xfer_partial, to_stopped_by_watchpoint,
11809 to_stopped_data_address.
11810 (target_store_registers): Simplify.
11811 (forward_target_remove_breakpoint)
11812 (forward_target_insert_breakpoint): Remove.
11813 (target_remove_breakpoint, target_insert_breakpoint)
11814 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
11815 * target.h (struct target_ops) <to_resume, to_wait,
11816 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
11817 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
11818 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
11819 markup.
11820 (forward_target_remove_breakpoint)
11821 (forward_target_insert_breakpoint): Remove.
11822 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
11823 directly.
11824 (record_btrace_insert_breakpoint): Delegate directly.
11825
1101cb7b
TT
118262014-02-19 Tom Tromey <tromey@redhat.com>
11827
11828 PR build/7701:
11829 * target-delegates.c: New file.
11830 * target.c: Include target-delegates.c.
11831 (init_dummy_target): Call install_dummy_methods.
11832 (complete_target_initialization): Call install_delegators.
11833 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
11834 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
11835 * make-target-delegates: New file.
11836
8b06beed
TT
118372014-02-19 Tom Tromey <tromey@redhat.com>
11838
11839 * record.c (find_record_target): Use find_target_at.
11840 * target.c (find_target_at): New function.
11841 * target.h (find_target_at): Declare.
11842
6a109b6b
TT
118432014-02-19 Tom Tromey <tromey@redhat.com>
11844
11845 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
11846 Add 'ops' argument.
11847 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
11848 'ops' argument.
11849 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
11850 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
11851 'ops' argument.
11852 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
11853 argument.
11854 * linux-nat.c (save_sigtrap): Update.
11855 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
11856 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
11857 (linux_nat_close): Update.
11858 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
11859 argument.
11860 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
11861 argument.
11862 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
11863 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
11864 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
11865 (tmp_to_async): Add 'ops' argument.
11866 (record_full_stopped_by_watchpoint, record_full_async)
11867 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
11868 argument.
11869 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
11870 (m32r_stopped_by_watchpoint): Add 'ops' argument.
11871 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
11872 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
11873 (remote_is_async_p, remote_async): Add 'ops' argument.
11874 (remote_stopped_data_address): Update.
11875 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
11876 * target.c (update_current_target)
11877 (find_default_can_async_p, find_default_is_async_p): Update.
11878 (init_dummy_target): Update.
11879 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
11880 * target.h (struct target_ops) <to_stopped_by_watchpoint,
11881 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
11882 (target_can_async_p, target_is_async_p, target_async)
11883 (target_stopped_by_watchpoint): Update.
11884
e095146b
YQ
118852014-02-19 Yao Qi <yao@codesourcery.com>
11886
11887 PR gdb/16220
11888 * gdbarch.sh: Remove startup_gdbarch.
11889 * gdbarch.c: Regenerated.
11890 * gdbarch.h: Likewise.
11891
bc3c6b36
KB
118922014-02-17 Kevin Buettner <kevinb@redhat.com>
11893
11894 * rl78-tdep.c (rl78_g10_register_name): New function.
11895 (rl78_return_value): Add g10 support.
11896 (rl78_gdbarch_init): Register rl78_g10_register_name for the
11897 g10.
11898
98dc0167 118992014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
11900
11901 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
11902 (SUBDIR_GUILE_SRCS): Ditto.
11903 (scm-gsmob.o): Ditto.
11904
842c05cd
YQ
119052014-02-17 Yao Qi <yao@codesourcery.com>
11906
11907 * gnu-nat.c (ILL_RPC): Declare defined function.
11908
25c0bd04
YQ
119092014-02-17 Yao Qi <yao@codesourcery.com>
11910
11911 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
11912 mach_msg_type_number_t.
11913 (gnu_write_inferior): Likewise.
11914
a9a758e3
YQ
119152014-02-17 Yao Qi <yao@codesourcery.com>
11916
11917 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
11918 in format string.
11919 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
11920 (inf_validate_procs, inf_signal): Likewise.
11921 (S_exception_raise_request): Likewise.
11922 (do_mach_notify_dead_name): Likewise.
11923 (steal_exc_port): Likewise.
11924 (gnu_read_inferior): Change 'copy_count''s type to
11925 mach_msg_type_number_t.
11926 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
11927 format string.
11928
bae8023e
TS
119292014-02-16 Thomas Schwinge <thomas@codesourcery.com>
11930
c82f56d9
TS
11931 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
11932 flag. Adjust all users; in particular...
11933 (gnu_wait): ..., don't decrement its value in here...
11934 (gnu_create_inferior): ..., and instead set the flag in here,
11935 around the startup_inferior call, and call that one with
11936 START_INFERIOR_TRAPS_EXPECTED.
11937
3398af6a
TS
11938 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
11939 (ILL_RPC): ... new macro.
11940 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
11941 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
11942 (do_mach_notify_send_once, S_proc_setmsgport_reply)
11943 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
11944 functions with ILL_RPC macro.
11945 (S_proc_pid2task_reply, S_proc_task2pid_reply)
11946 (S_proc_task2proc_reply, S_proc_proc2task_reply)
11947 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
11948 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
11949 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
11950 (S_proc_getlogin_reply, S_proc_getsid_reply)
11951 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
11952 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
11953 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
11954 (S_proc_getnports_reply, S_proc_is_important_reply)
11955 (S_proc_get_code_reply): New stub functions, generated with
11956 ILL_RPC macro.
11957
d47642c9
TS
11958 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
11959 collected the type check structures.
11960
bae8023e
TS
11961 * reply_mig_hack.awk: Don't expect to see the auto keyword.
11962
8a55ffb0
DE
119632014-02-14 Doug Evans <dje@google.com>
11964
11965 * target.c (target_write_partial): Fix result type.
11966
c2853f3d
JM
119672014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
11968
11969 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
11970 the proper offsets to access fpregset_t.
11971
ac61d2db
SA
119722014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
11973
11974 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
11975 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
11976 * h8300-tdep.c (setmachinelist): Remove global.
11977 * hppa-tdep.c (hppa_sigtramp): Remove global.
11978 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
11979 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
11980 * ravenscar-thread.c (update_target_observer): Remove global.
11981 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
11982
9d2d0b8b
TT
119832014-02-12 Tom Tromey <tromey@redhat.com>
11984
11985 * common/rsp-low.c: Update comments.
11986 * common/rsp-low.h: Update comments.
11987
a7191e8b
TT
119882014-02-12 Tom Tromey <tromey@redhat.com>
11989
11990 * common/rsp-low.c (convert_ascii_to_int): Remove.
11991 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
11992
ff0e980e
TT
119932014-02-12 Tom Tromey <tromey@redhat.com>
11994
11995 * common/rsp-low.h (unhexify): Don't declare.
11996 * common/rsp-low.c (unhexify): Remove.
11997
e9371aff
TT
119982014-02-12 Tom Tromey <tromey@redhat.com>
11999
12000 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
12001 * common/rsp-low.c (convert_int_to_ascii): Remove.
12002
971dc0b8
TT
120032014-02-12 Tom Tromey <tromey@redhat.com>
12004
12005 * common/rsp-low.h (hexify): Don't declare.
12006 * common/rsp-low.c (hexify): Remove.
12007
0a822afb
TT
120082014-02-12 Tom Tromey <tromey@redhat.com>
12009
12010 * common/rsp-low.c (hexify): Never take strlen of argument.
12011
9f1b45b0
TT
120122014-02-12 Tom Tromey <tromey@redhat.com>
12013
12014 * common/rsp-low.c (bin2hex): Never take strlen of argument.
12015 * remote.c (extended_remote_run, remote_rcmd)
12016 (remote_download_trace_state_variable, remote_save_trace_data)
12017 (remote_set_trace_notes): Update.
12018 * tracepoint.c (encode_source_string, tfile_write_status)
12019 (tfile_write_uploaded_tsv): Update.
12020
9c3d6531
TT
120212014-02-12 Tom Tromey <tromey@redhat.com>
12022
12023 * tracepoint.c: Include rsp-low.h.
12024 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
12025 * remote.c: Include rsp-low.h.
12026 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
12027 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
12028 (remote_unescape_input): Move to common/rsp-low.c.
12029 * common/rsp-low.h: New file.
12030 * common/rsp-low.c: New file.
12031 * Makefile.in (SFILES): Add common/rsp-low.c.
12032 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
12033 (COMMON_OBS): Add rsp-low.o.
12034 (rsp-low.o): New target.
12035
01fd3ea5
TT
120362014-02-12 Tom Tromey <tromey@redhat.com>
12037
12038 * utils.h: Include print-utils.h.
12039 (host_address_to_string, plongest, pulongest, phex, phex_nz)
12040 (int_string, core_addr_to_string, core_addr_to_string_nz)
12041 (hex_string, hex_string_custom): Don't declare.
12042 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
12043 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
12044 (hex_string_custom, int_string, core_addr_to_string)
12045 (core_addr_to_string_nz, host_address_to_string): Move to
12046 common/print-utils.c.
12047 * common/print-utils.h: New file.
12048 * common/print-utils.c: New file
12049 * Makefile.in (SFILES): Add common/print-utils.c.
12050 (HFILES_NO_SRCDIR): Add common/print-utils.h.
12051 (COMMON_OBS): Add print-utils.o.
12052 (print-utils.o): New target.
12053
9fb50108
TT
120542014-02-12 Tom Tromey <tromey@redhat.com>
12055
12056 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
12057
0548b5db
MK
120582014-02-12 Mark Kettenis <kettenis@gnu.org>
12059
12060 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
12061
493443a4
MK
120622014-02-12 Mark Kettenis <kettenis@gnu.org>
12063
12064 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
12065 if a PT_IO ptrace request returns sucessfully but indicates that 0
12066 bytes were transferred.
12067
706d0883
PA
120682014-02-12 Pedro Alves <palves@redhat.com>
12069 Kevin Buettner <kevinb@redhat.com>
12070
12071 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
12072 TYPE_INSTANCE_FLAG_CODE_SPACE.
12073
5caa2f0b
PA
120742014-02-12 Pedro Alves <palves@redhat.com>
12075
12076 * h8300-tdep.c (pseudo_from_raw_register)
12077 (raw_from_pseudo_register): New functions.
12078 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
12079 them.
12080
76fd5f74
PA
120812014-02-12 Pedro Alves <palves@redhat.com>
12082
12083 * h8300-tdep.c (h8300_register_sim_regno): New function.
12084 (h8300_gdbarch_init): Install h8300_register_sim_regno as
12085 gdbarch_register_sim_regno hook.
12086
8f008406
SA
120872014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12088
12089 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
12090
195abc10
SA
120912014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12092
12093 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
12094
93ffa5b9
MK
120952014-02-12 Mark Kettenis <kettenis@gnu.org>
12096
12097 * obsd-tdep.h (obsd_init_abi): New prototype.
12098 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
12099 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
12100 (obsd_init_abi): New functions.
12101 * i386obsd-tdep.c: Include "obsd-tdep.h".
12102 (i386obsd_init_abi): Call obsd_init_abi.
12103 * amd64obsd-tdep.c: Include "obsd-tdep.h".
12104 (amd64obsd_init_abi): Call obsd_init_abi.
12105 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
12106 obsd-tdep.c to gdb_target_obs.
12107
49caec94
JM
121082014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
12109
12110 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
12111 double float arguments to 16-byte in the argument slots.
12112
e1402065
DE
121132014-02-11 Doug Evans <xdje42@gmail.com>
12114
12115 * configure.ac: Don't crash if pkg-config is not found and guile
12116 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
12117 in guile checks.
12118 * configure: Regenerate.
12119
edcc890f
YQ
121202014-02-11 Yao Qi <yao@codesourcery.com>
12121
12122 * aix-thread.c (aix_thread_xfer_partial): Update comments.
12123 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
12124 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12125 * gnu-nat.c (gnu_xfer_memory): Likewise.
12126 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12127 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12128 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12129 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12130
9b409511
YQ
121312014-02-11 Yao Qi <yao@codesourcery.com>
12132
12133 * target.h (enum target_xfer_error): Rename to ...
12134 (enum target_xfer_status): ... it. New. All users updated.
12135 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
12136 New.
12137 (TARGET_XFER_STATUS_ERROR_P): New macro.
12138 (target_xfer_error_to_string): Remove declaration.
12139 (target_xfer_status_to_string): Declare.
12140 (target_xfer_partial_ftype): Adjust it.
12141 (struct target_ops) <to_xfer_partial>: Return
12142 target_xfer_status. Add argument xfered_len. Update
12143 comments.
12144 * target.c (target_xfer_error_to_string): Rename to ...
12145 (target_xfer_status_to_string): ... it. New. All callers
12146 updated.
12147 (target_read_live_memory): Likewise. Call target_xfer_partial
12148 instead of target_read.
12149 (memory_xfer_live_readonly_partial): Return
12150 target_xfer_status. Add argument xfered_len.
12151 (raw_memory_xfer_partial): Likewise.
12152 (memory_xfer_partial_1): Likewise.
12153 (memory_xfer_partial): Likewise.
12154 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
12155 properly. Update debug message.
12156 (default_xfer_partial, current_xfer_partial): Likewise.
12157 (target_write_partial): Likewise.
12158 (target_read_partial): Likewise. All callers updated.
12159 (read_whatever_is_readable): Likewise.
12160 (target_write_with_progress): Likewise.
12161 (target_read_alloc_1): Likewise.
12162
12163 * aix-thread.c (aix_thread_xfer_partial): Likewise.
12164 * auxv.c (procfs_xfer_auxv): Likewise.
12165 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
12166 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12167 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12168 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
12169 * corefile.c (read_memory): Adjust.
12170 * corelow.c (core_xfer_partial): Likewise.
12171 * ctf.c (ctf_xfer_partial): Likewise.
12172 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
12173 updated.
12174 (darwin_xfer_partial): Likewise.
12175 * exec.c (section_table_xfer_memory_partial): Likewise. All
12176 callers updated.
12177 (exec_xfer_partial): Likewise.
12178 * exec.h (section_table_xfer_memory_partial): Update
12179 declaration.
12180 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
12181 negative.
12182 (gnu_xfer_partial): Likewise.
12183 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
12184 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
12185 (ia64_hpux_xfer_solib_got): Likewise.
12186 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
12187 type of 'partial_len' to ULONGEST.
12188 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12189 * linux-nat.c (linux_xfer_siginfo ): Likewise.
12190 (linux_nat_xfer_partial): Likewise.
12191 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
12192 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
12193 * monitor.c (monitor_xfer_memory): Likewise.
12194 (monitor_xfer_partial): Likewise.
12195 * procfs.c (procfs_xfer_partial): Likewise.
12196 * record-btrace.c (record_btrace_xfer_partial): Likewise.
12197 * record-full.c (record_full_xfer_partial): Likewise.
12198 (record_full_core_xfer_partial): Likewise.
12199 * remote-sim.c (gdbsim_xfer_memory): Likewise.
12200 (gdbsim_xfer_partial): Likewise.
12201 * remote.c (remote_write_bytes_aux): Likewise. All callers
12202 updated.
12203 (remote_write_bytes, remote_read_bytes): Likewise. All
12204 callers updated.
12205 (remote_flash_erase): Likewise. All callers updated.
12206 (remote_write_qxfer): Likewise. All callers updated.
12207 (remote_read_qxfer): Likewise. All callers updated.
12208 (remote_xfer_partial): Likewise.
12209 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12210 (rs6000_xfer_shared_libraries): Likewise.
12211 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12212 (sol_thread_xfer_partial): Likewise.
12213 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12214 (sparc_xfer_partial): Likewise.
12215 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
12216 updated.
12217 (spu_xfer_partial): Likewise.
12218 * spu-multiarch.c (spu_xfer_partial): Likewise.
12219 * tracepoint.c (tfile_xfer_partial): Likewise.
12220 * windows-nat.c (windows_xfer_memory): Likewise.
12221 (windows_xfer_shared_libraries): Likewise.
12222 (windows_xfer_partial): Likewise.
12223 * valprint.c: Replace 'target_xfer_error' with
12224 'target_xfer_status' in comments.
12225
a8e63083
JB
122262014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
12227
12228 Checked in by Joel Brobecker <brobecker@adacore.com>.
12229 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
12230
e86b67d3
JB
122312014-02-11 Joel Brobecker <brobecker@adacore.com>
12232
12233 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
12234 function parameters.
12235
4b7d1f7f
WN
122362014-02-10 Will Newton <will.newton@linaro.org>
12237
12238 * elfread.c (elf_rel_plt_read): Look for a .got section if
12239 looking up .got.plt fails.
12240 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
12241 on address passed to elf_gnu_ifunc_record_cache.
12242 (elf_gnu_ifunc_resolve_addr): Likewise.
12243 (elf_gnu_ifunc_resolver_return_stop): Likewise.
12244
961842b2
JM
122452014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
12246
12247 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
12248 (X_RETTURN): New macro.
12249 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
12250
12251 * sparc64-tdep.c (sparc64_init_abi): Hook
12252 sparc_in_function_epilogue_p.
12253
3f03e7b1
GB
122542014-02-10 Gary Benson <gbenson@redhat.com>
12255
12256 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12257 Rename name_matcher to symbol_matcher.
12258
96f861ef
GB
122592014-02-10 Gary Benson <gbenson@redhat.com>
12260
12261 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12262 Use expand_symtabs_file_matcher_ftype and
12263 expand_symtabs_symbol_matcher_ftype.
12264
ee01b665
JB
122652014-02-10 Joel Brobecker <brobecker@adacore.com>
12266
12267 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
12268 (struct ada_symbol_cache): New.
12269 (ada_free_symbol_cache): Forward declare.
12270 (struct ada_pspace_data): New.
12271 (ada_pspace_data_handle): New static global.
12272 (get_ada_pspace_data, ada_pspace_data_cleanup)
12273 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
12274 (cache_space, cache): Delete, now folded inside struct
12275 ada_pspace_data.
12276 (ada_get_symbol_cache): New function.
12277 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
12278 implementation.
12279 (_initialize_ada_language): Remove initialization of cache_space.
12280 Move call to observer_attach_inferior_exit up, grouping it
12281 with the other observer registrations inside this function.
12282 Rename command to be more general. Add call to
12283 register_program_space_data_with_cleanup.
12284
143adbbf
JB
122852014-02-10 Joel Brobecker <brobecker@adacore.com>
12286
12287 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
12288 ada_new_objfile_observer.
12289 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
12290 (_initialize_tasks): Update uses of ada_new_objfile_observer
12291 and ada_tasks_normal_stop_observer.
12292
aa4fb036
JB
122932014-02-10 Joel Brobecker <brobecker@adacore.com>
12294
12295 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
12296 returned by the 'Length attribute to integer.
12297
9dee8cc6
JB
122982014-02-10 Joel Brobecker <brobecker@adacore.com>
12299
12300 * ada-lang.c (_initialize_ada_language): Initialize
12301 cache_space obstack.
12302
3d9434b5
JB
123032014-02-10 Joel Brobecker <brobecker@adacore.com>
12304
12305 * ada-lang.c (HASH_SIZE): New macro.
12306 (struct cache_entry): New type.
12307 (cache_space, cache): New static globals.
12308 (ada_clear_symbol_cache, find_entry): New functions.
12309 (lookup_cached_symbol, cache_symbol): Implement.
12310 (ada_new_objfile_observer, ada_free_objfile_observer): New.
12311 (_initialize_ada_language): Attach ada_new_objfile_observer
12312 and ada_free_objfile_observer.
12313
f0c5f9b2
JB
123142014-02-10 Joel Brobecker <brobecker@adacore.com>
12315
12316 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
12317 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
12318 struct block * parameter.
12319 (ada_lookup_symbol_list_worker): Constify local variable "block".
12320 Remove cast which is no longer necessary.
12321
ed3ef339
DE
123222014-02-10 Doug Evans <xdje42@gmail.com>
12323
12324 Add Guile as an extension language.
12325 * NEWS: Mention Guile scripting.
12326 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
12327 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
12328 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
12329 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
12330 (CLIBS): Add GUILE_LIBS.
12331 (install-guile): New rule.
12332 (guile.o): New rule.
12333 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
12334 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
12335 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
12336 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
12337 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
12338 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
12339 (scm-type.o, scm-utils.o, scm-value.o): New rules.
12340 * configure.ac: New option --with-guile.
12341 * configure: Regenerate.
12342 * config.in: Regenerate.
12343 * auto-load.c: Remove #include "python/python.h". Add #include
12344 "gdb/section-scripts.h".
12345 (source_section_scripts): Handle Guile scripts.
12346 (_initialize_auto_load): Add name of Guile objfile script to
12347 scripts-directory help text.
12348 * breakpoint.c (condition_command): Tweak comment to include Scheme.
12349 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
12350 (struct breakpoint): New member scm_bp_object.
12351 * defs.h (enum command_control_type): New value guile_control.
12352 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
12353 "extension.h".
12354 (show_user): Update comment.
12355 (_initialize_cli_cmds): Update help text for "show user". Update help
12356 text for max-user-call-depth.
12357 * cli/cli-script.c: Remove #include "python/python.h". Add #include
12358 "extension.h".
12359 (multi_line_command_p): Add guile_control.
12360 (print_command_lines): Handle guile_control.
12361 (execute_control_command, recurse_read_control_structure): Ditto.
12362 (process_next_line): Recognize "guile" commands.
12363 * disasm.c (gdb_disassemble_info): Make non-static.
12364 * disasm.h: #include "dis-asm.h".
12365 (struct gdbarch): Add forward decl.
12366 (gdb_disassemble_info): Declare.
12367 * extension.c: #include "guile/guile.h".
12368 (extension_languages): Add guile.
12369 (get_ext_lang_defn): Handle EXT_LANG_GDB.
12370 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
12371 * gdbtypes.c (get_unsigned_type_max): New function.
12372 (get_signed_type_minmax): New function.
12373 * gdbtypes.h (get_unsigned_type_max): Declare.
12374 (get_signed_type_minmax): Declare.
12375 * guile/README: New file.
12376 * guile/guile-internal.h: New file.
12377 * guile/guile.c: New file.
12378 * guile/guile.h: New file.
12379 * guile/scm-arch.c: New file.
12380 * guile/scm-auto-load.c: New file.
12381 * guile/scm-block.c: New file.
12382 * guile/scm-breakpoint.c: New file.
12383 * guile/scm-disasm.c: New file.
12384 * guile/scm-exception.c: New file.
12385 * guile/scm-frame.c: New file.
12386 * guile/scm-gsmob.c: New file.
12387 * guile/scm-iterator.c: New file.
12388 * guile/scm-lazy-string.c: New file.
12389 * guile/scm-math.c: New file.
12390 * guile/scm-objfile.c: New file.
12391 * guile/scm-ports.c: New file.
12392 * guile/scm-pretty-print.c: New file.
12393 * guile/scm-safe-call.c: New file.
12394 * guile/scm-string.c: New file.
12395 * guile/scm-symbol.c: New file.
12396 * guile/scm-symtab.c: New file.
12397 * guile/scm-type.c: New file.
12398 * guile/scm-utils.c: New file.
12399 * guile/scm-value.c: New file.
12400 * guile/lib/gdb.scm: New file.
12401 * guile/lib/gdb/boot.scm: New file.
12402 * guile/lib/gdb/experimental.scm: New file.
12403 * guile/lib/gdb/init.scm: New file.
12404 * guile/lib/gdb/iterator.scm: New file.
12405 * guile/lib/gdb/printing.scm: New file.
12406 * guile/lib/gdb/types.scm: New file.
12407 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
12408 (VPATH): Add $(GUILE_SRCDIR).
12409 (GUILE_DIR): New variable.
12410 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
12411 (all): Add stamp-guile dependency.
12412 (stamp-guile): New rule.
12413 (clean-guile, install-guile, uninstall-guile): New rules.
12414 (install-only): Add install-guile dependency.
12415 (uninstall): Add uninstall-guile dependency.
12416 (clean): Add clean-guile dependency.
12417
ac020ec5
DE
124182014-02-09 Doug Evans <xdje42@gmail.com>
12419
12420 Revert this patch (which I approved, mea culpa).
12421
12422 2014-02-08 Mark Kettenis <kettenis@gnu.org>
12423
12424 * Makefile.in (all-lib): Remove.
12425 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12426
2a081c59
JK
124272014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12428
12429 Fix Python stack corruption.
12430 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
12431 gdb_py_longest.
12432
0a6bd22d
MK
124332014-02-08 Mark Kettenis <kettenis@gnu.org>
12434
12435 * Makefile.in (all-lib): Remove.
12436 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12437
1a860409
DE
124382014-02-07 Doug Evans <dje@google.com>
12439
12440 * extension-priv.h (extension_language_script_ops): Add comment.
12441 (extension_language_ops): Add comment.
caf5a491 12442 (active_ext_lang_state): Fix typo in comment.
1a860409 12443
d137e6dc
PA
124442014-02-07 Pedro Alves <palves@redhat.com>
12445
0dcb32c3 12446 PR breakpoints/16292
d137e6dc
PA
12447 * infrun.c (handle_signal_stop) <signal arrives while stepping
12448 over a breakpoint>: Switch back to the stepping thread.
12449
ce6d0892
YQ
124502014-02-07 Yao Qi <yao@codesourcery.com>
12451
12452 * target.c (target_xfer_partial): Return zero if LEN is zero.
12453
2ed4b548
YQ
124542014-02-07 Yao Qi <yao@codesourcery.com>
12455
12456 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
12457 (ld_so_xfer_auxv): Likewise.
12458 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12459 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12460 * corelow.c (core_xfer_partial): Likewise.
12461 * ctf.c (ctf_xfer_partial): Likewise.
12462 * darwin-nat.c (darwin_read_dyld_info): Likewise.
12463 (darwin_xfer_partial): Likewise.
12464 * exec.c (exec_xfer_partial): Likewise.
12465 * gnu-nat.c (gnu_xfer_partial): Likewise.
12466 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
12467 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12468 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12469 * linux-nat.c (linux_xfer_siginfo): Likewise.
12470 (linux_proc_xfer_spu): Likewise.
12471 * procfs.c (procfs_xfer_partial): Likewise.
12472 * record-full.c (record_full_xfer_partial): Likewise.
12473 (record_full_core_xfer_partial): Likewise.
12474 * remote-sim.c (gdbsim_xfer_partial): Likewise.
12475 * remote.c (remote_write_qxfer): Likewise.
12476 (remote_write_qxfer, remote_read_qxfer): Likewise.
12477 (remote_xfer_partial): Likewise.
12478 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12479 (rs6000_xfer_shared_libraries): Likewise.
12480 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12481 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12482 (spu_xfer_partial): Likewise.
12483 * target.c (memory_xfer_partial_1): Likewise.
12484 * tracepoint.c (tfile_xfer_partial): Likewise.
12485 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
12486 (windows_xfer_partial): Likewise.
12487
c09f20e4
YQ
124882014-02-07 Yao Qi <yao@codesourcery.com>
12489
12490 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
12491 comments.
12492 (core_xfer_shared_libraries_aix): Likewise.
12493 * gdbarch.c, gdbarch.h: Regenerated.
12494 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
12495 ULONGEST. Change 'len_avail' type to ULONGEST.
12496 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12497 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12498 declaration.
12499 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
12500
8635b3bf
YQ
125012014-02-07 Yao Qi <yao@codesourcery.com>
12502
12503 * corefile.c (memory_error): Get 'exception' from ERR and pass
12504 'exception' to throw_error.
12505
6dddc817
DE
125062014-02-06 Doug Evans <xdje42@gmail.com>
12507
12508 * configure.ac (libpython checking): Remove all but python.o from
12509 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
12510 * configure: Regenerate.
12511
12512 * Makefile.in (SFILES): Add extension.c.
12513 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
12514 (COMMON_OBS): Add extension.o.
12515 * extension.h: New file.
12516 * extension-priv.h: New file.
12517 * extension.c: New file.
12518
12519 * python/python-internal.h: #include "extension.h".
12520 (gdbpy_auto_load_enabled): Declare.
12521 (gdbpy_apply_val_pretty_printer): Declare.
12522 (gdbpy_apply_frame_filter): Declare.
12523 (gdbpy_preserve_values): Declare.
12524 (gdbpy_breakpoint_cond_says_stop): Declare.
12525 (gdbpy_breakpoint_has_cond): Declare.
12526 (void source_python_script_for_objfile): Delete.
12527 * python/python.c: #include "extension-priv.h".
12528 Delete inclusion of "observer.h".
12529 (extension_language_python): Moved here and renamed from
12530 script_language_python in py-auto-load.c.
12531 Redefined to be of type extension_language_defn.
12532 (python_extension_script_ops): New global.
12533 (python_extension_ops): New global.
12534 (struct python_env): New member previous_active.
12535 (restore_python_env): Call restore_active_ext_lang.
12536 (ensure_python_env): Call set_active_ext_lang.
12537 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
12538 New arg extlang.
12539 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
12540 New arg extlang.
12541 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
12542 New arg extlang.
12543 (gdbpy_eval_from_control_command): Renamed from
12544 eval_python_from_control_command, made static. New arg extlang.
12545 (gdbpy_source_script) Renamed from source_python_script, made static.
12546 New arg extlang.
12547 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
12548 result to int. New arg extlang.
12549 (gdbpy_source_objfile_script): Renamed from
12550 source_python_script_for_objfile, made static. New arg extlang.
12551 (gdbpy_start_type_printers): Renamed from start_type_printers, made
12552 static. New args extlang, extlang_printers. Change result type to
12553 "void".
12554 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
12555 static. New arg extlang. Rename arg printers to extlang_printers
12556 and change type to ext_lang_type_printers *.
12557 (gdbpy_free_type_printers): Renamed from free_type_printers, made
12558 static. Replace argument arg with extlang, extlang_printers.
12559 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
12560 (!HAVE_PYTHON, source_python_script): Delete.
12561 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
12562 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
12563 (!HAVE_PYTHON, start_type_printers): Delete.
12564 (!HAVE_PYTHON, apply_type_printers): Delete.
12565 (!HAVE_PYTHON, free_type_printers): Delete.
12566 (_initialize_python): Delete call to observer_attach_before_prompt.
12567 (finalize_python): Set/restore active extension language.
12568 (gdbpy_finish_initialization) Renamed from
12569 finish_python_initialization, made static. New arg extlang.
12570 (gdbpy_initialized): New function.
12571 * python/python.h: #include "extension.h". Delete #include
12572 "value.h", "mi/mi-cmds.h".
12573 (extension_language_python): Declare.
12574 (GDBPY_AUTO_FILE_NAME): Delete.
12575 (enum py_bt_status): Moved to extension.h and renamed to
12576 ext_lang_bt_status.
12577 (enum frame_filter_flags): Moved to extension.h.
12578 (enum py_frame_args): Moved to extension.h and renamed to
12579 ext_lang_frame_args.
12580 (finish_python_initialization): Delete.
12581 (eval_python_from_control_command): Delete.
12582 (source_python_script): Delete.
12583 (apply_val_pretty_printer): Delete.
12584 (apply_frame_filter): Delete.
12585 (preserve_python_values): Delete.
12586 (gdbpy_script_language_defn): Delete.
12587 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
12588 (start_type_printers, apply_type_printers, free_type_printers): Delete.
12589
12590 * auto-load.c: #include "extension.h".
12591 (GDB_AUTO_FILE_NAME): Delete.
12592 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
12593 (script_language_gdb): Delete, moved to extension.c and renamed to
12594 extension_language_gdb.
12595 (source_gdb_script_for_objfile): Delete.
12596 (auto_load_pspace_info): New member unsupported_script_warning_printed.
12597 (loaded_script): Change type of language member to
12598 struct extension_language_defn *.
12599 (init_loaded_scripts_info): Initialize
12600 unsupported_script_warning_printed.
12601 (maybe_add_script): Make static. Change type of language arg to
12602 struct extension_language_defn *.
12603 (clear_section_scripts): Reset unsupported_script_warning_printed.
12604 (auto_load_objfile_script_1): Rewrite to use extension language API.
12605 (auto_load_objfile_script): Make public. Remove support-compiled-in
12606 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
12607 (source_section_scripts): Rewrite to use extension language API.
12608 (load_auto_scripts_for_objfile): Rewrite to use
12609 auto_load_scripts_for_objfile.
12610 (collect_matching_scripts_data): Change type of language member to
12611 struct extension_language_defn *.
12612 (auto_load_info_scripts): Change type of language arg to
12613 struct extension_language_defn *.
12614 (unsupported_script_warning_print): New function.
12615 (script_not_found_warning_print): Make static.
12616 (_initialize_auto_load): Rewrite construction of scripts-directory
12617 help.
12618 * auto-load.h (struct objfile): Add forward decl.
12619 (struct script_language): Delete.
12620 (struct auto_load_pspace_info): Add forward decl.
12621 (struct extension_language_defn): Add forward decl.
12622 (maybe_add_script): Delete.
12623 (auto_load_objfile_script): Declare.
12624 (script_not_found_warning_print): Delete.
12625 (auto_load_info_scripts): Update prototype.
12626 (auto_load_gdb_scripts_enabled): Declare.
12627 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
12628 auto_load_python_scripts_enabled and made public.
12629 (script_language_python): Delete, moved to python.c.
12630 (gdbpy_script_language_defn): Delete.
12631 (info_auto_load_python_scripts): Update to use
12632 extension_language_python.
12633
12634 * breakpoint.c (condition_command): Replace call to
12635 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
12636 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
12637 with call to breakpoint_ext_lang_cond_says_stop.
12638 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
12639 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
12640 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
12641 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
12642 New arg slang.
12643 (local_setattro): Print name of extension language with existing
12644 stop condition.
12645
12646 * valprint.c (val_print, value_print): Update to call
12647 apply_ext_lang_val_pretty_printer.
12648 * cp-valprint.c (cp_print_value): Update call to
12649 apply_ext_lang_val_pretty_printer.
12650 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
12651 (gdbpy_apply_val_pretty_printer): Renamed from
12652 apply_val_pretty_printer. New arg extlang.
12653 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
12654
12655 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
12656 extension language API.
12657 * cli/cli-script.c (execute_control_command): Update to call
12658 eval_ext_lang_from_control_command.
12659
12660 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
12661 enum ext_lang_bt_status values. Update call to
12662 apply_ext_lang_frame_filter.
12663 (mi_cmd_stack_list_locals): Ditto.
12664 (mi_cmd_stack_list_args): Ditto.
12665 (mi_cmd_stack_list_variables): Ditto.
12666 * mi/mi-main.c: Delete #include "python/python-internal.h".
12667 Add #include "extension.h".
12668 (mi_cmd_list_features): Replace reference to python internal variable
12669 gdb_python_initialized with call to ext_lang_initialized_p.
12670
12671 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
12672 Update to use enum ext_lang_frame_args. Update to call
12673 apply_ext_lang_frame_filter.
12674 * python/py-framefilter.c (extract_sym): Update to use enum
12675 ext_lang_bt_status.
12676 (extract_value, py_print_type, py_print_value): Ditto.
12677 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
12678 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
12679 (py_print_frame): Ditto.
12680 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
12681 New arg extlang. Update to use enum ext_lang_bt_status.
12682
12683 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
12684 finish_python_initialization. Replace with call to
12685 finish_ext_lang_initialization.
12686
12687 * typeprint.c (do_free_global_table): Update to call
12688 free_ext_lang_type_printers.
12689 (create_global_typedef_table): Update to call
12690 start_ext_lang_type_printers.
12691 (find_global_typedef): Update to call apply_ext_lang_type_printers.
12692 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
12693 (type_print_options): Change type of global_printers from "void *"
12694 to "struct ext_lang_type_printers *".
12695
12696 * value.c (preserve_values): Update to call preserve_ext_lang_values.
12697 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
12698 (gdbpy_preserve_values): Renamed from preserve_python_values.
12699 New arg extlang.
12700 (!HAVE_PYTHON, preserve_python_values): Delete.
12701
12702 * utils.c (quit_flag): Delete, moved to extension.c.
12703 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
12704 extension.c.
12705
12706 * eval.c: Delete #include "python/python.h".
12707 * main.c: Delete #include "python/python.h".
12708
12709 * defs.h: Update comment.
12710
6af79985
JB
127112014-02-06 Joel Brobecker <brobecker@adacore.com>
12712
12713 GDB 7.7 released.
12714
12c5175d
MK
127152014-02-05 Mark Kettenis <kettenis@gnu.org>
12716
12717 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
12718 defined.
12719
8dc5b319
YQ
127202014-02-05 Yao Qi <yao@codesourcery.com>
12721
12722 * remote.c (remote_pass_signals): Remove local 'buf' and use
12723 rs->buf.
12724 (remote_program_signals): Likewise.
12725
de7b2893
YQ
127262014-02-05 Yao Qi <yao@codesourcery.com>
12727
12728 * ctf.c: Include "inferior.h" and "gdbthread.h".
12729 (CTF_PID): A new macro.
12730 (ctf_open): Call inferior_appeared and add_thread_silent.
12731 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
12732 (ctf_thread_alive): New function.
12733 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
12734
66d032ac
YQ
127352014-02-05 Yao Qi <yao@codesourcery.com>
12736
12737 Revert this patch:
12738
12739 2013-05-24 Yao Qi <yao@codesourcery.com>
12740
12741 * tracepoint.c (TFILE_PID): Remove.
12742 (tfile_open): Don't add thread and inferior.
12743 (tfile_close): Don't set 'inferior_ptid'. Don't call
12744 exit_inferior_silent.
12745 (tfile_thread_alive): Remove.
12746 (init_tfile_ops): Don't set field 'to_thread_alive' of
12747 tfile_ops.
12748
f4ccffad
CE
127492014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
12750
12751 * remote.c (remote_start_remote): Call remote_check_symbols even
12752 if only symbol-file (not file) has been given.
12753
591a12a1
UW
127542014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12755
12756 * gdbarch.sh (skip_entrypoint): New callback.
12757 * gdbarch.c, gdbarch.h: Regenerate.
12758 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
12759 * infrun.c (fill_in_stop_func): Likewise.
12760 * ppc-linux-tdep.c: Include "elf/ppc64.h".
12761 (ppc_elfv2_elf_make_msymbol_special): New function.
12762 (ppc_elfv2_skip_entrypoint): Likewise.
12763 (ppc_linux_init_abi): Install them for ELFv2.
12764
cc0e89c5
UW
127652014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12766
12767 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
12768 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
12769 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
12770 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
12771 structures returned in GPRs.
12772
52f548e4
UW
127732014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12774
12775 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
12776 offset to the stack parameter list for the ELFv2 ABI.
12777
d4094b6a
UW
127782014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12779
12780 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
12781 set_gdbarch_convert_from_func_ptr_addr and
12782 set_gdbarch_elf_make_msymbol_special for ELFv1.
12783 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
12784 function descriptors on ELFv1.
12785 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
12786 set up r12 at function entry.
12787
cd453cd0
UW
127882014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12789
12790 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
12791 (struct gdbarch_tdep): New member elf_abi.
12792
12793 * rs6000-tdep.c: Include "elf/ppc64.h".
12794 (rs6000_gdbarch_init): Detect ELF ABI version.
12795
0ff3e01f
UW
127962014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12797
12798 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
12799 within a register pair holding a DFP 128-bit value on little-endian.
12800 (ppc64_sysv_abi_return_value_base): Likewise.
12801 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
12802 (dfp_pseudo_register_write): Likewise.
12803
5b757e5d
UW
128042014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12805
12806 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
12807 offset on little-endian when passing _Decimal32.
12808 (ppc64_sysv_abi_return_value_base): Likewise for return values.
12809
084ee545
UW
128102014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12811
12812 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
12813 of the overlapped FP register within the VSX register on little-
12814 endian platforms.
12815 (efpr_pseudo_register_write): Likewise.
12816
d63167af
UW
128172014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12818
12819 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
12820 offset on little-endian when passing small structures.
12821
e765b44c
UW
128222014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12823
12824 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
12825 (struct ppc64_sysv_argpos): New data structure.
12826 (ppc64_sysv_abi_push_float): Remove.
12827 (ppc64_sysv_abi_push_val): New function.
12828 (ppc64_sysv_abi_push_integer): Likewise.
12829 (ppc64_sysv_abi_push_freg): Likewise.
12830 (ppc64_sysv_abi_push_vreg): Likewise.
12831 (ppc64_sysv_abi_push_param): Likewise.
12832 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
12833 (ppc64_sysv_abi_return_value_base): New function.
12834 (ppc64_sysv_abi_return_value): Refactor to use it.
12835
36c24d95
UW
128362014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12837
12838 * NEWS: Document new target powerpc64le-*-linux*.
12839
26fd9228
MK
128402014-02-04 Mark Kettenis <kettenis@gnu.org>
12841
12842 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
12843 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
12844 core dumps.
12845 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
12846 register set used in ELF core dumps. Add floating-point register set.
12847
c5bb7362
KB
128482014-02-03 Kevin Buettner <kevinb@redhat.com>
12849
74228e77 12850 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
12851 dwarf2_to_gdb[] table using symbolic constants. Adjust
12852 penultimate entry from number representing the PC register
12853 to symbolic constant representing the MDR register. Add
12854 constant for the PC register to the end of the table.
12855
af09351e
MK
128562014-02-03 Mark Kettenis <kettenis@gnu.org>
12857
12858 * bsd-kvm.c: Include <sys/param.h>
12859
8507e05d
MK
128602014-02-03 Mark Kettenis <kettenis@gnu.org>
12861
12862 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
12863
ae56bfb8
JB
128642014-01-31 Joel Brobecker <brobecker@adacore.com>
12865
12866 * ada-lang.h (clear_ada_sym_cache): Delete.
12867
718ee4dc
UW
128682014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
12869
12870 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
12871
401e27fd
JM
128722014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
12873
12874 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
12875 the sigreturn register save area only if the syscall is
12876 sigreturn.
12877
a7c88acd
JB
128782014-01-29 Joel Brobecker <brobecker@adacore.com>
12879
12880 * valops.c (value_slice): Minor reformatting.
12881
fa0079ea
UW
128822014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
12883
12884 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
12885
c6044dd1
JB
128862014-01-28 Joel Brobecker <brobecker@adacore.com>
12887
12888 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
12889 New static globals.
12890 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
12891 (ada_ignore_descriptive_types_p): New static global.
12892 (find_parallel_type_by_descriptive_type): Return immediately
12893 if ada_ignore_descriptive_types_p is set.
12894 (_initialize_ada_language): Register new commands "maintenance
12895 set ada", "maintenance show ada", "maintenance set ada
12896 ignore-descriptive-types" and "maintenance show ada
12897 ignore-descriptive-types".
12898 * NEWS: Add entry for new "maint ada set/show
12899 ignore-descriptive-types" commands.
12900
568e808b
MM
129012014-01-27 Markus Metzger <markus.t.metzger@intel.com>
12902
12903 * record-btrace.c (record_btrace_close): Call btrace_teardown
12904 for all threads.
12905
467d141b
JB
129062014-01-27 Joel Brobecker <brobecker@adacore.com>
12907
12908 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
12909 "ui-out.h".
12910
fb151210
JB
129112014-01-27 Joel Brobecker <brobecker@adacore.com>
12912
12913 * ada-typeprint (type_is_full_subrange_of_target_type):
12914 New function.
12915 (print_range): Add parameter bounds_prefered_p. If not set,
12916 try printing range types using the name of their base type.
12917 (print_range_type): Add parameter bounds_prefered_p.
12918 Use it in call to print_range.
12919 (print_array_type, ada_print_type): Update calls to print_range
12920 and print_range_type.
12921
aba02109
JB
129222014-01-27 Joel Brobecker <brobecker@adacore.com>
12923
12924 * ada-typeprint.c (print_array_type, print_choices, print_range)
12925 (print_range_bound, print_dynamic_range_bound, print_range_type):
12926 Remove declaration.
12927
e62e21fd
JB
129282014-01-27 Joel Brobecker <brobecker@adacore.com>
12929
12930 * ada-typeprint.c (print_range): Add missing empty line
12931 after local declaration.
12932
859cf5d1
JB
129332014-01-27 Joel Brobecker <brobecker@adacore.com>
12934
12935 * ada-valprint.c (print_optional_low_bound): Get index_type's
12936 target type for as long as it is a TYPE_CODE_RANGE.
12937
25790f6f
JB
129382014-01-27 Joel Brobecker <brobecker@adacore.com>
12939
12940 * procfs.c (procfs_make_note_section): Remove assertion and
12941 associated comment.
12942
6b6aa828
YQ
129432014-01-24 Yao Qi <yao@codesourcery.com>
12944
12945 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
12946 * corelow.c (get_core_siginfo): Likewise.
12947
5d6df423
YQ
129482014-01-24 Yao Qi <yao@codesourcery.com>
12949
12950 * remote.c (remote_write_bytes_aux): Change type of 'len' to
12951 ULONGEST. Don't check 'len' is negative.
12952 (remote_write_bytes): Change type of 'len' to ULONGEST.
12953
83b645b8
TT
129542014-01-23 Tom Tromey <tromey@redhat.com>
12955
12956 PR python/16485:
12957 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
12958 Handle exception from frame.block.
12959 (FrameVars.fetch_frame_locals): Likewise.
12960
0740f8d8
TT
129612014-01-23 Tom Tromey <tromey@redhat.com>
12962
12963 PR python/16487:
12964 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
12965 on a NULL pointer. Move "goto error" to correct place.
12966
21909fa1
TT
129672014-01-23 Tom Tromey <tromey@redhat.com>
12968
12969 PR python/16491:
12970 * python/py-framefilter.c (apply_frame_filter): Call
12971 ensure_python_env after computing gdbarch.
12972
17fde6d0
YQ
129732014-01-23 Yao Qi <yao@codesourcery.com>
12974
12975 * target.c (raw_memory_xfer_partial): Change argument type
12976 from void * to gdb_byte *.
12977 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
12978
87ce2a04
DE
129792014-01-22 Doug Evans <dje@google.com>
12980
12981 New gdbserver option --debug-format=timestamp.
12982 * NEWS: Mention it.
12983
237b092b
AA
129842014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12985
12986 * syscalls/s390x-linux.xml: New file.
12987 * syscalls/s390-linux.xml: New file.
12988 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
12989 (XML_SYSCALL_FILENAME_S390X): Likewise.
12990 (op_svc): New enum value for SVC opcode.
12991 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
12992 (s390_linux_get_syscall_number): New function.
12993 (s390_gdbarch_init): Register '*get_syscall_number' and the
12994 syscall xml file name.
12995 * data-directory/Makefile.in (SYSCALLS_FILES): Add
12996 "s390-linux.xml" and "s390x-linux.xml".
12997 * NEWS: Announce new feature.
12998
54bff650
BS
129992014-01-22 Baruch Siach <baruch@tkos.co.il>
13000
13001 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
13002
14e361d7
PA
130032014-01-22 Pedro Alves <palves@redhat.com>
13004
13005 * xtensa-config.c: Include defs.h.
13006
46bbb3ed
JB
130072014-01-22 Joel Brobecker <brobecker@adacore.com>
13008
13009 * common/common-utils.h: Add "ARI:" comment beside __func__
13010 reference.
13011
3a80edfc
JB
130122014-01-22 Joel Brobecker <brobecker@adacore.com>
13013
13014 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
13015 documentation a bit.
13016
4869db5e
RM
130172014-01-21 Roland McGrath <mcgrathr@google.com>
13018
13019 * configure.ac: Call AM_PROG_INSTALL_STRIP.
13020 * configure: Regenerate.
13021 * aclocal.m4: Regenerate.
13022 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
13023 New substituted variables.
13024 (install-strip): New target.
13025 (INSTALL_SCRIPT): New substituted variable.
13026 (FLAGS_TO_PASS): Add it.
13027 (install-only): Use $(INSTALL_SCRIPT) rather than
13028 $(INSTALL_PROGRAM) for gcore.
13029
9ea4267d
TT
130302014-01-20 Tom Tromey <tromey@redhat.com>
13031
13032 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
13033 together.
13034
1f2bdf09
TT
130352014-01-20 Tom Tromey <tromey@redhat.com>
13036
13037 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
13038 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
13039 (deprecated_cmd_warning, complete_on_cmdlist): Update.
13040 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
13041 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
13042 (struct cmd_list_element) <flags>: Remove.
13043 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
13044 doc_allocated>: New fields.
13045 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
13046 bitfields.
13047 * maint.c (maintenance_do_deprecate): Update.
13048 * top.c (execute_command): Update.
13049
e671835b
BS
130502014-01-20 Baruch Siach <baruch@tkos.co.il>
13051
13052 * xtensa-linux-nat.c: Include asm/ptrace.h.
13053
50367cd2
IB
130542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13055
13056 * Makefile.in (SFILES): Add d-support.c.
13057 (COMMON_OBS): Add d-support.o.
13058 * d-lang.h (d_parse_symbol): Add comment, now defined in
13059 d-support.c.
13060 * d-lang.c (parse_call_convention)
13061 (parse_attributes, parse_function_types)
13062 (parse_function_args, parse_type, parse_identifier)
13063 (call_convention_p, d_parse_symbol): Move functions to ...
13064 * d-support.c: ... New file.
13065
ec9f644a
IB
130662014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13067
13068 * d-lang.h (d_parse_symbol): Add declaration.
13069 * d-lang.c (extract_identifiers)
13070 (extract_type_info): Remove functions.
13071 (parse_call_convention, parse_attributes)
13072 (parse_function_types, parse_function_args)
13073 (parse_type, parse_identifier, call_convention_p)
13074 (d_parse_symbol): New functions.
13075 (d_demangle): Use d_parse_symbol to demangle D symbols.
13076
94b1b47e
IB
130772014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13078
13079 * d-lang.h (struct builtin_d_type): New data type.
13080 (builtin_d_type): Add declaration.
13081 * d-lang.c (d_language_arch_info, build_d_types)
13082 (builtin_d_type): New functions.
13083 (enum d_primitive_types): New data type.
13084 (d_language_defn): Change c_language_arch_info to
13085 d_language_arch_info.
13086 (d_type_data): New static variable.
13087 (_initialize_d_language): Initialize d_type_data.
13088
63778547
IB
130892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13090
13091 * d-lang.h (d_main_name): Add declaration.
13092 * d-lang.c (d_main_name): New function.
13093 * symtab.c (find_main_name): Add call to d_main_name.
13094
3271ba66
IB
130952014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13096
13097 * d-lang.c (d_language_defn): Change macro_expansion_c to
13098 macro_expansion_no.
13099
d36b3012
IB
131002014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13101
13102 * MAINTAINERS: Add myself as a write-after-approval maintainer.
13103
c90a6fb7
SDJ
131042014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
13105
13106 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
13107 gdb_exception" declaration.
13108 * remote.c (getpkt_or_notif_sane): Likewise.
13109
749234e5
DE
131102014-01-17 Doug Evans <dje@google.com>
13111
13112 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
13113 function, contents of dirnames_to_char_ptr_vec_append moved here.
13114 (delim_string_to_char_ptr_vec): New function.
13115 (dirnames_to_char_ptr_vec_append): Rewrite.
13116 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
13117
df049a58
DE
131182014-01-17 Doug Evans <dje@google.com>
13119
13120 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
13121 and moved here ...
13122 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
13123 #include "common-utils.h".
13124 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
13125 * common/vec.h (VEC_ASSERT_PASS): Update.
13126 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
13127 (MACH_CHECK_ERROR): Update.
13128
69f97648
SM
131292014-01-17 Simon Marchi <simon.marchi@ericsson.com>
13130
13131 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
13132 comments.
13133 * gdbarch.h: Regenerate.
13134
98b1cfdc
TT
131352014-01-16 Tom Tromey <tromey@redhat.com>
13136
13137 * value.c (struct value) <regnum>: Move earlier.
13138
77a19445
TT
131392014-01-16 Tom Tromey <tromey@redhat.com>
13140
13141 * remote.c (extended_remote_create_inferior): Rename from
13142 extended_remote_create_inferior_1. Add "ops" argument. Remove
13143 old implementation.
13144
62261490
PA
131452014-01-16 Pedro Alves <palves@redhat.com>
13146
13147 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
13148 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
13149 the backchain.
13150
4d65956b
DE
131512014-01-16 Doug Evans <dje@google.com>
13152
13153 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
13154
52834460
MM
131552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13156
13157 * btrace.h (btrace_thread_flag): New.
13158 (struct btrace_thread_info) <flags>: New.
13159 * record-btrace.c (record_btrace_resume_thread)
13160 (record_btrace_find_thread_to_move, btrace_step_no_history)
13161 (btrace_step_stopped, record_btrace_start_replaying)
13162 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
13163 (record_btrace_find_resume_thread): New.
13164 (record_btrace_resume, record_btrace_wait): Extend.
13165 (record_btrace_can_execute_reverse): New.
13166 (record_btrace_open): Fail in non-stop mode.
13167 (record_btrace_set_replay): Split into this, ...
13168 (record_btrace_stop_replaying): ... this, ...
13169 (record_btrace_clear_histories): ... and this.
13170 (init_record_btrace_ops): Init to_can_execute_reverse.
13171 * NEWS: Announce it.
13172
118e6252
MM
131732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13174
13175 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
13176 (forward_target_decr_pc_after_break)
13177 (target_decr_pc_after_break): New.
13178 * target.c (forward_target_decr_pc_after_break)
13179 (target_decr_pc_after_break): New.
13180 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
13181 instead of gdbarch_decr_pc_after_break.
13182 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13183 instead of gdbarch_decr_pc_after_break.
13184 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
13185 instead of gdbarch_decr_pc_after_break.
13186 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13187 instead of gdbarch_decr_pc_after_break.
13188 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
13189 instead of gdbarch_decr_pc_after_break.
13190 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
13191 instead of gdbarch_decr_pc_after_break.
13192
6e07b1d2
MM
131932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13194
13195 * btrace.c: Include regcache.h.
13196 (btrace_add_pc): New.
13197 (btrace_enable): Call btrace_add_pc.
13198 (btrace_is_empty): New.
13199 * btrace.h (btrace_is_empty): New.
13200 * record-btrace.c (require_btrace, record_btrace_info): Call
13201 btrace_is_empty.
13202
969c39fb
MM
132032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13204
13205 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
13206 Support delta reads.
13207 (linux_disable_btrace): Change return type.
13208 * common/linux-btrace.h (linux_read_btrace): Change parameters
13209 and return type to allow error reporting. Update users.
13210 (linux_disable_btrace): Change return type. Update users.
13211 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
13212 New.
13213 (btrace_error): New.
13214 (btrace_block) <begin>: Comment on BEGIN == 0.
13215 * btrace.c (btrace_compute_ftrace): Start from the end of
13216 the current trace.
13217 (btrace_stitch_trace, btrace_clear_history): New.
13218 (btrace_fetch): Read delta trace, return if replaying.
13219 (btrace_clear): Move clear history code to btrace_clear_history.
13220 (parse_xml_btrace): Throw an error if parsing failed.
13221 * target.h (struct target_ops) <to_read_btrace>: Change parameters
13222 and return type to allow error reporting.
13223 (target_read_btrace): Change parameters and return type to allow
13224 error reporting.
13225 * target.c (target_read_btrace): Update.
13226 * remote.c (remote_read_btrace): Support delta reads. Pass
13227 errors on.
13228 * NEWS: Announce it.
13229
0b722aec
MM
132302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13231
13232 * record.h (record_btrace_frame_unwind)
13233 (record_btrace_tailcall_frame_unwind): New declarations.
13234 * dwarf2-frame: Include record.h
13235 (dwarf2_frame_cfa): Throw an error for btrace frames.
13236 * record-btrace.c: Include hashtab.h.
13237 (btrace_get_bfun_name): New.
13238 (btrace_call_history): Call btrace_get_bfun_name.
13239 (struct btrace_frame_cache): New.
13240 (bfcache): New.
13241 (bfcache_hash, bfcache_eq, bfcache_new): New.
13242 (btrace_get_frame_function): New.
13243 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
13244 (record_btrace_frame_this_id): Compute own id.
13245 (record_btrace_frame_prev_register): Provide PC, throw_error
13246 for all other registers.
13247 (record_btrace_frame_sniffer): Detect btrace frames.
13248 (record_btrace_tailcall_frame_sniffer): New.
13249 (record_btrace_frame_dealloc_cache): New.
13250 (record_btrace_frame_unwind): Add new functions.
13251 (record_btrace_tailcall_frame_unwind): New.
13252 (_initialize_record_btrace): Allocate cache.
13253 * btrace.c (btrace_clear): Call reinit_frame_cache.
13254 * NEWS: Announce it.
13255
066ce621
MM
132562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13257
13258 * record-btrace.c (record_btrace_set_replay)
13259 (record_btrace_goto_begin, record_btrace_goto_end)
13260 (record_btrace_goto): New.
13261 (init_record_btrace_ops): Initialize them.
13262 * NEWS: Announce it.
13263
e2887aa3
MM
132642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13265
13266 * record-btrace.c (record_btrace_find_new_threads)
13267 (record_btrace_thread_alive): New.
13268 (init_record_btrace_ops): Initialize to_find_new_threads and
13269 to_thread_alive.
13270
b2f4cfde
MM
132712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13272
13273 * record-btrace.c (record_btrace_resume): New.
13274 (record_btrace_wait): New.
13275 (init_record_btrace_ops): Initialize to_wait and to_resume.
13276
633785ff
MM
132772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13278
13279 * record-btrace.c (record_btrace_xfer_partial)
13280 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
13281 (record_btrace_allow_memory_access): New.
13282 (init_record_btrace_ops): Initialize new methods.
13283 * target.c (raw_memory_xfer_partial): Bail out if target reports
13284 that this memory is not available.
13285
3db08215
MM
132862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13287
13288 * target.h (target_ops) <to_insert_breakpoint>
13289 <to_remove_breakpoint>: Add target_ops parameter.
13290 (forward_target_insert_breakpoint): New.
13291 (forward_target_remove_breakpoint): New.
13292 (memory_remove_breakpoint, memory_insert_breakpoint):
13293 Add target_ops parameter.
13294 * target.c (target_insert_breakpoint): Split into this and ...
13295 (forward_target_insert_breakpoint): ... this.
13296 (target_remove_breakpoint): Split into this and ...
13297 (forward_target_remove_breakpoint): ... this.
13298 (debug_to_insert_breakpoint): Add target_ops parameter.
13299 Call forward_target_insert_breakpoint.
13300 (debug_to_remove_breakpoint): Add target_ops parameter.
13301 Call forward_target_remove_breakpoint.
13302 (update_current_target): Do not inherit or default to_insert_breakpoint
13303 and to_remove_breakpoint.
13304 * corelow.c (ignore): Add target_ops parameter.
13305 * exec.c (ignore): Add target_ops parameter.
13306 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
13307 Add target_ops parameter.
13308 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
13309 Add target_ops parameter.
13310 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
13311 Add target_ops parameter.
13312 * record-full.c (record_full_beneath_to_insert_breakpoint)
13313 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
13314 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
13315 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
13316 (record_full_core_remove_breakpoint): Add target_ops parameter.
13317 Update users.
13318 (record_full_beneath_to_insert_breakpoint_ops)
13319 (record_full_beneath_to_remove_breakpoint_ops)
13320 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
13321 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
13322 tmp_to_remove_breakpoint_ops,
13323 record_full_beneath_to_insert_breakpoint_ops, and
13324 record_full_beneath_to_remove_breakpoint_ops.
13325 * remote-m32r-sdi.c (m32r_insert_breakpoint)
13326 (m32r_remove_breakpoint): Add target_ops parameter.
13327 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
13328 Add target_ops parameter.
13329 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
13330 Add target_ops parameter.
13331
cecac1ab
MM
133322014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13333 Markus Metzger <markus.t.metzger@intel.com>
13334
13335 * record-btrace.c: Include frame-unwind.h.
13336 (record_btrace_frame_unwind_stop_reason)
13337 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
13338 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
13339 New.
13340 (init_record_btrace_ops): Install it.
13341
824344ca
MM
133422014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13343
13344 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
13345 get_prev_frame_1.
13346
32261e52
MM
133472014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13348
13349 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
13350 earlier.
13351
ea001bdc
MM
133522014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13353
13354 * frame-unwind.c: Include target.h.
13355 (frame_unwind_try_unwinder): New function with code from ...
13356 (frame_unwind_find_by_frame): ... here. New variable
13357 unwinder_from_target, call also target_get_unwinder)
13358 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
13359 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
13360 * target.h (struct target_ops): New fields to_get_unwinder and
13361 to_get_tailcall_unwinder.
13362 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
13363
1f3ef581
MM
133642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13365
13366 * record-btrace.c (record_btrace_fetch_registers)
13367 (record_btrace_store_registers)
13368 (record_btrace_to_prepare_to_store): New.
13369 (init_record_btrace_ops): Add the above.
13370
f32dbf8c
MM
133712014-01-16 Tom Tromey <tromey@redhat.com>
13372
13373 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
13374 * target.h (struct target_ops) <to_prepare_to_store>: Add
13375 argument.
13376 (target_prepare_to_store): Add argument.
13377 * target.c (debug_to_prepare_to_store): Add argument.
13378 (update_current_target): Update.
13379 * remote.c (remote_prepare_to_store): Add 'self' argument.
13380 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
13381 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
13382 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
13383 * record-full.c (record_full_core_prepare_to_store): Add 'self'
13384 argument.
13385 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
13386 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
13387 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
13388 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
13389 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
13390
07bbe694
MM
133912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13392
13393 * btrace.h (replay) <replay>: New.
13394 (btrace_is_replaying): New.
13395 * btrace.c (btrace_clear): Free replay iterator.
13396 (btrace_is_replaying): New.
13397 * record-btrace.c (record_btrace_is_replaying): New.
13398 (record_btrace_info): Print insn number if replaying.
13399 (record_btrace_insn_history): Start at replay position.
13400 (record_btrace_call_history): Start at replay position.
13401 (init_record_btrace_ops): Init to_record_is_replaying.
13402
0688d04e
MM
134032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13404
13405 * record-btrace.c (record_btrace_insn_history_range): Include
13406 end.
13407 (record_btrace_insn_history_from): Adjust range.
13408 (record_btrace_call_history_range): Include
13409 end.
13410 (record_btrace_call_history_from): Adjust range.
13411 * NEWS: Announce changes.
13412
8710b709
MM
134132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13414
13415 * record.h (enum record_print_flag)
13416 <record_print_indent_calls>: New.
13417 * record.c (get_call_history_modifiers): Recognize /c modifier.
13418 (_initialize_record): Document /c modifier.
13419 * record-btrace.c (btrace_call_history): Add btinfo parameter.
13420 Reorder fields. Optionally indent the function name. Update
13421 all users.
13422 * NEWS: Announce changes.
13423
d0fa7535
MM
134242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13425
13426 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
13427
5de9129b
MM
134282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13429
13430 * btrace.c (ftrace_new_function): Start counting at one.
13431 * record-btrace.c (record_btrace_info): Adjust number of calls
13432 and insns.
13433 * NEWS: Announce it.
13434
7acbe133
MM
134352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13436
13437 * record-btrace.c (btrace_call_history_insn_range): Print
13438 insn range as [begin, end].
13439
23a7fe75
MM
134402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13441
13442 * btrace.h (struct btrace_func_link): New.
13443 (enum btrace_function_flag): New.
13444 (struct btrace_inst): Rename to ...
13445 (struct btrace_insn): ...this. Update all users.
13446 (struct btrace_func) <ibegin, iend>: Remove.
13447 (struct btrace_func_link): New.
13448 (struct btrace_func): Rename to ...
13449 (struct btrace_function): ...this. Update all users.
13450 (struct btrace_function) <segment, flow, up, insn, insn_offset)
13451 (number, level, flags>: New.
13452 (struct btrace_insn_iterator): Rename to ...
13453 (struct btrace_insn_history): ...this.
13454 Update all users.
13455 (struct btrace_insn_iterator, btrace_call_iterator): New.
13456 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
13457 (struct btrace_target_info) <begin, end, level>
13458 <insn_history, call_history>: New.
13459 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13460 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13461 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13462 (btrace_call_number, btrace_call_begin, btrace_call_end)
13463 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13464 (btrace_find_function_by_number, btrace_set_insn_history)
13465 (btrace_set_call_history): New.
13466 * btrace.c (btrace_init_insn_iterator)
13467 (btrace_init_func_iterator, compute_itrace): Remove.
13468 (ftrace_print_function_name, ftrace_print_filename)
13469 (ftrace_skip_file): Change
13470 parameter to const.
13471 (ftrace_init_func): Remove.
13472 (ftrace_debug): Use new btrace_function fields.
13473 (ftrace_function_switched): Also consider gaining and
13474 losing symbol information).
13475 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
13476 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
13477 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
13478 New.
13479 (ftrace_new_function): Move. Remove debug print.
13480 (ftrace_update_lines, ftrace_update_insns): New.
13481 (ftrace_update_function): Check for call, ret, and jump.
13482 (compute_ftrace): Renamed to ...
13483 (btrace_compute_ftrace): ...this. Rewritten to compute call
13484 stack.
13485 (btrace_fetch, btrace_clear): Updated.
13486 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13487 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13488 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13489 (btrace_call_number, btrace_call_begin, btrace_call_end)
13490 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13491 (btrace_find_function_by_number, btrace_set_insn_history)
13492 (btrace_set_call_history): New.
13493 * record-btrace.c (require_btrace): Use new btrace thread
13494 info fields.
13495 (record_btrace_info, btrace_insn_history)
13496 (record_btrace_insn_history, record_btrace_insn_history_range):
13497 Use new btrace thread info fields and new iterator.
13498 (btrace_func_history_src_line): Rename to ...
13499 (btrace_call_history_src_line): ...this. Use new btrace
13500 thread info fields.
13501 (btrace_func_history): Rename to ...
13502 (btrace_call_history): ...this. Use new btrace thread info
13503 fields and new iterator.
13504 (record_btrace_call_history, record_btrace_call_history_range):
13505 Use new btrace thread info fields and new iterator.
13506
8372a7cb
MM
135072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13508
13509 * frame.h (frame_id_build_unavailable_stack_special): New.
13510 * frame.c (frame_id_build_unavailable_stack_special): New.
13511
c2170eef
MM
135122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13513
13514 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
13515 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
13516 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
13517 to gdbarch.
13518 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
13519 (i386_insn_is_jump, i386_jmp_p): New.
13520 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
13521 insn_is_jump to gdbarch.
13522 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
13523 * gdbarch.h: Regenerated.
13524 * gdbarch.c: Regenerated.
13525 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
13526 (default_insn_is_jump): New.
13527 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
13528 (default_insn_is_jump): New.
13529
864089d2
MM
135302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13531
13532 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
13533 Change to ...
13534 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
13535 (btrace_read_type) <btrace_read_new>: Change to ...
13536 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
13537
ed9edfb5
MM
135382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13539
13540 * common/linux-btrace.c (linux_read_btrace): Free trace from
13541 previous iteration.
13542
fbcbc3fd
DE
135432014-01-15 Doug Evans <dje@google.com>
13544
13545 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
13546 uint32_t.
13547
3d548a53
TT
135482014-01-15 Tom Tromey <tromey@redhat.com>
13549
13550 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
13551 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
13552 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
13553 (set_objfile_main_name): New function.
13554 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
13555 language_of_main>: New fields.
13556 (set_objfile_main_name): Declare.
13557 * symtab.c (find_main_name): Loop over objfiles to find the main
13558 name and language.
13559 (set_main_name): Now static.
13560 (get_main_info): Add comment.
13561 * symtab.h (set_main_name): Don't declare.
13562
32ac0d11
TT
135632014-01-15 Tom Tromey <tromey@redhat.com>
13564
13565 * symtab.c (main_progspace_key): New global.
13566 (struct main_info): New.
13567 (name_of_main, language_of_main): Remove.
13568 (get_main_info, main_info_cleanup): New function.
13569 (set_main_name, main_name, main_language): Use get_main_info.
13570 (_initialize_symtab): Initialize main_progspace_key.
13571
9e6c82ad
TT
135722014-01-15 Tom Tromey <tromey@redhat.com>
13573
13574 * dbxread.c (process_one_symbol): Update.
13575 * dwarf2read.c (read_partial_die): Update.
13576 * symfile.c (set_initial_language): Call main_language.
13577 * symtab.c (language_of_main): Now static.
13578 (set_main_name): Add 'lang' parameter.
13579 (find_main_name): Update.
13580 (main_language): New function.
13581 (symtab_observer_executable_changed): Update.
13582 * symtab.h (set_main_name): Update.
13583 (language_of_main): Remove.
13584 (main_language): Declare.
13585
6ef55de7
TT
135862014-01-15 Tom Tromey <tromey@redhat.com>
13587
13588 * symfile.c (init_entry_point_info): Use new "initialized" field.
13589 Update.
13590 * objfiles.h (struct entry_point) <initialized>: New field.
13591 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
13592 (struct objfile) <ei>: ...here. Remove.
13593 * objfiles.c (entry_point_address_query): Update.
13594
53eddfa6
TT
135952014-01-15 Tom Tromey <tromey@redhat.com>
13596
13597 * objfiles.c (entry_point_address_query): Relocate entry point
13598 address.
13599 (objfile_relocate1): Do not relocate entry point address.
13600 * objfiles.h (struct entry_info) <entry_point>: Update comment.
13601 <the_bfd_section_index>: New field.
13602 * symfile.c (init_entry_point_info): Find the entry point's
13603 section.
13604
d56e56aa
TT
136052014-01-15 Tom Tromey <tromey@redhat.com>
13606
13607 * solib-frv.c (enable_break): Use entry_point_address_query.
13608
33a97bbe
OJ
136092014-01-15 Omair Javaid <omair.javaid@linaro.org>
13610
13611 * NEWS: Add note on improved process record-replay on
13612 arm*-linux* targets.
13613
c6ec2b30
OJ
136142014-01-15 Omair Javaid <omair.javaid@linaro.org>
13615
13616 * arm-tdep.c (enum arm_record_result): New enum.
13617 (arm_record_unsupported_insn): New function.
13618 (arm_record_coproc_data_proc): Removed.
13619 (thumb2_record_ld_st_multiple): New function.
13620 (thumb2_record_ld_st_dual_ex_tbb): New function.
13621 (thumb2_record_data_proc_sreg_mimm): New function.
13622 (thumb2_record_ps_dest_generic): New function.
13623 (thumb2_record_branch_misc_cntrl): New function.
13624 (thumb2_record_str_single_data): New function.
13625 (thumb2_record_ld_mem_hints): New function.
13626 (thumb2_record_ld_word): New function.
13627 (thumb2_record_lmul_lmla_div): New function.
13628 (thumb2_record_decode_insn_handler): New function.
13629 (decode_insn): Add thumb32 instruction handlers.
13630
97dfe206
OJ
136312014-01-15 Omair Javaid <omair.javaid@linaro.org>
13632
13633 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
13634 (struct arm_linux_record_tdep): Declare.
13635 (arm_canonicalize_syscall): New function.
13636 (arm_all_but_pc_registers_record): New function.
13637 (arm_linux_syscall_record): New function.
13638 (arm_linux_init_abi): Add syscall recording constructs.
13639 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
13640 decoding. (arm_record_coproc_data_proc): Update arm syscall
13641 decoding.
13642 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
13643 <arm_syscall_record>: New field.
13644 * configure.tgt (arm*-*-linux*): Add linux-record.o to
13645 gdb_target_obs.
13646
9904a494
OJ
136472014-01-15 Omair Javaid <omair.javaid@linaro.org>
13648
13649 * arm-tdep.c (thumb_record_misc): Update to use sp as base
13650 register for push instruction recording.
13651
f969241e
OJ
136522014-01-15 Omair Javaid <omair.javaid@linaro.org>
13653
13654 * arm-tdep.c (thumb_record_misc): Update to correct logical
13655 error while recording ldm, ldmia and pop instructions.
13656
bfbbec00
OJ
136572014-01-15 Omair Javaid <omair.javaid@linaro.org>
13658
13659 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
13660
e40adcc9
PA
136612014-01-15 Pedro Alves <palves@redhat.com>
13662
13663 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
13664 (go32_resume, go32_fetch_registers, store_register)
13665 (go32_store_registers, go32_prepare_to_store)
13666 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
13667 (go32_create_inferior, go32_can_run, go32_terminal_init)
13668 (go32_terminal_inferior, go32_terminal_ours): Delete forward
13669 declarations.
13670
b0a16e66
TT
136712014-01-15 Tom Tromey <tromey@redhat.com>
13672
13673 * target.h (async_callback_ftype): New typedef.
13674 (struct target_ops) <to_async>: Use it.
13675
bf7105a4
JB
136762014-01-15 Joel Brobecker <brobecker@adacore.com>
13677
13678 * python/py-value.c (get_field_type): Remove unnecessary curly
13679 braces for single-statement if block.
13680
a8f35c2e
JB
136812014-01-15 Joel Brobecker <brobecker@adacore.com>
13682
13683 * python/py-type.c (convert_field): Add missing empty line
13684 after declarations.
13685
bb4142cf
DE
136862014-01-14 Doug Evans <dje@google.com>
13687
13688 * symfile.h (expand_symtabs_matching): Renamed from
13689 expand_partial_symbol_names. Update prototype.
13690 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
13691 * symfile.c (expand_symtabs_matching): Renamed from
13692 expand_partial_symbol_names. New args file_matcher, kind.
13693 Rename arg fun to symbol_matcher.
13694 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
13695 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
13696 ada_expand_partial_symbol_name.
13697 (ada_make_symbol_completion_list): Update to call
13698 expand_symtabs_matching.
13699 (ada_add_global_exceptions): Call expand_symtabs_matching.
13700 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
13701 call map_symbol_filenames.
13702 * symtab.c (sources_info): Update to call map_symbol_filenames.
13703 (search_symbols): Call expand_symtabs_matching.
13704 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
13705 (default_make_symbol_completion_list_break_on): Update to call
13706 expand_symtabs_matching.
13707 (make_source_files_completion_list): Update to call
13708 map_symbol_filenames.
13709
206f2a57
DE
137102014-01-14 Doug Evans <dje@google.com>
13711
13712 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
13713 (expand_symtabs_symbol_matcher_ftype): New typedef.
13714 (quick_symbol_functions.expand_symtabs_matching): Update to use.
13715 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13716 * symfile.c (expand_partial_symbol_names): Update to use
13717 expand_symtabs_symbol_matcher_ftype.
13718 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
13719 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13720 Arg name_matcher renamed to symbol_matcher.
13721 * psymtab.c (recursively_search_psymtabs): Update to use
13722 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
13723 sym_matcher.
13724 (expand_symtabs_matching_via_partial): Update to use
13725 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13726 Arg name_matcher renamed to symbol_matcher.
13727
540c2971
DE
137282014-01-14 Doug Evans <dje@google.com>
13729
13730 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
13731 (map_partial_symbol_filenames): Ditto.
13732 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
13733 (map_partial_symbol_filenames): Ditto.
13734 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
13735 (map_partial_symbol_filenames): Ditto.
13736 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
13737 (map_partial_symbol_filenames): Ditto.
13738 * symtab.c: Delete #include "psymtab.h".
13739
8213266a
PA
137402014-01-14 Pedro Alves <palves@redhat.com>
13741 Tom Tromey <tromey@redhat.com>
13742
13743 * infrun.c (use_displaced_stepping): Use find_record_target
13744 instead of RECORD_IS_USED.
13745 (adjust_pc_after_break): Use record_full_is_used instead of
13746 RECORD_IS_USED.
13747 * record-btrace.c (record_btrace_open): Call record_preopen
13748 instead of checking RECORD_IS_USED.
13749 * record-full.c (record_full_shortname)
13750 (record_full_core_shortname): New globals.
13751 (record_full_is_used): New function.
13752 (find_full_open): Call record_preopen instead of checking
13753 RECORD_IS_USED.
13754 (init_record_full_ops): Set the target's shortname to
13755 record_full_shortname.
13756 (init_record_full_core_ops): Set the target's shortname to
13757 record_full_core_shortname.
13758 * record-full.h (record_full_is_used): Declare.
13759 * record.c (find_record_target): Make extern.
13760 (record_preopen): New function.
13761 * record.h (RECORD_IS_USED): Delete macro.
13762 (find_record_target, record_preopen): Declare functions.
13763
7ec1862d
YQ
137642014-01-14 Yao Qi <yao@codesourcery.com>
13765
13766 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
13767 'len''s type to ULONGEST.
13768 (core_xfer_shared_libraries_aix): Likewise.
13769 * gdbarch.c, gdbarch.h: Regenerated.
13770 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
13771 Change type of 'len' to ULONGEST.
13772 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13773 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
13774
dea80a27
YQ
137752014-01-14 Yao Qi <yao@codesourcery.com>
13776
13777 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
13778 type of 'len' to ULONGEST.
13779 (linux_xfer_osdata_processgroups): Likewise.
13780 (linux_xfer_osdata_threads): Likewise.
13781 (linux_xfer_osdata_fds): Likewise.
13782 (linux_xfer_osdata_isockets): Likewise.
13783 (linux_xfer_osdata_shm): Likewise.
13784 (linux_xfer_osdata_sem): Likewise.
13785 (linux_xfer_osdata_msg): Likewise.
13786 (linux_common_xfer_osdata): Likewise.
13787 (struct osdata_type) <getter>: Likewise.
13788 * common/linux-osdata.h (linux_common_xfer_osdata): Update
13789 the declaration.
13790
b55e14c7
YQ
137912014-01-14 Yao Qi <yao@codesourcery.com>
13792
13793 * target.h (target_xfer_partial_ftype): Update.
13794 (struct target_ops) <to_xfer_partial>: Change 'len' type to
13795 ULONGEST.
13796 * aix-thread.c (aix_thread_xfer_partial): Change type of
13797 argument 'len' to ULONGEST.
13798 * auxv.c (procfs_xfer_auxv): Likewise.
13799 (ld_so_xfer_auxv): Likewise.
13800 (memory_xfer_auxv): Likewise.
13801 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13802 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13803 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
13804 * corelow.c (core_xfer_partial): Likewise.
13805 * ctf.c (ctf_xfer_partial): Likewise.
13806 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
13807 '%u'.
13808 (darwin_read_dyld_info): Likewise.
13809 (darwin_xfer_partial): Likewise.
13810 * exec.c (section_table_xfer_memory_partial): Likewise.
13811 (exec_xfer_partial): Likewise.
13812 * exec.h (section_table_xfer_memory_partial): Update
13813 declaration.
13814 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
13815 instead of plongest.
13816 (gnu_xfer_partial): Likewise.
13817 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
13818 (ia64_hpux_xfer_solib_got): Likewise.
13819 (ia64_hpux_xfer_partial): Likewise.
13820 * ia64-linux-nat.c (ia64_linux_xfer_partial):
13821 * inf-ptrace.c (inf_ptrace_xfer_partial):
13822 * inf-ttrace.c (inf_ttrace_xfer_partial):
13823 * linux-nat.c (linux_xfer_siginfo): Likewise.
13824 (linux_nat_xfer_partial): Likewise.
13825 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
13826 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
13827 * monitor.c (monitor_xfer_memory): Likewise.
13828 (monitor_xfer_partial): Likewise.
13829 * procfs.c (procfs_xfer_partial): Likewise.
13830 * record-full.c (record_full_xfer_partial): Likewise.
13831 (record_full_core_xfer_partial): Likewise.
13832 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
13833 instead of plongest.
13834 (gdbsim_xfer_partial): Likewise.
13835 * remote.c (remote_xfer_partial): Likewise.
13836 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13837 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13838 declaration.
13839 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13840 (rs6000_xfer_shared_libraries): Likewise.
13841 * sol-thread.c (sol_thread_xfer_partial): Likewise.
13842 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13843 (sparc_xfer_partial): Likewise.
13844 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13845 (spu_xfer_partial): Likewise.
13846 * spu-multiarch.c (spu_xfer_partial): Likewise.
13847 * target.c (target_read_live_memory): Likewise.
13848 (memory_xfer_live_readonly_partial): Likewise.
13849 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
13850 (target_xfer_partial, default_xfer_partial): Likewise.
13851 (current_xfer_partial): Likewise.
13852 * tracepoint.c (tfile_xfer_partial): Likewise.
13853 * windows-nat.c (windows_xfer_memory): Likewise. Call
13854 pulongest instead of plongest.
13855 (windows_xfer_partial): Likewise.
13856 (windows_xfer_shared_libraries): Likewise.
13857
05804640
YQ
138582014-01-14 Yao Qi <yao@codesourcery.com>
13859
13860 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
13861 target_xfer_partial_ftype.
13862
b5b08fb4
SC
138632014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13864
13865 PR python/15464
13866 PR python/16113
13867 * valops.c (value_struct_elt_bitpos): New function
13868 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
13869 object to 'None' if the field name is an empty string ("").
13870 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
13871 attribute to look for a field when 'name' is 'None'.
13872 (get_field_type): New function
13873
13aaf454
DE
138742014-01-13 Doug Evans <dje@google.com>
13875
13876 PR symtab/16426
13877 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
13878 (try_open_dwop_file): Ditto.
13879 * gdb_bfd.c: #include "vec.h".
13880 (bfdp): New typedef.
13881 (struct gdb_bfd_data): New member included_bfds.
13882 (gdb_bfd_unref): Unref all included bfds.
13883 (gdb_bfd_record_inclusion): New function.
13884 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
13885
c2cec97c
TT
138862014-01-13 Tom Tromey <tromey@redhat.com>
13887
13888 * gdbcore.h (deprecated_core_resize_section_table): Remove.
13889
78e5999d
TT
138902014-01-13 Tom Tromey <tromey@redhat.com>
13891
13892 * defs.h (use_windows): Remove.
13893 * gdb.c (main): Update.
13894 * main.c (captured_main, gdb_main): Update.
13895 * main.h (struct captured_main_args) <use_windows>: Remove.
13896 * top.c (use_windows): Remove.
13897
f2052bbe
TT
138982014-01-13 Tom Tromey <tromey@redhat.com>
13899
13900 * defs.h (deprecated_flush_hook): Remove.
13901
fde4f8ed
JK
139022014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13903
13904 PR threads/16216
13905 * linux-thread-db.c (try_thread_db_load): Add parameter
13906 check_auto_load_safe. Move here the file_is_auto_load_safe call.
13907 (try_thread_db_load_from_pdir_1): Move it there from here.
13908 (try_thread_db_load_from_sdir): Update caller.
13909 (try_thread_db_load_from_dir): Move it there from here.
13910
bdf61915
PP
139112014-01-13 Patrick Palka <patrick@parcs.ath.cx>
13912
13913 * regformats/regdat.sh: Always rewrite the register file.
13914
f71e1a8d
PA
139152014-01-13 Pedro Alves <palves@redhat.com>
13916
13917 * Makefile.in (CHECK_HEADERS): New variable.
13918 (check-headers:): New rule.
13919
42c85435
TT
139202014-01-13 Tom Tromey <tromey@redhat.com>
13921
13922 * cli/cli-setshow.c (do_set_command): Update.
13923 * defs.h (deprecated_set_hook): Remove.
13924 * top.c (deprecated_set_hook): Remove.
13925
f8de5129
PA
139262014-01-13 Pedro Alves <palves@redhat.com>
13927
13928 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
13929 the tracepoint if the PC is a pseudo-register.
13930
fc270c35
TT
139312014-01-13 Tom Tromey <tromey@redhat.com>
13932
13933 * defs.h (XCALLOC): Remove.
13934 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
13935 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
13936 * dwarf2loc.c (allocate_piece_closure): Likewise.
13937 * elfread.c (elf_symfile_segments): Likewise.
13938 (elf_symfile_segments): Likewise.
13939 * gdbtypes.c (copy_type_recursive): Likewise.
13940 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
13941 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
13942 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
13943 XCALLOC.
13944 * mt-tdep.c (mt_gdbarch_init): Likewise.
13945 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
13946 XCALLOC.
13947 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
13948 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
13949 * registry.c (registry_alloc_data): Likewise.
13950 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
13951 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
13952 * serial.c (serial_fdopen_ops): Likewise.
13953 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
13954 XCALLOC.
13955 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
13956 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
13957 not XCALLOC.
13958
70ba0933
TT
139592014-01-13 Tom Tromey <tromey@redhat.com>
13960
13961 * defs.h (XMALLOC): Remove.
13962 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
13963 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
13964 * cli-out.c (struct ui_out *): Likewise.
13965 * cli/cli-dump.c (add_dump_command): Likewise.
13966 (add_dump_command): Likewise.
13967 * complaints.c (get_complaints): Likewise.
13968 (find_complaint): Likewise.
13969 * dwarf2-frame.c (execute_cfa_program): Likewise.
13970 * dwarf2read.c (abbrev_table_read_table): Likewise.
13971 * gdbarch.sh: Likewise.
13972 * gdbarch.c: Rebuild.
13973 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
13974 * interps.c (interp_new): Likewise.
13975 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
13976 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
13977 * mi/mi-console.c (mi_console_file_new): Likewise.
13978 * mi/mi-interp.c (mi_interpreter_init): Likewise.
13979 * mi/mi-out.c (mi_out_new): Likewise.
13980 * mi/mi-parse.c (mi_parse): Likewise.
13981 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
13982 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
13983 * observer.c (xalloc_observer_list_node): Likewise.
13984 * regcache.c (regcache_xmalloc_1): Likewise.
13985 * reggroups.c (reggroup_new): Likewise.
13986 (_initialize_reggroup): Likewise.
13987 * registry.c (register_data_with_cleanup): Likewise.
13988 * remote.c (remote_notif_stop_alloc_reply): Likewise.
13989 * ser-base.c (serial_ttystate): Likewise.
13990 * ser-mingw.c (make_pipe_state): Likewise.
13991 * ser-pipe.c (pipe_open): Likewise.
13992 * serial.c (serial_open): Likewise.
13993 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
13994 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
13995 (tui_alloc_win_info): Likewise.
13996 (tui_add_content_elements): Likewise.
13997 * tui/tui-file.c (tui_file_new): Likewise.
13998 * tui/tui-out.c (tui_out_new): Likewise.
13999 * ui-file.c (mem_file_new): Likewise.
14000 * ui-out.c (push_level): Likewise.
14001 (make_cleanup_ui_out_end): Likewise.
14002 (append_header_to_list): Likewise.
14003 (ui_out_new): Likewise.
14004 * user-regs.c (user_reg_add_builtin): Likewise.
14005
41bf6aca
TT
140062014-01-13 Tom Tromey <tromey@redhat.com>
14007
14008 * defs.h (XZALLOC): Remove.
14009 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
14010 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
14011 (get_ada_tasks_inferior_data): Likewise.
14012 * auto-load.c (get_auto_load_pspace_data): Likewise.
14013 * auxv.c (get_auxv_inferior_data): Likewise.
14014 * bfd-target.c (target_bfd_reopen): Likewise.
14015 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
14016 (deprecated_insert_raw_breakpoint): Likewise.
14017 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
14018 * corelow.c (core_open): Likewise.
14019 * darwin-nat.c (darwin_check_new_threads): Likewise.
14020 (darwin_attach_pid): Likewise.
14021 * dummy-frame.c (dummy_frame_push): Likewise.
14022 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
14023 * dwarf2loc.c (allocate_piece_closure): Likewise.
14024 * elfread.c (elf_symfile_segments): Likewise.
14025 * eval.c (ptrmath_type_p): Likewise.
14026 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
14027 * gdbtypes.c (alloc_type_arch): Likewise.
14028 (alloc_type_instance): Likewise.
14029 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
14030 * inf-child.c (inf_child_can_use_agent): Likewise.
14031 * inflow.c (get_inflow_inferior_data): Likewise.
14032 * infrun.c (save_infcall_suspend_state): Likewise.
14033 * jit.c (jit_reader_load): Likewise.
14034 (get_jit_objfile_data): Likewise.
14035 (get_jit_program_space_data): Likewise.
14036 (jit_object_open_impl): Likewise.
14037 (jit_symtab_open_impl): Likewise.
14038 (jit_block_open_impl): Likewise.
14039 (jit_frame_sniffer): Likewise.
14040 * linux-fork.c (add_fork): Likewise.
14041 * maint.c (make_command_stats_cleanup): Likewise.
14042 * objfiles.c (get_objfile_pspace_data): Likewise.
14043 * opencl-lang.c (struct lval_closure): Likewise.
14044 * osdata.c (osdata_start_osdata): Likewise.
14045 * progspace.c (new_address_space): Likewise.
14046 (add_program_space): Likewise.
14047 * remote-sim.c (get_sim_inferior_data): Likewise.
14048 * sh-tdep.c (sh_gdbarch_init): Likewise.
14049 * skip.c (Ignore): Likewise.
14050 (skip_delete_command): Likewise.
14051 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
14052 (library_list_start_library): Likewise.
14053 (solib_aix_current_sos): Likewise.
14054 * solib-darwin.c (get_darwin_info): Likewise.
14055 (darwin_current_sos): Likewise.
14056 * solib-dsbt.c (get_dsbt_info): Likewise.
14057 * solib-ia64-hpux.c (new_so_list): Likewise.
14058 (ia64_hpux_get_solib_linkage_addr): Likewise.
14059 * solib-spu.c (append_ocl_sos): Likewise.
14060 (spu_current_sos): Likewise.
14061 * solib-svr4.c (get_svr4_info): Likewise.
14062 (svr4_keep_data_in_core): Likewise.
14063 (library_list_start_library): Likewise.
14064 (svr4_default_sos): Likewise.
14065 (svr4_read_so_list): Likewise.
14066 * solib-target.c (library_list_start_library): Likewise.
14067 (solib_target_current_sos): Likewise.
14068 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
14069 * symfile-debug.c (install_symfile_debug_logging): Likewise.
14070 * symfile.c (default_symfile_segments): Likewise.
14071 * target-descriptions.c (tdesc_data_init): Likewise.
14072 (tdesc_create_reg): Likewise.
14073 (struct tdesc_type *): Likewise.
14074 (tdesc_create_vector): Likewise.
14075 (tdesc_set_struct_size): Likewise.
14076 (struct tdesc_type *): Likewise.
14077 (tdesc_free_feature): Likewise.
14078 (tdesc_create_feature): Likewise.
14079 * windows-nat.c (windows_add_thread): Likewise.
14080 (windows_make_so): Likewise.
14081 * xml-support.c (gdb_xml_body_text): Likewise.
14082 (gdb_xml_create_parser_and_cleanup): Likewise.
14083 (xml_process_xincludes): Likewise.
14084 * xml-syscall.c (allocate_syscalls_info): Likewise.
14085 (syscall_create_syscall_desc): Likewise.
14086
5acfdbae
SDJ
140872014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
14088
14089 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
14090 function, with code from i386_stap_parse_special_token.
14091 (i386_stap_parse_special_token_three_arg_disp): Likewise.
14092 (i386_stap_parse_special_token): Move code to the two functions
14093 above; simplify it.
14094
0000e5cc
PA
140952014-01-09 Pedro Alves <palves@redhat.com>
14096 Hui Zhu <hui@codesourcery.com>
14097
14098 PR gdb/16101
14099 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
14100 bp_err_string. Don't mark the location shlib_disabled if the
14101 error thrown wasn't a generic or memory error. Catch errors
14102 thrown while inserting breakpoints in overlayed code. Output
14103 error message of software breakpoints.
14104 * remote.c (remote_insert_breakpoint): If this breakpoint has
14105 target-side commands but this stub doesn't support Z0 packets,
14106 throw NOT_SUPPORTED_ERROR error.
14107 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
14108 * target.h (target_insert_breakpoint): Extend comment.
14109 (target_insert_hw_breakpoint): Add comment.
14110
b7ea362b
PA
141112014-01-08 Pedro Alves <palves@redhat.com>
14112
14113 * remote.c (remote_add_thread): Add threads silently if starting
14114 up.
14115 (remote_notice_new_inferior): If in all-stop, and starting up,
14116 don't call notice_new_inferior.
14117 (get_current_thread): New function, factored out from ...
14118 (add_current_inferior_and_thread): ... this. Adjust.
14119 (remote_start_remote) <all-stop>: Fetch the thread list. If we
14120 found any thread, then select the remote's current thread as GDB's
14121 current thread too.
14122
b7bba001
JB
141232014-01-08 Joel Brobecker <brobecker@adacore.com>
14124
14125 * NEWS: Create a new section for the next release branch.
14126 Rename the section of the current branch, now that it has
14127 been cut.
14128
16dfbded
JB
141292014-01-08 Joel Brobecker <brobecker@adacore.com>
14130
14131 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
14132 * version.in: Bump version to 7.7.50.DATE-cvs.
14133
22c90ac1
YQ
141342014-01-08 Yao Qi <yao@codesourcery.com>
14135
14136 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
14137 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
14138 (spu_xfer_partial): Cast 'buf' to 'const char *'.
14139
d64ad97c
YQ
141402014-01-08 Yao Qi <yao@codesourcery.com>
14141
14142 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
14143 return value of bfd_get_filename to symbol_file_add_from_bfd.
14144
f93ba80c
PM
141452014-01-08 Pierre Muller <muller@sourceware.org>
14146
14147 Fix PR16201.
14148 * coff-pe-read.c (struct read_pe_section_data): Add index field.
14149 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
14150 to prim_record_mininal_symbol_and_info.
14151 (add_pe_forwarded_sym): Use known section number of forwarded symbol
14152 in call to prim_record_minimal_symbol_and_info.
14153 (read_pe_exported_syms): Set index field of section_data.
14154
a4d9ba85
AP
141552014-01-07 Andrew Pinski <apinski@cavium.com>
14156
14157 * features/aarch64-core.xml (cpsr): Change to be 64bit.
14158 * features/aarch64.c: Regenerate.
14159
1b67eb02
AS
141602014-01-07 Andreas Schwab <schwab@linux-m68k.org>
14161
14162 * target.c (return_null): Define.
14163 (update_current_target): Use it instead of return_zero for
14164 functions that return a pointer.
14165
5e3f4fab
EBM
141662014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14167
14168 * source.c (add_path): Fix check for duplicated paths in the previously
14169 included paths.
14170
e2616788
HK
141712014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
14172
14173 * ada-lang.c: Remove duplicated include statements.
14174 * alphabsd-nat.c: Ditto.
14175 * amd64-darwin-tdep.c: Ditto.
14176 * amd64fbsd-nat.c: Ditto.
14177 * auto-load.c: Ditto.
14178 * ax-gdb.c: Ditto.
14179 * breakpoint.c: Ditto.
14180 * dbxread.c: Ditto.
14181 * fork-child.c: Ditto.
14182 * gdb_usleep.c: Ditto.
14183 * i386-darwin-tdep.c: Ditto.
14184 * i386fbsd-nat.c: Ditto.
14185 * infcmd.c: Ditto.
14186 * inferior.c: Ditto.
14187 * jv-lang.c: Ditto.
14188 * linux-nat.c: Ditto.
14189 * linux-tdep.c: Ditto.
14190 * m68kbsd-nat.c: Ditto.
14191 * m68klinux-nat.c: Ditto.
14192 * microblaze-tdep.c: Ditto.
14193 * mips-linux-tdep.c: Ditto.
14194 * mn10300-tdep.c: Ditto.
14195 * nto-tdep.c: Ditto.
14196 * opencl-lang.c: Ditto.
14197 * osdata.c: Ditto.
14198 * printcmd.c: Ditto.
14199 * regcache.c: Ditto.
14200 * remote-m32r-sdi.c: Ditto.
14201 * remote.c: Ditto.
14202 * symfile.c: Ditto.
14203 * symtab.c: Ditto.
14204 * tilegx-linux-nat.c: Ditto.
14205 * tilegx-tdep.c: Ditto.
14206 * tracepoint.c: Ditto.
14207 * valops.c: Ditto.
14208 * vaxbsd-nat.c: Ditto.
14209 * windows-nat.c: Ditto.
14210 * xtensa-tdep.c: Ditto.
14211
bd1f7788
YQ
142122014-01-07 Yao Qi <yao@codesourcery.com>
14213
14214 * spu-linux-nat.c (_initialize_spu_nat): Declare.
14215
79301218
JB
142162014-01-07 Yao Qi <yao@codesourcery.com>
14217 Joel Brobecker <brobecker@adacore.com>
14218
14219 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
14220 (pdc_write_regs): Likewise.
14221 (fetch_regs_kernel_thread): Likewise.
14222 (store_regs_kernel_thread): Likewise.
14223
142242014-01-07 Joel Brobecker <brobecker@adacore.com>
14225
14226 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
14227 tagged type objects to their actual type.
14228
8e355c5d
JB
142292014-01-07 Joel Brobecker <brobecker@adacore.com>
14230
14231 * ada-valprint.c (print_field_values): Add "language" parameter.
14232 Update calls to print_field_values and print_variant_part.
14233 Pass new parameter "language" in call to val_print instead
14234 of "current_language". Replace call to ada_val_print by call
14235 to val_print.
14236 (print_variant_part): Add "language" parameter.
14237 (ada_val_print_struct_union): Update call to print_field_values.
14238
4fbf5aa5
JB
142392014-01-07 Joel Brobecker <brobecker@adacore.com>
14240
14241 * ada-valprint.c (ui_memcpy): Delete.
14242 (ada_print_floating): Update documentation. Add empty line
14243 between between function documentation and implementation.
14244 Delete variable "buffer". Use ui_file_xstrdup in place of
14245 ui_file_put. Minor adjustments following this change.
14246
71855601
JB
142472014-01-07 Joel Brobecker <brobecker@adacore.com>
14248
14249 * ada-valprint.c (ada_val_print_string): New function,
14250 extracted from ada_val_print_array.
14251 (ada_val_print_array): Replace extracted code by call
14252 to ada_val_print_string followed by a return. Move
14253 "else" branch to the function's top block.
14254
4eb27a30
JB
142552014-01-07 Joel Brobecker <brobecker@adacore.com>
14256
14257 * ada-valprint.c (ada_val_print_array): Move implementation
14258 down. Rename parameter "offset" and "val" into "offset_aligned"
14259 and "original_value" respectively. Add parameter "offset".
14260
34b27950
JB
142612014-01-07 Joel Brobecker <brobecker@adacore.com>
14262
14263 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
14264 re-organizing the code. Change the "???" message printed
14265 when target type is a TYPE_CODE_UNDEF into
14266 "<ref to undefined type>".
14267
079e4591
JB
142682014-01-07 Joel Brobecker <brobecker@adacore.com>
14269
14270 * ada-valprint.c (print_record): Delete, implementation inlined...
14271 (ada_val_print_struct_union): ... here. Remove call to
14272 ada_check_typedef in inlined implementation.
14273
8004dfd1
JB
142742014-01-07 Joel Brobecker <brobecker@adacore.com>
14275
14276 * ada-valprint.c (ada_val_print_gnat_array): New function,
14277 extracted from ada_val_print_1;
14278 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
14279 (ada_val_print_flt, ada_val_print_struct_union)
14280 (ada_val_print_ref): Likewise.
14281 (ada_val_print_1): Delete variables i and elttype.
14282 Replace extracted-out code by call to corresponding
14283 new functions.
14284
760a2db0
JB
142852014-01-07 Joel Brobecker <brobecker@adacore.com>
14286
14287 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
14288
3a92c861
JB
142892014-01-07 Joel Brobecker <brobecker@adacore.com>
14290
14291 * ada-valprint.c (ada_val_print_1): Replace calls to
14292 ada_val_print_1 by calls to val_print.
14293
cd1630f9
JB
142942014-01-07 Joel Brobecker <brobecker@adacore.com>
14295
14296 * ada-valprint.c (ada_val_print_1): Add parameter "language".
14297 Update calls to self accordingly. Replace calls to c_val_print
14298 by calls to val_print.
14299
bdf779a0
JB
143002014-01-07 Joel Brobecker <brobecker@adacore.com>
14301
14302 * ada-valprint.c (print_record): Delete declaration.
14303 (adjust_type_signedness, ada_val_print_1): Likewise.
14304 (ada_val_print): Move function implementation down.
14305 (print_variant_part, print_field_values, print_record):
14306 Move function implementation up.
14307
c0d48811
JB
143082014-01-07 Joel Brobecker <brobecker@adacore.com>
14309
14310 * python/py-type.c (typy_get_name): New function.
14311 (type_object_getset): Add entry for attribute "name".
14312 * NEWS: Add entry mentioning this new attribute.
14313
c26e9cbb
YQ
143142014-01-07 Yao Qi <yao@codesourcery.com>
14315
14316 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
14317 statement.
14318
0cc6f43d
YQ
143192014-01-07 Yao Qi <yao@codesourcery.com>
14320
14321 * gnu-nat.c (info_port_rights): Add qualifier const to
14322 argument args.
14323
eec03155
YQ
143242014-01-07 Yao Qi <yao@codesourcery.com>
14325
14326 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
14327
f04a82ef
YQ
143282014-01-07 Yao Qi <yao@codesourcery.com>
14329
14330 * gnu-nat.c (make_inf) Update declaration.
14331 (make_inf): Make it static.
14332 (inf_set_traced): Likewise.
14333 (inf_port_to_thread, inf_task_died_status): Likewise.
14334
d57dda0a
YQ
143352014-01-07 Yao Qi <yao@codesourcery.com>
14336
14337 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
14338
3aa8c969
YQ
143392014-01-07 Yao Qi <yao@codesourcery.com>
14340
14341 * gnu-nat.c (_initialize_gnu_nat): Declare.
14342
94123b4f
YQ
143432014-01-07 Yao Qi <yao@codesourcery.com>
14344
14345 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
14346 'enum bfd_endian'.
14347 (struct gdbarch_info) <byte_order>: Change type to
14348 'enum bfd_endian'.
14349 <byte_order_for_code>: Likewise.
14350 * gdbarch.c, gdbarch.h: Regenerated.
14351
dc81d70a
TT
143522014-01-06 Sasha Smundak <asmundak@google.com>
14353
14354 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
14355
cc2f3c35
TT
143562014-01-06 Tom Tromey <tromey@redhat.com>
14357
14358 * doublest.c (convert_doublest_to_floatformat): Use const, not
14359 CONST.
14360 * somread.c (som_symtab_read): Likewise.
14361
adcf2eed
HZ
143622014-01-07 Hui Zhu <hui@codesourcery.com>
14363
14364 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
14365 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
14366 (gdb_bfd_fopen): Ditto.
14367 (gdb_bfd_openr): Ditto.
14368 (gdb_bfd_openw): Ditto.
14369 (gdb_bfd_openr_iovec): Ditto.
14370 (gdb_bfd_fdopenr): Ditto.
14371 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
14372 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
14373 with xstrdup.
14374 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
14375 with xstrdup.
14376 * symfile-mem.c (symbol_file_add_from_memory): Removed
14377 gdb_bfd_stash_filename.
14378
50722198
DE
143792014-01-03 Doug Evans <dje@google.com>
14380
14381 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
14382 output.
14383
2fa4b862
JB
143842014-01-01 Joel Brobecker <brobecker@adacore.com>
14385
14386 Update year range in copyright notice of all files.
14387
28498c42
JB
143882014-01-01 Joel Brobecker <brobecker@adacore.com>
14389
14390 * top.c (print_gdb_version): Set copyright year to 2014.
14391
7b6e1046
JB
143922014-01-01 Joel Brobecker <brobecker@adacore.com>
14393
14394 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
14395
df96af55 14396For older changes see ChangeLog-2013.
c906108c
SS
14397\f
14398Local Variables:
14399mode: change-log
14400left-margin: 8
14401fill-column: 74
14402version-control: never
57da7796 14403coding: utf-8
c906108c 14404End:
This page took 3.675199 seconds and 4 git commands to generate.