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