daily update
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
99894e11
JK
12014-10-12 Miroslav Franc <mfranc@redhat.com>
2
3 Fix "save breakpoints" for "disable $bpnum" command.
4 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
5
3831839c
PA
62014-10-10 Pedro Alves <palves@redhat.com>
7
8 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
9 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
10 (HFILES_NO_SRCDIR): Remove solib-irix.h.
11 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
12 and been removed.
13 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
14 * configure.ac: Remove references to IRIX.
15 * configure.host: Add *-*-irix* to the obsolete hosts section.
16 Remove all other references to irix.
17 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
18 Delete files.
19
cc3afae2
AKA
202014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
21
22 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
23 isn't valid, release the tdesc arch data and return NULL.
24
cdfa0b0a
PA
252014-10-10 Pedro Alves <palves@redhat.com>
26
27 * linux-tdep.c: Include observer.h.
28 (linux_inferior_data): New global.
29 (struct linux_info): New structure.
30 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
31 (get_linux_inferior_data): New functions.
32 (linux_vsyscall_range): Rename to ...
33 (linux_vsyscall_range_raw): ... this.
34 (linux_vsyscall_range): New function; handles caching.
35 (_initialize_linux_tdep): Register linux_inferior_data. Install
36 inferior_exit and inferior_appeared observers.
37
8b9a549d
PA
382014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
39 Pedro Alves <palves@redhat.com>
40
41 PR symtab/14466
42 * solib-svr4.c (svr4_read_so_list): Rename to ...
43 (svr4_current_sos_1): ... this and change the function comment.
44 (svr4_current_sos): New function.
45
3437254d
PA
462014-10-10 Pedro Alves <palves@redhat.com>
47
48 * arch-utils.c (default_vsyscall_range): New function.
49 * arch-utils.h (default_vsyscall_range): New declaration.
50 * gdbarch.sh (vsyscall_range): New hook.
51 * gdbarch.h, gdbarch.c: Regenerate.
52 * linux-tdep.c (linux_vsyscall_range): New function.
53 (linux_init_abi): Install linux_vsyscall_range as
54 vsyscall_range gdbarch hook.
55 * memrange.c (address_in_mem_range): New function.
56 * memrange.h (address_in_mem_range): New declaration.
57 * symfile-mem.c (find_vdso_size): Delete function.
58 (add_vsyscall_page): Use gdbarch_vsyscall_range.
59
31cc0b80
PA
602014-10-10 Pedro Alves <palves@redhat.com>
61
62 * infrun.c (normal_stop): Fix typo in comment.
63
3e3286a2
SDJ
642014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
65
66 PR tdep/9390
67 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
68 typo when using logical AND to determine instruction type.
69
fcbdedf8
YQ
702014-10-09 Yao Qi <yao@codesourcery.com>
71
72 * infrun.c (handle_signal_stop): Remove local variable
73 'printed'.
74
db984616
SS
752014-10-08 Stan Shebs <stan@codesourcery.com>
76
77 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
78
3ba37e6c
GB
792014-10-08 Gary Benson <gbenson@redhat.com>
80
81 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
82
a442d071
GB
832014-10-08 Gary Benson <gbenson@redhat.com>
84
85 * common/common-defs.h: Include common-exceptions.h.
86 * exceptions.h: Do not include common-exceptions.h.
87
6f1947e8
GB
882014-10-08 Gary Benson <gbenson@redhat.com>
89
90 * common/common-defs.h: Include cleanups.h.
91 * common/common-exceptions.c: Do not include cleanups.h.
92 * utils.h: Likewise.
93
c765fdb9
GB
942014-10-08 Gary Benson <gbenson@redhat.com>
95
96 * ada-lang.c: Do not include exceptions.h.
97 * ada-valprint.c: Likewise.
98 * amd64-tdep.c: Likewise.
99 * auto-load.c: Likewise.
100 * block.c: Likewise.
101 * break-catch-throw.c: Likewise.
102 * breakpoint.c: Likewise.
103 * btrace.c: Likewise.
104 * c-lang.c: Likewise.
105 * cli/cli-cmds.c: Likewise.
106 * cli/cli-interp.c: Likewise.
107 * cli/cli-script.c: Likewise.
108 * completer.c: Likewise.
109 * corefile.c: Likewise.
110 * corelow.c: Likewise.
111 * cp-abi.c: Likewise.
112 * cp-support.c: Likewise.
113 * cp-valprint.c: Likewise.
114 * darwin-nat.c: Likewise.
115 * dwarf2-frame-tailcall.c: Likewise.
116 * dwarf2-frame.c: Likewise.
117 * dwarf2loc.c: Likewise.
118 * dwarf2read.c: Likewise.
119 * eval.c: Likewise.
120 * event-loop.c: Likewise.
121 * event-top.c: Likewise.
122 * f-valprint.c: Likewise.
123 * frame-unwind.c: Likewise.
124 * frame.c: Likewise.
125 * gdbtypes.c: Likewise.
126 * gnu-v2-abi.c: Likewise.
127 * gnu-v3-abi.c: Likewise.
128 * guile/scm-auto-load.c: Likewise.
129 * guile/scm-breakpoint.c: Likewise.
130 * guile/scm-cmd.c: Likewise.
131 * guile/scm-frame.c: Likewise.
132 * guile/scm-lazy-string.c: Likewise.
133 * guile/scm-param.c: Likewise.
134 * guile/scm-symbol.c: Likewise.
135 * guile/scm-type.c: Likewise.
136 * hppa-hpux-tdep.c: Likewise.
137 * i386-tdep.c: Likewise.
138 * inf-loop.c: Likewise.
139 * infcall.c: Likewise.
140 * infcmd.c: Likewise.
141 * infrun.c: Likewise.
142 * interps.c: Likewise.
143 * interps.h: Likewise.
144 * jit.c: Likewise.
145 * linespec.c: Likewise.
146 * linux-nat.c: Likewise.
147 * linux-thread-db.c: Likewise.
148 * m32r-rom.c: Likewise.
149 * main.c: Likewise.
150 * memory-map.c: Likewise.
151 * mi/mi-cmd-break.c: Likewise.
152 * mi/mi-cmd-stack.c: Likewise.
153 * mi/mi-interp.c: Likewise.
154 * mi/mi-main.c: Likewise.
155 * monitor.c: Likewise.
156 * nto-procfs.c: Likewise.
157 * objc-lang.c: Likewise.
158 * p-valprint.c: Likewise.
159 * parse.c: Likewise.
160 * ppc-linux-tdep.c: Likewise.
161 * printcmd.c: Likewise.
162 * probe.c: Likewise.
163 * python/py-auto-load.c: Likewise.
164 * python/py-breakpoint.c: Likewise.
165 * python/py-cmd.c: Likewise.
166 * python/py-finishbreakpoint.c: Likewise.
167 * python/py-frame.c: Likewise.
168 * python/py-framefilter.c: Likewise.
169 * python/py-function.c: Likewise.
170 * python/py-gdb-readline.c: Likewise.
171 * python/py-inferior.c: Likewise.
172 * python/py-infthread.c: Likewise.
173 * python/py-lazy-string.c: Likewise.
174 * python/py-linetable.c: Likewise.
175 * python/py-param.c: Likewise.
176 * python/py-prettyprint.c: Likewise.
177 * python/py-symbol.c: Likewise.
178 * python/py-type.c: Likewise.
179 * python/py-value.c: Likewise.
180 * python/python-internal.h: Likewise.
181 * python/python.c: Likewise.
182 * record-btrace.c: Likewise.
183 * record-full.c: Likewise.
184 * regcache.c: Likewise.
185 * remote-fileio.c: Likewise.
186 * remote-mips.c: Likewise.
187 * remote.c: Likewise.
188 * rs6000-aix-tdep.c: Likewise.
189 * rs6000-nat.c: Likewise.
190 * skip.c: Likewise.
191 * solib-darwin.c: Likewise.
192 * solib-dsbt.c: Likewise.
193 * solib-frv.c: Likewise.
194 * solib-ia64-hpux.c: Likewise.
195 * solib-spu.c: Likewise.
196 * solib-svr4.c: Likewise.
197 * solib.c: Likewise.
198 * spu-tdep.c: Likewise.
199 * stack.c: Likewise.
200 * stap-probe.c: Likewise.
201 * symfile-mem.c: Likewise.
202 * symmisc.c: Likewise.
203 * target.c: Likewise.
204 * thread.c: Likewise.
205 * top.c: Likewise.
206 * tracepoint.c: Likewise.
207 * tui/tui-interp.c: Likewise.
208 * typeprint.c: Likewise.
209 * utils.c: Likewise.
210 * valarith.c: Likewise.
211 * valops.c: Likewise.
212 * valprint.c: Likewise.
213 * value.c: Likewise.
214 * varobj.c: Likewise.
215 * windows-nat.c: Likewise.
216 * xml-support.c: Likewise.
217
484933d1
MR
2182014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
219
220 * mips-tdep.c (add_offset_16): Rewrite to implement what the
221 name implies.
222 (extended_mips16_next_pc): Update accordingly.
223
ab50adb6
MR
2242014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
225
226 * mips-tdep.c (mips16_instruction_is_compact_branch): New
227 function.
228 (micromips_instruction_is_compact_branch): Likewise.
229 (mips16_scan_prologue): Terminate scanning upon seeing a branch
230 or a compact jump, reaching a jump delay slot, or seeing a
231 second non-prologue instruction.
232 (micromips_scan_prologue): Also terminate scanning upon seeing a
233 compact branch or jump, or reaching a branch or jump delay slot.
234 (mips32_scan_prologue): Terminate scanning upon reaching a branch
235 or jump delay slot, or seeing a second non-prologue instruction.
236 (mips32_instruction_has_delay_slot): Retain instruction
237 examination code only, update arguments accordingly and move
238 instruction fetch pieces to...
239 (mips32_insn_at_pc_has_delay_slot): ... this new function.
240 (micromips_instruction_has_delay_slot): Likewise and to...
241 (micromips_insn_at_pc_has_delay_slot): ... this new function.
242 (mips16_instruction_has_delay_slot): Likewise and to...
243 (mips16_insn_at_pc_has_delay_slot): ... this new function.
244 (mips_single_step_through_delay): Update accordingly.
245 (mips_adjust_breakpoint_address): Likewise.
246
ae790652
MR
2472014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
248
249 * mips-tdep.c (micromips_instruction_has_delay_slot): When
250 !mustbe32 also return 1 for 32-bit instructions.
251 (mips16_instruction_has_delay_slot): Likewise. Add an
252 explanatory comment.
253
9b807e7b
MR
2542014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
255
256 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
257 symbols special.
258
0d5ed153
MR
2592014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
260
261 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
262 update comments.
263 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
264 for the breakpoint's address. Don't preinitialize `placed_size'.
265 (insert_bp_location): Set `reqstd_address' rather than
266 `placed_address'.
267 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
268 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
269 address.
270 (bkpt_remove_location): Likewise.
271 (deprecated_insert_raw_breakpoint): Likewise.
272 (deprecated_remove_raw_breakpoint): Likewise.
273 (find_single_step_breakpoint): Likewise.
274 * mem-break.c (default_memory_insert_breakpoint): Use
275 `reqstd_address' for the breakpoint's address. Don't set
276 `placed_address' or `placed_size' if breakpoint contents couldn't
277 have been determined.
278 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
279 the breakpoint's address.
280 (remote_insert_hw_breakpoint): Likewise. Don't set
281 `placed_address' or `placed_size' if breakpoint couldn't have been
282 set.
283 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
284 `reqstd_address' for the breakpoint's address.
285 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
286 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
287 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
288 * microblaze-linux-tdep.c
289 (microblaze_linux_memory_remove_breakpoint): Likewise.
290 * monitor.c (monitor_insert_breakpoint): Likewise.
291 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
292 (procfs_insert_hw_breakpoint): Likewise.
293 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
294 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
295 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
296 * remote-mips.c (mips_insert_breakpoint): Likewise.
297 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
298
3e871532
LM
2992014-10-03 Luis Machado <lgustavo@codesourcery.com>
300
301 * valops.c (value_assign): Check for bit field assignments
302 before calling architecture-specific register value
303 conversion functions.
304
ec48dc8b
PM
3052014-10-03 Pierre Muller <muller@sourceware.org>
306
307 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
308
b57bacec
PA
3092014-10-02 Pedro Alves <palves@redhat.com>
310
311 * breakpoint.c (breakpoints_should_be_inserted_now): Use
312 threads_are_executing.
313 * breakpoint.h (breakpoints_should_be_inserted_now): Add
314 describing comment.
315 * gdbthread.h (threads_are_executing): Declare.
316 (handle_signal_stop) <random signals>: Don't print about the
317 signal here if stopping.
318 (end_stepping_range): Don't notify observers here.
319 (normal_stop): Update the thread list. If stopped by a random
320 signal or a stepping range ended, notify observers.
321 * thread.c (threads_executing): New global.
322 (init_thread_list): Clear 'threads_executing'.
323 (set_executing): Set or clear 'threads_executing'.
324 (threads_are_executing): New function.
325 (update_threads_executing): New function.
326 (update_thread_list): Use it.
327
13fd3ff3
PA
3282014-10-02 Pedro Alves <palves@redhat.com>
329
330 PR breakpoints/17431
331 * breakpoint.c (update_breakpoints_after_exec): Don't create
332 overlay, longjmp, std terminate nor exception breakpoints here.
333
32990ada
PA
3342014-10-02 Pedro Alves <palves@redhat.com>
335
336 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
337 Adjust comments.
338 * inferior.c (find_inferior_for_program_space): Give preference to
339 the current inferior.
340 * inferior.h (find_inferior_for_program_space): Update comment.
341 * progspace.c (switch_to_program_space_and_thread): Prefer the
342 current inferior if it's bound to the program space requested. If
343 the inferior found doesn't have a PID yet, don't bother looking up
344 a thread.
345 * progspace.h (switch_to_program_space_and_thread): Adjust
346 comment.
347 * thread.c (any_thread_of_process, any_live_thread_of_process):
348 Give preference to the current thread.
349
0fec99e8
PA
3502014-10-01 Pedro Alves <palves@redhat.com>
351
352 * breakpoint.c (insert_bp_location): Error out if inserting a
353 software breakpoint at a read-only address.
354 * target.c (memory_xfer_check_region): New function, factored out
355 from ...
356 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
357 ULONGEST.
358 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
359 against the memory region attributes.
360
2ddf4301
SM
3612014-10-01 Simon Marchi <simon.marchi@ericsson.com>
362
363 * NEWS: Announce new exit-code field in -list-thread-groups
364 output.
365 * inferior.c (exit_inferior_1): Don't clear exit code.
366 (inferior_appeared): Clear exit code.
367 * mi/mi-main.c (print_one_inferior): Add printing of the exit
368 code.
369
5fdeec1d
PA
3702014-10-01 Pedro Alves <palves@redhat.com>
371
372 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
373 GENERATED" along with emacs/vi read-only markers.
374 * regformats/aarch64.dat: Regenerate.
375 * regformats/arm-with-iwmmxt.dat: Regenerate.
376 * regformats/arm-with-neon.dat: Regenerate.
377 * regformats/arm-with-vfpv2.dat: Regenerate.
378 * regformats/arm-with-vfpv3.dat: Regenerate.
379 * regformats/i386/amd64-avx-linux.dat: Regenerate.
380 * regformats/i386/amd64-avx.dat: Regenerate.
381 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
382 * regformats/i386/amd64-avx512.dat: Regenerate.
383 * regformats/i386/amd64-linux.dat: Regenerate.
384 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
385 * regformats/i386/amd64-mpx.dat: Regenerate.
386 * regformats/i386/amd64.dat: Regenerate.
387 * regformats/i386/i386-avx-linux.dat: Regenerate.
388 * regformats/i386/i386-avx.dat: Regenerate.
389 * regformats/i386/i386-avx512-linux.dat: Regenerate.
390 * regformats/i386/i386-avx512.dat: Regenerate.
391 * regformats/i386/i386-linux.dat: Regenerate.
392 * regformats/i386/i386-mmx-linux.dat: Regenerate.
393 * regformats/i386/i386-mmx.dat: Regenerate.
394 * regformats/i386/i386-mpx-linux.dat: Regenerate.
395 * regformats/i386/i386-mpx.dat: Regenerate.
396 * regformats/i386/i386.dat: Regenerate.
397 * regformats/i386/x32-avx-linux.dat: Regenerate.
398 * regformats/i386/x32-avx.dat: Regenerate.
399 * regformats/i386/x32-avx512-linux.dat: Regenerate.
400 * regformats/i386/x32-avx512.dat: Regenerate.
401 * regformats/i386/x32-linux.dat: Regenerate.
402 * regformats/i386/x32.dat: Regenerate.
403 * regformats/microblaze-with-stack-protect.dat: Regenerate.
404 * regformats/mips-dsp-linux.dat: Regenerate.
405 * regformats/mips-linux.dat: Regenerate.
406 * regformats/mips64-dsp-linux.dat: Regenerate.
407 * regformats/mips64-linux.dat: Regenerate.
408 * regformats/nios2-linux.dat: Regenerate.
409 * regformats/rs6000/powerpc-32.dat: Regenerate.
410 * regformats/rs6000/powerpc-32l.dat: Regenerate.
411 * regformats/rs6000/powerpc-64l.dat: Regenerate.
412 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
413 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
414 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
415 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
416 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
417 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
418 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
419 * regformats/s390-linux32.dat: Regenerate.
420 * regformats/s390-linux32v1.dat: Regenerate.
421 * regformats/s390-linux32v2.dat: Regenerate.
422 * regformats/s390-linux64.dat: Regenerate.
423 * regformats/s390-linux64v1.dat: Regenerate.
424 * regformats/s390-linux64v2.dat: Regenerate.
425 * regformats/s390-te-linux64.dat: Regenerate.
426 * regformats/s390x-linux64.dat: Regenerate.
427 * regformats/s390x-linux64v1.dat: Regenerate.
428 * regformats/s390x-linux64v2.dat: Regenerate.
429 * regformats/s390x-te-linux64.dat: Regenerate.
430 * regformats/tic6x-c62x-linux.dat: Regenerate.
431 * regformats/tic6x-c62x.dat: Regenerate.
432 * regformats/tic6x-c64x-linux.dat: Regenerate.
433 * regformats/tic6x-c64x.dat: Regenerate.
434 * regformats/tic6x-c64xp-linux.dat: Regenerate.
435 * regformats/tic6x-c64xp.dat: Regenerate.
436
db74e4ba
PA
4372014-10-01 Pedro Alves <palves@redhat.com>
438
439 * features/Makefile: Update comments.
440 (XMLTOC): List all xml files we build C files from.
441 (clean-cfiles): New rule.
442
d63f2f84
PA
4432014-10-01 Pedro Alves <palves@redhat.com>
444
445 * features/i386/amd64-avx512-linux.c: Regenerate.
446 * features/i386/amd64-avx512.c: Regenerate.
447 * features/i386/x32-avx512-linux.c: Regenerate.
448 * features/i386/x32-avx512.c: Regenerate.
449
20ad026d
PA
4502014-10-01 Pedro Alves <palves@redhat.com>
451
452 * features/Makefile (WHICH): Remove arm-with-m,
453 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
454
acc9fe45
PA
4552014-10-01 Pedro Alves <palves@redhat.com>
456
457 * features/Makefile (clean): New rule.
458
e001e535
PA
4592014-10-01 Pedro Alves <palves@redhat.com>
460
461 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
462 (zmm14h): Add missing end quotes.
463
bdc14417
PA
4642014-10-01 Pedro Alves <palves@redhat.com>
465
466 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
467 * features/aarch64.c: Regenerate.
468
d83ad864
DB
4692014-09-30 Don Breazeal <donb@codesourcery.com>
470
471 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
472 code so as to work with follow_fork_inferior.
473 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
474 (inf_ttrace_create_inferior): Remove reference to
475 inf_ttrace_vfork_ppid.
476 (inf_ttrace_attach): Ditto.
477 (inf_ttrace_detach): Ditto.
478 (inf_ttrace_kill): Use current_inferior instead of
479 inf_ttrace_vfork_ppid.
480 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
481 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
482 inferior away from the parent.
483 * infrun.c (follow_fork): Call follow_fork_inferior instead of
484 target_follow_fork.
485 (follow_fork_inferior): New function.
486 (follow_inferior_reset_breakpoints): Make function static.
487 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
488 * linux-nat.c (linux_child_follow_fork): Move target-independent
489 code to infrun.c:follow_fork_inferior.
490
29082443
AA
4912014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
492
493 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
494 * gdbarch.c: Regenerate.
495 * gdbarch.h: Likewise.
496 * corelow.c (sniff_core_bfd): Drop presence check for deleted
497 gdbarch method 'regset_from_core_section'.
498 (get_core_register_section): Remove handling for the case that
499 regset == NULL and regset_from_core_section is defined.
500 (get_core_registers): Drop check for deleted method.
501 * procfs.c (procfs_do_thread_registers): Adjust comment.
502
f968fe80
AA
5032014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
504
505 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
506 (linux_nat_make_corefile_notes): Remove.
507 (linux_target_install_ops): Do not set target method
508 'make_corefile_notes'.
509 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
510 Remove field.
511 (linux_corefile_thread_callback): Instead of args->collect, call
512 linux_collect_thread_registers.
513 (linux_make_corefile_notes): Remove 'collect' parameter. Return
514 NULL unless there is a regset iterator.
515 (linux_make_corefile_notes_1): Remove.
516 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
517 by linux_make_corefile_notes.
518 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
519
174ad59a
AA
5202014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
521
522 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
523 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
524 Remove.
525 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
526
97094034
AA
5272014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
528
529 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
530 (xtensa_iterate_over_regset_sections): New.
531 (xtensa_gdbarch_init): Adjust gdbarch initialization.
532
f73d3ce7
AA
5332014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
534
535 * vax-tdep.c (vax_regset_from_core_section): Remove.
536 (vax_iterate_over_regset_sections): New.
537 (vax_gdbarch_init): Adjust gdbarch initialization.
538
cb24567a
AA
5392014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
540
541 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
542 (tilegx_regset_from_core_section): Remove.
543 (tilegx_iterate_over_regset_sections): New.
544 (tilegx_linux_init_abi): Adjust gdbarch initialization.
545
e5139de8
AA
5462014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
547
548 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
549 (sparc_iterate_over_regset_sections): New.
550 (sparc32_gdbarch_init): Adjust gdbarch initialization.
551 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
552 targets.
553 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
554 (sparc64fbsd_init_abi): Call fbsd_init_abi.
555 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
556 target method 'make_corefile_notes'.
557
c6d41a6f
AA
5582014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
559
560 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
561 'sizeof_gregset' and 'sizeof_fpregset'.
562 * sh-tdep.c (sh_regset_from_core_section): Remove.
563 (sh_iterate_over_regset_sections): New.
564 (sh_gdbarch_init): Adjust gdbarch initialization.
565 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
566 sizeof_fpregset.
567 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
568 'sizeof_gregset'.
569
9845a0b5
AA
5702014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
571
572 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
573 (score7_linux_iterate_over_regset_sections): New.
574 (score_gdbarch_init): Adjust gdbarch initialization.
575
23ea9aeb
AA
5762014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
577
578 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
579 FreeBSD targets.
580 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
581 method 'make_corefile_notes'.
582 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
583 (ppcfbsd_regset_from_core_section): Remove.
584 (ppcfbsd_iterate_over_regset_sections): New.
585 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
586 initialization.
587 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
588 (ppcnbsd_iterate_over_regset_sections): New.
589 (ppcnbsd_init_abi): Adjust.
590 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
591 (ppcobsd_iterate_over_regset_sections): New.
592 (ppcobsd_init_abi): Adjust.
593 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
594 (rs6000_aix_iterate_over_regset_sections): New.
595 (rs6000_aix_init_osabi): Adjust.
596
c5b8d704
AA
5972014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
598
599 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
600 (nios2_regset_from_core_section): Remove.
601 (nios2_iterate_over_regset_sections): New.
602 (nios2_linux_init_abi): Adjust gdbarch initialization.
603
3636e608
AA
6042014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
605
606 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
607 (am33_iterate_over_regset_sections): New.
608 (am33_linux_init_osabi): Adjust gdbarch initialization.
609
d4036235
AA
6102014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
611
612 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
613 (mips_linux_iterate_over_regset_sections): New.
614 (mips_linux_init_abi): Adjust gdbarch initialization.
615 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
616 (mips64obsd_iterate_over_regset_sections): New.
617 (mips64obsd_init_abi): Adjust.
618 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
619 (mipsnbsd_iterate_over_regset_sections): New.
620 (mipsnbsd_init_abi): Adjust.
621
b61ddd6e
AA
6222014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
623
624 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
625 (m88k_iterate_over_regset_sections): New.
626 (m88k_gdbarch_init): Adjust gdbarch initialization.
627
55a2906a
AA
6282014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
629
630 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
631 (ia64_linux_iterate_over_regset_sections): New.
632 (ia64_linux_init_abi): Adjust gdbarch initialization.
633
022c98ab
AA
6342014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
635
636 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
637 (m68kbsd_iterate_over_regset_sections): New.
638 (m68kbsd_init_abi): Adjust gdbarch initialization.
639 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
640 (m68k_linux_iterate_over_regset_sections): New.
641 (m68k_linux_init_abi): Adjust gdbarch initialization.
642
5fac247f
AA
6432014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
644
645 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
646 (m32r_linux_regset_from_core_section): Remove.
647 (m32r_linux_iterate_over_regset_sections): New.
648 (m32r_linux_init_abi): Adjust gdbarch initialization.
649
490496c3
AA
6502014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
651
652 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
653 (amd64obsd_iterate_over_regset_sections): New.
654 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
655 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
656 Remove.
657 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
658 regset_from_core_section initialization.
659 * i386-tdep.c (i386_regset_from_core_section): Remove.
660 (i386_iterate_over_regset_sections): New.
661 (i386_gdbarch_init): Adjust gdbarch initialization.
662 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
663 (i386_iterate_over_regset_sections): New prototype.
664 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
665 Remove.
666 (i386obsd_aout_iterate_over_regset_sections): New.
667 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
668 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
669 targets.
670 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
671 (amd64fbsd_init_abi): Call fbsd_init_abi.
672 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
673 (i386fbsd4_init_abi): Call fbsd_init_abi.
674 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
675 target method 'make_corefile_notes'.
676 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
677
50c5eb53
AA
6782014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
679
680 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
681 (hppa_hpux_iterate_over_regset_sections): New.
682 (hppa_hpux_init_abi): Adjust gdbarch initialization.
683 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
684 (hppa_linux_iterate_over_regset_sections): New.
685 (hppa_linux_init_abi): Adjust.
686 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
687 (hppanbsd_iterate_over_regset_sections): New.
688 (hppanbsd_init_abi): Adjust.
689 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
690 (hppaobsd_iterate_over_regset_sections): New.
691 (hppaobsd_init_abi): Adjust.
692
66afae4f
AA
6932014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
694
695 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
696 (frv_linux_iterate_over_regset_sections): New.
697 (frv_linux_init_abi): Adjust gdbarch initialization.
698
ed09174e
AA
6992014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
700
701 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
702 (armbsd_iterate_over_regset_sections): New prototype.
703 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
704 (armbsd_iterate_over_regset_sections): New.
705 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
706 initialization.
707
dff2166e
AA
7082014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
709
710 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
711 (alpha_linux_iterate_over_regset_sections): New.
712 (alpha_linux_init_abi): Adjust gdbarch initialization.
713 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
714 prototype.
715 (alphanbsd_iterate_over_regset_sections): New prototype.
716
4108500a
AA
7172014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
718
719 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
720 Remove.
721 (aarch64_linux_iterate_over_regset_sections): New.
722 (aarch64_linux_init_abi): Adjust gdbarch initialization.
723
a904c024
AA
7242014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
725
726 * fbsd-tdep.c: New file.
727 * fbsd-tdep.h: New file.
728 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
729 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
730 (ALLDEPFILES): Add fbsd-tdep.c.
731
8f0435f7
AA
7322014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
733
734 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
735 parameter.
736 * gdbarch.h: Regenerate.
737 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
738 iterator.
739 (get_core_register_section): Add parameter 'regset' and use it, if
740 set. Add parameter 'min_size' and verify the bfd section size
741 against it.
742 (get_core_registers_cb): Add parameter 'regset' and pass it to
743 get_core_register section. For the "standard" register sections
744 ".reg" and ".reg2", set an appropriate default for human_name.
745 (get_core_registers): Don't abort when the gdbarch has an iterator
746 but no regset_from_core_section. Add NULL/0 for parameters
747 'regset'/'min_size' in calls to get_core_register_section.
748 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
749 'regset' and use it instead of calling the
750 regset_from_core_section gdbarch method.
751 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
752 * i386-tdep.c (i386_supply_xstateregset)
753 (i386_collect_xstateregset, i386_xstateregset): Moved to
754 i386-linux-tdep.c.
755 (i386_regset_from_core_section): Drop handling for .reg-xfp and
756 .reg-xstate.
757 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
758 core file support only if the regset iterator hasn't been set.
759 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
760 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
761 Moved from i386-tdep.c and renamed to *_linux*.
762 (i386_linux_iterate_over_regset_sections): Add regset parameter to
763 each callback invocation. Allow any .reg-xstate size when reading
764 from a core file.
765 * amd64-tdep.c (amd64_supply_xstateregset)
766 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
767 amd64-linux-tdep.c.
768 (amd64_regset_from_core_section): Remove.
769 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
770 install an amd64-specific regset_from_core_section gdbarch method.
771 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
772 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
773 Moved from amd64-tdep.c and renamed to *_linux*.
774 (amd64_linux_iterate_over_regset_sections): Add regset parameter
775 to each callback invocation. Allow any .reg-xstate size when
776 reading from a core file.
777 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
778 (arm_linux_iterate_over_regset_sections): Add regset parameter to
779 each callback invocation.
780 (arm_linux_init_abi): No longer set the regset_from_core_section
781 gdbarch method.
782 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
783 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
784 each callback invocation.
785 (ppc_linux_init_abi): No longer set the regset_from_core_section
786 gdbarch method.
787 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
788 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
789 (s390_regset_from_core_section): Remove.
790 (s390_iterate_over_regset_sections): Add regset parameter to each
791 callback invocation.
792 (s390_gdbarch_init): No longer set the regset_from_core_section
793 gdbarch method. Drop initialization of deleted tdep fields.
794
5aa82d05
AA
7952014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
796
797 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
798 (amd64_linux_iterate_over_regset_sections): New.
799 (amd64_linux_init_abi_common): Don't install the regset section
800 list, but the new iterator in gdbarch.
801 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
802 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
803 (arm_linux_iterate_over_regset_sections): ...here. New function.
804 (arm_linux_init_abi): Set iterator instead of section list.
805 * corelow.c (get_core_registers_cb): New function, logic moved
806 from...
807 (get_core_registers): ...loop body here. Use new iterator method
808 instead of walking through the regset section list.
809 * gdbarch.sh: Remove 'core_regset_sections'. New method
810 'iterate_over_regset_sections'. New typedef
811 'iterate_over_regset_sections_cb'.
812 * gdbarch.c: Regenerate.
813 * gdbarch.h: Likewise.
814 * i386-linux-tdep.c (i386_linux_regset_sections)
815 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
816 Remove.
817 (i386_linux_iterate_over_regset_sections): New.
818 (i386_linux_init_abi): Don't choose a regset section list, but
819 install new iterator in gdbarch.
820 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
821 (linux_collect_regset_section_cb): New function, logic moved
822 from...
823 (linux_collect_thread_registers): ...loop body here. Use iterator
824 method instead of walking through list.
825 (linux_make_corefile_notes_1): Check for presence of iterator
826 method instead of regset section list.
827 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
828 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
829 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
830 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
831 (ppc_linux_iterate_over_regset_sections): ...here. New function.
832 (ppc_linux_init_abi): Don't choose from above regset section
833 lists, but install new iterator in gdbarch.
834 * regset.h (struct core_regset_section): Remove.
835 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
836 have_linux_v1, have_linux_v2, and have_tdb.
837 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
838 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
839 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
840 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
841 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
842 (s390_iterate_over_regset_sections): ...here. New function. Use
843 new tdep fields.
844 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
845 regset section lists, but install new iterator.
846
2eca4a8d
JK
8472014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
848
849 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
850
a73c2b56
SM
8512014-09-26 Simon Marchi <simon.marchi@ericsson.com>
852
853 * progspace.c (print_program_space): Don't prune program spaces
854 before printing them.
855
03d46957
PA
8562014-09-25 Pedro Alves <palves@redhat.com>
857
858 * infrun.c (user_visible_resume_ptid): Don't check
859 singlestep_breakpoints_inserted_p.
860
e558d7c1
PA
8612014-09-25 Pedro Alves <palves@redhat.com>
862
863 * breakpoint.c (should_be_inserted): Add debug output.
864
7f89fd65
PA
8652014-09-25 Pedro Alves <palves@redhat.com>
866
867 * infrun.c (stepping_past_instruction_at)
868 (clear_exit_convenience_vars): Point at infrun.h instead of
869 inferior.h.
870 (handle_signal_stop): Fix typo.
871
b7576e5c
YQ
8722014-09-24 Yao Qi <yao@codesourcery.com>
873
874 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
875 bitmask.
876
9a6cf368
GB
8772014-09-22 Gary Benson <gbenson@redhat.com>
878
879 * target.c (target_stop): Updated comment.
880
03f4463b
GB
8812014-09-22 Gary Benson <gbenson@redhat.com>
882
883 * target/target.h (target_stop_ptid): Renamed as...
884 (target_stop_and_wait): New function. Updated comment.
885 All uses updated.
886 (target_continue_ptid): Renamed as...
887 (target_continue_no_signal): New function. Updated comment.
888 All uses updated.
889
a25a5a45
PA
8902014-09-22 Pedro Alves <palves@redhat.com>
891
892 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
893 and "auto" merged.
894 * breakpoint.c (enum ugll_insert_mode): New enum.
895 (always_inserted_mode): Now a plain boolean.
896 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
897 (breakpoints_always_inserted_mode): Delete.
898 (breakpoints_should_be_inserted_now): New function.
899 (insert_breakpoints): Pass UGLL_INSERT to
900 update_global_location_list instead of calling
901 insert_breakpoint_locations manually.
902 (create_solib_event_breakpoint_1): New, factored out from ...
903 (create_solib_event_breakpoint): ... this.
904 (create_and_insert_solib_event_breakpoint): Use
905 create_solib_event_breakpoint_1 instead of calling
906 insert_breakpoint_locations manually.
907 (update_global_location_list): Change parameter type from boolean
908 to enum ugll_insert_mode. All callers adjusted. Adjust to use
909 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
910 (update_global_location_list_nothrow): Change parameter type from
911 boolean to enum ugll_insert_mode.
912 (_initialize_breakpoint): "breakpoint always-inserted" option is
913 now a boolean command. Update help text.
914 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
915 (breakpoints_should_be_inserted_now): New declaration.
916 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
917 Remove breakpoints_always_inserted_mode check.
918 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
919 * remote.c (remote_start_remote): Likewise.
920
04086b45
PA
9212014-09-22 Pedro Alves <palves@redhat.com>
922
923 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
924 (insert_breakpoints): Don't call insert_breakpoint_locations here.
925 Instead, pass UGLL_INSERT to update_global_location_list.
926 (update_global_location_list): Change parameter type from boolean
927 to enum ugll_insert_mode. All callers adjusted. Adjust to use
928 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
929 (create_solib_event_breakpoint_1): New, factored out from ...
930 (create_solib_event_breakpoint): ... this.
931 (create_and_insert_solib_event_breakpoint): Use
932 create_solib_event_breakpoint_1 instead of calling
933 insert_breakpoint_locations manually.
934 (update_global_location_list): Handle UGLL_INSERT.
935
44702360
PA
9362014-09-22 Pedro Alves <palves@redhat.com>
937
938 * breakpoint.c (enum ugll_insert_mode): New enum.
939 (update_global_location_list)
940 (update_global_location_list_nothrow): Change parameter type from
941 boolean to enum ugll_insert_mode. All callers adjusted.
942
93c6145a
JB
9432014-09-19 Joel Brobecker <brobecker@adacore.com>
944
945 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
946 SystemTap support in GDB.
947
89a5711c
DB
9482014-09-19 Don Breazeal <donb@codesourcery.com>
949
950 * linux-nat.c (linux_handle_extended_wait): Call
951 linux_ptrace_get_extended_event.
952 (wait_lwp): Call linux_is_extended_waitstatus.
953 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
954 and linux_is_extended_waitstatus.
955 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
956 linux_ptrace_get_extended_event.
957 (linux_ptrace_get_extended_event): New function.
958 (linux_is_extended_waitstatus): New function.
959 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
960 (linux_is_extended_waitstatus): New declarations.
961
c3b7b696
YQ
9622014-09-19 Yao Qi <yao@codesourcery.com>
963
964 * dwarf2read.c (dwarf_decode_lines): Update declaration.
965 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
966 comments. Callers update.
967 (dwarf_decode_lines): Likewise.
968 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
969 comments. Skip the line table if 'lowpc' is greater than
970 'address'. Don't check
971 dwarf2_per_objfile->has_section_at_zero.
972
2b4fd423
DE
9732014-09-18 Doug Evans <dje@google.com>
974
975 * NEWS: Mention new "producer" attribute of gdb.Symtab.
976 * python/py-symtab.c (stpy_get_producer): New function.
977 (symtab_object_getset): Add "producer" attribute.
978
5e43d467
UW
9792014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
980
981 PR gdb/17384
982 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
983 (do_captured_read_memory_integer): Remove.
984 (safe_read_memory_integer): Use target_read_memory directly instead
985 of catching errors in do_captured_read_memory_integer.
986
04e79979
MR
9872014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
988
989 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
990 not gdb/doc.
991
76aeec5b
SDJ
9922014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
993
994 * objc-lang.c (find_implementation_from_class): Remove dead code.
995
2f693f9d
SDJ
9962014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
997
998 PR cli/7233
999 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
1000 "fprintf_unfiltered (gdb_stdlog...)".
1001
bb9d5f81
PP
10022014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1003
1004 PR breakpoints/12526
1005 * breakpoint.h (struct watchpoint): New fields val_bitpos and
1006 val_bitsize.
1007 * breakpoint.c (watch_command_1): Use these fields to retain
1008 bitfield information.
1009 (extract_bitfield_from_watchpoint_value): New function.
1010 (watchpoint_check): Use it.
1011 (update_watchpoint): Use it. Optimize the address and length of a
1012 HW watchpoint pointing to a bitfield.
1013 * value.h (unpack_value_bitfield): New prototype.
1014 * value.c (unpack_value_bitfield): Make extern.
1015
05db5edd
ST
10162014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1017
1018 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
1019 x86-dregs.o.
1020 * gnu-nat.c (inf_threads): New function.
1021 * gnu-nat.h (inf_threads_ftype): New typedef.
1022 (inf_threads): New declaration.
1023 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
1024 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
1025 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
1026 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
1027 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
1028 (i386_gnu_dr_get_control): New functions.
1029 (reg_addr): New structure.
1030 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
1031 i386 debugging register hooks.
1032 * NEWS: Mention this.
1033
5a578da5
OJ
10342014-08-13 Omair Javaid <omair.javaid@linaro.org>
1035
1036 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
1037 vector data transfer instructions.
1038 (arm_record_coproc_data_proc): Updated.
1039
f20f80dd
OJ
10402014-08-13 Omair Javaid <omair.javaid@linaro.org>
1041
1042 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
1043 arm_record_exreg_ld_st_insn.
1044 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
1045 load/store insns.
1046
851f26ae
OJ
10472014-08-13 Omair Javaid <omair.javaid@linaro.org>
1048
1049 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
1050 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
1051 processing instructions.
1052
1e1b6563
OJ
10532014-08-13 Omair Javaid <omair.javaid@linaro.org>
1054
1055 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
1056 for advance SIMD struct ld/st insn.
1057 (thumb2_record_decode_insn_handler): Replace stub handler with
1058 thumb2_record_asimd_struct_ld_st.
1059
60cc5e93
OJ
10602014-08-13 Omair Javaid <omair.javaid@linaro.org>
1061
1062 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
1063 for asimd, vfp and coprocessor insns.
1064 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
1065 and coprocessor insns.
1066 (thumb2_record_coproc_insn): New function.
1067 (thumb2_record_decode_insn_handler): Update coprocessor insns record
1068 handlers.
1069 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
1070 opcode 110 insns.
1071
81219e53
DE
10722014-09-13 Doug Evans <xdje42@gmail.com>
1073
1074 * NEWS: Mention new "queue-signal" command.
1075 * infcmd.c (queue_signal_command): New function.
1076 (_initialize_infcmd): Add new queue-signal command.
1077
d36bf488
DE
10782014-09-13 Doug Evans <xdje42@gmail.com>
1079
1080 * linux-nat.c (wait_lwp): Add debugging printf.
1081 (linux_nat_wait_1): Ditto.
1082
f37f681c
PA
10832014-09-12 Pedro Alves <palves@redhat.com>
1084
1085 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
1086 (create_and_insert_solib_event_breakpoint): New functions.
1087 * breakpoint.h (create_and_insert_solib_event_breakpoint)
1088 (remove_solib_event_breakpoints_at_next_stop): New declarations.
1089 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
1090 (remove_dbx_link_breakpoint): Delete function.
1091 (insert_dbx_link_bpt_in_file): Use
1092 create_and_insert_solib_event_breakpoint instead of
1093 deprecated_insert_raw_breakpoint.
1094 (procfs_wait): Don't check whether we hit __dbx_link here.
1095 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
1096 here.
1097 * solib-irix.c (base_breakpoint): Delete global.
1098 (disable_break): Delete function.
1099 (enable_break): Use create_solib_event_breakpoint
1100 instead of deprecated_insert_raw_breakpoint.
1101 (irix_solib_handle_event): New function.
1102 (irix_solib_create_inferior_hook): Don't run the target or disable
1103 the mapping-complete breakpoint here.
1104 (_initialize_irix_solib): Install irix_solib_handle_event as
1105 so_ops->handle_event hook.
1106
9d9bf2df
EBM
11072014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1108 Ulrich Weigand  <uweigand@de.ibm.com>
1109
1110 PR tdep/17379
1111 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
1112 instead of read_memory_unsigned_integer.
1113
b006a80e
GB
11142014-09-12 Gary Benson <gbenson@redhat.com>
1115
1116 * nat/linux-waitpid.c: Include common-defs.h.
1117 [GDBSERVER]: Add FIXME comment.
1118 [!GDBSERVER]: Don't include defs.h or signal.h.
1119 (linux_debug) [!GDBSERVER]: Remove empty block.
1120
296b1496
GB
11212014-09-12 Gary Benson <gbenson@redhat.com>
1122
1123 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
1124 Don't include defs.h or server.h.
1125
53f81362
GB
11262014-09-12 Gary Benson <gbenson@redhat.com>
1127
1128 * nat/linux-btrace.c: Include common-defs.h.
1129 Don't include defs.h, server.h or gdbthread.h.
1130 * nat/linux-btrace.h (struct target_ops): New forward declaration.
1131
727605ca
GB
11322014-09-12 Gary Benson <gbenson@redhat.com>
1133
1134 * common/agent.c: Include common-defs.h.
1135 Don't include defs.h or server.h.
1136 * common/buffer.c: Likewise.
1137 * common/common-debug.c: Likewise.
1138 * common/common-utils.c: Likewise.
1139 * common/errors.c: Likewise.
1140 * common/filestuff.c: Likewise.
1141 * common/format.c: Likewise.
1142 * common/gdb_vecs.c: Likewise.
1143 * common/print-utils.c: Likewise.
1144 * common/ptid.c: Likewise.
1145 * common/rsp-low.c: Likewise.
1146 * common/signals.c: Likewise.
1147 * common/vec.c: Likewise.
1148 * common/xml-utils.c: Likewise.
1149 * nat/linux-osdata.c: Likewise.
1150 * nat/linux-procfs.c: Likewise.
1151 * nat/linux-ptrace.c: Likewise.
1152 * nat/mips-linux-watch.c: Likewise.
1153 * target/waitstatus.c: Likewise.
1154
361c8ade
GB
11552014-09-12 Tom Tromey <tromey@redhat.com>
1156 Gary Benson <gbenson@redhat.com>
1157
1158 * common/common-regcache.h: New file.
1159 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
1160 * regcache.h: Include common-regcache.h.
1161 (regcache_read_pc): Don't declare.
1162 * regcache.c (get_thread_regcache_for_ptid): New function.
1163 * nat/linux-btrace.c: Don't include regcache.h.
1164 Include common-regcache.h.
1165 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
1166
a01cbb49
TS
11672014-09-11 Thomas Schwinge <thomas@codesourcery.com>
1168
1169 * regcache.h (struct regset): Declare.
1170
98880d46
PA
11712014-09-11 Pedro Alves <palves@redhat.com>
1172
1173 PR gdb/17347
1174 * main.c: Include "infrun.h".
1175 (catch_command_errors, catch_command_errors_const): Wait for the
1176 foreground command to complete.
1177 * top.c (maybe_wait_sync_command_done): New function, factored out
1178 from ...
1179 (maybe_wait_sync_command_done): ... here.
1180 * top.h (maybe_wait_sync_command_done): New declaration.
1181
bd9269f7
GB
11822014-09-11 Tom Tromey <tromey@redhat.com>
1183 Gary Benson <gbenson@redhat.com>
1184
1185 * common/symbol.h: New file.
1186 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
1187 * minsyms.c (find_minimal_symbol_address): New function.
1188 * common/agent.c: Include common/symbol.h.
1189 [!GDBSERVER]: Don't include objfiles.h.
1190 (agent_look_up_symbols): Use find_minimal_symbol_address.
1191
f8c1d06b
GB
11922014-09-11 Gary Benson <gbenson@redhat.com>
1193
1194 * target/target.h (target_stop_ptid, target_continue_ptid):
1195 Declare.
1196 * target.c (target_stop_ptid, target_continue_ptid): New
1197 functions.
1198 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
1199 (agent_run_command): Always use target_stop_ptid and
1200 target_continue_ptid.
1201
721ec300
GB
12022014-09-11 Tom Tromey <tromey@redhat.com>
1203 Gary Benson <gbenson@redhat.com>
1204
1205 * target/target.h: New file.
1206 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
1207 * target.h: Include target/target.h.
1208 (target_read_memory, target_write_memory): Don't declare.
1209 * target.c (target_read_uint32): New function.
1210 * common/agent.c: Include target/target.h.
1211 [!GDBSERVER]: Don't include target.h.
1212 (helper_thread_id): Type changed to uint32_t.
1213 (agent_get_helper_thread_id): Use target_read_uint32.
1214 (agent_run_command): Always use target_read_memory and
1215 target_write_memory.
1216 (agent_capability): Type changed to uint32_t.
1217 (agent_capability_check): Use target_read_uint32.
1218
c5e92cca
GB
12192014-09-11 Gary Benson <gbenson@redhat.com>
1220
1221 * common/common-debug.h (show_debug_regs): Declare.
1222 * common/common-debug.c (show_debug_regs): Define.
1223 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
1224 all uses with show_debug_regs. Replace all uses that considered
1225 debug_hw_points as a multi-value integer with straight boolean
1226 uses.
1227 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
1228 with show_debug_regs.
1229 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
1230 all uses with show_debug_regs.
1231 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
1232 uses with show_debug_regs.
1233
eeef931a
UW
12342014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
1235
1236 * findvar.c (address_from_register): Handle targets requiring
1237 a special conversion routine even for plain pointer types.
1238
8efa9855
UW
12392014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
1240
1241 * rs6000-nat.c (exec_one_dummy_insn): Remove.
1242 (store_register): Do not call exec_one_dummy_insn.
1243
eb479039
JB
12442014-09-10 Joel Brobecker <brobecker@adacore.com>
1245
1246 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
1247 dereference it first. Use value_enclosing_type instead of
1248 value_type.
1249 (ada_array_length): Likewise.
1250
deede10c
JB
12512014-09-10 Joel Brobecker <brobecker@adacore.com>
1252
1253 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
1254 Adjust function implementation and documentation accordingly.
1255 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
1256 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
1257 Update call to ada_value_ptr_subscript.
1258
7828a5f5
JB
12592014-09-10 Joel Brobecker <brobecker@adacore.com>
1260
1261 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
1262 instead of VAL's type.
1263
35782f14
JB
12642014-09-10 Joel Brobecker <brobecker@adacore.com>
1265
1266 * amd64-linux-nat.c: Add <sys/uio.h> #include.
1267
d342a0da
DE
12682014-09-09 Doug Evans <xdje42@gmail.com>
1269
1270 PR guile/17367
1271 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
1272 last parameter to pkg-config, not first.
1273 * configure.ac: Pass --with-guile provided pkg-config path to
1274 GDB_GUILE_PROGRAM_NAMES.
1275 * configure: Regenerate.
1276
b4a3d263
GKB
12772014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
1278
1279 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
1280 Bertazi".
1281
6e466374
MR
12822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1283
1284 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
1285 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
1286 the list of sections determining GDB_OSABI_IRIX.
1287
a1ada89a
JH
12882014-09-09 James Hogan <james.hogan@imgtec.com>
1289
1290 * MAINTAINERS (Write After Approval): Add "James Hogan".
1291
86db008d
JH
12922014-09-09 James Hogan <james.hogan@imgtec.com>
1293
1294 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
1295
72fde3df
JB
12962014-09-09 Joel Brobecker <brobecker@adacore.com>
1297
1298 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
1299
92d8d229
DE
13002014-09-08 Doug Evans <xdje42@gmail.com>
1301
1302 PR 17247
1303 * guile.c: #include <signal.h>.
1304 (_initialize_guile): Block SIGCHLD while initializing Guile.
1305
1306 Replaces the following, which is reverted.
1307
1308 2014-07-26 Doug Evans <xdje42@gmail.com>
1309
1310 PR 17185
1311 * configure.ac: Add check for header gc/gc.h.
1312 Add check for function setenv.
1313 * configure: Regenerate.
1314 * config.in: Regenerate.
1315 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1316
d81412aa
DE
13172014-09-08 Doug Evans <xdje42@gmail.com>
1318
1319 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
1320 with named constant. Fix style of pointer comparison.
1321 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
1322
a9f116cb
GKB
13232014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1324
1325 PR gdb/17035
1326 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
1327 decide whether we display the command on "show user".
1328 * cli/cli-script.c (show_user_1): Only verify cmdlines after
1329 printing command name.
1330 * cli/cli-decode.h (cli_user_command_p): Declare new function.
1331 * cli/cli-decode.c (cli_user_command_p): Create helper function
1332 to verify whether cmd_list_element is a user-defined command.
1333
c75bd3a2
JK
13342014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1335
1336 PR python/17355
1337 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
1338 Fix goto out of TRY_CATCH.
1339
faa42425 13402014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 1341 Tom Tromey <tromey@redhat.com>
faa42425
DE
1342
1343 PR 15276
1344 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
1345 $_any_caller_matches.
1346 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
1347 * python/lib/gdb/function/caller_is.py: New file.
1348
0d41ba00
DE
13492014-09-06 Doug Evans <xdje42@gmail.com>
1350
1351 * infcmd.c (program_info): Fix typo.
1352
474ca4f6
SDJ
13532014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1354
1355 PR gdb/17235
1356 * stap-probe.c (stap_parse_single_operand): Delete unused variable
1357 'number'. New variable 'has_digit'. Rewrite code to deal with
1358 subexpressions on SDT probes.
1359
ebf13736
PA
13602014-09-04 Pedro Alves <palves@redhat.com>
1361
1362 * c-exp.y (parse_number): Skip handling base-switching prefixes if
1363 the input is only one character long.
1364
eb0b0463
SDJ
13652014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1366
1367 PR fortran/17237
1368 * f-valprint.c (f_val_print): Specify the correct print option to
1369 use when printing integer values.
1370
5ee44bfa
GB
13712014-09-04 Gary Benson <gbenson@redhat.com>
1372
1373 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
1374 Remove code to cope with LWPs wrapped as PIDs.
1375 Add assertions to ensure no wrapped LWPs are passed.
1376
4875ffdb
PA
13772014-09-04 Pedro Alves <palves@redhat.com>
1378
1379 * value.c (value_ranges_copy_adjusted): New function, factored out
1380 from ...
1381 (value_contents_copy_raw): ... here.
1382 (unpack_value_bits_as_long_1): Rename back to ...
1383 (unpack_bits_as_long): ... this. Remove 'original_value' and
1384 'result' parameters. Change return type to LONGEST.
1385 (unpack_value_bits_as_long): Delete.
1386 (unpack_value_field_as_long_1): Delete.
1387 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
1388 (unpack_value_bitfield): New function.
1389 (value_field_bitfield): Reimplement using unpack_value_bitfield.
1390 (value_fetch_lazy): Use unpack_value_bitfield.
1391 * value.h (unpack_value_bits_as_long): Delete declaration.
1392
5f3b99cf
SS
13932014-09-03 Sasha Smundak <asmundak@google.com>
1394
1395 * python/py-frame.c (frapy_read_register): New function.
1396
ac740bc7
JH
13972014-09-03 James Hogan <james.hogan@imgtec.com>
1398
1399 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
1400 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
1401
7d793aa9
SDJ
14022014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1403
1404 PR python/16699
1405 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
1406 function.
1407 (add_cmd): Set "completer_handle_brkchars" to NULL.
1408 * cli/cli-decode.h (struct cmd_list_element)
1409 <completer_handle_brkchars>: New field.
1410 * command.h (completer_ftype_void): New typedef.
1411 (set_cmd_completer_handle_brkchars): New prototype.
1412 * completer.c (set_gdb_completion_word_break_characters): New
1413 function.
1414 (complete_line_internal): Call "completer_handle_brkchars"
1415 callback from command.
1416 * completer.h: Include "command.h".
1417 (set_gdb_completion_word_break_characters): New prototype.
1418 * python/py-cmd.c (cmdpy_completer_helper): New function.
1419 (cmdpy_completer_handle_brkchars): New function.
1420 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
1421 (cmdpy_init): Set completer_handle_brkchars to
1422 cmdpy_completer_handle_brkchars.
1423
97ea6506
GB
14242014-09-03 Gary Benson <gbenson@redhat.com>
1425
1426 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
1427 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
1428 Loop conditions changed to equivalent form.
1429 (struct x86_debug_reg_state): Updated dr_ref_count comment.
1430 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
1431 ALL_DEBUG_ADDRESS_REGISTERS.
1432
d1437815
JB
14332014-09-03 Joel Brobecker <brobecker@adacore.com>
1434
1435 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
1436 description fix.
1437
9b94fcf1
DE
14382014-09-02 Doug Evans <dje@google.com>
1439
1440 * typeprint.c (find_global_typedef): Fix comment.
1441
df7e5265
GB
14422014-09-02 Gary Benson <gbenson@redhat.com>
1443
1444 * i386-nat.h: Renamed as...
1445 * x86-nat.h: New file. All type, function and variable name
1446 prefixes changed from "i386_" to "x86_". All references updated.
1447 * i386-nat.c: Renamed as...
1448 * x86-nat.c: New file. All type, function and variable name
1449 prefixes changed from "i386_" to "x86_". All references updated.
1450 * common/i386-xstate.h: Renamed as...
1451 * common/x86-xstate.h: New file. All type, function and variable
1452 name prefixes changed from "i386_" to "x86_". All references
1453 updated.
1454 * nat/i386-cpuid.h: Renamed as...
1455 * nat/x86-cpuid.h: New file. All type, function and variable name
1456 prefixes changed from "i386_" to "x86_". All references updated.
1457 * nat/i386-gcc-cpuid.h: Renamed as...
1458 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
1459 name prefixes changed from "i386_" to "x86_". All references
1460 updated.
1461 * nat/i386-dregs.h: Renamed as...
1462 * nat/x86-dregs.h: New file. All type, function and variable name
1463 prefixes changed from "i386_" to "x86_". All references updated.
1464 * nat/i386-dregs.c: Renamed as...
1465 * nat/x86-dregs.c: New file. All type, function and variable name
1466 prefixes changed from "i386_" to "x86_". All references updated.
1467
1c3569d4
MR
14682014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
1469
1470 * varobj.c (_initialize_varobj): Move to the end of file.
1471
ff55e1b5
GB
14722014-08-29 Gary Benson <gbenson@redhat.com>
1473
1474 * common/common-exceptions.h: New file.
1475 * common/common-exceptions.c: Likewise.
1476 * Makefile.in (SFILES): Add common/common-exceptions.c.
1477 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
1478 (COMMON_OBS): Add common-exceptions.o.
1479 (common-exceptions.o): New rule.
1480 * exceptions.h (common-exceptions.h): Include.
1481 (gdb_setjmp.h): Do not include.
1482 (return_reason): Moved to common-exceptions.h.
1483 (enum return_reason): Likewise.
1484 (RETURN_MASK): Likewise.
1485 (typedef return_mask): Likewise.
1486 (enum errors): Likewise.
1487 (struct gdb_exception): Likewise.
1488 (exceptions_state_mc_init): Likewise.
1489 (exceptions_state_mc_action_iter): Likewise.
1490 (exceptions_state_mc_action_iter_1): Likewise.
1491 (TRY_CATCH): Likewise.
1492 (throw_exception): Likewise.
1493 (throw_verror): Likewise.
1494 (throw_vquit): Likewise.
1495 (throw_error): Likewise.
1496 (throw_quit): Likewise.
1497 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
1498 (enum catcher_action): Likewise.
1499 (struct catcher): Likewise.
1500 (current_catcher): Likewise.
1501 (catcher_list_size): Likewise.
1502 (exceptions_state_mc_init): Likewise.
1503 (catcher_pop): Likewise.
1504 (exceptions_state_mc): Likewise.
1505 (exceptions_state_mc_action_iter): Likewise.
1506 (exceptions_state_mc_action_iter_1): Likewise.
1507 (throw_exception): Likewise.
1508 (exception_messages): Likewise.
1509 (exception_messages_size): Likewise.
1510 (throw_it): Likewise.
1511 (throw_verror): Likewise.
1512 (throw_vquit): Likewise.
1513 (throw_error): Likewise.
1514 (throw_quit): Likewise.
1515 (prepare_to_throw_exception): New function.
1516
e9bcb658
GB
15172014-08-29 Gary Benson <gbenson@redhat.com>
1518
1519 * common/gdb_setjmp.h: New file.
1520 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
1521 * configure.ac: Move sigsetjmp check...
1522 * common/common.m4: ...here.
1523 * configure: Regenerate.
1524 * cp-support.c (SIGJMP_BUF): Delete.
1525 (SIGSETJMP): Likewise.
1526 (SIGLONGJMP): Likewise.
1527 * exceptions.h (gdb_setjmp.h): Include.
1528 (setjmp.h): Do not include.
1529 (EXCEPTIONS_SIGJMP_BUF): Delete.
1530 (EXCEPTIONS_SIGSETJMP): Likewise.
1531 (EXCEPTIONS_SIGLONGJMP): Likewise.
1532 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
1533 from gdb_setjmp.h.
1534 * exceptions.c: Likewise.
1535
e3180625
GB
15362014-08-29 Gary Benson <gbenson@redhat.com>
1537
1538 * cleanups.h: Moved to...
1539 * common/cleanups.h: New file.
1540 * cleanups.c: Moved to...
1541 * common/cleanups.c: New file. Include common-defs.h and
1542 cleanups.h. Do not include defs.h.
1543 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
1544 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
1545 (cleanups.o): New rule.
1546
e3d6ba5d
GB
15472014-08-29 Gary Benson <gbenson@redhat.com>
1548
1549 * common/errors.h (internal_warning): New declaration.
1550 (internal_vwarning): Likewise.
1551 * common/errors.c (internal_warning): New function.
1552 * utils.h (internal_warning): Don't declare.
1553 (internal_vwarning): Likewise.
1554 * utils.c (internal_warning): Removed.
1555
075c7033
GB
15562014-08-29 Gary Benson <gbenson@redhat.com>
1557
1558 * main.c (captured_main): Use warning during startup.
1559 Prefix startup warning messages with command name.
1560
91b35fd0
GB
15612014-08-29 Gary Benson <gbenson@redhat.com>
1562
1563 * main.c (captured_main): Handle usage errors with error.
1564
b1ec390e
GB
15652014-08-29 Gary Benson <gbenson@redhat.com>
1566
1567 * go32-nat.c (go32_create_inferior): Replace a fprintf/
1568 exit pair with a call to error. Wrap the message with _().
1569
fd0ef3dd
GB
15702014-08-29 Gary Benson <gbenson@redhat.com>
1571
1572 * main.c (captured_main): Replace a fprintf/exit
1573 pair with a call to error. Wrap the message with _().
1574
e0e6bcab
GB
15752014-08-29 Gary Benson <gbenson@redhat.com>
1576
1577 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
1578 pairs with calls to error. Wrap the message with _().
1579
0d2f5c07
GB
15802014-08-29 Gary Benson <gbenson@redhat.com>
1581
1582 * utils.c (vwarning): Protect calls to target_terminal_ours
1583 and wrap_here.
1584
5df43998
GB
15852014-08-29 Gary Benson <gbenson@redhat.com>
1586
1587 * exceptions.c (print_flush): Protect calls to
1588 target_terminal_ours and wrap_here.
1589
2437fd32
GB
15902014-08-29 Gary Benson <gbenson@redhat.com>
1591
1592 * utils.h (filtered_printing_initialized): New declaration.
1593 * utils.c (abort_with_message): New function.
1594 (internal_vproblem): Use abort_with_message for first level
1595 recursive internal problems, and if gdb_stderr is not set up.
1596 Protect calls to target_terminal_ours, begin_line and query.
1597
f1f58506
DE
15982014-08-28 Doug Evans <dje@google.com>
1599
1600 * symtab.c (in_prologue): Move definition to better spot.
1601 (skip_prologue_using_sal): Ditto.
1602
aab2f208
DE
16032014-08-28 Doug Evans <dje@google.com>
1604
1605 * symtab.c (find_function_start_sal): Move definition to better spot.
1606
6b65d1b6
YQ
16072014-08-28 Yao Qi <yao@codesourcery.com>
1608
1609 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
1610 found_stack_adjust in forward scan. Remove condition check
1611 on found_stack_adjust which is always true. Indent the code.
1612
a1b34d15
YQ
16132014-08-28 Yao Qi <yao@codesourcery.com>
1614
1615 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1616 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
1617 (dwarf_decode_lines): Remove argument
1618 want_line_info. Remove condition check on want_line_info.
1619 Callers update.
1620
d5962de5
DE
16212014-08-27 Doug Evans <dje@google.com>
1622
1623 * dwarf2read.c (dwarf_record_line): Fix typo.
1624
9b139002
SDJ
16252014-08-27 Patrick Palka <patrick@parcs.ath.cx>
1626
1627 * target.h (struct target_ops::to_terminal_save_ours): Remove
1628 declaration.
1629 (target_terminal_save_ours): Remove macro.
1630 * target-delegates.c: Regenerate.
1631 * inf-child.c (inf_child_target): Don't set the nonexistent
1632 field to_terminal_save_ours.
1633 * inferior.h (child_terminal_save_ours): Remove declaration.
1634 * terminal.h (gdb_save_tty_state): New declaration.
1635 * inflow.c (child_terminal_save_ours): Rename to ...
1636 (gdb_save_tty_state): ... this.
1637 * tui/tui.c: Include terminal.h.
1638 (tui_enable): Use gdb_save_tty_state instead of
1639 target_terminal_save_ours.
1640 (tui_disable): Likewise.
1641
9debeba0
DE
16422014-08-25 Doug Evans <dje@google.com>
1643
1644 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
1645 Pass NULL instead of 0 for context pointer.
1646
428fc5fc
YQ
16472014-08-25 Yao Qi <yao@codesourcery.com>
1648
1649 * dwarf2read.c: Fix grammatical error.
1650
cdc07690
YQ
16512014-08-24 Yao Qi <yao@codesourcery.com>
1652
1653 * dwarf2read.c (scan_partial_symbols): Update comments.
1654 Rename argument 'need_pc' with 'set_addrmap'.
1655 (add_partial_namespace): Rename argument 'need_pc' with
1656 'set_addrmap'.
1657 (add_partial_module): Likewise.
1658 (add_partial_subprogram): Likewise. Update comments.
1659 (dwarf2_name): Fix typo.
1660
a05a36a5
DE
16612014-08-22 Doug Evans <dje@google.com>
1662
1663 PR 17276
1664 * dwarf2read.c (dwarf_record_line_p): New function.
1665 (dwarf_decode_lines_1): Ignore subsequent line number entries
1666 for the same line if any entry had a non-zero discriminator.
1667
252a6764
DE
16682014-08-22 Doug Evans <dje@google.com>
1669
1670 * buildsym.h (record_line_ftype): New typedef.
1671 (record_line): Use it.
1672 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
1673 (dwarf_decode_lines_1): Call them.
1674
510db052
YQ
16752014-08-22 Yao Qi <yao@codesourcery.com>
1676
1677 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
1678 (ctf_end): Remove code.
1679
22fd09ae
JK
16802014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1681
1682 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
1683 (linux_make_corefile_notes): call update_thread_list, protected against
1684 exceptions.
1685
656e8868
PA
16862014-08-21 Pedro Alves <palves@redhat.com>
1687
1688 * infcmd.c (attach_command): Remove comment.
1689
de589d04
WN
16902014-08-21 Bin Cheng <bin.cheng@arm.com>
1691
1692 * aarch64-linux-nat.c (dr_changed_t): Change the type from
1693 unsigned LONGEST to ULONGEST.
1694
2a31c623
PA
16952014-08-20 Pedro Alves <palves@redhat.com>
1696
1697 * Makefile.in (check-read1): New rule.
1698
d36430db
JB
16992014-08-20 Joel Brobecker <brobecker@adacore.com>
1700
1701 * value.c (value_from_contents_and_address): Strip resolved_type's
1702 typedef layers before checking its TYPE_DATA_LOCATION.
1703
000339af
PA
17042014-08-20 Pedro Alves <palves@redhat.com>
1705
1706 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
1707
5f52445b
YQ
17082014-08-20 Yao Qi <yao@codesourcery.com>
1709
1710 * amd64-tdep.c (amd64_classify): Add a blank line after the
1711 example. Move "*/" to a new line.
1712 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
1713 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
1714 * dwarf2read.c (psymtab_include_file_name): Likewise.
1715
9a0dc9e3
PA
17162014-08-19 Andrew Burgess <aburgess@broadcom.com>
1717 Pedro Alves <palves@redhat.com>
1718
1719 PR symtab/14604
1720 PR symtab/14605
1721 * ada-lang.c (coerce_unspec_val_to_type): Use
1722 value_contents_copy_raw.
1723 * ada-valprint.c (val_print_packed_array_elements): Adjust.
1724 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
1725 * cp-valprint.c (cp_print_value_fields): Let the common printing
1726 code handle optimized out values.
1727 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
1728 * d-valprint.c (dynamic_array_type): Use
1729 value_bits_any_optimized_out.
1730 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
1731 check_any_valid fields.
1732 (check_pieced_value_bits): Delete and inline ...
1733 (check_pieced_synthetic_pointer): ... here.
1734 (check_pieced_value_validity): Delete.
1735 (check_pieced_value_invalid): Delete.
1736 (pieced_value_funcs): Remove check_validity and check_any_valid
1737 fields.
1738 (read_pieced_value): Use mark_value_bits_optimized_out.
1739 (write_pieced_value): Switch to use
1740 mark_value_bytes_optimized_out.
1741 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
1742 of assuming the whole value is optimized out.
1743 * findvar.c (read_frame_register_value): Remove special handling
1744 of optimized out registers.
1745 (value_from_register): Use mark_value_bytes_optimized_out.
1746 * frame-unwind.c (frame_unwind_got_optimized): Use
1747 mark_value_bytes_optimized_out.
1748 * jv-valprint.c (java_value_print): Adjust.
1749 (java_print_value_fields): Let the common printing code handle
1750 optimized out values.
1751 * mips-tdep.c (mips_print_register): Remove special handling of
1752 optimized out registers.
1753 * opencl-lang.c (lval_func_check_validity): Delete.
1754 (lval_func_check_any_valid): Delete.
1755 (opencl_value_funcs): Remove check_validity and check_any_valid
1756 fields.
1757 * p-valprint.c (pascal_object_print_value_fields): Let the common
1758 printing code handle optimized out values.
1759 * stack.c (read_frame_arg): Remove special handling of optimized
1760 out values. Fetch both VAL and ENTRYVAL before comparing
1761 contents. Adjust to value_available_contents_eq rename.
1762 * valprint.c (valprint_check_validity)
1763 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
1764 (val_print_array_elements): Adjust.
1765 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
1766 (value_bits_any_optimized_out): New function.
1767 (value_entirely_covered_by_range_vector): New function, factored
1768 out from value_entirely_unavailable.
1769 (value_entirely_unavailable): Reimplement.
1770 (value_entirely_optimized_out): New function.
1771 (insert_into_bit_range_vector): New function, factored out from
1772 mark_value_bits_unavailable.
1773 (mark_value_bits_unavailable): Reimplement.
1774 (struct ranges_and_idx): New struct.
1775 (find_first_range_overlap_and_match): New function, factored out
1776 from value_available_contents_bits_eq.
1777 (value_available_contents_bits_eq): Rename to ...
1778 (value_contents_bits_eq): ... this. Check both unavailable
1779 contents and optimized out contents.
1780 (value_available_contents_eq): Rename to ...
1781 (value_contents_eq): ... this.
1782 (allocate_value_lazy): Remove reference to the old optimized_out
1783 boolean.
1784 (allocate_optimized_out_value): Use
1785 mark_value_bytes_optimized_out.
1786 (require_not_optimized_out): Adjust to check whether the
1787 optimized_out vec is empty.
1788 (ranges_copy_adjusted): New function, factored out from
1789 value_contents_copy_raw.
1790 (value_contents_copy_raw): Also copy the optimized out ranges.
1791 Assert the destination ranges aren't optimized out.
1792 (value_contents_copy): Update comment, remove call to
1793 require_not_optimized_out.
1794 (value_contents_equal): Adjust to check whether the optimized_out
1795 vec is empty.
1796 (set_value_optimized_out, value_optimized_out_const): Delete.
1797 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
1798 New functions.
1799 (value_entirely_optimized_out, value_bits_valid): Delete.
1800 (value_copy): Take a VEC copy of the 'optimized_out' field.
1801 (value_primitive_field): Remove special handling of optimized out.
1802 (value_fetch_lazy): Assert that lazy values have no unavailable
1803 regions. Use value_bits_any_optimized_out. Remove some special
1804 handling for optimized out values.
1805 * value.h: Add intro comment about <optimized out> and
1806 <unavailable>.
1807 (struct lval_funcs): Remove check_validity and check_any_valid
1808 fields.
1809 (set_value_optimized_out, value_optimized_out_const): Remove.
1810 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
1811 New declarations.
1812 (value_bits_any_optimized_out): New declaration.
1813 (value_bits_valid): Delete declaration.
1814 (value_available_contents_eq): Rename to ...
1815 (value_contents_eq): ... this, and extend comments.
1816
6694c411
JK
18172014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1818
1819 Fix -fsanitize=address on unreadable inferior strings.
1820 * valprint.c (val_print_string): Fix access before BUFFER.
1821
89a1c21a
SM
18222014-08-19 Simon Marchi <simon.marchi@ericsson.com>
1823
1824 * target.c (target_struct_size): Remove.
1825 (target_struct_allocsize): Remove.
1826 (DEFAULT_ALLOCSIZE): Remove.
1827 (target_ops_p): New typedef.
1828 (DEF_VEC_P (target_ops_p)): New vector type.
1829 (target_structs): Change type to VEC (target_ops_p).
1830 (add_target_with_completer): Replace "push" code by VEC_safe_push.
1831 (find_default_run_target): Rewrite for loop following changes to
1832 target_structs.
1833
cb417230
JB
18342014-08-19 Joel Brobecker <brobecker@adacore.com>
1835
1836 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
1837 Adjust code accordingly. Adjust function description comment.
1838
817e0957
YQ
18392014-08-19 Yao Qi <yao@codesourcery.com>
1840
1841 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
1842 types.
1843
2974be62
AM
18442014-08-19 Alan Modra <amodra@gmail.com>
1845
1846 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
1847 * config.in: Regenerate.
1848 * configure: Regenerate.
1849
34abf635
GB
18502014-08-19 Tom Tromey <tromey@redhat.com>
1851 Gary Benson <gbenson@redhat.com>
1852
1853 * common/common-debug.h: New file.
1854 * common/common-debug.c: Likewise.
1855 * debug.c: Likewise.
1856 * Makefile.in (SFILES): Add common/common-debug.c.
1857 (HFILES_NO_SRCDIR): Add common/common-debug.h.
1858 (COMMON_OBS): Add common-debug.o and debug.o.
1859 (common-debug.o): New rule.
1860 * common/common-defs.h: Include common-debug.h.
1861 * common/agent.c (debug_agent_printf): New function.
1862 (DEBUG_AGENT): Redefine.
1863 * nat/i386-dregs.c (debug_printf): Undefine.
1864
f6e94d78
GB
18652014-08-19 Gary Benson <gbenson@redhat.com>
1866
1867 * common/common-defs.h: Include print-utils.h.
1868 * utils.h: Do not include print-utils.h.
1869
9239eeab
GB
18702014-08-19 Tom Tromey <tromey@redhat.com>
1871 Gary Benson <gbenson@redhat.com>
1872
1873 * common/common-types.h: New file.
1874 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
1875 * common/common-defs.h: Include common-types.h.
1876 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
1877 (ULONGEST): Remove.
1878
ef87c8bb
GB
18792014-08-19 Tom Tromey <tromey@redhat.com>
1880 Gary Benson <gbenson@redhat.com>
1881
1882 * common/errors.h: New file.
1883 * common/errors.c: Likewise.
1884 * Makefile.in (SFILES): Add common/errors.c.
1885 (HFILES_NO_SRCDIR): Add common/errors.h.
1886 (COMMON_OBS): Add errors.o.
1887 (errors.o): New rule.
1888 * common/common-defs.h: Include errors.h.
1889 * utils.h (perror_with_name, error, verror, warning, vwarning):
1890 Don't declare.
1891 * common/common-utils.h: (malloc_failure, internal_error):
1892 Likewise.
1893
196a707b
GB
18942014-08-19 Gary Benson <gbenson@redhat.com>
1895
1896 * utils.c (internal_vproblem): Always print the message.
1897
ded4fc8f
DE
18982014-08-18 Doug Evans <dje@google.com>
1899
1900 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
1901
950c97d8
JB
19022014-08-18 Joel Brobecker <brobecker@adacore.com>
1903
1904 * ada-typeprint.c (type_is_full_subrange_of_target_type):
1905 Return 0 if TYPE is dynamic.
1906 (print_range): Add handling of dynamic ranges.
1907
3cdcd0ce
JB
19082014-08-18 Keven Boell <keven.boell@intel.com>
1909 Joel Brobecker <brobecker@adacore.com>
1910
1911 * gdbtypes.h (struct main_type): Add field "data_location".
1912 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
1913 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
1914 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
1915 a dynamic data location.
1916 (resolve_dynamic_type): Add DW_AT_data_location handling.
1917 (copy_recursive, copy_type): Copy the data_location information
1918 when present.
1919 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
1920 * value.c (value_from_contents_and_address): Add
1921 DW_AT_data_location handling.
1922
08412b07
JB
19232014-08-18 Keven Boell <keven.boell@intel.com>
1924 Joel Brobecker <brobecker@adacore.com>
1925
1926 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
1927 field "get_object_address".
1928 * dwarf2expr.c (execute_stack_op): Add handling for
1929 DW_OP_push_object_address.
1930 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
1931 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
1932 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
1933 (dwarf_expr_get_obj_addr): New function.
1934 (dwarf_expr_ctx_funcs): Add get_object_address field.
1935 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
1936 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
1937 (dwarf2_evaluate_property): Add parameter "address". Use it.
1938 (needs_get_obj_addr): New function.
1939 (needs_frame_ctx_funcs): Add get_object_address field.
1940 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
1941 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
1942 (resolve_dynamic_array): Likewise.
1943
84754697
JB
19442014-08-18 Joel Brobecker <brobecker@adacore.com>
1945
1946 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
1947 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
1948 fixed value for records and unions for which some GNAT encodings
1949 are present.
1950
da5c522f
JB
19512014-08-18 Joel Brobecker <brobecker@adacore.com>
1952
1953 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
1954 rewrite to avoid "else if" and "else" constructs. Should be
1955 a no-op in practice.
1956
0d72a7c3
JB
19572014-08-18 Joel Brobecker <brobecker@adacore.com>
1958
1959 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
1960 of lexical block.
1961
e66d4446
SC
19622014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1963
1964 PR c++/17132
1965 * eval.c: Update all calls to find_overload_match.
1966 * valarith.c: Likewise.
1967 (value_user_defined_cpp_op, value_user_defined_op): New
1968 argument NOSIDE. Update all callers.
1969 * valops.c (find_overload_match): New argument NOSIDE.
1970 * value.h (find_overload_match): Update signature.
1971
940df408
SC
19722014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1973
1974 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
1975 'items' methods instead of 'iteritems' method on dictionaries.
1976
699ca60a
DE
19772014-08-15 Doug Evans <dje@google.com>
1978
1979 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
1980 closer to use.
1981
37780ee5
DE
19822014-08-15 Doug Evans <dje@google.com>
1983
1984 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
1985
0ad93d4f
DE
19862014-08-15 Doug Evans <dje@google.com>
1987
1988 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
1989
20d8c372
DE
19902014-08-15 Doug Evans <dje@google.com>
1991
1992 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
1993 unused.
1994
cb039ba4
EZ
19952014-08-15 Eli Zaretskii <eliz@gnu.org>
1996
1997 * dcache.h: Include target.h, to avoid compile time warnings.
1998
eb7a547a
JB
19992014-08-15 Joel Brobecker <brobecker@adacore.com>
2000
2001 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
2002 frame_info" partial declaration.
2003 * gdbarch.h: Regenerate.
2004
783cecc8
YQ
20052014-08-15 Yao Qi <yao@codesourcery.com>
2006
2007 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
2008 Add parameter 'decode_for_pst_p'. Callers update.
2009
65c749e7
YQ
20102014-08-13 Yao Qi <yao@codesourcery.com>
2011
2012 PR build/17104
2013 * configure.ac: Use local variable 'pos'.
2014 * configure: Regenerated.
2015
d769e349
DE
20162014-08-11 Doug Evans <dje@google.com>
2017
2018 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
2019 message, it is redundant with "Reading symbols from ..." message.
2020
24f1235e
DE
20212014-08-10 Doug Evans <xdje42@gmail.com>
2022
2023 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
2024
dcd2e6ef
YQ
20252014-08-09 Yao Qi <yao@codesourcery.com>
2026
2027 PR remote/9053
2028 * remote.c (remote_xfer_partial): Remove dead code.
2029
070bdf0b
AA
20302014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2031
2032 * ia64-linux-tdep.c: Include "regset.h".
2033 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
2034 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
2035 (ia64_linux_supply_fpregset): New function.
2036 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
2037 (ia64_linux_regset_from_core_section): New function.
2038 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
2039 method.
2040
08f9f542
AA
20412014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2042
2043 * m68klinux-tdep.c: Include "regset.h".
2044 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
2045 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
2046 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
2047 (m68k_linux_regset_from_core_section): New function.
2048 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
2049 method.
2050
8f1cee41
AA
20512014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2052
2053 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
2054 function. Move logic to...
2055 (tilegx_linux_regmap): ... this new register map.
2056 (tilegx_linux_regset): Refer to register map, replace supply
2057 method by regcache_supply_regset, and add collect method.
2058 * tilegx-tdep.h (enum tilegx_regnum): New enum value
2059 TILEGX_FIRST_EASY_REGNUM.
2060
c5741217
AA
20612014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2062
2063 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
2064 that calls regcache_supply_regset and handles the EPC register
2065 separately. Move main logic to...
2066 (score7_linux_gregmap): ... this new register map.
2067 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
2068 (score7_linux_gregset): Refer to register map. Add collect method.
2069 (score7_linux_regset_from_core_section): Replace
2070 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
2071 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
2072 (struct regset): Delete unused forward declaraction.
2073 (struct pt_regs): Delete structure definition.
2074 (elf_gregset_t): Delete typedef.
2075
81580573
AA
20762014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2077
2078 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
2079 (nios2_core_regset): Add collect method.
2080
ba199d7d
AA
20812014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2082
2083 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
2084 platform-independent and don't write to read-only input buffer.
2085 (m32r_linux_collect_gregset): New function.
2086 (m32r_linux_gregset): Add collect method.
2087
0006a9da
AA
20882014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2089
2090 * hppa-linux-tdep.c (greg_map): Rename to...
2091 (hppa_linux_gregmap): ... this. Also convert to
2092 regcache_map_entry format.
2093 (hppa_linux_supply_regset): Delete function.
2094 (hppa_linux_supply_fpregset): Delete function. Move logic to...
2095 (hppa_linux_fpregmap): ... this new register map.
2096 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
2097 register map, replace supply method by regcache_supply_regset, and
2098 add collect method regcache_collect_regset.
2099
901e1b23
AA
21002014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2101
2102 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
2103 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
2104 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
2105 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
2106 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
2107 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
2108 (frv_linux_supply_gregset): Replace main logic by call to
2109 regcache_supply_regset, but keep clearing gr32-gr63.
2110 (frv_linux_supply_fpregset): Delete function.
2111 (frv_linux_gregset): Refer to appropriate register map and add
2112 regcache_collect_regset as the collect method.
2113 (frv_linux_fpregset): Likewise. Also exchange the supply method
2114 by regcache_supply_regset.
2115
1d6e7555
AA
21162014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2117
2118 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
2119 by call to alpha_supply_int_regs.
2120 (alpha_linux_collect_gregset): New function.
2121 (alpha_linux_supply_fpregset): Replace logic by call to
2122 alpha_supply_fp_regs.
2123 (alpha_linux_collect_fpregset): New function.
2124 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
2125
d4d793bf
AA
21262014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2127
2128 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
2129 by call to regcache_collect_regset.
2130 (supply_gregset, supply_fpregset): Call regcache_supply_regset
2131 instead of aarch64_linux_supply_gregset/_fpregset.
2132 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
2133 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
2134 header file instead.
2135 (aarch64_linux_supply_gregset, supply_gregset_from_core)
2136 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
2137 functions. Move logic to ...
2138 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
2139 register maps.
2140 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
2141 refer to new register maps, replace *_regset_from_core by
2142 regcache_supply_regset, and also use regcache_collect_regset.
2143 * aarch64-linux-tdep.h: Include "regset.h".
2144 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
2145 Delete prototypes.
2146 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
2147 macros, moved from C source file.
2148 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
2149 variable declarations.
2150
99b7da5d
AA
21512014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2152
2153 * s390-linux-nat.c: Include "regset.h".
2154 (regmap_gregset): Delete macro.
2155 (s390_64_regmap_gregset): New register map for
2156 regcache_supply/_collect_regset.
2157 (s390_64_gregset): New regset.
2158 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
2159 (regmap_fpregset): Delete macro.
2160 (s390_native_supply, s390_native_collect): Delete functions.
2161 (supply_gregset, fill_gregset): Replace s390-specific regmap
2162 handling by a call to regcache_supply/_collect_regset.
2163 (supply_fpregset, fill_fpregset): Call regcache_supply/
2164 _collect_regset instead of s390_native_supply/_collect.
2165 (fetch_regset, store_regset): Likewise. Also change the last
2166 parameter to a regset instead of a regmap.
2167 (s390_linux_fetch_inferior_registers)
2168 (390_linux_store_inferior_registers): Adjust last parameter in
2169 calls to fetch_regset and store_regset.
2170 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
2171 (s390_gregmap): ... this. Also make static const and convert to
2172 regcache_map_entry format.
2173 (s390x_regmap_gregset): Delete.
2174 (s390_regmap_fpregset): Rename to...
2175 (s390_fpregmap): ... this. Make static const and convert to
2176 regcache_map_entry format.
2177 (s390_regmap_upper, s390_regmap_last_break)
2178 (s390x_regmap_last_break, s390_regmap_system_call)
2179 (s390_regmap_tdb): Likewise.
2180 (s390_supply_regset, s390_collect_regset): Remove functions.
2181 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
2182 s390_supply_regset.
2183 (s390_gregset, s390_fpregset, s390_upper_regset)
2184 (s390_last_break_regset, s390x_last_break_regset)
2185 (s390_system_call_regset, s390_tdb_regset): Make global and
2186 replace s390_supply/_collect_regset by regcache_supply/
2187 _collect_regset.
2188 (s390x_gregset): Delete.
2189 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
2190 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
2191 (s390_regmap_fpregset, s390_regmap_last_break)
2192 (s390x_regmap_last_break, s390_regmap_system_call)
2193 (s390_regmap_tdb): Delete global variable declarations.
2194 (s390_gregset, s390_fpregset, s390_last_break_regset)
2195 (s390x_last_break_regset, s390_system_call_regset)
2196 (s390_tdb_regset): New global variable declarations.
2197
0b309272
AA
21982014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2199
2200 * regcache.c: Include "regset.h".
2201 (regcache_transfer_regset): New local function.
2202 (regcache_supply_regset, regcache_collect_regset): New functions.
2203 * regcache.h (struct regcache_map_entry): New structure.
2204 (REGCACHE_MAP_SKIP): New enum value.
2205 (regcache_supply_regset, regcache_collect_regset): New prototypes.
2206
7fefa8d7
AA
22072014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2208
2209 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
2210 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
2211 (ppc_linux_collect_gregset ): Likewise.
2212 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
2213 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
2214 (ppc_collect_vrregset): Likewise.
2215 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
2216 Likewise.
2217
96c4f946
YQ
22182014-08-07 Yao Qi <yao@codesourcery.com>
2219
2220 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
2221 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
2222 * remote.c (remote_read_bytes): Likewise.
2223
fffbe6a8
YQ
22242014-08-07 Yao Qi <yao@codesourcery.com>
2225
2226 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
2227
5ee8a82c
YQ
22282014-08-07 Yao Qi <yao@codesourcery.com>
2229
2230 PR remote/17230
2231 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
2232 TARGET_XFER_OK instead of 0.
2233
bb974a24
GB
22342014-08-07 Gary Benson <gbenson@redhat.com>
2235
2236 * common/common-defs.h: Include errno.h.
2237 * defs.h: Do not include errno.h.
2238 * ada-typeprint.c: Likewise.
2239 * c-typeprint.c: Likewise.
2240 * core-regset.c: Likewise.
2241 * corefile.c: Likewise.
2242 * corelow.c: Likewise.
2243 * event-loop.c: Likewise.
2244 * f-typeprint.c: Likewise.
2245 * gnu-nat.c: Likewise.
2246 * go32-nat.c: Likewise.
2247 * i386gnu-nat.c: Likewise.
2248 * m2-typeprint.c: Likewise.
2249 * nat/linux-btrace.c: Likewise.
2250 * p-typeprint.c: Likewise.
2251 * procfs.c: Likewise.
2252 * remote-sim.c: Likewise.
2253 * rs6000-nat.c: Likewise.
2254 * target.c: Likewise.
2255 * typeprint.c: Likewise.
2256 * ui-file.c: Likewise.
2257 * valops.c: Likewise.
2258 * valprint.c: Likewise.
2259
6d3d12eb
GB
22602014-08-07 Gary Benson <gbenson@redhat.com>
2261
2262 * common/common-defs.h: Include string.h.
2263 * aarch64-tdep.c: Do not include string.h.
2264 * ada-exp.y: Likewise.
2265 * ada-lang.c: Likewise.
2266 * ada-lex.l: Likewise.
2267 * ada-typeprint.c: Likewise.
2268 * ada-valprint.c: Likewise.
2269 * aix-thread.c: Likewise.
2270 * alpha-linux-tdep.c: Likewise.
2271 * alpha-mdebug-tdep.c: Likewise.
2272 * alpha-nat.c: Likewise.
2273 * alpha-osf1-tdep.c: Likewise.
2274 * alpha-tdep.c: Likewise.
2275 * alphanbsd-tdep.c: Likewise.
2276 * amd64-dicos-tdep.c: Likewise.
2277 * amd64-linux-tdep.c: Likewise.
2278 * amd64-nat.c: Likewise.
2279 * amd64-sol2-tdep.c: Likewise.
2280 * amd64fbsd-tdep.c: Likewise.
2281 * amd64obsd-tdep.c: Likewise.
2282 * arch-utils.c: Likewise.
2283 * arm-linux-nat.c: Likewise.
2284 * arm-linux-tdep.c: Likewise.
2285 * arm-tdep.c: Likewise.
2286 * arm-wince-tdep.c: Likewise.
2287 * armbsd-tdep.c: Likewise.
2288 * armnbsd-nat.c: Likewise.
2289 * armnbsd-tdep.c: Likewise.
2290 * armobsd-tdep.c: Likewise.
2291 * avr-tdep.c: Likewise.
2292 * ax-gdb.c: Likewise.
2293 * ax-general.c: Likewise.
2294 * bcache.c: Likewise.
2295 * bfin-tdep.c: Likewise.
2296 * breakpoint.c: Likewise.
2297 * build-id.c: Likewise.
2298 * buildsym.c: Likewise.
2299 * c-exp.y: Likewise.
2300 * c-lang.c: Likewise.
2301 * c-typeprint.c: Likewise.
2302 * c-valprint.c: Likewise.
2303 * charset.c: Likewise.
2304 * cli-out.c: Likewise.
2305 * cli/cli-cmds.c: Likewise.
2306 * cli/cli-decode.c: Likewise.
2307 * cli/cli-dump.c: Likewise.
2308 * cli/cli-interp.c: Likewise.
2309 * cli/cli-logging.c: Likewise.
2310 * cli/cli-script.c: Likewise.
2311 * cli/cli-setshow.c: Likewise.
2312 * cli/cli-utils.c: Likewise.
2313 * coffread.c: Likewise.
2314 * common/agent.c: Likewise.
2315 * common/buffer.c: Likewise.
2316 * common/buffer.h: Likewise.
2317 * common/common-utils.c: Likewise.
2318 * common/filestuff.c: Likewise.
2319 * common/filestuff.c: Likewise.
2320 * common/format.c: Likewise.
2321 * common/print-utils.c: Likewise.
2322 * common/rsp-low.c: Likewise.
2323 * common/signals.c: Likewise.
2324 * common/vec.h: Likewise.
2325 * common/xml-utils.c: Likewise.
2326 * core-regset.c: Likewise.
2327 * corefile.c: Likewise.
2328 * corelow.c: Likewise.
2329 * cp-abi.c: Likewise.
2330 * cp-name-parser.y: Likewise.
2331 * cp-support.c: Likewise.
2332 * cp-valprint.c: Likewise.
2333 * cris-tdep.c: Likewise.
2334 * d-exp.y: Likewise.
2335 * darwin-nat.c: Likewise.
2336 * dbxread.c: Likewise.
2337 * dcache.c: Likewise.
2338 * demangle.c: Likewise.
2339 * dicos-tdep.c: Likewise.
2340 * disasm.c: Likewise.
2341 * doublest.c: Likewise.
2342 * dsrec.c: Likewise.
2343 * dummy-frame.c: Likewise.
2344 * dwarf2-frame.c: Likewise.
2345 * dwarf2loc.c: Likewise.
2346 * dwarf2read.c: Likewise.
2347 * elfread.c: Likewise.
2348 * environ.c: Likewise.
2349 * eval.c: Likewise.
2350 * event-loop.c: Likewise.
2351 * exceptions.c: Likewise.
2352 * exec.c: Likewise.
2353 * expprint.c: Likewise.
2354 * f-exp.y: Likewise.
2355 * f-lang.c: Likewise.
2356 * f-typeprint.c: Likewise.
2357 * f-valprint.c: Likewise.
2358 * fbsd-nat.c: Likewise.
2359 * findcmd.c: Likewise.
2360 * findvar.c: Likewise.
2361 * fork-child.c: Likewise.
2362 * frame.c: Likewise.
2363 * frv-linux-tdep.c: Likewise.
2364 * frv-tdep.c: Likewise.
2365 * gdb.c: Likewise.
2366 * gdb_bfd.c: Likewise.
2367 * gdbarch.c: Likewise.
2368 * gdbarch.sh: Likewise.
2369 * gdbtypes.c: Likewise.
2370 * gnu-nat.c: Likewise.
2371 * gnu-v2-abi.c: Likewise.
2372 * gnu-v3-abi.c: Likewise.
2373 * go-exp.y: Likewise.
2374 * go-lang.c: Likewise.
2375 * go32-nat.c: Likewise.
2376 * guile/guile.c: Likewise.
2377 * guile/scm-auto-load.c: Likewise.
2378 * hppa-hpux-tdep.c: Likewise.
2379 * hppa-linux-nat.c: Likewise.
2380 * hppanbsd-tdep.c: Likewise.
2381 * hppaobsd-tdep.c: Likewise.
2382 * i386-cygwin-tdep.c: Likewise.
2383 * i386-dicos-tdep.c: Likewise.
2384 * i386-linux-tdep.c: Likewise.
2385 * i386-nto-tdep.c: Likewise.
2386 * i386-sol2-tdep.c: Likewise.
2387 * i386-tdep.c: Likewise.
2388 * i386bsd-tdep.c: Likewise.
2389 * i386gnu-nat.c: Likewise.
2390 * i386nbsd-tdep.c: Likewise.
2391 * i386obsd-tdep.c: Likewise.
2392 * i387-tdep.c: Likewise.
2393 * ia64-libunwind-tdep.c: Likewise.
2394 * ia64-linux-nat.c: Likewise.
2395 * inf-child.c: Likewise.
2396 * inf-ptrace.c: Likewise.
2397 * inf-ttrace.c: Likewise.
2398 * infcall.c: Likewise.
2399 * infcmd.c: Likewise.
2400 * inflow.c: Likewise.
2401 * infrun.c: Likewise.
2402 * interps.c: Likewise.
2403 * iq2000-tdep.c: Likewise.
2404 * irix5-nat.c: Likewise.
2405 * jv-exp.y: Likewise.
2406 * jv-lang.c: Likewise.
2407 * jv-typeprint.c: Likewise.
2408 * jv-valprint.c: Likewise.
2409 * language.c: Likewise.
2410 * linux-fork.c: Likewise.
2411 * linux-nat.c: Likewise.
2412 * lm32-tdep.c: Likewise.
2413 * m2-exp.y: Likewise.
2414 * m2-typeprint.c: Likewise.
2415 * m32c-tdep.c: Likewise.
2416 * m32r-linux-nat.c: Likewise.
2417 * m32r-linux-tdep.c: Likewise.
2418 * m32r-rom.c: Likewise.
2419 * m32r-tdep.c: Likewise.
2420 * m68hc11-tdep.c: Likewise.
2421 * m68k-tdep.c: Likewise.
2422 * m68kbsd-tdep.c: Likewise.
2423 * m68klinux-nat.c: Likewise.
2424 * m68klinux-tdep.c: Likewise.
2425 * m88k-tdep.c: Likewise.
2426 * machoread.c: Likewise.
2427 * macrocmd.c: Likewise.
2428 * main.c: Likewise.
2429 * mdebugread.c: Likewise.
2430 * mem-break.c: Likewise.
2431 * memattr.c: Likewise.
2432 * memory-map.c: Likewise.
2433 * mep-tdep.c: Likewise.
2434 * mi/mi-cmd-break.c: Likewise.
2435 * mi/mi-cmd-disas.c: Likewise.
2436 * mi/mi-cmd-env.c: Likewise.
2437 * mi/mi-cmd-stack.c: Likewise.
2438 * mi/mi-cmd-var.c: Likewise.
2439 * mi/mi-cmds.c: Likewise.
2440 * mi/mi-console.c: Likewise.
2441 * mi/mi-getopt.c: Likewise.
2442 * mi/mi-interp.c: Likewise.
2443 * mi/mi-main.c: Likewise.
2444 * mi/mi-parse.c: Likewise.
2445 * microblaze-rom.c: Likewise.
2446 * microblaze-tdep.c: Likewise.
2447 * mingw-hdep.c: Likewise.
2448 * minidebug.c: Likewise.
2449 * minsyms.c: Likewise.
2450 * mips-irix-tdep.c: Likewise.
2451 * mips-linux-tdep.c: Likewise.
2452 * mips-tdep.c: Likewise.
2453 * mips64obsd-tdep.c: Likewise.
2454 * mipsnbsd-tdep.c: Likewise.
2455 * mipsread.c: Likewise.
2456 * mn10300-linux-tdep.c: Likewise.
2457 * mn10300-tdep.c: Likewise.
2458 * monitor.c: Likewise.
2459 * moxie-tdep.c: Likewise.
2460 * mt-tdep.c: Likewise.
2461 * nat/linux-btrace.c: Likewise.
2462 * nat/linux-osdata.c: Likewise.
2463 * nat/linux-procfs.c: Likewise.
2464 * nat/linux-ptrace.c: Likewise.
2465 * nat/linux-waitpid.c: Likewise.
2466 * nbsd-tdep.c: Likewise.
2467 * nios2-linux-tdep.c: Likewise.
2468 * nto-procfs.c: Likewise.
2469 * nto-tdep.c: Likewise.
2470 * objc-lang.c: Likewise.
2471 * objfiles.c: Likewise.
2472 * opencl-lang.c: Likewise.
2473 * osabi.c: Likewise.
2474 * osdata.c: Likewise.
2475 * p-exp.y: Likewise.
2476 * p-lang.c: Likewise.
2477 * p-typeprint.c: Likewise.
2478 * parse.c: Likewise.
2479 * posix-hdep.c: Likewise.
2480 * ppc-linux-nat.c: Likewise.
2481 * ppc-sysv-tdep.c: Likewise.
2482 * ppcfbsd-tdep.c: Likewise.
2483 * ppcnbsd-tdep.c: Likewise.
2484 * ppcobsd-tdep.c: Likewise.
2485 * printcmd.c: Likewise.
2486 * procfs.c: Likewise.
2487 * prologue-value.c: Likewise.
2488 * python/py-auto-load.c: Likewise.
2489 * python/py-gdb-readline.c: Likewise.
2490 * ravenscar-thread.c: Likewise.
2491 * regcache.c: Likewise.
2492 * registry.c: Likewise.
2493 * remote-fileio.c: Likewise.
2494 * remote-m32r-sdi.c: Likewise.
2495 * remote-mips.c: Likewise.
2496 * remote-notif.c: Likewise.
2497 * remote-sim.c: Likewise.
2498 * remote.c: Likewise.
2499 * reverse.c: Likewise.
2500 * rs6000-aix-tdep.c: Likewise.
2501 * ser-base.c: Likewise.
2502 * ser-go32.c: Likewise.
2503 * ser-mingw.c: Likewise.
2504 * ser-pipe.c: Likewise.
2505 * ser-tcp.c: Likewise.
2506 * ser-unix.c: Likewise.
2507 * serial.c: Likewise.
2508 * sh-tdep.c: Likewise.
2509 * sh64-tdep.c: Likewise.
2510 * shnbsd-tdep.c: Likewise.
2511 * skip.c: Likewise.
2512 * sol-thread.c: Likewise.
2513 * solib-dsbt.c: Likewise.
2514 * solib-frv.c: Likewise.
2515 * solib-osf.c: Likewise.
2516 * solib-som.c: Likewise.
2517 * solib-spu.c: Likewise.
2518 * solib-target.c: Likewise.
2519 * solib.c: Likewise.
2520 * somread.c: Likewise.
2521 * source.c: Likewise.
2522 * sparc-nat.c: Likewise.
2523 * sparc-sol2-tdep.c: Likewise.
2524 * sparc-tdep.c: Likewise.
2525 * sparc64-tdep.c: Likewise.
2526 * sparc64fbsd-tdep.c: Likewise.
2527 * sparc64nbsd-tdep.c: Likewise.
2528 * sparcnbsd-tdep.c: Likewise.
2529 * spu-linux-nat.c: Likewise.
2530 * spu-multiarch.c: Likewise.
2531 * spu-tdep.c: Likewise.
2532 * stabsread.c: Likewise.
2533 * stack.c: Likewise.
2534 * std-regs.c: Likewise.
2535 * symfile.c: Likewise.
2536 * symmisc.c: Likewise.
2537 * symtab.c: Likewise.
2538 * target.c: Likewise.
2539 * thread.c: Likewise.
2540 * tilegx-linux-nat.c: Likewise.
2541 * tilegx-tdep.c: Likewise.
2542 * top.c: Likewise.
2543 * tracepoint.c: Likewise.
2544 * tui/tui-command.c: Likewise.
2545 * tui/tui-data.c: Likewise.
2546 * tui/tui-disasm.c: Likewise.
2547 * tui/tui-file.c: Likewise.
2548 * tui/tui-layout.c: Likewise.
2549 * tui/tui-out.c: Likewise.
2550 * tui/tui-regs.c: Likewise.
2551 * tui/tui-source.c: Likewise.
2552 * tui/tui-stack.c: Likewise.
2553 * tui/tui-win.c: Likewise.
2554 * tui/tui-windata.c: Likewise.
2555 * tui/tui-winsource.c: Likewise.
2556 * typeprint.c: Likewise.
2557 * ui-file.c: Likewise.
2558 * ui-out.c: Likewise.
2559 * user-regs.c: Likewise.
2560 * utils.c: Likewise.
2561 * v850-tdep.c: Likewise.
2562 * valarith.c: Likewise.
2563 * valops.c: Likewise.
2564 * valprint.c: Likewise.
2565 * value.c: Likewise.
2566 * varobj.c: Likewise.
2567 * vax-tdep.c: Likewise.
2568 * vaxnbsd-tdep.c: Likewise.
2569 * vaxobsd-tdep.c: Likewise.
2570 * windows-nat.c: Likewise.
2571 * xcoffread.c: Likewise.
2572 * xml-support.c: Likewise.
2573 * xstormy16-tdep.c: Likewise.
2574 * xtensa-linux-nat.c: Likewise.
2575
dccbb609
GB
25762014-08-07 Gary Benson <gbenson@redhat.com>
2577
2578 * common/common-defs.h: Include gdb_assert.h.
2579 * aarch64-tdep.c: Do not include gdb_assert.h.
2580 * addrmap.c: Likewise.
2581 * aix-thread.c: Likewise.
2582 * alpha-linux-tdep.c: Likewise.
2583 * alpha-mdebug-tdep.c: Likewise.
2584 * alphanbsd-tdep.c: Likewise.
2585 * amd64-nat.c: Likewise.
2586 * amd64-tdep.c: Likewise.
2587 * amd64bsd-nat.c: Likewise.
2588 * amd64fbsd-nat.c: Likewise.
2589 * amd64fbsd-tdep.c: Likewise.
2590 * amd64nbsd-nat.c: Likewise.
2591 * amd64nbsd-tdep.c: Likewise.
2592 * amd64obsd-nat.c: Likewise.
2593 * amd64obsd-tdep.c: Likewise.
2594 * arch-utils.c: Likewise.
2595 * arm-tdep.c: Likewise.
2596 * armbsd-tdep.c: Likewise.
2597 * auxv.c: Likewise.
2598 * bcache.c: Likewise.
2599 * bfin-tdep.c: Likewise.
2600 * blockframe.c: Likewise.
2601 * breakpoint.c: Likewise.
2602 * bsd-kvm.c: Likewise.
2603 * bsd-uthread.c: Likewise.
2604 * buildsym.c: Likewise.
2605 * c-exp.y: Likewise.
2606 * c-lang.c: Likewise.
2607 * charset.c: Likewise.
2608 * cleanups.c: Likewise.
2609 * cli-out.c: Likewise.
2610 * cli/cli-decode.c: Likewise.
2611 * cli/cli-dump.c: Likewise.
2612 * cli/cli-logging.c: Likewise.
2613 * cli/cli-script.c: Likewise.
2614 * cli/cli-utils.c: Likewise.
2615 * coffread.c: Likewise.
2616 * common/common-utils.c: Likewise.
2617 * common/queue.h: Likewise.
2618 * common/signals.c: Likewise.
2619 * common/vec.h: Likewise.
2620 * complaints.c: Likewise.
2621 * completer.c: Likewise.
2622 * corelow.c: Likewise.
2623 * cp-abi.c: Likewise.
2624 * cp-name-parser.y: Likewise.
2625 * cp-namespace.c: Likewise.
2626 * cp-support.c: Likewise.
2627 * cris-tdep.c: Likewise.
2628 * dbxread.c: Likewise.
2629 * dictionary.c: Likewise.
2630 * doublest.c: Likewise.
2631 * dsrec.c: Likewise.
2632 * dummy-frame.c: Likewise.
2633 * dwarf2-frame-tailcall.c: Likewise.
2634 * dwarf2-frame.c: Likewise.
2635 * dwarf2expr.c: Likewise.
2636 * dwarf2loc.c: Likewise.
2637 * dwarf2read.c: Likewise.
2638 * eval.c: Likewise.
2639 * event-loop.c: Likewise.
2640 * exceptions.c: Likewise.
2641 * expprint.c: Likewise.
2642 * f-valprint.c: Likewise.
2643 * fbsd-nat.c: Likewise.
2644 * findvar.c: Likewise.
2645 * frame-unwind.c: Likewise.
2646 * frame.c: Likewise.
2647 * frv-tdep.c: Likewise.
2648 * gcore.c: Likewise.
2649 * gdb-dlfcn.c: Likewise.
2650 * gdb_bfd.c: Likewise.
2651 * gdbarch.c: Likewise.
2652 * gdbarch.sh: Likewise.
2653 * gdbtypes.c: Likewise.
2654 * gnu-nat.c: Likewise.
2655 * gnu-v3-abi.c: Likewise.
2656 * go-lang.c: Likewise.
2657 * guile/scm-exception.c: Likewise.
2658 * guile/scm-gsmob.c: Likewise.
2659 * guile/scm-lazy-string.c: Likewise.
2660 * guile/scm-math.c: Likewise.
2661 * guile/scm-pretty-print.c: Likewise.
2662 * guile/scm-safe-call.c: Likewise.
2663 * guile/scm-utils.c: Likewise.
2664 * guile/scm-value.c: Likewise.
2665 * h8300-tdep.c: Likewise.
2666 * hppa-hpux-nat.c: Likewise.
2667 * hppa-tdep.c: Likewise.
2668 * hppanbsd-tdep.c: Likewise.
2669 * hppaobsd-tdep.c: Likewise.
2670 * i386-darwin-nat.c: Likewise.
2671 * i386-darwin-tdep.c: Likewise.
2672 * i386-nto-tdep.c: Likewise.
2673 * i386-tdep.c: Likewise.
2674 * i386bsd-nat.c: Likewise.
2675 * i386fbsd-tdep.c: Likewise.
2676 * i386gnu-nat.c: Likewise.
2677 * i386nbsd-tdep.c: Likewise.
2678 * i386obsd-tdep.c: Likewise.
2679 * i387-tdep.c: Likewise.
2680 * ia64-libunwind-tdep.c: Likewise.
2681 * ia64-tdep.c: Likewise.
2682 * inf-ptrace.c: Likewise.
2683 * inf-ttrace.c: Likewise.
2684 * infcall.c: Likewise.
2685 * infcmd.c: Likewise.
2686 * infrun.c: Likewise.
2687 * inline-frame.c: Likewise.
2688 * interps.c: Likewise.
2689 * jv-lang.c: Likewise.
2690 * jv-typeprint.c: Likewise.
2691 * linux-fork.c: Likewise.
2692 * linux-nat.c: Likewise.
2693 * linux-thread-db.c: Likewise.
2694 * m32c-tdep.c: Likewise.
2695 * m32r-linux-nat.c: Likewise.
2696 * m32r-tdep.c: Likewise.
2697 * m68k-tdep.c: Likewise.
2698 * m68kbsd-nat.c: Likewise.
2699 * m68kbsd-tdep.c: Likewise.
2700 * m88k-tdep.c: Likewise.
2701 * machoread.c: Likewise.
2702 * macroexp.c: Likewise.
2703 * macrotab.c: Likewise.
2704 * maint.c: Likewise.
2705 * mdebugread.c: Likewise.
2706 * memory-map.c: Likewise.
2707 * mep-tdep.c: Likewise.
2708 * mi/mi-common.c: Likewise.
2709 * microblaze-tdep.c: Likewise.
2710 * mingw-hdep.c: Likewise.
2711 * mips-linux-nat.c: Likewise.
2712 * mips-linux-tdep.c: Likewise.
2713 * mips-tdep.c: Likewise.
2714 * mips64obsd-tdep.c: Likewise.
2715 * mipsnbsd-tdep.c: Likewise.
2716 * mn10300-linux-tdep.c: Likewise.
2717 * mn10300-tdep.c: Likewise.
2718 * moxie-tdep.c: Likewise.
2719 * mt-tdep.c: Likewise.
2720 * nat/linux-btrace.c: Likewise.
2721 * nat/linux-osdata.c: Likewise.
2722 * nat/linux-ptrace.c: Likewise.
2723 * nat/mips-linux-watch.c: Likewise.
2724 * nios2-linux-tdep.c: Likewise.
2725 * nios2-tdep.c: Likewise.
2726 * objc-lang.c: Likewise.
2727 * objfiles.c: Likewise.
2728 * obsd-nat.c: Likewise.
2729 * opencl-lang.c: Likewise.
2730 * osabi.c: Likewise.
2731 * parse.c: Likewise.
2732 * ppc-linux-nat.c: Likewise.
2733 * ppc-sysv-tdep.c: Likewise.
2734 * ppcfbsd-nat.c: Likewise.
2735 * ppcfbsd-tdep.c: Likewise.
2736 * ppcnbsd-nat.c: Likewise.
2737 * ppcnbsd-tdep.c: Likewise.
2738 * ppcobsd-nat.c: Likewise.
2739 * ppcobsd-tdep.c: Likewise.
2740 * printcmd.c: Likewise.
2741 * procfs.c: Likewise.
2742 * prologue-value.c: Likewise.
2743 * psymtab.c: Likewise.
2744 * python/py-lazy-string.c: Likewise.
2745 * python/py-value.c: Likewise.
2746 * regcache.c: Likewise.
2747 * reggroups.c: Likewise.
2748 * registry.c: Likewise.
2749 * remote-sim.c: Likewise.
2750 * remote.c: Likewise.
2751 * rs6000-aix-tdep.c: Likewise.
2752 * rs6000-tdep.c: Likewise.
2753 * s390-linux-tdep.c: Likewise.
2754 * score-tdep.c: Likewise.
2755 * ser-base.c: Likewise.
2756 * ser-mingw.c: Likewise.
2757 * sh-tdep.c: Likewise.
2758 * sh64-tdep.c: Likewise.
2759 * solib-darwin.c: Likewise.
2760 * solib-spu.c: Likewise.
2761 * solib-svr4.c: Likewise.
2762 * source.c: Likewise.
2763 * sparc-nat.c: Likewise.
2764 * sparc-sol2-tdep.c: Likewise.
2765 * sparc-tdep.c: Likewise.
2766 * sparc64-sol2-tdep.c: Likewise.
2767 * sparc64-tdep.c: Likewise.
2768 * sparc64fbsd-tdep.c: Likewise.
2769 * sparc64nbsd-tdep.c: Likewise.
2770 * sparc64obsd-tdep.c: Likewise.
2771 * sparcnbsd-tdep.c: Likewise.
2772 * sparcobsd-tdep.c: Likewise.
2773 * spu-multiarch.c: Likewise.
2774 * spu-tdep.c: Likewise.
2775 * stabsread.c: Likewise.
2776 * stack.c: Likewise.
2777 * symfile.c: Likewise.
2778 * symtab.c: Likewise.
2779 * target-descriptions.c: Likewise.
2780 * target-memory.c: Likewise.
2781 * target.c: Likewise.
2782 * tic6x-linux-tdep.c: Likewise.
2783 * tic6x-tdep.c: Likewise.
2784 * tilegx-linux-nat.c: Likewise.
2785 * tilegx-tdep.c: Likewise.
2786 * top.c: Likewise.
2787 * tramp-frame.c: Likewise.
2788 * tui/tui-out.c: Likewise.
2789 * tui/tui-winsource.c: Likewise.
2790 * ui-out.c: Likewise.
2791 * user-regs.c: Likewise.
2792 * utils.c: Likewise.
2793 * v850-tdep.c: Likewise.
2794 * valops.c: Likewise.
2795 * value.c: Likewise.
2796 * varobj.c: Likewise.
2797 * vax-nat.c: Likewise.
2798 * xml-syscall.c: Likewise.
2799 * xml-tdesc.c: Likewise.
2800 * xstormy16-tdep.c: Likewise.
2801 * xtensa-linux-nat.c: Likewise.
2802 * xtensa-tdep.c: Likewise.
2803
e76df0d0
GB
28042014-08-07 Gary Benson <gbenson@redhat.com>
2805
2806 * common/common-defs.h: Include common-utils.h.
2807 * defs.h: Do not include common-utils.h.
2808 * common/gdb_assert.h: Likewise.
2809 * darwin-nat.h: Likewise.
2810 * nat/linux-btrace.c: Likewise.
2811 * target/waitstatus.h: Likewise.
2812
4cb9c816
GB
28132014-08-07 Gary Benson <gbenson@redhat.com>
2814
2815 * common/common-defs.h: Include ptid.h.
2816 * defs.h: Do not include ptid.h.
2817 * inferior.h: Likewise.
2818 * infrun.h: Likewise.
2819 * nat/linux-btrace.h: Likewise.
2820 * nat/linux-osdata.h: Likewise.
2821 * target/waitstatus.h: Likewise.
2822
3995eeee
GB
28232014-08-07 Gary Benson <gbenson@redhat.com>
2824
2825 * common/common-defs.h: Include gdb_locale.h.
2826 * defs.h: Do not include gdb_locale.h.
2827
cb9f1a9b
GB
28282014-08-07 Gary Benson <gbenson@redhat.com>
2829
2830 * common/common-defs.h: Include gdb/signals.h.
2831 * defs.h: Do not include gdb/signals.h.
2832
a5fceff8
GB
28332014-08-07 Gary Benson <gbenson@redhat.com>
2834
2835 * common/common-defs.h: Include pathmax.h.
2836 * defs.h: Do not include pathmax.h.
2837
b9391142
GB
28382014-08-07 Gary Benson <gbenson@redhat.com>
2839
2840 * common/common-defs.h: Include libiberty.h.
2841 * defs.h: Do not include libiberty.h.
2842 * common/queue.h: Likewise.
2843 * cp-name-parser.y: Likewise.
2844 * mi/mi-cmd-catch.c: Likewise.
2845 * python/python.c: Likewise.
2846
0e443c87
GB
28472014-08-07 Gary Benson <gbenson@redhat.com>
2848
2849 * common/common-defs.h: Include ansidecl.h.
2850 * defs.h: Do not include ansidecl.h.
2851 * common/buffer.h: Likewise.
2852 * common/common-utils.h: Likewise.
2853
8ebb3f56
GB
28542014-08-07 Gary Benson <gbenson@redhat.com>
2855
2856 * common/common-defs.h: Include stddef.h.
2857 * defs.h: Do not include stddef.h.
2858 * common/common-utils.h: Likewise.
2859 * amd64fbsd-nat.c: Likewise.
2860 * bcache.c: Likewise.
2861 * charset.c: Likewise.
2862 * common/buffer.h: Likewise.
2863 * common/vec.h: Likewise.
2864 * i386bsd-nat.c: Likewise.
2865 * nat/linux-btrace.h: Likewise.
2866 * ppcfbsd-nat.c: Likewise.
2867 * ppcnbsd-tdep.h: Likewise.
2868 * ppcobsd-nat.c: Likewise.
2869 * ppcobsd-tdep.h: Likewise.
2870 * python/py-gdb-readline.c: Likewise.
2871
8980bdf6
GB
28722014-08-07 Gary Benson <gbenson@redhat.com>
2873
2874 * common/common-defs.h: Include stdarg.h.
2875 * defs.h: Do not include stdarg.h.
2876 * ada-lang.c: Likewise.
2877 * common/common-utils.h: Likewise.
2878 * guile/scm-string.c: Likewise.
2879 * guile/scm-utils.c: Likewise.
2880 * m32c-tdep.c: Likewise.
2881
d7096f71
GB
28822014-08-07 Gary Benson <gbenson@redhat.com>
2883
2884 * common/common-defs.h: Include stdlib.h.
2885 * defs.h: Do not include stdlib.h.
2886 * addrmap.c: Likewise.
2887 * bcache.c: Likewise.
2888 * common/buffer.c: Likewise.
2889 * common/common-utils.c: Likewise.
2890 * cp-name-parser.y: Likewise.
2891 * go32-nat.c: Likewise.
2892 * mn10300-linux-tdep.c: Likewise.
2893 * nat/linux-osdata.c: Likewise.
2894 * tui/tui.c: Likewise.
2895 * windows-nat.c: Likewise.
2896
d02f550d
GB
28972014-08-07 Gary Benson <gbenson@redhat.com>
2898
2899 * common/common-defs.h: Include stdio.h.
2900 * defs.h: Do not include stdio.h.
2901 * ada-lang.c: Likewise.
2902 * common/buffer.c: Likewise.
2903 * common/common-utils.c: Likewise.
2904 * cp-name-parser.y: Likewise.
2905 * gnu-nat.c: Likewise.
2906 * go32-nat.c: Likewise.
2907 * i386gnu-nat.c: Likewise.
2908 * proc-api.c: Likewise.
2909 * proc-events.c: Likewise.
2910 * proc-flags.c: Likewise.
2911 * proc-why.c: Likewise.
2912 * python/python-internal.h: Likewise.
2913 * target-memory.c: Likewise.
2914 * tui/tui-io.c: Likewise.
2915 * tui/tui.c: Likewise.
2916
b6d7a4bf
SM
29172014-08-06 Simon Marchi <simon.marchi@ericsson.com>
2918
2919 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
2920 (scan_dyntag_auxv): Same.
2921
af19829b
YQ
29222014-08-06 Yao Qi <yao@codesourcery.com>
2923
2924 * amd64-linux-nat.c: Remove duplicated include
2925 "x86-linux-nat.h".
2926 * i386-linux-nat.c: Likewise.
2927
8e07a239
YQ
29282014-08-06 Yao Qi <yao@codesourcery.com>
2929
2930 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
2931 operand" with "Special opcode" in comments.
2932
7bfe8241
GB
29332014-08-05 Gary Benson <gbenson@redhat.com>
2934
2935 * interps.c (initialize_interps): Remove prototype.
2936 (interpreter_initialized): Remove static global.
2937 (interp_add): Do not call initialize_interps.
2938 (initialize_interps): Remove function.
2939
d6c95504
GB
29402014-08-05 Gary Benson <gbenson@redhat.com>
2941
2942 * utils.c (vwarning): Remove spurious va_end.
2943
241fd515
AM
29442014-08-05 Alan Modra <amodra@gmail.com>
2945
2946 * charset.c (convert_between_encodings): Cast result of obstack_base.
2947 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
2948 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
2949 (read_unwind_info): Use size_t for some locals.
2950 * jit.c (finalize_symtab): Likewise.
2951 * utils.c (hashtab_obstack_allocate): Likewise.
2952 * symmisc.c (print_objfile_statistics): Update format strings.
2953
dc304a94
JK
29542014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2955
2956 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
2957 (Changes in GDB 7.8): ... here.
2958
3cecbbbe
TT
29592014-08-04 Tom Tromey <tromey@redhat.com>
2960
2961 * target.c (set_targetdebug): New function.
2962 (initialize_targets): Pass set_targetdebug when creating "set
2963 debug target".
2964
6908c509
JB
29652014-08-01 Joel Brobecker <brobecker@adacore.com>
2966
2967 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
2968 if detecting a variable-sized field that is not the last field.
2969 Fix struct type length computation.
2970
53e8f97d
JB
29712014-08-01 Joel Brobecker <brobecker@adacore.com>
2972
2973 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2974 Add debug trace.
2975
e068c55d
JB
29762014-08-01 Joel Brobecker <brobecker@adacore.com>
2977
2978 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
2979 Remove "+ 8" offset in computation of CHAIN_VMA.
2980
4d4ca2a1
DE
29812014-07-31 Doug Evans <dje@google.com>
2982
2983 * inflow.c (child_terminal_inferior): Add comment.
2984 (child_terminal_ours_for_output): Add comment.
2985 (child_terminal_ours): Add comment.
2986 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
2987 (linux_nat_terminal_ours): Add comment.
2988
462f517e
GB
29892014-07-31 Gary Benson <gbenson@redhat.com>
2990
2991 * common/btrace-common.h: Do not include defs.h or server.h.
2992 * nat/mips-linux-watch.h: Likewise.
2993 * gdb-dlfcn.h: Do not include defs.h.
2994 * tracefile.h: Likewise.
2995
74228e77
RM
29962014-07-30 Roland McGrath <mcgrathr@google.com>
2997
2998 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
2999
014f9477
TT
30002014-07-30 Tom Tromey <tromey@redhat.com>
3001
3002 * bsd-kvm.c (bsd_kvm_open): Constify.
3003 * corelow.c (core_open): Constify.
3004 * ctf.c (ctf_open): Constify.
3005 * dbug-rom.c (dbug_open): Constify.
3006 * exec.c (exec_open): Constify.
3007 * m32r-rom.c (m32r_open, mon2000_open): Constify.
3008 * microblaze-rom.c (picobug_open): Constify.
3009 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
3010 Constify.
3011 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
3012 * record-btrace.c (record_btrace_open): Constify.
3013 * record-full.c (record_full_core_open_1, record_full_open_1)
3014 (record_full_open): Constify.
3015 * remote-m32r-sdi.c (m32r_open): Constify.
3016 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
3017 (rockhopper_open, lsi_open): Constify.
3018 * remote-sim.c (gdbsim_open): Constify.
3019 * remote.c (remote_open, extended_remote_open, remote_open_1):
3020 Constify.
3021 * target.h (struct target_ops) <to_open>: Make "arg" const.
3022 * tracefile-tfile.c (tfile_open): Constify.
3023
e799154c
TT
30242014-07-30 Tom Tromey <tromey@redhat.com>
3025
3026 * breakpoint.c (map_breakpoint_numbers): Update.
3027 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
3028 (get_number_const): New function.
3029 (get_number): Rewrite using get_number_const.
3030 (init_number_or_range): Make "string" const.
3031 (number_is_in_list): Make "list" const.
3032 * cli/cli-utils.h (get_number_const): Declare.
3033 (struct get_number_or_range_state) <string, end_ptr>: Now const.
3034 (init_number_or_range, number_is_in_list): Update.
3035 * printcmd.c (map_display_numbers): Update.
3036 * value.c (value_from_history_ref): Constify.
3037 * value.h (value_from_history_ref): Update.
3038
5f08566b
TT
30392014-07-30 Tom Tromey <tromey@redhat.com>
3040
3041 * corefile.c (hook_type, call_extra_exec_file_hooks)
3042 (specify_exec_file_hook): Constify.
3043 * exec.c (exec_file_attach): Make "filename" const.
3044 * gdbcore.h (deprecated_exec_file_display_hook)
3045 (specify_exec_file_hook, exec_file_attach): Constify.
3046 * main.c (captured_main): Use catch_command_errors_const.
3047
8981c758
TT
30482014-07-30 Tom Tromey <tromey@redhat.com>
3049
3050 * target.c (open_target): New function.
3051 (add_target_with_completer, add_deprecated_target_alias): Use
3052 set_cmd_sfunc, set_cmd_context.
3053 (debug_to_open): Remove.
3054 (setup_target_debug): Update.
3055
a1c7835a
YQ
30562014-07-30 Yao Qi <yao@codesourcery.com>
3057
3058 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
3059 comments.
3060 * parse.c (exp_iterate): Update comments.
3061
976411d6
GB
30622014-07-30 Gary Benson <gbenson@redhat.com>
3063
3064 * common/common-defs.h: New file.
3065 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
3066 * defs.h: Include common-defs.h.
3067 Do not include config.h or build-gnulib/config.h.
3068
5d4848a4
GB
30692014-07-30 Gary Benson <gbenson@redhat.com>
3070
3071 * common/common-utils.h: Do not include config.h.
3072 * nat/linux-btrace.h: Likewise.
3073
d41f6d8e
GB
30742014-07-30 Gary Benson <gbenson@redhat.com>
3075
3076 * btrace.c: Include defs.h.
3077 * common/ptid.c: Include defs.h or server.h as appropriate.
3078 * nat/mips-linux-watch.c: Likewise.
3079
84202f9c
TT
30802014-07-29 Tom Tromey <tromey@redhat.com>
3081
3082 * target.c (target_is_pushed): Simplify.
3083
2530441c
JB
30842014-07-29 Joel Brobecker <brobecker@adacore.com>
3085
3086 GDB 7.8 released.
3087
7e09a223
YQ
30882014-07-29 Yao Qi <yao@codesourcery.com>
3089
3090 PR gdb/17206
3091 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
3092
7ebdbe92
DE
30932014-07-28 Doug Evans <xdje42@gmail.com>
3094
3095 PR guile/17203
3096 * guile/scm-param.c (pascm_parameter_defined_p): New function.
3097 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
3098 parameters.
3099
f347ffc9
WN
31002014-07-28 Will Newton <will.newton@linaro.org>
3101
3102 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
3103 (THUMB2_SET_R7_SIGRETURN2): Likewise.
3104 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
3105 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
3106 (THUMB2_EABI_SYSCALL): Likewise.
3107 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
3108 struct tramp_frame.
3109 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
3110 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
3111
37c5f1f7
DE
31122014-07-27 Doug Evans <xdje42@gmail.com>
3113
3114 * guile/scm-param.c (pascm_print_param_smob): Fix output.
3115
0c3abbc7
DE
31162014-07-27 Doug Evans <xdje42@gmail.com>
3117
3118 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
3119
e76c5d17
DE
31202014-07-26 Ludovic Courtès <ludo@gnu.org>
3121 Doug Evans <xdje42@gmail.com>
3122
3123 PR guile/17146
3124 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
3125 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
3126 * configure.ac: Try to use guild to compile an scm file, if it fails
3127 then disable guile support.
3128 * configure: Regenerate.
3129 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
3130 GUILE_FILE_LIST.
3131 (GUILE_COMPILED_FILES): New variable.
3132 (GUILE_FILES) Update.
3133 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
3134 (stamp-guile): Compile scm files.
3135 * guile/guile.c (boot_guile_support): New function.
3136 (standard_throw_args_p): New function.
3137 (print_standard_throw_error, print_throw_error): New functions.
3138 (handle_boot_error): New function.
3139 (initialize_scheme_side): Rewrite to call boot_guile_support.
3140 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
3141 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
3142
186fcde0
DE
31432014-07-26 Ludovic Courtès <ludo@gnu.org>
3144 Doug Evans <xdje42@gmail.com>
3145
3146 PR guile/17146
3147 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
3148 * guile/lib/gdb/support.scm: New file.
3149 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
3150 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
3151 All uses updated.
3152 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
3153 All uses updated.
3154 (%assert-type): Ditto, and renamed to assert-type.
3155 (%exception-print-style): Delete.
3156
4df42755
DE
31572014-07-26 Doug Evans <xdje42@gmail.com>
3158
3159 PR build/17105
3160 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
3161 * configure: Regenerate.
3162 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
3163 PYTHON_FILES.
3164 (PYTHON_FILES): New variable.
3165 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
3166 (GUILE_FILES): New variable.
3167 (stamp-python, install-python, uninstall-python): Handle empty
3168 file list.
3169 (stamp-guile, install-guile, uninstall-guile): Ditto.
3170
ee7333ae
DE
31712014-07-26 Doug Evans <xdje42@gmail.com>
3172
3173 PR guile/17177
3174 * guile/lib/gdb.scm (pretty-printers): Export.
3175 (set-pretty-printers!): Export.
3176 * guile/lib/gdb/printing.scm (gdb module): Update.
3177 (prepend-pretty-printer!, append-pretty-printer!): Update.
3178 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
3179 (pretty_printer_list_var): Delete.
3180 (pretty_printer_list): New static global.
3181 (gdbscm_pretty_printers): New function.
3182 (gdbscm_set_pretty_printers_x): New function.
3183 (ppscm_find_pretty_printer_from_gdb): Update.
3184 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
3185 (gdbscm_initialize_pretty_printers): Update.
3186
74edf516
DE
31872014-07-26 Doug Evans <xdje42@gmail.com>
3188
3189 PR 17185
3190 * configure.ac: Add check for header gc/gc.h.
3191 Add check for function setenv.
3192 * configure: Regenerate.
3193 * config.in: Regenerate.
3194 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
3195
d54398a7
MR
31962014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
3197
3198 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
3199 variation in gdbarch matching.
3200
ab16fce8
TT
32012014-07-25 Tom Tromey <tromey@redhat.com>
3202
3203 * exec.c (using_exec_ops): Remove.
3204 (exec_close_1): Update. Remove extraneous block, reindent.
3205 (add_target_sections): Use target_is_pushed.
3206
88056fbb
PA
32072014-07-25 Pedro Alves <palves@redhat.com>
3208
3209 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
3210 * monitor.c (monitor_create_inferior): Likewise.
3211 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
3212 * remote-sim.c (gdbsim_create_inferior): Likewise.
3213 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
3214 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
3215 * windows-nat.c (do_initial_windows_stuff): Likewise.
3216
70509625
PA
32172014-07-25 Pedro Alves <palves@redhat.com>
3218
3219 * NEWS: Mention signal passing and "signal" command changes.
3220 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
3221 comment.
3222 * breakpoint.c (until_break_command): Adjust clear_proceed_status
3223 call.
3224 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
3225 * infcmd.c (proceed_thread_callback, continue_1, step_once)
3226 (jump_command): Adjust clear_proceed_status call.
3227 (signal_command): Warn if other thread that are resumed have
3228 signals that will be delivered. Adjust clear_proceed_status call.
3229 (until_next_command, finish_command)
3230 (proceed_after_attach_callback, attach_command_post_wait)
3231 (attach_command): Adjust clear_proceed_status call.
3232 * infrun.c (proceed_after_vfork_done): Likewise.
3233 (proceed_after_attach_callback): Adjust comment.
3234 (clear_proceed_status_thread): Clear stop_signal if not in pass
3235 state.
3236 (clear_proceed_status_callback): Delete.
3237 (clear_proceed_status): New 'step' parameter. Only clear the
3238 proceed status of threads the command being prepared is about to
3239 resume.
3240 (proceed): If passed in an explicit signal, override stop_signal
3241 with it. Don't pass the last stop signal to the thread we're
3242 resuming.
3243 (init_wait_for_inferior): Adjust clear_proceed_status call.
3244 (switch_back_to_stepped_thread): Clear the signal if it should not
3245 be passed.
3246 * infrun.h (clear_proceed_status): New 'step' parameter.
3247 (user_visible_resume_ptid): Add comment.
3248 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
3249 signal is in pass state.
3250 * remote.c (append_pending_thread_resumptions): Likewise.
3251 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
3252
d8be2939
TT
32532014-07-25 Tom Tromey <tromey@redhat.com>
3254
3255 * target.h (target_stopped_data_address)
3256 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
3257 parentheses.
3258
7d0d9d2b
PL
32592014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
3260
3261 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
3262 comments.
3263 (avr_pointer_to_address): Likewise.
3264
e9e7f724
TT
32652014-07-24 Tom Tromey <tromey@redhat.com>
3266
3267 * monitor.c (compile_pattern): Update.
3268 * target.h (struct target_ops) <to_shortname, to_longname,
3269 to_doc>: Now const.
3270
1947513d
TT
32712014-07-24 Tom Tromey <tromey@redhat.com>
3272
3273 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
3274 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
3275 (add_info_alias, add_com): Make "doc" const.
3276 (print_doc_line): Make "str" const.
3277 (delete_cmd): Update.
3278 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
3279 (print_doc_line): Update.
3280 * cli/cli-script.c (document_command): Update.
3281 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
3282 (add_com, add_info, add_info_alias): Update.
3283 * guile/scm-cmd.c (cmdscm_destroyer): Update.
3284 * python/py-cmd.c (cmdpy_destroyer): Update.
3285
64e61d29
TT
32862014-07-24 Tom Tromey <tromey@redhat.com>
3287
3288 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
3289 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
3290 (help_cmd_list): Constify.
3291 (lookup_cmd): Update.
3292 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
3293 const.
3294 (help_cmd_list, apropos_cmd): Update.
3295 * cli/cli-script.c (show_user): Update.
3296 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
3297 * cli/cli-setshow.h (cmd_show_list): Update.
3298 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
3299 (cmd_show_list): Update.
3300 * guile/scm-cmd.c (cmdscm_destroyer): Update.
3301 * python/py-cmd.c (cmdpy_destroyer): Update.
3302
429e55ea
TT
33032014-07-24 Tom Tromey <tromey@redhat.com>
3304
3305 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
3306 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
3307 const.
3308 * command.h (deprecate_cmd): Update.
3309 * maint.c (maintenance_do_deprecate): Add casts.
3310
64669f3b
TT
33112014-07-24 Tom Tromey <tromey@redhat.com>
3312
3313 * cli/cli-decode.c (help_cmd): Make parameter "const".
3314 * cli/cli-decode.h (help_cmd): Update.
3315
d3d3328b
TT
33162014-07-24 Tom Tromey <tromey@redhat.com>
3317
3318 * stack.c (up_silently_base, down_silently_base): Make argument
3319 const.
3320
414842dc
TT
33212014-07-24 Tom Tromey <tromey@redhat.com>
3322
3323 * solib.c (solib_add): Make "pattern" const.
3324 * solib.h (solib_add): Update.
3325
baa336ce
TT
33262014-07-24 Tom Tromey <tromey@redhat.com>
3327
3328 * remote.c (remote_serial_open, print_packet, putpkt)
3329 (putpkt_binary): Constify.
3330 * remote.h (putpkt): Update.
3331
5a19e2d0
TT
33322014-07-24 Tom Tromey <tromey@redhat.com>
3333
3334 * monitor.c (monitor_open): Make "args" const.
3335 * monitor.h (monitor_open): Update.
3336
fc4baa5e
TT
33372014-07-24 Tom Tromey <tromey@redhat.com>
3338
3339 * maint.c (match_bfd_flags): Make "string" const.
3340 (print_bfd_section_info): Remove casts.
3341 (print_objfile_section_info): Make "string" const.
3342
0d5f0dbe
TT
33432014-07-24 Tom Tromey <tromey@redhat.com>
3344
3345 * inf-child.c (inf_child_open_target): Make "arg" const.
3346 * inf-child.h (inf_child_open_target): Update.
3347
41c77899
TT
33482014-07-24 Tom Tromey <tromey@redhat.com>
3349
3350 * environ.c (unset_in_environ): Make "var" const.
3351 * environ.h (unset_in_environ): Update.
3352
93db0d79
TT
33532014-07-24 Tom Tromey <tromey@redhat.com>
3354
3355 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
3356 Make "cmd" const.
3357 (scan_filename_with_cleanup): Likewise.
3358 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
3359 Make arguments const.
3360 (restore_command): Update.
3361
36d6eb95
PA
33622014-07-24 Pedro Alves <palves@redhat.com>
3363
3364 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
3365
8009206a
TT
33662014-07-24 Tom Tromey <tromey@redhat.com>
3367 Gary Benson <gbenson@redhat.com>
3368
3369 * nat/linux-ptrace.c (additional_flags): New global.
3370 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
3371 additional_flags; don't check GDBSERVER.
3372 (linux_ptrace_set_additional_flags): New function.
3373 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
3374 Declare.
3375 * linux-nat.c (_initialize_linux_nat): Call
3376 linux_ptrace_set_additional_flags.
3377
a7068b60
TT
33782014-07-24 Tom Tromey <tromey@redhat.com>
3379
3380 * make-target-delegates (munge_type, write_debugmethod): New
3381 functions.
3382 (debug_names): New global.
3383 ($TARGET_DEBUG_PRINTER): New global.
3384 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
3385 name.
3386 Write debug methods. Generate init_debug_target.
3387 * target-debug.h: New file.
3388 * target-delegates.c: Rebuild.
3389 * target.c: Include target-debug.h.
3390 (debug_target): Hoist definition.
3391 (target_kill, target_get_section_table, target_memory_map)
3392 (target_flash_erase, target_flash_done, target_detach)
3393 (target_disconnect, target_wait, target_resume)
3394 (target_pass_signals, target_program_signals, target_follow_fork)
3395 (target_mourn_inferior, target_search_memory)
3396 (target_thread_address_space, target_close)
3397 (target_find_new_threads, target_core_of_thread)
3398 (target_verify_memory, target_insert_mask_watchpoint)
3399 (target_remove_mask_watchpoint): Remove targetdebug code.
3400 (debug_to_post_attach, debug_to_prepare_to_store)
3401 (debug_to_files_info, debug_to_insert_breakpoint)
3402 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
3403 (debug_to_region_ok_for_hw_watchpoint)
3404 (debug_to_can_accel_watchpoint_condition)
3405 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
3406 (debug_to_watchpoint_addr_within_range)
3407 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
3408 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
3409 (debug_to_terminal_init, debug_to_terminal_inferior)
3410 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
3411 (debug_to_terminal_save_ours, debug_to_terminal_info)
3412 (debug_to_load, debug_to_post_startup_inferior)
3413 (debug_to_insert_fork_catchpoint)
3414 (debug_to_remove_fork_catchpoint)
3415 (debug_to_insert_vfork_catchpoint)
3416 (debug_to_remove_vfork_catchpoint)
3417 (debug_to_insert_exec_catchpoint)
3418 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
3419 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
3420 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
3421 (setup_target_debug): Call init_debug_target.
3422 * target.h (TARGET_DEBUG_PRINTER): New macro.
3423 (struct target_ops) <to_resume, to_wait, to_pass_signals,
3424 to_program_signals>: Use TARGET_DEBUG_PRINTER.
3425
2c51604d
GB
34262014-07-24 Gary Benson <gbenson@redhat.com>
3427
3428 * exceptions.h (throw_vfatal): Renamed to...
3429 (throw_vquit): New declaration.
3430 (throw_quit): Likewise.
3431 * exceptions.c (throw_vfatal): Renamed to...
3432 (throw_vquit): New function.
3433 (throw_quit): Likewise.
3434 (throw_error): Call throw_verror rather than throw_it.
3435 * utils.h (vfatal): Removed.
3436 (fatal): Likewise.
3437 * utils.c (vfatal): Removed.
3438 (fatal): Likewise.
3439 (internal_verror): Replaced call to fatal with call to throw_quit.
3440 (quit): Replaced calls to fatal with calls to throw_quit.
3441
34211963
ME
34422014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
3443
3444 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
3445 target_read_code.
3446
a52b4d3e
ME
34472014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
3448
3449 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
3450 less than zero in conditional expression.
3451
a8bdc56b
TT
34522014-07-23 Tom Tromey <tromey@redhat.com>
3453
3454 * make-target-delegates ($ARGS_PART): Match trailing close paren.
3455 ($INTRO_PART): Don't match whitespace.
3456 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
3457 argument matching.
3458 ($METHOD): Add $METHOD_TRAILER.
3459 (trim): Rewrite.
3460 (scan_target_h): New sub.
3461 Change main loop not to collect state.
3462 * target-delegates.c: Rebuild.
3463
91b52240
GB
34642014-07-23 Gary Benson <gbenson@redhat.com>
3465
3466 * cp-support.c (gdb_demangle): Fix build on systems without
3467 sigaltstack.
3468
45326f6f
JK
34692014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3470
3471 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
3472 for reference entry value target data value.
3473
e214cf6c
JK
34742014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3475
3476 * stack.c (read_frame_arg): Verify value_optimized_out before calling
3477 value_available_contents_eq.
3478
bddbbedd
PA
34792014-07-22 Pedro Alves <palves@redhat.com>
3480
3481 * value.c (allocate_optimized_out_value): Don't mark value as
3482 non-lazy.
3483
45c71484
JW
34842014-07-22 Jiong Wang <jiong.wang@arm.com>
3485
3486 * MAINTAINERS (Write After Approval): Update my email address.
3487
9597b22a
DE
34882014-07-20 Doug Evans <dje@google.com>
3489
3490 PR server/17147
3491 * remote.c (putpkt_binary): Add text to error message.
3492
91101fe5
YQ
34932014-07-20 Yao Qi <yao@codesourcery.com>
3494
3495 * eval.c: Remove "Chill" from comments.
3496 * gdbtypes.h: Likewise.
3497 * symtab.h: Likewise.
3498
c9402c95
YQ
34992014-07-20 Yao Qi <yao@codesourcery.com>
3500
3501 * std-operator.def: Update comments to TERNOP_SLICE.
3502
ae8fddda
YQ
35032014-07-20 Yao Qi <yao@codesourcery.com>
3504
3505 * std-operator.def: Remove BINOP_RANGE.
3506 * breakpoint.c (watchpoint_exp_is_const): Update.
3507 * expprint.c (dump_subexp_body_standard): Likewise.
3508 * eval.c (init_array_element): Remove dead code.
3509 (evaluate_subexp_standard): Likewise.
3510
9c816640
YQ
35112014-07-20 Yao Qi <yao@codesourcery.com>
3512
3513 * std-operator.def: Remove BINOP_IN.
3514 * breakpoint.c (watchpoint_exp_is_const): Update.
3515 * eval.c (evaluate_subexp_standard): Likewise.
3516 * expprint.c (dump_subexp_body_standard): Likewise.
3517
164224e9
ME
35182014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
3519
3520 * microblaze-tdep.c (microblaze_register_names): Add
3521 the rshr and rslr register names.
3522 (microblaze_gdbarch_init): Use of tdesc_has_registers.
3523 Use of tdesc_find_feature. Use of tdesc_data_alloc.
3524 Use of tdesc_numbered_register. Use of
3525 microblaze_register_g_packet_guesses. Use of
3526 tdesc_use_registers. Use of set_gdbarch_register_type.
3527 (microblaze_register_g_packet_guesses): New.
3528 * microblaze-tdep.h (microblaze_reg_num): Add
3529 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
3530 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
3531 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
3532 * features/microblaze-core.xml: New file.
3533 * features/microblaze-stack-protect.xml: New file.
3534 * features/microblaze-with-stack-protect.c: New file.
3535 * features/microblaze-with-stack-protect.xml: New file.
3536 * features/microblaze.xml: New file.
3537 * features/microblaze.c: New file.
3538 * features/Makefile (microblaze-with-stack-protect): Add
3539 microblaze-with-stack-protect microblaze and microblaze-expedite.
3540 * regformats/microblaze-with-stack-protect.dat: New file.
3541 * regformats/microblaze.dat: New file.
3542 * doc/gdb.texinfo (MicroBlaze Features): Added.
3543
e8b2341c
TT
35442014-07-18 Tom Tromey <tromey@redhat.com>
3545
3546 * exec.c (exec_ops): Now static.
3547 * exec.h (exec_ops): Don't declare.
3548
44e89118
TT
35492014-07-18 Tom Tromey <tromey@redhat.com>
3550
3551 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
3552 to find_target_beneath.
3553 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
3554 find_target_beneath.
3555 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
3556
b0ed115f
TT
35572014-07-18 Tom Tromey <tromey@redhat.com>
3558
3559 PR gdb/17130:
3560 * utils.c (quit): Use target_supports_terminal_ours.
3561 * target.h (target_supports_terminal_ours): Declare.
3562 * target.c (target_supports_delete_record): Don't check
3563 to_delete_record against NULL.
3564 (target_supports_terminal_ours): New function.
3565
e75fdfca
TT
35662014-07-18 Tom Tromey <tromey@redhat.com>
3567
3568 PR gdb/17130:
3569 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
3570 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
3571 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
3572 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
3573 * windows-nat.c (windows_xfer_partial): Always delegate.
3574 * record-btrace.c (record_btrace_xfer_partial): Simplify
3575 delegation.
3576 (record_btrace_fetch_registers, record_btrace_store_registers)
3577 (record_btrace_prepare_to_store, record_btrace_resume)
3578 (record_btrace_wait, record_btrace_find_new_threads)
3579 (record_btrace_thread_alive): Likewise.
3580 * procfs.c (procfs_xfer_partial): Always delegate.
3581 * corelow.c (core_xfer_partial): Always delegate.
3582 * sol-thread.c (sol_find_new_threads): Simplify delegation.
3583
83814951
TT
35842014-07-18 Tom Tromey <tromey@redhat.com>
3585
3586 * exec.c (exec_make_note_section): Move earlier.
3587
b8b8facf
DE
35882014-07-17 Doug Evans <dje@google.com>
3589
74b49205 3590 PR gdb/17170
b8b8facf
DE
3591 * maint.c (count_symtabs_and_blocks): Handle NULL
3592 current_program_space.
3593 (report_command_stats): Check global enabled flag in addition to
3594 recorded enabled flag.
3595 (make_command_stats_cleanup): Handle msg_type == 0, startup.
3596
69ff6be5
PA
35972014-07-16 Pedro Alves <palves@redhat.com>
3598
3599 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
3600
252db1b5
TT
36012014-07-16 Tom Tromey <tromey@redhat.com>
3602
3603 * target.h (struct target_ops) <to_delete_record>: Reformat
3604 comment.
3605
a432721e
TT
36062014-07-16 Tom Tromey <tromey@redhat.com>
3607
3608 * target-delegates.c: Rebuild.
3609
487d9753
PL
36102014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
3611
3612 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
3613 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
3614 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
3615 (avr_pointer_to_address): Likewise.
3616 (avr_address_class_type_flags): New function.
3617 (avr_address_class_type_flags_to_name): Likewise.
3618 (avr_address_class_name_to_type_flags): Likewise.
3619 (avr_gdbarch_init): Set address_class_type_flags,
3620 address_class_type_flags_to_name and
3621 address_class_name_to_type_flags.
3622
57745c90
PA
36232014-07-15 Pedro Alves <palves@redhat.com>
3624
3625 * linux-nat.c (kill_callback): Save errno and work with saved
3626 copy.
3627
2d40be18
SM
36282014-07-15 Simon Marchi <simon.marchi@ericsson.com>
3629
3630 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
3631
572f6555
EBM
36322014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3633
3634 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
3635 breakpoint support correctly.
3636
cc1c52ad
PA
36372014-07-14 Pedro Alves <palves@redhat.com>
3638
3639 * utils.c (prompt_for_continue): Call target_terminal_ours.
3640
1e973570
PA
36412014-07-14 Pedro Alves <palves@redhat.com>
3642
3643 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
3644 catch_errors. Don't re-enable stdin or notify observers where,
3645 and rethrow error.
3646 (fetch_inferior_event_wrapper): Delete.
3647
93d6eb10
PA
36482014-07-14 Pedro Alves <palves@redhat.com>
3649
3650 PR gdb/17072
3651 * top.c: Include "inf-loop.h".
3652 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
3653 field.
3654 (gdb_readline_wrapper_cleanup): Make the target async again, if it
3655 was async before.
3656 (gdb_readline_wrapper): Store whether the target is async, and
3657 make it sync.
3658
0017922d
PA
36592014-07-14 Pedro Alves <palves@redhat.com>
3660
3661 PR gdb/17072
3662 * top.c (gdb_readline_wrapper_line): Tweak comment.
3663 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
3664 the input handler callback.
3665
94696ad3
PA
36662014-07-14 Pedro Alves <palves@redhat.com>
3667
3668 PR gdb/17072
3669 * main.c: Include event-top.h.
3670 (handle_command_errors): New function.
3671 (catch_command_errors, catch_command_errors_const): Use it.
3672
9d1e69a2
PA
36732014-07-14 Pedro Alves <palves@redhat.com>
3674
3675 * exceptions.c (catch_command_errors, catch_command_errors_const):
3676 Moved to main.c.
3677 * exceptions.h (catch_command_errors_ftype)
3678 (catch_command_errors_const_ftype): Moved to main.c.
3679 (catch_command_errors, catch_command_errors_const): Delete
3680 declarations.
3681 * main.c (catch_command_errors_ftype)
3682 (catch_command_errors_const_ftype): Moved here from exceptions.h.
3683 (catch_command_errors, catch_command_errors_const)): Moved here
3684 from exceptions.c and make static.
3685
feefc97b
PA
36862014-07-14 Pedro Alves <palves@redhat.com>
3687
3688 * exceptions.c (print_any_exception): Delete.
3689 (catch_exceptions_with_msg): Use exception_print instead of
3690 print_any_exception.
3691 (catch_errors): Use exception_fprintf instead of
3692 print_any_exception.
3693 (catch_command_errors, catch_command_errors_const): Use
3694 exception_print instead of print_any_exception.
3695
c933f875
PA
36962014-07-14 Pedro Alves <palves@redhat.com>
3697
3698 * infcall.c (run_inferior_call): Set 'sync_execution' while
3699 running the inferior call.
3700
feb6f816
PA
37012014-07-14 Pedro Alves <palves@redhat.com>
3702
3703 * value.c (value_contents_equal): Delete function.
3704 * value.h (value_contents_equal): Delete declaration.
3705
d98b7a16
TT
37062014-07-14 Tom Tromey <tromey@redhat.com>
3707
3708 PR exp/17106:
3709 * gdbtypes.c (is_dynamic_type_internal): New function, from
3710 is_dynamic_type.
3711 (is_dynamic_type): Rewrite.
3712 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
3713 (resolve_dynamic_struct): Likewise.
3714 (resolve_dynamic_type_internal): New function, from
3715 resolve_dynamic_type.
3716 (resolve_dynamic_type): Rewrite.
3717
548740d6
TT
37182014-07-14 Tom Tromey <tromey@redhat.com>
3719
3720 * target.c (target_require_runnable): Also check record_stratum.
3721 Update comment.
3722
808f7ab1
YQ
37232014-07-11 Yao Qi <yao@codesourcery.com>
3724
3725 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
3726 thumb_instruction_restores_sp return true.
3727
540314bd
YQ
37282014-07-11 Yao Qi <yao@codesourcery.com>
3729
3730 * arm-tdep.c (thumb_instruction_restores_sp): New function.
3731 (thumb_in_function_epilogue_p): Call
3732 thumb_instruction_restores_sp.
3733
1db01f22
YQ
37342014-07-11 Yao Qi <yao@codesourcery.com>
3735
3736 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
3737 'add sp, #imm'.
3738 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
3739
3116063b
GB
37402014-07-11 Gary Benson <gbenson@redhat.com>
3741
3742 * amd64-linux-nat.c (gdbcore.h): Remove include.
3743 (regset.h): Likewise.
3744 (nat/linux-btrace.h): Likewise.
3745 (btrace.h): Likewise.
3746 (gdb_assert.h): Likewise.
3747 (string.h): Likewise.
3748 (sys/uio.h): Likewise.
3749 (sys/debugreg.h): Likewise.
3750 (sys/syscall.h): Likewise.
3751 (sys/procfs.h): Likewise.
3752 (sys/user.h): Likewise.
3753 (asm/ptrace.h): Likewise.
3754 (i386-nat.h): Likewise.
3755 * i386-linux-nat.c (i386-nat.h): Likewise.
3756 (regset.h): Likewise.
3757 (target.h): Likewise.
3758 (linux-nat.h): Likewise.
3759 (nat/linux-btrace.h): Likewise.
3760 (btrace.h): Likewise.
3761 (gdb_assert.h): Likewise.
3762 (string.h): Likewise.
3763 (sys/uio.h): Likewise.
3764 (sys/user.h): Likewise.
3765 (sys/procfs.h): Likewise.
3766 (sys/reg.h): Likewise.
3767 (sys/debugreg.h): Likewise.
3768 (ORIG_EAX): Remove definition.
3769
040baaf6
GB
37702014-07-11 Gary Benson <gbenson@redhat.com>
3771
3772 * i386-linux-nat.h: New file.
3773 * x86-linux-nat.h: Likewise.
3774 * x86-linux-nat.c: Likewise.
3775 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
3776 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
3777 * config/i386/linux64.mh (NATDEPFILES): Likewise.
3778 * amd64-linux-nat.c (x86-linux-nat.h): New include.
3779 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
3780 (PTRACE_SETREGSET): Likewise.
3781 (arch_lwp_info): Now in x86-linux-nat.c.
3782 (have_ptrace_getregset): Now in x86-linux-nat.h.
3783 (x86_linux_dr_get): Now in x86-linux-nat.c.
3784 (x86_linux_dr_set): Likewise.
3785 (x86_linux_dr_get_addr): Likewise.
3786 (x86_linux_dr_get_control): Likewise.
3787 (x86_linux_dr_get_status): Likewise.
3788 (update_debug_registers_callback): Likewise.
3789 (x86_linux_dr_set_control): Likewise.
3790 (x86_linux_dr_set_addr): Likewise.
3791 (x86_linux_prepare_to_resume): Likewise.
3792 (x86_linux_new_thread): Likewise.
3793 (x86_linux_new_fork): Likewise.
3794 (x86_linux_get_thread_area): Likewise.
3795 (super_post_startup_inferior): Likewise.
3796 (x86_linux_child_post_startup_inferior): Likewise.
3797 (AMD64_LINUX_USER64_CS): Likewise.
3798 (AMD64_LINUX_X32_DS): Likewise.
3799 (x86_linux_read_description): Likewise.
3800 (x86_linux_enable_btrace): Likewise.
3801 (x86_linux_disable_btrace): Likewise.
3802 (x86_linux_teardown_btrace): Likewise.
3803 (x86_linux_read_btrace): Likewise.
3804 (x86_linux_create_target): Likewise.
3805 (x86_linux_add_target): Likewise.
3806 * i386-linux-nat.c (x86-linux-nat.h): New include.
3807 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
3808 (PTRACE_SETREGSET): Likewise.
3809 (arch_lwp_info): Now in x86-linux-nat.c.
3810 (have_ptrace_getregset): Now in x86-linux-nat.h.
3811 (x86_linux_dr_get): Now in x86-linux-nat.c.
3812 (x86_linux_dr_set): Likewise.
3813 (x86_linux_dr_get_addr): Likewise.
3814 (x86_linux_dr_get_control): Likewise.
3815 (x86_linux_dr_get_status): Likewise.
3816 (update_debug_registers_callback): Likewise.
3817 (x86_linux_dr_set_control): Likewise.
3818 (x86_linux_dr_set_addr): Likewise.
3819 (x86_linux_prepare_to_resume): Likewise.
3820 (x86_linux_new_thread): Likewise.
3821 (x86_linux_new_fork): Likewise.
3822 (x86_linux_get_thread_area): Likewise.
3823 (super_post_startup_inferior): Likewise.
3824 (x86_linux_child_post_startup_inferior): Likewise.
3825 (AMD64_LINUX_USER64_CS): Likewise.
3826 (AMD64_LINUX_X32_DS): Likewise.
3827 (x86_linux_read_description): Likewise.
3828 (x86_linux_enable_btrace): Likewise.
3829 (x86_linux_disable_btrace): Likewise.
3830 (x86_linux_teardown_btrace): Likewise.
3831 (x86_linux_read_btrace): Likewise.
3832 (x86_linux_create_target): Likewise.
3833 (x86_linux_add_target): Likewise.
3834
1aa7e42c
GB
38352014-07-11 Gary Benson <gbenson@redhat.com>
3836
3837 * amd64-linux-nat.c: Comment and whitespace changes.
3838 * i386-linux-nat.c: Comment and whitespace changes.
3839
c1e246a0
GB
38402014-07-11 Gary Benson <gbenson@redhat.com>
3841
3842 * amd64-linux-nat.c (x86_linux_create_target): New function.
3843 (x86_linux_add_target): Likewise.
3844 (_initialize_amd64_linux_nat): Delegate to the above new functions.
3845 * i386-linux-nat.c (x86_linux_create_target): New function.
3846 (x86_linux_add_target): Likewise.
3847 (_initialize_i386_linux_nat): Delegate to the above new functions.
3848
8c420b8d
GB
38492014-07-11 Gary Benson <gbenson@redhat.com>
3850
3851 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
3852 (ps_get_thread_area): Delegate to the above in 32-bit mode.
3853 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
3854 (ps_get_thread_area): Delegate to the above.
3855
cb1da100
GB
38562014-07-11 Gary Benson <gbenson@redhat.com>
3857
3858 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
3859 x86_linux_read_description. All uses updated. amd64-specific
3860 code conditionalized. Conditionalized i386-specific code added.
3861 Redundant cast removed.
3862 * i386-linux-nat.c (i386_linux_read_description): Renamed to
3863 x86_linux_read_description. All uses updated. i386-specific
3864 code conditionalized. Conditionalized amd64-specific code added.
3865 One sizeof replaced with the actual type it is describing.
3866
2acf3cd0
GB
38672014-07-11 Gary Benson <gbenson@redhat.com>
3868
3869 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
3870 x86_linux_dr_get. All uses updated.
3871 (amd64_linux_dr_set): Renamed to
3872 x86_linux_dr_set. All uses updated.
3873 (amd64_linux_dr_get_addr): Renamed to
3874 x86_linux_dr_get_addr. All uses updated.
3875 (amd64_linux_dr_get_control): Renamed to
3876 x86_linux_dr_get_control. All uses updated.
3877 (amd64_linux_dr_get_status): Renamed to
3878 x86_linux_dr_get_status. All uses updated.
3879 (amd64_linux_dr_set_control): Renamed to
3880 x86_linux_dr_set_control. All uses updated.
3881 (amd64_linux_dr_set_addr): Renamed to
3882 x86_linux_dr_set_addr. All uses updated.
3883 (amd64_linux_prepare_to_resume): Renamed to
3884 x86_linux_prepare_to_resume. All uses updated.
3885 (amd64_linux_new_thread): Renamed to
3886 x86_linux_new_thread. All uses updated.
3887 (amd64_linux_new_fork): Renamed to
3888 x86_linux_new_fork. All uses updated.
3889 (amd64_linux_child_post_startup_inferior): Renamed to
3890 x86_linux_child_post_startup_inferior. All uses updated.
3891 (amd64_linux_enable_btrace): Renamed to
3892 x86_linux_enable_btrace. All uses updated.
3893 (amd64_linux_disable_btrace): Renamed to
3894 x86_linux_disable_btrace. All uses updated.
3895 (amd64_linux_teardown_btrace): Renamed to
3896 x86_linux_teardown_btrace. All uses updated.
3897 (amd64_linux_read_btrace): Renamed to
3898 x86_linux_read_btrace. All uses updated.
3899 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
3900 x86_linux_dr_get. All uses updated.
3901 (i386_linux_dr_set): Renamed to
3902 x86_linux_dr_set. All uses updated.
3903 (i386_linux_dr_get_addr): Renamed to
3904 x86_linux_dr_get_addr. All uses updated.
3905 (i386_linux_dr_get_control): Renamed to
3906 x86_linux_dr_get_control. All uses updated.
3907 (i386_linux_dr_get_status): Renamed to
3908 x86_linux_dr_get_status. All uses updated.
3909 (i386_linux_dr_set_control): Renamed to
3910 x86_linux_dr_set_control. All uses updated.
3911 (i386_linux_dr_set_addr): Renamed to
3912 x86_linux_dr_set_addr. All uses updated.
3913 (i386_linux_prepare_to_resume): Renamed to
3914 x86_linux_prepare_to_resume. All uses updated.
3915 (i386_linux_new_thread): Renamed to
3916 x86_linux_new_thread. All uses updated.
3917 (i386_linux_new_fork): Renamed to
3918 x86_linux_new_fork. All uses updated.
3919 (i386_linux_child_post_startup_inferior): Renamed to
3920 x86_linux_child_post_startup_inferior. All uses updated.
3921 (i386_linux_enable_btrace): Renamed to
3922 x86_linux_enable_btrace. All uses updated.
3923 (i386_linux_disable_btrace): Renamed to
3924 x86_linux_disable_btrace. All uses updated.
3925 (i386_linux_teardown_btrace): Renamed to
3926 x86_linux_teardown_btrace. All uses updated.
3927 (i386_linux_read_btrace): Renamed to
3928 x86_linux_read_btrace. All uses updated.
3929
b9c1d481
AS
39302014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
3931
3932 * remote.c (extended_remote_post_attach): New function.
3933 (init_extended_remote_ops): Install it as to_post_attach method.
3934
7180e04a
PA
39352014-07-09 Pedro Alves <palves@redhat.com>
3936
3937 * infcmd.c (attach_command_post_wait): Don't call
3938 target_terminal_inferior here.
3939 (attach_command): Call it here instead.
3940
9a9a7608
AB
39412014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3942
3943 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
3944 field.
3945 * c-varobj.c (c_is_path_expr_parent): New function, moved core
3946 from varobj.c, with additional checks.
3947 (c_varobj_ops): Fill in is_path_expr_parent field.
3948 (cplus_varobj_ops): Fill in is_path_expr_parent field.
3949 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
3950 field.
3951 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
3952 ops method.
3953 (varobj_default_is_path_expr_parent): New function.
3954 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
3955 (varobj_default_is_path_expr_parent): Declare new function.
3956
1f267ae3
MM
39572014-07-08 Markus Metzger <markus.t.metzger@intel.com>
3958
3959 * infcmd.c (finish_backward): Turn internal error into normal error.
3960
b2ee242b
PA
39612014-07-07 Pedro Alves <palves@redhat.com>
3962
8a869bca 3963 PR gdb/17096
b2ee242b
PA
3964 * remote.c (async_handle_remote_sigint)
3965 (async_handle_remote_sigint_twice): Call
3966 gdb_call_async_signal_handler instead of
3967 mark_async_signal_handler.
3968
38e229b2
TT
39692014-07-07 Tom Tromey <tromey@redhat.com>
3970
3971 * target-delegates.c: Rebuild.
3972 * target.c (target_info_record): Remove.
3973 * record.c (info_record_command): Unconditionally call
3974 to_info_record.
3975 * target.h (struct target_ops) <to_info_record>: Use
3976 TARGET_DEFAULT_IGNORE.
3977 (target_info_record): Remove.
3978
f0f9ff95
TT
39792014-07-07 Tom Tromey <tromey@redhat.com>
3980
3981 * target.h (struct target_ops) <to_get_thread_local_address>: Use
3982 TARGET_DEFAULT_NORETURN.
3983 * target.c (generic_tls_error): New function.
3984 (target_translate_tls_address): Don't search target stack.
3985 * target-delegates.c: Rebuild.
3986 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
3987 stack.
3988 * linux-thread-db.c (thread_db_get_thread_local_address):
3989 Unconditionally call beneath target.
3990
4a5be5ee
MK
39912014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
3992
3993 * cli/cli-logging.c (pop_output_files): Assign targerr to
3994 gdb_stdtargerr.
3995
92c3b204
AB
39962014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
3997
3998 * MAINTAINERS (Write After Approval): Update my email address.
3999
9b11e3a7
GB
40002014-07-02 Gary Benson <gbenson@redhat.com>
4001
4002 * proc-service.c (ps_xfer_memory): Update comment.
4003 (ps_pstop): Remove unused function.
4004 (ps_pcontinue): Likewise.
4005 (ps_lstop): Likewise.
4006 (ps_lcontinue): Likewise.
4007 (ps_lgetxregsize): Likewise.
4008 (ps_lgetxregs): Likewise.
4009 (ps_lsetxregs): Likewise.
4010 (ps_plog): Likewise.
4011 (ps_ptread): Likewise.
4012 (ps_ptwrite): Likewise.
4013
cf363f18
MW
40142014-07-01 Mark Wielaard <mjw@redhat.com>
4015
4016 * dwarf2read.c (add_array_cv_type): New function.
4017 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
4018 (read_tag_volatile_type): Likewise.
4019
82ae6c8d
TT
40202014-07-01 Tom Tromey <tromey@redhat.com>
4021
4022 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
4023 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
4024 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
4025 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
4026 * command.h (cmd_cfunc_ftype): Move earlier.
4027 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
4028 (add_com, add_info): Use cmd_cfunc_ftype.
4029
96142726
TT
40302014-06-30 Tom Tromey <tromey@redhat.com>
4031
4032 * symtab.c (operator_chars): Make parameters and return type
4033 const.
4034 (file_matches): Make "files" const.
4035 (struct search_symbols_data) <files>: Now const.
4036 (search_symbols): Make "regexp" and "files" parameters const.
4037 Update.
4038 (symtab_symbol_info): Remove cast.
4039 (rbreak_command): Update.
4040 * symtab.h (search_symbols): Update.
4041
b67a2c6f
YQ
40422014-06-27 Yao Qi <yao@codesourcery.com>
4043
4044 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
4045 Change parameter type to 'struct thread_info *'. Caller
4046 updated.
4047 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
4048 Update declaration.
4049 * dummy-frame.c (struct dummy_frame_id): New.
4050 (dummy_frame_id_eq): New function.
4051 (struct dummy_frame) <id>: Change its type to 'struct
4052 dummy_frame_id'.
4053 (dummy_frame_push): Add parameter ptid and save it in
4054 dummy_frame_id.
4055 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
4056 inferior_ptid.
4057 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
4058 to inferior_ptid.
4059 (lookup_dummy_frame): Change parameter type to 'struct
4060 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
4061 instead of frame_id_eq.
4062 (dummy_frame_pop): Add parameter ptid. Callers updated.
4063 Update comments. Compose dummy_frame_id and pass it to
4064 lookup_dummy_frame.
4065 (dummy_frame_discard): Add parameter ptid.
4066 (dummy_frame_sniffer): Compose dummy_frame_id and call
4067 dummy_frame_id_eq instead of frame_id_eq.
4068 (fprint_dummy_frames): Print ptid.
4069 * dummy-frame.h: Remove comments.
4070 (dummy_frame_push): Add ptid in declaration.
4071 (dummy_frame_pop, dummy_frame_discard): Likewise.
4072
5b10184c
TT
40732014-06-26 Tom Tromey <tromey@redhat.com>
4074
4075 * cli/cli-cmds.c (error_no_arg): Make "why" const.
4076 * command.h (error_no_arg): Update.
4077
06900326
TT
40782014-06-26 Tom Tromey <tromey@redhat.com>
4079
4080 * cli/cli-setshow.c (do_set_command): Make "arg" const.
4081 (do_show_command): Make "arg" const.
4082 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
4083
c2bcbb1d
TT
40842014-06-26 Tom Tromey <tromey@redhat.com>
4085
4086 * record-full.c (record_full_get_bookmark): Make "args" const.
4087 (record_full_goto_bookmark): Make "raw_bookmark" const.
4088 * record.c (record_goto): New function.
4089 (cmd_record_goto): Use it. Now static.
4090 * record.h (record_goto): Declare.
4091 (cmd_record_goto): Remove declaration.
4092 * target-delegates.c: Rebuild.
4093 * target.h (struct target_ops) <to_get_bookmark,
4094 to_goto_bookmark>: Make parameter const.
4095
9cbe5fff
TT
40962014-06-26 Tom Tromey <tromey@redhat.com>
4097
4098 * defs.h (generic_load): Update.
4099 * m32r-rom.c (m32r_load_gen): Make "filename" const.
4100 * monitor.c (monitor_load): Make "args" const.
4101 * remote-m32r-sdi.c (m32r_load): Make "args" const.
4102 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
4103 const.
4104 (mips_load): Make "file" const.
4105 * remote-sim.c (gdbsim_load): Make "args" const.
4106 * remote.c (remote_load): Make "name" const.
4107 * symfile.c (generic_load): Make "args" const.
4108 * target-delegates.c: Rebuild.
4109 * target.c (target_load): Make "arg" const.
4110 (debug_to_load): Make "args" const.
4111 * target.h (struct target_ops) <to_load>: Make parameter const.
4112 (target_load): Update.
4113
34a68019
TT
41142014-06-26 Tom Tromey <tromey@redhat.com>
4115
4116 PR symtab/16902:
4117 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
4118 (dwarf2_physname, read_partial_die)
4119 (guess_partial_die_structure_name, fixup_partial_die)
4120 (guess_full_die_structure_name, anonymous_struct_prefix)
4121 (dwarf2_name): Use per-BFD obstack.
4122
efc889c1
YQ
41232014-06-26 Yao Qi <yao@codesourcery.com>
4124
4125 * dummy-frame.c (dummy_frame_sniffer): Move local variables
4126 dummyframe and this_id into inner block below.
4127
4395285e
YQ
41282014-06-26 Yao Qi <yao@codesourcery.com>
4129
4130 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
4131 with "signal_pass[0]" in the initialization of signal_pass.
4132
aef92902
MM
41332014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4134
4135 * record-btrace.c (record_btrace_generating_corefile)
4136 (record_btrace_prepare_to_generate_core)
4137 (record_btrace_done_generating_core): New.
4138 (record_btrace_xfer_partial, record_btrace_fetch_registers)
4139 (record_btrace_store_registers, record_btrace_prepare_to_store):
4140 Forward request when generating a core file.
4141 (record_btrace_open): Set record_btrace_generating_corefile to zero.
4142 (init_record_btrace_ops): Set to_prepare_to_generate_core and
4143 to_done_generating_core.
4144
5fff78c4
MM
41452014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4146
4147 * target.h (target_ops) <to_prepare_to_generate_core>
4148 <to_done_generating_core>: New.
4149 (target_prepare_to_generate_core, target_done_generating_core): New.
4150 * target.c (target_prepare_to_generate_core)
4151 (target_done_generating_core): New.
4152 * target-delegates.c: Regenerate.
4153 * gcore.c: (write_gcore_file): Rename to ...
4154 (write_gcore_file_1): ...this.
4155 (write_gcore_file): Call target_prepare_to_generate_core
4156 and target_done_generating_core.
4157
1d1f1ccb
MM
41582014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4159
4160 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
4161 * gcore.c (write_gcore_file): Free memory returned from
4162 make_corefile_notes.
4163 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
4164 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
4165
3343ef86
YQ
41662014-06-24 Yao Qi <yao@codesourcery.com>
4167
4168 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
4169 (arm_linux_init_abi): Set skip_trampoline_code with
4170 gdbarch_skip_trampoline_code instead of
4171 find_solib_trampoline_target.
4172
18d18ac8
YQ
41732014-06-24 Yao Qi <yao@codesourcery.com>
4174
4175 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
4176 arm_skip_bx_reg returns non-zero.
4177
80d8d390
YQ
41782014-06-24 Yao Qi <yao@codesourcery.com>
4179
4180 * arm-tdep.c (arm_skip_bx_reg): New function.
4181 (arm_skip_stub): Call arm_skip_bx_reg.
4182
6a18a01c
DB
41832014-06-23 Don Breazeal <donb@codesourcery.com>
4184
4185 * MAINTAINERS: Add myself as write-after-approval maintainer.
4186
8e9db26e
PA
41872014-06-23 Pedro Alves <palves@redhat.com>
4188
4189 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
4190 DR_CONTROL before setting DR0..DR3.
4191 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
4192 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
4193 bits of DR_CONTROL related to the debug register slot being
4194 disabled. If all slots are vacant, clear local slowdown as well,
4195 and assert DR_CONTROL is 0.
4196
70afc5b7
SC
41972014-06-23 Siva Chandra Reddy <sivachandra@google.com>
4198
4199 * python/lib/gdb/command/xmethods.py
4200 (get_method_matchers_in_loci): Lookup xmethod matchers in the
4201 current progspace only if the string "progspace" matches LOCUS_RE.
4202
840ed64d
JK
42032014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4204
4205 Fix --with-system-readline with readline-6.3 patch 5.
4206 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
4207 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
4208 types.
4209
26f2dc30
TT
42102014-06-20 Tom Tromey <tromey@redhat.com>
4211
4212 * dwarf2read.c (dw2_get_real_path): Use correct type in
4213 OBSTACK_CALLOC.
4214 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
4215
125f8a3d
GB
42162014-06-20 Gary Benson <gbenson@redhat.com>
4217
4218 * common/gdb_thread_db.h: Moved to nat. All includes updated.
4219 * common/glibc_thread_db.h: Likewise.
4220 * common/i386-cpuid.h: Likewise.
4221 * common/i386-gcc-cpuid.h: Likewise.
4222 * common/linux-btrace.h: Likewise.
4223 * common/linux-osdata.h: Likewise.
4224 * common/linux-procfs.h: Likewise.
4225 * common/linux-ptrace.h: Likewise.
4226 * common/mips-linux-watch.h: Likewise.
4227 * common/linux-btrace.c: Moved to nat.
4228 * common/linux-osdata.c: Likewise.
4229 * common/linux-procfs.c: Likewise.
4230 * common/linux-ptrace.c: Likewise.
4231 * common/mips-linux-watch.c: Likewise.
4232 * nat/gdb_thread_db.h: Moved from common.
4233 * nat/glibc_thread_db.h: Likewise.
4234 * nat/i386-cpuid.h: Likewise.
4235 * nat/i386-gcc-cpuid.h: Likewise.
4236 * nat/linux-btrace.c: Likewise.
4237 * nat/linux-btrace.h: Likewise.
4238 * nat/linux-osdata.c: Likewise.
4239 * nat/linux-osdata.h: Likewise.
4240 * nat/linux-procfs.c: Likewise.
4241 * nat/linux-procfs.h: Likewise.
4242 * nat/linux-ptrace.c: Likewise.
4243 * nat/linux-ptrace.h: Likewise.
4244 * nat/mips-linux-watch.c: Likewise.
4245 * nat/mips-linux-watch.h: Likewise.
4246 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
4247 (object file files): Reordered.
4248 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
4249 of glibc_thread_db.h.
4250
42995dbd
GB
42512014-06-20 Gary Benson <gbenson@redhat.com>
4252
4253 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
4254 (i386_dr_low_type): Moved to nat/i386-dregs.h.
4255 (i386_dr_low): Likewise.
4256 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
4257 (i386_dr_low_set_addr): Likewise.
4258 (i386_dr_low_get_addr): Likewise.
4259 (i386_dr_low_can_set_control): Likewise.
4260 (i386_dr_low_set_control): Likewise.
4261 (i386_dr_low_get_control): Likewise.
4262 (i386_dr_low_get_status): Likewise.
4263 (i386_get_debug_register_length): Likewise.
4264 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
4265 (i386_dr_low): Likewise.
4266 * nat/i386-dregs.c (i386-low.h): Remove include.
4267 (i386-nat.h): Likewise.
4268 (nat/i386-dregs.h): New include.
4269 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
4270 (i386_dr_low_set_addr): Likewise.
4271 (i386_dr_low_get_addr): Likewise.
4272 (i386_dr_low_can_set_control): Likewise.
4273 (i386_dr_low_set_control): Likewise.
4274 (i386_dr_low_get_control): Likewise.
4275 (i386_dr_low_get_status): Likewise.
4276 (i386_get_debug_register_length): Likewise.
4277 (debug_hw_points): Likewise.
4278
3ed9baed
IB
42792014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
4280
4281 * Makefile.in (SFILES): Add d-exp.y.
4282 (YYFILES): Add d-exp.c.
4283 (YYOBJ): Add d-exp.o.
4284 (local-maintainer-clean): Delete d-exp.c.
4285 * d-exp.y: New file.
4286 * d-lang.h (d_parse): New declaration.
4287 (d_error): New declaration.
4288 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
4289 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
4290 PREC_ORDER operators.
4291 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
4292
78c164b0
YQ
42932014-06-19 Yao Qi <yao@codesourcery.com>
4294
4295 * gdbthread.h (any_running): Remove the declaration.
4296 * thread.c (any_running): Remove.
4297
f6e29b6e
YQ
42982014-06-19 Yao Qi <yao@codesourcery.com>
4299
4300 * gdbthread.h (struct thread_info) <state>: Change its type to
4301 'enum thread_state'. Update comments.
4302
034f788c
PA
43032014-06-19 Pedro Alves <palves@redhat.com>
4304
4305 * gdbthread.h (ALL_THREADS): Delete.
4306 (ALL_NON_EXITED_THREADS): New macro.
4307 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
4308 instead of ALL_THREADS.
4309 * infrun.c (find_thread_needs_step_over)
4310 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
4311 instead of ALL_THREADS.
4312 * record-btrace.c (record_btrace_open)
4313 (record_btrace_stop_recording, record_btrace_close)
4314 (record_btrace_is_replaying, record_btrace_resume)
4315 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
4316 * remote.c (append_pending_thread_resumptions): Likewise.
4317 * thread.c (thread_apply_all_command): Likewise.
4318
46e33252
GB
43192014-06-19 Gary Benson <gbenson@redhat.com>
4320
4321 * i386-nat.c (i386_stopped_by_watchpoint):
4322 Use i386_dr_stopped_by_watchpoint.
4323 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
4324 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
4325
3a8ee006
GB
43262014-06-19 Gary Benson <gbenson@redhat.com>
4327
4328 * nat/i386-dregs.c: New file.
4329 * Makefile.in (i386-dregs.o): New rule.
4330 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
4331 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
4332 * config/i386/darwin.mh (NATDEPFILES): Likewise.
4333 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
4334 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
4335 * config/i386/go32.mh (NATDEPFILES): Likewise.
4336 * config/i386/linux.mh (NATDEPFILES): Likewise.
4337 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4338 * config/i386/mingw.mh (NATDEPFILES): Likewise.
4339 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
4340 * i386-nat.h (debug_hw_points): New declaration.
4341 * i386-nat.c (breakpoint.h): Remove include.
4342 (command.h): Likewise.
4343 (target.h): Likewise.
4344 (gdb_assert.h): Likewise.
4345 (debug_hw_points): Made nonstatic.
4346 (debug_printf): Now in i386-dregs.c.
4347 (TARGET_HAS_DR_LEN_8): Likewise.
4348 (DR_CONTROL_SHIFT): Likewise.
4349 (DR_CONTROL_SIZE): Likewise.
4350 (DR_RW_EXECUTE): Likewise.
4351 (DR_RW_WRITE): Likewise.
4352 (DR_RW_READ): Likewise.
4353 (DR_RW_IORW): Likewise.
4354 (DR_LEN_1): Likewise.
4355 (DR_LEN_2): Likewise.
4356 (DR_LEN_4): Likewise.
4357 (DR_LEN_8): Likewise.
4358 (DR_LOCAL_ENABLE_SHIFT): Likewise.
4359 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
4360 (DR_ENABLE_SIZE): Likewise.
4361 (DR_LOCAL_SLOWDOWN): Likewise.
4362 (DR_GLOBAL_SLOWDOWN): Likewise.
4363 (DR_CONTROL_RESERVED): Likewise.
4364 (I386_DR_CONTROL_MASK): Likewise.
4365 (I386_DR_VACANT): Likewise.
4366 (I386_DR_LOCAL_ENABLE): Likewise.
4367 (I386_DR_GLOBAL_ENABLE): Likewise.
4368 (I386_DR_DISABLE): Likewise.
4369 (I386_DR_SET_RW_LEN): Likewise.
4370 (I386_DR_GET_RW_LEN): Likewise.
4371 (I386_DR_WATCH_HIT): Likewise.
4372 (i386_wp_op_t): Likewise.
4373 (i386_show_dr): Likewise.
4374 (i386_length_and_rw_bits): Likewise.
4375 (i386_insert_aligned_watchpoint): Likewise.
4376 (i386_remove_aligned_watchpoint): Likewise.
4377 (i386_handle_nonaligned_watchpoint): Likewise.
4378 (i386_update_inferior_debug_regs): Likewise.
4379 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
4380 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
4381 (i386_region_ok_for_watchpoint):
4382 Use i386_dr_region_ok_for_watchpoint.
4383 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
4384
322a8e06
GB
43852014-06-19 Gary Benson <gbenson@redhat.com>
4386
4387 * i386-nat.c (i386_insert_hw_breakpoint): Use
4388 i386_insert_watchpoint.
4389 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
4390
8f26655c
GB
43912014-06-19 Gary Benson <gbenson@redhat.com>
4392
4393 * i386-nat.c (i386_dr_show): Renamed to
4394 i386_show_dr and made static. All uses updated.
4395 (i386_dr_length_and_rw_bits): Renamed to
4396 i386_length_and_rw_bits and made static.
4397 All uses updated.
4398 (i386_dr_insert_aligned_watchpoint): Renamed to
4399 i386_insert_aligned_watchpoint and made static.
4400 All uses updated.
4401 (i386_dr_remove_aligned_watchpoint): Renamed to
4402 i386_remove_aligned_watchpoint and made static.
4403 All uses updated.
4404 (i386_dr_update_inferior_debug_regs): Renamed to
4405 i386_update_inferior_debug_regs and made static.
4406 All uses updated.
4407 * nat/i386-dregs.h (i386_dr_show): Removed.
4408 (i386_dr_length_and_rw_bits): Likewise.
4409 (i386_dr_insert_aligned_watchpoint): Likewise.
4410 (i386_dr_remove_aligned_watchpoint): Likewise.
4411 (i386_dr_update_inferior_debug_regs): Likewise.
4412
992c7d70
GB
44132014-06-19 Gary Benson <gbenson@redhat.com>
4414
4415 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
4416 * configure: Regenerate.
4417 * config.in: Likewise.
4418 * main.c (signal.h): New include.
4419 (setup_alternate_signal_stack): New function.
4420 (captured_main): Call the above.
4421 * cp-support.c (signal.h): New include.
4422 (catch_demangler_crashes): New flag.
4423 (SIGJMP_BUF): New define.
4424 (SIGSETJMP): Likewise.
4425 (SIGLONGJMP): Likewise.
4426 (gdb_demangle_jmp_buf): New static global.
4427 (gdb_demangle_attempt_core_dump): Likewise.
4428 (gdb_demangle_signal_handler): New function.
4429 (gdb_demangle): If catch_demangler_crashes is set, install the
4430 above signal handler before calling bfd_demangle, and restore
4431 the original signal handler afterwards. Display the offending
4432 symbol and call demangler_warning the first time a segmentation
4433 fault is caught.
4434 (_initialize_cp_support): New maint set/show command.
4435
eae7090b
GB
44362014-06-19 Gary Benson <gbenson@redhat.com>
4437
4438 * utils.h (resource_limit_kind): New enum.
4439 (can_dump_core): New declaration.
4440 (warn_cant_dump_core): Likewise.
4441 (dump_core): Likewise.
4442 * utils.c (dump_core): Made nonstatic. Added new
4443 parameter "limit_kind".
4444 (can_dump_core): Made nonstatic. Moved printing code to...
4445 (warn_cant_dump_core): New function.
4446 (can_dump_core_warn): Likewise.
4447 (internal_vproblem): Replace calls to can_dump_core with
4448 calls to can_dump_core_warn. Supply new argument to each.
4449
57fcfb1b
GB
44502014-06-19 Gary Benson <gbenson@redhat.com>
4451
4452 * utils.h (demangler_vwarning): New declaration.
4453 (demangler_warning): Likewise.
4454 * utils.c (struct internal_problem)
4455 <user_settable_should_quit>: New field.
4456 <user_settable_should_dump_core>: Likewise
4457 (internal_error_problem): Add values for above new fields.
4458 (internal_warning_problem): Likewise.
4459 (demangler_warning_problem): New static global.
4460 (demangler_vwarning): New function.
4461 (demangler_warning): Likewise.
4462 (add_internal_problem_command): Selectively add commands.
4463 (_initialize_utils): New internal problem command.
4464 * maint.c (maintenance_demangler_warning): New function.
4465 (_initialize_maint_cmds): New command.
4466
17a40b44
TT
44672014-06-18 Tom Tromey <tromey@redhat.com>
4468
4469 * f-valprint.c (info_common_command_for_block): Update.
4470 * symtab.h (struct general_symbol_info) <common_block>: Now
4471 const.
4472
346d1dfe
TT
44732014-06-18 Tom Tromey <tromey@redhat.com>
4474
4475 * symtab.h (struct symtab) <blockvector>: Now const.
4476 * ada-lang.c (ada_add_global_exceptions): Update.
4477 * buildsym.c (augment_type_symtab): Update.
4478 * dwarf2read.c (dw2_lookup_symbol): Update.
4479 * jit.c (finalize_symtab): Update.
4480 * jv-lang.c (add_class_symtab_symbol): Update.
4481 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
4482 Update.
4483 * objfiles.c (objfile_relocate1): Update.
4484 * psymtab.c (lookup_symbol_aux_psymtabs)
4485 (maintenance_check_psymtabs): Update.
4486 * python/py-symtab.c (stpy_global_block, stpy_static_block):
4487 Update.
4488 * spu-tdep.c (spu_catch_start): Update.
4489 * symmisc.c (dump_symtab_1): Update.
4490 * symtab.c (lookup_global_symbol_from_objfile)
4491 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
4492 (basic_lookup_transparent_type_quick)
4493 (basic_lookup_transparent_type, find_pc_sect_symtab)
4494 (find_pc_sect_line, search_symbols): Update.
4495 * block.c (find_block_in_blockvector): Make "bl" const.
4496 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
4497 const.
4498 (blockvector_contains_pc): Make "bv" const.
4499 (block_for_pc_sect): Update.
4500 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
4501 (blockvector_contains_pc): Update.
4502 * breakpoint.c (resolve_sal_pc): Update.
4503 * inline-frame.c (block_starting_point_at): Update.
4504
1834676b
TT
45052014-06-18 Tom Tromey <tromey@redhat.com>
4506
4507 * completer.c (complete_line): Make "line_buffer" const.
4508 * completer.h (complete_line): Update.
4509
ac1a991b
TT
45102014-06-18 Tom Tromey <tromey@redhat.com>
4511
4512 * symtab.c (add_macro_name): Remove unneeded cast.
4513
5bc98e52
TT
45142014-06-18 Tom Tromey <tromey@redhat.com>
4515
4516 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
4517 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
4518
8236def8
TT
45192014-06-18 Tom Tromey <tromey@redhat.com>
4520
4521 * probe.c (info_probes_for_ops): Make "arg" const.
4522 * probe.h (info_probes_for_ops): Update.
4523
3977b71f
TT
45242014-06-18 Tom Tromey <tromey@redhat.com>
4525
4526 * varobj.c (varobj_create): Update.
4527 * valops.c (value_of_this): Update.
4528 * tracepoint.c (add_local_symbols, scope_info): Update.
4529 * symtab.h (struct general_symbol_info) <block>: Now const.
4530 * symtab.c (skip_prologue_sal)
4531 (default_make_symbol_completion_list_break_on)
4532 (skip_prologue_using_sal): Update.
4533 * stack.h (iterate_over_block_locals)
4534 (iterate_over_block_local_vars): Update.
4535 * stack.c (print_frame_args): Update.
4536 (iterate_over_block_locals, iterate_over_block_local_vars): Make
4537 parameter const.
4538 (get_selected_block): Make return type const.
4539 * python/py-frame.c (frapy_block): Update.
4540 * python/py-block.c (gdbpy_block_for_pc): Update.
4541 * p-exp.y (%union) <bval>: Now const.
4542 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
4543 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
4544 * m2-exp.y (%union) <bval>: Now const.
4545 * linespec.c (get_current_search_block): Make return type const.
4546 (create_sals_line_offset, find_label_symbols): Update.
4547 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
4548 Update.
4549 (block_starting_point_at): Make "block" const.
4550 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
4551 (check_exception_resume): Update.
4552 * guile/scm-frame.c (gdbscm_frame_block): Update.
4553 * guile/scm-block.c (gdbscm_lookup_block): Update.
4554 * frame.h (get_frame_block): Update.
4555 (get_selected_block): Make return type const.
4556 * frame.c (frame_id_inner): Update.
4557 * f-valprint.c (info_common_command_for_block)
4558 (info_common_command): Update.
4559 * dwarf2loc.c (dwarf2_find_location_expression)
4560 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
4561 (locexpr_describe_location_piece): Update.
4562 * c-exp.y (%union) <bval>: Now const.
4563 * breakpoint.c (resolve_sal_pc): Update.
4564 * blockframe.c (get_frame_block):Make return type const.
4565 (get_pc_function_start, get_frame_function, find_pc_sect_function)
4566 (block_innermost_frame): Update.
4567 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
4568 (block_for_pc, block_for_pc_sect): Update.
4569 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
4570 'pblock' const.
4571 (block_for_pc_sect, block_for_pc): Make return type const.
4572 * ax-gdb.c (gen_expr): Update.
4573 * alpha-mdebug-tdep.c (find_proc_desc): Update.
4574 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
4575 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
4576 (ada_read_var_value): Update.
4577 * ada-exp.y (struct name_info) <block>: Now const.
4578 (%union): Likewise.
4579 (block_lookup): Constify.
4580
b9228891
GB
45812014-06-18 Gary Benson <gbenson@redhat.com>
4582
4583 * nat/i386-dregs.h: New file.
4584 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
4585 * i386-nat.h (i386-dregs.h): New include.
4586 (DR_FIRSTADDR): Now in i386-dregs.h.
4587 (DR_LASTADDR): Likewise.
4588 (DR_NADDR): Likewise.
4589 (DR_STATUS): Likewise.
4590 (DR_CONTROL): Likewise.
4591 (i386_debug_reg_state): Likewise.
4592 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
4593
a1aa2221
LM
45942014-06-18 Don Breazeal <donb@codesourcery.com>
4595
4596 * breakpoint.c (set_longjmp_breakpoint): Call
4597 momentary_breakpoint_from_master with additional argument.
4598 (set_longjmp_breakpoint_for_call_dummy): Call
4599 momentary_breakpoint_from_master with additional argument.
4600 (set_std_terminate_breakpoint): Call
4601 momentary_breakpoint_from_master with additional argument.
4602 (momentary_breakpoint_from_master): Add argument to function
4603 definition and use it to initialize structure member flag.
74228e77 4604 (clone_momentary_breakpoint): Call
a1aa2221
LM
4605 momentary_breakpoint_from_master with additional argument.
4606 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
4607 member flags set in momentary_breakpoint_from_master.
4608
4be83cc2
GB
46092014-06-18 Gary Benson <gbenson@redhat.com>
4610
4611 * i386-nat.c (i386_show_dr): Renamed to
4612 i386_dr_show and made nonstatic. All uses updated.
4613 (i386_length_and_rw_bits): Renamed to
4614 i386_dr_length_and_rw_bits and made nonstatic.
4615 All uses updated.
4616 (i386_insert_aligned_watchpoint): Renamed to
4617 i386_dr_insert_aligned_watchpoint and made nonstatic.
4618 All uses updated.
4619 (i386_remove_aligned_watchpoint): Renamed to
4620 i386_dr_remove_aligned_watchpoint and made nonstatic.
4621 All uses updated.
4622 (i386_update_inferior_debug_regs): Renamed to
4623 i386_dr_update_inferior_debug_regs and made nonstatic.
4624 All uses updated.
4625
131aa0d4
GB
46262014-06-18 Gary Benson <gbenson@redhat.com>
4627
4628 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
4629 (i386_dr_low_can_set_control): Likewise.
4630 (i386_dr_low_set_addr): Likewise.
4631 (i386_dr_low_set_control): Likewise.
4632 (i386_dr_low_get_addr): Likewise.
4633 (i386_dr_low_get_status): Likewise.
4634 (i386_dr_low_get_control): Likewise.
4635 (i386_insert_aligned_watchpoint): Use new macros.
4636 (i386_update_inferior_debug_regs): Likewise.
4637 (i386_stopped_data_address): Likewise.
4638
d9305f7f
GB
46392014-06-18 Gary Benson <gbenson@redhat.com>
4640
4641 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
4642 New parameter. All uses updated.
4643
ea008da4
GB
46442014-06-18 Gary Benson <gbenson@redhat.com>
4645
4646 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
4647 All uses updated.
4648
1b6d4134
GB
46492014-06-18 Gary Benson <gbenson@redhat.com>
4650
4651 * i386-nat.c (debug_printf): New macro.
4652 (i386_get_debug_register_length): Likewise.
4653 (TARGET_HAS_DR_LEN_8): Use above macro.
4654 (i386_show_dr): Use debug_printf instead of puts_unfiltered
4655 and printf_unfiltered. Use phex to format values.
4656
9b4550ef
GB
46572014-06-18 Gary Benson <gbenson@redhat.com>
4658
4659 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
4660 Make const.
4661
6e62758f
GB
46622014-06-18 Gary Benson <gbenson@redhat.com>
4663
4664 * i386-nat.c: Comment changes.
4665
51c79e94
GB
46662014-06-18 Gary Benson <gbenson@redhat.com>
4667
4668 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
4669
3e11889a
GB
46702014-06-18 Gary Benson <gbenson@redhat.com>
4671
4672 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
4673 (i386_insert_aligned_watchpoint): Likewise.
4674 (i386_remove_aligned_watchpoint): Likewise.
4675 (i386_handle_nonaligned_watchpoint): Likewise.
4676
fc6e2f03
GB
46772014-06-18 Gary Benson <gbenson@redhat.com>
4678
4679 * i386-nat.c: Whitespace changes.
4680
2afe7d50
SB
46812014-06-17 Samuel Bronson <naesten@gmail.com>
4682
4683 * MAINTAINERS: Update Roland McGrath's email address.
4684 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 4685 Red Hat a while ago, and giving me a current address.
2afe7d50 4686
3bca49ee
TT
46872014-06-17 Tom Tromey <tromey@redhat.com>
4688
4689 * utils.h (savestring): Remove declaration.
4690
6e366df1
TT
46912014-06-17 Tom Tromey <tromey@redhat.com>
4692
4693 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
4694
6be47f0c
KS
46952014-06-16 Keith Seitz <keiths@redhat.com>
4696
4697 PR mi/15863
4698 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
4699 to update the varobj if inferior_ptid is null_ptid.
4700
7bc112c1
TT
47012014-06-16 Tom Tromey <tromey@redhat.com>
4702
4703 * target.h (struct target_ops) <to_info_proc>: Make parameter
4704 const.
4705 (target_info_proc): Update.
4706 * target.c (target_info_proc): Make "args" const.
4707 * procfs.c (procfs_info_proc): Update.
4708 * linux-tdep.c (linux_info_proc): Update.
4709 (linux_core_info_proc_mappings): Make "args" const.
4710 (linux_core_info_proc): Update.
4711 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
4712 * gdbarch.c: Rebuild.
4713 * gdbarch.h: Rebuild.
4714 * corelow.c (core_info_proc): Update.
4715
fee354ee
TT
47162014-06-16 Tom Tromey <tromey@redhat.com>
4717
4718 * target.h (struct target_ops) <to_disconnect>: Make parameter
4719 const.
4720 (target_disconnect): Update.
4721 * target.c (target_disconnect): Make "args" const.
4722 * target-delegates.c: Rebuild.
4723 * remote.c (remote_disconnect): Update.
4724 * record.h (record_disconnect): Update.
4725 * record.c (record_disconnect): Update.
4726 * inf-child.c (inf_child_disconnect): Update.
4727
a30bf1f1
TT
47282014-06-16 Tom Tromey <tromey@redhat.com>
4729
4730 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
4731 * target.c (debug_to_rcmd, default_rcmd): Update.
4732 * target-delegates.c: Rebuild.
4733 * remote.c (remote_rcmd): Update.
4734 * monitor.c (monitor_rcmd): Update.
4735
d03de421
PA
47362014-06-16 Pedro Alves <palves@redhat.com>
4737
4738 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
4739 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
4740 have OBJF_SHARED set.
4741 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
4742 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
4743 instead of OBJF_USERLOADED.
4744 * objfiles.h (OBJF_SHARED): Update comment.
4745 (userloaded_objfile_contains_address_p): Rename to ...
4746 (shared_objfile_contains_address_p): ... this, and update
4747 comments.
4748 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
4749 new objfile.
4750 (remove_symbol_file_command): Skip objfiles that don't have
4751 OBJF_SHARED set.
4752
99f4262f
TT
47532014-06-16 Tom Tromey <tromey@redhat.com>
4754
4755 * minsyms.h (prim_record_minimal_symbol)
4756 (prim_record_minimal_symbol_and_info): Update comments.
4757
97d66cc6
EZ
47582014-06-14 Eli Zaretskii <eliz@gnu.org>
4759
4760 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
4761 or --without-guile, according to how GDB was built.
4762
635c7e8a
TT
47632014-06-13 Tom Tromey <tromey@redhat.com>
4764
4765 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
4766 to help_list.
4767 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
4768 to help_list.
4769 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
4770 help_list.
4771 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
4772 help_list.Pass all_commands, not -1, to help_list.
4773 * cli/cli-dump.c (dump_command, append_command)
4774 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
4775 (binary_dump_command, binary_append_command): Pass all_commands,
4776 not -1, to help_list.
4777 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
4778 -1, to help_list.
4779 * valprint.c (set_print, set_print_raw): Pass all_commands, not
4780 -1, to help_list.
4781 * typeprint.c (set_print_type): Pass all_commands, not -1, to
4782 help_list.
4783 * top.c (set_history): Pass all_commands, not -1, to help_list.
4784 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
4785 all_commands, not -1, to help_list.
4786 * symfile.c (overlay_command): Pass all_commands, not -1, to
4787 help_list.
4788 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
4789 help_list.
4790 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
4791 help_list.
4792 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
4793 -1, to help_list.
4794 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
4795 not -1, to help_list.
4796 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
4797 not -1, to help_list.
4798 * maint.c (maintenance_command, maintenance_info_command)
4799 (maintenance_print_command, maintenance_set_cmd): Pass
4800 all_commands, not -1, to help_list.
4801 * macrocmd.c (macro_command): Pass all_commands, not -1, to
4802 help_list.
4803 * language.c (set_check): Pass all_commands, not -1, to help_list.
4804 * infcmd.c (unset_command): Pass all_commands, not -1, to
4805 help_list.
4806 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
4807 help_list.
4808 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
4809 help_list.
4810 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
4811 help_list.
4812 * breakpoint.c (save_command): Pass all_commands, not -1, to
4813 help_list.
4814 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
4815 all_commands, not -1, to help_list.
4816
b94ade42
PL
48172014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
4818
4819 * regcache.c (struct register_to_invalidate): New structure.
4820 (do_register_invalidate, make_cleanup_regcache_invalidate): New
4821 functions.
4822 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
4823
31f628ae
YQ
48242014-06-12 Yao Qi <yao@codesourcery.com>
4825
4826 * varobj.c (varobj_get_num_children): Call
4827 varobj_is_dynamic_p.
4828 (varobj_list_children): Likewise.
4829 (varobj_update): Likewise. Update comments.
4830
cde5ef40
YQ
48312014-06-12 Yao Qi <yao@codesourcery.com>
4832
4833 * varobj.c (varobj_pretty_printed_p): Rename to ...
4834 (varobj_is_dynamic_p): ... this. New function.
4835 * varobj.h (varobj_pretty_printed_p): Remove declaration.
4836 (varobj_is_dynamic_p): Declare.
4837 * mi/mi-cmd-var.c (print_varobj): All callers updated.
4838 (mi_print_value_p, varobj_update_one): Likewise.
4839
576ea091
YQ
48402014-06-12 Pedro Alves <pedro@codesourcery.com>
4841 Yao Qi <yao@codesourcery.com>
4842
4843 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
4844 (varobj_get_iterator): Wrap up code for pretty-printer by
4845 "#if HAVE_PYTHON" and "#endif".
4846 (update_dynamic_varobj_children): Likewise.
4847
827f100c
YQ
48482014-06-12 Pedro Alves <pedro@codesourcery.com>
4849 Yao Qi <yao@codesourcery.com>
4850
4851 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
4852 gdb_python_initialized is false. Move some code from varobj.c.
4853 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
4854 * varobj.c: Move "varobj-iter.h" inclusion earlier.
4855 (struct varobj_item): Moved to varobj-iter.h".
4856 (varobj_clear_saved_item): New function.
4857 (update_dynamic_varobj_children): Move python-related code to
4858 py-varobj.c.
4859 (free_variable): Call varobj_clear_saved_item and
4860 varobj_iter_delete.
4861
e5250216
YQ
48622014-06-12 Pedro Alves <pedro@codesourcery.com>
4863 Yao Qi <yao@codesourcery.com>
4864
4865 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
4866 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
4867 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
4868 (py-varobj.o): New rule.
4869 * python/py-varobj.c: New file.
4870 * python/python-internal.h (py_varobj_get_iterator): Declare.
4871 * varobj-iter.h: New file.
4872 * varobj.c: Include "varobj-iter.h"
4873 (struct varobj) <child_iter>: Change its type from "PyObject *"
4874 to "struct varobj_iter *".
4875 <saved_item>: Likewise.
4876 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
4877 [HAVE_PYTHON] (varobj_get_iterator): New function.
4878 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
4879 python-specific code to python/py-varobj.c.
4880 (install_visualizer): Call varobj_iter_delete instead of
4881 Py_XDECREF.
4882 * varobj.h (varobj_ensure_python_env): Declare.
4883
5a2e0d6e
YQ
48842014-06-12 Yao Qi <yao@codesourcery.com>
4885
4886 * varobj.c (struct varobj_item): New structure.
4887 (create_child_with_value): Update declaration.
4888 (varobj_add_child): Replace arguments 'name' and 'value' with
4889 'item'. All callers updated.
4890 (install_dynamic_child): Likewise.
4891 (update_dynamic_varobj_children): Likewise.
4892 (varobj_add_child): Likewise.
4893 (create_child_with_value): Likewise.
4894
919b9a93
JB
48952014-06-11 Joel Brobecker <brobecker@adacore.com>
4896
4897 * NEWS: Create a new section for the next release branch.
4898 Rename the section of the current branch, now that it has
4899 been cut.
4900
71a55bdf
JB
49012014-06-11 Joel Brobecker <brobecker@adacore.com>
4902
4903 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
4904 * version.in: Bump version to 7.8.50.DATE-cvs.
4905
364fe1f7
PA
49062014-06-11 Pedro Alves <palves@redhat.com>
4907
4908 PR remote/17028
4909 * ser-mingw.c (net_windows_socket_check_pending): New function.
4910 (net_windows_select_thread): Ignore spurious wakeups. Use
4911 net_windows_socket_check_pending.
4912 (net_windows_wait_handle): Check for pending events with
4913 ioctlsocket, through net_windows_socket_check_pending, instead of
4914 checking the socket's event.
4915
5a6c7709
SC
49162014-06-10 Siva Chandra Reddy <sivachandra@google.com>
4917
4918 * python/python-internal.h (gdb_PyObject_GetAttrString)
4919 (gdb_PyObject_HasAttrString): New inline function definitions.
4920 * py-value.c (get_field_flag): Remove the now unnecessary cast to
4921 char * of the second argument to PyObject_GetAttrString.
74228e77 4922
0e58ee40
JB
49232014-06-10 Joel Brobecker <brobecker@adacore.com>
4924
4925 * serial.c (serial_write): Fix index of character to be printed
4926 in call to serial_logchar when serial debug traces are enabled.
4927
d190df30
JB
49282014-06-10 Joel Brobecker <brobecker@adacore.com>
4929
4930 * gdbtypes (resolve_dynamic_range): Add function description.
4931
b4b01d36
PA
49322014-06-09 Pedro Alves <palves@redhat.com>
4933
4934 * linux-nat.c (linux_child_follow_fork): Initialize status with
4935 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
4936 inner block. Only pass the signal to PTRACE_DETACH if in pass
4937 state.
4938
3657956b
GB
49392014-06-09 Gary Benson <gbenson@redhat.com>
4940
4941 * common/signals.c (gdb_signal_from_host): Reorder to separate
4942 the always-available ANSI-standard signals from the signals that
4943 require checking.
4944 (do_gdb_signal_to_host): Likewise.
4945 * proc-events.c (signal_table): Likewise.
4946
c077881a
HZ
49472014-06-08 Hui Zhu <hui@codesourcery.com>
4948
4949 * common/linux-ptrace.c (linux_disable_event_reporting): New
4950 function.
4951 * common/linux-ptrace.h (linux_disable_event_reporting): New
4952 declaration.
4953 * linux-nat.c (linux_child_follow_fork): Do a single step before
4954 detach.
4955
4186eb54
KS
49562014-06-07 Keith Seitz <keiths@redhat.com>
4957
4958 Revert:
4959 PR c++/16253
4960 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4961 from symbol_matches_domain in symtab.c. All local callers
4962 of symbol_matches_domain updated.
4963 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4964 search STRUCT_DOMAIN.
4965 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4966 independently. standard_lookup will do that automatically.
4967 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4968 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4969 (cp_lookup_symbol_in_namespace): Likewise.
4970 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4971 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4972 may return a STRUCT_DOMAIN match.
4973 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4974 * cp-support.c: Include language.h.
4975 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4976 VAR_DOMAIN.
4977 * psymtab.c (match_partial_symbol): Compare the requested
4978 domain with the symbol's domain directly.
4979 (lookup_partial_symbol): Likewise.
4980 * symtab.c (lookup_symbol_in_language): Explain when/why
4981 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4982 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4983 appropriate languages.
4984 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4985 and moved to ada-lang.c
4986 (lookup_block_symbol): Explain that this function only returns
4987 symbol matching the requested DOMAIN.
4988 Compare the requested domain with the symbol's domain directly.
4989 (iterate_over_symbols): Compare the requested domain with the
4990 symbol's domain directly.
4991 * symtab.h (symbol_matches_domain): Remove.
4992
25326a28 49932014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
4994
4995 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
4996 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
4997 (gdbscm_guile_version_is_at_least): Declare.
4998 (gdbscm_scm_string_to_int): Declare.
4999 * guile/guile.c (gdbscm_guile_major_version): New global.
5000 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
5001 (guile_datadir): New static global.
5002 (gdbscm_guile_data_directory): New function.
5003 (initialize_scheme_side): Update.
5004 (misc_guile_functions): Add guile-data-directory.
5005 (initialize_gdb_module): Fetch guile version number.
5006 * guile/lib/gdb.scm: Remove call to add-to-load-path.
5007 * guile/lib/gdb/init.scm (%initialize!): Ditto.
5008 * guile/lib/gdb/boot.scm: Use guile-data-directory.
5009 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
5010 comments.
5011 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
5012 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
5013 * guile/scm-value.c (gdbscm_value_to_string): Only call
5014 scm_port_conversion_strategy if Guile version >= 2.0.6.
5015
0a770bb2 50162014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
5017
5018 * main.c (print_gdb_help): Add -q and --silent.
5019
73ba372c
GB
50202014-06-06 Gary Benson <gbenson@redhat.com>
5021
5022 * common/signals.c: Remove preprocessor conditionals for
5023 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5024 SIGSEGV and SIGTERM.
5025 * proc-events.c: Likewise.
5026
c33b2f12
MM
50272014-06-06 Markus Metzger <markus.t.metzger@intel.com>
5028
5029 * symfile.c (symfile_free_objfile): Remove restriction to
5030 OBJF_USERLOADED.
5031 * symfile-mem.c (symbol_file_add_from_memory): Call
5032 add_target_sections_of_objfile.
5033
fb934770
LC
50342014-06-05 Ludovic Courtès <ludo@gnu.org>
5035
5036 * guile/scm-value.c (gdbscm_history_append_x): Use
5037 'vlscm_get_value_smob_arg_unsafe' instead of
5038 'vlscm_scm_to_value'.
5039
6ef284bd
SM
50402014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5041
5042 PR mi/15806
5043 * utils.c (printchar): Don't escape at all if quoter is NUL.
5044 Update function documentation to clarify effect of parameter
5045 QUOTER.
5046 * remote.c (escape_buffer): Pass '\\' as the quoter to
5047 fputstrn_unfiltered.
5048 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
5049 generate the output.
5050 (mi_solib_unloaded): Same.
5051
270c9937
JB
50522014-06-05 Joel Brobecker <brobecker@adacore.com>
5053
5054 * development.sh: Delete.
5055 * Makefile.in (config.status): Adjust dependency on development.sh.
5056 * configure.ac: Adjust development.sh source call.
5057 * configure: Regenerate.
5058
16f691fb
DE
50592014-06-04 Doug Evans <xdje42@gmail.com>
5060
5061 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
5062 is_scheme_bkpt, spec.
5063 (bpscm_make_breakpoint_smob): Initialize new members.
5064 (gdbscm_create_breakpoint_x): Split into two ...
5065 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
5066 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
5067 (scheme_function breakpoint_functions): Update.
5068 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
5069 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
5070 register-breakpoint!.
5071
ef7cab6b
JB
50722014-06-04 Joel Brobecker <brobecker@adacorer.com>
5073
5074 PR server/17023
5075 * mem-break.c (z_type_supported): Return zero if
5076 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
5077
012370f6
TT
50782014-06-04 Tom Tromey <tromey@redhat.com>
5079
5080 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
5081 value_from_contents_and_address_unresolved.
5082 (ada_template_to_fixed_record_type_1): Likewise.
5083 (ada_which_variant_applies): Likewise.
5084 * value.h (value_from_contents_and_address_unresolved): Declare.
5085 * value.c (value_from_contents_and_address_unresolved): New
5086 function.
5087 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
5088 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
5089 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
5090
92e2a17f
TT
50912014-06-04 Tom Tromey <tromey@redhat.com>
5092
5093 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
5094
c0939df1
TT
50952014-06-04 Tom Tromey <tromey@redhat.com>
5096
5097 * procfs.c (procfs_attach): Make "args" const.
5098 * windows-nat.c (windows_attach): Make "args" const.
5099 * nto-procfs.c (procfs_attach): Make "args" const.
5100 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
5101 * go32-nat.c (go32_attach): Make "args" const.
5102 * gnu-nat.c (gnu_attach): Make "args" const.
5103 * darwin-nat.c (darwin_attach): Make "args" const.
5104 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
5105 * linux-nat.c (linux_nat_attach): Make "args" const.
5106 * remote.c (extended_remote_attach_1, extended_remote_attach):
5107 Make "args" const.
5108 * target.h (struct target_ops) <to_attach>: Make "args" const.
5109 (find_default_attach): Likewise.
5110 * utils.c (parse_pid_to_attach): Make "args" const.
5111 * utils.h (parse_pid_to_attach): Update.
5112
8eaff7cd
TT
51132014-06-04 Tom Tromey <tromey@redhat.com>
5114
5115 * target-delegates.c: Rebuild.
5116 * target.c (default_thread_address_space): New function.
5117 (target_thread_address_space): Simplify.
5118 * target.h (struct target_ops) <to_thread_address_space>: Add
5119 TARGET_DEFAULT_FUNC.
5120
1913f160
DE
51212014-06-04 Doug Evans <xdje42@gmail.com>
5122
5123 * guile/scm-type.c (type_smob): Remove duplicate typedef.
5124
70ad5bff
MM
51252014-06-04 Markus Metzger <markus.t.metzger@intel.com>
5126
5127 * record-btrace.c: Include event-loop.h and inf-loop.h.
5128 (record_btrace_resume_exec_dir)
5129 (record_btrace_async_inferior_event_handler)
5130 (record_btrace_handle_async_inferior_event): New.
5131 (record_btrace_open): Create async event handler.
5132 (record_btrace_close): Delete async event handler.
5133 (record_btrace_resume): Set record_btrace_resume_exec_dir,
5134 Mark async event handler.
5135 (record_btrace_execution_direction): New.
5136 (init_record_btrace_ops): Initialize to_execution_direction.
5137
b6210538
DE
51382014-06-03 Doug Evans <xdje42@gmail.com>
5139
5140 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
5141 (gdbscm_make_parameter): Ditto.
5142
a5b1fd27
DE
51432014-06-03 Doug Evans <dje@google.com>
5144
5145 * exec.c (exec_close_1): Call clear_section_table instead of
5146 resize_section_table.
5147 (clear_section_table): New function.
5148 (resize_section_table): Make static. Rename arg num_added to
5149 adjustment.
5150 * exec.h (clear_section_table): Declare.
5151 (resize_section_table): Delete.
5152 * progspace.c (release_program_space): Call clear_section_table
5153 instead of resize_section_table.
5154
0c6e92a5
SC
51552014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5156
5157 * NEWS (Python Scripting): Add entry about the new xmethods
5158 feature.
5159
883964a7
SC
51602014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5161
5162 * python/py-xmethods.c: New file.
5163 * python/py-objfile.c (objfile_object): New field 'xmethods'.
5164 (objfpy_dealloc): XDECREF on the new xmethods field.
5165 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
5166 field.
5167 (objfpy_get_xmethods): New function.
5168 (objfile_getset): New entry 'xmethods'.
5169 * python/py-progspace.c (pspace_object): New field 'xmethods'.
5170 (pspy_dealloc): XDECREF on the new xmethods field.
5171 (pspy_new, pspace_to_pspace_object): Initialize xmethods
5172 field.
5173 (pspy_get_xmethods): New function.
5174 (pspace_getset): New entry 'xmethods'.
5175 * python/python-internal.h: Add declarations for new functions.
5176 * python/python.c (_initialize_python): Invoke
5177 gdbpy_initialize_xmethods.
5178 * python/lib/gdb/__init__.py (xmethods): New
5179 attribute.
5180 * python/lib/gdb/xmethod.py: New file.
5181 * python/lib/gdb/command/xmethods.py: New file.
5182
58992dc5
SC
51832014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5184
5185 * eval.c (evaluate_subexp_standard): Call the xmethod if the
5186 best match method returned by find_overload_match is an xmethod.
5187 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
5188 the best matching operator returned by find_overload_match is an
5189 xmethod.
5190 * valops.c: #include "extension.h".
5191 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
5192 Return void. The list of matching source methods is returned in
5193 "fn_list" and a vector of matching debug method workers is
5194 returned in "xm_worker_vec". Update all callers.
5195 (value_find_oload_method_list): Likewise.
5196 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
5197 non-NULL, then the index of the best matching method in this
5198 vector is returned. Update all callers.
5199 (find_overload_match): Include xmethods while performing overload
5200 resolution.
5201
e81e7f5e
SC
52022014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5203
5204 * defs.h (enum lval_type): New enumerator "lval_xcallable".
5205 * extension-priv.h (struct extension_language_ops): Add the
5206 xmethod interface.
5207 * extension.c (new_xmethod_worker, clone_xmethod_worker,
5208 get_matching_xmethod_workers, get_xmethod_argtypes,
5209 invoke_xmethod, free_xmethod_worker,
5210 free_xmethod_worker_vec): New functions.
5211 * extension.h: #include "common/vec.h".
5212 New function declarations.
5213 (struct xmethod_worker): New struct.
5214 (VEC (xmethod_worker_ptr)): New vector type.
5215 (xmethod_worker_ptr): New typedef.
5216 (xmethod_worker_vec): Likewise.
5217 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
5218 builtin_type.
5219 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
5220 (struct builtin_type): New field "xmethod".
5221 * valarith.c (value_ptradd): Assert that the value argument is not
5222 lval_xcallable.
5223 * valops.c (value_must_coerce_to_target): Return 0 for
5224 lval_xcallable values.
5225 * value.c (struct value): New field XM_WORKER in the field
5226 LOCATION.
5227 (value_address, value_raw_address): Return 0 for lval_xcallable
5228 values.
5229 (set_value_address): Assert that the value is not an
5230 lval_xcallable.
5231 (value_free): Free the associated xmethod worker when freeing
5232 lval_xcallable values.
5233 (set_value_component_location): Assert that the WHOLE value is not
5234 lval_xcallable.
5235 (value_of_xmethod, call_xmethod): New functions.
5236 * value.h: Declare "struct xmethod_worker".
5237 Declare new functions value_of_xmethod, call_xmethod.
5238
ef370185
JB
52392014-06-03 Joel Brobecker <brobecker@adacore.com>
5240 Pedro Alves <palves@redhat.com>
5241
5242 PR breakpoints/17000
5243 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
5244 New function, extracted from software_breakpoint_inserted_here_p.
5245 (software_breakpoint_inserted_here_p): Replace factored out code
5246 by call to find_non_raw_software_breakpoint_inserted_here.
5247 (bp_target_info_copy_insertion_state): New function.
5248 (bkpt_insert_location): Handle the case of a single-step
5249 breakpoint already inserted at the same address.
5250 (bkpt_remove_location): Handle the case of a single-step
5251 breakpoint still inserted at the same address.
5252 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
5253 breakpoint already inserted at the same address.
5254 (deprecated_remove_raw_breakpoint): Handle the case of a
5255 non-raw breakpoint still inserted at the same address.
5256 (find_single_step_breakpoint): New function, extracted from
5257 single_step_breakpoint_inserted_here_p.
5258 (find_single_step_breakpoint): New function,
5259 factored out from single_step_breakpoint_inserted_here_p.
5260 (single_step_breakpoint_inserted_here_p): Reimplement.
5261
1e2ccb61
BM
52622014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5263
5264 Pushed by Joel Brobecker <brobecker@adacore.com>
5265 * source.c (show_substitute_path_command): Fix display of matching
5266 substitution rules.
5267
d3448d85
GB
52682014-06-03 Gary Benson <gbenson@redhat.com>
5269
5270 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
5271
06eb1586
DE
52722014-06-02 Doug Evans <xdje42@gmail.com>
5273
5274 Add parameter support for Guile.
5275 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
5276 (SUBDIR_GUILE_SRCS): Add scm-param.c.
5277 (scm-param.o): New rule.
5278 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
5279 (gdbscm_misc_error): Declare.
5280 (gdbscm_canonicalize_command_name): Declare.
5281 (gdbscm_scm_to_host_string): Declare.
5282 (gdbscm_scm_from_host_string): Declare.
5283 (gdbscm_initialize_parameters): Declare.
5284 * guile/guile.c (initialize_gdb_module): Call
5285 gdbscm_initialize_parameters.
5286 * guile/lib/gdb.scm: Export parameter symbols.
5287 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
5288 cmdscm_canonicalize_name and made public. All callers updated.
5289 * guile/scm-exception.c (gdbscm_misc_error): New function.
5290 * guile/scm-param.c: New file.
5291 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
5292 (gdbscm_scm_to_host_string): New function.
5293 (gdbscm_scm_from_host_string): New function.
5294 * scm-utils.c (gdbscm_gc_dup_argv): New function.
5295
e698b8c4
DE
52962014-06-02 Doug Evans <xdje42@gmail.com>
5297
5298 Add command support for Guile.
5299 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
5300 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
5301 (scm-cmd.o): New rule.
5302 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
5303 (gdbscm_user_error_p): Declare.
5304 (gdbscm_parse_command_name): Declare.
5305 (gdbscm_valid_command_class_p): Declare.
5306 (gdbscm_initialize_commands): Declare.
5307 * guile/guile.c (initialize_gdb_module): Call
5308 gdbscm_initialize_commands.
5309 * guile/lib/gdb.scm: Export command symbols.
5310 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
5311 (throw-user-error): New function.
5312 * guile/scm-cmd.c: New file.
5313 * guile/scm-exception.c (user_error_symbol): New static global.
5314 (gdbscm_user_error_p): New function.
5315 (gdbscm_initialize_exceptions): Set user_error_symbol.
5316 * scm-utils.c (gdbscm_gc_xstrdup): New function.
5317
fb1f94b0
PM
53182014-06-02 Phil Muldoon <pmuldoon@redhat.com>
5319
5320 * top.c (command_loop): Handle comments here...
5321 (command_line_input): ... not here.
5322
ded03782
DE
53232014-06-02 Doug Evans <xdje42@gmail.com>
5324
5325 Add progspace support for Guile.
5326 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
5327 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
5328 (scm-progspace.o): New rule.
5329 * guile/guile-internal.h (pspace_smob): New typedef.
5330 (psscm_pspace_smob_pretty_printers): Declare.
5331 (psscm_pspace_smob_from_pspace): Declare.
5332 (psscm_scm_from_pspace): Declare.
5333 * guile/guile.c (initialize_gdb_module): Call
5334 gdbscm_initialize_pspaces.
5335 * guile/lib/gdb.scm: Export progspace symbols.
5336 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
5337 support.
5338 (append-pretty-printer!): Ditto.
5339 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
5340 Implement.
5341 * guile/scm-progspace.c: New file.
5342
397998fc
AM
53432014-06-03 Alan Modra <amodra@gmail.com>
5344
5345 * ppc64-tdep.c (ppc64_standard_linkage8): New.
5346 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
5347
6aa5f3a6
DE
53482014-06-02 Doug Evans <dje@google.com>
5349
5350 Add support for skeletonless type units.
5351 * dwarf2read.c (struct dwarf2_per_objfile): New member
5352 n_allocated_type_units.
5353 (struct dwarf2_per_objfile) <tu_stats>: New member
5354 nr_all_type_units_reallocs.
5355 (create_signatured_type_table_from_index): Initialize
5356 n_allocated_type_units
5357 (create_all_type_units): Ditto.
5358 (add_type_unit): Move up in file. New arg slot.
5359 All callers updated. Increase space for all_type_units more
5360 efficiently.
5361 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
5362 (lookup_dwo_signatured_type): Handle skeletonless TUs.
5363 (lookup_dwp_signatured_type): Ditto.
5364 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
5365 All callers updated.
5366 (build_type_psymtabs_1): Leave type_unit_groups as
5367 NULL if no TUs present.
5368 (print_tu_stats): New function.
5369 (process_skeletonless_type_unit): New function.
5370 (process_dwo_file_for_skeletonless_type_units): New
5371 function.
5372 (process_skeletonless_type_units): New function.
5373 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
5374 Call print tu_stats if debugging enabled.
5375
41fac0cf
PA
53762014-06-02 Pedro Alves <palves@redhat.com>
5377
5378 * breakpoint.c (build_target_command_list): Don't build a command
5379 list if we have any duplicate location that isn't a dprintf.
5380
cd1608cc
PA
53812014-06-02 Pedro Alves <palves@redhat.com>
5382
5383 * breakpoint.c (dprintf_breakpoint_hit): New function.
5384 (initialize_breakpoint_ops): Install it as dprintf's
5385 breakpoint_hit method.
5386
486ef3b9
JB
53872014-06-02 Joel Brobecker <brobecker@adacore.com>
5388
5389 * source.c (substitute_path_rule_matches): Simplify using
5390 filename_ncmp instead of FILENAME_CMP.
5391
230cd560
JB
53922014-06-02 Joel Brobecker <brobecker@adacore.com>
5393
5394 * source.c (substitute_path_rule_matches): Remove trailing spaces.
5395
16954d5d
LC
53962014-06-01 Ludovic Courtès <ludo@gnu.org>
5397
5398 * configure.ac: When Guile is available, check for the
5399 availability of 'scm_new_smob'.
5400 * configure, config.h.in: Regenerate.
5401 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
5402 function.
5403
53e8a631
AB
54042014-05-30 Andrew Burgess <aburgess@broadcom.com>
5405
5406 * frame.c (struct frame_info): Add stop_string field.
5407 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
5408 (get_prev_frame_always): Old content moved into
5409 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
5410 TRY_CATCH, handle MEMORY_ERROR exceptions.
5411 (frame_stop_reason_string): New function definition.
5412 * frame.h (unwind_stop_reason_to_string): Extend comment to
5413 mention frame_stop_reason_string.
5414 (frame_stop_reason_string): New function declaration.
5415 * stack.c (frame_info): Switch to frame_stop_reason_string.
5416 (backtrace_command_1): Switch to frame_stop_reason_string.
5417 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
5418 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
5419 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
5420
70e38b8e
AB
54212014-05-30 Andrew Burgess <aburgess@broadcom.com>
5422
5423 * frame.c (frame_stop_reason_string): Rename to ...
5424 (unwind_stop_reason_to_string): this.
5425 * frame.h (frame_stop_reason_string): Rename to ...
5426 (unwind_stop_reason_to_string): this.
5427 * stack.c (frame_info): Update call to frame_stop_reason_string.
5428 (backtrace_command_1): Likewise.
5429 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
5430 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
5431
938f0e2f
AB
54322014-05-30 Andrew Burgess <aburgess@broadcom.com>
5433
5434 * frame.c (remove_prev_frame): New function.
5435 (get_prev_frame_if_no_cycle): Create / discard cleanup using
5436 remove_prev_frame.
5437
a09dd441
PA
54382014-05-29 Pedro Alves <palves@redhat.com>
5439
5440 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
5441 and make it const. When a single-step decays to a continue,
5442 clear 'step', not 'hw_step'. Pass whether the caller wanted
5443 to step to user_visible_resume_ptid, not what we ask the
5444 target to do.
5445
bdc36728
PA
54462014-05-29 Pedro Alves <palves@redhat.com>
5447
5448 * infrun.c (process_event_stop_test, handle_step_into_function)
5449 (handle_step_into_function_backward): Adjust.
5450 Don't set the even thread's stop_step and call stop_waiting before
5451 calling end_stepping_range. Instead do that ...
5452 (end_stepping_range): ... here. Take an ecs pointer parameter.
5453
22bcd14b
PA
54542014-05-29 Pedro Alves <palves@redhat.com>
5455
5456 * infrun.c (stop_stepping): Rename to ...
5457 (stop_waiting): ... this.
5458 (proceed): Update comment.
5459 (process_event_stop_test, handle_inferior_event)
5460 (handle_signal_stop, handle_step_into_function)
5461 (handle_step_into_function_backward): Update.
5462
4ae57c05
PA
54632014-05-29 Pedro Alves <palves@redhat.com>
5464
5465 * infcall.c (run_inferior_call): Don't check whether the current
5466 thread is running after the proceed call.
5467
329ea579
PA
54682014-05-29 Pedro Alves <palves@redhat.com>
5469 Tom Tromey <tromey@redhat.com>
5470
5471 * NEWS: Mention "maint set target-async", "set mi-async", and that
5472 background execution commands are now always available.
5473 * target.h (target_async_permitted): Update comment.
5474 * target.c (target_async_permitted, target_async_permitted_1):
5475 Default to 1.
5476 (set_target_async_command): Rename to ...
5477 (maint_set_target_async_command): ... this.
5478 (show_target_async_command): Rename to ...
5479 (maint_show_target_async_command): ... this.
5480 (_initialize_target): Adjust.
5481 * infcmd.c (prepare_execution_command): Make extern.
5482 * inferior.h (prepare_execution_command): Declare.
5483 * infrun.c (set_observer_mode): Leave target async alone.
5484 * mi/mi-interp.c (mi_interpreter_init): Install
5485 mi_on_sync_execution_done as sync_execution_done observer.
5486 (mi_on_sync_execution_done): New function.
5487 (mi_execute_command_input_handler): Don't print the prompt if we
5488 just started a synchronous command with an async target.
5489 (mi_on_resume): Check sync_execution before printing prompt.
5490 * mi/mi-main.h (mi_async_p): Declare.
5491 * mi/mi-main.c: Include gdbcmd.h.
5492 (mi_async_p): New function.
5493 (mi_async, mi_async_1): New globals.
5494 (set_mi_async_command, show_mi_async_command, mi_async): New
5495 functions.
5496 (exec_continue): Call prepare_execution_command.
5497 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
5498 (mi_execute_async_cli_command): Use mi_async_p.
5499 (_initialize_mi_main): Install "set mi-async". Make
5500 "target-async" a deprecated alias.
5501
92bcb5f9
PA
55022014-05-29 Pedro Alves <palves@redhat.com>
5503
5504 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
5505 (_initialize_cli_interp): Adjust.
5506 * event-loop.c: Include "observer.h".
5507 (start_event_loop): Notify 'command_error' observers instead of
5508 calling display_gdb_prompt. Remove FIXME comment.
5509 * event-top.c (display_gdb_prompt): Remove call into the
5510 interpreters.
5511 * inf-loop.c: Include "observer.h".
5512 (inferior_event_handler): Notify 'command_error' observers instead
5513 of calling display_gdb_prompt.
5514 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
5515 observers instead of calling display_gdb_prompt.
5516 * interps.c (interp_set): Don't call display_gdb_prompt.
5517 (current_interp_display_prompt_p): Delete.
5518 * interps.h (interp_prompt_p): Delete declaration.
5519 (interp_prompt_p_ftype): Delete.
5520 (struct interp_procs) <prompt_proc_p>: Delete field.
5521 (current_interp_display_prompt_p): Delete declaration.
5522 * mi-interp.c (mi_interpreter_prompt_p): Delete.
5523 (_initialize_mi_interp): Adjust.
5524 * tui-interp.c (tui_init): Install 'sync_execution_done' and
5525 'command_error' observers.
5526 (tui_on_sync_execution_done, tui_on_command_error): New
5527 functions.
5528 (tui_display_prompt_p): Delete.
5529 (_initialize_tui_interp): Adjust.
5530
fd664c91
PA
55312014-05-29 Pedro Alves <palves@redhat.com>
5532
5533 PR gdb/13860
5534 * cli/cli-interp.c: Include infrun.h and observer.h.
5535 (cli_uiout, cli_interp): New globals.
5536 (cli_on_signal_received, cli_on_end_stepping_range)
5537 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
5538 functions.
5539 (cli_interpreter_init): Install them as 'end_stepping_range',
5540 'signal_received' 'signal_exited', 'exited' and 'no_history'
5541 observers.
5542 (_initialize_cli_interp): Remove cli_interp local.
5543 * infrun.c (handle_inferior_event): Call the several stop reason
5544 observers instead of printing the stop reason directly.
5545 (end_stepping_range): New function.
5546 (print_end_stepping_range_reason, print_signal_exited_reason)
5547 (print_exited_reason, print_signal_received_reason)
5548 (print_no_history_reason): Make static, and add an uiout
5549 parameter. Print to that instead of to CURRENT_UIOUT.
5550 * infrun.h (print_end_stepping_range_reason)
5551 (print_signal_exited_reason, print_exited_reason)
5552 (print_signal_received_reason print_no_history_reason): New
5553 declarations.
5554 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
5555 'mi_uiout'.
5556 <cli_uiout>: New field.
5557 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
5558 uiout for CLI output. Install 'signal_received',
5559 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
5560 observers.
5561 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
5562 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
5563 (mi_on_no_history): New functions.
5564 (ui_out_free_cleanup): Delete function.
5565 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
5566 instead use the one already stored in the MI interpreter data.
5567 (mi_ui_out): Adjust.
5568 * tui/tui-interp.c: Include infrun.h and observer.h.
5569 (tui_interp): New global.
5570 (tui_on_signal_received, tui_on_end_stepping_range)
5571 (tui_on_signal_exited, tui_on_exited)
5572 (tui_on_no_history): New functions.
5573 (tui_init): Install them as 'end_stepping_range',
5574 'signal_received' 'signal_exited', 'exited' and 'no_history'
5575 observers.
5576 (_initialize_tui_interp): Delete tui_interp local.
5577
8817a6f2
PA
55782014-05-29 Pedro Alves <palves@redhat.com>
5579
5580 PR gdb/15713
5581 * linux-nat.c (linux_nat_resume_callback): Rename the second
5582 parameter to 'except'. Skip LP if it points to EXCEPT.
5583 (linux_nat_resume): Don't mark the event lwp as not stopped
5584 before resuming sibling lwps. Instead ask
5585 linux_nat_resume_callback to skip the event lwp. Mark it as not
5586 stopped after actually resuming it.
5587 (linux_handle_syscall_trap): Mark the lwp as not stopped after
5588 resuming it.
5589 (wait_lwp): Mark the lwp as stopped here.
5590 (stop_wait_callback): Mark the lwp as not stopped right after
5591 resuming it. Don't mark lwps as stopped here.
5592 (linux_nat_filter_event): Mark the lwp as stopped earlier.
5593 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
5594
251bde03
PA
55952014-05-29 Pedro Alves <palves@redhat.com>
5596
5597 PR PR15693
5598 * infrun.c (resume): Determine how much to resume depending on
5599 whether the caller wanted a step, not whether we can hardware step
5600 the target. Mark all threads that we intend to run as running,
5601 unless we're calling an inferior function.
5602 (normal_stop): If the thread is running an infcall, don't finish
5603 thread state.
5604 * target.c (target_resume): Don't mark threads as running here.
5605
7f3c0343
JB
56062014-05-28 Joel Brobecker <brobecker@adacore.com>
5607
5608 * serial.c (_initialize_serial): Remove support for
5609 the "set remotebaud" and "show remotebaud" commands.
5610 * NEWS: Add entry documenting the removal of that command.
5611
ee34b3f9
YQ
56122014-05-28 Yao Qi <yao@codesourcery.com>
5613
5614 * charset.c: Fix typo in comments.
5615
add6c04d
GB
56162014-05-27 Gary Benson <gbenson@redhat.com>
5617
5618 * utils.c (internal_vproblem): Prompt for a bug report.
5619
92c48fc5
AW
56202014-05-26 Andy Wingo <wingo@igalia.com>
5621
5622 * guile/scm-arch.c (arscm_mark_arch_smob):
5623 * guile/scm-block.c (bkscm_mark_block_smob)
5624 (bkscm_mark_block_syms_progress_smob):
5625 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
5626 * guile/scm-exception.c (exscm_mark_exception_smob):
5627 * guile/scm-frame.c (frscm_mark_frame_smob):
5628 * guile/scm-iterator.c (itscm_mark_iterator_smob):
5629 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
5630 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
5631 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
5632 (ppscm_mark_pretty_printer_worker_smob):
5633 * guile/scm-symbol.c (syscm_mark_symbol_smob):
5634 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
5635 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
5636 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
5637 mark functions.
5638 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
5639 function.
5640
b2715b27
AW
56412014-05-26 Andy Wingo <wingo@igalia.com>
5642 Doug Evans <xdje42@gmail.com>
5643
5644 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
5645 empty_base_class. All uses updated.
5646 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
5647 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
5648 Adapt all callers.
5649 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
5650 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
5651 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
5652 (gdbscm_gsmob_has_property_p, add_property_name)
5653 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
5654 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
5655 (gdb-object-has-property?, gdb-object-properties): Remove.
5656 (gdb-object-kind): Renamed from gsmob-kind.
5657
214ab2da
AW
56582014-05-26 Andy Wingo <wingo@igalia.com>
5659
5660 * configure.ac (try_guile_versions): Allow building with guile 2.2.
5661 * configure: Regenerate.
5662
589fdceb
MM
56632014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5664
5665 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
5666
67b5c0c1
MM
56672014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5668
5669 * record-btrace.c (record_btrace_allow_memory_access): Remove.
5670 (replay_memory_access_read_only, replay_memory_access_read_write)
5671 (replay_memory_access_types, replay_memory_access)
5672 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
5673 (cmd_set_record_btrace, cmd_show_record_btrace)
5674 (cmd_show_replay_memory_access): New.
5675 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
5676 (record_btrace_remove_breakpoint): Replace
5677 record_btrace_allow_memory_access with replay_memory_access.
5678 (_initialize_record_btrace): Add commands.
5679 * NEWS: Announce it.
5680
036cd381
RR
56812014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5682
5683 * aarch64-linux-nat.c (asm/ptrace.h): Include.
5684
c77c1e42
RR
56852014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5686
5687 * MAINTAINERS (Write After Approval): Move self back from
5688 paper trail.
5689
45741a9c
PA
56902014-05-22 Pedro Alves <palves@redhat.com>
5691
5692 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
5693 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
5694 (disable_randomization, enum exec_direction_kind)
5695 (execution_direction, stop_registers, start_remote)
5696 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
5697 (wait_for_inferior, normal_stop, get_last_target_status)
5698 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
5699 (insert_step_resume_breakpoint_at_sal)
5700 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
5701 (set_step_info, print_stop_event, signal_stop_state)
5702 (signal_print_state, signal_pass_state, signal_stop_update)
5703 (signal_print_update, signal_pass_update)
5704 (update_signals_program_target, clear_exit_convenience_vars)
5705 (displaced_step_dump_bytes, update_observer_mode)
5706 (signal_catch_update, gdb_signal_from_command): Move
5707 declarations ...
5708 * infrun.h: ... to this new file.
5709 * amd64-tdep.c: Include infrun.h.
5710 * annotate.c: Include infrun.h.
5711 * arch-utils.c: Include infrun.h.
5712 * arm-linux-tdep.c: Include infrun.h.
5713 * arm-tdep.c: Include infrun.h.
5714 * break-catch-sig.c: Include infrun.h.
5715 * breakpoint.c: Include infrun.h.
5716 * common/agent.c: Include infrun.h instead of inferior.h.
5717 * corelow.c: Include infrun.h.
5718 * event-top.c: Include infrun.h.
5719 * go32-nat.c: Include infrun.h.
5720 * i386-tdep.c: Include infrun.h.
5721 * inf-loop.c: Include infrun.h.
5722 * infcall.c: Include infrun.h.
5723 * infcmd.c: Include infrun.h.
5724 * infrun.c: Include infrun.h.
5725 * linux-fork.c: Include infrun.h.
5726 * linux-nat.c: Include infrun.h.
5727 * linux-thread-db.c: Include infrun.h.
5728 * monitor.c: Include infrun.h.
5729 * nto-tdep.c: Include infrun.h.
5730 * procfs.c: Include infrun.h.
5731 * record-btrace.c: Include infrun.h.
5732 * record-full.c: Include infrun.h.
5733 * remote-m32r-sdi.c: Include infrun.h.
5734 * remote-mips.c: Include infrun.h.
5735 * remote-notif.c: Include infrun.h.
5736 * remote-sim.c: Include infrun.h.
5737 * remote.c: Include infrun.h.
5738 * reverse.c: Include infrun.h.
5739 * rs6000-tdep.c: Include infrun.h.
5740 * s390-linux-tdep.c: Include infrun.h.
5741 * solib-irix.c: Include infrun.h.
5742 * solib-osf.c: Include infrun.h.
5743 * solib-svr4.c: Include infrun.h.
5744 * target.c: Include infrun.h.
5745 * top.c: Include infrun.h.
5746 * windows-nat.c: Include infrun.h.
5747 * mi/mi-interp.c: Include infrun.h.
5748 * mi/mi-main.c: Include infrun.h.
5749 * python/py-threadevent.c: Include infrun.h.
5750
98eb56a4
PA
57512014-05-22 Pedro Alves <palves@redhat.com>
5752
5753 * infrun.c (handle_inferior_event): Store the exit code for
5754 --return-child-result here, instead of ...
5755 (print_exited_reason): ... here.
5756
17b2616c
PA
57572014-05-21 Pedro Alves <palves@redhat.com>
5758
5759 PR gdb/13860
5760 * gdbthread.h (struct thread_control_state): New field
5761 `command_interp'.
5762 * infrun.c (follow_fork): Copy the new thread control field to the
5763 child fork thread.
5764 (clear_proceed_status_thread): Clear the new thread control field.
5765 (proceed): Set the new thread control field.
5766 * interps.h (command_interp): Declare.
5767 * interps.c (command_interpreter): New global.
5768 (command_interp): New function.
5769 (interp_exec): Set `command_interpreter' while here.
5770 * cli-out.c (cli_uiout_dtor): New function.
5771 (cli_ui_out_impl): Install it.
5772 * mi/mi-interp.c: Include cli-out.h.
5773 (mi_cmd_interpreter_exec): Add comment.
5774 (restore_current_uiout_cleanup): New function.
5775 (ui_out_free_cleanup): New function.
5776 (mi_on_normal_stop): If finishing an execution command started by
5777 a CLI command, or any kind of breakpoint-like event triggered,
5778 print the stop event to the output (CLI) stream.
5779 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
5780
5166082f
PA
57812014-05-21 Pedro Alves <palves@redhat.com>
5782
5783 * cli/cli-cmds.c (list_command): Handle the first "list" after the
5784 current source line having changed.
5785 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
5786 * infrun.c (normal_stop): Adjust call to
5787 set_current_sal_from_frame.
5788 * source.c (clear_lines_listed_range): New function.
5789 (set_current_source_symtab_and_line, identify_source_line): Clear
5790 the lines listed range.
5791 (line_info): Handle the first "info line" after the current source
5792 line having changed.
5793 * stack.c (print_stack_frame): Remove center handling.
5794 (set_current_sal_from_frame): Remove 'center' parameter. Don't
5795 center sal.line.
5796
c1ee2fb3
PA
57972014-05-21 Pedro Alves <palves@redhat.com>
5798
5799 * inf-child.c (inf_child_mourn_inferior): New function.
5800 * inf-child.h (inf_child_mourn_inferior): New declaration.
5801 * darwin-nat.c (darwin_mourn_inferior): Use
5802 inf_child_mourn_inferior.
5803 * gnu-nat.c (gnu_mourn_inferior): Likewise.
5804 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
5805 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
5806 * nto-procfs.c (procfs_mourn_inferior): Likewise.
5807 * windows-nat.c (windows_mourn_inferior): Likewise.
5808
5c6d4fb2
DE
58092014-05-21 Doug Evans <xdje42@gmail.com>
5810
250748cb 5811 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 5812
4a2722c5
DE
58132014-05-21 Doug Evans <xdje42@gmail.com>
5814
17292b30 5815 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
5816 (gdbscm_out_of_range_error): Ditto.
5817 (gdbscm_memory_error): Ditto.
250748cb
DE
5818 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
5819 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
5820 (gdbscm_out_of_range_error): Update.
5821 (gdbscm_memory_error): Update.
5822 (gdbscm_scm_to_target_string_unsafe): Delete.
5823
6a3cb8e8
PA
58242014-05-21 Pedro Alves <palves@redhat.com>
5825
5826 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
5827 globals.
5828 (inf_child_open_target): New function.
5829 (inf_child_open): Use inf_child_open_target to push the target
5830 instead of erroring out.
5831 (inf_child_disconnect, inf_child_close)
5832 (inf_child_maybe_unpush_target): New functions.
5833 (inf_child_target): Install inf_child_disconnect and
5834 inf_child_close. Store a pointer to the returned object.
5835 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
5836 declarations.
5837 * target.c (auto_connect_native_target): New global.
5838 (show_default_run_target): New function.
5839 (find_default_run_target): Return NULL if automatically connecting
5840 to the native target is disabled.
5841 (_initialize_target): Install set/show auto-connect-native-target.
5842 * NEWS: Mention "set auto-connect-native-target", and "target
5843 native".
5844 * linux-nat.c (super_close): New global.
5845 (linux_nat_close): Call super_close.
5846 (linux_nat_add_target): Store a pointer to the base class's
5847 to_close method.
5848 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
5849 inf_child_maybe_unpush.
5850 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
5851 already pushed.
5852 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
5853 the inferior. Use inf_child_maybe_unpush_target.
5854 (inf_ttrace_attach): Don't push the target if it is already
5855 pushed.
5856 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
5857 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
5858 after mourning the inferior. Use inf_child_maybe_unpush_target.
5859 (darwin_attach_pid): Don't push the target if it is already
5860 pushed.
5861 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
5862 mourning the inferior. Use inf_child_maybe_unpush_target.
5863 (gnu_detach): Use inf_child_maybe_unpush_target.
5864 * go32-nat.c (go32_create_inferior): Don't push the target if it
5865 is already pushed.
5866 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
5867 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
5868 (procfs_open): Rename to ...
5869 (procfs_open_1): ... this. Add target_ops parameter. Adjust
5870 comments. Can target_preopen before changing node. Call
5871 inf_child_open_target to push the target explicitly.
5872 (procfs_attach): Don't push the target if it is already pushed.
5873 (procfs_detach): Use inf_child_maybe_unpush_target.
5874 (procfs_create_inferior): Don't push the target if it is already
5875 pushed.
5876 (nto_native_ops): New global.
5877 (procfs_open): Reimplement.
5878 (procfs_native_open): New function.
5879 (init_procfs_targets): Install procfs_native_open as to_open of
5880 "target native". Store a pointer to the "native" target in
5881 nto_native_ops.
5882 * procfs.c (procfs_attach): Don't push the target if it is already
5883 pushed.
5884 (procfs_detach): Use inf_child_maybe_unpush_target.
5885 (procfs_mourn_inferior): Only unpush the target after mourning the
5886 inferior. Use inf_child_maybe_unpush_target.
5887 (procfs_init_inferior): Don't push the target if it is already
5888 pushed.
5889 * windows-nat.c (do_initial_windows_stuff): Don't push the target
5890 if it is already pushed.
5891
930ee1b1
PA
58922014-05-21 Pedro Alves <palves@redhat.com>
5893
5894 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
5895 and "procfs" targets are now called "native" instead.
5896
1f5d1b13
PA
58972014-05-21 Pedro Alves <palves@redhat.com>
5898
5899 * go32-nat.c (go32_open): Delete.
5900 (go32_target): Don't override the to_open method.
5901
132f8e03
PA
59022014-05-21 Pedro Alves <palves@redhat.com>
5903
5904 * nto-procfs.c (procfs_can_run): New function.
5905 (nto_procfs_ops): New global.
5906 (init_procfs_targets): New, based on procfs_target. Install
5907 "target native" in addition to "target procfs".
5908 (_initialize_procfs): Call init_procfs_targets instead of adding
5909 the target here.
5910
03c136c3
PA
59112014-05-21 Pedro Alves <palves@redhat.com>
5912
5913 * windows-nat.c (windows_target): Don't override to_shortname,
5914 to_longname or to_doc.
5915
a635d0f3
PA
59162014-05-21 Pedro Alves <palves@redhat.com>
5917
5918 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
5919 to_doc.
5920
4f9b5133
PA
59212014-05-21 Pedro Alves <palves@redhat.com>
5922
5923 * darwin-nat.c (_initialize_darwin_inferior): Don't override
5924 to_shortname, to_longname or to_doc.
5925
bc85afde
PA
59262014-05-21 Pedro Alves <palves@redhat.com>
5927
5928 * go32-nat.c (go32_target): Don't override to_shortname,
5929 to_longname or to_doc.
5930
4ebfc96e
PA
59312014-05-21 Pedro Alves <palves@redhat.com>
5932
5933 * inf-child.c (inf_child_open): Remove mention of "child".
5934 (inf_child_target): Rename target to "native" instead of "child".
5935
2648dfed
AA
59362014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5937
5938 * Makefile.in (SFILES): Delete "regset.c".
5939 (COMMON_OBS): Delete "regset.o".
5940 * regset.c: Remove.
5941 * regset.h (regset_alloc): Delete prototype.
5942
b13feb94
AA
59432014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5944
5945 * sparc-linux-tdep.c (sparc32_linux_gregset)
5946 (sparc32_linux_fpregset): New static regset structures.
5947 (sparc32_linux_init_abi): Drop dynamic regset allocations.
5948 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
5949 'fpregset' fields.
5950 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
5951 (sparc64_linux_fpregset): New static regset structures.
5952 (sparc64_linux_init_abi): Drop dynamic regset allocations.
5953 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
5954 New static regset structures.
5955 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
5956 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
5957 New static regset structures.
5958 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
5959 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
5960 New static regset structures.
5961 (sparc64obsd_init_abi): Drop dynamic regset allocations.
5962 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
5963 New static regset structures.
5964 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
5965
b4fd25c9
AA
59662014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
5967
5968 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
5969 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
5970 register maps ("regmaps") from "*regset" to "*regmap". Do this
5971 for all regmap types and variables.
5972 * sparc-linux-tdep.c (sparc32_linux_step_trap)
5973 (sparc32_linux_supply_core_gregset)
5974 (sparc32_linux_collect_core_gregset)
5975 (sparc32_linux_supply_core_fpregset)
5976 (sparc32_linux_collect_core_fpregset): Likewise.
5977 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
5978 (sparc_gregmap, sparc_fpregmap): ... these.
5979 (sparc_supply_gregset, sparc_collect_gregset)
5980 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5981 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
5982 (_initialize_sparc_nat): Rename regmaps.
5983 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
5984 (sparc_gregmap, sparc_fpregmap): ... these.
5985 (sparc_supply_gregset, sparc_collect_gregset)
5986 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
5987 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
5988 Rename macros to...
5989 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
5990 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
5991 Likewise.
5992 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
5993 Rename to...
5994 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
5995 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
5996 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
5997 regmaps.
5998 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
5999 (sparc32_bsd_fpregset): Rename to...
6000 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6001 (sparc32_bsd_fpregmap): ... these.
6002 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
6003 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6004 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
6005 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
6006 (struct sparc_gregmap, struct sparc_fpregmap)
6007 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6008 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
6009 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
6010 (sparc32_supply_regset, sparc32_collect_gregset)
6011 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
6012 prototypes.
6013 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
6014 (sparc64_linux_ptrace_gregmap): ... this.
6015 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
6016 (_initialize_sparc64_linux_nat): Rename regmaps.
6017 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
6018 (sparc64_linux_core_gregmap): ... this.
6019 (sparc64_linux_supply_core_gregset)
6020 (sparc64_linux_collect_core_gregset)
6021 (sparc64_linux_supply_core_fpregset)
6022 (sparc64_linux_collect_core_fpregset): Rename regmaps.
6023 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
6024 (sparc64_sol2_fpregset): Rename to...
6025 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
6026 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
6027 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
6028 regmaps.
6029 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
6030 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
6031 (sparc64_bsd_fpregset): Rename to...
6032 (struct sparc_gregmap, sparc64_sol2_gregmap)
6033 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
6034 (sparc64_bsd_fpregmap): ... these.
6035 (sparc64_supply_gregset, sparc64_collect_gregset)
6036 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
6037 prototypes.
6038 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
6039 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
6040 (sparc64fbsd_gregmap): ... this.
6041 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
6042 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
6043 Rename regmaps.
6044 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
6045 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
6046 (sparc64nbsd_collect_fpregset): Likewise.
6047 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
6048 (sparc64nbsd_gregmap): ... this.
6049 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
6050 regmaps.
6051 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
6052 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
6053 (sparc64obsd_gregmap): ... this.
6054 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
6055 regmaps.
6056 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
6057 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
6058 (sparc32nbsd_gregmap): ... this.
6059 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
6060 regmaps.
6061
8fea3224
AA
60622014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6063
6064 * score-tdep.c (score7_linux_gregset): New static regset
6065 structure.
6066 (score7_linux_regset_from_core_section): Remove dynamic regset
6067 allocation.
6068 (score_gdbarch_init): Drop allocation of tdep structure.
6069 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
6070
24534243
AA
60712014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6072
6073 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
6074 regset structures.
6075 (am33_regset_from_core_section): Remove dynamic regset
6076 allocations.
6077
b7195f27
AA
60782014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6079
6080 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
6081 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
6082 structures.
6083 (mips_linux_regset_from_core_section): Remove dynamic regset
6084 allocations.
6085 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6086 'gregset64', 'fpregset', and 'fpregset64'.
6087 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
6088 deleted tdep fields.
6089
ecc37a5a
AA
60902014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6091
6092 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
6093 regset structures.
6094 (amd64_regset_from_core_section): Remove dynamic regset
6095 allocations.
6096 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
6097 structure.
6098 (amd64obsd_regset_from_core_section): Remove dynamic regset
6099 allocation.
6100 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
6101 Likewise.
6102 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
6103 x86-common regset supply function.
6104 * i386-tdep.c (i386_collect_gregset): Make static.
6105 (i386_gregset): New global regset structure.
6106 (i386_fpregset, i386_xstateregset): New static regset structures.
6107 (i386_regset_from_core_section): Remove dynamic regset
6108 allocations.
6109 (i386_gdbarch_init): Remove initialization of tdep fields
6110 'gregset', 'fpregset', and 'xstateregset'.
6111 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6112 'fpregset', and 'xstateregset'.
6113 (i386_collect_gregset): Remove prototype.
6114 (i386_gregset): New declaration.
6115 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
6116 structure.
6117 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
6118 allocation.
6119
b7611c43
AA
61202014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6121
6122 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
6123 (arm_linux_vfpregset): New static regset structures.
6124 (arm_linux_regset_from_core_section): Remove dynamic allocation of
6125 regset structures.
6126 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
6127 and 'vfpregset' fields.
6128
a069a2bd
AA
61292014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6130
6131 * aarch64-linux-tdep.c (aarch64_linux_gregset)
6132 (aarch64_linux_fpregset): New static regset structures.
6133 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
6134 of regset structures.
6135 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
6136 'fpregset' fields.
6137
09424cff
AA
61382014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6139
6140 * regset.h (struct regset): Remove gdbarch field.
6141 * regset.c (regset_alloc): Drop initialization of gdbarch field.
6142 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
6143 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
6144 Likewise.
6145 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
6146 (ppc32_linux_fpregset, ppc32_linux_vrregset)
6147 (ppc32_linux_vsxregset): Likewise.
6148 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
6149 via the regcache instead of the regset.
6150 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
6151 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
6152 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
6153 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
6154 Likewise.
6155
3ca7dae4
AA
61562014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6157
6158 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
6159 Constify structures.
6160 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
6161 (alphanbsd_aout_gregset): Likewise.
6162 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
6163 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
6164 Likewise.
6165 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
6166 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
6167 Likewise.
6168 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
6169 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
6170 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
6171 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
6172 * m88k-tdep.c (m88k_gregset): Likewise.
6173 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
6174 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
6175 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
6176 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
6177 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
6178 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
6179 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
6180 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
6181 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
6182 Likewise.
6183 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
6184 * sh-tdep.h (sh_corefile_gregset): Likewise.
6185 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
6186 * vax-tdep.c (vax_gregset): Likewise.
6187
5876f503
JK
61882014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6189
6190 Fix TLS access for -static -pthread.
6191 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
6192 (try_thread_db_load_1): Initialize it.
6193 (thread_db_get_thread_local_address): Call it if LM is zero.
6194 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
6195 * target.h (struct target_ops) (to_get_thread_local_address): Add
6196 load_module_addr comment.
6197
0256a6ac
PA
61982014-05-21 Pedro Alves <palves@redhat.com>
6199
6200 * dcache.c (dcache_read_memory_partial): If reading the cache line
6201 fails, fallback to reading just the memory the caller wanted.
6202
227533ac
DE
62032014-05-20 Doug Evans <dje@google.com>
6204
6205 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
6206 instead of get_current_arch.
6207
936d2992
PA
62082014-05-20 Pedro Alves <palves@redhat.com>
6209
6210 * NEWS: Mention that compare-sections now works with all targets.
6211
6212 * remote.c (PACKET_qCRC): New enum value.
6213 (remote_verify_memory): Don't send qCRC if the target has no
6214 execution. Use packet_support/packet_ok. If the target doesn't
6215 support the qCRC packet, fallback to a deep memory copy.
6216 (compare_sections_command): Say "target image" instead of "remote
6217 executable".
6218 (_initialize_remote): Add PACKET_qCRC to the list of config
6219 packets that have no associated command. Extend comment.
6220 * target.c (simple_verify_memory, default_verify_memory): New
6221 function.
6222 * target.h (struct target_ops) <to_verify_memory>: Default to
6223 default_verify_memory.
6224 (simple_verify_memory): New declaration.
6225 * target-delegates.c: Regenerate.
6226
e59fa00f
MM
62272014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6228
6229 * record-btrace.c (record_btrace_step_thread): Check for empty history.
6230
f2205de0
HZ
62312014-05-20 Hui Zhu <hui@codesourcery.com>
6232 Yao Qi <yao@codesourcery.com>
6233
6234 PR backtrace/16558
6235 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
6236 and change address of sp and pc.
6237
c4e54771
TT
62382014-05-19 Tom Tromey <tromey@redhat.com>
6239
6240 * gdbtypes.c (rank_function): Use XNEWVEC.
6241 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
6242
73051182
DE
62432014-05-19 Doug Evans <dje@google.com>
6244
6245 * dwarf2read.c (build_type_psymtabs_1): Renamed from
6246 build_type_unit_groups and moved closer to only caller. Remove
6247 arguments. All references updated. Remove outdated .gdb_index
6248 comment.
6249 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
6250 build_type_psymtabs_1.
6251
8832e7e3
DE
62522014-05-19 Doug Evans <dje@google.com>
6253
6254 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
6255 n_type_unit_groups, all_type_unit_groups. All uses removed.
6256 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
6257 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
6258 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
6259 (add_type_unit_group_to_table): Delete.
6260
cd8ae15e
DE
62612014-05-19 Doug Evans <dje@google.com>
6262
6263 * eval.c (evaluate_subexp_standard): Add some comments.
6264
08f4850b
DE
62652014-05-17 Doug Evans <xdje42@gmail.com>
6266
6267 * progspace.c (remove_program_space): Delete, unused.
6268 * progspace.h (remove_program_space): Ditto.
6269
bed8455c
DE
62702014-05-17 Doug Evans <xdje42@gmail.com>
6271
6272 * inferior.c (prune_inferiors): Fix comment.
6273 (remove_inferior_command): Call prune_program_spaces.
6274
8d551b02
DE
62752014-05-16 Doug Evans <dje@google.com>
6276
6277 New command line option -D.
6278 * NEWS: Mention it.
6279 * main.c (set_gdb_data_directory): New function.
6280 (captured_main): Recognize -D. Flag error for --data-directory "".
6281 Call set_gdb_data_directory.
6282 (print_gdb_help): Print --data-directory, -D.
6283 * main.h (set_gdb_data_directory): Declare.
6284 * top.c (staged_gdb_datadir): New static global.
6285 (set_gdb_datadir): Call set_gdb_data_directory
6286 (show_gdb_datadir): New function.
6287 (init_main): Update init of data-directory parameter.
6288
18848e28
GF
62892014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
6290
6291 Import the "dirfd" gnulib module.
6292 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
6293 * gnulib/aclocal.m4: Update.
6294 * gnulib/config.in: Update.
6295 * gnulib/configure: Update.
6296 * gnulib/import/Makefile.am: Update.
6297 * gnulib/import/Makefile.in: Update.
6298 * gnulib/import/dirfd.c: New.
6299 * gnulib/import/m4/dirfd.m4: New.
6300 * gnulib/import/m4/gnulib-cache.m4: Update.
6301 * gnulib/import/m4/gnulib-comp.m4: Update.
6302
95c64f92
YQ
63032014-05-16 Pierre Muller <muller@sourceware.org>
6304 Yao Qi <yao@codesourcery.com>
6305
6306 * valprint.c (print_wchar): Move the code on checking whether
6307 W is a printable wide char to the default branch of switch
6308 statement below. Call wchar_printable instead of gdb_iswprint.
6309
cac395ea
TM
63102014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
6311
19679eca 6312 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
6313 ldr.w and ldrd instructions.
6314
83655187
DE
63152014-05-15 Doug Evans <dje@google.com>
6316
6317 * dwarf2read.c (read_structure_type): Delete outdated comments.
6318
dd756689
TT
63192014-05-14 Tom Tromey <tromey@redhat.com>
6320
6321 * macrocmd.c (print_macro_definition): Reindent.
6322
75ddda77
DE
63232014-05-13 Doug Evans <xdje42@gmail.com>
6324
6325 * python/py-cmd.c (cmdpy_completer): Add comment.
6326 (completers): Make const.
6327
b0f16a3e
SM
63282014-05-13 Simon Marchi <simon.marchi@ericsson.com>
6329
6330 * infrun.c (resume): Remove should_resume (unused). Move up
6331 declaration of resume_ptid.
6332
033c3379
TT
63332014-05-13 Tom Tromey <tromey@redhat.com>
6334
6335 * language.h (unop_type_check): Remove.
6336 (binop_type_check): Don't declare.
6337
9b44a3a5
AA
63382014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
6339
6340 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
6341 call to regcache_raw_collect.
6342
303a33fa
SM
63432014-05-12 Simon Marchi <simon.marchi@ericsson.com>
6344
6345 * mi/mi-console.c (mi_console_raw_packet): Use the value from
6346 mi_console->quote as the quoting character.
6347
196100a0
SM
63482014-05-12 Simon Marchi <simon.marchi@ericsson.com>
6349
6350 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
6351
f989a1c8
TT
63522014-04-29 Tom Tromey <tromey@redhat.com>
6353
6354 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
6355 "show debug varobj".
6356
9404b58f
KM
63572014-05-07 Kyle McMartin <kyle@redhat.com>
6358
6359 Pushed by Joel Brobecker <brobecker@adacore.com>.
6360 * aarch64-tdep.c (aarch64_software_single_step): New function.
6361 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
6362 with aarch64_software_single_step.
6363
5e49ba57
JB
63642014-05-05 Joel Brobecker <brobecker@adacore.com>
6365
6366 GDB 7.7.1 released.
6367
c888a17d
KS
63682014-05-05 Keith Seitz <keiths@redhat.com>
6369
6370 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
6371 variable or history value is successfully parsed.
6372
290a839c
YQ
63732014-05-05 Yao Qi <yao@codesourcery.com>
6374 Pedro Alves <palves@redhat.com>
6375
6376 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
6377 address of blocks that intersects the requested range. Trim
6378 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
6379 sections.
6380 * ctf.c (ctf_xfer_partial): Likewise.
6381
91256dc2
YQ
63822014-05-05 Yao Qi <yao@codesourcery.com>
6383
6384 * printcmd.c (display_command): Remove the check to
6385 target_has_execution.
6386
07284463
MK
63872014-05-03 Mark Kettenis <kettenis@gnu.org>
6388
6389 * ppcobsd-nat.c: Include "obsd-nat.h".
6390 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
6391 add_target.
6392 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6393
30a1e6cc
SDJ
63942014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6395
6396 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
6397 and 16-bit signed and unsigned arguments. Update comment.
6398 (stap_parse_probe_arguments): Extend code to handle such
6399 arguments. Use warning instead of complaint to notify about
6400 unrecognized bitness.
6401
f33da99a
SDJ
64022014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6403
6404 PR breakpoints/16889
6405 * stap-probe.c (stap_parse_probe_arguments): Simplify
6406 check for non-prefixed probes (i.e., probes whose
6407 arguments do not start with "N@"). Always set the
6408 argument type to a sane value.
6409
95cf3b38
DT
64102014-05-01 David Taylor <dtaylor@emc.com>
6411
6412 * remote.c (compare_sections_command): Add -r option to compare
6413 all loadable read-only sections.
6414
1cfdf534
SC
64152014-04-30 Siva Chandra Reddy <sivachandra@google.com>
6416
6417 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
6418 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
6419 Update all callers.
6420 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
6421 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
6422 Remove unused CORE_ADDR argument. Update all callers.
6423
ca4f7f8b
PA
64242014-04-29 Pedro Alves <palves@redhat.com>
6425
6426 * remote.c (struct packet_config) <detect>: Extend comment.
6427 (add_packet_config_cmd): Don't set the config's detect or support
6428 fields here.
6429 (init_all_packet_configs): Also initialize the config's 'detect'
6430 field.
6431 (reset_all_packet_configs_support): New function.
6432 (remote_open_1): Call reset_all_packet_configs_support instead of
6433 init_all_packet_configs.
6434 (_initialize_remote): Initialize all packet configs. Assert that
6435 all packets have an associated command, except a few known
6436 outliers.
6437
11c1ba78
JB
64382014-04-28 Joel Brobecker <brobecker@adacore.com>
6439
6440 * dwarf2read.c (read_subrange_type): Handle dynamic
6441 DW_AT_lower_bound attributes.
6442
8739bc53
JB
64432014-04-28 Joel Brobecker <brobecker@adacore.com>
6444
6445 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
6446 dynamic bounds before computing its upper bound.
6447 (ada_discrete_type_low_bound): Same as above with the lower bound.
6448
6f8a3220
JB
64492014-04-28 Joel Brobecker <brobecker@adacore.com>
6450
6451 * dwarf2read.c (is_dynamic_type): Return true for dynamic
6452 range types. Adjust the array handling implementation to
6453 take advantage of this change.
6454 (resolve_dynamic_range): New function, mostly extracted from
6455 resolve_dynamic_bounds.
6456 (resolve_dynamic_array): New function, mostly extracted from
6457 resolve_dynamic_bounds.
6458 (resolve_dynamic_bounds): Delete.
6459 (resolve_dynamic_type): Reimplement. Add handling of
6460 TYPE_CODE_RANGE types.
6461
4d072ce4
JB
64622014-04-28 Joel Brobecker <brobecker@adacore.com>
6463
6464 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
6465 handling of parallel ___XA types.
6466
52865325
JB
64672014-04-28 Joel Brobecker <brobecker@adacore.com>
6468
6469 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
6470 unnecessary second call to static_unwrap_type.
6471
433e77fa
HZ
64722014-04-27 Hui Zhu <hui@codesourcery.com>
6473
6474 * stack.c (print_frame_info): Call do_gdb_disassembly with
6475 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
6476
b51a69ee
DE
64772014-04-26 Doug Evans <xdje42@gmail.com>
6478
6479 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
6480
7ae1a6a6
PA
64812014-04-25 Pedro Alves <palves@redhat.com>
6482
6483 PR server/16255
6484 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
6485 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
6486 and newline from built string.
6487 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
6488 (linux_ptrace_attach_fail_reason): ... this.
6489 * linux-nat.c (linux_nat_attach): Adjust to use
6490 linux_ptrace_attach_fail_reason.
6491
4082afcc
PA
64922014-04-25 Pedro Alves <palves@redhat.com>
6493
6494 * remote.c (struct remote_state): Remove multi_process_aware,
6495 non_stop_aware, cond_tracepoints, cond_breakpoints,
6496 breakpoint_commands, fast_tracepoints, static_tracepoints,
6497 install_in_trace, disconnected_tracing,
6498 enable_disable_tracepoints, string_tracing, and
6499 augmented_libraries_svr4_read fields.
6500 (remote_multi_process_p): Move further below in the file.
6501 (struct packet_config): Add comments.
6502 (update_packet_config): Delete function.
6503 (show_packet_config_cmd): Use packet_config_support.
6504 (add_packet_config_cmd): Use NULL as set callback.
6505 (packet_ok): "set remote foo-packet"-style commands no longer
6506 change config->supported -- adjust.
6507 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
6508 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
6509 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
6510 (PACKET_QNonStop, PACKET_multiprocess_feature)
6511 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
6512 (PACKET_DisconnectedTracing_feature)
6513 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
6514 (set_remote_protocol_packet_cmd): Delete function.
6515 (packet_config_support, packet_support): New functions.
6516 (set_remote_protocol_Z_packet_cmd): Don't call
6517 update_packet_config.
6518 (remote_query_attached, remote_pass_signals)
6519 (remote_program_signals, remote_threads_info)
6520 (remote_threads_extra_info, remote_start_remote): Use
6521 packet_support.
6522 (remote_start_remote): Use packet_config_support and
6523 packet_support.
6524 (init_all_packet_configs): Set all packets to unknown support,
6525 instead of calling update_packet_config.
6526 (remote_check_symbols): Use packet_support.
6527 (remote_supported_packet): Unconditionally set the packet config's
6528 support status.
6529 (remote_multi_process_feature, remote_non_stop_feature)
6530 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
6531 (remote_breakpoint_commands_feature)
6532 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
6533 (remote_install_in_trace_feature)
6534 (remote_disconnected_tracing_feature)
6535 (remote_enable_disable_tracepoint_feature)
6536 (remote_string_tracing_feature)
6537 (remote_augmented_libraries_svr4_read_feature): Delete functions.
6538 (remote_protocol_features): Adjust to use remote_supported_packet
6539 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
6540 "ConditionalTracepoints", "ConditionalBreakpoints",
6541 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
6542 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
6543 "EnableDisableTracepoints", and "tracenz".
6544 (remote_query_supported): Use packet_support.
6545 (remote_open_1): Adjust.
6546 (extended_remote_attach_1): Use packet_support. Switch on the
6547 result of packet_ok instead of checking whether the packet ended
6548 up disabled.
6549 (remote_vcont_resume): Use packet_support.
6550 (remote_resume, remote_stop_ns, fetch_register_using_p)
6551 (remote_prepare_to_store, store_register_using_P)
6552 (check_binary_download, remote_write_bytes): Use packet_support.
6553 (remote_vkill): Use packet_support. Switch on the result of
6554 packet_ok instead of checking whether the packet ended up
6555 disabled.
6556 (extended_remote_supports_disable_randomization): Use
6557 packet_support.
6558 (extended_remote_run): Switch on the result of packet_ok instead
6559 of checking whether the packet ended up disabled.
6560 (remote_insert_breakpoint, remote_remove_breakpoint)
6561 (remote_insert_watchpoint, remote_remove_watchpoint)
6562 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
6563 packet_support.
6564 (remote_search_memory): Use packet_config_support.
6565 (remote_get_thread_local_address, remote_get_tib_address)
6566 (remote_hostio_send_command, remote_can_execute_reverse): Use
6567 packet_support.
6568 (remote_supports_cond_tracepoints)
6569 (remote_supports_cond_breakpoints)
6570 (remote_supports_fast_tracepoints)
6571 (remote_supports_static_tracepoints)
6572 (remote_supports_install_in_trace)
6573 (remote_supports_enable_disable_tracepoint)
6574 (remote_supports_string_tracing)
6575 (remote_can_run_breakpoint_commands): Rewrite, checking whether
6576 the packet config says the feature is enabled or disabled.
6577 (remote_download_tracepoint, remote_trace_set_readonly_regions)
6578 (remote_get_trace_status): Use packet_support.
6579 (remote_set_disconnected_tracing): Adjust to check whether the
6580 feature is enabled with packet_support.
6581 (remote_set_trace_buffer_size, remote_use_agent)
6582 (remote_can_use_agent, remote_supports_btrace): Use
6583 packet_support.
6584 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
6585 Use packet_config_support.
6586 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
6587 the packet config says the feature is enabled or disabled.
6588 (set_range_stepping): Use packet_support.
6589
bdb52a22
TT
65902014-04-25 Tom Tromey <tromey@redhat.com>
6591
6592 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
6593 argument.
6594
e9475ead
SA
65952014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
6596
6597 * NEWS: Mention support for C99 variable length arrays.
6598
82eacd52
JB
65992014-04-24 Joel Brobecker <brobecker@adacore.com>
6600
6601 * ada-lang.c (standard_exc): Expand introductory comment.
6602
01f9f808
MS
66032014-04-24 Michael Sturm <michael.sturm@mintel.com>
6604 Walfred Tedeschi <walfred.tedeschi@intel.com>
6605
6606 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
6607 AVX512 registers.
6608 (amd64_linux_read_description): Add code to handle AVX512 xstate
6609 mask and return respective tdesc.
6610 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
6611 and features/i386/x32-avx512-linux.c.
6612 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
6613 (amd64_linux_core_read_description): Add code to handle AVX512
6614 xstate mask and return respective tdesc.
6615 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
6616 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
6617 calculation.
6618 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
6619 (tdesc_amd64_avx512_linux): New prototype.
6620 (tdesc_x32_avx512_linux): Likewise.
6621 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
6622 features/i386/x32-avx512.c.
6623 (amd64_ymm_avx512_names): New register names for pseudo
6624 registers YMM16-31.
6625 (amd64_ymmh_avx512_names): New register names for raw registers
6626 YMMH16-31.
6627 (amd64_k_names): New register names for K registers.
6628 (amd64_zmmh_names): New register names for ZMM raw registers.
6629 (amd64_zmm_names): New registers names for ZMM pseudo registers.
6630 (amd64_xmm_avx512_names): New register names for XMM16-31
6631 registers.
6632 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
6633 registers.
6634 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
6635 if feature is present.
6636 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
6637 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
6638 (AMD64_NUM_REGS): Adjust to new number of registers.
6639 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
6640 registers supplied via XSTATE by AVX512 registers.
6641 (i386_linux_read_description): Add case for AVX512.
6642 * i386-linux-tdep.c: Include i386-avx512-linux.c.
6643 (i386_linux_gregset_reg_offset): Add AVX512 registers.
6644 (i386_linux_core_read_description): Add case for AVX512.
6645 (i386_linux_init_abi): Install supported register note section
6646 for AVX512.
6647 (_initialize_i386_linux_tdep): Add call to tdesc init function for
6648 AVX512.
6649 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
6650 registers to be number of zmm7h + 1.
6651 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
6652 * i386-tdep.c: Include features/i386/i386-avx512.c.
6653 (i386_zmm_names): Add ZMM pseudo register names array.
6654 (i386_zmmh_names): Add ZMM raw register names array.
6655 (i386_k_names): Add K raw register names array.
6656 (num_lower_zmm_regs): Add constant for the number of lower ZMM
6657 registers. AVX512 has 16 more ZMM registers than there are YMM
6658 registers.
6659 (i386_zmmh_regnum_p): Add function to look up register number of
6660 ZMM raw registers.
6661 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
6662 (i386_k_regnum_p): Likewise for K raw registers.
6663 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
6664 registers added by AVX512.
6665 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
6666 registers added by AVX512.
6667 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
6668 added by AVX512.
6669 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
6670 (i386_pseudo_register_name): Add ZMM pseudo registers.
6671 (i386_zmm_type): Construct and return vector registers type for ZMM
6672 registers.
6673 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
6674 ZMM0-31 pseudo registers and K registers.
6675 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
6676 and YMM16-31 registers from register cache.
6677 (i386_pseudo_register_write): Add code to write K, ZMM and
6678 YMM16-31 registers.
6679 (i386_register_reggroup_p): Add code to include/exclude AVX512
6680 registers in/from respective register groups.
6681 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
6682 registers if feature is present in xcr0.
6683 (i386_gdbarch_init): Add code to initialize AVX512 feature
6684 variables in tdep structure, wire in pseudo registers and call
6685 initialize_tdesc_i386_avx512.
6686 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
6687 variables.
6688 (i386_regnum): Add AVX512 registers.
6689 (I386_SSE_NUM_REGS): New define for number of SSE registers.
6690 (I386_AVX_NUM_REGS): Likewise for AVX registers.
6691 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
6692 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
6693 512 bits wide.
6694 (i386_xmm_avx512_regnum_p): New prototype for register look up.
6695 (i386_ymm_avx512_regnum_p): Likewise.
6696 (i386_k_regnum_p): Likewise.
6697 (i386_zmm_regnum_p): Likewise.
6698 (i386_zmmh_regnum_p): Likewise.
6699 * i387-tdep.c : Update year in copyright notice.
6700 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
6701 XSAVE buffer.
6702 (XSAVE_YMM_AVX512_ADDR): New macro.
6703 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
6704 XSAVE buffer.
6705 (XSAVE_XMM_AVX512_ADDR): New macro.
6706 (xsave_avx512_k_offset): New table for K register offsets in
6707 XSAVE buffer.
6708 (XSAVE_AVX512_K_ADDR): New macro.
6709 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
6710 in XSAVE buffer.
6711 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
6712 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
6713 buffer.
6714 (i387_collect_xsave): Add code to collect AVX512 registers from
6715 XSAVE buffer.
6716 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
6717 of XMM16-31 registers.
6718 (I387_NUM_K_REGS): New define for number of K registers.
6719 (I387_K0_REGNUM): New define for K0 register number.
6720 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
6721 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
6722 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
6723 registers.
6724 (I387_YMM16H_REGNUM): New define for YMM16H register number.
6725 (I387_XMM16_REGNUM): New define for XMM16 register number.
6726 (I387_YMM0_REGNUM): New define for YMM0 register number.
6727 (I387_KEND_REGNUM): New define for last K register number.
6728 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
6729 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
6730 number.
6731 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
6732 number.
6733 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
6734 size.
6735 * features/Makefile: Add AVX512 related files.
6736 * features/i386/32bit-avx512.xml: New file.
6737 * features/i386/64bit-avx512.xml: Likewise.
6738 * features/i386/amd64-avx512-linux.c: Likewise.
6739 * features/i386/amd64-avx512-linux.xml: Likewise.
6740 * features/i386/amd64-avx512.c: Likewise.
6741 * features/i386/amd64-avx512.xml: Likewise.
6742 * features/i386/i386-avx512-linux.c: Likewise.
6743 * features/i386/i386-avx512-linux.xml: Likewise.
6744 * features/i386/i386-avx512.c: Likewise.
6745 * features/i386/i386-avx512.xml: Likewise.
6746 * features/i386/x32-avx512-linux.c: Likewise.
6747 * features/i386/x32-avx512-linux.xml: Likewise.
6748 * features/i386/x32-avx512.c: Likewise.
6749 * features/i386/x32-avx512.xml: Likewise.
6750 * regformats/i386/amd64-avx512-linux.dat: New file.
6751 * regformats/i386/amd64-avx512.dat: Likewise.
6752 * regformats/i386/i386-avx512-linux.dat: Likewise.
6753 * regformats/i386/i386-avx512.dat: Likewise.
6754 * regformats/i386/x32-avx512-linux.dat: Likewise.
6755 * regformats/i386/x32-avx512.dat: Likewise.
6756 * NEWS: Add note about new support for AVX512.
6757
6758
08351840
PA
67592014-04-23 Pedro Alves <palves@redhat.com>
6760
6761 * breakpoint.c (insert_bp_location): Tolerate errors if the
6762 breakpoint is set in a user-loaded objfile.
6763 (remove_breakpoint_1): Likewise. Also tolerate errors if the
6764 location is marked shlib_disabled. If the breakpoint is set in a
6765 user-loaded objfile is a GDB-side memory breakpoint, validate it
6766 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
6767 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
6768 flag.
6769 * mem-break.c (memory_validate_breakpoint): New function.
6770 * objfiles.c (userloaded_objfile_contains_address_p): New
6771 function.
6772 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
6773 * target.h (memory_validate_breakpoint): New declaration.
6774
076855f9
PA
67752014-04-23 Pedro Alves <palves@redhat.com>
6776
6777 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
6778 the breakpoint is set in a shared library, only suppress
6779 errors for software breakpoints, not hardware breakpoints.
6780
483805cf
PA
67812014-04-22 Pedro Alves <palves@redhat.com>
6782
6783 * infrun.c (schedlock_applies): New function, factored out from
6784 find_thread_needs_step_over.
6785 (find_thread_needs_step_over): Use it.
6786 (switch_back_to_stepped_thread): Always clear trap_expected if the
6787 step over is finished. Return early if scheduler locking applies.
6788 Look for the stepping thread and a potential step-over thread with
6789 a single loop.
6790 (currently_stepping_or_nexting_callback): Delete.
6791
a75fef0e
NC
67922014-04-22 Nick Clifton <nickc@redhat.com>
6793
6794 * NEWS: Mention that ARM sim now supports tracing.
6795
48b6e87e
YQ
67962014-04-22 Yao Qi <yao@codesourcery.com>
6797
6798 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
6799 to ...
6800 * tracefile.c (tracefile_fetch_registers): ... it. New
6801 function.
6802 * tracefile.h (tracefile_fetch_registers): Declare.
6803 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
6804 tracefile_fetch_registers.
6805
17617f2d
EZ
68062014-04-19 Eli Zaretskii <eliz@gnu.org>
6807
6808 PR gdb/14018
6809 * windows-nat.c (thread_rec): Don't display a warning when
6810 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
6811 fails for any reason, set th->suspended to -1, so that we don't
6812 try to resume such a thread. Also, don't return NULL in these
6813 cases, to avoid completely ruin the session due to "PC register is
6814 not available" error.
6815 (do_windows_fetch_inferior_registers): Check errors in
6816 GetThreadContext call.
6817 (windows_continue): Accept an additional argument KILLED; if not
6818 zero, ignore errors in the SetThreadContext call, since the
6819 inferior was killed and is shutting down.
6820 (windows_resume, get_windows_debug_event)
6821 (windows_create_inferior, windows_mourn_inferior)
6822 (windows_kill_inferior): All callers of windows_continue changed
6823 to adjust to its new calling sequence.
6824
5723a6fd
YQ
68252014-04-19 Yao Qi <yao@codesourcery.com>
6826
6827 * ctf.c (ctf_open): Call post_create_inferior.
6828
614d5099
YQ
68292014-04-19 Yao Qi <yao@codesourcery.com>
6830
6831 * ctf.c (handle_id): New static variable.
6832 (ctf_open_dir): Get handle_id from bt_context_add_trace return
6833 value. Get the declaration of event "register" and get length
6834 of field "contents".
6835
dac3e710
YQ
68362014-04-19 Yao Qi <yao@codesourcery.com>
6837
6838 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
6839
2bca57ba
SC
68402014-04-18 Siva Chandra Reddy <sivachandra@google.com>
6841
6842 * valops.c (oload_method_static): Remove unnecessary argument
6843 METHOD. Update all callers.
6844
51d48146
PA
68452014-04-18 Pedro alves <palves@redhat.com>
6846 Tom Tromey <tromey@redhat.com>
6847
6848 PR backtrace/15558
6849 * frame.c (get_prev_frame_1): Rename to ...
6850 (get_prev_frame_always): ... this, and make extern. Adjust.
6851 (skip_artificial_frames): Use get_prev_frame_always.
6852 (frame_unwind_caller_id, frame_pop, get_prev_frame)
6853 (get_frame_unwind_stop_reason): Adjust to rename.
6854 * frame.h (get_prev_frame_always): Declare.
6855 * inline-frame.c: Include frame.h.
6856 (inline_frame_this_id): Use get_prev_frame_always.
6857
1bdad2e0
TG
68582014-04-18 Tristan Gingold <gingold@adacore.com>
6859
6860 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
6861 code by using bfd_mach_o_get_base_address.
6862
7ce16bd4
UW
68632014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6864
6865 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
6866 (spu_ax_pseudo_register_collect): New function.
6867 (spu_ax_pseudo_register_push_stack): Likewise.
6868 (spu_dwarf_reg_to_regnum): Likewise.
6869 (spu_gdbarch_init): Install them. Append DWARF unwinders.
6870
2ed3c037
UW
68712014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
6872
6873 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
6874 Replace FRAME argument with FRAME_ID.
6875 * gdbarch.c, gdbarch.h: Regenerate.
6876 * findvar.c (default_value_from_register): Add GDBARCH argument;
6877 replace FRAME by FRAME_ID. No longer call get_frame_id.
6878 (value_from_register): Update call to gdbarch_value_from_register.
6879 * value.h (default_value_from_register): Update prototype.
6880 * s390-linux-tdep.c (s390_value_from_register): Update interface
6881 and call to default_value_from_register.
6882 * spu-tdep.c (spu_value_from_register): Likewise.
6883
6884 * findvar.c (address_from_register): Remove TYPE argument.
6885 Do not call value_from_register; use gdbarch_value_from_register
6886 with null_frame_id instead.
6887 * value.h (address_from_register): Update prototype.
6888 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
6889 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
6890 address_from_register interface change.
6891
71e50e83
YQ
68922014-04-17 Yao Qi <yao@codesourcery.com>
6893
6894 * gdbtypes.h: Update comments to link to types and macros'
6895 definitions.
6896
7a23c549
SC
68972014-04-16 Siva Chandra Reddy <sivachandra@google.com>
6898
6899 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
6900
22869d73
KS
69012014-04-16 Keith Seitz <keiths@redhat.com>
6902
6903 PR gdb/15827
6904 * dwarf2read.c (skip_one_die): Check that all relative-offset
6905 sibling DIEs fall within range of the current reader's buffer.
6906 (read_partial_die): Likewise.
6907
c4f87ca6
KS
69082014-04-16 Keith Seitz <keiths@redhat.com>
6909
6910 PR c++/16597
6911 * cp-namespace.c (lookup_symbol_file): If the type name of
6912 `this' is NULL, return immediately.
6913
b50c8614
KS
69142014-04-14 Keith Seitz <keiths@redhat.com>
6915
6916 PR c++/16253
6917 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6918 from symbol_matches_domain in symtab.c. All local callers
6919 of symbol_matches_domain updated.
6920 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6921 search STRUCT_DOMAIN.
6922 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6923 independently. standard_lookup will do that automatically.
6924 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6925 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6926 (cp_lookup_symbol_in_namespace): Likewise.
6927 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6928 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6929 may return a STRUCT_DOMAIN match.
6930 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6931 * cp-support.c: Include language.h.
6932 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6933 VAR_DOMAIN.
6934 * psymtab.c (match_partial_symbol): Compare the requested
6935 domain with the symbol's domain directly.
6936 (lookup_partial_symbol): Likewise.
6937 * symtab.c (lookup_symbol_in_language): Explain when/why
6938 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6939 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6940 appropriate languages.
6941 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6942 and moved to ada-lang.c
6943 (lookup_block_symbol): Explain that this function only returns
6944 symbol matching the requested DOMAIN.
6945 Compare the requested domain with the symbol's domain directly.
6946 (iterate_over_symbols): Compare the requested domain with the
6947 symbol's domain directly.
6948 * symtab.h (symbol_matches_domain): Remove.
6949
3d567982
TT
69502014-04-14 Tom Tromey <tromey@redhat.com>
6951
6952 PR c++/15246:
6953 * c-exp.y (type_aggregate_p): New function.
6954 (qualified_name, classify_inner_name): Use it.
6955 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
6956 and TYPE_TARGET_TYPE of an enum type.
6957 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
6958 an enum type.
6959 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
6960 handle TYPE_DECLARED_CLASS.
6961 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
6962 types.
6963 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
6964 * valops.c (enum_constant_from_type): New function.
6965 (value_aggregate_elt): Use it.
6966 * cp-namespace.c (cp_lookup_nested_symbol): Handle
6967 TYPE_CODE_ENUM.
6968
c848d642
TT
69692014-04-14 Tom Tromey <tromey@redhat.com>
6970
6971 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
6972 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
6973 const.
6974 * value.h (value_aggregate_elt): Update.
6975
0626fc76
TT
69762014-04-14 Tom Tromey <tromey@redhat.com>
6977
6978 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
6979
5ecaaa66
SA
69802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6981
6982 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
6983 (evaluate_subexp_standard): Pass noside argument.
6984 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
6985 if noside equals EVAL_NORMAL. If the subscript yields a vla type
6986 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
6987 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
6988 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
6989
1612e0c0
SA
69902014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6991
6992 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
6993 points to a constant blob.
6994
c451ebe5
SA
69952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6996
6997 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
6998 property and store it as the high bound and flag the range accordingly.
6999 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7000 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7001 * gdbtypes.h (enum range_flags): New enum.
7002 (struct range_bounds): Add flags member.
7003
1d42e4c4
SA
70042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7005
7006 * c-typeprint.c (c_type_print_varspec_suffix): Added
7007 check for not yet resolved high bound. If unresolved, print
7008 "variable length" string to the console instead of random
7009 length.
7010
9f1f738a
SA
70112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7012
7013 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
7014 value.
7015 (ada_template_to_fixed_record_type_1): Likewise.
7016 (ada_to_fixed_type_1): Likewise.
7017 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7018 (cp_print_value): Likewise.
7019 * d-valprint.c (dynamic_array_type): Likewise.
7020 * findvar.c (address_of_variable): Likewise.
7021 * jv-valprint.c (java_value_print): Likewise.
7022 * valops.c (value_ind): Likewise.
7023 * value.c (coerce_ref): Likewise.
7024
3c8452d4
SA
70252014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7026
7027 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7028 value and retrieve the dynamic type size.
7029
4ad88275
SA
70302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7031
7032 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7033 passed to sizeof is dynamic evaluate the argument to compute the length.
7034
80180f79
SA
70352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7036 Joel Brobecker <brobecker@adacore.com>
7037
7038 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7039 (dwarf2_evaluate_property): New function.
7040 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7041 * dwarf2read.c (attr_to_dynamic_prop): New function.
7042 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7043 attribute.
7044 * gdbtypes.c: Include dwarf2loc.h.
7045 (is_dynamic_type): New function.
7046 (resolve_dynamic_type): New function.
7047 (resolve_dynamic_bounds): New function.
7048 (get_type_length): New function.
7049 (check_typedef): Use get_type_length to compute type length.
7050 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7051 (TYPE_LOW_BOUND_KIND): New macro.
7052 (is_dynamic_type): New function prototype.
7053 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7054 to resolve dynamic properties of the type. Update comment.
7055 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7056
a1556843
RH
70572014-04-14 Richard Henderson <rth@redhat.com>
7058
7059 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
7060
0be03e84
DE
70612014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7062 Doug Evans <xdje42@gmail.com>
7063
7064 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
7065 dereference TYPE_CODE_REF values.
7066
6b662e19
JB
70672014-04-11 Joel Brobecker <brobecker@adacore.com>
7068
7069 Revert the following changes due to regressions:
7070
7071 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7072 (dwarf2_evaluate_property): New function.
7073 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7074 * dwarf2read.c (attr_to_dynamic_prop): New function.
7075 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7076 attribute.
7077 * gdbtypes.c: Include dwarf2loc.h.
7078 (is_dynamic_type): New function.
7079 (resolve_dynamic_type): New function.
7080 (resolve_dynamic_bounds): New function.
7081 (get_type_length): New function.
7082 (check_typedef): Use get_type_length to compute type length.
7083 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7084 (TYPE_LOW_BOUND_KIND): New macro.
7085 (is_dynamic_type): New function prototype.
7086 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7087 to resolve dynamic properties of the type. Update comment.
7088 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7089
7090 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7091 passed to sizeof is dynamic evaluate the argument to compute the length.
7092
7093 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7094 value and retrieve the dynamic type size.
7095
7096 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7097 (ada_template_to_fixed_record_type_1): Likewise.
7098 (ada_to_fixed_type_1): Likewise.
7099 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7100 (cp_print_value): Likewise.
7101 * d-valprint.c (dynamic_array_type): Likewise.
7102 * eval.c (evaluate_subexp_with_coercion): Likewise.
7103 * findvar.c (address_of_variable): Likewise.
7104 * jv-valprint.c (java_value_print): Likewise.
7105 * valops.c (value_ind): Likewise.
7106 * value.c (coerce_ref): Likewise.
7107
7108 * c-typeprint.c (c_type_print_varspec_suffix): Added
7109 check for not yet resolved high bound. If unresolved, print
7110 "variable length" string to the console instead of random
7111 length.
7112
7113 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7114 property and store it as the high bound and flag the range accordingly.
7115 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7116 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7117 * gdbtypes.h (enum range_flags): New enum.
7118 (struct range_bounds): Add flags member.
7119
7120 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7121 points to a constant blob.
7122
7123 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7124 (evaluate_subexp_standard): Pass noside argument.
7125 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7126 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7127 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7128 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7129 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7130
245a5f0b
KS
71312014-04-11 Keith Seitz <keiths@redhat.com>
7132
7133 PR c++/16675
7134 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
7135 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
7136 reference types.
7137
3bce8237
SA
71382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7139
7140 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7141 (evaluate_subexp_standard): Pass noside argument.
7142 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7143 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7144 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7145 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7146 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7147
92b09522
SA
71482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7149
7150 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7151 points to a constant blob.
7152
e1969afb
SA
71532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7154
7155 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7156 property and store it as the high bound and flag the range accordingly.
7157 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7158 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7159 * gdbtypes.h (enum range_flags): New enum.
7160 (struct range_bounds): Add flags member.
7161
b86138fb
SA
71622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7163
7164 * c-typeprint.c (c_type_print_varspec_suffix): Added
7165 check for not yet resolved high bound. If unresolved, print
7166 "variable length" string to the console instead of random
7167 length.
7168
bcd629a4
SA
71692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7170
7171 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7172 (ada_template_to_fixed_record_type_1): Likewise.
7173 (ada_to_fixed_type_1): Likewise.
7174 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7175 (cp_print_value): Likewise.
7176 * d-valprint.c (dynamic_array_type): Likewise.
7177 * eval.c (evaluate_subexp_with_coercion): Likewise.
7178 * findvar.c (address_of_variable): Likewise.
7179 * jv-valprint.c (java_value_print): Likewise.
7180 * valops.c (value_ind): Likewise.
7181 * value.c (coerce_ref): Likewise.
7182
04b19544
SA
71832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7184
7185 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7186 value and retrieve the dynamic type size.
7187
26cb189f
SA
71882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7189
7190 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7191 passed to sizeof is dynamic evaluate the argument to compute the length.
7192
37c1ab67
SA
71932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7194
7195 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7196 (dwarf2_evaluate_property): New function.
7197 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7198 * dwarf2read.c (attr_to_dynamic_prop): New function.
7199 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7200 attribute.
7201 * gdbtypes.c: Include dwarf2loc.h.
7202 (is_dynamic_type): New function.
7203 (resolve_dynamic_type): New function.
7204 (resolve_dynamic_bounds): New function.
7205 (get_type_length): New function.
7206 (check_typedef): Use get_type_length to compute type length.
7207 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7208 (TYPE_LOW_BOUND_KIND): New macro.
7209 (is_dynamic_type): New function prototype.
7210 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7211 to resolve dynamic properties of the type. Update comment.
7212 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7213
729efb13
SA
72142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7215
7216 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
7217 declaring high/low bounds and change uses accordingly. Call
7218 create_range_type instead of create_static_range_type.
7219 * gdbtypes.c (create_range_type): New function.
7220 (create_range_type): Convert bounds into struct bound_prop and pass
7221 them to create_range_type.
7222 * gdbtypes.h (struct bound_prop): New struct.
7223 (create_range_type): New function prototype.
7224 (struct range_bounds): Use struct bound_prop instead of LONGEST for
7225 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
7226 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
7227 part of the bound.
7228 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
7229
0c9c3474
SA
72302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7231
7232 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
7233 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
7234 * ada-lang.c: All uses of create_range_type updated.
7235 * coffread.c: All uses of create_range_type updated.
7236 * dwarf2read.c: All uses of create_range_type updated.
7237 * f-exp.y: All uses of create_range_type updated.
7238 * m2-valprint.c: All uses of create_range_type updated.
7239 * mdebugread.c: All uses of create_range_type updated.
7240 * stabsread.c: All uses of create_range_type updated.
7241 * valops.c: All uses of create_range_type updated.
7242 * valprint.c: All uses of create_range_type updated.
7243
9d497a19
PA
72442014-04-10 Pedro Alves <palves@redhat.com>
7245
7246 * breakpoint.c (single_step_breakpoints)
7247 (single_step_gdbarch): Move up in the file.
7248 (one_breakpoint_xfer_memory): New function, factored out from ...
7249 (breakpoint_xfer_memory): ... here. Also process single-step
7250 breakpoints.
7251
15a9128a
TG
72522014-04-09 Tristan Gingold <gingold@adacore.com>
7253
7254 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
7255 comments.
7256 (darwin_decode_exception_message): Free port only after use.
7257
9c97a070
PL
72582014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
7259
7260 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
7261 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
7262 when setting the size of call_length.
7263
7af389b8
SC
72642014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7265
7266 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
7267 dereference TYPE_CODE_REF values.
7268
86ad98c3
JB
72692014-04-07 Joel Brobecker <brobecker@adacore.com>
7270
7271 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
7272 end of warning message.
7273
b0aeadb3
DE
72742014-04-03 Doug Evans <dje@google.com>
7275
7276 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
7277 of stub_comp_unit_die, stub_comp_dir is non-NULL.
7278
5979d6b6
AM
72792014-04-02 Alan Modra <amodra@gmail.com>
7280
7281 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
7282 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
7283 (struct symbol_file_add_from_memory_args): Add size field.
7284 (find_vdso_size): New function.
7285 (add_vsyscall_page): Attempt to find vdso size.
7286
0d60c288
DE
72872014-04-01 Doug Evans <dje@google.com>
7288
7289 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
7290
a41f2563
TG
72912014-04-01 Tristan Gingold <gingold@adacore.com>
7292
7293 * darwin-nat.c (darwin_encode_reply): Add prototype.
7294 (darwin_decode_exception_message): Reply to unknown inferiors.
7295 (darwin_decode_message): Handle message by id. Ignore message
7296 to unknown inferior.
7297 (darwin_wait): Discard unknown messages, add debug trace.
7298
11a865c8
DE
72992014-03-31 Doug Evans <dje@google.com>
7300
7301 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
7302 comp_dir_string.
7303
770e7fc7
DE
73042014-03-31 Doug Evans <dje@google.com>
7305
7306 New option "set print symbol-loading".
7307 * NEWS: Mention it.
7308 * solib.c (solib_read_symbols): Only print symbol loading messages
7309 if requested.
7310 (solib_add): If symbol loading is in "brief" mode, notify user
7311 symbols are being loaded.
7312 (reload_shared_libraries_1): Ditto.
7313 * symfile.c (print_symbol_loading_off): New static global.
7314 (print_symbol_loading_brief): New static global.
7315 (print_symbol_loading_full): New static global.
7316 (print_symbol_loading_enums): New static global.
7317 (print_symbol_loading): New static global.
7318 (print_symbol_loading_p): New function.
7319 (symbol_file_add_with_addrs): Only print symbol loading messages
7320 if requested.
7321 (_initialize_symfile): Register "print symbol-loading" set/show
7322 command.
7323 * symfile.h (print_symbol_loading_p): Declare.
7324
c32c64b7
DE
73252014-03-30 Doug Evans <xdje42@gmail.com>
7326
7327 * infrun.c (set_last_target_status): New function.
7328 (handle_inferior_event): Call it.
7329
7c0bc051
DE
73302014-03-30 Doug Evans <xdje42@gmail.com>
7331
7332 * inferior.h (enum stop_kind): Improve comment.
7333
8776cfe9
JB
73342014-03-28 Joel Brobecker <brobecker@adacore.com>
7335
7336 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
7337 a reference, strip the reference layer before calling
7338 the lang_ops value_has_mutated callback.
7339
410a0ff2
SDJ
73402014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
7341
7342 Remove some globals from our parser.
7343 * language.c (unk_lang_parser): Add "struct parser_state"
7344 argument.
7345 * language.h (struct language_defn) <la_parser>: Likewise.
7346 * parse.c (expout, expout_size, expout_ptr): Remove variables.
7347 (initialize_expout): Add "struct parser_state" argument.
7348 Rewrite function to use the parser state.
7349 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
7350 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
7351 write_exp_elt_longcst, write_exp_elt_dblcst,
7352 write_exp_elt_decfloatcst, write_exp_elt_type,
7353 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
7354 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
7355 write_dollar_variable): Likewise.
7356 (parse_exp_in_context_1): Use parser state.
7357 (insert_type_address_space): Add "struct parser_state" argument.
7358 Use parser state.
7359 (increase_expout_size): New function.
7360 * parser-defs.h: Forward declare "struct language_defn" and
7361 "struct parser_state".
7362 (expout, expout_size, expout_ptr): Remove extern declarations.
7363 (parse_gdbarch, parse_language): Rewrite macro declarations to
7364 accept the parser state.
7365 (struct parser_state): New struct.
7366 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
7367 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
7368 write_exp_elt_decfloatcst, write_exp_elt_type,
7369 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
7370 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
7371 write_exp_msymbol, write_dollar_variable,
7372 mark_struct_expression, insert_type_address_space): Add "struct
7373 parser_state" argument.
7374 (increase_expout_size): New function.
7375 * utils.c (do_clear_parser_state): New function.
7376 (make_cleanup_clear_parser_state): Likewise.
7377 * utils.h (make_cleanup_clear_parser_state): New function
7378 prototype.
7379 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
7380 Update calls to write_exp* in order to pass the parser state.
7381 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
7382 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
7383 (i386_stap_parse_special_token_three_arg_disp): Likewise.
7384 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
7385 * stap-probe.c (stap_parse_register_operand): Likewise.
7386 (stap_parse_single_operand): Likewise.
7387 (stap_parse_argument_1): Likewise.
7388 (stap_parse_argument): Use parser state.
7389 * stap-probe.h: Include "parser-defs.h".
7390 (struct stap_parse_info) <pstate>: New field.
7391 * c-exp.y (parse_type): Rewrite to use parser state.
7392 (yyparse): Redefine to c_parse_internal.
7393 (pstate): New global variable.
7394 (parse_number): Add "struct parser_state" argument.
7395 (write_destructor_name): Likewise.
7396 (type_exp): Update calls to write_exp* and similars in order to
7397 use parser state.
7398 (exp1, exp, variable, qualified_name, space_identifier,
7399 typename, typebase): Likewise.
7400 (write_destructor_name, parse_number, lex_one_token,
7401 classify_name, classify_inner_name, c_parse): Add "struct
7402 parser_state" argument. Update function to use parser state.
7403 * c-lang.h: Forward declare "struct parser_state".
7404 (c_parse): Add "struct parser_state" argument.
7405 * ada-exp.y (parse_type): Rewrite macro to use parser state.
7406 (yyparse): Redefine macro to ada_parse_internal.
7407 (pstate): New variable.
7408 (write_int, write_object_renaming, write_var_or_type,
7409 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
7410 type_int, type_long, type_long_long, type_float, type_double,
7411 type_long_double, type_char, type_boolean, type_system_address):
7412 Add "struct parser_state" argument.
7413 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
7414 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
7415 var_or_type, aggregate, aggregate_component_list,
7416 positional_list, others, component_group,
7417 component_associations): Update calls to write_exp* and similar
7418 functions in order to use parser state.
7419 (ada_parse, write_var_from_sym, write_int,
7420 write_exp_op_with_string, write_object_renaming,
7421 find_primitive_type, write_selectors, write_ambiguous_var,
7422 write_var_or_type, write_name_assoc, type_int, type_long,
7423 type_long_long, type_float, type_double, type_long_double,
7424 type_char, type_boolean, type_system_address): Add "struct
7425 parser_state" argument. Adjust function to use parser state.
7426 * ada-lang.c (parse): Likewise.
7427 * ada-lang.h: Forward declare "struct parser_state".
7428 (ada_parse): Add "struct parser_state" argument.
7429 * ada-lex.l (processInt, processReal): Likewise. Adjust all
7430 calls to both functions.
7431 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
7432 parser state.
7433 (yyparse): Redefine macro to f_parse_internal.
7434 (pstate): New variable.
7435 (parse_number): Add "struct parser_state" argument.
7436 (type_exp, exp, subrange, typebase): Update calls to write_exp*
7437 and similars in order to use parser state.
7438 (parse_number): Adjust code to use parser state.
7439 (yylex): Likewise.
7440 (f_parse): New function.
7441 * f-lang.h: Forward declare "struct parser_state".
7442 (f_parse): Add "struct parser_state" argument.
7443 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
7444 parser state.
7445 (yyparse): Redefine macro for java_parse_internal.
7446 (pstate): New variable.
7447 (push_expression_name, push_expression_name, insert_exp): Add
7448 "struct parser_state" argument.
7449 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
7450 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
7451 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
7452 PostIncrementExpression, PostDecrementExpression,
7453 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
7454 UnaryExpressionNotPlusMinus, CastExpression,
7455 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
7456 RelationalExpression, EqualityExpression, AndExpression,
7457 ExclusiveOrExpression, InclusiveOrExpression,
7458 ConditionalAndExpression, ConditionalOrExpression,
7459 ConditionalExpression, Assignment, LeftHandSide): Update
7460 calls to write_exp* and similars in order to use parser state.
7461 (parse_number): Ajust code to use parser state.
7462 (yylex): Likewise.
7463 (java_parse): New function.
7464 (push_variable): Add "struct parser_state" argument. Adjust
7465 code to user parser state.
7466 (push_fieldnames, push_qualified_expression_name,
7467 push_expression_name, insert_exp): Likewise.
7468 * jv-lang.h: Forward declare "struct parser_state".
7469 (java_parse): Add "struct parser_state" argument.
7470 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
7471 parser state.
7472 (yyparse): Redefine macro to m2_parse_internal.
7473 (pstate): New variable.
7474 (type_exp, exp, fblock, variable, type): Update calls to
7475 write_exp* and similars to use parser state.
7476 (yylex): Likewise.
7477 (m2_parse): New function.
7478 * m2-lang.h: Forward declare "struct parser_state".
7479 (m2_parse): Add "struct parser_state" argument.
7480 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
7481 * objc-lang.h: Forward declare "struct parser_state".
7482 (end_msglist): Add "struct parser_state" argument.
7483 * p-exp.y (parse_type): Rewrite macro to use parser state.
7484 (yyparse): Redefine macro to pascal_parse_internal.
7485 (pstate): New variable.
7486 (parse_number): Add "struct parser_state" argument.
7487 (type_exp, exp1, exp, qualified_name, variable): Update calls to
7488 write_exp* and similars in order to use parser state.
7489 (parse_number, yylex): Adjust code to use parser state.
7490 (pascal_parse): New function.
7491 * p-lang.h: Forward declare "struct parser_state".
7492 (pascal_parse): Add "struct parser_state" argument.
7493 * go-exp.y (parse_type): Rewrite macro to use parser state.
7494 (yyparse): Redefine macro to go_parse_internal.
7495 (pstate): New variable.
7496 (parse_number): Add "struct parser_state" argument.
7497 (type_exp, exp1, exp, variable, type): Update calls to
7498 write_exp* and similars in order to use parser state.
7499 (parse_number, lex_one_token, classify_name, yylex): Adjust code
7500 to use parser state.
7501 (go_parse): Likewise.
7502 * go-lang.h: Forward declare "struct parser_state".
7503 (go_parse): Add "struct parser_state" argument.
7504
342587c4
DE
75052014-03-27 Doug Evans <dje@google.com>
7506
7507 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
7508
33e80786
DE
75092014-03-27 Doug Evans <dje@google.com>
7510
7511 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
7512 Remove argument abbrev_section. All callers updated.
7513
1dbab08b
DE
75142014-03-27 Doug Evans <dje@google.com>
7515
7516 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
7517 addr_base, ranges_base.
7518
318d3177
KS
75192014-03-26 Keith Seitz <keiths@redhat.com>
7520
7521 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
7522 types, not VAR_DOMAIN.
7523
1e54db15
SL
75242014-03-25 Sandra Loosemore <sandra@codesourcery.com>
7525
7526 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
7527 "ra" registers.
7528 * features/nios2-linux.c: Regenerated.
7529 * features/nios2.c: Regenerated.
7530
d3839ede
PA
75312014-03-25 Pedro Alves <palves@redhat.com>
7532
7533 * cli/cli-script.c (script_from_file): Force the interpreter to
7534 sync mode.
7535
7588d2ec
PL
75362014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
7537
7538 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
7539 small stack allocation.
7540
a6290449
TG
75412014-03-24 Tristan Gingold <gingold@adacore.com>
7542
7543 * darwin-nat.c (exc_server): Remove unused prototype.
7544 (darwin_dump_message): Correctly display data on x86_64.
7545 (darwin_encode_reply): Fix style.
7546 Add comments and fix indentation.
7547
31ae9d24 75482014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
7549
7550 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
7551
6339bfc4
DE
75522014-03-22 Doug Evans <xdje42@gmail.com>
7553
7554 * infcmd.c: Whitespace fixes.
7555 (interrupt_command): Merge two function comments into one.
7556
0a07590b
DE
75572014-03-22 Doug Evans <xdje42@gmail.com>
7558
7559 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
7560 All uses updated.
7561
b55fbac4
YQ
75622014-03-22 Yao Qi <yao@codesourcery.com>
7563
7564 * remote.c (target_read_live_memory): Remove.
7565 (memory_xfer_live_readonly_partial): Rename it to
7566 remote_xfer_live_readonly_partial. Remove argument 'object'.
7567 All callers updated. Call remote_read_bytes_1
7568 instead of target_read_live_memory.
7569 * tracepoint.c (set_traceframe_number): Remove.
7570 (make_cleanup_restore_traceframe_number): Likewise .
7571 * tracepoint.h (set_traceframe_number): Remove declaration.
7572 (make_cleanup_restore_traceframe_number): Likewise.
7573
9217e74e
YQ
75742014-03-22 Yao Qi <yao@codesourcery.com>
7575
7576 * remote.c (remote_read_bytes): Move code on reading from the
7577 remote stub to ...
7578 (remote_read_bytes_1): ... here. New function.
7579
8acf9577
YQ
75802014-03-22 Yao Qi <yao@codesourcery.com>
7581
7582 * ctf.c (ctf_xfer_partial): Check the return value of
7583 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
7584 return TARGET_XFER_UNAVAILABLE.
7585 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7586 * target.c (target_read_live_memory): Move it to remote.c.
7587 (memory_xfer_live_readonly_partial): Likewise.
7588 (memory_xfer_partial_1): Move some code to remote_read_bytes.
7589 * remote.c (target_read_live_memory): Moved from target.c.
7590 (memory_xfer_live_readonly_partial): Likewise.
7591 (remote_read_bytes): Factored out from
7592 memory_xfer_partial_1.
7593
feef67ab
DE
75942014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
7595
7596 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
7597 NULL pointer.
7598
b65dc60b
PA
75992014-03-21 Pedro Alves <palves@redhat.com>
7600
7601 * infrun.c (normal_stop): Extend comment.
7602
b4ab256d
HZ
76032014-03-21 Hui Zhu <hui@codesourcery.com>
7604 Pedro Alves <palves@redhat.com>
7605
7606 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
7607 static buffer.
7608 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
7609 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
7610 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
7611
deba7593
MR
76122014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
7613
7614 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
7615 `z' formatted output modifier.
7616
1bff71c3
SDJ
76172014-03-20 Tom Tromey <tromey@redhat.com>
7618 Sergio Durigan Junior <sergiodj@redhat.com>
7619
7620 * probe.c (parse_probes): Turn assert into an ordinary error.
7621 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
7622 exceptions when parsing probes. Rearrange the code for clarity.
7623
90e28950
TT
76242014-03-20 Tom Tromey <tromey@redhat.com>
7625
7626 PR gdb/14135
7627 * top.c (execute_command): Only dispatch events if the command
7628 started the target.
7629
beb460e8
PA
76302014-03-20 Tom Tromey <tromey@redhat.com>
7631
7632 PR cli/15718
7633 * infcall.c: Include event-top.h.
7634 (run_inferior_call): Call async_disable_stdin if needed.
7635
99619bea
PA
76362014-03-20 Pedro Alves <palves@redhat.com>
7637
7638 * infrun.c (prepare_to_proceed): Delete.
7639 (thread_still_needs_step_over): New function.
7640 (find_thread_needs_step_over): New function.
7641 (proceed): If the current thread needs a step-over, set its
7642 steping_over_breakpoint flag. Adjust to use
7643 find_thread_needs_step_over instead of prepare_to_proceed.
7644 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
7645 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
7646 breakpoint.
7647 (switch_back_to_stepped_thread): Step over breakpoints of all
7648 threads not the stepping thread, before switching back to the
7649 stepping thread.
7650
2adfaa28
PA
76512014-03-20 Pedro Alves <palves@redhat.com>
7652
7653 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
7654 extern.
7655 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
7656 * infrun.c (saved_singlestep_ptid)
7657 (stepping_past_singlestep_breakpoint): Delete.
7658 (resume): Remove stepping_past_singlestep_breakpoint handling.
7659 (proceed): Store the prev_pc of the stepping thread too.
7660 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
7661 singlestep_pc.
7662 (enum infwait_states): Delete infwait_thread_hop_state.
7663 (struct execution_control_state) <hit_singlestep_breakpoint>: New
7664 field.
7665 (handle_inferior_event): Adjust.
7666 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
7667 handling and the thread-hop code. Before removing single-step
7668 breakpoints, check whether the thread hit a single-step breakpoint
7669 of another thread. If it did, the trap is not a random signal.
7670 (switch_back_to_stepped_thread): If the event thread hit a
7671 single-step breakpoint, unblock it before switching to the
7672 stepping thread. Handle the case of the stepped thread having
7673 advanced already.
7674 (keep_going): Handle the case of the current thread moving past a
7675 single-step breakpoint.
7676
31e77af2
PA
76772014-03-20 Pedro Alves <palves@redhat.com>
7678
7679 PR breakpoints/7143
7680 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
7681 are being stepped over.
7682 (breakpoint_address_match): Make extern.
7683 * breakpoint.h (breakpoint_address_match): New declaration.
7684 * inferior.h (stepping_past_instruction_at): New declaration.
7685 * infrun.c (struct step_over_info): New type.
7686 (step_over_info): New global.
7687 (set_step_over_info, clear_step_over_info)
7688 (stepping_past_instruction_at): New functions.
7689 (handle_inferior_event): Clear the step-over info when
7690 trap_expected is cleared.
7691 (resume): Remove now stale comment.
7692 (clear_proceed_status): Clear step-over info.
7693 (proceed): Adjust step-over handling to set or clear the step-over
7694 info instead of removing all breakpoints.
7695 (handle_signal_stop): When setting up a thread-hop, don't remove
7696 breakpoints here.
7697 (stop_stepping): Clear step-over info.
7698 (keep_going): Adjust step-over handling to set or clear step-over
7699 info and then always inserting breakpoints, instead of removing
7700 all breakpoints when stepping over one.
7701
b9f437de
PA
77022014-03-20 Pedro Alves <palves@redhat.com>
7703
7704 * infrun.c (previous_inferior_ptid): Adjust comment.
7705 (deferred_step_ptid): Delete.
7706 (infrun_thread_ptid_changed, prepare_to_proceed)
7707 (init_wait_for_inferior): Adjust.
7708 (handle_signal_stop): Delete deferred_step_ptid handling.
7709
06c868a8
JK
77102014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7711
7712 PR gdb/15358
7713 * defs.h (sync_quit_force_run): New declaration.
7714 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
7715 * event-top.c (async_sigterm_handler): New declaration.
7716 (async_sigterm_token): New variable.
7717 (async_init_signals): Create also async_sigterm_token.
7718 (async_sigterm_handler): New function.
7719 (sync_quit_force_run): New variable.
7720 (handle_sigterm): Replace quit_force call by other calls.
7721 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
7722
dea80df0
MR
77232014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
7724
7725 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
7726 offset into SPE pseudo registers.
7727
0c7e1a46
PA
77282014-03-18 Pedro Alves <palves@redhat.com>
7729
7730 PR gdb/13860
7731 * inferior.h (print_stop_event): Declare.
7732 * infrun.c (print_stop_event): New, factored out from ...
7733 (normal_stop): ... this.
7734 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
7735 of bpstat_print/print_stack_frame.
7736
9c1fcd01
TT
77372014-03-17 Tom Tromey <tromey@redhat.com>
7738
7739 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
7740
11aa919a
PMR
77412014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
7742
7743 * ada-lang.c (decode_constrained_packed_array): Perform a
7744 minimal coercion for reference with coerce_ref instead of
7745 ada_coerce_ref.
7746
d4ccb5e0
TG
77472014-03-17 Tristan Gingold <gingold@adacore.com>
7748
7749 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
7750 (darwin_solib_create_inferior_hook): Emit a warning if version
7751 is unhandled.
7752
49840f2a
UW
77532014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
7754
7755 * python/py-value.c (get_field_flag): Cast flag_name argument to
7756 PyObject_GetAttrString to support Python 2.4.
7757
ed4123e5
JK
77582014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7759
7760 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
7761 (Global Maintainers): Remove Jan Kratochvil.
7762
d6b64346
PA
77632014-03-14 Pedro Alves <palves@redhat.com>
7764
7765 * inferior.h (terminal_ours_for_output): Rename to ...
7766 (child_terminal_ours_for_output): ... this.
7767 (terminal_save_ours): Rename to ...
7768 (child_terminal_save_ours): ... this.
7769 (terminal_ours): Rename to ...
7770 (child_terminal_ours): ... this.
7771 (terminal_inferior): Rename to ...
7772 (child_terminal_inferior): ... this.
7773 (terminal_init_inferior): Rename to ...
7774 (child_terminal_init_inferior): ... this.
7775 (terminal_init_inferior_with_pgrp): Rename to ...
7776 (child_terminal_init_inferior_with_pgrp): ... this.
7777 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
7778 (child_terminal_init_with_pgrp): ... this.
7779 (terminal_save_ours): Rename to ...
7780 (child_terminal_save_ours): ... this.
7781 (terminal_init_inferior): Rename to ...
7782 (child_terminal_init): ... this. Adjust.
7783 (terminal_inferior): Rename to ...
7784 (child_terminal_inferior): ... this.
7785 (terminal_ours_for_output): Rename to ...
7786 (child_terminal_ours_for_output): ... this. Adjust.
7787 (terminal_ours): Rename to ...
7788 (child_terminal_ours): ... this.
7789 (terminal_ours_1): Rename to ...
7790 (child_terminal_ours_1): ... this. Adjust.
7791 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
7792 * windows-nat.c (do_initial_windows_stuff): Adjust.
7793 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
7794 (gnu_terminal_init): ... this. Adjust.
7795 (gnu_target): Adjust.
7796 * inf-child.c (inf_child_target): Adjust.
7797
5a1e8c7a
DE
77982014-03-13 Doug Evans <xdje42@gmail.com>
7799
7800 PR guile/16612
7801 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
7802 new eq?-hashtab.
7803
350e1a76
DE
78042014-03-13 Doug Evans <xdje42@gmail.com>
7805
7806 * value.c (record_latest_value): Call release_value_or_incref
7807 instead of release_value.
7808
a69900ae
PA
78092014-03-13 Pedro Alves <palves@redhat.com>
7810
7811 * procfs.c (procfs_target): Don't override to_shortname,
7812 to_longname or to_doc.
7813
5db9f0bd
PA
78142014-03-13 Pedro Alves <palves@redhat.com>
7815
7816 * inf-child.c (inf_child_open, inf_child_target): Don't mention
7817 Unix in user visible strings.
7818
5e3a2c38
SS
78192014-03-12 Stan Shebs <stan@codesourcery.com>
7820
7821 * gdbtypes.h: Annotate comments for Doxygen, add a page
7822 block comment with some general info.
7823
8bc2fe48
PA
78242014-03-12 Pedro Alves <palves@redhat.com>
7825
7826 * infcmd.c (prepare_execution_command): New function, factored out
7827 from several execution commands.
7828 (run_command_1, continue_command, step_1, jump_command)
7829 (signal_command, until_command, advance_command, finish_command)
7830 (attach_command): Use prepare_execution_command.
7831
638c5f49
OJ
78322014-03-12 Omair Javaid <omair.javaid@linaro.org>
7833
7834 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
7835 (MAX_BPTS): Define.
7836 (MAX_WPTS): Define.
7837 (struct arm_linux_thread_points): Removed.
7838 (struct arm_linux_process_info): New.
7839 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
7840 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
7841 (arm_linux_find_breakpoints_by_tid): Removed.
7842 (struct arch_lwp_info): New.
7843 (arm_linux_find_process_pid): New functions.
7844 (arm_linux_add_process): New functions.
7845 (arm_linux_process_info_get): New functions.
7846 (arm_linux_forget_process): New function.
7847 (arm_linux_get_debug_reg_state): New function.
7848 (struct update_registers_data): New.
7849 (update_registers_callback): New function.
7850 (arm_linux_insert_hw_breakpoint1): Updated.
7851 (arm_linux_remove_hw_breakpoint1): Updated.
7852 (arm_linux_insert_hw_breakpoint): Updated.
7853 (arm_linux_remove_hw_breakpoint): Updated.
7854 (arm_linux_insert_watchpoint): Updated.
7855 (arm_linux_remove_watchpoint): Updated.
7856 (arm_linux_new_thread): Updated.
7857 (arm_linux_prepare_to_resume): New function.
7858 (arm_linux_new_fork): New function.
7859 (_initialize_arm_linux_nat): Updated.
7860
6d03af93
PA
78612014-03-12 Pedro Alves <palves@redhat.com>
7862
7863 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
7864
b3ccfe11
TT
78652014-03-12 Tom Tromey <tromey@redhat.com>
7866
7867 * inf-child.c (return_zero): New function.
7868 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
7869 * aix-thread.c (aix_thread_inferior_created): New function.
7870 (aix_thread_attach): Remove.
7871 (init_aix_thread_ops): Don't set to_attach.
7872 (_initialize_aix_thread): Register inferior_created observer.
7873 * corelow.c (init_core_ops): Don't set to_attach or
7874 to_create_inferior.
7875 * exec.c (init_exec_ops): Don't set to_attach or
7876 to_create_inferior.
7877 * infcmd.c (run_command_1): Use find_run_target. Make direct
7878 target calls.
7879 (attach_command): Use find_attach_target. Make direct target
7880 calls.
7881 * record-btrace.c (init_record_btrace_ops): Don't set
7882 to_create_inferior.
7883 * record-full.c (record_full_can_async_p, record_full_is_async_p):
7884 Remove.
7885 (init_record_full_ops, init_record_full_core_ops): Update. Don't
7886 set to_create_inferior.
7887 * target.c (complete_target_initialization): Add assertion.
7888 (target_create_inferior): Remove.
7889 (find_default_attach, find_default_create_inferior): Remove.
7890 (find_attach_target, find_run_target): New functions.
7891 (find_default_is_async_p, find_default_can_async_p)
7892 (target_supports_non_stop, target_attach): Remove.
7893 (init_dummy_target): Don't set to_create_inferior or
7894 to_supports_non_stop.
7895 * target.h (struct target_ops) <to_attach>: Add comment. Remove
7896 TARGET_DEFAULT_FUNC.
7897 <to_create_inferior>: Add comment.
7898 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
7899 TARGET_DEFAULT_RETURN.
7900 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
7901 (find_attach_target, find_run_target): Declare.
7902 (target_create_inferior): Remove.
7903 (target_has_execution_1): Update comment.
7904 (target_supports_non_stop): Remove.
7905 * target-delegates.c: Rebuild.
7906
91f83b02
PA
79072014-03-12 Pedro Alves <palves@redhat.com>
7908
7909 * inf-child.h: Update comment to not mention Unix.
7910
f1aea813
PA
79112014-03-12 Pedro Alves <palves@redhat.com>
7912
7913 * inf-child.c: Update top comment to not mention Unix. Add
7914 generic comment describing how this target is meant to be used.
7915 (inf_child_post_attach, inf_child_post_startup_inferior)
7916 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
7917 Unix in comment.
7918
ee8e9165
PA
79192014-03-12 Pedro Alves <palves@redhat.com>
7920
7921 * nto-procfs.c: Include inf-child.h.
7922 (procfs_ops): Delete global.
7923 (procfs_can_run): Delete method.
7924 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
7925 target pointer instead of referencing procfs_ops.
7926 (procfs_prepare_to_store): Delete.
7927 (init_procfs_ops): Delete function.
7928 (procfs_target): New function, based on init_procfs_ops, but
7929 inherit inf_child_target.
7930 (_initialize_procfs): Use procfs_target.
7931
51a9c8c5
PA
79322014-03-12 Pedro Alves <palves@redhat.com>
7933
7934 * windows-nat.c: Include inf-child.h.
7935 (windows_ops): Delete global.
7936 (windows_open, windows_prepare_to_store, windows_can_run): Delete
7937 methods.
7938 (init_windows_ops): Delete function.
7939 (windows_target): New function, based on init_windows_ops, but
7940 inherit inf_child_target.
7941 (_initialize_windows_nat): Use windows_target. Install x86
7942 specific target methods here.
7943
c1966e26
DE
79442014-03-10 Doug Evans <xdje42@gmail.com>
7945
7946 * guile/guile.c (call_initialize_gdb_module): New function.
7947 (initialize_guile): Replace call to scm_init_guile with call to
7948 scm_with_guile.
7949
023db19c
JB
79502014-03-10 Joel Brobecker <brobecker@adacore.com>
7951
7952 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
7953 in call to TYPE_CODE macro.
7954
5ec18f2b
JG
79552014-03-10 Jerome Guitton <guitton@adacore.com>
7956
8668be63
JB
7957 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
7958 Resolve tagged types to full view.
5ec18f2b 7959
7d03f2eb
HZ
79602014-03-10 Hui Zhu <hui@codesourcery.com>
7961
7962 * target.h (target_insert_breakpoint): Remove "hardware" from its
7963 comments.
7964
c5164cbc
DE
79652014-03-07 Doug Evans <dje@google.com>
7966
7967 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
7968
c4a3fee2
DE
79692014-03-07 Doug Evans <dje@google.com>
7970
7971 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
7972 Remove unused local comp_dir_attr. Assert exactly one of
7973 stub_comp_unit_die, stub_comp_dir is non-NULL.
7974
3156469c
JB
79752014-03-07 Joel Brobecker <brobecker@adacore.com>
7976
7977 * target.h (complete_target_initialization, add_target):
7978 Add comment.
7979
c1a7b7c6
PA
79802014-03-07 Pedro Alves <palves@redhat.com>
7981
7982 * go32-nat.c: Include inf-child.h.
7983 (go32_ops): Delete global.
7984 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
7985 Delete methods.
7986 (go32_create_inferior): Push the passed in target pointer instead
7987 of referencing go32_ops.
7988 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
7989 (go32_target): New function, based on init_go32_ops, but inherit
7990 inf_child_target.
7991 (_initialize_go32_nat): Use go32_target. Move parts of
7992 init_go32_ops here.
7993
d3c1a85f
JB
79942014-03-06 Joel Brobecker <brobecker@adacore.com>
7995
7996 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
7997 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
7998 SYMBOL_VALUE_ADDRESS.
7999 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
8000
5fa1d40e
YQ
80012014-03-06 Yao Qi <yao@codesourcery.com>
8002
8003 * breakpoint.c (get_tracepoint_by_number): Remove argument
8004 optional_p. All callers updated. Adjust comments. Update
8005 output message.
8006 * breakpoint.h (get_tracepoint_by_number): Update declaration.
8007
0c13193f
YQ
80082014-03-06 Yao Qi <yao@codesourcery.com>
8009
8010 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
8011 early if get_number returns zero. Use 'p' instead of 'args'.
8012
2217da06
YQ
80132014-03-06 Yao Qi <yao@codesourcery.com>
8014
8015 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
8016 message.
8017
cc3da688
YQ
80182014-03-06 Yao Qi <yao@codesourcery.com>
8019
8020 PR breakpoints/16508
8021 * tracepoint.c (check_trace_running): New function.
8022 (trace_find_command): Move code to check_trace_running and
8023 call check_trace_running.
8024 (trace_find_pc_command): Likewise.
8025 (trace_find_tracepoint_command): Likewise.
8026 (trace_find_line_command): Likewise.
8027 (trace_find_range_command): Likewise.
8028 * tracepoint.h (check_trace_running): Likewise.
8029 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
8030
6a5f844b
YQ
80312014-03-06 Yao Qi <yao@codesourcery.com>
8032
8033 * target.h (struct target_ops) <to_traceframe_info>: Use
8034 TARGET_DEFAULT_NORETURN (tcomplain ()).
8035 * target-delegates.c: Regenerated.
8036
0f26cec1
PA
80372014-03-05 Pedro Alves <palves@redhat.com>
8038
8039 PR gdb/16575
8040 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
8041 void. Update comment.
8042 (dcache_xfer_memory): Delete.
8043 (dcache_read_memory_partial): New, based on the read bits of
8044 dcache_xfer_memory.
8045 (dcache_update): Add status parameter. Use ULONGEST for len, and
8046 adjust. Discard cache lines if the reason for the update was
8047 error.
8048 * dcache.h (dcache_xfer_memory): Delete declaration.
8049 (dcache_read_memory_partial): New declaration.
8050 (dcache_update): Update prototype.
8051 * target.c (raw_memory_xfer_partial): Update the dcache here.
8052 (memory_xfer_partial_1): Don't handle dcache writes here.
8053
b2b255bd
MF
80542014-03-05 Mike Frysinger <vapier@gentoo.org>
8055
8056 * remote-sim.c (gdbsim_load): Add const to prog.
8057
5d9cf8a4
TT
80582014-03-03 Tom Tromey <tromey@redhat.com>
8059
8060 * elfread.c (probe_key): Change to bfd_data.
8061 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
8062 now per-BFD, not per-objfile.
8063 * stap-probe.c (stap_probe_destroy): Update comment.
8064 (handle_stap_probe): Allocate on the per-BFD obstack.
8065
729662a5
TT
80662014-03-03 Tom Tromey <tromey@redhat.com>
8067
8068 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
8069 * breakpoint.c (create_longjmp_master_breakpoint): Use
8070 get_probe_address.
8071 (add_location_to_breakpoint, bkpt_probe_insert_location)
8072 (bkpt_probe_remove_location): Update.
8073 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
8074 * elfread.c (elf_symfile_relocate_probe): Remove.
8075 (elf_probe_fns): Update.
8076 (insert_exception_resume_breakpoint): Change type of "probe"
8077 parameter to bound_probe.
8078 (check_exception_resume): Update.
8079 * objfiles.c (objfile_relocate1): Don't relocate probes.
8080 * probe.c (bound_probe_s): New typedef.
8081 (parse_probes): Use get_probe_address. Set sal's objfile.
8082 (find_probe_by_pc): Return a bound_probe.
8083 (collect_probes): Return a VEC(bound_probe_s).
8084 (compare_probes): Update.
8085 (gen_ui_out_table_header_info): Change type of "probes"
8086 parameter. Update.
8087 (info_probes_for_ops): Update.
8088 (get_probe_address): New function.
8089 (probe_safe_evaluate_at_pc): Update.
8090 * probe.h (struct probe_ops) <get_probe_address>: New field.
8091 <set_semaphore, clear_semaphore>: Add objfile parameter.
8092 (struct probe) <objfile>: Remove field.
8093 <arch>: New field.
8094 <address>: Update comment.
8095 (struct bound_probe): New.
8096 (find_probe_by_pc): Return a bound_probe.
8097 (get_probe_address): Declare.
8098 * solib-svr4.c (struct probe_and_action) <address>: New field.
8099 (hash_probe_and_action, equal_probe_and_action): Update.
8100 (register_solib_event_probe): Add address parameter.
8101 (solib_event_probe_at): Update.
8102 (svr4_create_probe_breakpoints): Add objfile parameter. Use
8103 get_probe_address.
8104 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
8105 (stap_get_probe_address): New function.
8106 (stap_can_evaluate_probe_arguments, compute_probe_arg)
8107 (compile_probe_arg): Update.
8108 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
8109 address.
8110 (handle_stap_probe): Don't relocate the probe.
8111 (stap_relocate): Remove.
8112 (stap_gen_info_probes_table_values): Update.
8113 (stap_probe_ops): Remove stap_relocate.
8114 * symfile-debug.c (debug_sym_relocate_probe): Remove.
8115 (debug_sym_probe_fns): Update.
8116 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
8117 * symtab.c (init_sal): Use memset.
8118 * symtab.h (struct symtab_and_line) <objfile>: New field.
8119 * tracepoint.c (start_tracing, stop_tracing): Update.
8120
ff887920
TT
81212014-03-03 Tom Tromey <tromey@redhat.com>
8122
8123 * probe.h (parse_probes, find_probe_by_pc)
8124 (find_probes_in_objfile): Fix comments.
8125
f0407826
DE
81262014-03-02 Doug Evans <xdje42@gmail.com>
8127
8128 * infrun.c (handle_signal_stop): Replace test for
8129 TARGET_WAITKIND_STOPPED with an assert.
8130
35e6a711
DE
81312014-03-02 Doug Evans <xdje42@gmail.com>
8132
8133 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
8134
667f9d0b
DE
81352014-03-02 Doug Evans <xdje42@gmail.com>
8136
8137 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
8138
dc92ace0
MK
81392014-03-01 Mark Kettenis <kettenis@gnu.org>
8140
8141 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
8142
a900370f
MK
81432014-03-01 Mark Kettenis <kettenis@gnu.org>
8144
8145 * i386obsd-nat.c: Include "obsd-nat.h".
8146 (_initialize_i386obsd_nat): Call obsd_add_target instead of
8147 add_target.
8148 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
8149
b72a7981
MK
81502014-03-01 Mark Kettenis <kettenis@gnu.org>
8151
8152 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
8153
96c70aba
MK
81542014-03-01 Mark Kettenis <kettenis@gnu.org>
8155
8156 * mips64obsd-nat.c: Include "obsd-nath".
8157 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
8158 add_target
8159 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
8160
874a80af
MK
81612014-03-01 Mark Kettenis <kettenis@gnu.org>
8162
8fd408f1
MK
8163 * amd64obsd-nat.c: Include "obsd-nat,h.
8164 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
8165 add_target.
874a80af
MK
8166 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
8167
9cf95373
SC
81682014-02-28 Siva Chandra Reddy <sivachandra@google.com>
8169
8170 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
8171 (find_overload_match): Update call to find_oload_champ.
8172 (find_oload_champ_namespace_loop): Likewise
8173
863e4da4
MK
81742014-02-28 Mark Kettenis <kettenis@gnu.org>
8175
025cac40
MK
8176 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
8177
1ed586ce
MK
8178 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
8179 * config/sparc/obsd64.mh: New file.
8180 * sparc64obsd-nat.c: New file.
8181
863e4da4
MK
8182 * obsd-nat.h: New file.
8183 * obsd-nat.c: New file.
8184 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
8185 (ALLDEPFILES): Add obsd-nat.c.
8186
89de4da4
TT
81872014-02-28 Tom Tromey <tromey@redhat.com>
8188
8189 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
8190 * cli-out.h (cli_ui_out_impl): Now const.
8191 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
8192 * ui-out.c (struct ui_out) <impl>: Now const.
8193 (default_ui_out_impl): Now const.
8194 (ui_out_new): Make 'impl' parameter const.
8195 * ui-out.h (ui_out_new): Update.
8196
c725e7b6
MK
81972014-02-27 Mark Kettenis <kettenis@gnu.org>
8198
8199 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
8200
670b46b3
MK
82012014-02-27 Mark Kettenis <kettenis@gnu.org>
8202
8203 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
8204
c91550fc
JK
82052014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8206
8207 Additional PR 8882 fix.
8208 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
8209
2fa0369e
PA
82102014-02-27 Pedro Alves <palves@redhat.com>
8211
8212 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
8213 isn't set.
8214
d632a097
PA
82152014-02-27 Pedro Alves <palves@redhat.com>
8216
8217 PR 12702
8218 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
8219 * nat/linux-waitpid.c: Include string.h.
8220 (status_to_str): Moved here and made extern.
8221 * nat/linux-waitpid.h (status_to_str): New declaration.
8222
2ebd5a35
HZ
82232014-02-27 Hui Zhu <hui@codesourcery.com>
8224
8225 PR 12702
8226 * infrun.c (ptid_match): Move ...
8227 * common/ptid.c (ptid_match): ... here.
8228 * inferior.h (ptid_match): Move ...
8229 * common/ptid.h (ptid_match): ... here.
8230
3cdd631f
MK
82312014-02-27 Mark Kettenis <kettenis@gnu.org>
8232
8233 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
8234 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
8235 gdb_target_obs.
8236
bee30a64
MK
82372014-02-27 Mark Kettenis <kettenis@gnu.org>
8238
8239 * obsd-tdep.c (obsd_auxv_parse): New function.
8240 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
8241
8242 * gdbarch.sh (auxv_parse): New.
8243 * gdbarch.h: Regenerated.
8244 * gdbarch.c: Regenerated.
8245 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
8246
7a5a839f
LC
82472014-02-26 Ludovic Courtès <ludo@gnu.org>
8248
8249 * guile/scm-value.c (gdbscm_history_append_x): New function.
8250 (value_functions): Add it.
8251
31aa7e4e
JB
82522014-02-27 Joel Brobecker <brobecker@adacore.com>
8253
8254 * dwarf2read.c (attr_value_as_address): New function.
8255 (dwarf2_find_base_address, read_call_site_scope): Use
8256 attr_value_as_address in place of DW_ADDR.
8257 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
8258 the low and high addresses. Slight rework of the handling
8259 of the high pc being a constant form, and limit it to
8260 DWARF verson 4 or higher.
8261 (dwarf2_record_block_ranges): Likewise.
8262 (read_partial_die): Likewise.
8263 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
8264
9b333ba3
TT
82652014-02-26 Tom Tromey <tromey@redhat.com>
8266
8267 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
8268
5f6cac40
TT
82692014-02-26 Tom Tromey <tromey@redhat.com>
8270
8271 * elfread.c (elf_read_minimal_symbols): Return early if
8272 minimal symbols have already been read. Add "ei" parameter.
8273 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
8274 * minsyms.c (prim_record_minimal_symbol_full): Update.
8275 * objfiles.h (struct objstats) <n_minsyms>: Move...
8276 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
8277 * symmisc.c (print_objfile_statistics): Update.
8278
2750ef27
TT
82792014-02-26 Tom Tromey <tromey@redhat.com>
8280
8281 * elfread.c (elf_read_minimal_symbols): New function, from
8282 elf_symfile_read.
8283 (elf_symfile_read): Call it.
8284
34643a32
TT
82852014-02-26 Tom Tromey <tromey@redhat.com>
8286
8287 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
8288 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
8289 (lookup_minimal_symbol_solib_trampoline)
8290 (lookup_minimal_symbol_by_pc_section_1)
8291 (lookup_minimal_symbol_and_objfile): Update.
8292 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
8293 Don't allocate a minimal symbol if minsyms have already been read.
8294 (build_minimal_symbol_hash_tables): Update.
8295 (install_minimal_symbols): Do nothing if minsyms already read.
8296 Use the per-BFD obstack.
8297 (terminate_minimal_symbol_table): Use the per-BFD obstack.
8298 * objfiles.c (allocate_objfile): Call
8299 terminate_minimal_symbol_table later.
8300 (have_minimal_symbols): Update.
8301 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
8302 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
8303 Move from struct objfile.
8304 <minsyms_read>: New field.
8305 (struct objfile) <msymbols, minimal_symbol_count,
8306 msymbol_hash, msymbol_demangled_hash>: Move.
8307 (ALL_OBJFILE_MSYMBOLS): Update.
8308 * symfile.c (read_symbols): Set minsyms_read.
8309 (reread_symbols): Update.
8310 * symmisc.c (dump_objfile, dump_msymbols): Update.
8311
2273f0ac
TT
83122014-02-26 Tom Tromey <tromey@redhat.com>
8313
8314 * minsyms.c (msymbols_sort): Remove.
8315 * minsyms.h (msymbols_sort): Remove.
8316 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
8317 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
8318 * elfread.c (elf_symtab_read): Don't add section offsets.
8319 * xcoffread.c (record_minimal_symbol): Don't add section offset
8320 to minimal symbol address.
8321 * somread.c (text_offset, data_offset): Remove.
8322 (som_symtab_read): Don't add section offsets to minimal symbol
8323 addresses.
8324 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
8325 Don't add section offsets to minimal symbols.
8326 * coffread.c (coff_symtab_read): Don't add section offsets
8327 to minimal symbol addresses.
8328 * machoread.c (macho_symtab_add_minsym): Don't add section offset
8329 to minimal symbol addresses.
8330 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
8331 section offset to minimal symbol addresses.
8332 * mdebugread.c (parse_partial_symbols): Don't add section
8333 offset to minimal symbol addresses.
8334 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
8335 offset to minimal symbol addresses.
8336
77e371c0
TT
83372014-02-26 Tom Tromey <tromey@redhat.com>
8338
8339 * ada-lang.c (ada_main_name): Update.
8340 (ada_add_standard_exceptions): Update.
8341 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
8342 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8343 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
8344 * auxv.c (ld_so_xfer_auxv): Update.
8345 * avr-tdep.c (avr_scan_prologue): Update.
8346 * ax-gdb.c (gen_var_ref): Update.
8347 * blockframe.c (get_pc_function_start)
8348 (find_pc_partial_function_gnu_ifunc): Update.
8349 * breakpoint.c (create_overlay_event_breakpoint)
8350 (create_longjmp_master_breakpoint)
8351 (create_std_terminate_master_breakpoint)
8352 (create_exception_master_breakpoint): Update.
8353 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8354 * c-valprint.c (c_val_print): Update.
8355 * coff-pe-read.c (add_pe_forwarded_sym): Update.
8356 * common/agent.c (agent_look_up_symbols): Update.
8357 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
8358 * dwarf2loc.c (call_site_to_target_addr): Update.
8359 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
8360 * elfread.c (elf_gnu_ifunc_record_cache)
8361 (elf_gnu_ifunc_resolve_by_got): Update.
8362 * findvar.c (default_read_var_value): Update.
8363 * frame.c (inside_main_func): Update.
8364 * frv-tdep.c (frv_frame_this_id): Update.
8365 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8366 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
8367 Update.
8368 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
8369 (hppa_hpux_find_dummy_bpaddr): Update.
8370 * hppa-tdep.c (hppa_symbol_address): Update.
8371 * infcmd.c (until_next_command): Update.
8372 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
8373 Update.
8374 * linespec.c (minsym_found, add_minsym): Update.
8375 * linux-nat.c (get_signo): Update.
8376 * linux-thread-db.c (inferior_has_bug): Update.
8377 * m32c-tdep.c (m32c_return_value)
8378 (m32c_m16c_address_to_pointer): Update.
8379 * m32r-tdep.c (m32r_frame_this_id): Update.
8380 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8381 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8382 * maint.c (maintenance_translate_address): Update.
8383 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
8384 (frob_address): New function.
8385 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
8386 frob_address. Rename parameter to "pc_in".
8387 (compare_minimal_symbols, compact_minimal_symbols): Use raw
8388 addresses.
8389 (find_solib_trampoline_target, minimal_symbol_upper_bound):
8390 Update.
8391 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8392 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
8393 * objc-lang.c (find_objc_msgsend): Update.
8394 * objfiles.c (objfile_relocate1): Update.
8395 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8396 * p-valprint.c (pascal_val_print): Update.
8397 * parse.c (write_exp_msymbol): Update.
8398 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
8399 (ppc_elfv2_skip_entrypoint): Update.
8400 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8401 * printcmd.c (build_address_symbolic, msym_info)
8402 (address_info): Update.
8403 * proc-service.c (ps_pglobal_lookup): Update.
8404 * psymtab.c (find_pc_sect_psymtab_closer)
8405 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
8406 Change msymbol parameter to bound_minimal_symbol.
8407 * ravenscar-thread.c (get_running_thread_id): Update.
8408 * remote.c (remote_check_symbols): Update.
8409 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
8410 address.
8411 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8412 * solib-dsbt.c (lm_base): Update.
8413 * solib-frv.c (lm_base, main_got): Update.
8414 * solib-irix.c (locate_base): Update.
8415 * solib-som.c (som_solib_create_inferior_hook)
8416 (link_map_start): Update.
8417 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
8418 * solib-svr4.c (elf_locate_base, enable_break): Update.
8419 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
8420 (flush_ea_cache): Update.
8421 * stabsread.c (define_symbol, scan_file_globals): Update.
8422 * stack.c (find_frame_funname): Update.
8423 * symfile-debug.c (debug_qf_expand_symtabs_matching)
8424 (debug_qf_find_pc_sect_symtab): Update.
8425 * symfile.c (simple_read_overlay_table)
8426 (simple_overlay_update): Update.
8427 * symfile.h (struct quick_symbol_functions)
8428 <find_pc_sect_symtab>: Change type of msymbol to
8429 bound_minimal_symbol.
8430 * symmisc.c (dump_msymbols): Update.
8431 * symtab.c (find_pc_sect_symtab_via_partial)
8432 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
8433 (search_symbols, print_msymbol_info): Update.
8434 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
8435 (MSYMBOL_VALUE_ADDRESS): Redefine.
8436 (BMSYMBOL_VALUE_ADDRESS): New macro.
8437 * tracepoint.c (scope_info): Update.
8438 * tui/tui-disasm.c (tui_find_disassembly_address)
8439 (tui_get_begin_asm_address): Update.
8440 * valops.c (find_function_in_inferior): Update.
8441 * value.c (value_static_field, value_fn_field): Update.
8442
3b7344d5
TT
84432014-02-26 Tom Tromey <tromey@redhat.com>
8444
8445 * ada-lang.c (ada_update_initial_language): Update.
8446 (ada_main_name, ada_has_this_exception_support): Update.
8447 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
8448 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8449 * arm-tdep.c (arm_skip_stub): Update.
8450 * auxv.c (ld_so_xfer_auxv): Update.
8451 * avr-tdep.c (avr_scan_prologue): Update.
8452 * ax-gdb.c (gen_var_ref): Update.
8453 * breakpoint.c (struct breakpoint_objfile_data)
8454 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
8455 type to bound_minimal_symbol.
8456 (create_overlay_event_breakpoint)
8457 (create_longjmp_master_breakpoint)
8458 (create_std_terminate_master_breakpoint)
8459 (create_exception_master_breakpoint): Update.
8460 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8461 * c-exp.y (classify_name): Update.
8462 * coffread.c (coff_symfile_read): Update.
8463 * common/agent.c (agent_look_up_symbols): Update.
8464 * d-lang.c (d_main_name): Update.
8465 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
8466 * dec-thread.c (enable_dec_thread): Update.
8467 * dwarf2loc.c (call_site_to_target_addr): Update.
8468 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
8469 * eval.c (evaluate_subexp_standard): Update.
8470 * findvar.c (struct minsym_lookup_data) <result>: Change type
8471 to bound_minimal_symbol.
8472 <objfile>: Remove.
8473 (minsym_lookup_iterator_cb, default_read_var_value): Update.
8474 * frame.c (inside_main_func): Update.
8475 * frv-tdep.c (frv_frame_this_id): Update.
8476 * gcore.c (call_target_sbrk): Update.
8477 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8478 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
8479 Update.
8480 * go-lang.c (go_main_name): Update.
8481 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
8482 (hppa_hpux_find_import_stub_for_addr): Update.
8483 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
8484 Update. Change return type.
8485 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
8486 type.
8487 * jit.c (jit_breakpoint_re_set_internal): Update.
8488 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
8489 Update.
8490 * linux-nat.c (get_signo): Update.
8491 * linux-thread-db.c (inferior_has_bug): Update
8492 * m32c-tdep.c (m32c_return_value)
8493 (m32c_m16c_address_to_pointer): Update.
8494 * m32r-tdep.c (m32r_frame_this_id): Update.
8495 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8496 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8497 * minsyms.c (lookup_minimal_symbol_internal): Rename to
8498 lookup_minimal_symbol. Change return type.
8499 (lookup_minimal_symbol): Remove.
8500 (lookup_bound_minimal_symbol): Update.
8501 (lookup_minimal_symbol_text): Change return type.
8502 (lookup_minimal_symbol_solib_trampoline): Change return type.
8503 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
8504 (lookup_minimal_symbol_solib_trampoline): Change return type.
8505 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8506 * objc-lang.c (lookup_objc_class, lookup_child_selector)
8507 (value_nsstring, find_imps): Update.
8508 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8509 * p-lang.c (pascal_main_name): Update.
8510 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
8511 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8512 * proc-service.c (ps_pglobal_lookup): Update.
8513 * ravenscar-thread.c (get_running_thread_msymbol): Change
8514 return type.
8515 (has_ravenscar_runtime, get_running_thread_id): Update.
8516 * remote.c (remote_check_symbols): Update.
8517 * sol-thread.c (ps_pglobal_lookup): Update.
8518 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8519 * solib-dsbt.c (lm_base): Update.
8520 * solib-frv.c (lm_base, frv_relocate_section_addresses):
8521 Update.
8522 * solib-irix.c (locate_base): Update.
8523 * solib-som.c (som_solib_create_inferior_hook)
8524 (som_solib_desire_dynamic_linker_symbols, link_map_start):
8525 Update.
8526 * solib-spu.c (spu_enable_break): Update.
8527 * solib-svr4.c (elf_locate_base, enable_break): Update.
8528 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
8529 (flush_ea_cache): Update.
8530 * stabsread.c (define_symbol): Update.
8531 * symfile.c (simple_read_overlay_table): Update.
8532 * symtab.c (find_pc_sect_line): Update.
8533 * tracepoint.c (scope_info): Update.
8534 * tui-disasm.c (tui_get_begin_asm_address): Update.
8535 * value.c (value_static_field): Update.
8536
40c1a007
TT
85372014-02-26 Tom Tromey <tromey@redhat.com>
8538
8539 * minsyms.c (prim_record_minimal_symbol_full): Use
8540 SET_MSYMBOL_VALUE_ADDRESS.
8541 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
8542 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
8543 SET_MSYMBOL_VALUE_ADDRESS.
8544 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
8545 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
8546
efd66ac6
TT
85472014-02-26 Tom Tromey <tromey@redhat.com>
8548
8549 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
8550 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
8551 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
8552 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
8553 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
8554 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
8555 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
8556 * ada-lang.c (ada_main_name): Update.
8557 (ada_lookup_simple_minsym): Update.
8558 (ada_make_symbol_completion_list): Update.
8559 (ada_add_standard_exceptions): Update.
8560 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
8561 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
8562 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
8563 * arm-tdep.c (skip_prologue_function): Update.
8564 (arm_skip_stack_protector, arm_skip_stub): Update.
8565 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
8566 (arm_wince_skip_main_prologue): Update.
8567 * auxv.c (ld_so_xfer_auxv): Update.
8568 * avr-tdep.c (avr_scan_prologue): Update.
8569 * ax-gdb.c (gen_var_ref): Update.
8570 * block.c (call_site_for_pc): Update.
8571 * blockframe.c (get_pc_function_start): Update.
8572 (find_pc_partial_function_gnu_ifunc): Update.
8573 * breakpoint.c (create_overlay_event_breakpoint): Update.
8574 (create_longjmp_master_breakpoint): Update.
8575 (create_std_terminate_master_breakpoint): Update.
8576 (create_exception_master_breakpoint): Update.
8577 (resolve_sal_pc): Update.
8578 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
8579 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
8580 Update.
8581 * c-valprint.c (c_val_print): Update.
8582 * coff-pe-read.c (add_pe_forwarded_sym): Update.
8583 * coffread.c (coff_symfile_read): Update.
8584 * common/agent.c (agent_look_up_symbols): Update.
8585 * dbxread.c (find_stab_function_addr): Update.
8586 (end_psymtab): Update.
8587 * dwarf2loc.c (call_site_to_target_addr): Update.
8588 (func_verify_no_selftailcall): Update.
8589 (tailcall_dump): Update.
8590 (call_site_find_chain_1): Update.
8591 (dwarf_expr_reg_to_entry_parameter): Update.
8592 * elfread.c (elf_gnu_ifunc_record_cache): Update.
8593 (elf_gnu_ifunc_resolve_by_got): Update.
8594 * f-valprint.c (info_common_command): Update.
8595 * findvar.c (read_var_value): Update.
8596 * frame.c (get_prev_frame_1): Update.
8597 (inside_main_func): Update.
8598 * frv-tdep.c (frv_skip_main_prologue): Update.
8599 (frv_frame_this_id): Update.
8600 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
8601 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
8602 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
8603 (gnuv3_skip_trampoline): Update.
8604 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
8605 (hppa64_hpux_in_solib_call_trampoline): Update.
8606 (hppa_hpux_skip_trampoline_code): Update.
8607 (hppa64_hpux_search_dummy_call_sequence): Update.
8608 (hppa_hpux_find_import_stub_for_addr): Update.
8609 (hppa_hpux_find_dummy_bpaddr): Update.
8610 * hppa-tdep.c (hppa_symbol_address)
8611 (hppa_lookup_stub_minimal_symbol): Update.
8612 * i386-tdep.c (i386_skip_main_prologue): Update.
8613 (i386_pe_skip_trampoline_code): Update.
8614 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
8615 * infcall.c (get_function_name): Update.
8616 * infcmd.c (until_next_command): Update.
8617 * jit.c (jit_breakpoint_re_set_internal): Update.
8618 (jit_inferior_init): Update.
8619 * linespec.c (minsym_found): Update.
8620 (add_minsym): Update.
8621 * linux-fork.c (info_checkpoints_command): Update.
8622 * linux-nat.c (get_signo): Update.
8623 * linux-thread-db.c (inferior_has_bug): Update.
8624 * m32c-tdep.c (m32c_return_value): Update.
8625 (m32c_m16c_address_to_pointer): Update.
8626 (m32c_m16c_pointer_to_address): Update.
8627 * m32r-tdep.c (m32r_frame_this_id): Update.
8628 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
8629 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
8630 * maint.c (maintenance_translate_address): Update.
8631 * minsyms.c (add_minsym_to_hash_table): Update.
8632 (add_minsym_to_demangled_hash_table): Update.
8633 (msymbol_objfile): Update.
8634 (lookup_minimal_symbol): Update.
8635 (iterate_over_minimal_symbols): Update.
8636 (lookup_minimal_symbol_text): Update.
8637 (lookup_minimal_symbol_by_pc_name): Update.
8638 (lookup_minimal_symbol_solib_trampoline): Update.
8639 (lookup_minimal_symbol_by_pc_section_1): Update.
8640 (lookup_minimal_symbol_and_objfile): Update.
8641 (prim_record_minimal_symbol_full): Update.
8642 (compare_minimal_symbols): Update.
8643 (compact_minimal_symbols): Update.
8644 (build_minimal_symbol_hash_tables): Update.
8645 (install_minimal_symbols): Update.
8646 (terminate_minimal_symbol_table): Update.
8647 (find_solib_trampoline_target): Update.
8648 (minimal_symbol_upper_bound): Update.
8649 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
8650 * mips-tdep.c (mips_stub_frame_sniffer): Update.
8651 (mips_skip_pic_trampoline_code): Update.
8652 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
8653 * objc-lang.c (selectors_info): Update.
8654 (classes_info): Update.
8655 (find_methods): Update.
8656 (find_imps): Update.
8657 (find_objc_msgsend): Update.
8658 * objfiles.c (objfile_relocate1): Update.
8659 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
8660 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
8661 * p-valprint.c (pascal_val_print): Update.
8662 * parse.c (write_exp_msymbol): Update.
8663 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
8664 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
8665 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
8666 * printcmd.c (build_address_symbolic): Update.
8667 (sym_info): Update.
8668 (address_info): Update.
8669 * proc-service.c (ps_pglobal_lookup): Update.
8670 * psymtab.c (find_pc_sect_psymtab_closer): Update.
8671 (find_pc_sect_psymtab): Update.
8672 * python/py-framefilter.c (py_print_frame): Update.
8673 * ravenscar-thread.c (get_running_thread_id): Update.
8674 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
8675 Update.
8676 * remote.c (remote_check_symbols): Update.
8677 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
8678 (rs6000_skip_trampoline_code): Update.
8679 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
8680 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
8681 * solib-dsbt.c (lm_base): Update.
8682 * solib-frv.c (lm_base): Update.
8683 (main_got): Update.
8684 * solib-irix.c (locate_base): Update.
8685 * solib-som.c (som_solib_create_inferior_hook): Update.
8686 (som_solib_desire_dynamic_linker_symbols): Update.
8687 (link_map_start): Update.
8688 * solib-spu.c (spu_enable_break): Update.
8689 (ocl_enable_break): Update.
8690 * solib-svr4.c (elf_locate_base): Update.
8691 (enable_break): Update.
8692 * spu-tdep.c (spu_get_overlay_table): Update.
8693 (spu_catch_start): Update.
8694 (flush_ea_cache): Update.
8695 * stabsread.c (define_symbol): Update.
8696 (scan_file_globals): Update.
8697 * stack.c (find_frame_funname): Update.
8698 (frame_info): Update.
8699 * symfile.c (simple_read_overlay_table): Update.
8700 (simple_overlay_update): Update.
8701 * symmisc.c (dump_msymbols): Update.
8702 * symtab.c (fixup_section): Update.
8703 (find_pc_sect_line): Update.
8704 (skip_prologue_sal): Update.
8705 (search_symbols): Update.
8706 (print_msymbol_info): Update.
8707 (rbreak_command): Update.
8708 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
8709 (completion_list_objc_symbol): Update.
8710 (default_make_symbol_completion_list_break_on): Update.
8711 * tracepoint.c (scope_info): Update.
8712 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
8713 (tui_get_begin_asm_address): Update.
8714 * valops.c (find_function_in_inferior): Update.
8715 * value.c (value_static_field): Update.
8716 (value_fn_field): Update.
8717
50e65b17
TT
87182014-02-26 Tom Tromey <tromey@redhat.com>
8719
8720 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
8721 bound minimal symbols. Move code that knows about minsym
8722 table layout...
8723 * minsyms.c (minimal_symbol_upper_bound): ... here. New
8724 function.
8725 * minsyms.h (minimal_symbol_upper_bound): Declare.
8726 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
8727 minimal_symbol_upper_bound.
8728
1b588015
JB
87292014-02-27 Joel Brobecker <brobecker@adacore.com>
8730
8731 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
8732 Use the type's name if its basic type does not have a tag.
8733
dbb9c2b1
JB
87342014-02-27 Joel Brobecker <brobecker@adacore.com>
8735
8736 * dwarf2read.c (read_subrange_type): Add comment.
8737
55426c9d
JB
87382014-02-27 Joel Brobecker <brobecker@adacore.com>
8739
8740 * dwarf2read.c (update_enumeration_type_from_children): New
8741 function, mostly extracted from process_structure_scope.
8742 (read_enumeration_type): Call update_enumeration_type_from_children.
8743 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
8744 and flag_flag_enum fields.
8745
f2fce0ca
PA
87462014-02-26 Pedro Alves <palves@redhat.com>
8747
8748 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
8749 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
8750 to_xfer_partial method.
8751
7a44e40e
PA
87522014-02-26 Pedro Alves <palves@redhat.com>
8753
8754 * target.c (complete_target_initialization): Don't install
8755 default_xfer_partial as to_xfer_partial hook.
8756 (nomemory): Delete.
8757 (update_current_target): Don't INHERIT nor de_fault
8758 deprecated_xfer_memory. Delete de_fault macro.
8759 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
8760 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
8761 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
8762 field.
8763
bd265cd0
PA
87642014-02-26 Pedro Alves <palves@redhat.com>
8765
8766 * go32-nat.c (my_write_child): New function.
8767 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
8768 (go32_xfer_partial): New function.
8769 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
8770 Instead install a to_xfer_partial hook.
8771
9d46c4e5
PA
87722014-02-26 Pedro Alves <palves@redhat.com>
8773
8774 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
8775 to_xfer_partial helper. Rewrite.
8776 (procfs_xfer_partial): New function.
8777 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
8778 Install a to_xfer_partial hook.
8779
a1583b1f
PA
87802014-02-26 Pedro Alves <palves@redhat.com>
8781
8782 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
8783 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
8784 (m32r_xfer_partial): New function.
8785 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
8786 Install a to_xfer_partial hook.
8787
6df1b29f
PA
87882014-02-26 Pedro Alves <palves@redhat.com>
8789
8790 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
8791 helper.
8792 (mips_xfer_partial): New function.
8793 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
8794 hook. Install a to_xfer_partial hook.
8795
dc53a7ad
JB
87962014-02-26 Joel Brobecker <brobecker@adacore.com>
8797
8798 * gdbtypes.h (create_array_type_with_stride): Add declaration.
8799 * gdbtypes.c (create_array_type_with_stride): New function,
8800 renaming create_array_type, but with an added parameter
8801 called "bit_stride".
8802 (create_array_type): Re-implement using
8803 create_array_type_with_stride.
8804 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
8805 and DW_AT_bit_stride attributes.
8806
12ab52e9
PA
88072014-02-26 Pedro Alves <palves@redhat.com>
8808
8809 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
8810 task-specific breakpoints.
8811
d16461ae
PA
88122014-02-25 Pedro Alves <palves@redhat.com>
8813
8814 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
8815 handling of object == TARGET_OBJECT_UNWIND_TABLE.
8816
a8b16220
SS
88172014-02-25 Stan Shebs <stan@codesourcery.com>
8818
8819 * defs.h: Annotate comments for Doxygen.
8820
b9e795ee
TT
88212014-02-25 Tom Tromey <tromey@redhat.com>
8822
8823 * target.h (target_ignore): Don't declare.
8824 * target.c (target_ignore): Remove.
8825
849c862e
JK
88262014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8827
8828 PR gdb/16626
8829 * auto-load.c (auto_load_objfile_script_1): Change filename to
8830 debugfile.
8831
475109d8
JB
88322014-02-25 Joel Brobecker <brobecker@adacore.com>
8833
8834 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
8835 documentation. Adjust prototype to match the target_ops
8836 to_xfer_partial method. Adjust implementation accordingly.
8837
e186c3bd
HZ
88382014-02-25 Hui Zhu <hui@codesourcery.com>
8839
8840 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
8841 to_traceframe_info.
8842
6d451942
KB
88432014-02-25 Kevin Buettner <kevinb@redhat.com>
8844
041ab8b4 8845 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
8846 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
8847 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
8848 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
8849 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
8850 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
8851 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
8852 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
8853 New constants.
8854 (rl78_register_type): Use a data pointer type for SP and
8855 new pseudo registers mentioned above. Use a 16 bit integer
8856 type for all other register pairs.
8857 (rl78_register_name, rl78_g10_register_name): Update for
8858 new pseudo registers.
8859 (rl78_pseudo_register_read): Likewise.
8860 (rl78_pseudo_register_write): Likewise.
8861 (rl78_dwarf_reg_to_regnum): Return register numbers representing
8862 to the newly added pseudo registers.
8863
eddf0bae
DE
88642014-02-24 Doug Evans <dje@google.com>
8865
8866 * value.c (record_latest_value): Fix comment.
8867 * printcmd.c (print_command_1): Remove code to handle -1 return from
8868 record_latest_value.
8869
e96027e0
PA
88702014-02-24 Pedro Alves <palves@redhat.com>
8871
8872 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
8873 deprecated_xfer_memory hook.
8874 (procfs_xfer_partial): Call procfs_xfer_memory instead
8875 of the deprecated_xfer_memory target hook.
8876 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
8877 helper.
8878
0837c976
YZ
88792014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
8880
8881 * windows-nat.c (windows_xfer_shared_libraries): Return
8882 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
8883 requested object is TARGET_OBJECT_LIBRARIES.
8884
bc113b4e
YQ
88852014-02-24 Yao Qi <yao@codesourcery.com>
8886
8887 * target.h (enum target_xfer_status)
8888 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
8889 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
8890 explicitly. New.
8891 * corefile.c (memory_error_message): User updated.
8892 * exec.c (section_table_read_available_memory): Likewise.
8893 * record-btrace.c (record_btrace_xfer_partial): Likewise.
8894 * target.c (target_xfer_status_to_string): Likewise.
8895 (raw_memory_xfer_partial): Likewise.
8896 (memory_xfer_partial_1, target_xfer_partial): Likewise.
8897 * valops.c (read_value_memory): Likewise.
8898 * exec.h: Update comments.
8899
01cb8804
YQ
89002014-02-24 Yao Qi <yao@codesourcery.com>
8901
8902 * target.c (target_xfer_status_to_string): Rename argument err
8903 to status.
8904 * target.h (target_xfer_status_to_string): Update declaration.
8905 Replace target_xfer_error_to_string with
8906 target_xfer_status_to_string in comment.
8907
93063aa6
YQ
89082014-02-24 Yao Qi <yao@codesourcery.com>
8909
8910 * mips-linux-nat.c (super_close): Update its type.
8911 (mips_linux_close): Pass 'self' to super_close.
8912
5c328c05
YQ
89132014-02-24 Yao Qi <yao@codesourcery.com>
8914
8915 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
8916 * corefile.c (read_memory): Adjusted.
8917 * target.c (target_write_with_progress): Adjusted.
8918
f73023dd
YQ
89192014-02-23 Yao Qi <yao@codesourcery.com>
8920
8921 Revert two patches:
8922
8923 2013-10-25 Yao Qi <yao@codesourcery.com>
8924
8925 * remote.c (remote_traceframe_info): Return early if
8926 traceframe is not selected.
8927
8928 2013-07-19 Yao Qi <yao@codesourcery.com>
8929
8930 * target.c (update_current_target): Change the default action
8931 of 'to_traceframe_info' from tcomplain to return_zero.
8932 * target.h (struct target_ops) <to_traceframe_info>: Add more
8933 comments.
8934
5a2eb0ef
YQ
89352014-02-23 Yao Qi <yao@codesourcery.com>
8936
8937 * valops.c (read_value_memory): Rewrite it. Call
8938 target_xfer_partial in a loop.
8939 * exec.h (section_table_available_memory): Remove declaration.
8940 Move comments to ...
8941 * exec.c (section_table_available_memory): ... here. Make it
8942 static.
8943
1ee79381
YQ
89442014-02-23 Yao Qi <yao@codesourcery.com>
8945
8946 * exec.c (section_table_read_available_memory): New function.
8947 * exec.h (section_table_read_available_memory): Declare.
8948 * ctf.c (ctf_xfer_partial): Call
8949 section_table_read_available_memory.
8950 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8951
1ca49d37
YQ
89522014-02-23 Yao Qi <yao@codesourcery.com>
8953
8954 * ctf.c (ctf_xfer_partial): Move code to ...
8955 * exec.c (exec_read_partial_read_only): ... it. New function.
8956 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8957 * tracefile.c: Include "exec.h".
8958 * exec.h (exec_read_partial_read_only): Declare.
8959
a283690e
YQ
89602014-02-23 Yao Qi <yao@codesourcery.com>
8961
8962 * tracefile-tfile.c (tfile_has_all_memory): Remove.
8963 (tfile_has_memory): Remove.
8964 (init_tfile_ops): Don't set fields to_has_all_memory and
8965 to_has_memory of tfile_ops.
8966 * tracefile.c (tracefile_has_all_memory): New function.
8967 (tracefile_has_memory): New function.
8968 (init_tracefile_ops): Initialize fields to_has_all_memory and
8969 to_has_memory of 'ops'.
8970
12e03cd0
YQ
89712014-02-23 Yao Qi <yao@codesourcery.com>
8972
8973 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
8974 (ctf_thread_alive, ctf_get_trace_status): Remove.
8975 (init_ctf_ops): Don't set some fields of ctf_ops. Call
8976 init_tracefile_ops.
8977 * tracefile-tfile.c (tfile_get_trace_status): Remove.
8978 (tfile_has_stack, tfile_has_registers): Remove.
8979 (tfile_thread_alive): Remove.
8980 (init_tfile_ops): Don't set some fields of tfile_ops. Call
8981 init_tracefile_ops.
8982 * tracefile.c (tracefile_has_stack): New function.
8983 (tracefile_has_registers): New function.
8984 (tracefile_thread_alive): New function.
8985 (tracefile_get_trace_status): New function.
8986 (init_tracefile_ops): New function.
8987 * tracefile.h (init_tracefile_ops): Declare.
8988
11395323
YQ
89892014-02-23 Yao Qi <yao@codesourcery.com>
8990
8991 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
8992 (O_LARGEFILE): Likewise.
8993 (tfile_ops): Likewise.
8994 (TRACE_HEADER_SIZE): Likewise.
8995 (trace_fd, trace_frames_offset, cur_offset): Likewise.
8996 (cur_data_size): Likewise.
8997 (tfile_read, tfile_open, tfile_interp_line): Likewise.
8998 (tfile_close, tfile_files_info): Likewise.
8999 (tfile_get_trace_status): Likewise.
9000 (tfile_get_tracepoint_status): Likewise.
9001 (tfile_get_traceframe_address): Likewise.
9002 (tfile_trace_find, match_blocktype): Likewise.
9003 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
9004 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
9005 (tfile_get_trace_state_variable_value): Likewise.
9006 (tfile_has_all_memory, tfile_has_memory): Likewise.
9007 (tfile_has_stack, tfile_has_registers): Likewise.
9008 (tfile_thread_alive, build_traceframe_info): Likewise.
9009 (tfile_traceframe_info, init_tfile_ops): Likewise.
9010 (_initialize_tracepoint): Don't call init_tfile_ops
9011 and add_target_with_completer.
9012 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
9013 exec.h, completer.h and filenames.h.
9014 (_initialize_tracefile_tfile): New function.
9015
7951c4eb
YQ
90162014-02-23 Yao Qi <yao@codesourcery.com>
9017
9018 * Makefile.in (REMOTE_OBS): Append tracefile.o and
9019 tracefile-tfile.o.
9020 (HFILES_NO_SRCDIR): Add tracefile.h.
9021 * ctf.c: Include "tracefile.h".
9022 * tracefile.h: New file.
9023 * tracefile.c: New file
9024 * tracefile-tfile.c: New file.
9025 * tracepoint.c: Include "tracefile.h".
9026 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
9027 (stop_reason_names): Add const.
9028 (trace_file_writer_xfree): Move it to tracefile.c.
9029 (trace_save, trace_save_command, trace_save_tfile): Likewise.
9030 (trace_save_ctf): Likewise.
9031 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
9032 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
9033 (tfile_write_header, tfile_write_regblock_type): Likewise.
9034 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
9035 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
9036 (tfile_write_raw_data, tfile_end): Likewise.
9037 (tfile_trace_file_writer_new): Likewise.
9038 (free_uploaded_tp): Make it extern.
9039 (free_uploaded_tsv): Make it extern.
9040 (_initialize_tracepoint): Move code to register command 'tsave'
9041 to tracefile.c.
9042 * tracepoint.h (stop_reason_names): Declare.
9043 (struct trace_frame_write_ops): Move it to tracefile.h.
9044 (struct trace_file_write_ops): Likewise.
9045 (struct trace_file_writer): Likewise.
9046 (free_uploaded_tsvs, free_uploaded_tps): Declare.
9047
184cd072
JK
90482014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9049
9050 PR gdb/16594
9051 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
9052 process name.
9053 (get_cores_used_by_process): New parameter num_cores, use it.
9054 (linux_xfer_osdata_processes): Pass num_cores to it.
9055 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
9056 process name.
9057
c63528fc
AK
90582014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
9059
9060 * target.c (memory_xfer_partial): Fix length arg in call to
9061 breakpoint_xfer_memory.
9062
d7b30f67
SDJ
90632014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9064
9065 PR tdep/16397
9066 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
9067 number comes after the + or - signs. Adjust length of register
9068 name to be extracted.
9069
8838afaf
TT
90702014-02-20 Tom Tromey <tromey@redhat.com>
9071
9072 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
9073 (ada_varobj_ops): Mark "extern".
9074
05227d14
TT
90752014-02-20 Tom Tromey <tromey@redhat.com>
9076
9077 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
9078
1254eefc
DE
90792014-02-20 Doug Evans <xdje42@gmail.com>
9080
9081 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
9082 All callers updated.
9083 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
9084 All callers updated.
9085 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
9086 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
9087
adde2bff
DE
90882014-02-20 lin zuojian <manjian2006@gmail.com>
9089 Joel Brobecker <brobecker@adacore.com>
9090 Doug Evans <xdje42@gmail.com>
9091
9092 PR symtab/16581
9093 * dwarf2read.c (struct die_info): New member in_process.
9094 (reset_die_in_process): New function.
9095 (process_die): Set it at the start, reset when returning.
9096 (inherit_abstract_dies): Only call process_die if origin_child_die
9097 not already being processed.
9098
3be75f87
JB
90992014-02-20 Joel Brobecker <brobecker@adacore.com>
9100
9101 * windows-nat.c (handle_unload_dll): Add function documentation.
9102 (do_initial_windows_stuff): Add comment explaining why we wait
9103 until after inferior initialization has finished before
9104 processing all DLLs.
9105
47f7ffdb
JB
91062014-02-20 Joel Brobecker <brobecker@adacore.com>
9107
9108 * windows-nat.c (get_module_name): Delete.
9109 (windows_get_exec_module_filename): New function, mostly
9110 inspired from get_module_name.
9111 (windows_pid_to_exec_file): Replace call to get_module_name
9112 by call to windows_get_exec_module_filename.
9113
1cd9feab
JB
91142014-02-20 Joel Brobecker <brobecker@adacore.com>
9115
9116 * windows-nat.c (handle_load_dll): Rewrite this function's
9117 introductory comment. Remove code using get_module_name
9118 to get the DLL's name.
9119
ea39ad35
JB
91202014-02-20 Joel Brobecker <brobecker@adacore.com>
9121
9122 * windows-nat.c (get_windows_debug_event): Ignore
9123 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
9124 if windows_initialization_done == 0.
9125 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
9126 Adjust implementation to always load all DLLs.
9127 (do_initial_windows_stuff): Replace call to
9128 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
9129
95060284
JB
91302014-02-20 Joel Brobecker <brobecker@adacore.com>
9131
9132 * windows-nat.c (_initialize_windows_nat): Deprecate the
9133 "dll-symbols" command. Turn the "add-shared-symbol-files"
9134 and "assf" aliases into commands, and deprecate them as well.
9135 * NEWS: Add entry explaining that "dll-symbols" and its two
9136 aliases are now deprecated.
9137
8d4fdb12
JB
91382014-02-20 Joel Brobecker <brobecker@adacore.com>
9139
9140 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
9141 new-line in debug string. Remove trailing spaces.
9142
1b281443
SS
91432014-02-19 Stan Shebs <stan@codesourcery.com>
9144
9145 * darwin-nat.c (darwin_xfer_partial): Fix return type.
9146
f7bd0f78
SC
91472014-02-19 Siva Chandra Reddy <sivachandra@google.com>
9148
9149 * NEWS: Add entry for the new feature
9150 * python/py-value.c (valpy_binop): Call value_x_binop for struct
9151 and class values.
9152
399ebc3d
SS
91532014-02-19 Stan Shebs <stan@codesourcery.com>
9154
9155 * MAINTAINERS: List Yao Qi as nios2 maintainer.
9156
c658158d
PA
91572014-02-19 Pedro Alves <palves@redhat.com>
9158
9159 * common/ptid.h (struct ptid): Mention that process_stratum
9160 targets should prefer ptid.lwp.
9161
ba348170
PA
91622014-02-19 Pedro Alves <palves@redhat.com>
9163
9164 * remote.c (remote_thread_alive, write_ptid, read_ptid)
9165 (read_ptid, remote_newthread_step, remote_threads_extra_info)
9166 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
9167 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
9168 store remote thread ids rather than ptid.tid.
9169 (_initialize_remote): Adjust.
9170
ac01945b
TT
91712014-02-19 Tom Tromey <tromey@redhat.com>
9172
9173 * target.c (target_get_unwinder): Rewrite.
9174 (target_get_tailcall_unwinder): Rewrite.
9175 * record-btrace.c (record_btrace_to_get_unwinder): New function.
9176 (record_btrace_to_get_tailcall_unwinder): New function.
9177 (init_record_btrace_ops): Update.
9178 * target.h (struct target_ops) <to_get_unwinder,
9179 to_get_tailcall_unwinder>: Now function pointers. Use
9180 TARGET_DEFAULT_RETURN.
9181
8476dc92
TT
91822014-02-19 Tom Tromey <tromey@redhat.com>
9183
9184 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
9185 argument.
9186 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
9187
c0eca49f
TT
91882014-02-19 Tom Tromey <tromey@redhat.com>
9189
9190 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
9191 directly.
9192 * target-delegates.c: Rebuild.
9193 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
9194 TARGET_DEFAULT_FUNC.
9195 * target.c (default_target_decr_pc_after_break): Rename from
9196 forward_target_decr_pc_after_break. Simplify.
9197 (target_decr_pc_after_break): Rely on delegation.
9198
596b6b39
TT
91992014-02-19 Tom Tromey <tromey@redhat.com>
9200
9201 * target.c (update_current_target): Do not INHERIT to_doc or
9202 to_magic. Do not de_fault to_open or to_close.
9203
b427c1bc
TT
92042014-02-19 Tom Tromey <tromey@redhat.com>
9205
9206 * gcore.h (objfile_find_memory_regions): Declare.
9207 * gcore.c (objfile_find_memory_regions): No longer static. Add
9208 "self" argument.
9209 (_initialize_gcore): Don't call exec_set_find_memory_regions.
9210 * exec.c: Include gcore.h.
9211 (exec_set_find_memory_regions): Remove.
9212 (exec_find_memory_regions): Remove.
9213 (exec_do_find_memory_regions): Remove.
9214 (init_exec_ops): Update.
9215 * defs.h (exec_set_find_memory_regions): Remove.
9216
9b144037
TT
92172014-02-19 Tom Tromey <tromey@redhat.com>
9218
9219 * target-delegates.c: Rebuild.
9220 * target.h (struct target_ops) <to_extra_thread_info,
9221 to_thread_name, to_pid_to_exec_file, to_get_section_table,
9222 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
9223 not 0, in TARGET_DEFAULT_RETURN.
9224
555bbdeb
TT
92252014-02-19 Tom Tromey <tromey@redhat.com>
9226
9227 * target.c (complete_target_initialization): Remove casts. Use
9228 return_zero_has_execution.
9229 (return_zero): Add "ignore" argument.
9230 (return_zero_has_execution): New function.
9231 (init_dummy_target): Remove casts. Use
9232 return_zero_has_execution.
9233
be4ddd36
TT
92342014-02-19 Tom Tromey <tromey@redhat.com>
9235
9236 * target.c (update_current_target): Update comments. Do not
9237 INHERIT to_stratum.
9238
2117c711
TT
92392014-02-19 Tom Tromey <tromey@redhat.com>
9240
9241 * arm-linux-nat.c (arm_linux_read_description): Delegate when
9242 needed.
9243 * corelow.c (core_read_description): Delegate when needed.
9244 * remote.c (remote_read_description): Delegate when needed.
9245 * target-delegates.c: Rebuild.
9246 * target.c (target_read_description): Rewrite.
9247 * target.h (struct target_ops) <to_read_description>: Update
9248 comment. Use TARGET_DEFAULT_RETURN.
9249
e88ef65c
TT
92502014-02-19 Tom Tromey <tromey@redhat.com>
9251
9252 * target-delegates.c: Rebuild.
9253 * target.c (update_current_target): Don't inherit or default
9254 to_can_run.
9255 (find_default_run_target): Check against delegate_can_run.
9256 * target.h (struct target_ops) <to_can_run>: Use
9257 TARGET_DEFAULT_RETURN.
9258
86a0854a
TT
92592014-02-19 Tom Tromey <tromey@redhat.com>
9260
9261 * target-delegates.c: Rebuild.
9262 * target.c (target_disconnect): Unconditionally delegate.
9263 * target.h (struct target_ops) <to_disconnect>: Use
9264 TARGET_DEFAULT_NORETURN.
9265
ee97f592
TT
92662014-02-19 Tom Tromey <tromey@redhat.com>
9267
9268 * record.c (record_stop): Unconditionally delegate.
9269 * target-delegates.c: Rebuild.
9270 * target.c (target_stop_recording): Unconditionally delegate.
9271 * target.h (struct target_ops) <to_stop_recording>: Use
9272 TARGET_DEFAULT_IGNORE.
9273
6dc7fcf4
TT
92742014-02-19 Tom Tromey <tromey@redhat.com>
9275
9276 * target-delegates.c: Rebuild.
9277 * target.c (target_enable_btrace): Unconditionally delegate.
9278 * target.h (struct target_ops) <to_enable_btrace>: Use
9279 TARGET_DEFAULT_NORETURN.
9280
eb5b20d4
TT
92812014-02-19 Tom Tromey <tromey@redhat.com>
9282
9283 * target-delegates.c: Rebuild.
9284 * target.c (target_read_btrace): Unconditionally delegate.
9285 * target.h (struct target_ops) <to_read_btrace>: Use
9286 TARGET_DEFAULT_NORETURN.
9287
9ace480d
TT
92882014-02-19 Tom Tromey <tromey@redhat.com>
9289
9290 * target-delegates.c: Rebuild.
9291 * target.c (target_teardown_btrace): Unconditionally delegate.
9292 * target.h (struct target_ops) <to_teardown_btrace>: Use
9293 TARGET_DEFAULT_NORETURN.
9294
8dc292d3
TT
92952014-02-19 Tom Tromey <tromey@redhat.com>
9296
9297 * target-delegates.c: Rebuild.
9298 * target.c (target_disable_btrace): Unconditionally delegate.
9299 * target.h (struct target_ops) <to_disable_btrace>: Use
9300 TARGET_DEFAULT_NORETURN.
9301
58a5184e
TT
93022014-02-19 Tom Tromey <tromey@redhat.com>
9303
9304 * target-delegates.c: Rebuild.
9305 * target.c (default_search_memory): New function.
9306 (simple_search_memory): Update comment.
9307 (target_search_memory): Unconditionally delegate.
9308 * target.h (struct target_ops) <to_search_memory>: Use
9309 TARGET_DEFAULT_FUNC.
9310
8de71aab
TT
93112014-02-19 Tom Tromey <tromey@redhat.com>
9312
9313 * auxv.c (default_auxv_parse): No longer static.
9314 (target_auxv_parse): Unconditionally delegate.
9315 * auxv.h (default_auxv_parse): Declare.
9316 * target-delegates.c: Rebuild.
9317 * target.c: Include auxv.h.
9318 * target.h (struct target_ops) <to_auxv_parse>: Use
9319 TARGET_DEFAULT_FUNC.
9320
6b2c5a57
TT
93212014-02-19 Tom Tromey <tromey@redhat.com>
9322
9323 * target-delegates.c: Rebuild.
9324 * target.c (target_memory_map): Unconditionally delegate.
9325 * target.h (struct target_ops) <to_memory_map>: Use
9326 TARGET_DEFAULT_RETURN.
9327
cbffc065
TT
93282014-02-19 Tom Tromey <tromey@redhat.com>
9329
9330 * target-delegates.c: Rebuild.
9331 * target.c (target_thread_alive): Unconditionally delegate.
9332 * target.h (struct target_ops) <to_thread_alive>: Use
9333 TARGET_DEFAULT_RETURN.
9334
f09e2107
TT
93352014-02-19 Tom Tromey <tromey@redhat.com>
9336
9337 * target-delegates.c: Rebuild.
9338 * target.c (target_save_record): Unconditionally delegate.
9339 * target.h (struct target_ops) <to_save_record>: Use
9340 TARGET_DEFAULT_NORETURN.
9341
07366925
TT
93422014-02-19 Tom Tromey <tromey@redhat.com>
9343
9344 * target-delegates.c: Rebuild.
9345 * target.c (target_delete_record): Unconditionally delegate.
9346 * target.h (struct target_ops) <to_delete_record>: Use
9347 TARGET_DEFAULT_NORETURN.
9348
dd2e9d25
TT
93492014-02-19 Tom Tromey <tromey@redhat.com>
9350
9351 * target-delegates.c: Rebuild.
9352 * target.c (target_record_is_replaying): Unconditionally
9353 delegate.
9354 * target.h (struct target_ops) <to_record_is_replaying>: Use
9355 TARGET_DEFAULT_RETURN.
9356
671e76cc
TT
93572014-02-19 Tom Tromey <tromey@redhat.com>
9358
9359 * target-delegates.c: Rebuild.
9360 * target.c (target_goto_record_begin): Unconditionally delegate.
9361 * target.h (struct target_ops) <to_goto_record_begin>: Use
9362 TARGET_DEFAULT_NORETURN.
9363
e9179bb3
TT
93642014-02-19 Tom Tromey <tromey@redhat.com>
9365
9366 * target-delegates.c: Rebuild.
9367 * target.c (target_goto_record_end): Unconditionally delegate.
9368 * target.h (struct target_ops) <to_goto_record_end>: Use
9369 TARGET_DEFAULT_NORETURN.
9370
05969c84
TT
93712014-02-19 Tom Tromey <tromey@redhat.com>
9372
9373 * target-delegates.c: Rebuild.
9374 * target.c (target_goto_record): Unconditionally delegate.
9375 * target.h (struct target_ops) <to_goto_record>: Use
9376 TARGET_DEFAULT_NORETURN.
9377
3679abfa
TT
93782014-02-19 Tom Tromey <tromey@redhat.com>
9379
9380 * target-delegates.c: Rebuild.
9381 * target.c (target_insn_history): Unconditionally delegate.
9382 * target.h (struct target_ops) <to_insn_history>: Use
9383 TARGET_DEFAULT_NORETURN.
9384
8444ab58
TT
93852014-02-19 Tom Tromey <tromey@redhat.com>
9386
9387 * target-delegates.c: Rebuild.
9388 * target.c (target_insn_history_from): Unconditionally delegate.
9389 * target.h (struct target_ops) <to_insn_history_from>: Use
9390 TARGET_DEFAULT_NORETURN.
9391
c29302cc
TT
93922014-02-19 Tom Tromey <tromey@redhat.com>
9393
9394 * target-delegates.c: Rebuild.
9395 * target.c (target_insn_history_range): Unconditionally delegate.
9396 * target.h (struct target_ops) <to_insn_history_range>: Use
9397 TARGET_DEFAULT_NORETURN.
9398
170049d4
TT
93992014-02-19 Tom Tromey <tromey@redhat.com>
9400
9401 * target-delegates.c: Rebuild.
9402 * target.c (target_call_history): Unconditionally delegate.
9403 * target.h (struct target_ops) <to_call_history>: Use
9404 TARGET_DEFAULT_NORETURN.
9405
16fc27d6
TT
94062014-02-19 Tom Tromey <tromey@redhat.com>
9407
9408 * target-delegates.c: Rebuild.
9409 * target.c (target_call_history_from): Unconditionally delegate.
9410 * target.h (struct target_ops) <to_call_history_from>: Use
9411 TARGET_DEFAULT_NORETURN.
9412
115d9817
TT
94132014-02-19 Tom Tromey <tromey@redhat.com>
9414
9415 * target-delegates.c: Rebuild.
9416 * target.c (target_call_history_range): Unconditionally delegate.
9417 * target.h (struct target_ops) <to_call_history_range>: Use
9418 TARGET_DEFAULT_NORETURN.
9419
eb276a6b
TT
94202014-02-19 Tom Tromey <tromey@redhat.com>
9421
9422 * target-delegates.c: Rebuild.
9423 * target.c (target_verify_memory): Unconditionally delegate.
9424 * target.h (struct target_ops) <to_verify_memory>: Use
9425 TARGET_DEFAULT_NORETURN.
9426
9e538d0d
TT
94272014-02-19 Tom Tromey <tromey@redhat.com>
9428
9429 * target-delegates.c: Rebuild.
9430 * target.c (target_core_of_thread): Unconditionally delegate.
9431 * target.h (struct target_ops) <to_core_of_thread>: Use
9432 TARGET_DEFAULT_RETURN.
9433
f6fb2925
TT
94342014-02-19 Tom Tromey <tromey@redhat.com>
9435
9436 * target-delegates.c: Rebuild.
9437 * target.c (target_flash_done): Unconditionally delegate.
9438 * target.h (struct target_ops) <to_flash_done>: Use
9439 TARGET_DEFAULT_NORETURN.
9440
e8a6c6ac
TT
94412014-02-19 Tom Tromey <tromey@redhat.com>
9442
9443 * target-delegates.c: Rebuild.
9444 * target.c (target_flash_erase): Unconditionally delegate.
9445 * target.h (struct target_ops) <to_flash_erase>: Use
9446 TARGET_DEFAULT_NORETURN.
9447
7e35c012
TT
94482014-02-19 Tom Tromey <tromey@redhat.com>
9449
9450 * target-delegates.c: Rebuild.
9451 * target.c (target_get_section_table): Unconditionally delegate.
9452 * target.h (struct target_ops) <to_get_section_table>: Use
9453 TARGET_DEFAULT_RETURN.
9454
770234d3
TT
94552014-02-19 Tom Tromey <tromey@redhat.com>
9456
9457 * target-delegates.c: Rebuild.
9458 * target.c (target_pid_to_str): Unconditionally delegate.
9459 (init_dummy_target): Don't initialize to_pid_to_str.
9460 (default_pid_to_str): Rename from dummy_pid_to_str.
9461 * target.h (struct target_ops) <to_pid_to_str>: Use
9462 TARGET_DEFAULT_FUNC.
9463
09b0dc2b
TT
94642014-02-19 Tom Tromey <tromey@redhat.com>
9465
9466 * target-delegates.c: Rebuild.
9467 * target.c (target_find_new_threads): Unconditionally delegate.
9468 * target.h (struct target_ops) <to_find_new_threads>: Use
9469 TARGET_DEFAULT_RETURN.
9470
7d4f8efa
TT
94712014-02-19 Tom Tromey <tromey@redhat.com>
9472
9473 * target-delegates.c: Rebuild.
9474 * target.c (target_program_signals): Unconditionally delegate.
9475 * target.h (struct target_ops) <to_program_signals>: Use
9476 TARGET_DEFAULT_IGNORE.
9477
035cad7f
TT
94782014-02-19 Tom Tromey <tromey@redhat.com>
9479
9480 * target-delegates.c: Rebuild.
9481 * target.c (target_pass_signals): Unconditionally delegate.
9482 * target.h (struct target_ops) <to_pass_signals>: Use
9483 TARGET_DEFAULT_IGNORE.
9484
8d657035
TT
94852014-02-19 Tom Tromey <tromey@redhat.com>
9486
9487 * target-delegates.c: Rebuild.
9488 * target.c (default_mourn_inferior): New function.
9489 (target_mourn_inferior): Unconditionally delegate.
9490 * target.h (struct target_ops) <to_mourn_inferior>: Use
9491 TARGET_DEFAULT_FUNC.
9492
098dba18
TT
94932014-02-19 Tom Tromey <tromey@redhat.com>
9494
9495 * target-delegates.c: Rebuild.
9496 * target.c (default_follow_fork): New function.
9497 (target_follow_fork): Unconditionally delegate.
9498 * target.h (struct target_ops) <to_follow_fork>: Use
9499 TARGET_DEFAULT_FUNC.
9500
423a4807
TT
95012014-02-19 Tom Tromey <tromey@redhat.com>
9502
9503 * target-delegates.c: Rebuild.
9504 * target.c (target_kill): Unconditionally delegate.
9505 * target.h (struct target_ops) <to_kill>: Use
9506 TARGET_DEFAULT_NORETURN.
9507
6c7e5e5c
TT
95082014-02-19 Tom Tromey <tromey@redhat.com>
9509
9510 * target-delegates.c: Rebuild.
9511 * target.c (target_masked_watch_num_registers): Unconditionally
9512 delegate.
9513 * target.h (struct target_ops) <to_masked_watch_num_registers>:
9514 Use TARGET_DEFAULT_RETURN.
9515
8b1c364c
TT
95162014-02-19 Tom Tromey <tromey@redhat.com>
9517
9518 * target-delegates.c: Rebuild.
9519 * target.c (target_remove_mask_watchpoint): Unconditionally
9520 delegate.
9521 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
9522 TARGET_DEFAULT_RETURN.
9523
cd4ae029
TT
95242014-02-19 Tom Tromey <tromey@redhat.com>
9525
9526 * target-delegates.c: Rebuild.
9527 * target.c (target_insert_mask_watchpoint): Unconditionally
9528 delegate.
9529 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
9530 TARGET_DEFAULT_RETURN.
9531
a134316b
TT
95322014-02-19 Tom Tromey <tromey@redhat.com>
9533
9534 * target-delegates.c: Rebuild.
9535 * target.c (target_ranged_break_num_registers): Unconditionally
9536 delegate.
9537 * target.h (struct target_ops) <to_ranged_break_num_registers>:
9538 Use TARGET_DEFAULT_RETURN.
9539
ad5989bd
TT
95402014-02-19 Tom Tromey <tromey@redhat.com>
9541
9542 * target-delegates.c: Rebuild.
9543 * target.c (target_fetch_registers): Unconditionally delegate.
9544 * target.h (struct target_ops) <to_fetch_registers>: Use
9545 TARGET_DEFAULT_NORETURN.
9546
46ee7e8d
TT
95472014-02-19 Tom Tromey <tromey@redhat.com>
9548
9549 * target-delegates.c: Rebuild.
9550 * target.c (update_current_target): Don't inherit or default
9551 to_stop.
9552 * target.h (struct target_ops) <to_stop>: Use
9553 TARGET_DEFAULT_IGNORE.
9554
843f59ed
TT
95552014-02-19 Tom Tromey <tromey@redhat.com>
9556
9557 * target-delegates.c: Rebuild.
9558 * target.c (update_current_target): Don't inherit or default
9559 to_can_run_breakpoint_commands.
9560 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9561 Use TARGET_DEFAULT_RETURN.
9562
ccfde2a0
TT
95632014-02-19 Tom Tromey <tromey@redhat.com>
9564
9565 * target-delegates.c: Rebuild.
9566 * target.c (update_current_target): Don't inherit or default
9567 to_supports_evaluation_of_breakpoint_conditions.
9568 * target.h (struct target_ops)
9569 <to_supports_evaluation_of_breakpoint_conditions>: Use
9570 TARGET_DEFAULT_RETURN.
9571
0de91722
TT
95722014-02-19 Tom Tromey <tromey@redhat.com>
9573
9574 * target-delegates.c: Rebuild.
9575 * target.c (update_current_target): Don't inherit or default
9576 to_augmented_libraries_svr4_read.
9577 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
9578 Use TARGET_DEFAULT_RETURN.
9579
9a7d8b48
TT
95802014-02-19 Tom Tromey <tromey@redhat.com>
9581
9582 * target-delegates.c: Rebuild.
9583 * target.c (update_current_target): Don't inherit or default
9584 to_can_use_agent.
9585 * target.h (struct target_ops) <to_can_use_agent>: Use
9586 TARGET_DEFAULT_RETURN.
9587
d9db5b21
TT
95882014-02-19 Tom Tromey <tromey@redhat.com>
9589
9590 * target-delegates.c: Rebuild.
9591 * target.c (update_current_target): Don't inherit or default
9592 to_use_agent.
9593 * target.h (struct target_ops) <to_use_agent>: Use
9594 TARGET_DEFAULT_NORETURN.
9595
92155eeb
TT
95962014-02-19 Tom Tromey <tromey@redhat.com>
9597
9598 * target-delegates.c: Rebuild.
9599 * target.c (update_current_target): Don't inherit or default
9600 to_traceframe_info.
9601 (return_null): Remove.
9602 * target.h (struct target_ops) <to_traceframe_info>: Use
9603 TARGET_DEFAULT_RETURN.
9604
d6522a22
TT
96052014-02-19 Tom Tromey <tromey@redhat.com>
9606
9607 * target-delegates.c: Rebuild.
9608 * target.c (update_current_target): Don't inherit or default
9609 to_static_tracepoint_markers_by_strid.
9610 * target.h (struct target_ops)
9611 <to_static_tracepoint_markers_by_strid>: Use
9612 TARGET_DEFAULT_NORETURN.
9613
4c3e4425
TT
96142014-02-19 Tom Tromey <tromey@redhat.com>
9615
9616 * target-delegates.c: Rebuild.
9617 * target.c (update_current_target): Don't inherit or default
9618 to_static_tracepoint_marker_at.
9619 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
9620 Use TARGET_DEFAULT_RETURN.
9621
dcd6917f
TT
96222014-02-19 Tom Tromey <tromey@redhat.com>
9623
9624 * target-delegates.c: Rebuild.
9625 * target.c (update_current_target): Don't inherit or default
9626 to_set_permissions.
9627 * target.h (struct target_ops) <to_set_permissions>: Use
9628 TARGET_DEFAULT_IGNORE.
9629
22bcceee
TT
96302014-02-19 Tom Tromey <tromey@redhat.com>
9631
9632 * target-delegates.c: Rebuild.
9633 * target.c (update_current_target): Don't inherit or default
9634 to_get_tib_address.
9635 * target.h (struct target_ops) <to_get_tib_address>: Use
9636 TARGET_DEFAULT_NORETURN.
9637
8586ccaa
TT
96382014-02-19 Tom Tromey <tromey@redhat.com>
9639
9640 * target-delegates.c: Rebuild.
9641 * target.c (update_current_target): Don't inherit or default
9642 to_set_trace_notes.
9643 * target.h (struct target_ops) <to_set_trace_notes>: Use
9644 TARGET_DEFAULT_RETURN.
9645
91df8d1d
TT
96462014-02-19 Tom Tromey <tromey@redhat.com>
9647
9648 * target-delegates.c: Rebuild.
9649 * target.c (update_current_target): Don't initialize
9650 to_set_trace_buffer_size.
9651 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
9652 TARGET_DEFAULT_IGNORE.
9653
8d526939
TT
96542014-02-19 Tom Tromey <tromey@redhat.com>
9655
9656 * target-delegates.c: Rebuild.
9657 * target.c (update_current_target): Don't inherit or default
9658 to_set_circular_trace_buffer.
9659 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
9660 TARGET_DEFAULT_IGNORE.
9661
0bcfeddf
TT
96622014-02-19 Tom Tromey <tromey@redhat.com>
9663
9664 * target-delegates.c: Rebuild.
9665 * target.c (update_current_target): Don't inherit or default
9666 to_set_disconnected_tracing.
9667 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
9668 TARGET_DEFAULT_IGNORE.
9669
9249843f
TT
96702014-02-19 Tom Tromey <tromey@redhat.com>
9671
9672 * target-delegates.c: Rebuild.
9673 * target.c (update_current_target): Don't inherit or default
9674 to_get_min_fast_tracepoint_insn_len.
9675 (return_minus_one): Remove.
9676 * target.h (struct target_ops)
9677 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
9678
ace92e7d
TT
96792014-02-19 Tom Tromey <tromey@redhat.com>
9680
9681 * target-delegates.c: Rebuild.
9682 * target.c (update_current_target): Don't inherit or default
9683 to_get_raw_trace_data.
9684 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
9685 TARGET_DEFAULT_NORETURN.
9686
08120467
TT
96872014-02-19 Tom Tromey <tromey@redhat.com>
9688
9689 * target-delegates.c: Rebuild.
9690 * target.c (update_current_target): Don't inherit or default
9691 to_upload_trace_state_variables.
9692 * target.h (struct target_ops) <to_upload_trace_state_variables>:
9693 Use TARGET_DEFAULT_RETURN.
9694
1e949b00
TT
96952014-02-19 Tom Tromey <tromey@redhat.com>
9696
9697 * target-delegates.c: Rebuild.
9698 * target.c (update_current_target): Don't inherit or default
9699 to_upload_tracepoints.
9700 * target.h (struct target_ops) <to_upload_tracepoints>: Use
9701 TARGET_DEFAULT_RETURN.
9702
a2e6c147
TT
97032014-02-19 Tom Tromey <tromey@redhat.com>
9704
9705 * target-delegates.c: Rebuild.
9706 * target.c (update_current_target): Don't inherit or default
9707 to_save_trace_data.
9708 * target.h (struct target_ops) <to_save_trace_data>: Use
9709 TARGET_DEFAULT_NORETURN.
9710
959bcd0b
TT
97112014-02-19 Tom Tromey <tromey@redhat.com>
9712
9713 * target-delegates.c: Rebuild.
9714 * target.c (update_current_target): Don't inherit or default
9715 to_get_trace_state_variable_value.
9716 * target.h (struct target_ops)
9717 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
9718
afc94e66
TT
97192014-02-19 Tom Tromey <tromey@redhat.com>
9720
9721 * target-delegates.c: Rebuild.
9722 * target.c (update_current_target): Don't inherit or default
9723 to_trace_find.
9724 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
9725
e51c07ea
TT
97262014-02-19 Tom Tromey <tromey@redhat.com>
9727
9728 * target-delegates.c: Rebuild.
9729 * target.c (update_current_target): Don't inherit or default
9730 to_trace_stop.
9731 * target.h (struct target_ops) <to_trace_stop>: Use
9732 TARGET_DEFAULT_NORETURN.
9733
6fea14cd
TT
97342014-02-19 Tom Tromey <tromey@redhat.com>
9735
9736 * target-delegates.c: Rebuild.
9737 * target.c (update_current_target): Don't inherit or default
9738 to_get_tracepoint_status.
9739 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
9740 TARGET_DEFAULT_NORETURN.
9741
4072d4ff
TT
97422014-02-19 Tom Tromey <tromey@redhat.com>
9743
9744 * target-delegates.c: Rebuild.
9745 * target.c (update_current_target): Don't inherit or default
9746 to_get_trace_status.
9747 * target.h (struct target_ops) <to_get_trace_status>: Use
9748 TARGET_DEFAULT_RETURN.
9749
25da2e80
TT
97502014-02-19 Tom Tromey <tromey@redhat.com>
9751
9752 * target-delegates.c: Rebuild.
9753 * target.c (update_current_target): Don't inherit or default
9754 to_trace_start.
9755 * target.h (struct target_ops) <to_trace_start>: Use
9756 TARGET_DEFAULT_NORETURN.
9757
86dd181d
TT
97582014-02-19 Tom Tromey <tromey@redhat.com>
9759
9760 * target-delegates.c: Rebuild.
9761 * target.c (update_current_target): Don't inherit or default
9762 to_trace_set_readonly_regions.
9763 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9764 Use TARGET_DEFAULT_NORETURN.
9765
05c41993
TT
97662014-02-19 Tom Tromey <tromey@redhat.com>
9767
9768 * target-delegates.c: Rebuild.
9769 * target.c (update_current_target): Don't inherit or default
9770 to_disable_tracepoint.
9771 * target.h (struct target_ops) <to_disable_tracepoint>: Use
9772 TARGET_DEFAULT_NORETURN.
9773
151f70f1
TT
97742014-02-19 Tom Tromey <tromey@redhat.com>
9775
9776 * target-delegates.c: Rebuild.
9777 * target.c (update_current_target): Don't inherit or default
9778 to_enable_tracepoint.
9779 * target.h (struct target_ops) <to_enable_tracepoint>: Use
9780 TARGET_DEFAULT_NORETURN.
9781
94eb98b9
TT
97822014-02-19 Tom Tromey <tromey@redhat.com>
9783
9784 * target-delegates.c: Rebuild.
9785 * target.c (update_current_target): Don't inherit or default
9786 to_download_trace_state_variable.
9787 * target.h (struct target_ops) <to_download_trace_state_variable>:
9788 Use TARGET_DEFAULT_NORETURN.
9789
719acc4a
TT
97902014-02-19 Tom Tromey <tromey@redhat.com>
9791
9792 * target-delegates.c: Rebuild.
9793 * target.c (update_current_target): Don't inherit or default
9794 to_can_download_tracepoint.
9795 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
9796 TARGET_DEFAULT_RETURN.
9797
9a980a22
TT
97982014-02-19 Tom Tromey <tromey@redhat.com>
9799
9800 * target-delegates.c: Rebuild.
9801 * target.c (update_current_target): Don't inherit or default
9802 to_download_tracepoint.
9803 * target.h (struct target_ops) <to_download_tracepoint>: Use
9804 TARGET_DEFAULT_NORETURN.
9805
5536135b
TT
98062014-02-19 Tom Tromey <tromey@redhat.com>
9807
9808 * target-delegates.c: Rebuild.
9809 * target.c (update_current_target): Don't inherit or default
9810 to_trace_init.
9811 * target.h (struct target_ops) <to_trace_init>: Use
9812 TARGET_DEFAULT_RETURN.
9813
9409d39e
TT
98142014-02-19 Tom Tromey <tromey@redhat.com>
9815
9816 * target-delegates.c: Rebuild.
9817 * target.c (update_current_target): Don't inherit or default
9818 to_supports_string_tracing.
9819 * target.h (struct target_ops) <to_supports_string_tracing>: Use
9820 TARGET_DEFAULT_RETURN.
9821
aab1b22d
TT
98222014-02-19 Tom Tromey <tromey@redhat.com>
9823
9824 * target-delegates.c: Rebuild.
9825 * target.c (update_current_target): Don't inherit or default
9826 to_supports_enable_disable_tracepoint.
9827 * target.h (struct target_ops)
9828 <to_supports_enable_disable_tracepoint>: Use
9829 TARGET_DEFAULT_RETURN.
9830
a7304748
TT
98312014-02-19 Tom Tromey <tromey@redhat.com>
9832
9833 * target-delegates.c: Rebuild.
9834 * target.c (update_current_target): Don't inherit or default
9835 to_supports_multi_process.
9836 * target.h (struct target_ops) <to_supports_multi_process>: Use
9837 TARGET_DEFAULT_RETURN.
9838
4229b31d
TT
98392014-02-19 Tom Tromey <tromey@redhat.com>
9840
9841 * target-delegates.c: Rebuild.
9842 * target.c (update_current_target): Don't inherit or default
9843 to_get_ada_task_ptid.
9844 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
9845 TARGET_DEFAULT_FUNC.
9846
43eba180
TT
98472014-02-19 Tom Tromey <tromey@redhat.com>
9848
9849 * target-delegates.c: Rebuild.
9850 * target.c (update_current_target): Don't inherit or default
9851 to_thread_architecture.
9852 * target.h (struct target_ops) <to_thread_architecture>: Use
9853 TARGET_DEFAULT_FUNC.
9854
fe31bf5b
TT
98552014-02-19 Tom Tromey <tromey@redhat.com>
9856
9857 * target-delegates.c: Rebuild.
9858 * target.c (update_current_target): Don't inherit or default
9859 to_execution_direction.
9860 * target.h (struct target_ops) <to_execution_direction>: Use
9861 TARGET_DEFAULT_FUNC.
9862
53e1cfc7
TT
98632014-02-19 Tom Tromey <tromey@redhat.com>
9864
9865 * target-delegates.c: Rebuild.
9866 * target.c (update_current_target): Don't inherit or default
9867 to_can_execute_reverse.
9868 * target.h (struct target_ops) <to_can_execute_reverse>: Use
9869 TARGET_DEFAULT_RETURN.
9870 (target_can_execute_reverse): Unconditionally delegate.
9871
9bb9d61d
TT
98722014-02-19 Tom Tromey <tromey@redhat.com>
9873
9874 * target-delegates.c: Rebuild.
9875 * target.c (update_current_target): Don't inherit or default
9876 to_goto_bookmark.
9877 (dummy_goto_bookmark): Remove.
9878 (init_dummy_target): Don't inherit or default to_goto_bookmark.
9879 * target.h (struct target_ops) <to_goto_bookmark>: Use
9880 TARGET_DEFAULT_NORETURN.
9881
3dbafbbb
TT
98822014-02-19 Tom Tromey <tromey@redhat.com>
9883
9884 * target-delegates.c: Rebuild.
9885 * target.c (update_current_target): Don't inherit or default
9886 to_get_bookmark.
9887 (dummy_get_bookmark): Remove.
9888 (init_dummy_target): Don't inherit or default to_get_bookmark.
9889 * target.h (struct target_ops) <to_get_bookmark>: Use
9890 TARGET_DEFAULT_NORETURN
9891
16f796b1
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_make_corefile_notes.
9897 (init_dummy_target): Don't initialize to_make_corefile_notes.
9898 * target.h (struct target_ops) <to_make_corefile_notes>: Use
9899 TARGET_DEFAULT_FUNC.
9900
0b5a2719
TT
99012014-02-19 Tom Tromey <tromey@redhat.com>
9902
9903 * target-delegates.c: Rebuild.
9904 * target.c (update_current_target): Don't inherit or default
9905 to_find_memory_regions.
9906 (init_dummy_target): Don't initialize to_find_memory_regions.
9907 * target.h (struct target_ops) <to_find_memory_regions>: Use
9908 TARGET_DEFAULT_FUNC.
9909
d9cb0195
TT
99102014-02-19 Tom Tromey <tromey@redhat.com>
9911
9912 * target-delegates.c: Rebuild.
9913 * target.c (update_current_target): Don't inherit or default
9914 to_log_command.
9915 * target.h (struct target_ops) <to_log_command>: Use
9916 TARGET_DEFAULT_IGNORE.
9917 (target_log_command): Unconditionally delegate.
9918
830ca330
TT
99192014-02-19 Tom Tromey <tromey@redhat.com>
9920
9921 * target-delegates.c: Rebuild.
9922 * target.c (update_current_target): Don't inherit or default
9923 to_pid_to_exec_file.
9924 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
9925 TARGET_DEFAULT_RETURN.
9926
825828fc
TT
99272014-02-19 Tom Tromey <tromey@redhat.com>
9928
9929 * target-delegates.c: Rebuild.
9930 * target.c (update_current_target): Don't inherit or default
9931 to_thread_name.
9932 (target_thread_name): Unconditionally delegate.
9933 * target.h (struct target_ops) <to_thread_name>: Use
9934 TARGET_DEFAULT_RETURN.
9935
4a7e6dda
TT
99362014-02-19 Tom Tromey <tromey@redhat.com>
9937
9938 * target-delegates.c: Rebuild.
9939 * target.c (update_current_target): Don't inherit or default
9940 to_extra_thread_info.
9941 * target.h (struct target_ops) <to_extra_thread_info>: Use
9942 TARGET_DEFAULT_RETURN.
9943
0db88c1d
TT
99442014-02-19 Tom Tromey <tromey@redhat.com>
9945
9946 * target-delegates.c: Rebuild.
9947 * target.c (update_current_target): Don't inherit or default
9948 to_has_exited.
9949 * target.h (struct target_ops) <to_has_exited>: Use
9950 TARGET_DEFAULT_RETURN..
9951
6a9fa051
TT
99522014-02-19 Tom Tromey <tromey@redhat.com>
9953
9954 * target-delegates.c: Rebuild.
9955 * target.c (update_current_target): Don't inherit or default
9956 to_set_syscall_catchpoint.
9957 (return_one): Remove.
9958 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
9959 TARGET_DEFAULT_RETURN.
9960
62f64d7a
TT
99612014-02-19 Tom Tromey <tromey@redhat.com>
9962
9963 * target-delegates.c: Rebuild.
9964 * target.c (update_current_target): Don't inherit or default
9965 to_insert_exec_catchpoint.
9966 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9967 TARGET_DEFAULT_RETURN.
9968
cda0f38c
TT
99692014-01-08 Tom Tromey <tromey@redhat.com>
9970
9971 * target-delegates.c: Rebuild.
9972 * target.c (update_current_target): Don't inherit or default
9973 to_insert_exec_catchpoint.
9974 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
9975 TARGET_DEFAULT_RETURN.
9976
95c3375e
TT
99772014-02-19 Tom Tromey <tromey@redhat.com>
9978
9979 * target-delegates.c: Rebuild.
9980 * target.c (update_current_target): Don't inherit or default
9981 to_remove_vfork_catchpoint.
9982 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
9983 TARGET_DEFAULT_RETURN.
9984
7e18a8dc
TT
99852014-02-19 Tom Tromey <tromey@redhat.com>
9986
9987 * target-delegates.c: Rebuild.
9988 * target.c (update_current_target): Don't inherit or default
9989 to_insert_vfork_catchpoint.
9990 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
9991 TARGET_DEFAULT_RETURN.
9992
e1a21fb7
TT
99932014-02-19 Tom Tromey <tromey@redhat.com>
9994
9995 * target-delegates.c: Rebuild.
9996 * target.c (update_current_target): Don't inherit or default
9997 to_remove_fork_catchpoint.
9998 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
9999 TARGET_DEFAULT_RETURN.
10000
5958ebeb
TT
100012014-02-19 Tom Tromey <tromey@redhat.com>
10002
10003 * target-delegates.c: Rebuild.
10004 * target.c (update_current_target): Don't inherit or default
10005 to_insert_fork_catchpoint.
10006 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
10007 TARGET_DEFAULT_RETURN.
10008
340ba4bf
TT
100092014-02-19 Tom Tromey <tromey@redhat.com>
10010
10011 * target-delegates.c: Rebuild.
10012 * target.c (update_current_target): Don't inherit or default
10013 to_post_startup_inferior.
10014 * target.h (struct target_ops) <to_post_startup_inferior>: Use
10015 TARGET_DEFAULT_IGNORE.
10016
7634da87
TT
100172014-02-19 Tom Tromey <tromey@redhat.com>
10018
10019 * target-delegates.c: Rebuild.
10020 * target.c (update_current_target): Don't inherit or default
10021 to_load.
10022 * target.h (struct target_ops) <to_load>: Use
10023 TARGET_DEFAULT_NORETURN.
10024
e19e919f
TT
100252014-02-19 Tom Tromey <tromey@redhat.com>
10026
10027 * target-delegates.c: Rebuild.
10028 * target.c (update_current_target): Don't inherit or default
10029 to_terminal_info.
10030 * target.h (struct target_ops) <to_terminal_info>: Use
10031 TARGET_DEFAULT_FUNC.
10032
c6ea8f79
TT
100332014-02-19 Tom Tromey <tromey@redhat.com>
10034
10035 * target-delegates.c: Rebuild.
10036 * target.c (update_current_target): Don't inherit or default
10037 to_terminal_save_ours.
10038 * target.h (struct target_ops) <to_terminal_save_ours>: Use
10039 TARGET_DEFAULT_IGNORE.
10040
e4a733f1
TT
100412014-02-19 Tom Tromey <tromey@redhat.com>
10042
10043 * target-delegates.c: Rebuild.
10044 * target.c (update_current_target): Don't inherit or default
10045 to_terminal_ours.
10046 * target.h (struct target_ops) <to_terminal_ours>: Use
10047 TARGET_DEFAULT_IGNORE.
10048
74fcbef9
TT
100492014-02-19 Tom Tromey <tromey@redhat.com>
10050
10051 * target-delegates.c: Rebuild.
10052 * target.c (update_current_target): Don't inherit or default
10053 to_terminal_ours_for_output.
10054 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
10055 TARGET_DEFAULT_IGNORE.
10056
ddeaacc9
TT
100572014-02-19 Tom Tromey <tromey@redhat.com>
10058
10059 * target-delegates.c: Rebuild.
10060 * target.c (update_current_target): Don't inherit or default
10061 to_terminal_inferior.
10062 * target.h (struct target_ops) <to_terminal_inferior>: Use
10063 TARGET_DEFAULT_IGNORE.
10064
0343661d
TT
100652014-02-19 Tom Tromey <tromey@redhat.com>
10066
10067 * target-delegates.c: Rebuild.
10068 * target.c (update_current_target): Don't inherit or default
10069 to_terminal_init.
10070 * target.h (struct target_ops) <to_terminal_init>: Use
10071 TARGET_DEFAULT_IGNORE.
10072
77cdffe9
TT
100732014-02-19 Tom Tromey <tromey@redhat.com>
10074
10075 * target-delegates.c: Rebuild.
10076 * target.c (update_current_target): Don't inherit or default
10077 to_can_accel_watchpoint_condition.
10078 * target.h (struct target_ops)
10079 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
10080
d03655e4
TT
100812014-02-19 Tom Tromey <tromey@redhat.com>
10082
10083 * target-delegates.c: Rebuild.
10084 * target.c (update_current_target): Don't inherit or default
10085 to_region_ok_for_hw_watchpoint.
10086 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10087 Use TARGET_DEFAULT_FUNC.
10088
65f160a9
TT
100892014-02-19 Tom Tromey <tromey@redhat.com>
10090
10091 * target-delegates.c: Rebuild.
10092 * target.c (update_current_target): Don't inherit or default
10093 to_watchpoint_addr_within_range.
10094 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
10095 Use TARGET_DEFAULT_FUNC.
10096
61dd109f
TT
100972014-02-19 Tom Tromey <tromey@redhat.com>
10098
10099 * target-delegates.c: Rebuild.
10100 * target.c (update_current_target): Don't inherit or default
10101 to_remove_watchpoint.
10102 * target.h (struct target_ops) <to_remove_watchpoint>: Use
10103 TARGET_DEFAULT_NORETURN.
10104
016facd4
TT
101052014-02-19 Tom Tromey <tromey@redhat.com>
10106
10107 * target-delegates.c: Rebuild.
10108 * target.c (update_current_target): Don't inherit or default
10109 to_insert_watchpoint.
10110 * target.h (struct target_ops) <to_insert_watchpoint>: Use
10111 TARGET_DEFAULT_RETURN.
10112
418dabac
TT
101132014-02-19 Tom Tromey <tromey@redhat.com>
10114
10115 * target-delegates.c: Rebuild.
10116 * target.c (update_current_target): Don't inherit or default
10117 to_remove_hw_breakpoint.
10118 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
10119 TARGET_DEFAULT_RETURN.
10120
61b371f9
TT
101212014-02-19 Tom Tromey <tromey@redhat.com>
10122
10123 * target-delegates.c: Rebuild.
10124 * target.c (update_current_target): Don't inherit or default
10125 to_insert_hw_breakpoint.
10126 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
10127 TARGET_DEFAULT_RETURN.
10128
52b51d06
TT
101292014-02-19 Tom Tromey <tromey@redhat.com>
10130
10131 * target-delegates.c: Rebuild.
10132 * target.c (update_current_target): Don't inherit or default
10133 to_can_use_hw_breakpoint.
10134 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
10135 TARGET_DEFAULT_RETURN.
10136
f86e59b2
TT
101372014-02-19 Tom Tromey <tromey@redhat.com>
10138
10139 * target-delegates.c: Rebuild.
10140 * target.c (update_current_target): Don't inherit or default
10141 to_files_info.
10142 * target.h (struct target_ops) <to_files_info>: Use
10143 TARGET_DEFAULT_IGNORE.
10144
6c628163
TT
101452014-02-19 Tom Tromey <tromey@redhat.com>
10146
10147 * target-delegates.c: Rebuild.
10148 * target.c (update_current_target): Don't inherit or default
10149 to_store.
10150 * target.h (struct target_ops) <to_store>: Use
10151 TARGET_DEFAULT_NORETURN.
10152
bebd3233
TT
101532014-02-19 Tom Tromey <tromey@redhat.com>
10154
10155 * target-delegates.c: Rebuild.
10156 * target.c (update_current_target): Don't inherit or default
10157 to_post_attach.
10158 * target.h (struct target_ops) <to_post_attach>: Use
10159 TARGET_DEFAULT_IGNORE.
10160
a53f3625
TT
101612014-02-19 Tom Tromey <tromey@redhat.com>
10162
10163 * target-delegates.c: Rebuild.
10164 * target.c (update_current_target): Don't inherit or default
10165 to_rcmd.
10166 (default_rcmd): New function.
10167 (do_monitor_command): Unconditionally delegate.
10168 * target.h (struct target_ops) <to_rmcd>: Use
10169 TARGET_DEFAULT_FUNC.
10170
e9a29200
TT
101712014-02-19 Tom Tromey <tromey@redhat.com>
10172
10173 * target-delegates.c: Rebuild.
10174 * target.c (init_dummy_target): Don't initialize to_attach.
10175 (target_attach): Unconditionally delegate.
10176 * target.h (struct target_ops) <to_attach>: Use
10177 TARGET_DEFAULT_FUNC.
10178
09da0d0a
TT
101792014-02-19 Tom Tromey <tromey@redhat.com>
10180
10181 * target-delegates.c: Rebuild.
10182 * target.c (target_detach): Unconditionally delegate.
10183 (init_dummy_target): Don't initialize to_detach.
10184 * target.h (struct target_ops) <to_detach>: Use
10185 TARGET_DEFAULT_IGNORE.
10186
5436ff03
TT
101872014-02-19 Tom Tromey <tromey@redhat.com>
10188
10189 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10190 Add argument.
10191 (target_augmented_libraries_svr4_read): Add argument.
10192 * target.c (update_current_target): Update.
10193 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
10194 argument.
10195
f0d960ea
TT
101962014-02-19 Tom Tromey <tromey@redhat.com>
10197
10198 * target.h (struct target_ops) <to_call_history_range>: Add
10199 argument.
10200 * target.c (target_call_history_range): Add argument.
10201 * record-btrace.c (record_btrace_call_history_range): Add 'self'
10202 argument.
10203 (record_btrace_call_history_from): Update.
10204
ec0aea04
TT
102052014-02-19 Tom Tromey <tromey@redhat.com>
10206
10207 * target.h (struct target_ops) <to_call_history_from>: Add
10208 argument.
10209 * target.c (target_call_history_from): Add argument.
10210 * record-btrace.c (record_btrace_call_history_from): Add 'self'
10211 argument.
10212
5df2fcba
TT
102132014-02-19 Tom Tromey <tromey@redhat.com>
10214
10215 * target.h (struct target_ops) <to_call_history>: Add argument.
10216 * target.c (target_call_history): Add argument.
10217 * record-btrace.c (record_btrace_call_history): Add 'self'
10218 argument.
10219
4e99c6b7
TT
102202014-02-19 Tom Tromey <tromey@redhat.com>
10221
10222 * target.h (struct target_ops) <to_insn_history_range>: Add
10223 argument.
10224 * target.c (target_insn_history_range): Add argument.
10225 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
10226 argument.
10227 (record_btrace_insn_history_from): Update.
10228
9abc3ff3
TT
102292014-02-19 Tom Tromey <tromey@redhat.com>
10230
10231 * target.h (struct target_ops) <to_insn_history_from>: Add
10232 argument.
10233 * target.c (target_insn_history_from): Add argument.
10234 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
10235 argument.
10236
7a6c5609
TT
102372014-02-19 Tom Tromey <tromey@redhat.com>
10238
10239 * target.h (struct target_ops) <to_insn_history>: Add argument.
10240 * target.c (target_insn_history): Add argument.
10241 * record-btrace.c (record_btrace_insn_history): Add 'self'
10242 argument.
10243
606183ac
TT
102442014-02-19 Tom Tromey <tromey@redhat.com>
10245
10246 * target.h (struct target_ops) <to_goto_record>: Add argument.
10247 * target.c (target_goto_record): Add argument.
10248 * record-full.c (record_full_goto): Add 'self' argument.
10249 * record-btrace.c (record_btrace_goto): Add 'self' argument.
10250
307a1b91
TT
102512014-02-19 Tom Tromey <tromey@redhat.com>
10252
10253 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
10254 * target.c (target_goto_record_end): Add argument.
10255 * record-full.c (record_full_goto_end): Add 'self' argument.
10256 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
10257
08475817
TT
102582014-02-19 Tom Tromey <tromey@redhat.com>
10259
10260 * target.h (struct target_ops) <to_goto_record_begin>: Add
10261 argument.
10262 * target.c (target_goto_record_begin): Add argument.
10263 * record-full.c (record_full_goto_begin): Add 'self' argument.
10264 * record-btrace.c (record_btrace_goto_begin): Add 'self'
10265 argument.
10266
1c63c994
TT
102672014-02-19 Tom Tromey <tromey@redhat.com>
10268
10269 * target.h (struct target_ops) <to_record_is_replaying>: Add
10270 argument.
10271 * target.c (target_record_is_replaying): Add argument.
10272 * record-full.c (record_full_is_replaying): Add 'self' argument.
10273 * record-btrace.c (record_btrace_is_replaying): Add 'self'
10274 argument.
10275 (record_btrace_xfer_partial, record_btrace_store_registers)
10276 (record_btrace_prepare_to_store, record_btrace_resume)
10277 (record_btrace_wait, record_btrace_decr_pc_after_break)
10278 (record_btrace_find_new_threads, record_btrace_thread_alive):
10279 Update.
10280
d1b55219
TT
102812014-02-19 Tom Tromey <tromey@redhat.com>
10282
10283 * target.h (struct target_ops) <to_delete_record>: Add argument.
10284 * target.c (target_delete_record): Add argument.
10285 * record-full.c (record_full_delete): Add 'self' argument.
10286
1390f529
TT
102872014-02-19 Tom Tromey <tromey@redhat.com>
10288
10289 * target.h (struct target_ops) <to_save_record>: Add argument.
10290 * target.c (target_save_record): Add argument.
10291 * record-full.c (record_full_save): Add 'self' argument.
10292 (record_full_save): Add 'self' argument.
10293
630d6a4a
TT
102942014-02-19 Tom Tromey <tromey@redhat.com>
10295
10296 * target.h (struct target_ops) <to_info_record>: Add argument.
10297 * target.c (target_info_record): Add argument.
10298 * record.c (info_record_command): Add argument.
10299 * record-full.c (record_full_info): Add 'self' argument.
10300 * record-btrace.c (record_btrace_info): Add 'self' argument.
10301
c6cd7c02
TT
103022014-02-19 Tom Tromey <tromey@redhat.com>
10303
10304 * target.h (struct target_ops) <to_stop_recording>: Add argument.
10305 * target.c (target_stop_recording): Add argument.
10306 * record.c (record_stop): Add argument.
10307 * record-btrace.c (record_btrace_stop_recording): Add 'self'
10308 argument.
10309
39c49f83
TT
103102014-02-19 Tom Tromey <tromey@redhat.com>
10311
10312 * target.h (struct target_ops) <to_read_btrace>: Add argument.
10313 * target.c (struct target_ops) <to_read_btrace>: Add argument.
10314 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
10315 argument.
10316 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
10317 (_initialize_amd64_linux_nat): Use it.
10318 * i386-linux-nat.c (i386_linux_read_btrace): New function.
10319 (_initialize_i386_linux_nat): Use it.
10320
1777056d
TT
103212014-02-19 Tom Tromey <tromey@redhat.com>
10322
10323 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
10324 * target.c (target_teardown_btrace): Add argument.
10325 * remote.c (remote_teardown_btrace): Add 'self' argument.
10326 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
10327 argument.
10328 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
10329 argument.
10330
25e95349
TT
103312014-02-19 Tom Tromey <tromey@redhat.com>
10332
10333 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
10334 * target.c (target_disable_btrace): Add argument.
10335 * remote.c (remote_disable_btrace): Add 'self' argument.
10336 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
10337 argument.
10338 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
10339 argument.
10340
e3c49f88
TT
103412014-02-19 Tom Tromey <tromey@redhat.com>
10342
10343 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
10344 * target.c (target_enable_btrace): Add argument.
10345 * remote.c (remote_enable_btrace): Add 'self' argument.
10346 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
10347 argument.
10348 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
10349 argument.
10350
fe38f897
TT
103512014-02-19 Tom Tromey <tromey@redhat.com>
10352
10353 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
10354 (target_can_use_agent): Add argument.
10355 * target.c (update_current_target): Update.
10356 * remote.c (remote_can_use_agent): Add 'self' argument.
10357 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
10358
2c152180
TT
103592014-02-19 Tom Tromey <tromey@redhat.com>
10360
10361 * target.h (struct target_ops) <to_use_agent>: Add argument.
10362 (target_use_agent): Add argument.
10363 * target.c (update_current_target): Update.
10364 * remote.c (remote_use_agent): Add 'self' argument.
10365 * inf-child.c (inf_child_use_agent): Add 'self' argument.
10366
a893e81f
TT
103672014-02-19 Tom Tromey <tromey@redhat.com>
10368
10369 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
10370 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
10371 (target_traceframe_info): Add argument.
10372 * target.c (update_current_target): Update.
10373 * remote.c (remote_traceframe_info): Add 'self' argument.
10374 * ctf.c (ctf_traceframe_info): Add 'self' argument.
10375
c686c57f
TT
103762014-02-19 Tom Tromey <tromey@redhat.com>
10377
10378 * target.h (target_static_tracepoint_markers_by_strid): Add
10379 argument.
10380 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
10381 'self' argument.
10382 * target.c (update_current_target): Update.
10383 * remote.c (struct target_ops)
10384 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
10385 * linux-nat.c (struct target_ops)
10386 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
10387
61fc905d
TT
103882014-02-19 Tom Tromey <tromey@redhat.com>
10389
10390 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10391 Add argument.
10392 (target_static_tracepoint_marker_at): Add argument.
10393 * target.c (update_current_target): Update.
10394 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
10395 argument.
10396
c378d69d
TT
103972014-02-19 Tom Tromey <tromey@redhat.com>
10398
10399 * target.h (struct target_ops) <to_set_permissions>: Add argument.
10400 (target_set_permissions): Add argument.
10401 * target.c (update_current_target): Update.
10402 * remote.c (remote_set_permissions): Add 'self' argument.
10403 (remote_start_remote): Update.
10404
bd7ae0f5
TT
104052014-02-19 Tom Tromey <tromey@redhat.com>
10406
10407 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
10408 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
10409 (target_get_tib_address): Add argument.
10410 * target.c (update_current_target): Update.
10411 * remote.c (remote_get_tib_address): Add 'self' argument.
10412
d9e68a2c
TT
104132014-02-19 Tom Tromey <tromey@redhat.com>
10414
10415 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
10416 (target_set_trace_notes): Add argument.
10417 * target.c (update_current_target): Update.
10418 * remote.c (remote_set_trace_notes): Add 'self' argument.
10419
4da384be
TT
104202014-02-19 Tom Tromey <tromey@redhat.com>
10421
10422 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
10423 argument.
10424 (target_set_trace_buffer_size): Add argument.
10425 * target.c (update_current_target): Update.
10426 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
10427
736d5b1f
TT
104282014-02-19 Tom Tromey <tromey@redhat.com>
10429
10430 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
10431 argument.
10432 (target_set_circular_trace_buffer): Add argument.
10433 * target.c (update_current_target): Update.
10434 * remote.c (remote_set_circular_trace_buffer): Add 'self'
10435 argument.
10436
37b25738
TT
104372014-02-19 Tom Tromey <tromey@redhat.com>
10438
10439 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
10440 argument.
10441 (target_set_disconnected_tracing): Add argument.
10442 * target.c (update_current_target): Update.
10443 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
10444
0e67620a
TT
104452014-02-19 Tom Tromey <tromey@redhat.com>
10446
10447 * target.h (struct target_ops)
10448 <to_get_min_fast_tracepoint_insn_len>: Add argument.
10449 (target_get_min_fast_tracepoint_insn_len): Add argument.
10450 * target.c (update_current_target): Update.
10451 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
10452 argument.
10453
88ee6f45
TT
104542014-02-19 Tom Tromey <tromey@redhat.com>
10455
10456 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
10457 argument.
10458 (target_get_raw_trace_data): Add argument.
10459 * target.c (update_current_target): Update.
10460 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
10461
181e3713
TT
104622014-02-19 Tom Tromey <tromey@redhat.com>
10463
10464 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10465 Add argument.
10466 (target_upload_trace_state_variables): Add argument.
10467 * target.c (update_current_target): Update.
10468 * remote.c (remote_upload_trace_state_variables): Add 'self'
10469 argument.
10470 (remote_start_remote): Update.
10471
ab6617cc
TT
104722014-02-19 Tom Tromey <tromey@redhat.com>
10473
10474 * target.h (struct target_ops) <to_upload_tracepoints>: Add
10475 argument.
10476 (target_upload_tracepoints): Add argument.
10477 * target.c (update_current_target): Update.
10478 * remote.c (remote_upload_tracepoints): Add 'self' argument.
10479 (remote_start_remote): Update.
10480
dc3decaf
TT
104812014-02-19 Tom Tromey <tromey@redhat.com>
10482
10483 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
10484 (target_save_trace_data): Add argument.
10485 * target.c (update_current_target): Update.
10486 * remote.c (remote_save_trace_data): Add 'self' argument.
10487
4011015b
TT
104882014-02-19 Tom Tromey <tromey@redhat.com>
10489
10490 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
10491 argument.
10492 * target.h (struct target_ops)
10493 <to_get_trace_state_variable_value>: Add argument.
10494 (target_get_trace_state_variable_value): Add argument.
10495 * target.c (update_current_target): Update.
10496 * remote.c (remote_get_trace_state_variable_value): Add 'self'
10497 argument.
10498 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
10499
bd4c6793
TT
105002014-02-19 Tom Tromey <tromey@redhat.com>
10501
10502 * tracepoint.c (tfile_trace_find): Add 'self' argument.
10503 * target.h (struct target_ops) <to_trace_find>: Add argument.
10504 (target_trace_find): Add argument.
10505 * target.c (update_current_target): Update.
10506 * remote.c (remote_trace_find): Add 'self' argument.
10507 * ctf.c (ctf_trace_find): Add 'self' argument.
10508
74499f1b
TT
105092014-02-19 Tom Tromey <tromey@redhat.com>
10510
10511 * target.h (struct target_ops) <to_trace_stop>: Add argument.
10512 (target_trace_stop): Add argument.
10513 * target.c (update_current_target): Update.
10514 * remote.c (remote_trace_stop): Add 'self' argument.
10515
db90e85c
TT
105162014-02-19 Tom Tromey <tromey@redhat.com>
10517
10518 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
10519 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
10520 argument.
10521 (target_get_tracepoint_status): Add argument.
10522 * target.c (update_current_target): Update.
10523 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
10524
8bd200f1
TT
105252014-02-19 Tom Tromey <tromey@redhat.com>
10526
10527 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
10528 * target.h (struct target_ops) <to_get_trace_status>: Add
10529 argument.
10530 (target_get_trace_status): Add argument.
10531 * target.c (update_current_target): Update.
10532 * remote.c (remote_get_trace_status): Add 'self' argument.
10533 (remote_start_remote, remote_can_download_tracepoint): Update.
10534 * ctf.c (ctf_get_trace_status): Add 'self' argument.
10535
e2d1aae3
TT
105362014-02-19 Tom Tromey <tromey@redhat.com>
10537
10538 * target.h (struct target_ops) <to_trace_start>: Add argument.
10539 (target_trace_start): Add argument.
10540 * target.c (update_current_target): Update.
10541 * remote.c (remote_trace_start): Add 'self' argument.
10542
583f9a86
TT
105432014-02-19 Tom Tromey <tromey@redhat.com>
10544
10545 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10546 Add argument.
10547 (target_trace_set_readonly_regions): Add argument.
10548 * target.c (update_current_target): Update.
10549 * remote.c (remote_trace_set_readonly_regions): Add 'self'
10550 argument.
10551
780b049c
TT
105522014-02-19 Tom Tromey <tromey@redhat.com>
10553
10554 * target.h (struct target_ops) <to_disable_tracepoint>: Add
10555 argument.
10556 (target_disable_tracepoint): Add argument.
10557 * target.c (update_current_target): Update.
10558 * remote.c (remote_disable_tracepoint): Add 'self' argument.
10559
46670d57
TT
105602014-02-19 Tom Tromey <tromey@redhat.com>
10561
10562 * target.h (struct target_ops) <to_enable_tracepoint>: Add
10563 argument.
10564 (target_enable_tracepoint): Add argument.
10565 * target.c (update_current_target): Update.
10566 * remote.c (remote_enable_tracepoint): Add 'self' argument.
10567
559d2b81
TT
105682014-02-19 Tom Tromey <tromey@redhat.com>
10569
10570 * target.h (struct target_ops) <to_download_trace_state_variable>:
10571 Add argument.
10572 (target_download_trace_state_variable): Add argument.
10573 * target.c (update_current_target): Update.
10574 * remote.c (remote_download_trace_state_variable): Add 'self'
10575 argument.
10576
a52a8357
TT
105772014-02-19 Tom Tromey <tromey@redhat.com>
10578
10579 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
10580 argument.
10581 (target_can_download_tracepoint): Add argument.
10582 * target.c (update_current_target): Update.
10583 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
10584
548f7808
TT
105852014-02-19 Tom Tromey <tromey@redhat.com>
10586
10587 * target.h (struct target_ops) <to_download_tracepoint>: Add
10588 argument.
10589 (target_download_tracepoint): Add argument.
10590 * target.c (update_current_target): Update.
10591 * remote.c (remote_download_tracepoint): Add 'self' argument.
10592
ecae04e1
TT
105932014-02-19 Tom Tromey <tromey@redhat.com>
10594
10595 * target.h (struct target_ops) <to_trace_init>: Add argument.
10596 (target_trace_init): Add argument.
10597 * target.c (update_current_target): Update.
10598 * remote.c (remote_trace_init): Add 'self' argument.
10599
fab5aa7c
TT
106002014-02-19 Tom Tromey <tromey@redhat.com>
10601
10602 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
10603 * target.c (target_fileio_readlink): Add argument.
10604 * remote.c (remote_hostio_readlink): Add 'self' argument.
10605 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
10606
dbbca37d
TT
106072014-02-19 Tom Tromey <tromey@redhat.com>
10608
10609 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
10610 * target.c (target_fileio_unlink): Add argument.
10611 * remote.c (remote_hostio_unlink): Add 'self' argument.
10612 (remote_file_delete): Update.
10613 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
10614
df39ea25
TT
106152014-02-19 Tom Tromey <tromey@redhat.com>
10616
10617 * target.h (struct target_ops) <to_fileio_close>: Add argument.
10618 * target.c (target_fileio_close): Add argument.
10619 * remote.c (remote_hostio_close): Add 'self' argument.
10620 (remote_hostio_close_cleanup): Update.
10621 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
10622 Update.
10623 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
10624
a3be983c
TT
106252014-02-19 Tom Tromey <tromey@redhat.com>
10626
10627 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
10628 * target.c (target_fileio_pread): Add argument.
10629 * remote.c (remote_hostio_pread): Add 'self' argument.
10630 (remote_bfd_iovec_pread, remote_file_get): Update.
10631 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
10632
0d866f62
TT
106332014-02-19 Tom Tromey <tromey@redhat.com>
10634
10635 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
10636 * target.c (target_fileio_pwrite): Add argument.
10637 * remote.c (remote_hostio_pwrite): Add 'self' argument.
10638 (remote_file_put): Update.
10639 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
10640
cd897586
TT
106412014-02-19 Tom Tromey <tromey@redhat.com>
10642
10643 * target.h (struct target_ops) <to_fileio_open>: Add argument.
10644 * target.c (target_fileio_open): Add argument.
10645 * remote.c (remote_hostio_open): Add 'self' argument.
10646 (remote_bfd_iovec_open): Add 'self' argument.
10647 (remote_file_put): Add 'self' argument.
10648 (remote_file_get): Add 'self' argument.
10649 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
10650
78eff0ec
TT
106512014-02-19 Tom Tromey <tromey@redhat.com>
10652
10653 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10654 Add argument.
10655 (target_can_run_breakpoint_commands): Add argument.
10656 * target.c (update_current_target): Update.
10657 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
10658 argument.
10659 (remote_insert_breakpoint): Add 'self' argument.
10660 (remote_insert_hw_breakpoint): Add 'self' argument.
10661 (remote_can_run_breakpoint_commands): Add 'self' argument.
10662
efcc2da7
TT
106632014-02-19 Tom Tromey <tromey@redhat.com>
10664
10665 * target.h (struct target_ops)
10666 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
10667 (target_supports_evaluation_of_breakpoint_conditions): Add
10668 argument.
10669 * target.c (update_current_target): Update.
10670 * remote.c (remote_supports_cond_breakpoints): Add 'self'
10671 argument.
10672 (remote_insert_breakpoint): Add 'self' argument.
10673 (remote_insert_hw_breakpoint): Add 'self' argument.
10674 (remote_supports_cond_breakpoints): Add 'self' argument.
10675
6de37a3a
TT
106762014-02-19 Tom Tromey <tromey@redhat.com>
10677
10678 * target.h (struct target_ops) <to_supports_string_tracing>: Add
10679 argument.
10680 (target_supports_string_tracing): Add argument.
10681 * target.c (update_current_target): Update.
10682 * remote.c (remote_supports_string_tracing): Add 'self' argument.
10683
2bfc0540
TT
106842014-02-19 Tom Tromey <tromey@redhat.com>
10685
10686 * target.h (struct target_ops)
10687 <to_supports_disable_randomization>: Add argument.
10688 * target.c (find_default_supports_disable_randomization): Add
10689 argument.
10690 (target_supports_disable_randomization): Add argument.
10691 (find_default_supports_disable_randomization): Add 'self'
10692 argument.
10693 * remote.c (extended_remote_supports_disable_randomization): Add
10694 'self' argument.
10695 (remote_supports_disable_randomization): Add 'self' argument.
10696 (extended_remote_create_inferior): Update.
10697 * linux-nat.c (linux_nat_supports_disable_randomization): Add
10698 'self' argument.
10699
7d178d6a
TT
107002014-02-19 Tom Tromey <tromey@redhat.com>
10701
10702 * target.h (struct target_ops)
10703 <to_supports_enable_disable_tracepoint>: Add argument.
10704 (target_supports_enable_disable_tracepoint): Add argument.
10705 * target.c (update_current_target): Update.
10706 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
10707 argument.
10708
86ce2668
TT
107092014-02-19 Tom Tromey <tromey@redhat.com>
10710
10711 * target.h (struct target_ops) <to_supports_multi_process>: Add
10712 argument.
10713 (target_supports_multi_process): Add argument.
10714 * target.c (update_current_target): Update.
10715 * remote.c (remote_supports_multi_process): Add 'self' argument.
10716 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
10717 argument.
10718 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
10719 argument.
10720
4c612759
TT
107212014-02-19 Tom Tromey <tromey@redhat.com>
10722
10723 * target.h (struct target_ops) <to_execution_direction>: Add
10724 argument.
10725 (target_execution_direction): Add argument.
10726 * target.c (default_execution_direction): Add 'self' argument.
10727 * record-full.c (record_full_execution_direction): Add 'self'
10728 argument.
10729
19db3e69
TT
107302014-02-19 Tom Tromey <tromey@redhat.com>
10731
10732 * target.h (struct target_ops) <to_can_execute_reverse>: Add
10733 argument.
10734 (target_can_execute_reverse): Add argument.
10735 * remote.c (remote_can_execute_reverse): Add 'self' argument.
10736 * record-full.c (record_full_can_execute_reverse): Add 'self'
10737 argument.
10738 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
10739 argument.
10740
1e6b91a4
TT
107412014-02-19 Tom Tromey <tromey@redhat.com>
10742
10743 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
10744 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
10745 argument.
10746 (target_get_ada_task_ptid): Add argument.
10747 * target.c (update_current_target): Update.
10748 (default_get_ada_task_ptid): Add 'self' argument.
10749 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
10750 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
10751 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
10752 argument.
10753 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
10754 argument.
10755 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
10756 argument.
10757 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
10758 argument.
10759 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
10760 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
10761 argument.
10762
3c80fb48
TT
107632014-02-19 Tom Tromey <tromey@redhat.com>
10764
10765 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
10766 (target_goto_bookmark): Add argument.
10767 * target.c (dummy_goto_bookmark): Add 'self' argument.
10768 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
10769
dd0e2830
TT
107702014-02-19 Tom Tromey <tromey@redhat.com>
10771
10772 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
10773 (target_get_bookmark): Add argument.
10774 * target.c (dummy_get_bookmark): Add 'self' argument.
10775 * record-full.c (record_full_get_bookmark): Add 'self' argument.
10776
fc6691b2
TT
107772014-02-19 Tom Tromey <tromey@redhat.com>
10778
10779 * target.h (struct target_ops) <to_make_corefile_notes>: Add
10780 argument.
10781 (target_make_corefile_notes): Add argument.
10782 * target.c (dummy_make_corefile_notes): Add 'self' argument.
10783 * procfs.c (procfs_make_note_section): Add 'self' argument.
10784 (procfs_make_note_section): Add 'self' argument.
10785 (procfs_make_note_section): Add 'self' argument.
10786 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
10787 argument.
10788 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
10789 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
10790 * exec.c (exec_make_note_section): Add 'self' argument.
10791 (exec_make_note_section): Add 'self' argument.
10792
2e73927c
TT
107932014-02-19 Tom Tromey <tromey@redhat.com>
10794
10795 * target.h (struct target_ops) <to_find_memory_regions>: Add
10796 argument.
10797 (target_find_memory_regions): Add argument.
10798 * target.c (dummy_find_memory_regions): Add 'self' argument.
10799 * procfs.c (proc_find_memory_regions): Add 'self' argument.
10800 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
10801 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
10802 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
10803 * exec. (exec_do_find_memory_regions): New global.
10804 (exec_set_find_memory_regions): Rewrite.
10805 (exec_find_memory_regions): New function.
10806 (init_exec_ops): Use exec_find_memory_regions.
10807
2a9a2795
TT
108082014-02-19 Tom Tromey <tromey@redhat.com>
10809
10810 * target.h (struct target_ops) <to_supports_non_stop>: Add
10811 argument.
10812 * target.c (find_default_supports_non_stop): Add argument.
10813 (target_supports_non_stop): Add argument.
10814 (find_default_supports_non_stop): Add 'self' argument.
10815 * remote.c (remote_supports_non_stop): Add 'self' argument.
10816 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
10817
4ab76ea3
TT
108182014-02-19 Tom Tromey <tromey@redhat.com>
10819
10820 * target.h (struct target_ops) <to_log_command>: Add argument.
10821 (target_log_command): Add argument.
10822 * serial.h (serial_log_command): Add 'self' argument.
10823 * serial.c (serial_log_command): Add 'self' argument.
10824
8dd27370
TT
108252014-02-19 Tom Tromey <tromey@redhat.com>
10826
10827 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
10828 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
10829 argument.
10830 (target_pid_to_exec_file): Add argument.
10831 * target.c (debug_to_pid_to_exec_file): Add argument.
10832 (update_current_target): Update.
10833 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
10834 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
10835 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
10836 (linux_handle_extended_wait): Update.
10837 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
10838 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
10839 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
10840 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
10841
1aac633b
TT
108422014-02-19 Tom Tromey <tromey@redhat.com>
10843
10844 * target.h (struct target_ops) <to_rcmd>: Add argument.
10845 (target_rcmd): Add argument.
10846 * target.c (debug_to_rcmd): Add argument.
10847 (update_current_target, do_monitor_command): Update.
10848 * remote.c (remote_rcmd): Add 'self' argument.
10849 * monitor.c (monitor_rcmd): Add 'self' argument.
10850
1eab8a48
TT
108512014-02-19 Tom Tromey <tromey@redhat.com>
10852
10853 * windows-nat.c (windows_stop): Add 'self' argument.
10854 * target.h (struct target_ops) <to_stop>: Add argument.
10855 * target.c (target_stop): Add argument.
10856 (debug_to_stop): Add argument.
10857 (update_current_target): Update.
10858 * remote.c (remote_stop): Add 'self' argument.
10859 * remote-sim.c (gdbsim_stop): Add 'self' argument.
10860 (gdbsim_cntrl_c): Update.
10861 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
10862 * procfs.c (procfs_stop): Add 'self' argument.
10863 * nto-procfs.c (procfs_stop): Add 'self' argument.
10864 * monitor.c (monitor_stop): Add 'self' argument.
10865 (monitor_open): Update.
10866 * linux-nat.c (linux_nat_stop): Add argument.
10867 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
10868 * gnu-nat.c (gnu_stop): Add 'self' argument.
10869 * darwin-nat.c (darwin_stop): Add 'self' argument.
10870
503a628d
TT
108712014-02-19 Tom Tromey <tromey@redhat.com>
10872
10873 * target.h (struct target_ops) <to_thread_name>: Add argument.
10874 * target.c (target_thread_name): Add argument.
10875 (update_current_target): Update.
10876 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
10877
c15906d8
TT
108782014-02-19 Tom Tromey <tromey@redhat.com>
10879
10880 * target.h (struct target_ops) <to_extra_thread_info>: Add
10881 argument.
10882 (target_extra_thread_info): Add argument.
10883 * target.c (update_current_target): Update.
10884 * remote.c (remote_threads_extra_info): Add 'self' argument.
10885 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
10886 argument.
10887 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
10888 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
10889 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
10890 argument.
10891 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
10892 argument.
10893 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
10894 argument.
10895 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
10896 argument.
10897
daf5e9b6
TT
108982014-02-19 Tom Tromey <tromey@redhat.com>
10899
10900 * target.h (struct target_ops) <to_program_signals>: Add argument.
10901 * target.c (target_program_signals): Add argument.
10902 * remote.c (remote_program_signals): Add 'self' argument.
10903
94bedb42
TT
109042014-02-19 Tom Tromey <tromey@redhat.com>
10905
10906 * target.h (struct target_ops) <to_pass_signals>: Add argument.
10907 * target.c (target_pass_signals): Add argument.
10908 * remote.c (remote_pass_signals): Add 'self' argument.
10909 (remote_start_remote): Update.
10910 * procfs.c (procfs_pass_signals): Add 'self' argument.
10911 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
10912 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
10913 (linux_nat_create_inferior, linux_nat_attach): Update.
10914
da82bd6b
TT
109152014-02-19 Tom Tromey <tromey@redhat.com>
10916
10917 * windows-nat.c (windows_can_run): Add 'self' argument.
10918 * target.h (struct target_ops) <to_can_run>: Add argument.
10919 (target_can_run): Add argument.
10920 * target.c (debug_to_can_run): Add argument.
10921 (update_current_target): Update.
10922 * nto-procfs.c (procfs_can_run): Add 'self' argument.
10923 * inf-child.c (inf_child_can_run): Add 'self' argument.
10924 * go32-nat.c (go32_can_run): Add 'self' argument.
10925
d796e1d6
TT
109262014-02-19 Tom Tromey <tromey@redhat.com>
10927
10928 * target.h (struct target_ops) <to_has_exited>: Add argument.
10929 (target_has_exited): Add argument.
10930 * target.c (debug_to_has_exited): Add argument.
10931 (update_current_target): Update.
10932
ff214e67
TT
109332014-02-19 Tom Tromey <tromey@redhat.com>
10934
10935 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
10936 argument.
10937 (target_set_syscall_catchpoint): Add argument.
10938 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
10939 argument.
10940 * target.c (update_current_target): Update.
10941
758e29d2
TT
109422014-02-19 Tom Tromey <tromey@redhat.com>
10943
10944 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
10945 argument.
10946 (target_remove_exec_catchpoint): Add argument.
10947 * target.c (debug_to_remove_exec_catchpoint): Add argument.
10948 (update_current_target): Update.
10949 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
10950 argument.
10951
ba025e51
TT
109522014-02-19 Tom Tromey <tromey@redhat.com>
10953
10954 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
10955 argument.
10956 (target_insert_exec_catchpoint): Add argument.
10957 * target.c (debug_to_insert_exec_catchpoint): Add argument.
10958 (update_current_target): Update.
10959 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
10960 argument.
10961
e98cf0cd
TT
109622014-02-19 Tom Tromey <tromey@redhat.com>
10963
10964 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
10965 argument.
10966 (target_remove_vfork_catchpoint): Add argument.
10967 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
10968 (update_current_target): Update.
10969 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
10970 argument.
10971
3ecc7da0
TT
109722014-02-19 Tom Tromey <tromey@redhat.com>
10973
10974 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
10975 argument.
10976 (target_insert_vfork_catchpoint): Add argument.
10977 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
10978 (update_current_target): Update.
10979 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
10980 argument.
10981
973fc227
TT
109822014-02-19 Tom Tromey <tromey@redhat.com>
10983
10984 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
10985 argument.
10986 (target_remove_fork_catchpoint): Add argument.
10987 * target.c (debug_to_remove_fork_catchpoint): Add argument.
10988 (update_current_target): Update.
10989 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
10990 argument.
10991
a863b201
TT
109922014-02-19 Tom Tromey <tromey@redhat.com>
10993
10994 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
10995 argument.
10996 (target_insert_fork_catchpoint): Add argument.
10997 * target.c (debug_to_insert_fork_catchpoint): Add argument.
10998 (update_current_target): Update.
10999 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
11000 argument.
11001
2e97a79e
TT
110022014-02-19 Tom Tromey <tromey@redhat.com>
11003
11004 * target.h (struct target_ops) <to_post_startup_inferior>: Add
11005 argument.
11006 (target_post_startup_inferior): Add argument.
11007 * target.c (debug_to_post_startup_inferior): Add argument.
11008 (update_current_target): Update.
11009 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
11010 argument.
11011 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
11012 argument.
11013 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
11014 argument.
11015 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
11016 argument.
11017 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
11018 'self' argument.
11019 (super_post_startup_inferior): Likewise.
11020 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
11021 'self' argument.
11022 (super_post_startup_inferior): Likewise.
11023 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
11024 Add 'self' argument.
11025 (super_post_startup_inferior): Likewise.
11026
71a9f134
TT
110272014-02-19 Tom Tromey <tromey@redhat.com>
11028
11029 * target.h (struct target_ops) <to_load>: Add argument.
11030 * target.c (target_load): Add argument.
11031 (debug_to_load): Add argument.
11032 (update_current_target): Update.
11033 * remote.c (remote_load): Add 'self' argument.
11034 * remote-sim.c (gdbsim_load): Add 'self' argument.
11035 * remote-mips.c (mips_load): Add 'self' argument.
11036 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
11037 * monitor.c (monitor_load): Add 'self' argument.
11038 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
11039
0a4f40a2
TT
110402014-02-19 Tom Tromey <tromey@redhat.com>
11041
11042 * target.h (struct target_ops) <to_terminal_info>: Add argument.
11043 (target_terminal_info): Add argument.
11044 * target.c (debug_to_terminal_info): Add argument.
11045 (default_terminal_info): Likewise.
11046 * inflow.c (child_terminal_info): Add 'self' argument.
11047 * inferior.h (child_terminal_info): Add 'self' argument.
11048 * go32-nat.c (go32_terminal_info): Add 'self' argument.
11049
ae3bd431
TT
110502014-02-19 Tom Tromey <tromey@redhat.com>
11051
11052 * target.h (struct target_ops) <to_terminal_save_ours>: Add
11053 argument.
11054 (target_terminal_save_ours): Add argument.
11055 * target.c (debug_to_terminal_save_ours): Add argument.
11056 (update_current_target): Update.
11057 * inflow.c (terminal_save_ours): Add 'self' argument.
11058 * inferior.h (terminal_save_ours): Add 'self' argument.
11059
e3594fd1
TT
110602014-02-19 Tom Tromey <tromey@redhat.com>
11061
11062 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
11063 (target_terminal_ours): Add argument.
11064 * target.c (debug_to_terminal_ours): Add argument.
11065 (update_current_target): Update.
11066 * remote.c (remote_terminal_ours): Add 'self' argument.
11067 (remote_close): Update.
11068 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
11069 * inflow.c (terminal_ours): Add 'self' argument.
11070 * inferior.h (terminal_ours): Add 'self' argument.
11071 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11072
2e1e1a19
TT
110732014-02-19 Pedro Alves <palves@redhat.com>
11074 Tom Tromey <tromey@redhat.com>
11075
11076 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
11077 argument.
11078 (target_terminal_ours_for_output): Add argument.
11079 * target.c (debug_to_terminal_ours_for_output): Add argument.
11080 (update_current_target): Update.
11081 * inflow.c (terminal_ours_for_output): Add 'self' argument.
11082 * inferior.h (terminal_ours_for_output): Add 'self' argument.
11083 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11084
d2f640d4
TT
110852014-02-19 Tom Tromey <tromey@redhat.com>
11086
11087 * target.h (struct target_ops) <to_terminal_inferior>: Add
11088 argument.
11089 * target.c (target_terminal_inferior): Add argument.
11090 (update_current_target): Update.
11091 * remote.c (remote_terminal_inferior): Add 'self' argument.
11092 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
11093 * inflow.c (terminal_inferior): Add 'self' argument.
11094 * inferior.h (terminal_inferior): Add 'self' argument.
11095 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
11096 (go32_terminal_inferior): Add 'self' argument.
11097
c42bf286
TT
110982014-02-19 Tom Tromey <tromey@redhat.com>
11099
11100 * target.h (struct target_ops) <to_terminal_init>: Add argument.
11101 (target_terminal_init): Add argument.
11102 * target.c (debug_to_terminal_init): Add argument.
11103 (update_current_target): Update.
11104 * inflow.c (terminal_init_inferior): Add 'self' argument.
11105 * inferior.h (terminal_init_inferior): Add 'self' argument.
11106 * go32-nat.c (go32_terminal_init): Add 'self' argument.
11107 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
11108
c3a5ff89
TT
111092014-02-19 Tom Tromey <tromey@redhat.com>
11110
11111 * target.h (struct target_ops)
11112 <to_can_accel_watchpoint_condition>: Add argument.
11113 (target_can_accel_watchpoint_condition): Add argument.
11114 * target.c (debug_to_can_accel_watchpoint_condition): Add
11115 argument.
11116 (update_current_target): Update.
11117 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
11118 'self' argument.
11119
31568a15
TT
111202014-02-19 Tom Tromey <tromey@redhat.com>
11121
11122 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11123 Add argument.
11124 (target_region_ok_for_hw_watchpoint): Add argument.
11125 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
11126 (default_region_ok_for_hw_watchpoint): Add argument.
11127 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
11128 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
11129 argument.
11130 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
11131 argument.
11132 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
11133 argument.
11134 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
11135 'self' argument.
11136 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
11137 'self' argument.
11138 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
11139 'self' argument.
11140 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
11141 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
11142 'self' argument.
11143 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
11144 Add 'self' argument.
11145
7bb99c53
TT
111462014-02-19 Tom Tromey <tromey@redhat.com>
11147
11148 * target.h (struct target_ops) <to_insert_watchpoint>: Add
11149 argument.
11150 (target_insert_watchpoint): Add argument.
11151 * target.c (debug_to_insert_watchpoint): Add argument.
11152 (update_current_target): Update.
11153 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
11154 * remote.c (remote_insert_watchpoint): Add 'self' argument.
11155 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
11156 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
11157 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
11158 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
11159 argument.
11160 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
11161 (procfs_insert_hw_watchpoint): Add 'self' argument.
11162 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
11163 argument.
11164 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
11165 argument.
11166 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
11167 argument.
11168 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
11169 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
11170 argument.
11171 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
11172 'self' argument.
11173
11b5219a
TT
111742014-02-19 Tom Tromey <tromey@redhat.com>
11175
11176 * target.h (struct target_ops) <to_remove_watchpoint>: Add
11177 argument.
11178 (target_remove_watchpoint): Add argument.
11179 * target.c (debug_to_remove_watchpoint): Add argument.
11180 (update_current_target): Update.
11181 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
11182 * remote.c (remote_remove_watchpoint): Add 'self' argument.
11183 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
11184 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
11185 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
11186 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
11187 argument.
11188 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
11189 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
11190 argument.
11191 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
11192 argument.
11193 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
11194 argument.
11195 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
11196 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
11197 argument.
11198 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
11199 'self' argument.
11200
a64dc96c
TT
112012014-02-19 Tom Tromey <tromey@redhat.com>
11202
11203 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
11204 argument.
11205 (target_remove_hw_breakpoint): Add argument.
11206 * target.c (debug_to_remove_hw_breakpoint): Add argument.
11207 (update_current_target): Update.
11208 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
11209 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
11210 argument.
11211 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
11212 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
11213 argument.
11214 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
11215 'self' argument.
11216
23a26771
TT
112172014-02-19 Tom Tromey <tromey@redhat.com>
11218
11219 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
11220 argument.
11221 (target_insert_hw_breakpoint): Add argument.
11222 * target.c (debug_to_insert_hw_breakpoint): Add argument.
11223 (update_current_target): Update.
11224 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
11225 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
11226 argument.
11227 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
11228 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
11229 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
11230 argument.
11231 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
11232 'self' argument.
11233
5461485a
TT
112342014-02-19 Tom Tromey <tromey@redhat.com>
11235
11236 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
11237 argument.
11238 (target_can_use_hardware_watchpoint): Add argument.
11239 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
11240 (update_current_target): Update.
11241 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
11242 argument.
11243 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
11244 argument.
11245 * remote.c (remote_check_watch_resources): Add 'self' argument.
11246 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
11247 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
11248 argument.
11249 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
11250 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
11251 argument.
11252 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
11253 argument.
11254 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
11255 argument.
11256 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
11257 argument.
11258 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
11259 argument.
11260 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
11261 argument.
11262 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
11263 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
11264 argument.
11265 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
11266 'self' argument.
11267
f045800c
TT
112682014-02-19 Tom Tromey <tromey@redhat.com>
11269
11270 * target.h (struct target_ops) <to_post_attach>: Add argument.
11271 (target_post_attach): Add argument.
11272 * target.c (debug_to_post_attach): Add argument.
11273 (update_current_target): Update.
11274 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
11275 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
11276 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
11277 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
11278 * inf-child.c (inf_child_post_attach): Add 'self' argument.
11279
de90e03d
TT
112802014-02-19 Tom Tromey <tromey@redhat.com>
11281
11282 * windows-nat.c (windows_close): Add 'self' argument.
11283 * tracepoint.c (tfile_close): Add 'self' argument.
11284 * target.h (struct target_ops) <to_close>: Add argument.
11285 * target.c (target_close): Add argument.
11286 (update_current_target): Update.
11287 * remote.c (remote_close): Add 'self' argument.
11288 * remote-sim.c (gdbsim_close): Add 'self' argument.
11289 * remote-mips.c (mips_close): Add 'self' argument.
11290 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
11291 * record-full.c (record_full_close): Add 'self' argument.
11292 * record-btrace.c (record_btrace_close): Add 'self' argument.
11293 * monitor.h (monitor_close): Add 'self' argument.
11294 * monitor.c (monitor_close): Add 'self' argument.
11295 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
11296 * linux-nat.c (linux_nat_close): Add argument.
11297 * go32-nat.c (go32_close): Add 'self' argument.
11298 * exec.c (exec_close_1): Add 'self' argument.
11299 * ctf.c (ctf_close): Add 'self' argument.
11300 * corelow.c (core_close): Add 'self' argument.
11301 (core_close_cleanup): Update.
11302 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
11303 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
11304
9dd130a0
TT
113052014-02-19 Tom Tromey <tromey@redhat.com>
11306
11307 * remote.c (remote_load): New function.
11308 (init_remote_ops): Use it.
11309
46917d26
TT
113102014-02-19 Tom Tromey <tromey@redhat.com>
11311
11312 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
11313 argument.
11314 * common/linux-btrace.h (linux_supports_btrace): Update.
11315 * remote.c (remote_supports_btrace): Add "self" argument.
11316 * target-delegates.c: Rebuild.
11317 * target.c (target_supports_btrace): Remove.
11318 * target.h (struct target_ops) <to_supports_btrace>: Add
11319 target_ops argument.
11320 (target_supports_btrace): New define.
11321
6b84065d
TT
113222014-02-19 Tom Tromey <tromey@redhat.com>
11323
11324 * record-full.c (record_full_beneath_to_resume_ops)
11325 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
11326 (record_full_beneath_to_wait)
11327 (record_full_beneath_to_store_registers_ops)
11328 (record_full_beneath_to_store_registers)
11329 (record_full_beneath_to_xfer_partial_ops)
11330 (record_full_beneath_to_xfer_partial)
11331 (record_full_beneath_to_insert_breakpoint_ops)
11332 (record_full_beneath_to_insert_breakpoint)
11333 (record_full_beneath_to_remove_breakpoint_ops)
11334 (record_full_beneath_to_remove_breakpoint)
11335 (record_full_beneath_to_stopped_by_watchpoint)
11336 (record_full_beneath_to_stopped_data_address)
11337 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
11338 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
11339 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
11340 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
11341 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
11342 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
11343 (tmp_to_stopped_data_address, tmp_to_async): Remove.
11344 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
11345 (record_full_resume, record_full_wait_1)
11346 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
11347 (record_full_store_registers, record_full_xfer_partial)
11348 (record_full_insert_breakpoint, record_full_remove_breakpoint)
11349 (record_full_async, record_full_core_xfer_partial): Use target
11350 delegation.
11351 * target-delegates.c: Rebuild.
11352 * target.c (current_xfer_partial): Remove.
11353 (update_current_target): Do not INHERIT or de_fault
11354 to_insert_breakpoint, to_remove_breakpoint,
11355 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
11356 to_is_async_p, to_async. Do not set to_xfer_partial field.
11357 (default_xfer_partial): Simplify.
11358 (current_xfer_partial): Remove.
11359 (target_wait, target_resume): Simplify.
11360 (find_default_can_async_p, find_default_is_async_p): Update.
11361 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
11362 to_xfer_partial, to_stopped_by_watchpoint,
11363 to_stopped_data_address.
11364 (target_store_registers): Simplify.
11365 (forward_target_remove_breakpoint)
11366 (forward_target_insert_breakpoint): Remove.
11367 (target_remove_breakpoint, target_insert_breakpoint)
11368 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
11369 * target.h (struct target_ops) <to_resume, to_wait,
11370 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
11371 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
11372 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
11373 markup.
11374 (forward_target_remove_breakpoint)
11375 (forward_target_insert_breakpoint): Remove.
11376 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
11377 directly.
11378 (record_btrace_insert_breakpoint): Delegate directly.
11379
1101cb7b
TT
113802014-02-19 Tom Tromey <tromey@redhat.com>
11381
11382 PR build/7701:
11383 * target-delegates.c: New file.
11384 * target.c: Include target-delegates.c.
11385 (init_dummy_target): Call install_dummy_methods.
11386 (complete_target_initialization): Call install_delegators.
11387 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
11388 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
11389 * make-target-delegates: New file.
11390
8b06beed
TT
113912014-02-19 Tom Tromey <tromey@redhat.com>
11392
11393 * record.c (find_record_target): Use find_target_at.
11394 * target.c (find_target_at): New function.
11395 * target.h (find_target_at): Declare.
11396
6a109b6b
TT
113972014-02-19 Tom Tromey <tromey@redhat.com>
11398
11399 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
11400 Add 'ops' argument.
11401 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
11402 'ops' argument.
11403 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
11404 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
11405 'ops' argument.
11406 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
11407 argument.
11408 * linux-nat.c (save_sigtrap): Update.
11409 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
11410 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
11411 (linux_nat_close): Update.
11412 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
11413 argument.
11414 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
11415 argument.
11416 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
11417 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
11418 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
11419 (tmp_to_async): Add 'ops' argument.
11420 (record_full_stopped_by_watchpoint, record_full_async)
11421 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
11422 argument.
11423 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
11424 (m32r_stopped_by_watchpoint): Add 'ops' argument.
11425 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
11426 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
11427 (remote_is_async_p, remote_async): Add 'ops' argument.
11428 (remote_stopped_data_address): Update.
11429 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
11430 * target.c (update_current_target)
11431 (find_default_can_async_p, find_default_is_async_p): Update.
11432 (init_dummy_target): Update.
11433 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
11434 * target.h (struct target_ops) <to_stopped_by_watchpoint,
11435 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
11436 (target_can_async_p, target_is_async_p, target_async)
11437 (target_stopped_by_watchpoint): Update.
11438
e095146b
YQ
114392014-02-19 Yao Qi <yao@codesourcery.com>
11440
11441 PR gdb/16220
11442 * gdbarch.sh: Remove startup_gdbarch.
11443 * gdbarch.c: Regenerated.
11444 * gdbarch.h: Likewise.
11445
bc3c6b36
KB
114462014-02-17 Kevin Buettner <kevinb@redhat.com>
11447
11448 * rl78-tdep.c (rl78_g10_register_name): New function.
11449 (rl78_return_value): Add g10 support.
11450 (rl78_gdbarch_init): Register rl78_g10_register_name for the
11451 g10.
11452
98dc0167 114532014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
11454
11455 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
11456 (SUBDIR_GUILE_SRCS): Ditto.
11457 (scm-gsmob.o): Ditto.
11458
842c05cd
YQ
114592014-02-17 Yao Qi <yao@codesourcery.com>
11460
11461 * gnu-nat.c (ILL_RPC): Declare defined function.
11462
25c0bd04
YQ
114632014-02-17 Yao Qi <yao@codesourcery.com>
11464
11465 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
11466 mach_msg_type_number_t.
11467 (gnu_write_inferior): Likewise.
11468
a9a758e3
YQ
114692014-02-17 Yao Qi <yao@codesourcery.com>
11470
11471 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
11472 in format string.
11473 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
11474 (inf_validate_procs, inf_signal): Likewise.
11475 (S_exception_raise_request): Likewise.
11476 (do_mach_notify_dead_name): Likewise.
11477 (steal_exc_port): Likewise.
11478 (gnu_read_inferior): Change 'copy_count''s type to
11479 mach_msg_type_number_t.
11480 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
11481 format string.
11482
bae8023e
TS
114832014-02-16 Thomas Schwinge <thomas@codesourcery.com>
11484
c82f56d9
TS
11485 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
11486 flag. Adjust all users; in particular...
11487 (gnu_wait): ..., don't decrement its value in here...
11488 (gnu_create_inferior): ..., and instead set the flag in here,
11489 around the startup_inferior call, and call that one with
11490 START_INFERIOR_TRAPS_EXPECTED.
11491
3398af6a
TS
11492 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
11493 (ILL_RPC): ... new macro.
11494 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
11495 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
11496 (do_mach_notify_send_once, S_proc_setmsgport_reply)
11497 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
11498 functions with ILL_RPC macro.
11499 (S_proc_pid2task_reply, S_proc_task2pid_reply)
11500 (S_proc_task2proc_reply, S_proc_proc2task_reply)
11501 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
11502 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
11503 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
11504 (S_proc_getlogin_reply, S_proc_getsid_reply)
11505 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
11506 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
11507 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
11508 (S_proc_getnports_reply, S_proc_is_important_reply)
11509 (S_proc_get_code_reply): New stub functions, generated with
11510 ILL_RPC macro.
11511
d47642c9
TS
11512 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
11513 collected the type check structures.
11514
bae8023e
TS
11515 * reply_mig_hack.awk: Don't expect to see the auto keyword.
11516
8a55ffb0
DE
115172014-02-14 Doug Evans <dje@google.com>
11518
11519 * target.c (target_write_partial): Fix result type.
11520
c2853f3d
JM
115212014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
11522
11523 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
11524 the proper offsets to access fpregset_t.
11525
ac61d2db
SA
115262014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
11527
11528 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
11529 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
11530 * h8300-tdep.c (setmachinelist): Remove global.
11531 * hppa-tdep.c (hppa_sigtramp): Remove global.
11532 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
11533 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
11534 * ravenscar-thread.c (update_target_observer): Remove global.
11535 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
11536
9d2d0b8b
TT
115372014-02-12 Tom Tromey <tromey@redhat.com>
11538
11539 * common/rsp-low.c: Update comments.
11540 * common/rsp-low.h: Update comments.
11541
a7191e8b
TT
115422014-02-12 Tom Tromey <tromey@redhat.com>
11543
11544 * common/rsp-low.c (convert_ascii_to_int): Remove.
11545 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
11546
ff0e980e
TT
115472014-02-12 Tom Tromey <tromey@redhat.com>
11548
11549 * common/rsp-low.h (unhexify): Don't declare.
11550 * common/rsp-low.c (unhexify): Remove.
11551
e9371aff
TT
115522014-02-12 Tom Tromey <tromey@redhat.com>
11553
11554 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
11555 * common/rsp-low.c (convert_int_to_ascii): Remove.
11556
971dc0b8
TT
115572014-02-12 Tom Tromey <tromey@redhat.com>
11558
11559 * common/rsp-low.h (hexify): Don't declare.
11560 * common/rsp-low.c (hexify): Remove.
11561
0a822afb
TT
115622014-02-12 Tom Tromey <tromey@redhat.com>
11563
11564 * common/rsp-low.c (hexify): Never take strlen of argument.
11565
9f1b45b0
TT
115662014-02-12 Tom Tromey <tromey@redhat.com>
11567
11568 * common/rsp-low.c (bin2hex): Never take strlen of argument.
11569 * remote.c (extended_remote_run, remote_rcmd)
11570 (remote_download_trace_state_variable, remote_save_trace_data)
11571 (remote_set_trace_notes): Update.
11572 * tracepoint.c (encode_source_string, tfile_write_status)
11573 (tfile_write_uploaded_tsv): Update.
11574
9c3d6531
TT
115752014-02-12 Tom Tromey <tromey@redhat.com>
11576
11577 * tracepoint.c: Include rsp-low.h.
11578 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
11579 * remote.c: Include rsp-low.h.
11580 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
11581 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
11582 (remote_unescape_input): Move to common/rsp-low.c.
11583 * common/rsp-low.h: New file.
11584 * common/rsp-low.c: New file.
11585 * Makefile.in (SFILES): Add common/rsp-low.c.
11586 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
11587 (COMMON_OBS): Add rsp-low.o.
11588 (rsp-low.o): New target.
11589
01fd3ea5
TT
115902014-02-12 Tom Tromey <tromey@redhat.com>
11591
11592 * utils.h: Include print-utils.h.
11593 (host_address_to_string, plongest, pulongest, phex, phex_nz)
11594 (int_string, core_addr_to_string, core_addr_to_string_nz)
11595 (hex_string, hex_string_custom): Don't declare.
11596 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
11597 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
11598 (hex_string_custom, int_string, core_addr_to_string)
11599 (core_addr_to_string_nz, host_address_to_string): Move to
11600 common/print-utils.c.
11601 * common/print-utils.h: New file.
11602 * common/print-utils.c: New file
11603 * Makefile.in (SFILES): Add common/print-utils.c.
11604 (HFILES_NO_SRCDIR): Add common/print-utils.h.
11605 (COMMON_OBS): Add print-utils.o.
11606 (print-utils.o): New target.
11607
9fb50108
TT
116082014-02-12 Tom Tromey <tromey@redhat.com>
11609
11610 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
11611
0548b5db
MK
116122014-02-12 Mark Kettenis <kettenis@gnu.org>
11613
11614 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
11615
493443a4
MK
116162014-02-12 Mark Kettenis <kettenis@gnu.org>
11617
11618 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
11619 if a PT_IO ptrace request returns sucessfully but indicates that 0
11620 bytes were transferred.
11621
706d0883
PA
116222014-02-12 Pedro Alves <palves@redhat.com>
11623 Kevin Buettner <kevinb@redhat.com>
11624
11625 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
11626 TYPE_INSTANCE_FLAG_CODE_SPACE.
11627
5caa2f0b
PA
116282014-02-12 Pedro Alves <palves@redhat.com>
11629
11630 * h8300-tdep.c (pseudo_from_raw_register)
11631 (raw_from_pseudo_register): New functions.
11632 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
11633 them.
11634
76fd5f74
PA
116352014-02-12 Pedro Alves <palves@redhat.com>
11636
11637 * h8300-tdep.c (h8300_register_sim_regno): New function.
11638 (h8300_gdbarch_init): Install h8300_register_sim_regno as
11639 gdbarch_register_sim_regno hook.
11640
8f008406
SA
116412014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11642
11643 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
11644
195abc10
SA
116452014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
11646
11647 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
11648
93ffa5b9
MK
116492014-02-12 Mark Kettenis <kettenis@gnu.org>
11650
11651 * obsd-tdep.h (obsd_init_abi): New prototype.
11652 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
11653 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
11654 (obsd_init_abi): New functions.
11655 * i386obsd-tdep.c: Include "obsd-tdep.h".
11656 (i386obsd_init_abi): Call obsd_init_abi.
11657 * amd64obsd-tdep.c: Include "obsd-tdep.h".
11658 (amd64obsd_init_abi): Call obsd_init_abi.
11659 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
11660 obsd-tdep.c to gdb_target_obs.
11661
49caec94
JM
116622014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
11663
11664 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
11665 double float arguments to 16-byte in the argument slots.
11666
e1402065
DE
116672014-02-11 Doug Evans <xdje42@gmail.com>
11668
11669 * configure.ac: Don't crash if pkg-config is not found and guile
11670 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
11671 in guile checks.
11672 * configure: Regenerate.
11673
edcc890f
YQ
116742014-02-11 Yao Qi <yao@codesourcery.com>
11675
11676 * aix-thread.c (aix_thread_xfer_partial): Update comments.
11677 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
11678 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11679 * gnu-nat.c (gnu_xfer_memory): Likewise.
11680 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
11681 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11682 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11683 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11684
9b409511
YQ
116852014-02-11 Yao Qi <yao@codesourcery.com>
11686
11687 * target.h (enum target_xfer_error): Rename to ...
11688 (enum target_xfer_status): ... it. New. All users updated.
11689 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
11690 New.
11691 (TARGET_XFER_STATUS_ERROR_P): New macro.
11692 (target_xfer_error_to_string): Remove declaration.
11693 (target_xfer_status_to_string): Declare.
11694 (target_xfer_partial_ftype): Adjust it.
11695 (struct target_ops) <to_xfer_partial>: Return
11696 target_xfer_status. Add argument xfered_len. Update
11697 comments.
11698 * target.c (target_xfer_error_to_string): Rename to ...
11699 (target_xfer_status_to_string): ... it. New. All callers
11700 updated.
11701 (target_read_live_memory): Likewise. Call target_xfer_partial
11702 instead of target_read.
11703 (memory_xfer_live_readonly_partial): Return
11704 target_xfer_status. Add argument xfered_len.
11705 (raw_memory_xfer_partial): Likewise.
11706 (memory_xfer_partial_1): Likewise.
11707 (memory_xfer_partial): Likewise.
11708 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
11709 properly. Update debug message.
11710 (default_xfer_partial, current_xfer_partial): Likewise.
11711 (target_write_partial): Likewise.
11712 (target_read_partial): Likewise. All callers updated.
11713 (read_whatever_is_readable): Likewise.
11714 (target_write_with_progress): Likewise.
11715 (target_read_alloc_1): Likewise.
11716
11717 * aix-thread.c (aix_thread_xfer_partial): Likewise.
11718 * auxv.c (procfs_xfer_auxv): Likewise.
11719 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
11720 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11721 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11722 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
11723 * corefile.c (read_memory): Adjust.
11724 * corelow.c (core_xfer_partial): Likewise.
11725 * ctf.c (ctf_xfer_partial): Likewise.
11726 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
11727 updated.
11728 (darwin_xfer_partial): Likewise.
11729 * exec.c (section_table_xfer_memory_partial): Likewise. All
11730 callers updated.
11731 (exec_xfer_partial): Likewise.
11732 * exec.h (section_table_xfer_memory_partial): Update
11733 declaration.
11734 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
11735 negative.
11736 (gnu_xfer_partial): Likewise.
11737 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
11738 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
11739 (ia64_hpux_xfer_solib_got): Likewise.
11740 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
11741 type of 'partial_len' to ULONGEST.
11742 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
11743 * linux-nat.c (linux_xfer_siginfo ): Likewise.
11744 (linux_nat_xfer_partial): Likewise.
11745 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
11746 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
11747 * monitor.c (monitor_xfer_memory): Likewise.
11748 (monitor_xfer_partial): Likewise.
11749 * procfs.c (procfs_xfer_partial): Likewise.
11750 * record-btrace.c (record_btrace_xfer_partial): Likewise.
11751 * record-full.c (record_full_xfer_partial): Likewise.
11752 (record_full_core_xfer_partial): Likewise.
11753 * remote-sim.c (gdbsim_xfer_memory): Likewise.
11754 (gdbsim_xfer_partial): Likewise.
11755 * remote.c (remote_write_bytes_aux): Likewise. All callers
11756 updated.
11757 (remote_write_bytes, remote_read_bytes): Likewise. All
11758 callers updated.
11759 (remote_flash_erase): Likewise. All callers updated.
11760 (remote_write_qxfer): Likewise. All callers updated.
11761 (remote_read_qxfer): Likewise. All callers updated.
11762 (remote_xfer_partial): Likewise.
11763 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11764 (rs6000_xfer_shared_libraries): Likewise.
11765 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11766 (sol_thread_xfer_partial): Likewise.
11767 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11768 (sparc_xfer_partial): Likewise.
11769 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
11770 updated.
11771 (spu_xfer_partial): Likewise.
11772 * spu-multiarch.c (spu_xfer_partial): Likewise.
11773 * tracepoint.c (tfile_xfer_partial): Likewise.
11774 * windows-nat.c (windows_xfer_memory): Likewise.
11775 (windows_xfer_shared_libraries): Likewise.
11776 (windows_xfer_partial): Likewise.
11777 * valprint.c: Replace 'target_xfer_error' with
11778 'target_xfer_status' in comments.
11779
a8e63083
JB
117802014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
11781
11782 Checked in by Joel Brobecker <brobecker@adacore.com>.
11783 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
11784
e86b67d3
JB
117852014-02-11 Joel Brobecker <brobecker@adacore.com>
11786
11787 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
11788 function parameters.
11789
4b7d1f7f
WN
117902014-02-10 Will Newton <will.newton@linaro.org>
11791
11792 * elfread.c (elf_rel_plt_read): Look for a .got section if
11793 looking up .got.plt fails.
11794 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
11795 on address passed to elf_gnu_ifunc_record_cache.
11796 (elf_gnu_ifunc_resolve_addr): Likewise.
11797 (elf_gnu_ifunc_resolver_return_stop): Likewise.
11798
961842b2
JM
117992014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
11800
11801 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
11802 (X_RETTURN): New macro.
11803 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
11804
11805 * sparc64-tdep.c (sparc64_init_abi): Hook
11806 sparc_in_function_epilogue_p.
11807
3f03e7b1
GB
118082014-02-10 Gary Benson <gbenson@redhat.com>
11809
11810 * symfile-debug.c (debug_qf_expand_symtabs_matching):
11811 Rename name_matcher to symbol_matcher.
11812
96f861ef
GB
118132014-02-10 Gary Benson <gbenson@redhat.com>
11814
11815 * symfile-debug.c (debug_qf_expand_symtabs_matching):
11816 Use expand_symtabs_file_matcher_ftype and
11817 expand_symtabs_symbol_matcher_ftype.
11818
ee01b665
JB
118192014-02-10 Joel Brobecker <brobecker@adacore.com>
11820
11821 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
11822 (struct ada_symbol_cache): New.
11823 (ada_free_symbol_cache): Forward declare.
11824 (struct ada_pspace_data): New.
11825 (ada_pspace_data_handle): New static global.
11826 (get_ada_pspace_data, ada_pspace_data_cleanup)
11827 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
11828 (cache_space, cache): Delete, now folded inside struct
11829 ada_pspace_data.
11830 (ada_get_symbol_cache): New function.
11831 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
11832 implementation.
11833 (_initialize_ada_language): Remove initialization of cache_space.
11834 Move call to observer_attach_inferior_exit up, grouping it
11835 with the other observer registrations inside this function.
11836 Rename command to be more general. Add call to
11837 register_program_space_data_with_cleanup.
11838
143adbbf
JB
118392014-02-10 Joel Brobecker <brobecker@adacore.com>
11840
11841 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
11842 ada_new_objfile_observer.
11843 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
11844 (_initialize_tasks): Update uses of ada_new_objfile_observer
11845 and ada_tasks_normal_stop_observer.
11846
aa4fb036
JB
118472014-02-10 Joel Brobecker <brobecker@adacore.com>
11848
11849 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
11850 returned by the 'Length attribute to integer.
11851
9dee8cc6
JB
118522014-02-10 Joel Brobecker <brobecker@adacore.com>
11853
11854 * ada-lang.c (_initialize_ada_language): Initialize
11855 cache_space obstack.
11856
3d9434b5
JB
118572014-02-10 Joel Brobecker <brobecker@adacore.com>
11858
11859 * ada-lang.c (HASH_SIZE): New macro.
11860 (struct cache_entry): New type.
11861 (cache_space, cache): New static globals.
11862 (ada_clear_symbol_cache, find_entry): New functions.
11863 (lookup_cached_symbol, cache_symbol): Implement.
11864 (ada_new_objfile_observer, ada_free_objfile_observer): New.
11865 (_initialize_ada_language): Attach ada_new_objfile_observer
11866 and ada_free_objfile_observer.
11867
f0c5f9b2
JB
118682014-02-10 Joel Brobecker <brobecker@adacore.com>
11869
11870 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
11871 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
11872 struct block * parameter.
11873 (ada_lookup_symbol_list_worker): Constify local variable "block".
11874 Remove cast which is no longer necessary.
11875
ed3ef339
DE
118762014-02-10 Doug Evans <xdje42@gmail.com>
11877
11878 Add Guile as an extension language.
11879 * NEWS: Mention Guile scripting.
11880 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
11881 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
11882 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
11883 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
11884 (CLIBS): Add GUILE_LIBS.
11885 (install-guile): New rule.
11886 (guile.o): New rule.
11887 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
11888 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
11889 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
11890 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
11891 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
11892 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
11893 (scm-type.o, scm-utils.o, scm-value.o): New rules.
11894 * configure.ac: New option --with-guile.
11895 * configure: Regenerate.
11896 * config.in: Regenerate.
11897 * auto-load.c: Remove #include "python/python.h". Add #include
11898 "gdb/section-scripts.h".
11899 (source_section_scripts): Handle Guile scripts.
11900 (_initialize_auto_load): Add name of Guile objfile script to
11901 scripts-directory help text.
11902 * breakpoint.c (condition_command): Tweak comment to include Scheme.
11903 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
11904 (struct breakpoint): New member scm_bp_object.
11905 * defs.h (enum command_control_type): New value guile_control.
11906 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
11907 "extension.h".
11908 (show_user): Update comment.
11909 (_initialize_cli_cmds): Update help text for "show user". Update help
11910 text for max-user-call-depth.
11911 * cli/cli-script.c: Remove #include "python/python.h". Add #include
11912 "extension.h".
11913 (multi_line_command_p): Add guile_control.
11914 (print_command_lines): Handle guile_control.
11915 (execute_control_command, recurse_read_control_structure): Ditto.
11916 (process_next_line): Recognize "guile" commands.
11917 * disasm.c (gdb_disassemble_info): Make non-static.
11918 * disasm.h: #include "dis-asm.h".
11919 (struct gdbarch): Add forward decl.
11920 (gdb_disassemble_info): Declare.
11921 * extension.c: #include "guile/guile.h".
11922 (extension_languages): Add guile.
11923 (get_ext_lang_defn): Handle EXT_LANG_GDB.
11924 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
11925 * gdbtypes.c (get_unsigned_type_max): New function.
11926 (get_signed_type_minmax): New function.
11927 * gdbtypes.h (get_unsigned_type_max): Declare.
11928 (get_signed_type_minmax): Declare.
11929 * guile/README: New file.
11930 * guile/guile-internal.h: New file.
11931 * guile/guile.c: New file.
11932 * guile/guile.h: New file.
11933 * guile/scm-arch.c: New file.
11934 * guile/scm-auto-load.c: New file.
11935 * guile/scm-block.c: New file.
11936 * guile/scm-breakpoint.c: New file.
11937 * guile/scm-disasm.c: New file.
11938 * guile/scm-exception.c: New file.
11939 * guile/scm-frame.c: New file.
11940 * guile/scm-gsmob.c: New file.
11941 * guile/scm-iterator.c: New file.
11942 * guile/scm-lazy-string.c: New file.
11943 * guile/scm-math.c: New file.
11944 * guile/scm-objfile.c: New file.
11945 * guile/scm-ports.c: New file.
11946 * guile/scm-pretty-print.c: New file.
11947 * guile/scm-safe-call.c: New file.
11948 * guile/scm-string.c: New file.
11949 * guile/scm-symbol.c: New file.
11950 * guile/scm-symtab.c: New file.
11951 * guile/scm-type.c: New file.
11952 * guile/scm-utils.c: New file.
11953 * guile/scm-value.c: New file.
11954 * guile/lib/gdb.scm: New file.
11955 * guile/lib/gdb/boot.scm: New file.
11956 * guile/lib/gdb/experimental.scm: New file.
11957 * guile/lib/gdb/init.scm: New file.
11958 * guile/lib/gdb/iterator.scm: New file.
11959 * guile/lib/gdb/printing.scm: New file.
11960 * guile/lib/gdb/types.scm: New file.
11961 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
11962 (VPATH): Add $(GUILE_SRCDIR).
11963 (GUILE_DIR): New variable.
11964 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
11965 (all): Add stamp-guile dependency.
11966 (stamp-guile): New rule.
11967 (clean-guile, install-guile, uninstall-guile): New rules.
11968 (install-only): Add install-guile dependency.
11969 (uninstall): Add uninstall-guile dependency.
11970 (clean): Add clean-guile dependency.
11971
ac020ec5
DE
119722014-02-09 Doug Evans <xdje42@gmail.com>
11973
11974 Revert this patch (which I approved, mea culpa).
11975
11976 2014-02-08 Mark Kettenis <kettenis@gnu.org>
11977
11978 * Makefile.in (all-lib): Remove.
11979 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11980
2a081c59
JK
119812014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11982
11983 Fix Python stack corruption.
11984 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
11985 gdb_py_longest.
11986
0a6bd22d
MK
119872014-02-08 Mark Kettenis <kettenis@gnu.org>
11988
11989 * Makefile.in (all-lib): Remove.
11990 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
11991
1a860409
DE
119922014-02-07 Doug Evans <dje@google.com>
11993
11994 * extension-priv.h (extension_language_script_ops): Add comment.
11995 (extension_language_ops): Add comment.
caf5a491 11996 (active_ext_lang_state): Fix typo in comment.
1a860409 11997
d137e6dc
PA
119982014-02-07 Pedro Alves <palves@redhat.com>
11999
0dcb32c3 12000 PR breakpoints/16292
d137e6dc
PA
12001 * infrun.c (handle_signal_stop) <signal arrives while stepping
12002 over a breakpoint>: Switch back to the stepping thread.
12003
ce6d0892
YQ
120042014-02-07 Yao Qi <yao@codesourcery.com>
12005
12006 * target.c (target_xfer_partial): Return zero if LEN is zero.
12007
2ed4b548
YQ
120082014-02-07 Yao Qi <yao@codesourcery.com>
12009
12010 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
12011 (ld_so_xfer_auxv): Likewise.
12012 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12013 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12014 * corelow.c (core_xfer_partial): Likewise.
12015 * ctf.c (ctf_xfer_partial): Likewise.
12016 * darwin-nat.c (darwin_read_dyld_info): Likewise.
12017 (darwin_xfer_partial): Likewise.
12018 * exec.c (exec_xfer_partial): Likewise.
12019 * gnu-nat.c (gnu_xfer_partial): Likewise.
12020 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
12021 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12022 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12023 * linux-nat.c (linux_xfer_siginfo): Likewise.
12024 (linux_proc_xfer_spu): Likewise.
12025 * procfs.c (procfs_xfer_partial): Likewise.
12026 * record-full.c (record_full_xfer_partial): Likewise.
12027 (record_full_core_xfer_partial): Likewise.
12028 * remote-sim.c (gdbsim_xfer_partial): Likewise.
12029 * remote.c (remote_write_qxfer): Likewise.
12030 (remote_write_qxfer, remote_read_qxfer): Likewise.
12031 (remote_xfer_partial): Likewise.
12032 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12033 (rs6000_xfer_shared_libraries): Likewise.
12034 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12035 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12036 (spu_xfer_partial): Likewise.
12037 * target.c (memory_xfer_partial_1): Likewise.
12038 * tracepoint.c (tfile_xfer_partial): Likewise.
12039 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
12040 (windows_xfer_partial): Likewise.
12041
c09f20e4
YQ
120422014-02-07 Yao Qi <yao@codesourcery.com>
12043
12044 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
12045 comments.
12046 (core_xfer_shared_libraries_aix): Likewise.
12047 * gdbarch.c, gdbarch.h: Regenerated.
12048 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
12049 ULONGEST. Change 'len_avail' type to ULONGEST.
12050 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12051 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12052 declaration.
12053 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
12054
8635b3bf
YQ
120552014-02-07 Yao Qi <yao@codesourcery.com>
12056
12057 * corefile.c (memory_error): Get 'exception' from ERR and pass
12058 'exception' to throw_error.
12059
6dddc817
DE
120602014-02-06 Doug Evans <xdje42@gmail.com>
12061
12062 * configure.ac (libpython checking): Remove all but python.o from
12063 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
12064 * configure: Regenerate.
12065
12066 * Makefile.in (SFILES): Add extension.c.
12067 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
12068 (COMMON_OBS): Add extension.o.
12069 * extension.h: New file.
12070 * extension-priv.h: New file.
12071 * extension.c: New file.
12072
12073 * python/python-internal.h: #include "extension.h".
12074 (gdbpy_auto_load_enabled): Declare.
12075 (gdbpy_apply_val_pretty_printer): Declare.
12076 (gdbpy_apply_frame_filter): Declare.
12077 (gdbpy_preserve_values): Declare.
12078 (gdbpy_breakpoint_cond_says_stop): Declare.
12079 (gdbpy_breakpoint_has_cond): Declare.
12080 (void source_python_script_for_objfile): Delete.
12081 * python/python.c: #include "extension-priv.h".
12082 Delete inclusion of "observer.h".
12083 (extension_language_python): Moved here and renamed from
12084 script_language_python in py-auto-load.c.
12085 Redefined to be of type extension_language_defn.
12086 (python_extension_script_ops): New global.
12087 (python_extension_ops): New global.
12088 (struct python_env): New member previous_active.
12089 (restore_python_env): Call restore_active_ext_lang.
12090 (ensure_python_env): Call set_active_ext_lang.
12091 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
12092 New arg extlang.
12093 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
12094 New arg extlang.
12095 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
12096 New arg extlang.
12097 (gdbpy_eval_from_control_command): Renamed from
12098 eval_python_from_control_command, made static. New arg extlang.
12099 (gdbpy_source_script) Renamed from source_python_script, made static.
12100 New arg extlang.
12101 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
12102 result to int. New arg extlang.
12103 (gdbpy_source_objfile_script): Renamed from
12104 source_python_script_for_objfile, made static. New arg extlang.
12105 (gdbpy_start_type_printers): Renamed from start_type_printers, made
12106 static. New args extlang, extlang_printers. Change result type to
12107 "void".
12108 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
12109 static. New arg extlang. Rename arg printers to extlang_printers
12110 and change type to ext_lang_type_printers *.
12111 (gdbpy_free_type_printers): Renamed from free_type_printers, made
12112 static. Replace argument arg with extlang, extlang_printers.
12113 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
12114 (!HAVE_PYTHON, source_python_script): Delete.
12115 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
12116 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
12117 (!HAVE_PYTHON, start_type_printers): Delete.
12118 (!HAVE_PYTHON, apply_type_printers): Delete.
12119 (!HAVE_PYTHON, free_type_printers): Delete.
12120 (_initialize_python): Delete call to observer_attach_before_prompt.
12121 (finalize_python): Set/restore active extension language.
12122 (gdbpy_finish_initialization) Renamed from
12123 finish_python_initialization, made static. New arg extlang.
12124 (gdbpy_initialized): New function.
12125 * python/python.h: #include "extension.h". Delete #include
12126 "value.h", "mi/mi-cmds.h".
12127 (extension_language_python): Declare.
12128 (GDBPY_AUTO_FILE_NAME): Delete.
12129 (enum py_bt_status): Moved to extension.h and renamed to
12130 ext_lang_bt_status.
12131 (enum frame_filter_flags): Moved to extension.h.
12132 (enum py_frame_args): Moved to extension.h and renamed to
12133 ext_lang_frame_args.
12134 (finish_python_initialization): Delete.
12135 (eval_python_from_control_command): Delete.
12136 (source_python_script): Delete.
12137 (apply_val_pretty_printer): Delete.
12138 (apply_frame_filter): Delete.
12139 (preserve_python_values): Delete.
12140 (gdbpy_script_language_defn): Delete.
12141 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
12142 (start_type_printers, apply_type_printers, free_type_printers): Delete.
12143
12144 * auto-load.c: #include "extension.h".
12145 (GDB_AUTO_FILE_NAME): Delete.
12146 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
12147 (script_language_gdb): Delete, moved to extension.c and renamed to
12148 extension_language_gdb.
12149 (source_gdb_script_for_objfile): Delete.
12150 (auto_load_pspace_info): New member unsupported_script_warning_printed.
12151 (loaded_script): Change type of language member to
12152 struct extension_language_defn *.
12153 (init_loaded_scripts_info): Initialize
12154 unsupported_script_warning_printed.
12155 (maybe_add_script): Make static. Change type of language arg to
12156 struct extension_language_defn *.
12157 (clear_section_scripts): Reset unsupported_script_warning_printed.
12158 (auto_load_objfile_script_1): Rewrite to use extension language API.
12159 (auto_load_objfile_script): Make public. Remove support-compiled-in
12160 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
12161 (source_section_scripts): Rewrite to use extension language API.
12162 (load_auto_scripts_for_objfile): Rewrite to use
12163 auto_load_scripts_for_objfile.
12164 (collect_matching_scripts_data): Change type of language member to
12165 struct extension_language_defn *.
12166 (auto_load_info_scripts): Change type of language arg to
12167 struct extension_language_defn *.
12168 (unsupported_script_warning_print): New function.
12169 (script_not_found_warning_print): Make static.
12170 (_initialize_auto_load): Rewrite construction of scripts-directory
12171 help.
12172 * auto-load.h (struct objfile): Add forward decl.
12173 (struct script_language): Delete.
12174 (struct auto_load_pspace_info): Add forward decl.
12175 (struct extension_language_defn): Add forward decl.
12176 (maybe_add_script): Delete.
12177 (auto_load_objfile_script): Declare.
12178 (script_not_found_warning_print): Delete.
12179 (auto_load_info_scripts): Update prototype.
12180 (auto_load_gdb_scripts_enabled): Declare.
12181 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
12182 auto_load_python_scripts_enabled and made public.
12183 (script_language_python): Delete, moved to python.c.
12184 (gdbpy_script_language_defn): Delete.
12185 (info_auto_load_python_scripts): Update to use
12186 extension_language_python.
12187
12188 * breakpoint.c (condition_command): Replace call to
12189 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
12190 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
12191 with call to breakpoint_ext_lang_cond_says_stop.
12192 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
12193 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
12194 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
12195 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
12196 New arg slang.
12197 (local_setattro): Print name of extension language with existing
12198 stop condition.
12199
12200 * valprint.c (val_print, value_print): Update to call
12201 apply_ext_lang_val_pretty_printer.
12202 * cp-valprint.c (cp_print_value): Update call to
12203 apply_ext_lang_val_pretty_printer.
12204 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
12205 (gdbpy_apply_val_pretty_printer): Renamed from
12206 apply_val_pretty_printer. New arg extlang.
12207 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
12208
12209 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
12210 extension language API.
12211 * cli/cli-script.c (execute_control_command): Update to call
12212 eval_ext_lang_from_control_command.
12213
12214 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
12215 enum ext_lang_bt_status values. Update call to
12216 apply_ext_lang_frame_filter.
12217 (mi_cmd_stack_list_locals): Ditto.
12218 (mi_cmd_stack_list_args): Ditto.
12219 (mi_cmd_stack_list_variables): Ditto.
12220 * mi/mi-main.c: Delete #include "python/python-internal.h".
12221 Add #include "extension.h".
12222 (mi_cmd_list_features): Replace reference to python internal variable
12223 gdb_python_initialized with call to ext_lang_initialized_p.
12224
12225 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
12226 Update to use enum ext_lang_frame_args. Update to call
12227 apply_ext_lang_frame_filter.
12228 * python/py-framefilter.c (extract_sym): Update to use enum
12229 ext_lang_bt_status.
12230 (extract_value, py_print_type, py_print_value): Ditto.
12231 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
12232 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
12233 (py_print_frame): Ditto.
12234 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
12235 New arg extlang. Update to use enum ext_lang_bt_status.
12236
12237 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
12238 finish_python_initialization. Replace with call to
12239 finish_ext_lang_initialization.
12240
12241 * typeprint.c (do_free_global_table): Update to call
12242 free_ext_lang_type_printers.
12243 (create_global_typedef_table): Update to call
12244 start_ext_lang_type_printers.
12245 (find_global_typedef): Update to call apply_ext_lang_type_printers.
12246 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
12247 (type_print_options): Change type of global_printers from "void *"
12248 to "struct ext_lang_type_printers *".
12249
12250 * value.c (preserve_values): Update to call preserve_ext_lang_values.
12251 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
12252 (gdbpy_preserve_values): Renamed from preserve_python_values.
12253 New arg extlang.
12254 (!HAVE_PYTHON, preserve_python_values): Delete.
12255
12256 * utils.c (quit_flag): Delete, moved to extension.c.
12257 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
12258 extension.c.
12259
12260 * eval.c: Delete #include "python/python.h".
12261 * main.c: Delete #include "python/python.h".
12262
12263 * defs.h: Update comment.
12264
6af79985
JB
122652014-02-06 Joel Brobecker <brobecker@adacore.com>
12266
12267 GDB 7.7 released.
12268
12c5175d
MK
122692014-02-05 Mark Kettenis <kettenis@gnu.org>
12270
12271 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
12272 defined.
12273
8dc5b319
YQ
122742014-02-05 Yao Qi <yao@codesourcery.com>
12275
12276 * remote.c (remote_pass_signals): Remove local 'buf' and use
12277 rs->buf.
12278 (remote_program_signals): Likewise.
12279
de7b2893
YQ
122802014-02-05 Yao Qi <yao@codesourcery.com>
12281
12282 * ctf.c: Include "inferior.h" and "gdbthread.h".
12283 (CTF_PID): A new macro.
12284 (ctf_open): Call inferior_appeared and add_thread_silent.
12285 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
12286 (ctf_thread_alive): New function.
12287 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
12288
66d032ac
YQ
122892014-02-05 Yao Qi <yao@codesourcery.com>
12290
12291 Revert this patch:
12292
12293 2013-05-24 Yao Qi <yao@codesourcery.com>
12294
12295 * tracepoint.c (TFILE_PID): Remove.
12296 (tfile_open): Don't add thread and inferior.
12297 (tfile_close): Don't set 'inferior_ptid'. Don't call
12298 exit_inferior_silent.
12299 (tfile_thread_alive): Remove.
12300 (init_tfile_ops): Don't set field 'to_thread_alive' of
12301 tfile_ops.
12302
f4ccffad
CE
123032014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
12304
12305 * remote.c (remote_start_remote): Call remote_check_symbols even
12306 if only symbol-file (not file) has been given.
12307
591a12a1
UW
123082014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12309
12310 * gdbarch.sh (skip_entrypoint): New callback.
12311 * gdbarch.c, gdbarch.h: Regenerate.
12312 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
12313 * infrun.c (fill_in_stop_func): Likewise.
12314 * ppc-linux-tdep.c: Include "elf/ppc64.h".
12315 (ppc_elfv2_elf_make_msymbol_special): New function.
12316 (ppc_elfv2_skip_entrypoint): Likewise.
12317 (ppc_linux_init_abi): Install them for ELFv2.
12318
cc0e89c5
UW
123192014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12320
12321 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
12322 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
12323 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
12324 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
12325 structures returned in GPRs.
12326
52f548e4
UW
123272014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12328
12329 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
12330 offset to the stack parameter list for the ELFv2 ABI.
12331
d4094b6a
UW
123322014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12333
12334 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
12335 set_gdbarch_convert_from_func_ptr_addr and
12336 set_gdbarch_elf_make_msymbol_special for ELFv1.
12337 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
12338 function descriptors on ELFv1.
12339 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
12340 set up r12 at function entry.
12341
cd453cd0
UW
123422014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12343
12344 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
12345 (struct gdbarch_tdep): New member elf_abi.
12346
12347 * rs6000-tdep.c: Include "elf/ppc64.h".
12348 (rs6000_gdbarch_init): Detect ELF ABI version.
12349
0ff3e01f
UW
123502014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12351
12352 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
12353 within a register pair holding a DFP 128-bit value on little-endian.
12354 (ppc64_sysv_abi_return_value_base): Likewise.
12355 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
12356 (dfp_pseudo_register_write): Likewise.
12357
5b757e5d
UW
123582014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12359
12360 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
12361 offset on little-endian when passing _Decimal32.
12362 (ppc64_sysv_abi_return_value_base): Likewise for return values.
12363
084ee545
UW
123642014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12365
12366 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
12367 of the overlapped FP register within the VSX register on little-
12368 endian platforms.
12369 (efpr_pseudo_register_write): Likewise.
12370
d63167af
UW
123712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12372
12373 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
12374 offset on little-endian when passing small structures.
12375
e765b44c
UW
123762014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12377
12378 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
12379 (struct ppc64_sysv_argpos): New data structure.
12380 (ppc64_sysv_abi_push_float): Remove.
12381 (ppc64_sysv_abi_push_val): New function.
12382 (ppc64_sysv_abi_push_integer): Likewise.
12383 (ppc64_sysv_abi_push_freg): Likewise.
12384 (ppc64_sysv_abi_push_vreg): Likewise.
12385 (ppc64_sysv_abi_push_param): Likewise.
12386 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
12387 (ppc64_sysv_abi_return_value_base): New function.
12388 (ppc64_sysv_abi_return_value): Refactor to use it.
12389
36c24d95
UW
123902014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
12391
12392 * NEWS: Document new target powerpc64le-*-linux*.
12393
26fd9228
MK
123942014-02-04 Mark Kettenis <kettenis@gnu.org>
12395
12396 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
12397 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
12398 core dumps.
12399 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
12400 register set used in ELF core dumps. Add floating-point register set.
12401
c5bb7362
KB
124022014-02-03 Kevin Buettner <kevinb@redhat.com>
12403
74228e77 12404 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
12405 dwarf2_to_gdb[] table using symbolic constants. Adjust
12406 penultimate entry from number representing the PC register
12407 to symbolic constant representing the MDR register. Add
12408 constant for the PC register to the end of the table.
12409
af09351e
MK
124102014-02-03 Mark Kettenis <kettenis@gnu.org>
12411
12412 * bsd-kvm.c: Include <sys/param.h>
12413
8507e05d
MK
124142014-02-03 Mark Kettenis <kettenis@gnu.org>
12415
12416 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
12417
ae56bfb8
JB
124182014-01-31 Joel Brobecker <brobecker@adacore.com>
12419
12420 * ada-lang.h (clear_ada_sym_cache): Delete.
12421
718ee4dc
UW
124222014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
12423
12424 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
12425
401e27fd
JM
124262014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
12427
12428 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
12429 the sigreturn register save area only if the syscall is
12430 sigreturn.
12431
a7c88acd
JB
124322014-01-29 Joel Brobecker <brobecker@adacore.com>
12433
12434 * valops.c (value_slice): Minor reformatting.
12435
fa0079ea
UW
124362014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
12437
12438 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
12439
c6044dd1
JB
124402014-01-28 Joel Brobecker <brobecker@adacore.com>
12441
12442 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
12443 New static globals.
12444 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
12445 (ada_ignore_descriptive_types_p): New static global.
12446 (find_parallel_type_by_descriptive_type): Return immediately
12447 if ada_ignore_descriptive_types_p is set.
12448 (_initialize_ada_language): Register new commands "maintenance
12449 set ada", "maintenance show ada", "maintenance set ada
12450 ignore-descriptive-types" and "maintenance show ada
12451 ignore-descriptive-types".
12452 * NEWS: Add entry for new "maint ada set/show
12453 ignore-descriptive-types" commands.
12454
568e808b
MM
124552014-01-27 Markus Metzger <markus.t.metzger@intel.com>
12456
12457 * record-btrace.c (record_btrace_close): Call btrace_teardown
12458 for all threads.
12459
467d141b
JB
124602014-01-27 Joel Brobecker <brobecker@adacore.com>
12461
12462 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
12463 "ui-out.h".
12464
fb151210
JB
124652014-01-27 Joel Brobecker <brobecker@adacore.com>
12466
12467 * ada-typeprint (type_is_full_subrange_of_target_type):
12468 New function.
12469 (print_range): Add parameter bounds_prefered_p. If not set,
12470 try printing range types using the name of their base type.
12471 (print_range_type): Add parameter bounds_prefered_p.
12472 Use it in call to print_range.
12473 (print_array_type, ada_print_type): Update calls to print_range
12474 and print_range_type.
12475
aba02109
JB
124762014-01-27 Joel Brobecker <brobecker@adacore.com>
12477
12478 * ada-typeprint.c (print_array_type, print_choices, print_range)
12479 (print_range_bound, print_dynamic_range_bound, print_range_type):
12480 Remove declaration.
12481
e62e21fd
JB
124822014-01-27 Joel Brobecker <brobecker@adacore.com>
12483
12484 * ada-typeprint.c (print_range): Add missing empty line
12485 after local declaration.
12486
859cf5d1
JB
124872014-01-27 Joel Brobecker <brobecker@adacore.com>
12488
12489 * ada-valprint.c (print_optional_low_bound): Get index_type's
12490 target type for as long as it is a TYPE_CODE_RANGE.
12491
25790f6f
JB
124922014-01-27 Joel Brobecker <brobecker@adacore.com>
12493
12494 * procfs.c (procfs_make_note_section): Remove assertion and
12495 associated comment.
12496
6b6aa828
YQ
124972014-01-24 Yao Qi <yao@codesourcery.com>
12498
12499 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
12500 * corelow.c (get_core_siginfo): Likewise.
12501
5d6df423
YQ
125022014-01-24 Yao Qi <yao@codesourcery.com>
12503
12504 * remote.c (remote_write_bytes_aux): Change type of 'len' to
12505 ULONGEST. Don't check 'len' is negative.
12506 (remote_write_bytes): Change type of 'len' to ULONGEST.
12507
83b645b8
TT
125082014-01-23 Tom Tromey <tromey@redhat.com>
12509
12510 PR python/16485:
12511 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
12512 Handle exception from frame.block.
12513 (FrameVars.fetch_frame_locals): Likewise.
12514
0740f8d8
TT
125152014-01-23 Tom Tromey <tromey@redhat.com>
12516
12517 PR python/16487:
12518 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
12519 on a NULL pointer. Move "goto error" to correct place.
12520
21909fa1
TT
125212014-01-23 Tom Tromey <tromey@redhat.com>
12522
12523 PR python/16491:
12524 * python/py-framefilter.c (apply_frame_filter): Call
12525 ensure_python_env after computing gdbarch.
12526
17fde6d0
YQ
125272014-01-23 Yao Qi <yao@codesourcery.com>
12528
12529 * target.c (raw_memory_xfer_partial): Change argument type
12530 from void * to gdb_byte *.
12531 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
12532
87ce2a04
DE
125332014-01-22 Doug Evans <dje@google.com>
12534
12535 New gdbserver option --debug-format=timestamp.
12536 * NEWS: Mention it.
12537
237b092b
AA
125382014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12539
12540 * syscalls/s390x-linux.xml: New file.
12541 * syscalls/s390-linux.xml: New file.
12542 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
12543 (XML_SYSCALL_FILENAME_S390X): Likewise.
12544 (op_svc): New enum value for SVC opcode.
12545 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
12546 (s390_linux_get_syscall_number): New function.
12547 (s390_gdbarch_init): Register '*get_syscall_number' and the
12548 syscall xml file name.
12549 * data-directory/Makefile.in (SYSCALLS_FILES): Add
12550 "s390-linux.xml" and "s390x-linux.xml".
12551 * NEWS: Announce new feature.
12552
54bff650
BS
125532014-01-22 Baruch Siach <baruch@tkos.co.il>
12554
12555 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
12556
14e361d7
PA
125572014-01-22 Pedro Alves <palves@redhat.com>
12558
12559 * xtensa-config.c: Include defs.h.
12560
46bbb3ed
JB
125612014-01-22 Joel Brobecker <brobecker@adacore.com>
12562
12563 * common/common-utils.h: Add "ARI:" comment beside __func__
12564 reference.
12565
3a80edfc
JB
125662014-01-22 Joel Brobecker <brobecker@adacore.com>
12567
12568 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
12569 documentation a bit.
12570
4869db5e
RM
125712014-01-21 Roland McGrath <mcgrathr@google.com>
12572
12573 * configure.ac: Call AM_PROG_INSTALL_STRIP.
12574 * configure: Regenerate.
12575 * aclocal.m4: Regenerate.
12576 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
12577 New substituted variables.
12578 (install-strip): New target.
12579 (INSTALL_SCRIPT): New substituted variable.
12580 (FLAGS_TO_PASS): Add it.
12581 (install-only): Use $(INSTALL_SCRIPT) rather than
12582 $(INSTALL_PROGRAM) for gcore.
12583
9ea4267d
TT
125842014-01-20 Tom Tromey <tromey@redhat.com>
12585
12586 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
12587 together.
12588
1f2bdf09
TT
125892014-01-20 Tom Tromey <tromey@redhat.com>
12590
12591 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
12592 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
12593 (deprecated_cmd_warning, complete_on_cmdlist): Update.
12594 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
12595 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
12596 (struct cmd_list_element) <flags>: Remove.
12597 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
12598 doc_allocated>: New fields.
12599 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
12600 bitfields.
12601 * maint.c (maintenance_do_deprecate): Update.
12602 * top.c (execute_command): Update.
12603
e671835b
BS
126042014-01-20 Baruch Siach <baruch@tkos.co.il>
12605
12606 * xtensa-linux-nat.c: Include asm/ptrace.h.
12607
50367cd2
IB
126082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12609
12610 * Makefile.in (SFILES): Add d-support.c.
12611 (COMMON_OBS): Add d-support.o.
12612 * d-lang.h (d_parse_symbol): Add comment, now defined in
12613 d-support.c.
12614 * d-lang.c (parse_call_convention)
12615 (parse_attributes, parse_function_types)
12616 (parse_function_args, parse_type, parse_identifier)
12617 (call_convention_p, d_parse_symbol): Move functions to ...
12618 * d-support.c: ... New file.
12619
ec9f644a
IB
126202014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12621
12622 * d-lang.h (d_parse_symbol): Add declaration.
12623 * d-lang.c (extract_identifiers)
12624 (extract_type_info): Remove functions.
12625 (parse_call_convention, parse_attributes)
12626 (parse_function_types, parse_function_args)
12627 (parse_type, parse_identifier, call_convention_p)
12628 (d_parse_symbol): New functions.
12629 (d_demangle): Use d_parse_symbol to demangle D symbols.
12630
94b1b47e
IB
126312014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12632
12633 * d-lang.h (struct builtin_d_type): New data type.
12634 (builtin_d_type): Add declaration.
12635 * d-lang.c (d_language_arch_info, build_d_types)
12636 (builtin_d_type): New functions.
12637 (enum d_primitive_types): New data type.
12638 (d_language_defn): Change c_language_arch_info to
12639 d_language_arch_info.
12640 (d_type_data): New static variable.
12641 (_initialize_d_language): Initialize d_type_data.
12642
63778547
IB
126432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12644
12645 * d-lang.h (d_main_name): Add declaration.
12646 * d-lang.c (d_main_name): New function.
12647 * symtab.c (find_main_name): Add call to d_main_name.
12648
3271ba66
IB
126492014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12650
12651 * d-lang.c (d_language_defn): Change macro_expansion_c to
12652 macro_expansion_no.
12653
d36b3012
IB
126542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12655
12656 * MAINTAINERS: Add myself as a write-after-approval maintainer.
12657
c90a6fb7
SDJ
126582014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
12659
12660 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
12661 gdb_exception" declaration.
12662 * remote.c (getpkt_or_notif_sane): Likewise.
12663
749234e5
DE
126642014-01-17 Doug Evans <dje@google.com>
12665
12666 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
12667 function, contents of dirnames_to_char_ptr_vec_append moved here.
12668 (delim_string_to_char_ptr_vec): New function.
12669 (dirnames_to_char_ptr_vec_append): Rewrite.
12670 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
12671
df049a58
DE
126722014-01-17 Doug Evans <dje@google.com>
12673
12674 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
12675 and moved here ...
12676 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
12677 #include "common-utils.h".
12678 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
12679 * common/vec.h (VEC_ASSERT_PASS): Update.
12680 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
12681 (MACH_CHECK_ERROR): Update.
12682
69f97648
SM
126832014-01-17 Simon Marchi <simon.marchi@ericsson.com>
12684
12685 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
12686 comments.
12687 * gdbarch.h: Regenerate.
12688
98b1cfdc
TT
126892014-01-16 Tom Tromey <tromey@redhat.com>
12690
12691 * value.c (struct value) <regnum>: Move earlier.
12692
77a19445
TT
126932014-01-16 Tom Tromey <tromey@redhat.com>
12694
12695 * remote.c (extended_remote_create_inferior): Rename from
12696 extended_remote_create_inferior_1. Add "ops" argument. Remove
12697 old implementation.
12698
62261490
PA
126992014-01-16 Pedro Alves <palves@redhat.com>
12700
12701 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
12702 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
12703 the backchain.
12704
4d65956b
DE
127052014-01-16 Doug Evans <dje@google.com>
12706
12707 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
12708
52834460
MM
127092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12710
12711 * btrace.h (btrace_thread_flag): New.
12712 (struct btrace_thread_info) <flags>: New.
12713 * record-btrace.c (record_btrace_resume_thread)
12714 (record_btrace_find_thread_to_move, btrace_step_no_history)
12715 (btrace_step_stopped, record_btrace_start_replaying)
12716 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
12717 (record_btrace_find_resume_thread): New.
12718 (record_btrace_resume, record_btrace_wait): Extend.
12719 (record_btrace_can_execute_reverse): New.
12720 (record_btrace_open): Fail in non-stop mode.
12721 (record_btrace_set_replay): Split into this, ...
12722 (record_btrace_stop_replaying): ... this, ...
12723 (record_btrace_clear_histories): ... and this.
12724 (init_record_btrace_ops): Init to_can_execute_reverse.
12725 * NEWS: Announce it.
12726
118e6252
MM
127272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12728
12729 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
12730 (forward_target_decr_pc_after_break)
12731 (target_decr_pc_after_break): New.
12732 * target.c (forward_target_decr_pc_after_break)
12733 (target_decr_pc_after_break): New.
12734 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
12735 instead of gdbarch_decr_pc_after_break.
12736 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
12737 instead of gdbarch_decr_pc_after_break.
12738 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
12739 instead of gdbarch_decr_pc_after_break.
12740 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
12741 instead of gdbarch_decr_pc_after_break.
12742 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
12743 instead of gdbarch_decr_pc_after_break.
12744 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
12745 instead of gdbarch_decr_pc_after_break.
12746
6e07b1d2
MM
127472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12748
12749 * btrace.c: Include regcache.h.
12750 (btrace_add_pc): New.
12751 (btrace_enable): Call btrace_add_pc.
12752 (btrace_is_empty): New.
12753 * btrace.h (btrace_is_empty): New.
12754 * record-btrace.c (require_btrace, record_btrace_info): Call
12755 btrace_is_empty.
12756
969c39fb
MM
127572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12758
12759 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
12760 Support delta reads.
12761 (linux_disable_btrace): Change return type.
12762 * common/linux-btrace.h (linux_read_btrace): Change parameters
12763 and return type to allow error reporting. Update users.
12764 (linux_disable_btrace): Change return type. Update users.
12765 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
12766 New.
12767 (btrace_error): New.
12768 (btrace_block) <begin>: Comment on BEGIN == 0.
12769 * btrace.c (btrace_compute_ftrace): Start from the end of
12770 the current trace.
12771 (btrace_stitch_trace, btrace_clear_history): New.
12772 (btrace_fetch): Read delta trace, return if replaying.
12773 (btrace_clear): Move clear history code to btrace_clear_history.
12774 (parse_xml_btrace): Throw an error if parsing failed.
12775 * target.h (struct target_ops) <to_read_btrace>: Change parameters
12776 and return type to allow error reporting.
12777 (target_read_btrace): Change parameters and return type to allow
12778 error reporting.
12779 * target.c (target_read_btrace): Update.
12780 * remote.c (remote_read_btrace): Support delta reads. Pass
12781 errors on.
12782 * NEWS: Announce it.
12783
0b722aec
MM
127842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12785
12786 * record.h (record_btrace_frame_unwind)
12787 (record_btrace_tailcall_frame_unwind): New declarations.
12788 * dwarf2-frame: Include record.h
12789 (dwarf2_frame_cfa): Throw an error for btrace frames.
12790 * record-btrace.c: Include hashtab.h.
12791 (btrace_get_bfun_name): New.
12792 (btrace_call_history): Call btrace_get_bfun_name.
12793 (struct btrace_frame_cache): New.
12794 (bfcache): New.
12795 (bfcache_hash, bfcache_eq, bfcache_new): New.
12796 (btrace_get_frame_function): New.
12797 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
12798 (record_btrace_frame_this_id): Compute own id.
12799 (record_btrace_frame_prev_register): Provide PC, throw_error
12800 for all other registers.
12801 (record_btrace_frame_sniffer): Detect btrace frames.
12802 (record_btrace_tailcall_frame_sniffer): New.
12803 (record_btrace_frame_dealloc_cache): New.
12804 (record_btrace_frame_unwind): Add new functions.
12805 (record_btrace_tailcall_frame_unwind): New.
12806 (_initialize_record_btrace): Allocate cache.
12807 * btrace.c (btrace_clear): Call reinit_frame_cache.
12808 * NEWS: Announce it.
12809
066ce621
MM
128102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12811
12812 * record-btrace.c (record_btrace_set_replay)
12813 (record_btrace_goto_begin, record_btrace_goto_end)
12814 (record_btrace_goto): New.
12815 (init_record_btrace_ops): Initialize them.
12816 * NEWS: Announce it.
12817
e2887aa3
MM
128182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12819
12820 * record-btrace.c (record_btrace_find_new_threads)
12821 (record_btrace_thread_alive): New.
12822 (init_record_btrace_ops): Initialize to_find_new_threads and
12823 to_thread_alive.
12824
b2f4cfde
MM
128252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12826
12827 * record-btrace.c (record_btrace_resume): New.
12828 (record_btrace_wait): New.
12829 (init_record_btrace_ops): Initialize to_wait and to_resume.
12830
633785ff
MM
128312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12832
12833 * record-btrace.c (record_btrace_xfer_partial)
12834 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
12835 (record_btrace_allow_memory_access): New.
12836 (init_record_btrace_ops): Initialize new methods.
12837 * target.c (raw_memory_xfer_partial): Bail out if target reports
12838 that this memory is not available.
12839
3db08215
MM
128402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12841
12842 * target.h (target_ops) <to_insert_breakpoint>
12843 <to_remove_breakpoint>: Add target_ops parameter.
12844 (forward_target_insert_breakpoint): New.
12845 (forward_target_remove_breakpoint): New.
12846 (memory_remove_breakpoint, memory_insert_breakpoint):
12847 Add target_ops parameter.
12848 * target.c (target_insert_breakpoint): Split into this and ...
12849 (forward_target_insert_breakpoint): ... this.
12850 (target_remove_breakpoint): Split into this and ...
12851 (forward_target_remove_breakpoint): ... this.
12852 (debug_to_insert_breakpoint): Add target_ops parameter.
12853 Call forward_target_insert_breakpoint.
12854 (debug_to_remove_breakpoint): Add target_ops parameter.
12855 Call forward_target_remove_breakpoint.
12856 (update_current_target): Do not inherit or default to_insert_breakpoint
12857 and to_remove_breakpoint.
12858 * corelow.c (ignore): Add target_ops parameter.
12859 * exec.c (ignore): Add target_ops parameter.
12860 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
12861 Add target_ops parameter.
12862 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
12863 Add target_ops parameter.
12864 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
12865 Add target_ops parameter.
12866 * record-full.c (record_full_beneath_to_insert_breakpoint)
12867 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
12868 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
12869 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
12870 (record_full_core_remove_breakpoint): Add target_ops parameter.
12871 Update users.
12872 (record_full_beneath_to_insert_breakpoint_ops)
12873 (record_full_beneath_to_remove_breakpoint_ops)
12874 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
12875 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
12876 tmp_to_remove_breakpoint_ops,
12877 record_full_beneath_to_insert_breakpoint_ops, and
12878 record_full_beneath_to_remove_breakpoint_ops.
12879 * remote-m32r-sdi.c (m32r_insert_breakpoint)
12880 (m32r_remove_breakpoint): Add target_ops parameter.
12881 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
12882 Add target_ops parameter.
12883 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
12884 Add target_ops parameter.
12885
cecac1ab
MM
128862014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12887 Markus Metzger <markus.t.metzger@intel.com>
12888
12889 * record-btrace.c: Include frame-unwind.h.
12890 (record_btrace_frame_unwind_stop_reason)
12891 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
12892 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
12893 New.
12894 (init_record_btrace_ops): Install it.
12895
824344ca
MM
128962014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12897
12898 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
12899 get_prev_frame_1.
12900
32261e52
MM
129012014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12902
12903 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
12904 earlier.
12905
ea001bdc
MM
129062014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12907
12908 * frame-unwind.c: Include target.h.
12909 (frame_unwind_try_unwinder): New function with code from ...
12910 (frame_unwind_find_by_frame): ... here. New variable
12911 unwinder_from_target, call also target_get_unwinder)
12912 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
12913 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
12914 * target.h (struct target_ops): New fields to_get_unwinder and
12915 to_get_tailcall_unwinder.
12916 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
12917
1f3ef581
MM
129182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12919
12920 * record-btrace.c (record_btrace_fetch_registers)
12921 (record_btrace_store_registers)
12922 (record_btrace_to_prepare_to_store): New.
12923 (init_record_btrace_ops): Add the above.
12924
f32dbf8c
MM
129252014-01-16 Tom Tromey <tromey@redhat.com>
12926
12927 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
12928 * target.h (struct target_ops) <to_prepare_to_store>: Add
12929 argument.
12930 (target_prepare_to_store): Add argument.
12931 * target.c (debug_to_prepare_to_store): Add argument.
12932 (update_current_target): Update.
12933 * remote.c (remote_prepare_to_store): Add 'self' argument.
12934 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
12935 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
12936 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
12937 * record-full.c (record_full_core_prepare_to_store): Add 'self'
12938 argument.
12939 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
12940 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
12941 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
12942 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
12943 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
12944
07bbe694
MM
129452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12946
12947 * btrace.h (replay) <replay>: New.
12948 (btrace_is_replaying): New.
12949 * btrace.c (btrace_clear): Free replay iterator.
12950 (btrace_is_replaying): New.
12951 * record-btrace.c (record_btrace_is_replaying): New.
12952 (record_btrace_info): Print insn number if replaying.
12953 (record_btrace_insn_history): Start at replay position.
12954 (record_btrace_call_history): Start at replay position.
12955 (init_record_btrace_ops): Init to_record_is_replaying.
12956
0688d04e
MM
129572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12958
12959 * record-btrace.c (record_btrace_insn_history_range): Include
12960 end.
12961 (record_btrace_insn_history_from): Adjust range.
12962 (record_btrace_call_history_range): Include
12963 end.
12964 (record_btrace_call_history_from): Adjust range.
12965 * NEWS: Announce changes.
12966
8710b709
MM
129672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12968
12969 * record.h (enum record_print_flag)
12970 <record_print_indent_calls>: New.
12971 * record.c (get_call_history_modifiers): Recognize /c modifier.
12972 (_initialize_record): Document /c modifier.
12973 * record-btrace.c (btrace_call_history): Add btinfo parameter.
12974 Reorder fields. Optionally indent the function name. Update
12975 all users.
12976 * NEWS: Announce changes.
12977
d0fa7535
MM
129782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12979
12980 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
12981
5de9129b
MM
129822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12983
12984 * btrace.c (ftrace_new_function): Start counting at one.
12985 * record-btrace.c (record_btrace_info): Adjust number of calls
12986 and insns.
12987 * NEWS: Announce it.
12988
7acbe133
MM
129892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12990
12991 * record-btrace.c (btrace_call_history_insn_range): Print
12992 insn range as [begin, end].
12993
23a7fe75
MM
129942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12995
12996 * btrace.h (struct btrace_func_link): New.
12997 (enum btrace_function_flag): New.
12998 (struct btrace_inst): Rename to ...
12999 (struct btrace_insn): ...this. Update all users.
13000 (struct btrace_func) <ibegin, iend>: Remove.
13001 (struct btrace_func_link): New.
13002 (struct btrace_func): Rename to ...
13003 (struct btrace_function): ...this. Update all users.
13004 (struct btrace_function) <segment, flow, up, insn, insn_offset)
13005 (number, level, flags>: New.
13006 (struct btrace_insn_iterator): Rename to ...
13007 (struct btrace_insn_history): ...this.
13008 Update all users.
13009 (struct btrace_insn_iterator, btrace_call_iterator): New.
13010 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
13011 (struct btrace_target_info) <begin, end, level>
13012 <insn_history, call_history>: New.
13013 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13014 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13015 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13016 (btrace_call_number, btrace_call_begin, btrace_call_end)
13017 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13018 (btrace_find_function_by_number, btrace_set_insn_history)
13019 (btrace_set_call_history): New.
13020 * btrace.c (btrace_init_insn_iterator)
13021 (btrace_init_func_iterator, compute_itrace): Remove.
13022 (ftrace_print_function_name, ftrace_print_filename)
13023 (ftrace_skip_file): Change
13024 parameter to const.
13025 (ftrace_init_func): Remove.
13026 (ftrace_debug): Use new btrace_function fields.
13027 (ftrace_function_switched): Also consider gaining and
13028 losing symbol information).
13029 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
13030 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
13031 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
13032 New.
13033 (ftrace_new_function): Move. Remove debug print.
13034 (ftrace_update_lines, ftrace_update_insns): New.
13035 (ftrace_update_function): Check for call, ret, and jump.
13036 (compute_ftrace): Renamed to ...
13037 (btrace_compute_ftrace): ...this. Rewritten to compute call
13038 stack.
13039 (btrace_fetch, btrace_clear): Updated.
13040 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13041 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13042 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13043 (btrace_call_number, btrace_call_begin, btrace_call_end)
13044 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13045 (btrace_find_function_by_number, btrace_set_insn_history)
13046 (btrace_set_call_history): New.
13047 * record-btrace.c (require_btrace): Use new btrace thread
13048 info fields.
13049 (record_btrace_info, btrace_insn_history)
13050 (record_btrace_insn_history, record_btrace_insn_history_range):
13051 Use new btrace thread info fields and new iterator.
13052 (btrace_func_history_src_line): Rename to ...
13053 (btrace_call_history_src_line): ...this. Use new btrace
13054 thread info fields.
13055 (btrace_func_history): Rename to ...
13056 (btrace_call_history): ...this. Use new btrace thread info
13057 fields and new iterator.
13058 (record_btrace_call_history, record_btrace_call_history_range):
13059 Use new btrace thread info fields and new iterator.
13060
8372a7cb
MM
130612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13062
13063 * frame.h (frame_id_build_unavailable_stack_special): New.
13064 * frame.c (frame_id_build_unavailable_stack_special): New.
13065
c2170eef
MM
130662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13067
13068 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
13069 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
13070 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
13071 to gdbarch.
13072 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
13073 (i386_insn_is_jump, i386_jmp_p): New.
13074 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
13075 insn_is_jump to gdbarch.
13076 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
13077 * gdbarch.h: Regenerated.
13078 * gdbarch.c: Regenerated.
13079 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
13080 (default_insn_is_jump): New.
13081 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
13082 (default_insn_is_jump): New.
13083
864089d2
MM
130842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13085
13086 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
13087 Change to ...
13088 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
13089 (btrace_read_type) <btrace_read_new>: Change to ...
13090 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
13091
ed9edfb5
MM
130922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13093
13094 * common/linux-btrace.c (linux_read_btrace): Free trace from
13095 previous iteration.
13096
fbcbc3fd
DE
130972014-01-15 Doug Evans <dje@google.com>
13098
13099 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
13100 uint32_t.
13101
3d548a53
TT
131022014-01-15 Tom Tromey <tromey@redhat.com>
13103
13104 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
13105 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
13106 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
13107 (set_objfile_main_name): New function.
13108 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
13109 language_of_main>: New fields.
13110 (set_objfile_main_name): Declare.
13111 * symtab.c (find_main_name): Loop over objfiles to find the main
13112 name and language.
13113 (set_main_name): Now static.
13114 (get_main_info): Add comment.
13115 * symtab.h (set_main_name): Don't declare.
13116
32ac0d11
TT
131172014-01-15 Tom Tromey <tromey@redhat.com>
13118
13119 * symtab.c (main_progspace_key): New global.
13120 (struct main_info): New.
13121 (name_of_main, language_of_main): Remove.
13122 (get_main_info, main_info_cleanup): New function.
13123 (set_main_name, main_name, main_language): Use get_main_info.
13124 (_initialize_symtab): Initialize main_progspace_key.
13125
9e6c82ad
TT
131262014-01-15 Tom Tromey <tromey@redhat.com>
13127
13128 * dbxread.c (process_one_symbol): Update.
13129 * dwarf2read.c (read_partial_die): Update.
13130 * symfile.c (set_initial_language): Call main_language.
13131 * symtab.c (language_of_main): Now static.
13132 (set_main_name): Add 'lang' parameter.
13133 (find_main_name): Update.
13134 (main_language): New function.
13135 (symtab_observer_executable_changed): Update.
13136 * symtab.h (set_main_name): Update.
13137 (language_of_main): Remove.
13138 (main_language): Declare.
13139
6ef55de7
TT
131402014-01-15 Tom Tromey <tromey@redhat.com>
13141
13142 * symfile.c (init_entry_point_info): Use new "initialized" field.
13143 Update.
13144 * objfiles.h (struct entry_point) <initialized>: New field.
13145 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
13146 (struct objfile) <ei>: ...here. Remove.
13147 * objfiles.c (entry_point_address_query): Update.
13148
53eddfa6
TT
131492014-01-15 Tom Tromey <tromey@redhat.com>
13150
13151 * objfiles.c (entry_point_address_query): Relocate entry point
13152 address.
13153 (objfile_relocate1): Do not relocate entry point address.
13154 * objfiles.h (struct entry_info) <entry_point>: Update comment.
13155 <the_bfd_section_index>: New field.
13156 * symfile.c (init_entry_point_info): Find the entry point's
13157 section.
13158
d56e56aa
TT
131592014-01-15 Tom Tromey <tromey@redhat.com>
13160
13161 * solib-frv.c (enable_break): Use entry_point_address_query.
13162
33a97bbe
OJ
131632014-01-15 Omair Javaid <omair.javaid@linaro.org>
13164
13165 * NEWS: Add note on improved process record-replay on
13166 arm*-linux* targets.
13167
c6ec2b30
OJ
131682014-01-15 Omair Javaid <omair.javaid@linaro.org>
13169
13170 * arm-tdep.c (enum arm_record_result): New enum.
13171 (arm_record_unsupported_insn): New function.
13172 (arm_record_coproc_data_proc): Removed.
13173 (thumb2_record_ld_st_multiple): New function.
13174 (thumb2_record_ld_st_dual_ex_tbb): New function.
13175 (thumb2_record_data_proc_sreg_mimm): New function.
13176 (thumb2_record_ps_dest_generic): New function.
13177 (thumb2_record_branch_misc_cntrl): New function.
13178 (thumb2_record_str_single_data): New function.
13179 (thumb2_record_ld_mem_hints): New function.
13180 (thumb2_record_ld_word): New function.
13181 (thumb2_record_lmul_lmla_div): New function.
13182 (thumb2_record_decode_insn_handler): New function.
13183 (decode_insn): Add thumb32 instruction handlers.
13184
97dfe206
OJ
131852014-01-15 Omair Javaid <omair.javaid@linaro.org>
13186
13187 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
13188 (struct arm_linux_record_tdep): Declare.
13189 (arm_canonicalize_syscall): New function.
13190 (arm_all_but_pc_registers_record): New function.
13191 (arm_linux_syscall_record): New function.
13192 (arm_linux_init_abi): Add syscall recording constructs.
13193 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
13194 decoding. (arm_record_coproc_data_proc): Update arm syscall
13195 decoding.
13196 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
13197 <arm_syscall_record>: New field.
13198 * configure.tgt (arm*-*-linux*): Add linux-record.o to
13199 gdb_target_obs.
13200
9904a494
OJ
132012014-01-15 Omair Javaid <omair.javaid@linaro.org>
13202
13203 * arm-tdep.c (thumb_record_misc): Update to use sp as base
13204 register for push instruction recording.
13205
f969241e
OJ
132062014-01-15 Omair Javaid <omair.javaid@linaro.org>
13207
13208 * arm-tdep.c (thumb_record_misc): Update to correct logical
13209 error while recording ldm, ldmia and pop instructions.
13210
bfbbec00
OJ
132112014-01-15 Omair Javaid <omair.javaid@linaro.org>
13212
13213 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
13214
e40adcc9
PA
132152014-01-15 Pedro Alves <palves@redhat.com>
13216
13217 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
13218 (go32_resume, go32_fetch_registers, store_register)
13219 (go32_store_registers, go32_prepare_to_store)
13220 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
13221 (go32_create_inferior, go32_can_run, go32_terminal_init)
13222 (go32_terminal_inferior, go32_terminal_ours): Delete forward
13223 declarations.
13224
b0a16e66
TT
132252014-01-15 Tom Tromey <tromey@redhat.com>
13226
13227 * target.h (async_callback_ftype): New typedef.
13228 (struct target_ops) <to_async>: Use it.
13229
bf7105a4
JB
132302014-01-15 Joel Brobecker <brobecker@adacore.com>
13231
13232 * python/py-value.c (get_field_type): Remove unnecessary curly
13233 braces for single-statement if block.
13234
a8f35c2e
JB
132352014-01-15 Joel Brobecker <brobecker@adacore.com>
13236
13237 * python/py-type.c (convert_field): Add missing empty line
13238 after declarations.
13239
bb4142cf
DE
132402014-01-14 Doug Evans <dje@google.com>
13241
13242 * symfile.h (expand_symtabs_matching): Renamed from
13243 expand_partial_symbol_names. Update prototype.
13244 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
13245 * symfile.c (expand_symtabs_matching): Renamed from
13246 expand_partial_symbol_names. New args file_matcher, kind.
13247 Rename arg fun to symbol_matcher.
13248 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
13249 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
13250 ada_expand_partial_symbol_name.
13251 (ada_make_symbol_completion_list): Update to call
13252 expand_symtabs_matching.
13253 (ada_add_global_exceptions): Call expand_symtabs_matching.
13254 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
13255 call map_symbol_filenames.
13256 * symtab.c (sources_info): Update to call map_symbol_filenames.
13257 (search_symbols): Call expand_symtabs_matching.
13258 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
13259 (default_make_symbol_completion_list_break_on): Update to call
13260 expand_symtabs_matching.
13261 (make_source_files_completion_list): Update to call
13262 map_symbol_filenames.
13263
206f2a57
DE
132642014-01-14 Doug Evans <dje@google.com>
13265
13266 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
13267 (expand_symtabs_symbol_matcher_ftype): New typedef.
13268 (quick_symbol_functions.expand_symtabs_matching): Update to use.
13269 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13270 * symfile.c (expand_partial_symbol_names): Update to use
13271 expand_symtabs_symbol_matcher_ftype.
13272 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
13273 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13274 Arg name_matcher renamed to symbol_matcher.
13275 * psymtab.c (recursively_search_psymtabs): Update to use
13276 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
13277 sym_matcher.
13278 (expand_symtabs_matching_via_partial): Update to use
13279 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
13280 Arg name_matcher renamed to symbol_matcher.
13281
540c2971
DE
132822014-01-14 Doug Evans <dje@google.com>
13283
13284 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
13285 (map_partial_symbol_filenames): Ditto.
13286 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
13287 (map_partial_symbol_filenames): Ditto.
13288 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
13289 (map_partial_symbol_filenames): Ditto.
13290 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
13291 (map_partial_symbol_filenames): Ditto.
13292 * symtab.c: Delete #include "psymtab.h".
13293
8213266a
PA
132942014-01-14 Pedro Alves <palves@redhat.com>
13295 Tom Tromey <tromey@redhat.com>
13296
13297 * infrun.c (use_displaced_stepping): Use find_record_target
13298 instead of RECORD_IS_USED.
13299 (adjust_pc_after_break): Use record_full_is_used instead of
13300 RECORD_IS_USED.
13301 * record-btrace.c (record_btrace_open): Call record_preopen
13302 instead of checking RECORD_IS_USED.
13303 * record-full.c (record_full_shortname)
13304 (record_full_core_shortname): New globals.
13305 (record_full_is_used): New function.
13306 (find_full_open): Call record_preopen instead of checking
13307 RECORD_IS_USED.
13308 (init_record_full_ops): Set the target's shortname to
13309 record_full_shortname.
13310 (init_record_full_core_ops): Set the target's shortname to
13311 record_full_core_shortname.
13312 * record-full.h (record_full_is_used): Declare.
13313 * record.c (find_record_target): Make extern.
13314 (record_preopen): New function.
13315 * record.h (RECORD_IS_USED): Delete macro.
13316 (find_record_target, record_preopen): Declare functions.
13317
7ec1862d
YQ
133182014-01-14 Yao Qi <yao@codesourcery.com>
13319
13320 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
13321 'len''s type to ULONGEST.
13322 (core_xfer_shared_libraries_aix): Likewise.
13323 * gdbarch.c, gdbarch.h: Regenerated.
13324 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
13325 Change type of 'len' to ULONGEST.
13326 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13327 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
13328
dea80a27
YQ
133292014-01-14 Yao Qi <yao@codesourcery.com>
13330
13331 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
13332 type of 'len' to ULONGEST.
13333 (linux_xfer_osdata_processgroups): Likewise.
13334 (linux_xfer_osdata_threads): Likewise.
13335 (linux_xfer_osdata_fds): Likewise.
13336 (linux_xfer_osdata_isockets): Likewise.
13337 (linux_xfer_osdata_shm): Likewise.
13338 (linux_xfer_osdata_sem): Likewise.
13339 (linux_xfer_osdata_msg): Likewise.
13340 (linux_common_xfer_osdata): Likewise.
13341 (struct osdata_type) <getter>: Likewise.
13342 * common/linux-osdata.h (linux_common_xfer_osdata): Update
13343 the declaration.
13344
b55e14c7
YQ
133452014-01-14 Yao Qi <yao@codesourcery.com>
13346
13347 * target.h (target_xfer_partial_ftype): Update.
13348 (struct target_ops) <to_xfer_partial>: Change 'len' type to
13349 ULONGEST.
13350 * aix-thread.c (aix_thread_xfer_partial): Change type of
13351 argument 'len' to ULONGEST.
13352 * auxv.c (procfs_xfer_auxv): Likewise.
13353 (ld_so_xfer_auxv): Likewise.
13354 (memory_xfer_auxv): Likewise.
13355 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13356 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13357 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
13358 * corelow.c (core_xfer_partial): Likewise.
13359 * ctf.c (ctf_xfer_partial): Likewise.
13360 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
13361 '%u'.
13362 (darwin_read_dyld_info): Likewise.
13363 (darwin_xfer_partial): Likewise.
13364 * exec.c (section_table_xfer_memory_partial): Likewise.
13365 (exec_xfer_partial): Likewise.
13366 * exec.h (section_table_xfer_memory_partial): Update
13367 declaration.
13368 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
13369 instead of plongest.
13370 (gnu_xfer_partial): Likewise.
13371 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
13372 (ia64_hpux_xfer_solib_got): Likewise.
13373 (ia64_hpux_xfer_partial): Likewise.
13374 * ia64-linux-nat.c (ia64_linux_xfer_partial):
13375 * inf-ptrace.c (inf_ptrace_xfer_partial):
13376 * inf-ttrace.c (inf_ttrace_xfer_partial):
13377 * linux-nat.c (linux_xfer_siginfo): Likewise.
13378 (linux_nat_xfer_partial): Likewise.
13379 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
13380 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
13381 * monitor.c (monitor_xfer_memory): Likewise.
13382 (monitor_xfer_partial): Likewise.
13383 * procfs.c (procfs_xfer_partial): Likewise.
13384 * record-full.c (record_full_xfer_partial): Likewise.
13385 (record_full_core_xfer_partial): Likewise.
13386 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
13387 instead of plongest.
13388 (gdbsim_xfer_partial): Likewise.
13389 * remote.c (remote_xfer_partial): Likewise.
13390 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13391 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13392 declaration.
13393 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13394 (rs6000_xfer_shared_libraries): Likewise.
13395 * sol-thread.c (sol_thread_xfer_partial): Likewise.
13396 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13397 (sparc_xfer_partial): Likewise.
13398 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13399 (spu_xfer_partial): Likewise.
13400 * spu-multiarch.c (spu_xfer_partial): Likewise.
13401 * target.c (target_read_live_memory): Likewise.
13402 (memory_xfer_live_readonly_partial): Likewise.
13403 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
13404 (target_xfer_partial, default_xfer_partial): Likewise.
13405 (current_xfer_partial): Likewise.
13406 * tracepoint.c (tfile_xfer_partial): Likewise.
13407 * windows-nat.c (windows_xfer_memory): Likewise. Call
13408 pulongest instead of plongest.
13409 (windows_xfer_partial): Likewise.
13410 (windows_xfer_shared_libraries): Likewise.
13411
05804640
YQ
134122014-01-14 Yao Qi <yao@codesourcery.com>
13413
13414 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
13415 target_xfer_partial_ftype.
13416
b5b08fb4
SC
134172014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13418
13419 PR python/15464
13420 PR python/16113
13421 * valops.c (value_struct_elt_bitpos): New function
13422 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
13423 object to 'None' if the field name is an empty string ("").
13424 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
13425 attribute to look for a field when 'name' is 'None'.
13426 (get_field_type): New function
13427
13aaf454
DE
134282014-01-13 Doug Evans <dje@google.com>
13429
13430 PR symtab/16426
13431 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
13432 (try_open_dwop_file): Ditto.
13433 * gdb_bfd.c: #include "vec.h".
13434 (bfdp): New typedef.
13435 (struct gdb_bfd_data): New member included_bfds.
13436 (gdb_bfd_unref): Unref all included bfds.
13437 (gdb_bfd_record_inclusion): New function.
13438 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
13439
c2cec97c
TT
134402014-01-13 Tom Tromey <tromey@redhat.com>
13441
13442 * gdbcore.h (deprecated_core_resize_section_table): Remove.
13443
78e5999d
TT
134442014-01-13 Tom Tromey <tromey@redhat.com>
13445
13446 * defs.h (use_windows): Remove.
13447 * gdb.c (main): Update.
13448 * main.c (captured_main, gdb_main): Update.
13449 * main.h (struct captured_main_args) <use_windows>: Remove.
13450 * top.c (use_windows): Remove.
13451
f2052bbe
TT
134522014-01-13 Tom Tromey <tromey@redhat.com>
13453
13454 * defs.h (deprecated_flush_hook): Remove.
13455
fde4f8ed
JK
134562014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13457
13458 PR threads/16216
13459 * linux-thread-db.c (try_thread_db_load): Add parameter
13460 check_auto_load_safe. Move here the file_is_auto_load_safe call.
13461 (try_thread_db_load_from_pdir_1): Move it there from here.
13462 (try_thread_db_load_from_sdir): Update caller.
13463 (try_thread_db_load_from_dir): Move it there from here.
13464
bdf61915
PP
134652014-01-13 Patrick Palka <patrick@parcs.ath.cx>
13466
13467 * regformats/regdat.sh: Always rewrite the register file.
13468
f71e1a8d
PA
134692014-01-13 Pedro Alves <palves@redhat.com>
13470
13471 * Makefile.in (CHECK_HEADERS): New variable.
13472 (check-headers:): New rule.
13473
42c85435
TT
134742014-01-13 Tom Tromey <tromey@redhat.com>
13475
13476 * cli/cli-setshow.c (do_set_command): Update.
13477 * defs.h (deprecated_set_hook): Remove.
13478 * top.c (deprecated_set_hook): Remove.
13479
f8de5129
PA
134802014-01-13 Pedro Alves <palves@redhat.com>
13481
13482 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
13483 the tracepoint if the PC is a pseudo-register.
13484
fc270c35
TT
134852014-01-13 Tom Tromey <tromey@redhat.com>
13486
13487 * defs.h (XCALLOC): Remove.
13488 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
13489 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
13490 * dwarf2loc.c (allocate_piece_closure): Likewise.
13491 * elfread.c (elf_symfile_segments): Likewise.
13492 (elf_symfile_segments): Likewise.
13493 * gdbtypes.c (copy_type_recursive): Likewise.
13494 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
13495 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
13496 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
13497 XCALLOC.
13498 * mt-tdep.c (mt_gdbarch_init): Likewise.
13499 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
13500 XCALLOC.
13501 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
13502 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
13503 * registry.c (registry_alloc_data): Likewise.
13504 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
13505 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
13506 * serial.c (serial_fdopen_ops): Likewise.
13507 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
13508 XCALLOC.
13509 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
13510 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
13511 not XCALLOC.
13512
70ba0933
TT
135132014-01-13 Tom Tromey <tromey@redhat.com>
13514
13515 * defs.h (XMALLOC): Remove.
13516 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
13517 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
13518 * cli-out.c (struct ui_out *): Likewise.
13519 * cli/cli-dump.c (add_dump_command): Likewise.
13520 (add_dump_command): Likewise.
13521 * complaints.c (get_complaints): Likewise.
13522 (find_complaint): Likewise.
13523 * dwarf2-frame.c (execute_cfa_program): Likewise.
13524 * dwarf2read.c (abbrev_table_read_table): Likewise.
13525 * gdbarch.sh: Likewise.
13526 * gdbarch.c: Rebuild.
13527 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
13528 * interps.c (interp_new): Likewise.
13529 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
13530 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
13531 * mi/mi-console.c (mi_console_file_new): Likewise.
13532 * mi/mi-interp.c (mi_interpreter_init): Likewise.
13533 * mi/mi-out.c (mi_out_new): Likewise.
13534 * mi/mi-parse.c (mi_parse): Likewise.
13535 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
13536 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
13537 * observer.c (xalloc_observer_list_node): Likewise.
13538 * regcache.c (regcache_xmalloc_1): Likewise.
13539 * reggroups.c (reggroup_new): Likewise.
13540 (_initialize_reggroup): Likewise.
13541 * registry.c (register_data_with_cleanup): Likewise.
13542 * remote.c (remote_notif_stop_alloc_reply): Likewise.
13543 * ser-base.c (serial_ttystate): Likewise.
13544 * ser-mingw.c (make_pipe_state): Likewise.
13545 * ser-pipe.c (pipe_open): Likewise.
13546 * serial.c (serial_open): Likewise.
13547 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
13548 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
13549 (tui_alloc_win_info): Likewise.
13550 (tui_add_content_elements): Likewise.
13551 * tui/tui-file.c (tui_file_new): Likewise.
13552 * tui/tui-out.c (tui_out_new): Likewise.
13553 * ui-file.c (mem_file_new): Likewise.
13554 * ui-out.c (push_level): Likewise.
13555 (make_cleanup_ui_out_end): Likewise.
13556 (append_header_to_list): Likewise.
13557 (ui_out_new): Likewise.
13558 * user-regs.c (user_reg_add_builtin): Likewise.
13559
41bf6aca
TT
135602014-01-13 Tom Tromey <tromey@redhat.com>
13561
13562 * defs.h (XZALLOC): Remove.
13563 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
13564 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
13565 (get_ada_tasks_inferior_data): Likewise.
13566 * auto-load.c (get_auto_load_pspace_data): Likewise.
13567 * auxv.c (get_auxv_inferior_data): Likewise.
13568 * bfd-target.c (target_bfd_reopen): Likewise.
13569 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
13570 (deprecated_insert_raw_breakpoint): Likewise.
13571 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
13572 * corelow.c (core_open): Likewise.
13573 * darwin-nat.c (darwin_check_new_threads): Likewise.
13574 (darwin_attach_pid): Likewise.
13575 * dummy-frame.c (dummy_frame_push): Likewise.
13576 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
13577 * dwarf2loc.c (allocate_piece_closure): Likewise.
13578 * elfread.c (elf_symfile_segments): Likewise.
13579 * eval.c (ptrmath_type_p): Likewise.
13580 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
13581 * gdbtypes.c (alloc_type_arch): Likewise.
13582 (alloc_type_instance): Likewise.
13583 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
13584 * inf-child.c (inf_child_can_use_agent): Likewise.
13585 * inflow.c (get_inflow_inferior_data): Likewise.
13586 * infrun.c (save_infcall_suspend_state): Likewise.
13587 * jit.c (jit_reader_load): Likewise.
13588 (get_jit_objfile_data): Likewise.
13589 (get_jit_program_space_data): Likewise.
13590 (jit_object_open_impl): Likewise.
13591 (jit_symtab_open_impl): Likewise.
13592 (jit_block_open_impl): Likewise.
13593 (jit_frame_sniffer): Likewise.
13594 * linux-fork.c (add_fork): Likewise.
13595 * maint.c (make_command_stats_cleanup): Likewise.
13596 * objfiles.c (get_objfile_pspace_data): Likewise.
13597 * opencl-lang.c (struct lval_closure): Likewise.
13598 * osdata.c (osdata_start_osdata): Likewise.
13599 * progspace.c (new_address_space): Likewise.
13600 (add_program_space): Likewise.
13601 * remote-sim.c (get_sim_inferior_data): Likewise.
13602 * sh-tdep.c (sh_gdbarch_init): Likewise.
13603 * skip.c (Ignore): Likewise.
13604 (skip_delete_command): Likewise.
13605 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
13606 (library_list_start_library): Likewise.
13607 (solib_aix_current_sos): Likewise.
13608 * solib-darwin.c (get_darwin_info): Likewise.
13609 (darwin_current_sos): Likewise.
13610 * solib-dsbt.c (get_dsbt_info): Likewise.
13611 * solib-ia64-hpux.c (new_so_list): Likewise.
13612 (ia64_hpux_get_solib_linkage_addr): Likewise.
13613 * solib-spu.c (append_ocl_sos): Likewise.
13614 (spu_current_sos): Likewise.
13615 * solib-svr4.c (get_svr4_info): Likewise.
13616 (svr4_keep_data_in_core): Likewise.
13617 (library_list_start_library): Likewise.
13618 (svr4_default_sos): Likewise.
13619 (svr4_read_so_list): Likewise.
13620 * solib-target.c (library_list_start_library): Likewise.
13621 (solib_target_current_sos): Likewise.
13622 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
13623 * symfile-debug.c (install_symfile_debug_logging): Likewise.
13624 * symfile.c (default_symfile_segments): Likewise.
13625 * target-descriptions.c (tdesc_data_init): Likewise.
13626 (tdesc_create_reg): Likewise.
13627 (struct tdesc_type *): Likewise.
13628 (tdesc_create_vector): Likewise.
13629 (tdesc_set_struct_size): Likewise.
13630 (struct tdesc_type *): Likewise.
13631 (tdesc_free_feature): Likewise.
13632 (tdesc_create_feature): Likewise.
13633 * windows-nat.c (windows_add_thread): Likewise.
13634 (windows_make_so): Likewise.
13635 * xml-support.c (gdb_xml_body_text): Likewise.
13636 (gdb_xml_create_parser_and_cleanup): Likewise.
13637 (xml_process_xincludes): Likewise.
13638 * xml-syscall.c (allocate_syscalls_info): Likewise.
13639 (syscall_create_syscall_desc): Likewise.
13640
5acfdbae
SDJ
136412014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
13642
13643 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
13644 function, with code from i386_stap_parse_special_token.
13645 (i386_stap_parse_special_token_three_arg_disp): Likewise.
13646 (i386_stap_parse_special_token): Move code to the two functions
13647 above; simplify it.
13648
0000e5cc
PA
136492014-01-09 Pedro Alves <palves@redhat.com>
13650 Hui Zhu <hui@codesourcery.com>
13651
13652 PR gdb/16101
13653 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
13654 bp_err_string. Don't mark the location shlib_disabled if the
13655 error thrown wasn't a generic or memory error. Catch errors
13656 thrown while inserting breakpoints in overlayed code. Output
13657 error message of software breakpoints.
13658 * remote.c (remote_insert_breakpoint): If this breakpoint has
13659 target-side commands but this stub doesn't support Z0 packets,
13660 throw NOT_SUPPORTED_ERROR error.
13661 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
13662 * target.h (target_insert_breakpoint): Extend comment.
13663 (target_insert_hw_breakpoint): Add comment.
13664
b7ea362b
PA
136652014-01-08 Pedro Alves <palves@redhat.com>
13666
13667 * remote.c (remote_add_thread): Add threads silently if starting
13668 up.
13669 (remote_notice_new_inferior): If in all-stop, and starting up,
13670 don't call notice_new_inferior.
13671 (get_current_thread): New function, factored out from ...
13672 (add_current_inferior_and_thread): ... this. Adjust.
13673 (remote_start_remote) <all-stop>: Fetch the thread list. If we
13674 found any thread, then select the remote's current thread as GDB's
13675 current thread too.
13676
b7bba001
JB
136772014-01-08 Joel Brobecker <brobecker@adacore.com>
13678
13679 * NEWS: Create a new section for the next release branch.
13680 Rename the section of the current branch, now that it has
13681 been cut.
13682
16dfbded
JB
136832014-01-08 Joel Brobecker <brobecker@adacore.com>
13684
13685 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
13686 * version.in: Bump version to 7.7.50.DATE-cvs.
13687
22c90ac1
YQ
136882014-01-08 Yao Qi <yao@codesourcery.com>
13689
13690 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
13691 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
13692 (spu_xfer_partial): Cast 'buf' to 'const char *'.
13693
d64ad97c
YQ
136942014-01-08 Yao Qi <yao@codesourcery.com>
13695
13696 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
13697 return value of bfd_get_filename to symbol_file_add_from_bfd.
13698
f93ba80c
PM
136992014-01-08 Pierre Muller <muller@sourceware.org>
13700
13701 Fix PR16201.
13702 * coff-pe-read.c (struct read_pe_section_data): Add index field.
13703 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
13704 to prim_record_mininal_symbol_and_info.
13705 (add_pe_forwarded_sym): Use known section number of forwarded symbol
13706 in call to prim_record_minimal_symbol_and_info.
13707 (read_pe_exported_syms): Set index field of section_data.
13708
a4d9ba85
AP
137092014-01-07 Andrew Pinski <apinski@cavium.com>
13710
13711 * features/aarch64-core.xml (cpsr): Change to be 64bit.
13712 * features/aarch64.c: Regenerate.
13713
1b67eb02
AS
137142014-01-07 Andreas Schwab <schwab@linux-m68k.org>
13715
13716 * target.c (return_null): Define.
13717 (update_current_target): Use it instead of return_zero for
13718 functions that return a pointer.
13719
5e3f4fab
EBM
137202014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13721
13722 * source.c (add_path): Fix check for duplicated paths in the previously
13723 included paths.
13724
e2616788
HK
137252014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
13726
13727 * ada-lang.c: Remove duplicated include statements.
13728 * alphabsd-nat.c: Ditto.
13729 * amd64-darwin-tdep.c: Ditto.
13730 * amd64fbsd-nat.c: Ditto.
13731 * auto-load.c: Ditto.
13732 * ax-gdb.c: Ditto.
13733 * breakpoint.c: Ditto.
13734 * dbxread.c: Ditto.
13735 * fork-child.c: Ditto.
13736 * gdb_usleep.c: Ditto.
13737 * i386-darwin-tdep.c: Ditto.
13738 * i386fbsd-nat.c: Ditto.
13739 * infcmd.c: Ditto.
13740 * inferior.c: Ditto.
13741 * jv-lang.c: Ditto.
13742 * linux-nat.c: Ditto.
13743 * linux-tdep.c: Ditto.
13744 * m68kbsd-nat.c: Ditto.
13745 * m68klinux-nat.c: Ditto.
13746 * microblaze-tdep.c: Ditto.
13747 * mips-linux-tdep.c: Ditto.
13748 * mn10300-tdep.c: Ditto.
13749 * nto-tdep.c: Ditto.
13750 * opencl-lang.c: Ditto.
13751 * osdata.c: Ditto.
13752 * printcmd.c: Ditto.
13753 * regcache.c: Ditto.
13754 * remote-m32r-sdi.c: Ditto.
13755 * remote.c: Ditto.
13756 * symfile.c: Ditto.
13757 * symtab.c: Ditto.
13758 * tilegx-linux-nat.c: Ditto.
13759 * tilegx-tdep.c: Ditto.
13760 * tracepoint.c: Ditto.
13761 * valops.c: Ditto.
13762 * vaxbsd-nat.c: Ditto.
13763 * windows-nat.c: Ditto.
13764 * xtensa-tdep.c: Ditto.
13765
bd1f7788
YQ
137662014-01-07 Yao Qi <yao@codesourcery.com>
13767
13768 * spu-linux-nat.c (_initialize_spu_nat): Declare.
13769
79301218
JB
137702014-01-07 Yao Qi <yao@codesourcery.com>
13771 Joel Brobecker <brobecker@adacore.com>
13772
13773 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
13774 (pdc_write_regs): Likewise.
13775 (fetch_regs_kernel_thread): Likewise.
13776 (store_regs_kernel_thread): Likewise.
13777
137782014-01-07 Joel Brobecker <brobecker@adacore.com>
13779
13780 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
13781 tagged type objects to their actual type.
13782
8e355c5d
JB
137832014-01-07 Joel Brobecker <brobecker@adacore.com>
13784
13785 * ada-valprint.c (print_field_values): Add "language" parameter.
13786 Update calls to print_field_values and print_variant_part.
13787 Pass new parameter "language" in call to val_print instead
13788 of "current_language". Replace call to ada_val_print by call
13789 to val_print.
13790 (print_variant_part): Add "language" parameter.
13791 (ada_val_print_struct_union): Update call to print_field_values.
13792
4fbf5aa5
JB
137932014-01-07 Joel Brobecker <brobecker@adacore.com>
13794
13795 * ada-valprint.c (ui_memcpy): Delete.
13796 (ada_print_floating): Update documentation. Add empty line
13797 between between function documentation and implementation.
13798 Delete variable "buffer". Use ui_file_xstrdup in place of
13799 ui_file_put. Minor adjustments following this change.
13800
71855601
JB
138012014-01-07 Joel Brobecker <brobecker@adacore.com>
13802
13803 * ada-valprint.c (ada_val_print_string): New function,
13804 extracted from ada_val_print_array.
13805 (ada_val_print_array): Replace extracted code by call
13806 to ada_val_print_string followed by a return. Move
13807 "else" branch to the function's top block.
13808
4eb27a30
JB
138092014-01-07 Joel Brobecker <brobecker@adacore.com>
13810
13811 * ada-valprint.c (ada_val_print_array): Move implementation
13812 down. Rename parameter "offset" and "val" into "offset_aligned"
13813 and "original_value" respectively. Add parameter "offset".
13814
34b27950
JB
138152014-01-07 Joel Brobecker <brobecker@adacore.com>
13816
13817 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
13818 re-organizing the code. Change the "???" message printed
13819 when target type is a TYPE_CODE_UNDEF into
13820 "<ref to undefined type>".
13821
079e4591
JB
138222014-01-07 Joel Brobecker <brobecker@adacore.com>
13823
13824 * ada-valprint.c (print_record): Delete, implementation inlined...
13825 (ada_val_print_struct_union): ... here. Remove call to
13826 ada_check_typedef in inlined implementation.
13827
8004dfd1
JB
138282014-01-07 Joel Brobecker <brobecker@adacore.com>
13829
13830 * ada-valprint.c (ada_val_print_gnat_array): New function,
13831 extracted from ada_val_print_1;
13832 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
13833 (ada_val_print_flt, ada_val_print_struct_union)
13834 (ada_val_print_ref): Likewise.
13835 (ada_val_print_1): Delete variables i and elttype.
13836 Replace extracted-out code by call to corresponding
13837 new functions.
13838
760a2db0
JB
138392014-01-07 Joel Brobecker <brobecker@adacore.com>
13840
13841 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
13842
3a92c861
JB
138432014-01-07 Joel Brobecker <brobecker@adacore.com>
13844
13845 * ada-valprint.c (ada_val_print_1): Replace calls to
13846 ada_val_print_1 by calls to val_print.
13847
cd1630f9
JB
138482014-01-07 Joel Brobecker <brobecker@adacore.com>
13849
13850 * ada-valprint.c (ada_val_print_1): Add parameter "language".
13851 Update calls to self accordingly. Replace calls to c_val_print
13852 by calls to val_print.
13853
bdf779a0
JB
138542014-01-07 Joel Brobecker <brobecker@adacore.com>
13855
13856 * ada-valprint.c (print_record): Delete declaration.
13857 (adjust_type_signedness, ada_val_print_1): Likewise.
13858 (ada_val_print): Move function implementation down.
13859 (print_variant_part, print_field_values, print_record):
13860 Move function implementation up.
13861
c0d48811
JB
138622014-01-07 Joel Brobecker <brobecker@adacore.com>
13863
13864 * python/py-type.c (typy_get_name): New function.
13865 (type_object_getset): Add entry for attribute "name".
13866 * NEWS: Add entry mentioning this new attribute.
13867
c26e9cbb
YQ
138682014-01-07 Yao Qi <yao@codesourcery.com>
13869
13870 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
13871 statement.
13872
0cc6f43d
YQ
138732014-01-07 Yao Qi <yao@codesourcery.com>
13874
13875 * gnu-nat.c (info_port_rights): Add qualifier const to
13876 argument args.
13877
eec03155
YQ
138782014-01-07 Yao Qi <yao@codesourcery.com>
13879
13880 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
13881
f04a82ef
YQ
138822014-01-07 Yao Qi <yao@codesourcery.com>
13883
13884 * gnu-nat.c (make_inf) Update declaration.
13885 (make_inf): Make it static.
13886 (inf_set_traced): Likewise.
13887 (inf_port_to_thread, inf_task_died_status): Likewise.
13888
d57dda0a
YQ
138892014-01-07 Yao Qi <yao@codesourcery.com>
13890
13891 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
13892
3aa8c969
YQ
138932014-01-07 Yao Qi <yao@codesourcery.com>
13894
13895 * gnu-nat.c (_initialize_gnu_nat): Declare.
13896
94123b4f
YQ
138972014-01-07 Yao Qi <yao@codesourcery.com>
13898
13899 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
13900 'enum bfd_endian'.
13901 (struct gdbarch_info) <byte_order>: Change type to
13902 'enum bfd_endian'.
13903 <byte_order_for_code>: Likewise.
13904 * gdbarch.c, gdbarch.h: Regenerated.
13905
dc81d70a
TT
139062014-01-06 Sasha Smundak <asmundak@google.com>
13907
13908 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
13909
cc2f3c35
TT
139102014-01-06 Tom Tromey <tromey@redhat.com>
13911
13912 * doublest.c (convert_doublest_to_floatformat): Use const, not
13913 CONST.
13914 * somread.c (som_symtab_read): Likewise.
13915
adcf2eed
HZ
139162014-01-07 Hui Zhu <hui@codesourcery.com>
13917
13918 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
13919 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
13920 (gdb_bfd_fopen): Ditto.
13921 (gdb_bfd_openr): Ditto.
13922 (gdb_bfd_openw): Ditto.
13923 (gdb_bfd_openr_iovec): Ditto.
13924 (gdb_bfd_fdopenr): Ditto.
13925 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
13926 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
13927 with xstrdup.
13928 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
13929 with xstrdup.
13930 * symfile-mem.c (symbol_file_add_from_memory): Removed
13931 gdb_bfd_stash_filename.
13932
50722198
DE
139332014-01-03 Doug Evans <dje@google.com>
13934
13935 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
13936 output.
13937
2fa4b862
JB
139382014-01-01 Joel Brobecker <brobecker@adacore.com>
13939
13940 Update year range in copyright notice of all files.
13941
28498c42
JB
139422014-01-01 Joel Brobecker <brobecker@adacore.com>
13943
13944 * top.c (print_gdb_version): Set copyright year to 2014.
13945
7b6e1046
JB
139462014-01-01 Joel Brobecker <brobecker@adacore.com>
13947
13948 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
13949
df96af55 13950For older changes see ChangeLog-2013.
c906108c
SS
13951\f
13952Local Variables:
13953mode: change-log
13954left-margin: 8
13955fill-column: 74
13956version-control: never
57da7796 13957coding: utf-8
c906108c 13958End:
This page took 2.22534 seconds and 4 git commands to generate.