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