Fix pointer assignment with different signedness
[binutils-gdb.git] / gdb / ChangeLog
1 2014-01-08 Yao Qi <yao@codesourcery.com>
2
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 *'.
6
7 2014-01-08 Yao Qi <yao@codesourcery.com>
8
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.
11
12 2014-01-08 Pierre Muller <muller@sourceware.org>
13
14 Fix PR16201.
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.
21
22 2014-01-07 Andrew Pinski <apinski@cavium.com>
23
24 * features/aarch64-core.xml (cpsr): Change to be 64bit.
25 * features/aarch64.c: Regenerate.
26
27 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
28
29 * target.c (return_null): Define.
30 (update_current_target): Use it instead of return_zero for
31 functions that return a pointer.
32
33 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
34
35 * source.c (add_path): Fix check for duplicated paths in the previously
36 included paths.
37
38 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
39
40 * ada-lang.c: Remove duplicated include statements.
41 * alphabsd-nat.c: Ditto.
42 * amd64-darwin-tdep.c: Ditto.
43 * amd64fbsd-nat.c: Ditto.
44 * auto-load.c: Ditto.
45 * ax-gdb.c: Ditto.
46 * breakpoint.c: Ditto.
47 * dbxread.c: Ditto.
48 * fork-child.c: Ditto.
49 * gdb_usleep.c: Ditto.
50 * i386-darwin-tdep.c: Ditto.
51 * i386fbsd-nat.c: Ditto.
52 * infcmd.c: Ditto.
53 * inferior.c: Ditto.
54 * jv-lang.c: Ditto.
55 * linux-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.
62 * nto-tdep.c: Ditto.
63 * opencl-lang.c: Ditto.
64 * osdata.c: Ditto.
65 * printcmd.c: Ditto.
66 * regcache.c: Ditto.
67 * remote-m32r-sdi.c: Ditto.
68 * remote.c: Ditto.
69 * symfile.c: Ditto.
70 * symtab.c: Ditto.
71 * tilegx-linux-nat.c: Ditto.
72 * tilegx-tdep.c: Ditto.
73 * tracepoint.c: Ditto.
74 * valops.c: Ditto.
75 * vaxbsd-nat.c: Ditto.
76 * windows-nat.c: Ditto.
77 * xtensa-tdep.c: Ditto.
78
79 2014-01-07 Yao Qi <yao@codesourcery.com>
80
81 * spu-linux-nat.c (_initialize_spu_nat): Declare.
82
83 2014-01-07 Joel Brobecker <brobecker@adacore.com>
84
85 * ada-valprint.c (print_field_values): Add "language" parameter.
86 Update calls to print_field_values and print_variant_part.
87 Pass new parameter "language" in call to val_print instead
88 of "current_language". Replace call to ada_val_print by call
89 to val_print.
90 (print_variant_part): Add "language" parameter.
91 (ada_val_print_struct_union): Update call to print_field_values.
92
93 2014-01-07 Joel Brobecker <brobecker@adacore.com>
94
95 * ada-valprint.c (ui_memcpy): Delete.
96 (ada_print_floating): Update documentation. Add empty line
97 between between function documentation and implementation.
98 Delete variable "buffer". Use ui_file_xstrdup in place of
99 ui_file_put. Minor adjustments following this change.
100
101 2014-01-07 Joel Brobecker <brobecker@adacore.com>
102
103 * ada-valprint.c (ada_val_print_string): New function,
104 extracted from ada_val_print_array.
105 (ada_val_print_array): Replace extracted code by call
106 to ada_val_print_string followed by a return. Move
107 "else" branch to the function's top block.
108
109 2014-01-07 Joel Brobecker <brobecker@adacore.com>
110
111 * ada-valprint.c (ada_val_print_array): Move implementation
112 down. Rename parameter "offset" and "val" into "offset_aligned"
113 and "original_value" respectively. Add parameter "offset".
114
115 2014-01-07 Joel Brobecker <brobecker@adacore.com>
116
117 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
118 re-organizing the code. Change the "???" message printed
119 when target type is a TYPE_CODE_UNDEF into
120 "<ref to undefined type>".
121
122 2014-01-07 Joel Brobecker <brobecker@adacore.com>
123
124 * ada-valprint.c (print_record): Delete, implementation inlined...
125 (ada_val_print_struct_union): ... here. Remove call to
126 ada_check_typedef in inlined implementation.
127
128 2014-01-07 Joel Brobecker <brobecker@adacore.com>
129
130 * ada-valprint.c (ada_val_print_gnat_array): New function,
131 extracted from ada_val_print_1;
132 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
133 (ada_val_print_flt, ada_val_print_struct_union)
134 (ada_val_print_ref): Likewise.
135 (ada_val_print_1): Delete variables i and elttype.
136 Replace extracted-out code by call to corresponding
137 new functions.
138
139 2014-01-07 Joel Brobecker <brobecker@adacore.com>
140
141 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
142
143 2014-01-07 Joel Brobecker <brobecker@adacore.com>
144
145 * ada-valprint.c (ada_val_print_1): Replace calls to
146 ada_val_print_1 by calls to val_print.
147
148 2014-01-07 Joel Brobecker <brobecker@adacore.com>
149
150 * ada-valprint.c (ada_val_print_1): Add parameter "language".
151 Update calls to self accordingly. Replace calls to c_val_print
152 by calls to val_print.
153
154 2014-01-07 Joel Brobecker <brobecker@adacore.com>
155
156 * ada-valprint.c (print_record): Delete declaration.
157 (adjust_type_signedness, ada_val_print_1): Likewise.
158 (ada_val_print): Move function implementation down.
159 (print_variant_part, print_field_values, print_record):
160 Move function implementation up.
161
162 2014-01-07 Joel Brobecker <brobecker@adacore.com>
163
164 * python/py-type.c (typy_get_name): New function.
165 (type_object_getset): Add entry for attribute "name".
166 * NEWS: Add entry mentioning this new attribute.
167
168 2014-01-07 Yao Qi <yao@codesourcery.com>
169
170 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
171 statement.
172
173 2014-01-07 Yao Qi <yao@codesourcery.com>
174
175 * gnu-nat.c (info_port_rights): Add qualifier const to
176 argument args.
177
178 2014-01-07 Yao Qi <yao@codesourcery.com>
179
180 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
181
182 2014-01-07 Yao Qi <yao@codesourcery.com>
183
184 * gnu-nat.c (make_inf) Update declaration.
185 (make_inf): Make it static.
186 (inf_set_traced): Likewise.
187 (inf_port_to_thread, inf_task_died_status): Likewise.
188
189 2014-01-07 Yao Qi <yao@codesourcery.com>
190
191 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
192
193 2014-01-07 Yao Qi <yao@codesourcery.com>
194
195 * gnu-nat.c (_initialize_gnu_nat): Declare.
196
197 2014-01-07 Yao Qi <yao@codesourcery.com>
198
199 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
200 'enum bfd_endian'.
201 (struct gdbarch_info) <byte_order>: Change type to
202 'enum bfd_endian'.
203 <byte_order_for_code>: Likewise.
204 * gdbarch.c, gdbarch.h: Regenerated.
205
206 2014-01-06 Sasha Smundak <asmundak@google.com>
207
208 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
209
210 2014-01-06 Tom Tromey <tromey@redhat.com>
211
212 * doublest.c (convert_doublest_to_floatformat): Use const, not
213 CONST.
214 * somread.c (som_symtab_read): Likewise.
215
216 2014-01-07 Hui Zhu <hui@codesourcery.com>
217
218 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
219 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
220 (gdb_bfd_fopen): Ditto.
221 (gdb_bfd_openr): Ditto.
222 (gdb_bfd_openw): Ditto.
223 (gdb_bfd_openr_iovec): Ditto.
224 (gdb_bfd_fdopenr): Ditto.
225 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
226 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
227 with xstrdup.
228 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
229 with xstrdup.
230 * symfile-mem.c (symbol_file_add_from_memory): Removed
231 gdb_bfd_stash_filename.
232
233 2014-01-03 Doug Evans <dje@google.com>
234
235 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
236 output.
237
238 2014-01-01 Joel Brobecker <brobecker@adacore.com>
239
240 Update year range in copyright notice of all files.
241
242 2014-01-01 Joel Brobecker <brobecker@adacore.com>
243
244 * top.c (print_gdb_version): Set copyright year to 2014.
245
246 2014-01-01 Joel Brobecker <brobecker@adacore.com>
247
248 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
249
250 For older changes see ChangeLog-2013.
251 \f
252 Local Variables:
253 mode: change-log
254 left-margin: 8
255 fill-column: 74
256 version-control: never
257 coding: utf-8
258 End: