btrace, linux: fix memory leak when reading branch trace
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
ed9edfb5
MM
12014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2
3 * common/linux-btrace.c (linux_read_btrace): Free trace from
4 previous iteration.
5
fbcbc3fd
DE
62014-01-15 Doug Evans <dje@google.com>
7
8 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
9 uint32_t.
10
3d548a53
TT
112014-01-15 Tom Tromey <tromey@redhat.com>
12
13 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
14 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
15 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
16 (set_objfile_main_name): New function.
17 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
18 language_of_main>: New fields.
19 (set_objfile_main_name): Declare.
20 * symtab.c (find_main_name): Loop over objfiles to find the main
21 name and language.
22 (set_main_name): Now static.
23 (get_main_info): Add comment.
24 * symtab.h (set_main_name): Don't declare.
25
32ac0d11
TT
262014-01-15 Tom Tromey <tromey@redhat.com>
27
28 * symtab.c (main_progspace_key): New global.
29 (struct main_info): New.
30 (name_of_main, language_of_main): Remove.
31 (get_main_info, main_info_cleanup): New function.
32 (set_main_name, main_name, main_language): Use get_main_info.
33 (_initialize_symtab): Initialize main_progspace_key.
34
9e6c82ad
TT
352014-01-15 Tom Tromey <tromey@redhat.com>
36
37 * dbxread.c (process_one_symbol): Update.
38 * dwarf2read.c (read_partial_die): Update.
39 * symfile.c (set_initial_language): Call main_language.
40 * symtab.c (language_of_main): Now static.
41 (set_main_name): Add 'lang' parameter.
42 (find_main_name): Update.
43 (main_language): New function.
44 (symtab_observer_executable_changed): Update.
45 * symtab.h (set_main_name): Update.
46 (language_of_main): Remove.
47 (main_language): Declare.
48
6ef55de7
TT
492014-01-15 Tom Tromey <tromey@redhat.com>
50
51 * symfile.c (init_entry_point_info): Use new "initialized" field.
52 Update.
53 * objfiles.h (struct entry_point) <initialized>: New field.
54 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
55 (struct objfile) <ei>: ...here. Remove.
56 * objfiles.c (entry_point_address_query): Update.
57
53eddfa6
TT
582014-01-15 Tom Tromey <tromey@redhat.com>
59
60 * objfiles.c (entry_point_address_query): Relocate entry point
61 address.
62 (objfile_relocate1): Do not relocate entry point address.
63 * objfiles.h (struct entry_info) <entry_point>: Update comment.
64 <the_bfd_section_index>: New field.
65 * symfile.c (init_entry_point_info): Find the entry point's
66 section.
67
d56e56aa
TT
682014-01-15 Tom Tromey <tromey@redhat.com>
69
70 * solib-frv.c (enable_break): Use entry_point_address_query.
71
33a97bbe
OJ
722014-01-15 Omair Javaid <omair.javaid@linaro.org>
73
74 * NEWS: Add note on improved process record-replay on
75 arm*-linux* targets.
76
c6ec2b30
OJ
772014-01-15 Omair Javaid <omair.javaid@linaro.org>
78
79 * arm-tdep.c (enum arm_record_result): New enum.
80 (arm_record_unsupported_insn): New function.
81 (arm_record_coproc_data_proc): Removed.
82 (thumb2_record_ld_st_multiple): New function.
83 (thumb2_record_ld_st_dual_ex_tbb): New function.
84 (thumb2_record_data_proc_sreg_mimm): New function.
85 (thumb2_record_ps_dest_generic): New function.
86 (thumb2_record_branch_misc_cntrl): New function.
87 (thumb2_record_str_single_data): New function.
88 (thumb2_record_ld_mem_hints): New function.
89 (thumb2_record_ld_word): New function.
90 (thumb2_record_lmul_lmla_div): New function.
91 (thumb2_record_decode_insn_handler): New function.
92 (decode_insn): Add thumb32 instruction handlers.
93
97dfe206
OJ
942014-01-15 Omair Javaid <omair.javaid@linaro.org>
95
96 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
97 (struct arm_linux_record_tdep): Declare.
98 (arm_canonicalize_syscall): New function.
99 (arm_all_but_pc_registers_record): New function.
100 (arm_linux_syscall_record): New function.
101 (arm_linux_init_abi): Add syscall recording constructs.
102 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
103 decoding. (arm_record_coproc_data_proc): Update arm syscall
104 decoding.
105 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
106 <arm_syscall_record>: New field.
107 * configure.tgt (arm*-*-linux*): Add linux-record.o to
108 gdb_target_obs.
109
9904a494
OJ
1102014-01-15 Omair Javaid <omair.javaid@linaro.org>
111
112 * arm-tdep.c (thumb_record_misc): Update to use sp as base
113 register for push instruction recording.
114
f969241e
OJ
1152014-01-15 Omair Javaid <omair.javaid@linaro.org>
116
117 * arm-tdep.c (thumb_record_misc): Update to correct logical
118 error while recording ldm, ldmia and pop instructions.
119
bfbbec00
OJ
1202014-01-15 Omair Javaid <omair.javaid@linaro.org>
121
122 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
123
e40adcc9
PA
1242014-01-15 Pedro Alves <palves@redhat.com>
125
126 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
127 (go32_resume, go32_fetch_registers, store_register)
128 (go32_store_registers, go32_prepare_to_store)
129 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
130 (go32_create_inferior, go32_can_run, go32_terminal_init)
131 (go32_terminal_inferior, go32_terminal_ours): Delete forward
132 declarations.
133
b0a16e66
TT
1342014-01-15 Tom Tromey <tromey@redhat.com>
135
136 * target.h (async_callback_ftype): New typedef.
137 (struct target_ops) <to_async>: Use it.
138
bf7105a4
JB
1392014-01-15 Joel Brobecker <brobecker@adacore.com>
140
141 * python/py-value.c (get_field_type): Remove unnecessary curly
142 braces for single-statement if block.
143
a8f35c2e
JB
1442014-01-15 Joel Brobecker <brobecker@adacore.com>
145
146 * python/py-type.c (convert_field): Add missing empty line
147 after declarations.
148
bb4142cf
DE
1492014-01-14 Doug Evans <dje@google.com>
150
151 * symfile.h (expand_symtabs_matching): Renamed from
152 expand_partial_symbol_names. Update prototype.
153 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
154 * symfile.c (expand_symtabs_matching): Renamed from
155 expand_partial_symbol_names. New args file_matcher, kind.
156 Rename arg fun to symbol_matcher.
157 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
158 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
159 ada_expand_partial_symbol_name.
160 (ada_make_symbol_completion_list): Update to call
161 expand_symtabs_matching.
162 (ada_add_global_exceptions): Call expand_symtabs_matching.
163 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
164 call map_symbol_filenames.
165 * symtab.c (sources_info): Update to call map_symbol_filenames.
166 (search_symbols): Call expand_symtabs_matching.
167 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
168 (default_make_symbol_completion_list_break_on): Update to call
169 expand_symtabs_matching.
170 (make_source_files_completion_list): Update to call
171 map_symbol_filenames.
172
206f2a57
DE
1732014-01-14 Doug Evans <dje@google.com>
174
175 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
176 (expand_symtabs_symbol_matcher_ftype): New typedef.
177 (quick_symbol_functions.expand_symtabs_matching): Update to use.
178 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
179 * symfile.c (expand_partial_symbol_names): Update to use
180 expand_symtabs_symbol_matcher_ftype.
181 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
182 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
183 Arg name_matcher renamed to symbol_matcher.
184 * psymtab.c (recursively_search_psymtabs): Update to use
185 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
186 sym_matcher.
187 (expand_symtabs_matching_via_partial): Update to use
188 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
189 Arg name_matcher renamed to symbol_matcher.
190
540c2971
DE
1912014-01-14 Doug Evans <dje@google.com>
192
193 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
194 (map_partial_symbol_filenames): Ditto.
195 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
196 (map_partial_symbol_filenames): Ditto.
197 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
198 (map_partial_symbol_filenames): Ditto.
199 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
200 (map_partial_symbol_filenames): Ditto.
201 * symtab.c: Delete #include "psymtab.h".
202
8213266a
PA
2032014-01-14 Pedro Alves <palves@redhat.com>
204 Tom Tromey <tromey@redhat.com>
205
206 * infrun.c (use_displaced_stepping): Use find_record_target
207 instead of RECORD_IS_USED.
208 (adjust_pc_after_break): Use record_full_is_used instead of
209 RECORD_IS_USED.
210 * record-btrace.c (record_btrace_open): Call record_preopen
211 instead of checking RECORD_IS_USED.
212 * record-full.c (record_full_shortname)
213 (record_full_core_shortname): New globals.
214 (record_full_is_used): New function.
215 (find_full_open): Call record_preopen instead of checking
216 RECORD_IS_USED.
217 (init_record_full_ops): Set the target's shortname to
218 record_full_shortname.
219 (init_record_full_core_ops): Set the target's shortname to
220 record_full_core_shortname.
221 * record-full.h (record_full_is_used): Declare.
222 * record.c (find_record_target): Make extern.
223 (record_preopen): New function.
224 * record.h (RECORD_IS_USED): Delete macro.
225 (find_record_target, record_preopen): Declare functions.
226
7ec1862d
YQ
2272014-01-14 Yao Qi <yao@codesourcery.com>
228
229 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
230 'len''s type to ULONGEST.
231 (core_xfer_shared_libraries_aix): Likewise.
232 * gdbarch.c, gdbarch.h: Regenerated.
233 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
234 Change type of 'len' to ULONGEST.
235 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
236 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
237
dea80a27
YQ
2382014-01-14 Yao Qi <yao@codesourcery.com>
239
240 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
241 type of 'len' to ULONGEST.
242 (linux_xfer_osdata_processgroups): Likewise.
243 (linux_xfer_osdata_threads): Likewise.
244 (linux_xfer_osdata_fds): Likewise.
245 (linux_xfer_osdata_isockets): Likewise.
246 (linux_xfer_osdata_shm): Likewise.
247 (linux_xfer_osdata_sem): Likewise.
248 (linux_xfer_osdata_msg): Likewise.
249 (linux_common_xfer_osdata): Likewise.
250 (struct osdata_type) <getter>: Likewise.
251 * common/linux-osdata.h (linux_common_xfer_osdata): Update
252 the declaration.
253
b55e14c7
YQ
2542014-01-14 Yao Qi <yao@codesourcery.com>
255
256 * target.h (target_xfer_partial_ftype): Update.
257 (struct target_ops) <to_xfer_partial>: Change 'len' type to
258 ULONGEST.
259 * aix-thread.c (aix_thread_xfer_partial): Change type of
260 argument 'len' to ULONGEST.
261 * auxv.c (procfs_xfer_auxv): Likewise.
262 (ld_so_xfer_auxv): Likewise.
263 (memory_xfer_auxv): Likewise.
264 * bfd-target.c (target_bfd_xfer_partial): Likewise.
265 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
266 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
267 * corelow.c (core_xfer_partial): Likewise.
268 * ctf.c (ctf_xfer_partial): Likewise.
269 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
270 '%u'.
271 (darwin_read_dyld_info): Likewise.
272 (darwin_xfer_partial): Likewise.
273 * exec.c (section_table_xfer_memory_partial): Likewise.
274 (exec_xfer_partial): Likewise.
275 * exec.h (section_table_xfer_memory_partial): Update
276 declaration.
277 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
278 instead of plongest.
279 (gnu_xfer_partial): Likewise.
280 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
281 (ia64_hpux_xfer_solib_got): Likewise.
282 (ia64_hpux_xfer_partial): Likewise.
283 * ia64-linux-nat.c (ia64_linux_xfer_partial):
284 * inf-ptrace.c (inf_ptrace_xfer_partial):
285 * inf-ttrace.c (inf_ttrace_xfer_partial):
286 * linux-nat.c (linux_xfer_siginfo): Likewise.
287 (linux_nat_xfer_partial): Likewise.
288 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
289 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
290 * monitor.c (monitor_xfer_memory): Likewise.
291 (monitor_xfer_partial): Likewise.
292 * procfs.c (procfs_xfer_partial): Likewise.
293 * record-full.c (record_full_xfer_partial): Likewise.
294 (record_full_core_xfer_partial): Likewise.
295 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
296 instead of plongest.
297 (gdbsim_xfer_partial): Likewise.
298 * remote.c (remote_xfer_partial): Likewise.
299 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
300 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
301 declaration.
302 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
303 (rs6000_xfer_shared_libraries): Likewise.
304 * sol-thread.c (sol_thread_xfer_partial): Likewise.
305 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
306 (sparc_xfer_partial): Likewise.
307 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
308 (spu_xfer_partial): Likewise.
309 * spu-multiarch.c (spu_xfer_partial): Likewise.
310 * target.c (target_read_live_memory): Likewise.
311 (memory_xfer_live_readonly_partial): Likewise.
312 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
313 (target_xfer_partial, default_xfer_partial): Likewise.
314 (current_xfer_partial): Likewise.
315 * tracepoint.c (tfile_xfer_partial): Likewise.
316 * windows-nat.c (windows_xfer_memory): Likewise. Call
317 pulongest instead of plongest.
318 (windows_xfer_partial): Likewise.
319 (windows_xfer_shared_libraries): Likewise.
320
05804640
YQ
3212014-01-14 Yao Qi <yao@codesourcery.com>
322
323 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
324 target_xfer_partial_ftype.
325
b5b08fb4
SC
3262014-01-13 Siva Chandra Reddy <sivachandra@google.com>
327
328 PR python/15464
329 PR python/16113
330 * valops.c (value_struct_elt_bitpos): New function
331 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
332 object to 'None' if the field name is an empty string ("").
333 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
334 attribute to look for a field when 'name' is 'None'.
335 (get_field_type): New function
336
13aaf454
DE
3372014-01-13 Doug Evans <dje@google.com>
338
339 PR symtab/16426
340 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
341 (try_open_dwop_file): Ditto.
342 * gdb_bfd.c: #include "vec.h".
343 (bfdp): New typedef.
344 (struct gdb_bfd_data): New member included_bfds.
345 (gdb_bfd_unref): Unref all included bfds.
346 (gdb_bfd_record_inclusion): New function.
347 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
348
c2cec97c
TT
3492014-01-13 Tom Tromey <tromey@redhat.com>
350
351 * gdbcore.h (deprecated_core_resize_section_table): Remove.
352
78e5999d
TT
3532014-01-13 Tom Tromey <tromey@redhat.com>
354
355 * defs.h (use_windows): Remove.
356 * gdb.c (main): Update.
357 * main.c (captured_main, gdb_main): Update.
358 * main.h (struct captured_main_args) <use_windows>: Remove.
359 * top.c (use_windows): Remove.
360
f2052bbe
TT
3612014-01-13 Tom Tromey <tromey@redhat.com>
362
363 * defs.h (deprecated_flush_hook): Remove.
364
fde4f8ed
JK
3652014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
366
367 PR threads/16216
368 * linux-thread-db.c (try_thread_db_load): Add parameter
369 check_auto_load_safe. Move here the file_is_auto_load_safe call.
370 (try_thread_db_load_from_pdir_1): Move it there from here.
371 (try_thread_db_load_from_sdir): Update caller.
372 (try_thread_db_load_from_dir): Move it there from here.
373
bdf61915
PP
3742014-01-13 Patrick Palka <patrick@parcs.ath.cx>
375
376 * regformats/regdat.sh: Always rewrite the register file.
377
f71e1a8d
PA
3782014-01-13 Pedro Alves <palves@redhat.com>
379
380 * Makefile.in (CHECK_HEADERS): New variable.
381 (check-headers:): New rule.
382
42c85435
TT
3832014-01-13 Tom Tromey <tromey@redhat.com>
384
385 * cli/cli-setshow.c (do_set_command): Update.
386 * defs.h (deprecated_set_hook): Remove.
387 * top.c (deprecated_set_hook): Remove.
388
f8de5129
PA
3892014-01-13 Pedro Alves <palves@redhat.com>
390
391 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
392 the tracepoint if the PC is a pseudo-register.
393
fc270c35
TT
3942014-01-13 Tom Tromey <tromey@redhat.com>
395
396 * defs.h (XCALLOC): Remove.
397 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
398 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
399 * dwarf2loc.c (allocate_piece_closure): Likewise.
400 * elfread.c (elf_symfile_segments): Likewise.
401 (elf_symfile_segments): Likewise.
402 * gdbtypes.c (copy_type_recursive): Likewise.
403 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
404 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
405 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
406 XCALLOC.
407 * mt-tdep.c (mt_gdbarch_init): Likewise.
408 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
409 XCALLOC.
410 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
411 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
412 * registry.c (registry_alloc_data): Likewise.
413 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
414 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
415 * serial.c (serial_fdopen_ops): Likewise.
416 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
417 XCALLOC.
418 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
419 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
420 not XCALLOC.
421
70ba0933
TT
4222014-01-13 Tom Tromey <tromey@redhat.com>
423
424 * defs.h (XMALLOC): Remove.
425 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
426 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
427 * cli-out.c (struct ui_out *): Likewise.
428 * cli/cli-dump.c (add_dump_command): Likewise.
429 (add_dump_command): Likewise.
430 * complaints.c (get_complaints): Likewise.
431 (find_complaint): Likewise.
432 * dwarf2-frame.c (execute_cfa_program): Likewise.
433 * dwarf2read.c (abbrev_table_read_table): Likewise.
434 * gdbarch.sh: Likewise.
435 * gdbarch.c: Rebuild.
436 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
437 * interps.c (interp_new): Likewise.
438 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
439 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
440 * mi/mi-console.c (mi_console_file_new): Likewise.
441 * mi/mi-interp.c (mi_interpreter_init): Likewise.
442 * mi/mi-out.c (mi_out_new): Likewise.
443 * mi/mi-parse.c (mi_parse): Likewise.
444 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
445 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
446 * observer.c (xalloc_observer_list_node): Likewise.
447 * regcache.c (regcache_xmalloc_1): Likewise.
448 * reggroups.c (reggroup_new): Likewise.
449 (_initialize_reggroup): Likewise.
450 * registry.c (register_data_with_cleanup): Likewise.
451 * remote.c (remote_notif_stop_alloc_reply): Likewise.
452 * ser-base.c (serial_ttystate): Likewise.
453 * ser-mingw.c (make_pipe_state): Likewise.
454 * ser-pipe.c (pipe_open): Likewise.
455 * serial.c (serial_open): Likewise.
456 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
457 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
458 (tui_alloc_win_info): Likewise.
459 (tui_add_content_elements): Likewise.
460 * tui/tui-file.c (tui_file_new): Likewise.
461 * tui/tui-out.c (tui_out_new): Likewise.
462 * ui-file.c (mem_file_new): Likewise.
463 * ui-out.c (push_level): Likewise.
464 (make_cleanup_ui_out_end): Likewise.
465 (append_header_to_list): Likewise.
466 (ui_out_new): Likewise.
467 * user-regs.c (user_reg_add_builtin): Likewise.
468
41bf6aca
TT
4692014-01-13 Tom Tromey <tromey@redhat.com>
470
471 * defs.h (XZALLOC): Remove.
472 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
473 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
474 (get_ada_tasks_inferior_data): Likewise.
475 * auto-load.c (get_auto_load_pspace_data): Likewise.
476 * auxv.c (get_auxv_inferior_data): Likewise.
477 * bfd-target.c (target_bfd_reopen): Likewise.
478 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
479 (deprecated_insert_raw_breakpoint): Likewise.
480 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
481 * corelow.c (core_open): Likewise.
482 * darwin-nat.c (darwin_check_new_threads): Likewise.
483 (darwin_attach_pid): Likewise.
484 * dummy-frame.c (dummy_frame_push): Likewise.
485 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
486 * dwarf2loc.c (allocate_piece_closure): Likewise.
487 * elfread.c (elf_symfile_segments): Likewise.
488 * eval.c (ptrmath_type_p): Likewise.
489 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
490 * gdbtypes.c (alloc_type_arch): Likewise.
491 (alloc_type_instance): Likewise.
492 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
493 * inf-child.c (inf_child_can_use_agent): Likewise.
494 * inflow.c (get_inflow_inferior_data): Likewise.
495 * infrun.c (save_infcall_suspend_state): Likewise.
496 * jit.c (jit_reader_load): Likewise.
497 (get_jit_objfile_data): Likewise.
498 (get_jit_program_space_data): Likewise.
499 (jit_object_open_impl): Likewise.
500 (jit_symtab_open_impl): Likewise.
501 (jit_block_open_impl): Likewise.
502 (jit_frame_sniffer): Likewise.
503 * linux-fork.c (add_fork): Likewise.
504 * maint.c (make_command_stats_cleanup): Likewise.
505 * objfiles.c (get_objfile_pspace_data): Likewise.
506 * opencl-lang.c (struct lval_closure): Likewise.
507 * osdata.c (osdata_start_osdata): Likewise.
508 * progspace.c (new_address_space): Likewise.
509 (add_program_space): Likewise.
510 * remote-sim.c (get_sim_inferior_data): Likewise.
511 * sh-tdep.c (sh_gdbarch_init): Likewise.
512 * skip.c (Ignore): Likewise.
513 (skip_delete_command): Likewise.
514 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
515 (library_list_start_library): Likewise.
516 (solib_aix_current_sos): Likewise.
517 * solib-darwin.c (get_darwin_info): Likewise.
518 (darwin_current_sos): Likewise.
519 * solib-dsbt.c (get_dsbt_info): Likewise.
520 * solib-ia64-hpux.c (new_so_list): Likewise.
521 (ia64_hpux_get_solib_linkage_addr): Likewise.
522 * solib-spu.c (append_ocl_sos): Likewise.
523 (spu_current_sos): Likewise.
524 * solib-svr4.c (get_svr4_info): Likewise.
525 (svr4_keep_data_in_core): Likewise.
526 (library_list_start_library): Likewise.
527 (svr4_default_sos): Likewise.
528 (svr4_read_so_list): Likewise.
529 * solib-target.c (library_list_start_library): Likewise.
530 (solib_target_current_sos): Likewise.
531 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
532 * symfile-debug.c (install_symfile_debug_logging): Likewise.
533 * symfile.c (default_symfile_segments): Likewise.
534 * target-descriptions.c (tdesc_data_init): Likewise.
535 (tdesc_create_reg): Likewise.
536 (struct tdesc_type *): Likewise.
537 (tdesc_create_vector): Likewise.
538 (tdesc_set_struct_size): Likewise.
539 (struct tdesc_type *): Likewise.
540 (tdesc_free_feature): Likewise.
541 (tdesc_create_feature): Likewise.
542 * windows-nat.c (windows_add_thread): Likewise.
543 (windows_make_so): Likewise.
544 * xml-support.c (gdb_xml_body_text): Likewise.
545 (gdb_xml_create_parser_and_cleanup): Likewise.
546 (xml_process_xincludes): Likewise.
547 * xml-syscall.c (allocate_syscalls_info): Likewise.
548 (syscall_create_syscall_desc): Likewise.
549
5acfdbae
SDJ
5502014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
551
552 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
553 function, with code from i386_stap_parse_special_token.
554 (i386_stap_parse_special_token_three_arg_disp): Likewise.
555 (i386_stap_parse_special_token): Move code to the two functions
556 above; simplify it.
557
0000e5cc
PA
5582014-01-09 Pedro Alves <palves@redhat.com>
559 Hui Zhu <hui@codesourcery.com>
560
561 PR gdb/16101
562 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
563 bp_err_string. Don't mark the location shlib_disabled if the
564 error thrown wasn't a generic or memory error. Catch errors
565 thrown while inserting breakpoints in overlayed code. Output
566 error message of software breakpoints.
567 * remote.c (remote_insert_breakpoint): If this breakpoint has
568 target-side commands but this stub doesn't support Z0 packets,
569 throw NOT_SUPPORTED_ERROR error.
570 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
571 * target.h (target_insert_breakpoint): Extend comment.
572 (target_insert_hw_breakpoint): Add comment.
573
b7ea362b
PA
5742014-01-08 Pedro Alves <palves@redhat.com>
575
576 * remote.c (remote_add_thread): Add threads silently if starting
577 up.
578 (remote_notice_new_inferior): If in all-stop, and starting up,
579 don't call notice_new_inferior.
580 (get_current_thread): New function, factored out from ...
581 (add_current_inferior_and_thread): ... this. Adjust.
582 (remote_start_remote) <all-stop>: Fetch the thread list. If we
583 found any thread, then select the remote's current thread as GDB's
584 current thread too.
585
b7bba001
JB
5862014-01-08 Joel Brobecker <brobecker@adacore.com>
587
588 * NEWS: Create a new section for the next release branch.
589 Rename the section of the current branch, now that it has
590 been cut.
591
16dfbded
JB
5922014-01-08 Joel Brobecker <brobecker@adacore.com>
593
594 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
595 * version.in: Bump version to 7.7.50.DATE-cvs.
596
22c90ac1
YQ
5972014-01-08 Yao Qi <yao@codesourcery.com>
598
599 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
600 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
601 (spu_xfer_partial): Cast 'buf' to 'const char *'.
602
d64ad97c
YQ
6032014-01-08 Yao Qi <yao@codesourcery.com>
604
605 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
606 return value of bfd_get_filename to symbol_file_add_from_bfd.
607
f93ba80c
PM
6082014-01-08 Pierre Muller <muller@sourceware.org>
609
610 Fix PR16201.
611 * coff-pe-read.c (struct read_pe_section_data): Add index field.
612 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
613 to prim_record_mininal_symbol_and_info.
614 (add_pe_forwarded_sym): Use known section number of forwarded symbol
615 in call to prim_record_minimal_symbol_and_info.
616 (read_pe_exported_syms): Set index field of section_data.
617
a4d9ba85
AP
6182014-01-07 Andrew Pinski <apinski@cavium.com>
619
620 * features/aarch64-core.xml (cpsr): Change to be 64bit.
621 * features/aarch64.c: Regenerate.
622
1b67eb02
AS
6232014-01-07 Andreas Schwab <schwab@linux-m68k.org>
624
625 * target.c (return_null): Define.
626 (update_current_target): Use it instead of return_zero for
627 functions that return a pointer.
628
5e3f4fab
EBM
6292014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
630
631 * source.c (add_path): Fix check for duplicated paths in the previously
632 included paths.
633
e2616788
HK
6342014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
635
636 * ada-lang.c: Remove duplicated include statements.
637 * alphabsd-nat.c: Ditto.
638 * amd64-darwin-tdep.c: Ditto.
639 * amd64fbsd-nat.c: Ditto.
640 * auto-load.c: Ditto.
641 * ax-gdb.c: Ditto.
642 * breakpoint.c: Ditto.
643 * dbxread.c: Ditto.
644 * fork-child.c: Ditto.
645 * gdb_usleep.c: Ditto.
646 * i386-darwin-tdep.c: Ditto.
647 * i386fbsd-nat.c: Ditto.
648 * infcmd.c: Ditto.
649 * inferior.c: Ditto.
650 * jv-lang.c: Ditto.
651 * linux-nat.c: Ditto.
652 * linux-tdep.c: Ditto.
653 * m68kbsd-nat.c: Ditto.
654 * m68klinux-nat.c: Ditto.
655 * microblaze-tdep.c: Ditto.
656 * mips-linux-tdep.c: Ditto.
657 * mn10300-tdep.c: Ditto.
658 * nto-tdep.c: Ditto.
659 * opencl-lang.c: Ditto.
660 * osdata.c: Ditto.
661 * printcmd.c: Ditto.
662 * regcache.c: Ditto.
663 * remote-m32r-sdi.c: Ditto.
664 * remote.c: Ditto.
665 * symfile.c: Ditto.
666 * symtab.c: Ditto.
667 * tilegx-linux-nat.c: Ditto.
668 * tilegx-tdep.c: Ditto.
669 * tracepoint.c: Ditto.
670 * valops.c: Ditto.
671 * vaxbsd-nat.c: Ditto.
672 * windows-nat.c: Ditto.
673 * xtensa-tdep.c: Ditto.
674
bd1f7788
YQ
6752014-01-07 Yao Qi <yao@codesourcery.com>
676
677 * spu-linux-nat.c (_initialize_spu_nat): Declare.
678
79301218
JB
6792014-01-07 Yao Qi <yao@codesourcery.com>
680 Joel Brobecker <brobecker@adacore.com>
681
682 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
683 (pdc_write_regs): Likewise.
684 (fetch_regs_kernel_thread): Likewise.
685 (store_regs_kernel_thread): Likewise.
686
6872014-01-07 Joel Brobecker <brobecker@adacore.com>
688
689 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
690 tagged type objects to their actual type.
691
8e355c5d
JB
6922014-01-07 Joel Brobecker <brobecker@adacore.com>
693
694 * ada-valprint.c (print_field_values): Add "language" parameter.
695 Update calls to print_field_values and print_variant_part.
696 Pass new parameter "language" in call to val_print instead
697 of "current_language". Replace call to ada_val_print by call
698 to val_print.
699 (print_variant_part): Add "language" parameter.
700 (ada_val_print_struct_union): Update call to print_field_values.
701
4fbf5aa5
JB
7022014-01-07 Joel Brobecker <brobecker@adacore.com>
703
704 * ada-valprint.c (ui_memcpy): Delete.
705 (ada_print_floating): Update documentation. Add empty line
706 between between function documentation and implementation.
707 Delete variable "buffer". Use ui_file_xstrdup in place of
708 ui_file_put. Minor adjustments following this change.
709
71855601
JB
7102014-01-07 Joel Brobecker <brobecker@adacore.com>
711
712 * ada-valprint.c (ada_val_print_string): New function,
713 extracted from ada_val_print_array.
714 (ada_val_print_array): Replace extracted code by call
715 to ada_val_print_string followed by a return. Move
716 "else" branch to the function's top block.
717
4eb27a30
JB
7182014-01-07 Joel Brobecker <brobecker@adacore.com>
719
720 * ada-valprint.c (ada_val_print_array): Move implementation
721 down. Rename parameter "offset" and "val" into "offset_aligned"
722 and "original_value" respectively. Add parameter "offset".
723
34b27950
JB
7242014-01-07 Joel Brobecker <brobecker@adacore.com>
725
726 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
727 re-organizing the code. Change the "???" message printed
728 when target type is a TYPE_CODE_UNDEF into
729 "<ref to undefined type>".
730
079e4591
JB
7312014-01-07 Joel Brobecker <brobecker@adacore.com>
732
733 * ada-valprint.c (print_record): Delete, implementation inlined...
734 (ada_val_print_struct_union): ... here. Remove call to
735 ada_check_typedef in inlined implementation.
736
8004dfd1
JB
7372014-01-07 Joel Brobecker <brobecker@adacore.com>
738
739 * ada-valprint.c (ada_val_print_gnat_array): New function,
740 extracted from ada_val_print_1;
741 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
742 (ada_val_print_flt, ada_val_print_struct_union)
743 (ada_val_print_ref): Likewise.
744 (ada_val_print_1): Delete variables i and elttype.
745 Replace extracted-out code by call to corresponding
746 new functions.
747
760a2db0
JB
7482014-01-07 Joel Brobecker <brobecker@adacore.com>
749
750 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
751
3a92c861
JB
7522014-01-07 Joel Brobecker <brobecker@adacore.com>
753
754 * ada-valprint.c (ada_val_print_1): Replace calls to
755 ada_val_print_1 by calls to val_print.
756
cd1630f9
JB
7572014-01-07 Joel Brobecker <brobecker@adacore.com>
758
759 * ada-valprint.c (ada_val_print_1): Add parameter "language".
760 Update calls to self accordingly. Replace calls to c_val_print
761 by calls to val_print.
762
bdf779a0
JB
7632014-01-07 Joel Brobecker <brobecker@adacore.com>
764
765 * ada-valprint.c (print_record): Delete declaration.
766 (adjust_type_signedness, ada_val_print_1): Likewise.
767 (ada_val_print): Move function implementation down.
768 (print_variant_part, print_field_values, print_record):
769 Move function implementation up.
770
c0d48811
JB
7712014-01-07 Joel Brobecker <brobecker@adacore.com>
772
773 * python/py-type.c (typy_get_name): New function.
774 (type_object_getset): Add entry for attribute "name".
775 * NEWS: Add entry mentioning this new attribute.
776
c26e9cbb
YQ
7772014-01-07 Yao Qi <yao@codesourcery.com>
778
779 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
780 statement.
781
0cc6f43d
YQ
7822014-01-07 Yao Qi <yao@codesourcery.com>
783
784 * gnu-nat.c (info_port_rights): Add qualifier const to
785 argument args.
786
eec03155
YQ
7872014-01-07 Yao Qi <yao@codesourcery.com>
788
789 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
790
f04a82ef
YQ
7912014-01-07 Yao Qi <yao@codesourcery.com>
792
793 * gnu-nat.c (make_inf) Update declaration.
794 (make_inf): Make it static.
795 (inf_set_traced): Likewise.
796 (inf_port_to_thread, inf_task_died_status): Likewise.
797
d57dda0a
YQ
7982014-01-07 Yao Qi <yao@codesourcery.com>
799
800 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
801
3aa8c969
YQ
8022014-01-07 Yao Qi <yao@codesourcery.com>
803
804 * gnu-nat.c (_initialize_gnu_nat): Declare.
805
94123b4f
YQ
8062014-01-07 Yao Qi <yao@codesourcery.com>
807
808 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
809 'enum bfd_endian'.
810 (struct gdbarch_info) <byte_order>: Change type to
811 'enum bfd_endian'.
812 <byte_order_for_code>: Likewise.
813 * gdbarch.c, gdbarch.h: Regenerated.
814
dc81d70a
TT
8152014-01-06 Sasha Smundak <asmundak@google.com>
816
817 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
818
cc2f3c35
TT
8192014-01-06 Tom Tromey <tromey@redhat.com>
820
821 * doublest.c (convert_doublest_to_floatformat): Use const, not
822 CONST.
823 * somread.c (som_symtab_read): Likewise.
824
adcf2eed
HZ
8252014-01-07 Hui Zhu <hui@codesourcery.com>
826
827 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
828 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
829 (gdb_bfd_fopen): Ditto.
830 (gdb_bfd_openr): Ditto.
831 (gdb_bfd_openw): Ditto.
832 (gdb_bfd_openr_iovec): Ditto.
833 (gdb_bfd_fdopenr): Ditto.
834 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
835 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
836 with xstrdup.
837 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
838 with xstrdup.
839 * symfile-mem.c (symbol_file_add_from_memory): Removed
840 gdb_bfd_stash_filename.
841
50722198
DE
8422014-01-03 Doug Evans <dje@google.com>
843
844 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
845 output.
846
2fa4b862
JB
8472014-01-01 Joel Brobecker <brobecker@adacore.com>
848
849 Update year range in copyright notice of all files.
850
28498c42
JB
8512014-01-01 Joel Brobecker <brobecker@adacore.com>
852
853 * top.c (print_gdb_version): Set copyright year to 2014.
854
7b6e1046
JB
8552014-01-01 Joel Brobecker <brobecker@adacore.com>
856
857 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
858
df96af55 859For older changes see ChangeLog-2013.
c906108c
SS
860\f
861Local Variables:
862mode: change-log
863left-margin: 8
864fill-column: 74
865version-control: never
57da7796 866coding: utf-8
c906108c 867End:
This page took 2.341654 seconds and 4 git commands to generate.