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