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