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