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