replace hexify with bin2hex
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
971dc0b8
TT
12014-02-12 Tom Tromey <tromey@redhat.com>
2
3 * common/rsp-low.h (hexify): Don't declare.
4 * common/rsp-low.c (hexify): Remove.
5
0a822afb
TT
62014-02-12 Tom Tromey <tromey@redhat.com>
7
8 * common/rsp-low.c (hexify): Never take strlen of argument.
9
9f1b45b0
TT
102014-02-12 Tom Tromey <tromey@redhat.com>
11
12 * common/rsp-low.c (bin2hex): Never take strlen of argument.
13 * remote.c (extended_remote_run, remote_rcmd)
14 (remote_download_trace_state_variable, remote_save_trace_data)
15 (remote_set_trace_notes): Update.
16 * tracepoint.c (encode_source_string, tfile_write_status)
17 (tfile_write_uploaded_tsv): Update.
18
9c3d6531
TT
192014-02-12 Tom Tromey <tromey@redhat.com>
20
21 * tracepoint.c: Include rsp-low.h.
22 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
23 * remote.c: Include rsp-low.h.
24 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
25 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
26 (remote_unescape_input): Move to common/rsp-low.c.
27 * common/rsp-low.h: New file.
28 * common/rsp-low.c: New file.
29 * Makefile.in (SFILES): Add common/rsp-low.c.
30 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
31 (COMMON_OBS): Add rsp-low.o.
32 (rsp-low.o): New target.
33
01fd3ea5
TT
342014-02-12 Tom Tromey <tromey@redhat.com>
35
36 * utils.h: Include print-utils.h.
37 (host_address_to_string, plongest, pulongest, phex, phex_nz)
38 (int_string, core_addr_to_string, core_addr_to_string_nz)
39 (hex_string, hex_string_custom): Don't declare.
40 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
41 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
42 (hex_string_custom, int_string, core_addr_to_string)
43 (core_addr_to_string_nz, host_address_to_string): Move to
44 common/print-utils.c.
45 * common/print-utils.h: New file.
46 * common/print-utils.c: New file
47 * Makefile.in (SFILES): Add common/print-utils.c.
48 (HFILES_NO_SRCDIR): Add common/print-utils.h.
49 (COMMON_OBS): Add print-utils.o.
50 (print-utils.o): New target.
51
9fb50108
TT
522014-02-12 Tom Tromey <tromey@redhat.com>
53
54 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
55
0548b5db
MK
562014-02-12 Mark Kettenis <kettenis@gnu.org>
57
58 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
59
493443a4
MK
602014-02-12 Mark Kettenis <kettenis@gnu.org>
61
62 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
63 if a PT_IO ptrace request returns sucessfully but indicates that 0
64 bytes were transferred.
65
706d0883
PA
662014-02-12 Pedro Alves <palves@redhat.com>
67 Kevin Buettner <kevinb@redhat.com>
68
69 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
70 TYPE_INSTANCE_FLAG_CODE_SPACE.
71
5caa2f0b
PA
722014-02-12 Pedro Alves <palves@redhat.com>
73
74 * h8300-tdep.c (pseudo_from_raw_register)
75 (raw_from_pseudo_register): New functions.
76 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
77 them.
78
76fd5f74
PA
792014-02-12 Pedro Alves <palves@redhat.com>
80
81 * h8300-tdep.c (h8300_register_sim_regno): New function.
82 (h8300_gdbarch_init): Install h8300_register_sim_regno as
83 gdbarch_register_sim_regno hook.
84
8f008406
SA
852014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
86
87 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
88
195abc10
SA
892014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
90
91 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
92
93ffa5b9
MK
932014-02-12 Mark Kettenis <kettenis@gnu.org>
94
95 * obsd-tdep.h (obsd_init_abi): New prototype.
96 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
97 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
98 (obsd_init_abi): New functions.
99 * i386obsd-tdep.c: Include "obsd-tdep.h".
100 (i386obsd_init_abi): Call obsd_init_abi.
101 * amd64obsd-tdep.c: Include "obsd-tdep.h".
102 (amd64obsd_init_abi): Call obsd_init_abi.
103 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
104 obsd-tdep.c to gdb_target_obs.
105
49caec94
JM
1062014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
107
108 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
109 double float arguments to 16-byte in the argument slots.
110
e1402065
DE
1112014-02-11 Doug Evans <xdje42@gmail.com>
112
113 * configure.ac: Don't crash if pkg-config is not found and guile
114 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
115 in guile checks.
116 * configure: Regenerate.
117
edcc890f
YQ
1182014-02-11 Yao Qi <yao@codesourcery.com>
119
120 * aix-thread.c (aix_thread_xfer_partial): Update comments.
121 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
122 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
123 * gnu-nat.c (gnu_xfer_memory): Likewise.
124 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
125 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
126 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
127 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
128
9b409511
YQ
1292014-02-11 Yao Qi <yao@codesourcery.com>
130
131 * target.h (enum target_xfer_error): Rename to ...
132 (enum target_xfer_status): ... it. New. All users updated.
133 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
134 New.
135 (TARGET_XFER_STATUS_ERROR_P): New macro.
136 (target_xfer_error_to_string): Remove declaration.
137 (target_xfer_status_to_string): Declare.
138 (target_xfer_partial_ftype): Adjust it.
139 (struct target_ops) <to_xfer_partial>: Return
140 target_xfer_status. Add argument xfered_len. Update
141 comments.
142 * target.c (target_xfer_error_to_string): Rename to ...
143 (target_xfer_status_to_string): ... it. New. All callers
144 updated.
145 (target_read_live_memory): Likewise. Call target_xfer_partial
146 instead of target_read.
147 (memory_xfer_live_readonly_partial): Return
148 target_xfer_status. Add argument xfered_len.
149 (raw_memory_xfer_partial): Likewise.
150 (memory_xfer_partial_1): Likewise.
151 (memory_xfer_partial): Likewise.
152 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
153 properly. Update debug message.
154 (default_xfer_partial, current_xfer_partial): Likewise.
155 (target_write_partial): Likewise.
156 (target_read_partial): Likewise. All callers updated.
157 (read_whatever_is_readable): Likewise.
158 (target_write_with_progress): Likewise.
159 (target_read_alloc_1): Likewise.
160
161 * aix-thread.c (aix_thread_xfer_partial): Likewise.
162 * auxv.c (procfs_xfer_auxv): Likewise.
163 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
164 * bfd-target.c (target_bfd_xfer_partial): Likewise.
165 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
166 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
167 * corefile.c (read_memory): Adjust.
168 * corelow.c (core_xfer_partial): Likewise.
169 * ctf.c (ctf_xfer_partial): Likewise.
170 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
171 updated.
172 (darwin_xfer_partial): Likewise.
173 * exec.c (section_table_xfer_memory_partial): Likewise. All
174 callers updated.
175 (exec_xfer_partial): Likewise.
176 * exec.h (section_table_xfer_memory_partial): Update
177 declaration.
178 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
179 negative.
180 (gnu_xfer_partial): Likewise.
181 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
182 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
183 (ia64_hpux_xfer_solib_got): Likewise.
184 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
185 type of 'partial_len' to ULONGEST.
186 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
187 * linux-nat.c (linux_xfer_siginfo ): Likewise.
188 (linux_nat_xfer_partial): Likewise.
189 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
190 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
191 * monitor.c (monitor_xfer_memory): Likewise.
192 (monitor_xfer_partial): Likewise.
193 * procfs.c (procfs_xfer_partial): Likewise.
194 * record-btrace.c (record_btrace_xfer_partial): Likewise.
195 * record-full.c (record_full_xfer_partial): Likewise.
196 (record_full_core_xfer_partial): Likewise.
197 * remote-sim.c (gdbsim_xfer_memory): Likewise.
198 (gdbsim_xfer_partial): Likewise.
199 * remote.c (remote_write_bytes_aux): Likewise. All callers
200 updated.
201 (remote_write_bytes, remote_read_bytes): Likewise. All
202 callers updated.
203 (remote_flash_erase): Likewise. All callers updated.
204 (remote_write_qxfer): Likewise. All callers updated.
205 (remote_read_qxfer): Likewise. All callers updated.
206 (remote_xfer_partial): Likewise.
207 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
208 (rs6000_xfer_shared_libraries): Likewise.
209 * sol-thread.c (sol_thread_xfer_partial): Likewise.
210 (sol_thread_xfer_partial): Likewise.
211 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
212 (sparc_xfer_partial): Likewise.
213 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
214 updated.
215 (spu_xfer_partial): Likewise.
216 * spu-multiarch.c (spu_xfer_partial): Likewise.
217 * tracepoint.c (tfile_xfer_partial): Likewise.
218 * windows-nat.c (windows_xfer_memory): Likewise.
219 (windows_xfer_shared_libraries): Likewise.
220 (windows_xfer_partial): Likewise.
221 * valprint.c: Replace 'target_xfer_error' with
222 'target_xfer_status' in comments.
223
a8e63083
JB
2242014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
225
226 Checked in by Joel Brobecker <brobecker@adacore.com>.
227 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
228
e86b67d3
JB
2292014-02-11 Joel Brobecker <brobecker@adacore.com>
230
231 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
232 function parameters.
233
4b7d1f7f
WN
2342014-02-10 Will Newton <will.newton@linaro.org>
235
236 * elfread.c (elf_rel_plt_read): Look for a .got section if
237 looking up .got.plt fails.
238 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
239 on address passed to elf_gnu_ifunc_record_cache.
240 (elf_gnu_ifunc_resolve_addr): Likewise.
241 (elf_gnu_ifunc_resolver_return_stop): Likewise.
242
961842b2
JM
2432014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
244
245 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
246 (X_RETTURN): New macro.
247 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
248
249 * sparc64-tdep.c (sparc64_init_abi): Hook
250 sparc_in_function_epilogue_p.
251
3f03e7b1
GB
2522014-02-10 Gary Benson <gbenson@redhat.com>
253
254 * symfile-debug.c (debug_qf_expand_symtabs_matching):
255 Rename name_matcher to symbol_matcher.
256
96f861ef
GB
2572014-02-10 Gary Benson <gbenson@redhat.com>
258
259 * symfile-debug.c (debug_qf_expand_symtabs_matching):
260 Use expand_symtabs_file_matcher_ftype and
261 expand_symtabs_symbol_matcher_ftype.
262
ee01b665
JB
2632014-02-10 Joel Brobecker <brobecker@adacore.com>
264
265 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
266 (struct ada_symbol_cache): New.
267 (ada_free_symbol_cache): Forward declare.
268 (struct ada_pspace_data): New.
269 (ada_pspace_data_handle): New static global.
270 (get_ada_pspace_data, ada_pspace_data_cleanup)
271 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
272 (cache_space, cache): Delete, now folded inside struct
273 ada_pspace_data.
274 (ada_get_symbol_cache): New function.
275 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
276 implementation.
277 (_initialize_ada_language): Remove initialization of cache_space.
278 Move call to observer_attach_inferior_exit up, grouping it
279 with the other observer registrations inside this function.
280 Rename command to be more general. Add call to
281 register_program_space_data_with_cleanup.
282
143adbbf
JB
2832014-02-10 Joel Brobecker <brobecker@adacore.com>
284
285 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
286 ada_new_objfile_observer.
287 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
288 (_initialize_tasks): Update uses of ada_new_objfile_observer
289 and ada_tasks_normal_stop_observer.
290
aa4fb036
JB
2912014-02-10 Joel Brobecker <brobecker@adacore.com>
292
293 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
294 returned by the 'Length attribute to integer.
295
9dee8cc6
JB
2962014-02-10 Joel Brobecker <brobecker@adacore.com>
297
298 * ada-lang.c (_initialize_ada_language): Initialize
299 cache_space obstack.
300
3d9434b5
JB
3012014-02-10 Joel Brobecker <brobecker@adacore.com>
302
303 * ada-lang.c (HASH_SIZE): New macro.
304 (struct cache_entry): New type.
305 (cache_space, cache): New static globals.
306 (ada_clear_symbol_cache, find_entry): New functions.
307 (lookup_cached_symbol, cache_symbol): Implement.
308 (ada_new_objfile_observer, ada_free_objfile_observer): New.
309 (_initialize_ada_language): Attach ada_new_objfile_observer
310 and ada_free_objfile_observer.
311
f0c5f9b2
JB
3122014-02-10 Joel Brobecker <brobecker@adacore.com>
313
314 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
315 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
316 struct block * parameter.
317 (ada_lookup_symbol_list_worker): Constify local variable "block".
318 Remove cast which is no longer necessary.
319
ed3ef339
DE
3202014-02-10 Doug Evans <xdje42@gmail.com>
321
322 Add Guile as an extension language.
323 * NEWS: Mention Guile scripting.
324 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
325 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
326 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
327 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
328 (CLIBS): Add GUILE_LIBS.
329 (install-guile): New rule.
330 (guile.o): New rule.
331 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
332 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
333 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
334 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
335 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
336 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
337 (scm-type.o, scm-utils.o, scm-value.o): New rules.
338 * configure.ac: New option --with-guile.
339 * configure: Regenerate.
340 * config.in: Regenerate.
341 * auto-load.c: Remove #include "python/python.h". Add #include
342 "gdb/section-scripts.h".
343 (source_section_scripts): Handle Guile scripts.
344 (_initialize_auto_load): Add name of Guile objfile script to
345 scripts-directory help text.
346 * breakpoint.c (condition_command): Tweak comment to include Scheme.
347 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
348 (struct breakpoint): New member scm_bp_object.
349 * defs.h (enum command_control_type): New value guile_control.
350 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
351 "extension.h".
352 (show_user): Update comment.
353 (_initialize_cli_cmds): Update help text for "show user". Update help
354 text for max-user-call-depth.
355 * cli/cli-script.c: Remove #include "python/python.h". Add #include
356 "extension.h".
357 (multi_line_command_p): Add guile_control.
358 (print_command_lines): Handle guile_control.
359 (execute_control_command, recurse_read_control_structure): Ditto.
360 (process_next_line): Recognize "guile" commands.
361 * disasm.c (gdb_disassemble_info): Make non-static.
362 * disasm.h: #include "dis-asm.h".
363 (struct gdbarch): Add forward decl.
364 (gdb_disassemble_info): Declare.
365 * extension.c: #include "guile/guile.h".
366 (extension_languages): Add guile.
367 (get_ext_lang_defn): Handle EXT_LANG_GDB.
368 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
369 * gdbtypes.c (get_unsigned_type_max): New function.
370 (get_signed_type_minmax): New function.
371 * gdbtypes.h (get_unsigned_type_max): Declare.
372 (get_signed_type_minmax): Declare.
373 * guile/README: New file.
374 * guile/guile-internal.h: New file.
375 * guile/guile.c: New file.
376 * guile/guile.h: New file.
377 * guile/scm-arch.c: New file.
378 * guile/scm-auto-load.c: New file.
379 * guile/scm-block.c: New file.
380 * guile/scm-breakpoint.c: New file.
381 * guile/scm-disasm.c: New file.
382 * guile/scm-exception.c: New file.
383 * guile/scm-frame.c: New file.
384 * guile/scm-gsmob.c: New file.
385 * guile/scm-iterator.c: New file.
386 * guile/scm-lazy-string.c: New file.
387 * guile/scm-math.c: New file.
388 * guile/scm-objfile.c: New file.
389 * guile/scm-ports.c: New file.
390 * guile/scm-pretty-print.c: New file.
391 * guile/scm-safe-call.c: New file.
392 * guile/scm-string.c: New file.
393 * guile/scm-symbol.c: New file.
394 * guile/scm-symtab.c: New file.
395 * guile/scm-type.c: New file.
396 * guile/scm-utils.c: New file.
397 * guile/scm-value.c: New file.
398 * guile/lib/gdb.scm: New file.
399 * guile/lib/gdb/boot.scm: New file.
400 * guile/lib/gdb/experimental.scm: New file.
401 * guile/lib/gdb/init.scm: New file.
402 * guile/lib/gdb/iterator.scm: New file.
403 * guile/lib/gdb/printing.scm: New file.
404 * guile/lib/gdb/types.scm: New file.
405 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
406 (VPATH): Add $(GUILE_SRCDIR).
407 (GUILE_DIR): New variable.
408 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
409 (all): Add stamp-guile dependency.
410 (stamp-guile): New rule.
411 (clean-guile, install-guile, uninstall-guile): New rules.
412 (install-only): Add install-guile dependency.
413 (uninstall): Add uninstall-guile dependency.
414 (clean): Add clean-guile dependency.
415
ac020ec5
DE
4162014-02-09 Doug Evans <xdje42@gmail.com>
417
418 Revert this patch (which I approved, mea culpa).
419
420 2014-02-08 Mark Kettenis <kettenis@gnu.org>
421
422 * Makefile.in (all-lib): Remove.
423 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
424
2a081c59
JK
4252014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
426
427 Fix Python stack corruption.
428 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
429 gdb_py_longest.
430
0a6bd22d
MK
4312014-02-08 Mark Kettenis <kettenis@gnu.org>
432
433 * Makefile.in (all-lib): Remove.
434 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
435
1a860409
DE
4362014-02-07 Doug Evans <dje@google.com>
437
438 * extension-priv.h (extension_language_script_ops): Add comment.
439 (extension_language_ops): Add comment.
caf5a491 440 (active_ext_lang_state): Fix typo in comment.
1a860409 441
d137e6dc
PA
4422014-02-07 Pedro Alves <palves@redhat.com>
443
444 * infrun.c (handle_signal_stop) <signal arrives while stepping
445 over a breakpoint>: Switch back to the stepping thread.
446
ce6d0892
YQ
4472014-02-07 Yao Qi <yao@codesourcery.com>
448
449 * target.c (target_xfer_partial): Return zero if LEN is zero.
450
2ed4b548
YQ
4512014-02-07 Yao Qi <yao@codesourcery.com>
452
453 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
454 (ld_so_xfer_auxv): Likewise.
455 * bfd-target.c (target_bfd_xfer_partial): Likewise.
456 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
457 * corelow.c (core_xfer_partial): Likewise.
458 * ctf.c (ctf_xfer_partial): Likewise.
459 * darwin-nat.c (darwin_read_dyld_info): Likewise.
460 (darwin_xfer_partial): Likewise.
461 * exec.c (exec_xfer_partial): Likewise.
462 * gnu-nat.c (gnu_xfer_partial): Likewise.
463 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
464 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
465 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
466 * linux-nat.c (linux_xfer_siginfo): Likewise.
467 (linux_proc_xfer_spu): Likewise.
468 * procfs.c (procfs_xfer_partial): Likewise.
469 * record-full.c (record_full_xfer_partial): Likewise.
470 (record_full_core_xfer_partial): Likewise.
471 * remote-sim.c (gdbsim_xfer_partial): Likewise.
472 * remote.c (remote_write_qxfer): Likewise.
473 (remote_write_qxfer, remote_read_qxfer): Likewise.
474 (remote_xfer_partial): Likewise.
475 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
476 (rs6000_xfer_shared_libraries): Likewise.
477 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
478 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
479 (spu_xfer_partial): Likewise.
480 * target.c (memory_xfer_partial_1): Likewise.
481 * tracepoint.c (tfile_xfer_partial): Likewise.
482 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
483 (windows_xfer_partial): Likewise.
484
c09f20e4
YQ
4852014-02-07 Yao Qi <yao@codesourcery.com>
486
487 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
488 comments.
489 (core_xfer_shared_libraries_aix): Likewise.
490 * gdbarch.c, gdbarch.h: Regenerated.
491 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
492 ULONGEST. Change 'len_avail' type to ULONGEST.
493 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
494 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
495 declaration.
496 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
497
8635b3bf
YQ
4982014-02-07 Yao Qi <yao@codesourcery.com>
499
500 * corefile.c (memory_error): Get 'exception' from ERR and pass
501 'exception' to throw_error.
502
6dddc817
DE
5032014-02-06 Doug Evans <xdje42@gmail.com>
504
505 * configure.ac (libpython checking): Remove all but python.o from
506 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
507 * configure: Regenerate.
508
509 * Makefile.in (SFILES): Add extension.c.
510 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
511 (COMMON_OBS): Add extension.o.
512 * extension.h: New file.
513 * extension-priv.h: New file.
514 * extension.c: New file.
515
516 * python/python-internal.h: #include "extension.h".
517 (gdbpy_auto_load_enabled): Declare.
518 (gdbpy_apply_val_pretty_printer): Declare.
519 (gdbpy_apply_frame_filter): Declare.
520 (gdbpy_preserve_values): Declare.
521 (gdbpy_breakpoint_cond_says_stop): Declare.
522 (gdbpy_breakpoint_has_cond): Declare.
523 (void source_python_script_for_objfile): Delete.
524 * python/python.c: #include "extension-priv.h".
525 Delete inclusion of "observer.h".
526 (extension_language_python): Moved here and renamed from
527 script_language_python in py-auto-load.c.
528 Redefined to be of type extension_language_defn.
529 (python_extension_script_ops): New global.
530 (python_extension_ops): New global.
531 (struct python_env): New member previous_active.
532 (restore_python_env): Call restore_active_ext_lang.
533 (ensure_python_env): Call set_active_ext_lang.
534 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
535 New arg extlang.
536 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
537 New arg extlang.
538 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
539 New arg extlang.
540 (gdbpy_eval_from_control_command): Renamed from
541 eval_python_from_control_command, made static. New arg extlang.
542 (gdbpy_source_script) Renamed from source_python_script, made static.
543 New arg extlang.
544 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
545 result to int. New arg extlang.
546 (gdbpy_source_objfile_script): Renamed from
547 source_python_script_for_objfile, made static. New arg extlang.
548 (gdbpy_start_type_printers): Renamed from start_type_printers, made
549 static. New args extlang, extlang_printers. Change result type to
550 "void".
551 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
552 static. New arg extlang. Rename arg printers to extlang_printers
553 and change type to ext_lang_type_printers *.
554 (gdbpy_free_type_printers): Renamed from free_type_printers, made
555 static. Replace argument arg with extlang, extlang_printers.
556 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
557 (!HAVE_PYTHON, source_python_script): Delete.
558 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
559 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
560 (!HAVE_PYTHON, start_type_printers): Delete.
561 (!HAVE_PYTHON, apply_type_printers): Delete.
562 (!HAVE_PYTHON, free_type_printers): Delete.
563 (_initialize_python): Delete call to observer_attach_before_prompt.
564 (finalize_python): Set/restore active extension language.
565 (gdbpy_finish_initialization) Renamed from
566 finish_python_initialization, made static. New arg extlang.
567 (gdbpy_initialized): New function.
568 * python/python.h: #include "extension.h". Delete #include
569 "value.h", "mi/mi-cmds.h".
570 (extension_language_python): Declare.
571 (GDBPY_AUTO_FILE_NAME): Delete.
572 (enum py_bt_status): Moved to extension.h and renamed to
573 ext_lang_bt_status.
574 (enum frame_filter_flags): Moved to extension.h.
575 (enum py_frame_args): Moved to extension.h and renamed to
576 ext_lang_frame_args.
577 (finish_python_initialization): Delete.
578 (eval_python_from_control_command): Delete.
579 (source_python_script): Delete.
580 (apply_val_pretty_printer): Delete.
581 (apply_frame_filter): Delete.
582 (preserve_python_values): Delete.
583 (gdbpy_script_language_defn): Delete.
584 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
585 (start_type_printers, apply_type_printers, free_type_printers): Delete.
586
587 * auto-load.c: #include "extension.h".
588 (GDB_AUTO_FILE_NAME): Delete.
589 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
590 (script_language_gdb): Delete, moved to extension.c and renamed to
591 extension_language_gdb.
592 (source_gdb_script_for_objfile): Delete.
593 (auto_load_pspace_info): New member unsupported_script_warning_printed.
594 (loaded_script): Change type of language member to
595 struct extension_language_defn *.
596 (init_loaded_scripts_info): Initialize
597 unsupported_script_warning_printed.
598 (maybe_add_script): Make static. Change type of language arg to
599 struct extension_language_defn *.
600 (clear_section_scripts): Reset unsupported_script_warning_printed.
601 (auto_load_objfile_script_1): Rewrite to use extension language API.
602 (auto_load_objfile_script): Make public. Remove support-compiled-in
603 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
604 (source_section_scripts): Rewrite to use extension language API.
605 (load_auto_scripts_for_objfile): Rewrite to use
606 auto_load_scripts_for_objfile.
607 (collect_matching_scripts_data): Change type of language member to
608 struct extension_language_defn *.
609 (auto_load_info_scripts): Change type of language arg to
610 struct extension_language_defn *.
611 (unsupported_script_warning_print): New function.
612 (script_not_found_warning_print): Make static.
613 (_initialize_auto_load): Rewrite construction of scripts-directory
614 help.
615 * auto-load.h (struct objfile): Add forward decl.
616 (struct script_language): Delete.
617 (struct auto_load_pspace_info): Add forward decl.
618 (struct extension_language_defn): Add forward decl.
619 (maybe_add_script): Delete.
620 (auto_load_objfile_script): Declare.
621 (script_not_found_warning_print): Delete.
622 (auto_load_info_scripts): Update prototype.
623 (auto_load_gdb_scripts_enabled): Declare.
624 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
625 auto_load_python_scripts_enabled and made public.
626 (script_language_python): Delete, moved to python.c.
627 (gdbpy_script_language_defn): Delete.
628 (info_auto_load_python_scripts): Update to use
629 extension_language_python.
630
631 * breakpoint.c (condition_command): Replace call to
632 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
633 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
634 with call to breakpoint_ext_lang_cond_says_stop.
635 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
636 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
637 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
638 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
639 New arg slang.
640 (local_setattro): Print name of extension language with existing
641 stop condition.
642
643 * valprint.c (val_print, value_print): Update to call
644 apply_ext_lang_val_pretty_printer.
645 * cp-valprint.c (cp_print_value): Update call to
646 apply_ext_lang_val_pretty_printer.
647 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
648 (gdbpy_apply_val_pretty_printer): Renamed from
649 apply_val_pretty_printer. New arg extlang.
650 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
651
652 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
653 extension language API.
654 * cli/cli-script.c (execute_control_command): Update to call
655 eval_ext_lang_from_control_command.
656
657 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
658 enum ext_lang_bt_status values. Update call to
659 apply_ext_lang_frame_filter.
660 (mi_cmd_stack_list_locals): Ditto.
661 (mi_cmd_stack_list_args): Ditto.
662 (mi_cmd_stack_list_variables): Ditto.
663 * mi/mi-main.c: Delete #include "python/python-internal.h".
664 Add #include "extension.h".
665 (mi_cmd_list_features): Replace reference to python internal variable
666 gdb_python_initialized with call to ext_lang_initialized_p.
667
668 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
669 Update to use enum ext_lang_frame_args. Update to call
670 apply_ext_lang_frame_filter.
671 * python/py-framefilter.c (extract_sym): Update to use enum
672 ext_lang_bt_status.
673 (extract_value, py_print_type, py_print_value): Ditto.
674 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
675 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
676 (py_print_frame): Ditto.
677 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
678 New arg extlang. Update to use enum ext_lang_bt_status.
679
680 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
681 finish_python_initialization. Replace with call to
682 finish_ext_lang_initialization.
683
684 * typeprint.c (do_free_global_table): Update to call
685 free_ext_lang_type_printers.
686 (create_global_typedef_table): Update to call
687 start_ext_lang_type_printers.
688 (find_global_typedef): Update to call apply_ext_lang_type_printers.
689 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
690 (type_print_options): Change type of global_printers from "void *"
691 to "struct ext_lang_type_printers *".
692
693 * value.c (preserve_values): Update to call preserve_ext_lang_values.
694 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
695 (gdbpy_preserve_values): Renamed from preserve_python_values.
696 New arg extlang.
697 (!HAVE_PYTHON, preserve_python_values): Delete.
698
699 * utils.c (quit_flag): Delete, moved to extension.c.
700 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
701 extension.c.
702
703 * eval.c: Delete #include "python/python.h".
704 * main.c: Delete #include "python/python.h".
705
706 * defs.h: Update comment.
707
6af79985
JB
7082014-02-06 Joel Brobecker <brobecker@adacore.com>
709
710 GDB 7.7 released.
711
12c5175d
MK
7122014-02-05 Mark Kettenis <kettenis@gnu.org>
713
714 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
715 defined.
716
8dc5b319
YQ
7172014-02-05 Yao Qi <yao@codesourcery.com>
718
719 * remote.c (remote_pass_signals): Remove local 'buf' and use
720 rs->buf.
721 (remote_program_signals): Likewise.
722
de7b2893
YQ
7232014-02-05 Yao Qi <yao@codesourcery.com>
724
725 * ctf.c: Include "inferior.h" and "gdbthread.h".
726 (CTF_PID): A new macro.
727 (ctf_open): Call inferior_appeared and add_thread_silent.
728 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
729 (ctf_thread_alive): New function.
730 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
731
66d032ac
YQ
7322014-02-05 Yao Qi <yao@codesourcery.com>
733
734 Revert this patch:
735
736 2013-05-24 Yao Qi <yao@codesourcery.com>
737
738 * tracepoint.c (TFILE_PID): Remove.
739 (tfile_open): Don't add thread and inferior.
740 (tfile_close): Don't set 'inferior_ptid'. Don't call
741 exit_inferior_silent.
742 (tfile_thread_alive): Remove.
743 (init_tfile_ops): Don't set field 'to_thread_alive' of
744 tfile_ops.
745
f4ccffad
CE
7462014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
747
748 * remote.c (remote_start_remote): Call remote_check_symbols even
749 if only symbol-file (not file) has been given.
750
591a12a1
UW
7512014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
752
753 * gdbarch.sh (skip_entrypoint): New callback.
754 * gdbarch.c, gdbarch.h: Regenerate.
755 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
756 * infrun.c (fill_in_stop_func): Likewise.
757 * ppc-linux-tdep.c: Include "elf/ppc64.h".
758 (ppc_elfv2_elf_make_msymbol_special): New function.
759 (ppc_elfv2_skip_entrypoint): Likewise.
760 (ppc_linux_init_abi): Install them for ELFv2.
761
cc0e89c5
UW
7622014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
763
764 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
765 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
766 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
767 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
768 structures returned in GPRs.
769
52f548e4
UW
7702014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
771
772 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
773 offset to the stack parameter list for the ELFv2 ABI.
774
d4094b6a
UW
7752014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
776
777 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
778 set_gdbarch_convert_from_func_ptr_addr and
779 set_gdbarch_elf_make_msymbol_special for ELFv1.
780 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
781 function descriptors on ELFv1.
782 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
783 set up r12 at function entry.
784
cd453cd0
UW
7852014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
786
787 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
788 (struct gdbarch_tdep): New member elf_abi.
789
790 * rs6000-tdep.c: Include "elf/ppc64.h".
791 (rs6000_gdbarch_init): Detect ELF ABI version.
792
0ff3e01f
UW
7932014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
794
795 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
796 within a register pair holding a DFP 128-bit value on little-endian.
797 (ppc64_sysv_abi_return_value_base): Likewise.
798 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
799 (dfp_pseudo_register_write): Likewise.
800
5b757e5d
UW
8012014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
802
803 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
804 offset on little-endian when passing _Decimal32.
805 (ppc64_sysv_abi_return_value_base): Likewise for return values.
806
084ee545
UW
8072014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
808
809 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
810 of the overlapped FP register within the VSX register on little-
811 endian platforms.
812 (efpr_pseudo_register_write): Likewise.
813
d63167af
UW
8142014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
815
816 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
817 offset on little-endian when passing small structures.
818
e765b44c
UW
8192014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
820
821 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
822 (struct ppc64_sysv_argpos): New data structure.
823 (ppc64_sysv_abi_push_float): Remove.
824 (ppc64_sysv_abi_push_val): New function.
825 (ppc64_sysv_abi_push_integer): Likewise.
826 (ppc64_sysv_abi_push_freg): Likewise.
827 (ppc64_sysv_abi_push_vreg): Likewise.
828 (ppc64_sysv_abi_push_param): Likewise.
829 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
830 (ppc64_sysv_abi_return_value_base): New function.
831 (ppc64_sysv_abi_return_value): Refactor to use it.
832
36c24d95
UW
8332014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
834
835 * NEWS: Document new target powerpc64le-*-linux*.
836
26fd9228
MK
8372014-02-04 Mark Kettenis <kettenis@gnu.org>
838
839 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
840 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
841 core dumps.
842 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
843 register set used in ELF core dumps. Add floating-point register set.
844
c5bb7362
KB
8452014-02-03 Kevin Buettner <kevinb@redhat.com>
846
847 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
848 dwarf2_to_gdb[] table using symbolic constants. Adjust
849 penultimate entry from number representing the PC register
850 to symbolic constant representing the MDR register. Add
851 constant for the PC register to the end of the table.
852
af09351e
MK
8532014-02-03 Mark Kettenis <kettenis@gnu.org>
854
855 * bsd-kvm.c: Include <sys/param.h>
856
8507e05d
MK
8572014-02-03 Mark Kettenis <kettenis@gnu.org>
858
859 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
860
ae56bfb8
JB
8612014-01-31 Joel Brobecker <brobecker@adacore.com>
862
863 * ada-lang.h (clear_ada_sym_cache): Delete.
864
718ee4dc
UW
8652014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
866
867 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
868
401e27fd
JM
8692014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
870
871 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
872 the sigreturn register save area only if the syscall is
873 sigreturn.
874
a7c88acd
JB
8752014-01-29 Joel Brobecker <brobecker@adacore.com>
876
877 * valops.c (value_slice): Minor reformatting.
878
fa0079ea
UW
8792014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
880
881 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
882
c6044dd1
JB
8832014-01-28 Joel Brobecker <brobecker@adacore.com>
884
885 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
886 New static globals.
887 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
888 (ada_ignore_descriptive_types_p): New static global.
889 (find_parallel_type_by_descriptive_type): Return immediately
890 if ada_ignore_descriptive_types_p is set.
891 (_initialize_ada_language): Register new commands "maintenance
892 set ada", "maintenance show ada", "maintenance set ada
893 ignore-descriptive-types" and "maintenance show ada
894 ignore-descriptive-types".
895 * NEWS: Add entry for new "maint ada set/show
896 ignore-descriptive-types" commands.
897
568e808b
MM
8982014-01-27 Markus Metzger <markus.t.metzger@intel.com>
899
900 * record-btrace.c (record_btrace_close): Call btrace_teardown
901 for all threads.
902
467d141b
JB
9032014-01-27 Joel Brobecker <brobecker@adacore.com>
904
905 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
906 "ui-out.h".
907
fb151210
JB
9082014-01-27 Joel Brobecker <brobecker@adacore.com>
909
910 * ada-typeprint (type_is_full_subrange_of_target_type):
911 New function.
912 (print_range): Add parameter bounds_prefered_p. If not set,
913 try printing range types using the name of their base type.
914 (print_range_type): Add parameter bounds_prefered_p.
915 Use it in call to print_range.
916 (print_array_type, ada_print_type): Update calls to print_range
917 and print_range_type.
918
aba02109
JB
9192014-01-27 Joel Brobecker <brobecker@adacore.com>
920
921 * ada-typeprint.c (print_array_type, print_choices, print_range)
922 (print_range_bound, print_dynamic_range_bound, print_range_type):
923 Remove declaration.
924
e62e21fd
JB
9252014-01-27 Joel Brobecker <brobecker@adacore.com>
926
927 * ada-typeprint.c (print_range): Add missing empty line
928 after local declaration.
929
859cf5d1
JB
9302014-01-27 Joel Brobecker <brobecker@adacore.com>
931
932 * ada-valprint.c (print_optional_low_bound): Get index_type's
933 target type for as long as it is a TYPE_CODE_RANGE.
934
25790f6f
JB
9352014-01-27 Joel Brobecker <brobecker@adacore.com>
936
937 * procfs.c (procfs_make_note_section): Remove assertion and
938 associated comment.
939
6b6aa828
YQ
9402014-01-24 Yao Qi <yao@codesourcery.com>
941
942 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
943 * corelow.c (get_core_siginfo): Likewise.
944
5d6df423
YQ
9452014-01-24 Yao Qi <yao@codesourcery.com>
946
947 * remote.c (remote_write_bytes_aux): Change type of 'len' to
948 ULONGEST. Don't check 'len' is negative.
949 (remote_write_bytes): Change type of 'len' to ULONGEST.
950
83b645b8
TT
9512014-01-23 Tom Tromey <tromey@redhat.com>
952
953 PR python/16485:
954 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
955 Handle exception from frame.block.
956 (FrameVars.fetch_frame_locals): Likewise.
957
0740f8d8
TT
9582014-01-23 Tom Tromey <tromey@redhat.com>
959
960 PR python/16487:
961 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
962 on a NULL pointer. Move "goto error" to correct place.
963
21909fa1
TT
9642014-01-23 Tom Tromey <tromey@redhat.com>
965
966 PR python/16491:
967 * python/py-framefilter.c (apply_frame_filter): Call
968 ensure_python_env after computing gdbarch.
969
17fde6d0
YQ
9702014-01-23 Yao Qi <yao@codesourcery.com>
971
972 * target.c (raw_memory_xfer_partial): Change argument type
973 from void * to gdb_byte *.
974 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
975
87ce2a04
DE
9762014-01-22 Doug Evans <dje@google.com>
977
978 New gdbserver option --debug-format=timestamp.
979 * NEWS: Mention it.
980
237b092b
AA
9812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
982
983 * syscalls/s390x-linux.xml: New file.
984 * syscalls/s390-linux.xml: New file.
985 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
986 (XML_SYSCALL_FILENAME_S390X): Likewise.
987 (op_svc): New enum value for SVC opcode.
988 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
989 (s390_linux_get_syscall_number): New function.
990 (s390_gdbarch_init): Register '*get_syscall_number' and the
991 syscall xml file name.
992 * data-directory/Makefile.in (SYSCALLS_FILES): Add
993 "s390-linux.xml" and "s390x-linux.xml".
994 * NEWS: Announce new feature.
995
54bff650
BS
9962014-01-22 Baruch Siach <baruch@tkos.co.il>
997
998 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
999
14e361d7
PA
10002014-01-22 Pedro Alves <palves@redhat.com>
1001
1002 * xtensa-config.c: Include defs.h.
1003
46bbb3ed
JB
10042014-01-22 Joel Brobecker <brobecker@adacore.com>
1005
1006 * common/common-utils.h: Add "ARI:" comment beside __func__
1007 reference.
1008
3a80edfc
JB
10092014-01-22 Joel Brobecker <brobecker@adacore.com>
1010
1011 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
1012 documentation a bit.
1013
4869db5e
RM
10142014-01-21 Roland McGrath <mcgrathr@google.com>
1015
1016 * configure.ac: Call AM_PROG_INSTALL_STRIP.
1017 * configure: Regenerate.
1018 * aclocal.m4: Regenerate.
1019 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
1020 New substituted variables.
1021 (install-strip): New target.
1022 (INSTALL_SCRIPT): New substituted variable.
1023 (FLAGS_TO_PASS): Add it.
1024 (install-only): Use $(INSTALL_SCRIPT) rather than
1025 $(INSTALL_PROGRAM) for gcore.
1026
9ea4267d
TT
10272014-01-20 Tom Tromey <tromey@redhat.com>
1028
1029 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
1030 together.
1031
1f2bdf09
TT
10322014-01-20 Tom Tromey <tromey@redhat.com>
1033
1034 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
1035 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
1036 (deprecated_cmd_warning, complete_on_cmdlist): Update.
1037 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
1038 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
1039 (struct cmd_list_element) <flags>: Remove.
1040 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
1041 doc_allocated>: New fields.
1042 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
1043 bitfields.
1044 * maint.c (maintenance_do_deprecate): Update.
1045 * top.c (execute_command): Update.
1046
e671835b
BS
10472014-01-20 Baruch Siach <baruch@tkos.co.il>
1048
1049 * xtensa-linux-nat.c: Include asm/ptrace.h.
1050
50367cd2
IB
10512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1052
1053 * Makefile.in (SFILES): Add d-support.c.
1054 (COMMON_OBS): Add d-support.o.
1055 * d-lang.h (d_parse_symbol): Add comment, now defined in
1056 d-support.c.
1057 * d-lang.c (parse_call_convention)
1058 (parse_attributes, parse_function_types)
1059 (parse_function_args, parse_type, parse_identifier)
1060 (call_convention_p, d_parse_symbol): Move functions to ...
1061 * d-support.c: ... New file.
1062
ec9f644a
IB
10632014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1064
1065 * d-lang.h (d_parse_symbol): Add declaration.
1066 * d-lang.c (extract_identifiers)
1067 (extract_type_info): Remove functions.
1068 (parse_call_convention, parse_attributes)
1069 (parse_function_types, parse_function_args)
1070 (parse_type, parse_identifier, call_convention_p)
1071 (d_parse_symbol): New functions.
1072 (d_demangle): Use d_parse_symbol to demangle D symbols.
1073
94b1b47e
IB
10742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1075
1076 * d-lang.h (struct builtin_d_type): New data type.
1077 (builtin_d_type): Add declaration.
1078 * d-lang.c (d_language_arch_info, build_d_types)
1079 (builtin_d_type): New functions.
1080 (enum d_primitive_types): New data type.
1081 (d_language_defn): Change c_language_arch_info to
1082 d_language_arch_info.
1083 (d_type_data): New static variable.
1084 (_initialize_d_language): Initialize d_type_data.
1085
63778547
IB
10862014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1087
1088 * d-lang.h (d_main_name): Add declaration.
1089 * d-lang.c (d_main_name): New function.
1090 * symtab.c (find_main_name): Add call to d_main_name.
1091
3271ba66
IB
10922014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1093
1094 * d-lang.c (d_language_defn): Change macro_expansion_c to
1095 macro_expansion_no.
1096
d36b3012
IB
10972014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1098
1099 * MAINTAINERS: Add myself as a write-after-approval maintainer.
1100
c90a6fb7
SDJ
11012014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
1102
1103 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
1104 gdb_exception" declaration.
1105 * remote.c (getpkt_or_notif_sane): Likewise.
1106
749234e5
DE
11072014-01-17 Doug Evans <dje@google.com>
1108
1109 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
1110 function, contents of dirnames_to_char_ptr_vec_append moved here.
1111 (delim_string_to_char_ptr_vec): New function.
1112 (dirnames_to_char_ptr_vec_append): Rewrite.
1113 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
1114
df049a58
DE
11152014-01-17 Doug Evans <dje@google.com>
1116
1117 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
1118 and moved here ...
1119 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
1120 #include "common-utils.h".
1121 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
1122 * common/vec.h (VEC_ASSERT_PASS): Update.
1123 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
1124 (MACH_CHECK_ERROR): Update.
1125
69f97648
SM
11262014-01-17 Simon Marchi <simon.marchi@ericsson.com>
1127
1128 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
1129 comments.
1130 * gdbarch.h: Regenerate.
1131
98b1cfdc
TT
11322014-01-16 Tom Tromey <tromey@redhat.com>
1133
1134 * value.c (struct value) <regnum>: Move earlier.
1135
77a19445
TT
11362014-01-16 Tom Tromey <tromey@redhat.com>
1137
1138 * remote.c (extended_remote_create_inferior): Rename from
1139 extended_remote_create_inferior_1. Add "ops" argument. Remove
1140 old implementation.
1141
62261490
PA
11422014-01-16 Pedro Alves <palves@redhat.com>
1143
1144 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
1145 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
1146 the backchain.
1147
4d65956b
DE
11482014-01-16 Doug Evans <dje@google.com>
1149
1150 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
1151
52834460
MM
11522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1153
1154 * btrace.h (btrace_thread_flag): New.
1155 (struct btrace_thread_info) <flags>: New.
1156 * record-btrace.c (record_btrace_resume_thread)
1157 (record_btrace_find_thread_to_move, btrace_step_no_history)
1158 (btrace_step_stopped, record_btrace_start_replaying)
1159 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
1160 (record_btrace_find_resume_thread): New.
1161 (record_btrace_resume, record_btrace_wait): Extend.
1162 (record_btrace_can_execute_reverse): New.
1163 (record_btrace_open): Fail in non-stop mode.
1164 (record_btrace_set_replay): Split into this, ...
1165 (record_btrace_stop_replaying): ... this, ...
1166 (record_btrace_clear_histories): ... and this.
1167 (init_record_btrace_ops): Init to_can_execute_reverse.
1168 * NEWS: Announce it.
1169
118e6252
MM
11702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1171
1172 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
1173 (forward_target_decr_pc_after_break)
1174 (target_decr_pc_after_break): New.
1175 * target.c (forward_target_decr_pc_after_break)
1176 (target_decr_pc_after_break): New.
1177 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
1178 instead of gdbarch_decr_pc_after_break.
1179 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
1180 instead of gdbarch_decr_pc_after_break.
1181 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
1182 instead of gdbarch_decr_pc_after_break.
1183 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
1184 instead of gdbarch_decr_pc_after_break.
1185 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
1186 instead of gdbarch_decr_pc_after_break.
1187 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
1188 instead of gdbarch_decr_pc_after_break.
1189
6e07b1d2
MM
11902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1191
1192 * btrace.c: Include regcache.h.
1193 (btrace_add_pc): New.
1194 (btrace_enable): Call btrace_add_pc.
1195 (btrace_is_empty): New.
1196 * btrace.h (btrace_is_empty): New.
1197 * record-btrace.c (require_btrace, record_btrace_info): Call
1198 btrace_is_empty.
1199
969c39fb
MM
12002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1201
1202 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
1203 Support delta reads.
1204 (linux_disable_btrace): Change return type.
1205 * common/linux-btrace.h (linux_read_btrace): Change parameters
1206 and return type to allow error reporting. Update users.
1207 (linux_disable_btrace): Change return type. Update users.
1208 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
1209 New.
1210 (btrace_error): New.
1211 (btrace_block) <begin>: Comment on BEGIN == 0.
1212 * btrace.c (btrace_compute_ftrace): Start from the end of
1213 the current trace.
1214 (btrace_stitch_trace, btrace_clear_history): New.
1215 (btrace_fetch): Read delta trace, return if replaying.
1216 (btrace_clear): Move clear history code to btrace_clear_history.
1217 (parse_xml_btrace): Throw an error if parsing failed.
1218 * target.h (struct target_ops) <to_read_btrace>: Change parameters
1219 and return type to allow error reporting.
1220 (target_read_btrace): Change parameters and return type to allow
1221 error reporting.
1222 * target.c (target_read_btrace): Update.
1223 * remote.c (remote_read_btrace): Support delta reads. Pass
1224 errors on.
1225 * NEWS: Announce it.
1226
0b722aec
MM
12272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1228
1229 * record.h (record_btrace_frame_unwind)
1230 (record_btrace_tailcall_frame_unwind): New declarations.
1231 * dwarf2-frame: Include record.h
1232 (dwarf2_frame_cfa): Throw an error for btrace frames.
1233 * record-btrace.c: Include hashtab.h.
1234 (btrace_get_bfun_name): New.
1235 (btrace_call_history): Call btrace_get_bfun_name.
1236 (struct btrace_frame_cache): New.
1237 (bfcache): New.
1238 (bfcache_hash, bfcache_eq, bfcache_new): New.
1239 (btrace_get_frame_function): New.
1240 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
1241 (record_btrace_frame_this_id): Compute own id.
1242 (record_btrace_frame_prev_register): Provide PC, throw_error
1243 for all other registers.
1244 (record_btrace_frame_sniffer): Detect btrace frames.
1245 (record_btrace_tailcall_frame_sniffer): New.
1246 (record_btrace_frame_dealloc_cache): New.
1247 (record_btrace_frame_unwind): Add new functions.
1248 (record_btrace_tailcall_frame_unwind): New.
1249 (_initialize_record_btrace): Allocate cache.
1250 * btrace.c (btrace_clear): Call reinit_frame_cache.
1251 * NEWS: Announce it.
1252
066ce621
MM
12532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1254
1255 * record-btrace.c (record_btrace_set_replay)
1256 (record_btrace_goto_begin, record_btrace_goto_end)
1257 (record_btrace_goto): New.
1258 (init_record_btrace_ops): Initialize them.
1259 * NEWS: Announce it.
1260
e2887aa3
MM
12612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1262
1263 * record-btrace.c (record_btrace_find_new_threads)
1264 (record_btrace_thread_alive): New.
1265 (init_record_btrace_ops): Initialize to_find_new_threads and
1266 to_thread_alive.
1267
b2f4cfde
MM
12682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1269
1270 * record-btrace.c (record_btrace_resume): New.
1271 (record_btrace_wait): New.
1272 (init_record_btrace_ops): Initialize to_wait and to_resume.
1273
633785ff
MM
12742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1275
1276 * record-btrace.c (record_btrace_xfer_partial)
1277 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
1278 (record_btrace_allow_memory_access): New.
1279 (init_record_btrace_ops): Initialize new methods.
1280 * target.c (raw_memory_xfer_partial): Bail out if target reports
1281 that this memory is not available.
1282
3db08215
MM
12832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1284
1285 * target.h (target_ops) <to_insert_breakpoint>
1286 <to_remove_breakpoint>: Add target_ops parameter.
1287 (forward_target_insert_breakpoint): New.
1288 (forward_target_remove_breakpoint): New.
1289 (memory_remove_breakpoint, memory_insert_breakpoint):
1290 Add target_ops parameter.
1291 * target.c (target_insert_breakpoint): Split into this and ...
1292 (forward_target_insert_breakpoint): ... this.
1293 (target_remove_breakpoint): Split into this and ...
1294 (forward_target_remove_breakpoint): ... this.
1295 (debug_to_insert_breakpoint): Add target_ops parameter.
1296 Call forward_target_insert_breakpoint.
1297 (debug_to_remove_breakpoint): Add target_ops parameter.
1298 Call forward_target_remove_breakpoint.
1299 (update_current_target): Do not inherit or default to_insert_breakpoint
1300 and to_remove_breakpoint.
1301 * corelow.c (ignore): Add target_ops parameter.
1302 * exec.c (ignore): Add target_ops parameter.
1303 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
1304 Add target_ops parameter.
1305 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
1306 Add target_ops parameter.
1307 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
1308 Add target_ops parameter.
1309 * record-full.c (record_full_beneath_to_insert_breakpoint)
1310 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
1311 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
1312 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
1313 (record_full_core_remove_breakpoint): Add target_ops parameter.
1314 Update users.
1315 (record_full_beneath_to_insert_breakpoint_ops)
1316 (record_full_beneath_to_remove_breakpoint_ops)
1317 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
1318 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
1319 tmp_to_remove_breakpoint_ops,
1320 record_full_beneath_to_insert_breakpoint_ops, and
1321 record_full_beneath_to_remove_breakpoint_ops.
1322 * remote-m32r-sdi.c (m32r_insert_breakpoint)
1323 (m32r_remove_breakpoint): Add target_ops parameter.
1324 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
1325 Add target_ops parameter.
1326 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
1327 Add target_ops parameter.
1328
cecac1ab
MM
13292014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1330 Markus Metzger <markus.t.metzger@intel.com>
1331
1332 * record-btrace.c: Include frame-unwind.h.
1333 (record_btrace_frame_unwind_stop_reason)
1334 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
1335 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
1336 New.
1337 (init_record_btrace_ops): Install it.
1338
824344ca
MM
13392014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1340
1341 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
1342 get_prev_frame_1.
1343
32261e52
MM
13442014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1345
1346 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
1347 earlier.
1348
ea001bdc
MM
13492014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1350
1351 * frame-unwind.c: Include target.h.
1352 (frame_unwind_try_unwinder): New function with code from ...
1353 (frame_unwind_find_by_frame): ... here. New variable
1354 unwinder_from_target, call also target_get_unwinder)
1355 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
1356 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
1357 * target.h (struct target_ops): New fields to_get_unwinder and
1358 to_get_tailcall_unwinder.
1359 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
1360
1f3ef581
MM
13612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1362
1363 * record-btrace.c (record_btrace_fetch_registers)
1364 (record_btrace_store_registers)
1365 (record_btrace_to_prepare_to_store): New.
1366 (init_record_btrace_ops): Add the above.
1367
f32dbf8c
MM
13682014-01-16 Tom Tromey <tromey@redhat.com>
1369
1370 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
1371 * target.h (struct target_ops) <to_prepare_to_store>: Add
1372 argument.
1373 (target_prepare_to_store): Add argument.
1374 * target.c (debug_to_prepare_to_store): Add argument.
1375 (update_current_target): Update.
1376 * remote.c (remote_prepare_to_store): Add 'self' argument.
1377 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
1378 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
1379 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
1380 * record-full.c (record_full_core_prepare_to_store): Add 'self'
1381 argument.
1382 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
1383 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
1384 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
1385 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
1386 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
1387
07bbe694
MM
13882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1389
1390 * btrace.h (replay) <replay>: New.
1391 (btrace_is_replaying): New.
1392 * btrace.c (btrace_clear): Free replay iterator.
1393 (btrace_is_replaying): New.
1394 * record-btrace.c (record_btrace_is_replaying): New.
1395 (record_btrace_info): Print insn number if replaying.
1396 (record_btrace_insn_history): Start at replay position.
1397 (record_btrace_call_history): Start at replay position.
1398 (init_record_btrace_ops): Init to_record_is_replaying.
1399
0688d04e
MM
14002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1401
1402 * record-btrace.c (record_btrace_insn_history_range): Include
1403 end.
1404 (record_btrace_insn_history_from): Adjust range.
1405 (record_btrace_call_history_range): Include
1406 end.
1407 (record_btrace_call_history_from): Adjust range.
1408 * NEWS: Announce changes.
1409
8710b709
MM
14102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1411
1412 * record.h (enum record_print_flag)
1413 <record_print_indent_calls>: New.
1414 * record.c (get_call_history_modifiers): Recognize /c modifier.
1415 (_initialize_record): Document /c modifier.
1416 * record-btrace.c (btrace_call_history): Add btinfo parameter.
1417 Reorder fields. Optionally indent the function name. Update
1418 all users.
1419 * NEWS: Announce changes.
1420
d0fa7535
MM
14212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1422
1423 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
1424
5de9129b
MM
14252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1426
1427 * btrace.c (ftrace_new_function): Start counting at one.
1428 * record-btrace.c (record_btrace_info): Adjust number of calls
1429 and insns.
1430 * NEWS: Announce it.
1431
7acbe133
MM
14322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1433
1434 * record-btrace.c (btrace_call_history_insn_range): Print
1435 insn range as [begin, end].
1436
23a7fe75
MM
14372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1438
1439 * btrace.h (struct btrace_func_link): New.
1440 (enum btrace_function_flag): New.
1441 (struct btrace_inst): Rename to ...
1442 (struct btrace_insn): ...this. Update all users.
1443 (struct btrace_func) <ibegin, iend>: Remove.
1444 (struct btrace_func_link): New.
1445 (struct btrace_func): Rename to ...
1446 (struct btrace_function): ...this. Update all users.
1447 (struct btrace_function) <segment, flow, up, insn, insn_offset)
1448 (number, level, flags>: New.
1449 (struct btrace_insn_iterator): Rename to ...
1450 (struct btrace_insn_history): ...this.
1451 Update all users.
1452 (struct btrace_insn_iterator, btrace_call_iterator): New.
1453 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
1454 (struct btrace_target_info) <begin, end, level>
1455 <insn_history, call_history>: New.
1456 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
1457 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
1458 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
1459 (btrace_call_number, btrace_call_begin, btrace_call_end)
1460 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
1461 (btrace_find_function_by_number, btrace_set_insn_history)
1462 (btrace_set_call_history): New.
1463 * btrace.c (btrace_init_insn_iterator)
1464 (btrace_init_func_iterator, compute_itrace): Remove.
1465 (ftrace_print_function_name, ftrace_print_filename)
1466 (ftrace_skip_file): Change
1467 parameter to const.
1468 (ftrace_init_func): Remove.
1469 (ftrace_debug): Use new btrace_function fields.
1470 (ftrace_function_switched): Also consider gaining and
1471 losing symbol information).
1472 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
1473 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
1474 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
1475 New.
1476 (ftrace_new_function): Move. Remove debug print.
1477 (ftrace_update_lines, ftrace_update_insns): New.
1478 (ftrace_update_function): Check for call, ret, and jump.
1479 (compute_ftrace): Renamed to ...
1480 (btrace_compute_ftrace): ...this. Rewritten to compute call
1481 stack.
1482 (btrace_fetch, btrace_clear): Updated.
1483 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
1484 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
1485 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
1486 (btrace_call_number, btrace_call_begin, btrace_call_end)
1487 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
1488 (btrace_find_function_by_number, btrace_set_insn_history)
1489 (btrace_set_call_history): New.
1490 * record-btrace.c (require_btrace): Use new btrace thread
1491 info fields.
1492 (record_btrace_info, btrace_insn_history)
1493 (record_btrace_insn_history, record_btrace_insn_history_range):
1494 Use new btrace thread info fields and new iterator.
1495 (btrace_func_history_src_line): Rename to ...
1496 (btrace_call_history_src_line): ...this. Use new btrace
1497 thread info fields.
1498 (btrace_func_history): Rename to ...
1499 (btrace_call_history): ...this. Use new btrace thread info
1500 fields and new iterator.
1501 (record_btrace_call_history, record_btrace_call_history_range):
1502 Use new btrace thread info fields and new iterator.
1503
8372a7cb
MM
15042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1505
1506 * frame.h (frame_id_build_unavailable_stack_special): New.
1507 * frame.c (frame_id_build_unavailable_stack_special): New.
1508
c2170eef
MM
15092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1510
1511 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
1512 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
1513 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
1514 to gdbarch.
1515 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
1516 (i386_insn_is_jump, i386_jmp_p): New.
1517 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
1518 insn_is_jump to gdbarch.
1519 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
1520 * gdbarch.h: Regenerated.
1521 * gdbarch.c: Regenerated.
1522 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
1523 (default_insn_is_jump): New.
1524 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
1525 (default_insn_is_jump): New.
1526
864089d2
MM
15272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1528
1529 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
1530 Change to ...
1531 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
1532 (btrace_read_type) <btrace_read_new>: Change to ...
1533 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
1534
ed9edfb5
MM
15352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1536
1537 * common/linux-btrace.c (linux_read_btrace): Free trace from
1538 previous iteration.
1539
fbcbc3fd
DE
15402014-01-15 Doug Evans <dje@google.com>
1541
1542 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
1543 uint32_t.
1544
3d548a53
TT
15452014-01-15 Tom Tromey <tromey@redhat.com>
1546
1547 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
1548 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
1549 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
1550 (set_objfile_main_name): New function.
1551 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
1552 language_of_main>: New fields.
1553 (set_objfile_main_name): Declare.
1554 * symtab.c (find_main_name): Loop over objfiles to find the main
1555 name and language.
1556 (set_main_name): Now static.
1557 (get_main_info): Add comment.
1558 * symtab.h (set_main_name): Don't declare.
1559
32ac0d11
TT
15602014-01-15 Tom Tromey <tromey@redhat.com>
1561
1562 * symtab.c (main_progspace_key): New global.
1563 (struct main_info): New.
1564 (name_of_main, language_of_main): Remove.
1565 (get_main_info, main_info_cleanup): New function.
1566 (set_main_name, main_name, main_language): Use get_main_info.
1567 (_initialize_symtab): Initialize main_progspace_key.
1568
9e6c82ad
TT
15692014-01-15 Tom Tromey <tromey@redhat.com>
1570
1571 * dbxread.c (process_one_symbol): Update.
1572 * dwarf2read.c (read_partial_die): Update.
1573 * symfile.c (set_initial_language): Call main_language.
1574 * symtab.c (language_of_main): Now static.
1575 (set_main_name): Add 'lang' parameter.
1576 (find_main_name): Update.
1577 (main_language): New function.
1578 (symtab_observer_executable_changed): Update.
1579 * symtab.h (set_main_name): Update.
1580 (language_of_main): Remove.
1581 (main_language): Declare.
1582
6ef55de7
TT
15832014-01-15 Tom Tromey <tromey@redhat.com>
1584
1585 * symfile.c (init_entry_point_info): Use new "initialized" field.
1586 Update.
1587 * objfiles.h (struct entry_point) <initialized>: New field.
1588 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
1589 (struct objfile) <ei>: ...here. Remove.
1590 * objfiles.c (entry_point_address_query): Update.
1591
53eddfa6
TT
15922014-01-15 Tom Tromey <tromey@redhat.com>
1593
1594 * objfiles.c (entry_point_address_query): Relocate entry point
1595 address.
1596 (objfile_relocate1): Do not relocate entry point address.
1597 * objfiles.h (struct entry_info) <entry_point>: Update comment.
1598 <the_bfd_section_index>: New field.
1599 * symfile.c (init_entry_point_info): Find the entry point's
1600 section.
1601
d56e56aa
TT
16022014-01-15 Tom Tromey <tromey@redhat.com>
1603
1604 * solib-frv.c (enable_break): Use entry_point_address_query.
1605
33a97bbe
OJ
16062014-01-15 Omair Javaid <omair.javaid@linaro.org>
1607
1608 * NEWS: Add note on improved process record-replay on
1609 arm*-linux* targets.
1610
c6ec2b30
OJ
16112014-01-15 Omair Javaid <omair.javaid@linaro.org>
1612
1613 * arm-tdep.c (enum arm_record_result): New enum.
1614 (arm_record_unsupported_insn): New function.
1615 (arm_record_coproc_data_proc): Removed.
1616 (thumb2_record_ld_st_multiple): New function.
1617 (thumb2_record_ld_st_dual_ex_tbb): New function.
1618 (thumb2_record_data_proc_sreg_mimm): New function.
1619 (thumb2_record_ps_dest_generic): New function.
1620 (thumb2_record_branch_misc_cntrl): New function.
1621 (thumb2_record_str_single_data): New function.
1622 (thumb2_record_ld_mem_hints): New function.
1623 (thumb2_record_ld_word): New function.
1624 (thumb2_record_lmul_lmla_div): New function.
1625 (thumb2_record_decode_insn_handler): New function.
1626 (decode_insn): Add thumb32 instruction handlers.
1627
97dfe206
OJ
16282014-01-15 Omair Javaid <omair.javaid@linaro.org>
1629
1630 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
1631 (struct arm_linux_record_tdep): Declare.
1632 (arm_canonicalize_syscall): New function.
1633 (arm_all_but_pc_registers_record): New function.
1634 (arm_linux_syscall_record): New function.
1635 (arm_linux_init_abi): Add syscall recording constructs.
1636 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
1637 decoding. (arm_record_coproc_data_proc): Update arm syscall
1638 decoding.
1639 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
1640 <arm_syscall_record>: New field.
1641 * configure.tgt (arm*-*-linux*): Add linux-record.o to
1642 gdb_target_obs.
1643
9904a494
OJ
16442014-01-15 Omair Javaid <omair.javaid@linaro.org>
1645
1646 * arm-tdep.c (thumb_record_misc): Update to use sp as base
1647 register for push instruction recording.
1648
f969241e
OJ
16492014-01-15 Omair Javaid <omair.javaid@linaro.org>
1650
1651 * arm-tdep.c (thumb_record_misc): Update to correct logical
1652 error while recording ldm, ldmia and pop instructions.
1653
bfbbec00
OJ
16542014-01-15 Omair Javaid <omair.javaid@linaro.org>
1655
1656 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
1657
e40adcc9
PA
16582014-01-15 Pedro Alves <palves@redhat.com>
1659
1660 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
1661 (go32_resume, go32_fetch_registers, store_register)
1662 (go32_store_registers, go32_prepare_to_store)
1663 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
1664 (go32_create_inferior, go32_can_run, go32_terminal_init)
1665 (go32_terminal_inferior, go32_terminal_ours): Delete forward
1666 declarations.
1667
b0a16e66
TT
16682014-01-15 Tom Tromey <tromey@redhat.com>
1669
1670 * target.h (async_callback_ftype): New typedef.
1671 (struct target_ops) <to_async>: Use it.
1672
bf7105a4
JB
16732014-01-15 Joel Brobecker <brobecker@adacore.com>
1674
1675 * python/py-value.c (get_field_type): Remove unnecessary curly
1676 braces for single-statement if block.
1677
a8f35c2e
JB
16782014-01-15 Joel Brobecker <brobecker@adacore.com>
1679
1680 * python/py-type.c (convert_field): Add missing empty line
1681 after declarations.
1682
bb4142cf
DE
16832014-01-14 Doug Evans <dje@google.com>
1684
1685 * symfile.h (expand_symtabs_matching): Renamed from
1686 expand_partial_symbol_names. Update prototype.
1687 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
1688 * symfile.c (expand_symtabs_matching): Renamed from
1689 expand_partial_symbol_names. New args file_matcher, kind.
1690 Rename arg fun to symbol_matcher.
1691 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
1692 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
1693 ada_expand_partial_symbol_name.
1694 (ada_make_symbol_completion_list): Update to call
1695 expand_symtabs_matching.
1696 (ada_add_global_exceptions): Call expand_symtabs_matching.
1697 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
1698 call map_symbol_filenames.
1699 * symtab.c (sources_info): Update to call map_symbol_filenames.
1700 (search_symbols): Call expand_symtabs_matching.
1701 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
1702 (default_make_symbol_completion_list_break_on): Update to call
1703 expand_symtabs_matching.
1704 (make_source_files_completion_list): Update to call
1705 map_symbol_filenames.
1706
206f2a57
DE
17072014-01-14 Doug Evans <dje@google.com>
1708
1709 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
1710 (expand_symtabs_symbol_matcher_ftype): New typedef.
1711 (quick_symbol_functions.expand_symtabs_matching): Update to use.
1712 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1713 * symfile.c (expand_partial_symbol_names): Update to use
1714 expand_symtabs_symbol_matcher_ftype.
1715 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
1716 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1717 Arg name_matcher renamed to symbol_matcher.
1718 * psymtab.c (recursively_search_psymtabs): Update to use
1719 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
1720 sym_matcher.
1721 (expand_symtabs_matching_via_partial): Update to use
1722 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1723 Arg name_matcher renamed to symbol_matcher.
1724
540c2971
DE
17252014-01-14 Doug Evans <dje@google.com>
1726
1727 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
1728 (map_partial_symbol_filenames): Ditto.
1729 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
1730 (map_partial_symbol_filenames): Ditto.
1731 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
1732 (map_partial_symbol_filenames): Ditto.
1733 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
1734 (map_partial_symbol_filenames): Ditto.
1735 * symtab.c: Delete #include "psymtab.h".
1736
8213266a
PA
17372014-01-14 Pedro Alves <palves@redhat.com>
1738 Tom Tromey <tromey@redhat.com>
1739
1740 * infrun.c (use_displaced_stepping): Use find_record_target
1741 instead of RECORD_IS_USED.
1742 (adjust_pc_after_break): Use record_full_is_used instead of
1743 RECORD_IS_USED.
1744 * record-btrace.c (record_btrace_open): Call record_preopen
1745 instead of checking RECORD_IS_USED.
1746 * record-full.c (record_full_shortname)
1747 (record_full_core_shortname): New globals.
1748 (record_full_is_used): New function.
1749 (find_full_open): Call record_preopen instead of checking
1750 RECORD_IS_USED.
1751 (init_record_full_ops): Set the target's shortname to
1752 record_full_shortname.
1753 (init_record_full_core_ops): Set the target's shortname to
1754 record_full_core_shortname.
1755 * record-full.h (record_full_is_used): Declare.
1756 * record.c (find_record_target): Make extern.
1757 (record_preopen): New function.
1758 * record.h (RECORD_IS_USED): Delete macro.
1759 (find_record_target, record_preopen): Declare functions.
1760
7ec1862d
YQ
17612014-01-14 Yao Qi <yao@codesourcery.com>
1762
1763 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
1764 'len''s type to ULONGEST.
1765 (core_xfer_shared_libraries_aix): Likewise.
1766 * gdbarch.c, gdbarch.h: Regenerated.
1767 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
1768 Change type of 'len' to ULONGEST.
1769 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1770 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
1771
dea80a27
YQ
17722014-01-14 Yao Qi <yao@codesourcery.com>
1773
1774 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
1775 type of 'len' to ULONGEST.
1776 (linux_xfer_osdata_processgroups): Likewise.
1777 (linux_xfer_osdata_threads): Likewise.
1778 (linux_xfer_osdata_fds): Likewise.
1779 (linux_xfer_osdata_isockets): Likewise.
1780 (linux_xfer_osdata_shm): Likewise.
1781 (linux_xfer_osdata_sem): Likewise.
1782 (linux_xfer_osdata_msg): Likewise.
1783 (linux_common_xfer_osdata): Likewise.
1784 (struct osdata_type) <getter>: Likewise.
1785 * common/linux-osdata.h (linux_common_xfer_osdata): Update
1786 the declaration.
1787
b55e14c7
YQ
17882014-01-14 Yao Qi <yao@codesourcery.com>
1789
1790 * target.h (target_xfer_partial_ftype): Update.
1791 (struct target_ops) <to_xfer_partial>: Change 'len' type to
1792 ULONGEST.
1793 * aix-thread.c (aix_thread_xfer_partial): Change type of
1794 argument 'len' to ULONGEST.
1795 * auxv.c (procfs_xfer_auxv): Likewise.
1796 (ld_so_xfer_auxv): Likewise.
1797 (memory_xfer_auxv): Likewise.
1798 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1799 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1800 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1801 * corelow.c (core_xfer_partial): Likewise.
1802 * ctf.c (ctf_xfer_partial): Likewise.
1803 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
1804 '%u'.
1805 (darwin_read_dyld_info): Likewise.
1806 (darwin_xfer_partial): Likewise.
1807 * exec.c (section_table_xfer_memory_partial): Likewise.
1808 (exec_xfer_partial): Likewise.
1809 * exec.h (section_table_xfer_memory_partial): Update
1810 declaration.
1811 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
1812 instead of plongest.
1813 (gnu_xfer_partial): Likewise.
1814 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
1815 (ia64_hpux_xfer_solib_got): Likewise.
1816 (ia64_hpux_xfer_partial): Likewise.
1817 * ia64-linux-nat.c (ia64_linux_xfer_partial):
1818 * inf-ptrace.c (inf_ptrace_xfer_partial):
1819 * inf-ttrace.c (inf_ttrace_xfer_partial):
1820 * linux-nat.c (linux_xfer_siginfo): Likewise.
1821 (linux_nat_xfer_partial): Likewise.
1822 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
1823 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
1824 * monitor.c (monitor_xfer_memory): Likewise.
1825 (monitor_xfer_partial): Likewise.
1826 * procfs.c (procfs_xfer_partial): Likewise.
1827 * record-full.c (record_full_xfer_partial): Likewise.
1828 (record_full_core_xfer_partial): Likewise.
1829 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
1830 instead of plongest.
1831 (gdbsim_xfer_partial): Likewise.
1832 * remote.c (remote_xfer_partial): Likewise.
1833 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1834 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1835 declaration.
1836 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1837 (rs6000_xfer_shared_libraries): Likewise.
1838 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1839 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1840 (sparc_xfer_partial): Likewise.
1841 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1842 (spu_xfer_partial): Likewise.
1843 * spu-multiarch.c (spu_xfer_partial): Likewise.
1844 * target.c (target_read_live_memory): Likewise.
1845 (memory_xfer_live_readonly_partial): Likewise.
1846 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
1847 (target_xfer_partial, default_xfer_partial): Likewise.
1848 (current_xfer_partial): Likewise.
1849 * tracepoint.c (tfile_xfer_partial): Likewise.
1850 * windows-nat.c (windows_xfer_memory): Likewise. Call
1851 pulongest instead of plongest.
1852 (windows_xfer_partial): Likewise.
1853 (windows_xfer_shared_libraries): Likewise.
1854
05804640
YQ
18552014-01-14 Yao Qi <yao@codesourcery.com>
1856
1857 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
1858 target_xfer_partial_ftype.
1859
b5b08fb4
SC
18602014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1861
1862 PR python/15464
1863 PR python/16113
1864 * valops.c (value_struct_elt_bitpos): New function
1865 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
1866 object to 'None' if the field name is an empty string ("").
1867 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
1868 attribute to look for a field when 'name' is 'None'.
1869 (get_field_type): New function
1870
13aaf454
DE
18712014-01-13 Doug Evans <dje@google.com>
1872
1873 PR symtab/16426
1874 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
1875 (try_open_dwop_file): Ditto.
1876 * gdb_bfd.c: #include "vec.h".
1877 (bfdp): New typedef.
1878 (struct gdb_bfd_data): New member included_bfds.
1879 (gdb_bfd_unref): Unref all included bfds.
1880 (gdb_bfd_record_inclusion): New function.
1881 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
1882
c2cec97c
TT
18832014-01-13 Tom Tromey <tromey@redhat.com>
1884
1885 * gdbcore.h (deprecated_core_resize_section_table): Remove.
1886
78e5999d
TT
18872014-01-13 Tom Tromey <tromey@redhat.com>
1888
1889 * defs.h (use_windows): Remove.
1890 * gdb.c (main): Update.
1891 * main.c (captured_main, gdb_main): Update.
1892 * main.h (struct captured_main_args) <use_windows>: Remove.
1893 * top.c (use_windows): Remove.
1894
f2052bbe
TT
18952014-01-13 Tom Tromey <tromey@redhat.com>
1896
1897 * defs.h (deprecated_flush_hook): Remove.
1898
fde4f8ed
JK
18992014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1900
1901 PR threads/16216
1902 * linux-thread-db.c (try_thread_db_load): Add parameter
1903 check_auto_load_safe. Move here the file_is_auto_load_safe call.
1904 (try_thread_db_load_from_pdir_1): Move it there from here.
1905 (try_thread_db_load_from_sdir): Update caller.
1906 (try_thread_db_load_from_dir): Move it there from here.
1907
bdf61915
PP
19082014-01-13 Patrick Palka <patrick@parcs.ath.cx>
1909
1910 * regformats/regdat.sh: Always rewrite the register file.
1911
f71e1a8d
PA
19122014-01-13 Pedro Alves <palves@redhat.com>
1913
1914 * Makefile.in (CHECK_HEADERS): New variable.
1915 (check-headers:): New rule.
1916
42c85435
TT
19172014-01-13 Tom Tromey <tromey@redhat.com>
1918
1919 * cli/cli-setshow.c (do_set_command): Update.
1920 * defs.h (deprecated_set_hook): Remove.
1921 * top.c (deprecated_set_hook): Remove.
1922
f8de5129
PA
19232014-01-13 Pedro Alves <palves@redhat.com>
1924
1925 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
1926 the tracepoint if the PC is a pseudo-register.
1927
fc270c35
TT
19282014-01-13 Tom Tromey <tromey@redhat.com>
1929
1930 * defs.h (XCALLOC): Remove.
1931 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
1932 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
1933 * dwarf2loc.c (allocate_piece_closure): Likewise.
1934 * elfread.c (elf_symfile_segments): Likewise.
1935 (elf_symfile_segments): Likewise.
1936 * gdbtypes.c (copy_type_recursive): Likewise.
1937 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
1938 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
1939 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
1940 XCALLOC.
1941 * mt-tdep.c (mt_gdbarch_init): Likewise.
1942 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
1943 XCALLOC.
1944 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
1945 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
1946 * registry.c (registry_alloc_data): Likewise.
1947 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
1948 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
1949 * serial.c (serial_fdopen_ops): Likewise.
1950 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
1951 XCALLOC.
1952 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
1953 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
1954 not XCALLOC.
1955
70ba0933
TT
19562014-01-13 Tom Tromey <tromey@redhat.com>
1957
1958 * defs.h (XMALLOC): Remove.
1959 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
1960 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
1961 * cli-out.c (struct ui_out *): Likewise.
1962 * cli/cli-dump.c (add_dump_command): Likewise.
1963 (add_dump_command): Likewise.
1964 * complaints.c (get_complaints): Likewise.
1965 (find_complaint): Likewise.
1966 * dwarf2-frame.c (execute_cfa_program): Likewise.
1967 * dwarf2read.c (abbrev_table_read_table): Likewise.
1968 * gdbarch.sh: Likewise.
1969 * gdbarch.c: Rebuild.
1970 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
1971 * interps.c (interp_new): Likewise.
1972 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
1973 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
1974 * mi/mi-console.c (mi_console_file_new): Likewise.
1975 * mi/mi-interp.c (mi_interpreter_init): Likewise.
1976 * mi/mi-out.c (mi_out_new): Likewise.
1977 * mi/mi-parse.c (mi_parse): Likewise.
1978 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
1979 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
1980 * observer.c (xalloc_observer_list_node): Likewise.
1981 * regcache.c (regcache_xmalloc_1): Likewise.
1982 * reggroups.c (reggroup_new): Likewise.
1983 (_initialize_reggroup): Likewise.
1984 * registry.c (register_data_with_cleanup): Likewise.
1985 * remote.c (remote_notif_stop_alloc_reply): Likewise.
1986 * ser-base.c (serial_ttystate): Likewise.
1987 * ser-mingw.c (make_pipe_state): Likewise.
1988 * ser-pipe.c (pipe_open): Likewise.
1989 * serial.c (serial_open): Likewise.
1990 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
1991 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
1992 (tui_alloc_win_info): Likewise.
1993 (tui_add_content_elements): Likewise.
1994 * tui/tui-file.c (tui_file_new): Likewise.
1995 * tui/tui-out.c (tui_out_new): Likewise.
1996 * ui-file.c (mem_file_new): Likewise.
1997 * ui-out.c (push_level): Likewise.
1998 (make_cleanup_ui_out_end): Likewise.
1999 (append_header_to_list): Likewise.
2000 (ui_out_new): Likewise.
2001 * user-regs.c (user_reg_add_builtin): Likewise.
2002
41bf6aca
TT
20032014-01-13 Tom Tromey <tromey@redhat.com>
2004
2005 * defs.h (XZALLOC): Remove.
2006 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
2007 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
2008 (get_ada_tasks_inferior_data): Likewise.
2009 * auto-load.c (get_auto_load_pspace_data): Likewise.
2010 * auxv.c (get_auxv_inferior_data): Likewise.
2011 * bfd-target.c (target_bfd_reopen): Likewise.
2012 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
2013 (deprecated_insert_raw_breakpoint): Likewise.
2014 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
2015 * corelow.c (core_open): Likewise.
2016 * darwin-nat.c (darwin_check_new_threads): Likewise.
2017 (darwin_attach_pid): Likewise.
2018 * dummy-frame.c (dummy_frame_push): Likewise.
2019 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
2020 * dwarf2loc.c (allocate_piece_closure): Likewise.
2021 * elfread.c (elf_symfile_segments): Likewise.
2022 * eval.c (ptrmath_type_p): Likewise.
2023 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
2024 * gdbtypes.c (alloc_type_arch): Likewise.
2025 (alloc_type_instance): Likewise.
2026 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
2027 * inf-child.c (inf_child_can_use_agent): Likewise.
2028 * inflow.c (get_inflow_inferior_data): Likewise.
2029 * infrun.c (save_infcall_suspend_state): Likewise.
2030 * jit.c (jit_reader_load): Likewise.
2031 (get_jit_objfile_data): Likewise.
2032 (get_jit_program_space_data): Likewise.
2033 (jit_object_open_impl): Likewise.
2034 (jit_symtab_open_impl): Likewise.
2035 (jit_block_open_impl): Likewise.
2036 (jit_frame_sniffer): Likewise.
2037 * linux-fork.c (add_fork): Likewise.
2038 * maint.c (make_command_stats_cleanup): Likewise.
2039 * objfiles.c (get_objfile_pspace_data): Likewise.
2040 * opencl-lang.c (struct lval_closure): Likewise.
2041 * osdata.c (osdata_start_osdata): Likewise.
2042 * progspace.c (new_address_space): Likewise.
2043 (add_program_space): Likewise.
2044 * remote-sim.c (get_sim_inferior_data): Likewise.
2045 * sh-tdep.c (sh_gdbarch_init): Likewise.
2046 * skip.c (Ignore): Likewise.
2047 (skip_delete_command): Likewise.
2048 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
2049 (library_list_start_library): Likewise.
2050 (solib_aix_current_sos): Likewise.
2051 * solib-darwin.c (get_darwin_info): Likewise.
2052 (darwin_current_sos): Likewise.
2053 * solib-dsbt.c (get_dsbt_info): Likewise.
2054 * solib-ia64-hpux.c (new_so_list): Likewise.
2055 (ia64_hpux_get_solib_linkage_addr): Likewise.
2056 * solib-spu.c (append_ocl_sos): Likewise.
2057 (spu_current_sos): Likewise.
2058 * solib-svr4.c (get_svr4_info): Likewise.
2059 (svr4_keep_data_in_core): Likewise.
2060 (library_list_start_library): Likewise.
2061 (svr4_default_sos): Likewise.
2062 (svr4_read_so_list): Likewise.
2063 * solib-target.c (library_list_start_library): Likewise.
2064 (solib_target_current_sos): Likewise.
2065 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
2066 * symfile-debug.c (install_symfile_debug_logging): Likewise.
2067 * symfile.c (default_symfile_segments): Likewise.
2068 * target-descriptions.c (tdesc_data_init): Likewise.
2069 (tdesc_create_reg): Likewise.
2070 (struct tdesc_type *): Likewise.
2071 (tdesc_create_vector): Likewise.
2072 (tdesc_set_struct_size): Likewise.
2073 (struct tdesc_type *): Likewise.
2074 (tdesc_free_feature): Likewise.
2075 (tdesc_create_feature): Likewise.
2076 * windows-nat.c (windows_add_thread): Likewise.
2077 (windows_make_so): Likewise.
2078 * xml-support.c (gdb_xml_body_text): Likewise.
2079 (gdb_xml_create_parser_and_cleanup): Likewise.
2080 (xml_process_xincludes): Likewise.
2081 * xml-syscall.c (allocate_syscalls_info): Likewise.
2082 (syscall_create_syscall_desc): Likewise.
2083
5acfdbae
SDJ
20842014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
2085
2086 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
2087 function, with code from i386_stap_parse_special_token.
2088 (i386_stap_parse_special_token_three_arg_disp): Likewise.
2089 (i386_stap_parse_special_token): Move code to the two functions
2090 above; simplify it.
2091
0000e5cc
PA
20922014-01-09 Pedro Alves <palves@redhat.com>
2093 Hui Zhu <hui@codesourcery.com>
2094
2095 PR gdb/16101
2096 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
2097 bp_err_string. Don't mark the location shlib_disabled if the
2098 error thrown wasn't a generic or memory error. Catch errors
2099 thrown while inserting breakpoints in overlayed code. Output
2100 error message of software breakpoints.
2101 * remote.c (remote_insert_breakpoint): If this breakpoint has
2102 target-side commands but this stub doesn't support Z0 packets,
2103 throw NOT_SUPPORTED_ERROR error.
2104 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
2105 * target.h (target_insert_breakpoint): Extend comment.
2106 (target_insert_hw_breakpoint): Add comment.
2107
b7ea362b
PA
21082014-01-08 Pedro Alves <palves@redhat.com>
2109
2110 * remote.c (remote_add_thread): Add threads silently if starting
2111 up.
2112 (remote_notice_new_inferior): If in all-stop, and starting up,
2113 don't call notice_new_inferior.
2114 (get_current_thread): New function, factored out from ...
2115 (add_current_inferior_and_thread): ... this. Adjust.
2116 (remote_start_remote) <all-stop>: Fetch the thread list. If we
2117 found any thread, then select the remote's current thread as GDB's
2118 current thread too.
2119
b7bba001
JB
21202014-01-08 Joel Brobecker <brobecker@adacore.com>
2121
2122 * NEWS: Create a new section for the next release branch.
2123 Rename the section of the current branch, now that it has
2124 been cut.
2125
16dfbded
JB
21262014-01-08 Joel Brobecker <brobecker@adacore.com>
2127
2128 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
2129 * version.in: Bump version to 7.7.50.DATE-cvs.
2130
22c90ac1
YQ
21312014-01-08 Yao Qi <yao@codesourcery.com>
2132
2133 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
2134 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
2135 (spu_xfer_partial): Cast 'buf' to 'const char *'.
2136
d64ad97c
YQ
21372014-01-08 Yao Qi <yao@codesourcery.com>
2138
2139 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
2140 return value of bfd_get_filename to symbol_file_add_from_bfd.
2141
f93ba80c
PM
21422014-01-08 Pierre Muller <muller@sourceware.org>
2143
2144 Fix PR16201.
2145 * coff-pe-read.c (struct read_pe_section_data): Add index field.
2146 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
2147 to prim_record_mininal_symbol_and_info.
2148 (add_pe_forwarded_sym): Use known section number of forwarded symbol
2149 in call to prim_record_minimal_symbol_and_info.
2150 (read_pe_exported_syms): Set index field of section_data.
2151
a4d9ba85
AP
21522014-01-07 Andrew Pinski <apinski@cavium.com>
2153
2154 * features/aarch64-core.xml (cpsr): Change to be 64bit.
2155 * features/aarch64.c: Regenerate.
2156
1b67eb02
AS
21572014-01-07 Andreas Schwab <schwab@linux-m68k.org>
2158
2159 * target.c (return_null): Define.
2160 (update_current_target): Use it instead of return_zero for
2161 functions that return a pointer.
2162
5e3f4fab
EBM
21632014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2164
2165 * source.c (add_path): Fix check for duplicated paths in the previously
2166 included paths.
2167
e2616788
HK
21682014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
2169
2170 * ada-lang.c: Remove duplicated include statements.
2171 * alphabsd-nat.c: Ditto.
2172 * amd64-darwin-tdep.c: Ditto.
2173 * amd64fbsd-nat.c: Ditto.
2174 * auto-load.c: Ditto.
2175 * ax-gdb.c: Ditto.
2176 * breakpoint.c: Ditto.
2177 * dbxread.c: Ditto.
2178 * fork-child.c: Ditto.
2179 * gdb_usleep.c: Ditto.
2180 * i386-darwin-tdep.c: Ditto.
2181 * i386fbsd-nat.c: Ditto.
2182 * infcmd.c: Ditto.
2183 * inferior.c: Ditto.
2184 * jv-lang.c: Ditto.
2185 * linux-nat.c: Ditto.
2186 * linux-tdep.c: Ditto.
2187 * m68kbsd-nat.c: Ditto.
2188 * m68klinux-nat.c: Ditto.
2189 * microblaze-tdep.c: Ditto.
2190 * mips-linux-tdep.c: Ditto.
2191 * mn10300-tdep.c: Ditto.
2192 * nto-tdep.c: Ditto.
2193 * opencl-lang.c: Ditto.
2194 * osdata.c: Ditto.
2195 * printcmd.c: Ditto.
2196 * regcache.c: Ditto.
2197 * remote-m32r-sdi.c: Ditto.
2198 * remote.c: Ditto.
2199 * symfile.c: Ditto.
2200 * symtab.c: Ditto.
2201 * tilegx-linux-nat.c: Ditto.
2202 * tilegx-tdep.c: Ditto.
2203 * tracepoint.c: Ditto.
2204 * valops.c: Ditto.
2205 * vaxbsd-nat.c: Ditto.
2206 * windows-nat.c: Ditto.
2207 * xtensa-tdep.c: Ditto.
2208
bd1f7788
YQ
22092014-01-07 Yao Qi <yao@codesourcery.com>
2210
2211 * spu-linux-nat.c (_initialize_spu_nat): Declare.
2212
79301218
JB
22132014-01-07 Yao Qi <yao@codesourcery.com>
2214 Joel Brobecker <brobecker@adacore.com>
2215
2216 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
2217 (pdc_write_regs): Likewise.
2218 (fetch_regs_kernel_thread): Likewise.
2219 (store_regs_kernel_thread): Likewise.
2220
22212014-01-07 Joel Brobecker <brobecker@adacore.com>
2222
2223 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
2224 tagged type objects to their actual type.
2225
8e355c5d
JB
22262014-01-07 Joel Brobecker <brobecker@adacore.com>
2227
2228 * ada-valprint.c (print_field_values): Add "language" parameter.
2229 Update calls to print_field_values and print_variant_part.
2230 Pass new parameter "language" in call to val_print instead
2231 of "current_language". Replace call to ada_val_print by call
2232 to val_print.
2233 (print_variant_part): Add "language" parameter.
2234 (ada_val_print_struct_union): Update call to print_field_values.
2235
4fbf5aa5
JB
22362014-01-07 Joel Brobecker <brobecker@adacore.com>
2237
2238 * ada-valprint.c (ui_memcpy): Delete.
2239 (ada_print_floating): Update documentation. Add empty line
2240 between between function documentation and implementation.
2241 Delete variable "buffer". Use ui_file_xstrdup in place of
2242 ui_file_put. Minor adjustments following this change.
2243
71855601
JB
22442014-01-07 Joel Brobecker <brobecker@adacore.com>
2245
2246 * ada-valprint.c (ada_val_print_string): New function,
2247 extracted from ada_val_print_array.
2248 (ada_val_print_array): Replace extracted code by call
2249 to ada_val_print_string followed by a return. Move
2250 "else" branch to the function's top block.
2251
4eb27a30
JB
22522014-01-07 Joel Brobecker <brobecker@adacore.com>
2253
2254 * ada-valprint.c (ada_val_print_array): Move implementation
2255 down. Rename parameter "offset" and "val" into "offset_aligned"
2256 and "original_value" respectively. Add parameter "offset".
2257
34b27950
JB
22582014-01-07 Joel Brobecker <brobecker@adacore.com>
2259
2260 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
2261 re-organizing the code. Change the "???" message printed
2262 when target type is a TYPE_CODE_UNDEF into
2263 "<ref to undefined type>".
2264
079e4591
JB
22652014-01-07 Joel Brobecker <brobecker@adacore.com>
2266
2267 * ada-valprint.c (print_record): Delete, implementation inlined...
2268 (ada_val_print_struct_union): ... here. Remove call to
2269 ada_check_typedef in inlined implementation.
2270
8004dfd1
JB
22712014-01-07 Joel Brobecker <brobecker@adacore.com>
2272
2273 * ada-valprint.c (ada_val_print_gnat_array): New function,
2274 extracted from ada_val_print_1;
2275 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
2276 (ada_val_print_flt, ada_val_print_struct_union)
2277 (ada_val_print_ref): Likewise.
2278 (ada_val_print_1): Delete variables i and elttype.
2279 Replace extracted-out code by call to corresponding
2280 new functions.
2281
760a2db0
JB
22822014-01-07 Joel Brobecker <brobecker@adacore.com>
2283
2284 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
2285
3a92c861
JB
22862014-01-07 Joel Brobecker <brobecker@adacore.com>
2287
2288 * ada-valprint.c (ada_val_print_1): Replace calls to
2289 ada_val_print_1 by calls to val_print.
2290
cd1630f9
JB
22912014-01-07 Joel Brobecker <brobecker@adacore.com>
2292
2293 * ada-valprint.c (ada_val_print_1): Add parameter "language".
2294 Update calls to self accordingly. Replace calls to c_val_print
2295 by calls to val_print.
2296
bdf779a0
JB
22972014-01-07 Joel Brobecker <brobecker@adacore.com>
2298
2299 * ada-valprint.c (print_record): Delete declaration.
2300 (adjust_type_signedness, ada_val_print_1): Likewise.
2301 (ada_val_print): Move function implementation down.
2302 (print_variant_part, print_field_values, print_record):
2303 Move function implementation up.
2304
c0d48811
JB
23052014-01-07 Joel Brobecker <brobecker@adacore.com>
2306
2307 * python/py-type.c (typy_get_name): New function.
2308 (type_object_getset): Add entry for attribute "name".
2309 * NEWS: Add entry mentioning this new attribute.
2310
c26e9cbb
YQ
23112014-01-07 Yao Qi <yao@codesourcery.com>
2312
2313 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
2314 statement.
2315
0cc6f43d
YQ
23162014-01-07 Yao Qi <yao@codesourcery.com>
2317
2318 * gnu-nat.c (info_port_rights): Add qualifier const to
2319 argument args.
2320
eec03155
YQ
23212014-01-07 Yao Qi <yao@codesourcery.com>
2322
2323 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
2324
f04a82ef
YQ
23252014-01-07 Yao Qi <yao@codesourcery.com>
2326
2327 * gnu-nat.c (make_inf) Update declaration.
2328 (make_inf): Make it static.
2329 (inf_set_traced): Likewise.
2330 (inf_port_to_thread, inf_task_died_status): Likewise.
2331
d57dda0a
YQ
23322014-01-07 Yao Qi <yao@codesourcery.com>
2333
2334 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
2335
3aa8c969
YQ
23362014-01-07 Yao Qi <yao@codesourcery.com>
2337
2338 * gnu-nat.c (_initialize_gnu_nat): Declare.
2339
94123b4f
YQ
23402014-01-07 Yao Qi <yao@codesourcery.com>
2341
2342 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
2343 'enum bfd_endian'.
2344 (struct gdbarch_info) <byte_order>: Change type to
2345 'enum bfd_endian'.
2346 <byte_order_for_code>: Likewise.
2347 * gdbarch.c, gdbarch.h: Regenerated.
2348
dc81d70a
TT
23492014-01-06 Sasha Smundak <asmundak@google.com>
2350
2351 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
2352
cc2f3c35
TT
23532014-01-06 Tom Tromey <tromey@redhat.com>
2354
2355 * doublest.c (convert_doublest_to_floatformat): Use const, not
2356 CONST.
2357 * somread.c (som_symtab_read): Likewise.
2358
adcf2eed
HZ
23592014-01-07 Hui Zhu <hui@codesourcery.com>
2360
2361 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
2362 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
2363 (gdb_bfd_fopen): Ditto.
2364 (gdb_bfd_openr): Ditto.
2365 (gdb_bfd_openw): Ditto.
2366 (gdb_bfd_openr_iovec): Ditto.
2367 (gdb_bfd_fdopenr): Ditto.
2368 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
2369 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
2370 with xstrdup.
2371 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
2372 with xstrdup.
2373 * symfile-mem.c (symbol_file_add_from_memory): Removed
2374 gdb_bfd_stash_filename.
2375
50722198
DE
23762014-01-03 Doug Evans <dje@google.com>
2377
2378 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
2379 output.
2380
2fa4b862
JB
23812014-01-01 Joel Brobecker <brobecker@adacore.com>
2382
2383 Update year range in copyright notice of all files.
2384
28498c42
JB
23852014-01-01 Joel Brobecker <brobecker@adacore.com>
2386
2387 * top.c (print_gdb_version): Set copyright year to 2014.
2388
7b6e1046
JB
23892014-01-01 Joel Brobecker <brobecker@adacore.com>
2390
2391 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
2392
df96af55 2393For older changes see ChangeLog-2013.
c906108c
SS
2394\f
2395Local Variables:
2396mode: change-log
2397left-margin: 8
2398fill-column: 74
2399version-control: never
57da7796 2400coding: utf-8
c906108c 2401End:
This page took 1.723937 seconds and 4 git commands to generate.