Change to_xfer_partial 'len' type to ULONGEST.
[platform/upstream/binutils.git] / gdb / ChangeLog
1 2014-01-14  Yao Qi  <yao@codesourcery.com>
2
3         * target.h (target_xfer_partial_ftype): Update.
4         (struct target_ops) <to_xfer_partial>: Change 'len' type to
5         ULONGEST.
6         * aix-thread.c (aix_thread_xfer_partial): Change type of
7         argument 'len' to ULONGEST.
8         * auxv.c (procfs_xfer_auxv): Likewise.
9         (ld_so_xfer_auxv): Likewise.
10         (memory_xfer_auxv): Likewise.
11         * bfd-target.c (target_bfd_xfer_partial): Likewise.
12         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
14         * corelow.c (core_xfer_partial): Likewise.
15         * ctf.c (ctf_xfer_partial): Likewise.
16         * darwin-nat.c (darwin_read_write_inferior): Likewise.  Use
17         '%u'.
18         (darwin_read_dyld_info): Likewise.
19         (darwin_xfer_partial): Likewise.
20         * exec.c (section_table_xfer_memory_partial): Likewise.
21         (exec_xfer_partial): Likewise.
22         * exec.h (section_table_xfer_memory_partial): Update
23         declaration.
24         * gnu-nat.c (gnu_xfer_memory): Likewise.  Call pulongest
25         instead of plongest.
26         (gnu_xfer_partial): Likewise.
27         * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
28         (ia64_hpux_xfer_solib_got): Likewise.
29         (ia64_hpux_xfer_partial): Likewise.
30         * ia64-linux-nat.c (ia64_linux_xfer_partial):
31         * inf-ptrace.c (inf_ptrace_xfer_partial):
32         * inf-ttrace.c (inf_ttrace_xfer_partial):
33         * linux-nat.c (linux_xfer_siginfo): Likewise.
34         (linux_nat_xfer_partial): Likewise.
35         (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
36         (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
37         * monitor.c (monitor_xfer_memory): Likewise.
38         (monitor_xfer_partial): Likewise.
39         * procfs.c (procfs_xfer_partial): Likewise.
40         * record-full.c (record_full_xfer_partial): Likewise.
41         (record_full_core_xfer_partial): Likewise.
42         * remote-sim.c (gdbsim_xfer_memory): Likewise.  Call pulongest
43         instead of plongest.
44         (gdbsim_xfer_partial): Likewise.
45         * remote.c (remote_xfer_partial): Likewise.
46         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
47         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
48         declaration.
49         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
50         (rs6000_xfer_shared_libraries): Likewise.
51         * sol-thread.c (sol_thread_xfer_partial): Likewise.
52         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
53         (sparc_xfer_partial): Likewise.
54         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
55         (spu_xfer_partial): Likewise.
56         * spu-multiarch.c (spu_xfer_partial): Likewise.
57         * target.c (target_read_live_memory): Likewise.
58         (memory_xfer_live_readonly_partial): Likewise.
59         (memory_xfer_partial, memory_xfer_partial_1): Likewise.
60         (target_xfer_partial, default_xfer_partial): Likewise.
61         (current_xfer_partial): Likewise.
62         * tracepoint.c (tfile_xfer_partial): Likewise.
63         * windows-nat.c (windows_xfer_memory): Likewise.  Call
64         pulongest instead of plongest.
65         (windows_xfer_partial): Likewise.
66         (windows_xfer_shared_libraries): Likewise.
67
68 2014-01-14  Yao Qi  <yao@codesourcery.com>
69
70         * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
71         target_xfer_partial_ftype.
72
73 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
74
75         PR python/15464
76         PR python/16113
77         * valops.c (value_struct_elt_bitpos): New function
78         * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
79         object to 'None' if the field name is an empty string ("").
80         * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
81         attribute to look for a field when 'name' is 'None'.
82         (get_field_type): New function
83
84 2014-01-13  Doug Evans  <dje@google.com>
85
86         PR symtab/16426
87         * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
88         (try_open_dwop_file): Ditto.
89         * gdb_bfd.c: #include "vec.h".
90         (bfdp): New typedef.
91         (struct gdb_bfd_data): New member included_bfds.
92         (gdb_bfd_unref): Unref all included bfds.
93         (gdb_bfd_record_inclusion): New function.
94         * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
95
96 2014-01-13  Tom Tromey  <tromey@redhat.com>
97
98         * gdbcore.h (deprecated_core_resize_section_table): Remove.
99
100 2014-01-13  Tom Tromey  <tromey@redhat.com>
101
102         * defs.h (use_windows): Remove.
103         * gdb.c (main): Update.
104         * main.c (captured_main, gdb_main): Update.
105         * main.h (struct captured_main_args) <use_windows>: Remove.
106         * top.c (use_windows): Remove.
107
108 2014-01-13  Tom Tromey  <tromey@redhat.com>
109
110         * defs.h (deprecated_flush_hook): Remove.
111
112 2014-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
113
114         PR threads/16216
115         * linux-thread-db.c (try_thread_db_load): Add parameter
116         check_auto_load_safe.  Move here the file_is_auto_load_safe call.
117         (try_thread_db_load_from_pdir_1): Move it there from here.
118         (try_thread_db_load_from_sdir): Update caller.
119         (try_thread_db_load_from_dir): Move it there from here.
120
121 2014-01-13  Patrick Palka  <patrick@parcs.ath.cx>
122
123         * regformats/regdat.sh: Always rewrite the register file.
124
125 2014-01-13  Pedro Alves  <palves@redhat.com>
126
127         * Makefile.in (CHECK_HEADERS): New variable.
128         (check-headers:): New rule.
129
130 2014-01-13  Tom Tromey  <tromey@redhat.com>
131
132         * cli/cli-setshow.c (do_set_command): Update.
133         * defs.h (deprecated_set_hook): Remove.
134         * top.c (deprecated_set_hook): Remove.
135
136 2014-01-13  Pedro Alves  <palves@redhat.com>
137
138         * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
139         the tracepoint if the PC is a pseudo-register.
140
141 2014-01-13  Tom Tromey  <tromey@redhat.com>
142
143         * defs.h (XCALLOC): Remove.
144         * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
145         (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
146         * dwarf2loc.c (allocate_piece_closure): Likewise.
147         * elfread.c (elf_symfile_segments): Likewise.
148         (elf_symfile_segments): Likewise.
149         * gdbtypes.c (copy_type_recursive): Likewise.
150         * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
151         * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
152         * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
153         XCALLOC.
154         * mt-tdep.c (mt_gdbarch_init): Likewise.
155         * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
156         XCALLOC.
157         * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
158         * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
159         * registry.c (registry_alloc_data): Likewise.
160         * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
161         * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
162         * serial.c (serial_fdopen_ops): Likewise.
163         * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
164         XCALLOC.
165         * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
166         * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
167         not XCALLOC.
168
169 2014-01-13  Tom Tromey  <tromey@redhat.com>
170
171         * defs.h (XMALLOC): Remove.
172         * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
173         * bfin-tdep.c (bfin_gdbarch_init): Likewise.
174         * cli-out.c (struct ui_out *): Likewise.
175         * cli/cli-dump.c (add_dump_command): Likewise.
176         (add_dump_command): Likewise.
177         * complaints.c (get_complaints): Likewise.
178         (find_complaint): Likewise.
179         * dwarf2-frame.c (execute_cfa_program): Likewise.
180         * dwarf2read.c (abbrev_table_read_table): Likewise.
181         * gdbarch.sh: Likewise.
182         * gdbarch.c: Rebuild.
183         * inf-ttrace.c (inf_ttrace_add_page): Likewise.
184         * interps.c (interp_new): Likewise.
185         * lm32-tdep.c (lm32_gdbarch_init): Likewise.
186         * m32r-tdep.c (m32r_gdbarch_init): Likewise.
187         * mi/mi-console.c (mi_console_file_new): Likewise.
188         * mi/mi-interp.c (mi_interpreter_init): Likewise.
189         * mi/mi-out.c (mi_out_new): Likewise.
190         * mi/mi-parse.c (mi_parse): Likewise.
191         * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
192         * moxie-tdep.c (moxie_gdbarch_init): Likewise.
193         * observer.c (xalloc_observer_list_node): Likewise.
194         * regcache.c (regcache_xmalloc_1): Likewise.
195         * reggroups.c (reggroup_new): Likewise.
196         (_initialize_reggroup): Likewise.
197         * registry.c (register_data_with_cleanup): Likewise.
198         * remote.c (remote_notif_stop_alloc_reply): Likewise.
199         * ser-base.c (serial_ttystate): Likewise.
200         * ser-mingw.c (make_pipe_state): Likewise.
201         * ser-pipe.c (pipe_open): Likewise.
202         * serial.c (serial_open): Likewise.
203         * sh64-tdep.c (sh64_gdbarch_init): Likewise.
204         * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
205         (tui_alloc_win_info): Likewise.
206         (tui_add_content_elements): Likewise.
207         * tui/tui-file.c (tui_file_new): Likewise.
208         * tui/tui-out.c (tui_out_new): Likewise.
209         * ui-file.c (mem_file_new): Likewise.
210         * ui-out.c (push_level): Likewise.
211         (make_cleanup_ui_out_end): Likewise.
212         (append_header_to_list): Likewise.
213         (ui_out_new): Likewise.
214         * user-regs.c (user_reg_add_builtin): Likewise.
215
216 2014-01-13  Tom Tromey  <tromey@redhat.com>
217
218         * defs.h (XZALLOC): Remove.
219         * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
220         * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
221         (get_ada_tasks_inferior_data): Likewise.
222         * auto-load.c (get_auto_load_pspace_data): Likewise.
223         * auxv.c (get_auxv_inferior_data): Likewise.
224         * bfd-target.c (target_bfd_reopen): Likewise.
225         * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
226         (deprecated_insert_raw_breakpoint): Likewise.
227         * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
228         * corelow.c (core_open): Likewise.
229         * darwin-nat.c (darwin_check_new_threads): Likewise.
230         (darwin_attach_pid): Likewise.
231         * dummy-frame.c (dummy_frame_push): Likewise.
232         * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
233         * dwarf2loc.c (allocate_piece_closure): Likewise.
234         * elfread.c (elf_symfile_segments): Likewise.
235         * eval.c (ptrmath_type_p): Likewise.
236         * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
237         * gdbtypes.c (alloc_type_arch): Likewise.
238         (alloc_type_instance): Likewise.
239         * hppa-tdep.c (hppa_gdbarch_init): Likewise.
240         * inf-child.c (inf_child_can_use_agent): Likewise.
241         * inflow.c (get_inflow_inferior_data): Likewise.
242         * infrun.c (save_infcall_suspend_state): Likewise.
243         * jit.c (jit_reader_load): Likewise.
244         (get_jit_objfile_data): Likewise.
245         (get_jit_program_space_data): Likewise.
246         (jit_object_open_impl): Likewise.
247         (jit_symtab_open_impl): Likewise.
248         (jit_block_open_impl): Likewise.
249         (jit_frame_sniffer): Likewise.
250         * linux-fork.c (add_fork): Likewise.
251         * maint.c (make_command_stats_cleanup): Likewise.
252         * objfiles.c (get_objfile_pspace_data): Likewise.
253         * opencl-lang.c (struct lval_closure): Likewise.
254         * osdata.c (osdata_start_osdata): Likewise.
255         * progspace.c (new_address_space): Likewise.
256         (add_program_space): Likewise.
257         * remote-sim.c (get_sim_inferior_data): Likewise.
258         * sh-tdep.c (sh_gdbarch_init): Likewise.
259         * skip.c (Ignore): Likewise.
260         (skip_delete_command): Likewise.
261         * solib-aix.c (get_solib_aix_inferior_data): Likewise.
262         (library_list_start_library): Likewise.
263         (solib_aix_current_sos): Likewise.
264         * solib-darwin.c (get_darwin_info): Likewise.
265         (darwin_current_sos): Likewise.
266         * solib-dsbt.c (get_dsbt_info): Likewise.
267         * solib-ia64-hpux.c (new_so_list): Likewise.
268         (ia64_hpux_get_solib_linkage_addr): Likewise.
269         * solib-spu.c (append_ocl_sos): Likewise.
270         (spu_current_sos): Likewise.
271         * solib-svr4.c (get_svr4_info): Likewise.
272         (svr4_keep_data_in_core): Likewise.
273         (library_list_start_library): Likewise.
274         (svr4_default_sos): Likewise.
275         (svr4_read_so_list): Likewise.
276         * solib-target.c (library_list_start_library): Likewise.
277         (solib_target_current_sos): Likewise.
278         * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
279         * symfile-debug.c (install_symfile_debug_logging): Likewise.
280         * symfile.c (default_symfile_segments): Likewise.
281         * target-descriptions.c (tdesc_data_init): Likewise.
282         (tdesc_create_reg): Likewise.
283         (struct tdesc_type *): Likewise.
284         (tdesc_create_vector): Likewise.
285         (tdesc_set_struct_size): Likewise.
286         (struct tdesc_type *): Likewise.
287         (tdesc_free_feature): Likewise.
288         (tdesc_create_feature): Likewise.
289         * windows-nat.c (windows_add_thread): Likewise.
290         (windows_make_so): Likewise.
291         * xml-support.c (gdb_xml_body_text): Likewise.
292         (gdb_xml_create_parser_and_cleanup): Likewise.
293         (xml_process_xincludes): Likewise.
294         * xml-syscall.c (allocate_syscalls_info): Likewise.
295         (syscall_create_syscall_desc): Likewise.
296
297 2014-01-12  Sergio Durigan Junior  <sergiodj@redhat.com>
298
299         * i386-tdep.c (i386_stap_parse_special_token_triplet): New
300         function, with code from i386_stap_parse_special_token.
301         (i386_stap_parse_special_token_three_arg_disp): Likewise.
302         (i386_stap_parse_special_token): Move code to the two functions
303         above; simplify it.
304
305 2014-01-09  Pedro Alves  <palves@redhat.com>
306             Hui Zhu  <hui@codesourcery.com>
307
308         PR gdb/16101
309         * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
310         bp_err_string.  Don't mark the location shlib_disabled if the
311         error thrown wasn't a generic or memory error.  Catch errors
312         thrown while inserting breakpoints in overlayed code.  Output
313         error message of software breakpoints.
314         * remote.c (remote_insert_breakpoint): If this breakpoint has
315         target-side commands but this stub doesn't support Z0 packets,
316         throw NOT_SUPPORTED_ERROR error.
317         * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
318         * target.h (target_insert_breakpoint): Extend comment.
319         (target_insert_hw_breakpoint): Add comment.
320
321 2014-01-08  Pedro Alves  <palves@redhat.com>
322
323         * remote.c (remote_add_thread): Add threads silently if starting
324         up.
325         (remote_notice_new_inferior): If in all-stop, and starting up,
326         don't call notice_new_inferior.
327         (get_current_thread): New function, factored out from ...
328         (add_current_inferior_and_thread): ... this.  Adjust.
329         (remote_start_remote) <all-stop>: Fetch the thread list.  If we
330         found any thread, then select the remote's current thread as GDB's
331         current thread too.
332
333 2014-01-08  Joel Brobecker  <brobecker@adacore.com>
334
335         * NEWS: Create a new section for the next release branch.
336         Rename the section of the current branch, now that it has
337         been cut.
338
339 2014-01-08  Joel Brobecker  <brobecker@adacore.com>
340
341         GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
342         * version.in: Bump version to 7.7.50.DATE-cvs.
343
344 2014-01-08  Yao Qi  <yao@codesourcery.com>
345
346         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
347         type of 'id' to gdb_byte.  Cast 'id' to 'const char *'.
348         (spu_xfer_partial): Cast 'buf' to 'const char *'.
349
350 2014-01-08  Yao Qi  <yao@codesourcery.com>
351
352         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
353         return value of bfd_get_filename to symbol_file_add_from_bfd.
354
355 2014-01-08  Pierre Muller  <muller@sourceware.org>
356
357         Fix PR16201.
358         * coff-pe-read.c (struct read_pe_section_data): Add index field.
359         (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
360         to prim_record_mininal_symbol_and_info.
361         (add_pe_forwarded_sym): Use known section number of forwarded symbol
362         in call to prim_record_minimal_symbol_and_info.
363         (read_pe_exported_syms): Set index field of section_data.
364
365 2014-01-07  Andrew Pinski  <apinski@cavium.com>
366
367         * features/aarch64-core.xml (cpsr): Change to be 64bit.
368         * features/aarch64.c: Regenerate.
369
370 2014-01-07  Andreas Schwab  <schwab@linux-m68k.org>
371
372         * target.c (return_null): Define.
373         (update_current_target): Use it instead of return_zero for
374         functions that return a pointer.
375
376 2014-01-07  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
377
378         * source.c (add_path): Fix check for duplicated paths in the previously
379         included paths.
380
381 2014-01-07  Honggyu Kim  <hong.gyu.kim@lge.com>
382
383         * ada-lang.c: Remove duplicated include statements.
384         * alphabsd-nat.c: Ditto.
385         * amd64-darwin-tdep.c: Ditto.
386         * amd64fbsd-nat.c: Ditto.
387         * auto-load.c: Ditto.
388         * ax-gdb.c: Ditto.
389         * breakpoint.c: Ditto.
390         * dbxread.c: Ditto.
391         * fork-child.c: Ditto.
392         * gdb_usleep.c: Ditto.
393         * i386-darwin-tdep.c: Ditto.
394         * i386fbsd-nat.c: Ditto.
395         * infcmd.c: Ditto.
396         * inferior.c: Ditto.
397         * jv-lang.c: Ditto.
398         * linux-nat.c: Ditto.
399         * linux-tdep.c: Ditto.
400         * m68kbsd-nat.c: Ditto.
401         * m68klinux-nat.c: Ditto.
402         * microblaze-tdep.c: Ditto.
403         * mips-linux-tdep.c: Ditto.
404         * mn10300-tdep.c: Ditto.
405         * nto-tdep.c: Ditto.
406         * opencl-lang.c: Ditto.
407         * osdata.c: Ditto.
408         * printcmd.c: Ditto.
409         * regcache.c: Ditto.
410         * remote-m32r-sdi.c: Ditto.
411         * remote.c: Ditto.
412         * symfile.c: Ditto.
413         * symtab.c: Ditto.
414         * tilegx-linux-nat.c: Ditto.
415         * tilegx-tdep.c: Ditto.
416         * tracepoint.c: Ditto.
417         * valops.c: Ditto.
418         * vaxbsd-nat.c: Ditto.
419         * windows-nat.c: Ditto.
420         * xtensa-tdep.c: Ditto.
421
422 2014-01-07  Yao Qi  <yao@codesourcery.com>
423
424         * spu-linux-nat.c (_initialize_spu_nat): Declare.
425
426 2014-01-07  Yao Qi  <yao@codesourcery.com>
427             Joel Brobecker  <brobecker@adacore.com>
428
429         * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
430         (pdc_write_regs): Likewise.
431         (fetch_regs_kernel_thread): Likewise.
432         (store_regs_kernel_thread): Likewise.
433
434 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
435
436         * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
437         tagged type objects to their actual type.
438
439 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
440
441         * ada-valprint.c (print_field_values): Add "language" parameter.
442         Update calls to print_field_values and print_variant_part.
443         Pass new parameter "language" in call to val_print instead
444         of "current_language".  Replace call to ada_val_print by call
445         to val_print.
446         (print_variant_part): Add "language" parameter.
447         (ada_val_print_struct_union): Update call to print_field_values.
448
449 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
450
451         * ada-valprint.c (ui_memcpy): Delete.
452         (ada_print_floating): Update documentation.  Add empty line
453         between between function documentation and implementation.
454         Delete variable "buffer".  Use ui_file_xstrdup in place of
455         ui_file_put.  Minor adjustments following this change.
456
457 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
458
459         * ada-valprint.c (ada_val_print_string): New function,
460         extracted from ada_val_print_array.
461         (ada_val_print_array): Replace extracted code by call
462         to ada_val_print_string followed by a return.  Move
463         "else" branch to the function's top block.
464
465 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
466
467         * ada-valprint.c (ada_val_print_array): Move implementation
468         down.  Rename parameter "offset" and "val" into "offset_aligned"
469         and "original_value" respectively.  Add parameter "offset".
470
471 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
472
473         * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
474         re-organizing the code. Change the "???" message printed
475         when target type is a TYPE_CODE_UNDEF into
476         "<ref to undefined type>".
477
478 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
479
480         * ada-valprint.c (print_record): Delete, implementation inlined...
481         (ada_val_print_struct_union): ... here.  Remove call to
482         ada_check_typedef in inlined implementation.
483
484 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
485
486         * ada-valprint.c (ada_val_print_gnat_array): New function,
487         extracted from ada_val_print_1;
488         (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
489         (ada_val_print_flt, ada_val_print_struct_union)
490         (ada_val_print_ref): Likewise.
491         (ada_val_print_1): Delete variables i and elttype.
492         Replace extracted-out code by call to corresponding
493         new functions.
494
495 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
496
497         * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
498
499 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
500
501         * ada-valprint.c (ada_val_print_1): Replace calls to
502         ada_val_print_1 by calls to val_print.
503
504 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
505
506         * ada-valprint.c (ada_val_print_1): Add parameter "language".
507         Update calls to self accordingly.  Replace calls to c_val_print
508         by calls to val_print.
509
510 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
511
512         * ada-valprint.c (print_record): Delete declaration.
513         (adjust_type_signedness, ada_val_print_1): Likewise.
514         (ada_val_print): Move function implementation down.
515         (print_variant_part, print_field_values, print_record):
516         Move function implementation up.
517
518 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
519
520         * python/py-type.c (typy_get_name): New function.
521         (type_object_getset): Add entry for attribute "name".
522         * NEWS: Add entry mentioning this new attribute.
523
524 2014-01-07  Yao Qi  <yao@codesourcery.com>
525
526         * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
527         statement.
528
529 2014-01-07  Yao Qi  <yao@codesourcery.com>
530
531         * gnu-nat.c (info_port_rights): Add qualifier const to
532         argument args.
533
534 2014-01-07  Yao Qi  <yao@codesourcery.com>
535
536         * gnu-nat.c (trace_me): Use 'void' for empty argument list.
537
538 2014-01-07  Yao Qi  <yao@codesourcery.com>
539
540         * gnu-nat.c (make_inf) Update declaration.
541         (make_inf): Make it static.
542         (inf_set_traced): Likewise.
543         (inf_port_to_thread, inf_task_died_status): Likewise.
544
545 2014-01-07  Yao Qi  <yao@codesourcery.com>
546
547         * gnu-nat.c (inf_tid_to_proc): Remove declaration.
548
549 2014-01-07  Yao Qi  <yao@codesourcery.com>
550
551         * gnu-nat.c (_initialize_gnu_nat): Declare.
552
553 2014-01-07  Yao Qi  <yao@codesourcery.com>
554
555         * gdbarch.sh (byte_order, byte_order_for_code): Change type to
556         'enum bfd_endian'.
557         (struct gdbarch_info) <byte_order>: Change type to
558         'enum bfd_endian'.
559         <byte_order_for_code>: Likewise.
560         * gdbarch.c, gdbarch.h: Regenerated.
561
562 2014-01-06  Sasha Smundak  <asmundak@google.com>
563
564         * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
565
566 2014-01-06  Tom Tromey  <tromey@redhat.com>
567
568         * doublest.c (convert_doublest_to_floatformat): Use const, not
569         CONST.
570         * somread.c (som_symtab_read): Likewise.
571
572 2014-01-07  Hui Zhu  <hui@codesourcery.com>
573
574         * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
575         (gdb_bfd_open): Removed gdb_bfd_stash_filename.
576         (gdb_bfd_fopen): Ditto.
577         (gdb_bfd_openr): Ditto.
578         (gdb_bfd_openw): Ditto.
579         (gdb_bfd_openr_iovec): Ditto.
580         (gdb_bfd_fdopenr): Ditto.
581         * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
582         * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
583         with xstrdup.
584         * solib-darwin.c (darwin_bfd_open): Alloc res->filename
585         with xstrdup.
586         * symfile-mem.c (symbol_file_add_from_memory): Removed
587         gdb_bfd_stash_filename.
588
589 2014-01-03  Doug Evans  <dje@google.com>
590
591         * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
592         output.
593
594 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
595
596         Update year range in copyright notice of all files.
597
598 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
599
600         * top.c (print_gdb_version): Set copyright year to 2014.
601
602 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
603
604         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
605
606 For older changes see ChangeLog-2013.
607 \f
608 Local Variables:
609 mode: change-log
610 left-margin: 8
611 fill-column: 74
612 version-control: never
613 coding: utf-8
614 End: