frame, backtrace: allow targets to supply a frame unwinder
[external/binutils.git] / gdb / ChangeLog
1 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2
3         * frame-unwind.c: Include target.h.
4         (frame_unwind_try_unwinder): New function with code from ...
5         (frame_unwind_find_by_frame): ... here.  New variable
6         unwinder_from_target, call also target_get_unwinder)
7         (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
8         * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
9         * target.h (struct target_ops): New fields to_get_unwinder and
10         to_get_tailcall_unwinder.
11         (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
12
13 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14
15         * record-btrace.c (record_btrace_fetch_registers)
16         (record_btrace_store_registers)
17         (record_btrace_to_prepare_to_store): New.
18         (init_record_btrace_ops): Add the above.
19
20 2014-01-16  Tom Tromey  <tromey@redhat.com>
21
22         * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
23         * target.h (struct target_ops) <to_prepare_to_store>: Add
24         argument.
25         (target_prepare_to_store): Add argument.
26         * target.c (debug_to_prepare_to_store): Add argument.
27         (update_current_target): Update.
28         * remote.c (remote_prepare_to_store): Add 'self' argument.
29         * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
30         * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
31         * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
32         * record-full.c (record_full_core_prepare_to_store): Add 'self'
33         argument.
34         * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
35         * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
36         * monitor.c (monitor_prepare_to_store): Add 'self' argument.
37         * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
38         * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
39
40 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
41
42         * btrace.h (replay) <replay>: New.
43         (btrace_is_replaying): New.
44         * btrace.c (btrace_clear): Free replay iterator.
45         (btrace_is_replaying): New.
46         * record-btrace.c (record_btrace_is_replaying): New.
47         (record_btrace_info): Print insn number if replaying.
48         (record_btrace_insn_history): Start at replay position.
49         (record_btrace_call_history): Start at replay position.
50         (init_record_btrace_ops): Init to_record_is_replaying.
51
52 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
53
54         * record-btrace.c (record_btrace_insn_history_range): Include
55         end.
56         (record_btrace_insn_history_from): Adjust range.
57         (record_btrace_call_history_range): Include
58         end.
59         (record_btrace_call_history_from): Adjust range.
60         * NEWS: Announce changes.
61
62 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
63
64         * record.h (enum record_print_flag)
65         <record_print_indent_calls>: New.
66         * record.c (get_call_history_modifiers): Recognize /c modifier.
67         (_initialize_record): Document /c modifier.
68         * record-btrace.c (btrace_call_history): Add btinfo parameter.
69         Reorder fields.  Optionally indent the function name.  Update
70         all users.
71         * NEWS: Announce changes.
72
73 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
74
75         * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
76
77 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
78
79         * btrace.c (ftrace_new_function): Start counting at one.
80         * record-btrace.c (record_btrace_info): Adjust number of calls
81         and insns.
82         * NEWS: Announce it.
83
84 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
85
86         * record-btrace.c (btrace_call_history_insn_range): Print
87         insn range as [begin, end].
88
89 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
90
91         * btrace.h (struct btrace_func_link): New.
92         (enum btrace_function_flag): New.
93         (struct btrace_inst): Rename to ...
94         (struct btrace_insn): ...this. Update all users.
95         (struct btrace_func) <ibegin, iend>: Remove.
96         (struct btrace_func_link): New.
97         (struct btrace_func): Rename to ...
98         (struct btrace_function): ...this. Update all users.
99         (struct btrace_function) <segment, flow, up, insn, insn_offset)
100         (number, level, flags>: New.
101         (struct btrace_insn_iterator): Rename to ...
102         (struct btrace_insn_history): ...this.
103         Update all users.
104         (struct btrace_insn_iterator, btrace_call_iterator): New.
105         (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
106         (struct btrace_target_info) <begin, end, level>
107         <insn_history, call_history>: New.
108         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
109         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
110         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
111         (btrace_call_number, btrace_call_begin, btrace_call_end)
112         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
113         (btrace_find_function_by_number, btrace_set_insn_history)
114         (btrace_set_call_history): New.
115         * btrace.c (btrace_init_insn_iterator)
116         (btrace_init_func_iterator, compute_itrace): Remove.
117         (ftrace_print_function_name, ftrace_print_filename)
118         (ftrace_skip_file): Change
119         parameter to const.
120         (ftrace_init_func): Remove.
121         (ftrace_debug): Use new btrace_function fields.
122         (ftrace_function_switched): Also consider gaining and
123         losing symbol information).
124         (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
125         (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
126         (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
127         New.
128         (ftrace_new_function): Move. Remove debug print.
129         (ftrace_update_lines, ftrace_update_insns): New.
130         (ftrace_update_function): Check for call, ret, and jump.
131         (compute_ftrace): Renamed to ...
132         (btrace_compute_ftrace): ...this. Rewritten to compute call
133         stack.
134         (btrace_fetch, btrace_clear): Updated.
135         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
136         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
137         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
138         (btrace_call_number, btrace_call_begin, btrace_call_end)
139         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
140         (btrace_find_function_by_number, btrace_set_insn_history)
141         (btrace_set_call_history): New.
142         * record-btrace.c (require_btrace): Use new btrace thread
143         info fields.
144         (record_btrace_info, btrace_insn_history)
145         (record_btrace_insn_history, record_btrace_insn_history_range):
146         Use new btrace thread info fields and new iterator.
147         (btrace_func_history_src_line): Rename to ...
148         (btrace_call_history_src_line): ...this. Use new btrace
149         thread info fields.
150         (btrace_func_history): Rename to ...
151         (btrace_call_history): ...this. Use new btrace thread info
152         fields and new iterator.
153         (record_btrace_call_history, record_btrace_call_history_range):
154         Use new btrace thread info fields and new iterator.
155
156 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
157
158         * frame.h (frame_id_build_unavailable_stack_special): New.
159         * frame.c (frame_id_build_unavailable_stack_special): New.
160
161 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
162
163         * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
164         (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
165         (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
166         to gdbarch.
167         * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
168         (i386_insn_is_jump, i386_jmp_p): New.
169         (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
170         insn_is_jump to gdbarch.
171         * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
172         * gdbarch.h: Regenerated.
173         * gdbarch.c: Regenerated.
174         * arch-utils.h (default_insn_is_call, default_insn_is_ret)
175         (default_insn_is_jump): New.
176         * arch-utils.c (default_insn_is_call, default_insn_is_ret)
177         (default_insn_is_jump): New.
178
179 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
180
181         * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
182         Change to ...
183         (btrace_read_type) <BTRACE_READ_ALL>: ... this.  Update users.
184         (btrace_read_type) <btrace_read_new>: Change to ...
185         (btrace_read_type) <BTRACE_READ_NEW>: ... this.  Update users.
186
187 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
188
189         * common/linux-btrace.c (linux_read_btrace): Free trace from
190         previous iteration.
191
192 2014-01-15  Doug Evans  <dje@google.com>
193
194         * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
195         uint32_t.
196
197 2014-01-15  Tom Tromey  <tromey@redhat.com>
198
199         * dbxread.c (process_one_symbol): Use set_objfile_main_name.
200         * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
201         * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
202         (set_objfile_main_name): New function.
203         * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
204         language_of_main>: New fields.
205         (set_objfile_main_name): Declare.
206         * symtab.c (find_main_name): Loop over objfiles to find the main
207         name and language.
208         (set_main_name): Now static.
209         (get_main_info): Add comment.
210         * symtab.h (set_main_name): Don't declare.
211
212 2014-01-15  Tom Tromey  <tromey@redhat.com>
213
214         * symtab.c (main_progspace_key): New global.
215         (struct main_info): New.
216         (name_of_main, language_of_main): Remove.
217         (get_main_info, main_info_cleanup): New function.
218         (set_main_name, main_name, main_language): Use get_main_info.
219         (_initialize_symtab): Initialize main_progspace_key.
220
221 2014-01-15  Tom Tromey  <tromey@redhat.com>
222
223         * dbxread.c (process_one_symbol): Update.
224         * dwarf2read.c (read_partial_die): Update.
225         * symfile.c (set_initial_language): Call main_language.
226         * symtab.c (language_of_main): Now static.
227         (set_main_name): Add 'lang' parameter.
228         (find_main_name): Update.
229         (main_language): New function.
230         (symtab_observer_executable_changed): Update.
231         * symtab.h (set_main_name): Update.
232         (language_of_main): Remove.
233         (main_language): Declare.
234
235 2014-01-15  Tom Tromey  <tromey@redhat.com>
236
237         * symfile.c (init_entry_point_info): Use new "initialized" field.
238         Update.
239         * objfiles.h (struct entry_point) <initialized>: New field.
240         (struct objfile_per_bfd_storage) <ei>: New field, moved from...
241         (struct objfile) <ei>: ...here.  Remove.
242         * objfiles.c (entry_point_address_query): Update.
243
244 2014-01-15  Tom Tromey  <tromey@redhat.com>
245
246         * objfiles.c (entry_point_address_query): Relocate entry point
247         address.
248         (objfile_relocate1): Do not relocate entry point address.
249         * objfiles.h (struct entry_info) <entry_point>: Update comment.
250         <the_bfd_section_index>: New field.
251         * symfile.c (init_entry_point_info): Find the entry point's
252         section.
253
254 2014-01-15  Tom Tromey  <tromey@redhat.com>
255
256         * solib-frv.c (enable_break): Use entry_point_address_query.
257
258 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
259
260         * NEWS: Add note on improved process record-replay on
261         arm*-linux* targets.
262
263 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
264
265         * arm-tdep.c (enum arm_record_result): New enum.
266         (arm_record_unsupported_insn): New function.
267         (arm_record_coproc_data_proc): Removed.
268         (thumb2_record_ld_st_multiple): New function.
269         (thumb2_record_ld_st_dual_ex_tbb): New function.
270         (thumb2_record_data_proc_sreg_mimm): New function.
271         (thumb2_record_ps_dest_generic): New function.
272         (thumb2_record_branch_misc_cntrl): New function.
273         (thumb2_record_str_single_data): New function.
274         (thumb2_record_ld_mem_hints): New function.
275         (thumb2_record_ld_word): New function.
276         (thumb2_record_lmul_lmla_div): New function.
277         (thumb2_record_decode_insn_handler): New function.
278         (decode_insn): Add thumb32 instruction handlers.
279
280 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
281
282         * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
283         (struct arm_linux_record_tdep): Declare.
284         (arm_canonicalize_syscall): New function.
285         (arm_all_but_pc_registers_record): New function.
286         (arm_linux_syscall_record): New function.
287         (arm_linux_init_abi): Add syscall recording constructs.
288         * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
289         decoding.  (arm_record_coproc_data_proc): Update arm syscall
290         decoding.
291         * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
292         <arm_syscall_record>: New field.
293         * configure.tgt (arm*-*-linux*): Add linux-record.o to
294         gdb_target_obs.
295
296 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
297
298         * arm-tdep.c (thumb_record_misc): Update to use sp as base
299         register for push instruction recording.
300
301 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
302
303         * arm-tdep.c (thumb_record_misc): Update to correct logical
304         error while recording ldm, ldmia and pop instructions.
305
306 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
307
308         * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
309
310 2014-01-15  Pedro Alves  <palves@redhat.com>
311
312         * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
313         (go32_resume, go32_fetch_registers, store_register)
314         (go32_store_registers, go32_prepare_to_store)
315         (go32_xfer_memory, go32_files_info, go32_kill_inferior)
316         (go32_create_inferior, go32_can_run, go32_terminal_init)
317         (go32_terminal_inferior, go32_terminal_ours): Delete forward
318         declarations.
319
320 2014-01-15  Tom Tromey  <tromey@redhat.com>
321
322         * target.h (async_callback_ftype): New typedef.
323         (struct target_ops) <to_async>: Use it.
324
325 2014-01-15  Joel Brobecker  <brobecker@adacore.com>
326
327         * python/py-value.c (get_field_type): Remove unnecessary curly
328         braces for single-statement if block.
329
330 2014-01-15  Joel Brobecker  <brobecker@adacore.com>
331
332         * python/py-type.c (convert_field): Add missing empty line
333         after declarations.
334
335 2014-01-14  Doug Evans  <dje@google.com>
336
337         * symfile.h (expand_symtabs_matching): Renamed from
338         expand_partial_symbol_names.  Update prototype.
339         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
340         * symfile.c (expand_symtabs_matching): Renamed from
341         expand_partial_symbol_names.  New args file_matcher, kind.
342         Rename arg fun to symbol_matcher.
343         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
344         * ada-lang.c (ada_complete_symbol_matcher): Renamed from
345         ada_expand_partial_symbol_name.
346         (ada_make_symbol_completion_list): Update to call
347         expand_symtabs_matching.
348         (ada_add_global_exceptions): Call expand_symtabs_matching.
349         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
350         call map_symbol_filenames.
351         * symtab.c (sources_info): Update to call map_symbol_filenames.
352         (search_symbols): Call expand_symtabs_matching.
353         (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
354         (default_make_symbol_completion_list_break_on): Update to call
355         expand_symtabs_matching.
356         (make_source_files_completion_list): Update to call
357         map_symbol_filenames.
358
359 2014-01-14  Doug Evans  <dje@google.com>
360
361         * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
362         (expand_symtabs_symbol_matcher_ftype): New typedef.
363         (quick_symbol_functions.expand_symtabs_matching): Update to use.
364         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
365         * symfile.c (expand_partial_symbol_names): Update to use
366         expand_symtabs_symbol_matcher_ftype.
367         * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
368         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
369         Arg name_matcher renamed to symbol_matcher.
370         * psymtab.c (recursively_search_psymtabs): Update to use
371         expand_symtabs_symbol_matcher_ftype.  Arg name_matcher renamed to
372         sym_matcher.
373         (expand_symtabs_matching_via_partial): Update to use
374         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
375         Arg name_matcher renamed to symbol_matcher.
376
377 2014-01-14  Doug Evans  <dje@google.com>
378
379         * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
380         (map_partial_symbol_filenames): Ditto.
381         * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
382         (map_partial_symbol_filenames): Ditto.
383         * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
384         (map_partial_symbol_filenames): Ditto.
385         * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
386         (map_partial_symbol_filenames): Ditto.
387         * symtab.c: Delete #include "psymtab.h".
388
389 2014-01-14  Pedro Alves  <palves@redhat.com>
390             Tom Tromey  <tromey@redhat.com>
391
392         * infrun.c (use_displaced_stepping): Use find_record_target
393         instead of RECORD_IS_USED.
394         (adjust_pc_after_break): Use record_full_is_used instead of
395         RECORD_IS_USED.
396         * record-btrace.c (record_btrace_open): Call record_preopen
397         instead of checking RECORD_IS_USED.
398         * record-full.c (record_full_shortname)
399         (record_full_core_shortname): New globals.
400         (record_full_is_used): New function.
401         (find_full_open): Call record_preopen instead of checking
402         RECORD_IS_USED.
403         (init_record_full_ops): Set the target's shortname to
404         record_full_shortname.
405         (init_record_full_core_ops): Set the target's shortname to
406         record_full_core_shortname.
407         * record-full.h (record_full_is_used): Declare.
408         * record.c (find_record_target): Make extern.
409         (record_preopen): New function.
410         * record.h (RECORD_IS_USED): Delete macro.
411         (find_record_target, record_preopen): Declare functions.
412
413 2014-01-14  Yao Qi  <yao@codesourcery.com>
414
415         * gdbarch.sh (core_xfer_shared_libraries): Change its argument
416         'len''s type to ULONGEST.
417         (core_xfer_shared_libraries_aix): Likewise.
418         * gdbarch.c, gdbarch.h: Regenerated.
419         * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
420         Change type of 'len' to ULONGEST.
421         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
422         (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
423
424 2014-01-14  Yao Qi  <yao@codesourcery.com>
425
426         * common/linux-osdata.c (linux_xfer_osdata_processes): Change
427         type of 'len' to ULONGEST.
428         (linux_xfer_osdata_processgroups): Likewise.
429         (linux_xfer_osdata_threads): Likewise.
430         (linux_xfer_osdata_fds): Likewise.
431         (linux_xfer_osdata_isockets): Likewise.
432         (linux_xfer_osdata_shm): Likewise.
433         (linux_xfer_osdata_sem): Likewise.
434         (linux_xfer_osdata_msg): Likewise.
435         (linux_common_xfer_osdata): Likewise.
436         (struct osdata_type) <getter>: Likewise.
437         * common/linux-osdata.h (linux_common_xfer_osdata): Update
438         the declaration.
439
440 2014-01-14  Yao Qi  <yao@codesourcery.com>
441
442         * target.h (target_xfer_partial_ftype): Update.
443         (struct target_ops) <to_xfer_partial>: Change 'len' type to
444         ULONGEST.
445         * aix-thread.c (aix_thread_xfer_partial): Change type of
446         argument 'len' to ULONGEST.
447         * auxv.c (procfs_xfer_auxv): Likewise.
448         (ld_so_xfer_auxv): Likewise.
449         (memory_xfer_auxv): Likewise.
450         * bfd-target.c (target_bfd_xfer_partial): Likewise.
451         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
452         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
453         * corelow.c (core_xfer_partial): Likewise.
454         * ctf.c (ctf_xfer_partial): Likewise.
455         * darwin-nat.c (darwin_read_write_inferior): Likewise.  Use
456         '%u'.
457         (darwin_read_dyld_info): Likewise.
458         (darwin_xfer_partial): Likewise.
459         * exec.c (section_table_xfer_memory_partial): Likewise.
460         (exec_xfer_partial): Likewise.
461         * exec.h (section_table_xfer_memory_partial): Update
462         declaration.
463         * gnu-nat.c (gnu_xfer_memory): Likewise.  Call pulongest
464         instead of plongest.
465         (gnu_xfer_partial): Likewise.
466         * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
467         (ia64_hpux_xfer_solib_got): Likewise.
468         (ia64_hpux_xfer_partial): Likewise.
469         * ia64-linux-nat.c (ia64_linux_xfer_partial):
470         * inf-ptrace.c (inf_ptrace_xfer_partial):
471         * inf-ttrace.c (inf_ttrace_xfer_partial):
472         * linux-nat.c (linux_xfer_siginfo): Likewise.
473         (linux_nat_xfer_partial): Likewise.
474         (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
475         (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
476         * monitor.c (monitor_xfer_memory): Likewise.
477         (monitor_xfer_partial): Likewise.
478         * procfs.c (procfs_xfer_partial): Likewise.
479         * record-full.c (record_full_xfer_partial): Likewise.
480         (record_full_core_xfer_partial): Likewise.
481         * remote-sim.c (gdbsim_xfer_memory): Likewise.  Call pulongest
482         instead of plongest.
483         (gdbsim_xfer_partial): Likewise.
484         * remote.c (remote_xfer_partial): Likewise.
485         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
486         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
487         declaration.
488         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
489         (rs6000_xfer_shared_libraries): Likewise.
490         * sol-thread.c (sol_thread_xfer_partial): Likewise.
491         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
492         (sparc_xfer_partial): Likewise.
493         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
494         (spu_xfer_partial): Likewise.
495         * spu-multiarch.c (spu_xfer_partial): Likewise.
496         * target.c (target_read_live_memory): Likewise.
497         (memory_xfer_live_readonly_partial): Likewise.
498         (memory_xfer_partial, memory_xfer_partial_1): Likewise.
499         (target_xfer_partial, default_xfer_partial): Likewise.
500         (current_xfer_partial): Likewise.
501         * tracepoint.c (tfile_xfer_partial): Likewise.
502         * windows-nat.c (windows_xfer_memory): Likewise.  Call
503         pulongest instead of plongest.
504         (windows_xfer_partial): Likewise.
505         (windows_xfer_shared_libraries): Likewise.
506
507 2014-01-14  Yao Qi  <yao@codesourcery.com>
508
509         * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
510         target_xfer_partial_ftype.
511
512 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
513
514         PR python/15464
515         PR python/16113
516         * valops.c (value_struct_elt_bitpos): New function
517         * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
518         object to 'None' if the field name is an empty string ("").
519         * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
520         attribute to look for a field when 'name' is 'None'.
521         (get_field_type): New function
522
523 2014-01-13  Doug Evans  <dje@google.com>
524
525         PR symtab/16426
526         * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
527         (try_open_dwop_file): Ditto.
528         * gdb_bfd.c: #include "vec.h".
529         (bfdp): New typedef.
530         (struct gdb_bfd_data): New member included_bfds.
531         (gdb_bfd_unref): Unref all included bfds.
532         (gdb_bfd_record_inclusion): New function.
533         * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
534
535 2014-01-13  Tom Tromey  <tromey@redhat.com>
536
537         * gdbcore.h (deprecated_core_resize_section_table): Remove.
538
539 2014-01-13  Tom Tromey  <tromey@redhat.com>
540
541         * defs.h (use_windows): Remove.
542         * gdb.c (main): Update.
543         * main.c (captured_main, gdb_main): Update.
544         * main.h (struct captured_main_args) <use_windows>: Remove.
545         * top.c (use_windows): Remove.
546
547 2014-01-13  Tom Tromey  <tromey@redhat.com>
548
549         * defs.h (deprecated_flush_hook): Remove.
550
551 2014-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
552
553         PR threads/16216
554         * linux-thread-db.c (try_thread_db_load): Add parameter
555         check_auto_load_safe.  Move here the file_is_auto_load_safe call.
556         (try_thread_db_load_from_pdir_1): Move it there from here.
557         (try_thread_db_load_from_sdir): Update caller.
558         (try_thread_db_load_from_dir): Move it there from here.
559
560 2014-01-13  Patrick Palka  <patrick@parcs.ath.cx>
561
562         * regformats/regdat.sh: Always rewrite the register file.
563
564 2014-01-13  Pedro Alves  <palves@redhat.com>
565
566         * Makefile.in (CHECK_HEADERS): New variable.
567         (check-headers:): New rule.
568
569 2014-01-13  Tom Tromey  <tromey@redhat.com>
570
571         * cli/cli-setshow.c (do_set_command): Update.
572         * defs.h (deprecated_set_hook): Remove.
573         * top.c (deprecated_set_hook): Remove.
574
575 2014-01-13  Pedro Alves  <palves@redhat.com>
576
577         * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
578         the tracepoint if the PC is a pseudo-register.
579
580 2014-01-13  Tom Tromey  <tromey@redhat.com>
581
582         * defs.h (XCALLOC): Remove.
583         * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
584         (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
585         * dwarf2loc.c (allocate_piece_closure): Likewise.
586         * elfread.c (elf_symfile_segments): Likewise.
587         (elf_symfile_segments): Likewise.
588         * gdbtypes.c (copy_type_recursive): Likewise.
589         * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
590         * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
591         * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
592         XCALLOC.
593         * mt-tdep.c (mt_gdbarch_init): Likewise.
594         * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
595         XCALLOC.
596         * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
597         * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
598         * registry.c (registry_alloc_data): Likewise.
599         * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
600         * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
601         * serial.c (serial_fdopen_ops): Likewise.
602         * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
603         XCALLOC.
604         * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
605         * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
606         not XCALLOC.
607
608 2014-01-13  Tom Tromey  <tromey@redhat.com>
609
610         * defs.h (XMALLOC): Remove.
611         * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
612         * bfin-tdep.c (bfin_gdbarch_init): Likewise.
613         * cli-out.c (struct ui_out *): Likewise.
614         * cli/cli-dump.c (add_dump_command): Likewise.
615         (add_dump_command): Likewise.
616         * complaints.c (get_complaints): Likewise.
617         (find_complaint): Likewise.
618         * dwarf2-frame.c (execute_cfa_program): Likewise.
619         * dwarf2read.c (abbrev_table_read_table): Likewise.
620         * gdbarch.sh: Likewise.
621         * gdbarch.c: Rebuild.
622         * inf-ttrace.c (inf_ttrace_add_page): Likewise.
623         * interps.c (interp_new): Likewise.
624         * lm32-tdep.c (lm32_gdbarch_init): Likewise.
625         * m32r-tdep.c (m32r_gdbarch_init): Likewise.
626         * mi/mi-console.c (mi_console_file_new): Likewise.
627         * mi/mi-interp.c (mi_interpreter_init): Likewise.
628         * mi/mi-out.c (mi_out_new): Likewise.
629         * mi/mi-parse.c (mi_parse): Likewise.
630         * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
631         * moxie-tdep.c (moxie_gdbarch_init): Likewise.
632         * observer.c (xalloc_observer_list_node): Likewise.
633         * regcache.c (regcache_xmalloc_1): Likewise.
634         * reggroups.c (reggroup_new): Likewise.
635         (_initialize_reggroup): Likewise.
636         * registry.c (register_data_with_cleanup): Likewise.
637         * remote.c (remote_notif_stop_alloc_reply): Likewise.
638         * ser-base.c (serial_ttystate): Likewise.
639         * ser-mingw.c (make_pipe_state): Likewise.
640         * ser-pipe.c (pipe_open): Likewise.
641         * serial.c (serial_open): Likewise.
642         * sh64-tdep.c (sh64_gdbarch_init): Likewise.
643         * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
644         (tui_alloc_win_info): Likewise.
645         (tui_add_content_elements): Likewise.
646         * tui/tui-file.c (tui_file_new): Likewise.
647         * tui/tui-out.c (tui_out_new): Likewise.
648         * ui-file.c (mem_file_new): Likewise.
649         * ui-out.c (push_level): Likewise.
650         (make_cleanup_ui_out_end): Likewise.
651         (append_header_to_list): Likewise.
652         (ui_out_new): Likewise.
653         * user-regs.c (user_reg_add_builtin): Likewise.
654
655 2014-01-13  Tom Tromey  <tromey@redhat.com>
656
657         * defs.h (XZALLOC): Remove.
658         * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
659         * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
660         (get_ada_tasks_inferior_data): Likewise.
661         * auto-load.c (get_auto_load_pspace_data): Likewise.
662         * auxv.c (get_auxv_inferior_data): Likewise.
663         * bfd-target.c (target_bfd_reopen): Likewise.
664         * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
665         (deprecated_insert_raw_breakpoint): Likewise.
666         * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
667         * corelow.c (core_open): Likewise.
668         * darwin-nat.c (darwin_check_new_threads): Likewise.
669         (darwin_attach_pid): Likewise.
670         * dummy-frame.c (dummy_frame_push): Likewise.
671         * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
672         * dwarf2loc.c (allocate_piece_closure): Likewise.
673         * elfread.c (elf_symfile_segments): Likewise.
674         * eval.c (ptrmath_type_p): Likewise.
675         * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
676         * gdbtypes.c (alloc_type_arch): Likewise.
677         (alloc_type_instance): Likewise.
678         * hppa-tdep.c (hppa_gdbarch_init): Likewise.
679         * inf-child.c (inf_child_can_use_agent): Likewise.
680         * inflow.c (get_inflow_inferior_data): Likewise.
681         * infrun.c (save_infcall_suspend_state): Likewise.
682         * jit.c (jit_reader_load): Likewise.
683         (get_jit_objfile_data): Likewise.
684         (get_jit_program_space_data): Likewise.
685         (jit_object_open_impl): Likewise.
686         (jit_symtab_open_impl): Likewise.
687         (jit_block_open_impl): Likewise.
688         (jit_frame_sniffer): Likewise.
689         * linux-fork.c (add_fork): Likewise.
690         * maint.c (make_command_stats_cleanup): Likewise.
691         * objfiles.c (get_objfile_pspace_data): Likewise.
692         * opencl-lang.c (struct lval_closure): Likewise.
693         * osdata.c (osdata_start_osdata): Likewise.
694         * progspace.c (new_address_space): Likewise.
695         (add_program_space): Likewise.
696         * remote-sim.c (get_sim_inferior_data): Likewise.
697         * sh-tdep.c (sh_gdbarch_init): Likewise.
698         * skip.c (Ignore): Likewise.
699         (skip_delete_command): Likewise.
700         * solib-aix.c (get_solib_aix_inferior_data): Likewise.
701         (library_list_start_library): Likewise.
702         (solib_aix_current_sos): Likewise.
703         * solib-darwin.c (get_darwin_info): Likewise.
704         (darwin_current_sos): Likewise.
705         * solib-dsbt.c (get_dsbt_info): Likewise.
706         * solib-ia64-hpux.c (new_so_list): Likewise.
707         (ia64_hpux_get_solib_linkage_addr): Likewise.
708         * solib-spu.c (append_ocl_sos): Likewise.
709         (spu_current_sos): Likewise.
710         * solib-svr4.c (get_svr4_info): Likewise.
711         (svr4_keep_data_in_core): Likewise.
712         (library_list_start_library): Likewise.
713         (svr4_default_sos): Likewise.
714         (svr4_read_so_list): Likewise.
715         * solib-target.c (library_list_start_library): Likewise.
716         (solib_target_current_sos): Likewise.
717         * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
718         * symfile-debug.c (install_symfile_debug_logging): Likewise.
719         * symfile.c (default_symfile_segments): Likewise.
720         * target-descriptions.c (tdesc_data_init): Likewise.
721         (tdesc_create_reg): Likewise.
722         (struct tdesc_type *): Likewise.
723         (tdesc_create_vector): Likewise.
724         (tdesc_set_struct_size): Likewise.
725         (struct tdesc_type *): Likewise.
726         (tdesc_free_feature): Likewise.
727         (tdesc_create_feature): Likewise.
728         * windows-nat.c (windows_add_thread): Likewise.
729         (windows_make_so): Likewise.
730         * xml-support.c (gdb_xml_body_text): Likewise.
731         (gdb_xml_create_parser_and_cleanup): Likewise.
732         (xml_process_xincludes): Likewise.
733         * xml-syscall.c (allocate_syscalls_info): Likewise.
734         (syscall_create_syscall_desc): Likewise.
735
736 2014-01-12  Sergio Durigan Junior  <sergiodj@redhat.com>
737
738         * i386-tdep.c (i386_stap_parse_special_token_triplet): New
739         function, with code from i386_stap_parse_special_token.
740         (i386_stap_parse_special_token_three_arg_disp): Likewise.
741         (i386_stap_parse_special_token): Move code to the two functions
742         above; simplify it.
743
744 2014-01-09  Pedro Alves  <palves@redhat.com>
745             Hui Zhu  <hui@codesourcery.com>
746
747         PR gdb/16101
748         * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
749         bp_err_string.  Don't mark the location shlib_disabled if the
750         error thrown wasn't a generic or memory error.  Catch errors
751         thrown while inserting breakpoints in overlayed code.  Output
752         error message of software breakpoints.
753         * remote.c (remote_insert_breakpoint): If this breakpoint has
754         target-side commands but this stub doesn't support Z0 packets,
755         throw NOT_SUPPORTED_ERROR error.
756         * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
757         * target.h (target_insert_breakpoint): Extend comment.
758         (target_insert_hw_breakpoint): Add comment.
759
760 2014-01-08  Pedro Alves  <palves@redhat.com>
761
762         * remote.c (remote_add_thread): Add threads silently if starting
763         up.
764         (remote_notice_new_inferior): If in all-stop, and starting up,
765         don't call notice_new_inferior.
766         (get_current_thread): New function, factored out from ...
767         (add_current_inferior_and_thread): ... this.  Adjust.
768         (remote_start_remote) <all-stop>: Fetch the thread list.  If we
769         found any thread, then select the remote's current thread as GDB's
770         current thread too.
771
772 2014-01-08  Joel Brobecker  <brobecker@adacore.com>
773
774         * NEWS: Create a new section for the next release branch.
775         Rename the section of the current branch, now that it has
776         been cut.
777
778 2014-01-08  Joel Brobecker  <brobecker@adacore.com>
779
780         GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
781         * version.in: Bump version to 7.7.50.DATE-cvs.
782
783 2014-01-08  Yao Qi  <yao@codesourcery.com>
784
785         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
786         type of 'id' to gdb_byte.  Cast 'id' to 'const char *'.
787         (spu_xfer_partial): Cast 'buf' to 'const char *'.
788
789 2014-01-08  Yao Qi  <yao@codesourcery.com>
790
791         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
792         return value of bfd_get_filename to symbol_file_add_from_bfd.
793
794 2014-01-08  Pierre Muller  <muller@sourceware.org>
795
796         Fix PR16201.
797         * coff-pe-read.c (struct read_pe_section_data): Add index field.
798         (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
799         to prim_record_mininal_symbol_and_info.
800         (add_pe_forwarded_sym): Use known section number of forwarded symbol
801         in call to prim_record_minimal_symbol_and_info.
802         (read_pe_exported_syms): Set index field of section_data.
803
804 2014-01-07  Andrew Pinski  <apinski@cavium.com>
805
806         * features/aarch64-core.xml (cpsr): Change to be 64bit.
807         * features/aarch64.c: Regenerate.
808
809 2014-01-07  Andreas Schwab  <schwab@linux-m68k.org>
810
811         * target.c (return_null): Define.
812         (update_current_target): Use it instead of return_zero for
813         functions that return a pointer.
814
815 2014-01-07  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
816
817         * source.c (add_path): Fix check for duplicated paths in the previously
818         included paths.
819
820 2014-01-07  Honggyu Kim  <hong.gyu.kim@lge.com>
821
822         * ada-lang.c: Remove duplicated include statements.
823         * alphabsd-nat.c: Ditto.
824         * amd64-darwin-tdep.c: Ditto.
825         * amd64fbsd-nat.c: Ditto.
826         * auto-load.c: Ditto.
827         * ax-gdb.c: Ditto.
828         * breakpoint.c: Ditto.
829         * dbxread.c: Ditto.
830         * fork-child.c: Ditto.
831         * gdb_usleep.c: Ditto.
832         * i386-darwin-tdep.c: Ditto.
833         * i386fbsd-nat.c: Ditto.
834         * infcmd.c: Ditto.
835         * inferior.c: Ditto.
836         * jv-lang.c: Ditto.
837         * linux-nat.c: Ditto.
838         * linux-tdep.c: Ditto.
839         * m68kbsd-nat.c: Ditto.
840         * m68klinux-nat.c: Ditto.
841         * microblaze-tdep.c: Ditto.
842         * mips-linux-tdep.c: Ditto.
843         * mn10300-tdep.c: Ditto.
844         * nto-tdep.c: Ditto.
845         * opencl-lang.c: Ditto.
846         * osdata.c: Ditto.
847         * printcmd.c: Ditto.
848         * regcache.c: Ditto.
849         * remote-m32r-sdi.c: Ditto.
850         * remote.c: Ditto.
851         * symfile.c: Ditto.
852         * symtab.c: Ditto.
853         * tilegx-linux-nat.c: Ditto.
854         * tilegx-tdep.c: Ditto.
855         * tracepoint.c: Ditto.
856         * valops.c: Ditto.
857         * vaxbsd-nat.c: Ditto.
858         * windows-nat.c: Ditto.
859         * xtensa-tdep.c: Ditto.
860
861 2014-01-07  Yao Qi  <yao@codesourcery.com>
862
863         * spu-linux-nat.c (_initialize_spu_nat): Declare.
864
865 2014-01-07  Yao Qi  <yao@codesourcery.com>
866             Joel Brobecker  <brobecker@adacore.com>
867
868         * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
869         (pdc_write_regs): Likewise.
870         (fetch_regs_kernel_thread): Likewise.
871         (store_regs_kernel_thread): Likewise.
872
873 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
874
875         * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
876         tagged type objects to their actual type.
877
878 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
879
880         * ada-valprint.c (print_field_values): Add "language" parameter.
881         Update calls to print_field_values and print_variant_part.
882         Pass new parameter "language" in call to val_print instead
883         of "current_language".  Replace call to ada_val_print by call
884         to val_print.
885         (print_variant_part): Add "language" parameter.
886         (ada_val_print_struct_union): Update call to print_field_values.
887
888 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
889
890         * ada-valprint.c (ui_memcpy): Delete.
891         (ada_print_floating): Update documentation.  Add empty line
892         between between function documentation and implementation.
893         Delete variable "buffer".  Use ui_file_xstrdup in place of
894         ui_file_put.  Minor adjustments following this change.
895
896 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
897
898         * ada-valprint.c (ada_val_print_string): New function,
899         extracted from ada_val_print_array.
900         (ada_val_print_array): Replace extracted code by call
901         to ada_val_print_string followed by a return.  Move
902         "else" branch to the function's top block.
903
904 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
905
906         * ada-valprint.c (ada_val_print_array): Move implementation
907         down.  Rename parameter "offset" and "val" into "offset_aligned"
908         and "original_value" respectively.  Add parameter "offset".
909
910 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
911
912         * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
913         re-organizing the code. Change the "???" message printed
914         when target type is a TYPE_CODE_UNDEF into
915         "<ref to undefined type>".
916
917 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
918
919         * ada-valprint.c (print_record): Delete, implementation inlined...
920         (ada_val_print_struct_union): ... here.  Remove call to
921         ada_check_typedef in inlined implementation.
922
923 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
924
925         * ada-valprint.c (ada_val_print_gnat_array): New function,
926         extracted from ada_val_print_1;
927         (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
928         (ada_val_print_flt, ada_val_print_struct_union)
929         (ada_val_print_ref): Likewise.
930         (ada_val_print_1): Delete variables i and elttype.
931         Replace extracted-out code by call to corresponding
932         new functions.
933
934 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
935
936         * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
937
938 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
939
940         * ada-valprint.c (ada_val_print_1): Replace calls to
941         ada_val_print_1 by calls to val_print.
942
943 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
944
945         * ada-valprint.c (ada_val_print_1): Add parameter "language".
946         Update calls to self accordingly.  Replace calls to c_val_print
947         by calls to val_print.
948
949 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
950
951         * ada-valprint.c (print_record): Delete declaration.
952         (adjust_type_signedness, ada_val_print_1): Likewise.
953         (ada_val_print): Move function implementation down.
954         (print_variant_part, print_field_values, print_record):
955         Move function implementation up.
956
957 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
958
959         * python/py-type.c (typy_get_name): New function.
960         (type_object_getset): Add entry for attribute "name".
961         * NEWS: Add entry mentioning this new attribute.
962
963 2014-01-07  Yao Qi  <yao@codesourcery.com>
964
965         * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
966         statement.
967
968 2014-01-07  Yao Qi  <yao@codesourcery.com>
969
970         * gnu-nat.c (info_port_rights): Add qualifier const to
971         argument args.
972
973 2014-01-07  Yao Qi  <yao@codesourcery.com>
974
975         * gnu-nat.c (trace_me): Use 'void' for empty argument list.
976
977 2014-01-07  Yao Qi  <yao@codesourcery.com>
978
979         * gnu-nat.c (make_inf) Update declaration.
980         (make_inf): Make it static.
981         (inf_set_traced): Likewise.
982         (inf_port_to_thread, inf_task_died_status): Likewise.
983
984 2014-01-07  Yao Qi  <yao@codesourcery.com>
985
986         * gnu-nat.c (inf_tid_to_proc): Remove declaration.
987
988 2014-01-07  Yao Qi  <yao@codesourcery.com>
989
990         * gnu-nat.c (_initialize_gnu_nat): Declare.
991
992 2014-01-07  Yao Qi  <yao@codesourcery.com>
993
994         * gdbarch.sh (byte_order, byte_order_for_code): Change type to
995         'enum bfd_endian'.
996         (struct gdbarch_info) <byte_order>: Change type to
997         'enum bfd_endian'.
998         <byte_order_for_code>: Likewise.
999         * gdbarch.c, gdbarch.h: Regenerated.
1000
1001 2014-01-06  Sasha Smundak  <asmundak@google.com>
1002
1003         * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
1004
1005 2014-01-06  Tom Tromey  <tromey@redhat.com>
1006
1007         * doublest.c (convert_doublest_to_floatformat): Use const, not
1008         CONST.
1009         * somread.c (som_symtab_read): Likewise.
1010
1011 2014-01-07  Hui Zhu  <hui@codesourcery.com>
1012
1013         * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
1014         (gdb_bfd_open): Removed gdb_bfd_stash_filename.
1015         (gdb_bfd_fopen): Ditto.
1016         (gdb_bfd_openr): Ditto.
1017         (gdb_bfd_openw): Ditto.
1018         (gdb_bfd_openr_iovec): Ditto.
1019         (gdb_bfd_fdopenr): Ditto.
1020         * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
1021         * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
1022         with xstrdup.
1023         * solib-darwin.c (darwin_bfd_open): Alloc res->filename
1024         with xstrdup.
1025         * symfile-mem.c (symbol_file_add_from_memory): Removed
1026         gdb_bfd_stash_filename.
1027
1028 2014-01-03  Doug Evans  <dje@google.com>
1029
1030         * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
1031         output.
1032
1033 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
1034
1035         Update year range in copyright notice of all files.
1036
1037 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
1038
1039         * top.c (print_gdb_version): Set copyright year to 2014.
1040
1041 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
1042
1043         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
1044
1045 For older changes see ChangeLog-2013.
1046 \f
1047 Local Variables:
1048 mode: change-log
1049 left-margin: 8
1050 fill-column: 74
1051 version-control: never
1052 coding: utf-8
1053 End: