]> Git Repo - binutils.git/blob - gdb/ChangeLog
New gdbserver option --debug-format=timestamp.
[binutils.git] / gdb / ChangeLog
1 2014-01-22  Doug Evans  <[email protected]>
2
3         New gdbserver option --debug-format=timestamp.
4         * NEWS: Mention it.
5
6 2014-01-22  Andreas Arnez  <[email protected]>
7
8         * syscalls/s390x-linux.xml: New file.
9         * syscalls/s390-linux.xml: New file.
10         * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11         (XML_SYSCALL_FILENAME_S390X): Likewise.
12         (op_svc): New enum value for SVC opcode.
13         (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
14         (s390_linux_get_syscall_number): New function.
15         (s390_gdbarch_init): Register '*get_syscall_number' and the
16         syscall xml file name.
17         * data-directory/Makefile.in (SYSCALLS_FILES): Add
18         "s390-linux.xml" and "s390x-linux.xml".
19         * NEWS: Announce new feature.
20
21 2014-01-22  Baruch Siach  <[email protected]>
22
23         * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
24
25 2014-01-22  Pedro Alves  <[email protected]>
26
27         * xtensa-config.c: Include defs.h.
28
29 2014-01-22  Joel Brobecker  <[email protected]>
30
31         * common/common-utils.h: Add "ARI:" comment beside __func__
32         reference.
33
34 2014-01-22  Joel Brobecker  <[email protected]>
35
36         * common/common-utils.h (FUNCTION_NAME): Expand the macro's
37         documentation a bit.
38
39 2014-01-21  Roland McGrath  <[email protected]>
40
41         * configure.ac: Call AM_PROG_INSTALL_STRIP.
42         * configure: Regenerate.
43         * aclocal.m4: Regenerate.
44         * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
45         New substituted variables.
46         (install-strip): New target.
47         (INSTALL_SCRIPT): New substituted variable.
48         (FLAGS_TO_PASS): Add it.
49         (install-only): Use $(INSTALL_SCRIPT) rather than
50         $(INSTALL_PROGRAM) for gcore.
51
52 2014-01-20  Tom Tromey  <[email protected]>
53
54         * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
55         together.
56
57 2014-01-20  Tom Tromey  <[email protected]>
58
59         * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
60         (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
61         (deprecated_cmd_warning, complete_on_cmdlist): Update.
62         * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
63         (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
64         (struct cmd_list_element) <flags>: Remove.
65         <cmd_deprecated, deprecated_warn_user, malloced_replacement,
66         doc_allocated>: New fields.
67         <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
68         bitfields.
69         * maint.c (maintenance_do_deprecate): Update.
70         * top.c (execute_command): Update.
71
72 2014-01-20  Baruch Siach  <[email protected]>
73
74         * xtensa-linux-nat.c: Include asm/ptrace.h.
75
76 2014-01-17  Iain Buclaw  <[email protected]>
77
78         * Makefile.in (SFILES): Add d-support.c.
79         (COMMON_OBS): Add d-support.o.
80         * d-lang.h (d_parse_symbol): Add comment, now defined in
81         d-support.c.
82         * d-lang.c (parse_call_convention)
83         (parse_attributes, parse_function_types)
84         (parse_function_args, parse_type, parse_identifier)
85         (call_convention_p, d_parse_symbol): Move functions to ...
86         * d-support.c: ... New file.
87
88 2014-01-17  Iain Buclaw  <[email protected]>
89
90         * d-lang.h (d_parse_symbol): Add declaration.
91         * d-lang.c (extract_identifiers)
92         (extract_type_info): Remove functions.
93         (parse_call_convention, parse_attributes)
94         (parse_function_types, parse_function_args)
95         (parse_type, parse_identifier, call_convention_p)
96         (d_parse_symbol): New functions.
97         (d_demangle): Use d_parse_symbol to demangle D symbols.
98
99 2014-01-17  Iain Buclaw  <[email protected]>
100
101         * d-lang.h (struct builtin_d_type): New data type.
102         (builtin_d_type): Add declaration.
103         * d-lang.c (d_language_arch_info, build_d_types)
104         (builtin_d_type): New functions.
105         (enum d_primitive_types): New data type.
106         (d_language_defn): Change c_language_arch_info to
107         d_language_arch_info.
108         (d_type_data): New static variable.
109         (_initialize_d_language): Initialize d_type_data.
110
111 2014-01-17  Iain Buclaw  <[email protected]>
112
113         * d-lang.h (d_main_name): Add declaration.
114         * d-lang.c (d_main_name): New function.
115         * symtab.c (find_main_name): Add call to d_main_name.
116
117 2014-01-17  Iain Buclaw  <[email protected]>
118
119         * d-lang.c (d_language_defn): Change macro_expansion_c to
120         macro_expansion_no.
121
122 2014-01-17  Iain Buclaw  <[email protected]>
123
124         * MAINTAINERS: Add myself as a write-after-approval maintainer.
125
126 2014-01-17  Sergio Durigan Junior  <[email protected]>
127
128         * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
129         gdb_exception" declaration.
130         * remote.c (getpkt_or_notif_sane): Likewise.
131
132 2014-01-17  Doug Evans  <[email protected]>
133
134         * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
135         function, contents of dirnames_to_char_ptr_vec_append moved here.
136         (delim_string_to_char_ptr_vec): New function.
137         (dirnames_to_char_ptr_vec_append): Rewrite.
138         * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
139
140 2014-01-17  Doug Evans  <[email protected]>
141
142         * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
143         and moved here ...
144         * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
145         #include "common-utils.h".
146         (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
147         * common/vec.h (VEC_ASSERT_PASS): Update.
148         * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
149         (MACH_CHECK_ERROR): Update.
150
151 2014-01-17  Simon Marchi  <[email protected]>
152
153         * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
154         comments.
155         * gdbarch.h: Regenerate.
156
157 2014-01-16  Tom Tromey  <[email protected]>
158
159         * value.c (struct value) <regnum>: Move earlier.
160
161 2014-01-16  Tom Tromey  <[email protected]>
162
163         * remote.c (extended_remote_create_inferior): Rename from
164         extended_remote_create_inferior_1.  Add "ops" argument.  Remove
165         old implementation.
166
167 2014-01-16  Pedro Alves  <[email protected]>
168
169         * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
170         NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
171         the backchain.
172
173 2014-01-16  Doug Evans  <[email protected]>
174
175         * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
176
177 2014-01-16  Markus Metzger  <[email protected]>
178
179         * btrace.h (btrace_thread_flag): New.
180         (struct btrace_thread_info) <flags>: New.
181         * record-btrace.c (record_btrace_resume_thread)
182         (record_btrace_find_thread_to_move, btrace_step_no_history)
183         (btrace_step_stopped, record_btrace_start_replaying)
184         (record_btrace_step_thread, record_btrace_decr_pc_after_break)
185         (record_btrace_find_resume_thread): New.
186         (record_btrace_resume, record_btrace_wait): Extend.
187         (record_btrace_can_execute_reverse): New.
188         (record_btrace_open): Fail in non-stop mode.
189         (record_btrace_set_replay): Split into this, ...
190         (record_btrace_stop_replaying): ... this, ...
191         (record_btrace_clear_histories): ... and this.
192         (init_record_btrace_ops): Init to_can_execute_reverse.
193         * NEWS: Announce it.
194
195 2014-01-16  Markus Metzger  <[email protected]>
196
197         * target.h (struct target_ops) <to_decr_pc_after_break>: New.
198         (forward_target_decr_pc_after_break)
199         (target_decr_pc_after_break): New.
200         * target.c (forward_target_decr_pc_after_break)
201         (target_decr_pc_after_break): New.
202         * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
203         instead of gdbarch_decr_pc_after_break.
204         * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
205         instead of gdbarch_decr_pc_after_break.
206         * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
207         instead of gdbarch_decr_pc_after_break.
208         * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
209         instead of gdbarch_decr_pc_after_break.
210         * linux-thread-db.c (check_event): Call target_decr_pc_after_break
211         instead of gdbarch_decr_pc_after_break.
212         * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
213         instead of gdbarch_decr_pc_after_break.
214
215 2014-01-16  Markus Metzger  <[email protected]>
216
217         * btrace.c: Include regcache.h.
218         (btrace_add_pc): New.
219         (btrace_enable): Call btrace_add_pc.
220         (btrace_is_empty): New.
221         * btrace.h (btrace_is_empty): New.
222         * record-btrace.c (require_btrace, record_btrace_info): Call
223         btrace_is_empty.
224
225 2014-01-16  Markus Metzger  <[email protected]>
226
227         * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
228         Support delta reads.
229         (linux_disable_btrace): Change return type.
230         * common/linux-btrace.h (linux_read_btrace): Change parameters
231         and return type to allow error reporting.  Update users.
232         (linux_disable_btrace): Change return type.  Update users.
233         * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
234         New.
235         (btrace_error): New.
236         (btrace_block) <begin>: Comment on BEGIN == 0.
237         * btrace.c (btrace_compute_ftrace): Start from the end of
238         the current trace.
239         (btrace_stitch_trace, btrace_clear_history): New.
240         (btrace_fetch): Read delta trace, return if replaying.
241         (btrace_clear): Move clear history code to btrace_clear_history.
242         (parse_xml_btrace): Throw an error if parsing failed.
243         * target.h (struct target_ops) <to_read_btrace>: Change parameters
244         and return type to allow error reporting.
245         (target_read_btrace): Change parameters and return type to allow
246         error reporting.
247         * target.c (target_read_btrace): Update.
248         * remote.c (remote_read_btrace): Support delta reads.  Pass
249         errors on.
250         * NEWS: Announce it.
251
252 2014-01-16  Markus Metzger  <[email protected]>
253
254         * record.h (record_btrace_frame_unwind)
255         (record_btrace_tailcall_frame_unwind): New declarations.
256         * dwarf2-frame: Include record.h
257         (dwarf2_frame_cfa): Throw an error for btrace frames.
258         * record-btrace.c: Include hashtab.h.
259         (btrace_get_bfun_name): New.
260         (btrace_call_history): Call btrace_get_bfun_name.
261         (struct btrace_frame_cache): New.
262         (bfcache): New.
263         (bfcache_hash, bfcache_eq, bfcache_new): New.
264         (btrace_get_frame_function): New.
265         (record_btrace_frame_unwind_stop_reason): Allow unwinding.
266         (record_btrace_frame_this_id): Compute own id.
267         (record_btrace_frame_prev_register): Provide PC, throw_error
268         for all other registers.
269         (record_btrace_frame_sniffer): Detect btrace frames.
270         (record_btrace_tailcall_frame_sniffer): New.
271         (record_btrace_frame_dealloc_cache): New.
272         (record_btrace_frame_unwind): Add new functions.
273         (record_btrace_tailcall_frame_unwind): New.
274         (_initialize_record_btrace): Allocate cache.
275         * btrace.c (btrace_clear): Call reinit_frame_cache.
276         * NEWS: Announce it.
277
278 2014-01-16  Markus Metzger  <[email protected]>
279
280         * record-btrace.c (record_btrace_set_replay)
281         (record_btrace_goto_begin, record_btrace_goto_end)
282         (record_btrace_goto): New.
283         (init_record_btrace_ops): Initialize them.
284         * NEWS: Announce it.
285
286 2014-01-16  Markus Metzger  <[email protected]>
287
288         * record-btrace.c (record_btrace_find_new_threads)
289         (record_btrace_thread_alive): New.
290         (init_record_btrace_ops): Initialize to_find_new_threads and
291         to_thread_alive.
292
293 2014-01-16  Markus Metzger  <[email protected]>
294
295         * record-btrace.c (record_btrace_resume): New.
296         (record_btrace_wait): New.
297         (init_record_btrace_ops): Initialize to_wait and to_resume.
298
299 2014-01-16  Markus Metzger  <[email protected]>
300
301         * record-btrace.c (record_btrace_xfer_partial)
302         (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
303         (record_btrace_allow_memory_access): New.
304         (init_record_btrace_ops): Initialize new methods.
305         * target.c (raw_memory_xfer_partial): Bail out if target reports
306         that this memory is not available.
307
308 2014-01-16  Markus Metzger  <[email protected]>
309
310         * target.h (target_ops) <to_insert_breakpoint>
311         <to_remove_breakpoint>: Add target_ops parameter.
312         (forward_target_insert_breakpoint): New.
313         (forward_target_remove_breakpoint): New.
314         (memory_remove_breakpoint, memory_insert_breakpoint):
315         Add target_ops parameter.
316         * target.c (target_insert_breakpoint): Split into this and ...
317         (forward_target_insert_breakpoint): ... this.
318         (target_remove_breakpoint): Split into this and ...
319         (forward_target_remove_breakpoint): ... this.
320         (debug_to_insert_breakpoint): Add target_ops parameter.
321         Call forward_target_insert_breakpoint.
322         (debug_to_remove_breakpoint): Add target_ops parameter.
323         Call forward_target_remove_breakpoint.
324         (update_current_target): Do not inherit or default to_insert_breakpoint
325         and to_remove_breakpoint.
326         * corelow.c (ignore): Add target_ops parameter.
327         * exec.c (ignore): Add target_ops parameter.
328         * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
329         Add target_ops parameter.
330         * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
331         Add target_ops parameter.
332         * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
333         Add target_ops parameter.
334         * record-full.c (record_full_beneath_to_insert_breakpoint)
335         (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
336         (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
337         (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
338         (record_full_core_remove_breakpoint): Add target_ops parameter.
339         Update users.
340         (record_full_beneath_to_insert_breakpoint_ops)
341         (record_full_beneath_to_remove_breakpoint_ops)
342         (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
343         (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
344         tmp_to_remove_breakpoint_ops,
345         record_full_beneath_to_insert_breakpoint_ops, and
346         record_full_beneath_to_remove_breakpoint_ops.
347         * remote-m32r-sdi.c (m32r_insert_breakpoint)
348         (m32r_remove_breakpoint): Add target_ops parameter.
349         * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
350         Add target_ops parameter.
351         * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
352         Add target_ops parameter.
353
354 2014-01-16  Jan Kratochvil  <[email protected]>
355             Markus Metzger  <[email protected]>
356
357         * record-btrace.c: Include frame-unwind.h.
358         (record_btrace_frame_unwind_stop_reason)
359         (record_btrace_frame_this_id, record_btrace_frame_prev_register)
360         (record_btrace_frame_sniffer, record_btrace_frame_unwind):
361         New.
362         (init_record_btrace_ops): Install it.
363
364 2014-01-16  Jan Kratochvil  <[email protected]>
365
366         * frame.c (get_frame_unwind_stop_reason): Unconditionally call
367         get_prev_frame_1.
368
369 2014-01-16  Jan Kratochvil  <[email protected]>
370
371         * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
372         earlier.
373
374 2014-01-16  Jan Kratochvil  <[email protected]>
375
376         * frame-unwind.c: Include target.h.
377         (frame_unwind_try_unwinder): New function with code from ...
378         (frame_unwind_find_by_frame): ... here.  New variable
379         unwinder_from_target, call also target_get_unwinder)
380         (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
381         * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
382         * target.h (struct target_ops): New fields to_get_unwinder and
383         to_get_tailcall_unwinder.
384         (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
385
386 2014-01-16  Markus Metzger  <[email protected]>
387
388         * record-btrace.c (record_btrace_fetch_registers)
389         (record_btrace_store_registers)
390         (record_btrace_to_prepare_to_store): New.
391         (init_record_btrace_ops): Add the above.
392
393 2014-01-16  Tom Tromey  <[email protected]>
394
395         * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
396         * target.h (struct target_ops) <to_prepare_to_store>: Add
397         argument.
398         (target_prepare_to_store): Add argument.
399         * target.c (debug_to_prepare_to_store): Add argument.
400         (update_current_target): Update.
401         * remote.c (remote_prepare_to_store): Add 'self' argument.
402         * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
403         * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
404         * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
405         * record-full.c (record_full_core_prepare_to_store): Add 'self'
406         argument.
407         * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
408         * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
409         * monitor.c (monitor_prepare_to_store): Add 'self' argument.
410         * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
411         * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
412
413 2014-01-16  Markus Metzger  <[email protected]>
414
415         * btrace.h (replay) <replay>: New.
416         (btrace_is_replaying): New.
417         * btrace.c (btrace_clear): Free replay iterator.
418         (btrace_is_replaying): New.
419         * record-btrace.c (record_btrace_is_replaying): New.
420         (record_btrace_info): Print insn number if replaying.
421         (record_btrace_insn_history): Start at replay position.
422         (record_btrace_call_history): Start at replay position.
423         (init_record_btrace_ops): Init to_record_is_replaying.
424
425 2014-01-16  Markus Metzger  <[email protected]>
426
427         * record-btrace.c (record_btrace_insn_history_range): Include
428         end.
429         (record_btrace_insn_history_from): Adjust range.
430         (record_btrace_call_history_range): Include
431         end.
432         (record_btrace_call_history_from): Adjust range.
433         * NEWS: Announce changes.
434
435 2014-01-16  Markus Metzger  <[email protected]>
436
437         * record.h (enum record_print_flag)
438         <record_print_indent_calls>: New.
439         * record.c (get_call_history_modifiers): Recognize /c modifier.
440         (_initialize_record): Document /c modifier.
441         * record-btrace.c (btrace_call_history): Add btinfo parameter.
442         Reorder fields.  Optionally indent the function name.  Update
443         all users.
444         * NEWS: Announce changes.
445
446 2014-01-16  Markus Metzger  <[email protected]>
447
448         * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
449
450 2014-01-16  Markus Metzger  <[email protected]>
451
452         * btrace.c (ftrace_new_function): Start counting at one.
453         * record-btrace.c (record_btrace_info): Adjust number of calls
454         and insns.
455         * NEWS: Announce it.
456
457 2014-01-16  Markus Metzger  <[email protected]>
458
459         * record-btrace.c (btrace_call_history_insn_range): Print
460         insn range as [begin, end].
461
462 2014-01-16  Markus Metzger  <[email protected]>
463
464         * btrace.h (struct btrace_func_link): New.
465         (enum btrace_function_flag): New.
466         (struct btrace_inst): Rename to ...
467         (struct btrace_insn): ...this. Update all users.
468         (struct btrace_func) <ibegin, iend>: Remove.
469         (struct btrace_func_link): New.
470         (struct btrace_func): Rename to ...
471         (struct btrace_function): ...this. Update all users.
472         (struct btrace_function) <segment, flow, up, insn, insn_offset)
473         (number, level, flags>: New.
474         (struct btrace_insn_iterator): Rename to ...
475         (struct btrace_insn_history): ...this.
476         Update all users.
477         (struct btrace_insn_iterator, btrace_call_iterator): New.
478         (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
479         (struct btrace_target_info) <begin, end, level>
480         <insn_history, call_history>: New.
481         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
482         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
483         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
484         (btrace_call_number, btrace_call_begin, btrace_call_end)
485         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
486         (btrace_find_function_by_number, btrace_set_insn_history)
487         (btrace_set_call_history): New.
488         * btrace.c (btrace_init_insn_iterator)
489         (btrace_init_func_iterator, compute_itrace): Remove.
490         (ftrace_print_function_name, ftrace_print_filename)
491         (ftrace_skip_file): Change
492         parameter to const.
493         (ftrace_init_func): Remove.
494         (ftrace_debug): Use new btrace_function fields.
495         (ftrace_function_switched): Also consider gaining and
496         losing symbol information).
497         (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
498         (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
499         (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
500         New.
501         (ftrace_new_function): Move. Remove debug print.
502         (ftrace_update_lines, ftrace_update_insns): New.
503         (ftrace_update_function): Check for call, ret, and jump.
504         (compute_ftrace): Renamed to ...
505         (btrace_compute_ftrace): ...this. Rewritten to compute call
506         stack.
507         (btrace_fetch, btrace_clear): Updated.
508         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
509         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
510         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
511         (btrace_call_number, btrace_call_begin, btrace_call_end)
512         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
513         (btrace_find_function_by_number, btrace_set_insn_history)
514         (btrace_set_call_history): New.
515         * record-btrace.c (require_btrace): Use new btrace thread
516         info fields.
517         (record_btrace_info, btrace_insn_history)
518         (record_btrace_insn_history, record_btrace_insn_history_range):
519         Use new btrace thread info fields and new iterator.
520         (btrace_func_history_src_line): Rename to ...
521         (btrace_call_history_src_line): ...this. Use new btrace
522         thread info fields.
523         (btrace_func_history): Rename to ...
524         (btrace_call_history): ...this. Use new btrace thread info
525         fields and new iterator.
526         (record_btrace_call_history, record_btrace_call_history_range):
527         Use new btrace thread info fields and new iterator.
528
529 2014-01-16  Markus Metzger  <[email protected]>
530
531         * frame.h (frame_id_build_unavailable_stack_special): New.
532         * frame.c (frame_id_build_unavailable_stack_special): New.
533
534 2014-01-16  Markus Metzger  <[email protected]>
535
536         * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
537         (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
538         (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
539         to gdbarch.
540         * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
541         (i386_insn_is_jump, i386_jmp_p): New.
542         (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
543         insn_is_jump to gdbarch.
544         * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
545         * gdbarch.h: Regenerated.
546         * gdbarch.c: Regenerated.
547         * arch-utils.h (default_insn_is_call, default_insn_is_ret)
548         (default_insn_is_jump): New.
549         * arch-utils.c (default_insn_is_call, default_insn_is_ret)
550         (default_insn_is_jump): New.
551
552 2014-01-16  Markus Metzger  <[email protected]>
553
554         * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
555         Change to ...
556         (btrace_read_type) <BTRACE_READ_ALL>: ... this.  Update users.
557         (btrace_read_type) <btrace_read_new>: Change to ...
558         (btrace_read_type) <BTRACE_READ_NEW>: ... this.  Update users.
559
560 2014-01-16  Markus Metzger  <[email protected]>
561
562         * common/linux-btrace.c (linux_read_btrace): Free trace from
563         previous iteration.
564
565 2014-01-15  Doug Evans  <[email protected]>
566
567         * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
568         uint32_t.
569
570 2014-01-15  Tom Tromey  <[email protected]>
571
572         * dbxread.c (process_one_symbol): Use set_objfile_main_name.
573         * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
574         * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
575         (set_objfile_main_name): New function.
576         * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
577         language_of_main>: New fields.
578         (set_objfile_main_name): Declare.
579         * symtab.c (find_main_name): Loop over objfiles to find the main
580         name and language.
581         (set_main_name): Now static.
582         (get_main_info): Add comment.
583         * symtab.h (set_main_name): Don't declare.
584
585 2014-01-15  Tom Tromey  <[email protected]>
586
587         * symtab.c (main_progspace_key): New global.
588         (struct main_info): New.
589         (name_of_main, language_of_main): Remove.
590         (get_main_info, main_info_cleanup): New function.
591         (set_main_name, main_name, main_language): Use get_main_info.
592         (_initialize_symtab): Initialize main_progspace_key.
593
594 2014-01-15  Tom Tromey  <[email protected]>
595
596         * dbxread.c (process_one_symbol): Update.
597         * dwarf2read.c (read_partial_die): Update.
598         * symfile.c (set_initial_language): Call main_language.
599         * symtab.c (language_of_main): Now static.
600         (set_main_name): Add 'lang' parameter.
601         (find_main_name): Update.
602         (main_language): New function.
603         (symtab_observer_executable_changed): Update.
604         * symtab.h (set_main_name): Update.
605         (language_of_main): Remove.
606         (main_language): Declare.
607
608 2014-01-15  Tom Tromey  <[email protected]>
609
610         * symfile.c (init_entry_point_info): Use new "initialized" field.
611         Update.
612         * objfiles.h (struct entry_point) <initialized>: New field.
613         (struct objfile_per_bfd_storage) <ei>: New field, moved from...
614         (struct objfile) <ei>: ...here.  Remove.
615         * objfiles.c (entry_point_address_query): Update.
616
617 2014-01-15  Tom Tromey  <[email protected]>
618
619         * objfiles.c (entry_point_address_query): Relocate entry point
620         address.
621         (objfile_relocate1): Do not relocate entry point address.
622         * objfiles.h (struct entry_info) <entry_point>: Update comment.
623         <the_bfd_section_index>: New field.
624         * symfile.c (init_entry_point_info): Find the entry point's
625         section.
626
627 2014-01-15  Tom Tromey  <[email protected]>
628
629         * solib-frv.c (enable_break): Use entry_point_address_query.
630
631 2014-01-15  Omair Javaid  <[email protected]>
632
633         * NEWS: Add note on improved process record-replay on
634         arm*-linux* targets.
635
636 2014-01-15  Omair Javaid  <[email protected]>
637
638         * arm-tdep.c (enum arm_record_result): New enum.
639         (arm_record_unsupported_insn): New function.
640         (arm_record_coproc_data_proc): Removed.
641         (thumb2_record_ld_st_multiple): New function.
642         (thumb2_record_ld_st_dual_ex_tbb): New function.
643         (thumb2_record_data_proc_sreg_mimm): New function.
644         (thumb2_record_ps_dest_generic): New function.
645         (thumb2_record_branch_misc_cntrl): New function.
646         (thumb2_record_str_single_data): New function.
647         (thumb2_record_ld_mem_hints): New function.
648         (thumb2_record_ld_word): New function.
649         (thumb2_record_lmul_lmla_div): New function.
650         (thumb2_record_decode_insn_handler): New function.
651         (decode_insn): Add thumb32 instruction handlers.
652
653 2014-01-15  Omair Javaid  <[email protected]>
654
655         * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
656         (struct arm_linux_record_tdep): Declare.
657         (arm_canonicalize_syscall): New function.
658         (arm_all_but_pc_registers_record): New function.
659         (arm_linux_syscall_record): New function.
660         (arm_linux_init_abi): Add syscall recording constructs.
661         * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
662         decoding.  (arm_record_coproc_data_proc): Update arm syscall
663         decoding.
664         * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
665         <arm_syscall_record>: New field.
666         * configure.tgt (arm*-*-linux*): Add linux-record.o to
667         gdb_target_obs.
668
669 2014-01-15  Omair Javaid  <[email protected]>
670
671         * arm-tdep.c (thumb_record_misc): Update to use sp as base
672         register for push instruction recording.
673
674 2014-01-15  Omair Javaid  <[email protected]>
675
676         * arm-tdep.c (thumb_record_misc): Update to correct logical
677         error while recording ldm, ldmia and pop instructions.
678
679 2014-01-15  Omair Javaid  <[email protected]>
680
681         * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
682
683 2014-01-15  Pedro Alves  <[email protected]>
684
685         * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
686         (go32_resume, go32_fetch_registers, store_register)
687         (go32_store_registers, go32_prepare_to_store)
688         (go32_xfer_memory, go32_files_info, go32_kill_inferior)
689         (go32_create_inferior, go32_can_run, go32_terminal_init)
690         (go32_terminal_inferior, go32_terminal_ours): Delete forward
691         declarations.
692
693 2014-01-15  Tom Tromey  <[email protected]>
694
695         * target.h (async_callback_ftype): New typedef.
696         (struct target_ops) <to_async>: Use it.
697
698 2014-01-15  Joel Brobecker  <[email protected]>
699
700         * python/py-value.c (get_field_type): Remove unnecessary curly
701         braces for single-statement if block.
702
703 2014-01-15  Joel Brobecker  <[email protected]>
704
705         * python/py-type.c (convert_field): Add missing empty line
706         after declarations.
707
708 2014-01-14  Doug Evans  <[email protected]>
709
710         * symfile.h (expand_symtabs_matching): Renamed from
711         expand_partial_symbol_names.  Update prototype.
712         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
713         * symfile.c (expand_symtabs_matching): Renamed from
714         expand_partial_symbol_names.  New args file_matcher, kind.
715         Rename arg fun to symbol_matcher.
716         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
717         * ada-lang.c (ada_complete_symbol_matcher): Renamed from
718         ada_expand_partial_symbol_name.
719         (ada_make_symbol_completion_list): Update to call
720         expand_symtabs_matching.
721         (ada_add_global_exceptions): Call expand_symtabs_matching.
722         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
723         call map_symbol_filenames.
724         * symtab.c (sources_info): Update to call map_symbol_filenames.
725         (search_symbols): Call expand_symtabs_matching.
726         (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
727         (default_make_symbol_completion_list_break_on): Update to call
728         expand_symtabs_matching.
729         (make_source_files_completion_list): Update to call
730         map_symbol_filenames.
731
732 2014-01-14  Doug Evans  <[email protected]>
733
734         * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
735         (expand_symtabs_symbol_matcher_ftype): New typedef.
736         (quick_symbol_functions.expand_symtabs_matching): Update to use.
737         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
738         * symfile.c (expand_partial_symbol_names): Update to use
739         expand_symtabs_symbol_matcher_ftype.
740         * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
741         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
742         Arg name_matcher renamed to symbol_matcher.
743         * psymtab.c (recursively_search_psymtabs): Update to use
744         expand_symtabs_symbol_matcher_ftype.  Arg name_matcher renamed to
745         sym_matcher.
746         (expand_symtabs_matching_via_partial): Update to use
747         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
748         Arg name_matcher renamed to symbol_matcher.
749
750 2014-01-14  Doug Evans  <[email protected]>
751
752         * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
753         (map_partial_symbol_filenames): Ditto.
754         * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
755         (map_partial_symbol_filenames): Ditto.
756         * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
757         (map_partial_symbol_filenames): Ditto.
758         * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
759         (map_partial_symbol_filenames): Ditto.
760         * symtab.c: Delete #include "psymtab.h".
761
762 2014-01-14  Pedro Alves  <[email protected]>
763             Tom Tromey  <[email protected]>
764
765         * infrun.c (use_displaced_stepping): Use find_record_target
766         instead of RECORD_IS_USED.
767         (adjust_pc_after_break): Use record_full_is_used instead of
768         RECORD_IS_USED.
769         * record-btrace.c (record_btrace_open): Call record_preopen
770         instead of checking RECORD_IS_USED.
771         * record-full.c (record_full_shortname)
772         (record_full_core_shortname): New globals.
773         (record_full_is_used): New function.
774         (find_full_open): Call record_preopen instead of checking
775         RECORD_IS_USED.
776         (init_record_full_ops): Set the target's shortname to
777         record_full_shortname.
778         (init_record_full_core_ops): Set the target's shortname to
779         record_full_core_shortname.
780         * record-full.h (record_full_is_used): Declare.
781         * record.c (find_record_target): Make extern.
782         (record_preopen): New function.
783         * record.h (RECORD_IS_USED): Delete macro.
784         (find_record_target, record_preopen): Declare functions.
785
786 2014-01-14  Yao Qi  <[email protected]>
787
788         * gdbarch.sh (core_xfer_shared_libraries): Change its argument
789         'len''s type to ULONGEST.
790         (core_xfer_shared_libraries_aix): Likewise.
791         * gdbarch.c, gdbarch.h: Regenerated.
792         * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
793         Change type of 'len' to ULONGEST.
794         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
795         (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
796
797 2014-01-14  Yao Qi  <[email protected]>
798
799         * common/linux-osdata.c (linux_xfer_osdata_processes): Change
800         type of 'len' to ULONGEST.
801         (linux_xfer_osdata_processgroups): Likewise.
802         (linux_xfer_osdata_threads): Likewise.
803         (linux_xfer_osdata_fds): Likewise.
804         (linux_xfer_osdata_isockets): Likewise.
805         (linux_xfer_osdata_shm): Likewise.
806         (linux_xfer_osdata_sem): Likewise.
807         (linux_xfer_osdata_msg): Likewise.
808         (linux_common_xfer_osdata): Likewise.
809         (struct osdata_type) <getter>: Likewise.
810         * common/linux-osdata.h (linux_common_xfer_osdata): Update
811         the declaration.
812
813 2014-01-14  Yao Qi  <[email protected]>
814
815         * target.h (target_xfer_partial_ftype): Update.
816         (struct target_ops) <to_xfer_partial>: Change 'len' type to
817         ULONGEST.
818         * aix-thread.c (aix_thread_xfer_partial): Change type of
819         argument 'len' to ULONGEST.
820         * auxv.c (procfs_xfer_auxv): Likewise.
821         (ld_so_xfer_auxv): Likewise.
822         (memory_xfer_auxv): Likewise.
823         * bfd-target.c (target_bfd_xfer_partial): Likewise.
824         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
825         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
826         * corelow.c (core_xfer_partial): Likewise.
827         * ctf.c (ctf_xfer_partial): Likewise.
828         * darwin-nat.c (darwin_read_write_inferior): Likewise.  Use
829         '%u'.
830         (darwin_read_dyld_info): Likewise.
831         (darwin_xfer_partial): Likewise.
832         * exec.c (section_table_xfer_memory_partial): Likewise.
833         (exec_xfer_partial): Likewise.
834         * exec.h (section_table_xfer_memory_partial): Update
835         declaration.
836         * gnu-nat.c (gnu_xfer_memory): Likewise.  Call pulongest
837         instead of plongest.
838         (gnu_xfer_partial): Likewise.
839         * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
840         (ia64_hpux_xfer_solib_got): Likewise.
841         (ia64_hpux_xfer_partial): Likewise.
842         * ia64-linux-nat.c (ia64_linux_xfer_partial):
843         * inf-ptrace.c (inf_ptrace_xfer_partial):
844         * inf-ttrace.c (inf_ttrace_xfer_partial):
845         * linux-nat.c (linux_xfer_siginfo): Likewise.
846         (linux_nat_xfer_partial): Likewise.
847         (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
848         (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
849         * monitor.c (monitor_xfer_memory): Likewise.
850         (monitor_xfer_partial): Likewise.
851         * procfs.c (procfs_xfer_partial): Likewise.
852         * record-full.c (record_full_xfer_partial): Likewise.
853         (record_full_core_xfer_partial): Likewise.
854         * remote-sim.c (gdbsim_xfer_memory): Likewise.  Call pulongest
855         instead of plongest.
856         (gdbsim_xfer_partial): Likewise.
857         * remote.c (remote_xfer_partial): Likewise.
858         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
859         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
860         declaration.
861         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
862         (rs6000_xfer_shared_libraries): Likewise.
863         * sol-thread.c (sol_thread_xfer_partial): Likewise.
864         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
865         (sparc_xfer_partial): Likewise.
866         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
867         (spu_xfer_partial): Likewise.
868         * spu-multiarch.c (spu_xfer_partial): Likewise.
869         * target.c (target_read_live_memory): Likewise.
870         (memory_xfer_live_readonly_partial): Likewise.
871         (memory_xfer_partial, memory_xfer_partial_1): Likewise.
872         (target_xfer_partial, default_xfer_partial): Likewise.
873         (current_xfer_partial): Likewise.
874         * tracepoint.c (tfile_xfer_partial): Likewise.
875         * windows-nat.c (windows_xfer_memory): Likewise.  Call
876         pulongest instead of plongest.
877         (windows_xfer_partial): Likewise.
878         (windows_xfer_shared_libraries): Likewise.
879
880 2014-01-14  Yao Qi  <[email protected]>
881
882         * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
883         target_xfer_partial_ftype.
884
885 2014-01-13  Siva Chandra Reddy  <[email protected]>
886
887         PR python/15464
888         PR python/16113
889         * valops.c (value_struct_elt_bitpos): New function
890         * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
891         object to 'None' if the field name is an empty string ("").
892         * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
893         attribute to look for a field when 'name' is 'None'.
894         (get_field_type): New function
895
896 2014-01-13  Doug Evans  <[email protected]>
897
898         PR symtab/16426
899         * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
900         (try_open_dwop_file): Ditto.
901         * gdb_bfd.c: #include "vec.h".
902         (bfdp): New typedef.
903         (struct gdb_bfd_data): New member included_bfds.
904         (gdb_bfd_unref): Unref all included bfds.
905         (gdb_bfd_record_inclusion): New function.
906         * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
907
908 2014-01-13  Tom Tromey  <[email protected]>
909
910         * gdbcore.h (deprecated_core_resize_section_table): Remove.
911
912 2014-01-13  Tom Tromey  <[email protected]>
913
914         * defs.h (use_windows): Remove.
915         * gdb.c (main): Update.
916         * main.c (captured_main, gdb_main): Update.
917         * main.h (struct captured_main_args) <use_windows>: Remove.
918         * top.c (use_windows): Remove.
919
920 2014-01-13  Tom Tromey  <[email protected]>
921
922         * defs.h (deprecated_flush_hook): Remove.
923
924 2014-01-13  Jan Kratochvil  <[email protected]>
925
926         PR threads/16216
927         * linux-thread-db.c (try_thread_db_load): Add parameter
928         check_auto_load_safe.  Move here the file_is_auto_load_safe call.
929         (try_thread_db_load_from_pdir_1): Move it there from here.
930         (try_thread_db_load_from_sdir): Update caller.
931         (try_thread_db_load_from_dir): Move it there from here.
932
933 2014-01-13  Patrick Palka  <[email protected]>
934
935         * regformats/regdat.sh: Always rewrite the register file.
936
937 2014-01-13  Pedro Alves  <[email protected]>
938
939         * Makefile.in (CHECK_HEADERS): New variable.
940         (check-headers:): New rule.
941
942 2014-01-13  Tom Tromey  <[email protected]>
943
944         * cli/cli-setshow.c (do_set_command): Update.
945         * defs.h (deprecated_set_hook): Remove.
946         * top.c (deprecated_set_hook): Remove.
947
948 2014-01-13  Pedro Alves  <[email protected]>
949
950         * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
951         the tracepoint if the PC is a pseudo-register.
952
953 2014-01-13  Tom Tromey  <[email protected]>
954
955         * defs.h (XCALLOC): Remove.
956         * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
957         (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
958         * dwarf2loc.c (allocate_piece_closure): Likewise.
959         * elfread.c (elf_symfile_segments): Likewise.
960         (elf_symfile_segments): Likewise.
961         * gdbtypes.c (copy_type_recursive): Likewise.
962         * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
963         * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
964         * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
965         XCALLOC.
966         * mt-tdep.c (mt_gdbarch_init): Likewise.
967         * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
968         XCALLOC.
969         * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
970         * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
971         * registry.c (registry_alloc_data): Likewise.
972         * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
973         * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
974         * serial.c (serial_fdopen_ops): Likewise.
975         * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
976         XCALLOC.
977         * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
978         * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
979         not XCALLOC.
980
981 2014-01-13  Tom Tromey  <[email protected]>
982
983         * defs.h (XMALLOC): Remove.
984         * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
985         * bfin-tdep.c (bfin_gdbarch_init): Likewise.
986         * cli-out.c (struct ui_out *): Likewise.
987         * cli/cli-dump.c (add_dump_command): Likewise.
988         (add_dump_command): Likewise.
989         * complaints.c (get_complaints): Likewise.
990         (find_complaint): Likewise.
991         * dwarf2-frame.c (execute_cfa_program): Likewise.
992         * dwarf2read.c (abbrev_table_read_table): Likewise.
993         * gdbarch.sh: Likewise.
994         * gdbarch.c: Rebuild.
995         * inf-ttrace.c (inf_ttrace_add_page): Likewise.
996         * interps.c (interp_new): Likewise.
997         * lm32-tdep.c (lm32_gdbarch_init): Likewise.
998         * m32r-tdep.c (m32r_gdbarch_init): Likewise.
999         * mi/mi-console.c (mi_console_file_new): Likewise.
1000         * mi/mi-interp.c (mi_interpreter_init): Likewise.
1001         * mi/mi-out.c (mi_out_new): Likewise.
1002         * mi/mi-parse.c (mi_parse): Likewise.
1003         * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
1004         * moxie-tdep.c (moxie_gdbarch_init): Likewise.
1005         * observer.c (xalloc_observer_list_node): Likewise.
1006         * regcache.c (regcache_xmalloc_1): Likewise.
1007         * reggroups.c (reggroup_new): Likewise.
1008         (_initialize_reggroup): Likewise.
1009         * registry.c (register_data_with_cleanup): Likewise.
1010         * remote.c (remote_notif_stop_alloc_reply): Likewise.
1011         * ser-base.c (serial_ttystate): Likewise.
1012         * ser-mingw.c (make_pipe_state): Likewise.
1013         * ser-pipe.c (pipe_open): Likewise.
1014         * serial.c (serial_open): Likewise.
1015         * sh64-tdep.c (sh64_gdbarch_init): Likewise.
1016         * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
1017         (tui_alloc_win_info): Likewise.
1018         (tui_add_content_elements): Likewise.
1019         * tui/tui-file.c (tui_file_new): Likewise.
1020         * tui/tui-out.c (tui_out_new): Likewise.
1021         * ui-file.c (mem_file_new): Likewise.
1022         * ui-out.c (push_level): Likewise.
1023         (make_cleanup_ui_out_end): Likewise.
1024         (append_header_to_list): Likewise.
1025         (ui_out_new): Likewise.
1026         * user-regs.c (user_reg_add_builtin): Likewise.
1027
1028 2014-01-13  Tom Tromey  <[email protected]>
1029
1030         * defs.h (XZALLOC): Remove.
1031         * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
1032         * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
1033         (get_ada_tasks_inferior_data): Likewise.
1034         * auto-load.c (get_auto_load_pspace_data): Likewise.
1035         * auxv.c (get_auxv_inferior_data): Likewise.
1036         * bfd-target.c (target_bfd_reopen): Likewise.
1037         * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
1038         (deprecated_insert_raw_breakpoint): Likewise.
1039         * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
1040         * corelow.c (core_open): Likewise.
1041         * darwin-nat.c (darwin_check_new_threads): Likewise.
1042         (darwin_attach_pid): Likewise.
1043         * dummy-frame.c (dummy_frame_push): Likewise.
1044         * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
1045         * dwarf2loc.c (allocate_piece_closure): Likewise.
1046         * elfread.c (elf_symfile_segments): Likewise.
1047         * eval.c (ptrmath_type_p): Likewise.
1048         * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
1049         * gdbtypes.c (alloc_type_arch): Likewise.
1050         (alloc_type_instance): Likewise.
1051         * hppa-tdep.c (hppa_gdbarch_init): Likewise.
1052         * inf-child.c (inf_child_can_use_agent): Likewise.
1053         * inflow.c (get_inflow_inferior_data): Likewise.
1054         * infrun.c (save_infcall_suspend_state): Likewise.
1055         * jit.c (jit_reader_load): Likewise.
1056         (get_jit_objfile_data): Likewise.
1057         (get_jit_program_space_data): Likewise.
1058         (jit_object_open_impl): Likewise.
1059         (jit_symtab_open_impl): Likewise.
1060         (jit_block_open_impl): Likewise.
1061         (jit_frame_sniffer): Likewise.
1062         * linux-fork.c (add_fork): Likewise.
1063         * maint.c (make_command_stats_cleanup): Likewise.
1064         * objfiles.c (get_objfile_pspace_data): Likewise.
1065         * opencl-lang.c (struct lval_closure): Likewise.
1066         * osdata.c (osdata_start_osdata): Likewise.
1067         * progspace.c (new_address_space): Likewise.
1068         (add_program_space): Likewise.
1069         * remote-sim.c (get_sim_inferior_data): Likewise.
1070         * sh-tdep.c (sh_gdbarch_init): Likewise.
1071         * skip.c (Ignore): Likewise.
1072         (skip_delete_command): Likewise.
1073         * solib-aix.c (get_solib_aix_inferior_data): Likewise.
1074         (library_list_start_library): Likewise.
1075         (solib_aix_current_sos): Likewise.
1076         * solib-darwin.c (get_darwin_info): Likewise.
1077         (darwin_current_sos): Likewise.
1078         * solib-dsbt.c (get_dsbt_info): Likewise.
1079         * solib-ia64-hpux.c (new_so_list): Likewise.
1080         (ia64_hpux_get_solib_linkage_addr): Likewise.
1081         * solib-spu.c (append_ocl_sos): Likewise.
1082         (spu_current_sos): Likewise.
1083         * solib-svr4.c (get_svr4_info): Likewise.
1084         (svr4_keep_data_in_core): Likewise.
1085         (library_list_start_library): Likewise.
1086         (svr4_default_sos): Likewise.
1087         (svr4_read_so_list): Likewise.
1088         * solib-target.c (library_list_start_library): Likewise.
1089         (solib_target_current_sos): Likewise.
1090         * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
1091         * symfile-debug.c (install_symfile_debug_logging): Likewise.
1092         * symfile.c (default_symfile_segments): Likewise.
1093         * target-descriptions.c (tdesc_data_init): Likewise.
1094         (tdesc_create_reg): Likewise.
1095         (struct tdesc_type *): Likewise.
1096         (tdesc_create_vector): Likewise.
1097         (tdesc_set_struct_size): Likewise.
1098         (struct tdesc_type *): Likewise.
1099         (tdesc_free_feature): Likewise.
1100         (tdesc_create_feature): Likewise.
1101         * windows-nat.c (windows_add_thread): Likewise.
1102         (windows_make_so): Likewise.
1103         * xml-support.c (gdb_xml_body_text): Likewise.
1104         (gdb_xml_create_parser_and_cleanup): Likewise.
1105         (xml_process_xincludes): Likewise.
1106         * xml-syscall.c (allocate_syscalls_info): Likewise.
1107         (syscall_create_syscall_desc): Likewise.
1108
1109 2014-01-12  Sergio Durigan Junior  <[email protected]>
1110
1111         * i386-tdep.c (i386_stap_parse_special_token_triplet): New
1112         function, with code from i386_stap_parse_special_token.
1113         (i386_stap_parse_special_token_three_arg_disp): Likewise.
1114         (i386_stap_parse_special_token): Move code to the two functions
1115         above; simplify it.
1116
1117 2014-01-09  Pedro Alves  <[email protected]>
1118             Hui Zhu  <[email protected]>
1119
1120         PR gdb/16101
1121         * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
1122         bp_err_string.  Don't mark the location shlib_disabled if the
1123         error thrown wasn't a generic or memory error.  Catch errors
1124         thrown while inserting breakpoints in overlayed code.  Output
1125         error message of software breakpoints.
1126         * remote.c (remote_insert_breakpoint): If this breakpoint has
1127         target-side commands but this stub doesn't support Z0 packets,
1128         throw NOT_SUPPORTED_ERROR error.
1129         * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
1130         * target.h (target_insert_breakpoint): Extend comment.
1131         (target_insert_hw_breakpoint): Add comment.
1132
1133 2014-01-08  Pedro Alves  <[email protected]>
1134
1135         * remote.c (remote_add_thread): Add threads silently if starting
1136         up.
1137         (remote_notice_new_inferior): If in all-stop, and starting up,
1138         don't call notice_new_inferior.
1139         (get_current_thread): New function, factored out from ...
1140         (add_current_inferior_and_thread): ... this.  Adjust.
1141         (remote_start_remote) <all-stop>: Fetch the thread list.  If we
1142         found any thread, then select the remote's current thread as GDB's
1143         current thread too.
1144
1145 2014-01-08  Joel Brobecker  <[email protected]>
1146
1147         * NEWS: Create a new section for the next release branch.
1148         Rename the section of the current branch, now that it has
1149         been cut.
1150
1151 2014-01-08  Joel Brobecker  <[email protected]>
1152
1153         GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
1154         * version.in: Bump version to 7.7.50.DATE-cvs.
1155
1156 2014-01-08  Yao Qi  <[email protected]>
1157
1158         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
1159         type of 'id' to gdb_byte.  Cast 'id' to 'const char *'.
1160         (spu_xfer_partial): Cast 'buf' to 'const char *'.
1161
1162 2014-01-08  Yao Qi  <[email protected]>
1163
1164         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
1165         return value of bfd_get_filename to symbol_file_add_from_bfd.
1166
1167 2014-01-08  Pierre Muller  <[email protected]>
1168
1169         Fix PR16201.
1170         * coff-pe-read.c (struct read_pe_section_data): Add index field.
1171         (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
1172         to prim_record_mininal_symbol_and_info.
1173         (add_pe_forwarded_sym): Use known section number of forwarded symbol
1174         in call to prim_record_minimal_symbol_and_info.
1175         (read_pe_exported_syms): Set index field of section_data.
1176
1177 2014-01-07  Andrew Pinski  <[email protected]>
1178
1179         * features/aarch64-core.xml (cpsr): Change to be 64bit.
1180         * features/aarch64.c: Regenerate.
1181
1182 2014-01-07  Andreas Schwab  <[email protected]>
1183
1184         * target.c (return_null): Define.
1185         (update_current_target): Use it instead of return_zero for
1186         functions that return a pointer.
1187
1188 2014-01-07  Edjunior Barbosa Machado  <[email protected]>
1189
1190         * source.c (add_path): Fix check for duplicated paths in the previously
1191         included paths.
1192
1193 2014-01-07  Honggyu Kim  <[email protected]>
1194
1195         * ada-lang.c: Remove duplicated include statements.
1196         * alphabsd-nat.c: Ditto.
1197         * amd64-darwin-tdep.c: Ditto.
1198         * amd64fbsd-nat.c: Ditto.
1199         * auto-load.c: Ditto.
1200         * ax-gdb.c: Ditto.
1201         * breakpoint.c: Ditto.
1202         * dbxread.c: Ditto.
1203         * fork-child.c: Ditto.
1204         * gdb_usleep.c: Ditto.
1205         * i386-darwin-tdep.c: Ditto.
1206         * i386fbsd-nat.c: Ditto.
1207         * infcmd.c: Ditto.
1208         * inferior.c: Ditto.
1209         * jv-lang.c: Ditto.
1210         * linux-nat.c: Ditto.
1211         * linux-tdep.c: Ditto.
1212         * m68kbsd-nat.c: Ditto.
1213         * m68klinux-nat.c: Ditto.
1214         * microblaze-tdep.c: Ditto.
1215         * mips-linux-tdep.c: Ditto.
1216         * mn10300-tdep.c: Ditto.
1217         * nto-tdep.c: Ditto.
1218         * opencl-lang.c: Ditto.
1219         * osdata.c: Ditto.
1220         * printcmd.c: Ditto.
1221         * regcache.c: Ditto.
1222         * remote-m32r-sdi.c: Ditto.
1223         * remote.c: Ditto.
1224         * symfile.c: Ditto.
1225         * symtab.c: Ditto.
1226         * tilegx-linux-nat.c: Ditto.
1227         * tilegx-tdep.c: Ditto.
1228         * tracepoint.c: Ditto.
1229         * valops.c: Ditto.
1230         * vaxbsd-nat.c: Ditto.
1231         * windows-nat.c: Ditto.
1232         * xtensa-tdep.c: Ditto.
1233
1234 2014-01-07  Yao Qi  <[email protected]>
1235
1236         * spu-linux-nat.c (_initialize_spu_nat): Declare.
1237
1238 2014-01-07  Yao Qi  <[email protected]>
1239             Joel Brobecker  <[email protected]>
1240
1241         * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
1242         (pdc_write_regs): Likewise.
1243         (fetch_regs_kernel_thread): Likewise.
1244         (store_regs_kernel_thread): Likewise.
1245
1246 2014-01-07  Joel Brobecker  <[email protected]>
1247
1248         * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
1249         tagged type objects to their actual type.
1250
1251 2014-01-07  Joel Brobecker  <[email protected]>
1252
1253         * ada-valprint.c (print_field_values): Add "language" parameter.
1254         Update calls to print_field_values and print_variant_part.
1255         Pass new parameter "language" in call to val_print instead
1256         of "current_language".  Replace call to ada_val_print by call
1257         to val_print.
1258         (print_variant_part): Add "language" parameter.
1259         (ada_val_print_struct_union): Update call to print_field_values.
1260
1261 2014-01-07  Joel Brobecker  <[email protected]>
1262
1263         * ada-valprint.c (ui_memcpy): Delete.
1264         (ada_print_floating): Update documentation.  Add empty line
1265         between between function documentation and implementation.
1266         Delete variable "buffer".  Use ui_file_xstrdup in place of
1267         ui_file_put.  Minor adjustments following this change.
1268
1269 2014-01-07  Joel Brobecker  <[email protected]>
1270
1271         * ada-valprint.c (ada_val_print_string): New function,
1272         extracted from ada_val_print_array.
1273         (ada_val_print_array): Replace extracted code by call
1274         to ada_val_print_string followed by a return.  Move
1275         "else" branch to the function's top block.
1276
1277 2014-01-07  Joel Brobecker  <[email protected]>
1278
1279         * ada-valprint.c (ada_val_print_array): Move implementation
1280         down.  Rename parameter "offset" and "val" into "offset_aligned"
1281         and "original_value" respectively.  Add parameter "offset".
1282
1283 2014-01-07  Joel Brobecker  <[email protected]>
1284
1285         * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
1286         re-organizing the code. Change the "???" message printed
1287         when target type is a TYPE_CODE_UNDEF into
1288         "<ref to undefined type>".
1289
1290 2014-01-07  Joel Brobecker  <[email protected]>
1291
1292         * ada-valprint.c (print_record): Delete, implementation inlined...
1293         (ada_val_print_struct_union): ... here.  Remove call to
1294         ada_check_typedef in inlined implementation.
1295
1296 2014-01-07  Joel Brobecker  <[email protected]>
1297
1298         * ada-valprint.c (ada_val_print_gnat_array): New function,
1299         extracted from ada_val_print_1;
1300         (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
1301         (ada_val_print_flt, ada_val_print_struct_union)
1302         (ada_val_print_ref): Likewise.
1303         (ada_val_print_1): Delete variables i and elttype.
1304         Replace extracted-out code by call to corresponding
1305         new functions.
1306
1307 2014-01-07  Joel Brobecker  <[email protected]>
1308
1309         * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
1310
1311 2014-01-07  Joel Brobecker  <[email protected]>
1312
1313         * ada-valprint.c (ada_val_print_1): Replace calls to
1314         ada_val_print_1 by calls to val_print.
1315
1316 2014-01-07  Joel Brobecker  <[email protected]>
1317
1318         * ada-valprint.c (ada_val_print_1): Add parameter "language".
1319         Update calls to self accordingly.  Replace calls to c_val_print
1320         by calls to val_print.
1321
1322 2014-01-07  Joel Brobecker  <[email protected]>
1323
1324         * ada-valprint.c (print_record): Delete declaration.
1325         (adjust_type_signedness, ada_val_print_1): Likewise.
1326         (ada_val_print): Move function implementation down.
1327         (print_variant_part, print_field_values, print_record):
1328         Move function implementation up.
1329
1330 2014-01-07  Joel Brobecker  <[email protected]>
1331
1332         * python/py-type.c (typy_get_name): New function.
1333         (type_object_getset): Add entry for attribute "name".
1334         * NEWS: Add entry mentioning this new attribute.
1335
1336 2014-01-07  Yao Qi  <[email protected]>
1337
1338         * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
1339         statement.
1340
1341 2014-01-07  Yao Qi  <[email protected]>
1342
1343         * gnu-nat.c (info_port_rights): Add qualifier const to
1344         argument args.
1345
1346 2014-01-07  Yao Qi  <[email protected]>
1347
1348         * gnu-nat.c (trace_me): Use 'void' for empty argument list.
1349
1350 2014-01-07  Yao Qi  <[email protected]>
1351
1352         * gnu-nat.c (make_inf) Update declaration.
1353         (make_inf): Make it static.
1354         (inf_set_traced): Likewise.
1355         (inf_port_to_thread, inf_task_died_status): Likewise.
1356
1357 2014-01-07  Yao Qi  <[email protected]>
1358
1359         * gnu-nat.c (inf_tid_to_proc): Remove declaration.
1360
1361 2014-01-07  Yao Qi  <[email protected]>
1362
1363         * gnu-nat.c (_initialize_gnu_nat): Declare.
1364
1365 2014-01-07  Yao Qi  <[email protected]>
1366
1367         * gdbarch.sh (byte_order, byte_order_for_code): Change type to
1368         'enum bfd_endian'.
1369         (struct gdbarch_info) <byte_order>: Change type to
1370         'enum bfd_endian'.
1371         <byte_order_for_code>: Likewise.
1372         * gdbarch.c, gdbarch.h: Regenerated.
1373
1374 2014-01-06  Sasha Smundak  <[email protected]>
1375
1376         * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
1377
1378 2014-01-06  Tom Tromey  <[email protected]>
1379
1380         * doublest.c (convert_doublest_to_floatformat): Use const, not
1381         CONST.
1382         * somread.c (som_symtab_read): Likewise.
1383
1384 2014-01-07  Hui Zhu  <[email protected]>
1385
1386         * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
1387         (gdb_bfd_open): Removed gdb_bfd_stash_filename.
1388         (gdb_bfd_fopen): Ditto.
1389         (gdb_bfd_openr): Ditto.
1390         (gdb_bfd_openw): Ditto.
1391         (gdb_bfd_openr_iovec): Ditto.
1392         (gdb_bfd_fdopenr): Ditto.
1393         * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
1394         * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
1395         with xstrdup.
1396         * solib-darwin.c (darwin_bfd_open): Alloc res->filename
1397         with xstrdup.
1398         * symfile-mem.c (symbol_file_add_from_memory): Removed
1399         gdb_bfd_stash_filename.
1400
1401 2014-01-03  Doug Evans  <[email protected]>
1402
1403         * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
1404         output.
1405
1406 2014-01-01  Joel Brobecker  <[email protected]>
1407
1408         Update year range in copyright notice of all files.
1409
1410 2014-01-01  Joel Brobecker  <[email protected]>
1411
1412         * top.c (print_gdb_version): Set copyright year to 2014.
1413
1414 2014-01-01  Joel Brobecker  <[email protected]>
1415
1416         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
1417
1418 For older changes see ChangeLog-2013.
1419 \f
1420 Local Variables:
1421 mode: change-log
1422 left-margin: 8
1423 fill-column: 74
1424 version-control: never
1425 coding: utf-8
1426 End:
This page took 0.110625 seconds and 4 git commands to generate.