]>
Commit | Line | Data |
---|---|---|
1 | 2014-02-26 Pedro Alves <palves@redhat.com> | |
2 | ||
3 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
4 | helper. | |
5 | (mips_xfer_partial): New function. | |
6 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
7 | hook. Install a to_xfer_partial hook. | |
8 | ||
9 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> | |
10 | ||
11 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
12 | * gdbtypes.c (create_array_type_with_stride): New function, | |
13 | renaming create_array_type, but with an added parameter | |
14 | called "bit_stride". | |
15 | (create_array_type): Re-implement using | |
16 | create_array_type_with_stride. | |
17 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
18 | and DW_AT_bit_stride attributes. | |
19 | ||
20 | 2014-02-26 Pedro Alves <palves@redhat.com> | |
21 | ||
22 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
23 | task-specific breakpoints. | |
24 | ||
25 | 2014-02-25 Pedro Alves <palves@redhat.com> | |
26 | ||
27 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
28 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
29 | ||
30 | 2014-02-25 Stan Shebs <stan@codesourcery.com> | |
31 | ||
32 | * defs.h: Annotate comments for Doxygen. | |
33 | ||
34 | 2014-02-25 Tom Tromey <tromey@redhat.com> | |
35 | ||
36 | * target.h (target_ignore): Don't declare. | |
37 | * target.c (target_ignore): Remove. | |
38 | ||
39 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> | |
40 | ||
41 | PR gdb/16626 | |
42 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
43 | debugfile. | |
44 | ||
45 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> | |
46 | ||
47 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
48 | documentation. Adjust prototype to match the target_ops | |
49 | to_xfer_partial method. Adjust implementation accordingly. | |
50 | ||
51 | 2014-02-25 Hui Zhu <hui@codesourcery.com> | |
52 | ||
53 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
54 | to_traceframe_info. | |
55 | ||
56 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> | |
57 | ||
58 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) | |
59 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) | |
60 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
61 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
62 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
63 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
64 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
65 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
66 | New constants. | |
67 | (rl78_register_type): Use a data pointer type for SP and | |
68 | new pseudo registers mentioned above. Use a 16 bit integer | |
69 | type for all other register pairs. | |
70 | (rl78_register_name, rl78_g10_register_name): Update for | |
71 | new pseudo registers. | |
72 | (rl78_pseudo_register_read): Likewise. | |
73 | (rl78_pseudo_register_write): Likewise. | |
74 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
75 | to the newly added pseudo registers. | |
76 | ||
77 | 2014-02-24 Doug Evans <dje@google.com> | |
78 | ||
79 | * value.c (record_latest_value): Fix comment. | |
80 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
81 | record_latest_value. | |
82 | ||
83 | 2014-02-24 Pedro Alves <palves@redhat.com> | |
84 | ||
85 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
86 | deprecated_xfer_memory hook. | |
87 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
88 | of the deprecated_xfer_memory target hook. | |
89 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
90 | helper. | |
91 | ||
92 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> | |
93 | ||
94 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
95 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
96 | requested object is TARGET_OBJECT_LIBRARIES. | |
97 | ||
98 | 2014-02-24 Yao Qi <yao@codesourcery.com> | |
99 | ||
100 | * target.h (enum target_xfer_status) | |
101 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
102 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
103 | explicitly. New. | |
104 | * corefile.c (memory_error_message): User updated. | |
105 | * exec.c (section_table_read_available_memory): Likewise. | |
106 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
107 | * target.c (target_xfer_status_to_string): Likewise. | |
108 | (raw_memory_xfer_partial): Likewise. | |
109 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
110 | * valops.c (read_value_memory): Likewise. | |
111 | * exec.h: Update comments. | |
112 | ||
113 | 2014-02-24 Yao Qi <yao@codesourcery.com> | |
114 | ||
115 | * target.c (target_xfer_status_to_string): Rename argument err | |
116 | to status. | |
117 | * target.h (target_xfer_status_to_string): Update declaration. | |
118 | Replace target_xfer_error_to_string with | |
119 | target_xfer_status_to_string in comment. | |
120 | ||
121 | 2014-02-24 Yao Qi <yao@codesourcery.com> | |
122 | ||
123 | * mips-linux-nat.c (super_close): Update its type. | |
124 | (mips_linux_close): Pass 'self' to super_close. | |
125 | ||
126 | 2014-02-24 Yao Qi <yao@codesourcery.com> | |
127 | ||
128 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
129 | * corefile.c (read_memory): Adjusted. | |
130 | * target.c (target_write_with_progress): Adjusted. | |
131 | ||
132 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
133 | ||
134 | Revert two patches: | |
135 | ||
136 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
137 | ||
138 | * remote.c (remote_traceframe_info): Return early if | |
139 | traceframe is not selected. | |
140 | ||
141 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
142 | ||
143 | * target.c (update_current_target): Change the default action | |
144 | of 'to_traceframe_info' from tcomplain to return_zero. | |
145 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
146 | comments. | |
147 | ||
148 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
149 | ||
150 | * valops.c (read_value_memory): Rewrite it. Call | |
151 | target_xfer_partial in a loop. | |
152 | * exec.h (section_table_available_memory): Remove declaration. | |
153 | Move comments to ... | |
154 | * exec.c (section_table_available_memory): ... here. Make it | |
155 | static. | |
156 | ||
157 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
158 | ||
159 | * exec.c (section_table_read_available_memory): New function. | |
160 | * exec.h (section_table_read_available_memory): Declare. | |
161 | * ctf.c (ctf_xfer_partial): Call | |
162 | section_table_read_available_memory. | |
163 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
164 | ||
165 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
166 | ||
167 | * ctf.c (ctf_xfer_partial): Move code to ... | |
168 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
169 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
170 | * tracefile.c: Include "exec.h". | |
171 | * exec.h (exec_read_partial_read_only): Declare. | |
172 | ||
173 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
174 | ||
175 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
176 | (tfile_has_memory): Remove. | |
177 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
178 | to_has_memory of tfile_ops. | |
179 | * tracefile.c (tracefile_has_all_memory): New function. | |
180 | (tracefile_has_memory): New function. | |
181 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
182 | to_has_memory of 'ops'. | |
183 | ||
184 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
185 | ||
186 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
187 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
188 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
189 | init_tracefile_ops. | |
190 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
191 | (tfile_has_stack, tfile_has_registers): Remove. | |
192 | (tfile_thread_alive): Remove. | |
193 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
194 | init_tracefile_ops. | |
195 | * tracefile.c (tracefile_has_stack): New function. | |
196 | (tracefile_has_registers): New function. | |
197 | (tracefile_thread_alive): New function. | |
198 | (tracefile_get_trace_status): New function. | |
199 | (init_tracefile_ops): New function. | |
200 | * tracefile.h (init_tracefile_ops): Declare. | |
201 | ||
202 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
203 | ||
204 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
205 | (O_LARGEFILE): Likewise. | |
206 | (tfile_ops): Likewise. | |
207 | (TRACE_HEADER_SIZE): Likewise. | |
208 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
209 | (cur_data_size): Likewise. | |
210 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
211 | (tfile_close, tfile_files_info): Likewise. | |
212 | (tfile_get_trace_status): Likewise. | |
213 | (tfile_get_tracepoint_status): Likewise. | |
214 | (tfile_get_traceframe_address): Likewise. | |
215 | (tfile_trace_find, match_blocktype): Likewise. | |
216 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
217 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
218 | (tfile_get_trace_state_variable_value): Likewise. | |
219 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
220 | (tfile_has_stack, tfile_has_registers): Likewise. | |
221 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
222 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
223 | (_initialize_tracepoint): Don't call init_tfile_ops | |
224 | and add_target_with_completer. | |
225 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
226 | exec.h, completer.h and filenames.h. | |
227 | (_initialize_tracefile_tfile): New function. | |
228 | ||
229 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
230 | ||
231 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
232 | tracefile-tfile.o. | |
233 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
234 | * ctf.c: Include "tracefile.h". | |
235 | * tracefile.h: New file. | |
236 | * tracefile.c: New file | |
237 | * tracefile-tfile.c: New file. | |
238 | * tracepoint.c: Include "tracefile.h". | |
239 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
240 | (stop_reason_names): Add const. | |
241 | (trace_file_writer_xfree): Move it to tracefile.c. | |
242 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
243 | (trace_save_ctf): Likewise. | |
244 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
245 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
246 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
247 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
248 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
249 | (tfile_write_raw_data, tfile_end): Likewise. | |
250 | (tfile_trace_file_writer_new): Likewise. | |
251 | (free_uploaded_tp): Make it extern. | |
252 | (free_uploaded_tsv): Make it extern. | |
253 | (_initialize_tracepoint): Move code to register command 'tsave' | |
254 | to tracefile.c. | |
255 | * tracepoint.h (stop_reason_names): Declare. | |
256 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
257 | (struct trace_file_write_ops): Likewise. | |
258 | (struct trace_file_writer): Likewise. | |
259 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
260 | ||
261 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> | |
262 | ||
263 | PR gdb/16594 | |
264 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
265 | process name. | |
266 | (get_cores_used_by_process): New parameter num_cores, use it. | |
267 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
268 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
269 | process name. | |
270 | ||
271 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> | |
272 | ||
273 | * target.c (memory_xfer_partial): Fix length arg in call to | |
274 | breakpoint_xfer_memory. | |
275 | ||
276 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> | |
277 | ||
278 | PR tdep/16397 | |
279 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
280 | number comes after the + or - signs. Adjust length of register | |
281 | name to be extracted. | |
282 | ||
283 | 2014-02-20 Tom Tromey <tromey@redhat.com> | |
284 | ||
285 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
286 | (ada_varobj_ops): Mark "extern". | |
287 | ||
288 | 2014-02-20 Tom Tromey <tromey@redhat.com> | |
289 | ||
290 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
291 | ||
292 | 2014-02-20 Doug Evans <xdje42@gmail.com> | |
293 | ||
294 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
295 | All callers updated. | |
296 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
297 | All callers updated. | |
298 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
299 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
300 | ||
301 | 2014-02-20 lin zuojian <manjian2006@gmail.com> | |
302 | Joel Brobecker <brobecker@adacore.com> | |
303 | Doug Evans <xdje42@gmail.com> | |
304 | ||
305 | PR symtab/16581 | |
306 | * dwarf2read.c (struct die_info): New member in_process. | |
307 | (reset_die_in_process): New function. | |
308 | (process_die): Set it at the start, reset when returning. | |
309 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
310 | not already being processed. | |
311 | ||
312 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
313 | ||
314 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
315 | (do_initial_windows_stuff): Add comment explaining why we wait | |
316 | until after inferior initialization has finished before | |
317 | processing all DLLs. | |
318 | ||
319 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
320 | ||
321 | * windows-nat.c (get_module_name): Delete. | |
322 | (windows_get_exec_module_filename): New function, mostly | |
323 | inspired from get_module_name. | |
324 | (windows_pid_to_exec_file): Replace call to get_module_name | |
325 | by call to windows_get_exec_module_filename. | |
326 | ||
327 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
328 | ||
329 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
330 | introductory comment. Remove code using get_module_name | |
331 | to get the DLL's name. | |
332 | ||
333 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
334 | ||
335 | * windows-nat.c (get_windows_debug_event): Ignore | |
336 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
337 | if windows_initialization_done == 0. | |
338 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
339 | Adjust implementation to always load all DLLs. | |
340 | (do_initial_windows_stuff): Replace call to | |
341 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
342 | ||
343 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
344 | ||
345 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
346 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
347 | and "assf" aliases into commands, and deprecate them as well. | |
348 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
349 | aliases are now deprecated. | |
350 | ||
351 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
352 | ||
353 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
354 | new-line in debug string. Remove trailing spaces. | |
355 | ||
356 | 2014-02-19 Stan Shebs <stan@codesourcery.com> | |
357 | ||
358 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
359 | ||
360 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> | |
361 | ||
362 | * NEWS: Add entry for the new feature | |
363 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
364 | and class values. | |
365 | ||
366 | 2014-02-19 Stan Shebs <stan@codesourcery.com> | |
367 | ||
368 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
369 | ||
370 | 2014-02-19 Pedro Alves <palves@redhat.com> | |
371 | ||
372 | * common/ptid.h (struct ptid): Mention that process_stratum | |
373 | targets should prefer ptid.lwp. | |
374 | ||
375 | 2014-02-19 Pedro Alves <palves@redhat.com> | |
376 | ||
377 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
378 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
379 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
380 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
381 | store remote thread ids rather than ptid.tid. | |
382 | (_initialize_remote): Adjust. | |
383 | ||
384 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
385 | ||
386 | * target.c (target_get_unwinder): Rewrite. | |
387 | (target_get_tailcall_unwinder): Rewrite. | |
388 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
389 | (record_btrace_to_get_tailcall_unwinder): New function. | |
390 | (init_record_btrace_ops): Update. | |
391 | * target.h (struct target_ops) <to_get_unwinder, | |
392 | to_get_tailcall_unwinder>: Now function pointers. Use | |
393 | TARGET_DEFAULT_RETURN. | |
394 | ||
395 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
396 | ||
397 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
398 | argument. | |
399 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
400 | ||
401 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
402 | ||
403 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
404 | directly. | |
405 | * target-delegates.c: Rebuild. | |
406 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
407 | TARGET_DEFAULT_FUNC. | |
408 | * target.c (default_target_decr_pc_after_break): Rename from | |
409 | forward_target_decr_pc_after_break. Simplify. | |
410 | (target_decr_pc_after_break): Rely on delegation. | |
411 | ||
412 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
413 | ||
414 | * target.c (update_current_target): Do not INHERIT to_doc or | |
415 | to_magic. Do not de_fault to_open or to_close. | |
416 | ||
417 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
418 | ||
419 | * gcore.h (objfile_find_memory_regions): Declare. | |
420 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
421 | "self" argument. | |
422 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
423 | * exec.c: Include gcore.h. | |
424 | (exec_set_find_memory_regions): Remove. | |
425 | (exec_find_memory_regions): Remove. | |
426 | (exec_do_find_memory_regions): Remove. | |
427 | (init_exec_ops): Update. | |
428 | * defs.h (exec_set_find_memory_regions): Remove. | |
429 | ||
430 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
431 | ||
432 | * target-delegates.c: Rebuild. | |
433 | * target.h (struct target_ops) <to_extra_thread_info, | |
434 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
435 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
436 | not 0, in TARGET_DEFAULT_RETURN. | |
437 | ||
438 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
439 | ||
440 | * target.c (complete_target_initialization): Remove casts. Use | |
441 | return_zero_has_execution. | |
442 | (return_zero): Add "ignore" argument. | |
443 | (return_zero_has_execution): New function. | |
444 | (init_dummy_target): Remove casts. Use | |
445 | return_zero_has_execution. | |
446 | ||
447 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
448 | ||
449 | * target.c (update_current_target): Update comments. Do not | |
450 | INHERIT to_stratum. | |
451 | ||
452 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
453 | ||
454 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
455 | needed. | |
456 | * corelow.c (core_read_description): Delegate when needed. | |
457 | * remote.c (remote_read_description): Delegate when needed. | |
458 | * target-delegates.c: Rebuild. | |
459 | * target.c (target_read_description): Rewrite. | |
460 | * target.h (struct target_ops) <to_read_description>: Update | |
461 | comment. Use TARGET_DEFAULT_RETURN. | |
462 | ||
463 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
464 | ||
465 | * target-delegates.c: Rebuild. | |
466 | * target.c (update_current_target): Don't inherit or default | |
467 | to_can_run. | |
468 | (find_default_run_target): Check against delegate_can_run. | |
469 | * target.h (struct target_ops) <to_can_run>: Use | |
470 | TARGET_DEFAULT_RETURN. | |
471 | ||
472 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
473 | ||
474 | * target-delegates.c: Rebuild. | |
475 | * target.c (target_disconnect): Unconditionally delegate. | |
476 | * target.h (struct target_ops) <to_disconnect>: Use | |
477 | TARGET_DEFAULT_NORETURN. | |
478 | ||
479 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
480 | ||
481 | * record.c (record_stop): Unconditionally delegate. | |
482 | * target-delegates.c: Rebuild. | |
483 | * target.c (target_stop_recording): Unconditionally delegate. | |
484 | * target.h (struct target_ops) <to_stop_recording>: Use | |
485 | TARGET_DEFAULT_IGNORE. | |
486 | ||
487 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
488 | ||
489 | * target-delegates.c: Rebuild. | |
490 | * target.c (target_enable_btrace): Unconditionally delegate. | |
491 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
492 | TARGET_DEFAULT_NORETURN. | |
493 | ||
494 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
495 | ||
496 | * target-delegates.c: Rebuild. | |
497 | * target.c (target_read_btrace): Unconditionally delegate. | |
498 | * target.h (struct target_ops) <to_read_btrace>: Use | |
499 | TARGET_DEFAULT_NORETURN. | |
500 | ||
501 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
502 | ||
503 | * target-delegates.c: Rebuild. | |
504 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
505 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
506 | TARGET_DEFAULT_NORETURN. | |
507 | ||
508 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
509 | ||
510 | * target-delegates.c: Rebuild. | |
511 | * target.c (target_disable_btrace): Unconditionally delegate. | |
512 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
513 | TARGET_DEFAULT_NORETURN. | |
514 | ||
515 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
516 | ||
517 | * target-delegates.c: Rebuild. | |
518 | * target.c (default_search_memory): New function. | |
519 | (simple_search_memory): Update comment. | |
520 | (target_search_memory): Unconditionally delegate. | |
521 | * target.h (struct target_ops) <to_search_memory>: Use | |
522 | TARGET_DEFAULT_FUNC. | |
523 | ||
524 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
525 | ||
526 | * auxv.c (default_auxv_parse): No longer static. | |
527 | (target_auxv_parse): Unconditionally delegate. | |
528 | * auxv.h (default_auxv_parse): Declare. | |
529 | * target-delegates.c: Rebuild. | |
530 | * target.c: Include auxv.h. | |
531 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
532 | TARGET_DEFAULT_FUNC. | |
533 | ||
534 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
535 | ||
536 | * target-delegates.c: Rebuild. | |
537 | * target.c (target_memory_map): Unconditionally delegate. | |
538 | * target.h (struct target_ops) <to_memory_map>: Use | |
539 | TARGET_DEFAULT_RETURN. | |
540 | ||
541 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
542 | ||
543 | * target-delegates.c: Rebuild. | |
544 | * target.c (target_thread_alive): Unconditionally delegate. | |
545 | * target.h (struct target_ops) <to_thread_alive>: Use | |
546 | TARGET_DEFAULT_RETURN. | |
547 | ||
548 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
549 | ||
550 | * target-delegates.c: Rebuild. | |
551 | * target.c (target_save_record): Unconditionally delegate. | |
552 | * target.h (struct target_ops) <to_save_record>: Use | |
553 | TARGET_DEFAULT_NORETURN. | |
554 | ||
555 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
556 | ||
557 | * target-delegates.c: Rebuild. | |
558 | * target.c (target_delete_record): Unconditionally delegate. | |
559 | * target.h (struct target_ops) <to_delete_record>: Use | |
560 | TARGET_DEFAULT_NORETURN. | |
561 | ||
562 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
563 | ||
564 | * target-delegates.c: Rebuild. | |
565 | * target.c (target_record_is_replaying): Unconditionally | |
566 | delegate. | |
567 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
568 | TARGET_DEFAULT_RETURN. | |
569 | ||
570 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
571 | ||
572 | * target-delegates.c: Rebuild. | |
573 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
574 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
575 | TARGET_DEFAULT_NORETURN. | |
576 | ||
577 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
578 | ||
579 | * target-delegates.c: Rebuild. | |
580 | * target.c (target_goto_record_end): Unconditionally delegate. | |
581 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
582 | TARGET_DEFAULT_NORETURN. | |
583 | ||
584 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
585 | ||
586 | * target-delegates.c: Rebuild. | |
587 | * target.c (target_goto_record): Unconditionally delegate. | |
588 | * target.h (struct target_ops) <to_goto_record>: Use | |
589 | TARGET_DEFAULT_NORETURN. | |
590 | ||
591 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
592 | ||
593 | * target-delegates.c: Rebuild. | |
594 | * target.c (target_insn_history): Unconditionally delegate. | |
595 | * target.h (struct target_ops) <to_insn_history>: Use | |
596 | TARGET_DEFAULT_NORETURN. | |
597 | ||
598 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
599 | ||
600 | * target-delegates.c: Rebuild. | |
601 | * target.c (target_insn_history_from): Unconditionally delegate. | |
602 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
603 | TARGET_DEFAULT_NORETURN. | |
604 | ||
605 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
606 | ||
607 | * target-delegates.c: Rebuild. | |
608 | * target.c (target_insn_history_range): Unconditionally delegate. | |
609 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
610 | TARGET_DEFAULT_NORETURN. | |
611 | ||
612 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
613 | ||
614 | * target-delegates.c: Rebuild. | |
615 | * target.c (target_call_history): Unconditionally delegate. | |
616 | * target.h (struct target_ops) <to_call_history>: Use | |
617 | TARGET_DEFAULT_NORETURN. | |
618 | ||
619 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
620 | ||
621 | * target-delegates.c: Rebuild. | |
622 | * target.c (target_call_history_from): Unconditionally delegate. | |
623 | * target.h (struct target_ops) <to_call_history_from>: Use | |
624 | TARGET_DEFAULT_NORETURN. | |
625 | ||
626 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
627 | ||
628 | * target-delegates.c: Rebuild. | |
629 | * target.c (target_call_history_range): Unconditionally delegate. | |
630 | * target.h (struct target_ops) <to_call_history_range>: Use | |
631 | TARGET_DEFAULT_NORETURN. | |
632 | ||
633 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
634 | ||
635 | * target-delegates.c: Rebuild. | |
636 | * target.c (target_verify_memory): Unconditionally delegate. | |
637 | * target.h (struct target_ops) <to_verify_memory>: Use | |
638 | TARGET_DEFAULT_NORETURN. | |
639 | ||
640 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
641 | ||
642 | * target-delegates.c: Rebuild. | |
643 | * target.c (target_core_of_thread): Unconditionally delegate. | |
644 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
645 | TARGET_DEFAULT_RETURN. | |
646 | ||
647 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
648 | ||
649 | * target-delegates.c: Rebuild. | |
650 | * target.c (target_flash_done): Unconditionally delegate. | |
651 | * target.h (struct target_ops) <to_flash_done>: Use | |
652 | TARGET_DEFAULT_NORETURN. | |
653 | ||
654 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
655 | ||
656 | * target-delegates.c: Rebuild. | |
657 | * target.c (target_flash_erase): Unconditionally delegate. | |
658 | * target.h (struct target_ops) <to_flash_erase>: Use | |
659 | TARGET_DEFAULT_NORETURN. | |
660 | ||
661 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
662 | ||
663 | * target-delegates.c: Rebuild. | |
664 | * target.c (target_get_section_table): Unconditionally delegate. | |
665 | * target.h (struct target_ops) <to_get_section_table>: Use | |
666 | TARGET_DEFAULT_RETURN. | |
667 | ||
668 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
669 | ||
670 | * target-delegates.c: Rebuild. | |
671 | * target.c (target_pid_to_str): Unconditionally delegate. | |
672 | (init_dummy_target): Don't initialize to_pid_to_str. | |
673 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
674 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
675 | TARGET_DEFAULT_FUNC. | |
676 | ||
677 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
678 | ||
679 | * target-delegates.c: Rebuild. | |
680 | * target.c (target_find_new_threads): Unconditionally delegate. | |
681 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
682 | TARGET_DEFAULT_RETURN. | |
683 | ||
684 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
685 | ||
686 | * target-delegates.c: Rebuild. | |
687 | * target.c (target_program_signals): Unconditionally delegate. | |
688 | * target.h (struct target_ops) <to_program_signals>: Use | |
689 | TARGET_DEFAULT_IGNORE. | |
690 | ||
691 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
692 | ||
693 | * target-delegates.c: Rebuild. | |
694 | * target.c (target_pass_signals): Unconditionally delegate. | |
695 | * target.h (struct target_ops) <to_pass_signals>: Use | |
696 | TARGET_DEFAULT_IGNORE. | |
697 | ||
698 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
699 | ||
700 | * target-delegates.c: Rebuild. | |
701 | * target.c (default_mourn_inferior): New function. | |
702 | (target_mourn_inferior): Unconditionally delegate. | |
703 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
704 | TARGET_DEFAULT_FUNC. | |
705 | ||
706 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
707 | ||
708 | * target-delegates.c: Rebuild. | |
709 | * target.c (default_follow_fork): New function. | |
710 | (target_follow_fork): Unconditionally delegate. | |
711 | * target.h (struct target_ops) <to_follow_fork>: Use | |
712 | TARGET_DEFAULT_FUNC. | |
713 | ||
714 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
715 | ||
716 | * target-delegates.c: Rebuild. | |
717 | * target.c (target_kill): Unconditionally delegate. | |
718 | * target.h (struct target_ops) <to_kill>: Use | |
719 | TARGET_DEFAULT_NORETURN. | |
720 | ||
721 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
722 | ||
723 | * target-delegates.c: Rebuild. | |
724 | * target.c (target_masked_watch_num_registers): Unconditionally | |
725 | delegate. | |
726 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
727 | Use TARGET_DEFAULT_RETURN. | |
728 | ||
729 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
730 | ||
731 | * target-delegates.c: Rebuild. | |
732 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
733 | delegate. | |
734 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
735 | TARGET_DEFAULT_RETURN. | |
736 | ||
737 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
738 | ||
739 | * target-delegates.c: Rebuild. | |
740 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
741 | delegate. | |
742 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
743 | TARGET_DEFAULT_RETURN. | |
744 | ||
745 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
746 | ||
747 | * target-delegates.c: Rebuild. | |
748 | * target.c (target_ranged_break_num_registers): Unconditionally | |
749 | delegate. | |
750 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
751 | Use TARGET_DEFAULT_RETURN. | |
752 | ||
753 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
754 | ||
755 | * target-delegates.c: Rebuild. | |
756 | * target.c (target_fetch_registers): Unconditionally delegate. | |
757 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
758 | TARGET_DEFAULT_NORETURN. | |
759 | ||
760 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
761 | ||
762 | * target-delegates.c: Rebuild. | |
763 | * target.c (update_current_target): Don't inherit or default | |
764 | to_stop. | |
765 | * target.h (struct target_ops) <to_stop>: Use | |
766 | TARGET_DEFAULT_IGNORE. | |
767 | ||
768 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
769 | ||
770 | * target-delegates.c: Rebuild. | |
771 | * target.c (update_current_target): Don't inherit or default | |
772 | to_can_run_breakpoint_commands. | |
773 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
774 | Use TARGET_DEFAULT_RETURN. | |
775 | ||
776 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
777 | ||
778 | * target-delegates.c: Rebuild. | |
779 | * target.c (update_current_target): Don't inherit or default | |
780 | to_supports_evaluation_of_breakpoint_conditions. | |
781 | * target.h (struct target_ops) | |
782 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
783 | TARGET_DEFAULT_RETURN. | |
784 | ||
785 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
786 | ||
787 | * target-delegates.c: Rebuild. | |
788 | * target.c (update_current_target): Don't inherit or default | |
789 | to_augmented_libraries_svr4_read. | |
790 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
791 | Use TARGET_DEFAULT_RETURN. | |
792 | ||
793 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
794 | ||
795 | * target-delegates.c: Rebuild. | |
796 | * target.c (update_current_target): Don't inherit or default | |
797 | to_can_use_agent. | |
798 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
799 | TARGET_DEFAULT_RETURN. | |
800 | ||
801 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
802 | ||
803 | * target-delegates.c: Rebuild. | |
804 | * target.c (update_current_target): Don't inherit or default | |
805 | to_use_agent. | |
806 | * target.h (struct target_ops) <to_use_agent>: Use | |
807 | TARGET_DEFAULT_NORETURN. | |
808 | ||
809 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
810 | ||
811 | * target-delegates.c: Rebuild. | |
812 | * target.c (update_current_target): Don't inherit or default | |
813 | to_traceframe_info. | |
814 | (return_null): Remove. | |
815 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
816 | TARGET_DEFAULT_RETURN. | |
817 | ||
818 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
819 | ||
820 | * target-delegates.c: Rebuild. | |
821 | * target.c (update_current_target): Don't inherit or default | |
822 | to_static_tracepoint_markers_by_strid. | |
823 | * target.h (struct target_ops) | |
824 | <to_static_tracepoint_markers_by_strid>: Use | |
825 | TARGET_DEFAULT_NORETURN. | |
826 | ||
827 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
828 | ||
829 | * target-delegates.c: Rebuild. | |
830 | * target.c (update_current_target): Don't inherit or default | |
831 | to_static_tracepoint_marker_at. | |
832 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
833 | Use TARGET_DEFAULT_RETURN. | |
834 | ||
835 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
836 | ||
837 | * target-delegates.c: Rebuild. | |
838 | * target.c (update_current_target): Don't inherit or default | |
839 | to_set_permissions. | |
840 | * target.h (struct target_ops) <to_set_permissions>: Use | |
841 | TARGET_DEFAULT_IGNORE. | |
842 | ||
843 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
844 | ||
845 | * target-delegates.c: Rebuild. | |
846 | * target.c (update_current_target): Don't inherit or default | |
847 | to_get_tib_address. | |
848 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
849 | TARGET_DEFAULT_NORETURN. | |
850 | ||
851 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
852 | ||
853 | * target-delegates.c: Rebuild. | |
854 | * target.c (update_current_target): Don't inherit or default | |
855 | to_set_trace_notes. | |
856 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
857 | TARGET_DEFAULT_RETURN. | |
858 | ||
859 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
860 | ||
861 | * target-delegates.c: Rebuild. | |
862 | * target.c (update_current_target): Don't initialize | |
863 | to_set_trace_buffer_size. | |
864 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
865 | TARGET_DEFAULT_IGNORE. | |
866 | ||
867 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
868 | ||
869 | * target-delegates.c: Rebuild. | |
870 | * target.c (update_current_target): Don't inherit or default | |
871 | to_set_circular_trace_buffer. | |
872 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
873 | TARGET_DEFAULT_IGNORE. | |
874 | ||
875 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
876 | ||
877 | * target-delegates.c: Rebuild. | |
878 | * target.c (update_current_target): Don't inherit or default | |
879 | to_set_disconnected_tracing. | |
880 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
881 | TARGET_DEFAULT_IGNORE. | |
882 | ||
883 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
884 | ||
885 | * target-delegates.c: Rebuild. | |
886 | * target.c (update_current_target): Don't inherit or default | |
887 | to_get_min_fast_tracepoint_insn_len. | |
888 | (return_minus_one): Remove. | |
889 | * target.h (struct target_ops) | |
890 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
891 | ||
892 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
893 | ||
894 | * target-delegates.c: Rebuild. | |
895 | * target.c (update_current_target): Don't inherit or default | |
896 | to_get_raw_trace_data. | |
897 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
898 | TARGET_DEFAULT_NORETURN. | |
899 | ||
900 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
901 | ||
902 | * target-delegates.c: Rebuild. | |
903 | * target.c (update_current_target): Don't inherit or default | |
904 | to_upload_trace_state_variables. | |
905 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
906 | Use TARGET_DEFAULT_RETURN. | |
907 | ||
908 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
909 | ||
910 | * target-delegates.c: Rebuild. | |
911 | * target.c (update_current_target): Don't inherit or default | |
912 | to_upload_tracepoints. | |
913 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
914 | TARGET_DEFAULT_RETURN. | |
915 | ||
916 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
917 | ||
918 | * target-delegates.c: Rebuild. | |
919 | * target.c (update_current_target): Don't inherit or default | |
920 | to_save_trace_data. | |
921 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
922 | TARGET_DEFAULT_NORETURN. | |
923 | ||
924 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
925 | ||
926 | * target-delegates.c: Rebuild. | |
927 | * target.c (update_current_target): Don't inherit or default | |
928 | to_get_trace_state_variable_value. | |
929 | * target.h (struct target_ops) | |
930 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
931 | ||
932 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
933 | ||
934 | * target-delegates.c: Rebuild. | |
935 | * target.c (update_current_target): Don't inherit or default | |
936 | to_trace_find. | |
937 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
938 | ||
939 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
940 | ||
941 | * target-delegates.c: Rebuild. | |
942 | * target.c (update_current_target): Don't inherit or default | |
943 | to_trace_stop. | |
944 | * target.h (struct target_ops) <to_trace_stop>: Use | |
945 | TARGET_DEFAULT_NORETURN. | |
946 | ||
947 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
948 | ||
949 | * target-delegates.c: Rebuild. | |
950 | * target.c (update_current_target): Don't inherit or default | |
951 | to_get_tracepoint_status. | |
952 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
953 | TARGET_DEFAULT_NORETURN. | |
954 | ||
955 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
956 | ||
957 | * target-delegates.c: Rebuild. | |
958 | * target.c (update_current_target): Don't inherit or default | |
959 | to_get_trace_status. | |
960 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
961 | TARGET_DEFAULT_RETURN. | |
962 | ||
963 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
964 | ||
965 | * target-delegates.c: Rebuild. | |
966 | * target.c (update_current_target): Don't inherit or default | |
967 | to_trace_start. | |
968 | * target.h (struct target_ops) <to_trace_start>: Use | |
969 | TARGET_DEFAULT_NORETURN. | |
970 | ||
971 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
972 | ||
973 | * target-delegates.c: Rebuild. | |
974 | * target.c (update_current_target): Don't inherit or default | |
975 | to_trace_set_readonly_regions. | |
976 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
977 | Use TARGET_DEFAULT_NORETURN. | |
978 | ||
979 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
980 | ||
981 | * target-delegates.c: Rebuild. | |
982 | * target.c (update_current_target): Don't inherit or default | |
983 | to_disable_tracepoint. | |
984 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
985 | TARGET_DEFAULT_NORETURN. | |
986 | ||
987 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
988 | ||
989 | * target-delegates.c: Rebuild. | |
990 | * target.c (update_current_target): Don't inherit or default | |
991 | to_enable_tracepoint. | |
992 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
993 | TARGET_DEFAULT_NORETURN. | |
994 | ||
995 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
996 | ||
997 | * target-delegates.c: Rebuild. | |
998 | * target.c (update_current_target): Don't inherit or default | |
999 | to_download_trace_state_variable. | |
1000 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
1001 | Use TARGET_DEFAULT_NORETURN. | |
1002 | ||
1003 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1004 | ||
1005 | * target-delegates.c: Rebuild. | |
1006 | * target.c (update_current_target): Don't inherit or default | |
1007 | to_can_download_tracepoint. | |
1008 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
1009 | TARGET_DEFAULT_RETURN. | |
1010 | ||
1011 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1012 | ||
1013 | * target-delegates.c: Rebuild. | |
1014 | * target.c (update_current_target): Don't inherit or default | |
1015 | to_download_tracepoint. | |
1016 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
1017 | TARGET_DEFAULT_NORETURN. | |
1018 | ||
1019 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1020 | ||
1021 | * target-delegates.c: Rebuild. | |
1022 | * target.c (update_current_target): Don't inherit or default | |
1023 | to_trace_init. | |
1024 | * target.h (struct target_ops) <to_trace_init>: Use | |
1025 | TARGET_DEFAULT_RETURN. | |
1026 | ||
1027 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1028 | ||
1029 | * target-delegates.c: Rebuild. | |
1030 | * target.c (update_current_target): Don't inherit or default | |
1031 | to_supports_string_tracing. | |
1032 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
1033 | TARGET_DEFAULT_RETURN. | |
1034 | ||
1035 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1036 | ||
1037 | * target-delegates.c: Rebuild. | |
1038 | * target.c (update_current_target): Don't inherit or default | |
1039 | to_supports_enable_disable_tracepoint. | |
1040 | * target.h (struct target_ops) | |
1041 | <to_supports_enable_disable_tracepoint>: Use | |
1042 | TARGET_DEFAULT_RETURN. | |
1043 | ||
1044 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1045 | ||
1046 | * target-delegates.c: Rebuild. | |
1047 | * target.c (update_current_target): Don't inherit or default | |
1048 | to_supports_multi_process. | |
1049 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
1050 | TARGET_DEFAULT_RETURN. | |
1051 | ||
1052 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1053 | ||
1054 | * target-delegates.c: Rebuild. | |
1055 | * target.c (update_current_target): Don't inherit or default | |
1056 | to_get_ada_task_ptid. | |
1057 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
1058 | TARGET_DEFAULT_FUNC. | |
1059 | ||
1060 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1061 | ||
1062 | * target-delegates.c: Rebuild. | |
1063 | * target.c (update_current_target): Don't inherit or default | |
1064 | to_thread_architecture. | |
1065 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
1066 | TARGET_DEFAULT_FUNC. | |
1067 | ||
1068 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1069 | ||
1070 | * target-delegates.c: Rebuild. | |
1071 | * target.c (update_current_target): Don't inherit or default | |
1072 | to_execution_direction. | |
1073 | * target.h (struct target_ops) <to_execution_direction>: Use | |
1074 | TARGET_DEFAULT_FUNC. | |
1075 | ||
1076 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1077 | ||
1078 | * target-delegates.c: Rebuild. | |
1079 | * target.c (update_current_target): Don't inherit or default | |
1080 | to_can_execute_reverse. | |
1081 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
1082 | TARGET_DEFAULT_RETURN. | |
1083 | (target_can_execute_reverse): Unconditionally delegate. | |
1084 | ||
1085 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1086 | ||
1087 | * target-delegates.c: Rebuild. | |
1088 | * target.c (update_current_target): Don't inherit or default | |
1089 | to_goto_bookmark. | |
1090 | (dummy_goto_bookmark): Remove. | |
1091 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
1092 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
1093 | TARGET_DEFAULT_NORETURN. | |
1094 | ||
1095 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1096 | ||
1097 | * target-delegates.c: Rebuild. | |
1098 | * target.c (update_current_target): Don't inherit or default | |
1099 | to_get_bookmark. | |
1100 | (dummy_get_bookmark): Remove. | |
1101 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
1102 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
1103 | TARGET_DEFAULT_NORETURN | |
1104 | ||
1105 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1106 | ||
1107 | * target-delegates.c: Rebuild. | |
1108 | * target.c (update_current_target): Don't inherit or default | |
1109 | to_make_corefile_notes. | |
1110 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
1111 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
1112 | TARGET_DEFAULT_FUNC. | |
1113 | ||
1114 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1115 | ||
1116 | * target-delegates.c: Rebuild. | |
1117 | * target.c (update_current_target): Don't inherit or default | |
1118 | to_find_memory_regions. | |
1119 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
1120 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
1121 | TARGET_DEFAULT_FUNC. | |
1122 | ||
1123 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1124 | ||
1125 | * target-delegates.c: Rebuild. | |
1126 | * target.c (update_current_target): Don't inherit or default | |
1127 | to_log_command. | |
1128 | * target.h (struct target_ops) <to_log_command>: Use | |
1129 | TARGET_DEFAULT_IGNORE. | |
1130 | (target_log_command): Unconditionally delegate. | |
1131 | ||
1132 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1133 | ||
1134 | * target-delegates.c: Rebuild. | |
1135 | * target.c (update_current_target): Don't inherit or default | |
1136 | to_pid_to_exec_file. | |
1137 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
1138 | TARGET_DEFAULT_RETURN. | |
1139 | ||
1140 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1141 | ||
1142 | * target-delegates.c: Rebuild. | |
1143 | * target.c (update_current_target): Don't inherit or default | |
1144 | to_thread_name. | |
1145 | (target_thread_name): Unconditionally delegate. | |
1146 | * target.h (struct target_ops) <to_thread_name>: Use | |
1147 | TARGET_DEFAULT_RETURN. | |
1148 | ||
1149 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1150 | ||
1151 | * target-delegates.c: Rebuild. | |
1152 | * target.c (update_current_target): Don't inherit or default | |
1153 | to_extra_thread_info. | |
1154 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
1155 | TARGET_DEFAULT_RETURN. | |
1156 | ||
1157 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1158 | ||
1159 | * target-delegates.c: Rebuild. | |
1160 | * target.c (update_current_target): Don't inherit or default | |
1161 | to_has_exited. | |
1162 | * target.h (struct target_ops) <to_has_exited>: Use | |
1163 | TARGET_DEFAULT_RETURN.. | |
1164 | ||
1165 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1166 | ||
1167 | * target-delegates.c: Rebuild. | |
1168 | * target.c (update_current_target): Don't inherit or default | |
1169 | to_set_syscall_catchpoint. | |
1170 | (return_one): Remove. | |
1171 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
1172 | TARGET_DEFAULT_RETURN. | |
1173 | ||
1174 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1175 | ||
1176 | * target-delegates.c: Rebuild. | |
1177 | * target.c (update_current_target): Don't inherit or default | |
1178 | to_insert_exec_catchpoint. | |
1179 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
1180 | TARGET_DEFAULT_RETURN. | |
1181 | ||
1182 | 2014-01-08 Tom Tromey <tromey@redhat.com> | |
1183 | ||
1184 | * target-delegates.c: Rebuild. | |
1185 | * target.c (update_current_target): Don't inherit or default | |
1186 | to_insert_exec_catchpoint. | |
1187 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
1188 | TARGET_DEFAULT_RETURN. | |
1189 | ||
1190 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1191 | ||
1192 | * target-delegates.c: Rebuild. | |
1193 | * target.c (update_current_target): Don't inherit or default | |
1194 | to_remove_vfork_catchpoint. | |
1195 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
1196 | TARGET_DEFAULT_RETURN. | |
1197 | ||
1198 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1199 | ||
1200 | * target-delegates.c: Rebuild. | |
1201 | * target.c (update_current_target): Don't inherit or default | |
1202 | to_insert_vfork_catchpoint. | |
1203 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
1204 | TARGET_DEFAULT_RETURN. | |
1205 | ||
1206 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1207 | ||
1208 | * target-delegates.c: Rebuild. | |
1209 | * target.c (update_current_target): Don't inherit or default | |
1210 | to_remove_fork_catchpoint. | |
1211 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
1212 | TARGET_DEFAULT_RETURN. | |
1213 | ||
1214 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1215 | ||
1216 | * target-delegates.c: Rebuild. | |
1217 | * target.c (update_current_target): Don't inherit or default | |
1218 | to_insert_fork_catchpoint. | |
1219 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
1220 | TARGET_DEFAULT_RETURN. | |
1221 | ||
1222 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1223 | ||
1224 | * target-delegates.c: Rebuild. | |
1225 | * target.c (update_current_target): Don't inherit or default | |
1226 | to_post_startup_inferior. | |
1227 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
1228 | TARGET_DEFAULT_IGNORE. | |
1229 | ||
1230 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1231 | ||
1232 | * target-delegates.c: Rebuild. | |
1233 | * target.c (update_current_target): Don't inherit or default | |
1234 | to_load. | |
1235 | * target.h (struct target_ops) <to_load>: Use | |
1236 | TARGET_DEFAULT_NORETURN. | |
1237 | ||
1238 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1239 | ||
1240 | * target-delegates.c: Rebuild. | |
1241 | * target.c (update_current_target): Don't inherit or default | |
1242 | to_terminal_info. | |
1243 | * target.h (struct target_ops) <to_terminal_info>: Use | |
1244 | TARGET_DEFAULT_FUNC. | |
1245 | ||
1246 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1247 | ||
1248 | * target-delegates.c: Rebuild. | |
1249 | * target.c (update_current_target): Don't inherit or default | |
1250 | to_terminal_save_ours. | |
1251 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
1252 | TARGET_DEFAULT_IGNORE. | |
1253 | ||
1254 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1255 | ||
1256 | * target-delegates.c: Rebuild. | |
1257 | * target.c (update_current_target): Don't inherit or default | |
1258 | to_terminal_ours. | |
1259 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
1260 | TARGET_DEFAULT_IGNORE. | |
1261 | ||
1262 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1263 | ||
1264 | * target-delegates.c: Rebuild. | |
1265 | * target.c (update_current_target): Don't inherit or default | |
1266 | to_terminal_ours_for_output. | |
1267 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
1268 | TARGET_DEFAULT_IGNORE. | |
1269 | ||
1270 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1271 | ||
1272 | * target-delegates.c: Rebuild. | |
1273 | * target.c (update_current_target): Don't inherit or default | |
1274 | to_terminal_inferior. | |
1275 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
1276 | TARGET_DEFAULT_IGNORE. | |
1277 | ||
1278 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1279 | ||
1280 | * target-delegates.c: Rebuild. | |
1281 | * target.c (update_current_target): Don't inherit or default | |
1282 | to_terminal_init. | |
1283 | * target.h (struct target_ops) <to_terminal_init>: Use | |
1284 | TARGET_DEFAULT_IGNORE. | |
1285 | ||
1286 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1287 | ||
1288 | * target-delegates.c: Rebuild. | |
1289 | * target.c (update_current_target): Don't inherit or default | |
1290 | to_can_accel_watchpoint_condition. | |
1291 | * target.h (struct target_ops) | |
1292 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
1293 | ||
1294 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1295 | ||
1296 | * target-delegates.c: Rebuild. | |
1297 | * target.c (update_current_target): Don't inherit or default | |
1298 | to_region_ok_for_hw_watchpoint. | |
1299 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
1300 | Use TARGET_DEFAULT_FUNC. | |
1301 | ||
1302 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1303 | ||
1304 | * target-delegates.c: Rebuild. | |
1305 | * target.c (update_current_target): Don't inherit or default | |
1306 | to_watchpoint_addr_within_range. | |
1307 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
1308 | Use TARGET_DEFAULT_FUNC. | |
1309 | ||
1310 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1311 | ||
1312 | * target-delegates.c: Rebuild. | |
1313 | * target.c (update_current_target): Don't inherit or default | |
1314 | to_remove_watchpoint. | |
1315 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
1316 | TARGET_DEFAULT_NORETURN. | |
1317 | ||
1318 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1319 | ||
1320 | * target-delegates.c: Rebuild. | |
1321 | * target.c (update_current_target): Don't inherit or default | |
1322 | to_insert_watchpoint. | |
1323 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
1324 | TARGET_DEFAULT_RETURN. | |
1325 | ||
1326 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1327 | ||
1328 | * target-delegates.c: Rebuild. | |
1329 | * target.c (update_current_target): Don't inherit or default | |
1330 | to_remove_hw_breakpoint. | |
1331 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
1332 | TARGET_DEFAULT_RETURN. | |
1333 | ||
1334 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1335 | ||
1336 | * target-delegates.c: Rebuild. | |
1337 | * target.c (update_current_target): Don't inherit or default | |
1338 | to_insert_hw_breakpoint. | |
1339 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
1340 | TARGET_DEFAULT_RETURN. | |
1341 | ||
1342 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1343 | ||
1344 | * target-delegates.c: Rebuild. | |
1345 | * target.c (update_current_target): Don't inherit or default | |
1346 | to_can_use_hw_breakpoint. | |
1347 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
1348 | TARGET_DEFAULT_RETURN. | |
1349 | ||
1350 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1351 | ||
1352 | * target-delegates.c: Rebuild. | |
1353 | * target.c (update_current_target): Don't inherit or default | |
1354 | to_files_info. | |
1355 | * target.h (struct target_ops) <to_files_info>: Use | |
1356 | TARGET_DEFAULT_IGNORE. | |
1357 | ||
1358 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1359 | ||
1360 | * target-delegates.c: Rebuild. | |
1361 | * target.c (update_current_target): Don't inherit or default | |
1362 | to_store. | |
1363 | * target.h (struct target_ops) <to_store>: Use | |
1364 | TARGET_DEFAULT_NORETURN. | |
1365 | ||
1366 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1367 | ||
1368 | * target-delegates.c: Rebuild. | |
1369 | * target.c (update_current_target): Don't inherit or default | |
1370 | to_post_attach. | |
1371 | * target.h (struct target_ops) <to_post_attach>: Use | |
1372 | TARGET_DEFAULT_IGNORE. | |
1373 | ||
1374 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1375 | ||
1376 | * target-delegates.c: Rebuild. | |
1377 | * target.c (update_current_target): Don't inherit or default | |
1378 | to_rcmd. | |
1379 | (default_rcmd): New function. | |
1380 | (do_monitor_command): Unconditionally delegate. | |
1381 | * target.h (struct target_ops) <to_rmcd>: Use | |
1382 | TARGET_DEFAULT_FUNC. | |
1383 | ||
1384 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1385 | ||
1386 | * target-delegates.c: Rebuild. | |
1387 | * target.c (init_dummy_target): Don't initialize to_attach. | |
1388 | (target_attach): Unconditionally delegate. | |
1389 | * target.h (struct target_ops) <to_attach>: Use | |
1390 | TARGET_DEFAULT_FUNC. | |
1391 | ||
1392 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1393 | ||
1394 | * target-delegates.c: Rebuild. | |
1395 | * target.c (target_detach): Unconditionally delegate. | |
1396 | (init_dummy_target): Don't initialize to_detach. | |
1397 | * target.h (struct target_ops) <to_detach>: Use | |
1398 | TARGET_DEFAULT_IGNORE. | |
1399 | ||
1400 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1401 | ||
1402 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
1403 | Add argument. | |
1404 | (target_augmented_libraries_svr4_read): Add argument. | |
1405 | * target.c (update_current_target): Update. | |
1406 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
1407 | argument. | |
1408 | ||
1409 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1410 | ||
1411 | * target.h (struct target_ops) <to_call_history_range>: Add | |
1412 | argument. | |
1413 | * target.c (target_call_history_range): Add argument. | |
1414 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
1415 | argument. | |
1416 | (record_btrace_call_history_from): Update. | |
1417 | ||
1418 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1419 | ||
1420 | * target.h (struct target_ops) <to_call_history_from>: Add | |
1421 | argument. | |
1422 | * target.c (target_call_history_from): Add argument. | |
1423 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
1424 | argument. | |
1425 | ||
1426 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1427 | ||
1428 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
1429 | * target.c (target_call_history): Add argument. | |
1430 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
1431 | argument. | |
1432 | ||
1433 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1434 | ||
1435 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
1436 | argument. | |
1437 | * target.c (target_insn_history_range): Add argument. | |
1438 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
1439 | argument. | |
1440 | (record_btrace_insn_history_from): Update. | |
1441 | ||
1442 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1443 | ||
1444 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
1445 | argument. | |
1446 | * target.c (target_insn_history_from): Add argument. | |
1447 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
1448 | argument. | |
1449 | ||
1450 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1451 | ||
1452 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
1453 | * target.c (target_insn_history): Add argument. | |
1454 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
1455 | argument. | |
1456 | ||
1457 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1458 | ||
1459 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
1460 | * target.c (target_goto_record): Add argument. | |
1461 | * record-full.c (record_full_goto): Add 'self' argument. | |
1462 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
1463 | ||
1464 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1465 | ||
1466 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
1467 | * target.c (target_goto_record_end): Add argument. | |
1468 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
1469 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
1470 | ||
1471 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1472 | ||
1473 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
1474 | argument. | |
1475 | * target.c (target_goto_record_begin): Add argument. | |
1476 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
1477 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
1478 | argument. | |
1479 | ||
1480 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1481 | ||
1482 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
1483 | argument. | |
1484 | * target.c (target_record_is_replaying): Add argument. | |
1485 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
1486 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
1487 | argument. | |
1488 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
1489 | (record_btrace_prepare_to_store, record_btrace_resume) | |
1490 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
1491 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
1492 | Update. | |
1493 | ||
1494 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1495 | ||
1496 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
1497 | * target.c (target_delete_record): Add argument. | |
1498 | * record-full.c (record_full_delete): Add 'self' argument. | |
1499 | ||
1500 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1501 | ||
1502 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
1503 | * target.c (target_save_record): Add argument. | |
1504 | * record-full.c (record_full_save): Add 'self' argument. | |
1505 | (record_full_save): Add 'self' argument. | |
1506 | ||
1507 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1508 | ||
1509 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
1510 | * target.c (target_info_record): Add argument. | |
1511 | * record.c (info_record_command): Add argument. | |
1512 | * record-full.c (record_full_info): Add 'self' argument. | |
1513 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
1514 | ||
1515 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1516 | ||
1517 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
1518 | * target.c (target_stop_recording): Add argument. | |
1519 | * record.c (record_stop): Add argument. | |
1520 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
1521 | argument. | |
1522 | ||
1523 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1524 | ||
1525 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
1526 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
1527 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
1528 | argument. | |
1529 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
1530 | (_initialize_amd64_linux_nat): Use it. | |
1531 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
1532 | (_initialize_i386_linux_nat): Use it. | |
1533 | ||
1534 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1535 | ||
1536 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
1537 | * target.c (target_teardown_btrace): Add argument. | |
1538 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
1539 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
1540 | argument. | |
1541 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
1542 | argument. | |
1543 | ||
1544 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1545 | ||
1546 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
1547 | * target.c (target_disable_btrace): Add argument. | |
1548 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
1549 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
1550 | argument. | |
1551 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
1552 | argument. | |
1553 | ||
1554 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1555 | ||
1556 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
1557 | * target.c (target_enable_btrace): Add argument. | |
1558 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
1559 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
1560 | argument. | |
1561 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
1562 | argument. | |
1563 | ||
1564 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1565 | ||
1566 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
1567 | (target_can_use_agent): Add argument. | |
1568 | * target.c (update_current_target): Update. | |
1569 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
1570 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
1571 | ||
1572 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1573 | ||
1574 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
1575 | (target_use_agent): Add argument. | |
1576 | * target.c (update_current_target): Update. | |
1577 | * remote.c (remote_use_agent): Add 'self' argument. | |
1578 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
1579 | ||
1580 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1581 | ||
1582 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
1583 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
1584 | (target_traceframe_info): Add argument. | |
1585 | * target.c (update_current_target): Update. | |
1586 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
1587 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
1588 | ||
1589 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1590 | ||
1591 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
1592 | argument. | |
1593 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
1594 | 'self' argument. | |
1595 | * target.c (update_current_target): Update. | |
1596 | * remote.c (struct target_ops) | |
1597 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
1598 | * linux-nat.c (struct target_ops) | |
1599 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
1600 | ||
1601 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1602 | ||
1603 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
1604 | Add argument. | |
1605 | (target_static_tracepoint_marker_at): Add argument. | |
1606 | * target.c (update_current_target): Update. | |
1607 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
1608 | argument. | |
1609 | ||
1610 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1611 | ||
1612 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
1613 | (target_set_permissions): Add argument. | |
1614 | * target.c (update_current_target): Update. | |
1615 | * remote.c (remote_set_permissions): Add 'self' argument. | |
1616 | (remote_start_remote): Update. | |
1617 | ||
1618 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1619 | ||
1620 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
1621 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
1622 | (target_get_tib_address): Add argument. | |
1623 | * target.c (update_current_target): Update. | |
1624 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
1625 | ||
1626 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1627 | ||
1628 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
1629 | (target_set_trace_notes): Add argument. | |
1630 | * target.c (update_current_target): Update. | |
1631 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
1632 | ||
1633 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1634 | ||
1635 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
1636 | argument. | |
1637 | (target_set_trace_buffer_size): Add argument. | |
1638 | * target.c (update_current_target): Update. | |
1639 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
1640 | ||
1641 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1642 | ||
1643 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
1644 | argument. | |
1645 | (target_set_circular_trace_buffer): Add argument. | |
1646 | * target.c (update_current_target): Update. | |
1647 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
1648 | argument. | |
1649 | ||
1650 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1651 | ||
1652 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
1653 | argument. | |
1654 | (target_set_disconnected_tracing): Add argument. | |
1655 | * target.c (update_current_target): Update. | |
1656 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
1657 | ||
1658 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1659 | ||
1660 | * target.h (struct target_ops) | |
1661 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
1662 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
1663 | * target.c (update_current_target): Update. | |
1664 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
1665 | argument. | |
1666 | ||
1667 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1668 | ||
1669 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
1670 | argument. | |
1671 | (target_get_raw_trace_data): Add argument. | |
1672 | * target.c (update_current_target): Update. | |
1673 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
1674 | ||
1675 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1676 | ||
1677 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
1678 | Add argument. | |
1679 | (target_upload_trace_state_variables): Add argument. | |
1680 | * target.c (update_current_target): Update. | |
1681 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
1682 | argument. | |
1683 | (remote_start_remote): Update. | |
1684 | ||
1685 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1686 | ||
1687 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
1688 | argument. | |
1689 | (target_upload_tracepoints): Add argument. | |
1690 | * target.c (update_current_target): Update. | |
1691 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
1692 | (remote_start_remote): Update. | |
1693 | ||
1694 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1695 | ||
1696 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
1697 | (target_save_trace_data): Add argument. | |
1698 | * target.c (update_current_target): Update. | |
1699 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
1700 | ||
1701 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1702 | ||
1703 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
1704 | argument. | |
1705 | * target.h (struct target_ops) | |
1706 | <to_get_trace_state_variable_value>: Add argument. | |
1707 | (target_get_trace_state_variable_value): Add argument. | |
1708 | * target.c (update_current_target): Update. | |
1709 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
1710 | argument. | |
1711 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
1712 | ||
1713 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1714 | ||
1715 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
1716 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
1717 | (target_trace_find): Add argument. | |
1718 | * target.c (update_current_target): Update. | |
1719 | * remote.c (remote_trace_find): Add 'self' argument. | |
1720 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
1721 | ||
1722 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1723 | ||
1724 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
1725 | (target_trace_stop): Add argument. | |
1726 | * target.c (update_current_target): Update. | |
1727 | * remote.c (remote_trace_stop): Add 'self' argument. | |
1728 | ||
1729 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1730 | ||
1731 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
1732 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
1733 | argument. | |
1734 | (target_get_tracepoint_status): Add argument. | |
1735 | * target.c (update_current_target): Update. | |
1736 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
1737 | ||
1738 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1739 | ||
1740 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
1741 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
1742 | argument. | |
1743 | (target_get_trace_status): Add argument. | |
1744 | * target.c (update_current_target): Update. | |
1745 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
1746 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
1747 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
1748 | ||
1749 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1750 | ||
1751 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
1752 | (target_trace_start): Add argument. | |
1753 | * target.c (update_current_target): Update. | |
1754 | * remote.c (remote_trace_start): Add 'self' argument. | |
1755 | ||
1756 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1757 | ||
1758 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
1759 | Add argument. | |
1760 | (target_trace_set_readonly_regions): Add argument. | |
1761 | * target.c (update_current_target): Update. | |
1762 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
1763 | argument. | |
1764 | ||
1765 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1766 | ||
1767 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
1768 | argument. | |
1769 | (target_disable_tracepoint): Add argument. | |
1770 | * target.c (update_current_target): Update. | |
1771 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
1772 | ||
1773 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1774 | ||
1775 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
1776 | argument. | |
1777 | (target_enable_tracepoint): Add argument. | |
1778 | * target.c (update_current_target): Update. | |
1779 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
1780 | ||
1781 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1782 | ||
1783 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
1784 | Add argument. | |
1785 | (target_download_trace_state_variable): Add argument. | |
1786 | * target.c (update_current_target): Update. | |
1787 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
1788 | argument. | |
1789 | ||
1790 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1791 | ||
1792 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
1793 | argument. | |
1794 | (target_can_download_tracepoint): Add argument. | |
1795 | * target.c (update_current_target): Update. | |
1796 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
1797 | ||
1798 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1799 | ||
1800 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
1801 | argument. | |
1802 | (target_download_tracepoint): Add argument. | |
1803 | * target.c (update_current_target): Update. | |
1804 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
1805 | ||
1806 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1807 | ||
1808 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
1809 | (target_trace_init): Add argument. | |
1810 | * target.c (update_current_target): Update. | |
1811 | * remote.c (remote_trace_init): Add 'self' argument. | |
1812 | ||
1813 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1814 | ||
1815 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
1816 | * target.c (target_fileio_readlink): Add argument. | |
1817 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
1818 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
1819 | ||
1820 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1821 | ||
1822 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
1823 | * target.c (target_fileio_unlink): Add argument. | |
1824 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
1825 | (remote_file_delete): Update. | |
1826 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
1827 | ||
1828 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1829 | ||
1830 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
1831 | * target.c (target_fileio_close): Add argument. | |
1832 | * remote.c (remote_hostio_close): Add 'self' argument. | |
1833 | (remote_hostio_close_cleanup): Update. | |
1834 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
1835 | Update. | |
1836 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
1837 | ||
1838 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1839 | ||
1840 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
1841 | * target.c (target_fileio_pread): Add argument. | |
1842 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
1843 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
1844 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
1845 | ||
1846 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1847 | ||
1848 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
1849 | * target.c (target_fileio_pwrite): Add argument. | |
1850 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
1851 | (remote_file_put): Update. | |
1852 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
1853 | ||
1854 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1855 | ||
1856 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
1857 | * target.c (target_fileio_open): Add argument. | |
1858 | * remote.c (remote_hostio_open): Add 'self' argument. | |
1859 | (remote_bfd_iovec_open): Add 'self' argument. | |
1860 | (remote_file_put): Add 'self' argument. | |
1861 | (remote_file_get): Add 'self' argument. | |
1862 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
1863 | ||
1864 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1865 | ||
1866 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
1867 | Add argument. | |
1868 | (target_can_run_breakpoint_commands): Add argument. | |
1869 | * target.c (update_current_target): Update. | |
1870 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
1871 | argument. | |
1872 | (remote_insert_breakpoint): Add 'self' argument. | |
1873 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
1874 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
1875 | ||
1876 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1877 | ||
1878 | * target.h (struct target_ops) | |
1879 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
1880 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
1881 | argument. | |
1882 | * target.c (update_current_target): Update. | |
1883 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
1884 | argument. | |
1885 | (remote_insert_breakpoint): Add 'self' argument. | |
1886 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
1887 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
1888 | ||
1889 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1890 | ||
1891 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
1892 | argument. | |
1893 | (target_supports_string_tracing): Add argument. | |
1894 | * target.c (update_current_target): Update. | |
1895 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
1896 | ||
1897 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1898 | ||
1899 | * target.h (struct target_ops) | |
1900 | <to_supports_disable_randomization>: Add argument. | |
1901 | * target.c (find_default_supports_disable_randomization): Add | |
1902 | argument. | |
1903 | (target_supports_disable_randomization): Add argument. | |
1904 | (find_default_supports_disable_randomization): Add 'self' | |
1905 | argument. | |
1906 | * remote.c (extended_remote_supports_disable_randomization): Add | |
1907 | 'self' argument. | |
1908 | (remote_supports_disable_randomization): Add 'self' argument. | |
1909 | (extended_remote_create_inferior): Update. | |
1910 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
1911 | 'self' argument. | |
1912 | ||
1913 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1914 | ||
1915 | * target.h (struct target_ops) | |
1916 | <to_supports_enable_disable_tracepoint>: Add argument. | |
1917 | (target_supports_enable_disable_tracepoint): Add argument. | |
1918 | * target.c (update_current_target): Update. | |
1919 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
1920 | argument. | |
1921 | ||
1922 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1923 | ||
1924 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
1925 | argument. | |
1926 | (target_supports_multi_process): Add argument. | |
1927 | * target.c (update_current_target): Update. | |
1928 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
1929 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
1930 | argument. | |
1931 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
1932 | argument. | |
1933 | ||
1934 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1935 | ||
1936 | * target.h (struct target_ops) <to_execution_direction>: Add | |
1937 | argument. | |
1938 | (target_execution_direction): Add argument. | |
1939 | * target.c (default_execution_direction): Add 'self' argument. | |
1940 | * record-full.c (record_full_execution_direction): Add 'self' | |
1941 | argument. | |
1942 | ||
1943 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1944 | ||
1945 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
1946 | argument. | |
1947 | (target_can_execute_reverse): Add argument. | |
1948 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
1949 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
1950 | argument. | |
1951 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
1952 | argument. | |
1953 | ||
1954 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1955 | ||
1956 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
1957 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
1958 | argument. | |
1959 | (target_get_ada_task_ptid): Add argument. | |
1960 | * target.c (update_current_target): Update. | |
1961 | (default_get_ada_task_ptid): Add 'self' argument. | |
1962 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
1963 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
1964 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
1965 | argument. | |
1966 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
1967 | argument. | |
1968 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
1969 | argument. | |
1970 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
1971 | argument. | |
1972 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
1973 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
1974 | argument. | |
1975 | ||
1976 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1977 | ||
1978 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
1979 | (target_goto_bookmark): Add argument. | |
1980 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
1981 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
1982 | ||
1983 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1984 | ||
1985 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
1986 | (target_get_bookmark): Add argument. | |
1987 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
1988 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
1989 | ||
1990 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
1991 | ||
1992 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
1993 | argument. | |
1994 | (target_make_corefile_notes): Add argument. | |
1995 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
1996 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
1997 | (procfs_make_note_section): Add 'self' argument. | |
1998 | (procfs_make_note_section): Add 'self' argument. | |
1999 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
2000 | argument. | |
2001 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
2002 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
2003 | * exec.c (exec_make_note_section): Add 'self' argument. | |
2004 | (exec_make_note_section): Add 'self' argument. | |
2005 | ||
2006 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2007 | ||
2008 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
2009 | argument. | |
2010 | (target_find_memory_regions): Add argument. | |
2011 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
2012 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
2013 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
2014 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
2015 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
2016 | * exec. (exec_do_find_memory_regions): New global. | |
2017 | (exec_set_find_memory_regions): Rewrite. | |
2018 | (exec_find_memory_regions): New function. | |
2019 | (init_exec_ops): Use exec_find_memory_regions. | |
2020 | ||
2021 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2022 | ||
2023 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
2024 | argument. | |
2025 | * target.c (find_default_supports_non_stop): Add argument. | |
2026 | (target_supports_non_stop): Add argument. | |
2027 | (find_default_supports_non_stop): Add 'self' argument. | |
2028 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
2029 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
2030 | ||
2031 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2032 | ||
2033 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
2034 | (target_log_command): Add argument. | |
2035 | * serial.h (serial_log_command): Add 'self' argument. | |
2036 | * serial.c (serial_log_command): Add 'self' argument. | |
2037 | ||
2038 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2039 | ||
2040 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
2041 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
2042 | argument. | |
2043 | (target_pid_to_exec_file): Add argument. | |
2044 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
2045 | (update_current_target): Update. | |
2046 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
2047 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
2048 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
2049 | (linux_handle_extended_wait): Update. | |
2050 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
2051 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
2052 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
2053 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
2054 | ||
2055 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2056 | ||
2057 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
2058 | (target_rcmd): Add argument. | |
2059 | * target.c (debug_to_rcmd): Add argument. | |
2060 | (update_current_target, do_monitor_command): Update. | |
2061 | * remote.c (remote_rcmd): Add 'self' argument. | |
2062 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
2063 | ||
2064 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2065 | ||
2066 | * windows-nat.c (windows_stop): Add 'self' argument. | |
2067 | * target.h (struct target_ops) <to_stop>: Add argument. | |
2068 | * target.c (target_stop): Add argument. | |
2069 | (debug_to_stop): Add argument. | |
2070 | (update_current_target): Update. | |
2071 | * remote.c (remote_stop): Add 'self' argument. | |
2072 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
2073 | (gdbsim_cntrl_c): Update. | |
2074 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
2075 | * procfs.c (procfs_stop): Add 'self' argument. | |
2076 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
2077 | * monitor.c (monitor_stop): Add 'self' argument. | |
2078 | (monitor_open): Update. | |
2079 | * linux-nat.c (linux_nat_stop): Add argument. | |
2080 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
2081 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
2082 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
2083 | ||
2084 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2085 | ||
2086 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
2087 | * target.c (target_thread_name): Add argument. | |
2088 | (update_current_target): Update. | |
2089 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
2090 | ||
2091 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2092 | ||
2093 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
2094 | argument. | |
2095 | (target_extra_thread_info): Add argument. | |
2096 | * target.c (update_current_target): Update. | |
2097 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
2098 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
2099 | argument. | |
2100 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
2101 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
2102 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
2103 | argument. | |
2104 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
2105 | argument. | |
2106 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
2107 | argument. | |
2108 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
2109 | argument. | |
2110 | ||
2111 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2112 | ||
2113 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
2114 | * target.c (target_program_signals): Add argument. | |
2115 | * remote.c (remote_program_signals): Add 'self' argument. | |
2116 | ||
2117 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2118 | ||
2119 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
2120 | * target.c (target_pass_signals): Add argument. | |
2121 | * remote.c (remote_pass_signals): Add 'self' argument. | |
2122 | (remote_start_remote): Update. | |
2123 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
2124 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
2125 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
2126 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
2127 | ||
2128 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2129 | ||
2130 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
2131 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
2132 | (target_can_run): Add argument. | |
2133 | * target.c (debug_to_can_run): Add argument. | |
2134 | (update_current_target): Update. | |
2135 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
2136 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
2137 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
2138 | ||
2139 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2140 | ||
2141 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
2142 | (target_has_exited): Add argument. | |
2143 | * target.c (debug_to_has_exited): Add argument. | |
2144 | (update_current_target): Update. | |
2145 | ||
2146 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2147 | ||
2148 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
2149 | argument. | |
2150 | (target_set_syscall_catchpoint): Add argument. | |
2151 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
2152 | argument. | |
2153 | * target.c (update_current_target): Update. | |
2154 | ||
2155 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2156 | ||
2157 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
2158 | argument. | |
2159 | (target_remove_exec_catchpoint): Add argument. | |
2160 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
2161 | (update_current_target): Update. | |
2162 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
2163 | argument. | |
2164 | ||
2165 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2166 | ||
2167 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
2168 | argument. | |
2169 | (target_insert_exec_catchpoint): Add argument. | |
2170 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
2171 | (update_current_target): Update. | |
2172 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
2173 | argument. | |
2174 | ||
2175 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2176 | ||
2177 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
2178 | argument. | |
2179 | (target_remove_vfork_catchpoint): Add argument. | |
2180 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
2181 | (update_current_target): Update. | |
2182 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
2183 | argument. | |
2184 | ||
2185 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2186 | ||
2187 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
2188 | argument. | |
2189 | (target_insert_vfork_catchpoint): Add argument. | |
2190 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
2191 | (update_current_target): Update. | |
2192 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
2193 | argument. | |
2194 | ||
2195 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2196 | ||
2197 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
2198 | argument. | |
2199 | (target_remove_fork_catchpoint): Add argument. | |
2200 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
2201 | (update_current_target): Update. | |
2202 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
2203 | argument. | |
2204 | ||
2205 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2206 | ||
2207 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
2208 | argument. | |
2209 | (target_insert_fork_catchpoint): Add argument. | |
2210 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
2211 | (update_current_target): Update. | |
2212 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
2213 | argument. | |
2214 | ||
2215 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2216 | ||
2217 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
2218 | argument. | |
2219 | (target_post_startup_inferior): Add argument. | |
2220 | * target.c (debug_to_post_startup_inferior): Add argument. | |
2221 | (update_current_target): Update. | |
2222 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
2223 | argument. | |
2224 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
2225 | argument. | |
2226 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
2227 | argument. | |
2228 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
2229 | argument. | |
2230 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
2231 | 'self' argument. | |
2232 | (super_post_startup_inferior): Likewise. | |
2233 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
2234 | 'self' argument. | |
2235 | (super_post_startup_inferior): Likewise. | |
2236 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
2237 | Add 'self' argument. | |
2238 | (super_post_startup_inferior): Likewise. | |
2239 | ||
2240 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2241 | ||
2242 | * target.h (struct target_ops) <to_load>: Add argument. | |
2243 | * target.c (target_load): Add argument. | |
2244 | (debug_to_load): Add argument. | |
2245 | (update_current_target): Update. | |
2246 | * remote.c (remote_load): Add 'self' argument. | |
2247 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
2248 | * remote-mips.c (mips_load): Add 'self' argument. | |
2249 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
2250 | * monitor.c (monitor_load): Add 'self' argument. | |
2251 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
2252 | ||
2253 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2254 | ||
2255 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
2256 | (target_terminal_info): Add argument. | |
2257 | * target.c (debug_to_terminal_info): Add argument. | |
2258 | (default_terminal_info): Likewise. | |
2259 | * inflow.c (child_terminal_info): Add 'self' argument. | |
2260 | * inferior.h (child_terminal_info): Add 'self' argument. | |
2261 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
2262 | ||
2263 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2264 | ||
2265 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
2266 | argument. | |
2267 | (target_terminal_save_ours): Add argument. | |
2268 | * target.c (debug_to_terminal_save_ours): Add argument. | |
2269 | (update_current_target): Update. | |
2270 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
2271 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
2272 | ||
2273 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2274 | ||
2275 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
2276 | (target_terminal_ours): Add argument. | |
2277 | * target.c (debug_to_terminal_ours): Add argument. | |
2278 | (update_current_target): Update. | |
2279 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
2280 | (remote_close): Update. | |
2281 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
2282 | * inflow.c (terminal_ours): Add 'self' argument. | |
2283 | * inferior.h (terminal_ours): Add 'self' argument. | |
2284 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
2285 | ||
2286 | 2014-02-19 Pedro Alves <palves@redhat.com> | |
2287 | Tom Tromey <tromey@redhat.com> | |
2288 | ||
2289 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
2290 | argument. | |
2291 | (target_terminal_ours_for_output): Add argument. | |
2292 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
2293 | (update_current_target): Update. | |
2294 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
2295 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
2296 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
2297 | ||
2298 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2299 | ||
2300 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
2301 | argument. | |
2302 | * target.c (target_terminal_inferior): Add argument. | |
2303 | (update_current_target): Update. | |
2304 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
2305 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
2306 | * inflow.c (terminal_inferior): Add 'self' argument. | |
2307 | * inferior.h (terminal_inferior): Add 'self' argument. | |
2308 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
2309 | (go32_terminal_inferior): Add 'self' argument. | |
2310 | ||
2311 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2312 | ||
2313 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
2314 | (target_terminal_init): Add argument. | |
2315 | * target.c (debug_to_terminal_init): Add argument. | |
2316 | (update_current_target): Update. | |
2317 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
2318 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
2319 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
2320 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
2321 | ||
2322 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2323 | ||
2324 | * target.h (struct target_ops) | |
2325 | <to_can_accel_watchpoint_condition>: Add argument. | |
2326 | (target_can_accel_watchpoint_condition): Add argument. | |
2327 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
2328 | argument. | |
2329 | (update_current_target): Update. | |
2330 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
2331 | 'self' argument. | |
2332 | ||
2333 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2334 | ||
2335 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
2336 | Add argument. | |
2337 | (target_region_ok_for_hw_watchpoint): Add argument. | |
2338 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
2339 | (default_region_ok_for_hw_watchpoint): Add argument. | |
2340 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
2341 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
2342 | argument. | |
2343 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
2344 | argument. | |
2345 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
2346 | argument. | |
2347 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
2348 | 'self' argument. | |
2349 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
2350 | 'self' argument. | |
2351 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
2352 | 'self' argument. | |
2353 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
2354 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
2355 | 'self' argument. | |
2356 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
2357 | Add 'self' argument. | |
2358 | ||
2359 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2360 | ||
2361 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
2362 | argument. | |
2363 | (target_insert_watchpoint): Add argument. | |
2364 | * target.c (debug_to_insert_watchpoint): Add argument. | |
2365 | (update_current_target): Update. | |
2366 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
2367 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
2368 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
2369 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
2370 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
2371 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
2372 | argument. | |
2373 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
2374 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
2375 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
2376 | argument. | |
2377 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
2378 | argument. | |
2379 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
2380 | argument. | |
2381 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
2382 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
2383 | argument. | |
2384 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
2385 | 'self' argument. | |
2386 | ||
2387 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2388 | ||
2389 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
2390 | argument. | |
2391 | (target_remove_watchpoint): Add argument. | |
2392 | * target.c (debug_to_remove_watchpoint): Add argument. | |
2393 | (update_current_target): Update. | |
2394 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
2395 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
2396 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
2397 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
2398 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
2399 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
2400 | argument. | |
2401 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
2402 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
2403 | argument. | |
2404 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
2405 | argument. | |
2406 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
2407 | argument. | |
2408 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
2409 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
2410 | argument. | |
2411 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
2412 | 'self' argument. | |
2413 | ||
2414 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2415 | ||
2416 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
2417 | argument. | |
2418 | (target_remove_hw_breakpoint): Add argument. | |
2419 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
2420 | (update_current_target): Update. | |
2421 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
2422 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
2423 | argument. | |
2424 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
2425 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
2426 | argument. | |
2427 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
2428 | 'self' argument. | |
2429 | ||
2430 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2431 | ||
2432 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
2433 | argument. | |
2434 | (target_insert_hw_breakpoint): Add argument. | |
2435 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
2436 | (update_current_target): Update. | |
2437 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
2438 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
2439 | argument. | |
2440 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
2441 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
2442 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
2443 | argument. | |
2444 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
2445 | 'self' argument. | |
2446 | ||
2447 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2448 | ||
2449 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
2450 | argument. | |
2451 | (target_can_use_hardware_watchpoint): Add argument. | |
2452 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
2453 | (update_current_target): Update. | |
2454 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
2455 | argument. | |
2456 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
2457 | argument. | |
2458 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
2459 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
2460 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
2461 | argument. | |
2462 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
2463 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
2464 | argument. | |
2465 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
2466 | argument. | |
2467 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
2468 | argument. | |
2469 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
2470 | argument. | |
2471 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
2472 | argument. | |
2473 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
2474 | argument. | |
2475 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
2476 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
2477 | argument. | |
2478 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
2479 | 'self' argument. | |
2480 | ||
2481 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2482 | ||
2483 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
2484 | (target_post_attach): Add argument. | |
2485 | * target.c (debug_to_post_attach): Add argument. | |
2486 | (update_current_target): Update. | |
2487 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
2488 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
2489 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
2490 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
2491 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
2492 | ||
2493 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2494 | ||
2495 | * windows-nat.c (windows_close): Add 'self' argument. | |
2496 | * tracepoint.c (tfile_close): Add 'self' argument. | |
2497 | * target.h (struct target_ops) <to_close>: Add argument. | |
2498 | * target.c (target_close): Add argument. | |
2499 | (update_current_target): Update. | |
2500 | * remote.c (remote_close): Add 'self' argument. | |
2501 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
2502 | * remote-mips.c (mips_close): Add 'self' argument. | |
2503 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
2504 | * record-full.c (record_full_close): Add 'self' argument. | |
2505 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
2506 | * monitor.h (monitor_close): Add 'self' argument. | |
2507 | * monitor.c (monitor_close): Add 'self' argument. | |
2508 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
2509 | * linux-nat.c (linux_nat_close): Add argument. | |
2510 | * go32-nat.c (go32_close): Add 'self' argument. | |
2511 | * exec.c (exec_close_1): Add 'self' argument. | |
2512 | * ctf.c (ctf_close): Add 'self' argument. | |
2513 | * corelow.c (core_close): Add 'self' argument. | |
2514 | (core_close_cleanup): Update. | |
2515 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
2516 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
2517 | ||
2518 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2519 | ||
2520 | * remote.c (remote_load): New function. | |
2521 | (init_remote_ops): Use it. | |
2522 | ||
2523 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2524 | ||
2525 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
2526 | argument. | |
2527 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
2528 | * remote.c (remote_supports_btrace): Add "self" argument. | |
2529 | * target-delegates.c: Rebuild. | |
2530 | * target.c (target_supports_btrace): Remove. | |
2531 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
2532 | target_ops argument. | |
2533 | (target_supports_btrace): New define. | |
2534 | ||
2535 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2536 | ||
2537 | * record-full.c (record_full_beneath_to_resume_ops) | |
2538 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
2539 | (record_full_beneath_to_wait) | |
2540 | (record_full_beneath_to_store_registers_ops) | |
2541 | (record_full_beneath_to_store_registers) | |
2542 | (record_full_beneath_to_xfer_partial_ops) | |
2543 | (record_full_beneath_to_xfer_partial) | |
2544 | (record_full_beneath_to_insert_breakpoint_ops) | |
2545 | (record_full_beneath_to_insert_breakpoint) | |
2546 | (record_full_beneath_to_remove_breakpoint_ops) | |
2547 | (record_full_beneath_to_remove_breakpoint) | |
2548 | (record_full_beneath_to_stopped_by_watchpoint) | |
2549 | (record_full_beneath_to_stopped_data_address) | |
2550 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
2551 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
2552 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
2553 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
2554 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
2555 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
2556 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
2557 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
2558 | (record_full_resume, record_full_wait_1) | |
2559 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
2560 | (record_full_store_registers, record_full_xfer_partial) | |
2561 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
2562 | (record_full_async, record_full_core_xfer_partial): Use target | |
2563 | delegation. | |
2564 | * target-delegates.c: Rebuild. | |
2565 | * target.c (current_xfer_partial): Remove. | |
2566 | (update_current_target): Do not INHERIT or de_fault | |
2567 | to_insert_breakpoint, to_remove_breakpoint, | |
2568 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
2569 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
2570 | (default_xfer_partial): Simplify. | |
2571 | (current_xfer_partial): Remove. | |
2572 | (target_wait, target_resume): Simplify. | |
2573 | (find_default_can_async_p, find_default_is_async_p): Update. | |
2574 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
2575 | to_xfer_partial, to_stopped_by_watchpoint, | |
2576 | to_stopped_data_address. | |
2577 | (target_store_registers): Simplify. | |
2578 | (forward_target_remove_breakpoint) | |
2579 | (forward_target_insert_breakpoint): Remove. | |
2580 | (target_remove_breakpoint, target_insert_breakpoint) | |
2581 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
2582 | * target.h (struct target_ops) <to_resume, to_wait, | |
2583 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
2584 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
2585 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
2586 | markup. | |
2587 | (forward_target_remove_breakpoint) | |
2588 | (forward_target_insert_breakpoint): Remove. | |
2589 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
2590 | directly. | |
2591 | (record_btrace_insert_breakpoint): Delegate directly. | |
2592 | ||
2593 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2594 | ||
2595 | PR build/7701: | |
2596 | * target-delegates.c: New file. | |
2597 | * target.c: Include target-delegates.c. | |
2598 | (init_dummy_target): Call install_dummy_methods. | |
2599 | (complete_target_initialization): Call install_delegators. | |
2600 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
2601 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
2602 | * make-target-delegates: New file. | |
2603 | ||
2604 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2605 | ||
2606 | * record.c (find_record_target): Use find_target_at. | |
2607 | * target.c (find_target_at): New function. | |
2608 | * target.h (find_target_at): Declare. | |
2609 | ||
2610 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
2611 | ||
2612 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
2613 | Add 'ops' argument. | |
2614 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
2615 | 'ops' argument. | |
2616 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
2617 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
2618 | 'ops' argument. | |
2619 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
2620 | argument. | |
2621 | * linux-nat.c (save_sigtrap): Update. | |
2622 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
2623 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
2624 | (linux_nat_close): Update. | |
2625 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
2626 | argument. | |
2627 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
2628 | argument. | |
2629 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
2630 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
2631 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
2632 | (tmp_to_async): Add 'ops' argument. | |
2633 | (record_full_stopped_by_watchpoint, record_full_async) | |
2634 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
2635 | argument. | |
2636 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
2637 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
2638 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
2639 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
2640 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
2641 | (remote_stopped_data_address): Update. | |
2642 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
2643 | * target.c (update_current_target) | |
2644 | (find_default_can_async_p, find_default_is_async_p): Update. | |
2645 | (init_dummy_target): Update. | |
2646 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
2647 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
2648 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
2649 | (target_can_async_p, target_is_async_p, target_async) | |
2650 | (target_stopped_by_watchpoint): Update. | |
2651 | ||
2652 | 2014-02-19 Yao Qi <yao@codesourcery.com> | |
2653 | ||
2654 | PR gdb/16220 | |
2655 | * gdbarch.sh: Remove startup_gdbarch. | |
2656 | * gdbarch.c: Regenerated. | |
2657 | * gdbarch.h: Likewise. | |
2658 | ||
2659 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> | |
2660 | ||
2661 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
2662 | (rl78_return_value): Add g10 support. | |
2663 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
2664 | g10. | |
2665 | ||
2666 | 2014-02-17 Doug Evans <xdje42@gmail.com> | |
2667 | ||
2668 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
2669 | (SUBDIR_GUILE_SRCS): Ditto. | |
2670 | (scm-gsmob.o): Ditto. | |
2671 | ||
2672 | 2014-02-17 Yao Qi <yao@codesourcery.com> | |
2673 | ||
2674 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
2675 | ||
2676 | 2014-02-17 Yao Qi <yao@codesourcery.com> | |
2677 | ||
2678 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
2679 | mach_msg_type_number_t. | |
2680 | (gnu_write_inferior): Likewise. | |
2681 | ||
2682 | 2014-02-17 Yao Qi <yao@codesourcery.com> | |
2683 | ||
2684 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
2685 | in format string. | |
2686 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
2687 | (inf_validate_procs, inf_signal): Likewise. | |
2688 | (S_exception_raise_request): Likewise. | |
2689 | (do_mach_notify_dead_name): Likewise. | |
2690 | (steal_exc_port): Likewise. | |
2691 | (gnu_read_inferior): Change 'copy_count''s type to | |
2692 | mach_msg_type_number_t. | |
2693 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
2694 | format string. | |
2695 | ||
2696 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> | |
2697 | ||
2698 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit | |
2699 | flag. Adjust all users; in particular... | |
2700 | (gnu_wait): ..., don't decrement its value in here... | |
2701 | (gnu_create_inferior): ..., and instead set the flag in here, | |
2702 | around the startup_inferior call, and call that one with | |
2703 | START_INFERIOR_TRAPS_EXPECTED. | |
2704 | ||
2705 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... | |
2706 | (ILL_RPC): ... new macro. | |
2707 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
2708 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
2709 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
2710 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
2711 | functions with ILL_RPC macro. | |
2712 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
2713 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
2714 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
2715 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
2716 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
2717 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
2718 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
2719 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
2720 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
2721 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
2722 | (S_proc_get_code_reply): New stub functions, generated with | |
2723 | ILL_RPC macro. | |
2724 | ||
2725 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet | |
2726 | collected the type check structures. | |
2727 | ||
2728 | * reply_mig_hack.awk: Don't expect to see the auto keyword. | |
2729 | ||
2730 | 2014-02-14 Doug Evans <dje@google.com> | |
2731 | ||
2732 | * target.c (target_write_partial): Fix result type. | |
2733 | ||
2734 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> | |
2735 | ||
2736 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
2737 | the proper offsets to access fpregset_t. | |
2738 | ||
2739 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> | |
2740 | ||
2741 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
2742 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
2743 | * h8300-tdep.c (setmachinelist): Remove global. | |
2744 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
2745 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
2746 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
2747 | * ravenscar-thread.c (update_target_observer): Remove global. | |
2748 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
2749 | ||
2750 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
2751 | ||
2752 | * common/rsp-low.c: Update comments. | |
2753 | * common/rsp-low.h: Update comments. | |
2754 | ||
2755 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
2756 | ||
2757 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
2758 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
2759 | ||
2760 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
2761 | ||
2762 | * common/rsp-low.h (unhexify): Don't declare. | |
2763 | * common/rsp-low.c (unhexify): Remove. | |
2764 | ||
2765 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
2766 | ||
2767 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
2768 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
2769 | ||
2770 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
2771 | ||
2772 | * common/rsp-low.h (hexify): Don't declare. | |
2773 | * common/rsp-low.c (hexify): Remove. | |
2774 | ||
2775 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
2776 | ||
2777 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
2778 | ||
2779 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
2780 | ||
2781 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
2782 | * remote.c (extended_remote_run, remote_rcmd) | |
2783 | (remote_download_trace_state_variable, remote_save_trace_data) | |
2784 | (remote_set_trace_notes): Update. | |
2785 | * tracepoint.c (encode_source_string, tfile_write_status) | |
2786 | (tfile_write_uploaded_tsv): Update. | |
2787 | ||
2788 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
2789 | ||
2790 | * tracepoint.c: Include rsp-low.h. | |
2791 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
2792 | * remote.c: Include rsp-low.h. | |
2793 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
2794 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
2795 | (remote_unescape_input): Move to common/rsp-low.c. | |
2796 | * common/rsp-low.h: New file. | |
2797 | * common/rsp-low.c: New file. | |
2798 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
2799 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
2800 | (COMMON_OBS): Add rsp-low.o. | |
2801 | (rsp-low.o): New target. | |
2802 | ||
2803 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
2804 | ||
2805 | * utils.h: Include print-utils.h. | |
2806 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
2807 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
2808 | (hex_string, hex_string_custom): Don't declare. | |
2809 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
2810 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
2811 | (hex_string_custom, int_string, core_addr_to_string) | |
2812 | (core_addr_to_string_nz, host_address_to_string): Move to | |
2813 | common/print-utils.c. | |
2814 | * common/print-utils.h: New file. | |
2815 | * common/print-utils.c: New file | |
2816 | * Makefile.in (SFILES): Add common/print-utils.c. | |
2817 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
2818 | (COMMON_OBS): Add print-utils.o. | |
2819 | (print-utils.o): New target. | |
2820 | ||
2821 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
2822 | ||
2823 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
2824 | ||
2825 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> | |
2826 | ||
2827 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
2828 | ||
2829 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> | |
2830 | ||
2831 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
2832 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
2833 | bytes were transferred. | |
2834 | ||
2835 | 2014-02-12 Pedro Alves <palves@redhat.com> | |
2836 | Kevin Buettner <kevinb@redhat.com> | |
2837 | ||
2838 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
2839 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
2840 | ||
2841 | 2014-02-12 Pedro Alves <palves@redhat.com> | |
2842 | ||
2843 | * h8300-tdep.c (pseudo_from_raw_register) | |
2844 | (raw_from_pseudo_register): New functions. | |
2845 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
2846 | them. | |
2847 | ||
2848 | 2014-02-12 Pedro Alves <palves@redhat.com> | |
2849 | ||
2850 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
2851 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
2852 | gdbarch_register_sim_regno hook. | |
2853 | ||
2854 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> | |
2855 | ||
2856 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
2857 | ||
2858 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> | |
2859 | ||
2860 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
2861 | ||
2862 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> | |
2863 | ||
2864 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
2865 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
2866 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
2867 | (obsd_init_abi): New functions. | |
2868 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
2869 | (i386obsd_init_abi): Call obsd_init_abi. | |
2870 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
2871 | (amd64obsd_init_abi): Call obsd_init_abi. | |
2872 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
2873 | obsd-tdep.c to gdb_target_obs. | |
2874 | ||
2875 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> | |
2876 | ||
2877 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
2878 | double float arguments to 16-byte in the argument slots. | |
2879 | ||
2880 | 2014-02-11 Doug Evans <xdje42@gmail.com> | |
2881 | ||
2882 | * configure.ac: Don't crash if pkg-config is not found and guile | |
2883 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
2884 | in guile checks. | |
2885 | * configure: Regenerate. | |
2886 | ||
2887 | 2014-02-11 Yao Qi <yao@codesourcery.com> | |
2888 | ||
2889 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
2890 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
2891 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
2892 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
2893 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
2894 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
2895 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
2896 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
2897 | ||
2898 | 2014-02-11 Yao Qi <yao@codesourcery.com> | |
2899 | ||
2900 | * target.h (enum target_xfer_error): Rename to ... | |
2901 | (enum target_xfer_status): ... it. New. All users updated. | |
2902 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
2903 | New. | |
2904 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
2905 | (target_xfer_error_to_string): Remove declaration. | |
2906 | (target_xfer_status_to_string): Declare. | |
2907 | (target_xfer_partial_ftype): Adjust it. | |
2908 | (struct target_ops) <to_xfer_partial>: Return | |
2909 | target_xfer_status. Add argument xfered_len. Update | |
2910 | comments. | |
2911 | * target.c (target_xfer_error_to_string): Rename to ... | |
2912 | (target_xfer_status_to_string): ... it. New. All callers | |
2913 | updated. | |
2914 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
2915 | instead of target_read. | |
2916 | (memory_xfer_live_readonly_partial): Return | |
2917 | target_xfer_status. Add argument xfered_len. | |
2918 | (raw_memory_xfer_partial): Likewise. | |
2919 | (memory_xfer_partial_1): Likewise. | |
2920 | (memory_xfer_partial): Likewise. | |
2921 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
2922 | properly. Update debug message. | |
2923 | (default_xfer_partial, current_xfer_partial): Likewise. | |
2924 | (target_write_partial): Likewise. | |
2925 | (target_read_partial): Likewise. All callers updated. | |
2926 | (read_whatever_is_readable): Likewise. | |
2927 | (target_write_with_progress): Likewise. | |
2928 | (target_read_alloc_1): Likewise. | |
2929 | ||
2930 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
2931 | * auxv.c (procfs_xfer_auxv): Likewise. | |
2932 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
2933 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
2934 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
2935 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
2936 | * corefile.c (read_memory): Adjust. | |
2937 | * corelow.c (core_xfer_partial): Likewise. | |
2938 | * ctf.c (ctf_xfer_partial): Likewise. | |
2939 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
2940 | updated. | |
2941 | (darwin_xfer_partial): Likewise. | |
2942 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
2943 | callers updated. | |
2944 | (exec_xfer_partial): Likewise. | |
2945 | * exec.h (section_table_xfer_memory_partial): Update | |
2946 | declaration. | |
2947 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
2948 | negative. | |
2949 | (gnu_xfer_partial): Likewise. | |
2950 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
2951 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
2952 | (ia64_hpux_xfer_solib_got): Likewise. | |
2953 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
2954 | type of 'partial_len' to ULONGEST. | |
2955 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
2956 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
2957 | (linux_nat_xfer_partial): Likewise. | |
2958 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
2959 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
2960 | * monitor.c (monitor_xfer_memory): Likewise. | |
2961 | (monitor_xfer_partial): Likewise. | |
2962 | * procfs.c (procfs_xfer_partial): Likewise. | |
2963 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
2964 | * record-full.c (record_full_xfer_partial): Likewise. | |
2965 | (record_full_core_xfer_partial): Likewise. | |
2966 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
2967 | (gdbsim_xfer_partial): Likewise. | |
2968 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
2969 | updated. | |
2970 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
2971 | callers updated. | |
2972 | (remote_flash_erase): Likewise. All callers updated. | |
2973 | (remote_write_qxfer): Likewise. All callers updated. | |
2974 | (remote_read_qxfer): Likewise. All callers updated. | |
2975 | (remote_xfer_partial): Likewise. | |
2976 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
2977 | (rs6000_xfer_shared_libraries): Likewise. | |
2978 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
2979 | (sol_thread_xfer_partial): Likewise. | |
2980 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
2981 | (sparc_xfer_partial): Likewise. | |
2982 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
2983 | updated. | |
2984 | (spu_xfer_partial): Likewise. | |
2985 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
2986 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
2987 | * windows-nat.c (windows_xfer_memory): Likewise. | |
2988 | (windows_xfer_shared_libraries): Likewise. | |
2989 | (windows_xfer_partial): Likewise. | |
2990 | * valprint.c: Replace 'target_xfer_error' with | |
2991 | 'target_xfer_status' in comments. | |
2992 | ||
2993 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) | |
2994 | ||
2995 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
2996 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
2997 | ||
2998 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> | |
2999 | ||
3000 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
3001 | function parameters. | |
3002 | ||
3003 | 2014-02-10 Will Newton <will.newton@linaro.org> | |
3004 | ||
3005 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
3006 | looking up .got.plt fails. | |
3007 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
3008 | on address passed to elf_gnu_ifunc_record_cache. | |
3009 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
3010 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
3011 | ||
3012 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> | |
3013 | ||
3014 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
3015 | (X_RETTURN): New macro. | |
3016 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
3017 | ||
3018 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
3019 | sparc_in_function_epilogue_p. | |
3020 | ||
3021 | 2014-02-10 Gary Benson <gbenson@redhat.com> | |
3022 | ||
3023 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
3024 | Rename name_matcher to symbol_matcher. | |
3025 | ||
3026 | 2014-02-10 Gary Benson <gbenson@redhat.com> | |
3027 | ||
3028 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
3029 | Use expand_symtabs_file_matcher_ftype and | |
3030 | expand_symtabs_symbol_matcher_ftype. | |
3031 | ||
3032 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
3033 | ||
3034 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
3035 | (struct ada_symbol_cache): New. | |
3036 | (ada_free_symbol_cache): Forward declare. | |
3037 | (struct ada_pspace_data): New. | |
3038 | (ada_pspace_data_handle): New static global. | |
3039 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
3040 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
3041 | (cache_space, cache): Delete, now folded inside struct | |
3042 | ada_pspace_data. | |
3043 | (ada_get_symbol_cache): New function. | |
3044 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
3045 | implementation. | |
3046 | (_initialize_ada_language): Remove initialization of cache_space. | |
3047 | Move call to observer_attach_inferior_exit up, grouping it | |
3048 | with the other observer registrations inside this function. | |
3049 | Rename command to be more general. Add call to | |
3050 | register_program_space_data_with_cleanup. | |
3051 | ||
3052 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
3053 | ||
3054 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
3055 | ada_new_objfile_observer. | |
3056 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
3057 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
3058 | and ada_tasks_normal_stop_observer. | |
3059 | ||
3060 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
3061 | ||
3062 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
3063 | returned by the 'Length attribute to integer. | |
3064 | ||
3065 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
3066 | ||
3067 | * ada-lang.c (_initialize_ada_language): Initialize | |
3068 | cache_space obstack. | |
3069 | ||
3070 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
3071 | ||
3072 | * ada-lang.c (HASH_SIZE): New macro. | |
3073 | (struct cache_entry): New type. | |
3074 | (cache_space, cache): New static globals. | |
3075 | (ada_clear_symbol_cache, find_entry): New functions. | |
3076 | (lookup_cached_symbol, cache_symbol): Implement. | |
3077 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
3078 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
3079 | and ada_free_objfile_observer. | |
3080 | ||
3081 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
3082 | ||
3083 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
3084 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
3085 | struct block * parameter. | |
3086 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
3087 | Remove cast which is no longer necessary. | |
3088 | ||
3089 | 2014-02-10 Doug Evans <xdje42@gmail.com> | |
3090 | ||
3091 | Add Guile as an extension language. | |
3092 | * NEWS: Mention Guile scripting. | |
3093 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
3094 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
3095 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
3096 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
3097 | (CLIBS): Add GUILE_LIBS. | |
3098 | (install-guile): New rule. | |
3099 | (guile.o): New rule. | |
3100 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
3101 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
3102 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
3103 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
3104 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
3105 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
3106 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
3107 | * configure.ac: New option --with-guile. | |
3108 | * configure: Regenerate. | |
3109 | * config.in: Regenerate. | |
3110 | * auto-load.c: Remove #include "python/python.h". Add #include | |
3111 | "gdb/section-scripts.h". | |
3112 | (source_section_scripts): Handle Guile scripts. | |
3113 | (_initialize_auto_load): Add name of Guile objfile script to | |
3114 | scripts-directory help text. | |
3115 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
3116 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
3117 | (struct breakpoint): New member scm_bp_object. | |
3118 | * defs.h (enum command_control_type): New value guile_control. | |
3119 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
3120 | "extension.h". | |
3121 | (show_user): Update comment. | |
3122 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
3123 | text for max-user-call-depth. | |
3124 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
3125 | "extension.h". | |
3126 | (multi_line_command_p): Add guile_control. | |
3127 | (print_command_lines): Handle guile_control. | |
3128 | (execute_control_command, recurse_read_control_structure): Ditto. | |
3129 | (process_next_line): Recognize "guile" commands. | |
3130 | * disasm.c (gdb_disassemble_info): Make non-static. | |
3131 | * disasm.h: #include "dis-asm.h". | |
3132 | (struct gdbarch): Add forward decl. | |
3133 | (gdb_disassemble_info): Declare. | |
3134 | * extension.c: #include "guile/guile.h". | |
3135 | (extension_languages): Add guile. | |
3136 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
3137 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
3138 | * gdbtypes.c (get_unsigned_type_max): New function. | |
3139 | (get_signed_type_minmax): New function. | |
3140 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
3141 | (get_signed_type_minmax): Declare. | |
3142 | * guile/README: New file. | |
3143 | * guile/guile-internal.h: New file. | |
3144 | * guile/guile.c: New file. | |
3145 | * guile/guile.h: New file. | |
3146 | * guile/scm-arch.c: New file. | |
3147 | * guile/scm-auto-load.c: New file. | |
3148 | * guile/scm-block.c: New file. | |
3149 | * guile/scm-breakpoint.c: New file. | |
3150 | * guile/scm-disasm.c: New file. | |
3151 | * guile/scm-exception.c: New file. | |
3152 | * guile/scm-frame.c: New file. | |
3153 | * guile/scm-gsmob.c: New file. | |
3154 | * guile/scm-iterator.c: New file. | |
3155 | * guile/scm-lazy-string.c: New file. | |
3156 | * guile/scm-math.c: New file. | |
3157 | * guile/scm-objfile.c: New file. | |
3158 | * guile/scm-ports.c: New file. | |
3159 | * guile/scm-pretty-print.c: New file. | |
3160 | * guile/scm-safe-call.c: New file. | |
3161 | * guile/scm-string.c: New file. | |
3162 | * guile/scm-symbol.c: New file. | |
3163 | * guile/scm-symtab.c: New file. | |
3164 | * guile/scm-type.c: New file. | |
3165 | * guile/scm-utils.c: New file. | |
3166 | * guile/scm-value.c: New file. | |
3167 | * guile/lib/gdb.scm: New file. | |
3168 | * guile/lib/gdb/boot.scm: New file. | |
3169 | * guile/lib/gdb/experimental.scm: New file. | |
3170 | * guile/lib/gdb/init.scm: New file. | |
3171 | * guile/lib/gdb/iterator.scm: New file. | |
3172 | * guile/lib/gdb/printing.scm: New file. | |
3173 | * guile/lib/gdb/types.scm: New file. | |
3174 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
3175 | (VPATH): Add $(GUILE_SRCDIR). | |
3176 | (GUILE_DIR): New variable. | |
3177 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
3178 | (all): Add stamp-guile dependency. | |
3179 | (stamp-guile): New rule. | |
3180 | (clean-guile, install-guile, uninstall-guile): New rules. | |
3181 | (install-only): Add install-guile dependency. | |
3182 | (uninstall): Add uninstall-guile dependency. | |
3183 | (clean): Add clean-guile dependency. | |
3184 | ||
3185 | 2014-02-09 Doug Evans <xdje42@gmail.com> | |
3186 | ||
3187 | Revert this patch (which I approved, mea culpa). | |
3188 | ||
3189 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
3190 | ||
3191 | * Makefile.in (all-lib): Remove. | |
3192 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
3193 | ||
3194 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> | |
3195 | ||
3196 | Fix Python stack corruption. | |
3197 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
3198 | gdb_py_longest. | |
3199 | ||
3200 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
3201 | ||
3202 | * Makefile.in (all-lib): Remove. | |
3203 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
3204 | ||
3205 | 2014-02-07 Doug Evans <dje@google.com> | |
3206 | ||
3207 | * extension-priv.h (extension_language_script_ops): Add comment. | |
3208 | (extension_language_ops): Add comment. | |
3209 | (active_ext_lang_state): Fix typo in comment. | |
3210 | ||
3211 | 2014-02-07 Pedro Alves <palves@redhat.com> | |
3212 | ||
3213 | * infrun.c (handle_signal_stop) <signal arrives while stepping | |
3214 | over a breakpoint>: Switch back to the stepping thread. | |
3215 | ||
3216 | 2014-02-07 Yao Qi <yao@codesourcery.com> | |
3217 | ||
3218 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
3219 | ||
3220 | 2014-02-07 Yao Qi <yao@codesourcery.com> | |
3221 | ||
3222 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
3223 | (ld_so_xfer_auxv): Likewise. | |
3224 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
3225 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
3226 | * corelow.c (core_xfer_partial): Likewise. | |
3227 | * ctf.c (ctf_xfer_partial): Likewise. | |
3228 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
3229 | (darwin_xfer_partial): Likewise. | |
3230 | * exec.c (exec_xfer_partial): Likewise. | |
3231 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
3232 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
3233 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
3234 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
3235 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
3236 | (linux_proc_xfer_spu): Likewise. | |
3237 | * procfs.c (procfs_xfer_partial): Likewise. | |
3238 | * record-full.c (record_full_xfer_partial): Likewise. | |
3239 | (record_full_core_xfer_partial): Likewise. | |
3240 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
3241 | * remote.c (remote_write_qxfer): Likewise. | |
3242 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
3243 | (remote_xfer_partial): Likewise. | |
3244 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
3245 | (rs6000_xfer_shared_libraries): Likewise. | |
3246 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
3247 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
3248 | (spu_xfer_partial): Likewise. | |
3249 | * target.c (memory_xfer_partial_1): Likewise. | |
3250 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
3251 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
3252 | (windows_xfer_partial): Likewise. | |
3253 | ||
3254 | 2014-02-07 Yao Qi <yao@codesourcery.com> | |
3255 | ||
3256 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
3257 | comments. | |
3258 | (core_xfer_shared_libraries_aix): Likewise. | |
3259 | * gdbarch.c, gdbarch.h: Regenerated. | |
3260 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
3261 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
3262 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
3263 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
3264 | declaration. | |
3265 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
3266 | ||
3267 | 2014-02-07 Yao Qi <yao@codesourcery.com> | |
3268 | ||
3269 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
3270 | 'exception' to throw_error. | |
3271 | ||
3272 | 2014-02-06 Doug Evans <xdje42@gmail.com> | |
3273 | ||
3274 | * configure.ac (libpython checking): Remove all but python.o from | |
3275 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
3276 | * configure: Regenerate. | |
3277 | ||
3278 | * Makefile.in (SFILES): Add extension.c. | |
3279 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
3280 | (COMMON_OBS): Add extension.o. | |
3281 | * extension.h: New file. | |
3282 | * extension-priv.h: New file. | |
3283 | * extension.c: New file. | |
3284 | ||
3285 | * python/python-internal.h: #include "extension.h". | |
3286 | (gdbpy_auto_load_enabled): Declare. | |
3287 | (gdbpy_apply_val_pretty_printer): Declare. | |
3288 | (gdbpy_apply_frame_filter): Declare. | |
3289 | (gdbpy_preserve_values): Declare. | |
3290 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
3291 | (gdbpy_breakpoint_has_cond): Declare. | |
3292 | (void source_python_script_for_objfile): Delete. | |
3293 | * python/python.c: #include "extension-priv.h". | |
3294 | Delete inclusion of "observer.h". | |
3295 | (extension_language_python): Moved here and renamed from | |
3296 | script_language_python in py-auto-load.c. | |
3297 | Redefined to be of type extension_language_defn. | |
3298 | (python_extension_script_ops): New global. | |
3299 | (python_extension_ops): New global. | |
3300 | (struct python_env): New member previous_active. | |
3301 | (restore_python_env): Call restore_active_ext_lang. | |
3302 | (ensure_python_env): Call set_active_ext_lang. | |
3303 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
3304 | New arg extlang. | |
3305 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
3306 | New arg extlang. | |
3307 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
3308 | New arg extlang. | |
3309 | (gdbpy_eval_from_control_command): Renamed from | |
3310 | eval_python_from_control_command, made static. New arg extlang. | |
3311 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
3312 | New arg extlang. | |
3313 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
3314 | result to int. New arg extlang. | |
3315 | (gdbpy_source_objfile_script): Renamed from | |
3316 | source_python_script_for_objfile, made static. New arg extlang. | |
3317 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
3318 | static. New args extlang, extlang_printers. Change result type to | |
3319 | "void". | |
3320 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
3321 | static. New arg extlang. Rename arg printers to extlang_printers | |
3322 | and change type to ext_lang_type_printers *. | |
3323 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
3324 | static. Replace argument arg with extlang, extlang_printers. | |
3325 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
3326 | (!HAVE_PYTHON, source_python_script): Delete. | |
3327 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
3328 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
3329 | (!HAVE_PYTHON, start_type_printers): Delete. | |
3330 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
3331 | (!HAVE_PYTHON, free_type_printers): Delete. | |
3332 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
3333 | (finalize_python): Set/restore active extension language. | |
3334 | (gdbpy_finish_initialization) Renamed from | |
3335 | finish_python_initialization, made static. New arg extlang. | |
3336 | (gdbpy_initialized): New function. | |
3337 | * python/python.h: #include "extension.h". Delete #include | |
3338 | "value.h", "mi/mi-cmds.h". | |
3339 | (extension_language_python): Declare. | |
3340 | (GDBPY_AUTO_FILE_NAME): Delete. | |
3341 | (enum py_bt_status): Moved to extension.h and renamed to | |
3342 | ext_lang_bt_status. | |
3343 | (enum frame_filter_flags): Moved to extension.h. | |
3344 | (enum py_frame_args): Moved to extension.h and renamed to | |
3345 | ext_lang_frame_args. | |
3346 | (finish_python_initialization): Delete. | |
3347 | (eval_python_from_control_command): Delete. | |
3348 | (source_python_script): Delete. | |
3349 | (apply_val_pretty_printer): Delete. | |
3350 | (apply_frame_filter): Delete. | |
3351 | (preserve_python_values): Delete. | |
3352 | (gdbpy_script_language_defn): Delete. | |
3353 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
3354 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
3355 | ||
3356 | * auto-load.c: #include "extension.h". | |
3357 | (GDB_AUTO_FILE_NAME): Delete. | |
3358 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
3359 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
3360 | extension_language_gdb. | |
3361 | (source_gdb_script_for_objfile): Delete. | |
3362 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
3363 | (loaded_script): Change type of language member to | |
3364 | struct extension_language_defn *. | |
3365 | (init_loaded_scripts_info): Initialize | |
3366 | unsupported_script_warning_printed. | |
3367 | (maybe_add_script): Make static. Change type of language arg to | |
3368 | struct extension_language_defn *. | |
3369 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
3370 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
3371 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
3372 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
3373 | (source_section_scripts): Rewrite to use extension language API. | |
3374 | (load_auto_scripts_for_objfile): Rewrite to use | |
3375 | auto_load_scripts_for_objfile. | |
3376 | (collect_matching_scripts_data): Change type of language member to | |
3377 | struct extension_language_defn *. | |
3378 | (auto_load_info_scripts): Change type of language arg to | |
3379 | struct extension_language_defn *. | |
3380 | (unsupported_script_warning_print): New function. | |
3381 | (script_not_found_warning_print): Make static. | |
3382 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
3383 | help. | |
3384 | * auto-load.h (struct objfile): Add forward decl. | |
3385 | (struct script_language): Delete. | |
3386 | (struct auto_load_pspace_info): Add forward decl. | |
3387 | (struct extension_language_defn): Add forward decl. | |
3388 | (maybe_add_script): Delete. | |
3389 | (auto_load_objfile_script): Declare. | |
3390 | (script_not_found_warning_print): Delete. | |
3391 | (auto_load_info_scripts): Update prototype. | |
3392 | (auto_load_gdb_scripts_enabled): Declare. | |
3393 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
3394 | auto_load_python_scripts_enabled and made public. | |
3395 | (script_language_python): Delete, moved to python.c. | |
3396 | (gdbpy_script_language_defn): Delete. | |
3397 | (info_auto_load_python_scripts): Update to use | |
3398 | extension_language_python. | |
3399 | ||
3400 | * breakpoint.c (condition_command): Replace call to | |
3401 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
3402 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
3403 | with call to breakpoint_ext_lang_cond_says_stop. | |
3404 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
3405 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
3406 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
3407 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
3408 | New arg slang. | |
3409 | (local_setattro): Print name of extension language with existing | |
3410 | stop condition. | |
3411 | ||
3412 | * valprint.c (val_print, value_print): Update to call | |
3413 | apply_ext_lang_val_pretty_printer. | |
3414 | * cp-valprint.c (cp_print_value): Update call to | |
3415 | apply_ext_lang_val_pretty_printer. | |
3416 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
3417 | (gdbpy_apply_val_pretty_printer): Renamed from | |
3418 | apply_val_pretty_printer. New arg extlang. | |
3419 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
3420 | ||
3421 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
3422 | extension language API. | |
3423 | * cli/cli-script.c (execute_control_command): Update to call | |
3424 | eval_ext_lang_from_control_command. | |
3425 | ||
3426 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
3427 | enum ext_lang_bt_status values. Update call to | |
3428 | apply_ext_lang_frame_filter. | |
3429 | (mi_cmd_stack_list_locals): Ditto. | |
3430 | (mi_cmd_stack_list_args): Ditto. | |
3431 | (mi_cmd_stack_list_variables): Ditto. | |
3432 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
3433 | Add #include "extension.h". | |
3434 | (mi_cmd_list_features): Replace reference to python internal variable | |
3435 | gdb_python_initialized with call to ext_lang_initialized_p. | |
3436 | ||
3437 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
3438 | Update to use enum ext_lang_frame_args. Update to call | |
3439 | apply_ext_lang_frame_filter. | |
3440 | * python/py-framefilter.c (extract_sym): Update to use enum | |
3441 | ext_lang_bt_status. | |
3442 | (extract_value, py_print_type, py_print_value): Ditto. | |
3443 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
3444 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
3445 | (py_print_frame): Ditto. | |
3446 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
3447 | New arg extlang. Update to use enum ext_lang_bt_status. | |
3448 | ||
3449 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
3450 | finish_python_initialization. Replace with call to | |
3451 | finish_ext_lang_initialization. | |
3452 | ||
3453 | * typeprint.c (do_free_global_table): Update to call | |
3454 | free_ext_lang_type_printers. | |
3455 | (create_global_typedef_table): Update to call | |
3456 | start_ext_lang_type_printers. | |
3457 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
3458 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
3459 | (type_print_options): Change type of global_printers from "void *" | |
3460 | to "struct ext_lang_type_printers *". | |
3461 | ||
3462 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
3463 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
3464 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
3465 | New arg extlang. | |
3466 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
3467 | ||
3468 | * utils.c (quit_flag): Delete, moved to extension.c. | |
3469 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
3470 | extension.c. | |
3471 | ||
3472 | * eval.c: Delete #include "python/python.h". | |
3473 | * main.c: Delete #include "python/python.h". | |
3474 | ||
3475 | * defs.h: Update comment. | |
3476 | ||
3477 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> | |
3478 | ||
3479 | GDB 7.7 released. | |
3480 | ||
3481 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> | |
3482 | ||
3483 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
3484 | defined. | |
3485 | ||
3486 | 2014-02-05 Yao Qi <yao@codesourcery.com> | |
3487 | ||
3488 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
3489 | rs->buf. | |
3490 | (remote_program_signals): Likewise. | |
3491 | ||
3492 | 2014-02-05 Yao Qi <yao@codesourcery.com> | |
3493 | ||
3494 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
3495 | (CTF_PID): A new macro. | |
3496 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
3497 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
3498 | (ctf_thread_alive): New function. | |
3499 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
3500 | ||
3501 | 2014-02-05 Yao Qi <yao@codesourcery.com> | |
3502 | ||
3503 | Revert this patch: | |
3504 | ||
3505 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
3506 | ||
3507 | * tracepoint.c (TFILE_PID): Remove. | |
3508 | (tfile_open): Don't add thread and inferior. | |
3509 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
3510 | exit_inferior_silent. | |
3511 | (tfile_thread_alive): Remove. | |
3512 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
3513 | tfile_ops. | |
3514 | ||
3515 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) | |
3516 | ||
3517 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
3518 | if only symbol-file (not file) has been given. | |
3519 | ||
3520 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3521 | ||
3522 | * gdbarch.sh (skip_entrypoint): New callback. | |
3523 | * gdbarch.c, gdbarch.h: Regenerate. | |
3524 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
3525 | * infrun.c (fill_in_stop_func): Likewise. | |
3526 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
3527 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
3528 | (ppc_elfv2_skip_entrypoint): Likewise. | |
3529 | (ppc_linux_init_abi): Install them for ELFv2. | |
3530 | ||
3531 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3532 | ||
3533 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
3534 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
3535 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
3536 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
3537 | structures returned in GPRs. | |
3538 | ||
3539 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3540 | ||
3541 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
3542 | offset to the stack parameter list for the ELFv2 ABI. | |
3543 | ||
3544 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3545 | ||
3546 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
3547 | set_gdbarch_convert_from_func_ptr_addr and | |
3548 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
3549 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
3550 | function descriptors on ELFv1. | |
3551 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
3552 | set up r12 at function entry. | |
3553 | ||
3554 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3555 | ||
3556 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
3557 | (struct gdbarch_tdep): New member elf_abi. | |
3558 | ||
3559 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
3560 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
3561 | ||
3562 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3563 | ||
3564 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
3565 | within a register pair holding a DFP 128-bit value on little-endian. | |
3566 | (ppc64_sysv_abi_return_value_base): Likewise. | |
3567 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
3568 | (dfp_pseudo_register_write): Likewise. | |
3569 | ||
3570 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3571 | ||
3572 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
3573 | offset on little-endian when passing _Decimal32. | |
3574 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
3575 | ||
3576 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3577 | ||
3578 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
3579 | of the overlapped FP register within the VSX register on little- | |
3580 | endian platforms. | |
3581 | (efpr_pseudo_register_write): Likewise. | |
3582 | ||
3583 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3584 | ||
3585 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
3586 | offset on little-endian when passing small structures. | |
3587 | ||
3588 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3589 | ||
3590 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
3591 | (struct ppc64_sysv_argpos): New data structure. | |
3592 | (ppc64_sysv_abi_push_float): Remove. | |
3593 | (ppc64_sysv_abi_push_val): New function. | |
3594 | (ppc64_sysv_abi_push_integer): Likewise. | |
3595 | (ppc64_sysv_abi_push_freg): Likewise. | |
3596 | (ppc64_sysv_abi_push_vreg): Likewise. | |
3597 | (ppc64_sysv_abi_push_param): Likewise. | |
3598 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
3599 | (ppc64_sysv_abi_return_value_base): New function. | |
3600 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
3601 | ||
3602 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
3603 | ||
3604 | * NEWS: Document new target powerpc64le-*-linux*. | |
3605 | ||
3606 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> | |
3607 | ||
3608 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
3609 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
3610 | core dumps. | |
3611 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
3612 | register set used in ELF core dumps. Add floating-point register set. | |
3613 | ||
3614 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> | |
3615 | ||
3616 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite | |
3617 | dwarf2_to_gdb[] table using symbolic constants. Adjust | |
3618 | penultimate entry from number representing the PC register | |
3619 | to symbolic constant representing the MDR register. Add | |
3620 | constant for the PC register to the end of the table. | |
3621 | ||
3622 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> | |
3623 | ||
3624 | * bsd-kvm.c: Include <sys/param.h> | |
3625 | ||
3626 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> | |
3627 | ||
3628 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
3629 | ||
3630 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> | |
3631 | ||
3632 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
3633 | ||
3634 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> | |
3635 | ||
3636 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
3637 | ||
3638 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> | |
3639 | ||
3640 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
3641 | the sigreturn register save area only if the syscall is | |
3642 | sigreturn. | |
3643 | ||
3644 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> | |
3645 | ||
3646 | * valops.c (value_slice): Minor reformatting. | |
3647 | ||
3648 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> | |
3649 | ||
3650 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
3651 | ||
3652 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> | |
3653 | ||
3654 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
3655 | New static globals. | |
3656 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
3657 | (ada_ignore_descriptive_types_p): New static global. | |
3658 | (find_parallel_type_by_descriptive_type): Return immediately | |
3659 | if ada_ignore_descriptive_types_p is set. | |
3660 | (_initialize_ada_language): Register new commands "maintenance | |
3661 | set ada", "maintenance show ada", "maintenance set ada | |
3662 | ignore-descriptive-types" and "maintenance show ada | |
3663 | ignore-descriptive-types". | |
3664 | * NEWS: Add entry for new "maint ada set/show | |
3665 | ignore-descriptive-types" commands. | |
3666 | ||
3667 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> | |
3668 | ||
3669 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
3670 | for all threads. | |
3671 | ||
3672 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
3673 | ||
3674 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
3675 | "ui-out.h". | |
3676 | ||
3677 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
3678 | ||
3679 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
3680 | New function. | |
3681 | (print_range): Add parameter bounds_prefered_p. If not set, | |
3682 | try printing range types using the name of their base type. | |
3683 | (print_range_type): Add parameter bounds_prefered_p. | |
3684 | Use it in call to print_range. | |
3685 | (print_array_type, ada_print_type): Update calls to print_range | |
3686 | and print_range_type. | |
3687 | ||
3688 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
3689 | ||
3690 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
3691 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
3692 | Remove declaration. | |
3693 | ||
3694 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
3695 | ||
3696 | * ada-typeprint.c (print_range): Add missing empty line | |
3697 | after local declaration. | |
3698 | ||
3699 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
3700 | ||
3701 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
3702 | target type for as long as it is a TYPE_CODE_RANGE. | |
3703 | ||
3704 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
3705 | ||
3706 | * procfs.c (procfs_make_note_section): Remove assertion and | |
3707 | associated comment. | |
3708 | ||
3709 | 2014-01-24 Yao Qi <yao@codesourcery.com> | |
3710 | ||
3711 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
3712 | * corelow.c (get_core_siginfo): Likewise. | |
3713 | ||
3714 | 2014-01-24 Yao Qi <yao@codesourcery.com> | |
3715 | ||
3716 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
3717 | ULONGEST. Don't check 'len' is negative. | |
3718 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
3719 | ||
3720 | 2014-01-23 Tom Tromey <tromey@redhat.com> | |
3721 | ||
3722 | PR python/16485: | |
3723 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
3724 | Handle exception from frame.block. | |
3725 | (FrameVars.fetch_frame_locals): Likewise. | |
3726 | ||
3727 | 2014-01-23 Tom Tromey <tromey@redhat.com> | |
3728 | ||
3729 | PR python/16487: | |
3730 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
3731 | on a NULL pointer. Move "goto error" to correct place. | |
3732 | ||
3733 | 2014-01-23 Tom Tromey <tromey@redhat.com> | |
3734 | ||
3735 | PR python/16491: | |
3736 | * python/py-framefilter.c (apply_frame_filter): Call | |
3737 | ensure_python_env after computing gdbarch. | |
3738 | ||
3739 | 2014-01-23 Yao Qi <yao@codesourcery.com> | |
3740 | ||
3741 | * target.c (raw_memory_xfer_partial): Change argument type | |
3742 | from void * to gdb_byte *. | |
3743 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
3744 | ||
3745 | 2014-01-22 Doug Evans <dje@google.com> | |
3746 | ||
3747 | New gdbserver option --debug-format=timestamp. | |
3748 | * NEWS: Mention it. | |
3749 | ||
3750 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> | |
3751 | ||
3752 | * syscalls/s390x-linux.xml: New file. | |
3753 | * syscalls/s390-linux.xml: New file. | |
3754 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
3755 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
3756 | (op_svc): New enum value for SVC opcode. | |
3757 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
3758 | (s390_linux_get_syscall_number): New function. | |
3759 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
3760 | syscall xml file name. | |
3761 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
3762 | "s390-linux.xml" and "s390x-linux.xml". | |
3763 | * NEWS: Announce new feature. | |
3764 | ||
3765 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> | |
3766 | ||
3767 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
3768 | ||
3769 | 2014-01-22 Pedro Alves <palves@redhat.com> | |
3770 | ||
3771 | * xtensa-config.c: Include defs.h. | |
3772 | ||
3773 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> | |
3774 | ||
3775 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
3776 | reference. | |
3777 | ||
3778 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> | |
3779 | ||
3780 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
3781 | documentation a bit. | |
3782 | ||
3783 | 2014-01-21 Roland McGrath <mcgrathr@google.com> | |
3784 | ||
3785 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
3786 | * configure: Regenerate. | |
3787 | * aclocal.m4: Regenerate. | |
3788 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
3789 | New substituted variables. | |
3790 | (install-strip): New target. | |
3791 | (INSTALL_SCRIPT): New substituted variable. | |
3792 | (FLAGS_TO_PASS): Add it. | |
3793 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
3794 | $(INSTALL_PROGRAM) for gcore. | |
3795 | ||
3796 | 2014-01-20 Tom Tromey <tromey@redhat.com> | |
3797 | ||
3798 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
3799 | together. | |
3800 | ||
3801 | 2014-01-20 Tom Tromey <tromey@redhat.com> | |
3802 | ||
3803 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
3804 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
3805 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
3806 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
3807 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
3808 | (struct cmd_list_element) <flags>: Remove. | |
3809 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
3810 | doc_allocated>: New fields. | |
3811 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
3812 | bitfields. | |
3813 | * maint.c (maintenance_do_deprecate): Update. | |
3814 | * top.c (execute_command): Update. | |
3815 | ||
3816 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> | |
3817 | ||
3818 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
3819 | ||
3820 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
3821 | ||
3822 | * Makefile.in (SFILES): Add d-support.c. | |
3823 | (COMMON_OBS): Add d-support.o. | |
3824 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
3825 | d-support.c. | |
3826 | * d-lang.c (parse_call_convention) | |
3827 | (parse_attributes, parse_function_types) | |
3828 | (parse_function_args, parse_type, parse_identifier) | |
3829 | (call_convention_p, d_parse_symbol): Move functions to ... | |
3830 | * d-support.c: ... New file. | |
3831 | ||
3832 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
3833 | ||
3834 | * d-lang.h (d_parse_symbol): Add declaration. | |
3835 | * d-lang.c (extract_identifiers) | |
3836 | (extract_type_info): Remove functions. | |
3837 | (parse_call_convention, parse_attributes) | |
3838 | (parse_function_types, parse_function_args) | |
3839 | (parse_type, parse_identifier, call_convention_p) | |
3840 | (d_parse_symbol): New functions. | |
3841 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
3842 | ||
3843 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
3844 | ||
3845 | * d-lang.h (struct builtin_d_type): New data type. | |
3846 | (builtin_d_type): Add declaration. | |
3847 | * d-lang.c (d_language_arch_info, build_d_types) | |
3848 | (builtin_d_type): New functions. | |
3849 | (enum d_primitive_types): New data type. | |
3850 | (d_language_defn): Change c_language_arch_info to | |
3851 | d_language_arch_info. | |
3852 | (d_type_data): New static variable. | |
3853 | (_initialize_d_language): Initialize d_type_data. | |
3854 | ||
3855 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
3856 | ||
3857 | * d-lang.h (d_main_name): Add declaration. | |
3858 | * d-lang.c (d_main_name): New function. | |
3859 | * symtab.c (find_main_name): Add call to d_main_name. | |
3860 | ||
3861 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
3862 | ||
3863 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
3864 | macro_expansion_no. | |
3865 | ||
3866 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
3867 | ||
3868 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
3869 | ||
3870 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> | |
3871 | ||
3872 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
3873 | gdb_exception" declaration. | |
3874 | * remote.c (getpkt_or_notif_sane): Likewise. | |
3875 | ||
3876 | 2014-01-17 Doug Evans <dje@google.com> | |
3877 | ||
3878 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
3879 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
3880 | (delim_string_to_char_ptr_vec): New function. | |
3881 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
3882 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
3883 | ||
3884 | 2014-01-17 Doug Evans <dje@google.com> | |
3885 | ||
3886 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
3887 | and moved here ... | |
3888 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
3889 | #include "common-utils.h". | |
3890 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
3891 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
3892 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
3893 | (MACH_CHECK_ERROR): Update. | |
3894 | ||
3895 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> | |
3896 | ||
3897 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
3898 | comments. | |
3899 | * gdbarch.h: Regenerate. | |
3900 | ||
3901 | 2014-01-16 Tom Tromey <tromey@redhat.com> | |
3902 | ||
3903 | * value.c (struct value) <regnum>: Move earlier. | |
3904 | ||
3905 | 2014-01-16 Tom Tromey <tromey@redhat.com> | |
3906 | ||
3907 | * remote.c (extended_remote_create_inferior): Rename from | |
3908 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
3909 | old implementation. | |
3910 | ||
3911 | 2014-01-16 Pedro Alves <palves@redhat.com> | |
3912 | ||
3913 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
3914 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
3915 | the backchain. | |
3916 | ||
3917 | 2014-01-16 Doug Evans <dje@google.com> | |
3918 | ||
3919 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
3920 | ||
3921 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
3922 | ||
3923 | * btrace.h (btrace_thread_flag): New. | |
3924 | (struct btrace_thread_info) <flags>: New. | |
3925 | * record-btrace.c (record_btrace_resume_thread) | |
3926 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
3927 | (btrace_step_stopped, record_btrace_start_replaying) | |
3928 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
3929 | (record_btrace_find_resume_thread): New. | |
3930 | (record_btrace_resume, record_btrace_wait): Extend. | |
3931 | (record_btrace_can_execute_reverse): New. | |
3932 | (record_btrace_open): Fail in non-stop mode. | |
3933 | (record_btrace_set_replay): Split into this, ... | |
3934 | (record_btrace_stop_replaying): ... this, ... | |
3935 | (record_btrace_clear_histories): ... and this. | |
3936 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
3937 | * NEWS: Announce it. | |
3938 | ||
3939 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
3940 | ||
3941 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
3942 | (forward_target_decr_pc_after_break) | |
3943 | (target_decr_pc_after_break): New. | |
3944 | * target.c (forward_target_decr_pc_after_break) | |
3945 | (target_decr_pc_after_break): New. | |
3946 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
3947 | instead of gdbarch_decr_pc_after_break. | |
3948 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
3949 | instead of gdbarch_decr_pc_after_break. | |
3950 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
3951 | instead of gdbarch_decr_pc_after_break. | |
3952 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
3953 | instead of gdbarch_decr_pc_after_break. | |
3954 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
3955 | instead of gdbarch_decr_pc_after_break. | |
3956 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
3957 | instead of gdbarch_decr_pc_after_break. | |
3958 | ||
3959 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
3960 | ||
3961 | * btrace.c: Include regcache.h. | |
3962 | (btrace_add_pc): New. | |
3963 | (btrace_enable): Call btrace_add_pc. | |
3964 | (btrace_is_empty): New. | |
3965 | * btrace.h (btrace_is_empty): New. | |
3966 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
3967 | btrace_is_empty. | |
3968 | ||
3969 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
3970 | ||
3971 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
3972 | Support delta reads. | |
3973 | (linux_disable_btrace): Change return type. | |
3974 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
3975 | and return type to allow error reporting. Update users. | |
3976 | (linux_disable_btrace): Change return type. Update users. | |
3977 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
3978 | New. | |
3979 | (btrace_error): New. | |
3980 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
3981 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
3982 | the current trace. | |
3983 | (btrace_stitch_trace, btrace_clear_history): New. | |
3984 | (btrace_fetch): Read delta trace, return if replaying. | |
3985 | (btrace_clear): Move clear history code to btrace_clear_history. | |
3986 | (parse_xml_btrace): Throw an error if parsing failed. | |
3987 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
3988 | and return type to allow error reporting. | |
3989 | (target_read_btrace): Change parameters and return type to allow | |
3990 | error reporting. | |
3991 | * target.c (target_read_btrace): Update. | |
3992 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
3993 | errors on. | |
3994 | * NEWS: Announce it. | |
3995 | ||
3996 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
3997 | ||
3998 | * record.h (record_btrace_frame_unwind) | |
3999 | (record_btrace_tailcall_frame_unwind): New declarations. | |
4000 | * dwarf2-frame: Include record.h | |
4001 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
4002 | * record-btrace.c: Include hashtab.h. | |
4003 | (btrace_get_bfun_name): New. | |
4004 | (btrace_call_history): Call btrace_get_bfun_name. | |
4005 | (struct btrace_frame_cache): New. | |
4006 | (bfcache): New. | |
4007 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
4008 | (btrace_get_frame_function): New. | |
4009 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
4010 | (record_btrace_frame_this_id): Compute own id. | |
4011 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
4012 | for all other registers. | |
4013 | (record_btrace_frame_sniffer): Detect btrace frames. | |
4014 | (record_btrace_tailcall_frame_sniffer): New. | |
4015 | (record_btrace_frame_dealloc_cache): New. | |
4016 | (record_btrace_frame_unwind): Add new functions. | |
4017 | (record_btrace_tailcall_frame_unwind): New. | |
4018 | (_initialize_record_btrace): Allocate cache. | |
4019 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
4020 | * NEWS: Announce it. | |
4021 | ||
4022 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4023 | ||
4024 | * record-btrace.c (record_btrace_set_replay) | |
4025 | (record_btrace_goto_begin, record_btrace_goto_end) | |
4026 | (record_btrace_goto): New. | |
4027 | (init_record_btrace_ops): Initialize them. | |
4028 | * NEWS: Announce it. | |
4029 | ||
4030 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4031 | ||
4032 | * record-btrace.c (record_btrace_find_new_threads) | |
4033 | (record_btrace_thread_alive): New. | |
4034 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
4035 | to_thread_alive. | |
4036 | ||
4037 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4038 | ||
4039 | * record-btrace.c (record_btrace_resume): New. | |
4040 | (record_btrace_wait): New. | |
4041 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
4042 | ||
4043 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4044 | ||
4045 | * record-btrace.c (record_btrace_xfer_partial) | |
4046 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
4047 | (record_btrace_allow_memory_access): New. | |
4048 | (init_record_btrace_ops): Initialize new methods. | |
4049 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
4050 | that this memory is not available. | |
4051 | ||
4052 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4053 | ||
4054 | * target.h (target_ops) <to_insert_breakpoint> | |
4055 | <to_remove_breakpoint>: Add target_ops parameter. | |
4056 | (forward_target_insert_breakpoint): New. | |
4057 | (forward_target_remove_breakpoint): New. | |
4058 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
4059 | Add target_ops parameter. | |
4060 | * target.c (target_insert_breakpoint): Split into this and ... | |
4061 | (forward_target_insert_breakpoint): ... this. | |
4062 | (target_remove_breakpoint): Split into this and ... | |
4063 | (forward_target_remove_breakpoint): ... this. | |
4064 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
4065 | Call forward_target_insert_breakpoint. | |
4066 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
4067 | Call forward_target_remove_breakpoint. | |
4068 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
4069 | and to_remove_breakpoint. | |
4070 | * corelow.c (ignore): Add target_ops parameter. | |
4071 | * exec.c (ignore): Add target_ops parameter. | |
4072 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
4073 | Add target_ops parameter. | |
4074 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
4075 | Add target_ops parameter. | |
4076 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
4077 | Add target_ops parameter. | |
4078 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
4079 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
4080 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
4081 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
4082 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
4083 | Update users. | |
4084 | (record_full_beneath_to_insert_breakpoint_ops) | |
4085 | (record_full_beneath_to_remove_breakpoint_ops) | |
4086 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
4087 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
4088 | tmp_to_remove_breakpoint_ops, | |
4089 | record_full_beneath_to_insert_breakpoint_ops, and | |
4090 | record_full_beneath_to_remove_breakpoint_ops. | |
4091 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
4092 | (m32r_remove_breakpoint): Add target_ops parameter. | |
4093 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
4094 | Add target_ops parameter. | |
4095 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
4096 | Add target_ops parameter. | |
4097 | ||
4098 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> | |
4099 | Markus Metzger <markus.t.metzger@intel.com> | |
4100 | ||
4101 | * record-btrace.c: Include frame-unwind.h. | |
4102 | (record_btrace_frame_unwind_stop_reason) | |
4103 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
4104 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
4105 | New. | |
4106 | (init_record_btrace_ops): Install it. | |
4107 | ||
4108 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> | |
4109 | ||
4110 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
4111 | get_prev_frame_1. | |
4112 | ||
4113 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> | |
4114 | ||
4115 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
4116 | earlier. | |
4117 | ||
4118 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> | |
4119 | ||
4120 | * frame-unwind.c: Include target.h. | |
4121 | (frame_unwind_try_unwinder): New function with code from ... | |
4122 | (frame_unwind_find_by_frame): ... here. New variable | |
4123 | unwinder_from_target, call also target_get_unwinder) | |
4124 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
4125 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
4126 | * target.h (struct target_ops): New fields to_get_unwinder and | |
4127 | to_get_tailcall_unwinder. | |
4128 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
4129 | ||
4130 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4131 | ||
4132 | * record-btrace.c (record_btrace_fetch_registers) | |
4133 | (record_btrace_store_registers) | |
4134 | (record_btrace_to_prepare_to_store): New. | |
4135 | (init_record_btrace_ops): Add the above. | |
4136 | ||
4137 | 2014-01-16 Tom Tromey <tromey@redhat.com> | |
4138 | ||
4139 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
4140 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
4141 | argument. | |
4142 | (target_prepare_to_store): Add argument. | |
4143 | * target.c (debug_to_prepare_to_store): Add argument. | |
4144 | (update_current_target): Update. | |
4145 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
4146 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
4147 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
4148 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
4149 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
4150 | argument. | |
4151 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
4152 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
4153 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
4154 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
4155 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
4156 | ||
4157 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4158 | ||
4159 | * btrace.h (replay) <replay>: New. | |
4160 | (btrace_is_replaying): New. | |
4161 | * btrace.c (btrace_clear): Free replay iterator. | |
4162 | (btrace_is_replaying): New. | |
4163 | * record-btrace.c (record_btrace_is_replaying): New. | |
4164 | (record_btrace_info): Print insn number if replaying. | |
4165 | (record_btrace_insn_history): Start at replay position. | |
4166 | (record_btrace_call_history): Start at replay position. | |
4167 | (init_record_btrace_ops): Init to_record_is_replaying. | |
4168 | ||
4169 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4170 | ||
4171 | * record-btrace.c (record_btrace_insn_history_range): Include | |
4172 | end. | |
4173 | (record_btrace_insn_history_from): Adjust range. | |
4174 | (record_btrace_call_history_range): Include | |
4175 | end. | |
4176 | (record_btrace_call_history_from): Adjust range. | |
4177 | * NEWS: Announce changes. | |
4178 | ||
4179 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4180 | ||
4181 | * record.h (enum record_print_flag) | |
4182 | <record_print_indent_calls>: New. | |
4183 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
4184 | (_initialize_record): Document /c modifier. | |
4185 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
4186 | Reorder fields. Optionally indent the function name. Update | |
4187 | all users. | |
4188 | * NEWS: Announce changes. | |
4189 | ||
4190 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4191 | ||
4192 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
4193 | ||
4194 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4195 | ||
4196 | * btrace.c (ftrace_new_function): Start counting at one. | |
4197 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
4198 | and insns. | |
4199 | * NEWS: Announce it. | |
4200 | ||
4201 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4202 | ||
4203 | * record-btrace.c (btrace_call_history_insn_range): Print | |
4204 | insn range as [begin, end]. | |
4205 | ||
4206 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4207 | ||
4208 | * btrace.h (struct btrace_func_link): New. | |
4209 | (enum btrace_function_flag): New. | |
4210 | (struct btrace_inst): Rename to ... | |
4211 | (struct btrace_insn): ...this. Update all users. | |
4212 | (struct btrace_func) <ibegin, iend>: Remove. | |
4213 | (struct btrace_func_link): New. | |
4214 | (struct btrace_func): Rename to ... | |
4215 | (struct btrace_function): ...this. Update all users. | |
4216 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
4217 | (number, level, flags>: New. | |
4218 | (struct btrace_insn_iterator): Rename to ... | |
4219 | (struct btrace_insn_history): ...this. | |
4220 | Update all users. | |
4221 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
4222 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
4223 | (struct btrace_target_info) <begin, end, level> | |
4224 | <insn_history, call_history>: New. | |
4225 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
4226 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
4227 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
4228 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
4229 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
4230 | (btrace_find_function_by_number, btrace_set_insn_history) | |
4231 | (btrace_set_call_history): New. | |
4232 | * btrace.c (btrace_init_insn_iterator) | |
4233 | (btrace_init_func_iterator, compute_itrace): Remove. | |
4234 | (ftrace_print_function_name, ftrace_print_filename) | |
4235 | (ftrace_skip_file): Change | |
4236 | parameter to const. | |
4237 | (ftrace_init_func): Remove. | |
4238 | (ftrace_debug): Use new btrace_function fields. | |
4239 | (ftrace_function_switched): Also consider gaining and | |
4240 | losing symbol information). | |
4241 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
4242 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
4243 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
4244 | New. | |
4245 | (ftrace_new_function): Move. Remove debug print. | |
4246 | (ftrace_update_lines, ftrace_update_insns): New. | |
4247 | (ftrace_update_function): Check for call, ret, and jump. | |
4248 | (compute_ftrace): Renamed to ... | |
4249 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
4250 | stack. | |
4251 | (btrace_fetch, btrace_clear): Updated. | |
4252 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
4253 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
4254 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
4255 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
4256 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
4257 | (btrace_find_function_by_number, btrace_set_insn_history) | |
4258 | (btrace_set_call_history): New. | |
4259 | * record-btrace.c (require_btrace): Use new btrace thread | |
4260 | info fields. | |
4261 | (record_btrace_info, btrace_insn_history) | |
4262 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
4263 | Use new btrace thread info fields and new iterator. | |
4264 | (btrace_func_history_src_line): Rename to ... | |
4265 | (btrace_call_history_src_line): ...this. Use new btrace | |
4266 | thread info fields. | |
4267 | (btrace_func_history): Rename to ... | |
4268 | (btrace_call_history): ...this. Use new btrace thread info | |
4269 | fields and new iterator. | |
4270 | (record_btrace_call_history, record_btrace_call_history_range): | |
4271 | Use new btrace thread info fields and new iterator. | |
4272 | ||
4273 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4274 | ||
4275 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
4276 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
4277 | ||
4278 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4279 | ||
4280 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
4281 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
4282 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
4283 | to gdbarch. | |
4284 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
4285 | (i386_insn_is_jump, i386_jmp_p): New. | |
4286 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
4287 | insn_is_jump to gdbarch. | |
4288 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
4289 | * gdbarch.h: Regenerated. | |
4290 | * gdbarch.c: Regenerated. | |
4291 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
4292 | (default_insn_is_jump): New. | |
4293 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
4294 | (default_insn_is_jump): New. | |
4295 | ||
4296 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4297 | ||
4298 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
4299 | Change to ... | |
4300 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
4301 | (btrace_read_type) <btrace_read_new>: Change to ... | |
4302 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
4303 | ||
4304 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
4305 | ||
4306 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
4307 | previous iteration. | |
4308 | ||
4309 | 2014-01-15 Doug Evans <dje@google.com> | |
4310 | ||
4311 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
4312 | uint32_t. | |
4313 | ||
4314 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
4315 | ||
4316 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
4317 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
4318 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
4319 | (set_objfile_main_name): New function. | |
4320 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
4321 | language_of_main>: New fields. | |
4322 | (set_objfile_main_name): Declare. | |
4323 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
4324 | name and language. | |
4325 | (set_main_name): Now static. | |
4326 | (get_main_info): Add comment. | |
4327 | * symtab.h (set_main_name): Don't declare. | |
4328 | ||
4329 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
4330 | ||
4331 | * symtab.c (main_progspace_key): New global. | |
4332 | (struct main_info): New. | |
4333 | (name_of_main, language_of_main): Remove. | |
4334 | (get_main_info, main_info_cleanup): New function. | |
4335 | (set_main_name, main_name, main_language): Use get_main_info. | |
4336 | (_initialize_symtab): Initialize main_progspace_key. | |
4337 | ||
4338 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
4339 | ||
4340 | * dbxread.c (process_one_symbol): Update. | |
4341 | * dwarf2read.c (read_partial_die): Update. | |
4342 | * symfile.c (set_initial_language): Call main_language. | |
4343 | * symtab.c (language_of_main): Now static. | |
4344 | (set_main_name): Add 'lang' parameter. | |
4345 | (find_main_name): Update. | |
4346 | (main_language): New function. | |
4347 | (symtab_observer_executable_changed): Update. | |
4348 | * symtab.h (set_main_name): Update. | |
4349 | (language_of_main): Remove. | |
4350 | (main_language): Declare. | |
4351 | ||
4352 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
4353 | ||
4354 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
4355 | Update. | |
4356 | * objfiles.h (struct entry_point) <initialized>: New field. | |
4357 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
4358 | (struct objfile) <ei>: ...here. Remove. | |
4359 | * objfiles.c (entry_point_address_query): Update. | |
4360 | ||
4361 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
4362 | ||
4363 | * objfiles.c (entry_point_address_query): Relocate entry point | |
4364 | address. | |
4365 | (objfile_relocate1): Do not relocate entry point address. | |
4366 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
4367 | <the_bfd_section_index>: New field. | |
4368 | * symfile.c (init_entry_point_info): Find the entry point's | |
4369 | section. | |
4370 | ||
4371 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
4372 | ||
4373 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
4374 | ||
4375 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
4376 | ||
4377 | * NEWS: Add note on improved process record-replay on | |
4378 | arm*-linux* targets. | |
4379 | ||
4380 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
4381 | ||
4382 | * arm-tdep.c (enum arm_record_result): New enum. | |
4383 | (arm_record_unsupported_insn): New function. | |
4384 | (arm_record_coproc_data_proc): Removed. | |
4385 | (thumb2_record_ld_st_multiple): New function. | |
4386 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
4387 | (thumb2_record_data_proc_sreg_mimm): New function. | |
4388 | (thumb2_record_ps_dest_generic): New function. | |
4389 | (thumb2_record_branch_misc_cntrl): New function. | |
4390 | (thumb2_record_str_single_data): New function. | |
4391 | (thumb2_record_ld_mem_hints): New function. | |
4392 | (thumb2_record_ld_word): New function. | |
4393 | (thumb2_record_lmul_lmla_div): New function. | |
4394 | (thumb2_record_decode_insn_handler): New function. | |
4395 | (decode_insn): Add thumb32 instruction handlers. | |
4396 | ||
4397 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
4398 | ||
4399 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
4400 | (struct arm_linux_record_tdep): Declare. | |
4401 | (arm_canonicalize_syscall): New function. | |
4402 | (arm_all_but_pc_registers_record): New function. | |
4403 | (arm_linux_syscall_record): New function. | |
4404 | (arm_linux_init_abi): Add syscall recording constructs. | |
4405 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
4406 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
4407 | decoding. | |
4408 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
4409 | <arm_syscall_record>: New field. | |
4410 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
4411 | gdb_target_obs. | |
4412 | ||
4413 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
4414 | ||
4415 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
4416 | register for push instruction recording. | |
4417 | ||
4418 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
4419 | ||
4420 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
4421 | error while recording ldm, ldmia and pop instructions. | |
4422 | ||
4423 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
4424 | ||
4425 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
4426 | ||
4427 | 2014-01-15 Pedro Alves <palves@redhat.com> | |
4428 | ||
4429 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
4430 | (go32_resume, go32_fetch_registers, store_register) | |
4431 | (go32_store_registers, go32_prepare_to_store) | |
4432 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
4433 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
4434 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
4435 | declarations. | |
4436 | ||
4437 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
4438 | ||
4439 | * target.h (async_callback_ftype): New typedef. | |
4440 | (struct target_ops) <to_async>: Use it. | |
4441 | ||
4442 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> | |
4443 | ||
4444 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
4445 | braces for single-statement if block. | |
4446 | ||
4447 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> | |
4448 | ||
4449 | * python/py-type.c (convert_field): Add missing empty line | |
4450 | after declarations. | |
4451 | ||
4452 | 2014-01-14 Doug Evans <dje@google.com> | |
4453 | ||
4454 | * symfile.h (expand_symtabs_matching): Renamed from | |
4455 | expand_partial_symbol_names. Update prototype. | |
4456 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
4457 | * symfile.c (expand_symtabs_matching): Renamed from | |
4458 | expand_partial_symbol_names. New args file_matcher, kind. | |
4459 | Rename arg fun to symbol_matcher. | |
4460 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
4461 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
4462 | ada_expand_partial_symbol_name. | |
4463 | (ada_make_symbol_completion_list): Update to call | |
4464 | expand_symtabs_matching. | |
4465 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
4466 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
4467 | call map_symbol_filenames. | |
4468 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
4469 | (search_symbols): Call expand_symtabs_matching. | |
4470 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
4471 | (default_make_symbol_completion_list_break_on): Update to call | |
4472 | expand_symtabs_matching. | |
4473 | (make_source_files_completion_list): Update to call | |
4474 | map_symbol_filenames. | |
4475 | ||
4476 | 2014-01-14 Doug Evans <dje@google.com> | |
4477 | ||
4478 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
4479 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
4480 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
4481 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
4482 | * symfile.c (expand_partial_symbol_names): Update to use | |
4483 | expand_symtabs_symbol_matcher_ftype. | |
4484 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
4485 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
4486 | Arg name_matcher renamed to symbol_matcher. | |
4487 | * psymtab.c (recursively_search_psymtabs): Update to use | |
4488 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
4489 | sym_matcher. | |
4490 | (expand_symtabs_matching_via_partial): Update to use | |
4491 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
4492 | Arg name_matcher renamed to symbol_matcher. | |
4493 | ||
4494 | 2014-01-14 Doug Evans <dje@google.com> | |
4495 | ||
4496 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
4497 | (map_partial_symbol_filenames): Ditto. | |
4498 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
4499 | (map_partial_symbol_filenames): Ditto. | |
4500 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
4501 | (map_partial_symbol_filenames): Ditto. | |
4502 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
4503 | (map_partial_symbol_filenames): Ditto. | |
4504 | * symtab.c: Delete #include "psymtab.h". | |
4505 | ||
4506 | 2014-01-14 Pedro Alves <palves@redhat.com> | |
4507 | Tom Tromey <tromey@redhat.com> | |
4508 | ||
4509 | * infrun.c (use_displaced_stepping): Use find_record_target | |
4510 | instead of RECORD_IS_USED. | |
4511 | (adjust_pc_after_break): Use record_full_is_used instead of | |
4512 | RECORD_IS_USED. | |
4513 | * record-btrace.c (record_btrace_open): Call record_preopen | |
4514 | instead of checking RECORD_IS_USED. | |
4515 | * record-full.c (record_full_shortname) | |
4516 | (record_full_core_shortname): New globals. | |
4517 | (record_full_is_used): New function. | |
4518 | (find_full_open): Call record_preopen instead of checking | |
4519 | RECORD_IS_USED. | |
4520 | (init_record_full_ops): Set the target's shortname to | |
4521 | record_full_shortname. | |
4522 | (init_record_full_core_ops): Set the target's shortname to | |
4523 | record_full_core_shortname. | |
4524 | * record-full.h (record_full_is_used): Declare. | |
4525 | * record.c (find_record_target): Make extern. | |
4526 | (record_preopen): New function. | |
4527 | * record.h (RECORD_IS_USED): Delete macro. | |
4528 | (find_record_target, record_preopen): Declare functions. | |
4529 | ||
4530 | 2014-01-14 Yao Qi <yao@codesourcery.com> | |
4531 | ||
4532 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
4533 | 'len''s type to ULONGEST. | |
4534 | (core_xfer_shared_libraries_aix): Likewise. | |
4535 | * gdbarch.c, gdbarch.h: Regenerated. | |
4536 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
4537 | Change type of 'len' to ULONGEST. | |
4538 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
4539 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
4540 | ||
4541 | 2014-01-14 Yao Qi <yao@codesourcery.com> | |
4542 | ||
4543 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
4544 | type of 'len' to ULONGEST. | |
4545 | (linux_xfer_osdata_processgroups): Likewise. | |
4546 | (linux_xfer_osdata_threads): Likewise. | |
4547 | (linux_xfer_osdata_fds): Likewise. | |
4548 | (linux_xfer_osdata_isockets): Likewise. | |
4549 | (linux_xfer_osdata_shm): Likewise. | |
4550 | (linux_xfer_osdata_sem): Likewise. | |
4551 | (linux_xfer_osdata_msg): Likewise. | |
4552 | (linux_common_xfer_osdata): Likewise. | |
4553 | (struct osdata_type) <getter>: Likewise. | |
4554 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
4555 | the declaration. | |
4556 | ||
4557 | 2014-01-14 Yao Qi <yao@codesourcery.com> | |
4558 | ||
4559 | * target.h (target_xfer_partial_ftype): Update. | |
4560 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
4561 | ULONGEST. | |
4562 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
4563 | argument 'len' to ULONGEST. | |
4564 | * auxv.c (procfs_xfer_auxv): Likewise. | |
4565 | (ld_so_xfer_auxv): Likewise. | |
4566 | (memory_xfer_auxv): Likewise. | |
4567 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
4568 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
4569 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
4570 | * corelow.c (core_xfer_partial): Likewise. | |
4571 | * ctf.c (ctf_xfer_partial): Likewise. | |
4572 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
4573 | '%u'. | |
4574 | (darwin_read_dyld_info): Likewise. | |
4575 | (darwin_xfer_partial): Likewise. | |
4576 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
4577 | (exec_xfer_partial): Likewise. | |
4578 | * exec.h (section_table_xfer_memory_partial): Update | |
4579 | declaration. | |
4580 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
4581 | instead of plongest. | |
4582 | (gnu_xfer_partial): Likewise. | |
4583 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
4584 | (ia64_hpux_xfer_solib_got): Likewise. | |
4585 | (ia64_hpux_xfer_partial): Likewise. | |
4586 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
4587 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
4588 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
4589 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
4590 | (linux_nat_xfer_partial): Likewise. | |
4591 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
4592 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
4593 | * monitor.c (monitor_xfer_memory): Likewise. | |
4594 | (monitor_xfer_partial): Likewise. | |
4595 | * procfs.c (procfs_xfer_partial): Likewise. | |
4596 | * record-full.c (record_full_xfer_partial): Likewise. | |
4597 | (record_full_core_xfer_partial): Likewise. | |
4598 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
4599 | instead of plongest. | |
4600 | (gdbsim_xfer_partial): Likewise. | |
4601 | * remote.c (remote_xfer_partial): Likewise. | |
4602 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
4603 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
4604 | declaration. | |
4605 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
4606 | (rs6000_xfer_shared_libraries): Likewise. | |
4607 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
4608 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
4609 | (sparc_xfer_partial): Likewise. | |
4610 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
4611 | (spu_xfer_partial): Likewise. | |
4612 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
4613 | * target.c (target_read_live_memory): Likewise. | |
4614 | (memory_xfer_live_readonly_partial): Likewise. | |
4615 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
4616 | (target_xfer_partial, default_xfer_partial): Likewise. | |
4617 | (current_xfer_partial): Likewise. | |
4618 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
4619 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
4620 | pulongest instead of plongest. | |
4621 | (windows_xfer_partial): Likewise. | |
4622 | (windows_xfer_shared_libraries): Likewise. | |
4623 | ||
4624 | 2014-01-14 Yao Qi <yao@codesourcery.com> | |
4625 | ||
4626 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
4627 | target_xfer_partial_ftype. | |
4628 | ||
4629 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> | |
4630 | ||
4631 | PR python/15464 | |
4632 | PR python/16113 | |
4633 | * valops.c (value_struct_elt_bitpos): New function | |
4634 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
4635 | object to 'None' if the field name is an empty string (""). | |
4636 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
4637 | attribute to look for a field when 'name' is 'None'. | |
4638 | (get_field_type): New function | |
4639 | ||
4640 | 2014-01-13 Doug Evans <dje@google.com> | |
4641 | ||
4642 | PR symtab/16426 | |
4643 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
4644 | (try_open_dwop_file): Ditto. | |
4645 | * gdb_bfd.c: #include "vec.h". | |
4646 | (bfdp): New typedef. | |
4647 | (struct gdb_bfd_data): New member included_bfds. | |
4648 | (gdb_bfd_unref): Unref all included bfds. | |
4649 | (gdb_bfd_record_inclusion): New function. | |
4650 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
4651 | ||
4652 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
4653 | ||
4654 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
4655 | ||
4656 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
4657 | ||
4658 | * defs.h (use_windows): Remove. | |
4659 | * gdb.c (main): Update. | |
4660 | * main.c (captured_main, gdb_main): Update. | |
4661 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
4662 | * top.c (use_windows): Remove. | |
4663 | ||
4664 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
4665 | ||
4666 | * defs.h (deprecated_flush_hook): Remove. | |
4667 | ||
4668 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> | |
4669 | ||
4670 | PR threads/16216 | |
4671 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
4672 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
4673 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
4674 | (try_thread_db_load_from_sdir): Update caller. | |
4675 | (try_thread_db_load_from_dir): Move it there from here. | |
4676 | ||
4677 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> | |
4678 | ||
4679 | * regformats/regdat.sh: Always rewrite the register file. | |
4680 | ||
4681 | 2014-01-13 Pedro Alves <palves@redhat.com> | |
4682 | ||
4683 | * Makefile.in (CHECK_HEADERS): New variable. | |
4684 | (check-headers:): New rule. | |
4685 | ||
4686 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
4687 | ||
4688 | * cli/cli-setshow.c (do_set_command): Update. | |
4689 | * defs.h (deprecated_set_hook): Remove. | |
4690 | * top.c (deprecated_set_hook): Remove. | |
4691 | ||
4692 | 2014-01-13 Pedro Alves <palves@redhat.com> | |
4693 | ||
4694 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
4695 | the tracepoint if the PC is a pseudo-register. | |
4696 | ||
4697 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
4698 | ||
4699 | * defs.h (XCALLOC): Remove. | |
4700 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
4701 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
4702 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
4703 | * elfread.c (elf_symfile_segments): Likewise. | |
4704 | (elf_symfile_segments): Likewise. | |
4705 | * gdbtypes.c (copy_type_recursive): Likewise. | |
4706 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
4707 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
4708 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
4709 | XCALLOC. | |
4710 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
4711 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
4712 | XCALLOC. | |
4713 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
4714 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
4715 | * registry.c (registry_alloc_data): Likewise. | |
4716 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
4717 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
4718 | * serial.c (serial_fdopen_ops): Likewise. | |
4719 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
4720 | XCALLOC. | |
4721 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
4722 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
4723 | not XCALLOC. | |
4724 | ||
4725 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
4726 | ||
4727 | * defs.h (XMALLOC): Remove. | |
4728 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
4729 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
4730 | * cli-out.c (struct ui_out *): Likewise. | |
4731 | * cli/cli-dump.c (add_dump_command): Likewise. | |
4732 | (add_dump_command): Likewise. | |
4733 | * complaints.c (get_complaints): Likewise. | |
4734 | (find_complaint): Likewise. | |
4735 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
4736 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
4737 | * gdbarch.sh: Likewise. | |
4738 | * gdbarch.c: Rebuild. | |
4739 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
4740 | * interps.c (interp_new): Likewise. | |
4741 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
4742 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
4743 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
4744 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
4745 | * mi/mi-out.c (mi_out_new): Likewise. | |
4746 | * mi/mi-parse.c (mi_parse): Likewise. | |
4747 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
4748 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
4749 | * observer.c (xalloc_observer_list_node): Likewise. | |
4750 | * regcache.c (regcache_xmalloc_1): Likewise. | |
4751 | * reggroups.c (reggroup_new): Likewise. | |
4752 | (_initialize_reggroup): Likewise. | |
4753 | * registry.c (register_data_with_cleanup): Likewise. | |
4754 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
4755 | * ser-base.c (serial_ttystate): Likewise. | |
4756 | * ser-mingw.c (make_pipe_state): Likewise. | |
4757 | * ser-pipe.c (pipe_open): Likewise. | |
4758 | * serial.c (serial_open): Likewise. | |
4759 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
4760 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
4761 | (tui_alloc_win_info): Likewise. | |
4762 | (tui_add_content_elements): Likewise. | |
4763 | * tui/tui-file.c (tui_file_new): Likewise. | |
4764 | * tui/tui-out.c (tui_out_new): Likewise. | |
4765 | * ui-file.c (mem_file_new): Likewise. | |
4766 | * ui-out.c (push_level): Likewise. | |
4767 | (make_cleanup_ui_out_end): Likewise. | |
4768 | (append_header_to_list): Likewise. | |
4769 | (ui_out_new): Likewise. | |
4770 | * user-regs.c (user_reg_add_builtin): Likewise. | |
4771 | ||
4772 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
4773 | ||
4774 | * defs.h (XZALLOC): Remove. | |
4775 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
4776 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
4777 | (get_ada_tasks_inferior_data): Likewise. | |
4778 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
4779 | * auxv.c (get_auxv_inferior_data): Likewise. | |
4780 | * bfd-target.c (target_bfd_reopen): Likewise. | |
4781 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
4782 | (deprecated_insert_raw_breakpoint): Likewise. | |
4783 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
4784 | * corelow.c (core_open): Likewise. | |
4785 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
4786 | (darwin_attach_pid): Likewise. | |
4787 | * dummy-frame.c (dummy_frame_push): Likewise. | |
4788 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
4789 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
4790 | * elfread.c (elf_symfile_segments): Likewise. | |
4791 | * eval.c (ptrmath_type_p): Likewise. | |
4792 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
4793 | * gdbtypes.c (alloc_type_arch): Likewise. | |
4794 | (alloc_type_instance): Likewise. | |
4795 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
4796 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
4797 | * inflow.c (get_inflow_inferior_data): Likewise. | |
4798 | * infrun.c (save_infcall_suspend_state): Likewise. | |
4799 | * jit.c (jit_reader_load): Likewise. | |
4800 | (get_jit_objfile_data): Likewise. | |
4801 | (get_jit_program_space_data): Likewise. | |
4802 | (jit_object_open_impl): Likewise. | |
4803 | (jit_symtab_open_impl): Likewise. | |
4804 | (jit_block_open_impl): Likewise. | |
4805 | (jit_frame_sniffer): Likewise. | |
4806 | * linux-fork.c (add_fork): Likewise. | |
4807 | * maint.c (make_command_stats_cleanup): Likewise. | |
4808 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
4809 | * opencl-lang.c (struct lval_closure): Likewise. | |
4810 | * osdata.c (osdata_start_osdata): Likewise. | |
4811 | * progspace.c (new_address_space): Likewise. | |
4812 | (add_program_space): Likewise. | |
4813 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
4814 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
4815 | * skip.c (Ignore): Likewise. | |
4816 | (skip_delete_command): Likewise. | |
4817 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
4818 | (library_list_start_library): Likewise. | |
4819 | (solib_aix_current_sos): Likewise. | |
4820 | * solib-darwin.c (get_darwin_info): Likewise. | |
4821 | (darwin_current_sos): Likewise. | |
4822 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
4823 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
4824 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
4825 | * solib-spu.c (append_ocl_sos): Likewise. | |
4826 | (spu_current_sos): Likewise. | |
4827 | * solib-svr4.c (get_svr4_info): Likewise. | |
4828 | (svr4_keep_data_in_core): Likewise. | |
4829 | (library_list_start_library): Likewise. | |
4830 | (svr4_default_sos): Likewise. | |
4831 | (svr4_read_so_list): Likewise. | |
4832 | * solib-target.c (library_list_start_library): Likewise. | |
4833 | (solib_target_current_sos): Likewise. | |
4834 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
4835 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
4836 | * symfile.c (default_symfile_segments): Likewise. | |
4837 | * target-descriptions.c (tdesc_data_init): Likewise. | |
4838 | (tdesc_create_reg): Likewise. | |
4839 | (struct tdesc_type *): Likewise. | |
4840 | (tdesc_create_vector): Likewise. | |
4841 | (tdesc_set_struct_size): Likewise. | |
4842 | (struct tdesc_type *): Likewise. | |
4843 | (tdesc_free_feature): Likewise. | |
4844 | (tdesc_create_feature): Likewise. | |
4845 | * windows-nat.c (windows_add_thread): Likewise. | |
4846 | (windows_make_so): Likewise. | |
4847 | * xml-support.c (gdb_xml_body_text): Likewise. | |
4848 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
4849 | (xml_process_xincludes): Likewise. | |
4850 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
4851 | (syscall_create_syscall_desc): Likewise. | |
4852 | ||
4853 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> | |
4854 | ||
4855 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
4856 | function, with code from i386_stap_parse_special_token. | |
4857 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
4858 | (i386_stap_parse_special_token): Move code to the two functions | |
4859 | above; simplify it. | |
4860 | ||
4861 | 2014-01-09 Pedro Alves <palves@redhat.com> | |
4862 | Hui Zhu <hui@codesourcery.com> | |
4863 | ||
4864 | PR gdb/16101 | |
4865 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
4866 | bp_err_string. Don't mark the location shlib_disabled if the | |
4867 | error thrown wasn't a generic or memory error. Catch errors | |
4868 | thrown while inserting breakpoints in overlayed code. Output | |
4869 | error message of software breakpoints. | |
4870 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
4871 | target-side commands but this stub doesn't support Z0 packets, | |
4872 | throw NOT_SUPPORTED_ERROR error. | |
4873 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
4874 | * target.h (target_insert_breakpoint): Extend comment. | |
4875 | (target_insert_hw_breakpoint): Add comment. | |
4876 | ||
4877 | 2014-01-08 Pedro Alves <palves@redhat.com> | |
4878 | ||
4879 | * remote.c (remote_add_thread): Add threads silently if starting | |
4880 | up. | |
4881 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
4882 | don't call notice_new_inferior. | |
4883 | (get_current_thread): New function, factored out from ... | |
4884 | (add_current_inferior_and_thread): ... this. Adjust. | |
4885 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
4886 | found any thread, then select the remote's current thread as GDB's | |
4887 | current thread too. | |
4888 | ||
4889 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> | |
4890 | ||
4891 | * NEWS: Create a new section for the next release branch. | |
4892 | Rename the section of the current branch, now that it has | |
4893 | been cut. | |
4894 | ||
4895 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> | |
4896 | ||
4897 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
4898 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
4899 | ||
4900 | 2014-01-08 Yao Qi <yao@codesourcery.com> | |
4901 | ||
4902 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
4903 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
4904 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
4905 | ||
4906 | 2014-01-08 Yao Qi <yao@codesourcery.com> | |
4907 | ||
4908 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
4909 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
4910 | ||
4911 | 2014-01-08 Pierre Muller <muller@sourceware.org> | |
4912 | ||
4913 | Fix PR16201. | |
4914 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
4915 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
4916 | to prim_record_mininal_symbol_and_info. | |
4917 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
4918 | in call to prim_record_minimal_symbol_and_info. | |
4919 | (read_pe_exported_syms): Set index field of section_data. | |
4920 | ||
4921 | 2014-01-07 Andrew Pinski <apinski@cavium.com> | |
4922 | ||
4923 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
4924 | * features/aarch64.c: Regenerate. | |
4925 | ||
4926 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> | |
4927 | ||
4928 | * target.c (return_null): Define. | |
4929 | (update_current_target): Use it instead of return_zero for | |
4930 | functions that return a pointer. | |
4931 | ||
4932 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> | |
4933 | ||
4934 | * source.c (add_path): Fix check for duplicated paths in the previously | |
4935 | included paths. | |
4936 | ||
4937 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> | |
4938 | ||
4939 | * ada-lang.c: Remove duplicated include statements. | |
4940 | * alphabsd-nat.c: Ditto. | |
4941 | * amd64-darwin-tdep.c: Ditto. | |
4942 | * amd64fbsd-nat.c: Ditto. | |
4943 | * auto-load.c: Ditto. | |
4944 | * ax-gdb.c: Ditto. | |
4945 | * breakpoint.c: Ditto. | |
4946 | * dbxread.c: Ditto. | |
4947 | * fork-child.c: Ditto. | |
4948 | * gdb_usleep.c: Ditto. | |
4949 | * i386-darwin-tdep.c: Ditto. | |
4950 | * i386fbsd-nat.c: Ditto. | |
4951 | * infcmd.c: Ditto. | |
4952 | * inferior.c: Ditto. | |
4953 | * jv-lang.c: Ditto. | |
4954 | * linux-nat.c: Ditto. | |
4955 | * linux-tdep.c: Ditto. | |
4956 | * m68kbsd-nat.c: Ditto. | |
4957 | * m68klinux-nat.c: Ditto. | |
4958 | * microblaze-tdep.c: Ditto. | |
4959 | * mips-linux-tdep.c: Ditto. | |
4960 | * mn10300-tdep.c: Ditto. | |
4961 | * nto-tdep.c: Ditto. | |
4962 | * opencl-lang.c: Ditto. | |
4963 | * osdata.c: Ditto. | |
4964 | * printcmd.c: Ditto. | |
4965 | * regcache.c: Ditto. | |
4966 | * remote-m32r-sdi.c: Ditto. | |
4967 | * remote.c: Ditto. | |
4968 | * symfile.c: Ditto. | |
4969 | * symtab.c: Ditto. | |
4970 | * tilegx-linux-nat.c: Ditto. | |
4971 | * tilegx-tdep.c: Ditto. | |
4972 | * tracepoint.c: Ditto. | |
4973 | * valops.c: Ditto. | |
4974 | * vaxbsd-nat.c: Ditto. | |
4975 | * windows-nat.c: Ditto. | |
4976 | * xtensa-tdep.c: Ditto. | |
4977 | ||
4978 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
4979 | ||
4980 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
4981 | ||
4982 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
4983 | Joel Brobecker <brobecker@adacore.com> | |
4984 | ||
4985 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
4986 | (pdc_write_regs): Likewise. | |
4987 | (fetch_regs_kernel_thread): Likewise. | |
4988 | (store_regs_kernel_thread): Likewise. | |
4989 | ||
4990 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
4991 | ||
4992 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
4993 | tagged type objects to their actual type. | |
4994 | ||
4995 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
4996 | ||
4997 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
4998 | Update calls to print_field_values and print_variant_part. | |
4999 | Pass new parameter "language" in call to val_print instead | |
5000 | of "current_language". Replace call to ada_val_print by call | |
5001 | to val_print. | |
5002 | (print_variant_part): Add "language" parameter. | |
5003 | (ada_val_print_struct_union): Update call to print_field_values. | |
5004 | ||
5005 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5006 | ||
5007 | * ada-valprint.c (ui_memcpy): Delete. | |
5008 | (ada_print_floating): Update documentation. Add empty line | |
5009 | between between function documentation and implementation. | |
5010 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
5011 | ui_file_put. Minor adjustments following this change. | |
5012 | ||
5013 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5014 | ||
5015 | * ada-valprint.c (ada_val_print_string): New function, | |
5016 | extracted from ada_val_print_array. | |
5017 | (ada_val_print_array): Replace extracted code by call | |
5018 | to ada_val_print_string followed by a return. Move | |
5019 | "else" branch to the function's top block. | |
5020 | ||
5021 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5022 | ||
5023 | * ada-valprint.c (ada_val_print_array): Move implementation | |
5024 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
5025 | and "original_value" respectively. Add parameter "offset". | |
5026 | ||
5027 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5028 | ||
5029 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
5030 | re-organizing the code. Change the "???" message printed | |
5031 | when target type is a TYPE_CODE_UNDEF into | |
5032 | "<ref to undefined type>". | |
5033 | ||
5034 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5035 | ||
5036 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
5037 | (ada_val_print_struct_union): ... here. Remove call to | |
5038 | ada_check_typedef in inlined implementation. | |
5039 | ||
5040 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5041 | ||
5042 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
5043 | extracted from ada_val_print_1; | |
5044 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
5045 | (ada_val_print_flt, ada_val_print_struct_union) | |
5046 | (ada_val_print_ref): Likewise. | |
5047 | (ada_val_print_1): Delete variables i and elttype. | |
5048 | Replace extracted-out code by call to corresponding | |
5049 | new functions. | |
5050 | ||
5051 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5052 | ||
5053 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
5054 | ||
5055 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5056 | ||
5057 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
5058 | ada_val_print_1 by calls to val_print. | |
5059 | ||
5060 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5061 | ||
5062 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
5063 | Update calls to self accordingly. Replace calls to c_val_print | |
5064 | by calls to val_print. | |
5065 | ||
5066 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5067 | ||
5068 | * ada-valprint.c (print_record): Delete declaration. | |
5069 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
5070 | (ada_val_print): Move function implementation down. | |
5071 | (print_variant_part, print_field_values, print_record): | |
5072 | Move function implementation up. | |
5073 | ||
5074 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
5075 | ||
5076 | * python/py-type.c (typy_get_name): New function. | |
5077 | (type_object_getset): Add entry for attribute "name". | |
5078 | * NEWS: Add entry mentioning this new attribute. | |
5079 | ||
5080 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
5081 | ||
5082 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
5083 | statement. | |
5084 | ||
5085 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
5086 | ||
5087 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
5088 | argument args. | |
5089 | ||
5090 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
5091 | ||
5092 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
5093 | ||
5094 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
5095 | ||
5096 | * gnu-nat.c (make_inf) Update declaration. | |
5097 | (make_inf): Make it static. | |
5098 | (inf_set_traced): Likewise. | |
5099 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
5100 | ||
5101 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
5102 | ||
5103 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
5104 | ||
5105 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
5106 | ||
5107 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
5108 | ||
5109 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
5110 | ||
5111 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
5112 | 'enum bfd_endian'. | |
5113 | (struct gdbarch_info) <byte_order>: Change type to | |
5114 | 'enum bfd_endian'. | |
5115 | <byte_order_for_code>: Likewise. | |
5116 | * gdbarch.c, gdbarch.h: Regenerated. | |
5117 | ||
5118 | 2014-01-06 Sasha Smundak <asmundak@google.com> | |
5119 | ||
5120 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
5121 | ||
5122 | 2014-01-06 Tom Tromey <tromey@redhat.com> | |
5123 | ||
5124 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
5125 | CONST. | |
5126 | * somread.c (som_symtab_read): Likewise. | |
5127 | ||
5128 | 2014-01-07 Hui Zhu <hui@codesourcery.com> | |
5129 | ||
5130 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
5131 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
5132 | (gdb_bfd_fopen): Ditto. | |
5133 | (gdb_bfd_openr): Ditto. | |
5134 | (gdb_bfd_openw): Ditto. | |
5135 | (gdb_bfd_openr_iovec): Ditto. | |
5136 | (gdb_bfd_fdopenr): Ditto. | |
5137 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
5138 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
5139 | with xstrdup. | |
5140 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
5141 | with xstrdup. | |
5142 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
5143 | gdb_bfd_stash_filename. | |
5144 | ||
5145 | 2014-01-03 Doug Evans <dje@google.com> | |
5146 | ||
5147 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
5148 | output. | |
5149 | ||
5150 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> | |
5151 | ||
5152 | Update year range in copyright notice of all files. | |
5153 | ||
5154 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> | |
5155 | ||
5156 | * top.c (print_gdb_version): Set copyright year to 2014. | |
5157 | ||
5158 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> | |
5159 | ||
5160 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
5161 | ||
5162 | For older changes see ChangeLog-2013. | |
5163 | \f | |
5164 | Local Variables: | |
5165 | mode: change-log | |
5166 | left-margin: 8 | |
5167 | fill-column: 74 | |
5168 | version-control: never | |
5169 | coding: utf-8 | |
5170 | End: |