remote: get rid of all the T packets when syncing the thread list
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
ab970af1
PA
12014-10-15 Pedro Alves <palves@redhat.com>
2
3 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
4 * remote.c (remote_update_thread_list): Skip calling prune_threads
5 if any thread listing method is supported, and instead walk over
6 the set of remote threads listed, deleting those that are not
7 found in GDB's thread list.
8
e8032dde
PA
92014-10-15 Pedro Alves <palves@redhat.com>
10
11 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
12 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
13 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
14 (bsd_uthread_target): Adjust.
15 * corelow.c (core_open): Adjust.
16 * dec-thread.c (dec_thread_find_new_threads): Update comment.
17 (dec_thread_update_thread_list): New function.
18 (init_dec_thread_ops): Adjust.
19 * gdbthread.h (prune_threads): New declaration.
20 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
21 (thread_db_update_thread_list): ... this. Call prune_threads.
22 (init_thread_db_ops): Adjust.
23 * nto-procfs.c (procfs_find_new_threads): Rename to ...
24 (procfs_update_thread_list): ... this. Call prune_threads.
25 (procfs_attach, procfs_create_inferior, init_procfs_targets):
26 Adjust.
27 * obsd-nat.c (obsd_find_new_threads): Rename to ...
28 (obsd_update_thread_list): ... this. Call prune_threads.
29 (obsd_add_target): Adjust.
30 * procfs.c (procfs_target): Adjust.
31 (procfs_notice_thread): Update comment.
32 (procfs_find_new_threads): Rename to ...
33 (procfs_update_thread_list): ... this. Call prune_threads.
34 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
35 comment.
36 (ravenscar_wait): Adjust.
37 (ravenscar_find_new_threads): Rename to ...
38 (ravenscar_update_thread_list): ... this. Call prune_threads.
39 (init_ravenscar_thread_ops): Adjust.
40 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
41 (record_btrace_update_thread_list): ... this. Adjust comment.
42 (init_record_btrace_ops): Adjust.
43 * remote.c (remote_threads_info): Rename to ...
44 (remote_update_thread_list): ... this. Call prune_threads.
45 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
46 Adjust.
47 * sol-thread.c (check_for_thread_db): Adjust.
48 (sol_find_new_threads_callback): Rename to ...
49 (sol_update_thread_list_callback): ... this.
50 (sol_find_new_threads): Rename to ...
51 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
52 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
53 * target-delegates.c: Regenerate.
54 * target.c (target_find_new_threads): Rename to ...
55 (target_update_thread_list): ... this.
56 * target.h (struct target_ops): Rename to_find_new_threads field
57 to to_update_thread_list.
58 (target_find_new_threads): Rename to ...
59 (target_update_thread_list): ... this.
60 * thread.c (prune_threads): Make extern.
61 (update_thread_list): Adjust.
62
6dc54d91
PA
632014-10-15 Pedro Alves <palves@redhat.com>
64
65 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
66 Add describing comment. Return -1 if the qL packet is not
67 supported.
68 (struct thread_item, thread_item_t): Move higher up in
69 the file. Add comments.
70 (struct threads_parsing_context): Move higher up in
71 the file, add comments, and remote to ...
72 (struct threads_listing_context): ... this.
73 (remote_newthread_step): Don't add the thread to GDB's thread
74 database here. Instead push it to the thread_listing_context
75 list.
76 (remote_find_new_threads): Rename to ...
77 (remote_get_threads_with_ql): ... this. Add target_ops and
78 targets_listing_context parameters. Pass down context.
79 (start_thread): Adjust.
80 (clear_threads_parsing_context): Rename to ...
81 (clear_threads_listing_context): ... this.
82 (remote_get_threads_with_qxfer): New, with parts salvaged from old
83 remote_threads_info.
84 (remote_get_threads_with_qthreadinfo): Ditto.
85 (remote_threads_info): Reimplement.
86
36728e82
PA
872014-10-15 Pedro Alves <palves@redhat.com>
88
89 * infrun.c (resume): Don't force displaced-stepping for all
90 single-steps on software single-stepping archs.
91
34b7e8a6
PA
922014-10-15 Pedro Alves <palves@redhat.com>
93
94 * breakpoint.c (single_step_breakpoints): Delete global.
95 (insert_single_step_breakpoint): Adjust to store the breakpoint
96 pointer in the current thread.
97 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
98 (cancel_single_step_breakpoints): Delete functions.
99 (breakpoint_has_location_inserted_here): Make extern.
100 (single_step_breakpoint_inserted_here_p): Adjust to walk the
101 breakpoint list.
102 * breakpoint.h (breakpoint_has_location_inserted_here): New
103 declaration.
104 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
105 (cancel_single_step_breakpoints): Remove declarations.
106 * gdbthread.h (struct thread_control_state)
107 <single_step_breakpoints>: New field.
108 (delete_single_step_breakpoints)
109 (thread_has_single_step_breakpoints_set)
110 (thread_has_single_step_breakpoint_here): New declarations.
111 * infrun.c (follow_exec): Also clear the single-step breakpoints.
112 (singlestep_breakpoints_inserted_p, singlestep_ptid)
113 (singlestep_pc): Delete globals.
114 (infrun_thread_ptid_changed): Remove references to removed
115 globals.
116 (resume_cleanups): Delete the current thread's single-step
117 breakpoints.
118 (maybe_software_singlestep): Remove references to removed globals.
119 (resume): Adjust to use thread_has_single_step_breakpoints_set and
120 delete_single_step_breakpoints.
121 (init_wait_for_inferior): Remove references to removed globals.
122 (delete_thread_infrun_breakpoints): Delete the thread's
123 single-step breakpoints too.
124 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
125 single-step breakpoints here.
126 (delete_stopped_threads_single_step_breakpoints): New function.
127 (adjust_pc_after_break): Adjust to use
128 thread_has_single_step_breakpoints_set.
129 (handle_inferior_event): Remove references to removed globals.
130 Use delete_stopped_threads_single_step_breakpoints.
131 (handle_signal_stop): Adjust to per-thread single-step
132 breakpoints. Swap test order to do cheaper tests first.
133 (switch_back_to_stepped_thread): Extend debug output. Remove
134 references to removed globals.
135 * record-full.c (record_full_wait_1): Adjust to per-thread
136 single-step breakpoints.
137 * thread.c (delete_single_step_breakpoints)
138 (thread_has_single_step_breakpoints_set)
139 (thread_has_single_step_breakpoint_here): New functions.
140 (clear_thread_inferior_resources): Also delete the thread's
141 single-step breakpoints.
142
5b834a0a
PA
1432014-10-15 Pedro Alves <palves@redhat.com>
144
145 * thread.c (delete_thread_breakpoint): New function.
146 (delete_step_resume_breakpoint)
147 (delete_exception_resume_breakpoint): Use it.
148 (delete_at_next_stop): New function.
149 (clear_thread_inferior_resources): Use delete_at_next_stop.
150
a1fd2fa5
PA
1512014-10-15 Pedro Alves <palves@redhat.com>
152
153 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
154 (breakpoint_inserted_here_p): ... here. Remove special case for
155 software single-step breakpoints.
156 (find_non_raw_software_breakpoint_inserted_here): Inline ...
157 (software_breakpoint_inserted_here_p): ... here. Remove special
158 case for software single-step breakpoints.
159 (bp_target_info_copy_insertion_state)
160 (deprecated_insert_raw_breakpoint)
161 (deprecated_remove_raw_breakpoint): Delete functions.
162 * breakpoint.h (deprecated_insert_raw_breakpoint)
163 (deprecated_remove_raw_breakpoint): Remove declarations.
164
7c16b83e
PA
1652014-10-15 Pedro Alves <palves@redhat.com>
166
167 PR breakpoints/9649
168 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
169 Delete array globals.
170 (single_step_breakpoints): New global.
171 (breakpoint_xfer_memory): Remove special handling for single-step
172 breakpoints.
173 (update_breakpoints_after_exec): Delete bp_single_step
174 breakpoints.
175 (detach_breakpoints): Remove special handling for single-step
176 breakpoints.
177 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
178 (bpstat_stop_status): Add comment.
179 (bpstat_what, bptype_string, print_one_breakpoint_location)
180 (adjust_breakpoint_address, init_bp_location): Handle
181 bp_single_step.
182 (new_single_step_breakpoint): New function.
183 (set_momentary_breakpoint, bkpt_remove_location): Remove special
184 handling for single-step breakpoints.
185 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
186 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
187 Rewrite.
188 (detach_single_step_breakpoints, find_single_step_breakpoint):
189 Delete functions.
190 (breakpoint_has_location_inserted_here): New function.
191 (single_step_breakpoint_inserted_here_p): Rewrite.
192 * breakpoint.h: Remove FIXME.
193 (enum bptype) <bp_single_step>: New enum value.
194 (insert_single_step_breakpoint): Update comment.
195 * infrun.c (resume_cleanups)
196 (delete_step_thread_step_resume_breakpoint): Remove single-step
197 breakpoints.
198 (fetch_inferior_event): Install a cleanup that removes infrun
199 breakpoints.
200 (switch_back_to_stepped_thread) <expect thread advanced also>:
201 Clear step-over info.
202
0cbcdb96
PA
2032014-10-15 Pedro Alves <palves@redhat.com>
204
205 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
206 (delete_thread_infrun_breakpoints): New function, with parts
207 salvaged from delete_step_resume_breakpoint_callback.
208 (delete_step_thread_step_resume_breakpoint): Delete.
209 (for_each_just_stopped_thread_callback_func): New typedef.
210 (for_each_just_stopped_thread): New function.
211 (delete_just_stopped_threads_infrun_breakpoints): New function.
212 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
213 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
214 ... this. Adjust.
215 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
216
963f9c80
PA
2172014-10-15 Pedro Alves <palves@redhat.com>
218
219 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
220 trying to step past a non-steppable watchpoint.
221 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
222 field.
223 * infrun.c (struct step_over_info): Add new field
224 'nonsteppable_watchpoint_p' and adjust comments.
225 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
226 Adjust.
227 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
228 (stepping_past_nonsteppable_watchpoint): New function.
229 (step_over_info_valid_p): Also return true if stepping past a
230 nonsteppable watchpoint.
231 (proceed): Adjust call to set_step_over_info. Remove reference to
232 init_infwait_state.
233 (init_wait_for_inferior): Remove reference to init_infwait_state.
234 (waiton_ptid): Delete global.
235 (struct execution_control_state)
236 <stepped_after_stopped_by_watchpoint>: Delete field.
237 (wait_for_inferior, fetch_inferior_event): Always pass
238 minus_one_ptid to target_wait.
239 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
240 field.
241 (init_infwait_state): Delete function.
242 (handle_inferior_event): Remove infwait_state handling.
243 (handle_signal_stop) <watchpoints handling>: Adjust after
244 stepped_after_stopped_by_watchpoint removal. Don't remove
245 breakpoints here nor set infwait_state. Set the thread's
246 stepping_over_watchpoint flag, and call keep_going instead.
247 (keep_going): Handle stepping_over_watchpoint. Adjust
248 set_step_over_info calls.
249 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
250 function.
251
6cc83d2a
PA
2522014-10-15 Pedro Alves <palves@redhat.com>
253
254 * infrun.c (step_over_info_valid_p): New function.
255 (resume): Use step_over_info_valid_p instead of checking the
256 threads's trap_expected flag.
257
6979730b
DE
2582014-10-15 Doug Evans <dje@google.com>
259 Walfred Tedeschi <walfred.tedeschi@intel.com>
260
261 PR python/17364
262 * python/lib/gdb/__init__.py (packages): Add "printer".
263 * python/lib/gdb/command/bound_registers.py: Moved to ...
264 * python/lib/gdb/printer/bound_registers.py: ... here.
265 Add printer to global set of builtin printers. Rename printer from
266 "bound" to "mpx_bound128".
267 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
268 registered as global "builtin" printer.
269 (add_builtin_pretty_printer): New function.
270 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
271 gdb/printer/__init__.py.
272
35a49624
IB
2732014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
274
275 * Makefile.in (SFILES): Remove d-support.c.
276 (COMMON_OBS): Remove d-support.o.
277 * d-lang.h (d_parse_symbol): Remove declaration.
278 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
279 * d-support.c: Remove file.
280
8fa0c4f8
AA
2812014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
282
283 * gdb/infrun.c (process_event_stop_test): Apply
284 gdbarch_addr_bits_remove to longjmp resume address.
285
3666da81
PA
2862014-10-15 Pedro Alves <palves@redhat.com>
287
288 * regformats/microblaze.dat: Delete file.
289
449aa9df
AKA
2902014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
291
292 * features/Makefile (microblaze-expedite): Replace pc with rpc.
293 * regformats/microblaze-with-stack-protect.dat: Regenerate.
294
ebb8ece2
SC
2952014-10-15 Siva Chandra Reddy <sivachandra@google.com>
296
297 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
298 as non-trivial.
299
82c48ac7
SC
3002014-10-15 Siva Chandra Reddy <sivachandra@google.com>
301
302 PR c++/13403
303 PR c++/15154
304 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
305 with qualified args.
306
c40cc657
JB
3072014-10-14 Joel Brobecker <brobecker@adacore.com>
308
309 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
310 of the case where the second operand is a pointer.
311 <BINOP_SUB>: Likewise.
312
0ea5cda8
SDJ
3132014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
314
315 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
316 only if it is not NULL.
317 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
318 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
319 (struct probe_ops) <clear_semaphore>: Likewise.
320 * tracepoint.c (start_tracing): Call set_semaphore only if it is
321 not NULL.
322 (stop_tracing): Likewise, for clear_semaphore.
323
f7088df3
SDJ
3242014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
325
326 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
327 using language_c, instead of current_language.
328
4e1bbde0
DE
3292014-10-13 Doug Evans <dje@google.com>
330
6ff5a0f6 331 * python/py-objfile.c (objfpy_initialize): New function.
4e1bbde0 332 (objfpy_new, objfile_to_objfile_object): Call it.
6ff5a0f6 333 * python/py-progspace.c (pspy_initialize): New function.
4e1bbde0
DE
334 (pspy_new, pspace_to_pspace_object): Call it.
335
c780cc2f
JK
3362014-10-13 Miroslav Franc <mfranc@redhat.com>
337 Jan Kratochvil <jan.kratochvil@redhat.com>
338
339 Fix "save breakpoints" for "catch" command.
340 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
341 newline.
342
99894e11
JK
3432014-10-12 Miroslav Franc <mfranc@redhat.com>
344
345 Fix "save breakpoints" for "disable $bpnum" command.
346 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
347
3831839c
PA
3482014-10-10 Pedro Alves <palves@redhat.com>
349
350 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
351 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
352 (HFILES_NO_SRCDIR): Remove solib-irix.h.
353 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
354 and been removed.
355 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
356 * configure.ac: Remove references to IRIX.
357 * configure.host: Add *-*-irix* to the obsolete hosts section.
358 Remove all other references to irix.
359 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
360 Delete files.
361
cc3afae2
AKA
3622014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
363
364 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
365 isn't valid, release the tdesc arch data and return NULL.
366
cdfa0b0a
PA
3672014-10-10 Pedro Alves <palves@redhat.com>
368
369 * linux-tdep.c: Include observer.h.
370 (linux_inferior_data): New global.
371 (struct linux_info): New structure.
372 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
373 (get_linux_inferior_data): New functions.
374 (linux_vsyscall_range): Rename to ...
375 (linux_vsyscall_range_raw): ... this.
376 (linux_vsyscall_range): New function; handles caching.
377 (_initialize_linux_tdep): Register linux_inferior_data. Install
378 inferior_exit and inferior_appeared observers.
379
8b9a549d
PA
3802014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
381 Pedro Alves <palves@redhat.com>
382
383 PR symtab/14466
384 * solib-svr4.c (svr4_read_so_list): Rename to ...
385 (svr4_current_sos_1): ... this and change the function comment.
386 (svr4_current_sos): New function.
387
3437254d
PA
3882014-10-10 Pedro Alves <palves@redhat.com>
389
390 * arch-utils.c (default_vsyscall_range): New function.
391 * arch-utils.h (default_vsyscall_range): New declaration.
392 * gdbarch.sh (vsyscall_range): New hook.
393 * gdbarch.h, gdbarch.c: Regenerate.
394 * linux-tdep.c (linux_vsyscall_range): New function.
395 (linux_init_abi): Install linux_vsyscall_range as
396 vsyscall_range gdbarch hook.
397 * memrange.c (address_in_mem_range): New function.
398 * memrange.h (address_in_mem_range): New declaration.
399 * symfile-mem.c (find_vdso_size): Delete function.
400 (add_vsyscall_page): Use gdbarch_vsyscall_range.
401
31cc0b80
PA
4022014-10-10 Pedro Alves <palves@redhat.com>
403
404 * infrun.c (normal_stop): Fix typo in comment.
405
3e3286a2
SDJ
4062014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
407
408 PR tdep/9390
409 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
410 typo when using logical AND to determine instruction type.
411
fcbdedf8
YQ
4122014-10-09 Yao Qi <yao@codesourcery.com>
413
414 * infrun.c (handle_signal_stop): Remove local variable
415 'printed'.
416
db984616
SS
4172014-10-08 Stan Shebs <stan@codesourcery.com>
418
419 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
420
3ba37e6c
GB
4212014-10-08 Gary Benson <gbenson@redhat.com>
422
423 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
424
a442d071
GB
4252014-10-08 Gary Benson <gbenson@redhat.com>
426
427 * common/common-defs.h: Include common-exceptions.h.
428 * exceptions.h: Do not include common-exceptions.h.
429
6f1947e8
GB
4302014-10-08 Gary Benson <gbenson@redhat.com>
431
432 * common/common-defs.h: Include cleanups.h.
433 * common/common-exceptions.c: Do not include cleanups.h.
434 * utils.h: Likewise.
435
c765fdb9
GB
4362014-10-08 Gary Benson <gbenson@redhat.com>
437
438 * ada-lang.c: Do not include exceptions.h.
439 * ada-valprint.c: Likewise.
440 * amd64-tdep.c: Likewise.
441 * auto-load.c: Likewise.
442 * block.c: Likewise.
443 * break-catch-throw.c: Likewise.
444 * breakpoint.c: Likewise.
445 * btrace.c: Likewise.
446 * c-lang.c: Likewise.
447 * cli/cli-cmds.c: Likewise.
448 * cli/cli-interp.c: Likewise.
449 * cli/cli-script.c: Likewise.
450 * completer.c: Likewise.
451 * corefile.c: Likewise.
452 * corelow.c: Likewise.
453 * cp-abi.c: Likewise.
454 * cp-support.c: Likewise.
455 * cp-valprint.c: Likewise.
456 * darwin-nat.c: Likewise.
457 * dwarf2-frame-tailcall.c: Likewise.
458 * dwarf2-frame.c: Likewise.
459 * dwarf2loc.c: Likewise.
460 * dwarf2read.c: Likewise.
461 * eval.c: Likewise.
462 * event-loop.c: Likewise.
463 * event-top.c: Likewise.
464 * f-valprint.c: Likewise.
465 * frame-unwind.c: Likewise.
466 * frame.c: Likewise.
467 * gdbtypes.c: Likewise.
468 * gnu-v2-abi.c: Likewise.
469 * gnu-v3-abi.c: Likewise.
470 * guile/scm-auto-load.c: Likewise.
471 * guile/scm-breakpoint.c: Likewise.
472 * guile/scm-cmd.c: Likewise.
473 * guile/scm-frame.c: Likewise.
474 * guile/scm-lazy-string.c: Likewise.
475 * guile/scm-param.c: Likewise.
476 * guile/scm-symbol.c: Likewise.
477 * guile/scm-type.c: Likewise.
478 * hppa-hpux-tdep.c: Likewise.
479 * i386-tdep.c: Likewise.
480 * inf-loop.c: Likewise.
481 * infcall.c: Likewise.
482 * infcmd.c: Likewise.
483 * infrun.c: Likewise.
484 * interps.c: Likewise.
485 * interps.h: Likewise.
486 * jit.c: Likewise.
487 * linespec.c: Likewise.
488 * linux-nat.c: Likewise.
489 * linux-thread-db.c: Likewise.
490 * m32r-rom.c: Likewise.
491 * main.c: Likewise.
492 * memory-map.c: Likewise.
493 * mi/mi-cmd-break.c: Likewise.
494 * mi/mi-cmd-stack.c: Likewise.
495 * mi/mi-interp.c: Likewise.
496 * mi/mi-main.c: Likewise.
497 * monitor.c: Likewise.
498 * nto-procfs.c: Likewise.
499 * objc-lang.c: Likewise.
500 * p-valprint.c: Likewise.
501 * parse.c: Likewise.
502 * ppc-linux-tdep.c: Likewise.
503 * printcmd.c: Likewise.
504 * probe.c: Likewise.
505 * python/py-auto-load.c: Likewise.
506 * python/py-breakpoint.c: Likewise.
507 * python/py-cmd.c: Likewise.
508 * python/py-finishbreakpoint.c: Likewise.
509 * python/py-frame.c: Likewise.
510 * python/py-framefilter.c: Likewise.
511 * python/py-function.c: Likewise.
512 * python/py-gdb-readline.c: Likewise.
513 * python/py-inferior.c: Likewise.
514 * python/py-infthread.c: Likewise.
515 * python/py-lazy-string.c: Likewise.
516 * python/py-linetable.c: Likewise.
517 * python/py-param.c: Likewise.
518 * python/py-prettyprint.c: Likewise.
519 * python/py-symbol.c: Likewise.
520 * python/py-type.c: Likewise.
521 * python/py-value.c: Likewise.
522 * python/python-internal.h: Likewise.
523 * python/python.c: Likewise.
524 * record-btrace.c: Likewise.
525 * record-full.c: Likewise.
526 * regcache.c: Likewise.
527 * remote-fileio.c: Likewise.
528 * remote-mips.c: Likewise.
529 * remote.c: Likewise.
530 * rs6000-aix-tdep.c: Likewise.
531 * rs6000-nat.c: Likewise.
532 * skip.c: Likewise.
533 * solib-darwin.c: Likewise.
534 * solib-dsbt.c: Likewise.
535 * solib-frv.c: Likewise.
536 * solib-ia64-hpux.c: Likewise.
537 * solib-spu.c: Likewise.
538 * solib-svr4.c: Likewise.
539 * solib.c: Likewise.
540 * spu-tdep.c: Likewise.
541 * stack.c: Likewise.
542 * stap-probe.c: Likewise.
543 * symfile-mem.c: Likewise.
544 * symmisc.c: Likewise.
545 * target.c: Likewise.
546 * thread.c: Likewise.
547 * top.c: Likewise.
548 * tracepoint.c: Likewise.
549 * tui/tui-interp.c: Likewise.
550 * typeprint.c: Likewise.
551 * utils.c: Likewise.
552 * valarith.c: Likewise.
553 * valops.c: Likewise.
554 * valprint.c: Likewise.
555 * value.c: Likewise.
556 * varobj.c: Likewise.
557 * windows-nat.c: Likewise.
558 * xml-support.c: Likewise.
559
484933d1
MR
5602014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
561
562 * mips-tdep.c (add_offset_16): Rewrite to implement what the
563 name implies.
564 (extended_mips16_next_pc): Update accordingly.
565
ab50adb6
MR
5662014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
567
568 * mips-tdep.c (mips16_instruction_is_compact_branch): New
569 function.
570 (micromips_instruction_is_compact_branch): Likewise.
571 (mips16_scan_prologue): Terminate scanning upon seeing a branch
572 or a compact jump, reaching a jump delay slot, or seeing a
573 second non-prologue instruction.
574 (micromips_scan_prologue): Also terminate scanning upon seeing a
575 compact branch or jump, or reaching a branch or jump delay slot.
576 (mips32_scan_prologue): Terminate scanning upon reaching a branch
577 or jump delay slot, or seeing a second non-prologue instruction.
578 (mips32_instruction_has_delay_slot): Retain instruction
579 examination code only, update arguments accordingly and move
580 instruction fetch pieces to...
581 (mips32_insn_at_pc_has_delay_slot): ... this new function.
582 (micromips_instruction_has_delay_slot): Likewise and to...
583 (micromips_insn_at_pc_has_delay_slot): ... this new function.
584 (mips16_instruction_has_delay_slot): Likewise and to...
585 (mips16_insn_at_pc_has_delay_slot): ... this new function.
586 (mips_single_step_through_delay): Update accordingly.
587 (mips_adjust_breakpoint_address): Likewise.
588
ae790652
MR
5892014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
590
591 * mips-tdep.c (micromips_instruction_has_delay_slot): When
592 !mustbe32 also return 1 for 32-bit instructions.
593 (mips16_instruction_has_delay_slot): Likewise. Add an
594 explanatory comment.
595
9b807e7b
MR
5962014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
597
598 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
599 symbols special.
600
0d5ed153
MR
6012014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
602
603 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
604 update comments.
605 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
606 for the breakpoint's address. Don't preinitialize `placed_size'.
607 (insert_bp_location): Set `reqstd_address' rather than
608 `placed_address'.
609 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
610 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
611 address.
612 (bkpt_remove_location): Likewise.
613 (deprecated_insert_raw_breakpoint): Likewise.
614 (deprecated_remove_raw_breakpoint): Likewise.
615 (find_single_step_breakpoint): Likewise.
616 * mem-break.c (default_memory_insert_breakpoint): Use
617 `reqstd_address' for the breakpoint's address. Don't set
618 `placed_address' or `placed_size' if breakpoint contents couldn't
619 have been determined.
620 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
621 the breakpoint's address.
622 (remote_insert_hw_breakpoint): Likewise. Don't set
623 `placed_address' or `placed_size' if breakpoint couldn't have been
624 set.
625 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
626 `reqstd_address' for the breakpoint's address.
627 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
628 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
629 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
630 * microblaze-linux-tdep.c
631 (microblaze_linux_memory_remove_breakpoint): Likewise.
632 * monitor.c (monitor_insert_breakpoint): Likewise.
633 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
634 (procfs_insert_hw_breakpoint): Likewise.
635 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
636 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
637 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
638 * remote-mips.c (mips_insert_breakpoint): Likewise.
639 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
640
3e871532
LM
6412014-10-03 Luis Machado <lgustavo@codesourcery.com>
642
643 * valops.c (value_assign): Check for bit field assignments
644 before calling architecture-specific register value
645 conversion functions.
646
ec48dc8b
PM
6472014-10-03 Pierre Muller <muller@sourceware.org>
648
649 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
650
b57bacec
PA
6512014-10-02 Pedro Alves <palves@redhat.com>
652
653 * breakpoint.c (breakpoints_should_be_inserted_now): Use
654 threads_are_executing.
655 * breakpoint.h (breakpoints_should_be_inserted_now): Add
656 describing comment.
657 * gdbthread.h (threads_are_executing): Declare.
658 (handle_signal_stop) <random signals>: Don't print about the
659 signal here if stopping.
660 (end_stepping_range): Don't notify observers here.
661 (normal_stop): Update the thread list. If stopped by a random
662 signal or a stepping range ended, notify observers.
663 * thread.c (threads_executing): New global.
664 (init_thread_list): Clear 'threads_executing'.
665 (set_executing): Set or clear 'threads_executing'.
666 (threads_are_executing): New function.
667 (update_threads_executing): New function.
668 (update_thread_list): Use it.
669
13fd3ff3
PA
6702014-10-02 Pedro Alves <palves@redhat.com>
671
672 PR breakpoints/17431
673 * breakpoint.c (update_breakpoints_after_exec): Don't create
674 overlay, longjmp, std terminate nor exception breakpoints here.
675
32990ada
PA
6762014-10-02 Pedro Alves <palves@redhat.com>
677
678 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
679 Adjust comments.
680 * inferior.c (find_inferior_for_program_space): Give preference to
681 the current inferior.
682 * inferior.h (find_inferior_for_program_space): Update comment.
683 * progspace.c (switch_to_program_space_and_thread): Prefer the
684 current inferior if it's bound to the program space requested. If
685 the inferior found doesn't have a PID yet, don't bother looking up
686 a thread.
687 * progspace.h (switch_to_program_space_and_thread): Adjust
688 comment.
689 * thread.c (any_thread_of_process, any_live_thread_of_process):
690 Give preference to the current thread.
691
0fec99e8
PA
6922014-10-01 Pedro Alves <palves@redhat.com>
693
694 * breakpoint.c (insert_bp_location): Error out if inserting a
695 software breakpoint at a read-only address.
696 * target.c (memory_xfer_check_region): New function, factored out
697 from ...
698 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
699 ULONGEST.
700 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
701 against the memory region attributes.
702
2ddf4301
SM
7032014-10-01 Simon Marchi <simon.marchi@ericsson.com>
704
705 * NEWS: Announce new exit-code field in -list-thread-groups
706 output.
707 * inferior.c (exit_inferior_1): Don't clear exit code.
708 (inferior_appeared): Clear exit code.
709 * mi/mi-main.c (print_one_inferior): Add printing of the exit
710 code.
711
5fdeec1d
PA
7122014-10-01 Pedro Alves <palves@redhat.com>
713
714 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
715 GENERATED" along with emacs/vi read-only markers.
716 * regformats/aarch64.dat: Regenerate.
717 * regformats/arm-with-iwmmxt.dat: Regenerate.
718 * regformats/arm-with-neon.dat: Regenerate.
719 * regformats/arm-with-vfpv2.dat: Regenerate.
720 * regformats/arm-with-vfpv3.dat: Regenerate.
721 * regformats/i386/amd64-avx-linux.dat: Regenerate.
722 * regformats/i386/amd64-avx.dat: Regenerate.
723 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
724 * regformats/i386/amd64-avx512.dat: Regenerate.
725 * regformats/i386/amd64-linux.dat: Regenerate.
726 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
727 * regformats/i386/amd64-mpx.dat: Regenerate.
728 * regformats/i386/amd64.dat: Regenerate.
729 * regformats/i386/i386-avx-linux.dat: Regenerate.
730 * regformats/i386/i386-avx.dat: Regenerate.
731 * regformats/i386/i386-avx512-linux.dat: Regenerate.
732 * regformats/i386/i386-avx512.dat: Regenerate.
733 * regformats/i386/i386-linux.dat: Regenerate.
734 * regformats/i386/i386-mmx-linux.dat: Regenerate.
735 * regformats/i386/i386-mmx.dat: Regenerate.
736 * regformats/i386/i386-mpx-linux.dat: Regenerate.
737 * regformats/i386/i386-mpx.dat: Regenerate.
738 * regformats/i386/i386.dat: Regenerate.
739 * regformats/i386/x32-avx-linux.dat: Regenerate.
740 * regformats/i386/x32-avx.dat: Regenerate.
741 * regformats/i386/x32-avx512-linux.dat: Regenerate.
742 * regformats/i386/x32-avx512.dat: Regenerate.
743 * regformats/i386/x32-linux.dat: Regenerate.
744 * regformats/i386/x32.dat: Regenerate.
745 * regformats/microblaze-with-stack-protect.dat: Regenerate.
746 * regformats/mips-dsp-linux.dat: Regenerate.
747 * regformats/mips-linux.dat: Regenerate.
748 * regformats/mips64-dsp-linux.dat: Regenerate.
749 * regformats/mips64-linux.dat: Regenerate.
750 * regformats/nios2-linux.dat: Regenerate.
751 * regformats/rs6000/powerpc-32.dat: Regenerate.
752 * regformats/rs6000/powerpc-32l.dat: Regenerate.
753 * regformats/rs6000/powerpc-64l.dat: Regenerate.
754 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
755 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
756 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
757 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
758 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
759 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
760 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
761 * regformats/s390-linux32.dat: Regenerate.
762 * regformats/s390-linux32v1.dat: Regenerate.
763 * regformats/s390-linux32v2.dat: Regenerate.
764 * regformats/s390-linux64.dat: Regenerate.
765 * regformats/s390-linux64v1.dat: Regenerate.
766 * regformats/s390-linux64v2.dat: Regenerate.
767 * regformats/s390-te-linux64.dat: Regenerate.
768 * regformats/s390x-linux64.dat: Regenerate.
769 * regformats/s390x-linux64v1.dat: Regenerate.
770 * regformats/s390x-linux64v2.dat: Regenerate.
771 * regformats/s390x-te-linux64.dat: Regenerate.
772 * regformats/tic6x-c62x-linux.dat: Regenerate.
773 * regformats/tic6x-c62x.dat: Regenerate.
774 * regformats/tic6x-c64x-linux.dat: Regenerate.
775 * regformats/tic6x-c64x.dat: Regenerate.
776 * regformats/tic6x-c64xp-linux.dat: Regenerate.
777 * regformats/tic6x-c64xp.dat: Regenerate.
778
db74e4ba
PA
7792014-10-01 Pedro Alves <palves@redhat.com>
780
781 * features/Makefile: Update comments.
782 (XMLTOC): List all xml files we build C files from.
783 (clean-cfiles): New rule.
784
d63f2f84
PA
7852014-10-01 Pedro Alves <palves@redhat.com>
786
787 * features/i386/amd64-avx512-linux.c: Regenerate.
788 * features/i386/amd64-avx512.c: Regenerate.
789 * features/i386/x32-avx512-linux.c: Regenerate.
790 * features/i386/x32-avx512.c: Regenerate.
791
20ad026d
PA
7922014-10-01 Pedro Alves <palves@redhat.com>
793
794 * features/Makefile (WHICH): Remove arm-with-m,
795 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
796
acc9fe45
PA
7972014-10-01 Pedro Alves <palves@redhat.com>
798
799 * features/Makefile (clean): New rule.
800
e001e535
PA
8012014-10-01 Pedro Alves <palves@redhat.com>
802
803 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
804 (zmm14h): Add missing end quotes.
805
bdc14417
PA
8062014-10-01 Pedro Alves <palves@redhat.com>
807
808 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
809 * features/aarch64.c: Regenerate.
810
d83ad864
DB
8112014-09-30 Don Breazeal <donb@codesourcery.com>
812
813 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
814 code so as to work with follow_fork_inferior.
815 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
816 (inf_ttrace_create_inferior): Remove reference to
817 inf_ttrace_vfork_ppid.
818 (inf_ttrace_attach): Ditto.
819 (inf_ttrace_detach): Ditto.
820 (inf_ttrace_kill): Use current_inferior instead of
821 inf_ttrace_vfork_ppid.
822 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
823 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
824 inferior away from the parent.
825 * infrun.c (follow_fork): Call follow_fork_inferior instead of
826 target_follow_fork.
827 (follow_fork_inferior): New function.
828 (follow_inferior_reset_breakpoints): Make function static.
829 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
830 * linux-nat.c (linux_child_follow_fork): Move target-independent
831 code to infrun.c:follow_fork_inferior.
832
29082443
AA
8332014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
834
835 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
836 * gdbarch.c: Regenerate.
837 * gdbarch.h: Likewise.
838 * corelow.c (sniff_core_bfd): Drop presence check for deleted
839 gdbarch method 'regset_from_core_section'.
840 (get_core_register_section): Remove handling for the case that
841 regset == NULL and regset_from_core_section is defined.
842 (get_core_registers): Drop check for deleted method.
843 * procfs.c (procfs_do_thread_registers): Adjust comment.
844
f968fe80
AA
8452014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
846
847 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
848 (linux_nat_make_corefile_notes): Remove.
849 (linux_target_install_ops): Do not set target method
850 'make_corefile_notes'.
851 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
852 Remove field.
853 (linux_corefile_thread_callback): Instead of args->collect, call
854 linux_collect_thread_registers.
855 (linux_make_corefile_notes): Remove 'collect' parameter. Return
856 NULL unless there is a regset iterator.
857 (linux_make_corefile_notes_1): Remove.
858 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
859 by linux_make_corefile_notes.
860 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
861
174ad59a
AA
8622014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
863
864 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
865 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
866 Remove.
867 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
868
97094034
AA
8692014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
870
871 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
872 (xtensa_iterate_over_regset_sections): New.
873 (xtensa_gdbarch_init): Adjust gdbarch initialization.
874
f73d3ce7
AA
8752014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
876
877 * vax-tdep.c (vax_regset_from_core_section): Remove.
878 (vax_iterate_over_regset_sections): New.
879 (vax_gdbarch_init): Adjust gdbarch initialization.
880
cb24567a
AA
8812014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
882
883 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
884 (tilegx_regset_from_core_section): Remove.
885 (tilegx_iterate_over_regset_sections): New.
886 (tilegx_linux_init_abi): Adjust gdbarch initialization.
887
e5139de8
AA
8882014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
889
890 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
891 (sparc_iterate_over_regset_sections): New.
892 (sparc32_gdbarch_init): Adjust gdbarch initialization.
893 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
894 targets.
895 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
896 (sparc64fbsd_init_abi): Call fbsd_init_abi.
897 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
898 target method 'make_corefile_notes'.
899
c6d41a6f
AA
9002014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
901
902 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
903 'sizeof_gregset' and 'sizeof_fpregset'.
904 * sh-tdep.c (sh_regset_from_core_section): Remove.
905 (sh_iterate_over_regset_sections): New.
906 (sh_gdbarch_init): Adjust gdbarch initialization.
907 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
908 sizeof_fpregset.
909 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
910 'sizeof_gregset'.
911
9845a0b5
AA
9122014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
913
914 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
915 (score7_linux_iterate_over_regset_sections): New.
916 (score_gdbarch_init): Adjust gdbarch initialization.
917
23ea9aeb
AA
9182014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
919
920 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
921 FreeBSD targets.
922 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
923 method 'make_corefile_notes'.
924 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
925 (ppcfbsd_regset_from_core_section): Remove.
926 (ppcfbsd_iterate_over_regset_sections): New.
927 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
928 initialization.
929 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
930 (ppcnbsd_iterate_over_regset_sections): New.
931 (ppcnbsd_init_abi): Adjust.
932 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
933 (ppcobsd_iterate_over_regset_sections): New.
934 (ppcobsd_init_abi): Adjust.
935 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
936 (rs6000_aix_iterate_over_regset_sections): New.
937 (rs6000_aix_init_osabi): Adjust.
938
c5b8d704
AA
9392014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
940
941 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
942 (nios2_regset_from_core_section): Remove.
943 (nios2_iterate_over_regset_sections): New.
944 (nios2_linux_init_abi): Adjust gdbarch initialization.
945
3636e608
AA
9462014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
947
948 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
949 (am33_iterate_over_regset_sections): New.
950 (am33_linux_init_osabi): Adjust gdbarch initialization.
951
d4036235
AA
9522014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
953
954 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
955 (mips_linux_iterate_over_regset_sections): New.
956 (mips_linux_init_abi): Adjust gdbarch initialization.
957 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
958 (mips64obsd_iterate_over_regset_sections): New.
959 (mips64obsd_init_abi): Adjust.
960 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
961 (mipsnbsd_iterate_over_regset_sections): New.
962 (mipsnbsd_init_abi): Adjust.
963
b61ddd6e
AA
9642014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
965
966 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
967 (m88k_iterate_over_regset_sections): New.
968 (m88k_gdbarch_init): Adjust gdbarch initialization.
969
55a2906a
AA
9702014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
971
972 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
973 (ia64_linux_iterate_over_regset_sections): New.
974 (ia64_linux_init_abi): Adjust gdbarch initialization.
975
022c98ab
AA
9762014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
977
978 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
979 (m68kbsd_iterate_over_regset_sections): New.
980 (m68kbsd_init_abi): Adjust gdbarch initialization.
981 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
982 (m68k_linux_iterate_over_regset_sections): New.
983 (m68k_linux_init_abi): Adjust gdbarch initialization.
984
5fac247f
AA
9852014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
986
987 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
988 (m32r_linux_regset_from_core_section): Remove.
989 (m32r_linux_iterate_over_regset_sections): New.
990 (m32r_linux_init_abi): Adjust gdbarch initialization.
991
490496c3
AA
9922014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
993
994 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
995 (amd64obsd_iterate_over_regset_sections): New.
996 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
997 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
998 Remove.
999 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
1000 regset_from_core_section initialization.
1001 * i386-tdep.c (i386_regset_from_core_section): Remove.
1002 (i386_iterate_over_regset_sections): New.
1003 (i386_gdbarch_init): Adjust gdbarch initialization.
1004 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
1005 (i386_iterate_over_regset_sections): New prototype.
1006 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
1007 Remove.
1008 (i386obsd_aout_iterate_over_regset_sections): New.
1009 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
1010 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
1011 targets.
1012 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
1013 (amd64fbsd_init_abi): Call fbsd_init_abi.
1014 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
1015 (i386fbsd4_init_abi): Call fbsd_init_abi.
1016 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
1017 target method 'make_corefile_notes'.
1018 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
1019
50c5eb53
AA
10202014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1021
1022 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
1023 (hppa_hpux_iterate_over_regset_sections): New.
1024 (hppa_hpux_init_abi): Adjust gdbarch initialization.
1025 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
1026 (hppa_linux_iterate_over_regset_sections): New.
1027 (hppa_linux_init_abi): Adjust.
1028 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1029 (hppanbsd_iterate_over_regset_sections): New.
1030 (hppanbsd_init_abi): Adjust.
1031 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1032 (hppaobsd_iterate_over_regset_sections): New.
1033 (hppaobsd_init_abi): Adjust.
1034
66afae4f
AA
10352014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1036
1037 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
1038 (frv_linux_iterate_over_regset_sections): New.
1039 (frv_linux_init_abi): Adjust gdbarch initialization.
1040
ed09174e
AA
10412014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1042
1043 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
1044 (armbsd_iterate_over_regset_sections): New prototype.
1045 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
1046 (armbsd_iterate_over_regset_sections): New.
1047 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
1048 initialization.
1049
dff2166e
AA
10502014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1051
1052 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
1053 (alpha_linux_iterate_over_regset_sections): New.
1054 (alpha_linux_init_abi): Adjust gdbarch initialization.
1055 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
1056 prototype.
1057 (alphanbsd_iterate_over_regset_sections): New prototype.
1058
4108500a
AA
10592014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1060
1061 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
1062 Remove.
1063 (aarch64_linux_iterate_over_regset_sections): New.
1064 (aarch64_linux_init_abi): Adjust gdbarch initialization.
1065
a904c024
AA
10662014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1067
1068 * fbsd-tdep.c: New file.
1069 * fbsd-tdep.h: New file.
1070 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
1071 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
1072 (ALLDEPFILES): Add fbsd-tdep.c.
1073
8f0435f7
AA
10742014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1075
1076 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
1077 parameter.
1078 * gdbarch.h: Regenerate.
1079 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
1080 iterator.
1081 (get_core_register_section): Add parameter 'regset' and use it, if
1082 set. Add parameter 'min_size' and verify the bfd section size
1083 against it.
1084 (get_core_registers_cb): Add parameter 'regset' and pass it to
1085 get_core_register section. For the "standard" register sections
1086 ".reg" and ".reg2", set an appropriate default for human_name.
1087 (get_core_registers): Don't abort when the gdbarch has an iterator
1088 but no regset_from_core_section. Add NULL/0 for parameters
1089 'regset'/'min_size' in calls to get_core_register_section.
1090 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
1091 'regset' and use it instead of calling the
1092 regset_from_core_section gdbarch method.
1093 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
1094 * i386-tdep.c (i386_supply_xstateregset)
1095 (i386_collect_xstateregset, i386_xstateregset): Moved to
1096 i386-linux-tdep.c.
1097 (i386_regset_from_core_section): Drop handling for .reg-xfp and
1098 .reg-xstate.
1099 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
1100 core file support only if the regset iterator hasn't been set.
1101 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
1102 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
1103 Moved from i386-tdep.c and renamed to *_linux*.
1104 (i386_linux_iterate_over_regset_sections): Add regset parameter to
1105 each callback invocation. Allow any .reg-xstate size when reading
1106 from a core file.
1107 * amd64-tdep.c (amd64_supply_xstateregset)
1108 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
1109 amd64-linux-tdep.c.
1110 (amd64_regset_from_core_section): Remove.
1111 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
1112 install an amd64-specific regset_from_core_section gdbarch method.
1113 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
1114 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
1115 Moved from amd64-tdep.c and renamed to *_linux*.
1116 (amd64_linux_iterate_over_regset_sections): Add regset parameter
1117 to each callback invocation. Allow any .reg-xstate size when
1118 reading from a core file.
1119 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
1120 (arm_linux_iterate_over_regset_sections): Add regset parameter to
1121 each callback invocation.
1122 (arm_linux_init_abi): No longer set the regset_from_core_section
1123 gdbarch method.
1124 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
1125 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
1126 each callback invocation.
1127 (ppc_linux_init_abi): No longer set the regset_from_core_section
1128 gdbarch method.
1129 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
1130 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
1131 (s390_regset_from_core_section): Remove.
1132 (s390_iterate_over_regset_sections): Add regset parameter to each
1133 callback invocation.
1134 (s390_gdbarch_init): No longer set the regset_from_core_section
1135 gdbarch method. Drop initialization of deleted tdep fields.
1136
5aa82d05
AA
11372014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1138
1139 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
1140 (amd64_linux_iterate_over_regset_sections): New.
1141 (amd64_linux_init_abi_common): Don't install the regset section
1142 list, but the new iterator in gdbarch.
1143 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
1144 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
1145 (arm_linux_iterate_over_regset_sections): ...here. New function.
1146 (arm_linux_init_abi): Set iterator instead of section list.
1147 * corelow.c (get_core_registers_cb): New function, logic moved
1148 from...
1149 (get_core_registers): ...loop body here. Use new iterator method
1150 instead of walking through the regset section list.
1151 * gdbarch.sh: Remove 'core_regset_sections'. New method
1152 'iterate_over_regset_sections'. New typedef
1153 'iterate_over_regset_sections_cb'.
1154 * gdbarch.c: Regenerate.
1155 * gdbarch.h: Likewise.
1156 * i386-linux-tdep.c (i386_linux_regset_sections)
1157 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
1158 Remove.
1159 (i386_linux_iterate_over_regset_sections): New.
1160 (i386_linux_init_abi): Don't choose a regset section list, but
1161 install new iterator in gdbarch.
1162 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
1163 (linux_collect_regset_section_cb): New function, logic moved
1164 from...
1165 (linux_collect_thread_registers): ...loop body here. Use iterator
1166 method instead of walking through list.
1167 (linux_make_corefile_notes_1): Check for presence of iterator
1168 method instead of regset section list.
1169 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
1170 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
1171 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
1172 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
1173 (ppc_linux_iterate_over_regset_sections): ...here. New function.
1174 (ppc_linux_init_abi): Don't choose from above regset section
1175 lists, but install new iterator in gdbarch.
1176 * regset.h (struct core_regset_section): Remove.
1177 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
1178 have_linux_v1, have_linux_v2, and have_tdb.
1179 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
1180 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
1181 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
1182 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
1183 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
1184 (s390_iterate_over_regset_sections): ...here. New function. Use
1185 new tdep fields.
1186 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
1187 regset section lists, but install new iterator.
1188
2eca4a8d
JK
11892014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1190
1191 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
1192
a73c2b56
SM
11932014-09-26 Simon Marchi <simon.marchi@ericsson.com>
1194
1195 * progspace.c (print_program_space): Don't prune program spaces
1196 before printing them.
1197
03d46957
PA
11982014-09-25 Pedro Alves <palves@redhat.com>
1199
1200 * infrun.c (user_visible_resume_ptid): Don't check
1201 singlestep_breakpoints_inserted_p.
1202
e558d7c1
PA
12032014-09-25 Pedro Alves <palves@redhat.com>
1204
1205 * breakpoint.c (should_be_inserted): Add debug output.
1206
7f89fd65
PA
12072014-09-25 Pedro Alves <palves@redhat.com>
1208
1209 * infrun.c (stepping_past_instruction_at)
1210 (clear_exit_convenience_vars): Point at infrun.h instead of
1211 inferior.h.
1212 (handle_signal_stop): Fix typo.
1213
b7576e5c
YQ
12142014-09-24 Yao Qi <yao@codesourcery.com>
1215
1216 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
1217 bitmask.
1218
9a6cf368
GB
12192014-09-22 Gary Benson <gbenson@redhat.com>
1220
1221 * target.c (target_stop): Updated comment.
1222
03f4463b
GB
12232014-09-22 Gary Benson <gbenson@redhat.com>
1224
1225 * target/target.h (target_stop_ptid): Renamed as...
1226 (target_stop_and_wait): New function. Updated comment.
1227 All uses updated.
1228 (target_continue_ptid): Renamed as...
1229 (target_continue_no_signal): New function. Updated comment.
1230 All uses updated.
1231
a25a5a45
PA
12322014-09-22 Pedro Alves <palves@redhat.com>
1233
1234 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
1235 and "auto" merged.
1236 * breakpoint.c (enum ugll_insert_mode): New enum.
1237 (always_inserted_mode): Now a plain boolean.
1238 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
1239 (breakpoints_always_inserted_mode): Delete.
1240 (breakpoints_should_be_inserted_now): New function.
1241 (insert_breakpoints): Pass UGLL_INSERT to
1242 update_global_location_list instead of calling
1243 insert_breakpoint_locations manually.
1244 (create_solib_event_breakpoint_1): New, factored out from ...
1245 (create_solib_event_breakpoint): ... this.
1246 (create_and_insert_solib_event_breakpoint): Use
1247 create_solib_event_breakpoint_1 instead of calling
1248 insert_breakpoint_locations manually.
1249 (update_global_location_list): Change parameter type from boolean
1250 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1251 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1252 (update_global_location_list_nothrow): Change parameter type from
1253 boolean to enum ugll_insert_mode.
1254 (_initialize_breakpoint): "breakpoint always-inserted" option is
1255 now a boolean command. Update help text.
1256 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
1257 (breakpoints_should_be_inserted_now): New declaration.
1258 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
1259 Remove breakpoints_always_inserted_mode check.
1260 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
1261 * remote.c (remote_start_remote): Likewise.
1262
04086b45
PA
12632014-09-22 Pedro Alves <palves@redhat.com>
1264
1265 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
1266 (insert_breakpoints): Don't call insert_breakpoint_locations here.
1267 Instead, pass UGLL_INSERT to update_global_location_list.
1268 (update_global_location_list): Change parameter type from boolean
1269 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1270 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1271 (create_solib_event_breakpoint_1): New, factored out from ...
1272 (create_solib_event_breakpoint): ... this.
1273 (create_and_insert_solib_event_breakpoint): Use
1274 create_solib_event_breakpoint_1 instead of calling
1275 insert_breakpoint_locations manually.
1276 (update_global_location_list): Handle UGLL_INSERT.
1277
44702360
PA
12782014-09-22 Pedro Alves <palves@redhat.com>
1279
1280 * breakpoint.c (enum ugll_insert_mode): New enum.
1281 (update_global_location_list)
1282 (update_global_location_list_nothrow): Change parameter type from
1283 boolean to enum ugll_insert_mode. All callers adjusted.
1284
93c6145a
JB
12852014-09-19 Joel Brobecker <brobecker@adacore.com>
1286
1287 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
1288 SystemTap support in GDB.
1289
89a5711c
DB
12902014-09-19 Don Breazeal <donb@codesourcery.com>
1291
1292 * linux-nat.c (linux_handle_extended_wait): Call
1293 linux_ptrace_get_extended_event.
1294 (wait_lwp): Call linux_is_extended_waitstatus.
1295 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
1296 and linux_is_extended_waitstatus.
1297 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
1298 linux_ptrace_get_extended_event.
1299 (linux_ptrace_get_extended_event): New function.
1300 (linux_is_extended_waitstatus): New function.
1301 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
1302 (linux_is_extended_waitstatus): New declarations.
1303
c3b7b696
YQ
13042014-09-19 Yao Qi <yao@codesourcery.com>
1305
1306 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1307 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
1308 comments. Callers update.
1309 (dwarf_decode_lines): Likewise.
1310 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
1311 comments. Skip the line table if 'lowpc' is greater than
1312 'address'. Don't check
1313 dwarf2_per_objfile->has_section_at_zero.
1314
2b4fd423
DE
13152014-09-18 Doug Evans <dje@google.com>
1316
1317 * NEWS: Mention new "producer" attribute of gdb.Symtab.
1318 * python/py-symtab.c (stpy_get_producer): New function.
1319 (symtab_object_getset): Add "producer" attribute.
1320
5e43d467
UW
13212014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
1322
1323 PR gdb/17384
1324 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
1325 (do_captured_read_memory_integer): Remove.
1326 (safe_read_memory_integer): Use target_read_memory directly instead
1327 of catching errors in do_captured_read_memory_integer.
1328
04e79979
MR
13292014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
1330
1331 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
1332 not gdb/doc.
1333
76aeec5b
SDJ
13342014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1335
1336 * objc-lang.c (find_implementation_from_class): Remove dead code.
1337
2f693f9d
SDJ
13382014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1339
1340 PR cli/7233
1341 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
1342 "fprintf_unfiltered (gdb_stdlog...)".
1343
bb9d5f81
PP
13442014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1345
1346 PR breakpoints/12526
1347 * breakpoint.h (struct watchpoint): New fields val_bitpos and
1348 val_bitsize.
1349 * breakpoint.c (watch_command_1): Use these fields to retain
1350 bitfield information.
1351 (extract_bitfield_from_watchpoint_value): New function.
1352 (watchpoint_check): Use it.
1353 (update_watchpoint): Use it. Optimize the address and length of a
1354 HW watchpoint pointing to a bitfield.
1355 * value.h (unpack_value_bitfield): New prototype.
1356 * value.c (unpack_value_bitfield): Make extern.
1357
05db5edd
ST
13582014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1359
1360 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
1361 x86-dregs.o.
1362 * gnu-nat.c (inf_threads): New function.
1363 * gnu-nat.h (inf_threads_ftype): New typedef.
1364 (inf_threads): New declaration.
1365 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
1366 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
1367 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
1368 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
1369 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
1370 (i386_gnu_dr_get_control): New functions.
1371 (reg_addr): New structure.
1372 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
1373 i386 debugging register hooks.
1374 * NEWS: Mention this.
1375
5a578da5
OJ
13762014-08-13 Omair Javaid <omair.javaid@linaro.org>
1377
1378 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
1379 vector data transfer instructions.
1380 (arm_record_coproc_data_proc): Updated.
1381
f20f80dd
OJ
13822014-08-13 Omair Javaid <omair.javaid@linaro.org>
1383
1384 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
1385 arm_record_exreg_ld_st_insn.
1386 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
1387 load/store insns.
1388
851f26ae
OJ
13892014-08-13 Omair Javaid <omair.javaid@linaro.org>
1390
1391 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
1392 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
1393 processing instructions.
1394
1e1b6563
OJ
13952014-08-13 Omair Javaid <omair.javaid@linaro.org>
1396
1397 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
1398 for advance SIMD struct ld/st insn.
1399 (thumb2_record_decode_insn_handler): Replace stub handler with
1400 thumb2_record_asimd_struct_ld_st.
1401
60cc5e93
OJ
14022014-08-13 Omair Javaid <omair.javaid@linaro.org>
1403
1404 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
1405 for asimd, vfp and coprocessor insns.
1406 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
1407 and coprocessor insns.
1408 (thumb2_record_coproc_insn): New function.
1409 (thumb2_record_decode_insn_handler): Update coprocessor insns record
1410 handlers.
1411 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
1412 opcode 110 insns.
1413
81219e53
DE
14142014-09-13 Doug Evans <xdje42@gmail.com>
1415
1416 * NEWS: Mention new "queue-signal" command.
1417 * infcmd.c (queue_signal_command): New function.
1418 (_initialize_infcmd): Add new queue-signal command.
1419
d36bf488
DE
14202014-09-13 Doug Evans <xdje42@gmail.com>
1421
1422 * linux-nat.c (wait_lwp): Add debugging printf.
1423 (linux_nat_wait_1): Ditto.
1424
f37f681c
PA
14252014-09-12 Pedro Alves <palves@redhat.com>
1426
1427 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
1428 (create_and_insert_solib_event_breakpoint): New functions.
1429 * breakpoint.h (create_and_insert_solib_event_breakpoint)
1430 (remove_solib_event_breakpoints_at_next_stop): New declarations.
1431 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
1432 (remove_dbx_link_breakpoint): Delete function.
1433 (insert_dbx_link_bpt_in_file): Use
1434 create_and_insert_solib_event_breakpoint instead of
1435 deprecated_insert_raw_breakpoint.
1436 (procfs_wait): Don't check whether we hit __dbx_link here.
1437 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
1438 here.
1439 * solib-irix.c (base_breakpoint): Delete global.
1440 (disable_break): Delete function.
1441 (enable_break): Use create_solib_event_breakpoint
1442 instead of deprecated_insert_raw_breakpoint.
1443 (irix_solib_handle_event): New function.
1444 (irix_solib_create_inferior_hook): Don't run the target or disable
1445 the mapping-complete breakpoint here.
1446 (_initialize_irix_solib): Install irix_solib_handle_event as
1447 so_ops->handle_event hook.
1448
9d9bf2df
EBM
14492014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1450 Ulrich Weigand  <uweigand@de.ibm.com>
1451
1452 PR tdep/17379
1453 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
1454 instead of read_memory_unsigned_integer.
1455
b006a80e
GB
14562014-09-12 Gary Benson <gbenson@redhat.com>
1457
1458 * nat/linux-waitpid.c: Include common-defs.h.
1459 [GDBSERVER]: Add FIXME comment.
1460 [!GDBSERVER]: Don't include defs.h or signal.h.
1461 (linux_debug) [!GDBSERVER]: Remove empty block.
1462
296b1496
GB
14632014-09-12 Gary Benson <gbenson@redhat.com>
1464
1465 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
1466 Don't include defs.h or server.h.
1467
53f81362
GB
14682014-09-12 Gary Benson <gbenson@redhat.com>
1469
1470 * nat/linux-btrace.c: Include common-defs.h.
1471 Don't include defs.h, server.h or gdbthread.h.
1472 * nat/linux-btrace.h (struct target_ops): New forward declaration.
1473
727605ca
GB
14742014-09-12 Gary Benson <gbenson@redhat.com>
1475
1476 * common/agent.c: Include common-defs.h.
1477 Don't include defs.h or server.h.
1478 * common/buffer.c: Likewise.
1479 * common/common-debug.c: Likewise.
1480 * common/common-utils.c: Likewise.
1481 * common/errors.c: Likewise.
1482 * common/filestuff.c: Likewise.
1483 * common/format.c: Likewise.
1484 * common/gdb_vecs.c: Likewise.
1485 * common/print-utils.c: Likewise.
1486 * common/ptid.c: Likewise.
1487 * common/rsp-low.c: Likewise.
1488 * common/signals.c: Likewise.
1489 * common/vec.c: Likewise.
1490 * common/xml-utils.c: Likewise.
1491 * nat/linux-osdata.c: Likewise.
1492 * nat/linux-procfs.c: Likewise.
1493 * nat/linux-ptrace.c: Likewise.
1494 * nat/mips-linux-watch.c: Likewise.
1495 * target/waitstatus.c: Likewise.
1496
361c8ade
GB
14972014-09-12 Tom Tromey <tromey@redhat.com>
1498 Gary Benson <gbenson@redhat.com>
1499
1500 * common/common-regcache.h: New file.
1501 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
1502 * regcache.h: Include common-regcache.h.
1503 (regcache_read_pc): Don't declare.
1504 * regcache.c (get_thread_regcache_for_ptid): New function.
1505 * nat/linux-btrace.c: Don't include regcache.h.
1506 Include common-regcache.h.
1507 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
1508
a01cbb49
TS
15092014-09-11 Thomas Schwinge <thomas@codesourcery.com>
1510
1511 * regcache.h (struct regset): Declare.
1512
98880d46
PA
15132014-09-11 Pedro Alves <palves@redhat.com>
1514
1515 PR gdb/17347
1516 * main.c: Include "infrun.h".
1517 (catch_command_errors, catch_command_errors_const): Wait for the
1518 foreground command to complete.
1519 * top.c (maybe_wait_sync_command_done): New function, factored out
1520 from ...
1521 (maybe_wait_sync_command_done): ... here.
1522 * top.h (maybe_wait_sync_command_done): New declaration.
1523
bd9269f7
GB
15242014-09-11 Tom Tromey <tromey@redhat.com>
1525 Gary Benson <gbenson@redhat.com>
1526
1527 * common/symbol.h: New file.
1528 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
1529 * minsyms.c (find_minimal_symbol_address): New function.
1530 * common/agent.c: Include common/symbol.h.
1531 [!GDBSERVER]: Don't include objfiles.h.
1532 (agent_look_up_symbols): Use find_minimal_symbol_address.
1533
f8c1d06b
GB
15342014-09-11 Gary Benson <gbenson@redhat.com>
1535
1536 * target/target.h (target_stop_ptid, target_continue_ptid):
1537 Declare.
1538 * target.c (target_stop_ptid, target_continue_ptid): New
1539 functions.
1540 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
1541 (agent_run_command): Always use target_stop_ptid and
1542 target_continue_ptid.
1543
721ec300
GB
15442014-09-11 Tom Tromey <tromey@redhat.com>
1545 Gary Benson <gbenson@redhat.com>
1546
1547 * target/target.h: New file.
1548 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
1549 * target.h: Include target/target.h.
1550 (target_read_memory, target_write_memory): Don't declare.
1551 * target.c (target_read_uint32): New function.
1552 * common/agent.c: Include target/target.h.
1553 [!GDBSERVER]: Don't include target.h.
1554 (helper_thread_id): Type changed to uint32_t.
1555 (agent_get_helper_thread_id): Use target_read_uint32.
1556 (agent_run_command): Always use target_read_memory and
1557 target_write_memory.
1558 (agent_capability): Type changed to uint32_t.
1559 (agent_capability_check): Use target_read_uint32.
1560
c5e92cca
GB
15612014-09-11 Gary Benson <gbenson@redhat.com>
1562
1563 * common/common-debug.h (show_debug_regs): Declare.
1564 * common/common-debug.c (show_debug_regs): Define.
1565 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
1566 all uses with show_debug_regs. Replace all uses that considered
1567 debug_hw_points as a multi-value integer with straight boolean
1568 uses.
1569 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
1570 with show_debug_regs.
1571 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
1572 all uses with show_debug_regs.
1573 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
1574 uses with show_debug_regs.
1575
eeef931a
UW
15762014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
1577
1578 * findvar.c (address_from_register): Handle targets requiring
1579 a special conversion routine even for plain pointer types.
1580
8efa9855
UW
15812014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
1582
1583 * rs6000-nat.c (exec_one_dummy_insn): Remove.
1584 (store_register): Do not call exec_one_dummy_insn.
1585
eb479039
JB
15862014-09-10 Joel Brobecker <brobecker@adacore.com>
1587
1588 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
1589 dereference it first. Use value_enclosing_type instead of
1590 value_type.
1591 (ada_array_length): Likewise.
1592
deede10c
JB
15932014-09-10 Joel Brobecker <brobecker@adacore.com>
1594
1595 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
1596 Adjust function implementation and documentation accordingly.
1597 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
1598 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
1599 Update call to ada_value_ptr_subscript.
1600
7828a5f5
JB
16012014-09-10 Joel Brobecker <brobecker@adacore.com>
1602
1603 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
1604 instead of VAL's type.
1605
35782f14
JB
16062014-09-10 Joel Brobecker <brobecker@adacore.com>
1607
1608 * amd64-linux-nat.c: Add <sys/uio.h> #include.
1609
d342a0da
DE
16102014-09-09 Doug Evans <xdje42@gmail.com>
1611
1612 PR guile/17367
1613 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
1614 last parameter to pkg-config, not first.
1615 * configure.ac: Pass --with-guile provided pkg-config path to
1616 GDB_GUILE_PROGRAM_NAMES.
1617 * configure: Regenerate.
1618
b4a3d263
GKB
16192014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
1620
1621 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
1622 Bertazi".
1623
6e466374
MR
16242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1625
1626 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
1627 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
1628 the list of sections determining GDB_OSABI_IRIX.
1629
a1ada89a
JH
16302014-09-09 James Hogan <james.hogan@imgtec.com>
1631
1632 * MAINTAINERS (Write After Approval): Add "James Hogan".
1633
86db008d
JH
16342014-09-09 James Hogan <james.hogan@imgtec.com>
1635
1636 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
1637
72fde3df
JB
16382014-09-09 Joel Brobecker <brobecker@adacore.com>
1639
1640 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
1641
92d8d229
DE
16422014-09-08 Doug Evans <xdje42@gmail.com>
1643
1644 PR 17247
1645 * guile.c: #include <signal.h>.
1646 (_initialize_guile): Block SIGCHLD while initializing Guile.
1647
1648 Replaces the following, which is reverted.
1649
1650 2014-07-26 Doug Evans <xdje42@gmail.com>
1651
1652 PR 17185
1653 * configure.ac: Add check for header gc/gc.h.
1654 Add check for function setenv.
1655 * configure: Regenerate.
1656 * config.in: Regenerate.
1657 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1658
d81412aa
DE
16592014-09-08 Doug Evans <xdje42@gmail.com>
1660
1661 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
1662 with named constant. Fix style of pointer comparison.
1663 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
1664
a9f116cb
GKB
16652014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1666
1667 PR gdb/17035
1668 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
1669 decide whether we display the command on "show user".
1670 * cli/cli-script.c (show_user_1): Only verify cmdlines after
1671 printing command name.
1672 * cli/cli-decode.h (cli_user_command_p): Declare new function.
1673 * cli/cli-decode.c (cli_user_command_p): Create helper function
1674 to verify whether cmd_list_element is a user-defined command.
1675
c75bd3a2
JK
16762014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1677
1678 PR python/17355
1679 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
1680 Fix goto out of TRY_CATCH.
1681
faa42425 16822014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 1683 Tom Tromey <tromey@redhat.com>
faa42425
DE
1684
1685 PR 15276
1686 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
1687 $_any_caller_matches.
1688 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
1689 * python/lib/gdb/function/caller_is.py: New file.
1690
0d41ba00
DE
16912014-09-06 Doug Evans <xdje42@gmail.com>
1692
1693 * infcmd.c (program_info): Fix typo.
1694
474ca4f6
SDJ
16952014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1696
1697 PR gdb/17235
1698 * stap-probe.c (stap_parse_single_operand): Delete unused variable
1699 'number'. New variable 'has_digit'. Rewrite code to deal with
1700 subexpressions on SDT probes.
1701
ebf13736
PA
17022014-09-04 Pedro Alves <palves@redhat.com>
1703
1704 * c-exp.y (parse_number): Skip handling base-switching prefixes if
1705 the input is only one character long.
1706
eb0b0463
SDJ
17072014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1708
1709 PR fortran/17237
1710 * f-valprint.c (f_val_print): Specify the correct print option to
1711 use when printing integer values.
1712
5ee44bfa
GB
17132014-09-04 Gary Benson <gbenson@redhat.com>
1714
1715 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
1716 Remove code to cope with LWPs wrapped as PIDs.
1717 Add assertions to ensure no wrapped LWPs are passed.
1718
4875ffdb
PA
17192014-09-04 Pedro Alves <palves@redhat.com>
1720
1721 * value.c (value_ranges_copy_adjusted): New function, factored out
1722 from ...
1723 (value_contents_copy_raw): ... here.
1724 (unpack_value_bits_as_long_1): Rename back to ...
1725 (unpack_bits_as_long): ... this. Remove 'original_value' and
1726 'result' parameters. Change return type to LONGEST.
1727 (unpack_value_bits_as_long): Delete.
1728 (unpack_value_field_as_long_1): Delete.
1729 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
1730 (unpack_value_bitfield): New function.
1731 (value_field_bitfield): Reimplement using unpack_value_bitfield.
1732 (value_fetch_lazy): Use unpack_value_bitfield.
1733 * value.h (unpack_value_bits_as_long): Delete declaration.
1734
5f3b99cf
SS
17352014-09-03 Sasha Smundak <asmundak@google.com>
1736
1737 * python/py-frame.c (frapy_read_register): New function.
1738
ac740bc7
JH
17392014-09-03 James Hogan <james.hogan@imgtec.com>
1740
1741 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
1742 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
1743
7d793aa9
SDJ
17442014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1745
1746 PR python/16699
1747 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
1748 function.
1749 (add_cmd): Set "completer_handle_brkchars" to NULL.
1750 * cli/cli-decode.h (struct cmd_list_element)
1751 <completer_handle_brkchars>: New field.
1752 * command.h (completer_ftype_void): New typedef.
1753 (set_cmd_completer_handle_brkchars): New prototype.
1754 * completer.c (set_gdb_completion_word_break_characters): New
1755 function.
1756 (complete_line_internal): Call "completer_handle_brkchars"
1757 callback from command.
1758 * completer.h: Include "command.h".
1759 (set_gdb_completion_word_break_characters): New prototype.
1760 * python/py-cmd.c (cmdpy_completer_helper): New function.
1761 (cmdpy_completer_handle_brkchars): New function.
1762 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
1763 (cmdpy_init): Set completer_handle_brkchars to
1764 cmdpy_completer_handle_brkchars.
1765
97ea6506
GB
17662014-09-03 Gary Benson <gbenson@redhat.com>
1767
1768 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
1769 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
1770 Loop conditions changed to equivalent form.
1771 (struct x86_debug_reg_state): Updated dr_ref_count comment.
1772 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
1773 ALL_DEBUG_ADDRESS_REGISTERS.
1774
d1437815
JB
17752014-09-03 Joel Brobecker <brobecker@adacore.com>
1776
1777 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
1778 description fix.
1779
9b94fcf1
DE
17802014-09-02 Doug Evans <dje@google.com>
1781
1782 * typeprint.c (find_global_typedef): Fix comment.
1783
df7e5265
GB
17842014-09-02 Gary Benson <gbenson@redhat.com>
1785
1786 * i386-nat.h: Renamed as...
1787 * x86-nat.h: New file. All type, function and variable name
1788 prefixes changed from "i386_" to "x86_". All references updated.
1789 * i386-nat.c: Renamed as...
1790 * x86-nat.c: New file. All type, function and variable name
1791 prefixes changed from "i386_" to "x86_". All references updated.
1792 * common/i386-xstate.h: Renamed as...
1793 * common/x86-xstate.h: New file. All type, function and variable
1794 name prefixes changed from "i386_" to "x86_". All references
1795 updated.
1796 * nat/i386-cpuid.h: Renamed as...
1797 * nat/x86-cpuid.h: New file. All type, function and variable name
1798 prefixes changed from "i386_" to "x86_". All references updated.
1799 * nat/i386-gcc-cpuid.h: Renamed as...
1800 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
1801 name prefixes changed from "i386_" to "x86_". All references
1802 updated.
1803 * nat/i386-dregs.h: Renamed as...
1804 * nat/x86-dregs.h: New file. All type, function and variable name
1805 prefixes changed from "i386_" to "x86_". All references updated.
1806 * nat/i386-dregs.c: Renamed as...
1807 * nat/x86-dregs.c: New file. All type, function and variable name
1808 prefixes changed from "i386_" to "x86_". All references updated.
1809
1c3569d4
MR
18102014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
1811
1812 * varobj.c (_initialize_varobj): Move to the end of file.
1813
ff55e1b5
GB
18142014-08-29 Gary Benson <gbenson@redhat.com>
1815
1816 * common/common-exceptions.h: New file.
1817 * common/common-exceptions.c: Likewise.
1818 * Makefile.in (SFILES): Add common/common-exceptions.c.
1819 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
1820 (COMMON_OBS): Add common-exceptions.o.
1821 (common-exceptions.o): New rule.
1822 * exceptions.h (common-exceptions.h): Include.
1823 (gdb_setjmp.h): Do not include.
1824 (return_reason): Moved to common-exceptions.h.
1825 (enum return_reason): Likewise.
1826 (RETURN_MASK): Likewise.
1827 (typedef return_mask): Likewise.
1828 (enum errors): Likewise.
1829 (struct gdb_exception): Likewise.
1830 (exceptions_state_mc_init): Likewise.
1831 (exceptions_state_mc_action_iter): Likewise.
1832 (exceptions_state_mc_action_iter_1): Likewise.
1833 (TRY_CATCH): Likewise.
1834 (throw_exception): Likewise.
1835 (throw_verror): Likewise.
1836 (throw_vquit): Likewise.
1837 (throw_error): Likewise.
1838 (throw_quit): Likewise.
1839 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
1840 (enum catcher_action): Likewise.
1841 (struct catcher): Likewise.
1842 (current_catcher): Likewise.
1843 (catcher_list_size): Likewise.
1844 (exceptions_state_mc_init): Likewise.
1845 (catcher_pop): Likewise.
1846 (exceptions_state_mc): Likewise.
1847 (exceptions_state_mc_action_iter): Likewise.
1848 (exceptions_state_mc_action_iter_1): Likewise.
1849 (throw_exception): Likewise.
1850 (exception_messages): Likewise.
1851 (exception_messages_size): Likewise.
1852 (throw_it): Likewise.
1853 (throw_verror): Likewise.
1854 (throw_vquit): Likewise.
1855 (throw_error): Likewise.
1856 (throw_quit): Likewise.
1857 (prepare_to_throw_exception): New function.
1858
e9bcb658
GB
18592014-08-29 Gary Benson <gbenson@redhat.com>
1860
1861 * common/gdb_setjmp.h: New file.
1862 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
1863 * configure.ac: Move sigsetjmp check...
1864 * common/common.m4: ...here.
1865 * configure: Regenerate.
1866 * cp-support.c (SIGJMP_BUF): Delete.
1867 (SIGSETJMP): Likewise.
1868 (SIGLONGJMP): Likewise.
1869 * exceptions.h (gdb_setjmp.h): Include.
1870 (setjmp.h): Do not include.
1871 (EXCEPTIONS_SIGJMP_BUF): Delete.
1872 (EXCEPTIONS_SIGSETJMP): Likewise.
1873 (EXCEPTIONS_SIGLONGJMP): Likewise.
1874 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
1875 from gdb_setjmp.h.
1876 * exceptions.c: Likewise.
1877
e3180625
GB
18782014-08-29 Gary Benson <gbenson@redhat.com>
1879
1880 * cleanups.h: Moved to...
1881 * common/cleanups.h: New file.
1882 * cleanups.c: Moved to...
1883 * common/cleanups.c: New file. Include common-defs.h and
1884 cleanups.h. Do not include defs.h.
1885 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
1886 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
1887 (cleanups.o): New rule.
1888
e3d6ba5d
GB
18892014-08-29 Gary Benson <gbenson@redhat.com>
1890
1891 * common/errors.h (internal_warning): New declaration.
1892 (internal_vwarning): Likewise.
1893 * common/errors.c (internal_warning): New function.
1894 * utils.h (internal_warning): Don't declare.
1895 (internal_vwarning): Likewise.
1896 * utils.c (internal_warning): Removed.
1897
075c7033
GB
18982014-08-29 Gary Benson <gbenson@redhat.com>
1899
1900 * main.c (captured_main): Use warning during startup.
1901 Prefix startup warning messages with command name.
1902
91b35fd0
GB
19032014-08-29 Gary Benson <gbenson@redhat.com>
1904
1905 * main.c (captured_main): Handle usage errors with error.
1906
b1ec390e
GB
19072014-08-29 Gary Benson <gbenson@redhat.com>
1908
1909 * go32-nat.c (go32_create_inferior): Replace a fprintf/
1910 exit pair with a call to error. Wrap the message with _().
1911
fd0ef3dd
GB
19122014-08-29 Gary Benson <gbenson@redhat.com>
1913
1914 * main.c (captured_main): Replace a fprintf/exit
1915 pair with a call to error. Wrap the message with _().
1916
e0e6bcab
GB
19172014-08-29 Gary Benson <gbenson@redhat.com>
1918
1919 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
1920 pairs with calls to error. Wrap the message with _().
1921
0d2f5c07
GB
19222014-08-29 Gary Benson <gbenson@redhat.com>
1923
1924 * utils.c (vwarning): Protect calls to target_terminal_ours
1925 and wrap_here.
1926
5df43998
GB
19272014-08-29 Gary Benson <gbenson@redhat.com>
1928
1929 * exceptions.c (print_flush): Protect calls to
1930 target_terminal_ours and wrap_here.
1931
2437fd32
GB
19322014-08-29 Gary Benson <gbenson@redhat.com>
1933
1934 * utils.h (filtered_printing_initialized): New declaration.
1935 * utils.c (abort_with_message): New function.
1936 (internal_vproblem): Use abort_with_message for first level
1937 recursive internal problems, and if gdb_stderr is not set up.
1938 Protect calls to target_terminal_ours, begin_line and query.
1939
f1f58506
DE
19402014-08-28 Doug Evans <dje@google.com>
1941
1942 * symtab.c (in_prologue): Move definition to better spot.
1943 (skip_prologue_using_sal): Ditto.
1944
aab2f208
DE
19452014-08-28 Doug Evans <dje@google.com>
1946
1947 * symtab.c (find_function_start_sal): Move definition to better spot.
1948
6b65d1b6
YQ
19492014-08-28 Yao Qi <yao@codesourcery.com>
1950
1951 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
1952 found_stack_adjust in forward scan. Remove condition check
1953 on found_stack_adjust which is always true. Indent the code.
1954
a1b34d15
YQ
19552014-08-28 Yao Qi <yao@codesourcery.com>
1956
1957 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1958 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
1959 (dwarf_decode_lines): Remove argument
1960 want_line_info. Remove condition check on want_line_info.
1961 Callers update.
1962
d5962de5
DE
19632014-08-27 Doug Evans <dje@google.com>
1964
1965 * dwarf2read.c (dwarf_record_line): Fix typo.
1966
9b139002
SDJ
19672014-08-27 Patrick Palka <patrick@parcs.ath.cx>
1968
1969 * target.h (struct target_ops::to_terminal_save_ours): Remove
1970 declaration.
1971 (target_terminal_save_ours): Remove macro.
1972 * target-delegates.c: Regenerate.
1973 * inf-child.c (inf_child_target): Don't set the nonexistent
1974 field to_terminal_save_ours.
1975 * inferior.h (child_terminal_save_ours): Remove declaration.
1976 * terminal.h (gdb_save_tty_state): New declaration.
1977 * inflow.c (child_terminal_save_ours): Rename to ...
1978 (gdb_save_tty_state): ... this.
1979 * tui/tui.c: Include terminal.h.
1980 (tui_enable): Use gdb_save_tty_state instead of
1981 target_terminal_save_ours.
1982 (tui_disable): Likewise.
1983
9debeba0
DE
19842014-08-25 Doug Evans <dje@google.com>
1985
1986 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
1987 Pass NULL instead of 0 for context pointer.
1988
428fc5fc
YQ
19892014-08-25 Yao Qi <yao@codesourcery.com>
1990
1991 * dwarf2read.c: Fix grammatical error.
1992
cdc07690
YQ
19932014-08-24 Yao Qi <yao@codesourcery.com>
1994
1995 * dwarf2read.c (scan_partial_symbols): Update comments.
1996 Rename argument 'need_pc' with 'set_addrmap'.
1997 (add_partial_namespace): Rename argument 'need_pc' with
1998 'set_addrmap'.
1999 (add_partial_module): Likewise.
2000 (add_partial_subprogram): Likewise. Update comments.
2001 (dwarf2_name): Fix typo.
2002
a05a36a5
DE
20032014-08-22 Doug Evans <dje@google.com>
2004
2005 PR 17276
2006 * dwarf2read.c (dwarf_record_line_p): New function.
2007 (dwarf_decode_lines_1): Ignore subsequent line number entries
2008 for the same line if any entry had a non-zero discriminator.
2009
252a6764
DE
20102014-08-22 Doug Evans <dje@google.com>
2011
2012 * buildsym.h (record_line_ftype): New typedef.
2013 (record_line): Use it.
2014 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
2015 (dwarf_decode_lines_1): Call them.
2016
510db052
YQ
20172014-08-22 Yao Qi <yao@codesourcery.com>
2018
2019 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
2020 (ctf_end): Remove code.
2021
22fd09ae
JK
20222014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2023
2024 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
2025 (linux_make_corefile_notes): call update_thread_list, protected against
2026 exceptions.
2027
656e8868
PA
20282014-08-21 Pedro Alves <palves@redhat.com>
2029
2030 * infcmd.c (attach_command): Remove comment.
2031
de589d04
WN
20322014-08-21 Bin Cheng <bin.cheng@arm.com>
2033
2034 * aarch64-linux-nat.c (dr_changed_t): Change the type from
2035 unsigned LONGEST to ULONGEST.
2036
2a31c623
PA
20372014-08-20 Pedro Alves <palves@redhat.com>
2038
2039 * Makefile.in (check-read1): New rule.
2040
d36430db
JB
20412014-08-20 Joel Brobecker <brobecker@adacore.com>
2042
2043 * value.c (value_from_contents_and_address): Strip resolved_type's
2044 typedef layers before checking its TYPE_DATA_LOCATION.
2045
000339af
PA
20462014-08-20 Pedro Alves <palves@redhat.com>
2047
2048 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
2049
5f52445b
YQ
20502014-08-20 Yao Qi <yao@codesourcery.com>
2051
2052 * amd64-tdep.c (amd64_classify): Add a blank line after the
2053 example. Move "*/" to a new line.
2054 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
2055 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
2056 * dwarf2read.c (psymtab_include_file_name): Likewise.
2057
9a0dc9e3
PA
20582014-08-19 Andrew Burgess <aburgess@broadcom.com>
2059 Pedro Alves <palves@redhat.com>
2060
2061 PR symtab/14604
2062 PR symtab/14605
2063 * ada-lang.c (coerce_unspec_val_to_type): Use
2064 value_contents_copy_raw.
2065 * ada-valprint.c (val_print_packed_array_elements): Adjust.
2066 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
2067 * cp-valprint.c (cp_print_value_fields): Let the common printing
2068 code handle optimized out values.
2069 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
2070 * d-valprint.c (dynamic_array_type): Use
2071 value_bits_any_optimized_out.
2072 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
2073 check_any_valid fields.
2074 (check_pieced_value_bits): Delete and inline ...
2075 (check_pieced_synthetic_pointer): ... here.
2076 (check_pieced_value_validity): Delete.
2077 (check_pieced_value_invalid): Delete.
2078 (pieced_value_funcs): Remove check_validity and check_any_valid
2079 fields.
2080 (read_pieced_value): Use mark_value_bits_optimized_out.
2081 (write_pieced_value): Switch to use
2082 mark_value_bytes_optimized_out.
2083 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
2084 of assuming the whole value is optimized out.
2085 * findvar.c (read_frame_register_value): Remove special handling
2086 of optimized out registers.
2087 (value_from_register): Use mark_value_bytes_optimized_out.
2088 * frame-unwind.c (frame_unwind_got_optimized): Use
2089 mark_value_bytes_optimized_out.
2090 * jv-valprint.c (java_value_print): Adjust.
2091 (java_print_value_fields): Let the common printing code handle
2092 optimized out values.
2093 * mips-tdep.c (mips_print_register): Remove special handling of
2094 optimized out registers.
2095 * opencl-lang.c (lval_func_check_validity): Delete.
2096 (lval_func_check_any_valid): Delete.
2097 (opencl_value_funcs): Remove check_validity and check_any_valid
2098 fields.
2099 * p-valprint.c (pascal_object_print_value_fields): Let the common
2100 printing code handle optimized out values.
2101 * stack.c (read_frame_arg): Remove special handling of optimized
2102 out values. Fetch both VAL and ENTRYVAL before comparing
2103 contents. Adjust to value_available_contents_eq rename.
2104 * valprint.c (valprint_check_validity)
2105 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
2106 (val_print_array_elements): Adjust.
2107 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
2108 (value_bits_any_optimized_out): New function.
2109 (value_entirely_covered_by_range_vector): New function, factored
2110 out from value_entirely_unavailable.
2111 (value_entirely_unavailable): Reimplement.
2112 (value_entirely_optimized_out): New function.
2113 (insert_into_bit_range_vector): New function, factored out from
2114 mark_value_bits_unavailable.
2115 (mark_value_bits_unavailable): Reimplement.
2116 (struct ranges_and_idx): New struct.
2117 (find_first_range_overlap_and_match): New function, factored out
2118 from value_available_contents_bits_eq.
2119 (value_available_contents_bits_eq): Rename to ...
2120 (value_contents_bits_eq): ... this. Check both unavailable
2121 contents and optimized out contents.
2122 (value_available_contents_eq): Rename to ...
2123 (value_contents_eq): ... this.
2124 (allocate_value_lazy): Remove reference to the old optimized_out
2125 boolean.
2126 (allocate_optimized_out_value): Use
2127 mark_value_bytes_optimized_out.
2128 (require_not_optimized_out): Adjust to check whether the
2129 optimized_out vec is empty.
2130 (ranges_copy_adjusted): New function, factored out from
2131 value_contents_copy_raw.
2132 (value_contents_copy_raw): Also copy the optimized out ranges.
2133 Assert the destination ranges aren't optimized out.
2134 (value_contents_copy): Update comment, remove call to
2135 require_not_optimized_out.
2136 (value_contents_equal): Adjust to check whether the optimized_out
2137 vec is empty.
2138 (set_value_optimized_out, value_optimized_out_const): Delete.
2139 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2140 New functions.
2141 (value_entirely_optimized_out, value_bits_valid): Delete.
2142 (value_copy): Take a VEC copy of the 'optimized_out' field.
2143 (value_primitive_field): Remove special handling of optimized out.
2144 (value_fetch_lazy): Assert that lazy values have no unavailable
2145 regions. Use value_bits_any_optimized_out. Remove some special
2146 handling for optimized out values.
2147 * value.h: Add intro comment about <optimized out> and
2148 <unavailable>.
2149 (struct lval_funcs): Remove check_validity and check_any_valid
2150 fields.
2151 (set_value_optimized_out, value_optimized_out_const): Remove.
2152 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2153 New declarations.
2154 (value_bits_any_optimized_out): New declaration.
2155 (value_bits_valid): Delete declaration.
2156 (value_available_contents_eq): Rename to ...
2157 (value_contents_eq): ... this, and extend comments.
2158
6694c411
JK
21592014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2160
2161 Fix -fsanitize=address on unreadable inferior strings.
2162 * valprint.c (val_print_string): Fix access before BUFFER.
2163
89a1c21a
SM
21642014-08-19 Simon Marchi <simon.marchi@ericsson.com>
2165
2166 * target.c (target_struct_size): Remove.
2167 (target_struct_allocsize): Remove.
2168 (DEFAULT_ALLOCSIZE): Remove.
2169 (target_ops_p): New typedef.
2170 (DEF_VEC_P (target_ops_p)): New vector type.
2171 (target_structs): Change type to VEC (target_ops_p).
2172 (add_target_with_completer): Replace "push" code by VEC_safe_push.
2173 (find_default_run_target): Rewrite for loop following changes to
2174 target_structs.
2175
cb417230
JB
21762014-08-19 Joel Brobecker <brobecker@adacore.com>
2177
2178 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
2179 Adjust code accordingly. Adjust function description comment.
2180
817e0957
YQ
21812014-08-19 Yao Qi <yao@codesourcery.com>
2182
2183 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
2184 types.
2185
2974be62
AM
21862014-08-19 Alan Modra <amodra@gmail.com>
2187
2188 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
2189 * config.in: Regenerate.
2190 * configure: Regenerate.
2191
34abf635
GB
21922014-08-19 Tom Tromey <tromey@redhat.com>
2193 Gary Benson <gbenson@redhat.com>
2194
2195 * common/common-debug.h: New file.
2196 * common/common-debug.c: Likewise.
2197 * debug.c: Likewise.
2198 * Makefile.in (SFILES): Add common/common-debug.c.
2199 (HFILES_NO_SRCDIR): Add common/common-debug.h.
2200 (COMMON_OBS): Add common-debug.o and debug.o.
2201 (common-debug.o): New rule.
2202 * common/common-defs.h: Include common-debug.h.
2203 * common/agent.c (debug_agent_printf): New function.
2204 (DEBUG_AGENT): Redefine.
2205 * nat/i386-dregs.c (debug_printf): Undefine.
2206
f6e94d78
GB
22072014-08-19 Gary Benson <gbenson@redhat.com>
2208
2209 * common/common-defs.h: Include print-utils.h.
2210 * utils.h: Do not include print-utils.h.
2211
9239eeab
GB
22122014-08-19 Tom Tromey <tromey@redhat.com>
2213 Gary Benson <gbenson@redhat.com>
2214
2215 * common/common-types.h: New file.
2216 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
2217 * common/common-defs.h: Include common-types.h.
2218 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
2219 (ULONGEST): Remove.
2220
ef87c8bb
GB
22212014-08-19 Tom Tromey <tromey@redhat.com>
2222 Gary Benson <gbenson@redhat.com>
2223
2224 * common/errors.h: New file.
2225 * common/errors.c: Likewise.
2226 * Makefile.in (SFILES): Add common/errors.c.
2227 (HFILES_NO_SRCDIR): Add common/errors.h.
2228 (COMMON_OBS): Add errors.o.
2229 (errors.o): New rule.
2230 * common/common-defs.h: Include errors.h.
2231 * utils.h (perror_with_name, error, verror, warning, vwarning):
2232 Don't declare.
2233 * common/common-utils.h: (malloc_failure, internal_error):
2234 Likewise.
2235
196a707b
GB
22362014-08-19 Gary Benson <gbenson@redhat.com>
2237
2238 * utils.c (internal_vproblem): Always print the message.
2239
ded4fc8f
DE
22402014-08-18 Doug Evans <dje@google.com>
2241
2242 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
2243
950c97d8
JB
22442014-08-18 Joel Brobecker <brobecker@adacore.com>
2245
2246 * ada-typeprint.c (type_is_full_subrange_of_target_type):
2247 Return 0 if TYPE is dynamic.
2248 (print_range): Add handling of dynamic ranges.
2249
3cdcd0ce
JB
22502014-08-18 Keven Boell <keven.boell@intel.com>
2251 Joel Brobecker <brobecker@adacore.com>
2252
2253 * gdbtypes.h (struct main_type): Add field "data_location".
2254 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
2255 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
2256 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
2257 a dynamic data location.
2258 (resolve_dynamic_type): Add DW_AT_data_location handling.
2259 (copy_recursive, copy_type): Copy the data_location information
2260 when present.
2261 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
2262 * value.c (value_from_contents_and_address): Add
2263 DW_AT_data_location handling.
2264
08412b07
JB
22652014-08-18 Keven Boell <keven.boell@intel.com>
2266 Joel Brobecker <brobecker@adacore.com>
2267
2268 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
2269 field "get_object_address".
2270 * dwarf2expr.c (execute_stack_op): Add handling for
2271 DW_OP_push_object_address.
2272 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
2273 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
2274 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
2275 (dwarf_expr_get_obj_addr): New function.
2276 (dwarf_expr_ctx_funcs): Add get_object_address field.
2277 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
2278 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
2279 (dwarf2_evaluate_property): Add parameter "address". Use it.
2280 (needs_get_obj_addr): New function.
2281 (needs_frame_ctx_funcs): Add get_object_address field.
2282 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
2283 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
2284 (resolve_dynamic_array): Likewise.
2285
84754697
JB
22862014-08-18 Joel Brobecker <brobecker@adacore.com>
2287
2288 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
2289 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
2290 fixed value for records and unions for which some GNAT encodings
2291 are present.
2292
da5c522f
JB
22932014-08-18 Joel Brobecker <brobecker@adacore.com>
2294
2295 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
2296 rewrite to avoid "else if" and "else" constructs. Should be
2297 a no-op in practice.
2298
0d72a7c3
JB
22992014-08-18 Joel Brobecker <brobecker@adacore.com>
2300
2301 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
2302 of lexical block.
2303
e66d4446
SC
23042014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2305
2306 PR c++/17132
2307 * eval.c: Update all calls to find_overload_match.
2308 * valarith.c: Likewise.
2309 (value_user_defined_cpp_op, value_user_defined_op): New
2310 argument NOSIDE. Update all callers.
2311 * valops.c (find_overload_match): New argument NOSIDE.
2312 * value.h (find_overload_match): Update signature.
2313
940df408
SC
23142014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2315
2316 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
2317 'items' methods instead of 'iteritems' method on dictionaries.
2318
699ca60a
DE
23192014-08-15 Doug Evans <dje@google.com>
2320
2321 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
2322 closer to use.
2323
37780ee5
DE
23242014-08-15 Doug Evans <dje@google.com>
2325
2326 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
2327
0ad93d4f
DE
23282014-08-15 Doug Evans <dje@google.com>
2329
2330 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
2331
20d8c372
DE
23322014-08-15 Doug Evans <dje@google.com>
2333
2334 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
2335 unused.
2336
cb039ba4
EZ
23372014-08-15 Eli Zaretskii <eliz@gnu.org>
2338
2339 * dcache.h: Include target.h, to avoid compile time warnings.
2340
eb7a547a
JB
23412014-08-15 Joel Brobecker <brobecker@adacore.com>
2342
2343 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
2344 frame_info" partial declaration.
2345 * gdbarch.h: Regenerate.
2346
783cecc8
YQ
23472014-08-15 Yao Qi <yao@codesourcery.com>
2348
2349 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
2350 Add parameter 'decode_for_pst_p'. Callers update.
2351
65c749e7
YQ
23522014-08-13 Yao Qi <yao@codesourcery.com>
2353
2354 PR build/17104
2355 * configure.ac: Use local variable 'pos'.
2356 * configure: Regenerated.
2357
d769e349
DE
23582014-08-11 Doug Evans <dje@google.com>
2359
2360 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
2361 message, it is redundant with "Reading symbols from ..." message.
2362
24f1235e
DE
23632014-08-10 Doug Evans <xdje42@gmail.com>
2364
2365 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
2366
dcd2e6ef
YQ
23672014-08-09 Yao Qi <yao@codesourcery.com>
2368
2369 PR remote/9053
2370 * remote.c (remote_xfer_partial): Remove dead code.
2371
070bdf0b
AA
23722014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2373
2374 * ia64-linux-tdep.c: Include "regset.h".
2375 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
2376 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
2377 (ia64_linux_supply_fpregset): New function.
2378 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
2379 (ia64_linux_regset_from_core_section): New function.
2380 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
2381 method.
2382
08f9f542
AA
23832014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2384
2385 * m68klinux-tdep.c: Include "regset.h".
2386 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
2387 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
2388 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
2389 (m68k_linux_regset_from_core_section): New function.
2390 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
2391 method.
2392
8f1cee41
AA
23932014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2394
2395 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
2396 function. Move logic to...
2397 (tilegx_linux_regmap): ... this new register map.
2398 (tilegx_linux_regset): Refer to register map, replace supply
2399 method by regcache_supply_regset, and add collect method.
2400 * tilegx-tdep.h (enum tilegx_regnum): New enum value
2401 TILEGX_FIRST_EASY_REGNUM.
2402
c5741217
AA
24032014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2404
2405 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
2406 that calls regcache_supply_regset and handles the EPC register
2407 separately. Move main logic to...
2408 (score7_linux_gregmap): ... this new register map.
2409 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
2410 (score7_linux_gregset): Refer to register map. Add collect method.
2411 (score7_linux_regset_from_core_section): Replace
2412 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
2413 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
2414 (struct regset): Delete unused forward declaraction.
2415 (struct pt_regs): Delete structure definition.
2416 (elf_gregset_t): Delete typedef.
2417
81580573
AA
24182014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2419
2420 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
2421 (nios2_core_regset): Add collect method.
2422
ba199d7d
AA
24232014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2424
2425 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
2426 platform-independent and don't write to read-only input buffer.
2427 (m32r_linux_collect_gregset): New function.
2428 (m32r_linux_gregset): Add collect method.
2429
0006a9da
AA
24302014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2431
2432 * hppa-linux-tdep.c (greg_map): Rename to...
2433 (hppa_linux_gregmap): ... this. Also convert to
2434 regcache_map_entry format.
2435 (hppa_linux_supply_regset): Delete function.
2436 (hppa_linux_supply_fpregset): Delete function. Move logic to...
2437 (hppa_linux_fpregmap): ... this new register map.
2438 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
2439 register map, replace supply method by regcache_supply_regset, and
2440 add collect method regcache_collect_regset.
2441
901e1b23
AA
24422014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2443
2444 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
2445 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
2446 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
2447 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
2448 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
2449 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
2450 (frv_linux_supply_gregset): Replace main logic by call to
2451 regcache_supply_regset, but keep clearing gr32-gr63.
2452 (frv_linux_supply_fpregset): Delete function.
2453 (frv_linux_gregset): Refer to appropriate register map and add
2454 regcache_collect_regset as the collect method.
2455 (frv_linux_fpregset): Likewise. Also exchange the supply method
2456 by regcache_supply_regset.
2457
1d6e7555
AA
24582014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2459
2460 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
2461 by call to alpha_supply_int_regs.
2462 (alpha_linux_collect_gregset): New function.
2463 (alpha_linux_supply_fpregset): Replace logic by call to
2464 alpha_supply_fp_regs.
2465 (alpha_linux_collect_fpregset): New function.
2466 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
2467
d4d793bf
AA
24682014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2469
2470 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
2471 by call to regcache_collect_regset.
2472 (supply_gregset, supply_fpregset): Call regcache_supply_regset
2473 instead of aarch64_linux_supply_gregset/_fpregset.
2474 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
2475 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
2476 header file instead.
2477 (aarch64_linux_supply_gregset, supply_gregset_from_core)
2478 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
2479 functions. Move logic to ...
2480 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
2481 register maps.
2482 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
2483 refer to new register maps, replace *_regset_from_core by
2484 regcache_supply_regset, and also use regcache_collect_regset.
2485 * aarch64-linux-tdep.h: Include "regset.h".
2486 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
2487 Delete prototypes.
2488 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
2489 macros, moved from C source file.
2490 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
2491 variable declarations.
2492
99b7da5d
AA
24932014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2494
2495 * s390-linux-nat.c: Include "regset.h".
2496 (regmap_gregset): Delete macro.
2497 (s390_64_regmap_gregset): New register map for
2498 regcache_supply/_collect_regset.
2499 (s390_64_gregset): New regset.
2500 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
2501 (regmap_fpregset): Delete macro.
2502 (s390_native_supply, s390_native_collect): Delete functions.
2503 (supply_gregset, fill_gregset): Replace s390-specific regmap
2504 handling by a call to regcache_supply/_collect_regset.
2505 (supply_fpregset, fill_fpregset): Call regcache_supply/
2506 _collect_regset instead of s390_native_supply/_collect.
2507 (fetch_regset, store_regset): Likewise. Also change the last
2508 parameter to a regset instead of a regmap.
2509 (s390_linux_fetch_inferior_registers)
2510 (390_linux_store_inferior_registers): Adjust last parameter in
2511 calls to fetch_regset and store_regset.
2512 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
2513 (s390_gregmap): ... this. Also make static const and convert to
2514 regcache_map_entry format.
2515 (s390x_regmap_gregset): Delete.
2516 (s390_regmap_fpregset): Rename to...
2517 (s390_fpregmap): ... this. Make static const and convert to
2518 regcache_map_entry format.
2519 (s390_regmap_upper, s390_regmap_last_break)
2520 (s390x_regmap_last_break, s390_regmap_system_call)
2521 (s390_regmap_tdb): Likewise.
2522 (s390_supply_regset, s390_collect_regset): Remove functions.
2523 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
2524 s390_supply_regset.
2525 (s390_gregset, s390_fpregset, s390_upper_regset)
2526 (s390_last_break_regset, s390x_last_break_regset)
2527 (s390_system_call_regset, s390_tdb_regset): Make global and
2528 replace s390_supply/_collect_regset by regcache_supply/
2529 _collect_regset.
2530 (s390x_gregset): Delete.
2531 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
2532 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
2533 (s390_regmap_fpregset, s390_regmap_last_break)
2534 (s390x_regmap_last_break, s390_regmap_system_call)
2535 (s390_regmap_tdb): Delete global variable declarations.
2536 (s390_gregset, s390_fpregset, s390_last_break_regset)
2537 (s390x_last_break_regset, s390_system_call_regset)
2538 (s390_tdb_regset): New global variable declarations.
2539
0b309272
AA
25402014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2541
2542 * regcache.c: Include "regset.h".
2543 (regcache_transfer_regset): New local function.
2544 (regcache_supply_regset, regcache_collect_regset): New functions.
2545 * regcache.h (struct regcache_map_entry): New structure.
2546 (REGCACHE_MAP_SKIP): New enum value.
2547 (regcache_supply_regset, regcache_collect_regset): New prototypes.
2548
7fefa8d7
AA
25492014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2550
2551 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
2552 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
2553 (ppc_linux_collect_gregset ): Likewise.
2554 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
2555 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
2556 (ppc_collect_vrregset): Likewise.
2557 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
2558 Likewise.
2559
96c4f946
YQ
25602014-08-07 Yao Qi <yao@codesourcery.com>
2561
2562 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
2563 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
2564 * remote.c (remote_read_bytes): Likewise.
2565
fffbe6a8
YQ
25662014-08-07 Yao Qi <yao@codesourcery.com>
2567
2568 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
2569
5ee8a82c
YQ
25702014-08-07 Yao Qi <yao@codesourcery.com>
2571
2572 PR remote/17230
2573 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
2574 TARGET_XFER_OK instead of 0.
2575
bb974a24
GB
25762014-08-07 Gary Benson <gbenson@redhat.com>
2577
2578 * common/common-defs.h: Include errno.h.
2579 * defs.h: Do not include errno.h.
2580 * ada-typeprint.c: Likewise.
2581 * c-typeprint.c: Likewise.
2582 * core-regset.c: Likewise.
2583 * corefile.c: Likewise.
2584 * corelow.c: Likewise.
2585 * event-loop.c: Likewise.
2586 * f-typeprint.c: Likewise.
2587 * gnu-nat.c: Likewise.
2588 * go32-nat.c: Likewise.
2589 * i386gnu-nat.c: Likewise.
2590 * m2-typeprint.c: Likewise.
2591 * nat/linux-btrace.c: Likewise.
2592 * p-typeprint.c: Likewise.
2593 * procfs.c: Likewise.
2594 * remote-sim.c: Likewise.
2595 * rs6000-nat.c: Likewise.
2596 * target.c: Likewise.
2597 * typeprint.c: Likewise.
2598 * ui-file.c: Likewise.
2599 * valops.c: Likewise.
2600 * valprint.c: Likewise.
2601
6d3d12eb
GB
26022014-08-07 Gary Benson <gbenson@redhat.com>
2603
2604 * common/common-defs.h: Include string.h.
2605 * aarch64-tdep.c: Do not include string.h.
2606 * ada-exp.y: Likewise.
2607 * ada-lang.c: Likewise.
2608 * ada-lex.l: Likewise.
2609 * ada-typeprint.c: Likewise.
2610 * ada-valprint.c: Likewise.
2611 * aix-thread.c: Likewise.
2612 * alpha-linux-tdep.c: Likewise.
2613 * alpha-mdebug-tdep.c: Likewise.
2614 * alpha-nat.c: Likewise.
2615 * alpha-osf1-tdep.c: Likewise.
2616 * alpha-tdep.c: Likewise.
2617 * alphanbsd-tdep.c: Likewise.
2618 * amd64-dicos-tdep.c: Likewise.
2619 * amd64-linux-tdep.c: Likewise.
2620 * amd64-nat.c: Likewise.
2621 * amd64-sol2-tdep.c: Likewise.
2622 * amd64fbsd-tdep.c: Likewise.
2623 * amd64obsd-tdep.c: Likewise.
2624 * arch-utils.c: Likewise.
2625 * arm-linux-nat.c: Likewise.
2626 * arm-linux-tdep.c: Likewise.
2627 * arm-tdep.c: Likewise.
2628 * arm-wince-tdep.c: Likewise.
2629 * armbsd-tdep.c: Likewise.
2630 * armnbsd-nat.c: Likewise.
2631 * armnbsd-tdep.c: Likewise.
2632 * armobsd-tdep.c: Likewise.
2633 * avr-tdep.c: Likewise.
2634 * ax-gdb.c: Likewise.
2635 * ax-general.c: Likewise.
2636 * bcache.c: Likewise.
2637 * bfin-tdep.c: Likewise.
2638 * breakpoint.c: Likewise.
2639 * build-id.c: Likewise.
2640 * buildsym.c: Likewise.
2641 * c-exp.y: Likewise.
2642 * c-lang.c: Likewise.
2643 * c-typeprint.c: Likewise.
2644 * c-valprint.c: Likewise.
2645 * charset.c: Likewise.
2646 * cli-out.c: Likewise.
2647 * cli/cli-cmds.c: Likewise.
2648 * cli/cli-decode.c: Likewise.
2649 * cli/cli-dump.c: Likewise.
2650 * cli/cli-interp.c: Likewise.
2651 * cli/cli-logging.c: Likewise.
2652 * cli/cli-script.c: Likewise.
2653 * cli/cli-setshow.c: Likewise.
2654 * cli/cli-utils.c: Likewise.
2655 * coffread.c: Likewise.
2656 * common/agent.c: Likewise.
2657 * common/buffer.c: Likewise.
2658 * common/buffer.h: Likewise.
2659 * common/common-utils.c: Likewise.
2660 * common/filestuff.c: Likewise.
2661 * common/filestuff.c: Likewise.
2662 * common/format.c: Likewise.
2663 * common/print-utils.c: Likewise.
2664 * common/rsp-low.c: Likewise.
2665 * common/signals.c: Likewise.
2666 * common/vec.h: Likewise.
2667 * common/xml-utils.c: Likewise.
2668 * core-regset.c: Likewise.
2669 * corefile.c: Likewise.
2670 * corelow.c: Likewise.
2671 * cp-abi.c: Likewise.
2672 * cp-name-parser.y: Likewise.
2673 * cp-support.c: Likewise.
2674 * cp-valprint.c: Likewise.
2675 * cris-tdep.c: Likewise.
2676 * d-exp.y: Likewise.
2677 * darwin-nat.c: Likewise.
2678 * dbxread.c: Likewise.
2679 * dcache.c: Likewise.
2680 * demangle.c: Likewise.
2681 * dicos-tdep.c: Likewise.
2682 * disasm.c: Likewise.
2683 * doublest.c: Likewise.
2684 * dsrec.c: Likewise.
2685 * dummy-frame.c: Likewise.
2686 * dwarf2-frame.c: Likewise.
2687 * dwarf2loc.c: Likewise.
2688 * dwarf2read.c: Likewise.
2689 * elfread.c: Likewise.
2690 * environ.c: Likewise.
2691 * eval.c: Likewise.
2692 * event-loop.c: Likewise.
2693 * exceptions.c: Likewise.
2694 * exec.c: Likewise.
2695 * expprint.c: Likewise.
2696 * f-exp.y: Likewise.
2697 * f-lang.c: Likewise.
2698 * f-typeprint.c: Likewise.
2699 * f-valprint.c: Likewise.
2700 * fbsd-nat.c: Likewise.
2701 * findcmd.c: Likewise.
2702 * findvar.c: Likewise.
2703 * fork-child.c: Likewise.
2704 * frame.c: Likewise.
2705 * frv-linux-tdep.c: Likewise.
2706 * frv-tdep.c: Likewise.
2707 * gdb.c: Likewise.
2708 * gdb_bfd.c: Likewise.
2709 * gdbarch.c: Likewise.
2710 * gdbarch.sh: Likewise.
2711 * gdbtypes.c: Likewise.
2712 * gnu-nat.c: Likewise.
2713 * gnu-v2-abi.c: Likewise.
2714 * gnu-v3-abi.c: Likewise.
2715 * go-exp.y: Likewise.
2716 * go-lang.c: Likewise.
2717 * go32-nat.c: Likewise.
2718 * guile/guile.c: Likewise.
2719 * guile/scm-auto-load.c: Likewise.
2720 * hppa-hpux-tdep.c: Likewise.
2721 * hppa-linux-nat.c: Likewise.
2722 * hppanbsd-tdep.c: Likewise.
2723 * hppaobsd-tdep.c: Likewise.
2724 * i386-cygwin-tdep.c: Likewise.
2725 * i386-dicos-tdep.c: Likewise.
2726 * i386-linux-tdep.c: Likewise.
2727 * i386-nto-tdep.c: Likewise.
2728 * i386-sol2-tdep.c: Likewise.
2729 * i386-tdep.c: Likewise.
2730 * i386bsd-tdep.c: Likewise.
2731 * i386gnu-nat.c: Likewise.
2732 * i386nbsd-tdep.c: Likewise.
2733 * i386obsd-tdep.c: Likewise.
2734 * i387-tdep.c: Likewise.
2735 * ia64-libunwind-tdep.c: Likewise.
2736 * ia64-linux-nat.c: Likewise.
2737 * inf-child.c: Likewise.
2738 * inf-ptrace.c: Likewise.
2739 * inf-ttrace.c: Likewise.
2740 * infcall.c: Likewise.
2741 * infcmd.c: Likewise.
2742 * inflow.c: Likewise.
2743 * infrun.c: Likewise.
2744 * interps.c: Likewise.
2745 * iq2000-tdep.c: Likewise.
2746 * irix5-nat.c: Likewise.
2747 * jv-exp.y: Likewise.
2748 * jv-lang.c: Likewise.
2749 * jv-typeprint.c: Likewise.
2750 * jv-valprint.c: Likewise.
2751 * language.c: Likewise.
2752 * linux-fork.c: Likewise.
2753 * linux-nat.c: Likewise.
2754 * lm32-tdep.c: Likewise.
2755 * m2-exp.y: Likewise.
2756 * m2-typeprint.c: Likewise.
2757 * m32c-tdep.c: Likewise.
2758 * m32r-linux-nat.c: Likewise.
2759 * m32r-linux-tdep.c: Likewise.
2760 * m32r-rom.c: Likewise.
2761 * m32r-tdep.c: Likewise.
2762 * m68hc11-tdep.c: Likewise.
2763 * m68k-tdep.c: Likewise.
2764 * m68kbsd-tdep.c: Likewise.
2765 * m68klinux-nat.c: Likewise.
2766 * m68klinux-tdep.c: Likewise.
2767 * m88k-tdep.c: Likewise.
2768 * machoread.c: Likewise.
2769 * macrocmd.c: Likewise.
2770 * main.c: Likewise.
2771 * mdebugread.c: Likewise.
2772 * mem-break.c: Likewise.
2773 * memattr.c: Likewise.
2774 * memory-map.c: Likewise.
2775 * mep-tdep.c: Likewise.
2776 * mi/mi-cmd-break.c: Likewise.
2777 * mi/mi-cmd-disas.c: Likewise.
2778 * mi/mi-cmd-env.c: Likewise.
2779 * mi/mi-cmd-stack.c: Likewise.
2780 * mi/mi-cmd-var.c: Likewise.
2781 * mi/mi-cmds.c: Likewise.
2782 * mi/mi-console.c: Likewise.
2783 * mi/mi-getopt.c: Likewise.
2784 * mi/mi-interp.c: Likewise.
2785 * mi/mi-main.c: Likewise.
2786 * mi/mi-parse.c: Likewise.
2787 * microblaze-rom.c: Likewise.
2788 * microblaze-tdep.c: Likewise.
2789 * mingw-hdep.c: Likewise.
2790 * minidebug.c: Likewise.
2791 * minsyms.c: Likewise.
2792 * mips-irix-tdep.c: Likewise.
2793 * mips-linux-tdep.c: Likewise.
2794 * mips-tdep.c: Likewise.
2795 * mips64obsd-tdep.c: Likewise.
2796 * mipsnbsd-tdep.c: Likewise.
2797 * mipsread.c: Likewise.
2798 * mn10300-linux-tdep.c: Likewise.
2799 * mn10300-tdep.c: Likewise.
2800 * monitor.c: Likewise.
2801 * moxie-tdep.c: Likewise.
2802 * mt-tdep.c: Likewise.
2803 * nat/linux-btrace.c: Likewise.
2804 * nat/linux-osdata.c: Likewise.
2805 * nat/linux-procfs.c: Likewise.
2806 * nat/linux-ptrace.c: Likewise.
2807 * nat/linux-waitpid.c: Likewise.
2808 * nbsd-tdep.c: Likewise.
2809 * nios2-linux-tdep.c: Likewise.
2810 * nto-procfs.c: Likewise.
2811 * nto-tdep.c: Likewise.
2812 * objc-lang.c: Likewise.
2813 * objfiles.c: Likewise.
2814 * opencl-lang.c: Likewise.
2815 * osabi.c: Likewise.
2816 * osdata.c: Likewise.
2817 * p-exp.y: Likewise.
2818 * p-lang.c: Likewise.
2819 * p-typeprint.c: Likewise.
2820 * parse.c: Likewise.
2821 * posix-hdep.c: Likewise.
2822 * ppc-linux-nat.c: Likewise.
2823 * ppc-sysv-tdep.c: Likewise.
2824 * ppcfbsd-tdep.c: Likewise.
2825 * ppcnbsd-tdep.c: Likewise.
2826 * ppcobsd-tdep.c: Likewise.
2827 * printcmd.c: Likewise.
2828 * procfs.c: Likewise.
2829 * prologue-value.c: Likewise.
2830 * python/py-auto-load.c: Likewise.
2831 * python/py-gdb-readline.c: Likewise.
2832 * ravenscar-thread.c: Likewise.
2833 * regcache.c: Likewise.
2834 * registry.c: Likewise.
2835 * remote-fileio.c: Likewise.
2836 * remote-m32r-sdi.c: Likewise.
2837 * remote-mips.c: Likewise.
2838 * remote-notif.c: Likewise.
2839 * remote-sim.c: Likewise.
2840 * remote.c: Likewise.
2841 * reverse.c: Likewise.
2842 * rs6000-aix-tdep.c: Likewise.
2843 * ser-base.c: Likewise.
2844 * ser-go32.c: Likewise.
2845 * ser-mingw.c: Likewise.
2846 * ser-pipe.c: Likewise.
2847 * ser-tcp.c: Likewise.
2848 * ser-unix.c: Likewise.
2849 * serial.c: Likewise.
2850 * sh-tdep.c: Likewise.
2851 * sh64-tdep.c: Likewise.
2852 * shnbsd-tdep.c: Likewise.
2853 * skip.c: Likewise.
2854 * sol-thread.c: Likewise.
2855 * solib-dsbt.c: Likewise.
2856 * solib-frv.c: Likewise.
2857 * solib-osf.c: Likewise.
2858 * solib-som.c: Likewise.
2859 * solib-spu.c: Likewise.
2860 * solib-target.c: Likewise.
2861 * solib.c: Likewise.
2862 * somread.c: Likewise.
2863 * source.c: Likewise.
2864 * sparc-nat.c: Likewise.
2865 * sparc-sol2-tdep.c: Likewise.
2866 * sparc-tdep.c: Likewise.
2867 * sparc64-tdep.c: Likewise.
2868 * sparc64fbsd-tdep.c: Likewise.
2869 * sparc64nbsd-tdep.c: Likewise.
2870 * sparcnbsd-tdep.c: Likewise.
2871 * spu-linux-nat.c: Likewise.
2872 * spu-multiarch.c: Likewise.
2873 * spu-tdep.c: Likewise.
2874 * stabsread.c: Likewise.
2875 * stack.c: Likewise.
2876 * std-regs.c: Likewise.
2877 * symfile.c: Likewise.
2878 * symmisc.c: Likewise.
2879 * symtab.c: Likewise.
2880 * target.c: Likewise.
2881 * thread.c: Likewise.
2882 * tilegx-linux-nat.c: Likewise.
2883 * tilegx-tdep.c: Likewise.
2884 * top.c: Likewise.
2885 * tracepoint.c: Likewise.
2886 * tui/tui-command.c: Likewise.
2887 * tui/tui-data.c: Likewise.
2888 * tui/tui-disasm.c: Likewise.
2889 * tui/tui-file.c: Likewise.
2890 * tui/tui-layout.c: Likewise.
2891 * tui/tui-out.c: Likewise.
2892 * tui/tui-regs.c: Likewise.
2893 * tui/tui-source.c: Likewise.
2894 * tui/tui-stack.c: Likewise.
2895 * tui/tui-win.c: Likewise.
2896 * tui/tui-windata.c: Likewise.
2897 * tui/tui-winsource.c: Likewise.
2898 * typeprint.c: Likewise.
2899 * ui-file.c: Likewise.
2900 * ui-out.c: Likewise.
2901 * user-regs.c: Likewise.
2902 * utils.c: Likewise.
2903 * v850-tdep.c: Likewise.
2904 * valarith.c: Likewise.
2905 * valops.c: Likewise.
2906 * valprint.c: Likewise.
2907 * value.c: Likewise.
2908 * varobj.c: Likewise.
2909 * vax-tdep.c: Likewise.
2910 * vaxnbsd-tdep.c: Likewise.
2911 * vaxobsd-tdep.c: Likewise.
2912 * windows-nat.c: Likewise.
2913 * xcoffread.c: Likewise.
2914 * xml-support.c: Likewise.
2915 * xstormy16-tdep.c: Likewise.
2916 * xtensa-linux-nat.c: Likewise.
2917
dccbb609
GB
29182014-08-07 Gary Benson <gbenson@redhat.com>
2919
2920 * common/common-defs.h: Include gdb_assert.h.
2921 * aarch64-tdep.c: Do not include gdb_assert.h.
2922 * addrmap.c: Likewise.
2923 * aix-thread.c: Likewise.
2924 * alpha-linux-tdep.c: Likewise.
2925 * alpha-mdebug-tdep.c: Likewise.
2926 * alphanbsd-tdep.c: Likewise.
2927 * amd64-nat.c: Likewise.
2928 * amd64-tdep.c: Likewise.
2929 * amd64bsd-nat.c: Likewise.
2930 * amd64fbsd-nat.c: Likewise.
2931 * amd64fbsd-tdep.c: Likewise.
2932 * amd64nbsd-nat.c: Likewise.
2933 * amd64nbsd-tdep.c: Likewise.
2934 * amd64obsd-nat.c: Likewise.
2935 * amd64obsd-tdep.c: Likewise.
2936 * arch-utils.c: Likewise.
2937 * arm-tdep.c: Likewise.
2938 * armbsd-tdep.c: Likewise.
2939 * auxv.c: Likewise.
2940 * bcache.c: Likewise.
2941 * bfin-tdep.c: Likewise.
2942 * blockframe.c: Likewise.
2943 * breakpoint.c: Likewise.
2944 * bsd-kvm.c: Likewise.
2945 * bsd-uthread.c: Likewise.
2946 * buildsym.c: Likewise.
2947 * c-exp.y: Likewise.
2948 * c-lang.c: Likewise.
2949 * charset.c: Likewise.
2950 * cleanups.c: Likewise.
2951 * cli-out.c: Likewise.
2952 * cli/cli-decode.c: Likewise.
2953 * cli/cli-dump.c: Likewise.
2954 * cli/cli-logging.c: Likewise.
2955 * cli/cli-script.c: Likewise.
2956 * cli/cli-utils.c: Likewise.
2957 * coffread.c: Likewise.
2958 * common/common-utils.c: Likewise.
2959 * common/queue.h: Likewise.
2960 * common/signals.c: Likewise.
2961 * common/vec.h: Likewise.
2962 * complaints.c: Likewise.
2963 * completer.c: Likewise.
2964 * corelow.c: Likewise.
2965 * cp-abi.c: Likewise.
2966 * cp-name-parser.y: Likewise.
2967 * cp-namespace.c: Likewise.
2968 * cp-support.c: Likewise.
2969 * cris-tdep.c: Likewise.
2970 * dbxread.c: Likewise.
2971 * dictionary.c: Likewise.
2972 * doublest.c: Likewise.
2973 * dsrec.c: Likewise.
2974 * dummy-frame.c: Likewise.
2975 * dwarf2-frame-tailcall.c: Likewise.
2976 * dwarf2-frame.c: Likewise.
2977 * dwarf2expr.c: Likewise.
2978 * dwarf2loc.c: Likewise.
2979 * dwarf2read.c: Likewise.
2980 * eval.c: Likewise.
2981 * event-loop.c: Likewise.
2982 * exceptions.c: Likewise.
2983 * expprint.c: Likewise.
2984 * f-valprint.c: Likewise.
2985 * fbsd-nat.c: Likewise.
2986 * findvar.c: Likewise.
2987 * frame-unwind.c: Likewise.
2988 * frame.c: Likewise.
2989 * frv-tdep.c: Likewise.
2990 * gcore.c: Likewise.
2991 * gdb-dlfcn.c: Likewise.
2992 * gdb_bfd.c: Likewise.
2993 * gdbarch.c: Likewise.
2994 * gdbarch.sh: Likewise.
2995 * gdbtypes.c: Likewise.
2996 * gnu-nat.c: Likewise.
2997 * gnu-v3-abi.c: Likewise.
2998 * go-lang.c: Likewise.
2999 * guile/scm-exception.c: Likewise.
3000 * guile/scm-gsmob.c: Likewise.
3001 * guile/scm-lazy-string.c: Likewise.
3002 * guile/scm-math.c: Likewise.
3003 * guile/scm-pretty-print.c: Likewise.
3004 * guile/scm-safe-call.c: Likewise.
3005 * guile/scm-utils.c: Likewise.
3006 * guile/scm-value.c: Likewise.
3007 * h8300-tdep.c: Likewise.
3008 * hppa-hpux-nat.c: Likewise.
3009 * hppa-tdep.c: Likewise.
3010 * hppanbsd-tdep.c: Likewise.
3011 * hppaobsd-tdep.c: Likewise.
3012 * i386-darwin-nat.c: Likewise.
3013 * i386-darwin-tdep.c: Likewise.
3014 * i386-nto-tdep.c: Likewise.
3015 * i386-tdep.c: Likewise.
3016 * i386bsd-nat.c: Likewise.
3017 * i386fbsd-tdep.c: Likewise.
3018 * i386gnu-nat.c: Likewise.
3019 * i386nbsd-tdep.c: Likewise.
3020 * i386obsd-tdep.c: Likewise.
3021 * i387-tdep.c: Likewise.
3022 * ia64-libunwind-tdep.c: Likewise.
3023 * ia64-tdep.c: Likewise.
3024 * inf-ptrace.c: Likewise.
3025 * inf-ttrace.c: Likewise.
3026 * infcall.c: Likewise.
3027 * infcmd.c: Likewise.
3028 * infrun.c: Likewise.
3029 * inline-frame.c: Likewise.
3030 * interps.c: Likewise.
3031 * jv-lang.c: Likewise.
3032 * jv-typeprint.c: Likewise.
3033 * linux-fork.c: Likewise.
3034 * linux-nat.c: Likewise.
3035 * linux-thread-db.c: Likewise.
3036 * m32c-tdep.c: Likewise.
3037 * m32r-linux-nat.c: Likewise.
3038 * m32r-tdep.c: Likewise.
3039 * m68k-tdep.c: Likewise.
3040 * m68kbsd-nat.c: Likewise.
3041 * m68kbsd-tdep.c: Likewise.
3042 * m88k-tdep.c: Likewise.
3043 * machoread.c: Likewise.
3044 * macroexp.c: Likewise.
3045 * macrotab.c: Likewise.
3046 * maint.c: Likewise.
3047 * mdebugread.c: Likewise.
3048 * memory-map.c: Likewise.
3049 * mep-tdep.c: Likewise.
3050 * mi/mi-common.c: Likewise.
3051 * microblaze-tdep.c: Likewise.
3052 * mingw-hdep.c: Likewise.
3053 * mips-linux-nat.c: Likewise.
3054 * mips-linux-tdep.c: Likewise.
3055 * mips-tdep.c: Likewise.
3056 * mips64obsd-tdep.c: Likewise.
3057 * mipsnbsd-tdep.c: Likewise.
3058 * mn10300-linux-tdep.c: Likewise.
3059 * mn10300-tdep.c: Likewise.
3060 * moxie-tdep.c: Likewise.
3061 * mt-tdep.c: Likewise.
3062 * nat/linux-btrace.c: Likewise.
3063 * nat/linux-osdata.c: Likewise.
3064 * nat/linux-ptrace.c: Likewise.
3065 * nat/mips-linux-watch.c: Likewise.
3066 * nios2-linux-tdep.c: Likewise.
3067 * nios2-tdep.c: Likewise.
3068 * objc-lang.c: Likewise.
3069 * objfiles.c: Likewise.
3070 * obsd-nat.c: Likewise.
3071 * opencl-lang.c: Likewise.
3072 * osabi.c: Likewise.
3073 * parse.c: Likewise.
3074 * ppc-linux-nat.c: Likewise.
3075 * ppc-sysv-tdep.c: Likewise.
3076 * ppcfbsd-nat.c: Likewise.
3077 * ppcfbsd-tdep.c: Likewise.
3078 * ppcnbsd-nat.c: Likewise.
3079 * ppcnbsd-tdep.c: Likewise.
3080 * ppcobsd-nat.c: Likewise.
3081 * ppcobsd-tdep.c: Likewise.
3082 * printcmd.c: Likewise.
3083 * procfs.c: Likewise.
3084 * prologue-value.c: Likewise.
3085 * psymtab.c: Likewise.
3086 * python/py-lazy-string.c: Likewise.
3087 * python/py-value.c: Likewise.
3088 * regcache.c: Likewise.
3089 * reggroups.c: Likewise.
3090 * registry.c: Likewise.
3091 * remote-sim.c: Likewise.
3092 * remote.c: Likewise.
3093 * rs6000-aix-tdep.c: Likewise.
3094 * rs6000-tdep.c: Likewise.
3095 * s390-linux-tdep.c: Likewise.
3096 * score-tdep.c: Likewise.
3097 * ser-base.c: Likewise.
3098 * ser-mingw.c: Likewise.
3099 * sh-tdep.c: Likewise.
3100 * sh64-tdep.c: Likewise.
3101 * solib-darwin.c: Likewise.
3102 * solib-spu.c: Likewise.
3103 * solib-svr4.c: Likewise.
3104 * source.c: Likewise.
3105 * sparc-nat.c: Likewise.
3106 * sparc-sol2-tdep.c: Likewise.
3107 * sparc-tdep.c: Likewise.
3108 * sparc64-sol2-tdep.c: Likewise.
3109 * sparc64-tdep.c: Likewise.
3110 * sparc64fbsd-tdep.c: Likewise.
3111 * sparc64nbsd-tdep.c: Likewise.
3112 * sparc64obsd-tdep.c: Likewise.
3113 * sparcnbsd-tdep.c: Likewise.
3114 * sparcobsd-tdep.c: Likewise.
3115 * spu-multiarch.c: Likewise.
3116 * spu-tdep.c: Likewise.
3117 * stabsread.c: Likewise.
3118 * stack.c: Likewise.
3119 * symfile.c: Likewise.
3120 * symtab.c: Likewise.
3121 * target-descriptions.c: Likewise.
3122 * target-memory.c: Likewise.
3123 * target.c: Likewise.
3124 * tic6x-linux-tdep.c: Likewise.
3125 * tic6x-tdep.c: Likewise.
3126 * tilegx-linux-nat.c: Likewise.
3127 * tilegx-tdep.c: Likewise.
3128 * top.c: Likewise.
3129 * tramp-frame.c: Likewise.
3130 * tui/tui-out.c: Likewise.
3131 * tui/tui-winsource.c: Likewise.
3132 * ui-out.c: Likewise.
3133 * user-regs.c: Likewise.
3134 * utils.c: Likewise.
3135 * v850-tdep.c: Likewise.
3136 * valops.c: Likewise.
3137 * value.c: Likewise.
3138 * varobj.c: Likewise.
3139 * vax-nat.c: Likewise.
3140 * xml-syscall.c: Likewise.
3141 * xml-tdesc.c: Likewise.
3142 * xstormy16-tdep.c: Likewise.
3143 * xtensa-linux-nat.c: Likewise.
3144 * xtensa-tdep.c: Likewise.
3145
e76df0d0
GB
31462014-08-07 Gary Benson <gbenson@redhat.com>
3147
3148 * common/common-defs.h: Include common-utils.h.
3149 * defs.h: Do not include common-utils.h.
3150 * common/gdb_assert.h: Likewise.
3151 * darwin-nat.h: Likewise.
3152 * nat/linux-btrace.c: Likewise.
3153 * target/waitstatus.h: Likewise.
3154
4cb9c816
GB
31552014-08-07 Gary Benson <gbenson@redhat.com>
3156
3157 * common/common-defs.h: Include ptid.h.
3158 * defs.h: Do not include ptid.h.
3159 * inferior.h: Likewise.
3160 * infrun.h: Likewise.
3161 * nat/linux-btrace.h: Likewise.
3162 * nat/linux-osdata.h: Likewise.
3163 * target/waitstatus.h: Likewise.
3164
3995eeee
GB
31652014-08-07 Gary Benson <gbenson@redhat.com>
3166
3167 * common/common-defs.h: Include gdb_locale.h.
3168 * defs.h: Do not include gdb_locale.h.
3169
cb9f1a9b
GB
31702014-08-07 Gary Benson <gbenson@redhat.com>
3171
3172 * common/common-defs.h: Include gdb/signals.h.
3173 * defs.h: Do not include gdb/signals.h.
3174
a5fceff8
GB
31752014-08-07 Gary Benson <gbenson@redhat.com>
3176
3177 * common/common-defs.h: Include pathmax.h.
3178 * defs.h: Do not include pathmax.h.
3179
b9391142
GB
31802014-08-07 Gary Benson <gbenson@redhat.com>
3181
3182 * common/common-defs.h: Include libiberty.h.
3183 * defs.h: Do not include libiberty.h.
3184 * common/queue.h: Likewise.
3185 * cp-name-parser.y: Likewise.
3186 * mi/mi-cmd-catch.c: Likewise.
3187 * python/python.c: Likewise.
3188
0e443c87
GB
31892014-08-07 Gary Benson <gbenson@redhat.com>
3190
3191 * common/common-defs.h: Include ansidecl.h.
3192 * defs.h: Do not include ansidecl.h.
3193 * common/buffer.h: Likewise.
3194 * common/common-utils.h: Likewise.
3195
8ebb3f56
GB
31962014-08-07 Gary Benson <gbenson@redhat.com>
3197
3198 * common/common-defs.h: Include stddef.h.
3199 * defs.h: Do not include stddef.h.
3200 * common/common-utils.h: Likewise.
3201 * amd64fbsd-nat.c: Likewise.
3202 * bcache.c: Likewise.
3203 * charset.c: Likewise.
3204 * common/buffer.h: Likewise.
3205 * common/vec.h: Likewise.
3206 * i386bsd-nat.c: Likewise.
3207 * nat/linux-btrace.h: Likewise.
3208 * ppcfbsd-nat.c: Likewise.
3209 * ppcnbsd-tdep.h: Likewise.
3210 * ppcobsd-nat.c: Likewise.
3211 * ppcobsd-tdep.h: Likewise.
3212 * python/py-gdb-readline.c: Likewise.
3213
8980bdf6
GB
32142014-08-07 Gary Benson <gbenson@redhat.com>
3215
3216 * common/common-defs.h: Include stdarg.h.
3217 * defs.h: Do not include stdarg.h.
3218 * ada-lang.c: Likewise.
3219 * common/common-utils.h: Likewise.
3220 * guile/scm-string.c: Likewise.
3221 * guile/scm-utils.c: Likewise.
3222 * m32c-tdep.c: Likewise.
3223
d7096f71
GB
32242014-08-07 Gary Benson <gbenson@redhat.com>
3225
3226 * common/common-defs.h: Include stdlib.h.
3227 * defs.h: Do not include stdlib.h.
3228 * addrmap.c: Likewise.
3229 * bcache.c: Likewise.
3230 * common/buffer.c: Likewise.
3231 * common/common-utils.c: Likewise.
3232 * cp-name-parser.y: Likewise.
3233 * go32-nat.c: Likewise.
3234 * mn10300-linux-tdep.c: Likewise.
3235 * nat/linux-osdata.c: Likewise.
3236 * tui/tui.c: Likewise.
3237 * windows-nat.c: Likewise.
3238
d02f550d
GB
32392014-08-07 Gary Benson <gbenson@redhat.com>
3240
3241 * common/common-defs.h: Include stdio.h.
3242 * defs.h: Do not include stdio.h.
3243 * ada-lang.c: Likewise.
3244 * common/buffer.c: Likewise.
3245 * common/common-utils.c: Likewise.
3246 * cp-name-parser.y: Likewise.
3247 * gnu-nat.c: Likewise.
3248 * go32-nat.c: Likewise.
3249 * i386gnu-nat.c: Likewise.
3250 * proc-api.c: Likewise.
3251 * proc-events.c: Likewise.
3252 * proc-flags.c: Likewise.
3253 * proc-why.c: Likewise.
3254 * python/python-internal.h: Likewise.
3255 * target-memory.c: Likewise.
3256 * tui/tui-io.c: Likewise.
3257 * tui/tui.c: Likewise.
3258
b6d7a4bf
SM
32592014-08-06 Simon Marchi <simon.marchi@ericsson.com>
3260
3261 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
3262 (scan_dyntag_auxv): Same.
3263
af19829b
YQ
32642014-08-06 Yao Qi <yao@codesourcery.com>
3265
3266 * amd64-linux-nat.c: Remove duplicated include
3267 "x86-linux-nat.h".
3268 * i386-linux-nat.c: Likewise.
3269
8e07a239
YQ
32702014-08-06 Yao Qi <yao@codesourcery.com>
3271
3272 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
3273 operand" with "Special opcode" in comments.
3274
7bfe8241
GB
32752014-08-05 Gary Benson <gbenson@redhat.com>
3276
3277 * interps.c (initialize_interps): Remove prototype.
3278 (interpreter_initialized): Remove static global.
3279 (interp_add): Do not call initialize_interps.
3280 (initialize_interps): Remove function.
3281
d6c95504
GB
32822014-08-05 Gary Benson <gbenson@redhat.com>
3283
3284 * utils.c (vwarning): Remove spurious va_end.
3285
241fd515
AM
32862014-08-05 Alan Modra <amodra@gmail.com>
3287
3288 * charset.c (convert_between_encodings): Cast result of obstack_base.
3289 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
3290 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
3291 (read_unwind_info): Use size_t for some locals.
3292 * jit.c (finalize_symtab): Likewise.
3293 * utils.c (hashtab_obstack_allocate): Likewise.
3294 * symmisc.c (print_objfile_statistics): Update format strings.
3295
dc304a94
JK
32962014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3297
3298 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
3299 (Changes in GDB 7.8): ... here.
3300
3cecbbbe
TT
33012014-08-04 Tom Tromey <tromey@redhat.com>
3302
3303 * target.c (set_targetdebug): New function.
3304 (initialize_targets): Pass set_targetdebug when creating "set
3305 debug target".
3306
6908c509
JB
33072014-08-01 Joel Brobecker <brobecker@adacore.com>
3308
3309 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
3310 if detecting a variable-sized field that is not the last field.
3311 Fix struct type length computation.
3312
53e8f97d
JB
33132014-08-01 Joel Brobecker <brobecker@adacore.com>
3314
3315 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3316 Add debug trace.
3317
e068c55d
JB
33182014-08-01 Joel Brobecker <brobecker@adacore.com>
3319
3320 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3321 Remove "+ 8" offset in computation of CHAIN_VMA.
3322
4d4ca2a1
DE
33232014-07-31 Doug Evans <dje@google.com>
3324
3325 * inflow.c (child_terminal_inferior): Add comment.
3326 (child_terminal_ours_for_output): Add comment.
3327 (child_terminal_ours): Add comment.
3328 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
3329 (linux_nat_terminal_ours): Add comment.
3330
462f517e
GB
33312014-07-31 Gary Benson <gbenson@redhat.com>
3332
3333 * common/btrace-common.h: Do not include defs.h or server.h.
3334 * nat/mips-linux-watch.h: Likewise.
3335 * gdb-dlfcn.h: Do not include defs.h.
3336 * tracefile.h: Likewise.
3337
74228e77
RM
33382014-07-30 Roland McGrath <mcgrathr@google.com>
3339
3340 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
3341
014f9477
TT
33422014-07-30 Tom Tromey <tromey@redhat.com>
3343
3344 * bsd-kvm.c (bsd_kvm_open): Constify.
3345 * corelow.c (core_open): Constify.
3346 * ctf.c (ctf_open): Constify.
3347 * dbug-rom.c (dbug_open): Constify.
3348 * exec.c (exec_open): Constify.
3349 * m32r-rom.c (m32r_open, mon2000_open): Constify.
3350 * microblaze-rom.c (picobug_open): Constify.
3351 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
3352 Constify.
3353 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
3354 * record-btrace.c (record_btrace_open): Constify.
3355 * record-full.c (record_full_core_open_1, record_full_open_1)
3356 (record_full_open): Constify.
3357 * remote-m32r-sdi.c (m32r_open): Constify.
3358 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
3359 (rockhopper_open, lsi_open): Constify.
3360 * remote-sim.c (gdbsim_open): Constify.
3361 * remote.c (remote_open, extended_remote_open, remote_open_1):
3362 Constify.
3363 * target.h (struct target_ops) <to_open>: Make "arg" const.
3364 * tracefile-tfile.c (tfile_open): Constify.
3365
e799154c
TT
33662014-07-30 Tom Tromey <tromey@redhat.com>
3367
3368 * breakpoint.c (map_breakpoint_numbers): Update.
3369 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
3370 (get_number_const): New function.
3371 (get_number): Rewrite using get_number_const.
3372 (init_number_or_range): Make "string" const.
3373 (number_is_in_list): Make "list" const.
3374 * cli/cli-utils.h (get_number_const): Declare.
3375 (struct get_number_or_range_state) <string, end_ptr>: Now const.
3376 (init_number_or_range, number_is_in_list): Update.
3377 * printcmd.c (map_display_numbers): Update.
3378 * value.c (value_from_history_ref): Constify.
3379 * value.h (value_from_history_ref): Update.
3380
5f08566b
TT
33812014-07-30 Tom Tromey <tromey@redhat.com>
3382
3383 * corefile.c (hook_type, call_extra_exec_file_hooks)
3384 (specify_exec_file_hook): Constify.
3385 * exec.c (exec_file_attach): Make "filename" const.
3386 * gdbcore.h (deprecated_exec_file_display_hook)
3387 (specify_exec_file_hook, exec_file_attach): Constify.
3388 * main.c (captured_main): Use catch_command_errors_const.
3389
8981c758
TT
33902014-07-30 Tom Tromey <tromey@redhat.com>
3391
3392 * target.c (open_target): New function.
3393 (add_target_with_completer, add_deprecated_target_alias): Use
3394 set_cmd_sfunc, set_cmd_context.
3395 (debug_to_open): Remove.
3396 (setup_target_debug): Update.
3397
a1c7835a
YQ
33982014-07-30 Yao Qi <yao@codesourcery.com>
3399
3400 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
3401 comments.
3402 * parse.c (exp_iterate): Update comments.
3403
976411d6
GB
34042014-07-30 Gary Benson <gbenson@redhat.com>
3405
3406 * common/common-defs.h: New file.
3407 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
3408 * defs.h: Include common-defs.h.
3409 Do not include config.h or build-gnulib/config.h.
3410
5d4848a4
GB
34112014-07-30 Gary Benson <gbenson@redhat.com>
3412
3413 * common/common-utils.h: Do not include config.h.
3414 * nat/linux-btrace.h: Likewise.
3415
d41f6d8e
GB
34162014-07-30 Gary Benson <gbenson@redhat.com>
3417
3418 * btrace.c: Include defs.h.
3419 * common/ptid.c: Include defs.h or server.h as appropriate.
3420 * nat/mips-linux-watch.c: Likewise.
3421
84202f9c
TT
34222014-07-29 Tom Tromey <tromey@redhat.com>
3423
3424 * target.c (target_is_pushed): Simplify.
3425
2530441c
JB
34262014-07-29 Joel Brobecker <brobecker@adacore.com>
3427
3428 GDB 7.8 released.
3429
7e09a223
YQ
34302014-07-29 Yao Qi <yao@codesourcery.com>
3431
3432 PR gdb/17206
3433 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
3434
7ebdbe92
DE
34352014-07-28 Doug Evans <xdje42@gmail.com>
3436
3437 PR guile/17203
3438 * guile/scm-param.c (pascm_parameter_defined_p): New function.
3439 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
3440 parameters.
3441
f347ffc9
WN
34422014-07-28 Will Newton <will.newton@linaro.org>
3443
3444 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
3445 (THUMB2_SET_R7_SIGRETURN2): Likewise.
3446 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
3447 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
3448 (THUMB2_EABI_SYSCALL): Likewise.
3449 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
3450 struct tramp_frame.
3451 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
3452 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
3453
37c5f1f7
DE
34542014-07-27 Doug Evans <xdje42@gmail.com>
3455
3456 * guile/scm-param.c (pascm_print_param_smob): Fix output.
3457
0c3abbc7
DE
34582014-07-27 Doug Evans <xdje42@gmail.com>
3459
3460 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
3461
e76c5d17
DE
34622014-07-26 Ludovic Courtès <ludo@gnu.org>
3463 Doug Evans <xdje42@gmail.com>
3464
3465 PR guile/17146
3466 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
3467 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
3468 * configure.ac: Try to use guild to compile an scm file, if it fails
3469 then disable guile support.
3470 * configure: Regenerate.
3471 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
3472 GUILE_FILE_LIST.
3473 (GUILE_COMPILED_FILES): New variable.
3474 (GUILE_FILES) Update.
3475 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
3476 (stamp-guile): Compile scm files.
3477 * guile/guile.c (boot_guile_support): New function.
3478 (standard_throw_args_p): New function.
3479 (print_standard_throw_error, print_throw_error): New functions.
3480 (handle_boot_error): New function.
3481 (initialize_scheme_side): Rewrite to call boot_guile_support.
3482 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
3483 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
3484
186fcde0
DE
34852014-07-26 Ludovic Courtès <ludo@gnu.org>
3486 Doug Evans <xdje42@gmail.com>
3487
3488 PR guile/17146
3489 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
3490 * guile/lib/gdb/support.scm: New file.
3491 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
3492 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
3493 All uses updated.
3494 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
3495 All uses updated.
3496 (%assert-type): Ditto, and renamed to assert-type.
3497 (%exception-print-style): Delete.
3498
4df42755
DE
34992014-07-26 Doug Evans <xdje42@gmail.com>
3500
3501 PR build/17105
3502 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
3503 * configure: Regenerate.
3504 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
3505 PYTHON_FILES.
3506 (PYTHON_FILES): New variable.
3507 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
3508 (GUILE_FILES): New variable.
3509 (stamp-python, install-python, uninstall-python): Handle empty
3510 file list.
3511 (stamp-guile, install-guile, uninstall-guile): Ditto.
3512
ee7333ae
DE
35132014-07-26 Doug Evans <xdje42@gmail.com>
3514
3515 PR guile/17177
3516 * guile/lib/gdb.scm (pretty-printers): Export.
3517 (set-pretty-printers!): Export.
3518 * guile/lib/gdb/printing.scm (gdb module): Update.
3519 (prepend-pretty-printer!, append-pretty-printer!): Update.
3520 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
3521 (pretty_printer_list_var): Delete.
3522 (pretty_printer_list): New static global.
3523 (gdbscm_pretty_printers): New function.
3524 (gdbscm_set_pretty_printers_x): New function.
3525 (ppscm_find_pretty_printer_from_gdb): Update.
3526 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
3527 (gdbscm_initialize_pretty_printers): Update.
3528
74edf516
DE
35292014-07-26 Doug Evans <xdje42@gmail.com>
3530
3531 PR 17185
3532 * configure.ac: Add check for header gc/gc.h.
3533 Add check for function setenv.
3534 * configure: Regenerate.
3535 * config.in: Regenerate.
3536 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
3537
d54398a7
MR
35382014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
3539
3540 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
3541 variation in gdbarch matching.
3542
ab16fce8
TT
35432014-07-25 Tom Tromey <tromey@redhat.com>
3544
3545 * exec.c (using_exec_ops): Remove.
3546 (exec_close_1): Update. Remove extraneous block, reindent.
3547 (add_target_sections): Use target_is_pushed.
3548
88056fbb
PA
35492014-07-25 Pedro Alves <palves@redhat.com>
3550
3551 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
3552 * monitor.c (monitor_create_inferior): Likewise.
3553 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
3554 * remote-sim.c (gdbsim_create_inferior): Likewise.
3555 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
3556 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
3557 * windows-nat.c (do_initial_windows_stuff): Likewise.
3558
70509625
PA
35592014-07-25 Pedro Alves <palves@redhat.com>
3560
3561 * NEWS: Mention signal passing and "signal" command changes.
3562 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
3563 comment.
3564 * breakpoint.c (until_break_command): Adjust clear_proceed_status
3565 call.
3566 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
3567 * infcmd.c (proceed_thread_callback, continue_1, step_once)
3568 (jump_command): Adjust clear_proceed_status call.
3569 (signal_command): Warn if other thread that are resumed have
3570 signals that will be delivered. Adjust clear_proceed_status call.
3571 (until_next_command, finish_command)
3572 (proceed_after_attach_callback, attach_command_post_wait)
3573 (attach_command): Adjust clear_proceed_status call.
3574 * infrun.c (proceed_after_vfork_done): Likewise.
3575 (proceed_after_attach_callback): Adjust comment.
3576 (clear_proceed_status_thread): Clear stop_signal if not in pass
3577 state.
3578 (clear_proceed_status_callback): Delete.
3579 (clear_proceed_status): New 'step' parameter. Only clear the
3580 proceed status of threads the command being prepared is about to
3581 resume.
3582 (proceed): If passed in an explicit signal, override stop_signal
3583 with it. Don't pass the last stop signal to the thread we're
3584 resuming.
3585 (init_wait_for_inferior): Adjust clear_proceed_status call.
3586 (switch_back_to_stepped_thread): Clear the signal if it should not
3587 be passed.
3588 * infrun.h (clear_proceed_status): New 'step' parameter.
3589 (user_visible_resume_ptid): Add comment.
3590 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
3591 signal is in pass state.
3592 * remote.c (append_pending_thread_resumptions): Likewise.
3593 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
3594
d8be2939
TT
35952014-07-25 Tom Tromey <tromey@redhat.com>
3596
3597 * target.h (target_stopped_data_address)
3598 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
3599 parentheses.
3600
7d0d9d2b
PL
36012014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
3602
3603 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
3604 comments.
3605 (avr_pointer_to_address): Likewise.
3606
e9e7f724
TT
36072014-07-24 Tom Tromey <tromey@redhat.com>
3608
3609 * monitor.c (compile_pattern): Update.
3610 * target.h (struct target_ops) <to_shortname, to_longname,
3611 to_doc>: Now const.
3612
1947513d
TT
36132014-07-24 Tom Tromey <tromey@redhat.com>
3614
3615 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
3616 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
3617 (add_info_alias, add_com): Make "doc" const.
3618 (print_doc_line): Make "str" const.
3619 (delete_cmd): Update.
3620 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
3621 (print_doc_line): Update.
3622 * cli/cli-script.c (document_command): Update.
3623 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
3624 (add_com, add_info, add_info_alias): Update.
3625 * guile/scm-cmd.c (cmdscm_destroyer): Update.
3626 * python/py-cmd.c (cmdpy_destroyer): Update.
3627
64e61d29
TT
36282014-07-24 Tom Tromey <tromey@redhat.com>
3629
3630 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
3631 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
3632 (help_cmd_list): Constify.
3633 (lookup_cmd): Update.
3634 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
3635 const.
3636 (help_cmd_list, apropos_cmd): Update.
3637 * cli/cli-script.c (show_user): Update.
3638 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
3639 * cli/cli-setshow.h (cmd_show_list): Update.
3640 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
3641 (cmd_show_list): Update.
3642 * guile/scm-cmd.c (cmdscm_destroyer): Update.
3643 * python/py-cmd.c (cmdpy_destroyer): Update.
3644
429e55ea
TT
36452014-07-24 Tom Tromey <tromey@redhat.com>
3646
3647 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
3648 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
3649 const.
3650 * command.h (deprecate_cmd): Update.
3651 * maint.c (maintenance_do_deprecate): Add casts.
3652
64669f3b
TT
36532014-07-24 Tom Tromey <tromey@redhat.com>
3654
3655 * cli/cli-decode.c (help_cmd): Make parameter "const".
3656 * cli/cli-decode.h (help_cmd): Update.
3657
d3d3328b
TT
36582014-07-24 Tom Tromey <tromey@redhat.com>
3659
3660 * stack.c (up_silently_base, down_silently_base): Make argument
3661 const.
3662
414842dc
TT
36632014-07-24 Tom Tromey <tromey@redhat.com>
3664
3665 * solib.c (solib_add): Make "pattern" const.
3666 * solib.h (solib_add): Update.
3667
baa336ce
TT
36682014-07-24 Tom Tromey <tromey@redhat.com>
3669
3670 * remote.c (remote_serial_open, print_packet, putpkt)
3671 (putpkt_binary): Constify.
3672 * remote.h (putpkt): Update.
3673
5a19e2d0
TT
36742014-07-24 Tom Tromey <tromey@redhat.com>
3675
3676 * monitor.c (monitor_open): Make "args" const.
3677 * monitor.h (monitor_open): Update.
3678
fc4baa5e
TT
36792014-07-24 Tom Tromey <tromey@redhat.com>
3680
3681 * maint.c (match_bfd_flags): Make "string" const.
3682 (print_bfd_section_info): Remove casts.
3683 (print_objfile_section_info): Make "string" const.
3684
0d5f0dbe
TT
36852014-07-24 Tom Tromey <tromey@redhat.com>
3686
3687 * inf-child.c (inf_child_open_target): Make "arg" const.
3688 * inf-child.h (inf_child_open_target): Update.
3689
41c77899
TT
36902014-07-24 Tom Tromey <tromey@redhat.com>
3691
3692 * environ.c (unset_in_environ): Make "var" const.
3693 * environ.h (unset_in_environ): Update.
3694
93db0d79
TT
36952014-07-24 Tom Tromey <tromey@redhat.com>
3696
3697 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
3698 Make "cmd" const.
3699 (scan_filename_with_cleanup): Likewise.
3700 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
3701 Make arguments const.
3702 (restore_command): Update.
3703
36d6eb95
PA
37042014-07-24 Pedro Alves <palves@redhat.com>
3705
3706 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
3707
8009206a
TT
37082014-07-24 Tom Tromey <tromey@redhat.com>
3709 Gary Benson <gbenson@redhat.com>
3710
3711 * nat/linux-ptrace.c (additional_flags): New global.
3712 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
3713 additional_flags; don't check GDBSERVER.
3714 (linux_ptrace_set_additional_flags): New function.
3715 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
3716 Declare.
3717 * linux-nat.c (_initialize_linux_nat): Call
3718 linux_ptrace_set_additional_flags.
3719
a7068b60
TT
37202014-07-24 Tom Tromey <tromey@redhat.com>
3721
3722 * make-target-delegates (munge_type, write_debugmethod): New
3723 functions.
3724 (debug_names): New global.
3725 ($TARGET_DEBUG_PRINTER): New global.
3726 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
3727 name.
3728 Write debug methods. Generate init_debug_target.
3729 * target-debug.h: New file.
3730 * target-delegates.c: Rebuild.
3731 * target.c: Include target-debug.h.
3732 (debug_target): Hoist definition.
3733 (target_kill, target_get_section_table, target_memory_map)
3734 (target_flash_erase, target_flash_done, target_detach)
3735 (target_disconnect, target_wait, target_resume)
3736 (target_pass_signals, target_program_signals, target_follow_fork)
3737 (target_mourn_inferior, target_search_memory)
3738 (target_thread_address_space, target_close)
3739 (target_find_new_threads, target_core_of_thread)
3740 (target_verify_memory, target_insert_mask_watchpoint)
3741 (target_remove_mask_watchpoint): Remove targetdebug code.
3742 (debug_to_post_attach, debug_to_prepare_to_store)
3743 (debug_to_files_info, debug_to_insert_breakpoint)
3744 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
3745 (debug_to_region_ok_for_hw_watchpoint)
3746 (debug_to_can_accel_watchpoint_condition)
3747 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
3748 (debug_to_watchpoint_addr_within_range)
3749 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
3750 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
3751 (debug_to_terminal_init, debug_to_terminal_inferior)
3752 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
3753 (debug_to_terminal_save_ours, debug_to_terminal_info)
3754 (debug_to_load, debug_to_post_startup_inferior)
3755 (debug_to_insert_fork_catchpoint)
3756 (debug_to_remove_fork_catchpoint)
3757 (debug_to_insert_vfork_catchpoint)
3758 (debug_to_remove_vfork_catchpoint)
3759 (debug_to_insert_exec_catchpoint)
3760 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
3761 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
3762 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
3763 (setup_target_debug): Call init_debug_target.
3764 * target.h (TARGET_DEBUG_PRINTER): New macro.
3765 (struct target_ops) <to_resume, to_wait, to_pass_signals,
3766 to_program_signals>: Use TARGET_DEBUG_PRINTER.
3767
2c51604d
GB
37682014-07-24 Gary Benson <gbenson@redhat.com>
3769
3770 * exceptions.h (throw_vfatal): Renamed to...
3771 (throw_vquit): New declaration.
3772 (throw_quit): Likewise.
3773 * exceptions.c (throw_vfatal): Renamed to...
3774 (throw_vquit): New function.
3775 (throw_quit): Likewise.
3776 (throw_error): Call throw_verror rather than throw_it.
3777 * utils.h (vfatal): Removed.
3778 (fatal): Likewise.
3779 * utils.c (vfatal): Removed.
3780 (fatal): Likewise.
3781 (internal_verror): Replaced call to fatal with call to throw_quit.
3782 (quit): Replaced calls to fatal with calls to throw_quit.
3783
34211963
ME
37842014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
3785
3786 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
3787 target_read_code.
3788
a52b4d3e
ME
37892014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
3790
3791 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
3792 less than zero in conditional expression.
3793
a8bdc56b
TT
37942014-07-23 Tom Tromey <tromey@redhat.com>
3795
3796 * make-target-delegates ($ARGS_PART): Match trailing close paren.
3797 ($INTRO_PART): Don't match whitespace.
3798 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
3799 argument matching.
3800 ($METHOD): Add $METHOD_TRAILER.
3801 (trim): Rewrite.
3802 (scan_target_h): New sub.
3803 Change main loop not to collect state.
3804 * target-delegates.c: Rebuild.
3805
91b52240
GB
38062014-07-23 Gary Benson <gbenson@redhat.com>
3807
3808 * cp-support.c (gdb_demangle): Fix build on systems without
3809 sigaltstack.
3810
45326f6f
JK
38112014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3812
3813 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
3814 for reference entry value target data value.
3815
e214cf6c
JK
38162014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3817
3818 * stack.c (read_frame_arg): Verify value_optimized_out before calling
3819 value_available_contents_eq.
3820
bddbbedd
PA
38212014-07-22 Pedro Alves <palves@redhat.com>
3822
3823 * value.c (allocate_optimized_out_value): Don't mark value as
3824 non-lazy.
3825
45c71484
JW
38262014-07-22 Jiong Wang <jiong.wang@arm.com>
3827
3828 * MAINTAINERS (Write After Approval): Update my email address.
3829
9597b22a
DE
38302014-07-20 Doug Evans <dje@google.com>
3831
3832 PR server/17147
3833 * remote.c (putpkt_binary): Add text to error message.
3834
91101fe5
YQ
38352014-07-20 Yao Qi <yao@codesourcery.com>
3836
3837 * eval.c: Remove "Chill" from comments.
3838 * gdbtypes.h: Likewise.
3839 * symtab.h: Likewise.
3840
c9402c95
YQ
38412014-07-20 Yao Qi <yao@codesourcery.com>
3842
3843 * std-operator.def: Update comments to TERNOP_SLICE.
3844
ae8fddda
YQ
38452014-07-20 Yao Qi <yao@codesourcery.com>
3846
3847 * std-operator.def: Remove BINOP_RANGE.
3848 * breakpoint.c (watchpoint_exp_is_const): Update.
3849 * expprint.c (dump_subexp_body_standard): Likewise.
3850 * eval.c (init_array_element): Remove dead code.
3851 (evaluate_subexp_standard): Likewise.
3852
9c816640
YQ
38532014-07-20 Yao Qi <yao@codesourcery.com>
3854
3855 * std-operator.def: Remove BINOP_IN.
3856 * breakpoint.c (watchpoint_exp_is_const): Update.
3857 * eval.c (evaluate_subexp_standard): Likewise.
3858 * expprint.c (dump_subexp_body_standard): Likewise.
3859
164224e9
ME
38602014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
3861
3862 * microblaze-tdep.c (microblaze_register_names): Add
3863 the rshr and rslr register names.
3864 (microblaze_gdbarch_init): Use of tdesc_has_registers.
3865 Use of tdesc_find_feature. Use of tdesc_data_alloc.
3866 Use of tdesc_numbered_register. Use of
3867 microblaze_register_g_packet_guesses. Use of
3868 tdesc_use_registers. Use of set_gdbarch_register_type.
3869 (microblaze_register_g_packet_guesses): New.
3870 * microblaze-tdep.h (microblaze_reg_num): Add
3871 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
3872 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
3873 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
3874 * features/microblaze-core.xml: New file.
3875 * features/microblaze-stack-protect.xml: New file.
3876 * features/microblaze-with-stack-protect.c: New file.
3877 * features/microblaze-with-stack-protect.xml: New file.
3878 * features/microblaze.xml: New file.
3879 * features/microblaze.c: New file.
3880 * features/Makefile (microblaze-with-stack-protect): Add
3881 microblaze-with-stack-protect microblaze and microblaze-expedite.
3882 * regformats/microblaze-with-stack-protect.dat: New file.
3883 * regformats/microblaze.dat: New file.
3884 * doc/gdb.texinfo (MicroBlaze Features): Added.
3885
e8b2341c
TT
38862014-07-18 Tom Tromey <tromey@redhat.com>
3887
3888 * exec.c (exec_ops): Now static.
3889 * exec.h (exec_ops): Don't declare.
3890
44e89118
TT
38912014-07-18 Tom Tromey <tromey@redhat.com>
3892
3893 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
3894 to find_target_beneath.
3895 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
3896 find_target_beneath.
3897 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
3898
b0ed115f
TT
38992014-07-18 Tom Tromey <tromey@redhat.com>
3900
3901 PR gdb/17130:
3902 * utils.c (quit): Use target_supports_terminal_ours.
3903 * target.h (target_supports_terminal_ours): Declare.
3904 * target.c (target_supports_delete_record): Don't check
3905 to_delete_record against NULL.
3906 (target_supports_terminal_ours): New function.
3907
e75fdfca
TT
39082014-07-18 Tom Tromey <tromey@redhat.com>
3909
3910 PR gdb/17130:
3911 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
3912 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
3913 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
3914 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
3915 * windows-nat.c (windows_xfer_partial): Always delegate.
3916 * record-btrace.c (record_btrace_xfer_partial): Simplify
3917 delegation.
3918 (record_btrace_fetch_registers, record_btrace_store_registers)
3919 (record_btrace_prepare_to_store, record_btrace_resume)
3920 (record_btrace_wait, record_btrace_find_new_threads)
3921 (record_btrace_thread_alive): Likewise.
3922 * procfs.c (procfs_xfer_partial): Always delegate.
3923 * corelow.c (core_xfer_partial): Always delegate.
3924 * sol-thread.c (sol_find_new_threads): Simplify delegation.
3925
83814951
TT
39262014-07-18 Tom Tromey <tromey@redhat.com>
3927
3928 * exec.c (exec_make_note_section): Move earlier.
3929
b8b8facf
DE
39302014-07-17 Doug Evans <dje@google.com>
3931
74b49205 3932 PR gdb/17170
b8b8facf
DE
3933 * maint.c (count_symtabs_and_blocks): Handle NULL
3934 current_program_space.
3935 (report_command_stats): Check global enabled flag in addition to
3936 recorded enabled flag.
3937 (make_command_stats_cleanup): Handle msg_type == 0, startup.
3938
69ff6be5
PA
39392014-07-16 Pedro Alves <palves@redhat.com>
3940
3941 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
3942
252db1b5
TT
39432014-07-16 Tom Tromey <tromey@redhat.com>
3944
3945 * target.h (struct target_ops) <to_delete_record>: Reformat
3946 comment.
3947
a432721e
TT
39482014-07-16 Tom Tromey <tromey@redhat.com>
3949
3950 * target-delegates.c: Rebuild.
3951
487d9753
PL
39522014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3953
3954 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
3955 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
3956 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
3957 (avr_pointer_to_address): Likewise.
3958 (avr_address_class_type_flags): New function.
3959 (avr_address_class_type_flags_to_name): Likewise.
3960 (avr_address_class_name_to_type_flags): Likewise.
3961 (avr_gdbarch_init): Set address_class_type_flags,
3962 address_class_type_flags_to_name and
3963 address_class_name_to_type_flags.
3964
57745c90
PA
39652014-07-15 Pedro Alves <palves@redhat.com>
3966
3967 * linux-nat.c (kill_callback): Save errno and work with saved
3968 copy.
3969
2d40be18
SM
39702014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3971
3972 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
3973
572f6555
EBM
39742014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3975
3976 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
3977 breakpoint support correctly.
3978
cc1c52ad
PA
39792014-07-14 Pedro Alves <palves@redhat.com>
3980
3981 * utils.c (prompt_for_continue): Call target_terminal_ours.
3982
1e973570
PA
39832014-07-14 Pedro Alves <palves@redhat.com>
3984
3985 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
3986 catch_errors. Don't re-enable stdin or notify observers where,
3987 and rethrow error.
3988 (fetch_inferior_event_wrapper): Delete.
3989
93d6eb10
PA
39902014-07-14 Pedro Alves <palves@redhat.com>
3991
3992 PR gdb/17072
3993 * top.c: Include "inf-loop.h".
3994 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
3995 field.
3996 (gdb_readline_wrapper_cleanup): Make the target async again, if it
3997 was async before.
3998 (gdb_readline_wrapper): Store whether the target is async, and
3999 make it sync.
4000
0017922d
PA
40012014-07-14 Pedro Alves <palves@redhat.com>
4002
4003 PR gdb/17072
4004 * top.c (gdb_readline_wrapper_line): Tweak comment.
4005 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
4006 the input handler callback.
4007
94696ad3
PA
40082014-07-14 Pedro Alves <palves@redhat.com>
4009
4010 PR gdb/17072
4011 * main.c: Include event-top.h.
4012 (handle_command_errors): New function.
4013 (catch_command_errors, catch_command_errors_const): Use it.
4014
9d1e69a2
PA
40152014-07-14 Pedro Alves <palves@redhat.com>
4016
4017 * exceptions.c (catch_command_errors, catch_command_errors_const):
4018 Moved to main.c.
4019 * exceptions.h (catch_command_errors_ftype)
4020 (catch_command_errors_const_ftype): Moved to main.c.
4021 (catch_command_errors, catch_command_errors_const): Delete
4022 declarations.
4023 * main.c (catch_command_errors_ftype)
4024 (catch_command_errors_const_ftype): Moved here from exceptions.h.
4025 (catch_command_errors, catch_command_errors_const)): Moved here
4026 from exceptions.c and make static.
4027
feefc97b
PA
40282014-07-14 Pedro Alves <palves@redhat.com>
4029
4030 * exceptions.c (print_any_exception): Delete.
4031 (catch_exceptions_with_msg): Use exception_print instead of
4032 print_any_exception.
4033 (catch_errors): Use exception_fprintf instead of
4034 print_any_exception.
4035 (catch_command_errors, catch_command_errors_const): Use
4036 exception_print instead of print_any_exception.
4037
c933f875
PA
40382014-07-14 Pedro Alves <palves@redhat.com>
4039
4040 * infcall.c (run_inferior_call): Set 'sync_execution' while
4041 running the inferior call.
4042
feb6f816
PA
40432014-07-14 Pedro Alves <palves@redhat.com>
4044
4045 * value.c (value_contents_equal): Delete function.
4046 * value.h (value_contents_equal): Delete declaration.
4047
d98b7a16
TT
40482014-07-14 Tom Tromey <tromey@redhat.com>
4049
4050 PR exp/17106:
4051 * gdbtypes.c (is_dynamic_type_internal): New function, from
4052 is_dynamic_type.
4053 (is_dynamic_type): Rewrite.
4054 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
4055 (resolve_dynamic_struct): Likewise.
4056 (resolve_dynamic_type_internal): New function, from
4057 resolve_dynamic_type.
4058 (resolve_dynamic_type): Rewrite.
4059
548740d6
TT
40602014-07-14 Tom Tromey <tromey@redhat.com>
4061
4062 * target.c (target_require_runnable): Also check record_stratum.
4063 Update comment.
4064
808f7ab1
YQ
40652014-07-11 Yao Qi <yao@codesourcery.com>
4066
4067 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
4068 thumb_instruction_restores_sp return true.
4069
540314bd
YQ
40702014-07-11 Yao Qi <yao@codesourcery.com>
4071
4072 * arm-tdep.c (thumb_instruction_restores_sp): New function.
4073 (thumb_in_function_epilogue_p): Call
4074 thumb_instruction_restores_sp.
4075
1db01f22
YQ
40762014-07-11 Yao Qi <yao@codesourcery.com>
4077
4078 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
4079 'add sp, #imm'.
4080 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
4081
3116063b
GB
40822014-07-11 Gary Benson <gbenson@redhat.com>
4083
4084 * amd64-linux-nat.c (gdbcore.h): Remove include.
4085 (regset.h): Likewise.
4086 (nat/linux-btrace.h): Likewise.
4087 (btrace.h): Likewise.
4088 (gdb_assert.h): Likewise.
4089 (string.h): Likewise.
4090 (sys/uio.h): Likewise.
4091 (sys/debugreg.h): Likewise.
4092 (sys/syscall.h): Likewise.
4093 (sys/procfs.h): Likewise.
4094 (sys/user.h): Likewise.
4095 (asm/ptrace.h): Likewise.
4096 (i386-nat.h): Likewise.
4097 * i386-linux-nat.c (i386-nat.h): Likewise.
4098 (regset.h): Likewise.
4099 (target.h): Likewise.
4100 (linux-nat.h): Likewise.
4101 (nat/linux-btrace.h): Likewise.
4102 (btrace.h): Likewise.
4103 (gdb_assert.h): Likewise.
4104 (string.h): Likewise.
4105 (sys/uio.h): Likewise.
4106 (sys/user.h): Likewise.
4107 (sys/procfs.h): Likewise.
4108 (sys/reg.h): Likewise.
4109 (sys/debugreg.h): Likewise.
4110 (ORIG_EAX): Remove definition.
4111
040baaf6
GB
41122014-07-11 Gary Benson <gbenson@redhat.com>
4113
4114 * i386-linux-nat.h: New file.
4115 * x86-linux-nat.h: Likewise.
4116 * x86-linux-nat.c: Likewise.
4117 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
4118 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
4119 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4120 * amd64-linux-nat.c (x86-linux-nat.h): New include.
4121 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4122 (PTRACE_SETREGSET): Likewise.
4123 (arch_lwp_info): Now in x86-linux-nat.c.
4124 (have_ptrace_getregset): Now in x86-linux-nat.h.
4125 (x86_linux_dr_get): Now in x86-linux-nat.c.
4126 (x86_linux_dr_set): Likewise.
4127 (x86_linux_dr_get_addr): Likewise.
4128 (x86_linux_dr_get_control): Likewise.
4129 (x86_linux_dr_get_status): Likewise.
4130 (update_debug_registers_callback): Likewise.
4131 (x86_linux_dr_set_control): Likewise.
4132 (x86_linux_dr_set_addr): Likewise.
4133 (x86_linux_prepare_to_resume): Likewise.
4134 (x86_linux_new_thread): Likewise.
4135 (x86_linux_new_fork): Likewise.
4136 (x86_linux_get_thread_area): Likewise.
4137 (super_post_startup_inferior): Likewise.
4138 (x86_linux_child_post_startup_inferior): Likewise.
4139 (AMD64_LINUX_USER64_CS): Likewise.
4140 (AMD64_LINUX_X32_DS): Likewise.
4141 (x86_linux_read_description): Likewise.
4142 (x86_linux_enable_btrace): Likewise.
4143 (x86_linux_disable_btrace): Likewise.
4144 (x86_linux_teardown_btrace): Likewise.
4145 (x86_linux_read_btrace): Likewise.
4146 (x86_linux_create_target): Likewise.
4147 (x86_linux_add_target): Likewise.
4148 * i386-linux-nat.c (x86-linux-nat.h): New include.
4149 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4150 (PTRACE_SETREGSET): Likewise.
4151 (arch_lwp_info): Now in x86-linux-nat.c.
4152 (have_ptrace_getregset): Now in x86-linux-nat.h.
4153 (x86_linux_dr_get): Now in x86-linux-nat.c.
4154 (x86_linux_dr_set): Likewise.
4155 (x86_linux_dr_get_addr): Likewise.
4156 (x86_linux_dr_get_control): Likewise.
4157 (x86_linux_dr_get_status): Likewise.
4158 (update_debug_registers_callback): Likewise.
4159 (x86_linux_dr_set_control): Likewise.
4160 (x86_linux_dr_set_addr): Likewise.
4161 (x86_linux_prepare_to_resume): Likewise.
4162 (x86_linux_new_thread): Likewise.
4163 (x86_linux_new_fork): Likewise.
4164 (x86_linux_get_thread_area): Likewise.
4165 (super_post_startup_inferior): Likewise.
4166 (x86_linux_child_post_startup_inferior): Likewise.
4167 (AMD64_LINUX_USER64_CS): Likewise.
4168 (AMD64_LINUX_X32_DS): Likewise.
4169 (x86_linux_read_description): Likewise.
4170 (x86_linux_enable_btrace): Likewise.
4171 (x86_linux_disable_btrace): Likewise.
4172 (x86_linux_teardown_btrace): Likewise.
4173 (x86_linux_read_btrace): Likewise.
4174 (x86_linux_create_target): Likewise.
4175 (x86_linux_add_target): Likewise.
4176
1aa7e42c
GB
41772014-07-11 Gary Benson <gbenson@redhat.com>
4178
4179 * amd64-linux-nat.c: Comment and whitespace changes.
4180 * i386-linux-nat.c: Comment and whitespace changes.
4181
c1e246a0
GB
41822014-07-11 Gary Benson <gbenson@redhat.com>
4183
4184 * amd64-linux-nat.c (x86_linux_create_target): New function.
4185 (x86_linux_add_target): Likewise.
4186 (_initialize_amd64_linux_nat): Delegate to the above new functions.
4187 * i386-linux-nat.c (x86_linux_create_target): New function.
4188 (x86_linux_add_target): Likewise.
4189 (_initialize_i386_linux_nat): Delegate to the above new functions.
4190
8c420b8d
GB
41912014-07-11 Gary Benson <gbenson@redhat.com>
4192
4193 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
4194 (ps_get_thread_area): Delegate to the above in 32-bit mode.
4195 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
4196 (ps_get_thread_area): Delegate to the above.
4197
cb1da100
GB
41982014-07-11 Gary Benson <gbenson@redhat.com>
4199
4200 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
4201 x86_linux_read_description. All uses updated. amd64-specific
4202 code conditionalized. Conditionalized i386-specific code added.
4203 Redundant cast removed.
4204 * i386-linux-nat.c (i386_linux_read_description): Renamed to
4205 x86_linux_read_description. All uses updated. i386-specific
4206 code conditionalized. Conditionalized amd64-specific code added.
4207 One sizeof replaced with the actual type it is describing.
4208
2acf3cd0
GB
42092014-07-11 Gary Benson <gbenson@redhat.com>
4210
4211 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
4212 x86_linux_dr_get. All uses updated.
4213 (amd64_linux_dr_set): Renamed to
4214 x86_linux_dr_set. All uses updated.
4215 (amd64_linux_dr_get_addr): Renamed to
4216 x86_linux_dr_get_addr. All uses updated.
4217 (amd64_linux_dr_get_control): Renamed to
4218 x86_linux_dr_get_control. All uses updated.
4219 (amd64_linux_dr_get_status): Renamed to
4220 x86_linux_dr_get_status. All uses updated.
4221 (amd64_linux_dr_set_control): Renamed to
4222 x86_linux_dr_set_control. All uses updated.
4223 (amd64_linux_dr_set_addr): Renamed to
4224 x86_linux_dr_set_addr. All uses updated.
4225 (amd64_linux_prepare_to_resume): Renamed to
4226 x86_linux_prepare_to_resume. All uses updated.
4227 (amd64_linux_new_thread): Renamed to
4228 x86_linux_new_thread. All uses updated.
4229 (amd64_linux_new_fork): Renamed to
4230 x86_linux_new_fork. All uses updated.
4231 (amd64_linux_child_post_startup_inferior): Renamed to
4232 x86_linux_child_post_startup_inferior. All uses updated.
4233 (amd64_linux_enable_btrace): Renamed to
4234 x86_linux_enable_btrace. All uses updated.
4235 (amd64_linux_disable_btrace): Renamed to
4236 x86_linux_disable_btrace. All uses updated.
4237 (amd64_linux_teardown_btrace): Renamed to
4238 x86_linux_teardown_btrace. All uses updated.
4239 (amd64_linux_read_btrace): Renamed to
4240 x86_linux_read_btrace. All uses updated.
4241 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
4242 x86_linux_dr_get. All uses updated.
4243 (i386_linux_dr_set): Renamed to
4244 x86_linux_dr_set. All uses updated.
4245 (i386_linux_dr_get_addr): Renamed to
4246 x86_linux_dr_get_addr. All uses updated.
4247 (i386_linux_dr_get_control): Renamed to
4248 x86_linux_dr_get_control. All uses updated.
4249 (i386_linux_dr_get_status): Renamed to
4250 x86_linux_dr_get_status. All uses updated.
4251 (i386_linux_dr_set_control): Renamed to
4252 x86_linux_dr_set_control. All uses updated.
4253 (i386_linux_dr_set_addr): Renamed to
4254 x86_linux_dr_set_addr. All uses updated.
4255 (i386_linux_prepare_to_resume): Renamed to
4256 x86_linux_prepare_to_resume. All uses updated.
4257 (i386_linux_new_thread): Renamed to
4258 x86_linux_new_thread. All uses updated.
4259 (i386_linux_new_fork): Renamed to
4260 x86_linux_new_fork. All uses updated.
4261 (i386_linux_child_post_startup_inferior): Renamed to
4262 x86_linux_child_post_startup_inferior. All uses updated.
4263 (i386_linux_enable_btrace): Renamed to
4264 x86_linux_enable_btrace. All uses updated.
4265 (i386_linux_disable_btrace): Renamed to
4266 x86_linux_disable_btrace. All uses updated.
4267 (i386_linux_teardown_btrace): Renamed to
4268 x86_linux_teardown_btrace. All uses updated.
4269 (i386_linux_read_btrace): Renamed to
4270 x86_linux_read_btrace. All uses updated.
4271
b9c1d481
AS
42722014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4273
4274 * remote.c (extended_remote_post_attach): New function.
4275 (init_extended_remote_ops): Install it as to_post_attach method.
4276
7180e04a
PA
42772014-07-09 Pedro Alves <palves@redhat.com>
4278
4279 * infcmd.c (attach_command_post_wait): Don't call
4280 target_terminal_inferior here.
4281 (attach_command): Call it here instead.
4282
9a9a7608
AB
42832014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4284
4285 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
4286 field.
4287 * c-varobj.c (c_is_path_expr_parent): New function, moved core
4288 from varobj.c, with additional checks.
4289 (c_varobj_ops): Fill in is_path_expr_parent field.
4290 (cplus_varobj_ops): Fill in is_path_expr_parent field.
4291 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
4292 field.
4293 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
4294 ops method.
4295 (varobj_default_is_path_expr_parent): New function.
4296 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
4297 (varobj_default_is_path_expr_parent): Declare new function.
4298
1f267ae3
MM
42992014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4300
4301 * infcmd.c (finish_backward): Turn internal error into normal error.
4302
b2ee242b
PA
43032014-07-07 Pedro Alves <palves@redhat.com>
4304
8a869bca 4305 PR gdb/17096
b2ee242b
PA
4306 * remote.c (async_handle_remote_sigint)
4307 (async_handle_remote_sigint_twice): Call
4308 gdb_call_async_signal_handler instead of
4309 mark_async_signal_handler.
4310
38e229b2
TT
43112014-07-07 Tom Tromey <tromey@redhat.com>
4312
4313 * target-delegates.c: Rebuild.
4314 * target.c (target_info_record): Remove.
4315 * record.c (info_record_command): Unconditionally call
4316 to_info_record.
4317 * target.h (struct target_ops) <to_info_record>: Use
4318 TARGET_DEFAULT_IGNORE.
4319 (target_info_record): Remove.
4320
f0f9ff95
TT
43212014-07-07 Tom Tromey <tromey@redhat.com>
4322
4323 * target.h (struct target_ops) <to_get_thread_local_address>: Use
4324 TARGET_DEFAULT_NORETURN.
4325 * target.c (generic_tls_error): New function.
4326 (target_translate_tls_address): Don't search target stack.
4327 * target-delegates.c: Rebuild.
4328 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
4329 stack.
4330 * linux-thread-db.c (thread_db_get_thread_local_address):
4331 Unconditionally call beneath target.
4332
4a5be5ee
MK
43332014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
4334
4335 * cli/cli-logging.c (pop_output_files): Assign targerr to
4336 gdb_stdtargerr.
4337
92c3b204
AB
43382014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
4339
4340 * MAINTAINERS (Write After Approval): Update my email address.
4341
9b11e3a7
GB
43422014-07-02 Gary Benson <gbenson@redhat.com>
4343
4344 * proc-service.c (ps_xfer_memory): Update comment.
4345 (ps_pstop): Remove unused function.
4346 (ps_pcontinue): Likewise.
4347 (ps_lstop): Likewise.
4348 (ps_lcontinue): Likewise.
4349 (ps_lgetxregsize): Likewise.
4350 (ps_lgetxregs): Likewise.
4351 (ps_lsetxregs): Likewise.
4352 (ps_plog): Likewise.
4353 (ps_ptread): Likewise.
4354 (ps_ptwrite): Likewise.
4355
cf363f18
MW
43562014-07-01 Mark Wielaard <mjw@redhat.com>
4357
4358 * dwarf2read.c (add_array_cv_type): New function.
4359 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
4360 (read_tag_volatile_type): Likewise.
4361
82ae6c8d
TT
43622014-07-01 Tom Tromey <tromey@redhat.com>
4363
4364 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
4365 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
4366 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
4367 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
4368 * command.h (cmd_cfunc_ftype): Move earlier.
4369 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
4370 (add_com, add_info): Use cmd_cfunc_ftype.
4371
96142726
TT
43722014-06-30 Tom Tromey <tromey@redhat.com>
4373
4374 * symtab.c (operator_chars): Make parameters and return type
4375 const.
4376 (file_matches): Make "files" const.
4377 (struct search_symbols_data) <files>: Now const.
4378 (search_symbols): Make "regexp" and "files" parameters const.
4379 Update.
4380 (symtab_symbol_info): Remove cast.
4381 (rbreak_command): Update.
4382 * symtab.h (search_symbols): Update.
4383
b67a2c6f
YQ
43842014-06-27 Yao Qi <yao@codesourcery.com>
4385
4386 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
4387 Change parameter type to 'struct thread_info *'. Caller
4388 updated.
4389 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
4390 Update declaration.
4391 * dummy-frame.c (struct dummy_frame_id): New.
4392 (dummy_frame_id_eq): New function.
4393 (struct dummy_frame) <id>: Change its type to 'struct
4394 dummy_frame_id'.
4395 (dummy_frame_push): Add parameter ptid and save it in
4396 dummy_frame_id.
4397 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
4398 inferior_ptid.
4399 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
4400 to inferior_ptid.
4401 (lookup_dummy_frame): Change parameter type to 'struct
4402 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
4403 instead of frame_id_eq.
4404 (dummy_frame_pop): Add parameter ptid. Callers updated.
4405 Update comments. Compose dummy_frame_id and pass it to
4406 lookup_dummy_frame.
4407 (dummy_frame_discard): Add parameter ptid.
4408 (dummy_frame_sniffer): Compose dummy_frame_id and call
4409 dummy_frame_id_eq instead of frame_id_eq.
4410 (fprint_dummy_frames): Print ptid.
4411 * dummy-frame.h: Remove comments.
4412 (dummy_frame_push): Add ptid in declaration.
4413 (dummy_frame_pop, dummy_frame_discard): Likewise.
4414
5b10184c
TT
44152014-06-26 Tom Tromey <tromey@redhat.com>
4416
4417 * cli/cli-cmds.c (error_no_arg): Make "why" const.
4418 * command.h (error_no_arg): Update.
4419
06900326
TT
44202014-06-26 Tom Tromey <tromey@redhat.com>
4421
4422 * cli/cli-setshow.c (do_set_command): Make "arg" const.
4423 (do_show_command): Make "arg" const.
4424 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
4425
c2bcbb1d
TT
44262014-06-26 Tom Tromey <tromey@redhat.com>
4427
4428 * record-full.c (record_full_get_bookmark): Make "args" const.
4429 (record_full_goto_bookmark): Make "raw_bookmark" const.
4430 * record.c (record_goto): New function.
4431 (cmd_record_goto): Use it. Now static.
4432 * record.h (record_goto): Declare.
4433 (cmd_record_goto): Remove declaration.
4434 * target-delegates.c: Rebuild.
4435 * target.h (struct target_ops) <to_get_bookmark,
4436 to_goto_bookmark>: Make parameter const.
4437
9cbe5fff
TT
44382014-06-26 Tom Tromey <tromey@redhat.com>
4439
4440 * defs.h (generic_load): Update.
4441 * m32r-rom.c (m32r_load_gen): Make "filename" const.
4442 * monitor.c (monitor_load): Make "args" const.
4443 * remote-m32r-sdi.c (m32r_load): Make "args" const.
4444 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
4445 const.
4446 (mips_load): Make "file" const.
4447 * remote-sim.c (gdbsim_load): Make "args" const.
4448 * remote.c (remote_load): Make "name" const.
4449 * symfile.c (generic_load): Make "args" const.
4450 * target-delegates.c: Rebuild.
4451 * target.c (target_load): Make "arg" const.
4452 (debug_to_load): Make "args" const.
4453 * target.h (struct target_ops) <to_load>: Make parameter const.
4454 (target_load): Update.
4455
34a68019
TT
44562014-06-26 Tom Tromey <tromey@redhat.com>
4457
4458 PR symtab/16902:
4459 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
4460 (dwarf2_physname, read_partial_die)
4461 (guess_partial_die_structure_name, fixup_partial_die)
4462 (guess_full_die_structure_name, anonymous_struct_prefix)
4463 (dwarf2_name): Use per-BFD obstack.
4464
efc889c1
YQ
44652014-06-26 Yao Qi <yao@codesourcery.com>
4466
4467 * dummy-frame.c (dummy_frame_sniffer): Move local variables
4468 dummyframe and this_id into inner block below.
4469
4395285e
YQ
44702014-06-26 Yao Qi <yao@codesourcery.com>
4471
4472 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
4473 with "signal_pass[0]" in the initialization of signal_pass.
4474
aef92902
MM
44752014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4476
4477 * record-btrace.c (record_btrace_generating_corefile)
4478 (record_btrace_prepare_to_generate_core)
4479 (record_btrace_done_generating_core): New.
4480 (record_btrace_xfer_partial, record_btrace_fetch_registers)
4481 (record_btrace_store_registers, record_btrace_prepare_to_store):
4482 Forward request when generating a core file.
4483 (record_btrace_open): Set record_btrace_generating_corefile to zero.
4484 (init_record_btrace_ops): Set to_prepare_to_generate_core and
4485 to_done_generating_core.
4486
5fff78c4
MM
44872014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4488
4489 * target.h (target_ops) <to_prepare_to_generate_core>
4490 <to_done_generating_core>: New.
4491 (target_prepare_to_generate_core, target_done_generating_core): New.
4492 * target.c (target_prepare_to_generate_core)
4493 (target_done_generating_core): New.
4494 * target-delegates.c: Regenerate.
4495 * gcore.c: (write_gcore_file): Rename to ...
4496 (write_gcore_file_1): ...this.
4497 (write_gcore_file): Call target_prepare_to_generate_core
4498 and target_done_generating_core.
4499
1d1f1ccb
MM
45002014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4501
4502 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
4503 * gcore.c (write_gcore_file): Free memory returned from
4504 make_corefile_notes.
4505 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
4506 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
4507
3343ef86
YQ
45082014-06-24 Yao Qi <yao@codesourcery.com>
4509
4510 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
4511 (arm_linux_init_abi): Set skip_trampoline_code with
4512 gdbarch_skip_trampoline_code instead of
4513 find_solib_trampoline_target.
4514
18d18ac8
YQ
45152014-06-24 Yao Qi <yao@codesourcery.com>
4516
4517 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
4518 arm_skip_bx_reg returns non-zero.
4519
80d8d390
YQ
45202014-06-24 Yao Qi <yao@codesourcery.com>
4521
4522 * arm-tdep.c (arm_skip_bx_reg): New function.
4523 (arm_skip_stub): Call arm_skip_bx_reg.
4524
6a18a01c
DB
45252014-06-23 Don Breazeal <donb@codesourcery.com>
4526
4527 * MAINTAINERS: Add myself as write-after-approval maintainer.
4528
8e9db26e
PA
45292014-06-23 Pedro Alves <palves@redhat.com>
4530
4531 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
4532 DR_CONTROL before setting DR0..DR3.
4533 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
4534 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
4535 bits of DR_CONTROL related to the debug register slot being
4536 disabled. If all slots are vacant, clear local slowdown as well,
4537 and assert DR_CONTROL is 0.
4538
70afc5b7
SC
45392014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4540
4541 * python/lib/gdb/command/xmethods.py
4542 (get_method_matchers_in_loci): Lookup xmethod matchers in the
4543 current progspace only if the string "progspace" matches LOCUS_RE.
4544
840ed64d
JK
45452014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4546
4547 Fix --with-system-readline with readline-6.3 patch 5.
4548 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
4549 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
4550 types.
4551
26f2dc30
TT
45522014-06-20 Tom Tromey <tromey@redhat.com>
4553
4554 * dwarf2read.c (dw2_get_real_path): Use correct type in
4555 OBSTACK_CALLOC.
4556 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
4557
125f8a3d
GB
45582014-06-20 Gary Benson <gbenson@redhat.com>
4559
4560 * common/gdb_thread_db.h: Moved to nat. All includes updated.
4561 * common/glibc_thread_db.h: Likewise.
4562 * common/i386-cpuid.h: Likewise.
4563 * common/i386-gcc-cpuid.h: Likewise.
4564 * common/linux-btrace.h: Likewise.
4565 * common/linux-osdata.h: Likewise.
4566 * common/linux-procfs.h: Likewise.
4567 * common/linux-ptrace.h: Likewise.
4568 * common/mips-linux-watch.h: Likewise.
4569 * common/linux-btrace.c: Moved to nat.
4570 * common/linux-osdata.c: Likewise.
4571 * common/linux-procfs.c: Likewise.
4572 * common/linux-ptrace.c: Likewise.
4573 * common/mips-linux-watch.c: Likewise.
4574 * nat/gdb_thread_db.h: Moved from common.
4575 * nat/glibc_thread_db.h: Likewise.
4576 * nat/i386-cpuid.h: Likewise.
4577 * nat/i386-gcc-cpuid.h: Likewise.
4578 * nat/linux-btrace.c: Likewise.
4579 * nat/linux-btrace.h: Likewise.
4580 * nat/linux-osdata.c: Likewise.
4581 * nat/linux-osdata.h: Likewise.
4582 * nat/linux-procfs.c: Likewise.
4583 * nat/linux-procfs.h: Likewise.
4584 * nat/linux-ptrace.c: Likewise.
4585 * nat/linux-ptrace.h: Likewise.
4586 * nat/mips-linux-watch.c: Likewise.
4587 * nat/mips-linux-watch.h: Likewise.
4588 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
4589 (object file files): Reordered.
4590 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
4591 of glibc_thread_db.h.
4592
42995dbd
GB
45932014-06-20 Gary Benson <gbenson@redhat.com>
4594
4595 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
4596 (i386_dr_low_type): Moved to nat/i386-dregs.h.
4597 (i386_dr_low): Likewise.
4598 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
4599 (i386_dr_low_set_addr): Likewise.
4600 (i386_dr_low_get_addr): Likewise.
4601 (i386_dr_low_can_set_control): Likewise.
4602 (i386_dr_low_set_control): Likewise.
4603 (i386_dr_low_get_control): Likewise.
4604 (i386_dr_low_get_status): Likewise.
4605 (i386_get_debug_register_length): Likewise.
4606 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
4607 (i386_dr_low): Likewise.
4608 * nat/i386-dregs.c (i386-low.h): Remove include.
4609 (i386-nat.h): Likewise.
4610 (nat/i386-dregs.h): New include.
4611 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
4612 (i386_dr_low_set_addr): Likewise.
4613 (i386_dr_low_get_addr): Likewise.
4614 (i386_dr_low_can_set_control): Likewise.
4615 (i386_dr_low_set_control): Likewise.
4616 (i386_dr_low_get_control): Likewise.
4617 (i386_dr_low_get_status): Likewise.
4618 (i386_get_debug_register_length): Likewise.
4619 (debug_hw_points): Likewise.
4620
3ed9baed
IB
46212014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4622
4623 * Makefile.in (SFILES): Add d-exp.y.
4624 (YYFILES): Add d-exp.c.
4625 (YYOBJ): Add d-exp.o.
4626 (local-maintainer-clean): Delete d-exp.c.
4627 * d-exp.y: New file.
4628 * d-lang.h (d_parse): New declaration.
4629 (d_error): New declaration.
4630 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
4631 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
4632 PREC_ORDER operators.
4633 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
4634
78c164b0
YQ
46352014-06-19 Yao Qi <yao@codesourcery.com>
4636
4637 * gdbthread.h (any_running): Remove the declaration.
4638 * thread.c (any_running): Remove.
4639
f6e29b6e
YQ
46402014-06-19 Yao Qi <yao@codesourcery.com>
4641
4642 * gdbthread.h (struct thread_info) <state>: Change its type to
4643 'enum thread_state'. Update comments.
4644
034f788c
PA
46452014-06-19 Pedro Alves <palves@redhat.com>
4646
4647 * gdbthread.h (ALL_THREADS): Delete.
4648 (ALL_NON_EXITED_THREADS): New macro.
4649 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
4650 instead of ALL_THREADS.
4651 * infrun.c (find_thread_needs_step_over)
4652 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
4653 instead of ALL_THREADS.
4654 * record-btrace.c (record_btrace_open)
4655 (record_btrace_stop_recording, record_btrace_close)
4656 (record_btrace_is_replaying, record_btrace_resume)
4657 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
4658 * remote.c (append_pending_thread_resumptions): Likewise.
4659 * thread.c (thread_apply_all_command): Likewise.
4660
46e33252
GB
46612014-06-19 Gary Benson <gbenson@redhat.com>
4662
4663 * i386-nat.c (i386_stopped_by_watchpoint):
4664 Use i386_dr_stopped_by_watchpoint.
4665 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
4666 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
4667
3a8ee006
GB
46682014-06-19 Gary Benson <gbenson@redhat.com>
4669
4670 * nat/i386-dregs.c: New file.
4671 * Makefile.in (i386-dregs.o): New rule.
4672 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
4673 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
4674 * config/i386/darwin.mh (NATDEPFILES): Likewise.
4675 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
4676 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
4677 * config/i386/go32.mh (NATDEPFILES): Likewise.
4678 * config/i386/linux.mh (NATDEPFILES): Likewise.
4679 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4680 * config/i386/mingw.mh (NATDEPFILES): Likewise.
4681 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
4682 * i386-nat.h (debug_hw_points): New declaration.
4683 * i386-nat.c (breakpoint.h): Remove include.
4684 (command.h): Likewise.
4685 (target.h): Likewise.
4686 (gdb_assert.h): Likewise.
4687 (debug_hw_points): Made nonstatic.
4688 (debug_printf): Now in i386-dregs.c.
4689 (TARGET_HAS_DR_LEN_8): Likewise.
4690 (DR_CONTROL_SHIFT): Likewise.
4691 (DR_CONTROL_SIZE): Likewise.
4692 (DR_RW_EXECUTE): Likewise.
4693 (DR_RW_WRITE): Likewise.
4694 (DR_RW_READ): Likewise.
4695 (DR_RW_IORW): Likewise.
4696 (DR_LEN_1): Likewise.
4697 (DR_LEN_2): Likewise.
4698 (DR_LEN_4): Likewise.
4699 (DR_LEN_8): Likewise.
4700 (DR_LOCAL_ENABLE_SHIFT): Likewise.
4701 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
4702 (DR_ENABLE_SIZE): Likewise.
4703 (DR_LOCAL_SLOWDOWN): Likewise.
4704 (DR_GLOBAL_SLOWDOWN): Likewise.
4705 (DR_CONTROL_RESERVED): Likewise.
4706 (I386_DR_CONTROL_MASK): Likewise.
4707 (I386_DR_VACANT): Likewise.
4708 (I386_DR_LOCAL_ENABLE): Likewise.
4709 (I386_DR_GLOBAL_ENABLE): Likewise.
4710 (I386_DR_DISABLE): Likewise.
4711 (I386_DR_SET_RW_LEN): Likewise.
4712 (I386_DR_GET_RW_LEN): Likewise.
4713 (I386_DR_WATCH_HIT): Likewise.
4714 (i386_wp_op_t): Likewise.
4715 (i386_show_dr): Likewise.
4716 (i386_length_and_rw_bits): Likewise.
4717 (i386_insert_aligned_watchpoint): Likewise.
4718 (i386_remove_aligned_watchpoint): Likewise.
4719 (i386_handle_nonaligned_watchpoint): Likewise.
4720 (i386_update_inferior_debug_regs): Likewise.
4721 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
4722 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
4723 (i386_region_ok_for_watchpoint):
4724 Use i386_dr_region_ok_for_watchpoint.
4725 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
4726
322a8e06
GB
47272014-06-19 Gary Benson <gbenson@redhat.com>
4728
4729 * i386-nat.c (i386_insert_hw_breakpoint): Use
4730 i386_insert_watchpoint.
4731 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
4732
8f26655c
GB
47332014-06-19 Gary Benson <gbenson@redhat.com>
4734
4735 * i386-nat.c (i386_dr_show): Renamed to
4736 i386_show_dr and made static. All uses updated.
4737 (i386_dr_length_and_rw_bits): Renamed to
4738 i386_length_and_rw_bits and made static.
4739 All uses updated.
4740 (i386_dr_insert_aligned_watchpoint): Renamed to
4741 i386_insert_aligned_watchpoint and made static.
4742 All uses updated.
4743 (i386_dr_remove_aligned_watchpoint): Renamed to
4744 i386_remove_aligned_watchpoint and made static.
4745 All uses updated.
4746 (i386_dr_update_inferior_debug_regs): Renamed to
4747 i386_update_inferior_debug_regs and made static.
4748 All uses updated.
4749 * nat/i386-dregs.h (i386_dr_show): Removed.
4750 (i386_dr_length_and_rw_bits): Likewise.
4751 (i386_dr_insert_aligned_watchpoint): Likewise.
4752 (i386_dr_remove_aligned_watchpoint): Likewise.
4753 (i386_dr_update_inferior_debug_regs): Likewise.
4754
992c7d70
GB
47552014-06-19 Gary Benson <gbenson@redhat.com>
4756
4757 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
4758 * configure: Regenerate.
4759 * config.in: Likewise.
4760 * main.c (signal.h): New include.
4761 (setup_alternate_signal_stack): New function.
4762 (captured_main): Call the above.
4763 * cp-support.c (signal.h): New include.
4764 (catch_demangler_crashes): New flag.
4765 (SIGJMP_BUF): New define.
4766 (SIGSETJMP): Likewise.
4767 (SIGLONGJMP): Likewise.
4768 (gdb_demangle_jmp_buf): New static global.
4769 (gdb_demangle_attempt_core_dump): Likewise.
4770 (gdb_demangle_signal_handler): New function.
4771 (gdb_demangle): If catch_demangler_crashes is set, install the
4772 above signal handler before calling bfd_demangle, and restore
4773 the original signal handler afterwards. Display the offending
4774 symbol and call demangler_warning the first time a segmentation
4775 fault is caught.
4776 (_initialize_cp_support): New maint set/show command.
4777
eae7090b
GB
47782014-06-19 Gary Benson <gbenson@redhat.com>
4779
4780 * utils.h (resource_limit_kind): New enum.
4781 (can_dump_core): New declaration.
4782 (warn_cant_dump_core): Likewise.
4783 (dump_core): Likewise.
4784 * utils.c (dump_core): Made nonstatic. Added new
4785 parameter "limit_kind".
4786 (can_dump_core): Made nonstatic. Moved printing code to...
4787 (warn_cant_dump_core): New function.
4788 (can_dump_core_warn): Likewise.
4789 (internal_vproblem): Replace calls to can_dump_core with
4790 calls to can_dump_core_warn. Supply new argument to each.
4791
57fcfb1b
GB
47922014-06-19 Gary Benson <gbenson@redhat.com>
4793
4794 * utils.h (demangler_vwarning): New declaration.
4795 (demangler_warning): Likewise.
4796 * utils.c (struct internal_problem)
4797 <user_settable_should_quit>: New field.
4798 <user_settable_should_dump_core>: Likewise
4799 (internal_error_problem): Add values for above new fields.
4800 (internal_warning_problem): Likewise.
4801 (demangler_warning_problem): New static global.
4802 (demangler_vwarning): New function.
4803 (demangler_warning): Likewise.
4804 (add_internal_problem_command): Selectively add commands.
4805 (_initialize_utils): New internal problem command.
4806 * maint.c (maintenance_demangler_warning): New function.
4807 (_initialize_maint_cmds): New command.
4808
17a40b44
TT
48092014-06-18 Tom Tromey <tromey@redhat.com>
4810
4811 * f-valprint.c (info_common_command_for_block): Update.
4812 * symtab.h (struct general_symbol_info) <common_block>: Now
4813 const.
4814
346d1dfe
TT
48152014-06-18 Tom Tromey <tromey@redhat.com>
4816
4817 * symtab.h (struct symtab) <blockvector>: Now const.
4818 * ada-lang.c (ada_add_global_exceptions): Update.
4819 * buildsym.c (augment_type_symtab): Update.
4820 * dwarf2read.c (dw2_lookup_symbol): Update.
4821 * jit.c (finalize_symtab): Update.
4822 * jv-lang.c (add_class_symtab_symbol): Update.
4823 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
4824 Update.
4825 * objfiles.c (objfile_relocate1): Update.
4826 * psymtab.c (lookup_symbol_aux_psymtabs)
4827 (maintenance_check_psymtabs): Update.
4828 * python/py-symtab.c (stpy_global_block, stpy_static_block):
4829 Update.
4830 * spu-tdep.c (spu_catch_start): Update.
4831 * symmisc.c (dump_symtab_1): Update.
4832 * symtab.c (lookup_global_symbol_from_objfile)
4833 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
4834 (basic_lookup_transparent_type_quick)
4835 (basic_lookup_transparent_type, find_pc_sect_symtab)
4836 (find_pc_sect_line, search_symbols): Update.
4837 * block.c (find_block_in_blockvector): Make "bl" const.
4838 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
4839 const.
4840 (blockvector_contains_pc): Make "bv" const.
4841 (block_for_pc_sect): Update.
4842 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
4843 (blockvector_contains_pc): Update.
4844 * breakpoint.c (resolve_sal_pc): Update.
4845 * inline-frame.c (block_starting_point_at): Update.
4846
1834676b
TT
48472014-06-18 Tom Tromey <tromey@redhat.com>
4848
4849 * completer.c (complete_line): Make "line_buffer" const.
4850 * completer.h (complete_line): Update.
4851
ac1a991b
TT
48522014-06-18 Tom Tromey <tromey@redhat.com>
4853
4854 * symtab.c (add_macro_name): Remove unneeded cast.
4855
5bc98e52
TT
48562014-06-18 Tom Tromey <tromey@redhat.com>
4857
4858 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
4859 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
4860
8236def8
TT
48612014-06-18 Tom Tromey <tromey@redhat.com>
4862
4863 * probe.c (info_probes_for_ops): Make "arg" const.
4864 * probe.h (info_probes_for_ops): Update.
4865
3977b71f
TT
48662014-06-18 Tom Tromey <tromey@redhat.com>
4867
4868 * varobj.c (varobj_create): Update.
4869 * valops.c (value_of_this): Update.
4870 * tracepoint.c (add_local_symbols, scope_info): Update.
4871 * symtab.h (struct general_symbol_info) <block>: Now const.
4872 * symtab.c (skip_prologue_sal)
4873 (default_make_symbol_completion_list_break_on)
4874 (skip_prologue_using_sal): Update.
4875 * stack.h (iterate_over_block_locals)
4876 (iterate_over_block_local_vars): Update.
4877 * stack.c (print_frame_args): Update.
4878 (iterate_over_block_locals, iterate_over_block_local_vars): Make
4879 parameter const.
4880 (get_selected_block): Make return type const.
4881 * python/py-frame.c (frapy_block): Update.
4882 * python/py-block.c (gdbpy_block_for_pc): Update.
4883 * p-exp.y (%union) <bval>: Now const.
4884 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
4885 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
4886 * m2-exp.y (%union) <bval>: Now const.
4887 * linespec.c (get_current_search_block): Make return type const.
4888 (create_sals_line_offset, find_label_symbols): Update.
4889 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
4890 Update.
4891 (block_starting_point_at): Make "block" const.
4892 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
4893 (check_exception_resume): Update.
4894 * guile/scm-frame.c (gdbscm_frame_block): Update.
4895 * guile/scm-block.c (gdbscm_lookup_block): Update.
4896 * frame.h (get_frame_block): Update.
4897 (get_selected_block): Make return type const.
4898 * frame.c (frame_id_inner): Update.
4899 * f-valprint.c (info_common_command_for_block)
4900 (info_common_command): Update.
4901 * dwarf2loc.c (dwarf2_find_location_expression)
4902 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
4903 (locexpr_describe_location_piece): Update.
4904 * c-exp.y (%union) <bval>: Now const.
4905 * breakpoint.c (resolve_sal_pc): Update.
4906 * blockframe.c (get_frame_block):Make return type const.
4907 (get_pc_function_start, get_frame_function, find_pc_sect_function)
4908 (block_innermost_frame): Update.
4909 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
4910 (block_for_pc, block_for_pc_sect): Update.
4911 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
4912 'pblock' const.
4913 (block_for_pc_sect, block_for_pc): Make return type const.
4914 * ax-gdb.c (gen_expr): Update.
4915 * alpha-mdebug-tdep.c (find_proc_desc): Update.
4916 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
4917 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
4918 (ada_read_var_value): Update.
4919 * ada-exp.y (struct name_info) <block>: Now const.
4920 (%union): Likewise.
4921 (block_lookup): Constify.
4922
b9228891
GB
49232014-06-18 Gary Benson <gbenson@redhat.com>
4924
4925 * nat/i386-dregs.h: New file.
4926 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
4927 * i386-nat.h (i386-dregs.h): New include.
4928 (DR_FIRSTADDR): Now in i386-dregs.h.
4929 (DR_LASTADDR): Likewise.
4930 (DR_NADDR): Likewise.
4931 (DR_STATUS): Likewise.
4932 (DR_CONTROL): Likewise.
4933 (i386_debug_reg_state): Likewise.
4934 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
4935
a1aa2221
LM
49362014-06-18 Don Breazeal <donb@codesourcery.com>
4937
4938 * breakpoint.c (set_longjmp_breakpoint): Call
4939 momentary_breakpoint_from_master with additional argument.
4940 (set_longjmp_breakpoint_for_call_dummy): Call
4941 momentary_breakpoint_from_master with additional argument.
4942 (set_std_terminate_breakpoint): Call
4943 momentary_breakpoint_from_master with additional argument.
4944 (momentary_breakpoint_from_master): Add argument to function
4945 definition and use it to initialize structure member flag.
74228e77 4946 (clone_momentary_breakpoint): Call
a1aa2221
LM
4947 momentary_breakpoint_from_master with additional argument.
4948 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
4949 member flags set in momentary_breakpoint_from_master.
4950
4be83cc2
GB
49512014-06-18 Gary Benson <gbenson@redhat.com>
4952
4953 * i386-nat.c (i386_show_dr): Renamed to
4954 i386_dr_show and made nonstatic. All uses updated.
4955 (i386_length_and_rw_bits): Renamed to
4956 i386_dr_length_and_rw_bits and made nonstatic.
4957 All uses updated.
4958 (i386_insert_aligned_watchpoint): Renamed to
4959 i386_dr_insert_aligned_watchpoint and made nonstatic.
4960 All uses updated.
4961 (i386_remove_aligned_watchpoint): Renamed to
4962 i386_dr_remove_aligned_watchpoint and made nonstatic.
4963 All uses updated.
4964 (i386_update_inferior_debug_regs): Renamed to
4965 i386_dr_update_inferior_debug_regs and made nonstatic.
4966 All uses updated.
4967
131aa0d4
GB
49682014-06-18 Gary Benson <gbenson@redhat.com>
4969
4970 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
4971 (i386_dr_low_can_set_control): Likewise.
4972 (i386_dr_low_set_addr): Likewise.
4973 (i386_dr_low_set_control): Likewise.
4974 (i386_dr_low_get_addr): Likewise.
4975 (i386_dr_low_get_status): Likewise.
4976 (i386_dr_low_get_control): Likewise.
4977 (i386_insert_aligned_watchpoint): Use new macros.
4978 (i386_update_inferior_debug_regs): Likewise.
4979 (i386_stopped_data_address): Likewise.
4980
d9305f7f
GB
49812014-06-18 Gary Benson <gbenson@redhat.com>
4982
4983 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
4984 New parameter. All uses updated.
4985
ea008da4
GB
49862014-06-18 Gary Benson <gbenson@redhat.com>
4987
4988 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
4989 All uses updated.
4990
1b6d4134
GB
49912014-06-18 Gary Benson <gbenson@redhat.com>
4992
4993 * i386-nat.c (debug_printf): New macro.
4994 (i386_get_debug_register_length): Likewise.
4995 (TARGET_HAS_DR_LEN_8): Use above macro.
4996 (i386_show_dr): Use debug_printf instead of puts_unfiltered
4997 and printf_unfiltered. Use phex to format values.
4998
9b4550ef
GB
49992014-06-18 Gary Benson <gbenson@redhat.com>
5000
5001 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
5002 Make const.
5003
6e62758f
GB
50042014-06-18 Gary Benson <gbenson@redhat.com>
5005
5006 * i386-nat.c: Comment changes.
5007
51c79e94
GB
50082014-06-18 Gary Benson <gbenson@redhat.com>
5009
5010 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
5011
3e11889a
GB
50122014-06-18 Gary Benson <gbenson@redhat.com>
5013
5014 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
5015 (i386_insert_aligned_watchpoint): Likewise.
5016 (i386_remove_aligned_watchpoint): Likewise.
5017 (i386_handle_nonaligned_watchpoint): Likewise.
5018
fc6e2f03
GB
50192014-06-18 Gary Benson <gbenson@redhat.com>
5020
5021 * i386-nat.c: Whitespace changes.
5022
2afe7d50
SB
50232014-06-17 Samuel Bronson <naesten@gmail.com>
5024
5025 * MAINTAINERS: Update Roland McGrath's email address.
5026 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 5027 Red Hat a while ago, and giving me a current address.
2afe7d50 5028
3bca49ee
TT
50292014-06-17 Tom Tromey <tromey@redhat.com>
5030
5031 * utils.h (savestring): Remove declaration.
5032
6e366df1
TT
50332014-06-17 Tom Tromey <tromey@redhat.com>
5034
5035 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
5036
6be47f0c
KS
50372014-06-16 Keith Seitz <keiths@redhat.com>
5038
5039 PR mi/15863
5040 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
5041 to update the varobj if inferior_ptid is null_ptid.
5042
7bc112c1
TT
50432014-06-16 Tom Tromey <tromey@redhat.com>
5044
5045 * target.h (struct target_ops) <to_info_proc>: Make parameter
5046 const.
5047 (target_info_proc): Update.
5048 * target.c (target_info_proc): Make "args" const.
5049 * procfs.c (procfs_info_proc): Update.
5050 * linux-tdep.c (linux_info_proc): Update.
5051 (linux_core_info_proc_mappings): Make "args" const.
5052 (linux_core_info_proc): Update.
5053 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
5054 * gdbarch.c: Rebuild.
5055 * gdbarch.h: Rebuild.
5056 * corelow.c (core_info_proc): Update.
5057
fee354ee
TT
50582014-06-16 Tom Tromey <tromey@redhat.com>
5059
5060 * target.h (struct target_ops) <to_disconnect>: Make parameter
5061 const.
5062 (target_disconnect): Update.
5063 * target.c (target_disconnect): Make "args" const.
5064 * target-delegates.c: Rebuild.
5065 * remote.c (remote_disconnect): Update.
5066 * record.h (record_disconnect): Update.
5067 * record.c (record_disconnect): Update.
5068 * inf-child.c (inf_child_disconnect): Update.
5069
a30bf1f1
TT
50702014-06-16 Tom Tromey <tromey@redhat.com>
5071
5072 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
5073 * target.c (debug_to_rcmd, default_rcmd): Update.
5074 * target-delegates.c: Rebuild.
5075 * remote.c (remote_rcmd): Update.
5076 * monitor.c (monitor_rcmd): Update.
5077
d03de421
PA
50782014-06-16 Pedro Alves <palves@redhat.com>
5079
5080 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
5081 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
5082 have OBJF_SHARED set.
5083 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
5084 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
5085 instead of OBJF_USERLOADED.
5086 * objfiles.h (OBJF_SHARED): Update comment.
5087 (userloaded_objfile_contains_address_p): Rename to ...
5088 (shared_objfile_contains_address_p): ... this, and update
5089 comments.
5090 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
5091 new objfile.
5092 (remove_symbol_file_command): Skip objfiles that don't have
5093 OBJF_SHARED set.
5094
99f4262f
TT
50952014-06-16 Tom Tromey <tromey@redhat.com>
5096
5097 * minsyms.h (prim_record_minimal_symbol)
5098 (prim_record_minimal_symbol_and_info): Update comments.
5099
97d66cc6
EZ
51002014-06-14 Eli Zaretskii <eliz@gnu.org>
5101
5102 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
5103 or --without-guile, according to how GDB was built.
5104
635c7e8a
TT
51052014-06-13 Tom Tromey <tromey@redhat.com>
5106
5107 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
5108 to help_list.
5109 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
5110 to help_list.
5111 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
5112 help_list.
5113 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
5114 help_list.Pass all_commands, not -1, to help_list.
5115 * cli/cli-dump.c (dump_command, append_command)
5116 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
5117 (binary_dump_command, binary_append_command): Pass all_commands,
5118 not -1, to help_list.
5119 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
5120 -1, to help_list.
5121 * valprint.c (set_print, set_print_raw): Pass all_commands, not
5122 -1, to help_list.
5123 * typeprint.c (set_print_type): Pass all_commands, not -1, to
5124 help_list.
5125 * top.c (set_history): Pass all_commands, not -1, to help_list.
5126 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
5127 all_commands, not -1, to help_list.
5128 * symfile.c (overlay_command): Pass all_commands, not -1, to
5129 help_list.
5130 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
5131 help_list.
5132 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
5133 help_list.
5134 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
5135 -1, to help_list.
5136 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
5137 not -1, to help_list.
5138 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
5139 not -1, to help_list.
5140 * maint.c (maintenance_command, maintenance_info_command)
5141 (maintenance_print_command, maintenance_set_cmd): Pass
5142 all_commands, not -1, to help_list.
5143 * macrocmd.c (macro_command): Pass all_commands, not -1, to
5144 help_list.
5145 * language.c (set_check): Pass all_commands, not -1, to help_list.
5146 * infcmd.c (unset_command): Pass all_commands, not -1, to
5147 help_list.
5148 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
5149 help_list.
5150 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
5151 help_list.
5152 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
5153 help_list.
5154 * breakpoint.c (save_command): Pass all_commands, not -1, to
5155 help_list.
5156 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
5157 all_commands, not -1, to help_list.
5158
b94ade42
PL
51592014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
5160
5161 * regcache.c (struct register_to_invalidate): New structure.
5162 (do_register_invalidate, make_cleanup_regcache_invalidate): New
5163 functions.
5164 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
5165
31f628ae
YQ
51662014-06-12 Yao Qi <yao@codesourcery.com>
5167
5168 * varobj.c (varobj_get_num_children): Call
5169 varobj_is_dynamic_p.
5170 (varobj_list_children): Likewise.
5171 (varobj_update): Likewise. Update comments.
5172
cde5ef40
YQ
51732014-06-12 Yao Qi <yao@codesourcery.com>
5174
5175 * varobj.c (varobj_pretty_printed_p): Rename to ...
5176 (varobj_is_dynamic_p): ... this. New function.
5177 * varobj.h (varobj_pretty_printed_p): Remove declaration.
5178 (varobj_is_dynamic_p): Declare.
5179 * mi/mi-cmd-var.c (print_varobj): All callers updated.
5180 (mi_print_value_p, varobj_update_one): Likewise.
5181
576ea091
YQ
51822014-06-12 Pedro Alves <pedro@codesourcery.com>
5183 Yao Qi <yao@codesourcery.com>
5184
5185 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
5186 (varobj_get_iterator): Wrap up code for pretty-printer by
5187 "#if HAVE_PYTHON" and "#endif".
5188 (update_dynamic_varobj_children): Likewise.
5189
827f100c
YQ
51902014-06-12 Pedro Alves <pedro@codesourcery.com>
5191 Yao Qi <yao@codesourcery.com>
5192
5193 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
5194 gdb_python_initialized is false. Move some code from varobj.c.
5195 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
5196 * varobj.c: Move "varobj-iter.h" inclusion earlier.
5197 (struct varobj_item): Moved to varobj-iter.h".
5198 (varobj_clear_saved_item): New function.
5199 (update_dynamic_varobj_children): Move python-related code to
5200 py-varobj.c.
5201 (free_variable): Call varobj_clear_saved_item and
5202 varobj_iter_delete.
5203
e5250216
YQ
52042014-06-12 Pedro Alves <pedro@codesourcery.com>
5205 Yao Qi <yao@codesourcery.com>
5206
5207 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
5208 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
5209 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
5210 (py-varobj.o): New rule.
5211 * python/py-varobj.c: New file.
5212 * python/python-internal.h (py_varobj_get_iterator): Declare.
5213 * varobj-iter.h: New file.
5214 * varobj.c: Include "varobj-iter.h"
5215 (struct varobj) <child_iter>: Change its type from "PyObject *"
5216 to "struct varobj_iter *".
5217 <saved_item>: Likewise.
5218 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
5219 [HAVE_PYTHON] (varobj_get_iterator): New function.
5220 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
5221 python-specific code to python/py-varobj.c.
5222 (install_visualizer): Call varobj_iter_delete instead of
5223 Py_XDECREF.
5224 * varobj.h (varobj_ensure_python_env): Declare.
5225
5a2e0d6e
YQ
52262014-06-12 Yao Qi <yao@codesourcery.com>
5227
5228 * varobj.c (struct varobj_item): New structure.
5229 (create_child_with_value): Update declaration.
5230 (varobj_add_child): Replace arguments 'name' and 'value' with
5231 'item'. All callers updated.
5232 (install_dynamic_child): Likewise.
5233 (update_dynamic_varobj_children): Likewise.
5234 (varobj_add_child): Likewise.
5235 (create_child_with_value): Likewise.
5236
919b9a93
JB
52372014-06-11 Joel Brobecker <brobecker@adacore.com>
5238
5239 * NEWS: Create a new section for the next release branch.
5240 Rename the section of the current branch, now that it has
5241 been cut.
5242
71a55bdf
JB
52432014-06-11 Joel Brobecker <brobecker@adacore.com>
5244
5245 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
5246 * version.in: Bump version to 7.8.50.DATE-cvs.
5247
364fe1f7
PA
52482014-06-11 Pedro Alves <palves@redhat.com>
5249
5250 PR remote/17028
5251 * ser-mingw.c (net_windows_socket_check_pending): New function.
5252 (net_windows_select_thread): Ignore spurious wakeups. Use
5253 net_windows_socket_check_pending.
5254 (net_windows_wait_handle): Check for pending events with
5255 ioctlsocket, through net_windows_socket_check_pending, instead of
5256 checking the socket's event.
5257
5a6c7709
SC
52582014-06-10 Siva Chandra Reddy <sivachandra@google.com>
5259
5260 * python/python-internal.h (gdb_PyObject_GetAttrString)
5261 (gdb_PyObject_HasAttrString): New inline function definitions.
5262 * py-value.c (get_field_flag): Remove the now unnecessary cast to
5263 char * of the second argument to PyObject_GetAttrString.
74228e77 5264
0e58ee40
JB
52652014-06-10 Joel Brobecker <brobecker@adacore.com>
5266
5267 * serial.c (serial_write): Fix index of character to be printed
5268 in call to serial_logchar when serial debug traces are enabled.
5269
d190df30
JB
52702014-06-10 Joel Brobecker <brobecker@adacore.com>
5271
5272 * gdbtypes (resolve_dynamic_range): Add function description.
5273
b4b01d36
PA
52742014-06-09 Pedro Alves <palves@redhat.com>
5275
5276 * linux-nat.c (linux_child_follow_fork): Initialize status with
5277 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
5278 inner block. Only pass the signal to PTRACE_DETACH if in pass
5279 state.
5280
3657956b
GB
52812014-06-09 Gary Benson <gbenson@redhat.com>
5282
5283 * common/signals.c (gdb_signal_from_host): Reorder to separate
5284 the always-available ANSI-standard signals from the signals that
5285 require checking.
5286 (do_gdb_signal_to_host): Likewise.
5287 * proc-events.c (signal_table): Likewise.
5288
c077881a
HZ
52892014-06-08 Hui Zhu <hui@codesourcery.com>
5290
5291 * common/linux-ptrace.c (linux_disable_event_reporting): New
5292 function.
5293 * common/linux-ptrace.h (linux_disable_event_reporting): New
5294 declaration.
5295 * linux-nat.c (linux_child_follow_fork): Do a single step before
5296 detach.
5297
4186eb54
KS
52982014-06-07 Keith Seitz <keiths@redhat.com>
5299
5300 Revert:
5301 PR c++/16253
5302 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5303 from symbol_matches_domain in symtab.c. All local callers
5304 of symbol_matches_domain updated.
5305 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5306 search STRUCT_DOMAIN.
5307 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5308 independently. standard_lookup will do that automatically.
5309 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5310 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5311 (cp_lookup_symbol_in_namespace): Likewise.
5312 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5313 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5314 may return a STRUCT_DOMAIN match.
5315 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5316 * cp-support.c: Include language.h.
5317 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5318 VAR_DOMAIN.
5319 * psymtab.c (match_partial_symbol): Compare the requested
5320 domain with the symbol's domain directly.
5321 (lookup_partial_symbol): Likewise.
5322 * symtab.c (lookup_symbol_in_language): Explain when/why
5323 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5324 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5325 appropriate languages.
5326 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5327 and moved to ada-lang.c
5328 (lookup_block_symbol): Explain that this function only returns
5329 symbol matching the requested DOMAIN.
5330 Compare the requested domain with the symbol's domain directly.
5331 (iterate_over_symbols): Compare the requested domain with the
5332 symbol's domain directly.
5333 * symtab.h (symbol_matches_domain): Remove.
5334
25326a28 53352014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
5336
5337 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
5338 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
5339 (gdbscm_guile_version_is_at_least): Declare.
5340 (gdbscm_scm_string_to_int): Declare.
5341 * guile/guile.c (gdbscm_guile_major_version): New global.
5342 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
5343 (guile_datadir): New static global.
5344 (gdbscm_guile_data_directory): New function.
5345 (initialize_scheme_side): Update.
5346 (misc_guile_functions): Add guile-data-directory.
5347 (initialize_gdb_module): Fetch guile version number.
5348 * guile/lib/gdb.scm: Remove call to add-to-load-path.
5349 * guile/lib/gdb/init.scm (%initialize!): Ditto.
5350 * guile/lib/gdb/boot.scm: Use guile-data-directory.
5351 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
5352 comments.
5353 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
5354 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
5355 * guile/scm-value.c (gdbscm_value_to_string): Only call
5356 scm_port_conversion_strategy if Guile version >= 2.0.6.
5357
0a770bb2 53582014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
5359
5360 * main.c (print_gdb_help): Add -q and --silent.
5361
73ba372c
GB
53622014-06-06 Gary Benson <gbenson@redhat.com>
5363
5364 * common/signals.c: Remove preprocessor conditionals for
5365 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5366 SIGSEGV and SIGTERM.
5367 * proc-events.c: Likewise.
5368
c33b2f12
MM
53692014-06-06 Markus Metzger <markus.t.metzger@intel.com>
5370
5371 * symfile.c (symfile_free_objfile): Remove restriction to
5372 OBJF_USERLOADED.
5373 * symfile-mem.c (symbol_file_add_from_memory): Call
5374 add_target_sections_of_objfile.
5375
fb934770
LC
53762014-06-05 Ludovic Courtès <ludo@gnu.org>
5377
5378 * guile/scm-value.c (gdbscm_history_append_x): Use
5379 'vlscm_get_value_smob_arg_unsafe' instead of
5380 'vlscm_scm_to_value'.
5381
6ef284bd
SM
53822014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5383
5384 PR mi/15806
5385 * utils.c (printchar): Don't escape at all if quoter is NUL.
5386 Update function documentation to clarify effect of parameter
5387 QUOTER.
5388 * remote.c (escape_buffer): Pass '\\' as the quoter to
5389 fputstrn_unfiltered.
5390 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
5391 generate the output.
5392 (mi_solib_unloaded): Same.
5393
270c9937
JB
53942014-06-05 Joel Brobecker <brobecker@adacore.com>
5395
5396 * development.sh: Delete.
5397 * Makefile.in (config.status): Adjust dependency on development.sh.
5398 * configure.ac: Adjust development.sh source call.
5399 * configure: Regenerate.
5400
16f691fb
DE
54012014-06-04 Doug Evans <xdje42@gmail.com>
5402
5403 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
5404 is_scheme_bkpt, spec.
5405 (bpscm_make_breakpoint_smob): Initialize new members.
5406 (gdbscm_create_breakpoint_x): Split into two ...
5407 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
5408 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
5409 (scheme_function breakpoint_functions): Update.
5410 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
5411 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
5412 register-breakpoint!.
5413
ef7cab6b
JB
54142014-06-04 Joel Brobecker <brobecker@adacorer.com>
5415
5416 PR server/17023
5417 * mem-break.c (z_type_supported): Return zero if
5418 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
5419
012370f6
TT
54202014-06-04 Tom Tromey <tromey@redhat.com>
5421
5422 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
5423 value_from_contents_and_address_unresolved.
5424 (ada_template_to_fixed_record_type_1): Likewise.
5425 (ada_which_variant_applies): Likewise.
5426 * value.h (value_from_contents_and_address_unresolved): Declare.
5427 * value.c (value_from_contents_and_address_unresolved): New
5428 function.
5429 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
5430 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
5431 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
5432
92e2a17f
TT
54332014-06-04 Tom Tromey <tromey@redhat.com>
5434
5435 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
5436
c0939df1
TT
54372014-06-04 Tom Tromey <tromey@redhat.com>
5438
5439 * procfs.c (procfs_attach): Make "args" const.
5440 * windows-nat.c (windows_attach): Make "args" const.
5441 * nto-procfs.c (procfs_attach): Make "args" const.
5442 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
5443 * go32-nat.c (go32_attach): Make "args" const.
5444 * gnu-nat.c (gnu_attach): Make "args" const.
5445 * darwin-nat.c (darwin_attach): Make "args" const.
5446 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
5447 * linux-nat.c (linux_nat_attach): Make "args" const.
5448 * remote.c (extended_remote_attach_1, extended_remote_attach):
5449 Make "args" const.
5450 * target.h (struct target_ops) <to_attach>: Make "args" const.
5451 (find_default_attach): Likewise.
5452 * utils.c (parse_pid_to_attach): Make "args" const.
5453 * utils.h (parse_pid_to_attach): Update.
5454
8eaff7cd
TT
54552014-06-04 Tom Tromey <tromey@redhat.com>
5456
5457 * target-delegates.c: Rebuild.
5458 * target.c (default_thread_address_space): New function.
5459 (target_thread_address_space): Simplify.
5460 * target.h (struct target_ops) <to_thread_address_space>: Add
5461 TARGET_DEFAULT_FUNC.
5462
1913f160
DE
54632014-06-04 Doug Evans <xdje42@gmail.com>
5464
5465 * guile/scm-type.c (type_smob): Remove duplicate typedef.
5466
70ad5bff
MM
54672014-06-04 Markus Metzger <markus.t.metzger@intel.com>
5468
5469 * record-btrace.c: Include event-loop.h and inf-loop.h.
5470 (record_btrace_resume_exec_dir)
5471 (record_btrace_async_inferior_event_handler)
5472 (record_btrace_handle_async_inferior_event): New.
5473 (record_btrace_open): Create async event handler.
5474 (record_btrace_close): Delete async event handler.
5475 (record_btrace_resume): Set record_btrace_resume_exec_dir,
5476 Mark async event handler.
5477 (record_btrace_execution_direction): New.
5478 (init_record_btrace_ops): Initialize to_execution_direction.
5479
b6210538
DE
54802014-06-03 Doug Evans <xdje42@gmail.com>
5481
5482 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
5483 (gdbscm_make_parameter): Ditto.
5484
a5b1fd27
DE
54852014-06-03 Doug Evans <dje@google.com>
5486
5487 * exec.c (exec_close_1): Call clear_section_table instead of
5488 resize_section_table.
5489 (clear_section_table): New function.
5490 (resize_section_table): Make static. Rename arg num_added to
5491 adjustment.
5492 * exec.h (clear_section_table): Declare.
5493 (resize_section_table): Delete.
5494 * progspace.c (release_program_space): Call clear_section_table
5495 instead of resize_section_table.
5496
0c6e92a5
SC
54972014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5498
5499 * NEWS (Python Scripting): Add entry about the new xmethods
5500 feature.
5501
883964a7
SC
55022014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5503
5504 * python/py-xmethods.c: New file.
5505 * python/py-objfile.c (objfile_object): New field 'xmethods'.
5506 (objfpy_dealloc): XDECREF on the new xmethods field.
5507 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
5508 field.
5509 (objfpy_get_xmethods): New function.
5510 (objfile_getset): New entry 'xmethods'.
5511 * python/py-progspace.c (pspace_object): New field 'xmethods'.
5512 (pspy_dealloc): XDECREF on the new xmethods field.
5513 (pspy_new, pspace_to_pspace_object): Initialize xmethods
5514 field.
5515 (pspy_get_xmethods): New function.
5516 (pspace_getset): New entry 'xmethods'.
5517 * python/python-internal.h: Add declarations for new functions.
5518 * python/python.c (_initialize_python): Invoke
5519 gdbpy_initialize_xmethods.
5520 * python/lib/gdb/__init__.py (xmethods): New
5521 attribute.
5522 * python/lib/gdb/xmethod.py: New file.
5523 * python/lib/gdb/command/xmethods.py: New file.
5524
58992dc5
SC
55252014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5526
5527 * eval.c (evaluate_subexp_standard): Call the xmethod if the
5528 best match method returned by find_overload_match is an xmethod.
5529 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
5530 the best matching operator returned by find_overload_match is an
5531 xmethod.
5532 * valops.c: #include "extension.h".
5533 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
5534 Return void. The list of matching source methods is returned in
5535 "fn_list" and a vector of matching debug method workers is
5536 returned in "xm_worker_vec". Update all callers.
5537 (value_find_oload_method_list): Likewise.
5538 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
5539 non-NULL, then the index of the best matching method in this
5540 vector is returned. Update all callers.
5541 (find_overload_match): Include xmethods while performing overload
5542 resolution.
5543
e81e7f5e
SC
55442014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5545
5546 * defs.h (enum lval_type): New enumerator "lval_xcallable".
5547 * extension-priv.h (struct extension_language_ops): Add the
5548 xmethod interface.
5549 * extension.c (new_xmethod_worker, clone_xmethod_worker,
5550 get_matching_xmethod_workers, get_xmethod_argtypes,
5551 invoke_xmethod, free_xmethod_worker,
5552 free_xmethod_worker_vec): New functions.
5553 * extension.h: #include "common/vec.h".
5554 New function declarations.
5555 (struct xmethod_worker): New struct.
5556 (VEC (xmethod_worker_ptr)): New vector type.
5557 (xmethod_worker_ptr): New typedef.
5558 (xmethod_worker_vec): Likewise.
5559 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
5560 builtin_type.
5561 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
5562 (struct builtin_type): New field "xmethod".
5563 * valarith.c (value_ptradd): Assert that the value argument is not
5564 lval_xcallable.
5565 * valops.c (value_must_coerce_to_target): Return 0 for
5566 lval_xcallable values.
5567 * value.c (struct value): New field XM_WORKER in the field
5568 LOCATION.
5569 (value_address, value_raw_address): Return 0 for lval_xcallable
5570 values.
5571 (set_value_address): Assert that the value is not an
5572 lval_xcallable.
5573 (value_free): Free the associated xmethod worker when freeing
5574 lval_xcallable values.
5575 (set_value_component_location): Assert that the WHOLE value is not
5576 lval_xcallable.
5577 (value_of_xmethod, call_xmethod): New functions.
5578 * value.h: Declare "struct xmethod_worker".
5579 Declare new functions value_of_xmethod, call_xmethod.
5580
ef370185
JB
55812014-06-03 Joel Brobecker <brobecker@adacore.com>
5582 Pedro Alves <palves@redhat.com>
5583
5584 PR breakpoints/17000
5585 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
5586 New function, extracted from software_breakpoint_inserted_here_p.
5587 (software_breakpoint_inserted_here_p): Replace factored out code
5588 by call to find_non_raw_software_breakpoint_inserted_here.
5589 (bp_target_info_copy_insertion_state): New function.
5590 (bkpt_insert_location): Handle the case of a single-step
5591 breakpoint already inserted at the same address.
5592 (bkpt_remove_location): Handle the case of a single-step
5593 breakpoint still inserted at the same address.
5594 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
5595 breakpoint already inserted at the same address.
5596 (deprecated_remove_raw_breakpoint): Handle the case of a
5597 non-raw breakpoint still inserted at the same address.
5598 (find_single_step_breakpoint): New function, extracted from
5599 single_step_breakpoint_inserted_here_p.
5600 (find_single_step_breakpoint): New function,
5601 factored out from single_step_breakpoint_inserted_here_p.
5602 (single_step_breakpoint_inserted_here_p): Reimplement.
5603
1e2ccb61
BM
56042014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5605
5606 Pushed by Joel Brobecker <brobecker@adacore.com>
5607 * source.c (show_substitute_path_command): Fix display of matching
5608 substitution rules.
5609
d3448d85
GB
56102014-06-03 Gary Benson <gbenson@redhat.com>
5611
5612 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
5613
06eb1586
DE
56142014-06-02 Doug Evans <xdje42@gmail.com>
5615
5616 Add parameter support for Guile.
5617 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
5618 (SUBDIR_GUILE_SRCS): Add scm-param.c.
5619 (scm-param.o): New rule.
5620 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
5621 (gdbscm_misc_error): Declare.
5622 (gdbscm_canonicalize_command_name): Declare.
5623 (gdbscm_scm_to_host_string): Declare.
5624 (gdbscm_scm_from_host_string): Declare.
5625 (gdbscm_initialize_parameters): Declare.
5626 * guile/guile.c (initialize_gdb_module): Call
5627 gdbscm_initialize_parameters.
5628 * guile/lib/gdb.scm: Export parameter symbols.
5629 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
5630 cmdscm_canonicalize_name and made public. All callers updated.
5631 * guile/scm-exception.c (gdbscm_misc_error): New function.
5632 * guile/scm-param.c: New file.
5633 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
5634 (gdbscm_scm_to_host_string): New function.
5635 (gdbscm_scm_from_host_string): New function.
5636 * scm-utils.c (gdbscm_gc_dup_argv): New function.
5637
e698b8c4
DE
56382014-06-02 Doug Evans <xdje42@gmail.com>
5639
5640 Add command support for Guile.
5641 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
5642 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
5643 (scm-cmd.o): New rule.
5644 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
5645 (gdbscm_user_error_p): Declare.
5646 (gdbscm_parse_command_name): Declare.
5647 (gdbscm_valid_command_class_p): Declare.
5648 (gdbscm_initialize_commands): Declare.
5649 * guile/guile.c (initialize_gdb_module): Call
5650 gdbscm_initialize_commands.
5651 * guile/lib/gdb.scm: Export command symbols.
5652 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
5653 (throw-user-error): New function.
5654 * guile/scm-cmd.c: New file.
5655 * guile/scm-exception.c (user_error_symbol): New static global.
5656 (gdbscm_user_error_p): New function.
5657 (gdbscm_initialize_exceptions): Set user_error_symbol.
5658 * scm-utils.c (gdbscm_gc_xstrdup): New function.
5659
fb1f94b0
PM
56602014-06-02 Phil Muldoon <pmuldoon@redhat.com>
5661
5662 * top.c (command_loop): Handle comments here...
5663 (command_line_input): ... not here.
5664
ded03782
DE
56652014-06-02 Doug Evans <xdje42@gmail.com>
5666
5667 Add progspace support for Guile.
5668 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
5669 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
5670 (scm-progspace.o): New rule.
5671 * guile/guile-internal.h (pspace_smob): New typedef.
5672 (psscm_pspace_smob_pretty_printers): Declare.
5673 (psscm_pspace_smob_from_pspace): Declare.
5674 (psscm_scm_from_pspace): Declare.
5675 * guile/guile.c (initialize_gdb_module): Call
5676 gdbscm_initialize_pspaces.
5677 * guile/lib/gdb.scm: Export progspace symbols.
5678 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
5679 support.
5680 (append-pretty-printer!): Ditto.
5681 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
5682 Implement.
5683 * guile/scm-progspace.c: New file.
5684
397998fc
AM
56852014-06-03 Alan Modra <amodra@gmail.com>
5686
5687 * ppc64-tdep.c (ppc64_standard_linkage8): New.
5688 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
5689
6aa5f3a6
DE
56902014-06-02 Doug Evans <dje@google.com>
5691
5692 Add support for skeletonless type units.
5693 * dwarf2read.c (struct dwarf2_per_objfile): New member
5694 n_allocated_type_units.
5695 (struct dwarf2_per_objfile) <tu_stats>: New member
5696 nr_all_type_units_reallocs.
5697 (create_signatured_type_table_from_index): Initialize
5698 n_allocated_type_units
5699 (create_all_type_units): Ditto.
5700 (add_type_unit): Move up in file. New arg slot.
5701 All callers updated. Increase space for all_type_units more
5702 efficiently.
5703 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
5704 (lookup_dwo_signatured_type): Handle skeletonless TUs.
5705 (lookup_dwp_signatured_type): Ditto.
5706 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
5707 All callers updated.
5708 (build_type_psymtabs_1): Leave type_unit_groups as
5709 NULL if no TUs present.
5710 (print_tu_stats): New function.
5711 (process_skeletonless_type_unit): New function.
5712 (process_dwo_file_for_skeletonless_type_units): New
5713 function.
5714 (process_skeletonless_type_units): New function.
5715 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
5716 Call print tu_stats if debugging enabled.
5717
41fac0cf
PA
57182014-06-02 Pedro Alves <palves@redhat.com>
5719
5720 * breakpoint.c (build_target_command_list): Don't build a command
5721 list if we have any duplicate location that isn't a dprintf.
5722
cd1608cc
PA
57232014-06-02 Pedro Alves <palves@redhat.com>
5724
5725 * breakpoint.c (dprintf_breakpoint_hit): New function.
5726 (initialize_breakpoint_ops): Install it as dprintf's
5727 breakpoint_hit method.
5728
486ef3b9
JB
57292014-06-02 Joel Brobecker <brobecker@adacore.com>
5730
5731 * source.c (substitute_path_rule_matches): Simplify using
5732 filename_ncmp instead of FILENAME_CMP.
5733
230cd560
JB
57342014-06-02 Joel Brobecker <brobecker@adacore.com>
5735
5736 * source.c (substitute_path_rule_matches): Remove trailing spaces.
5737
16954d5d
LC
57382014-06-01 Ludovic Courtès <ludo@gnu.org>
5739
5740 * configure.ac: When Guile is available, check for the
5741 availability of 'scm_new_smob'.
5742 * configure, config.h.in: Regenerate.
5743 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
5744 function.
5745
53e8a631
AB
57462014-05-30 Andrew Burgess <aburgess@broadcom.com>
5747
5748 * frame.c (struct frame_info): Add stop_string field.
5749 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
5750 (get_prev_frame_always): Old content moved into
5751 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
5752 TRY_CATCH, handle MEMORY_ERROR exceptions.
5753 (frame_stop_reason_string): New function definition.
5754 * frame.h (unwind_stop_reason_to_string): Extend comment to
5755 mention frame_stop_reason_string.
5756 (frame_stop_reason_string): New function declaration.
5757 * stack.c (frame_info): Switch to frame_stop_reason_string.
5758 (backtrace_command_1): Switch to frame_stop_reason_string.
5759 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
5760 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
5761 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
5762
70e38b8e
AB
57632014-05-30 Andrew Burgess <aburgess@broadcom.com>
5764
5765 * frame.c (frame_stop_reason_string): Rename to ...
5766 (unwind_stop_reason_to_string): this.
5767 * frame.h (frame_stop_reason_string): Rename to ...
5768 (unwind_stop_reason_to_string): this.
5769 * stack.c (frame_info): Update call to frame_stop_reason_string.
5770 (backtrace_command_1): Likewise.
5771 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
5772 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
5773
938f0e2f
AB
57742014-05-30 Andrew Burgess <aburgess@broadcom.com>
5775
5776 * frame.c (remove_prev_frame): New function.
5777 (get_prev_frame_if_no_cycle): Create / discard cleanup using
5778 remove_prev_frame.
5779
a09dd441
PA
57802014-05-29 Pedro Alves <palves@redhat.com>
5781
5782 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
5783 and make it const. When a single-step decays to a continue,
5784 clear 'step', not 'hw_step'. Pass whether the caller wanted
5785 to step to user_visible_resume_ptid, not what we ask the
5786 target to do.
5787
bdc36728
PA
57882014-05-29 Pedro Alves <palves@redhat.com>
5789
5790 * infrun.c (process_event_stop_test, handle_step_into_function)
5791 (handle_step_into_function_backward): Adjust.
5792 Don't set the even thread's stop_step and call stop_waiting before
5793 calling end_stepping_range. Instead do that ...
5794 (end_stepping_range): ... here. Take an ecs pointer parameter.
5795
22bcd14b
PA
57962014-05-29 Pedro Alves <palves@redhat.com>
5797
5798 * infrun.c (stop_stepping): Rename to ...
5799 (stop_waiting): ... this.
5800 (proceed): Update comment.
5801 (process_event_stop_test, handle_inferior_event)
5802 (handle_signal_stop, handle_step_into_function)
5803 (handle_step_into_function_backward): Update.
5804
4ae57c05
PA
58052014-05-29 Pedro Alves <palves@redhat.com>
5806
5807 * infcall.c (run_inferior_call): Don't check whether the current
5808 thread is running after the proceed call.
5809
329ea579
PA
58102014-05-29 Pedro Alves <palves@redhat.com>
5811 Tom Tromey <tromey@redhat.com>
5812
5813 * NEWS: Mention "maint set target-async", "set mi-async", and that
5814 background execution commands are now always available.
5815 * target.h (target_async_permitted): Update comment.
5816 * target.c (target_async_permitted, target_async_permitted_1):
5817 Default to 1.
5818 (set_target_async_command): Rename to ...
5819 (maint_set_target_async_command): ... this.
5820 (show_target_async_command): Rename to ...
5821 (maint_show_target_async_command): ... this.
5822 (_initialize_target): Adjust.
5823 * infcmd.c (prepare_execution_command): Make extern.
5824 * inferior.h (prepare_execution_command): Declare.
5825 * infrun.c (set_observer_mode): Leave target async alone.
5826 * mi/mi-interp.c (mi_interpreter_init): Install
5827 mi_on_sync_execution_done as sync_execution_done observer.
5828 (mi_on_sync_execution_done): New function.
5829 (mi_execute_command_input_handler): Don't print the prompt if we
5830 just started a synchronous command with an async target.
5831 (mi_on_resume): Check sync_execution before printing prompt.
5832 * mi/mi-main.h (mi_async_p): Declare.
5833 * mi/mi-main.c: Include gdbcmd.h.
5834 (mi_async_p): New function.
5835 (mi_async, mi_async_1): New globals.
5836 (set_mi_async_command, show_mi_async_command, mi_async): New
5837 functions.
5838 (exec_continue): Call prepare_execution_command.
5839 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
5840 (mi_execute_async_cli_command): Use mi_async_p.
5841 (_initialize_mi_main): Install "set mi-async". Make
5842 "target-async" a deprecated alias.
5843
92bcb5f9
PA
58442014-05-29 Pedro Alves <palves@redhat.com>
5845
5846 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
5847 (_initialize_cli_interp): Adjust.
5848 * event-loop.c: Include "observer.h".
5849 (start_event_loop): Notify 'command_error' observers instead of
5850 calling display_gdb_prompt. Remove FIXME comment.
5851 * event-top.c (display_gdb_prompt): Remove call into the
5852 interpreters.
5853 * inf-loop.c: Include "observer.h".
5854 (inferior_event_handler): Notify 'command_error' observers instead
5855 of calling display_gdb_prompt.
5856 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
5857 observers instead of calling display_gdb_prompt.
5858 * interps.c (interp_set): Don't call display_gdb_prompt.
5859 (current_interp_display_prompt_p): Delete.
5860 * interps.h (interp_prompt_p): Delete declaration.
5861 (interp_prompt_p_ftype): Delete.
5862 (struct interp_procs) <prompt_proc_p>: Delete field.
5863 (current_interp_display_prompt_p): Delete declaration.
5864 * mi-interp.c (mi_interpreter_prompt_p): Delete.
5865 (_initialize_mi_interp): Adjust.
5866 * tui-interp.c (tui_init): Install 'sync_execution_done' and
5867 'command_error' observers.
5868 (tui_on_sync_execution_done, tui_on_command_error): New
5869 functions.
5870 (tui_display_prompt_p): Delete.
5871 (_initialize_tui_interp): Adjust.
5872
fd664c91
PA
58732014-05-29 Pedro Alves <palves@redhat.com>
5874
5875 PR gdb/13860
5876 * cli/cli-interp.c: Include infrun.h and observer.h.
5877 (cli_uiout, cli_interp): New globals.
5878 (cli_on_signal_received, cli_on_end_stepping_range)
5879 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
5880 functions.
5881 (cli_interpreter_init): Install them as 'end_stepping_range',
5882 'signal_received' 'signal_exited', 'exited' and 'no_history'
5883 observers.
5884 (_initialize_cli_interp): Remove cli_interp local.
5885 * infrun.c (handle_inferior_event): Call the several stop reason
5886 observers instead of printing the stop reason directly.
5887 (end_stepping_range): New function.
5888 (print_end_stepping_range_reason, print_signal_exited_reason)
5889 (print_exited_reason, print_signal_received_reason)
5890 (print_no_history_reason): Make static, and add an uiout
5891 parameter. Print to that instead of to CURRENT_UIOUT.
5892 * infrun.h (print_end_stepping_range_reason)
5893 (print_signal_exited_reason, print_exited_reason)
5894 (print_signal_received_reason print_no_history_reason): New
5895 declarations.
5896 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
5897 'mi_uiout'.
5898 <cli_uiout>: New field.
5899 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
5900 uiout for CLI output. Install 'signal_received',
5901 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
5902 observers.
5903 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
5904 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
5905 (mi_on_no_history): New functions.
5906 (ui_out_free_cleanup): Delete function.
5907 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
5908 instead use the one already stored in the MI interpreter data.
5909 (mi_ui_out): Adjust.
5910 * tui/tui-interp.c: Include infrun.h and observer.h.
5911 (tui_interp): New global.
5912 (tui_on_signal_received, tui_on_end_stepping_range)
5913 (tui_on_signal_exited, tui_on_exited)
5914 (tui_on_no_history): New functions.
5915 (tui_init): Install them as 'end_stepping_range',
5916 'signal_received' 'signal_exited', 'exited' and 'no_history'
5917 observers.
5918 (_initialize_tui_interp): Delete tui_interp local.
5919
8817a6f2
PA
59202014-05-29 Pedro Alves <palves@redhat.com>
5921
5922 PR gdb/15713
5923 * linux-nat.c (linux_nat_resume_callback): Rename the second
5924 parameter to 'except'. Skip LP if it points to EXCEPT.
5925 (linux_nat_resume): Don't mark the event lwp as not stopped
5926 before resuming sibling lwps. Instead ask
5927 linux_nat_resume_callback to skip the event lwp. Mark it as not
5928 stopped after actually resuming it.
5929 (linux_handle_syscall_trap): Mark the lwp as not stopped after
5930 resuming it.
5931 (wait_lwp): Mark the lwp as stopped here.
5932 (stop_wait_callback): Mark the lwp as not stopped right after
5933 resuming it. Don't mark lwps as stopped here.
5934 (linux_nat_filter_event): Mark the lwp as stopped earlier.
5935 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
5936
251bde03
PA
59372014-05-29 Pedro Alves <palves@redhat.com>
5938
5939 PR PR15693
5940 * infrun.c (resume): Determine how much to resume depending on
5941 whether the caller wanted a step, not whether we can hardware step
5942 the target. Mark all threads that we intend to run as running,
5943 unless we're calling an inferior function.
5944 (normal_stop): If the thread is running an infcall, don't finish
5945 thread state.
5946 * target.c (target_resume): Don't mark threads as running here.
5947
7f3c0343
JB
59482014-05-28 Joel Brobecker <brobecker@adacore.com>
5949
5950 * serial.c (_initialize_serial): Remove support for
5951 the "set remotebaud" and "show remotebaud" commands.
5952 * NEWS: Add entry documenting the removal of that command.
5953
ee34b3f9
YQ
59542014-05-28 Yao Qi <yao@codesourcery.com>
5955
5956 * charset.c: Fix typo in comments.
5957
add6c04d
GB
59582014-05-27 Gary Benson <gbenson@redhat.com>
5959
5960 * utils.c (internal_vproblem): Prompt for a bug report.
5961
92c48fc5
AW
59622014-05-26 Andy Wingo <wingo@igalia.com>
5963
5964 * guile/scm-arch.c (arscm_mark_arch_smob):
5965 * guile/scm-block.c (bkscm_mark_block_smob)
5966 (bkscm_mark_block_syms_progress_smob):
5967 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
5968 * guile/scm-exception.c (exscm_mark_exception_smob):
5969 * guile/scm-frame.c (frscm_mark_frame_smob):
5970 * guile/scm-iterator.c (itscm_mark_iterator_smob):
5971 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
5972 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
5973 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
5974 (ppscm_mark_pretty_printer_worker_smob):
5975 * guile/scm-symbol.c (syscm_mark_symbol_smob):
5976 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
5977 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
5978 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
5979 mark functions.
5980 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
5981 function.
5982
b2715b27
AW
59832014-05-26 Andy Wingo <wingo@igalia.com>
5984 Doug Evans <xdje42@gmail.com>
5985
5986 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
5987 empty_base_class. All uses updated.
5988 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
5989 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
5990 Adapt all callers.
5991 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
5992 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
5993 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
5994 (gdbscm_gsmob_has_property_p, add_property_name)
5995 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
5996 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
5997 (gdb-object-has-property?, gdb-object-properties): Remove.
5998 (gdb-object-kind): Renamed from gsmob-kind.
5999
214ab2da
AW
60002014-05-26 Andy Wingo <wingo@igalia.com>
6001
6002 * configure.ac (try_guile_versions): Allow building with guile 2.2.
6003 * configure: Regenerate.
6004
589fdceb
MM
60052014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6006
6007 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
6008
67b5c0c1
MM
60092014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6010
6011 * record-btrace.c (record_btrace_allow_memory_access): Remove.
6012 (replay_memory_access_read_only, replay_memory_access_read_write)
6013 (replay_memory_access_types, replay_memory_access)
6014 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
6015 (cmd_set_record_btrace, cmd_show_record_btrace)
6016 (cmd_show_replay_memory_access): New.
6017 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
6018 (record_btrace_remove_breakpoint): Replace
6019 record_btrace_allow_memory_access with replay_memory_access.
6020 (_initialize_record_btrace): Add commands.
6021 * NEWS: Announce it.
6022
036cd381
RR
60232014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6024
6025 * aarch64-linux-nat.c (asm/ptrace.h): Include.
6026
c77c1e42
RR
60272014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6028
6029 * MAINTAINERS (Write After Approval): Move self back from
6030 paper trail.
6031
45741a9c
PA
60322014-05-22 Pedro Alves <palves@redhat.com>
6033
6034 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
6035 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
6036 (disable_randomization, enum exec_direction_kind)
6037 (execution_direction, stop_registers, start_remote)
6038 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
6039 (wait_for_inferior, normal_stop, get_last_target_status)
6040 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
6041 (insert_step_resume_breakpoint_at_sal)
6042 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
6043 (set_step_info, print_stop_event, signal_stop_state)
6044 (signal_print_state, signal_pass_state, signal_stop_update)
6045 (signal_print_update, signal_pass_update)
6046 (update_signals_program_target, clear_exit_convenience_vars)
6047 (displaced_step_dump_bytes, update_observer_mode)
6048 (signal_catch_update, gdb_signal_from_command): Move
6049 declarations ...
6050 * infrun.h: ... to this new file.
6051 * amd64-tdep.c: Include infrun.h.
6052 * annotate.c: Include infrun.h.
6053 * arch-utils.c: Include infrun.h.
6054 * arm-linux-tdep.c: Include infrun.h.
6055 * arm-tdep.c: Include infrun.h.
6056 * break-catch-sig.c: Include infrun.h.
6057 * breakpoint.c: Include infrun.h.
6058 * common/agent.c: Include infrun.h instead of inferior.h.
6059 * corelow.c: Include infrun.h.
6060 * event-top.c: Include infrun.h.
6061 * go32-nat.c: Include infrun.h.
6062 * i386-tdep.c: Include infrun.h.
6063 * inf-loop.c: Include infrun.h.
6064 * infcall.c: Include infrun.h.
6065 * infcmd.c: Include infrun.h.
6066 * infrun.c: Include infrun.h.
6067 * linux-fork.c: Include infrun.h.
6068 * linux-nat.c: Include infrun.h.
6069 * linux-thread-db.c: Include infrun.h.
6070 * monitor.c: Include infrun.h.
6071 * nto-tdep.c: Include infrun.h.
6072 * procfs.c: Include infrun.h.
6073 * record-btrace.c: Include infrun.h.
6074 * record-full.c: Include infrun.h.
6075 * remote-m32r-sdi.c: Include infrun.h.
6076 * remote-mips.c: Include infrun.h.
6077 * remote-notif.c: Include infrun.h.
6078 * remote-sim.c: Include infrun.h.
6079 * remote.c: Include infrun.h.
6080 * reverse.c: Include infrun.h.
6081 * rs6000-tdep.c: Include infrun.h.
6082 * s390-linux-tdep.c: Include infrun.h.
6083 * solib-irix.c: Include infrun.h.
6084 * solib-osf.c: Include infrun.h.
6085 * solib-svr4.c: Include infrun.h.
6086 * target.c: Include infrun.h.
6087 * top.c: Include infrun.h.
6088 * windows-nat.c: Include infrun.h.
6089 * mi/mi-interp.c: Include infrun.h.
6090 * mi/mi-main.c: Include infrun.h.
6091 * python/py-threadevent.c: Include infrun.h.
6092
98eb56a4
PA
60932014-05-22 Pedro Alves <palves@redhat.com>
6094
6095 * infrun.c (handle_inferior_event): Store the exit code for
6096 --return-child-result here, instead of ...
6097 (print_exited_reason): ... here.
6098
17b2616c
PA
60992014-05-21 Pedro Alves <palves@redhat.com>
6100
6101 PR gdb/13860
6102 * gdbthread.h (struct thread_control_state): New field
6103 `command_interp'.
6104 * infrun.c (follow_fork): Copy the new thread control field to the
6105 child fork thread.
6106 (clear_proceed_status_thread): Clear the new thread control field.
6107 (proceed): Set the new thread control field.
6108 * interps.h (command_interp): Declare.
6109 * interps.c (command_interpreter): New global.
6110 (command_interp): New function.
6111 (interp_exec): Set `command_interpreter' while here.
6112 * cli-out.c (cli_uiout_dtor): New function.
6113 (cli_ui_out_impl): Install it.
6114 * mi/mi-interp.c: Include cli-out.h.
6115 (mi_cmd_interpreter_exec): Add comment.
6116 (restore_current_uiout_cleanup): New function.
6117 (ui_out_free_cleanup): New function.
6118 (mi_on_normal_stop): If finishing an execution command started by
6119 a CLI command, or any kind of breakpoint-like event triggered,
6120 print the stop event to the output (CLI) stream.
6121 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
6122
5166082f
PA
61232014-05-21 Pedro Alves <palves@redhat.com>
6124
6125 * cli/cli-cmds.c (list_command): Handle the first "list" after the
6126 current source line having changed.
6127 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
6128 * infrun.c (normal_stop): Adjust call to
6129 set_current_sal_from_frame.
6130 * source.c (clear_lines_listed_range): New function.
6131 (set_current_source_symtab_and_line, identify_source_line): Clear
6132 the lines listed range.
6133 (line_info): Handle the first "info line" after the current source
6134 line having changed.
6135 * stack.c (print_stack_frame): Remove center handling.
6136 (set_current_sal_from_frame): Remove 'center' parameter. Don't
6137 center sal.line.
6138
c1ee2fb3
PA
61392014-05-21 Pedro Alves <palves@redhat.com>
6140
6141 * inf-child.c (inf_child_mourn_inferior): New function.
6142 * inf-child.h (inf_child_mourn_inferior): New declaration.
6143 * darwin-nat.c (darwin_mourn_inferior): Use
6144 inf_child_mourn_inferior.
6145 * gnu-nat.c (gnu_mourn_inferior): Likewise.
6146 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
6147 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
6148 * nto-procfs.c (procfs_mourn_inferior): Likewise.
6149 * windows-nat.c (windows_mourn_inferior): Likewise.
6150
5c6d4fb2
DE
61512014-05-21 Doug Evans <xdje42@gmail.com>
6152
250748cb 6153 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 6154
4a2722c5
DE
61552014-05-21 Doug Evans <xdje42@gmail.com>
6156
17292b30 6157 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
6158 (gdbscm_out_of_range_error): Ditto.
6159 (gdbscm_memory_error): Ditto.
250748cb
DE
6160 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
6161 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
6162 (gdbscm_out_of_range_error): Update.
6163 (gdbscm_memory_error): Update.
6164 (gdbscm_scm_to_target_string_unsafe): Delete.
6165
6a3cb8e8
PA
61662014-05-21 Pedro Alves <palves@redhat.com>
6167
6168 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
6169 globals.
6170 (inf_child_open_target): New function.
6171 (inf_child_open): Use inf_child_open_target to push the target
6172 instead of erroring out.
6173 (inf_child_disconnect, inf_child_close)
6174 (inf_child_maybe_unpush_target): New functions.
6175 (inf_child_target): Install inf_child_disconnect and
6176 inf_child_close. Store a pointer to the returned object.
6177 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
6178 declarations.
6179 * target.c (auto_connect_native_target): New global.
6180 (show_default_run_target): New function.
6181 (find_default_run_target): Return NULL if automatically connecting
6182 to the native target is disabled.
6183 (_initialize_target): Install set/show auto-connect-native-target.
6184 * NEWS: Mention "set auto-connect-native-target", and "target
6185 native".
6186 * linux-nat.c (super_close): New global.
6187 (linux_nat_close): Call super_close.
6188 (linux_nat_add_target): Store a pointer to the base class's
6189 to_close method.
6190 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
6191 inf_child_maybe_unpush.
6192 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
6193 already pushed.
6194 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
6195 the inferior. Use inf_child_maybe_unpush_target.
6196 (inf_ttrace_attach): Don't push the target if it is already
6197 pushed.
6198 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
6199 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
6200 after mourning the inferior. Use inf_child_maybe_unpush_target.
6201 (darwin_attach_pid): Don't push the target if it is already
6202 pushed.
6203 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
6204 mourning the inferior. Use inf_child_maybe_unpush_target.
6205 (gnu_detach): Use inf_child_maybe_unpush_target.
6206 * go32-nat.c (go32_create_inferior): Don't push the target if it
6207 is already pushed.
6208 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
6209 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
6210 (procfs_open): Rename to ...
6211 (procfs_open_1): ... this. Add target_ops parameter. Adjust
6212 comments. Can target_preopen before changing node. Call
6213 inf_child_open_target to push the target explicitly.
6214 (procfs_attach): Don't push the target if it is already pushed.
6215 (procfs_detach): Use inf_child_maybe_unpush_target.
6216 (procfs_create_inferior): Don't push the target if it is already
6217 pushed.
6218 (nto_native_ops): New global.
6219 (procfs_open): Reimplement.
6220 (procfs_native_open): New function.
6221 (init_procfs_targets): Install procfs_native_open as to_open of
6222 "target native". Store a pointer to the "native" target in
6223 nto_native_ops.
6224 * procfs.c (procfs_attach): Don't push the target if it is already
6225 pushed.
6226 (procfs_detach): Use inf_child_maybe_unpush_target.
6227 (procfs_mourn_inferior): Only unpush the target after mourning the
6228 inferior. Use inf_child_maybe_unpush_target.
6229 (procfs_init_inferior): Don't push the target if it is already
6230 pushed.
6231 * windows-nat.c (do_initial_windows_stuff): Don't push the target
6232 if it is already pushed.
6233
930ee1b1
PA
62342014-05-21 Pedro Alves <palves@redhat.com>
6235
6236 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
6237 and "procfs" targets are now called "native" instead.
6238
1f5d1b13
PA
62392014-05-21 Pedro Alves <palves@redhat.com>
6240
6241 * go32-nat.c (go32_open): Delete.
6242 (go32_target): Don't override the to_open method.
6243
132f8e03
PA
62442014-05-21 Pedro Alves <palves@redhat.com>
6245
6246 * nto-procfs.c (procfs_can_run): New function.
6247 (nto_procfs_ops): New global.
6248 (init_procfs_targets): New, based on procfs_target. Install
6249 "target native" in addition to "target procfs".
6250 (_initialize_procfs): Call init_procfs_targets instead of adding
6251 the target here.
6252
03c136c3
PA
62532014-05-21 Pedro Alves <palves@redhat.com>
6254
6255 * windows-nat.c (windows_target): Don't override to_shortname,
6256 to_longname or to_doc.
6257
a635d0f3
PA
62582014-05-21 Pedro Alves <palves@redhat.com>
6259
6260 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
6261 to_doc.
6262
4f9b5133
PA
62632014-05-21 Pedro Alves <palves@redhat.com>
6264
6265 * darwin-nat.c (_initialize_darwin_inferior): Don't override
6266 to_shortname, to_longname or to_doc.
6267
bc85afde
PA
62682014-05-21 Pedro Alves <palves@redhat.com>
6269
6270 * go32-nat.c (go32_target): Don't override to_shortname,
6271 to_longname or to_doc.
6272
4ebfc96e
PA
62732014-05-21 Pedro Alves <palves@redhat.com>
6274
6275 * inf-child.c (inf_child_open): Remove mention of "child".
6276 (inf_child_target): Rename target to "native" instead of "child".
6277
2648dfed
AA
62782014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6279
6280 * Makefile.in (SFILES): Delete "regset.c".
6281 (COMMON_OBS): Delete "regset.o".
6282 * regset.c: Remove.
6283 * regset.h (regset_alloc): Delete prototype.
6284
b13feb94
AA
62852014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6286
6287 * sparc-linux-tdep.c (sparc32_linux_gregset)
6288 (sparc32_linux_fpregset): New static regset structures.
6289 (sparc32_linux_init_abi): Drop dynamic regset allocations.
6290 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
6291 'fpregset' fields.
6292 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
6293 (sparc64_linux_fpregset): New static regset structures.
6294 (sparc64_linux_init_abi): Drop dynamic regset allocations.
6295 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
6296 New static regset structures.
6297 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
6298 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
6299 New static regset structures.
6300 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
6301 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
6302 New static regset structures.
6303 (sparc64obsd_init_abi): Drop dynamic regset allocations.
6304 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
6305 New static regset structures.
6306 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
6307
b4fd25c9
AA
63082014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6309
6310 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
6311 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
6312 register maps ("regmaps") from "*regset" to "*regmap". Do this
6313 for all regmap types and variables.
6314 * sparc-linux-tdep.c (sparc32_linux_step_trap)
6315 (sparc32_linux_supply_core_gregset)
6316 (sparc32_linux_collect_core_gregset)
6317 (sparc32_linux_supply_core_fpregset)
6318 (sparc32_linux_collect_core_fpregset): Likewise.
6319 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
6320 (sparc_gregmap, sparc_fpregmap): ... these.
6321 (sparc_supply_gregset, sparc_collect_gregset)
6322 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6323 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
6324 (_initialize_sparc_nat): Rename regmaps.
6325 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
6326 (sparc_gregmap, sparc_fpregmap): ... these.
6327 (sparc_supply_gregset, sparc_collect_gregset)
6328 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6329 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
6330 Rename macros to...
6331 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
6332 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
6333 Likewise.
6334 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
6335 Rename to...
6336 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
6337 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
6338 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
6339 regmaps.
6340 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6341 (sparc32_bsd_fpregset): Rename to...
6342 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6343 (sparc32_bsd_fpregmap): ... these.
6344 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
6345 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6346 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
6347 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
6348 (struct sparc_gregmap, struct sparc_fpregmap)
6349 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6350 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
6351 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
6352 (sparc32_supply_regset, sparc32_collect_gregset)
6353 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
6354 prototypes.
6355 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
6356 (sparc64_linux_ptrace_gregmap): ... this.
6357 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
6358 (_initialize_sparc64_linux_nat): Rename regmaps.
6359 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
6360 (sparc64_linux_core_gregmap): ... this.
6361 (sparc64_linux_supply_core_gregset)
6362 (sparc64_linux_collect_core_gregset)
6363 (sparc64_linux_supply_core_fpregset)
6364 (sparc64_linux_collect_core_fpregset): Rename regmaps.
6365 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
6366 (sparc64_sol2_fpregset): Rename to...
6367 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
6368 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
6369 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
6370 regmaps.
6371 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
6372 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
6373 (sparc64_bsd_fpregset): Rename to...
6374 (struct sparc_gregmap, sparc64_sol2_gregmap)
6375 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
6376 (sparc64_bsd_fpregmap): ... these.
6377 (sparc64_supply_gregset, sparc64_collect_gregset)
6378 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
6379 prototypes.
6380 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
6381 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
6382 (sparc64fbsd_gregmap): ... this.
6383 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
6384 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
6385 Rename regmaps.
6386 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
6387 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
6388 (sparc64nbsd_collect_fpregset): Likewise.
6389 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
6390 (sparc64nbsd_gregmap): ... this.
6391 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
6392 regmaps.
6393 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
6394 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
6395 (sparc64obsd_gregmap): ... this.
6396 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
6397 regmaps.
6398 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
6399 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
6400 (sparc32nbsd_gregmap): ... this.
6401 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
6402 regmaps.
6403
8fea3224
AA
64042014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6405
6406 * score-tdep.c (score7_linux_gregset): New static regset
6407 structure.
6408 (score7_linux_regset_from_core_section): Remove dynamic regset
6409 allocation.
6410 (score_gdbarch_init): Drop allocation of tdep structure.
6411 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
6412
24534243
AA
64132014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6414
6415 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
6416 regset structures.
6417 (am33_regset_from_core_section): Remove dynamic regset
6418 allocations.
6419
b7195f27
AA
64202014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6421
6422 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
6423 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
6424 structures.
6425 (mips_linux_regset_from_core_section): Remove dynamic regset
6426 allocations.
6427 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6428 'gregset64', 'fpregset', and 'fpregset64'.
6429 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
6430 deleted tdep fields.
6431
ecc37a5a
AA
64322014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6433
6434 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
6435 regset structures.
6436 (amd64_regset_from_core_section): Remove dynamic regset
6437 allocations.
6438 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
6439 structure.
6440 (amd64obsd_regset_from_core_section): Remove dynamic regset
6441 allocation.
6442 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
6443 Likewise.
6444 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
6445 x86-common regset supply function.
6446 * i386-tdep.c (i386_collect_gregset): Make static.
6447 (i386_gregset): New global regset structure.
6448 (i386_fpregset, i386_xstateregset): New static regset structures.
6449 (i386_regset_from_core_section): Remove dynamic regset
6450 allocations.
6451 (i386_gdbarch_init): Remove initialization of tdep fields
6452 'gregset', 'fpregset', and 'xstateregset'.
6453 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6454 'fpregset', and 'xstateregset'.
6455 (i386_collect_gregset): Remove prototype.
6456 (i386_gregset): New declaration.
6457 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
6458 structure.
6459 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
6460 allocation.
6461
b7611c43
AA
64622014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6463
6464 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
6465 (arm_linux_vfpregset): New static regset structures.
6466 (arm_linux_regset_from_core_section): Remove dynamic allocation of
6467 regset structures.
6468 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
6469 and 'vfpregset' fields.
6470
a069a2bd
AA
64712014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6472
6473 * aarch64-linux-tdep.c (aarch64_linux_gregset)
6474 (aarch64_linux_fpregset): New static regset structures.
6475 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
6476 of regset structures.
6477 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
6478 'fpregset' fields.
6479
09424cff
AA
64802014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6481
6482 * regset.h (struct regset): Remove gdbarch field.
6483 * regset.c (regset_alloc): Drop initialization of gdbarch field.
6484 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
6485 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
6486 Likewise.
6487 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
6488 (ppc32_linux_fpregset, ppc32_linux_vrregset)
6489 (ppc32_linux_vsxregset): Likewise.
6490 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
6491 via the regcache instead of the regset.
6492 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
6493 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
6494 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
6495 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
6496 Likewise.
6497
3ca7dae4
AA
64982014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6499
6500 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
6501 Constify structures.
6502 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
6503 (alphanbsd_aout_gregset): Likewise.
6504 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
6505 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
6506 Likewise.
6507 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
6508 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
6509 Likewise.
6510 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
6511 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
6512 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
6513 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
6514 * m88k-tdep.c (m88k_gregset): Likewise.
6515 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
6516 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
6517 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
6518 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
6519 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
6520 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
6521 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
6522 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
6523 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
6524 Likewise.
6525 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
6526 * sh-tdep.h (sh_corefile_gregset): Likewise.
6527 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
6528 * vax-tdep.c (vax_gregset): Likewise.
6529
5876f503
JK
65302014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6531
6532 Fix TLS access for -static -pthread.
6533 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
6534 (try_thread_db_load_1): Initialize it.
6535 (thread_db_get_thread_local_address): Call it if LM is zero.
6536 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
6537 * target.h (struct target_ops) (to_get_thread_local_address): Add
6538 load_module_addr comment.
6539
0256a6ac
PA
65402014-05-21 Pedro Alves <palves@redhat.com>
6541
6542 * dcache.c (dcache_read_memory_partial): If reading the cache line
6543 fails, fallback to reading just the memory the caller wanted.
6544
227533ac
DE
65452014-05-20 Doug Evans <dje@google.com>
6546
6547 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
6548 instead of get_current_arch.
6549
936d2992
PA
65502014-05-20 Pedro Alves <palves@redhat.com>
6551
6552 * NEWS: Mention that compare-sections now works with all targets.
6553
6554 * remote.c (PACKET_qCRC): New enum value.
6555 (remote_verify_memory): Don't send qCRC if the target has no
6556 execution. Use packet_support/packet_ok. If the target doesn't
6557 support the qCRC packet, fallback to a deep memory copy.
6558 (compare_sections_command): Say "target image" instead of "remote
6559 executable".
6560 (_initialize_remote): Add PACKET_qCRC to the list of config
6561 packets that have no associated command. Extend comment.
6562 * target.c (simple_verify_memory, default_verify_memory): New
6563 function.
6564 * target.h (struct target_ops) <to_verify_memory>: Default to
6565 default_verify_memory.
6566 (simple_verify_memory): New declaration.
6567 * target-delegates.c: Regenerate.
6568
e59fa00f
MM
65692014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6570
6571 * record-btrace.c (record_btrace_step_thread): Check for empty history.
6572
f2205de0
HZ
65732014-05-20 Hui Zhu <hui@codesourcery.com>
6574 Yao Qi <yao@codesourcery.com>
6575
6576 PR backtrace/16558
6577 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
6578 and change address of sp and pc.
6579
c4e54771
TT
65802014-05-19 Tom Tromey <tromey@redhat.com>
6581
6582 * gdbtypes.c (rank_function): Use XNEWVEC.
6583 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
6584
73051182
DE
65852014-05-19 Doug Evans <dje@google.com>
6586
6587 * dwarf2read.c (build_type_psymtabs_1): Renamed from
6588 build_type_unit_groups and moved closer to only caller. Remove
6589 arguments. All references updated. Remove outdated .gdb_index
6590 comment.
6591 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
6592 build_type_psymtabs_1.
6593
8832e7e3
DE
65942014-05-19 Doug Evans <dje@google.com>
6595
6596 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
6597 n_type_unit_groups, all_type_unit_groups. All uses removed.
6598 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
6599 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
6600 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
6601 (add_type_unit_group_to_table): Delete.
6602
cd8ae15e
DE
66032014-05-19 Doug Evans <dje@google.com>
6604
6605 * eval.c (evaluate_subexp_standard): Add some comments.
6606
08f4850b
DE
66072014-05-17 Doug Evans <xdje42@gmail.com>
6608
6609 * progspace.c (remove_program_space): Delete, unused.
6610 * progspace.h (remove_program_space): Ditto.
6611
bed8455c
DE
66122014-05-17 Doug Evans <xdje42@gmail.com>
6613
6614 * inferior.c (prune_inferiors): Fix comment.
6615 (remove_inferior_command): Call prune_program_spaces.
6616
8d551b02
DE
66172014-05-16 Doug Evans <dje@google.com>
6618
6619 New command line option -D.
6620 * NEWS: Mention it.
6621 * main.c (set_gdb_data_directory): New function.
6622 (captured_main): Recognize -D. Flag error for --data-directory "".
6623 Call set_gdb_data_directory.
6624 (print_gdb_help): Print --data-directory, -D.
6625 * main.h (set_gdb_data_directory): Declare.
6626 * top.c (staged_gdb_datadir): New static global.
6627 (set_gdb_datadir): Call set_gdb_data_directory
6628 (show_gdb_datadir): New function.
6629 (init_main): Update init of data-directory parameter.
6630
18848e28
GF
66312014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
6632
6633 Import the "dirfd" gnulib module.
6634 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
6635 * gnulib/aclocal.m4: Update.
6636 * gnulib/config.in: Update.
6637 * gnulib/configure: Update.
6638 * gnulib/import/Makefile.am: Update.
6639 * gnulib/import/Makefile.in: Update.
6640 * gnulib/import/dirfd.c: New.
6641 * gnulib/import/m4/dirfd.m4: New.
6642 * gnulib/import/m4/gnulib-cache.m4: Update.
6643 * gnulib/import/m4/gnulib-comp.m4: Update.
6644
95c64f92
YQ
66452014-05-16 Pierre Muller <muller@sourceware.org>
6646 Yao Qi <yao@codesourcery.com>
6647
6648 * valprint.c (print_wchar): Move the code on checking whether
6649 W is a printable wide char to the default branch of switch
6650 statement below. Call wchar_printable instead of gdb_iswprint.
6651
cac395ea
TM
66522014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
6653
19679eca 6654 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
6655 ldr.w and ldrd instructions.
6656
83655187
DE
66572014-05-15 Doug Evans <dje@google.com>
6658
6659 * dwarf2read.c (read_structure_type): Delete outdated comments.
6660
dd756689
TT
66612014-05-14 Tom Tromey <tromey@redhat.com>
6662
6663 * macrocmd.c (print_macro_definition): Reindent.
6664
75ddda77
DE
66652014-05-13 Doug Evans <xdje42@gmail.com>
6666
6667 * python/py-cmd.c (cmdpy_completer): Add comment.
6668 (completers): Make const.
6669
b0f16a3e
SM
66702014-05-13 Simon Marchi <simon.marchi@ericsson.com>
6671
6672 * infrun.c (resume): Remove should_resume (unused). Move up
6673 declaration of resume_ptid.
6674
033c3379
TT
66752014-05-13 Tom Tromey <tromey@redhat.com>
6676
6677 * language.h (unop_type_check): Remove.
6678 (binop_type_check): Don't declare.
6679
9b44a3a5
AA
66802014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
6681
6682 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
6683 call to regcache_raw_collect.
6684
303a33fa
SM
66852014-05-12 Simon Marchi <simon.marchi@ericsson.com>
6686
6687 * mi/mi-console.c (mi_console_raw_packet): Use the value from
6688 mi_console->quote as the quoting character.
6689
196100a0
SM
66902014-05-12 Simon Marchi <simon.marchi@ericsson.com>
6691
6692 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
6693
f989a1c8
TT
66942014-04-29 Tom Tromey <tromey@redhat.com>
6695
6696 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
6697 "show debug varobj".
6698
9404b58f
KM
66992014-05-07 Kyle McMartin <kyle@redhat.com>
6700
6701 Pushed by Joel Brobecker <brobecker@adacore.com>.
6702 * aarch64-tdep.c (aarch64_software_single_step): New function.
6703 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
6704 with aarch64_software_single_step.
6705
5e49ba57
JB
67062014-05-05 Joel Brobecker <brobecker@adacore.com>
6707
6708 GDB 7.7.1 released.
6709
c888a17d
KS
67102014-05-05 Keith Seitz <keiths@redhat.com>
6711
6712 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
6713 variable or history value is successfully parsed.
6714
290a839c
YQ
67152014-05-05 Yao Qi <yao@codesourcery.com>
6716 Pedro Alves <palves@redhat.com>
6717
6718 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
6719 address of blocks that intersects the requested range. Trim
6720 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
6721 sections.
6722 * ctf.c (ctf_xfer_partial): Likewise.
6723
91256dc2
YQ
67242014-05-05 Yao Qi <yao@codesourcery.com>
6725
6726 * printcmd.c (display_command): Remove the check to
6727 target_has_execution.
6728
07284463
MK
67292014-05-03 Mark Kettenis <kettenis@gnu.org>
6730
6731 * ppcobsd-nat.c: Include "obsd-nat.h".
6732 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
6733 add_target.
6734 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6735
30a1e6cc
SDJ
67362014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6737
6738 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
6739 and 16-bit signed and unsigned arguments. Update comment.
6740 (stap_parse_probe_arguments): Extend code to handle such
6741 arguments. Use warning instead of complaint to notify about
6742 unrecognized bitness.
6743
f33da99a
SDJ
67442014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6745
6746 PR breakpoints/16889
6747 * stap-probe.c (stap_parse_probe_arguments): Simplify
6748 check for non-prefixed probes (i.e., probes whose
6749 arguments do not start with "N@"). Always set the
6750 argument type to a sane value.
6751
95cf3b38
DT
67522014-05-01 David Taylor <dtaylor@emc.com>
6753
6754 * remote.c (compare_sections_command): Add -r option to compare
6755 all loadable read-only sections.
6756
1cfdf534
SC
67572014-04-30 Siva Chandra Reddy <sivachandra@google.com>
6758
6759 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
6760 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
6761 Update all callers.
6762 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
6763 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
6764 Remove unused CORE_ADDR argument. Update all callers.
6765
ca4f7f8b
PA
67662014-04-29 Pedro Alves <palves@redhat.com>
6767
6768 * remote.c (struct packet_config) <detect>: Extend comment.
6769 (add_packet_config_cmd): Don't set the config's detect or support
6770 fields here.
6771 (init_all_packet_configs): Also initialize the config's 'detect'
6772 field.
6773 (reset_all_packet_configs_support): New function.
6774 (remote_open_1): Call reset_all_packet_configs_support instead of
6775 init_all_packet_configs.
6776 (_initialize_remote): Initialize all packet configs. Assert that
6777 all packets have an associated command, except a few known
6778 outliers.
6779
11c1ba78
JB
67802014-04-28 Joel Brobecker <brobecker@adacore.com>
6781
6782 * dwarf2read.c (read_subrange_type): Handle dynamic
6783 DW_AT_lower_bound attributes.
6784
8739bc53
JB
67852014-04-28 Joel Brobecker <brobecker@adacore.com>
6786
6787 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
6788 dynamic bounds before computing its upper bound.
6789 (ada_discrete_type_low_bound): Same as above with the lower bound.
6790
6f8a3220
JB
67912014-04-28 Joel Brobecker <brobecker@adacore.com>
6792
6793 * dwarf2read.c (is_dynamic_type): Return true for dynamic
6794 range types. Adjust the array handling implementation to
6795 take advantage of this change.
6796 (resolve_dynamic_range): New function, mostly extracted from
6797 resolve_dynamic_bounds.
6798 (resolve_dynamic_array): New function, mostly extracted from
6799 resolve_dynamic_bounds.
6800 (resolve_dynamic_bounds): Delete.
6801 (resolve_dynamic_type): Reimplement. Add handling of
6802 TYPE_CODE_RANGE types.
6803
4d072ce4
JB
68042014-04-28 Joel Brobecker <brobecker@adacore.com>
6805
6806 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
6807 handling of parallel ___XA types.
6808
52865325
JB
68092014-04-28 Joel Brobecker <brobecker@adacore.com>
6810
6811 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
6812 unnecessary second call to static_unwrap_type.
6813
433e77fa
HZ
68142014-04-27 Hui Zhu <hui@codesourcery.com>
6815
6816 * stack.c (print_frame_info): Call do_gdb_disassembly with
6817 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
6818
b51a69ee
DE
68192014-04-26 Doug Evans <xdje42@gmail.com>
6820
6821 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
6822
7ae1a6a6
PA
68232014-04-25 Pedro Alves <palves@redhat.com>
6824
6825 PR server/16255
6826 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
6827 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
6828 and newline from built string.
6829 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
6830 (linux_ptrace_attach_fail_reason): ... this.
6831 * linux-nat.c (linux_nat_attach): Adjust to use
6832 linux_ptrace_attach_fail_reason.
6833
4082afcc
PA
68342014-04-25 Pedro Alves <palves@redhat.com>
6835
6836 * remote.c (struct remote_state): Remove multi_process_aware,
6837 non_stop_aware, cond_tracepoints, cond_breakpoints,
6838 breakpoint_commands, fast_tracepoints, static_tracepoints,
6839 install_in_trace, disconnected_tracing,
6840 enable_disable_tracepoints, string_tracing, and
6841 augmented_libraries_svr4_read fields.
6842 (remote_multi_process_p): Move further below in the file.
6843 (struct packet_config): Add comments.
6844 (update_packet_config): Delete function.
6845 (show_packet_config_cmd): Use packet_config_support.
6846 (add_packet_config_cmd): Use NULL as set callback.
6847 (packet_ok): "set remote foo-packet"-style commands no longer
6848 change config->supported -- adjust.
6849 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
6850 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
6851 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
6852 (PACKET_QNonStop, PACKET_multiprocess_feature)
6853 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
6854 (PACKET_DisconnectedTracing_feature)
6855 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
6856 (set_remote_protocol_packet_cmd): Delete function.
6857 (packet_config_support, packet_support): New functions.
6858 (set_remote_protocol_Z_packet_cmd): Don't call
6859 update_packet_config.
6860 (remote_query_attached, remote_pass_signals)
6861 (remote_program_signals, remote_threads_info)
6862 (remote_threads_extra_info, remote_start_remote): Use
6863 packet_support.
6864 (remote_start_remote): Use packet_config_support and
6865 packet_support.
6866 (init_all_packet_configs): Set all packets to unknown support,
6867 instead of calling update_packet_config.
6868 (remote_check_symbols): Use packet_support.
6869 (remote_supported_packet): Unconditionally set the packet config's
6870 support status.
6871 (remote_multi_process_feature, remote_non_stop_feature)
6872 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
6873 (remote_breakpoint_commands_feature)
6874 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
6875 (remote_install_in_trace_feature)
6876 (remote_disconnected_tracing_feature)
6877 (remote_enable_disable_tracepoint_feature)
6878 (remote_string_tracing_feature)
6879 (remote_augmented_libraries_svr4_read_feature): Delete functions.
6880 (remote_protocol_features): Adjust to use remote_supported_packet
6881 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
6882 "ConditionalTracepoints", "ConditionalBreakpoints",
6883 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
6884 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
6885 "EnableDisableTracepoints", and "tracenz".
6886 (remote_query_supported): Use packet_support.
6887 (remote_open_1): Adjust.
6888 (extended_remote_attach_1): Use packet_support. Switch on the
6889 result of packet_ok instead of checking whether the packet ended
6890 up disabled.
6891 (remote_vcont_resume): Use packet_support.
6892 (remote_resume, remote_stop_ns, fetch_register_using_p)
6893 (remote_prepare_to_store, store_register_using_P)
6894 (check_binary_download, remote_write_bytes): Use packet_support.
6895 (remote_vkill): Use packet_support. Switch on the result of
6896 packet_ok instead of checking whether the packet ended up
6897 disabled.
6898 (extended_remote_supports_disable_randomization): Use
6899 packet_support.
6900 (extended_remote_run): Switch on the result of packet_ok instead
6901 of checking whether the packet ended up disabled.
6902 (remote_insert_breakpoint, remote_remove_breakpoint)
6903 (remote_insert_watchpoint, remote_remove_watchpoint)
6904 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
6905 packet_support.
6906 (remote_search_memory): Use packet_config_support.
6907 (remote_get_thread_local_address, remote_get_tib_address)
6908 (remote_hostio_send_command, remote_can_execute_reverse): Use
6909 packet_support.
6910 (remote_supports_cond_tracepoints)
6911 (remote_supports_cond_breakpoints)
6912 (remote_supports_fast_tracepoints)
6913 (remote_supports_static_tracepoints)
6914 (remote_supports_install_in_trace)
6915 (remote_supports_enable_disable_tracepoint)
6916 (remote_supports_string_tracing)
6917 (remote_can_run_breakpoint_commands): Rewrite, checking whether
6918 the packet config says the feature is enabled or disabled.
6919 (remote_download_tracepoint, remote_trace_set_readonly_regions)
6920 (remote_get_trace_status): Use packet_support.
6921 (remote_set_disconnected_tracing): Adjust to check whether the
6922 feature is enabled with packet_support.
6923 (remote_set_trace_buffer_size, remote_use_agent)
6924 (remote_can_use_agent, remote_supports_btrace): Use
6925 packet_support.
6926 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
6927 Use packet_config_support.
6928 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
6929 the packet config says the feature is enabled or disabled.
6930 (set_range_stepping): Use packet_support.
6931
bdb52a22
TT
69322014-04-25 Tom Tromey <tromey@redhat.com>
6933
6934 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
6935 argument.
6936
e9475ead
SA
69372014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
6938
6939 * NEWS: Mention support for C99 variable length arrays.
6940
82eacd52
JB
69412014-04-24 Joel Brobecker <brobecker@adacore.com>
6942
6943 * ada-lang.c (standard_exc): Expand introductory comment.
6944
01f9f808
MS
69452014-04-24 Michael Sturm <michael.sturm@mintel.com>
6946 Walfred Tedeschi <walfred.tedeschi@intel.com>
6947
6948 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
6949 AVX512 registers.
6950 (amd64_linux_read_description): Add code to handle AVX512 xstate
6951 mask and return respective tdesc.
6952 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
6953 and features/i386/x32-avx512-linux.c.
6954 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
6955 (amd64_linux_core_read_description): Add code to handle AVX512
6956 xstate mask and return respective tdesc.
6957 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
6958 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
6959 calculation.
6960 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
6961 (tdesc_amd64_avx512_linux): New prototype.
6962 (tdesc_x32_avx512_linux): Likewise.
6963 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
6964 features/i386/x32-avx512.c.
6965 (amd64_ymm_avx512_names): New register names for pseudo
6966 registers YMM16-31.
6967 (amd64_ymmh_avx512_names): New register names for raw registers
6968 YMMH16-31.
6969 (amd64_k_names): New register names for K registers.
6970 (amd64_zmmh_names): New register names for ZMM raw registers.
6971 (amd64_zmm_names): New registers names for ZMM pseudo registers.
6972 (amd64_xmm_avx512_names): New register names for XMM16-31
6973 registers.
6974 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
6975 registers.
6976 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
6977 if feature is present.
6978 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
6979 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
6980 (AMD64_NUM_REGS): Adjust to new number of registers.
6981 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
6982 registers supplied via XSTATE by AVX512 registers.
6983 (i386_linux_read_description): Add case for AVX512.
6984 * i386-linux-tdep.c: Include i386-avx512-linux.c.
6985 (i386_linux_gregset_reg_offset): Add AVX512 registers.
6986 (i386_linux_core_read_description): Add case for AVX512.
6987 (i386_linux_init_abi): Install supported register note section
6988 for AVX512.
6989 (_initialize_i386_linux_tdep): Add call to tdesc init function for
6990 AVX512.
6991 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
6992 registers to be number of zmm7h + 1.
6993 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
6994 * i386-tdep.c: Include features/i386/i386-avx512.c.
6995 (i386_zmm_names): Add ZMM pseudo register names array.
6996 (i386_zmmh_names): Add ZMM raw register names array.
6997 (i386_k_names): Add K raw register names array.
6998 (num_lower_zmm_regs): Add constant for the number of lower ZMM
6999 registers. AVX512 has 16 more ZMM registers than there are YMM
7000 registers.
7001 (i386_zmmh_regnum_p): Add function to look up register number of
7002 ZMM raw registers.
7003 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
7004 (i386_k_regnum_p): Likewise for K raw registers.
7005 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
7006 registers added by AVX512.
7007 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
7008 registers added by AVX512.
7009 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
7010 added by AVX512.
7011 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
7012 (i386_pseudo_register_name): Add ZMM pseudo registers.
7013 (i386_zmm_type): Construct and return vector registers type for ZMM
7014 registers.
7015 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
7016 ZMM0-31 pseudo registers and K registers.
7017 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
7018 and YMM16-31 registers from register cache.
7019 (i386_pseudo_register_write): Add code to write K, ZMM and
7020 YMM16-31 registers.
7021 (i386_register_reggroup_p): Add code to include/exclude AVX512
7022 registers in/from respective register groups.
7023 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
7024 registers if feature is present in xcr0.
7025 (i386_gdbarch_init): Add code to initialize AVX512 feature
7026 variables in tdep structure, wire in pseudo registers and call
7027 initialize_tdesc_i386_avx512.
7028 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
7029 variables.
7030 (i386_regnum): Add AVX512 registers.
7031 (I386_SSE_NUM_REGS): New define for number of SSE registers.
7032 (I386_AVX_NUM_REGS): Likewise for AVX registers.
7033 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
7034 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
7035 512 bits wide.
7036 (i386_xmm_avx512_regnum_p): New prototype for register look up.
7037 (i386_ymm_avx512_regnum_p): Likewise.
7038 (i386_k_regnum_p): Likewise.
7039 (i386_zmm_regnum_p): Likewise.
7040 (i386_zmmh_regnum_p): Likewise.
7041 * i387-tdep.c : Update year in copyright notice.
7042 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
7043 XSAVE buffer.
7044 (XSAVE_YMM_AVX512_ADDR): New macro.
7045 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
7046 XSAVE buffer.
7047 (XSAVE_XMM_AVX512_ADDR): New macro.
7048 (xsave_avx512_k_offset): New table for K register offsets in
7049 XSAVE buffer.
7050 (XSAVE_AVX512_K_ADDR): New macro.
7051 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
7052 in XSAVE buffer.
7053 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
7054 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
7055 buffer.
7056 (i387_collect_xsave): Add code to collect AVX512 registers from
7057 XSAVE buffer.
7058 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
7059 of XMM16-31 registers.
7060 (I387_NUM_K_REGS): New define for number of K registers.
7061 (I387_K0_REGNUM): New define for K0 register number.
7062 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
7063 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
7064 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
7065 registers.
7066 (I387_YMM16H_REGNUM): New define for YMM16H register number.
7067 (I387_XMM16_REGNUM): New define for XMM16 register number.
7068 (I387_YMM0_REGNUM): New define for YMM0 register number.
7069 (I387_KEND_REGNUM): New define for last K register number.
7070 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
7071 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
7072 number.
7073 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
7074 number.
7075 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
7076 size.
7077 * features/Makefile: Add AVX512 related files.
7078 * features/i386/32bit-avx512.xml: New file.
7079 * features/i386/64bit-avx512.xml: Likewise.
7080 * features/i386/amd64-avx512-linux.c: Likewise.
7081 * features/i386/amd64-avx512-linux.xml: Likewise.
7082 * features/i386/amd64-avx512.c: Likewise.
7083 * features/i386/amd64-avx512.xml: Likewise.
7084 * features/i386/i386-avx512-linux.c: Likewise.
7085 * features/i386/i386-avx512-linux.xml: Likewise.
7086 * features/i386/i386-avx512.c: Likewise.
7087 * features/i386/i386-avx512.xml: Likewise.
7088 * features/i386/x32-avx512-linux.c: Likewise.
7089 * features/i386/x32-avx512-linux.xml: Likewise.
7090 * features/i386/x32-avx512.c: Likewise.
7091 * features/i386/x32-avx512.xml: Likewise.
7092 * regformats/i386/amd64-avx512-linux.dat: New file.
7093 * regformats/i386/amd64-avx512.dat: Likewise.
7094 * regformats/i386/i386-avx512-linux.dat: Likewise.
7095 * regformats/i386/i386-avx512.dat: Likewise.
7096 * regformats/i386/x32-avx512-linux.dat: Likewise.
7097 * regformats/i386/x32-avx512.dat: Likewise.
7098 * NEWS: Add note about new support for AVX512.
7099
7100
08351840
PA
71012014-04-23 Pedro Alves <palves@redhat.com>
7102
7103 * breakpoint.c (insert_bp_location): Tolerate errors if the
7104 breakpoint is set in a user-loaded objfile.
7105 (remove_breakpoint_1): Likewise. Also tolerate errors if the
7106 location is marked shlib_disabled. If the breakpoint is set in a
7107 user-loaded objfile is a GDB-side memory breakpoint, validate it
7108 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
7109 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
7110 flag.
7111 * mem-break.c (memory_validate_breakpoint): New function.
7112 * objfiles.c (userloaded_objfile_contains_address_p): New
7113 function.
7114 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
7115 * target.h (memory_validate_breakpoint): New declaration.
7116
076855f9
PA
71172014-04-23 Pedro Alves <palves@redhat.com>
7118
7119 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
7120 the breakpoint is set in a shared library, only suppress
7121 errors for software breakpoints, not hardware breakpoints.
7122
483805cf
PA
71232014-04-22 Pedro Alves <palves@redhat.com>
7124
7125 * infrun.c (schedlock_applies): New function, factored out from
7126 find_thread_needs_step_over.
7127 (find_thread_needs_step_over): Use it.
7128 (switch_back_to_stepped_thread): Always clear trap_expected if the
7129 step over is finished. Return early if scheduler locking applies.
7130 Look for the stepping thread and a potential step-over thread with
7131 a single loop.
7132 (currently_stepping_or_nexting_callback): Delete.
7133
a75fef0e
NC
71342014-04-22 Nick Clifton <nickc@redhat.com>
7135
7136 * NEWS: Mention that ARM sim now supports tracing.
7137
48b6e87e
YQ
71382014-04-22 Yao Qi <yao@codesourcery.com>
7139
7140 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
7141 to ...
7142 * tracefile.c (tracefile_fetch_registers): ... it. New
7143 function.
7144 * tracefile.h (tracefile_fetch_registers): Declare.
7145 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
7146 tracefile_fetch_registers.
7147
17617f2d
EZ
71482014-04-19 Eli Zaretskii <eliz@gnu.org>
7149
7150 PR gdb/14018
7151 * windows-nat.c (thread_rec): Don't display a warning when
7152 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
7153 fails for any reason, set th->suspended to -1, so that we don't
7154 try to resume such a thread. Also, don't return NULL in these
7155 cases, to avoid completely ruin the session due to "PC register is
7156 not available" error.
7157 (do_windows_fetch_inferior_registers): Check errors in
7158 GetThreadContext call.
7159 (windows_continue): Accept an additional argument KILLED; if not
7160 zero, ignore errors in the SetThreadContext call, since the
7161 inferior was killed and is shutting down.
7162 (windows_resume, get_windows_debug_event)
7163 (windows_create_inferior, windows_mourn_inferior)
7164 (windows_kill_inferior): All callers of windows_continue changed
7165 to adjust to its new calling sequence.
7166
5723a6fd
YQ
71672014-04-19 Yao Qi <yao@codesourcery.com>
7168
7169 * ctf.c (ctf_open): Call post_create_inferior.
7170
614d5099
YQ
71712014-04-19 Yao Qi <yao@codesourcery.com>
7172
7173 * ctf.c (handle_id): New static variable.
7174 (ctf_open_dir): Get handle_id from bt_context_add_trace return
7175 value. Get the declaration of event "register" and get length
7176 of field "contents".
7177
dac3e710
YQ
71782014-04-19 Yao Qi <yao@codesourcery.com>
7179
7180 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
7181
2bca57ba
SC
71822014-04-18 Siva Chandra Reddy <sivachandra@google.com>
7183
7184 * valops.c (oload_method_static): Remove unnecessary argument
7185 METHOD. Update all callers.
7186
51d48146
PA
71872014-04-18 Pedro alves <palves@redhat.com>
7188 Tom Tromey <tromey@redhat.com>
7189
7190 PR backtrace/15558
7191 * frame.c (get_prev_frame_1): Rename to ...
7192 (get_prev_frame_always): ... this, and make extern. Adjust.
7193 (skip_artificial_frames): Use get_prev_frame_always.
7194 (frame_unwind_caller_id, frame_pop, get_prev_frame)
7195 (get_frame_unwind_stop_reason): Adjust to rename.
7196 * frame.h (get_prev_frame_always): Declare.
7197 * inline-frame.c: Include frame.h.
7198 (inline_frame_this_id): Use get_prev_frame_always.
7199
1bdad2e0
TG
72002014-04-18 Tristan Gingold <gingold@adacore.com>
7201
7202 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
7203 code by using bfd_mach_o_get_base_address.
7204
7ce16bd4
UW
72052014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7206
7207 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
7208 (spu_ax_pseudo_register_collect): New function.
7209 (spu_ax_pseudo_register_push_stack): Likewise.
7210 (spu_dwarf_reg_to_regnum): Likewise.
7211 (spu_gdbarch_init): Install them. Append DWARF unwinders.
7212
2ed3c037
UW
72132014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7214
7215 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
7216 Replace FRAME argument with FRAME_ID.
7217 * gdbarch.c, gdbarch.h: Regenerate.
7218 * findvar.c (default_value_from_register): Add GDBARCH argument;
7219 replace FRAME by FRAME_ID. No longer call get_frame_id.
7220 (value_from_register): Update call to gdbarch_value_from_register.
7221 * value.h (default_value_from_register): Update prototype.
7222 * s390-linux-tdep.c (s390_value_from_register): Update interface
7223 and call to default_value_from_register.
7224 * spu-tdep.c (spu_value_from_register): Likewise.
7225
7226 * findvar.c (address_from_register): Remove TYPE argument.
7227 Do not call value_from_register; use gdbarch_value_from_register
7228 with null_frame_id instead.
7229 * value.h (address_from_register): Update prototype.
7230 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
7231 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
7232 address_from_register interface change.
7233
71e50e83
YQ
72342014-04-17 Yao Qi <yao@codesourcery.com>
7235
7236 * gdbtypes.h: Update comments to link to types and macros'
7237 definitions.
7238
7a23c549
SC
72392014-04-16 Siva Chandra Reddy <sivachandra@google.com>
7240
7241 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
7242
22869d73
KS
72432014-04-16 Keith Seitz <keiths@redhat.com>
7244
7245 PR gdb/15827
7246 * dwarf2read.c (skip_one_die): Check that all relative-offset
7247 sibling DIEs fall within range of the current reader's buffer.
7248 (read_partial_die): Likewise.
7249
c4f87ca6
KS
72502014-04-16 Keith Seitz <keiths@redhat.com>
7251
7252 PR c++/16597
7253 * cp-namespace.c (lookup_symbol_file): If the type name of
7254 `this' is NULL, return immediately.
7255
b50c8614
KS
72562014-04-14 Keith Seitz <keiths@redhat.com>
7257
7258 PR c++/16253
7259 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
7260 from symbol_matches_domain in symtab.c. All local callers
7261 of symbol_matches_domain updated.
7262 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
7263 search STRUCT_DOMAIN.
7264 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
7265 independently. standard_lookup will do that automatically.
7266 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
7267 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7268 (cp_lookup_symbol_in_namespace): Likewise.
7269 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
7270 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
7271 may return a STRUCT_DOMAIN match.
7272 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
7273 * cp-support.c: Include language.h.
7274 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
7275 VAR_DOMAIN.
7276 * psymtab.c (match_partial_symbol): Compare the requested
7277 domain with the symbol's domain directly.
7278 (lookup_partial_symbol): Likewise.
7279 * symtab.c (lookup_symbol_in_language): Explain when/why
7280 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7281 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
7282 appropriate languages.
7283 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
7284 and moved to ada-lang.c
7285 (lookup_block_symbol): Explain that this function only returns
7286 symbol matching the requested DOMAIN.
7287 Compare the requested domain with the symbol's domain directly.
7288 (iterate_over_symbols): Compare the requested domain with the
7289 symbol's domain directly.
7290 * symtab.h (symbol_matches_domain): Remove.
7291
3d567982
TT
72922014-04-14 Tom Tromey <tromey@redhat.com>
7293
7294 PR c++/15246:
7295 * c-exp.y (type_aggregate_p): New function.
7296 (qualified_name, classify_inner_name): Use it.
7297 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
7298 and TYPE_TARGET_TYPE of an enum type.
7299 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
7300 an enum type.
7301 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
7302 handle TYPE_DECLARED_CLASS.
7303 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
7304 types.
7305 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
7306 * valops.c (enum_constant_from_type): New function.
7307 (value_aggregate_elt): Use it.
7308 * cp-namespace.c (cp_lookup_nested_symbol): Handle
7309 TYPE_CODE_ENUM.
7310
c848d642
TT
73112014-04-14 Tom Tromey <tromey@redhat.com>
7312
7313 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
7314 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
7315 const.
7316 * value.h (value_aggregate_elt): Update.
7317
0626fc76
TT
73182014-04-14 Tom Tromey <tromey@redhat.com>
7319
7320 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
7321
5ecaaa66
SA
73222014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7323
7324 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7325 (evaluate_subexp_standard): Pass noside argument.
7326 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7327 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7328 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7329 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7330 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7331
1612e0c0
SA
73322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7333
7334 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7335 points to a constant blob.
7336
c451ebe5
SA
73372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7338
7339 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7340 property and store it as the high bound and flag the range accordingly.
7341 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7342 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7343 * gdbtypes.h (enum range_flags): New enum.
7344 (struct range_bounds): Add flags member.
7345
1d42e4c4
SA
73462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7347
7348 * c-typeprint.c (c_type_print_varspec_suffix): Added
7349 check for not yet resolved high bound. If unresolved, print
7350 "variable length" string to the console instead of random
7351 length.
7352
9f1f738a
SA
73532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7354
7355 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
7356 value.
7357 (ada_template_to_fixed_record_type_1): Likewise.
7358 (ada_to_fixed_type_1): Likewise.
7359 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7360 (cp_print_value): Likewise.
7361 * d-valprint.c (dynamic_array_type): Likewise.
7362 * findvar.c (address_of_variable): Likewise.
7363 * jv-valprint.c (java_value_print): Likewise.
7364 * valops.c (value_ind): Likewise.
7365 * value.c (coerce_ref): Likewise.
7366
3c8452d4
SA
73672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7368
7369 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7370 value and retrieve the dynamic type size.
7371
4ad88275
SA
73722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7373
7374 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7375 passed to sizeof is dynamic evaluate the argument to compute the length.
7376
80180f79
SA
73772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7378 Joel Brobecker <brobecker@adacore.com>
7379
7380 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7381 (dwarf2_evaluate_property): New function.
7382 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7383 * dwarf2read.c (attr_to_dynamic_prop): New function.
7384 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7385 attribute.
7386 * gdbtypes.c: Include dwarf2loc.h.
7387 (is_dynamic_type): New function.
7388 (resolve_dynamic_type): New function.
7389 (resolve_dynamic_bounds): New function.
7390 (get_type_length): New function.
7391 (check_typedef): Use get_type_length to compute type length.
7392 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7393 (TYPE_LOW_BOUND_KIND): New macro.
7394 (is_dynamic_type): New function prototype.
7395 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7396 to resolve dynamic properties of the type. Update comment.
7397 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7398
a1556843
RH
73992014-04-14 Richard Henderson <rth@redhat.com>
7400
7401 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
7402
0be03e84
DE
74032014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7404 Doug Evans <xdje42@gmail.com>
7405
7406 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
7407 dereference TYPE_CODE_REF values.
7408
6b662e19
JB
74092014-04-11 Joel Brobecker <brobecker@adacore.com>
7410
7411 Revert the following changes due to regressions:
7412
7413 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7414 (dwarf2_evaluate_property): New function.
7415 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7416 * dwarf2read.c (attr_to_dynamic_prop): New function.
7417 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7418 attribute.
7419 * gdbtypes.c: Include dwarf2loc.h.
7420 (is_dynamic_type): New function.
7421 (resolve_dynamic_type): New function.
7422 (resolve_dynamic_bounds): New function.
7423 (get_type_length): New function.
7424 (check_typedef): Use get_type_length to compute type length.
7425 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7426 (TYPE_LOW_BOUND_KIND): New macro.
7427 (is_dynamic_type): New function prototype.
7428 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7429 to resolve dynamic properties of the type. Update comment.
7430 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7431
7432 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7433 passed to sizeof is dynamic evaluate the argument to compute the length.
7434
7435 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7436 value and retrieve the dynamic type size.
7437
7438 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7439 (ada_template_to_fixed_record_type_1): Likewise.
7440 (ada_to_fixed_type_1): Likewise.
7441 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7442 (cp_print_value): Likewise.
7443 * d-valprint.c (dynamic_array_type): Likewise.
7444 * eval.c (evaluate_subexp_with_coercion): Likewise.
7445 * findvar.c (address_of_variable): Likewise.
7446 * jv-valprint.c (java_value_print): Likewise.
7447 * valops.c (value_ind): Likewise.
7448 * value.c (coerce_ref): Likewise.
7449
7450 * c-typeprint.c (c_type_print_varspec_suffix): Added
7451 check for not yet resolved high bound. If unresolved, print
7452 "variable length" string to the console instead of random
7453 length.
7454
7455 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7456 property and store it as the high bound and flag the range accordingly.
7457 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7458 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7459 * gdbtypes.h (enum range_flags): New enum.
7460 (struct range_bounds): Add flags member.
7461
7462 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7463 points to a constant blob.
7464
7465 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7466 (evaluate_subexp_standard): Pass noside argument.
7467 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7468 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7469 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7470 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7471 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7472
245a5f0b
KS
74732014-04-11 Keith Seitz <keiths@redhat.com>
7474
7475 PR c++/16675
7476 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
7477 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
7478 reference types.
7479
3bce8237
SA
74802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7481
7482 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7483 (evaluate_subexp_standard): Pass noside argument.
7484 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7485 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7486 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7487 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7488 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7489
92b09522
SA
74902014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7491
7492 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7493 points to a constant blob.
7494
e1969afb
SA
74952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7496
7497 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7498 property and store it as the high bound and flag the range accordingly.
7499 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7500 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7501 * gdbtypes.h (enum range_flags): New enum.
7502 (struct range_bounds): Add flags member.
7503
b86138fb
SA
75042014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7505
7506 * c-typeprint.c (c_type_print_varspec_suffix): Added
7507 check for not yet resolved high bound. If unresolved, print
7508 "variable length" string to the console instead of random
7509 length.
7510
bcd629a4
SA
75112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7512
7513 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7514 (ada_template_to_fixed_record_type_1): Likewise.
7515 (ada_to_fixed_type_1): Likewise.
7516 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7517 (cp_print_value): Likewise.
7518 * d-valprint.c (dynamic_array_type): Likewise.
7519 * eval.c (evaluate_subexp_with_coercion): Likewise.
7520 * findvar.c (address_of_variable): Likewise.
7521 * jv-valprint.c (java_value_print): Likewise.
7522 * valops.c (value_ind): Likewise.
7523 * value.c (coerce_ref): Likewise.
7524
04b19544
SA
75252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7526
7527 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7528 value and retrieve the dynamic type size.
7529
26cb189f
SA
75302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7531
7532 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7533 passed to sizeof is dynamic evaluate the argument to compute the length.
7534
37c1ab67
SA
75352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7536
7537 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7538 (dwarf2_evaluate_property): New function.
7539 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7540 * dwarf2read.c (attr_to_dynamic_prop): New function.
7541 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7542 attribute.
7543 * gdbtypes.c: Include dwarf2loc.h.
7544 (is_dynamic_type): New function.
7545 (resolve_dynamic_type): New function.
7546 (resolve_dynamic_bounds): New function.
7547 (get_type_length): New function.
7548 (check_typedef): Use get_type_length to compute type length.
7549 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7550 (TYPE_LOW_BOUND_KIND): New macro.
7551 (is_dynamic_type): New function prototype.
7552 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7553 to resolve dynamic properties of the type. Update comment.
7554 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7555
729efb13
SA
75562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7557
7558 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
7559 declaring high/low bounds and change uses accordingly. Call
7560 create_range_type instead of create_static_range_type.
7561 * gdbtypes.c (create_range_type): New function.
7562 (create_range_type): Convert bounds into struct bound_prop and pass
7563 them to create_range_type.
7564 * gdbtypes.h (struct bound_prop): New struct.
7565 (create_range_type): New function prototype.
7566 (struct range_bounds): Use struct bound_prop instead of LONGEST for
7567 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
7568 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
7569 part of the bound.
7570 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
7571
0c9c3474
SA
75722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7573
7574 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
7575 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
7576 * ada-lang.c: All uses of create_range_type updated.
7577 * coffread.c: All uses of create_range_type updated.
7578 * dwarf2read.c: All uses of create_range_type updated.
7579 * f-exp.y: All uses of create_range_type updated.
7580 * m2-valprint.c: All uses of create_range_type updated.
7581 * mdebugread.c: All uses of create_range_type updated.
7582 * stabsread.c: All uses of create_range_type updated.
7583 * valops.c: All uses of create_range_type updated.
7584 * valprint.c: All uses of create_range_type updated.
7585
9d497a19
PA
75862014-04-10 Pedro Alves <palves@redhat.com>
7587
7588 * breakpoint.c (single_step_breakpoints)
7589 (single_step_gdbarch): Move up in the file.
7590 (one_breakpoint_xfer_memory): New function, factored out from ...
7591 (breakpoint_xfer_memory): ... here. Also process single-step
7592 breakpoints.
7593
15a9128a
TG
75942014-04-09 Tristan Gingold <gingold@adacore.com>
7595
7596 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
7597 comments.
7598 (darwin_decode_exception_message): Free port only after use.
7599
9c97a070
PL
76002014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
7601
7602 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
7603 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
7604 when setting the size of call_length.
7605
7af389b8
SC
76062014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7607
7608 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
7609 dereference TYPE_CODE_REF values.
7610
86ad98c3
JB
76112014-04-07 Joel Brobecker <brobecker@adacore.com>
7612
7613 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
7614 end of warning message.
7615
b0aeadb3
DE
76162014-04-03 Doug Evans <dje@google.com>
7617
7618 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
7619 of stub_comp_unit_die, stub_comp_dir is non-NULL.
7620
5979d6b6
AM
76212014-04-02 Alan Modra <amodra@gmail.com>
7622
7623 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
7624 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
7625 (struct symbol_file_add_from_memory_args): Add size field.
7626 (find_vdso_size): New function.
7627 (add_vsyscall_page): Attempt to find vdso size.
7628
0d60c288
DE
76292014-04-01 Doug Evans <dje@google.com>
7630
7631 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
7632
a41f2563
TG
76332014-04-01 Tristan Gingold <gingold@adacore.com>
7634
7635 * darwin-nat.c (darwin_encode_reply): Add prototype.
7636 (darwin_decode_exception_message): Reply to unknown inferiors.
7637 (darwin_decode_message): Handle message by id. Ignore message
7638 to unknown inferior.
7639 (darwin_wait): Discard unknown messages, add debug trace.
7640
11a865c8
DE
76412014-03-31 Doug Evans <dje@google.com>
7642
7643 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
7644 comp_dir_string.
7645
770e7fc7
DE
76462014-03-31 Doug Evans <dje@google.com>
7647
7648 New option "set print symbol-loading".
7649 * NEWS: Mention it.
7650 * solib.c (solib_read_symbols): Only print symbol loading messages
7651 if requested.
7652 (solib_add): If symbol loading is in "brief" mode, notify user
7653 symbols are being loaded.
7654 (reload_shared_libraries_1): Ditto.
7655 * symfile.c (print_symbol_loading_off): New static global.
7656 (print_symbol_loading_brief): New static global.
7657 (print_symbol_loading_full): New static global.
7658 (print_symbol_loading_enums): New static global.
7659 (print_symbol_loading): New static global.
7660 (print_symbol_loading_p): New function.
7661 (symbol_file_add_with_addrs): Only print symbol loading messages
7662 if requested.
7663 (_initialize_symfile): Register "print symbol-loading" set/show
7664 command.
7665 * symfile.h (print_symbol_loading_p): Declare.
7666
c32c64b7
DE
76672014-03-30 Doug Evans <xdje42@gmail.com>
7668
7669 * infrun.c (set_last_target_status): New function.
7670 (handle_inferior_event): Call it.
7671
7c0bc051
DE
76722014-03-30 Doug Evans <xdje42@gmail.com>
7673
7674 * inferior.h (enum stop_kind): Improve comment.
7675
8776cfe9
JB
76762014-03-28 Joel Brobecker <brobecker@adacore.com>
7677
7678 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
7679 a reference, strip the reference layer before calling
7680 the lang_ops value_has_mutated callback.
7681
410a0ff2
SDJ
76822014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
7683
7684 Remove some globals from our parser.
7685 * language.c (unk_lang_parser): Add "struct parser_state"
7686 argument.
7687 * language.h (struct language_defn) <la_parser>: Likewise.
7688 * parse.c (expout, expout_size, expout_ptr): Remove variables.
7689 (initialize_expout): Add "struct parser_state" argument.
7690 Rewrite function to use the parser state.
7691 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
7692 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
7693 write_exp_elt_longcst, write_exp_elt_dblcst,
7694 write_exp_elt_decfloatcst, write_exp_elt_type,
7695 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
7696 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
7697 write_dollar_variable): Likewise.
7698 (parse_exp_in_context_1): Use parser state.
7699 (insert_type_address_space): Add "struct parser_state" argument.
7700 Use parser state.
7701 (increase_expout_size): New function.
7702 * parser-defs.h: Forward declare "struct language_defn" and
7703 "struct parser_state".
7704 (expout, expout_size, expout_ptr): Remove extern declarations.
7705 (parse_gdbarch, parse_language): Rewrite macro declarations to
7706 accept the parser state.
7707 (struct parser_state): New struct.
7708 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
7709 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
7710 write_exp_elt_decfloatcst, write_exp_elt_type,
7711 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
7712 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
7713 write_exp_msymbol, write_dollar_variable,
7714 mark_struct_expression, insert_type_address_space): Add "struct
7715 parser_state" argument.
7716 (increase_expout_size): New function.
7717 * utils.c (do_clear_parser_state): New function.
7718 (make_cleanup_clear_parser_state): Likewise.
7719 * utils.h (make_cleanup_clear_parser_state): New function
7720 prototype.
7721 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
7722 Update calls to write_exp* in order to pass the parser state.
7723 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
7724 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
7725 (i386_stap_parse_special_token_three_arg_disp): Likewise.
7726 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
7727 * stap-probe.c (stap_parse_register_operand): Likewise.
7728 (stap_parse_single_operand): Likewise.
7729 (stap_parse_argument_1): Likewise.
7730 (stap_parse_argument): Use parser state.
7731 * stap-probe.h: Include "parser-defs.h".
7732 (struct stap_parse_info) <pstate>: New field.
7733 * c-exp.y (parse_type): Rewrite to use parser state.
7734 (yyparse): Redefine to c_parse_internal.
7735 (pstate): New global variable.
7736 (parse_number): Add "struct parser_state" argument.
7737 (write_destructor_name): Likewise.
7738 (type_exp): Update calls to write_exp* and similars in order to
7739 use parser state.
7740 (exp1, exp, variable, qualified_name, space_identifier,
7741 typename, typebase): Likewise.
7742 (write_destructor_name, parse_number, lex_one_token,
7743 classify_name, classify_inner_name, c_parse): Add "struct
7744 parser_state" argument. Update function to use parser state.
7745 * c-lang.h: Forward declare "struct parser_state".
7746 (c_parse): Add "struct parser_state" argument.
7747 * ada-exp.y (parse_type): Rewrite macro to use parser state.
7748 (yyparse): Redefine macro to ada_parse_internal.
7749 (pstate): New variable.
7750 (write_int, write_object_renaming, write_var_or_type,
7751 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
7752 type_int, type_long, type_long_long, type_float, type_double,
7753 type_long_double, type_char, type_boolean, type_system_address):
7754 Add "struct parser_state" argument.
7755 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
7756 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
7757 var_or_type, aggregate, aggregate_component_list,
7758 positional_list, others, component_group,
7759 component_associations): Update calls to write_exp* and similar
7760 functions in order to use parser state.
7761 (ada_parse, write_var_from_sym, write_int,
7762 write_exp_op_with_string, write_object_renaming,
7763 find_primitive_type, write_selectors, write_ambiguous_var,
7764 write_var_or_type, write_name_assoc, type_int, type_long,
7765 type_long_long, type_float, type_double, type_long_double,
7766 type_char, type_boolean, type_system_address): Add "struct
7767 parser_state" argument. Adjust function to use parser state.
7768 * ada-lang.c (parse): Likewise.
7769 * ada-lang.h: Forward declare "struct parser_state".
7770 (ada_parse): Add "struct parser_state" argument.
7771 * ada-lex.l (processInt, processReal): Likewise. Adjust all
7772 calls to both functions.
7773 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
7774 parser state.
7775 (yyparse): Redefine macro to f_parse_internal.
7776 (pstate): New variable.
7777 (parse_number): Add "struct parser_state" argument.
7778 (type_exp, exp, subrange, typebase): Update calls to write_exp*
7779 and similars in order to use parser state.
7780 (parse_number): Adjust code to use parser state.
7781 (yylex): Likewise.
7782 (f_parse): New function.
7783 * f-lang.h: Forward declare "struct parser_state".
7784 (f_parse): Add "struct parser_state" argument.
7785 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
7786 parser state.
7787 (yyparse): Redefine macro for java_parse_internal.
7788 (pstate): New variable.
7789 (push_expression_name, push_expression_name, insert_exp): Add
7790 "struct parser_state" argument.
7791 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
7792 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
7793 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
7794 PostIncrementExpression, PostDecrementExpression,
7795 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
7796 UnaryExpressionNotPlusMinus, CastExpression,
7797 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
7798 RelationalExpression, EqualityExpression, AndExpression,
7799 ExclusiveOrExpression, InclusiveOrExpression,
7800 ConditionalAndExpression, ConditionalOrExpression,
7801 ConditionalExpression, Assignment, LeftHandSide): Update
7802 calls to write_exp* and similars in order to use parser state.
7803 (parse_number): Ajust code to use parser state.
7804 (yylex): Likewise.
7805 (java_parse): New function.
7806 (push_variable): Add "struct parser_state" argument. Adjust
7807 code to user parser state.
7808 (push_fieldnames, push_qualified_expression_name,
7809 push_expression_name, insert_exp): Likewise.
7810 * jv-lang.h: Forward declare "struct parser_state".
7811 (java_parse): Add "struct parser_state" argument.
7812 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
7813 parser state.
7814 (yyparse): Redefine macro to m2_parse_internal.
7815 (pstate): New variable.
7816 (type_exp, exp, fblock, variable, type): Update calls to
7817 write_exp* and similars to use parser state.
7818 (yylex): Likewise.
7819 (m2_parse): New function.
7820 * m2-lang.h: Forward declare "struct parser_state".
7821 (m2_parse): Add "struct parser_state" argument.
7822 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
7823 * objc-lang.h: Forward declare "struct parser_state".
7824 (end_msglist): Add "struct parser_state" argument.
7825 * p-exp.y (parse_type): Rewrite macro to use parser state.
7826 (yyparse): Redefine macro to pascal_parse_internal.
7827 (pstate): New variable.
7828 (parse_number): Add "struct parser_state" argument.
7829 (type_exp, exp1, exp, qualified_name, variable): Update calls to
7830 write_exp* and similars in order to use parser state.
7831 (parse_number, yylex): Adjust code to use parser state.
7832 (pascal_parse): New function.
7833 * p-lang.h: Forward declare "struct parser_state".
7834 (pascal_parse): Add "struct parser_state" argument.
7835 * go-exp.y (parse_type): Rewrite macro to use parser state.
7836 (yyparse): Redefine macro to go_parse_internal.
7837 (pstate): New variable.
7838 (parse_number): Add "struct parser_state" argument.
7839 (type_exp, exp1, exp, variable, type): Update calls to
7840 write_exp* and similars in order to use parser state.
7841 (parse_number, lex_one_token, classify_name, yylex): Adjust code
7842 to use parser state.
7843 (go_parse): Likewise.
7844 * go-lang.h: Forward declare "struct parser_state".
7845 (go_parse): Add "struct parser_state" argument.
7846
342587c4
DE
78472014-03-27 Doug Evans <dje@google.com>
7848
7849 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
7850
33e80786
DE
78512014-03-27 Doug Evans <dje@google.com>
7852
7853 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
7854 Remove argument abbrev_section. All callers updated.
7855
1dbab08b
DE
78562014-03-27 Doug Evans <dje@google.com>
7857
7858 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
7859 addr_base, ranges_base.
7860
318d3177
KS
78612014-03-26 Keith Seitz <keiths@redhat.com>
7862
7863 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
7864 types, not VAR_DOMAIN.
7865
1e54db15
SL
78662014-03-25 Sandra Loosemore <sandra@codesourcery.com>
7867
7868 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
7869 "ra" registers.
7870 * features/nios2-linux.c: Regenerated.
7871 * features/nios2.c: Regenerated.
7872
d3839ede
PA
78732014-03-25 Pedro Alves <palves@redhat.com>
7874
7875 * cli/cli-script.c (script_from_file): Force the interpreter to
7876 sync mode.
7877
7588d2ec
PL
78782014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
7879
7880 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
7881 small stack allocation.
7882
a6290449
TG
78832014-03-24 Tristan Gingold <gingold@adacore.com>
7884
7885 * darwin-nat.c (exc_server): Remove unused prototype.
7886 (darwin_dump_message): Correctly display data on x86_64.
7887 (darwin_encode_reply): Fix style.
7888 Add comments and fix indentation.
7889
31ae9d24 78902014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
7891
7892 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
7893
6339bfc4
DE
78942014-03-22 Doug Evans <xdje42@gmail.com>
7895
7896 * infcmd.c: Whitespace fixes.
7897 (interrupt_command): Merge two function comments into one.
7898
0a07590b
DE
78992014-03-22 Doug Evans <xdje42@gmail.com>
7900
7901 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
7902 All uses updated.
7903
b55fbac4
YQ
79042014-03-22 Yao Qi <yao@codesourcery.com>
7905
7906 * remote.c (target_read_live_memory): Remove.
7907 (memory_xfer_live_readonly_partial): Rename it to
7908 remote_xfer_live_readonly_partial. Remove argument 'object'.
7909 All callers updated. Call remote_read_bytes_1
7910 instead of target_read_live_memory.
7911 * tracepoint.c (set_traceframe_number): Remove.
7912 (make_cleanup_restore_traceframe_number): Likewise .
7913 * tracepoint.h (set_traceframe_number): Remove declaration.
7914 (make_cleanup_restore_traceframe_number): Likewise.
7915
9217e74e
YQ
79162014-03-22 Yao Qi <yao@codesourcery.com>
7917
7918 * remote.c (remote_read_bytes): Move code on reading from the
7919 remote stub to ...
7920 (remote_read_bytes_1): ... here. New function.
7921
8acf9577
YQ
79222014-03-22 Yao Qi <yao@codesourcery.com>
7923
7924 * ctf.c (ctf_xfer_partial): Check the return value of
7925 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
7926 return TARGET_XFER_UNAVAILABLE.
7927 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7928 * target.c (target_read_live_memory): Move it to remote.c.
7929 (memory_xfer_live_readonly_partial): Likewise.
7930 (memory_xfer_partial_1): Move some code to remote_read_bytes.
7931 * remote.c (target_read_live_memory): Moved from target.c.
7932 (memory_xfer_live_readonly_partial): Likewise.
7933 (remote_read_bytes): Factored out from
7934 memory_xfer_partial_1.
7935
feef67ab
DE
79362014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
7937
7938 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
7939 NULL pointer.
7940
b65dc60b
PA
79412014-03-21 Pedro Alves <palves@redhat.com>
7942
7943 * infrun.c (normal_stop): Extend comment.
7944
b4ab256d
HZ
79452014-03-21 Hui Zhu <hui@codesourcery.com>
7946 Pedro Alves <palves@redhat.com>
7947
7948 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
7949 static buffer.
7950 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
7951 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
7952 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
7953
deba7593
MR
79542014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
7955
7956 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
7957 `z' formatted output modifier.
7958
1bff71c3
SDJ
79592014-03-20 Tom Tromey <tromey@redhat.com>
7960 Sergio Durigan Junior <sergiodj@redhat.com>
7961
7962 * probe.c (parse_probes): Turn assert into an ordinary error.
7963 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
7964 exceptions when parsing probes. Rearrange the code for clarity.
7965
90e28950
TT
79662014-03-20 Tom Tromey <tromey@redhat.com>
7967
7968 PR gdb/14135
7969 * top.c (execute_command): Only dispatch events if the command
7970 started the target.
7971
beb460e8
PA
79722014-03-20 Tom Tromey <tromey@redhat.com>
7973
7974 PR cli/15718
7975 * infcall.c: Include event-top.h.
7976 (run_inferior_call): Call async_disable_stdin if needed.
7977
99619bea
PA
79782014-03-20 Pedro Alves <palves@redhat.com>
7979
7980 * infrun.c (prepare_to_proceed): Delete.
7981 (thread_still_needs_step_over): New function.
7982 (find_thread_needs_step_over): New function.
7983 (proceed): If the current thread needs a step-over, set its
7984 steping_over_breakpoint flag. Adjust to use
7985 find_thread_needs_step_over instead of prepare_to_proceed.
7986 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
7987 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
7988 breakpoint.
7989 (switch_back_to_stepped_thread): Step over breakpoints of all
7990 threads not the stepping thread, before switching back to the
7991 stepping thread.
7992
2adfaa28
PA
79932014-03-20 Pedro Alves <palves@redhat.com>
7994
7995 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
7996 extern.
7997 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
7998 * infrun.c (saved_singlestep_ptid)
7999 (stepping_past_singlestep_breakpoint): Delete.
8000 (resume): Remove stepping_past_singlestep_breakpoint handling.
8001 (proceed): Store the prev_pc of the stepping thread too.
8002 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
8003 singlestep_pc.
8004 (enum infwait_states): Delete infwait_thread_hop_state.
8005 (struct execution_control_state) <hit_singlestep_breakpoint>: New
8006 field.
8007 (handle_inferior_event): Adjust.
8008 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
8009 handling and the thread-hop code. Before removing single-step
8010 breakpoints, check whether the thread hit a single-step breakpoint
8011 of another thread. If it did, the trap is not a random signal.
8012 (switch_back_to_stepped_thread): If the event thread hit a
8013 single-step breakpoint, unblock it before switching to the
8014 stepping thread. Handle the case of the stepped thread having
8015 advanced already.
8016 (keep_going): Handle the case of the current thread moving past a
8017 single-step breakpoint.
8018
31e77af2
PA
80192014-03-20 Pedro Alves <palves@redhat.com>
8020
8021 PR breakpoints/7143
8022 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
8023 are being stepped over.
8024 (breakpoint_address_match): Make extern.
8025 * breakpoint.h (breakpoint_address_match): New declaration.
8026 * inferior.h (stepping_past_instruction_at): New declaration.
8027 * infrun.c (struct step_over_info): New type.
8028 (step_over_info): New global.
8029 (set_step_over_info, clear_step_over_info)
8030 (stepping_past_instruction_at): New functions.
8031 (handle_inferior_event): Clear the step-over info when
8032 trap_expected is cleared.
8033 (resume): Remove now stale comment.
8034 (clear_proceed_status): Clear step-over info.
8035 (proceed): Adjust step-over handling to set or clear the step-over
8036 info instead of removing all breakpoints.
8037 (handle_signal_stop): When setting up a thread-hop, don't remove
8038 breakpoints here.
8039 (stop_stepping): Clear step-over info.
8040 (keep_going): Adjust step-over handling to set or clear step-over
8041 info and then always inserting breakpoints, instead of removing
8042 all breakpoints when stepping over one.
8043
b9f437de
PA
80442014-03-20 Pedro Alves <palves@redhat.com>
8045
8046 * infrun.c (previous_inferior_ptid): Adjust comment.
8047 (deferred_step_ptid): Delete.
8048 (infrun_thread_ptid_changed, prepare_to_proceed)
8049 (init_wait_for_inferior): Adjust.
8050 (handle_signal_stop): Delete deferred_step_ptid handling.
8051
06c868a8
JK
80522014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8053
8054 PR gdb/15358
8055 * defs.h (sync_quit_force_run): New declaration.
8056 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
8057 * event-top.c (async_sigterm_handler): New declaration.
8058 (async_sigterm_token): New variable.
8059 (async_init_signals): Create also async_sigterm_token.
8060 (async_sigterm_handler): New function.
8061 (sync_quit_force_run): New variable.
8062 (handle_sigterm): Replace quit_force call by other calls.
8063 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
8064
dea80df0
MR
80652014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
8066
8067 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
8068 offset into SPE pseudo registers.
8069
0c7e1a46
PA
80702014-03-18 Pedro Alves <palves@redhat.com>
8071
8072 PR gdb/13860
8073 * inferior.h (print_stop_event): Declare.
8074 * infrun.c (print_stop_event): New, factored out from ...
8075 (normal_stop): ... this.
8076 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
8077 of bpstat_print/print_stack_frame.
8078
9c1fcd01
TT
80792014-03-17 Tom Tromey <tromey@redhat.com>
8080
8081 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
8082
11aa919a
PMR
80832014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
8084
8085 * ada-lang.c (decode_constrained_packed_array): Perform a
8086 minimal coercion for reference with coerce_ref instead of
8087 ada_coerce_ref.
8088
d4ccb5e0
TG
80892014-03-17 Tristan Gingold <gingold@adacore.com>
8090
8091 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
8092 (darwin_solib_create_inferior_hook): Emit a warning if version
8093 is unhandled.
8094
49840f2a
UW
80952014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
8096
8097 * python/py-value.c (get_field_flag): Cast flag_name argument to
8098 PyObject_GetAttrString to support Python 2.4.
8099
ed4123e5
JK
81002014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8101
8102 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
8103 (Global Maintainers): Remove Jan Kratochvil.
8104
d6b64346
PA
81052014-03-14 Pedro Alves <palves@redhat.com>
8106
8107 * inferior.h (terminal_ours_for_output): Rename to ...
8108 (child_terminal_ours_for_output): ... this.
8109 (terminal_save_ours): Rename to ...
8110 (child_terminal_save_ours): ... this.
8111 (terminal_ours): Rename to ...
8112 (child_terminal_ours): ... this.
8113 (terminal_inferior): Rename to ...
8114 (child_terminal_inferior): ... this.
8115 (terminal_init_inferior): Rename to ...
8116 (child_terminal_init_inferior): ... this.
8117 (terminal_init_inferior_with_pgrp): Rename to ...
8118 (child_terminal_init_inferior_with_pgrp): ... this.
8119 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
8120 (child_terminal_init_with_pgrp): ... this.
8121 (terminal_save_ours): Rename to ...
8122 (child_terminal_save_ours): ... this.
8123 (terminal_init_inferior): Rename to ...
8124 (child_terminal_init): ... this. Adjust.
8125 (terminal_inferior): Rename to ...
8126 (child_terminal_inferior): ... this.
8127 (terminal_ours_for_output): Rename to ...
8128 (child_terminal_ours_for_output): ... this. Adjust.
8129 (terminal_ours): Rename to ...
8130 (child_terminal_ours): ... this.
8131 (terminal_ours_1): Rename to ...
8132 (child_terminal_ours_1): ... this. Adjust.
8133 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
8134 * windows-nat.c (do_initial_windows_stuff): Adjust.
8135 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
8136 (gnu_terminal_init): ... this. Adjust.
8137 (gnu_target): Adjust.
8138 * inf-child.c (inf_child_target): Adjust.
8139
5a1e8c7a
DE
81402014-03-13 Doug Evans <xdje42@gmail.com>
8141
8142 PR guile/16612
8143 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
8144 new eq?-hashtab.
8145
350e1a76
DE
81462014-03-13 Doug Evans <xdje42@gmail.com>
8147
8148 * value.c (record_latest_value): Call release_value_or_incref
8149 instead of release_value.
8150
a69900ae
PA
81512014-03-13 Pedro Alves <palves@redhat.com>
8152
8153 * procfs.c (procfs_target): Don't override to_shortname,
8154 to_longname or to_doc.
8155
5db9f0bd
PA
81562014-03-13 Pedro Alves <palves@redhat.com>
8157
8158 * inf-child.c (inf_child_open, inf_child_target): Don't mention
8159 Unix in user visible strings.
8160
5e3a2c38
SS
81612014-03-12 Stan Shebs <stan@codesourcery.com>
8162
8163 * gdbtypes.h: Annotate comments for Doxygen, add a page
8164 block comment with some general info.
8165
8bc2fe48
PA
81662014-03-12 Pedro Alves <palves@redhat.com>
8167
8168 * infcmd.c (prepare_execution_command): New function, factored out
8169 from several execution commands.
8170 (run_command_1, continue_command, step_1, jump_command)
8171 (signal_command, until_command, advance_command, finish_command)
8172 (attach_command): Use prepare_execution_command.
8173
638c5f49
OJ
81742014-03-12 Omair Javaid <omair.javaid@linaro.org>
8175
8176 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
8177 (MAX_BPTS): Define.
8178 (MAX_WPTS): Define.
8179 (struct arm_linux_thread_points): Removed.
8180 (struct arm_linux_process_info): New.
8181 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
8182 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
8183 (arm_linux_find_breakpoints_by_tid): Removed.
8184 (struct arch_lwp_info): New.
8185 (arm_linux_find_process_pid): New functions.
8186 (arm_linux_add_process): New functions.
8187 (arm_linux_process_info_get): New functions.
8188 (arm_linux_forget_process): New function.
8189 (arm_linux_get_debug_reg_state): New function.
8190 (struct update_registers_data): New.
8191 (update_registers_callback): New function.
8192 (arm_linux_insert_hw_breakpoint1): Updated.
8193 (arm_linux_remove_hw_breakpoint1): Updated.
8194 (arm_linux_insert_hw_breakpoint): Updated.
8195 (arm_linux_remove_hw_breakpoint): Updated.
8196 (arm_linux_insert_watchpoint): Updated.
8197 (arm_linux_remove_watchpoint): Updated.
8198 (arm_linux_new_thread): Updated.
8199 (arm_linux_prepare_to_resume): New function.
8200 (arm_linux_new_fork): New function.
8201 (_initialize_arm_linux_nat): Updated.
8202
6d03af93
PA
82032014-03-12 Pedro Alves <palves@redhat.com>
8204
8205 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
8206
b3ccfe11
TT
82072014-03-12 Tom Tromey <tromey@redhat.com>
8208
8209 * inf-child.c (return_zero): New function.
8210 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
8211 * aix-thread.c (aix_thread_inferior_created): New function.
8212 (aix_thread_attach): Remove.
8213 (init_aix_thread_ops): Don't set to_attach.
8214 (_initialize_aix_thread): Register inferior_created observer.
8215 * corelow.c (init_core_ops): Don't set to_attach or
8216 to_create_inferior.
8217 * exec.c (init_exec_ops): Don't set to_attach or
8218 to_create_inferior.
8219 * infcmd.c (run_command_1): Use find_run_target. Make direct
8220 target calls.
8221 (attach_command): Use find_attach_target. Make direct target
8222 calls.
8223 * record-btrace.c (init_record_btrace_ops): Don't set
8224 to_create_inferior.
8225 * record-full.c (record_full_can_async_p, record_full_is_async_p):
8226 Remove.
8227 (init_record_full_ops, init_record_full_core_ops): Update. Don't
8228 set to_create_inferior.
8229 * target.c (complete_target_initialization): Add assertion.
8230 (target_create_inferior): Remove.
8231 (find_default_attach, find_default_create_inferior): Remove.
8232 (find_attach_target, find_run_target): New functions.
8233 (find_default_is_async_p, find_default_can_async_p)
8234 (target_supports_non_stop, target_attach): Remove.
8235 (init_dummy_target): Don't set to_create_inferior or
8236 to_supports_non_stop.
8237 * target.h (struct target_ops) <to_attach>: Add comment. Remove
8238 TARGET_DEFAULT_FUNC.
8239 <to_create_inferior>: Add comment.
8240 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
8241 TARGET_DEFAULT_RETURN.
8242 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
8243 (find_attach_target, find_run_target): Declare.
8244 (target_create_inferior): Remove.
8245 (target_has_execution_1): Update comment.
8246 (target_supports_non_stop): Remove.
8247 * target-delegates.c: Rebuild.
8248
91f83b02
PA
82492014-03-12 Pedro Alves <palves@redhat.com>
8250
8251 * inf-child.h: Update comment to not mention Unix.
8252
f1aea813
PA
82532014-03-12 Pedro Alves <palves@redhat.com>
8254
8255 * inf-child.c: Update top comment to not mention Unix. Add
8256 generic comment describing how this target is meant to be used.
8257 (inf_child_post_attach, inf_child_post_startup_inferior)
8258 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
8259 Unix in comment.
8260
ee8e9165
PA
82612014-03-12 Pedro Alves <palves@redhat.com>
8262
8263 * nto-procfs.c: Include inf-child.h.
8264 (procfs_ops): Delete global.
8265 (procfs_can_run): Delete method.
8266 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
8267 target pointer instead of referencing procfs_ops.
8268 (procfs_prepare_to_store): Delete.
8269 (init_procfs_ops): Delete function.
8270 (procfs_target): New function, based on init_procfs_ops, but
8271 inherit inf_child_target.
8272 (_initialize_procfs): Use procfs_target.
8273
51a9c8c5
PA
82742014-03-12 Pedro Alves <palves@redhat.com>
8275
8276 * windows-nat.c: Include inf-child.h.
8277 (windows_ops): Delete global.
8278 (windows_open, windows_prepare_to_store, windows_can_run): Delete
8279 methods.
8280 (init_windows_ops): Delete function.
8281 (windows_target): New function, based on init_windows_ops, but
8282 inherit inf_child_target.
8283 (_initialize_windows_nat): Use windows_target. Install x86
8284 specific target methods here.
8285
c1966e26
DE
82862014-03-10 Doug Evans <xdje42@gmail.com>
8287
8288 * guile/guile.c (call_initialize_gdb_module): New function.
8289 (initialize_guile): Replace call to scm_init_guile with call to
8290 scm_with_guile.
8291
023db19c
JB
82922014-03-10 Joel Brobecker <brobecker@adacore.com>
8293
8294 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
8295 in call to TYPE_CODE macro.
8296
5ec18f2b
JG
82972014-03-10 Jerome Guitton <guitton@adacore.com>
8298
8668be63
JB
8299 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
8300 Resolve tagged types to full view.
5ec18f2b 8301
7d03f2eb
HZ
83022014-03-10 Hui Zhu <hui@codesourcery.com>
8303
8304 * target.h (target_insert_breakpoint): Remove "hardware" from its
8305 comments.
8306
c5164cbc
DE
83072014-03-07 Doug Evans <dje@google.com>
8308
8309 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
8310
c4a3fee2
DE
83112014-03-07 Doug Evans <dje@google.com>
8312
8313 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
8314 Remove unused local comp_dir_attr. Assert exactly one of
8315 stub_comp_unit_die, stub_comp_dir is non-NULL.
8316
3156469c
JB
83172014-03-07 Joel Brobecker <brobecker@adacore.com>
8318
8319 * target.h (complete_target_initialization, add_target):
8320 Add comment.
8321
c1a7b7c6
PA
83222014-03-07 Pedro Alves <palves@redhat.com>
8323
8324 * go32-nat.c: Include inf-child.h.
8325 (go32_ops): Delete global.
8326 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
8327 Delete methods.
8328 (go32_create_inferior): Push the passed in target pointer instead
8329 of referencing go32_ops.
8330 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
8331 (go32_target): New function, based on init_go32_ops, but inherit
8332 inf_child_target.
8333 (_initialize_go32_nat): Use go32_target. Move parts of
8334 init_go32_ops here.
8335
d3c1a85f
JB
83362014-03-06 Joel Brobecker <brobecker@adacore.com>
8337
8338 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
8339 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
8340 SYMBOL_VALUE_ADDRESS.
8341 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
8342
5fa1d40e
YQ
83432014-03-06 Yao Qi <yao@codesourcery.com>
8344
8345 * breakpoint.c (get_tracepoint_by_number): Remove argument
8346 optional_p. All callers updated. Adjust comments. Update
8347 output message.
8348 * breakpoint.h (get_tracepoint_by_number): Update declaration.
8349
0c13193f
YQ
83502014-03-06 Yao Qi <yao@codesourcery.com>
8351
8352 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
8353 early if get_number returns zero. Use 'p' instead of 'args'.
8354
2217da06
YQ
83552014-03-06 Yao Qi <yao@codesourcery.com>
8356
8357 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
8358 message.
8359
cc3da688
YQ
83602014-03-06 Yao Qi <yao@codesourcery.com>
8361
8362 PR breakpoints/16508
8363 * tracepoint.c (check_trace_running): New function.
8364 (trace_find_command): Move code to check_trace_running and
8365 call check_trace_running.
8366 (trace_find_pc_command): Likewise.
8367 (trace_find_tracepoint_command): Likewise.
8368 (trace_find_line_command): Likewise.
8369 (trace_find_range_command): Likewise.
8370 * tracepoint.h (check_trace_running): Likewise.
8371 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
8372
6a5f844b
YQ
83732014-03-06 Yao Qi <yao@codesourcery.com>
8374
8375 * target.h (struct target_ops) <to_traceframe_info>: Use
8376 TARGET_DEFAULT_NORETURN (tcomplain ()).
8377 * target-delegates.c: Regenerated.
8378
0f26cec1
PA
83792014-03-05 Pedro Alves <palves@redhat.com>
8380
8381 PR gdb/16575
8382 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
8383 void. Update comment.
8384 (dcache_xfer_memory): Delete.
8385 (dcache_read_memory_partial): New, based on the read bits of
8386 dcache_xfer_memory.
8387 (dcache_update): Add status parameter. Use ULONGEST for len, and
8388 adjust. Discard cache lines if the reason for the update was
8389 error.
8390 * dcache.h (dcache_xfer_memory): Delete declaration.
8391 (dcache_read_memory_partial): New declaration.
8392 (dcache_update): Update prototype.
8393 * target.c (raw_memory_xfer_partial): Update the dcache here.
8394 (memory_xfer_partial_1): Don't handle dcache writes here.
8395
b2b255bd
MF
83962014-03-05 Mike Frysinger <vapier@gentoo.org>
8397
8398 * remote-sim.c (gdbsim_load): Add const to prog.
8399
5d9cf8a4
TT
84002014-03-03 Tom Tromey <tromey@redhat.com>
8401
8402 * elfread.c (probe_key): Change to bfd_data.
8403 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
8404 now per-BFD, not per-objfile.
8405 * stap-probe.c (stap_probe_destroy): Update comment.
8406 (handle_stap_probe): Allocate on the per-BFD obstack.
8407
729662a5
TT
84082014-03-03 Tom Tromey <tromey@redhat.com>
8409
8410 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
8411 * breakpoint.c (create_longjmp_master_breakpoint): Use
8412 get_probe_address.
8413 (add_location_to_breakpoint, bkpt_probe_insert_location)
8414 (bkpt_probe_remove_location): Update.
8415 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
8416 * elfread.c (elf_symfile_relocate_probe): Remove.
8417 (elf_probe_fns): Update.
8418 (insert_exception_resume_breakpoint): Change type of "probe"
8419 parameter to bound_probe.
8420 (check_exception_resume): Update.
8421 * objfiles.c (objfile_relocate1): Don't relocate probes.
8422 * probe.c (bound_probe_s): New typedef.
8423 (parse_probes): Use get_probe_address. Set sal's objfile.
8424 (find_probe_by_pc): Return a bound_probe.
8425 (collect_probes): Return a VEC(bound_probe_s).
8426 (compare_probes): Update.
8427 (gen_ui_out_table_header_info): Change type of "probes"
8428 parameter. Update.
8429 (info_probes_for_ops): Update.
8430 (get_probe_address): New function.
8431 (probe_safe_evaluate_at_pc): Update.
8432 * probe.h (struct probe_ops) <get_probe_address>: New field.
8433 <set_semaphore, clear_semaphore>: Add objfile parameter.
8434 (struct probe) <objfile>: Remove field.
8435 <arch>: New field.
8436 <address>: Update comment.
8437 (struct bound_probe): New.
8438 (find_probe_by_pc): Return a bound_probe.
8439 (get_probe_address): Declare.
8440 * solib-svr4.c (struct probe_and_action) <address>: New field.
8441 (hash_probe_and_action, equal_probe_and_action): Update.
8442 (register_solib_event_probe): Add address parameter.
8443 (solib_event_probe_at): Update.
8444 (svr4_create_probe_breakpoints): Add objfile parameter. Use
8445 get_probe_address.
8446 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
8447 (stap_get_probe_address): New function.
8448 (stap_can_evaluate_probe_arguments, compute_probe_arg)
8449 (compile_probe_arg): Update.
8450 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
8451 address.
8452 (handle_stap_probe): Don't relocate the probe.
8453 (stap_relocate): Remove.
8454 (stap_gen_info_probes_table_values): Update.
8455 (stap_probe_ops): Remove stap_relocate.
8456 * symfile-debug.c (debug_sym_relocate_probe): Remove.
8457 (debug_sym_probe_fns): Update.
8458 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
8459 * symtab.c (init_sal): Use memset.
8460 * symtab.h (struct symtab_and_line) <objfile>: New field.
8461 * tracepoint.c (start_tracing, stop_tracing): Update.
8462
ff887920
TT
84632014-03-03 Tom Tromey <tromey@redhat.com>
8464
8465 * probe.h (parse_probes, find_probe_by_pc)
8466 (find_probes_in_objfile): Fix comments.
8467
f0407826
DE
84682014-03-02 Doug Evans <xdje42@gmail.com>
8469
8470 * infrun.c (handle_signal_stop): Replace test for
8471 TARGET_WAITKIND_STOPPED with an assert.
8472
35e6a711
DE
84732014-03-02 Doug Evans <xdje42@gmail.com>
8474
8475 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
8476
667f9d0b
DE
84772014-03-02 Doug Evans <xdje42@gmail.com>
8478
8479 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
8480
dc92ace0
MK
84812014-03-01 Mark Kettenis <kettenis@gnu.org>
8482
8483 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
8484
a900370f
MK
84852014-03-01 Mark Kettenis <kettenis@gnu.org>
8486
8487 * i386obsd-nat.c: Include "obsd-nat.h".
8488 (_initialize_i386obsd_nat): Call obsd_add_target instead of
8489 add_target.
8490 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
8491
b72a7981
MK
84922014-03-01 Mark Kettenis <kettenis@gnu.org>
8493
8494 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
8495
96c70aba
MK
84962014-03-01 Mark Kettenis <kettenis@gnu.org>
8497
8498 * mips64obsd-nat.c: Include "obsd-nath".
8499 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
8500 add_target
8501 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
8502
874a80af
MK
85032014-03-01 Mark Kettenis <kettenis@gnu.org>
8504
8fd408f1
MK
8505 * amd64obsd-nat.c: Include "obsd-nat,h.
8506 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
8507 add_target.
874a80af
MK
8508 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
8509
9cf95373
SC
85102014-02-28 Siva Chandra Reddy <sivachandra@google.com>
8511
8512 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
8513 (find_overload_match): Update call to find_oload_champ.
8514 (find_oload_champ_namespace_loop): Likewise
8515
863e4da4
MK
85162014-02-28 Mark Kettenis <kettenis@gnu.org>
8517
025cac40
MK
8518 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
8519
1ed586ce
MK
8520 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
8521 * config/sparc/obsd64.mh: New file.
8522 * sparc64obsd-nat.c: New file.
8523
863e4da4
MK
8524 * obsd-nat.h: New file.
8525 * obsd-nat.c: New file.
8526 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
8527 (ALLDEPFILES): Add obsd-nat.c.
8528
89de4da4
TT
85292014-02-28 Tom Tromey <tromey@redhat.com>
8530
8531 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
8532 * cli-out.h (cli_ui_out_impl): Now const.
8533 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
8534 * ui-out.c (struct ui_out) <impl>: Now const.
8535 (default_ui_out_impl): Now const.
8536 (ui_out_new): Make 'impl' parameter const.
8537 * ui-out.h (ui_out_new): Update.
8538
c725e7b6
MK
85392014-02-27 Mark Kettenis <kettenis@gnu.org>
8540
8541 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
8542
670b46b3
MK
85432014-02-27 Mark Kettenis <kettenis@gnu.org>
8544
8545 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
8546
c91550fc
JK
85472014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8548
8549 Additional PR 8882 fix.
8550 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
8551
2fa0369e
PA
85522014-02-27 Pedro Alves <palves@redhat.com>
8553
8554 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
8555 isn't set.
8556
d632a097
PA
85572014-02-27 Pedro Alves <palves@redhat.com>
8558
8559 PR 12702
8560 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
8561 * nat/linux-waitpid.c: Include string.h.
8562 (status_to_str): Moved here and made extern.
8563 * nat/linux-waitpid.h (status_to_str): New declaration.
8564
2ebd5a35
HZ
85652014-02-27 Hui Zhu <hui@codesourcery.com>
8566
8567 PR 12702
8568 * infrun.c (ptid_match): Move ...
8569 * common/ptid.c (ptid_match): ... here.
8570 * inferior.h (ptid_match): Move ...
8571 * common/ptid.h (ptid_match): ... here.
8572
3cdd631f
MK
85732014-02-27 Mark Kettenis <kettenis@gnu.org>
8574
8575 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
8576 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
8577 gdb_target_obs.
8578
bee30a64
MK
85792014-02-27 Mark Kettenis <kettenis@gnu.org>
8580
8581 * obsd-tdep.c (obsd_auxv_parse): New function.
8582 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
8583
8584 * gdbarch.sh (auxv_parse): New.
8585 * gdbarch.h: Regenerated.
8586 * gdbarch.c: Regenerated.
8587 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
8588
7a5a839f
LC
85892014-02-26 Ludovic Courtès <ludo@gnu.org>
8590
8591 * guile/scm-value.c (gdbscm_history_append_x): New function.
8592 (value_functions): Add it.
8593
31aa7e4e
JB
85942014-02-27 Joel Brobecker <brobecker@adacore.com>
8595
8596 * dwarf2read.c (attr_value_as_address): New function.
8597 (dwarf2_find_base_address, read_call_site_scope): Use
8598 attr_value_as_address in place of DW_ADDR.
8599 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
8600 the low and high addresses. Slight rework of the handling
8601 of the high pc being a constant form, and limit it to
8602 DWARF verson 4 or higher.
8603 (dwarf2_record_block_ranges): Likewise.
8604 (read_partial_die): Likewise.
8605 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
8606
9b333ba3
TT
86072014-02-26 Tom Tromey <tromey@redhat.com>
8608
8609 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
8610
5f6cac40
TT
86112014-02-26 Tom Tromey <tromey@redhat.com>
8612
8613 * elfread.c (elf_read_minimal_symbols): Return early if
8614 minimal symbols have already been read. Add "ei" parameter.
8615 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
8616 * minsyms.c (prim_record_minimal_symbol_full): Update.
8617 * objfiles.h (struct objstats) <n_minsyms>: Move...
8618 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
8619 * symmisc.c (print_objfile_statistics): Update.
8620
2750ef27
TT
86212014-02-26 Tom Tromey <tromey@redhat.com>
8622
8623 * elfread.c (elf_read_minimal_symbols): New function, from
8624 elf_symfile_read.
8625 (elf_symfile_read): Call it.
8626
34643a32
TT
86272014-02-26 Tom Tromey <tromey@redhat.com>
8628
8629 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
8630 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
8631 (lookup_minimal_symbol_solib_trampoline)
8632 (lookup_minimal_symbol_by_pc_section_1)
8633 (lookup_minimal_symbol_and_objfile): Update.
8634 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
8635 Don't allocate a minimal symbol if minsyms have already been read.
8636 (build_minimal_symbol_hash_tables): Update.
8637 (install_minimal_symbols): Do nothing if minsyms already read.
8638 Use the per-BFD obstack.
8639 (terminate_minimal_symbol_table): Use the per-BFD obstack.
8640 * objfiles.c (allocate_objfile): Call
8641 terminate_minimal_symbol_table later.
8642 (have_minimal_symbols): Update.
8643 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
8644 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
8645 Move from struct objfile.
8646 <minsyms_read>: New field.
8647 (struct objfile) <msymbols, minimal_symbol_count,
8648 msymbol_hash, msymbol_demangled_hash>: Move.
8649 (ALL_OBJFILE_MSYMBOLS): Update.
8650 * symfile.c (read_symbols): Set minsyms_read.
8651 (reread_symbols): Update.
8652 * symmisc.c (dump_objfile, dump_msymbols): Update.
8653
2273f0ac
TT
86542014-02-26 Tom Tromey <tromey@redhat.com>
8655
8656 * minsyms.c (msymbols_sort): Remove.
8657 * minsyms.h (msymbols_sort): Remove.
8658 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
8659 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
8660 * elfread.c (elf_symtab_read): Don't add section offsets.
8661 * xcoffread.c (record_minimal_symbol): Don't add section offset
8662 to minimal symbol address.
8663 * somread.c (text_offset, data_offset): Remove.
8664 (som_symtab_read): Don't add section offsets to minimal symbol
8665 addresses.
8666 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
8667 Don't add section offsets to minimal symbols.
8668 * coffread.c (coff_symtab_read): Don't add section offsets
8669 to minimal symbol addresses.
8670 * machoread.c (macho_symtab_add_minsym): Don't add section offset
8671 to minimal symbol addresses.
8672 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
8673 section offset to minimal symbol addresses.
8674 * mdebugread.c (parse_partial_symbols): Don't add section
8675 offset to minimal symbol addresses.
8676 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
8677 offset to minimal symbol addresses.
8678
77e371c0
TT
86792014-02-26 Tom Tromey <tromey@redhat.com>
8680
8681 * ada-lang.c (ada_main_name): Update.
8682 (ada_add_standard_exceptions): Update.
8683 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
8684 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8685 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
8686 * auxv.c (ld_so_xfer_auxv): Update.
8687 * avr-tdep.c (avr_scan_prologue): Update.
8688 * ax-gdb.c (gen_var_ref): Update.
8689 * blockframe.c (get_pc_function_start)
8690 (find_pc_partial_function_gnu_ifunc): Update.
8691 * breakpoint.c (create_overlay_event_breakpoint)
8692 (create_longjmp_master_breakpoint)
8693 (create_std_terminate_master_breakpoint)
8694 (create_exception_master_breakpoint): Update.
8695 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8696 * c-valprint.c (c_val_print): Update.
8697 * coff-pe-read.c (add_pe_forwarded_sym): Update.
8698 * common/agent.c (agent_look_up_symbols): Update.
8699 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
8700 * dwarf2loc.c (call_site_to_target_addr): Update.
8701 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
8702 * elfread.c (elf_gnu_ifunc_record_cache)
8703 (elf_gnu_ifunc_resolve_by_got): Update.
8704 * findvar.c (default_read_var_value): Update.
8705 * frame.c (inside_main_func): Update.
8706 * frv-tdep.c (frv_frame_this_id): Update.
8707 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8708 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
8709 Update.
8710 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
8711 (hppa_hpux_find_dummy_bpaddr): Update.
8712 * hppa-tdep.c (hppa_symbol_address): Update.
8713 * infcmd.c (until_next_command): Update.
8714 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
8715 Update.
8716 * linespec.c (minsym_found, add_minsym): Update.
8717 * linux-nat.c (get_signo): Update.
8718 * linux-thread-db.c (inferior_has_bug): Update.
8719 * m32c-tdep.c (m32c_return_value)
8720 (m32c_m16c_address_to_pointer): Update.
8721 * m32r-tdep.c (m32r_frame_this_id): Update.
8722 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8723 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8724 * maint.c (maintenance_translate_address): Update.
8725 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
8726 (frob_address): New function.
8727 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
8728 frob_address. Rename parameter to "pc_in".
8729 (compare_minimal_symbols, compact_minimal_symbols): Use raw
8730 addresses.
8731 (find_solib_trampoline_target, minimal_symbol_upper_bound):
8732 Update.
8733 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8734 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
8735 * objc-lang.c (find_objc_msgsend): Update.
8736 * objfiles.c (objfile_relocate1): Update.
8737 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8738 * p-valprint.c (pascal_val_print): Update.
8739 * parse.c (write_exp_msymbol): Update.
8740 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
8741 (ppc_elfv2_skip_entrypoint): Update.
8742 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8743 * printcmd.c (build_address_symbolic, msym_info)
8744 (address_info): Update.
8745 * proc-service.c (ps_pglobal_lookup): Update.
8746 * psymtab.c (find_pc_sect_psymtab_closer)
8747 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
8748 Change msymbol parameter to bound_minimal_symbol.
8749 * ravenscar-thread.c (get_running_thread_id): Update.
8750 * remote.c (remote_check_symbols): Update.
8751 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
8752 address.
8753 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8754 * solib-dsbt.c (lm_base): Update.
8755 * solib-frv.c (lm_base, main_got): Update.
8756 * solib-irix.c (locate_base): Update.
8757 * solib-som.c (som_solib_create_inferior_hook)
8758 (link_map_start): Update.
8759 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
8760 * solib-svr4.c (elf_locate_base, enable_break): Update.
8761 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
8762 (flush_ea_cache): Update.
8763 * stabsread.c (define_symbol, scan_file_globals): Update.
8764 * stack.c (find_frame_funname): Update.
8765 * symfile-debug.c (debug_qf_expand_symtabs_matching)
8766 (debug_qf_find_pc_sect_symtab): Update.
8767 * symfile.c (simple_read_overlay_table)
8768 (simple_overlay_update): Update.
8769 * symfile.h (struct quick_symbol_functions)
8770 <find_pc_sect_symtab>: Change type of msymbol to
8771 bound_minimal_symbol.
8772 * symmisc.c (dump_msymbols): Update.
8773 * symtab.c (find_pc_sect_symtab_via_partial)
8774 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
8775 (search_symbols, print_msymbol_info): Update.
8776 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
8777 (MSYMBOL_VALUE_ADDRESS): Redefine.
8778 (BMSYMBOL_VALUE_ADDRESS): New macro.
8779 * tracepoint.c (scope_info): Update.
8780 * tui/tui-disasm.c (tui_find_disassembly_address)
8781 (tui_get_begin_asm_address): Update.
8782 * valops.c (find_function_in_inferior): Update.
8783 * value.c (value_static_field, value_fn_field): Update.
8784
3b7344d5
TT
87852014-02-26 Tom Tromey <tromey@redhat.com>
8786
8787 * ada-lang.c (ada_update_initial_language): Update.
8788 (ada_main_name, ada_has_this_exception_support): Update.
8789 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
8790 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8791 * arm-tdep.c (arm_skip_stub): Update.
8792 * auxv.c (ld_so_xfer_auxv): Update.
8793 * avr-tdep.c (avr_scan_prologue): Update.
8794 * ax-gdb.c (gen_var_ref): Update.
8795 * breakpoint.c (struct breakpoint_objfile_data)
8796 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
8797 type to bound_minimal_symbol.
8798 (create_overlay_event_breakpoint)
8799 (create_longjmp_master_breakpoint)
8800 (create_std_terminate_master_breakpoint)
8801 (create_exception_master_breakpoint): Update.
8802 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8803 * c-exp.y (classify_name): Update.
8804 * coffread.c (coff_symfile_read): Update.
8805 * common/agent.c (agent_look_up_symbols): Update.
8806 * d-lang.c (d_main_name): Update.
8807 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
8808 * dec-thread.c (enable_dec_thread): Update.
8809 * dwarf2loc.c (call_site_to_target_addr): Update.
8810 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
8811 * eval.c (evaluate_subexp_standard): Update.
8812 * findvar.c (struct minsym_lookup_data) <result>: Change type
8813 to bound_minimal_symbol.
8814 <objfile>: Remove.
8815 (minsym_lookup_iterator_cb, default_read_var_value): Update.
8816 * frame.c (inside_main_func): Update.
8817 * frv-tdep.c (frv_frame_this_id): Update.
8818 * gcore.c (call_target_sbrk): Update.
8819 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8820 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
8821 Update.
8822 * go-lang.c (go_main_name): Update.
8823 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
8824 (hppa_hpux_find_import_stub_for_addr): Update.
8825 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
8826 Update. Change return type.
8827 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
8828 type.
8829 * jit.c (jit_breakpoint_re_set_internal): Update.
8830 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
8831 Update.
8832 * linux-nat.c (get_signo): Update.
8833 * linux-thread-db.c (inferior_has_bug): Update
8834 * m32c-tdep.c (m32c_return_value)
8835 (m32c_m16c_address_to_pointer): Update.
8836 * m32r-tdep.c (m32r_frame_this_id): Update.
8837 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8838 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8839 * minsyms.c (lookup_minimal_symbol_internal): Rename to
8840 lookup_minimal_symbol. Change return type.
8841 (lookup_minimal_symbol): Remove.
8842 (lookup_bound_minimal_symbol): Update.
8843 (lookup_minimal_symbol_text): Change return type.
8844 (lookup_minimal_symbol_solib_trampoline): Change return type.
8845 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
8846 (lookup_minimal_symbol_solib_trampoline): Change return type.
8847 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8848 * objc-lang.c (lookup_objc_class, lookup_child_selector)
8849 (value_nsstring, find_imps): Update.
8850 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8851 * p-lang.c (pascal_main_name): Update.
8852 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
8853 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8854 * proc-service.c (ps_pglobal_lookup): Update.
8855 * ravenscar-thread.c (get_running_thread_msymbol): Change
8856 return type.
8857 (has_ravenscar_runtime, get_running_thread_id): Update.
8858 * remote.c (remote_check_symbols): Update.
8859 * sol-thread.c (ps_pglobal_lookup): Update.
8860 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8861 * solib-dsbt.c (lm_base): Update.
8862 * solib-frv.c (lm_base, frv_relocate_section_addresses):
8863 Update.
8864 * solib-irix.c (locate_base): Update.
8865 * solib-som.c (som_solib_create_inferior_hook)
8866 (som_solib_desire_dynamic_linker_symbols, link_map_start):
8867 Update.
8868 * solib-spu.c (spu_enable_break): Update.
8869 * solib-svr4.c (elf_locate_base, enable_break): Update.
8870 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
8871 (flush_ea_cache): Update.
8872 * stabsread.c (define_symbol): Update.
8873 * symfile.c (simple_read_overlay_table): Update.
8874 * symtab.c (find_pc_sect_line): Update.
8875 * tracepoint.c (scope_info): Update.
8876 * tui-disasm.c (tui_get_begin_asm_address): Update.
8877 * value.c (value_static_field): Update.
8878
40c1a007
TT
88792014-02-26 Tom Tromey <tromey@redhat.com>
8880
8881 * minsyms.c (prim_record_minimal_symbol_full): Use
8882 SET_MSYMBOL_VALUE_ADDRESS.
8883 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
8884 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
8885 SET_MSYMBOL_VALUE_ADDRESS.
8886 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
8887 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
8888
efd66ac6
TT
88892014-02-26 Tom Tromey <tromey@redhat.com>
8890
8891 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
8892 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
8893 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
8894 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
8895 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
8896 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
8897 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
8898 * ada-lang.c (ada_main_name): Update.
8899 (ada_lookup_simple_minsym): Update.
8900 (ada_make_symbol_completion_list): Update.
8901 (ada_add_standard_exceptions): Update.
8902 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
8903 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8904 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
8905 * arm-tdep.c (skip_prologue_function): Update.
8906 (arm_skip_stack_protector, arm_skip_stub): Update.
8907 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
8908 (arm_wince_skip_main_prologue): Update.
8909 * auxv.c (ld_so_xfer_auxv): Update.
8910 * avr-tdep.c (avr_scan_prologue): Update.
8911 * ax-gdb.c (gen_var_ref): Update.
8912 * block.c (call_site_for_pc): Update.
8913 * blockframe.c (get_pc_function_start): Update.
8914 (find_pc_partial_function_gnu_ifunc): Update.
8915 * breakpoint.c (create_overlay_event_breakpoint): Update.
8916 (create_longjmp_master_breakpoint): Update.
8917 (create_std_terminate_master_breakpoint): Update.
8918 (create_exception_master_breakpoint): Update.
8919 (resolve_sal_pc): Update.
8920 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8921 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
8922 Update.
8923 * c-valprint.c (c_val_print): Update.
8924 * coff-pe-read.c (add_pe_forwarded_sym): Update.
8925 * coffread.c (coff_symfile_read): Update.
8926 * common/agent.c (agent_look_up_symbols): Update.
8927 * dbxread.c (find_stab_function_addr): Update.
8928 (end_psymtab): Update.
8929 * dwarf2loc.c (call_site_to_target_addr): Update.
8930 (func_verify_no_selftailcall): Update.
8931 (tailcall_dump): Update.
8932 (call_site_find_chain_1): Update.
8933 (dwarf_expr_reg_to_entry_parameter): Update.
8934 * elfread.c (elf_gnu_ifunc_record_cache): Update.
8935 (elf_gnu_ifunc_resolve_by_got): Update.
8936 * f-valprint.c (info_common_command): Update.
8937 * findvar.c (read_var_value): Update.
8938 * frame.c (get_prev_frame_1): Update.
8939 (inside_main_func): Update.
8940 * frv-tdep.c (frv_skip_main_prologue): Update.
8941 (frv_frame_this_id): Update.
8942 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8943 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
8944 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
8945 (gnuv3_skip_trampoline): Update.
8946 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
8947 (hppa64_hpux_in_solib_call_trampoline): Update.
8948 (hppa_hpux_skip_trampoline_code): Update.
8949 (hppa64_hpux_search_dummy_call_sequence): Update.
8950 (hppa_hpux_find_import_stub_for_addr): Update.
8951 (hppa_hpux_find_dummy_bpaddr): Update.
8952 * hppa-tdep.c (hppa_symbol_address)
8953 (hppa_lookup_stub_minimal_symbol): Update.
8954 * i386-tdep.c (i386_skip_main_prologue): Update.
8955 (i386_pe_skip_trampoline_code): Update.
8956 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
8957 * infcall.c (get_function_name): Update.
8958 * infcmd.c (until_next_command): Update.
8959 * jit.c (jit_breakpoint_re_set_internal): Update.
8960 (jit_inferior_init): Update.
8961 * linespec.c (minsym_found): Update.
8962 (add_minsym): Update.
8963 * linux-fork.c (info_checkpoints_command): Update.
8964 * linux-nat.c (get_signo): Update.
8965 * linux-thread-db.c (inferior_has_bug): Update.
8966 * m32c-tdep.c (m32c_return_value): Update.
8967 (m32c_m16c_address_to_pointer): Update.
8968 (m32c_m16c_pointer_to_address): Update.
8969 * m32r-tdep.c (m32r_frame_this_id): Update.
8970 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8971 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8972 * maint.c (maintenance_translate_address): Update.
8973 * minsyms.c (add_minsym_to_hash_table): Update.
8974 (add_minsym_to_demangled_hash_table): Update.
8975 (msymbol_objfile): Update.
8976 (lookup_minimal_symbol): Update.
8977 (iterate_over_minimal_symbols): Update.
8978 (lookup_minimal_symbol_text): Update.
8979 (lookup_minimal_symbol_by_pc_name): Update.
8980 (lookup_minimal_symbol_solib_trampoline): Update.
8981 (lookup_minimal_symbol_by_pc_section_1): Update.
8982 (lookup_minimal_symbol_and_objfile): Update.
8983 (prim_record_minimal_symbol_full): Update.
8984 (compare_minimal_symbols): Update.
8985 (compact_minimal_symbols): Update.
8986 (build_minimal_symbol_hash_tables): Update.
8987 (install_minimal_symbols): Update.
8988 (terminate_minimal_symbol_table): Update.
8989 (find_solib_trampoline_target): Update.
8990 (minimal_symbol_upper_bound): Update.
8991 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8992 * mips-tdep.c (mips_stub_frame_sniffer): Update.
8993 (mips_skip_pic_trampoline_code): Update.
8994 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
8995 * objc-lang.c (selectors_info): Update.
8996 (classes_info): Update.
8997 (find_methods): Update.
8998 (find_imps): Update.
8999 (find_objc_msgsend): Update.
9000 * objfiles.c (objfile_relocate1): Update.
9001 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
9002 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9003 * p-valprint.c (pascal_val_print): Update.
9004 * parse.c (write_exp_msymbol): Update.
9005 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
9006 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
9007 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9008 * printcmd.c (build_address_symbolic): Update.
9009 (sym_info): Update.
9010 (address_info): Update.
9011 * proc-service.c (ps_pglobal_lookup): Update.
9012 * psymtab.c (find_pc_sect_psymtab_closer): Update.
9013 (find_pc_sect_psymtab): Update.
9014 * python/py-framefilter.c (py_print_frame): Update.
9015 * ravenscar-thread.c (get_running_thread_id): Update.
9016 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
9017 Update.
9018 * remote.c (remote_check_symbols): Update.
9019 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
9020 (rs6000_skip_trampoline_code): Update.
9021 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
9022 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9023 * solib-dsbt.c (lm_base): Update.
9024 * solib-frv.c (lm_base): Update.
9025 (main_got): Update.
9026 * solib-irix.c (locate_base): Update.
9027 * solib-som.c (som_solib_create_inferior_hook): Update.
9028 (som_solib_desire_dynamic_linker_symbols): Update.
9029 (link_map_start): Update.
9030 * solib-spu.c (spu_enable_break): Update.
9031 (ocl_enable_break): Update.
9032 * solib-svr4.c (elf_locate_base): Update.
9033 (enable_break): Update.
9034 * spu-tdep.c (spu_get_overlay_table): Update.
9035 (spu_catch_start): Update.
9036 (flush_ea_cache): Update.
9037 * stabsread.c (define_symbol): Update.
9038 (scan_file_globals): Update.
9039 * stack.c (find_frame_funname): Update.
9040 (frame_info): Update.
9041 * symfile.c (simple_read_overlay_table): Update.
9042 (simple_overlay_update): Update.
9043 * symmisc.c (dump_msymbols): Update.
9044 * symtab.c (fixup_section): Update.
9045 (find_pc_sect_line): Update.
9046 (skip_prologue_sal): Update.
9047 (search_symbols): Update.
9048 (print_msymbol_info): Update.
9049 (rbreak_command): Update.
9050 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
9051 (completion_list_objc_symbol): Update.
9052 (default_make_symbol_completion_list_break_on): Update.
9053 * tracepoint.c (scope_info): Update.
9054 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
9055 (tui_get_begin_asm_address): Update.
9056 * valops.c (find_function_in_inferior): Update.
9057 * value.c (value_static_field): Update.
9058 (value_fn_field): Update.
9059
50e65b17
TT
90602014-02-26 Tom Tromey <tromey@redhat.com>
9061
9062 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
9063 bound minimal symbols. Move code that knows about minsym
9064 table layout...
9065 * minsyms.c (minimal_symbol_upper_bound): ... here. New
9066 function.
9067 * minsyms.h (minimal_symbol_upper_bound): Declare.
9068 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
9069 minimal_symbol_upper_bound.
9070
1b588015
JB
90712014-02-27 Joel Brobecker <brobecker@adacore.com>
9072
9073 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
9074 Use the type's name if its basic type does not have a tag.
9075
dbb9c2b1
JB
90762014-02-27 Joel Brobecker <brobecker@adacore.com>
9077
9078 * dwarf2read.c (read_subrange_type): Add comment.
9079
55426c9d
JB
90802014-02-27 Joel Brobecker <brobecker@adacore.com>
9081
9082 * dwarf2read.c (update_enumeration_type_from_children): New
9083 function, mostly extracted from process_structure_scope.
9084 (read_enumeration_type): Call update_enumeration_type_from_children.
9085 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
9086 and flag_flag_enum fields.
9087
f2fce0ca
PA
90882014-02-26 Pedro Alves <palves@redhat.com>
9089
9090 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
9091 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
9092 to_xfer_partial method.
9093
7a44e40e
PA
90942014-02-26 Pedro Alves <palves@redhat.com>
9095
9096 * target.c (complete_target_initialization): Don't install
9097 default_xfer_partial as to_xfer_partial hook.
9098 (nomemory): Delete.
9099 (update_current_target): Don't INHERIT nor de_fault
9100 deprecated_xfer_memory. Delete de_fault macro.
9101 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
9102 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
9103 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
9104 field.
9105
bd265cd0
PA
91062014-02-26 Pedro Alves <palves@redhat.com>
9107
9108 * go32-nat.c (my_write_child): New function.
9109 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
9110 (go32_xfer_partial): New function.
9111 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
9112 Instead install a to_xfer_partial hook.
9113
9d46c4e5
PA
91142014-02-26 Pedro Alves <palves@redhat.com>
9115
9116 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
9117 to_xfer_partial helper. Rewrite.
9118 (procfs_xfer_partial): New function.
9119 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
9120 Install a to_xfer_partial hook.
9121
a1583b1f
PA
91222014-02-26 Pedro Alves <palves@redhat.com>
9123
9124 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
9125 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
9126 (m32r_xfer_partial): New function.
9127 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
9128 Install a to_xfer_partial hook.
9129
6df1b29f
PA
91302014-02-26 Pedro Alves <palves@redhat.com>
9131
9132 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
9133 helper.
9134 (mips_xfer_partial): New function.
9135 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
9136 hook. Install a to_xfer_partial hook.
9137
dc53a7ad
JB
91382014-02-26 Joel Brobecker <brobecker@adacore.com>
9139
9140 * gdbtypes.h (create_array_type_with_stride): Add declaration.
9141 * gdbtypes.c (create_array_type_with_stride): New function,
9142 renaming create_array_type, but with an added parameter
9143 called "bit_stride".
9144 (create_array_type): Re-implement using
9145 create_array_type_with_stride.
9146 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
9147 and DW_AT_bit_stride attributes.
9148
12ab52e9
PA
91492014-02-26 Pedro Alves <palves@redhat.com>
9150
9151 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
9152 task-specific breakpoints.
9153
d16461ae
PA
91542014-02-25 Pedro Alves <palves@redhat.com>
9155
9156 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
9157 handling of object == TARGET_OBJECT_UNWIND_TABLE.
9158
a8b16220
SS
91592014-02-25 Stan Shebs <stan@codesourcery.com>
9160
9161 * defs.h: Annotate comments for Doxygen.
9162
b9e795ee
TT
91632014-02-25 Tom Tromey <tromey@redhat.com>
9164
9165 * target.h (target_ignore): Don't declare.
9166 * target.c (target_ignore): Remove.
9167
849c862e
JK
91682014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9169
9170 PR gdb/16626
9171 * auto-load.c (auto_load_objfile_script_1): Change filename to
9172 debugfile.
9173
475109d8
JB
91742014-02-25 Joel Brobecker <brobecker@adacore.com>
9175
9176 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
9177 documentation. Adjust prototype to match the target_ops
9178 to_xfer_partial method. Adjust implementation accordingly.
9179
e186c3bd
HZ
91802014-02-25 Hui Zhu <hui@codesourcery.com>
9181
9182 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
9183 to_traceframe_info.
9184
6d451942
KB
91852014-02-25 Kevin Buettner <kevinb@redhat.com>
9186
041ab8b4 9187 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
9188 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
9189 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
9190 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
9191 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
9192 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
9193 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
9194 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
9195 New constants.
9196 (rl78_register_type): Use a data pointer type for SP and
9197 new pseudo registers mentioned above. Use a 16 bit integer
9198 type for all other register pairs.
9199 (rl78_register_name, rl78_g10_register_name): Update for
9200 new pseudo registers.
9201 (rl78_pseudo_register_read): Likewise.
9202 (rl78_pseudo_register_write): Likewise.
9203 (rl78_dwarf_reg_to_regnum): Return register numbers representing
9204 to the newly added pseudo registers.
9205
eddf0bae
DE
92062014-02-24 Doug Evans <dje@google.com>
9207
9208 * value.c (record_latest_value): Fix comment.
9209 * printcmd.c (print_command_1): Remove code to handle -1 return from
9210 record_latest_value.
9211
e96027e0
PA
92122014-02-24 Pedro Alves <palves@redhat.com>
9213
9214 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
9215 deprecated_xfer_memory hook.
9216 (procfs_xfer_partial): Call procfs_xfer_memory instead
9217 of the deprecated_xfer_memory target hook.
9218 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
9219 helper.
9220
0837c976
YZ
92212014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
9222
9223 * windows-nat.c (windows_xfer_shared_libraries): Return
9224 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
9225 requested object is TARGET_OBJECT_LIBRARIES.
9226
bc113b4e
YQ
92272014-02-24 Yao Qi <yao@codesourcery.com>
9228
9229 * target.h (enum target_xfer_status)
9230 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
9231 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
9232 explicitly. New.
9233 * corefile.c (memory_error_message): User updated.
9234 * exec.c (section_table_read_available_memory): Likewise.
9235 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9236 * target.c (target_xfer_status_to_string): Likewise.
9237 (raw_memory_xfer_partial): Likewise.
9238 (memory_xfer_partial_1, target_xfer_partial): Likewise.
9239 * valops.c (read_value_memory): Likewise.
9240 * exec.h: Update comments.
9241
01cb8804
YQ
92422014-02-24 Yao Qi <yao@codesourcery.com>
9243
9244 * target.c (target_xfer_status_to_string): Rename argument err
9245 to status.
9246 * target.h (target_xfer_status_to_string): Update declaration.
9247 Replace target_xfer_error_to_string with
9248 target_xfer_status_to_string in comment.
9249
93063aa6
YQ
92502014-02-24 Yao Qi <yao@codesourcery.com>
9251
9252 * mips-linux-nat.c (super_close): Update its type.
9253 (mips_linux_close): Pass 'self' to super_close.
9254
5c328c05
YQ
92552014-02-24 Yao Qi <yao@codesourcery.com>
9256
9257 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
9258 * corefile.c (read_memory): Adjusted.
9259 * target.c (target_write_with_progress): Adjusted.
9260
f73023dd
YQ
92612014-02-23 Yao Qi <yao@codesourcery.com>
9262
9263 Revert two patches:
9264
9265 2013-10-25 Yao Qi <yao@codesourcery.com>
9266
9267 * remote.c (remote_traceframe_info): Return early if
9268 traceframe is not selected.
9269
9270 2013-07-19 Yao Qi <yao@codesourcery.com>
9271
9272 * target.c (update_current_target): Change the default action
9273 of 'to_traceframe_info' from tcomplain to return_zero.
9274 * target.h (struct target_ops) <to_traceframe_info>: Add more
9275 comments.
9276
5a2eb0ef
YQ
92772014-02-23 Yao Qi <yao@codesourcery.com>
9278
9279 * valops.c (read_value_memory): Rewrite it. Call
9280 target_xfer_partial in a loop.
9281 * exec.h (section_table_available_memory): Remove declaration.
9282 Move comments to ...
9283 * exec.c (section_table_available_memory): ... here. Make it
9284 static.
9285
1ee79381
YQ
92862014-02-23 Yao Qi <yao@codesourcery.com>
9287
9288 * exec.c (section_table_read_available_memory): New function.
9289 * exec.h (section_table_read_available_memory): Declare.
9290 * ctf.c (ctf_xfer_partial): Call
9291 section_table_read_available_memory.
9292 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9293
1ca49d37
YQ
92942014-02-23 Yao Qi <yao@codesourcery.com>
9295
9296 * ctf.c (ctf_xfer_partial): Move code to ...
9297 * exec.c (exec_read_partial_read_only): ... it. New function.
9298 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9299 * tracefile.c: Include "exec.h".
9300 * exec.h (exec_read_partial_read_only): Declare.
9301
a283690e
YQ
93022014-02-23 Yao Qi <yao@codesourcery.com>
9303
9304 * tracefile-tfile.c (tfile_has_all_memory): Remove.
9305 (tfile_has_memory): Remove.
9306 (init_tfile_ops): Don't set fields to_has_all_memory and
9307 to_has_memory of tfile_ops.
9308 * tracefile.c (tracefile_has_all_memory): New function.
9309 (tracefile_has_memory): New function.
9310 (init_tracefile_ops): Initialize fields to_has_all_memory and
9311 to_has_memory of 'ops'.
9312
12e03cd0
YQ
93132014-02-23 Yao Qi <yao@codesourcery.com>
9314
9315 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
9316 (ctf_thread_alive, ctf_get_trace_status): Remove.
9317 (init_ctf_ops): Don't set some fields of ctf_ops. Call
9318 init_tracefile_ops.
9319 * tracefile-tfile.c (tfile_get_trace_status): Remove.
9320 (tfile_has_stack, tfile_has_registers): Remove.
9321 (tfile_thread_alive): Remove.
9322 (init_tfile_ops): Don't set some fields of tfile_ops. Call
9323 init_tracefile_ops.
9324 * tracefile.c (tracefile_has_stack): New function.
9325 (tracefile_has_registers): New function.
9326 (tracefile_thread_alive): New function.
9327 (tracefile_get_trace_status): New function.
9328 (init_tracefile_ops): New function.
9329 * tracefile.h (init_tracefile_ops): Declare.
9330
11395323
YQ
93312014-02-23 Yao Qi <yao@codesourcery.com>
9332
9333 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
9334 (O_LARGEFILE): Likewise.
9335 (tfile_ops): Likewise.
9336 (TRACE_HEADER_SIZE): Likewise.
9337 (trace_fd, trace_frames_offset, cur_offset): Likewise.
9338 (cur_data_size): Likewise.
9339 (tfile_read, tfile_open, tfile_interp_line): Likewise.
9340 (tfile_close, tfile_files_info): Likewise.
9341 (tfile_get_trace_status): Likewise.
9342 (tfile_get_tracepoint_status): Likewise.
9343 (tfile_get_traceframe_address): Likewise.
9344 (tfile_trace_find, match_blocktype): Likewise.
9345 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
9346 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
9347 (tfile_get_trace_state_variable_value): Likewise.
9348 (tfile_has_all_memory, tfile_has_memory): Likewise.
9349 (tfile_has_stack, tfile_has_registers): Likewise.
9350 (tfile_thread_alive, build_traceframe_info): Likewise.
9351 (tfile_traceframe_info, init_tfile_ops): Likewise.
9352 (_initialize_tracepoint): Don't call init_tfile_ops
9353 and add_target_with_completer.
9354 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
9355 exec.h, completer.h and filenames.h.
9356 (_initialize_tracefile_tfile): New function.
9357
7951c4eb
YQ
93582014-02-23 Yao Qi <yao@codesourcery.com>
9359
9360 * Makefile.in (REMOTE_OBS): Append tracefile.o and
9361 tracefile-tfile.o.
9362 (HFILES_NO_SRCDIR): Add tracefile.h.
9363 * ctf.c: Include "tracefile.h".
9364 * tracefile.h: New file.
9365 * tracefile.c: New file
9366 * tracefile-tfile.c: New file.
9367 * tracepoint.c: Include "tracefile.h".
9368 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
9369 (stop_reason_names): Add const.
9370 (trace_file_writer_xfree): Move it to tracefile.c.
9371 (trace_save, trace_save_command, trace_save_tfile): Likewise.
9372 (trace_save_ctf): Likewise.
9373 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
9374 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
9375 (tfile_write_header, tfile_write_regblock_type): Likewise.
9376 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
9377 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
9378 (tfile_write_raw_data, tfile_end): Likewise.
9379 (tfile_trace_file_writer_new): Likewise.
9380 (free_uploaded_tp): Make it extern.
9381 (free_uploaded_tsv): Make it extern.
9382 (_initialize_tracepoint): Move code to register command 'tsave'
9383 to tracefile.c.
9384 * tracepoint.h (stop_reason_names): Declare.
9385 (struct trace_frame_write_ops): Move it to tracefile.h.
9386 (struct trace_file_write_ops): Likewise.
9387 (struct trace_file_writer): Likewise.
9388 (free_uploaded_tsvs, free_uploaded_tps): Declare.
9389
184cd072
JK
93902014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9391
9392 PR gdb/16594
9393 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
9394 process name.
9395 (get_cores_used_by_process): New parameter num_cores, use it.
9396 (linux_xfer_osdata_processes): Pass num_cores to it.
9397 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
9398 process name.
9399
c63528fc
AK
94002014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
9401
9402 * target.c (memory_xfer_partial): Fix length arg in call to
9403 breakpoint_xfer_memory.
9404
d7b30f67
SDJ
94052014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9406
9407 PR tdep/16397
9408 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
9409 number comes after the + or - signs. Adjust length of register
9410 name to be extracted.
9411
8838afaf
TT
94122014-02-20 Tom Tromey <tromey@redhat.com>
9413
9414 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
9415 (ada_varobj_ops): Mark "extern".
9416
05227d14
TT
94172014-02-20 Tom Tromey <tromey@redhat.com>
9418
9419 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
9420
1254eefc
DE
94212014-02-20 Doug Evans <xdje42@gmail.com>
9422
9423 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
9424 All callers updated.
9425 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
9426 All callers updated.
9427 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
9428 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
9429
adde2bff
DE
94302014-02-20 lin zuojian <manjian2006@gmail.com>
9431 Joel Brobecker <brobecker@adacore.com>
9432 Doug Evans <xdje42@gmail.com>
9433
9434 PR symtab/16581
9435 * dwarf2read.c (struct die_info): New member in_process.
9436 (reset_die_in_process): New function.
9437 (process_die): Set it at the start, reset when returning.
9438 (inherit_abstract_dies): Only call process_die if origin_child_die
9439 not already being processed.
9440
3be75f87
JB
94412014-02-20 Joel Brobecker <brobecker@adacore.com>
9442
9443 * windows-nat.c (handle_unload_dll): Add function documentation.
9444 (do_initial_windows_stuff): Add comment explaining why we wait
9445 until after inferior initialization has finished before
9446 processing all DLLs.
9447
47f7ffdb
JB
94482014-02-20 Joel Brobecker <brobecker@adacore.com>
9449
9450 * windows-nat.c (get_module_name): Delete.
9451 (windows_get_exec_module_filename): New function, mostly
9452 inspired from get_module_name.
9453 (windows_pid_to_exec_file): Replace call to get_module_name
9454 by call to windows_get_exec_module_filename.
9455
1cd9feab
JB
94562014-02-20 Joel Brobecker <brobecker@adacore.com>
9457
9458 * windows-nat.c (handle_load_dll): Rewrite this function's
9459 introductory comment. Remove code using get_module_name
9460 to get the DLL's name.
9461
ea39ad35
JB
94622014-02-20 Joel Brobecker <brobecker@adacore.com>
9463
9464 * windows-nat.c (get_windows_debug_event): Ignore
9465 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
9466 if windows_initialization_done == 0.
9467 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
9468 Adjust implementation to always load all DLLs.
9469 (do_initial_windows_stuff): Replace call to
9470 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
9471
95060284
JB
94722014-02-20 Joel Brobecker <brobecker@adacore.com>
9473
9474 * windows-nat.c (_initialize_windows_nat): Deprecate the
9475 "dll-symbols" command. Turn the "add-shared-symbol-files"
9476 and "assf" aliases into commands, and deprecate them as well.
9477 * NEWS: Add entry explaining that "dll-symbols" and its two
9478 aliases are now deprecated.
9479
8d4fdb12
JB
94802014-02-20 Joel Brobecker <brobecker@adacore.com>
9481
9482 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
9483 new-line in debug string. Remove trailing spaces.
9484
1b281443
SS
94852014-02-19 Stan Shebs <stan@codesourcery.com>
9486
9487 * darwin-nat.c (darwin_xfer_partial): Fix return type.
9488
f7bd0f78
SC
94892014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9490
9491 * NEWS: Add entry for the new feature
9492 * python/py-value.c (valpy_binop): Call value_x_binop for struct
9493 and class values.
9494
399ebc3d
SS
94952014-02-19 Stan Shebs <stan@codesourcery.com>
9496
9497 * MAINTAINERS: List Yao Qi as nios2 maintainer.
9498
c658158d
PA
94992014-02-19 Pedro Alves <palves@redhat.com>
9500
9501 * common/ptid.h (struct ptid): Mention that process_stratum
9502 targets should prefer ptid.lwp.
9503
ba348170
PA
95042014-02-19 Pedro Alves <palves@redhat.com>
9505
9506 * remote.c (remote_thread_alive, write_ptid, read_ptid)
9507 (read_ptid, remote_newthread_step, remote_threads_extra_info)
9508 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
9509 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
9510 store remote thread ids rather than ptid.tid.
9511 (_initialize_remote): Adjust.
9512
ac01945b
TT
95132014-02-19 Tom Tromey <tromey@redhat.com>
9514
9515 * target.c (target_get_unwinder): Rewrite.
9516 (target_get_tailcall_unwinder): Rewrite.
9517 * record-btrace.c (record_btrace_to_get_unwinder): New function.
9518 (record_btrace_to_get_tailcall_unwinder): New function.
9519 (init_record_btrace_ops): Update.
9520 * target.h (struct target_ops) <to_get_unwinder,
9521 to_get_tailcall_unwinder>: Now function pointers. Use
9522 TARGET_DEFAULT_RETURN.
9523
8476dc92
TT
95242014-02-19 Tom Tromey <tromey@redhat.com>
9525
9526 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
9527 argument.
9528 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
9529
c0eca49f
TT
95302014-02-19 Tom Tromey <tromey@redhat.com>
9531
9532 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
9533 directly.
9534 * target-delegates.c: Rebuild.
9535 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
9536 TARGET_DEFAULT_FUNC.
9537 * target.c (default_target_decr_pc_after_break): Rename from
9538 forward_target_decr_pc_after_break. Simplify.
9539 (target_decr_pc_after_break): Rely on delegation.
9540
596b6b39
TT
95412014-02-19 Tom Tromey <tromey@redhat.com>
9542
9543 * target.c (update_current_target): Do not INHERIT to_doc or
9544 to_magic. Do not de_fault to_open or to_close.
9545
b427c1bc
TT
95462014-02-19 Tom Tromey <tromey@redhat.com>
9547
9548 * gcore.h (objfile_find_memory_regions): Declare.
9549 * gcore.c (objfile_find_memory_regions): No longer static. Add
9550 "self" argument.
9551 (_initialize_gcore): Don't call exec_set_find_memory_regions.
9552 * exec.c: Include gcore.h.
9553 (exec_set_find_memory_regions): Remove.
9554 (exec_find_memory_regions): Remove.
9555 (exec_do_find_memory_regions): Remove.
9556 (init_exec_ops): Update.
9557 * defs.h (exec_set_find_memory_regions): Remove.
9558
9b144037
TT
95592014-02-19 Tom Tromey <tromey@redhat.com>
9560
9561 * target-delegates.c: Rebuild.
9562 * target.h (struct target_ops) <to_extra_thread_info,
9563 to_thread_name, to_pid_to_exec_file, to_get_section_table,
9564 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
9565 not 0, in TARGET_DEFAULT_RETURN.
9566
555bbdeb
TT
95672014-02-19 Tom Tromey <tromey@redhat.com>
9568
9569 * target.c (complete_target_initialization): Remove casts. Use
9570 return_zero_has_execution.
9571 (return_zero): Add "ignore" argument.
9572 (return_zero_has_execution): New function.
9573 (init_dummy_target): Remove casts. Use
9574 return_zero_has_execution.
9575
be4ddd36
TT
95762014-02-19 Tom Tromey <tromey@redhat.com>
9577
9578 * target.c (update_current_target): Update comments. Do not
9579 INHERIT to_stratum.
9580
2117c711
TT
95812014-02-19 Tom Tromey <tromey@redhat.com>
9582
9583 * arm-linux-nat.c (arm_linux_read_description): Delegate when
9584 needed.
9585 * corelow.c (core_read_description): Delegate when needed.
9586 * remote.c (remote_read_description): Delegate when needed.
9587 * target-delegates.c: Rebuild.
9588 * target.c (target_read_description): Rewrite.
9589 * target.h (struct target_ops) <to_read_description>: Update
9590 comment. Use TARGET_DEFAULT_RETURN.
9591
e88ef65c
TT
95922014-02-19 Tom Tromey <tromey@redhat.com>
9593
9594 * target-delegates.c: Rebuild.
9595 * target.c (update_current_target): Don't inherit or default
9596 to_can_run.
9597 (find_default_run_target): Check against delegate_can_run.
9598 * target.h (struct target_ops) <to_can_run>: Use
9599 TARGET_DEFAULT_RETURN.
9600
86a0854a
TT
96012014-02-19 Tom Tromey <tromey@redhat.com>
9602
9603 * target-delegates.c: Rebuild.
9604 * target.c (target_disconnect): Unconditionally delegate.
9605 * target.h (struct target_ops) <to_disconnect>: Use
9606 TARGET_DEFAULT_NORETURN.
9607
ee97f592
TT
96082014-02-19 Tom Tromey <tromey@redhat.com>
9609
9610 * record.c (record_stop): Unconditionally delegate.
9611 * target-delegates.c: Rebuild.
9612 * target.c (target_stop_recording): Unconditionally delegate.
9613 * target.h (struct target_ops) <to_stop_recording>: Use
9614 TARGET_DEFAULT_IGNORE.
9615
6dc7fcf4
TT
96162014-02-19 Tom Tromey <tromey@redhat.com>
9617
9618 * target-delegates.c: Rebuild.
9619 * target.c (target_enable_btrace): Unconditionally delegate.
9620 * target.h (struct target_ops) <to_enable_btrace>: Use
9621 TARGET_DEFAULT_NORETURN.
9622
eb5b20d4
TT
96232014-02-19 Tom Tromey <tromey@redhat.com>
9624
9625 * target-delegates.c: Rebuild.
9626 * target.c (target_read_btrace): Unconditionally delegate.
9627 * target.h (struct target_ops) <to_read_btrace>: Use
9628 TARGET_DEFAULT_NORETURN.
9629
9ace480d
TT
96302014-02-19 Tom Tromey <tromey@redhat.com>
9631
9632 * target-delegates.c: Rebuild.
9633 * target.c (target_teardown_btrace): Unconditionally delegate.
9634 * target.h (struct target_ops) <to_teardown_btrace>: Use
9635 TARGET_DEFAULT_NORETURN.
9636
8dc292d3
TT
96372014-02-19 Tom Tromey <tromey@redhat.com>
9638
9639 * target-delegates.c: Rebuild.
9640 * target.c (target_disable_btrace): Unconditionally delegate.
9641 * target.h (struct target_ops) <to_disable_btrace>: Use
9642 TARGET_DEFAULT_NORETURN.
9643
58a5184e
TT
96442014-02-19 Tom Tromey <tromey@redhat.com>
9645
9646 * target-delegates.c: Rebuild.
9647 * target.c (default_search_memory): New function.
9648 (simple_search_memory): Update comment.
9649 (target_search_memory): Unconditionally delegate.
9650 * target.h (struct target_ops) <to_search_memory>: Use
9651 TARGET_DEFAULT_FUNC.
9652
8de71aab
TT
96532014-02-19 Tom Tromey <tromey@redhat.com>
9654
9655 * auxv.c (default_auxv_parse): No longer static.
9656 (target_auxv_parse): Unconditionally delegate.
9657 * auxv.h (default_auxv_parse): Declare.
9658 * target-delegates.c: Rebuild.
9659 * target.c: Include auxv.h.
9660 * target.h (struct target_ops) <to_auxv_parse>: Use
9661 TARGET_DEFAULT_FUNC.
9662
6b2c5a57
TT
96632014-02-19 Tom Tromey <tromey@redhat.com>
9664
9665 * target-delegates.c: Rebuild.
9666 * target.c (target_memory_map): Unconditionally delegate.
9667 * target.h (struct target_ops) <to_memory_map>: Use
9668 TARGET_DEFAULT_RETURN.
9669
cbffc065
TT
96702014-02-19 Tom Tromey <tromey@redhat.com>
9671
9672 * target-delegates.c: Rebuild.
9673 * target.c (target_thread_alive): Unconditionally delegate.
9674 * target.h (struct target_ops) <to_thread_alive>: Use
9675 TARGET_DEFAULT_RETURN.
9676
f09e2107
TT
96772014-02-19 Tom Tromey <tromey@redhat.com>
9678
9679 * target-delegates.c: Rebuild.
9680 * target.c (target_save_record): Unconditionally delegate.
9681 * target.h (struct target_ops) <to_save_record>: Use
9682 TARGET_DEFAULT_NORETURN.
9683
07366925
TT
96842014-02-19 Tom Tromey <tromey@redhat.com>
9685
9686 * target-delegates.c: Rebuild.
9687 * target.c (target_delete_record): Unconditionally delegate.
9688 * target.h (struct target_ops) <to_delete_record>: Use
9689 TARGET_DEFAULT_NORETURN.
9690
dd2e9d25
TT
96912014-02-19 Tom Tromey <tromey@redhat.com>
9692
9693 * target-delegates.c: Rebuild.
9694 * target.c (target_record_is_replaying): Unconditionally
9695 delegate.
9696 * target.h (struct target_ops) <to_record_is_replaying>: Use
9697 TARGET_DEFAULT_RETURN.
9698
671e76cc
TT
96992014-02-19 Tom Tromey <tromey@redhat.com>
9700
9701 * target-delegates.c: Rebuild.
9702 * target.c (target_goto_record_begin): Unconditionally delegate.
9703 * target.h (struct target_ops) <to_goto_record_begin>: Use
9704 TARGET_DEFAULT_NORETURN.
9705
e9179bb3
TT
97062014-02-19 Tom Tromey <tromey@redhat.com>
9707
9708 * target-delegates.c: Rebuild.
9709 * target.c (target_goto_record_end): Unconditionally delegate.
9710 * target.h (struct target_ops) <to_goto_record_end>: Use
9711 TARGET_DEFAULT_NORETURN.
9712
05969c84
TT
97132014-02-19 Tom Tromey <tromey@redhat.com>
9714
9715 * target-delegates.c: Rebuild.
9716 * target.c (target_goto_record): Unconditionally delegate.
9717 * target.h (struct target_ops) <to_goto_record>: Use
9718 TARGET_DEFAULT_NORETURN.
9719
3679abfa
TT
97202014-02-19 Tom Tromey <tromey@redhat.com>
9721
9722 * target-delegates.c: Rebuild.
9723 * target.c (target_insn_history): Unconditionally delegate.
9724 * target.h (struct target_ops) <to_insn_history>: Use
9725 TARGET_DEFAULT_NORETURN.
9726
8444ab58
TT
97272014-02-19 Tom Tromey <tromey@redhat.com>
9728
9729 * target-delegates.c: Rebuild.
9730 * target.c (target_insn_history_from): Unconditionally delegate.
9731 * target.h (struct target_ops) <to_insn_history_from>: Use
9732 TARGET_DEFAULT_NORETURN.
9733
c29302cc
TT
97342014-02-19 Tom Tromey <tromey@redhat.com>
9735
9736 * target-delegates.c: Rebuild.
9737 * target.c (target_insn_history_range): Unconditionally delegate.
9738 * target.h (struct target_ops) <to_insn_history_range>: Use
9739 TARGET_DEFAULT_NORETURN.
9740
170049d4
TT
97412014-02-19 Tom Tromey <tromey@redhat.com>
9742
9743 * target-delegates.c: Rebuild.
9744 * target.c (target_call_history): Unconditionally delegate.
9745 * target.h (struct target_ops) <to_call_history>: Use
9746 TARGET_DEFAULT_NORETURN.
9747
16fc27d6
TT
97482014-02-19 Tom Tromey <tromey@redhat.com>
9749
9750 * target-delegates.c: Rebuild.
9751 * target.c (target_call_history_from): Unconditionally delegate.
9752 * target.h (struct target_ops) <to_call_history_from>: Use
9753 TARGET_DEFAULT_NORETURN.
9754
115d9817
TT
97552014-02-19 Tom Tromey <tromey@redhat.com>
9756
9757 * target-delegates.c: Rebuild.
9758 * target.c (target_call_history_range): Unconditionally delegate.
9759 * target.h (struct target_ops) <to_call_history_range>: Use
9760 TARGET_DEFAULT_NORETURN.
9761
eb276a6b
TT
97622014-02-19 Tom Tromey <tromey@redhat.com>
9763
9764 * target-delegates.c: Rebuild.
9765 * target.c (target_verify_memory): Unconditionally delegate.
9766 * target.h (struct target_ops) <to_verify_memory>: Use
9767 TARGET_DEFAULT_NORETURN.
9768
9e538d0d
TT
97692014-02-19 Tom Tromey <tromey@redhat.com>
9770
9771 * target-delegates.c: Rebuild.
9772 * target.c (target_core_of_thread): Unconditionally delegate.
9773 * target.h (struct target_ops) <to_core_of_thread>: Use
9774 TARGET_DEFAULT_RETURN.
9775
f6fb2925
TT
97762014-02-19 Tom Tromey <tromey@redhat.com>
9777
9778 * target-delegates.c: Rebuild.
9779 * target.c (target_flash_done): Unconditionally delegate.
9780 * target.h (struct target_ops) <to_flash_done>: Use
9781 TARGET_DEFAULT_NORETURN.
9782
e8a6c6ac
TT
97832014-02-19 Tom Tromey <tromey@redhat.com>
9784
9785 * target-delegates.c: Rebuild.
9786 * target.c (target_flash_erase): Unconditionally delegate.
9787 * target.h (struct target_ops) <to_flash_erase>: Use
9788 TARGET_DEFAULT_NORETURN.
9789
7e35c012
TT
97902014-02-19 Tom Tromey <tromey@redhat.com>
9791
9792 * target-delegates.c: Rebuild.
9793 * target.c (target_get_section_table): Unconditionally delegate.
9794 * target.h (struct target_ops) <to_get_section_table>: Use
9795 TARGET_DEFAULT_RETURN.
9796
770234d3
TT
97972014-02-19 Tom Tromey <tromey@redhat.com>
9798
9799 * target-delegates.c: Rebuild.
9800 * target.c (target_pid_to_str): Unconditionally delegate.
9801 (init_dummy_target): Don't initialize to_pid_to_str.
9802 (default_pid_to_str): Rename from dummy_pid_to_str.
9803 * target.h (struct target_ops) <to_pid_to_str>: Use
9804 TARGET_DEFAULT_FUNC.
9805
09b0dc2b
TT
98062014-02-19 Tom Tromey <tromey@redhat.com>
9807
9808 * target-delegates.c: Rebuild.
9809 * target.c (target_find_new_threads): Unconditionally delegate.
9810 * target.h (struct target_ops) <to_find_new_threads>: Use
9811 TARGET_DEFAULT_RETURN.
9812
7d4f8efa
TT
98132014-02-19 Tom Tromey <tromey@redhat.com>
9814
9815 * target-delegates.c: Rebuild.
9816 * target.c (target_program_signals): Unconditionally delegate.
9817 * target.h (struct target_ops) <to_program_signals>: Use
9818 TARGET_DEFAULT_IGNORE.
9819
035cad7f
TT
98202014-02-19 Tom Tromey <tromey@redhat.com>
9821
9822 * target-delegates.c: Rebuild.
9823 * target.c (target_pass_signals): Unconditionally delegate.
9824 * target.h (struct target_ops) <to_pass_signals>: Use
9825 TARGET_DEFAULT_IGNORE.
9826
8d657035
TT
98272014-02-19 Tom Tromey <tromey@redhat.com>
9828
9829 * target-delegates.c: Rebuild.
9830 * target.c (default_mourn_inferior): New function.
9831 (target_mourn_inferior): Unconditionally delegate.
9832 * target.h (struct target_ops) <to_mourn_inferior>: Use
9833 TARGET_DEFAULT_FUNC.
9834
098dba18
TT
98352014-02-19 Tom Tromey <tromey@redhat.com>
9836
9837 * target-delegates.c: Rebuild.
9838 * target.c (default_follow_fork): New function.
9839 (target_follow_fork): Unconditionally delegate.
9840 * target.h (struct target_ops) <to_follow_fork>: Use
9841 TARGET_DEFAULT_FUNC.
9842
423a4807
TT
98432014-02-19 Tom Tromey <tromey@redhat.com>
9844
9845 * target-delegates.c: Rebuild.
9846 * target.c (target_kill): Unconditionally delegate.
9847 * target.h (struct target_ops) <to_kill>: Use
9848 TARGET_DEFAULT_NORETURN.
9849
6c7e5e5c
TT
98502014-02-19 Tom Tromey <tromey@redhat.com>
9851
9852 * target-delegates.c: Rebuild.
9853 * target.c (target_masked_watch_num_registers): Unconditionally
9854 delegate.
9855 * target.h (struct target_ops) <to_masked_watch_num_registers>:
9856 Use TARGET_DEFAULT_RETURN.
9857
8b1c364c
TT
98582014-02-19 Tom Tromey <tromey@redhat.com>
9859
9860 * target-delegates.c: Rebuild.
9861 * target.c (target_remove_mask_watchpoint): Unconditionally
9862 delegate.
9863 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
9864 TARGET_DEFAULT_RETURN.
9865
cd4ae029
TT
98662014-02-19 Tom Tromey <tromey@redhat.com>
9867
9868 * target-delegates.c: Rebuild.
9869 * target.c (target_insert_mask_watchpoint): Unconditionally
9870 delegate.
9871 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
9872 TARGET_DEFAULT_RETURN.
9873
a134316b
TT
98742014-02-19 Tom Tromey <tromey@redhat.com>
9875
9876 * target-delegates.c: Rebuild.
9877 * target.c (target_ranged_break_num_registers): Unconditionally
9878 delegate.
9879 * target.h (struct target_ops) <to_ranged_break_num_registers>:
9880 Use TARGET_DEFAULT_RETURN.
9881
ad5989bd
TT
98822014-02-19 Tom Tromey <tromey@redhat.com>
9883
9884 * target-delegates.c: Rebuild.
9885 * target.c (target_fetch_registers): Unconditionally delegate.
9886 * target.h (struct target_ops) <to_fetch_registers>: Use
9887 TARGET_DEFAULT_NORETURN.
9888
46ee7e8d
TT
98892014-02-19 Tom Tromey <tromey@redhat.com>
9890
9891 * target-delegates.c: Rebuild.
9892 * target.c (update_current_target): Don't inherit or default
9893 to_stop.
9894 * target.h (struct target_ops) <to_stop>: Use
9895 TARGET_DEFAULT_IGNORE.
9896
843f59ed
TT
98972014-02-19 Tom Tromey <tromey@redhat.com>
9898
9899 * target-delegates.c: Rebuild.
9900 * target.c (update_current_target): Don't inherit or default
9901 to_can_run_breakpoint_commands.
9902 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9903 Use TARGET_DEFAULT_RETURN.
9904
ccfde2a0
TT
99052014-02-19 Tom Tromey <tromey@redhat.com>
9906
9907 * target-delegates.c: Rebuild.
9908 * target.c (update_current_target): Don't inherit or default
9909 to_supports_evaluation_of_breakpoint_conditions.
9910 * target.h (struct target_ops)
9911 <to_supports_evaluation_of_breakpoint_conditions>: Use
9912 TARGET_DEFAULT_RETURN.
9913
0de91722
TT
99142014-02-19 Tom Tromey <tromey@redhat.com>
9915
9916 * target-delegates.c: Rebuild.
9917 * target.c (update_current_target): Don't inherit or default
9918 to_augmented_libraries_svr4_read.
9919 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9920 Use TARGET_DEFAULT_RETURN.
9921
9a7d8b48
TT
99222014-02-19 Tom Tromey <tromey@redhat.com>
9923
9924 * target-delegates.c: Rebuild.
9925 * target.c (update_current_target): Don't inherit or default
9926 to_can_use_agent.
9927 * target.h (struct target_ops) <to_can_use_agent>: Use
9928 TARGET_DEFAULT_RETURN.
9929
d9db5b21
TT
99302014-02-19 Tom Tromey <tromey@redhat.com>
9931
9932 * target-delegates.c: Rebuild.
9933 * target.c (update_current_target): Don't inherit or default
9934 to_use_agent.
9935 * target.h (struct target_ops) <to_use_agent>: Use
9936 TARGET_DEFAULT_NORETURN.
9937
92155eeb
TT
99382014-02-19 Tom Tromey <tromey@redhat.com>
9939
9940 * target-delegates.c: Rebuild.
9941 * target.c (update_current_target): Don't inherit or default
9942 to_traceframe_info.
9943 (return_null): Remove.
9944 * target.h (struct target_ops) <to_traceframe_info>: Use
9945 TARGET_DEFAULT_RETURN.
9946
d6522a22
TT
99472014-02-19 Tom Tromey <tromey@redhat.com>
9948
9949 * target-delegates.c: Rebuild.
9950 * target.c (update_current_target): Don't inherit or default
9951 to_static_tracepoint_markers_by_strid.
9952 * target.h (struct target_ops)
9953 <to_static_tracepoint_markers_by_strid>: Use
9954 TARGET_DEFAULT_NORETURN.
9955
4c3e4425
TT
99562014-02-19 Tom Tromey <tromey@redhat.com>
9957
9958 * target-delegates.c: Rebuild.
9959 * target.c (update_current_target): Don't inherit or default
9960 to_static_tracepoint_marker_at.
9961 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9962 Use TARGET_DEFAULT_RETURN.
9963
dcd6917f
TT
99642014-02-19 Tom Tromey <tromey@redhat.com>
9965
9966 * target-delegates.c: Rebuild.
9967 * target.c (update_current_target): Don't inherit or default
9968 to_set_permissions.
9969 * target.h (struct target_ops) <to_set_permissions>: Use
9970 TARGET_DEFAULT_IGNORE.
9971
22bcceee
TT
99722014-02-19 Tom Tromey <tromey@redhat.com>
9973
9974 * target-delegates.c: Rebuild.
9975 * target.c (update_current_target): Don't inherit or default
9976 to_get_tib_address.
9977 * target.h (struct target_ops) <to_get_tib_address>: Use
9978 TARGET_DEFAULT_NORETURN.
9979
8586ccaa
TT
99802014-02-19 Tom Tromey <tromey@redhat.com>
9981
9982 * target-delegates.c: Rebuild.
9983 * target.c (update_current_target): Don't inherit or default
9984 to_set_trace_notes.
9985 * target.h (struct target_ops) <to_set_trace_notes>: Use
9986 TARGET_DEFAULT_RETURN.
9987
91df8d1d
TT
99882014-02-19 Tom Tromey <tromey@redhat.com>
9989
9990 * target-delegates.c: Rebuild.
9991 * target.c (update_current_target): Don't initialize
9992 to_set_trace_buffer_size.
9993 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
9994 TARGET_DEFAULT_IGNORE.
9995
8d526939
TT
99962014-02-19 Tom Tromey <tromey@redhat.com>
9997
9998 * target-delegates.c: Rebuild.
9999 * target.c (update_current_target): Don't inherit or default
10000 to_set_circular_trace_buffer.
10001 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
10002 TARGET_DEFAULT_IGNORE.
10003
0bcfeddf
TT
100042014-02-19 Tom Tromey <tromey@redhat.com>
10005
10006 * target-delegates.c: Rebuild.
10007 * target.c (update_current_target): Don't inherit or default
10008 to_set_disconnected_tracing.
10009 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
10010 TARGET_DEFAULT_IGNORE.
10011
9249843f
TT
100122014-02-19 Tom Tromey <tromey@redhat.com>
10013
10014 * target-delegates.c: Rebuild.
10015 * target.c (update_current_target): Don't inherit or default
10016 to_get_min_fast_tracepoint_insn_len.
10017 (return_minus_one): Remove.
10018 * target.h (struct target_ops)
10019 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
10020
ace92e7d
TT
100212014-02-19 Tom Tromey <tromey@redhat.com>
10022
10023 * target-delegates.c: Rebuild.
10024 * target.c (update_current_target): Don't inherit or default
10025 to_get_raw_trace_data.
10026 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
10027 TARGET_DEFAULT_NORETURN.
10028
08120467
TT
100292014-02-19 Tom Tromey <tromey@redhat.com>
10030
10031 * target-delegates.c: Rebuild.
10032 * target.c (update_current_target): Don't inherit or default
10033 to_upload_trace_state_variables.
10034 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10035 Use TARGET_DEFAULT_RETURN.
10036
1e949b00
TT
100372014-02-19 Tom Tromey <tromey@redhat.com>
10038
10039 * target-delegates.c: Rebuild.
10040 * target.c (update_current_target): Don't inherit or default
10041 to_upload_tracepoints.
10042 * target.h (struct target_ops) <to_upload_tracepoints>: Use
10043 TARGET_DEFAULT_RETURN.
10044
a2e6c147
TT
100452014-02-19 Tom Tromey <tromey@redhat.com>
10046
10047 * target-delegates.c: Rebuild.
10048 * target.c (update_current_target): Don't inherit or default
10049 to_save_trace_data.
10050 * target.h (struct target_ops) <to_save_trace_data>: Use
10051 TARGET_DEFAULT_NORETURN.
10052
959bcd0b
TT
100532014-02-19 Tom Tromey <tromey@redhat.com>
10054
10055 * target-delegates.c: Rebuild.
10056 * target.c (update_current_target): Don't inherit or default
10057 to_get_trace_state_variable_value.
10058 * target.h (struct target_ops)
10059 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
10060
afc94e66
TT
100612014-02-19 Tom Tromey <tromey@redhat.com>
10062
10063 * target-delegates.c: Rebuild.
10064 * target.c (update_current_target): Don't inherit or default
10065 to_trace_find.
10066 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
10067
e51c07ea
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_trace_stop.
10073 * target.h (struct target_ops) <to_trace_stop>: Use
10074 TARGET_DEFAULT_NORETURN.
10075
6fea14cd
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_tracepoint_status.
10081 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
10082 TARGET_DEFAULT_NORETURN.
10083
4072d4ff
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_get_trace_status.
10089 * target.h (struct target_ops) <to_get_trace_status>: Use
10090 TARGET_DEFAULT_RETURN.
10091
25da2e80
TT
100922014-02-19 Tom Tromey <tromey@redhat.com>
10093
10094 * target-delegates.c: Rebuild.
10095 * target.c (update_current_target): Don't inherit or default
10096 to_trace_start.
10097 * target.h (struct target_ops) <to_trace_start>: Use
10098 TARGET_DEFAULT_NORETURN.
10099
86dd181d
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_trace_set_readonly_regions.
10105 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10106 Use TARGET_DEFAULT_NORETURN.
10107
05c41993
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_disable_tracepoint.
10113 * target.h (struct target_ops) <to_disable_tracepoint>: Use
10114 TARGET_DEFAULT_NORETURN.
10115
151f70f1
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_enable_tracepoint.
10121 * target.h (struct target_ops) <to_enable_tracepoint>: Use
10122 TARGET_DEFAULT_NORETURN.
10123
94eb98b9
TT
101242014-02-19 Tom Tromey <tromey@redhat.com>
10125
10126 * target-delegates.c: Rebuild.
10127 * target.c (update_current_target): Don't inherit or default
10128 to_download_trace_state_variable.
10129 * target.h (struct target_ops) <to_download_trace_state_variable>:
10130 Use TARGET_DEFAULT_NORETURN.
10131
719acc4a
TT
101322014-02-19 Tom Tromey <tromey@redhat.com>
10133
10134 * target-delegates.c: Rebuild.
10135 * target.c (update_current_target): Don't inherit or default
10136 to_can_download_tracepoint.
10137 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
10138 TARGET_DEFAULT_RETURN.
10139
9a980a22
TT
101402014-02-19 Tom Tromey <tromey@redhat.com>
10141
10142 * target-delegates.c: Rebuild.
10143 * target.c (update_current_target): Don't inherit or default
10144 to_download_tracepoint.
10145 * target.h (struct target_ops) <to_download_tracepoint>: Use
10146 TARGET_DEFAULT_NORETURN.
10147
5536135b
TT
101482014-02-19 Tom Tromey <tromey@redhat.com>
10149
10150 * target-delegates.c: Rebuild.
10151 * target.c (update_current_target): Don't inherit or default
10152 to_trace_init.
10153 * target.h (struct target_ops) <to_trace_init>: Use
10154 TARGET_DEFAULT_RETURN.
10155
9409d39e
TT
101562014-02-19 Tom Tromey <tromey@redhat.com>
10157
10158 * target-delegates.c: Rebuild.
10159 * target.c (update_current_target): Don't inherit or default
10160 to_supports_string_tracing.
10161 * target.h (struct target_ops) <to_supports_string_tracing>: Use
10162 TARGET_DEFAULT_RETURN.
10163
aab1b22d
TT
101642014-02-19 Tom Tromey <tromey@redhat.com>
10165
10166 * target-delegates.c: Rebuild.
10167 * target.c (update_current_target): Don't inherit or default
10168 to_supports_enable_disable_tracepoint.
10169 * target.h (struct target_ops)
10170 <to_supports_enable_disable_tracepoint>: Use
10171 TARGET_DEFAULT_RETURN.
10172
a7304748
TT
101732014-02-19 Tom Tromey <tromey@redhat.com>
10174
10175 * target-delegates.c: Rebuild.
10176 * target.c (update_current_target): Don't inherit or default
10177 to_supports_multi_process.
10178 * target.h (struct target_ops) <to_supports_multi_process>: Use
10179 TARGET_DEFAULT_RETURN.
10180
4229b31d
TT
101812014-02-19 Tom Tromey <tromey@redhat.com>
10182
10183 * target-delegates.c: Rebuild.
10184 * target.c (update_current_target): Don't inherit or default
10185 to_get_ada_task_ptid.
10186 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
10187 TARGET_DEFAULT_FUNC.
10188
43eba180
TT
101892014-02-19 Tom Tromey <tromey@redhat.com>
10190
10191 * target-delegates.c: Rebuild.
10192 * target.c (update_current_target): Don't inherit or default
10193 to_thread_architecture.
10194 * target.h (struct target_ops) <to_thread_architecture>: Use
10195 TARGET_DEFAULT_FUNC.
10196
fe31bf5b
TT
101972014-02-19 Tom Tromey <tromey@redhat.com>
10198
10199 * target-delegates.c: Rebuild.
10200 * target.c (update_current_target): Don't inherit or default
10201 to_execution_direction.
10202 * target.h (struct target_ops) <to_execution_direction>: Use
10203 TARGET_DEFAULT_FUNC.
10204
53e1cfc7
TT
102052014-02-19 Tom Tromey <tromey@redhat.com>
10206
10207 * target-delegates.c: Rebuild.
10208 * target.c (update_current_target): Don't inherit or default
10209 to_can_execute_reverse.
10210 * target.h (struct target_ops) <to_can_execute_reverse>: Use
10211 TARGET_DEFAULT_RETURN.
10212 (target_can_execute_reverse): Unconditionally delegate.
10213
9bb9d61d
TT
102142014-02-19 Tom Tromey <tromey@redhat.com>
10215
10216 * target-delegates.c: Rebuild.
10217 * target.c (update_current_target): Don't inherit or default
10218 to_goto_bookmark.
10219 (dummy_goto_bookmark): Remove.
10220 (init_dummy_target): Don't inherit or default to_goto_bookmark.
10221 * target.h (struct target_ops) <to_goto_bookmark>: Use
10222 TARGET_DEFAULT_NORETURN.
10223
3dbafbbb
TT
102242014-02-19 Tom Tromey <tromey@redhat.com>
10225
10226 * target-delegates.c: Rebuild.
10227 * target.c (update_current_target): Don't inherit or default
10228 to_get_bookmark.
10229 (dummy_get_bookmark): Remove.
10230 (init_dummy_target): Don't inherit or default to_get_bookmark.
10231 * target.h (struct target_ops) <to_get_bookmark>: Use
10232 TARGET_DEFAULT_NORETURN
10233
16f796b1
TT
102342014-02-19 Tom Tromey <tromey@redhat.com>
10235
10236 * target-delegates.c: Rebuild.
10237 * target.c (update_current_target): Don't inherit or default
10238 to_make_corefile_notes.
10239 (init_dummy_target): Don't initialize to_make_corefile_notes.
10240 * target.h (struct target_ops) <to_make_corefile_notes>: Use
10241 TARGET_DEFAULT_FUNC.
10242
0b5a2719
TT
102432014-02-19 Tom Tromey <tromey@redhat.com>
10244
10245 * target-delegates.c: Rebuild.
10246 * target.c (update_current_target): Don't inherit or default
10247 to_find_memory_regions.
10248 (init_dummy_target): Don't initialize to_find_memory_regions.
10249 * target.h (struct target_ops) <to_find_memory_regions>: Use
10250 TARGET_DEFAULT_FUNC.
10251
d9cb0195
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_log_command.
10257 * target.h (struct target_ops) <to_log_command>: Use
10258 TARGET_DEFAULT_IGNORE.
10259 (target_log_command): Unconditionally delegate.
10260
830ca330
TT
102612014-02-19 Tom Tromey <tromey@redhat.com>
10262
10263 * target-delegates.c: Rebuild.
10264 * target.c (update_current_target): Don't inherit or default
10265 to_pid_to_exec_file.
10266 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
10267 TARGET_DEFAULT_RETURN.
10268
825828fc
TT
102692014-02-19 Tom Tromey <tromey@redhat.com>
10270
10271 * target-delegates.c: Rebuild.
10272 * target.c (update_current_target): Don't inherit or default
10273 to_thread_name.
10274 (target_thread_name): Unconditionally delegate.
10275 * target.h (struct target_ops) <to_thread_name>: Use
10276 TARGET_DEFAULT_RETURN.
10277
4a7e6dda
TT
102782014-02-19 Tom Tromey <tromey@redhat.com>
10279
10280 * target-delegates.c: Rebuild.
10281 * target.c (update_current_target): Don't inherit or default
10282 to_extra_thread_info.
10283 * target.h (struct target_ops) <to_extra_thread_info>: Use
10284 TARGET_DEFAULT_RETURN.
10285
0db88c1d
TT
102862014-02-19 Tom Tromey <tromey@redhat.com>
10287
10288 * target-delegates.c: Rebuild.
10289 * target.c (update_current_target): Don't inherit or default
10290 to_has_exited.
10291 * target.h (struct target_ops) <to_has_exited>: Use
10292 TARGET_DEFAULT_RETURN..
10293
6a9fa051
TT
102942014-02-19 Tom Tromey <tromey@redhat.com>
10295
10296 * target-delegates.c: Rebuild.
10297 * target.c (update_current_target): Don't inherit or default
10298 to_set_syscall_catchpoint.
10299 (return_one): Remove.
10300 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
10301 TARGET_DEFAULT_RETURN.
10302
62f64d7a
TT
103032014-02-19 Tom Tromey <tromey@redhat.com>
10304
10305 * target-delegates.c: Rebuild.
10306 * target.c (update_current_target): Don't inherit or default
10307 to_insert_exec_catchpoint.
10308 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10309 TARGET_DEFAULT_RETURN.
10310
cda0f38c
TT
103112014-01-08 Tom Tromey <tromey@redhat.com>
10312
10313 * target-delegates.c: Rebuild.
10314 * target.c (update_current_target): Don't inherit or default
10315 to_insert_exec_catchpoint.
10316 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10317 TARGET_DEFAULT_RETURN.
10318
95c3375e
TT
103192014-02-19 Tom Tromey <tromey@redhat.com>
10320
10321 * target-delegates.c: Rebuild.
10322 * target.c (update_current_target): Don't inherit or default
10323 to_remove_vfork_catchpoint.
10324 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
10325 TARGET_DEFAULT_RETURN.
10326
7e18a8dc
TT
103272014-02-19 Tom Tromey <tromey@redhat.com>
10328
10329 * target-delegates.c: Rebuild.
10330 * target.c (update_current_target): Don't inherit or default
10331 to_insert_vfork_catchpoint.
10332 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
10333 TARGET_DEFAULT_RETURN.
10334
e1a21fb7
TT
103352014-02-19 Tom Tromey <tromey@redhat.com>
10336
10337 * target-delegates.c: Rebuild.
10338 * target.c (update_current_target): Don't inherit or default
10339 to_remove_fork_catchpoint.
10340 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
10341 TARGET_DEFAULT_RETURN.
10342
5958ebeb
TT
103432014-02-19 Tom Tromey <tromey@redhat.com>
10344
10345 * target-delegates.c: Rebuild.
10346 * target.c (update_current_target): Don't inherit or default
10347 to_insert_fork_catchpoint.
10348 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
10349 TARGET_DEFAULT_RETURN.
10350
340ba4bf
TT
103512014-02-19 Tom Tromey <tromey@redhat.com>
10352
10353 * target-delegates.c: Rebuild.
10354 * target.c (update_current_target): Don't inherit or default
10355 to_post_startup_inferior.
10356 * target.h (struct target_ops) <to_post_startup_inferior>: Use
10357 TARGET_DEFAULT_IGNORE.
10358
7634da87
TT
103592014-02-19 Tom Tromey <tromey@redhat.com>
10360
10361 * target-delegates.c: Rebuild.
10362 * target.c (update_current_target): Don't inherit or default
10363 to_load.
10364 * target.h (struct target_ops) <to_load>: Use
10365 TARGET_DEFAULT_NORETURN.
10366
e19e919f
TT
103672014-02-19 Tom Tromey <tromey@redhat.com>
10368
10369 * target-delegates.c: Rebuild.
10370 * target.c (update_current_target): Don't inherit or default
10371 to_terminal_info.
10372 * target.h (struct target_ops) <to_terminal_info>: Use
10373 TARGET_DEFAULT_FUNC.
10374
c6ea8f79
TT
103752014-02-19 Tom Tromey <tromey@redhat.com>
10376
10377 * target-delegates.c: Rebuild.
10378 * target.c (update_current_target): Don't inherit or default
10379 to_terminal_save_ours.
10380 * target.h (struct target_ops) <to_terminal_save_ours>: Use
10381 TARGET_DEFAULT_IGNORE.
10382
e4a733f1
TT
103832014-02-19 Tom Tromey <tromey@redhat.com>
10384
10385 * target-delegates.c: Rebuild.
10386 * target.c (update_current_target): Don't inherit or default
10387 to_terminal_ours.
10388 * target.h (struct target_ops) <to_terminal_ours>: Use
10389 TARGET_DEFAULT_IGNORE.
10390
74fcbef9
TT
103912014-02-19 Tom Tromey <tromey@redhat.com>
10392
10393 * target-delegates.c: Rebuild.
10394 * target.c (update_current_target): Don't inherit or default
10395 to_terminal_ours_for_output.
10396 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
10397 TARGET_DEFAULT_IGNORE.
10398
ddeaacc9
TT
103992014-02-19 Tom Tromey <tromey@redhat.com>
10400
10401 * target-delegates.c: Rebuild.
10402 * target.c (update_current_target): Don't inherit or default
10403 to_terminal_inferior.
10404 * target.h (struct target_ops) <to_terminal_inferior>: Use
10405 TARGET_DEFAULT_IGNORE.
10406
0343661d
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_terminal_init.
10412 * target.h (struct target_ops) <to_terminal_init>: Use
10413 TARGET_DEFAULT_IGNORE.
10414
77cdffe9
TT
104152014-02-19 Tom Tromey <tromey@redhat.com>
10416
10417 * target-delegates.c: Rebuild.
10418 * target.c (update_current_target): Don't inherit or default
10419 to_can_accel_watchpoint_condition.
10420 * target.h (struct target_ops)
10421 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
10422
d03655e4
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_region_ok_for_hw_watchpoint.
10428 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10429 Use TARGET_DEFAULT_FUNC.
10430
65f160a9
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_watchpoint_addr_within_range.
10436 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
10437 Use TARGET_DEFAULT_FUNC.
10438
61dd109f
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_watchpoint.
10444 * target.h (struct target_ops) <to_remove_watchpoint>: Use
10445 TARGET_DEFAULT_NORETURN.
10446
016facd4
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_watchpoint.
10452 * target.h (struct target_ops) <to_insert_watchpoint>: Use
10453 TARGET_DEFAULT_RETURN.
10454
418dabac
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_remove_hw_breakpoint.
10460 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
10461 TARGET_DEFAULT_RETURN.
10462
61b371f9
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_insert_hw_breakpoint.
10468 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
10469 TARGET_DEFAULT_RETURN.
10470
52b51d06
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_can_use_hw_breakpoint.
10476 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
10477 TARGET_DEFAULT_RETURN.
10478
f86e59b2
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_files_info.
10484 * target.h (struct target_ops) <to_files_info>: Use
10485 TARGET_DEFAULT_IGNORE.
10486
6c628163
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_store.
10492 * target.h (struct target_ops) <to_store>: Use
10493 TARGET_DEFAULT_NORETURN.
10494
bebd3233
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_post_attach.
10500 * target.h (struct target_ops) <to_post_attach>: Use
10501 TARGET_DEFAULT_IGNORE.
10502
a53f3625
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_rcmd.
10508 (default_rcmd): New function.
10509 (do_monitor_command): Unconditionally delegate.
10510 * target.h (struct target_ops) <to_rmcd>: Use
10511 TARGET_DEFAULT_FUNC.
10512
e9a29200
TT
105132014-02-19 Tom Tromey <tromey@redhat.com>
10514
10515 * target-delegates.c: Rebuild.
10516 * target.c (init_dummy_target): Don't initialize to_attach.
10517 (target_attach): Unconditionally delegate.
10518 * target.h (struct target_ops) <to_attach>: Use
10519 TARGET_DEFAULT_FUNC.
10520
09da0d0a
TT
105212014-02-19 Tom Tromey <tromey@redhat.com>
10522
10523 * target-delegates.c: Rebuild.
10524 * target.c (target_detach): Unconditionally delegate.
10525 (init_dummy_target): Don't initialize to_detach.
10526 * target.h (struct target_ops) <to_detach>: Use
10527 TARGET_DEFAULT_IGNORE.
10528
5436ff03
TT
105292014-02-19 Tom Tromey <tromey@redhat.com>
10530
10531 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10532 Add argument.
10533 (target_augmented_libraries_svr4_read): Add argument.
10534 * target.c (update_current_target): Update.
10535 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
10536 argument.
10537
f0d960ea
TT
105382014-02-19 Tom Tromey <tromey@redhat.com>
10539
10540 * target.h (struct target_ops) <to_call_history_range>: Add
10541 argument.
10542 * target.c (target_call_history_range): Add argument.
10543 * record-btrace.c (record_btrace_call_history_range): Add 'self'
10544 argument.
10545 (record_btrace_call_history_from): Update.
10546
ec0aea04
TT
105472014-02-19 Tom Tromey <tromey@redhat.com>
10548
10549 * target.h (struct target_ops) <to_call_history_from>: Add
10550 argument.
10551 * target.c (target_call_history_from): Add argument.
10552 * record-btrace.c (record_btrace_call_history_from): Add 'self'
10553 argument.
10554
5df2fcba
TT
105552014-02-19 Tom Tromey <tromey@redhat.com>
10556
10557 * target.h (struct target_ops) <to_call_history>: Add argument.
10558 * target.c (target_call_history): Add argument.
10559 * record-btrace.c (record_btrace_call_history): Add 'self'
10560 argument.
10561
4e99c6b7
TT
105622014-02-19 Tom Tromey <tromey@redhat.com>
10563
10564 * target.h (struct target_ops) <to_insn_history_range>: Add
10565 argument.
10566 * target.c (target_insn_history_range): Add argument.
10567 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
10568 argument.
10569 (record_btrace_insn_history_from): Update.
10570
9abc3ff3
TT
105712014-02-19 Tom Tromey <tromey@redhat.com>
10572
10573 * target.h (struct target_ops) <to_insn_history_from>: Add
10574 argument.
10575 * target.c (target_insn_history_from): Add argument.
10576 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
10577 argument.
10578
7a6c5609
TT
105792014-02-19 Tom Tromey <tromey@redhat.com>
10580
10581 * target.h (struct target_ops) <to_insn_history>: Add argument.
10582 * target.c (target_insn_history): Add argument.
10583 * record-btrace.c (record_btrace_insn_history): Add 'self'
10584 argument.
10585
606183ac
TT
105862014-02-19 Tom Tromey <tromey@redhat.com>
10587
10588 * target.h (struct target_ops) <to_goto_record>: Add argument.
10589 * target.c (target_goto_record): Add argument.
10590 * record-full.c (record_full_goto): Add 'self' argument.
10591 * record-btrace.c (record_btrace_goto): Add 'self' argument.
10592
307a1b91
TT
105932014-02-19 Tom Tromey <tromey@redhat.com>
10594
10595 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
10596 * target.c (target_goto_record_end): Add argument.
10597 * record-full.c (record_full_goto_end): Add 'self' argument.
10598 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
10599
08475817
TT
106002014-02-19 Tom Tromey <tromey@redhat.com>
10601
10602 * target.h (struct target_ops) <to_goto_record_begin>: Add
10603 argument.
10604 * target.c (target_goto_record_begin): Add argument.
10605 * record-full.c (record_full_goto_begin): Add 'self' argument.
10606 * record-btrace.c (record_btrace_goto_begin): Add 'self'
10607 argument.
10608
1c63c994
TT
106092014-02-19 Tom Tromey <tromey@redhat.com>
10610
10611 * target.h (struct target_ops) <to_record_is_replaying>: Add
10612 argument.
10613 * target.c (target_record_is_replaying): Add argument.
10614 * record-full.c (record_full_is_replaying): Add 'self' argument.
10615 * record-btrace.c (record_btrace_is_replaying): Add 'self'
10616 argument.
10617 (record_btrace_xfer_partial, record_btrace_store_registers)
10618 (record_btrace_prepare_to_store, record_btrace_resume)
10619 (record_btrace_wait, record_btrace_decr_pc_after_break)
10620 (record_btrace_find_new_threads, record_btrace_thread_alive):
10621 Update.
10622
d1b55219
TT
106232014-02-19 Tom Tromey <tromey@redhat.com>
10624
10625 * target.h (struct target_ops) <to_delete_record>: Add argument.
10626 * target.c (target_delete_record): Add argument.
10627 * record-full.c (record_full_delete): Add 'self' argument.
10628
1390f529
TT
106292014-02-19 Tom Tromey <tromey@redhat.com>
10630
10631 * target.h (struct target_ops) <to_save_record>: Add argument.
10632 * target.c (target_save_record): Add argument.
10633 * record-full.c (record_full_save): Add 'self' argument.
10634 (record_full_save): Add 'self' argument.
10635
630d6a4a
TT
106362014-02-19 Tom Tromey <tromey@redhat.com>
10637
10638 * target.h (struct target_ops) <to_info_record>: Add argument.
10639 * target.c (target_info_record): Add argument.
10640 * record.c (info_record_command): Add argument.
10641 * record-full.c (record_full_info): Add 'self' argument.
10642 * record-btrace.c (record_btrace_info): Add 'self' argument.
10643
c6cd7c02
TT
106442014-02-19 Tom Tromey <tromey@redhat.com>
10645
10646 * target.h (struct target_ops) <to_stop_recording>: Add argument.
10647 * target.c (target_stop_recording): Add argument.
10648 * record.c (record_stop): Add argument.
10649 * record-btrace.c (record_btrace_stop_recording): Add 'self'
10650 argument.
10651
39c49f83
TT
106522014-02-19 Tom Tromey <tromey@redhat.com>
10653
10654 * target.h (struct target_ops) <to_read_btrace>: Add argument.
10655 * target.c (struct target_ops) <to_read_btrace>: Add argument.
10656 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
10657 argument.
10658 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
10659 (_initialize_amd64_linux_nat): Use it.
10660 * i386-linux-nat.c (i386_linux_read_btrace): New function.
10661 (_initialize_i386_linux_nat): Use it.
10662
1777056d
TT
106632014-02-19 Tom Tromey <tromey@redhat.com>
10664
10665 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
10666 * target.c (target_teardown_btrace): Add argument.
10667 * remote.c (remote_teardown_btrace): Add 'self' argument.
10668 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
10669 argument.
10670 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
10671 argument.
10672
25e95349
TT
106732014-02-19 Tom Tromey <tromey@redhat.com>
10674
10675 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
10676 * target.c (target_disable_btrace): Add argument.
10677 * remote.c (remote_disable_btrace): Add 'self' argument.
10678 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
10679 argument.
10680 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
10681 argument.
10682
e3c49f88
TT
106832014-02-19 Tom Tromey <tromey@redhat.com>
10684
10685 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
10686 * target.c (target_enable_btrace): Add argument.
10687 * remote.c (remote_enable_btrace): Add 'self' argument.
10688 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
10689 argument.
10690 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
10691 argument.
10692
fe38f897
TT
106932014-02-19 Tom Tromey <tromey@redhat.com>
10694
10695 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
10696 (target_can_use_agent): Add argument.
10697 * target.c (update_current_target): Update.
10698 * remote.c (remote_can_use_agent): Add 'self' argument.
10699 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
10700
2c152180
TT
107012014-02-19 Tom Tromey <tromey@redhat.com>
10702
10703 * target.h (struct target_ops) <to_use_agent>: Add argument.
10704 (target_use_agent): Add argument.
10705 * target.c (update_current_target): Update.
10706 * remote.c (remote_use_agent): Add 'self' argument.
10707 * inf-child.c (inf_child_use_agent): Add 'self' argument.
10708
a893e81f
TT
107092014-02-19 Tom Tromey <tromey@redhat.com>
10710
10711 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
10712 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
10713 (target_traceframe_info): Add argument.
10714 * target.c (update_current_target): Update.
10715 * remote.c (remote_traceframe_info): Add 'self' argument.
10716 * ctf.c (ctf_traceframe_info): Add 'self' argument.
10717
c686c57f
TT
107182014-02-19 Tom Tromey <tromey@redhat.com>
10719
10720 * target.h (target_static_tracepoint_markers_by_strid): Add
10721 argument.
10722 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
10723 'self' argument.
10724 * target.c (update_current_target): Update.
10725 * remote.c (struct target_ops)
10726 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
10727 * linux-nat.c (struct target_ops)
10728 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
10729
61fc905d
TT
107302014-02-19 Tom Tromey <tromey@redhat.com>
10731
10732 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10733 Add argument.
10734 (target_static_tracepoint_marker_at): Add argument.
10735 * target.c (update_current_target): Update.
10736 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
10737 argument.
10738
c378d69d
TT
107392014-02-19 Tom Tromey <tromey@redhat.com>
10740
10741 * target.h (struct target_ops) <to_set_permissions>: Add argument.
10742 (target_set_permissions): Add argument.
10743 * target.c (update_current_target): Update.
10744 * remote.c (remote_set_permissions): Add 'self' argument.
10745 (remote_start_remote): Update.
10746
bd7ae0f5
TT
107472014-02-19 Tom Tromey <tromey@redhat.com>
10748
10749 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
10750 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
10751 (target_get_tib_address): Add argument.
10752 * target.c (update_current_target): Update.
10753 * remote.c (remote_get_tib_address): Add 'self' argument.
10754
d9e68a2c
TT
107552014-02-19 Tom Tromey <tromey@redhat.com>
10756
10757 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
10758 (target_set_trace_notes): Add argument.
10759 * target.c (update_current_target): Update.
10760 * remote.c (remote_set_trace_notes): Add 'self' argument.
10761
4da384be
TT
107622014-02-19 Tom Tromey <tromey@redhat.com>
10763
10764 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
10765 argument.
10766 (target_set_trace_buffer_size): Add argument.
10767 * target.c (update_current_target): Update.
10768 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
10769
736d5b1f
TT
107702014-02-19 Tom Tromey <tromey@redhat.com>
10771
10772 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
10773 argument.
10774 (target_set_circular_trace_buffer): Add argument.
10775 * target.c (update_current_target): Update.
10776 * remote.c (remote_set_circular_trace_buffer): Add 'self'
10777 argument.
10778
37b25738
TT
107792014-02-19 Tom Tromey <tromey@redhat.com>
10780
10781 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
10782 argument.
10783 (target_set_disconnected_tracing): Add argument.
10784 * target.c (update_current_target): Update.
10785 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
10786
0e67620a
TT
107872014-02-19 Tom Tromey <tromey@redhat.com>
10788
10789 * target.h (struct target_ops)
10790 <to_get_min_fast_tracepoint_insn_len>: Add argument.
10791 (target_get_min_fast_tracepoint_insn_len): Add argument.
10792 * target.c (update_current_target): Update.
10793 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
10794 argument.
10795
88ee6f45
TT
107962014-02-19 Tom Tromey <tromey@redhat.com>
10797
10798 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
10799 argument.
10800 (target_get_raw_trace_data): Add argument.
10801 * target.c (update_current_target): Update.
10802 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
10803
181e3713
TT
108042014-02-19 Tom Tromey <tromey@redhat.com>
10805
10806 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10807 Add argument.
10808 (target_upload_trace_state_variables): Add argument.
10809 * target.c (update_current_target): Update.
10810 * remote.c (remote_upload_trace_state_variables): Add 'self'
10811 argument.
10812 (remote_start_remote): Update.
10813
ab6617cc
TT
108142014-02-19 Tom Tromey <tromey@redhat.com>
10815
10816 * target.h (struct target_ops) <to_upload_tracepoints>: Add
10817 argument.
10818 (target_upload_tracepoints): Add argument.
10819 * target.c (update_current_target): Update.
10820 * remote.c (remote_upload_tracepoints): Add 'self' argument.
10821 (remote_start_remote): Update.
10822
dc3decaf
TT
108232014-02-19 Tom Tromey <tromey@redhat.com>
10824
10825 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
10826 (target_save_trace_data): Add argument.
10827 * target.c (update_current_target): Update.
10828 * remote.c (remote_save_trace_data): Add 'self' argument.
10829
4011015b
TT
108302014-02-19 Tom Tromey <tromey@redhat.com>
10831
10832 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
10833 argument.
10834 * target.h (struct target_ops)
10835 <to_get_trace_state_variable_value>: Add argument.
10836 (target_get_trace_state_variable_value): Add argument.
10837 * target.c (update_current_target): Update.
10838 * remote.c (remote_get_trace_state_variable_value): Add 'self'
10839 argument.
10840 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
10841
bd4c6793
TT
108422014-02-19 Tom Tromey <tromey@redhat.com>
10843
10844 * tracepoint.c (tfile_trace_find): Add 'self' argument.
10845 * target.h (struct target_ops) <to_trace_find>: Add argument.
10846 (target_trace_find): Add argument.
10847 * target.c (update_current_target): Update.
10848 * remote.c (remote_trace_find): Add 'self' argument.
10849 * ctf.c (ctf_trace_find): Add 'self' argument.
10850
74499f1b
TT
108512014-02-19 Tom Tromey <tromey@redhat.com>
10852
10853 * target.h (struct target_ops) <to_trace_stop>: Add argument.
10854 (target_trace_stop): Add argument.
10855 * target.c (update_current_target): Update.
10856 * remote.c (remote_trace_stop): Add 'self' argument.
10857
db90e85c
TT
108582014-02-19 Tom Tromey <tromey@redhat.com>
10859
10860 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
10861 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
10862 argument.
10863 (target_get_tracepoint_status): Add argument.
10864 * target.c (update_current_target): Update.
10865 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
10866
8bd200f1
TT
108672014-02-19 Tom Tromey <tromey@redhat.com>
10868
10869 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
10870 * target.h (struct target_ops) <to_get_trace_status>: Add
10871 argument.
10872 (target_get_trace_status): Add argument.
10873 * target.c (update_current_target): Update.
10874 * remote.c (remote_get_trace_status): Add 'self' argument.
10875 (remote_start_remote, remote_can_download_tracepoint): Update.
10876 * ctf.c (ctf_get_trace_status): Add 'self' argument.
10877
e2d1aae3
TT
108782014-02-19 Tom Tromey <tromey@redhat.com>
10879
10880 * target.h (struct target_ops) <to_trace_start>: Add argument.
10881 (target_trace_start): Add argument.
10882 * target.c (update_current_target): Update.
10883 * remote.c (remote_trace_start): Add 'self' argument.
10884
583f9a86
TT
108852014-02-19 Tom Tromey <tromey@redhat.com>
10886
10887 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10888 Add argument.
10889 (target_trace_set_readonly_regions): Add argument.
10890 * target.c (update_current_target): Update.
10891 * remote.c (remote_trace_set_readonly_regions): Add 'self'
10892 argument.
10893
780b049c
TT
108942014-02-19 Tom Tromey <tromey@redhat.com>
10895
10896 * target.h (struct target_ops) <to_disable_tracepoint>: Add
10897 argument.
10898 (target_disable_tracepoint): Add argument.
10899 * target.c (update_current_target): Update.
10900 * remote.c (remote_disable_tracepoint): Add 'self' argument.
10901
46670d57
TT
109022014-02-19 Tom Tromey <tromey@redhat.com>
10903
10904 * target.h (struct target_ops) <to_enable_tracepoint>: Add
10905 argument.
10906 (target_enable_tracepoint): Add argument.
10907 * target.c (update_current_target): Update.
10908 * remote.c (remote_enable_tracepoint): Add 'self' argument.
10909
559d2b81
TT
109102014-02-19 Tom Tromey <tromey@redhat.com>
10911
10912 * target.h (struct target_ops) <to_download_trace_state_variable>:
10913 Add argument.
10914 (target_download_trace_state_variable): Add argument.
10915 * target.c (update_current_target): Update.
10916 * remote.c (remote_download_trace_state_variable): Add 'self'
10917 argument.
10918
a52a8357
TT
109192014-02-19 Tom Tromey <tromey@redhat.com>
10920
10921 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
10922 argument.
10923 (target_can_download_tracepoint): Add argument.
10924 * target.c (update_current_target): Update.
10925 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
10926
548f7808
TT
109272014-02-19 Tom Tromey <tromey@redhat.com>
10928
10929 * target.h (struct target_ops) <to_download_tracepoint>: Add
10930 argument.
10931 (target_download_tracepoint): Add argument.
10932 * target.c (update_current_target): Update.
10933 * remote.c (remote_download_tracepoint): Add 'self' argument.
10934
ecae04e1
TT
109352014-02-19 Tom Tromey <tromey@redhat.com>
10936
10937 * target.h (struct target_ops) <to_trace_init>: Add argument.
10938 (target_trace_init): Add argument.
10939 * target.c (update_current_target): Update.
10940 * remote.c (remote_trace_init): Add 'self' argument.
10941
fab5aa7c
TT
109422014-02-19 Tom Tromey <tromey@redhat.com>
10943
10944 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
10945 * target.c (target_fileio_readlink): Add argument.
10946 * remote.c (remote_hostio_readlink): Add 'self' argument.
10947 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
10948
dbbca37d
TT
109492014-02-19 Tom Tromey <tromey@redhat.com>
10950
10951 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
10952 * target.c (target_fileio_unlink): Add argument.
10953 * remote.c (remote_hostio_unlink): Add 'self' argument.
10954 (remote_file_delete): Update.
10955 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
10956
df39ea25
TT
109572014-02-19 Tom Tromey <tromey@redhat.com>
10958
10959 * target.h (struct target_ops) <to_fileio_close>: Add argument.
10960 * target.c (target_fileio_close): Add argument.
10961 * remote.c (remote_hostio_close): Add 'self' argument.
10962 (remote_hostio_close_cleanup): Update.
10963 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
10964 Update.
10965 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
10966
a3be983c
TT
109672014-02-19 Tom Tromey <tromey@redhat.com>
10968
10969 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
10970 * target.c (target_fileio_pread): Add argument.
10971 * remote.c (remote_hostio_pread): Add 'self' argument.
10972 (remote_bfd_iovec_pread, remote_file_get): Update.
10973 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
10974
0d866f62
TT
109752014-02-19 Tom Tromey <tromey@redhat.com>
10976
10977 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
10978 * target.c (target_fileio_pwrite): Add argument.
10979 * remote.c (remote_hostio_pwrite): Add 'self' argument.
10980 (remote_file_put): Update.
10981 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
10982
cd897586
TT
109832014-02-19 Tom Tromey <tromey@redhat.com>
10984
10985 * target.h (struct target_ops) <to_fileio_open>: Add argument.
10986 * target.c (target_fileio_open): Add argument.
10987 * remote.c (remote_hostio_open): Add 'self' argument.
10988 (remote_bfd_iovec_open): Add 'self' argument.
10989 (remote_file_put): Add 'self' argument.
10990 (remote_file_get): Add 'self' argument.
10991 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
10992
78eff0ec
TT
109932014-02-19 Tom Tromey <tromey@redhat.com>
10994
10995 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10996 Add argument.
10997 (target_can_run_breakpoint_commands): Add argument.
10998 * target.c (update_current_target): Update.
10999 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
11000 argument.
11001 (remote_insert_breakpoint): Add 'self' argument.
11002 (remote_insert_hw_breakpoint): Add 'self' argument.
11003 (remote_can_run_breakpoint_commands): Add 'self' argument.
11004
efcc2da7
TT
110052014-02-19 Tom Tromey <tromey@redhat.com>
11006
11007 * target.h (struct target_ops)
11008 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
11009 (target_supports_evaluation_of_breakpoint_conditions): Add
11010 argument.
11011 * target.c (update_current_target): Update.
11012 * remote.c (remote_supports_cond_breakpoints): Add 'self'
11013 argument.
11014 (remote_insert_breakpoint): Add 'self' argument.
11015 (remote_insert_hw_breakpoint): Add 'self' argument.
11016 (remote_supports_cond_breakpoints): Add 'self' argument.
11017
6de37a3a
TT
110182014-02-19 Tom Tromey <tromey@redhat.com>
11019
11020 * target.h (struct target_ops) <to_supports_string_tracing>: Add
11021 argument.
11022 (target_supports_string_tracing): Add argument.
11023 * target.c (update_current_target): Update.
11024 * remote.c (remote_supports_string_tracing): Add 'self' argument.
11025
2bfc0540
TT
110262014-02-19 Tom Tromey <tromey@redhat.com>
11027
11028 * target.h (struct target_ops)
11029 <to_supports_disable_randomization>: Add argument.
11030 * target.c (find_default_supports_disable_randomization): Add
11031 argument.
11032 (target_supports_disable_randomization): Add argument.
11033 (find_default_supports_disable_randomization): Add 'self'
11034 argument.
11035 * remote.c (extended_remote_supports_disable_randomization): Add
11036 'self' argument.
11037 (remote_supports_disable_randomization): Add 'self' argument.
11038 (extended_remote_create_inferior): Update.
11039 * linux-nat.c (linux_nat_supports_disable_randomization): Add
11040 'self' argument.
11041
7d178d6a
TT
110422014-02-19 Tom Tromey <tromey@redhat.com>
11043
11044 * target.h (struct target_ops)
11045 <to_supports_enable_disable_tracepoint>: Add argument.
11046 (target_supports_enable_disable_tracepoint): Add argument.
11047 * target.c (update_current_target): Update.
11048 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
11049 argument.
11050
86ce2668
TT
110512014-02-19 Tom Tromey <tromey@redhat.com>
11052
11053 * target.h (struct target_ops) <to_supports_multi_process>: Add
11054 argument.
11055 (target_supports_multi_process): Add argument.
11056 * target.c (update_current_target): Update.
11057 * remote.c (remote_supports_multi_process): Add 'self' argument.
11058 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
11059 argument.
11060 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
11061 argument.
11062
4c612759
TT
110632014-02-19 Tom Tromey <tromey@redhat.com>
11064
11065 * target.h (struct target_ops) <to_execution_direction>: Add
11066 argument.
11067 (target_execution_direction): Add argument.
11068 * target.c (default_execution_direction): Add 'self' argument.
11069 * record-full.c (record_full_execution_direction): Add 'self'
11070 argument.
11071
19db3e69
TT
110722014-02-19 Tom Tromey <tromey@redhat.com>
11073
11074 * target.h (struct target_ops) <to_can_execute_reverse>: Add
11075 argument.
11076 (target_can_execute_reverse): Add argument.
11077 * remote.c (remote_can_execute_reverse): Add 'self' argument.
11078 * record-full.c (record_full_can_execute_reverse): Add 'self'
11079 argument.
11080 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
11081 argument.
11082
1e6b91a4
TT
110832014-02-19 Tom Tromey <tromey@redhat.com>
11084
11085 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
11086 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
11087 argument.
11088 (target_get_ada_task_ptid): Add argument.
11089 * target.c (update_current_target): Update.
11090 (default_get_ada_task_ptid): Add 'self' argument.
11091 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
11092 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
11093 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
11094 argument.
11095 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
11096 argument.
11097 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
11098 argument.
11099 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
11100 argument.
11101 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
11102 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
11103 argument.
11104
3c80fb48
TT
111052014-02-19 Tom Tromey <tromey@redhat.com>
11106
11107 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
11108 (target_goto_bookmark): Add argument.
11109 * target.c (dummy_goto_bookmark): Add 'self' argument.
11110 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
11111
dd0e2830
TT
111122014-02-19 Tom Tromey <tromey@redhat.com>
11113
11114 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
11115 (target_get_bookmark): Add argument.
11116 * target.c (dummy_get_bookmark): Add 'self' argument.
11117 * record-full.c (record_full_get_bookmark): Add 'self' argument.
11118
fc6691b2
TT
111192014-02-19 Tom Tromey <tromey@redhat.com>
11120
11121 * target.h (struct target_ops) <to_make_corefile_notes>: Add
11122 argument.
11123 (target_make_corefile_notes): Add argument.
11124 * target.c (dummy_make_corefile_notes): Add 'self' argument.
11125 * procfs.c (procfs_make_note_section): Add 'self' argument.
11126 (procfs_make_note_section): Add 'self' argument.
11127 (procfs_make_note_section): Add 'self' argument.
11128 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
11129 argument.
11130 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
11131 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
11132 * exec.c (exec_make_note_section): Add 'self' argument.
11133 (exec_make_note_section): Add 'self' argument.
11134
2e73927c
TT
111352014-02-19 Tom Tromey <tromey@redhat.com>
11136
11137 * target.h (struct target_ops) <to_find_memory_regions>: Add
11138 argument.
11139 (target_find_memory_regions): Add argument.
11140 * target.c (dummy_find_memory_regions): Add 'self' argument.
11141 * procfs.c (proc_find_memory_regions): Add 'self' argument.
11142 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
11143 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
11144 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
11145 * exec. (exec_do_find_memory_regions): New global.
11146 (exec_set_find_memory_regions): Rewrite.
11147 (exec_find_memory_regions): New function.
11148 (init_exec_ops): Use exec_find_memory_regions.
11149
2a9a2795
TT
111502014-02-19 Tom Tromey <tromey@redhat.com>
11151
11152 * target.h (struct target_ops) <to_supports_non_stop>: Add
11153 argument.
11154 * target.c (find_default_supports_non_stop): Add argument.
11155 (target_supports_non_stop): Add argument.
11156 (find_default_supports_non_stop): Add 'self' argument.
11157 * remote.c (remote_supports_non_stop): Add 'self' argument.
11158 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
11159
4ab76ea3
TT
111602014-02-19 Tom Tromey <tromey@redhat.com>
11161
11162 * target.h (struct target_ops) <to_log_command>: Add argument.
11163 (target_log_command): Add argument.
11164 * serial.h (serial_log_command): Add 'self' argument.
11165 * serial.c (serial_log_command): Add 'self' argument.
11166
8dd27370
TT
111672014-02-19 Tom Tromey <tromey@redhat.com>
11168
11169 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
11170 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
11171 argument.
11172 (target_pid_to_exec_file): Add argument.
11173 * target.c (debug_to_pid_to_exec_file): Add argument.
11174 (update_current_target): Update.
11175 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
11176 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
11177 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
11178 (linux_handle_extended_wait): Update.
11179 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
11180 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
11181 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
11182 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
11183
1aac633b
TT
111842014-02-19 Tom Tromey <tromey@redhat.com>
11185
11186 * target.h (struct target_ops) <to_rcmd>: Add argument.
11187 (target_rcmd): Add argument.
11188 * target.c (debug_to_rcmd): Add argument.
11189 (update_current_target, do_monitor_command): Update.
11190 * remote.c (remote_rcmd): Add 'self' argument.
11191 * monitor.c (monitor_rcmd): Add 'self' argument.
11192
1eab8a48
TT
111932014-02-19 Tom Tromey <tromey@redhat.com>
11194
11195 * windows-nat.c (windows_stop): Add 'self' argument.
11196 * target.h (struct target_ops) <to_stop>: Add argument.
11197 * target.c (target_stop): Add argument.
11198 (debug_to_stop): Add argument.
11199 (update_current_target): Update.
11200 * remote.c (remote_stop): Add 'self' argument.
11201 * remote-sim.c (gdbsim_stop): Add 'self' argument.
11202 (gdbsim_cntrl_c): Update.
11203 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
11204 * procfs.c (procfs_stop): Add 'self' argument.
11205 * nto-procfs.c (procfs_stop): Add 'self' argument.
11206 * monitor.c (monitor_stop): Add 'self' argument.
11207 (monitor_open): Update.
11208 * linux-nat.c (linux_nat_stop): Add argument.
11209 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
11210 * gnu-nat.c (gnu_stop): Add 'self' argument.
11211 * darwin-nat.c (darwin_stop): Add 'self' argument.
11212
503a628d
TT
112132014-02-19 Tom Tromey <tromey@redhat.com>
11214
11215 * target.h (struct target_ops) <to_thread_name>: Add argument.
11216 * target.c (target_thread_name): Add argument.
11217 (update_current_target): Update.
11218 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
11219
c15906d8
TT
112202014-02-19 Tom Tromey <tromey@redhat.com>
11221
11222 * target.h (struct target_ops) <to_extra_thread_info>: Add
11223 argument.
11224 (target_extra_thread_info): Add argument.
11225 * target.c (update_current_target): Update.
11226 * remote.c (remote_threads_extra_info): Add 'self' argument.
11227 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
11228 argument.
11229 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
11230 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
11231 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
11232 argument.
11233 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
11234 argument.
11235 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
11236 argument.
11237 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
11238 argument.
11239
daf5e9b6
TT
112402014-02-19 Tom Tromey <tromey@redhat.com>
11241
11242 * target.h (struct target_ops) <to_program_signals>: Add argument.
11243 * target.c (target_program_signals): Add argument.
11244 * remote.c (remote_program_signals): Add 'self' argument.
11245
94bedb42
TT
112462014-02-19 Tom Tromey <tromey@redhat.com>
11247
11248 * target.h (struct target_ops) <to_pass_signals>: Add argument.
11249 * target.c (target_pass_signals): Add argument.
11250 * remote.c (remote_pass_signals): Add 'self' argument.
11251 (remote_start_remote): Update.
11252 * procfs.c (procfs_pass_signals): Add 'self' argument.
11253 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
11254 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
11255 (linux_nat_create_inferior, linux_nat_attach): Update.
11256
da82bd6b
TT
112572014-02-19 Tom Tromey <tromey@redhat.com>
11258
11259 * windows-nat.c (windows_can_run): Add 'self' argument.
11260 * target.h (struct target_ops) <to_can_run>: Add argument.
11261 (target_can_run): Add argument.
11262 * target.c (debug_to_can_run): Add argument.
11263 (update_current_target): Update.
11264 * nto-procfs.c (procfs_can_run): Add 'self' argument.
11265 * inf-child.c (inf_child_can_run): Add 'self' argument.
11266 * go32-nat.c (go32_can_run): Add 'self' argument.
11267
d796e1d6
TT
112682014-02-19 Tom Tromey <tromey@redhat.com>
11269
11270 * target.h (struct target_ops) <to_has_exited>: Add argument.
11271 (target_has_exited): Add argument.
11272 * target.c (debug_to_has_exited): Add argument.
11273 (update_current_target): Update.
11274
ff214e67
TT
112752014-02-19 Tom Tromey <tromey@redhat.com>
11276
11277 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
11278 argument.
11279 (target_set_syscall_catchpoint): Add argument.
11280 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
11281 argument.
11282 * target.c (update_current_target): Update.
11283
758e29d2
TT
112842014-02-19 Tom Tromey <tromey@redhat.com>
11285
11286 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
11287 argument.
11288 (target_remove_exec_catchpoint): Add argument.
11289 * target.c (debug_to_remove_exec_catchpoint): Add argument.
11290 (update_current_target): Update.
11291 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
11292 argument.
11293
ba025e51
TT
112942014-02-19 Tom Tromey <tromey@redhat.com>
11295
11296 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
11297 argument.
11298 (target_insert_exec_catchpoint): Add argument.
11299 * target.c (debug_to_insert_exec_catchpoint): Add argument.
11300 (update_current_target): Update.
11301 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
11302 argument.
11303
e98cf0cd
TT
113042014-02-19 Tom Tromey <tromey@redhat.com>
11305
11306 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
11307 argument.
11308 (target_remove_vfork_catchpoint): Add argument.
11309 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
11310 (update_current_target): Update.
11311 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
11312 argument.
11313
3ecc7da0
TT
113142014-02-19 Tom Tromey <tromey@redhat.com>
11315
11316 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
11317 argument.
11318 (target_insert_vfork_catchpoint): Add argument.
11319 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
11320 (update_current_target): Update.
11321 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
11322 argument.
11323
973fc227
TT
113242014-02-19 Tom Tromey <tromey@redhat.com>
11325
11326 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
11327 argument.
11328 (target_remove_fork_catchpoint): Add argument.
11329 * target.c (debug_to_remove_fork_catchpoint): Add argument.
11330 (update_current_target): Update.
11331 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
11332 argument.
11333
a863b201
TT
113342014-02-19 Tom Tromey <tromey@redhat.com>
11335
11336 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
11337 argument.
11338 (target_insert_fork_catchpoint): Add argument.
11339 * target.c (debug_to_insert_fork_catchpoint): Add argument.
11340 (update_current_target): Update.
11341 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
11342 argument.
11343
2e97a79e
TT
113442014-02-19 Tom Tromey <tromey@redhat.com>
11345
11346 * target.h (struct target_ops) <to_post_startup_inferior>: Add
11347 argument.
11348 (target_post_startup_inferior): Add argument.
11349 * target.c (debug_to_post_startup_inferior): Add argument.
11350 (update_current_target): Update.
11351 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
11352 argument.
11353 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
11354 argument.
11355 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
11356 argument.
11357 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
11358 argument.
11359 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
11360 'self' argument.
11361 (super_post_startup_inferior): Likewise.
11362 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
11363 'self' argument.
11364 (super_post_startup_inferior): Likewise.
11365 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
11366 Add 'self' argument.
11367 (super_post_startup_inferior): Likewise.
11368
71a9f134
TT
113692014-02-19 Tom Tromey <tromey@redhat.com>
11370
11371 * target.h (struct target_ops) <to_load>: Add argument.
11372 * target.c (target_load): Add argument.
11373 (debug_to_load): Add argument.
11374 (update_current_target): Update.
11375 * remote.c (remote_load): Add 'self' argument.
11376 * remote-sim.c (gdbsim_load): Add 'self' argument.
11377 * remote-mips.c (mips_load): Add 'self' argument.
11378 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
11379 * monitor.c (monitor_load): Add 'self' argument.
11380 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
11381
0a4f40a2
TT
113822014-02-19 Tom Tromey <tromey@redhat.com>
11383
11384 * target.h (struct target_ops) <to_terminal_info>: Add argument.
11385 (target_terminal_info): Add argument.
11386 * target.c (debug_to_terminal_info): Add argument.
11387 (default_terminal_info): Likewise.
11388 * inflow.c (child_terminal_info): Add 'self' argument.
11389 * inferior.h (child_terminal_info): Add 'self' argument.
11390 * go32-nat.c (go32_terminal_info): Add 'self' argument.
11391
ae3bd431
TT
113922014-02-19 Tom Tromey <tromey@redhat.com>
11393
11394 * target.h (struct target_ops) <to_terminal_save_ours>: Add
11395 argument.
11396 (target_terminal_save_ours): Add argument.
11397 * target.c (debug_to_terminal_save_ours): Add argument.
11398 (update_current_target): Update.
11399 * inflow.c (terminal_save_ours): Add 'self' argument.
11400 * inferior.h (terminal_save_ours): Add 'self' argument.
11401
e3594fd1
TT
114022014-02-19 Tom Tromey <tromey@redhat.com>
11403
11404 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
11405 (target_terminal_ours): Add argument.
11406 * target.c (debug_to_terminal_ours): Add argument.
11407 (update_current_target): Update.
11408 * remote.c (remote_terminal_ours): Add 'self' argument.
11409 (remote_close): Update.
11410 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
11411 * inflow.c (terminal_ours): Add 'self' argument.
11412 * inferior.h (terminal_ours): Add 'self' argument.
11413 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11414
2e1e1a19
TT
114152014-02-19 Pedro Alves <palves@redhat.com>
11416 Tom Tromey <tromey@redhat.com>
11417
11418 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
11419 argument.
11420 (target_terminal_ours_for_output): Add argument.
11421 * target.c (debug_to_terminal_ours_for_output): Add argument.
11422 (update_current_target): Update.
11423 * inflow.c (terminal_ours_for_output): Add 'self' argument.
11424 * inferior.h (terminal_ours_for_output): Add 'self' argument.
11425 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11426
d2f640d4
TT
114272014-02-19 Tom Tromey <tromey@redhat.com>
11428
11429 * target.h (struct target_ops) <to_terminal_inferior>: Add
11430 argument.
11431 * target.c (target_terminal_inferior): Add argument.
11432 (update_current_target): Update.
11433 * remote.c (remote_terminal_inferior): Add 'self' argument.
11434 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
11435 * inflow.c (terminal_inferior): Add 'self' argument.
11436 * inferior.h (terminal_inferior): Add 'self' argument.
11437 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
11438 (go32_terminal_inferior): Add 'self' argument.
11439
c42bf286
TT
114402014-02-19 Tom Tromey <tromey@redhat.com>
11441
11442 * target.h (struct target_ops) <to_terminal_init>: Add argument.
11443 (target_terminal_init): Add argument.
11444 * target.c (debug_to_terminal_init): Add argument.
11445 (update_current_target): Update.
11446 * inflow.c (terminal_init_inferior): Add 'self' argument.
11447 * inferior.h (terminal_init_inferior): Add 'self' argument.
11448 * go32-nat.c (go32_terminal_init): Add 'self' argument.
11449 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
11450
c3a5ff89
TT
114512014-02-19 Tom Tromey <tromey@redhat.com>
11452
11453 * target.h (struct target_ops)
11454 <to_can_accel_watchpoint_condition>: Add argument.
11455 (target_can_accel_watchpoint_condition): Add argument.
11456 * target.c (debug_to_can_accel_watchpoint_condition): Add
11457 argument.
11458 (update_current_target): Update.
11459 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
11460 'self' argument.
11461
31568a15
TT
114622014-02-19 Tom Tromey <tromey@redhat.com>
11463
11464 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11465 Add argument.
11466 (target_region_ok_for_hw_watchpoint): Add argument.
11467 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
11468 (default_region_ok_for_hw_watchpoint): Add argument.
11469 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
11470 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
11471 argument.
11472 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
11473 argument.
11474 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
11475 argument.
11476 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
11477 'self' argument.
11478 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
11479 'self' argument.
11480 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
11481 'self' argument.
11482 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
11483 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
11484 'self' argument.
11485 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
11486 Add 'self' argument.
11487
7bb99c53
TT
114882014-02-19 Tom Tromey <tromey@redhat.com>
11489
11490 * target.h (struct target_ops) <to_insert_watchpoint>: Add
11491 argument.
11492 (target_insert_watchpoint): Add argument.
11493 * target.c (debug_to_insert_watchpoint): Add argument.
11494 (update_current_target): Update.
11495 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
11496 * remote.c (remote_insert_watchpoint): Add 'self' argument.
11497 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
11498 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
11499 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
11500 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
11501 argument.
11502 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
11503 (procfs_insert_hw_watchpoint): Add 'self' argument.
11504 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
11505 argument.
11506 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
11507 argument.
11508 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
11509 argument.
11510 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
11511 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
11512 argument.
11513 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
11514 'self' argument.
11515
11b5219a
TT
115162014-02-19 Tom Tromey <tromey@redhat.com>
11517
11518 * target.h (struct target_ops) <to_remove_watchpoint>: Add
11519 argument.
11520 (target_remove_watchpoint): Add argument.
11521 * target.c (debug_to_remove_watchpoint): Add argument.
11522 (update_current_target): Update.
11523 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
11524 * remote.c (remote_remove_watchpoint): Add 'self' argument.
11525 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
11526 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
11527 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
11528 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
11529 argument.
11530 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
11531 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
11532 argument.
11533 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
11534 argument.
11535 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
11536 argument.
11537 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
11538 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
11539 argument.
11540 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
11541 'self' argument.
11542
a64dc96c
TT
115432014-02-19 Tom Tromey <tromey@redhat.com>
11544
11545 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
11546 argument.
11547 (target_remove_hw_breakpoint): Add argument.
11548 * target.c (debug_to_remove_hw_breakpoint): Add argument.
11549 (update_current_target): Update.
11550 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
11551 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
11552 argument.
11553 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
11554 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
11555 argument.
11556 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
11557 'self' argument.
11558
23a26771
TT
115592014-02-19 Tom Tromey <tromey@redhat.com>
11560
11561 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
11562 argument.
11563 (target_insert_hw_breakpoint): Add argument.
11564 * target.c (debug_to_insert_hw_breakpoint): Add argument.
11565 (update_current_target): Update.
11566 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
11567 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
11568 argument.
11569 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
11570 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
11571 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
11572 argument.
11573 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
11574 'self' argument.
11575
5461485a
TT
115762014-02-19 Tom Tromey <tromey@redhat.com>
11577
11578 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
11579 argument.
11580 (target_can_use_hardware_watchpoint): Add argument.
11581 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
11582 (update_current_target): Update.
11583 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
11584 argument.
11585 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
11586 argument.
11587 * remote.c (remote_check_watch_resources): Add 'self' argument.
11588 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
11589 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
11590 argument.
11591 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
11592 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
11593 argument.
11594 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
11595 argument.
11596 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
11597 argument.
11598 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
11599 argument.
11600 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
11601 argument.
11602 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
11603 argument.
11604 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
11605 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
11606 argument.
11607 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
11608 'self' argument.
11609
f045800c
TT
116102014-02-19 Tom Tromey <tromey@redhat.com>
11611
11612 * target.h (struct target_ops) <to_post_attach>: Add argument.
11613 (target_post_attach): Add argument.
11614 * target.c (debug_to_post_attach): Add argument.
11615 (update_current_target): Update.
11616 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
11617 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
11618 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
11619 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
11620 * inf-child.c (inf_child_post_attach): Add 'self' argument.
11621
de90e03d
TT
116222014-02-19 Tom Tromey <tromey@redhat.com>
11623
11624 * windows-nat.c (windows_close): Add 'self' argument.
11625 * tracepoint.c (tfile_close): Add 'self' argument.
11626 * target.h (struct target_ops) <to_close>: Add argument.
11627 * target.c (target_close): Add argument.
11628 (update_current_target): Update.
11629 * remote.c (remote_close): Add 'self' argument.
11630 * remote-sim.c (gdbsim_close): Add 'self' argument.
11631 * remote-mips.c (mips_close): Add 'self' argument.
11632 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
11633 * record-full.c (record_full_close): Add 'self' argument.
11634 * record-btrace.c (record_btrace_close): Add 'self' argument.
11635 * monitor.h (monitor_close): Add 'self' argument.
11636 * monitor.c (monitor_close): Add 'self' argument.
11637 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
11638 * linux-nat.c (linux_nat_close): Add argument.
11639 * go32-nat.c (go32_close): Add 'self' argument.
11640 * exec.c (exec_close_1): Add 'self' argument.
11641 * ctf.c (ctf_close): Add 'self' argument.
11642 * corelow.c (core_close): Add 'self' argument.
11643 (core_close_cleanup): Update.
11644 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
11645 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
11646
9dd130a0
TT
116472014-02-19 Tom Tromey <tromey@redhat.com>
11648
11649 * remote.c (remote_load): New function.
11650 (init_remote_ops): Use it.
11651
46917d26
TT
116522014-02-19 Tom Tromey <tromey@redhat.com>
11653
11654 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
11655 argument.
11656 * common/linux-btrace.h (linux_supports_btrace): Update.
11657 * remote.c (remote_supports_btrace): Add "self" argument.
11658 * target-delegates.c: Rebuild.
11659 * target.c (target_supports_btrace): Remove.
11660 * target.h (struct target_ops) <to_supports_btrace>: Add
11661 target_ops argument.
11662 (target_supports_btrace): New define.
11663
6b84065d
TT
116642014-02-19 Tom Tromey <tromey@redhat.com>
11665
11666 * record-full.c (record_full_beneath_to_resume_ops)
11667 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
11668 (record_full_beneath_to_wait)
11669 (record_full_beneath_to_store_registers_ops)
11670 (record_full_beneath_to_store_registers)
11671 (record_full_beneath_to_xfer_partial_ops)
11672 (record_full_beneath_to_xfer_partial)
11673 (record_full_beneath_to_insert_breakpoint_ops)
11674 (record_full_beneath_to_insert_breakpoint)
11675 (record_full_beneath_to_remove_breakpoint_ops)
11676 (record_full_beneath_to_remove_breakpoint)
11677 (record_full_beneath_to_stopped_by_watchpoint)
11678 (record_full_beneath_to_stopped_data_address)
11679 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
11680 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
11681 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
11682 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
11683 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
11684 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
11685 (tmp_to_stopped_data_address, tmp_to_async): Remove.
11686 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
11687 (record_full_resume, record_full_wait_1)
11688 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
11689 (record_full_store_registers, record_full_xfer_partial)
11690 (record_full_insert_breakpoint, record_full_remove_breakpoint)
11691 (record_full_async, record_full_core_xfer_partial): Use target
11692 delegation.
11693 * target-delegates.c: Rebuild.
11694 * target.c (current_xfer_partial): Remove.
11695 (update_current_target): Do not INHERIT or de_fault
11696 to_insert_breakpoint, to_remove_breakpoint,
11697 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
11698 to_is_async_p, to_async. Do not set to_xfer_partial field.
11699 (default_xfer_partial): Simplify.
11700 (current_xfer_partial): Remove.
11701 (target_wait, target_resume): Simplify.
11702 (find_default_can_async_p, find_default_is_async_p): Update.
11703 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
11704 to_xfer_partial, to_stopped_by_watchpoint,
11705 to_stopped_data_address.
11706 (target_store_registers): Simplify.
11707 (forward_target_remove_breakpoint)
11708 (forward_target_insert_breakpoint): Remove.
11709 (target_remove_breakpoint, target_insert_breakpoint)
11710 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
11711 * target.h (struct target_ops) <to_resume, to_wait,
11712 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
11713 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
11714 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
11715 markup.
11716 (forward_target_remove_breakpoint)
11717 (forward_target_insert_breakpoint): Remove.
11718 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
11719 directly.
11720 (record_btrace_insert_breakpoint): Delegate directly.
11721
1101cb7b
TT
117222014-02-19 Tom Tromey <tromey@redhat.com>
11723
11724 PR build/7701:
11725 * target-delegates.c: New file.
11726 * target.c: Include target-delegates.c.
11727 (init_dummy_target): Call install_dummy_methods.
11728 (complete_target_initialization): Call install_delegators.
11729 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
11730 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
11731 * make-target-delegates: New file.
11732
8b06beed
TT
117332014-02-19 Tom Tromey <tromey@redhat.com>
11734
11735 * record.c (find_record_target): Use find_target_at.
11736 * target.c (find_target_at): New function.
11737 * target.h (find_target_at): Declare.
11738
6a109b6b
TT
117392014-02-19 Tom Tromey <tromey@redhat.com>
11740
11741 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
11742 Add 'ops' argument.
11743 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
11744 'ops' argument.
11745 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
11746 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
11747 'ops' argument.
11748 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
11749 argument.
11750 * linux-nat.c (save_sigtrap): Update.
11751 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
11752 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
11753 (linux_nat_close): Update.
11754 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
11755 argument.
11756 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
11757 argument.
11758 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
11759 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
11760 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
11761 (tmp_to_async): Add 'ops' argument.
11762 (record_full_stopped_by_watchpoint, record_full_async)
11763 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
11764 argument.
11765 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
11766 (m32r_stopped_by_watchpoint): Add 'ops' argument.
11767 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
11768 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
11769 (remote_is_async_p, remote_async): Add 'ops' argument.
11770 (remote_stopped_data_address): Update.
11771 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
11772 * target.c (update_current_target)
11773 (find_default_can_async_p, find_default_is_async_p): Update.
11774 (init_dummy_target): Update.
11775 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
11776 * target.h (struct target_ops) <to_stopped_by_watchpoint,
11777 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
11778 (target_can_async_p, target_is_async_p, target_async)
11779 (target_stopped_by_watchpoint): Update.
11780
e095146b
YQ
117812014-02-19 Yao Qi <yao@codesourcery.com>
11782
11783 PR gdb/16220
11784 * gdbarch.sh: Remove startup_gdbarch.
11785 * gdbarch.c: Regenerated.
11786 * gdbarch.h: Likewise.
11787
bc3c6b36
KB
117882014-02-17 Kevin Buettner <kevinb@redhat.com>
11789
11790 * rl78-tdep.c (rl78_g10_register_name): New function.
11791 (rl78_return_value): Add g10 support.
11792 (rl78_gdbarch_init): Register rl78_g10_register_name for the
11793 g10.
11794
98dc0167 117952014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
11796
11797 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
11798 (SUBDIR_GUILE_SRCS): Ditto.
11799 (scm-gsmob.o): Ditto.
11800
842c05cd
YQ
118012014-02-17 Yao Qi <yao@codesourcery.com>
11802
11803 * gnu-nat.c (ILL_RPC): Declare defined function.
11804
25c0bd04
YQ
118052014-02-17 Yao Qi <yao@codesourcery.com>
11806
11807 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
11808 mach_msg_type_number_t.
11809 (gnu_write_inferior): Likewise.
11810
a9a758e3
YQ
118112014-02-17 Yao Qi <yao@codesourcery.com>
11812
11813 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
11814 in format string.
11815 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
11816 (inf_validate_procs, inf_signal): Likewise.
11817 (S_exception_raise_request): Likewise.
11818 (do_mach_notify_dead_name): Likewise.
11819 (steal_exc_port): Likewise.
11820 (gnu_read_inferior): Change 'copy_count''s type to
11821 mach_msg_type_number_t.
11822 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
11823 format string.
11824
bae8023e
TS
118252014-02-16 Thomas Schwinge <thomas@codesourcery.com>
11826
c82f56d9
TS
11827 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
11828 flag. Adjust all users; in particular...
11829 (gnu_wait): ..., don't decrement its value in here...
11830 (gnu_create_inferior): ..., and instead set the flag in here,
11831 around the startup_inferior call, and call that one with
11832 START_INFERIOR_TRAPS_EXPECTED.
11833
3398af6a
TS
11834 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
11835 (ILL_RPC): ... new macro.
11836 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
11837 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
11838 (do_mach_notify_send_once, S_proc_setmsgport_reply)
11839 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
11840 functions with ILL_RPC macro.
11841 (S_proc_pid2task_reply, S_proc_task2pid_reply)
11842 (S_proc_task2proc_reply, S_proc_proc2task_reply)
11843 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
11844 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
11845 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
11846 (S_proc_getlogin_reply, S_proc_getsid_reply)
11847 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
11848 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
11849 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
11850 (S_proc_getnports_reply, S_proc_is_important_reply)
11851 (S_proc_get_code_reply): New stub functions, generated with
11852 ILL_RPC macro.
11853
d47642c9
TS
11854 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
11855 collected the type check structures.
11856
bae8023e
TS
11857 * reply_mig_hack.awk: Don't expect to see the auto keyword.
11858
8a55ffb0
DE
118592014-02-14 Doug Evans <dje@google.com>
11860
11861 * target.c (target_write_partial): Fix result type.
11862
c2853f3d
JM
118632014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
11864
11865 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
11866 the proper offsets to access fpregset_t.
11867
ac61d2db
SA
118682014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
11869
11870 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
11871 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
11872 * h8300-tdep.c (setmachinelist): Remove global.
11873 * hppa-tdep.c (hppa_sigtramp): Remove global.
11874 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
11875 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
11876 * ravenscar-thread.c (update_target_observer): Remove global.
11877 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
11878
9d2d0b8b
TT
118792014-02-12 Tom Tromey <tromey@redhat.com>
11880
11881 * common/rsp-low.c: Update comments.
11882 * common/rsp-low.h: Update comments.
11883
a7191e8b
TT
118842014-02-12 Tom Tromey <tromey@redhat.com>
11885
11886 * common/rsp-low.c (convert_ascii_to_int): Remove.
11887 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
11888
ff0e980e
TT
118892014-02-12 Tom Tromey <tromey@redhat.com>
11890
11891 * common/rsp-low.h (unhexify): Don't declare.
11892 * common/rsp-low.c (unhexify): Remove.
11893
e9371aff
TT
118942014-02-12 Tom Tromey <tromey@redhat.com>
11895
11896 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
11897 * common/rsp-low.c (convert_int_to_ascii): Remove.
11898
971dc0b8
TT
118992014-02-12 Tom Tromey <tromey@redhat.com>
11900
11901 * common/rsp-low.h (hexify): Don't declare.
11902 * common/rsp-low.c (hexify): Remove.
11903
0a822afb
TT
119042014-02-12 Tom Tromey <tromey@redhat.com>
11905
11906 * common/rsp-low.c (hexify): Never take strlen of argument.
11907
9f1b45b0
TT
119082014-02-12 Tom Tromey <tromey@redhat.com>
11909
11910 * common/rsp-low.c (bin2hex): Never take strlen of argument.
11911 * remote.c (extended_remote_run, remote_rcmd)
11912 (remote_download_trace_state_variable, remote_save_trace_data)
11913 (remote_set_trace_notes): Update.
11914 * tracepoint.c (encode_source_string, tfile_write_status)
11915 (tfile_write_uploaded_tsv): Update.
11916
9c3d6531
TT
119172014-02-12 Tom Tromey <tromey@redhat.com>
11918
11919 * tracepoint.c: Include rsp-low.h.
11920 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
11921 * remote.c: Include rsp-low.h.
11922 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
11923 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
11924 (remote_unescape_input): Move to common/rsp-low.c.
11925 * common/rsp-low.h: New file.
11926 * common/rsp-low.c: New file.
11927 * Makefile.in (SFILES): Add common/rsp-low.c.
11928 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
11929 (COMMON_OBS): Add rsp-low.o.
11930 (rsp-low.o): New target.
11931
01fd3ea5
TT
119322014-02-12 Tom Tromey <tromey@redhat.com>
11933
11934 * utils.h: Include print-utils.h.
11935 (host_address_to_string, plongest, pulongest, phex, phex_nz)
11936 (int_string, core_addr_to_string, core_addr_to_string_nz)
11937 (hex_string, hex_string_custom): Don't declare.
11938 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
11939 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
11940 (hex_string_custom, int_string, core_addr_to_string)
11941 (core_addr_to_string_nz, host_address_to_string): Move to
11942 common/print-utils.c.
11943 * common/print-utils.h: New file.
11944 * common/print-utils.c: New file
11945 * Makefile.in (SFILES): Add common/print-utils.c.
11946 (HFILES_NO_SRCDIR): Add common/print-utils.h.
11947 (COMMON_OBS): Add print-utils.o.
11948 (print-utils.o): New target.
11949
9fb50108
TT
119502014-02-12 Tom Tromey <tromey@redhat.com>
11951
11952 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
11953
0548b5db
MK
119542014-02-12 Mark Kettenis <kettenis@gnu.org>
11955
11956 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
11957
493443a4
MK
119582014-02-12 Mark Kettenis <kettenis@gnu.org>
11959
11960 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
11961 if a PT_IO ptrace request returns sucessfully but indicates that 0
11962 bytes were transferred.
11963
706d0883
PA
119642014-02-12 Pedro Alves <palves@redhat.com>
11965 Kevin Buettner <kevinb@redhat.com>
11966
11967 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
11968 TYPE_INSTANCE_FLAG_CODE_SPACE.
11969
5caa2f0b
PA
119702014-02-12 Pedro Alves <palves@redhat.com>
11971
11972 * h8300-tdep.c (pseudo_from_raw_register)
11973 (raw_from_pseudo_register): New functions.
11974 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
11975 them.
11976
76fd5f74
PA
119772014-02-12 Pedro Alves <palves@redhat.com>
11978
11979 * h8300-tdep.c (h8300_register_sim_regno): New function.
11980 (h8300_gdbarch_init): Install h8300_register_sim_regno as
11981 gdbarch_register_sim_regno hook.
11982
8f008406
SA
119832014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11984
11985 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
11986
195abc10
SA
119872014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11988
11989 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
11990
93ffa5b9
MK
119912014-02-12 Mark Kettenis <kettenis@gnu.org>
11992
11993 * obsd-tdep.h (obsd_init_abi): New prototype.
11994 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
11995 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
11996 (obsd_init_abi): New functions.
11997 * i386obsd-tdep.c: Include "obsd-tdep.h".
11998 (i386obsd_init_abi): Call obsd_init_abi.
11999 * amd64obsd-tdep.c: Include "obsd-tdep.h".
12000 (amd64obsd_init_abi): Call obsd_init_abi.
12001 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
12002 obsd-tdep.c to gdb_target_obs.
12003
49caec94
JM
120042014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
12005
12006 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
12007 double float arguments to 16-byte in the argument slots.
12008
e1402065
DE
120092014-02-11 Doug Evans <xdje42@gmail.com>
12010
12011 * configure.ac: Don't crash if pkg-config is not found and guile
12012 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
12013 in guile checks.
12014 * configure: Regenerate.
12015
edcc890f
YQ
120162014-02-11 Yao Qi <yao@codesourcery.com>
12017
12018 * aix-thread.c (aix_thread_xfer_partial): Update comments.
12019 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
12020 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12021 * gnu-nat.c (gnu_xfer_memory): Likewise.
12022 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12023 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12024 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12025 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12026
9b409511
YQ
120272014-02-11 Yao Qi <yao@codesourcery.com>
12028
12029 * target.h (enum target_xfer_error): Rename to ...
12030 (enum target_xfer_status): ... it. New. All users updated.
12031 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
12032 New.
12033 (TARGET_XFER_STATUS_ERROR_P): New macro.
12034 (target_xfer_error_to_string): Remove declaration.
12035 (target_xfer_status_to_string): Declare.
12036 (target_xfer_partial_ftype): Adjust it.
12037 (struct target_ops) <to_xfer_partial>: Return
12038 target_xfer_status. Add argument xfered_len. Update
12039 comments.
12040 * target.c (target_xfer_error_to_string): Rename to ...
12041 (target_xfer_status_to_string): ... it. New. All callers
12042 updated.
12043 (target_read_live_memory): Likewise. Call target_xfer_partial
12044 instead of target_read.
12045 (memory_xfer_live_readonly_partial): Return
12046 target_xfer_status. Add argument xfered_len.
12047 (raw_memory_xfer_partial): Likewise.
12048 (memory_xfer_partial_1): Likewise.
12049 (memory_xfer_partial): Likewise.
12050 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
12051 properly. Update debug message.
12052 (default_xfer_partial, current_xfer_partial): Likewise.
12053 (target_write_partial): Likewise.
12054 (target_read_partial): Likewise. All callers updated.
12055 (read_whatever_is_readable): Likewise.
12056 (target_write_with_progress): Likewise.
12057 (target_read_alloc_1): Likewise.
12058
12059 * aix-thread.c (aix_thread_xfer_partial): Likewise.
12060 * auxv.c (procfs_xfer_auxv): Likewise.
12061 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
12062 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12063 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12064 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
12065 * corefile.c (read_memory): Adjust.
12066 * corelow.c (core_xfer_partial): Likewise.
12067 * ctf.c (ctf_xfer_partial): Likewise.
12068 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
12069 updated.
12070 (darwin_xfer_partial): Likewise.
12071 * exec.c (section_table_xfer_memory_partial): Likewise. All
12072 callers updated.
12073 (exec_xfer_partial): Likewise.
12074 * exec.h (section_table_xfer_memory_partial): Update
12075 declaration.
12076 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
12077 negative.
12078 (gnu_xfer_partial): Likewise.
12079 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
12080 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
12081 (ia64_hpux_xfer_solib_got): Likewise.
12082 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
12083 type of 'partial_len' to ULONGEST.
12084 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12085 * linux-nat.c (linux_xfer_siginfo ): Likewise.
12086 (linux_nat_xfer_partial): Likewise.
12087 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
12088 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
12089 * monitor.c (monitor_xfer_memory): Likewise.
12090 (monitor_xfer_partial): Likewise.
12091 * procfs.c (procfs_xfer_partial): Likewise.
12092 * record-btrace.c (record_btrace_xfer_partial): Likewise.
12093 * record-full.c (record_full_xfer_partial): Likewise.
12094 (record_full_core_xfer_partial): Likewise.
12095 * remote-sim.c (gdbsim_xfer_memory): Likewise.
12096 (gdbsim_xfer_partial): Likewise.
12097 * remote.c (remote_write_bytes_aux): Likewise. All callers
12098 updated.
12099 (remote_write_bytes, remote_read_bytes): Likewise. All
12100 callers updated.
12101 (remote_flash_erase): Likewise. All callers updated.
12102 (remote_write_qxfer): Likewise. All callers updated.
12103 (remote_read_qxfer): Likewise. All callers updated.
12104 (remote_xfer_partial): Likewise.
12105 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12106 (rs6000_xfer_shared_libraries): Likewise.
12107 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12108 (sol_thread_xfer_partial): Likewise.
12109 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12110 (sparc_xfer_partial): Likewise.
12111 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
12112 updated.
12113 (spu_xfer_partial): Likewise.
12114 * spu-multiarch.c (spu_xfer_partial): Likewise.
12115 * tracepoint.c (tfile_xfer_partial): Likewise.
12116 * windows-nat.c (windows_xfer_memory): Likewise.
12117 (windows_xfer_shared_libraries): Likewise.
12118 (windows_xfer_partial): Likewise.
12119 * valprint.c: Replace 'target_xfer_error' with
12120 'target_xfer_status' in comments.
12121
a8e63083
JB
121222014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
12123
12124 Checked in by Joel Brobecker <brobecker@adacore.com>.
12125 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
12126
e86b67d3
JB
121272014-02-11 Joel Brobecker <brobecker@adacore.com>
12128
12129 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
12130 function parameters.
12131
4b7d1f7f
WN
121322014-02-10 Will Newton <will.newton@linaro.org>
12133
12134 * elfread.c (elf_rel_plt_read): Look for a .got section if
12135 looking up .got.plt fails.
12136 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
12137 on address passed to elf_gnu_ifunc_record_cache.
12138 (elf_gnu_ifunc_resolve_addr): Likewise.
12139 (elf_gnu_ifunc_resolver_return_stop): Likewise.
12140
961842b2
JM
121412014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
12142
12143 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
12144 (X_RETTURN): New macro.
12145 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
12146
12147 * sparc64-tdep.c (sparc64_init_abi): Hook
12148 sparc_in_function_epilogue_p.
12149
3f03e7b1
GB
121502014-02-10 Gary Benson <gbenson@redhat.com>
12151
12152 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12153 Rename name_matcher to symbol_matcher.
12154
96f861ef
GB
121552014-02-10 Gary Benson <gbenson@redhat.com>
12156
12157 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12158 Use expand_symtabs_file_matcher_ftype and
12159 expand_symtabs_symbol_matcher_ftype.
12160
ee01b665
JB
121612014-02-10 Joel Brobecker <brobecker@adacore.com>
12162
12163 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
12164 (struct ada_symbol_cache): New.
12165 (ada_free_symbol_cache): Forward declare.
12166 (struct ada_pspace_data): New.
12167 (ada_pspace_data_handle): New static global.
12168 (get_ada_pspace_data, ada_pspace_data_cleanup)
12169 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
12170 (cache_space, cache): Delete, now folded inside struct
12171 ada_pspace_data.
12172 (ada_get_symbol_cache): New function.
12173 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
12174 implementation.
12175 (_initialize_ada_language): Remove initialization of cache_space.
12176 Move call to observer_attach_inferior_exit up, grouping it
12177 with the other observer registrations inside this function.
12178 Rename command to be more general. Add call to
12179 register_program_space_data_with_cleanup.
12180
143adbbf
JB
121812014-02-10 Joel Brobecker <brobecker@adacore.com>
12182
12183 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
12184 ada_new_objfile_observer.
12185 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
12186 (_initialize_tasks): Update uses of ada_new_objfile_observer
12187 and ada_tasks_normal_stop_observer.
12188
aa4fb036
JB
121892014-02-10 Joel Brobecker <brobecker@adacore.com>
12190
12191 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
12192 returned by the 'Length attribute to integer.
12193
9dee8cc6
JB
121942014-02-10 Joel Brobecker <brobecker@adacore.com>
12195
12196 * ada-lang.c (_initialize_ada_language): Initialize
12197 cache_space obstack.
12198
3d9434b5
JB
121992014-02-10 Joel Brobecker <brobecker@adacore.com>
12200
12201 * ada-lang.c (HASH_SIZE): New macro.
12202 (struct cache_entry): New type.
12203 (cache_space, cache): New static globals.
12204 (ada_clear_symbol_cache, find_entry): New functions.
12205 (lookup_cached_symbol, cache_symbol): Implement.
12206 (ada_new_objfile_observer, ada_free_objfile_observer): New.
12207 (_initialize_ada_language): Attach ada_new_objfile_observer
12208 and ada_free_objfile_observer.
12209
f0c5f9b2
JB
122102014-02-10 Joel Brobecker <brobecker@adacore.com>
12211
12212 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
12213 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
12214 struct block * parameter.
12215 (ada_lookup_symbol_list_worker): Constify local variable "block".
12216 Remove cast which is no longer necessary.
12217
ed3ef339
DE
122182014-02-10 Doug Evans <xdje42@gmail.com>
12219
12220 Add Guile as an extension language.
12221 * NEWS: Mention Guile scripting.
12222 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
12223 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
12224 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
12225 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
12226 (CLIBS): Add GUILE_LIBS.
12227 (install-guile): New rule.
12228 (guile.o): New rule.
12229 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
12230 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
12231 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
12232 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
12233 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
12234 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
12235 (scm-type.o, scm-utils.o, scm-value.o): New rules.
12236 * configure.ac: New option --with-guile.
12237 * configure: Regenerate.
12238 * config.in: Regenerate.
12239 * auto-load.c: Remove #include "python/python.h". Add #include
12240 "gdb/section-scripts.h".
12241 (source_section_scripts): Handle Guile scripts.
12242 (_initialize_auto_load): Add name of Guile objfile script to
12243 scripts-directory help text.
12244 * breakpoint.c (condition_command): Tweak comment to include Scheme.
12245 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
12246 (struct breakpoint): New member scm_bp_object.
12247 * defs.h (enum command_control_type): New value guile_control.
12248 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
12249 "extension.h".
12250 (show_user): Update comment.
12251 (_initialize_cli_cmds): Update help text for "show user". Update help
12252 text for max-user-call-depth.
12253 * cli/cli-script.c: Remove #include "python/python.h". Add #include
12254 "extension.h".
12255 (multi_line_command_p): Add guile_control.
12256 (print_command_lines): Handle guile_control.
12257 (execute_control_command, recurse_read_control_structure): Ditto.
12258 (process_next_line): Recognize "guile" commands.
12259 * disasm.c (gdb_disassemble_info): Make non-static.
12260 * disasm.h: #include "dis-asm.h".
12261 (struct gdbarch): Add forward decl.
12262 (gdb_disassemble_info): Declare.
12263 * extension.c: #include "guile/guile.h".
12264 (extension_languages): Add guile.
12265 (get_ext_lang_defn): Handle EXT_LANG_GDB.
12266 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
12267 * gdbtypes.c (get_unsigned_type_max): New function.
12268 (get_signed_type_minmax): New function.
12269 * gdbtypes.h (get_unsigned_type_max): Declare.
12270 (get_signed_type_minmax): Declare.
12271 * guile/README: New file.
12272 * guile/guile-internal.h: New file.
12273 * guile/guile.c: New file.
12274 * guile/guile.h: New file.
12275 * guile/scm-arch.c: New file.
12276 * guile/scm-auto-load.c: New file.
12277 * guile/scm-block.c: New file.
12278 * guile/scm-breakpoint.c: New file.
12279 * guile/scm-disasm.c: New file.
12280 * guile/scm-exception.c: New file.
12281 * guile/scm-frame.c: New file.
12282 * guile/scm-gsmob.c: New file.
12283 * guile/scm-iterator.c: New file.
12284 * guile/scm-lazy-string.c: New file.
12285 * guile/scm-math.c: New file.
12286 * guile/scm-objfile.c: New file.
12287 * guile/scm-ports.c: New file.
12288 * guile/scm-pretty-print.c: New file.
12289 * guile/scm-safe-call.c: New file.
12290 * guile/scm-string.c: New file.
12291 * guile/scm-symbol.c: New file.
12292 * guile/scm-symtab.c: New file.
12293 * guile/scm-type.c: New file.
12294 * guile/scm-utils.c: New file.
12295 * guile/scm-value.c: New file.
12296 * guile/lib/gdb.scm: New file.
12297 * guile/lib/gdb/boot.scm: New file.
12298 * guile/lib/gdb/experimental.scm: New file.
12299 * guile/lib/gdb/init.scm: New file.
12300 * guile/lib/gdb/iterator.scm: New file.
12301 * guile/lib/gdb/printing.scm: New file.
12302 * guile/lib/gdb/types.scm: New file.
12303 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
12304 (VPATH): Add $(GUILE_SRCDIR).
12305 (GUILE_DIR): New variable.
12306 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
12307 (all): Add stamp-guile dependency.
12308 (stamp-guile): New rule.
12309 (clean-guile, install-guile, uninstall-guile): New rules.
12310 (install-only): Add install-guile dependency.
12311 (uninstall): Add uninstall-guile dependency.
12312 (clean): Add clean-guile dependency.
12313
ac020ec5
DE
123142014-02-09 Doug Evans <xdje42@gmail.com>
12315
12316 Revert this patch (which I approved, mea culpa).
12317
12318 2014-02-08 Mark Kettenis <kettenis@gnu.org>
12319
12320 * Makefile.in (all-lib): Remove.
12321 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12322
2a081c59
JK
123232014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12324
12325 Fix Python stack corruption.
12326 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
12327 gdb_py_longest.
12328
0a6bd22d
MK
123292014-02-08 Mark Kettenis <kettenis@gnu.org>
12330
12331 * Makefile.in (all-lib): Remove.
12332 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12333
1a860409
DE
123342014-02-07 Doug Evans <dje@google.com>
12335
12336 * extension-priv.h (extension_language_script_ops): Add comment.
12337 (extension_language_ops): Add comment.
caf5a491 12338 (active_ext_lang_state): Fix typo in comment.
1a860409 12339
d137e6dc
PA
123402014-02-07 Pedro Alves <palves@redhat.com>
12341
0dcb32c3 12342 PR breakpoints/16292
d137e6dc
PA
12343 * infrun.c (handle_signal_stop) <signal arrives while stepping
12344 over a breakpoint>: Switch back to the stepping thread.
12345
ce6d0892
YQ
123462014-02-07 Yao Qi <yao@codesourcery.com>
12347
12348 * target.c (target_xfer_partial): Return zero if LEN is zero.
12349
2ed4b548
YQ
123502014-02-07 Yao Qi <yao@codesourcery.com>
12351
12352 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
12353 (ld_so_xfer_auxv): Likewise.
12354 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12355 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12356 * corelow.c (core_xfer_partial): Likewise.
12357 * ctf.c (ctf_xfer_partial): Likewise.
12358 * darwin-nat.c (darwin_read_dyld_info): Likewise.
12359 (darwin_xfer_partial): Likewise.
12360 * exec.c (exec_xfer_partial): Likewise.
12361 * gnu-nat.c (gnu_xfer_partial): Likewise.
12362 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
12363 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12364 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12365 * linux-nat.c (linux_xfer_siginfo): Likewise.
12366 (linux_proc_xfer_spu): Likewise.
12367 * procfs.c (procfs_xfer_partial): Likewise.
12368 * record-full.c (record_full_xfer_partial): Likewise.
12369 (record_full_core_xfer_partial): Likewise.
12370 * remote-sim.c (gdbsim_xfer_partial): Likewise.
12371 * remote.c (remote_write_qxfer): Likewise.
12372 (remote_write_qxfer, remote_read_qxfer): Likewise.
12373 (remote_xfer_partial): Likewise.
12374 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12375 (rs6000_xfer_shared_libraries): Likewise.
12376 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12377 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12378 (spu_xfer_partial): Likewise.
12379 * target.c (memory_xfer_partial_1): Likewise.
12380 * tracepoint.c (tfile_xfer_partial): Likewise.
12381 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
12382 (windows_xfer_partial): Likewise.
12383
c09f20e4
YQ
123842014-02-07 Yao Qi <yao@codesourcery.com>
12385
12386 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
12387 comments.
12388 (core_xfer_shared_libraries_aix): Likewise.
12389 * gdbarch.c, gdbarch.h: Regenerated.
12390 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
12391 ULONGEST. Change 'len_avail' type to ULONGEST.
12392 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12393 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12394 declaration.
12395 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
12396
8635b3bf
YQ
123972014-02-07 Yao Qi <yao@codesourcery.com>
12398
12399 * corefile.c (memory_error): Get 'exception' from ERR and pass
12400 'exception' to throw_error.
12401
6dddc817
DE
124022014-02-06 Doug Evans <xdje42@gmail.com>
12403
12404 * configure.ac (libpython checking): Remove all but python.o from
12405 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
12406 * configure: Regenerate.
12407
12408 * Makefile.in (SFILES): Add extension.c.
12409 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
12410 (COMMON_OBS): Add extension.o.
12411 * extension.h: New file.
12412 * extension-priv.h: New file.
12413 * extension.c: New file.
12414
12415 * python/python-internal.h: #include "extension.h".
12416 (gdbpy_auto_load_enabled): Declare.
12417 (gdbpy_apply_val_pretty_printer): Declare.
12418 (gdbpy_apply_frame_filter): Declare.
12419 (gdbpy_preserve_values): Declare.
12420 (gdbpy_breakpoint_cond_says_stop): Declare.
12421 (gdbpy_breakpoint_has_cond): Declare.
12422 (void source_python_script_for_objfile): Delete.
12423 * python/python.c: #include "extension-priv.h".
12424 Delete inclusion of "observer.h".
12425 (extension_language_python): Moved here and renamed from
12426 script_language_python in py-auto-load.c.
12427 Redefined to be of type extension_language_defn.
12428 (python_extension_script_ops): New global.
12429 (python_extension_ops): New global.
12430 (struct python_env): New member previous_active.
12431 (restore_python_env): Call restore_active_ext_lang.
12432 (ensure_python_env): Call set_active_ext_lang.
12433 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
12434 New arg extlang.
12435 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
12436 New arg extlang.
12437 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
12438 New arg extlang.
12439 (gdbpy_eval_from_control_command): Renamed from
12440 eval_python_from_control_command, made static. New arg extlang.
12441 (gdbpy_source_script) Renamed from source_python_script, made static.
12442 New arg extlang.
12443 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
12444 result to int. New arg extlang.
12445 (gdbpy_source_objfile_script): Renamed from
12446 source_python_script_for_objfile, made static. New arg extlang.
12447 (gdbpy_start_type_printers): Renamed from start_type_printers, made
12448 static. New args extlang, extlang_printers. Change result type to
12449 "void".
12450 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
12451 static. New arg extlang. Rename arg printers to extlang_printers
12452 and change type to ext_lang_type_printers *.
12453 (gdbpy_free_type_printers): Renamed from free_type_printers, made
12454 static. Replace argument arg with extlang, extlang_printers.
12455 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
12456 (!HAVE_PYTHON, source_python_script): Delete.
12457 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
12458 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
12459 (!HAVE_PYTHON, start_type_printers): Delete.
12460 (!HAVE_PYTHON, apply_type_printers): Delete.
12461 (!HAVE_PYTHON, free_type_printers): Delete.
12462 (_initialize_python): Delete call to observer_attach_before_prompt.
12463 (finalize_python): Set/restore active extension language.
12464 (gdbpy_finish_initialization) Renamed from
12465 finish_python_initialization, made static. New arg extlang.
12466 (gdbpy_initialized): New function.
12467 * python/python.h: #include "extension.h". Delete #include
12468 "value.h", "mi/mi-cmds.h".
12469 (extension_language_python): Declare.
12470 (GDBPY_AUTO_FILE_NAME): Delete.
12471 (enum py_bt_status): Moved to extension.h and renamed to
12472 ext_lang_bt_status.
12473 (enum frame_filter_flags): Moved to extension.h.
12474 (enum py_frame_args): Moved to extension.h and renamed to
12475 ext_lang_frame_args.
12476 (finish_python_initialization): Delete.
12477 (eval_python_from_control_command): Delete.
12478 (source_python_script): Delete.
12479 (apply_val_pretty_printer): Delete.
12480 (apply_frame_filter): Delete.
12481 (preserve_python_values): Delete.
12482 (gdbpy_script_language_defn): Delete.
12483 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
12484 (start_type_printers, apply_type_printers, free_type_printers): Delete.
12485
12486 * auto-load.c: #include "extension.h".
12487 (GDB_AUTO_FILE_NAME): Delete.
12488 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
12489 (script_language_gdb): Delete, moved to extension.c and renamed to
12490 extension_language_gdb.
12491 (source_gdb_script_for_objfile): Delete.
12492 (auto_load_pspace_info): New member unsupported_script_warning_printed.
12493 (loaded_script): Change type of language member to
12494 struct extension_language_defn *.
12495 (init_loaded_scripts_info): Initialize
12496 unsupported_script_warning_printed.
12497 (maybe_add_script): Make static. Change type of language arg to
12498 struct extension_language_defn *.
12499 (clear_section_scripts): Reset unsupported_script_warning_printed.
12500 (auto_load_objfile_script_1): Rewrite to use extension language API.
12501 (auto_load_objfile_script): Make public. Remove support-compiled-in
12502 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
12503 (source_section_scripts): Rewrite to use extension language API.
12504 (load_auto_scripts_for_objfile): Rewrite to use
12505 auto_load_scripts_for_objfile.
12506 (collect_matching_scripts_data): Change type of language member to
12507 struct extension_language_defn *.
12508 (auto_load_info_scripts): Change type of language arg to
12509 struct extension_language_defn *.
12510 (unsupported_script_warning_print): New function.
12511 (script_not_found_warning_print): Make static.
12512 (_initialize_auto_load): Rewrite construction of scripts-directory
12513 help.
12514 * auto-load.h (struct objfile): Add forward decl.
12515 (struct script_language): Delete.
12516 (struct auto_load_pspace_info): Add forward decl.
12517 (struct extension_language_defn): Add forward decl.
12518 (maybe_add_script): Delete.
12519 (auto_load_objfile_script): Declare.
12520 (script_not_found_warning_print): Delete.
12521 (auto_load_info_scripts): Update prototype.
12522 (auto_load_gdb_scripts_enabled): Declare.
12523 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
12524 auto_load_python_scripts_enabled and made public.
12525 (script_language_python): Delete, moved to python.c.
12526 (gdbpy_script_language_defn): Delete.
12527 (info_auto_load_python_scripts): Update to use
12528 extension_language_python.
12529
12530 * breakpoint.c (condition_command): Replace call to
12531 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
12532 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
12533 with call to breakpoint_ext_lang_cond_says_stop.
12534 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
12535 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
12536 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
12537 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
12538 New arg slang.
12539 (local_setattro): Print name of extension language with existing
12540 stop condition.
12541
12542 * valprint.c (val_print, value_print): Update to call
12543 apply_ext_lang_val_pretty_printer.
12544 * cp-valprint.c (cp_print_value): Update call to
12545 apply_ext_lang_val_pretty_printer.
12546 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
12547 (gdbpy_apply_val_pretty_printer): Renamed from
12548 apply_val_pretty_printer. New arg extlang.
12549 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
12550
12551 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
12552 extension language API.
12553 * cli/cli-script.c (execute_control_command): Update to call
12554 eval_ext_lang_from_control_command.
12555
12556 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
12557 enum ext_lang_bt_status values. Update call to
12558 apply_ext_lang_frame_filter.
12559 (mi_cmd_stack_list_locals): Ditto.
12560 (mi_cmd_stack_list_args): Ditto.
12561 (mi_cmd_stack_list_variables): Ditto.
12562 * mi/mi-main.c: Delete #include "python/python-internal.h".
12563 Add #include "extension.h".
12564 (mi_cmd_list_features): Replace reference to python internal variable
12565 gdb_python_initialized with call to ext_lang_initialized_p.
12566
12567 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
12568 Update to use enum ext_lang_frame_args. Update to call
12569 apply_ext_lang_frame_filter.
12570 * python/py-framefilter.c (extract_sym): Update to use enum
12571 ext_lang_bt_status.
12572 (extract_value, py_print_type, py_print_value): Ditto.
12573 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
12574 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
12575 (py_print_frame): Ditto.
12576 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
12577 New arg extlang. Update to use enum ext_lang_bt_status.
12578
12579 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
12580 finish_python_initialization. Replace with call to
12581 finish_ext_lang_initialization.
12582
12583 * typeprint.c (do_free_global_table): Update to call
12584 free_ext_lang_type_printers.
12585 (create_global_typedef_table): Update to call
12586 start_ext_lang_type_printers.
12587 (find_global_typedef): Update to call apply_ext_lang_type_printers.
12588 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
12589 (type_print_options): Change type of global_printers from "void *"
12590 to "struct ext_lang_type_printers *".
12591
12592 * value.c (preserve_values): Update to call preserve_ext_lang_values.
12593 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
12594 (gdbpy_preserve_values): Renamed from preserve_python_values.
12595 New arg extlang.
12596 (!HAVE_PYTHON, preserve_python_values): Delete.
12597
12598 * utils.c (quit_flag): Delete, moved to extension.c.
12599 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
12600 extension.c.
12601
12602 * eval.c: Delete #include "python/python.h".
12603 * main.c: Delete #include "python/python.h".
12604
12605 * defs.h: Update comment.
12606
6af79985
JB
126072014-02-06 Joel Brobecker <brobecker@adacore.com>
12608
12609 GDB 7.7 released.
12610
12c5175d
MK
126112014-02-05 Mark Kettenis <kettenis@gnu.org>
12612
12613 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
12614 defined.
12615
8dc5b319
YQ
126162014-02-05 Yao Qi <yao@codesourcery.com>
12617
12618 * remote.c (remote_pass_signals): Remove local 'buf' and use
12619 rs->buf.
12620 (remote_program_signals): Likewise.
12621
de7b2893
YQ
126222014-02-05 Yao Qi <yao@codesourcery.com>
12623
12624 * ctf.c: Include "inferior.h" and "gdbthread.h".
12625 (CTF_PID): A new macro.
12626 (ctf_open): Call inferior_appeared and add_thread_silent.
12627 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
12628 (ctf_thread_alive): New function.
12629 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
12630
66d032ac
YQ
126312014-02-05 Yao Qi <yao@codesourcery.com>
12632
12633 Revert this patch:
12634
12635 2013-05-24 Yao Qi <yao@codesourcery.com>
12636
12637 * tracepoint.c (TFILE_PID): Remove.
12638 (tfile_open): Don't add thread and inferior.
12639 (tfile_close): Don't set 'inferior_ptid'. Don't call
12640 exit_inferior_silent.
12641 (tfile_thread_alive): Remove.
12642 (init_tfile_ops): Don't set field 'to_thread_alive' of
12643 tfile_ops.
12644
f4ccffad
CE
126452014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
12646
12647 * remote.c (remote_start_remote): Call remote_check_symbols even
12648 if only symbol-file (not file) has been given.
12649
591a12a1
UW
126502014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12651
12652 * gdbarch.sh (skip_entrypoint): New callback.
12653 * gdbarch.c, gdbarch.h: Regenerate.
12654 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
12655 * infrun.c (fill_in_stop_func): Likewise.
12656 * ppc-linux-tdep.c: Include "elf/ppc64.h".
12657 (ppc_elfv2_elf_make_msymbol_special): New function.
12658 (ppc_elfv2_skip_entrypoint): Likewise.
12659 (ppc_linux_init_abi): Install them for ELFv2.
12660
cc0e89c5
UW
126612014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12662
12663 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
12664 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
12665 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
12666 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
12667 structures returned in GPRs.
12668
52f548e4
UW
126692014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12670
12671 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
12672 offset to the stack parameter list for the ELFv2 ABI.
12673
d4094b6a
UW
126742014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12675
12676 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
12677 set_gdbarch_convert_from_func_ptr_addr and
12678 set_gdbarch_elf_make_msymbol_special for ELFv1.
12679 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
12680 function descriptors on ELFv1.
12681 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
12682 set up r12 at function entry.
12683
cd453cd0
UW
126842014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12685
12686 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
12687 (struct gdbarch_tdep): New member elf_abi.
12688
12689 * rs6000-tdep.c: Include "elf/ppc64.h".
12690 (rs6000_gdbarch_init): Detect ELF ABI version.
12691
0ff3e01f
UW
126922014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12693
12694 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
12695 within a register pair holding a DFP 128-bit value on little-endian.
12696 (ppc64_sysv_abi_return_value_base): Likewise.
12697 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
12698 (dfp_pseudo_register_write): Likewise.
12699
5b757e5d
UW
127002014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12701
12702 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
12703 offset on little-endian when passing _Decimal32.
12704 (ppc64_sysv_abi_return_value_base): Likewise for return values.
12705
084ee545
UW
127062014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12707
12708 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
12709 of the overlapped FP register within the VSX register on little-
12710 endian platforms.
12711 (efpr_pseudo_register_write): Likewise.
12712
d63167af
UW
127132014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12714
12715 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
12716 offset on little-endian when passing small structures.
12717
e765b44c
UW
127182014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12719
12720 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
12721 (struct ppc64_sysv_argpos): New data structure.
12722 (ppc64_sysv_abi_push_float): Remove.
12723 (ppc64_sysv_abi_push_val): New function.
12724 (ppc64_sysv_abi_push_integer): Likewise.
12725 (ppc64_sysv_abi_push_freg): Likewise.
12726 (ppc64_sysv_abi_push_vreg): Likewise.
12727 (ppc64_sysv_abi_push_param): Likewise.
12728 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
12729 (ppc64_sysv_abi_return_value_base): New function.
12730 (ppc64_sysv_abi_return_value): Refactor to use it.
12731
36c24d95
UW
127322014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12733
12734 * NEWS: Document new target powerpc64le-*-linux*.
12735
26fd9228
MK
127362014-02-04 Mark Kettenis <kettenis@gnu.org>
12737
12738 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
12739 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
12740 core dumps.
12741 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
12742 register set used in ELF core dumps. Add floating-point register set.
12743
c5bb7362
KB
127442014-02-03 Kevin Buettner <kevinb@redhat.com>
12745
74228e77 12746 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
12747 dwarf2_to_gdb[] table using symbolic constants. Adjust
12748 penultimate entry from number representing the PC register
12749 to symbolic constant representing the MDR register. Add
12750 constant for the PC register to the end of the table.
12751
af09351e
MK
127522014-02-03 Mark Kettenis <kettenis@gnu.org>
12753
12754 * bsd-kvm.c: Include <sys/param.h>
12755
8507e05d
MK
127562014-02-03 Mark Kettenis <kettenis@gnu.org>
12757
12758 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
12759
ae56bfb8
JB
127602014-01-31 Joel Brobecker <brobecker@adacore.com>
12761
12762 * ada-lang.h (clear_ada_sym_cache): Delete.
12763
718ee4dc
UW
127642014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
12765
12766 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
12767
401e27fd
JM
127682014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
12769
12770 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
12771 the sigreturn register save area only if the syscall is
12772 sigreturn.
12773
a7c88acd
JB
127742014-01-29 Joel Brobecker <brobecker@adacore.com>
12775
12776 * valops.c (value_slice): Minor reformatting.
12777
fa0079ea
UW
127782014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
12779
12780 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
12781
c6044dd1
JB
127822014-01-28 Joel Brobecker <brobecker@adacore.com>
12783
12784 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
12785 New static globals.
12786 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
12787 (ada_ignore_descriptive_types_p): New static global.
12788 (find_parallel_type_by_descriptive_type): Return immediately
12789 if ada_ignore_descriptive_types_p is set.
12790 (_initialize_ada_language): Register new commands "maintenance
12791 set ada", "maintenance show ada", "maintenance set ada
12792 ignore-descriptive-types" and "maintenance show ada
12793 ignore-descriptive-types".
12794 * NEWS: Add entry for new "maint ada set/show
12795 ignore-descriptive-types" commands.
12796
568e808b
MM
127972014-01-27 Markus Metzger <markus.t.metzger@intel.com>
12798
12799 * record-btrace.c (record_btrace_close): Call btrace_teardown
12800 for all threads.
12801
467d141b
JB
128022014-01-27 Joel Brobecker <brobecker@adacore.com>
12803
12804 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
12805 "ui-out.h".
12806
fb151210
JB
128072014-01-27 Joel Brobecker <brobecker@adacore.com>
12808
12809 * ada-typeprint (type_is_full_subrange_of_target_type):
12810 New function.
12811 (print_range): Add parameter bounds_prefered_p. If not set,
12812 try printing range types using the name of their base type.
12813 (print_range_type): Add parameter bounds_prefered_p.
12814 Use it in call to print_range.
12815 (print_array_type, ada_print_type): Update calls to print_range
12816 and print_range_type.
12817
aba02109
JB
128182014-01-27 Joel Brobecker <brobecker@adacore.com>
12819
12820 * ada-typeprint.c (print_array_type, print_choices, print_range)
12821 (print_range_bound, print_dynamic_range_bound, print_range_type):
12822 Remove declaration.
12823
e62e21fd
JB
128242014-01-27 Joel Brobecker <brobecker@adacore.com>
12825
12826 * ada-typeprint.c (print_range): Add missing empty line
12827 after local declaration.
12828
859cf5d1
JB
128292014-01-27 Joel Brobecker <brobecker@adacore.com>
12830
12831 * ada-valprint.c (print_optional_low_bound): Get index_type's
12832 target type for as long as it is a TYPE_CODE_RANGE.
12833
25790f6f
JB
128342014-01-27 Joel Brobecker <brobecker@adacore.com>
12835
12836 * procfs.c (procfs_make_note_section): Remove assertion and
12837 associated comment.
12838
6b6aa828
YQ
128392014-01-24 Yao Qi <yao@codesourcery.com>
12840
12841 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
12842 * corelow.c (get_core_siginfo): Likewise.
12843
5d6df423
YQ
128442014-01-24 Yao Qi <yao@codesourcery.com>
12845
12846 * remote.c (remote_write_bytes_aux): Change type of 'len' to
12847 ULONGEST. Don't check 'len' is negative.
12848 (remote_write_bytes): Change type of 'len' to ULONGEST.
12849
83b645b8
TT
128502014-01-23 Tom Tromey <tromey@redhat.com>
12851
12852 PR python/16485:
12853 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
12854 Handle exception from frame.block.
12855 (FrameVars.fetch_frame_locals): Likewise.
12856
0740f8d8
TT
128572014-01-23 Tom Tromey <tromey@redhat.com>
12858
12859 PR python/16487:
12860 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
12861 on a NULL pointer. Move "goto error" to correct place.
12862
21909fa1
TT
128632014-01-23 Tom Tromey <tromey@redhat.com>
12864
12865 PR python/16491:
12866 * python/py-framefilter.c (apply_frame_filter): Call
12867 ensure_python_env after computing gdbarch.
12868
17fde6d0
YQ
128692014-01-23 Yao Qi <yao@codesourcery.com>
12870
12871 * target.c (raw_memory_xfer_partial): Change argument type
12872 from void * to gdb_byte *.
12873 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
12874
87ce2a04
DE
128752014-01-22 Doug Evans <dje@google.com>
12876
12877 New gdbserver option --debug-format=timestamp.
12878 * NEWS: Mention it.
12879
237b092b
AA
128802014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12881
12882 * syscalls/s390x-linux.xml: New file.
12883 * syscalls/s390-linux.xml: New file.
12884 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
12885 (XML_SYSCALL_FILENAME_S390X): Likewise.
12886 (op_svc): New enum value for SVC opcode.
12887 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
12888 (s390_linux_get_syscall_number): New function.
12889 (s390_gdbarch_init): Register '*get_syscall_number' and the
12890 syscall xml file name.
12891 * data-directory/Makefile.in (SYSCALLS_FILES): Add
12892 "s390-linux.xml" and "s390x-linux.xml".
12893 * NEWS: Announce new feature.
12894
54bff650
BS
128952014-01-22 Baruch Siach <baruch@tkos.co.il>
12896
12897 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
12898
14e361d7
PA
128992014-01-22 Pedro Alves <palves@redhat.com>
12900
12901 * xtensa-config.c: Include defs.h.
12902
46bbb3ed
JB
129032014-01-22 Joel Brobecker <brobecker@adacore.com>
12904
12905 * common/common-utils.h: Add "ARI:" comment beside __func__
12906 reference.
12907
3a80edfc
JB
129082014-01-22 Joel Brobecker <brobecker@adacore.com>
12909
12910 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
12911 documentation a bit.
12912
4869db5e
RM
129132014-01-21 Roland McGrath <mcgrathr@google.com>
12914
12915 * configure.ac: Call AM_PROG_INSTALL_STRIP.
12916 * configure: Regenerate.
12917 * aclocal.m4: Regenerate.
12918 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
12919 New substituted variables.
12920 (install-strip): New target.
12921 (INSTALL_SCRIPT): New substituted variable.
12922 (FLAGS_TO_PASS): Add it.
12923 (install-only): Use $(INSTALL_SCRIPT) rather than
12924 $(INSTALL_PROGRAM) for gcore.
12925
9ea4267d
TT
129262014-01-20 Tom Tromey <tromey@redhat.com>
12927
12928 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
12929 together.
12930
1f2bdf09
TT
129312014-01-20 Tom Tromey <tromey@redhat.com>
12932
12933 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
12934 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
12935 (deprecated_cmd_warning, complete_on_cmdlist): Update.
12936 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
12937 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
12938 (struct cmd_list_element) <flags>: Remove.
12939 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
12940 doc_allocated>: New fields.
12941 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
12942 bitfields.
12943 * maint.c (maintenance_do_deprecate): Update.
12944 * top.c (execute_command): Update.
12945
e671835b
BS
129462014-01-20 Baruch Siach <baruch@tkos.co.il>
12947
12948 * xtensa-linux-nat.c: Include asm/ptrace.h.
12949
50367cd2
IB
129502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12951
12952 * Makefile.in (SFILES): Add d-support.c.
12953 (COMMON_OBS): Add d-support.o.
12954 * d-lang.h (d_parse_symbol): Add comment, now defined in
12955 d-support.c.
12956 * d-lang.c (parse_call_convention)
12957 (parse_attributes, parse_function_types)
12958 (parse_function_args, parse_type, parse_identifier)
12959 (call_convention_p, d_parse_symbol): Move functions to ...
12960 * d-support.c: ... New file.
12961
ec9f644a
IB
129622014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12963
12964 * d-lang.h (d_parse_symbol): Add declaration.
12965 * d-lang.c (extract_identifiers)
12966 (extract_type_info): Remove functions.
12967 (parse_call_convention, parse_attributes)
12968 (parse_function_types, parse_function_args)
12969 (parse_type, parse_identifier, call_convention_p)
12970 (d_parse_symbol): New functions.
12971 (d_demangle): Use d_parse_symbol to demangle D symbols.
12972
94b1b47e
IB
129732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12974
12975 * d-lang.h (struct builtin_d_type): New data type.
12976 (builtin_d_type): Add declaration.
12977 * d-lang.c (d_language_arch_info, build_d_types)
12978 (builtin_d_type): New functions.
12979 (enum d_primitive_types): New data type.
12980 (d_language_defn): Change c_language_arch_info to
12981 d_language_arch_info.
12982 (d_type_data): New static variable.
12983 (_initialize_d_language): Initialize d_type_data.
12984
63778547
IB
129852014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12986
12987 * d-lang.h (d_main_name): Add declaration.
12988 * d-lang.c (d_main_name): New function.
12989 * symtab.c (find_main_name): Add call to d_main_name.
12990
3271ba66
IB
129912014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12992
12993 * d-lang.c (d_language_defn): Change macro_expansion_c to
12994 macro_expansion_no.
12995
d36b3012
IB
129962014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12997
12998 * MAINTAINERS: Add myself as a write-after-approval maintainer.
12999
c90a6fb7
SDJ
130002014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
13001
13002 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
13003 gdb_exception" declaration.
13004 * remote.c (getpkt_or_notif_sane): Likewise.
13005
749234e5
DE
130062014-01-17 Doug Evans <dje@google.com>
13007
13008 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
13009 function, contents of dirnames_to_char_ptr_vec_append moved here.
13010 (delim_string_to_char_ptr_vec): New function.
13011 (dirnames_to_char_ptr_vec_append): Rewrite.
13012 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
13013
df049a58
DE
130142014-01-17 Doug Evans <dje@google.com>
13015
13016 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
13017 and moved here ...
13018 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
13019 #include "common-utils.h".
13020 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
13021 * common/vec.h (VEC_ASSERT_PASS): Update.
13022 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
13023 (MACH_CHECK_ERROR): Update.
13024
69f97648
SM
130252014-01-17 Simon Marchi <simon.marchi@ericsson.com>
13026
13027 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
13028 comments.
13029 * gdbarch.h: Regenerate.
13030
98b1cfdc
TT
130312014-01-16 Tom Tromey <tromey@redhat.com>
13032
13033 * value.c (struct value) <regnum>: Move earlier.
13034
77a19445
TT
130352014-01-16 Tom Tromey <tromey@redhat.com>
13036
13037 * remote.c (extended_remote_create_inferior): Rename from
13038 extended_remote_create_inferior_1. Add "ops" argument. Remove
13039 old implementation.
13040
62261490
PA
130412014-01-16 Pedro Alves <palves@redhat.com>
13042
13043 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
13044 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
13045 the backchain.
13046
4d65956b
DE
130472014-01-16 Doug Evans <dje@google.com>
13048
13049 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
13050
52834460
MM
130512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13052
13053 * btrace.h (btrace_thread_flag): New.
13054 (struct btrace_thread_info) <flags>: New.
13055 * record-btrace.c (record_btrace_resume_thread)
13056 (record_btrace_find_thread_to_move, btrace_step_no_history)
13057 (btrace_step_stopped, record_btrace_start_replaying)
13058 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
13059 (record_btrace_find_resume_thread): New.
13060 (record_btrace_resume, record_btrace_wait): Extend.
13061 (record_btrace_can_execute_reverse): New.
13062 (record_btrace_open): Fail in non-stop mode.
13063 (record_btrace_set_replay): Split into this, ...
13064 (record_btrace_stop_replaying): ... this, ...
13065 (record_btrace_clear_histories): ... and this.
13066 (init_record_btrace_ops): Init to_can_execute_reverse.
13067 * NEWS: Announce it.
13068
118e6252
MM
130692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13070
13071 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
13072 (forward_target_decr_pc_after_break)
13073 (target_decr_pc_after_break): New.
13074 * target.c (forward_target_decr_pc_after_break)
13075 (target_decr_pc_after_break): New.
13076 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
13077 instead of gdbarch_decr_pc_after_break.
13078 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13079 instead of gdbarch_decr_pc_after_break.
13080 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
13081 instead of gdbarch_decr_pc_after_break.
13082 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13083 instead of gdbarch_decr_pc_after_break.
13084 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
13085 instead of gdbarch_decr_pc_after_break.
13086 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
13087 instead of gdbarch_decr_pc_after_break.
13088
6e07b1d2
MM
130892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13090
13091 * btrace.c: Include regcache.h.
13092 (btrace_add_pc): New.
13093 (btrace_enable): Call btrace_add_pc.
13094 (btrace_is_empty): New.
13095 * btrace.h (btrace_is_empty): New.
13096 * record-btrace.c (require_btrace, record_btrace_info): Call
13097 btrace_is_empty.
13098
969c39fb
MM
130992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13100
13101 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
13102 Support delta reads.
13103 (linux_disable_btrace): Change return type.
13104 * common/linux-btrace.h (linux_read_btrace): Change parameters
13105 and return type to allow error reporting. Update users.
13106 (linux_disable_btrace): Change return type. Update users.
13107 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
13108 New.
13109 (btrace_error): New.
13110 (btrace_block) <begin>: Comment on BEGIN == 0.
13111 * btrace.c (btrace_compute_ftrace): Start from the end of
13112 the current trace.
13113 (btrace_stitch_trace, btrace_clear_history): New.
13114 (btrace_fetch): Read delta trace, return if replaying.
13115 (btrace_clear): Move clear history code to btrace_clear_history.
13116 (parse_xml_btrace): Throw an error if parsing failed.
13117 * target.h (struct target_ops) <to_read_btrace>: Change parameters
13118 and return type to allow error reporting.
13119 (target_read_btrace): Change parameters and return type to allow
13120 error reporting.
13121 * target.c (target_read_btrace): Update.
13122 * remote.c (remote_read_btrace): Support delta reads. Pass
13123 errors on.
13124 * NEWS: Announce it.
13125
0b722aec
MM
131262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13127
13128 * record.h (record_btrace_frame_unwind)
13129 (record_btrace_tailcall_frame_unwind): New declarations.
13130 * dwarf2-frame: Include record.h
13131 (dwarf2_frame_cfa): Throw an error for btrace frames.
13132 * record-btrace.c: Include hashtab.h.
13133 (btrace_get_bfun_name): New.
13134 (btrace_call_history): Call btrace_get_bfun_name.
13135 (struct btrace_frame_cache): New.
13136 (bfcache): New.
13137 (bfcache_hash, bfcache_eq, bfcache_new): New.
13138 (btrace_get_frame_function): New.
13139 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
13140 (record_btrace_frame_this_id): Compute own id.
13141 (record_btrace_frame_prev_register): Provide PC, throw_error
13142 for all other registers.
13143 (record_btrace_frame_sniffer): Detect btrace frames.
13144 (record_btrace_tailcall_frame_sniffer): New.
13145 (record_btrace_frame_dealloc_cache): New.
13146 (record_btrace_frame_unwind): Add new functions.
13147 (record_btrace_tailcall_frame_unwind): New.
13148 (_initialize_record_btrace): Allocate cache.
13149 * btrace.c (btrace_clear): Call reinit_frame_cache.
13150 * NEWS: Announce it.
13151
066ce621
MM
131522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13153
13154 * record-btrace.c (record_btrace_set_replay)
13155 (record_btrace_goto_begin, record_btrace_goto_end)
13156 (record_btrace_goto): New.
13157 (init_record_btrace_ops): Initialize them.
13158 * NEWS: Announce it.
13159
e2887aa3
MM
131602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13161
13162 * record-btrace.c (record_btrace_find_new_threads)
13163 (record_btrace_thread_alive): New.
13164 (init_record_btrace_ops): Initialize to_find_new_threads and
13165 to_thread_alive.
13166
b2f4cfde
MM
131672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13168
13169 * record-btrace.c (record_btrace_resume): New.
13170 (record_btrace_wait): New.
13171 (init_record_btrace_ops): Initialize to_wait and to_resume.
13172
633785ff
MM
131732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13174
13175 * record-btrace.c (record_btrace_xfer_partial)
13176 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
13177 (record_btrace_allow_memory_access): New.
13178 (init_record_btrace_ops): Initialize new methods.
13179 * target.c (raw_memory_xfer_partial): Bail out if target reports
13180 that this memory is not available.
13181
3db08215
MM
131822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13183
13184 * target.h (target_ops) <to_insert_breakpoint>
13185 <to_remove_breakpoint>: Add target_ops parameter.
13186 (forward_target_insert_breakpoint): New.
13187 (forward_target_remove_breakpoint): New.
13188 (memory_remove_breakpoint, memory_insert_breakpoint):
13189 Add target_ops parameter.
13190 * target.c (target_insert_breakpoint): Split into this and ...
13191 (forward_target_insert_breakpoint): ... this.
13192 (target_remove_breakpoint): Split into this and ...
13193 (forward_target_remove_breakpoint): ... this.
13194 (debug_to_insert_breakpoint): Add target_ops parameter.
13195 Call forward_target_insert_breakpoint.
13196 (debug_to_remove_breakpoint): Add target_ops parameter.
13197 Call forward_target_remove_breakpoint.
13198 (update_current_target): Do not inherit or default to_insert_breakpoint
13199 and to_remove_breakpoint.
13200 * corelow.c (ignore): Add target_ops parameter.
13201 * exec.c (ignore): Add target_ops parameter.
13202 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
13203 Add target_ops parameter.
13204 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
13205 Add target_ops parameter.
13206 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
13207 Add target_ops parameter.
13208 * record-full.c (record_full_beneath_to_insert_breakpoint)
13209 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
13210 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
13211 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
13212 (record_full_core_remove_breakpoint): Add target_ops parameter.
13213 Update users.
13214 (record_full_beneath_to_insert_breakpoint_ops)
13215 (record_full_beneath_to_remove_breakpoint_ops)
13216 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
13217 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
13218 tmp_to_remove_breakpoint_ops,
13219 record_full_beneath_to_insert_breakpoint_ops, and
13220 record_full_beneath_to_remove_breakpoint_ops.
13221 * remote-m32r-sdi.c (m32r_insert_breakpoint)
13222 (m32r_remove_breakpoint): Add target_ops parameter.
13223 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
13224 Add target_ops parameter.
13225 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
13226 Add target_ops parameter.
13227
cecac1ab
MM
132282014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13229 Markus Metzger <markus.t.metzger@intel.com>
13230
13231 * record-btrace.c: Include frame-unwind.h.
13232 (record_btrace_frame_unwind_stop_reason)
13233 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
13234 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
13235 New.
13236 (init_record_btrace_ops): Install it.
13237
824344ca
MM
132382014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13239
13240 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
13241 get_prev_frame_1.
13242
32261e52
MM
132432014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13244
13245 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
13246 earlier.
13247
ea001bdc
MM
132482014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13249
13250 * frame-unwind.c: Include target.h.
13251 (frame_unwind_try_unwinder): New function with code from ...
13252 (frame_unwind_find_by_frame): ... here. New variable
13253 unwinder_from_target, call also target_get_unwinder)
13254 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
13255 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
13256 * target.h (struct target_ops): New fields to_get_unwinder and
13257 to_get_tailcall_unwinder.
13258 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
13259
1f3ef581
MM
132602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13261
13262 * record-btrace.c (record_btrace_fetch_registers)
13263 (record_btrace_store_registers)
13264 (record_btrace_to_prepare_to_store): New.
13265 (init_record_btrace_ops): Add the above.
13266
f32dbf8c
MM
132672014-01-16 Tom Tromey <tromey@redhat.com>
13268
13269 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
13270 * target.h (struct target_ops) <to_prepare_to_store>: Add
13271 argument.
13272 (target_prepare_to_store): Add argument.
13273 * target.c (debug_to_prepare_to_store): Add argument.
13274 (update_current_target): Update.
13275 * remote.c (remote_prepare_to_store): Add 'self' argument.
13276 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
13277 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
13278 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
13279 * record-full.c (record_full_core_prepare_to_store): Add 'self'
13280 argument.
13281 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
13282 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
13283 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
13284 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
13285 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
13286
07bbe694
MM
132872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13288
13289 * btrace.h (replay) <replay>: New.
13290 (btrace_is_replaying): New.
13291 * btrace.c (btrace_clear): Free replay iterator.
13292 (btrace_is_replaying): New.
13293 * record-btrace.c (record_btrace_is_replaying): New.
13294 (record_btrace_info): Print insn number if replaying.
13295 (record_btrace_insn_history): Start at replay position.
13296 (record_btrace_call_history): Start at replay position.
13297 (init_record_btrace_ops): Init to_record_is_replaying.
13298
0688d04e
MM
132992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13300
13301 * record-btrace.c (record_btrace_insn_history_range): Include
13302 end.
13303 (record_btrace_insn_history_from): Adjust range.
13304 (record_btrace_call_history_range): Include
13305 end.
13306 (record_btrace_call_history_from): Adjust range.
13307 * NEWS: Announce changes.
13308
8710b709
MM
133092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13310
13311 * record.h (enum record_print_flag)
13312 <record_print_indent_calls>: New.
13313 * record.c (get_call_history_modifiers): Recognize /c modifier.
13314 (_initialize_record): Document /c modifier.
13315 * record-btrace.c (btrace_call_history): Add btinfo parameter.
13316 Reorder fields. Optionally indent the function name. Update
13317 all users.
13318 * NEWS: Announce changes.
13319
d0fa7535
MM
133202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13321
13322 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
13323
5de9129b
MM
133242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13325
13326 * btrace.c (ftrace_new_function): Start counting at one.
13327 * record-btrace.c (record_btrace_info): Adjust number of calls
13328 and insns.
13329 * NEWS: Announce it.
13330
7acbe133
MM
133312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13332
13333 * record-btrace.c (btrace_call_history_insn_range): Print
13334 insn range as [begin, end].
13335
23a7fe75
MM
133362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13337
13338 * btrace.h (struct btrace_func_link): New.
13339 (enum btrace_function_flag): New.
13340 (struct btrace_inst): Rename to ...
13341 (struct btrace_insn): ...this. Update all users.
13342 (struct btrace_func) <ibegin, iend>: Remove.
13343 (struct btrace_func_link): New.
13344 (struct btrace_func): Rename to ...
13345 (struct btrace_function): ...this. Update all users.
13346 (struct btrace_function) <segment, flow, up, insn, insn_offset)
13347 (number, level, flags>: New.
13348 (struct btrace_insn_iterator): Rename to ...
13349 (struct btrace_insn_history): ...this.
13350 Update all users.
13351 (struct btrace_insn_iterator, btrace_call_iterator): New.
13352 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
13353 (struct btrace_target_info) <begin, end, level>
13354 <insn_history, call_history>: New.
13355 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13356 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13357 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13358 (btrace_call_number, btrace_call_begin, btrace_call_end)
13359 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13360 (btrace_find_function_by_number, btrace_set_insn_history)
13361 (btrace_set_call_history): New.
13362 * btrace.c (btrace_init_insn_iterator)
13363 (btrace_init_func_iterator, compute_itrace): Remove.
13364 (ftrace_print_function_name, ftrace_print_filename)
13365 (ftrace_skip_file): Change
13366 parameter to const.
13367 (ftrace_init_func): Remove.
13368 (ftrace_debug): Use new btrace_function fields.
13369 (ftrace_function_switched): Also consider gaining and
13370 losing symbol information).
13371 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
13372 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
13373 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
13374 New.
13375 (ftrace_new_function): Move. Remove debug print.
13376 (ftrace_update_lines, ftrace_update_insns): New.
13377 (ftrace_update_function): Check for call, ret, and jump.
13378 (compute_ftrace): Renamed to ...
13379 (btrace_compute_ftrace): ...this. Rewritten to compute call
13380 stack.
13381 (btrace_fetch, btrace_clear): Updated.
13382 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13383 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13384 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13385 (btrace_call_number, btrace_call_begin, btrace_call_end)
13386 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13387 (btrace_find_function_by_number, btrace_set_insn_history)
13388 (btrace_set_call_history): New.
13389 * record-btrace.c (require_btrace): Use new btrace thread
13390 info fields.
13391 (record_btrace_info, btrace_insn_history)
13392 (record_btrace_insn_history, record_btrace_insn_history_range):
13393 Use new btrace thread info fields and new iterator.
13394 (btrace_func_history_src_line): Rename to ...
13395 (btrace_call_history_src_line): ...this. Use new btrace
13396 thread info fields.
13397 (btrace_func_history): Rename to ...
13398 (btrace_call_history): ...this. Use new btrace thread info
13399 fields and new iterator.
13400 (record_btrace_call_history, record_btrace_call_history_range):
13401 Use new btrace thread info fields and new iterator.
13402
8372a7cb
MM
134032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13404
13405 * frame.h (frame_id_build_unavailable_stack_special): New.
13406 * frame.c (frame_id_build_unavailable_stack_special): New.
13407
c2170eef
MM
134082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13409
13410 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
13411 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
13412 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
13413 to gdbarch.
13414 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
13415 (i386_insn_is_jump, i386_jmp_p): New.
13416 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
13417 insn_is_jump to gdbarch.
13418 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
13419 * gdbarch.h: Regenerated.
13420 * gdbarch.c: Regenerated.
13421 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
13422 (default_insn_is_jump): New.
13423 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
13424 (default_insn_is_jump): New.
13425
864089d2
MM
134262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13427
13428 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
13429 Change to ...
13430 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
13431 (btrace_read_type) <btrace_read_new>: Change to ...
13432 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
13433
ed9edfb5
MM
134342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13435
13436 * common/linux-btrace.c (linux_read_btrace): Free trace from
13437 previous iteration.
13438
fbcbc3fd
DE
134392014-01-15 Doug Evans <dje@google.com>
13440
13441 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
13442 uint32_t.
13443
3d548a53
TT
134442014-01-15 Tom Tromey <tromey@redhat.com>
13445
13446 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
13447 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
13448 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
13449 (set_objfile_main_name): New function.
13450 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
13451 language_of_main>: New fields.
13452 (set_objfile_main_name): Declare.
13453 * symtab.c (find_main_name): Loop over objfiles to find the main
13454 name and language.
13455 (set_main_name): Now static.
13456 (get_main_info): Add comment.
13457 * symtab.h (set_main_name): Don't declare.
13458
32ac0d11
TT
134592014-01-15 Tom Tromey <tromey@redhat.com>
13460
13461 * symtab.c (main_progspace_key): New global.
13462 (struct main_info): New.
13463 (name_of_main, language_of_main): Remove.
13464 (get_main_info, main_info_cleanup): New function.
13465 (set_main_name, main_name, main_language): Use get_main_info.
13466 (_initialize_symtab): Initialize main_progspace_key.
13467
9e6c82ad
TT
134682014-01-15 Tom Tromey <tromey@redhat.com>
13469
13470 * dbxread.c (process_one_symbol): Update.
13471 * dwarf2read.c (read_partial_die): Update.
13472 * symfile.c (set_initial_language): Call main_language.
13473 * symtab.c (language_of_main): Now static.
13474 (set_main_name): Add 'lang' parameter.
13475 (find_main_name): Update.
13476 (main_language): New function.
13477 (symtab_observer_executable_changed): Update.
13478 * symtab.h (set_main_name): Update.
13479 (language_of_main): Remove.
13480 (main_language): Declare.
13481
6ef55de7
TT
134822014-01-15 Tom Tromey <tromey@redhat.com>
13483
13484 * symfile.c (init_entry_point_info): Use new "initialized" field.
13485 Update.
13486 * objfiles.h (struct entry_point) <initialized>: New field.
13487 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
13488 (struct objfile) <ei>: ...here. Remove.
13489 * objfiles.c (entry_point_address_query): Update.
13490
53eddfa6
TT
134912014-01-15 Tom Tromey <tromey@redhat.com>
13492
13493 * objfiles.c (entry_point_address_query): Relocate entry point
13494 address.
13495 (objfile_relocate1): Do not relocate entry point address.
13496 * objfiles.h (struct entry_info) <entry_point>: Update comment.
13497 <the_bfd_section_index>: New field.
13498 * symfile.c (init_entry_point_info): Find the entry point's
13499 section.
13500
d56e56aa
TT
135012014-01-15 Tom Tromey <tromey@redhat.com>
13502
13503 * solib-frv.c (enable_break): Use entry_point_address_query.
13504
33a97bbe
OJ
135052014-01-15 Omair Javaid <omair.javaid@linaro.org>
13506
13507 * NEWS: Add note on improved process record-replay on
13508 arm*-linux* targets.
13509
c6ec2b30
OJ
135102014-01-15 Omair Javaid <omair.javaid@linaro.org>
13511
13512 * arm-tdep.c (enum arm_record_result): New enum.
13513 (arm_record_unsupported_insn): New function.
13514 (arm_record_coproc_data_proc): Removed.
13515 (thumb2_record_ld_st_multiple): New function.
13516 (thumb2_record_ld_st_dual_ex_tbb): New function.
13517 (thumb2_record_data_proc_sreg_mimm): New function.
13518 (thumb2_record_ps_dest_generic): New function.
13519 (thumb2_record_branch_misc_cntrl): New function.
13520 (thumb2_record_str_single_data): New function.
13521 (thumb2_record_ld_mem_hints): New function.
13522 (thumb2_record_ld_word): New function.
13523 (thumb2_record_lmul_lmla_div): New function.
13524 (thumb2_record_decode_insn_handler): New function.
13525 (decode_insn): Add thumb32 instruction handlers.
13526
97dfe206
OJ
135272014-01-15 Omair Javaid <omair.javaid@linaro.org>
13528
13529 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
13530 (struct arm_linux_record_tdep): Declare.
13531 (arm_canonicalize_syscall): New function.
13532 (arm_all_but_pc_registers_record): New function.
13533 (arm_linux_syscall_record): New function.
13534 (arm_linux_init_abi): Add syscall recording constructs.
13535 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
13536 decoding. (arm_record_coproc_data_proc): Update arm syscall
13537 decoding.
13538 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
13539 <arm_syscall_record>: New field.
13540 * configure.tgt (arm*-*-linux*): Add linux-record.o to
13541 gdb_target_obs.
13542
9904a494
OJ
135432014-01-15 Omair Javaid <omair.javaid@linaro.org>
13544
13545 * arm-tdep.c (thumb_record_misc): Update to use sp as base
13546 register for push instruction recording.
13547
f969241e
OJ
135482014-01-15 Omair Javaid <omair.javaid@linaro.org>
13549
13550 * arm-tdep.c (thumb_record_misc): Update to correct logical
13551 error while recording ldm, ldmia and pop instructions.
13552
bfbbec00
OJ
135532014-01-15 Omair Javaid <omair.javaid@linaro.org>
13554
13555 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
13556
e40adcc9
PA
135572014-01-15 Pedro Alves <palves@redhat.com>
13558
13559 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
13560 (go32_resume, go32_fetch_registers, store_register)
13561 (go32_store_registers, go32_prepare_to_store)
13562 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
13563 (go32_create_inferior, go32_can_run, go32_terminal_init)
13564 (go32_terminal_inferior, go32_terminal_ours): Delete forward
13565 declarations.
13566
b0a16e66
TT
135672014-01-15 Tom Tromey <tromey@redhat.com>
13568
13569 * target.h (async_callback_ftype): New typedef.
13570 (struct target_ops) <to_async>: Use it.
13571
bf7105a4
JB
135722014-01-15 Joel Brobecker <brobecker@adacore.com>
13573
13574 * python/py-value.c (get_field_type): Remove unnecessary curly
13575 braces for single-statement if block.
13576
a8f35c2e
JB
135772014-01-15 Joel Brobecker <brobecker@adacore.com>
13578
13579 * python/py-type.c (convert_field): Add missing empty line
13580 after declarations.
13581
bb4142cf
DE
135822014-01-14 Doug Evans <dje@google.com>
13583
13584 * symfile.h (expand_symtabs_matching): Renamed from
13585 expand_partial_symbol_names. Update prototype.
13586 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
13587 * symfile.c (expand_symtabs_matching): Renamed from
13588 expand_partial_symbol_names. New args file_matcher, kind.
13589 Rename arg fun to symbol_matcher.
13590 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
13591 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
13592 ada_expand_partial_symbol_name.
13593 (ada_make_symbol_completion_list): Update to call
13594 expand_symtabs_matching.
13595 (ada_add_global_exceptions): Call expand_symtabs_matching.
13596 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
13597 call map_symbol_filenames.
13598 * symtab.c (sources_info): Update to call map_symbol_filenames.
13599 (search_symbols): Call expand_symtabs_matching.
13600 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
13601 (default_make_symbol_completion_list_break_on): Update to call
13602 expand_symtabs_matching.
13603 (make_source_files_completion_list): Update to call
13604 map_symbol_filenames.
13605
206f2a57
DE
136062014-01-14 Doug Evans <dje@google.com>
13607
13608 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
13609 (expand_symtabs_symbol_matcher_ftype): New typedef.
13610 (quick_symbol_functions.expand_symtabs_matching): Update to use.
13611 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13612 * symfile.c (expand_partial_symbol_names): Update to use
13613 expand_symtabs_symbol_matcher_ftype.
13614 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
13615 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13616 Arg name_matcher renamed to symbol_matcher.
13617 * psymtab.c (recursively_search_psymtabs): Update to use
13618 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
13619 sym_matcher.
13620 (expand_symtabs_matching_via_partial): Update to use
13621 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13622 Arg name_matcher renamed to symbol_matcher.
13623
540c2971
DE
136242014-01-14 Doug Evans <dje@google.com>
13625
13626 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
13627 (map_partial_symbol_filenames): Ditto.
13628 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
13629 (map_partial_symbol_filenames): Ditto.
13630 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
13631 (map_partial_symbol_filenames): Ditto.
13632 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
13633 (map_partial_symbol_filenames): Ditto.
13634 * symtab.c: Delete #include "psymtab.h".
13635
8213266a
PA
136362014-01-14 Pedro Alves <palves@redhat.com>
13637 Tom Tromey <tromey@redhat.com>
13638
13639 * infrun.c (use_displaced_stepping): Use find_record_target
13640 instead of RECORD_IS_USED.
13641 (adjust_pc_after_break): Use record_full_is_used instead of
13642 RECORD_IS_USED.
13643 * record-btrace.c (record_btrace_open): Call record_preopen
13644 instead of checking RECORD_IS_USED.
13645 * record-full.c (record_full_shortname)
13646 (record_full_core_shortname): New globals.
13647 (record_full_is_used): New function.
13648 (find_full_open): Call record_preopen instead of checking
13649 RECORD_IS_USED.
13650 (init_record_full_ops): Set the target's shortname to
13651 record_full_shortname.
13652 (init_record_full_core_ops): Set the target's shortname to
13653 record_full_core_shortname.
13654 * record-full.h (record_full_is_used): Declare.
13655 * record.c (find_record_target): Make extern.
13656 (record_preopen): New function.
13657 * record.h (RECORD_IS_USED): Delete macro.
13658 (find_record_target, record_preopen): Declare functions.
13659
7ec1862d
YQ
136602014-01-14 Yao Qi <yao@codesourcery.com>
13661
13662 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
13663 'len''s type to ULONGEST.
13664 (core_xfer_shared_libraries_aix): Likewise.
13665 * gdbarch.c, gdbarch.h: Regenerated.
13666 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
13667 Change type of 'len' to ULONGEST.
13668 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13669 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
13670
dea80a27
YQ
136712014-01-14 Yao Qi <yao@codesourcery.com>
13672
13673 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
13674 type of 'len' to ULONGEST.
13675 (linux_xfer_osdata_processgroups): Likewise.
13676 (linux_xfer_osdata_threads): Likewise.
13677 (linux_xfer_osdata_fds): Likewise.
13678 (linux_xfer_osdata_isockets): Likewise.
13679 (linux_xfer_osdata_shm): Likewise.
13680 (linux_xfer_osdata_sem): Likewise.
13681 (linux_xfer_osdata_msg): Likewise.
13682 (linux_common_xfer_osdata): Likewise.
13683 (struct osdata_type) <getter>: Likewise.
13684 * common/linux-osdata.h (linux_common_xfer_osdata): Update
13685 the declaration.
13686
b55e14c7
YQ
136872014-01-14 Yao Qi <yao@codesourcery.com>
13688
13689 * target.h (target_xfer_partial_ftype): Update.
13690 (struct target_ops) <to_xfer_partial>: Change 'len' type to
13691 ULONGEST.
13692 * aix-thread.c (aix_thread_xfer_partial): Change type of
13693 argument 'len' to ULONGEST.
13694 * auxv.c (procfs_xfer_auxv): Likewise.
13695 (ld_so_xfer_auxv): Likewise.
13696 (memory_xfer_auxv): Likewise.
13697 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13698 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13699 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
13700 * corelow.c (core_xfer_partial): Likewise.
13701 * ctf.c (ctf_xfer_partial): Likewise.
13702 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
13703 '%u'.
13704 (darwin_read_dyld_info): Likewise.
13705 (darwin_xfer_partial): Likewise.
13706 * exec.c (section_table_xfer_memory_partial): Likewise.
13707 (exec_xfer_partial): Likewise.
13708 * exec.h (section_table_xfer_memory_partial): Update
13709 declaration.
13710 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
13711 instead of plongest.
13712 (gnu_xfer_partial): Likewise.
13713 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
13714 (ia64_hpux_xfer_solib_got): Likewise.
13715 (ia64_hpux_xfer_partial): Likewise.
13716 * ia64-linux-nat.c (ia64_linux_xfer_partial):
13717 * inf-ptrace.c (inf_ptrace_xfer_partial):
13718 * inf-ttrace.c (inf_ttrace_xfer_partial):
13719 * linux-nat.c (linux_xfer_siginfo): Likewise.
13720 (linux_nat_xfer_partial): Likewise.
13721 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
13722 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
13723 * monitor.c (monitor_xfer_memory): Likewise.
13724 (monitor_xfer_partial): Likewise.
13725 * procfs.c (procfs_xfer_partial): Likewise.
13726 * record-full.c (record_full_xfer_partial): Likewise.
13727 (record_full_core_xfer_partial): Likewise.
13728 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
13729 instead of plongest.
13730 (gdbsim_xfer_partial): Likewise.
13731 * remote.c (remote_xfer_partial): Likewise.
13732 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13733 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13734 declaration.
13735 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13736 (rs6000_xfer_shared_libraries): Likewise.
13737 * sol-thread.c (sol_thread_xfer_partial): Likewise.
13738 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13739 (sparc_xfer_partial): Likewise.
13740 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13741 (spu_xfer_partial): Likewise.
13742 * spu-multiarch.c (spu_xfer_partial): Likewise.
13743 * target.c (target_read_live_memory): Likewise.
13744 (memory_xfer_live_readonly_partial): Likewise.
13745 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
13746 (target_xfer_partial, default_xfer_partial): Likewise.
13747 (current_xfer_partial): Likewise.
13748 * tracepoint.c (tfile_xfer_partial): Likewise.
13749 * windows-nat.c (windows_xfer_memory): Likewise. Call
13750 pulongest instead of plongest.
13751 (windows_xfer_partial): Likewise.
13752 (windows_xfer_shared_libraries): Likewise.
13753
05804640
YQ
137542014-01-14 Yao Qi <yao@codesourcery.com>
13755
13756 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
13757 target_xfer_partial_ftype.
13758
b5b08fb4
SC
137592014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13760
13761 PR python/15464
13762 PR python/16113
13763 * valops.c (value_struct_elt_bitpos): New function
13764 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
13765 object to 'None' if the field name is an empty string ("").
13766 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
13767 attribute to look for a field when 'name' is 'None'.
13768 (get_field_type): New function
13769
13aaf454
DE
137702014-01-13 Doug Evans <dje@google.com>
13771
13772 PR symtab/16426
13773 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
13774 (try_open_dwop_file): Ditto.
13775 * gdb_bfd.c: #include "vec.h".
13776 (bfdp): New typedef.
13777 (struct gdb_bfd_data): New member included_bfds.
13778 (gdb_bfd_unref): Unref all included bfds.
13779 (gdb_bfd_record_inclusion): New function.
13780 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
13781
c2cec97c
TT
137822014-01-13 Tom Tromey <tromey@redhat.com>
13783
13784 * gdbcore.h (deprecated_core_resize_section_table): Remove.
13785
78e5999d
TT
137862014-01-13 Tom Tromey <tromey@redhat.com>
13787
13788 * defs.h (use_windows): Remove.
13789 * gdb.c (main): Update.
13790 * main.c (captured_main, gdb_main): Update.
13791 * main.h (struct captured_main_args) <use_windows>: Remove.
13792 * top.c (use_windows): Remove.
13793
f2052bbe
TT
137942014-01-13 Tom Tromey <tromey@redhat.com>
13795
13796 * defs.h (deprecated_flush_hook): Remove.
13797
fde4f8ed
JK
137982014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13799
13800 PR threads/16216
13801 * linux-thread-db.c (try_thread_db_load): Add parameter
13802 check_auto_load_safe. Move here the file_is_auto_load_safe call.
13803 (try_thread_db_load_from_pdir_1): Move it there from here.
13804 (try_thread_db_load_from_sdir): Update caller.
13805 (try_thread_db_load_from_dir): Move it there from here.
13806
bdf61915
PP
138072014-01-13 Patrick Palka <patrick@parcs.ath.cx>
13808
13809 * regformats/regdat.sh: Always rewrite the register file.
13810
f71e1a8d
PA
138112014-01-13 Pedro Alves <palves@redhat.com>
13812
13813 * Makefile.in (CHECK_HEADERS): New variable.
13814 (check-headers:): New rule.
13815
42c85435
TT
138162014-01-13 Tom Tromey <tromey@redhat.com>
13817
13818 * cli/cli-setshow.c (do_set_command): Update.
13819 * defs.h (deprecated_set_hook): Remove.
13820 * top.c (deprecated_set_hook): Remove.
13821
f8de5129
PA
138222014-01-13 Pedro Alves <palves@redhat.com>
13823
13824 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
13825 the tracepoint if the PC is a pseudo-register.
13826
fc270c35
TT
138272014-01-13 Tom Tromey <tromey@redhat.com>
13828
13829 * defs.h (XCALLOC): Remove.
13830 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
13831 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
13832 * dwarf2loc.c (allocate_piece_closure): Likewise.
13833 * elfread.c (elf_symfile_segments): Likewise.
13834 (elf_symfile_segments): Likewise.
13835 * gdbtypes.c (copy_type_recursive): Likewise.
13836 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
13837 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
13838 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
13839 XCALLOC.
13840 * mt-tdep.c (mt_gdbarch_init): Likewise.
13841 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
13842 XCALLOC.
13843 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
13844 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
13845 * registry.c (registry_alloc_data): Likewise.
13846 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
13847 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
13848 * serial.c (serial_fdopen_ops): Likewise.
13849 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
13850 XCALLOC.
13851 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
13852 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
13853 not XCALLOC.
13854
70ba0933
TT
138552014-01-13 Tom Tromey <tromey@redhat.com>
13856
13857 * defs.h (XMALLOC): Remove.
13858 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
13859 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
13860 * cli-out.c (struct ui_out *): Likewise.
13861 * cli/cli-dump.c (add_dump_command): Likewise.
13862 (add_dump_command): Likewise.
13863 * complaints.c (get_complaints): Likewise.
13864 (find_complaint): Likewise.
13865 * dwarf2-frame.c (execute_cfa_program): Likewise.
13866 * dwarf2read.c (abbrev_table_read_table): Likewise.
13867 * gdbarch.sh: Likewise.
13868 * gdbarch.c: Rebuild.
13869 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
13870 * interps.c (interp_new): Likewise.
13871 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
13872 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
13873 * mi/mi-console.c (mi_console_file_new): Likewise.
13874 * mi/mi-interp.c (mi_interpreter_init): Likewise.
13875 * mi/mi-out.c (mi_out_new): Likewise.
13876 * mi/mi-parse.c (mi_parse): Likewise.
13877 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
13878 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
13879 * observer.c (xalloc_observer_list_node): Likewise.
13880 * regcache.c (regcache_xmalloc_1): Likewise.
13881 * reggroups.c (reggroup_new): Likewise.
13882 (_initialize_reggroup): Likewise.
13883 * registry.c (register_data_with_cleanup): Likewise.
13884 * remote.c (remote_notif_stop_alloc_reply): Likewise.
13885 * ser-base.c (serial_ttystate): Likewise.
13886 * ser-mingw.c (make_pipe_state): Likewise.
13887 * ser-pipe.c (pipe_open): Likewise.
13888 * serial.c (serial_open): Likewise.
13889 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
13890 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
13891 (tui_alloc_win_info): Likewise.
13892 (tui_add_content_elements): Likewise.
13893 * tui/tui-file.c (tui_file_new): Likewise.
13894 * tui/tui-out.c (tui_out_new): Likewise.
13895 * ui-file.c (mem_file_new): Likewise.
13896 * ui-out.c (push_level): Likewise.
13897 (make_cleanup_ui_out_end): Likewise.
13898 (append_header_to_list): Likewise.
13899 (ui_out_new): Likewise.
13900 * user-regs.c (user_reg_add_builtin): Likewise.
13901
41bf6aca
TT
139022014-01-13 Tom Tromey <tromey@redhat.com>
13903
13904 * defs.h (XZALLOC): Remove.
13905 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
13906 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
13907 (get_ada_tasks_inferior_data): Likewise.
13908 * auto-load.c (get_auto_load_pspace_data): Likewise.
13909 * auxv.c (get_auxv_inferior_data): Likewise.
13910 * bfd-target.c (target_bfd_reopen): Likewise.
13911 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
13912 (deprecated_insert_raw_breakpoint): Likewise.
13913 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
13914 * corelow.c (core_open): Likewise.
13915 * darwin-nat.c (darwin_check_new_threads): Likewise.
13916 (darwin_attach_pid): Likewise.
13917 * dummy-frame.c (dummy_frame_push): Likewise.
13918 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
13919 * dwarf2loc.c (allocate_piece_closure): Likewise.
13920 * elfread.c (elf_symfile_segments): Likewise.
13921 * eval.c (ptrmath_type_p): Likewise.
13922 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
13923 * gdbtypes.c (alloc_type_arch): Likewise.
13924 (alloc_type_instance): Likewise.
13925 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
13926 * inf-child.c (inf_child_can_use_agent): Likewise.
13927 * inflow.c (get_inflow_inferior_data): Likewise.
13928 * infrun.c (save_infcall_suspend_state): Likewise.
13929 * jit.c (jit_reader_load): Likewise.
13930 (get_jit_objfile_data): Likewise.
13931 (get_jit_program_space_data): Likewise.
13932 (jit_object_open_impl): Likewise.
13933 (jit_symtab_open_impl): Likewise.
13934 (jit_block_open_impl): Likewise.
13935 (jit_frame_sniffer): Likewise.
13936 * linux-fork.c (add_fork): Likewise.
13937 * maint.c (make_command_stats_cleanup): Likewise.
13938 * objfiles.c (get_objfile_pspace_data): Likewise.
13939 * opencl-lang.c (struct lval_closure): Likewise.
13940 * osdata.c (osdata_start_osdata): Likewise.
13941 * progspace.c (new_address_space): Likewise.
13942 (add_program_space): Likewise.
13943 * remote-sim.c (get_sim_inferior_data): Likewise.
13944 * sh-tdep.c (sh_gdbarch_init): Likewise.
13945 * skip.c (Ignore): Likewise.
13946 (skip_delete_command): Likewise.
13947 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
13948 (library_list_start_library): Likewise.
13949 (solib_aix_current_sos): Likewise.
13950 * solib-darwin.c (get_darwin_info): Likewise.
13951 (darwin_current_sos): Likewise.
13952 * solib-dsbt.c (get_dsbt_info): Likewise.
13953 * solib-ia64-hpux.c (new_so_list): Likewise.
13954 (ia64_hpux_get_solib_linkage_addr): Likewise.
13955 * solib-spu.c (append_ocl_sos): Likewise.
13956 (spu_current_sos): Likewise.
13957 * solib-svr4.c (get_svr4_info): Likewise.
13958 (svr4_keep_data_in_core): Likewise.
13959 (library_list_start_library): Likewise.
13960 (svr4_default_sos): Likewise.
13961 (svr4_read_so_list): Likewise.
13962 * solib-target.c (library_list_start_library): Likewise.
13963 (solib_target_current_sos): Likewise.
13964 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
13965 * symfile-debug.c (install_symfile_debug_logging): Likewise.
13966 * symfile.c (default_symfile_segments): Likewise.
13967 * target-descriptions.c (tdesc_data_init): Likewise.
13968 (tdesc_create_reg): Likewise.
13969 (struct tdesc_type *): Likewise.
13970 (tdesc_create_vector): Likewise.
13971 (tdesc_set_struct_size): Likewise.
13972 (struct tdesc_type *): Likewise.
13973 (tdesc_free_feature): Likewise.
13974 (tdesc_create_feature): Likewise.
13975 * windows-nat.c (windows_add_thread): Likewise.
13976 (windows_make_so): Likewise.
13977 * xml-support.c (gdb_xml_body_text): Likewise.
13978 (gdb_xml_create_parser_and_cleanup): Likewise.
13979 (xml_process_xincludes): Likewise.
13980 * xml-syscall.c (allocate_syscalls_info): Likewise.
13981 (syscall_create_syscall_desc): Likewise.
13982
5acfdbae
SDJ
139832014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
13984
13985 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
13986 function, with code from i386_stap_parse_special_token.
13987 (i386_stap_parse_special_token_three_arg_disp): Likewise.
13988 (i386_stap_parse_special_token): Move code to the two functions
13989 above; simplify it.
13990
0000e5cc
PA
139912014-01-09 Pedro Alves <palves@redhat.com>
13992 Hui Zhu <hui@codesourcery.com>
13993
13994 PR gdb/16101
13995 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
13996 bp_err_string. Don't mark the location shlib_disabled if the
13997 error thrown wasn't a generic or memory error. Catch errors
13998 thrown while inserting breakpoints in overlayed code. Output
13999 error message of software breakpoints.
14000 * remote.c (remote_insert_breakpoint): If this breakpoint has
14001 target-side commands but this stub doesn't support Z0 packets,
14002 throw NOT_SUPPORTED_ERROR error.
14003 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
14004 * target.h (target_insert_breakpoint): Extend comment.
14005 (target_insert_hw_breakpoint): Add comment.
14006
b7ea362b
PA
140072014-01-08 Pedro Alves <palves@redhat.com>
14008
14009 * remote.c (remote_add_thread): Add threads silently if starting
14010 up.
14011 (remote_notice_new_inferior): If in all-stop, and starting up,
14012 don't call notice_new_inferior.
14013 (get_current_thread): New function, factored out from ...
14014 (add_current_inferior_and_thread): ... this. Adjust.
14015 (remote_start_remote) <all-stop>: Fetch the thread list. If we
14016 found any thread, then select the remote's current thread as GDB's
14017 current thread too.
14018
b7bba001
JB
140192014-01-08 Joel Brobecker <brobecker@adacore.com>
14020
14021 * NEWS: Create a new section for the next release branch.
14022 Rename the section of the current branch, now that it has
14023 been cut.
14024
16dfbded
JB
140252014-01-08 Joel Brobecker <brobecker@adacore.com>
14026
14027 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
14028 * version.in: Bump version to 7.7.50.DATE-cvs.
14029
22c90ac1
YQ
140302014-01-08 Yao Qi <yao@codesourcery.com>
14031
14032 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
14033 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
14034 (spu_xfer_partial): Cast 'buf' to 'const char *'.
14035
d64ad97c
YQ
140362014-01-08 Yao Qi <yao@codesourcery.com>
14037
14038 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
14039 return value of bfd_get_filename to symbol_file_add_from_bfd.
14040
f93ba80c
PM
140412014-01-08 Pierre Muller <muller@sourceware.org>
14042
14043 Fix PR16201.
14044 * coff-pe-read.c (struct read_pe_section_data): Add index field.
14045 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
14046 to prim_record_mininal_symbol_and_info.
14047 (add_pe_forwarded_sym): Use known section number of forwarded symbol
14048 in call to prim_record_minimal_symbol_and_info.
14049 (read_pe_exported_syms): Set index field of section_data.
14050
a4d9ba85
AP
140512014-01-07 Andrew Pinski <apinski@cavium.com>
14052
14053 * features/aarch64-core.xml (cpsr): Change to be 64bit.
14054 * features/aarch64.c: Regenerate.
14055
1b67eb02
AS
140562014-01-07 Andreas Schwab <schwab@linux-m68k.org>
14057
14058 * target.c (return_null): Define.
14059 (update_current_target): Use it instead of return_zero for
14060 functions that return a pointer.
14061
5e3f4fab
EBM
140622014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14063
14064 * source.c (add_path): Fix check for duplicated paths in the previously
14065 included paths.
14066
e2616788
HK
140672014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
14068
14069 * ada-lang.c: Remove duplicated include statements.
14070 * alphabsd-nat.c: Ditto.
14071 * amd64-darwin-tdep.c: Ditto.
14072 * amd64fbsd-nat.c: Ditto.
14073 * auto-load.c: Ditto.
14074 * ax-gdb.c: Ditto.
14075 * breakpoint.c: Ditto.
14076 * dbxread.c: Ditto.
14077 * fork-child.c: Ditto.
14078 * gdb_usleep.c: Ditto.
14079 * i386-darwin-tdep.c: Ditto.
14080 * i386fbsd-nat.c: Ditto.
14081 * infcmd.c: Ditto.
14082 * inferior.c: Ditto.
14083 * jv-lang.c: Ditto.
14084 * linux-nat.c: Ditto.
14085 * linux-tdep.c: Ditto.
14086 * m68kbsd-nat.c: Ditto.
14087 * m68klinux-nat.c: Ditto.
14088 * microblaze-tdep.c: Ditto.
14089 * mips-linux-tdep.c: Ditto.
14090 * mn10300-tdep.c: Ditto.
14091 * nto-tdep.c: Ditto.
14092 * opencl-lang.c: Ditto.
14093 * osdata.c: Ditto.
14094 * printcmd.c: Ditto.
14095 * regcache.c: Ditto.
14096 * remote-m32r-sdi.c: Ditto.
14097 * remote.c: Ditto.
14098 * symfile.c: Ditto.
14099 * symtab.c: Ditto.
14100 * tilegx-linux-nat.c: Ditto.
14101 * tilegx-tdep.c: Ditto.
14102 * tracepoint.c: Ditto.
14103 * valops.c: Ditto.
14104 * vaxbsd-nat.c: Ditto.
14105 * windows-nat.c: Ditto.
14106 * xtensa-tdep.c: Ditto.
14107
bd1f7788
YQ
141082014-01-07 Yao Qi <yao@codesourcery.com>
14109
14110 * spu-linux-nat.c (_initialize_spu_nat): Declare.
14111
79301218
JB
141122014-01-07 Yao Qi <yao@codesourcery.com>
14113 Joel Brobecker <brobecker@adacore.com>
14114
14115 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
14116 (pdc_write_regs): Likewise.
14117 (fetch_regs_kernel_thread): Likewise.
14118 (store_regs_kernel_thread): Likewise.
14119
141202014-01-07 Joel Brobecker <brobecker@adacore.com>
14121
14122 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
14123 tagged type objects to their actual type.
14124
8e355c5d
JB
141252014-01-07 Joel Brobecker <brobecker@adacore.com>
14126
14127 * ada-valprint.c (print_field_values): Add "language" parameter.
14128 Update calls to print_field_values and print_variant_part.
14129 Pass new parameter "language" in call to val_print instead
14130 of "current_language". Replace call to ada_val_print by call
14131 to val_print.
14132 (print_variant_part): Add "language" parameter.
14133 (ada_val_print_struct_union): Update call to print_field_values.
14134
4fbf5aa5
JB
141352014-01-07 Joel Brobecker <brobecker@adacore.com>
14136
14137 * ada-valprint.c (ui_memcpy): Delete.
14138 (ada_print_floating): Update documentation. Add empty line
14139 between between function documentation and implementation.
14140 Delete variable "buffer". Use ui_file_xstrdup in place of
14141 ui_file_put. Minor adjustments following this change.
14142
71855601
JB
141432014-01-07 Joel Brobecker <brobecker@adacore.com>
14144
14145 * ada-valprint.c (ada_val_print_string): New function,
14146 extracted from ada_val_print_array.
14147 (ada_val_print_array): Replace extracted code by call
14148 to ada_val_print_string followed by a return. Move
14149 "else" branch to the function's top block.
14150
4eb27a30
JB
141512014-01-07 Joel Brobecker <brobecker@adacore.com>
14152
14153 * ada-valprint.c (ada_val_print_array): Move implementation
14154 down. Rename parameter "offset" and "val" into "offset_aligned"
14155 and "original_value" respectively. Add parameter "offset".
14156
34b27950
JB
141572014-01-07 Joel Brobecker <brobecker@adacore.com>
14158
14159 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
14160 re-organizing the code. Change the "???" message printed
14161 when target type is a TYPE_CODE_UNDEF into
14162 "<ref to undefined type>".
14163
079e4591
JB
141642014-01-07 Joel Brobecker <brobecker@adacore.com>
14165
14166 * ada-valprint.c (print_record): Delete, implementation inlined...
14167 (ada_val_print_struct_union): ... here. Remove call to
14168 ada_check_typedef in inlined implementation.
14169
8004dfd1
JB
141702014-01-07 Joel Brobecker <brobecker@adacore.com>
14171
14172 * ada-valprint.c (ada_val_print_gnat_array): New function,
14173 extracted from ada_val_print_1;
14174 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
14175 (ada_val_print_flt, ada_val_print_struct_union)
14176 (ada_val_print_ref): Likewise.
14177 (ada_val_print_1): Delete variables i and elttype.
14178 Replace extracted-out code by call to corresponding
14179 new functions.
14180
760a2db0
JB
141812014-01-07 Joel Brobecker <brobecker@adacore.com>
14182
14183 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
14184
3a92c861
JB
141852014-01-07 Joel Brobecker <brobecker@adacore.com>
14186
14187 * ada-valprint.c (ada_val_print_1): Replace calls to
14188 ada_val_print_1 by calls to val_print.
14189
cd1630f9
JB
141902014-01-07 Joel Brobecker <brobecker@adacore.com>
14191
14192 * ada-valprint.c (ada_val_print_1): Add parameter "language".
14193 Update calls to self accordingly. Replace calls to c_val_print
14194 by calls to val_print.
14195
bdf779a0
JB
141962014-01-07 Joel Brobecker <brobecker@adacore.com>
14197
14198 * ada-valprint.c (print_record): Delete declaration.
14199 (adjust_type_signedness, ada_val_print_1): Likewise.
14200 (ada_val_print): Move function implementation down.
14201 (print_variant_part, print_field_values, print_record):
14202 Move function implementation up.
14203
c0d48811
JB
142042014-01-07 Joel Brobecker <brobecker@adacore.com>
14205
14206 * python/py-type.c (typy_get_name): New function.
14207 (type_object_getset): Add entry for attribute "name".
14208 * NEWS: Add entry mentioning this new attribute.
14209
c26e9cbb
YQ
142102014-01-07 Yao Qi <yao@codesourcery.com>
14211
14212 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
14213 statement.
14214
0cc6f43d
YQ
142152014-01-07 Yao Qi <yao@codesourcery.com>
14216
14217 * gnu-nat.c (info_port_rights): Add qualifier const to
14218 argument args.
14219
eec03155
YQ
142202014-01-07 Yao Qi <yao@codesourcery.com>
14221
14222 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
14223
f04a82ef
YQ
142242014-01-07 Yao Qi <yao@codesourcery.com>
14225
14226 * gnu-nat.c (make_inf) Update declaration.
14227 (make_inf): Make it static.
14228 (inf_set_traced): Likewise.
14229 (inf_port_to_thread, inf_task_died_status): Likewise.
14230
d57dda0a
YQ
142312014-01-07 Yao Qi <yao@codesourcery.com>
14232
14233 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
14234
3aa8c969
YQ
142352014-01-07 Yao Qi <yao@codesourcery.com>
14236
14237 * gnu-nat.c (_initialize_gnu_nat): Declare.
14238
94123b4f
YQ
142392014-01-07 Yao Qi <yao@codesourcery.com>
14240
14241 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
14242 'enum bfd_endian'.
14243 (struct gdbarch_info) <byte_order>: Change type to
14244 'enum bfd_endian'.
14245 <byte_order_for_code>: Likewise.
14246 * gdbarch.c, gdbarch.h: Regenerated.
14247
dc81d70a
TT
142482014-01-06 Sasha Smundak <asmundak@google.com>
14249
14250 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
14251
cc2f3c35
TT
142522014-01-06 Tom Tromey <tromey@redhat.com>
14253
14254 * doublest.c (convert_doublest_to_floatformat): Use const, not
14255 CONST.
14256 * somread.c (som_symtab_read): Likewise.
14257
adcf2eed
HZ
142582014-01-07 Hui Zhu <hui@codesourcery.com>
14259
14260 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
14261 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
14262 (gdb_bfd_fopen): Ditto.
14263 (gdb_bfd_openr): Ditto.
14264 (gdb_bfd_openw): Ditto.
14265 (gdb_bfd_openr_iovec): Ditto.
14266 (gdb_bfd_fdopenr): Ditto.
14267 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
14268 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
14269 with xstrdup.
14270 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
14271 with xstrdup.
14272 * symfile-mem.c (symbol_file_add_from_memory): Removed
14273 gdb_bfd_stash_filename.
14274
50722198
DE
142752014-01-03 Doug Evans <dje@google.com>
14276
14277 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
14278 output.
14279
2fa4b862
JB
142802014-01-01 Joel Brobecker <brobecker@adacore.com>
14281
14282 Update year range in copyright notice of all files.
14283
28498c42
JB
142842014-01-01 Joel Brobecker <brobecker@adacore.com>
14285
14286 * top.c (print_gdb_version): Set copyright year to 2014.
14287
7b6e1046
JB
142882014-01-01 Joel Brobecker <brobecker@adacore.com>
14289
14290 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
14291
df96af55 14292For older changes see ChangeLog-2013.
c906108c
SS
14293\f
14294Local Variables:
14295mode: change-log
14296left-margin: 8
14297fill-column: 74
14298version-control: never
57da7796 14299coding: utf-8
c906108c 14300End:
This page took 2.424103 seconds and 4 git commands to generate.