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