1 2014-01-08 Yao Qi <yao@codesourcery.com>
3 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5 (spu_xfer_partial): Cast 'buf' to 'const char *'.
7 2014-01-08 Yao Qi <yao@codesourcery.com>
9 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
10 return value of bfd_get_filename to symbol_file_add_from_bfd.
12 2014-01-08 Pierre Muller <muller@sourceware.org>
15 * coff-pe-read.c (struct read_pe_section_data): Add index field.
16 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
17 to prim_record_mininal_symbol_and_info.
18 (add_pe_forwarded_sym): Use known section number of forwarded symbol
19 in call to prim_record_minimal_symbol_and_info.
20 (read_pe_exported_syms): Set index field of section_data.
22 2014-01-07 Andrew Pinski <apinski@cavium.com>
24 * features/aarch64-core.xml (cpsr): Change to be 64bit.
25 * features/aarch64.c: Regenerate.
27 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
29 * target.c (return_null): Define.
30 (update_current_target): Use it instead of return_zero for
31 functions that return a pointer.
33 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35 * source.c (add_path): Fix check for duplicated paths in the previously
38 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
40 * ada-lang.c: Remove duplicated include statements.
41 * alphabsd-nat.c: Ditto.
42 * amd64-darwin-tdep.c: Ditto.
43 * amd64fbsd-nat.c: Ditto.
46 * breakpoint.c: Ditto.
48 * fork-child.c: Ditto.
49 * gdb_usleep.c: Ditto.
50 * i386-darwin-tdep.c: Ditto.
51 * i386fbsd-nat.c: Ditto.
56 * linux-tdep.c: Ditto.
57 * m68kbsd-nat.c: Ditto.
58 * m68klinux-nat.c: Ditto.
59 * microblaze-tdep.c: Ditto.
60 * mips-linux-tdep.c: Ditto.
61 * mn10300-tdep.c: Ditto.
63 * opencl-lang.c: Ditto.
67 * remote-m32r-sdi.c: Ditto.
71 * tilegx-linux-nat.c: Ditto.
72 * tilegx-tdep.c: Ditto.
73 * tracepoint.c: Ditto.
75 * vaxbsd-nat.c: Ditto.
76 * windows-nat.c: Ditto.
77 * xtensa-tdep.c: Ditto.
79 2014-01-07 Yao Qi <yao@codesourcery.com>
81 * spu-linux-nat.c (_initialize_spu_nat): Declare.
83 2014-01-07 Yao Qi <yao@codesourcery.com>
84 Joel Brobecker <brobecker@adacore.com>
86 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
87 (pdc_write_regs): Likewise.
88 (fetch_regs_kernel_thread): Likewise.
89 (store_regs_kernel_thread): Likewise.
91 2014-01-07 Joel Brobecker <brobecker@adacore.com>
93 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
94 tagged type objects to their actual type.
96 2014-01-07 Joel Brobecker <brobecker@adacore.com>
98 * ada-valprint.c (print_field_values): Add "language" parameter.
99 Update calls to print_field_values and print_variant_part.
100 Pass new parameter "language" in call to val_print instead
101 of "current_language". Replace call to ada_val_print by call
103 (print_variant_part): Add "language" parameter.
104 (ada_val_print_struct_union): Update call to print_field_values.
106 2014-01-07 Joel Brobecker <brobecker@adacore.com>
108 * ada-valprint.c (ui_memcpy): Delete.
109 (ada_print_floating): Update documentation. Add empty line
110 between between function documentation and implementation.
111 Delete variable "buffer". Use ui_file_xstrdup in place of
112 ui_file_put. Minor adjustments following this change.
114 2014-01-07 Joel Brobecker <brobecker@adacore.com>
116 * ada-valprint.c (ada_val_print_string): New function,
117 extracted from ada_val_print_array.
118 (ada_val_print_array): Replace extracted code by call
119 to ada_val_print_string followed by a return. Move
120 "else" branch to the function's top block.
122 2014-01-07 Joel Brobecker <brobecker@adacore.com>
124 * ada-valprint.c (ada_val_print_array): Move implementation
125 down. Rename parameter "offset" and "val" into "offset_aligned"
126 and "original_value" respectively. Add parameter "offset".
128 2014-01-07 Joel Brobecker <brobecker@adacore.com>
130 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
131 re-organizing the code. Change the "???" message printed
132 when target type is a TYPE_CODE_UNDEF into
133 "<ref to undefined type>".
135 2014-01-07 Joel Brobecker <brobecker@adacore.com>
137 * ada-valprint.c (print_record): Delete, implementation inlined...
138 (ada_val_print_struct_union): ... here. Remove call to
139 ada_check_typedef in inlined implementation.
141 2014-01-07 Joel Brobecker <brobecker@adacore.com>
143 * ada-valprint.c (ada_val_print_gnat_array): New function,
144 extracted from ada_val_print_1;
145 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
146 (ada_val_print_flt, ada_val_print_struct_union)
147 (ada_val_print_ref): Likewise.
148 (ada_val_print_1): Delete variables i and elttype.
149 Replace extracted-out code by call to corresponding
152 2014-01-07 Joel Brobecker <brobecker@adacore.com>
154 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
156 2014-01-07 Joel Brobecker <brobecker@adacore.com>
158 * ada-valprint.c (ada_val_print_1): Replace calls to
159 ada_val_print_1 by calls to val_print.
161 2014-01-07 Joel Brobecker <brobecker@adacore.com>
163 * ada-valprint.c (ada_val_print_1): Add parameter "language".
164 Update calls to self accordingly. Replace calls to c_val_print
165 by calls to val_print.
167 2014-01-07 Joel Brobecker <brobecker@adacore.com>
169 * ada-valprint.c (print_record): Delete declaration.
170 (adjust_type_signedness, ada_val_print_1): Likewise.
171 (ada_val_print): Move function implementation down.
172 (print_variant_part, print_field_values, print_record):
173 Move function implementation up.
175 2014-01-07 Joel Brobecker <brobecker@adacore.com>
177 * python/py-type.c (typy_get_name): New function.
178 (type_object_getset): Add entry for attribute "name".
179 * NEWS: Add entry mentioning this new attribute.
181 2014-01-07 Yao Qi <yao@codesourcery.com>
183 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
186 2014-01-07 Yao Qi <yao@codesourcery.com>
188 * gnu-nat.c (info_port_rights): Add qualifier const to
191 2014-01-07 Yao Qi <yao@codesourcery.com>
193 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
195 2014-01-07 Yao Qi <yao@codesourcery.com>
197 * gnu-nat.c (make_inf) Update declaration.
198 (make_inf): Make it static.
199 (inf_set_traced): Likewise.
200 (inf_port_to_thread, inf_task_died_status): Likewise.
202 2014-01-07 Yao Qi <yao@codesourcery.com>
204 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
206 2014-01-07 Yao Qi <yao@codesourcery.com>
208 * gnu-nat.c (_initialize_gnu_nat): Declare.
210 2014-01-07 Yao Qi <yao@codesourcery.com>
212 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
214 (struct gdbarch_info) <byte_order>: Change type to
216 <byte_order_for_code>: Likewise.
217 * gdbarch.c, gdbarch.h: Regenerated.
219 2014-01-06 Sasha Smundak <asmundak@google.com>
221 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
223 2014-01-06 Tom Tromey <tromey@redhat.com>
225 * doublest.c (convert_doublest_to_floatformat): Use const, not
227 * somread.c (som_symtab_read): Likewise.
229 2014-01-07 Hui Zhu <hui@codesourcery.com>
231 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
232 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
233 (gdb_bfd_fopen): Ditto.
234 (gdb_bfd_openr): Ditto.
235 (gdb_bfd_openw): Ditto.
236 (gdb_bfd_openr_iovec): Ditto.
237 (gdb_bfd_fdopenr): Ditto.
238 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
239 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
241 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
243 * symfile-mem.c (symbol_file_add_from_memory): Removed
244 gdb_bfd_stash_filename.
246 2014-01-03 Doug Evans <dje@google.com>
248 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
251 2014-01-01 Joel Brobecker <brobecker@adacore.com>
253 Update year range in copyright notice of all files.
255 2014-01-01 Joel Brobecker <brobecker@adacore.com>
257 * top.c (print_gdb_version): Set copyright year to 2014.
259 2014-01-01 Joel Brobecker <brobecker@adacore.com>
261 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
263 For older changes see ChangeLog-2013.
269 version-control: never