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