Remove spurious exceptions.h inclusions
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
c765fdb9
GB
12014-10-08 Gary Benson <gbenson@redhat.com>
2
3 * ada-lang.c: Do not include exceptions.h.
4 * ada-valprint.c: Likewise.
5 * amd64-tdep.c: Likewise.
6 * auto-load.c: Likewise.
7 * block.c: Likewise.
8 * break-catch-throw.c: Likewise.
9 * breakpoint.c: Likewise.
10 * btrace.c: Likewise.
11 * c-lang.c: Likewise.
12 * cli/cli-cmds.c: Likewise.
13 * cli/cli-interp.c: Likewise.
14 * cli/cli-script.c: Likewise.
15 * completer.c: Likewise.
16 * corefile.c: Likewise.
17 * corelow.c: Likewise.
18 * cp-abi.c: Likewise.
19 * cp-support.c: Likewise.
20 * cp-valprint.c: Likewise.
21 * darwin-nat.c: Likewise.
22 * dwarf2-frame-tailcall.c: Likewise.
23 * dwarf2-frame.c: Likewise.
24 * dwarf2loc.c: Likewise.
25 * dwarf2read.c: Likewise.
26 * eval.c: Likewise.
27 * event-loop.c: Likewise.
28 * event-top.c: Likewise.
29 * f-valprint.c: Likewise.
30 * frame-unwind.c: Likewise.
31 * frame.c: Likewise.
32 * gdbtypes.c: Likewise.
33 * gnu-v2-abi.c: Likewise.
34 * gnu-v3-abi.c: Likewise.
35 * guile/scm-auto-load.c: Likewise.
36 * guile/scm-breakpoint.c: Likewise.
37 * guile/scm-cmd.c: Likewise.
38 * guile/scm-frame.c: Likewise.
39 * guile/scm-lazy-string.c: Likewise.
40 * guile/scm-param.c: Likewise.
41 * guile/scm-symbol.c: Likewise.
42 * guile/scm-type.c: Likewise.
43 * hppa-hpux-tdep.c: Likewise.
44 * i386-tdep.c: Likewise.
45 * inf-loop.c: Likewise.
46 * infcall.c: Likewise.
47 * infcmd.c: Likewise.
48 * infrun.c: Likewise.
49 * interps.c: Likewise.
50 * interps.h: Likewise.
51 * jit.c: Likewise.
52 * linespec.c: Likewise.
53 * linux-nat.c: Likewise.
54 * linux-thread-db.c: Likewise.
55 * m32r-rom.c: Likewise.
56 * main.c: Likewise.
57 * memory-map.c: Likewise.
58 * mi/mi-cmd-break.c: Likewise.
59 * mi/mi-cmd-stack.c: Likewise.
60 * mi/mi-interp.c: Likewise.
61 * mi/mi-main.c: Likewise.
62 * monitor.c: Likewise.
63 * nto-procfs.c: Likewise.
64 * objc-lang.c: Likewise.
65 * p-valprint.c: Likewise.
66 * parse.c: Likewise.
67 * ppc-linux-tdep.c: Likewise.
68 * printcmd.c: Likewise.
69 * probe.c: Likewise.
70 * python/py-auto-load.c: Likewise.
71 * python/py-breakpoint.c: Likewise.
72 * python/py-cmd.c: Likewise.
73 * python/py-finishbreakpoint.c: Likewise.
74 * python/py-frame.c: Likewise.
75 * python/py-framefilter.c: Likewise.
76 * python/py-function.c: Likewise.
77 * python/py-gdb-readline.c: Likewise.
78 * python/py-inferior.c: Likewise.
79 * python/py-infthread.c: Likewise.
80 * python/py-lazy-string.c: Likewise.
81 * python/py-linetable.c: Likewise.
82 * python/py-param.c: Likewise.
83 * python/py-prettyprint.c: Likewise.
84 * python/py-symbol.c: Likewise.
85 * python/py-type.c: Likewise.
86 * python/py-value.c: Likewise.
87 * python/python-internal.h: Likewise.
88 * python/python.c: Likewise.
89 * record-btrace.c: Likewise.
90 * record-full.c: Likewise.
91 * regcache.c: Likewise.
92 * remote-fileio.c: Likewise.
93 * remote-mips.c: Likewise.
94 * remote.c: Likewise.
95 * rs6000-aix-tdep.c: Likewise.
96 * rs6000-nat.c: Likewise.
97 * skip.c: Likewise.
98 * solib-darwin.c: Likewise.
99 * solib-dsbt.c: Likewise.
100 * solib-frv.c: Likewise.
101 * solib-ia64-hpux.c: Likewise.
102 * solib-spu.c: Likewise.
103 * solib-svr4.c: Likewise.
104 * solib.c: Likewise.
105 * spu-tdep.c: Likewise.
106 * stack.c: Likewise.
107 * stap-probe.c: Likewise.
108 * symfile-mem.c: Likewise.
109 * symmisc.c: Likewise.
110 * target.c: Likewise.
111 * thread.c: Likewise.
112 * top.c: Likewise.
113 * tracepoint.c: Likewise.
114 * tui/tui-interp.c: Likewise.
115 * typeprint.c: Likewise.
116 * utils.c: Likewise.
117 * valarith.c: Likewise.
118 * valops.c: Likewise.
119 * valprint.c: Likewise.
120 * value.c: Likewise.
121 * varobj.c: Likewise.
122 * windows-nat.c: Likewise.
123 * xml-support.c: Likewise.
124
484933d1
MR
1252014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
126
127 * mips-tdep.c (add_offset_16): Rewrite to implement what the
128 name implies.
129 (extended_mips16_next_pc): Update accordingly.
130
ab50adb6
MR
1312014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
132
133 * mips-tdep.c (mips16_instruction_is_compact_branch): New
134 function.
135 (micromips_instruction_is_compact_branch): Likewise.
136 (mips16_scan_prologue): Terminate scanning upon seeing a branch
137 or a compact jump, reaching a jump delay slot, or seeing a
138 second non-prologue instruction.
139 (micromips_scan_prologue): Also terminate scanning upon seeing a
140 compact branch or jump, or reaching a branch or jump delay slot.
141 (mips32_scan_prologue): Terminate scanning upon reaching a branch
142 or jump delay slot, or seeing a second non-prologue instruction.
143 (mips32_instruction_has_delay_slot): Retain instruction
144 examination code only, update arguments accordingly and move
145 instruction fetch pieces to...
146 (mips32_insn_at_pc_has_delay_slot): ... this new function.
147 (micromips_instruction_has_delay_slot): Likewise and to...
148 (micromips_insn_at_pc_has_delay_slot): ... this new function.
149 (mips16_instruction_has_delay_slot): Likewise and to...
150 (mips16_insn_at_pc_has_delay_slot): ... this new function.
151 (mips_single_step_through_delay): Update accordingly.
152 (mips_adjust_breakpoint_address): Likewise.
153
ae790652
MR
1542014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
155
156 * mips-tdep.c (micromips_instruction_has_delay_slot): When
157 !mustbe32 also return 1 for 32-bit instructions.
158 (mips16_instruction_has_delay_slot): Likewise. Add an
159 explanatory comment.
160
9b807e7b
MR
1612014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
162
163 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
164 symbols special.
165
0d5ed153
MR
1662014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
167
168 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
169 update comments.
170 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
171 for the breakpoint's address. Don't preinitialize `placed_size'.
172 (insert_bp_location): Set `reqstd_address' rather than
173 `placed_address'.
174 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
175 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
176 address.
177 (bkpt_remove_location): Likewise.
178 (deprecated_insert_raw_breakpoint): Likewise.
179 (deprecated_remove_raw_breakpoint): Likewise.
180 (find_single_step_breakpoint): Likewise.
181 * mem-break.c (default_memory_insert_breakpoint): Use
182 `reqstd_address' for the breakpoint's address. Don't set
183 `placed_address' or `placed_size' if breakpoint contents couldn't
184 have been determined.
185 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
186 the breakpoint's address.
187 (remote_insert_hw_breakpoint): Likewise. Don't set
188 `placed_address' or `placed_size' if breakpoint couldn't have been
189 set.
190 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
191 `reqstd_address' for the breakpoint's address.
192 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
193 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
194 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
195 * microblaze-linux-tdep.c
196 (microblaze_linux_memory_remove_breakpoint): Likewise.
197 * monitor.c (monitor_insert_breakpoint): Likewise.
198 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
199 (procfs_insert_hw_breakpoint): Likewise.
200 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
201 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
202 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
203 * remote-mips.c (mips_insert_breakpoint): Likewise.
204 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
205
3e871532
LM
2062014-10-03 Luis Machado <lgustavo@codesourcery.com>
207
208 * valops.c (value_assign): Check for bit field assignments
209 before calling architecture-specific register value
210 conversion functions.
211
ec48dc8b
PM
2122014-10-03 Pierre Muller <muller@sourceware.org>
213
214 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
215
b57bacec
PA
2162014-10-02 Pedro Alves <palves@redhat.com>
217
218 * breakpoint.c (breakpoints_should_be_inserted_now): Use
219 threads_are_executing.
220 * breakpoint.h (breakpoints_should_be_inserted_now): Add
221 describing comment.
222 * gdbthread.h (threads_are_executing): Declare.
223 (handle_signal_stop) <random signals>: Don't print about the
224 signal here if stopping.
225 (end_stepping_range): Don't notify observers here.
226 (normal_stop): Update the thread list. If stopped by a random
227 signal or a stepping range ended, notify observers.
228 * thread.c (threads_executing): New global.
229 (init_thread_list): Clear 'threads_executing'.
230 (set_executing): Set or clear 'threads_executing'.
231 (threads_are_executing): New function.
232 (update_threads_executing): New function.
233 (update_thread_list): Use it.
234
13fd3ff3
PA
2352014-10-02 Pedro Alves <palves@redhat.com>
236
237 PR breakpoints/17431
238 * breakpoint.c (update_breakpoints_after_exec): Don't create
239 overlay, longjmp, std terminate nor exception breakpoints here.
240
32990ada
PA
2412014-10-02 Pedro Alves <palves@redhat.com>
242
243 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
244 Adjust comments.
245 * inferior.c (find_inferior_for_program_space): Give preference to
246 the current inferior.
247 * inferior.h (find_inferior_for_program_space): Update comment.
248 * progspace.c (switch_to_program_space_and_thread): Prefer the
249 current inferior if it's bound to the program space requested. If
250 the inferior found doesn't have a PID yet, don't bother looking up
251 a thread.
252 * progspace.h (switch_to_program_space_and_thread): Adjust
253 comment.
254 * thread.c (any_thread_of_process, any_live_thread_of_process):
255 Give preference to the current thread.
256
0fec99e8
PA
2572014-10-01 Pedro Alves <palves@redhat.com>
258
259 * breakpoint.c (insert_bp_location): Error out if inserting a
260 software breakpoint at a read-only address.
261 * target.c (memory_xfer_check_region): New function, factored out
262 from ...
263 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
264 ULONGEST.
265 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
266 against the memory region attributes.
267
2ddf4301
SM
2682014-10-01 Simon Marchi <simon.marchi@ericsson.com>
269
270 * NEWS: Announce new exit-code field in -list-thread-groups
271 output.
272 * inferior.c (exit_inferior_1): Don't clear exit code.
273 (inferior_appeared): Clear exit code.
274 * mi/mi-main.c (print_one_inferior): Add printing of the exit
275 code.
276
5fdeec1d
PA
2772014-10-01 Pedro Alves <palves@redhat.com>
278
279 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
280 GENERATED" along with emacs/vi read-only markers.
281 * regformats/aarch64.dat: Regenerate.
282 * regformats/arm-with-iwmmxt.dat: Regenerate.
283 * regformats/arm-with-neon.dat: Regenerate.
284 * regformats/arm-with-vfpv2.dat: Regenerate.
285 * regformats/arm-with-vfpv3.dat: Regenerate.
286 * regformats/i386/amd64-avx-linux.dat: Regenerate.
287 * regformats/i386/amd64-avx.dat: Regenerate.
288 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
289 * regformats/i386/amd64-avx512.dat: Regenerate.
290 * regformats/i386/amd64-linux.dat: Regenerate.
291 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
292 * regformats/i386/amd64-mpx.dat: Regenerate.
293 * regformats/i386/amd64.dat: Regenerate.
294 * regformats/i386/i386-avx-linux.dat: Regenerate.
295 * regformats/i386/i386-avx.dat: Regenerate.
296 * regformats/i386/i386-avx512-linux.dat: Regenerate.
297 * regformats/i386/i386-avx512.dat: Regenerate.
298 * regformats/i386/i386-linux.dat: Regenerate.
299 * regformats/i386/i386-mmx-linux.dat: Regenerate.
300 * regformats/i386/i386-mmx.dat: Regenerate.
301 * regformats/i386/i386-mpx-linux.dat: Regenerate.
302 * regformats/i386/i386-mpx.dat: Regenerate.
303 * regformats/i386/i386.dat: Regenerate.
304 * regformats/i386/x32-avx-linux.dat: Regenerate.
305 * regformats/i386/x32-avx.dat: Regenerate.
306 * regformats/i386/x32-avx512-linux.dat: Regenerate.
307 * regformats/i386/x32-avx512.dat: Regenerate.
308 * regformats/i386/x32-linux.dat: Regenerate.
309 * regformats/i386/x32.dat: Regenerate.
310 * regformats/microblaze-with-stack-protect.dat: Regenerate.
311 * regformats/mips-dsp-linux.dat: Regenerate.
312 * regformats/mips-linux.dat: Regenerate.
313 * regformats/mips64-dsp-linux.dat: Regenerate.
314 * regformats/mips64-linux.dat: Regenerate.
315 * regformats/nios2-linux.dat: Regenerate.
316 * regformats/rs6000/powerpc-32.dat: Regenerate.
317 * regformats/rs6000/powerpc-32l.dat: Regenerate.
318 * regformats/rs6000/powerpc-64l.dat: Regenerate.
319 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
320 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
321 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
322 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
323 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
324 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
325 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
326 * regformats/s390-linux32.dat: Regenerate.
327 * regformats/s390-linux32v1.dat: Regenerate.
328 * regformats/s390-linux32v2.dat: Regenerate.
329 * regformats/s390-linux64.dat: Regenerate.
330 * regformats/s390-linux64v1.dat: Regenerate.
331 * regformats/s390-linux64v2.dat: Regenerate.
332 * regformats/s390-te-linux64.dat: Regenerate.
333 * regformats/s390x-linux64.dat: Regenerate.
334 * regformats/s390x-linux64v1.dat: Regenerate.
335 * regformats/s390x-linux64v2.dat: Regenerate.
336 * regformats/s390x-te-linux64.dat: Regenerate.
337 * regformats/tic6x-c62x-linux.dat: Regenerate.
338 * regformats/tic6x-c62x.dat: Regenerate.
339 * regformats/tic6x-c64x-linux.dat: Regenerate.
340 * regformats/tic6x-c64x.dat: Regenerate.
341 * regformats/tic6x-c64xp-linux.dat: Regenerate.
342 * regformats/tic6x-c64xp.dat: Regenerate.
343
db74e4ba
PA
3442014-10-01 Pedro Alves <palves@redhat.com>
345
346 * features/Makefile: Update comments.
347 (XMLTOC): List all xml files we build C files from.
348 (clean-cfiles): New rule.
349
d63f2f84
PA
3502014-10-01 Pedro Alves <palves@redhat.com>
351
352 * features/i386/amd64-avx512-linux.c: Regenerate.
353 * features/i386/amd64-avx512.c: Regenerate.
354 * features/i386/x32-avx512-linux.c: Regenerate.
355 * features/i386/x32-avx512.c: Regenerate.
356
20ad026d
PA
3572014-10-01 Pedro Alves <palves@redhat.com>
358
359 * features/Makefile (WHICH): Remove arm-with-m,
360 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
361
acc9fe45
PA
3622014-10-01 Pedro Alves <palves@redhat.com>
363
364 * features/Makefile (clean): New rule.
365
e001e535
PA
3662014-10-01 Pedro Alves <palves@redhat.com>
367
368 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
369 (zmm14h): Add missing end quotes.
370
bdc14417
PA
3712014-10-01 Pedro Alves <palves@redhat.com>
372
373 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
374 * features/aarch64.c: Regenerate.
375
d83ad864
DB
3762014-09-30 Don Breazeal <donb@codesourcery.com>
377
378 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
379 code so as to work with follow_fork_inferior.
380 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
381 (inf_ttrace_create_inferior): Remove reference to
382 inf_ttrace_vfork_ppid.
383 (inf_ttrace_attach): Ditto.
384 (inf_ttrace_detach): Ditto.
385 (inf_ttrace_kill): Use current_inferior instead of
386 inf_ttrace_vfork_ppid.
387 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
388 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
389 inferior away from the parent.
390 * infrun.c (follow_fork): Call follow_fork_inferior instead of
391 target_follow_fork.
392 (follow_fork_inferior): New function.
393 (follow_inferior_reset_breakpoints): Make function static.
394 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
395 * linux-nat.c (linux_child_follow_fork): Move target-independent
396 code to infrun.c:follow_fork_inferior.
397
29082443
AA
3982014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
399
400 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
401 * gdbarch.c: Regenerate.
402 * gdbarch.h: Likewise.
403 * corelow.c (sniff_core_bfd): Drop presence check for deleted
404 gdbarch method 'regset_from_core_section'.
405 (get_core_register_section): Remove handling for the case that
406 regset == NULL and regset_from_core_section is defined.
407 (get_core_registers): Drop check for deleted method.
408 * procfs.c (procfs_do_thread_registers): Adjust comment.
409
f968fe80
AA
4102014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
411
412 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
413 (linux_nat_make_corefile_notes): Remove.
414 (linux_target_install_ops): Do not set target method
415 'make_corefile_notes'.
416 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
417 Remove field.
418 (linux_corefile_thread_callback): Instead of args->collect, call
419 linux_collect_thread_registers.
420 (linux_make_corefile_notes): Remove 'collect' parameter. Return
421 NULL unless there is a regset iterator.
422 (linux_make_corefile_notes_1): Remove.
423 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
424 by linux_make_corefile_notes.
425 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
426
174ad59a
AA
4272014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
428
429 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
430 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
431 Remove.
432 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
433
97094034
AA
4342014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
435
436 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
437 (xtensa_iterate_over_regset_sections): New.
438 (xtensa_gdbarch_init): Adjust gdbarch initialization.
439
f73d3ce7
AA
4402014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
441
442 * vax-tdep.c (vax_regset_from_core_section): Remove.
443 (vax_iterate_over_regset_sections): New.
444 (vax_gdbarch_init): Adjust gdbarch initialization.
445
cb24567a
AA
4462014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
447
448 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
449 (tilegx_regset_from_core_section): Remove.
450 (tilegx_iterate_over_regset_sections): New.
451 (tilegx_linux_init_abi): Adjust gdbarch initialization.
452
e5139de8
AA
4532014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
454
455 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
456 (sparc_iterate_over_regset_sections): New.
457 (sparc32_gdbarch_init): Adjust gdbarch initialization.
458 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
459 targets.
460 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
461 (sparc64fbsd_init_abi): Call fbsd_init_abi.
462 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
463 target method 'make_corefile_notes'.
464
c6d41a6f
AA
4652014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
466
467 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
468 'sizeof_gregset' and 'sizeof_fpregset'.
469 * sh-tdep.c (sh_regset_from_core_section): Remove.
470 (sh_iterate_over_regset_sections): New.
471 (sh_gdbarch_init): Adjust gdbarch initialization.
472 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
473 sizeof_fpregset.
474 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
475 'sizeof_gregset'.
476
9845a0b5
AA
4772014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
478
479 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
480 (score7_linux_iterate_over_regset_sections): New.
481 (score_gdbarch_init): Adjust gdbarch initialization.
482
23ea9aeb
AA
4832014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
484
485 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
486 FreeBSD targets.
487 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
488 method 'make_corefile_notes'.
489 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
490 (ppcfbsd_regset_from_core_section): Remove.
491 (ppcfbsd_iterate_over_regset_sections): New.
492 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
493 initialization.
494 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
495 (ppcnbsd_iterate_over_regset_sections): New.
496 (ppcnbsd_init_abi): Adjust.
497 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
498 (ppcobsd_iterate_over_regset_sections): New.
499 (ppcobsd_init_abi): Adjust.
500 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
501 (rs6000_aix_iterate_over_regset_sections): New.
502 (rs6000_aix_init_osabi): Adjust.
503
c5b8d704
AA
5042014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
505
506 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
507 (nios2_regset_from_core_section): Remove.
508 (nios2_iterate_over_regset_sections): New.
509 (nios2_linux_init_abi): Adjust gdbarch initialization.
510
3636e608
AA
5112014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
512
513 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
514 (am33_iterate_over_regset_sections): New.
515 (am33_linux_init_osabi): Adjust gdbarch initialization.
516
d4036235
AA
5172014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
518
519 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
520 (mips_linux_iterate_over_regset_sections): New.
521 (mips_linux_init_abi): Adjust gdbarch initialization.
522 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
523 (mips64obsd_iterate_over_regset_sections): New.
524 (mips64obsd_init_abi): Adjust.
525 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
526 (mipsnbsd_iterate_over_regset_sections): New.
527 (mipsnbsd_init_abi): Adjust.
528
b61ddd6e
AA
5292014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
530
531 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
532 (m88k_iterate_over_regset_sections): New.
533 (m88k_gdbarch_init): Adjust gdbarch initialization.
534
55a2906a
AA
5352014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
536
537 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
538 (ia64_linux_iterate_over_regset_sections): New.
539 (ia64_linux_init_abi): Adjust gdbarch initialization.
540
022c98ab
AA
5412014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
542
543 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
544 (m68kbsd_iterate_over_regset_sections): New.
545 (m68kbsd_init_abi): Adjust gdbarch initialization.
546 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
547 (m68k_linux_iterate_over_regset_sections): New.
548 (m68k_linux_init_abi): Adjust gdbarch initialization.
549
5fac247f
AA
5502014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
551
552 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
553 (m32r_linux_regset_from_core_section): Remove.
554 (m32r_linux_iterate_over_regset_sections): New.
555 (m32r_linux_init_abi): Adjust gdbarch initialization.
556
490496c3
AA
5572014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
558
559 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
560 (amd64obsd_iterate_over_regset_sections): New.
561 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
562 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
563 Remove.
564 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
565 regset_from_core_section initialization.
566 * i386-tdep.c (i386_regset_from_core_section): Remove.
567 (i386_iterate_over_regset_sections): New.
568 (i386_gdbarch_init): Adjust gdbarch initialization.
569 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
570 (i386_iterate_over_regset_sections): New prototype.
571 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
572 Remove.
573 (i386obsd_aout_iterate_over_regset_sections): New.
574 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
575 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
576 targets.
577 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
578 (amd64fbsd_init_abi): Call fbsd_init_abi.
579 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
580 (i386fbsd4_init_abi): Call fbsd_init_abi.
581 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
582 target method 'make_corefile_notes'.
583 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
584
50c5eb53
AA
5852014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
586
587 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
588 (hppa_hpux_iterate_over_regset_sections): New.
589 (hppa_hpux_init_abi): Adjust gdbarch initialization.
590 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
591 (hppa_linux_iterate_over_regset_sections): New.
592 (hppa_linux_init_abi): Adjust.
593 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
594 (hppanbsd_iterate_over_regset_sections): New.
595 (hppanbsd_init_abi): Adjust.
596 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
597 (hppaobsd_iterate_over_regset_sections): New.
598 (hppaobsd_init_abi): Adjust.
599
66afae4f
AA
6002014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
601
602 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
603 (frv_linux_iterate_over_regset_sections): New.
604 (frv_linux_init_abi): Adjust gdbarch initialization.
605
ed09174e
AA
6062014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
607
608 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
609 (armbsd_iterate_over_regset_sections): New prototype.
610 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
611 (armbsd_iterate_over_regset_sections): New.
612 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
613 initialization.
614
dff2166e
AA
6152014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
616
617 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
618 (alpha_linux_iterate_over_regset_sections): New.
619 (alpha_linux_init_abi): Adjust gdbarch initialization.
620 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
621 prototype.
622 (alphanbsd_iterate_over_regset_sections): New prototype.
623
4108500a
AA
6242014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
625
626 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
627 Remove.
628 (aarch64_linux_iterate_over_regset_sections): New.
629 (aarch64_linux_init_abi): Adjust gdbarch initialization.
630
a904c024
AA
6312014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
632
633 * fbsd-tdep.c: New file.
634 * fbsd-tdep.h: New file.
635 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
636 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
637 (ALLDEPFILES): Add fbsd-tdep.c.
638
8f0435f7
AA
6392014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
640
641 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
642 parameter.
643 * gdbarch.h: Regenerate.
644 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
645 iterator.
646 (get_core_register_section): Add parameter 'regset' and use it, if
647 set. Add parameter 'min_size' and verify the bfd section size
648 against it.
649 (get_core_registers_cb): Add parameter 'regset' and pass it to
650 get_core_register section. For the "standard" register sections
651 ".reg" and ".reg2", set an appropriate default for human_name.
652 (get_core_registers): Don't abort when the gdbarch has an iterator
653 but no regset_from_core_section. Add NULL/0 for parameters
654 'regset'/'min_size' in calls to get_core_register_section.
655 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
656 'regset' and use it instead of calling the
657 regset_from_core_section gdbarch method.
658 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
659 * i386-tdep.c (i386_supply_xstateregset)
660 (i386_collect_xstateregset, i386_xstateregset): Moved to
661 i386-linux-tdep.c.
662 (i386_regset_from_core_section): Drop handling for .reg-xfp and
663 .reg-xstate.
664 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
665 core file support only if the regset iterator hasn't been set.
666 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
667 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
668 Moved from i386-tdep.c and renamed to *_linux*.
669 (i386_linux_iterate_over_regset_sections): Add regset parameter to
670 each callback invocation. Allow any .reg-xstate size when reading
671 from a core file.
672 * amd64-tdep.c (amd64_supply_xstateregset)
673 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
674 amd64-linux-tdep.c.
675 (amd64_regset_from_core_section): Remove.
676 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
677 install an amd64-specific regset_from_core_section gdbarch method.
678 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
679 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
680 Moved from amd64-tdep.c and renamed to *_linux*.
681 (amd64_linux_iterate_over_regset_sections): Add regset parameter
682 to each callback invocation. Allow any .reg-xstate size when
683 reading from a core file.
684 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
685 (arm_linux_iterate_over_regset_sections): Add regset parameter to
686 each callback invocation.
687 (arm_linux_init_abi): No longer set the regset_from_core_section
688 gdbarch method.
689 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
690 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
691 each callback invocation.
692 (ppc_linux_init_abi): No longer set the regset_from_core_section
693 gdbarch method.
694 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
695 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
696 (s390_regset_from_core_section): Remove.
697 (s390_iterate_over_regset_sections): Add regset parameter to each
698 callback invocation.
699 (s390_gdbarch_init): No longer set the regset_from_core_section
700 gdbarch method. Drop initialization of deleted tdep fields.
701
5aa82d05
AA
7022014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
703
704 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
705 (amd64_linux_iterate_over_regset_sections): New.
706 (amd64_linux_init_abi_common): Don't install the regset section
707 list, but the new iterator in gdbarch.
708 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
709 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
710 (arm_linux_iterate_over_regset_sections): ...here. New function.
711 (arm_linux_init_abi): Set iterator instead of section list.
712 * corelow.c (get_core_registers_cb): New function, logic moved
713 from...
714 (get_core_registers): ...loop body here. Use new iterator method
715 instead of walking through the regset section list.
716 * gdbarch.sh: Remove 'core_regset_sections'. New method
717 'iterate_over_regset_sections'. New typedef
718 'iterate_over_regset_sections_cb'.
719 * gdbarch.c: Regenerate.
720 * gdbarch.h: Likewise.
721 * i386-linux-tdep.c (i386_linux_regset_sections)
722 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
723 Remove.
724 (i386_linux_iterate_over_regset_sections): New.
725 (i386_linux_init_abi): Don't choose a regset section list, but
726 install new iterator in gdbarch.
727 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
728 (linux_collect_regset_section_cb): New function, logic moved
729 from...
730 (linux_collect_thread_registers): ...loop body here. Use iterator
731 method instead of walking through list.
732 (linux_make_corefile_notes_1): Check for presence of iterator
733 method instead of regset section list.
734 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
735 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
736 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
737 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
738 (ppc_linux_iterate_over_regset_sections): ...here. New function.
739 (ppc_linux_init_abi): Don't choose from above regset section
740 lists, but install new iterator in gdbarch.
741 * regset.h (struct core_regset_section): Remove.
742 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
743 have_linux_v1, have_linux_v2, and have_tdb.
744 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
745 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
746 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
747 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
748 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
749 (s390_iterate_over_regset_sections): ...here. New function. Use
750 new tdep fields.
751 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
752 regset section lists, but install new iterator.
753
2eca4a8d
JK
7542014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
755
756 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
757
a73c2b56
SM
7582014-09-26 Simon Marchi <simon.marchi@ericsson.com>
759
760 * progspace.c (print_program_space): Don't prune program spaces
761 before printing them.
762
03d46957
PA
7632014-09-25 Pedro Alves <palves@redhat.com>
764
765 * infrun.c (user_visible_resume_ptid): Don't check
766 singlestep_breakpoints_inserted_p.
767
e558d7c1
PA
7682014-09-25 Pedro Alves <palves@redhat.com>
769
770 * breakpoint.c (should_be_inserted): Add debug output.
771
7f89fd65
PA
7722014-09-25 Pedro Alves <palves@redhat.com>
773
774 * infrun.c (stepping_past_instruction_at)
775 (clear_exit_convenience_vars): Point at infrun.h instead of
776 inferior.h.
777 (handle_signal_stop): Fix typo.
778
b7576e5c
YQ
7792014-09-24 Yao Qi <yao@codesourcery.com>
780
781 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
782 bitmask.
783
9a6cf368
GB
7842014-09-22 Gary Benson <gbenson@redhat.com>
785
786 * target.c (target_stop): Updated comment.
787
03f4463b
GB
7882014-09-22 Gary Benson <gbenson@redhat.com>
789
790 * target/target.h (target_stop_ptid): Renamed as...
791 (target_stop_and_wait): New function. Updated comment.
792 All uses updated.
793 (target_continue_ptid): Renamed as...
794 (target_continue_no_signal): New function. Updated comment.
795 All uses updated.
796
a25a5a45
PA
7972014-09-22 Pedro Alves <palves@redhat.com>
798
799 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
800 and "auto" merged.
801 * breakpoint.c (enum ugll_insert_mode): New enum.
802 (always_inserted_mode): Now a plain boolean.
803 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
804 (breakpoints_always_inserted_mode): Delete.
805 (breakpoints_should_be_inserted_now): New function.
806 (insert_breakpoints): Pass UGLL_INSERT to
807 update_global_location_list instead of calling
808 insert_breakpoint_locations manually.
809 (create_solib_event_breakpoint_1): New, factored out from ...
810 (create_solib_event_breakpoint): ... this.
811 (create_and_insert_solib_event_breakpoint): Use
812 create_solib_event_breakpoint_1 instead of calling
813 insert_breakpoint_locations manually.
814 (update_global_location_list): Change parameter type from boolean
815 to enum ugll_insert_mode. All callers adjusted. Adjust to use
816 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
817 (update_global_location_list_nothrow): Change parameter type from
818 boolean to enum ugll_insert_mode.
819 (_initialize_breakpoint): "breakpoint always-inserted" option is
820 now a boolean command. Update help text.
821 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
822 (breakpoints_should_be_inserted_now): New declaration.
823 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
824 Remove breakpoints_always_inserted_mode check.
825 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
826 * remote.c (remote_start_remote): Likewise.
827
04086b45
PA
8282014-09-22 Pedro Alves <palves@redhat.com>
829
830 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
831 (insert_breakpoints): Don't call insert_breakpoint_locations here.
832 Instead, pass UGLL_INSERT to update_global_location_list.
833 (update_global_location_list): Change parameter type from boolean
834 to enum ugll_insert_mode. All callers adjusted. Adjust to use
835 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
836 (create_solib_event_breakpoint_1): New, factored out from ...
837 (create_solib_event_breakpoint): ... this.
838 (create_and_insert_solib_event_breakpoint): Use
839 create_solib_event_breakpoint_1 instead of calling
840 insert_breakpoint_locations manually.
841 (update_global_location_list): Handle UGLL_INSERT.
842
44702360
PA
8432014-09-22 Pedro Alves <palves@redhat.com>
844
845 * breakpoint.c (enum ugll_insert_mode): New enum.
846 (update_global_location_list)
847 (update_global_location_list_nothrow): Change parameter type from
848 boolean to enum ugll_insert_mode. All callers adjusted.
849
93c6145a
JB
8502014-09-19 Joel Brobecker <brobecker@adacore.com>
851
852 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
853 SystemTap support in GDB.
854
89a5711c
DB
8552014-09-19 Don Breazeal <donb@codesourcery.com>
856
857 * linux-nat.c (linux_handle_extended_wait): Call
858 linux_ptrace_get_extended_event.
859 (wait_lwp): Call linux_is_extended_waitstatus.
860 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
861 and linux_is_extended_waitstatus.
862 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
863 linux_ptrace_get_extended_event.
864 (linux_ptrace_get_extended_event): New function.
865 (linux_is_extended_waitstatus): New function.
866 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
867 (linux_is_extended_waitstatus): New declarations.
868
c3b7b696
YQ
8692014-09-19 Yao Qi <yao@codesourcery.com>
870
871 * dwarf2read.c (dwarf_decode_lines): Update declaration.
872 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
873 comments. Callers update.
874 (dwarf_decode_lines): Likewise.
875 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
876 comments. Skip the line table if 'lowpc' is greater than
877 'address'. Don't check
878 dwarf2_per_objfile->has_section_at_zero.
879
2b4fd423
DE
8802014-09-18 Doug Evans <dje@google.com>
881
882 * NEWS: Mention new "producer" attribute of gdb.Symtab.
883 * python/py-symtab.c (stpy_get_producer): New function.
884 (symtab_object_getset): Add "producer" attribute.
885
5e43d467
UW
8862014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
887
888 PR gdb/17384
889 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
890 (do_captured_read_memory_integer): Remove.
891 (safe_read_memory_integer): Use target_read_memory directly instead
892 of catching errors in do_captured_read_memory_integer.
893
04e79979
MR
8942014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
895
896 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
897 not gdb/doc.
898
76aeec5b
SDJ
8992014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
900
901 * objc-lang.c (find_implementation_from_class): Remove dead code.
902
2f693f9d
SDJ
9032014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
904
905 PR cli/7233
906 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
907 "fprintf_unfiltered (gdb_stdlog...)".
908
bb9d5f81
PP
9092014-09-16 Patrick Palka <patrick@parcs.ath.cx>
910
911 PR breakpoints/12526
912 * breakpoint.h (struct watchpoint): New fields val_bitpos and
913 val_bitsize.
914 * breakpoint.c (watch_command_1): Use these fields to retain
915 bitfield information.
916 (extract_bitfield_from_watchpoint_value): New function.
917 (watchpoint_check): Use it.
918 (update_watchpoint): Use it. Optimize the address and length of a
919 HW watchpoint pointing to a bitfield.
920 * value.h (unpack_value_bitfield): New prototype.
921 * value.c (unpack_value_bitfield): Make extern.
922
05db5edd
ST
9232014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
924
925 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
926 x86-dregs.o.
927 * gnu-nat.c (inf_threads): New function.
928 * gnu-nat.h (inf_threads_ftype): New typedef.
929 (inf_threads): New declaration.
930 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
931 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
932 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
933 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
934 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
935 (i386_gnu_dr_get_control): New functions.
936 (reg_addr): New structure.
937 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
938 i386 debugging register hooks.
939 * NEWS: Mention this.
940
5a578da5
OJ
9412014-08-13 Omair Javaid <omair.javaid@linaro.org>
942
943 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
944 vector data transfer instructions.
945 (arm_record_coproc_data_proc): Updated.
946
f20f80dd
OJ
9472014-08-13 Omair Javaid <omair.javaid@linaro.org>
948
949 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
950 arm_record_exreg_ld_st_insn.
951 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
952 load/store insns.
953
851f26ae
OJ
9542014-08-13 Omair Javaid <omair.javaid@linaro.org>
955
956 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
957 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
958 processing instructions.
959
1e1b6563
OJ
9602014-08-13 Omair Javaid <omair.javaid@linaro.org>
961
962 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
963 for advance SIMD struct ld/st insn.
964 (thumb2_record_decode_insn_handler): Replace stub handler with
965 thumb2_record_asimd_struct_ld_st.
966
60cc5e93
OJ
9672014-08-13 Omair Javaid <omair.javaid@linaro.org>
968
969 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
970 for asimd, vfp and coprocessor insns.
971 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
972 and coprocessor insns.
973 (thumb2_record_coproc_insn): New function.
974 (thumb2_record_decode_insn_handler): Update coprocessor insns record
975 handlers.
976 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
977 opcode 110 insns.
978
81219e53
DE
9792014-09-13 Doug Evans <xdje42@gmail.com>
980
981 * NEWS: Mention new "queue-signal" command.
982 * infcmd.c (queue_signal_command): New function.
983 (_initialize_infcmd): Add new queue-signal command.
984
d36bf488
DE
9852014-09-13 Doug Evans <xdje42@gmail.com>
986
987 * linux-nat.c (wait_lwp): Add debugging printf.
988 (linux_nat_wait_1): Ditto.
989
f37f681c
PA
9902014-09-12 Pedro Alves <palves@redhat.com>
991
992 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
993 (create_and_insert_solib_event_breakpoint): New functions.
994 * breakpoint.h (create_and_insert_solib_event_breakpoint)
995 (remove_solib_event_breakpoints_at_next_stop): New declarations.
996 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
997 (remove_dbx_link_breakpoint): Delete function.
998 (insert_dbx_link_bpt_in_file): Use
999 create_and_insert_solib_event_breakpoint instead of
1000 deprecated_insert_raw_breakpoint.
1001 (procfs_wait): Don't check whether we hit __dbx_link here.
1002 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
1003 here.
1004 * solib-irix.c (base_breakpoint): Delete global.
1005 (disable_break): Delete function.
1006 (enable_break): Use create_solib_event_breakpoint
1007 instead of deprecated_insert_raw_breakpoint.
1008 (irix_solib_handle_event): New function.
1009 (irix_solib_create_inferior_hook): Don't run the target or disable
1010 the mapping-complete breakpoint here.
1011 (_initialize_irix_solib): Install irix_solib_handle_event as
1012 so_ops->handle_event hook.
1013
9d9bf2df
EBM
10142014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1015 Ulrich Weigand  <uweigand@de.ibm.com>
1016
1017 PR tdep/17379
1018 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
1019 instead of read_memory_unsigned_integer.
1020
b006a80e
GB
10212014-09-12 Gary Benson <gbenson@redhat.com>
1022
1023 * nat/linux-waitpid.c: Include common-defs.h.
1024 [GDBSERVER]: Add FIXME comment.
1025 [!GDBSERVER]: Don't include defs.h or signal.h.
1026 (linux_debug) [!GDBSERVER]: Remove empty block.
1027
296b1496
GB
10282014-09-12 Gary Benson <gbenson@redhat.com>
1029
1030 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
1031 Don't include defs.h or server.h.
1032
53f81362
GB
10332014-09-12 Gary Benson <gbenson@redhat.com>
1034
1035 * nat/linux-btrace.c: Include common-defs.h.
1036 Don't include defs.h, server.h or gdbthread.h.
1037 * nat/linux-btrace.h (struct target_ops): New forward declaration.
1038
727605ca
GB
10392014-09-12 Gary Benson <gbenson@redhat.com>
1040
1041 * common/agent.c: Include common-defs.h.
1042 Don't include defs.h or server.h.
1043 * common/buffer.c: Likewise.
1044 * common/common-debug.c: Likewise.
1045 * common/common-utils.c: Likewise.
1046 * common/errors.c: Likewise.
1047 * common/filestuff.c: Likewise.
1048 * common/format.c: Likewise.
1049 * common/gdb_vecs.c: Likewise.
1050 * common/print-utils.c: Likewise.
1051 * common/ptid.c: Likewise.
1052 * common/rsp-low.c: Likewise.
1053 * common/signals.c: Likewise.
1054 * common/vec.c: Likewise.
1055 * common/xml-utils.c: Likewise.
1056 * nat/linux-osdata.c: Likewise.
1057 * nat/linux-procfs.c: Likewise.
1058 * nat/linux-ptrace.c: Likewise.
1059 * nat/mips-linux-watch.c: Likewise.
1060 * target/waitstatus.c: Likewise.
1061
361c8ade
GB
10622014-09-12 Tom Tromey <tromey@redhat.com>
1063 Gary Benson <gbenson@redhat.com>
1064
1065 * common/common-regcache.h: New file.
1066 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
1067 * regcache.h: Include common-regcache.h.
1068 (regcache_read_pc): Don't declare.
1069 * regcache.c (get_thread_regcache_for_ptid): New function.
1070 * nat/linux-btrace.c: Don't include regcache.h.
1071 Include common-regcache.h.
1072 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
1073
a01cbb49
TS
10742014-09-11 Thomas Schwinge <thomas@codesourcery.com>
1075
1076 * regcache.h (struct regset): Declare.
1077
98880d46
PA
10782014-09-11 Pedro Alves <palves@redhat.com>
1079
1080 PR gdb/17347
1081 * main.c: Include "infrun.h".
1082 (catch_command_errors, catch_command_errors_const): Wait for the
1083 foreground command to complete.
1084 * top.c (maybe_wait_sync_command_done): New function, factored out
1085 from ...
1086 (maybe_wait_sync_command_done): ... here.
1087 * top.h (maybe_wait_sync_command_done): New declaration.
1088
bd9269f7
GB
10892014-09-11 Tom Tromey <tromey@redhat.com>
1090 Gary Benson <gbenson@redhat.com>
1091
1092 * common/symbol.h: New file.
1093 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
1094 * minsyms.c (find_minimal_symbol_address): New function.
1095 * common/agent.c: Include common/symbol.h.
1096 [!GDBSERVER]: Don't include objfiles.h.
1097 (agent_look_up_symbols): Use find_minimal_symbol_address.
1098
f8c1d06b
GB
10992014-09-11 Gary Benson <gbenson@redhat.com>
1100
1101 * target/target.h (target_stop_ptid, target_continue_ptid):
1102 Declare.
1103 * target.c (target_stop_ptid, target_continue_ptid): New
1104 functions.
1105 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
1106 (agent_run_command): Always use target_stop_ptid and
1107 target_continue_ptid.
1108
721ec300
GB
11092014-09-11 Tom Tromey <tromey@redhat.com>
1110 Gary Benson <gbenson@redhat.com>
1111
1112 * target/target.h: New file.
1113 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
1114 * target.h: Include target/target.h.
1115 (target_read_memory, target_write_memory): Don't declare.
1116 * target.c (target_read_uint32): New function.
1117 * common/agent.c: Include target/target.h.
1118 [!GDBSERVER]: Don't include target.h.
1119 (helper_thread_id): Type changed to uint32_t.
1120 (agent_get_helper_thread_id): Use target_read_uint32.
1121 (agent_run_command): Always use target_read_memory and
1122 target_write_memory.
1123 (agent_capability): Type changed to uint32_t.
1124 (agent_capability_check): Use target_read_uint32.
1125
c5e92cca
GB
11262014-09-11 Gary Benson <gbenson@redhat.com>
1127
1128 * common/common-debug.h (show_debug_regs): Declare.
1129 * common/common-debug.c (show_debug_regs): Define.
1130 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
1131 all uses with show_debug_regs. Replace all uses that considered
1132 debug_hw_points as a multi-value integer with straight boolean
1133 uses.
1134 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
1135 with show_debug_regs.
1136 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
1137 all uses with show_debug_regs.
1138 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
1139 uses with show_debug_regs.
1140
eeef931a
UW
11412014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
1142
1143 * findvar.c (address_from_register): Handle targets requiring
1144 a special conversion routine even for plain pointer types.
1145
8efa9855
UW
11462014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
1147
1148 * rs6000-nat.c (exec_one_dummy_insn): Remove.
1149 (store_register): Do not call exec_one_dummy_insn.
1150
eb479039
JB
11512014-09-10 Joel Brobecker <brobecker@adacore.com>
1152
1153 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
1154 dereference it first. Use value_enclosing_type instead of
1155 value_type.
1156 (ada_array_length): Likewise.
1157
deede10c
JB
11582014-09-10 Joel Brobecker <brobecker@adacore.com>
1159
1160 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
1161 Adjust function implementation and documentation accordingly.
1162 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
1163 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
1164 Update call to ada_value_ptr_subscript.
1165
7828a5f5
JB
11662014-09-10 Joel Brobecker <brobecker@adacore.com>
1167
1168 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
1169 instead of VAL's type.
1170
35782f14
JB
11712014-09-10 Joel Brobecker <brobecker@adacore.com>
1172
1173 * amd64-linux-nat.c: Add <sys/uio.h> #include.
1174
d342a0da
DE
11752014-09-09 Doug Evans <xdje42@gmail.com>
1176
1177 PR guile/17367
1178 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
1179 last parameter to pkg-config, not first.
1180 * configure.ac: Pass --with-guile provided pkg-config path to
1181 GDB_GUILE_PROGRAM_NAMES.
1182 * configure: Regenerate.
1183
b4a3d263
GKB
11842014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
1185
1186 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
1187 Bertazi".
1188
6e466374
MR
11892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1190
1191 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
1192 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
1193 the list of sections determining GDB_OSABI_IRIX.
1194
a1ada89a
JH
11952014-09-09 James Hogan <james.hogan@imgtec.com>
1196
1197 * MAINTAINERS (Write After Approval): Add "James Hogan".
1198
86db008d
JH
11992014-09-09 James Hogan <james.hogan@imgtec.com>
1200
1201 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
1202
72fde3df
JB
12032014-09-09 Joel Brobecker <brobecker@adacore.com>
1204
1205 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
1206
92d8d229
DE
12072014-09-08 Doug Evans <xdje42@gmail.com>
1208
1209 PR 17247
1210 * guile.c: #include <signal.h>.
1211 (_initialize_guile): Block SIGCHLD while initializing Guile.
1212
1213 Replaces the following, which is reverted.
1214
1215 2014-07-26 Doug Evans <xdje42@gmail.com>
1216
1217 PR 17185
1218 * configure.ac: Add check for header gc/gc.h.
1219 Add check for function setenv.
1220 * configure: Regenerate.
1221 * config.in: Regenerate.
1222 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1223
d81412aa
DE
12242014-09-08 Doug Evans <xdje42@gmail.com>
1225
1226 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
1227 with named constant. Fix style of pointer comparison.
1228 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
1229
a9f116cb
GKB
12302014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1231
1232 PR gdb/17035
1233 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
1234 decide whether we display the command on "show user".
1235 * cli/cli-script.c (show_user_1): Only verify cmdlines after
1236 printing command name.
1237 * cli/cli-decode.h (cli_user_command_p): Declare new function.
1238 * cli/cli-decode.c (cli_user_command_p): Create helper function
1239 to verify whether cmd_list_element is a user-defined command.
1240
c75bd3a2
JK
12412014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1242
1243 PR python/17355
1244 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
1245 Fix goto out of TRY_CATCH.
1246
faa42425 12472014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 1248 Tom Tromey <tromey@redhat.com>
faa42425
DE
1249
1250 PR 15276
1251 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
1252 $_any_caller_matches.
1253 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
1254 * python/lib/gdb/function/caller_is.py: New file.
1255
0d41ba00
DE
12562014-09-06 Doug Evans <xdje42@gmail.com>
1257
1258 * infcmd.c (program_info): Fix typo.
1259
474ca4f6
SDJ
12602014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1261
1262 PR gdb/17235
1263 * stap-probe.c (stap_parse_single_operand): Delete unused variable
1264 'number'. New variable 'has_digit'. Rewrite code to deal with
1265 subexpressions on SDT probes.
1266
ebf13736
PA
12672014-09-04 Pedro Alves <palves@redhat.com>
1268
1269 * c-exp.y (parse_number): Skip handling base-switching prefixes if
1270 the input is only one character long.
1271
eb0b0463
SDJ
12722014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1273
1274 PR fortran/17237
1275 * f-valprint.c (f_val_print): Specify the correct print option to
1276 use when printing integer values.
1277
5ee44bfa
GB
12782014-09-04 Gary Benson <gbenson@redhat.com>
1279
1280 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
1281 Remove code to cope with LWPs wrapped as PIDs.
1282 Add assertions to ensure no wrapped LWPs are passed.
1283
4875ffdb
PA
12842014-09-04 Pedro Alves <palves@redhat.com>
1285
1286 * value.c (value_ranges_copy_adjusted): New function, factored out
1287 from ...
1288 (value_contents_copy_raw): ... here.
1289 (unpack_value_bits_as_long_1): Rename back to ...
1290 (unpack_bits_as_long): ... this. Remove 'original_value' and
1291 'result' parameters. Change return type to LONGEST.
1292 (unpack_value_bits_as_long): Delete.
1293 (unpack_value_field_as_long_1): Delete.
1294 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
1295 (unpack_value_bitfield): New function.
1296 (value_field_bitfield): Reimplement using unpack_value_bitfield.
1297 (value_fetch_lazy): Use unpack_value_bitfield.
1298 * value.h (unpack_value_bits_as_long): Delete declaration.
1299
5f3b99cf
SS
13002014-09-03 Sasha Smundak <asmundak@google.com>
1301
1302 * python/py-frame.c (frapy_read_register): New function.
1303
ac740bc7
JH
13042014-09-03 James Hogan <james.hogan@imgtec.com>
1305
1306 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
1307 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
1308
7d793aa9
SDJ
13092014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1310
1311 PR python/16699
1312 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
1313 function.
1314 (add_cmd): Set "completer_handle_brkchars" to NULL.
1315 * cli/cli-decode.h (struct cmd_list_element)
1316 <completer_handle_brkchars>: New field.
1317 * command.h (completer_ftype_void): New typedef.
1318 (set_cmd_completer_handle_brkchars): New prototype.
1319 * completer.c (set_gdb_completion_word_break_characters): New
1320 function.
1321 (complete_line_internal): Call "completer_handle_brkchars"
1322 callback from command.
1323 * completer.h: Include "command.h".
1324 (set_gdb_completion_word_break_characters): New prototype.
1325 * python/py-cmd.c (cmdpy_completer_helper): New function.
1326 (cmdpy_completer_handle_brkchars): New function.
1327 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
1328 (cmdpy_init): Set completer_handle_brkchars to
1329 cmdpy_completer_handle_brkchars.
1330
97ea6506
GB
13312014-09-03 Gary Benson <gbenson@redhat.com>
1332
1333 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
1334 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
1335 Loop conditions changed to equivalent form.
1336 (struct x86_debug_reg_state): Updated dr_ref_count comment.
1337 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
1338 ALL_DEBUG_ADDRESS_REGISTERS.
1339
d1437815
JB
13402014-09-03 Joel Brobecker <brobecker@adacore.com>
1341
1342 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
1343 description fix.
1344
9b94fcf1
DE
13452014-09-02 Doug Evans <dje@google.com>
1346
1347 * typeprint.c (find_global_typedef): Fix comment.
1348
df7e5265
GB
13492014-09-02 Gary Benson <gbenson@redhat.com>
1350
1351 * i386-nat.h: Renamed as...
1352 * x86-nat.h: New file. All type, function and variable name
1353 prefixes changed from "i386_" to "x86_". All references updated.
1354 * i386-nat.c: Renamed as...
1355 * x86-nat.c: New file. All type, function and variable name
1356 prefixes changed from "i386_" to "x86_". All references updated.
1357 * common/i386-xstate.h: Renamed as...
1358 * common/x86-xstate.h: New file. All type, function and variable
1359 name prefixes changed from "i386_" to "x86_". All references
1360 updated.
1361 * nat/i386-cpuid.h: Renamed as...
1362 * nat/x86-cpuid.h: New file. All type, function and variable name
1363 prefixes changed from "i386_" to "x86_". All references updated.
1364 * nat/i386-gcc-cpuid.h: Renamed as...
1365 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
1366 name prefixes changed from "i386_" to "x86_". All references
1367 updated.
1368 * nat/i386-dregs.h: Renamed as...
1369 * nat/x86-dregs.h: New file. All type, function and variable name
1370 prefixes changed from "i386_" to "x86_". All references updated.
1371 * nat/i386-dregs.c: Renamed as...
1372 * nat/x86-dregs.c: New file. All type, function and variable name
1373 prefixes changed from "i386_" to "x86_". All references updated.
1374
1c3569d4
MR
13752014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
1376
1377 * varobj.c (_initialize_varobj): Move to the end of file.
1378
ff55e1b5
GB
13792014-08-29 Gary Benson <gbenson@redhat.com>
1380
1381 * common/common-exceptions.h: New file.
1382 * common/common-exceptions.c: Likewise.
1383 * Makefile.in (SFILES): Add common/common-exceptions.c.
1384 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
1385 (COMMON_OBS): Add common-exceptions.o.
1386 (common-exceptions.o): New rule.
1387 * exceptions.h (common-exceptions.h): Include.
1388 (gdb_setjmp.h): Do not include.
1389 (return_reason): Moved to common-exceptions.h.
1390 (enum return_reason): Likewise.
1391 (RETURN_MASK): Likewise.
1392 (typedef return_mask): Likewise.
1393 (enum errors): Likewise.
1394 (struct gdb_exception): Likewise.
1395 (exceptions_state_mc_init): Likewise.
1396 (exceptions_state_mc_action_iter): Likewise.
1397 (exceptions_state_mc_action_iter_1): Likewise.
1398 (TRY_CATCH): Likewise.
1399 (throw_exception): Likewise.
1400 (throw_verror): Likewise.
1401 (throw_vquit): Likewise.
1402 (throw_error): Likewise.
1403 (throw_quit): Likewise.
1404 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
1405 (enum catcher_action): Likewise.
1406 (struct catcher): Likewise.
1407 (current_catcher): Likewise.
1408 (catcher_list_size): Likewise.
1409 (exceptions_state_mc_init): Likewise.
1410 (catcher_pop): Likewise.
1411 (exceptions_state_mc): Likewise.
1412 (exceptions_state_mc_action_iter): Likewise.
1413 (exceptions_state_mc_action_iter_1): Likewise.
1414 (throw_exception): Likewise.
1415 (exception_messages): Likewise.
1416 (exception_messages_size): Likewise.
1417 (throw_it): Likewise.
1418 (throw_verror): Likewise.
1419 (throw_vquit): Likewise.
1420 (throw_error): Likewise.
1421 (throw_quit): Likewise.
1422 (prepare_to_throw_exception): New function.
1423
e9bcb658
GB
14242014-08-29 Gary Benson <gbenson@redhat.com>
1425
1426 * common/gdb_setjmp.h: New file.
1427 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
1428 * configure.ac: Move sigsetjmp check...
1429 * common/common.m4: ...here.
1430 * configure: Regenerate.
1431 * cp-support.c (SIGJMP_BUF): Delete.
1432 (SIGSETJMP): Likewise.
1433 (SIGLONGJMP): Likewise.
1434 * exceptions.h (gdb_setjmp.h): Include.
1435 (setjmp.h): Do not include.
1436 (EXCEPTIONS_SIGJMP_BUF): Delete.
1437 (EXCEPTIONS_SIGSETJMP): Likewise.
1438 (EXCEPTIONS_SIGLONGJMP): Likewise.
1439 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
1440 from gdb_setjmp.h.
1441 * exceptions.c: Likewise.
1442
e3180625
GB
14432014-08-29 Gary Benson <gbenson@redhat.com>
1444
1445 * cleanups.h: Moved to...
1446 * common/cleanups.h: New file.
1447 * cleanups.c: Moved to...
1448 * common/cleanups.c: New file. Include common-defs.h and
1449 cleanups.h. Do not include defs.h.
1450 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
1451 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
1452 (cleanups.o): New rule.
1453
e3d6ba5d
GB
14542014-08-29 Gary Benson <gbenson@redhat.com>
1455
1456 * common/errors.h (internal_warning): New declaration.
1457 (internal_vwarning): Likewise.
1458 * common/errors.c (internal_warning): New function.
1459 * utils.h (internal_warning): Don't declare.
1460 (internal_vwarning): Likewise.
1461 * utils.c (internal_warning): Removed.
1462
075c7033
GB
14632014-08-29 Gary Benson <gbenson@redhat.com>
1464
1465 * main.c (captured_main): Use warning during startup.
1466 Prefix startup warning messages with command name.
1467
91b35fd0
GB
14682014-08-29 Gary Benson <gbenson@redhat.com>
1469
1470 * main.c (captured_main): Handle usage errors with error.
1471
b1ec390e
GB
14722014-08-29 Gary Benson <gbenson@redhat.com>
1473
1474 * go32-nat.c (go32_create_inferior): Replace a fprintf/
1475 exit pair with a call to error. Wrap the message with _().
1476
fd0ef3dd
GB
14772014-08-29 Gary Benson <gbenson@redhat.com>
1478
1479 * main.c (captured_main): Replace a fprintf/exit
1480 pair with a call to error. Wrap the message with _().
1481
e0e6bcab
GB
14822014-08-29 Gary Benson <gbenson@redhat.com>
1483
1484 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
1485 pairs with calls to error. Wrap the message with _().
1486
0d2f5c07
GB
14872014-08-29 Gary Benson <gbenson@redhat.com>
1488
1489 * utils.c (vwarning): Protect calls to target_terminal_ours
1490 and wrap_here.
1491
5df43998
GB
14922014-08-29 Gary Benson <gbenson@redhat.com>
1493
1494 * exceptions.c (print_flush): Protect calls to
1495 target_terminal_ours and wrap_here.
1496
2437fd32
GB
14972014-08-29 Gary Benson <gbenson@redhat.com>
1498
1499 * utils.h (filtered_printing_initialized): New declaration.
1500 * utils.c (abort_with_message): New function.
1501 (internal_vproblem): Use abort_with_message for first level
1502 recursive internal problems, and if gdb_stderr is not set up.
1503 Protect calls to target_terminal_ours, begin_line and query.
1504
f1f58506
DE
15052014-08-28 Doug Evans <dje@google.com>
1506
1507 * symtab.c (in_prologue): Move definition to better spot.
1508 (skip_prologue_using_sal): Ditto.
1509
aab2f208
DE
15102014-08-28 Doug Evans <dje@google.com>
1511
1512 * symtab.c (find_function_start_sal): Move definition to better spot.
1513
6b65d1b6
YQ
15142014-08-28 Yao Qi <yao@codesourcery.com>
1515
1516 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
1517 found_stack_adjust in forward scan. Remove condition check
1518 on found_stack_adjust which is always true. Indent the code.
1519
a1b34d15
YQ
15202014-08-28 Yao Qi <yao@codesourcery.com>
1521
1522 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1523 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
1524 (dwarf_decode_lines): Remove argument
1525 want_line_info. Remove condition check on want_line_info.
1526 Callers update.
1527
d5962de5
DE
15282014-08-27 Doug Evans <dje@google.com>
1529
1530 * dwarf2read.c (dwarf_record_line): Fix typo.
1531
9b139002
SDJ
15322014-08-27 Patrick Palka <patrick@parcs.ath.cx>
1533
1534 * target.h (struct target_ops::to_terminal_save_ours): Remove
1535 declaration.
1536 (target_terminal_save_ours): Remove macro.
1537 * target-delegates.c: Regenerate.
1538 * inf-child.c (inf_child_target): Don't set the nonexistent
1539 field to_terminal_save_ours.
1540 * inferior.h (child_terminal_save_ours): Remove declaration.
1541 * terminal.h (gdb_save_tty_state): New declaration.
1542 * inflow.c (child_terminal_save_ours): Rename to ...
1543 (gdb_save_tty_state): ... this.
1544 * tui/tui.c: Include terminal.h.
1545 (tui_enable): Use gdb_save_tty_state instead of
1546 target_terminal_save_ours.
1547 (tui_disable): Likewise.
1548
9debeba0
DE
15492014-08-25 Doug Evans <dje@google.com>
1550
1551 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
1552 Pass NULL instead of 0 for context pointer.
1553
428fc5fc
YQ
15542014-08-25 Yao Qi <yao@codesourcery.com>
1555
1556 * dwarf2read.c: Fix grammatical error.
1557
cdc07690
YQ
15582014-08-24 Yao Qi <yao@codesourcery.com>
1559
1560 * dwarf2read.c (scan_partial_symbols): Update comments.
1561 Rename argument 'need_pc' with 'set_addrmap'.
1562 (add_partial_namespace): Rename argument 'need_pc' with
1563 'set_addrmap'.
1564 (add_partial_module): Likewise.
1565 (add_partial_subprogram): Likewise. Update comments.
1566 (dwarf2_name): Fix typo.
1567
a05a36a5
DE
15682014-08-22 Doug Evans <dje@google.com>
1569
1570 PR 17276
1571 * dwarf2read.c (dwarf_record_line_p): New function.
1572 (dwarf_decode_lines_1): Ignore subsequent line number entries
1573 for the same line if any entry had a non-zero discriminator.
1574
252a6764
DE
15752014-08-22 Doug Evans <dje@google.com>
1576
1577 * buildsym.h (record_line_ftype): New typedef.
1578 (record_line): Use it.
1579 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
1580 (dwarf_decode_lines_1): Call them.
1581
510db052
YQ
15822014-08-22 Yao Qi <yao@codesourcery.com>
1583
1584 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
1585 (ctf_end): Remove code.
1586
22fd09ae
JK
15872014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1588
1589 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
1590 (linux_make_corefile_notes): call update_thread_list, protected against
1591 exceptions.
1592
656e8868
PA
15932014-08-21 Pedro Alves <palves@redhat.com>
1594
1595 * infcmd.c (attach_command): Remove comment.
1596
de589d04
WN
15972014-08-21 Bin Cheng <bin.cheng@arm.com>
1598
1599 * aarch64-linux-nat.c (dr_changed_t): Change the type from
1600 unsigned LONGEST to ULONGEST.
1601
2a31c623
PA
16022014-08-20 Pedro Alves <palves@redhat.com>
1603
1604 * Makefile.in (check-read1): New rule.
1605
d36430db
JB
16062014-08-20 Joel Brobecker <brobecker@adacore.com>
1607
1608 * value.c (value_from_contents_and_address): Strip resolved_type's
1609 typedef layers before checking its TYPE_DATA_LOCATION.
1610
000339af
PA
16112014-08-20 Pedro Alves <palves@redhat.com>
1612
1613 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
1614
5f52445b
YQ
16152014-08-20 Yao Qi <yao@codesourcery.com>
1616
1617 * amd64-tdep.c (amd64_classify): Add a blank line after the
1618 example. Move "*/" to a new line.
1619 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
1620 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
1621 * dwarf2read.c (psymtab_include_file_name): Likewise.
1622
9a0dc9e3
PA
16232014-08-19 Andrew Burgess <aburgess@broadcom.com>
1624 Pedro Alves <palves@redhat.com>
1625
1626 PR symtab/14604
1627 PR symtab/14605
1628 * ada-lang.c (coerce_unspec_val_to_type): Use
1629 value_contents_copy_raw.
1630 * ada-valprint.c (val_print_packed_array_elements): Adjust.
1631 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
1632 * cp-valprint.c (cp_print_value_fields): Let the common printing
1633 code handle optimized out values.
1634 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
1635 * d-valprint.c (dynamic_array_type): Use
1636 value_bits_any_optimized_out.
1637 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
1638 check_any_valid fields.
1639 (check_pieced_value_bits): Delete and inline ...
1640 (check_pieced_synthetic_pointer): ... here.
1641 (check_pieced_value_validity): Delete.
1642 (check_pieced_value_invalid): Delete.
1643 (pieced_value_funcs): Remove check_validity and check_any_valid
1644 fields.
1645 (read_pieced_value): Use mark_value_bits_optimized_out.
1646 (write_pieced_value): Switch to use
1647 mark_value_bytes_optimized_out.
1648 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
1649 of assuming the whole value is optimized out.
1650 * findvar.c (read_frame_register_value): Remove special handling
1651 of optimized out registers.
1652 (value_from_register): Use mark_value_bytes_optimized_out.
1653 * frame-unwind.c (frame_unwind_got_optimized): Use
1654 mark_value_bytes_optimized_out.
1655 * jv-valprint.c (java_value_print): Adjust.
1656 (java_print_value_fields): Let the common printing code handle
1657 optimized out values.
1658 * mips-tdep.c (mips_print_register): Remove special handling of
1659 optimized out registers.
1660 * opencl-lang.c (lval_func_check_validity): Delete.
1661 (lval_func_check_any_valid): Delete.
1662 (opencl_value_funcs): Remove check_validity and check_any_valid
1663 fields.
1664 * p-valprint.c (pascal_object_print_value_fields): Let the common
1665 printing code handle optimized out values.
1666 * stack.c (read_frame_arg): Remove special handling of optimized
1667 out values. Fetch both VAL and ENTRYVAL before comparing
1668 contents. Adjust to value_available_contents_eq rename.
1669 * valprint.c (valprint_check_validity)
1670 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
1671 (val_print_array_elements): Adjust.
1672 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
1673 (value_bits_any_optimized_out): New function.
1674 (value_entirely_covered_by_range_vector): New function, factored
1675 out from value_entirely_unavailable.
1676 (value_entirely_unavailable): Reimplement.
1677 (value_entirely_optimized_out): New function.
1678 (insert_into_bit_range_vector): New function, factored out from
1679 mark_value_bits_unavailable.
1680 (mark_value_bits_unavailable): Reimplement.
1681 (struct ranges_and_idx): New struct.
1682 (find_first_range_overlap_and_match): New function, factored out
1683 from value_available_contents_bits_eq.
1684 (value_available_contents_bits_eq): Rename to ...
1685 (value_contents_bits_eq): ... this. Check both unavailable
1686 contents and optimized out contents.
1687 (value_available_contents_eq): Rename to ...
1688 (value_contents_eq): ... this.
1689 (allocate_value_lazy): Remove reference to the old optimized_out
1690 boolean.
1691 (allocate_optimized_out_value): Use
1692 mark_value_bytes_optimized_out.
1693 (require_not_optimized_out): Adjust to check whether the
1694 optimized_out vec is empty.
1695 (ranges_copy_adjusted): New function, factored out from
1696 value_contents_copy_raw.
1697 (value_contents_copy_raw): Also copy the optimized out ranges.
1698 Assert the destination ranges aren't optimized out.
1699 (value_contents_copy): Update comment, remove call to
1700 require_not_optimized_out.
1701 (value_contents_equal): Adjust to check whether the optimized_out
1702 vec is empty.
1703 (set_value_optimized_out, value_optimized_out_const): Delete.
1704 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
1705 New functions.
1706 (value_entirely_optimized_out, value_bits_valid): Delete.
1707 (value_copy): Take a VEC copy of the 'optimized_out' field.
1708 (value_primitive_field): Remove special handling of optimized out.
1709 (value_fetch_lazy): Assert that lazy values have no unavailable
1710 regions. Use value_bits_any_optimized_out. Remove some special
1711 handling for optimized out values.
1712 * value.h: Add intro comment about <optimized out> and
1713 <unavailable>.
1714 (struct lval_funcs): Remove check_validity and check_any_valid
1715 fields.
1716 (set_value_optimized_out, value_optimized_out_const): Remove.
1717 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
1718 New declarations.
1719 (value_bits_any_optimized_out): New declaration.
1720 (value_bits_valid): Delete declaration.
1721 (value_available_contents_eq): Rename to ...
1722 (value_contents_eq): ... this, and extend comments.
1723
6694c411
JK
17242014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1725
1726 Fix -fsanitize=address on unreadable inferior strings.
1727 * valprint.c (val_print_string): Fix access before BUFFER.
1728
89a1c21a
SM
17292014-08-19 Simon Marchi <simon.marchi@ericsson.com>
1730
1731 * target.c (target_struct_size): Remove.
1732 (target_struct_allocsize): Remove.
1733 (DEFAULT_ALLOCSIZE): Remove.
1734 (target_ops_p): New typedef.
1735 (DEF_VEC_P (target_ops_p)): New vector type.
1736 (target_structs): Change type to VEC (target_ops_p).
1737 (add_target_with_completer): Replace "push" code by VEC_safe_push.
1738 (find_default_run_target): Rewrite for loop following changes to
1739 target_structs.
1740
cb417230
JB
17412014-08-19 Joel Brobecker <brobecker@adacore.com>
1742
1743 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
1744 Adjust code accordingly. Adjust function description comment.
1745
817e0957
YQ
17462014-08-19 Yao Qi <yao@codesourcery.com>
1747
1748 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
1749 types.
1750
2974be62
AM
17512014-08-19 Alan Modra <amodra@gmail.com>
1752
1753 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
1754 * config.in: Regenerate.
1755 * configure: Regenerate.
1756
34abf635
GB
17572014-08-19 Tom Tromey <tromey@redhat.com>
1758 Gary Benson <gbenson@redhat.com>
1759
1760 * common/common-debug.h: New file.
1761 * common/common-debug.c: Likewise.
1762 * debug.c: Likewise.
1763 * Makefile.in (SFILES): Add common/common-debug.c.
1764 (HFILES_NO_SRCDIR): Add common/common-debug.h.
1765 (COMMON_OBS): Add common-debug.o and debug.o.
1766 (common-debug.o): New rule.
1767 * common/common-defs.h: Include common-debug.h.
1768 * common/agent.c (debug_agent_printf): New function.
1769 (DEBUG_AGENT): Redefine.
1770 * nat/i386-dregs.c (debug_printf): Undefine.
1771
f6e94d78
GB
17722014-08-19 Gary Benson <gbenson@redhat.com>
1773
1774 * common/common-defs.h: Include print-utils.h.
1775 * utils.h: Do not include print-utils.h.
1776
9239eeab
GB
17772014-08-19 Tom Tromey <tromey@redhat.com>
1778 Gary Benson <gbenson@redhat.com>
1779
1780 * common/common-types.h: New file.
1781 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
1782 * common/common-defs.h: Include common-types.h.
1783 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
1784 (ULONGEST): Remove.
1785
ef87c8bb
GB
17862014-08-19 Tom Tromey <tromey@redhat.com>
1787 Gary Benson <gbenson@redhat.com>
1788
1789 * common/errors.h: New file.
1790 * common/errors.c: Likewise.
1791 * Makefile.in (SFILES): Add common/errors.c.
1792 (HFILES_NO_SRCDIR): Add common/errors.h.
1793 (COMMON_OBS): Add errors.o.
1794 (errors.o): New rule.
1795 * common/common-defs.h: Include errors.h.
1796 * utils.h (perror_with_name, error, verror, warning, vwarning):
1797 Don't declare.
1798 * common/common-utils.h: (malloc_failure, internal_error):
1799 Likewise.
1800
196a707b
GB
18012014-08-19 Gary Benson <gbenson@redhat.com>
1802
1803 * utils.c (internal_vproblem): Always print the message.
1804
ded4fc8f
DE
18052014-08-18 Doug Evans <dje@google.com>
1806
1807 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
1808
950c97d8
JB
18092014-08-18 Joel Brobecker <brobecker@adacore.com>
1810
1811 * ada-typeprint.c (type_is_full_subrange_of_target_type):
1812 Return 0 if TYPE is dynamic.
1813 (print_range): Add handling of dynamic ranges.
1814
3cdcd0ce
JB
18152014-08-18 Keven Boell <keven.boell@intel.com>
1816 Joel Brobecker <brobecker@adacore.com>
1817
1818 * gdbtypes.h (struct main_type): Add field "data_location".
1819 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
1820 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
1821 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
1822 a dynamic data location.
1823 (resolve_dynamic_type): Add DW_AT_data_location handling.
1824 (copy_recursive, copy_type): Copy the data_location information
1825 when present.
1826 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
1827 * value.c (value_from_contents_and_address): Add
1828 DW_AT_data_location handling.
1829
08412b07
JB
18302014-08-18 Keven Boell <keven.boell@intel.com>
1831 Joel Brobecker <brobecker@adacore.com>
1832
1833 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
1834 field "get_object_address".
1835 * dwarf2expr.c (execute_stack_op): Add handling for
1836 DW_OP_push_object_address.
1837 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
1838 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
1839 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
1840 (dwarf_expr_get_obj_addr): New function.
1841 (dwarf_expr_ctx_funcs): Add get_object_address field.
1842 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
1843 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
1844 (dwarf2_evaluate_property): Add parameter "address". Use it.
1845 (needs_get_obj_addr): New function.
1846 (needs_frame_ctx_funcs): Add get_object_address field.
1847 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
1848 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
1849 (resolve_dynamic_array): Likewise.
1850
84754697
JB
18512014-08-18 Joel Brobecker <brobecker@adacore.com>
1852
1853 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
1854 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
1855 fixed value for records and unions for which some GNAT encodings
1856 are present.
1857
da5c522f
JB
18582014-08-18 Joel Brobecker <brobecker@adacore.com>
1859
1860 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
1861 rewrite to avoid "else if" and "else" constructs. Should be
1862 a no-op in practice.
1863
0d72a7c3
JB
18642014-08-18 Joel Brobecker <brobecker@adacore.com>
1865
1866 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
1867 of lexical block.
1868
e66d4446
SC
18692014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1870
1871 PR c++/17132
1872 * eval.c: Update all calls to find_overload_match.
1873 * valarith.c: Likewise.
1874 (value_user_defined_cpp_op, value_user_defined_op): New
1875 argument NOSIDE. Update all callers.
1876 * valops.c (find_overload_match): New argument NOSIDE.
1877 * value.h (find_overload_match): Update signature.
1878
940df408
SC
18792014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1880
1881 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
1882 'items' methods instead of 'iteritems' method on dictionaries.
1883
699ca60a
DE
18842014-08-15 Doug Evans <dje@google.com>
1885
1886 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
1887 closer to use.
1888
37780ee5
DE
18892014-08-15 Doug Evans <dje@google.com>
1890
1891 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
1892
0ad93d4f
DE
18932014-08-15 Doug Evans <dje@google.com>
1894
1895 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
1896
20d8c372
DE
18972014-08-15 Doug Evans <dje@google.com>
1898
1899 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
1900 unused.
1901
cb039ba4
EZ
19022014-08-15 Eli Zaretskii <eliz@gnu.org>
1903
1904 * dcache.h: Include target.h, to avoid compile time warnings.
1905
eb7a547a
JB
19062014-08-15 Joel Brobecker <brobecker@adacore.com>
1907
1908 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
1909 frame_info" partial declaration.
1910 * gdbarch.h: Regenerate.
1911
783cecc8
YQ
19122014-08-15 Yao Qi <yao@codesourcery.com>
1913
1914 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
1915 Add parameter 'decode_for_pst_p'. Callers update.
1916
65c749e7
YQ
19172014-08-13 Yao Qi <yao@codesourcery.com>
1918
1919 PR build/17104
1920 * configure.ac: Use local variable 'pos'.
1921 * configure: Regenerated.
1922
d769e349
DE
19232014-08-11 Doug Evans <dje@google.com>
1924
1925 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
1926 message, it is redundant with "Reading symbols from ..." message.
1927
24f1235e
DE
19282014-08-10 Doug Evans <xdje42@gmail.com>
1929
1930 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
1931
dcd2e6ef
YQ
19322014-08-09 Yao Qi <yao@codesourcery.com>
1933
1934 PR remote/9053
1935 * remote.c (remote_xfer_partial): Remove dead code.
1936
070bdf0b
AA
19372014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1938
1939 * ia64-linux-tdep.c: Include "regset.h".
1940 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
1941 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
1942 (ia64_linux_supply_fpregset): New function.
1943 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
1944 (ia64_linux_regset_from_core_section): New function.
1945 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
1946 method.
1947
08f9f542
AA
19482014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1949
1950 * m68klinux-tdep.c: Include "regset.h".
1951 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
1952 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
1953 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
1954 (m68k_linux_regset_from_core_section): New function.
1955 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
1956 method.
1957
8f1cee41
AA
19582014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1959
1960 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
1961 function. Move logic to...
1962 (tilegx_linux_regmap): ... this new register map.
1963 (tilegx_linux_regset): Refer to register map, replace supply
1964 method by regcache_supply_regset, and add collect method.
1965 * tilegx-tdep.h (enum tilegx_regnum): New enum value
1966 TILEGX_FIRST_EASY_REGNUM.
1967
c5741217
AA
19682014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1969
1970 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
1971 that calls regcache_supply_regset and handles the EPC register
1972 separately. Move main logic to...
1973 (score7_linux_gregmap): ... this new register map.
1974 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
1975 (score7_linux_gregset): Refer to register map. Add collect method.
1976 (score7_linux_regset_from_core_section): Replace
1977 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
1978 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
1979 (struct regset): Delete unused forward declaraction.
1980 (struct pt_regs): Delete structure definition.
1981 (elf_gregset_t): Delete typedef.
1982
81580573
AA
19832014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1984
1985 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
1986 (nios2_core_regset): Add collect method.
1987
ba199d7d
AA
19882014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1989
1990 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
1991 platform-independent and don't write to read-only input buffer.
1992 (m32r_linux_collect_gregset): New function.
1993 (m32r_linux_gregset): Add collect method.
1994
0006a9da
AA
19952014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1996
1997 * hppa-linux-tdep.c (greg_map): Rename to...
1998 (hppa_linux_gregmap): ... this. Also convert to
1999 regcache_map_entry format.
2000 (hppa_linux_supply_regset): Delete function.
2001 (hppa_linux_supply_fpregset): Delete function. Move logic to...
2002 (hppa_linux_fpregmap): ... this new register map.
2003 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
2004 register map, replace supply method by regcache_supply_regset, and
2005 add collect method regcache_collect_regset.
2006
901e1b23
AA
20072014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2008
2009 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
2010 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
2011 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
2012 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
2013 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
2014 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
2015 (frv_linux_supply_gregset): Replace main logic by call to
2016 regcache_supply_regset, but keep clearing gr32-gr63.
2017 (frv_linux_supply_fpregset): Delete function.
2018 (frv_linux_gregset): Refer to appropriate register map and add
2019 regcache_collect_regset as the collect method.
2020 (frv_linux_fpregset): Likewise. Also exchange the supply method
2021 by regcache_supply_regset.
2022
1d6e7555
AA
20232014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2024
2025 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
2026 by call to alpha_supply_int_regs.
2027 (alpha_linux_collect_gregset): New function.
2028 (alpha_linux_supply_fpregset): Replace logic by call to
2029 alpha_supply_fp_regs.
2030 (alpha_linux_collect_fpregset): New function.
2031 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
2032
d4d793bf
AA
20332014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2034
2035 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
2036 by call to regcache_collect_regset.
2037 (supply_gregset, supply_fpregset): Call regcache_supply_regset
2038 instead of aarch64_linux_supply_gregset/_fpregset.
2039 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
2040 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
2041 header file instead.
2042 (aarch64_linux_supply_gregset, supply_gregset_from_core)
2043 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
2044 functions. Move logic to ...
2045 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
2046 register maps.
2047 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
2048 refer to new register maps, replace *_regset_from_core by
2049 regcache_supply_regset, and also use regcache_collect_regset.
2050 * aarch64-linux-tdep.h: Include "regset.h".
2051 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
2052 Delete prototypes.
2053 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
2054 macros, moved from C source file.
2055 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
2056 variable declarations.
2057
99b7da5d
AA
20582014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2059
2060 * s390-linux-nat.c: Include "regset.h".
2061 (regmap_gregset): Delete macro.
2062 (s390_64_regmap_gregset): New register map for
2063 regcache_supply/_collect_regset.
2064 (s390_64_gregset): New regset.
2065 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
2066 (regmap_fpregset): Delete macro.
2067 (s390_native_supply, s390_native_collect): Delete functions.
2068 (supply_gregset, fill_gregset): Replace s390-specific regmap
2069 handling by a call to regcache_supply/_collect_regset.
2070 (supply_fpregset, fill_fpregset): Call regcache_supply/
2071 _collect_regset instead of s390_native_supply/_collect.
2072 (fetch_regset, store_regset): Likewise. Also change the last
2073 parameter to a regset instead of a regmap.
2074 (s390_linux_fetch_inferior_registers)
2075 (390_linux_store_inferior_registers): Adjust last parameter in
2076 calls to fetch_regset and store_regset.
2077 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
2078 (s390_gregmap): ... this. Also make static const and convert to
2079 regcache_map_entry format.
2080 (s390x_regmap_gregset): Delete.
2081 (s390_regmap_fpregset): Rename to...
2082 (s390_fpregmap): ... this. Make static const and convert to
2083 regcache_map_entry format.
2084 (s390_regmap_upper, s390_regmap_last_break)
2085 (s390x_regmap_last_break, s390_regmap_system_call)
2086 (s390_regmap_tdb): Likewise.
2087 (s390_supply_regset, s390_collect_regset): Remove functions.
2088 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
2089 s390_supply_regset.
2090 (s390_gregset, s390_fpregset, s390_upper_regset)
2091 (s390_last_break_regset, s390x_last_break_regset)
2092 (s390_system_call_regset, s390_tdb_regset): Make global and
2093 replace s390_supply/_collect_regset by regcache_supply/
2094 _collect_regset.
2095 (s390x_gregset): Delete.
2096 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
2097 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
2098 (s390_regmap_fpregset, s390_regmap_last_break)
2099 (s390x_regmap_last_break, s390_regmap_system_call)
2100 (s390_regmap_tdb): Delete global variable declarations.
2101 (s390_gregset, s390_fpregset, s390_last_break_regset)
2102 (s390x_last_break_regset, s390_system_call_regset)
2103 (s390_tdb_regset): New global variable declarations.
2104
0b309272
AA
21052014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2106
2107 * regcache.c: Include "regset.h".
2108 (regcache_transfer_regset): New local function.
2109 (regcache_supply_regset, regcache_collect_regset): New functions.
2110 * regcache.h (struct regcache_map_entry): New structure.
2111 (REGCACHE_MAP_SKIP): New enum value.
2112 (regcache_supply_regset, regcache_collect_regset): New prototypes.
2113
7fefa8d7
AA
21142014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2115
2116 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
2117 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
2118 (ppc_linux_collect_gregset ): Likewise.
2119 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
2120 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
2121 (ppc_collect_vrregset): Likewise.
2122 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
2123 Likewise.
2124
96c4f946
YQ
21252014-08-07 Yao Qi <yao@codesourcery.com>
2126
2127 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
2128 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
2129 * remote.c (remote_read_bytes): Likewise.
2130
fffbe6a8
YQ
21312014-08-07 Yao Qi <yao@codesourcery.com>
2132
2133 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
2134
5ee8a82c
YQ
21352014-08-07 Yao Qi <yao@codesourcery.com>
2136
2137 PR remote/17230
2138 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
2139 TARGET_XFER_OK instead of 0.
2140
bb974a24
GB
21412014-08-07 Gary Benson <gbenson@redhat.com>
2142
2143 * common/common-defs.h: Include errno.h.
2144 * defs.h: Do not include errno.h.
2145 * ada-typeprint.c: Likewise.
2146 * c-typeprint.c: Likewise.
2147 * core-regset.c: Likewise.
2148 * corefile.c: Likewise.
2149 * corelow.c: Likewise.
2150 * event-loop.c: Likewise.
2151 * f-typeprint.c: Likewise.
2152 * gnu-nat.c: Likewise.
2153 * go32-nat.c: Likewise.
2154 * i386gnu-nat.c: Likewise.
2155 * m2-typeprint.c: Likewise.
2156 * nat/linux-btrace.c: Likewise.
2157 * p-typeprint.c: Likewise.
2158 * procfs.c: Likewise.
2159 * remote-sim.c: Likewise.
2160 * rs6000-nat.c: Likewise.
2161 * target.c: Likewise.
2162 * typeprint.c: Likewise.
2163 * ui-file.c: Likewise.
2164 * valops.c: Likewise.
2165 * valprint.c: Likewise.
2166
6d3d12eb
GB
21672014-08-07 Gary Benson <gbenson@redhat.com>
2168
2169 * common/common-defs.h: Include string.h.
2170 * aarch64-tdep.c: Do not include string.h.
2171 * ada-exp.y: Likewise.
2172 * ada-lang.c: Likewise.
2173 * ada-lex.l: Likewise.
2174 * ada-typeprint.c: Likewise.
2175 * ada-valprint.c: Likewise.
2176 * aix-thread.c: Likewise.
2177 * alpha-linux-tdep.c: Likewise.
2178 * alpha-mdebug-tdep.c: Likewise.
2179 * alpha-nat.c: Likewise.
2180 * alpha-osf1-tdep.c: Likewise.
2181 * alpha-tdep.c: Likewise.
2182 * alphanbsd-tdep.c: Likewise.
2183 * amd64-dicos-tdep.c: Likewise.
2184 * amd64-linux-tdep.c: Likewise.
2185 * amd64-nat.c: Likewise.
2186 * amd64-sol2-tdep.c: Likewise.
2187 * amd64fbsd-tdep.c: Likewise.
2188 * amd64obsd-tdep.c: Likewise.
2189 * arch-utils.c: Likewise.
2190 * arm-linux-nat.c: Likewise.
2191 * arm-linux-tdep.c: Likewise.
2192 * arm-tdep.c: Likewise.
2193 * arm-wince-tdep.c: Likewise.
2194 * armbsd-tdep.c: Likewise.
2195 * armnbsd-nat.c: Likewise.
2196 * armnbsd-tdep.c: Likewise.
2197 * armobsd-tdep.c: Likewise.
2198 * avr-tdep.c: Likewise.
2199 * ax-gdb.c: Likewise.
2200 * ax-general.c: Likewise.
2201 * bcache.c: Likewise.
2202 * bfin-tdep.c: Likewise.
2203 * breakpoint.c: Likewise.
2204 * build-id.c: Likewise.
2205 * buildsym.c: Likewise.
2206 * c-exp.y: Likewise.
2207 * c-lang.c: Likewise.
2208 * c-typeprint.c: Likewise.
2209 * c-valprint.c: Likewise.
2210 * charset.c: Likewise.
2211 * cli-out.c: Likewise.
2212 * cli/cli-cmds.c: Likewise.
2213 * cli/cli-decode.c: Likewise.
2214 * cli/cli-dump.c: Likewise.
2215 * cli/cli-interp.c: Likewise.
2216 * cli/cli-logging.c: Likewise.
2217 * cli/cli-script.c: Likewise.
2218 * cli/cli-setshow.c: Likewise.
2219 * cli/cli-utils.c: Likewise.
2220 * coffread.c: Likewise.
2221 * common/agent.c: Likewise.
2222 * common/buffer.c: Likewise.
2223 * common/buffer.h: Likewise.
2224 * common/common-utils.c: Likewise.
2225 * common/filestuff.c: Likewise.
2226 * common/filestuff.c: Likewise.
2227 * common/format.c: Likewise.
2228 * common/print-utils.c: Likewise.
2229 * common/rsp-low.c: Likewise.
2230 * common/signals.c: Likewise.
2231 * common/vec.h: Likewise.
2232 * common/xml-utils.c: Likewise.
2233 * core-regset.c: Likewise.
2234 * corefile.c: Likewise.
2235 * corelow.c: Likewise.
2236 * cp-abi.c: Likewise.
2237 * cp-name-parser.y: Likewise.
2238 * cp-support.c: Likewise.
2239 * cp-valprint.c: Likewise.
2240 * cris-tdep.c: Likewise.
2241 * d-exp.y: Likewise.
2242 * darwin-nat.c: Likewise.
2243 * dbxread.c: Likewise.
2244 * dcache.c: Likewise.
2245 * demangle.c: Likewise.
2246 * dicos-tdep.c: Likewise.
2247 * disasm.c: Likewise.
2248 * doublest.c: Likewise.
2249 * dsrec.c: Likewise.
2250 * dummy-frame.c: Likewise.
2251 * dwarf2-frame.c: Likewise.
2252 * dwarf2loc.c: Likewise.
2253 * dwarf2read.c: Likewise.
2254 * elfread.c: Likewise.
2255 * environ.c: Likewise.
2256 * eval.c: Likewise.
2257 * event-loop.c: Likewise.
2258 * exceptions.c: Likewise.
2259 * exec.c: Likewise.
2260 * expprint.c: Likewise.
2261 * f-exp.y: Likewise.
2262 * f-lang.c: Likewise.
2263 * f-typeprint.c: Likewise.
2264 * f-valprint.c: Likewise.
2265 * fbsd-nat.c: Likewise.
2266 * findcmd.c: Likewise.
2267 * findvar.c: Likewise.
2268 * fork-child.c: Likewise.
2269 * frame.c: Likewise.
2270 * frv-linux-tdep.c: Likewise.
2271 * frv-tdep.c: Likewise.
2272 * gdb.c: Likewise.
2273 * gdb_bfd.c: Likewise.
2274 * gdbarch.c: Likewise.
2275 * gdbarch.sh: Likewise.
2276 * gdbtypes.c: Likewise.
2277 * gnu-nat.c: Likewise.
2278 * gnu-v2-abi.c: Likewise.
2279 * gnu-v3-abi.c: Likewise.
2280 * go-exp.y: Likewise.
2281 * go-lang.c: Likewise.
2282 * go32-nat.c: Likewise.
2283 * guile/guile.c: Likewise.
2284 * guile/scm-auto-load.c: Likewise.
2285 * hppa-hpux-tdep.c: Likewise.
2286 * hppa-linux-nat.c: Likewise.
2287 * hppanbsd-tdep.c: Likewise.
2288 * hppaobsd-tdep.c: Likewise.
2289 * i386-cygwin-tdep.c: Likewise.
2290 * i386-dicos-tdep.c: Likewise.
2291 * i386-linux-tdep.c: Likewise.
2292 * i386-nto-tdep.c: Likewise.
2293 * i386-sol2-tdep.c: Likewise.
2294 * i386-tdep.c: Likewise.
2295 * i386bsd-tdep.c: Likewise.
2296 * i386gnu-nat.c: Likewise.
2297 * i386nbsd-tdep.c: Likewise.
2298 * i386obsd-tdep.c: Likewise.
2299 * i387-tdep.c: Likewise.
2300 * ia64-libunwind-tdep.c: Likewise.
2301 * ia64-linux-nat.c: Likewise.
2302 * inf-child.c: Likewise.
2303 * inf-ptrace.c: Likewise.
2304 * inf-ttrace.c: Likewise.
2305 * infcall.c: Likewise.
2306 * infcmd.c: Likewise.
2307 * inflow.c: Likewise.
2308 * infrun.c: Likewise.
2309 * interps.c: Likewise.
2310 * iq2000-tdep.c: Likewise.
2311 * irix5-nat.c: Likewise.
2312 * jv-exp.y: Likewise.
2313 * jv-lang.c: Likewise.
2314 * jv-typeprint.c: Likewise.
2315 * jv-valprint.c: Likewise.
2316 * language.c: Likewise.
2317 * linux-fork.c: Likewise.
2318 * linux-nat.c: Likewise.
2319 * lm32-tdep.c: Likewise.
2320 * m2-exp.y: Likewise.
2321 * m2-typeprint.c: Likewise.
2322 * m32c-tdep.c: Likewise.
2323 * m32r-linux-nat.c: Likewise.
2324 * m32r-linux-tdep.c: Likewise.
2325 * m32r-rom.c: Likewise.
2326 * m32r-tdep.c: Likewise.
2327 * m68hc11-tdep.c: Likewise.
2328 * m68k-tdep.c: Likewise.
2329 * m68kbsd-tdep.c: Likewise.
2330 * m68klinux-nat.c: Likewise.
2331 * m68klinux-tdep.c: Likewise.
2332 * m88k-tdep.c: Likewise.
2333 * machoread.c: Likewise.
2334 * macrocmd.c: Likewise.
2335 * main.c: Likewise.
2336 * mdebugread.c: Likewise.
2337 * mem-break.c: Likewise.
2338 * memattr.c: Likewise.
2339 * memory-map.c: Likewise.
2340 * mep-tdep.c: Likewise.
2341 * mi/mi-cmd-break.c: Likewise.
2342 * mi/mi-cmd-disas.c: Likewise.
2343 * mi/mi-cmd-env.c: Likewise.
2344 * mi/mi-cmd-stack.c: Likewise.
2345 * mi/mi-cmd-var.c: Likewise.
2346 * mi/mi-cmds.c: Likewise.
2347 * mi/mi-console.c: Likewise.
2348 * mi/mi-getopt.c: Likewise.
2349 * mi/mi-interp.c: Likewise.
2350 * mi/mi-main.c: Likewise.
2351 * mi/mi-parse.c: Likewise.
2352 * microblaze-rom.c: Likewise.
2353 * microblaze-tdep.c: Likewise.
2354 * mingw-hdep.c: Likewise.
2355 * minidebug.c: Likewise.
2356 * minsyms.c: Likewise.
2357 * mips-irix-tdep.c: Likewise.
2358 * mips-linux-tdep.c: Likewise.
2359 * mips-tdep.c: Likewise.
2360 * mips64obsd-tdep.c: Likewise.
2361 * mipsnbsd-tdep.c: Likewise.
2362 * mipsread.c: Likewise.
2363 * mn10300-linux-tdep.c: Likewise.
2364 * mn10300-tdep.c: Likewise.
2365 * monitor.c: Likewise.
2366 * moxie-tdep.c: Likewise.
2367 * mt-tdep.c: Likewise.
2368 * nat/linux-btrace.c: Likewise.
2369 * nat/linux-osdata.c: Likewise.
2370 * nat/linux-procfs.c: Likewise.
2371 * nat/linux-ptrace.c: Likewise.
2372 * nat/linux-waitpid.c: Likewise.
2373 * nbsd-tdep.c: Likewise.
2374 * nios2-linux-tdep.c: Likewise.
2375 * nto-procfs.c: Likewise.
2376 * nto-tdep.c: Likewise.
2377 * objc-lang.c: Likewise.
2378 * objfiles.c: Likewise.
2379 * opencl-lang.c: Likewise.
2380 * osabi.c: Likewise.
2381 * osdata.c: Likewise.
2382 * p-exp.y: Likewise.
2383 * p-lang.c: Likewise.
2384 * p-typeprint.c: Likewise.
2385 * parse.c: Likewise.
2386 * posix-hdep.c: Likewise.
2387 * ppc-linux-nat.c: Likewise.
2388 * ppc-sysv-tdep.c: Likewise.
2389 * ppcfbsd-tdep.c: Likewise.
2390 * ppcnbsd-tdep.c: Likewise.
2391 * ppcobsd-tdep.c: Likewise.
2392 * printcmd.c: Likewise.
2393 * procfs.c: Likewise.
2394 * prologue-value.c: Likewise.
2395 * python/py-auto-load.c: Likewise.
2396 * python/py-gdb-readline.c: Likewise.
2397 * ravenscar-thread.c: Likewise.
2398 * regcache.c: Likewise.
2399 * registry.c: Likewise.
2400 * remote-fileio.c: Likewise.
2401 * remote-m32r-sdi.c: Likewise.
2402 * remote-mips.c: Likewise.
2403 * remote-notif.c: Likewise.
2404 * remote-sim.c: Likewise.
2405 * remote.c: Likewise.
2406 * reverse.c: Likewise.
2407 * rs6000-aix-tdep.c: Likewise.
2408 * ser-base.c: Likewise.
2409 * ser-go32.c: Likewise.
2410 * ser-mingw.c: Likewise.
2411 * ser-pipe.c: Likewise.
2412 * ser-tcp.c: Likewise.
2413 * ser-unix.c: Likewise.
2414 * serial.c: Likewise.
2415 * sh-tdep.c: Likewise.
2416 * sh64-tdep.c: Likewise.
2417 * shnbsd-tdep.c: Likewise.
2418 * skip.c: Likewise.
2419 * sol-thread.c: Likewise.
2420 * solib-dsbt.c: Likewise.
2421 * solib-frv.c: Likewise.
2422 * solib-osf.c: Likewise.
2423 * solib-som.c: Likewise.
2424 * solib-spu.c: Likewise.
2425 * solib-target.c: Likewise.
2426 * solib.c: Likewise.
2427 * somread.c: Likewise.
2428 * source.c: Likewise.
2429 * sparc-nat.c: Likewise.
2430 * sparc-sol2-tdep.c: Likewise.
2431 * sparc-tdep.c: Likewise.
2432 * sparc64-tdep.c: Likewise.
2433 * sparc64fbsd-tdep.c: Likewise.
2434 * sparc64nbsd-tdep.c: Likewise.
2435 * sparcnbsd-tdep.c: Likewise.
2436 * spu-linux-nat.c: Likewise.
2437 * spu-multiarch.c: Likewise.
2438 * spu-tdep.c: Likewise.
2439 * stabsread.c: Likewise.
2440 * stack.c: Likewise.
2441 * std-regs.c: Likewise.
2442 * symfile.c: Likewise.
2443 * symmisc.c: Likewise.
2444 * symtab.c: Likewise.
2445 * target.c: Likewise.
2446 * thread.c: Likewise.
2447 * tilegx-linux-nat.c: Likewise.
2448 * tilegx-tdep.c: Likewise.
2449 * top.c: Likewise.
2450 * tracepoint.c: Likewise.
2451 * tui/tui-command.c: Likewise.
2452 * tui/tui-data.c: Likewise.
2453 * tui/tui-disasm.c: Likewise.
2454 * tui/tui-file.c: Likewise.
2455 * tui/tui-layout.c: Likewise.
2456 * tui/tui-out.c: Likewise.
2457 * tui/tui-regs.c: Likewise.
2458 * tui/tui-source.c: Likewise.
2459 * tui/tui-stack.c: Likewise.
2460 * tui/tui-win.c: Likewise.
2461 * tui/tui-windata.c: Likewise.
2462 * tui/tui-winsource.c: Likewise.
2463 * typeprint.c: Likewise.
2464 * ui-file.c: Likewise.
2465 * ui-out.c: Likewise.
2466 * user-regs.c: Likewise.
2467 * utils.c: Likewise.
2468 * v850-tdep.c: Likewise.
2469 * valarith.c: Likewise.
2470 * valops.c: Likewise.
2471 * valprint.c: Likewise.
2472 * value.c: Likewise.
2473 * varobj.c: Likewise.
2474 * vax-tdep.c: Likewise.
2475 * vaxnbsd-tdep.c: Likewise.
2476 * vaxobsd-tdep.c: Likewise.
2477 * windows-nat.c: Likewise.
2478 * xcoffread.c: Likewise.
2479 * xml-support.c: Likewise.
2480 * xstormy16-tdep.c: Likewise.
2481 * xtensa-linux-nat.c: Likewise.
2482
dccbb609
GB
24832014-08-07 Gary Benson <gbenson@redhat.com>
2484
2485 * common/common-defs.h: Include gdb_assert.h.
2486 * aarch64-tdep.c: Do not include gdb_assert.h.
2487 * addrmap.c: Likewise.
2488 * aix-thread.c: Likewise.
2489 * alpha-linux-tdep.c: Likewise.
2490 * alpha-mdebug-tdep.c: Likewise.
2491 * alphanbsd-tdep.c: Likewise.
2492 * amd64-nat.c: Likewise.
2493 * amd64-tdep.c: Likewise.
2494 * amd64bsd-nat.c: Likewise.
2495 * amd64fbsd-nat.c: Likewise.
2496 * amd64fbsd-tdep.c: Likewise.
2497 * amd64nbsd-nat.c: Likewise.
2498 * amd64nbsd-tdep.c: Likewise.
2499 * amd64obsd-nat.c: Likewise.
2500 * amd64obsd-tdep.c: Likewise.
2501 * arch-utils.c: Likewise.
2502 * arm-tdep.c: Likewise.
2503 * armbsd-tdep.c: Likewise.
2504 * auxv.c: Likewise.
2505 * bcache.c: Likewise.
2506 * bfin-tdep.c: Likewise.
2507 * blockframe.c: Likewise.
2508 * breakpoint.c: Likewise.
2509 * bsd-kvm.c: Likewise.
2510 * bsd-uthread.c: Likewise.
2511 * buildsym.c: Likewise.
2512 * c-exp.y: Likewise.
2513 * c-lang.c: Likewise.
2514 * charset.c: Likewise.
2515 * cleanups.c: Likewise.
2516 * cli-out.c: Likewise.
2517 * cli/cli-decode.c: Likewise.
2518 * cli/cli-dump.c: Likewise.
2519 * cli/cli-logging.c: Likewise.
2520 * cli/cli-script.c: Likewise.
2521 * cli/cli-utils.c: Likewise.
2522 * coffread.c: Likewise.
2523 * common/common-utils.c: Likewise.
2524 * common/queue.h: Likewise.
2525 * common/signals.c: Likewise.
2526 * common/vec.h: Likewise.
2527 * complaints.c: Likewise.
2528 * completer.c: Likewise.
2529 * corelow.c: Likewise.
2530 * cp-abi.c: Likewise.
2531 * cp-name-parser.y: Likewise.
2532 * cp-namespace.c: Likewise.
2533 * cp-support.c: Likewise.
2534 * cris-tdep.c: Likewise.
2535 * dbxread.c: Likewise.
2536 * dictionary.c: Likewise.
2537 * doublest.c: Likewise.
2538 * dsrec.c: Likewise.
2539 * dummy-frame.c: Likewise.
2540 * dwarf2-frame-tailcall.c: Likewise.
2541 * dwarf2-frame.c: Likewise.
2542 * dwarf2expr.c: Likewise.
2543 * dwarf2loc.c: Likewise.
2544 * dwarf2read.c: Likewise.
2545 * eval.c: Likewise.
2546 * event-loop.c: Likewise.
2547 * exceptions.c: Likewise.
2548 * expprint.c: Likewise.
2549 * f-valprint.c: Likewise.
2550 * fbsd-nat.c: Likewise.
2551 * findvar.c: Likewise.
2552 * frame-unwind.c: Likewise.
2553 * frame.c: Likewise.
2554 * frv-tdep.c: Likewise.
2555 * gcore.c: Likewise.
2556 * gdb-dlfcn.c: Likewise.
2557 * gdb_bfd.c: Likewise.
2558 * gdbarch.c: Likewise.
2559 * gdbarch.sh: Likewise.
2560 * gdbtypes.c: Likewise.
2561 * gnu-nat.c: Likewise.
2562 * gnu-v3-abi.c: Likewise.
2563 * go-lang.c: Likewise.
2564 * guile/scm-exception.c: Likewise.
2565 * guile/scm-gsmob.c: Likewise.
2566 * guile/scm-lazy-string.c: Likewise.
2567 * guile/scm-math.c: Likewise.
2568 * guile/scm-pretty-print.c: Likewise.
2569 * guile/scm-safe-call.c: Likewise.
2570 * guile/scm-utils.c: Likewise.
2571 * guile/scm-value.c: Likewise.
2572 * h8300-tdep.c: Likewise.
2573 * hppa-hpux-nat.c: Likewise.
2574 * hppa-tdep.c: Likewise.
2575 * hppanbsd-tdep.c: Likewise.
2576 * hppaobsd-tdep.c: Likewise.
2577 * i386-darwin-nat.c: Likewise.
2578 * i386-darwin-tdep.c: Likewise.
2579 * i386-nto-tdep.c: Likewise.
2580 * i386-tdep.c: Likewise.
2581 * i386bsd-nat.c: Likewise.
2582 * i386fbsd-tdep.c: Likewise.
2583 * i386gnu-nat.c: Likewise.
2584 * i386nbsd-tdep.c: Likewise.
2585 * i386obsd-tdep.c: Likewise.
2586 * i387-tdep.c: Likewise.
2587 * ia64-libunwind-tdep.c: Likewise.
2588 * ia64-tdep.c: Likewise.
2589 * inf-ptrace.c: Likewise.
2590 * inf-ttrace.c: Likewise.
2591 * infcall.c: Likewise.
2592 * infcmd.c: Likewise.
2593 * infrun.c: Likewise.
2594 * inline-frame.c: Likewise.
2595 * interps.c: Likewise.
2596 * jv-lang.c: Likewise.
2597 * jv-typeprint.c: Likewise.
2598 * linux-fork.c: Likewise.
2599 * linux-nat.c: Likewise.
2600 * linux-thread-db.c: Likewise.
2601 * m32c-tdep.c: Likewise.
2602 * m32r-linux-nat.c: Likewise.
2603 * m32r-tdep.c: Likewise.
2604 * m68k-tdep.c: Likewise.
2605 * m68kbsd-nat.c: Likewise.
2606 * m68kbsd-tdep.c: Likewise.
2607 * m88k-tdep.c: Likewise.
2608 * machoread.c: Likewise.
2609 * macroexp.c: Likewise.
2610 * macrotab.c: Likewise.
2611 * maint.c: Likewise.
2612 * mdebugread.c: Likewise.
2613 * memory-map.c: Likewise.
2614 * mep-tdep.c: Likewise.
2615 * mi/mi-common.c: Likewise.
2616 * microblaze-tdep.c: Likewise.
2617 * mingw-hdep.c: Likewise.
2618 * mips-linux-nat.c: Likewise.
2619 * mips-linux-tdep.c: Likewise.
2620 * mips-tdep.c: Likewise.
2621 * mips64obsd-tdep.c: Likewise.
2622 * mipsnbsd-tdep.c: Likewise.
2623 * mn10300-linux-tdep.c: Likewise.
2624 * mn10300-tdep.c: Likewise.
2625 * moxie-tdep.c: Likewise.
2626 * mt-tdep.c: Likewise.
2627 * nat/linux-btrace.c: Likewise.
2628 * nat/linux-osdata.c: Likewise.
2629 * nat/linux-ptrace.c: Likewise.
2630 * nat/mips-linux-watch.c: Likewise.
2631 * nios2-linux-tdep.c: Likewise.
2632 * nios2-tdep.c: Likewise.
2633 * objc-lang.c: Likewise.
2634 * objfiles.c: Likewise.
2635 * obsd-nat.c: Likewise.
2636 * opencl-lang.c: Likewise.
2637 * osabi.c: Likewise.
2638 * parse.c: Likewise.
2639 * ppc-linux-nat.c: Likewise.
2640 * ppc-sysv-tdep.c: Likewise.
2641 * ppcfbsd-nat.c: Likewise.
2642 * ppcfbsd-tdep.c: Likewise.
2643 * ppcnbsd-nat.c: Likewise.
2644 * ppcnbsd-tdep.c: Likewise.
2645 * ppcobsd-nat.c: Likewise.
2646 * ppcobsd-tdep.c: Likewise.
2647 * printcmd.c: Likewise.
2648 * procfs.c: Likewise.
2649 * prologue-value.c: Likewise.
2650 * psymtab.c: Likewise.
2651 * python/py-lazy-string.c: Likewise.
2652 * python/py-value.c: Likewise.
2653 * regcache.c: Likewise.
2654 * reggroups.c: Likewise.
2655 * registry.c: Likewise.
2656 * remote-sim.c: Likewise.
2657 * remote.c: Likewise.
2658 * rs6000-aix-tdep.c: Likewise.
2659 * rs6000-tdep.c: Likewise.
2660 * s390-linux-tdep.c: Likewise.
2661 * score-tdep.c: Likewise.
2662 * ser-base.c: Likewise.
2663 * ser-mingw.c: Likewise.
2664 * sh-tdep.c: Likewise.
2665 * sh64-tdep.c: Likewise.
2666 * solib-darwin.c: Likewise.
2667 * solib-spu.c: Likewise.
2668 * solib-svr4.c: Likewise.
2669 * source.c: Likewise.
2670 * sparc-nat.c: Likewise.
2671 * sparc-sol2-tdep.c: Likewise.
2672 * sparc-tdep.c: Likewise.
2673 * sparc64-sol2-tdep.c: Likewise.
2674 * sparc64-tdep.c: Likewise.
2675 * sparc64fbsd-tdep.c: Likewise.
2676 * sparc64nbsd-tdep.c: Likewise.
2677 * sparc64obsd-tdep.c: Likewise.
2678 * sparcnbsd-tdep.c: Likewise.
2679 * sparcobsd-tdep.c: Likewise.
2680 * spu-multiarch.c: Likewise.
2681 * spu-tdep.c: Likewise.
2682 * stabsread.c: Likewise.
2683 * stack.c: Likewise.
2684 * symfile.c: Likewise.
2685 * symtab.c: Likewise.
2686 * target-descriptions.c: Likewise.
2687 * target-memory.c: Likewise.
2688 * target.c: Likewise.
2689 * tic6x-linux-tdep.c: Likewise.
2690 * tic6x-tdep.c: Likewise.
2691 * tilegx-linux-nat.c: Likewise.
2692 * tilegx-tdep.c: Likewise.
2693 * top.c: Likewise.
2694 * tramp-frame.c: Likewise.
2695 * tui/tui-out.c: Likewise.
2696 * tui/tui-winsource.c: Likewise.
2697 * ui-out.c: Likewise.
2698 * user-regs.c: Likewise.
2699 * utils.c: Likewise.
2700 * v850-tdep.c: Likewise.
2701 * valops.c: Likewise.
2702 * value.c: Likewise.
2703 * varobj.c: Likewise.
2704 * vax-nat.c: Likewise.
2705 * xml-syscall.c: Likewise.
2706 * xml-tdesc.c: Likewise.
2707 * xstormy16-tdep.c: Likewise.
2708 * xtensa-linux-nat.c: Likewise.
2709 * xtensa-tdep.c: Likewise.
2710
e76df0d0
GB
27112014-08-07 Gary Benson <gbenson@redhat.com>
2712
2713 * common/common-defs.h: Include common-utils.h.
2714 * defs.h: Do not include common-utils.h.
2715 * common/gdb_assert.h: Likewise.
2716 * darwin-nat.h: Likewise.
2717 * nat/linux-btrace.c: Likewise.
2718 * target/waitstatus.h: Likewise.
2719
4cb9c816
GB
27202014-08-07 Gary Benson <gbenson@redhat.com>
2721
2722 * common/common-defs.h: Include ptid.h.
2723 * defs.h: Do not include ptid.h.
2724 * inferior.h: Likewise.
2725 * infrun.h: Likewise.
2726 * nat/linux-btrace.h: Likewise.
2727 * nat/linux-osdata.h: Likewise.
2728 * target/waitstatus.h: Likewise.
2729
3995eeee
GB
27302014-08-07 Gary Benson <gbenson@redhat.com>
2731
2732 * common/common-defs.h: Include gdb_locale.h.
2733 * defs.h: Do not include gdb_locale.h.
2734
cb9f1a9b
GB
27352014-08-07 Gary Benson <gbenson@redhat.com>
2736
2737 * common/common-defs.h: Include gdb/signals.h.
2738 * defs.h: Do not include gdb/signals.h.
2739
a5fceff8
GB
27402014-08-07 Gary Benson <gbenson@redhat.com>
2741
2742 * common/common-defs.h: Include pathmax.h.
2743 * defs.h: Do not include pathmax.h.
2744
b9391142
GB
27452014-08-07 Gary Benson <gbenson@redhat.com>
2746
2747 * common/common-defs.h: Include libiberty.h.
2748 * defs.h: Do not include libiberty.h.
2749 * common/queue.h: Likewise.
2750 * cp-name-parser.y: Likewise.
2751 * mi/mi-cmd-catch.c: Likewise.
2752 * python/python.c: Likewise.
2753
0e443c87
GB
27542014-08-07 Gary Benson <gbenson@redhat.com>
2755
2756 * common/common-defs.h: Include ansidecl.h.
2757 * defs.h: Do not include ansidecl.h.
2758 * common/buffer.h: Likewise.
2759 * common/common-utils.h: Likewise.
2760
8ebb3f56
GB
27612014-08-07 Gary Benson <gbenson@redhat.com>
2762
2763 * common/common-defs.h: Include stddef.h.
2764 * defs.h: Do not include stddef.h.
2765 * common/common-utils.h: Likewise.
2766 * amd64fbsd-nat.c: Likewise.
2767 * bcache.c: Likewise.
2768 * charset.c: Likewise.
2769 * common/buffer.h: Likewise.
2770 * common/vec.h: Likewise.
2771 * i386bsd-nat.c: Likewise.
2772 * nat/linux-btrace.h: Likewise.
2773 * ppcfbsd-nat.c: Likewise.
2774 * ppcnbsd-tdep.h: Likewise.
2775 * ppcobsd-nat.c: Likewise.
2776 * ppcobsd-tdep.h: Likewise.
2777 * python/py-gdb-readline.c: Likewise.
2778
8980bdf6
GB
27792014-08-07 Gary Benson <gbenson@redhat.com>
2780
2781 * common/common-defs.h: Include stdarg.h.
2782 * defs.h: Do not include stdarg.h.
2783 * ada-lang.c: Likewise.
2784 * common/common-utils.h: Likewise.
2785 * guile/scm-string.c: Likewise.
2786 * guile/scm-utils.c: Likewise.
2787 * m32c-tdep.c: Likewise.
2788
d7096f71
GB
27892014-08-07 Gary Benson <gbenson@redhat.com>
2790
2791 * common/common-defs.h: Include stdlib.h.
2792 * defs.h: Do not include stdlib.h.
2793 * addrmap.c: Likewise.
2794 * bcache.c: Likewise.
2795 * common/buffer.c: Likewise.
2796 * common/common-utils.c: Likewise.
2797 * cp-name-parser.y: Likewise.
2798 * go32-nat.c: Likewise.
2799 * mn10300-linux-tdep.c: Likewise.
2800 * nat/linux-osdata.c: Likewise.
2801 * tui/tui.c: Likewise.
2802 * windows-nat.c: Likewise.
2803
d02f550d
GB
28042014-08-07 Gary Benson <gbenson@redhat.com>
2805
2806 * common/common-defs.h: Include stdio.h.
2807 * defs.h: Do not include stdio.h.
2808 * ada-lang.c: Likewise.
2809 * common/buffer.c: Likewise.
2810 * common/common-utils.c: Likewise.
2811 * cp-name-parser.y: Likewise.
2812 * gnu-nat.c: Likewise.
2813 * go32-nat.c: Likewise.
2814 * i386gnu-nat.c: Likewise.
2815 * proc-api.c: Likewise.
2816 * proc-events.c: Likewise.
2817 * proc-flags.c: Likewise.
2818 * proc-why.c: Likewise.
2819 * python/python-internal.h: Likewise.
2820 * target-memory.c: Likewise.
2821 * tui/tui-io.c: Likewise.
2822 * tui/tui.c: Likewise.
2823
b6d7a4bf
SM
28242014-08-06 Simon Marchi <simon.marchi@ericsson.com>
2825
2826 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
2827 (scan_dyntag_auxv): Same.
2828
af19829b
YQ
28292014-08-06 Yao Qi <yao@codesourcery.com>
2830
2831 * amd64-linux-nat.c: Remove duplicated include
2832 "x86-linux-nat.h".
2833 * i386-linux-nat.c: Likewise.
2834
8e07a239
YQ
28352014-08-06 Yao Qi <yao@codesourcery.com>
2836
2837 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
2838 operand" with "Special opcode" in comments.
2839
7bfe8241
GB
28402014-08-05 Gary Benson <gbenson@redhat.com>
2841
2842 * interps.c (initialize_interps): Remove prototype.
2843 (interpreter_initialized): Remove static global.
2844 (interp_add): Do not call initialize_interps.
2845 (initialize_interps): Remove function.
2846
d6c95504
GB
28472014-08-05 Gary Benson <gbenson@redhat.com>
2848
2849 * utils.c (vwarning): Remove spurious va_end.
2850
241fd515
AM
28512014-08-05 Alan Modra <amodra@gmail.com>
2852
2853 * charset.c (convert_between_encodings): Cast result of obstack_base.
2854 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
2855 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
2856 (read_unwind_info): Use size_t for some locals.
2857 * jit.c (finalize_symtab): Likewise.
2858 * utils.c (hashtab_obstack_allocate): Likewise.
2859 * symmisc.c (print_objfile_statistics): Update format strings.
2860
dc304a94
JK
28612014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2862
2863 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
2864 (Changes in GDB 7.8): ... here.
2865
3cecbbbe
TT
28662014-08-04 Tom Tromey <tromey@redhat.com>
2867
2868 * target.c (set_targetdebug): New function.
2869 (initialize_targets): Pass set_targetdebug when creating "set
2870 debug target".
2871
6908c509
JB
28722014-08-01 Joel Brobecker <brobecker@adacore.com>
2873
2874 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
2875 if detecting a variable-sized field that is not the last field.
2876 Fix struct type length computation.
2877
53e8f97d
JB
28782014-08-01 Joel Brobecker <brobecker@adacore.com>
2879
2880 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2881 Add debug trace.
2882
e068c55d
JB
28832014-08-01 Joel Brobecker <brobecker@adacore.com>
2884
2885 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2886 Remove "+ 8" offset in computation of CHAIN_VMA.
2887
4d4ca2a1
DE
28882014-07-31 Doug Evans <dje@google.com>
2889
2890 * inflow.c (child_terminal_inferior): Add comment.
2891 (child_terminal_ours_for_output): Add comment.
2892 (child_terminal_ours): Add comment.
2893 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
2894 (linux_nat_terminal_ours): Add comment.
2895
462f517e
GB
28962014-07-31 Gary Benson <gbenson@redhat.com>
2897
2898 * common/btrace-common.h: Do not include defs.h or server.h.
2899 * nat/mips-linux-watch.h: Likewise.
2900 * gdb-dlfcn.h: Do not include defs.h.
2901 * tracefile.h: Likewise.
2902
74228e77
RM
29032014-07-30 Roland McGrath <mcgrathr@google.com>
2904
2905 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
2906
014f9477
TT
29072014-07-30 Tom Tromey <tromey@redhat.com>
2908
2909 * bsd-kvm.c (bsd_kvm_open): Constify.
2910 * corelow.c (core_open): Constify.
2911 * ctf.c (ctf_open): Constify.
2912 * dbug-rom.c (dbug_open): Constify.
2913 * exec.c (exec_open): Constify.
2914 * m32r-rom.c (m32r_open, mon2000_open): Constify.
2915 * microblaze-rom.c (picobug_open): Constify.
2916 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
2917 Constify.
2918 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
2919 * record-btrace.c (record_btrace_open): Constify.
2920 * record-full.c (record_full_core_open_1, record_full_open_1)
2921 (record_full_open): Constify.
2922 * remote-m32r-sdi.c (m32r_open): Constify.
2923 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
2924 (rockhopper_open, lsi_open): Constify.
2925 * remote-sim.c (gdbsim_open): Constify.
2926 * remote.c (remote_open, extended_remote_open, remote_open_1):
2927 Constify.
2928 * target.h (struct target_ops) <to_open>: Make "arg" const.
2929 * tracefile-tfile.c (tfile_open): Constify.
2930
e799154c
TT
29312014-07-30 Tom Tromey <tromey@redhat.com>
2932
2933 * breakpoint.c (map_breakpoint_numbers): Update.
2934 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
2935 (get_number_const): New function.
2936 (get_number): Rewrite using get_number_const.
2937 (init_number_or_range): Make "string" const.
2938 (number_is_in_list): Make "list" const.
2939 * cli/cli-utils.h (get_number_const): Declare.
2940 (struct get_number_or_range_state) <string, end_ptr>: Now const.
2941 (init_number_or_range, number_is_in_list): Update.
2942 * printcmd.c (map_display_numbers): Update.
2943 * value.c (value_from_history_ref): Constify.
2944 * value.h (value_from_history_ref): Update.
2945
5f08566b
TT
29462014-07-30 Tom Tromey <tromey@redhat.com>
2947
2948 * corefile.c (hook_type, call_extra_exec_file_hooks)
2949 (specify_exec_file_hook): Constify.
2950 * exec.c (exec_file_attach): Make "filename" const.
2951 * gdbcore.h (deprecated_exec_file_display_hook)
2952 (specify_exec_file_hook, exec_file_attach): Constify.
2953 * main.c (captured_main): Use catch_command_errors_const.
2954
8981c758
TT
29552014-07-30 Tom Tromey <tromey@redhat.com>
2956
2957 * target.c (open_target): New function.
2958 (add_target_with_completer, add_deprecated_target_alias): Use
2959 set_cmd_sfunc, set_cmd_context.
2960 (debug_to_open): Remove.
2961 (setup_target_debug): Update.
2962
a1c7835a
YQ
29632014-07-30 Yao Qi <yao@codesourcery.com>
2964
2965 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
2966 comments.
2967 * parse.c (exp_iterate): Update comments.
2968
976411d6
GB
29692014-07-30 Gary Benson <gbenson@redhat.com>
2970
2971 * common/common-defs.h: New file.
2972 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
2973 * defs.h: Include common-defs.h.
2974 Do not include config.h or build-gnulib/config.h.
2975
5d4848a4
GB
29762014-07-30 Gary Benson <gbenson@redhat.com>
2977
2978 * common/common-utils.h: Do not include config.h.
2979 * nat/linux-btrace.h: Likewise.
2980
d41f6d8e
GB
29812014-07-30 Gary Benson <gbenson@redhat.com>
2982
2983 * btrace.c: Include defs.h.
2984 * common/ptid.c: Include defs.h or server.h as appropriate.
2985 * nat/mips-linux-watch.c: Likewise.
2986
84202f9c
TT
29872014-07-29 Tom Tromey <tromey@redhat.com>
2988
2989 * target.c (target_is_pushed): Simplify.
2990
2530441c
JB
29912014-07-29 Joel Brobecker <brobecker@adacore.com>
2992
2993 GDB 7.8 released.
2994
7e09a223
YQ
29952014-07-29 Yao Qi <yao@codesourcery.com>
2996
2997 PR gdb/17206
2998 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
2999
7ebdbe92
DE
30002014-07-28 Doug Evans <xdje42@gmail.com>
3001
3002 PR guile/17203
3003 * guile/scm-param.c (pascm_parameter_defined_p): New function.
3004 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
3005 parameters.
3006
f347ffc9
WN
30072014-07-28 Will Newton <will.newton@linaro.org>
3008
3009 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
3010 (THUMB2_SET_R7_SIGRETURN2): Likewise.
3011 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
3012 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
3013 (THUMB2_EABI_SYSCALL): Likewise.
3014 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
3015 struct tramp_frame.
3016 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
3017 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
3018
37c5f1f7
DE
30192014-07-27 Doug Evans <xdje42@gmail.com>
3020
3021 * guile/scm-param.c (pascm_print_param_smob): Fix output.
3022
0c3abbc7
DE
30232014-07-27 Doug Evans <xdje42@gmail.com>
3024
3025 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
3026
e76c5d17
DE
30272014-07-26 Ludovic Courtès <ludo@gnu.org>
3028 Doug Evans <xdje42@gmail.com>
3029
3030 PR guile/17146
3031 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
3032 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
3033 * configure.ac: Try to use guild to compile an scm file, if it fails
3034 then disable guile support.
3035 * configure: Regenerate.
3036 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
3037 GUILE_FILE_LIST.
3038 (GUILE_COMPILED_FILES): New variable.
3039 (GUILE_FILES) Update.
3040 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
3041 (stamp-guile): Compile scm files.
3042 * guile/guile.c (boot_guile_support): New function.
3043 (standard_throw_args_p): New function.
3044 (print_standard_throw_error, print_throw_error): New functions.
3045 (handle_boot_error): New function.
3046 (initialize_scheme_side): Rewrite to call boot_guile_support.
3047 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
3048 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
3049
186fcde0
DE
30502014-07-26 Ludovic Courtès <ludo@gnu.org>
3051 Doug Evans <xdje42@gmail.com>
3052
3053 PR guile/17146
3054 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
3055 * guile/lib/gdb/support.scm: New file.
3056 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
3057 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
3058 All uses updated.
3059 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
3060 All uses updated.
3061 (%assert-type): Ditto, and renamed to assert-type.
3062 (%exception-print-style): Delete.
3063
4df42755
DE
30642014-07-26 Doug Evans <xdje42@gmail.com>
3065
3066 PR build/17105
3067 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
3068 * configure: Regenerate.
3069 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
3070 PYTHON_FILES.
3071 (PYTHON_FILES): New variable.
3072 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
3073 (GUILE_FILES): New variable.
3074 (stamp-python, install-python, uninstall-python): Handle empty
3075 file list.
3076 (stamp-guile, install-guile, uninstall-guile): Ditto.
3077
ee7333ae
DE
30782014-07-26 Doug Evans <xdje42@gmail.com>
3079
3080 PR guile/17177
3081 * guile/lib/gdb.scm (pretty-printers): Export.
3082 (set-pretty-printers!): Export.
3083 * guile/lib/gdb/printing.scm (gdb module): Update.
3084 (prepend-pretty-printer!, append-pretty-printer!): Update.
3085 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
3086 (pretty_printer_list_var): Delete.
3087 (pretty_printer_list): New static global.
3088 (gdbscm_pretty_printers): New function.
3089 (gdbscm_set_pretty_printers_x): New function.
3090 (ppscm_find_pretty_printer_from_gdb): Update.
3091 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
3092 (gdbscm_initialize_pretty_printers): Update.
3093
74edf516
DE
30942014-07-26 Doug Evans <xdje42@gmail.com>
3095
3096 PR 17185
3097 * configure.ac: Add check for header gc/gc.h.
3098 Add check for function setenv.
3099 * configure: Regenerate.
3100 * config.in: Regenerate.
3101 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
3102
d54398a7
MR
31032014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
3104
3105 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
3106 variation in gdbarch matching.
3107
ab16fce8
TT
31082014-07-25 Tom Tromey <tromey@redhat.com>
3109
3110 * exec.c (using_exec_ops): Remove.
3111 (exec_close_1): Update. Remove extraneous block, reindent.
3112 (add_target_sections): Use target_is_pushed.
3113
88056fbb
PA
31142014-07-25 Pedro Alves <palves@redhat.com>
3115
3116 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
3117 * monitor.c (monitor_create_inferior): Likewise.
3118 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
3119 * remote-sim.c (gdbsim_create_inferior): Likewise.
3120 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
3121 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
3122 * windows-nat.c (do_initial_windows_stuff): Likewise.
3123
70509625
PA
31242014-07-25 Pedro Alves <palves@redhat.com>
3125
3126 * NEWS: Mention signal passing and "signal" command changes.
3127 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
3128 comment.
3129 * breakpoint.c (until_break_command): Adjust clear_proceed_status
3130 call.
3131 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
3132 * infcmd.c (proceed_thread_callback, continue_1, step_once)
3133 (jump_command): Adjust clear_proceed_status call.
3134 (signal_command): Warn if other thread that are resumed have
3135 signals that will be delivered. Adjust clear_proceed_status call.
3136 (until_next_command, finish_command)
3137 (proceed_after_attach_callback, attach_command_post_wait)
3138 (attach_command): Adjust clear_proceed_status call.
3139 * infrun.c (proceed_after_vfork_done): Likewise.
3140 (proceed_after_attach_callback): Adjust comment.
3141 (clear_proceed_status_thread): Clear stop_signal if not in pass
3142 state.
3143 (clear_proceed_status_callback): Delete.
3144 (clear_proceed_status): New 'step' parameter. Only clear the
3145 proceed status of threads the command being prepared is about to
3146 resume.
3147 (proceed): If passed in an explicit signal, override stop_signal
3148 with it. Don't pass the last stop signal to the thread we're
3149 resuming.
3150 (init_wait_for_inferior): Adjust clear_proceed_status call.
3151 (switch_back_to_stepped_thread): Clear the signal if it should not
3152 be passed.
3153 * infrun.h (clear_proceed_status): New 'step' parameter.
3154 (user_visible_resume_ptid): Add comment.
3155 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
3156 signal is in pass state.
3157 * remote.c (append_pending_thread_resumptions): Likewise.
3158 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
3159
d8be2939
TT
31602014-07-25 Tom Tromey <tromey@redhat.com>
3161
3162 * target.h (target_stopped_data_address)
3163 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
3164 parentheses.
3165
7d0d9d2b
PL
31662014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
3167
3168 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
3169 comments.
3170 (avr_pointer_to_address): Likewise.
3171
e9e7f724
TT
31722014-07-24 Tom Tromey <tromey@redhat.com>
3173
3174 * monitor.c (compile_pattern): Update.
3175 * target.h (struct target_ops) <to_shortname, to_longname,
3176 to_doc>: Now const.
3177
1947513d
TT
31782014-07-24 Tom Tromey <tromey@redhat.com>
3179
3180 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
3181 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
3182 (add_info_alias, add_com): Make "doc" const.
3183 (print_doc_line): Make "str" const.
3184 (delete_cmd): Update.
3185 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
3186 (print_doc_line): Update.
3187 * cli/cli-script.c (document_command): Update.
3188 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
3189 (add_com, add_info, add_info_alias): Update.
3190 * guile/scm-cmd.c (cmdscm_destroyer): Update.
3191 * python/py-cmd.c (cmdpy_destroyer): Update.
3192
64e61d29
TT
31932014-07-24 Tom Tromey <tromey@redhat.com>
3194
3195 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
3196 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
3197 (help_cmd_list): Constify.
3198 (lookup_cmd): Update.
3199 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
3200 const.
3201 (help_cmd_list, apropos_cmd): Update.
3202 * cli/cli-script.c (show_user): Update.
3203 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
3204 * cli/cli-setshow.h (cmd_show_list): Update.
3205 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
3206 (cmd_show_list): Update.
3207 * guile/scm-cmd.c (cmdscm_destroyer): Update.
3208 * python/py-cmd.c (cmdpy_destroyer): Update.
3209
429e55ea
TT
32102014-07-24 Tom Tromey <tromey@redhat.com>
3211
3212 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
3213 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
3214 const.
3215 * command.h (deprecate_cmd): Update.
3216 * maint.c (maintenance_do_deprecate): Add casts.
3217
64669f3b
TT
32182014-07-24 Tom Tromey <tromey@redhat.com>
3219
3220 * cli/cli-decode.c (help_cmd): Make parameter "const".
3221 * cli/cli-decode.h (help_cmd): Update.
3222
d3d3328b
TT
32232014-07-24 Tom Tromey <tromey@redhat.com>
3224
3225 * stack.c (up_silently_base, down_silently_base): Make argument
3226 const.
3227
414842dc
TT
32282014-07-24 Tom Tromey <tromey@redhat.com>
3229
3230 * solib.c (solib_add): Make "pattern" const.
3231 * solib.h (solib_add): Update.
3232
baa336ce
TT
32332014-07-24 Tom Tromey <tromey@redhat.com>
3234
3235 * remote.c (remote_serial_open, print_packet, putpkt)
3236 (putpkt_binary): Constify.
3237 * remote.h (putpkt): Update.
3238
5a19e2d0
TT
32392014-07-24 Tom Tromey <tromey@redhat.com>
3240
3241 * monitor.c (monitor_open): Make "args" const.
3242 * monitor.h (monitor_open): Update.
3243
fc4baa5e
TT
32442014-07-24 Tom Tromey <tromey@redhat.com>
3245
3246 * maint.c (match_bfd_flags): Make "string" const.
3247 (print_bfd_section_info): Remove casts.
3248 (print_objfile_section_info): Make "string" const.
3249
0d5f0dbe
TT
32502014-07-24 Tom Tromey <tromey@redhat.com>
3251
3252 * inf-child.c (inf_child_open_target): Make "arg" const.
3253 * inf-child.h (inf_child_open_target): Update.
3254
41c77899
TT
32552014-07-24 Tom Tromey <tromey@redhat.com>
3256
3257 * environ.c (unset_in_environ): Make "var" const.
3258 * environ.h (unset_in_environ): Update.
3259
93db0d79
TT
32602014-07-24 Tom Tromey <tromey@redhat.com>
3261
3262 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
3263 Make "cmd" const.
3264 (scan_filename_with_cleanup): Likewise.
3265 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
3266 Make arguments const.
3267 (restore_command): Update.
3268
36d6eb95
PA
32692014-07-24 Pedro Alves <palves@redhat.com>
3270
3271 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
3272
8009206a
TT
32732014-07-24 Tom Tromey <tromey@redhat.com>
3274 Gary Benson <gbenson@redhat.com>
3275
3276 * nat/linux-ptrace.c (additional_flags): New global.
3277 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
3278 additional_flags; don't check GDBSERVER.
3279 (linux_ptrace_set_additional_flags): New function.
3280 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
3281 Declare.
3282 * linux-nat.c (_initialize_linux_nat): Call
3283 linux_ptrace_set_additional_flags.
3284
a7068b60
TT
32852014-07-24 Tom Tromey <tromey@redhat.com>
3286
3287 * make-target-delegates (munge_type, write_debugmethod): New
3288 functions.
3289 (debug_names): New global.
3290 ($TARGET_DEBUG_PRINTER): New global.
3291 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
3292 name.
3293 Write debug methods. Generate init_debug_target.
3294 * target-debug.h: New file.
3295 * target-delegates.c: Rebuild.
3296 * target.c: Include target-debug.h.
3297 (debug_target): Hoist definition.
3298 (target_kill, target_get_section_table, target_memory_map)
3299 (target_flash_erase, target_flash_done, target_detach)
3300 (target_disconnect, target_wait, target_resume)
3301 (target_pass_signals, target_program_signals, target_follow_fork)
3302 (target_mourn_inferior, target_search_memory)
3303 (target_thread_address_space, target_close)
3304 (target_find_new_threads, target_core_of_thread)
3305 (target_verify_memory, target_insert_mask_watchpoint)
3306 (target_remove_mask_watchpoint): Remove targetdebug code.
3307 (debug_to_post_attach, debug_to_prepare_to_store)
3308 (debug_to_files_info, debug_to_insert_breakpoint)
3309 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
3310 (debug_to_region_ok_for_hw_watchpoint)
3311 (debug_to_can_accel_watchpoint_condition)
3312 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
3313 (debug_to_watchpoint_addr_within_range)
3314 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
3315 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
3316 (debug_to_terminal_init, debug_to_terminal_inferior)
3317 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
3318 (debug_to_terminal_save_ours, debug_to_terminal_info)
3319 (debug_to_load, debug_to_post_startup_inferior)
3320 (debug_to_insert_fork_catchpoint)
3321 (debug_to_remove_fork_catchpoint)
3322 (debug_to_insert_vfork_catchpoint)
3323 (debug_to_remove_vfork_catchpoint)
3324 (debug_to_insert_exec_catchpoint)
3325 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
3326 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
3327 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
3328 (setup_target_debug): Call init_debug_target.
3329 * target.h (TARGET_DEBUG_PRINTER): New macro.
3330 (struct target_ops) <to_resume, to_wait, to_pass_signals,
3331 to_program_signals>: Use TARGET_DEBUG_PRINTER.
3332
2c51604d
GB
33332014-07-24 Gary Benson <gbenson@redhat.com>
3334
3335 * exceptions.h (throw_vfatal): Renamed to...
3336 (throw_vquit): New declaration.
3337 (throw_quit): Likewise.
3338 * exceptions.c (throw_vfatal): Renamed to...
3339 (throw_vquit): New function.
3340 (throw_quit): Likewise.
3341 (throw_error): Call throw_verror rather than throw_it.
3342 * utils.h (vfatal): Removed.
3343 (fatal): Likewise.
3344 * utils.c (vfatal): Removed.
3345 (fatal): Likewise.
3346 (internal_verror): Replaced call to fatal with call to throw_quit.
3347 (quit): Replaced calls to fatal with calls to throw_quit.
3348
34211963
ME
33492014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
3350
3351 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
3352 target_read_code.
3353
a52b4d3e
ME
33542014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
3355
3356 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
3357 less than zero in conditional expression.
3358
a8bdc56b
TT
33592014-07-23 Tom Tromey <tromey@redhat.com>
3360
3361 * make-target-delegates ($ARGS_PART): Match trailing close paren.
3362 ($INTRO_PART): Don't match whitespace.
3363 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
3364 argument matching.
3365 ($METHOD): Add $METHOD_TRAILER.
3366 (trim): Rewrite.
3367 (scan_target_h): New sub.
3368 Change main loop not to collect state.
3369 * target-delegates.c: Rebuild.
3370
91b52240
GB
33712014-07-23 Gary Benson <gbenson@redhat.com>
3372
3373 * cp-support.c (gdb_demangle): Fix build on systems without
3374 sigaltstack.
3375
45326f6f
JK
33762014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3377
3378 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
3379 for reference entry value target data value.
3380
e214cf6c
JK
33812014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3382
3383 * stack.c (read_frame_arg): Verify value_optimized_out before calling
3384 value_available_contents_eq.
3385
bddbbedd
PA
33862014-07-22 Pedro Alves <palves@redhat.com>
3387
3388 * value.c (allocate_optimized_out_value): Don't mark value as
3389 non-lazy.
3390
45c71484
JW
33912014-07-22 Jiong Wang <jiong.wang@arm.com>
3392
3393 * MAINTAINERS (Write After Approval): Update my email address.
3394
9597b22a
DE
33952014-07-20 Doug Evans <dje@google.com>
3396
3397 PR server/17147
3398 * remote.c (putpkt_binary): Add text to error message.
3399
91101fe5
YQ
34002014-07-20 Yao Qi <yao@codesourcery.com>
3401
3402 * eval.c: Remove "Chill" from comments.
3403 * gdbtypes.h: Likewise.
3404 * symtab.h: Likewise.
3405
c9402c95
YQ
34062014-07-20 Yao Qi <yao@codesourcery.com>
3407
3408 * std-operator.def: Update comments to TERNOP_SLICE.
3409
ae8fddda
YQ
34102014-07-20 Yao Qi <yao@codesourcery.com>
3411
3412 * std-operator.def: Remove BINOP_RANGE.
3413 * breakpoint.c (watchpoint_exp_is_const): Update.
3414 * expprint.c (dump_subexp_body_standard): Likewise.
3415 * eval.c (init_array_element): Remove dead code.
3416 (evaluate_subexp_standard): Likewise.
3417
9c816640
YQ
34182014-07-20 Yao Qi <yao@codesourcery.com>
3419
3420 * std-operator.def: Remove BINOP_IN.
3421 * breakpoint.c (watchpoint_exp_is_const): Update.
3422 * eval.c (evaluate_subexp_standard): Likewise.
3423 * expprint.c (dump_subexp_body_standard): Likewise.
3424
164224e9
ME
34252014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
3426
3427 * microblaze-tdep.c (microblaze_register_names): Add
3428 the rshr and rslr register names.
3429 (microblaze_gdbarch_init): Use of tdesc_has_registers.
3430 Use of tdesc_find_feature. Use of tdesc_data_alloc.
3431 Use of tdesc_numbered_register. Use of
3432 microblaze_register_g_packet_guesses. Use of
3433 tdesc_use_registers. Use of set_gdbarch_register_type.
3434 (microblaze_register_g_packet_guesses): New.
3435 * microblaze-tdep.h (microblaze_reg_num): Add
3436 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
3437 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
3438 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
3439 * features/microblaze-core.xml: New file.
3440 * features/microblaze-stack-protect.xml: New file.
3441 * features/microblaze-with-stack-protect.c: New file.
3442 * features/microblaze-with-stack-protect.xml: New file.
3443 * features/microblaze.xml: New file.
3444 * features/microblaze.c: New file.
3445 * features/Makefile (microblaze-with-stack-protect): Add
3446 microblaze-with-stack-protect microblaze and microblaze-expedite.
3447 * regformats/microblaze-with-stack-protect.dat: New file.
3448 * regformats/microblaze.dat: New file.
3449 * doc/gdb.texinfo (MicroBlaze Features): Added.
3450
e8b2341c
TT
34512014-07-18 Tom Tromey <tromey@redhat.com>
3452
3453 * exec.c (exec_ops): Now static.
3454 * exec.h (exec_ops): Don't declare.
3455
44e89118
TT
34562014-07-18 Tom Tromey <tromey@redhat.com>
3457
3458 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
3459 to find_target_beneath.
3460 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
3461 find_target_beneath.
3462 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
3463
b0ed115f
TT
34642014-07-18 Tom Tromey <tromey@redhat.com>
3465
3466 PR gdb/17130:
3467 * utils.c (quit): Use target_supports_terminal_ours.
3468 * target.h (target_supports_terminal_ours): Declare.
3469 * target.c (target_supports_delete_record): Don't check
3470 to_delete_record against NULL.
3471 (target_supports_terminal_ours): New function.
3472
e75fdfca
TT
34732014-07-18 Tom Tromey <tromey@redhat.com>
3474
3475 PR gdb/17130:
3476 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
3477 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
3478 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
3479 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
3480 * windows-nat.c (windows_xfer_partial): Always delegate.
3481 * record-btrace.c (record_btrace_xfer_partial): Simplify
3482 delegation.
3483 (record_btrace_fetch_registers, record_btrace_store_registers)
3484 (record_btrace_prepare_to_store, record_btrace_resume)
3485 (record_btrace_wait, record_btrace_find_new_threads)
3486 (record_btrace_thread_alive): Likewise.
3487 * procfs.c (procfs_xfer_partial): Always delegate.
3488 * corelow.c (core_xfer_partial): Always delegate.
3489 * sol-thread.c (sol_find_new_threads): Simplify delegation.
3490
83814951
TT
34912014-07-18 Tom Tromey <tromey@redhat.com>
3492
3493 * exec.c (exec_make_note_section): Move earlier.
3494
b8b8facf
DE
34952014-07-17 Doug Evans <dje@google.com>
3496
74b49205 3497 PR gdb/17170
b8b8facf
DE
3498 * maint.c (count_symtabs_and_blocks): Handle NULL
3499 current_program_space.
3500 (report_command_stats): Check global enabled flag in addition to
3501 recorded enabled flag.
3502 (make_command_stats_cleanup): Handle msg_type == 0, startup.
3503
69ff6be5
PA
35042014-07-16 Pedro Alves <palves@redhat.com>
3505
3506 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
3507
252db1b5
TT
35082014-07-16 Tom Tromey <tromey@redhat.com>
3509
3510 * target.h (struct target_ops) <to_delete_record>: Reformat
3511 comment.
3512
a432721e
TT
35132014-07-16 Tom Tromey <tromey@redhat.com>
3514
3515 * target-delegates.c: Rebuild.
3516
487d9753
PL
35172014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3518
3519 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
3520 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
3521 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
3522 (avr_pointer_to_address): Likewise.
3523 (avr_address_class_type_flags): New function.
3524 (avr_address_class_type_flags_to_name): Likewise.
3525 (avr_address_class_name_to_type_flags): Likewise.
3526 (avr_gdbarch_init): Set address_class_type_flags,
3527 address_class_type_flags_to_name and
3528 address_class_name_to_type_flags.
3529
57745c90
PA
35302014-07-15 Pedro Alves <palves@redhat.com>
3531
3532 * linux-nat.c (kill_callback): Save errno and work with saved
3533 copy.
3534
2d40be18
SM
35352014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3536
3537 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
3538
572f6555
EBM
35392014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3540
3541 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
3542 breakpoint support correctly.
3543
cc1c52ad
PA
35442014-07-14 Pedro Alves <palves@redhat.com>
3545
3546 * utils.c (prompt_for_continue): Call target_terminal_ours.
3547
1e973570
PA
35482014-07-14 Pedro Alves <palves@redhat.com>
3549
3550 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
3551 catch_errors. Don't re-enable stdin or notify observers where,
3552 and rethrow error.
3553 (fetch_inferior_event_wrapper): Delete.
3554
93d6eb10
PA
35552014-07-14 Pedro Alves <palves@redhat.com>
3556
3557 PR gdb/17072
3558 * top.c: Include "inf-loop.h".
3559 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
3560 field.
3561 (gdb_readline_wrapper_cleanup): Make the target async again, if it
3562 was async before.
3563 (gdb_readline_wrapper): Store whether the target is async, and
3564 make it sync.
3565
0017922d
PA
35662014-07-14 Pedro Alves <palves@redhat.com>
3567
3568 PR gdb/17072
3569 * top.c (gdb_readline_wrapper_line): Tweak comment.
3570 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
3571 the input handler callback.
3572
94696ad3
PA
35732014-07-14 Pedro Alves <palves@redhat.com>
3574
3575 PR gdb/17072
3576 * main.c: Include event-top.h.
3577 (handle_command_errors): New function.
3578 (catch_command_errors, catch_command_errors_const): Use it.
3579
9d1e69a2
PA
35802014-07-14 Pedro Alves <palves@redhat.com>
3581
3582 * exceptions.c (catch_command_errors, catch_command_errors_const):
3583 Moved to main.c.
3584 * exceptions.h (catch_command_errors_ftype)
3585 (catch_command_errors_const_ftype): Moved to main.c.
3586 (catch_command_errors, catch_command_errors_const): Delete
3587 declarations.
3588 * main.c (catch_command_errors_ftype)
3589 (catch_command_errors_const_ftype): Moved here from exceptions.h.
3590 (catch_command_errors, catch_command_errors_const)): Moved here
3591 from exceptions.c and make static.
3592
feefc97b
PA
35932014-07-14 Pedro Alves <palves@redhat.com>
3594
3595 * exceptions.c (print_any_exception): Delete.
3596 (catch_exceptions_with_msg): Use exception_print instead of
3597 print_any_exception.
3598 (catch_errors): Use exception_fprintf instead of
3599 print_any_exception.
3600 (catch_command_errors, catch_command_errors_const): Use
3601 exception_print instead of print_any_exception.
3602
c933f875
PA
36032014-07-14 Pedro Alves <palves@redhat.com>
3604
3605 * infcall.c (run_inferior_call): Set 'sync_execution' while
3606 running the inferior call.
3607
feb6f816
PA
36082014-07-14 Pedro Alves <palves@redhat.com>
3609
3610 * value.c (value_contents_equal): Delete function.
3611 * value.h (value_contents_equal): Delete declaration.
3612
d98b7a16
TT
36132014-07-14 Tom Tromey <tromey@redhat.com>
3614
3615 PR exp/17106:
3616 * gdbtypes.c (is_dynamic_type_internal): New function, from
3617 is_dynamic_type.
3618 (is_dynamic_type): Rewrite.
3619 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
3620 (resolve_dynamic_struct): Likewise.
3621 (resolve_dynamic_type_internal): New function, from
3622 resolve_dynamic_type.
3623 (resolve_dynamic_type): Rewrite.
3624
548740d6
TT
36252014-07-14 Tom Tromey <tromey@redhat.com>
3626
3627 * target.c (target_require_runnable): Also check record_stratum.
3628 Update comment.
3629
808f7ab1
YQ
36302014-07-11 Yao Qi <yao@codesourcery.com>
3631
3632 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
3633 thumb_instruction_restores_sp return true.
3634
540314bd
YQ
36352014-07-11 Yao Qi <yao@codesourcery.com>
3636
3637 * arm-tdep.c (thumb_instruction_restores_sp): New function.
3638 (thumb_in_function_epilogue_p): Call
3639 thumb_instruction_restores_sp.
3640
1db01f22
YQ
36412014-07-11 Yao Qi <yao@codesourcery.com>
3642
3643 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
3644 'add sp, #imm'.
3645 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
3646
3116063b
GB
36472014-07-11 Gary Benson <gbenson@redhat.com>
3648
3649 * amd64-linux-nat.c (gdbcore.h): Remove include.
3650 (regset.h): Likewise.
3651 (nat/linux-btrace.h): Likewise.
3652 (btrace.h): Likewise.
3653 (gdb_assert.h): Likewise.
3654 (string.h): Likewise.
3655 (sys/uio.h): Likewise.
3656 (sys/debugreg.h): Likewise.
3657 (sys/syscall.h): Likewise.
3658 (sys/procfs.h): Likewise.
3659 (sys/user.h): Likewise.
3660 (asm/ptrace.h): Likewise.
3661 (i386-nat.h): Likewise.
3662 * i386-linux-nat.c (i386-nat.h): Likewise.
3663 (regset.h): Likewise.
3664 (target.h): Likewise.
3665 (linux-nat.h): Likewise.
3666 (nat/linux-btrace.h): Likewise.
3667 (btrace.h): Likewise.
3668 (gdb_assert.h): Likewise.
3669 (string.h): Likewise.
3670 (sys/uio.h): Likewise.
3671 (sys/user.h): Likewise.
3672 (sys/procfs.h): Likewise.
3673 (sys/reg.h): Likewise.
3674 (sys/debugreg.h): Likewise.
3675 (ORIG_EAX): Remove definition.
3676
040baaf6
GB
36772014-07-11 Gary Benson <gbenson@redhat.com>
3678
3679 * i386-linux-nat.h: New file.
3680 * x86-linux-nat.h: Likewise.
3681 * x86-linux-nat.c: Likewise.
3682 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
3683 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
3684 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3685 * amd64-linux-nat.c (x86-linux-nat.h): New include.
3686 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
3687 (PTRACE_SETREGSET): Likewise.
3688 (arch_lwp_info): Now in x86-linux-nat.c.
3689 (have_ptrace_getregset): Now in x86-linux-nat.h.
3690 (x86_linux_dr_get): Now in x86-linux-nat.c.
3691 (x86_linux_dr_set): Likewise.
3692 (x86_linux_dr_get_addr): Likewise.
3693 (x86_linux_dr_get_control): Likewise.
3694 (x86_linux_dr_get_status): Likewise.
3695 (update_debug_registers_callback): Likewise.
3696 (x86_linux_dr_set_control): Likewise.
3697 (x86_linux_dr_set_addr): Likewise.
3698 (x86_linux_prepare_to_resume): Likewise.
3699 (x86_linux_new_thread): Likewise.
3700 (x86_linux_new_fork): Likewise.
3701 (x86_linux_get_thread_area): Likewise.
3702 (super_post_startup_inferior): Likewise.
3703 (x86_linux_child_post_startup_inferior): Likewise.
3704 (AMD64_LINUX_USER64_CS): Likewise.
3705 (AMD64_LINUX_X32_DS): Likewise.
3706 (x86_linux_read_description): Likewise.
3707 (x86_linux_enable_btrace): Likewise.
3708 (x86_linux_disable_btrace): Likewise.
3709 (x86_linux_teardown_btrace): Likewise.
3710 (x86_linux_read_btrace): Likewise.
3711 (x86_linux_create_target): Likewise.
3712 (x86_linux_add_target): Likewise.
3713 * i386-linux-nat.c (x86-linux-nat.h): New include.
3714 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
3715 (PTRACE_SETREGSET): Likewise.
3716 (arch_lwp_info): Now in x86-linux-nat.c.
3717 (have_ptrace_getregset): Now in x86-linux-nat.h.
3718 (x86_linux_dr_get): Now in x86-linux-nat.c.
3719 (x86_linux_dr_set): Likewise.
3720 (x86_linux_dr_get_addr): Likewise.
3721 (x86_linux_dr_get_control): Likewise.
3722 (x86_linux_dr_get_status): Likewise.
3723 (update_debug_registers_callback): Likewise.
3724 (x86_linux_dr_set_control): Likewise.
3725 (x86_linux_dr_set_addr): Likewise.
3726 (x86_linux_prepare_to_resume): Likewise.
3727 (x86_linux_new_thread): Likewise.
3728 (x86_linux_new_fork): Likewise.
3729 (x86_linux_get_thread_area): Likewise.
3730 (super_post_startup_inferior): Likewise.
3731 (x86_linux_child_post_startup_inferior): Likewise.
3732 (AMD64_LINUX_USER64_CS): Likewise.
3733 (AMD64_LINUX_X32_DS): Likewise.
3734 (x86_linux_read_description): Likewise.
3735 (x86_linux_enable_btrace): Likewise.
3736 (x86_linux_disable_btrace): Likewise.
3737 (x86_linux_teardown_btrace): Likewise.
3738 (x86_linux_read_btrace): Likewise.
3739 (x86_linux_create_target): Likewise.
3740 (x86_linux_add_target): Likewise.
3741
1aa7e42c
GB
37422014-07-11 Gary Benson <gbenson@redhat.com>
3743
3744 * amd64-linux-nat.c: Comment and whitespace changes.
3745 * i386-linux-nat.c: Comment and whitespace changes.
3746
c1e246a0
GB
37472014-07-11 Gary Benson <gbenson@redhat.com>
3748
3749 * amd64-linux-nat.c (x86_linux_create_target): New function.
3750 (x86_linux_add_target): Likewise.
3751 (_initialize_amd64_linux_nat): Delegate to the above new functions.
3752 * i386-linux-nat.c (x86_linux_create_target): New function.
3753 (x86_linux_add_target): Likewise.
3754 (_initialize_i386_linux_nat): Delegate to the above new functions.
3755
8c420b8d
GB
37562014-07-11 Gary Benson <gbenson@redhat.com>
3757
3758 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
3759 (ps_get_thread_area): Delegate to the above in 32-bit mode.
3760 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
3761 (ps_get_thread_area): Delegate to the above.
3762
cb1da100
GB
37632014-07-11 Gary Benson <gbenson@redhat.com>
3764
3765 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
3766 x86_linux_read_description. All uses updated. amd64-specific
3767 code conditionalized. Conditionalized i386-specific code added.
3768 Redundant cast removed.
3769 * i386-linux-nat.c (i386_linux_read_description): Renamed to
3770 x86_linux_read_description. All uses updated. i386-specific
3771 code conditionalized. Conditionalized amd64-specific code added.
3772 One sizeof replaced with the actual type it is describing.
3773
2acf3cd0
GB
37742014-07-11 Gary Benson <gbenson@redhat.com>
3775
3776 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
3777 x86_linux_dr_get. All uses updated.
3778 (amd64_linux_dr_set): Renamed to
3779 x86_linux_dr_set. All uses updated.
3780 (amd64_linux_dr_get_addr): Renamed to
3781 x86_linux_dr_get_addr. All uses updated.
3782 (amd64_linux_dr_get_control): Renamed to
3783 x86_linux_dr_get_control. All uses updated.
3784 (amd64_linux_dr_get_status): Renamed to
3785 x86_linux_dr_get_status. All uses updated.
3786 (amd64_linux_dr_set_control): Renamed to
3787 x86_linux_dr_set_control. All uses updated.
3788 (amd64_linux_dr_set_addr): Renamed to
3789 x86_linux_dr_set_addr. All uses updated.
3790 (amd64_linux_prepare_to_resume): Renamed to
3791 x86_linux_prepare_to_resume. All uses updated.
3792 (amd64_linux_new_thread): Renamed to
3793 x86_linux_new_thread. All uses updated.
3794 (amd64_linux_new_fork): Renamed to
3795 x86_linux_new_fork. All uses updated.
3796 (amd64_linux_child_post_startup_inferior): Renamed to
3797 x86_linux_child_post_startup_inferior. All uses updated.
3798 (amd64_linux_enable_btrace): Renamed to
3799 x86_linux_enable_btrace. All uses updated.
3800 (amd64_linux_disable_btrace): Renamed to
3801 x86_linux_disable_btrace. All uses updated.
3802 (amd64_linux_teardown_btrace): Renamed to
3803 x86_linux_teardown_btrace. All uses updated.
3804 (amd64_linux_read_btrace): Renamed to
3805 x86_linux_read_btrace. All uses updated.
3806 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
3807 x86_linux_dr_get. All uses updated.
3808 (i386_linux_dr_set): Renamed to
3809 x86_linux_dr_set. All uses updated.
3810 (i386_linux_dr_get_addr): Renamed to
3811 x86_linux_dr_get_addr. All uses updated.
3812 (i386_linux_dr_get_control): Renamed to
3813 x86_linux_dr_get_control. All uses updated.
3814 (i386_linux_dr_get_status): Renamed to
3815 x86_linux_dr_get_status. All uses updated.
3816 (i386_linux_dr_set_control): Renamed to
3817 x86_linux_dr_set_control. All uses updated.
3818 (i386_linux_dr_set_addr): Renamed to
3819 x86_linux_dr_set_addr. All uses updated.
3820 (i386_linux_prepare_to_resume): Renamed to
3821 x86_linux_prepare_to_resume. All uses updated.
3822 (i386_linux_new_thread): Renamed to
3823 x86_linux_new_thread. All uses updated.
3824 (i386_linux_new_fork): Renamed to
3825 x86_linux_new_fork. All uses updated.
3826 (i386_linux_child_post_startup_inferior): Renamed to
3827 x86_linux_child_post_startup_inferior. All uses updated.
3828 (i386_linux_enable_btrace): Renamed to
3829 x86_linux_enable_btrace. All uses updated.
3830 (i386_linux_disable_btrace): Renamed to
3831 x86_linux_disable_btrace. All uses updated.
3832 (i386_linux_teardown_btrace): Renamed to
3833 x86_linux_teardown_btrace. All uses updated.
3834 (i386_linux_read_btrace): Renamed to
3835 x86_linux_read_btrace. All uses updated.
3836
b9c1d481
AS
38372014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3838
3839 * remote.c (extended_remote_post_attach): New function.
3840 (init_extended_remote_ops): Install it as to_post_attach method.
3841
7180e04a
PA
38422014-07-09 Pedro Alves <palves@redhat.com>
3843
3844 * infcmd.c (attach_command_post_wait): Don't call
3845 target_terminal_inferior here.
3846 (attach_command): Call it here instead.
3847
9a9a7608
AB
38482014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3849
3850 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
3851 field.
3852 * c-varobj.c (c_is_path_expr_parent): New function, moved core
3853 from varobj.c, with additional checks.
3854 (c_varobj_ops): Fill in is_path_expr_parent field.
3855 (cplus_varobj_ops): Fill in is_path_expr_parent field.
3856 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
3857 field.
3858 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
3859 ops method.
3860 (varobj_default_is_path_expr_parent): New function.
3861 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
3862 (varobj_default_is_path_expr_parent): Declare new function.
3863
1f267ae3
MM
38642014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3865
3866 * infcmd.c (finish_backward): Turn internal error into normal error.
3867
b2ee242b
PA
38682014-07-07 Pedro Alves <palves@redhat.com>
3869
8a869bca 3870 PR gdb/17096
b2ee242b
PA
3871 * remote.c (async_handle_remote_sigint)
3872 (async_handle_remote_sigint_twice): Call
3873 gdb_call_async_signal_handler instead of
3874 mark_async_signal_handler.
3875
38e229b2
TT
38762014-07-07 Tom Tromey <tromey@redhat.com>
3877
3878 * target-delegates.c: Rebuild.
3879 * target.c (target_info_record): Remove.
3880 * record.c (info_record_command): Unconditionally call
3881 to_info_record.
3882 * target.h (struct target_ops) <to_info_record>: Use
3883 TARGET_DEFAULT_IGNORE.
3884 (target_info_record): Remove.
3885
f0f9ff95
TT
38862014-07-07 Tom Tromey <tromey@redhat.com>
3887
3888 * target.h (struct target_ops) <to_get_thread_local_address>: Use
3889 TARGET_DEFAULT_NORETURN.
3890 * target.c (generic_tls_error): New function.
3891 (target_translate_tls_address): Don't search target stack.
3892 * target-delegates.c: Rebuild.
3893 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
3894 stack.
3895 * linux-thread-db.c (thread_db_get_thread_local_address):
3896 Unconditionally call beneath target.
3897
4a5be5ee
MK
38982014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
3899
3900 * cli/cli-logging.c (pop_output_files): Assign targerr to
3901 gdb_stdtargerr.
3902
92c3b204
AB
39032014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
3904
3905 * MAINTAINERS (Write After Approval): Update my email address.
3906
9b11e3a7
GB
39072014-07-02 Gary Benson <gbenson@redhat.com>
3908
3909 * proc-service.c (ps_xfer_memory): Update comment.
3910 (ps_pstop): Remove unused function.
3911 (ps_pcontinue): Likewise.
3912 (ps_lstop): Likewise.
3913 (ps_lcontinue): Likewise.
3914 (ps_lgetxregsize): Likewise.
3915 (ps_lgetxregs): Likewise.
3916 (ps_lsetxregs): Likewise.
3917 (ps_plog): Likewise.
3918 (ps_ptread): Likewise.
3919 (ps_ptwrite): Likewise.
3920
cf363f18
MW
39212014-07-01 Mark Wielaard <mjw@redhat.com>
3922
3923 * dwarf2read.c (add_array_cv_type): New function.
3924 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
3925 (read_tag_volatile_type): Likewise.
3926
82ae6c8d
TT
39272014-07-01 Tom Tromey <tromey@redhat.com>
3928
3929 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
3930 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
3931 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
3932 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
3933 * command.h (cmd_cfunc_ftype): Move earlier.
3934 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
3935 (add_com, add_info): Use cmd_cfunc_ftype.
3936
96142726
TT
39372014-06-30 Tom Tromey <tromey@redhat.com>
3938
3939 * symtab.c (operator_chars): Make parameters and return type
3940 const.
3941 (file_matches): Make "files" const.
3942 (struct search_symbols_data) <files>: Now const.
3943 (search_symbols): Make "regexp" and "files" parameters const.
3944 Update.
3945 (symtab_symbol_info): Remove cast.
3946 (rbreak_command): Update.
3947 * symtab.h (search_symbols): Update.
3948
b67a2c6f
YQ
39492014-06-27 Yao Qi <yao@codesourcery.com>
3950
3951 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
3952 Change parameter type to 'struct thread_info *'. Caller
3953 updated.
3954 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
3955 Update declaration.
3956 * dummy-frame.c (struct dummy_frame_id): New.
3957 (dummy_frame_id_eq): New function.
3958 (struct dummy_frame) <id>: Change its type to 'struct
3959 dummy_frame_id'.
3960 (dummy_frame_push): Add parameter ptid and save it in
3961 dummy_frame_id.
3962 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
3963 inferior_ptid.
3964 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
3965 to inferior_ptid.
3966 (lookup_dummy_frame): Change parameter type to 'struct
3967 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
3968 instead of frame_id_eq.
3969 (dummy_frame_pop): Add parameter ptid. Callers updated.
3970 Update comments. Compose dummy_frame_id and pass it to
3971 lookup_dummy_frame.
3972 (dummy_frame_discard): Add parameter ptid.
3973 (dummy_frame_sniffer): Compose dummy_frame_id and call
3974 dummy_frame_id_eq instead of frame_id_eq.
3975 (fprint_dummy_frames): Print ptid.
3976 * dummy-frame.h: Remove comments.
3977 (dummy_frame_push): Add ptid in declaration.
3978 (dummy_frame_pop, dummy_frame_discard): Likewise.
3979
5b10184c
TT
39802014-06-26 Tom Tromey <tromey@redhat.com>
3981
3982 * cli/cli-cmds.c (error_no_arg): Make "why" const.
3983 * command.h (error_no_arg): Update.
3984
06900326
TT
39852014-06-26 Tom Tromey <tromey@redhat.com>
3986
3987 * cli/cli-setshow.c (do_set_command): Make "arg" const.
3988 (do_show_command): Make "arg" const.
3989 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
3990
c2bcbb1d
TT
39912014-06-26 Tom Tromey <tromey@redhat.com>
3992
3993 * record-full.c (record_full_get_bookmark): Make "args" const.
3994 (record_full_goto_bookmark): Make "raw_bookmark" const.
3995 * record.c (record_goto): New function.
3996 (cmd_record_goto): Use it. Now static.
3997 * record.h (record_goto): Declare.
3998 (cmd_record_goto): Remove declaration.
3999 * target-delegates.c: Rebuild.
4000 * target.h (struct target_ops) <to_get_bookmark,
4001 to_goto_bookmark>: Make parameter const.
4002
9cbe5fff
TT
40032014-06-26 Tom Tromey <tromey@redhat.com>
4004
4005 * defs.h (generic_load): Update.
4006 * m32r-rom.c (m32r_load_gen): Make "filename" const.
4007 * monitor.c (monitor_load): Make "args" const.
4008 * remote-m32r-sdi.c (m32r_load): Make "args" const.
4009 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
4010 const.
4011 (mips_load): Make "file" const.
4012 * remote-sim.c (gdbsim_load): Make "args" const.
4013 * remote.c (remote_load): Make "name" const.
4014 * symfile.c (generic_load): Make "args" const.
4015 * target-delegates.c: Rebuild.
4016 * target.c (target_load): Make "arg" const.
4017 (debug_to_load): Make "args" const.
4018 * target.h (struct target_ops) <to_load>: Make parameter const.
4019 (target_load): Update.
4020
34a68019
TT
40212014-06-26 Tom Tromey <tromey@redhat.com>
4022
4023 PR symtab/16902:
4024 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
4025 (dwarf2_physname, read_partial_die)
4026 (guess_partial_die_structure_name, fixup_partial_die)
4027 (guess_full_die_structure_name, anonymous_struct_prefix)
4028 (dwarf2_name): Use per-BFD obstack.
4029
efc889c1
YQ
40302014-06-26 Yao Qi <yao@codesourcery.com>
4031
4032 * dummy-frame.c (dummy_frame_sniffer): Move local variables
4033 dummyframe and this_id into inner block below.
4034
4395285e
YQ
40352014-06-26 Yao Qi <yao@codesourcery.com>
4036
4037 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
4038 with "signal_pass[0]" in the initialization of signal_pass.
4039
aef92902
MM
40402014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4041
4042 * record-btrace.c (record_btrace_generating_corefile)
4043 (record_btrace_prepare_to_generate_core)
4044 (record_btrace_done_generating_core): New.
4045 (record_btrace_xfer_partial, record_btrace_fetch_registers)
4046 (record_btrace_store_registers, record_btrace_prepare_to_store):
4047 Forward request when generating a core file.
4048 (record_btrace_open): Set record_btrace_generating_corefile to zero.
4049 (init_record_btrace_ops): Set to_prepare_to_generate_core and
4050 to_done_generating_core.
4051
5fff78c4
MM
40522014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4053
4054 * target.h (target_ops) <to_prepare_to_generate_core>
4055 <to_done_generating_core>: New.
4056 (target_prepare_to_generate_core, target_done_generating_core): New.
4057 * target.c (target_prepare_to_generate_core)
4058 (target_done_generating_core): New.
4059 * target-delegates.c: Regenerate.
4060 * gcore.c: (write_gcore_file): Rename to ...
4061 (write_gcore_file_1): ...this.
4062 (write_gcore_file): Call target_prepare_to_generate_core
4063 and target_done_generating_core.
4064
1d1f1ccb
MM
40652014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4066
4067 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
4068 * gcore.c (write_gcore_file): Free memory returned from
4069 make_corefile_notes.
4070 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
4071 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
4072
3343ef86
YQ
40732014-06-24 Yao Qi <yao@codesourcery.com>
4074
4075 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
4076 (arm_linux_init_abi): Set skip_trampoline_code with
4077 gdbarch_skip_trampoline_code instead of
4078 find_solib_trampoline_target.
4079
18d18ac8
YQ
40802014-06-24 Yao Qi <yao@codesourcery.com>
4081
4082 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
4083 arm_skip_bx_reg returns non-zero.
4084
80d8d390
YQ
40852014-06-24 Yao Qi <yao@codesourcery.com>
4086
4087 * arm-tdep.c (arm_skip_bx_reg): New function.
4088 (arm_skip_stub): Call arm_skip_bx_reg.
4089
6a18a01c
DB
40902014-06-23 Don Breazeal <donb@codesourcery.com>
4091
4092 * MAINTAINERS: Add myself as write-after-approval maintainer.
4093
8e9db26e
PA
40942014-06-23 Pedro Alves <palves@redhat.com>
4095
4096 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
4097 DR_CONTROL before setting DR0..DR3.
4098 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
4099 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
4100 bits of DR_CONTROL related to the debug register slot being
4101 disabled. If all slots are vacant, clear local slowdown as well,
4102 and assert DR_CONTROL is 0.
4103
70afc5b7
SC
41042014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4105
4106 * python/lib/gdb/command/xmethods.py
4107 (get_method_matchers_in_loci): Lookup xmethod matchers in the
4108 current progspace only if the string "progspace" matches LOCUS_RE.
4109
840ed64d
JK
41102014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4111
4112 Fix --with-system-readline with readline-6.3 patch 5.
4113 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
4114 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
4115 types.
4116
26f2dc30
TT
41172014-06-20 Tom Tromey <tromey@redhat.com>
4118
4119 * dwarf2read.c (dw2_get_real_path): Use correct type in
4120 OBSTACK_CALLOC.
4121 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
4122
125f8a3d
GB
41232014-06-20 Gary Benson <gbenson@redhat.com>
4124
4125 * common/gdb_thread_db.h: Moved to nat. All includes updated.
4126 * common/glibc_thread_db.h: Likewise.
4127 * common/i386-cpuid.h: Likewise.
4128 * common/i386-gcc-cpuid.h: Likewise.
4129 * common/linux-btrace.h: Likewise.
4130 * common/linux-osdata.h: Likewise.
4131 * common/linux-procfs.h: Likewise.
4132 * common/linux-ptrace.h: Likewise.
4133 * common/mips-linux-watch.h: Likewise.
4134 * common/linux-btrace.c: Moved to nat.
4135 * common/linux-osdata.c: Likewise.
4136 * common/linux-procfs.c: Likewise.
4137 * common/linux-ptrace.c: Likewise.
4138 * common/mips-linux-watch.c: Likewise.
4139 * nat/gdb_thread_db.h: Moved from common.
4140 * nat/glibc_thread_db.h: Likewise.
4141 * nat/i386-cpuid.h: Likewise.
4142 * nat/i386-gcc-cpuid.h: Likewise.
4143 * nat/linux-btrace.c: Likewise.
4144 * nat/linux-btrace.h: Likewise.
4145 * nat/linux-osdata.c: Likewise.
4146 * nat/linux-osdata.h: Likewise.
4147 * nat/linux-procfs.c: Likewise.
4148 * nat/linux-procfs.h: Likewise.
4149 * nat/linux-ptrace.c: Likewise.
4150 * nat/linux-ptrace.h: Likewise.
4151 * nat/mips-linux-watch.c: Likewise.
4152 * nat/mips-linux-watch.h: Likewise.
4153 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
4154 (object file files): Reordered.
4155 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
4156 of glibc_thread_db.h.
4157
42995dbd
GB
41582014-06-20 Gary Benson <gbenson@redhat.com>
4159
4160 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
4161 (i386_dr_low_type): Moved to nat/i386-dregs.h.
4162 (i386_dr_low): Likewise.
4163 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
4164 (i386_dr_low_set_addr): Likewise.
4165 (i386_dr_low_get_addr): Likewise.
4166 (i386_dr_low_can_set_control): Likewise.
4167 (i386_dr_low_set_control): Likewise.
4168 (i386_dr_low_get_control): Likewise.
4169 (i386_dr_low_get_status): Likewise.
4170 (i386_get_debug_register_length): Likewise.
4171 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
4172 (i386_dr_low): Likewise.
4173 * nat/i386-dregs.c (i386-low.h): Remove include.
4174 (i386-nat.h): Likewise.
4175 (nat/i386-dregs.h): New include.
4176 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
4177 (i386_dr_low_set_addr): Likewise.
4178 (i386_dr_low_get_addr): Likewise.
4179 (i386_dr_low_can_set_control): Likewise.
4180 (i386_dr_low_set_control): Likewise.
4181 (i386_dr_low_get_control): Likewise.
4182 (i386_dr_low_get_status): Likewise.
4183 (i386_get_debug_register_length): Likewise.
4184 (debug_hw_points): Likewise.
4185
3ed9baed
IB
41862014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4187
4188 * Makefile.in (SFILES): Add d-exp.y.
4189 (YYFILES): Add d-exp.c.
4190 (YYOBJ): Add d-exp.o.
4191 (local-maintainer-clean): Delete d-exp.c.
4192 * d-exp.y: New file.
4193 * d-lang.h (d_parse): New declaration.
4194 (d_error): New declaration.
4195 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
4196 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
4197 PREC_ORDER operators.
4198 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
4199
78c164b0
YQ
42002014-06-19 Yao Qi <yao@codesourcery.com>
4201
4202 * gdbthread.h (any_running): Remove the declaration.
4203 * thread.c (any_running): Remove.
4204
f6e29b6e
YQ
42052014-06-19 Yao Qi <yao@codesourcery.com>
4206
4207 * gdbthread.h (struct thread_info) <state>: Change its type to
4208 'enum thread_state'. Update comments.
4209
034f788c
PA
42102014-06-19 Pedro Alves <palves@redhat.com>
4211
4212 * gdbthread.h (ALL_THREADS): Delete.
4213 (ALL_NON_EXITED_THREADS): New macro.
4214 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
4215 instead of ALL_THREADS.
4216 * infrun.c (find_thread_needs_step_over)
4217 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
4218 instead of ALL_THREADS.
4219 * record-btrace.c (record_btrace_open)
4220 (record_btrace_stop_recording, record_btrace_close)
4221 (record_btrace_is_replaying, record_btrace_resume)
4222 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
4223 * remote.c (append_pending_thread_resumptions): Likewise.
4224 * thread.c (thread_apply_all_command): Likewise.
4225
46e33252
GB
42262014-06-19 Gary Benson <gbenson@redhat.com>
4227
4228 * i386-nat.c (i386_stopped_by_watchpoint):
4229 Use i386_dr_stopped_by_watchpoint.
4230 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
4231 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
4232
3a8ee006
GB
42332014-06-19 Gary Benson <gbenson@redhat.com>
4234
4235 * nat/i386-dregs.c: New file.
4236 * Makefile.in (i386-dregs.o): New rule.
4237 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
4238 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
4239 * config/i386/darwin.mh (NATDEPFILES): Likewise.
4240 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
4241 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
4242 * config/i386/go32.mh (NATDEPFILES): Likewise.
4243 * config/i386/linux.mh (NATDEPFILES): Likewise.
4244 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4245 * config/i386/mingw.mh (NATDEPFILES): Likewise.
4246 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
4247 * i386-nat.h (debug_hw_points): New declaration.
4248 * i386-nat.c (breakpoint.h): Remove include.
4249 (command.h): Likewise.
4250 (target.h): Likewise.
4251 (gdb_assert.h): Likewise.
4252 (debug_hw_points): Made nonstatic.
4253 (debug_printf): Now in i386-dregs.c.
4254 (TARGET_HAS_DR_LEN_8): Likewise.
4255 (DR_CONTROL_SHIFT): Likewise.
4256 (DR_CONTROL_SIZE): Likewise.
4257 (DR_RW_EXECUTE): Likewise.
4258 (DR_RW_WRITE): Likewise.
4259 (DR_RW_READ): Likewise.
4260 (DR_RW_IORW): Likewise.
4261 (DR_LEN_1): Likewise.
4262 (DR_LEN_2): Likewise.
4263 (DR_LEN_4): Likewise.
4264 (DR_LEN_8): Likewise.
4265 (DR_LOCAL_ENABLE_SHIFT): Likewise.
4266 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
4267 (DR_ENABLE_SIZE): Likewise.
4268 (DR_LOCAL_SLOWDOWN): Likewise.
4269 (DR_GLOBAL_SLOWDOWN): Likewise.
4270 (DR_CONTROL_RESERVED): Likewise.
4271 (I386_DR_CONTROL_MASK): Likewise.
4272 (I386_DR_VACANT): Likewise.
4273 (I386_DR_LOCAL_ENABLE): Likewise.
4274 (I386_DR_GLOBAL_ENABLE): Likewise.
4275 (I386_DR_DISABLE): Likewise.
4276 (I386_DR_SET_RW_LEN): Likewise.
4277 (I386_DR_GET_RW_LEN): Likewise.
4278 (I386_DR_WATCH_HIT): Likewise.
4279 (i386_wp_op_t): Likewise.
4280 (i386_show_dr): Likewise.
4281 (i386_length_and_rw_bits): Likewise.
4282 (i386_insert_aligned_watchpoint): Likewise.
4283 (i386_remove_aligned_watchpoint): Likewise.
4284 (i386_handle_nonaligned_watchpoint): Likewise.
4285 (i386_update_inferior_debug_regs): Likewise.
4286 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
4287 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
4288 (i386_region_ok_for_watchpoint):
4289 Use i386_dr_region_ok_for_watchpoint.
4290 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
4291
322a8e06
GB
42922014-06-19 Gary Benson <gbenson@redhat.com>
4293
4294 * i386-nat.c (i386_insert_hw_breakpoint): Use
4295 i386_insert_watchpoint.
4296 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
4297
8f26655c
GB
42982014-06-19 Gary Benson <gbenson@redhat.com>
4299
4300 * i386-nat.c (i386_dr_show): Renamed to
4301 i386_show_dr and made static. All uses updated.
4302 (i386_dr_length_and_rw_bits): Renamed to
4303 i386_length_and_rw_bits and made static.
4304 All uses updated.
4305 (i386_dr_insert_aligned_watchpoint): Renamed to
4306 i386_insert_aligned_watchpoint and made static.
4307 All uses updated.
4308 (i386_dr_remove_aligned_watchpoint): Renamed to
4309 i386_remove_aligned_watchpoint and made static.
4310 All uses updated.
4311 (i386_dr_update_inferior_debug_regs): Renamed to
4312 i386_update_inferior_debug_regs and made static.
4313 All uses updated.
4314 * nat/i386-dregs.h (i386_dr_show): Removed.
4315 (i386_dr_length_and_rw_bits): Likewise.
4316 (i386_dr_insert_aligned_watchpoint): Likewise.
4317 (i386_dr_remove_aligned_watchpoint): Likewise.
4318 (i386_dr_update_inferior_debug_regs): Likewise.
4319
992c7d70
GB
43202014-06-19 Gary Benson <gbenson@redhat.com>
4321
4322 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
4323 * configure: Regenerate.
4324 * config.in: Likewise.
4325 * main.c (signal.h): New include.
4326 (setup_alternate_signal_stack): New function.
4327 (captured_main): Call the above.
4328 * cp-support.c (signal.h): New include.
4329 (catch_demangler_crashes): New flag.
4330 (SIGJMP_BUF): New define.
4331 (SIGSETJMP): Likewise.
4332 (SIGLONGJMP): Likewise.
4333 (gdb_demangle_jmp_buf): New static global.
4334 (gdb_demangle_attempt_core_dump): Likewise.
4335 (gdb_demangle_signal_handler): New function.
4336 (gdb_demangle): If catch_demangler_crashes is set, install the
4337 above signal handler before calling bfd_demangle, and restore
4338 the original signal handler afterwards. Display the offending
4339 symbol and call demangler_warning the first time a segmentation
4340 fault is caught.
4341 (_initialize_cp_support): New maint set/show command.
4342
eae7090b
GB
43432014-06-19 Gary Benson <gbenson@redhat.com>
4344
4345 * utils.h (resource_limit_kind): New enum.
4346 (can_dump_core): New declaration.
4347 (warn_cant_dump_core): Likewise.
4348 (dump_core): Likewise.
4349 * utils.c (dump_core): Made nonstatic. Added new
4350 parameter "limit_kind".
4351 (can_dump_core): Made nonstatic. Moved printing code to...
4352 (warn_cant_dump_core): New function.
4353 (can_dump_core_warn): Likewise.
4354 (internal_vproblem): Replace calls to can_dump_core with
4355 calls to can_dump_core_warn. Supply new argument to each.
4356
57fcfb1b
GB
43572014-06-19 Gary Benson <gbenson@redhat.com>
4358
4359 * utils.h (demangler_vwarning): New declaration.
4360 (demangler_warning): Likewise.
4361 * utils.c (struct internal_problem)
4362 <user_settable_should_quit>: New field.
4363 <user_settable_should_dump_core>: Likewise
4364 (internal_error_problem): Add values for above new fields.
4365 (internal_warning_problem): Likewise.
4366 (demangler_warning_problem): New static global.
4367 (demangler_vwarning): New function.
4368 (demangler_warning): Likewise.
4369 (add_internal_problem_command): Selectively add commands.
4370 (_initialize_utils): New internal problem command.
4371 * maint.c (maintenance_demangler_warning): New function.
4372 (_initialize_maint_cmds): New command.
4373
17a40b44
TT
43742014-06-18 Tom Tromey <tromey@redhat.com>
4375
4376 * f-valprint.c (info_common_command_for_block): Update.
4377 * symtab.h (struct general_symbol_info) <common_block>: Now
4378 const.
4379
346d1dfe
TT
43802014-06-18 Tom Tromey <tromey@redhat.com>
4381
4382 * symtab.h (struct symtab) <blockvector>: Now const.
4383 * ada-lang.c (ada_add_global_exceptions): Update.
4384 * buildsym.c (augment_type_symtab): Update.
4385 * dwarf2read.c (dw2_lookup_symbol): Update.
4386 * jit.c (finalize_symtab): Update.
4387 * jv-lang.c (add_class_symtab_symbol): Update.
4388 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
4389 Update.
4390 * objfiles.c (objfile_relocate1): Update.
4391 * psymtab.c (lookup_symbol_aux_psymtabs)
4392 (maintenance_check_psymtabs): Update.
4393 * python/py-symtab.c (stpy_global_block, stpy_static_block):
4394 Update.
4395 * spu-tdep.c (spu_catch_start): Update.
4396 * symmisc.c (dump_symtab_1): Update.
4397 * symtab.c (lookup_global_symbol_from_objfile)
4398 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
4399 (basic_lookup_transparent_type_quick)
4400 (basic_lookup_transparent_type, find_pc_sect_symtab)
4401 (find_pc_sect_line, search_symbols): Update.
4402 * block.c (find_block_in_blockvector): Make "bl" const.
4403 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
4404 const.
4405 (blockvector_contains_pc): Make "bv" const.
4406 (block_for_pc_sect): Update.
4407 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
4408 (blockvector_contains_pc): Update.
4409 * breakpoint.c (resolve_sal_pc): Update.
4410 * inline-frame.c (block_starting_point_at): Update.
4411
1834676b
TT
44122014-06-18 Tom Tromey <tromey@redhat.com>
4413
4414 * completer.c (complete_line): Make "line_buffer" const.
4415 * completer.h (complete_line): Update.
4416
ac1a991b
TT
44172014-06-18 Tom Tromey <tromey@redhat.com>
4418
4419 * symtab.c (add_macro_name): Remove unneeded cast.
4420
5bc98e52
TT
44212014-06-18 Tom Tromey <tromey@redhat.com>
4422
4423 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
4424 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
4425
8236def8
TT
44262014-06-18 Tom Tromey <tromey@redhat.com>
4427
4428 * probe.c (info_probes_for_ops): Make "arg" const.
4429 * probe.h (info_probes_for_ops): Update.
4430
3977b71f
TT
44312014-06-18 Tom Tromey <tromey@redhat.com>
4432
4433 * varobj.c (varobj_create): Update.
4434 * valops.c (value_of_this): Update.
4435 * tracepoint.c (add_local_symbols, scope_info): Update.
4436 * symtab.h (struct general_symbol_info) <block>: Now const.
4437 * symtab.c (skip_prologue_sal)
4438 (default_make_symbol_completion_list_break_on)
4439 (skip_prologue_using_sal): Update.
4440 * stack.h (iterate_over_block_locals)
4441 (iterate_over_block_local_vars): Update.
4442 * stack.c (print_frame_args): Update.
4443 (iterate_over_block_locals, iterate_over_block_local_vars): Make
4444 parameter const.
4445 (get_selected_block): Make return type const.
4446 * python/py-frame.c (frapy_block): Update.
4447 * python/py-block.c (gdbpy_block_for_pc): Update.
4448 * p-exp.y (%union) <bval>: Now const.
4449 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
4450 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
4451 * m2-exp.y (%union) <bval>: Now const.
4452 * linespec.c (get_current_search_block): Make return type const.
4453 (create_sals_line_offset, find_label_symbols): Update.
4454 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
4455 Update.
4456 (block_starting_point_at): Make "block" const.
4457 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
4458 (check_exception_resume): Update.
4459 * guile/scm-frame.c (gdbscm_frame_block): Update.
4460 * guile/scm-block.c (gdbscm_lookup_block): Update.
4461 * frame.h (get_frame_block): Update.
4462 (get_selected_block): Make return type const.
4463 * frame.c (frame_id_inner): Update.
4464 * f-valprint.c (info_common_command_for_block)
4465 (info_common_command): Update.
4466 * dwarf2loc.c (dwarf2_find_location_expression)
4467 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
4468 (locexpr_describe_location_piece): Update.
4469 * c-exp.y (%union) <bval>: Now const.
4470 * breakpoint.c (resolve_sal_pc): Update.
4471 * blockframe.c (get_frame_block):Make return type const.
4472 (get_pc_function_start, get_frame_function, find_pc_sect_function)
4473 (block_innermost_frame): Update.
4474 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
4475 (block_for_pc, block_for_pc_sect): Update.
4476 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
4477 'pblock' const.
4478 (block_for_pc_sect, block_for_pc): Make return type const.
4479 * ax-gdb.c (gen_expr): Update.
4480 * alpha-mdebug-tdep.c (find_proc_desc): Update.
4481 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
4482 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
4483 (ada_read_var_value): Update.
4484 * ada-exp.y (struct name_info) <block>: Now const.
4485 (%union): Likewise.
4486 (block_lookup): Constify.
4487
b9228891
GB
44882014-06-18 Gary Benson <gbenson@redhat.com>
4489
4490 * nat/i386-dregs.h: New file.
4491 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
4492 * i386-nat.h (i386-dregs.h): New include.
4493 (DR_FIRSTADDR): Now in i386-dregs.h.
4494 (DR_LASTADDR): Likewise.
4495 (DR_NADDR): Likewise.
4496 (DR_STATUS): Likewise.
4497 (DR_CONTROL): Likewise.
4498 (i386_debug_reg_state): Likewise.
4499 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
4500
a1aa2221
LM
45012014-06-18 Don Breazeal <donb@codesourcery.com>
4502
4503 * breakpoint.c (set_longjmp_breakpoint): Call
4504 momentary_breakpoint_from_master with additional argument.
4505 (set_longjmp_breakpoint_for_call_dummy): Call
4506 momentary_breakpoint_from_master with additional argument.
4507 (set_std_terminate_breakpoint): Call
4508 momentary_breakpoint_from_master with additional argument.
4509 (momentary_breakpoint_from_master): Add argument to function
4510 definition and use it to initialize structure member flag.
74228e77 4511 (clone_momentary_breakpoint): Call
a1aa2221
LM
4512 momentary_breakpoint_from_master with additional argument.
4513 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
4514 member flags set in momentary_breakpoint_from_master.
4515
4be83cc2
GB
45162014-06-18 Gary Benson <gbenson@redhat.com>
4517
4518 * i386-nat.c (i386_show_dr): Renamed to
4519 i386_dr_show and made nonstatic. All uses updated.
4520 (i386_length_and_rw_bits): Renamed to
4521 i386_dr_length_and_rw_bits and made nonstatic.
4522 All uses updated.
4523 (i386_insert_aligned_watchpoint): Renamed to
4524 i386_dr_insert_aligned_watchpoint and made nonstatic.
4525 All uses updated.
4526 (i386_remove_aligned_watchpoint): Renamed to
4527 i386_dr_remove_aligned_watchpoint and made nonstatic.
4528 All uses updated.
4529 (i386_update_inferior_debug_regs): Renamed to
4530 i386_dr_update_inferior_debug_regs and made nonstatic.
4531 All uses updated.
4532
131aa0d4
GB
45332014-06-18 Gary Benson <gbenson@redhat.com>
4534
4535 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
4536 (i386_dr_low_can_set_control): Likewise.
4537 (i386_dr_low_set_addr): Likewise.
4538 (i386_dr_low_set_control): Likewise.
4539 (i386_dr_low_get_addr): Likewise.
4540 (i386_dr_low_get_status): Likewise.
4541 (i386_dr_low_get_control): Likewise.
4542 (i386_insert_aligned_watchpoint): Use new macros.
4543 (i386_update_inferior_debug_regs): Likewise.
4544 (i386_stopped_data_address): Likewise.
4545
d9305f7f
GB
45462014-06-18 Gary Benson <gbenson@redhat.com>
4547
4548 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
4549 New parameter. All uses updated.
4550
ea008da4
GB
45512014-06-18 Gary Benson <gbenson@redhat.com>
4552
4553 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
4554 All uses updated.
4555
1b6d4134
GB
45562014-06-18 Gary Benson <gbenson@redhat.com>
4557
4558 * i386-nat.c (debug_printf): New macro.
4559 (i386_get_debug_register_length): Likewise.
4560 (TARGET_HAS_DR_LEN_8): Use above macro.
4561 (i386_show_dr): Use debug_printf instead of puts_unfiltered
4562 and printf_unfiltered. Use phex to format values.
4563
9b4550ef
GB
45642014-06-18 Gary Benson <gbenson@redhat.com>
4565
4566 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
4567 Make const.
4568
6e62758f
GB
45692014-06-18 Gary Benson <gbenson@redhat.com>
4570
4571 * i386-nat.c: Comment changes.
4572
51c79e94
GB
45732014-06-18 Gary Benson <gbenson@redhat.com>
4574
4575 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
4576
3e11889a
GB
45772014-06-18 Gary Benson <gbenson@redhat.com>
4578
4579 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
4580 (i386_insert_aligned_watchpoint): Likewise.
4581 (i386_remove_aligned_watchpoint): Likewise.
4582 (i386_handle_nonaligned_watchpoint): Likewise.
4583
fc6e2f03
GB
45842014-06-18 Gary Benson <gbenson@redhat.com>
4585
4586 * i386-nat.c: Whitespace changes.
4587
2afe7d50
SB
45882014-06-17 Samuel Bronson <naesten@gmail.com>
4589
4590 * MAINTAINERS: Update Roland McGrath's email address.
4591 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 4592 Red Hat a while ago, and giving me a current address.
2afe7d50 4593
3bca49ee
TT
45942014-06-17 Tom Tromey <tromey@redhat.com>
4595
4596 * utils.h (savestring): Remove declaration.
4597
6e366df1
TT
45982014-06-17 Tom Tromey <tromey@redhat.com>
4599
4600 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
4601
6be47f0c
KS
46022014-06-16 Keith Seitz <keiths@redhat.com>
4603
4604 PR mi/15863
4605 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
4606 to update the varobj if inferior_ptid is null_ptid.
4607
7bc112c1
TT
46082014-06-16 Tom Tromey <tromey@redhat.com>
4609
4610 * target.h (struct target_ops) <to_info_proc>: Make parameter
4611 const.
4612 (target_info_proc): Update.
4613 * target.c (target_info_proc): Make "args" const.
4614 * procfs.c (procfs_info_proc): Update.
4615 * linux-tdep.c (linux_info_proc): Update.
4616 (linux_core_info_proc_mappings): Make "args" const.
4617 (linux_core_info_proc): Update.
4618 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
4619 * gdbarch.c: Rebuild.
4620 * gdbarch.h: Rebuild.
4621 * corelow.c (core_info_proc): Update.
4622
fee354ee
TT
46232014-06-16 Tom Tromey <tromey@redhat.com>
4624
4625 * target.h (struct target_ops) <to_disconnect>: Make parameter
4626 const.
4627 (target_disconnect): Update.
4628 * target.c (target_disconnect): Make "args" const.
4629 * target-delegates.c: Rebuild.
4630 * remote.c (remote_disconnect): Update.
4631 * record.h (record_disconnect): Update.
4632 * record.c (record_disconnect): Update.
4633 * inf-child.c (inf_child_disconnect): Update.
4634
a30bf1f1
TT
46352014-06-16 Tom Tromey <tromey@redhat.com>
4636
4637 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
4638 * target.c (debug_to_rcmd, default_rcmd): Update.
4639 * target-delegates.c: Rebuild.
4640 * remote.c (remote_rcmd): Update.
4641 * monitor.c (monitor_rcmd): Update.
4642
d03de421
PA
46432014-06-16 Pedro Alves <palves@redhat.com>
4644
4645 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
4646 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
4647 have OBJF_SHARED set.
4648 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
4649 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
4650 instead of OBJF_USERLOADED.
4651 * objfiles.h (OBJF_SHARED): Update comment.
4652 (userloaded_objfile_contains_address_p): Rename to ...
4653 (shared_objfile_contains_address_p): ... this, and update
4654 comments.
4655 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
4656 new objfile.
4657 (remove_symbol_file_command): Skip objfiles that don't have
4658 OBJF_SHARED set.
4659
99f4262f
TT
46602014-06-16 Tom Tromey <tromey@redhat.com>
4661
4662 * minsyms.h (prim_record_minimal_symbol)
4663 (prim_record_minimal_symbol_and_info): Update comments.
4664
97d66cc6
EZ
46652014-06-14 Eli Zaretskii <eliz@gnu.org>
4666
4667 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
4668 or --without-guile, according to how GDB was built.
4669
635c7e8a
TT
46702014-06-13 Tom Tromey <tromey@redhat.com>
4671
4672 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
4673 to help_list.
4674 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
4675 to help_list.
4676 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
4677 help_list.
4678 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
4679 help_list.Pass all_commands, not -1, to help_list.
4680 * cli/cli-dump.c (dump_command, append_command)
4681 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
4682 (binary_dump_command, binary_append_command): Pass all_commands,
4683 not -1, to help_list.
4684 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
4685 -1, to help_list.
4686 * valprint.c (set_print, set_print_raw): Pass all_commands, not
4687 -1, to help_list.
4688 * typeprint.c (set_print_type): Pass all_commands, not -1, to
4689 help_list.
4690 * top.c (set_history): Pass all_commands, not -1, to help_list.
4691 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
4692 all_commands, not -1, to help_list.
4693 * symfile.c (overlay_command): Pass all_commands, not -1, to
4694 help_list.
4695 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
4696 help_list.
4697 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
4698 help_list.
4699 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
4700 -1, to help_list.
4701 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
4702 not -1, to help_list.
4703 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
4704 not -1, to help_list.
4705 * maint.c (maintenance_command, maintenance_info_command)
4706 (maintenance_print_command, maintenance_set_cmd): Pass
4707 all_commands, not -1, to help_list.
4708 * macrocmd.c (macro_command): Pass all_commands, not -1, to
4709 help_list.
4710 * language.c (set_check): Pass all_commands, not -1, to help_list.
4711 * infcmd.c (unset_command): Pass all_commands, not -1, to
4712 help_list.
4713 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
4714 help_list.
4715 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
4716 help_list.
4717 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
4718 help_list.
4719 * breakpoint.c (save_command): Pass all_commands, not -1, to
4720 help_list.
4721 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
4722 all_commands, not -1, to help_list.
4723
b94ade42
PL
47242014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
4725
4726 * regcache.c (struct register_to_invalidate): New structure.
4727 (do_register_invalidate, make_cleanup_regcache_invalidate): New
4728 functions.
4729 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
4730
31f628ae
YQ
47312014-06-12 Yao Qi <yao@codesourcery.com>
4732
4733 * varobj.c (varobj_get_num_children): Call
4734 varobj_is_dynamic_p.
4735 (varobj_list_children): Likewise.
4736 (varobj_update): Likewise. Update comments.
4737
cde5ef40
YQ
47382014-06-12 Yao Qi <yao@codesourcery.com>
4739
4740 * varobj.c (varobj_pretty_printed_p): Rename to ...
4741 (varobj_is_dynamic_p): ... this. New function.
4742 * varobj.h (varobj_pretty_printed_p): Remove declaration.
4743 (varobj_is_dynamic_p): Declare.
4744 * mi/mi-cmd-var.c (print_varobj): All callers updated.
4745 (mi_print_value_p, varobj_update_one): Likewise.
4746
576ea091
YQ
47472014-06-12 Pedro Alves <pedro@codesourcery.com>
4748 Yao Qi <yao@codesourcery.com>
4749
4750 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
4751 (varobj_get_iterator): Wrap up code for pretty-printer by
4752 "#if HAVE_PYTHON" and "#endif".
4753 (update_dynamic_varobj_children): Likewise.
4754
827f100c
YQ
47552014-06-12 Pedro Alves <pedro@codesourcery.com>
4756 Yao Qi <yao@codesourcery.com>
4757
4758 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
4759 gdb_python_initialized is false. Move some code from varobj.c.
4760 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
4761 * varobj.c: Move "varobj-iter.h" inclusion earlier.
4762 (struct varobj_item): Moved to varobj-iter.h".
4763 (varobj_clear_saved_item): New function.
4764 (update_dynamic_varobj_children): Move python-related code to
4765 py-varobj.c.
4766 (free_variable): Call varobj_clear_saved_item and
4767 varobj_iter_delete.
4768
e5250216
YQ
47692014-06-12 Pedro Alves <pedro@codesourcery.com>
4770 Yao Qi <yao@codesourcery.com>
4771
4772 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
4773 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
4774 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
4775 (py-varobj.o): New rule.
4776 * python/py-varobj.c: New file.
4777 * python/python-internal.h (py_varobj_get_iterator): Declare.
4778 * varobj-iter.h: New file.
4779 * varobj.c: Include "varobj-iter.h"
4780 (struct varobj) <child_iter>: Change its type from "PyObject *"
4781 to "struct varobj_iter *".
4782 <saved_item>: Likewise.
4783 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
4784 [HAVE_PYTHON] (varobj_get_iterator): New function.
4785 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
4786 python-specific code to python/py-varobj.c.
4787 (install_visualizer): Call varobj_iter_delete instead of
4788 Py_XDECREF.
4789 * varobj.h (varobj_ensure_python_env): Declare.
4790
5a2e0d6e
YQ
47912014-06-12 Yao Qi <yao@codesourcery.com>
4792
4793 * varobj.c (struct varobj_item): New structure.
4794 (create_child_with_value): Update declaration.
4795 (varobj_add_child): Replace arguments 'name' and 'value' with
4796 'item'. All callers updated.
4797 (install_dynamic_child): Likewise.
4798 (update_dynamic_varobj_children): Likewise.
4799 (varobj_add_child): Likewise.
4800 (create_child_with_value): Likewise.
4801
919b9a93
JB
48022014-06-11 Joel Brobecker <brobecker@adacore.com>
4803
4804 * NEWS: Create a new section for the next release branch.
4805 Rename the section of the current branch, now that it has
4806 been cut.
4807
71a55bdf
JB
48082014-06-11 Joel Brobecker <brobecker@adacore.com>
4809
4810 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
4811 * version.in: Bump version to 7.8.50.DATE-cvs.
4812
364fe1f7
PA
48132014-06-11 Pedro Alves <palves@redhat.com>
4814
4815 PR remote/17028
4816 * ser-mingw.c (net_windows_socket_check_pending): New function.
4817 (net_windows_select_thread): Ignore spurious wakeups. Use
4818 net_windows_socket_check_pending.
4819 (net_windows_wait_handle): Check for pending events with
4820 ioctlsocket, through net_windows_socket_check_pending, instead of
4821 checking the socket's event.
4822
5a6c7709
SC
48232014-06-10 Siva Chandra Reddy <sivachandra@google.com>
4824
4825 * python/python-internal.h (gdb_PyObject_GetAttrString)
4826 (gdb_PyObject_HasAttrString): New inline function definitions.
4827 * py-value.c (get_field_flag): Remove the now unnecessary cast to
4828 char * of the second argument to PyObject_GetAttrString.
74228e77 4829
0e58ee40
JB
48302014-06-10 Joel Brobecker <brobecker@adacore.com>
4831
4832 * serial.c (serial_write): Fix index of character to be printed
4833 in call to serial_logchar when serial debug traces are enabled.
4834
d190df30
JB
48352014-06-10 Joel Brobecker <brobecker@adacore.com>
4836
4837 * gdbtypes (resolve_dynamic_range): Add function description.
4838
b4b01d36
PA
48392014-06-09 Pedro Alves <palves@redhat.com>
4840
4841 * linux-nat.c (linux_child_follow_fork): Initialize status with
4842 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
4843 inner block. Only pass the signal to PTRACE_DETACH if in pass
4844 state.
4845
3657956b
GB
48462014-06-09 Gary Benson <gbenson@redhat.com>
4847
4848 * common/signals.c (gdb_signal_from_host): Reorder to separate
4849 the always-available ANSI-standard signals from the signals that
4850 require checking.
4851 (do_gdb_signal_to_host): Likewise.
4852 * proc-events.c (signal_table): Likewise.
4853
c077881a
HZ
48542014-06-08 Hui Zhu <hui@codesourcery.com>
4855
4856 * common/linux-ptrace.c (linux_disable_event_reporting): New
4857 function.
4858 * common/linux-ptrace.h (linux_disable_event_reporting): New
4859 declaration.
4860 * linux-nat.c (linux_child_follow_fork): Do a single step before
4861 detach.
4862
4186eb54
KS
48632014-06-07 Keith Seitz <keiths@redhat.com>
4864
4865 Revert:
4866 PR c++/16253
4867 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4868 from symbol_matches_domain in symtab.c. All local callers
4869 of symbol_matches_domain updated.
4870 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4871 search STRUCT_DOMAIN.
4872 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4873 independently. standard_lookup will do that automatically.
4874 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4875 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4876 (cp_lookup_symbol_in_namespace): Likewise.
4877 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4878 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4879 may return a STRUCT_DOMAIN match.
4880 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4881 * cp-support.c: Include language.h.
4882 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4883 VAR_DOMAIN.
4884 * psymtab.c (match_partial_symbol): Compare the requested
4885 domain with the symbol's domain directly.
4886 (lookup_partial_symbol): Likewise.
4887 * symtab.c (lookup_symbol_in_language): Explain when/why
4888 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4889 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4890 appropriate languages.
4891 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4892 and moved to ada-lang.c
4893 (lookup_block_symbol): Explain that this function only returns
4894 symbol matching the requested DOMAIN.
4895 Compare the requested domain with the symbol's domain directly.
4896 (iterate_over_symbols): Compare the requested domain with the
4897 symbol's domain directly.
4898 * symtab.h (symbol_matches_domain): Remove.
4899
25326a28 49002014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
4901
4902 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
4903 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
4904 (gdbscm_guile_version_is_at_least): Declare.
4905 (gdbscm_scm_string_to_int): Declare.
4906 * guile/guile.c (gdbscm_guile_major_version): New global.
4907 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
4908 (guile_datadir): New static global.
4909 (gdbscm_guile_data_directory): New function.
4910 (initialize_scheme_side): Update.
4911 (misc_guile_functions): Add guile-data-directory.
4912 (initialize_gdb_module): Fetch guile version number.
4913 * guile/lib/gdb.scm: Remove call to add-to-load-path.
4914 * guile/lib/gdb/init.scm (%initialize!): Ditto.
4915 * guile/lib/gdb/boot.scm: Use guile-data-directory.
4916 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
4917 comments.
4918 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
4919 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
4920 * guile/scm-value.c (gdbscm_value_to_string): Only call
4921 scm_port_conversion_strategy if Guile version >= 2.0.6.
4922
0a770bb2 49232014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
4924
4925 * main.c (print_gdb_help): Add -q and --silent.
4926
73ba372c
GB
49272014-06-06 Gary Benson <gbenson@redhat.com>
4928
4929 * common/signals.c: Remove preprocessor conditionals for
4930 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
4931 SIGSEGV and SIGTERM.
4932 * proc-events.c: Likewise.
4933
c33b2f12
MM
49342014-06-06 Markus Metzger <markus.t.metzger@intel.com>
4935
4936 * symfile.c (symfile_free_objfile): Remove restriction to
4937 OBJF_USERLOADED.
4938 * symfile-mem.c (symbol_file_add_from_memory): Call
4939 add_target_sections_of_objfile.
4940
fb934770
LC
49412014-06-05 Ludovic Courtès <ludo@gnu.org>
4942
4943 * guile/scm-value.c (gdbscm_history_append_x): Use
4944 'vlscm_get_value_smob_arg_unsafe' instead of
4945 'vlscm_scm_to_value'.
4946
6ef284bd
SM
49472014-06-05 Simon Marchi <simon.marchi@ericsson.com>
4948
4949 PR mi/15806
4950 * utils.c (printchar): Don't escape at all if quoter is NUL.
4951 Update function documentation to clarify effect of parameter
4952 QUOTER.
4953 * remote.c (escape_buffer): Pass '\\' as the quoter to
4954 fputstrn_unfiltered.
4955 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
4956 generate the output.
4957 (mi_solib_unloaded): Same.
4958
270c9937
JB
49592014-06-05 Joel Brobecker <brobecker@adacore.com>
4960
4961 * development.sh: Delete.
4962 * Makefile.in (config.status): Adjust dependency on development.sh.
4963 * configure.ac: Adjust development.sh source call.
4964 * configure: Regenerate.
4965
16f691fb
DE
49662014-06-04 Doug Evans <xdje42@gmail.com>
4967
4968 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
4969 is_scheme_bkpt, spec.
4970 (bpscm_make_breakpoint_smob): Initialize new members.
4971 (gdbscm_create_breakpoint_x): Split into two ...
4972 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
4973 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
4974 (scheme_function breakpoint_functions): Update.
4975 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
4976 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
4977 register-breakpoint!.
4978
ef7cab6b
JB
49792014-06-04 Joel Brobecker <brobecker@adacorer.com>
4980
4981 PR server/17023
4982 * mem-break.c (z_type_supported): Return zero if
4983 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
4984
012370f6
TT
49852014-06-04 Tom Tromey <tromey@redhat.com>
4986
4987 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
4988 value_from_contents_and_address_unresolved.
4989 (ada_template_to_fixed_record_type_1): Likewise.
4990 (ada_which_variant_applies): Likewise.
4991 * value.h (value_from_contents_and_address_unresolved): Declare.
4992 * value.c (value_from_contents_and_address_unresolved): New
4993 function.
4994 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
4995 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
4996 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
4997
92e2a17f
TT
49982014-06-04 Tom Tromey <tromey@redhat.com>
4999
5000 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
5001
c0939df1
TT
50022014-06-04 Tom Tromey <tromey@redhat.com>
5003
5004 * procfs.c (procfs_attach): Make "args" const.
5005 * windows-nat.c (windows_attach): Make "args" const.
5006 * nto-procfs.c (procfs_attach): Make "args" const.
5007 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
5008 * go32-nat.c (go32_attach): Make "args" const.
5009 * gnu-nat.c (gnu_attach): Make "args" const.
5010 * darwin-nat.c (darwin_attach): Make "args" const.
5011 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
5012 * linux-nat.c (linux_nat_attach): Make "args" const.
5013 * remote.c (extended_remote_attach_1, extended_remote_attach):
5014 Make "args" const.
5015 * target.h (struct target_ops) <to_attach>: Make "args" const.
5016 (find_default_attach): Likewise.
5017 * utils.c (parse_pid_to_attach): Make "args" const.
5018 * utils.h (parse_pid_to_attach): Update.
5019
8eaff7cd
TT
50202014-06-04 Tom Tromey <tromey@redhat.com>
5021
5022 * target-delegates.c: Rebuild.
5023 * target.c (default_thread_address_space): New function.
5024 (target_thread_address_space): Simplify.
5025 * target.h (struct target_ops) <to_thread_address_space>: Add
5026 TARGET_DEFAULT_FUNC.
5027
1913f160
DE
50282014-06-04 Doug Evans <xdje42@gmail.com>
5029
5030 * guile/scm-type.c (type_smob): Remove duplicate typedef.
5031
70ad5bff
MM
50322014-06-04 Markus Metzger <markus.t.metzger@intel.com>
5033
5034 * record-btrace.c: Include event-loop.h and inf-loop.h.
5035 (record_btrace_resume_exec_dir)
5036 (record_btrace_async_inferior_event_handler)
5037 (record_btrace_handle_async_inferior_event): New.
5038 (record_btrace_open): Create async event handler.
5039 (record_btrace_close): Delete async event handler.
5040 (record_btrace_resume): Set record_btrace_resume_exec_dir,
5041 Mark async event handler.
5042 (record_btrace_execution_direction): New.
5043 (init_record_btrace_ops): Initialize to_execution_direction.
5044
b6210538
DE
50452014-06-03 Doug Evans <xdje42@gmail.com>
5046
5047 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
5048 (gdbscm_make_parameter): Ditto.
5049
a5b1fd27
DE
50502014-06-03 Doug Evans <dje@google.com>
5051
5052 * exec.c (exec_close_1): Call clear_section_table instead of
5053 resize_section_table.
5054 (clear_section_table): New function.
5055 (resize_section_table): Make static. Rename arg num_added to
5056 adjustment.
5057 * exec.h (clear_section_table): Declare.
5058 (resize_section_table): Delete.
5059 * progspace.c (release_program_space): Call clear_section_table
5060 instead of resize_section_table.
5061
0c6e92a5
SC
50622014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5063
5064 * NEWS (Python Scripting): Add entry about the new xmethods
5065 feature.
5066
883964a7
SC
50672014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5068
5069 * python/py-xmethods.c: New file.
5070 * python/py-objfile.c (objfile_object): New field 'xmethods'.
5071 (objfpy_dealloc): XDECREF on the new xmethods field.
5072 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
5073 field.
5074 (objfpy_get_xmethods): New function.
5075 (objfile_getset): New entry 'xmethods'.
5076 * python/py-progspace.c (pspace_object): New field 'xmethods'.
5077 (pspy_dealloc): XDECREF on the new xmethods field.
5078 (pspy_new, pspace_to_pspace_object): Initialize xmethods
5079 field.
5080 (pspy_get_xmethods): New function.
5081 (pspace_getset): New entry 'xmethods'.
5082 * python/python-internal.h: Add declarations for new functions.
5083 * python/python.c (_initialize_python): Invoke
5084 gdbpy_initialize_xmethods.
5085 * python/lib/gdb/__init__.py (xmethods): New
5086 attribute.
5087 * python/lib/gdb/xmethod.py: New file.
5088 * python/lib/gdb/command/xmethods.py: New file.
5089
58992dc5
SC
50902014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5091
5092 * eval.c (evaluate_subexp_standard): Call the xmethod if the
5093 best match method returned by find_overload_match is an xmethod.
5094 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
5095 the best matching operator returned by find_overload_match is an
5096 xmethod.
5097 * valops.c: #include "extension.h".
5098 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
5099 Return void. The list of matching source methods is returned in
5100 "fn_list" and a vector of matching debug method workers is
5101 returned in "xm_worker_vec". Update all callers.
5102 (value_find_oload_method_list): Likewise.
5103 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
5104 non-NULL, then the index of the best matching method in this
5105 vector is returned. Update all callers.
5106 (find_overload_match): Include xmethods while performing overload
5107 resolution.
5108
e81e7f5e
SC
51092014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5110
5111 * defs.h (enum lval_type): New enumerator "lval_xcallable".
5112 * extension-priv.h (struct extension_language_ops): Add the
5113 xmethod interface.
5114 * extension.c (new_xmethod_worker, clone_xmethod_worker,
5115 get_matching_xmethod_workers, get_xmethod_argtypes,
5116 invoke_xmethod, free_xmethod_worker,
5117 free_xmethod_worker_vec): New functions.
5118 * extension.h: #include "common/vec.h".
5119 New function declarations.
5120 (struct xmethod_worker): New struct.
5121 (VEC (xmethod_worker_ptr)): New vector type.
5122 (xmethod_worker_ptr): New typedef.
5123 (xmethod_worker_vec): Likewise.
5124 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
5125 builtin_type.
5126 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
5127 (struct builtin_type): New field "xmethod".
5128 * valarith.c (value_ptradd): Assert that the value argument is not
5129 lval_xcallable.
5130 * valops.c (value_must_coerce_to_target): Return 0 for
5131 lval_xcallable values.
5132 * value.c (struct value): New field XM_WORKER in the field
5133 LOCATION.
5134 (value_address, value_raw_address): Return 0 for lval_xcallable
5135 values.
5136 (set_value_address): Assert that the value is not an
5137 lval_xcallable.
5138 (value_free): Free the associated xmethod worker when freeing
5139 lval_xcallable values.
5140 (set_value_component_location): Assert that the WHOLE value is not
5141 lval_xcallable.
5142 (value_of_xmethod, call_xmethod): New functions.
5143 * value.h: Declare "struct xmethod_worker".
5144 Declare new functions value_of_xmethod, call_xmethod.
5145
ef370185
JB
51462014-06-03 Joel Brobecker <brobecker@adacore.com>
5147 Pedro Alves <palves@redhat.com>
5148
5149 PR breakpoints/17000
5150 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
5151 New function, extracted from software_breakpoint_inserted_here_p.
5152 (software_breakpoint_inserted_here_p): Replace factored out code
5153 by call to find_non_raw_software_breakpoint_inserted_here.
5154 (bp_target_info_copy_insertion_state): New function.
5155 (bkpt_insert_location): Handle the case of a single-step
5156 breakpoint already inserted at the same address.
5157 (bkpt_remove_location): Handle the case of a single-step
5158 breakpoint still inserted at the same address.
5159 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
5160 breakpoint already inserted at the same address.
5161 (deprecated_remove_raw_breakpoint): Handle the case of a
5162 non-raw breakpoint still inserted at the same address.
5163 (find_single_step_breakpoint): New function, extracted from
5164 single_step_breakpoint_inserted_here_p.
5165 (find_single_step_breakpoint): New function,
5166 factored out from single_step_breakpoint_inserted_here_p.
5167 (single_step_breakpoint_inserted_here_p): Reimplement.
5168
1e2ccb61
BM
51692014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5170
5171 Pushed by Joel Brobecker <brobecker@adacore.com>
5172 * source.c (show_substitute_path_command): Fix display of matching
5173 substitution rules.
5174
d3448d85
GB
51752014-06-03 Gary Benson <gbenson@redhat.com>
5176
5177 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
5178
06eb1586
DE
51792014-06-02 Doug Evans <xdje42@gmail.com>
5180
5181 Add parameter support for Guile.
5182 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
5183 (SUBDIR_GUILE_SRCS): Add scm-param.c.
5184 (scm-param.o): New rule.
5185 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
5186 (gdbscm_misc_error): Declare.
5187 (gdbscm_canonicalize_command_name): Declare.
5188 (gdbscm_scm_to_host_string): Declare.
5189 (gdbscm_scm_from_host_string): Declare.
5190 (gdbscm_initialize_parameters): Declare.
5191 * guile/guile.c (initialize_gdb_module): Call
5192 gdbscm_initialize_parameters.
5193 * guile/lib/gdb.scm: Export parameter symbols.
5194 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
5195 cmdscm_canonicalize_name and made public. All callers updated.
5196 * guile/scm-exception.c (gdbscm_misc_error): New function.
5197 * guile/scm-param.c: New file.
5198 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
5199 (gdbscm_scm_to_host_string): New function.
5200 (gdbscm_scm_from_host_string): New function.
5201 * scm-utils.c (gdbscm_gc_dup_argv): New function.
5202
e698b8c4
DE
52032014-06-02 Doug Evans <xdje42@gmail.com>
5204
5205 Add command support for Guile.
5206 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
5207 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
5208 (scm-cmd.o): New rule.
5209 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
5210 (gdbscm_user_error_p): Declare.
5211 (gdbscm_parse_command_name): Declare.
5212 (gdbscm_valid_command_class_p): Declare.
5213 (gdbscm_initialize_commands): Declare.
5214 * guile/guile.c (initialize_gdb_module): Call
5215 gdbscm_initialize_commands.
5216 * guile/lib/gdb.scm: Export command symbols.
5217 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
5218 (throw-user-error): New function.
5219 * guile/scm-cmd.c: New file.
5220 * guile/scm-exception.c (user_error_symbol): New static global.
5221 (gdbscm_user_error_p): New function.
5222 (gdbscm_initialize_exceptions): Set user_error_symbol.
5223 * scm-utils.c (gdbscm_gc_xstrdup): New function.
5224
fb1f94b0
PM
52252014-06-02 Phil Muldoon <pmuldoon@redhat.com>
5226
5227 * top.c (command_loop): Handle comments here...
5228 (command_line_input): ... not here.
5229
ded03782
DE
52302014-06-02 Doug Evans <xdje42@gmail.com>
5231
5232 Add progspace support for Guile.
5233 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
5234 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
5235 (scm-progspace.o): New rule.
5236 * guile/guile-internal.h (pspace_smob): New typedef.
5237 (psscm_pspace_smob_pretty_printers): Declare.
5238 (psscm_pspace_smob_from_pspace): Declare.
5239 (psscm_scm_from_pspace): Declare.
5240 * guile/guile.c (initialize_gdb_module): Call
5241 gdbscm_initialize_pspaces.
5242 * guile/lib/gdb.scm: Export progspace symbols.
5243 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
5244 support.
5245 (append-pretty-printer!): Ditto.
5246 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
5247 Implement.
5248 * guile/scm-progspace.c: New file.
5249
397998fc
AM
52502014-06-03 Alan Modra <amodra@gmail.com>
5251
5252 * ppc64-tdep.c (ppc64_standard_linkage8): New.
5253 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
5254
6aa5f3a6
DE
52552014-06-02 Doug Evans <dje@google.com>
5256
5257 Add support for skeletonless type units.
5258 * dwarf2read.c (struct dwarf2_per_objfile): New member
5259 n_allocated_type_units.
5260 (struct dwarf2_per_objfile) <tu_stats>: New member
5261 nr_all_type_units_reallocs.
5262 (create_signatured_type_table_from_index): Initialize
5263 n_allocated_type_units
5264 (create_all_type_units): Ditto.
5265 (add_type_unit): Move up in file. New arg slot.
5266 All callers updated. Increase space for all_type_units more
5267 efficiently.
5268 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
5269 (lookup_dwo_signatured_type): Handle skeletonless TUs.
5270 (lookup_dwp_signatured_type): Ditto.
5271 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
5272 All callers updated.
5273 (build_type_psymtabs_1): Leave type_unit_groups as
5274 NULL if no TUs present.
5275 (print_tu_stats): New function.
5276 (process_skeletonless_type_unit): New function.
5277 (process_dwo_file_for_skeletonless_type_units): New
5278 function.
5279 (process_skeletonless_type_units): New function.
5280 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
5281 Call print tu_stats if debugging enabled.
5282
41fac0cf
PA
52832014-06-02 Pedro Alves <palves@redhat.com>
5284
5285 * breakpoint.c (build_target_command_list): Don't build a command
5286 list if we have any duplicate location that isn't a dprintf.
5287
cd1608cc
PA
52882014-06-02 Pedro Alves <palves@redhat.com>
5289
5290 * breakpoint.c (dprintf_breakpoint_hit): New function.
5291 (initialize_breakpoint_ops): Install it as dprintf's
5292 breakpoint_hit method.
5293
486ef3b9
JB
52942014-06-02 Joel Brobecker <brobecker@adacore.com>
5295
5296 * source.c (substitute_path_rule_matches): Simplify using
5297 filename_ncmp instead of FILENAME_CMP.
5298
230cd560
JB
52992014-06-02 Joel Brobecker <brobecker@adacore.com>
5300
5301 * source.c (substitute_path_rule_matches): Remove trailing spaces.
5302
16954d5d
LC
53032014-06-01 Ludovic Courtès <ludo@gnu.org>
5304
5305 * configure.ac: When Guile is available, check for the
5306 availability of 'scm_new_smob'.
5307 * configure, config.h.in: Regenerate.
5308 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
5309 function.
5310
53e8a631
AB
53112014-05-30 Andrew Burgess <aburgess@broadcom.com>
5312
5313 * frame.c (struct frame_info): Add stop_string field.
5314 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
5315 (get_prev_frame_always): Old content moved into
5316 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
5317 TRY_CATCH, handle MEMORY_ERROR exceptions.
5318 (frame_stop_reason_string): New function definition.
5319 * frame.h (unwind_stop_reason_to_string): Extend comment to
5320 mention frame_stop_reason_string.
5321 (frame_stop_reason_string): New function declaration.
5322 * stack.c (frame_info): Switch to frame_stop_reason_string.
5323 (backtrace_command_1): Switch to frame_stop_reason_string.
5324 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
5325 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
5326 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
5327
70e38b8e
AB
53282014-05-30 Andrew Burgess <aburgess@broadcom.com>
5329
5330 * frame.c (frame_stop_reason_string): Rename to ...
5331 (unwind_stop_reason_to_string): this.
5332 * frame.h (frame_stop_reason_string): Rename to ...
5333 (unwind_stop_reason_to_string): this.
5334 * stack.c (frame_info): Update call to frame_stop_reason_string.
5335 (backtrace_command_1): Likewise.
5336 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
5337 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
5338
938f0e2f
AB
53392014-05-30 Andrew Burgess <aburgess@broadcom.com>
5340
5341 * frame.c (remove_prev_frame): New function.
5342 (get_prev_frame_if_no_cycle): Create / discard cleanup using
5343 remove_prev_frame.
5344
a09dd441
PA
53452014-05-29 Pedro Alves <palves@redhat.com>
5346
5347 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
5348 and make it const. When a single-step decays to a continue,
5349 clear 'step', not 'hw_step'. Pass whether the caller wanted
5350 to step to user_visible_resume_ptid, not what we ask the
5351 target to do.
5352
bdc36728
PA
53532014-05-29 Pedro Alves <palves@redhat.com>
5354
5355 * infrun.c (process_event_stop_test, handle_step_into_function)
5356 (handle_step_into_function_backward): Adjust.
5357 Don't set the even thread's stop_step and call stop_waiting before
5358 calling end_stepping_range. Instead do that ...
5359 (end_stepping_range): ... here. Take an ecs pointer parameter.
5360
22bcd14b
PA
53612014-05-29 Pedro Alves <palves@redhat.com>
5362
5363 * infrun.c (stop_stepping): Rename to ...
5364 (stop_waiting): ... this.
5365 (proceed): Update comment.
5366 (process_event_stop_test, handle_inferior_event)
5367 (handle_signal_stop, handle_step_into_function)
5368 (handle_step_into_function_backward): Update.
5369
4ae57c05
PA
53702014-05-29 Pedro Alves <palves@redhat.com>
5371
5372 * infcall.c (run_inferior_call): Don't check whether the current
5373 thread is running after the proceed call.
5374
329ea579
PA
53752014-05-29 Pedro Alves <palves@redhat.com>
5376 Tom Tromey <tromey@redhat.com>
5377
5378 * NEWS: Mention "maint set target-async", "set mi-async", and that
5379 background execution commands are now always available.
5380 * target.h (target_async_permitted): Update comment.
5381 * target.c (target_async_permitted, target_async_permitted_1):
5382 Default to 1.
5383 (set_target_async_command): Rename to ...
5384 (maint_set_target_async_command): ... this.
5385 (show_target_async_command): Rename to ...
5386 (maint_show_target_async_command): ... this.
5387 (_initialize_target): Adjust.
5388 * infcmd.c (prepare_execution_command): Make extern.
5389 * inferior.h (prepare_execution_command): Declare.
5390 * infrun.c (set_observer_mode): Leave target async alone.
5391 * mi/mi-interp.c (mi_interpreter_init): Install
5392 mi_on_sync_execution_done as sync_execution_done observer.
5393 (mi_on_sync_execution_done): New function.
5394 (mi_execute_command_input_handler): Don't print the prompt if we
5395 just started a synchronous command with an async target.
5396 (mi_on_resume): Check sync_execution before printing prompt.
5397 * mi/mi-main.h (mi_async_p): Declare.
5398 * mi/mi-main.c: Include gdbcmd.h.
5399 (mi_async_p): New function.
5400 (mi_async, mi_async_1): New globals.
5401 (set_mi_async_command, show_mi_async_command, mi_async): New
5402 functions.
5403 (exec_continue): Call prepare_execution_command.
5404 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
5405 (mi_execute_async_cli_command): Use mi_async_p.
5406 (_initialize_mi_main): Install "set mi-async". Make
5407 "target-async" a deprecated alias.
5408
92bcb5f9
PA
54092014-05-29 Pedro Alves <palves@redhat.com>
5410
5411 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
5412 (_initialize_cli_interp): Adjust.
5413 * event-loop.c: Include "observer.h".
5414 (start_event_loop): Notify 'command_error' observers instead of
5415 calling display_gdb_prompt. Remove FIXME comment.
5416 * event-top.c (display_gdb_prompt): Remove call into the
5417 interpreters.
5418 * inf-loop.c: Include "observer.h".
5419 (inferior_event_handler): Notify 'command_error' observers instead
5420 of calling display_gdb_prompt.
5421 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
5422 observers instead of calling display_gdb_prompt.
5423 * interps.c (interp_set): Don't call display_gdb_prompt.
5424 (current_interp_display_prompt_p): Delete.
5425 * interps.h (interp_prompt_p): Delete declaration.
5426 (interp_prompt_p_ftype): Delete.
5427 (struct interp_procs) <prompt_proc_p>: Delete field.
5428 (current_interp_display_prompt_p): Delete declaration.
5429 * mi-interp.c (mi_interpreter_prompt_p): Delete.
5430 (_initialize_mi_interp): Adjust.
5431 * tui-interp.c (tui_init): Install 'sync_execution_done' and
5432 'command_error' observers.
5433 (tui_on_sync_execution_done, tui_on_command_error): New
5434 functions.
5435 (tui_display_prompt_p): Delete.
5436 (_initialize_tui_interp): Adjust.
5437
fd664c91
PA
54382014-05-29 Pedro Alves <palves@redhat.com>
5439
5440 PR gdb/13860
5441 * cli/cli-interp.c: Include infrun.h and observer.h.
5442 (cli_uiout, cli_interp): New globals.
5443 (cli_on_signal_received, cli_on_end_stepping_range)
5444 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
5445 functions.
5446 (cli_interpreter_init): Install them as 'end_stepping_range',
5447 'signal_received' 'signal_exited', 'exited' and 'no_history'
5448 observers.
5449 (_initialize_cli_interp): Remove cli_interp local.
5450 * infrun.c (handle_inferior_event): Call the several stop reason
5451 observers instead of printing the stop reason directly.
5452 (end_stepping_range): New function.
5453 (print_end_stepping_range_reason, print_signal_exited_reason)
5454 (print_exited_reason, print_signal_received_reason)
5455 (print_no_history_reason): Make static, and add an uiout
5456 parameter. Print to that instead of to CURRENT_UIOUT.
5457 * infrun.h (print_end_stepping_range_reason)
5458 (print_signal_exited_reason, print_exited_reason)
5459 (print_signal_received_reason print_no_history_reason): New
5460 declarations.
5461 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
5462 'mi_uiout'.
5463 <cli_uiout>: New field.
5464 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
5465 uiout for CLI output. Install 'signal_received',
5466 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
5467 observers.
5468 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
5469 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
5470 (mi_on_no_history): New functions.
5471 (ui_out_free_cleanup): Delete function.
5472 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
5473 instead use the one already stored in the MI interpreter data.
5474 (mi_ui_out): Adjust.
5475 * tui/tui-interp.c: Include infrun.h and observer.h.
5476 (tui_interp): New global.
5477 (tui_on_signal_received, tui_on_end_stepping_range)
5478 (tui_on_signal_exited, tui_on_exited)
5479 (tui_on_no_history): New functions.
5480 (tui_init): Install them as 'end_stepping_range',
5481 'signal_received' 'signal_exited', 'exited' and 'no_history'
5482 observers.
5483 (_initialize_tui_interp): Delete tui_interp local.
5484
8817a6f2
PA
54852014-05-29 Pedro Alves <palves@redhat.com>
5486
5487 PR gdb/15713
5488 * linux-nat.c (linux_nat_resume_callback): Rename the second
5489 parameter to 'except'. Skip LP if it points to EXCEPT.
5490 (linux_nat_resume): Don't mark the event lwp as not stopped
5491 before resuming sibling lwps. Instead ask
5492 linux_nat_resume_callback to skip the event lwp. Mark it as not
5493 stopped after actually resuming it.
5494 (linux_handle_syscall_trap): Mark the lwp as not stopped after
5495 resuming it.
5496 (wait_lwp): Mark the lwp as stopped here.
5497 (stop_wait_callback): Mark the lwp as not stopped right after
5498 resuming it. Don't mark lwps as stopped here.
5499 (linux_nat_filter_event): Mark the lwp as stopped earlier.
5500 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
5501
251bde03
PA
55022014-05-29 Pedro Alves <palves@redhat.com>
5503
5504 PR PR15693
5505 * infrun.c (resume): Determine how much to resume depending on
5506 whether the caller wanted a step, not whether we can hardware step
5507 the target. Mark all threads that we intend to run as running,
5508 unless we're calling an inferior function.
5509 (normal_stop): If the thread is running an infcall, don't finish
5510 thread state.
5511 * target.c (target_resume): Don't mark threads as running here.
5512
7f3c0343
JB
55132014-05-28 Joel Brobecker <brobecker@adacore.com>
5514
5515 * serial.c (_initialize_serial): Remove support for
5516 the "set remotebaud" and "show remotebaud" commands.
5517 * NEWS: Add entry documenting the removal of that command.
5518
ee34b3f9
YQ
55192014-05-28 Yao Qi <yao@codesourcery.com>
5520
5521 * charset.c: Fix typo in comments.
5522
add6c04d
GB
55232014-05-27 Gary Benson <gbenson@redhat.com>
5524
5525 * utils.c (internal_vproblem): Prompt for a bug report.
5526
92c48fc5
AW
55272014-05-26 Andy Wingo <wingo@igalia.com>
5528
5529 * guile/scm-arch.c (arscm_mark_arch_smob):
5530 * guile/scm-block.c (bkscm_mark_block_smob)
5531 (bkscm_mark_block_syms_progress_smob):
5532 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
5533 * guile/scm-exception.c (exscm_mark_exception_smob):
5534 * guile/scm-frame.c (frscm_mark_frame_smob):
5535 * guile/scm-iterator.c (itscm_mark_iterator_smob):
5536 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
5537 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
5538 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
5539 (ppscm_mark_pretty_printer_worker_smob):
5540 * guile/scm-symbol.c (syscm_mark_symbol_smob):
5541 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
5542 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
5543 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
5544 mark functions.
5545 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
5546 function.
5547
b2715b27
AW
55482014-05-26 Andy Wingo <wingo@igalia.com>
5549 Doug Evans <xdje42@gmail.com>
5550
5551 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
5552 empty_base_class. All uses updated.
5553 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
5554 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
5555 Adapt all callers.
5556 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
5557 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
5558 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
5559 (gdbscm_gsmob_has_property_p, add_property_name)
5560 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
5561 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
5562 (gdb-object-has-property?, gdb-object-properties): Remove.
5563 (gdb-object-kind): Renamed from gsmob-kind.
5564
214ab2da
AW
55652014-05-26 Andy Wingo <wingo@igalia.com>
5566
5567 * configure.ac (try_guile_versions): Allow building with guile 2.2.
5568 * configure: Regenerate.
5569
589fdceb
MM
55702014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5571
5572 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
5573
67b5c0c1
MM
55742014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5575
5576 * record-btrace.c (record_btrace_allow_memory_access): Remove.
5577 (replay_memory_access_read_only, replay_memory_access_read_write)
5578 (replay_memory_access_types, replay_memory_access)
5579 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
5580 (cmd_set_record_btrace, cmd_show_record_btrace)
5581 (cmd_show_replay_memory_access): New.
5582 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
5583 (record_btrace_remove_breakpoint): Replace
5584 record_btrace_allow_memory_access with replay_memory_access.
5585 (_initialize_record_btrace): Add commands.
5586 * NEWS: Announce it.
5587
036cd381
RR
55882014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5589
5590 * aarch64-linux-nat.c (asm/ptrace.h): Include.
5591
c77c1e42
RR
55922014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5593
5594 * MAINTAINERS (Write After Approval): Move self back from
5595 paper trail.
5596
45741a9c
PA
55972014-05-22 Pedro Alves <palves@redhat.com>
5598
5599 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
5600 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
5601 (disable_randomization, enum exec_direction_kind)
5602 (execution_direction, stop_registers, start_remote)
5603 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
5604 (wait_for_inferior, normal_stop, get_last_target_status)
5605 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
5606 (insert_step_resume_breakpoint_at_sal)
5607 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
5608 (set_step_info, print_stop_event, signal_stop_state)
5609 (signal_print_state, signal_pass_state, signal_stop_update)
5610 (signal_print_update, signal_pass_update)
5611 (update_signals_program_target, clear_exit_convenience_vars)
5612 (displaced_step_dump_bytes, update_observer_mode)
5613 (signal_catch_update, gdb_signal_from_command): Move
5614 declarations ...
5615 * infrun.h: ... to this new file.
5616 * amd64-tdep.c: Include infrun.h.
5617 * annotate.c: Include infrun.h.
5618 * arch-utils.c: Include infrun.h.
5619 * arm-linux-tdep.c: Include infrun.h.
5620 * arm-tdep.c: Include infrun.h.
5621 * break-catch-sig.c: Include infrun.h.
5622 * breakpoint.c: Include infrun.h.
5623 * common/agent.c: Include infrun.h instead of inferior.h.
5624 * corelow.c: Include infrun.h.
5625 * event-top.c: Include infrun.h.
5626 * go32-nat.c: Include infrun.h.
5627 * i386-tdep.c: Include infrun.h.
5628 * inf-loop.c: Include infrun.h.
5629 * infcall.c: Include infrun.h.
5630 * infcmd.c: Include infrun.h.
5631 * infrun.c: Include infrun.h.
5632 * linux-fork.c: Include infrun.h.
5633 * linux-nat.c: Include infrun.h.
5634 * linux-thread-db.c: Include infrun.h.
5635 * monitor.c: Include infrun.h.
5636 * nto-tdep.c: Include infrun.h.
5637 * procfs.c: Include infrun.h.
5638 * record-btrace.c: Include infrun.h.
5639 * record-full.c: Include infrun.h.
5640 * remote-m32r-sdi.c: Include infrun.h.
5641 * remote-mips.c: Include infrun.h.
5642 * remote-notif.c: Include infrun.h.
5643 * remote-sim.c: Include infrun.h.
5644 * remote.c: Include infrun.h.
5645 * reverse.c: Include infrun.h.
5646 * rs6000-tdep.c: Include infrun.h.
5647 * s390-linux-tdep.c: Include infrun.h.
5648 * solib-irix.c: Include infrun.h.
5649 * solib-osf.c: Include infrun.h.
5650 * solib-svr4.c: Include infrun.h.
5651 * target.c: Include infrun.h.
5652 * top.c: Include infrun.h.
5653 * windows-nat.c: Include infrun.h.
5654 * mi/mi-interp.c: Include infrun.h.
5655 * mi/mi-main.c: Include infrun.h.
5656 * python/py-threadevent.c: Include infrun.h.
5657
98eb56a4
PA
56582014-05-22 Pedro Alves <palves@redhat.com>
5659
5660 * infrun.c (handle_inferior_event): Store the exit code for
5661 --return-child-result here, instead of ...
5662 (print_exited_reason): ... here.
5663
17b2616c
PA
56642014-05-21 Pedro Alves <palves@redhat.com>
5665
5666 PR gdb/13860
5667 * gdbthread.h (struct thread_control_state): New field
5668 `command_interp'.
5669 * infrun.c (follow_fork): Copy the new thread control field to the
5670 child fork thread.
5671 (clear_proceed_status_thread): Clear the new thread control field.
5672 (proceed): Set the new thread control field.
5673 * interps.h (command_interp): Declare.
5674 * interps.c (command_interpreter): New global.
5675 (command_interp): New function.
5676 (interp_exec): Set `command_interpreter' while here.
5677 * cli-out.c (cli_uiout_dtor): New function.
5678 (cli_ui_out_impl): Install it.
5679 * mi/mi-interp.c: Include cli-out.h.
5680 (mi_cmd_interpreter_exec): Add comment.
5681 (restore_current_uiout_cleanup): New function.
5682 (ui_out_free_cleanup): New function.
5683 (mi_on_normal_stop): If finishing an execution command started by
5684 a CLI command, or any kind of breakpoint-like event triggered,
5685 print the stop event to the output (CLI) stream.
5686 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
5687
5166082f
PA
56882014-05-21 Pedro Alves <palves@redhat.com>
5689
5690 * cli/cli-cmds.c (list_command): Handle the first "list" after the
5691 current source line having changed.
5692 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
5693 * infrun.c (normal_stop): Adjust call to
5694 set_current_sal_from_frame.
5695 * source.c (clear_lines_listed_range): New function.
5696 (set_current_source_symtab_and_line, identify_source_line): Clear
5697 the lines listed range.
5698 (line_info): Handle the first "info line" after the current source
5699 line having changed.
5700 * stack.c (print_stack_frame): Remove center handling.
5701 (set_current_sal_from_frame): Remove 'center' parameter. Don't
5702 center sal.line.
5703
c1ee2fb3
PA
57042014-05-21 Pedro Alves <palves@redhat.com>
5705
5706 * inf-child.c (inf_child_mourn_inferior): New function.
5707 * inf-child.h (inf_child_mourn_inferior): New declaration.
5708 * darwin-nat.c (darwin_mourn_inferior): Use
5709 inf_child_mourn_inferior.
5710 * gnu-nat.c (gnu_mourn_inferior): Likewise.
5711 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
5712 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
5713 * nto-procfs.c (procfs_mourn_inferior): Likewise.
5714 * windows-nat.c (windows_mourn_inferior): Likewise.
5715
5c6d4fb2
DE
57162014-05-21 Doug Evans <xdje42@gmail.com>
5717
250748cb 5718 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 5719
4a2722c5
DE
57202014-05-21 Doug Evans <xdje42@gmail.com>
5721
17292b30 5722 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
5723 (gdbscm_out_of_range_error): Ditto.
5724 (gdbscm_memory_error): Ditto.
250748cb
DE
5725 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
5726 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
5727 (gdbscm_out_of_range_error): Update.
5728 (gdbscm_memory_error): Update.
5729 (gdbscm_scm_to_target_string_unsafe): Delete.
5730
6a3cb8e8
PA
57312014-05-21 Pedro Alves <palves@redhat.com>
5732
5733 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
5734 globals.
5735 (inf_child_open_target): New function.
5736 (inf_child_open): Use inf_child_open_target to push the target
5737 instead of erroring out.
5738 (inf_child_disconnect, inf_child_close)
5739 (inf_child_maybe_unpush_target): New functions.
5740 (inf_child_target): Install inf_child_disconnect and
5741 inf_child_close. Store a pointer to the returned object.
5742 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
5743 declarations.
5744 * target.c (auto_connect_native_target): New global.
5745 (show_default_run_target): New function.
5746 (find_default_run_target): Return NULL if automatically connecting
5747 to the native target is disabled.
5748 (_initialize_target): Install set/show auto-connect-native-target.
5749 * NEWS: Mention "set auto-connect-native-target", and "target
5750 native".
5751 * linux-nat.c (super_close): New global.
5752 (linux_nat_close): Call super_close.
5753 (linux_nat_add_target): Store a pointer to the base class's
5754 to_close method.
5755 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
5756 inf_child_maybe_unpush.
5757 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
5758 already pushed.
5759 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
5760 the inferior. Use inf_child_maybe_unpush_target.
5761 (inf_ttrace_attach): Don't push the target if it is already
5762 pushed.
5763 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
5764 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
5765 after mourning the inferior. Use inf_child_maybe_unpush_target.
5766 (darwin_attach_pid): Don't push the target if it is already
5767 pushed.
5768 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
5769 mourning the inferior. Use inf_child_maybe_unpush_target.
5770 (gnu_detach): Use inf_child_maybe_unpush_target.
5771 * go32-nat.c (go32_create_inferior): Don't push the target if it
5772 is already pushed.
5773 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
5774 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
5775 (procfs_open): Rename to ...
5776 (procfs_open_1): ... this. Add target_ops parameter. Adjust
5777 comments. Can target_preopen before changing node. Call
5778 inf_child_open_target to push the target explicitly.
5779 (procfs_attach): Don't push the target if it is already pushed.
5780 (procfs_detach): Use inf_child_maybe_unpush_target.
5781 (procfs_create_inferior): Don't push the target if it is already
5782 pushed.
5783 (nto_native_ops): New global.
5784 (procfs_open): Reimplement.
5785 (procfs_native_open): New function.
5786 (init_procfs_targets): Install procfs_native_open as to_open of
5787 "target native". Store a pointer to the "native" target in
5788 nto_native_ops.
5789 * procfs.c (procfs_attach): Don't push the target if it is already
5790 pushed.
5791 (procfs_detach): Use inf_child_maybe_unpush_target.
5792 (procfs_mourn_inferior): Only unpush the target after mourning the
5793 inferior. Use inf_child_maybe_unpush_target.
5794 (procfs_init_inferior): Don't push the target if it is already
5795 pushed.
5796 * windows-nat.c (do_initial_windows_stuff): Don't push the target
5797 if it is already pushed.
5798
930ee1b1
PA
57992014-05-21 Pedro Alves <palves@redhat.com>
5800
5801 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
5802 and "procfs" targets are now called "native" instead.
5803
1f5d1b13
PA
58042014-05-21 Pedro Alves <palves@redhat.com>
5805
5806 * go32-nat.c (go32_open): Delete.
5807 (go32_target): Don't override the to_open method.
5808
132f8e03
PA
58092014-05-21 Pedro Alves <palves@redhat.com>
5810
5811 * nto-procfs.c (procfs_can_run): New function.
5812 (nto_procfs_ops): New global.
5813 (init_procfs_targets): New, based on procfs_target. Install
5814 "target native" in addition to "target procfs".
5815 (_initialize_procfs): Call init_procfs_targets instead of adding
5816 the target here.
5817
03c136c3
PA
58182014-05-21 Pedro Alves <palves@redhat.com>
5819
5820 * windows-nat.c (windows_target): Don't override to_shortname,
5821 to_longname or to_doc.
5822
a635d0f3
PA
58232014-05-21 Pedro Alves <palves@redhat.com>
5824
5825 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
5826 to_doc.
5827
4f9b5133
PA
58282014-05-21 Pedro Alves <palves@redhat.com>
5829
5830 * darwin-nat.c (_initialize_darwin_inferior): Don't override
5831 to_shortname, to_longname or to_doc.
5832
bc85afde
PA
58332014-05-21 Pedro Alves <palves@redhat.com>
5834
5835 * go32-nat.c (go32_target): Don't override to_shortname,
5836 to_longname or to_doc.
5837
4ebfc96e
PA
58382014-05-21 Pedro Alves <palves@redhat.com>
5839
5840 * inf-child.c (inf_child_open): Remove mention of "child".
5841 (inf_child_target): Rename target to "native" instead of "child".
5842
2648dfed
AA
58432014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5844
5845 * Makefile.in (SFILES): Delete "regset.c".
5846 (COMMON_OBS): Delete "regset.o".
5847 * regset.c: Remove.
5848 * regset.h (regset_alloc): Delete prototype.
5849
b13feb94
AA
58502014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5851
5852 * sparc-linux-tdep.c (sparc32_linux_gregset)
5853 (sparc32_linux_fpregset): New static regset structures.
5854 (sparc32_linux_init_abi): Drop dynamic regset allocations.
5855 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
5856 'fpregset' fields.
5857 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
5858 (sparc64_linux_fpregset): New static regset structures.
5859 (sparc64_linux_init_abi): Drop dynamic regset allocations.
5860 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
5861 New static regset structures.
5862 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
5863 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
5864 New static regset structures.
5865 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
5866 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
5867 New static regset structures.
5868 (sparc64obsd_init_abi): Drop dynamic regset allocations.
5869 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
5870 New static regset structures.
5871 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
5872
b4fd25c9
AA
58732014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5874
5875 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
5876 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
5877 register maps ("regmaps") from "*regset" to "*regmap". Do this
5878 for all regmap types and variables.
5879 * sparc-linux-tdep.c (sparc32_linux_step_trap)
5880 (sparc32_linux_supply_core_gregset)
5881 (sparc32_linux_collect_core_gregset)
5882 (sparc32_linux_supply_core_fpregset)
5883 (sparc32_linux_collect_core_fpregset): Likewise.
5884 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
5885 (sparc_gregmap, sparc_fpregmap): ... these.
5886 (sparc_supply_gregset, sparc_collect_gregset)
5887 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5888 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
5889 (_initialize_sparc_nat): Rename regmaps.
5890 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
5891 (sparc_gregmap, sparc_fpregmap): ... these.
5892 (sparc_supply_gregset, sparc_collect_gregset)
5893 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5894 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
5895 Rename macros to...
5896 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
5897 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
5898 Likewise.
5899 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
5900 Rename to...
5901 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
5902 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
5903 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
5904 regmaps.
5905 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5906 (sparc32_bsd_fpregset): Rename to...
5907 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5908 (sparc32_bsd_fpregmap): ... these.
5909 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
5910 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5911 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
5912 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
5913 (struct sparc_gregmap, struct sparc_fpregmap)
5914 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
5915 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
5916 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
5917 (sparc32_supply_regset, sparc32_collect_gregset)
5918 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
5919 prototypes.
5920 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
5921 (sparc64_linux_ptrace_gregmap): ... this.
5922 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
5923 (_initialize_sparc64_linux_nat): Rename regmaps.
5924 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
5925 (sparc64_linux_core_gregmap): ... this.
5926 (sparc64_linux_supply_core_gregset)
5927 (sparc64_linux_collect_core_gregset)
5928 (sparc64_linux_supply_core_fpregset)
5929 (sparc64_linux_collect_core_fpregset): Rename regmaps.
5930 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
5931 (sparc64_sol2_fpregset): Rename to...
5932 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
5933 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
5934 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
5935 regmaps.
5936 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
5937 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
5938 (sparc64_bsd_fpregset): Rename to...
5939 (struct sparc_gregmap, sparc64_sol2_gregmap)
5940 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
5941 (sparc64_bsd_fpregmap): ... these.
5942 (sparc64_supply_gregset, sparc64_collect_gregset)
5943 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
5944 prototypes.
5945 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
5946 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
5947 (sparc64fbsd_gregmap): ... this.
5948 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
5949 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
5950 Rename regmaps.
5951 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
5952 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
5953 (sparc64nbsd_collect_fpregset): Likewise.
5954 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
5955 (sparc64nbsd_gregmap): ... this.
5956 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
5957 regmaps.
5958 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
5959 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
5960 (sparc64obsd_gregmap): ... this.
5961 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
5962 regmaps.
5963 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
5964 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
5965 (sparc32nbsd_gregmap): ... this.
5966 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
5967 regmaps.
5968
8fea3224
AA
59692014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5970
5971 * score-tdep.c (score7_linux_gregset): New static regset
5972 structure.
5973 (score7_linux_regset_from_core_section): Remove dynamic regset
5974 allocation.
5975 (score_gdbarch_init): Drop allocation of tdep structure.
5976 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
5977
24534243
AA
59782014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5979
5980 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
5981 regset structures.
5982 (am33_regset_from_core_section): Remove dynamic regset
5983 allocations.
5984
b7195f27
AA
59852014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5986
5987 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
5988 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
5989 structures.
5990 (mips_linux_regset_from_core_section): Remove dynamic regset
5991 allocations.
5992 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
5993 'gregset64', 'fpregset', and 'fpregset64'.
5994 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
5995 deleted tdep fields.
5996
ecc37a5a
AA
59972014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5998
5999 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
6000 regset structures.
6001 (amd64_regset_from_core_section): Remove dynamic regset
6002 allocations.
6003 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
6004 structure.
6005 (amd64obsd_regset_from_core_section): Remove dynamic regset
6006 allocation.
6007 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
6008 Likewise.
6009 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
6010 x86-common regset supply function.
6011 * i386-tdep.c (i386_collect_gregset): Make static.
6012 (i386_gregset): New global regset structure.
6013 (i386_fpregset, i386_xstateregset): New static regset structures.
6014 (i386_regset_from_core_section): Remove dynamic regset
6015 allocations.
6016 (i386_gdbarch_init): Remove initialization of tdep fields
6017 'gregset', 'fpregset', and 'xstateregset'.
6018 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6019 'fpregset', and 'xstateregset'.
6020 (i386_collect_gregset): Remove prototype.
6021 (i386_gregset): New declaration.
6022 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
6023 structure.
6024 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
6025 allocation.
6026
b7611c43
AA
60272014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6028
6029 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
6030 (arm_linux_vfpregset): New static regset structures.
6031 (arm_linux_regset_from_core_section): Remove dynamic allocation of
6032 regset structures.
6033 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
6034 and 'vfpregset' fields.
6035
a069a2bd
AA
60362014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6037
6038 * aarch64-linux-tdep.c (aarch64_linux_gregset)
6039 (aarch64_linux_fpregset): New static regset structures.
6040 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
6041 of regset structures.
6042 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
6043 'fpregset' fields.
6044
09424cff
AA
60452014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6046
6047 * regset.h (struct regset): Remove gdbarch field.
6048 * regset.c (regset_alloc): Drop initialization of gdbarch field.
6049 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
6050 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
6051 Likewise.
6052 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
6053 (ppc32_linux_fpregset, ppc32_linux_vrregset)
6054 (ppc32_linux_vsxregset): Likewise.
6055 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
6056 via the regcache instead of the regset.
6057 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
6058 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
6059 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
6060 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
6061 Likewise.
6062
3ca7dae4
AA
60632014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6064
6065 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
6066 Constify structures.
6067 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
6068 (alphanbsd_aout_gregset): Likewise.
6069 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
6070 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
6071 Likewise.
6072 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
6073 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
6074 Likewise.
6075 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
6076 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
6077 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
6078 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
6079 * m88k-tdep.c (m88k_gregset): Likewise.
6080 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
6081 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
6082 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
6083 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
6084 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
6085 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
6086 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
6087 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
6088 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
6089 Likewise.
6090 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
6091 * sh-tdep.h (sh_corefile_gregset): Likewise.
6092 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
6093 * vax-tdep.c (vax_gregset): Likewise.
6094
5876f503
JK
60952014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6096
6097 Fix TLS access for -static -pthread.
6098 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
6099 (try_thread_db_load_1): Initialize it.
6100 (thread_db_get_thread_local_address): Call it if LM is zero.
6101 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
6102 * target.h (struct target_ops) (to_get_thread_local_address): Add
6103 load_module_addr comment.
6104
0256a6ac
PA
61052014-05-21 Pedro Alves <palves@redhat.com>
6106
6107 * dcache.c (dcache_read_memory_partial): If reading the cache line
6108 fails, fallback to reading just the memory the caller wanted.
6109
227533ac
DE
61102014-05-20 Doug Evans <dje@google.com>
6111
6112 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
6113 instead of get_current_arch.
6114
936d2992
PA
61152014-05-20 Pedro Alves <palves@redhat.com>
6116
6117 * NEWS: Mention that compare-sections now works with all targets.
6118
6119 * remote.c (PACKET_qCRC): New enum value.
6120 (remote_verify_memory): Don't send qCRC if the target has no
6121 execution. Use packet_support/packet_ok. If the target doesn't
6122 support the qCRC packet, fallback to a deep memory copy.
6123 (compare_sections_command): Say "target image" instead of "remote
6124 executable".
6125 (_initialize_remote): Add PACKET_qCRC to the list of config
6126 packets that have no associated command. Extend comment.
6127 * target.c (simple_verify_memory, default_verify_memory): New
6128 function.
6129 * target.h (struct target_ops) <to_verify_memory>: Default to
6130 default_verify_memory.
6131 (simple_verify_memory): New declaration.
6132 * target-delegates.c: Regenerate.
6133
e59fa00f
MM
61342014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6135
6136 * record-btrace.c (record_btrace_step_thread): Check for empty history.
6137
f2205de0
HZ
61382014-05-20 Hui Zhu <hui@codesourcery.com>
6139 Yao Qi <yao@codesourcery.com>
6140
6141 PR backtrace/16558
6142 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
6143 and change address of sp and pc.
6144
c4e54771
TT
61452014-05-19 Tom Tromey <tromey@redhat.com>
6146
6147 * gdbtypes.c (rank_function): Use XNEWVEC.
6148 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
6149
73051182
DE
61502014-05-19 Doug Evans <dje@google.com>
6151
6152 * dwarf2read.c (build_type_psymtabs_1): Renamed from
6153 build_type_unit_groups and moved closer to only caller. Remove
6154 arguments. All references updated. Remove outdated .gdb_index
6155 comment.
6156 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
6157 build_type_psymtabs_1.
6158
8832e7e3
DE
61592014-05-19 Doug Evans <dje@google.com>
6160
6161 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
6162 n_type_unit_groups, all_type_unit_groups. All uses removed.
6163 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
6164 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
6165 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
6166 (add_type_unit_group_to_table): Delete.
6167
cd8ae15e
DE
61682014-05-19 Doug Evans <dje@google.com>
6169
6170 * eval.c (evaluate_subexp_standard): Add some comments.
6171
08f4850b
DE
61722014-05-17 Doug Evans <xdje42@gmail.com>
6173
6174 * progspace.c (remove_program_space): Delete, unused.
6175 * progspace.h (remove_program_space): Ditto.
6176
bed8455c
DE
61772014-05-17 Doug Evans <xdje42@gmail.com>
6178
6179 * inferior.c (prune_inferiors): Fix comment.
6180 (remove_inferior_command): Call prune_program_spaces.
6181
8d551b02
DE
61822014-05-16 Doug Evans <dje@google.com>
6183
6184 New command line option -D.
6185 * NEWS: Mention it.
6186 * main.c (set_gdb_data_directory): New function.
6187 (captured_main): Recognize -D. Flag error for --data-directory "".
6188 Call set_gdb_data_directory.
6189 (print_gdb_help): Print --data-directory, -D.
6190 * main.h (set_gdb_data_directory): Declare.
6191 * top.c (staged_gdb_datadir): New static global.
6192 (set_gdb_datadir): Call set_gdb_data_directory
6193 (show_gdb_datadir): New function.
6194 (init_main): Update init of data-directory parameter.
6195
18848e28
GF
61962014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
6197
6198 Import the "dirfd" gnulib module.
6199 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
6200 * gnulib/aclocal.m4: Update.
6201 * gnulib/config.in: Update.
6202 * gnulib/configure: Update.
6203 * gnulib/import/Makefile.am: Update.
6204 * gnulib/import/Makefile.in: Update.
6205 * gnulib/import/dirfd.c: New.
6206 * gnulib/import/m4/dirfd.m4: New.
6207 * gnulib/import/m4/gnulib-cache.m4: Update.
6208 * gnulib/import/m4/gnulib-comp.m4: Update.
6209
95c64f92
YQ
62102014-05-16 Pierre Muller <muller@sourceware.org>
6211 Yao Qi <yao@codesourcery.com>
6212
6213 * valprint.c (print_wchar): Move the code on checking whether
6214 W is a printable wide char to the default branch of switch
6215 statement below. Call wchar_printable instead of gdb_iswprint.
6216
cac395ea
TM
62172014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
6218
19679eca 6219 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
6220 ldr.w and ldrd instructions.
6221
83655187
DE
62222014-05-15 Doug Evans <dje@google.com>
6223
6224 * dwarf2read.c (read_structure_type): Delete outdated comments.
6225
dd756689
TT
62262014-05-14 Tom Tromey <tromey@redhat.com>
6227
6228 * macrocmd.c (print_macro_definition): Reindent.
6229
75ddda77
DE
62302014-05-13 Doug Evans <xdje42@gmail.com>
6231
6232 * python/py-cmd.c (cmdpy_completer): Add comment.
6233 (completers): Make const.
6234
b0f16a3e
SM
62352014-05-13 Simon Marchi <simon.marchi@ericsson.com>
6236
6237 * infrun.c (resume): Remove should_resume (unused). Move up
6238 declaration of resume_ptid.
6239
033c3379
TT
62402014-05-13 Tom Tromey <tromey@redhat.com>
6241
6242 * language.h (unop_type_check): Remove.
6243 (binop_type_check): Don't declare.
6244
9b44a3a5
AA
62452014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
6246
6247 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
6248 call to regcache_raw_collect.
6249
303a33fa
SM
62502014-05-12 Simon Marchi <simon.marchi@ericsson.com>
6251
6252 * mi/mi-console.c (mi_console_raw_packet): Use the value from
6253 mi_console->quote as the quoting character.
6254
196100a0
SM
62552014-05-12 Simon Marchi <simon.marchi@ericsson.com>
6256
6257 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
6258
f989a1c8
TT
62592014-04-29 Tom Tromey <tromey@redhat.com>
6260
6261 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
6262 "show debug varobj".
6263
9404b58f
KM
62642014-05-07 Kyle McMartin <kyle@redhat.com>
6265
6266 Pushed by Joel Brobecker <brobecker@adacore.com>.
6267 * aarch64-tdep.c (aarch64_software_single_step): New function.
6268 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
6269 with aarch64_software_single_step.
6270
5e49ba57
JB
62712014-05-05 Joel Brobecker <brobecker@adacore.com>
6272
6273 GDB 7.7.1 released.
6274
c888a17d
KS
62752014-05-05 Keith Seitz <keiths@redhat.com>
6276
6277 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
6278 variable or history value is successfully parsed.
6279
290a839c
YQ
62802014-05-05 Yao Qi <yao@codesourcery.com>
6281 Pedro Alves <palves@redhat.com>
6282
6283 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
6284 address of blocks that intersects the requested range. Trim
6285 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
6286 sections.
6287 * ctf.c (ctf_xfer_partial): Likewise.
6288
91256dc2
YQ
62892014-05-05 Yao Qi <yao@codesourcery.com>
6290
6291 * printcmd.c (display_command): Remove the check to
6292 target_has_execution.
6293
07284463
MK
62942014-05-03 Mark Kettenis <kettenis@gnu.org>
6295
6296 * ppcobsd-nat.c: Include "obsd-nat.h".
6297 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
6298 add_target.
6299 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6300
30a1e6cc
SDJ
63012014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6302
6303 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
6304 and 16-bit signed and unsigned arguments. Update comment.
6305 (stap_parse_probe_arguments): Extend code to handle such
6306 arguments. Use warning instead of complaint to notify about
6307 unrecognized bitness.
6308
f33da99a
SDJ
63092014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6310
6311 PR breakpoints/16889
6312 * stap-probe.c (stap_parse_probe_arguments): Simplify
6313 check for non-prefixed probes (i.e., probes whose
6314 arguments do not start with "N@"). Always set the
6315 argument type to a sane value.
6316
95cf3b38
DT
63172014-05-01 David Taylor <dtaylor@emc.com>
6318
6319 * remote.c (compare_sections_command): Add -r option to compare
6320 all loadable read-only sections.
6321
1cfdf534
SC
63222014-04-30 Siva Chandra Reddy <sivachandra@google.com>
6323
6324 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
6325 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
6326 Update all callers.
6327 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
6328 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
6329 Remove unused CORE_ADDR argument. Update all callers.
6330
ca4f7f8b
PA
63312014-04-29 Pedro Alves <palves@redhat.com>
6332
6333 * remote.c (struct packet_config) <detect>: Extend comment.
6334 (add_packet_config_cmd): Don't set the config's detect or support
6335 fields here.
6336 (init_all_packet_configs): Also initialize the config's 'detect'
6337 field.
6338 (reset_all_packet_configs_support): New function.
6339 (remote_open_1): Call reset_all_packet_configs_support instead of
6340 init_all_packet_configs.
6341 (_initialize_remote): Initialize all packet configs. Assert that
6342 all packets have an associated command, except a few known
6343 outliers.
6344
11c1ba78
JB
63452014-04-28 Joel Brobecker <brobecker@adacore.com>
6346
6347 * dwarf2read.c (read_subrange_type): Handle dynamic
6348 DW_AT_lower_bound attributes.
6349
8739bc53
JB
63502014-04-28 Joel Brobecker <brobecker@adacore.com>
6351
6352 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
6353 dynamic bounds before computing its upper bound.
6354 (ada_discrete_type_low_bound): Same as above with the lower bound.
6355
6f8a3220
JB
63562014-04-28 Joel Brobecker <brobecker@adacore.com>
6357
6358 * dwarf2read.c (is_dynamic_type): Return true for dynamic
6359 range types. Adjust the array handling implementation to
6360 take advantage of this change.
6361 (resolve_dynamic_range): New function, mostly extracted from
6362 resolve_dynamic_bounds.
6363 (resolve_dynamic_array): New function, mostly extracted from
6364 resolve_dynamic_bounds.
6365 (resolve_dynamic_bounds): Delete.
6366 (resolve_dynamic_type): Reimplement. Add handling of
6367 TYPE_CODE_RANGE types.
6368
4d072ce4
JB
63692014-04-28 Joel Brobecker <brobecker@adacore.com>
6370
6371 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
6372 handling of parallel ___XA types.
6373
52865325
JB
63742014-04-28 Joel Brobecker <brobecker@adacore.com>
6375
6376 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
6377 unnecessary second call to static_unwrap_type.
6378
433e77fa
HZ
63792014-04-27 Hui Zhu <hui@codesourcery.com>
6380
6381 * stack.c (print_frame_info): Call do_gdb_disassembly with
6382 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
6383
b51a69ee
DE
63842014-04-26 Doug Evans <xdje42@gmail.com>
6385
6386 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
6387
7ae1a6a6
PA
63882014-04-25 Pedro Alves <palves@redhat.com>
6389
6390 PR server/16255
6391 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
6392 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
6393 and newline from built string.
6394 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
6395 (linux_ptrace_attach_fail_reason): ... this.
6396 * linux-nat.c (linux_nat_attach): Adjust to use
6397 linux_ptrace_attach_fail_reason.
6398
4082afcc
PA
63992014-04-25 Pedro Alves <palves@redhat.com>
6400
6401 * remote.c (struct remote_state): Remove multi_process_aware,
6402 non_stop_aware, cond_tracepoints, cond_breakpoints,
6403 breakpoint_commands, fast_tracepoints, static_tracepoints,
6404 install_in_trace, disconnected_tracing,
6405 enable_disable_tracepoints, string_tracing, and
6406 augmented_libraries_svr4_read fields.
6407 (remote_multi_process_p): Move further below in the file.
6408 (struct packet_config): Add comments.
6409 (update_packet_config): Delete function.
6410 (show_packet_config_cmd): Use packet_config_support.
6411 (add_packet_config_cmd): Use NULL as set callback.
6412 (packet_ok): "set remote foo-packet"-style commands no longer
6413 change config->supported -- adjust.
6414 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
6415 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
6416 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
6417 (PACKET_QNonStop, PACKET_multiprocess_feature)
6418 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
6419 (PACKET_DisconnectedTracing_feature)
6420 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
6421 (set_remote_protocol_packet_cmd): Delete function.
6422 (packet_config_support, packet_support): New functions.
6423 (set_remote_protocol_Z_packet_cmd): Don't call
6424 update_packet_config.
6425 (remote_query_attached, remote_pass_signals)
6426 (remote_program_signals, remote_threads_info)
6427 (remote_threads_extra_info, remote_start_remote): Use
6428 packet_support.
6429 (remote_start_remote): Use packet_config_support and
6430 packet_support.
6431 (init_all_packet_configs): Set all packets to unknown support,
6432 instead of calling update_packet_config.
6433 (remote_check_symbols): Use packet_support.
6434 (remote_supported_packet): Unconditionally set the packet config's
6435 support status.
6436 (remote_multi_process_feature, remote_non_stop_feature)
6437 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
6438 (remote_breakpoint_commands_feature)
6439 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
6440 (remote_install_in_trace_feature)
6441 (remote_disconnected_tracing_feature)
6442 (remote_enable_disable_tracepoint_feature)
6443 (remote_string_tracing_feature)
6444 (remote_augmented_libraries_svr4_read_feature): Delete functions.
6445 (remote_protocol_features): Adjust to use remote_supported_packet
6446 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
6447 "ConditionalTracepoints", "ConditionalBreakpoints",
6448 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
6449 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
6450 "EnableDisableTracepoints", and "tracenz".
6451 (remote_query_supported): Use packet_support.
6452 (remote_open_1): Adjust.
6453 (extended_remote_attach_1): Use packet_support. Switch on the
6454 result of packet_ok instead of checking whether the packet ended
6455 up disabled.
6456 (remote_vcont_resume): Use packet_support.
6457 (remote_resume, remote_stop_ns, fetch_register_using_p)
6458 (remote_prepare_to_store, store_register_using_P)
6459 (check_binary_download, remote_write_bytes): Use packet_support.
6460 (remote_vkill): Use packet_support. Switch on the result of
6461 packet_ok instead of checking whether the packet ended up
6462 disabled.
6463 (extended_remote_supports_disable_randomization): Use
6464 packet_support.
6465 (extended_remote_run): Switch on the result of packet_ok instead
6466 of checking whether the packet ended up disabled.
6467 (remote_insert_breakpoint, remote_remove_breakpoint)
6468 (remote_insert_watchpoint, remote_remove_watchpoint)
6469 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
6470 packet_support.
6471 (remote_search_memory): Use packet_config_support.
6472 (remote_get_thread_local_address, remote_get_tib_address)
6473 (remote_hostio_send_command, remote_can_execute_reverse): Use
6474 packet_support.
6475 (remote_supports_cond_tracepoints)
6476 (remote_supports_cond_breakpoints)
6477 (remote_supports_fast_tracepoints)
6478 (remote_supports_static_tracepoints)
6479 (remote_supports_install_in_trace)
6480 (remote_supports_enable_disable_tracepoint)
6481 (remote_supports_string_tracing)
6482 (remote_can_run_breakpoint_commands): Rewrite, checking whether
6483 the packet config says the feature is enabled or disabled.
6484 (remote_download_tracepoint, remote_trace_set_readonly_regions)
6485 (remote_get_trace_status): Use packet_support.
6486 (remote_set_disconnected_tracing): Adjust to check whether the
6487 feature is enabled with packet_support.
6488 (remote_set_trace_buffer_size, remote_use_agent)
6489 (remote_can_use_agent, remote_supports_btrace): Use
6490 packet_support.
6491 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
6492 Use packet_config_support.
6493 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
6494 the packet config says the feature is enabled or disabled.
6495 (set_range_stepping): Use packet_support.
6496
bdb52a22
TT
64972014-04-25 Tom Tromey <tromey@redhat.com>
6498
6499 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
6500 argument.
6501
e9475ead
SA
65022014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
6503
6504 * NEWS: Mention support for C99 variable length arrays.
6505
82eacd52
JB
65062014-04-24 Joel Brobecker <brobecker@adacore.com>
6507
6508 * ada-lang.c (standard_exc): Expand introductory comment.
6509
01f9f808
MS
65102014-04-24 Michael Sturm <michael.sturm@mintel.com>
6511 Walfred Tedeschi <walfred.tedeschi@intel.com>
6512
6513 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
6514 AVX512 registers.
6515 (amd64_linux_read_description): Add code to handle AVX512 xstate
6516 mask and return respective tdesc.
6517 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
6518 and features/i386/x32-avx512-linux.c.
6519 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
6520 (amd64_linux_core_read_description): Add code to handle AVX512
6521 xstate mask and return respective tdesc.
6522 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
6523 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
6524 calculation.
6525 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
6526 (tdesc_amd64_avx512_linux): New prototype.
6527 (tdesc_x32_avx512_linux): Likewise.
6528 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
6529 features/i386/x32-avx512.c.
6530 (amd64_ymm_avx512_names): New register names for pseudo
6531 registers YMM16-31.
6532 (amd64_ymmh_avx512_names): New register names for raw registers
6533 YMMH16-31.
6534 (amd64_k_names): New register names for K registers.
6535 (amd64_zmmh_names): New register names for ZMM raw registers.
6536 (amd64_zmm_names): New registers names for ZMM pseudo registers.
6537 (amd64_xmm_avx512_names): New register names for XMM16-31
6538 registers.
6539 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
6540 registers.
6541 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
6542 if feature is present.
6543 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
6544 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
6545 (AMD64_NUM_REGS): Adjust to new number of registers.
6546 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
6547 registers supplied via XSTATE by AVX512 registers.
6548 (i386_linux_read_description): Add case for AVX512.
6549 * i386-linux-tdep.c: Include i386-avx512-linux.c.
6550 (i386_linux_gregset_reg_offset): Add AVX512 registers.
6551 (i386_linux_core_read_description): Add case for AVX512.
6552 (i386_linux_init_abi): Install supported register note section
6553 for AVX512.
6554 (_initialize_i386_linux_tdep): Add call to tdesc init function for
6555 AVX512.
6556 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
6557 registers to be number of zmm7h + 1.
6558 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
6559 * i386-tdep.c: Include features/i386/i386-avx512.c.
6560 (i386_zmm_names): Add ZMM pseudo register names array.
6561 (i386_zmmh_names): Add ZMM raw register names array.
6562 (i386_k_names): Add K raw register names array.
6563 (num_lower_zmm_regs): Add constant for the number of lower ZMM
6564 registers. AVX512 has 16 more ZMM registers than there are YMM
6565 registers.
6566 (i386_zmmh_regnum_p): Add function to look up register number of
6567 ZMM raw registers.
6568 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
6569 (i386_k_regnum_p): Likewise for K raw registers.
6570 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
6571 registers added by AVX512.
6572 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
6573 registers added by AVX512.
6574 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
6575 added by AVX512.
6576 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
6577 (i386_pseudo_register_name): Add ZMM pseudo registers.
6578 (i386_zmm_type): Construct and return vector registers type for ZMM
6579 registers.
6580 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
6581 ZMM0-31 pseudo registers and K registers.
6582 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
6583 and YMM16-31 registers from register cache.
6584 (i386_pseudo_register_write): Add code to write K, ZMM and
6585 YMM16-31 registers.
6586 (i386_register_reggroup_p): Add code to include/exclude AVX512
6587 registers in/from respective register groups.
6588 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
6589 registers if feature is present in xcr0.
6590 (i386_gdbarch_init): Add code to initialize AVX512 feature
6591 variables in tdep structure, wire in pseudo registers and call
6592 initialize_tdesc_i386_avx512.
6593 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
6594 variables.
6595 (i386_regnum): Add AVX512 registers.
6596 (I386_SSE_NUM_REGS): New define for number of SSE registers.
6597 (I386_AVX_NUM_REGS): Likewise for AVX registers.
6598 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
6599 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
6600 512 bits wide.
6601 (i386_xmm_avx512_regnum_p): New prototype for register look up.
6602 (i386_ymm_avx512_regnum_p): Likewise.
6603 (i386_k_regnum_p): Likewise.
6604 (i386_zmm_regnum_p): Likewise.
6605 (i386_zmmh_regnum_p): Likewise.
6606 * i387-tdep.c : Update year in copyright notice.
6607 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
6608 XSAVE buffer.
6609 (XSAVE_YMM_AVX512_ADDR): New macro.
6610 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
6611 XSAVE buffer.
6612 (XSAVE_XMM_AVX512_ADDR): New macro.
6613 (xsave_avx512_k_offset): New table for K register offsets in
6614 XSAVE buffer.
6615 (XSAVE_AVX512_K_ADDR): New macro.
6616 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
6617 in XSAVE buffer.
6618 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
6619 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
6620 buffer.
6621 (i387_collect_xsave): Add code to collect AVX512 registers from
6622 XSAVE buffer.
6623 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
6624 of XMM16-31 registers.
6625 (I387_NUM_K_REGS): New define for number of K registers.
6626 (I387_K0_REGNUM): New define for K0 register number.
6627 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
6628 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
6629 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
6630 registers.
6631 (I387_YMM16H_REGNUM): New define for YMM16H register number.
6632 (I387_XMM16_REGNUM): New define for XMM16 register number.
6633 (I387_YMM0_REGNUM): New define for YMM0 register number.
6634 (I387_KEND_REGNUM): New define for last K register number.
6635 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
6636 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
6637 number.
6638 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
6639 number.
6640 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
6641 size.
6642 * features/Makefile: Add AVX512 related files.
6643 * features/i386/32bit-avx512.xml: New file.
6644 * features/i386/64bit-avx512.xml: Likewise.
6645 * features/i386/amd64-avx512-linux.c: Likewise.
6646 * features/i386/amd64-avx512-linux.xml: Likewise.
6647 * features/i386/amd64-avx512.c: Likewise.
6648 * features/i386/amd64-avx512.xml: Likewise.
6649 * features/i386/i386-avx512-linux.c: Likewise.
6650 * features/i386/i386-avx512-linux.xml: Likewise.
6651 * features/i386/i386-avx512.c: Likewise.
6652 * features/i386/i386-avx512.xml: Likewise.
6653 * features/i386/x32-avx512-linux.c: Likewise.
6654 * features/i386/x32-avx512-linux.xml: Likewise.
6655 * features/i386/x32-avx512.c: Likewise.
6656 * features/i386/x32-avx512.xml: Likewise.
6657 * regformats/i386/amd64-avx512-linux.dat: New file.
6658 * regformats/i386/amd64-avx512.dat: Likewise.
6659 * regformats/i386/i386-avx512-linux.dat: Likewise.
6660 * regformats/i386/i386-avx512.dat: Likewise.
6661 * regformats/i386/x32-avx512-linux.dat: Likewise.
6662 * regformats/i386/x32-avx512.dat: Likewise.
6663 * NEWS: Add note about new support for AVX512.
6664
6665
08351840
PA
66662014-04-23 Pedro Alves <palves@redhat.com>
6667
6668 * breakpoint.c (insert_bp_location): Tolerate errors if the
6669 breakpoint is set in a user-loaded objfile.
6670 (remove_breakpoint_1): Likewise. Also tolerate errors if the
6671 location is marked shlib_disabled. If the breakpoint is set in a
6672 user-loaded objfile is a GDB-side memory breakpoint, validate it
6673 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
6674 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
6675 flag.
6676 * mem-break.c (memory_validate_breakpoint): New function.
6677 * objfiles.c (userloaded_objfile_contains_address_p): New
6678 function.
6679 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
6680 * target.h (memory_validate_breakpoint): New declaration.
6681
076855f9
PA
66822014-04-23 Pedro Alves <palves@redhat.com>
6683
6684 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
6685 the breakpoint is set in a shared library, only suppress
6686 errors for software breakpoints, not hardware breakpoints.
6687
483805cf
PA
66882014-04-22 Pedro Alves <palves@redhat.com>
6689
6690 * infrun.c (schedlock_applies): New function, factored out from
6691 find_thread_needs_step_over.
6692 (find_thread_needs_step_over): Use it.
6693 (switch_back_to_stepped_thread): Always clear trap_expected if the
6694 step over is finished. Return early if scheduler locking applies.
6695 Look for the stepping thread and a potential step-over thread with
6696 a single loop.
6697 (currently_stepping_or_nexting_callback): Delete.
6698
a75fef0e
NC
66992014-04-22 Nick Clifton <nickc@redhat.com>
6700
6701 * NEWS: Mention that ARM sim now supports tracing.
6702
48b6e87e
YQ
67032014-04-22 Yao Qi <yao@codesourcery.com>
6704
6705 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
6706 to ...
6707 * tracefile.c (tracefile_fetch_registers): ... it. New
6708 function.
6709 * tracefile.h (tracefile_fetch_registers): Declare.
6710 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
6711 tracefile_fetch_registers.
6712
17617f2d
EZ
67132014-04-19 Eli Zaretskii <eliz@gnu.org>
6714
6715 PR gdb/14018
6716 * windows-nat.c (thread_rec): Don't display a warning when
6717 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
6718 fails for any reason, set th->suspended to -1, so that we don't
6719 try to resume such a thread. Also, don't return NULL in these
6720 cases, to avoid completely ruin the session due to "PC register is
6721 not available" error.
6722 (do_windows_fetch_inferior_registers): Check errors in
6723 GetThreadContext call.
6724 (windows_continue): Accept an additional argument KILLED; if not
6725 zero, ignore errors in the SetThreadContext call, since the
6726 inferior was killed and is shutting down.
6727 (windows_resume, get_windows_debug_event)
6728 (windows_create_inferior, windows_mourn_inferior)
6729 (windows_kill_inferior): All callers of windows_continue changed
6730 to adjust to its new calling sequence.
6731
5723a6fd
YQ
67322014-04-19 Yao Qi <yao@codesourcery.com>
6733
6734 * ctf.c (ctf_open): Call post_create_inferior.
6735
614d5099
YQ
67362014-04-19 Yao Qi <yao@codesourcery.com>
6737
6738 * ctf.c (handle_id): New static variable.
6739 (ctf_open_dir): Get handle_id from bt_context_add_trace return
6740 value. Get the declaration of event "register" and get length
6741 of field "contents".
6742
dac3e710
YQ
67432014-04-19 Yao Qi <yao@codesourcery.com>
6744
6745 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
6746
2bca57ba
SC
67472014-04-18 Siva Chandra Reddy <sivachandra@google.com>
6748
6749 * valops.c (oload_method_static): Remove unnecessary argument
6750 METHOD. Update all callers.
6751
51d48146
PA
67522014-04-18 Pedro alves <palves@redhat.com>
6753 Tom Tromey <tromey@redhat.com>
6754
6755 PR backtrace/15558
6756 * frame.c (get_prev_frame_1): Rename to ...
6757 (get_prev_frame_always): ... this, and make extern. Adjust.
6758 (skip_artificial_frames): Use get_prev_frame_always.
6759 (frame_unwind_caller_id, frame_pop, get_prev_frame)
6760 (get_frame_unwind_stop_reason): Adjust to rename.
6761 * frame.h (get_prev_frame_always): Declare.
6762 * inline-frame.c: Include frame.h.
6763 (inline_frame_this_id): Use get_prev_frame_always.
6764
1bdad2e0
TG
67652014-04-18 Tristan Gingold <gingold@adacore.com>
6766
6767 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
6768 code by using bfd_mach_o_get_base_address.
6769
7ce16bd4
UW
67702014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6771
6772 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
6773 (spu_ax_pseudo_register_collect): New function.
6774 (spu_ax_pseudo_register_push_stack): Likewise.
6775 (spu_dwarf_reg_to_regnum): Likewise.
6776 (spu_gdbarch_init): Install them. Append DWARF unwinders.
6777
2ed3c037
UW
67782014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6779
6780 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
6781 Replace FRAME argument with FRAME_ID.
6782 * gdbarch.c, gdbarch.h: Regenerate.
6783 * findvar.c (default_value_from_register): Add GDBARCH argument;
6784 replace FRAME by FRAME_ID. No longer call get_frame_id.
6785 (value_from_register): Update call to gdbarch_value_from_register.
6786 * value.h (default_value_from_register): Update prototype.
6787 * s390-linux-tdep.c (s390_value_from_register): Update interface
6788 and call to default_value_from_register.
6789 * spu-tdep.c (spu_value_from_register): Likewise.
6790
6791 * findvar.c (address_from_register): Remove TYPE argument.
6792 Do not call value_from_register; use gdbarch_value_from_register
6793 with null_frame_id instead.
6794 * value.h (address_from_register): Update prototype.
6795 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
6796 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
6797 address_from_register interface change.
6798
71e50e83
YQ
67992014-04-17 Yao Qi <yao@codesourcery.com>
6800
6801 * gdbtypes.h: Update comments to link to types and macros'
6802 definitions.
6803
7a23c549
SC
68042014-04-16 Siva Chandra Reddy <sivachandra@google.com>
6805
6806 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
6807
22869d73
KS
68082014-04-16 Keith Seitz <keiths@redhat.com>
6809
6810 PR gdb/15827
6811 * dwarf2read.c (skip_one_die): Check that all relative-offset
6812 sibling DIEs fall within range of the current reader's buffer.
6813 (read_partial_die): Likewise.
6814
c4f87ca6
KS
68152014-04-16 Keith Seitz <keiths@redhat.com>
6816
6817 PR c++/16597
6818 * cp-namespace.c (lookup_symbol_file): If the type name of
6819 `this' is NULL, return immediately.
6820
b50c8614
KS
68212014-04-14 Keith Seitz <keiths@redhat.com>
6822
6823 PR c++/16253
6824 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6825 from symbol_matches_domain in symtab.c. All local callers
6826 of symbol_matches_domain updated.
6827 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6828 search STRUCT_DOMAIN.
6829 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6830 independently. standard_lookup will do that automatically.
6831 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6832 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6833 (cp_lookup_symbol_in_namespace): Likewise.
6834 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6835 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6836 may return a STRUCT_DOMAIN match.
6837 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6838 * cp-support.c: Include language.h.
6839 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6840 VAR_DOMAIN.
6841 * psymtab.c (match_partial_symbol): Compare the requested
6842 domain with the symbol's domain directly.
6843 (lookup_partial_symbol): Likewise.
6844 * symtab.c (lookup_symbol_in_language): Explain when/why
6845 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6846 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6847 appropriate languages.
6848 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6849 and moved to ada-lang.c
6850 (lookup_block_symbol): Explain that this function only returns
6851 symbol matching the requested DOMAIN.
6852 Compare the requested domain with the symbol's domain directly.
6853 (iterate_over_symbols): Compare the requested domain with the
6854 symbol's domain directly.
6855 * symtab.h (symbol_matches_domain): Remove.
6856
3d567982
TT
68572014-04-14 Tom Tromey <tromey@redhat.com>
6858
6859 PR c++/15246:
6860 * c-exp.y (type_aggregate_p): New function.
6861 (qualified_name, classify_inner_name): Use it.
6862 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
6863 and TYPE_TARGET_TYPE of an enum type.
6864 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
6865 an enum type.
6866 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
6867 handle TYPE_DECLARED_CLASS.
6868 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
6869 types.
6870 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
6871 * valops.c (enum_constant_from_type): New function.
6872 (value_aggregate_elt): Use it.
6873 * cp-namespace.c (cp_lookup_nested_symbol): Handle
6874 TYPE_CODE_ENUM.
6875
c848d642
TT
68762014-04-14 Tom Tromey <tromey@redhat.com>
6877
6878 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
6879 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
6880 const.
6881 * value.h (value_aggregate_elt): Update.
6882
0626fc76
TT
68832014-04-14 Tom Tromey <tromey@redhat.com>
6884
6885 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
6886
5ecaaa66
SA
68872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6888
6889 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6890 (evaluate_subexp_standard): Pass noside argument.
6891 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6892 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6893 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6894 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6895 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6896
1612e0c0
SA
68972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6898
6899 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6900 points to a constant blob.
6901
c451ebe5
SA
69022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6903
6904 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6905 property and store it as the high bound and flag the range accordingly.
6906 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
6907 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
6908 * gdbtypes.h (enum range_flags): New enum.
6909 (struct range_bounds): Add flags member.
6910
1d42e4c4
SA
69112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6912
6913 * c-typeprint.c (c_type_print_varspec_suffix): Added
6914 check for not yet resolved high bound. If unresolved, print
6915 "variable length" string to the console instead of random
6916 length.
6917
9f1f738a
SA
69182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6919
6920 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
6921 value.
6922 (ada_template_to_fixed_record_type_1): Likewise.
6923 (ada_to_fixed_type_1): Likewise.
6924 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
6925 (cp_print_value): Likewise.
6926 * d-valprint.c (dynamic_array_type): Likewise.
6927 * findvar.c (address_of_variable): Likewise.
6928 * jv-valprint.c (java_value_print): Likewise.
6929 * valops.c (value_ind): Likewise.
6930 * value.c (coerce_ref): Likewise.
6931
3c8452d4
SA
69322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6933
6934 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
6935 value and retrieve the dynamic type size.
6936
4ad88275
SA
69372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6938
6939 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6940 passed to sizeof is dynamic evaluate the argument to compute the length.
6941
80180f79
SA
69422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6943 Joel Brobecker <brobecker@adacore.com>
6944
6945 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6946 (dwarf2_evaluate_property): New function.
6947 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6948 * dwarf2read.c (attr_to_dynamic_prop): New function.
6949 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6950 attribute.
6951 * gdbtypes.c: Include dwarf2loc.h.
6952 (is_dynamic_type): New function.
6953 (resolve_dynamic_type): New function.
6954 (resolve_dynamic_bounds): New function.
6955 (get_type_length): New function.
6956 (check_typedef): Use get_type_length to compute type length.
6957 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6958 (TYPE_LOW_BOUND_KIND): New macro.
6959 (is_dynamic_type): New function prototype.
6960 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6961 to resolve dynamic properties of the type. Update comment.
6962 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6963
a1556843
RH
69642014-04-14 Richard Henderson <rth@redhat.com>
6965
6966 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
6967
0be03e84
DE
69682014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6969 Doug Evans <xdje42@gmail.com>
6970
6971 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
6972 dereference TYPE_CODE_REF values.
6973
6b662e19
JB
69742014-04-11 Joel Brobecker <brobecker@adacore.com>
6975
6976 Revert the following changes due to regressions:
6977
6978 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
6979 (dwarf2_evaluate_property): New function.
6980 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
6981 * dwarf2read.c (attr_to_dynamic_prop): New function.
6982 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
6983 attribute.
6984 * gdbtypes.c: Include dwarf2loc.h.
6985 (is_dynamic_type): New function.
6986 (resolve_dynamic_type): New function.
6987 (resolve_dynamic_bounds): New function.
6988 (get_type_length): New function.
6989 (check_typedef): Use get_type_length to compute type length.
6990 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
6991 (TYPE_LOW_BOUND_KIND): New macro.
6992 (is_dynamic_type): New function prototype.
6993 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
6994 to resolve dynamic properties of the type. Update comment.
6995 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
6996
6997 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
6998 passed to sizeof is dynamic evaluate the argument to compute the length.
6999
7000 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7001 value and retrieve the dynamic type size.
7002
7003 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7004 (ada_template_to_fixed_record_type_1): Likewise.
7005 (ada_to_fixed_type_1): Likewise.
7006 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7007 (cp_print_value): Likewise.
7008 * d-valprint.c (dynamic_array_type): Likewise.
7009 * eval.c (evaluate_subexp_with_coercion): Likewise.
7010 * findvar.c (address_of_variable): Likewise.
7011 * jv-valprint.c (java_value_print): Likewise.
7012 * valops.c (value_ind): Likewise.
7013 * value.c (coerce_ref): Likewise.
7014
7015 * c-typeprint.c (c_type_print_varspec_suffix): Added
7016 check for not yet resolved high bound. If unresolved, print
7017 "variable length" string to the console instead of random
7018 length.
7019
7020 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7021 property and store it as the high bound and flag the range accordingly.
7022 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7023 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7024 * gdbtypes.h (enum range_flags): New enum.
7025 (struct range_bounds): Add flags member.
7026
7027 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7028 points to a constant blob.
7029
7030 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7031 (evaluate_subexp_standard): Pass noside argument.
7032 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7033 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7034 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7035 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7036 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7037
245a5f0b
KS
70382014-04-11 Keith Seitz <keiths@redhat.com>
7039
7040 PR c++/16675
7041 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
7042 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
7043 reference types.
7044
3bce8237
SA
70452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7046
7047 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7048 (evaluate_subexp_standard): Pass noside argument.
7049 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7050 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7051 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7052 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7053 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7054
92b09522
SA
70552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7056
7057 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7058 points to a constant blob.
7059
e1969afb
SA
70602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7061
7062 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7063 property and store it as the high bound and flag the range accordingly.
7064 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7065 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7066 * gdbtypes.h (enum range_flags): New enum.
7067 (struct range_bounds): Add flags member.
7068
b86138fb
SA
70692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7070
7071 * c-typeprint.c (c_type_print_varspec_suffix): Added
7072 check for not yet resolved high bound. If unresolved, print
7073 "variable length" string to the console instead of random
7074 length.
7075
bcd629a4
SA
70762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7077
7078 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7079 (ada_template_to_fixed_record_type_1): Likewise.
7080 (ada_to_fixed_type_1): Likewise.
7081 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7082 (cp_print_value): Likewise.
7083 * d-valprint.c (dynamic_array_type): Likewise.
7084 * eval.c (evaluate_subexp_with_coercion): Likewise.
7085 * findvar.c (address_of_variable): Likewise.
7086 * jv-valprint.c (java_value_print): Likewise.
7087 * valops.c (value_ind): Likewise.
7088 * value.c (coerce_ref): Likewise.
7089
04b19544
SA
70902014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7091
7092 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7093 value and retrieve the dynamic type size.
7094
26cb189f
SA
70952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7096
7097 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7098 passed to sizeof is dynamic evaluate the argument to compute the length.
7099
37c1ab67
SA
71002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7101
7102 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7103 (dwarf2_evaluate_property): New function.
7104 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7105 * dwarf2read.c (attr_to_dynamic_prop): New function.
7106 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7107 attribute.
7108 * gdbtypes.c: Include dwarf2loc.h.
7109 (is_dynamic_type): New function.
7110 (resolve_dynamic_type): New function.
7111 (resolve_dynamic_bounds): New function.
7112 (get_type_length): New function.
7113 (check_typedef): Use get_type_length to compute type length.
7114 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7115 (TYPE_LOW_BOUND_KIND): New macro.
7116 (is_dynamic_type): New function prototype.
7117 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7118 to resolve dynamic properties of the type. Update comment.
7119 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7120
729efb13
SA
71212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7122
7123 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
7124 declaring high/low bounds and change uses accordingly. Call
7125 create_range_type instead of create_static_range_type.
7126 * gdbtypes.c (create_range_type): New function.
7127 (create_range_type): Convert bounds into struct bound_prop and pass
7128 them to create_range_type.
7129 * gdbtypes.h (struct bound_prop): New struct.
7130 (create_range_type): New function prototype.
7131 (struct range_bounds): Use struct bound_prop instead of LONGEST for
7132 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
7133 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
7134 part of the bound.
7135 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
7136
0c9c3474
SA
71372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7138
7139 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
7140 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
7141 * ada-lang.c: All uses of create_range_type updated.
7142 * coffread.c: All uses of create_range_type updated.
7143 * dwarf2read.c: All uses of create_range_type updated.
7144 * f-exp.y: All uses of create_range_type updated.
7145 * m2-valprint.c: All uses of create_range_type updated.
7146 * mdebugread.c: All uses of create_range_type updated.
7147 * stabsread.c: All uses of create_range_type updated.
7148 * valops.c: All uses of create_range_type updated.
7149 * valprint.c: All uses of create_range_type updated.
7150
9d497a19
PA
71512014-04-10 Pedro Alves <palves@redhat.com>
7152
7153 * breakpoint.c (single_step_breakpoints)
7154 (single_step_gdbarch): Move up in the file.
7155 (one_breakpoint_xfer_memory): New function, factored out from ...
7156 (breakpoint_xfer_memory): ... here. Also process single-step
7157 breakpoints.
7158
15a9128a
TG
71592014-04-09 Tristan Gingold <gingold@adacore.com>
7160
7161 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
7162 comments.
7163 (darwin_decode_exception_message): Free port only after use.
7164
9c97a070
PL
71652014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
7166
7167 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
7168 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
7169 when setting the size of call_length.
7170
7af389b8
SC
71712014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7172
7173 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
7174 dereference TYPE_CODE_REF values.
7175
86ad98c3
JB
71762014-04-07 Joel Brobecker <brobecker@adacore.com>
7177
7178 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
7179 end of warning message.
7180
b0aeadb3
DE
71812014-04-03 Doug Evans <dje@google.com>
7182
7183 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
7184 of stub_comp_unit_die, stub_comp_dir is non-NULL.
7185
5979d6b6
AM
71862014-04-02 Alan Modra <amodra@gmail.com>
7187
7188 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
7189 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
7190 (struct symbol_file_add_from_memory_args): Add size field.
7191 (find_vdso_size): New function.
7192 (add_vsyscall_page): Attempt to find vdso size.
7193
0d60c288
DE
71942014-04-01 Doug Evans <dje@google.com>
7195
7196 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
7197
a41f2563
TG
71982014-04-01 Tristan Gingold <gingold@adacore.com>
7199
7200 * darwin-nat.c (darwin_encode_reply): Add prototype.
7201 (darwin_decode_exception_message): Reply to unknown inferiors.
7202 (darwin_decode_message): Handle message by id. Ignore message
7203 to unknown inferior.
7204 (darwin_wait): Discard unknown messages, add debug trace.
7205
11a865c8
DE
72062014-03-31 Doug Evans <dje@google.com>
7207
7208 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
7209 comp_dir_string.
7210
770e7fc7
DE
72112014-03-31 Doug Evans <dje@google.com>
7212
7213 New option "set print symbol-loading".
7214 * NEWS: Mention it.
7215 * solib.c (solib_read_symbols): Only print symbol loading messages
7216 if requested.
7217 (solib_add): If symbol loading is in "brief" mode, notify user
7218 symbols are being loaded.
7219 (reload_shared_libraries_1): Ditto.
7220 * symfile.c (print_symbol_loading_off): New static global.
7221 (print_symbol_loading_brief): New static global.
7222 (print_symbol_loading_full): New static global.
7223 (print_symbol_loading_enums): New static global.
7224 (print_symbol_loading): New static global.
7225 (print_symbol_loading_p): New function.
7226 (symbol_file_add_with_addrs): Only print symbol loading messages
7227 if requested.
7228 (_initialize_symfile): Register "print symbol-loading" set/show
7229 command.
7230 * symfile.h (print_symbol_loading_p): Declare.
7231
c32c64b7
DE
72322014-03-30 Doug Evans <xdje42@gmail.com>
7233
7234 * infrun.c (set_last_target_status): New function.
7235 (handle_inferior_event): Call it.
7236
7c0bc051
DE
72372014-03-30 Doug Evans <xdje42@gmail.com>
7238
7239 * inferior.h (enum stop_kind): Improve comment.
7240
8776cfe9
JB
72412014-03-28 Joel Brobecker <brobecker@adacore.com>
7242
7243 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
7244 a reference, strip the reference layer before calling
7245 the lang_ops value_has_mutated callback.
7246
410a0ff2
SDJ
72472014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
7248
7249 Remove some globals from our parser.
7250 * language.c (unk_lang_parser): Add "struct parser_state"
7251 argument.
7252 * language.h (struct language_defn) <la_parser>: Likewise.
7253 * parse.c (expout, expout_size, expout_ptr): Remove variables.
7254 (initialize_expout): Add "struct parser_state" argument.
7255 Rewrite function to use the parser state.
7256 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
7257 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
7258 write_exp_elt_longcst, write_exp_elt_dblcst,
7259 write_exp_elt_decfloatcst, write_exp_elt_type,
7260 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
7261 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
7262 write_dollar_variable): Likewise.
7263 (parse_exp_in_context_1): Use parser state.
7264 (insert_type_address_space): Add "struct parser_state" argument.
7265 Use parser state.
7266 (increase_expout_size): New function.
7267 * parser-defs.h: Forward declare "struct language_defn" and
7268 "struct parser_state".
7269 (expout, expout_size, expout_ptr): Remove extern declarations.
7270 (parse_gdbarch, parse_language): Rewrite macro declarations to
7271 accept the parser state.
7272 (struct parser_state): New struct.
7273 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
7274 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
7275 write_exp_elt_decfloatcst, write_exp_elt_type,
7276 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
7277 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
7278 write_exp_msymbol, write_dollar_variable,
7279 mark_struct_expression, insert_type_address_space): Add "struct
7280 parser_state" argument.
7281 (increase_expout_size): New function.
7282 * utils.c (do_clear_parser_state): New function.
7283 (make_cleanup_clear_parser_state): Likewise.
7284 * utils.h (make_cleanup_clear_parser_state): New function
7285 prototype.
7286 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
7287 Update calls to write_exp* in order to pass the parser state.
7288 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
7289 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
7290 (i386_stap_parse_special_token_three_arg_disp): Likewise.
7291 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
7292 * stap-probe.c (stap_parse_register_operand): Likewise.
7293 (stap_parse_single_operand): Likewise.
7294 (stap_parse_argument_1): Likewise.
7295 (stap_parse_argument): Use parser state.
7296 * stap-probe.h: Include "parser-defs.h".
7297 (struct stap_parse_info) <pstate>: New field.
7298 * c-exp.y (parse_type): Rewrite to use parser state.
7299 (yyparse): Redefine to c_parse_internal.
7300 (pstate): New global variable.
7301 (parse_number): Add "struct parser_state" argument.
7302 (write_destructor_name): Likewise.
7303 (type_exp): Update calls to write_exp* and similars in order to
7304 use parser state.
7305 (exp1, exp, variable, qualified_name, space_identifier,
7306 typename, typebase): Likewise.
7307 (write_destructor_name, parse_number, lex_one_token,
7308 classify_name, classify_inner_name, c_parse): Add "struct
7309 parser_state" argument. Update function to use parser state.
7310 * c-lang.h: Forward declare "struct parser_state".
7311 (c_parse): Add "struct parser_state" argument.
7312 * ada-exp.y (parse_type): Rewrite macro to use parser state.
7313 (yyparse): Redefine macro to ada_parse_internal.
7314 (pstate): New variable.
7315 (write_int, write_object_renaming, write_var_or_type,
7316 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
7317 type_int, type_long, type_long_long, type_float, type_double,
7318 type_long_double, type_char, type_boolean, type_system_address):
7319 Add "struct parser_state" argument.
7320 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
7321 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
7322 var_or_type, aggregate, aggregate_component_list,
7323 positional_list, others, component_group,
7324 component_associations): Update calls to write_exp* and similar
7325 functions in order to use parser state.
7326 (ada_parse, write_var_from_sym, write_int,
7327 write_exp_op_with_string, write_object_renaming,
7328 find_primitive_type, write_selectors, write_ambiguous_var,
7329 write_var_or_type, write_name_assoc, type_int, type_long,
7330 type_long_long, type_float, type_double, type_long_double,
7331 type_char, type_boolean, type_system_address): Add "struct
7332 parser_state" argument. Adjust function to use parser state.
7333 * ada-lang.c (parse): Likewise.
7334 * ada-lang.h: Forward declare "struct parser_state".
7335 (ada_parse): Add "struct parser_state" argument.
7336 * ada-lex.l (processInt, processReal): Likewise. Adjust all
7337 calls to both functions.
7338 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
7339 parser state.
7340 (yyparse): Redefine macro to f_parse_internal.
7341 (pstate): New variable.
7342 (parse_number): Add "struct parser_state" argument.
7343 (type_exp, exp, subrange, typebase): Update calls to write_exp*
7344 and similars in order to use parser state.
7345 (parse_number): Adjust code to use parser state.
7346 (yylex): Likewise.
7347 (f_parse): New function.
7348 * f-lang.h: Forward declare "struct parser_state".
7349 (f_parse): Add "struct parser_state" argument.
7350 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
7351 parser state.
7352 (yyparse): Redefine macro for java_parse_internal.
7353 (pstate): New variable.
7354 (push_expression_name, push_expression_name, insert_exp): Add
7355 "struct parser_state" argument.
7356 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
7357 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
7358 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
7359 PostIncrementExpression, PostDecrementExpression,
7360 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
7361 UnaryExpressionNotPlusMinus, CastExpression,
7362 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
7363 RelationalExpression, EqualityExpression, AndExpression,
7364 ExclusiveOrExpression, InclusiveOrExpression,
7365 ConditionalAndExpression, ConditionalOrExpression,
7366 ConditionalExpression, Assignment, LeftHandSide): Update
7367 calls to write_exp* and similars in order to use parser state.
7368 (parse_number): Ajust code to use parser state.
7369 (yylex): Likewise.
7370 (java_parse): New function.
7371 (push_variable): Add "struct parser_state" argument. Adjust
7372 code to user parser state.
7373 (push_fieldnames, push_qualified_expression_name,
7374 push_expression_name, insert_exp): Likewise.
7375 * jv-lang.h: Forward declare "struct parser_state".
7376 (java_parse): Add "struct parser_state" argument.
7377 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
7378 parser state.
7379 (yyparse): Redefine macro to m2_parse_internal.
7380 (pstate): New variable.
7381 (type_exp, exp, fblock, variable, type): Update calls to
7382 write_exp* and similars to use parser state.
7383 (yylex): Likewise.
7384 (m2_parse): New function.
7385 * m2-lang.h: Forward declare "struct parser_state".
7386 (m2_parse): Add "struct parser_state" argument.
7387 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
7388 * objc-lang.h: Forward declare "struct parser_state".
7389 (end_msglist): Add "struct parser_state" argument.
7390 * p-exp.y (parse_type): Rewrite macro to use parser state.
7391 (yyparse): Redefine macro to pascal_parse_internal.
7392 (pstate): New variable.
7393 (parse_number): Add "struct parser_state" argument.
7394 (type_exp, exp1, exp, qualified_name, variable): Update calls to
7395 write_exp* and similars in order to use parser state.
7396 (parse_number, yylex): Adjust code to use parser state.
7397 (pascal_parse): New function.
7398 * p-lang.h: Forward declare "struct parser_state".
7399 (pascal_parse): Add "struct parser_state" argument.
7400 * go-exp.y (parse_type): Rewrite macro to use parser state.
7401 (yyparse): Redefine macro to go_parse_internal.
7402 (pstate): New variable.
7403 (parse_number): Add "struct parser_state" argument.
7404 (type_exp, exp1, exp, variable, type): Update calls to
7405 write_exp* and similars in order to use parser state.
7406 (parse_number, lex_one_token, classify_name, yylex): Adjust code
7407 to use parser state.
7408 (go_parse): Likewise.
7409 * go-lang.h: Forward declare "struct parser_state".
7410 (go_parse): Add "struct parser_state" argument.
7411
342587c4
DE
74122014-03-27 Doug Evans <dje@google.com>
7413
7414 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
7415
33e80786
DE
74162014-03-27 Doug Evans <dje@google.com>
7417
7418 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
7419 Remove argument abbrev_section. All callers updated.
7420
1dbab08b
DE
74212014-03-27 Doug Evans <dje@google.com>
7422
7423 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
7424 addr_base, ranges_base.
7425
318d3177
KS
74262014-03-26 Keith Seitz <keiths@redhat.com>
7427
7428 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
7429 types, not VAR_DOMAIN.
7430
1e54db15
SL
74312014-03-25 Sandra Loosemore <sandra@codesourcery.com>
7432
7433 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
7434 "ra" registers.
7435 * features/nios2-linux.c: Regenerated.
7436 * features/nios2.c: Regenerated.
7437
d3839ede
PA
74382014-03-25 Pedro Alves <palves@redhat.com>
7439
7440 * cli/cli-script.c (script_from_file): Force the interpreter to
7441 sync mode.
7442
7588d2ec
PL
74432014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
7444
7445 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
7446 small stack allocation.
7447
a6290449
TG
74482014-03-24 Tristan Gingold <gingold@adacore.com>
7449
7450 * darwin-nat.c (exc_server): Remove unused prototype.
7451 (darwin_dump_message): Correctly display data on x86_64.
7452 (darwin_encode_reply): Fix style.
7453 Add comments and fix indentation.
7454
31ae9d24 74552014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
7456
7457 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
7458
6339bfc4
DE
74592014-03-22 Doug Evans <xdje42@gmail.com>
7460
7461 * infcmd.c: Whitespace fixes.
7462 (interrupt_command): Merge two function comments into one.
7463
0a07590b
DE
74642014-03-22 Doug Evans <xdje42@gmail.com>
7465
7466 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
7467 All uses updated.
7468
b55fbac4
YQ
74692014-03-22 Yao Qi <yao@codesourcery.com>
7470
7471 * remote.c (target_read_live_memory): Remove.
7472 (memory_xfer_live_readonly_partial): Rename it to
7473 remote_xfer_live_readonly_partial. Remove argument 'object'.
7474 All callers updated. Call remote_read_bytes_1
7475 instead of target_read_live_memory.
7476 * tracepoint.c (set_traceframe_number): Remove.
7477 (make_cleanup_restore_traceframe_number): Likewise .
7478 * tracepoint.h (set_traceframe_number): Remove declaration.
7479 (make_cleanup_restore_traceframe_number): Likewise.
7480
9217e74e
YQ
74812014-03-22 Yao Qi <yao@codesourcery.com>
7482
7483 * remote.c (remote_read_bytes): Move code on reading from the
7484 remote stub to ...
7485 (remote_read_bytes_1): ... here. New function.
7486
8acf9577
YQ
74872014-03-22 Yao Qi <yao@codesourcery.com>
7488
7489 * ctf.c (ctf_xfer_partial): Check the return value of
7490 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
7491 return TARGET_XFER_UNAVAILABLE.
7492 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7493 * target.c (target_read_live_memory): Move it to remote.c.
7494 (memory_xfer_live_readonly_partial): Likewise.
7495 (memory_xfer_partial_1): Move some code to remote_read_bytes.
7496 * remote.c (target_read_live_memory): Moved from target.c.
7497 (memory_xfer_live_readonly_partial): Likewise.
7498 (remote_read_bytes): Factored out from
7499 memory_xfer_partial_1.
7500
feef67ab
DE
75012014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
7502
7503 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
7504 NULL pointer.
7505
b65dc60b
PA
75062014-03-21 Pedro Alves <palves@redhat.com>
7507
7508 * infrun.c (normal_stop): Extend comment.
7509
b4ab256d
HZ
75102014-03-21 Hui Zhu <hui@codesourcery.com>
7511 Pedro Alves <palves@redhat.com>
7512
7513 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
7514 static buffer.
7515 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
7516 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
7517 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
7518
deba7593
MR
75192014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
7520
7521 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
7522 `z' formatted output modifier.
7523
1bff71c3
SDJ
75242014-03-20 Tom Tromey <tromey@redhat.com>
7525 Sergio Durigan Junior <sergiodj@redhat.com>
7526
7527 * probe.c (parse_probes): Turn assert into an ordinary error.
7528 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
7529 exceptions when parsing probes. Rearrange the code for clarity.
7530
90e28950
TT
75312014-03-20 Tom Tromey <tromey@redhat.com>
7532
7533 PR gdb/14135
7534 * top.c (execute_command): Only dispatch events if the command
7535 started the target.
7536
beb460e8
PA
75372014-03-20 Tom Tromey <tromey@redhat.com>
7538
7539 PR cli/15718
7540 * infcall.c: Include event-top.h.
7541 (run_inferior_call): Call async_disable_stdin if needed.
7542
99619bea
PA
75432014-03-20 Pedro Alves <palves@redhat.com>
7544
7545 * infrun.c (prepare_to_proceed): Delete.
7546 (thread_still_needs_step_over): New function.
7547 (find_thread_needs_step_over): New function.
7548 (proceed): If the current thread needs a step-over, set its
7549 steping_over_breakpoint flag. Adjust to use
7550 find_thread_needs_step_over instead of prepare_to_proceed.
7551 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
7552 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
7553 breakpoint.
7554 (switch_back_to_stepped_thread): Step over breakpoints of all
7555 threads not the stepping thread, before switching back to the
7556 stepping thread.
7557
2adfaa28
PA
75582014-03-20 Pedro Alves <palves@redhat.com>
7559
7560 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
7561 extern.
7562 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
7563 * infrun.c (saved_singlestep_ptid)
7564 (stepping_past_singlestep_breakpoint): Delete.
7565 (resume): Remove stepping_past_singlestep_breakpoint handling.
7566 (proceed): Store the prev_pc of the stepping thread too.
7567 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
7568 singlestep_pc.
7569 (enum infwait_states): Delete infwait_thread_hop_state.
7570 (struct execution_control_state) <hit_singlestep_breakpoint>: New
7571 field.
7572 (handle_inferior_event): Adjust.
7573 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
7574 handling and the thread-hop code. Before removing single-step
7575 breakpoints, check whether the thread hit a single-step breakpoint
7576 of another thread. If it did, the trap is not a random signal.
7577 (switch_back_to_stepped_thread): If the event thread hit a
7578 single-step breakpoint, unblock it before switching to the
7579 stepping thread. Handle the case of the stepped thread having
7580 advanced already.
7581 (keep_going): Handle the case of the current thread moving past a
7582 single-step breakpoint.
7583
31e77af2
PA
75842014-03-20 Pedro Alves <palves@redhat.com>
7585
7586 PR breakpoints/7143
7587 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
7588 are being stepped over.
7589 (breakpoint_address_match): Make extern.
7590 * breakpoint.h (breakpoint_address_match): New declaration.
7591 * inferior.h (stepping_past_instruction_at): New declaration.
7592 * infrun.c (struct step_over_info): New type.
7593 (step_over_info): New global.
7594 (set_step_over_info, clear_step_over_info)
7595 (stepping_past_instruction_at): New functions.
7596 (handle_inferior_event): Clear the step-over info when
7597 trap_expected is cleared.
7598 (resume): Remove now stale comment.
7599 (clear_proceed_status): Clear step-over info.
7600 (proceed): Adjust step-over handling to set or clear the step-over
7601 info instead of removing all breakpoints.
7602 (handle_signal_stop): When setting up a thread-hop, don't remove
7603 breakpoints here.
7604 (stop_stepping): Clear step-over info.
7605 (keep_going): Adjust step-over handling to set or clear step-over
7606 info and then always inserting breakpoints, instead of removing
7607 all breakpoints when stepping over one.
7608
b9f437de
PA
76092014-03-20 Pedro Alves <palves@redhat.com>
7610
7611 * infrun.c (previous_inferior_ptid): Adjust comment.
7612 (deferred_step_ptid): Delete.
7613 (infrun_thread_ptid_changed, prepare_to_proceed)
7614 (init_wait_for_inferior): Adjust.
7615 (handle_signal_stop): Delete deferred_step_ptid handling.
7616
06c868a8
JK
76172014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7618
7619 PR gdb/15358
7620 * defs.h (sync_quit_force_run): New declaration.
7621 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
7622 * event-top.c (async_sigterm_handler): New declaration.
7623 (async_sigterm_token): New variable.
7624 (async_init_signals): Create also async_sigterm_token.
7625 (async_sigterm_handler): New function.
7626 (sync_quit_force_run): New variable.
7627 (handle_sigterm): Replace quit_force call by other calls.
7628 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
7629
dea80df0
MR
76302014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
7631
7632 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
7633 offset into SPE pseudo registers.
7634
0c7e1a46
PA
76352014-03-18 Pedro Alves <palves@redhat.com>
7636
7637 PR gdb/13860
7638 * inferior.h (print_stop_event): Declare.
7639 * infrun.c (print_stop_event): New, factored out from ...
7640 (normal_stop): ... this.
7641 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
7642 of bpstat_print/print_stack_frame.
7643
9c1fcd01
TT
76442014-03-17 Tom Tromey <tromey@redhat.com>
7645
7646 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
7647
11aa919a
PMR
76482014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
7649
7650 * ada-lang.c (decode_constrained_packed_array): Perform a
7651 minimal coercion for reference with coerce_ref instead of
7652 ada_coerce_ref.
7653
d4ccb5e0
TG
76542014-03-17 Tristan Gingold <gingold@adacore.com>
7655
7656 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
7657 (darwin_solib_create_inferior_hook): Emit a warning if version
7658 is unhandled.
7659
49840f2a
UW
76602014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
7661
7662 * python/py-value.c (get_field_flag): Cast flag_name argument to
7663 PyObject_GetAttrString to support Python 2.4.
7664
ed4123e5
JK
76652014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7666
7667 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
7668 (Global Maintainers): Remove Jan Kratochvil.
7669
d6b64346
PA
76702014-03-14 Pedro Alves <palves@redhat.com>
7671
7672 * inferior.h (terminal_ours_for_output): Rename to ...
7673 (child_terminal_ours_for_output): ... this.
7674 (terminal_save_ours): Rename to ...
7675 (child_terminal_save_ours): ... this.
7676 (terminal_ours): Rename to ...
7677 (child_terminal_ours): ... this.
7678 (terminal_inferior): Rename to ...
7679 (child_terminal_inferior): ... this.
7680 (terminal_init_inferior): Rename to ...
7681 (child_terminal_init_inferior): ... this.
7682 (terminal_init_inferior_with_pgrp): Rename to ...
7683 (child_terminal_init_inferior_with_pgrp): ... this.
7684 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
7685 (child_terminal_init_with_pgrp): ... this.
7686 (terminal_save_ours): Rename to ...
7687 (child_terminal_save_ours): ... this.
7688 (terminal_init_inferior): Rename to ...
7689 (child_terminal_init): ... this. Adjust.
7690 (terminal_inferior): Rename to ...
7691 (child_terminal_inferior): ... this.
7692 (terminal_ours_for_output): Rename to ...
7693 (child_terminal_ours_for_output): ... this. Adjust.
7694 (terminal_ours): Rename to ...
7695 (child_terminal_ours): ... this.
7696 (terminal_ours_1): Rename to ...
7697 (child_terminal_ours_1): ... this. Adjust.
7698 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
7699 * windows-nat.c (do_initial_windows_stuff): Adjust.
7700 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
7701 (gnu_terminal_init): ... this. Adjust.
7702 (gnu_target): Adjust.
7703 * inf-child.c (inf_child_target): Adjust.
7704
5a1e8c7a
DE
77052014-03-13 Doug Evans <xdje42@gmail.com>
7706
7707 PR guile/16612
7708 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
7709 new eq?-hashtab.
7710
350e1a76
DE
77112014-03-13 Doug Evans <xdje42@gmail.com>
7712
7713 * value.c (record_latest_value): Call release_value_or_incref
7714 instead of release_value.
7715
a69900ae
PA
77162014-03-13 Pedro Alves <palves@redhat.com>
7717
7718 * procfs.c (procfs_target): Don't override to_shortname,
7719 to_longname or to_doc.
7720
5db9f0bd
PA
77212014-03-13 Pedro Alves <palves@redhat.com>
7722
7723 * inf-child.c (inf_child_open, inf_child_target): Don't mention
7724 Unix in user visible strings.
7725
5e3a2c38
SS
77262014-03-12 Stan Shebs <stan@codesourcery.com>
7727
7728 * gdbtypes.h: Annotate comments for Doxygen, add a page
7729 block comment with some general info.
7730
8bc2fe48
PA
77312014-03-12 Pedro Alves <palves@redhat.com>
7732
7733 * infcmd.c (prepare_execution_command): New function, factored out
7734 from several execution commands.
7735 (run_command_1, continue_command, step_1, jump_command)
7736 (signal_command, until_command, advance_command, finish_command)
7737 (attach_command): Use prepare_execution_command.
7738
638c5f49
OJ
77392014-03-12 Omair Javaid <omair.javaid@linaro.org>
7740
7741 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
7742 (MAX_BPTS): Define.
7743 (MAX_WPTS): Define.
7744 (struct arm_linux_thread_points): Removed.
7745 (struct arm_linux_process_info): New.
7746 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
7747 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
7748 (arm_linux_find_breakpoints_by_tid): Removed.
7749 (struct arch_lwp_info): New.
7750 (arm_linux_find_process_pid): New functions.
7751 (arm_linux_add_process): New functions.
7752 (arm_linux_process_info_get): New functions.
7753 (arm_linux_forget_process): New function.
7754 (arm_linux_get_debug_reg_state): New function.
7755 (struct update_registers_data): New.
7756 (update_registers_callback): New function.
7757 (arm_linux_insert_hw_breakpoint1): Updated.
7758 (arm_linux_remove_hw_breakpoint1): Updated.
7759 (arm_linux_insert_hw_breakpoint): Updated.
7760 (arm_linux_remove_hw_breakpoint): Updated.
7761 (arm_linux_insert_watchpoint): Updated.
7762 (arm_linux_remove_watchpoint): Updated.
7763 (arm_linux_new_thread): Updated.
7764 (arm_linux_prepare_to_resume): New function.
7765 (arm_linux_new_fork): New function.
7766 (_initialize_arm_linux_nat): Updated.
7767
6d03af93
PA
77682014-03-12 Pedro Alves <palves@redhat.com>
7769
7770 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
7771
b3ccfe11
TT
77722014-03-12 Tom Tromey <tromey@redhat.com>
7773
7774 * inf-child.c (return_zero): New function.
7775 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
7776 * aix-thread.c (aix_thread_inferior_created): New function.
7777 (aix_thread_attach): Remove.
7778 (init_aix_thread_ops): Don't set to_attach.
7779 (_initialize_aix_thread): Register inferior_created observer.
7780 * corelow.c (init_core_ops): Don't set to_attach or
7781 to_create_inferior.
7782 * exec.c (init_exec_ops): Don't set to_attach or
7783 to_create_inferior.
7784 * infcmd.c (run_command_1): Use find_run_target. Make direct
7785 target calls.
7786 (attach_command): Use find_attach_target. Make direct target
7787 calls.
7788 * record-btrace.c (init_record_btrace_ops): Don't set
7789 to_create_inferior.
7790 * record-full.c (record_full_can_async_p, record_full_is_async_p):
7791 Remove.
7792 (init_record_full_ops, init_record_full_core_ops): Update. Don't
7793 set to_create_inferior.
7794 * target.c (complete_target_initialization): Add assertion.
7795 (target_create_inferior): Remove.
7796 (find_default_attach, find_default_create_inferior): Remove.
7797 (find_attach_target, find_run_target): New functions.
7798 (find_default_is_async_p, find_default_can_async_p)
7799 (target_supports_non_stop, target_attach): Remove.
7800 (init_dummy_target): Don't set to_create_inferior or
7801 to_supports_non_stop.
7802 * target.h (struct target_ops) <to_attach>: Add comment. Remove
7803 TARGET_DEFAULT_FUNC.
7804 <to_create_inferior>: Add comment.
7805 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
7806 TARGET_DEFAULT_RETURN.
7807 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
7808 (find_attach_target, find_run_target): Declare.
7809 (target_create_inferior): Remove.
7810 (target_has_execution_1): Update comment.
7811 (target_supports_non_stop): Remove.
7812 * target-delegates.c: Rebuild.
7813
91f83b02
PA
78142014-03-12 Pedro Alves <palves@redhat.com>
7815
7816 * inf-child.h: Update comment to not mention Unix.
7817
f1aea813
PA
78182014-03-12 Pedro Alves <palves@redhat.com>
7819
7820 * inf-child.c: Update top comment to not mention Unix. Add
7821 generic comment describing how this target is meant to be used.
7822 (inf_child_post_attach, inf_child_post_startup_inferior)
7823 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
7824 Unix in comment.
7825
ee8e9165
PA
78262014-03-12 Pedro Alves <palves@redhat.com>
7827
7828 * nto-procfs.c: Include inf-child.h.
7829 (procfs_ops): Delete global.
7830 (procfs_can_run): Delete method.
7831 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
7832 target pointer instead of referencing procfs_ops.
7833 (procfs_prepare_to_store): Delete.
7834 (init_procfs_ops): Delete function.
7835 (procfs_target): New function, based on init_procfs_ops, but
7836 inherit inf_child_target.
7837 (_initialize_procfs): Use procfs_target.
7838
51a9c8c5
PA
78392014-03-12 Pedro Alves <palves@redhat.com>
7840
7841 * windows-nat.c: Include inf-child.h.
7842 (windows_ops): Delete global.
7843 (windows_open, windows_prepare_to_store, windows_can_run): Delete
7844 methods.
7845 (init_windows_ops): Delete function.
7846 (windows_target): New function, based on init_windows_ops, but
7847 inherit inf_child_target.
7848 (_initialize_windows_nat): Use windows_target. Install x86
7849 specific target methods here.
7850
c1966e26
DE
78512014-03-10 Doug Evans <xdje42@gmail.com>
7852
7853 * guile/guile.c (call_initialize_gdb_module): New function.
7854 (initialize_guile): Replace call to scm_init_guile with call to
7855 scm_with_guile.
7856
023db19c
JB
78572014-03-10 Joel Brobecker <brobecker@adacore.com>
7858
7859 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
7860 in call to TYPE_CODE macro.
7861
5ec18f2b
JG
78622014-03-10 Jerome Guitton <guitton@adacore.com>
7863
8668be63
JB
7864 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
7865 Resolve tagged types to full view.
5ec18f2b 7866
7d03f2eb
HZ
78672014-03-10 Hui Zhu <hui@codesourcery.com>
7868
7869 * target.h (target_insert_breakpoint): Remove "hardware" from its
7870 comments.
7871
c5164cbc
DE
78722014-03-07 Doug Evans <dje@google.com>
7873
7874 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
7875
c4a3fee2
DE
78762014-03-07 Doug Evans <dje@google.com>
7877
7878 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
7879 Remove unused local comp_dir_attr. Assert exactly one of
7880 stub_comp_unit_die, stub_comp_dir is non-NULL.
7881
3156469c
JB
78822014-03-07 Joel Brobecker <brobecker@adacore.com>
7883
7884 * target.h (complete_target_initialization, add_target):
7885 Add comment.
7886
c1a7b7c6
PA
78872014-03-07 Pedro Alves <palves@redhat.com>
7888
7889 * go32-nat.c: Include inf-child.h.
7890 (go32_ops): Delete global.
7891 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
7892 Delete methods.
7893 (go32_create_inferior): Push the passed in target pointer instead
7894 of referencing go32_ops.
7895 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
7896 (go32_target): New function, based on init_go32_ops, but inherit
7897 inf_child_target.
7898 (_initialize_go32_nat): Use go32_target. Move parts of
7899 init_go32_ops here.
7900
d3c1a85f
JB
79012014-03-06 Joel Brobecker <brobecker@adacore.com>
7902
7903 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
7904 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
7905 SYMBOL_VALUE_ADDRESS.
7906 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
7907
5fa1d40e
YQ
79082014-03-06 Yao Qi <yao@codesourcery.com>
7909
7910 * breakpoint.c (get_tracepoint_by_number): Remove argument
7911 optional_p. All callers updated. Adjust comments. Update
7912 output message.
7913 * breakpoint.h (get_tracepoint_by_number): Update declaration.
7914
0c13193f
YQ
79152014-03-06 Yao Qi <yao@codesourcery.com>
7916
7917 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
7918 early if get_number returns zero. Use 'p' instead of 'args'.
7919
2217da06
YQ
79202014-03-06 Yao Qi <yao@codesourcery.com>
7921
7922 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
7923 message.
7924
cc3da688
YQ
79252014-03-06 Yao Qi <yao@codesourcery.com>
7926
7927 PR breakpoints/16508
7928 * tracepoint.c (check_trace_running): New function.
7929 (trace_find_command): Move code to check_trace_running and
7930 call check_trace_running.
7931 (trace_find_pc_command): Likewise.
7932 (trace_find_tracepoint_command): Likewise.
7933 (trace_find_line_command): Likewise.
7934 (trace_find_range_command): Likewise.
7935 * tracepoint.h (check_trace_running): Likewise.
7936 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
7937
6a5f844b
YQ
79382014-03-06 Yao Qi <yao@codesourcery.com>
7939
7940 * target.h (struct target_ops) <to_traceframe_info>: Use
7941 TARGET_DEFAULT_NORETURN (tcomplain ()).
7942 * target-delegates.c: Regenerated.
7943
0f26cec1
PA
79442014-03-05 Pedro Alves <palves@redhat.com>
7945
7946 PR gdb/16575
7947 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
7948 void. Update comment.
7949 (dcache_xfer_memory): Delete.
7950 (dcache_read_memory_partial): New, based on the read bits of
7951 dcache_xfer_memory.
7952 (dcache_update): Add status parameter. Use ULONGEST for len, and
7953 adjust. Discard cache lines if the reason for the update was
7954 error.
7955 * dcache.h (dcache_xfer_memory): Delete declaration.
7956 (dcache_read_memory_partial): New declaration.
7957 (dcache_update): Update prototype.
7958 * target.c (raw_memory_xfer_partial): Update the dcache here.
7959 (memory_xfer_partial_1): Don't handle dcache writes here.
7960
b2b255bd
MF
79612014-03-05 Mike Frysinger <vapier@gentoo.org>
7962
7963 * remote-sim.c (gdbsim_load): Add const to prog.
7964
5d9cf8a4
TT
79652014-03-03 Tom Tromey <tromey@redhat.com>
7966
7967 * elfread.c (probe_key): Change to bfd_data.
7968 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
7969 now per-BFD, not per-objfile.
7970 * stap-probe.c (stap_probe_destroy): Update comment.
7971 (handle_stap_probe): Allocate on the per-BFD obstack.
7972
729662a5
TT
79732014-03-03 Tom Tromey <tromey@redhat.com>
7974
7975 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
7976 * breakpoint.c (create_longjmp_master_breakpoint): Use
7977 get_probe_address.
7978 (add_location_to_breakpoint, bkpt_probe_insert_location)
7979 (bkpt_probe_remove_location): Update.
7980 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
7981 * elfread.c (elf_symfile_relocate_probe): Remove.
7982 (elf_probe_fns): Update.
7983 (insert_exception_resume_breakpoint): Change type of "probe"
7984 parameter to bound_probe.
7985 (check_exception_resume): Update.
7986 * objfiles.c (objfile_relocate1): Don't relocate probes.
7987 * probe.c (bound_probe_s): New typedef.
7988 (parse_probes): Use get_probe_address. Set sal's objfile.
7989 (find_probe_by_pc): Return a bound_probe.
7990 (collect_probes): Return a VEC(bound_probe_s).
7991 (compare_probes): Update.
7992 (gen_ui_out_table_header_info): Change type of "probes"
7993 parameter. Update.
7994 (info_probes_for_ops): Update.
7995 (get_probe_address): New function.
7996 (probe_safe_evaluate_at_pc): Update.
7997 * probe.h (struct probe_ops) <get_probe_address>: New field.
7998 <set_semaphore, clear_semaphore>: Add objfile parameter.
7999 (struct probe) <objfile>: Remove field.
8000 <arch>: New field.
8001 <address>: Update comment.
8002 (struct bound_probe): New.
8003 (find_probe_by_pc): Return a bound_probe.
8004 (get_probe_address): Declare.
8005 * solib-svr4.c (struct probe_and_action) <address>: New field.
8006 (hash_probe_and_action, equal_probe_and_action): Update.
8007 (register_solib_event_probe): Add address parameter.
8008 (solib_event_probe_at): Update.
8009 (svr4_create_probe_breakpoints): Add objfile parameter. Use
8010 get_probe_address.
8011 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
8012 (stap_get_probe_address): New function.
8013 (stap_can_evaluate_probe_arguments, compute_probe_arg)
8014 (compile_probe_arg): Update.
8015 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
8016 address.
8017 (handle_stap_probe): Don't relocate the probe.
8018 (stap_relocate): Remove.
8019 (stap_gen_info_probes_table_values): Update.
8020 (stap_probe_ops): Remove stap_relocate.
8021 * symfile-debug.c (debug_sym_relocate_probe): Remove.
8022 (debug_sym_probe_fns): Update.
8023 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
8024 * symtab.c (init_sal): Use memset.
8025 * symtab.h (struct symtab_and_line) <objfile>: New field.
8026 * tracepoint.c (start_tracing, stop_tracing): Update.
8027
ff887920
TT
80282014-03-03 Tom Tromey <tromey@redhat.com>
8029
8030 * probe.h (parse_probes, find_probe_by_pc)
8031 (find_probes_in_objfile): Fix comments.
8032
f0407826
DE
80332014-03-02 Doug Evans <xdje42@gmail.com>
8034
8035 * infrun.c (handle_signal_stop): Replace test for
8036 TARGET_WAITKIND_STOPPED with an assert.
8037
35e6a711
DE
80382014-03-02 Doug Evans <xdje42@gmail.com>
8039
8040 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
8041
667f9d0b
DE
80422014-03-02 Doug Evans <xdje42@gmail.com>
8043
8044 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
8045
dc92ace0
MK
80462014-03-01 Mark Kettenis <kettenis@gnu.org>
8047
8048 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
8049
a900370f
MK
80502014-03-01 Mark Kettenis <kettenis@gnu.org>
8051
8052 * i386obsd-nat.c: Include "obsd-nat.h".
8053 (_initialize_i386obsd_nat): Call obsd_add_target instead of
8054 add_target.
8055 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
8056
b72a7981
MK
80572014-03-01 Mark Kettenis <kettenis@gnu.org>
8058
8059 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
8060
96c70aba
MK
80612014-03-01 Mark Kettenis <kettenis@gnu.org>
8062
8063 * mips64obsd-nat.c: Include "obsd-nath".
8064 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
8065 add_target
8066 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
8067
874a80af
MK
80682014-03-01 Mark Kettenis <kettenis@gnu.org>
8069
8fd408f1
MK
8070 * amd64obsd-nat.c: Include "obsd-nat,h.
8071 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
8072 add_target.
874a80af
MK
8073 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
8074
9cf95373
SC
80752014-02-28 Siva Chandra Reddy <sivachandra@google.com>
8076
8077 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
8078 (find_overload_match): Update call to find_oload_champ.
8079 (find_oload_champ_namespace_loop): Likewise
8080
863e4da4
MK
80812014-02-28 Mark Kettenis <kettenis@gnu.org>
8082
025cac40
MK
8083 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
8084
1ed586ce
MK
8085 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
8086 * config/sparc/obsd64.mh: New file.
8087 * sparc64obsd-nat.c: New file.
8088
863e4da4
MK
8089 * obsd-nat.h: New file.
8090 * obsd-nat.c: New file.
8091 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
8092 (ALLDEPFILES): Add obsd-nat.c.
8093
89de4da4
TT
80942014-02-28 Tom Tromey <tromey@redhat.com>
8095
8096 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
8097 * cli-out.h (cli_ui_out_impl): Now const.
8098 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
8099 * ui-out.c (struct ui_out) <impl>: Now const.
8100 (default_ui_out_impl): Now const.
8101 (ui_out_new): Make 'impl' parameter const.
8102 * ui-out.h (ui_out_new): Update.
8103
c725e7b6
MK
81042014-02-27 Mark Kettenis <kettenis@gnu.org>
8105
8106 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
8107
670b46b3
MK
81082014-02-27 Mark Kettenis <kettenis@gnu.org>
8109
8110 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
8111
c91550fc
JK
81122014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8113
8114 Additional PR 8882 fix.
8115 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
8116
2fa0369e
PA
81172014-02-27 Pedro Alves <palves@redhat.com>
8118
8119 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
8120 isn't set.
8121
d632a097
PA
81222014-02-27 Pedro Alves <palves@redhat.com>
8123
8124 PR 12702
8125 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
8126 * nat/linux-waitpid.c: Include string.h.
8127 (status_to_str): Moved here and made extern.
8128 * nat/linux-waitpid.h (status_to_str): New declaration.
8129
2ebd5a35
HZ
81302014-02-27 Hui Zhu <hui@codesourcery.com>
8131
8132 PR 12702
8133 * infrun.c (ptid_match): Move ...
8134 * common/ptid.c (ptid_match): ... here.
8135 * inferior.h (ptid_match): Move ...
8136 * common/ptid.h (ptid_match): ... here.
8137
3cdd631f
MK
81382014-02-27 Mark Kettenis <kettenis@gnu.org>
8139
8140 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
8141 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
8142 gdb_target_obs.
8143
bee30a64
MK
81442014-02-27 Mark Kettenis <kettenis@gnu.org>
8145
8146 * obsd-tdep.c (obsd_auxv_parse): New function.
8147 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
8148
8149 * gdbarch.sh (auxv_parse): New.
8150 * gdbarch.h: Regenerated.
8151 * gdbarch.c: Regenerated.
8152 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
8153
7a5a839f
LC
81542014-02-26 Ludovic Courtès <ludo@gnu.org>
8155
8156 * guile/scm-value.c (gdbscm_history_append_x): New function.
8157 (value_functions): Add it.
8158
31aa7e4e
JB
81592014-02-27 Joel Brobecker <brobecker@adacore.com>
8160
8161 * dwarf2read.c (attr_value_as_address): New function.
8162 (dwarf2_find_base_address, read_call_site_scope): Use
8163 attr_value_as_address in place of DW_ADDR.
8164 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
8165 the low and high addresses. Slight rework of the handling
8166 of the high pc being a constant form, and limit it to
8167 DWARF verson 4 or higher.
8168 (dwarf2_record_block_ranges): Likewise.
8169 (read_partial_die): Likewise.
8170 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
8171
9b333ba3
TT
81722014-02-26 Tom Tromey <tromey@redhat.com>
8173
8174 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
8175
5f6cac40
TT
81762014-02-26 Tom Tromey <tromey@redhat.com>
8177
8178 * elfread.c (elf_read_minimal_symbols): Return early if
8179 minimal symbols have already been read. Add "ei" parameter.
8180 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
8181 * minsyms.c (prim_record_minimal_symbol_full): Update.
8182 * objfiles.h (struct objstats) <n_minsyms>: Move...
8183 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
8184 * symmisc.c (print_objfile_statistics): Update.
8185
2750ef27
TT
81862014-02-26 Tom Tromey <tromey@redhat.com>
8187
8188 * elfread.c (elf_read_minimal_symbols): New function, from
8189 elf_symfile_read.
8190 (elf_symfile_read): Call it.
8191
34643a32
TT
81922014-02-26 Tom Tromey <tromey@redhat.com>
8193
8194 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
8195 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
8196 (lookup_minimal_symbol_solib_trampoline)
8197 (lookup_minimal_symbol_by_pc_section_1)
8198 (lookup_minimal_symbol_and_objfile): Update.
8199 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
8200 Don't allocate a minimal symbol if minsyms have already been read.
8201 (build_minimal_symbol_hash_tables): Update.
8202 (install_minimal_symbols): Do nothing if minsyms already read.
8203 Use the per-BFD obstack.
8204 (terminate_minimal_symbol_table): Use the per-BFD obstack.
8205 * objfiles.c (allocate_objfile): Call
8206 terminate_minimal_symbol_table later.
8207 (have_minimal_symbols): Update.
8208 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
8209 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
8210 Move from struct objfile.
8211 <minsyms_read>: New field.
8212 (struct objfile) <msymbols, minimal_symbol_count,
8213 msymbol_hash, msymbol_demangled_hash>: Move.
8214 (ALL_OBJFILE_MSYMBOLS): Update.
8215 * symfile.c (read_symbols): Set minsyms_read.
8216 (reread_symbols): Update.
8217 * symmisc.c (dump_objfile, dump_msymbols): Update.
8218
2273f0ac
TT
82192014-02-26 Tom Tromey <tromey@redhat.com>
8220
8221 * minsyms.c (msymbols_sort): Remove.
8222 * minsyms.h (msymbols_sort): Remove.
8223 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
8224 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
8225 * elfread.c (elf_symtab_read): Don't add section offsets.
8226 * xcoffread.c (record_minimal_symbol): Don't add section offset
8227 to minimal symbol address.
8228 * somread.c (text_offset, data_offset): Remove.
8229 (som_symtab_read): Don't add section offsets to minimal symbol
8230 addresses.
8231 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
8232 Don't add section offsets to minimal symbols.
8233 * coffread.c (coff_symtab_read): Don't add section offsets
8234 to minimal symbol addresses.
8235 * machoread.c (macho_symtab_add_minsym): Don't add section offset
8236 to minimal symbol addresses.
8237 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
8238 section offset to minimal symbol addresses.
8239 * mdebugread.c (parse_partial_symbols): Don't add section
8240 offset to minimal symbol addresses.
8241 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
8242 offset to minimal symbol addresses.
8243
77e371c0
TT
82442014-02-26 Tom Tromey <tromey@redhat.com>
8245
8246 * ada-lang.c (ada_main_name): Update.
8247 (ada_add_standard_exceptions): Update.
8248 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
8249 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8250 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
8251 * auxv.c (ld_so_xfer_auxv): Update.
8252 * avr-tdep.c (avr_scan_prologue): Update.
8253 * ax-gdb.c (gen_var_ref): Update.
8254 * blockframe.c (get_pc_function_start)
8255 (find_pc_partial_function_gnu_ifunc): Update.
8256 * breakpoint.c (create_overlay_event_breakpoint)
8257 (create_longjmp_master_breakpoint)
8258 (create_std_terminate_master_breakpoint)
8259 (create_exception_master_breakpoint): Update.
8260 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8261 * c-valprint.c (c_val_print): Update.
8262 * coff-pe-read.c (add_pe_forwarded_sym): Update.
8263 * common/agent.c (agent_look_up_symbols): Update.
8264 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
8265 * dwarf2loc.c (call_site_to_target_addr): Update.
8266 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
8267 * elfread.c (elf_gnu_ifunc_record_cache)
8268 (elf_gnu_ifunc_resolve_by_got): Update.
8269 * findvar.c (default_read_var_value): Update.
8270 * frame.c (inside_main_func): Update.
8271 * frv-tdep.c (frv_frame_this_id): Update.
8272 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8273 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
8274 Update.
8275 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
8276 (hppa_hpux_find_dummy_bpaddr): Update.
8277 * hppa-tdep.c (hppa_symbol_address): Update.
8278 * infcmd.c (until_next_command): Update.
8279 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
8280 Update.
8281 * linespec.c (minsym_found, add_minsym): Update.
8282 * linux-nat.c (get_signo): Update.
8283 * linux-thread-db.c (inferior_has_bug): Update.
8284 * m32c-tdep.c (m32c_return_value)
8285 (m32c_m16c_address_to_pointer): Update.
8286 * m32r-tdep.c (m32r_frame_this_id): Update.
8287 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8288 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8289 * maint.c (maintenance_translate_address): Update.
8290 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
8291 (frob_address): New function.
8292 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
8293 frob_address. Rename parameter to "pc_in".
8294 (compare_minimal_symbols, compact_minimal_symbols): Use raw
8295 addresses.
8296 (find_solib_trampoline_target, minimal_symbol_upper_bound):
8297 Update.
8298 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8299 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
8300 * objc-lang.c (find_objc_msgsend): Update.
8301 * objfiles.c (objfile_relocate1): Update.
8302 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8303 * p-valprint.c (pascal_val_print): Update.
8304 * parse.c (write_exp_msymbol): Update.
8305 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
8306 (ppc_elfv2_skip_entrypoint): Update.
8307 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8308 * printcmd.c (build_address_symbolic, msym_info)
8309 (address_info): Update.
8310 * proc-service.c (ps_pglobal_lookup): Update.
8311 * psymtab.c (find_pc_sect_psymtab_closer)
8312 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
8313 Change msymbol parameter to bound_minimal_symbol.
8314 * ravenscar-thread.c (get_running_thread_id): Update.
8315 * remote.c (remote_check_symbols): Update.
8316 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
8317 address.
8318 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8319 * solib-dsbt.c (lm_base): Update.
8320 * solib-frv.c (lm_base, main_got): Update.
8321 * solib-irix.c (locate_base): Update.
8322 * solib-som.c (som_solib_create_inferior_hook)
8323 (link_map_start): Update.
8324 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
8325 * solib-svr4.c (elf_locate_base, enable_break): Update.
8326 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
8327 (flush_ea_cache): Update.
8328 * stabsread.c (define_symbol, scan_file_globals): Update.
8329 * stack.c (find_frame_funname): Update.
8330 * symfile-debug.c (debug_qf_expand_symtabs_matching)
8331 (debug_qf_find_pc_sect_symtab): Update.
8332 * symfile.c (simple_read_overlay_table)
8333 (simple_overlay_update): Update.
8334 * symfile.h (struct quick_symbol_functions)
8335 <find_pc_sect_symtab>: Change type of msymbol to
8336 bound_minimal_symbol.
8337 * symmisc.c (dump_msymbols): Update.
8338 * symtab.c (find_pc_sect_symtab_via_partial)
8339 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
8340 (search_symbols, print_msymbol_info): Update.
8341 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
8342 (MSYMBOL_VALUE_ADDRESS): Redefine.
8343 (BMSYMBOL_VALUE_ADDRESS): New macro.
8344 * tracepoint.c (scope_info): Update.
8345 * tui/tui-disasm.c (tui_find_disassembly_address)
8346 (tui_get_begin_asm_address): Update.
8347 * valops.c (find_function_in_inferior): Update.
8348 * value.c (value_static_field, value_fn_field): Update.
8349
3b7344d5
TT
83502014-02-26 Tom Tromey <tromey@redhat.com>
8351
8352 * ada-lang.c (ada_update_initial_language): Update.
8353 (ada_main_name, ada_has_this_exception_support): Update.
8354 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
8355 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8356 * arm-tdep.c (arm_skip_stub): Update.
8357 * auxv.c (ld_so_xfer_auxv): Update.
8358 * avr-tdep.c (avr_scan_prologue): Update.
8359 * ax-gdb.c (gen_var_ref): Update.
8360 * breakpoint.c (struct breakpoint_objfile_data)
8361 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
8362 type to bound_minimal_symbol.
8363 (create_overlay_event_breakpoint)
8364 (create_longjmp_master_breakpoint)
8365 (create_std_terminate_master_breakpoint)
8366 (create_exception_master_breakpoint): Update.
8367 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8368 * c-exp.y (classify_name): Update.
8369 * coffread.c (coff_symfile_read): Update.
8370 * common/agent.c (agent_look_up_symbols): Update.
8371 * d-lang.c (d_main_name): Update.
8372 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
8373 * dec-thread.c (enable_dec_thread): Update.
8374 * dwarf2loc.c (call_site_to_target_addr): Update.
8375 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
8376 * eval.c (evaluate_subexp_standard): Update.
8377 * findvar.c (struct minsym_lookup_data) <result>: Change type
8378 to bound_minimal_symbol.
8379 <objfile>: Remove.
8380 (minsym_lookup_iterator_cb, default_read_var_value): Update.
8381 * frame.c (inside_main_func): Update.
8382 * frv-tdep.c (frv_frame_this_id): Update.
8383 * gcore.c (call_target_sbrk): Update.
8384 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8385 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
8386 Update.
8387 * go-lang.c (go_main_name): Update.
8388 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
8389 (hppa_hpux_find_import_stub_for_addr): Update.
8390 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
8391 Update. Change return type.
8392 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
8393 type.
8394 * jit.c (jit_breakpoint_re_set_internal): Update.
8395 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
8396 Update.
8397 * linux-nat.c (get_signo): Update.
8398 * linux-thread-db.c (inferior_has_bug): Update
8399 * m32c-tdep.c (m32c_return_value)
8400 (m32c_m16c_address_to_pointer): Update.
8401 * m32r-tdep.c (m32r_frame_this_id): Update.
8402 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8403 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8404 * minsyms.c (lookup_minimal_symbol_internal): Rename to
8405 lookup_minimal_symbol. Change return type.
8406 (lookup_minimal_symbol): Remove.
8407 (lookup_bound_minimal_symbol): Update.
8408 (lookup_minimal_symbol_text): Change return type.
8409 (lookup_minimal_symbol_solib_trampoline): Change return type.
8410 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
8411 (lookup_minimal_symbol_solib_trampoline): Change return type.
8412 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8413 * objc-lang.c (lookup_objc_class, lookup_child_selector)
8414 (value_nsstring, find_imps): Update.
8415 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8416 * p-lang.c (pascal_main_name): Update.
8417 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
8418 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8419 * proc-service.c (ps_pglobal_lookup): Update.
8420 * ravenscar-thread.c (get_running_thread_msymbol): Change
8421 return type.
8422 (has_ravenscar_runtime, get_running_thread_id): Update.
8423 * remote.c (remote_check_symbols): Update.
8424 * sol-thread.c (ps_pglobal_lookup): Update.
8425 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8426 * solib-dsbt.c (lm_base): Update.
8427 * solib-frv.c (lm_base, frv_relocate_section_addresses):
8428 Update.
8429 * solib-irix.c (locate_base): Update.
8430 * solib-som.c (som_solib_create_inferior_hook)
8431 (som_solib_desire_dynamic_linker_symbols, link_map_start):
8432 Update.
8433 * solib-spu.c (spu_enable_break): Update.
8434 * solib-svr4.c (elf_locate_base, enable_break): Update.
8435 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
8436 (flush_ea_cache): Update.
8437 * stabsread.c (define_symbol): Update.
8438 * symfile.c (simple_read_overlay_table): Update.
8439 * symtab.c (find_pc_sect_line): Update.
8440 * tracepoint.c (scope_info): Update.
8441 * tui-disasm.c (tui_get_begin_asm_address): Update.
8442 * value.c (value_static_field): Update.
8443
40c1a007
TT
84442014-02-26 Tom Tromey <tromey@redhat.com>
8445
8446 * minsyms.c (prim_record_minimal_symbol_full): Use
8447 SET_MSYMBOL_VALUE_ADDRESS.
8448 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
8449 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
8450 SET_MSYMBOL_VALUE_ADDRESS.
8451 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
8452 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
8453
efd66ac6
TT
84542014-02-26 Tom Tromey <tromey@redhat.com>
8455
8456 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
8457 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
8458 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
8459 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
8460 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
8461 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
8462 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
8463 * ada-lang.c (ada_main_name): Update.
8464 (ada_lookup_simple_minsym): Update.
8465 (ada_make_symbol_completion_list): Update.
8466 (ada_add_standard_exceptions): Update.
8467 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
8468 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8469 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
8470 * arm-tdep.c (skip_prologue_function): Update.
8471 (arm_skip_stack_protector, arm_skip_stub): Update.
8472 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
8473 (arm_wince_skip_main_prologue): Update.
8474 * auxv.c (ld_so_xfer_auxv): Update.
8475 * avr-tdep.c (avr_scan_prologue): Update.
8476 * ax-gdb.c (gen_var_ref): Update.
8477 * block.c (call_site_for_pc): Update.
8478 * blockframe.c (get_pc_function_start): Update.
8479 (find_pc_partial_function_gnu_ifunc): Update.
8480 * breakpoint.c (create_overlay_event_breakpoint): Update.
8481 (create_longjmp_master_breakpoint): Update.
8482 (create_std_terminate_master_breakpoint): Update.
8483 (create_exception_master_breakpoint): Update.
8484 (resolve_sal_pc): Update.
8485 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8486 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
8487 Update.
8488 * c-valprint.c (c_val_print): Update.
8489 * coff-pe-read.c (add_pe_forwarded_sym): Update.
8490 * coffread.c (coff_symfile_read): Update.
8491 * common/agent.c (agent_look_up_symbols): Update.
8492 * dbxread.c (find_stab_function_addr): Update.
8493 (end_psymtab): Update.
8494 * dwarf2loc.c (call_site_to_target_addr): Update.
8495 (func_verify_no_selftailcall): Update.
8496 (tailcall_dump): Update.
8497 (call_site_find_chain_1): Update.
8498 (dwarf_expr_reg_to_entry_parameter): Update.
8499 * elfread.c (elf_gnu_ifunc_record_cache): Update.
8500 (elf_gnu_ifunc_resolve_by_got): Update.
8501 * f-valprint.c (info_common_command): Update.
8502 * findvar.c (read_var_value): Update.
8503 * frame.c (get_prev_frame_1): Update.
8504 (inside_main_func): Update.
8505 * frv-tdep.c (frv_skip_main_prologue): Update.
8506 (frv_frame_this_id): Update.
8507 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8508 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
8509 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
8510 (gnuv3_skip_trampoline): Update.
8511 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
8512 (hppa64_hpux_in_solib_call_trampoline): Update.
8513 (hppa_hpux_skip_trampoline_code): Update.
8514 (hppa64_hpux_search_dummy_call_sequence): Update.
8515 (hppa_hpux_find_import_stub_for_addr): Update.
8516 (hppa_hpux_find_dummy_bpaddr): Update.
8517 * hppa-tdep.c (hppa_symbol_address)
8518 (hppa_lookup_stub_minimal_symbol): Update.
8519 * i386-tdep.c (i386_skip_main_prologue): Update.
8520 (i386_pe_skip_trampoline_code): Update.
8521 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
8522 * infcall.c (get_function_name): Update.
8523 * infcmd.c (until_next_command): Update.
8524 * jit.c (jit_breakpoint_re_set_internal): Update.
8525 (jit_inferior_init): Update.
8526 * linespec.c (minsym_found): Update.
8527 (add_minsym): Update.
8528 * linux-fork.c (info_checkpoints_command): Update.
8529 * linux-nat.c (get_signo): Update.
8530 * linux-thread-db.c (inferior_has_bug): Update.
8531 * m32c-tdep.c (m32c_return_value): Update.
8532 (m32c_m16c_address_to_pointer): Update.
8533 (m32c_m16c_pointer_to_address): Update.
8534 * m32r-tdep.c (m32r_frame_this_id): Update.
8535 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8536 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8537 * maint.c (maintenance_translate_address): Update.
8538 * minsyms.c (add_minsym_to_hash_table): Update.
8539 (add_minsym_to_demangled_hash_table): Update.
8540 (msymbol_objfile): Update.
8541 (lookup_minimal_symbol): Update.
8542 (iterate_over_minimal_symbols): Update.
8543 (lookup_minimal_symbol_text): Update.
8544 (lookup_minimal_symbol_by_pc_name): Update.
8545 (lookup_minimal_symbol_solib_trampoline): Update.
8546 (lookup_minimal_symbol_by_pc_section_1): Update.
8547 (lookup_minimal_symbol_and_objfile): Update.
8548 (prim_record_minimal_symbol_full): Update.
8549 (compare_minimal_symbols): Update.
8550 (compact_minimal_symbols): Update.
8551 (build_minimal_symbol_hash_tables): Update.
8552 (install_minimal_symbols): Update.
8553 (terminate_minimal_symbol_table): Update.
8554 (find_solib_trampoline_target): Update.
8555 (minimal_symbol_upper_bound): Update.
8556 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8557 * mips-tdep.c (mips_stub_frame_sniffer): Update.
8558 (mips_skip_pic_trampoline_code): Update.
8559 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
8560 * objc-lang.c (selectors_info): Update.
8561 (classes_info): Update.
8562 (find_methods): Update.
8563 (find_imps): Update.
8564 (find_objc_msgsend): Update.
8565 * objfiles.c (objfile_relocate1): Update.
8566 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
8567 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8568 * p-valprint.c (pascal_val_print): Update.
8569 * parse.c (write_exp_msymbol): Update.
8570 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
8571 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
8572 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8573 * printcmd.c (build_address_symbolic): Update.
8574 (sym_info): Update.
8575 (address_info): Update.
8576 * proc-service.c (ps_pglobal_lookup): Update.
8577 * psymtab.c (find_pc_sect_psymtab_closer): Update.
8578 (find_pc_sect_psymtab): Update.
8579 * python/py-framefilter.c (py_print_frame): Update.
8580 * ravenscar-thread.c (get_running_thread_id): Update.
8581 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
8582 Update.
8583 * remote.c (remote_check_symbols): Update.
8584 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
8585 (rs6000_skip_trampoline_code): Update.
8586 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
8587 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8588 * solib-dsbt.c (lm_base): Update.
8589 * solib-frv.c (lm_base): Update.
8590 (main_got): Update.
8591 * solib-irix.c (locate_base): Update.
8592 * solib-som.c (som_solib_create_inferior_hook): Update.
8593 (som_solib_desire_dynamic_linker_symbols): Update.
8594 (link_map_start): Update.
8595 * solib-spu.c (spu_enable_break): Update.
8596 (ocl_enable_break): Update.
8597 * solib-svr4.c (elf_locate_base): Update.
8598 (enable_break): Update.
8599 * spu-tdep.c (spu_get_overlay_table): Update.
8600 (spu_catch_start): Update.
8601 (flush_ea_cache): Update.
8602 * stabsread.c (define_symbol): Update.
8603 (scan_file_globals): Update.
8604 * stack.c (find_frame_funname): Update.
8605 (frame_info): Update.
8606 * symfile.c (simple_read_overlay_table): Update.
8607 (simple_overlay_update): Update.
8608 * symmisc.c (dump_msymbols): Update.
8609 * symtab.c (fixup_section): Update.
8610 (find_pc_sect_line): Update.
8611 (skip_prologue_sal): Update.
8612 (search_symbols): Update.
8613 (print_msymbol_info): Update.
8614 (rbreak_command): Update.
8615 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
8616 (completion_list_objc_symbol): Update.
8617 (default_make_symbol_completion_list_break_on): Update.
8618 * tracepoint.c (scope_info): Update.
8619 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
8620 (tui_get_begin_asm_address): Update.
8621 * valops.c (find_function_in_inferior): Update.
8622 * value.c (value_static_field): Update.
8623 (value_fn_field): Update.
8624
50e65b17
TT
86252014-02-26 Tom Tromey <tromey@redhat.com>
8626
8627 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
8628 bound minimal symbols. Move code that knows about minsym
8629 table layout...
8630 * minsyms.c (minimal_symbol_upper_bound): ... here. New
8631 function.
8632 * minsyms.h (minimal_symbol_upper_bound): Declare.
8633 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
8634 minimal_symbol_upper_bound.
8635
1b588015
JB
86362014-02-27 Joel Brobecker <brobecker@adacore.com>
8637
8638 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
8639 Use the type's name if its basic type does not have a tag.
8640
dbb9c2b1
JB
86412014-02-27 Joel Brobecker <brobecker@adacore.com>
8642
8643 * dwarf2read.c (read_subrange_type): Add comment.
8644
55426c9d
JB
86452014-02-27 Joel Brobecker <brobecker@adacore.com>
8646
8647 * dwarf2read.c (update_enumeration_type_from_children): New
8648 function, mostly extracted from process_structure_scope.
8649 (read_enumeration_type): Call update_enumeration_type_from_children.
8650 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
8651 and flag_flag_enum fields.
8652
f2fce0ca
PA
86532014-02-26 Pedro Alves <palves@redhat.com>
8654
8655 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
8656 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
8657 to_xfer_partial method.
8658
7a44e40e
PA
86592014-02-26 Pedro Alves <palves@redhat.com>
8660
8661 * target.c (complete_target_initialization): Don't install
8662 default_xfer_partial as to_xfer_partial hook.
8663 (nomemory): Delete.
8664 (update_current_target): Don't INHERIT nor de_fault
8665 deprecated_xfer_memory. Delete de_fault macro.
8666 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
8667 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
8668 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
8669 field.
8670
bd265cd0
PA
86712014-02-26 Pedro Alves <palves@redhat.com>
8672
8673 * go32-nat.c (my_write_child): New function.
8674 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
8675 (go32_xfer_partial): New function.
8676 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
8677 Instead install a to_xfer_partial hook.
8678
9d46c4e5
PA
86792014-02-26 Pedro Alves <palves@redhat.com>
8680
8681 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
8682 to_xfer_partial helper. Rewrite.
8683 (procfs_xfer_partial): New function.
8684 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
8685 Install a to_xfer_partial hook.
8686
a1583b1f
PA
86872014-02-26 Pedro Alves <palves@redhat.com>
8688
8689 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
8690 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
8691 (m32r_xfer_partial): New function.
8692 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
8693 Install a to_xfer_partial hook.
8694
6df1b29f
PA
86952014-02-26 Pedro Alves <palves@redhat.com>
8696
8697 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
8698 helper.
8699 (mips_xfer_partial): New function.
8700 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
8701 hook. Install a to_xfer_partial hook.
8702
dc53a7ad
JB
87032014-02-26 Joel Brobecker <brobecker@adacore.com>
8704
8705 * gdbtypes.h (create_array_type_with_stride): Add declaration.
8706 * gdbtypes.c (create_array_type_with_stride): New function,
8707 renaming create_array_type, but with an added parameter
8708 called "bit_stride".
8709 (create_array_type): Re-implement using
8710 create_array_type_with_stride.
8711 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
8712 and DW_AT_bit_stride attributes.
8713
12ab52e9
PA
87142014-02-26 Pedro Alves <palves@redhat.com>
8715
8716 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
8717 task-specific breakpoints.
8718
d16461ae
PA
87192014-02-25 Pedro Alves <palves@redhat.com>
8720
8721 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
8722 handling of object == TARGET_OBJECT_UNWIND_TABLE.
8723
a8b16220
SS
87242014-02-25 Stan Shebs <stan@codesourcery.com>
8725
8726 * defs.h: Annotate comments for Doxygen.
8727
b9e795ee
TT
87282014-02-25 Tom Tromey <tromey@redhat.com>
8729
8730 * target.h (target_ignore): Don't declare.
8731 * target.c (target_ignore): Remove.
8732
849c862e
JK
87332014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8734
8735 PR gdb/16626
8736 * auto-load.c (auto_load_objfile_script_1): Change filename to
8737 debugfile.
8738
475109d8
JB
87392014-02-25 Joel Brobecker <brobecker@adacore.com>
8740
8741 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
8742 documentation. Adjust prototype to match the target_ops
8743 to_xfer_partial method. Adjust implementation accordingly.
8744
e186c3bd
HZ
87452014-02-25 Hui Zhu <hui@codesourcery.com>
8746
8747 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
8748 to_traceframe_info.
8749
6d451942
KB
87502014-02-25 Kevin Buettner <kevinb@redhat.com>
8751
041ab8b4 8752 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
8753 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
8754 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
8755 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
8756 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
8757 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
8758 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
8759 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
8760 New constants.
8761 (rl78_register_type): Use a data pointer type for SP and
8762 new pseudo registers mentioned above. Use a 16 bit integer
8763 type for all other register pairs.
8764 (rl78_register_name, rl78_g10_register_name): Update for
8765 new pseudo registers.
8766 (rl78_pseudo_register_read): Likewise.
8767 (rl78_pseudo_register_write): Likewise.
8768 (rl78_dwarf_reg_to_regnum): Return register numbers representing
8769 to the newly added pseudo registers.
8770
eddf0bae
DE
87712014-02-24 Doug Evans <dje@google.com>
8772
8773 * value.c (record_latest_value): Fix comment.
8774 * printcmd.c (print_command_1): Remove code to handle -1 return from
8775 record_latest_value.
8776
e96027e0
PA
87772014-02-24 Pedro Alves <palves@redhat.com>
8778
8779 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
8780 deprecated_xfer_memory hook.
8781 (procfs_xfer_partial): Call procfs_xfer_memory instead
8782 of the deprecated_xfer_memory target hook.
8783 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
8784 helper.
8785
0837c976
YZ
87862014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
8787
8788 * windows-nat.c (windows_xfer_shared_libraries): Return
8789 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
8790 requested object is TARGET_OBJECT_LIBRARIES.
8791
bc113b4e
YQ
87922014-02-24 Yao Qi <yao@codesourcery.com>
8793
8794 * target.h (enum target_xfer_status)
8795 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
8796 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
8797 explicitly. New.
8798 * corefile.c (memory_error_message): User updated.
8799 * exec.c (section_table_read_available_memory): Likewise.
8800 * record-btrace.c (record_btrace_xfer_partial): Likewise.
8801 * target.c (target_xfer_status_to_string): Likewise.
8802 (raw_memory_xfer_partial): Likewise.
8803 (memory_xfer_partial_1, target_xfer_partial): Likewise.
8804 * valops.c (read_value_memory): Likewise.
8805 * exec.h: Update comments.
8806
01cb8804
YQ
88072014-02-24 Yao Qi <yao@codesourcery.com>
8808
8809 * target.c (target_xfer_status_to_string): Rename argument err
8810 to status.
8811 * target.h (target_xfer_status_to_string): Update declaration.
8812 Replace target_xfer_error_to_string with
8813 target_xfer_status_to_string in comment.
8814
93063aa6
YQ
88152014-02-24 Yao Qi <yao@codesourcery.com>
8816
8817 * mips-linux-nat.c (super_close): Update its type.
8818 (mips_linux_close): Pass 'self' to super_close.
8819
5c328c05
YQ
88202014-02-24 Yao Qi <yao@codesourcery.com>
8821
8822 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
8823 * corefile.c (read_memory): Adjusted.
8824 * target.c (target_write_with_progress): Adjusted.
8825
f73023dd
YQ
88262014-02-23 Yao Qi <yao@codesourcery.com>
8827
8828 Revert two patches:
8829
8830 2013-10-25 Yao Qi <yao@codesourcery.com>
8831
8832 * remote.c (remote_traceframe_info): Return early if
8833 traceframe is not selected.
8834
8835 2013-07-19 Yao Qi <yao@codesourcery.com>
8836
8837 * target.c (update_current_target): Change the default action
8838 of 'to_traceframe_info' from tcomplain to return_zero.
8839 * target.h (struct target_ops) <to_traceframe_info>: Add more
8840 comments.
8841
5a2eb0ef
YQ
88422014-02-23 Yao Qi <yao@codesourcery.com>
8843
8844 * valops.c (read_value_memory): Rewrite it. Call
8845 target_xfer_partial in a loop.
8846 * exec.h (section_table_available_memory): Remove declaration.
8847 Move comments to ...
8848 * exec.c (section_table_available_memory): ... here. Make it
8849 static.
8850
1ee79381
YQ
88512014-02-23 Yao Qi <yao@codesourcery.com>
8852
8853 * exec.c (section_table_read_available_memory): New function.
8854 * exec.h (section_table_read_available_memory): Declare.
8855 * ctf.c (ctf_xfer_partial): Call
8856 section_table_read_available_memory.
8857 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8858
1ca49d37
YQ
88592014-02-23 Yao Qi <yao@codesourcery.com>
8860
8861 * ctf.c (ctf_xfer_partial): Move code to ...
8862 * exec.c (exec_read_partial_read_only): ... it. New function.
8863 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8864 * tracefile.c: Include "exec.h".
8865 * exec.h (exec_read_partial_read_only): Declare.
8866
a283690e
YQ
88672014-02-23 Yao Qi <yao@codesourcery.com>
8868
8869 * tracefile-tfile.c (tfile_has_all_memory): Remove.
8870 (tfile_has_memory): Remove.
8871 (init_tfile_ops): Don't set fields to_has_all_memory and
8872 to_has_memory of tfile_ops.
8873 * tracefile.c (tracefile_has_all_memory): New function.
8874 (tracefile_has_memory): New function.
8875 (init_tracefile_ops): Initialize fields to_has_all_memory and
8876 to_has_memory of 'ops'.
8877
12e03cd0
YQ
88782014-02-23 Yao Qi <yao@codesourcery.com>
8879
8880 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
8881 (ctf_thread_alive, ctf_get_trace_status): Remove.
8882 (init_ctf_ops): Don't set some fields of ctf_ops. Call
8883 init_tracefile_ops.
8884 * tracefile-tfile.c (tfile_get_trace_status): Remove.
8885 (tfile_has_stack, tfile_has_registers): Remove.
8886 (tfile_thread_alive): Remove.
8887 (init_tfile_ops): Don't set some fields of tfile_ops. Call
8888 init_tracefile_ops.
8889 * tracefile.c (tracefile_has_stack): New function.
8890 (tracefile_has_registers): New function.
8891 (tracefile_thread_alive): New function.
8892 (tracefile_get_trace_status): New function.
8893 (init_tracefile_ops): New function.
8894 * tracefile.h (init_tracefile_ops): Declare.
8895
11395323
YQ
88962014-02-23 Yao Qi <yao@codesourcery.com>
8897
8898 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
8899 (O_LARGEFILE): Likewise.
8900 (tfile_ops): Likewise.
8901 (TRACE_HEADER_SIZE): Likewise.
8902 (trace_fd, trace_frames_offset, cur_offset): Likewise.
8903 (cur_data_size): Likewise.
8904 (tfile_read, tfile_open, tfile_interp_line): Likewise.
8905 (tfile_close, tfile_files_info): Likewise.
8906 (tfile_get_trace_status): Likewise.
8907 (tfile_get_tracepoint_status): Likewise.
8908 (tfile_get_traceframe_address): Likewise.
8909 (tfile_trace_find, match_blocktype): Likewise.
8910 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
8911 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
8912 (tfile_get_trace_state_variable_value): Likewise.
8913 (tfile_has_all_memory, tfile_has_memory): Likewise.
8914 (tfile_has_stack, tfile_has_registers): Likewise.
8915 (tfile_thread_alive, build_traceframe_info): Likewise.
8916 (tfile_traceframe_info, init_tfile_ops): Likewise.
8917 (_initialize_tracepoint): Don't call init_tfile_ops
8918 and add_target_with_completer.
8919 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
8920 exec.h, completer.h and filenames.h.
8921 (_initialize_tracefile_tfile): New function.
8922
7951c4eb
YQ
89232014-02-23 Yao Qi <yao@codesourcery.com>
8924
8925 * Makefile.in (REMOTE_OBS): Append tracefile.o and
8926 tracefile-tfile.o.
8927 (HFILES_NO_SRCDIR): Add tracefile.h.
8928 * ctf.c: Include "tracefile.h".
8929 * tracefile.h: New file.
8930 * tracefile.c: New file
8931 * tracefile-tfile.c: New file.
8932 * tracepoint.c: Include "tracefile.h".
8933 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
8934 (stop_reason_names): Add const.
8935 (trace_file_writer_xfree): Move it to tracefile.c.
8936 (trace_save, trace_save_command, trace_save_tfile): Likewise.
8937 (trace_save_ctf): Likewise.
8938 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
8939 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
8940 (tfile_write_header, tfile_write_regblock_type): Likewise.
8941 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
8942 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
8943 (tfile_write_raw_data, tfile_end): Likewise.
8944 (tfile_trace_file_writer_new): Likewise.
8945 (free_uploaded_tp): Make it extern.
8946 (free_uploaded_tsv): Make it extern.
8947 (_initialize_tracepoint): Move code to register command 'tsave'
8948 to tracefile.c.
8949 * tracepoint.h (stop_reason_names): Declare.
8950 (struct trace_frame_write_ops): Move it to tracefile.h.
8951 (struct trace_file_write_ops): Likewise.
8952 (struct trace_file_writer): Likewise.
8953 (free_uploaded_tsvs, free_uploaded_tps): Declare.
8954
184cd072
JK
89552014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8956
8957 PR gdb/16594
8958 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
8959 process name.
8960 (get_cores_used_by_process): New parameter num_cores, use it.
8961 (linux_xfer_osdata_processes): Pass num_cores to it.
8962 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
8963 process name.
8964
c63528fc
AK
89652014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
8966
8967 * target.c (memory_xfer_partial): Fix length arg in call to
8968 breakpoint_xfer_memory.
8969
d7b30f67
SDJ
89702014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8971
8972 PR tdep/16397
8973 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
8974 number comes after the + or - signs. Adjust length of register
8975 name to be extracted.
8976
8838afaf
TT
89772014-02-20 Tom Tromey <tromey@redhat.com>
8978
8979 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
8980 (ada_varobj_ops): Mark "extern".
8981
05227d14
TT
89822014-02-20 Tom Tromey <tromey@redhat.com>
8983
8984 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
8985
1254eefc
DE
89862014-02-20 Doug Evans <xdje42@gmail.com>
8987
8988 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
8989 All callers updated.
8990 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
8991 All callers updated.
8992 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8993 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
8994
adde2bff
DE
89952014-02-20 lin zuojian <manjian2006@gmail.com>
8996 Joel Brobecker <brobecker@adacore.com>
8997 Doug Evans <xdje42@gmail.com>
8998
8999 PR symtab/16581
9000 * dwarf2read.c (struct die_info): New member in_process.
9001 (reset_die_in_process): New function.
9002 (process_die): Set it at the start, reset when returning.
9003 (inherit_abstract_dies): Only call process_die if origin_child_die
9004 not already being processed.
9005
3be75f87
JB
90062014-02-20 Joel Brobecker <brobecker@adacore.com>
9007
9008 * windows-nat.c (handle_unload_dll): Add function documentation.
9009 (do_initial_windows_stuff): Add comment explaining why we wait
9010 until after inferior initialization has finished before
9011 processing all DLLs.
9012
47f7ffdb
JB
90132014-02-20 Joel Brobecker <brobecker@adacore.com>
9014
9015 * windows-nat.c (get_module_name): Delete.
9016 (windows_get_exec_module_filename): New function, mostly
9017 inspired from get_module_name.
9018 (windows_pid_to_exec_file): Replace call to get_module_name
9019 by call to windows_get_exec_module_filename.
9020
1cd9feab
JB
90212014-02-20 Joel Brobecker <brobecker@adacore.com>
9022
9023 * windows-nat.c (handle_load_dll): Rewrite this function's
9024 introductory comment. Remove code using get_module_name
9025 to get the DLL's name.
9026
ea39ad35
JB
90272014-02-20 Joel Brobecker <brobecker@adacore.com>
9028
9029 * windows-nat.c (get_windows_debug_event): Ignore
9030 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
9031 if windows_initialization_done == 0.
9032 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
9033 Adjust implementation to always load all DLLs.
9034 (do_initial_windows_stuff): Replace call to
9035 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
9036
95060284
JB
90372014-02-20 Joel Brobecker <brobecker@adacore.com>
9038
9039 * windows-nat.c (_initialize_windows_nat): Deprecate the
9040 "dll-symbols" command. Turn the "add-shared-symbol-files"
9041 and "assf" aliases into commands, and deprecate them as well.
9042 * NEWS: Add entry explaining that "dll-symbols" and its two
9043 aliases are now deprecated.
9044
8d4fdb12
JB
90452014-02-20 Joel Brobecker <brobecker@adacore.com>
9046
9047 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
9048 new-line in debug string. Remove trailing spaces.
9049
1b281443
SS
90502014-02-19 Stan Shebs <stan@codesourcery.com>
9051
9052 * darwin-nat.c (darwin_xfer_partial): Fix return type.
9053
f7bd0f78
SC
90542014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9055
9056 * NEWS: Add entry for the new feature
9057 * python/py-value.c (valpy_binop): Call value_x_binop for struct
9058 and class values.
9059
399ebc3d
SS
90602014-02-19 Stan Shebs <stan@codesourcery.com>
9061
9062 * MAINTAINERS: List Yao Qi as nios2 maintainer.
9063
c658158d
PA
90642014-02-19 Pedro Alves <palves@redhat.com>
9065
9066 * common/ptid.h (struct ptid): Mention that process_stratum
9067 targets should prefer ptid.lwp.
9068
ba348170
PA
90692014-02-19 Pedro Alves <palves@redhat.com>
9070
9071 * remote.c (remote_thread_alive, write_ptid, read_ptid)
9072 (read_ptid, remote_newthread_step, remote_threads_extra_info)
9073 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
9074 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
9075 store remote thread ids rather than ptid.tid.
9076 (_initialize_remote): Adjust.
9077
ac01945b
TT
90782014-02-19 Tom Tromey <tromey@redhat.com>
9079
9080 * target.c (target_get_unwinder): Rewrite.
9081 (target_get_tailcall_unwinder): Rewrite.
9082 * record-btrace.c (record_btrace_to_get_unwinder): New function.
9083 (record_btrace_to_get_tailcall_unwinder): New function.
9084 (init_record_btrace_ops): Update.
9085 * target.h (struct target_ops) <to_get_unwinder,
9086 to_get_tailcall_unwinder>: Now function pointers. Use
9087 TARGET_DEFAULT_RETURN.
9088
8476dc92
TT
90892014-02-19 Tom Tromey <tromey@redhat.com>
9090
9091 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
9092 argument.
9093 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
9094
c0eca49f
TT
90952014-02-19 Tom Tromey <tromey@redhat.com>
9096
9097 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
9098 directly.
9099 * target-delegates.c: Rebuild.
9100 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
9101 TARGET_DEFAULT_FUNC.
9102 * target.c (default_target_decr_pc_after_break): Rename from
9103 forward_target_decr_pc_after_break. Simplify.
9104 (target_decr_pc_after_break): Rely on delegation.
9105
596b6b39
TT
91062014-02-19 Tom Tromey <tromey@redhat.com>
9107
9108 * target.c (update_current_target): Do not INHERIT to_doc or
9109 to_magic. Do not de_fault to_open or to_close.
9110
b427c1bc
TT
91112014-02-19 Tom Tromey <tromey@redhat.com>
9112
9113 * gcore.h (objfile_find_memory_regions): Declare.
9114 * gcore.c (objfile_find_memory_regions): No longer static. Add
9115 "self" argument.
9116 (_initialize_gcore): Don't call exec_set_find_memory_regions.
9117 * exec.c: Include gcore.h.
9118 (exec_set_find_memory_regions): Remove.
9119 (exec_find_memory_regions): Remove.
9120 (exec_do_find_memory_regions): Remove.
9121 (init_exec_ops): Update.
9122 * defs.h (exec_set_find_memory_regions): Remove.
9123
9b144037
TT
91242014-02-19 Tom Tromey <tromey@redhat.com>
9125
9126 * target-delegates.c: Rebuild.
9127 * target.h (struct target_ops) <to_extra_thread_info,
9128 to_thread_name, to_pid_to_exec_file, to_get_section_table,
9129 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
9130 not 0, in TARGET_DEFAULT_RETURN.
9131
555bbdeb
TT
91322014-02-19 Tom Tromey <tromey@redhat.com>
9133
9134 * target.c (complete_target_initialization): Remove casts. Use
9135 return_zero_has_execution.
9136 (return_zero): Add "ignore" argument.
9137 (return_zero_has_execution): New function.
9138 (init_dummy_target): Remove casts. Use
9139 return_zero_has_execution.
9140
be4ddd36
TT
91412014-02-19 Tom Tromey <tromey@redhat.com>
9142
9143 * target.c (update_current_target): Update comments. Do not
9144 INHERIT to_stratum.
9145
2117c711
TT
91462014-02-19 Tom Tromey <tromey@redhat.com>
9147
9148 * arm-linux-nat.c (arm_linux_read_description): Delegate when
9149 needed.
9150 * corelow.c (core_read_description): Delegate when needed.
9151 * remote.c (remote_read_description): Delegate when needed.
9152 * target-delegates.c: Rebuild.
9153 * target.c (target_read_description): Rewrite.
9154 * target.h (struct target_ops) <to_read_description>: Update
9155 comment. Use TARGET_DEFAULT_RETURN.
9156
e88ef65c
TT
91572014-02-19 Tom Tromey <tromey@redhat.com>
9158
9159 * target-delegates.c: Rebuild.
9160 * target.c (update_current_target): Don't inherit or default
9161 to_can_run.
9162 (find_default_run_target): Check against delegate_can_run.
9163 * target.h (struct target_ops) <to_can_run>: Use
9164 TARGET_DEFAULT_RETURN.
9165
86a0854a
TT
91662014-02-19 Tom Tromey <tromey@redhat.com>
9167
9168 * target-delegates.c: Rebuild.
9169 * target.c (target_disconnect): Unconditionally delegate.
9170 * target.h (struct target_ops) <to_disconnect>: Use
9171 TARGET_DEFAULT_NORETURN.
9172
ee97f592
TT
91732014-02-19 Tom Tromey <tromey@redhat.com>
9174
9175 * record.c (record_stop): Unconditionally delegate.
9176 * target-delegates.c: Rebuild.
9177 * target.c (target_stop_recording): Unconditionally delegate.
9178 * target.h (struct target_ops) <to_stop_recording>: Use
9179 TARGET_DEFAULT_IGNORE.
9180
6dc7fcf4
TT
91812014-02-19 Tom Tromey <tromey@redhat.com>
9182
9183 * target-delegates.c: Rebuild.
9184 * target.c (target_enable_btrace): Unconditionally delegate.
9185 * target.h (struct target_ops) <to_enable_btrace>: Use
9186 TARGET_DEFAULT_NORETURN.
9187
eb5b20d4
TT
91882014-02-19 Tom Tromey <tromey@redhat.com>
9189
9190 * target-delegates.c: Rebuild.
9191 * target.c (target_read_btrace): Unconditionally delegate.
9192 * target.h (struct target_ops) <to_read_btrace>: Use
9193 TARGET_DEFAULT_NORETURN.
9194
9ace480d
TT
91952014-02-19 Tom Tromey <tromey@redhat.com>
9196
9197 * target-delegates.c: Rebuild.
9198 * target.c (target_teardown_btrace): Unconditionally delegate.
9199 * target.h (struct target_ops) <to_teardown_btrace>: Use
9200 TARGET_DEFAULT_NORETURN.
9201
8dc292d3
TT
92022014-02-19 Tom Tromey <tromey@redhat.com>
9203
9204 * target-delegates.c: Rebuild.
9205 * target.c (target_disable_btrace): Unconditionally delegate.
9206 * target.h (struct target_ops) <to_disable_btrace>: Use
9207 TARGET_DEFAULT_NORETURN.
9208
58a5184e
TT
92092014-02-19 Tom Tromey <tromey@redhat.com>
9210
9211 * target-delegates.c: Rebuild.
9212 * target.c (default_search_memory): New function.
9213 (simple_search_memory): Update comment.
9214 (target_search_memory): Unconditionally delegate.
9215 * target.h (struct target_ops) <to_search_memory>: Use
9216 TARGET_DEFAULT_FUNC.
9217
8de71aab
TT
92182014-02-19 Tom Tromey <tromey@redhat.com>
9219
9220 * auxv.c (default_auxv_parse): No longer static.
9221 (target_auxv_parse): Unconditionally delegate.
9222 * auxv.h (default_auxv_parse): Declare.
9223 * target-delegates.c: Rebuild.
9224 * target.c: Include auxv.h.
9225 * target.h (struct target_ops) <to_auxv_parse>: Use
9226 TARGET_DEFAULT_FUNC.
9227
6b2c5a57
TT
92282014-02-19 Tom Tromey <tromey@redhat.com>
9229
9230 * target-delegates.c: Rebuild.
9231 * target.c (target_memory_map): Unconditionally delegate.
9232 * target.h (struct target_ops) <to_memory_map>: Use
9233 TARGET_DEFAULT_RETURN.
9234
cbffc065
TT
92352014-02-19 Tom Tromey <tromey@redhat.com>
9236
9237 * target-delegates.c: Rebuild.
9238 * target.c (target_thread_alive): Unconditionally delegate.
9239 * target.h (struct target_ops) <to_thread_alive>: Use
9240 TARGET_DEFAULT_RETURN.
9241
f09e2107
TT
92422014-02-19 Tom Tromey <tromey@redhat.com>
9243
9244 * target-delegates.c: Rebuild.
9245 * target.c (target_save_record): Unconditionally delegate.
9246 * target.h (struct target_ops) <to_save_record>: Use
9247 TARGET_DEFAULT_NORETURN.
9248
07366925
TT
92492014-02-19 Tom Tromey <tromey@redhat.com>
9250
9251 * target-delegates.c: Rebuild.
9252 * target.c (target_delete_record): Unconditionally delegate.
9253 * target.h (struct target_ops) <to_delete_record>: Use
9254 TARGET_DEFAULT_NORETURN.
9255
dd2e9d25
TT
92562014-02-19 Tom Tromey <tromey@redhat.com>
9257
9258 * target-delegates.c: Rebuild.
9259 * target.c (target_record_is_replaying): Unconditionally
9260 delegate.
9261 * target.h (struct target_ops) <to_record_is_replaying>: Use
9262 TARGET_DEFAULT_RETURN.
9263
671e76cc
TT
92642014-02-19 Tom Tromey <tromey@redhat.com>
9265
9266 * target-delegates.c: Rebuild.
9267 * target.c (target_goto_record_begin): Unconditionally delegate.
9268 * target.h (struct target_ops) <to_goto_record_begin>: Use
9269 TARGET_DEFAULT_NORETURN.
9270
e9179bb3
TT
92712014-02-19 Tom Tromey <tromey@redhat.com>
9272
9273 * target-delegates.c: Rebuild.
9274 * target.c (target_goto_record_end): Unconditionally delegate.
9275 * target.h (struct target_ops) <to_goto_record_end>: Use
9276 TARGET_DEFAULT_NORETURN.
9277
05969c84
TT
92782014-02-19 Tom Tromey <tromey@redhat.com>
9279
9280 * target-delegates.c: Rebuild.
9281 * target.c (target_goto_record): Unconditionally delegate.
9282 * target.h (struct target_ops) <to_goto_record>: Use
9283 TARGET_DEFAULT_NORETURN.
9284
3679abfa
TT
92852014-02-19 Tom Tromey <tromey@redhat.com>
9286
9287 * target-delegates.c: Rebuild.
9288 * target.c (target_insn_history): Unconditionally delegate.
9289 * target.h (struct target_ops) <to_insn_history>: Use
9290 TARGET_DEFAULT_NORETURN.
9291
8444ab58
TT
92922014-02-19 Tom Tromey <tromey@redhat.com>
9293
9294 * target-delegates.c: Rebuild.
9295 * target.c (target_insn_history_from): Unconditionally delegate.
9296 * target.h (struct target_ops) <to_insn_history_from>: Use
9297 TARGET_DEFAULT_NORETURN.
9298
c29302cc
TT
92992014-02-19 Tom Tromey <tromey@redhat.com>
9300
9301 * target-delegates.c: Rebuild.
9302 * target.c (target_insn_history_range): Unconditionally delegate.
9303 * target.h (struct target_ops) <to_insn_history_range>: Use
9304 TARGET_DEFAULT_NORETURN.
9305
170049d4
TT
93062014-02-19 Tom Tromey <tromey@redhat.com>
9307
9308 * target-delegates.c: Rebuild.
9309 * target.c (target_call_history): Unconditionally delegate.
9310 * target.h (struct target_ops) <to_call_history>: Use
9311 TARGET_DEFAULT_NORETURN.
9312
16fc27d6
TT
93132014-02-19 Tom Tromey <tromey@redhat.com>
9314
9315 * target-delegates.c: Rebuild.
9316 * target.c (target_call_history_from): Unconditionally delegate.
9317 * target.h (struct target_ops) <to_call_history_from>: Use
9318 TARGET_DEFAULT_NORETURN.
9319
115d9817
TT
93202014-02-19 Tom Tromey <tromey@redhat.com>
9321
9322 * target-delegates.c: Rebuild.
9323 * target.c (target_call_history_range): Unconditionally delegate.
9324 * target.h (struct target_ops) <to_call_history_range>: Use
9325 TARGET_DEFAULT_NORETURN.
9326
eb276a6b
TT
93272014-02-19 Tom Tromey <tromey@redhat.com>
9328
9329 * target-delegates.c: Rebuild.
9330 * target.c (target_verify_memory): Unconditionally delegate.
9331 * target.h (struct target_ops) <to_verify_memory>: Use
9332 TARGET_DEFAULT_NORETURN.
9333
9e538d0d
TT
93342014-02-19 Tom Tromey <tromey@redhat.com>
9335
9336 * target-delegates.c: Rebuild.
9337 * target.c (target_core_of_thread): Unconditionally delegate.
9338 * target.h (struct target_ops) <to_core_of_thread>: Use
9339 TARGET_DEFAULT_RETURN.
9340
f6fb2925
TT
93412014-02-19 Tom Tromey <tromey@redhat.com>
9342
9343 * target-delegates.c: Rebuild.
9344 * target.c (target_flash_done): Unconditionally delegate.
9345 * target.h (struct target_ops) <to_flash_done>: Use
9346 TARGET_DEFAULT_NORETURN.
9347
e8a6c6ac
TT
93482014-02-19 Tom Tromey <tromey@redhat.com>
9349
9350 * target-delegates.c: Rebuild.
9351 * target.c (target_flash_erase): Unconditionally delegate.
9352 * target.h (struct target_ops) <to_flash_erase>: Use
9353 TARGET_DEFAULT_NORETURN.
9354
7e35c012
TT
93552014-02-19 Tom Tromey <tromey@redhat.com>
9356
9357 * target-delegates.c: Rebuild.
9358 * target.c (target_get_section_table): Unconditionally delegate.
9359 * target.h (struct target_ops) <to_get_section_table>: Use
9360 TARGET_DEFAULT_RETURN.
9361
770234d3
TT
93622014-02-19 Tom Tromey <tromey@redhat.com>
9363
9364 * target-delegates.c: Rebuild.
9365 * target.c (target_pid_to_str): Unconditionally delegate.
9366 (init_dummy_target): Don't initialize to_pid_to_str.
9367 (default_pid_to_str): Rename from dummy_pid_to_str.
9368 * target.h (struct target_ops) <to_pid_to_str>: Use
9369 TARGET_DEFAULT_FUNC.
9370
09b0dc2b
TT
93712014-02-19 Tom Tromey <tromey@redhat.com>
9372
9373 * target-delegates.c: Rebuild.
9374 * target.c (target_find_new_threads): Unconditionally delegate.
9375 * target.h (struct target_ops) <to_find_new_threads>: Use
9376 TARGET_DEFAULT_RETURN.
9377
7d4f8efa
TT
93782014-02-19 Tom Tromey <tromey@redhat.com>
9379
9380 * target-delegates.c: Rebuild.
9381 * target.c (target_program_signals): Unconditionally delegate.
9382 * target.h (struct target_ops) <to_program_signals>: Use
9383 TARGET_DEFAULT_IGNORE.
9384
035cad7f
TT
93852014-02-19 Tom Tromey <tromey@redhat.com>
9386
9387 * target-delegates.c: Rebuild.
9388 * target.c (target_pass_signals): Unconditionally delegate.
9389 * target.h (struct target_ops) <to_pass_signals>: Use
9390 TARGET_DEFAULT_IGNORE.
9391
8d657035
TT
93922014-02-19 Tom Tromey <tromey@redhat.com>
9393
9394 * target-delegates.c: Rebuild.
9395 * target.c (default_mourn_inferior): New function.
9396 (target_mourn_inferior): Unconditionally delegate.
9397 * target.h (struct target_ops) <to_mourn_inferior>: Use
9398 TARGET_DEFAULT_FUNC.
9399
098dba18
TT
94002014-02-19 Tom Tromey <tromey@redhat.com>
9401
9402 * target-delegates.c: Rebuild.
9403 * target.c (default_follow_fork): New function.
9404 (target_follow_fork): Unconditionally delegate.
9405 * target.h (struct target_ops) <to_follow_fork>: Use
9406 TARGET_DEFAULT_FUNC.
9407
423a4807
TT
94082014-02-19 Tom Tromey <tromey@redhat.com>
9409
9410 * target-delegates.c: Rebuild.
9411 * target.c (target_kill): Unconditionally delegate.
9412 * target.h (struct target_ops) <to_kill>: Use
9413 TARGET_DEFAULT_NORETURN.
9414
6c7e5e5c
TT
94152014-02-19 Tom Tromey <tromey@redhat.com>
9416
9417 * target-delegates.c: Rebuild.
9418 * target.c (target_masked_watch_num_registers): Unconditionally
9419 delegate.
9420 * target.h (struct target_ops) <to_masked_watch_num_registers>:
9421 Use TARGET_DEFAULT_RETURN.
9422
8b1c364c
TT
94232014-02-19 Tom Tromey <tromey@redhat.com>
9424
9425 * target-delegates.c: Rebuild.
9426 * target.c (target_remove_mask_watchpoint): Unconditionally
9427 delegate.
9428 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
9429 TARGET_DEFAULT_RETURN.
9430
cd4ae029
TT
94312014-02-19 Tom Tromey <tromey@redhat.com>
9432
9433 * target-delegates.c: Rebuild.
9434 * target.c (target_insert_mask_watchpoint): Unconditionally
9435 delegate.
9436 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
9437 TARGET_DEFAULT_RETURN.
9438
a134316b
TT
94392014-02-19 Tom Tromey <tromey@redhat.com>
9440
9441 * target-delegates.c: Rebuild.
9442 * target.c (target_ranged_break_num_registers): Unconditionally
9443 delegate.
9444 * target.h (struct target_ops) <to_ranged_break_num_registers>:
9445 Use TARGET_DEFAULT_RETURN.
9446
ad5989bd
TT
94472014-02-19 Tom Tromey <tromey@redhat.com>
9448
9449 * target-delegates.c: Rebuild.
9450 * target.c (target_fetch_registers): Unconditionally delegate.
9451 * target.h (struct target_ops) <to_fetch_registers>: Use
9452 TARGET_DEFAULT_NORETURN.
9453
46ee7e8d
TT
94542014-02-19 Tom Tromey <tromey@redhat.com>
9455
9456 * target-delegates.c: Rebuild.
9457 * target.c (update_current_target): Don't inherit or default
9458 to_stop.
9459 * target.h (struct target_ops) <to_stop>: Use
9460 TARGET_DEFAULT_IGNORE.
9461
843f59ed
TT
94622014-02-19 Tom Tromey <tromey@redhat.com>
9463
9464 * target-delegates.c: Rebuild.
9465 * target.c (update_current_target): Don't inherit or default
9466 to_can_run_breakpoint_commands.
9467 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9468 Use TARGET_DEFAULT_RETURN.
9469
ccfde2a0
TT
94702014-02-19 Tom Tromey <tromey@redhat.com>
9471
9472 * target-delegates.c: Rebuild.
9473 * target.c (update_current_target): Don't inherit or default
9474 to_supports_evaluation_of_breakpoint_conditions.
9475 * target.h (struct target_ops)
9476 <to_supports_evaluation_of_breakpoint_conditions>: Use
9477 TARGET_DEFAULT_RETURN.
9478
0de91722
TT
94792014-02-19 Tom Tromey <tromey@redhat.com>
9480
9481 * target-delegates.c: Rebuild.
9482 * target.c (update_current_target): Don't inherit or default
9483 to_augmented_libraries_svr4_read.
9484 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9485 Use TARGET_DEFAULT_RETURN.
9486
9a7d8b48
TT
94872014-02-19 Tom Tromey <tromey@redhat.com>
9488
9489 * target-delegates.c: Rebuild.
9490 * target.c (update_current_target): Don't inherit or default
9491 to_can_use_agent.
9492 * target.h (struct target_ops) <to_can_use_agent>: Use
9493 TARGET_DEFAULT_RETURN.
9494
d9db5b21
TT
94952014-02-19 Tom Tromey <tromey@redhat.com>
9496
9497 * target-delegates.c: Rebuild.
9498 * target.c (update_current_target): Don't inherit or default
9499 to_use_agent.
9500 * target.h (struct target_ops) <to_use_agent>: Use
9501 TARGET_DEFAULT_NORETURN.
9502
92155eeb
TT
95032014-02-19 Tom Tromey <tromey@redhat.com>
9504
9505 * target-delegates.c: Rebuild.
9506 * target.c (update_current_target): Don't inherit or default
9507 to_traceframe_info.
9508 (return_null): Remove.
9509 * target.h (struct target_ops) <to_traceframe_info>: Use
9510 TARGET_DEFAULT_RETURN.
9511
d6522a22
TT
95122014-02-19 Tom Tromey <tromey@redhat.com>
9513
9514 * target-delegates.c: Rebuild.
9515 * target.c (update_current_target): Don't inherit or default
9516 to_static_tracepoint_markers_by_strid.
9517 * target.h (struct target_ops)
9518 <to_static_tracepoint_markers_by_strid>: Use
9519 TARGET_DEFAULT_NORETURN.
9520
4c3e4425
TT
95212014-02-19 Tom Tromey <tromey@redhat.com>
9522
9523 * target-delegates.c: Rebuild.
9524 * target.c (update_current_target): Don't inherit or default
9525 to_static_tracepoint_marker_at.
9526 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9527 Use TARGET_DEFAULT_RETURN.
9528
dcd6917f
TT
95292014-02-19 Tom Tromey <tromey@redhat.com>
9530
9531 * target-delegates.c: Rebuild.
9532 * target.c (update_current_target): Don't inherit or default
9533 to_set_permissions.
9534 * target.h (struct target_ops) <to_set_permissions>: Use
9535 TARGET_DEFAULT_IGNORE.
9536
22bcceee
TT
95372014-02-19 Tom Tromey <tromey@redhat.com>
9538
9539 * target-delegates.c: Rebuild.
9540 * target.c (update_current_target): Don't inherit or default
9541 to_get_tib_address.
9542 * target.h (struct target_ops) <to_get_tib_address>: Use
9543 TARGET_DEFAULT_NORETURN.
9544
8586ccaa
TT
95452014-02-19 Tom Tromey <tromey@redhat.com>
9546
9547 * target-delegates.c: Rebuild.
9548 * target.c (update_current_target): Don't inherit or default
9549 to_set_trace_notes.
9550 * target.h (struct target_ops) <to_set_trace_notes>: Use
9551 TARGET_DEFAULT_RETURN.
9552
91df8d1d
TT
95532014-02-19 Tom Tromey <tromey@redhat.com>
9554
9555 * target-delegates.c: Rebuild.
9556 * target.c (update_current_target): Don't initialize
9557 to_set_trace_buffer_size.
9558 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
9559 TARGET_DEFAULT_IGNORE.
9560
8d526939
TT
95612014-02-19 Tom Tromey <tromey@redhat.com>
9562
9563 * target-delegates.c: Rebuild.
9564 * target.c (update_current_target): Don't inherit or default
9565 to_set_circular_trace_buffer.
9566 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
9567 TARGET_DEFAULT_IGNORE.
9568
0bcfeddf
TT
95692014-02-19 Tom Tromey <tromey@redhat.com>
9570
9571 * target-delegates.c: Rebuild.
9572 * target.c (update_current_target): Don't inherit or default
9573 to_set_disconnected_tracing.
9574 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
9575 TARGET_DEFAULT_IGNORE.
9576
9249843f
TT
95772014-02-19 Tom Tromey <tromey@redhat.com>
9578
9579 * target-delegates.c: Rebuild.
9580 * target.c (update_current_target): Don't inherit or default
9581 to_get_min_fast_tracepoint_insn_len.
9582 (return_minus_one): Remove.
9583 * target.h (struct target_ops)
9584 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
9585
ace92e7d
TT
95862014-02-19 Tom Tromey <tromey@redhat.com>
9587
9588 * target-delegates.c: Rebuild.
9589 * target.c (update_current_target): Don't inherit or default
9590 to_get_raw_trace_data.
9591 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
9592 TARGET_DEFAULT_NORETURN.
9593
08120467
TT
95942014-02-19 Tom Tromey <tromey@redhat.com>
9595
9596 * target-delegates.c: Rebuild.
9597 * target.c (update_current_target): Don't inherit or default
9598 to_upload_trace_state_variables.
9599 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9600 Use TARGET_DEFAULT_RETURN.
9601
1e949b00
TT
96022014-02-19 Tom Tromey <tromey@redhat.com>
9603
9604 * target-delegates.c: Rebuild.
9605 * target.c (update_current_target): Don't inherit or default
9606 to_upload_tracepoints.
9607 * target.h (struct target_ops) <to_upload_tracepoints>: Use
9608 TARGET_DEFAULT_RETURN.
9609
a2e6c147
TT
96102014-02-19 Tom Tromey <tromey@redhat.com>
9611
9612 * target-delegates.c: Rebuild.
9613 * target.c (update_current_target): Don't inherit or default
9614 to_save_trace_data.
9615 * target.h (struct target_ops) <to_save_trace_data>: Use
9616 TARGET_DEFAULT_NORETURN.
9617
959bcd0b
TT
96182014-02-19 Tom Tromey <tromey@redhat.com>
9619
9620 * target-delegates.c: Rebuild.
9621 * target.c (update_current_target): Don't inherit or default
9622 to_get_trace_state_variable_value.
9623 * target.h (struct target_ops)
9624 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
9625
afc94e66
TT
96262014-02-19 Tom Tromey <tromey@redhat.com>
9627
9628 * target-delegates.c: Rebuild.
9629 * target.c (update_current_target): Don't inherit or default
9630 to_trace_find.
9631 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
9632
e51c07ea
TT
96332014-02-19 Tom Tromey <tromey@redhat.com>
9634
9635 * target-delegates.c: Rebuild.
9636 * target.c (update_current_target): Don't inherit or default
9637 to_trace_stop.
9638 * target.h (struct target_ops) <to_trace_stop>: Use
9639 TARGET_DEFAULT_NORETURN.
9640
6fea14cd
TT
96412014-02-19 Tom Tromey <tromey@redhat.com>
9642
9643 * target-delegates.c: Rebuild.
9644 * target.c (update_current_target): Don't inherit or default
9645 to_get_tracepoint_status.
9646 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
9647 TARGET_DEFAULT_NORETURN.
9648
4072d4ff
TT
96492014-02-19 Tom Tromey <tromey@redhat.com>
9650
9651 * target-delegates.c: Rebuild.
9652 * target.c (update_current_target): Don't inherit or default
9653 to_get_trace_status.
9654 * target.h (struct target_ops) <to_get_trace_status>: Use
9655 TARGET_DEFAULT_RETURN.
9656
25da2e80
TT
96572014-02-19 Tom Tromey <tromey@redhat.com>
9658
9659 * target-delegates.c: Rebuild.
9660 * target.c (update_current_target): Don't inherit or default
9661 to_trace_start.
9662 * target.h (struct target_ops) <to_trace_start>: Use
9663 TARGET_DEFAULT_NORETURN.
9664
86dd181d
TT
96652014-02-19 Tom Tromey <tromey@redhat.com>
9666
9667 * target-delegates.c: Rebuild.
9668 * target.c (update_current_target): Don't inherit or default
9669 to_trace_set_readonly_regions.
9670 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9671 Use TARGET_DEFAULT_NORETURN.
9672
05c41993
TT
96732014-02-19 Tom Tromey <tromey@redhat.com>
9674
9675 * target-delegates.c: Rebuild.
9676 * target.c (update_current_target): Don't inherit or default
9677 to_disable_tracepoint.
9678 * target.h (struct target_ops) <to_disable_tracepoint>: Use
9679 TARGET_DEFAULT_NORETURN.
9680
151f70f1
TT
96812014-02-19 Tom Tromey <tromey@redhat.com>
9682
9683 * target-delegates.c: Rebuild.
9684 * target.c (update_current_target): Don't inherit or default
9685 to_enable_tracepoint.
9686 * target.h (struct target_ops) <to_enable_tracepoint>: Use
9687 TARGET_DEFAULT_NORETURN.
9688
94eb98b9
TT
96892014-02-19 Tom Tromey <tromey@redhat.com>
9690
9691 * target-delegates.c: Rebuild.
9692 * target.c (update_current_target): Don't inherit or default
9693 to_download_trace_state_variable.
9694 * target.h (struct target_ops) <to_download_trace_state_variable>:
9695 Use TARGET_DEFAULT_NORETURN.
9696
719acc4a
TT
96972014-02-19 Tom Tromey <tromey@redhat.com>
9698
9699 * target-delegates.c: Rebuild.
9700 * target.c (update_current_target): Don't inherit or default
9701 to_can_download_tracepoint.
9702 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
9703 TARGET_DEFAULT_RETURN.
9704
9a980a22
TT
97052014-02-19 Tom Tromey <tromey@redhat.com>
9706
9707 * target-delegates.c: Rebuild.
9708 * target.c (update_current_target): Don't inherit or default
9709 to_download_tracepoint.
9710 * target.h (struct target_ops) <to_download_tracepoint>: Use
9711 TARGET_DEFAULT_NORETURN.
9712
5536135b
TT
97132014-02-19 Tom Tromey <tromey@redhat.com>
9714
9715 * target-delegates.c: Rebuild.
9716 * target.c (update_current_target): Don't inherit or default
9717 to_trace_init.
9718 * target.h (struct target_ops) <to_trace_init>: Use
9719 TARGET_DEFAULT_RETURN.
9720
9409d39e
TT
97212014-02-19 Tom Tromey <tromey@redhat.com>
9722
9723 * target-delegates.c: Rebuild.
9724 * target.c (update_current_target): Don't inherit or default
9725 to_supports_string_tracing.
9726 * target.h (struct target_ops) <to_supports_string_tracing>: Use
9727 TARGET_DEFAULT_RETURN.
9728
aab1b22d
TT
97292014-02-19 Tom Tromey <tromey@redhat.com>
9730
9731 * target-delegates.c: Rebuild.
9732 * target.c (update_current_target): Don't inherit or default
9733 to_supports_enable_disable_tracepoint.
9734 * target.h (struct target_ops)
9735 <to_supports_enable_disable_tracepoint>: Use
9736 TARGET_DEFAULT_RETURN.
9737
a7304748
TT
97382014-02-19 Tom Tromey <tromey@redhat.com>
9739
9740 * target-delegates.c: Rebuild.
9741 * target.c (update_current_target): Don't inherit or default
9742 to_supports_multi_process.
9743 * target.h (struct target_ops) <to_supports_multi_process>: Use
9744 TARGET_DEFAULT_RETURN.
9745
4229b31d
TT
97462014-02-19 Tom Tromey <tromey@redhat.com>
9747
9748 * target-delegates.c: Rebuild.
9749 * target.c (update_current_target): Don't inherit or default
9750 to_get_ada_task_ptid.
9751 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
9752 TARGET_DEFAULT_FUNC.
9753
43eba180
TT
97542014-02-19 Tom Tromey <tromey@redhat.com>
9755
9756 * target-delegates.c: Rebuild.
9757 * target.c (update_current_target): Don't inherit or default
9758 to_thread_architecture.
9759 * target.h (struct target_ops) <to_thread_architecture>: Use
9760 TARGET_DEFAULT_FUNC.
9761
fe31bf5b
TT
97622014-02-19 Tom Tromey <tromey@redhat.com>
9763
9764 * target-delegates.c: Rebuild.
9765 * target.c (update_current_target): Don't inherit or default
9766 to_execution_direction.
9767 * target.h (struct target_ops) <to_execution_direction>: Use
9768 TARGET_DEFAULT_FUNC.
9769
53e1cfc7
TT
97702014-02-19 Tom Tromey <tromey@redhat.com>
9771
9772 * target-delegates.c: Rebuild.
9773 * target.c (update_current_target): Don't inherit or default
9774 to_can_execute_reverse.
9775 * target.h (struct target_ops) <to_can_execute_reverse>: Use
9776 TARGET_DEFAULT_RETURN.
9777 (target_can_execute_reverse): Unconditionally delegate.
9778
9bb9d61d
TT
97792014-02-19 Tom Tromey <tromey@redhat.com>
9780
9781 * target-delegates.c: Rebuild.
9782 * target.c (update_current_target): Don't inherit or default
9783 to_goto_bookmark.
9784 (dummy_goto_bookmark): Remove.
9785 (init_dummy_target): Don't inherit or default to_goto_bookmark.
9786 * target.h (struct target_ops) <to_goto_bookmark>: Use
9787 TARGET_DEFAULT_NORETURN.
9788
3dbafbbb
TT
97892014-02-19 Tom Tromey <tromey@redhat.com>
9790
9791 * target-delegates.c: Rebuild.
9792 * target.c (update_current_target): Don't inherit or default
9793 to_get_bookmark.
9794 (dummy_get_bookmark): Remove.
9795 (init_dummy_target): Don't inherit or default to_get_bookmark.
9796 * target.h (struct target_ops) <to_get_bookmark>: Use
9797 TARGET_DEFAULT_NORETURN
9798
16f796b1
TT
97992014-02-19 Tom Tromey <tromey@redhat.com>
9800
9801 * target-delegates.c: Rebuild.
9802 * target.c (update_current_target): Don't inherit or default
9803 to_make_corefile_notes.
9804 (init_dummy_target): Don't initialize to_make_corefile_notes.
9805 * target.h (struct target_ops) <to_make_corefile_notes>: Use
9806 TARGET_DEFAULT_FUNC.
9807
0b5a2719
TT
98082014-02-19 Tom Tromey <tromey@redhat.com>
9809
9810 * target-delegates.c: Rebuild.
9811 * target.c (update_current_target): Don't inherit or default
9812 to_find_memory_regions.
9813 (init_dummy_target): Don't initialize to_find_memory_regions.
9814 * target.h (struct target_ops) <to_find_memory_regions>: Use
9815 TARGET_DEFAULT_FUNC.
9816
d9cb0195
TT
98172014-02-19 Tom Tromey <tromey@redhat.com>
9818
9819 * target-delegates.c: Rebuild.
9820 * target.c (update_current_target): Don't inherit or default
9821 to_log_command.
9822 * target.h (struct target_ops) <to_log_command>: Use
9823 TARGET_DEFAULT_IGNORE.
9824 (target_log_command): Unconditionally delegate.
9825
830ca330
TT
98262014-02-19 Tom Tromey <tromey@redhat.com>
9827
9828 * target-delegates.c: Rebuild.
9829 * target.c (update_current_target): Don't inherit or default
9830 to_pid_to_exec_file.
9831 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
9832 TARGET_DEFAULT_RETURN.
9833
825828fc
TT
98342014-02-19 Tom Tromey <tromey@redhat.com>
9835
9836 * target-delegates.c: Rebuild.
9837 * target.c (update_current_target): Don't inherit or default
9838 to_thread_name.
9839 (target_thread_name): Unconditionally delegate.
9840 * target.h (struct target_ops) <to_thread_name>: Use
9841 TARGET_DEFAULT_RETURN.
9842
4a7e6dda
TT
98432014-02-19 Tom Tromey <tromey@redhat.com>
9844
9845 * target-delegates.c: Rebuild.
9846 * target.c (update_current_target): Don't inherit or default
9847 to_extra_thread_info.
9848 * target.h (struct target_ops) <to_extra_thread_info>: Use
9849 TARGET_DEFAULT_RETURN.
9850
0db88c1d
TT
98512014-02-19 Tom Tromey <tromey@redhat.com>
9852
9853 * target-delegates.c: Rebuild.
9854 * target.c (update_current_target): Don't inherit or default
9855 to_has_exited.
9856 * target.h (struct target_ops) <to_has_exited>: Use
9857 TARGET_DEFAULT_RETURN..
9858
6a9fa051
TT
98592014-02-19 Tom Tromey <tromey@redhat.com>
9860
9861 * target-delegates.c: Rebuild.
9862 * target.c (update_current_target): Don't inherit or default
9863 to_set_syscall_catchpoint.
9864 (return_one): Remove.
9865 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
9866 TARGET_DEFAULT_RETURN.
9867
62f64d7a
TT
98682014-02-19 Tom Tromey <tromey@redhat.com>
9869
9870 * target-delegates.c: Rebuild.
9871 * target.c (update_current_target): Don't inherit or default
9872 to_insert_exec_catchpoint.
9873 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9874 TARGET_DEFAULT_RETURN.
9875
cda0f38c
TT
98762014-01-08 Tom Tromey <tromey@redhat.com>
9877
9878 * target-delegates.c: Rebuild.
9879 * target.c (update_current_target): Don't inherit or default
9880 to_insert_exec_catchpoint.
9881 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9882 TARGET_DEFAULT_RETURN.
9883
95c3375e
TT
98842014-02-19 Tom Tromey <tromey@redhat.com>
9885
9886 * target-delegates.c: Rebuild.
9887 * target.c (update_current_target): Don't inherit or default
9888 to_remove_vfork_catchpoint.
9889 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
9890 TARGET_DEFAULT_RETURN.
9891
7e18a8dc
TT
98922014-02-19 Tom Tromey <tromey@redhat.com>
9893
9894 * target-delegates.c: Rebuild.
9895 * target.c (update_current_target): Don't inherit or default
9896 to_insert_vfork_catchpoint.
9897 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
9898 TARGET_DEFAULT_RETURN.
9899
e1a21fb7
TT
99002014-02-19 Tom Tromey <tromey@redhat.com>
9901
9902 * target-delegates.c: Rebuild.
9903 * target.c (update_current_target): Don't inherit or default
9904 to_remove_fork_catchpoint.
9905 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
9906 TARGET_DEFAULT_RETURN.
9907
5958ebeb
TT
99082014-02-19 Tom Tromey <tromey@redhat.com>
9909
9910 * target-delegates.c: Rebuild.
9911 * target.c (update_current_target): Don't inherit or default
9912 to_insert_fork_catchpoint.
9913 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
9914 TARGET_DEFAULT_RETURN.
9915
340ba4bf
TT
99162014-02-19 Tom Tromey <tromey@redhat.com>
9917
9918 * target-delegates.c: Rebuild.
9919 * target.c (update_current_target): Don't inherit or default
9920 to_post_startup_inferior.
9921 * target.h (struct target_ops) <to_post_startup_inferior>: Use
9922 TARGET_DEFAULT_IGNORE.
9923
7634da87
TT
99242014-02-19 Tom Tromey <tromey@redhat.com>
9925
9926 * target-delegates.c: Rebuild.
9927 * target.c (update_current_target): Don't inherit or default
9928 to_load.
9929 * target.h (struct target_ops) <to_load>: Use
9930 TARGET_DEFAULT_NORETURN.
9931
e19e919f
TT
99322014-02-19 Tom Tromey <tromey@redhat.com>
9933
9934 * target-delegates.c: Rebuild.
9935 * target.c (update_current_target): Don't inherit or default
9936 to_terminal_info.
9937 * target.h (struct target_ops) <to_terminal_info>: Use
9938 TARGET_DEFAULT_FUNC.
9939
c6ea8f79
TT
99402014-02-19 Tom Tromey <tromey@redhat.com>
9941
9942 * target-delegates.c: Rebuild.
9943 * target.c (update_current_target): Don't inherit or default
9944 to_terminal_save_ours.
9945 * target.h (struct target_ops) <to_terminal_save_ours>: Use
9946 TARGET_DEFAULT_IGNORE.
9947
e4a733f1
TT
99482014-02-19 Tom Tromey <tromey@redhat.com>
9949
9950 * target-delegates.c: Rebuild.
9951 * target.c (update_current_target): Don't inherit or default
9952 to_terminal_ours.
9953 * target.h (struct target_ops) <to_terminal_ours>: Use
9954 TARGET_DEFAULT_IGNORE.
9955
74fcbef9
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_terminal_ours_for_output.
9961 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
9962 TARGET_DEFAULT_IGNORE.
9963
ddeaacc9
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_terminal_inferior.
9969 * target.h (struct target_ops) <to_terminal_inferior>: Use
9970 TARGET_DEFAULT_IGNORE.
9971
0343661d
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_terminal_init.
9977 * target.h (struct target_ops) <to_terminal_init>: Use
9978 TARGET_DEFAULT_IGNORE.
9979
77cdffe9
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_can_accel_watchpoint_condition.
9985 * target.h (struct target_ops)
9986 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
9987
d03655e4
TT
99882014-02-19 Tom Tromey <tromey@redhat.com>
9989
9990 * target-delegates.c: Rebuild.
9991 * target.c (update_current_target): Don't inherit or default
9992 to_region_ok_for_hw_watchpoint.
9993 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9994 Use TARGET_DEFAULT_FUNC.
9995
65f160a9
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_watchpoint_addr_within_range.
10001 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
10002 Use TARGET_DEFAULT_FUNC.
10003
61dd109f
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_remove_watchpoint.
10009 * target.h (struct target_ops) <to_remove_watchpoint>: Use
10010 TARGET_DEFAULT_NORETURN.
10011
016facd4
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_insert_watchpoint.
10017 * target.h (struct target_ops) <to_insert_watchpoint>: Use
10018 TARGET_DEFAULT_RETURN.
10019
418dabac
TT
100202014-02-19 Tom Tromey <tromey@redhat.com>
10021
10022 * target-delegates.c: Rebuild.
10023 * target.c (update_current_target): Don't inherit or default
10024 to_remove_hw_breakpoint.
10025 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
10026 TARGET_DEFAULT_RETURN.
10027
61b371f9
TT
100282014-02-19 Tom Tromey <tromey@redhat.com>
10029
10030 * target-delegates.c: Rebuild.
10031 * target.c (update_current_target): Don't inherit or default
10032 to_insert_hw_breakpoint.
10033 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
10034 TARGET_DEFAULT_RETURN.
10035
52b51d06
TT
100362014-02-19 Tom Tromey <tromey@redhat.com>
10037
10038 * target-delegates.c: Rebuild.
10039 * target.c (update_current_target): Don't inherit or default
10040 to_can_use_hw_breakpoint.
10041 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
10042 TARGET_DEFAULT_RETURN.
10043
f86e59b2
TT
100442014-02-19 Tom Tromey <tromey@redhat.com>
10045
10046 * target-delegates.c: Rebuild.
10047 * target.c (update_current_target): Don't inherit or default
10048 to_files_info.
10049 * target.h (struct target_ops) <to_files_info>: Use
10050 TARGET_DEFAULT_IGNORE.
10051
6c628163
TT
100522014-02-19 Tom Tromey <tromey@redhat.com>
10053
10054 * target-delegates.c: Rebuild.
10055 * target.c (update_current_target): Don't inherit or default
10056 to_store.
10057 * target.h (struct target_ops) <to_store>: Use
10058 TARGET_DEFAULT_NORETURN.
10059
bebd3233
TT
100602014-02-19 Tom Tromey <tromey@redhat.com>
10061
10062 * target-delegates.c: Rebuild.
10063 * target.c (update_current_target): Don't inherit or default
10064 to_post_attach.
10065 * target.h (struct target_ops) <to_post_attach>: Use
10066 TARGET_DEFAULT_IGNORE.
10067
a53f3625
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_rcmd.
10073 (default_rcmd): New function.
10074 (do_monitor_command): Unconditionally delegate.
10075 * target.h (struct target_ops) <to_rmcd>: Use
10076 TARGET_DEFAULT_FUNC.
10077
e9a29200
TT
100782014-02-19 Tom Tromey <tromey@redhat.com>
10079
10080 * target-delegates.c: Rebuild.
10081 * target.c (init_dummy_target): Don't initialize to_attach.
10082 (target_attach): Unconditionally delegate.
10083 * target.h (struct target_ops) <to_attach>: Use
10084 TARGET_DEFAULT_FUNC.
10085
09da0d0a
TT
100862014-02-19 Tom Tromey <tromey@redhat.com>
10087
10088 * target-delegates.c: Rebuild.
10089 * target.c (target_detach): Unconditionally delegate.
10090 (init_dummy_target): Don't initialize to_detach.
10091 * target.h (struct target_ops) <to_detach>: Use
10092 TARGET_DEFAULT_IGNORE.
10093
5436ff03
TT
100942014-02-19 Tom Tromey <tromey@redhat.com>
10095
10096 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10097 Add argument.
10098 (target_augmented_libraries_svr4_read): Add argument.
10099 * target.c (update_current_target): Update.
10100 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
10101 argument.
10102
f0d960ea
TT
101032014-02-19 Tom Tromey <tromey@redhat.com>
10104
10105 * target.h (struct target_ops) <to_call_history_range>: Add
10106 argument.
10107 * target.c (target_call_history_range): Add argument.
10108 * record-btrace.c (record_btrace_call_history_range): Add 'self'
10109 argument.
10110 (record_btrace_call_history_from): Update.
10111
ec0aea04
TT
101122014-02-19 Tom Tromey <tromey@redhat.com>
10113
10114 * target.h (struct target_ops) <to_call_history_from>: Add
10115 argument.
10116 * target.c (target_call_history_from): Add argument.
10117 * record-btrace.c (record_btrace_call_history_from): Add 'self'
10118 argument.
10119
5df2fcba
TT
101202014-02-19 Tom Tromey <tromey@redhat.com>
10121
10122 * target.h (struct target_ops) <to_call_history>: Add argument.
10123 * target.c (target_call_history): Add argument.
10124 * record-btrace.c (record_btrace_call_history): Add 'self'
10125 argument.
10126
4e99c6b7
TT
101272014-02-19 Tom Tromey <tromey@redhat.com>
10128
10129 * target.h (struct target_ops) <to_insn_history_range>: Add
10130 argument.
10131 * target.c (target_insn_history_range): Add argument.
10132 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
10133 argument.
10134 (record_btrace_insn_history_from): Update.
10135
9abc3ff3
TT
101362014-02-19 Tom Tromey <tromey@redhat.com>
10137
10138 * target.h (struct target_ops) <to_insn_history_from>: Add
10139 argument.
10140 * target.c (target_insn_history_from): Add argument.
10141 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
10142 argument.
10143
7a6c5609
TT
101442014-02-19 Tom Tromey <tromey@redhat.com>
10145
10146 * target.h (struct target_ops) <to_insn_history>: Add argument.
10147 * target.c (target_insn_history): Add argument.
10148 * record-btrace.c (record_btrace_insn_history): Add 'self'
10149 argument.
10150
606183ac
TT
101512014-02-19 Tom Tromey <tromey@redhat.com>
10152
10153 * target.h (struct target_ops) <to_goto_record>: Add argument.
10154 * target.c (target_goto_record): Add argument.
10155 * record-full.c (record_full_goto): Add 'self' argument.
10156 * record-btrace.c (record_btrace_goto): Add 'self' argument.
10157
307a1b91
TT
101582014-02-19 Tom Tromey <tromey@redhat.com>
10159
10160 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
10161 * target.c (target_goto_record_end): Add argument.
10162 * record-full.c (record_full_goto_end): Add 'self' argument.
10163 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
10164
08475817
TT
101652014-02-19 Tom Tromey <tromey@redhat.com>
10166
10167 * target.h (struct target_ops) <to_goto_record_begin>: Add
10168 argument.
10169 * target.c (target_goto_record_begin): Add argument.
10170 * record-full.c (record_full_goto_begin): Add 'self' argument.
10171 * record-btrace.c (record_btrace_goto_begin): Add 'self'
10172 argument.
10173
1c63c994
TT
101742014-02-19 Tom Tromey <tromey@redhat.com>
10175
10176 * target.h (struct target_ops) <to_record_is_replaying>: Add
10177 argument.
10178 * target.c (target_record_is_replaying): Add argument.
10179 * record-full.c (record_full_is_replaying): Add 'self' argument.
10180 * record-btrace.c (record_btrace_is_replaying): Add 'self'
10181 argument.
10182 (record_btrace_xfer_partial, record_btrace_store_registers)
10183 (record_btrace_prepare_to_store, record_btrace_resume)
10184 (record_btrace_wait, record_btrace_decr_pc_after_break)
10185 (record_btrace_find_new_threads, record_btrace_thread_alive):
10186 Update.
10187
d1b55219
TT
101882014-02-19 Tom Tromey <tromey@redhat.com>
10189
10190 * target.h (struct target_ops) <to_delete_record>: Add argument.
10191 * target.c (target_delete_record): Add argument.
10192 * record-full.c (record_full_delete): Add 'self' argument.
10193
1390f529
TT
101942014-02-19 Tom Tromey <tromey@redhat.com>
10195
10196 * target.h (struct target_ops) <to_save_record>: Add argument.
10197 * target.c (target_save_record): Add argument.
10198 * record-full.c (record_full_save): Add 'self' argument.
10199 (record_full_save): Add 'self' argument.
10200
630d6a4a
TT
102012014-02-19 Tom Tromey <tromey@redhat.com>
10202
10203 * target.h (struct target_ops) <to_info_record>: Add argument.
10204 * target.c (target_info_record): Add argument.
10205 * record.c (info_record_command): Add argument.
10206 * record-full.c (record_full_info): Add 'self' argument.
10207 * record-btrace.c (record_btrace_info): Add 'self' argument.
10208
c6cd7c02
TT
102092014-02-19 Tom Tromey <tromey@redhat.com>
10210
10211 * target.h (struct target_ops) <to_stop_recording>: Add argument.
10212 * target.c (target_stop_recording): Add argument.
10213 * record.c (record_stop): Add argument.
10214 * record-btrace.c (record_btrace_stop_recording): Add 'self'
10215 argument.
10216
39c49f83
TT
102172014-02-19 Tom Tromey <tromey@redhat.com>
10218
10219 * target.h (struct target_ops) <to_read_btrace>: Add argument.
10220 * target.c (struct target_ops) <to_read_btrace>: Add argument.
10221 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
10222 argument.
10223 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
10224 (_initialize_amd64_linux_nat): Use it.
10225 * i386-linux-nat.c (i386_linux_read_btrace): New function.
10226 (_initialize_i386_linux_nat): Use it.
10227
1777056d
TT
102282014-02-19 Tom Tromey <tromey@redhat.com>
10229
10230 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
10231 * target.c (target_teardown_btrace): Add argument.
10232 * remote.c (remote_teardown_btrace): Add 'self' argument.
10233 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
10234 argument.
10235 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
10236 argument.
10237
25e95349
TT
102382014-02-19 Tom Tromey <tromey@redhat.com>
10239
10240 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
10241 * target.c (target_disable_btrace): Add argument.
10242 * remote.c (remote_disable_btrace): Add 'self' argument.
10243 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
10244 argument.
10245 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
10246 argument.
10247
e3c49f88
TT
102482014-02-19 Tom Tromey <tromey@redhat.com>
10249
10250 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
10251 * target.c (target_enable_btrace): Add argument.
10252 * remote.c (remote_enable_btrace): Add 'self' argument.
10253 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
10254 argument.
10255 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
10256 argument.
10257
fe38f897
TT
102582014-02-19 Tom Tromey <tromey@redhat.com>
10259
10260 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
10261 (target_can_use_agent): Add argument.
10262 * target.c (update_current_target): Update.
10263 * remote.c (remote_can_use_agent): Add 'self' argument.
10264 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
10265
2c152180
TT
102662014-02-19 Tom Tromey <tromey@redhat.com>
10267
10268 * target.h (struct target_ops) <to_use_agent>: Add argument.
10269 (target_use_agent): Add argument.
10270 * target.c (update_current_target): Update.
10271 * remote.c (remote_use_agent): Add 'self' argument.
10272 * inf-child.c (inf_child_use_agent): Add 'self' argument.
10273
a893e81f
TT
102742014-02-19 Tom Tromey <tromey@redhat.com>
10275
10276 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
10277 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
10278 (target_traceframe_info): Add argument.
10279 * target.c (update_current_target): Update.
10280 * remote.c (remote_traceframe_info): Add 'self' argument.
10281 * ctf.c (ctf_traceframe_info): Add 'self' argument.
10282
c686c57f
TT
102832014-02-19 Tom Tromey <tromey@redhat.com>
10284
10285 * target.h (target_static_tracepoint_markers_by_strid): Add
10286 argument.
10287 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
10288 'self' argument.
10289 * target.c (update_current_target): Update.
10290 * remote.c (struct target_ops)
10291 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
10292 * linux-nat.c (struct target_ops)
10293 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
10294
61fc905d
TT
102952014-02-19 Tom Tromey <tromey@redhat.com>
10296
10297 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10298 Add argument.
10299 (target_static_tracepoint_marker_at): Add argument.
10300 * target.c (update_current_target): Update.
10301 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
10302 argument.
10303
c378d69d
TT
103042014-02-19 Tom Tromey <tromey@redhat.com>
10305
10306 * target.h (struct target_ops) <to_set_permissions>: Add argument.
10307 (target_set_permissions): Add argument.
10308 * target.c (update_current_target): Update.
10309 * remote.c (remote_set_permissions): Add 'self' argument.
10310 (remote_start_remote): Update.
10311
bd7ae0f5
TT
103122014-02-19 Tom Tromey <tromey@redhat.com>
10313
10314 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
10315 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
10316 (target_get_tib_address): Add argument.
10317 * target.c (update_current_target): Update.
10318 * remote.c (remote_get_tib_address): Add 'self' argument.
10319
d9e68a2c
TT
103202014-02-19 Tom Tromey <tromey@redhat.com>
10321
10322 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
10323 (target_set_trace_notes): Add argument.
10324 * target.c (update_current_target): Update.
10325 * remote.c (remote_set_trace_notes): Add 'self' argument.
10326
4da384be
TT
103272014-02-19 Tom Tromey <tromey@redhat.com>
10328
10329 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
10330 argument.
10331 (target_set_trace_buffer_size): Add argument.
10332 * target.c (update_current_target): Update.
10333 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
10334
736d5b1f
TT
103352014-02-19 Tom Tromey <tromey@redhat.com>
10336
10337 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
10338 argument.
10339 (target_set_circular_trace_buffer): Add argument.
10340 * target.c (update_current_target): Update.
10341 * remote.c (remote_set_circular_trace_buffer): Add 'self'
10342 argument.
10343
37b25738
TT
103442014-02-19 Tom Tromey <tromey@redhat.com>
10345
10346 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
10347 argument.
10348 (target_set_disconnected_tracing): Add argument.
10349 * target.c (update_current_target): Update.
10350 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
10351
0e67620a
TT
103522014-02-19 Tom Tromey <tromey@redhat.com>
10353
10354 * target.h (struct target_ops)
10355 <to_get_min_fast_tracepoint_insn_len>: Add argument.
10356 (target_get_min_fast_tracepoint_insn_len): Add argument.
10357 * target.c (update_current_target): Update.
10358 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
10359 argument.
10360
88ee6f45
TT
103612014-02-19 Tom Tromey <tromey@redhat.com>
10362
10363 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
10364 argument.
10365 (target_get_raw_trace_data): Add argument.
10366 * target.c (update_current_target): Update.
10367 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
10368
181e3713
TT
103692014-02-19 Tom Tromey <tromey@redhat.com>
10370
10371 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10372 Add argument.
10373 (target_upload_trace_state_variables): Add argument.
10374 * target.c (update_current_target): Update.
10375 * remote.c (remote_upload_trace_state_variables): Add 'self'
10376 argument.
10377 (remote_start_remote): Update.
10378
ab6617cc
TT
103792014-02-19 Tom Tromey <tromey@redhat.com>
10380
10381 * target.h (struct target_ops) <to_upload_tracepoints>: Add
10382 argument.
10383 (target_upload_tracepoints): Add argument.
10384 * target.c (update_current_target): Update.
10385 * remote.c (remote_upload_tracepoints): Add 'self' argument.
10386 (remote_start_remote): Update.
10387
dc3decaf
TT
103882014-02-19 Tom Tromey <tromey@redhat.com>
10389
10390 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
10391 (target_save_trace_data): Add argument.
10392 * target.c (update_current_target): Update.
10393 * remote.c (remote_save_trace_data): Add 'self' argument.
10394
4011015b
TT
103952014-02-19 Tom Tromey <tromey@redhat.com>
10396
10397 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
10398 argument.
10399 * target.h (struct target_ops)
10400 <to_get_trace_state_variable_value>: Add argument.
10401 (target_get_trace_state_variable_value): Add argument.
10402 * target.c (update_current_target): Update.
10403 * remote.c (remote_get_trace_state_variable_value): Add 'self'
10404 argument.
10405 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
10406
bd4c6793
TT
104072014-02-19 Tom Tromey <tromey@redhat.com>
10408
10409 * tracepoint.c (tfile_trace_find): Add 'self' argument.
10410 * target.h (struct target_ops) <to_trace_find>: Add argument.
10411 (target_trace_find): Add argument.
10412 * target.c (update_current_target): Update.
10413 * remote.c (remote_trace_find): Add 'self' argument.
10414 * ctf.c (ctf_trace_find): Add 'self' argument.
10415
74499f1b
TT
104162014-02-19 Tom Tromey <tromey@redhat.com>
10417
10418 * target.h (struct target_ops) <to_trace_stop>: Add argument.
10419 (target_trace_stop): Add argument.
10420 * target.c (update_current_target): Update.
10421 * remote.c (remote_trace_stop): Add 'self' argument.
10422
db90e85c
TT
104232014-02-19 Tom Tromey <tromey@redhat.com>
10424
10425 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
10426 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
10427 argument.
10428 (target_get_tracepoint_status): Add argument.
10429 * target.c (update_current_target): Update.
10430 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
10431
8bd200f1
TT
104322014-02-19 Tom Tromey <tromey@redhat.com>
10433
10434 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
10435 * target.h (struct target_ops) <to_get_trace_status>: Add
10436 argument.
10437 (target_get_trace_status): Add argument.
10438 * target.c (update_current_target): Update.
10439 * remote.c (remote_get_trace_status): Add 'self' argument.
10440 (remote_start_remote, remote_can_download_tracepoint): Update.
10441 * ctf.c (ctf_get_trace_status): Add 'self' argument.
10442
e2d1aae3
TT
104432014-02-19 Tom Tromey <tromey@redhat.com>
10444
10445 * target.h (struct target_ops) <to_trace_start>: Add argument.
10446 (target_trace_start): Add argument.
10447 * target.c (update_current_target): Update.
10448 * remote.c (remote_trace_start): Add 'self' argument.
10449
583f9a86
TT
104502014-02-19 Tom Tromey <tromey@redhat.com>
10451
10452 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10453 Add argument.
10454 (target_trace_set_readonly_regions): Add argument.
10455 * target.c (update_current_target): Update.
10456 * remote.c (remote_trace_set_readonly_regions): Add 'self'
10457 argument.
10458
780b049c
TT
104592014-02-19 Tom Tromey <tromey@redhat.com>
10460
10461 * target.h (struct target_ops) <to_disable_tracepoint>: Add
10462 argument.
10463 (target_disable_tracepoint): Add argument.
10464 * target.c (update_current_target): Update.
10465 * remote.c (remote_disable_tracepoint): Add 'self' argument.
10466
46670d57
TT
104672014-02-19 Tom Tromey <tromey@redhat.com>
10468
10469 * target.h (struct target_ops) <to_enable_tracepoint>: Add
10470 argument.
10471 (target_enable_tracepoint): Add argument.
10472 * target.c (update_current_target): Update.
10473 * remote.c (remote_enable_tracepoint): Add 'self' argument.
10474
559d2b81
TT
104752014-02-19 Tom Tromey <tromey@redhat.com>
10476
10477 * target.h (struct target_ops) <to_download_trace_state_variable>:
10478 Add argument.
10479 (target_download_trace_state_variable): Add argument.
10480 * target.c (update_current_target): Update.
10481 * remote.c (remote_download_trace_state_variable): Add 'self'
10482 argument.
10483
a52a8357
TT
104842014-02-19 Tom Tromey <tromey@redhat.com>
10485
10486 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
10487 argument.
10488 (target_can_download_tracepoint): Add argument.
10489 * target.c (update_current_target): Update.
10490 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
10491
548f7808
TT
104922014-02-19 Tom Tromey <tromey@redhat.com>
10493
10494 * target.h (struct target_ops) <to_download_tracepoint>: Add
10495 argument.
10496 (target_download_tracepoint): Add argument.
10497 * target.c (update_current_target): Update.
10498 * remote.c (remote_download_tracepoint): Add 'self' argument.
10499
ecae04e1
TT
105002014-02-19 Tom Tromey <tromey@redhat.com>
10501
10502 * target.h (struct target_ops) <to_trace_init>: Add argument.
10503 (target_trace_init): Add argument.
10504 * target.c (update_current_target): Update.
10505 * remote.c (remote_trace_init): Add 'self' argument.
10506
fab5aa7c
TT
105072014-02-19 Tom Tromey <tromey@redhat.com>
10508
10509 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
10510 * target.c (target_fileio_readlink): Add argument.
10511 * remote.c (remote_hostio_readlink): Add 'self' argument.
10512 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
10513
dbbca37d
TT
105142014-02-19 Tom Tromey <tromey@redhat.com>
10515
10516 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
10517 * target.c (target_fileio_unlink): Add argument.
10518 * remote.c (remote_hostio_unlink): Add 'self' argument.
10519 (remote_file_delete): Update.
10520 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
10521
df39ea25
TT
105222014-02-19 Tom Tromey <tromey@redhat.com>
10523
10524 * target.h (struct target_ops) <to_fileio_close>: Add argument.
10525 * target.c (target_fileio_close): Add argument.
10526 * remote.c (remote_hostio_close): Add 'self' argument.
10527 (remote_hostio_close_cleanup): Update.
10528 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
10529 Update.
10530 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
10531
a3be983c
TT
105322014-02-19 Tom Tromey <tromey@redhat.com>
10533
10534 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
10535 * target.c (target_fileio_pread): Add argument.
10536 * remote.c (remote_hostio_pread): Add 'self' argument.
10537 (remote_bfd_iovec_pread, remote_file_get): Update.
10538 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
10539
0d866f62
TT
105402014-02-19 Tom Tromey <tromey@redhat.com>
10541
10542 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
10543 * target.c (target_fileio_pwrite): Add argument.
10544 * remote.c (remote_hostio_pwrite): Add 'self' argument.
10545 (remote_file_put): Update.
10546 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
10547
cd897586
TT
105482014-02-19 Tom Tromey <tromey@redhat.com>
10549
10550 * target.h (struct target_ops) <to_fileio_open>: Add argument.
10551 * target.c (target_fileio_open): Add argument.
10552 * remote.c (remote_hostio_open): Add 'self' argument.
10553 (remote_bfd_iovec_open): Add 'self' argument.
10554 (remote_file_put): Add 'self' argument.
10555 (remote_file_get): Add 'self' argument.
10556 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
10557
78eff0ec
TT
105582014-02-19 Tom Tromey <tromey@redhat.com>
10559
10560 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10561 Add argument.
10562 (target_can_run_breakpoint_commands): Add argument.
10563 * target.c (update_current_target): Update.
10564 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
10565 argument.
10566 (remote_insert_breakpoint): Add 'self' argument.
10567 (remote_insert_hw_breakpoint): Add 'self' argument.
10568 (remote_can_run_breakpoint_commands): Add 'self' argument.
10569
efcc2da7
TT
105702014-02-19 Tom Tromey <tromey@redhat.com>
10571
10572 * target.h (struct target_ops)
10573 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
10574 (target_supports_evaluation_of_breakpoint_conditions): Add
10575 argument.
10576 * target.c (update_current_target): Update.
10577 * remote.c (remote_supports_cond_breakpoints): Add 'self'
10578 argument.
10579 (remote_insert_breakpoint): Add 'self' argument.
10580 (remote_insert_hw_breakpoint): Add 'self' argument.
10581 (remote_supports_cond_breakpoints): Add 'self' argument.
10582
6de37a3a
TT
105832014-02-19 Tom Tromey <tromey@redhat.com>
10584
10585 * target.h (struct target_ops) <to_supports_string_tracing>: Add
10586 argument.
10587 (target_supports_string_tracing): Add argument.
10588 * target.c (update_current_target): Update.
10589 * remote.c (remote_supports_string_tracing): Add 'self' argument.
10590
2bfc0540
TT
105912014-02-19 Tom Tromey <tromey@redhat.com>
10592
10593 * target.h (struct target_ops)
10594 <to_supports_disable_randomization>: Add argument.
10595 * target.c (find_default_supports_disable_randomization): Add
10596 argument.
10597 (target_supports_disable_randomization): Add argument.
10598 (find_default_supports_disable_randomization): Add 'self'
10599 argument.
10600 * remote.c (extended_remote_supports_disable_randomization): Add
10601 'self' argument.
10602 (remote_supports_disable_randomization): Add 'self' argument.
10603 (extended_remote_create_inferior): Update.
10604 * linux-nat.c (linux_nat_supports_disable_randomization): Add
10605 'self' argument.
10606
7d178d6a
TT
106072014-02-19 Tom Tromey <tromey@redhat.com>
10608
10609 * target.h (struct target_ops)
10610 <to_supports_enable_disable_tracepoint>: Add argument.
10611 (target_supports_enable_disable_tracepoint): Add argument.
10612 * target.c (update_current_target): Update.
10613 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
10614 argument.
10615
86ce2668
TT
106162014-02-19 Tom Tromey <tromey@redhat.com>
10617
10618 * target.h (struct target_ops) <to_supports_multi_process>: Add
10619 argument.
10620 (target_supports_multi_process): Add argument.
10621 * target.c (update_current_target): Update.
10622 * remote.c (remote_supports_multi_process): Add 'self' argument.
10623 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
10624 argument.
10625 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
10626 argument.
10627
4c612759
TT
106282014-02-19 Tom Tromey <tromey@redhat.com>
10629
10630 * target.h (struct target_ops) <to_execution_direction>: Add
10631 argument.
10632 (target_execution_direction): Add argument.
10633 * target.c (default_execution_direction): Add 'self' argument.
10634 * record-full.c (record_full_execution_direction): Add 'self'
10635 argument.
10636
19db3e69
TT
106372014-02-19 Tom Tromey <tromey@redhat.com>
10638
10639 * target.h (struct target_ops) <to_can_execute_reverse>: Add
10640 argument.
10641 (target_can_execute_reverse): Add argument.
10642 * remote.c (remote_can_execute_reverse): Add 'self' argument.
10643 * record-full.c (record_full_can_execute_reverse): Add 'self'
10644 argument.
10645 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
10646 argument.
10647
1e6b91a4
TT
106482014-02-19 Tom Tromey <tromey@redhat.com>
10649
10650 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
10651 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
10652 argument.
10653 (target_get_ada_task_ptid): Add argument.
10654 * target.c (update_current_target): Update.
10655 (default_get_ada_task_ptid): Add 'self' argument.
10656 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
10657 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
10658 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
10659 argument.
10660 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
10661 argument.
10662 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
10663 argument.
10664 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
10665 argument.
10666 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
10667 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
10668 argument.
10669
3c80fb48
TT
106702014-02-19 Tom Tromey <tromey@redhat.com>
10671
10672 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
10673 (target_goto_bookmark): Add argument.
10674 * target.c (dummy_goto_bookmark): Add 'self' argument.
10675 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
10676
dd0e2830
TT
106772014-02-19 Tom Tromey <tromey@redhat.com>
10678
10679 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
10680 (target_get_bookmark): Add argument.
10681 * target.c (dummy_get_bookmark): Add 'self' argument.
10682 * record-full.c (record_full_get_bookmark): Add 'self' argument.
10683
fc6691b2
TT
106842014-02-19 Tom Tromey <tromey@redhat.com>
10685
10686 * target.h (struct target_ops) <to_make_corefile_notes>: Add
10687 argument.
10688 (target_make_corefile_notes): Add argument.
10689 * target.c (dummy_make_corefile_notes): Add 'self' argument.
10690 * procfs.c (procfs_make_note_section): Add 'self' argument.
10691 (procfs_make_note_section): Add 'self' argument.
10692 (procfs_make_note_section): Add 'self' argument.
10693 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
10694 argument.
10695 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
10696 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
10697 * exec.c (exec_make_note_section): Add 'self' argument.
10698 (exec_make_note_section): Add 'self' argument.
10699
2e73927c
TT
107002014-02-19 Tom Tromey <tromey@redhat.com>
10701
10702 * target.h (struct target_ops) <to_find_memory_regions>: Add
10703 argument.
10704 (target_find_memory_regions): Add argument.
10705 * target.c (dummy_find_memory_regions): Add 'self' argument.
10706 * procfs.c (proc_find_memory_regions): Add 'self' argument.
10707 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
10708 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
10709 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
10710 * exec. (exec_do_find_memory_regions): New global.
10711 (exec_set_find_memory_regions): Rewrite.
10712 (exec_find_memory_regions): New function.
10713 (init_exec_ops): Use exec_find_memory_regions.
10714
2a9a2795
TT
107152014-02-19 Tom Tromey <tromey@redhat.com>
10716
10717 * target.h (struct target_ops) <to_supports_non_stop>: Add
10718 argument.
10719 * target.c (find_default_supports_non_stop): Add argument.
10720 (target_supports_non_stop): Add argument.
10721 (find_default_supports_non_stop): Add 'self' argument.
10722 * remote.c (remote_supports_non_stop): Add 'self' argument.
10723 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
10724
4ab76ea3
TT
107252014-02-19 Tom Tromey <tromey@redhat.com>
10726
10727 * target.h (struct target_ops) <to_log_command>: Add argument.
10728 (target_log_command): Add argument.
10729 * serial.h (serial_log_command): Add 'self' argument.
10730 * serial.c (serial_log_command): Add 'self' argument.
10731
8dd27370
TT
107322014-02-19 Tom Tromey <tromey@redhat.com>
10733
10734 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
10735 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
10736 argument.
10737 (target_pid_to_exec_file): Add argument.
10738 * target.c (debug_to_pid_to_exec_file): Add argument.
10739 (update_current_target): Update.
10740 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
10741 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
10742 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
10743 (linux_handle_extended_wait): Update.
10744 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
10745 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
10746 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
10747 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
10748
1aac633b
TT
107492014-02-19 Tom Tromey <tromey@redhat.com>
10750
10751 * target.h (struct target_ops) <to_rcmd>: Add argument.
10752 (target_rcmd): Add argument.
10753 * target.c (debug_to_rcmd): Add argument.
10754 (update_current_target, do_monitor_command): Update.
10755 * remote.c (remote_rcmd): Add 'self' argument.
10756 * monitor.c (monitor_rcmd): Add 'self' argument.
10757
1eab8a48
TT
107582014-02-19 Tom Tromey <tromey@redhat.com>
10759
10760 * windows-nat.c (windows_stop): Add 'self' argument.
10761 * target.h (struct target_ops) <to_stop>: Add argument.
10762 * target.c (target_stop): Add argument.
10763 (debug_to_stop): Add argument.
10764 (update_current_target): Update.
10765 * remote.c (remote_stop): Add 'self' argument.
10766 * remote-sim.c (gdbsim_stop): Add 'self' argument.
10767 (gdbsim_cntrl_c): Update.
10768 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
10769 * procfs.c (procfs_stop): Add 'self' argument.
10770 * nto-procfs.c (procfs_stop): Add 'self' argument.
10771 * monitor.c (monitor_stop): Add 'self' argument.
10772 (monitor_open): Update.
10773 * linux-nat.c (linux_nat_stop): Add argument.
10774 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
10775 * gnu-nat.c (gnu_stop): Add 'self' argument.
10776 * darwin-nat.c (darwin_stop): Add 'self' argument.
10777
503a628d
TT
107782014-02-19 Tom Tromey <tromey@redhat.com>
10779
10780 * target.h (struct target_ops) <to_thread_name>: Add argument.
10781 * target.c (target_thread_name): Add argument.
10782 (update_current_target): Update.
10783 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
10784
c15906d8
TT
107852014-02-19 Tom Tromey <tromey@redhat.com>
10786
10787 * target.h (struct target_ops) <to_extra_thread_info>: Add
10788 argument.
10789 (target_extra_thread_info): Add argument.
10790 * target.c (update_current_target): Update.
10791 * remote.c (remote_threads_extra_info): Add 'self' argument.
10792 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
10793 argument.
10794 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
10795 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
10796 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
10797 argument.
10798 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
10799 argument.
10800 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
10801 argument.
10802 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
10803 argument.
10804
daf5e9b6
TT
108052014-02-19 Tom Tromey <tromey@redhat.com>
10806
10807 * target.h (struct target_ops) <to_program_signals>: Add argument.
10808 * target.c (target_program_signals): Add argument.
10809 * remote.c (remote_program_signals): Add 'self' argument.
10810
94bedb42
TT
108112014-02-19 Tom Tromey <tromey@redhat.com>
10812
10813 * target.h (struct target_ops) <to_pass_signals>: Add argument.
10814 * target.c (target_pass_signals): Add argument.
10815 * remote.c (remote_pass_signals): Add 'self' argument.
10816 (remote_start_remote): Update.
10817 * procfs.c (procfs_pass_signals): Add 'self' argument.
10818 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
10819 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
10820 (linux_nat_create_inferior, linux_nat_attach): Update.
10821
da82bd6b
TT
108222014-02-19 Tom Tromey <tromey@redhat.com>
10823
10824 * windows-nat.c (windows_can_run): Add 'self' argument.
10825 * target.h (struct target_ops) <to_can_run>: Add argument.
10826 (target_can_run): Add argument.
10827 * target.c (debug_to_can_run): Add argument.
10828 (update_current_target): Update.
10829 * nto-procfs.c (procfs_can_run): Add 'self' argument.
10830 * inf-child.c (inf_child_can_run): Add 'self' argument.
10831 * go32-nat.c (go32_can_run): Add 'self' argument.
10832
d796e1d6
TT
108332014-02-19 Tom Tromey <tromey@redhat.com>
10834
10835 * target.h (struct target_ops) <to_has_exited>: Add argument.
10836 (target_has_exited): Add argument.
10837 * target.c (debug_to_has_exited): Add argument.
10838 (update_current_target): Update.
10839
ff214e67
TT
108402014-02-19 Tom Tromey <tromey@redhat.com>
10841
10842 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
10843 argument.
10844 (target_set_syscall_catchpoint): Add argument.
10845 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
10846 argument.
10847 * target.c (update_current_target): Update.
10848
758e29d2
TT
108492014-02-19 Tom Tromey <tromey@redhat.com>
10850
10851 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
10852 argument.
10853 (target_remove_exec_catchpoint): Add argument.
10854 * target.c (debug_to_remove_exec_catchpoint): Add argument.
10855 (update_current_target): Update.
10856 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
10857 argument.
10858
ba025e51
TT
108592014-02-19 Tom Tromey <tromey@redhat.com>
10860
10861 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
10862 argument.
10863 (target_insert_exec_catchpoint): Add argument.
10864 * target.c (debug_to_insert_exec_catchpoint): Add argument.
10865 (update_current_target): Update.
10866 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
10867 argument.
10868
e98cf0cd
TT
108692014-02-19 Tom Tromey <tromey@redhat.com>
10870
10871 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
10872 argument.
10873 (target_remove_vfork_catchpoint): Add argument.
10874 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
10875 (update_current_target): Update.
10876 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
10877 argument.
10878
3ecc7da0
TT
108792014-02-19 Tom Tromey <tromey@redhat.com>
10880
10881 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
10882 argument.
10883 (target_insert_vfork_catchpoint): Add argument.
10884 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
10885 (update_current_target): Update.
10886 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
10887 argument.
10888
973fc227
TT
108892014-02-19 Tom Tromey <tromey@redhat.com>
10890
10891 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
10892 argument.
10893 (target_remove_fork_catchpoint): Add argument.
10894 * target.c (debug_to_remove_fork_catchpoint): Add argument.
10895 (update_current_target): Update.
10896 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
10897 argument.
10898
a863b201
TT
108992014-02-19 Tom Tromey <tromey@redhat.com>
10900
10901 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
10902 argument.
10903 (target_insert_fork_catchpoint): Add argument.
10904 * target.c (debug_to_insert_fork_catchpoint): Add argument.
10905 (update_current_target): Update.
10906 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
10907 argument.
10908
2e97a79e
TT
109092014-02-19 Tom Tromey <tromey@redhat.com>
10910
10911 * target.h (struct target_ops) <to_post_startup_inferior>: Add
10912 argument.
10913 (target_post_startup_inferior): Add argument.
10914 * target.c (debug_to_post_startup_inferior): Add argument.
10915 (update_current_target): Update.
10916 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
10917 argument.
10918 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
10919 argument.
10920 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
10921 argument.
10922 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
10923 argument.
10924 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
10925 'self' argument.
10926 (super_post_startup_inferior): Likewise.
10927 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
10928 'self' argument.
10929 (super_post_startup_inferior): Likewise.
10930 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
10931 Add 'self' argument.
10932 (super_post_startup_inferior): Likewise.
10933
71a9f134
TT
109342014-02-19 Tom Tromey <tromey@redhat.com>
10935
10936 * target.h (struct target_ops) <to_load>: Add argument.
10937 * target.c (target_load): Add argument.
10938 (debug_to_load): Add argument.
10939 (update_current_target): Update.
10940 * remote.c (remote_load): Add 'self' argument.
10941 * remote-sim.c (gdbsim_load): Add 'self' argument.
10942 * remote-mips.c (mips_load): Add 'self' argument.
10943 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
10944 * monitor.c (monitor_load): Add 'self' argument.
10945 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
10946
0a4f40a2
TT
109472014-02-19 Tom Tromey <tromey@redhat.com>
10948
10949 * target.h (struct target_ops) <to_terminal_info>: Add argument.
10950 (target_terminal_info): Add argument.
10951 * target.c (debug_to_terminal_info): Add argument.
10952 (default_terminal_info): Likewise.
10953 * inflow.c (child_terminal_info): Add 'self' argument.
10954 * inferior.h (child_terminal_info): Add 'self' argument.
10955 * go32-nat.c (go32_terminal_info): Add 'self' argument.
10956
ae3bd431
TT
109572014-02-19 Tom Tromey <tromey@redhat.com>
10958
10959 * target.h (struct target_ops) <to_terminal_save_ours>: Add
10960 argument.
10961 (target_terminal_save_ours): Add argument.
10962 * target.c (debug_to_terminal_save_ours): Add argument.
10963 (update_current_target): Update.
10964 * inflow.c (terminal_save_ours): Add 'self' argument.
10965 * inferior.h (terminal_save_ours): Add 'self' argument.
10966
e3594fd1
TT
109672014-02-19 Tom Tromey <tromey@redhat.com>
10968
10969 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
10970 (target_terminal_ours): Add argument.
10971 * target.c (debug_to_terminal_ours): Add argument.
10972 (update_current_target): Update.
10973 * remote.c (remote_terminal_ours): Add 'self' argument.
10974 (remote_close): Update.
10975 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
10976 * inflow.c (terminal_ours): Add 'self' argument.
10977 * inferior.h (terminal_ours): Add 'self' argument.
10978 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10979
2e1e1a19
TT
109802014-02-19 Pedro Alves <palves@redhat.com>
10981 Tom Tromey <tromey@redhat.com>
10982
10983 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
10984 argument.
10985 (target_terminal_ours_for_output): Add argument.
10986 * target.c (debug_to_terminal_ours_for_output): Add argument.
10987 (update_current_target): Update.
10988 * inflow.c (terminal_ours_for_output): Add 'self' argument.
10989 * inferior.h (terminal_ours_for_output): Add 'self' argument.
10990 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
10991
d2f640d4
TT
109922014-02-19 Tom Tromey <tromey@redhat.com>
10993
10994 * target.h (struct target_ops) <to_terminal_inferior>: Add
10995 argument.
10996 * target.c (target_terminal_inferior): Add argument.
10997 (update_current_target): Update.
10998 * remote.c (remote_terminal_inferior): Add 'self' argument.
10999 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
11000 * inflow.c (terminal_inferior): Add 'self' argument.
11001 * inferior.h (terminal_inferior): Add 'self' argument.
11002 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
11003 (go32_terminal_inferior): Add 'self' argument.
11004
c42bf286
TT
110052014-02-19 Tom Tromey <tromey@redhat.com>
11006
11007 * target.h (struct target_ops) <to_terminal_init>: Add argument.
11008 (target_terminal_init): Add argument.
11009 * target.c (debug_to_terminal_init): Add argument.
11010 (update_current_target): Update.
11011 * inflow.c (terminal_init_inferior): Add 'self' argument.
11012 * inferior.h (terminal_init_inferior): Add 'self' argument.
11013 * go32-nat.c (go32_terminal_init): Add 'self' argument.
11014 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
11015
c3a5ff89
TT
110162014-02-19 Tom Tromey <tromey@redhat.com>
11017
11018 * target.h (struct target_ops)
11019 <to_can_accel_watchpoint_condition>: Add argument.
11020 (target_can_accel_watchpoint_condition): Add argument.
11021 * target.c (debug_to_can_accel_watchpoint_condition): Add
11022 argument.
11023 (update_current_target): Update.
11024 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
11025 'self' argument.
11026
31568a15
TT
110272014-02-19 Tom Tromey <tromey@redhat.com>
11028
11029 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11030 Add argument.
11031 (target_region_ok_for_hw_watchpoint): Add argument.
11032 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
11033 (default_region_ok_for_hw_watchpoint): Add argument.
11034 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
11035 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
11036 argument.
11037 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
11038 argument.
11039 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
11040 argument.
11041 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
11042 'self' argument.
11043 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
11044 'self' argument.
11045 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
11046 'self' argument.
11047 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
11048 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
11049 'self' argument.
11050 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
11051 Add 'self' argument.
11052
7bb99c53
TT
110532014-02-19 Tom Tromey <tromey@redhat.com>
11054
11055 * target.h (struct target_ops) <to_insert_watchpoint>: Add
11056 argument.
11057 (target_insert_watchpoint): Add argument.
11058 * target.c (debug_to_insert_watchpoint): Add argument.
11059 (update_current_target): Update.
11060 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
11061 * remote.c (remote_insert_watchpoint): Add 'self' argument.
11062 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
11063 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
11064 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
11065 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
11066 argument.
11067 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
11068 (procfs_insert_hw_watchpoint): Add 'self' argument.
11069 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
11070 argument.
11071 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
11072 argument.
11073 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
11074 argument.
11075 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
11076 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
11077 argument.
11078 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
11079 'self' argument.
11080
11b5219a
TT
110812014-02-19 Tom Tromey <tromey@redhat.com>
11082
11083 * target.h (struct target_ops) <to_remove_watchpoint>: Add
11084 argument.
11085 (target_remove_watchpoint): Add argument.
11086 * target.c (debug_to_remove_watchpoint): Add argument.
11087 (update_current_target): Update.
11088 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
11089 * remote.c (remote_remove_watchpoint): Add 'self' argument.
11090 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
11091 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
11092 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
11093 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
11094 argument.
11095 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
11096 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
11097 argument.
11098 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
11099 argument.
11100 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
11101 argument.
11102 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
11103 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
11104 argument.
11105 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
11106 'self' argument.
11107
a64dc96c
TT
111082014-02-19 Tom Tromey <tromey@redhat.com>
11109
11110 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
11111 argument.
11112 (target_remove_hw_breakpoint): Add argument.
11113 * target.c (debug_to_remove_hw_breakpoint): Add argument.
11114 (update_current_target): Update.
11115 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
11116 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
11117 argument.
11118 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
11119 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
11120 argument.
11121 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
11122 'self' argument.
11123
23a26771
TT
111242014-02-19 Tom Tromey <tromey@redhat.com>
11125
11126 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
11127 argument.
11128 (target_insert_hw_breakpoint): Add argument.
11129 * target.c (debug_to_insert_hw_breakpoint): Add argument.
11130 (update_current_target): Update.
11131 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
11132 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
11133 argument.
11134 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
11135 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
11136 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
11137 argument.
11138 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
11139 'self' argument.
11140
5461485a
TT
111412014-02-19 Tom Tromey <tromey@redhat.com>
11142
11143 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
11144 argument.
11145 (target_can_use_hardware_watchpoint): Add argument.
11146 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
11147 (update_current_target): Update.
11148 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
11149 argument.
11150 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
11151 argument.
11152 * remote.c (remote_check_watch_resources): Add 'self' argument.
11153 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
11154 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
11155 argument.
11156 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
11157 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
11158 argument.
11159 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
11160 argument.
11161 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
11162 argument.
11163 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
11164 argument.
11165 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
11166 argument.
11167 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
11168 argument.
11169 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
11170 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
11171 argument.
11172 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
11173 'self' argument.
11174
f045800c
TT
111752014-02-19 Tom Tromey <tromey@redhat.com>
11176
11177 * target.h (struct target_ops) <to_post_attach>: Add argument.
11178 (target_post_attach): Add argument.
11179 * target.c (debug_to_post_attach): Add argument.
11180 (update_current_target): Update.
11181 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
11182 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
11183 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
11184 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
11185 * inf-child.c (inf_child_post_attach): Add 'self' argument.
11186
de90e03d
TT
111872014-02-19 Tom Tromey <tromey@redhat.com>
11188
11189 * windows-nat.c (windows_close): Add 'self' argument.
11190 * tracepoint.c (tfile_close): Add 'self' argument.
11191 * target.h (struct target_ops) <to_close>: Add argument.
11192 * target.c (target_close): Add argument.
11193 (update_current_target): Update.
11194 * remote.c (remote_close): Add 'self' argument.
11195 * remote-sim.c (gdbsim_close): Add 'self' argument.
11196 * remote-mips.c (mips_close): Add 'self' argument.
11197 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
11198 * record-full.c (record_full_close): Add 'self' argument.
11199 * record-btrace.c (record_btrace_close): Add 'self' argument.
11200 * monitor.h (monitor_close): Add 'self' argument.
11201 * monitor.c (monitor_close): Add 'self' argument.
11202 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
11203 * linux-nat.c (linux_nat_close): Add argument.
11204 * go32-nat.c (go32_close): Add 'self' argument.
11205 * exec.c (exec_close_1): Add 'self' argument.
11206 * ctf.c (ctf_close): Add 'self' argument.
11207 * corelow.c (core_close): Add 'self' argument.
11208 (core_close_cleanup): Update.
11209 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
11210 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
11211
9dd130a0
TT
112122014-02-19 Tom Tromey <tromey@redhat.com>
11213
11214 * remote.c (remote_load): New function.
11215 (init_remote_ops): Use it.
11216
46917d26
TT
112172014-02-19 Tom Tromey <tromey@redhat.com>
11218
11219 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
11220 argument.
11221 * common/linux-btrace.h (linux_supports_btrace): Update.
11222 * remote.c (remote_supports_btrace): Add "self" argument.
11223 * target-delegates.c: Rebuild.
11224 * target.c (target_supports_btrace): Remove.
11225 * target.h (struct target_ops) <to_supports_btrace>: Add
11226 target_ops argument.
11227 (target_supports_btrace): New define.
11228
6b84065d
TT
112292014-02-19 Tom Tromey <tromey@redhat.com>
11230
11231 * record-full.c (record_full_beneath_to_resume_ops)
11232 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
11233 (record_full_beneath_to_wait)
11234 (record_full_beneath_to_store_registers_ops)
11235 (record_full_beneath_to_store_registers)
11236 (record_full_beneath_to_xfer_partial_ops)
11237 (record_full_beneath_to_xfer_partial)
11238 (record_full_beneath_to_insert_breakpoint_ops)
11239 (record_full_beneath_to_insert_breakpoint)
11240 (record_full_beneath_to_remove_breakpoint_ops)
11241 (record_full_beneath_to_remove_breakpoint)
11242 (record_full_beneath_to_stopped_by_watchpoint)
11243 (record_full_beneath_to_stopped_data_address)
11244 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
11245 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
11246 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
11247 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
11248 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
11249 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
11250 (tmp_to_stopped_data_address, tmp_to_async): Remove.
11251 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
11252 (record_full_resume, record_full_wait_1)
11253 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
11254 (record_full_store_registers, record_full_xfer_partial)
11255 (record_full_insert_breakpoint, record_full_remove_breakpoint)
11256 (record_full_async, record_full_core_xfer_partial): Use target
11257 delegation.
11258 * target-delegates.c: Rebuild.
11259 * target.c (current_xfer_partial): Remove.
11260 (update_current_target): Do not INHERIT or de_fault
11261 to_insert_breakpoint, to_remove_breakpoint,
11262 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
11263 to_is_async_p, to_async. Do not set to_xfer_partial field.
11264 (default_xfer_partial): Simplify.
11265 (current_xfer_partial): Remove.
11266 (target_wait, target_resume): Simplify.
11267 (find_default_can_async_p, find_default_is_async_p): Update.
11268 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
11269 to_xfer_partial, to_stopped_by_watchpoint,
11270 to_stopped_data_address.
11271 (target_store_registers): Simplify.
11272 (forward_target_remove_breakpoint)
11273 (forward_target_insert_breakpoint): Remove.
11274 (target_remove_breakpoint, target_insert_breakpoint)
11275 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
11276 * target.h (struct target_ops) <to_resume, to_wait,
11277 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
11278 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
11279 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
11280 markup.
11281 (forward_target_remove_breakpoint)
11282 (forward_target_insert_breakpoint): Remove.
11283 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
11284 directly.
11285 (record_btrace_insert_breakpoint): Delegate directly.
11286
1101cb7b
TT
112872014-02-19 Tom Tromey <tromey@redhat.com>
11288
11289 PR build/7701:
11290 * target-delegates.c: New file.
11291 * target.c: Include target-delegates.c.
11292 (init_dummy_target): Call install_dummy_methods.
11293 (complete_target_initialization): Call install_delegators.
11294 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
11295 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
11296 * make-target-delegates: New file.
11297
8b06beed
TT
112982014-02-19 Tom Tromey <tromey@redhat.com>
11299
11300 * record.c (find_record_target): Use find_target_at.
11301 * target.c (find_target_at): New function.
11302 * target.h (find_target_at): Declare.
11303
6a109b6b
TT
113042014-02-19 Tom Tromey <tromey@redhat.com>
11305
11306 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
11307 Add 'ops' argument.
11308 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
11309 'ops' argument.
11310 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
11311 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
11312 'ops' argument.
11313 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
11314 argument.
11315 * linux-nat.c (save_sigtrap): Update.
11316 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
11317 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
11318 (linux_nat_close): Update.
11319 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
11320 argument.
11321 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
11322 argument.
11323 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
11324 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
11325 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
11326 (tmp_to_async): Add 'ops' argument.
11327 (record_full_stopped_by_watchpoint, record_full_async)
11328 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
11329 argument.
11330 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
11331 (m32r_stopped_by_watchpoint): Add 'ops' argument.
11332 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
11333 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
11334 (remote_is_async_p, remote_async): Add 'ops' argument.
11335 (remote_stopped_data_address): Update.
11336 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
11337 * target.c (update_current_target)
11338 (find_default_can_async_p, find_default_is_async_p): Update.
11339 (init_dummy_target): Update.
11340 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
11341 * target.h (struct target_ops) <to_stopped_by_watchpoint,
11342 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
11343 (target_can_async_p, target_is_async_p, target_async)
11344 (target_stopped_by_watchpoint): Update.
11345
e095146b
YQ
113462014-02-19 Yao Qi <yao@codesourcery.com>
11347
11348 PR gdb/16220
11349 * gdbarch.sh: Remove startup_gdbarch.
11350 * gdbarch.c: Regenerated.
11351 * gdbarch.h: Likewise.
11352
bc3c6b36
KB
113532014-02-17 Kevin Buettner <kevinb@redhat.com>
11354
11355 * rl78-tdep.c (rl78_g10_register_name): New function.
11356 (rl78_return_value): Add g10 support.
11357 (rl78_gdbarch_init): Register rl78_g10_register_name for the
11358 g10.
11359
98dc0167 113602014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
11361
11362 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
11363 (SUBDIR_GUILE_SRCS): Ditto.
11364 (scm-gsmob.o): Ditto.
11365
842c05cd
YQ
113662014-02-17 Yao Qi <yao@codesourcery.com>
11367
11368 * gnu-nat.c (ILL_RPC): Declare defined function.
11369
25c0bd04
YQ
113702014-02-17 Yao Qi <yao@codesourcery.com>
11371
11372 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
11373 mach_msg_type_number_t.
11374 (gnu_write_inferior): Likewise.
11375
a9a758e3
YQ
113762014-02-17 Yao Qi <yao@codesourcery.com>
11377
11378 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
11379 in format string.
11380 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
11381 (inf_validate_procs, inf_signal): Likewise.
11382 (S_exception_raise_request): Likewise.
11383 (do_mach_notify_dead_name): Likewise.
11384 (steal_exc_port): Likewise.
11385 (gnu_read_inferior): Change 'copy_count''s type to
11386 mach_msg_type_number_t.
11387 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
11388 format string.
11389
bae8023e
TS
113902014-02-16 Thomas Schwinge <thomas@codesourcery.com>
11391
c82f56d9
TS
11392 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
11393 flag. Adjust all users; in particular...
11394 (gnu_wait): ..., don't decrement its value in here...
11395 (gnu_create_inferior): ..., and instead set the flag in here,
11396 around the startup_inferior call, and call that one with
11397 START_INFERIOR_TRAPS_EXPECTED.
11398
3398af6a
TS
11399 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
11400 (ILL_RPC): ... new macro.
11401 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
11402 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
11403 (do_mach_notify_send_once, S_proc_setmsgport_reply)
11404 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
11405 functions with ILL_RPC macro.
11406 (S_proc_pid2task_reply, S_proc_task2pid_reply)
11407 (S_proc_task2proc_reply, S_proc_proc2task_reply)
11408 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
11409 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
11410 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
11411 (S_proc_getlogin_reply, S_proc_getsid_reply)
11412 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
11413 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
11414 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
11415 (S_proc_getnports_reply, S_proc_is_important_reply)
11416 (S_proc_get_code_reply): New stub functions, generated with
11417 ILL_RPC macro.
11418
d47642c9
TS
11419 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
11420 collected the type check structures.
11421
bae8023e
TS
11422 * reply_mig_hack.awk: Don't expect to see the auto keyword.
11423
8a55ffb0
DE
114242014-02-14 Doug Evans <dje@google.com>
11425
11426 * target.c (target_write_partial): Fix result type.
11427
c2853f3d
JM
114282014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
11429
11430 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
11431 the proper offsets to access fpregset_t.
11432
ac61d2db
SA
114332014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
11434
11435 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
11436 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
11437 * h8300-tdep.c (setmachinelist): Remove global.
11438 * hppa-tdep.c (hppa_sigtramp): Remove global.
11439 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
11440 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
11441 * ravenscar-thread.c (update_target_observer): Remove global.
11442 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
11443
9d2d0b8b
TT
114442014-02-12 Tom Tromey <tromey@redhat.com>
11445
11446 * common/rsp-low.c: Update comments.
11447 * common/rsp-low.h: Update comments.
11448
a7191e8b
TT
114492014-02-12 Tom Tromey <tromey@redhat.com>
11450
11451 * common/rsp-low.c (convert_ascii_to_int): Remove.
11452 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
11453
ff0e980e
TT
114542014-02-12 Tom Tromey <tromey@redhat.com>
11455
11456 * common/rsp-low.h (unhexify): Don't declare.
11457 * common/rsp-low.c (unhexify): Remove.
11458
e9371aff
TT
114592014-02-12 Tom Tromey <tromey@redhat.com>
11460
11461 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
11462 * common/rsp-low.c (convert_int_to_ascii): Remove.
11463
971dc0b8
TT
114642014-02-12 Tom Tromey <tromey@redhat.com>
11465
11466 * common/rsp-low.h (hexify): Don't declare.
11467 * common/rsp-low.c (hexify): Remove.
11468
0a822afb
TT
114692014-02-12 Tom Tromey <tromey@redhat.com>
11470
11471 * common/rsp-low.c (hexify): Never take strlen of argument.
11472
9f1b45b0
TT
114732014-02-12 Tom Tromey <tromey@redhat.com>
11474
11475 * common/rsp-low.c (bin2hex): Never take strlen of argument.
11476 * remote.c (extended_remote_run, remote_rcmd)
11477 (remote_download_trace_state_variable, remote_save_trace_data)
11478 (remote_set_trace_notes): Update.
11479 * tracepoint.c (encode_source_string, tfile_write_status)
11480 (tfile_write_uploaded_tsv): Update.
11481
9c3d6531
TT
114822014-02-12 Tom Tromey <tromey@redhat.com>
11483
11484 * tracepoint.c: Include rsp-low.h.
11485 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
11486 * remote.c: Include rsp-low.h.
11487 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
11488 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
11489 (remote_unescape_input): Move to common/rsp-low.c.
11490 * common/rsp-low.h: New file.
11491 * common/rsp-low.c: New file.
11492 * Makefile.in (SFILES): Add common/rsp-low.c.
11493 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
11494 (COMMON_OBS): Add rsp-low.o.
11495 (rsp-low.o): New target.
11496
01fd3ea5
TT
114972014-02-12 Tom Tromey <tromey@redhat.com>
11498
11499 * utils.h: Include print-utils.h.
11500 (host_address_to_string, plongest, pulongest, phex, phex_nz)
11501 (int_string, core_addr_to_string, core_addr_to_string_nz)
11502 (hex_string, hex_string_custom): Don't declare.
11503 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
11504 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
11505 (hex_string_custom, int_string, core_addr_to_string)
11506 (core_addr_to_string_nz, host_address_to_string): Move to
11507 common/print-utils.c.
11508 * common/print-utils.h: New file.
11509 * common/print-utils.c: New file
11510 * Makefile.in (SFILES): Add common/print-utils.c.
11511 (HFILES_NO_SRCDIR): Add common/print-utils.h.
11512 (COMMON_OBS): Add print-utils.o.
11513 (print-utils.o): New target.
11514
9fb50108
TT
115152014-02-12 Tom Tromey <tromey@redhat.com>
11516
11517 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
11518
0548b5db
MK
115192014-02-12 Mark Kettenis <kettenis@gnu.org>
11520
11521 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
11522
493443a4
MK
115232014-02-12 Mark Kettenis <kettenis@gnu.org>
11524
11525 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
11526 if a PT_IO ptrace request returns sucessfully but indicates that 0
11527 bytes were transferred.
11528
706d0883
PA
115292014-02-12 Pedro Alves <palves@redhat.com>
11530 Kevin Buettner <kevinb@redhat.com>
11531
11532 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
11533 TYPE_INSTANCE_FLAG_CODE_SPACE.
11534
5caa2f0b
PA
115352014-02-12 Pedro Alves <palves@redhat.com>
11536
11537 * h8300-tdep.c (pseudo_from_raw_register)
11538 (raw_from_pseudo_register): New functions.
11539 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
11540 them.
11541
76fd5f74
PA
115422014-02-12 Pedro Alves <palves@redhat.com>
11543
11544 * h8300-tdep.c (h8300_register_sim_regno): New function.
11545 (h8300_gdbarch_init): Install h8300_register_sim_regno as
11546 gdbarch_register_sim_regno hook.
11547
8f008406
SA
115482014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11549
11550 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
11551
195abc10
SA
115522014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11553
11554 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
11555
93ffa5b9
MK
115562014-02-12 Mark Kettenis <kettenis@gnu.org>
11557
11558 * obsd-tdep.h (obsd_init_abi): New prototype.
11559 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
11560 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
11561 (obsd_init_abi): New functions.
11562 * i386obsd-tdep.c: Include "obsd-tdep.h".
11563 (i386obsd_init_abi): Call obsd_init_abi.
11564 * amd64obsd-tdep.c: Include "obsd-tdep.h".
11565 (amd64obsd_init_abi): Call obsd_init_abi.
11566 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
11567 obsd-tdep.c to gdb_target_obs.
11568
49caec94
JM
115692014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
11570
11571 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
11572 double float arguments to 16-byte in the argument slots.
11573
e1402065
DE
115742014-02-11 Doug Evans <xdje42@gmail.com>
11575
11576 * configure.ac: Don't crash if pkg-config is not found and guile
11577 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
11578 in guile checks.
11579 * configure: Regenerate.
11580
edcc890f
YQ
115812014-02-11 Yao Qi <yao@codesourcery.com>
11582
11583 * aix-thread.c (aix_thread_xfer_partial): Update comments.
11584 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
11585 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11586 * gnu-nat.c (gnu_xfer_memory): Likewise.
11587 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11588 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11589 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11590 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11591
9b409511
YQ
115922014-02-11 Yao Qi <yao@codesourcery.com>
11593
11594 * target.h (enum target_xfer_error): Rename to ...
11595 (enum target_xfer_status): ... it. New. All users updated.
11596 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
11597 New.
11598 (TARGET_XFER_STATUS_ERROR_P): New macro.
11599 (target_xfer_error_to_string): Remove declaration.
11600 (target_xfer_status_to_string): Declare.
11601 (target_xfer_partial_ftype): Adjust it.
11602 (struct target_ops) <to_xfer_partial>: Return
11603 target_xfer_status. Add argument xfered_len. Update
11604 comments.
11605 * target.c (target_xfer_error_to_string): Rename to ...
11606 (target_xfer_status_to_string): ... it. New. All callers
11607 updated.
11608 (target_read_live_memory): Likewise. Call target_xfer_partial
11609 instead of target_read.
11610 (memory_xfer_live_readonly_partial): Return
11611 target_xfer_status. Add argument xfered_len.
11612 (raw_memory_xfer_partial): Likewise.
11613 (memory_xfer_partial_1): Likewise.
11614 (memory_xfer_partial): Likewise.
11615 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
11616 properly. Update debug message.
11617 (default_xfer_partial, current_xfer_partial): Likewise.
11618 (target_write_partial): Likewise.
11619 (target_read_partial): Likewise. All callers updated.
11620 (read_whatever_is_readable): Likewise.
11621 (target_write_with_progress): Likewise.
11622 (target_read_alloc_1): Likewise.
11623
11624 * aix-thread.c (aix_thread_xfer_partial): Likewise.
11625 * auxv.c (procfs_xfer_auxv): Likewise.
11626 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
11627 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11628 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11629 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
11630 * corefile.c (read_memory): Adjust.
11631 * corelow.c (core_xfer_partial): Likewise.
11632 * ctf.c (ctf_xfer_partial): Likewise.
11633 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
11634 updated.
11635 (darwin_xfer_partial): Likewise.
11636 * exec.c (section_table_xfer_memory_partial): Likewise. All
11637 callers updated.
11638 (exec_xfer_partial): Likewise.
11639 * exec.h (section_table_xfer_memory_partial): Update
11640 declaration.
11641 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
11642 negative.
11643 (gnu_xfer_partial): Likewise.
11644 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
11645 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
11646 (ia64_hpux_xfer_solib_got): Likewise.
11647 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
11648 type of 'partial_len' to ULONGEST.
11649 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11650 * linux-nat.c (linux_xfer_siginfo ): Likewise.
11651 (linux_nat_xfer_partial): Likewise.
11652 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
11653 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
11654 * monitor.c (monitor_xfer_memory): Likewise.
11655 (monitor_xfer_partial): Likewise.
11656 * procfs.c (procfs_xfer_partial): Likewise.
11657 * record-btrace.c (record_btrace_xfer_partial): Likewise.
11658 * record-full.c (record_full_xfer_partial): Likewise.
11659 (record_full_core_xfer_partial): Likewise.
11660 * remote-sim.c (gdbsim_xfer_memory): Likewise.
11661 (gdbsim_xfer_partial): Likewise.
11662 * remote.c (remote_write_bytes_aux): Likewise. All callers
11663 updated.
11664 (remote_write_bytes, remote_read_bytes): Likewise. All
11665 callers updated.
11666 (remote_flash_erase): Likewise. All callers updated.
11667 (remote_write_qxfer): Likewise. All callers updated.
11668 (remote_read_qxfer): Likewise. All callers updated.
11669 (remote_xfer_partial): Likewise.
11670 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11671 (rs6000_xfer_shared_libraries): Likewise.
11672 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11673 (sol_thread_xfer_partial): Likewise.
11674 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11675 (sparc_xfer_partial): Likewise.
11676 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
11677 updated.
11678 (spu_xfer_partial): Likewise.
11679 * spu-multiarch.c (spu_xfer_partial): Likewise.
11680 * tracepoint.c (tfile_xfer_partial): Likewise.
11681 * windows-nat.c (windows_xfer_memory): Likewise.
11682 (windows_xfer_shared_libraries): Likewise.
11683 (windows_xfer_partial): Likewise.
11684 * valprint.c: Replace 'target_xfer_error' with
11685 'target_xfer_status' in comments.
11686
a8e63083
JB
116872014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
11688
11689 Checked in by Joel Brobecker <brobecker@adacore.com>.
11690 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
11691
e86b67d3
JB
116922014-02-11 Joel Brobecker <brobecker@adacore.com>
11693
11694 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
11695 function parameters.
11696
4b7d1f7f
WN
116972014-02-10 Will Newton <will.newton@linaro.org>
11698
11699 * elfread.c (elf_rel_plt_read): Look for a .got section if
11700 looking up .got.plt fails.
11701 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
11702 on address passed to elf_gnu_ifunc_record_cache.
11703 (elf_gnu_ifunc_resolve_addr): Likewise.
11704 (elf_gnu_ifunc_resolver_return_stop): Likewise.
11705
961842b2
JM
117062014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
11707
11708 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
11709 (X_RETTURN): New macro.
11710 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
11711
11712 * sparc64-tdep.c (sparc64_init_abi): Hook
11713 sparc_in_function_epilogue_p.
11714
3f03e7b1
GB
117152014-02-10 Gary Benson <gbenson@redhat.com>
11716
11717 * symfile-debug.c (debug_qf_expand_symtabs_matching):
11718 Rename name_matcher to symbol_matcher.
11719
96f861ef
GB
117202014-02-10 Gary Benson <gbenson@redhat.com>
11721
11722 * symfile-debug.c (debug_qf_expand_symtabs_matching):
11723 Use expand_symtabs_file_matcher_ftype and
11724 expand_symtabs_symbol_matcher_ftype.
11725
ee01b665
JB
117262014-02-10 Joel Brobecker <brobecker@adacore.com>
11727
11728 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
11729 (struct ada_symbol_cache): New.
11730 (ada_free_symbol_cache): Forward declare.
11731 (struct ada_pspace_data): New.
11732 (ada_pspace_data_handle): New static global.
11733 (get_ada_pspace_data, ada_pspace_data_cleanup)
11734 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
11735 (cache_space, cache): Delete, now folded inside struct
11736 ada_pspace_data.
11737 (ada_get_symbol_cache): New function.
11738 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
11739 implementation.
11740 (_initialize_ada_language): Remove initialization of cache_space.
11741 Move call to observer_attach_inferior_exit up, grouping it
11742 with the other observer registrations inside this function.
11743 Rename command to be more general. Add call to
11744 register_program_space_data_with_cleanup.
11745
143adbbf
JB
117462014-02-10 Joel Brobecker <brobecker@adacore.com>
11747
11748 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
11749 ada_new_objfile_observer.
11750 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
11751 (_initialize_tasks): Update uses of ada_new_objfile_observer
11752 and ada_tasks_normal_stop_observer.
11753
aa4fb036
JB
117542014-02-10 Joel Brobecker <brobecker@adacore.com>
11755
11756 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
11757 returned by the 'Length attribute to integer.
11758
9dee8cc6
JB
117592014-02-10 Joel Brobecker <brobecker@adacore.com>
11760
11761 * ada-lang.c (_initialize_ada_language): Initialize
11762 cache_space obstack.
11763
3d9434b5
JB
117642014-02-10 Joel Brobecker <brobecker@adacore.com>
11765
11766 * ada-lang.c (HASH_SIZE): New macro.
11767 (struct cache_entry): New type.
11768 (cache_space, cache): New static globals.
11769 (ada_clear_symbol_cache, find_entry): New functions.
11770 (lookup_cached_symbol, cache_symbol): Implement.
11771 (ada_new_objfile_observer, ada_free_objfile_observer): New.
11772 (_initialize_ada_language): Attach ada_new_objfile_observer
11773 and ada_free_objfile_observer.
11774
f0c5f9b2
JB
117752014-02-10 Joel Brobecker <brobecker@adacore.com>
11776
11777 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
11778 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
11779 struct block * parameter.
11780 (ada_lookup_symbol_list_worker): Constify local variable "block".
11781 Remove cast which is no longer necessary.
11782
ed3ef339
DE
117832014-02-10 Doug Evans <xdje42@gmail.com>
11784
11785 Add Guile as an extension language.
11786 * NEWS: Mention Guile scripting.
11787 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
11788 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
11789 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
11790 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
11791 (CLIBS): Add GUILE_LIBS.
11792 (install-guile): New rule.
11793 (guile.o): New rule.
11794 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
11795 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
11796 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
11797 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
11798 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
11799 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
11800 (scm-type.o, scm-utils.o, scm-value.o): New rules.
11801 * configure.ac: New option --with-guile.
11802 * configure: Regenerate.
11803 * config.in: Regenerate.
11804 * auto-load.c: Remove #include "python/python.h". Add #include
11805 "gdb/section-scripts.h".
11806 (source_section_scripts): Handle Guile scripts.
11807 (_initialize_auto_load): Add name of Guile objfile script to
11808 scripts-directory help text.
11809 * breakpoint.c (condition_command): Tweak comment to include Scheme.
11810 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
11811 (struct breakpoint): New member scm_bp_object.
11812 * defs.h (enum command_control_type): New value guile_control.
11813 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
11814 "extension.h".
11815 (show_user): Update comment.
11816 (_initialize_cli_cmds): Update help text for "show user". Update help
11817 text for max-user-call-depth.
11818 * cli/cli-script.c: Remove #include "python/python.h". Add #include
11819 "extension.h".
11820 (multi_line_command_p): Add guile_control.
11821 (print_command_lines): Handle guile_control.
11822 (execute_control_command, recurse_read_control_structure): Ditto.
11823 (process_next_line): Recognize "guile" commands.
11824 * disasm.c (gdb_disassemble_info): Make non-static.
11825 * disasm.h: #include "dis-asm.h".
11826 (struct gdbarch): Add forward decl.
11827 (gdb_disassemble_info): Declare.
11828 * extension.c: #include "guile/guile.h".
11829 (extension_languages): Add guile.
11830 (get_ext_lang_defn): Handle EXT_LANG_GDB.
11831 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
11832 * gdbtypes.c (get_unsigned_type_max): New function.
11833 (get_signed_type_minmax): New function.
11834 * gdbtypes.h (get_unsigned_type_max): Declare.
11835 (get_signed_type_minmax): Declare.
11836 * guile/README: New file.
11837 * guile/guile-internal.h: New file.
11838 * guile/guile.c: New file.
11839 * guile/guile.h: New file.
11840 * guile/scm-arch.c: New file.
11841 * guile/scm-auto-load.c: New file.
11842 * guile/scm-block.c: New file.
11843 * guile/scm-breakpoint.c: New file.
11844 * guile/scm-disasm.c: New file.
11845 * guile/scm-exception.c: New file.
11846 * guile/scm-frame.c: New file.
11847 * guile/scm-gsmob.c: New file.
11848 * guile/scm-iterator.c: New file.
11849 * guile/scm-lazy-string.c: New file.
11850 * guile/scm-math.c: New file.
11851 * guile/scm-objfile.c: New file.
11852 * guile/scm-ports.c: New file.
11853 * guile/scm-pretty-print.c: New file.
11854 * guile/scm-safe-call.c: New file.
11855 * guile/scm-string.c: New file.
11856 * guile/scm-symbol.c: New file.
11857 * guile/scm-symtab.c: New file.
11858 * guile/scm-type.c: New file.
11859 * guile/scm-utils.c: New file.
11860 * guile/scm-value.c: New file.
11861 * guile/lib/gdb.scm: New file.
11862 * guile/lib/gdb/boot.scm: New file.
11863 * guile/lib/gdb/experimental.scm: New file.
11864 * guile/lib/gdb/init.scm: New file.
11865 * guile/lib/gdb/iterator.scm: New file.
11866 * guile/lib/gdb/printing.scm: New file.
11867 * guile/lib/gdb/types.scm: New file.
11868 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
11869 (VPATH): Add $(GUILE_SRCDIR).
11870 (GUILE_DIR): New variable.
11871 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
11872 (all): Add stamp-guile dependency.
11873 (stamp-guile): New rule.
11874 (clean-guile, install-guile, uninstall-guile): New rules.
11875 (install-only): Add install-guile dependency.
11876 (uninstall): Add uninstall-guile dependency.
11877 (clean): Add clean-guile dependency.
11878
ac020ec5
DE
118792014-02-09 Doug Evans <xdje42@gmail.com>
11880
11881 Revert this patch (which I approved, mea culpa).
11882
11883 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11884
11885 * Makefile.in (all-lib): Remove.
11886 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11887
2a081c59
JK
118882014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11889
11890 Fix Python stack corruption.
11891 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
11892 gdb_py_longest.
11893
0a6bd22d
MK
118942014-02-08 Mark Kettenis <kettenis@gnu.org>
11895
11896 * Makefile.in (all-lib): Remove.
11897 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11898
1a860409
DE
118992014-02-07 Doug Evans <dje@google.com>
11900
11901 * extension-priv.h (extension_language_script_ops): Add comment.
11902 (extension_language_ops): Add comment.
caf5a491 11903 (active_ext_lang_state): Fix typo in comment.
1a860409 11904
d137e6dc
PA
119052014-02-07 Pedro Alves <palves@redhat.com>
11906
0dcb32c3 11907 PR breakpoints/16292
d137e6dc
PA
11908 * infrun.c (handle_signal_stop) <signal arrives while stepping
11909 over a breakpoint>: Switch back to the stepping thread.
11910
ce6d0892
YQ
119112014-02-07 Yao Qi <yao@codesourcery.com>
11912
11913 * target.c (target_xfer_partial): Return zero if LEN is zero.
11914
2ed4b548
YQ
119152014-02-07 Yao Qi <yao@codesourcery.com>
11916
11917 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
11918 (ld_so_xfer_auxv): Likewise.
11919 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11920 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11921 * corelow.c (core_xfer_partial): Likewise.
11922 * ctf.c (ctf_xfer_partial): Likewise.
11923 * darwin-nat.c (darwin_read_dyld_info): Likewise.
11924 (darwin_xfer_partial): Likewise.
11925 * exec.c (exec_xfer_partial): Likewise.
11926 * gnu-nat.c (gnu_xfer_partial): Likewise.
11927 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
11928 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11929 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11930 * linux-nat.c (linux_xfer_siginfo): Likewise.
11931 (linux_proc_xfer_spu): Likewise.
11932 * procfs.c (procfs_xfer_partial): Likewise.
11933 * record-full.c (record_full_xfer_partial): Likewise.
11934 (record_full_core_xfer_partial): Likewise.
11935 * remote-sim.c (gdbsim_xfer_partial): Likewise.
11936 * remote.c (remote_write_qxfer): Likewise.
11937 (remote_write_qxfer, remote_read_qxfer): Likewise.
11938 (remote_xfer_partial): Likewise.
11939 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11940 (rs6000_xfer_shared_libraries): Likewise.
11941 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11942 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11943 (spu_xfer_partial): Likewise.
11944 * target.c (memory_xfer_partial_1): Likewise.
11945 * tracepoint.c (tfile_xfer_partial): Likewise.
11946 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
11947 (windows_xfer_partial): Likewise.
11948
c09f20e4
YQ
119492014-02-07 Yao Qi <yao@codesourcery.com>
11950
11951 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
11952 comments.
11953 (core_xfer_shared_libraries_aix): Likewise.
11954 * gdbarch.c, gdbarch.h: Regenerated.
11955 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
11956 ULONGEST. Change 'len_avail' type to ULONGEST.
11957 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11958 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11959 declaration.
11960 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
11961
8635b3bf
YQ
119622014-02-07 Yao Qi <yao@codesourcery.com>
11963
11964 * corefile.c (memory_error): Get 'exception' from ERR and pass
11965 'exception' to throw_error.
11966
6dddc817
DE
119672014-02-06 Doug Evans <xdje42@gmail.com>
11968
11969 * configure.ac (libpython checking): Remove all but python.o from
11970 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
11971 * configure: Regenerate.
11972
11973 * Makefile.in (SFILES): Add extension.c.
11974 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
11975 (COMMON_OBS): Add extension.o.
11976 * extension.h: New file.
11977 * extension-priv.h: New file.
11978 * extension.c: New file.
11979
11980 * python/python-internal.h: #include "extension.h".
11981 (gdbpy_auto_load_enabled): Declare.
11982 (gdbpy_apply_val_pretty_printer): Declare.
11983 (gdbpy_apply_frame_filter): Declare.
11984 (gdbpy_preserve_values): Declare.
11985 (gdbpy_breakpoint_cond_says_stop): Declare.
11986 (gdbpy_breakpoint_has_cond): Declare.
11987 (void source_python_script_for_objfile): Delete.
11988 * python/python.c: #include "extension-priv.h".
11989 Delete inclusion of "observer.h".
11990 (extension_language_python): Moved here and renamed from
11991 script_language_python in py-auto-load.c.
11992 Redefined to be of type extension_language_defn.
11993 (python_extension_script_ops): New global.
11994 (python_extension_ops): New global.
11995 (struct python_env): New member previous_active.
11996 (restore_python_env): Call restore_active_ext_lang.
11997 (ensure_python_env): Call set_active_ext_lang.
11998 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
11999 New arg extlang.
12000 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
12001 New arg extlang.
12002 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
12003 New arg extlang.
12004 (gdbpy_eval_from_control_command): Renamed from
12005 eval_python_from_control_command, made static. New arg extlang.
12006 (gdbpy_source_script) Renamed from source_python_script, made static.
12007 New arg extlang.
12008 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
12009 result to int. New arg extlang.
12010 (gdbpy_source_objfile_script): Renamed from
12011 source_python_script_for_objfile, made static. New arg extlang.
12012 (gdbpy_start_type_printers): Renamed from start_type_printers, made
12013 static. New args extlang, extlang_printers. Change result type to
12014 "void".
12015 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
12016 static. New arg extlang. Rename arg printers to extlang_printers
12017 and change type to ext_lang_type_printers *.
12018 (gdbpy_free_type_printers): Renamed from free_type_printers, made
12019 static. Replace argument arg with extlang, extlang_printers.
12020 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
12021 (!HAVE_PYTHON, source_python_script): Delete.
12022 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
12023 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
12024 (!HAVE_PYTHON, start_type_printers): Delete.
12025 (!HAVE_PYTHON, apply_type_printers): Delete.
12026 (!HAVE_PYTHON, free_type_printers): Delete.
12027 (_initialize_python): Delete call to observer_attach_before_prompt.
12028 (finalize_python): Set/restore active extension language.
12029 (gdbpy_finish_initialization) Renamed from
12030 finish_python_initialization, made static. New arg extlang.
12031 (gdbpy_initialized): New function.
12032 * python/python.h: #include "extension.h". Delete #include
12033 "value.h", "mi/mi-cmds.h".
12034 (extension_language_python): Declare.
12035 (GDBPY_AUTO_FILE_NAME): Delete.
12036 (enum py_bt_status): Moved to extension.h and renamed to
12037 ext_lang_bt_status.
12038 (enum frame_filter_flags): Moved to extension.h.
12039 (enum py_frame_args): Moved to extension.h and renamed to
12040 ext_lang_frame_args.
12041 (finish_python_initialization): Delete.
12042 (eval_python_from_control_command): Delete.
12043 (source_python_script): Delete.
12044 (apply_val_pretty_printer): Delete.
12045 (apply_frame_filter): Delete.
12046 (preserve_python_values): Delete.
12047 (gdbpy_script_language_defn): Delete.
12048 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
12049 (start_type_printers, apply_type_printers, free_type_printers): Delete.
12050
12051 * auto-load.c: #include "extension.h".
12052 (GDB_AUTO_FILE_NAME): Delete.
12053 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
12054 (script_language_gdb): Delete, moved to extension.c and renamed to
12055 extension_language_gdb.
12056 (source_gdb_script_for_objfile): Delete.
12057 (auto_load_pspace_info): New member unsupported_script_warning_printed.
12058 (loaded_script): Change type of language member to
12059 struct extension_language_defn *.
12060 (init_loaded_scripts_info): Initialize
12061 unsupported_script_warning_printed.
12062 (maybe_add_script): Make static. Change type of language arg to
12063 struct extension_language_defn *.
12064 (clear_section_scripts): Reset unsupported_script_warning_printed.
12065 (auto_load_objfile_script_1): Rewrite to use extension language API.
12066 (auto_load_objfile_script): Make public. Remove support-compiled-in
12067 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
12068 (source_section_scripts): Rewrite to use extension language API.
12069 (load_auto_scripts_for_objfile): Rewrite to use
12070 auto_load_scripts_for_objfile.
12071 (collect_matching_scripts_data): Change type of language member to
12072 struct extension_language_defn *.
12073 (auto_load_info_scripts): Change type of language arg to
12074 struct extension_language_defn *.
12075 (unsupported_script_warning_print): New function.
12076 (script_not_found_warning_print): Make static.
12077 (_initialize_auto_load): Rewrite construction of scripts-directory
12078 help.
12079 * auto-load.h (struct objfile): Add forward decl.
12080 (struct script_language): Delete.
12081 (struct auto_load_pspace_info): Add forward decl.
12082 (struct extension_language_defn): Add forward decl.
12083 (maybe_add_script): Delete.
12084 (auto_load_objfile_script): Declare.
12085 (script_not_found_warning_print): Delete.
12086 (auto_load_info_scripts): Update prototype.
12087 (auto_load_gdb_scripts_enabled): Declare.
12088 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
12089 auto_load_python_scripts_enabled and made public.
12090 (script_language_python): Delete, moved to python.c.
12091 (gdbpy_script_language_defn): Delete.
12092 (info_auto_load_python_scripts): Update to use
12093 extension_language_python.
12094
12095 * breakpoint.c (condition_command): Replace call to
12096 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
12097 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
12098 with call to breakpoint_ext_lang_cond_says_stop.
12099 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
12100 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
12101 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
12102 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
12103 New arg slang.
12104 (local_setattro): Print name of extension language with existing
12105 stop condition.
12106
12107 * valprint.c (val_print, value_print): Update to call
12108 apply_ext_lang_val_pretty_printer.
12109 * cp-valprint.c (cp_print_value): Update call to
12110 apply_ext_lang_val_pretty_printer.
12111 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
12112 (gdbpy_apply_val_pretty_printer): Renamed from
12113 apply_val_pretty_printer. New arg extlang.
12114 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
12115
12116 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
12117 extension language API.
12118 * cli/cli-script.c (execute_control_command): Update to call
12119 eval_ext_lang_from_control_command.
12120
12121 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
12122 enum ext_lang_bt_status values. Update call to
12123 apply_ext_lang_frame_filter.
12124 (mi_cmd_stack_list_locals): Ditto.
12125 (mi_cmd_stack_list_args): Ditto.
12126 (mi_cmd_stack_list_variables): Ditto.
12127 * mi/mi-main.c: Delete #include "python/python-internal.h".
12128 Add #include "extension.h".
12129 (mi_cmd_list_features): Replace reference to python internal variable
12130 gdb_python_initialized with call to ext_lang_initialized_p.
12131
12132 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
12133 Update to use enum ext_lang_frame_args. Update to call
12134 apply_ext_lang_frame_filter.
12135 * python/py-framefilter.c (extract_sym): Update to use enum
12136 ext_lang_bt_status.
12137 (extract_value, py_print_type, py_print_value): Ditto.
12138 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
12139 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
12140 (py_print_frame): Ditto.
12141 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
12142 New arg extlang. Update to use enum ext_lang_bt_status.
12143
12144 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
12145 finish_python_initialization. Replace with call to
12146 finish_ext_lang_initialization.
12147
12148 * typeprint.c (do_free_global_table): Update to call
12149 free_ext_lang_type_printers.
12150 (create_global_typedef_table): Update to call
12151 start_ext_lang_type_printers.
12152 (find_global_typedef): Update to call apply_ext_lang_type_printers.
12153 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
12154 (type_print_options): Change type of global_printers from "void *"
12155 to "struct ext_lang_type_printers *".
12156
12157 * value.c (preserve_values): Update to call preserve_ext_lang_values.
12158 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
12159 (gdbpy_preserve_values): Renamed from preserve_python_values.
12160 New arg extlang.
12161 (!HAVE_PYTHON, preserve_python_values): Delete.
12162
12163 * utils.c (quit_flag): Delete, moved to extension.c.
12164 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
12165 extension.c.
12166
12167 * eval.c: Delete #include "python/python.h".
12168 * main.c: Delete #include "python/python.h".
12169
12170 * defs.h: Update comment.
12171
6af79985
JB
121722014-02-06 Joel Brobecker <brobecker@adacore.com>
12173
12174 GDB 7.7 released.
12175
12c5175d
MK
121762014-02-05 Mark Kettenis <kettenis@gnu.org>
12177
12178 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
12179 defined.
12180
8dc5b319
YQ
121812014-02-05 Yao Qi <yao@codesourcery.com>
12182
12183 * remote.c (remote_pass_signals): Remove local 'buf' and use
12184 rs->buf.
12185 (remote_program_signals): Likewise.
12186
de7b2893
YQ
121872014-02-05 Yao Qi <yao@codesourcery.com>
12188
12189 * ctf.c: Include "inferior.h" and "gdbthread.h".
12190 (CTF_PID): A new macro.
12191 (ctf_open): Call inferior_appeared and add_thread_silent.
12192 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
12193 (ctf_thread_alive): New function.
12194 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
12195
66d032ac
YQ
121962014-02-05 Yao Qi <yao@codesourcery.com>
12197
12198 Revert this patch:
12199
12200 2013-05-24 Yao Qi <yao@codesourcery.com>
12201
12202 * tracepoint.c (TFILE_PID): Remove.
12203 (tfile_open): Don't add thread and inferior.
12204 (tfile_close): Don't set 'inferior_ptid'. Don't call
12205 exit_inferior_silent.
12206 (tfile_thread_alive): Remove.
12207 (init_tfile_ops): Don't set field 'to_thread_alive' of
12208 tfile_ops.
12209
f4ccffad
CE
122102014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
12211
12212 * remote.c (remote_start_remote): Call remote_check_symbols even
12213 if only symbol-file (not file) has been given.
12214
591a12a1
UW
122152014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12216
12217 * gdbarch.sh (skip_entrypoint): New callback.
12218 * gdbarch.c, gdbarch.h: Regenerate.
12219 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
12220 * infrun.c (fill_in_stop_func): Likewise.
12221 * ppc-linux-tdep.c: Include "elf/ppc64.h".
12222 (ppc_elfv2_elf_make_msymbol_special): New function.
12223 (ppc_elfv2_skip_entrypoint): Likewise.
12224 (ppc_linux_init_abi): Install them for ELFv2.
12225
cc0e89c5
UW
122262014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12227
12228 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
12229 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
12230 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
12231 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
12232 structures returned in GPRs.
12233
52f548e4
UW
122342014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12235
12236 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
12237 offset to the stack parameter list for the ELFv2 ABI.
12238
d4094b6a
UW
122392014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12240
12241 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
12242 set_gdbarch_convert_from_func_ptr_addr and
12243 set_gdbarch_elf_make_msymbol_special for ELFv1.
12244 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
12245 function descriptors on ELFv1.
12246 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
12247 set up r12 at function entry.
12248
cd453cd0
UW
122492014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12250
12251 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
12252 (struct gdbarch_tdep): New member elf_abi.
12253
12254 * rs6000-tdep.c: Include "elf/ppc64.h".
12255 (rs6000_gdbarch_init): Detect ELF ABI version.
12256
0ff3e01f
UW
122572014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12258
12259 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
12260 within a register pair holding a DFP 128-bit value on little-endian.
12261 (ppc64_sysv_abi_return_value_base): Likewise.
12262 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
12263 (dfp_pseudo_register_write): Likewise.
12264
5b757e5d
UW
122652014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12266
12267 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
12268 offset on little-endian when passing _Decimal32.
12269 (ppc64_sysv_abi_return_value_base): Likewise for return values.
12270
084ee545
UW
122712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12272
12273 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
12274 of the overlapped FP register within the VSX register on little-
12275 endian platforms.
12276 (efpr_pseudo_register_write): Likewise.
12277
d63167af
UW
122782014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12279
12280 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
12281 offset on little-endian when passing small structures.
12282
e765b44c
UW
122832014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12284
12285 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
12286 (struct ppc64_sysv_argpos): New data structure.
12287 (ppc64_sysv_abi_push_float): Remove.
12288 (ppc64_sysv_abi_push_val): New function.
12289 (ppc64_sysv_abi_push_integer): Likewise.
12290 (ppc64_sysv_abi_push_freg): Likewise.
12291 (ppc64_sysv_abi_push_vreg): Likewise.
12292 (ppc64_sysv_abi_push_param): Likewise.
12293 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
12294 (ppc64_sysv_abi_return_value_base): New function.
12295 (ppc64_sysv_abi_return_value): Refactor to use it.
12296
36c24d95
UW
122972014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12298
12299 * NEWS: Document new target powerpc64le-*-linux*.
12300
26fd9228
MK
123012014-02-04 Mark Kettenis <kettenis@gnu.org>
12302
12303 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
12304 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
12305 core dumps.
12306 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
12307 register set used in ELF core dumps. Add floating-point register set.
12308
c5bb7362
KB
123092014-02-03 Kevin Buettner <kevinb@redhat.com>
12310
74228e77 12311 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
12312 dwarf2_to_gdb[] table using symbolic constants. Adjust
12313 penultimate entry from number representing the PC register
12314 to symbolic constant representing the MDR register. Add
12315 constant for the PC register to the end of the table.
12316
af09351e
MK
123172014-02-03 Mark Kettenis <kettenis@gnu.org>
12318
12319 * bsd-kvm.c: Include <sys/param.h>
12320
8507e05d
MK
123212014-02-03 Mark Kettenis <kettenis@gnu.org>
12322
12323 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
12324
ae56bfb8
JB
123252014-01-31 Joel Brobecker <brobecker@adacore.com>
12326
12327 * ada-lang.h (clear_ada_sym_cache): Delete.
12328
718ee4dc
UW
123292014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
12330
12331 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
12332
401e27fd
JM
123332014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
12334
12335 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
12336 the sigreturn register save area only if the syscall is
12337 sigreturn.
12338
a7c88acd
JB
123392014-01-29 Joel Brobecker <brobecker@adacore.com>
12340
12341 * valops.c (value_slice): Minor reformatting.
12342
fa0079ea
UW
123432014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
12344
12345 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
12346
c6044dd1
JB
123472014-01-28 Joel Brobecker <brobecker@adacore.com>
12348
12349 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
12350 New static globals.
12351 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
12352 (ada_ignore_descriptive_types_p): New static global.
12353 (find_parallel_type_by_descriptive_type): Return immediately
12354 if ada_ignore_descriptive_types_p is set.
12355 (_initialize_ada_language): Register new commands "maintenance
12356 set ada", "maintenance show ada", "maintenance set ada
12357 ignore-descriptive-types" and "maintenance show ada
12358 ignore-descriptive-types".
12359 * NEWS: Add entry for new "maint ada set/show
12360 ignore-descriptive-types" commands.
12361
568e808b
MM
123622014-01-27 Markus Metzger <markus.t.metzger@intel.com>
12363
12364 * record-btrace.c (record_btrace_close): Call btrace_teardown
12365 for all threads.
12366
467d141b
JB
123672014-01-27 Joel Brobecker <brobecker@adacore.com>
12368
12369 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
12370 "ui-out.h".
12371
fb151210
JB
123722014-01-27 Joel Brobecker <brobecker@adacore.com>
12373
12374 * ada-typeprint (type_is_full_subrange_of_target_type):
12375 New function.
12376 (print_range): Add parameter bounds_prefered_p. If not set,
12377 try printing range types using the name of their base type.
12378 (print_range_type): Add parameter bounds_prefered_p.
12379 Use it in call to print_range.
12380 (print_array_type, ada_print_type): Update calls to print_range
12381 and print_range_type.
12382
aba02109
JB
123832014-01-27 Joel Brobecker <brobecker@adacore.com>
12384
12385 * ada-typeprint.c (print_array_type, print_choices, print_range)
12386 (print_range_bound, print_dynamic_range_bound, print_range_type):
12387 Remove declaration.
12388
e62e21fd
JB
123892014-01-27 Joel Brobecker <brobecker@adacore.com>
12390
12391 * ada-typeprint.c (print_range): Add missing empty line
12392 after local declaration.
12393
859cf5d1
JB
123942014-01-27 Joel Brobecker <brobecker@adacore.com>
12395
12396 * ada-valprint.c (print_optional_low_bound): Get index_type's
12397 target type for as long as it is a TYPE_CODE_RANGE.
12398
25790f6f
JB
123992014-01-27 Joel Brobecker <brobecker@adacore.com>
12400
12401 * procfs.c (procfs_make_note_section): Remove assertion and
12402 associated comment.
12403
6b6aa828
YQ
124042014-01-24 Yao Qi <yao@codesourcery.com>
12405
12406 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
12407 * corelow.c (get_core_siginfo): Likewise.
12408
5d6df423
YQ
124092014-01-24 Yao Qi <yao@codesourcery.com>
12410
12411 * remote.c (remote_write_bytes_aux): Change type of 'len' to
12412 ULONGEST. Don't check 'len' is negative.
12413 (remote_write_bytes): Change type of 'len' to ULONGEST.
12414
83b645b8
TT
124152014-01-23 Tom Tromey <tromey@redhat.com>
12416
12417 PR python/16485:
12418 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
12419 Handle exception from frame.block.
12420 (FrameVars.fetch_frame_locals): Likewise.
12421
0740f8d8
TT
124222014-01-23 Tom Tromey <tromey@redhat.com>
12423
12424 PR python/16487:
12425 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
12426 on a NULL pointer. Move "goto error" to correct place.
12427
21909fa1
TT
124282014-01-23 Tom Tromey <tromey@redhat.com>
12429
12430 PR python/16491:
12431 * python/py-framefilter.c (apply_frame_filter): Call
12432 ensure_python_env after computing gdbarch.
12433
17fde6d0
YQ
124342014-01-23 Yao Qi <yao@codesourcery.com>
12435
12436 * target.c (raw_memory_xfer_partial): Change argument type
12437 from void * to gdb_byte *.
12438 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
12439
87ce2a04
DE
124402014-01-22 Doug Evans <dje@google.com>
12441
12442 New gdbserver option --debug-format=timestamp.
12443 * NEWS: Mention it.
12444
237b092b
AA
124452014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12446
12447 * syscalls/s390x-linux.xml: New file.
12448 * syscalls/s390-linux.xml: New file.
12449 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
12450 (XML_SYSCALL_FILENAME_S390X): Likewise.
12451 (op_svc): New enum value for SVC opcode.
12452 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
12453 (s390_linux_get_syscall_number): New function.
12454 (s390_gdbarch_init): Register '*get_syscall_number' and the
12455 syscall xml file name.
12456 * data-directory/Makefile.in (SYSCALLS_FILES): Add
12457 "s390-linux.xml" and "s390x-linux.xml".
12458 * NEWS: Announce new feature.
12459
54bff650
BS
124602014-01-22 Baruch Siach <baruch@tkos.co.il>
12461
12462 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
12463
14e361d7
PA
124642014-01-22 Pedro Alves <palves@redhat.com>
12465
12466 * xtensa-config.c: Include defs.h.
12467
46bbb3ed
JB
124682014-01-22 Joel Brobecker <brobecker@adacore.com>
12469
12470 * common/common-utils.h: Add "ARI:" comment beside __func__
12471 reference.
12472
3a80edfc
JB
124732014-01-22 Joel Brobecker <brobecker@adacore.com>
12474
12475 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
12476 documentation a bit.
12477
4869db5e
RM
124782014-01-21 Roland McGrath <mcgrathr@google.com>
12479
12480 * configure.ac: Call AM_PROG_INSTALL_STRIP.
12481 * configure: Regenerate.
12482 * aclocal.m4: Regenerate.
12483 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
12484 New substituted variables.
12485 (install-strip): New target.
12486 (INSTALL_SCRIPT): New substituted variable.
12487 (FLAGS_TO_PASS): Add it.
12488 (install-only): Use $(INSTALL_SCRIPT) rather than
12489 $(INSTALL_PROGRAM) for gcore.
12490
9ea4267d
TT
124912014-01-20 Tom Tromey <tromey@redhat.com>
12492
12493 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
12494 together.
12495
1f2bdf09
TT
124962014-01-20 Tom Tromey <tromey@redhat.com>
12497
12498 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
12499 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
12500 (deprecated_cmd_warning, complete_on_cmdlist): Update.
12501 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
12502 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
12503 (struct cmd_list_element) <flags>: Remove.
12504 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
12505 doc_allocated>: New fields.
12506 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
12507 bitfields.
12508 * maint.c (maintenance_do_deprecate): Update.
12509 * top.c (execute_command): Update.
12510
e671835b
BS
125112014-01-20 Baruch Siach <baruch@tkos.co.il>
12512
12513 * xtensa-linux-nat.c: Include asm/ptrace.h.
12514
50367cd2
IB
125152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12516
12517 * Makefile.in (SFILES): Add d-support.c.
12518 (COMMON_OBS): Add d-support.o.
12519 * d-lang.h (d_parse_symbol): Add comment, now defined in
12520 d-support.c.
12521 * d-lang.c (parse_call_convention)
12522 (parse_attributes, parse_function_types)
12523 (parse_function_args, parse_type, parse_identifier)
12524 (call_convention_p, d_parse_symbol): Move functions to ...
12525 * d-support.c: ... New file.
12526
ec9f644a
IB
125272014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12528
12529 * d-lang.h (d_parse_symbol): Add declaration.
12530 * d-lang.c (extract_identifiers)
12531 (extract_type_info): Remove functions.
12532 (parse_call_convention, parse_attributes)
12533 (parse_function_types, parse_function_args)
12534 (parse_type, parse_identifier, call_convention_p)
12535 (d_parse_symbol): New functions.
12536 (d_demangle): Use d_parse_symbol to demangle D symbols.
12537
94b1b47e
IB
125382014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12539
12540 * d-lang.h (struct builtin_d_type): New data type.
12541 (builtin_d_type): Add declaration.
12542 * d-lang.c (d_language_arch_info, build_d_types)
12543 (builtin_d_type): New functions.
12544 (enum d_primitive_types): New data type.
12545 (d_language_defn): Change c_language_arch_info to
12546 d_language_arch_info.
12547 (d_type_data): New static variable.
12548 (_initialize_d_language): Initialize d_type_data.
12549
63778547
IB
125502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12551
12552 * d-lang.h (d_main_name): Add declaration.
12553 * d-lang.c (d_main_name): New function.
12554 * symtab.c (find_main_name): Add call to d_main_name.
12555
3271ba66
IB
125562014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12557
12558 * d-lang.c (d_language_defn): Change macro_expansion_c to
12559 macro_expansion_no.
12560
d36b3012
IB
125612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12562
12563 * MAINTAINERS: Add myself as a write-after-approval maintainer.
12564
c90a6fb7
SDJ
125652014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
12566
12567 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
12568 gdb_exception" declaration.
12569 * remote.c (getpkt_or_notif_sane): Likewise.
12570
749234e5
DE
125712014-01-17 Doug Evans <dje@google.com>
12572
12573 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
12574 function, contents of dirnames_to_char_ptr_vec_append moved here.
12575 (delim_string_to_char_ptr_vec): New function.
12576 (dirnames_to_char_ptr_vec_append): Rewrite.
12577 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
12578
df049a58
DE
125792014-01-17 Doug Evans <dje@google.com>
12580
12581 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
12582 and moved here ...
12583 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
12584 #include "common-utils.h".
12585 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
12586 * common/vec.h (VEC_ASSERT_PASS): Update.
12587 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
12588 (MACH_CHECK_ERROR): Update.
12589
69f97648
SM
125902014-01-17 Simon Marchi <simon.marchi@ericsson.com>
12591
12592 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
12593 comments.
12594 * gdbarch.h: Regenerate.
12595
98b1cfdc
TT
125962014-01-16 Tom Tromey <tromey@redhat.com>
12597
12598 * value.c (struct value) <regnum>: Move earlier.
12599
77a19445
TT
126002014-01-16 Tom Tromey <tromey@redhat.com>
12601
12602 * remote.c (extended_remote_create_inferior): Rename from
12603 extended_remote_create_inferior_1. Add "ops" argument. Remove
12604 old implementation.
12605
62261490
PA
126062014-01-16 Pedro Alves <palves@redhat.com>
12607
12608 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
12609 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
12610 the backchain.
12611
4d65956b
DE
126122014-01-16 Doug Evans <dje@google.com>
12613
12614 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
12615
52834460
MM
126162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12617
12618 * btrace.h (btrace_thread_flag): New.
12619 (struct btrace_thread_info) <flags>: New.
12620 * record-btrace.c (record_btrace_resume_thread)
12621 (record_btrace_find_thread_to_move, btrace_step_no_history)
12622 (btrace_step_stopped, record_btrace_start_replaying)
12623 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
12624 (record_btrace_find_resume_thread): New.
12625 (record_btrace_resume, record_btrace_wait): Extend.
12626 (record_btrace_can_execute_reverse): New.
12627 (record_btrace_open): Fail in non-stop mode.
12628 (record_btrace_set_replay): Split into this, ...
12629 (record_btrace_stop_replaying): ... this, ...
12630 (record_btrace_clear_histories): ... and this.
12631 (init_record_btrace_ops): Init to_can_execute_reverse.
12632 * NEWS: Announce it.
12633
118e6252
MM
126342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12635
12636 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
12637 (forward_target_decr_pc_after_break)
12638 (target_decr_pc_after_break): New.
12639 * target.c (forward_target_decr_pc_after_break)
12640 (target_decr_pc_after_break): New.
12641 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
12642 instead of gdbarch_decr_pc_after_break.
12643 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
12644 instead of gdbarch_decr_pc_after_break.
12645 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
12646 instead of gdbarch_decr_pc_after_break.
12647 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
12648 instead of gdbarch_decr_pc_after_break.
12649 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
12650 instead of gdbarch_decr_pc_after_break.
12651 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
12652 instead of gdbarch_decr_pc_after_break.
12653
6e07b1d2
MM
126542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12655
12656 * btrace.c: Include regcache.h.
12657 (btrace_add_pc): New.
12658 (btrace_enable): Call btrace_add_pc.
12659 (btrace_is_empty): New.
12660 * btrace.h (btrace_is_empty): New.
12661 * record-btrace.c (require_btrace, record_btrace_info): Call
12662 btrace_is_empty.
12663
969c39fb
MM
126642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12665
12666 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
12667 Support delta reads.
12668 (linux_disable_btrace): Change return type.
12669 * common/linux-btrace.h (linux_read_btrace): Change parameters
12670 and return type to allow error reporting. Update users.
12671 (linux_disable_btrace): Change return type. Update users.
12672 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
12673 New.
12674 (btrace_error): New.
12675 (btrace_block) <begin>: Comment on BEGIN == 0.
12676 * btrace.c (btrace_compute_ftrace): Start from the end of
12677 the current trace.
12678 (btrace_stitch_trace, btrace_clear_history): New.
12679 (btrace_fetch): Read delta trace, return if replaying.
12680 (btrace_clear): Move clear history code to btrace_clear_history.
12681 (parse_xml_btrace): Throw an error if parsing failed.
12682 * target.h (struct target_ops) <to_read_btrace>: Change parameters
12683 and return type to allow error reporting.
12684 (target_read_btrace): Change parameters and return type to allow
12685 error reporting.
12686 * target.c (target_read_btrace): Update.
12687 * remote.c (remote_read_btrace): Support delta reads. Pass
12688 errors on.
12689 * NEWS: Announce it.
12690
0b722aec
MM
126912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12692
12693 * record.h (record_btrace_frame_unwind)
12694 (record_btrace_tailcall_frame_unwind): New declarations.
12695 * dwarf2-frame: Include record.h
12696 (dwarf2_frame_cfa): Throw an error for btrace frames.
12697 * record-btrace.c: Include hashtab.h.
12698 (btrace_get_bfun_name): New.
12699 (btrace_call_history): Call btrace_get_bfun_name.
12700 (struct btrace_frame_cache): New.
12701 (bfcache): New.
12702 (bfcache_hash, bfcache_eq, bfcache_new): New.
12703 (btrace_get_frame_function): New.
12704 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
12705 (record_btrace_frame_this_id): Compute own id.
12706 (record_btrace_frame_prev_register): Provide PC, throw_error
12707 for all other registers.
12708 (record_btrace_frame_sniffer): Detect btrace frames.
12709 (record_btrace_tailcall_frame_sniffer): New.
12710 (record_btrace_frame_dealloc_cache): New.
12711 (record_btrace_frame_unwind): Add new functions.
12712 (record_btrace_tailcall_frame_unwind): New.
12713 (_initialize_record_btrace): Allocate cache.
12714 * btrace.c (btrace_clear): Call reinit_frame_cache.
12715 * NEWS: Announce it.
12716
066ce621
MM
127172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12718
12719 * record-btrace.c (record_btrace_set_replay)
12720 (record_btrace_goto_begin, record_btrace_goto_end)
12721 (record_btrace_goto): New.
12722 (init_record_btrace_ops): Initialize them.
12723 * NEWS: Announce it.
12724
e2887aa3
MM
127252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12726
12727 * record-btrace.c (record_btrace_find_new_threads)
12728 (record_btrace_thread_alive): New.
12729 (init_record_btrace_ops): Initialize to_find_new_threads and
12730 to_thread_alive.
12731
b2f4cfde
MM
127322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12733
12734 * record-btrace.c (record_btrace_resume): New.
12735 (record_btrace_wait): New.
12736 (init_record_btrace_ops): Initialize to_wait and to_resume.
12737
633785ff
MM
127382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12739
12740 * record-btrace.c (record_btrace_xfer_partial)
12741 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
12742 (record_btrace_allow_memory_access): New.
12743 (init_record_btrace_ops): Initialize new methods.
12744 * target.c (raw_memory_xfer_partial): Bail out if target reports
12745 that this memory is not available.
12746
3db08215
MM
127472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12748
12749 * target.h (target_ops) <to_insert_breakpoint>
12750 <to_remove_breakpoint>: Add target_ops parameter.
12751 (forward_target_insert_breakpoint): New.
12752 (forward_target_remove_breakpoint): New.
12753 (memory_remove_breakpoint, memory_insert_breakpoint):
12754 Add target_ops parameter.
12755 * target.c (target_insert_breakpoint): Split into this and ...
12756 (forward_target_insert_breakpoint): ... this.
12757 (target_remove_breakpoint): Split into this and ...
12758 (forward_target_remove_breakpoint): ... this.
12759 (debug_to_insert_breakpoint): Add target_ops parameter.
12760 Call forward_target_insert_breakpoint.
12761 (debug_to_remove_breakpoint): Add target_ops parameter.
12762 Call forward_target_remove_breakpoint.
12763 (update_current_target): Do not inherit or default to_insert_breakpoint
12764 and to_remove_breakpoint.
12765 * corelow.c (ignore): Add target_ops parameter.
12766 * exec.c (ignore): Add target_ops parameter.
12767 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
12768 Add target_ops parameter.
12769 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
12770 Add target_ops parameter.
12771 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
12772 Add target_ops parameter.
12773 * record-full.c (record_full_beneath_to_insert_breakpoint)
12774 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
12775 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
12776 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
12777 (record_full_core_remove_breakpoint): Add target_ops parameter.
12778 Update users.
12779 (record_full_beneath_to_insert_breakpoint_ops)
12780 (record_full_beneath_to_remove_breakpoint_ops)
12781 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
12782 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
12783 tmp_to_remove_breakpoint_ops,
12784 record_full_beneath_to_insert_breakpoint_ops, and
12785 record_full_beneath_to_remove_breakpoint_ops.
12786 * remote-m32r-sdi.c (m32r_insert_breakpoint)
12787 (m32r_remove_breakpoint): Add target_ops parameter.
12788 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
12789 Add target_ops parameter.
12790 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
12791 Add target_ops parameter.
12792
cecac1ab
MM
127932014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12794 Markus Metzger <markus.t.metzger@intel.com>
12795
12796 * record-btrace.c: Include frame-unwind.h.
12797 (record_btrace_frame_unwind_stop_reason)
12798 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
12799 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
12800 New.
12801 (init_record_btrace_ops): Install it.
12802
824344ca
MM
128032014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12804
12805 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
12806 get_prev_frame_1.
12807
32261e52
MM
128082014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12809
12810 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
12811 earlier.
12812
ea001bdc
MM
128132014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12814
12815 * frame-unwind.c: Include target.h.
12816 (frame_unwind_try_unwinder): New function with code from ...
12817 (frame_unwind_find_by_frame): ... here. New variable
12818 unwinder_from_target, call also target_get_unwinder)
12819 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
12820 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
12821 * target.h (struct target_ops): New fields to_get_unwinder and
12822 to_get_tailcall_unwinder.
12823 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
12824
1f3ef581
MM
128252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12826
12827 * record-btrace.c (record_btrace_fetch_registers)
12828 (record_btrace_store_registers)
12829 (record_btrace_to_prepare_to_store): New.
12830 (init_record_btrace_ops): Add the above.
12831
f32dbf8c
MM
128322014-01-16 Tom Tromey <tromey@redhat.com>
12833
12834 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
12835 * target.h (struct target_ops) <to_prepare_to_store>: Add
12836 argument.
12837 (target_prepare_to_store): Add argument.
12838 * target.c (debug_to_prepare_to_store): Add argument.
12839 (update_current_target): Update.
12840 * remote.c (remote_prepare_to_store): Add 'self' argument.
12841 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
12842 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
12843 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
12844 * record-full.c (record_full_core_prepare_to_store): Add 'self'
12845 argument.
12846 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
12847 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
12848 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
12849 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
12850 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
12851
07bbe694
MM
128522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12853
12854 * btrace.h (replay) <replay>: New.
12855 (btrace_is_replaying): New.
12856 * btrace.c (btrace_clear): Free replay iterator.
12857 (btrace_is_replaying): New.
12858 * record-btrace.c (record_btrace_is_replaying): New.
12859 (record_btrace_info): Print insn number if replaying.
12860 (record_btrace_insn_history): Start at replay position.
12861 (record_btrace_call_history): Start at replay position.
12862 (init_record_btrace_ops): Init to_record_is_replaying.
12863
0688d04e
MM
128642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12865
12866 * record-btrace.c (record_btrace_insn_history_range): Include
12867 end.
12868 (record_btrace_insn_history_from): Adjust range.
12869 (record_btrace_call_history_range): Include
12870 end.
12871 (record_btrace_call_history_from): Adjust range.
12872 * NEWS: Announce changes.
12873
8710b709
MM
128742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12875
12876 * record.h (enum record_print_flag)
12877 <record_print_indent_calls>: New.
12878 * record.c (get_call_history_modifiers): Recognize /c modifier.
12879 (_initialize_record): Document /c modifier.
12880 * record-btrace.c (btrace_call_history): Add btinfo parameter.
12881 Reorder fields. Optionally indent the function name. Update
12882 all users.
12883 * NEWS: Announce changes.
12884
d0fa7535
MM
128852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12886
12887 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
12888
5de9129b
MM
128892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12890
12891 * btrace.c (ftrace_new_function): Start counting at one.
12892 * record-btrace.c (record_btrace_info): Adjust number of calls
12893 and insns.
12894 * NEWS: Announce it.
12895
7acbe133
MM
128962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12897
12898 * record-btrace.c (btrace_call_history_insn_range): Print
12899 insn range as [begin, end].
12900
23a7fe75
MM
129012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12902
12903 * btrace.h (struct btrace_func_link): New.
12904 (enum btrace_function_flag): New.
12905 (struct btrace_inst): Rename to ...
12906 (struct btrace_insn): ...this. Update all users.
12907 (struct btrace_func) <ibegin, iend>: Remove.
12908 (struct btrace_func_link): New.
12909 (struct btrace_func): Rename to ...
12910 (struct btrace_function): ...this. Update all users.
12911 (struct btrace_function) <segment, flow, up, insn, insn_offset)
12912 (number, level, flags>: New.
12913 (struct btrace_insn_iterator): Rename to ...
12914 (struct btrace_insn_history): ...this.
12915 Update all users.
12916 (struct btrace_insn_iterator, btrace_call_iterator): New.
12917 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
12918 (struct btrace_target_info) <begin, end, level>
12919 <insn_history, call_history>: New.
12920 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12921 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12922 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12923 (btrace_call_number, btrace_call_begin, btrace_call_end)
12924 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12925 (btrace_find_function_by_number, btrace_set_insn_history)
12926 (btrace_set_call_history): New.
12927 * btrace.c (btrace_init_insn_iterator)
12928 (btrace_init_func_iterator, compute_itrace): Remove.
12929 (ftrace_print_function_name, ftrace_print_filename)
12930 (ftrace_skip_file): Change
12931 parameter to const.
12932 (ftrace_init_func): Remove.
12933 (ftrace_debug): Use new btrace_function fields.
12934 (ftrace_function_switched): Also consider gaining and
12935 losing symbol information).
12936 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
12937 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
12938 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
12939 New.
12940 (ftrace_new_function): Move. Remove debug print.
12941 (ftrace_update_lines, ftrace_update_insns): New.
12942 (ftrace_update_function): Check for call, ret, and jump.
12943 (compute_ftrace): Renamed to ...
12944 (btrace_compute_ftrace): ...this. Rewritten to compute call
12945 stack.
12946 (btrace_fetch, btrace_clear): Updated.
12947 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
12948 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
12949 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
12950 (btrace_call_number, btrace_call_begin, btrace_call_end)
12951 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
12952 (btrace_find_function_by_number, btrace_set_insn_history)
12953 (btrace_set_call_history): New.
12954 * record-btrace.c (require_btrace): Use new btrace thread
12955 info fields.
12956 (record_btrace_info, btrace_insn_history)
12957 (record_btrace_insn_history, record_btrace_insn_history_range):
12958 Use new btrace thread info fields and new iterator.
12959 (btrace_func_history_src_line): Rename to ...
12960 (btrace_call_history_src_line): ...this. Use new btrace
12961 thread info fields.
12962 (btrace_func_history): Rename to ...
12963 (btrace_call_history): ...this. Use new btrace thread info
12964 fields and new iterator.
12965 (record_btrace_call_history, record_btrace_call_history_range):
12966 Use new btrace thread info fields and new iterator.
12967
8372a7cb
MM
129682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12969
12970 * frame.h (frame_id_build_unavailable_stack_special): New.
12971 * frame.c (frame_id_build_unavailable_stack_special): New.
12972
c2170eef
MM
129732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12974
12975 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
12976 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
12977 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
12978 to gdbarch.
12979 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
12980 (i386_insn_is_jump, i386_jmp_p): New.
12981 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
12982 insn_is_jump to gdbarch.
12983 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
12984 * gdbarch.h: Regenerated.
12985 * gdbarch.c: Regenerated.
12986 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
12987 (default_insn_is_jump): New.
12988 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
12989 (default_insn_is_jump): New.
12990
864089d2
MM
129912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12992
12993 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
12994 Change to ...
12995 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
12996 (btrace_read_type) <btrace_read_new>: Change to ...
12997 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
12998
ed9edfb5
MM
129992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13000
13001 * common/linux-btrace.c (linux_read_btrace): Free trace from
13002 previous iteration.
13003
fbcbc3fd
DE
130042014-01-15 Doug Evans <dje@google.com>
13005
13006 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
13007 uint32_t.
13008
3d548a53
TT
130092014-01-15 Tom Tromey <tromey@redhat.com>
13010
13011 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
13012 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
13013 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
13014 (set_objfile_main_name): New function.
13015 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
13016 language_of_main>: New fields.
13017 (set_objfile_main_name): Declare.
13018 * symtab.c (find_main_name): Loop over objfiles to find the main
13019 name and language.
13020 (set_main_name): Now static.
13021 (get_main_info): Add comment.
13022 * symtab.h (set_main_name): Don't declare.
13023
32ac0d11
TT
130242014-01-15 Tom Tromey <tromey@redhat.com>
13025
13026 * symtab.c (main_progspace_key): New global.
13027 (struct main_info): New.
13028 (name_of_main, language_of_main): Remove.
13029 (get_main_info, main_info_cleanup): New function.
13030 (set_main_name, main_name, main_language): Use get_main_info.
13031 (_initialize_symtab): Initialize main_progspace_key.
13032
9e6c82ad
TT
130332014-01-15 Tom Tromey <tromey@redhat.com>
13034
13035 * dbxread.c (process_one_symbol): Update.
13036 * dwarf2read.c (read_partial_die): Update.
13037 * symfile.c (set_initial_language): Call main_language.
13038 * symtab.c (language_of_main): Now static.
13039 (set_main_name): Add 'lang' parameter.
13040 (find_main_name): Update.
13041 (main_language): New function.
13042 (symtab_observer_executable_changed): Update.
13043 * symtab.h (set_main_name): Update.
13044 (language_of_main): Remove.
13045 (main_language): Declare.
13046
6ef55de7
TT
130472014-01-15 Tom Tromey <tromey@redhat.com>
13048
13049 * symfile.c (init_entry_point_info): Use new "initialized" field.
13050 Update.
13051 * objfiles.h (struct entry_point) <initialized>: New field.
13052 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
13053 (struct objfile) <ei>: ...here. Remove.
13054 * objfiles.c (entry_point_address_query): Update.
13055
53eddfa6
TT
130562014-01-15 Tom Tromey <tromey@redhat.com>
13057
13058 * objfiles.c (entry_point_address_query): Relocate entry point
13059 address.
13060 (objfile_relocate1): Do not relocate entry point address.
13061 * objfiles.h (struct entry_info) <entry_point>: Update comment.
13062 <the_bfd_section_index>: New field.
13063 * symfile.c (init_entry_point_info): Find the entry point's
13064 section.
13065
d56e56aa
TT
130662014-01-15 Tom Tromey <tromey@redhat.com>
13067
13068 * solib-frv.c (enable_break): Use entry_point_address_query.
13069
33a97bbe
OJ
130702014-01-15 Omair Javaid <omair.javaid@linaro.org>
13071
13072 * NEWS: Add note on improved process record-replay on
13073 arm*-linux* targets.
13074
c6ec2b30
OJ
130752014-01-15 Omair Javaid <omair.javaid@linaro.org>
13076
13077 * arm-tdep.c (enum arm_record_result): New enum.
13078 (arm_record_unsupported_insn): New function.
13079 (arm_record_coproc_data_proc): Removed.
13080 (thumb2_record_ld_st_multiple): New function.
13081 (thumb2_record_ld_st_dual_ex_tbb): New function.
13082 (thumb2_record_data_proc_sreg_mimm): New function.
13083 (thumb2_record_ps_dest_generic): New function.
13084 (thumb2_record_branch_misc_cntrl): New function.
13085 (thumb2_record_str_single_data): New function.
13086 (thumb2_record_ld_mem_hints): New function.
13087 (thumb2_record_ld_word): New function.
13088 (thumb2_record_lmul_lmla_div): New function.
13089 (thumb2_record_decode_insn_handler): New function.
13090 (decode_insn): Add thumb32 instruction handlers.
13091
97dfe206
OJ
130922014-01-15 Omair Javaid <omair.javaid@linaro.org>
13093
13094 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
13095 (struct arm_linux_record_tdep): Declare.
13096 (arm_canonicalize_syscall): New function.
13097 (arm_all_but_pc_registers_record): New function.
13098 (arm_linux_syscall_record): New function.
13099 (arm_linux_init_abi): Add syscall recording constructs.
13100 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
13101 decoding. (arm_record_coproc_data_proc): Update arm syscall
13102 decoding.
13103 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
13104 <arm_syscall_record>: New field.
13105 * configure.tgt (arm*-*-linux*): Add linux-record.o to
13106 gdb_target_obs.
13107
9904a494
OJ
131082014-01-15 Omair Javaid <omair.javaid@linaro.org>
13109
13110 * arm-tdep.c (thumb_record_misc): Update to use sp as base
13111 register for push instruction recording.
13112
f969241e
OJ
131132014-01-15 Omair Javaid <omair.javaid@linaro.org>
13114
13115 * arm-tdep.c (thumb_record_misc): Update to correct logical
13116 error while recording ldm, ldmia and pop instructions.
13117
bfbbec00
OJ
131182014-01-15 Omair Javaid <omair.javaid@linaro.org>
13119
13120 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
13121
e40adcc9
PA
131222014-01-15 Pedro Alves <palves@redhat.com>
13123
13124 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
13125 (go32_resume, go32_fetch_registers, store_register)
13126 (go32_store_registers, go32_prepare_to_store)
13127 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
13128 (go32_create_inferior, go32_can_run, go32_terminal_init)
13129 (go32_terminal_inferior, go32_terminal_ours): Delete forward
13130 declarations.
13131
b0a16e66
TT
131322014-01-15 Tom Tromey <tromey@redhat.com>
13133
13134 * target.h (async_callback_ftype): New typedef.
13135 (struct target_ops) <to_async>: Use it.
13136
bf7105a4
JB
131372014-01-15 Joel Brobecker <brobecker@adacore.com>
13138
13139 * python/py-value.c (get_field_type): Remove unnecessary curly
13140 braces for single-statement if block.
13141
a8f35c2e
JB
131422014-01-15 Joel Brobecker <brobecker@adacore.com>
13143
13144 * python/py-type.c (convert_field): Add missing empty line
13145 after declarations.
13146
bb4142cf
DE
131472014-01-14 Doug Evans <dje@google.com>
13148
13149 * symfile.h (expand_symtabs_matching): Renamed from
13150 expand_partial_symbol_names. Update prototype.
13151 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
13152 * symfile.c (expand_symtabs_matching): Renamed from
13153 expand_partial_symbol_names. New args file_matcher, kind.
13154 Rename arg fun to symbol_matcher.
13155 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
13156 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
13157 ada_expand_partial_symbol_name.
13158 (ada_make_symbol_completion_list): Update to call
13159 expand_symtabs_matching.
13160 (ada_add_global_exceptions): Call expand_symtabs_matching.
13161 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
13162 call map_symbol_filenames.
13163 * symtab.c (sources_info): Update to call map_symbol_filenames.
13164 (search_symbols): Call expand_symtabs_matching.
13165 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
13166 (default_make_symbol_completion_list_break_on): Update to call
13167 expand_symtabs_matching.
13168 (make_source_files_completion_list): Update to call
13169 map_symbol_filenames.
13170
206f2a57
DE
131712014-01-14 Doug Evans <dje@google.com>
13172
13173 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
13174 (expand_symtabs_symbol_matcher_ftype): New typedef.
13175 (quick_symbol_functions.expand_symtabs_matching): Update to use.
13176 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13177 * symfile.c (expand_partial_symbol_names): Update to use
13178 expand_symtabs_symbol_matcher_ftype.
13179 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
13180 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13181 Arg name_matcher renamed to symbol_matcher.
13182 * psymtab.c (recursively_search_psymtabs): Update to use
13183 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
13184 sym_matcher.
13185 (expand_symtabs_matching_via_partial): Update to use
13186 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13187 Arg name_matcher renamed to symbol_matcher.
13188
540c2971
DE
131892014-01-14 Doug Evans <dje@google.com>
13190
13191 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
13192 (map_partial_symbol_filenames): Ditto.
13193 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
13194 (map_partial_symbol_filenames): Ditto.
13195 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
13196 (map_partial_symbol_filenames): Ditto.
13197 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
13198 (map_partial_symbol_filenames): Ditto.
13199 * symtab.c: Delete #include "psymtab.h".
13200
8213266a
PA
132012014-01-14 Pedro Alves <palves@redhat.com>
13202 Tom Tromey <tromey@redhat.com>
13203
13204 * infrun.c (use_displaced_stepping): Use find_record_target
13205 instead of RECORD_IS_USED.
13206 (adjust_pc_after_break): Use record_full_is_used instead of
13207 RECORD_IS_USED.
13208 * record-btrace.c (record_btrace_open): Call record_preopen
13209 instead of checking RECORD_IS_USED.
13210 * record-full.c (record_full_shortname)
13211 (record_full_core_shortname): New globals.
13212 (record_full_is_used): New function.
13213 (find_full_open): Call record_preopen instead of checking
13214 RECORD_IS_USED.
13215 (init_record_full_ops): Set the target's shortname to
13216 record_full_shortname.
13217 (init_record_full_core_ops): Set the target's shortname to
13218 record_full_core_shortname.
13219 * record-full.h (record_full_is_used): Declare.
13220 * record.c (find_record_target): Make extern.
13221 (record_preopen): New function.
13222 * record.h (RECORD_IS_USED): Delete macro.
13223 (find_record_target, record_preopen): Declare functions.
13224
7ec1862d
YQ
132252014-01-14 Yao Qi <yao@codesourcery.com>
13226
13227 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
13228 'len''s type to ULONGEST.
13229 (core_xfer_shared_libraries_aix): Likewise.
13230 * gdbarch.c, gdbarch.h: Regenerated.
13231 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
13232 Change type of 'len' to ULONGEST.
13233 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13234 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
13235
dea80a27
YQ
132362014-01-14 Yao Qi <yao@codesourcery.com>
13237
13238 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
13239 type of 'len' to ULONGEST.
13240 (linux_xfer_osdata_processgroups): Likewise.
13241 (linux_xfer_osdata_threads): Likewise.
13242 (linux_xfer_osdata_fds): Likewise.
13243 (linux_xfer_osdata_isockets): Likewise.
13244 (linux_xfer_osdata_shm): Likewise.
13245 (linux_xfer_osdata_sem): Likewise.
13246 (linux_xfer_osdata_msg): Likewise.
13247 (linux_common_xfer_osdata): Likewise.
13248 (struct osdata_type) <getter>: Likewise.
13249 * common/linux-osdata.h (linux_common_xfer_osdata): Update
13250 the declaration.
13251
b55e14c7
YQ
132522014-01-14 Yao Qi <yao@codesourcery.com>
13253
13254 * target.h (target_xfer_partial_ftype): Update.
13255 (struct target_ops) <to_xfer_partial>: Change 'len' type to
13256 ULONGEST.
13257 * aix-thread.c (aix_thread_xfer_partial): Change type of
13258 argument 'len' to ULONGEST.
13259 * auxv.c (procfs_xfer_auxv): Likewise.
13260 (ld_so_xfer_auxv): Likewise.
13261 (memory_xfer_auxv): Likewise.
13262 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13263 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13264 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
13265 * corelow.c (core_xfer_partial): Likewise.
13266 * ctf.c (ctf_xfer_partial): Likewise.
13267 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
13268 '%u'.
13269 (darwin_read_dyld_info): Likewise.
13270 (darwin_xfer_partial): Likewise.
13271 * exec.c (section_table_xfer_memory_partial): Likewise.
13272 (exec_xfer_partial): Likewise.
13273 * exec.h (section_table_xfer_memory_partial): Update
13274 declaration.
13275 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
13276 instead of plongest.
13277 (gnu_xfer_partial): Likewise.
13278 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
13279 (ia64_hpux_xfer_solib_got): Likewise.
13280 (ia64_hpux_xfer_partial): Likewise.
13281 * ia64-linux-nat.c (ia64_linux_xfer_partial):
13282 * inf-ptrace.c (inf_ptrace_xfer_partial):
13283 * inf-ttrace.c (inf_ttrace_xfer_partial):
13284 * linux-nat.c (linux_xfer_siginfo): Likewise.
13285 (linux_nat_xfer_partial): Likewise.
13286 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
13287 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
13288 * monitor.c (monitor_xfer_memory): Likewise.
13289 (monitor_xfer_partial): Likewise.
13290 * procfs.c (procfs_xfer_partial): Likewise.
13291 * record-full.c (record_full_xfer_partial): Likewise.
13292 (record_full_core_xfer_partial): Likewise.
13293 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
13294 instead of plongest.
13295 (gdbsim_xfer_partial): Likewise.
13296 * remote.c (remote_xfer_partial): Likewise.
13297 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13298 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13299 declaration.
13300 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13301 (rs6000_xfer_shared_libraries): Likewise.
13302 * sol-thread.c (sol_thread_xfer_partial): Likewise.
13303 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13304 (sparc_xfer_partial): Likewise.
13305 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13306 (spu_xfer_partial): Likewise.
13307 * spu-multiarch.c (spu_xfer_partial): Likewise.
13308 * target.c (target_read_live_memory): Likewise.
13309 (memory_xfer_live_readonly_partial): Likewise.
13310 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
13311 (target_xfer_partial, default_xfer_partial): Likewise.
13312 (current_xfer_partial): Likewise.
13313 * tracepoint.c (tfile_xfer_partial): Likewise.
13314 * windows-nat.c (windows_xfer_memory): Likewise. Call
13315 pulongest instead of plongest.
13316 (windows_xfer_partial): Likewise.
13317 (windows_xfer_shared_libraries): Likewise.
13318
05804640
YQ
133192014-01-14 Yao Qi <yao@codesourcery.com>
13320
13321 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
13322 target_xfer_partial_ftype.
13323
b5b08fb4
SC
133242014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13325
13326 PR python/15464
13327 PR python/16113
13328 * valops.c (value_struct_elt_bitpos): New function
13329 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
13330 object to 'None' if the field name is an empty string ("").
13331 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
13332 attribute to look for a field when 'name' is 'None'.
13333 (get_field_type): New function
13334
13aaf454
DE
133352014-01-13 Doug Evans <dje@google.com>
13336
13337 PR symtab/16426
13338 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
13339 (try_open_dwop_file): Ditto.
13340 * gdb_bfd.c: #include "vec.h".
13341 (bfdp): New typedef.
13342 (struct gdb_bfd_data): New member included_bfds.
13343 (gdb_bfd_unref): Unref all included bfds.
13344 (gdb_bfd_record_inclusion): New function.
13345 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
13346
c2cec97c
TT
133472014-01-13 Tom Tromey <tromey@redhat.com>
13348
13349 * gdbcore.h (deprecated_core_resize_section_table): Remove.
13350
78e5999d
TT
133512014-01-13 Tom Tromey <tromey@redhat.com>
13352
13353 * defs.h (use_windows): Remove.
13354 * gdb.c (main): Update.
13355 * main.c (captured_main, gdb_main): Update.
13356 * main.h (struct captured_main_args) <use_windows>: Remove.
13357 * top.c (use_windows): Remove.
13358
f2052bbe
TT
133592014-01-13 Tom Tromey <tromey@redhat.com>
13360
13361 * defs.h (deprecated_flush_hook): Remove.
13362
fde4f8ed
JK
133632014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13364
13365 PR threads/16216
13366 * linux-thread-db.c (try_thread_db_load): Add parameter
13367 check_auto_load_safe. Move here the file_is_auto_load_safe call.
13368 (try_thread_db_load_from_pdir_1): Move it there from here.
13369 (try_thread_db_load_from_sdir): Update caller.
13370 (try_thread_db_load_from_dir): Move it there from here.
13371
bdf61915
PP
133722014-01-13 Patrick Palka <patrick@parcs.ath.cx>
13373
13374 * regformats/regdat.sh: Always rewrite the register file.
13375
f71e1a8d
PA
133762014-01-13 Pedro Alves <palves@redhat.com>
13377
13378 * Makefile.in (CHECK_HEADERS): New variable.
13379 (check-headers:): New rule.
13380
42c85435
TT
133812014-01-13 Tom Tromey <tromey@redhat.com>
13382
13383 * cli/cli-setshow.c (do_set_command): Update.
13384 * defs.h (deprecated_set_hook): Remove.
13385 * top.c (deprecated_set_hook): Remove.
13386
f8de5129
PA
133872014-01-13 Pedro Alves <palves@redhat.com>
13388
13389 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
13390 the tracepoint if the PC is a pseudo-register.
13391
fc270c35
TT
133922014-01-13 Tom Tromey <tromey@redhat.com>
13393
13394 * defs.h (XCALLOC): Remove.
13395 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
13396 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
13397 * dwarf2loc.c (allocate_piece_closure): Likewise.
13398 * elfread.c (elf_symfile_segments): Likewise.
13399 (elf_symfile_segments): Likewise.
13400 * gdbtypes.c (copy_type_recursive): Likewise.
13401 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
13402 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
13403 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
13404 XCALLOC.
13405 * mt-tdep.c (mt_gdbarch_init): Likewise.
13406 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
13407 XCALLOC.
13408 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
13409 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
13410 * registry.c (registry_alloc_data): Likewise.
13411 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
13412 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
13413 * serial.c (serial_fdopen_ops): Likewise.
13414 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
13415 XCALLOC.
13416 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
13417 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
13418 not XCALLOC.
13419
70ba0933
TT
134202014-01-13 Tom Tromey <tromey@redhat.com>
13421
13422 * defs.h (XMALLOC): Remove.
13423 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
13424 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
13425 * cli-out.c (struct ui_out *): Likewise.
13426 * cli/cli-dump.c (add_dump_command): Likewise.
13427 (add_dump_command): Likewise.
13428 * complaints.c (get_complaints): Likewise.
13429 (find_complaint): Likewise.
13430 * dwarf2-frame.c (execute_cfa_program): Likewise.
13431 * dwarf2read.c (abbrev_table_read_table): Likewise.
13432 * gdbarch.sh: Likewise.
13433 * gdbarch.c: Rebuild.
13434 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
13435 * interps.c (interp_new): Likewise.
13436 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
13437 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
13438 * mi/mi-console.c (mi_console_file_new): Likewise.
13439 * mi/mi-interp.c (mi_interpreter_init): Likewise.
13440 * mi/mi-out.c (mi_out_new): Likewise.
13441 * mi/mi-parse.c (mi_parse): Likewise.
13442 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
13443 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
13444 * observer.c (xalloc_observer_list_node): Likewise.
13445 * regcache.c (regcache_xmalloc_1): Likewise.
13446 * reggroups.c (reggroup_new): Likewise.
13447 (_initialize_reggroup): Likewise.
13448 * registry.c (register_data_with_cleanup): Likewise.
13449 * remote.c (remote_notif_stop_alloc_reply): Likewise.
13450 * ser-base.c (serial_ttystate): Likewise.
13451 * ser-mingw.c (make_pipe_state): Likewise.
13452 * ser-pipe.c (pipe_open): Likewise.
13453 * serial.c (serial_open): Likewise.
13454 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
13455 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
13456 (tui_alloc_win_info): Likewise.
13457 (tui_add_content_elements): Likewise.
13458 * tui/tui-file.c (tui_file_new): Likewise.
13459 * tui/tui-out.c (tui_out_new): Likewise.
13460 * ui-file.c (mem_file_new): Likewise.
13461 * ui-out.c (push_level): Likewise.
13462 (make_cleanup_ui_out_end): Likewise.
13463 (append_header_to_list): Likewise.
13464 (ui_out_new): Likewise.
13465 * user-regs.c (user_reg_add_builtin): Likewise.
13466
41bf6aca
TT
134672014-01-13 Tom Tromey <tromey@redhat.com>
13468
13469 * defs.h (XZALLOC): Remove.
13470 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
13471 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
13472 (get_ada_tasks_inferior_data): Likewise.
13473 * auto-load.c (get_auto_load_pspace_data): Likewise.
13474 * auxv.c (get_auxv_inferior_data): Likewise.
13475 * bfd-target.c (target_bfd_reopen): Likewise.
13476 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
13477 (deprecated_insert_raw_breakpoint): Likewise.
13478 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
13479 * corelow.c (core_open): Likewise.
13480 * darwin-nat.c (darwin_check_new_threads): Likewise.
13481 (darwin_attach_pid): Likewise.
13482 * dummy-frame.c (dummy_frame_push): Likewise.
13483 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
13484 * dwarf2loc.c (allocate_piece_closure): Likewise.
13485 * elfread.c (elf_symfile_segments): Likewise.
13486 * eval.c (ptrmath_type_p): Likewise.
13487 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
13488 * gdbtypes.c (alloc_type_arch): Likewise.
13489 (alloc_type_instance): Likewise.
13490 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
13491 * inf-child.c (inf_child_can_use_agent): Likewise.
13492 * inflow.c (get_inflow_inferior_data): Likewise.
13493 * infrun.c (save_infcall_suspend_state): Likewise.
13494 * jit.c (jit_reader_load): Likewise.
13495 (get_jit_objfile_data): Likewise.
13496 (get_jit_program_space_data): Likewise.
13497 (jit_object_open_impl): Likewise.
13498 (jit_symtab_open_impl): Likewise.
13499 (jit_block_open_impl): Likewise.
13500 (jit_frame_sniffer): Likewise.
13501 * linux-fork.c (add_fork): Likewise.
13502 * maint.c (make_command_stats_cleanup): Likewise.
13503 * objfiles.c (get_objfile_pspace_data): Likewise.
13504 * opencl-lang.c (struct lval_closure): Likewise.
13505 * osdata.c (osdata_start_osdata): Likewise.
13506 * progspace.c (new_address_space): Likewise.
13507 (add_program_space): Likewise.
13508 * remote-sim.c (get_sim_inferior_data): Likewise.
13509 * sh-tdep.c (sh_gdbarch_init): Likewise.
13510 * skip.c (Ignore): Likewise.
13511 (skip_delete_command): Likewise.
13512 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
13513 (library_list_start_library): Likewise.
13514 (solib_aix_current_sos): Likewise.
13515 * solib-darwin.c (get_darwin_info): Likewise.
13516 (darwin_current_sos): Likewise.
13517 * solib-dsbt.c (get_dsbt_info): Likewise.
13518 * solib-ia64-hpux.c (new_so_list): Likewise.
13519 (ia64_hpux_get_solib_linkage_addr): Likewise.
13520 * solib-spu.c (append_ocl_sos): Likewise.
13521 (spu_current_sos): Likewise.
13522 * solib-svr4.c (get_svr4_info): Likewise.
13523 (svr4_keep_data_in_core): Likewise.
13524 (library_list_start_library): Likewise.
13525 (svr4_default_sos): Likewise.
13526 (svr4_read_so_list): Likewise.
13527 * solib-target.c (library_list_start_library): Likewise.
13528 (solib_target_current_sos): Likewise.
13529 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
13530 * symfile-debug.c (install_symfile_debug_logging): Likewise.
13531 * symfile.c (default_symfile_segments): Likewise.
13532 * target-descriptions.c (tdesc_data_init): Likewise.
13533 (tdesc_create_reg): Likewise.
13534 (struct tdesc_type *): Likewise.
13535 (tdesc_create_vector): Likewise.
13536 (tdesc_set_struct_size): Likewise.
13537 (struct tdesc_type *): Likewise.
13538 (tdesc_free_feature): Likewise.
13539 (tdesc_create_feature): Likewise.
13540 * windows-nat.c (windows_add_thread): Likewise.
13541 (windows_make_so): Likewise.
13542 * xml-support.c (gdb_xml_body_text): Likewise.
13543 (gdb_xml_create_parser_and_cleanup): Likewise.
13544 (xml_process_xincludes): Likewise.
13545 * xml-syscall.c (allocate_syscalls_info): Likewise.
13546 (syscall_create_syscall_desc): Likewise.
13547
5acfdbae
SDJ
135482014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
13549
13550 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
13551 function, with code from i386_stap_parse_special_token.
13552 (i386_stap_parse_special_token_three_arg_disp): Likewise.
13553 (i386_stap_parse_special_token): Move code to the two functions
13554 above; simplify it.
13555
0000e5cc
PA
135562014-01-09 Pedro Alves <palves@redhat.com>
13557 Hui Zhu <hui@codesourcery.com>
13558
13559 PR gdb/16101
13560 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
13561 bp_err_string. Don't mark the location shlib_disabled if the
13562 error thrown wasn't a generic or memory error. Catch errors
13563 thrown while inserting breakpoints in overlayed code. Output
13564 error message of software breakpoints.
13565 * remote.c (remote_insert_breakpoint): If this breakpoint has
13566 target-side commands but this stub doesn't support Z0 packets,
13567 throw NOT_SUPPORTED_ERROR error.
13568 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
13569 * target.h (target_insert_breakpoint): Extend comment.
13570 (target_insert_hw_breakpoint): Add comment.
13571
b7ea362b
PA
135722014-01-08 Pedro Alves <palves@redhat.com>
13573
13574 * remote.c (remote_add_thread): Add threads silently if starting
13575 up.
13576 (remote_notice_new_inferior): If in all-stop, and starting up,
13577 don't call notice_new_inferior.
13578 (get_current_thread): New function, factored out from ...
13579 (add_current_inferior_and_thread): ... this. Adjust.
13580 (remote_start_remote) <all-stop>: Fetch the thread list. If we
13581 found any thread, then select the remote's current thread as GDB's
13582 current thread too.
13583
b7bba001
JB
135842014-01-08 Joel Brobecker <brobecker@adacore.com>
13585
13586 * NEWS: Create a new section for the next release branch.
13587 Rename the section of the current branch, now that it has
13588 been cut.
13589
16dfbded
JB
135902014-01-08 Joel Brobecker <brobecker@adacore.com>
13591
13592 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
13593 * version.in: Bump version to 7.7.50.DATE-cvs.
13594
22c90ac1
YQ
135952014-01-08 Yao Qi <yao@codesourcery.com>
13596
13597 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
13598 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
13599 (spu_xfer_partial): Cast 'buf' to 'const char *'.
13600
d64ad97c
YQ
136012014-01-08 Yao Qi <yao@codesourcery.com>
13602
13603 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
13604 return value of bfd_get_filename to symbol_file_add_from_bfd.
13605
f93ba80c
PM
136062014-01-08 Pierre Muller <muller@sourceware.org>
13607
13608 Fix PR16201.
13609 * coff-pe-read.c (struct read_pe_section_data): Add index field.
13610 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
13611 to prim_record_mininal_symbol_and_info.
13612 (add_pe_forwarded_sym): Use known section number of forwarded symbol
13613 in call to prim_record_minimal_symbol_and_info.
13614 (read_pe_exported_syms): Set index field of section_data.
13615
a4d9ba85
AP
136162014-01-07 Andrew Pinski <apinski@cavium.com>
13617
13618 * features/aarch64-core.xml (cpsr): Change to be 64bit.
13619 * features/aarch64.c: Regenerate.
13620
1b67eb02
AS
136212014-01-07 Andreas Schwab <schwab@linux-m68k.org>
13622
13623 * target.c (return_null): Define.
13624 (update_current_target): Use it instead of return_zero for
13625 functions that return a pointer.
13626
5e3f4fab
EBM
136272014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13628
13629 * source.c (add_path): Fix check for duplicated paths in the previously
13630 included paths.
13631
e2616788
HK
136322014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
13633
13634 * ada-lang.c: Remove duplicated include statements.
13635 * alphabsd-nat.c: Ditto.
13636 * amd64-darwin-tdep.c: Ditto.
13637 * amd64fbsd-nat.c: Ditto.
13638 * auto-load.c: Ditto.
13639 * ax-gdb.c: Ditto.
13640 * breakpoint.c: Ditto.
13641 * dbxread.c: Ditto.
13642 * fork-child.c: Ditto.
13643 * gdb_usleep.c: Ditto.
13644 * i386-darwin-tdep.c: Ditto.
13645 * i386fbsd-nat.c: Ditto.
13646 * infcmd.c: Ditto.
13647 * inferior.c: Ditto.
13648 * jv-lang.c: Ditto.
13649 * linux-nat.c: Ditto.
13650 * linux-tdep.c: Ditto.
13651 * m68kbsd-nat.c: Ditto.
13652 * m68klinux-nat.c: Ditto.
13653 * microblaze-tdep.c: Ditto.
13654 * mips-linux-tdep.c: Ditto.
13655 * mn10300-tdep.c: Ditto.
13656 * nto-tdep.c: Ditto.
13657 * opencl-lang.c: Ditto.
13658 * osdata.c: Ditto.
13659 * printcmd.c: Ditto.
13660 * regcache.c: Ditto.
13661 * remote-m32r-sdi.c: Ditto.
13662 * remote.c: Ditto.
13663 * symfile.c: Ditto.
13664 * symtab.c: Ditto.
13665 * tilegx-linux-nat.c: Ditto.
13666 * tilegx-tdep.c: Ditto.
13667 * tracepoint.c: Ditto.
13668 * valops.c: Ditto.
13669 * vaxbsd-nat.c: Ditto.
13670 * windows-nat.c: Ditto.
13671 * xtensa-tdep.c: Ditto.
13672
bd1f7788
YQ
136732014-01-07 Yao Qi <yao@codesourcery.com>
13674
13675 * spu-linux-nat.c (_initialize_spu_nat): Declare.
13676
79301218
JB
136772014-01-07 Yao Qi <yao@codesourcery.com>
13678 Joel Brobecker <brobecker@adacore.com>
13679
13680 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
13681 (pdc_write_regs): Likewise.
13682 (fetch_regs_kernel_thread): Likewise.
13683 (store_regs_kernel_thread): Likewise.
13684
136852014-01-07 Joel Brobecker <brobecker@adacore.com>
13686
13687 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
13688 tagged type objects to their actual type.
13689
8e355c5d
JB
136902014-01-07 Joel Brobecker <brobecker@adacore.com>
13691
13692 * ada-valprint.c (print_field_values): Add "language" parameter.
13693 Update calls to print_field_values and print_variant_part.
13694 Pass new parameter "language" in call to val_print instead
13695 of "current_language". Replace call to ada_val_print by call
13696 to val_print.
13697 (print_variant_part): Add "language" parameter.
13698 (ada_val_print_struct_union): Update call to print_field_values.
13699
4fbf5aa5
JB
137002014-01-07 Joel Brobecker <brobecker@adacore.com>
13701
13702 * ada-valprint.c (ui_memcpy): Delete.
13703 (ada_print_floating): Update documentation. Add empty line
13704 between between function documentation and implementation.
13705 Delete variable "buffer". Use ui_file_xstrdup in place of
13706 ui_file_put. Minor adjustments following this change.
13707
71855601
JB
137082014-01-07 Joel Brobecker <brobecker@adacore.com>
13709
13710 * ada-valprint.c (ada_val_print_string): New function,
13711 extracted from ada_val_print_array.
13712 (ada_val_print_array): Replace extracted code by call
13713 to ada_val_print_string followed by a return. Move
13714 "else" branch to the function's top block.
13715
4eb27a30
JB
137162014-01-07 Joel Brobecker <brobecker@adacore.com>
13717
13718 * ada-valprint.c (ada_val_print_array): Move implementation
13719 down. Rename parameter "offset" and "val" into "offset_aligned"
13720 and "original_value" respectively. Add parameter "offset".
13721
34b27950
JB
137222014-01-07 Joel Brobecker <brobecker@adacore.com>
13723
13724 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
13725 re-organizing the code. Change the "???" message printed
13726 when target type is a TYPE_CODE_UNDEF into
13727 "<ref to undefined type>".
13728
079e4591
JB
137292014-01-07 Joel Brobecker <brobecker@adacore.com>
13730
13731 * ada-valprint.c (print_record): Delete, implementation inlined...
13732 (ada_val_print_struct_union): ... here. Remove call to
13733 ada_check_typedef in inlined implementation.
13734
8004dfd1
JB
137352014-01-07 Joel Brobecker <brobecker@adacore.com>
13736
13737 * ada-valprint.c (ada_val_print_gnat_array): New function,
13738 extracted from ada_val_print_1;
13739 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
13740 (ada_val_print_flt, ada_val_print_struct_union)
13741 (ada_val_print_ref): Likewise.
13742 (ada_val_print_1): Delete variables i and elttype.
13743 Replace extracted-out code by call to corresponding
13744 new functions.
13745
760a2db0
JB
137462014-01-07 Joel Brobecker <brobecker@adacore.com>
13747
13748 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
13749
3a92c861
JB
137502014-01-07 Joel Brobecker <brobecker@adacore.com>
13751
13752 * ada-valprint.c (ada_val_print_1): Replace calls to
13753 ada_val_print_1 by calls to val_print.
13754
cd1630f9
JB
137552014-01-07 Joel Brobecker <brobecker@adacore.com>
13756
13757 * ada-valprint.c (ada_val_print_1): Add parameter "language".
13758 Update calls to self accordingly. Replace calls to c_val_print
13759 by calls to val_print.
13760
bdf779a0
JB
137612014-01-07 Joel Brobecker <brobecker@adacore.com>
13762
13763 * ada-valprint.c (print_record): Delete declaration.
13764 (adjust_type_signedness, ada_val_print_1): Likewise.
13765 (ada_val_print): Move function implementation down.
13766 (print_variant_part, print_field_values, print_record):
13767 Move function implementation up.
13768
c0d48811
JB
137692014-01-07 Joel Brobecker <brobecker@adacore.com>
13770
13771 * python/py-type.c (typy_get_name): New function.
13772 (type_object_getset): Add entry for attribute "name".
13773 * NEWS: Add entry mentioning this new attribute.
13774
c26e9cbb
YQ
137752014-01-07 Yao Qi <yao@codesourcery.com>
13776
13777 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
13778 statement.
13779
0cc6f43d
YQ
137802014-01-07 Yao Qi <yao@codesourcery.com>
13781
13782 * gnu-nat.c (info_port_rights): Add qualifier const to
13783 argument args.
13784
eec03155
YQ
137852014-01-07 Yao Qi <yao@codesourcery.com>
13786
13787 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
13788
f04a82ef
YQ
137892014-01-07 Yao Qi <yao@codesourcery.com>
13790
13791 * gnu-nat.c (make_inf) Update declaration.
13792 (make_inf): Make it static.
13793 (inf_set_traced): Likewise.
13794 (inf_port_to_thread, inf_task_died_status): Likewise.
13795
d57dda0a
YQ
137962014-01-07 Yao Qi <yao@codesourcery.com>
13797
13798 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
13799
3aa8c969
YQ
138002014-01-07 Yao Qi <yao@codesourcery.com>
13801
13802 * gnu-nat.c (_initialize_gnu_nat): Declare.
13803
94123b4f
YQ
138042014-01-07 Yao Qi <yao@codesourcery.com>
13805
13806 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
13807 'enum bfd_endian'.
13808 (struct gdbarch_info) <byte_order>: Change type to
13809 'enum bfd_endian'.
13810 <byte_order_for_code>: Likewise.
13811 * gdbarch.c, gdbarch.h: Regenerated.
13812
dc81d70a
TT
138132014-01-06 Sasha Smundak <asmundak@google.com>
13814
13815 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
13816
cc2f3c35
TT
138172014-01-06 Tom Tromey <tromey@redhat.com>
13818
13819 * doublest.c (convert_doublest_to_floatformat): Use const, not
13820 CONST.
13821 * somread.c (som_symtab_read): Likewise.
13822
adcf2eed
HZ
138232014-01-07 Hui Zhu <hui@codesourcery.com>
13824
13825 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
13826 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
13827 (gdb_bfd_fopen): Ditto.
13828 (gdb_bfd_openr): Ditto.
13829 (gdb_bfd_openw): Ditto.
13830 (gdb_bfd_openr_iovec): Ditto.
13831 (gdb_bfd_fdopenr): Ditto.
13832 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
13833 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
13834 with xstrdup.
13835 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
13836 with xstrdup.
13837 * symfile-mem.c (symbol_file_add_from_memory): Removed
13838 gdb_bfd_stash_filename.
13839
50722198
DE
138402014-01-03 Doug Evans <dje@google.com>
13841
13842 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
13843 output.
13844
2fa4b862
JB
138452014-01-01 Joel Brobecker <brobecker@adacore.com>
13846
13847 Update year range in copyright notice of all files.
13848
28498c42
JB
138492014-01-01 Joel Brobecker <brobecker@adacore.com>
13850
13851 * top.c (print_gdb_version): Set copyright year to 2014.
13852
7b6e1046
JB
138532014-01-01 Joel Brobecker <brobecker@adacore.com>
13854
13855 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
13856
df96af55 13857For older changes see ChangeLog-2013.
c906108c
SS
13858\f
13859Local Variables:
13860mode: change-log
13861left-margin: 8
13862fill-column: 74
13863version-control: never
57da7796 13864coding: utf-8
c906108c 13865End:
This page took 2.363033 seconds and 4 git commands to generate.