5e3975f409e1910c4be1d8932610c3eb21f7d131
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-01-13 Tom Tromey <tromey@redhat.com>
2
3 * defs.h (deprecated_flush_hook): Remove.
4
5 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6
7 PR threads/16216
8 * linux-thread-db.c (try_thread_db_load): Add parameter
9 check_auto_load_safe. Move here the file_is_auto_load_safe call.
10 (try_thread_db_load_from_pdir_1): Move it there from here.
11 (try_thread_db_load_from_sdir): Update caller.
12 (try_thread_db_load_from_dir): Move it there from here.
13
14 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
15
16 * regformats/regdat.sh: Always rewrite the register file.
17
18 2014-01-13 Pedro Alves <palves@redhat.com>
19
20 * Makefile.in (CHECK_HEADERS): New variable.
21 (check-headers:): New rule.
22
23 2014-01-13 Tom Tromey <tromey@redhat.com>
24
25 * cli/cli-setshow.c (do_set_command): Update.
26 * defs.h (deprecated_set_hook): Remove.
27 * top.c (deprecated_set_hook): Remove.
28
29 2014-01-13 Pedro Alves <palves@redhat.com>
30
31 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
32 the tracepoint if the PC is a pseudo-register.
33
34 2014-01-13 Tom Tromey <tromey@redhat.com>
35
36 * defs.h (XCALLOC): Remove.
37 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
38 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
39 * dwarf2loc.c (allocate_piece_closure): Likewise.
40 * elfread.c (elf_symfile_segments): Likewise.
41 (elf_symfile_segments): Likewise.
42 * gdbtypes.c (copy_type_recursive): Likewise.
43 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
44 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
45 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
46 XCALLOC.
47 * mt-tdep.c (mt_gdbarch_init): Likewise.
48 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
49 XCALLOC.
50 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
51 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
52 * registry.c (registry_alloc_data): Likewise.
53 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
54 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
55 * serial.c (serial_fdopen_ops): Likewise.
56 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
57 XCALLOC.
58 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
59 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
60 not XCALLOC.
61
62 2014-01-13 Tom Tromey <tromey@redhat.com>
63
64 * defs.h (XMALLOC): Remove.
65 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
66 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
67 * cli-out.c (struct ui_out *): Likewise.
68 * cli/cli-dump.c (add_dump_command): Likewise.
69 (add_dump_command): Likewise.
70 * complaints.c (get_complaints): Likewise.
71 (find_complaint): Likewise.
72 * dwarf2-frame.c (execute_cfa_program): Likewise.
73 * dwarf2read.c (abbrev_table_read_table): Likewise.
74 * gdbarch.sh: Likewise.
75 * gdbarch.c: Rebuild.
76 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
77 * interps.c (interp_new): Likewise.
78 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
79 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
80 * mi/mi-console.c (mi_console_file_new): Likewise.
81 * mi/mi-interp.c (mi_interpreter_init): Likewise.
82 * mi/mi-out.c (mi_out_new): Likewise.
83 * mi/mi-parse.c (mi_parse): Likewise.
84 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
85 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
86 * observer.c (xalloc_observer_list_node): Likewise.
87 * regcache.c (regcache_xmalloc_1): Likewise.
88 * reggroups.c (reggroup_new): Likewise.
89 (_initialize_reggroup): Likewise.
90 * registry.c (register_data_with_cleanup): Likewise.
91 * remote.c (remote_notif_stop_alloc_reply): Likewise.
92 * ser-base.c (serial_ttystate): Likewise.
93 * ser-mingw.c (make_pipe_state): Likewise.
94 * ser-pipe.c (pipe_open): Likewise.
95 * serial.c (serial_open): Likewise.
96 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
97 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
98 (tui_alloc_win_info): Likewise.
99 (tui_add_content_elements): Likewise.
100 * tui/tui-file.c (tui_file_new): Likewise.
101 * tui/tui-out.c (tui_out_new): Likewise.
102 * ui-file.c (mem_file_new): Likewise.
103 * ui-out.c (push_level): Likewise.
104 (make_cleanup_ui_out_end): Likewise.
105 (append_header_to_list): Likewise.
106 (ui_out_new): Likewise.
107 * user-regs.c (user_reg_add_builtin): Likewise.
108
109 2014-01-13 Tom Tromey <tromey@redhat.com>
110
111 * defs.h (XZALLOC): Remove.
112 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
113 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
114 (get_ada_tasks_inferior_data): Likewise.
115 * auto-load.c (get_auto_load_pspace_data): Likewise.
116 * auxv.c (get_auxv_inferior_data): Likewise.
117 * bfd-target.c (target_bfd_reopen): Likewise.
118 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
119 (deprecated_insert_raw_breakpoint): Likewise.
120 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
121 * corelow.c (core_open): Likewise.
122 * darwin-nat.c (darwin_check_new_threads): Likewise.
123 (darwin_attach_pid): Likewise.
124 * dummy-frame.c (dummy_frame_push): Likewise.
125 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
126 * dwarf2loc.c (allocate_piece_closure): Likewise.
127 * elfread.c (elf_symfile_segments): Likewise.
128 * eval.c (ptrmath_type_p): Likewise.
129 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
130 * gdbtypes.c (alloc_type_arch): Likewise.
131 (alloc_type_instance): Likewise.
132 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
133 * inf-child.c (inf_child_can_use_agent): Likewise.
134 * inflow.c (get_inflow_inferior_data): Likewise.
135 * infrun.c (save_infcall_suspend_state): Likewise.
136 * jit.c (jit_reader_load): Likewise.
137 (get_jit_objfile_data): Likewise.
138 (get_jit_program_space_data): Likewise.
139 (jit_object_open_impl): Likewise.
140 (jit_symtab_open_impl): Likewise.
141 (jit_block_open_impl): Likewise.
142 (jit_frame_sniffer): Likewise.
143 * linux-fork.c (add_fork): Likewise.
144 * maint.c (make_command_stats_cleanup): Likewise.
145 * objfiles.c (get_objfile_pspace_data): Likewise.
146 * opencl-lang.c (struct lval_closure): Likewise.
147 * osdata.c (osdata_start_osdata): Likewise.
148 * progspace.c (new_address_space): Likewise.
149 (add_program_space): Likewise.
150 * remote-sim.c (get_sim_inferior_data): Likewise.
151 * sh-tdep.c (sh_gdbarch_init): Likewise.
152 * skip.c (Ignore): Likewise.
153 (skip_delete_command): Likewise.
154 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
155 (library_list_start_library): Likewise.
156 (solib_aix_current_sos): Likewise.
157 * solib-darwin.c (get_darwin_info): Likewise.
158 (darwin_current_sos): Likewise.
159 * solib-dsbt.c (get_dsbt_info): Likewise.
160 * solib-ia64-hpux.c (new_so_list): Likewise.
161 (ia64_hpux_get_solib_linkage_addr): Likewise.
162 * solib-spu.c (append_ocl_sos): Likewise.
163 (spu_current_sos): Likewise.
164 * solib-svr4.c (get_svr4_info): Likewise.
165 (svr4_keep_data_in_core): Likewise.
166 (library_list_start_library): Likewise.
167 (svr4_default_sos): Likewise.
168 (svr4_read_so_list): Likewise.
169 * solib-target.c (library_list_start_library): Likewise.
170 (solib_target_current_sos): Likewise.
171 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
172 * symfile-debug.c (install_symfile_debug_logging): Likewise.
173 * symfile.c (default_symfile_segments): Likewise.
174 * target-descriptions.c (tdesc_data_init): Likewise.
175 (tdesc_create_reg): Likewise.
176 (struct tdesc_type *): Likewise.
177 (tdesc_create_vector): Likewise.
178 (tdesc_set_struct_size): Likewise.
179 (struct tdesc_type *): Likewise.
180 (tdesc_free_feature): Likewise.
181 (tdesc_create_feature): Likewise.
182 * windows-nat.c (windows_add_thread): Likewise.
183 (windows_make_so): Likewise.
184 * xml-support.c (gdb_xml_body_text): Likewise.
185 (gdb_xml_create_parser_and_cleanup): Likewise.
186 (xml_process_xincludes): Likewise.
187 * xml-syscall.c (allocate_syscalls_info): Likewise.
188 (syscall_create_syscall_desc): Likewise.
189
190 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
191
192 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
193 function, with code from i386_stap_parse_special_token.
194 (i386_stap_parse_special_token_three_arg_disp): Likewise.
195 (i386_stap_parse_special_token): Move code to the two functions
196 above; simplify it.
197
198 2014-01-09 Pedro Alves <palves@redhat.com>
199 Hui Zhu <hui@codesourcery.com>
200
201 PR gdb/16101
202 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
203 bp_err_string. Don't mark the location shlib_disabled if the
204 error thrown wasn't a generic or memory error. Catch errors
205 thrown while inserting breakpoints in overlayed code. Output
206 error message of software breakpoints.
207 * remote.c (remote_insert_breakpoint): If this breakpoint has
208 target-side commands but this stub doesn't support Z0 packets,
209 throw NOT_SUPPORTED_ERROR error.
210 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
211 * target.h (target_insert_breakpoint): Extend comment.
212 (target_insert_hw_breakpoint): Add comment.
213
214 2014-01-08 Pedro Alves <palves@redhat.com>
215
216 * remote.c (remote_add_thread): Add threads silently if starting
217 up.
218 (remote_notice_new_inferior): If in all-stop, and starting up,
219 don't call notice_new_inferior.
220 (get_current_thread): New function, factored out from ...
221 (add_current_inferior_and_thread): ... this. Adjust.
222 (remote_start_remote) <all-stop>: Fetch the thread list. If we
223 found any thread, then select the remote's current thread as GDB's
224 current thread too.
225
226 2014-01-08 Joel Brobecker <brobecker@adacore.com>
227
228 * NEWS: Create a new section for the next release branch.
229 Rename the section of the current branch, now that it has
230 been cut.
231
232 2014-01-08 Joel Brobecker <brobecker@adacore.com>
233
234 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
235 * version.in: Bump version to 7.7.50.DATE-cvs.
236
237 2014-01-08 Yao Qi <yao@codesourcery.com>
238
239 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
240 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
241 (spu_xfer_partial): Cast 'buf' to 'const char *'.
242
243 2014-01-08 Yao Qi <yao@codesourcery.com>
244
245 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
246 return value of bfd_get_filename to symbol_file_add_from_bfd.
247
248 2014-01-08 Pierre Muller <muller@sourceware.org>
249
250 Fix PR16201.
251 * coff-pe-read.c (struct read_pe_section_data): Add index field.
252 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
253 to prim_record_mininal_symbol_and_info.
254 (add_pe_forwarded_sym): Use known section number of forwarded symbol
255 in call to prim_record_minimal_symbol_and_info.
256 (read_pe_exported_syms): Set index field of section_data.
257
258 2014-01-07 Andrew Pinski <apinski@cavium.com>
259
260 * features/aarch64-core.xml (cpsr): Change to be 64bit.
261 * features/aarch64.c: Regenerate.
262
263 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
264
265 * target.c (return_null): Define.
266 (update_current_target): Use it instead of return_zero for
267 functions that return a pointer.
268
269 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
270
271 * source.c (add_path): Fix check for duplicated paths in the previously
272 included paths.
273
274 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
275
276 * ada-lang.c: Remove duplicated include statements.
277 * alphabsd-nat.c: Ditto.
278 * amd64-darwin-tdep.c: Ditto.
279 * amd64fbsd-nat.c: Ditto.
280 * auto-load.c: Ditto.
281 * ax-gdb.c: Ditto.
282 * breakpoint.c: Ditto.
283 * dbxread.c: Ditto.
284 * fork-child.c: Ditto.
285 * gdb_usleep.c: Ditto.
286 * i386-darwin-tdep.c: Ditto.
287 * i386fbsd-nat.c: Ditto.
288 * infcmd.c: Ditto.
289 * inferior.c: Ditto.
290 * jv-lang.c: Ditto.
291 * linux-nat.c: Ditto.
292 * linux-tdep.c: Ditto.
293 * m68kbsd-nat.c: Ditto.
294 * m68klinux-nat.c: Ditto.
295 * microblaze-tdep.c: Ditto.
296 * mips-linux-tdep.c: Ditto.
297 * mn10300-tdep.c: Ditto.
298 * nto-tdep.c: Ditto.
299 * opencl-lang.c: Ditto.
300 * osdata.c: Ditto.
301 * printcmd.c: Ditto.
302 * regcache.c: Ditto.
303 * remote-m32r-sdi.c: Ditto.
304 * remote.c: Ditto.
305 * symfile.c: Ditto.
306 * symtab.c: Ditto.
307 * tilegx-linux-nat.c: Ditto.
308 * tilegx-tdep.c: Ditto.
309 * tracepoint.c: Ditto.
310 * valops.c: Ditto.
311 * vaxbsd-nat.c: Ditto.
312 * windows-nat.c: Ditto.
313 * xtensa-tdep.c: Ditto.
314
315 2014-01-07 Yao Qi <yao@codesourcery.com>
316
317 * spu-linux-nat.c (_initialize_spu_nat): Declare.
318
319 2014-01-07 Yao Qi <yao@codesourcery.com>
320 Joel Brobecker <brobecker@adacore.com>
321
322 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
323 (pdc_write_regs): Likewise.
324 (fetch_regs_kernel_thread): Likewise.
325 (store_regs_kernel_thread): Likewise.
326
327 2014-01-07 Joel Brobecker <brobecker@adacore.com>
328
329 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
330 tagged type objects to their actual type.
331
332 2014-01-07 Joel Brobecker <brobecker@adacore.com>
333
334 * ada-valprint.c (print_field_values): Add "language" parameter.
335 Update calls to print_field_values and print_variant_part.
336 Pass new parameter "language" in call to val_print instead
337 of "current_language". Replace call to ada_val_print by call
338 to val_print.
339 (print_variant_part): Add "language" parameter.
340 (ada_val_print_struct_union): Update call to print_field_values.
341
342 2014-01-07 Joel Brobecker <brobecker@adacore.com>
343
344 * ada-valprint.c (ui_memcpy): Delete.
345 (ada_print_floating): Update documentation. Add empty line
346 between between function documentation and implementation.
347 Delete variable "buffer". Use ui_file_xstrdup in place of
348 ui_file_put. Minor adjustments following this change.
349
350 2014-01-07 Joel Brobecker <brobecker@adacore.com>
351
352 * ada-valprint.c (ada_val_print_string): New function,
353 extracted from ada_val_print_array.
354 (ada_val_print_array): Replace extracted code by call
355 to ada_val_print_string followed by a return. Move
356 "else" branch to the function's top block.
357
358 2014-01-07 Joel Brobecker <brobecker@adacore.com>
359
360 * ada-valprint.c (ada_val_print_array): Move implementation
361 down. Rename parameter "offset" and "val" into "offset_aligned"
362 and "original_value" respectively. Add parameter "offset".
363
364 2014-01-07 Joel Brobecker <brobecker@adacore.com>
365
366 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
367 re-organizing the code. Change the "???" message printed
368 when target type is a TYPE_CODE_UNDEF into
369 "<ref to undefined type>".
370
371 2014-01-07 Joel Brobecker <brobecker@adacore.com>
372
373 * ada-valprint.c (print_record): Delete, implementation inlined...
374 (ada_val_print_struct_union): ... here. Remove call to
375 ada_check_typedef in inlined implementation.
376
377 2014-01-07 Joel Brobecker <brobecker@adacore.com>
378
379 * ada-valprint.c (ada_val_print_gnat_array): New function,
380 extracted from ada_val_print_1;
381 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
382 (ada_val_print_flt, ada_val_print_struct_union)
383 (ada_val_print_ref): Likewise.
384 (ada_val_print_1): Delete variables i and elttype.
385 Replace extracted-out code by call to corresponding
386 new functions.
387
388 2014-01-07 Joel Brobecker <brobecker@adacore.com>
389
390 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
391
392 2014-01-07 Joel Brobecker <brobecker@adacore.com>
393
394 * ada-valprint.c (ada_val_print_1): Replace calls to
395 ada_val_print_1 by calls to val_print.
396
397 2014-01-07 Joel Brobecker <brobecker@adacore.com>
398
399 * ada-valprint.c (ada_val_print_1): Add parameter "language".
400 Update calls to self accordingly. Replace calls to c_val_print
401 by calls to val_print.
402
403 2014-01-07 Joel Brobecker <brobecker@adacore.com>
404
405 * ada-valprint.c (print_record): Delete declaration.
406 (adjust_type_signedness, ada_val_print_1): Likewise.
407 (ada_val_print): Move function implementation down.
408 (print_variant_part, print_field_values, print_record):
409 Move function implementation up.
410
411 2014-01-07 Joel Brobecker <brobecker@adacore.com>
412
413 * python/py-type.c (typy_get_name): New function.
414 (type_object_getset): Add entry for attribute "name".
415 * NEWS: Add entry mentioning this new attribute.
416
417 2014-01-07 Yao Qi <yao@codesourcery.com>
418
419 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
420 statement.
421
422 2014-01-07 Yao Qi <yao@codesourcery.com>
423
424 * gnu-nat.c (info_port_rights): Add qualifier const to
425 argument args.
426
427 2014-01-07 Yao Qi <yao@codesourcery.com>
428
429 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
430
431 2014-01-07 Yao Qi <yao@codesourcery.com>
432
433 * gnu-nat.c (make_inf) Update declaration.
434 (make_inf): Make it static.
435 (inf_set_traced): Likewise.
436 (inf_port_to_thread, inf_task_died_status): Likewise.
437
438 2014-01-07 Yao Qi <yao@codesourcery.com>
439
440 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
441
442 2014-01-07 Yao Qi <yao@codesourcery.com>
443
444 * gnu-nat.c (_initialize_gnu_nat): Declare.
445
446 2014-01-07 Yao Qi <yao@codesourcery.com>
447
448 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
449 'enum bfd_endian'.
450 (struct gdbarch_info) <byte_order>: Change type to
451 'enum bfd_endian'.
452 <byte_order_for_code>: Likewise.
453 * gdbarch.c, gdbarch.h: Regenerated.
454
455 2014-01-06 Sasha Smundak <asmundak@google.com>
456
457 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
458
459 2014-01-06 Tom Tromey <tromey@redhat.com>
460
461 * doublest.c (convert_doublest_to_floatformat): Use const, not
462 CONST.
463 * somread.c (som_symtab_read): Likewise.
464
465 2014-01-07 Hui Zhu <hui@codesourcery.com>
466
467 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
468 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
469 (gdb_bfd_fopen): Ditto.
470 (gdb_bfd_openr): Ditto.
471 (gdb_bfd_openw): Ditto.
472 (gdb_bfd_openr_iovec): Ditto.
473 (gdb_bfd_fdopenr): Ditto.
474 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
475 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
476 with xstrdup.
477 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
478 with xstrdup.
479 * symfile-mem.c (symbol_file_add_from_memory): Removed
480 gdb_bfd_stash_filename.
481
482 2014-01-03 Doug Evans <dje@google.com>
483
484 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
485 output.
486
487 2014-01-01 Joel Brobecker <brobecker@adacore.com>
488
489 Update year range in copyright notice of all files.
490
491 2014-01-01 Joel Brobecker <brobecker@adacore.com>
492
493 * top.c (print_gdb_version): Set copyright year to 2014.
494
495 2014-01-01 Joel Brobecker <brobecker@adacore.com>
496
497 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
498
499 For older changes see ChangeLog-2013.
500 \f
501 Local Variables:
502 mode: change-log
503 left-margin: 8
504 fill-column: 74
505 version-control: never
506 coding: utf-8
507 End:
This page took 0.052001 seconds and 4 git commands to generate.