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