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