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