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