Commit | Line | Data |
---|---|---|
1834676b TT |
1 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
2 | ||
3 | * completer.c (complete_line): Make "line_buffer" const. | |
4 | * completer.h (complete_line): Update. | |
5 | ||
ac1a991b TT |
6 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
7 | ||
8 | * symtab.c (add_macro_name): Remove unneeded cast. | |
9 | ||
5bc98e52 TT |
10 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
11 | ||
12 | * cli/cli-setshow.h (parse_cli_boolean_value): Update. | |
13 | * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. | |
14 | ||
8236def8 TT |
15 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
16 | ||
17 | * probe.c (info_probes_for_ops): Make "arg" const. | |
18 | * probe.h (info_probes_for_ops): Update. | |
19 | ||
3977b71f TT |
20 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
21 | ||
22 | * varobj.c (varobj_create): Update. | |
23 | * valops.c (value_of_this): Update. | |
24 | * tracepoint.c (add_local_symbols, scope_info): Update. | |
25 | * symtab.h (struct general_symbol_info) <block>: Now const. | |
26 | * symtab.c (skip_prologue_sal) | |
27 | (default_make_symbol_completion_list_break_on) | |
28 | (skip_prologue_using_sal): Update. | |
29 | * stack.h (iterate_over_block_locals) | |
30 | (iterate_over_block_local_vars): Update. | |
31 | * stack.c (print_frame_args): Update. | |
32 | (iterate_over_block_locals, iterate_over_block_local_vars): Make | |
33 | parameter const. | |
34 | (get_selected_block): Make return type const. | |
35 | * python/py-frame.c (frapy_block): Update. | |
36 | * python/py-block.c (gdbpy_block_for_pc): Update. | |
37 | * p-exp.y (%union) <bval>: Now const. | |
38 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
39 | * mdebugread.c (mylookup_symbol, parse_procedure): Update. | |
40 | * m2-exp.y (%union) <bval>: Now const. | |
41 | * linespec.c (get_current_search_block): Make return type const. | |
42 | (create_sals_line_offset, find_label_symbols): Update. | |
43 | * inline-frame.c (inline_frame_sniffer, skip_inline_frames): | |
44 | Update. | |
45 | (block_starting_point_at): Make "block" const. | |
46 | * infrun.c (insert_exception_resume_breakpoint): Make "b" const. | |
47 | (check_exception_resume): Update. | |
48 | * guile/scm-frame.c (gdbscm_frame_block): Update. | |
49 | * guile/scm-block.c (gdbscm_lookup_block): Update. | |
50 | * frame.h (get_frame_block): Update. | |
51 | (get_selected_block): Make return type const. | |
52 | * frame.c (frame_id_inner): Update. | |
53 | * f-valprint.c (info_common_command_for_block) | |
54 | (info_common_command): Update. | |
55 | * dwarf2loc.c (dwarf2_find_location_expression) | |
56 | (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) | |
57 | (locexpr_describe_location_piece): Update. | |
58 | * c-exp.y (%union) <bval>: Now const. | |
59 | * breakpoint.c (resolve_sal_pc): Update. | |
60 | * blockframe.c (get_frame_block):Make return type const. | |
61 | (get_pc_function_start, get_frame_function, find_pc_sect_function) | |
62 | (block_innermost_frame): Update. | |
63 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
64 | (block_for_pc, block_for_pc_sect): Update. | |
65 | * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make | |
66 | 'pblock' const. | |
67 | (block_for_pc_sect, block_for_pc): Make return type const. | |
68 | * ax-gdb.c (gen_expr): Update. | |
69 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
70 | * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. | |
71 | (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) | |
72 | (ada_read_var_value): Update. | |
73 | * ada-exp.y (struct name_info) <block>: Now const. | |
74 | (%union): Likewise. | |
75 | (block_lookup): Constify. | |
76 | ||
b9228891 GB |
77 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
78 | ||
79 | * nat/i386-dregs.h: New file. | |
80 | * Makefile.in (HFILES_NO_SRCDIR): Add the above. | |
81 | * i386-nat.h (i386-dregs.h): New include. | |
82 | (DR_FIRSTADDR): Now in i386-dregs.h. | |
83 | (DR_LASTADDR): Likewise. | |
84 | (DR_NADDR): Likewise. | |
85 | (DR_STATUS): Likewise. | |
86 | (DR_CONTROL): Likewise. | |
87 | (i386_debug_reg_state): Likewise. | |
88 | * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. | |
89 | ||
a1aa2221 LM |
90 | 2014-06-18 Don Breazeal <donb@codesourcery.com> |
91 | ||
92 | * breakpoint.c (set_longjmp_breakpoint): Call | |
93 | momentary_breakpoint_from_master with additional argument. | |
94 | (set_longjmp_breakpoint_for_call_dummy): Call | |
95 | momentary_breakpoint_from_master with additional argument. | |
96 | (set_std_terminate_breakpoint): Call | |
97 | momentary_breakpoint_from_master with additional argument. | |
98 | (momentary_breakpoint_from_master): Add argument to function | |
99 | definition and use it to initialize structure member flag. | |
100 | (clone_momentary_breakpoint): Call | |
101 | momentary_breakpoint_from_master with additional argument. | |
102 | * infrun.c (follow_inferior_reset_breakpoints): Clear structure | |
103 | member flags set in momentary_breakpoint_from_master. | |
104 | ||
4be83cc2 GB |
105 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
106 | ||
107 | * i386-nat.c (i386_show_dr): Renamed to | |
108 | i386_dr_show and made nonstatic. All uses updated. | |
109 | (i386_length_and_rw_bits): Renamed to | |
110 | i386_dr_length_and_rw_bits and made nonstatic. | |
111 | All uses updated. | |
112 | (i386_insert_aligned_watchpoint): Renamed to | |
113 | i386_dr_insert_aligned_watchpoint and made nonstatic. | |
114 | All uses updated. | |
115 | (i386_remove_aligned_watchpoint): Renamed to | |
116 | i386_dr_remove_aligned_watchpoint and made nonstatic. | |
117 | All uses updated. | |
118 | (i386_update_inferior_debug_regs): Renamed to | |
119 | i386_dr_update_inferior_debug_regs and made nonstatic. | |
120 | All uses updated. | |
121 | ||
131aa0d4 GB |
122 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
123 | ||
124 | * i386-nat.c (i386_dr_low_can_set_addr): New macro. | |
125 | (i386_dr_low_can_set_control): Likewise. | |
126 | (i386_dr_low_set_addr): Likewise. | |
127 | (i386_dr_low_set_control): Likewise. | |
128 | (i386_dr_low_get_addr): Likewise. | |
129 | (i386_dr_low_get_status): Likewise. | |
130 | (i386_dr_low_get_control): Likewise. | |
131 | (i386_insert_aligned_watchpoint): Use new macros. | |
132 | (i386_update_inferior_debug_regs): Likewise. | |
133 | (i386_stopped_data_address): Likewise. | |
134 | ||
d9305f7f GB |
135 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
136 | ||
137 | * i386-nat.c (i386_update_inferior_debug_regs) <state>: | |
138 | New parameter. All uses updated. | |
139 | ||
ea008da4 GB |
140 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
141 | ||
142 | * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. | |
143 | All uses updated. | |
144 | ||
1b6d4134 GB |
145 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
146 | ||
147 | * i386-nat.c (debug_printf): New macro. | |
148 | (i386_get_debug_register_length): Likewise. | |
149 | (TARGET_HAS_DR_LEN_8): Use above macro. | |
150 | (i386_show_dr): Use debug_printf instead of puts_unfiltered | |
151 | and printf_unfiltered. Use phex to format values. | |
152 | ||
9b4550ef GB |
153 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
154 | ||
155 | * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>: | |
156 | Make const. | |
157 | ||
6e62758f GB |
158 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
159 | ||
160 | * i386-nat.c: Comment changes. | |
161 | ||
51c79e94 GB |
162 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
163 | ||
164 | * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. | |
165 | ||
3e11889a GB |
166 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
167 | ||
168 | * i386-nat.c (i386_length_and_rw_bits): Remove prototype. | |
169 | (i386_insert_aligned_watchpoint): Likewise. | |
170 | (i386_remove_aligned_watchpoint): Likewise. | |
171 | (i386_handle_nonaligned_watchpoint): Likewise. | |
172 | ||
fc6e2f03 GB |
173 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
174 | ||
175 | * i386-nat.c: Whitespace changes. | |
176 | ||
2afe7d50 SB |
177 | 2014-06-17 Samuel Bronson <naesten@gmail.com> |
178 | ||
179 | * MAINTAINERS: Update Roland McGrath's email address. | |
180 | Thanks to Sergio Durigan Junior for pointing out that he left | |
6a83deea | 181 | Red Hat a while ago, and giving me a current address. |
2afe7d50 | 182 | |
3bca49ee TT |
183 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
184 | ||
185 | * utils.h (savestring): Remove declaration. | |
186 | ||
6e366df1 TT |
187 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
188 | ||
189 | * remote.c (extended_remote_run): Use make_cleanup_freeargv. | |
190 | ||
6be47f0c KS |
191 | 2014-06-16 Keith Seitz <keiths@redhat.com> |
192 | ||
193 | PR mi/15863 | |
194 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt | |
195 | to update the varobj if inferior_ptid is null_ptid. | |
196 | ||
7bc112c1 TT |
197 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
198 | ||
199 | * target.h (struct target_ops) <to_info_proc>: Make parameter | |
200 | const. | |
201 | (target_info_proc): Update. | |
202 | * target.c (target_info_proc): Make "args" const. | |
203 | * procfs.c (procfs_info_proc): Update. | |
204 | * linux-tdep.c (linux_info_proc): Update. | |
205 | (linux_core_info_proc_mappings): Make "args" const. | |
206 | (linux_core_info_proc): Update. | |
207 | * gdbarch.sh (info_proc, core_info_proc): Make "args" const. | |
208 | * gdbarch.c: Rebuild. | |
209 | * gdbarch.h: Rebuild. | |
210 | * corelow.c (core_info_proc): Update. | |
211 | ||
fee354ee TT |
212 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
213 | ||
214 | * target.h (struct target_ops) <to_disconnect>: Make parameter | |
215 | const. | |
216 | (target_disconnect): Update. | |
217 | * target.c (target_disconnect): Make "args" const. | |
218 | * target-delegates.c: Rebuild. | |
219 | * remote.c (remote_disconnect): Update. | |
220 | * record.h (record_disconnect): Update. | |
221 | * record.c (record_disconnect): Update. | |
222 | * inf-child.c (inf_child_disconnect): Update. | |
223 | ||
a30bf1f1 TT |
224 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
225 | ||
226 | * target.h (struct target_ops) <to_rcmd>: Make "command" const. | |
227 | * target.c (debug_to_rcmd, default_rcmd): Update. | |
228 | * target-delegates.c: Rebuild. | |
229 | * remote.c (remote_rcmd): Update. | |
230 | * monitor.c (monitor_rcmd): Update. | |
231 | ||
d03de421 PA |
232 | 2014-06-16 Pedro Alves <palves@redhat.com> |
233 | ||
234 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. | |
235 | (disable_breakpoints_in_freed_objfile): Skip objfiles that don't | |
236 | have OBJF_SHARED set. | |
237 | * objfiles.c (userloaded_objfile_contains_address_p): Rename to... | |
238 | (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED | |
239 | instead of OBJF_USERLOADED. | |
240 | * objfiles.h (OBJF_SHARED): Update comment. | |
241 | (userloaded_objfile_contains_address_p): Rename to ... | |
242 | (shared_objfile_contains_address_p): ... this, and update | |
243 | comments. | |
244 | * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the | |
245 | new objfile. | |
246 | (remove_symbol_file_command): Skip objfiles that don't have | |
247 | OBJF_SHARED set. | |
248 | ||
99f4262f TT |
249 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
250 | ||
251 | * minsyms.h (prim_record_minimal_symbol) | |
252 | (prim_record_minimal_symbol_and_info): Update comments. | |
253 | ||
97d66cc6 EZ |
254 | 2014-06-14 Eli Zaretskii <eliz@gnu.org> |
255 | ||
256 | * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile | |
257 | or --without-guile, according to how GDB was built. | |
258 | ||
635c7e8a TT |
259 | 2014-06-13 Tom Tromey <tromey@redhat.com> |
260 | ||
261 | * cp-support.c (maint_cplus_command): Pass all_commands, not -1, | |
262 | to help_list. | |
263 | * guile/guile.c (info_guile_command): Pass all_commands, not -1, | |
264 | to help_list. | |
265 | * tui/tui-win.c (tui_command): Pass all_commands, not -1, to | |
266 | help_list. | |
267 | * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to | |
268 | help_list.Pass all_commands, not -1, to help_list. | |
269 | * cli/cli-dump.c (dump_command, append_command) | |
270 | (srec_dump_command, ihex_dump_command, tekhex_dump_command) | |
271 | (binary_dump_command, binary_append_command): Pass all_commands, | |
272 | not -1, to help_list. | |
273 | * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not | |
274 | -1, to help_list. | |
275 | * valprint.c (set_print, set_print_raw): Pass all_commands, not | |
276 | -1, to help_list. | |
277 | * typeprint.c (set_print_type): Pass all_commands, not -1, to | |
278 | help_list. | |
279 | * top.c (set_history): Pass all_commands, not -1, to help_list. | |
280 | * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass | |
281 | all_commands, not -1, to help_list. | |
282 | * symfile.c (overlay_command): Pass all_commands, not -1, to | |
283 | help_list. | |
284 | * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to | |
285 | help_list. | |
286 | * serial.c (serial_set_cmd): Pass all_commands, not -1, to | |
287 | help_list. | |
288 | * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not | |
289 | -1, to help_list. | |
290 | * remote.c (remote_command, set_remote_cmd): Pass all_commands, | |
291 | not -1, to help_list. | |
292 | * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, | |
293 | not -1, to help_list. | |
294 | * maint.c (maintenance_command, maintenance_info_command) | |
295 | (maintenance_print_command, maintenance_set_cmd): Pass | |
296 | all_commands, not -1, to help_list. | |
297 | * macrocmd.c (macro_command): Pass all_commands, not -1, to | |
298 | help_list. | |
299 | * language.c (set_check): Pass all_commands, not -1, to help_list. | |
300 | * infcmd.c (unset_command): Pass all_commands, not -1, to | |
301 | help_list. | |
302 | * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to | |
303 | help_list. | |
304 | * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to | |
305 | help_list. | |
306 | * dcache.c (set_dcache_command): Pass all_commands, not -1, to | |
307 | help_list. | |
308 | * breakpoint.c (save_command): Pass all_commands, not -1, to | |
309 | help_list. | |
310 | * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass | |
311 | all_commands, not -1, to help_list. | |
312 | ||
b94ade42 PL |
313 | 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com> |
314 | ||
315 | * regcache.c (struct register_to_invalidate): New structure. | |
316 | (do_register_invalidate, make_cleanup_regcache_invalidate): New | |
317 | functions. | |
318 | (regcache_raw_write): Call make_cleanup_regcache_invalidate. | |
319 | ||
31f628ae YQ |
320 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
321 | ||
322 | * varobj.c (varobj_get_num_children): Call | |
323 | varobj_is_dynamic_p. | |
324 | (varobj_list_children): Likewise. | |
325 | (varobj_update): Likewise. Update comments. | |
326 | ||
cde5ef40 YQ |
327 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
328 | ||
329 | * varobj.c (varobj_pretty_printed_p): Rename to ... | |
330 | (varobj_is_dynamic_p): ... this. New function. | |
331 | * varobj.h (varobj_pretty_printed_p): Remove declaration. | |
332 | (varobj_is_dynamic_p): Declare. | |
333 | * mi/mi-cmd-var.c (print_varobj): All callers updated. | |
334 | (mi_print_value_p, varobj_update_one): Likewise. | |
335 | ||
576ea091 YQ |
336 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
337 | Yao Qi <yao@codesourcery.com> | |
338 | ||
339 | * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". | |
340 | (varobj_get_iterator): Wrap up code for pretty-printer by | |
341 | "#if HAVE_PYTHON" and "#endif". | |
342 | (update_dynamic_varobj_children): Likewise. | |
343 | ||
827f100c YQ |
344 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
345 | Yao Qi <yao@codesourcery.com> | |
346 | ||
347 | * python/py-varobj.c (py_varobj_iter_next): Return NULL if | |
348 | gdb_python_initialized is false. Move some code from varobj.c. | |
349 | * varobj-iter.h (struct varobj_item): Moved from varobj.c. | |
350 | * varobj.c: Move "varobj-iter.h" inclusion earlier. | |
351 | (struct varobj_item): Moved to varobj-iter.h". | |
352 | (varobj_clear_saved_item): New function. | |
353 | (update_dynamic_varobj_children): Move python-related code to | |
354 | py-varobj.c. | |
355 | (free_variable): Call varobj_clear_saved_item and | |
356 | varobj_iter_delete. | |
357 | ||
e5250216 YQ |
358 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
359 | Yao Qi <yao@codesourcery.com> | |
360 | ||
361 | * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". | |
362 | (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". | |
363 | (HFILES_NO_SRCDIR): Add "varobj-iter.h". | |
364 | (py-varobj.o): New rule. | |
365 | * python/py-varobj.c: New file. | |
366 | * python/python-internal.h (py_varobj_get_iterator): Declare. | |
367 | * varobj-iter.h: New file. | |
368 | * varobj.c: Include "varobj-iter.h" | |
369 | (struct varobj) <child_iter>: Change its type from "PyObject *" | |
370 | to "struct varobj_iter *". | |
371 | <saved_item>: Likewise. | |
372 | [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. | |
373 | [HAVE_PYTHON] (varobj_get_iterator): New function. | |
374 | (update_dynamic_varobj_children) [HAVE_PYTHON]: Move | |
375 | python-specific code to python/py-varobj.c. | |
376 | (install_visualizer): Call varobj_iter_delete instead of | |
377 | Py_XDECREF. | |
378 | * varobj.h (varobj_ensure_python_env): Declare. | |
379 | ||
5a2e0d6e YQ |
380 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
381 | ||
382 | * varobj.c (struct varobj_item): New structure. | |
383 | (create_child_with_value): Update declaration. | |
384 | (varobj_add_child): Replace arguments 'name' and 'value' with | |
385 | 'item'. All callers updated. | |
386 | (install_dynamic_child): Likewise. | |
387 | (update_dynamic_varobj_children): Likewise. | |
388 | (varobj_add_child): Likewise. | |
389 | (create_child_with_value): Likewise. | |
390 | ||
919b9a93 JB |
391 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
392 | ||
393 | * NEWS: Create a new section for the next release branch. | |
394 | Rename the section of the current branch, now that it has | |
395 | been cut. | |
396 | ||
71a55bdf JB |
397 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
398 | ||
399 | GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): | |
400 | * version.in: Bump version to 7.8.50.DATE-cvs. | |
401 | ||
364fe1f7 PA |
402 | 2014-06-11 Pedro Alves <palves@redhat.com> |
403 | ||
404 | PR remote/17028 | |
405 | * ser-mingw.c (net_windows_socket_check_pending): New function. | |
406 | (net_windows_select_thread): Ignore spurious wakeups. Use | |
407 | net_windows_socket_check_pending. | |
408 | (net_windows_wait_handle): Check for pending events with | |
409 | ioctlsocket, through net_windows_socket_check_pending, instead of | |
410 | checking the socket's event. | |
411 | ||
5a6c7709 SC |
412 | 2014-06-10 Siva Chandra Reddy <sivachandra@google.com> |
413 | ||
414 | * python/python-internal.h (gdb_PyObject_GetAttrString) | |
415 | (gdb_PyObject_HasAttrString): New inline function definitions. | |
416 | * py-value.c (get_field_flag): Remove the now unnecessary cast to | |
417 | char * of the second argument to PyObject_GetAttrString. | |
418 | ||
0e58ee40 JB |
419 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
420 | ||
421 | * serial.c (serial_write): Fix index of character to be printed | |
422 | in call to serial_logchar when serial debug traces are enabled. | |
423 | ||
d190df30 JB |
424 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
425 | ||
426 | * gdbtypes (resolve_dynamic_range): Add function description. | |
427 | ||
b4b01d36 PA |
428 | 2014-06-09 Pedro Alves <palves@redhat.com> |
429 | ||
430 | * linux-nat.c (linux_child_follow_fork): Initialize status with | |
431 | W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from | |
432 | inner block. Only pass the signal to PTRACE_DETACH if in pass | |
433 | state. | |
434 | ||
3657956b GB |
435 | 2014-06-09 Gary Benson <gbenson@redhat.com> |
436 | ||
437 | * common/signals.c (gdb_signal_from_host): Reorder to separate | |
438 | the always-available ANSI-standard signals from the signals that | |
439 | require checking. | |
440 | (do_gdb_signal_to_host): Likewise. | |
441 | * proc-events.c (signal_table): Likewise. | |
442 | ||
c077881a HZ |
443 | 2014-06-08 Hui Zhu <hui@codesourcery.com> |
444 | ||
445 | * common/linux-ptrace.c (linux_disable_event_reporting): New | |
446 | function. | |
447 | * common/linux-ptrace.h (linux_disable_event_reporting): New | |
448 | declaration. | |
449 | * linux-nat.c (linux_child_follow_fork): Do a single step before | |
450 | detach. | |
451 | ||
4186eb54 KS |
452 | 2014-06-07 Keith Seitz <keiths@redhat.com> |
453 | ||
454 | Revert: | |
455 | PR c++/16253 | |
456 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
457 | from symbol_matches_domain in symtab.c. All local callers | |
458 | of symbol_matches_domain updated. | |
459 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
460 | search STRUCT_DOMAIN. | |
461 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
462 | independently. standard_lookup will do that automatically. | |
463 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
464 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
465 | (cp_lookup_symbol_in_namespace): Likewise. | |
466 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
467 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
468 | may return a STRUCT_DOMAIN match. | |
469 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
470 | * cp-support.c: Include language.h. | |
471 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
472 | VAR_DOMAIN. | |
473 | * psymtab.c (match_partial_symbol): Compare the requested | |
474 | domain with the symbol's domain directly. | |
475 | (lookup_partial_symbol): Likewise. | |
476 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
477 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
478 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
479 | appropriate languages. | |
480 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
481 | and moved to ada-lang.c | |
482 | (lookup_block_symbol): Explain that this function only returns | |
483 | symbol matching the requested DOMAIN. | |
484 | Compare the requested domain with the symbol's domain directly. | |
485 | (iterate_over_symbols): Compare the requested domain with the | |
486 | symbol's domain directly. | |
487 | * symtab.h (symbol_matches_domain): Remove. | |
488 | ||
25326a28 | 489 | 2014-06-06 Doug Evans <xdje42@gmail.com> |
d2929fdc DE |
490 | |
491 | * guile/guile-internal.h (gdbscm_guile_major_version): Declare. | |
492 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. | |
493 | (gdbscm_guile_version_is_at_least): Declare. | |
494 | (gdbscm_scm_string_to_int): Declare. | |
495 | * guile/guile.c (gdbscm_guile_major_version): New global. | |
496 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. | |
497 | (guile_datadir): New static global. | |
498 | (gdbscm_guile_data_directory): New function. | |
499 | (initialize_scheme_side): Update. | |
500 | (misc_guile_functions): Add guile-data-directory. | |
501 | (initialize_gdb_module): Fetch guile version number. | |
502 | * guile/lib/gdb.scm: Remove call to add-to-load-path. | |
503 | * guile/lib/gdb/init.scm (%initialize!): Ditto. | |
504 | * guile/lib/gdb/boot.scm: Use guile-data-directory. | |
505 | * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix | |
506 | comments. | |
507 | * guile/scm-string.c (gdbscm_scm_string_to_int): New function. | |
508 | * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. | |
509 | * guile/scm-value.c (gdbscm_value_to_string): Only call | |
510 | scm_port_conversion_strategy if Guile version >= 2.0.6. | |
511 | ||
0a770bb2 | 512 | 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com> |
513 | ||
514 | * main.c (print_gdb_help): Add -q and --silent. | |
515 | ||
73ba372c GB |
516 | 2014-06-06 Gary Benson <gbenson@redhat.com> |
517 | ||
518 | * common/signals.c: Remove preprocessor conditionals for | |
519 | always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, | |
520 | SIGSEGV and SIGTERM. | |
521 | * proc-events.c: Likewise. | |
522 | ||
c33b2f12 MM |
523 | 2014-06-06 Markus Metzger <markus.t.metzger@intel.com> |
524 | ||
525 | * symfile.c (symfile_free_objfile): Remove restriction to | |
526 | OBJF_USERLOADED. | |
527 | * symfile-mem.c (symbol_file_add_from_memory): Call | |
528 | add_target_sections_of_objfile. | |
529 | ||
fb934770 LC |
530 | 2014-06-05 Ludovic Courtès <ludo@gnu.org> |
531 | ||
532 | * guile/scm-value.c (gdbscm_history_append_x): Use | |
533 | 'vlscm_get_value_smob_arg_unsafe' instead of | |
534 | 'vlscm_scm_to_value'. | |
535 | ||
6ef284bd SM |
536 | 2014-06-05 Simon Marchi <simon.marchi@ericsson.com> |
537 | ||
538 | PR mi/15806 | |
539 | * utils.c (printchar): Don't escape at all if quoter is NUL. | |
540 | Update function documentation to clarify effect of parameter | |
541 | QUOTER. | |
542 | * remote.c (escape_buffer): Pass '\\' as the quoter to | |
543 | fputstrn_unfiltered. | |
544 | * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to | |
545 | generate the output. | |
546 | (mi_solib_unloaded): Same. | |
547 | ||
270c9937 JB |
548 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> |
549 | ||
550 | * development.sh: Delete. | |
551 | * Makefile.in (config.status): Adjust dependency on development.sh. | |
552 | * configure.ac: Adjust development.sh source call. | |
553 | * configure: Regenerate. | |
554 | ||
16f691fb DE |
555 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
556 | ||
557 | * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members | |
558 | is_scheme_bkpt, spec. | |
559 | (bpscm_make_breakpoint_smob): Initialize new members. | |
560 | (gdbscm_create_breakpoint_x): Split into two ... | |
561 | (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. | |
562 | (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. | |
563 | (scheme_function breakpoint_functions): Update. | |
564 | * guile/lib/gdb.scm: Delete create-breakpoint!. Rename | |
565 | breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, | |
566 | register-breakpoint!. | |
567 | ||
ef7cab6b JB |
568 | 2014-06-04 Joel Brobecker <brobecker@adacorer.com> |
569 | ||
570 | PR server/17023 | |
571 | * mem-break.c (z_type_supported): Return zero if | |
572 | THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. | |
573 | ||
012370f6 TT |
574 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
575 | ||
576 | * ada-lang.c (ada_template_to_fixed_record_type_1): Use | |
577 | value_from_contents_and_address_unresolved. | |
578 | (ada_template_to_fixed_record_type_1): Likewise. | |
579 | (ada_which_variant_applies): Likewise. | |
580 | * value.h (value_from_contents_and_address_unresolved): Declare. | |
581 | * value.c (value_from_contents_and_address_unresolved): New | |
582 | function. | |
583 | * gdbtypes.c (is_dynamic_type, resolve_dynamic_type) | |
584 | <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases. | |
585 | (resolve_dynamic_struct, resolve_dynamic_union): New functions. | |
586 | ||
92e2a17f TT |
587 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
588 | ||
589 | * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s. | |
590 | ||
c0939df1 TT |
591 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
592 | ||
593 | * procfs.c (procfs_attach): Make "args" const. | |
594 | * windows-nat.c (windows_attach): Make "args" const. | |
595 | * nto-procfs.c (procfs_attach): Make "args" const. | |
596 | * inf-ttrace.c (inf_ttrace_attach): Make "args" const. | |
597 | * go32-nat.c (go32_attach): Make "args" const. | |
598 | * gnu-nat.c (gnu_attach): Make "args" const. | |
599 | * darwin-nat.c (darwin_attach): Make "args" const. | |
600 | * inf-ptrace.c (inf_ptrace_attach): Make "args" const. | |
601 | * linux-nat.c (linux_nat_attach): Make "args" const. | |
602 | * remote.c (extended_remote_attach_1, extended_remote_attach): | |
603 | Make "args" const. | |
604 | * target.h (struct target_ops) <to_attach>: Make "args" const. | |
605 | (find_default_attach): Likewise. | |
606 | * utils.c (parse_pid_to_attach): Make "args" const. | |
607 | * utils.h (parse_pid_to_attach): Update. | |
608 | ||
8eaff7cd TT |
609 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
610 | ||
611 | * target-delegates.c: Rebuild. | |
612 | * target.c (default_thread_address_space): New function. | |
613 | (target_thread_address_space): Simplify. | |
614 | * target.h (struct target_ops) <to_thread_address_space>: Add | |
615 | TARGET_DEFAULT_FUNC. | |
616 | ||
1913f160 DE |
617 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
618 | ||
619 | * guile/scm-type.c (type_smob): Remove duplicate typedef. | |
620 | ||
70ad5bff MM |
621 | 2014-06-04 Markus Metzger <markus.t.metzger@intel.com> |
622 | ||
623 | * record-btrace.c: Include event-loop.h and inf-loop.h. | |
624 | (record_btrace_resume_exec_dir) | |
625 | (record_btrace_async_inferior_event_handler) | |
626 | (record_btrace_handle_async_inferior_event): New. | |
627 | (record_btrace_open): Create async event handler. | |
628 | (record_btrace_close): Delete async event handler. | |
629 | (record_btrace_resume): Set record_btrace_resume_exec_dir, | |
630 | Mark async event handler. | |
631 | (record_btrace_execution_direction): New. | |
632 | (init_record_btrace_ops): Initialize to_execution_direction. | |
633 | ||
b6210538 DE |
634 | 2014-06-03 Doug Evans <xdje42@gmail.com> |
635 | ||
636 | * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. | |
637 | (gdbscm_make_parameter): Ditto. | |
638 | ||
a5b1fd27 DE |
639 | 2014-06-03 Doug Evans <dje@google.com> |
640 | ||
641 | * exec.c (exec_close_1): Call clear_section_table instead of | |
642 | resize_section_table. | |
643 | (clear_section_table): New function. | |
644 | (resize_section_table): Make static. Rename arg num_added to | |
645 | adjustment. | |
646 | * exec.h (clear_section_table): Declare. | |
647 | (resize_section_table): Delete. | |
648 | * progspace.c (release_program_space): Call clear_section_table | |
649 | instead of resize_section_table. | |
650 | ||
0c6e92a5 SC |
651 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
652 | ||
653 | * NEWS (Python Scripting): Add entry about the new xmethods | |
654 | feature. | |
655 | ||
883964a7 SC |
656 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
657 | ||
658 | * python/py-xmethods.c: New file. | |
659 | * python/py-objfile.c (objfile_object): New field 'xmethods'. | |
660 | (objfpy_dealloc): XDECREF on the new xmethods field. | |
661 | (objfpy_new, objfile_to_objfile_object): Initialize xmethods | |
662 | field. | |
663 | (objfpy_get_xmethods): New function. | |
664 | (objfile_getset): New entry 'xmethods'. | |
665 | * python/py-progspace.c (pspace_object): New field 'xmethods'. | |
666 | (pspy_dealloc): XDECREF on the new xmethods field. | |
667 | (pspy_new, pspace_to_pspace_object): Initialize xmethods | |
668 | field. | |
669 | (pspy_get_xmethods): New function. | |
670 | (pspace_getset): New entry 'xmethods'. | |
671 | * python/python-internal.h: Add declarations for new functions. | |
672 | * python/python.c (_initialize_python): Invoke | |
673 | gdbpy_initialize_xmethods. | |
674 | * python/lib/gdb/__init__.py (xmethods): New | |
675 | attribute. | |
676 | * python/lib/gdb/xmethod.py: New file. | |
677 | * python/lib/gdb/command/xmethods.py: New file. | |
678 | ||
58992dc5 SC |
679 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
680 | ||
681 | * eval.c (evaluate_subexp_standard): Call the xmethod if the | |
682 | best match method returned by find_overload_match is an xmethod. | |
683 | * valarith.c (value_x_binop, value_x_unop): Call the xmethod if | |
684 | the best matching operator returned by find_overload_match is an | |
685 | xmethod. | |
686 | * valops.c: #include "extension.h". | |
687 | (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. | |
688 | Return void. The list of matching source methods is returned in | |
689 | "fn_list" and a vector of matching debug method workers is | |
690 | returned in "xm_worker_vec". Update all callers. | |
691 | (value_find_oload_method_list): Likewise. | |
692 | (find_oload_champ): Add "xm_worker_vec" parameter. If it is | |
693 | non-NULL, then the index of the best matching method in this | |
694 | vector is returned. Update all callers. | |
695 | (find_overload_match): Include xmethods while performing overload | |
696 | resolution. | |
697 | ||
e81e7f5e SC |
698 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
699 | ||
700 | * defs.h (enum lval_type): New enumerator "lval_xcallable". | |
701 | * extension-priv.h (struct extension_language_ops): Add the | |
702 | xmethod interface. | |
703 | * extension.c (new_xmethod_worker, clone_xmethod_worker, | |
704 | get_matching_xmethod_workers, get_xmethod_argtypes, | |
705 | invoke_xmethod, free_xmethod_worker, | |
706 | free_xmethod_worker_vec): New functions. | |
707 | * extension.h: #include "common/vec.h". | |
708 | New function declarations. | |
709 | (struct xmethod_worker): New struct. | |
710 | (VEC (xmethod_worker_ptr)): New vector type. | |
711 | (xmethod_worker_ptr): New typedef. | |
712 | (xmethod_worker_vec): Likewise. | |
713 | * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of | |
714 | builtin_type. | |
715 | * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD. | |
716 | (struct builtin_type): New field "xmethod". | |
717 | * valarith.c (value_ptradd): Assert that the value argument is not | |
718 | lval_xcallable. | |
719 | * valops.c (value_must_coerce_to_target): Return 0 for | |
720 | lval_xcallable values. | |
721 | * value.c (struct value): New field XM_WORKER in the field | |
722 | LOCATION. | |
723 | (value_address, value_raw_address): Return 0 for lval_xcallable | |
724 | values. | |
725 | (set_value_address): Assert that the value is not an | |
726 | lval_xcallable. | |
727 | (value_free): Free the associated xmethod worker when freeing | |
728 | lval_xcallable values. | |
729 | (set_value_component_location): Assert that the WHOLE value is not | |
730 | lval_xcallable. | |
731 | (value_of_xmethod, call_xmethod): New functions. | |
732 | * value.h: Declare "struct xmethod_worker". | |
733 | Declare new functions value_of_xmethod, call_xmethod. | |
734 | ||
ef370185 JB |
735 | 2014-06-03 Joel Brobecker <brobecker@adacore.com> |
736 | Pedro Alves <palves@redhat.com> | |
737 | ||
738 | PR breakpoints/17000 | |
739 | * breakpoint.c (find_non_raw_software_breakpoint_inserted_here): | |
740 | New function, extracted from software_breakpoint_inserted_here_p. | |
741 | (software_breakpoint_inserted_here_p): Replace factored out code | |
742 | by call to find_non_raw_software_breakpoint_inserted_here. | |
743 | (bp_target_info_copy_insertion_state): New function. | |
744 | (bkpt_insert_location): Handle the case of a single-step | |
745 | breakpoint already inserted at the same address. | |
746 | (bkpt_remove_location): Handle the case of a single-step | |
747 | breakpoint still inserted at the same address. | |
748 | (deprecated_insert_raw_breakpoint): Handle the case of non-raw | |
749 | breakpoint already inserted at the same address. | |
750 | (deprecated_remove_raw_breakpoint): Handle the case of a | |
751 | non-raw breakpoint still inserted at the same address. | |
752 | (find_single_step_breakpoint): New function, extracted from | |
753 | single_step_breakpoint_inserted_here_p. | |
754 | (find_single_step_breakpoint): New function, | |
755 | factored out from single_step_breakpoint_inserted_here_p. | |
756 | (single_step_breakpoint_inserted_here_p): Reimplement. | |
757 | ||
1e2ccb61 BM |
758 | 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch) |
759 | ||
760 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
761 | * source.c (show_substitute_path_command): Fix display of matching | |
762 | substitution rules. | |
763 | ||
d3448d85 GB |
764 | 2014-06-03 Gary Benson <gbenson@redhat.com> |
765 | ||
766 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle. | |
767 | ||
06eb1586 DE |
768 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
769 | ||
770 | Add parameter support for Guile. | |
771 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o. | |
772 | (SUBDIR_GUILE_SRCS): Add scm-param.c. | |
773 | (scm-param.o): New rule. | |
774 | * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare. | |
775 | (gdbscm_misc_error): Declare. | |
776 | (gdbscm_canonicalize_command_name): Declare. | |
777 | (gdbscm_scm_to_host_string): Declare. | |
778 | (gdbscm_scm_from_host_string): Declare. | |
779 | (gdbscm_initialize_parameters): Declare. | |
780 | * guile/guile.c (initialize_gdb_module): Call | |
781 | gdbscm_initialize_parameters. | |
782 | * guile/lib/gdb.scm: Export parameter symbols. | |
783 | * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from | |
784 | cmdscm_canonicalize_name and made public. All callers updated. | |
785 | * guile/scm-exception.c (gdbscm_misc_error): New function. | |
786 | * guile/scm-param.c: New file. | |
787 | * guile/scm-string.c (gdbscm_scm_to_string): Add comments. | |
788 | (gdbscm_scm_to_host_string): New function. | |
789 | (gdbscm_scm_from_host_string): New function. | |
790 | * scm-utils.c (gdbscm_gc_dup_argv): New function. | |
791 | ||
e698b8c4 DE |
792 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
793 | ||
794 | Add command support for Guile. | |
795 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. | |
796 | (SUBDIR_GUILE_SRCS): Add scm-cmd.c. | |
797 | (scm-cmd.o): New rule. | |
798 | * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. | |
799 | (gdbscm_user_error_p): Declare. | |
800 | (gdbscm_parse_command_name): Declare. | |
801 | (gdbscm_valid_command_class_p): Declare. | |
802 | (gdbscm_initialize_commands): Declare. | |
803 | * guile/guile.c (initialize_gdb_module): Call | |
804 | gdbscm_initialize_commands. | |
805 | * guile/lib/gdb.scm: Export command symbols. | |
806 | * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. | |
807 | (throw-user-error): New function. | |
808 | * guile/scm-cmd.c: New file. | |
809 | * guile/scm-exception.c (user_error_symbol): New static global. | |
810 | (gdbscm_user_error_p): New function. | |
811 | (gdbscm_initialize_exceptions): Set user_error_symbol. | |
812 | * scm-utils.c (gdbscm_gc_xstrdup): New function. | |
813 | ||
fb1f94b0 PM |
814 | 2014-06-02 Phil Muldoon <pmuldoon@redhat.com> |
815 | ||
816 | * top.c (command_loop): Handle comments here... | |
817 | (command_line_input): ... not here. | |
818 | ||
ded03782 DE |
819 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
820 | ||
821 | Add progspace support for Guile. | |
822 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o. | |
823 | (SUBDIR_GUILE_SRCS): Add scm-progspace.c. | |
824 | (scm-progspace.o): New rule. | |
825 | * guile/guile-internal.h (pspace_smob): New typedef. | |
826 | (psscm_pspace_smob_pretty_printers): Declare. | |
827 | (psscm_pspace_smob_from_pspace): Declare. | |
828 | (psscm_scm_from_pspace): Declare. | |
829 | * guile/guile.c (initialize_gdb_module): Call | |
830 | gdbscm_initialize_pspaces. | |
831 | * guile/lib/gdb.scm: Export progspace symbols. | |
832 | * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace | |
833 | support. | |
834 | (append-pretty-printer!): Ditto. | |
835 | * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace): | |
836 | Implement. | |
837 | * guile/scm-progspace.c: New file. | |
838 | ||
397998fc AM |
839 | 2014-06-03 Alan Modra <amodra@gmail.com> |
840 | ||
841 | * ppc64-tdep.c (ppc64_standard_linkage8): New. | |
842 | (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion. | |
843 | ||
6aa5f3a6 DE |
844 | 2014-06-02 Doug Evans <dje@google.com> |
845 | ||
846 | Add support for skeletonless type units. | |
847 | * dwarf2read.c (struct dwarf2_per_objfile): New member | |
848 | n_allocated_type_units. | |
849 | (struct dwarf2_per_objfile) <tu_stats>: New member | |
850 | nr_all_type_units_reallocs. | |
851 | (create_signatured_type_table_from_index): Initialize | |
852 | n_allocated_type_units | |
853 | (create_all_type_units): Ditto. | |
854 | (add_type_unit): Move up in file. New arg slot. | |
855 | All callers updated. Increase space for all_type_units more | |
856 | efficiently. | |
857 | (fill_in_sig_entry_from_dwo_entry): Handle psymtabs. | |
858 | (lookup_dwo_signatured_type): Handle skeletonless TUs. | |
859 | (lookup_dwp_signatured_type): Ditto. | |
860 | (init_tu_and_read_dwo_dies): New arg use_existing_cu. | |
861 | All callers updated. | |
862 | (build_type_psymtabs_1): Leave type_unit_groups as | |
863 | NULL if no TUs present. | |
864 | (print_tu_stats): New function. | |
865 | (process_skeletonless_type_unit): New function. | |
866 | (process_dwo_file_for_skeletonless_type_units): New | |
867 | function. | |
868 | (process_skeletonless_type_units): New function. | |
869 | (dwarf2_build_psymtabs_hard): Handle skeletonless TUs. | |
870 | Call print tu_stats if debugging enabled. | |
871 | ||
41fac0cf PA |
872 | 2014-06-02 Pedro Alves <palves@redhat.com> |
873 | ||
874 | * breakpoint.c (build_target_command_list): Don't build a command | |
875 | list if we have any duplicate location that isn't a dprintf. | |
876 | ||
cd1608cc PA |
877 | 2014-06-02 Pedro Alves <palves@redhat.com> |
878 | ||
879 | * breakpoint.c (dprintf_breakpoint_hit): New function. | |
880 | (initialize_breakpoint_ops): Install it as dprintf's | |
881 | breakpoint_hit method. | |
882 | ||
486ef3b9 JB |
883 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
884 | ||
885 | * source.c (substitute_path_rule_matches): Simplify using | |
886 | filename_ncmp instead of FILENAME_CMP. | |
887 | ||
230cd560 JB |
888 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
889 | ||
890 | * source.c (substitute_path_rule_matches): Remove trailing spaces. | |
891 | ||
16954d5d LC |
892 | 2014-06-01 Ludovic Courtès <ludo@gnu.org> |
893 | ||
894 | * configure.ac: When Guile is available, check for the | |
895 | availability of 'scm_new_smob'. | |
896 | * configure, config.h.in: Regenerate. | |
897 | * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New | |
898 | function. | |
899 | ||
53e8a631 AB |
900 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
901 | ||
902 | * frame.c (struct frame_info): Add stop_string field. | |
903 | (get_prev_frame_always_1): Renamed from get_prev_frame_always. | |
904 | (get_prev_frame_always): Old content moved into | |
905 | get_prev_frame_always_1. Call get_prev_frame_always_1 inside | |
906 | TRY_CATCH, handle MEMORY_ERROR exceptions. | |
907 | (frame_stop_reason_string): New function definition. | |
908 | * frame.h (unwind_stop_reason_to_string): Extend comment to | |
909 | mention frame_stop_reason_string. | |
910 | (frame_stop_reason_string): New function declaration. | |
911 | * stack.c (frame_info): Switch to frame_stop_reason_string. | |
912 | (backtrace_command_1): Switch to frame_stop_reason_string. | |
913 | * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR. | |
914 | (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR. | |
915 | * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list. | |
916 | ||
70e38b8e AB |
917 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
918 | ||
919 | * frame.c (frame_stop_reason_string): Rename to ... | |
920 | (unwind_stop_reason_to_string): this. | |
921 | * frame.h (frame_stop_reason_string): Rename to ... | |
922 | (unwind_stop_reason_to_string): this. | |
923 | * stack.c (frame_info): Update call to frame_stop_reason_string. | |
924 | (backtrace_command_1): Likewise. | |
925 | * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. | |
926 | * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise. | |
927 | ||
938f0e2f AB |
928 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
929 | ||
930 | * frame.c (remove_prev_frame): New function. | |
931 | (get_prev_frame_if_no_cycle): Create / discard cleanup using | |
932 | remove_prev_frame. | |
933 | ||
a09dd441 PA |
934 | 2014-05-29 Pedro Alves <palves@redhat.com> |
935 | ||
936 | * infrun.c (resume): Rename local 'hw_step' to 'entry_step' | |
937 | and make it const. When a single-step decays to a continue, | |
938 | clear 'step', not 'hw_step'. Pass whether the caller wanted | |
939 | to step to user_visible_resume_ptid, not what we ask the | |
940 | target to do. | |
941 | ||
bdc36728 PA |
942 | 2014-05-29 Pedro Alves <palves@redhat.com> |
943 | ||
944 | * infrun.c (process_event_stop_test, handle_step_into_function) | |
945 | (handle_step_into_function_backward): Adjust. | |
946 | Don't set the even thread's stop_step and call stop_waiting before | |
947 | calling end_stepping_range. Instead do that ... | |
948 | (end_stepping_range): ... here. Take an ecs pointer parameter. | |
949 | ||
22bcd14b PA |
950 | 2014-05-29 Pedro Alves <palves@redhat.com> |
951 | ||
952 | * infrun.c (stop_stepping): Rename to ... | |
953 | (stop_waiting): ... this. | |
954 | (proceed): Update comment. | |
955 | (process_event_stop_test, handle_inferior_event) | |
956 | (handle_signal_stop, handle_step_into_function) | |
957 | (handle_step_into_function_backward): Update. | |
958 | ||
4ae57c05 PA |
959 | 2014-05-29 Pedro Alves <palves@redhat.com> |
960 | ||
961 | * infcall.c (run_inferior_call): Don't check whether the current | |
962 | thread is running after the proceed call. | |
963 | ||
329ea579 PA |
964 | 2014-05-29 Pedro Alves <palves@redhat.com> |
965 | Tom Tromey <tromey@redhat.com> | |
966 | ||
967 | * NEWS: Mention "maint set target-async", "set mi-async", and that | |
968 | background execution commands are now always available. | |
969 | * target.h (target_async_permitted): Update comment. | |
970 | * target.c (target_async_permitted, target_async_permitted_1): | |
971 | Default to 1. | |
972 | (set_target_async_command): Rename to ... | |
973 | (maint_set_target_async_command): ... this. | |
974 | (show_target_async_command): Rename to ... | |
975 | (maint_show_target_async_command): ... this. | |
976 | (_initialize_target): Adjust. | |
977 | * infcmd.c (prepare_execution_command): Make extern. | |
978 | * inferior.h (prepare_execution_command): Declare. | |
979 | * infrun.c (set_observer_mode): Leave target async alone. | |
980 | * mi/mi-interp.c (mi_interpreter_init): Install | |
981 | mi_on_sync_execution_done as sync_execution_done observer. | |
982 | (mi_on_sync_execution_done): New function. | |
983 | (mi_execute_command_input_handler): Don't print the prompt if we | |
984 | just started a synchronous command with an async target. | |
985 | (mi_on_resume): Check sync_execution before printing prompt. | |
986 | * mi/mi-main.h (mi_async_p): Declare. | |
987 | * mi/mi-main.c: Include gdbcmd.h. | |
988 | (mi_async_p): New function. | |
989 | (mi_async, mi_async_1): New globals. | |
990 | (set_mi_async_command, show_mi_async_command, mi_async): New | |
991 | functions. | |
992 | (exec_continue): Call prepare_execution_command. | |
993 | (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features) | |
994 | (mi_execute_async_cli_command): Use mi_async_p. | |
995 | (_initialize_mi_main): Install "set mi-async". Make | |
996 | "target-async" a deprecated alias. | |
997 | ||
92bcb5f9 PA |
998 | 2014-05-29 Pedro Alves <palves@redhat.com> |
999 | ||
1000 | * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete. | |
1001 | (_initialize_cli_interp): Adjust. | |
1002 | * event-loop.c: Include "observer.h". | |
1003 | (start_event_loop): Notify 'command_error' observers instead of | |
1004 | calling display_gdb_prompt. Remove FIXME comment. | |
1005 | * event-top.c (display_gdb_prompt): Remove call into the | |
1006 | interpreters. | |
1007 | * inf-loop.c: Include "observer.h". | |
1008 | (inferior_event_handler): Notify 'command_error' observers instead | |
1009 | of calling display_gdb_prompt. | |
1010 | * infrun.c (fetch_inferior_event): Notify 'sync_execution_done' | |
1011 | observers instead of calling display_gdb_prompt. | |
1012 | * interps.c (interp_set): Don't call display_gdb_prompt. | |
1013 | (current_interp_display_prompt_p): Delete. | |
1014 | * interps.h (interp_prompt_p): Delete declaration. | |
1015 | (interp_prompt_p_ftype): Delete. | |
1016 | (struct interp_procs) <prompt_proc_p>: Delete field. | |
1017 | (current_interp_display_prompt_p): Delete declaration. | |
1018 | * mi-interp.c (mi_interpreter_prompt_p): Delete. | |
1019 | (_initialize_mi_interp): Adjust. | |
1020 | * tui-interp.c (tui_init): Install 'sync_execution_done' and | |
1021 | 'command_error' observers. | |
1022 | (tui_on_sync_execution_done, tui_on_command_error): New | |
1023 | functions. | |
1024 | (tui_display_prompt_p): Delete. | |
1025 | (_initialize_tui_interp): Adjust. | |
1026 | ||
fd664c91 PA |
1027 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1028 | ||
1029 | PR gdb/13860 | |
1030 | * cli/cli-interp.c: Include infrun.h and observer.h. | |
1031 | (cli_uiout, cli_interp): New globals. | |
1032 | (cli_on_signal_received, cli_on_end_stepping_range) | |
1033 | (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New | |
1034 | functions. | |
1035 | (cli_interpreter_init): Install them as 'end_stepping_range', | |
1036 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
1037 | observers. | |
1038 | (_initialize_cli_interp): Remove cli_interp local. | |
1039 | * infrun.c (handle_inferior_event): Call the several stop reason | |
1040 | observers instead of printing the stop reason directly. | |
1041 | (end_stepping_range): New function. | |
1042 | (print_end_stepping_range_reason, print_signal_exited_reason) | |
1043 | (print_exited_reason, print_signal_received_reason) | |
1044 | (print_no_history_reason): Make static, and add an uiout | |
1045 | parameter. Print to that instead of to CURRENT_UIOUT. | |
1046 | * infrun.h (print_end_stepping_range_reason) | |
1047 | (print_signal_exited_reason, print_exited_reason) | |
1048 | (print_signal_received_reason print_no_history_reason): New | |
1049 | declarations. | |
1050 | * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to | |
1051 | 'mi_uiout'. | |
1052 | <cli_uiout>: New field. | |
1053 | * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new | |
1054 | uiout for CLI output. Install 'signal_received', | |
1055 | 'end_stepping_range', 'signal_exited', 'exited' and 'no_history' | |
1056 | observers. | |
1057 | (find_mi_interpreter, mi_interp_data, mi_on_signal_received) | |
1058 | (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited) | |
1059 | (mi_on_no_history): New functions. | |
1060 | (ui_out_free_cleanup): Delete function. | |
1061 | (mi_on_normal_stop): Don't allocate a new uiout for CLI output, | |
1062 | instead use the one already stored in the MI interpreter data. | |
1063 | (mi_ui_out): Adjust. | |
1064 | * tui/tui-interp.c: Include infrun.h and observer.h. | |
1065 | (tui_interp): New global. | |
1066 | (tui_on_signal_received, tui_on_end_stepping_range) | |
1067 | (tui_on_signal_exited, tui_on_exited) | |
1068 | (tui_on_no_history): New functions. | |
1069 | (tui_init): Install them as 'end_stepping_range', | |
1070 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
1071 | observers. | |
1072 | (_initialize_tui_interp): Delete tui_interp local. | |
1073 | ||
8817a6f2 PA |
1074 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1075 | ||
1076 | PR gdb/15713 | |
1077 | * linux-nat.c (linux_nat_resume_callback): Rename the second | |
1078 | parameter to 'except'. Skip LP if it points to EXCEPT. | |
1079 | (linux_nat_resume): Don't mark the event lwp as not stopped | |
1080 | before resuming sibling lwps. Instead ask | |
1081 | linux_nat_resume_callback to skip the event lwp. Mark it as not | |
1082 | stopped after actually resuming it. | |
1083 | (linux_handle_syscall_trap): Mark the lwp as not stopped after | |
1084 | resuming it. | |
1085 | (wait_lwp): Mark the lwp as stopped here. | |
1086 | (stop_wait_callback): Mark the lwp as not stopped right after | |
1087 | resuming it. Don't mark lwps as stopped here. | |
1088 | (linux_nat_filter_event): Mark the lwp as stopped earlier. | |
1089 | (linux_nat_wait_1): Don't mark dead lwps as stopped here. | |
1090 | ||
251bde03 PA |
1091 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1092 | ||
1093 | PR PR15693 | |
1094 | * infrun.c (resume): Determine how much to resume depending on | |
1095 | whether the caller wanted a step, not whether we can hardware step | |
1096 | the target. Mark all threads that we intend to run as running, | |
1097 | unless we're calling an inferior function. | |
1098 | (normal_stop): If the thread is running an infcall, don't finish | |
1099 | thread state. | |
1100 | * target.c (target_resume): Don't mark threads as running here. | |
1101 | ||
7f3c0343 JB |
1102 | 2014-05-28 Joel Brobecker <brobecker@adacore.com> |
1103 | ||
1104 | * serial.c (_initialize_serial): Remove support for | |
1105 | the "set remotebaud" and "show remotebaud" commands. | |
1106 | * NEWS: Add entry documenting the removal of that command. | |
1107 | ||
ee34b3f9 YQ |
1108 | 2014-05-28 Yao Qi <yao@codesourcery.com> |
1109 | ||
1110 | * charset.c: Fix typo in comments. | |
1111 | ||
add6c04d GB |
1112 | 2014-05-27 Gary Benson <gbenson@redhat.com> |
1113 | ||
1114 | * utils.c (internal_vproblem): Prompt for a bug report. | |
1115 | ||
92c48fc5 AW |
1116 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
1117 | ||
1118 | * guile/scm-arch.c (arscm_mark_arch_smob): | |
1119 | * guile/scm-block.c (bkscm_mark_block_smob) | |
1120 | (bkscm_mark_block_syms_progress_smob): | |
1121 | * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob): | |
1122 | * guile/scm-exception.c (exscm_mark_exception_smob): | |
1123 | * guile/scm-frame.c (frscm_mark_frame_smob): | |
1124 | * guile/scm-iterator.c (itscm_mark_iterator_smob): | |
1125 | * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob): | |
1126 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): | |
1127 | * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob) | |
1128 | (ppscm_mark_pretty_printer_worker_smob): | |
1129 | * guile/scm-symbol.c (syscm_mark_symbol_smob): | |
1130 | * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob): | |
1131 | * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob): | |
1132 | * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary | |
1133 | mark functions. | |
1134 | * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free | |
1135 | function. | |
1136 | ||
b2715b27 AW |
1137 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
1138 | Doug Evans <xdje42@gmail.com> | |
1139 | ||
1140 | * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with | |
1141 | empty_base_class. All uses updated. | |
1142 | (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob) | |
1143 | (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions. | |
1144 | Adapt all callers. | |
1145 | * guile/scm-gsmob.c (gdbscm_mark_gsmob) | |
1146 | (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove. | |
1147 | (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x) | |
1148 | (gdbscm_gsmob_has_property_p, add_property_name) | |
1149 | (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions. | |
1150 | * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property) | |
1151 | (gdb-object-has-property?, gdb-object-properties): Remove. | |
1152 | (gdb-object-kind): Renamed from gsmob-kind. | |
1153 | ||
214ab2da AW |
1154 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
1155 | ||
1156 | * configure.ac (try_guile_versions): Allow building with guile 2.2. | |
1157 | * configure: Regenerate. | |
1158 | ||
589fdceb MM |
1159 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
1160 | ||
1161 | * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections. | |
1162 | ||
67b5c0c1 MM |
1163 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
1164 | ||
1165 | * record-btrace.c (record_btrace_allow_memory_access): Remove. | |
1166 | (replay_memory_access_read_only, replay_memory_access_read_write) | |
1167 | (replay_memory_access_types, replay_memory_access) | |
1168 | (set_record_btrace_cmdlist, show_record_btrace_cmdlist) | |
1169 | (cmd_set_record_btrace, cmd_show_record_btrace) | |
1170 | (cmd_show_replay_memory_access): New. | |
1171 | (record_btrace_xfer_partial, record_btrace_insert_breakpoint) | |
1172 | (record_btrace_remove_breakpoint): Replace | |
1173 | record_btrace_allow_memory_access with replay_memory_access. | |
1174 | (_initialize_record_btrace): Add commands. | |
1175 | * NEWS: Announce it. | |
1176 | ||
036cd381 RR |
1177 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
1178 | ||
1179 | * aarch64-linux-nat.c (asm/ptrace.h): Include. | |
1180 | ||
c77c1e42 RR |
1181 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
1182 | ||
1183 | * MAINTAINERS (Write After Approval): Move self back from | |
1184 | paper trail. | |
1185 | ||
45741a9c PA |
1186 | 2014-05-22 Pedro Alves <palves@redhat.com> |
1187 | ||
1188 | * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events) | |
1189 | (sync_execution, sched_multi, step_stop_if_no_debug, non_stop) | |
1190 | (disable_randomization, enum exec_direction_kind) | |
1191 | (execution_direction, stop_registers, start_remote) | |
1192 | (clear_proceed_status, proceed, resume, user_visible_resume_ptid) | |
1193 | (wait_for_inferior, normal_stop, get_last_target_status) | |
1194 | (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior) | |
1195 | (insert_step_resume_breakpoint_at_sal) | |
1196 | (follow_inferior_reset_breakpoints, stepping_past_instruction_at) | |
1197 | (set_step_info, print_stop_event, signal_stop_state) | |
1198 | (signal_print_state, signal_pass_state, signal_stop_update) | |
1199 | (signal_print_update, signal_pass_update) | |
1200 | (update_signals_program_target, clear_exit_convenience_vars) | |
1201 | (displaced_step_dump_bytes, update_observer_mode) | |
1202 | (signal_catch_update, gdb_signal_from_command): Move | |
1203 | declarations ... | |
1204 | * infrun.h: ... to this new file. | |
1205 | * amd64-tdep.c: Include infrun.h. | |
1206 | * annotate.c: Include infrun.h. | |
1207 | * arch-utils.c: Include infrun.h. | |
1208 | * arm-linux-tdep.c: Include infrun.h. | |
1209 | * arm-tdep.c: Include infrun.h. | |
1210 | * break-catch-sig.c: Include infrun.h. | |
1211 | * breakpoint.c: Include infrun.h. | |
1212 | * common/agent.c: Include infrun.h instead of inferior.h. | |
1213 | * corelow.c: Include infrun.h. | |
1214 | * event-top.c: Include infrun.h. | |
1215 | * go32-nat.c: Include infrun.h. | |
1216 | * i386-tdep.c: Include infrun.h. | |
1217 | * inf-loop.c: Include infrun.h. | |
1218 | * infcall.c: Include infrun.h. | |
1219 | * infcmd.c: Include infrun.h. | |
1220 | * infrun.c: Include infrun.h. | |
1221 | * linux-fork.c: Include infrun.h. | |
1222 | * linux-nat.c: Include infrun.h. | |
1223 | * linux-thread-db.c: Include infrun.h. | |
1224 | * monitor.c: Include infrun.h. | |
1225 | * nto-tdep.c: Include infrun.h. | |
1226 | * procfs.c: Include infrun.h. | |
1227 | * record-btrace.c: Include infrun.h. | |
1228 | * record-full.c: Include infrun.h. | |
1229 | * remote-m32r-sdi.c: Include infrun.h. | |
1230 | * remote-mips.c: Include infrun.h. | |
1231 | * remote-notif.c: Include infrun.h. | |
1232 | * remote-sim.c: Include infrun.h. | |
1233 | * remote.c: Include infrun.h. | |
1234 | * reverse.c: Include infrun.h. | |
1235 | * rs6000-tdep.c: Include infrun.h. | |
1236 | * s390-linux-tdep.c: Include infrun.h. | |
1237 | * solib-irix.c: Include infrun.h. | |
1238 | * solib-osf.c: Include infrun.h. | |
1239 | * solib-svr4.c: Include infrun.h. | |
1240 | * target.c: Include infrun.h. | |
1241 | * top.c: Include infrun.h. | |
1242 | * windows-nat.c: Include infrun.h. | |
1243 | * mi/mi-interp.c: Include infrun.h. | |
1244 | * mi/mi-main.c: Include infrun.h. | |
1245 | * python/py-threadevent.c: Include infrun.h. | |
1246 | ||
98eb56a4 PA |
1247 | 2014-05-22 Pedro Alves <palves@redhat.com> |
1248 | ||
1249 | * infrun.c (handle_inferior_event): Store the exit code for | |
1250 | --return-child-result here, instead of ... | |
1251 | (print_exited_reason): ... here. | |
1252 | ||
17b2616c PA |
1253 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1254 | ||
1255 | PR gdb/13860 | |
1256 | * gdbthread.h (struct thread_control_state): New field | |
1257 | `command_interp'. | |
1258 | * infrun.c (follow_fork): Copy the new thread control field to the | |
1259 | child fork thread. | |
1260 | (clear_proceed_status_thread): Clear the new thread control field. | |
1261 | (proceed): Set the new thread control field. | |
1262 | * interps.h (command_interp): Declare. | |
1263 | * interps.c (command_interpreter): New global. | |
1264 | (command_interp): New function. | |
1265 | (interp_exec): Set `command_interpreter' while here. | |
1266 | * cli-out.c (cli_uiout_dtor): New function. | |
1267 | (cli_ui_out_impl): Install it. | |
1268 | * mi/mi-interp.c: Include cli-out.h. | |
1269 | (mi_cmd_interpreter_exec): Add comment. | |
1270 | (restore_current_uiout_cleanup): New function. | |
1271 | (ui_out_free_cleanup): New function. | |
1272 | (mi_on_normal_stop): If finishing an execution command started by | |
1273 | a CLI command, or any kind of breakpoint-like event triggered, | |
1274 | print the stop event to the output (CLI) stream. | |
1275 | * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler. | |
1276 | ||
5166082f PA |
1277 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1278 | ||
1279 | * cli/cli-cmds.c (list_command): Handle the first "list" after the | |
1280 | current source line having changed. | |
1281 | * frame.h (set_current_sal_from_frame): Remove 'center' parameter. | |
1282 | * infrun.c (normal_stop): Adjust call to | |
1283 | set_current_sal_from_frame. | |
1284 | * source.c (clear_lines_listed_range): New function. | |
1285 | (set_current_source_symtab_and_line, identify_source_line): Clear | |
1286 | the lines listed range. | |
1287 | (line_info): Handle the first "info line" after the current source | |
1288 | line having changed. | |
1289 | * stack.c (print_stack_frame): Remove center handling. | |
1290 | (set_current_sal_from_frame): Remove 'center' parameter. Don't | |
1291 | center sal.line. | |
1292 | ||
c1ee2fb3 PA |
1293 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1294 | ||
1295 | * inf-child.c (inf_child_mourn_inferior): New function. | |
1296 | * inf-child.h (inf_child_mourn_inferior): New declaration. | |
1297 | * darwin-nat.c (darwin_mourn_inferior): Use | |
1298 | inf_child_mourn_inferior. | |
1299 | * gnu-nat.c (gnu_mourn_inferior): Likewise. | |
1300 | * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise. | |
1301 | * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise. | |
1302 | * nto-procfs.c (procfs_mourn_inferior): Likewise. | |
1303 | * windows-nat.c (windows_mourn_inferior): Likewise. | |
1304 | ||
5c6d4fb2 DE |
1305 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
1306 | ||
250748cb | 1307 | * guile/scm-breakpoint.c (breakpoint_functions): Fix typo. |
5c6d4fb2 | 1308 | |
4a2722c5 DE |
1309 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
1310 | ||
17292b30 | 1311 | * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void. |
4a2722c5 DE |
1312 | (gdbscm_out_of_range_error): Ditto. |
1313 | (gdbscm_memory_error): Ditto. | |
250748cb DE |
1314 | * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete. |
1315 | * guile/guile-internal.h (gdbscm_invalid_object_error): Update. | |
4a2722c5 DE |
1316 | (gdbscm_out_of_range_error): Update. |
1317 | (gdbscm_memory_error): Update. | |
1318 | (gdbscm_scm_to_target_string_unsafe): Delete. | |
1319 | ||
6a3cb8e8 PA |
1320 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1321 | ||
1322 | * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New | |
1323 | globals. | |
1324 | (inf_child_open_target): New function. | |
1325 | (inf_child_open): Use inf_child_open_target to push the target | |
1326 | instead of erroring out. | |
1327 | (inf_child_disconnect, inf_child_close) | |
1328 | (inf_child_maybe_unpush_target): New functions. | |
1329 | (inf_child_target): Install inf_child_disconnect and | |
1330 | inf_child_close. Store a pointer to the returned object. | |
1331 | * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New | |
1332 | declarations. | |
1333 | * target.c (auto_connect_native_target): New global. | |
1334 | (show_default_run_target): New function. | |
1335 | (find_default_run_target): Return NULL if automatically connecting | |
1336 | to the native target is disabled. | |
1337 | (_initialize_target): Install set/show auto-connect-native-target. | |
1338 | * NEWS: Mention "set auto-connect-native-target", and "target | |
1339 | native". | |
1340 | * linux-nat.c (super_close): New global. | |
1341 | (linux_nat_close): Call super_close. | |
1342 | (linux_nat_add_target): Store a pointer to the base class's | |
1343 | to_close method. | |
1344 | * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use | |
1345 | inf_child_maybe_unpush. | |
1346 | * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is | |
1347 | already pushed. | |
1348 | (inf_ttrace_mourn_inferior): Only unpush the target after mourning | |
1349 | the inferior. Use inf_child_maybe_unpush_target. | |
1350 | (inf_ttrace_attach): Don't push the target if it is already | |
1351 | pushed. | |
1352 | (inf_ttrace_detach): Use inf_child_maybe_unpush_target. | |
1353 | * darwin-nat.c (darwin_mourn_inferior): Only unpush the target | |
1354 | after mourning the inferior. Use inf_child_maybe_unpush_target. | |
1355 | (darwin_attach_pid): Don't push the target if it is already | |
1356 | pushed. | |
1357 | * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after | |
1358 | mourning the inferior. Use inf_child_maybe_unpush_target. | |
1359 | (gnu_detach): Use inf_child_maybe_unpush_target. | |
1360 | * go32-nat.c (go32_create_inferior): Don't push the target if it | |
1361 | is already pushed. | |
1362 | (go32_mourn_inferior): Use inf_child_maybe_unpush_target. | |
1363 | * nto-procfs.c (procfs_is_nto_target): Adjust comment. | |
1364 | (procfs_open): Rename to ... | |
1365 | (procfs_open_1): ... this. Add target_ops parameter. Adjust | |
1366 | comments. Can target_preopen before changing node. Call | |
1367 | inf_child_open_target to push the target explicitly. | |
1368 | (procfs_attach): Don't push the target if it is already pushed. | |
1369 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
1370 | (procfs_create_inferior): Don't push the target if it is already | |
1371 | pushed. | |
1372 | (nto_native_ops): New global. | |
1373 | (procfs_open): Reimplement. | |
1374 | (procfs_native_open): New function. | |
1375 | (init_procfs_targets): Install procfs_native_open as to_open of | |
1376 | "target native". Store a pointer to the "native" target in | |
1377 | nto_native_ops. | |
1378 | * procfs.c (procfs_attach): Don't push the target if it is already | |
1379 | pushed. | |
1380 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
1381 | (procfs_mourn_inferior): Only unpush the target after mourning the | |
1382 | inferior. Use inf_child_maybe_unpush_target. | |
1383 | (procfs_init_inferior): Don't push the target if it is already | |
1384 | pushed. | |
1385 | * windows-nat.c (do_initial_windows_stuff): Don't push the target | |
1386 | if it is already pushed. | |
1387 | ||
930ee1b1 PA |
1388 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1389 | ||
1390 | * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child" | |
1391 | and "procfs" targets are now called "native" instead. | |
1392 | ||
1f5d1b13 PA |
1393 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1394 | ||
1395 | * go32-nat.c (go32_open): Delete. | |
1396 | (go32_target): Don't override the to_open method. | |
1397 | ||
132f8e03 PA |
1398 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1399 | ||
1400 | * nto-procfs.c (procfs_can_run): New function. | |
1401 | (nto_procfs_ops): New global. | |
1402 | (init_procfs_targets): New, based on procfs_target. Install | |
1403 | "target native" in addition to "target procfs". | |
1404 | (_initialize_procfs): Call init_procfs_targets instead of adding | |
1405 | the target here. | |
1406 | ||
03c136c3 PA |
1407 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1408 | ||
1409 | * windows-nat.c (windows_target): Don't override to_shortname, | |
1410 | to_longname or to_doc. | |
1411 | ||
a635d0f3 PA |
1412 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1413 | ||
1414 | * gnu-nat.c (gnu): Don't override to_shortname, to_longname or | |
1415 | to_doc. | |
1416 | ||
4f9b5133 PA |
1417 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1418 | ||
1419 | * darwin-nat.c (_initialize_darwin_inferior): Don't override | |
1420 | to_shortname, to_longname or to_doc. | |
1421 | ||
bc85afde PA |
1422 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1423 | ||
1424 | * go32-nat.c (go32_target): Don't override to_shortname, | |
1425 | to_longname or to_doc. | |
1426 | ||
4ebfc96e PA |
1427 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1428 | ||
1429 | * inf-child.c (inf_child_open): Remove mention of "child". | |
1430 | (inf_child_target): Rename target to "native" instead of "child". | |
1431 | ||
2648dfed AA |
1432 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1433 | ||
1434 | * Makefile.in (SFILES): Delete "regset.c". | |
1435 | (COMMON_OBS): Delete "regset.o". | |
1436 | * regset.c: Remove. | |
1437 | * regset.h (regset_alloc): Delete prototype. | |
1438 | ||
b13feb94 AA |
1439 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1440 | ||
1441 | * sparc-linux-tdep.c (sparc32_linux_gregset) | |
1442 | (sparc32_linux_fpregset): New static regset structures. | |
1443 | (sparc32_linux_init_abi): Drop dynamic regset allocations. | |
1444 | * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and | |
1445 | 'fpregset' fields. | |
1446 | * sparc64-linux-tdep.c: (sparc64_linux_gregset) | |
1447 | (sparc64_linux_fpregset): New static regset structures. | |
1448 | (sparc64_linux_init_abi): Drop dynamic regset allocations. | |
1449 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset): | |
1450 | New static regset structures. | |
1451 | (sparc64fbsd_init_abi): Drop dynamic regset allocations. | |
1452 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset): | |
1453 | New static regset structures. | |
1454 | (sparc64nbsd_init_abi): Drop dynamic regset allocations. | |
1455 | * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset): | |
1456 | New static regset structures. | |
1457 | (sparc64obsd_init_abi): Drop dynamic regset allocations. | |
1458 | * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset): | |
1459 | New static regset structures. | |
1460 | (sparc32nbsd_init_abi): Drop dynamic regset allocations. | |
1461 | ||
b4fd25c9 AA |
1462 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1463 | ||
1464 | * sparc-linux-nat.c (supply_gregset, supply_fpregset) | |
1465 | (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename | |
1466 | register maps ("regmaps") from "*regset" to "*regmap". Do this | |
1467 | for all regmap types and variables. | |
1468 | * sparc-linux-tdep.c (sparc32_linux_step_trap) | |
1469 | (sparc32_linux_supply_core_gregset) | |
1470 | (sparc32_linux_collect_core_gregset) | |
1471 | (sparc32_linux_supply_core_fpregset) | |
1472 | (sparc32_linux_collect_core_fpregset): Likewise. | |
1473 | * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to... | |
1474 | (sparc_gregmap, sparc_fpregmap): ... these. | |
1475 | (sparc_supply_gregset, sparc_collect_gregset) | |
1476 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
1477 | (sparc_fetch_inferior_registers, sparc_store_inferior_registers) | |
1478 | (_initialize_sparc_nat): Rename regmaps. | |
1479 | * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to... | |
1480 | (sparc_gregmap, sparc_fpregmap): ... these. | |
1481 | (sparc_supply_gregset, sparc_collect_gregset) | |
1482 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
1483 | * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset): | |
1484 | Rename macros to... | |
1485 | (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these. | |
1486 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): | |
1487 | Likewise. | |
1488 | * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset): | |
1489 | Rename to... | |
1490 | (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these. | |
1491 | * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset) | |
1492 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename | |
1493 | regmaps. | |
1494 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
1495 | (sparc32_bsd_fpregset): Rename to... | |
1496 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
1497 | (sparc32_bsd_fpregmap): ... these. | |
1498 | * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset) | |
1499 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
1500 | (sparc32_bsd_fpregset, sparc32_sol2_gregset) | |
1501 | (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to... | |
1502 | (struct sparc_gregmap, struct sparc_fpregmap) | |
1503 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
1504 | (sparc32_bsd_fpregmap, sparc32_sol2_gregmap) | |
1505 | (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these. | |
1506 | (sparc32_supply_regset, sparc32_collect_gregset) | |
1507 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust | |
1508 | prototypes. | |
1509 | * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to... | |
1510 | (sparc64_linux_ptrace_gregmap): ... this. | |
1511 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset) | |
1512 | (_initialize_sparc64_linux_nat): Rename regmaps. | |
1513 | * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to... | |
1514 | (sparc64_linux_core_gregmap): ... this. | |
1515 | (sparc64_linux_supply_core_gregset) | |
1516 | (sparc64_linux_collect_core_gregset) | |
1517 | (sparc64_linux_supply_core_fpregset) | |
1518 | (sparc64_linux_collect_core_fpregset): Rename regmaps. | |
1519 | * sparc64-sol2-tdep.c (sparc64_sol2_gregset) | |
1520 | (sparc64_sol2_fpregset): Rename to... | |
1521 | (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these. | |
1522 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
1523 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename | |
1524 | regmaps. | |
1525 | * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset) | |
1526 | (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset) | |
1527 | (sparc64_bsd_fpregset): Rename to... | |
1528 | (struct sparc_gregmap, sparc64_sol2_gregmap) | |
1529 | (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap) | |
1530 | (sparc64_bsd_fpregmap): ... these. | |
1531 | (sparc64_supply_gregset, sparc64_collect_gregset) | |
1532 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust | |
1533 | prototypes. | |
1534 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps. | |
1535 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to... | |
1536 | (sparc64fbsd_gregmap): ... this. | |
1537 | (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset) | |
1538 | (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset): | |
1539 | Rename regmaps. | |
1540 | * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset) | |
1541 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
1542 | (sparc64nbsd_collect_fpregset): Likewise. | |
1543 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to... | |
1544 | (sparc64nbsd_gregmap): ... this. | |
1545 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename | |
1546 | regmaps. | |
1547 | * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise. | |
1548 | * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to... | |
1549 | (sparc64obsd_gregmap): ... this. | |
1550 | (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename | |
1551 | regmaps. | |
1552 | * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise. | |
1553 | * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to... | |
1554 | (sparc32nbsd_gregmap): ... this. | |
1555 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename | |
1556 | regmaps. | |
1557 | ||
8fea3224 AA |
1558 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1559 | ||
1560 | * score-tdep.c (score7_linux_gregset): New static regset | |
1561 | structure. | |
1562 | (score7_linux_regset_from_core_section): Remove dynamic regset | |
1563 | allocation. | |
1564 | (score_gdbarch_init): Drop allocation of tdep structure. | |
1565 | * score-tdep.h (struct gdbarch_tdep): Remove declaration. | |
1566 | ||
24534243 AA |
1567 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1568 | ||
1569 | * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static | |
1570 | regset structures. | |
1571 | (am33_regset_from_core_section): Remove dynamic regset | |
1572 | allocations. | |
1573 | ||
b7195f27 AA |
1574 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1575 | ||
1576 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
1577 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
1578 | structures. | |
1579 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
1580 | allocations. | |
1581 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
1582 | 'gregset64', 'fpregset', and 'fpregset64'. | |
1583 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
1584 | deleted tdep fields. | |
1585 | ||
ecc37a5a AA |
1586 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1587 | ||
1588 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
1589 | regset structures. | |
1590 | (amd64_regset_from_core_section): Remove dynamic regset | |
1591 | allocations. | |
1592 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
1593 | structure. | |
1594 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
1595 | allocation. | |
1596 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
1597 | Likewise. | |
1598 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
1599 | x86-common regset supply function. | |
1600 | * i386-tdep.c (i386_collect_gregset): Make static. | |
1601 | (i386_gregset): New global regset structure. | |
1602 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
1603 | (i386_regset_from_core_section): Remove dynamic regset | |
1604 | allocations. | |
1605 | (i386_gdbarch_init): Remove initialization of tdep fields | |
1606 | 'gregset', 'fpregset', and 'xstateregset'. | |
1607 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
1608 | 'fpregset', and 'xstateregset'. | |
1609 | (i386_collect_gregset): Remove prototype. | |
1610 | (i386_gregset): New declaration. | |
1611 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
1612 | structure. | |
1613 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
1614 | allocation. | |
1615 | ||
b7611c43 AA |
1616 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1617 | ||
1618 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
1619 | (arm_linux_vfpregset): New static regset structures. | |
1620 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
1621 | regset structures. | |
1622 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
1623 | and 'vfpregset' fields. | |
1624 | ||
a069a2bd AA |
1625 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1626 | ||
1627 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
1628 | (aarch64_linux_fpregset): New static regset structures. | |
1629 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
1630 | of regset structures. | |
1631 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
1632 | 'fpregset' fields. | |
1633 | ||
09424cff AA |
1634 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1635 | ||
1636 | * regset.h (struct regset): Remove gdbarch field. | |
1637 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
1638 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
1639 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
1640 | Likewise. | |
1641 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
1642 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
1643 | (ppc32_linux_vsxregset): Likewise. | |
1644 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
1645 | via the regcache instead of the regset. | |
1646 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
1647 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
1648 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
1649 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
1650 | Likewise. | |
1651 | ||
3ca7dae4 AA |
1652 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1653 | ||
1654 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
1655 | Constify structures. | |
1656 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
1657 | (alphanbsd_aout_gregset): Likewise. | |
1658 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
1659 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
1660 | Likewise. | |
1661 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
1662 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
1663 | Likewise. | |
1664 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
1665 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
1666 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
1667 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
1668 | * m88k-tdep.c (m88k_gregset): Likewise. | |
1669 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
1670 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
1671 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
1672 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
1673 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
1674 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
1675 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
1676 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
1677 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
1678 | Likewise. | |
1679 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
1680 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
1681 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
1682 | * vax-tdep.c (vax_gregset): Likewise. | |
1683 | ||
5876f503 JK |
1684 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
1685 | ||
1686 | Fix TLS access for -static -pthread. | |
1687 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
1688 | (try_thread_db_load_1): Initialize it. | |
1689 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
1690 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
1691 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
1692 | load_module_addr comment. | |
1693 | ||
0256a6ac PA |
1694 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1695 | ||
1696 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
1697 | fails, fallback to reading just the memory the caller wanted. | |
1698 | ||
227533ac DE |
1699 | 2014-05-20 Doug Evans <dje@google.com> |
1700 | ||
1701 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
1702 | instead of get_current_arch. | |
1703 | ||
936d2992 PA |
1704 | 2014-05-20 Pedro Alves <palves@redhat.com> |
1705 | ||
1706 | * NEWS: Mention that compare-sections now works with all targets. | |
1707 | ||
1708 | * remote.c (PACKET_qCRC): New enum value. | |
1709 | (remote_verify_memory): Don't send qCRC if the target has no | |
1710 | execution. Use packet_support/packet_ok. If the target doesn't | |
1711 | support the qCRC packet, fallback to a deep memory copy. | |
1712 | (compare_sections_command): Say "target image" instead of "remote | |
1713 | executable". | |
1714 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
1715 | packets that have no associated command. Extend comment. | |
1716 | * target.c (simple_verify_memory, default_verify_memory): New | |
1717 | function. | |
1718 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
1719 | default_verify_memory. | |
1720 | (simple_verify_memory): New declaration. | |
1721 | * target-delegates.c: Regenerate. | |
1722 | ||
e59fa00f MM |
1723 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> |
1724 | ||
1725 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
1726 | ||
f2205de0 HZ |
1727 | 2014-05-20 Hui Zhu <hui@codesourcery.com> |
1728 | Yao Qi <yao@codesourcery.com> | |
1729 | ||
1730 | PR backtrace/16558 | |
1731 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
1732 | and change address of sp and pc. | |
1733 | ||
c4e54771 TT |
1734 | 2014-05-19 Tom Tromey <tromey@redhat.com> |
1735 | ||
1736 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
1737 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
1738 | ||
73051182 DE |
1739 | 2014-05-19 Doug Evans <dje@google.com> |
1740 | ||
1741 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
1742 | build_type_unit_groups and moved closer to only caller. Remove | |
1743 | arguments. All references updated. Remove outdated .gdb_index | |
1744 | comment. | |
1745 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
1746 | build_type_psymtabs_1. | |
1747 | ||
8832e7e3 DE |
1748 | 2014-05-19 Doug Evans <dje@google.com> |
1749 | ||
1750 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
1751 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
1752 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
1753 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
1754 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
1755 | (add_type_unit_group_to_table): Delete. | |
1756 | ||
cd8ae15e DE |
1757 | 2014-05-19 Doug Evans <dje@google.com> |
1758 | ||
1759 | * eval.c (evaluate_subexp_standard): Add some comments. | |
1760 | ||
08f4850b DE |
1761 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
1762 | ||
1763 | * progspace.c (remove_program_space): Delete, unused. | |
1764 | * progspace.h (remove_program_space): Ditto. | |
1765 | ||
bed8455c DE |
1766 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
1767 | ||
1768 | * inferior.c (prune_inferiors): Fix comment. | |
1769 | (remove_inferior_command): Call prune_program_spaces. | |
1770 | ||
8d551b02 DE |
1771 | 2014-05-16 Doug Evans <dje@google.com> |
1772 | ||
1773 | New command line option -D. | |
1774 | * NEWS: Mention it. | |
1775 | * main.c (set_gdb_data_directory): New function. | |
1776 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
1777 | Call set_gdb_data_directory. | |
1778 | (print_gdb_help): Print --data-directory, -D. | |
1779 | * main.h (set_gdb_data_directory): Declare. | |
1780 | * top.c (staged_gdb_datadir): New static global. | |
1781 | (set_gdb_datadir): Call set_gdb_data_directory | |
1782 | (show_gdb_datadir): New function. | |
1783 | (init_main): Update init of data-directory parameter. | |
1784 | ||
18848e28 GF |
1785 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
1786 | ||
1787 | Import the "dirfd" gnulib module. | |
1788 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
1789 | * gnulib/aclocal.m4: Update. | |
1790 | * gnulib/config.in: Update. | |
1791 | * gnulib/configure: Update. | |
1792 | * gnulib/import/Makefile.am: Update. | |
1793 | * gnulib/import/Makefile.in: Update. | |
1794 | * gnulib/import/dirfd.c: New. | |
1795 | * gnulib/import/m4/dirfd.m4: New. | |
1796 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
1797 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
1798 | ||
95c64f92 YQ |
1799 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
1800 | Yao Qi <yao@codesourcery.com> | |
1801 | ||
1802 | * valprint.c (print_wchar): Move the code on checking whether | |
1803 | W is a printable wide char to the default branch of switch | |
1804 | statement below. Call wchar_printable instead of gdb_iswprint. | |
1805 | ||
cac395ea TM |
1806 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
1807 | ||
19679eca | 1808 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
1809 | ldr.w and ldrd instructions. |
1810 | ||
83655187 DE |
1811 | 2014-05-15 Doug Evans <dje@google.com> |
1812 | ||
1813 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
1814 | ||
dd756689 TT |
1815 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
1816 | ||
1817 | * macrocmd.c (print_macro_definition): Reindent. | |
1818 | ||
75ddda77 DE |
1819 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
1820 | ||
1821 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
1822 | (completers): Make const. | |
1823 | ||
b0f16a3e SM |
1824 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
1825 | ||
1826 | * infrun.c (resume): Remove should_resume (unused). Move up | |
1827 | declaration of resume_ptid. | |
1828 | ||
033c3379 TT |
1829 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
1830 | ||
1831 | * language.h (unop_type_check): Remove. | |
1832 | (binop_type_check): Don't declare. | |
1833 | ||
9b44a3a5 AA |
1834 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
1835 | ||
1836 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
1837 | call to regcache_raw_collect. | |
1838 | ||
303a33fa SM |
1839 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
1840 | ||
1841 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
1842 | mi_console->quote as the quoting character. | |
1843 | ||
196100a0 SM |
1844 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
1845 | ||
1846 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
1847 | ||
f989a1c8 TT |
1848 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
1849 | ||
1850 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
1851 | "show debug varobj". | |
1852 | ||
9404b58f KM |
1853 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
1854 | ||
1855 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
1856 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
1857 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
1858 | with aarch64_software_single_step. | |
1859 | ||
5e49ba57 JB |
1860 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
1861 | ||
1862 | GDB 7.7.1 released. | |
1863 | ||
c888a17d KS |
1864 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
1865 | ||
1866 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
1867 | variable or history value is successfully parsed. | |
1868 | ||
290a839c YQ |
1869 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
1870 | Pedro Alves <palves@redhat.com> | |
1871 | ||
1872 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
1873 | address of blocks that intersects the requested range. Trim | |
1874 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
1875 | sections. | |
1876 | * ctf.c (ctf_xfer_partial): Likewise. | |
1877 | ||
91256dc2 YQ |
1878 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
1879 | ||
1880 | * printcmd.c (display_command): Remove the check to | |
1881 | target_has_execution. | |
1882 | ||
07284463 MK |
1883 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
1884 | ||
1885 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
1886 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
1887 | add_target. | |
1888 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
1889 | ||
30a1e6cc SDJ |
1890 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
1891 | ||
1892 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
1893 | and 16-bit signed and unsigned arguments. Update comment. | |
1894 | (stap_parse_probe_arguments): Extend code to handle such | |
1895 | arguments. Use warning instead of complaint to notify about | |
1896 | unrecognized bitness. | |
1897 | ||
f33da99a SDJ |
1898 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
1899 | ||
1900 | PR breakpoints/16889 | |
1901 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
1902 | check for non-prefixed probes (i.e., probes whose | |
1903 | arguments do not start with "N@"). Always set the | |
1904 | argument type to a sane value. | |
1905 | ||
95cf3b38 DT |
1906 | 2014-05-01 David Taylor <dtaylor@emc.com> |
1907 | ||
1908 | * remote.c (compare_sections_command): Add -r option to compare | |
1909 | all loadable read-only sections. | |
1910 | ||
1cfdf534 SC |
1911 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
1912 | ||
1913 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
1914 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
1915 | Update all callers. | |
1916 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
1917 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
1918 | Remove unused CORE_ADDR argument. Update all callers. | |
1919 | ||
ca4f7f8b PA |
1920 | 2014-04-29 Pedro Alves <palves@redhat.com> |
1921 | ||
1922 | * remote.c (struct packet_config) <detect>: Extend comment. | |
1923 | (add_packet_config_cmd): Don't set the config's detect or support | |
1924 | fields here. | |
1925 | (init_all_packet_configs): Also initialize the config's 'detect' | |
1926 | field. | |
1927 | (reset_all_packet_configs_support): New function. | |
1928 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
1929 | init_all_packet_configs. | |
1930 | (_initialize_remote): Initialize all packet configs. Assert that | |
1931 | all packets have an associated command, except a few known | |
1932 | outliers. | |
1933 | ||
11c1ba78 JB |
1934 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
1935 | ||
1936 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
1937 | DW_AT_lower_bound attributes. | |
1938 | ||
8739bc53 JB |
1939 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
1940 | ||
1941 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
1942 | dynamic bounds before computing its upper bound. | |
1943 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
1944 | ||
6f8a3220 JB |
1945 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
1946 | ||
1947 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
1948 | range types. Adjust the array handling implementation to | |
1949 | take advantage of this change. | |
1950 | (resolve_dynamic_range): New function, mostly extracted from | |
1951 | resolve_dynamic_bounds. | |
1952 | (resolve_dynamic_array): New function, mostly extracted from | |
1953 | resolve_dynamic_bounds. | |
1954 | (resolve_dynamic_bounds): Delete. | |
1955 | (resolve_dynamic_type): Reimplement. Add handling of | |
1956 | TYPE_CODE_RANGE types. | |
1957 | ||
4d072ce4 JB |
1958 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
1959 | ||
1960 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
1961 | handling of parallel ___XA types. | |
1962 | ||
52865325 JB |
1963 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
1964 | ||
1965 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
1966 | unnecessary second call to static_unwrap_type. | |
1967 | ||
433e77fa HZ |
1968 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
1969 | ||
1970 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
1971 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
1972 | ||
b51a69ee DE |
1973 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
1974 | ||
1975 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
1976 | ||
7ae1a6a6 PA |
1977 | 2014-04-25 Pedro Alves <palves@redhat.com> |
1978 | ||
1979 | PR server/16255 | |
1980 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
1981 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
1982 | and newline from built string. | |
1983 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
1984 | (linux_ptrace_attach_fail_reason): ... this. | |
1985 | * linux-nat.c (linux_nat_attach): Adjust to use | |
1986 | linux_ptrace_attach_fail_reason. | |
1987 | ||
4082afcc PA |
1988 | 2014-04-25 Pedro Alves <palves@redhat.com> |
1989 | ||
1990 | * remote.c (struct remote_state): Remove multi_process_aware, | |
1991 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
1992 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
1993 | install_in_trace, disconnected_tracing, | |
1994 | enable_disable_tracepoints, string_tracing, and | |
1995 | augmented_libraries_svr4_read fields. | |
1996 | (remote_multi_process_p): Move further below in the file. | |
1997 | (struct packet_config): Add comments. | |
1998 | (update_packet_config): Delete function. | |
1999 | (show_packet_config_cmd): Use packet_config_support. | |
2000 | (add_packet_config_cmd): Use NULL as set callback. | |
2001 | (packet_ok): "set remote foo-packet"-style commands no longer | |
2002 | change config->supported -- adjust. | |
2003 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
2004 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
2005 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
2006 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
2007 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
2008 | (PACKET_DisconnectedTracing_feature) | |
2009 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
2010 | (set_remote_protocol_packet_cmd): Delete function. | |
2011 | (packet_config_support, packet_support): New functions. | |
2012 | (set_remote_protocol_Z_packet_cmd): Don't call | |
2013 | update_packet_config. | |
2014 | (remote_query_attached, remote_pass_signals) | |
2015 | (remote_program_signals, remote_threads_info) | |
2016 | (remote_threads_extra_info, remote_start_remote): Use | |
2017 | packet_support. | |
2018 | (remote_start_remote): Use packet_config_support and | |
2019 | packet_support. | |
2020 | (init_all_packet_configs): Set all packets to unknown support, | |
2021 | instead of calling update_packet_config. | |
2022 | (remote_check_symbols): Use packet_support. | |
2023 | (remote_supported_packet): Unconditionally set the packet config's | |
2024 | support status. | |
2025 | (remote_multi_process_feature, remote_non_stop_feature) | |
2026 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
2027 | (remote_breakpoint_commands_feature) | |
2028 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
2029 | (remote_install_in_trace_feature) | |
2030 | (remote_disconnected_tracing_feature) | |
2031 | (remote_enable_disable_tracepoint_feature) | |
2032 | (remote_string_tracing_feature) | |
2033 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
2034 | (remote_protocol_features): Adjust to use remote_supported_packet | |
2035 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
2036 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
2037 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
2038 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
2039 | "EnableDisableTracepoints", and "tracenz". | |
2040 | (remote_query_supported): Use packet_support. | |
2041 | (remote_open_1): Adjust. | |
2042 | (extended_remote_attach_1): Use packet_support. Switch on the | |
2043 | result of packet_ok instead of checking whether the packet ended | |
2044 | up disabled. | |
2045 | (remote_vcont_resume): Use packet_support. | |
2046 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
2047 | (remote_prepare_to_store, store_register_using_P) | |
2048 | (check_binary_download, remote_write_bytes): Use packet_support. | |
2049 | (remote_vkill): Use packet_support. Switch on the result of | |
2050 | packet_ok instead of checking whether the packet ended up | |
2051 | disabled. | |
2052 | (extended_remote_supports_disable_randomization): Use | |
2053 | packet_support. | |
2054 | (extended_remote_run): Switch on the result of packet_ok instead | |
2055 | of checking whether the packet ended up disabled. | |
2056 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
2057 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
2058 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
2059 | packet_support. | |
2060 | (remote_search_memory): Use packet_config_support. | |
2061 | (remote_get_thread_local_address, remote_get_tib_address) | |
2062 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
2063 | packet_support. | |
2064 | (remote_supports_cond_tracepoints) | |
2065 | (remote_supports_cond_breakpoints) | |
2066 | (remote_supports_fast_tracepoints) | |
2067 | (remote_supports_static_tracepoints) | |
2068 | (remote_supports_install_in_trace) | |
2069 | (remote_supports_enable_disable_tracepoint) | |
2070 | (remote_supports_string_tracing) | |
2071 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
2072 | the packet config says the feature is enabled or disabled. | |
2073 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
2074 | (remote_get_trace_status): Use packet_support. | |
2075 | (remote_set_disconnected_tracing): Adjust to check whether the | |
2076 | feature is enabled with packet_support. | |
2077 | (remote_set_trace_buffer_size, remote_use_agent) | |
2078 | (remote_can_use_agent, remote_supports_btrace): Use | |
2079 | packet_support. | |
2080 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
2081 | Use packet_config_support. | |
2082 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
2083 | the packet config says the feature is enabled or disabled. | |
2084 | (set_range_stepping): Use packet_support. | |
2085 | ||
bdb52a22 TT |
2086 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
2087 | ||
2088 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
2089 | argument. | |
2090 | ||
e9475ead SA |
2091 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
2092 | ||
2093 | * NEWS: Mention support for C99 variable length arrays. | |
2094 | ||
82eacd52 JB |
2095 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
2096 | ||
2097 | * ada-lang.c (standard_exc): Expand introductory comment. | |
2098 | ||
01f9f808 MS |
2099 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
2100 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
2101 | ||
2102 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
2103 | AVX512 registers. | |
2104 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
2105 | mask and return respective tdesc. | |
2106 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
2107 | and features/i386/x32-avx512-linux.c. | |
2108 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
2109 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
2110 | xstate mask and return respective tdesc. | |
2111 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
2112 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
2113 | calculation. | |
2114 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
2115 | (tdesc_amd64_avx512_linux): New prototype. | |
2116 | (tdesc_x32_avx512_linux): Likewise. | |
2117 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
2118 | features/i386/x32-avx512.c. | |
2119 | (amd64_ymm_avx512_names): New register names for pseudo | |
2120 | registers YMM16-31. | |
2121 | (amd64_ymmh_avx512_names): New register names for raw registers | |
2122 | YMMH16-31. | |
2123 | (amd64_k_names): New register names for K registers. | |
2124 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
2125 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
2126 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
2127 | registers. | |
2128 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
2129 | registers. | |
2130 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
2131 | if feature is present. | |
2132 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
2133 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
2134 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
2135 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
2136 | registers supplied via XSTATE by AVX512 registers. | |
2137 | (i386_linux_read_description): Add case for AVX512. | |
2138 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
2139 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
2140 | (i386_linux_core_read_description): Add case for AVX512. | |
2141 | (i386_linux_init_abi): Install supported register note section | |
2142 | for AVX512. | |
2143 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
2144 | AVX512. | |
2145 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
2146 | registers to be number of zmm7h + 1. | |
2147 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
2148 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
2149 | (i386_zmm_names): Add ZMM pseudo register names array. | |
2150 | (i386_zmmh_names): Add ZMM raw register names array. | |
2151 | (i386_k_names): Add K raw register names array. | |
2152 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
2153 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
2154 | registers. | |
2155 | (i386_zmmh_regnum_p): Add function to look up register number of | |
2156 | ZMM raw registers. | |
2157 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
2158 | (i386_k_regnum_p): Likewise for K raw registers. | |
2159 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
2160 | registers added by AVX512. | |
2161 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
2162 | registers added by AVX512. | |
2163 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
2164 | added by AVX512. | |
2165 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
2166 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
2167 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
2168 | registers. | |
2169 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
2170 | ZMM0-31 pseudo registers and K registers. | |
2171 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
2172 | and YMM16-31 registers from register cache. | |
2173 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
2174 | YMM16-31 registers. | |
2175 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
2176 | registers in/from respective register groups. | |
2177 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
2178 | registers if feature is present in xcr0. | |
2179 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
2180 | variables in tdep structure, wire in pseudo registers and call | |
2181 | initialize_tdesc_i386_avx512. | |
2182 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
2183 | variables. | |
2184 | (i386_regnum): Add AVX512 registers. | |
2185 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
2186 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
2187 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
2188 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
2189 | 512 bits wide. | |
2190 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
2191 | (i386_ymm_avx512_regnum_p): Likewise. | |
2192 | (i386_k_regnum_p): Likewise. | |
2193 | (i386_zmm_regnum_p): Likewise. | |
2194 | (i386_zmmh_regnum_p): Likewise. | |
2195 | * i387-tdep.c : Update year in copyright notice. | |
2196 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
2197 | XSAVE buffer. | |
2198 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
2199 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
2200 | XSAVE buffer. | |
2201 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
2202 | (xsave_avx512_k_offset): New table for K register offsets in | |
2203 | XSAVE buffer. | |
2204 | (XSAVE_AVX512_K_ADDR): New macro. | |
2205 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
2206 | in XSAVE buffer. | |
2207 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
2208 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
2209 | buffer. | |
2210 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
2211 | XSAVE buffer. | |
2212 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
2213 | of XMM16-31 registers. | |
2214 | (I387_NUM_K_REGS): New define for number of K registers. | |
2215 | (I387_K0_REGNUM): New define for K0 register number. | |
2216 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
2217 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
2218 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
2219 | registers. | |
2220 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
2221 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
2222 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
2223 | (I387_KEND_REGNUM): New define for last K register number. | |
2224 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
2225 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
2226 | number. | |
2227 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
2228 | number. | |
2229 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
2230 | size. | |
2231 | * features/Makefile: Add AVX512 related files. | |
2232 | * features/i386/32bit-avx512.xml: New file. | |
2233 | * features/i386/64bit-avx512.xml: Likewise. | |
2234 | * features/i386/amd64-avx512-linux.c: Likewise. | |
2235 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
2236 | * features/i386/amd64-avx512.c: Likewise. | |
2237 | * features/i386/amd64-avx512.xml: Likewise. | |
2238 | * features/i386/i386-avx512-linux.c: Likewise. | |
2239 | * features/i386/i386-avx512-linux.xml: Likewise. | |
2240 | * features/i386/i386-avx512.c: Likewise. | |
2241 | * features/i386/i386-avx512.xml: Likewise. | |
2242 | * features/i386/x32-avx512-linux.c: Likewise. | |
2243 | * features/i386/x32-avx512-linux.xml: Likewise. | |
2244 | * features/i386/x32-avx512.c: Likewise. | |
2245 | * features/i386/x32-avx512.xml: Likewise. | |
2246 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
2247 | * regformats/i386/amd64-avx512.dat: Likewise. | |
2248 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
2249 | * regformats/i386/i386-avx512.dat: Likewise. | |
2250 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
2251 | * regformats/i386/x32-avx512.dat: Likewise. | |
2252 | * NEWS: Add note about new support for AVX512. | |
2253 | ||
2254 | ||
08351840 PA |
2255 | 2014-04-23 Pedro Alves <palves@redhat.com> |
2256 | ||
2257 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
2258 | breakpoint is set in a user-loaded objfile. | |
2259 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
2260 | location is marked shlib_disabled. If the breakpoint is set in a | |
2261 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
2262 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
2263 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
2264 | flag. | |
2265 | * mem-break.c (memory_validate_breakpoint): New function. | |
2266 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
2267 | function. | |
2268 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
2269 | * target.h (memory_validate_breakpoint): New declaration. | |
2270 | ||
076855f9 PA |
2271 | 2014-04-23 Pedro Alves <palves@redhat.com> |
2272 | ||
2273 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
2274 | the breakpoint is set in a shared library, only suppress | |
2275 | errors for software breakpoints, not hardware breakpoints. | |
2276 | ||
483805cf PA |
2277 | 2014-04-22 Pedro Alves <palves@redhat.com> |
2278 | ||
2279 | * infrun.c (schedlock_applies): New function, factored out from | |
2280 | find_thread_needs_step_over. | |
2281 | (find_thread_needs_step_over): Use it. | |
2282 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
2283 | step over is finished. Return early if scheduler locking applies. | |
2284 | Look for the stepping thread and a potential step-over thread with | |
2285 | a single loop. | |
2286 | (currently_stepping_or_nexting_callback): Delete. | |
2287 | ||
a75fef0e NC |
2288 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
2289 | ||
2290 | * NEWS: Mention that ARM sim now supports tracing. | |
2291 | ||
48b6e87e YQ |
2292 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
2293 | ||
2294 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
2295 | to ... | |
2296 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
2297 | function. | |
2298 | * tracefile.h (tracefile_fetch_registers): Declare. | |
2299 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
2300 | tracefile_fetch_registers. | |
2301 | ||
17617f2d EZ |
2302 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
2303 | ||
2304 | PR gdb/14018 | |
2305 | * windows-nat.c (thread_rec): Don't display a warning when | |
2306 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
2307 | fails for any reason, set th->suspended to -1, so that we don't | |
2308 | try to resume such a thread. Also, don't return NULL in these | |
2309 | cases, to avoid completely ruin the session due to "PC register is | |
2310 | not available" error. | |
2311 | (do_windows_fetch_inferior_registers): Check errors in | |
2312 | GetThreadContext call. | |
2313 | (windows_continue): Accept an additional argument KILLED; if not | |
2314 | zero, ignore errors in the SetThreadContext call, since the | |
2315 | inferior was killed and is shutting down. | |
2316 | (windows_resume, get_windows_debug_event) | |
2317 | (windows_create_inferior, windows_mourn_inferior) | |
2318 | (windows_kill_inferior): All callers of windows_continue changed | |
2319 | to adjust to its new calling sequence. | |
2320 | ||
5723a6fd YQ |
2321 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
2322 | ||
2323 | * ctf.c (ctf_open): Call post_create_inferior. | |
2324 | ||
614d5099 YQ |
2325 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
2326 | ||
2327 | * ctf.c (handle_id): New static variable. | |
2328 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
2329 | value. Get the declaration of event "register" and get length | |
2330 | of field "contents". | |
2331 | ||
dac3e710 YQ |
2332 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
2333 | ||
2334 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
2335 | ||
2bca57ba SC |
2336 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
2337 | ||
2338 | * valops.c (oload_method_static): Remove unnecessary argument | |
2339 | METHOD. Update all callers. | |
2340 | ||
51d48146 PA |
2341 | 2014-04-18 Pedro alves <palves@redhat.com> |
2342 | Tom Tromey <tromey@redhat.com> | |
2343 | ||
2344 | PR backtrace/15558 | |
2345 | * frame.c (get_prev_frame_1): Rename to ... | |
2346 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
2347 | (skip_artificial_frames): Use get_prev_frame_always. | |
2348 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
2349 | (get_frame_unwind_stop_reason): Adjust to rename. | |
2350 | * frame.h (get_prev_frame_always): Declare. | |
2351 | * inline-frame.c: Include frame.h. | |
2352 | (inline_frame_this_id): Use get_prev_frame_always. | |
2353 | ||
1bdad2e0 TG |
2354 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
2355 | ||
2356 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
2357 | code by using bfd_mach_o_get_base_address. | |
2358 | ||
7ce16bd4 UW |
2359 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
2360 | ||
2361 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
2362 | (spu_ax_pseudo_register_collect): New function. | |
2363 | (spu_ax_pseudo_register_push_stack): Likewise. | |
2364 | (spu_dwarf_reg_to_regnum): Likewise. | |
2365 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
2366 | ||
2ed3c037 UW |
2367 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
2368 | ||
2369 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
2370 | Replace FRAME argument with FRAME_ID. | |
2371 | * gdbarch.c, gdbarch.h: Regenerate. | |
2372 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
2373 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
2374 | (value_from_register): Update call to gdbarch_value_from_register. | |
2375 | * value.h (default_value_from_register): Update prototype. | |
2376 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
2377 | and call to default_value_from_register. | |
2378 | * spu-tdep.c (spu_value_from_register): Likewise. | |
2379 | ||
2380 | * findvar.c (address_from_register): Remove TYPE argument. | |
2381 | Do not call value_from_register; use gdbarch_value_from_register | |
2382 | with null_frame_id instead. | |
2383 | * value.h (address_from_register): Update prototype. | |
2384 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
2385 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
2386 | address_from_register interface change. | |
2387 | ||
71e50e83 YQ |
2388 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
2389 | ||
2390 | * gdbtypes.h: Update comments to link to types and macros' | |
2391 | definitions. | |
2392 | ||
7a23c549 SC |
2393 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
2394 | ||
2395 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
2396 | ||
22869d73 KS |
2397 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
2398 | ||
2399 | PR gdb/15827 | |
2400 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
2401 | sibling DIEs fall within range of the current reader's buffer. | |
2402 | (read_partial_die): Likewise. | |
2403 | ||
c4f87ca6 KS |
2404 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
2405 | ||
2406 | PR c++/16597 | |
2407 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
2408 | `this' is NULL, return immediately. | |
2409 | ||
b50c8614 KS |
2410 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
2411 | ||
2412 | PR c++/16253 | |
2413 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
2414 | from symbol_matches_domain in symtab.c. All local callers | |
2415 | of symbol_matches_domain updated. | |
2416 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
2417 | search STRUCT_DOMAIN. | |
2418 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
2419 | independently. standard_lookup will do that automatically. | |
2420 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
2421 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
2422 | (cp_lookup_symbol_in_namespace): Likewise. | |
2423 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
2424 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
2425 | may return a STRUCT_DOMAIN match. | |
2426 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
2427 | * cp-support.c: Include language.h. | |
2428 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
2429 | VAR_DOMAIN. | |
2430 | * psymtab.c (match_partial_symbol): Compare the requested | |
2431 | domain with the symbol's domain directly. | |
2432 | (lookup_partial_symbol): Likewise. | |
2433 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
2434 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
2435 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
2436 | appropriate languages. | |
2437 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
2438 | and moved to ada-lang.c | |
2439 | (lookup_block_symbol): Explain that this function only returns | |
2440 | symbol matching the requested DOMAIN. | |
2441 | Compare the requested domain with the symbol's domain directly. | |
2442 | (iterate_over_symbols): Compare the requested domain with the | |
2443 | symbol's domain directly. | |
2444 | * symtab.h (symbol_matches_domain): Remove. | |
2445 | ||
3d567982 TT |
2446 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
2447 | ||
2448 | PR c++/15246: | |
2449 | * c-exp.y (type_aggregate_p): New function. | |
2450 | (qualified_name, classify_inner_name): Use it. | |
2451 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
2452 | and TYPE_TARGET_TYPE of an enum type. | |
2453 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
2454 | an enum type. | |
2455 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
2456 | handle TYPE_DECLARED_CLASS. | |
2457 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
2458 | types. | |
2459 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
2460 | * valops.c (enum_constant_from_type): New function. | |
2461 | (value_aggregate_elt): Use it. | |
2462 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
2463 | TYPE_CODE_ENUM. | |
2464 | ||
c848d642 TT |
2465 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
2466 | ||
2467 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
2468 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
2469 | const. | |
2470 | * value.h (value_aggregate_elt): Update. | |
2471 | ||
0626fc76 TT |
2472 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
2473 | ||
2474 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
2475 | ||
5ecaaa66 SA |
2476 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2477 | ||
2478 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
2479 | (evaluate_subexp_standard): Pass noside argument. | |
2480 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
2481 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
2482 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
2483 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
2484 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
2485 | ||
1612e0c0 SA |
2486 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2487 | ||
2488 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
2489 | points to a constant blob. | |
2490 | ||
c451ebe5 SA |
2491 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2492 | ||
2493 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
2494 | property and store it as the high bound and flag the range accordingly. | |
2495 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
2496 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
2497 | * gdbtypes.h (enum range_flags): New enum. | |
2498 | (struct range_bounds): Add flags member. | |
2499 | ||
1d42e4c4 SA |
2500 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2501 | ||
2502 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
2503 | check for not yet resolved high bound. If unresolved, print | |
2504 | "variable length" string to the console instead of random | |
2505 | length. | |
2506 | ||
9f1f738a SA |
2507 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2508 | ||
2509 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
2510 | value. | |
2511 | (ada_template_to_fixed_record_type_1): Likewise. | |
2512 | (ada_to_fixed_type_1): Likewise. | |
2513 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
2514 | (cp_print_value): Likewise. | |
2515 | * d-valprint.c (dynamic_array_type): Likewise. | |
2516 | * findvar.c (address_of_variable): Likewise. | |
2517 | * jv-valprint.c (java_value_print): Likewise. | |
2518 | * valops.c (value_ind): Likewise. | |
2519 | * value.c (coerce_ref): Likewise. | |
2520 | ||
3c8452d4 SA |
2521 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2522 | ||
2523 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
2524 | value and retrieve the dynamic type size. | |
2525 | ||
4ad88275 SA |
2526 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2527 | ||
2528 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
2529 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
2530 | ||
80180f79 SA |
2531 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2532 | Joel Brobecker <brobecker@adacore.com> | |
2533 | ||
2534 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
2535 | (dwarf2_evaluate_property): New function. | |
2536 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
2537 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
2538 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
2539 | attribute. | |
2540 | * gdbtypes.c: Include dwarf2loc.h. | |
2541 | (is_dynamic_type): New function. | |
2542 | (resolve_dynamic_type): New function. | |
2543 | (resolve_dynamic_bounds): New function. | |
2544 | (get_type_length): New function. | |
2545 | (check_typedef): Use get_type_length to compute type length. | |
2546 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
2547 | (TYPE_LOW_BOUND_KIND): New macro. | |
2548 | (is_dynamic_type): New function prototype. | |
2549 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
2550 | to resolve dynamic properties of the type. Update comment. | |
2551 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
2552 | ||
a1556843 RH |
2553 | 2014-04-14 Richard Henderson <rth@redhat.com> |
2554 | ||
2555 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
2556 | ||
0be03e84 DE |
2557 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
2558 | Doug Evans <xdje42@gmail.com> | |
2559 | ||
2560 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
2561 | dereference TYPE_CODE_REF values. | |
2562 | ||
6b662e19 JB |
2563 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
2564 | ||
2565 | Revert the following changes due to regressions: | |
2566 | ||
2567 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
2568 | (dwarf2_evaluate_property): New function. | |
2569 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
2570 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
2571 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
2572 | attribute. | |
2573 | * gdbtypes.c: Include dwarf2loc.h. | |
2574 | (is_dynamic_type): New function. | |
2575 | (resolve_dynamic_type): New function. | |
2576 | (resolve_dynamic_bounds): New function. | |
2577 | (get_type_length): New function. | |
2578 | (check_typedef): Use get_type_length to compute type length. | |
2579 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
2580 | (TYPE_LOW_BOUND_KIND): New macro. | |
2581 | (is_dynamic_type): New function prototype. | |
2582 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
2583 | to resolve dynamic properties of the type. Update comment. | |
2584 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
2585 | ||
2586 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
2587 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
2588 | ||
2589 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
2590 | value and retrieve the dynamic type size. | |
2591 | ||
2592 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
2593 | (ada_template_to_fixed_record_type_1): Likewise. | |
2594 | (ada_to_fixed_type_1): Likewise. | |
2595 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
2596 | (cp_print_value): Likewise. | |
2597 | * d-valprint.c (dynamic_array_type): Likewise. | |
2598 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
2599 | * findvar.c (address_of_variable): Likewise. | |
2600 | * jv-valprint.c (java_value_print): Likewise. | |
2601 | * valops.c (value_ind): Likewise. | |
2602 | * value.c (coerce_ref): Likewise. | |
2603 | ||
2604 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
2605 | check for not yet resolved high bound. If unresolved, print | |
2606 | "variable length" string to the console instead of random | |
2607 | length. | |
2608 | ||
2609 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
2610 | property and store it as the high bound and flag the range accordingly. | |
2611 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
2612 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
2613 | * gdbtypes.h (enum range_flags): New enum. | |
2614 | (struct range_bounds): Add flags member. | |
2615 | ||
2616 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
2617 | points to a constant blob. | |
2618 | ||
2619 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
2620 | (evaluate_subexp_standard): Pass noside argument. | |
2621 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
2622 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
2623 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
2624 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
2625 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
2626 | ||
245a5f0b KS |
2627 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
2628 | ||
2629 | PR c++/16675 | |
2630 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
2631 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
2632 | reference types. | |
2633 | ||
3bce8237 SA |
2634 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
2635 | ||
2636 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
2637 | (evaluate_subexp_standard): Pass noside argument. | |
2638 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
2639 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
2640 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
2641 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
2642 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
2643 | ||
92b09522 SA |
2644 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
2645 | ||
2646 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
2647 | points to a constant blob. | |
2648 | ||
e1969afb SA |
2649 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
2650 | ||
2651 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
2652 | property and store it as the high bound and flag the range accordingly. | |
2653 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
2654 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
2655 | * gdbtypes.h (enum range_flags): New enum. | |
2656 | (struct range_bounds): Add flags member. | |
2657 | ||
b86138fb SA |
2658 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
2659 | ||
2660 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
2661 | check for not yet resolved high bound. If unresolved, print | |
2662 | "variable length" string to the console instead of random | |
2663 | length. | |
2664 | ||
bcd629a4 SA |
2665 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
2666 | ||
2667 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
2668 | (ada_template_to_fixed_record_type_1): Likewise. | |
2669 | (ada_to_fixed_type_1): Likewise. | |
2670 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
2671 | (cp_print_value): Likewise. | |
2672 | * d-valprint.c (dynamic_array_type): Likewise. | |
2673 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
2674 | * findvar.c (address_of_variable): Likewise. | |
2675 | * jv-valprint.c (java_value_print): Likewise. | |
2676 | * valops.c (value_ind): Likewise. | |
2677 | * value.c (coerce_ref): Likewise. | |
2678 | ||
04b19544 SA |
2679 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
2680 | ||
2681 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
2682 | value and retrieve the dynamic type size. | |
2683 | ||
26cb189f SA |
2684 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
2685 | ||
2686 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
2687 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
2688 | ||
37c1ab67 SA |
2689 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
2690 | ||
2691 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
2692 | (dwarf2_evaluate_property): New function. | |
2693 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
2694 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
2695 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
2696 | attribute. | |
2697 | * gdbtypes.c: Include dwarf2loc.h. | |
2698 | (is_dynamic_type): New function. | |
2699 | (resolve_dynamic_type): New function. | |
2700 | (resolve_dynamic_bounds): New function. | |
2701 | (get_type_length): New function. | |
2702 | (check_typedef): Use get_type_length to compute type length. | |
2703 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
2704 | (TYPE_LOW_BOUND_KIND): New macro. | |
2705 | (is_dynamic_type): New function prototype. | |
2706 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
2707 | to resolve dynamic properties of the type. Update comment. | |
2708 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
2709 | ||
729efb13 SA |
2710 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
2711 | ||
2712 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
2713 | declaring high/low bounds and change uses accordingly. Call | |
2714 | create_range_type instead of create_static_range_type. | |
2715 | * gdbtypes.c (create_range_type): New function. | |
2716 | (create_range_type): Convert bounds into struct bound_prop and pass | |
2717 | them to create_range_type. | |
2718 | * gdbtypes.h (struct bound_prop): New struct. | |
2719 | (create_range_type): New function prototype. | |
2720 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
2721 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
2722 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
2723 | part of the bound. | |
2724 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
2725 | ||
0c9c3474 SA |
2726 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
2727 | ||
2728 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
2729 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
2730 | * ada-lang.c: All uses of create_range_type updated. | |
2731 | * coffread.c: All uses of create_range_type updated. | |
2732 | * dwarf2read.c: All uses of create_range_type updated. | |
2733 | * f-exp.y: All uses of create_range_type updated. | |
2734 | * m2-valprint.c: All uses of create_range_type updated. | |
2735 | * mdebugread.c: All uses of create_range_type updated. | |
2736 | * stabsread.c: All uses of create_range_type updated. | |
2737 | * valops.c: All uses of create_range_type updated. | |
2738 | * valprint.c: All uses of create_range_type updated. | |
2739 | ||
9d497a19 PA |
2740 | 2014-04-10 Pedro Alves <palves@redhat.com> |
2741 | ||
2742 | * breakpoint.c (single_step_breakpoints) | |
2743 | (single_step_gdbarch): Move up in the file. | |
2744 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
2745 | (breakpoint_xfer_memory): ... here. Also process single-step | |
2746 | breakpoints. | |
2747 | ||
15a9128a TG |
2748 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
2749 | ||
2750 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
2751 | comments. | |
2752 | (darwin_decode_exception_message): Free port only after use. | |
2753 | ||
9c97a070 PL |
2754 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
2755 | ||
2756 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
2757 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
2758 | when setting the size of call_length. | |
2759 | ||
7af389b8 SC |
2760 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
2761 | ||
2762 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
2763 | dereference TYPE_CODE_REF values. | |
2764 | ||
86ad98c3 JB |
2765 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
2766 | ||
2767 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
2768 | end of warning message. | |
2769 | ||
b0aeadb3 DE |
2770 | 2014-04-03 Doug Evans <dje@google.com> |
2771 | ||
2772 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
2773 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
2774 | ||
5979d6b6 AM |
2775 | 2014-04-02 Alan Modra <amodra@gmail.com> |
2776 | ||
2777 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
2778 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
2779 | (struct symbol_file_add_from_memory_args): Add size field. | |
2780 | (find_vdso_size): New function. | |
2781 | (add_vsyscall_page): Attempt to find vdso size. | |
2782 | ||
0d60c288 DE |
2783 | 2014-04-01 Doug Evans <dje@google.com> |
2784 | ||
2785 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
2786 | ||
a41f2563 TG |
2787 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
2788 | ||
2789 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
2790 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
2791 | (darwin_decode_message): Handle message by id. Ignore message | |
2792 | to unknown inferior. | |
2793 | (darwin_wait): Discard unknown messages, add debug trace. | |
2794 | ||
11a865c8 DE |
2795 | 2014-03-31 Doug Evans <dje@google.com> |
2796 | ||
2797 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
2798 | comp_dir_string. | |
2799 | ||
770e7fc7 DE |
2800 | 2014-03-31 Doug Evans <dje@google.com> |
2801 | ||
2802 | New option "set print symbol-loading". | |
2803 | * NEWS: Mention it. | |
2804 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
2805 | if requested. | |
2806 | (solib_add): If symbol loading is in "brief" mode, notify user | |
2807 | symbols are being loaded. | |
2808 | (reload_shared_libraries_1): Ditto. | |
2809 | * symfile.c (print_symbol_loading_off): New static global. | |
2810 | (print_symbol_loading_brief): New static global. | |
2811 | (print_symbol_loading_full): New static global. | |
2812 | (print_symbol_loading_enums): New static global. | |
2813 | (print_symbol_loading): New static global. | |
2814 | (print_symbol_loading_p): New function. | |
2815 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
2816 | if requested. | |
2817 | (_initialize_symfile): Register "print symbol-loading" set/show | |
2818 | command. | |
2819 | * symfile.h (print_symbol_loading_p): Declare. | |
2820 | ||
c32c64b7 DE |
2821 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
2822 | ||
2823 | * infrun.c (set_last_target_status): New function. | |
2824 | (handle_inferior_event): Call it. | |
2825 | ||
7c0bc051 DE |
2826 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
2827 | ||
2828 | * inferior.h (enum stop_kind): Improve comment. | |
2829 | ||
8776cfe9 JB |
2830 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
2831 | ||
2832 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
2833 | a reference, strip the reference layer before calling | |
2834 | the lang_ops value_has_mutated callback. | |
2835 | ||
410a0ff2 SDJ |
2836 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
2837 | ||
2838 | Remove some globals from our parser. | |
2839 | * language.c (unk_lang_parser): Add "struct parser_state" | |
2840 | argument. | |
2841 | * language.h (struct language_defn) <la_parser>: Likewise. | |
2842 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
2843 | (initialize_expout): Add "struct parser_state" argument. | |
2844 | Rewrite function to use the parser state. | |
2845 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
2846 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
2847 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
2848 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
2849 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
2850 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
2851 | write_dollar_variable): Likewise. | |
2852 | (parse_exp_in_context_1): Use parser state. | |
2853 | (insert_type_address_space): Add "struct parser_state" argument. | |
2854 | Use parser state. | |
2855 | (increase_expout_size): New function. | |
2856 | * parser-defs.h: Forward declare "struct language_defn" and | |
2857 | "struct parser_state". | |
2858 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
2859 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
2860 | accept the parser state. | |
2861 | (struct parser_state): New struct. | |
2862 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
2863 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
2864 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
2865 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
2866 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
2867 | write_exp_msymbol, write_dollar_variable, | |
2868 | mark_struct_expression, insert_type_address_space): Add "struct | |
2869 | parser_state" argument. | |
2870 | (increase_expout_size): New function. | |
2871 | * utils.c (do_clear_parser_state): New function. | |
2872 | (make_cleanup_clear_parser_state): Likewise. | |
2873 | * utils.h (make_cleanup_clear_parser_state): New function | |
2874 | prototype. | |
2875 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
2876 | Update calls to write_exp* in order to pass the parser state. | |
2877 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
2878 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
2879 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
2880 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
2881 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
2882 | (stap_parse_single_operand): Likewise. | |
2883 | (stap_parse_argument_1): Likewise. | |
2884 | (stap_parse_argument): Use parser state. | |
2885 | * stap-probe.h: Include "parser-defs.h". | |
2886 | (struct stap_parse_info) <pstate>: New field. | |
2887 | * c-exp.y (parse_type): Rewrite to use parser state. | |
2888 | (yyparse): Redefine to c_parse_internal. | |
2889 | (pstate): New global variable. | |
2890 | (parse_number): Add "struct parser_state" argument. | |
2891 | (write_destructor_name): Likewise. | |
2892 | (type_exp): Update calls to write_exp* and similars in order to | |
2893 | use parser state. | |
2894 | (exp1, exp, variable, qualified_name, space_identifier, | |
2895 | typename, typebase): Likewise. | |
2896 | (write_destructor_name, parse_number, lex_one_token, | |
2897 | classify_name, classify_inner_name, c_parse): Add "struct | |
2898 | parser_state" argument. Update function to use parser state. | |
2899 | * c-lang.h: Forward declare "struct parser_state". | |
2900 | (c_parse): Add "struct parser_state" argument. | |
2901 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
2902 | (yyparse): Redefine macro to ada_parse_internal. | |
2903 | (pstate): New variable. | |
2904 | (write_int, write_object_renaming, write_var_or_type, | |
2905 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
2906 | type_int, type_long, type_long_long, type_float, type_double, | |
2907 | type_long_double, type_char, type_boolean, type_system_address): | |
2908 | Add "struct parser_state" argument. | |
2909 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
2910 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
2911 | var_or_type, aggregate, aggregate_component_list, | |
2912 | positional_list, others, component_group, | |
2913 | component_associations): Update calls to write_exp* and similar | |
2914 | functions in order to use parser state. | |
2915 | (ada_parse, write_var_from_sym, write_int, | |
2916 | write_exp_op_with_string, write_object_renaming, | |
2917 | find_primitive_type, write_selectors, write_ambiguous_var, | |
2918 | write_var_or_type, write_name_assoc, type_int, type_long, | |
2919 | type_long_long, type_float, type_double, type_long_double, | |
2920 | type_char, type_boolean, type_system_address): Add "struct | |
2921 | parser_state" argument. Adjust function to use parser state. | |
2922 | * ada-lang.c (parse): Likewise. | |
2923 | * ada-lang.h: Forward declare "struct parser_state". | |
2924 | (ada_parse): Add "struct parser_state" argument. | |
2925 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
2926 | calls to both functions. | |
2927 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
2928 | parser state. | |
2929 | (yyparse): Redefine macro to f_parse_internal. | |
2930 | (pstate): New variable. | |
2931 | (parse_number): Add "struct parser_state" argument. | |
2932 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
2933 | and similars in order to use parser state. | |
2934 | (parse_number): Adjust code to use parser state. | |
2935 | (yylex): Likewise. | |
2936 | (f_parse): New function. | |
2937 | * f-lang.h: Forward declare "struct parser_state". | |
2938 | (f_parse): Add "struct parser_state" argument. | |
2939 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
2940 | parser state. | |
2941 | (yyparse): Redefine macro for java_parse_internal. | |
2942 | (pstate): New variable. | |
2943 | (push_expression_name, push_expression_name, insert_exp): Add | |
2944 | "struct parser_state" argument. | |
2945 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
2946 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
2947 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
2948 | PostIncrementExpression, PostDecrementExpression, | |
2949 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
2950 | UnaryExpressionNotPlusMinus, CastExpression, | |
2951 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
2952 | RelationalExpression, EqualityExpression, AndExpression, | |
2953 | ExclusiveOrExpression, InclusiveOrExpression, | |
2954 | ConditionalAndExpression, ConditionalOrExpression, | |
2955 | ConditionalExpression, Assignment, LeftHandSide): Update | |
2956 | calls to write_exp* and similars in order to use parser state. | |
2957 | (parse_number): Ajust code to use parser state. | |
2958 | (yylex): Likewise. | |
2959 | (java_parse): New function. | |
2960 | (push_variable): Add "struct parser_state" argument. Adjust | |
2961 | code to user parser state. | |
2962 | (push_fieldnames, push_qualified_expression_name, | |
2963 | push_expression_name, insert_exp): Likewise. | |
2964 | * jv-lang.h: Forward declare "struct parser_state". | |
2965 | (java_parse): Add "struct parser_state" argument. | |
2966 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
2967 | parser state. | |
2968 | (yyparse): Redefine macro to m2_parse_internal. | |
2969 | (pstate): New variable. | |
2970 | (type_exp, exp, fblock, variable, type): Update calls to | |
2971 | write_exp* and similars to use parser state. | |
2972 | (yylex): Likewise. | |
2973 | (m2_parse): New function. | |
2974 | * m2-lang.h: Forward declare "struct parser_state". | |
2975 | (m2_parse): Add "struct parser_state" argument. | |
2976 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
2977 | * objc-lang.h: Forward declare "struct parser_state". | |
2978 | (end_msglist): Add "struct parser_state" argument. | |
2979 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
2980 | (yyparse): Redefine macro to pascal_parse_internal. | |
2981 | (pstate): New variable. | |
2982 | (parse_number): Add "struct parser_state" argument. | |
2983 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
2984 | write_exp* and similars in order to use parser state. | |
2985 | (parse_number, yylex): Adjust code to use parser state. | |
2986 | (pascal_parse): New function. | |
2987 | * p-lang.h: Forward declare "struct parser_state". | |
2988 | (pascal_parse): Add "struct parser_state" argument. | |
2989 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
2990 | (yyparse): Redefine macro to go_parse_internal. | |
2991 | (pstate): New variable. | |
2992 | (parse_number): Add "struct parser_state" argument. | |
2993 | (type_exp, exp1, exp, variable, type): Update calls to | |
2994 | write_exp* and similars in order to use parser state. | |
2995 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
2996 | to use parser state. | |
2997 | (go_parse): Likewise. | |
2998 | * go-lang.h: Forward declare "struct parser_state". | |
2999 | (go_parse): Add "struct parser_state" argument. | |
3000 | ||
342587c4 DE |
3001 | 2014-03-27 Doug Evans <dje@google.com> |
3002 | ||
3003 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
3004 | ||
33e80786 DE |
3005 | 2014-03-27 Doug Evans <dje@google.com> |
3006 | ||
3007 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
3008 | Remove argument abbrev_section. All callers updated. | |
3009 | ||
1dbab08b DE |
3010 | 2014-03-27 Doug Evans <dje@google.com> |
3011 | ||
3012 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
3013 | addr_base, ranges_base. | |
3014 | ||
318d3177 KS |
3015 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
3016 | ||
3017 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
3018 | types, not VAR_DOMAIN. | |
3019 | ||
1e54db15 SL |
3020 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
3021 | ||
3022 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
3023 | "ra" registers. | |
3024 | * features/nios2-linux.c: Regenerated. | |
3025 | * features/nios2.c: Regenerated. | |
3026 | ||
d3839ede PA |
3027 | 2014-03-25 Pedro Alves <palves@redhat.com> |
3028 | ||
3029 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
3030 | sync mode. | |
3031 | ||
7588d2ec PL |
3032 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
3033 | ||
3034 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
3035 | small stack allocation. | |
3036 | ||
a6290449 TG |
3037 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
3038 | ||
3039 | * darwin-nat.c (exc_server): Remove unused prototype. | |
3040 | (darwin_dump_message): Correctly display data on x86_64. | |
3041 | (darwin_encode_reply): Fix style. | |
3042 | Add comments and fix indentation. | |
3043 | ||
31ae9d24 | 3044 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
3045 | |
3046 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
3047 | ||
6339bfc4 DE |
3048 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
3049 | ||
3050 | * infcmd.c: Whitespace fixes. | |
3051 | (interrupt_command): Merge two function comments into one. | |
3052 | ||
0a07590b DE |
3053 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
3054 | ||
3055 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
3056 | All uses updated. | |
3057 | ||
b55fbac4 YQ |
3058 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
3059 | ||
3060 | * remote.c (target_read_live_memory): Remove. | |
3061 | (memory_xfer_live_readonly_partial): Rename it to | |
3062 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
3063 | All callers updated. Call remote_read_bytes_1 | |
3064 | instead of target_read_live_memory. | |
3065 | * tracepoint.c (set_traceframe_number): Remove. | |
3066 | (make_cleanup_restore_traceframe_number): Likewise . | |
3067 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
3068 | (make_cleanup_restore_traceframe_number): Likewise. | |
3069 | ||
9217e74e YQ |
3070 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
3071 | ||
3072 | * remote.c (remote_read_bytes): Move code on reading from the | |
3073 | remote stub to ... | |
3074 | (remote_read_bytes_1): ... here. New function. | |
3075 | ||
8acf9577 YQ |
3076 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
3077 | ||
3078 | * ctf.c (ctf_xfer_partial): Check the return value of | |
3079 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
3080 | return TARGET_XFER_UNAVAILABLE. | |
3081 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
3082 | * target.c (target_read_live_memory): Move it to remote.c. | |
3083 | (memory_xfer_live_readonly_partial): Likewise. | |
3084 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
3085 | * remote.c (target_read_live_memory): Moved from target.c. | |
3086 | (memory_xfer_live_readonly_partial): Likewise. | |
3087 | (remote_read_bytes): Factored out from | |
3088 | memory_xfer_partial_1. | |
3089 | ||
feef67ab DE |
3090 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
3091 | ||
3092 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
3093 | NULL pointer. | |
3094 | ||
b65dc60b PA |
3095 | 2014-03-21 Pedro Alves <palves@redhat.com> |
3096 | ||
3097 | * infrun.c (normal_stop): Extend comment. | |
3098 | ||
b4ab256d HZ |
3099 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
3100 | Pedro Alves <palves@redhat.com> | |
3101 | ||
3102 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
3103 | static buffer. | |
3104 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
3105 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
3106 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
3107 | ||
deba7593 MR |
3108 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
3109 | ||
3110 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
3111 | `z' formatted output modifier. | |
3112 | ||
1bff71c3 SDJ |
3113 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
3114 | Sergio Durigan Junior <sergiodj@redhat.com> | |
3115 | ||
3116 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
3117 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
3118 | exceptions when parsing probes. Rearrange the code for clarity. | |
3119 | ||
90e28950 TT |
3120 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
3121 | ||
3122 | PR gdb/14135 | |
3123 | * top.c (execute_command): Only dispatch events if the command | |
3124 | started the target. | |
3125 | ||
beb460e8 PA |
3126 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
3127 | ||
3128 | PR cli/15718 | |
3129 | * infcall.c: Include event-top.h. | |
3130 | (run_inferior_call): Call async_disable_stdin if needed. | |
3131 | ||
99619bea PA |
3132 | 2014-03-20 Pedro Alves <palves@redhat.com> |
3133 | ||
3134 | * infrun.c (prepare_to_proceed): Delete. | |
3135 | (thread_still_needs_step_over): New function. | |
3136 | (find_thread_needs_step_over): New function. | |
3137 | (proceed): If the current thread needs a step-over, set its | |
3138 | steping_over_breakpoint flag. Adjust to use | |
3139 | find_thread_needs_step_over instead of prepare_to_proceed. | |
3140 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
3141 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
3142 | breakpoint. | |
3143 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
3144 | threads not the stepping thread, before switching back to the | |
3145 | stepping thread. | |
3146 | ||
2adfaa28 PA |
3147 | 2014-03-20 Pedro Alves <palves@redhat.com> |
3148 | ||
3149 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
3150 | extern. | |
3151 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
3152 | * infrun.c (saved_singlestep_ptid) | |
3153 | (stepping_past_singlestep_breakpoint): Delete. | |
3154 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
3155 | (proceed): Store the prev_pc of the stepping thread too. | |
3156 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
3157 | singlestep_pc. | |
3158 | (enum infwait_states): Delete infwait_thread_hop_state. | |
3159 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
3160 | field. | |
3161 | (handle_inferior_event): Adjust. | |
3162 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
3163 | handling and the thread-hop code. Before removing single-step | |
3164 | breakpoints, check whether the thread hit a single-step breakpoint | |
3165 | of another thread. If it did, the trap is not a random signal. | |
3166 | (switch_back_to_stepped_thread): If the event thread hit a | |
3167 | single-step breakpoint, unblock it before switching to the | |
3168 | stepping thread. Handle the case of the stepped thread having | |
3169 | advanced already. | |
3170 | (keep_going): Handle the case of the current thread moving past a | |
3171 | single-step breakpoint. | |
3172 | ||
31e77af2 PA |
3173 | 2014-03-20 Pedro Alves <palves@redhat.com> |
3174 | ||
3175 | PR breakpoints/7143 | |
3176 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
3177 | are being stepped over. | |
3178 | (breakpoint_address_match): Make extern. | |
3179 | * breakpoint.h (breakpoint_address_match): New declaration. | |
3180 | * inferior.h (stepping_past_instruction_at): New declaration. | |
3181 | * infrun.c (struct step_over_info): New type. | |
3182 | (step_over_info): New global. | |
3183 | (set_step_over_info, clear_step_over_info) | |
3184 | (stepping_past_instruction_at): New functions. | |
3185 | (handle_inferior_event): Clear the step-over info when | |
3186 | trap_expected is cleared. | |
3187 | (resume): Remove now stale comment. | |
3188 | (clear_proceed_status): Clear step-over info. | |
3189 | (proceed): Adjust step-over handling to set or clear the step-over | |
3190 | info instead of removing all breakpoints. | |
3191 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
3192 | breakpoints here. | |
3193 | (stop_stepping): Clear step-over info. | |
3194 | (keep_going): Adjust step-over handling to set or clear step-over | |
3195 | info and then always inserting breakpoints, instead of removing | |
3196 | all breakpoints when stepping over one. | |
3197 | ||
b9f437de PA |
3198 | 2014-03-20 Pedro Alves <palves@redhat.com> |
3199 | ||
3200 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
3201 | (deferred_step_ptid): Delete. | |
3202 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
3203 | (init_wait_for_inferior): Adjust. | |
3204 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
3205 | ||
06c868a8 JK |
3206 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
3207 | ||
3208 | PR gdb/15358 | |
3209 | * defs.h (sync_quit_force_run): New declaration. | |
3210 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
3211 | * event-top.c (async_sigterm_handler): New declaration. | |
3212 | (async_sigterm_token): New variable. | |
3213 | (async_init_signals): Create also async_sigterm_token. | |
3214 | (async_sigterm_handler): New function. | |
3215 | (sync_quit_force_run): New variable. | |
3216 | (handle_sigterm): Replace quit_force call by other calls. | |
3217 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
3218 | ||
dea80df0 MR |
3219 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
3220 | ||
3221 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
3222 | offset into SPE pseudo registers. | |
3223 | ||
0c7e1a46 PA |
3224 | 2014-03-18 Pedro Alves <palves@redhat.com> |
3225 | ||
3226 | PR gdb/13860 | |
3227 | * inferior.h (print_stop_event): Declare. | |
3228 | * infrun.c (print_stop_event): New, factored out from ... | |
3229 | (normal_stop): ... this. | |
3230 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
3231 | of bpstat_print/print_stack_frame. | |
3232 | ||
9c1fcd01 TT |
3233 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
3234 | ||
3235 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
3236 | ||
11aa919a PMR |
3237 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
3238 | ||
3239 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
3240 | minimal coercion for reference with coerce_ref instead of | |
3241 | ada_coerce_ref. | |
3242 | ||
d4ccb5e0 TG |
3243 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
3244 | ||
3245 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
3246 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
3247 | is unhandled. | |
3248 | ||
49840f2a UW |
3249 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
3250 | ||
3251 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
3252 | PyObject_GetAttrString to support Python 2.4. | |
3253 | ||
ed4123e5 JK |
3254 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
3255 | ||
3256 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
3257 | (Global Maintainers): Remove Jan Kratochvil. | |
3258 | ||
d6b64346 PA |
3259 | 2014-03-14 Pedro Alves <palves@redhat.com> |
3260 | ||
3261 | * inferior.h (terminal_ours_for_output): Rename to ... | |
3262 | (child_terminal_ours_for_output): ... this. | |
3263 | (terminal_save_ours): Rename to ... | |
3264 | (child_terminal_save_ours): ... this. | |
3265 | (terminal_ours): Rename to ... | |
3266 | (child_terminal_ours): ... this. | |
3267 | (terminal_inferior): Rename to ... | |
3268 | (child_terminal_inferior): ... this. | |
3269 | (terminal_init_inferior): Rename to ... | |
3270 | (child_terminal_init_inferior): ... this. | |
3271 | (terminal_init_inferior_with_pgrp): Rename to ... | |
3272 | (child_terminal_init_inferior_with_pgrp): ... this. | |
3273 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
3274 | (child_terminal_init_with_pgrp): ... this. | |
3275 | (terminal_save_ours): Rename to ... | |
3276 | (child_terminal_save_ours): ... this. | |
3277 | (terminal_init_inferior): Rename to ... | |
3278 | (child_terminal_init): ... this. Adjust. | |
3279 | (terminal_inferior): Rename to ... | |
3280 | (child_terminal_inferior): ... this. | |
3281 | (terminal_ours_for_output): Rename to ... | |
3282 | (child_terminal_ours_for_output): ... this. Adjust. | |
3283 | (terminal_ours): Rename to ... | |
3284 | (child_terminal_ours): ... this. | |
3285 | (terminal_ours_1): Rename to ... | |
3286 | (child_terminal_ours_1): ... this. Adjust. | |
3287 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
3288 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
3289 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
3290 | (gnu_terminal_init): ... this. Adjust. | |
3291 | (gnu_target): Adjust. | |
3292 | * inf-child.c (inf_child_target): Adjust. | |
3293 | ||
5a1e8c7a DE |
3294 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
3295 | ||
3296 | PR guile/16612 | |
3297 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
3298 | new eq?-hashtab. | |
3299 | ||
350e1a76 DE |
3300 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
3301 | ||
3302 | * value.c (record_latest_value): Call release_value_or_incref | |
3303 | instead of release_value. | |
3304 | ||
a69900ae PA |
3305 | 2014-03-13 Pedro Alves <palves@redhat.com> |
3306 | ||
3307 | * procfs.c (procfs_target): Don't override to_shortname, | |
3308 | to_longname or to_doc. | |
3309 | ||
5db9f0bd PA |
3310 | 2014-03-13 Pedro Alves <palves@redhat.com> |
3311 | ||
3312 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
3313 | Unix in user visible strings. | |
3314 | ||
5e3a2c38 SS |
3315 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
3316 | ||
3317 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
3318 | block comment with some general info. | |
3319 | ||
8bc2fe48 PA |
3320 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3321 | ||
3322 | * infcmd.c (prepare_execution_command): New function, factored out | |
3323 | from several execution commands. | |
3324 | (run_command_1, continue_command, step_1, jump_command) | |
3325 | (signal_command, until_command, advance_command, finish_command) | |
3326 | (attach_command): Use prepare_execution_command. | |
3327 | ||
638c5f49 OJ |
3328 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
3329 | ||
3330 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
3331 | (MAX_BPTS): Define. | |
3332 | (MAX_WPTS): Define. | |
3333 | (struct arm_linux_thread_points): Removed. | |
3334 | (struct arm_linux_process_info): New. | |
3335 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
3336 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
3337 | (arm_linux_find_breakpoints_by_tid): Removed. | |
3338 | (struct arch_lwp_info): New. | |
3339 | (arm_linux_find_process_pid): New functions. | |
3340 | (arm_linux_add_process): New functions. | |
3341 | (arm_linux_process_info_get): New functions. | |
3342 | (arm_linux_forget_process): New function. | |
3343 | (arm_linux_get_debug_reg_state): New function. | |
3344 | (struct update_registers_data): New. | |
3345 | (update_registers_callback): New function. | |
3346 | (arm_linux_insert_hw_breakpoint1): Updated. | |
3347 | (arm_linux_remove_hw_breakpoint1): Updated. | |
3348 | (arm_linux_insert_hw_breakpoint): Updated. | |
3349 | (arm_linux_remove_hw_breakpoint): Updated. | |
3350 | (arm_linux_insert_watchpoint): Updated. | |
3351 | (arm_linux_remove_watchpoint): Updated. | |
3352 | (arm_linux_new_thread): Updated. | |
3353 | (arm_linux_prepare_to_resume): New function. | |
3354 | (arm_linux_new_fork): New function. | |
3355 | (_initialize_arm_linux_nat): Updated. | |
3356 | ||
6d03af93 PA |
3357 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3358 | ||
3359 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
3360 | ||
b3ccfe11 TT |
3361 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
3362 | ||
3363 | * inf-child.c (return_zero): New function. | |
3364 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
3365 | * aix-thread.c (aix_thread_inferior_created): New function. | |
3366 | (aix_thread_attach): Remove. | |
3367 | (init_aix_thread_ops): Don't set to_attach. | |
3368 | (_initialize_aix_thread): Register inferior_created observer. | |
3369 | * corelow.c (init_core_ops): Don't set to_attach or | |
3370 | to_create_inferior. | |
3371 | * exec.c (init_exec_ops): Don't set to_attach or | |
3372 | to_create_inferior. | |
3373 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
3374 | target calls. | |
3375 | (attach_command): Use find_attach_target. Make direct target | |
3376 | calls. | |
3377 | * record-btrace.c (init_record_btrace_ops): Don't set | |
3378 | to_create_inferior. | |
3379 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
3380 | Remove. | |
3381 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
3382 | set to_create_inferior. | |
3383 | * target.c (complete_target_initialization): Add assertion. | |
3384 | (target_create_inferior): Remove. | |
3385 | (find_default_attach, find_default_create_inferior): Remove. | |
3386 | (find_attach_target, find_run_target): New functions. | |
3387 | (find_default_is_async_p, find_default_can_async_p) | |
3388 | (target_supports_non_stop, target_attach): Remove. | |
3389 | (init_dummy_target): Don't set to_create_inferior or | |
3390 | to_supports_non_stop. | |
3391 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
3392 | TARGET_DEFAULT_FUNC. | |
3393 | <to_create_inferior>: Add comment. | |
3394 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
3395 | TARGET_DEFAULT_RETURN. | |
3396 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
3397 | (find_attach_target, find_run_target): Declare. | |
3398 | (target_create_inferior): Remove. | |
3399 | (target_has_execution_1): Update comment. | |
3400 | (target_supports_non_stop): Remove. | |
3401 | * target-delegates.c: Rebuild. | |
3402 | ||
91f83b02 PA |
3403 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3404 | ||
3405 | * inf-child.h: Update comment to not mention Unix. | |
3406 | ||
f1aea813 PA |
3407 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3408 | ||
3409 | * inf-child.c: Update top comment to not mention Unix. Add | |
3410 | generic comment describing how this target is meant to be used. | |
3411 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
3412 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
3413 | Unix in comment. | |
3414 | ||
ee8e9165 PA |
3415 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3416 | ||
3417 | * nto-procfs.c: Include inf-child.h. | |
3418 | (procfs_ops): Delete global. | |
3419 | (procfs_can_run): Delete method. | |
3420 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
3421 | target pointer instead of referencing procfs_ops. | |
3422 | (procfs_prepare_to_store): Delete. | |
3423 | (init_procfs_ops): Delete function. | |
3424 | (procfs_target): New function, based on init_procfs_ops, but | |
3425 | inherit inf_child_target. | |
3426 | (_initialize_procfs): Use procfs_target. | |
3427 | ||
51a9c8c5 PA |
3428 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3429 | ||
3430 | * windows-nat.c: Include inf-child.h. | |
3431 | (windows_ops): Delete global. | |
3432 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
3433 | methods. | |
3434 | (init_windows_ops): Delete function. | |
3435 | (windows_target): New function, based on init_windows_ops, but | |
3436 | inherit inf_child_target. | |
3437 | (_initialize_windows_nat): Use windows_target. Install x86 | |
3438 | specific target methods here. | |
3439 | ||
c1966e26 DE |
3440 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
3441 | ||
3442 | * guile/guile.c (call_initialize_gdb_module): New function. | |
3443 | (initialize_guile): Replace call to scm_init_guile with call to | |
3444 | scm_with_guile. | |
3445 | ||
023db19c JB |
3446 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
3447 | ||
3448 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
3449 | in call to TYPE_CODE macro. | |
3450 | ||
5ec18f2b JG |
3451 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
3452 | ||
8668be63 JB |
3453 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
3454 | Resolve tagged types to full view. | |
5ec18f2b | 3455 | |
7d03f2eb HZ |
3456 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
3457 | ||
3458 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
3459 | comments. | |
3460 | ||
c5164cbc DE |
3461 | 2014-03-07 Doug Evans <dje@google.com> |
3462 | ||
3463 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
3464 | ||
c4a3fee2 DE |
3465 | 2014-03-07 Doug Evans <dje@google.com> |
3466 | ||
3467 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
3468 | Remove unused local comp_dir_attr. Assert exactly one of | |
3469 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
3470 | ||
3156469c JB |
3471 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
3472 | ||
3473 | * target.h (complete_target_initialization, add_target): | |
3474 | Add comment. | |
3475 | ||
c1a7b7c6 PA |
3476 | 2014-03-07 Pedro Alves <palves@redhat.com> |
3477 | ||
3478 | * go32-nat.c: Include inf-child.h. | |
3479 | (go32_ops): Delete global. | |
3480 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
3481 | Delete methods. | |
3482 | (go32_create_inferior): Push the passed in target pointer instead | |
3483 | of referencing go32_ops. | |
3484 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
3485 | (go32_target): New function, based on init_go32_ops, but inherit | |
3486 | inf_child_target. | |
3487 | (_initialize_go32_nat): Use go32_target. Move parts of | |
3488 | init_go32_ops here. | |
3489 | ||
d3c1a85f JB |
3490 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
3491 | ||
3492 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
3493 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
3494 | SYMBOL_VALUE_ADDRESS. | |
3495 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
3496 | ||
5fa1d40e YQ |
3497 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
3498 | ||
3499 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
3500 | optional_p. All callers updated. Adjust comments. Update | |
3501 | output message. | |
3502 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
3503 | ||
0c13193f YQ |
3504 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
3505 | ||
3506 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
3507 | early if get_number returns zero. Use 'p' instead of 'args'. | |
3508 | ||
2217da06 YQ |
3509 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
3510 | ||
3511 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
3512 | message. | |
3513 | ||
cc3da688 YQ |
3514 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
3515 | ||
3516 | PR breakpoints/16508 | |
3517 | * tracepoint.c (check_trace_running): New function. | |
3518 | (trace_find_command): Move code to check_trace_running and | |
3519 | call check_trace_running. | |
3520 | (trace_find_pc_command): Likewise. | |
3521 | (trace_find_tracepoint_command): Likewise. | |
3522 | (trace_find_line_command): Likewise. | |
3523 | (trace_find_range_command): Likewise. | |
3524 | * tracepoint.h (check_trace_running): Likewise. | |
3525 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
3526 | ||
6a5f844b YQ |
3527 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
3528 | ||
3529 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
3530 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
3531 | * target-delegates.c: Regenerated. | |
3532 | ||
0f26cec1 PA |
3533 | 2014-03-05 Pedro Alves <palves@redhat.com> |
3534 | ||
3535 | PR gdb/16575 | |
3536 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
3537 | void. Update comment. | |
3538 | (dcache_xfer_memory): Delete. | |
3539 | (dcache_read_memory_partial): New, based on the read bits of | |
3540 | dcache_xfer_memory. | |
3541 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
3542 | adjust. Discard cache lines if the reason for the update was | |
3543 | error. | |
3544 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
3545 | (dcache_read_memory_partial): New declaration. | |
3546 | (dcache_update): Update prototype. | |
3547 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
3548 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
3549 | ||
b2b255bd MF |
3550 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
3551 | ||
3552 | * remote-sim.c (gdbsim_load): Add const to prog. | |
3553 | ||
5d9cf8a4 TT |
3554 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
3555 | ||
3556 | * elfread.c (probe_key): Change to bfd_data. | |
3557 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
3558 | now per-BFD, not per-objfile. | |
3559 | * stap-probe.c (stap_probe_destroy): Update comment. | |
3560 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
3561 | ||
729662a5 TT |
3562 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
3563 | ||
3564 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
3565 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
3566 | get_probe_address. | |
3567 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
3568 | (bkpt_probe_remove_location): Update. | |
3569 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
3570 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
3571 | (elf_probe_fns): Update. | |
3572 | (insert_exception_resume_breakpoint): Change type of "probe" | |
3573 | parameter to bound_probe. | |
3574 | (check_exception_resume): Update. | |
3575 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
3576 | * probe.c (bound_probe_s): New typedef. | |
3577 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
3578 | (find_probe_by_pc): Return a bound_probe. | |
3579 | (collect_probes): Return a VEC(bound_probe_s). | |
3580 | (compare_probes): Update. | |
3581 | (gen_ui_out_table_header_info): Change type of "probes" | |
3582 | parameter. Update. | |
3583 | (info_probes_for_ops): Update. | |
3584 | (get_probe_address): New function. | |
3585 | (probe_safe_evaluate_at_pc): Update. | |
3586 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
3587 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
3588 | (struct probe) <objfile>: Remove field. | |
3589 | <arch>: New field. | |
3590 | <address>: Update comment. | |
3591 | (struct bound_probe): New. | |
3592 | (find_probe_by_pc): Return a bound_probe. | |
3593 | (get_probe_address): Declare. | |
3594 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
3595 | (hash_probe_and_action, equal_probe_and_action): Update. | |
3596 | (register_solib_event_probe): Add address parameter. | |
3597 | (solib_event_probe_at): Update. | |
3598 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
3599 | get_probe_address. | |
3600 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
3601 | (stap_get_probe_address): New function. | |
3602 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
3603 | (compile_probe_arg): Update. | |
3604 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
3605 | address. | |
3606 | (handle_stap_probe): Don't relocate the probe. | |
3607 | (stap_relocate): Remove. | |
3608 | (stap_gen_info_probes_table_values): Update. | |
3609 | (stap_probe_ops): Remove stap_relocate. | |
3610 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
3611 | (debug_sym_probe_fns): Update. | |
3612 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
3613 | * symtab.c (init_sal): Use memset. | |
3614 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
3615 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
3616 | ||
ff887920 TT |
3617 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
3618 | ||
3619 | * probe.h (parse_probes, find_probe_by_pc) | |
3620 | (find_probes_in_objfile): Fix comments. | |
3621 | ||
f0407826 DE |
3622 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
3623 | ||
3624 | * infrun.c (handle_signal_stop): Replace test for | |
3625 | TARGET_WAITKIND_STOPPED with an assert. | |
3626 | ||
35e6a711 DE |
3627 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
3628 | ||
3629 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
3630 | ||
667f9d0b DE |
3631 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
3632 | ||
3633 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
3634 | ||
dc92ace0 MK |
3635 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
3636 | ||
3637 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
3638 | ||
a900370f MK |
3639 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
3640 | ||
3641 | * i386obsd-nat.c: Include "obsd-nat.h". | |
3642 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
3643 | add_target. | |
3644 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
3645 | ||
b72a7981 MK |
3646 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
3647 | ||
3648 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
3649 | ||
96c70aba MK |
3650 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
3651 | ||
3652 | * mips64obsd-nat.c: Include "obsd-nath". | |
3653 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
3654 | add_target | |
3655 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
3656 | ||
874a80af MK |
3657 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
3658 | ||
8fd408f1 MK |
3659 | * amd64obsd-nat.c: Include "obsd-nat,h. |
3660 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
3661 | add_target. | |
874a80af MK |
3662 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
3663 | ||
9cf95373 SC |
3664 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
3665 | ||
3666 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
3667 | (find_overload_match): Update call to find_oload_champ. | |
3668 | (find_oload_champ_namespace_loop): Likewise | |
3669 | ||
863e4da4 MK |
3670 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
3671 | ||
025cac40 MK |
3672 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
3673 | ||
1ed586ce MK |
3674 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
3675 | * config/sparc/obsd64.mh: New file. | |
3676 | * sparc64obsd-nat.c: New file. | |
3677 | ||
863e4da4 MK |
3678 | * obsd-nat.h: New file. |
3679 | * obsd-nat.c: New file. | |
3680 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
3681 | (ALLDEPFILES): Add obsd-nat.c. | |
3682 | ||
89de4da4 TT |
3683 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
3684 | ||
3685 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
3686 | * cli-out.h (cli_ui_out_impl): Now const. | |
3687 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
3688 | * ui-out.c (struct ui_out) <impl>: Now const. | |
3689 | (default_ui_out_impl): Now const. | |
3690 | (ui_out_new): Make 'impl' parameter const. | |
3691 | * ui-out.h (ui_out_new): Update. | |
3692 | ||
c725e7b6 MK |
3693 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
3694 | ||
3695 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
3696 | ||
670b46b3 MK |
3697 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
3698 | ||
3699 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
3700 | ||
c91550fc JK |
3701 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
3702 | ||
3703 | Additional PR 8882 fix. | |
3704 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
3705 | ||
2fa0369e PA |
3706 | 2014-02-27 Pedro Alves <palves@redhat.com> |
3707 | ||
3708 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
3709 | isn't set. | |
3710 | ||
d632a097 PA |
3711 | 2014-02-27 Pedro Alves <palves@redhat.com> |
3712 | ||
3713 | PR 12702 | |
3714 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
3715 | * nat/linux-waitpid.c: Include string.h. | |
3716 | (status_to_str): Moved here and made extern. | |
3717 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
3718 | ||
2ebd5a35 HZ |
3719 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
3720 | ||
3721 | PR 12702 | |
3722 | * infrun.c (ptid_match): Move ... | |
3723 | * common/ptid.c (ptid_match): ... here. | |
3724 | * inferior.h (ptid_match): Move ... | |
3725 | * common/ptid.h (ptid_match): ... here. | |
3726 | ||
3cdd631f MK |
3727 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
3728 | ||
3729 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
3730 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
3731 | gdb_target_obs. | |
3732 | ||
bee30a64 MK |
3733 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
3734 | ||
3735 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
3736 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
3737 | |
3738 | * gdbarch.sh (auxv_parse): New. | |
3739 | * gdbarch.h: Regenerated. | |
3740 | * gdbarch.c: Regenerated. | |
3741 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
3742 | ||
7a5a839f LC |
3743 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
3744 | ||
3745 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
3746 | (value_functions): Add it. | |
3747 | ||
31aa7e4e JB |
3748 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
3749 | ||
3750 | * dwarf2read.c (attr_value_as_address): New function. | |
3751 | (dwarf2_find_base_address, read_call_site_scope): Use | |
3752 | attr_value_as_address in place of DW_ADDR. | |
3753 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
3754 | the low and high addresses. Slight rework of the handling | |
3755 | of the high pc being a constant form, and limit it to | |
3756 | DWARF verson 4 or higher. | |
3757 | (dwarf2_record_block_ranges): Likewise. | |
3758 | (read_partial_die): Likewise. | |
3759 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
3760 | ||
9b333ba3 TT |
3761 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
3762 | ||
3763 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
3764 | ||
5f6cac40 TT |
3765 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
3766 | ||
3767 | * elfread.c (elf_read_minimal_symbols): Return early if | |
3768 | minimal symbols have already been read. Add "ei" parameter. | |
3769 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
3770 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
3771 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
3772 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
3773 | * symmisc.c (print_objfile_statistics): Update. | |
3774 | ||
2750ef27 TT |
3775 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
3776 | ||
3777 | * elfread.c (elf_read_minimal_symbols): New function, from | |
3778 | elf_symfile_read. | |
3779 | (elf_symfile_read): Call it. | |
3780 | ||
34643a32 TT |
3781 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
3782 | ||
3783 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
3784 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
3785 | (lookup_minimal_symbol_solib_trampoline) | |
3786 | (lookup_minimal_symbol_by_pc_section_1) | |
3787 | (lookup_minimal_symbol_and_objfile): Update. | |
3788 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
3789 | Don't allocate a minimal symbol if minsyms have already been read. | |
3790 | (build_minimal_symbol_hash_tables): Update. | |
3791 | (install_minimal_symbols): Do nothing if minsyms already read. | |
3792 | Use the per-BFD obstack. | |
3793 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
3794 | * objfiles.c (allocate_objfile): Call | |
3795 | terminate_minimal_symbol_table later. | |
3796 | (have_minimal_symbols): Update. | |
3797 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
3798 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
3799 | Move from struct objfile. | |
3800 | <minsyms_read>: New field. | |
3801 | (struct objfile) <msymbols, minimal_symbol_count, | |
3802 | msymbol_hash, msymbol_demangled_hash>: Move. | |
3803 | (ALL_OBJFILE_MSYMBOLS): Update. | |
3804 | * symfile.c (read_symbols): Set minsyms_read. | |
3805 | (reread_symbols): Update. | |
3806 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
3807 | ||
2273f0ac TT |
3808 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
3809 | ||
3810 | * minsyms.c (msymbols_sort): Remove. | |
3811 | * minsyms.h (msymbols_sort): Remove. | |
3812 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
3813 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
3814 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
3815 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
3816 | to minimal symbol address. | |
3817 | * somread.c (text_offset, data_offset): Remove. | |
3818 | (som_symtab_read): Don't add section offsets to minimal symbol | |
3819 | addresses. | |
3820 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
3821 | Don't add section offsets to minimal symbols. | |
3822 | * coffread.c (coff_symtab_read): Don't add section offsets | |
3823 | to minimal symbol addresses. | |
3824 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
3825 | to minimal symbol addresses. | |
3826 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
3827 | section offset to minimal symbol addresses. | |
3828 | * mdebugread.c (parse_partial_symbols): Don't add section | |
3829 | offset to minimal symbol addresses. | |
3830 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
3831 | offset to minimal symbol addresses. | |
3832 | ||
77e371c0 TT |
3833 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
3834 | ||
3835 | * ada-lang.c (ada_main_name): Update. | |
3836 | (ada_add_standard_exceptions): Update. | |
3837 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
3838 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
3839 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
3840 | * auxv.c (ld_so_xfer_auxv): Update. | |
3841 | * avr-tdep.c (avr_scan_prologue): Update. | |
3842 | * ax-gdb.c (gen_var_ref): Update. | |
3843 | * blockframe.c (get_pc_function_start) | |
3844 | (find_pc_partial_function_gnu_ifunc): Update. | |
3845 | * breakpoint.c (create_overlay_event_breakpoint) | |
3846 | (create_longjmp_master_breakpoint) | |
3847 | (create_std_terminate_master_breakpoint) | |
3848 | (create_exception_master_breakpoint): Update. | |
3849 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
3850 | * c-valprint.c (c_val_print): Update. | |
3851 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
3852 | * common/agent.c (agent_look_up_symbols): Update. | |
3853 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
3854 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
3855 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
3856 | * elfread.c (elf_gnu_ifunc_record_cache) | |
3857 | (elf_gnu_ifunc_resolve_by_got): Update. | |
3858 | * findvar.c (default_read_var_value): Update. | |
3859 | * frame.c (inside_main_func): Update. | |
3860 | * frv-tdep.c (frv_frame_this_id): Update. | |
3861 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
3862 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
3863 | Update. | |
3864 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
3865 | (hppa_hpux_find_dummy_bpaddr): Update. | |
3866 | * hppa-tdep.c (hppa_symbol_address): Update. | |
3867 | * infcmd.c (until_next_command): Update. | |
3868 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
3869 | Update. | |
3870 | * linespec.c (minsym_found, add_minsym): Update. | |
3871 | * linux-nat.c (get_signo): Update. | |
3872 | * linux-thread-db.c (inferior_has_bug): Update. | |
3873 | * m32c-tdep.c (m32c_return_value) | |
3874 | (m32c_m16c_address_to_pointer): Update. | |
3875 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
3876 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
3877 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
3878 | * maint.c (maintenance_translate_address): Update. | |
3879 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
3880 | (frob_address): New function. | |
3881 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
3882 | frob_address. Rename parameter to "pc_in". | |
3883 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
3884 | addresses. | |
3885 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
3886 | Update. | |
3887 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
3888 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
3889 | * objc-lang.c (find_objc_msgsend): Update. | |
3890 | * objfiles.c (objfile_relocate1): Update. | |
3891 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
3892 | * p-valprint.c (pascal_val_print): Update. | |
3893 | * parse.c (write_exp_msymbol): Update. | |
3894 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
3895 | (ppc_elfv2_skip_entrypoint): Update. | |
3896 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
3897 | * printcmd.c (build_address_symbolic, msym_info) | |
3898 | (address_info): Update. | |
3899 | * proc-service.c (ps_pglobal_lookup): Update. | |
3900 | * psymtab.c (find_pc_sect_psymtab_closer) | |
3901 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
3902 | Change msymbol parameter to bound_minimal_symbol. | |
3903 | * ravenscar-thread.c (get_running_thread_id): Update. | |
3904 | * remote.c (remote_check_symbols): Update. | |
3905 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
3906 | address. | |
3907 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
3908 | * solib-dsbt.c (lm_base): Update. | |
3909 | * solib-frv.c (lm_base, main_got): Update. | |
3910 | * solib-irix.c (locate_base): Update. | |
3911 | * solib-som.c (som_solib_create_inferior_hook) | |
3912 | (link_map_start): Update. | |
3913 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
3914 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
3915 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
3916 | (flush_ea_cache): Update. | |
3917 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
3918 | * stack.c (find_frame_funname): Update. | |
3919 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
3920 | (debug_qf_find_pc_sect_symtab): Update. | |
3921 | * symfile.c (simple_read_overlay_table) | |
3922 | (simple_overlay_update): Update. | |
3923 | * symfile.h (struct quick_symbol_functions) | |
3924 | <find_pc_sect_symtab>: Change type of msymbol to | |
3925 | bound_minimal_symbol. | |
3926 | * symmisc.c (dump_msymbols): Update. | |
3927 | * symtab.c (find_pc_sect_symtab_via_partial) | |
3928 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
3929 | (search_symbols, print_msymbol_info): Update. | |
3930 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
3931 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
3932 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
3933 | * tracepoint.c (scope_info): Update. | |
3934 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
3935 | (tui_get_begin_asm_address): Update. | |
3936 | * valops.c (find_function_in_inferior): Update. | |
3937 | * value.c (value_static_field, value_fn_field): Update. | |
3938 | ||
3b7344d5 TT |
3939 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
3940 | ||
3941 | * ada-lang.c (ada_update_initial_language): Update. | |
3942 | (ada_main_name, ada_has_this_exception_support): Update. | |
3943 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
3944 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
3945 | * arm-tdep.c (arm_skip_stub): Update. | |
3946 | * auxv.c (ld_so_xfer_auxv): Update. | |
3947 | * avr-tdep.c (avr_scan_prologue): Update. | |
3948 | * ax-gdb.c (gen_var_ref): Update. | |
3949 | * breakpoint.c (struct breakpoint_objfile_data) | |
3950 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
3951 | type to bound_minimal_symbol. | |
3952 | (create_overlay_event_breakpoint) | |
3953 | (create_longjmp_master_breakpoint) | |
3954 | (create_std_terminate_master_breakpoint) | |
3955 | (create_exception_master_breakpoint): Update. | |
3956 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
3957 | * c-exp.y (classify_name): Update. | |
3958 | * coffread.c (coff_symfile_read): Update. | |
3959 | * common/agent.c (agent_look_up_symbols): Update. | |
3960 | * d-lang.c (d_main_name): Update. | |
3961 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
3962 | * dec-thread.c (enable_dec_thread): Update. | |
3963 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
3964 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
3965 | * eval.c (evaluate_subexp_standard): Update. | |
3966 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
3967 | to bound_minimal_symbol. | |
3968 | <objfile>: Remove. | |
3969 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
3970 | * frame.c (inside_main_func): Update. | |
3971 | * frv-tdep.c (frv_frame_this_id): Update. | |
3972 | * gcore.c (call_target_sbrk): Update. | |
3973 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
3974 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
3975 | Update. | |
3976 | * go-lang.c (go_main_name): Update. | |
3977 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
3978 | (hppa_hpux_find_import_stub_for_addr): Update. | |
3979 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
3980 | Update. Change return type. | |
3981 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
3982 | type. | |
3983 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
3984 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
3985 | Update. | |
3986 | * linux-nat.c (get_signo): Update. | |
3987 | * linux-thread-db.c (inferior_has_bug): Update | |
3988 | * m32c-tdep.c (m32c_return_value) | |
3989 | (m32c_m16c_address_to_pointer): Update. | |
3990 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
3991 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
3992 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
3993 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
3994 | lookup_minimal_symbol. Change return type. | |
3995 | (lookup_minimal_symbol): Remove. | |
3996 | (lookup_bound_minimal_symbol): Update. | |
3997 | (lookup_minimal_symbol_text): Change return type. | |
3998 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
3999 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
4000 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
4001 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
4002 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
4003 | (value_nsstring, find_imps): Update. | |
4004 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
4005 | * p-lang.c (pascal_main_name): Update. | |
4006 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
4007 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
4008 | * proc-service.c (ps_pglobal_lookup): Update. | |
4009 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
4010 | return type. | |
4011 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
4012 | * remote.c (remote_check_symbols): Update. | |
4013 | * sol-thread.c (ps_pglobal_lookup): Update. | |
4014 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
4015 | * solib-dsbt.c (lm_base): Update. | |
4016 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
4017 | Update. | |
4018 | * solib-irix.c (locate_base): Update. | |
4019 | * solib-som.c (som_solib_create_inferior_hook) | |
4020 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
4021 | Update. | |
4022 | * solib-spu.c (spu_enable_break): Update. | |
4023 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
4024 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
4025 | (flush_ea_cache): Update. | |
4026 | * stabsread.c (define_symbol): Update. | |
4027 | * symfile.c (simple_read_overlay_table): Update. | |
4028 | * symtab.c (find_pc_sect_line): Update. | |
4029 | * tracepoint.c (scope_info): Update. | |
4030 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
4031 | * value.c (value_static_field): Update. | |
4032 | ||
40c1a007 TT |
4033 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4034 | ||
4035 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
4036 | SET_MSYMBOL_VALUE_ADDRESS. | |
4037 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
4038 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
4039 | SET_MSYMBOL_VALUE_ADDRESS. | |
4040 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
4041 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
4042 | ||
efd66ac6 TT |
4043 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4044 | ||
4045 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
4046 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
4047 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
4048 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
4049 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
4050 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
4051 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
4052 | * ada-lang.c (ada_main_name): Update. | |
4053 | (ada_lookup_simple_minsym): Update. | |
4054 | (ada_make_symbol_completion_list): Update. | |
4055 | (ada_add_standard_exceptions): Update. | |
4056 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
4057 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
4058 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
4059 | * arm-tdep.c (skip_prologue_function): Update. | |
4060 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
4061 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
4062 | (arm_wince_skip_main_prologue): Update. | |
4063 | * auxv.c (ld_so_xfer_auxv): Update. | |
4064 | * avr-tdep.c (avr_scan_prologue): Update. | |
4065 | * ax-gdb.c (gen_var_ref): Update. | |
4066 | * block.c (call_site_for_pc): Update. | |
4067 | * blockframe.c (get_pc_function_start): Update. | |
4068 | (find_pc_partial_function_gnu_ifunc): Update. | |
4069 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
4070 | (create_longjmp_master_breakpoint): Update. | |
4071 | (create_std_terminate_master_breakpoint): Update. | |
4072 | (create_exception_master_breakpoint): Update. | |
4073 | (resolve_sal_pc): Update. | |
4074 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
4075 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
4076 | Update. | |
4077 | * c-valprint.c (c_val_print): Update. | |
4078 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
4079 | * coffread.c (coff_symfile_read): Update. | |
4080 | * common/agent.c (agent_look_up_symbols): Update. | |
4081 | * dbxread.c (find_stab_function_addr): Update. | |
4082 | (end_psymtab): Update. | |
4083 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
4084 | (func_verify_no_selftailcall): Update. | |
4085 | (tailcall_dump): Update. | |
4086 | (call_site_find_chain_1): Update. | |
4087 | (dwarf_expr_reg_to_entry_parameter): Update. | |
4088 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
4089 | (elf_gnu_ifunc_resolve_by_got): Update. | |
4090 | * f-valprint.c (info_common_command): Update. | |
4091 | * findvar.c (read_var_value): Update. | |
4092 | * frame.c (get_prev_frame_1): Update. | |
4093 | (inside_main_func): Update. | |
4094 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
4095 | (frv_frame_this_id): Update. | |
4096 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
4097 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
4098 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
4099 | (gnuv3_skip_trampoline): Update. | |
4100 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
4101 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
4102 | (hppa_hpux_skip_trampoline_code): Update. | |
4103 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
4104 | (hppa_hpux_find_import_stub_for_addr): Update. | |
4105 | (hppa_hpux_find_dummy_bpaddr): Update. | |
4106 | * hppa-tdep.c (hppa_symbol_address) | |
4107 | (hppa_lookup_stub_minimal_symbol): Update. | |
4108 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
4109 | (i386_pe_skip_trampoline_code): Update. | |
4110 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
4111 | * infcall.c (get_function_name): Update. | |
4112 | * infcmd.c (until_next_command): Update. | |
4113 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
4114 | (jit_inferior_init): Update. | |
4115 | * linespec.c (minsym_found): Update. | |
4116 | (add_minsym): Update. | |
4117 | * linux-fork.c (info_checkpoints_command): Update. | |
4118 | * linux-nat.c (get_signo): Update. | |
4119 | * linux-thread-db.c (inferior_has_bug): Update. | |
4120 | * m32c-tdep.c (m32c_return_value): Update. | |
4121 | (m32c_m16c_address_to_pointer): Update. | |
4122 | (m32c_m16c_pointer_to_address): Update. | |
4123 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
4124 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
4125 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
4126 | * maint.c (maintenance_translate_address): Update. | |
4127 | * minsyms.c (add_minsym_to_hash_table): Update. | |
4128 | (add_minsym_to_demangled_hash_table): Update. | |
4129 | (msymbol_objfile): Update. | |
4130 | (lookup_minimal_symbol): Update. | |
4131 | (iterate_over_minimal_symbols): Update. | |
4132 | (lookup_minimal_symbol_text): Update. | |
4133 | (lookup_minimal_symbol_by_pc_name): Update. | |
4134 | (lookup_minimal_symbol_solib_trampoline): Update. | |
4135 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
4136 | (lookup_minimal_symbol_and_objfile): Update. | |
4137 | (prim_record_minimal_symbol_full): Update. | |
4138 | (compare_minimal_symbols): Update. | |
4139 | (compact_minimal_symbols): Update. | |
4140 | (build_minimal_symbol_hash_tables): Update. | |
4141 | (install_minimal_symbols): Update. | |
4142 | (terminate_minimal_symbol_table): Update. | |
4143 | (find_solib_trampoline_target): Update. | |
4144 | (minimal_symbol_upper_bound): Update. | |
4145 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
4146 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
4147 | (mips_skip_pic_trampoline_code): Update. | |
4148 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
4149 | * objc-lang.c (selectors_info): Update. | |
4150 | (classes_info): Update. | |
4151 | (find_methods): Update. | |
4152 | (find_imps): Update. | |
4153 | (find_objc_msgsend): Update. | |
4154 | * objfiles.c (objfile_relocate1): Update. | |
4155 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
4156 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
4157 | * p-valprint.c (pascal_val_print): Update. | |
4158 | * parse.c (write_exp_msymbol): Update. | |
4159 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
4160 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
4161 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
4162 | * printcmd.c (build_address_symbolic): Update. | |
4163 | (sym_info): Update. | |
4164 | (address_info): Update. | |
4165 | * proc-service.c (ps_pglobal_lookup): Update. | |
4166 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
4167 | (find_pc_sect_psymtab): Update. | |
4168 | * python/py-framefilter.c (py_print_frame): Update. | |
4169 | * ravenscar-thread.c (get_running_thread_id): Update. | |
4170 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
4171 | Update. | |
4172 | * remote.c (remote_check_symbols): Update. | |
4173 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
4174 | (rs6000_skip_trampoline_code): Update. | |
4175 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
4176 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
4177 | * solib-dsbt.c (lm_base): Update. | |
4178 | * solib-frv.c (lm_base): Update. | |
4179 | (main_got): Update. | |
4180 | * solib-irix.c (locate_base): Update. | |
4181 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
4182 | (som_solib_desire_dynamic_linker_symbols): Update. | |
4183 | (link_map_start): Update. | |
4184 | * solib-spu.c (spu_enable_break): Update. | |
4185 | (ocl_enable_break): Update. | |
4186 | * solib-svr4.c (elf_locate_base): Update. | |
4187 | (enable_break): Update. | |
4188 | * spu-tdep.c (spu_get_overlay_table): Update. | |
4189 | (spu_catch_start): Update. | |
4190 | (flush_ea_cache): Update. | |
4191 | * stabsread.c (define_symbol): Update. | |
4192 | (scan_file_globals): Update. | |
4193 | * stack.c (find_frame_funname): Update. | |
4194 | (frame_info): Update. | |
4195 | * symfile.c (simple_read_overlay_table): Update. | |
4196 | (simple_overlay_update): Update. | |
4197 | * symmisc.c (dump_msymbols): Update. | |
4198 | * symtab.c (fixup_section): Update. | |
4199 | (find_pc_sect_line): Update. | |
4200 | (skip_prologue_sal): Update. | |
4201 | (search_symbols): Update. | |
4202 | (print_msymbol_info): Update. | |
4203 | (rbreak_command): Update. | |
4204 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
4205 | (completion_list_objc_symbol): Update. | |
4206 | (default_make_symbol_completion_list_break_on): Update. | |
4207 | * tracepoint.c (scope_info): Update. | |
4208 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
4209 | (tui_get_begin_asm_address): Update. | |
4210 | * valops.c (find_function_in_inferior): Update. | |
4211 | * value.c (value_static_field): Update. | |
4212 | (value_fn_field): Update. | |
4213 | ||
50e65b17 TT |
4214 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4215 | ||
4216 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
4217 | bound minimal symbols. Move code that knows about minsym | |
4218 | table layout... | |
4219 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
4220 | function. | |
4221 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
4222 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
4223 | minimal_symbol_upper_bound. | |
4224 | ||
1b588015 JB |
4225 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
4226 | ||
4227 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
4228 | Use the type's name if its basic type does not have a tag. | |
4229 | ||
dbb9c2b1 JB |
4230 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
4231 | ||
4232 | * dwarf2read.c (read_subrange_type): Add comment. | |
4233 | ||
55426c9d JB |
4234 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
4235 | ||
4236 | * dwarf2read.c (update_enumeration_type_from_children): New | |
4237 | function, mostly extracted from process_structure_scope. | |
4238 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
4239 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
4240 | and flag_flag_enum fields. | |
4241 | ||
f2fce0ca PA |
4242 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4243 | ||
4244 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
4245 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
4246 | to_xfer_partial method. | |
4247 | ||
7a44e40e PA |
4248 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4249 | ||
4250 | * target.c (complete_target_initialization): Don't install | |
4251 | default_xfer_partial as to_xfer_partial hook. | |
4252 | (nomemory): Delete. | |
4253 | (update_current_target): Don't INHERIT nor de_fault | |
4254 | deprecated_xfer_memory. Delete de_fault macro. | |
4255 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
4256 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
4257 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
4258 | field. | |
4259 | ||
bd265cd0 PA |
4260 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4261 | ||
4262 | * go32-nat.c (my_write_child): New function. | |
4263 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
4264 | (go32_xfer_partial): New function. | |
4265 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
4266 | Instead install a to_xfer_partial hook. | |
4267 | ||
9d46c4e5 PA |
4268 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4269 | ||
4270 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
4271 | to_xfer_partial helper. Rewrite. | |
4272 | (procfs_xfer_partial): New function. | |
4273 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
4274 | Install a to_xfer_partial hook. | |
4275 | ||
a1583b1f PA |
4276 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4277 | ||
4278 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
4279 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
4280 | (m32r_xfer_partial): New function. | |
4281 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
4282 | Install a to_xfer_partial hook. | |
4283 | ||
6df1b29f PA |
4284 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4285 | ||
4286 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
4287 | helper. | |
4288 | (mips_xfer_partial): New function. | |
4289 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
4290 | hook. Install a to_xfer_partial hook. | |
4291 | ||
dc53a7ad JB |
4292 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
4293 | ||
4294 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
4295 | * gdbtypes.c (create_array_type_with_stride): New function, | |
4296 | renaming create_array_type, but with an added parameter | |
4297 | called "bit_stride". | |
4298 | (create_array_type): Re-implement using | |
4299 | create_array_type_with_stride. | |
4300 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
4301 | and DW_AT_bit_stride attributes. | |
4302 | ||
12ab52e9 PA |
4303 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4304 | ||
4305 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
4306 | task-specific breakpoints. | |
4307 | ||
d16461ae PA |
4308 | 2014-02-25 Pedro Alves <palves@redhat.com> |
4309 | ||
4310 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
4311 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
4312 | ||
a8b16220 SS |
4313 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
4314 | ||
4315 | * defs.h: Annotate comments for Doxygen. | |
4316 | ||
b9e795ee TT |
4317 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
4318 | ||
4319 | * target.h (target_ignore): Don't declare. | |
4320 | * target.c (target_ignore): Remove. | |
4321 | ||
849c862e JK |
4322 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
4323 | ||
4324 | PR gdb/16626 | |
4325 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
4326 | debugfile. | |
4327 | ||
475109d8 JB |
4328 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
4329 | ||
4330 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
4331 | documentation. Adjust prototype to match the target_ops | |
4332 | to_xfer_partial method. Adjust implementation accordingly. | |
4333 | ||
e186c3bd HZ |
4334 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
4335 | ||
4336 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
4337 | to_traceframe_info. | |
4338 | ||
6d451942 KB |
4339 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
4340 | ||
041ab8b4 | 4341 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
4342 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
4343 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
4344 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
4345 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
4346 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
4347 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
4348 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
4349 | New constants. | |
4350 | (rl78_register_type): Use a data pointer type for SP and | |
4351 | new pseudo registers mentioned above. Use a 16 bit integer | |
4352 | type for all other register pairs. | |
4353 | (rl78_register_name, rl78_g10_register_name): Update for | |
4354 | new pseudo registers. | |
4355 | (rl78_pseudo_register_read): Likewise. | |
4356 | (rl78_pseudo_register_write): Likewise. | |
4357 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
4358 | to the newly added pseudo registers. | |
4359 | ||
eddf0bae DE |
4360 | 2014-02-24 Doug Evans <dje@google.com> |
4361 | ||
4362 | * value.c (record_latest_value): Fix comment. | |
4363 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
4364 | record_latest_value. | |
4365 | ||
e96027e0 PA |
4366 | 2014-02-24 Pedro Alves <palves@redhat.com> |
4367 | ||
4368 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
4369 | deprecated_xfer_memory hook. | |
4370 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
4371 | of the deprecated_xfer_memory target hook. | |
4372 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
4373 | helper. | |
4374 | ||
0837c976 YZ |
4375 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
4376 | ||
4377 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
4378 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
4379 | requested object is TARGET_OBJECT_LIBRARIES. | |
4380 | ||
bc113b4e YQ |
4381 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
4382 | ||
4383 | * target.h (enum target_xfer_status) | |
4384 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
4385 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
4386 | explicitly. New. | |
4387 | * corefile.c (memory_error_message): User updated. | |
4388 | * exec.c (section_table_read_available_memory): Likewise. | |
4389 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
4390 | * target.c (target_xfer_status_to_string): Likewise. | |
4391 | (raw_memory_xfer_partial): Likewise. | |
4392 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
4393 | * valops.c (read_value_memory): Likewise. | |
4394 | * exec.h: Update comments. | |
4395 | ||
01cb8804 YQ |
4396 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
4397 | ||
4398 | * target.c (target_xfer_status_to_string): Rename argument err | |
4399 | to status. | |
4400 | * target.h (target_xfer_status_to_string): Update declaration. | |
4401 | Replace target_xfer_error_to_string with | |
4402 | target_xfer_status_to_string in comment. | |
4403 | ||
93063aa6 YQ |
4404 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
4405 | ||
4406 | * mips-linux-nat.c (super_close): Update its type. | |
4407 | (mips_linux_close): Pass 'self' to super_close. | |
4408 | ||
5c328c05 YQ |
4409 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
4410 | ||
4411 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
4412 | * corefile.c (read_memory): Adjusted. | |
4413 | * target.c (target_write_with_progress): Adjusted. | |
4414 | ||
f73023dd YQ |
4415 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4416 | ||
4417 | Revert two patches: | |
4418 | ||
4419 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
4420 | ||
4421 | * remote.c (remote_traceframe_info): Return early if | |
4422 | traceframe is not selected. | |
4423 | ||
4424 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
4425 | ||
4426 | * target.c (update_current_target): Change the default action | |
4427 | of 'to_traceframe_info' from tcomplain to return_zero. | |
4428 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
4429 | comments. | |
4430 | ||
5a2eb0ef YQ |
4431 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4432 | ||
4433 | * valops.c (read_value_memory): Rewrite it. Call | |
4434 | target_xfer_partial in a loop. | |
4435 | * exec.h (section_table_available_memory): Remove declaration. | |
4436 | Move comments to ... | |
4437 | * exec.c (section_table_available_memory): ... here. Make it | |
4438 | static. | |
4439 | ||
1ee79381 YQ |
4440 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4441 | ||
4442 | * exec.c (section_table_read_available_memory): New function. | |
4443 | * exec.h (section_table_read_available_memory): Declare. | |
4444 | * ctf.c (ctf_xfer_partial): Call | |
4445 | section_table_read_available_memory. | |
4446 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
4447 | ||
1ca49d37 YQ |
4448 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4449 | ||
4450 | * ctf.c (ctf_xfer_partial): Move code to ... | |
4451 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
4452 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
4453 | * tracefile.c: Include "exec.h". | |
4454 | * exec.h (exec_read_partial_read_only): Declare. | |
4455 | ||
a283690e YQ |
4456 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4457 | ||
4458 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
4459 | (tfile_has_memory): Remove. | |
4460 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
4461 | to_has_memory of tfile_ops. | |
4462 | * tracefile.c (tracefile_has_all_memory): New function. | |
4463 | (tracefile_has_memory): New function. | |
4464 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
4465 | to_has_memory of 'ops'. | |
4466 | ||
12e03cd0 YQ |
4467 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4468 | ||
4469 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
4470 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
4471 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
4472 | init_tracefile_ops. | |
4473 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
4474 | (tfile_has_stack, tfile_has_registers): Remove. | |
4475 | (tfile_thread_alive): Remove. | |
4476 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
4477 | init_tracefile_ops. | |
4478 | * tracefile.c (tracefile_has_stack): New function. | |
4479 | (tracefile_has_registers): New function. | |
4480 | (tracefile_thread_alive): New function. | |
4481 | (tracefile_get_trace_status): New function. | |
4482 | (init_tracefile_ops): New function. | |
4483 | * tracefile.h (init_tracefile_ops): Declare. | |
4484 | ||
11395323 YQ |
4485 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4486 | ||
4487 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
4488 | (O_LARGEFILE): Likewise. | |
4489 | (tfile_ops): Likewise. | |
4490 | (TRACE_HEADER_SIZE): Likewise. | |
4491 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
4492 | (cur_data_size): Likewise. | |
4493 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
4494 | (tfile_close, tfile_files_info): Likewise. | |
4495 | (tfile_get_trace_status): Likewise. | |
4496 | (tfile_get_tracepoint_status): Likewise. | |
4497 | (tfile_get_traceframe_address): Likewise. | |
4498 | (tfile_trace_find, match_blocktype): Likewise. | |
4499 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
4500 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
4501 | (tfile_get_trace_state_variable_value): Likewise. | |
4502 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
4503 | (tfile_has_stack, tfile_has_registers): Likewise. | |
4504 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
4505 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
4506 | (_initialize_tracepoint): Don't call init_tfile_ops | |
4507 | and add_target_with_completer. | |
4508 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
4509 | exec.h, completer.h and filenames.h. | |
4510 | (_initialize_tracefile_tfile): New function. | |
4511 | ||
7951c4eb YQ |
4512 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4513 | ||
4514 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
4515 | tracefile-tfile.o. | |
4516 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
4517 | * ctf.c: Include "tracefile.h". | |
4518 | * tracefile.h: New file. | |
4519 | * tracefile.c: New file | |
4520 | * tracefile-tfile.c: New file. | |
4521 | * tracepoint.c: Include "tracefile.h". | |
4522 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
4523 | (stop_reason_names): Add const. | |
4524 | (trace_file_writer_xfree): Move it to tracefile.c. | |
4525 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
4526 | (trace_save_ctf): Likewise. | |
4527 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
4528 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
4529 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
4530 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
4531 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
4532 | (tfile_write_raw_data, tfile_end): Likewise. | |
4533 | (tfile_trace_file_writer_new): Likewise. | |
4534 | (free_uploaded_tp): Make it extern. | |
4535 | (free_uploaded_tsv): Make it extern. | |
4536 | (_initialize_tracepoint): Move code to register command 'tsave' | |
4537 | to tracefile.c. | |
4538 | * tracepoint.h (stop_reason_names): Declare. | |
4539 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
4540 | (struct trace_file_write_ops): Likewise. | |
4541 | (struct trace_file_writer): Likewise. | |
4542 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
4543 | ||
184cd072 JK |
4544 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
4545 | ||
4546 | PR gdb/16594 | |
4547 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
4548 | process name. | |
4549 | (get_cores_used_by_process): New parameter num_cores, use it. | |
4550 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
4551 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
4552 | process name. | |
4553 | ||
c63528fc AK |
4554 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
4555 | ||
4556 | * target.c (memory_xfer_partial): Fix length arg in call to | |
4557 | breakpoint_xfer_memory. | |
4558 | ||
d7b30f67 SDJ |
4559 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
4560 | ||
4561 | PR tdep/16397 | |
4562 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
4563 | number comes after the + or - signs. Adjust length of register | |
4564 | name to be extracted. | |
4565 | ||
8838afaf TT |
4566 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
4567 | ||
4568 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
4569 | (ada_varobj_ops): Mark "extern". | |
4570 | ||
05227d14 TT |
4571 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
4572 | ||
4573 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
4574 | ||
1254eefc DE |
4575 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
4576 | ||
4577 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
4578 | All callers updated. | |
4579 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
4580 | All callers updated. | |
4581 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
4582 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
4583 | ||
adde2bff DE |
4584 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
4585 | Joel Brobecker <brobecker@adacore.com> | |
4586 | Doug Evans <xdje42@gmail.com> | |
4587 | ||
4588 | PR symtab/16581 | |
4589 | * dwarf2read.c (struct die_info): New member in_process. | |
4590 | (reset_die_in_process): New function. | |
4591 | (process_die): Set it at the start, reset when returning. | |
4592 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
4593 | not already being processed. | |
4594 | ||
3be75f87 JB |
4595 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4596 | ||
4597 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
4598 | (do_initial_windows_stuff): Add comment explaining why we wait | |
4599 | until after inferior initialization has finished before | |
4600 | processing all DLLs. | |
4601 | ||
47f7ffdb JB |
4602 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4603 | ||
4604 | * windows-nat.c (get_module_name): Delete. | |
4605 | (windows_get_exec_module_filename): New function, mostly | |
4606 | inspired from get_module_name. | |
4607 | (windows_pid_to_exec_file): Replace call to get_module_name | |
4608 | by call to windows_get_exec_module_filename. | |
4609 | ||
1cd9feab JB |
4610 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4611 | ||
4612 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
4613 | introductory comment. Remove code using get_module_name | |
4614 | to get the DLL's name. | |
4615 | ||
ea39ad35 JB |
4616 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4617 | ||
4618 | * windows-nat.c (get_windows_debug_event): Ignore | |
4619 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
4620 | if windows_initialization_done == 0. | |
4621 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
4622 | Adjust implementation to always load all DLLs. | |
4623 | (do_initial_windows_stuff): Replace call to | |
4624 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
4625 | ||
95060284 JB |
4626 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4627 | ||
4628 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
4629 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
4630 | and "assf" aliases into commands, and deprecate them as well. | |
4631 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
4632 | aliases are now deprecated. | |
4633 | ||
8d4fdb12 JB |
4634 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4635 | ||
4636 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
4637 | new-line in debug string. Remove trailing spaces. | |
4638 | ||
1b281443 SS |
4639 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
4640 | ||
4641 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
4642 | ||
f7bd0f78 SC |
4643 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
4644 | ||
4645 | * NEWS: Add entry for the new feature | |
4646 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
4647 | and class values. | |
4648 | ||
399ebc3d SS |
4649 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
4650 | ||
4651 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
4652 | ||
c658158d PA |
4653 | 2014-02-19 Pedro Alves <palves@redhat.com> |
4654 | ||
4655 | * common/ptid.h (struct ptid): Mention that process_stratum | |
4656 | targets should prefer ptid.lwp. | |
4657 | ||
ba348170 PA |
4658 | 2014-02-19 Pedro Alves <palves@redhat.com> |
4659 | ||
4660 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
4661 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
4662 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
4663 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
4664 | store remote thread ids rather than ptid.tid. | |
4665 | (_initialize_remote): Adjust. | |
4666 | ||
ac01945b TT |
4667 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4668 | ||
4669 | * target.c (target_get_unwinder): Rewrite. | |
4670 | (target_get_tailcall_unwinder): Rewrite. | |
4671 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
4672 | (record_btrace_to_get_tailcall_unwinder): New function. | |
4673 | (init_record_btrace_ops): Update. | |
4674 | * target.h (struct target_ops) <to_get_unwinder, | |
4675 | to_get_tailcall_unwinder>: Now function pointers. Use | |
4676 | TARGET_DEFAULT_RETURN. | |
4677 | ||
8476dc92 TT |
4678 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4679 | ||
4680 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
4681 | argument. | |
4682 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
4683 | ||
c0eca49f TT |
4684 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4685 | ||
4686 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
4687 | directly. | |
4688 | * target-delegates.c: Rebuild. | |
4689 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
4690 | TARGET_DEFAULT_FUNC. | |
4691 | * target.c (default_target_decr_pc_after_break): Rename from | |
4692 | forward_target_decr_pc_after_break. Simplify. | |
4693 | (target_decr_pc_after_break): Rely on delegation. | |
4694 | ||
596b6b39 TT |
4695 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4696 | ||
4697 | * target.c (update_current_target): Do not INHERIT to_doc or | |
4698 | to_magic. Do not de_fault to_open or to_close. | |
4699 | ||
b427c1bc TT |
4700 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4701 | ||
4702 | * gcore.h (objfile_find_memory_regions): Declare. | |
4703 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
4704 | "self" argument. | |
4705 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
4706 | * exec.c: Include gcore.h. | |
4707 | (exec_set_find_memory_regions): Remove. | |
4708 | (exec_find_memory_regions): Remove. | |
4709 | (exec_do_find_memory_regions): Remove. | |
4710 | (init_exec_ops): Update. | |
4711 | * defs.h (exec_set_find_memory_regions): Remove. | |
4712 | ||
9b144037 TT |
4713 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4714 | ||
4715 | * target-delegates.c: Rebuild. | |
4716 | * target.h (struct target_ops) <to_extra_thread_info, | |
4717 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
4718 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
4719 | not 0, in TARGET_DEFAULT_RETURN. | |
4720 | ||
555bbdeb TT |
4721 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4722 | ||
4723 | * target.c (complete_target_initialization): Remove casts. Use | |
4724 | return_zero_has_execution. | |
4725 | (return_zero): Add "ignore" argument. | |
4726 | (return_zero_has_execution): New function. | |
4727 | (init_dummy_target): Remove casts. Use | |
4728 | return_zero_has_execution. | |
4729 | ||
be4ddd36 TT |
4730 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4731 | ||
4732 | * target.c (update_current_target): Update comments. Do not | |
4733 | INHERIT to_stratum. | |
4734 | ||
2117c711 TT |
4735 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4736 | ||
4737 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
4738 | needed. | |
4739 | * corelow.c (core_read_description): Delegate when needed. | |
4740 | * remote.c (remote_read_description): Delegate when needed. | |
4741 | * target-delegates.c: Rebuild. | |
4742 | * target.c (target_read_description): Rewrite. | |
4743 | * target.h (struct target_ops) <to_read_description>: Update | |
4744 | comment. Use TARGET_DEFAULT_RETURN. | |
4745 | ||
e88ef65c TT |
4746 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4747 | ||
4748 | * target-delegates.c: Rebuild. | |
4749 | * target.c (update_current_target): Don't inherit or default | |
4750 | to_can_run. | |
4751 | (find_default_run_target): Check against delegate_can_run. | |
4752 | * target.h (struct target_ops) <to_can_run>: Use | |
4753 | TARGET_DEFAULT_RETURN. | |
4754 | ||
86a0854a TT |
4755 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4756 | ||
4757 | * target-delegates.c: Rebuild. | |
4758 | * target.c (target_disconnect): Unconditionally delegate. | |
4759 | * target.h (struct target_ops) <to_disconnect>: Use | |
4760 | TARGET_DEFAULT_NORETURN. | |
4761 | ||
ee97f592 TT |
4762 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4763 | ||
4764 | * record.c (record_stop): Unconditionally delegate. | |
4765 | * target-delegates.c: Rebuild. | |
4766 | * target.c (target_stop_recording): Unconditionally delegate. | |
4767 | * target.h (struct target_ops) <to_stop_recording>: Use | |
4768 | TARGET_DEFAULT_IGNORE. | |
4769 | ||
6dc7fcf4 TT |
4770 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4771 | ||
4772 | * target-delegates.c: Rebuild. | |
4773 | * target.c (target_enable_btrace): Unconditionally delegate. | |
4774 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
4775 | TARGET_DEFAULT_NORETURN. | |
4776 | ||
eb5b20d4 TT |
4777 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4778 | ||
4779 | * target-delegates.c: Rebuild. | |
4780 | * target.c (target_read_btrace): Unconditionally delegate. | |
4781 | * target.h (struct target_ops) <to_read_btrace>: Use | |
4782 | TARGET_DEFAULT_NORETURN. | |
4783 | ||
9ace480d TT |
4784 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4785 | ||
4786 | * target-delegates.c: Rebuild. | |
4787 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
4788 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
4789 | TARGET_DEFAULT_NORETURN. | |
4790 | ||
8dc292d3 TT |
4791 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4792 | ||
4793 | * target-delegates.c: Rebuild. | |
4794 | * target.c (target_disable_btrace): Unconditionally delegate. | |
4795 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
4796 | TARGET_DEFAULT_NORETURN. | |
4797 | ||
58a5184e TT |
4798 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4799 | ||
4800 | * target-delegates.c: Rebuild. | |
4801 | * target.c (default_search_memory): New function. | |
4802 | (simple_search_memory): Update comment. | |
4803 | (target_search_memory): Unconditionally delegate. | |
4804 | * target.h (struct target_ops) <to_search_memory>: Use | |
4805 | TARGET_DEFAULT_FUNC. | |
4806 | ||
8de71aab TT |
4807 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4808 | ||
4809 | * auxv.c (default_auxv_parse): No longer static. | |
4810 | (target_auxv_parse): Unconditionally delegate. | |
4811 | * auxv.h (default_auxv_parse): Declare. | |
4812 | * target-delegates.c: Rebuild. | |
4813 | * target.c: Include auxv.h. | |
4814 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
4815 | TARGET_DEFAULT_FUNC. | |
4816 | ||
6b2c5a57 TT |
4817 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4818 | ||
4819 | * target-delegates.c: Rebuild. | |
4820 | * target.c (target_memory_map): Unconditionally delegate. | |
4821 | * target.h (struct target_ops) <to_memory_map>: Use | |
4822 | TARGET_DEFAULT_RETURN. | |
4823 | ||
cbffc065 TT |
4824 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4825 | ||
4826 | * target-delegates.c: Rebuild. | |
4827 | * target.c (target_thread_alive): Unconditionally delegate. | |
4828 | * target.h (struct target_ops) <to_thread_alive>: Use | |
4829 | TARGET_DEFAULT_RETURN. | |
4830 | ||
f09e2107 TT |
4831 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4832 | ||
4833 | * target-delegates.c: Rebuild. | |
4834 | * target.c (target_save_record): Unconditionally delegate. | |
4835 | * target.h (struct target_ops) <to_save_record>: Use | |
4836 | TARGET_DEFAULT_NORETURN. | |
4837 | ||
07366925 TT |
4838 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4839 | ||
4840 | * target-delegates.c: Rebuild. | |
4841 | * target.c (target_delete_record): Unconditionally delegate. | |
4842 | * target.h (struct target_ops) <to_delete_record>: Use | |
4843 | TARGET_DEFAULT_NORETURN. | |
4844 | ||
dd2e9d25 TT |
4845 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4846 | ||
4847 | * target-delegates.c: Rebuild. | |
4848 | * target.c (target_record_is_replaying): Unconditionally | |
4849 | delegate. | |
4850 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
4851 | TARGET_DEFAULT_RETURN. | |
4852 | ||
671e76cc TT |
4853 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4854 | ||
4855 | * target-delegates.c: Rebuild. | |
4856 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
4857 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
4858 | TARGET_DEFAULT_NORETURN. | |
4859 | ||
e9179bb3 TT |
4860 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4861 | ||
4862 | * target-delegates.c: Rebuild. | |
4863 | * target.c (target_goto_record_end): Unconditionally delegate. | |
4864 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
4865 | TARGET_DEFAULT_NORETURN. | |
4866 | ||
05969c84 TT |
4867 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4868 | ||
4869 | * target-delegates.c: Rebuild. | |
4870 | * target.c (target_goto_record): Unconditionally delegate. | |
4871 | * target.h (struct target_ops) <to_goto_record>: Use | |
4872 | TARGET_DEFAULT_NORETURN. | |
4873 | ||
3679abfa TT |
4874 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4875 | ||
4876 | * target-delegates.c: Rebuild. | |
4877 | * target.c (target_insn_history): Unconditionally delegate. | |
4878 | * target.h (struct target_ops) <to_insn_history>: Use | |
4879 | TARGET_DEFAULT_NORETURN. | |
4880 | ||
8444ab58 TT |
4881 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4882 | ||
4883 | * target-delegates.c: Rebuild. | |
4884 | * target.c (target_insn_history_from): Unconditionally delegate. | |
4885 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
4886 | TARGET_DEFAULT_NORETURN. | |
4887 | ||
c29302cc TT |
4888 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4889 | ||
4890 | * target-delegates.c: Rebuild. | |
4891 | * target.c (target_insn_history_range): Unconditionally delegate. | |
4892 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
4893 | TARGET_DEFAULT_NORETURN. | |
4894 | ||
170049d4 TT |
4895 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4896 | ||
4897 | * target-delegates.c: Rebuild. | |
4898 | * target.c (target_call_history): Unconditionally delegate. | |
4899 | * target.h (struct target_ops) <to_call_history>: Use | |
4900 | TARGET_DEFAULT_NORETURN. | |
4901 | ||
16fc27d6 TT |
4902 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4903 | ||
4904 | * target-delegates.c: Rebuild. | |
4905 | * target.c (target_call_history_from): Unconditionally delegate. | |
4906 | * target.h (struct target_ops) <to_call_history_from>: Use | |
4907 | TARGET_DEFAULT_NORETURN. | |
4908 | ||
115d9817 TT |
4909 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4910 | ||
4911 | * target-delegates.c: Rebuild. | |
4912 | * target.c (target_call_history_range): Unconditionally delegate. | |
4913 | * target.h (struct target_ops) <to_call_history_range>: Use | |
4914 | TARGET_DEFAULT_NORETURN. | |
4915 | ||
eb276a6b TT |
4916 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4917 | ||
4918 | * target-delegates.c: Rebuild. | |
4919 | * target.c (target_verify_memory): Unconditionally delegate. | |
4920 | * target.h (struct target_ops) <to_verify_memory>: Use | |
4921 | TARGET_DEFAULT_NORETURN. | |
4922 | ||
9e538d0d TT |
4923 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4924 | ||
4925 | * target-delegates.c: Rebuild. | |
4926 | * target.c (target_core_of_thread): Unconditionally delegate. | |
4927 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
4928 | TARGET_DEFAULT_RETURN. | |
4929 | ||
f6fb2925 TT |
4930 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4931 | ||
4932 | * target-delegates.c: Rebuild. | |
4933 | * target.c (target_flash_done): Unconditionally delegate. | |
4934 | * target.h (struct target_ops) <to_flash_done>: Use | |
4935 | TARGET_DEFAULT_NORETURN. | |
4936 | ||
e8a6c6ac TT |
4937 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4938 | ||
4939 | * target-delegates.c: Rebuild. | |
4940 | * target.c (target_flash_erase): Unconditionally delegate. | |
4941 | * target.h (struct target_ops) <to_flash_erase>: Use | |
4942 | TARGET_DEFAULT_NORETURN. | |
4943 | ||
7e35c012 TT |
4944 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4945 | ||
4946 | * target-delegates.c: Rebuild. | |
4947 | * target.c (target_get_section_table): Unconditionally delegate. | |
4948 | * target.h (struct target_ops) <to_get_section_table>: Use | |
4949 | TARGET_DEFAULT_RETURN. | |
4950 | ||
770234d3 TT |
4951 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4952 | ||
4953 | * target-delegates.c: Rebuild. | |
4954 | * target.c (target_pid_to_str): Unconditionally delegate. | |
4955 | (init_dummy_target): Don't initialize to_pid_to_str. | |
4956 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
4957 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
4958 | TARGET_DEFAULT_FUNC. | |
4959 | ||
09b0dc2b TT |
4960 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4961 | ||
4962 | * target-delegates.c: Rebuild. | |
4963 | * target.c (target_find_new_threads): Unconditionally delegate. | |
4964 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
4965 | TARGET_DEFAULT_RETURN. | |
4966 | ||
7d4f8efa TT |
4967 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4968 | ||
4969 | * target-delegates.c: Rebuild. | |
4970 | * target.c (target_program_signals): Unconditionally delegate. | |
4971 | * target.h (struct target_ops) <to_program_signals>: Use | |
4972 | TARGET_DEFAULT_IGNORE. | |
4973 | ||
035cad7f TT |
4974 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4975 | ||
4976 | * target-delegates.c: Rebuild. | |
4977 | * target.c (target_pass_signals): Unconditionally delegate. | |
4978 | * target.h (struct target_ops) <to_pass_signals>: Use | |
4979 | TARGET_DEFAULT_IGNORE. | |
4980 | ||
8d657035 TT |
4981 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4982 | ||
4983 | * target-delegates.c: Rebuild. | |
4984 | * target.c (default_mourn_inferior): New function. | |
4985 | (target_mourn_inferior): Unconditionally delegate. | |
4986 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
4987 | TARGET_DEFAULT_FUNC. | |
4988 | ||
098dba18 TT |
4989 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4990 | ||
4991 | * target-delegates.c: Rebuild. | |
4992 | * target.c (default_follow_fork): New function. | |
4993 | (target_follow_fork): Unconditionally delegate. | |
4994 | * target.h (struct target_ops) <to_follow_fork>: Use | |
4995 | TARGET_DEFAULT_FUNC. | |
4996 | ||
423a4807 TT |
4997 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4998 | ||
4999 | * target-delegates.c: Rebuild. | |
5000 | * target.c (target_kill): Unconditionally delegate. | |
5001 | * target.h (struct target_ops) <to_kill>: Use | |
5002 | TARGET_DEFAULT_NORETURN. | |
5003 | ||
6c7e5e5c TT |
5004 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5005 | ||
5006 | * target-delegates.c: Rebuild. | |
5007 | * target.c (target_masked_watch_num_registers): Unconditionally | |
5008 | delegate. | |
5009 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
5010 | Use TARGET_DEFAULT_RETURN. | |
5011 | ||
8b1c364c TT |
5012 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5013 | ||
5014 | * target-delegates.c: Rebuild. | |
5015 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
5016 | delegate. | |
5017 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
5018 | TARGET_DEFAULT_RETURN. | |
5019 | ||
cd4ae029 TT |
5020 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5021 | ||
5022 | * target-delegates.c: Rebuild. | |
5023 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
5024 | delegate. | |
5025 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
5026 | TARGET_DEFAULT_RETURN. | |
5027 | ||
a134316b TT |
5028 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5029 | ||
5030 | * target-delegates.c: Rebuild. | |
5031 | * target.c (target_ranged_break_num_registers): Unconditionally | |
5032 | delegate. | |
5033 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
5034 | Use TARGET_DEFAULT_RETURN. | |
5035 | ||
ad5989bd TT |
5036 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5037 | ||
5038 | * target-delegates.c: Rebuild. | |
5039 | * target.c (target_fetch_registers): Unconditionally delegate. | |
5040 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
5041 | TARGET_DEFAULT_NORETURN. | |
5042 | ||
46ee7e8d TT |
5043 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5044 | ||
5045 | * target-delegates.c: Rebuild. | |
5046 | * target.c (update_current_target): Don't inherit or default | |
5047 | to_stop. | |
5048 | * target.h (struct target_ops) <to_stop>: Use | |
5049 | TARGET_DEFAULT_IGNORE. | |
5050 | ||
843f59ed TT |
5051 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5052 | ||
5053 | * target-delegates.c: Rebuild. | |
5054 | * target.c (update_current_target): Don't inherit or default | |
5055 | to_can_run_breakpoint_commands. | |
5056 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
5057 | Use TARGET_DEFAULT_RETURN. | |
5058 | ||
ccfde2a0 TT |
5059 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5060 | ||
5061 | * target-delegates.c: Rebuild. | |
5062 | * target.c (update_current_target): Don't inherit or default | |
5063 | to_supports_evaluation_of_breakpoint_conditions. | |
5064 | * target.h (struct target_ops) | |
5065 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
5066 | TARGET_DEFAULT_RETURN. | |
5067 | ||
0de91722 TT |
5068 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5069 | ||
5070 | * target-delegates.c: Rebuild. | |
5071 | * target.c (update_current_target): Don't inherit or default | |
5072 | to_augmented_libraries_svr4_read. | |
5073 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
5074 | Use TARGET_DEFAULT_RETURN. | |
5075 | ||
9a7d8b48 TT |
5076 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5077 | ||
5078 | * target-delegates.c: Rebuild. | |
5079 | * target.c (update_current_target): Don't inherit or default | |
5080 | to_can_use_agent. | |
5081 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
5082 | TARGET_DEFAULT_RETURN. | |
5083 | ||
d9db5b21 TT |
5084 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5085 | ||
5086 | * target-delegates.c: Rebuild. | |
5087 | * target.c (update_current_target): Don't inherit or default | |
5088 | to_use_agent. | |
5089 | * target.h (struct target_ops) <to_use_agent>: Use | |
5090 | TARGET_DEFAULT_NORETURN. | |
5091 | ||
92155eeb TT |
5092 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5093 | ||
5094 | * target-delegates.c: Rebuild. | |
5095 | * target.c (update_current_target): Don't inherit or default | |
5096 | to_traceframe_info. | |
5097 | (return_null): Remove. | |
5098 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
5099 | TARGET_DEFAULT_RETURN. | |
5100 | ||
d6522a22 TT |
5101 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5102 | ||
5103 | * target-delegates.c: Rebuild. | |
5104 | * target.c (update_current_target): Don't inherit or default | |
5105 | to_static_tracepoint_markers_by_strid. | |
5106 | * target.h (struct target_ops) | |
5107 | <to_static_tracepoint_markers_by_strid>: Use | |
5108 | TARGET_DEFAULT_NORETURN. | |
5109 | ||
4c3e4425 TT |
5110 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5111 | ||
5112 | * target-delegates.c: Rebuild. | |
5113 | * target.c (update_current_target): Don't inherit or default | |
5114 | to_static_tracepoint_marker_at. | |
5115 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
5116 | Use TARGET_DEFAULT_RETURN. | |
5117 | ||
dcd6917f TT |
5118 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5119 | ||
5120 | * target-delegates.c: Rebuild. | |
5121 | * target.c (update_current_target): Don't inherit or default | |
5122 | to_set_permissions. | |
5123 | * target.h (struct target_ops) <to_set_permissions>: Use | |
5124 | TARGET_DEFAULT_IGNORE. | |
5125 | ||
22bcceee TT |
5126 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5127 | ||
5128 | * target-delegates.c: Rebuild. | |
5129 | * target.c (update_current_target): Don't inherit or default | |
5130 | to_get_tib_address. | |
5131 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
5132 | TARGET_DEFAULT_NORETURN. | |
5133 | ||
8586ccaa TT |
5134 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5135 | ||
5136 | * target-delegates.c: Rebuild. | |
5137 | * target.c (update_current_target): Don't inherit or default | |
5138 | to_set_trace_notes. | |
5139 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
5140 | TARGET_DEFAULT_RETURN. | |
5141 | ||
91df8d1d TT |
5142 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5143 | ||
5144 | * target-delegates.c: Rebuild. | |
5145 | * target.c (update_current_target): Don't initialize | |
5146 | to_set_trace_buffer_size. | |
5147 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
5148 | TARGET_DEFAULT_IGNORE. | |
5149 | ||
8d526939 TT |
5150 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5151 | ||
5152 | * target-delegates.c: Rebuild. | |
5153 | * target.c (update_current_target): Don't inherit or default | |
5154 | to_set_circular_trace_buffer. | |
5155 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
5156 | TARGET_DEFAULT_IGNORE. | |
5157 | ||
0bcfeddf TT |
5158 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5159 | ||
5160 | * target-delegates.c: Rebuild. | |
5161 | * target.c (update_current_target): Don't inherit or default | |
5162 | to_set_disconnected_tracing. | |
5163 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
5164 | TARGET_DEFAULT_IGNORE. | |
5165 | ||
9249843f TT |
5166 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5167 | ||
5168 | * target-delegates.c: Rebuild. | |
5169 | * target.c (update_current_target): Don't inherit or default | |
5170 | to_get_min_fast_tracepoint_insn_len. | |
5171 | (return_minus_one): Remove. | |
5172 | * target.h (struct target_ops) | |
5173 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
5174 | ||
ace92e7d TT |
5175 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5176 | ||
5177 | * target-delegates.c: Rebuild. | |
5178 | * target.c (update_current_target): Don't inherit or default | |
5179 | to_get_raw_trace_data. | |
5180 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
5181 | TARGET_DEFAULT_NORETURN. | |
5182 | ||
08120467 TT |
5183 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5184 | ||
5185 | * target-delegates.c: Rebuild. | |
5186 | * target.c (update_current_target): Don't inherit or default | |
5187 | to_upload_trace_state_variables. | |
5188 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
5189 | Use TARGET_DEFAULT_RETURN. | |
5190 | ||
1e949b00 TT |
5191 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5192 | ||
5193 | * target-delegates.c: Rebuild. | |
5194 | * target.c (update_current_target): Don't inherit or default | |
5195 | to_upload_tracepoints. | |
5196 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
5197 | TARGET_DEFAULT_RETURN. | |
5198 | ||
a2e6c147 TT |
5199 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5200 | ||
5201 | * target-delegates.c: Rebuild. | |
5202 | * target.c (update_current_target): Don't inherit or default | |
5203 | to_save_trace_data. | |
5204 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
5205 | TARGET_DEFAULT_NORETURN. | |
5206 | ||
959bcd0b TT |
5207 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5208 | ||
5209 | * target-delegates.c: Rebuild. | |
5210 | * target.c (update_current_target): Don't inherit or default | |
5211 | to_get_trace_state_variable_value. | |
5212 | * target.h (struct target_ops) | |
5213 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
5214 | ||
afc94e66 TT |
5215 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5216 | ||
5217 | * target-delegates.c: Rebuild. | |
5218 | * target.c (update_current_target): Don't inherit or default | |
5219 | to_trace_find. | |
5220 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
5221 | ||
e51c07ea TT |
5222 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5223 | ||
5224 | * target-delegates.c: Rebuild. | |
5225 | * target.c (update_current_target): Don't inherit or default | |
5226 | to_trace_stop. | |
5227 | * target.h (struct target_ops) <to_trace_stop>: Use | |
5228 | TARGET_DEFAULT_NORETURN. | |
5229 | ||
6fea14cd TT |
5230 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5231 | ||
5232 | * target-delegates.c: Rebuild. | |
5233 | * target.c (update_current_target): Don't inherit or default | |
5234 | to_get_tracepoint_status. | |
5235 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
5236 | TARGET_DEFAULT_NORETURN. | |
5237 | ||
4072d4ff TT |
5238 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5239 | ||
5240 | * target-delegates.c: Rebuild. | |
5241 | * target.c (update_current_target): Don't inherit or default | |
5242 | to_get_trace_status. | |
5243 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
5244 | TARGET_DEFAULT_RETURN. | |
5245 | ||
25da2e80 TT |
5246 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5247 | ||
5248 | * target-delegates.c: Rebuild. | |
5249 | * target.c (update_current_target): Don't inherit or default | |
5250 | to_trace_start. | |
5251 | * target.h (struct target_ops) <to_trace_start>: Use | |
5252 | TARGET_DEFAULT_NORETURN. | |
5253 | ||
86dd181d TT |
5254 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5255 | ||
5256 | * target-delegates.c: Rebuild. | |
5257 | * target.c (update_current_target): Don't inherit or default | |
5258 | to_trace_set_readonly_regions. | |
5259 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
5260 | Use TARGET_DEFAULT_NORETURN. | |
5261 | ||
05c41993 TT |
5262 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5263 | ||
5264 | * target-delegates.c: Rebuild. | |
5265 | * target.c (update_current_target): Don't inherit or default | |
5266 | to_disable_tracepoint. | |
5267 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
5268 | TARGET_DEFAULT_NORETURN. | |
5269 | ||
151f70f1 TT |
5270 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5271 | ||
5272 | * target-delegates.c: Rebuild. | |
5273 | * target.c (update_current_target): Don't inherit or default | |
5274 | to_enable_tracepoint. | |
5275 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
5276 | TARGET_DEFAULT_NORETURN. | |
5277 | ||
94eb98b9 TT |
5278 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5279 | ||
5280 | * target-delegates.c: Rebuild. | |
5281 | * target.c (update_current_target): Don't inherit or default | |
5282 | to_download_trace_state_variable. | |
5283 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
5284 | Use TARGET_DEFAULT_NORETURN. | |
5285 | ||
719acc4a TT |
5286 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5287 | ||
5288 | * target-delegates.c: Rebuild. | |
5289 | * target.c (update_current_target): Don't inherit or default | |
5290 | to_can_download_tracepoint. | |
5291 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
5292 | TARGET_DEFAULT_RETURN. | |
5293 | ||
9a980a22 TT |
5294 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5295 | ||
5296 | * target-delegates.c: Rebuild. | |
5297 | * target.c (update_current_target): Don't inherit or default | |
5298 | to_download_tracepoint. | |
5299 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
5300 | TARGET_DEFAULT_NORETURN. | |
5301 | ||
5536135b TT |
5302 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5303 | ||
5304 | * target-delegates.c: Rebuild. | |
5305 | * target.c (update_current_target): Don't inherit or default | |
5306 | to_trace_init. | |
5307 | * target.h (struct target_ops) <to_trace_init>: Use | |
5308 | TARGET_DEFAULT_RETURN. | |
5309 | ||
9409d39e TT |
5310 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5311 | ||
5312 | * target-delegates.c: Rebuild. | |
5313 | * target.c (update_current_target): Don't inherit or default | |
5314 | to_supports_string_tracing. | |
5315 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
5316 | TARGET_DEFAULT_RETURN. | |
5317 | ||
aab1b22d TT |
5318 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5319 | ||
5320 | * target-delegates.c: Rebuild. | |
5321 | * target.c (update_current_target): Don't inherit or default | |
5322 | to_supports_enable_disable_tracepoint. | |
5323 | * target.h (struct target_ops) | |
5324 | <to_supports_enable_disable_tracepoint>: Use | |
5325 | TARGET_DEFAULT_RETURN. | |
5326 | ||
a7304748 TT |
5327 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5328 | ||
5329 | * target-delegates.c: Rebuild. | |
5330 | * target.c (update_current_target): Don't inherit or default | |
5331 | to_supports_multi_process. | |
5332 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
5333 | TARGET_DEFAULT_RETURN. | |
5334 | ||
4229b31d TT |
5335 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5336 | ||
5337 | * target-delegates.c: Rebuild. | |
5338 | * target.c (update_current_target): Don't inherit or default | |
5339 | to_get_ada_task_ptid. | |
5340 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
5341 | TARGET_DEFAULT_FUNC. | |
5342 | ||
43eba180 TT |
5343 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5344 | ||
5345 | * target-delegates.c: Rebuild. | |
5346 | * target.c (update_current_target): Don't inherit or default | |
5347 | to_thread_architecture. | |
5348 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
5349 | TARGET_DEFAULT_FUNC. | |
5350 | ||
fe31bf5b TT |
5351 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5352 | ||
5353 | * target-delegates.c: Rebuild. | |
5354 | * target.c (update_current_target): Don't inherit or default | |
5355 | to_execution_direction. | |
5356 | * target.h (struct target_ops) <to_execution_direction>: Use | |
5357 | TARGET_DEFAULT_FUNC. | |
5358 | ||
53e1cfc7 TT |
5359 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5360 | ||
5361 | * target-delegates.c: Rebuild. | |
5362 | * target.c (update_current_target): Don't inherit or default | |
5363 | to_can_execute_reverse. | |
5364 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
5365 | TARGET_DEFAULT_RETURN. | |
5366 | (target_can_execute_reverse): Unconditionally delegate. | |
5367 | ||
9bb9d61d TT |
5368 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5369 | ||
5370 | * target-delegates.c: Rebuild. | |
5371 | * target.c (update_current_target): Don't inherit or default | |
5372 | to_goto_bookmark. | |
5373 | (dummy_goto_bookmark): Remove. | |
5374 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
5375 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
5376 | TARGET_DEFAULT_NORETURN. | |
5377 | ||
3dbafbbb TT |
5378 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5379 | ||
5380 | * target-delegates.c: Rebuild. | |
5381 | * target.c (update_current_target): Don't inherit or default | |
5382 | to_get_bookmark. | |
5383 | (dummy_get_bookmark): Remove. | |
5384 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
5385 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
5386 | TARGET_DEFAULT_NORETURN | |
5387 | ||
16f796b1 TT |
5388 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5389 | ||
5390 | * target-delegates.c: Rebuild. | |
5391 | * target.c (update_current_target): Don't inherit or default | |
5392 | to_make_corefile_notes. | |
5393 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
5394 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
5395 | TARGET_DEFAULT_FUNC. | |
5396 | ||
0b5a2719 TT |
5397 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5398 | ||
5399 | * target-delegates.c: Rebuild. | |
5400 | * target.c (update_current_target): Don't inherit or default | |
5401 | to_find_memory_regions. | |
5402 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
5403 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
5404 | TARGET_DEFAULT_FUNC. | |
5405 | ||
d9cb0195 TT |
5406 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5407 | ||
5408 | * target-delegates.c: Rebuild. | |
5409 | * target.c (update_current_target): Don't inherit or default | |
5410 | to_log_command. | |
5411 | * target.h (struct target_ops) <to_log_command>: Use | |
5412 | TARGET_DEFAULT_IGNORE. | |
5413 | (target_log_command): Unconditionally delegate. | |
5414 | ||
830ca330 TT |
5415 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5416 | ||
5417 | * target-delegates.c: Rebuild. | |
5418 | * target.c (update_current_target): Don't inherit or default | |
5419 | to_pid_to_exec_file. | |
5420 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
5421 | TARGET_DEFAULT_RETURN. | |
5422 | ||
825828fc TT |
5423 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5424 | ||
5425 | * target-delegates.c: Rebuild. | |
5426 | * target.c (update_current_target): Don't inherit or default | |
5427 | to_thread_name. | |
5428 | (target_thread_name): Unconditionally delegate. | |
5429 | * target.h (struct target_ops) <to_thread_name>: Use | |
5430 | TARGET_DEFAULT_RETURN. | |
5431 | ||
4a7e6dda TT |
5432 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5433 | ||
5434 | * target-delegates.c: Rebuild. | |
5435 | * target.c (update_current_target): Don't inherit or default | |
5436 | to_extra_thread_info. | |
5437 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
5438 | TARGET_DEFAULT_RETURN. | |
5439 | ||
0db88c1d TT |
5440 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5441 | ||
5442 | * target-delegates.c: Rebuild. | |
5443 | * target.c (update_current_target): Don't inherit or default | |
5444 | to_has_exited. | |
5445 | * target.h (struct target_ops) <to_has_exited>: Use | |
5446 | TARGET_DEFAULT_RETURN.. | |
5447 | ||
6a9fa051 TT |
5448 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5449 | ||
5450 | * target-delegates.c: Rebuild. | |
5451 | * target.c (update_current_target): Don't inherit or default | |
5452 | to_set_syscall_catchpoint. | |
5453 | (return_one): Remove. | |
5454 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
5455 | TARGET_DEFAULT_RETURN. | |
5456 | ||
62f64d7a TT |
5457 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5458 | ||
5459 | * target-delegates.c: Rebuild. | |
5460 | * target.c (update_current_target): Don't inherit or default | |
5461 | to_insert_exec_catchpoint. | |
5462 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
5463 | TARGET_DEFAULT_RETURN. | |
5464 | ||
cda0f38c TT |
5465 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
5466 | ||
5467 | * target-delegates.c: Rebuild. | |
5468 | * target.c (update_current_target): Don't inherit or default | |
5469 | to_insert_exec_catchpoint. | |
5470 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
5471 | TARGET_DEFAULT_RETURN. | |
5472 | ||
95c3375e TT |
5473 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5474 | ||
5475 | * target-delegates.c: Rebuild. | |
5476 | * target.c (update_current_target): Don't inherit or default | |
5477 | to_remove_vfork_catchpoint. | |
5478 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
5479 | TARGET_DEFAULT_RETURN. | |
5480 | ||
7e18a8dc TT |
5481 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5482 | ||
5483 | * target-delegates.c: Rebuild. | |
5484 | * target.c (update_current_target): Don't inherit or default | |
5485 | to_insert_vfork_catchpoint. | |
5486 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
5487 | TARGET_DEFAULT_RETURN. | |
5488 | ||
e1a21fb7 TT |
5489 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5490 | ||
5491 | * target-delegates.c: Rebuild. | |
5492 | * target.c (update_current_target): Don't inherit or default | |
5493 | to_remove_fork_catchpoint. | |
5494 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
5495 | TARGET_DEFAULT_RETURN. | |
5496 | ||
5958ebeb TT |
5497 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5498 | ||
5499 | * target-delegates.c: Rebuild. | |
5500 | * target.c (update_current_target): Don't inherit or default | |
5501 | to_insert_fork_catchpoint. | |
5502 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
5503 | TARGET_DEFAULT_RETURN. | |
5504 | ||
340ba4bf TT |
5505 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5506 | ||
5507 | * target-delegates.c: Rebuild. | |
5508 | * target.c (update_current_target): Don't inherit or default | |
5509 | to_post_startup_inferior. | |
5510 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
5511 | TARGET_DEFAULT_IGNORE. | |
5512 | ||
7634da87 TT |
5513 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5514 | ||
5515 | * target-delegates.c: Rebuild. | |
5516 | * target.c (update_current_target): Don't inherit or default | |
5517 | to_load. | |
5518 | * target.h (struct target_ops) <to_load>: Use | |
5519 | TARGET_DEFAULT_NORETURN. | |
5520 | ||
e19e919f TT |
5521 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5522 | ||
5523 | * target-delegates.c: Rebuild. | |
5524 | * target.c (update_current_target): Don't inherit or default | |
5525 | to_terminal_info. | |
5526 | * target.h (struct target_ops) <to_terminal_info>: Use | |
5527 | TARGET_DEFAULT_FUNC. | |
5528 | ||
c6ea8f79 TT |
5529 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5530 | ||
5531 | * target-delegates.c: Rebuild. | |
5532 | * target.c (update_current_target): Don't inherit or default | |
5533 | to_terminal_save_ours. | |
5534 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
5535 | TARGET_DEFAULT_IGNORE. | |
5536 | ||
e4a733f1 TT |
5537 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5538 | ||
5539 | * target-delegates.c: Rebuild. | |
5540 | * target.c (update_current_target): Don't inherit or default | |
5541 | to_terminal_ours. | |
5542 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
5543 | TARGET_DEFAULT_IGNORE. | |
5544 | ||
74fcbef9 TT |
5545 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5546 | ||
5547 | * target-delegates.c: Rebuild. | |
5548 | * target.c (update_current_target): Don't inherit or default | |
5549 | to_terminal_ours_for_output. | |
5550 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
5551 | TARGET_DEFAULT_IGNORE. | |
5552 | ||
ddeaacc9 TT |
5553 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5554 | ||
5555 | * target-delegates.c: Rebuild. | |
5556 | * target.c (update_current_target): Don't inherit or default | |
5557 | to_terminal_inferior. | |
5558 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
5559 | TARGET_DEFAULT_IGNORE. | |
5560 | ||
0343661d TT |
5561 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5562 | ||
5563 | * target-delegates.c: Rebuild. | |
5564 | * target.c (update_current_target): Don't inherit or default | |
5565 | to_terminal_init. | |
5566 | * target.h (struct target_ops) <to_terminal_init>: Use | |
5567 | TARGET_DEFAULT_IGNORE. | |
5568 | ||
77cdffe9 TT |
5569 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5570 | ||
5571 | * target-delegates.c: Rebuild. | |
5572 | * target.c (update_current_target): Don't inherit or default | |
5573 | to_can_accel_watchpoint_condition. | |
5574 | * target.h (struct target_ops) | |
5575 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
5576 | ||
d03655e4 TT |
5577 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5578 | ||
5579 | * target-delegates.c: Rebuild. | |
5580 | * target.c (update_current_target): Don't inherit or default | |
5581 | to_region_ok_for_hw_watchpoint. | |
5582 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
5583 | Use TARGET_DEFAULT_FUNC. | |
5584 | ||
65f160a9 TT |
5585 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5586 | ||
5587 | * target-delegates.c: Rebuild. | |
5588 | * target.c (update_current_target): Don't inherit or default | |
5589 | to_watchpoint_addr_within_range. | |
5590 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
5591 | Use TARGET_DEFAULT_FUNC. | |
5592 | ||
61dd109f TT |
5593 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5594 | ||
5595 | * target-delegates.c: Rebuild. | |
5596 | * target.c (update_current_target): Don't inherit or default | |
5597 | to_remove_watchpoint. | |
5598 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
5599 | TARGET_DEFAULT_NORETURN. | |
5600 | ||
016facd4 TT |
5601 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5602 | ||
5603 | * target-delegates.c: Rebuild. | |
5604 | * target.c (update_current_target): Don't inherit or default | |
5605 | to_insert_watchpoint. | |
5606 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
5607 | TARGET_DEFAULT_RETURN. | |
5608 | ||
418dabac TT |
5609 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5610 | ||
5611 | * target-delegates.c: Rebuild. | |
5612 | * target.c (update_current_target): Don't inherit or default | |
5613 | to_remove_hw_breakpoint. | |
5614 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
5615 | TARGET_DEFAULT_RETURN. | |
5616 | ||
61b371f9 TT |
5617 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5618 | ||
5619 | * target-delegates.c: Rebuild. | |
5620 | * target.c (update_current_target): Don't inherit or default | |
5621 | to_insert_hw_breakpoint. | |
5622 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
5623 | TARGET_DEFAULT_RETURN. | |
5624 | ||
52b51d06 TT |
5625 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5626 | ||
5627 | * target-delegates.c: Rebuild. | |
5628 | * target.c (update_current_target): Don't inherit or default | |
5629 | to_can_use_hw_breakpoint. | |
5630 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
5631 | TARGET_DEFAULT_RETURN. | |
5632 | ||
f86e59b2 TT |
5633 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5634 | ||
5635 | * target-delegates.c: Rebuild. | |
5636 | * target.c (update_current_target): Don't inherit or default | |
5637 | to_files_info. | |
5638 | * target.h (struct target_ops) <to_files_info>: Use | |
5639 | TARGET_DEFAULT_IGNORE. | |
5640 | ||
6c628163 TT |
5641 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5642 | ||
5643 | * target-delegates.c: Rebuild. | |
5644 | * target.c (update_current_target): Don't inherit or default | |
5645 | to_store. | |
5646 | * target.h (struct target_ops) <to_store>: Use | |
5647 | TARGET_DEFAULT_NORETURN. | |
5648 | ||
bebd3233 TT |
5649 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5650 | ||
5651 | * target-delegates.c: Rebuild. | |
5652 | * target.c (update_current_target): Don't inherit or default | |
5653 | to_post_attach. | |
5654 | * target.h (struct target_ops) <to_post_attach>: Use | |
5655 | TARGET_DEFAULT_IGNORE. | |
5656 | ||
a53f3625 TT |
5657 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5658 | ||
5659 | * target-delegates.c: Rebuild. | |
5660 | * target.c (update_current_target): Don't inherit or default | |
5661 | to_rcmd. | |
5662 | (default_rcmd): New function. | |
5663 | (do_monitor_command): Unconditionally delegate. | |
5664 | * target.h (struct target_ops) <to_rmcd>: Use | |
5665 | TARGET_DEFAULT_FUNC. | |
5666 | ||
e9a29200 TT |
5667 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5668 | ||
5669 | * target-delegates.c: Rebuild. | |
5670 | * target.c (init_dummy_target): Don't initialize to_attach. | |
5671 | (target_attach): Unconditionally delegate. | |
5672 | * target.h (struct target_ops) <to_attach>: Use | |
5673 | TARGET_DEFAULT_FUNC. | |
5674 | ||
09da0d0a TT |
5675 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5676 | ||
5677 | * target-delegates.c: Rebuild. | |
5678 | * target.c (target_detach): Unconditionally delegate. | |
5679 | (init_dummy_target): Don't initialize to_detach. | |
5680 | * target.h (struct target_ops) <to_detach>: Use | |
5681 | TARGET_DEFAULT_IGNORE. | |
5682 | ||
5436ff03 TT |
5683 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5684 | ||
5685 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
5686 | Add argument. | |
5687 | (target_augmented_libraries_svr4_read): Add argument. | |
5688 | * target.c (update_current_target): Update. | |
5689 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
5690 | argument. | |
5691 | ||
f0d960ea TT |
5692 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5693 | ||
5694 | * target.h (struct target_ops) <to_call_history_range>: Add | |
5695 | argument. | |
5696 | * target.c (target_call_history_range): Add argument. | |
5697 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
5698 | argument. | |
5699 | (record_btrace_call_history_from): Update. | |
5700 | ||
ec0aea04 TT |
5701 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5702 | ||
5703 | * target.h (struct target_ops) <to_call_history_from>: Add | |
5704 | argument. | |
5705 | * target.c (target_call_history_from): Add argument. | |
5706 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
5707 | argument. | |
5708 | ||
5df2fcba TT |
5709 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5710 | ||
5711 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
5712 | * target.c (target_call_history): Add argument. | |
5713 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
5714 | argument. | |
5715 | ||
4e99c6b7 TT |
5716 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5717 | ||
5718 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
5719 | argument. | |
5720 | * target.c (target_insn_history_range): Add argument. | |
5721 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
5722 | argument. | |
5723 | (record_btrace_insn_history_from): Update. | |
5724 | ||
9abc3ff3 TT |
5725 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5726 | ||
5727 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
5728 | argument. | |
5729 | * target.c (target_insn_history_from): Add argument. | |
5730 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
5731 | argument. | |
5732 | ||
7a6c5609 TT |
5733 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5734 | ||
5735 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
5736 | * target.c (target_insn_history): Add argument. | |
5737 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
5738 | argument. | |
5739 | ||
606183ac TT |
5740 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5741 | ||
5742 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
5743 | * target.c (target_goto_record): Add argument. | |
5744 | * record-full.c (record_full_goto): Add 'self' argument. | |
5745 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
5746 | ||
307a1b91 TT |
5747 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5748 | ||
5749 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
5750 | * target.c (target_goto_record_end): Add argument. | |
5751 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
5752 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
5753 | ||
08475817 TT |
5754 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5755 | ||
5756 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
5757 | argument. | |
5758 | * target.c (target_goto_record_begin): Add argument. | |
5759 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
5760 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
5761 | argument. | |
5762 | ||
1c63c994 TT |
5763 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5764 | ||
5765 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
5766 | argument. | |
5767 | * target.c (target_record_is_replaying): Add argument. | |
5768 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
5769 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
5770 | argument. | |
5771 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
5772 | (record_btrace_prepare_to_store, record_btrace_resume) | |
5773 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
5774 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
5775 | Update. | |
5776 | ||
d1b55219 TT |
5777 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5778 | ||
5779 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
5780 | * target.c (target_delete_record): Add argument. | |
5781 | * record-full.c (record_full_delete): Add 'self' argument. | |
5782 | ||
1390f529 TT |
5783 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5784 | ||
5785 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
5786 | * target.c (target_save_record): Add argument. | |
5787 | * record-full.c (record_full_save): Add 'self' argument. | |
5788 | (record_full_save): Add 'self' argument. | |
5789 | ||
630d6a4a TT |
5790 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5791 | ||
5792 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
5793 | * target.c (target_info_record): Add argument. | |
5794 | * record.c (info_record_command): Add argument. | |
5795 | * record-full.c (record_full_info): Add 'self' argument. | |
5796 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
5797 | ||
c6cd7c02 TT |
5798 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5799 | ||
5800 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
5801 | * target.c (target_stop_recording): Add argument. | |
5802 | * record.c (record_stop): Add argument. | |
5803 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
5804 | argument. | |
5805 | ||
39c49f83 TT |
5806 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5807 | ||
5808 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
5809 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
5810 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
5811 | argument. | |
5812 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
5813 | (_initialize_amd64_linux_nat): Use it. | |
5814 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
5815 | (_initialize_i386_linux_nat): Use it. | |
5816 | ||
1777056d TT |
5817 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5818 | ||
5819 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
5820 | * target.c (target_teardown_btrace): Add argument. | |
5821 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
5822 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
5823 | argument. | |
5824 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
5825 | argument. | |
5826 | ||
25e95349 TT |
5827 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5828 | ||
5829 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
5830 | * target.c (target_disable_btrace): Add argument. | |
5831 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
5832 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
5833 | argument. | |
5834 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
5835 | argument. | |
5836 | ||
e3c49f88 TT |
5837 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5838 | ||
5839 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
5840 | * target.c (target_enable_btrace): Add argument. | |
5841 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
5842 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
5843 | argument. | |
5844 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
5845 | argument. | |
5846 | ||
fe38f897 TT |
5847 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5848 | ||
5849 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
5850 | (target_can_use_agent): Add argument. | |
5851 | * target.c (update_current_target): Update. | |
5852 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
5853 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
5854 | ||
2c152180 TT |
5855 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5856 | ||
5857 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
5858 | (target_use_agent): Add argument. | |
5859 | * target.c (update_current_target): Update. | |
5860 | * remote.c (remote_use_agent): Add 'self' argument. | |
5861 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
5862 | ||
a893e81f TT |
5863 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5864 | ||
5865 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
5866 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
5867 | (target_traceframe_info): Add argument. | |
5868 | * target.c (update_current_target): Update. | |
5869 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
5870 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
5871 | ||
c686c57f TT |
5872 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5873 | ||
5874 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
5875 | argument. | |
5876 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
5877 | 'self' argument. | |
5878 | * target.c (update_current_target): Update. | |
5879 | * remote.c (struct target_ops) | |
5880 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
5881 | * linux-nat.c (struct target_ops) | |
5882 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
5883 | ||
61fc905d TT |
5884 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5885 | ||
5886 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
5887 | Add argument. | |
5888 | (target_static_tracepoint_marker_at): Add argument. | |
5889 | * target.c (update_current_target): Update. | |
5890 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
5891 | argument. | |
5892 | ||
c378d69d TT |
5893 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5894 | ||
5895 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
5896 | (target_set_permissions): Add argument. | |
5897 | * target.c (update_current_target): Update. | |
5898 | * remote.c (remote_set_permissions): Add 'self' argument. | |
5899 | (remote_start_remote): Update. | |
5900 | ||
bd7ae0f5 TT |
5901 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5902 | ||
5903 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
5904 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
5905 | (target_get_tib_address): Add argument. | |
5906 | * target.c (update_current_target): Update. | |
5907 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
5908 | ||
d9e68a2c TT |
5909 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5910 | ||
5911 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
5912 | (target_set_trace_notes): Add argument. | |
5913 | * target.c (update_current_target): Update. | |
5914 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
5915 | ||
4da384be TT |
5916 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5917 | ||
5918 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
5919 | argument. | |
5920 | (target_set_trace_buffer_size): Add argument. | |
5921 | * target.c (update_current_target): Update. | |
5922 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
5923 | ||
736d5b1f TT |
5924 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5925 | ||
5926 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
5927 | argument. | |
5928 | (target_set_circular_trace_buffer): Add argument. | |
5929 | * target.c (update_current_target): Update. | |
5930 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
5931 | argument. | |
5932 | ||
37b25738 TT |
5933 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5934 | ||
5935 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
5936 | argument. | |
5937 | (target_set_disconnected_tracing): Add argument. | |
5938 | * target.c (update_current_target): Update. | |
5939 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
5940 | ||
0e67620a TT |
5941 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5942 | ||
5943 | * target.h (struct target_ops) | |
5944 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
5945 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
5946 | * target.c (update_current_target): Update. | |
5947 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
5948 | argument. | |
5949 | ||
88ee6f45 TT |
5950 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5951 | ||
5952 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
5953 | argument. | |
5954 | (target_get_raw_trace_data): Add argument. | |
5955 | * target.c (update_current_target): Update. | |
5956 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
5957 | ||
181e3713 TT |
5958 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5959 | ||
5960 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
5961 | Add argument. | |
5962 | (target_upload_trace_state_variables): Add argument. | |
5963 | * target.c (update_current_target): Update. | |
5964 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
5965 | argument. | |
5966 | (remote_start_remote): Update. | |
5967 | ||
ab6617cc TT |
5968 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5969 | ||
5970 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
5971 | argument. | |
5972 | (target_upload_tracepoints): Add argument. | |
5973 | * target.c (update_current_target): Update. | |
5974 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
5975 | (remote_start_remote): Update. | |
5976 | ||
dc3decaf TT |
5977 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5978 | ||
5979 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
5980 | (target_save_trace_data): Add argument. | |
5981 | * target.c (update_current_target): Update. | |
5982 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
5983 | ||
4011015b TT |
5984 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5985 | ||
5986 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
5987 | argument. | |
5988 | * target.h (struct target_ops) | |
5989 | <to_get_trace_state_variable_value>: Add argument. | |
5990 | (target_get_trace_state_variable_value): Add argument. | |
5991 | * target.c (update_current_target): Update. | |
5992 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
5993 | argument. | |
5994 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
5995 | ||
bd4c6793 TT |
5996 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5997 | ||
5998 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
5999 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
6000 | (target_trace_find): Add argument. | |
6001 | * target.c (update_current_target): Update. | |
6002 | * remote.c (remote_trace_find): Add 'self' argument. | |
6003 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
6004 | ||
74499f1b TT |
6005 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6006 | ||
6007 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
6008 | (target_trace_stop): Add argument. | |
6009 | * target.c (update_current_target): Update. | |
6010 | * remote.c (remote_trace_stop): Add 'self' argument. | |
6011 | ||
db90e85c TT |
6012 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6013 | ||
6014 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
6015 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
6016 | argument. | |
6017 | (target_get_tracepoint_status): Add argument. | |
6018 | * target.c (update_current_target): Update. | |
6019 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
6020 | ||
8bd200f1 TT |
6021 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6022 | ||
6023 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
6024 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
6025 | argument. | |
6026 | (target_get_trace_status): Add argument. | |
6027 | * target.c (update_current_target): Update. | |
6028 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
6029 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
6030 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
6031 | ||
e2d1aae3 TT |
6032 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6033 | ||
6034 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
6035 | (target_trace_start): Add argument. | |
6036 | * target.c (update_current_target): Update. | |
6037 | * remote.c (remote_trace_start): Add 'self' argument. | |
6038 | ||
583f9a86 TT |
6039 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6040 | ||
6041 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
6042 | Add argument. | |
6043 | (target_trace_set_readonly_regions): Add argument. | |
6044 | * target.c (update_current_target): Update. | |
6045 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
6046 | argument. | |
6047 | ||
780b049c TT |
6048 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6049 | ||
6050 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
6051 | argument. | |
6052 | (target_disable_tracepoint): Add argument. | |
6053 | * target.c (update_current_target): Update. | |
6054 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
6055 | ||
46670d57 TT |
6056 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6057 | ||
6058 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
6059 | argument. | |
6060 | (target_enable_tracepoint): Add argument. | |
6061 | * target.c (update_current_target): Update. | |
6062 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
6063 | ||
559d2b81 TT |
6064 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6065 | ||
6066 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
6067 | Add argument. | |
6068 | (target_download_trace_state_variable): Add argument. | |
6069 | * target.c (update_current_target): Update. | |
6070 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
6071 | argument. | |
6072 | ||
a52a8357 TT |
6073 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6074 | ||
6075 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
6076 | argument. | |
6077 | (target_can_download_tracepoint): Add argument. | |
6078 | * target.c (update_current_target): Update. | |
6079 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
6080 | ||
548f7808 TT |
6081 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6082 | ||
6083 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
6084 | argument. | |
6085 | (target_download_tracepoint): Add argument. | |
6086 | * target.c (update_current_target): Update. | |
6087 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
6088 | ||
ecae04e1 TT |
6089 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6090 | ||
6091 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
6092 | (target_trace_init): Add argument. | |
6093 | * target.c (update_current_target): Update. | |
6094 | * remote.c (remote_trace_init): Add 'self' argument. | |
6095 | ||
fab5aa7c TT |
6096 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6097 | ||
6098 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
6099 | * target.c (target_fileio_readlink): Add argument. | |
6100 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
6101 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
6102 | ||
dbbca37d TT |
6103 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6104 | ||
6105 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
6106 | * target.c (target_fileio_unlink): Add argument. | |
6107 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
6108 | (remote_file_delete): Update. | |
6109 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
6110 | ||
df39ea25 TT |
6111 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6112 | ||
6113 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
6114 | * target.c (target_fileio_close): Add argument. | |
6115 | * remote.c (remote_hostio_close): Add 'self' argument. | |
6116 | (remote_hostio_close_cleanup): Update. | |
6117 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
6118 | Update. | |
6119 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
6120 | ||
a3be983c TT |
6121 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6122 | ||
6123 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
6124 | * target.c (target_fileio_pread): Add argument. | |
6125 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
6126 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
6127 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
6128 | ||
0d866f62 TT |
6129 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6130 | ||
6131 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
6132 | * target.c (target_fileio_pwrite): Add argument. | |
6133 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
6134 | (remote_file_put): Update. | |
6135 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
6136 | ||
cd897586 TT |
6137 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6138 | ||
6139 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
6140 | * target.c (target_fileio_open): Add argument. | |
6141 | * remote.c (remote_hostio_open): Add 'self' argument. | |
6142 | (remote_bfd_iovec_open): Add 'self' argument. | |
6143 | (remote_file_put): Add 'self' argument. | |
6144 | (remote_file_get): Add 'self' argument. | |
6145 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
6146 | ||
78eff0ec TT |
6147 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6148 | ||
6149 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
6150 | Add argument. | |
6151 | (target_can_run_breakpoint_commands): Add argument. | |
6152 | * target.c (update_current_target): Update. | |
6153 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
6154 | argument. | |
6155 | (remote_insert_breakpoint): Add 'self' argument. | |
6156 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
6157 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
6158 | ||
efcc2da7 TT |
6159 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6160 | ||
6161 | * target.h (struct target_ops) | |
6162 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
6163 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
6164 | argument. | |
6165 | * target.c (update_current_target): Update. | |
6166 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
6167 | argument. | |
6168 | (remote_insert_breakpoint): Add 'self' argument. | |
6169 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
6170 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
6171 | ||
6de37a3a TT |
6172 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6173 | ||
6174 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
6175 | argument. | |
6176 | (target_supports_string_tracing): Add argument. | |
6177 | * target.c (update_current_target): Update. | |
6178 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
6179 | ||
2bfc0540 TT |
6180 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6181 | ||
6182 | * target.h (struct target_ops) | |
6183 | <to_supports_disable_randomization>: Add argument. | |
6184 | * target.c (find_default_supports_disable_randomization): Add | |
6185 | argument. | |
6186 | (target_supports_disable_randomization): Add argument. | |
6187 | (find_default_supports_disable_randomization): Add 'self' | |
6188 | argument. | |
6189 | * remote.c (extended_remote_supports_disable_randomization): Add | |
6190 | 'self' argument. | |
6191 | (remote_supports_disable_randomization): Add 'self' argument. | |
6192 | (extended_remote_create_inferior): Update. | |
6193 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
6194 | 'self' argument. | |
6195 | ||
7d178d6a TT |
6196 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6197 | ||
6198 | * target.h (struct target_ops) | |
6199 | <to_supports_enable_disable_tracepoint>: Add argument. | |
6200 | (target_supports_enable_disable_tracepoint): Add argument. | |
6201 | * target.c (update_current_target): Update. | |
6202 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
6203 | argument. | |
6204 | ||
86ce2668 TT |
6205 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6206 | ||
6207 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
6208 | argument. | |
6209 | (target_supports_multi_process): Add argument. | |
6210 | * target.c (update_current_target): Update. | |
6211 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
6212 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
6213 | argument. | |
6214 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
6215 | argument. | |
6216 | ||
4c612759 TT |
6217 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6218 | ||
6219 | * target.h (struct target_ops) <to_execution_direction>: Add | |
6220 | argument. | |
6221 | (target_execution_direction): Add argument. | |
6222 | * target.c (default_execution_direction): Add 'self' argument. | |
6223 | * record-full.c (record_full_execution_direction): Add 'self' | |
6224 | argument. | |
6225 | ||
19db3e69 TT |
6226 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6227 | ||
6228 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
6229 | argument. | |
6230 | (target_can_execute_reverse): Add argument. | |
6231 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
6232 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
6233 | argument. | |
6234 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
6235 | argument. | |
6236 | ||
1e6b91a4 TT |
6237 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6238 | ||
6239 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
6240 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
6241 | argument. | |
6242 | (target_get_ada_task_ptid): Add argument. | |
6243 | * target.c (update_current_target): Update. | |
6244 | (default_get_ada_task_ptid): Add 'self' argument. | |
6245 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
6246 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
6247 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
6248 | argument. | |
6249 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
6250 | argument. | |
6251 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
6252 | argument. | |
6253 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
6254 | argument. | |
6255 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
6256 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
6257 | argument. | |
6258 | ||
3c80fb48 TT |
6259 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6260 | ||
6261 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
6262 | (target_goto_bookmark): Add argument. | |
6263 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
6264 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
6265 | ||
dd0e2830 TT |
6266 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6267 | ||
6268 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
6269 | (target_get_bookmark): Add argument. | |
6270 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
6271 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
6272 | ||
fc6691b2 TT |
6273 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6274 | ||
6275 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
6276 | argument. | |
6277 | (target_make_corefile_notes): Add argument. | |
6278 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
6279 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
6280 | (procfs_make_note_section): Add 'self' argument. | |
6281 | (procfs_make_note_section): Add 'self' argument. | |
6282 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
6283 | argument. | |
6284 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
6285 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
6286 | * exec.c (exec_make_note_section): Add 'self' argument. | |
6287 | (exec_make_note_section): Add 'self' argument. | |
6288 | ||
2e73927c TT |
6289 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6290 | ||
6291 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
6292 | argument. | |
6293 | (target_find_memory_regions): Add argument. | |
6294 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
6295 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
6296 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
6297 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
6298 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
6299 | * exec. (exec_do_find_memory_regions): New global. | |
6300 | (exec_set_find_memory_regions): Rewrite. | |
6301 | (exec_find_memory_regions): New function. | |
6302 | (init_exec_ops): Use exec_find_memory_regions. | |
6303 | ||
2a9a2795 TT |
6304 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6305 | ||
6306 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
6307 | argument. | |
6308 | * target.c (find_default_supports_non_stop): Add argument. | |
6309 | (target_supports_non_stop): Add argument. | |
6310 | (find_default_supports_non_stop): Add 'self' argument. | |
6311 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
6312 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
6313 | ||
4ab76ea3 TT |
6314 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6315 | ||
6316 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
6317 | (target_log_command): Add argument. | |
6318 | * serial.h (serial_log_command): Add 'self' argument. | |
6319 | * serial.c (serial_log_command): Add 'self' argument. | |
6320 | ||
8dd27370 TT |
6321 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6322 | ||
6323 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
6324 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
6325 | argument. | |
6326 | (target_pid_to_exec_file): Add argument. | |
6327 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
6328 | (update_current_target): Update. | |
6329 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
6330 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
6331 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
6332 | (linux_handle_extended_wait): Update. | |
6333 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
6334 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
6335 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
6336 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
6337 | ||
1aac633b TT |
6338 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6339 | ||
6340 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
6341 | (target_rcmd): Add argument. | |
6342 | * target.c (debug_to_rcmd): Add argument. | |
6343 | (update_current_target, do_monitor_command): Update. | |
6344 | * remote.c (remote_rcmd): Add 'self' argument. | |
6345 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
6346 | ||
1eab8a48 TT |
6347 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6348 | ||
6349 | * windows-nat.c (windows_stop): Add 'self' argument. | |
6350 | * target.h (struct target_ops) <to_stop>: Add argument. | |
6351 | * target.c (target_stop): Add argument. | |
6352 | (debug_to_stop): Add argument. | |
6353 | (update_current_target): Update. | |
6354 | * remote.c (remote_stop): Add 'self' argument. | |
6355 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
6356 | (gdbsim_cntrl_c): Update. | |
6357 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
6358 | * procfs.c (procfs_stop): Add 'self' argument. | |
6359 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
6360 | * monitor.c (monitor_stop): Add 'self' argument. | |
6361 | (monitor_open): Update. | |
6362 | * linux-nat.c (linux_nat_stop): Add argument. | |
6363 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
6364 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
6365 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
6366 | ||
503a628d TT |
6367 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6368 | ||
6369 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
6370 | * target.c (target_thread_name): Add argument. | |
6371 | (update_current_target): Update. | |
6372 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
6373 | ||
c15906d8 TT |
6374 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6375 | ||
6376 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
6377 | argument. | |
6378 | (target_extra_thread_info): Add argument. | |
6379 | * target.c (update_current_target): Update. | |
6380 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
6381 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
6382 | argument. | |
6383 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
6384 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
6385 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
6386 | argument. | |
6387 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
6388 | argument. | |
6389 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
6390 | argument. | |
6391 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
6392 | argument. | |
6393 | ||
daf5e9b6 TT |
6394 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6395 | ||
6396 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
6397 | * target.c (target_program_signals): Add argument. | |
6398 | * remote.c (remote_program_signals): Add 'self' argument. | |
6399 | ||
94bedb42 TT |
6400 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6401 | ||
6402 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
6403 | * target.c (target_pass_signals): Add argument. | |
6404 | * remote.c (remote_pass_signals): Add 'self' argument. | |
6405 | (remote_start_remote): Update. | |
6406 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
6407 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
6408 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
6409 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
6410 | ||
da82bd6b TT |
6411 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6412 | ||
6413 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
6414 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
6415 | (target_can_run): Add argument. | |
6416 | * target.c (debug_to_can_run): Add argument. | |
6417 | (update_current_target): Update. | |
6418 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
6419 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
6420 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
6421 | ||
d796e1d6 TT |
6422 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6423 | ||
6424 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
6425 | (target_has_exited): Add argument. | |
6426 | * target.c (debug_to_has_exited): Add argument. | |
6427 | (update_current_target): Update. | |
6428 | ||
ff214e67 TT |
6429 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6430 | ||
6431 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
6432 | argument. | |
6433 | (target_set_syscall_catchpoint): Add argument. | |
6434 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
6435 | argument. | |
6436 | * target.c (update_current_target): Update. | |
6437 | ||
758e29d2 TT |
6438 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6439 | ||
6440 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
6441 | argument. | |
6442 | (target_remove_exec_catchpoint): Add argument. | |
6443 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
6444 | (update_current_target): Update. | |
6445 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
6446 | argument. | |
6447 | ||
ba025e51 TT |
6448 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6449 | ||
6450 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
6451 | argument. | |
6452 | (target_insert_exec_catchpoint): Add argument. | |
6453 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
6454 | (update_current_target): Update. | |
6455 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
6456 | argument. | |
6457 | ||
e98cf0cd TT |
6458 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6459 | ||
6460 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
6461 | argument. | |
6462 | (target_remove_vfork_catchpoint): Add argument. | |
6463 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
6464 | (update_current_target): Update. | |
6465 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
6466 | argument. | |
6467 | ||
3ecc7da0 TT |
6468 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6469 | ||
6470 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
6471 | argument. | |
6472 | (target_insert_vfork_catchpoint): Add argument. | |
6473 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
6474 | (update_current_target): Update. | |
6475 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
6476 | argument. | |
6477 | ||
973fc227 TT |
6478 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6479 | ||
6480 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
6481 | argument. | |
6482 | (target_remove_fork_catchpoint): Add argument. | |
6483 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
6484 | (update_current_target): Update. | |
6485 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
6486 | argument. | |
6487 | ||
a863b201 TT |
6488 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6489 | ||
6490 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
6491 | argument. | |
6492 | (target_insert_fork_catchpoint): Add argument. | |
6493 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
6494 | (update_current_target): Update. | |
6495 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
6496 | argument. | |
6497 | ||
2e97a79e TT |
6498 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6499 | ||
6500 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
6501 | argument. | |
6502 | (target_post_startup_inferior): Add argument. | |
6503 | * target.c (debug_to_post_startup_inferior): Add argument. | |
6504 | (update_current_target): Update. | |
6505 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
6506 | argument. | |
6507 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
6508 | argument. | |
6509 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
6510 | argument. | |
6511 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
6512 | argument. | |
6513 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
6514 | 'self' argument. | |
6515 | (super_post_startup_inferior): Likewise. | |
6516 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
6517 | 'self' argument. | |
6518 | (super_post_startup_inferior): Likewise. | |
6519 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
6520 | Add 'self' argument. | |
6521 | (super_post_startup_inferior): Likewise. | |
6522 | ||
71a9f134 TT |
6523 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6524 | ||
6525 | * target.h (struct target_ops) <to_load>: Add argument. | |
6526 | * target.c (target_load): Add argument. | |
6527 | (debug_to_load): Add argument. | |
6528 | (update_current_target): Update. | |
6529 | * remote.c (remote_load): Add 'self' argument. | |
6530 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
6531 | * remote-mips.c (mips_load): Add 'self' argument. | |
6532 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
6533 | * monitor.c (monitor_load): Add 'self' argument. | |
6534 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
6535 | ||
0a4f40a2 TT |
6536 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6537 | ||
6538 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
6539 | (target_terminal_info): Add argument. | |
6540 | * target.c (debug_to_terminal_info): Add argument. | |
6541 | (default_terminal_info): Likewise. | |
6542 | * inflow.c (child_terminal_info): Add 'self' argument. | |
6543 | * inferior.h (child_terminal_info): Add 'self' argument. | |
6544 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
6545 | ||
ae3bd431 TT |
6546 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6547 | ||
6548 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
6549 | argument. | |
6550 | (target_terminal_save_ours): Add argument. | |
6551 | * target.c (debug_to_terminal_save_ours): Add argument. | |
6552 | (update_current_target): Update. | |
6553 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
6554 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
6555 | ||
e3594fd1 TT |
6556 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6557 | ||
6558 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
6559 | (target_terminal_ours): Add argument. | |
6560 | * target.c (debug_to_terminal_ours): Add argument. | |
6561 | (update_current_target): Update. | |
6562 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
6563 | (remote_close): Update. | |
6564 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
6565 | * inflow.c (terminal_ours): Add 'self' argument. | |
6566 | * inferior.h (terminal_ours): Add 'self' argument. | |
6567 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
6568 | ||
2e1e1a19 TT |
6569 | 2014-02-19 Pedro Alves <palves@redhat.com> |
6570 | Tom Tromey <tromey@redhat.com> | |
6571 | ||
6572 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
6573 | argument. | |
6574 | (target_terminal_ours_for_output): Add argument. | |
6575 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
6576 | (update_current_target): Update. | |
6577 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
6578 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
6579 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
6580 | ||
d2f640d4 TT |
6581 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6582 | ||
6583 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
6584 | argument. | |
6585 | * target.c (target_terminal_inferior): Add argument. | |
6586 | (update_current_target): Update. | |
6587 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
6588 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
6589 | * inflow.c (terminal_inferior): Add 'self' argument. | |
6590 | * inferior.h (terminal_inferior): Add 'self' argument. | |
6591 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
6592 | (go32_terminal_inferior): Add 'self' argument. | |
6593 | ||
c42bf286 TT |
6594 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6595 | ||
6596 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
6597 | (target_terminal_init): Add argument. | |
6598 | * target.c (debug_to_terminal_init): Add argument. | |
6599 | (update_current_target): Update. | |
6600 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
6601 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
6602 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
6603 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
6604 | ||
c3a5ff89 TT |
6605 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6606 | ||
6607 | * target.h (struct target_ops) | |
6608 | <to_can_accel_watchpoint_condition>: Add argument. | |
6609 | (target_can_accel_watchpoint_condition): Add argument. | |
6610 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
6611 | argument. | |
6612 | (update_current_target): Update. | |
6613 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
6614 | 'self' argument. | |
6615 | ||
31568a15 TT |
6616 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6617 | ||
6618 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
6619 | Add argument. | |
6620 | (target_region_ok_for_hw_watchpoint): Add argument. | |
6621 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
6622 | (default_region_ok_for_hw_watchpoint): Add argument. | |
6623 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
6624 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
6625 | argument. | |
6626 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
6627 | argument. | |
6628 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
6629 | argument. | |
6630 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
6631 | 'self' argument. | |
6632 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
6633 | 'self' argument. | |
6634 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
6635 | 'self' argument. | |
6636 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
6637 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
6638 | 'self' argument. | |
6639 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
6640 | Add 'self' argument. | |
6641 | ||
7bb99c53 TT |
6642 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6643 | ||
6644 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
6645 | argument. | |
6646 | (target_insert_watchpoint): Add argument. | |
6647 | * target.c (debug_to_insert_watchpoint): Add argument. | |
6648 | (update_current_target): Update. | |
6649 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
6650 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
6651 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
6652 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
6653 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
6654 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
6655 | argument. | |
6656 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
6657 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
6658 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
6659 | argument. | |
6660 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
6661 | argument. | |
6662 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
6663 | argument. | |
6664 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
6665 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
6666 | argument. | |
6667 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
6668 | 'self' argument. | |
6669 | ||
11b5219a TT |
6670 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6671 | ||
6672 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
6673 | argument. | |
6674 | (target_remove_watchpoint): Add argument. | |
6675 | * target.c (debug_to_remove_watchpoint): Add argument. | |
6676 | (update_current_target): Update. | |
6677 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
6678 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
6679 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
6680 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
6681 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
6682 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
6683 | argument. | |
6684 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
6685 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
6686 | argument. | |
6687 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
6688 | argument. | |
6689 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
6690 | argument. | |
6691 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
6692 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
6693 | argument. | |
6694 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
6695 | 'self' argument. | |
6696 | ||
a64dc96c TT |
6697 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6698 | ||
6699 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
6700 | argument. | |
6701 | (target_remove_hw_breakpoint): Add argument. | |
6702 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
6703 | (update_current_target): Update. | |
6704 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
6705 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
6706 | argument. | |
6707 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
6708 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
6709 | argument. | |
6710 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
6711 | 'self' argument. | |
6712 | ||
23a26771 TT |
6713 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6714 | ||
6715 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
6716 | argument. | |
6717 | (target_insert_hw_breakpoint): Add argument. | |
6718 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
6719 | (update_current_target): Update. | |
6720 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
6721 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
6722 | argument. | |
6723 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
6724 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
6725 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
6726 | argument. | |
6727 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
6728 | 'self' argument. | |
6729 | ||
5461485a TT |
6730 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6731 | ||
6732 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
6733 | argument. | |
6734 | (target_can_use_hardware_watchpoint): Add argument. | |
6735 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
6736 | (update_current_target): Update. | |
6737 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
6738 | argument. | |
6739 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
6740 | argument. | |
6741 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
6742 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
6743 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
6744 | argument. | |
6745 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
6746 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
6747 | argument. | |
6748 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
6749 | argument. | |
6750 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
6751 | argument. | |
6752 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
6753 | argument. | |
6754 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
6755 | argument. | |
6756 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
6757 | argument. | |
6758 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
6759 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
6760 | argument. | |
6761 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
6762 | 'self' argument. | |
6763 | ||
f045800c TT |
6764 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6765 | ||
6766 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
6767 | (target_post_attach): Add argument. | |
6768 | * target.c (debug_to_post_attach): Add argument. | |
6769 | (update_current_target): Update. | |
6770 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
6771 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
6772 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
6773 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
6774 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
6775 | ||
de90e03d TT |
6776 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6777 | ||
6778 | * windows-nat.c (windows_close): Add 'self' argument. | |
6779 | * tracepoint.c (tfile_close): Add 'self' argument. | |
6780 | * target.h (struct target_ops) <to_close>: Add argument. | |
6781 | * target.c (target_close): Add argument. | |
6782 | (update_current_target): Update. | |
6783 | * remote.c (remote_close): Add 'self' argument. | |
6784 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
6785 | * remote-mips.c (mips_close): Add 'self' argument. | |
6786 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
6787 | * record-full.c (record_full_close): Add 'self' argument. | |
6788 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
6789 | * monitor.h (monitor_close): Add 'self' argument. | |
6790 | * monitor.c (monitor_close): Add 'self' argument. | |
6791 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
6792 | * linux-nat.c (linux_nat_close): Add argument. | |
6793 | * go32-nat.c (go32_close): Add 'self' argument. | |
6794 | * exec.c (exec_close_1): Add 'self' argument. | |
6795 | * ctf.c (ctf_close): Add 'self' argument. | |
6796 | * corelow.c (core_close): Add 'self' argument. | |
6797 | (core_close_cleanup): Update. | |
6798 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
6799 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
6800 | ||
9dd130a0 TT |
6801 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6802 | ||
6803 | * remote.c (remote_load): New function. | |
6804 | (init_remote_ops): Use it. | |
6805 | ||
46917d26 TT |
6806 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6807 | ||
6808 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
6809 | argument. | |
6810 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
6811 | * remote.c (remote_supports_btrace): Add "self" argument. | |
6812 | * target-delegates.c: Rebuild. | |
6813 | * target.c (target_supports_btrace): Remove. | |
6814 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
6815 | target_ops argument. | |
6816 | (target_supports_btrace): New define. | |
6817 | ||
6b84065d TT |
6818 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6819 | ||
6820 | * record-full.c (record_full_beneath_to_resume_ops) | |
6821 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
6822 | (record_full_beneath_to_wait) | |
6823 | (record_full_beneath_to_store_registers_ops) | |
6824 | (record_full_beneath_to_store_registers) | |
6825 | (record_full_beneath_to_xfer_partial_ops) | |
6826 | (record_full_beneath_to_xfer_partial) | |
6827 | (record_full_beneath_to_insert_breakpoint_ops) | |
6828 | (record_full_beneath_to_insert_breakpoint) | |
6829 | (record_full_beneath_to_remove_breakpoint_ops) | |
6830 | (record_full_beneath_to_remove_breakpoint) | |
6831 | (record_full_beneath_to_stopped_by_watchpoint) | |
6832 | (record_full_beneath_to_stopped_data_address) | |
6833 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
6834 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
6835 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
6836 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
6837 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
6838 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
6839 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
6840 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
6841 | (record_full_resume, record_full_wait_1) | |
6842 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
6843 | (record_full_store_registers, record_full_xfer_partial) | |
6844 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
6845 | (record_full_async, record_full_core_xfer_partial): Use target | |
6846 | delegation. | |
6847 | * target-delegates.c: Rebuild. | |
6848 | * target.c (current_xfer_partial): Remove. | |
6849 | (update_current_target): Do not INHERIT or de_fault | |
6850 | to_insert_breakpoint, to_remove_breakpoint, | |
6851 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
6852 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
6853 | (default_xfer_partial): Simplify. | |
6854 | (current_xfer_partial): Remove. | |
6855 | (target_wait, target_resume): Simplify. | |
6856 | (find_default_can_async_p, find_default_is_async_p): Update. | |
6857 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
6858 | to_xfer_partial, to_stopped_by_watchpoint, | |
6859 | to_stopped_data_address. | |
6860 | (target_store_registers): Simplify. | |
6861 | (forward_target_remove_breakpoint) | |
6862 | (forward_target_insert_breakpoint): Remove. | |
6863 | (target_remove_breakpoint, target_insert_breakpoint) | |
6864 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
6865 | * target.h (struct target_ops) <to_resume, to_wait, | |
6866 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
6867 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
6868 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
6869 | markup. | |
6870 | (forward_target_remove_breakpoint) | |
6871 | (forward_target_insert_breakpoint): Remove. | |
6872 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
6873 | directly. | |
6874 | (record_btrace_insert_breakpoint): Delegate directly. | |
6875 | ||
1101cb7b TT |
6876 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6877 | ||
6878 | PR build/7701: | |
6879 | * target-delegates.c: New file. | |
6880 | * target.c: Include target-delegates.c. | |
6881 | (init_dummy_target): Call install_dummy_methods. | |
6882 | (complete_target_initialization): Call install_delegators. | |
6883 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
6884 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
6885 | * make-target-delegates: New file. | |
6886 | ||
8b06beed TT |
6887 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6888 | ||
6889 | * record.c (find_record_target): Use find_target_at. | |
6890 | * target.c (find_target_at): New function. | |
6891 | * target.h (find_target_at): Declare. | |
6892 | ||
6a109b6b TT |
6893 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6894 | ||
6895 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
6896 | Add 'ops' argument. | |
6897 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
6898 | 'ops' argument. | |
6899 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
6900 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
6901 | 'ops' argument. | |
6902 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
6903 | argument. | |
6904 | * linux-nat.c (save_sigtrap): Update. | |
6905 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
6906 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
6907 | (linux_nat_close): Update. | |
6908 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
6909 | argument. | |
6910 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
6911 | argument. | |
6912 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
6913 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
6914 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
6915 | (tmp_to_async): Add 'ops' argument. | |
6916 | (record_full_stopped_by_watchpoint, record_full_async) | |
6917 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
6918 | argument. | |
6919 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
6920 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
6921 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
6922 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
6923 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
6924 | (remote_stopped_data_address): Update. | |
6925 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
6926 | * target.c (update_current_target) | |
6927 | (find_default_can_async_p, find_default_is_async_p): Update. | |
6928 | (init_dummy_target): Update. | |
6929 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
6930 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
6931 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
6932 | (target_can_async_p, target_is_async_p, target_async) | |
6933 | (target_stopped_by_watchpoint): Update. | |
6934 | ||
e095146b YQ |
6935 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
6936 | ||
6937 | PR gdb/16220 | |
6938 | * gdbarch.sh: Remove startup_gdbarch. | |
6939 | * gdbarch.c: Regenerated. | |
6940 | * gdbarch.h: Likewise. | |
6941 | ||
bc3c6b36 KB |
6942 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
6943 | ||
6944 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
6945 | (rl78_return_value): Add g10 support. | |
6946 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
6947 | g10. | |
6948 | ||
98dc0167 | 6949 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
6950 | |
6951 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
6952 | (SUBDIR_GUILE_SRCS): Ditto. | |
6953 | (scm-gsmob.o): Ditto. | |
6954 | ||
842c05cd YQ |
6955 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
6956 | ||
6957 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
6958 | ||
25c0bd04 YQ |
6959 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
6960 | ||
6961 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
6962 | mach_msg_type_number_t. | |
6963 | (gnu_write_inferior): Likewise. | |
6964 | ||
a9a758e3 YQ |
6965 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
6966 | ||
6967 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
6968 | in format string. | |
6969 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
6970 | (inf_validate_procs, inf_signal): Likewise. | |
6971 | (S_exception_raise_request): Likewise. | |
6972 | (do_mach_notify_dead_name): Likewise. | |
6973 | (steal_exc_port): Likewise. | |
6974 | (gnu_read_inferior): Change 'copy_count''s type to | |
6975 | mach_msg_type_number_t. | |
6976 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
6977 | format string. | |
6978 | ||
bae8023e TS |
6979 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
6980 | ||
c82f56d9 TS |
6981 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
6982 | flag. Adjust all users; in particular... | |
6983 | (gnu_wait): ..., don't decrement its value in here... | |
6984 | (gnu_create_inferior): ..., and instead set the flag in here, | |
6985 | around the startup_inferior call, and call that one with | |
6986 | START_INFERIOR_TRAPS_EXPECTED. | |
6987 | ||
3398af6a TS |
6988 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
6989 | (ILL_RPC): ... new macro. | |
6990 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
6991 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
6992 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
6993 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
6994 | functions with ILL_RPC macro. | |
6995 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
6996 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
6997 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
6998 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
6999 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
7000 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
7001 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
7002 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
7003 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
7004 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
7005 | (S_proc_get_code_reply): New stub functions, generated with | |
7006 | ILL_RPC macro. | |
7007 | ||
d47642c9 TS |
7008 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
7009 | collected the type check structures. | |
7010 | ||
bae8023e TS |
7011 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
7012 | ||
8a55ffb0 DE |
7013 | 2014-02-14 Doug Evans <dje@google.com> |
7014 | ||
7015 | * target.c (target_write_partial): Fix result type. | |
7016 | ||
c2853f3d JM |
7017 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
7018 | ||
7019 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
7020 | the proper offsets to access fpregset_t. | |
7021 | ||
ac61d2db SA |
7022 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
7023 | ||
7024 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
7025 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
7026 | * h8300-tdep.c (setmachinelist): Remove global. | |
7027 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
7028 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
7029 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
7030 | * ravenscar-thread.c (update_target_observer): Remove global. | |
7031 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
7032 | ||
9d2d0b8b TT |
7033 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7034 | ||
7035 | * common/rsp-low.c: Update comments. | |
7036 | * common/rsp-low.h: Update comments. | |
7037 | ||
a7191e8b TT |
7038 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7039 | ||
7040 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
7041 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
7042 | ||
ff0e980e TT |
7043 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7044 | ||
7045 | * common/rsp-low.h (unhexify): Don't declare. | |
7046 | * common/rsp-low.c (unhexify): Remove. | |
7047 | ||
e9371aff TT |
7048 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7049 | ||
7050 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
7051 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
7052 | ||
971dc0b8 TT |
7053 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7054 | ||
7055 | * common/rsp-low.h (hexify): Don't declare. | |
7056 | * common/rsp-low.c (hexify): Remove. | |
7057 | ||
0a822afb TT |
7058 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7059 | ||
7060 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
7061 | ||
9f1b45b0 TT |
7062 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7063 | ||
7064 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
7065 | * remote.c (extended_remote_run, remote_rcmd) | |
7066 | (remote_download_trace_state_variable, remote_save_trace_data) | |
7067 | (remote_set_trace_notes): Update. | |
7068 | * tracepoint.c (encode_source_string, tfile_write_status) | |
7069 | (tfile_write_uploaded_tsv): Update. | |
7070 | ||
9c3d6531 TT |
7071 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7072 | ||
7073 | * tracepoint.c: Include rsp-low.h. | |
7074 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
7075 | * remote.c: Include rsp-low.h. | |
7076 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
7077 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
7078 | (remote_unescape_input): Move to common/rsp-low.c. | |
7079 | * common/rsp-low.h: New file. | |
7080 | * common/rsp-low.c: New file. | |
7081 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
7082 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
7083 | (COMMON_OBS): Add rsp-low.o. | |
7084 | (rsp-low.o): New target. | |
7085 | ||
01fd3ea5 TT |
7086 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7087 | ||
7088 | * utils.h: Include print-utils.h. | |
7089 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
7090 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
7091 | (hex_string, hex_string_custom): Don't declare. | |
7092 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
7093 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
7094 | (hex_string_custom, int_string, core_addr_to_string) | |
7095 | (core_addr_to_string_nz, host_address_to_string): Move to | |
7096 | common/print-utils.c. | |
7097 | * common/print-utils.h: New file. | |
7098 | * common/print-utils.c: New file | |
7099 | * Makefile.in (SFILES): Add common/print-utils.c. | |
7100 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
7101 | (COMMON_OBS): Add print-utils.o. | |
7102 | (print-utils.o): New target. | |
7103 | ||
9fb50108 TT |
7104 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7105 | ||
7106 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
7107 | ||
0548b5db MK |
7108 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
7109 | ||
7110 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
7111 | ||
493443a4 MK |
7112 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
7113 | ||
7114 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
7115 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
7116 | bytes were transferred. | |
7117 | ||
706d0883 PA |
7118 | 2014-02-12 Pedro Alves <palves@redhat.com> |
7119 | Kevin Buettner <kevinb@redhat.com> | |
7120 | ||
7121 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
7122 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
7123 | ||
5caa2f0b PA |
7124 | 2014-02-12 Pedro Alves <palves@redhat.com> |
7125 | ||
7126 | * h8300-tdep.c (pseudo_from_raw_register) | |
7127 | (raw_from_pseudo_register): New functions. | |
7128 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
7129 | them. | |
7130 | ||
76fd5f74 PA |
7131 | 2014-02-12 Pedro Alves <palves@redhat.com> |
7132 | ||
7133 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
7134 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
7135 | gdbarch_register_sim_regno hook. | |
7136 | ||
8f008406 SA |
7137 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
7138 | ||
7139 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
7140 | ||
195abc10 SA |
7141 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
7142 | ||
7143 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
7144 | ||
93ffa5b9 MK |
7145 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
7146 | ||
7147 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
7148 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
7149 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
7150 | (obsd_init_abi): New functions. | |
7151 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
7152 | (i386obsd_init_abi): Call obsd_init_abi. | |
7153 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
7154 | (amd64obsd_init_abi): Call obsd_init_abi. | |
7155 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
7156 | obsd-tdep.c to gdb_target_obs. | |
7157 | ||
49caec94 JM |
7158 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
7159 | ||
7160 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
7161 | double float arguments to 16-byte in the argument slots. | |
7162 | ||
e1402065 DE |
7163 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
7164 | ||
7165 | * configure.ac: Don't crash if pkg-config is not found and guile | |
7166 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
7167 | in guile checks. | |
7168 | * configure: Regenerate. | |
7169 | ||
edcc890f YQ |
7170 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
7171 | ||
7172 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
7173 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
7174 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
7175 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
7176 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
7177 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
7178 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
7179 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
7180 | ||
9b409511 YQ |
7181 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
7182 | ||
7183 | * target.h (enum target_xfer_error): Rename to ... | |
7184 | (enum target_xfer_status): ... it. New. All users updated. | |
7185 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
7186 | New. | |
7187 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
7188 | (target_xfer_error_to_string): Remove declaration. | |
7189 | (target_xfer_status_to_string): Declare. | |
7190 | (target_xfer_partial_ftype): Adjust it. | |
7191 | (struct target_ops) <to_xfer_partial>: Return | |
7192 | target_xfer_status. Add argument xfered_len. Update | |
7193 | comments. | |
7194 | * target.c (target_xfer_error_to_string): Rename to ... | |
7195 | (target_xfer_status_to_string): ... it. New. All callers | |
7196 | updated. | |
7197 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
7198 | instead of target_read. | |
7199 | (memory_xfer_live_readonly_partial): Return | |
7200 | target_xfer_status. Add argument xfered_len. | |
7201 | (raw_memory_xfer_partial): Likewise. | |
7202 | (memory_xfer_partial_1): Likewise. | |
7203 | (memory_xfer_partial): Likewise. | |
7204 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
7205 | properly. Update debug message. | |
7206 | (default_xfer_partial, current_xfer_partial): Likewise. | |
7207 | (target_write_partial): Likewise. | |
7208 | (target_read_partial): Likewise. All callers updated. | |
7209 | (read_whatever_is_readable): Likewise. | |
7210 | (target_write_with_progress): Likewise. | |
7211 | (target_read_alloc_1): Likewise. | |
7212 | ||
7213 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
7214 | * auxv.c (procfs_xfer_auxv): Likewise. | |
7215 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
7216 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
7217 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
7218 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
7219 | * corefile.c (read_memory): Adjust. | |
7220 | * corelow.c (core_xfer_partial): Likewise. | |
7221 | * ctf.c (ctf_xfer_partial): Likewise. | |
7222 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
7223 | updated. | |
7224 | (darwin_xfer_partial): Likewise. | |
7225 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
7226 | callers updated. | |
7227 | (exec_xfer_partial): Likewise. | |
7228 | * exec.h (section_table_xfer_memory_partial): Update | |
7229 | declaration. | |
7230 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
7231 | negative. | |
7232 | (gnu_xfer_partial): Likewise. | |
7233 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
7234 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
7235 | (ia64_hpux_xfer_solib_got): Likewise. | |
7236 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
7237 | type of 'partial_len' to ULONGEST. | |
7238 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
7239 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
7240 | (linux_nat_xfer_partial): Likewise. | |
7241 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
7242 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
7243 | * monitor.c (monitor_xfer_memory): Likewise. | |
7244 | (monitor_xfer_partial): Likewise. | |
7245 | * procfs.c (procfs_xfer_partial): Likewise. | |
7246 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
7247 | * record-full.c (record_full_xfer_partial): Likewise. | |
7248 | (record_full_core_xfer_partial): Likewise. | |
7249 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
7250 | (gdbsim_xfer_partial): Likewise. | |
7251 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
7252 | updated. | |
7253 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
7254 | callers updated. | |
7255 | (remote_flash_erase): Likewise. All callers updated. | |
7256 | (remote_write_qxfer): Likewise. All callers updated. | |
7257 | (remote_read_qxfer): Likewise. All callers updated. | |
7258 | (remote_xfer_partial): Likewise. | |
7259 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
7260 | (rs6000_xfer_shared_libraries): Likewise. | |
7261 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
7262 | (sol_thread_xfer_partial): Likewise. | |
7263 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
7264 | (sparc_xfer_partial): Likewise. | |
7265 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
7266 | updated. | |
7267 | (spu_xfer_partial): Likewise. | |
7268 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
7269 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
7270 | * windows-nat.c (windows_xfer_memory): Likewise. | |
7271 | (windows_xfer_shared_libraries): Likewise. | |
7272 | (windows_xfer_partial): Likewise. | |
7273 | * valprint.c: Replace 'target_xfer_error' with | |
7274 | 'target_xfer_status' in comments. | |
7275 | ||
a8e63083 JB |
7276 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
7277 | ||
7278 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
7279 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
7280 | ||
e86b67d3 JB |
7281 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
7282 | ||
7283 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
7284 | function parameters. | |
7285 | ||
4b7d1f7f WN |
7286 | 2014-02-10 Will Newton <will.newton@linaro.org> |
7287 | ||
7288 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
7289 | looking up .got.plt fails. | |
7290 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
7291 | on address passed to elf_gnu_ifunc_record_cache. | |
7292 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
7293 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
7294 | ||
961842b2 JM |
7295 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
7296 | ||
7297 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
7298 | (X_RETTURN): New macro. | |
7299 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
7300 | ||
7301 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
7302 | sparc_in_function_epilogue_p. | |
7303 | ||
3f03e7b1 GB |
7304 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
7305 | ||
7306 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
7307 | Rename name_matcher to symbol_matcher. | |
7308 | ||
96f861ef GB |
7309 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
7310 | ||
7311 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
7312 | Use expand_symtabs_file_matcher_ftype and | |
7313 | expand_symtabs_symbol_matcher_ftype. | |
7314 | ||
ee01b665 JB |
7315 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7316 | ||
7317 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
7318 | (struct ada_symbol_cache): New. | |
7319 | (ada_free_symbol_cache): Forward declare. | |
7320 | (struct ada_pspace_data): New. | |
7321 | (ada_pspace_data_handle): New static global. | |
7322 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
7323 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
7324 | (cache_space, cache): Delete, now folded inside struct | |
7325 | ada_pspace_data. | |
7326 | (ada_get_symbol_cache): New function. | |
7327 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
7328 | implementation. | |
7329 | (_initialize_ada_language): Remove initialization of cache_space. | |
7330 | Move call to observer_attach_inferior_exit up, grouping it | |
7331 | with the other observer registrations inside this function. | |
7332 | Rename command to be more general. Add call to | |
7333 | register_program_space_data_with_cleanup. | |
7334 | ||
143adbbf JB |
7335 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7336 | ||
7337 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
7338 | ada_new_objfile_observer. | |
7339 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
7340 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
7341 | and ada_tasks_normal_stop_observer. | |
7342 | ||
aa4fb036 JB |
7343 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7344 | ||
7345 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
7346 | returned by the 'Length attribute to integer. | |
7347 | ||
9dee8cc6 JB |
7348 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7349 | ||
7350 | * ada-lang.c (_initialize_ada_language): Initialize | |
7351 | cache_space obstack. | |
7352 | ||
3d9434b5 JB |
7353 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7354 | ||
7355 | * ada-lang.c (HASH_SIZE): New macro. | |
7356 | (struct cache_entry): New type. | |
7357 | (cache_space, cache): New static globals. | |
7358 | (ada_clear_symbol_cache, find_entry): New functions. | |
7359 | (lookup_cached_symbol, cache_symbol): Implement. | |
7360 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
7361 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
7362 | and ada_free_objfile_observer. | |
7363 | ||
f0c5f9b2 JB |
7364 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7365 | ||
7366 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
7367 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
7368 | struct block * parameter. | |
7369 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
7370 | Remove cast which is no longer necessary. | |
7371 | ||
ed3ef339 DE |
7372 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
7373 | ||
7374 | Add Guile as an extension language. | |
7375 | * NEWS: Mention Guile scripting. | |
7376 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
7377 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
7378 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
7379 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
7380 | (CLIBS): Add GUILE_LIBS. | |
7381 | (install-guile): New rule. | |
7382 | (guile.o): New rule. | |
7383 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
7384 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
7385 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
7386 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
7387 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
7388 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
7389 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
7390 | * configure.ac: New option --with-guile. | |
7391 | * configure: Regenerate. | |
7392 | * config.in: Regenerate. | |
7393 | * auto-load.c: Remove #include "python/python.h". Add #include | |
7394 | "gdb/section-scripts.h". | |
7395 | (source_section_scripts): Handle Guile scripts. | |
7396 | (_initialize_auto_load): Add name of Guile objfile script to | |
7397 | scripts-directory help text. | |
7398 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
7399 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
7400 | (struct breakpoint): New member scm_bp_object. | |
7401 | * defs.h (enum command_control_type): New value guile_control. | |
7402 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
7403 | "extension.h". | |
7404 | (show_user): Update comment. | |
7405 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
7406 | text for max-user-call-depth. | |
7407 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
7408 | "extension.h". | |
7409 | (multi_line_command_p): Add guile_control. | |
7410 | (print_command_lines): Handle guile_control. | |
7411 | (execute_control_command, recurse_read_control_structure): Ditto. | |
7412 | (process_next_line): Recognize "guile" commands. | |
7413 | * disasm.c (gdb_disassemble_info): Make non-static. | |
7414 | * disasm.h: #include "dis-asm.h". | |
7415 | (struct gdbarch): Add forward decl. | |
7416 | (gdb_disassemble_info): Declare. | |
7417 | * extension.c: #include "guile/guile.h". | |
7418 | (extension_languages): Add guile. | |
7419 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
7420 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
7421 | * gdbtypes.c (get_unsigned_type_max): New function. | |
7422 | (get_signed_type_minmax): New function. | |
7423 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
7424 | (get_signed_type_minmax): Declare. | |
7425 | * guile/README: New file. | |
7426 | * guile/guile-internal.h: New file. | |
7427 | * guile/guile.c: New file. | |
7428 | * guile/guile.h: New file. | |
7429 | * guile/scm-arch.c: New file. | |
7430 | * guile/scm-auto-load.c: New file. | |
7431 | * guile/scm-block.c: New file. | |
7432 | * guile/scm-breakpoint.c: New file. | |
7433 | * guile/scm-disasm.c: New file. | |
7434 | * guile/scm-exception.c: New file. | |
7435 | * guile/scm-frame.c: New file. | |
7436 | * guile/scm-gsmob.c: New file. | |
7437 | * guile/scm-iterator.c: New file. | |
7438 | * guile/scm-lazy-string.c: New file. | |
7439 | * guile/scm-math.c: New file. | |
7440 | * guile/scm-objfile.c: New file. | |
7441 | * guile/scm-ports.c: New file. | |
7442 | * guile/scm-pretty-print.c: New file. | |
7443 | * guile/scm-safe-call.c: New file. | |
7444 | * guile/scm-string.c: New file. | |
7445 | * guile/scm-symbol.c: New file. | |
7446 | * guile/scm-symtab.c: New file. | |
7447 | * guile/scm-type.c: New file. | |
7448 | * guile/scm-utils.c: New file. | |
7449 | * guile/scm-value.c: New file. | |
7450 | * guile/lib/gdb.scm: New file. | |
7451 | * guile/lib/gdb/boot.scm: New file. | |
7452 | * guile/lib/gdb/experimental.scm: New file. | |
7453 | * guile/lib/gdb/init.scm: New file. | |
7454 | * guile/lib/gdb/iterator.scm: New file. | |
7455 | * guile/lib/gdb/printing.scm: New file. | |
7456 | * guile/lib/gdb/types.scm: New file. | |
7457 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
7458 | (VPATH): Add $(GUILE_SRCDIR). | |
7459 | (GUILE_DIR): New variable. | |
7460 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
7461 | (all): Add stamp-guile dependency. | |
7462 | (stamp-guile): New rule. | |
7463 | (clean-guile, install-guile, uninstall-guile): New rules. | |
7464 | (install-only): Add install-guile dependency. | |
7465 | (uninstall): Add uninstall-guile dependency. | |
7466 | (clean): Add clean-guile dependency. | |
7467 | ||
ac020ec5 DE |
7468 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
7469 | ||
7470 | Revert this patch (which I approved, mea culpa). | |
7471 | ||
7472 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
7473 | ||
7474 | * Makefile.in (all-lib): Remove. | |
7475 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
7476 | ||
2a081c59 JK |
7477 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
7478 | ||
7479 | Fix Python stack corruption. | |
7480 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
7481 | gdb_py_longest. | |
7482 | ||
0a6bd22d MK |
7483 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
7484 | ||
7485 | * Makefile.in (all-lib): Remove. | |
7486 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
7487 | ||
1a860409 DE |
7488 | 2014-02-07 Doug Evans <dje@google.com> |
7489 | ||
7490 | * extension-priv.h (extension_language_script_ops): Add comment. | |
7491 | (extension_language_ops): Add comment. | |
caf5a491 | 7492 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 7493 | |
d137e6dc PA |
7494 | 2014-02-07 Pedro Alves <palves@redhat.com> |
7495 | ||
0dcb32c3 | 7496 | PR breakpoints/16292 |
d137e6dc PA |
7497 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
7498 | over a breakpoint>: Switch back to the stepping thread. | |
7499 | ||
ce6d0892 YQ |
7500 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
7501 | ||
7502 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
7503 | ||
2ed4b548 YQ |
7504 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
7505 | ||
7506 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
7507 | (ld_so_xfer_auxv): Likewise. | |
7508 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
7509 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
7510 | * corelow.c (core_xfer_partial): Likewise. | |
7511 | * ctf.c (ctf_xfer_partial): Likewise. | |
7512 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
7513 | (darwin_xfer_partial): Likewise. | |
7514 | * exec.c (exec_xfer_partial): Likewise. | |
7515 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
7516 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
7517 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
7518 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
7519 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
7520 | (linux_proc_xfer_spu): Likewise. | |
7521 | * procfs.c (procfs_xfer_partial): Likewise. | |
7522 | * record-full.c (record_full_xfer_partial): Likewise. | |
7523 | (record_full_core_xfer_partial): Likewise. | |
7524 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
7525 | * remote.c (remote_write_qxfer): Likewise. | |
7526 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
7527 | (remote_xfer_partial): Likewise. | |
7528 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
7529 | (rs6000_xfer_shared_libraries): Likewise. | |
7530 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
7531 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
7532 | (spu_xfer_partial): Likewise. | |
7533 | * target.c (memory_xfer_partial_1): Likewise. | |
7534 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
7535 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
7536 | (windows_xfer_partial): Likewise. | |
7537 | ||
c09f20e4 YQ |
7538 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
7539 | ||
7540 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
7541 | comments. | |
7542 | (core_xfer_shared_libraries_aix): Likewise. | |
7543 | * gdbarch.c, gdbarch.h: Regenerated. | |
7544 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
7545 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
7546 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
7547 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
7548 | declaration. | |
7549 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
7550 | ||
8635b3bf YQ |
7551 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
7552 | ||
7553 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
7554 | 'exception' to throw_error. | |
7555 | ||
6dddc817 DE |
7556 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
7557 | ||
7558 | * configure.ac (libpython checking): Remove all but python.o from | |
7559 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
7560 | * configure: Regenerate. | |
7561 | ||
7562 | * Makefile.in (SFILES): Add extension.c. | |
7563 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
7564 | (COMMON_OBS): Add extension.o. | |
7565 | * extension.h: New file. | |
7566 | * extension-priv.h: New file. | |
7567 | * extension.c: New file. | |
7568 | ||
7569 | * python/python-internal.h: #include "extension.h". | |
7570 | (gdbpy_auto_load_enabled): Declare. | |
7571 | (gdbpy_apply_val_pretty_printer): Declare. | |
7572 | (gdbpy_apply_frame_filter): Declare. | |
7573 | (gdbpy_preserve_values): Declare. | |
7574 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
7575 | (gdbpy_breakpoint_has_cond): Declare. | |
7576 | (void source_python_script_for_objfile): Delete. | |
7577 | * python/python.c: #include "extension-priv.h". | |
7578 | Delete inclusion of "observer.h". | |
7579 | (extension_language_python): Moved here and renamed from | |
7580 | script_language_python in py-auto-load.c. | |
7581 | Redefined to be of type extension_language_defn. | |
7582 | (python_extension_script_ops): New global. | |
7583 | (python_extension_ops): New global. | |
7584 | (struct python_env): New member previous_active. | |
7585 | (restore_python_env): Call restore_active_ext_lang. | |
7586 | (ensure_python_env): Call set_active_ext_lang. | |
7587 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
7588 | New arg extlang. | |
7589 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
7590 | New arg extlang. | |
7591 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
7592 | New arg extlang. | |
7593 | (gdbpy_eval_from_control_command): Renamed from | |
7594 | eval_python_from_control_command, made static. New arg extlang. | |
7595 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
7596 | New arg extlang. | |
7597 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
7598 | result to int. New arg extlang. | |
7599 | (gdbpy_source_objfile_script): Renamed from | |
7600 | source_python_script_for_objfile, made static. New arg extlang. | |
7601 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
7602 | static. New args extlang, extlang_printers. Change result type to | |
7603 | "void". | |
7604 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
7605 | static. New arg extlang. Rename arg printers to extlang_printers | |
7606 | and change type to ext_lang_type_printers *. | |
7607 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
7608 | static. Replace argument arg with extlang, extlang_printers. | |
7609 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
7610 | (!HAVE_PYTHON, source_python_script): Delete. | |
7611 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
7612 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
7613 | (!HAVE_PYTHON, start_type_printers): Delete. | |
7614 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
7615 | (!HAVE_PYTHON, free_type_printers): Delete. | |
7616 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
7617 | (finalize_python): Set/restore active extension language. | |
7618 | (gdbpy_finish_initialization) Renamed from | |
7619 | finish_python_initialization, made static. New arg extlang. | |
7620 | (gdbpy_initialized): New function. | |
7621 | * python/python.h: #include "extension.h". Delete #include | |
7622 | "value.h", "mi/mi-cmds.h". | |
7623 | (extension_language_python): Declare. | |
7624 | (GDBPY_AUTO_FILE_NAME): Delete. | |
7625 | (enum py_bt_status): Moved to extension.h and renamed to | |
7626 | ext_lang_bt_status. | |
7627 | (enum frame_filter_flags): Moved to extension.h. | |
7628 | (enum py_frame_args): Moved to extension.h and renamed to | |
7629 | ext_lang_frame_args. | |
7630 | (finish_python_initialization): Delete. | |
7631 | (eval_python_from_control_command): Delete. | |
7632 | (source_python_script): Delete. | |
7633 | (apply_val_pretty_printer): Delete. | |
7634 | (apply_frame_filter): Delete. | |
7635 | (preserve_python_values): Delete. | |
7636 | (gdbpy_script_language_defn): Delete. | |
7637 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
7638 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
7639 | ||
7640 | * auto-load.c: #include "extension.h". | |
7641 | (GDB_AUTO_FILE_NAME): Delete. | |
7642 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
7643 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
7644 | extension_language_gdb. | |
7645 | (source_gdb_script_for_objfile): Delete. | |
7646 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
7647 | (loaded_script): Change type of language member to | |
7648 | struct extension_language_defn *. | |
7649 | (init_loaded_scripts_info): Initialize | |
7650 | unsupported_script_warning_printed. | |
7651 | (maybe_add_script): Make static. Change type of language arg to | |
7652 | struct extension_language_defn *. | |
7653 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
7654 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
7655 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
7656 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
7657 | (source_section_scripts): Rewrite to use extension language API. | |
7658 | (load_auto_scripts_for_objfile): Rewrite to use | |
7659 | auto_load_scripts_for_objfile. | |
7660 | (collect_matching_scripts_data): Change type of language member to | |
7661 | struct extension_language_defn *. | |
7662 | (auto_load_info_scripts): Change type of language arg to | |
7663 | struct extension_language_defn *. | |
7664 | (unsupported_script_warning_print): New function. | |
7665 | (script_not_found_warning_print): Make static. | |
7666 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
7667 | help. | |
7668 | * auto-load.h (struct objfile): Add forward decl. | |
7669 | (struct script_language): Delete. | |
7670 | (struct auto_load_pspace_info): Add forward decl. | |
7671 | (struct extension_language_defn): Add forward decl. | |
7672 | (maybe_add_script): Delete. | |
7673 | (auto_load_objfile_script): Declare. | |
7674 | (script_not_found_warning_print): Delete. | |
7675 | (auto_load_info_scripts): Update prototype. | |
7676 | (auto_load_gdb_scripts_enabled): Declare. | |
7677 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
7678 | auto_load_python_scripts_enabled and made public. | |
7679 | (script_language_python): Delete, moved to python.c. | |
7680 | (gdbpy_script_language_defn): Delete. | |
7681 | (info_auto_load_python_scripts): Update to use | |
7682 | extension_language_python. | |
7683 | ||
7684 | * breakpoint.c (condition_command): Replace call to | |
7685 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
7686 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
7687 | with call to breakpoint_ext_lang_cond_says_stop. | |
7688 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
7689 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
7690 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
7691 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
7692 | New arg slang. | |
7693 | (local_setattro): Print name of extension language with existing | |
7694 | stop condition. | |
7695 | ||
7696 | * valprint.c (val_print, value_print): Update to call | |
7697 | apply_ext_lang_val_pretty_printer. | |
7698 | * cp-valprint.c (cp_print_value): Update call to | |
7699 | apply_ext_lang_val_pretty_printer. | |
7700 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
7701 | (gdbpy_apply_val_pretty_printer): Renamed from | |
7702 | apply_val_pretty_printer. New arg extlang. | |
7703 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
7704 | ||
7705 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
7706 | extension language API. | |
7707 | * cli/cli-script.c (execute_control_command): Update to call | |
7708 | eval_ext_lang_from_control_command. | |
7709 | ||
7710 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
7711 | enum ext_lang_bt_status values. Update call to | |
7712 | apply_ext_lang_frame_filter. | |
7713 | (mi_cmd_stack_list_locals): Ditto. | |
7714 | (mi_cmd_stack_list_args): Ditto. | |
7715 | (mi_cmd_stack_list_variables): Ditto. | |
7716 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
7717 | Add #include "extension.h". | |
7718 | (mi_cmd_list_features): Replace reference to python internal variable | |
7719 | gdb_python_initialized with call to ext_lang_initialized_p. | |
7720 | ||
7721 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
7722 | Update to use enum ext_lang_frame_args. Update to call | |
7723 | apply_ext_lang_frame_filter. | |
7724 | * python/py-framefilter.c (extract_sym): Update to use enum | |
7725 | ext_lang_bt_status. | |
7726 | (extract_value, py_print_type, py_print_value): Ditto. | |
7727 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
7728 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
7729 | (py_print_frame): Ditto. | |
7730 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
7731 | New arg extlang. Update to use enum ext_lang_bt_status. | |
7732 | ||
7733 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
7734 | finish_python_initialization. Replace with call to | |
7735 | finish_ext_lang_initialization. | |
7736 | ||
7737 | * typeprint.c (do_free_global_table): Update to call | |
7738 | free_ext_lang_type_printers. | |
7739 | (create_global_typedef_table): Update to call | |
7740 | start_ext_lang_type_printers. | |
7741 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
7742 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
7743 | (type_print_options): Change type of global_printers from "void *" | |
7744 | to "struct ext_lang_type_printers *". | |
7745 | ||
7746 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
7747 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
7748 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
7749 | New arg extlang. | |
7750 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
7751 | ||
7752 | * utils.c (quit_flag): Delete, moved to extension.c. | |
7753 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
7754 | extension.c. | |
7755 | ||
7756 | * eval.c: Delete #include "python/python.h". | |
7757 | * main.c: Delete #include "python/python.h". | |
7758 | ||
7759 | * defs.h: Update comment. | |
7760 | ||
6af79985 JB |
7761 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
7762 | ||
7763 | GDB 7.7 released. | |
7764 | ||
12c5175d MK |
7765 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
7766 | ||
7767 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
7768 | defined. | |
7769 | ||
8dc5b319 YQ |
7770 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
7771 | ||
7772 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
7773 | rs->buf. | |
7774 | (remote_program_signals): Likewise. | |
7775 | ||
de7b2893 YQ |
7776 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
7777 | ||
7778 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
7779 | (CTF_PID): A new macro. | |
7780 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
7781 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
7782 | (ctf_thread_alive): New function. | |
7783 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
7784 | ||
66d032ac YQ |
7785 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
7786 | ||
7787 | Revert this patch: | |
7788 | ||
7789 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
7790 | ||
7791 | * tracepoint.c (TFILE_PID): Remove. | |
7792 | (tfile_open): Don't add thread and inferior. | |
7793 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
7794 | exit_inferior_silent. | |
7795 | (tfile_thread_alive): Remove. | |
7796 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
7797 | tfile_ops. | |
7798 | ||
f4ccffad CE |
7799 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
7800 | ||
7801 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
7802 | if only symbol-file (not file) has been given. | |
7803 | ||
591a12a1 UW |
7804 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7805 | ||
7806 | * gdbarch.sh (skip_entrypoint): New callback. | |
7807 | * gdbarch.c, gdbarch.h: Regenerate. | |
7808 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
7809 | * infrun.c (fill_in_stop_func): Likewise. | |
7810 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
7811 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
7812 | (ppc_elfv2_skip_entrypoint): Likewise. | |
7813 | (ppc_linux_init_abi): Install them for ELFv2. | |
7814 | ||
cc0e89c5 UW |
7815 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7816 | ||
7817 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
7818 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
7819 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
7820 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
7821 | structures returned in GPRs. | |
7822 | ||
52f548e4 UW |
7823 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7824 | ||
7825 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
7826 | offset to the stack parameter list for the ELFv2 ABI. | |
7827 | ||
d4094b6a UW |
7828 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7829 | ||
7830 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
7831 | set_gdbarch_convert_from_func_ptr_addr and | |
7832 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
7833 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
7834 | function descriptors on ELFv1. | |
7835 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
7836 | set up r12 at function entry. | |
7837 | ||
cd453cd0 UW |
7838 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7839 | ||
7840 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
7841 | (struct gdbarch_tdep): New member elf_abi. | |
7842 | ||
7843 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
7844 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
7845 | ||
0ff3e01f UW |
7846 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7847 | ||
7848 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
7849 | within a register pair holding a DFP 128-bit value on little-endian. | |
7850 | (ppc64_sysv_abi_return_value_base): Likewise. | |
7851 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
7852 | (dfp_pseudo_register_write): Likewise. | |
7853 | ||
5b757e5d UW |
7854 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7855 | ||
7856 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
7857 | offset on little-endian when passing _Decimal32. | |
7858 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
7859 | ||
084ee545 UW |
7860 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7861 | ||
7862 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
7863 | of the overlapped FP register within the VSX register on little- | |
7864 | endian platforms. | |
7865 | (efpr_pseudo_register_write): Likewise. | |
7866 | ||
d63167af UW |
7867 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7868 | ||
7869 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
7870 | offset on little-endian when passing small structures. | |
7871 | ||
e765b44c UW |
7872 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7873 | ||
7874 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
7875 | (struct ppc64_sysv_argpos): New data structure. | |
7876 | (ppc64_sysv_abi_push_float): Remove. | |
7877 | (ppc64_sysv_abi_push_val): New function. | |
7878 | (ppc64_sysv_abi_push_integer): Likewise. | |
7879 | (ppc64_sysv_abi_push_freg): Likewise. | |
7880 | (ppc64_sysv_abi_push_vreg): Likewise. | |
7881 | (ppc64_sysv_abi_push_param): Likewise. | |
7882 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
7883 | (ppc64_sysv_abi_return_value_base): New function. | |
7884 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
7885 | ||
36c24d95 UW |
7886 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
7887 | ||
7888 | * NEWS: Document new target powerpc64le-*-linux*. | |
7889 | ||
26fd9228 MK |
7890 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
7891 | ||
7892 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
7893 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
7894 | core dumps. | |
7895 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
7896 | register set used in ELF core dumps. Add floating-point register set. | |
7897 | ||
c5bb7362 KB |
7898 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
7899 | ||
7900 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite | |
7901 | dwarf2_to_gdb[] table using symbolic constants. Adjust | |
7902 | penultimate entry from number representing the PC register | |
7903 | to symbolic constant representing the MDR register. Add | |
7904 | constant for the PC register to the end of the table. | |
7905 | ||
af09351e MK |
7906 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
7907 | ||
7908 | * bsd-kvm.c: Include <sys/param.h> | |
7909 | ||
8507e05d MK |
7910 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
7911 | ||
7912 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
7913 | ||
ae56bfb8 JB |
7914 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
7915 | ||
7916 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
7917 | ||
718ee4dc UW |
7918 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
7919 | ||
7920 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
7921 | ||
401e27fd JM |
7922 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
7923 | ||
7924 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
7925 | the sigreturn register save area only if the syscall is | |
7926 | sigreturn. | |
7927 | ||
a7c88acd JB |
7928 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
7929 | ||
7930 | * valops.c (value_slice): Minor reformatting. | |
7931 | ||
fa0079ea UW |
7932 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
7933 | ||
7934 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
7935 | ||
c6044dd1 JB |
7936 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
7937 | ||
7938 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
7939 | New static globals. | |
7940 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
7941 | (ada_ignore_descriptive_types_p): New static global. | |
7942 | (find_parallel_type_by_descriptive_type): Return immediately | |
7943 | if ada_ignore_descriptive_types_p is set. | |
7944 | (_initialize_ada_language): Register new commands "maintenance | |
7945 | set ada", "maintenance show ada", "maintenance set ada | |
7946 | ignore-descriptive-types" and "maintenance show ada | |
7947 | ignore-descriptive-types". | |
7948 | * NEWS: Add entry for new "maint ada set/show | |
7949 | ignore-descriptive-types" commands. | |
7950 | ||
568e808b MM |
7951 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
7952 | ||
7953 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
7954 | for all threads. | |
7955 | ||
467d141b JB |
7956 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
7957 | ||
7958 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
7959 | "ui-out.h". | |
7960 | ||
fb151210 JB |
7961 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
7962 | ||
7963 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
7964 | New function. | |
7965 | (print_range): Add parameter bounds_prefered_p. If not set, | |
7966 | try printing range types using the name of their base type. | |
7967 | (print_range_type): Add parameter bounds_prefered_p. | |
7968 | Use it in call to print_range. | |
7969 | (print_array_type, ada_print_type): Update calls to print_range | |
7970 | and print_range_type. | |
7971 | ||
aba02109 JB |
7972 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
7973 | ||
7974 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
7975 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
7976 | Remove declaration. | |
7977 | ||
e62e21fd JB |
7978 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
7979 | ||
7980 | * ada-typeprint.c (print_range): Add missing empty line | |
7981 | after local declaration. | |
7982 | ||
859cf5d1 JB |
7983 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
7984 | ||
7985 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
7986 | target type for as long as it is a TYPE_CODE_RANGE. | |
7987 | ||
25790f6f JB |
7988 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
7989 | ||
7990 | * procfs.c (procfs_make_note_section): Remove assertion and | |
7991 | associated comment. | |
7992 | ||
6b6aa828 YQ |
7993 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
7994 | ||
7995 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
7996 | * corelow.c (get_core_siginfo): Likewise. | |
7997 | ||
5d6df423 YQ |
7998 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
7999 | ||
8000 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
8001 | ULONGEST. Don't check 'len' is negative. | |
8002 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
8003 | ||
83b645b8 TT |
8004 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
8005 | ||
8006 | PR python/16485: | |
8007 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
8008 | Handle exception from frame.block. | |
8009 | (FrameVars.fetch_frame_locals): Likewise. | |
8010 | ||
0740f8d8 TT |
8011 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
8012 | ||
8013 | PR python/16487: | |
8014 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
8015 | on a NULL pointer. Move "goto error" to correct place. | |
8016 | ||
21909fa1 TT |
8017 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
8018 | ||
8019 | PR python/16491: | |
8020 | * python/py-framefilter.c (apply_frame_filter): Call | |
8021 | ensure_python_env after computing gdbarch. | |
8022 | ||
17fde6d0 YQ |
8023 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
8024 | ||
8025 | * target.c (raw_memory_xfer_partial): Change argument type | |
8026 | from void * to gdb_byte *. | |
8027 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
8028 | ||
87ce2a04 DE |
8029 | 2014-01-22 Doug Evans <dje@google.com> |
8030 | ||
8031 | New gdbserver option --debug-format=timestamp. | |
8032 | * NEWS: Mention it. | |
8033 | ||
237b092b AA |
8034 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
8035 | ||
8036 | * syscalls/s390x-linux.xml: New file. | |
8037 | * syscalls/s390-linux.xml: New file. | |
8038 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
8039 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
8040 | (op_svc): New enum value for SVC opcode. | |
8041 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
8042 | (s390_linux_get_syscall_number): New function. | |
8043 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
8044 | syscall xml file name. | |
8045 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
8046 | "s390-linux.xml" and "s390x-linux.xml". | |
8047 | * NEWS: Announce new feature. | |
8048 | ||
54bff650 BS |
8049 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
8050 | ||
8051 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
8052 | ||
14e361d7 PA |
8053 | 2014-01-22 Pedro Alves <palves@redhat.com> |
8054 | ||
8055 | * xtensa-config.c: Include defs.h. | |
8056 | ||
46bbb3ed JB |
8057 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
8058 | ||
8059 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
8060 | reference. | |
8061 | ||
3a80edfc JB |
8062 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
8063 | ||
8064 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
8065 | documentation a bit. | |
8066 | ||
4869db5e RM |
8067 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
8068 | ||
8069 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
8070 | * configure: Regenerate. | |
8071 | * aclocal.m4: Regenerate. | |
8072 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
8073 | New substituted variables. | |
8074 | (install-strip): New target. | |
8075 | (INSTALL_SCRIPT): New substituted variable. | |
8076 | (FLAGS_TO_PASS): Add it. | |
8077 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
8078 | $(INSTALL_PROGRAM) for gcore. | |
8079 | ||
9ea4267d TT |
8080 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
8081 | ||
8082 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
8083 | together. | |
8084 | ||
1f2bdf09 TT |
8085 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
8086 | ||
8087 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
8088 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
8089 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
8090 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
8091 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
8092 | (struct cmd_list_element) <flags>: Remove. | |
8093 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
8094 | doc_allocated>: New fields. | |
8095 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
8096 | bitfields. | |
8097 | * maint.c (maintenance_do_deprecate): Update. | |
8098 | * top.c (execute_command): Update. | |
8099 | ||
e671835b BS |
8100 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
8101 | ||
8102 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
8103 | ||
50367cd2 IB |
8104 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8105 | ||
8106 | * Makefile.in (SFILES): Add d-support.c. | |
8107 | (COMMON_OBS): Add d-support.o. | |
8108 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
8109 | d-support.c. | |
8110 | * d-lang.c (parse_call_convention) | |
8111 | (parse_attributes, parse_function_types) | |
8112 | (parse_function_args, parse_type, parse_identifier) | |
8113 | (call_convention_p, d_parse_symbol): Move functions to ... | |
8114 | * d-support.c: ... New file. | |
8115 | ||
ec9f644a IB |
8116 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8117 | ||
8118 | * d-lang.h (d_parse_symbol): Add declaration. | |
8119 | * d-lang.c (extract_identifiers) | |
8120 | (extract_type_info): Remove functions. | |
8121 | (parse_call_convention, parse_attributes) | |
8122 | (parse_function_types, parse_function_args) | |
8123 | (parse_type, parse_identifier, call_convention_p) | |
8124 | (d_parse_symbol): New functions. | |
8125 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
8126 | ||
94b1b47e IB |
8127 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8128 | ||
8129 | * d-lang.h (struct builtin_d_type): New data type. | |
8130 | (builtin_d_type): Add declaration. | |
8131 | * d-lang.c (d_language_arch_info, build_d_types) | |
8132 | (builtin_d_type): New functions. | |
8133 | (enum d_primitive_types): New data type. | |
8134 | (d_language_defn): Change c_language_arch_info to | |
8135 | d_language_arch_info. | |
8136 | (d_type_data): New static variable. | |
8137 | (_initialize_d_language): Initialize d_type_data. | |
8138 | ||
63778547 IB |
8139 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8140 | ||
8141 | * d-lang.h (d_main_name): Add declaration. | |
8142 | * d-lang.c (d_main_name): New function. | |
8143 | * symtab.c (find_main_name): Add call to d_main_name. | |
8144 | ||
3271ba66 IB |
8145 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8146 | ||
8147 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
8148 | macro_expansion_no. | |
8149 | ||
d36b3012 IB |
8150 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8151 | ||
8152 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
8153 | ||
c90a6fb7 SDJ |
8154 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
8155 | ||
8156 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
8157 | gdb_exception" declaration. | |
8158 | * remote.c (getpkt_or_notif_sane): Likewise. | |
8159 | ||
749234e5 DE |
8160 | 2014-01-17 Doug Evans <dje@google.com> |
8161 | ||
8162 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
8163 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
8164 | (delim_string_to_char_ptr_vec): New function. | |
8165 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
8166 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
8167 | ||
df049a58 DE |
8168 | 2014-01-17 Doug Evans <dje@google.com> |
8169 | ||
8170 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
8171 | and moved here ... | |
8172 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
8173 | #include "common-utils.h". | |
8174 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
8175 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
8176 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
8177 | (MACH_CHECK_ERROR): Update. | |
8178 | ||
69f97648 SM |
8179 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
8180 | ||
8181 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
8182 | comments. | |
8183 | * gdbarch.h: Regenerate. | |
8184 | ||
98b1cfdc TT |
8185 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
8186 | ||
8187 | * value.c (struct value) <regnum>: Move earlier. | |
8188 | ||
77a19445 TT |
8189 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
8190 | ||
8191 | * remote.c (extended_remote_create_inferior): Rename from | |
8192 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
8193 | old implementation. | |
8194 | ||
62261490 PA |
8195 | 2014-01-16 Pedro Alves <palves@redhat.com> |
8196 | ||
8197 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
8198 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
8199 | the backchain. | |
8200 | ||
4d65956b DE |
8201 | 2014-01-16 Doug Evans <dje@google.com> |
8202 | ||
8203 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
8204 | ||
52834460 MM |
8205 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8206 | ||
8207 | * btrace.h (btrace_thread_flag): New. | |
8208 | (struct btrace_thread_info) <flags>: New. | |
8209 | * record-btrace.c (record_btrace_resume_thread) | |
8210 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
8211 | (btrace_step_stopped, record_btrace_start_replaying) | |
8212 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
8213 | (record_btrace_find_resume_thread): New. | |
8214 | (record_btrace_resume, record_btrace_wait): Extend. | |
8215 | (record_btrace_can_execute_reverse): New. | |
8216 | (record_btrace_open): Fail in non-stop mode. | |
8217 | (record_btrace_set_replay): Split into this, ... | |
8218 | (record_btrace_stop_replaying): ... this, ... | |
8219 | (record_btrace_clear_histories): ... and this. | |
8220 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
8221 | * NEWS: Announce it. | |
8222 | ||
118e6252 MM |
8223 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8224 | ||
8225 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
8226 | (forward_target_decr_pc_after_break) | |
8227 | (target_decr_pc_after_break): New. | |
8228 | * target.c (forward_target_decr_pc_after_break) | |
8229 | (target_decr_pc_after_break): New. | |
8230 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
8231 | instead of gdbarch_decr_pc_after_break. | |
8232 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
8233 | instead of gdbarch_decr_pc_after_break. | |
8234 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
8235 | instead of gdbarch_decr_pc_after_break. | |
8236 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
8237 | instead of gdbarch_decr_pc_after_break. | |
8238 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
8239 | instead of gdbarch_decr_pc_after_break. | |
8240 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
8241 | instead of gdbarch_decr_pc_after_break. | |
8242 | ||
6e07b1d2 MM |
8243 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8244 | ||
8245 | * btrace.c: Include regcache.h. | |
8246 | (btrace_add_pc): New. | |
8247 | (btrace_enable): Call btrace_add_pc. | |
8248 | (btrace_is_empty): New. | |
8249 | * btrace.h (btrace_is_empty): New. | |
8250 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
8251 | btrace_is_empty. | |
8252 | ||
969c39fb MM |
8253 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8254 | ||
8255 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
8256 | Support delta reads. | |
8257 | (linux_disable_btrace): Change return type. | |
8258 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
8259 | and return type to allow error reporting. Update users. | |
8260 | (linux_disable_btrace): Change return type. Update users. | |
8261 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
8262 | New. | |
8263 | (btrace_error): New. | |
8264 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
8265 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
8266 | the current trace. | |
8267 | (btrace_stitch_trace, btrace_clear_history): New. | |
8268 | (btrace_fetch): Read delta trace, return if replaying. | |
8269 | (btrace_clear): Move clear history code to btrace_clear_history. | |
8270 | (parse_xml_btrace): Throw an error if parsing failed. | |
8271 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
8272 | and return type to allow error reporting. | |
8273 | (target_read_btrace): Change parameters and return type to allow | |
8274 | error reporting. | |
8275 | * target.c (target_read_btrace): Update. | |
8276 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
8277 | errors on. | |
8278 | * NEWS: Announce it. | |
8279 | ||
0b722aec MM |
8280 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8281 | ||
8282 | * record.h (record_btrace_frame_unwind) | |
8283 | (record_btrace_tailcall_frame_unwind): New declarations. | |
8284 | * dwarf2-frame: Include record.h | |
8285 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
8286 | * record-btrace.c: Include hashtab.h. | |
8287 | (btrace_get_bfun_name): New. | |
8288 | (btrace_call_history): Call btrace_get_bfun_name. | |
8289 | (struct btrace_frame_cache): New. | |
8290 | (bfcache): New. | |
8291 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
8292 | (btrace_get_frame_function): New. | |
8293 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
8294 | (record_btrace_frame_this_id): Compute own id. | |
8295 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
8296 | for all other registers. | |
8297 | (record_btrace_frame_sniffer): Detect btrace frames. | |
8298 | (record_btrace_tailcall_frame_sniffer): New. | |
8299 | (record_btrace_frame_dealloc_cache): New. | |
8300 | (record_btrace_frame_unwind): Add new functions. | |
8301 | (record_btrace_tailcall_frame_unwind): New. | |
8302 | (_initialize_record_btrace): Allocate cache. | |
8303 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
8304 | * NEWS: Announce it. | |
8305 | ||
066ce621 MM |
8306 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8307 | ||
8308 | * record-btrace.c (record_btrace_set_replay) | |
8309 | (record_btrace_goto_begin, record_btrace_goto_end) | |
8310 | (record_btrace_goto): New. | |
8311 | (init_record_btrace_ops): Initialize them. | |
8312 | * NEWS: Announce it. | |
8313 | ||
e2887aa3 MM |
8314 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8315 | ||
8316 | * record-btrace.c (record_btrace_find_new_threads) | |
8317 | (record_btrace_thread_alive): New. | |
8318 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
8319 | to_thread_alive. | |
8320 | ||
b2f4cfde MM |
8321 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8322 | ||
8323 | * record-btrace.c (record_btrace_resume): New. | |
8324 | (record_btrace_wait): New. | |
8325 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
8326 | ||
633785ff MM |
8327 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8328 | ||
8329 | * record-btrace.c (record_btrace_xfer_partial) | |
8330 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
8331 | (record_btrace_allow_memory_access): New. | |
8332 | (init_record_btrace_ops): Initialize new methods. | |
8333 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
8334 | that this memory is not available. | |
8335 | ||
3db08215 MM |
8336 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8337 | ||
8338 | * target.h (target_ops) <to_insert_breakpoint> | |
8339 | <to_remove_breakpoint>: Add target_ops parameter. | |
8340 | (forward_target_insert_breakpoint): New. | |
8341 | (forward_target_remove_breakpoint): New. | |
8342 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
8343 | Add target_ops parameter. | |
8344 | * target.c (target_insert_breakpoint): Split into this and ... | |
8345 | (forward_target_insert_breakpoint): ... this. | |
8346 | (target_remove_breakpoint): Split into this and ... | |
8347 | (forward_target_remove_breakpoint): ... this. | |
8348 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
8349 | Call forward_target_insert_breakpoint. | |
8350 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
8351 | Call forward_target_remove_breakpoint. | |
8352 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
8353 | and to_remove_breakpoint. | |
8354 | * corelow.c (ignore): Add target_ops parameter. | |
8355 | * exec.c (ignore): Add target_ops parameter. | |
8356 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
8357 | Add target_ops parameter. | |
8358 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
8359 | Add target_ops parameter. | |
8360 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
8361 | Add target_ops parameter. | |
8362 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
8363 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
8364 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
8365 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
8366 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
8367 | Update users. | |
8368 | (record_full_beneath_to_insert_breakpoint_ops) | |
8369 | (record_full_beneath_to_remove_breakpoint_ops) | |
8370 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
8371 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
8372 | tmp_to_remove_breakpoint_ops, | |
8373 | record_full_beneath_to_insert_breakpoint_ops, and | |
8374 | record_full_beneath_to_remove_breakpoint_ops. | |
8375 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
8376 | (m32r_remove_breakpoint): Add target_ops parameter. | |
8377 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
8378 | Add target_ops parameter. | |
8379 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
8380 | Add target_ops parameter. | |
8381 | ||
cecac1ab MM |
8382 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
8383 | Markus Metzger <markus.t.metzger@intel.com> | |
8384 | ||
8385 | * record-btrace.c: Include frame-unwind.h. | |
8386 | (record_btrace_frame_unwind_stop_reason) | |
8387 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
8388 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
8389 | New. | |
8390 | (init_record_btrace_ops): Install it. | |
8391 | ||
824344ca MM |
8392 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
8393 | ||
8394 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
8395 | get_prev_frame_1. | |
8396 | ||
32261e52 MM |
8397 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
8398 | ||
8399 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
8400 | earlier. | |
8401 | ||
ea001bdc MM |
8402 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
8403 | ||
8404 | * frame-unwind.c: Include target.h. | |
8405 | (frame_unwind_try_unwinder): New function with code from ... | |
8406 | (frame_unwind_find_by_frame): ... here. New variable | |
8407 | unwinder_from_target, call also target_get_unwinder) | |
8408 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
8409 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
8410 | * target.h (struct target_ops): New fields to_get_unwinder and | |
8411 | to_get_tailcall_unwinder. | |
8412 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
8413 | ||
1f3ef581 MM |
8414 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8415 | ||
8416 | * record-btrace.c (record_btrace_fetch_registers) | |
8417 | (record_btrace_store_registers) | |
8418 | (record_btrace_to_prepare_to_store): New. | |
8419 | (init_record_btrace_ops): Add the above. | |
8420 | ||
f32dbf8c MM |
8421 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
8422 | ||
8423 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
8424 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
8425 | argument. | |
8426 | (target_prepare_to_store): Add argument. | |
8427 | * target.c (debug_to_prepare_to_store): Add argument. | |
8428 | (update_current_target): Update. | |
8429 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
8430 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
8431 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
8432 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
8433 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
8434 | argument. | |
8435 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
8436 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
8437 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
8438 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
8439 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
8440 | ||
07bbe694 MM |
8441 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8442 | ||
8443 | * btrace.h (replay) <replay>: New. | |
8444 | (btrace_is_replaying): New. | |
8445 | * btrace.c (btrace_clear): Free replay iterator. | |
8446 | (btrace_is_replaying): New. | |
8447 | * record-btrace.c (record_btrace_is_replaying): New. | |
8448 | (record_btrace_info): Print insn number if replaying. | |
8449 | (record_btrace_insn_history): Start at replay position. | |
8450 | (record_btrace_call_history): Start at replay position. | |
8451 | (init_record_btrace_ops): Init to_record_is_replaying. | |
8452 | ||
0688d04e MM |
8453 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8454 | ||
8455 | * record-btrace.c (record_btrace_insn_history_range): Include | |
8456 | end. | |
8457 | (record_btrace_insn_history_from): Adjust range. | |
8458 | (record_btrace_call_history_range): Include | |
8459 | end. | |
8460 | (record_btrace_call_history_from): Adjust range. | |
8461 | * NEWS: Announce changes. | |
8462 | ||
8710b709 MM |
8463 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8464 | ||
8465 | * record.h (enum record_print_flag) | |
8466 | <record_print_indent_calls>: New. | |
8467 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
8468 | (_initialize_record): Document /c modifier. | |
8469 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
8470 | Reorder fields. Optionally indent the function name. Update | |
8471 | all users. | |
8472 | * NEWS: Announce changes. | |
8473 | ||
d0fa7535 MM |
8474 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8475 | ||
8476 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
8477 | ||
5de9129b MM |
8478 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8479 | ||
8480 | * btrace.c (ftrace_new_function): Start counting at one. | |
8481 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
8482 | and insns. | |
8483 | * NEWS: Announce it. | |
8484 | ||
7acbe133 MM |
8485 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8486 | ||
8487 | * record-btrace.c (btrace_call_history_insn_range): Print | |
8488 | insn range as [begin, end]. | |
8489 | ||
23a7fe75 MM |
8490 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8491 | ||
8492 | * btrace.h (struct btrace_func_link): New. | |
8493 | (enum btrace_function_flag): New. | |
8494 | (struct btrace_inst): Rename to ... | |
8495 | (struct btrace_insn): ...this. Update all users. | |
8496 | (struct btrace_func) <ibegin, iend>: Remove. | |
8497 | (struct btrace_func_link): New. | |
8498 | (struct btrace_func): Rename to ... | |
8499 | (struct btrace_function): ...this. Update all users. | |
8500 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
8501 | (number, level, flags>: New. | |
8502 | (struct btrace_insn_iterator): Rename to ... | |
8503 | (struct btrace_insn_history): ...this. | |
8504 | Update all users. | |
8505 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
8506 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
8507 | (struct btrace_target_info) <begin, end, level> | |
8508 | <insn_history, call_history>: New. | |
8509 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
8510 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
8511 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
8512 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
8513 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
8514 | (btrace_find_function_by_number, btrace_set_insn_history) | |
8515 | (btrace_set_call_history): New. | |
8516 | * btrace.c (btrace_init_insn_iterator) | |
8517 | (btrace_init_func_iterator, compute_itrace): Remove. | |
8518 | (ftrace_print_function_name, ftrace_print_filename) | |
8519 | (ftrace_skip_file): Change | |
8520 | parameter to const. | |
8521 | (ftrace_init_func): Remove. | |
8522 | (ftrace_debug): Use new btrace_function fields. | |
8523 | (ftrace_function_switched): Also consider gaining and | |
8524 | losing symbol information). | |
8525 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
8526 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
8527 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
8528 | New. | |
8529 | (ftrace_new_function): Move. Remove debug print. | |
8530 | (ftrace_update_lines, ftrace_update_insns): New. | |
8531 | (ftrace_update_function): Check for call, ret, and jump. | |
8532 | (compute_ftrace): Renamed to ... | |
8533 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
8534 | stack. | |
8535 | (btrace_fetch, btrace_clear): Updated. | |
8536 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
8537 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
8538 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
8539 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
8540 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
8541 | (btrace_find_function_by_number, btrace_set_insn_history) | |
8542 | (btrace_set_call_history): New. | |
8543 | * record-btrace.c (require_btrace): Use new btrace thread | |
8544 | info fields. | |
8545 | (record_btrace_info, btrace_insn_history) | |
8546 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
8547 | Use new btrace thread info fields and new iterator. | |
8548 | (btrace_func_history_src_line): Rename to ... | |
8549 | (btrace_call_history_src_line): ...this. Use new btrace | |
8550 | thread info fields. | |
8551 | (btrace_func_history): Rename to ... | |
8552 | (btrace_call_history): ...this. Use new btrace thread info | |
8553 | fields and new iterator. | |
8554 | (record_btrace_call_history, record_btrace_call_history_range): | |
8555 | Use new btrace thread info fields and new iterator. | |
8556 | ||
8372a7cb MM |
8557 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8558 | ||
8559 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
8560 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
8561 | ||
c2170eef MM |
8562 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8563 | ||
8564 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
8565 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
8566 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
8567 | to gdbarch. | |
8568 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
8569 | (i386_insn_is_jump, i386_jmp_p): New. | |
8570 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
8571 | insn_is_jump to gdbarch. | |
8572 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
8573 | * gdbarch.h: Regenerated. | |
8574 | * gdbarch.c: Regenerated. | |
8575 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
8576 | (default_insn_is_jump): New. | |
8577 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
8578 | (default_insn_is_jump): New. | |
8579 | ||
864089d2 MM |
8580 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8581 | ||
8582 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
8583 | Change to ... | |
8584 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
8585 | (btrace_read_type) <btrace_read_new>: Change to ... | |
8586 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
8587 | ||
ed9edfb5 MM |
8588 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8589 | ||
8590 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
8591 | previous iteration. | |
8592 | ||
fbcbc3fd DE |
8593 | 2014-01-15 Doug Evans <dje@google.com> |
8594 | ||
8595 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
8596 | uint32_t. | |
8597 | ||
3d548a53 TT |
8598 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
8599 | ||
8600 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
8601 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
8602 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
8603 | (set_objfile_main_name): New function. | |
8604 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
8605 | language_of_main>: New fields. | |
8606 | (set_objfile_main_name): Declare. | |
8607 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
8608 | name and language. | |
8609 | (set_main_name): Now static. | |
8610 | (get_main_info): Add comment. | |
8611 | * symtab.h (set_main_name): Don't declare. | |
8612 | ||
32ac0d11 TT |
8613 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
8614 | ||
8615 | * symtab.c (main_progspace_key): New global. | |
8616 | (struct main_info): New. | |
8617 | (name_of_main, language_of_main): Remove. | |
8618 | (get_main_info, main_info_cleanup): New function. | |
8619 | (set_main_name, main_name, main_language): Use get_main_info. | |
8620 | (_initialize_symtab): Initialize main_progspace_key. | |
8621 | ||
9e6c82ad TT |
8622 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
8623 | ||
8624 | * dbxread.c (process_one_symbol): Update. | |
8625 | * dwarf2read.c (read_partial_die): Update. | |
8626 | * symfile.c (set_initial_language): Call main_language. | |
8627 | * symtab.c (language_of_main): Now static. | |
8628 | (set_main_name): Add 'lang' parameter. | |
8629 | (find_main_name): Update. | |
8630 | (main_language): New function. | |
8631 | (symtab_observer_executable_changed): Update. | |
8632 | * symtab.h (set_main_name): Update. | |
8633 | (language_of_main): Remove. | |
8634 | (main_language): Declare. | |
8635 | ||
6ef55de7 TT |
8636 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
8637 | ||
8638 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
8639 | Update. | |
8640 | * objfiles.h (struct entry_point) <initialized>: New field. | |
8641 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
8642 | (struct objfile) <ei>: ...here. Remove. | |
8643 | * objfiles.c (entry_point_address_query): Update. | |
8644 | ||
53eddfa6 TT |
8645 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
8646 | ||
8647 | * objfiles.c (entry_point_address_query): Relocate entry point | |
8648 | address. | |
8649 | (objfile_relocate1): Do not relocate entry point address. | |
8650 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
8651 | <the_bfd_section_index>: New field. | |
8652 | * symfile.c (init_entry_point_info): Find the entry point's | |
8653 | section. | |
8654 | ||
d56e56aa TT |
8655 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
8656 | ||
8657 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
8658 | ||
33a97bbe OJ |
8659 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
8660 | ||
8661 | * NEWS: Add note on improved process record-replay on | |
8662 | arm*-linux* targets. | |
8663 | ||
c6ec2b30 OJ |
8664 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
8665 | ||
8666 | * arm-tdep.c (enum arm_record_result): New enum. | |
8667 | (arm_record_unsupported_insn): New function. | |
8668 | (arm_record_coproc_data_proc): Removed. | |
8669 | (thumb2_record_ld_st_multiple): New function. | |
8670 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
8671 | (thumb2_record_data_proc_sreg_mimm): New function. | |
8672 | (thumb2_record_ps_dest_generic): New function. | |
8673 | (thumb2_record_branch_misc_cntrl): New function. | |
8674 | (thumb2_record_str_single_data): New function. | |
8675 | (thumb2_record_ld_mem_hints): New function. | |
8676 | (thumb2_record_ld_word): New function. | |
8677 | (thumb2_record_lmul_lmla_div): New function. | |
8678 | (thumb2_record_decode_insn_handler): New function. | |
8679 | (decode_insn): Add thumb32 instruction handlers. | |
8680 | ||
97dfe206 OJ |
8681 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
8682 | ||
8683 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
8684 | (struct arm_linux_record_tdep): Declare. | |
8685 | (arm_canonicalize_syscall): New function. | |
8686 | (arm_all_but_pc_registers_record): New function. | |
8687 | (arm_linux_syscall_record): New function. | |
8688 | (arm_linux_init_abi): Add syscall recording constructs. | |
8689 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
8690 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
8691 | decoding. | |
8692 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
8693 | <arm_syscall_record>: New field. | |
8694 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
8695 | gdb_target_obs. | |
8696 | ||
9904a494 OJ |
8697 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
8698 | ||
8699 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
8700 | register for push instruction recording. | |
8701 | ||
f969241e OJ |
8702 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
8703 | ||
8704 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
8705 | error while recording ldm, ldmia and pop instructions. | |
8706 | ||
bfbbec00 OJ |
8707 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
8708 | ||
8709 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
8710 | ||
e40adcc9 PA |
8711 | 2014-01-15 Pedro Alves <palves@redhat.com> |
8712 | ||
8713 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
8714 | (go32_resume, go32_fetch_registers, store_register) | |
8715 | (go32_store_registers, go32_prepare_to_store) | |
8716 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
8717 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
8718 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
8719 | declarations. | |
8720 | ||
b0a16e66 TT |
8721 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
8722 | ||
8723 | * target.h (async_callback_ftype): New typedef. | |
8724 | (struct target_ops) <to_async>: Use it. | |
8725 | ||
bf7105a4 JB |
8726 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
8727 | ||
8728 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
8729 | braces for single-statement if block. | |
8730 | ||
a8f35c2e JB |
8731 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
8732 | ||
8733 | * python/py-type.c (convert_field): Add missing empty line | |
8734 | after declarations. | |
8735 | ||
bb4142cf DE |
8736 | 2014-01-14 Doug Evans <dje@google.com> |
8737 | ||
8738 | * symfile.h (expand_symtabs_matching): Renamed from | |
8739 | expand_partial_symbol_names. Update prototype. | |
8740 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
8741 | * symfile.c (expand_symtabs_matching): Renamed from | |
8742 | expand_partial_symbol_names. New args file_matcher, kind. | |
8743 | Rename arg fun to symbol_matcher. | |
8744 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
8745 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
8746 | ada_expand_partial_symbol_name. | |
8747 | (ada_make_symbol_completion_list): Update to call | |
8748 | expand_symtabs_matching. | |
8749 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
8750 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
8751 | call map_symbol_filenames. | |
8752 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
8753 | (search_symbols): Call expand_symtabs_matching. | |
8754 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
8755 | (default_make_symbol_completion_list_break_on): Update to call | |
8756 | expand_symtabs_matching. | |
8757 | (make_source_files_completion_list): Update to call | |
8758 | map_symbol_filenames. | |
8759 | ||
206f2a57 DE |
8760 | 2014-01-14 Doug Evans <dje@google.com> |
8761 | ||
8762 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
8763 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
8764 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
8765 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
8766 | * symfile.c (expand_partial_symbol_names): Update to use | |
8767 | expand_symtabs_symbol_matcher_ftype. | |
8768 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
8769 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
8770 | Arg name_matcher renamed to symbol_matcher. | |
8771 | * psymtab.c (recursively_search_psymtabs): Update to use | |
8772 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
8773 | sym_matcher. | |
8774 | (expand_symtabs_matching_via_partial): Update to use | |
8775 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
8776 | Arg name_matcher renamed to symbol_matcher. | |
8777 | ||
540c2971 DE |
8778 | 2014-01-14 Doug Evans <dje@google.com> |
8779 | ||
8780 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
8781 | (map_partial_symbol_filenames): Ditto. | |
8782 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
8783 | (map_partial_symbol_filenames): Ditto. | |
8784 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
8785 | (map_partial_symbol_filenames): Ditto. | |
8786 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
8787 | (map_partial_symbol_filenames): Ditto. | |
8788 | * symtab.c: Delete #include "psymtab.h". | |
8789 | ||
8213266a PA |
8790 | 2014-01-14 Pedro Alves <palves@redhat.com> |
8791 | Tom Tromey <tromey@redhat.com> | |
8792 | ||
8793 | * infrun.c (use_displaced_stepping): Use find_record_target | |
8794 | instead of RECORD_IS_USED. | |
8795 | (adjust_pc_after_break): Use record_full_is_used instead of | |
8796 | RECORD_IS_USED. | |
8797 | * record-btrace.c (record_btrace_open): Call record_preopen | |
8798 | instead of checking RECORD_IS_USED. | |
8799 | * record-full.c (record_full_shortname) | |
8800 | (record_full_core_shortname): New globals. | |
8801 | (record_full_is_used): New function. | |
8802 | (find_full_open): Call record_preopen instead of checking | |
8803 | RECORD_IS_USED. | |
8804 | (init_record_full_ops): Set the target's shortname to | |
8805 | record_full_shortname. | |
8806 | (init_record_full_core_ops): Set the target's shortname to | |
8807 | record_full_core_shortname. | |
8808 | * record-full.h (record_full_is_used): Declare. | |
8809 | * record.c (find_record_target): Make extern. | |
8810 | (record_preopen): New function. | |
8811 | * record.h (RECORD_IS_USED): Delete macro. | |
8812 | (find_record_target, record_preopen): Declare functions. | |
8813 | ||
7ec1862d YQ |
8814 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
8815 | ||
8816 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
8817 | 'len''s type to ULONGEST. | |
8818 | (core_xfer_shared_libraries_aix): Likewise. | |
8819 | * gdbarch.c, gdbarch.h: Regenerated. | |
8820 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
8821 | Change type of 'len' to ULONGEST. | |
8822 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
8823 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
8824 | ||
dea80a27 YQ |
8825 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
8826 | ||
8827 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
8828 | type of 'len' to ULONGEST. | |
8829 | (linux_xfer_osdata_processgroups): Likewise. | |
8830 | (linux_xfer_osdata_threads): Likewise. | |
8831 | (linux_xfer_osdata_fds): Likewise. | |
8832 | (linux_xfer_osdata_isockets): Likewise. | |
8833 | (linux_xfer_osdata_shm): Likewise. | |
8834 | (linux_xfer_osdata_sem): Likewise. | |
8835 | (linux_xfer_osdata_msg): Likewise. | |
8836 | (linux_common_xfer_osdata): Likewise. | |
8837 | (struct osdata_type) <getter>: Likewise. | |
8838 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
8839 | the declaration. | |
8840 | ||
b55e14c7 YQ |
8841 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
8842 | ||
8843 | * target.h (target_xfer_partial_ftype): Update. | |
8844 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
8845 | ULONGEST. | |
8846 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
8847 | argument 'len' to ULONGEST. | |
8848 | * auxv.c (procfs_xfer_auxv): Likewise. | |
8849 | (ld_so_xfer_auxv): Likewise. | |
8850 | (memory_xfer_auxv): Likewise. | |
8851 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
8852 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
8853 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
8854 | * corelow.c (core_xfer_partial): Likewise. | |
8855 | * ctf.c (ctf_xfer_partial): Likewise. | |
8856 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
8857 | '%u'. | |
8858 | (darwin_read_dyld_info): Likewise. | |
8859 | (darwin_xfer_partial): Likewise. | |
8860 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
8861 | (exec_xfer_partial): Likewise. | |
8862 | * exec.h (section_table_xfer_memory_partial): Update | |
8863 | declaration. | |
8864 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
8865 | instead of plongest. | |
8866 | (gnu_xfer_partial): Likewise. | |
8867 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
8868 | (ia64_hpux_xfer_solib_got): Likewise. | |
8869 | (ia64_hpux_xfer_partial): Likewise. | |
8870 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
8871 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
8872 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
8873 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
8874 | (linux_nat_xfer_partial): Likewise. | |
8875 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
8876 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
8877 | * monitor.c (monitor_xfer_memory): Likewise. | |
8878 | (monitor_xfer_partial): Likewise. | |
8879 | * procfs.c (procfs_xfer_partial): Likewise. | |
8880 | * record-full.c (record_full_xfer_partial): Likewise. | |
8881 | (record_full_core_xfer_partial): Likewise. | |
8882 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
8883 | instead of plongest. | |
8884 | (gdbsim_xfer_partial): Likewise. | |
8885 | * remote.c (remote_xfer_partial): Likewise. | |
8886 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
8887 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
8888 | declaration. | |
8889 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
8890 | (rs6000_xfer_shared_libraries): Likewise. | |
8891 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
8892 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
8893 | (sparc_xfer_partial): Likewise. | |
8894 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
8895 | (spu_xfer_partial): Likewise. | |
8896 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
8897 | * target.c (target_read_live_memory): Likewise. | |
8898 | (memory_xfer_live_readonly_partial): Likewise. | |
8899 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
8900 | (target_xfer_partial, default_xfer_partial): Likewise. | |
8901 | (current_xfer_partial): Likewise. | |
8902 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
8903 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
8904 | pulongest instead of plongest. | |
8905 | (windows_xfer_partial): Likewise. | |
8906 | (windows_xfer_shared_libraries): Likewise. | |
8907 | ||
05804640 YQ |
8908 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
8909 | ||
8910 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
8911 | target_xfer_partial_ftype. | |
8912 | ||
b5b08fb4 SC |
8913 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
8914 | ||
8915 | PR python/15464 | |
8916 | PR python/16113 | |
8917 | * valops.c (value_struct_elt_bitpos): New function | |
8918 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
8919 | object to 'None' if the field name is an empty string (""). | |
8920 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
8921 | attribute to look for a field when 'name' is 'None'. | |
8922 | (get_field_type): New function | |
8923 | ||
13aaf454 DE |
8924 | 2014-01-13 Doug Evans <dje@google.com> |
8925 | ||
8926 | PR symtab/16426 | |
8927 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
8928 | (try_open_dwop_file): Ditto. | |
8929 | * gdb_bfd.c: #include "vec.h". | |
8930 | (bfdp): New typedef. | |
8931 | (struct gdb_bfd_data): New member included_bfds. | |
8932 | (gdb_bfd_unref): Unref all included bfds. | |
8933 | (gdb_bfd_record_inclusion): New function. | |
8934 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
8935 | ||
c2cec97c TT |
8936 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
8937 | ||
8938 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
8939 | ||
78e5999d TT |
8940 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
8941 | ||
8942 | * defs.h (use_windows): Remove. | |
8943 | * gdb.c (main): Update. | |
8944 | * main.c (captured_main, gdb_main): Update. | |
8945 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
8946 | * top.c (use_windows): Remove. | |
8947 | ||
f2052bbe TT |
8948 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
8949 | ||
8950 | * defs.h (deprecated_flush_hook): Remove. | |
8951 | ||
fde4f8ed JK |
8952 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
8953 | ||
8954 | PR threads/16216 | |
8955 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
8956 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
8957 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
8958 | (try_thread_db_load_from_sdir): Update caller. | |
8959 | (try_thread_db_load_from_dir): Move it there from here. | |
8960 | ||
bdf61915 PP |
8961 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
8962 | ||
8963 | * regformats/regdat.sh: Always rewrite the register file. | |
8964 | ||
f71e1a8d PA |
8965 | 2014-01-13 Pedro Alves <palves@redhat.com> |
8966 | ||
8967 | * Makefile.in (CHECK_HEADERS): New variable. | |
8968 | (check-headers:): New rule. | |
8969 | ||
42c85435 TT |
8970 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
8971 | ||
8972 | * cli/cli-setshow.c (do_set_command): Update. | |
8973 | * defs.h (deprecated_set_hook): Remove. | |
8974 | * top.c (deprecated_set_hook): Remove. | |
8975 | ||
f8de5129 PA |
8976 | 2014-01-13 Pedro Alves <palves@redhat.com> |
8977 | ||
8978 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
8979 | the tracepoint if the PC is a pseudo-register. | |
8980 | ||
fc270c35 TT |
8981 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
8982 | ||
8983 | * defs.h (XCALLOC): Remove. | |
8984 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
8985 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
8986 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
8987 | * elfread.c (elf_symfile_segments): Likewise. | |
8988 | (elf_symfile_segments): Likewise. | |
8989 | * gdbtypes.c (copy_type_recursive): Likewise. | |
8990 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
8991 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
8992 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
8993 | XCALLOC. | |
8994 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
8995 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
8996 | XCALLOC. | |
8997 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
8998 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
8999 | * registry.c (registry_alloc_data): Likewise. | |
9000 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
9001 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
9002 | * serial.c (serial_fdopen_ops): Likewise. | |
9003 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
9004 | XCALLOC. | |
9005 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
9006 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
9007 | not XCALLOC. | |
9008 | ||
70ba0933 TT |
9009 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
9010 | ||
9011 | * defs.h (XMALLOC): Remove. | |
9012 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
9013 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
9014 | * cli-out.c (struct ui_out *): Likewise. | |
9015 | * cli/cli-dump.c (add_dump_command): Likewise. | |
9016 | (add_dump_command): Likewise. | |
9017 | * complaints.c (get_complaints): Likewise. | |
9018 | (find_complaint): Likewise. | |
9019 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
9020 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
9021 | * gdbarch.sh: Likewise. | |
9022 | * gdbarch.c: Rebuild. | |
9023 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
9024 | * interps.c (interp_new): Likewise. | |
9025 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
9026 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
9027 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
9028 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
9029 | * mi/mi-out.c (mi_out_new): Likewise. | |
9030 | * mi/mi-parse.c (mi_parse): Likewise. | |
9031 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
9032 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
9033 | * observer.c (xalloc_observer_list_node): Likewise. | |
9034 | * regcache.c (regcache_xmalloc_1): Likewise. | |
9035 | * reggroups.c (reggroup_new): Likewise. | |
9036 | (_initialize_reggroup): Likewise. | |
9037 | * registry.c (register_data_with_cleanup): Likewise. | |
9038 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
9039 | * ser-base.c (serial_ttystate): Likewise. | |
9040 | * ser-mingw.c (make_pipe_state): Likewise. | |
9041 | * ser-pipe.c (pipe_open): Likewise. | |
9042 | * serial.c (serial_open): Likewise. | |
9043 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
9044 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
9045 | (tui_alloc_win_info): Likewise. | |
9046 | (tui_add_content_elements): Likewise. | |
9047 | * tui/tui-file.c (tui_file_new): Likewise. | |
9048 | * tui/tui-out.c (tui_out_new): Likewise. | |
9049 | * ui-file.c (mem_file_new): Likewise. | |
9050 | * ui-out.c (push_level): Likewise. | |
9051 | (make_cleanup_ui_out_end): Likewise. | |
9052 | (append_header_to_list): Likewise. | |
9053 | (ui_out_new): Likewise. | |
9054 | * user-regs.c (user_reg_add_builtin): Likewise. | |
9055 | ||
41bf6aca TT |
9056 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
9057 | ||
9058 | * defs.h (XZALLOC): Remove. | |
9059 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
9060 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
9061 | (get_ada_tasks_inferior_data): Likewise. | |
9062 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
9063 | * auxv.c (get_auxv_inferior_data): Likewise. | |
9064 | * bfd-target.c (target_bfd_reopen): Likewise. | |
9065 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
9066 | (deprecated_insert_raw_breakpoint): Likewise. | |
9067 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
9068 | * corelow.c (core_open): Likewise. | |
9069 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
9070 | (darwin_attach_pid): Likewise. | |
9071 | * dummy-frame.c (dummy_frame_push): Likewise. | |
9072 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
9073 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
9074 | * elfread.c (elf_symfile_segments): Likewise. | |
9075 | * eval.c (ptrmath_type_p): Likewise. | |
9076 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
9077 | * gdbtypes.c (alloc_type_arch): Likewise. | |
9078 | (alloc_type_instance): Likewise. | |
9079 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
9080 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
9081 | * inflow.c (get_inflow_inferior_data): Likewise. | |
9082 | * infrun.c (save_infcall_suspend_state): Likewise. | |
9083 | * jit.c (jit_reader_load): Likewise. | |
9084 | (get_jit_objfile_data): Likewise. | |
9085 | (get_jit_program_space_data): Likewise. | |
9086 | (jit_object_open_impl): Likewise. | |
9087 | (jit_symtab_open_impl): Likewise. | |
9088 | (jit_block_open_impl): Likewise. | |
9089 | (jit_frame_sniffer): Likewise. | |
9090 | * linux-fork.c (add_fork): Likewise. | |
9091 | * maint.c (make_command_stats_cleanup): Likewise. | |
9092 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
9093 | * opencl-lang.c (struct lval_closure): Likewise. | |
9094 | * osdata.c (osdata_start_osdata): Likewise. | |
9095 | * progspace.c (new_address_space): Likewise. | |
9096 | (add_program_space): Likewise. | |
9097 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
9098 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
9099 | * skip.c (Ignore): Likewise. | |
9100 | (skip_delete_command): Likewise. | |
9101 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
9102 | (library_list_start_library): Likewise. | |
9103 | (solib_aix_current_sos): Likewise. | |
9104 | * solib-darwin.c (get_darwin_info): Likewise. | |
9105 | (darwin_current_sos): Likewise. | |
9106 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
9107 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
9108 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
9109 | * solib-spu.c (append_ocl_sos): Likewise. | |
9110 | (spu_current_sos): Likewise. | |
9111 | * solib-svr4.c (get_svr4_info): Likewise. | |
9112 | (svr4_keep_data_in_core): Likewise. | |
9113 | (library_list_start_library): Likewise. | |
9114 | (svr4_default_sos): Likewise. | |
9115 | (svr4_read_so_list): Likewise. | |
9116 | * solib-target.c (library_list_start_library): Likewise. | |
9117 | (solib_target_current_sos): Likewise. | |
9118 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
9119 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
9120 | * symfile.c (default_symfile_segments): Likewise. | |
9121 | * target-descriptions.c (tdesc_data_init): Likewise. | |
9122 | (tdesc_create_reg): Likewise. | |
9123 | (struct tdesc_type *): Likewise. | |
9124 | (tdesc_create_vector): Likewise. | |
9125 | (tdesc_set_struct_size): Likewise. | |
9126 | (struct tdesc_type *): Likewise. | |
9127 | (tdesc_free_feature): Likewise. | |
9128 | (tdesc_create_feature): Likewise. | |
9129 | * windows-nat.c (windows_add_thread): Likewise. | |
9130 | (windows_make_so): Likewise. | |
9131 | * xml-support.c (gdb_xml_body_text): Likewise. | |
9132 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
9133 | (xml_process_xincludes): Likewise. | |
9134 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
9135 | (syscall_create_syscall_desc): Likewise. | |
9136 | ||
5acfdbae SDJ |
9137 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
9138 | ||
9139 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
9140 | function, with code from i386_stap_parse_special_token. | |
9141 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
9142 | (i386_stap_parse_special_token): Move code to the two functions | |
9143 | above; simplify it. | |
9144 | ||
0000e5cc PA |
9145 | 2014-01-09 Pedro Alves <palves@redhat.com> |
9146 | Hui Zhu <hui@codesourcery.com> | |
9147 | ||
9148 | PR gdb/16101 | |
9149 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
9150 | bp_err_string. Don't mark the location shlib_disabled if the | |
9151 | error thrown wasn't a generic or memory error. Catch errors | |
9152 | thrown while inserting breakpoints in overlayed code. Output | |
9153 | error message of software breakpoints. | |
9154 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
9155 | target-side commands but this stub doesn't support Z0 packets, | |
9156 | throw NOT_SUPPORTED_ERROR error. | |
9157 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
9158 | * target.h (target_insert_breakpoint): Extend comment. | |
9159 | (target_insert_hw_breakpoint): Add comment. | |
9160 | ||
b7ea362b PA |
9161 | 2014-01-08 Pedro Alves <palves@redhat.com> |
9162 | ||
9163 | * remote.c (remote_add_thread): Add threads silently if starting | |
9164 | up. | |
9165 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
9166 | don't call notice_new_inferior. | |
9167 | (get_current_thread): New function, factored out from ... | |
9168 | (add_current_inferior_and_thread): ... this. Adjust. | |
9169 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
9170 | found any thread, then select the remote's current thread as GDB's | |
9171 | current thread too. | |
9172 | ||
b7bba001 JB |
9173 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
9174 | ||
9175 | * NEWS: Create a new section for the next release branch. | |
9176 | Rename the section of the current branch, now that it has | |
9177 | been cut. | |
9178 | ||
16dfbded JB |
9179 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
9180 | ||
9181 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
9182 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
9183 | ||
22c90ac1 YQ |
9184 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
9185 | ||
9186 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
9187 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
9188 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
9189 | ||
d64ad97c YQ |
9190 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
9191 | ||
9192 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
9193 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
9194 | ||
f93ba80c PM |
9195 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
9196 | ||
9197 | Fix PR16201. | |
9198 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
9199 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
9200 | to prim_record_mininal_symbol_and_info. | |
9201 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
9202 | in call to prim_record_minimal_symbol_and_info. | |
9203 | (read_pe_exported_syms): Set index field of section_data. | |
9204 | ||
a4d9ba85 AP |
9205 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
9206 | ||
9207 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
9208 | * features/aarch64.c: Regenerate. | |
9209 | ||
1b67eb02 AS |
9210 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
9211 | ||
9212 | * target.c (return_null): Define. | |
9213 | (update_current_target): Use it instead of return_zero for | |
9214 | functions that return a pointer. | |
9215 | ||
5e3f4fab EBM |
9216 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
9217 | ||
9218 | * source.c (add_path): Fix check for duplicated paths in the previously | |
9219 | included paths. | |
9220 | ||
e2616788 HK |
9221 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
9222 | ||
9223 | * ada-lang.c: Remove duplicated include statements. | |
9224 | * alphabsd-nat.c: Ditto. | |
9225 | * amd64-darwin-tdep.c: Ditto. | |
9226 | * amd64fbsd-nat.c: Ditto. | |
9227 | * auto-load.c: Ditto. | |
9228 | * ax-gdb.c: Ditto. | |
9229 | * breakpoint.c: Ditto. | |
9230 | * dbxread.c: Ditto. | |
9231 | * fork-child.c: Ditto. | |
9232 | * gdb_usleep.c: Ditto. | |
9233 | * i386-darwin-tdep.c: Ditto. | |
9234 | * i386fbsd-nat.c: Ditto. | |
9235 | * infcmd.c: Ditto. | |
9236 | * inferior.c: Ditto. | |
9237 | * jv-lang.c: Ditto. | |
9238 | * linux-nat.c: Ditto. | |
9239 | * linux-tdep.c: Ditto. | |
9240 | * m68kbsd-nat.c: Ditto. | |
9241 | * m68klinux-nat.c: Ditto. | |
9242 | * microblaze-tdep.c: Ditto. | |
9243 | * mips-linux-tdep.c: Ditto. | |
9244 | * mn10300-tdep.c: Ditto. | |
9245 | * nto-tdep.c: Ditto. | |
9246 | * opencl-lang.c: Ditto. | |
9247 | * osdata.c: Ditto. | |
9248 | * printcmd.c: Ditto. | |
9249 | * regcache.c: Ditto. | |
9250 | * remote-m32r-sdi.c: Ditto. | |
9251 | * remote.c: Ditto. | |
9252 | * symfile.c: Ditto. | |
9253 | * symtab.c: Ditto. | |
9254 | * tilegx-linux-nat.c: Ditto. | |
9255 | * tilegx-tdep.c: Ditto. | |
9256 | * tracepoint.c: Ditto. | |
9257 | * valops.c: Ditto. | |
9258 | * vaxbsd-nat.c: Ditto. | |
9259 | * windows-nat.c: Ditto. | |
9260 | * xtensa-tdep.c: Ditto. | |
9261 | ||
bd1f7788 YQ |
9262 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9263 | ||
9264 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
9265 | ||
79301218 JB |
9266 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9267 | Joel Brobecker <brobecker@adacore.com> | |
9268 | ||
9269 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
9270 | (pdc_write_regs): Likewise. | |
9271 | (fetch_regs_kernel_thread): Likewise. | |
9272 | (store_regs_kernel_thread): Likewise. | |
9273 | ||
9274 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
9275 | ||
9276 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
9277 | tagged type objects to their actual type. | |
9278 | ||
8e355c5d JB |
9279 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9280 | ||
9281 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
9282 | Update calls to print_field_values and print_variant_part. | |
9283 | Pass new parameter "language" in call to val_print instead | |
9284 | of "current_language". Replace call to ada_val_print by call | |
9285 | to val_print. | |
9286 | (print_variant_part): Add "language" parameter. | |
9287 | (ada_val_print_struct_union): Update call to print_field_values. | |
9288 | ||
4fbf5aa5 JB |
9289 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9290 | ||
9291 | * ada-valprint.c (ui_memcpy): Delete. | |
9292 | (ada_print_floating): Update documentation. Add empty line | |
9293 | between between function documentation and implementation. | |
9294 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
9295 | ui_file_put. Minor adjustments following this change. | |
9296 | ||
71855601 JB |
9297 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9298 | ||
9299 | * ada-valprint.c (ada_val_print_string): New function, | |
9300 | extracted from ada_val_print_array. | |
9301 | (ada_val_print_array): Replace extracted code by call | |
9302 | to ada_val_print_string followed by a return. Move | |
9303 | "else" branch to the function's top block. | |
9304 | ||
4eb27a30 JB |
9305 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9306 | ||
9307 | * ada-valprint.c (ada_val_print_array): Move implementation | |
9308 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
9309 | and "original_value" respectively. Add parameter "offset". | |
9310 | ||
34b27950 JB |
9311 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9312 | ||
9313 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
9314 | re-organizing the code. Change the "???" message printed | |
9315 | when target type is a TYPE_CODE_UNDEF into | |
9316 | "<ref to undefined type>". | |
9317 | ||
079e4591 JB |
9318 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9319 | ||
9320 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
9321 | (ada_val_print_struct_union): ... here. Remove call to | |
9322 | ada_check_typedef in inlined implementation. | |
9323 | ||
8004dfd1 JB |
9324 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9325 | ||
9326 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
9327 | extracted from ada_val_print_1; | |
9328 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
9329 | (ada_val_print_flt, ada_val_print_struct_union) | |
9330 | (ada_val_print_ref): Likewise. | |
9331 | (ada_val_print_1): Delete variables i and elttype. | |
9332 | Replace extracted-out code by call to corresponding | |
9333 | new functions. | |
9334 | ||
760a2db0 JB |
9335 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9336 | ||
9337 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
9338 | ||
3a92c861 JB |
9339 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9340 | ||
9341 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
9342 | ada_val_print_1 by calls to val_print. | |
9343 | ||
cd1630f9 JB |
9344 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9345 | ||
9346 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
9347 | Update calls to self accordingly. Replace calls to c_val_print | |
9348 | by calls to val_print. | |
9349 | ||
bdf779a0 JB |
9350 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9351 | ||
9352 | * ada-valprint.c (print_record): Delete declaration. | |
9353 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
9354 | (ada_val_print): Move function implementation down. | |
9355 | (print_variant_part, print_field_values, print_record): | |
9356 | Move function implementation up. | |
9357 | ||
c0d48811 JB |
9358 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9359 | ||
9360 | * python/py-type.c (typy_get_name): New function. | |
9361 | (type_object_getset): Add entry for attribute "name". | |
9362 | * NEWS: Add entry mentioning this new attribute. | |
9363 | ||
c26e9cbb YQ |
9364 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9365 | ||
9366 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
9367 | statement. | |
9368 | ||
0cc6f43d YQ |
9369 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9370 | ||
9371 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
9372 | argument args. | |
9373 | ||
eec03155 YQ |
9374 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9375 | ||
9376 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
9377 | ||
f04a82ef YQ |
9378 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9379 | ||
9380 | * gnu-nat.c (make_inf) Update declaration. | |
9381 | (make_inf): Make it static. | |
9382 | (inf_set_traced): Likewise. | |
9383 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
9384 | ||
d57dda0a YQ |
9385 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9386 | ||
9387 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
9388 | ||
3aa8c969 YQ |
9389 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9390 | ||
9391 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
9392 | ||
94123b4f YQ |
9393 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9394 | ||
9395 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
9396 | 'enum bfd_endian'. | |
9397 | (struct gdbarch_info) <byte_order>: Change type to | |
9398 | 'enum bfd_endian'. | |
9399 | <byte_order_for_code>: Likewise. | |
9400 | * gdbarch.c, gdbarch.h: Regenerated. | |
9401 | ||
dc81d70a TT |
9402 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
9403 | ||
9404 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
9405 | ||
cc2f3c35 TT |
9406 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
9407 | ||
9408 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
9409 | CONST. | |
9410 | * somread.c (som_symtab_read): Likewise. | |
9411 | ||
adcf2eed HZ |
9412 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
9413 | ||
9414 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
9415 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
9416 | (gdb_bfd_fopen): Ditto. | |
9417 | (gdb_bfd_openr): Ditto. | |
9418 | (gdb_bfd_openw): Ditto. | |
9419 | (gdb_bfd_openr_iovec): Ditto. | |
9420 | (gdb_bfd_fdopenr): Ditto. | |
9421 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
9422 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
9423 | with xstrdup. | |
9424 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
9425 | with xstrdup. | |
9426 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
9427 | gdb_bfd_stash_filename. | |
9428 | ||
50722198 DE |
9429 | 2014-01-03 Doug Evans <dje@google.com> |
9430 | ||
9431 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
9432 | output. | |
9433 | ||
2fa4b862 JB |
9434 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
9435 | ||
9436 | Update year range in copyright notice of all files. | |
9437 | ||
28498c42 JB |
9438 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
9439 | ||
9440 | * top.c (print_gdb_version): Set copyright year to 2014. | |
9441 | ||
7b6e1046 JB |
9442 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
9443 | ||
9444 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
9445 | ||
df96af55 | 9446 | For older changes see ChangeLog-2013. |
c906108c SS |
9447 | \f |
9448 | Local Variables: | |
9449 | mode: change-log | |
9450 | left-margin: 8 | |
9451 | fill-column: 74 | |
9452 | version-control: never | |
57da7796 | 9453 | coding: utf-8 |
c906108c | 9454 | End: |