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