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