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