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