replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
41bf6aca
TT
12014-01-13 Tom Tromey <tromey@redhat.com>
2
3 * defs.h (XZALLOC): Remove.
4 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6 (get_ada_tasks_inferior_data): Likewise.
7 * auto-load.c (get_auto_load_pspace_data): Likewise.
8 * auxv.c (get_auxv_inferior_data): Likewise.
9 * bfd-target.c (target_bfd_reopen): Likewise.
10 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
11 (deprecated_insert_raw_breakpoint): Likewise.
12 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
13 * corelow.c (core_open): Likewise.
14 * darwin-nat.c (darwin_check_new_threads): Likewise.
15 (darwin_attach_pid): Likewise.
16 * dummy-frame.c (dummy_frame_push): Likewise.
17 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
18 * dwarf2loc.c (allocate_piece_closure): Likewise.
19 * elfread.c (elf_symfile_segments): Likewise.
20 * eval.c (ptrmath_type_p): Likewise.
21 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
22 * gdbtypes.c (alloc_type_arch): Likewise.
23 (alloc_type_instance): Likewise.
24 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
25 * inf-child.c (inf_child_can_use_agent): Likewise.
26 * inflow.c (get_inflow_inferior_data): Likewise.
27 * infrun.c (save_infcall_suspend_state): Likewise.
28 * jit.c (jit_reader_load): Likewise.
29 (get_jit_objfile_data): Likewise.
30 (get_jit_program_space_data): Likewise.
31 (jit_object_open_impl): Likewise.
32 (jit_symtab_open_impl): Likewise.
33 (jit_block_open_impl): Likewise.
34 (jit_frame_sniffer): Likewise.
35 * linux-fork.c (add_fork): Likewise.
36 * maint.c (make_command_stats_cleanup): Likewise.
37 * objfiles.c (get_objfile_pspace_data): Likewise.
38 * opencl-lang.c (struct lval_closure): Likewise.
39 * osdata.c (osdata_start_osdata): Likewise.
40 * progspace.c (new_address_space): Likewise.
41 (add_program_space): Likewise.
42 * remote-sim.c (get_sim_inferior_data): Likewise.
43 * sh-tdep.c (sh_gdbarch_init): Likewise.
44 * skip.c (Ignore): Likewise.
45 (skip_delete_command): Likewise.
46 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
47 (library_list_start_library): Likewise.
48 (solib_aix_current_sos): Likewise.
49 * solib-darwin.c (get_darwin_info): Likewise.
50 (darwin_current_sos): Likewise.
51 * solib-dsbt.c (get_dsbt_info): Likewise.
52 * solib-ia64-hpux.c (new_so_list): Likewise.
53 (ia64_hpux_get_solib_linkage_addr): Likewise.
54 * solib-spu.c (append_ocl_sos): Likewise.
55 (spu_current_sos): Likewise.
56 * solib-svr4.c (get_svr4_info): Likewise.
57 (svr4_keep_data_in_core): Likewise.
58 (library_list_start_library): Likewise.
59 (svr4_default_sos): Likewise.
60 (svr4_read_so_list): Likewise.
61 * solib-target.c (library_list_start_library): Likewise.
62 (solib_target_current_sos): Likewise.
63 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
64 * symfile-debug.c (install_symfile_debug_logging): Likewise.
65 * symfile.c (default_symfile_segments): Likewise.
66 * target-descriptions.c (tdesc_data_init): Likewise.
67 (tdesc_create_reg): Likewise.
68 (struct tdesc_type *): Likewise.
69 (tdesc_create_vector): Likewise.
70 (tdesc_set_struct_size): Likewise.
71 (struct tdesc_type *): Likewise.
72 (tdesc_free_feature): Likewise.
73 (tdesc_create_feature): Likewise.
74 * windows-nat.c (windows_add_thread): Likewise.
75 (windows_make_so): Likewise.
76 * xml-support.c (gdb_xml_body_text): Likewise.
77 (gdb_xml_create_parser_and_cleanup): Likewise.
78 (xml_process_xincludes): Likewise.
79 * xml-syscall.c (allocate_syscalls_info): Likewise.
80 (syscall_create_syscall_desc): Likewise.
81
5acfdbae
SDJ
822014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
83
84 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
85 function, with code from i386_stap_parse_special_token.
86 (i386_stap_parse_special_token_three_arg_disp): Likewise.
87 (i386_stap_parse_special_token): Move code to the two functions
88 above; simplify it.
89
0000e5cc
PA
902014-01-09 Pedro Alves <palves@redhat.com>
91 Hui Zhu <hui@codesourcery.com>
92
93 PR gdb/16101
94 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
95 bp_err_string. Don't mark the location shlib_disabled if the
96 error thrown wasn't a generic or memory error. Catch errors
97 thrown while inserting breakpoints in overlayed code. Output
98 error message of software breakpoints.
99 * remote.c (remote_insert_breakpoint): If this breakpoint has
100 target-side commands but this stub doesn't support Z0 packets,
101 throw NOT_SUPPORTED_ERROR error.
102 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
103 * target.h (target_insert_breakpoint): Extend comment.
104 (target_insert_hw_breakpoint): Add comment.
105
b7ea362b
PA
1062014-01-08 Pedro Alves <palves@redhat.com>
107
108 * remote.c (remote_add_thread): Add threads silently if starting
109 up.
110 (remote_notice_new_inferior): If in all-stop, and starting up,
111 don't call notice_new_inferior.
112 (get_current_thread): New function, factored out from ...
113 (add_current_inferior_and_thread): ... this. Adjust.
114 (remote_start_remote) <all-stop>: Fetch the thread list. If we
115 found any thread, then select the remote's current thread as GDB's
116 current thread too.
117
b7bba001
JB
1182014-01-08 Joel Brobecker <brobecker@adacore.com>
119
120 * NEWS: Create a new section for the next release branch.
121 Rename the section of the current branch, now that it has
122 been cut.
123
16dfbded
JB
1242014-01-08 Joel Brobecker <brobecker@adacore.com>
125
126 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
127 * version.in: Bump version to 7.7.50.DATE-cvs.
128
22c90ac1
YQ
1292014-01-08 Yao Qi <yao@codesourcery.com>
130
131 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
132 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
133 (spu_xfer_partial): Cast 'buf' to 'const char *'.
134
d64ad97c
YQ
1352014-01-08 Yao Qi <yao@codesourcery.com>
136
137 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
138 return value of bfd_get_filename to symbol_file_add_from_bfd.
139
f93ba80c
PM
1402014-01-08 Pierre Muller <muller@sourceware.org>
141
142 Fix PR16201.
143 * coff-pe-read.c (struct read_pe_section_data): Add index field.
144 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
145 to prim_record_mininal_symbol_and_info.
146 (add_pe_forwarded_sym): Use known section number of forwarded symbol
147 in call to prim_record_minimal_symbol_and_info.
148 (read_pe_exported_syms): Set index field of section_data.
149
a4d9ba85
AP
1502014-01-07 Andrew Pinski <apinski@cavium.com>
151
152 * features/aarch64-core.xml (cpsr): Change to be 64bit.
153 * features/aarch64.c: Regenerate.
154
1b67eb02
AS
1552014-01-07 Andreas Schwab <schwab@linux-m68k.org>
156
157 * target.c (return_null): Define.
158 (update_current_target): Use it instead of return_zero for
159 functions that return a pointer.
160
5e3f4fab
EBM
1612014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
162
163 * source.c (add_path): Fix check for duplicated paths in the previously
164 included paths.
165
e2616788
HK
1662014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
167
168 * ada-lang.c: Remove duplicated include statements.
169 * alphabsd-nat.c: Ditto.
170 * amd64-darwin-tdep.c: Ditto.
171 * amd64fbsd-nat.c: Ditto.
172 * auto-load.c: Ditto.
173 * ax-gdb.c: Ditto.
174 * breakpoint.c: Ditto.
175 * dbxread.c: Ditto.
176 * fork-child.c: Ditto.
177 * gdb_usleep.c: Ditto.
178 * i386-darwin-tdep.c: Ditto.
179 * i386fbsd-nat.c: Ditto.
180 * infcmd.c: Ditto.
181 * inferior.c: Ditto.
182 * jv-lang.c: Ditto.
183 * linux-nat.c: Ditto.
184 * linux-tdep.c: Ditto.
185 * m68kbsd-nat.c: Ditto.
186 * m68klinux-nat.c: Ditto.
187 * microblaze-tdep.c: Ditto.
188 * mips-linux-tdep.c: Ditto.
189 * mn10300-tdep.c: Ditto.
190 * nto-tdep.c: Ditto.
191 * opencl-lang.c: Ditto.
192 * osdata.c: Ditto.
193 * printcmd.c: Ditto.
194 * regcache.c: Ditto.
195 * remote-m32r-sdi.c: Ditto.
196 * remote.c: Ditto.
197 * symfile.c: Ditto.
198 * symtab.c: Ditto.
199 * tilegx-linux-nat.c: Ditto.
200 * tilegx-tdep.c: Ditto.
201 * tracepoint.c: Ditto.
202 * valops.c: Ditto.
203 * vaxbsd-nat.c: Ditto.
204 * windows-nat.c: Ditto.
205 * xtensa-tdep.c: Ditto.
206
bd1f7788
YQ
2072014-01-07 Yao Qi <yao@codesourcery.com>
208
209 * spu-linux-nat.c (_initialize_spu_nat): Declare.
210
79301218
JB
2112014-01-07 Yao Qi <yao@codesourcery.com>
212 Joel Brobecker <brobecker@adacore.com>
213
214 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
215 (pdc_write_regs): Likewise.
216 (fetch_regs_kernel_thread): Likewise.
217 (store_regs_kernel_thread): Likewise.
218
2192014-01-07 Joel Brobecker <brobecker@adacore.com>
220
221 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
222 tagged type objects to their actual type.
223
8e355c5d
JB
2242014-01-07 Joel Brobecker <brobecker@adacore.com>
225
226 * ada-valprint.c (print_field_values): Add "language" parameter.
227 Update calls to print_field_values and print_variant_part.
228 Pass new parameter "language" in call to val_print instead
229 of "current_language". Replace call to ada_val_print by call
230 to val_print.
231 (print_variant_part): Add "language" parameter.
232 (ada_val_print_struct_union): Update call to print_field_values.
233
4fbf5aa5
JB
2342014-01-07 Joel Brobecker <brobecker@adacore.com>
235
236 * ada-valprint.c (ui_memcpy): Delete.
237 (ada_print_floating): Update documentation. Add empty line
238 between between function documentation and implementation.
239 Delete variable "buffer". Use ui_file_xstrdup in place of
240 ui_file_put. Minor adjustments following this change.
241
71855601
JB
2422014-01-07 Joel Brobecker <brobecker@adacore.com>
243
244 * ada-valprint.c (ada_val_print_string): New function,
245 extracted from ada_val_print_array.
246 (ada_val_print_array): Replace extracted code by call
247 to ada_val_print_string followed by a return. Move
248 "else" branch to the function's top block.
249
4eb27a30
JB
2502014-01-07 Joel Brobecker <brobecker@adacore.com>
251
252 * ada-valprint.c (ada_val_print_array): Move implementation
253 down. Rename parameter "offset" and "val" into "offset_aligned"
254 and "original_value" respectively. Add parameter "offset".
255
34b27950
JB
2562014-01-07 Joel Brobecker <brobecker@adacore.com>
257
258 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
259 re-organizing the code. Change the "???" message printed
260 when target type is a TYPE_CODE_UNDEF into
261 "<ref to undefined type>".
262
079e4591
JB
2632014-01-07 Joel Brobecker <brobecker@adacore.com>
264
265 * ada-valprint.c (print_record): Delete, implementation inlined...
266 (ada_val_print_struct_union): ... here. Remove call to
267 ada_check_typedef in inlined implementation.
268
8004dfd1
JB
2692014-01-07 Joel Brobecker <brobecker@adacore.com>
270
271 * ada-valprint.c (ada_val_print_gnat_array): New function,
272 extracted from ada_val_print_1;
273 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
274 (ada_val_print_flt, ada_val_print_struct_union)
275 (ada_val_print_ref): Likewise.
276 (ada_val_print_1): Delete variables i and elttype.
277 Replace extracted-out code by call to corresponding
278 new functions.
279
760a2db0
JB
2802014-01-07 Joel Brobecker <brobecker@adacore.com>
281
282 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
283
3a92c861
JB
2842014-01-07 Joel Brobecker <brobecker@adacore.com>
285
286 * ada-valprint.c (ada_val_print_1): Replace calls to
287 ada_val_print_1 by calls to val_print.
288
cd1630f9
JB
2892014-01-07 Joel Brobecker <brobecker@adacore.com>
290
291 * ada-valprint.c (ada_val_print_1): Add parameter "language".
292 Update calls to self accordingly. Replace calls to c_val_print
293 by calls to val_print.
294
bdf779a0
JB
2952014-01-07 Joel Brobecker <brobecker@adacore.com>
296
297 * ada-valprint.c (print_record): Delete declaration.
298 (adjust_type_signedness, ada_val_print_1): Likewise.
299 (ada_val_print): Move function implementation down.
300 (print_variant_part, print_field_values, print_record):
301 Move function implementation up.
302
c0d48811
JB
3032014-01-07 Joel Brobecker <brobecker@adacore.com>
304
305 * python/py-type.c (typy_get_name): New function.
306 (type_object_getset): Add entry for attribute "name".
307 * NEWS: Add entry mentioning this new attribute.
308
c26e9cbb
YQ
3092014-01-07 Yao Qi <yao@codesourcery.com>
310
311 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
312 statement.
313
0cc6f43d
YQ
3142014-01-07 Yao Qi <yao@codesourcery.com>
315
316 * gnu-nat.c (info_port_rights): Add qualifier const to
317 argument args.
318
eec03155
YQ
3192014-01-07 Yao Qi <yao@codesourcery.com>
320
321 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
322
f04a82ef
YQ
3232014-01-07 Yao Qi <yao@codesourcery.com>
324
325 * gnu-nat.c (make_inf) Update declaration.
326 (make_inf): Make it static.
327 (inf_set_traced): Likewise.
328 (inf_port_to_thread, inf_task_died_status): Likewise.
329
d57dda0a
YQ
3302014-01-07 Yao Qi <yao@codesourcery.com>
331
332 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
333
3aa8c969
YQ
3342014-01-07 Yao Qi <yao@codesourcery.com>
335
336 * gnu-nat.c (_initialize_gnu_nat): Declare.
337
94123b4f
YQ
3382014-01-07 Yao Qi <yao@codesourcery.com>
339
340 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
341 'enum bfd_endian'.
342 (struct gdbarch_info) <byte_order>: Change type to
343 'enum bfd_endian'.
344 <byte_order_for_code>: Likewise.
345 * gdbarch.c, gdbarch.h: Regenerated.
346
dc81d70a
TT
3472014-01-06 Sasha Smundak <asmundak@google.com>
348
349 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
350
cc2f3c35
TT
3512014-01-06 Tom Tromey <tromey@redhat.com>
352
353 * doublest.c (convert_doublest_to_floatformat): Use const, not
354 CONST.
355 * somread.c (som_symtab_read): Likewise.
356
adcf2eed
HZ
3572014-01-07 Hui Zhu <hui@codesourcery.com>
358
359 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
360 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
361 (gdb_bfd_fopen): Ditto.
362 (gdb_bfd_openr): Ditto.
363 (gdb_bfd_openw): Ditto.
364 (gdb_bfd_openr_iovec): Ditto.
365 (gdb_bfd_fdopenr): Ditto.
366 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
367 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
368 with xstrdup.
369 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
370 with xstrdup.
371 * symfile-mem.c (symbol_file_add_from_memory): Removed
372 gdb_bfd_stash_filename.
373
50722198
DE
3742014-01-03 Doug Evans <dje@google.com>
375
376 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
377 output.
378
2fa4b862
JB
3792014-01-01 Joel Brobecker <brobecker@adacore.com>
380
381 Update year range in copyright notice of all files.
382
28498c42
JB
3832014-01-01 Joel Brobecker <brobecker@adacore.com>
384
385 * top.c (print_gdb_version): Set copyright year to 2014.
386
7b6e1046
JB
3872014-01-01 Joel Brobecker <brobecker@adacore.com>
388
389 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
390
df96af55 391For older changes see ChangeLog-2013.
c906108c
SS
392\f
393Local Variables:
394mode: change-log
395left-margin: 8
396fill-column: 74
397version-control: never
57da7796 398coding: utf-8
c906108c 399End:
This page took 2.050742 seconds and 4 git commands to generate.