]>
Commit | Line | Data |
---|---|---|
aef92902 MM |
1 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
2 | ||
3 | * record-btrace.c (record_btrace_generating_corefile) | |
4 | (record_btrace_prepare_to_generate_core) | |
5 | (record_btrace_done_generating_core): New. | |
6 | (record_btrace_xfer_partial, record_btrace_fetch_registers) | |
7 | (record_btrace_store_registers, record_btrace_prepare_to_store): | |
8 | Forward request when generating a core file. | |
9 | (record_btrace_open): Set record_btrace_generating_corefile to zero. | |
10 | (init_record_btrace_ops): Set to_prepare_to_generate_core and | |
11 | to_done_generating_core. | |
12 | ||
5fff78c4 MM |
13 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
14 | ||
15 | * target.h (target_ops) <to_prepare_to_generate_core> | |
16 | <to_done_generating_core>: New. | |
17 | (target_prepare_to_generate_core, target_done_generating_core): New. | |
18 | * target.c (target_prepare_to_generate_core) | |
19 | (target_done_generating_core): New. | |
20 | * target-delegates.c: Regenerate. | |
21 | * gcore.c: (write_gcore_file): Rename to ... | |
22 | (write_gcore_file_1): ...this. | |
23 | (write_gcore_file): Call target_prepare_to_generate_core | |
24 | and target_done_generating_core. | |
25 | ||
1d1f1ccb MM |
26 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
27 | ||
28 | * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call. | |
29 | * gcore.c (write_gcore_file): Free memory returned from | |
30 | make_corefile_notes. | |
31 | * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call. | |
32 | * procfs.c (procfs_make_note_section): Remove make_cleanup call. | |
33 | ||
3343ef86 YQ |
34 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
35 | ||
36 | * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New. | |
37 | (arm_linux_init_abi): Set skip_trampoline_code with | |
38 | gdbarch_skip_trampoline_code instead of | |
39 | find_solib_trampoline_target. | |
40 | ||
18d18ac8 YQ |
41 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
42 | ||
43 | * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if | |
44 | arm_skip_bx_reg returns non-zero. | |
45 | ||
80d8d390 YQ |
46 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
47 | ||
48 | * arm-tdep.c (arm_skip_bx_reg): New function. | |
49 | (arm_skip_stub): Call arm_skip_bx_reg. | |
50 | ||
6a18a01c DB |
51 | 2014-06-23 Don Breazeal <donb@codesourcery.com> |
52 | ||
53 | * MAINTAINERS: Add myself as write-after-approval maintainer. | |
54 | ||
8e9db26e PA |
55 | 2014-06-23 Pedro Alves <palves@redhat.com> |
56 | ||
57 | * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear | |
58 | DR_CONTROL before setting DR0..DR3. | |
59 | * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise. | |
60 | * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all | |
61 | bits of DR_CONTROL related to the debug register slot being | |
62 | disabled. If all slots are vacant, clear local slowdown as well, | |
63 | and assert DR_CONTROL is 0. | |
64 | ||
70afc5b7 SC |
65 | 2014-06-23 Siva Chandra Reddy <sivachandra@google.com> |
66 | ||
67 | * python/lib/gdb/command/xmethods.py | |
68 | (get_method_matchers_in_loci): Lookup xmethod matchers in the | |
69 | current progspace only if the string "progspace" matches LOCUS_RE. | |
70 | ||
840ed64d JK |
71 | 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
72 | ||
73 | Fix --with-system-readline with readline-6.3 patch 5. | |
74 | * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function) | |
75 | (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t | |
76 | types. | |
77 | ||
26f2dc30 TT |
78 | 2014-06-20 Tom Tromey <tromey@redhat.com> |
79 | ||
80 | * dwarf2read.c (dw2_get_real_path): Use correct type in | |
81 | OBSTACK_CALLOC. | |
82 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result. | |
83 | ||
125f8a3d GB |
84 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
85 | ||
86 | * common/gdb_thread_db.h: Moved to nat. All includes updated. | |
87 | * common/glibc_thread_db.h: Likewise. | |
88 | * common/i386-cpuid.h: Likewise. | |
89 | * common/i386-gcc-cpuid.h: Likewise. | |
90 | * common/linux-btrace.h: Likewise. | |
91 | * common/linux-osdata.h: Likewise. | |
92 | * common/linux-procfs.h: Likewise. | |
93 | * common/linux-ptrace.h: Likewise. | |
94 | * common/mips-linux-watch.h: Likewise. | |
95 | * common/linux-btrace.c: Moved to nat. | |
96 | * common/linux-osdata.c: Likewise. | |
97 | * common/linux-procfs.c: Likewise. | |
98 | * common/linux-ptrace.c: Likewise. | |
99 | * common/mips-linux-watch.c: Likewise. | |
100 | * nat/gdb_thread_db.h: Moved from common. | |
101 | * nat/glibc_thread_db.h: Likewise. | |
102 | * nat/i386-cpuid.h: Likewise. | |
103 | * nat/i386-gcc-cpuid.h: Likewise. | |
104 | * nat/linux-btrace.c: Likewise. | |
105 | * nat/linux-btrace.h: Likewise. | |
106 | * nat/linux-osdata.c: Likewise. | |
107 | * nat/linux-osdata.h: Likewise. | |
108 | * nat/linux-procfs.c: Likewise. | |
109 | * nat/linux-procfs.h: Likewise. | |
110 | * nat/linux-ptrace.c: Likewise. | |
111 | * nat/linux-ptrace.h: Likewise. | |
112 | * nat/mips-linux-watch.c: Likewise. | |
113 | * nat/mips-linux-watch.h: Likewise. | |
114 | * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations. | |
115 | (object file files): Reordered. | |
116 | * gdb/copyright.py (EXCLUDE_LIST): Reflect new location | |
117 | of glibc_thread_db.h. | |
118 | ||
42995dbd GB |
119 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
120 | ||
121 | * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c. | |
122 | (i386_dr_low_type): Moved to nat/i386-dregs.h. | |
123 | (i386_dr_low): Likewise. | |
124 | (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c. | |
125 | (i386_dr_low_set_addr): Likewise. | |
126 | (i386_dr_low_get_addr): Likewise. | |
127 | (i386_dr_low_can_set_control): Likewise. | |
128 | (i386_dr_low_set_control): Likewise. | |
129 | (i386_dr_low_get_control): Likewise. | |
130 | (i386_dr_low_get_status): Likewise. | |
131 | (i386_get_debug_register_length): Likewise. | |
132 | * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h. | |
133 | (i386_dr_low): Likewise. | |
134 | * nat/i386-dregs.c (i386-low.h): Remove include. | |
135 | (i386-nat.h): Likewise. | |
136 | (nat/i386-dregs.h): New include. | |
137 | (i386_dr_low_can_set_addr): Moved from i386-nat.h. | |
138 | (i386_dr_low_set_addr): Likewise. | |
139 | (i386_dr_low_get_addr): Likewise. | |
140 | (i386_dr_low_can_set_control): Likewise. | |
141 | (i386_dr_low_set_control): Likewise. | |
142 | (i386_dr_low_get_control): Likewise. | |
143 | (i386_dr_low_get_status): Likewise. | |
144 | (i386_get_debug_register_length): Likewise. | |
145 | (debug_hw_points): Likewise. | |
146 | ||
3ed9baed IB |
147 | 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org> |
148 | ||
149 | * Makefile.in (SFILES): Add d-exp.y. | |
150 | (YYFILES): Add d-exp.c. | |
151 | (YYOBJ): Add d-exp.o. | |
152 | (local-maintainer-clean): Delete d-exp.c. | |
153 | * d-exp.y: New file. | |
154 | * d-lang.h (d_parse): New declaration. | |
155 | (d_error): New declaration. | |
156 | * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP. | |
157 | Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other | |
158 | PREC_ORDER operators. | |
159 | (d_language_defn): Use d_parse, d_error instead of c_parse, c_error. | |
160 | ||
78c164b0 YQ |
161 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
162 | ||
163 | * gdbthread.h (any_running): Remove the declaration. | |
164 | * thread.c (any_running): Remove. | |
165 | ||
f6e29b6e YQ |
166 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
167 | ||
168 | * gdbthread.h (struct thread_info) <state>: Change its type to | |
169 | 'enum thread_state'. Update comments. | |
170 | ||
034f788c PA |
171 | 2014-06-19 Pedro Alves <palves@redhat.com> |
172 | ||
173 | * gdbthread.h (ALL_THREADS): Delete. | |
174 | (ALL_NON_EXITED_THREADS): New macro. | |
175 | * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS | |
176 | instead of ALL_THREADS. | |
177 | * infrun.c (find_thread_needs_step_over) | |
178 | (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS | |
179 | instead of ALL_THREADS. | |
180 | * record-btrace.c (record_btrace_open) | |
181 | (record_btrace_stop_recording, record_btrace_close) | |
182 | (record_btrace_is_replaying, record_btrace_resume) | |
183 | (record_btrace_find_thread_to_move, record_btrace_wait): Likewise. | |
184 | * remote.c (append_pending_thread_resumptions): Likewise. | |
185 | * thread.c (thread_apply_all_command): Likewise. | |
186 | ||
46e33252 GB |
187 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
188 | ||
189 | * i386-nat.c (i386_stopped_by_watchpoint): | |
190 | Use i386_dr_stopped_by_watchpoint. | |
191 | (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint. | |
192 | (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint. | |
193 | ||
3a8ee006 GB |
194 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
195 | ||
196 | * nat/i386-dregs.c: New file. | |
197 | * Makefile.in (i386-dregs.o): New rule. | |
198 | * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o. | |
199 | * config/i386/cygwin64.mh (NATDEPFILES): Likewise. | |
200 | * config/i386/darwin.mh (NATDEPFILES): Likewise. | |
201 | * config/i386/fbsd.mh (NATDEPFILES): Likewise. | |
202 | * config/i386/fbsd64.mh (NATDEPFILES): Likewise. | |
203 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
204 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
205 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
206 | * config/i386/mingw.mh (NATDEPFILES): Likewise. | |
207 | * config/i386/mingw64.mh (NATDEPFILES): Likewise. | |
208 | * i386-nat.h (debug_hw_points): New declaration. | |
209 | * i386-nat.c (breakpoint.h): Remove include. | |
210 | (command.h): Likewise. | |
211 | (target.h): Likewise. | |
212 | (gdb_assert.h): Likewise. | |
213 | (debug_hw_points): Made nonstatic. | |
214 | (debug_printf): Now in i386-dregs.c. | |
215 | (TARGET_HAS_DR_LEN_8): Likewise. | |
216 | (DR_CONTROL_SHIFT): Likewise. | |
217 | (DR_CONTROL_SIZE): Likewise. | |
218 | (DR_RW_EXECUTE): Likewise. | |
219 | (DR_RW_WRITE): Likewise. | |
220 | (DR_RW_READ): Likewise. | |
221 | (DR_RW_IORW): Likewise. | |
222 | (DR_LEN_1): Likewise. | |
223 | (DR_LEN_2): Likewise. | |
224 | (DR_LEN_4): Likewise. | |
225 | (DR_LEN_8): Likewise. | |
226 | (DR_LOCAL_ENABLE_SHIFT): Likewise. | |
227 | (DR_GLOBAL_ENABLE_SHIFT): Likewise. | |
228 | (DR_ENABLE_SIZE): Likewise. | |
229 | (DR_LOCAL_SLOWDOWN): Likewise. | |
230 | (DR_GLOBAL_SLOWDOWN): Likewise. | |
231 | (DR_CONTROL_RESERVED): Likewise. | |
232 | (I386_DR_CONTROL_MASK): Likewise. | |
233 | (I386_DR_VACANT): Likewise. | |
234 | (I386_DR_LOCAL_ENABLE): Likewise. | |
235 | (I386_DR_GLOBAL_ENABLE): Likewise. | |
236 | (I386_DR_DISABLE): Likewise. | |
237 | (I386_DR_SET_RW_LEN): Likewise. | |
238 | (I386_DR_GET_RW_LEN): Likewise. | |
239 | (I386_DR_WATCH_HIT): Likewise. | |
240 | (i386_wp_op_t): Likewise. | |
241 | (i386_show_dr): Likewise. | |
242 | (i386_length_and_rw_bits): Likewise. | |
243 | (i386_insert_aligned_watchpoint): Likewise. | |
244 | (i386_remove_aligned_watchpoint): Likewise. | |
245 | (i386_handle_nonaligned_watchpoint): Likewise. | |
246 | (i386_update_inferior_debug_regs): Likewise. | |
247 | (i386_insert_watchpoint): Use i386_dr_insert_watchpoint. | |
248 | (i386_remove_watchpoint): Use i386_dr_remove_watchpoint. | |
249 | (i386_region_ok_for_watchpoint): | |
250 | Use i386_dr_region_ok_for_watchpoint. | |
251 | (i386_stopped_data_address): Use i386_dr_stopped_data_address. | |
252 | ||
322a8e06 GB |
253 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
254 | ||
255 | * i386-nat.c (i386_insert_hw_breakpoint): Use | |
256 | i386_insert_watchpoint. | |
257 | (i386_remove_hw_breakpoint): Use i386_remove_watchpoint. | |
258 | ||
8f26655c GB |
259 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
260 | ||
261 | * i386-nat.c (i386_dr_show): Renamed to | |
262 | i386_show_dr and made static. All uses updated. | |
263 | (i386_dr_length_and_rw_bits): Renamed to | |
264 | i386_length_and_rw_bits and made static. | |
265 | All uses updated. | |
266 | (i386_dr_insert_aligned_watchpoint): Renamed to | |
267 | i386_insert_aligned_watchpoint and made static. | |
268 | All uses updated. | |
269 | (i386_dr_remove_aligned_watchpoint): Renamed to | |
270 | i386_remove_aligned_watchpoint and made static. | |
271 | All uses updated. | |
272 | (i386_dr_update_inferior_debug_regs): Renamed to | |
273 | i386_update_inferior_debug_regs and made static. | |
274 | All uses updated. | |
275 | * nat/i386-dregs.h (i386_dr_show): Removed. | |
276 | (i386_dr_length_and_rw_bits): Likewise. | |
277 | (i386_dr_insert_aligned_watchpoint): Likewise. | |
278 | (i386_dr_remove_aligned_watchpoint): Likewise. | |
279 | (i386_dr_update_inferior_debug_regs): Likewise. | |
280 | ||
992c7d70 GB |
281 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
282 | ||
283 | * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check. | |
284 | * configure: Regenerate. | |
285 | * config.in: Likewise. | |
286 | * main.c (signal.h): New include. | |
287 | (setup_alternate_signal_stack): New function. | |
288 | (captured_main): Call the above. | |
289 | * cp-support.c (signal.h): New include. | |
290 | (catch_demangler_crashes): New flag. | |
291 | (SIGJMP_BUF): New define. | |
292 | (SIGSETJMP): Likewise. | |
293 | (SIGLONGJMP): Likewise. | |
294 | (gdb_demangle_jmp_buf): New static global. | |
295 | (gdb_demangle_attempt_core_dump): Likewise. | |
296 | (gdb_demangle_signal_handler): New function. | |
297 | (gdb_demangle): If catch_demangler_crashes is set, install the | |
298 | above signal handler before calling bfd_demangle, and restore | |
299 | the original signal handler afterwards. Display the offending | |
300 | symbol and call demangler_warning the first time a segmentation | |
301 | fault is caught. | |
302 | (_initialize_cp_support): New maint set/show command. | |
303 | ||
eae7090b GB |
304 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
305 | ||
306 | * utils.h (resource_limit_kind): New enum. | |
307 | (can_dump_core): New declaration. | |
308 | (warn_cant_dump_core): Likewise. | |
309 | (dump_core): Likewise. | |
310 | * utils.c (dump_core): Made nonstatic. Added new | |
311 | parameter "limit_kind". | |
312 | (can_dump_core): Made nonstatic. Moved printing code to... | |
313 | (warn_cant_dump_core): New function. | |
314 | (can_dump_core_warn): Likewise. | |
315 | (internal_vproblem): Replace calls to can_dump_core with | |
316 | calls to can_dump_core_warn. Supply new argument to each. | |
317 | ||
57fcfb1b GB |
318 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
319 | ||
320 | * utils.h (demangler_vwarning): New declaration. | |
321 | (demangler_warning): Likewise. | |
322 | * utils.c (struct internal_problem) | |
323 | <user_settable_should_quit>: New field. | |
324 | <user_settable_should_dump_core>: Likewise | |
325 | (internal_error_problem): Add values for above new fields. | |
326 | (internal_warning_problem): Likewise. | |
327 | (demangler_warning_problem): New static global. | |
328 | (demangler_vwarning): New function. | |
329 | (demangler_warning): Likewise. | |
330 | (add_internal_problem_command): Selectively add commands. | |
331 | (_initialize_utils): New internal problem command. | |
332 | * maint.c (maintenance_demangler_warning): New function. | |
333 | (_initialize_maint_cmds): New command. | |
334 | ||
17a40b44 TT |
335 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
336 | ||
337 | * f-valprint.c (info_common_command_for_block): Update. | |
338 | * symtab.h (struct general_symbol_info) <common_block>: Now | |
339 | const. | |
340 | ||
346d1dfe TT |
341 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
342 | ||
343 | * symtab.h (struct symtab) <blockvector>: Now const. | |
344 | * ada-lang.c (ada_add_global_exceptions): Update. | |
345 | * buildsym.c (augment_type_symtab): Update. | |
346 | * dwarf2read.c (dw2_lookup_symbol): Update. | |
347 | * jit.c (finalize_symtab): Update. | |
348 | * jv-lang.c (add_class_symtab_symbol): Update. | |
349 | * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab): | |
350 | Update. | |
351 | * objfiles.c (objfile_relocate1): Update. | |
352 | * psymtab.c (lookup_symbol_aux_psymtabs) | |
353 | (maintenance_check_psymtabs): Update. | |
354 | * python/py-symtab.c (stpy_global_block, stpy_static_block): | |
355 | Update. | |
356 | * spu-tdep.c (spu_catch_start): Update. | |
357 | * symmisc.c (dump_symtab_1): Update. | |
358 | * symtab.c (lookup_global_symbol_from_objfile) | |
359 | (lookup_symbol_aux_objfile, lookup_symbol_aux_quick) | |
360 | (basic_lookup_transparent_type_quick) | |
361 | (basic_lookup_transparent_type, find_pc_sect_symtab) | |
362 | (find_pc_sect_line, search_symbols): Update. | |
363 | * block.c (find_block_in_blockvector): Make "bl" const. | |
364 | (blockvector_for_pc_sect, blockvector_for_pc): Make return type | |
365 | const. | |
366 | (blockvector_contains_pc): Make "bv" const. | |
367 | (block_for_pc_sect): Update. | |
368 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
369 | (blockvector_contains_pc): Update. | |
370 | * breakpoint.c (resolve_sal_pc): Update. | |
371 | * inline-frame.c (block_starting_point_at): Update. | |
372 | ||
1834676b TT |
373 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
374 | ||
375 | * completer.c (complete_line): Make "line_buffer" const. | |
376 | * completer.h (complete_line): Update. | |
377 | ||
ac1a991b TT |
378 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
379 | ||
380 | * symtab.c (add_macro_name): Remove unneeded cast. | |
381 | ||
5bc98e52 TT |
382 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
383 | ||
384 | * cli/cli-setshow.h (parse_cli_boolean_value): Update. | |
385 | * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. | |
386 | ||
8236def8 TT |
387 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
388 | ||
389 | * probe.c (info_probes_for_ops): Make "arg" const. | |
390 | * probe.h (info_probes_for_ops): Update. | |
391 | ||
3977b71f TT |
392 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
393 | ||
394 | * varobj.c (varobj_create): Update. | |
395 | * valops.c (value_of_this): Update. | |
396 | * tracepoint.c (add_local_symbols, scope_info): Update. | |
397 | * symtab.h (struct general_symbol_info) <block>: Now const. | |
398 | * symtab.c (skip_prologue_sal) | |
399 | (default_make_symbol_completion_list_break_on) | |
400 | (skip_prologue_using_sal): Update. | |
401 | * stack.h (iterate_over_block_locals) | |
402 | (iterate_over_block_local_vars): Update. | |
403 | * stack.c (print_frame_args): Update. | |
404 | (iterate_over_block_locals, iterate_over_block_local_vars): Make | |
405 | parameter const. | |
406 | (get_selected_block): Make return type const. | |
407 | * python/py-frame.c (frapy_block): Update. | |
408 | * python/py-block.c (gdbpy_block_for_pc): Update. | |
409 | * p-exp.y (%union) <bval>: Now const. | |
410 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
411 | * mdebugread.c (mylookup_symbol, parse_procedure): Update. | |
412 | * m2-exp.y (%union) <bval>: Now const. | |
413 | * linespec.c (get_current_search_block): Make return type const. | |
414 | (create_sals_line_offset, find_label_symbols): Update. | |
415 | * inline-frame.c (inline_frame_sniffer, skip_inline_frames): | |
416 | Update. | |
417 | (block_starting_point_at): Make "block" const. | |
418 | * infrun.c (insert_exception_resume_breakpoint): Make "b" const. | |
419 | (check_exception_resume): Update. | |
420 | * guile/scm-frame.c (gdbscm_frame_block): Update. | |
421 | * guile/scm-block.c (gdbscm_lookup_block): Update. | |
422 | * frame.h (get_frame_block): Update. | |
423 | (get_selected_block): Make return type const. | |
424 | * frame.c (frame_id_inner): Update. | |
425 | * f-valprint.c (info_common_command_for_block) | |
426 | (info_common_command): Update. | |
427 | * dwarf2loc.c (dwarf2_find_location_expression) | |
428 | (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) | |
429 | (locexpr_describe_location_piece): Update. | |
430 | * c-exp.y (%union) <bval>: Now const. | |
431 | * breakpoint.c (resolve_sal_pc): Update. | |
432 | * blockframe.c (get_frame_block):Make return type const. | |
433 | (get_pc_function_start, get_frame_function, find_pc_sect_function) | |
434 | (block_innermost_frame): Update. | |
435 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
436 | (block_for_pc, block_for_pc_sect): Update. | |
437 | * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make | |
438 | 'pblock' const. | |
439 | (block_for_pc_sect, block_for_pc): Make return type const. | |
440 | * ax-gdb.c (gen_expr): Update. | |
441 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
442 | * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. | |
443 | (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) | |
444 | (ada_read_var_value): Update. | |
445 | * ada-exp.y (struct name_info) <block>: Now const. | |
446 | (%union): Likewise. | |
447 | (block_lookup): Constify. | |
448 | ||
b9228891 GB |
449 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
450 | ||
451 | * nat/i386-dregs.h: New file. | |
452 | * Makefile.in (HFILES_NO_SRCDIR): Add the above. | |
453 | * i386-nat.h (i386-dregs.h): New include. | |
454 | (DR_FIRSTADDR): Now in i386-dregs.h. | |
455 | (DR_LASTADDR): Likewise. | |
456 | (DR_NADDR): Likewise. | |
457 | (DR_STATUS): Likewise. | |
458 | (DR_CONTROL): Likewise. | |
459 | (i386_debug_reg_state): Likewise. | |
460 | * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. | |
461 | ||
a1aa2221 LM |
462 | 2014-06-18 Don Breazeal <donb@codesourcery.com> |
463 | ||
464 | * breakpoint.c (set_longjmp_breakpoint): Call | |
465 | momentary_breakpoint_from_master with additional argument. | |
466 | (set_longjmp_breakpoint_for_call_dummy): Call | |
467 | momentary_breakpoint_from_master with additional argument. | |
468 | (set_std_terminate_breakpoint): Call | |
469 | momentary_breakpoint_from_master with additional argument. | |
470 | (momentary_breakpoint_from_master): Add argument to function | |
471 | definition and use it to initialize structure member flag. | |
472 | (clone_momentary_breakpoint): Call | |
473 | momentary_breakpoint_from_master with additional argument. | |
474 | * infrun.c (follow_inferior_reset_breakpoints): Clear structure | |
475 | member flags set in momentary_breakpoint_from_master. | |
476 | ||
4be83cc2 GB |
477 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
478 | ||
479 | * i386-nat.c (i386_show_dr): Renamed to | |
480 | i386_dr_show and made nonstatic. All uses updated. | |
481 | (i386_length_and_rw_bits): Renamed to | |
482 | i386_dr_length_and_rw_bits and made nonstatic. | |
483 | All uses updated. | |
484 | (i386_insert_aligned_watchpoint): Renamed to | |
485 | i386_dr_insert_aligned_watchpoint and made nonstatic. | |
486 | All uses updated. | |
487 | (i386_remove_aligned_watchpoint): Renamed to | |
488 | i386_dr_remove_aligned_watchpoint and made nonstatic. | |
489 | All uses updated. | |
490 | (i386_update_inferior_debug_regs): Renamed to | |
491 | i386_dr_update_inferior_debug_regs and made nonstatic. | |
492 | All uses updated. | |
493 | ||
131aa0d4 GB |
494 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
495 | ||
496 | * i386-nat.c (i386_dr_low_can_set_addr): New macro. | |
497 | (i386_dr_low_can_set_control): Likewise. | |
498 | (i386_dr_low_set_addr): Likewise. | |
499 | (i386_dr_low_set_control): Likewise. | |
500 | (i386_dr_low_get_addr): Likewise. | |
501 | (i386_dr_low_get_status): Likewise. | |
502 | (i386_dr_low_get_control): Likewise. | |
503 | (i386_insert_aligned_watchpoint): Use new macros. | |
504 | (i386_update_inferior_debug_regs): Likewise. | |
505 | (i386_stopped_data_address): Likewise. | |
506 | ||
d9305f7f GB |
507 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
508 | ||
509 | * i386-nat.c (i386_update_inferior_debug_regs) <state>: | |
510 | New parameter. All uses updated. | |
511 | ||
ea008da4 GB |
512 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
513 | ||
514 | * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. | |
515 | All uses updated. | |
516 | ||
1b6d4134 GB |
517 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
518 | ||
519 | * i386-nat.c (debug_printf): New macro. | |
520 | (i386_get_debug_register_length): Likewise. | |
521 | (TARGET_HAS_DR_LEN_8): Use above macro. | |
522 | (i386_show_dr): Use debug_printf instead of puts_unfiltered | |
523 | and printf_unfiltered. Use phex to format values. | |
524 | ||
9b4550ef GB |
525 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
526 | ||
527 | * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>: | |
528 | Make const. | |
529 | ||
6e62758f GB |
530 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
531 | ||
532 | * i386-nat.c: Comment changes. | |
533 | ||
51c79e94 GB |
534 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
535 | ||
536 | * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. | |
537 | ||
3e11889a GB |
538 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
539 | ||
540 | * i386-nat.c (i386_length_and_rw_bits): Remove prototype. | |
541 | (i386_insert_aligned_watchpoint): Likewise. | |
542 | (i386_remove_aligned_watchpoint): Likewise. | |
543 | (i386_handle_nonaligned_watchpoint): Likewise. | |
544 | ||
fc6e2f03 GB |
545 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
546 | ||
547 | * i386-nat.c: Whitespace changes. | |
548 | ||
2afe7d50 SB |
549 | 2014-06-17 Samuel Bronson <naesten@gmail.com> |
550 | ||
551 | * MAINTAINERS: Update Roland McGrath's email address. | |
552 | Thanks to Sergio Durigan Junior for pointing out that he left | |
6a83deea | 553 | Red Hat a while ago, and giving me a current address. |
2afe7d50 | 554 | |
3bca49ee TT |
555 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
556 | ||
557 | * utils.h (savestring): Remove declaration. | |
558 | ||
6e366df1 TT |
559 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
560 | ||
561 | * remote.c (extended_remote_run): Use make_cleanup_freeargv. | |
562 | ||
6be47f0c KS |
563 | 2014-06-16 Keith Seitz <keiths@redhat.com> |
564 | ||
565 | PR mi/15863 | |
566 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt | |
567 | to update the varobj if inferior_ptid is null_ptid. | |
568 | ||
7bc112c1 TT |
569 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
570 | ||
571 | * target.h (struct target_ops) <to_info_proc>: Make parameter | |
572 | const. | |
573 | (target_info_proc): Update. | |
574 | * target.c (target_info_proc): Make "args" const. | |
575 | * procfs.c (procfs_info_proc): Update. | |
576 | * linux-tdep.c (linux_info_proc): Update. | |
577 | (linux_core_info_proc_mappings): Make "args" const. | |
578 | (linux_core_info_proc): Update. | |
579 | * gdbarch.sh (info_proc, core_info_proc): Make "args" const. | |
580 | * gdbarch.c: Rebuild. | |
581 | * gdbarch.h: Rebuild. | |
582 | * corelow.c (core_info_proc): Update. | |
583 | ||
fee354ee TT |
584 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
585 | ||
586 | * target.h (struct target_ops) <to_disconnect>: Make parameter | |
587 | const. | |
588 | (target_disconnect): Update. | |
589 | * target.c (target_disconnect): Make "args" const. | |
590 | * target-delegates.c: Rebuild. | |
591 | * remote.c (remote_disconnect): Update. | |
592 | * record.h (record_disconnect): Update. | |
593 | * record.c (record_disconnect): Update. | |
594 | * inf-child.c (inf_child_disconnect): Update. | |
595 | ||
a30bf1f1 TT |
596 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
597 | ||
598 | * target.h (struct target_ops) <to_rcmd>: Make "command" const. | |
599 | * target.c (debug_to_rcmd, default_rcmd): Update. | |
600 | * target-delegates.c: Rebuild. | |
601 | * remote.c (remote_rcmd): Update. | |
602 | * monitor.c (monitor_rcmd): Update. | |
603 | ||
d03de421 PA |
604 | 2014-06-16 Pedro Alves <palves@redhat.com> |
605 | ||
606 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. | |
607 | (disable_breakpoints_in_freed_objfile): Skip objfiles that don't | |
608 | have OBJF_SHARED set. | |
609 | * objfiles.c (userloaded_objfile_contains_address_p): Rename to... | |
610 | (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED | |
611 | instead of OBJF_USERLOADED. | |
612 | * objfiles.h (OBJF_SHARED): Update comment. | |
613 | (userloaded_objfile_contains_address_p): Rename to ... | |
614 | (shared_objfile_contains_address_p): ... this, and update | |
615 | comments. | |
616 | * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the | |
617 | new objfile. | |
618 | (remove_symbol_file_command): Skip objfiles that don't have | |
619 | OBJF_SHARED set. | |
620 | ||
99f4262f TT |
621 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
622 | ||
623 | * minsyms.h (prim_record_minimal_symbol) | |
624 | (prim_record_minimal_symbol_and_info): Update comments. | |
625 | ||
97d66cc6 EZ |
626 | 2014-06-14 Eli Zaretskii <eliz@gnu.org> |
627 | ||
628 | * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile | |
629 | or --without-guile, according to how GDB was built. | |
630 | ||
635c7e8a TT |
631 | 2014-06-13 Tom Tromey <tromey@redhat.com> |
632 | ||
633 | * cp-support.c (maint_cplus_command): Pass all_commands, not -1, | |
634 | to help_list. | |
635 | * guile/guile.c (info_guile_command): Pass all_commands, not -1, | |
636 | to help_list. | |
637 | * tui/tui-win.c (tui_command): Pass all_commands, not -1, to | |
638 | help_list. | |
639 | * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to | |
640 | help_list.Pass all_commands, not -1, to help_list. | |
641 | * cli/cli-dump.c (dump_command, append_command) | |
642 | (srec_dump_command, ihex_dump_command, tekhex_dump_command) | |
643 | (binary_dump_command, binary_append_command): Pass all_commands, | |
644 | not -1, to help_list. | |
645 | * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not | |
646 | -1, to help_list. | |
647 | * valprint.c (set_print, set_print_raw): Pass all_commands, not | |
648 | -1, to help_list. | |
649 | * typeprint.c (set_print_type): Pass all_commands, not -1, to | |
650 | help_list. | |
651 | * top.c (set_history): Pass all_commands, not -1, to help_list. | |
652 | * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass | |
653 | all_commands, not -1, to help_list. | |
654 | * symfile.c (overlay_command): Pass all_commands, not -1, to | |
655 | help_list. | |
656 | * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to | |
657 | help_list. | |
658 | * serial.c (serial_set_cmd): Pass all_commands, not -1, to | |
659 | help_list. | |
660 | * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not | |
661 | -1, to help_list. | |
662 | * remote.c (remote_command, set_remote_cmd): Pass all_commands, | |
663 | not -1, to help_list. | |
664 | * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, | |
665 | not -1, to help_list. | |
666 | * maint.c (maintenance_command, maintenance_info_command) | |
667 | (maintenance_print_command, maintenance_set_cmd): Pass | |
668 | all_commands, not -1, to help_list. | |
669 | * macrocmd.c (macro_command): Pass all_commands, not -1, to | |
670 | help_list. | |
671 | * language.c (set_check): Pass all_commands, not -1, to help_list. | |
672 | * infcmd.c (unset_command): Pass all_commands, not -1, to | |
673 | help_list. | |
674 | * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to | |
675 | help_list. | |
676 | * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to | |
677 | help_list. | |
678 | * dcache.c (set_dcache_command): Pass all_commands, not -1, to | |
679 | help_list. | |
680 | * breakpoint.c (save_command): Pass all_commands, not -1, to | |
681 | help_list. | |
682 | * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass | |
683 | all_commands, not -1, to help_list. | |
684 | ||
b94ade42 PL |
685 | 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com> |
686 | ||
687 | * regcache.c (struct register_to_invalidate): New structure. | |
688 | (do_register_invalidate, make_cleanup_regcache_invalidate): New | |
689 | functions. | |
690 | (regcache_raw_write): Call make_cleanup_regcache_invalidate. | |
691 | ||
31f628ae YQ |
692 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
693 | ||
694 | * varobj.c (varobj_get_num_children): Call | |
695 | varobj_is_dynamic_p. | |
696 | (varobj_list_children): Likewise. | |
697 | (varobj_update): Likewise. Update comments. | |
698 | ||
cde5ef40 YQ |
699 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
700 | ||
701 | * varobj.c (varobj_pretty_printed_p): Rename to ... | |
702 | (varobj_is_dynamic_p): ... this. New function. | |
703 | * varobj.h (varobj_pretty_printed_p): Remove declaration. | |
704 | (varobj_is_dynamic_p): Declare. | |
705 | * mi/mi-cmd-var.c (print_varobj): All callers updated. | |
706 | (mi_print_value_p, varobj_update_one): Likewise. | |
707 | ||
576ea091 YQ |
708 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
709 | Yao Qi <yao@codesourcery.com> | |
710 | ||
711 | * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". | |
712 | (varobj_get_iterator): Wrap up code for pretty-printer by | |
713 | "#if HAVE_PYTHON" and "#endif". | |
714 | (update_dynamic_varobj_children): Likewise. | |
715 | ||
827f100c YQ |
716 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
717 | Yao Qi <yao@codesourcery.com> | |
718 | ||
719 | * python/py-varobj.c (py_varobj_iter_next): Return NULL if | |
720 | gdb_python_initialized is false. Move some code from varobj.c. | |
721 | * varobj-iter.h (struct varobj_item): Moved from varobj.c. | |
722 | * varobj.c: Move "varobj-iter.h" inclusion earlier. | |
723 | (struct varobj_item): Moved to varobj-iter.h". | |
724 | (varobj_clear_saved_item): New function. | |
725 | (update_dynamic_varobj_children): Move python-related code to | |
726 | py-varobj.c. | |
727 | (free_variable): Call varobj_clear_saved_item and | |
728 | varobj_iter_delete. | |
729 | ||
e5250216 YQ |
730 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
731 | Yao Qi <yao@codesourcery.com> | |
732 | ||
733 | * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". | |
734 | (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". | |
735 | (HFILES_NO_SRCDIR): Add "varobj-iter.h". | |
736 | (py-varobj.o): New rule. | |
737 | * python/py-varobj.c: New file. | |
738 | * python/python-internal.h (py_varobj_get_iterator): Declare. | |
739 | * varobj-iter.h: New file. | |
740 | * varobj.c: Include "varobj-iter.h" | |
741 | (struct varobj) <child_iter>: Change its type from "PyObject *" | |
742 | to "struct varobj_iter *". | |
743 | <saved_item>: Likewise. | |
744 | [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. | |
745 | [HAVE_PYTHON] (varobj_get_iterator): New function. | |
746 | (update_dynamic_varobj_children) [HAVE_PYTHON]: Move | |
747 | python-specific code to python/py-varobj.c. | |
748 | (install_visualizer): Call varobj_iter_delete instead of | |
749 | Py_XDECREF. | |
750 | * varobj.h (varobj_ensure_python_env): Declare. | |
751 | ||
5a2e0d6e YQ |
752 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
753 | ||
754 | * varobj.c (struct varobj_item): New structure. | |
755 | (create_child_with_value): Update declaration. | |
756 | (varobj_add_child): Replace arguments 'name' and 'value' with | |
757 | 'item'. All callers updated. | |
758 | (install_dynamic_child): Likewise. | |
759 | (update_dynamic_varobj_children): Likewise. | |
760 | (varobj_add_child): Likewise. | |
761 | (create_child_with_value): Likewise. | |
762 | ||
919b9a93 JB |
763 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
764 | ||
765 | * NEWS: Create a new section for the next release branch. | |
766 | Rename the section of the current branch, now that it has | |
767 | been cut. | |
768 | ||
71a55bdf JB |
769 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
770 | ||
771 | GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): | |
772 | * version.in: Bump version to 7.8.50.DATE-cvs. | |
773 | ||
364fe1f7 PA |
774 | 2014-06-11 Pedro Alves <palves@redhat.com> |
775 | ||
776 | PR remote/17028 | |
777 | * ser-mingw.c (net_windows_socket_check_pending): New function. | |
778 | (net_windows_select_thread): Ignore spurious wakeups. Use | |
779 | net_windows_socket_check_pending. | |
780 | (net_windows_wait_handle): Check for pending events with | |
781 | ioctlsocket, through net_windows_socket_check_pending, instead of | |
782 | checking the socket's event. | |
783 | ||
5a6c7709 SC |
784 | 2014-06-10 Siva Chandra Reddy <sivachandra@google.com> |
785 | ||
786 | * python/python-internal.h (gdb_PyObject_GetAttrString) | |
787 | (gdb_PyObject_HasAttrString): New inline function definitions. | |
788 | * py-value.c (get_field_flag): Remove the now unnecessary cast to | |
789 | char * of the second argument to PyObject_GetAttrString. | |
790 | ||
0e58ee40 JB |
791 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
792 | ||
793 | * serial.c (serial_write): Fix index of character to be printed | |
794 | in call to serial_logchar when serial debug traces are enabled. | |
795 | ||
d190df30 JB |
796 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
797 | ||
798 | * gdbtypes (resolve_dynamic_range): Add function description. | |
799 | ||
b4b01d36 PA |
800 | 2014-06-09 Pedro Alves <palves@redhat.com> |
801 | ||
802 | * linux-nat.c (linux_child_follow_fork): Initialize status with | |
803 | W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from | |
804 | inner block. Only pass the signal to PTRACE_DETACH if in pass | |
805 | state. | |
806 | ||
3657956b GB |
807 | 2014-06-09 Gary Benson <gbenson@redhat.com> |
808 | ||
809 | * common/signals.c (gdb_signal_from_host): Reorder to separate | |
810 | the always-available ANSI-standard signals from the signals that | |
811 | require checking. | |
812 | (do_gdb_signal_to_host): Likewise. | |
813 | * proc-events.c (signal_table): Likewise. | |
814 | ||
c077881a HZ |
815 | 2014-06-08 Hui Zhu <hui@codesourcery.com> |
816 | ||
817 | * common/linux-ptrace.c (linux_disable_event_reporting): New | |
818 | function. | |
819 | * common/linux-ptrace.h (linux_disable_event_reporting): New | |
820 | declaration. | |
821 | * linux-nat.c (linux_child_follow_fork): Do a single step before | |
822 | detach. | |
823 | ||
4186eb54 KS |
824 | 2014-06-07 Keith Seitz <keiths@redhat.com> |
825 | ||
826 | Revert: | |
827 | PR c++/16253 | |
828 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
829 | from symbol_matches_domain in symtab.c. All local callers | |
830 | of symbol_matches_domain updated. | |
831 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
832 | search STRUCT_DOMAIN. | |
833 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
834 | independently. standard_lookup will do that automatically. | |
835 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
836 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
837 | (cp_lookup_symbol_in_namespace): Likewise. | |
838 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
839 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
840 | may return a STRUCT_DOMAIN match. | |
841 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
842 | * cp-support.c: Include language.h. | |
843 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
844 | VAR_DOMAIN. | |
845 | * psymtab.c (match_partial_symbol): Compare the requested | |
846 | domain with the symbol's domain directly. | |
847 | (lookup_partial_symbol): Likewise. | |
848 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
849 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
850 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
851 | appropriate languages. | |
852 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
853 | and moved to ada-lang.c | |
854 | (lookup_block_symbol): Explain that this function only returns | |
855 | symbol matching the requested DOMAIN. | |
856 | Compare the requested domain with the symbol's domain directly. | |
857 | (iterate_over_symbols): Compare the requested domain with the | |
858 | symbol's domain directly. | |
859 | * symtab.h (symbol_matches_domain): Remove. | |
860 | ||
25326a28 | 861 | 2014-06-06 Doug Evans <xdje42@gmail.com> |
d2929fdc DE |
862 | |
863 | * guile/guile-internal.h (gdbscm_guile_major_version): Declare. | |
864 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. | |
865 | (gdbscm_guile_version_is_at_least): Declare. | |
866 | (gdbscm_scm_string_to_int): Declare. | |
867 | * guile/guile.c (gdbscm_guile_major_version): New global. | |
868 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. | |
869 | (guile_datadir): New static global. | |
870 | (gdbscm_guile_data_directory): New function. | |
871 | (initialize_scheme_side): Update. | |
872 | (misc_guile_functions): Add guile-data-directory. | |
873 | (initialize_gdb_module): Fetch guile version number. | |
874 | * guile/lib/gdb.scm: Remove call to add-to-load-path. | |
875 | * guile/lib/gdb/init.scm (%initialize!): Ditto. | |
876 | * guile/lib/gdb/boot.scm: Use guile-data-directory. | |
877 | * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix | |
878 | comments. | |
879 | * guile/scm-string.c (gdbscm_scm_string_to_int): New function. | |
880 | * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. | |
881 | * guile/scm-value.c (gdbscm_value_to_string): Only call | |
882 | scm_port_conversion_strategy if Guile version >= 2.0.6. | |
883 | ||
0a770bb2 | 884 | 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com> |
885 | ||
886 | * main.c (print_gdb_help): Add -q and --silent. | |
887 | ||
73ba372c GB |
888 | 2014-06-06 Gary Benson <gbenson@redhat.com> |
889 | ||
890 | * common/signals.c: Remove preprocessor conditionals for | |
891 | always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, | |
892 | SIGSEGV and SIGTERM. | |
893 | * proc-events.c: Likewise. | |
894 | ||
c33b2f12 MM |
895 | 2014-06-06 Markus Metzger <markus.t.metzger@intel.com> |
896 | ||
897 | * symfile.c (symfile_free_objfile): Remove restriction to | |
898 | OBJF_USERLOADED. | |
899 | * symfile-mem.c (symbol_file_add_from_memory): Call | |
900 | add_target_sections_of_objfile. | |
901 | ||
fb934770 LC |
902 | 2014-06-05 Ludovic Courtès <ludo@gnu.org> |
903 | ||
904 | * guile/scm-value.c (gdbscm_history_append_x): Use | |
905 | 'vlscm_get_value_smob_arg_unsafe' instead of | |
906 | 'vlscm_scm_to_value'. | |
907 | ||
6ef284bd SM |
908 | 2014-06-05 Simon Marchi <simon.marchi@ericsson.com> |
909 | ||
910 | PR mi/15806 | |
911 | * utils.c (printchar): Don't escape at all if quoter is NUL. | |
912 | Update function documentation to clarify effect of parameter | |
913 | QUOTER. | |
914 | * remote.c (escape_buffer): Pass '\\' as the quoter to | |
915 | fputstrn_unfiltered. | |
916 | * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to | |
917 | generate the output. | |
918 | (mi_solib_unloaded): Same. | |
919 | ||
270c9937 JB |
920 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> |
921 | ||
922 | * development.sh: Delete. | |
923 | * Makefile.in (config.status): Adjust dependency on development.sh. | |
924 | * configure.ac: Adjust development.sh source call. | |
925 | * configure: Regenerate. | |
926 | ||
16f691fb DE |
927 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
928 | ||
929 | * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members | |
930 | is_scheme_bkpt, spec. | |
931 | (bpscm_make_breakpoint_smob): Initialize new members. | |
932 | (gdbscm_create_breakpoint_x): Split into two ... | |
933 | (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. | |
934 | (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. | |
935 | (scheme_function breakpoint_functions): Update. | |
936 | * guile/lib/gdb.scm: Delete create-breakpoint!. Rename | |
937 | breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, | |
938 | register-breakpoint!. | |
939 | ||
ef7cab6b JB |
940 | 2014-06-04 Joel Brobecker <brobecker@adacorer.com> |
941 | ||
942 | PR server/17023 | |
943 | * mem-break.c (z_type_supported): Return zero if | |
944 | THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. | |
945 | ||
012370f6 TT |
946 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
947 | ||
948 | * ada-lang.c (ada_template_to_fixed_record_type_1): Use | |
949 | value_from_contents_and_address_unresolved. | |
950 | (ada_template_to_fixed_record_type_1): Likewise. | |
951 | (ada_which_variant_applies): Likewise. | |
952 | * value.h (value_from_contents_and_address_unresolved): Declare. | |
953 | * value.c (value_from_contents_and_address_unresolved): New | |
954 | function. | |
955 | * gdbtypes.c (is_dynamic_type, resolve_dynamic_type) | |
956 | <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases. | |
957 | (resolve_dynamic_struct, resolve_dynamic_union): New functions. | |
958 | ||
92e2a17f TT |
959 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
960 | ||
961 | * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s. | |
962 | ||
c0939df1 TT |
963 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
964 | ||
965 | * procfs.c (procfs_attach): Make "args" const. | |
966 | * windows-nat.c (windows_attach): Make "args" const. | |
967 | * nto-procfs.c (procfs_attach): Make "args" const. | |
968 | * inf-ttrace.c (inf_ttrace_attach): Make "args" const. | |
969 | * go32-nat.c (go32_attach): Make "args" const. | |
970 | * gnu-nat.c (gnu_attach): Make "args" const. | |
971 | * darwin-nat.c (darwin_attach): Make "args" const. | |
972 | * inf-ptrace.c (inf_ptrace_attach): Make "args" const. | |
973 | * linux-nat.c (linux_nat_attach): Make "args" const. | |
974 | * remote.c (extended_remote_attach_1, extended_remote_attach): | |
975 | Make "args" const. | |
976 | * target.h (struct target_ops) <to_attach>: Make "args" const. | |
977 | (find_default_attach): Likewise. | |
978 | * utils.c (parse_pid_to_attach): Make "args" const. | |
979 | * utils.h (parse_pid_to_attach): Update. | |
980 | ||
8eaff7cd TT |
981 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
982 | ||
983 | * target-delegates.c: Rebuild. | |
984 | * target.c (default_thread_address_space): New function. | |
985 | (target_thread_address_space): Simplify. | |
986 | * target.h (struct target_ops) <to_thread_address_space>: Add | |
987 | TARGET_DEFAULT_FUNC. | |
988 | ||
1913f160 DE |
989 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
990 | ||
991 | * guile/scm-type.c (type_smob): Remove duplicate typedef. | |
992 | ||
70ad5bff MM |
993 | 2014-06-04 Markus Metzger <markus.t.metzger@intel.com> |
994 | ||
995 | * record-btrace.c: Include event-loop.h and inf-loop.h. | |
996 | (record_btrace_resume_exec_dir) | |
997 | (record_btrace_async_inferior_event_handler) | |
998 | (record_btrace_handle_async_inferior_event): New. | |
999 | (record_btrace_open): Create async event handler. | |
1000 | (record_btrace_close): Delete async event handler. | |
1001 | (record_btrace_resume): Set record_btrace_resume_exec_dir, | |
1002 | Mark async event handler. | |
1003 | (record_btrace_execution_direction): New. | |
1004 | (init_record_btrace_ops): Initialize to_execution_direction. | |
1005 | ||
b6210538 DE |
1006 | 2014-06-03 Doug Evans <xdje42@gmail.com> |
1007 | ||
1008 | * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. | |
1009 | (gdbscm_make_parameter): Ditto. | |
1010 | ||
a5b1fd27 DE |
1011 | 2014-06-03 Doug Evans <dje@google.com> |
1012 | ||
1013 | * exec.c (exec_close_1): Call clear_section_table instead of | |
1014 | resize_section_table. | |
1015 | (clear_section_table): New function. | |
1016 | (resize_section_table): Make static. Rename arg num_added to | |
1017 | adjustment. | |
1018 | * exec.h (clear_section_table): Declare. | |
1019 | (resize_section_table): Delete. | |
1020 | * progspace.c (release_program_space): Call clear_section_table | |
1021 | instead of resize_section_table. | |
1022 | ||
0c6e92a5 SC |
1023 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
1024 | ||
1025 | * NEWS (Python Scripting): Add entry about the new xmethods | |
1026 | feature. | |
1027 | ||
883964a7 SC |
1028 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
1029 | ||
1030 | * python/py-xmethods.c: New file. | |
1031 | * python/py-objfile.c (objfile_object): New field 'xmethods'. | |
1032 | (objfpy_dealloc): XDECREF on the new xmethods field. | |
1033 | (objfpy_new, objfile_to_objfile_object): Initialize xmethods | |
1034 | field. | |
1035 | (objfpy_get_xmethods): New function. | |
1036 | (objfile_getset): New entry 'xmethods'. | |
1037 | * python/py-progspace.c (pspace_object): New field 'xmethods'. | |
1038 | (pspy_dealloc): XDECREF on the new xmethods field. | |
1039 | (pspy_new, pspace_to_pspace_object): Initialize xmethods | |
1040 | field. | |
1041 | (pspy_get_xmethods): New function. | |
1042 | (pspace_getset): New entry 'xmethods'. | |
1043 | * python/python-internal.h: Add declarations for new functions. | |
1044 | * python/python.c (_initialize_python): Invoke | |
1045 | gdbpy_initialize_xmethods. | |
1046 | * python/lib/gdb/__init__.py (xmethods): New | |
1047 | attribute. | |
1048 | * python/lib/gdb/xmethod.py: New file. | |
1049 | * python/lib/gdb/command/xmethods.py: New file. | |
1050 | ||
58992dc5 SC |
1051 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
1052 | ||
1053 | * eval.c (evaluate_subexp_standard): Call the xmethod if the | |
1054 | best match method returned by find_overload_match is an xmethod. | |
1055 | * valarith.c (value_x_binop, value_x_unop): Call the xmethod if | |
1056 | the best matching operator returned by find_overload_match is an | |
1057 | xmethod. | |
1058 | * valops.c: #include "extension.h". | |
1059 | (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. | |
1060 | Return void. The list of matching source methods is returned in | |
1061 | "fn_list" and a vector of matching debug method workers is | |
1062 | returned in "xm_worker_vec". Update all callers. | |
1063 | (value_find_oload_method_list): Likewise. | |
1064 | (find_oload_champ): Add "xm_worker_vec" parameter. If it is | |
1065 | non-NULL, then the index of the best matching method in this | |
1066 | vector is returned. Update all callers. | |
1067 | (find_overload_match): Include xmethods while performing overload | |
1068 | resolution. | |
1069 | ||
e81e7f5e SC |
1070 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
1071 | ||
1072 | * defs.h (enum lval_type): New enumerator "lval_xcallable". | |
1073 | * extension-priv.h (struct extension_language_ops): Add the | |
1074 | xmethod interface. | |
1075 | * extension.c (new_xmethod_worker, clone_xmethod_worker, | |
1076 | get_matching_xmethod_workers, get_xmethod_argtypes, | |
1077 | invoke_xmethod, free_xmethod_worker, | |
1078 | free_xmethod_worker_vec): New functions. | |
1079 | * extension.h: #include "common/vec.h". | |
1080 | New function declarations. | |
1081 | (struct xmethod_worker): New struct. | |
1082 | (VEC (xmethod_worker_ptr)): New vector type. | |
1083 | (xmethod_worker_ptr): New typedef. | |
1084 | (xmethod_worker_vec): Likewise. | |
1085 | * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of | |
1086 | builtin_type. | |
1087 | * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD. | |
1088 | (struct builtin_type): New field "xmethod". | |
1089 | * valarith.c (value_ptradd): Assert that the value argument is not | |
1090 | lval_xcallable. | |
1091 | * valops.c (value_must_coerce_to_target): Return 0 for | |
1092 | lval_xcallable values. | |
1093 | * value.c (struct value): New field XM_WORKER in the field | |
1094 | LOCATION. | |
1095 | (value_address, value_raw_address): Return 0 for lval_xcallable | |
1096 | values. | |
1097 | (set_value_address): Assert that the value is not an | |
1098 | lval_xcallable. | |
1099 | (value_free): Free the associated xmethod worker when freeing | |
1100 | lval_xcallable values. | |
1101 | (set_value_component_location): Assert that the WHOLE value is not | |
1102 | lval_xcallable. | |
1103 | (value_of_xmethod, call_xmethod): New functions. | |
1104 | * value.h: Declare "struct xmethod_worker". | |
1105 | Declare new functions value_of_xmethod, call_xmethod. | |
1106 | ||
ef370185 JB |
1107 | 2014-06-03 Joel Brobecker <brobecker@adacore.com> |
1108 | Pedro Alves <palves@redhat.com> | |
1109 | ||
1110 | PR breakpoints/17000 | |
1111 | * breakpoint.c (find_non_raw_software_breakpoint_inserted_here): | |
1112 | New function, extracted from software_breakpoint_inserted_here_p. | |
1113 | (software_breakpoint_inserted_here_p): Replace factored out code | |
1114 | by call to find_non_raw_software_breakpoint_inserted_here. | |
1115 | (bp_target_info_copy_insertion_state): New function. | |
1116 | (bkpt_insert_location): Handle the case of a single-step | |
1117 | breakpoint already inserted at the same address. | |
1118 | (bkpt_remove_location): Handle the case of a single-step | |
1119 | breakpoint still inserted at the same address. | |
1120 | (deprecated_insert_raw_breakpoint): Handle the case of non-raw | |
1121 | breakpoint already inserted at the same address. | |
1122 | (deprecated_remove_raw_breakpoint): Handle the case of a | |
1123 | non-raw breakpoint still inserted at the same address. | |
1124 | (find_single_step_breakpoint): New function, extracted from | |
1125 | single_step_breakpoint_inserted_here_p. | |
1126 | (find_single_step_breakpoint): New function, | |
1127 | factored out from single_step_breakpoint_inserted_here_p. | |
1128 | (single_step_breakpoint_inserted_here_p): Reimplement. | |
1129 | ||
1e2ccb61 BM |
1130 | 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch) |
1131 | ||
1132 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
1133 | * source.c (show_substitute_path_command): Fix display of matching | |
1134 | substitution rules. | |
1135 | ||
d3448d85 GB |
1136 | 2014-06-03 Gary Benson <gbenson@redhat.com> |
1137 | ||
1138 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle. | |
1139 | ||
06eb1586 DE |
1140 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
1141 | ||
1142 | Add parameter support for Guile. | |
1143 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o. | |
1144 | (SUBDIR_GUILE_SRCS): Add scm-param.c. | |
1145 | (scm-param.o): New rule. | |
1146 | * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare. | |
1147 | (gdbscm_misc_error): Declare. | |
1148 | (gdbscm_canonicalize_command_name): Declare. | |
1149 | (gdbscm_scm_to_host_string): Declare. | |
1150 | (gdbscm_scm_from_host_string): Declare. | |
1151 | (gdbscm_initialize_parameters): Declare. | |
1152 | * guile/guile.c (initialize_gdb_module): Call | |
1153 | gdbscm_initialize_parameters. | |
1154 | * guile/lib/gdb.scm: Export parameter symbols. | |
1155 | * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from | |
1156 | cmdscm_canonicalize_name and made public. All callers updated. | |
1157 | * guile/scm-exception.c (gdbscm_misc_error): New function. | |
1158 | * guile/scm-param.c: New file. | |
1159 | * guile/scm-string.c (gdbscm_scm_to_string): Add comments. | |
1160 | (gdbscm_scm_to_host_string): New function. | |
1161 | (gdbscm_scm_from_host_string): New function. | |
1162 | * scm-utils.c (gdbscm_gc_dup_argv): New function. | |
1163 | ||
e698b8c4 DE |
1164 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
1165 | ||
1166 | Add command support for Guile. | |
1167 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. | |
1168 | (SUBDIR_GUILE_SRCS): Add scm-cmd.c. | |
1169 | (scm-cmd.o): New rule. | |
1170 | * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. | |
1171 | (gdbscm_user_error_p): Declare. | |
1172 | (gdbscm_parse_command_name): Declare. | |
1173 | (gdbscm_valid_command_class_p): Declare. | |
1174 | (gdbscm_initialize_commands): Declare. | |
1175 | * guile/guile.c (initialize_gdb_module): Call | |
1176 | gdbscm_initialize_commands. | |
1177 | * guile/lib/gdb.scm: Export command symbols. | |
1178 | * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. | |
1179 | (throw-user-error): New function. | |
1180 | * guile/scm-cmd.c: New file. | |
1181 | * guile/scm-exception.c (user_error_symbol): New static global. | |
1182 | (gdbscm_user_error_p): New function. | |
1183 | (gdbscm_initialize_exceptions): Set user_error_symbol. | |
1184 | * scm-utils.c (gdbscm_gc_xstrdup): New function. | |
1185 | ||
fb1f94b0 PM |
1186 | 2014-06-02 Phil Muldoon <pmuldoon@redhat.com> |
1187 | ||
1188 | * top.c (command_loop): Handle comments here... | |
1189 | (command_line_input): ... not here. | |
1190 | ||
ded03782 DE |
1191 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
1192 | ||
1193 | Add progspace support for Guile. | |
1194 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o. | |
1195 | (SUBDIR_GUILE_SRCS): Add scm-progspace.c. | |
1196 | (scm-progspace.o): New rule. | |
1197 | * guile/guile-internal.h (pspace_smob): New typedef. | |
1198 | (psscm_pspace_smob_pretty_printers): Declare. | |
1199 | (psscm_pspace_smob_from_pspace): Declare. | |
1200 | (psscm_scm_from_pspace): Declare. | |
1201 | * guile/guile.c (initialize_gdb_module): Call | |
1202 | gdbscm_initialize_pspaces. | |
1203 | * guile/lib/gdb.scm: Export progspace symbols. | |
1204 | * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace | |
1205 | support. | |
1206 | (append-pretty-printer!): Ditto. | |
1207 | * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace): | |
1208 | Implement. | |
1209 | * guile/scm-progspace.c: New file. | |
1210 | ||
397998fc AM |
1211 | 2014-06-03 Alan Modra <amodra@gmail.com> |
1212 | ||
1213 | * ppc64-tdep.c (ppc64_standard_linkage8): New. | |
1214 | (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion. | |
1215 | ||
6aa5f3a6 DE |
1216 | 2014-06-02 Doug Evans <dje@google.com> |
1217 | ||
1218 | Add support for skeletonless type units. | |
1219 | * dwarf2read.c (struct dwarf2_per_objfile): New member | |
1220 | n_allocated_type_units. | |
1221 | (struct dwarf2_per_objfile) <tu_stats>: New member | |
1222 | nr_all_type_units_reallocs. | |
1223 | (create_signatured_type_table_from_index): Initialize | |
1224 | n_allocated_type_units | |
1225 | (create_all_type_units): Ditto. | |
1226 | (add_type_unit): Move up in file. New arg slot. | |
1227 | All callers updated. Increase space for all_type_units more | |
1228 | efficiently. | |
1229 | (fill_in_sig_entry_from_dwo_entry): Handle psymtabs. | |
1230 | (lookup_dwo_signatured_type): Handle skeletonless TUs. | |
1231 | (lookup_dwp_signatured_type): Ditto. | |
1232 | (init_tu_and_read_dwo_dies): New arg use_existing_cu. | |
1233 | All callers updated. | |
1234 | (build_type_psymtabs_1): Leave type_unit_groups as | |
1235 | NULL if no TUs present. | |
1236 | (print_tu_stats): New function. | |
1237 | (process_skeletonless_type_unit): New function. | |
1238 | (process_dwo_file_for_skeletonless_type_units): New | |
1239 | function. | |
1240 | (process_skeletonless_type_units): New function. | |
1241 | (dwarf2_build_psymtabs_hard): Handle skeletonless TUs. | |
1242 | Call print tu_stats if debugging enabled. | |
1243 | ||
41fac0cf PA |
1244 | 2014-06-02 Pedro Alves <palves@redhat.com> |
1245 | ||
1246 | * breakpoint.c (build_target_command_list): Don't build a command | |
1247 | list if we have any duplicate location that isn't a dprintf. | |
1248 | ||
cd1608cc PA |
1249 | 2014-06-02 Pedro Alves <palves@redhat.com> |
1250 | ||
1251 | * breakpoint.c (dprintf_breakpoint_hit): New function. | |
1252 | (initialize_breakpoint_ops): Install it as dprintf's | |
1253 | breakpoint_hit method. | |
1254 | ||
486ef3b9 JB |
1255 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
1256 | ||
1257 | * source.c (substitute_path_rule_matches): Simplify using | |
1258 | filename_ncmp instead of FILENAME_CMP. | |
1259 | ||
230cd560 JB |
1260 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
1261 | ||
1262 | * source.c (substitute_path_rule_matches): Remove trailing spaces. | |
1263 | ||
16954d5d LC |
1264 | 2014-06-01 Ludovic Courtès <ludo@gnu.org> |
1265 | ||
1266 | * configure.ac: When Guile is available, check for the | |
1267 | availability of 'scm_new_smob'. | |
1268 | * configure, config.h.in: Regenerate. | |
1269 | * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New | |
1270 | function. | |
1271 | ||
53e8a631 AB |
1272 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
1273 | ||
1274 | * frame.c (struct frame_info): Add stop_string field. | |
1275 | (get_prev_frame_always_1): Renamed from get_prev_frame_always. | |
1276 | (get_prev_frame_always): Old content moved into | |
1277 | get_prev_frame_always_1. Call get_prev_frame_always_1 inside | |
1278 | TRY_CATCH, handle MEMORY_ERROR exceptions. | |
1279 | (frame_stop_reason_string): New function definition. | |
1280 | * frame.h (unwind_stop_reason_to_string): Extend comment to | |
1281 | mention frame_stop_reason_string. | |
1282 | (frame_stop_reason_string): New function declaration. | |
1283 | * stack.c (frame_info): Switch to frame_stop_reason_string. | |
1284 | (backtrace_command_1): Switch to frame_stop_reason_string. | |
1285 | * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR. | |
1286 | (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR. | |
1287 | * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list. | |
1288 | ||
70e38b8e AB |
1289 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
1290 | ||
1291 | * frame.c (frame_stop_reason_string): Rename to ... | |
1292 | (unwind_stop_reason_to_string): this. | |
1293 | * frame.h (frame_stop_reason_string): Rename to ... | |
1294 | (unwind_stop_reason_to_string): this. | |
1295 | * stack.c (frame_info): Update call to frame_stop_reason_string. | |
1296 | (backtrace_command_1): Likewise. | |
1297 | * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. | |
1298 | * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise. | |
1299 | ||
938f0e2f AB |
1300 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
1301 | ||
1302 | * frame.c (remove_prev_frame): New function. | |
1303 | (get_prev_frame_if_no_cycle): Create / discard cleanup using | |
1304 | remove_prev_frame. | |
1305 | ||
a09dd441 PA |
1306 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1307 | ||
1308 | * infrun.c (resume): Rename local 'hw_step' to 'entry_step' | |
1309 | and make it const. When a single-step decays to a continue, | |
1310 | clear 'step', not 'hw_step'. Pass whether the caller wanted | |
1311 | to step to user_visible_resume_ptid, not what we ask the | |
1312 | target to do. | |
1313 | ||
bdc36728 PA |
1314 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1315 | ||
1316 | * infrun.c (process_event_stop_test, handle_step_into_function) | |
1317 | (handle_step_into_function_backward): Adjust. | |
1318 | Don't set the even thread's stop_step and call stop_waiting before | |
1319 | calling end_stepping_range. Instead do that ... | |
1320 | (end_stepping_range): ... here. Take an ecs pointer parameter. | |
1321 | ||
22bcd14b PA |
1322 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1323 | ||
1324 | * infrun.c (stop_stepping): Rename to ... | |
1325 | (stop_waiting): ... this. | |
1326 | (proceed): Update comment. | |
1327 | (process_event_stop_test, handle_inferior_event) | |
1328 | (handle_signal_stop, handle_step_into_function) | |
1329 | (handle_step_into_function_backward): Update. | |
1330 | ||
4ae57c05 PA |
1331 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1332 | ||
1333 | * infcall.c (run_inferior_call): Don't check whether the current | |
1334 | thread is running after the proceed call. | |
1335 | ||
329ea579 PA |
1336 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1337 | Tom Tromey <tromey@redhat.com> | |
1338 | ||
1339 | * NEWS: Mention "maint set target-async", "set mi-async", and that | |
1340 | background execution commands are now always available. | |
1341 | * target.h (target_async_permitted): Update comment. | |
1342 | * target.c (target_async_permitted, target_async_permitted_1): | |
1343 | Default to 1. | |
1344 | (set_target_async_command): Rename to ... | |
1345 | (maint_set_target_async_command): ... this. | |
1346 | (show_target_async_command): Rename to ... | |
1347 | (maint_show_target_async_command): ... this. | |
1348 | (_initialize_target): Adjust. | |
1349 | * infcmd.c (prepare_execution_command): Make extern. | |
1350 | * inferior.h (prepare_execution_command): Declare. | |
1351 | * infrun.c (set_observer_mode): Leave target async alone. | |
1352 | * mi/mi-interp.c (mi_interpreter_init): Install | |
1353 | mi_on_sync_execution_done as sync_execution_done observer. | |
1354 | (mi_on_sync_execution_done): New function. | |
1355 | (mi_execute_command_input_handler): Don't print the prompt if we | |
1356 | just started a synchronous command with an async target. | |
1357 | (mi_on_resume): Check sync_execution before printing prompt. | |
1358 | * mi/mi-main.h (mi_async_p): Declare. | |
1359 | * mi/mi-main.c: Include gdbcmd.h. | |
1360 | (mi_async_p): New function. | |
1361 | (mi_async, mi_async_1): New globals. | |
1362 | (set_mi_async_command, show_mi_async_command, mi_async): New | |
1363 | functions. | |
1364 | (exec_continue): Call prepare_execution_command. | |
1365 | (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features) | |
1366 | (mi_execute_async_cli_command): Use mi_async_p. | |
1367 | (_initialize_mi_main): Install "set mi-async". Make | |
1368 | "target-async" a deprecated alias. | |
1369 | ||
92bcb5f9 PA |
1370 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1371 | ||
1372 | * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete. | |
1373 | (_initialize_cli_interp): Adjust. | |
1374 | * event-loop.c: Include "observer.h". | |
1375 | (start_event_loop): Notify 'command_error' observers instead of | |
1376 | calling display_gdb_prompt. Remove FIXME comment. | |
1377 | * event-top.c (display_gdb_prompt): Remove call into the | |
1378 | interpreters. | |
1379 | * inf-loop.c: Include "observer.h". | |
1380 | (inferior_event_handler): Notify 'command_error' observers instead | |
1381 | of calling display_gdb_prompt. | |
1382 | * infrun.c (fetch_inferior_event): Notify 'sync_execution_done' | |
1383 | observers instead of calling display_gdb_prompt. | |
1384 | * interps.c (interp_set): Don't call display_gdb_prompt. | |
1385 | (current_interp_display_prompt_p): Delete. | |
1386 | * interps.h (interp_prompt_p): Delete declaration. | |
1387 | (interp_prompt_p_ftype): Delete. | |
1388 | (struct interp_procs) <prompt_proc_p>: Delete field. | |
1389 | (current_interp_display_prompt_p): Delete declaration. | |
1390 | * mi-interp.c (mi_interpreter_prompt_p): Delete. | |
1391 | (_initialize_mi_interp): Adjust. | |
1392 | * tui-interp.c (tui_init): Install 'sync_execution_done' and | |
1393 | 'command_error' observers. | |
1394 | (tui_on_sync_execution_done, tui_on_command_error): New | |
1395 | functions. | |
1396 | (tui_display_prompt_p): Delete. | |
1397 | (_initialize_tui_interp): Adjust. | |
1398 | ||
fd664c91 PA |
1399 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1400 | ||
1401 | PR gdb/13860 | |
1402 | * cli/cli-interp.c: Include infrun.h and observer.h. | |
1403 | (cli_uiout, cli_interp): New globals. | |
1404 | (cli_on_signal_received, cli_on_end_stepping_range) | |
1405 | (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New | |
1406 | functions. | |
1407 | (cli_interpreter_init): Install them as 'end_stepping_range', | |
1408 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
1409 | observers. | |
1410 | (_initialize_cli_interp): Remove cli_interp local. | |
1411 | * infrun.c (handle_inferior_event): Call the several stop reason | |
1412 | observers instead of printing the stop reason directly. | |
1413 | (end_stepping_range): New function. | |
1414 | (print_end_stepping_range_reason, print_signal_exited_reason) | |
1415 | (print_exited_reason, print_signal_received_reason) | |
1416 | (print_no_history_reason): Make static, and add an uiout | |
1417 | parameter. Print to that instead of to CURRENT_UIOUT. | |
1418 | * infrun.h (print_end_stepping_range_reason) | |
1419 | (print_signal_exited_reason, print_exited_reason) | |
1420 | (print_signal_received_reason print_no_history_reason): New | |
1421 | declarations. | |
1422 | * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to | |
1423 | 'mi_uiout'. | |
1424 | <cli_uiout>: New field. | |
1425 | * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new | |
1426 | uiout for CLI output. Install 'signal_received', | |
1427 | 'end_stepping_range', 'signal_exited', 'exited' and 'no_history' | |
1428 | observers. | |
1429 | (find_mi_interpreter, mi_interp_data, mi_on_signal_received) | |
1430 | (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited) | |
1431 | (mi_on_no_history): New functions. | |
1432 | (ui_out_free_cleanup): Delete function. | |
1433 | (mi_on_normal_stop): Don't allocate a new uiout for CLI output, | |
1434 | instead use the one already stored in the MI interpreter data. | |
1435 | (mi_ui_out): Adjust. | |
1436 | * tui/tui-interp.c: Include infrun.h and observer.h. | |
1437 | (tui_interp): New global. | |
1438 | (tui_on_signal_received, tui_on_end_stepping_range) | |
1439 | (tui_on_signal_exited, tui_on_exited) | |
1440 | (tui_on_no_history): New functions. | |
1441 | (tui_init): Install them as 'end_stepping_range', | |
1442 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
1443 | observers. | |
1444 | (_initialize_tui_interp): Delete tui_interp local. | |
1445 | ||
8817a6f2 PA |
1446 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1447 | ||
1448 | PR gdb/15713 | |
1449 | * linux-nat.c (linux_nat_resume_callback): Rename the second | |
1450 | parameter to 'except'. Skip LP if it points to EXCEPT. | |
1451 | (linux_nat_resume): Don't mark the event lwp as not stopped | |
1452 | before resuming sibling lwps. Instead ask | |
1453 | linux_nat_resume_callback to skip the event lwp. Mark it as not | |
1454 | stopped after actually resuming it. | |
1455 | (linux_handle_syscall_trap): Mark the lwp as not stopped after | |
1456 | resuming it. | |
1457 | (wait_lwp): Mark the lwp as stopped here. | |
1458 | (stop_wait_callback): Mark the lwp as not stopped right after | |
1459 | resuming it. Don't mark lwps as stopped here. | |
1460 | (linux_nat_filter_event): Mark the lwp as stopped earlier. | |
1461 | (linux_nat_wait_1): Don't mark dead lwps as stopped here. | |
1462 | ||
251bde03 PA |
1463 | 2014-05-29 Pedro Alves <palves@redhat.com> |
1464 | ||
1465 | PR PR15693 | |
1466 | * infrun.c (resume): Determine how much to resume depending on | |
1467 | whether the caller wanted a step, not whether we can hardware step | |
1468 | the target. Mark all threads that we intend to run as running, | |
1469 | unless we're calling an inferior function. | |
1470 | (normal_stop): If the thread is running an infcall, don't finish | |
1471 | thread state. | |
1472 | * target.c (target_resume): Don't mark threads as running here. | |
1473 | ||
7f3c0343 JB |
1474 | 2014-05-28 Joel Brobecker <brobecker@adacore.com> |
1475 | ||
1476 | * serial.c (_initialize_serial): Remove support for | |
1477 | the "set remotebaud" and "show remotebaud" commands. | |
1478 | * NEWS: Add entry documenting the removal of that command. | |
1479 | ||
ee34b3f9 YQ |
1480 | 2014-05-28 Yao Qi <yao@codesourcery.com> |
1481 | ||
1482 | * charset.c: Fix typo in comments. | |
1483 | ||
add6c04d GB |
1484 | 2014-05-27 Gary Benson <gbenson@redhat.com> |
1485 | ||
1486 | * utils.c (internal_vproblem): Prompt for a bug report. | |
1487 | ||
92c48fc5 AW |
1488 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
1489 | ||
1490 | * guile/scm-arch.c (arscm_mark_arch_smob): | |
1491 | * guile/scm-block.c (bkscm_mark_block_smob) | |
1492 | (bkscm_mark_block_syms_progress_smob): | |
1493 | * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob): | |
1494 | * guile/scm-exception.c (exscm_mark_exception_smob): | |
1495 | * guile/scm-frame.c (frscm_mark_frame_smob): | |
1496 | * guile/scm-iterator.c (itscm_mark_iterator_smob): | |
1497 | * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob): | |
1498 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): | |
1499 | * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob) | |
1500 | (ppscm_mark_pretty_printer_worker_smob): | |
1501 | * guile/scm-symbol.c (syscm_mark_symbol_smob): | |
1502 | * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob): | |
1503 | * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob): | |
1504 | * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary | |
1505 | mark functions. | |
1506 | * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free | |
1507 | function. | |
1508 | ||
b2715b27 AW |
1509 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
1510 | Doug Evans <xdje42@gmail.com> | |
1511 | ||
1512 | * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with | |
1513 | empty_base_class. All uses updated. | |
1514 | (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob) | |
1515 | (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions. | |
1516 | Adapt all callers. | |
1517 | * guile/scm-gsmob.c (gdbscm_mark_gsmob) | |
1518 | (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove. | |
1519 | (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x) | |
1520 | (gdbscm_gsmob_has_property_p, add_property_name) | |
1521 | (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions. | |
1522 | * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property) | |
1523 | (gdb-object-has-property?, gdb-object-properties): Remove. | |
1524 | (gdb-object-kind): Renamed from gsmob-kind. | |
1525 | ||
214ab2da AW |
1526 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
1527 | ||
1528 | * configure.ac (try_guile_versions): Allow building with guile 2.2. | |
1529 | * configure: Regenerate. | |
1530 | ||
589fdceb MM |
1531 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
1532 | ||
1533 | * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections. | |
1534 | ||
67b5c0c1 MM |
1535 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
1536 | ||
1537 | * record-btrace.c (record_btrace_allow_memory_access): Remove. | |
1538 | (replay_memory_access_read_only, replay_memory_access_read_write) | |
1539 | (replay_memory_access_types, replay_memory_access) | |
1540 | (set_record_btrace_cmdlist, show_record_btrace_cmdlist) | |
1541 | (cmd_set_record_btrace, cmd_show_record_btrace) | |
1542 | (cmd_show_replay_memory_access): New. | |
1543 | (record_btrace_xfer_partial, record_btrace_insert_breakpoint) | |
1544 | (record_btrace_remove_breakpoint): Replace | |
1545 | record_btrace_allow_memory_access with replay_memory_access. | |
1546 | (_initialize_record_btrace): Add commands. | |
1547 | * NEWS: Announce it. | |
1548 | ||
036cd381 RR |
1549 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
1550 | ||
1551 | * aarch64-linux-nat.c (asm/ptrace.h): Include. | |
1552 | ||
c77c1e42 RR |
1553 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
1554 | ||
1555 | * MAINTAINERS (Write After Approval): Move self back from | |
1556 | paper trail. | |
1557 | ||
45741a9c PA |
1558 | 2014-05-22 Pedro Alves <palves@redhat.com> |
1559 | ||
1560 | * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events) | |
1561 | (sync_execution, sched_multi, step_stop_if_no_debug, non_stop) | |
1562 | (disable_randomization, enum exec_direction_kind) | |
1563 | (execution_direction, stop_registers, start_remote) | |
1564 | (clear_proceed_status, proceed, resume, user_visible_resume_ptid) | |
1565 | (wait_for_inferior, normal_stop, get_last_target_status) | |
1566 | (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior) | |
1567 | (insert_step_resume_breakpoint_at_sal) | |
1568 | (follow_inferior_reset_breakpoints, stepping_past_instruction_at) | |
1569 | (set_step_info, print_stop_event, signal_stop_state) | |
1570 | (signal_print_state, signal_pass_state, signal_stop_update) | |
1571 | (signal_print_update, signal_pass_update) | |
1572 | (update_signals_program_target, clear_exit_convenience_vars) | |
1573 | (displaced_step_dump_bytes, update_observer_mode) | |
1574 | (signal_catch_update, gdb_signal_from_command): Move | |
1575 | declarations ... | |
1576 | * infrun.h: ... to this new file. | |
1577 | * amd64-tdep.c: Include infrun.h. | |
1578 | * annotate.c: Include infrun.h. | |
1579 | * arch-utils.c: Include infrun.h. | |
1580 | * arm-linux-tdep.c: Include infrun.h. | |
1581 | * arm-tdep.c: Include infrun.h. | |
1582 | * break-catch-sig.c: Include infrun.h. | |
1583 | * breakpoint.c: Include infrun.h. | |
1584 | * common/agent.c: Include infrun.h instead of inferior.h. | |
1585 | * corelow.c: Include infrun.h. | |
1586 | * event-top.c: Include infrun.h. | |
1587 | * go32-nat.c: Include infrun.h. | |
1588 | * i386-tdep.c: Include infrun.h. | |
1589 | * inf-loop.c: Include infrun.h. | |
1590 | * infcall.c: Include infrun.h. | |
1591 | * infcmd.c: Include infrun.h. | |
1592 | * infrun.c: Include infrun.h. | |
1593 | * linux-fork.c: Include infrun.h. | |
1594 | * linux-nat.c: Include infrun.h. | |
1595 | * linux-thread-db.c: Include infrun.h. | |
1596 | * monitor.c: Include infrun.h. | |
1597 | * nto-tdep.c: Include infrun.h. | |
1598 | * procfs.c: Include infrun.h. | |
1599 | * record-btrace.c: Include infrun.h. | |
1600 | * record-full.c: Include infrun.h. | |
1601 | * remote-m32r-sdi.c: Include infrun.h. | |
1602 | * remote-mips.c: Include infrun.h. | |
1603 | * remote-notif.c: Include infrun.h. | |
1604 | * remote-sim.c: Include infrun.h. | |
1605 | * remote.c: Include infrun.h. | |
1606 | * reverse.c: Include infrun.h. | |
1607 | * rs6000-tdep.c: Include infrun.h. | |
1608 | * s390-linux-tdep.c: Include infrun.h. | |
1609 | * solib-irix.c: Include infrun.h. | |
1610 | * solib-osf.c: Include infrun.h. | |
1611 | * solib-svr4.c: Include infrun.h. | |
1612 | * target.c: Include infrun.h. | |
1613 | * top.c: Include infrun.h. | |
1614 | * windows-nat.c: Include infrun.h. | |
1615 | * mi/mi-interp.c: Include infrun.h. | |
1616 | * mi/mi-main.c: Include infrun.h. | |
1617 | * python/py-threadevent.c: Include infrun.h. | |
1618 | ||
98eb56a4 PA |
1619 | 2014-05-22 Pedro Alves <palves@redhat.com> |
1620 | ||
1621 | * infrun.c (handle_inferior_event): Store the exit code for | |
1622 | --return-child-result here, instead of ... | |
1623 | (print_exited_reason): ... here. | |
1624 | ||
17b2616c PA |
1625 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1626 | ||
1627 | PR gdb/13860 | |
1628 | * gdbthread.h (struct thread_control_state): New field | |
1629 | `command_interp'. | |
1630 | * infrun.c (follow_fork): Copy the new thread control field to the | |
1631 | child fork thread. | |
1632 | (clear_proceed_status_thread): Clear the new thread control field. | |
1633 | (proceed): Set the new thread control field. | |
1634 | * interps.h (command_interp): Declare. | |
1635 | * interps.c (command_interpreter): New global. | |
1636 | (command_interp): New function. | |
1637 | (interp_exec): Set `command_interpreter' while here. | |
1638 | * cli-out.c (cli_uiout_dtor): New function. | |
1639 | (cli_ui_out_impl): Install it. | |
1640 | * mi/mi-interp.c: Include cli-out.h. | |
1641 | (mi_cmd_interpreter_exec): Add comment. | |
1642 | (restore_current_uiout_cleanup): New function. | |
1643 | (ui_out_free_cleanup): New function. | |
1644 | (mi_on_normal_stop): If finishing an execution command started by | |
1645 | a CLI command, or any kind of breakpoint-like event triggered, | |
1646 | print the stop event to the output (CLI) stream. | |
1647 | * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler. | |
1648 | ||
5166082f PA |
1649 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1650 | ||
1651 | * cli/cli-cmds.c (list_command): Handle the first "list" after the | |
1652 | current source line having changed. | |
1653 | * frame.h (set_current_sal_from_frame): Remove 'center' parameter. | |
1654 | * infrun.c (normal_stop): Adjust call to | |
1655 | set_current_sal_from_frame. | |
1656 | * source.c (clear_lines_listed_range): New function. | |
1657 | (set_current_source_symtab_and_line, identify_source_line): Clear | |
1658 | the lines listed range. | |
1659 | (line_info): Handle the first "info line" after the current source | |
1660 | line having changed. | |
1661 | * stack.c (print_stack_frame): Remove center handling. | |
1662 | (set_current_sal_from_frame): Remove 'center' parameter. Don't | |
1663 | center sal.line. | |
1664 | ||
c1ee2fb3 PA |
1665 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1666 | ||
1667 | * inf-child.c (inf_child_mourn_inferior): New function. | |
1668 | * inf-child.h (inf_child_mourn_inferior): New declaration. | |
1669 | * darwin-nat.c (darwin_mourn_inferior): Use | |
1670 | inf_child_mourn_inferior. | |
1671 | * gnu-nat.c (gnu_mourn_inferior): Likewise. | |
1672 | * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise. | |
1673 | * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise. | |
1674 | * nto-procfs.c (procfs_mourn_inferior): Likewise. | |
1675 | * windows-nat.c (windows_mourn_inferior): Likewise. | |
1676 | ||
5c6d4fb2 DE |
1677 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
1678 | ||
250748cb | 1679 | * guile/scm-breakpoint.c (breakpoint_functions): Fix typo. |
5c6d4fb2 | 1680 | |
4a2722c5 DE |
1681 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
1682 | ||
17292b30 | 1683 | * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void. |
4a2722c5 DE |
1684 | (gdbscm_out_of_range_error): Ditto. |
1685 | (gdbscm_memory_error): Ditto. | |
250748cb DE |
1686 | * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete. |
1687 | * guile/guile-internal.h (gdbscm_invalid_object_error): Update. | |
4a2722c5 DE |
1688 | (gdbscm_out_of_range_error): Update. |
1689 | (gdbscm_memory_error): Update. | |
1690 | (gdbscm_scm_to_target_string_unsafe): Delete. | |
1691 | ||
6a3cb8e8 PA |
1692 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1693 | ||
1694 | * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New | |
1695 | globals. | |
1696 | (inf_child_open_target): New function. | |
1697 | (inf_child_open): Use inf_child_open_target to push the target | |
1698 | instead of erroring out. | |
1699 | (inf_child_disconnect, inf_child_close) | |
1700 | (inf_child_maybe_unpush_target): New functions. | |
1701 | (inf_child_target): Install inf_child_disconnect and | |
1702 | inf_child_close. Store a pointer to the returned object. | |
1703 | * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New | |
1704 | declarations. | |
1705 | * target.c (auto_connect_native_target): New global. | |
1706 | (show_default_run_target): New function. | |
1707 | (find_default_run_target): Return NULL if automatically connecting | |
1708 | to the native target is disabled. | |
1709 | (_initialize_target): Install set/show auto-connect-native-target. | |
1710 | * NEWS: Mention "set auto-connect-native-target", and "target | |
1711 | native". | |
1712 | * linux-nat.c (super_close): New global. | |
1713 | (linux_nat_close): Call super_close. | |
1714 | (linux_nat_add_target): Store a pointer to the base class's | |
1715 | to_close method. | |
1716 | * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use | |
1717 | inf_child_maybe_unpush. | |
1718 | * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is | |
1719 | already pushed. | |
1720 | (inf_ttrace_mourn_inferior): Only unpush the target after mourning | |
1721 | the inferior. Use inf_child_maybe_unpush_target. | |
1722 | (inf_ttrace_attach): Don't push the target if it is already | |
1723 | pushed. | |
1724 | (inf_ttrace_detach): Use inf_child_maybe_unpush_target. | |
1725 | * darwin-nat.c (darwin_mourn_inferior): Only unpush the target | |
1726 | after mourning the inferior. Use inf_child_maybe_unpush_target. | |
1727 | (darwin_attach_pid): Don't push the target if it is already | |
1728 | pushed. | |
1729 | * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after | |
1730 | mourning the inferior. Use inf_child_maybe_unpush_target. | |
1731 | (gnu_detach): Use inf_child_maybe_unpush_target. | |
1732 | * go32-nat.c (go32_create_inferior): Don't push the target if it | |
1733 | is already pushed. | |
1734 | (go32_mourn_inferior): Use inf_child_maybe_unpush_target. | |
1735 | * nto-procfs.c (procfs_is_nto_target): Adjust comment. | |
1736 | (procfs_open): Rename to ... | |
1737 | (procfs_open_1): ... this. Add target_ops parameter. Adjust | |
1738 | comments. Can target_preopen before changing node. Call | |
1739 | inf_child_open_target to push the target explicitly. | |
1740 | (procfs_attach): Don't push the target if it is already pushed. | |
1741 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
1742 | (procfs_create_inferior): Don't push the target if it is already | |
1743 | pushed. | |
1744 | (nto_native_ops): New global. | |
1745 | (procfs_open): Reimplement. | |
1746 | (procfs_native_open): New function. | |
1747 | (init_procfs_targets): Install procfs_native_open as to_open of | |
1748 | "target native". Store a pointer to the "native" target in | |
1749 | nto_native_ops. | |
1750 | * procfs.c (procfs_attach): Don't push the target if it is already | |
1751 | pushed. | |
1752 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
1753 | (procfs_mourn_inferior): Only unpush the target after mourning the | |
1754 | inferior. Use inf_child_maybe_unpush_target. | |
1755 | (procfs_init_inferior): Don't push the target if it is already | |
1756 | pushed. | |
1757 | * windows-nat.c (do_initial_windows_stuff): Don't push the target | |
1758 | if it is already pushed. | |
1759 | ||
930ee1b1 PA |
1760 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1761 | ||
1762 | * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child" | |
1763 | and "procfs" targets are now called "native" instead. | |
1764 | ||
1f5d1b13 PA |
1765 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1766 | ||
1767 | * go32-nat.c (go32_open): Delete. | |
1768 | (go32_target): Don't override the to_open method. | |
1769 | ||
132f8e03 PA |
1770 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1771 | ||
1772 | * nto-procfs.c (procfs_can_run): New function. | |
1773 | (nto_procfs_ops): New global. | |
1774 | (init_procfs_targets): New, based on procfs_target. Install | |
1775 | "target native" in addition to "target procfs". | |
1776 | (_initialize_procfs): Call init_procfs_targets instead of adding | |
1777 | the target here. | |
1778 | ||
03c136c3 PA |
1779 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1780 | ||
1781 | * windows-nat.c (windows_target): Don't override to_shortname, | |
1782 | to_longname or to_doc. | |
1783 | ||
a635d0f3 PA |
1784 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1785 | ||
1786 | * gnu-nat.c (gnu): Don't override to_shortname, to_longname or | |
1787 | to_doc. | |
1788 | ||
4f9b5133 PA |
1789 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1790 | ||
1791 | * darwin-nat.c (_initialize_darwin_inferior): Don't override | |
1792 | to_shortname, to_longname or to_doc. | |
1793 | ||
bc85afde PA |
1794 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1795 | ||
1796 | * go32-nat.c (go32_target): Don't override to_shortname, | |
1797 | to_longname or to_doc. | |
1798 | ||
4ebfc96e PA |
1799 | 2014-05-21 Pedro Alves <palves@redhat.com> |
1800 | ||
1801 | * inf-child.c (inf_child_open): Remove mention of "child". | |
1802 | (inf_child_target): Rename target to "native" instead of "child". | |
1803 | ||
2648dfed AA |
1804 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1805 | ||
1806 | * Makefile.in (SFILES): Delete "regset.c". | |
1807 | (COMMON_OBS): Delete "regset.o". | |
1808 | * regset.c: Remove. | |
1809 | * regset.h (regset_alloc): Delete prototype. | |
1810 | ||
b13feb94 AA |
1811 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1812 | ||
1813 | * sparc-linux-tdep.c (sparc32_linux_gregset) | |
1814 | (sparc32_linux_fpregset): New static regset structures. | |
1815 | (sparc32_linux_init_abi): Drop dynamic regset allocations. | |
1816 | * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and | |
1817 | 'fpregset' fields. | |
1818 | * sparc64-linux-tdep.c: (sparc64_linux_gregset) | |
1819 | (sparc64_linux_fpregset): New static regset structures. | |
1820 | (sparc64_linux_init_abi): Drop dynamic regset allocations. | |
1821 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset): | |
1822 | New static regset structures. | |
1823 | (sparc64fbsd_init_abi): Drop dynamic regset allocations. | |
1824 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset): | |
1825 | New static regset structures. | |
1826 | (sparc64nbsd_init_abi): Drop dynamic regset allocations. | |
1827 | * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset): | |
1828 | New static regset structures. | |
1829 | (sparc64obsd_init_abi): Drop dynamic regset allocations. | |
1830 | * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset): | |
1831 | New static regset structures. | |
1832 | (sparc32nbsd_init_abi): Drop dynamic regset allocations. | |
1833 | ||
b4fd25c9 AA |
1834 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1835 | ||
1836 | * sparc-linux-nat.c (supply_gregset, supply_fpregset) | |
1837 | (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename | |
1838 | register maps ("regmaps") from "*regset" to "*regmap". Do this | |
1839 | for all regmap types and variables. | |
1840 | * sparc-linux-tdep.c (sparc32_linux_step_trap) | |
1841 | (sparc32_linux_supply_core_gregset) | |
1842 | (sparc32_linux_collect_core_gregset) | |
1843 | (sparc32_linux_supply_core_fpregset) | |
1844 | (sparc32_linux_collect_core_fpregset): Likewise. | |
1845 | * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to... | |
1846 | (sparc_gregmap, sparc_fpregmap): ... these. | |
1847 | (sparc_supply_gregset, sparc_collect_gregset) | |
1848 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
1849 | (sparc_fetch_inferior_registers, sparc_store_inferior_registers) | |
1850 | (_initialize_sparc_nat): Rename regmaps. | |
1851 | * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to... | |
1852 | (sparc_gregmap, sparc_fpregmap): ... these. | |
1853 | (sparc_supply_gregset, sparc_collect_gregset) | |
1854 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
1855 | * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset): | |
1856 | Rename macros to... | |
1857 | (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these. | |
1858 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): | |
1859 | Likewise. | |
1860 | * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset): | |
1861 | Rename to... | |
1862 | (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these. | |
1863 | * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset) | |
1864 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename | |
1865 | regmaps. | |
1866 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
1867 | (sparc32_bsd_fpregset): Rename to... | |
1868 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
1869 | (sparc32_bsd_fpregmap): ... these. | |
1870 | * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset) | |
1871 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
1872 | (sparc32_bsd_fpregset, sparc32_sol2_gregset) | |
1873 | (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to... | |
1874 | (struct sparc_gregmap, struct sparc_fpregmap) | |
1875 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
1876 | (sparc32_bsd_fpregmap, sparc32_sol2_gregmap) | |
1877 | (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these. | |
1878 | (sparc32_supply_regset, sparc32_collect_gregset) | |
1879 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust | |
1880 | prototypes. | |
1881 | * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to... | |
1882 | (sparc64_linux_ptrace_gregmap): ... this. | |
1883 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset) | |
1884 | (_initialize_sparc64_linux_nat): Rename regmaps. | |
1885 | * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to... | |
1886 | (sparc64_linux_core_gregmap): ... this. | |
1887 | (sparc64_linux_supply_core_gregset) | |
1888 | (sparc64_linux_collect_core_gregset) | |
1889 | (sparc64_linux_supply_core_fpregset) | |
1890 | (sparc64_linux_collect_core_fpregset): Rename regmaps. | |
1891 | * sparc64-sol2-tdep.c (sparc64_sol2_gregset) | |
1892 | (sparc64_sol2_fpregset): Rename to... | |
1893 | (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these. | |
1894 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
1895 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename | |
1896 | regmaps. | |
1897 | * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset) | |
1898 | (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset) | |
1899 | (sparc64_bsd_fpregset): Rename to... | |
1900 | (struct sparc_gregmap, sparc64_sol2_gregmap) | |
1901 | (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap) | |
1902 | (sparc64_bsd_fpregmap): ... these. | |
1903 | (sparc64_supply_gregset, sparc64_collect_gregset) | |
1904 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust | |
1905 | prototypes. | |
1906 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps. | |
1907 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to... | |
1908 | (sparc64fbsd_gregmap): ... this. | |
1909 | (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset) | |
1910 | (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset): | |
1911 | Rename regmaps. | |
1912 | * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset) | |
1913 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
1914 | (sparc64nbsd_collect_fpregset): Likewise. | |
1915 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to... | |
1916 | (sparc64nbsd_gregmap): ... this. | |
1917 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename | |
1918 | regmaps. | |
1919 | * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise. | |
1920 | * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to... | |
1921 | (sparc64obsd_gregmap): ... this. | |
1922 | (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename | |
1923 | regmaps. | |
1924 | * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise. | |
1925 | * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to... | |
1926 | (sparc32nbsd_gregmap): ... this. | |
1927 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename | |
1928 | regmaps. | |
1929 | ||
8fea3224 AA |
1930 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1931 | ||
1932 | * score-tdep.c (score7_linux_gregset): New static regset | |
1933 | structure. | |
1934 | (score7_linux_regset_from_core_section): Remove dynamic regset | |
1935 | allocation. | |
1936 | (score_gdbarch_init): Drop allocation of tdep structure. | |
1937 | * score-tdep.h (struct gdbarch_tdep): Remove declaration. | |
1938 | ||
24534243 AA |
1939 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1940 | ||
1941 | * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static | |
1942 | regset structures. | |
1943 | (am33_regset_from_core_section): Remove dynamic regset | |
1944 | allocations. | |
1945 | ||
b7195f27 AA |
1946 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1947 | ||
1948 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
1949 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
1950 | structures. | |
1951 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
1952 | allocations. | |
1953 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
1954 | 'gregset64', 'fpregset', and 'fpregset64'. | |
1955 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
1956 | deleted tdep fields. | |
1957 | ||
ecc37a5a AA |
1958 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1959 | ||
1960 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
1961 | regset structures. | |
1962 | (amd64_regset_from_core_section): Remove dynamic regset | |
1963 | allocations. | |
1964 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
1965 | structure. | |
1966 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
1967 | allocation. | |
1968 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
1969 | Likewise. | |
1970 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
1971 | x86-common regset supply function. | |
1972 | * i386-tdep.c (i386_collect_gregset): Make static. | |
1973 | (i386_gregset): New global regset structure. | |
1974 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
1975 | (i386_regset_from_core_section): Remove dynamic regset | |
1976 | allocations. | |
1977 | (i386_gdbarch_init): Remove initialization of tdep fields | |
1978 | 'gregset', 'fpregset', and 'xstateregset'. | |
1979 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
1980 | 'fpregset', and 'xstateregset'. | |
1981 | (i386_collect_gregset): Remove prototype. | |
1982 | (i386_gregset): New declaration. | |
1983 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
1984 | structure. | |
1985 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
1986 | allocation. | |
1987 | ||
b7611c43 AA |
1988 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1989 | ||
1990 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
1991 | (arm_linux_vfpregset): New static regset structures. | |
1992 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
1993 | regset structures. | |
1994 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
1995 | and 'vfpregset' fields. | |
1996 | ||
a069a2bd AA |
1997 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1998 | ||
1999 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
2000 | (aarch64_linux_fpregset): New static regset structures. | |
2001 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
2002 | of regset structures. | |
2003 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
2004 | 'fpregset' fields. | |
2005 | ||
09424cff AA |
2006 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2007 | ||
2008 | * regset.h (struct regset): Remove gdbarch field. | |
2009 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
2010 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
2011 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
2012 | Likewise. | |
2013 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
2014 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
2015 | (ppc32_linux_vsxregset): Likewise. | |
2016 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
2017 | via the regcache instead of the regset. | |
2018 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
2019 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
2020 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
2021 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
2022 | Likewise. | |
2023 | ||
3ca7dae4 AA |
2024 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2025 | ||
2026 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
2027 | Constify structures. | |
2028 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
2029 | (alphanbsd_aout_gregset): Likewise. | |
2030 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
2031 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
2032 | Likewise. | |
2033 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
2034 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
2035 | Likewise. | |
2036 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
2037 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
2038 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
2039 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
2040 | * m88k-tdep.c (m88k_gregset): Likewise. | |
2041 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
2042 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
2043 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
2044 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
2045 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
2046 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
2047 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
2048 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
2049 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
2050 | Likewise. | |
2051 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
2052 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
2053 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
2054 | * vax-tdep.c (vax_gregset): Likewise. | |
2055 | ||
5876f503 JK |
2056 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
2057 | ||
2058 | Fix TLS access for -static -pthread. | |
2059 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
2060 | (try_thread_db_load_1): Initialize it. | |
2061 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
2062 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
2063 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
2064 | load_module_addr comment. | |
2065 | ||
0256a6ac PA |
2066 | 2014-05-21 Pedro Alves <palves@redhat.com> |
2067 | ||
2068 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
2069 | fails, fallback to reading just the memory the caller wanted. | |
2070 | ||
227533ac DE |
2071 | 2014-05-20 Doug Evans <dje@google.com> |
2072 | ||
2073 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
2074 | instead of get_current_arch. | |
2075 | ||
936d2992 PA |
2076 | 2014-05-20 Pedro Alves <palves@redhat.com> |
2077 | ||
2078 | * NEWS: Mention that compare-sections now works with all targets. | |
2079 | ||
2080 | * remote.c (PACKET_qCRC): New enum value. | |
2081 | (remote_verify_memory): Don't send qCRC if the target has no | |
2082 | execution. Use packet_support/packet_ok. If the target doesn't | |
2083 | support the qCRC packet, fallback to a deep memory copy. | |
2084 | (compare_sections_command): Say "target image" instead of "remote | |
2085 | executable". | |
2086 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
2087 | packets that have no associated command. Extend comment. | |
2088 | * target.c (simple_verify_memory, default_verify_memory): New | |
2089 | function. | |
2090 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
2091 | default_verify_memory. | |
2092 | (simple_verify_memory): New declaration. | |
2093 | * target-delegates.c: Regenerate. | |
2094 | ||
e59fa00f MM |
2095 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> |
2096 | ||
2097 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
2098 | ||
f2205de0 HZ |
2099 | 2014-05-20 Hui Zhu <hui@codesourcery.com> |
2100 | Yao Qi <yao@codesourcery.com> | |
2101 | ||
2102 | PR backtrace/16558 | |
2103 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
2104 | and change address of sp and pc. | |
2105 | ||
c4e54771 TT |
2106 | 2014-05-19 Tom Tromey <tromey@redhat.com> |
2107 | ||
2108 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
2109 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
2110 | ||
73051182 DE |
2111 | 2014-05-19 Doug Evans <dje@google.com> |
2112 | ||
2113 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
2114 | build_type_unit_groups and moved closer to only caller. Remove | |
2115 | arguments. All references updated. Remove outdated .gdb_index | |
2116 | comment. | |
2117 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
2118 | build_type_psymtabs_1. | |
2119 | ||
8832e7e3 DE |
2120 | 2014-05-19 Doug Evans <dje@google.com> |
2121 | ||
2122 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
2123 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
2124 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
2125 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
2126 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
2127 | (add_type_unit_group_to_table): Delete. | |
2128 | ||
cd8ae15e DE |
2129 | 2014-05-19 Doug Evans <dje@google.com> |
2130 | ||
2131 | * eval.c (evaluate_subexp_standard): Add some comments. | |
2132 | ||
08f4850b DE |
2133 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
2134 | ||
2135 | * progspace.c (remove_program_space): Delete, unused. | |
2136 | * progspace.h (remove_program_space): Ditto. | |
2137 | ||
bed8455c DE |
2138 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
2139 | ||
2140 | * inferior.c (prune_inferiors): Fix comment. | |
2141 | (remove_inferior_command): Call prune_program_spaces. | |
2142 | ||
8d551b02 DE |
2143 | 2014-05-16 Doug Evans <dje@google.com> |
2144 | ||
2145 | New command line option -D. | |
2146 | * NEWS: Mention it. | |
2147 | * main.c (set_gdb_data_directory): New function. | |
2148 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
2149 | Call set_gdb_data_directory. | |
2150 | (print_gdb_help): Print --data-directory, -D. | |
2151 | * main.h (set_gdb_data_directory): Declare. | |
2152 | * top.c (staged_gdb_datadir): New static global. | |
2153 | (set_gdb_datadir): Call set_gdb_data_directory | |
2154 | (show_gdb_datadir): New function. | |
2155 | (init_main): Update init of data-directory parameter. | |
2156 | ||
18848e28 GF |
2157 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
2158 | ||
2159 | Import the "dirfd" gnulib module. | |
2160 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
2161 | * gnulib/aclocal.m4: Update. | |
2162 | * gnulib/config.in: Update. | |
2163 | * gnulib/configure: Update. | |
2164 | * gnulib/import/Makefile.am: Update. | |
2165 | * gnulib/import/Makefile.in: Update. | |
2166 | * gnulib/import/dirfd.c: New. | |
2167 | * gnulib/import/m4/dirfd.m4: New. | |
2168 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
2169 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
2170 | ||
95c64f92 YQ |
2171 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
2172 | Yao Qi <yao@codesourcery.com> | |
2173 | ||
2174 | * valprint.c (print_wchar): Move the code on checking whether | |
2175 | W is a printable wide char to the default branch of switch | |
2176 | statement below. Call wchar_printable instead of gdb_iswprint. | |
2177 | ||
cac395ea TM |
2178 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
2179 | ||
19679eca | 2180 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
2181 | ldr.w and ldrd instructions. |
2182 | ||
83655187 DE |
2183 | 2014-05-15 Doug Evans <dje@google.com> |
2184 | ||
2185 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
2186 | ||
dd756689 TT |
2187 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
2188 | ||
2189 | * macrocmd.c (print_macro_definition): Reindent. | |
2190 | ||
75ddda77 DE |
2191 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
2192 | ||
2193 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
2194 | (completers): Make const. | |
2195 | ||
b0f16a3e SM |
2196 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
2197 | ||
2198 | * infrun.c (resume): Remove should_resume (unused). Move up | |
2199 | declaration of resume_ptid. | |
2200 | ||
033c3379 TT |
2201 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
2202 | ||
2203 | * language.h (unop_type_check): Remove. | |
2204 | (binop_type_check): Don't declare. | |
2205 | ||
9b44a3a5 AA |
2206 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
2207 | ||
2208 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
2209 | call to regcache_raw_collect. | |
2210 | ||
303a33fa SM |
2211 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
2212 | ||
2213 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
2214 | mi_console->quote as the quoting character. | |
2215 | ||
196100a0 SM |
2216 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
2217 | ||
2218 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
2219 | ||
f989a1c8 TT |
2220 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
2221 | ||
2222 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
2223 | "show debug varobj". | |
2224 | ||
9404b58f KM |
2225 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
2226 | ||
2227 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
2228 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
2229 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
2230 | with aarch64_software_single_step. | |
2231 | ||
5e49ba57 JB |
2232 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
2233 | ||
2234 | GDB 7.7.1 released. | |
2235 | ||
c888a17d KS |
2236 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
2237 | ||
2238 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
2239 | variable or history value is successfully parsed. | |
2240 | ||
290a839c YQ |
2241 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
2242 | Pedro Alves <palves@redhat.com> | |
2243 | ||
2244 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
2245 | address of blocks that intersects the requested range. Trim | |
2246 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
2247 | sections. | |
2248 | * ctf.c (ctf_xfer_partial): Likewise. | |
2249 | ||
91256dc2 YQ |
2250 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
2251 | ||
2252 | * printcmd.c (display_command): Remove the check to | |
2253 | target_has_execution. | |
2254 | ||
07284463 MK |
2255 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
2256 | ||
2257 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
2258 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
2259 | add_target. | |
2260 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
2261 | ||
30a1e6cc SDJ |
2262 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
2263 | ||
2264 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
2265 | and 16-bit signed and unsigned arguments. Update comment. | |
2266 | (stap_parse_probe_arguments): Extend code to handle such | |
2267 | arguments. Use warning instead of complaint to notify about | |
2268 | unrecognized bitness. | |
2269 | ||
f33da99a SDJ |
2270 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
2271 | ||
2272 | PR breakpoints/16889 | |
2273 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
2274 | check for non-prefixed probes (i.e., probes whose | |
2275 | arguments do not start with "N@"). Always set the | |
2276 | argument type to a sane value. | |
2277 | ||
95cf3b38 DT |
2278 | 2014-05-01 David Taylor <dtaylor@emc.com> |
2279 | ||
2280 | * remote.c (compare_sections_command): Add -r option to compare | |
2281 | all loadable read-only sections. | |
2282 | ||
1cfdf534 SC |
2283 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
2284 | ||
2285 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
2286 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
2287 | Update all callers. | |
2288 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
2289 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
2290 | Remove unused CORE_ADDR argument. Update all callers. | |
2291 | ||
ca4f7f8b PA |
2292 | 2014-04-29 Pedro Alves <palves@redhat.com> |
2293 | ||
2294 | * remote.c (struct packet_config) <detect>: Extend comment. | |
2295 | (add_packet_config_cmd): Don't set the config's detect or support | |
2296 | fields here. | |
2297 | (init_all_packet_configs): Also initialize the config's 'detect' | |
2298 | field. | |
2299 | (reset_all_packet_configs_support): New function. | |
2300 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
2301 | init_all_packet_configs. | |
2302 | (_initialize_remote): Initialize all packet configs. Assert that | |
2303 | all packets have an associated command, except a few known | |
2304 | outliers. | |
2305 | ||
11c1ba78 JB |
2306 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
2307 | ||
2308 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
2309 | DW_AT_lower_bound attributes. | |
2310 | ||
8739bc53 JB |
2311 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
2312 | ||
2313 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
2314 | dynamic bounds before computing its upper bound. | |
2315 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
2316 | ||
6f8a3220 JB |
2317 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
2318 | ||
2319 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
2320 | range types. Adjust the array handling implementation to | |
2321 | take advantage of this change. | |
2322 | (resolve_dynamic_range): New function, mostly extracted from | |
2323 | resolve_dynamic_bounds. | |
2324 | (resolve_dynamic_array): New function, mostly extracted from | |
2325 | resolve_dynamic_bounds. | |
2326 | (resolve_dynamic_bounds): Delete. | |
2327 | (resolve_dynamic_type): Reimplement. Add handling of | |
2328 | TYPE_CODE_RANGE types. | |
2329 | ||
4d072ce4 JB |
2330 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
2331 | ||
2332 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
2333 | handling of parallel ___XA types. | |
2334 | ||
52865325 JB |
2335 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
2336 | ||
2337 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
2338 | unnecessary second call to static_unwrap_type. | |
2339 | ||
433e77fa HZ |
2340 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
2341 | ||
2342 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
2343 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
2344 | ||
b51a69ee DE |
2345 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
2346 | ||
2347 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
2348 | ||
7ae1a6a6 PA |
2349 | 2014-04-25 Pedro Alves <palves@redhat.com> |
2350 | ||
2351 | PR server/16255 | |
2352 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
2353 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
2354 | and newline from built string. | |
2355 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
2356 | (linux_ptrace_attach_fail_reason): ... this. | |
2357 | * linux-nat.c (linux_nat_attach): Adjust to use | |
2358 | linux_ptrace_attach_fail_reason. | |
2359 | ||
4082afcc PA |
2360 | 2014-04-25 Pedro Alves <palves@redhat.com> |
2361 | ||
2362 | * remote.c (struct remote_state): Remove multi_process_aware, | |
2363 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
2364 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
2365 | install_in_trace, disconnected_tracing, | |
2366 | enable_disable_tracepoints, string_tracing, and | |
2367 | augmented_libraries_svr4_read fields. | |
2368 | (remote_multi_process_p): Move further below in the file. | |
2369 | (struct packet_config): Add comments. | |
2370 | (update_packet_config): Delete function. | |
2371 | (show_packet_config_cmd): Use packet_config_support. | |
2372 | (add_packet_config_cmd): Use NULL as set callback. | |
2373 | (packet_ok): "set remote foo-packet"-style commands no longer | |
2374 | change config->supported -- adjust. | |
2375 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
2376 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
2377 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
2378 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
2379 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
2380 | (PACKET_DisconnectedTracing_feature) | |
2381 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
2382 | (set_remote_protocol_packet_cmd): Delete function. | |
2383 | (packet_config_support, packet_support): New functions. | |
2384 | (set_remote_protocol_Z_packet_cmd): Don't call | |
2385 | update_packet_config. | |
2386 | (remote_query_attached, remote_pass_signals) | |
2387 | (remote_program_signals, remote_threads_info) | |
2388 | (remote_threads_extra_info, remote_start_remote): Use | |
2389 | packet_support. | |
2390 | (remote_start_remote): Use packet_config_support and | |
2391 | packet_support. | |
2392 | (init_all_packet_configs): Set all packets to unknown support, | |
2393 | instead of calling update_packet_config. | |
2394 | (remote_check_symbols): Use packet_support. | |
2395 | (remote_supported_packet): Unconditionally set the packet config's | |
2396 | support status. | |
2397 | (remote_multi_process_feature, remote_non_stop_feature) | |
2398 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
2399 | (remote_breakpoint_commands_feature) | |
2400 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
2401 | (remote_install_in_trace_feature) | |
2402 | (remote_disconnected_tracing_feature) | |
2403 | (remote_enable_disable_tracepoint_feature) | |
2404 | (remote_string_tracing_feature) | |
2405 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
2406 | (remote_protocol_features): Adjust to use remote_supported_packet | |
2407 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
2408 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
2409 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
2410 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
2411 | "EnableDisableTracepoints", and "tracenz". | |
2412 | (remote_query_supported): Use packet_support. | |
2413 | (remote_open_1): Adjust. | |
2414 | (extended_remote_attach_1): Use packet_support. Switch on the | |
2415 | result of packet_ok instead of checking whether the packet ended | |
2416 | up disabled. | |
2417 | (remote_vcont_resume): Use packet_support. | |
2418 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
2419 | (remote_prepare_to_store, store_register_using_P) | |
2420 | (check_binary_download, remote_write_bytes): Use packet_support. | |
2421 | (remote_vkill): Use packet_support. Switch on the result of | |
2422 | packet_ok instead of checking whether the packet ended up | |
2423 | disabled. | |
2424 | (extended_remote_supports_disable_randomization): Use | |
2425 | packet_support. | |
2426 | (extended_remote_run): Switch on the result of packet_ok instead | |
2427 | of checking whether the packet ended up disabled. | |
2428 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
2429 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
2430 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
2431 | packet_support. | |
2432 | (remote_search_memory): Use packet_config_support. | |
2433 | (remote_get_thread_local_address, remote_get_tib_address) | |
2434 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
2435 | packet_support. | |
2436 | (remote_supports_cond_tracepoints) | |
2437 | (remote_supports_cond_breakpoints) | |
2438 | (remote_supports_fast_tracepoints) | |
2439 | (remote_supports_static_tracepoints) | |
2440 | (remote_supports_install_in_trace) | |
2441 | (remote_supports_enable_disable_tracepoint) | |
2442 | (remote_supports_string_tracing) | |
2443 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
2444 | the packet config says the feature is enabled or disabled. | |
2445 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
2446 | (remote_get_trace_status): Use packet_support. | |
2447 | (remote_set_disconnected_tracing): Adjust to check whether the | |
2448 | feature is enabled with packet_support. | |
2449 | (remote_set_trace_buffer_size, remote_use_agent) | |
2450 | (remote_can_use_agent, remote_supports_btrace): Use | |
2451 | packet_support. | |
2452 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
2453 | Use packet_config_support. | |
2454 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
2455 | the packet config says the feature is enabled or disabled. | |
2456 | (set_range_stepping): Use packet_support. | |
2457 | ||
bdb52a22 TT |
2458 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
2459 | ||
2460 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
2461 | argument. | |
2462 | ||
e9475ead SA |
2463 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
2464 | ||
2465 | * NEWS: Mention support for C99 variable length arrays. | |
2466 | ||
82eacd52 JB |
2467 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
2468 | ||
2469 | * ada-lang.c (standard_exc): Expand introductory comment. | |
2470 | ||
01f9f808 MS |
2471 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
2472 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
2473 | ||
2474 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
2475 | AVX512 registers. | |
2476 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
2477 | mask and return respective tdesc. | |
2478 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
2479 | and features/i386/x32-avx512-linux.c. | |
2480 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
2481 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
2482 | xstate mask and return respective tdesc. | |
2483 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
2484 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
2485 | calculation. | |
2486 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
2487 | (tdesc_amd64_avx512_linux): New prototype. | |
2488 | (tdesc_x32_avx512_linux): Likewise. | |
2489 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
2490 | features/i386/x32-avx512.c. | |
2491 | (amd64_ymm_avx512_names): New register names for pseudo | |
2492 | registers YMM16-31. | |
2493 | (amd64_ymmh_avx512_names): New register names for raw registers | |
2494 | YMMH16-31. | |
2495 | (amd64_k_names): New register names for K registers. | |
2496 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
2497 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
2498 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
2499 | registers. | |
2500 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
2501 | registers. | |
2502 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
2503 | if feature is present. | |
2504 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
2505 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
2506 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
2507 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
2508 | registers supplied via XSTATE by AVX512 registers. | |
2509 | (i386_linux_read_description): Add case for AVX512. | |
2510 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
2511 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
2512 | (i386_linux_core_read_description): Add case for AVX512. | |
2513 | (i386_linux_init_abi): Install supported register note section | |
2514 | for AVX512. | |
2515 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
2516 | AVX512. | |
2517 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
2518 | registers to be number of zmm7h + 1. | |
2519 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
2520 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
2521 | (i386_zmm_names): Add ZMM pseudo register names array. | |
2522 | (i386_zmmh_names): Add ZMM raw register names array. | |
2523 | (i386_k_names): Add K raw register names array. | |
2524 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
2525 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
2526 | registers. | |
2527 | (i386_zmmh_regnum_p): Add function to look up register number of | |
2528 | ZMM raw registers. | |
2529 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
2530 | (i386_k_regnum_p): Likewise for K raw registers. | |
2531 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
2532 | registers added by AVX512. | |
2533 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
2534 | registers added by AVX512. | |
2535 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
2536 | added by AVX512. | |
2537 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
2538 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
2539 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
2540 | registers. | |
2541 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
2542 | ZMM0-31 pseudo registers and K registers. | |
2543 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
2544 | and YMM16-31 registers from register cache. | |
2545 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
2546 | YMM16-31 registers. | |
2547 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
2548 | registers in/from respective register groups. | |
2549 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
2550 | registers if feature is present in xcr0. | |
2551 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
2552 | variables in tdep structure, wire in pseudo registers and call | |
2553 | initialize_tdesc_i386_avx512. | |
2554 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
2555 | variables. | |
2556 | (i386_regnum): Add AVX512 registers. | |
2557 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
2558 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
2559 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
2560 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
2561 | 512 bits wide. | |
2562 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
2563 | (i386_ymm_avx512_regnum_p): Likewise. | |
2564 | (i386_k_regnum_p): Likewise. | |
2565 | (i386_zmm_regnum_p): Likewise. | |
2566 | (i386_zmmh_regnum_p): Likewise. | |
2567 | * i387-tdep.c : Update year in copyright notice. | |
2568 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
2569 | XSAVE buffer. | |
2570 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
2571 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
2572 | XSAVE buffer. | |
2573 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
2574 | (xsave_avx512_k_offset): New table for K register offsets in | |
2575 | XSAVE buffer. | |
2576 | (XSAVE_AVX512_K_ADDR): New macro. | |
2577 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
2578 | in XSAVE buffer. | |
2579 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
2580 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
2581 | buffer. | |
2582 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
2583 | XSAVE buffer. | |
2584 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
2585 | of XMM16-31 registers. | |
2586 | (I387_NUM_K_REGS): New define for number of K registers. | |
2587 | (I387_K0_REGNUM): New define for K0 register number. | |
2588 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
2589 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
2590 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
2591 | registers. | |
2592 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
2593 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
2594 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
2595 | (I387_KEND_REGNUM): New define for last K register number. | |
2596 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
2597 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
2598 | number. | |
2599 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
2600 | number. | |
2601 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
2602 | size. | |
2603 | * features/Makefile: Add AVX512 related files. | |
2604 | * features/i386/32bit-avx512.xml: New file. | |
2605 | * features/i386/64bit-avx512.xml: Likewise. | |
2606 | * features/i386/amd64-avx512-linux.c: Likewise. | |
2607 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
2608 | * features/i386/amd64-avx512.c: Likewise. | |
2609 | * features/i386/amd64-avx512.xml: Likewise. | |
2610 | * features/i386/i386-avx512-linux.c: Likewise. | |
2611 | * features/i386/i386-avx512-linux.xml: Likewise. | |
2612 | * features/i386/i386-avx512.c: Likewise. | |
2613 | * features/i386/i386-avx512.xml: Likewise. | |
2614 | * features/i386/x32-avx512-linux.c: Likewise. | |
2615 | * features/i386/x32-avx512-linux.xml: Likewise. | |
2616 | * features/i386/x32-avx512.c: Likewise. | |
2617 | * features/i386/x32-avx512.xml: Likewise. | |
2618 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
2619 | * regformats/i386/amd64-avx512.dat: Likewise. | |
2620 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
2621 | * regformats/i386/i386-avx512.dat: Likewise. | |
2622 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
2623 | * regformats/i386/x32-avx512.dat: Likewise. | |
2624 | * NEWS: Add note about new support for AVX512. | |
2625 | ||
2626 | ||
08351840 PA |
2627 | 2014-04-23 Pedro Alves <palves@redhat.com> |
2628 | ||
2629 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
2630 | breakpoint is set in a user-loaded objfile. | |
2631 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
2632 | location is marked shlib_disabled. If the breakpoint is set in a | |
2633 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
2634 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
2635 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
2636 | flag. | |
2637 | * mem-break.c (memory_validate_breakpoint): New function. | |
2638 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
2639 | function. | |
2640 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
2641 | * target.h (memory_validate_breakpoint): New declaration. | |
2642 | ||
076855f9 PA |
2643 | 2014-04-23 Pedro Alves <palves@redhat.com> |
2644 | ||
2645 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
2646 | the breakpoint is set in a shared library, only suppress | |
2647 | errors for software breakpoints, not hardware breakpoints. | |
2648 | ||
483805cf PA |
2649 | 2014-04-22 Pedro Alves <palves@redhat.com> |
2650 | ||
2651 | * infrun.c (schedlock_applies): New function, factored out from | |
2652 | find_thread_needs_step_over. | |
2653 | (find_thread_needs_step_over): Use it. | |
2654 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
2655 | step over is finished. Return early if scheduler locking applies. | |
2656 | Look for the stepping thread and a potential step-over thread with | |
2657 | a single loop. | |
2658 | (currently_stepping_or_nexting_callback): Delete. | |
2659 | ||
a75fef0e NC |
2660 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
2661 | ||
2662 | * NEWS: Mention that ARM sim now supports tracing. | |
2663 | ||
48b6e87e YQ |
2664 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
2665 | ||
2666 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
2667 | to ... | |
2668 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
2669 | function. | |
2670 | * tracefile.h (tracefile_fetch_registers): Declare. | |
2671 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
2672 | tracefile_fetch_registers. | |
2673 | ||
17617f2d EZ |
2674 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
2675 | ||
2676 | PR gdb/14018 | |
2677 | * windows-nat.c (thread_rec): Don't display a warning when | |
2678 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
2679 | fails for any reason, set th->suspended to -1, so that we don't | |
2680 | try to resume such a thread. Also, don't return NULL in these | |
2681 | cases, to avoid completely ruin the session due to "PC register is | |
2682 | not available" error. | |
2683 | (do_windows_fetch_inferior_registers): Check errors in | |
2684 | GetThreadContext call. | |
2685 | (windows_continue): Accept an additional argument KILLED; if not | |
2686 | zero, ignore errors in the SetThreadContext call, since the | |
2687 | inferior was killed and is shutting down. | |
2688 | (windows_resume, get_windows_debug_event) | |
2689 | (windows_create_inferior, windows_mourn_inferior) | |
2690 | (windows_kill_inferior): All callers of windows_continue changed | |
2691 | to adjust to its new calling sequence. | |
2692 | ||
5723a6fd YQ |
2693 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
2694 | ||
2695 | * ctf.c (ctf_open): Call post_create_inferior. | |
2696 | ||
614d5099 YQ |
2697 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
2698 | ||
2699 | * ctf.c (handle_id): New static variable. | |
2700 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
2701 | value. Get the declaration of event "register" and get length | |
2702 | of field "contents". | |
2703 | ||
dac3e710 YQ |
2704 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
2705 | ||
2706 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
2707 | ||
2bca57ba SC |
2708 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
2709 | ||
2710 | * valops.c (oload_method_static): Remove unnecessary argument | |
2711 | METHOD. Update all callers. | |
2712 | ||
51d48146 PA |
2713 | 2014-04-18 Pedro alves <palves@redhat.com> |
2714 | Tom Tromey <tromey@redhat.com> | |
2715 | ||
2716 | PR backtrace/15558 | |
2717 | * frame.c (get_prev_frame_1): Rename to ... | |
2718 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
2719 | (skip_artificial_frames): Use get_prev_frame_always. | |
2720 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
2721 | (get_frame_unwind_stop_reason): Adjust to rename. | |
2722 | * frame.h (get_prev_frame_always): Declare. | |
2723 | * inline-frame.c: Include frame.h. | |
2724 | (inline_frame_this_id): Use get_prev_frame_always. | |
2725 | ||
1bdad2e0 TG |
2726 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
2727 | ||
2728 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
2729 | code by using bfd_mach_o_get_base_address. | |
2730 | ||
7ce16bd4 UW |
2731 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
2732 | ||
2733 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
2734 | (spu_ax_pseudo_register_collect): New function. | |
2735 | (spu_ax_pseudo_register_push_stack): Likewise. | |
2736 | (spu_dwarf_reg_to_regnum): Likewise. | |
2737 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
2738 | ||
2ed3c037 UW |
2739 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
2740 | ||
2741 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
2742 | Replace FRAME argument with FRAME_ID. | |
2743 | * gdbarch.c, gdbarch.h: Regenerate. | |
2744 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
2745 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
2746 | (value_from_register): Update call to gdbarch_value_from_register. | |
2747 | * value.h (default_value_from_register): Update prototype. | |
2748 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
2749 | and call to default_value_from_register. | |
2750 | * spu-tdep.c (spu_value_from_register): Likewise. | |
2751 | ||
2752 | * findvar.c (address_from_register): Remove TYPE argument. | |
2753 | Do not call value_from_register; use gdbarch_value_from_register | |
2754 | with null_frame_id instead. | |
2755 | * value.h (address_from_register): Update prototype. | |
2756 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
2757 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
2758 | address_from_register interface change. | |
2759 | ||
71e50e83 YQ |
2760 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
2761 | ||
2762 | * gdbtypes.h: Update comments to link to types and macros' | |
2763 | definitions. | |
2764 | ||
7a23c549 SC |
2765 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
2766 | ||
2767 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
2768 | ||
22869d73 KS |
2769 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
2770 | ||
2771 | PR gdb/15827 | |
2772 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
2773 | sibling DIEs fall within range of the current reader's buffer. | |
2774 | (read_partial_die): Likewise. | |
2775 | ||
c4f87ca6 KS |
2776 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
2777 | ||
2778 | PR c++/16597 | |
2779 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
2780 | `this' is NULL, return immediately. | |
2781 | ||
b50c8614 KS |
2782 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
2783 | ||
2784 | PR c++/16253 | |
2785 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
2786 | from symbol_matches_domain in symtab.c. All local callers | |
2787 | of symbol_matches_domain updated. | |
2788 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
2789 | search STRUCT_DOMAIN. | |
2790 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
2791 | independently. standard_lookup will do that automatically. | |
2792 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
2793 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
2794 | (cp_lookup_symbol_in_namespace): Likewise. | |
2795 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
2796 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
2797 | may return a STRUCT_DOMAIN match. | |
2798 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
2799 | * cp-support.c: Include language.h. | |
2800 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
2801 | VAR_DOMAIN. | |
2802 | * psymtab.c (match_partial_symbol): Compare the requested | |
2803 | domain with the symbol's domain directly. | |
2804 | (lookup_partial_symbol): Likewise. | |
2805 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
2806 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
2807 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
2808 | appropriate languages. | |
2809 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
2810 | and moved to ada-lang.c | |
2811 | (lookup_block_symbol): Explain that this function only returns | |
2812 | symbol matching the requested DOMAIN. | |
2813 | Compare the requested domain with the symbol's domain directly. | |
2814 | (iterate_over_symbols): Compare the requested domain with the | |
2815 | symbol's domain directly. | |
2816 | * symtab.h (symbol_matches_domain): Remove. | |
2817 | ||
3d567982 TT |
2818 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
2819 | ||
2820 | PR c++/15246: | |
2821 | * c-exp.y (type_aggregate_p): New function. | |
2822 | (qualified_name, classify_inner_name): Use it. | |
2823 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
2824 | and TYPE_TARGET_TYPE of an enum type. | |
2825 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
2826 | an enum type. | |
2827 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
2828 | handle TYPE_DECLARED_CLASS. | |
2829 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
2830 | types. | |
2831 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
2832 | * valops.c (enum_constant_from_type): New function. | |
2833 | (value_aggregate_elt): Use it. | |
2834 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
2835 | TYPE_CODE_ENUM. | |
2836 | ||
c848d642 TT |
2837 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
2838 | ||
2839 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
2840 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
2841 | const. | |
2842 | * value.h (value_aggregate_elt): Update. | |
2843 | ||
0626fc76 TT |
2844 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
2845 | ||
2846 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
2847 | ||
5ecaaa66 SA |
2848 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2849 | ||
2850 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
2851 | (evaluate_subexp_standard): Pass noside argument. | |
2852 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
2853 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
2854 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
2855 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
2856 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
2857 | ||
1612e0c0 SA |
2858 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2859 | ||
2860 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
2861 | points to a constant blob. | |
2862 | ||
c451ebe5 SA |
2863 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2864 | ||
2865 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
2866 | property and store it as the high bound and flag the range accordingly. | |
2867 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
2868 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
2869 | * gdbtypes.h (enum range_flags): New enum. | |
2870 | (struct range_bounds): Add flags member. | |
2871 | ||
1d42e4c4 SA |
2872 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2873 | ||
2874 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
2875 | check for not yet resolved high bound. If unresolved, print | |
2876 | "variable length" string to the console instead of random | |
2877 | length. | |
2878 | ||
9f1f738a SA |
2879 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2880 | ||
2881 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
2882 | value. | |
2883 | (ada_template_to_fixed_record_type_1): Likewise. | |
2884 | (ada_to_fixed_type_1): Likewise. | |
2885 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
2886 | (cp_print_value): Likewise. | |
2887 | * d-valprint.c (dynamic_array_type): Likewise. | |
2888 | * findvar.c (address_of_variable): Likewise. | |
2889 | * jv-valprint.c (java_value_print): Likewise. | |
2890 | * valops.c (value_ind): Likewise. | |
2891 | * value.c (coerce_ref): Likewise. | |
2892 | ||
3c8452d4 SA |
2893 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2894 | ||
2895 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
2896 | value and retrieve the dynamic type size. | |
2897 | ||
4ad88275 SA |
2898 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2899 | ||
2900 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
2901 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
2902 | ||
80180f79 SA |
2903 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
2904 | Joel Brobecker <brobecker@adacore.com> | |
2905 | ||
2906 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
2907 | (dwarf2_evaluate_property): New function. | |
2908 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
2909 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
2910 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
2911 | attribute. | |
2912 | * gdbtypes.c: Include dwarf2loc.h. | |
2913 | (is_dynamic_type): New function. | |
2914 | (resolve_dynamic_type): New function. | |
2915 | (resolve_dynamic_bounds): New function. | |
2916 | (get_type_length): New function. | |
2917 | (check_typedef): Use get_type_length to compute type length. | |
2918 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
2919 | (TYPE_LOW_BOUND_KIND): New macro. | |
2920 | (is_dynamic_type): New function prototype. | |
2921 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
2922 | to resolve dynamic properties of the type. Update comment. | |
2923 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
2924 | ||
a1556843 RH |
2925 | 2014-04-14 Richard Henderson <rth@redhat.com> |
2926 | ||
2927 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
2928 | ||
0be03e84 DE |
2929 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
2930 | Doug Evans <xdje42@gmail.com> | |
2931 | ||
2932 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
2933 | dereference TYPE_CODE_REF values. | |
2934 | ||
6b662e19 JB |
2935 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
2936 | ||
2937 | Revert the following changes due to regressions: | |
2938 | ||
2939 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
2940 | (dwarf2_evaluate_property): New function. | |
2941 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
2942 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
2943 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
2944 | attribute. | |
2945 | * gdbtypes.c: Include dwarf2loc.h. | |
2946 | (is_dynamic_type): New function. | |
2947 | (resolve_dynamic_type): New function. | |
2948 | (resolve_dynamic_bounds): New function. | |
2949 | (get_type_length): New function. | |
2950 | (check_typedef): Use get_type_length to compute type length. | |
2951 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
2952 | (TYPE_LOW_BOUND_KIND): New macro. | |
2953 | (is_dynamic_type): New function prototype. | |
2954 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
2955 | to resolve dynamic properties of the type. Update comment. | |
2956 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
2957 | ||
2958 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
2959 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
2960 | ||
2961 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
2962 | value and retrieve the dynamic type size. | |
2963 | ||
2964 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
2965 | (ada_template_to_fixed_record_type_1): Likewise. | |
2966 | (ada_to_fixed_type_1): Likewise. | |
2967 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
2968 | (cp_print_value): Likewise. | |
2969 | * d-valprint.c (dynamic_array_type): Likewise. | |
2970 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
2971 | * findvar.c (address_of_variable): Likewise. | |
2972 | * jv-valprint.c (java_value_print): Likewise. | |
2973 | * valops.c (value_ind): Likewise. | |
2974 | * value.c (coerce_ref): Likewise. | |
2975 | ||
2976 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
2977 | check for not yet resolved high bound. If unresolved, print | |
2978 | "variable length" string to the console instead of random | |
2979 | length. | |
2980 | ||
2981 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
2982 | property and store it as the high bound and flag the range accordingly. | |
2983 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
2984 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
2985 | * gdbtypes.h (enum range_flags): New enum. | |
2986 | (struct range_bounds): Add flags member. | |
2987 | ||
2988 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
2989 | points to a constant blob. | |
2990 | ||
2991 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
2992 | (evaluate_subexp_standard): Pass noside argument. | |
2993 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
2994 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
2995 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
2996 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
2997 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
2998 | ||
245a5f0b KS |
2999 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
3000 | ||
3001 | PR c++/16675 | |
3002 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
3003 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
3004 | reference types. | |
3005 | ||
3bce8237 SA |
3006 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
3007 | ||
3008 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
3009 | (evaluate_subexp_standard): Pass noside argument. | |
3010 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
3011 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
3012 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
3013 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
3014 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
3015 | ||
92b09522 SA |
3016 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
3017 | ||
3018 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
3019 | points to a constant blob. | |
3020 | ||
e1969afb SA |
3021 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
3022 | ||
3023 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
3024 | property and store it as the high bound and flag the range accordingly. | |
3025 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
3026 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
3027 | * gdbtypes.h (enum range_flags): New enum. | |
3028 | (struct range_bounds): Add flags member. | |
3029 | ||
b86138fb SA |
3030 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
3031 | ||
3032 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
3033 | check for not yet resolved high bound. If unresolved, print | |
3034 | "variable length" string to the console instead of random | |
3035 | length. | |
3036 | ||
bcd629a4 SA |
3037 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
3038 | ||
3039 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
3040 | (ada_template_to_fixed_record_type_1): Likewise. | |
3041 | (ada_to_fixed_type_1): Likewise. | |
3042 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
3043 | (cp_print_value): Likewise. | |
3044 | * d-valprint.c (dynamic_array_type): Likewise. | |
3045 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
3046 | * findvar.c (address_of_variable): Likewise. | |
3047 | * jv-valprint.c (java_value_print): Likewise. | |
3048 | * valops.c (value_ind): Likewise. | |
3049 | * value.c (coerce_ref): Likewise. | |
3050 | ||
04b19544 SA |
3051 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
3052 | ||
3053 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
3054 | value and retrieve the dynamic type size. | |
3055 | ||
26cb189f SA |
3056 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
3057 | ||
3058 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
3059 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
3060 | ||
37c1ab67 SA |
3061 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
3062 | ||
3063 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
3064 | (dwarf2_evaluate_property): New function. | |
3065 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
3066 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
3067 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
3068 | attribute. | |
3069 | * gdbtypes.c: Include dwarf2loc.h. | |
3070 | (is_dynamic_type): New function. | |
3071 | (resolve_dynamic_type): New function. | |
3072 | (resolve_dynamic_bounds): New function. | |
3073 | (get_type_length): New function. | |
3074 | (check_typedef): Use get_type_length to compute type length. | |
3075 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
3076 | (TYPE_LOW_BOUND_KIND): New macro. | |
3077 | (is_dynamic_type): New function prototype. | |
3078 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
3079 | to resolve dynamic properties of the type. Update comment. | |
3080 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
3081 | ||
729efb13 SA |
3082 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
3083 | ||
3084 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
3085 | declaring high/low bounds and change uses accordingly. Call | |
3086 | create_range_type instead of create_static_range_type. | |
3087 | * gdbtypes.c (create_range_type): New function. | |
3088 | (create_range_type): Convert bounds into struct bound_prop and pass | |
3089 | them to create_range_type. | |
3090 | * gdbtypes.h (struct bound_prop): New struct. | |
3091 | (create_range_type): New function prototype. | |
3092 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
3093 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
3094 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
3095 | part of the bound. | |
3096 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
3097 | ||
0c9c3474 SA |
3098 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
3099 | ||
3100 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
3101 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
3102 | * ada-lang.c: All uses of create_range_type updated. | |
3103 | * coffread.c: All uses of create_range_type updated. | |
3104 | * dwarf2read.c: All uses of create_range_type updated. | |
3105 | * f-exp.y: All uses of create_range_type updated. | |
3106 | * m2-valprint.c: All uses of create_range_type updated. | |
3107 | * mdebugread.c: All uses of create_range_type updated. | |
3108 | * stabsread.c: All uses of create_range_type updated. | |
3109 | * valops.c: All uses of create_range_type updated. | |
3110 | * valprint.c: All uses of create_range_type updated. | |
3111 | ||
9d497a19 PA |
3112 | 2014-04-10 Pedro Alves <palves@redhat.com> |
3113 | ||
3114 | * breakpoint.c (single_step_breakpoints) | |
3115 | (single_step_gdbarch): Move up in the file. | |
3116 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
3117 | (breakpoint_xfer_memory): ... here. Also process single-step | |
3118 | breakpoints. | |
3119 | ||
15a9128a TG |
3120 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
3121 | ||
3122 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
3123 | comments. | |
3124 | (darwin_decode_exception_message): Free port only after use. | |
3125 | ||
9c97a070 PL |
3126 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
3127 | ||
3128 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
3129 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
3130 | when setting the size of call_length. | |
3131 | ||
7af389b8 SC |
3132 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
3133 | ||
3134 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
3135 | dereference TYPE_CODE_REF values. | |
3136 | ||
86ad98c3 JB |
3137 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
3138 | ||
3139 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
3140 | end of warning message. | |
3141 | ||
b0aeadb3 DE |
3142 | 2014-04-03 Doug Evans <dje@google.com> |
3143 | ||
3144 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
3145 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
3146 | ||
5979d6b6 AM |
3147 | 2014-04-02 Alan Modra <amodra@gmail.com> |
3148 | ||
3149 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
3150 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
3151 | (struct symbol_file_add_from_memory_args): Add size field. | |
3152 | (find_vdso_size): New function. | |
3153 | (add_vsyscall_page): Attempt to find vdso size. | |
3154 | ||
0d60c288 DE |
3155 | 2014-04-01 Doug Evans <dje@google.com> |
3156 | ||
3157 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
3158 | ||
a41f2563 TG |
3159 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
3160 | ||
3161 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
3162 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
3163 | (darwin_decode_message): Handle message by id. Ignore message | |
3164 | to unknown inferior. | |
3165 | (darwin_wait): Discard unknown messages, add debug trace. | |
3166 | ||
11a865c8 DE |
3167 | 2014-03-31 Doug Evans <dje@google.com> |
3168 | ||
3169 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
3170 | comp_dir_string. | |
3171 | ||
770e7fc7 DE |
3172 | 2014-03-31 Doug Evans <dje@google.com> |
3173 | ||
3174 | New option "set print symbol-loading". | |
3175 | * NEWS: Mention it. | |
3176 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
3177 | if requested. | |
3178 | (solib_add): If symbol loading is in "brief" mode, notify user | |
3179 | symbols are being loaded. | |
3180 | (reload_shared_libraries_1): Ditto. | |
3181 | * symfile.c (print_symbol_loading_off): New static global. | |
3182 | (print_symbol_loading_brief): New static global. | |
3183 | (print_symbol_loading_full): New static global. | |
3184 | (print_symbol_loading_enums): New static global. | |
3185 | (print_symbol_loading): New static global. | |
3186 | (print_symbol_loading_p): New function. | |
3187 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
3188 | if requested. | |
3189 | (_initialize_symfile): Register "print symbol-loading" set/show | |
3190 | command. | |
3191 | * symfile.h (print_symbol_loading_p): Declare. | |
3192 | ||
c32c64b7 DE |
3193 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
3194 | ||
3195 | * infrun.c (set_last_target_status): New function. | |
3196 | (handle_inferior_event): Call it. | |
3197 | ||
7c0bc051 DE |
3198 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
3199 | ||
3200 | * inferior.h (enum stop_kind): Improve comment. | |
3201 | ||
8776cfe9 JB |
3202 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
3203 | ||
3204 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
3205 | a reference, strip the reference layer before calling | |
3206 | the lang_ops value_has_mutated callback. | |
3207 | ||
410a0ff2 SDJ |
3208 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
3209 | ||
3210 | Remove some globals from our parser. | |
3211 | * language.c (unk_lang_parser): Add "struct parser_state" | |
3212 | argument. | |
3213 | * language.h (struct language_defn) <la_parser>: Likewise. | |
3214 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
3215 | (initialize_expout): Add "struct parser_state" argument. | |
3216 | Rewrite function to use the parser state. | |
3217 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
3218 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
3219 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
3220 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
3221 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
3222 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
3223 | write_dollar_variable): Likewise. | |
3224 | (parse_exp_in_context_1): Use parser state. | |
3225 | (insert_type_address_space): Add "struct parser_state" argument. | |
3226 | Use parser state. | |
3227 | (increase_expout_size): New function. | |
3228 | * parser-defs.h: Forward declare "struct language_defn" and | |
3229 | "struct parser_state". | |
3230 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
3231 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
3232 | accept the parser state. | |
3233 | (struct parser_state): New struct. | |
3234 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
3235 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
3236 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
3237 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
3238 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
3239 | write_exp_msymbol, write_dollar_variable, | |
3240 | mark_struct_expression, insert_type_address_space): Add "struct | |
3241 | parser_state" argument. | |
3242 | (increase_expout_size): New function. | |
3243 | * utils.c (do_clear_parser_state): New function. | |
3244 | (make_cleanup_clear_parser_state): Likewise. | |
3245 | * utils.h (make_cleanup_clear_parser_state): New function | |
3246 | prototype. | |
3247 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
3248 | Update calls to write_exp* in order to pass the parser state. | |
3249 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
3250 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
3251 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
3252 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
3253 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
3254 | (stap_parse_single_operand): Likewise. | |
3255 | (stap_parse_argument_1): Likewise. | |
3256 | (stap_parse_argument): Use parser state. | |
3257 | * stap-probe.h: Include "parser-defs.h". | |
3258 | (struct stap_parse_info) <pstate>: New field. | |
3259 | * c-exp.y (parse_type): Rewrite to use parser state. | |
3260 | (yyparse): Redefine to c_parse_internal. | |
3261 | (pstate): New global variable. | |
3262 | (parse_number): Add "struct parser_state" argument. | |
3263 | (write_destructor_name): Likewise. | |
3264 | (type_exp): Update calls to write_exp* and similars in order to | |
3265 | use parser state. | |
3266 | (exp1, exp, variable, qualified_name, space_identifier, | |
3267 | typename, typebase): Likewise. | |
3268 | (write_destructor_name, parse_number, lex_one_token, | |
3269 | classify_name, classify_inner_name, c_parse): Add "struct | |
3270 | parser_state" argument. Update function to use parser state. | |
3271 | * c-lang.h: Forward declare "struct parser_state". | |
3272 | (c_parse): Add "struct parser_state" argument. | |
3273 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
3274 | (yyparse): Redefine macro to ada_parse_internal. | |
3275 | (pstate): New variable. | |
3276 | (write_int, write_object_renaming, write_var_or_type, | |
3277 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
3278 | type_int, type_long, type_long_long, type_float, type_double, | |
3279 | type_long_double, type_char, type_boolean, type_system_address): | |
3280 | Add "struct parser_state" argument. | |
3281 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
3282 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
3283 | var_or_type, aggregate, aggregate_component_list, | |
3284 | positional_list, others, component_group, | |
3285 | component_associations): Update calls to write_exp* and similar | |
3286 | functions in order to use parser state. | |
3287 | (ada_parse, write_var_from_sym, write_int, | |
3288 | write_exp_op_with_string, write_object_renaming, | |
3289 | find_primitive_type, write_selectors, write_ambiguous_var, | |
3290 | write_var_or_type, write_name_assoc, type_int, type_long, | |
3291 | type_long_long, type_float, type_double, type_long_double, | |
3292 | type_char, type_boolean, type_system_address): Add "struct | |
3293 | parser_state" argument. Adjust function to use parser state. | |
3294 | * ada-lang.c (parse): Likewise. | |
3295 | * ada-lang.h: Forward declare "struct parser_state". | |
3296 | (ada_parse): Add "struct parser_state" argument. | |
3297 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
3298 | calls to both functions. | |
3299 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
3300 | parser state. | |
3301 | (yyparse): Redefine macro to f_parse_internal. | |
3302 | (pstate): New variable. | |
3303 | (parse_number): Add "struct parser_state" argument. | |
3304 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
3305 | and similars in order to use parser state. | |
3306 | (parse_number): Adjust code to use parser state. | |
3307 | (yylex): Likewise. | |
3308 | (f_parse): New function. | |
3309 | * f-lang.h: Forward declare "struct parser_state". | |
3310 | (f_parse): Add "struct parser_state" argument. | |
3311 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
3312 | parser state. | |
3313 | (yyparse): Redefine macro for java_parse_internal. | |
3314 | (pstate): New variable. | |
3315 | (push_expression_name, push_expression_name, insert_exp): Add | |
3316 | "struct parser_state" argument. | |
3317 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
3318 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
3319 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
3320 | PostIncrementExpression, PostDecrementExpression, | |
3321 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
3322 | UnaryExpressionNotPlusMinus, CastExpression, | |
3323 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
3324 | RelationalExpression, EqualityExpression, AndExpression, | |
3325 | ExclusiveOrExpression, InclusiveOrExpression, | |
3326 | ConditionalAndExpression, ConditionalOrExpression, | |
3327 | ConditionalExpression, Assignment, LeftHandSide): Update | |
3328 | calls to write_exp* and similars in order to use parser state. | |
3329 | (parse_number): Ajust code to use parser state. | |
3330 | (yylex): Likewise. | |
3331 | (java_parse): New function. | |
3332 | (push_variable): Add "struct parser_state" argument. Adjust | |
3333 | code to user parser state. | |
3334 | (push_fieldnames, push_qualified_expression_name, | |
3335 | push_expression_name, insert_exp): Likewise. | |
3336 | * jv-lang.h: Forward declare "struct parser_state". | |
3337 | (java_parse): Add "struct parser_state" argument. | |
3338 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
3339 | parser state. | |
3340 | (yyparse): Redefine macro to m2_parse_internal. | |
3341 | (pstate): New variable. | |
3342 | (type_exp, exp, fblock, variable, type): Update calls to | |
3343 | write_exp* and similars to use parser state. | |
3344 | (yylex): Likewise. | |
3345 | (m2_parse): New function. | |
3346 | * m2-lang.h: Forward declare "struct parser_state". | |
3347 | (m2_parse): Add "struct parser_state" argument. | |
3348 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
3349 | * objc-lang.h: Forward declare "struct parser_state". | |
3350 | (end_msglist): Add "struct parser_state" argument. | |
3351 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
3352 | (yyparse): Redefine macro to pascal_parse_internal. | |
3353 | (pstate): New variable. | |
3354 | (parse_number): Add "struct parser_state" argument. | |
3355 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
3356 | write_exp* and similars in order to use parser state. | |
3357 | (parse_number, yylex): Adjust code to use parser state. | |
3358 | (pascal_parse): New function. | |
3359 | * p-lang.h: Forward declare "struct parser_state". | |
3360 | (pascal_parse): Add "struct parser_state" argument. | |
3361 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
3362 | (yyparse): Redefine macro to go_parse_internal. | |
3363 | (pstate): New variable. | |
3364 | (parse_number): Add "struct parser_state" argument. | |
3365 | (type_exp, exp1, exp, variable, type): Update calls to | |
3366 | write_exp* and similars in order to use parser state. | |
3367 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
3368 | to use parser state. | |
3369 | (go_parse): Likewise. | |
3370 | * go-lang.h: Forward declare "struct parser_state". | |
3371 | (go_parse): Add "struct parser_state" argument. | |
3372 | ||
342587c4 DE |
3373 | 2014-03-27 Doug Evans <dje@google.com> |
3374 | ||
3375 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
3376 | ||
33e80786 DE |
3377 | 2014-03-27 Doug Evans <dje@google.com> |
3378 | ||
3379 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
3380 | Remove argument abbrev_section. All callers updated. | |
3381 | ||
1dbab08b DE |
3382 | 2014-03-27 Doug Evans <dje@google.com> |
3383 | ||
3384 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
3385 | addr_base, ranges_base. | |
3386 | ||
318d3177 KS |
3387 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
3388 | ||
3389 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
3390 | types, not VAR_DOMAIN. | |
3391 | ||
1e54db15 SL |
3392 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
3393 | ||
3394 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
3395 | "ra" registers. | |
3396 | * features/nios2-linux.c: Regenerated. | |
3397 | * features/nios2.c: Regenerated. | |
3398 | ||
d3839ede PA |
3399 | 2014-03-25 Pedro Alves <palves@redhat.com> |
3400 | ||
3401 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
3402 | sync mode. | |
3403 | ||
7588d2ec PL |
3404 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
3405 | ||
3406 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
3407 | small stack allocation. | |
3408 | ||
a6290449 TG |
3409 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
3410 | ||
3411 | * darwin-nat.c (exc_server): Remove unused prototype. | |
3412 | (darwin_dump_message): Correctly display data on x86_64. | |
3413 | (darwin_encode_reply): Fix style. | |
3414 | Add comments and fix indentation. | |
3415 | ||
31ae9d24 | 3416 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
3417 | |
3418 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
3419 | ||
6339bfc4 DE |
3420 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
3421 | ||
3422 | * infcmd.c: Whitespace fixes. | |
3423 | (interrupt_command): Merge two function comments into one. | |
3424 | ||
0a07590b DE |
3425 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
3426 | ||
3427 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
3428 | All uses updated. | |
3429 | ||
b55fbac4 YQ |
3430 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
3431 | ||
3432 | * remote.c (target_read_live_memory): Remove. | |
3433 | (memory_xfer_live_readonly_partial): Rename it to | |
3434 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
3435 | All callers updated. Call remote_read_bytes_1 | |
3436 | instead of target_read_live_memory. | |
3437 | * tracepoint.c (set_traceframe_number): Remove. | |
3438 | (make_cleanup_restore_traceframe_number): Likewise . | |
3439 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
3440 | (make_cleanup_restore_traceframe_number): Likewise. | |
3441 | ||
9217e74e YQ |
3442 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
3443 | ||
3444 | * remote.c (remote_read_bytes): Move code on reading from the | |
3445 | remote stub to ... | |
3446 | (remote_read_bytes_1): ... here. New function. | |
3447 | ||
8acf9577 YQ |
3448 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
3449 | ||
3450 | * ctf.c (ctf_xfer_partial): Check the return value of | |
3451 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
3452 | return TARGET_XFER_UNAVAILABLE. | |
3453 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
3454 | * target.c (target_read_live_memory): Move it to remote.c. | |
3455 | (memory_xfer_live_readonly_partial): Likewise. | |
3456 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
3457 | * remote.c (target_read_live_memory): Moved from target.c. | |
3458 | (memory_xfer_live_readonly_partial): Likewise. | |
3459 | (remote_read_bytes): Factored out from | |
3460 | memory_xfer_partial_1. | |
3461 | ||
feef67ab DE |
3462 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
3463 | ||
3464 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
3465 | NULL pointer. | |
3466 | ||
b65dc60b PA |
3467 | 2014-03-21 Pedro Alves <palves@redhat.com> |
3468 | ||
3469 | * infrun.c (normal_stop): Extend comment. | |
3470 | ||
b4ab256d HZ |
3471 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
3472 | Pedro Alves <palves@redhat.com> | |
3473 | ||
3474 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
3475 | static buffer. | |
3476 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
3477 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
3478 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
3479 | ||
deba7593 MR |
3480 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
3481 | ||
3482 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
3483 | `z' formatted output modifier. | |
3484 | ||
1bff71c3 SDJ |
3485 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
3486 | Sergio Durigan Junior <sergiodj@redhat.com> | |
3487 | ||
3488 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
3489 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
3490 | exceptions when parsing probes. Rearrange the code for clarity. | |
3491 | ||
90e28950 TT |
3492 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
3493 | ||
3494 | PR gdb/14135 | |
3495 | * top.c (execute_command): Only dispatch events if the command | |
3496 | started the target. | |
3497 | ||
beb460e8 PA |
3498 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
3499 | ||
3500 | PR cli/15718 | |
3501 | * infcall.c: Include event-top.h. | |
3502 | (run_inferior_call): Call async_disable_stdin if needed. | |
3503 | ||
99619bea PA |
3504 | 2014-03-20 Pedro Alves <palves@redhat.com> |
3505 | ||
3506 | * infrun.c (prepare_to_proceed): Delete. | |
3507 | (thread_still_needs_step_over): New function. | |
3508 | (find_thread_needs_step_over): New function. | |
3509 | (proceed): If the current thread needs a step-over, set its | |
3510 | steping_over_breakpoint flag. Adjust to use | |
3511 | find_thread_needs_step_over instead of prepare_to_proceed. | |
3512 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
3513 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
3514 | breakpoint. | |
3515 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
3516 | threads not the stepping thread, before switching back to the | |
3517 | stepping thread. | |
3518 | ||
2adfaa28 PA |
3519 | 2014-03-20 Pedro Alves <palves@redhat.com> |
3520 | ||
3521 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
3522 | extern. | |
3523 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
3524 | * infrun.c (saved_singlestep_ptid) | |
3525 | (stepping_past_singlestep_breakpoint): Delete. | |
3526 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
3527 | (proceed): Store the prev_pc of the stepping thread too. | |
3528 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
3529 | singlestep_pc. | |
3530 | (enum infwait_states): Delete infwait_thread_hop_state. | |
3531 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
3532 | field. | |
3533 | (handle_inferior_event): Adjust. | |
3534 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
3535 | handling and the thread-hop code. Before removing single-step | |
3536 | breakpoints, check whether the thread hit a single-step breakpoint | |
3537 | of another thread. If it did, the trap is not a random signal. | |
3538 | (switch_back_to_stepped_thread): If the event thread hit a | |
3539 | single-step breakpoint, unblock it before switching to the | |
3540 | stepping thread. Handle the case of the stepped thread having | |
3541 | advanced already. | |
3542 | (keep_going): Handle the case of the current thread moving past a | |
3543 | single-step breakpoint. | |
3544 | ||
31e77af2 PA |
3545 | 2014-03-20 Pedro Alves <palves@redhat.com> |
3546 | ||
3547 | PR breakpoints/7143 | |
3548 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
3549 | are being stepped over. | |
3550 | (breakpoint_address_match): Make extern. | |
3551 | * breakpoint.h (breakpoint_address_match): New declaration. | |
3552 | * inferior.h (stepping_past_instruction_at): New declaration. | |
3553 | * infrun.c (struct step_over_info): New type. | |
3554 | (step_over_info): New global. | |
3555 | (set_step_over_info, clear_step_over_info) | |
3556 | (stepping_past_instruction_at): New functions. | |
3557 | (handle_inferior_event): Clear the step-over info when | |
3558 | trap_expected is cleared. | |
3559 | (resume): Remove now stale comment. | |
3560 | (clear_proceed_status): Clear step-over info. | |
3561 | (proceed): Adjust step-over handling to set or clear the step-over | |
3562 | info instead of removing all breakpoints. | |
3563 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
3564 | breakpoints here. | |
3565 | (stop_stepping): Clear step-over info. | |
3566 | (keep_going): Adjust step-over handling to set or clear step-over | |
3567 | info and then always inserting breakpoints, instead of removing | |
3568 | all breakpoints when stepping over one. | |
3569 | ||
b9f437de PA |
3570 | 2014-03-20 Pedro Alves <palves@redhat.com> |
3571 | ||
3572 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
3573 | (deferred_step_ptid): Delete. | |
3574 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
3575 | (init_wait_for_inferior): Adjust. | |
3576 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
3577 | ||
06c868a8 JK |
3578 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
3579 | ||
3580 | PR gdb/15358 | |
3581 | * defs.h (sync_quit_force_run): New declaration. | |
3582 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
3583 | * event-top.c (async_sigterm_handler): New declaration. | |
3584 | (async_sigterm_token): New variable. | |
3585 | (async_init_signals): Create also async_sigterm_token. | |
3586 | (async_sigterm_handler): New function. | |
3587 | (sync_quit_force_run): New variable. | |
3588 | (handle_sigterm): Replace quit_force call by other calls. | |
3589 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
3590 | ||
dea80df0 MR |
3591 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
3592 | ||
3593 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
3594 | offset into SPE pseudo registers. | |
3595 | ||
0c7e1a46 PA |
3596 | 2014-03-18 Pedro Alves <palves@redhat.com> |
3597 | ||
3598 | PR gdb/13860 | |
3599 | * inferior.h (print_stop_event): Declare. | |
3600 | * infrun.c (print_stop_event): New, factored out from ... | |
3601 | (normal_stop): ... this. | |
3602 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
3603 | of bpstat_print/print_stack_frame. | |
3604 | ||
9c1fcd01 TT |
3605 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
3606 | ||
3607 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
3608 | ||
11aa919a PMR |
3609 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
3610 | ||
3611 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
3612 | minimal coercion for reference with coerce_ref instead of | |
3613 | ada_coerce_ref. | |
3614 | ||
d4ccb5e0 TG |
3615 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
3616 | ||
3617 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
3618 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
3619 | is unhandled. | |
3620 | ||
49840f2a UW |
3621 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
3622 | ||
3623 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
3624 | PyObject_GetAttrString to support Python 2.4. | |
3625 | ||
ed4123e5 JK |
3626 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
3627 | ||
3628 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
3629 | (Global Maintainers): Remove Jan Kratochvil. | |
3630 | ||
d6b64346 PA |
3631 | 2014-03-14 Pedro Alves <palves@redhat.com> |
3632 | ||
3633 | * inferior.h (terminal_ours_for_output): Rename to ... | |
3634 | (child_terminal_ours_for_output): ... this. | |
3635 | (terminal_save_ours): Rename to ... | |
3636 | (child_terminal_save_ours): ... this. | |
3637 | (terminal_ours): Rename to ... | |
3638 | (child_terminal_ours): ... this. | |
3639 | (terminal_inferior): Rename to ... | |
3640 | (child_terminal_inferior): ... this. | |
3641 | (terminal_init_inferior): Rename to ... | |
3642 | (child_terminal_init_inferior): ... this. | |
3643 | (terminal_init_inferior_with_pgrp): Rename to ... | |
3644 | (child_terminal_init_inferior_with_pgrp): ... this. | |
3645 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
3646 | (child_terminal_init_with_pgrp): ... this. | |
3647 | (terminal_save_ours): Rename to ... | |
3648 | (child_terminal_save_ours): ... this. | |
3649 | (terminal_init_inferior): Rename to ... | |
3650 | (child_terminal_init): ... this. Adjust. | |
3651 | (terminal_inferior): Rename to ... | |
3652 | (child_terminal_inferior): ... this. | |
3653 | (terminal_ours_for_output): Rename to ... | |
3654 | (child_terminal_ours_for_output): ... this. Adjust. | |
3655 | (terminal_ours): Rename to ... | |
3656 | (child_terminal_ours): ... this. | |
3657 | (terminal_ours_1): Rename to ... | |
3658 | (child_terminal_ours_1): ... this. Adjust. | |
3659 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
3660 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
3661 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
3662 | (gnu_terminal_init): ... this. Adjust. | |
3663 | (gnu_target): Adjust. | |
3664 | * inf-child.c (inf_child_target): Adjust. | |
3665 | ||
5a1e8c7a DE |
3666 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
3667 | ||
3668 | PR guile/16612 | |
3669 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
3670 | new eq?-hashtab. | |
3671 | ||
350e1a76 DE |
3672 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
3673 | ||
3674 | * value.c (record_latest_value): Call release_value_or_incref | |
3675 | instead of release_value. | |
3676 | ||
a69900ae PA |
3677 | 2014-03-13 Pedro Alves <palves@redhat.com> |
3678 | ||
3679 | * procfs.c (procfs_target): Don't override to_shortname, | |
3680 | to_longname or to_doc. | |
3681 | ||
5db9f0bd PA |
3682 | 2014-03-13 Pedro Alves <palves@redhat.com> |
3683 | ||
3684 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
3685 | Unix in user visible strings. | |
3686 | ||
5e3a2c38 SS |
3687 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
3688 | ||
3689 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
3690 | block comment with some general info. | |
3691 | ||
8bc2fe48 PA |
3692 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3693 | ||
3694 | * infcmd.c (prepare_execution_command): New function, factored out | |
3695 | from several execution commands. | |
3696 | (run_command_1, continue_command, step_1, jump_command) | |
3697 | (signal_command, until_command, advance_command, finish_command) | |
3698 | (attach_command): Use prepare_execution_command. | |
3699 | ||
638c5f49 OJ |
3700 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
3701 | ||
3702 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
3703 | (MAX_BPTS): Define. | |
3704 | (MAX_WPTS): Define. | |
3705 | (struct arm_linux_thread_points): Removed. | |
3706 | (struct arm_linux_process_info): New. | |
3707 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
3708 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
3709 | (arm_linux_find_breakpoints_by_tid): Removed. | |
3710 | (struct arch_lwp_info): New. | |
3711 | (arm_linux_find_process_pid): New functions. | |
3712 | (arm_linux_add_process): New functions. | |
3713 | (arm_linux_process_info_get): New functions. | |
3714 | (arm_linux_forget_process): New function. | |
3715 | (arm_linux_get_debug_reg_state): New function. | |
3716 | (struct update_registers_data): New. | |
3717 | (update_registers_callback): New function. | |
3718 | (arm_linux_insert_hw_breakpoint1): Updated. | |
3719 | (arm_linux_remove_hw_breakpoint1): Updated. | |
3720 | (arm_linux_insert_hw_breakpoint): Updated. | |
3721 | (arm_linux_remove_hw_breakpoint): Updated. | |
3722 | (arm_linux_insert_watchpoint): Updated. | |
3723 | (arm_linux_remove_watchpoint): Updated. | |
3724 | (arm_linux_new_thread): Updated. | |
3725 | (arm_linux_prepare_to_resume): New function. | |
3726 | (arm_linux_new_fork): New function. | |
3727 | (_initialize_arm_linux_nat): Updated. | |
3728 | ||
6d03af93 PA |
3729 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3730 | ||
3731 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
3732 | ||
b3ccfe11 TT |
3733 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
3734 | ||
3735 | * inf-child.c (return_zero): New function. | |
3736 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
3737 | * aix-thread.c (aix_thread_inferior_created): New function. | |
3738 | (aix_thread_attach): Remove. | |
3739 | (init_aix_thread_ops): Don't set to_attach. | |
3740 | (_initialize_aix_thread): Register inferior_created observer. | |
3741 | * corelow.c (init_core_ops): Don't set to_attach or | |
3742 | to_create_inferior. | |
3743 | * exec.c (init_exec_ops): Don't set to_attach or | |
3744 | to_create_inferior. | |
3745 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
3746 | target calls. | |
3747 | (attach_command): Use find_attach_target. Make direct target | |
3748 | calls. | |
3749 | * record-btrace.c (init_record_btrace_ops): Don't set | |
3750 | to_create_inferior. | |
3751 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
3752 | Remove. | |
3753 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
3754 | set to_create_inferior. | |
3755 | * target.c (complete_target_initialization): Add assertion. | |
3756 | (target_create_inferior): Remove. | |
3757 | (find_default_attach, find_default_create_inferior): Remove. | |
3758 | (find_attach_target, find_run_target): New functions. | |
3759 | (find_default_is_async_p, find_default_can_async_p) | |
3760 | (target_supports_non_stop, target_attach): Remove. | |
3761 | (init_dummy_target): Don't set to_create_inferior or | |
3762 | to_supports_non_stop. | |
3763 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
3764 | TARGET_DEFAULT_FUNC. | |
3765 | <to_create_inferior>: Add comment. | |
3766 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
3767 | TARGET_DEFAULT_RETURN. | |
3768 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
3769 | (find_attach_target, find_run_target): Declare. | |
3770 | (target_create_inferior): Remove. | |
3771 | (target_has_execution_1): Update comment. | |
3772 | (target_supports_non_stop): Remove. | |
3773 | * target-delegates.c: Rebuild. | |
3774 | ||
91f83b02 PA |
3775 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3776 | ||
3777 | * inf-child.h: Update comment to not mention Unix. | |
3778 | ||
f1aea813 PA |
3779 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3780 | ||
3781 | * inf-child.c: Update top comment to not mention Unix. Add | |
3782 | generic comment describing how this target is meant to be used. | |
3783 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
3784 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
3785 | Unix in comment. | |
3786 | ||
ee8e9165 PA |
3787 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3788 | ||
3789 | * nto-procfs.c: Include inf-child.h. | |
3790 | (procfs_ops): Delete global. | |
3791 | (procfs_can_run): Delete method. | |
3792 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
3793 | target pointer instead of referencing procfs_ops. | |
3794 | (procfs_prepare_to_store): Delete. | |
3795 | (init_procfs_ops): Delete function. | |
3796 | (procfs_target): New function, based on init_procfs_ops, but | |
3797 | inherit inf_child_target. | |
3798 | (_initialize_procfs): Use procfs_target. | |
3799 | ||
51a9c8c5 PA |
3800 | 2014-03-12 Pedro Alves <palves@redhat.com> |
3801 | ||
3802 | * windows-nat.c: Include inf-child.h. | |
3803 | (windows_ops): Delete global. | |
3804 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
3805 | methods. | |
3806 | (init_windows_ops): Delete function. | |
3807 | (windows_target): New function, based on init_windows_ops, but | |
3808 | inherit inf_child_target. | |
3809 | (_initialize_windows_nat): Use windows_target. Install x86 | |
3810 | specific target methods here. | |
3811 | ||
c1966e26 DE |
3812 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
3813 | ||
3814 | * guile/guile.c (call_initialize_gdb_module): New function. | |
3815 | (initialize_guile): Replace call to scm_init_guile with call to | |
3816 | scm_with_guile. | |
3817 | ||
023db19c JB |
3818 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
3819 | ||
3820 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
3821 | in call to TYPE_CODE macro. | |
3822 | ||
5ec18f2b JG |
3823 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
3824 | ||
8668be63 JB |
3825 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
3826 | Resolve tagged types to full view. | |
5ec18f2b | 3827 | |
7d03f2eb HZ |
3828 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
3829 | ||
3830 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
3831 | comments. | |
3832 | ||
c5164cbc DE |
3833 | 2014-03-07 Doug Evans <dje@google.com> |
3834 | ||
3835 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
3836 | ||
c4a3fee2 DE |
3837 | 2014-03-07 Doug Evans <dje@google.com> |
3838 | ||
3839 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
3840 | Remove unused local comp_dir_attr. Assert exactly one of | |
3841 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
3842 | ||
3156469c JB |
3843 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
3844 | ||
3845 | * target.h (complete_target_initialization, add_target): | |
3846 | Add comment. | |
3847 | ||
c1a7b7c6 PA |
3848 | 2014-03-07 Pedro Alves <palves@redhat.com> |
3849 | ||
3850 | * go32-nat.c: Include inf-child.h. | |
3851 | (go32_ops): Delete global. | |
3852 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
3853 | Delete methods. | |
3854 | (go32_create_inferior): Push the passed in target pointer instead | |
3855 | of referencing go32_ops. | |
3856 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
3857 | (go32_target): New function, based on init_go32_ops, but inherit | |
3858 | inf_child_target. | |
3859 | (_initialize_go32_nat): Use go32_target. Move parts of | |
3860 | init_go32_ops here. | |
3861 | ||
d3c1a85f JB |
3862 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
3863 | ||
3864 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
3865 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
3866 | SYMBOL_VALUE_ADDRESS. | |
3867 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
3868 | ||
5fa1d40e YQ |
3869 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
3870 | ||
3871 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
3872 | optional_p. All callers updated. Adjust comments. Update | |
3873 | output message. | |
3874 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
3875 | ||
0c13193f YQ |
3876 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
3877 | ||
3878 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
3879 | early if get_number returns zero. Use 'p' instead of 'args'. | |
3880 | ||
2217da06 YQ |
3881 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
3882 | ||
3883 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
3884 | message. | |
3885 | ||
cc3da688 YQ |
3886 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
3887 | ||
3888 | PR breakpoints/16508 | |
3889 | * tracepoint.c (check_trace_running): New function. | |
3890 | (trace_find_command): Move code to check_trace_running and | |
3891 | call check_trace_running. | |
3892 | (trace_find_pc_command): Likewise. | |
3893 | (trace_find_tracepoint_command): Likewise. | |
3894 | (trace_find_line_command): Likewise. | |
3895 | (trace_find_range_command): Likewise. | |
3896 | * tracepoint.h (check_trace_running): Likewise. | |
3897 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
3898 | ||
6a5f844b YQ |
3899 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
3900 | ||
3901 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
3902 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
3903 | * target-delegates.c: Regenerated. | |
3904 | ||
0f26cec1 PA |
3905 | 2014-03-05 Pedro Alves <palves@redhat.com> |
3906 | ||
3907 | PR gdb/16575 | |
3908 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
3909 | void. Update comment. | |
3910 | (dcache_xfer_memory): Delete. | |
3911 | (dcache_read_memory_partial): New, based on the read bits of | |
3912 | dcache_xfer_memory. | |
3913 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
3914 | adjust. Discard cache lines if the reason for the update was | |
3915 | error. | |
3916 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
3917 | (dcache_read_memory_partial): New declaration. | |
3918 | (dcache_update): Update prototype. | |
3919 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
3920 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
3921 | ||
b2b255bd MF |
3922 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
3923 | ||
3924 | * remote-sim.c (gdbsim_load): Add const to prog. | |
3925 | ||
5d9cf8a4 TT |
3926 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
3927 | ||
3928 | * elfread.c (probe_key): Change to bfd_data. | |
3929 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
3930 | now per-BFD, not per-objfile. | |
3931 | * stap-probe.c (stap_probe_destroy): Update comment. | |
3932 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
3933 | ||
729662a5 TT |
3934 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
3935 | ||
3936 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
3937 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
3938 | get_probe_address. | |
3939 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
3940 | (bkpt_probe_remove_location): Update. | |
3941 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
3942 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
3943 | (elf_probe_fns): Update. | |
3944 | (insert_exception_resume_breakpoint): Change type of "probe" | |
3945 | parameter to bound_probe. | |
3946 | (check_exception_resume): Update. | |
3947 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
3948 | * probe.c (bound_probe_s): New typedef. | |
3949 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
3950 | (find_probe_by_pc): Return a bound_probe. | |
3951 | (collect_probes): Return a VEC(bound_probe_s). | |
3952 | (compare_probes): Update. | |
3953 | (gen_ui_out_table_header_info): Change type of "probes" | |
3954 | parameter. Update. | |
3955 | (info_probes_for_ops): Update. | |
3956 | (get_probe_address): New function. | |
3957 | (probe_safe_evaluate_at_pc): Update. | |
3958 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
3959 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
3960 | (struct probe) <objfile>: Remove field. | |
3961 | <arch>: New field. | |
3962 | <address>: Update comment. | |
3963 | (struct bound_probe): New. | |
3964 | (find_probe_by_pc): Return a bound_probe. | |
3965 | (get_probe_address): Declare. | |
3966 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
3967 | (hash_probe_and_action, equal_probe_and_action): Update. | |
3968 | (register_solib_event_probe): Add address parameter. | |
3969 | (solib_event_probe_at): Update. | |
3970 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
3971 | get_probe_address. | |
3972 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
3973 | (stap_get_probe_address): New function. | |
3974 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
3975 | (compile_probe_arg): Update. | |
3976 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
3977 | address. | |
3978 | (handle_stap_probe): Don't relocate the probe. | |
3979 | (stap_relocate): Remove. | |
3980 | (stap_gen_info_probes_table_values): Update. | |
3981 | (stap_probe_ops): Remove stap_relocate. | |
3982 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
3983 | (debug_sym_probe_fns): Update. | |
3984 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
3985 | * symtab.c (init_sal): Use memset. | |
3986 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
3987 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
3988 | ||
ff887920 TT |
3989 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
3990 | ||
3991 | * probe.h (parse_probes, find_probe_by_pc) | |
3992 | (find_probes_in_objfile): Fix comments. | |
3993 | ||
f0407826 DE |
3994 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
3995 | ||
3996 | * infrun.c (handle_signal_stop): Replace test for | |
3997 | TARGET_WAITKIND_STOPPED with an assert. | |
3998 | ||
35e6a711 DE |
3999 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
4000 | ||
4001 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
4002 | ||
667f9d0b DE |
4003 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
4004 | ||
4005 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
4006 | ||
dc92ace0 MK |
4007 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
4008 | ||
4009 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
4010 | ||
a900370f MK |
4011 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
4012 | ||
4013 | * i386obsd-nat.c: Include "obsd-nat.h". | |
4014 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
4015 | add_target. | |
4016 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
4017 | ||
b72a7981 MK |
4018 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
4019 | ||
4020 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
4021 | ||
96c70aba MK |
4022 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
4023 | ||
4024 | * mips64obsd-nat.c: Include "obsd-nath". | |
4025 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
4026 | add_target | |
4027 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
4028 | ||
874a80af MK |
4029 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
4030 | ||
8fd408f1 MK |
4031 | * amd64obsd-nat.c: Include "obsd-nat,h. |
4032 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
4033 | add_target. | |
874a80af MK |
4034 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
4035 | ||
9cf95373 SC |
4036 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
4037 | ||
4038 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
4039 | (find_overload_match): Update call to find_oload_champ. | |
4040 | (find_oload_champ_namespace_loop): Likewise | |
4041 | ||
863e4da4 MK |
4042 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
4043 | ||
025cac40 MK |
4044 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
4045 | ||
1ed586ce MK |
4046 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
4047 | * config/sparc/obsd64.mh: New file. | |
4048 | * sparc64obsd-nat.c: New file. | |
4049 | ||
863e4da4 MK |
4050 | * obsd-nat.h: New file. |
4051 | * obsd-nat.c: New file. | |
4052 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
4053 | (ALLDEPFILES): Add obsd-nat.c. | |
4054 | ||
89de4da4 TT |
4055 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
4056 | ||
4057 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
4058 | * cli-out.h (cli_ui_out_impl): Now const. | |
4059 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
4060 | * ui-out.c (struct ui_out) <impl>: Now const. | |
4061 | (default_ui_out_impl): Now const. | |
4062 | (ui_out_new): Make 'impl' parameter const. | |
4063 | * ui-out.h (ui_out_new): Update. | |
4064 | ||
c725e7b6 MK |
4065 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
4066 | ||
4067 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
4068 | ||
670b46b3 MK |
4069 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
4070 | ||
4071 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
4072 | ||
c91550fc JK |
4073 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
4074 | ||
4075 | Additional PR 8882 fix. | |
4076 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
4077 | ||
2fa0369e PA |
4078 | 2014-02-27 Pedro Alves <palves@redhat.com> |
4079 | ||
4080 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
4081 | isn't set. | |
4082 | ||
d632a097 PA |
4083 | 2014-02-27 Pedro Alves <palves@redhat.com> |
4084 | ||
4085 | PR 12702 | |
4086 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
4087 | * nat/linux-waitpid.c: Include string.h. | |
4088 | (status_to_str): Moved here and made extern. | |
4089 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
4090 | ||
2ebd5a35 HZ |
4091 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
4092 | ||
4093 | PR 12702 | |
4094 | * infrun.c (ptid_match): Move ... | |
4095 | * common/ptid.c (ptid_match): ... here. | |
4096 | * inferior.h (ptid_match): Move ... | |
4097 | * common/ptid.h (ptid_match): ... here. | |
4098 | ||
3cdd631f MK |
4099 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
4100 | ||
4101 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
4102 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
4103 | gdb_target_obs. | |
4104 | ||
bee30a64 MK |
4105 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
4106 | ||
4107 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
4108 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
4109 | |
4110 | * gdbarch.sh (auxv_parse): New. | |
4111 | * gdbarch.h: Regenerated. | |
4112 | * gdbarch.c: Regenerated. | |
4113 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
4114 | ||
7a5a839f LC |
4115 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
4116 | ||
4117 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
4118 | (value_functions): Add it. | |
4119 | ||
31aa7e4e JB |
4120 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
4121 | ||
4122 | * dwarf2read.c (attr_value_as_address): New function. | |
4123 | (dwarf2_find_base_address, read_call_site_scope): Use | |
4124 | attr_value_as_address in place of DW_ADDR. | |
4125 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
4126 | the low and high addresses. Slight rework of the handling | |
4127 | of the high pc being a constant form, and limit it to | |
4128 | DWARF verson 4 or higher. | |
4129 | (dwarf2_record_block_ranges): Likewise. | |
4130 | (read_partial_die): Likewise. | |
4131 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
4132 | ||
9b333ba3 TT |
4133 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4134 | ||
4135 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
4136 | ||
5f6cac40 TT |
4137 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4138 | ||
4139 | * elfread.c (elf_read_minimal_symbols): Return early if | |
4140 | minimal symbols have already been read. Add "ei" parameter. | |
4141 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
4142 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
4143 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
4144 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
4145 | * symmisc.c (print_objfile_statistics): Update. | |
4146 | ||
2750ef27 TT |
4147 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4148 | ||
4149 | * elfread.c (elf_read_minimal_symbols): New function, from | |
4150 | elf_symfile_read. | |
4151 | (elf_symfile_read): Call it. | |
4152 | ||
34643a32 TT |
4153 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4154 | ||
4155 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
4156 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
4157 | (lookup_minimal_symbol_solib_trampoline) | |
4158 | (lookup_minimal_symbol_by_pc_section_1) | |
4159 | (lookup_minimal_symbol_and_objfile): Update. | |
4160 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
4161 | Don't allocate a minimal symbol if minsyms have already been read. | |
4162 | (build_minimal_symbol_hash_tables): Update. | |
4163 | (install_minimal_symbols): Do nothing if minsyms already read. | |
4164 | Use the per-BFD obstack. | |
4165 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
4166 | * objfiles.c (allocate_objfile): Call | |
4167 | terminate_minimal_symbol_table later. | |
4168 | (have_minimal_symbols): Update. | |
4169 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
4170 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
4171 | Move from struct objfile. | |
4172 | <minsyms_read>: New field. | |
4173 | (struct objfile) <msymbols, minimal_symbol_count, | |
4174 | msymbol_hash, msymbol_demangled_hash>: Move. | |
4175 | (ALL_OBJFILE_MSYMBOLS): Update. | |
4176 | * symfile.c (read_symbols): Set minsyms_read. | |
4177 | (reread_symbols): Update. | |
4178 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
4179 | ||
2273f0ac TT |
4180 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4181 | ||
4182 | * minsyms.c (msymbols_sort): Remove. | |
4183 | * minsyms.h (msymbols_sort): Remove. | |
4184 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
4185 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
4186 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
4187 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
4188 | to minimal symbol address. | |
4189 | * somread.c (text_offset, data_offset): Remove. | |
4190 | (som_symtab_read): Don't add section offsets to minimal symbol | |
4191 | addresses. | |
4192 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
4193 | Don't add section offsets to minimal symbols. | |
4194 | * coffread.c (coff_symtab_read): Don't add section offsets | |
4195 | to minimal symbol addresses. | |
4196 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
4197 | to minimal symbol addresses. | |
4198 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
4199 | section offset to minimal symbol addresses. | |
4200 | * mdebugread.c (parse_partial_symbols): Don't add section | |
4201 | offset to minimal symbol addresses. | |
4202 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
4203 | offset to minimal symbol addresses. | |
4204 | ||
77e371c0 TT |
4205 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4206 | ||
4207 | * ada-lang.c (ada_main_name): Update. | |
4208 | (ada_add_standard_exceptions): Update. | |
4209 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
4210 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
4211 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
4212 | * auxv.c (ld_so_xfer_auxv): Update. | |
4213 | * avr-tdep.c (avr_scan_prologue): Update. | |
4214 | * ax-gdb.c (gen_var_ref): Update. | |
4215 | * blockframe.c (get_pc_function_start) | |
4216 | (find_pc_partial_function_gnu_ifunc): Update. | |
4217 | * breakpoint.c (create_overlay_event_breakpoint) | |
4218 | (create_longjmp_master_breakpoint) | |
4219 | (create_std_terminate_master_breakpoint) | |
4220 | (create_exception_master_breakpoint): Update. | |
4221 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
4222 | * c-valprint.c (c_val_print): Update. | |
4223 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
4224 | * common/agent.c (agent_look_up_symbols): Update. | |
4225 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
4226 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
4227 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
4228 | * elfread.c (elf_gnu_ifunc_record_cache) | |
4229 | (elf_gnu_ifunc_resolve_by_got): Update. | |
4230 | * findvar.c (default_read_var_value): Update. | |
4231 | * frame.c (inside_main_func): Update. | |
4232 | * frv-tdep.c (frv_frame_this_id): Update. | |
4233 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
4234 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
4235 | Update. | |
4236 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
4237 | (hppa_hpux_find_dummy_bpaddr): Update. | |
4238 | * hppa-tdep.c (hppa_symbol_address): Update. | |
4239 | * infcmd.c (until_next_command): Update. | |
4240 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
4241 | Update. | |
4242 | * linespec.c (minsym_found, add_minsym): Update. | |
4243 | * linux-nat.c (get_signo): Update. | |
4244 | * linux-thread-db.c (inferior_has_bug): Update. | |
4245 | * m32c-tdep.c (m32c_return_value) | |
4246 | (m32c_m16c_address_to_pointer): Update. | |
4247 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
4248 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
4249 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
4250 | * maint.c (maintenance_translate_address): Update. | |
4251 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
4252 | (frob_address): New function. | |
4253 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
4254 | frob_address. Rename parameter to "pc_in". | |
4255 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
4256 | addresses. | |
4257 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
4258 | Update. | |
4259 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
4260 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
4261 | * objc-lang.c (find_objc_msgsend): Update. | |
4262 | * objfiles.c (objfile_relocate1): Update. | |
4263 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
4264 | * p-valprint.c (pascal_val_print): Update. | |
4265 | * parse.c (write_exp_msymbol): Update. | |
4266 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
4267 | (ppc_elfv2_skip_entrypoint): Update. | |
4268 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
4269 | * printcmd.c (build_address_symbolic, msym_info) | |
4270 | (address_info): Update. | |
4271 | * proc-service.c (ps_pglobal_lookup): Update. | |
4272 | * psymtab.c (find_pc_sect_psymtab_closer) | |
4273 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
4274 | Change msymbol parameter to bound_minimal_symbol. | |
4275 | * ravenscar-thread.c (get_running_thread_id): Update. | |
4276 | * remote.c (remote_check_symbols): Update. | |
4277 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
4278 | address. | |
4279 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
4280 | * solib-dsbt.c (lm_base): Update. | |
4281 | * solib-frv.c (lm_base, main_got): Update. | |
4282 | * solib-irix.c (locate_base): Update. | |
4283 | * solib-som.c (som_solib_create_inferior_hook) | |
4284 | (link_map_start): Update. | |
4285 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
4286 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
4287 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
4288 | (flush_ea_cache): Update. | |
4289 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
4290 | * stack.c (find_frame_funname): Update. | |
4291 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
4292 | (debug_qf_find_pc_sect_symtab): Update. | |
4293 | * symfile.c (simple_read_overlay_table) | |
4294 | (simple_overlay_update): Update. | |
4295 | * symfile.h (struct quick_symbol_functions) | |
4296 | <find_pc_sect_symtab>: Change type of msymbol to | |
4297 | bound_minimal_symbol. | |
4298 | * symmisc.c (dump_msymbols): Update. | |
4299 | * symtab.c (find_pc_sect_symtab_via_partial) | |
4300 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
4301 | (search_symbols, print_msymbol_info): Update. | |
4302 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
4303 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
4304 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
4305 | * tracepoint.c (scope_info): Update. | |
4306 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
4307 | (tui_get_begin_asm_address): Update. | |
4308 | * valops.c (find_function_in_inferior): Update. | |
4309 | * value.c (value_static_field, value_fn_field): Update. | |
4310 | ||
3b7344d5 TT |
4311 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4312 | ||
4313 | * ada-lang.c (ada_update_initial_language): Update. | |
4314 | (ada_main_name, ada_has_this_exception_support): Update. | |
4315 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
4316 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
4317 | * arm-tdep.c (arm_skip_stub): Update. | |
4318 | * auxv.c (ld_so_xfer_auxv): Update. | |
4319 | * avr-tdep.c (avr_scan_prologue): Update. | |
4320 | * ax-gdb.c (gen_var_ref): Update. | |
4321 | * breakpoint.c (struct breakpoint_objfile_data) | |
4322 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
4323 | type to bound_minimal_symbol. | |
4324 | (create_overlay_event_breakpoint) | |
4325 | (create_longjmp_master_breakpoint) | |
4326 | (create_std_terminate_master_breakpoint) | |
4327 | (create_exception_master_breakpoint): Update. | |
4328 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
4329 | * c-exp.y (classify_name): Update. | |
4330 | * coffread.c (coff_symfile_read): Update. | |
4331 | * common/agent.c (agent_look_up_symbols): Update. | |
4332 | * d-lang.c (d_main_name): Update. | |
4333 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
4334 | * dec-thread.c (enable_dec_thread): Update. | |
4335 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
4336 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
4337 | * eval.c (evaluate_subexp_standard): Update. | |
4338 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
4339 | to bound_minimal_symbol. | |
4340 | <objfile>: Remove. | |
4341 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
4342 | * frame.c (inside_main_func): Update. | |
4343 | * frv-tdep.c (frv_frame_this_id): Update. | |
4344 | * gcore.c (call_target_sbrk): Update. | |
4345 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
4346 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
4347 | Update. | |
4348 | * go-lang.c (go_main_name): Update. | |
4349 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
4350 | (hppa_hpux_find_import_stub_for_addr): Update. | |
4351 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
4352 | Update. Change return type. | |
4353 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
4354 | type. | |
4355 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
4356 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
4357 | Update. | |
4358 | * linux-nat.c (get_signo): Update. | |
4359 | * linux-thread-db.c (inferior_has_bug): Update | |
4360 | * m32c-tdep.c (m32c_return_value) | |
4361 | (m32c_m16c_address_to_pointer): Update. | |
4362 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
4363 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
4364 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
4365 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
4366 | lookup_minimal_symbol. Change return type. | |
4367 | (lookup_minimal_symbol): Remove. | |
4368 | (lookup_bound_minimal_symbol): Update. | |
4369 | (lookup_minimal_symbol_text): Change return type. | |
4370 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
4371 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
4372 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
4373 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
4374 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
4375 | (value_nsstring, find_imps): Update. | |
4376 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
4377 | * p-lang.c (pascal_main_name): Update. | |
4378 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
4379 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
4380 | * proc-service.c (ps_pglobal_lookup): Update. | |
4381 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
4382 | return type. | |
4383 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
4384 | * remote.c (remote_check_symbols): Update. | |
4385 | * sol-thread.c (ps_pglobal_lookup): Update. | |
4386 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
4387 | * solib-dsbt.c (lm_base): Update. | |
4388 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
4389 | Update. | |
4390 | * solib-irix.c (locate_base): Update. | |
4391 | * solib-som.c (som_solib_create_inferior_hook) | |
4392 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
4393 | Update. | |
4394 | * solib-spu.c (spu_enable_break): Update. | |
4395 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
4396 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
4397 | (flush_ea_cache): Update. | |
4398 | * stabsread.c (define_symbol): Update. | |
4399 | * symfile.c (simple_read_overlay_table): Update. | |
4400 | * symtab.c (find_pc_sect_line): Update. | |
4401 | * tracepoint.c (scope_info): Update. | |
4402 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
4403 | * value.c (value_static_field): Update. | |
4404 | ||
40c1a007 TT |
4405 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4406 | ||
4407 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
4408 | SET_MSYMBOL_VALUE_ADDRESS. | |
4409 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
4410 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
4411 | SET_MSYMBOL_VALUE_ADDRESS. | |
4412 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
4413 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
4414 | ||
efd66ac6 TT |
4415 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4416 | ||
4417 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
4418 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
4419 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
4420 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
4421 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
4422 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
4423 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
4424 | * ada-lang.c (ada_main_name): Update. | |
4425 | (ada_lookup_simple_minsym): Update. | |
4426 | (ada_make_symbol_completion_list): Update. | |
4427 | (ada_add_standard_exceptions): Update. | |
4428 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
4429 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
4430 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
4431 | * arm-tdep.c (skip_prologue_function): Update. | |
4432 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
4433 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
4434 | (arm_wince_skip_main_prologue): Update. | |
4435 | * auxv.c (ld_so_xfer_auxv): Update. | |
4436 | * avr-tdep.c (avr_scan_prologue): Update. | |
4437 | * ax-gdb.c (gen_var_ref): Update. | |
4438 | * block.c (call_site_for_pc): Update. | |
4439 | * blockframe.c (get_pc_function_start): Update. | |
4440 | (find_pc_partial_function_gnu_ifunc): Update. | |
4441 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
4442 | (create_longjmp_master_breakpoint): Update. | |
4443 | (create_std_terminate_master_breakpoint): Update. | |
4444 | (create_exception_master_breakpoint): Update. | |
4445 | (resolve_sal_pc): Update. | |
4446 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
4447 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
4448 | Update. | |
4449 | * c-valprint.c (c_val_print): Update. | |
4450 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
4451 | * coffread.c (coff_symfile_read): Update. | |
4452 | * common/agent.c (agent_look_up_symbols): Update. | |
4453 | * dbxread.c (find_stab_function_addr): Update. | |
4454 | (end_psymtab): Update. | |
4455 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
4456 | (func_verify_no_selftailcall): Update. | |
4457 | (tailcall_dump): Update. | |
4458 | (call_site_find_chain_1): Update. | |
4459 | (dwarf_expr_reg_to_entry_parameter): Update. | |
4460 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
4461 | (elf_gnu_ifunc_resolve_by_got): Update. | |
4462 | * f-valprint.c (info_common_command): Update. | |
4463 | * findvar.c (read_var_value): Update. | |
4464 | * frame.c (get_prev_frame_1): Update. | |
4465 | (inside_main_func): Update. | |
4466 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
4467 | (frv_frame_this_id): Update. | |
4468 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
4469 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
4470 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
4471 | (gnuv3_skip_trampoline): Update. | |
4472 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
4473 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
4474 | (hppa_hpux_skip_trampoline_code): Update. | |
4475 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
4476 | (hppa_hpux_find_import_stub_for_addr): Update. | |
4477 | (hppa_hpux_find_dummy_bpaddr): Update. | |
4478 | * hppa-tdep.c (hppa_symbol_address) | |
4479 | (hppa_lookup_stub_minimal_symbol): Update. | |
4480 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
4481 | (i386_pe_skip_trampoline_code): Update. | |
4482 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
4483 | * infcall.c (get_function_name): Update. | |
4484 | * infcmd.c (until_next_command): Update. | |
4485 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
4486 | (jit_inferior_init): Update. | |
4487 | * linespec.c (minsym_found): Update. | |
4488 | (add_minsym): Update. | |
4489 | * linux-fork.c (info_checkpoints_command): Update. | |
4490 | * linux-nat.c (get_signo): Update. | |
4491 | * linux-thread-db.c (inferior_has_bug): Update. | |
4492 | * m32c-tdep.c (m32c_return_value): Update. | |
4493 | (m32c_m16c_address_to_pointer): Update. | |
4494 | (m32c_m16c_pointer_to_address): Update. | |
4495 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
4496 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
4497 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
4498 | * maint.c (maintenance_translate_address): Update. | |
4499 | * minsyms.c (add_minsym_to_hash_table): Update. | |
4500 | (add_minsym_to_demangled_hash_table): Update. | |
4501 | (msymbol_objfile): Update. | |
4502 | (lookup_minimal_symbol): Update. | |
4503 | (iterate_over_minimal_symbols): Update. | |
4504 | (lookup_minimal_symbol_text): Update. | |
4505 | (lookup_minimal_symbol_by_pc_name): Update. | |
4506 | (lookup_minimal_symbol_solib_trampoline): Update. | |
4507 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
4508 | (lookup_minimal_symbol_and_objfile): Update. | |
4509 | (prim_record_minimal_symbol_full): Update. | |
4510 | (compare_minimal_symbols): Update. | |
4511 | (compact_minimal_symbols): Update. | |
4512 | (build_minimal_symbol_hash_tables): Update. | |
4513 | (install_minimal_symbols): Update. | |
4514 | (terminate_minimal_symbol_table): Update. | |
4515 | (find_solib_trampoline_target): Update. | |
4516 | (minimal_symbol_upper_bound): Update. | |
4517 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
4518 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
4519 | (mips_skip_pic_trampoline_code): Update. | |
4520 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
4521 | * objc-lang.c (selectors_info): Update. | |
4522 | (classes_info): Update. | |
4523 | (find_methods): Update. | |
4524 | (find_imps): Update. | |
4525 | (find_objc_msgsend): Update. | |
4526 | * objfiles.c (objfile_relocate1): Update. | |
4527 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
4528 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
4529 | * p-valprint.c (pascal_val_print): Update. | |
4530 | * parse.c (write_exp_msymbol): Update. | |
4531 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
4532 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
4533 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
4534 | * printcmd.c (build_address_symbolic): Update. | |
4535 | (sym_info): Update. | |
4536 | (address_info): Update. | |
4537 | * proc-service.c (ps_pglobal_lookup): Update. | |
4538 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
4539 | (find_pc_sect_psymtab): Update. | |
4540 | * python/py-framefilter.c (py_print_frame): Update. | |
4541 | * ravenscar-thread.c (get_running_thread_id): Update. | |
4542 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
4543 | Update. | |
4544 | * remote.c (remote_check_symbols): Update. | |
4545 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
4546 | (rs6000_skip_trampoline_code): Update. | |
4547 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
4548 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
4549 | * solib-dsbt.c (lm_base): Update. | |
4550 | * solib-frv.c (lm_base): Update. | |
4551 | (main_got): Update. | |
4552 | * solib-irix.c (locate_base): Update. | |
4553 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
4554 | (som_solib_desire_dynamic_linker_symbols): Update. | |
4555 | (link_map_start): Update. | |
4556 | * solib-spu.c (spu_enable_break): Update. | |
4557 | (ocl_enable_break): Update. | |
4558 | * solib-svr4.c (elf_locate_base): Update. | |
4559 | (enable_break): Update. | |
4560 | * spu-tdep.c (spu_get_overlay_table): Update. | |
4561 | (spu_catch_start): Update. | |
4562 | (flush_ea_cache): Update. | |
4563 | * stabsread.c (define_symbol): Update. | |
4564 | (scan_file_globals): Update. | |
4565 | * stack.c (find_frame_funname): Update. | |
4566 | (frame_info): Update. | |
4567 | * symfile.c (simple_read_overlay_table): Update. | |
4568 | (simple_overlay_update): Update. | |
4569 | * symmisc.c (dump_msymbols): Update. | |
4570 | * symtab.c (fixup_section): Update. | |
4571 | (find_pc_sect_line): Update. | |
4572 | (skip_prologue_sal): Update. | |
4573 | (search_symbols): Update. | |
4574 | (print_msymbol_info): Update. | |
4575 | (rbreak_command): Update. | |
4576 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
4577 | (completion_list_objc_symbol): Update. | |
4578 | (default_make_symbol_completion_list_break_on): Update. | |
4579 | * tracepoint.c (scope_info): Update. | |
4580 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
4581 | (tui_get_begin_asm_address): Update. | |
4582 | * valops.c (find_function_in_inferior): Update. | |
4583 | * value.c (value_static_field): Update. | |
4584 | (value_fn_field): Update. | |
4585 | ||
50e65b17 TT |
4586 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
4587 | ||
4588 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
4589 | bound minimal symbols. Move code that knows about minsym | |
4590 | table layout... | |
4591 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
4592 | function. | |
4593 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
4594 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
4595 | minimal_symbol_upper_bound. | |
4596 | ||
1b588015 JB |
4597 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
4598 | ||
4599 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
4600 | Use the type's name if its basic type does not have a tag. | |
4601 | ||
dbb9c2b1 JB |
4602 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
4603 | ||
4604 | * dwarf2read.c (read_subrange_type): Add comment. | |
4605 | ||
55426c9d JB |
4606 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
4607 | ||
4608 | * dwarf2read.c (update_enumeration_type_from_children): New | |
4609 | function, mostly extracted from process_structure_scope. | |
4610 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
4611 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
4612 | and flag_flag_enum fields. | |
4613 | ||
f2fce0ca PA |
4614 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4615 | ||
4616 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
4617 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
4618 | to_xfer_partial method. | |
4619 | ||
7a44e40e PA |
4620 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4621 | ||
4622 | * target.c (complete_target_initialization): Don't install | |
4623 | default_xfer_partial as to_xfer_partial hook. | |
4624 | (nomemory): Delete. | |
4625 | (update_current_target): Don't INHERIT nor de_fault | |
4626 | deprecated_xfer_memory. Delete de_fault macro. | |
4627 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
4628 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
4629 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
4630 | field. | |
4631 | ||
bd265cd0 PA |
4632 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4633 | ||
4634 | * go32-nat.c (my_write_child): New function. | |
4635 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
4636 | (go32_xfer_partial): New function. | |
4637 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
4638 | Instead install a to_xfer_partial hook. | |
4639 | ||
9d46c4e5 PA |
4640 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4641 | ||
4642 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
4643 | to_xfer_partial helper. Rewrite. | |
4644 | (procfs_xfer_partial): New function. | |
4645 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
4646 | Install a to_xfer_partial hook. | |
4647 | ||
a1583b1f PA |
4648 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4649 | ||
4650 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
4651 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
4652 | (m32r_xfer_partial): New function. | |
4653 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
4654 | Install a to_xfer_partial hook. | |
4655 | ||
6df1b29f PA |
4656 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4657 | ||
4658 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
4659 | helper. | |
4660 | (mips_xfer_partial): New function. | |
4661 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
4662 | hook. Install a to_xfer_partial hook. | |
4663 | ||
dc53a7ad JB |
4664 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
4665 | ||
4666 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
4667 | * gdbtypes.c (create_array_type_with_stride): New function, | |
4668 | renaming create_array_type, but with an added parameter | |
4669 | called "bit_stride". | |
4670 | (create_array_type): Re-implement using | |
4671 | create_array_type_with_stride. | |
4672 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
4673 | and DW_AT_bit_stride attributes. | |
4674 | ||
12ab52e9 PA |
4675 | 2014-02-26 Pedro Alves <palves@redhat.com> |
4676 | ||
4677 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
4678 | task-specific breakpoints. | |
4679 | ||
d16461ae PA |
4680 | 2014-02-25 Pedro Alves <palves@redhat.com> |
4681 | ||
4682 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
4683 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
4684 | ||
a8b16220 SS |
4685 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
4686 | ||
4687 | * defs.h: Annotate comments for Doxygen. | |
4688 | ||
b9e795ee TT |
4689 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
4690 | ||
4691 | * target.h (target_ignore): Don't declare. | |
4692 | * target.c (target_ignore): Remove. | |
4693 | ||
849c862e JK |
4694 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
4695 | ||
4696 | PR gdb/16626 | |
4697 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
4698 | debugfile. | |
4699 | ||
475109d8 JB |
4700 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
4701 | ||
4702 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
4703 | documentation. Adjust prototype to match the target_ops | |
4704 | to_xfer_partial method. Adjust implementation accordingly. | |
4705 | ||
e186c3bd HZ |
4706 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
4707 | ||
4708 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
4709 | to_traceframe_info. | |
4710 | ||
6d451942 KB |
4711 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
4712 | ||
041ab8b4 | 4713 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
4714 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
4715 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
4716 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
4717 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
4718 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
4719 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
4720 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
4721 | New constants. | |
4722 | (rl78_register_type): Use a data pointer type for SP and | |
4723 | new pseudo registers mentioned above. Use a 16 bit integer | |
4724 | type for all other register pairs. | |
4725 | (rl78_register_name, rl78_g10_register_name): Update for | |
4726 | new pseudo registers. | |
4727 | (rl78_pseudo_register_read): Likewise. | |
4728 | (rl78_pseudo_register_write): Likewise. | |
4729 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
4730 | to the newly added pseudo registers. | |
4731 | ||
eddf0bae DE |
4732 | 2014-02-24 Doug Evans <dje@google.com> |
4733 | ||
4734 | * value.c (record_latest_value): Fix comment. | |
4735 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
4736 | record_latest_value. | |
4737 | ||
e96027e0 PA |
4738 | 2014-02-24 Pedro Alves <palves@redhat.com> |
4739 | ||
4740 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
4741 | deprecated_xfer_memory hook. | |
4742 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
4743 | of the deprecated_xfer_memory target hook. | |
4744 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
4745 | helper. | |
4746 | ||
0837c976 YZ |
4747 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
4748 | ||
4749 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
4750 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
4751 | requested object is TARGET_OBJECT_LIBRARIES. | |
4752 | ||
bc113b4e YQ |
4753 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
4754 | ||
4755 | * target.h (enum target_xfer_status) | |
4756 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
4757 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
4758 | explicitly. New. | |
4759 | * corefile.c (memory_error_message): User updated. | |
4760 | * exec.c (section_table_read_available_memory): Likewise. | |
4761 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
4762 | * target.c (target_xfer_status_to_string): Likewise. | |
4763 | (raw_memory_xfer_partial): Likewise. | |
4764 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
4765 | * valops.c (read_value_memory): Likewise. | |
4766 | * exec.h: Update comments. | |
4767 | ||
01cb8804 YQ |
4768 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
4769 | ||
4770 | * target.c (target_xfer_status_to_string): Rename argument err | |
4771 | to status. | |
4772 | * target.h (target_xfer_status_to_string): Update declaration. | |
4773 | Replace target_xfer_error_to_string with | |
4774 | target_xfer_status_to_string in comment. | |
4775 | ||
93063aa6 YQ |
4776 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
4777 | ||
4778 | * mips-linux-nat.c (super_close): Update its type. | |
4779 | (mips_linux_close): Pass 'self' to super_close. | |
4780 | ||
5c328c05 YQ |
4781 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
4782 | ||
4783 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
4784 | * corefile.c (read_memory): Adjusted. | |
4785 | * target.c (target_write_with_progress): Adjusted. | |
4786 | ||
f73023dd YQ |
4787 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4788 | ||
4789 | Revert two patches: | |
4790 | ||
4791 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
4792 | ||
4793 | * remote.c (remote_traceframe_info): Return early if | |
4794 | traceframe is not selected. | |
4795 | ||
4796 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
4797 | ||
4798 | * target.c (update_current_target): Change the default action | |
4799 | of 'to_traceframe_info' from tcomplain to return_zero. | |
4800 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
4801 | comments. | |
4802 | ||
5a2eb0ef YQ |
4803 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4804 | ||
4805 | * valops.c (read_value_memory): Rewrite it. Call | |
4806 | target_xfer_partial in a loop. | |
4807 | * exec.h (section_table_available_memory): Remove declaration. | |
4808 | Move comments to ... | |
4809 | * exec.c (section_table_available_memory): ... here. Make it | |
4810 | static. | |
4811 | ||
1ee79381 YQ |
4812 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4813 | ||
4814 | * exec.c (section_table_read_available_memory): New function. | |
4815 | * exec.h (section_table_read_available_memory): Declare. | |
4816 | * ctf.c (ctf_xfer_partial): Call | |
4817 | section_table_read_available_memory. | |
4818 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
4819 | ||
1ca49d37 YQ |
4820 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4821 | ||
4822 | * ctf.c (ctf_xfer_partial): Move code to ... | |
4823 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
4824 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
4825 | * tracefile.c: Include "exec.h". | |
4826 | * exec.h (exec_read_partial_read_only): Declare. | |
4827 | ||
a283690e YQ |
4828 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4829 | ||
4830 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
4831 | (tfile_has_memory): Remove. | |
4832 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
4833 | to_has_memory of tfile_ops. | |
4834 | * tracefile.c (tracefile_has_all_memory): New function. | |
4835 | (tracefile_has_memory): New function. | |
4836 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
4837 | to_has_memory of 'ops'. | |
4838 | ||
12e03cd0 YQ |
4839 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4840 | ||
4841 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
4842 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
4843 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
4844 | init_tracefile_ops. | |
4845 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
4846 | (tfile_has_stack, tfile_has_registers): Remove. | |
4847 | (tfile_thread_alive): Remove. | |
4848 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
4849 | init_tracefile_ops. | |
4850 | * tracefile.c (tracefile_has_stack): New function. | |
4851 | (tracefile_has_registers): New function. | |
4852 | (tracefile_thread_alive): New function. | |
4853 | (tracefile_get_trace_status): New function. | |
4854 | (init_tracefile_ops): New function. | |
4855 | * tracefile.h (init_tracefile_ops): Declare. | |
4856 | ||
11395323 YQ |
4857 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4858 | ||
4859 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
4860 | (O_LARGEFILE): Likewise. | |
4861 | (tfile_ops): Likewise. | |
4862 | (TRACE_HEADER_SIZE): Likewise. | |
4863 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
4864 | (cur_data_size): Likewise. | |
4865 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
4866 | (tfile_close, tfile_files_info): Likewise. | |
4867 | (tfile_get_trace_status): Likewise. | |
4868 | (tfile_get_tracepoint_status): Likewise. | |
4869 | (tfile_get_traceframe_address): Likewise. | |
4870 | (tfile_trace_find, match_blocktype): Likewise. | |
4871 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
4872 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
4873 | (tfile_get_trace_state_variable_value): Likewise. | |
4874 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
4875 | (tfile_has_stack, tfile_has_registers): Likewise. | |
4876 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
4877 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
4878 | (_initialize_tracepoint): Don't call init_tfile_ops | |
4879 | and add_target_with_completer. | |
4880 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
4881 | exec.h, completer.h and filenames.h. | |
4882 | (_initialize_tracefile_tfile): New function. | |
4883 | ||
7951c4eb YQ |
4884 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
4885 | ||
4886 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
4887 | tracefile-tfile.o. | |
4888 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
4889 | * ctf.c: Include "tracefile.h". | |
4890 | * tracefile.h: New file. | |
4891 | * tracefile.c: New file | |
4892 | * tracefile-tfile.c: New file. | |
4893 | * tracepoint.c: Include "tracefile.h". | |
4894 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
4895 | (stop_reason_names): Add const. | |
4896 | (trace_file_writer_xfree): Move it to tracefile.c. | |
4897 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
4898 | (trace_save_ctf): Likewise. | |
4899 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
4900 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
4901 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
4902 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
4903 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
4904 | (tfile_write_raw_data, tfile_end): Likewise. | |
4905 | (tfile_trace_file_writer_new): Likewise. | |
4906 | (free_uploaded_tp): Make it extern. | |
4907 | (free_uploaded_tsv): Make it extern. | |
4908 | (_initialize_tracepoint): Move code to register command 'tsave' | |
4909 | to tracefile.c. | |
4910 | * tracepoint.h (stop_reason_names): Declare. | |
4911 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
4912 | (struct trace_file_write_ops): Likewise. | |
4913 | (struct trace_file_writer): Likewise. | |
4914 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
4915 | ||
184cd072 JK |
4916 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
4917 | ||
4918 | PR gdb/16594 | |
4919 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
4920 | process name. | |
4921 | (get_cores_used_by_process): New parameter num_cores, use it. | |
4922 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
4923 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
4924 | process name. | |
4925 | ||
c63528fc AK |
4926 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
4927 | ||
4928 | * target.c (memory_xfer_partial): Fix length arg in call to | |
4929 | breakpoint_xfer_memory. | |
4930 | ||
d7b30f67 SDJ |
4931 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
4932 | ||
4933 | PR tdep/16397 | |
4934 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
4935 | number comes after the + or - signs. Adjust length of register | |
4936 | name to be extracted. | |
4937 | ||
8838afaf TT |
4938 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
4939 | ||
4940 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
4941 | (ada_varobj_ops): Mark "extern". | |
4942 | ||
05227d14 TT |
4943 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
4944 | ||
4945 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
4946 | ||
1254eefc DE |
4947 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
4948 | ||
4949 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
4950 | All callers updated. | |
4951 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
4952 | All callers updated. | |
4953 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
4954 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
4955 | ||
adde2bff DE |
4956 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
4957 | Joel Brobecker <brobecker@adacore.com> | |
4958 | Doug Evans <xdje42@gmail.com> | |
4959 | ||
4960 | PR symtab/16581 | |
4961 | * dwarf2read.c (struct die_info): New member in_process. | |
4962 | (reset_die_in_process): New function. | |
4963 | (process_die): Set it at the start, reset when returning. | |
4964 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
4965 | not already being processed. | |
4966 | ||
3be75f87 JB |
4967 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4968 | ||
4969 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
4970 | (do_initial_windows_stuff): Add comment explaining why we wait | |
4971 | until after inferior initialization has finished before | |
4972 | processing all DLLs. | |
4973 | ||
47f7ffdb JB |
4974 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4975 | ||
4976 | * windows-nat.c (get_module_name): Delete. | |
4977 | (windows_get_exec_module_filename): New function, mostly | |
4978 | inspired from get_module_name. | |
4979 | (windows_pid_to_exec_file): Replace call to get_module_name | |
4980 | by call to windows_get_exec_module_filename. | |
4981 | ||
1cd9feab JB |
4982 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4983 | ||
4984 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
4985 | introductory comment. Remove code using get_module_name | |
4986 | to get the DLL's name. | |
4987 | ||
ea39ad35 JB |
4988 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4989 | ||
4990 | * windows-nat.c (get_windows_debug_event): Ignore | |
4991 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
4992 | if windows_initialization_done == 0. | |
4993 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
4994 | Adjust implementation to always load all DLLs. | |
4995 | (do_initial_windows_stuff): Replace call to | |
4996 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
4997 | ||
95060284 JB |
4998 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
4999 | ||
5000 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
5001 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
5002 | and "assf" aliases into commands, and deprecate them as well. | |
5003 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
5004 | aliases are now deprecated. | |
5005 | ||
8d4fdb12 JB |
5006 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
5007 | ||
5008 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
5009 | new-line in debug string. Remove trailing spaces. | |
5010 | ||
1b281443 SS |
5011 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
5012 | ||
5013 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
5014 | ||
f7bd0f78 SC |
5015 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
5016 | ||
5017 | * NEWS: Add entry for the new feature | |
5018 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
5019 | and class values. | |
5020 | ||
399ebc3d SS |
5021 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
5022 | ||
5023 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
5024 | ||
c658158d PA |
5025 | 2014-02-19 Pedro Alves <palves@redhat.com> |
5026 | ||
5027 | * common/ptid.h (struct ptid): Mention that process_stratum | |
5028 | targets should prefer ptid.lwp. | |
5029 | ||
ba348170 PA |
5030 | 2014-02-19 Pedro Alves <palves@redhat.com> |
5031 | ||
5032 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
5033 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
5034 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
5035 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
5036 | store remote thread ids rather than ptid.tid. | |
5037 | (_initialize_remote): Adjust. | |
5038 | ||
ac01945b TT |
5039 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5040 | ||
5041 | * target.c (target_get_unwinder): Rewrite. | |
5042 | (target_get_tailcall_unwinder): Rewrite. | |
5043 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
5044 | (record_btrace_to_get_tailcall_unwinder): New function. | |
5045 | (init_record_btrace_ops): Update. | |
5046 | * target.h (struct target_ops) <to_get_unwinder, | |
5047 | to_get_tailcall_unwinder>: Now function pointers. Use | |
5048 | TARGET_DEFAULT_RETURN. | |
5049 | ||
8476dc92 TT |
5050 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5051 | ||
5052 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
5053 | argument. | |
5054 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
5055 | ||
c0eca49f TT |
5056 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5057 | ||
5058 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
5059 | directly. | |
5060 | * target-delegates.c: Rebuild. | |
5061 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
5062 | TARGET_DEFAULT_FUNC. | |
5063 | * target.c (default_target_decr_pc_after_break): Rename from | |
5064 | forward_target_decr_pc_after_break. Simplify. | |
5065 | (target_decr_pc_after_break): Rely on delegation. | |
5066 | ||
596b6b39 TT |
5067 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5068 | ||
5069 | * target.c (update_current_target): Do not INHERIT to_doc or | |
5070 | to_magic. Do not de_fault to_open or to_close. | |
5071 | ||
b427c1bc TT |
5072 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5073 | ||
5074 | * gcore.h (objfile_find_memory_regions): Declare. | |
5075 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
5076 | "self" argument. | |
5077 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
5078 | * exec.c: Include gcore.h. | |
5079 | (exec_set_find_memory_regions): Remove. | |
5080 | (exec_find_memory_regions): Remove. | |
5081 | (exec_do_find_memory_regions): Remove. | |
5082 | (init_exec_ops): Update. | |
5083 | * defs.h (exec_set_find_memory_regions): Remove. | |
5084 | ||
9b144037 TT |
5085 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5086 | ||
5087 | * target-delegates.c: Rebuild. | |
5088 | * target.h (struct target_ops) <to_extra_thread_info, | |
5089 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
5090 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
5091 | not 0, in TARGET_DEFAULT_RETURN. | |
5092 | ||
555bbdeb TT |
5093 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5094 | ||
5095 | * target.c (complete_target_initialization): Remove casts. Use | |
5096 | return_zero_has_execution. | |
5097 | (return_zero): Add "ignore" argument. | |
5098 | (return_zero_has_execution): New function. | |
5099 | (init_dummy_target): Remove casts. Use | |
5100 | return_zero_has_execution. | |
5101 | ||
be4ddd36 TT |
5102 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5103 | ||
5104 | * target.c (update_current_target): Update comments. Do not | |
5105 | INHERIT to_stratum. | |
5106 | ||
2117c711 TT |
5107 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5108 | ||
5109 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
5110 | needed. | |
5111 | * corelow.c (core_read_description): Delegate when needed. | |
5112 | * remote.c (remote_read_description): Delegate when needed. | |
5113 | * target-delegates.c: Rebuild. | |
5114 | * target.c (target_read_description): Rewrite. | |
5115 | * target.h (struct target_ops) <to_read_description>: Update | |
5116 | comment. Use TARGET_DEFAULT_RETURN. | |
5117 | ||
e88ef65c 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_can_run. | |
5123 | (find_default_run_target): Check against delegate_can_run. | |
5124 | * target.h (struct target_ops) <to_can_run>: Use | |
5125 | TARGET_DEFAULT_RETURN. | |
5126 | ||
86a0854a TT |
5127 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5128 | ||
5129 | * target-delegates.c: Rebuild. | |
5130 | * target.c (target_disconnect): Unconditionally delegate. | |
5131 | * target.h (struct target_ops) <to_disconnect>: Use | |
5132 | TARGET_DEFAULT_NORETURN. | |
5133 | ||
ee97f592 TT |
5134 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5135 | ||
5136 | * record.c (record_stop): Unconditionally delegate. | |
5137 | * target-delegates.c: Rebuild. | |
5138 | * target.c (target_stop_recording): Unconditionally delegate. | |
5139 | * target.h (struct target_ops) <to_stop_recording>: Use | |
5140 | TARGET_DEFAULT_IGNORE. | |
5141 | ||
6dc7fcf4 TT |
5142 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5143 | ||
5144 | * target-delegates.c: Rebuild. | |
5145 | * target.c (target_enable_btrace): Unconditionally delegate. | |
5146 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
5147 | TARGET_DEFAULT_NORETURN. | |
5148 | ||
eb5b20d4 TT |
5149 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5150 | ||
5151 | * target-delegates.c: Rebuild. | |
5152 | * target.c (target_read_btrace): Unconditionally delegate. | |
5153 | * target.h (struct target_ops) <to_read_btrace>: Use | |
5154 | TARGET_DEFAULT_NORETURN. | |
5155 | ||
9ace480d TT |
5156 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5157 | ||
5158 | * target-delegates.c: Rebuild. | |
5159 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
5160 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
5161 | TARGET_DEFAULT_NORETURN. | |
5162 | ||
8dc292d3 TT |
5163 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5164 | ||
5165 | * target-delegates.c: Rebuild. | |
5166 | * target.c (target_disable_btrace): Unconditionally delegate. | |
5167 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
5168 | TARGET_DEFAULT_NORETURN. | |
5169 | ||
58a5184e TT |
5170 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5171 | ||
5172 | * target-delegates.c: Rebuild. | |
5173 | * target.c (default_search_memory): New function. | |
5174 | (simple_search_memory): Update comment. | |
5175 | (target_search_memory): Unconditionally delegate. | |
5176 | * target.h (struct target_ops) <to_search_memory>: Use | |
5177 | TARGET_DEFAULT_FUNC. | |
5178 | ||
8de71aab TT |
5179 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5180 | ||
5181 | * auxv.c (default_auxv_parse): No longer static. | |
5182 | (target_auxv_parse): Unconditionally delegate. | |
5183 | * auxv.h (default_auxv_parse): Declare. | |
5184 | * target-delegates.c: Rebuild. | |
5185 | * target.c: Include auxv.h. | |
5186 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
5187 | TARGET_DEFAULT_FUNC. | |
5188 | ||
6b2c5a57 TT |
5189 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5190 | ||
5191 | * target-delegates.c: Rebuild. | |
5192 | * target.c (target_memory_map): Unconditionally delegate. | |
5193 | * target.h (struct target_ops) <to_memory_map>: Use | |
5194 | TARGET_DEFAULT_RETURN. | |
5195 | ||
cbffc065 TT |
5196 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5197 | ||
5198 | * target-delegates.c: Rebuild. | |
5199 | * target.c (target_thread_alive): Unconditionally delegate. | |
5200 | * target.h (struct target_ops) <to_thread_alive>: Use | |
5201 | TARGET_DEFAULT_RETURN. | |
5202 | ||
f09e2107 TT |
5203 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5204 | ||
5205 | * target-delegates.c: Rebuild. | |
5206 | * target.c (target_save_record): Unconditionally delegate. | |
5207 | * target.h (struct target_ops) <to_save_record>: Use | |
5208 | TARGET_DEFAULT_NORETURN. | |
5209 | ||
07366925 TT |
5210 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5211 | ||
5212 | * target-delegates.c: Rebuild. | |
5213 | * target.c (target_delete_record): Unconditionally delegate. | |
5214 | * target.h (struct target_ops) <to_delete_record>: Use | |
5215 | TARGET_DEFAULT_NORETURN. | |
5216 | ||
dd2e9d25 TT |
5217 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5218 | ||
5219 | * target-delegates.c: Rebuild. | |
5220 | * target.c (target_record_is_replaying): Unconditionally | |
5221 | delegate. | |
5222 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
5223 | TARGET_DEFAULT_RETURN. | |
5224 | ||
671e76cc TT |
5225 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5226 | ||
5227 | * target-delegates.c: Rebuild. | |
5228 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
5229 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
5230 | TARGET_DEFAULT_NORETURN. | |
5231 | ||
e9179bb3 TT |
5232 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5233 | ||
5234 | * target-delegates.c: Rebuild. | |
5235 | * target.c (target_goto_record_end): Unconditionally delegate. | |
5236 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
5237 | TARGET_DEFAULT_NORETURN. | |
5238 | ||
05969c84 TT |
5239 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5240 | ||
5241 | * target-delegates.c: Rebuild. | |
5242 | * target.c (target_goto_record): Unconditionally delegate. | |
5243 | * target.h (struct target_ops) <to_goto_record>: Use | |
5244 | TARGET_DEFAULT_NORETURN. | |
5245 | ||
3679abfa TT |
5246 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5247 | ||
5248 | * target-delegates.c: Rebuild. | |
5249 | * target.c (target_insn_history): Unconditionally delegate. | |
5250 | * target.h (struct target_ops) <to_insn_history>: Use | |
5251 | TARGET_DEFAULT_NORETURN. | |
5252 | ||
8444ab58 TT |
5253 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5254 | ||
5255 | * target-delegates.c: Rebuild. | |
5256 | * target.c (target_insn_history_from): Unconditionally delegate. | |
5257 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
5258 | TARGET_DEFAULT_NORETURN. | |
5259 | ||
c29302cc TT |
5260 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5261 | ||
5262 | * target-delegates.c: Rebuild. | |
5263 | * target.c (target_insn_history_range): Unconditionally delegate. | |
5264 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
5265 | TARGET_DEFAULT_NORETURN. | |
5266 | ||
170049d4 TT |
5267 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5268 | ||
5269 | * target-delegates.c: Rebuild. | |
5270 | * target.c (target_call_history): Unconditionally delegate. | |
5271 | * target.h (struct target_ops) <to_call_history>: Use | |
5272 | TARGET_DEFAULT_NORETURN. | |
5273 | ||
16fc27d6 TT |
5274 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5275 | ||
5276 | * target-delegates.c: Rebuild. | |
5277 | * target.c (target_call_history_from): Unconditionally delegate. | |
5278 | * target.h (struct target_ops) <to_call_history_from>: Use | |
5279 | TARGET_DEFAULT_NORETURN. | |
5280 | ||
115d9817 TT |
5281 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5282 | ||
5283 | * target-delegates.c: Rebuild. | |
5284 | * target.c (target_call_history_range): Unconditionally delegate. | |
5285 | * target.h (struct target_ops) <to_call_history_range>: Use | |
5286 | TARGET_DEFAULT_NORETURN. | |
5287 | ||
eb276a6b TT |
5288 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5289 | ||
5290 | * target-delegates.c: Rebuild. | |
5291 | * target.c (target_verify_memory): Unconditionally delegate. | |
5292 | * target.h (struct target_ops) <to_verify_memory>: Use | |
5293 | TARGET_DEFAULT_NORETURN. | |
5294 | ||
9e538d0d TT |
5295 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5296 | ||
5297 | * target-delegates.c: Rebuild. | |
5298 | * target.c (target_core_of_thread): Unconditionally delegate. | |
5299 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
5300 | TARGET_DEFAULT_RETURN. | |
5301 | ||
f6fb2925 TT |
5302 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5303 | ||
5304 | * target-delegates.c: Rebuild. | |
5305 | * target.c (target_flash_done): Unconditionally delegate. | |
5306 | * target.h (struct target_ops) <to_flash_done>: Use | |
5307 | TARGET_DEFAULT_NORETURN. | |
5308 | ||
e8a6c6ac TT |
5309 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5310 | ||
5311 | * target-delegates.c: Rebuild. | |
5312 | * target.c (target_flash_erase): Unconditionally delegate. | |
5313 | * target.h (struct target_ops) <to_flash_erase>: Use | |
5314 | TARGET_DEFAULT_NORETURN. | |
5315 | ||
7e35c012 TT |
5316 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5317 | ||
5318 | * target-delegates.c: Rebuild. | |
5319 | * target.c (target_get_section_table): Unconditionally delegate. | |
5320 | * target.h (struct target_ops) <to_get_section_table>: Use | |
5321 | TARGET_DEFAULT_RETURN. | |
5322 | ||
770234d3 TT |
5323 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5324 | ||
5325 | * target-delegates.c: Rebuild. | |
5326 | * target.c (target_pid_to_str): Unconditionally delegate. | |
5327 | (init_dummy_target): Don't initialize to_pid_to_str. | |
5328 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
5329 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
5330 | TARGET_DEFAULT_FUNC. | |
5331 | ||
09b0dc2b TT |
5332 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5333 | ||
5334 | * target-delegates.c: Rebuild. | |
5335 | * target.c (target_find_new_threads): Unconditionally delegate. | |
5336 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
5337 | TARGET_DEFAULT_RETURN. | |
5338 | ||
7d4f8efa TT |
5339 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5340 | ||
5341 | * target-delegates.c: Rebuild. | |
5342 | * target.c (target_program_signals): Unconditionally delegate. | |
5343 | * target.h (struct target_ops) <to_program_signals>: Use | |
5344 | TARGET_DEFAULT_IGNORE. | |
5345 | ||
035cad7f TT |
5346 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5347 | ||
5348 | * target-delegates.c: Rebuild. | |
5349 | * target.c (target_pass_signals): Unconditionally delegate. | |
5350 | * target.h (struct target_ops) <to_pass_signals>: Use | |
5351 | TARGET_DEFAULT_IGNORE. | |
5352 | ||
8d657035 TT |
5353 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5354 | ||
5355 | * target-delegates.c: Rebuild. | |
5356 | * target.c (default_mourn_inferior): New function. | |
5357 | (target_mourn_inferior): Unconditionally delegate. | |
5358 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
5359 | TARGET_DEFAULT_FUNC. | |
5360 | ||
098dba18 TT |
5361 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5362 | ||
5363 | * target-delegates.c: Rebuild. | |
5364 | * target.c (default_follow_fork): New function. | |
5365 | (target_follow_fork): Unconditionally delegate. | |
5366 | * target.h (struct target_ops) <to_follow_fork>: Use | |
5367 | TARGET_DEFAULT_FUNC. | |
5368 | ||
423a4807 TT |
5369 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5370 | ||
5371 | * target-delegates.c: Rebuild. | |
5372 | * target.c (target_kill): Unconditionally delegate. | |
5373 | * target.h (struct target_ops) <to_kill>: Use | |
5374 | TARGET_DEFAULT_NORETURN. | |
5375 | ||
6c7e5e5c TT |
5376 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5377 | ||
5378 | * target-delegates.c: Rebuild. | |
5379 | * target.c (target_masked_watch_num_registers): Unconditionally | |
5380 | delegate. | |
5381 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
5382 | Use TARGET_DEFAULT_RETURN. | |
5383 | ||
8b1c364c TT |
5384 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5385 | ||
5386 | * target-delegates.c: Rebuild. | |
5387 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
5388 | delegate. | |
5389 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
5390 | TARGET_DEFAULT_RETURN. | |
5391 | ||
cd4ae029 TT |
5392 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5393 | ||
5394 | * target-delegates.c: Rebuild. | |
5395 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
5396 | delegate. | |
5397 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
5398 | TARGET_DEFAULT_RETURN. | |
5399 | ||
a134316b TT |
5400 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5401 | ||
5402 | * target-delegates.c: Rebuild. | |
5403 | * target.c (target_ranged_break_num_registers): Unconditionally | |
5404 | delegate. | |
5405 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
5406 | Use TARGET_DEFAULT_RETURN. | |
5407 | ||
ad5989bd TT |
5408 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5409 | ||
5410 | * target-delegates.c: Rebuild. | |
5411 | * target.c (target_fetch_registers): Unconditionally delegate. | |
5412 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
5413 | TARGET_DEFAULT_NORETURN. | |
5414 | ||
46ee7e8d 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_stop. | |
5420 | * target.h (struct target_ops) <to_stop>: Use | |
5421 | TARGET_DEFAULT_IGNORE. | |
5422 | ||
843f59ed 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_can_run_breakpoint_commands. | |
5428 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
5429 | Use TARGET_DEFAULT_RETURN. | |
5430 | ||
ccfde2a0 TT |
5431 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5432 | ||
5433 | * target-delegates.c: Rebuild. | |
5434 | * target.c (update_current_target): Don't inherit or default | |
5435 | to_supports_evaluation_of_breakpoint_conditions. | |
5436 | * target.h (struct target_ops) | |
5437 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
5438 | TARGET_DEFAULT_RETURN. | |
5439 | ||
0de91722 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_augmented_libraries_svr4_read. | |
5445 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
5446 | Use TARGET_DEFAULT_RETURN. | |
5447 | ||
9a7d8b48 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_can_use_agent. | |
5453 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
5454 | TARGET_DEFAULT_RETURN. | |
5455 | ||
d9db5b21 TT |
5456 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5457 | ||
5458 | * target-delegates.c: Rebuild. | |
5459 | * target.c (update_current_target): Don't inherit or default | |
5460 | to_use_agent. | |
5461 | * target.h (struct target_ops) <to_use_agent>: Use | |
5462 | TARGET_DEFAULT_NORETURN. | |
5463 | ||
92155eeb TT |
5464 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5465 | ||
5466 | * target-delegates.c: Rebuild. | |
5467 | * target.c (update_current_target): Don't inherit or default | |
5468 | to_traceframe_info. | |
5469 | (return_null): Remove. | |
5470 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
5471 | TARGET_DEFAULT_RETURN. | |
5472 | ||
d6522a22 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_static_tracepoint_markers_by_strid. | |
5478 | * target.h (struct target_ops) | |
5479 | <to_static_tracepoint_markers_by_strid>: Use | |
5480 | TARGET_DEFAULT_NORETURN. | |
5481 | ||
4c3e4425 TT |
5482 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5483 | ||
5484 | * target-delegates.c: Rebuild. | |
5485 | * target.c (update_current_target): Don't inherit or default | |
5486 | to_static_tracepoint_marker_at. | |
5487 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
5488 | Use TARGET_DEFAULT_RETURN. | |
5489 | ||
dcd6917f TT |
5490 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5491 | ||
5492 | * target-delegates.c: Rebuild. | |
5493 | * target.c (update_current_target): Don't inherit or default | |
5494 | to_set_permissions. | |
5495 | * target.h (struct target_ops) <to_set_permissions>: Use | |
5496 | TARGET_DEFAULT_IGNORE. | |
5497 | ||
22bcceee TT |
5498 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5499 | ||
5500 | * target-delegates.c: Rebuild. | |
5501 | * target.c (update_current_target): Don't inherit or default | |
5502 | to_get_tib_address. | |
5503 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
5504 | TARGET_DEFAULT_NORETURN. | |
5505 | ||
8586ccaa TT |
5506 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5507 | ||
5508 | * target-delegates.c: Rebuild. | |
5509 | * target.c (update_current_target): Don't inherit or default | |
5510 | to_set_trace_notes. | |
5511 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
5512 | TARGET_DEFAULT_RETURN. | |
5513 | ||
91df8d1d TT |
5514 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5515 | ||
5516 | * target-delegates.c: Rebuild. | |
5517 | * target.c (update_current_target): Don't initialize | |
5518 | to_set_trace_buffer_size. | |
5519 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
5520 | TARGET_DEFAULT_IGNORE. | |
5521 | ||
8d526939 TT |
5522 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5523 | ||
5524 | * target-delegates.c: Rebuild. | |
5525 | * target.c (update_current_target): Don't inherit or default | |
5526 | to_set_circular_trace_buffer. | |
5527 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
5528 | TARGET_DEFAULT_IGNORE. | |
5529 | ||
0bcfeddf TT |
5530 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5531 | ||
5532 | * target-delegates.c: Rebuild. | |
5533 | * target.c (update_current_target): Don't inherit or default | |
5534 | to_set_disconnected_tracing. | |
5535 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
5536 | TARGET_DEFAULT_IGNORE. | |
5537 | ||
9249843f TT |
5538 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5539 | ||
5540 | * target-delegates.c: Rebuild. | |
5541 | * target.c (update_current_target): Don't inherit or default | |
5542 | to_get_min_fast_tracepoint_insn_len. | |
5543 | (return_minus_one): Remove. | |
5544 | * target.h (struct target_ops) | |
5545 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
5546 | ||
ace92e7d TT |
5547 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5548 | ||
5549 | * target-delegates.c: Rebuild. | |
5550 | * target.c (update_current_target): Don't inherit or default | |
5551 | to_get_raw_trace_data. | |
5552 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
5553 | TARGET_DEFAULT_NORETURN. | |
5554 | ||
08120467 TT |
5555 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5556 | ||
5557 | * target-delegates.c: Rebuild. | |
5558 | * target.c (update_current_target): Don't inherit or default | |
5559 | to_upload_trace_state_variables. | |
5560 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
5561 | Use TARGET_DEFAULT_RETURN. | |
5562 | ||
1e949b00 TT |
5563 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5564 | ||
5565 | * target-delegates.c: Rebuild. | |
5566 | * target.c (update_current_target): Don't inherit or default | |
5567 | to_upload_tracepoints. | |
5568 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
5569 | TARGET_DEFAULT_RETURN. | |
5570 | ||
a2e6c147 TT |
5571 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5572 | ||
5573 | * target-delegates.c: Rebuild. | |
5574 | * target.c (update_current_target): Don't inherit or default | |
5575 | to_save_trace_data. | |
5576 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
5577 | TARGET_DEFAULT_NORETURN. | |
5578 | ||
959bcd0b TT |
5579 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5580 | ||
5581 | * target-delegates.c: Rebuild. | |
5582 | * target.c (update_current_target): Don't inherit or default | |
5583 | to_get_trace_state_variable_value. | |
5584 | * target.h (struct target_ops) | |
5585 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
5586 | ||
afc94e66 TT |
5587 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5588 | ||
5589 | * target-delegates.c: Rebuild. | |
5590 | * target.c (update_current_target): Don't inherit or default | |
5591 | to_trace_find. | |
5592 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
5593 | ||
e51c07ea TT |
5594 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5595 | ||
5596 | * target-delegates.c: Rebuild. | |
5597 | * target.c (update_current_target): Don't inherit or default | |
5598 | to_trace_stop. | |
5599 | * target.h (struct target_ops) <to_trace_stop>: Use | |
5600 | TARGET_DEFAULT_NORETURN. | |
5601 | ||
6fea14cd TT |
5602 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5603 | ||
5604 | * target-delegates.c: Rebuild. | |
5605 | * target.c (update_current_target): Don't inherit or default | |
5606 | to_get_tracepoint_status. | |
5607 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
5608 | TARGET_DEFAULT_NORETURN. | |
5609 | ||
4072d4ff TT |
5610 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5611 | ||
5612 | * target-delegates.c: Rebuild. | |
5613 | * target.c (update_current_target): Don't inherit or default | |
5614 | to_get_trace_status. | |
5615 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
5616 | TARGET_DEFAULT_RETURN. | |
5617 | ||
25da2e80 TT |
5618 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5619 | ||
5620 | * target-delegates.c: Rebuild. | |
5621 | * target.c (update_current_target): Don't inherit or default | |
5622 | to_trace_start. | |
5623 | * target.h (struct target_ops) <to_trace_start>: Use | |
5624 | TARGET_DEFAULT_NORETURN. | |
5625 | ||
86dd181d TT |
5626 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5627 | ||
5628 | * target-delegates.c: Rebuild. | |
5629 | * target.c (update_current_target): Don't inherit or default | |
5630 | to_trace_set_readonly_regions. | |
5631 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
5632 | Use TARGET_DEFAULT_NORETURN. | |
5633 | ||
05c41993 TT |
5634 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5635 | ||
5636 | * target-delegates.c: Rebuild. | |
5637 | * target.c (update_current_target): Don't inherit or default | |
5638 | to_disable_tracepoint. | |
5639 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
5640 | TARGET_DEFAULT_NORETURN. | |
5641 | ||
151f70f1 TT |
5642 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5643 | ||
5644 | * target-delegates.c: Rebuild. | |
5645 | * target.c (update_current_target): Don't inherit or default | |
5646 | to_enable_tracepoint. | |
5647 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
5648 | TARGET_DEFAULT_NORETURN. | |
5649 | ||
94eb98b9 TT |
5650 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5651 | ||
5652 | * target-delegates.c: Rebuild. | |
5653 | * target.c (update_current_target): Don't inherit or default | |
5654 | to_download_trace_state_variable. | |
5655 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
5656 | Use TARGET_DEFAULT_NORETURN. | |
5657 | ||
719acc4a TT |
5658 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5659 | ||
5660 | * target-delegates.c: Rebuild. | |
5661 | * target.c (update_current_target): Don't inherit or default | |
5662 | to_can_download_tracepoint. | |
5663 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
5664 | TARGET_DEFAULT_RETURN. | |
5665 | ||
9a980a22 TT |
5666 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5667 | ||
5668 | * target-delegates.c: Rebuild. | |
5669 | * target.c (update_current_target): Don't inherit or default | |
5670 | to_download_tracepoint. | |
5671 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
5672 | TARGET_DEFAULT_NORETURN. | |
5673 | ||
5536135b TT |
5674 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5675 | ||
5676 | * target-delegates.c: Rebuild. | |
5677 | * target.c (update_current_target): Don't inherit or default | |
5678 | to_trace_init. | |
5679 | * target.h (struct target_ops) <to_trace_init>: Use | |
5680 | TARGET_DEFAULT_RETURN. | |
5681 | ||
9409d39e TT |
5682 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5683 | ||
5684 | * target-delegates.c: Rebuild. | |
5685 | * target.c (update_current_target): Don't inherit or default | |
5686 | to_supports_string_tracing. | |
5687 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
5688 | TARGET_DEFAULT_RETURN. | |
5689 | ||
aab1b22d TT |
5690 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5691 | ||
5692 | * target-delegates.c: Rebuild. | |
5693 | * target.c (update_current_target): Don't inherit or default | |
5694 | to_supports_enable_disable_tracepoint. | |
5695 | * target.h (struct target_ops) | |
5696 | <to_supports_enable_disable_tracepoint>: Use | |
5697 | TARGET_DEFAULT_RETURN. | |
5698 | ||
a7304748 TT |
5699 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5700 | ||
5701 | * target-delegates.c: Rebuild. | |
5702 | * target.c (update_current_target): Don't inherit or default | |
5703 | to_supports_multi_process. | |
5704 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
5705 | TARGET_DEFAULT_RETURN. | |
5706 | ||
4229b31d TT |
5707 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5708 | ||
5709 | * target-delegates.c: Rebuild. | |
5710 | * target.c (update_current_target): Don't inherit or default | |
5711 | to_get_ada_task_ptid. | |
5712 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
5713 | TARGET_DEFAULT_FUNC. | |
5714 | ||
43eba180 TT |
5715 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5716 | ||
5717 | * target-delegates.c: Rebuild. | |
5718 | * target.c (update_current_target): Don't inherit or default | |
5719 | to_thread_architecture. | |
5720 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
5721 | TARGET_DEFAULT_FUNC. | |
5722 | ||
fe31bf5b TT |
5723 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5724 | ||
5725 | * target-delegates.c: Rebuild. | |
5726 | * target.c (update_current_target): Don't inherit or default | |
5727 | to_execution_direction. | |
5728 | * target.h (struct target_ops) <to_execution_direction>: Use | |
5729 | TARGET_DEFAULT_FUNC. | |
5730 | ||
53e1cfc7 TT |
5731 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5732 | ||
5733 | * target-delegates.c: Rebuild. | |
5734 | * target.c (update_current_target): Don't inherit or default | |
5735 | to_can_execute_reverse. | |
5736 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
5737 | TARGET_DEFAULT_RETURN. | |
5738 | (target_can_execute_reverse): Unconditionally delegate. | |
5739 | ||
9bb9d61d TT |
5740 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5741 | ||
5742 | * target-delegates.c: Rebuild. | |
5743 | * target.c (update_current_target): Don't inherit or default | |
5744 | to_goto_bookmark. | |
5745 | (dummy_goto_bookmark): Remove. | |
5746 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
5747 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
5748 | TARGET_DEFAULT_NORETURN. | |
5749 | ||
3dbafbbb TT |
5750 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5751 | ||
5752 | * target-delegates.c: Rebuild. | |
5753 | * target.c (update_current_target): Don't inherit or default | |
5754 | to_get_bookmark. | |
5755 | (dummy_get_bookmark): Remove. | |
5756 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
5757 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
5758 | TARGET_DEFAULT_NORETURN | |
5759 | ||
16f796b1 TT |
5760 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5761 | ||
5762 | * target-delegates.c: Rebuild. | |
5763 | * target.c (update_current_target): Don't inherit or default | |
5764 | to_make_corefile_notes. | |
5765 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
5766 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
5767 | TARGET_DEFAULT_FUNC. | |
5768 | ||
0b5a2719 TT |
5769 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5770 | ||
5771 | * target-delegates.c: Rebuild. | |
5772 | * target.c (update_current_target): Don't inherit or default | |
5773 | to_find_memory_regions. | |
5774 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
5775 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
5776 | TARGET_DEFAULT_FUNC. | |
5777 | ||
d9cb0195 TT |
5778 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5779 | ||
5780 | * target-delegates.c: Rebuild. | |
5781 | * target.c (update_current_target): Don't inherit or default | |
5782 | to_log_command. | |
5783 | * target.h (struct target_ops) <to_log_command>: Use | |
5784 | TARGET_DEFAULT_IGNORE. | |
5785 | (target_log_command): Unconditionally delegate. | |
5786 | ||
830ca330 TT |
5787 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5788 | ||
5789 | * target-delegates.c: Rebuild. | |
5790 | * target.c (update_current_target): Don't inherit or default | |
5791 | to_pid_to_exec_file. | |
5792 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
5793 | TARGET_DEFAULT_RETURN. | |
5794 | ||
825828fc TT |
5795 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5796 | ||
5797 | * target-delegates.c: Rebuild. | |
5798 | * target.c (update_current_target): Don't inherit or default | |
5799 | to_thread_name. | |
5800 | (target_thread_name): Unconditionally delegate. | |
5801 | * target.h (struct target_ops) <to_thread_name>: Use | |
5802 | TARGET_DEFAULT_RETURN. | |
5803 | ||
4a7e6dda TT |
5804 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5805 | ||
5806 | * target-delegates.c: Rebuild. | |
5807 | * target.c (update_current_target): Don't inherit or default | |
5808 | to_extra_thread_info. | |
5809 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
5810 | TARGET_DEFAULT_RETURN. | |
5811 | ||
0db88c1d TT |
5812 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5813 | ||
5814 | * target-delegates.c: Rebuild. | |
5815 | * target.c (update_current_target): Don't inherit or default | |
5816 | to_has_exited. | |
5817 | * target.h (struct target_ops) <to_has_exited>: Use | |
5818 | TARGET_DEFAULT_RETURN.. | |
5819 | ||
6a9fa051 TT |
5820 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5821 | ||
5822 | * target-delegates.c: Rebuild. | |
5823 | * target.c (update_current_target): Don't inherit or default | |
5824 | to_set_syscall_catchpoint. | |
5825 | (return_one): Remove. | |
5826 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
5827 | TARGET_DEFAULT_RETURN. | |
5828 | ||
62f64d7a TT |
5829 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5830 | ||
5831 | * target-delegates.c: Rebuild. | |
5832 | * target.c (update_current_target): Don't inherit or default | |
5833 | to_insert_exec_catchpoint. | |
5834 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
5835 | TARGET_DEFAULT_RETURN. | |
5836 | ||
cda0f38c TT |
5837 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
5838 | ||
5839 | * target-delegates.c: Rebuild. | |
5840 | * target.c (update_current_target): Don't inherit or default | |
5841 | to_insert_exec_catchpoint. | |
5842 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
5843 | TARGET_DEFAULT_RETURN. | |
5844 | ||
95c3375e TT |
5845 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5846 | ||
5847 | * target-delegates.c: Rebuild. | |
5848 | * target.c (update_current_target): Don't inherit or default | |
5849 | to_remove_vfork_catchpoint. | |
5850 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
5851 | TARGET_DEFAULT_RETURN. | |
5852 | ||
7e18a8dc TT |
5853 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5854 | ||
5855 | * target-delegates.c: Rebuild. | |
5856 | * target.c (update_current_target): Don't inherit or default | |
5857 | to_insert_vfork_catchpoint. | |
5858 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
5859 | TARGET_DEFAULT_RETURN. | |
5860 | ||
e1a21fb7 TT |
5861 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5862 | ||
5863 | * target-delegates.c: Rebuild. | |
5864 | * target.c (update_current_target): Don't inherit or default | |
5865 | to_remove_fork_catchpoint. | |
5866 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
5867 | TARGET_DEFAULT_RETURN. | |
5868 | ||
5958ebeb TT |
5869 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5870 | ||
5871 | * target-delegates.c: Rebuild. | |
5872 | * target.c (update_current_target): Don't inherit or default | |
5873 | to_insert_fork_catchpoint. | |
5874 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
5875 | TARGET_DEFAULT_RETURN. | |
5876 | ||
340ba4bf TT |
5877 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5878 | ||
5879 | * target-delegates.c: Rebuild. | |
5880 | * target.c (update_current_target): Don't inherit or default | |
5881 | to_post_startup_inferior. | |
5882 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
5883 | TARGET_DEFAULT_IGNORE. | |
5884 | ||
7634da87 TT |
5885 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5886 | ||
5887 | * target-delegates.c: Rebuild. | |
5888 | * target.c (update_current_target): Don't inherit or default | |
5889 | to_load. | |
5890 | * target.h (struct target_ops) <to_load>: Use | |
5891 | TARGET_DEFAULT_NORETURN. | |
5892 | ||
e19e919f TT |
5893 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5894 | ||
5895 | * target-delegates.c: Rebuild. | |
5896 | * target.c (update_current_target): Don't inherit or default | |
5897 | to_terminal_info. | |
5898 | * target.h (struct target_ops) <to_terminal_info>: Use | |
5899 | TARGET_DEFAULT_FUNC. | |
5900 | ||
c6ea8f79 TT |
5901 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5902 | ||
5903 | * target-delegates.c: Rebuild. | |
5904 | * target.c (update_current_target): Don't inherit or default | |
5905 | to_terminal_save_ours. | |
5906 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
5907 | TARGET_DEFAULT_IGNORE. | |
5908 | ||
e4a733f1 TT |
5909 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5910 | ||
5911 | * target-delegates.c: Rebuild. | |
5912 | * target.c (update_current_target): Don't inherit or default | |
5913 | to_terminal_ours. | |
5914 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
5915 | TARGET_DEFAULT_IGNORE. | |
5916 | ||
74fcbef9 TT |
5917 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5918 | ||
5919 | * target-delegates.c: Rebuild. | |
5920 | * target.c (update_current_target): Don't inherit or default | |
5921 | to_terminal_ours_for_output. | |
5922 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
5923 | TARGET_DEFAULT_IGNORE. | |
5924 | ||
ddeaacc9 TT |
5925 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5926 | ||
5927 | * target-delegates.c: Rebuild. | |
5928 | * target.c (update_current_target): Don't inherit or default | |
5929 | to_terminal_inferior. | |
5930 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
5931 | TARGET_DEFAULT_IGNORE. | |
5932 | ||
0343661d TT |
5933 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5934 | ||
5935 | * target-delegates.c: Rebuild. | |
5936 | * target.c (update_current_target): Don't inherit or default | |
5937 | to_terminal_init. | |
5938 | * target.h (struct target_ops) <to_terminal_init>: Use | |
5939 | TARGET_DEFAULT_IGNORE. | |
5940 | ||
77cdffe9 TT |
5941 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5942 | ||
5943 | * target-delegates.c: Rebuild. | |
5944 | * target.c (update_current_target): Don't inherit or default | |
5945 | to_can_accel_watchpoint_condition. | |
5946 | * target.h (struct target_ops) | |
5947 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
5948 | ||
d03655e4 TT |
5949 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5950 | ||
5951 | * target-delegates.c: Rebuild. | |
5952 | * target.c (update_current_target): Don't inherit or default | |
5953 | to_region_ok_for_hw_watchpoint. | |
5954 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
5955 | Use TARGET_DEFAULT_FUNC. | |
5956 | ||
65f160a9 TT |
5957 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5958 | ||
5959 | * target-delegates.c: Rebuild. | |
5960 | * target.c (update_current_target): Don't inherit or default | |
5961 | to_watchpoint_addr_within_range. | |
5962 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
5963 | Use TARGET_DEFAULT_FUNC. | |
5964 | ||
61dd109f TT |
5965 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5966 | ||
5967 | * target-delegates.c: Rebuild. | |
5968 | * target.c (update_current_target): Don't inherit or default | |
5969 | to_remove_watchpoint. | |
5970 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
5971 | TARGET_DEFAULT_NORETURN. | |
5972 | ||
016facd4 TT |
5973 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5974 | ||
5975 | * target-delegates.c: Rebuild. | |
5976 | * target.c (update_current_target): Don't inherit or default | |
5977 | to_insert_watchpoint. | |
5978 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
5979 | TARGET_DEFAULT_RETURN. | |
5980 | ||
418dabac TT |
5981 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5982 | ||
5983 | * target-delegates.c: Rebuild. | |
5984 | * target.c (update_current_target): Don't inherit or default | |
5985 | to_remove_hw_breakpoint. | |
5986 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
5987 | TARGET_DEFAULT_RETURN. | |
5988 | ||
61b371f9 TT |
5989 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5990 | ||
5991 | * target-delegates.c: Rebuild. | |
5992 | * target.c (update_current_target): Don't inherit or default | |
5993 | to_insert_hw_breakpoint. | |
5994 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
5995 | TARGET_DEFAULT_RETURN. | |
5996 | ||
52b51d06 TT |
5997 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5998 | ||
5999 | * target-delegates.c: Rebuild. | |
6000 | * target.c (update_current_target): Don't inherit or default | |
6001 | to_can_use_hw_breakpoint. | |
6002 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
6003 | TARGET_DEFAULT_RETURN. | |
6004 | ||
f86e59b2 TT |
6005 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6006 | ||
6007 | * target-delegates.c: Rebuild. | |
6008 | * target.c (update_current_target): Don't inherit or default | |
6009 | to_files_info. | |
6010 | * target.h (struct target_ops) <to_files_info>: Use | |
6011 | TARGET_DEFAULT_IGNORE. | |
6012 | ||
6c628163 TT |
6013 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6014 | ||
6015 | * target-delegates.c: Rebuild. | |
6016 | * target.c (update_current_target): Don't inherit or default | |
6017 | to_store. | |
6018 | * target.h (struct target_ops) <to_store>: Use | |
6019 | TARGET_DEFAULT_NORETURN. | |
6020 | ||
bebd3233 TT |
6021 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6022 | ||
6023 | * target-delegates.c: Rebuild. | |
6024 | * target.c (update_current_target): Don't inherit or default | |
6025 | to_post_attach. | |
6026 | * target.h (struct target_ops) <to_post_attach>: Use | |
6027 | TARGET_DEFAULT_IGNORE. | |
6028 | ||
a53f3625 TT |
6029 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6030 | ||
6031 | * target-delegates.c: Rebuild. | |
6032 | * target.c (update_current_target): Don't inherit or default | |
6033 | to_rcmd. | |
6034 | (default_rcmd): New function. | |
6035 | (do_monitor_command): Unconditionally delegate. | |
6036 | * target.h (struct target_ops) <to_rmcd>: Use | |
6037 | TARGET_DEFAULT_FUNC. | |
6038 | ||
e9a29200 TT |
6039 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6040 | ||
6041 | * target-delegates.c: Rebuild. | |
6042 | * target.c (init_dummy_target): Don't initialize to_attach. | |
6043 | (target_attach): Unconditionally delegate. | |
6044 | * target.h (struct target_ops) <to_attach>: Use | |
6045 | TARGET_DEFAULT_FUNC. | |
6046 | ||
09da0d0a TT |
6047 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6048 | ||
6049 | * target-delegates.c: Rebuild. | |
6050 | * target.c (target_detach): Unconditionally delegate. | |
6051 | (init_dummy_target): Don't initialize to_detach. | |
6052 | * target.h (struct target_ops) <to_detach>: Use | |
6053 | TARGET_DEFAULT_IGNORE. | |
6054 | ||
5436ff03 TT |
6055 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6056 | ||
6057 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
6058 | Add argument. | |
6059 | (target_augmented_libraries_svr4_read): Add argument. | |
6060 | * target.c (update_current_target): Update. | |
6061 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
6062 | argument. | |
6063 | ||
f0d960ea TT |
6064 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6065 | ||
6066 | * target.h (struct target_ops) <to_call_history_range>: Add | |
6067 | argument. | |
6068 | * target.c (target_call_history_range): Add argument. | |
6069 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
6070 | argument. | |
6071 | (record_btrace_call_history_from): Update. | |
6072 | ||
ec0aea04 TT |
6073 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6074 | ||
6075 | * target.h (struct target_ops) <to_call_history_from>: Add | |
6076 | argument. | |
6077 | * target.c (target_call_history_from): Add argument. | |
6078 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
6079 | argument. | |
6080 | ||
5df2fcba TT |
6081 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6082 | ||
6083 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
6084 | * target.c (target_call_history): Add argument. | |
6085 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
6086 | argument. | |
6087 | ||
4e99c6b7 TT |
6088 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6089 | ||
6090 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
6091 | argument. | |
6092 | * target.c (target_insn_history_range): Add argument. | |
6093 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
6094 | argument. | |
6095 | (record_btrace_insn_history_from): Update. | |
6096 | ||
9abc3ff3 TT |
6097 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6098 | ||
6099 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
6100 | argument. | |
6101 | * target.c (target_insn_history_from): Add argument. | |
6102 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
6103 | argument. | |
6104 | ||
7a6c5609 TT |
6105 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6106 | ||
6107 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
6108 | * target.c (target_insn_history): Add argument. | |
6109 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
6110 | argument. | |
6111 | ||
606183ac TT |
6112 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6113 | ||
6114 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
6115 | * target.c (target_goto_record): Add argument. | |
6116 | * record-full.c (record_full_goto): Add 'self' argument. | |
6117 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
6118 | ||
307a1b91 TT |
6119 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6120 | ||
6121 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
6122 | * target.c (target_goto_record_end): Add argument. | |
6123 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
6124 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
6125 | ||
08475817 TT |
6126 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6127 | ||
6128 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
6129 | argument. | |
6130 | * target.c (target_goto_record_begin): Add argument. | |
6131 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
6132 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
6133 | argument. | |
6134 | ||
1c63c994 TT |
6135 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6136 | ||
6137 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
6138 | argument. | |
6139 | * target.c (target_record_is_replaying): Add argument. | |
6140 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
6141 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
6142 | argument. | |
6143 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
6144 | (record_btrace_prepare_to_store, record_btrace_resume) | |
6145 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
6146 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
6147 | Update. | |
6148 | ||
d1b55219 TT |
6149 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6150 | ||
6151 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
6152 | * target.c (target_delete_record): Add argument. | |
6153 | * record-full.c (record_full_delete): Add 'self' argument. | |
6154 | ||
1390f529 TT |
6155 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6156 | ||
6157 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
6158 | * target.c (target_save_record): Add argument. | |
6159 | * record-full.c (record_full_save): Add 'self' argument. | |
6160 | (record_full_save): Add 'self' argument. | |
6161 | ||
630d6a4a TT |
6162 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6163 | ||
6164 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
6165 | * target.c (target_info_record): Add argument. | |
6166 | * record.c (info_record_command): Add argument. | |
6167 | * record-full.c (record_full_info): Add 'self' argument. | |
6168 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
6169 | ||
c6cd7c02 TT |
6170 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6171 | ||
6172 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
6173 | * target.c (target_stop_recording): Add argument. | |
6174 | * record.c (record_stop): Add argument. | |
6175 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
6176 | argument. | |
6177 | ||
39c49f83 TT |
6178 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6179 | ||
6180 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
6181 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
6182 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
6183 | argument. | |
6184 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
6185 | (_initialize_amd64_linux_nat): Use it. | |
6186 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
6187 | (_initialize_i386_linux_nat): Use it. | |
6188 | ||
1777056d TT |
6189 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6190 | ||
6191 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
6192 | * target.c (target_teardown_btrace): Add argument. | |
6193 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
6194 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
6195 | argument. | |
6196 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
6197 | argument. | |
6198 | ||
25e95349 TT |
6199 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6200 | ||
6201 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
6202 | * target.c (target_disable_btrace): Add argument. | |
6203 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
6204 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
6205 | argument. | |
6206 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
6207 | argument. | |
6208 | ||
e3c49f88 TT |
6209 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6210 | ||
6211 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
6212 | * target.c (target_enable_btrace): Add argument. | |
6213 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
6214 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
6215 | argument. | |
6216 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
6217 | argument. | |
6218 | ||
fe38f897 TT |
6219 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6220 | ||
6221 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
6222 | (target_can_use_agent): Add argument. | |
6223 | * target.c (update_current_target): Update. | |
6224 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
6225 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
6226 | ||
2c152180 TT |
6227 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6228 | ||
6229 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
6230 | (target_use_agent): Add argument. | |
6231 | * target.c (update_current_target): Update. | |
6232 | * remote.c (remote_use_agent): Add 'self' argument. | |
6233 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
6234 | ||
a893e81f TT |
6235 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6236 | ||
6237 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
6238 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
6239 | (target_traceframe_info): Add argument. | |
6240 | * target.c (update_current_target): Update. | |
6241 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
6242 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
6243 | ||
c686c57f TT |
6244 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6245 | ||
6246 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
6247 | argument. | |
6248 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
6249 | 'self' argument. | |
6250 | * target.c (update_current_target): Update. | |
6251 | * remote.c (struct target_ops) | |
6252 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
6253 | * linux-nat.c (struct target_ops) | |
6254 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
6255 | ||
61fc905d TT |
6256 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6257 | ||
6258 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
6259 | Add argument. | |
6260 | (target_static_tracepoint_marker_at): Add argument. | |
6261 | * target.c (update_current_target): Update. | |
6262 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
6263 | argument. | |
6264 | ||
c378d69d TT |
6265 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6266 | ||
6267 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
6268 | (target_set_permissions): Add argument. | |
6269 | * target.c (update_current_target): Update. | |
6270 | * remote.c (remote_set_permissions): Add 'self' argument. | |
6271 | (remote_start_remote): Update. | |
6272 | ||
bd7ae0f5 TT |
6273 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6274 | ||
6275 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
6276 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
6277 | (target_get_tib_address): Add argument. | |
6278 | * target.c (update_current_target): Update. | |
6279 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
6280 | ||
d9e68a2c TT |
6281 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6282 | ||
6283 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
6284 | (target_set_trace_notes): Add argument. | |
6285 | * target.c (update_current_target): Update. | |
6286 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
6287 | ||
4da384be TT |
6288 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6289 | ||
6290 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
6291 | argument. | |
6292 | (target_set_trace_buffer_size): Add argument. | |
6293 | * target.c (update_current_target): Update. | |
6294 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
6295 | ||
736d5b1f TT |
6296 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6297 | ||
6298 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
6299 | argument. | |
6300 | (target_set_circular_trace_buffer): Add argument. | |
6301 | * target.c (update_current_target): Update. | |
6302 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
6303 | argument. | |
6304 | ||
37b25738 TT |
6305 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6306 | ||
6307 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
6308 | argument. | |
6309 | (target_set_disconnected_tracing): Add argument. | |
6310 | * target.c (update_current_target): Update. | |
6311 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
6312 | ||
0e67620a TT |
6313 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6314 | ||
6315 | * target.h (struct target_ops) | |
6316 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
6317 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
6318 | * target.c (update_current_target): Update. | |
6319 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
6320 | argument. | |
6321 | ||
88ee6f45 TT |
6322 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6323 | ||
6324 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
6325 | argument. | |
6326 | (target_get_raw_trace_data): Add argument. | |
6327 | * target.c (update_current_target): Update. | |
6328 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
6329 | ||
181e3713 TT |
6330 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6331 | ||
6332 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
6333 | Add argument. | |
6334 | (target_upload_trace_state_variables): Add argument. | |
6335 | * target.c (update_current_target): Update. | |
6336 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
6337 | argument. | |
6338 | (remote_start_remote): Update. | |
6339 | ||
ab6617cc TT |
6340 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6341 | ||
6342 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
6343 | argument. | |
6344 | (target_upload_tracepoints): Add argument. | |
6345 | * target.c (update_current_target): Update. | |
6346 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
6347 | (remote_start_remote): Update. | |
6348 | ||
dc3decaf TT |
6349 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6350 | ||
6351 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
6352 | (target_save_trace_data): Add argument. | |
6353 | * target.c (update_current_target): Update. | |
6354 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
6355 | ||
4011015b TT |
6356 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6357 | ||
6358 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
6359 | argument. | |
6360 | * target.h (struct target_ops) | |
6361 | <to_get_trace_state_variable_value>: Add argument. | |
6362 | (target_get_trace_state_variable_value): Add argument. | |
6363 | * target.c (update_current_target): Update. | |
6364 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
6365 | argument. | |
6366 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
6367 | ||
bd4c6793 TT |
6368 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6369 | ||
6370 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
6371 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
6372 | (target_trace_find): Add argument. | |
6373 | * target.c (update_current_target): Update. | |
6374 | * remote.c (remote_trace_find): Add 'self' argument. | |
6375 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
6376 | ||
74499f1b TT |
6377 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6378 | ||
6379 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
6380 | (target_trace_stop): Add argument. | |
6381 | * target.c (update_current_target): Update. | |
6382 | * remote.c (remote_trace_stop): Add 'self' argument. | |
6383 | ||
db90e85c TT |
6384 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6385 | ||
6386 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
6387 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
6388 | argument. | |
6389 | (target_get_tracepoint_status): Add argument. | |
6390 | * target.c (update_current_target): Update. | |
6391 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
6392 | ||
8bd200f1 TT |
6393 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6394 | ||
6395 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
6396 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
6397 | argument. | |
6398 | (target_get_trace_status): Add argument. | |
6399 | * target.c (update_current_target): Update. | |
6400 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
6401 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
6402 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
6403 | ||
e2d1aae3 TT |
6404 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6405 | ||
6406 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
6407 | (target_trace_start): Add argument. | |
6408 | * target.c (update_current_target): Update. | |
6409 | * remote.c (remote_trace_start): Add 'self' argument. | |
6410 | ||
583f9a86 TT |
6411 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6412 | ||
6413 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
6414 | Add argument. | |
6415 | (target_trace_set_readonly_regions): Add argument. | |
6416 | * target.c (update_current_target): Update. | |
6417 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
6418 | argument. | |
6419 | ||
780b049c TT |
6420 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6421 | ||
6422 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
6423 | argument. | |
6424 | (target_disable_tracepoint): Add argument. | |
6425 | * target.c (update_current_target): Update. | |
6426 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
6427 | ||
46670d57 TT |
6428 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6429 | ||
6430 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
6431 | argument. | |
6432 | (target_enable_tracepoint): Add argument. | |
6433 | * target.c (update_current_target): Update. | |
6434 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
6435 | ||
559d2b81 TT |
6436 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6437 | ||
6438 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
6439 | Add argument. | |
6440 | (target_download_trace_state_variable): Add argument. | |
6441 | * target.c (update_current_target): Update. | |
6442 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
6443 | argument. | |
6444 | ||
a52a8357 TT |
6445 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6446 | ||
6447 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
6448 | argument. | |
6449 | (target_can_download_tracepoint): Add argument. | |
6450 | * target.c (update_current_target): Update. | |
6451 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
6452 | ||
548f7808 TT |
6453 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6454 | ||
6455 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
6456 | argument. | |
6457 | (target_download_tracepoint): Add argument. | |
6458 | * target.c (update_current_target): Update. | |
6459 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
6460 | ||
ecae04e1 TT |
6461 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6462 | ||
6463 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
6464 | (target_trace_init): Add argument. | |
6465 | * target.c (update_current_target): Update. | |
6466 | * remote.c (remote_trace_init): Add 'self' argument. | |
6467 | ||
fab5aa7c TT |
6468 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6469 | ||
6470 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
6471 | * target.c (target_fileio_readlink): Add argument. | |
6472 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
6473 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
6474 | ||
dbbca37d TT |
6475 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6476 | ||
6477 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
6478 | * target.c (target_fileio_unlink): Add argument. | |
6479 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
6480 | (remote_file_delete): Update. | |
6481 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
6482 | ||
df39ea25 TT |
6483 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6484 | ||
6485 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
6486 | * target.c (target_fileio_close): Add argument. | |
6487 | * remote.c (remote_hostio_close): Add 'self' argument. | |
6488 | (remote_hostio_close_cleanup): Update. | |
6489 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
6490 | Update. | |
6491 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
6492 | ||
a3be983c TT |
6493 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6494 | ||
6495 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
6496 | * target.c (target_fileio_pread): Add argument. | |
6497 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
6498 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
6499 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
6500 | ||
0d866f62 TT |
6501 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6502 | ||
6503 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
6504 | * target.c (target_fileio_pwrite): Add argument. | |
6505 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
6506 | (remote_file_put): Update. | |
6507 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
6508 | ||
cd897586 TT |
6509 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6510 | ||
6511 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
6512 | * target.c (target_fileio_open): Add argument. | |
6513 | * remote.c (remote_hostio_open): Add 'self' argument. | |
6514 | (remote_bfd_iovec_open): Add 'self' argument. | |
6515 | (remote_file_put): Add 'self' argument. | |
6516 | (remote_file_get): Add 'self' argument. | |
6517 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
6518 | ||
78eff0ec TT |
6519 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6520 | ||
6521 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
6522 | Add argument. | |
6523 | (target_can_run_breakpoint_commands): Add argument. | |
6524 | * target.c (update_current_target): Update. | |
6525 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
6526 | argument. | |
6527 | (remote_insert_breakpoint): Add 'self' argument. | |
6528 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
6529 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
6530 | ||
efcc2da7 TT |
6531 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6532 | ||
6533 | * target.h (struct target_ops) | |
6534 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
6535 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
6536 | argument. | |
6537 | * target.c (update_current_target): Update. | |
6538 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
6539 | argument. | |
6540 | (remote_insert_breakpoint): Add 'self' argument. | |
6541 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
6542 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
6543 | ||
6de37a3a TT |
6544 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6545 | ||
6546 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
6547 | argument. | |
6548 | (target_supports_string_tracing): Add argument. | |
6549 | * target.c (update_current_target): Update. | |
6550 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
6551 | ||
2bfc0540 TT |
6552 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6553 | ||
6554 | * target.h (struct target_ops) | |
6555 | <to_supports_disable_randomization>: Add argument. | |
6556 | * target.c (find_default_supports_disable_randomization): Add | |
6557 | argument. | |
6558 | (target_supports_disable_randomization): Add argument. | |
6559 | (find_default_supports_disable_randomization): Add 'self' | |
6560 | argument. | |
6561 | * remote.c (extended_remote_supports_disable_randomization): Add | |
6562 | 'self' argument. | |
6563 | (remote_supports_disable_randomization): Add 'self' argument. | |
6564 | (extended_remote_create_inferior): Update. | |
6565 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
6566 | 'self' argument. | |
6567 | ||
7d178d6a TT |
6568 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6569 | ||
6570 | * target.h (struct target_ops) | |
6571 | <to_supports_enable_disable_tracepoint>: Add argument. | |
6572 | (target_supports_enable_disable_tracepoint): Add argument. | |
6573 | * target.c (update_current_target): Update. | |
6574 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
6575 | argument. | |
6576 | ||
86ce2668 TT |
6577 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6578 | ||
6579 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
6580 | argument. | |
6581 | (target_supports_multi_process): Add argument. | |
6582 | * target.c (update_current_target): Update. | |
6583 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
6584 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
6585 | argument. | |
6586 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
6587 | argument. | |
6588 | ||
4c612759 TT |
6589 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6590 | ||
6591 | * target.h (struct target_ops) <to_execution_direction>: Add | |
6592 | argument. | |
6593 | (target_execution_direction): Add argument. | |
6594 | * target.c (default_execution_direction): Add 'self' argument. | |
6595 | * record-full.c (record_full_execution_direction): Add 'self' | |
6596 | argument. | |
6597 | ||
19db3e69 TT |
6598 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6599 | ||
6600 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
6601 | argument. | |
6602 | (target_can_execute_reverse): Add argument. | |
6603 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
6604 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
6605 | argument. | |
6606 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
6607 | argument. | |
6608 | ||
1e6b91a4 TT |
6609 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6610 | ||
6611 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
6612 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
6613 | argument. | |
6614 | (target_get_ada_task_ptid): Add argument. | |
6615 | * target.c (update_current_target): Update. | |
6616 | (default_get_ada_task_ptid): Add 'self' argument. | |
6617 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
6618 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
6619 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
6620 | argument. | |
6621 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
6622 | argument. | |
6623 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
6624 | argument. | |
6625 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
6626 | argument. | |
6627 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
6628 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
6629 | argument. | |
6630 | ||
3c80fb48 TT |
6631 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6632 | ||
6633 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
6634 | (target_goto_bookmark): Add argument. | |
6635 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
6636 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
6637 | ||
dd0e2830 TT |
6638 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6639 | ||
6640 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
6641 | (target_get_bookmark): Add argument. | |
6642 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
6643 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
6644 | ||
fc6691b2 TT |
6645 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6646 | ||
6647 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
6648 | argument. | |
6649 | (target_make_corefile_notes): Add argument. | |
6650 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
6651 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
6652 | (procfs_make_note_section): Add 'self' argument. | |
6653 | (procfs_make_note_section): Add 'self' argument. | |
6654 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
6655 | argument. | |
6656 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
6657 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
6658 | * exec.c (exec_make_note_section): Add 'self' argument. | |
6659 | (exec_make_note_section): Add 'self' argument. | |
6660 | ||
2e73927c TT |
6661 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6662 | ||
6663 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
6664 | argument. | |
6665 | (target_find_memory_regions): Add argument. | |
6666 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
6667 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
6668 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
6669 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
6670 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
6671 | * exec. (exec_do_find_memory_regions): New global. | |
6672 | (exec_set_find_memory_regions): Rewrite. | |
6673 | (exec_find_memory_regions): New function. | |
6674 | (init_exec_ops): Use exec_find_memory_regions. | |
6675 | ||
2a9a2795 TT |
6676 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6677 | ||
6678 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
6679 | argument. | |
6680 | * target.c (find_default_supports_non_stop): Add argument. | |
6681 | (target_supports_non_stop): Add argument. | |
6682 | (find_default_supports_non_stop): Add 'self' argument. | |
6683 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
6684 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
6685 | ||
4ab76ea3 TT |
6686 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6687 | ||
6688 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
6689 | (target_log_command): Add argument. | |
6690 | * serial.h (serial_log_command): Add 'self' argument. | |
6691 | * serial.c (serial_log_command): Add 'self' argument. | |
6692 | ||
8dd27370 TT |
6693 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6694 | ||
6695 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
6696 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
6697 | argument. | |
6698 | (target_pid_to_exec_file): Add argument. | |
6699 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
6700 | (update_current_target): Update. | |
6701 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
6702 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
6703 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
6704 | (linux_handle_extended_wait): Update. | |
6705 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
6706 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
6707 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
6708 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
6709 | ||
1aac633b TT |
6710 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6711 | ||
6712 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
6713 | (target_rcmd): Add argument. | |
6714 | * target.c (debug_to_rcmd): Add argument. | |
6715 | (update_current_target, do_monitor_command): Update. | |
6716 | * remote.c (remote_rcmd): Add 'self' argument. | |
6717 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
6718 | ||
1eab8a48 TT |
6719 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6720 | ||
6721 | * windows-nat.c (windows_stop): Add 'self' argument. | |
6722 | * target.h (struct target_ops) <to_stop>: Add argument. | |
6723 | * target.c (target_stop): Add argument. | |
6724 | (debug_to_stop): Add argument. | |
6725 | (update_current_target): Update. | |
6726 | * remote.c (remote_stop): Add 'self' argument. | |
6727 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
6728 | (gdbsim_cntrl_c): Update. | |
6729 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
6730 | * procfs.c (procfs_stop): Add 'self' argument. | |
6731 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
6732 | * monitor.c (monitor_stop): Add 'self' argument. | |
6733 | (monitor_open): Update. | |
6734 | * linux-nat.c (linux_nat_stop): Add argument. | |
6735 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
6736 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
6737 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
6738 | ||
503a628d TT |
6739 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6740 | ||
6741 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
6742 | * target.c (target_thread_name): Add argument. | |
6743 | (update_current_target): Update. | |
6744 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
6745 | ||
c15906d8 TT |
6746 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6747 | ||
6748 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
6749 | argument. | |
6750 | (target_extra_thread_info): Add argument. | |
6751 | * target.c (update_current_target): Update. | |
6752 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
6753 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
6754 | argument. | |
6755 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
6756 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
6757 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
6758 | argument. | |
6759 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
6760 | argument. | |
6761 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
6762 | argument. | |
6763 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
6764 | argument. | |
6765 | ||
daf5e9b6 TT |
6766 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6767 | ||
6768 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
6769 | * target.c (target_program_signals): Add argument. | |
6770 | * remote.c (remote_program_signals): Add 'self' argument. | |
6771 | ||
94bedb42 TT |
6772 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6773 | ||
6774 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
6775 | * target.c (target_pass_signals): Add argument. | |
6776 | * remote.c (remote_pass_signals): Add 'self' argument. | |
6777 | (remote_start_remote): Update. | |
6778 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
6779 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
6780 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
6781 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
6782 | ||
da82bd6b TT |
6783 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6784 | ||
6785 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
6786 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
6787 | (target_can_run): Add argument. | |
6788 | * target.c (debug_to_can_run): Add argument. | |
6789 | (update_current_target): Update. | |
6790 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
6791 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
6792 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
6793 | ||
d796e1d6 TT |
6794 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6795 | ||
6796 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
6797 | (target_has_exited): Add argument. | |
6798 | * target.c (debug_to_has_exited): Add argument. | |
6799 | (update_current_target): Update. | |
6800 | ||
ff214e67 TT |
6801 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6802 | ||
6803 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
6804 | argument. | |
6805 | (target_set_syscall_catchpoint): Add argument. | |
6806 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
6807 | argument. | |
6808 | * target.c (update_current_target): Update. | |
6809 | ||
758e29d2 TT |
6810 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6811 | ||
6812 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
6813 | argument. | |
6814 | (target_remove_exec_catchpoint): Add argument. | |
6815 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
6816 | (update_current_target): Update. | |
6817 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
6818 | argument. | |
6819 | ||
ba025e51 TT |
6820 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6821 | ||
6822 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
6823 | argument. | |
6824 | (target_insert_exec_catchpoint): Add argument. | |
6825 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
6826 | (update_current_target): Update. | |
6827 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
6828 | argument. | |
6829 | ||
e98cf0cd TT |
6830 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6831 | ||
6832 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
6833 | argument. | |
6834 | (target_remove_vfork_catchpoint): Add argument. | |
6835 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
6836 | (update_current_target): Update. | |
6837 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
6838 | argument. | |
6839 | ||
3ecc7da0 TT |
6840 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6841 | ||
6842 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
6843 | argument. | |
6844 | (target_insert_vfork_catchpoint): Add argument. | |
6845 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
6846 | (update_current_target): Update. | |
6847 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
6848 | argument. | |
6849 | ||
973fc227 TT |
6850 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6851 | ||
6852 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
6853 | argument. | |
6854 | (target_remove_fork_catchpoint): Add argument. | |
6855 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
6856 | (update_current_target): Update. | |
6857 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
6858 | argument. | |
6859 | ||
a863b201 TT |
6860 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6861 | ||
6862 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
6863 | argument. | |
6864 | (target_insert_fork_catchpoint): Add argument. | |
6865 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
6866 | (update_current_target): Update. | |
6867 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
6868 | argument. | |
6869 | ||
2e97a79e TT |
6870 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6871 | ||
6872 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
6873 | argument. | |
6874 | (target_post_startup_inferior): Add argument. | |
6875 | * target.c (debug_to_post_startup_inferior): Add argument. | |
6876 | (update_current_target): Update. | |
6877 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
6878 | argument. | |
6879 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
6880 | argument. | |
6881 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
6882 | argument. | |
6883 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
6884 | argument. | |
6885 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
6886 | 'self' argument. | |
6887 | (super_post_startup_inferior): Likewise. | |
6888 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
6889 | 'self' argument. | |
6890 | (super_post_startup_inferior): Likewise. | |
6891 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
6892 | Add 'self' argument. | |
6893 | (super_post_startup_inferior): Likewise. | |
6894 | ||
71a9f134 TT |
6895 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6896 | ||
6897 | * target.h (struct target_ops) <to_load>: Add argument. | |
6898 | * target.c (target_load): Add argument. | |
6899 | (debug_to_load): Add argument. | |
6900 | (update_current_target): Update. | |
6901 | * remote.c (remote_load): Add 'self' argument. | |
6902 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
6903 | * remote-mips.c (mips_load): Add 'self' argument. | |
6904 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
6905 | * monitor.c (monitor_load): Add 'self' argument. | |
6906 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
6907 | ||
0a4f40a2 TT |
6908 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6909 | ||
6910 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
6911 | (target_terminal_info): Add argument. | |
6912 | * target.c (debug_to_terminal_info): Add argument. | |
6913 | (default_terminal_info): Likewise. | |
6914 | * inflow.c (child_terminal_info): Add 'self' argument. | |
6915 | * inferior.h (child_terminal_info): Add 'self' argument. | |
6916 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
6917 | ||
ae3bd431 TT |
6918 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6919 | ||
6920 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
6921 | argument. | |
6922 | (target_terminal_save_ours): Add argument. | |
6923 | * target.c (debug_to_terminal_save_ours): Add argument. | |
6924 | (update_current_target): Update. | |
6925 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
6926 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
6927 | ||
e3594fd1 TT |
6928 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6929 | ||
6930 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
6931 | (target_terminal_ours): Add argument. | |
6932 | * target.c (debug_to_terminal_ours): Add argument. | |
6933 | (update_current_target): Update. | |
6934 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
6935 | (remote_close): Update. | |
6936 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
6937 | * inflow.c (terminal_ours): Add 'self' argument. | |
6938 | * inferior.h (terminal_ours): Add 'self' argument. | |
6939 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
6940 | ||
2e1e1a19 TT |
6941 | 2014-02-19 Pedro Alves <palves@redhat.com> |
6942 | Tom Tromey <tromey@redhat.com> | |
6943 | ||
6944 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
6945 | argument. | |
6946 | (target_terminal_ours_for_output): Add argument. | |
6947 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
6948 | (update_current_target): Update. | |
6949 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
6950 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
6951 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
6952 | ||
d2f640d4 TT |
6953 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6954 | ||
6955 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
6956 | argument. | |
6957 | * target.c (target_terminal_inferior): Add argument. | |
6958 | (update_current_target): Update. | |
6959 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
6960 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
6961 | * inflow.c (terminal_inferior): Add 'self' argument. | |
6962 | * inferior.h (terminal_inferior): Add 'self' argument. | |
6963 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
6964 | (go32_terminal_inferior): Add 'self' argument. | |
6965 | ||
c42bf286 TT |
6966 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6967 | ||
6968 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
6969 | (target_terminal_init): Add argument. | |
6970 | * target.c (debug_to_terminal_init): Add argument. | |
6971 | (update_current_target): Update. | |
6972 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
6973 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
6974 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
6975 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
6976 | ||
c3a5ff89 TT |
6977 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6978 | ||
6979 | * target.h (struct target_ops) | |
6980 | <to_can_accel_watchpoint_condition>: Add argument. | |
6981 | (target_can_accel_watchpoint_condition): Add argument. | |
6982 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
6983 | argument. | |
6984 | (update_current_target): Update. | |
6985 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
6986 | 'self' argument. | |
6987 | ||
31568a15 TT |
6988 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
6989 | ||
6990 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
6991 | Add argument. | |
6992 | (target_region_ok_for_hw_watchpoint): Add argument. | |
6993 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
6994 | (default_region_ok_for_hw_watchpoint): Add argument. | |
6995 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
6996 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
6997 | argument. | |
6998 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
6999 | argument. | |
7000 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
7001 | argument. | |
7002 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
7003 | 'self' argument. | |
7004 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
7005 | 'self' argument. | |
7006 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
7007 | 'self' argument. | |
7008 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
7009 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
7010 | 'self' argument. | |
7011 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
7012 | Add 'self' argument. | |
7013 | ||
7bb99c53 TT |
7014 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7015 | ||
7016 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
7017 | argument. | |
7018 | (target_insert_watchpoint): Add argument. | |
7019 | * target.c (debug_to_insert_watchpoint): Add argument. | |
7020 | (update_current_target): Update. | |
7021 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
7022 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
7023 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
7024 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
7025 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
7026 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
7027 | argument. | |
7028 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
7029 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
7030 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
7031 | argument. | |
7032 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
7033 | argument. | |
7034 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
7035 | argument. | |
7036 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
7037 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
7038 | argument. | |
7039 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
7040 | 'self' argument. | |
7041 | ||
11b5219a TT |
7042 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7043 | ||
7044 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
7045 | argument. | |
7046 | (target_remove_watchpoint): Add argument. | |
7047 | * target.c (debug_to_remove_watchpoint): Add argument. | |
7048 | (update_current_target): Update. | |
7049 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
7050 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
7051 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
7052 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
7053 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
7054 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
7055 | argument. | |
7056 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
7057 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
7058 | argument. | |
7059 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
7060 | argument. | |
7061 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
7062 | argument. | |
7063 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
7064 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
7065 | argument. | |
7066 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
7067 | 'self' argument. | |
7068 | ||
a64dc96c TT |
7069 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7070 | ||
7071 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
7072 | argument. | |
7073 | (target_remove_hw_breakpoint): Add argument. | |
7074 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
7075 | (update_current_target): Update. | |
7076 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
7077 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
7078 | argument. | |
7079 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
7080 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
7081 | argument. | |
7082 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
7083 | 'self' argument. | |
7084 | ||
23a26771 TT |
7085 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7086 | ||
7087 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
7088 | argument. | |
7089 | (target_insert_hw_breakpoint): Add argument. | |
7090 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
7091 | (update_current_target): Update. | |
7092 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
7093 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
7094 | argument. | |
7095 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
7096 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
7097 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
7098 | argument. | |
7099 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
7100 | 'self' argument. | |
7101 | ||
5461485a TT |
7102 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7103 | ||
7104 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
7105 | argument. | |
7106 | (target_can_use_hardware_watchpoint): Add argument. | |
7107 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
7108 | (update_current_target): Update. | |
7109 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
7110 | argument. | |
7111 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
7112 | argument. | |
7113 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
7114 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
7115 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
7116 | argument. | |
7117 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
7118 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
7119 | argument. | |
7120 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
7121 | argument. | |
7122 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
7123 | argument. | |
7124 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
7125 | argument. | |
7126 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
7127 | argument. | |
7128 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
7129 | argument. | |
7130 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
7131 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
7132 | argument. | |
7133 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
7134 | 'self' argument. | |
7135 | ||
f045800c TT |
7136 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7137 | ||
7138 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
7139 | (target_post_attach): Add argument. | |
7140 | * target.c (debug_to_post_attach): Add argument. | |
7141 | (update_current_target): Update. | |
7142 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
7143 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
7144 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
7145 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
7146 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
7147 | ||
de90e03d TT |
7148 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7149 | ||
7150 | * windows-nat.c (windows_close): Add 'self' argument. | |
7151 | * tracepoint.c (tfile_close): Add 'self' argument. | |
7152 | * target.h (struct target_ops) <to_close>: Add argument. | |
7153 | * target.c (target_close): Add argument. | |
7154 | (update_current_target): Update. | |
7155 | * remote.c (remote_close): Add 'self' argument. | |
7156 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
7157 | * remote-mips.c (mips_close): Add 'self' argument. | |
7158 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
7159 | * record-full.c (record_full_close): Add 'self' argument. | |
7160 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
7161 | * monitor.h (monitor_close): Add 'self' argument. | |
7162 | * monitor.c (monitor_close): Add 'self' argument. | |
7163 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
7164 | * linux-nat.c (linux_nat_close): Add argument. | |
7165 | * go32-nat.c (go32_close): Add 'self' argument. | |
7166 | * exec.c (exec_close_1): Add 'self' argument. | |
7167 | * ctf.c (ctf_close): Add 'self' argument. | |
7168 | * corelow.c (core_close): Add 'self' argument. | |
7169 | (core_close_cleanup): Update. | |
7170 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
7171 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
7172 | ||
9dd130a0 TT |
7173 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7174 | ||
7175 | * remote.c (remote_load): New function. | |
7176 | (init_remote_ops): Use it. | |
7177 | ||
46917d26 TT |
7178 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7179 | ||
7180 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
7181 | argument. | |
7182 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
7183 | * remote.c (remote_supports_btrace): Add "self" argument. | |
7184 | * target-delegates.c: Rebuild. | |
7185 | * target.c (target_supports_btrace): Remove. | |
7186 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
7187 | target_ops argument. | |
7188 | (target_supports_btrace): New define. | |
7189 | ||
6b84065d TT |
7190 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7191 | ||
7192 | * record-full.c (record_full_beneath_to_resume_ops) | |
7193 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
7194 | (record_full_beneath_to_wait) | |
7195 | (record_full_beneath_to_store_registers_ops) | |
7196 | (record_full_beneath_to_store_registers) | |
7197 | (record_full_beneath_to_xfer_partial_ops) | |
7198 | (record_full_beneath_to_xfer_partial) | |
7199 | (record_full_beneath_to_insert_breakpoint_ops) | |
7200 | (record_full_beneath_to_insert_breakpoint) | |
7201 | (record_full_beneath_to_remove_breakpoint_ops) | |
7202 | (record_full_beneath_to_remove_breakpoint) | |
7203 | (record_full_beneath_to_stopped_by_watchpoint) | |
7204 | (record_full_beneath_to_stopped_data_address) | |
7205 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
7206 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
7207 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
7208 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
7209 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
7210 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
7211 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
7212 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
7213 | (record_full_resume, record_full_wait_1) | |
7214 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
7215 | (record_full_store_registers, record_full_xfer_partial) | |
7216 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
7217 | (record_full_async, record_full_core_xfer_partial): Use target | |
7218 | delegation. | |
7219 | * target-delegates.c: Rebuild. | |
7220 | * target.c (current_xfer_partial): Remove. | |
7221 | (update_current_target): Do not INHERIT or de_fault | |
7222 | to_insert_breakpoint, to_remove_breakpoint, | |
7223 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
7224 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
7225 | (default_xfer_partial): Simplify. | |
7226 | (current_xfer_partial): Remove. | |
7227 | (target_wait, target_resume): Simplify. | |
7228 | (find_default_can_async_p, find_default_is_async_p): Update. | |
7229 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
7230 | to_xfer_partial, to_stopped_by_watchpoint, | |
7231 | to_stopped_data_address. | |
7232 | (target_store_registers): Simplify. | |
7233 | (forward_target_remove_breakpoint) | |
7234 | (forward_target_insert_breakpoint): Remove. | |
7235 | (target_remove_breakpoint, target_insert_breakpoint) | |
7236 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
7237 | * target.h (struct target_ops) <to_resume, to_wait, | |
7238 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
7239 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
7240 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
7241 | markup. | |
7242 | (forward_target_remove_breakpoint) | |
7243 | (forward_target_insert_breakpoint): Remove. | |
7244 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
7245 | directly. | |
7246 | (record_btrace_insert_breakpoint): Delegate directly. | |
7247 | ||
1101cb7b TT |
7248 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7249 | ||
7250 | PR build/7701: | |
7251 | * target-delegates.c: New file. | |
7252 | * target.c: Include target-delegates.c. | |
7253 | (init_dummy_target): Call install_dummy_methods. | |
7254 | (complete_target_initialization): Call install_delegators. | |
7255 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
7256 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
7257 | * make-target-delegates: New file. | |
7258 | ||
8b06beed TT |
7259 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7260 | ||
7261 | * record.c (find_record_target): Use find_target_at. | |
7262 | * target.c (find_target_at): New function. | |
7263 | * target.h (find_target_at): Declare. | |
7264 | ||
6a109b6b TT |
7265 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
7266 | ||
7267 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
7268 | Add 'ops' argument. | |
7269 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
7270 | 'ops' argument. | |
7271 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
7272 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
7273 | 'ops' argument. | |
7274 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
7275 | argument. | |
7276 | * linux-nat.c (save_sigtrap): Update. | |
7277 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
7278 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
7279 | (linux_nat_close): Update. | |
7280 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
7281 | argument. | |
7282 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
7283 | argument. | |
7284 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
7285 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
7286 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
7287 | (tmp_to_async): Add 'ops' argument. | |
7288 | (record_full_stopped_by_watchpoint, record_full_async) | |
7289 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
7290 | argument. | |
7291 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
7292 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
7293 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
7294 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
7295 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
7296 | (remote_stopped_data_address): Update. | |
7297 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
7298 | * target.c (update_current_target) | |
7299 | (find_default_can_async_p, find_default_is_async_p): Update. | |
7300 | (init_dummy_target): Update. | |
7301 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
7302 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
7303 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
7304 | (target_can_async_p, target_is_async_p, target_async) | |
7305 | (target_stopped_by_watchpoint): Update. | |
7306 | ||
e095146b YQ |
7307 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
7308 | ||
7309 | PR gdb/16220 | |
7310 | * gdbarch.sh: Remove startup_gdbarch. | |
7311 | * gdbarch.c: Regenerated. | |
7312 | * gdbarch.h: Likewise. | |
7313 | ||
bc3c6b36 KB |
7314 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
7315 | ||
7316 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
7317 | (rl78_return_value): Add g10 support. | |
7318 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
7319 | g10. | |
7320 | ||
98dc0167 | 7321 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
7322 | |
7323 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
7324 | (SUBDIR_GUILE_SRCS): Ditto. | |
7325 | (scm-gsmob.o): Ditto. | |
7326 | ||
842c05cd YQ |
7327 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
7328 | ||
7329 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
7330 | ||
25c0bd04 YQ |
7331 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
7332 | ||
7333 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
7334 | mach_msg_type_number_t. | |
7335 | (gnu_write_inferior): Likewise. | |
7336 | ||
a9a758e3 YQ |
7337 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
7338 | ||
7339 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
7340 | in format string. | |
7341 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
7342 | (inf_validate_procs, inf_signal): Likewise. | |
7343 | (S_exception_raise_request): Likewise. | |
7344 | (do_mach_notify_dead_name): Likewise. | |
7345 | (steal_exc_port): Likewise. | |
7346 | (gnu_read_inferior): Change 'copy_count''s type to | |
7347 | mach_msg_type_number_t. | |
7348 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
7349 | format string. | |
7350 | ||
bae8023e TS |
7351 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
7352 | ||
c82f56d9 TS |
7353 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
7354 | flag. Adjust all users; in particular... | |
7355 | (gnu_wait): ..., don't decrement its value in here... | |
7356 | (gnu_create_inferior): ..., and instead set the flag in here, | |
7357 | around the startup_inferior call, and call that one with | |
7358 | START_INFERIOR_TRAPS_EXPECTED. | |
7359 | ||
3398af6a TS |
7360 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
7361 | (ILL_RPC): ... new macro. | |
7362 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
7363 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
7364 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
7365 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
7366 | functions with ILL_RPC macro. | |
7367 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
7368 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
7369 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
7370 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
7371 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
7372 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
7373 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
7374 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
7375 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
7376 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
7377 | (S_proc_get_code_reply): New stub functions, generated with | |
7378 | ILL_RPC macro. | |
7379 | ||
d47642c9 TS |
7380 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
7381 | collected the type check structures. | |
7382 | ||
bae8023e TS |
7383 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
7384 | ||
8a55ffb0 DE |
7385 | 2014-02-14 Doug Evans <dje@google.com> |
7386 | ||
7387 | * target.c (target_write_partial): Fix result type. | |
7388 | ||
c2853f3d JM |
7389 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
7390 | ||
7391 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
7392 | the proper offsets to access fpregset_t. | |
7393 | ||
ac61d2db SA |
7394 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
7395 | ||
7396 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
7397 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
7398 | * h8300-tdep.c (setmachinelist): Remove global. | |
7399 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
7400 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
7401 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
7402 | * ravenscar-thread.c (update_target_observer): Remove global. | |
7403 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
7404 | ||
9d2d0b8b TT |
7405 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7406 | ||
7407 | * common/rsp-low.c: Update comments. | |
7408 | * common/rsp-low.h: Update comments. | |
7409 | ||
a7191e8b TT |
7410 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7411 | ||
7412 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
7413 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
7414 | ||
ff0e980e TT |
7415 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7416 | ||
7417 | * common/rsp-low.h (unhexify): Don't declare. | |
7418 | * common/rsp-low.c (unhexify): Remove. | |
7419 | ||
e9371aff TT |
7420 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7421 | ||
7422 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
7423 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
7424 | ||
971dc0b8 TT |
7425 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7426 | ||
7427 | * common/rsp-low.h (hexify): Don't declare. | |
7428 | * common/rsp-low.c (hexify): Remove. | |
7429 | ||
0a822afb TT |
7430 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7431 | ||
7432 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
7433 | ||
9f1b45b0 TT |
7434 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7435 | ||
7436 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
7437 | * remote.c (extended_remote_run, remote_rcmd) | |
7438 | (remote_download_trace_state_variable, remote_save_trace_data) | |
7439 | (remote_set_trace_notes): Update. | |
7440 | * tracepoint.c (encode_source_string, tfile_write_status) | |
7441 | (tfile_write_uploaded_tsv): Update. | |
7442 | ||
9c3d6531 TT |
7443 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7444 | ||
7445 | * tracepoint.c: Include rsp-low.h. | |
7446 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
7447 | * remote.c: Include rsp-low.h. | |
7448 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
7449 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
7450 | (remote_unescape_input): Move to common/rsp-low.c. | |
7451 | * common/rsp-low.h: New file. | |
7452 | * common/rsp-low.c: New file. | |
7453 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
7454 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
7455 | (COMMON_OBS): Add rsp-low.o. | |
7456 | (rsp-low.o): New target. | |
7457 | ||
01fd3ea5 TT |
7458 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7459 | ||
7460 | * utils.h: Include print-utils.h. | |
7461 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
7462 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
7463 | (hex_string, hex_string_custom): Don't declare. | |
7464 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
7465 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
7466 | (hex_string_custom, int_string, core_addr_to_string) | |
7467 | (core_addr_to_string_nz, host_address_to_string): Move to | |
7468 | common/print-utils.c. | |
7469 | * common/print-utils.h: New file. | |
7470 | * common/print-utils.c: New file | |
7471 | * Makefile.in (SFILES): Add common/print-utils.c. | |
7472 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
7473 | (COMMON_OBS): Add print-utils.o. | |
7474 | (print-utils.o): New target. | |
7475 | ||
9fb50108 TT |
7476 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
7477 | ||
7478 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
7479 | ||
0548b5db MK |
7480 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
7481 | ||
7482 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
7483 | ||
493443a4 MK |
7484 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
7485 | ||
7486 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
7487 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
7488 | bytes were transferred. | |
7489 | ||
706d0883 PA |
7490 | 2014-02-12 Pedro Alves <palves@redhat.com> |
7491 | Kevin Buettner <kevinb@redhat.com> | |
7492 | ||
7493 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
7494 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
7495 | ||
5caa2f0b PA |
7496 | 2014-02-12 Pedro Alves <palves@redhat.com> |
7497 | ||
7498 | * h8300-tdep.c (pseudo_from_raw_register) | |
7499 | (raw_from_pseudo_register): New functions. | |
7500 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
7501 | them. | |
7502 | ||
76fd5f74 PA |
7503 | 2014-02-12 Pedro Alves <palves@redhat.com> |
7504 | ||
7505 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
7506 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
7507 | gdbarch_register_sim_regno hook. | |
7508 | ||
8f008406 SA |
7509 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
7510 | ||
7511 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
7512 | ||
195abc10 SA |
7513 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
7514 | ||
7515 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
7516 | ||
93ffa5b9 MK |
7517 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
7518 | ||
7519 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
7520 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
7521 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
7522 | (obsd_init_abi): New functions. | |
7523 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
7524 | (i386obsd_init_abi): Call obsd_init_abi. | |
7525 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
7526 | (amd64obsd_init_abi): Call obsd_init_abi. | |
7527 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
7528 | obsd-tdep.c to gdb_target_obs. | |
7529 | ||
49caec94 JM |
7530 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
7531 | ||
7532 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
7533 | double float arguments to 16-byte in the argument slots. | |
7534 | ||
e1402065 DE |
7535 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
7536 | ||
7537 | * configure.ac: Don't crash if pkg-config is not found and guile | |
7538 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
7539 | in guile checks. | |
7540 | * configure: Regenerate. | |
7541 | ||
edcc890f YQ |
7542 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
7543 | ||
7544 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
7545 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
7546 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
7547 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
7548 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
7549 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
7550 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
7551 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
7552 | ||
9b409511 YQ |
7553 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
7554 | ||
7555 | * target.h (enum target_xfer_error): Rename to ... | |
7556 | (enum target_xfer_status): ... it. New. All users updated. | |
7557 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
7558 | New. | |
7559 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
7560 | (target_xfer_error_to_string): Remove declaration. | |
7561 | (target_xfer_status_to_string): Declare. | |
7562 | (target_xfer_partial_ftype): Adjust it. | |
7563 | (struct target_ops) <to_xfer_partial>: Return | |
7564 | target_xfer_status. Add argument xfered_len. Update | |
7565 | comments. | |
7566 | * target.c (target_xfer_error_to_string): Rename to ... | |
7567 | (target_xfer_status_to_string): ... it. New. All callers | |
7568 | updated. | |
7569 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
7570 | instead of target_read. | |
7571 | (memory_xfer_live_readonly_partial): Return | |
7572 | target_xfer_status. Add argument xfered_len. | |
7573 | (raw_memory_xfer_partial): Likewise. | |
7574 | (memory_xfer_partial_1): Likewise. | |
7575 | (memory_xfer_partial): Likewise. | |
7576 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
7577 | properly. Update debug message. | |
7578 | (default_xfer_partial, current_xfer_partial): Likewise. | |
7579 | (target_write_partial): Likewise. | |
7580 | (target_read_partial): Likewise. All callers updated. | |
7581 | (read_whatever_is_readable): Likewise. | |
7582 | (target_write_with_progress): Likewise. | |
7583 | (target_read_alloc_1): Likewise. | |
7584 | ||
7585 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
7586 | * auxv.c (procfs_xfer_auxv): Likewise. | |
7587 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
7588 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
7589 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
7590 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
7591 | * corefile.c (read_memory): Adjust. | |
7592 | * corelow.c (core_xfer_partial): Likewise. | |
7593 | * ctf.c (ctf_xfer_partial): Likewise. | |
7594 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
7595 | updated. | |
7596 | (darwin_xfer_partial): Likewise. | |
7597 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
7598 | callers updated. | |
7599 | (exec_xfer_partial): Likewise. | |
7600 | * exec.h (section_table_xfer_memory_partial): Update | |
7601 | declaration. | |
7602 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
7603 | negative. | |
7604 | (gnu_xfer_partial): Likewise. | |
7605 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
7606 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
7607 | (ia64_hpux_xfer_solib_got): Likewise. | |
7608 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
7609 | type of 'partial_len' to ULONGEST. | |
7610 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
7611 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
7612 | (linux_nat_xfer_partial): Likewise. | |
7613 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
7614 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
7615 | * monitor.c (monitor_xfer_memory): Likewise. | |
7616 | (monitor_xfer_partial): Likewise. | |
7617 | * procfs.c (procfs_xfer_partial): Likewise. | |
7618 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
7619 | * record-full.c (record_full_xfer_partial): Likewise. | |
7620 | (record_full_core_xfer_partial): Likewise. | |
7621 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
7622 | (gdbsim_xfer_partial): Likewise. | |
7623 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
7624 | updated. | |
7625 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
7626 | callers updated. | |
7627 | (remote_flash_erase): Likewise. All callers updated. | |
7628 | (remote_write_qxfer): Likewise. All callers updated. | |
7629 | (remote_read_qxfer): Likewise. All callers updated. | |
7630 | (remote_xfer_partial): Likewise. | |
7631 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
7632 | (rs6000_xfer_shared_libraries): Likewise. | |
7633 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
7634 | (sol_thread_xfer_partial): Likewise. | |
7635 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
7636 | (sparc_xfer_partial): Likewise. | |
7637 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
7638 | updated. | |
7639 | (spu_xfer_partial): Likewise. | |
7640 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
7641 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
7642 | * windows-nat.c (windows_xfer_memory): Likewise. | |
7643 | (windows_xfer_shared_libraries): Likewise. | |
7644 | (windows_xfer_partial): Likewise. | |
7645 | * valprint.c: Replace 'target_xfer_error' with | |
7646 | 'target_xfer_status' in comments. | |
7647 | ||
a8e63083 JB |
7648 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
7649 | ||
7650 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
7651 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
7652 | ||
e86b67d3 JB |
7653 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
7654 | ||
7655 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
7656 | function parameters. | |
7657 | ||
4b7d1f7f WN |
7658 | 2014-02-10 Will Newton <will.newton@linaro.org> |
7659 | ||
7660 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
7661 | looking up .got.plt fails. | |
7662 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
7663 | on address passed to elf_gnu_ifunc_record_cache. | |
7664 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
7665 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
7666 | ||
961842b2 JM |
7667 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
7668 | ||
7669 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
7670 | (X_RETTURN): New macro. | |
7671 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
7672 | ||
7673 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
7674 | sparc_in_function_epilogue_p. | |
7675 | ||
3f03e7b1 GB |
7676 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
7677 | ||
7678 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
7679 | Rename name_matcher to symbol_matcher. | |
7680 | ||
96f861ef GB |
7681 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
7682 | ||
7683 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
7684 | Use expand_symtabs_file_matcher_ftype and | |
7685 | expand_symtabs_symbol_matcher_ftype. | |
7686 | ||
ee01b665 JB |
7687 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7688 | ||
7689 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
7690 | (struct ada_symbol_cache): New. | |
7691 | (ada_free_symbol_cache): Forward declare. | |
7692 | (struct ada_pspace_data): New. | |
7693 | (ada_pspace_data_handle): New static global. | |
7694 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
7695 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
7696 | (cache_space, cache): Delete, now folded inside struct | |
7697 | ada_pspace_data. | |
7698 | (ada_get_symbol_cache): New function. | |
7699 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
7700 | implementation. | |
7701 | (_initialize_ada_language): Remove initialization of cache_space. | |
7702 | Move call to observer_attach_inferior_exit up, grouping it | |
7703 | with the other observer registrations inside this function. | |
7704 | Rename command to be more general. Add call to | |
7705 | register_program_space_data_with_cleanup. | |
7706 | ||
143adbbf JB |
7707 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7708 | ||
7709 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
7710 | ada_new_objfile_observer. | |
7711 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
7712 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
7713 | and ada_tasks_normal_stop_observer. | |
7714 | ||
aa4fb036 JB |
7715 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7716 | ||
7717 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
7718 | returned by the 'Length attribute to integer. | |
7719 | ||
9dee8cc6 JB |
7720 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7721 | ||
7722 | * ada-lang.c (_initialize_ada_language): Initialize | |
7723 | cache_space obstack. | |
7724 | ||
3d9434b5 JB |
7725 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7726 | ||
7727 | * ada-lang.c (HASH_SIZE): New macro. | |
7728 | (struct cache_entry): New type. | |
7729 | (cache_space, cache): New static globals. | |
7730 | (ada_clear_symbol_cache, find_entry): New functions. | |
7731 | (lookup_cached_symbol, cache_symbol): Implement. | |
7732 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
7733 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
7734 | and ada_free_objfile_observer. | |
7735 | ||
f0c5f9b2 JB |
7736 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
7737 | ||
7738 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
7739 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
7740 | struct block * parameter. | |
7741 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
7742 | Remove cast which is no longer necessary. | |
7743 | ||
ed3ef339 DE |
7744 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
7745 | ||
7746 | Add Guile as an extension language. | |
7747 | * NEWS: Mention Guile scripting. | |
7748 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
7749 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
7750 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
7751 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
7752 | (CLIBS): Add GUILE_LIBS. | |
7753 | (install-guile): New rule. | |
7754 | (guile.o): New rule. | |
7755 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
7756 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
7757 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
7758 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
7759 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
7760 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
7761 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
7762 | * configure.ac: New option --with-guile. | |
7763 | * configure: Regenerate. | |
7764 | * config.in: Regenerate. | |
7765 | * auto-load.c: Remove #include "python/python.h". Add #include | |
7766 | "gdb/section-scripts.h". | |
7767 | (source_section_scripts): Handle Guile scripts. | |
7768 | (_initialize_auto_load): Add name of Guile objfile script to | |
7769 | scripts-directory help text. | |
7770 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
7771 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
7772 | (struct breakpoint): New member scm_bp_object. | |
7773 | * defs.h (enum command_control_type): New value guile_control. | |
7774 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
7775 | "extension.h". | |
7776 | (show_user): Update comment. | |
7777 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
7778 | text for max-user-call-depth. | |
7779 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
7780 | "extension.h". | |
7781 | (multi_line_command_p): Add guile_control. | |
7782 | (print_command_lines): Handle guile_control. | |
7783 | (execute_control_command, recurse_read_control_structure): Ditto. | |
7784 | (process_next_line): Recognize "guile" commands. | |
7785 | * disasm.c (gdb_disassemble_info): Make non-static. | |
7786 | * disasm.h: #include "dis-asm.h". | |
7787 | (struct gdbarch): Add forward decl. | |
7788 | (gdb_disassemble_info): Declare. | |
7789 | * extension.c: #include "guile/guile.h". | |
7790 | (extension_languages): Add guile. | |
7791 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
7792 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
7793 | * gdbtypes.c (get_unsigned_type_max): New function. | |
7794 | (get_signed_type_minmax): New function. | |
7795 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
7796 | (get_signed_type_minmax): Declare. | |
7797 | * guile/README: New file. | |
7798 | * guile/guile-internal.h: New file. | |
7799 | * guile/guile.c: New file. | |
7800 | * guile/guile.h: New file. | |
7801 | * guile/scm-arch.c: New file. | |
7802 | * guile/scm-auto-load.c: New file. | |
7803 | * guile/scm-block.c: New file. | |
7804 | * guile/scm-breakpoint.c: New file. | |
7805 | * guile/scm-disasm.c: New file. | |
7806 | * guile/scm-exception.c: New file. | |
7807 | * guile/scm-frame.c: New file. | |
7808 | * guile/scm-gsmob.c: New file. | |
7809 | * guile/scm-iterator.c: New file. | |
7810 | * guile/scm-lazy-string.c: New file. | |
7811 | * guile/scm-math.c: New file. | |
7812 | * guile/scm-objfile.c: New file. | |
7813 | * guile/scm-ports.c: New file. | |
7814 | * guile/scm-pretty-print.c: New file. | |
7815 | * guile/scm-safe-call.c: New file. | |
7816 | * guile/scm-string.c: New file. | |
7817 | * guile/scm-symbol.c: New file. | |
7818 | * guile/scm-symtab.c: New file. | |
7819 | * guile/scm-type.c: New file. | |
7820 | * guile/scm-utils.c: New file. | |
7821 | * guile/scm-value.c: New file. | |
7822 | * guile/lib/gdb.scm: New file. | |
7823 | * guile/lib/gdb/boot.scm: New file. | |
7824 | * guile/lib/gdb/experimental.scm: New file. | |
7825 | * guile/lib/gdb/init.scm: New file. | |
7826 | * guile/lib/gdb/iterator.scm: New file. | |
7827 | * guile/lib/gdb/printing.scm: New file. | |
7828 | * guile/lib/gdb/types.scm: New file. | |
7829 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
7830 | (VPATH): Add $(GUILE_SRCDIR). | |
7831 | (GUILE_DIR): New variable. | |
7832 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
7833 | (all): Add stamp-guile dependency. | |
7834 | (stamp-guile): New rule. | |
7835 | (clean-guile, install-guile, uninstall-guile): New rules. | |
7836 | (install-only): Add install-guile dependency. | |
7837 | (uninstall): Add uninstall-guile dependency. | |
7838 | (clean): Add clean-guile dependency. | |
7839 | ||
ac020ec5 DE |
7840 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
7841 | ||
7842 | Revert this patch (which I approved, mea culpa). | |
7843 | ||
7844 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
7845 | ||
7846 | * Makefile.in (all-lib): Remove. | |
7847 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
7848 | ||
2a081c59 JK |
7849 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
7850 | ||
7851 | Fix Python stack corruption. | |
7852 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
7853 | gdb_py_longest. | |
7854 | ||
0a6bd22d MK |
7855 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
7856 | ||
7857 | * Makefile.in (all-lib): Remove. | |
7858 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
7859 | ||
1a860409 DE |
7860 | 2014-02-07 Doug Evans <dje@google.com> |
7861 | ||
7862 | * extension-priv.h (extension_language_script_ops): Add comment. | |
7863 | (extension_language_ops): Add comment. | |
caf5a491 | 7864 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 7865 | |
d137e6dc PA |
7866 | 2014-02-07 Pedro Alves <palves@redhat.com> |
7867 | ||
0dcb32c3 | 7868 | PR breakpoints/16292 |
d137e6dc PA |
7869 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
7870 | over a breakpoint>: Switch back to the stepping thread. | |
7871 | ||
ce6d0892 YQ |
7872 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
7873 | ||
7874 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
7875 | ||
2ed4b548 YQ |
7876 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
7877 | ||
7878 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
7879 | (ld_so_xfer_auxv): Likewise. | |
7880 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
7881 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
7882 | * corelow.c (core_xfer_partial): Likewise. | |
7883 | * ctf.c (ctf_xfer_partial): Likewise. | |
7884 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
7885 | (darwin_xfer_partial): Likewise. | |
7886 | * exec.c (exec_xfer_partial): Likewise. | |
7887 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
7888 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
7889 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
7890 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
7891 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
7892 | (linux_proc_xfer_spu): Likewise. | |
7893 | * procfs.c (procfs_xfer_partial): Likewise. | |
7894 | * record-full.c (record_full_xfer_partial): Likewise. | |
7895 | (record_full_core_xfer_partial): Likewise. | |
7896 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
7897 | * remote.c (remote_write_qxfer): Likewise. | |
7898 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
7899 | (remote_xfer_partial): Likewise. | |
7900 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
7901 | (rs6000_xfer_shared_libraries): Likewise. | |
7902 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
7903 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
7904 | (spu_xfer_partial): Likewise. | |
7905 | * target.c (memory_xfer_partial_1): Likewise. | |
7906 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
7907 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
7908 | (windows_xfer_partial): Likewise. | |
7909 | ||
c09f20e4 YQ |
7910 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
7911 | ||
7912 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
7913 | comments. | |
7914 | (core_xfer_shared_libraries_aix): Likewise. | |
7915 | * gdbarch.c, gdbarch.h: Regenerated. | |
7916 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
7917 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
7918 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
7919 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
7920 | declaration. | |
7921 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
7922 | ||
8635b3bf YQ |
7923 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
7924 | ||
7925 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
7926 | 'exception' to throw_error. | |
7927 | ||
6dddc817 DE |
7928 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
7929 | ||
7930 | * configure.ac (libpython checking): Remove all but python.o from | |
7931 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
7932 | * configure: Regenerate. | |
7933 | ||
7934 | * Makefile.in (SFILES): Add extension.c. | |
7935 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
7936 | (COMMON_OBS): Add extension.o. | |
7937 | * extension.h: New file. | |
7938 | * extension-priv.h: New file. | |
7939 | * extension.c: New file. | |
7940 | ||
7941 | * python/python-internal.h: #include "extension.h". | |
7942 | (gdbpy_auto_load_enabled): Declare. | |
7943 | (gdbpy_apply_val_pretty_printer): Declare. | |
7944 | (gdbpy_apply_frame_filter): Declare. | |
7945 | (gdbpy_preserve_values): Declare. | |
7946 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
7947 | (gdbpy_breakpoint_has_cond): Declare. | |
7948 | (void source_python_script_for_objfile): Delete. | |
7949 | * python/python.c: #include "extension-priv.h". | |
7950 | Delete inclusion of "observer.h". | |
7951 | (extension_language_python): Moved here and renamed from | |
7952 | script_language_python in py-auto-load.c. | |
7953 | Redefined to be of type extension_language_defn. | |
7954 | (python_extension_script_ops): New global. | |
7955 | (python_extension_ops): New global. | |
7956 | (struct python_env): New member previous_active. | |
7957 | (restore_python_env): Call restore_active_ext_lang. | |
7958 | (ensure_python_env): Call set_active_ext_lang. | |
7959 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
7960 | New arg extlang. | |
7961 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
7962 | New arg extlang. | |
7963 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
7964 | New arg extlang. | |
7965 | (gdbpy_eval_from_control_command): Renamed from | |
7966 | eval_python_from_control_command, made static. New arg extlang. | |
7967 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
7968 | New arg extlang. | |
7969 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
7970 | result to int. New arg extlang. | |
7971 | (gdbpy_source_objfile_script): Renamed from | |
7972 | source_python_script_for_objfile, made static. New arg extlang. | |
7973 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
7974 | static. New args extlang, extlang_printers. Change result type to | |
7975 | "void". | |
7976 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
7977 | static. New arg extlang. Rename arg printers to extlang_printers | |
7978 | and change type to ext_lang_type_printers *. | |
7979 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
7980 | static. Replace argument arg with extlang, extlang_printers. | |
7981 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
7982 | (!HAVE_PYTHON, source_python_script): Delete. | |
7983 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
7984 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
7985 | (!HAVE_PYTHON, start_type_printers): Delete. | |
7986 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
7987 | (!HAVE_PYTHON, free_type_printers): Delete. | |
7988 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
7989 | (finalize_python): Set/restore active extension language. | |
7990 | (gdbpy_finish_initialization) Renamed from | |
7991 | finish_python_initialization, made static. New arg extlang. | |
7992 | (gdbpy_initialized): New function. | |
7993 | * python/python.h: #include "extension.h". Delete #include | |
7994 | "value.h", "mi/mi-cmds.h". | |
7995 | (extension_language_python): Declare. | |
7996 | (GDBPY_AUTO_FILE_NAME): Delete. | |
7997 | (enum py_bt_status): Moved to extension.h and renamed to | |
7998 | ext_lang_bt_status. | |
7999 | (enum frame_filter_flags): Moved to extension.h. | |
8000 | (enum py_frame_args): Moved to extension.h and renamed to | |
8001 | ext_lang_frame_args. | |
8002 | (finish_python_initialization): Delete. | |
8003 | (eval_python_from_control_command): Delete. | |
8004 | (source_python_script): Delete. | |
8005 | (apply_val_pretty_printer): Delete. | |
8006 | (apply_frame_filter): Delete. | |
8007 | (preserve_python_values): Delete. | |
8008 | (gdbpy_script_language_defn): Delete. | |
8009 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
8010 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
8011 | ||
8012 | * auto-load.c: #include "extension.h". | |
8013 | (GDB_AUTO_FILE_NAME): Delete. | |
8014 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
8015 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
8016 | extension_language_gdb. | |
8017 | (source_gdb_script_for_objfile): Delete. | |
8018 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
8019 | (loaded_script): Change type of language member to | |
8020 | struct extension_language_defn *. | |
8021 | (init_loaded_scripts_info): Initialize | |
8022 | unsupported_script_warning_printed. | |
8023 | (maybe_add_script): Make static. Change type of language arg to | |
8024 | struct extension_language_defn *. | |
8025 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
8026 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
8027 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
8028 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
8029 | (source_section_scripts): Rewrite to use extension language API. | |
8030 | (load_auto_scripts_for_objfile): Rewrite to use | |
8031 | auto_load_scripts_for_objfile. | |
8032 | (collect_matching_scripts_data): Change type of language member to | |
8033 | struct extension_language_defn *. | |
8034 | (auto_load_info_scripts): Change type of language arg to | |
8035 | struct extension_language_defn *. | |
8036 | (unsupported_script_warning_print): New function. | |
8037 | (script_not_found_warning_print): Make static. | |
8038 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
8039 | help. | |
8040 | * auto-load.h (struct objfile): Add forward decl. | |
8041 | (struct script_language): Delete. | |
8042 | (struct auto_load_pspace_info): Add forward decl. | |
8043 | (struct extension_language_defn): Add forward decl. | |
8044 | (maybe_add_script): Delete. | |
8045 | (auto_load_objfile_script): Declare. | |
8046 | (script_not_found_warning_print): Delete. | |
8047 | (auto_load_info_scripts): Update prototype. | |
8048 | (auto_load_gdb_scripts_enabled): Declare. | |
8049 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
8050 | auto_load_python_scripts_enabled and made public. | |
8051 | (script_language_python): Delete, moved to python.c. | |
8052 | (gdbpy_script_language_defn): Delete. | |
8053 | (info_auto_load_python_scripts): Update to use | |
8054 | extension_language_python. | |
8055 | ||
8056 | * breakpoint.c (condition_command): Replace call to | |
8057 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
8058 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
8059 | with call to breakpoint_ext_lang_cond_says_stop. | |
8060 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
8061 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
8062 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
8063 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
8064 | New arg slang. | |
8065 | (local_setattro): Print name of extension language with existing | |
8066 | stop condition. | |
8067 | ||
8068 | * valprint.c (val_print, value_print): Update to call | |
8069 | apply_ext_lang_val_pretty_printer. | |
8070 | * cp-valprint.c (cp_print_value): Update call to | |
8071 | apply_ext_lang_val_pretty_printer. | |
8072 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
8073 | (gdbpy_apply_val_pretty_printer): Renamed from | |
8074 | apply_val_pretty_printer. New arg extlang. | |
8075 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
8076 | ||
8077 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
8078 | extension language API. | |
8079 | * cli/cli-script.c (execute_control_command): Update to call | |
8080 | eval_ext_lang_from_control_command. | |
8081 | ||
8082 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
8083 | enum ext_lang_bt_status values. Update call to | |
8084 | apply_ext_lang_frame_filter. | |
8085 | (mi_cmd_stack_list_locals): Ditto. | |
8086 | (mi_cmd_stack_list_args): Ditto. | |
8087 | (mi_cmd_stack_list_variables): Ditto. | |
8088 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
8089 | Add #include "extension.h". | |
8090 | (mi_cmd_list_features): Replace reference to python internal variable | |
8091 | gdb_python_initialized with call to ext_lang_initialized_p. | |
8092 | ||
8093 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
8094 | Update to use enum ext_lang_frame_args. Update to call | |
8095 | apply_ext_lang_frame_filter. | |
8096 | * python/py-framefilter.c (extract_sym): Update to use enum | |
8097 | ext_lang_bt_status. | |
8098 | (extract_value, py_print_type, py_print_value): Ditto. | |
8099 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
8100 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
8101 | (py_print_frame): Ditto. | |
8102 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
8103 | New arg extlang. Update to use enum ext_lang_bt_status. | |
8104 | ||
8105 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
8106 | finish_python_initialization. Replace with call to | |
8107 | finish_ext_lang_initialization. | |
8108 | ||
8109 | * typeprint.c (do_free_global_table): Update to call | |
8110 | free_ext_lang_type_printers. | |
8111 | (create_global_typedef_table): Update to call | |
8112 | start_ext_lang_type_printers. | |
8113 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
8114 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
8115 | (type_print_options): Change type of global_printers from "void *" | |
8116 | to "struct ext_lang_type_printers *". | |
8117 | ||
8118 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
8119 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
8120 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
8121 | New arg extlang. | |
8122 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
8123 | ||
8124 | * utils.c (quit_flag): Delete, moved to extension.c. | |
8125 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
8126 | extension.c. | |
8127 | ||
8128 | * eval.c: Delete #include "python/python.h". | |
8129 | * main.c: Delete #include "python/python.h". | |
8130 | ||
8131 | * defs.h: Update comment. | |
8132 | ||
6af79985 JB |
8133 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
8134 | ||
8135 | GDB 7.7 released. | |
8136 | ||
12c5175d MK |
8137 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
8138 | ||
8139 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
8140 | defined. | |
8141 | ||
8dc5b319 YQ |
8142 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
8143 | ||
8144 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
8145 | rs->buf. | |
8146 | (remote_program_signals): Likewise. | |
8147 | ||
de7b2893 YQ |
8148 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
8149 | ||
8150 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
8151 | (CTF_PID): A new macro. | |
8152 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
8153 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
8154 | (ctf_thread_alive): New function. | |
8155 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
8156 | ||
66d032ac YQ |
8157 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
8158 | ||
8159 | Revert this patch: | |
8160 | ||
8161 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
8162 | ||
8163 | * tracepoint.c (TFILE_PID): Remove. | |
8164 | (tfile_open): Don't add thread and inferior. | |
8165 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
8166 | exit_inferior_silent. | |
8167 | (tfile_thread_alive): Remove. | |
8168 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
8169 | tfile_ops. | |
8170 | ||
f4ccffad CE |
8171 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
8172 | ||
8173 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
8174 | if only symbol-file (not file) has been given. | |
8175 | ||
591a12a1 UW |
8176 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8177 | ||
8178 | * gdbarch.sh (skip_entrypoint): New callback. | |
8179 | * gdbarch.c, gdbarch.h: Regenerate. | |
8180 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
8181 | * infrun.c (fill_in_stop_func): Likewise. | |
8182 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
8183 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
8184 | (ppc_elfv2_skip_entrypoint): Likewise. | |
8185 | (ppc_linux_init_abi): Install them for ELFv2. | |
8186 | ||
cc0e89c5 UW |
8187 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8188 | ||
8189 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
8190 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
8191 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
8192 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
8193 | structures returned in GPRs. | |
8194 | ||
52f548e4 UW |
8195 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8196 | ||
8197 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
8198 | offset to the stack parameter list for the ELFv2 ABI. | |
8199 | ||
d4094b6a UW |
8200 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8201 | ||
8202 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
8203 | set_gdbarch_convert_from_func_ptr_addr and | |
8204 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
8205 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
8206 | function descriptors on ELFv1. | |
8207 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
8208 | set up r12 at function entry. | |
8209 | ||
cd453cd0 UW |
8210 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8211 | ||
8212 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
8213 | (struct gdbarch_tdep): New member elf_abi. | |
8214 | ||
8215 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
8216 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
8217 | ||
0ff3e01f UW |
8218 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8219 | ||
8220 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
8221 | within a register pair holding a DFP 128-bit value on little-endian. | |
8222 | (ppc64_sysv_abi_return_value_base): Likewise. | |
8223 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
8224 | (dfp_pseudo_register_write): Likewise. | |
8225 | ||
5b757e5d UW |
8226 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8227 | ||
8228 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
8229 | offset on little-endian when passing _Decimal32. | |
8230 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
8231 | ||
084ee545 UW |
8232 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8233 | ||
8234 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
8235 | of the overlapped FP register within the VSX register on little- | |
8236 | endian platforms. | |
8237 | (efpr_pseudo_register_write): Likewise. | |
8238 | ||
d63167af UW |
8239 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8240 | ||
8241 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
8242 | offset on little-endian when passing small structures. | |
8243 | ||
e765b44c UW |
8244 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8245 | ||
8246 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
8247 | (struct ppc64_sysv_argpos): New data structure. | |
8248 | (ppc64_sysv_abi_push_float): Remove. | |
8249 | (ppc64_sysv_abi_push_val): New function. | |
8250 | (ppc64_sysv_abi_push_integer): Likewise. | |
8251 | (ppc64_sysv_abi_push_freg): Likewise. | |
8252 | (ppc64_sysv_abi_push_vreg): Likewise. | |
8253 | (ppc64_sysv_abi_push_param): Likewise. | |
8254 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
8255 | (ppc64_sysv_abi_return_value_base): New function. | |
8256 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
8257 | ||
36c24d95 UW |
8258 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
8259 | ||
8260 | * NEWS: Document new target powerpc64le-*-linux*. | |
8261 | ||
26fd9228 MK |
8262 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
8263 | ||
8264 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
8265 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
8266 | core dumps. | |
8267 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
8268 | register set used in ELF core dumps. Add floating-point register set. | |
8269 | ||
c5bb7362 KB |
8270 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
8271 | ||
8272 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite | |
8273 | dwarf2_to_gdb[] table using symbolic constants. Adjust | |
8274 | penultimate entry from number representing the PC register | |
8275 | to symbolic constant representing the MDR register. Add | |
8276 | constant for the PC register to the end of the table. | |
8277 | ||
af09351e MK |
8278 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
8279 | ||
8280 | * bsd-kvm.c: Include <sys/param.h> | |
8281 | ||
8507e05d MK |
8282 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
8283 | ||
8284 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
8285 | ||
ae56bfb8 JB |
8286 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
8287 | ||
8288 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
8289 | ||
718ee4dc UW |
8290 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
8291 | ||
8292 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
8293 | ||
401e27fd JM |
8294 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
8295 | ||
8296 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
8297 | the sigreturn register save area only if the syscall is | |
8298 | sigreturn. | |
8299 | ||
a7c88acd JB |
8300 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
8301 | ||
8302 | * valops.c (value_slice): Minor reformatting. | |
8303 | ||
fa0079ea UW |
8304 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
8305 | ||
8306 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
8307 | ||
c6044dd1 JB |
8308 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
8309 | ||
8310 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
8311 | New static globals. | |
8312 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
8313 | (ada_ignore_descriptive_types_p): New static global. | |
8314 | (find_parallel_type_by_descriptive_type): Return immediately | |
8315 | if ada_ignore_descriptive_types_p is set. | |
8316 | (_initialize_ada_language): Register new commands "maintenance | |
8317 | set ada", "maintenance show ada", "maintenance set ada | |
8318 | ignore-descriptive-types" and "maintenance show ada | |
8319 | ignore-descriptive-types". | |
8320 | * NEWS: Add entry for new "maint ada set/show | |
8321 | ignore-descriptive-types" commands. | |
8322 | ||
568e808b MM |
8323 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
8324 | ||
8325 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
8326 | for all threads. | |
8327 | ||
467d141b JB |
8328 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
8329 | ||
8330 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
8331 | "ui-out.h". | |
8332 | ||
fb151210 JB |
8333 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
8334 | ||
8335 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
8336 | New function. | |
8337 | (print_range): Add parameter bounds_prefered_p. If not set, | |
8338 | try printing range types using the name of their base type. | |
8339 | (print_range_type): Add parameter bounds_prefered_p. | |
8340 | Use it in call to print_range. | |
8341 | (print_array_type, ada_print_type): Update calls to print_range | |
8342 | and print_range_type. | |
8343 | ||
aba02109 JB |
8344 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
8345 | ||
8346 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
8347 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
8348 | Remove declaration. | |
8349 | ||
e62e21fd JB |
8350 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
8351 | ||
8352 | * ada-typeprint.c (print_range): Add missing empty line | |
8353 | after local declaration. | |
8354 | ||
859cf5d1 JB |
8355 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
8356 | ||
8357 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
8358 | target type for as long as it is a TYPE_CODE_RANGE. | |
8359 | ||
25790f6f JB |
8360 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
8361 | ||
8362 | * procfs.c (procfs_make_note_section): Remove assertion and | |
8363 | associated comment. | |
8364 | ||
6b6aa828 YQ |
8365 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
8366 | ||
8367 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
8368 | * corelow.c (get_core_siginfo): Likewise. | |
8369 | ||
5d6df423 YQ |
8370 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
8371 | ||
8372 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
8373 | ULONGEST. Don't check 'len' is negative. | |
8374 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
8375 | ||
83b645b8 TT |
8376 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
8377 | ||
8378 | PR python/16485: | |
8379 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
8380 | Handle exception from frame.block. | |
8381 | (FrameVars.fetch_frame_locals): Likewise. | |
8382 | ||
0740f8d8 TT |
8383 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
8384 | ||
8385 | PR python/16487: | |
8386 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
8387 | on a NULL pointer. Move "goto error" to correct place. | |
8388 | ||
21909fa1 TT |
8389 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
8390 | ||
8391 | PR python/16491: | |
8392 | * python/py-framefilter.c (apply_frame_filter): Call | |
8393 | ensure_python_env after computing gdbarch. | |
8394 | ||
17fde6d0 YQ |
8395 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
8396 | ||
8397 | * target.c (raw_memory_xfer_partial): Change argument type | |
8398 | from void * to gdb_byte *. | |
8399 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
8400 | ||
87ce2a04 DE |
8401 | 2014-01-22 Doug Evans <dje@google.com> |
8402 | ||
8403 | New gdbserver option --debug-format=timestamp. | |
8404 | * NEWS: Mention it. | |
8405 | ||
237b092b AA |
8406 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
8407 | ||
8408 | * syscalls/s390x-linux.xml: New file. | |
8409 | * syscalls/s390-linux.xml: New file. | |
8410 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
8411 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
8412 | (op_svc): New enum value for SVC opcode. | |
8413 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
8414 | (s390_linux_get_syscall_number): New function. | |
8415 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
8416 | syscall xml file name. | |
8417 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
8418 | "s390-linux.xml" and "s390x-linux.xml". | |
8419 | * NEWS: Announce new feature. | |
8420 | ||
54bff650 BS |
8421 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
8422 | ||
8423 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
8424 | ||
14e361d7 PA |
8425 | 2014-01-22 Pedro Alves <palves@redhat.com> |
8426 | ||
8427 | * xtensa-config.c: Include defs.h. | |
8428 | ||
46bbb3ed JB |
8429 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
8430 | ||
8431 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
8432 | reference. | |
8433 | ||
3a80edfc JB |
8434 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
8435 | ||
8436 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
8437 | documentation a bit. | |
8438 | ||
4869db5e RM |
8439 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
8440 | ||
8441 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
8442 | * configure: Regenerate. | |
8443 | * aclocal.m4: Regenerate. | |
8444 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
8445 | New substituted variables. | |
8446 | (install-strip): New target. | |
8447 | (INSTALL_SCRIPT): New substituted variable. | |
8448 | (FLAGS_TO_PASS): Add it. | |
8449 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
8450 | $(INSTALL_PROGRAM) for gcore. | |
8451 | ||
9ea4267d TT |
8452 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
8453 | ||
8454 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
8455 | together. | |
8456 | ||
1f2bdf09 TT |
8457 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
8458 | ||
8459 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
8460 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
8461 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
8462 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
8463 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
8464 | (struct cmd_list_element) <flags>: Remove. | |
8465 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
8466 | doc_allocated>: New fields. | |
8467 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
8468 | bitfields. | |
8469 | * maint.c (maintenance_do_deprecate): Update. | |
8470 | * top.c (execute_command): Update. | |
8471 | ||
e671835b BS |
8472 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
8473 | ||
8474 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
8475 | ||
50367cd2 IB |
8476 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8477 | ||
8478 | * Makefile.in (SFILES): Add d-support.c. | |
8479 | (COMMON_OBS): Add d-support.o. | |
8480 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
8481 | d-support.c. | |
8482 | * d-lang.c (parse_call_convention) | |
8483 | (parse_attributes, parse_function_types) | |
8484 | (parse_function_args, parse_type, parse_identifier) | |
8485 | (call_convention_p, d_parse_symbol): Move functions to ... | |
8486 | * d-support.c: ... New file. | |
8487 | ||
ec9f644a IB |
8488 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8489 | ||
8490 | * d-lang.h (d_parse_symbol): Add declaration. | |
8491 | * d-lang.c (extract_identifiers) | |
8492 | (extract_type_info): Remove functions. | |
8493 | (parse_call_convention, parse_attributes) | |
8494 | (parse_function_types, parse_function_args) | |
8495 | (parse_type, parse_identifier, call_convention_p) | |
8496 | (d_parse_symbol): New functions. | |
8497 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
8498 | ||
94b1b47e IB |
8499 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8500 | ||
8501 | * d-lang.h (struct builtin_d_type): New data type. | |
8502 | (builtin_d_type): Add declaration. | |
8503 | * d-lang.c (d_language_arch_info, build_d_types) | |
8504 | (builtin_d_type): New functions. | |
8505 | (enum d_primitive_types): New data type. | |
8506 | (d_language_defn): Change c_language_arch_info to | |
8507 | d_language_arch_info. | |
8508 | (d_type_data): New static variable. | |
8509 | (_initialize_d_language): Initialize d_type_data. | |
8510 | ||
63778547 IB |
8511 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8512 | ||
8513 | * d-lang.h (d_main_name): Add declaration. | |
8514 | * d-lang.c (d_main_name): New function. | |
8515 | * symtab.c (find_main_name): Add call to d_main_name. | |
8516 | ||
3271ba66 IB |
8517 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8518 | ||
8519 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
8520 | macro_expansion_no. | |
8521 | ||
d36b3012 IB |
8522 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
8523 | ||
8524 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
8525 | ||
c90a6fb7 SDJ |
8526 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
8527 | ||
8528 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
8529 | gdb_exception" declaration. | |
8530 | * remote.c (getpkt_or_notif_sane): Likewise. | |
8531 | ||
749234e5 DE |
8532 | 2014-01-17 Doug Evans <dje@google.com> |
8533 | ||
8534 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
8535 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
8536 | (delim_string_to_char_ptr_vec): New function. | |
8537 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
8538 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
8539 | ||
df049a58 DE |
8540 | 2014-01-17 Doug Evans <dje@google.com> |
8541 | ||
8542 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
8543 | and moved here ... | |
8544 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
8545 | #include "common-utils.h". | |
8546 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
8547 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
8548 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
8549 | (MACH_CHECK_ERROR): Update. | |
8550 | ||
69f97648 SM |
8551 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
8552 | ||
8553 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
8554 | comments. | |
8555 | * gdbarch.h: Regenerate. | |
8556 | ||
98b1cfdc TT |
8557 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
8558 | ||
8559 | * value.c (struct value) <regnum>: Move earlier. | |
8560 | ||
77a19445 TT |
8561 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
8562 | ||
8563 | * remote.c (extended_remote_create_inferior): Rename from | |
8564 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
8565 | old implementation. | |
8566 | ||
62261490 PA |
8567 | 2014-01-16 Pedro Alves <palves@redhat.com> |
8568 | ||
8569 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
8570 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
8571 | the backchain. | |
8572 | ||
4d65956b DE |
8573 | 2014-01-16 Doug Evans <dje@google.com> |
8574 | ||
8575 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
8576 | ||
52834460 MM |
8577 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8578 | ||
8579 | * btrace.h (btrace_thread_flag): New. | |
8580 | (struct btrace_thread_info) <flags>: New. | |
8581 | * record-btrace.c (record_btrace_resume_thread) | |
8582 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
8583 | (btrace_step_stopped, record_btrace_start_replaying) | |
8584 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
8585 | (record_btrace_find_resume_thread): New. | |
8586 | (record_btrace_resume, record_btrace_wait): Extend. | |
8587 | (record_btrace_can_execute_reverse): New. | |
8588 | (record_btrace_open): Fail in non-stop mode. | |
8589 | (record_btrace_set_replay): Split into this, ... | |
8590 | (record_btrace_stop_replaying): ... this, ... | |
8591 | (record_btrace_clear_histories): ... and this. | |
8592 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
8593 | * NEWS: Announce it. | |
8594 | ||
118e6252 MM |
8595 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8596 | ||
8597 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
8598 | (forward_target_decr_pc_after_break) | |
8599 | (target_decr_pc_after_break): New. | |
8600 | * target.c (forward_target_decr_pc_after_break) | |
8601 | (target_decr_pc_after_break): New. | |
8602 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
8603 | instead of gdbarch_decr_pc_after_break. | |
8604 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
8605 | instead of gdbarch_decr_pc_after_break. | |
8606 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
8607 | instead of gdbarch_decr_pc_after_break. | |
8608 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
8609 | instead of gdbarch_decr_pc_after_break. | |
8610 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
8611 | instead of gdbarch_decr_pc_after_break. | |
8612 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
8613 | instead of gdbarch_decr_pc_after_break. | |
8614 | ||
6e07b1d2 MM |
8615 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8616 | ||
8617 | * btrace.c: Include regcache.h. | |
8618 | (btrace_add_pc): New. | |
8619 | (btrace_enable): Call btrace_add_pc. | |
8620 | (btrace_is_empty): New. | |
8621 | * btrace.h (btrace_is_empty): New. | |
8622 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
8623 | btrace_is_empty. | |
8624 | ||
969c39fb MM |
8625 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8626 | ||
8627 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
8628 | Support delta reads. | |
8629 | (linux_disable_btrace): Change return type. | |
8630 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
8631 | and return type to allow error reporting. Update users. | |
8632 | (linux_disable_btrace): Change return type. Update users. | |
8633 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
8634 | New. | |
8635 | (btrace_error): New. | |
8636 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
8637 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
8638 | the current trace. | |
8639 | (btrace_stitch_trace, btrace_clear_history): New. | |
8640 | (btrace_fetch): Read delta trace, return if replaying. | |
8641 | (btrace_clear): Move clear history code to btrace_clear_history. | |
8642 | (parse_xml_btrace): Throw an error if parsing failed. | |
8643 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
8644 | and return type to allow error reporting. | |
8645 | (target_read_btrace): Change parameters and return type to allow | |
8646 | error reporting. | |
8647 | * target.c (target_read_btrace): Update. | |
8648 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
8649 | errors on. | |
8650 | * NEWS: Announce it. | |
8651 | ||
0b722aec MM |
8652 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8653 | ||
8654 | * record.h (record_btrace_frame_unwind) | |
8655 | (record_btrace_tailcall_frame_unwind): New declarations. | |
8656 | * dwarf2-frame: Include record.h | |
8657 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
8658 | * record-btrace.c: Include hashtab.h. | |
8659 | (btrace_get_bfun_name): New. | |
8660 | (btrace_call_history): Call btrace_get_bfun_name. | |
8661 | (struct btrace_frame_cache): New. | |
8662 | (bfcache): New. | |
8663 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
8664 | (btrace_get_frame_function): New. | |
8665 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
8666 | (record_btrace_frame_this_id): Compute own id. | |
8667 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
8668 | for all other registers. | |
8669 | (record_btrace_frame_sniffer): Detect btrace frames. | |
8670 | (record_btrace_tailcall_frame_sniffer): New. | |
8671 | (record_btrace_frame_dealloc_cache): New. | |
8672 | (record_btrace_frame_unwind): Add new functions. | |
8673 | (record_btrace_tailcall_frame_unwind): New. | |
8674 | (_initialize_record_btrace): Allocate cache. | |
8675 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
8676 | * NEWS: Announce it. | |
8677 | ||
066ce621 MM |
8678 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8679 | ||
8680 | * record-btrace.c (record_btrace_set_replay) | |
8681 | (record_btrace_goto_begin, record_btrace_goto_end) | |
8682 | (record_btrace_goto): New. | |
8683 | (init_record_btrace_ops): Initialize them. | |
8684 | * NEWS: Announce it. | |
8685 | ||
e2887aa3 MM |
8686 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8687 | ||
8688 | * record-btrace.c (record_btrace_find_new_threads) | |
8689 | (record_btrace_thread_alive): New. | |
8690 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
8691 | to_thread_alive. | |
8692 | ||
b2f4cfde MM |
8693 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8694 | ||
8695 | * record-btrace.c (record_btrace_resume): New. | |
8696 | (record_btrace_wait): New. | |
8697 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
8698 | ||
633785ff MM |
8699 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8700 | ||
8701 | * record-btrace.c (record_btrace_xfer_partial) | |
8702 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
8703 | (record_btrace_allow_memory_access): New. | |
8704 | (init_record_btrace_ops): Initialize new methods. | |
8705 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
8706 | that this memory is not available. | |
8707 | ||
3db08215 MM |
8708 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8709 | ||
8710 | * target.h (target_ops) <to_insert_breakpoint> | |
8711 | <to_remove_breakpoint>: Add target_ops parameter. | |
8712 | (forward_target_insert_breakpoint): New. | |
8713 | (forward_target_remove_breakpoint): New. | |
8714 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
8715 | Add target_ops parameter. | |
8716 | * target.c (target_insert_breakpoint): Split into this and ... | |
8717 | (forward_target_insert_breakpoint): ... this. | |
8718 | (target_remove_breakpoint): Split into this and ... | |
8719 | (forward_target_remove_breakpoint): ... this. | |
8720 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
8721 | Call forward_target_insert_breakpoint. | |
8722 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
8723 | Call forward_target_remove_breakpoint. | |
8724 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
8725 | and to_remove_breakpoint. | |
8726 | * corelow.c (ignore): Add target_ops parameter. | |
8727 | * exec.c (ignore): Add target_ops parameter. | |
8728 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
8729 | Add target_ops parameter. | |
8730 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
8731 | Add target_ops parameter. | |
8732 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
8733 | Add target_ops parameter. | |
8734 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
8735 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
8736 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
8737 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
8738 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
8739 | Update users. | |
8740 | (record_full_beneath_to_insert_breakpoint_ops) | |
8741 | (record_full_beneath_to_remove_breakpoint_ops) | |
8742 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
8743 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
8744 | tmp_to_remove_breakpoint_ops, | |
8745 | record_full_beneath_to_insert_breakpoint_ops, and | |
8746 | record_full_beneath_to_remove_breakpoint_ops. | |
8747 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
8748 | (m32r_remove_breakpoint): Add target_ops parameter. | |
8749 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
8750 | Add target_ops parameter. | |
8751 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
8752 | Add target_ops parameter. | |
8753 | ||
cecac1ab MM |
8754 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
8755 | Markus Metzger <markus.t.metzger@intel.com> | |
8756 | ||
8757 | * record-btrace.c: Include frame-unwind.h. | |
8758 | (record_btrace_frame_unwind_stop_reason) | |
8759 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
8760 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
8761 | New. | |
8762 | (init_record_btrace_ops): Install it. | |
8763 | ||
824344ca MM |
8764 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
8765 | ||
8766 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
8767 | get_prev_frame_1. | |
8768 | ||
32261e52 MM |
8769 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
8770 | ||
8771 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
8772 | earlier. | |
8773 | ||
ea001bdc MM |
8774 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
8775 | ||
8776 | * frame-unwind.c: Include target.h. | |
8777 | (frame_unwind_try_unwinder): New function with code from ... | |
8778 | (frame_unwind_find_by_frame): ... here. New variable | |
8779 | unwinder_from_target, call also target_get_unwinder) | |
8780 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
8781 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
8782 | * target.h (struct target_ops): New fields to_get_unwinder and | |
8783 | to_get_tailcall_unwinder. | |
8784 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
8785 | ||
1f3ef581 MM |
8786 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8787 | ||
8788 | * record-btrace.c (record_btrace_fetch_registers) | |
8789 | (record_btrace_store_registers) | |
8790 | (record_btrace_to_prepare_to_store): New. | |
8791 | (init_record_btrace_ops): Add the above. | |
8792 | ||
f32dbf8c MM |
8793 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
8794 | ||
8795 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
8796 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
8797 | argument. | |
8798 | (target_prepare_to_store): Add argument. | |
8799 | * target.c (debug_to_prepare_to_store): Add argument. | |
8800 | (update_current_target): Update. | |
8801 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
8802 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
8803 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
8804 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
8805 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
8806 | argument. | |
8807 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
8808 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
8809 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
8810 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
8811 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
8812 | ||
07bbe694 MM |
8813 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8814 | ||
8815 | * btrace.h (replay) <replay>: New. | |
8816 | (btrace_is_replaying): New. | |
8817 | * btrace.c (btrace_clear): Free replay iterator. | |
8818 | (btrace_is_replaying): New. | |
8819 | * record-btrace.c (record_btrace_is_replaying): New. | |
8820 | (record_btrace_info): Print insn number if replaying. | |
8821 | (record_btrace_insn_history): Start at replay position. | |
8822 | (record_btrace_call_history): Start at replay position. | |
8823 | (init_record_btrace_ops): Init to_record_is_replaying. | |
8824 | ||
0688d04e MM |
8825 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8826 | ||
8827 | * record-btrace.c (record_btrace_insn_history_range): Include | |
8828 | end. | |
8829 | (record_btrace_insn_history_from): Adjust range. | |
8830 | (record_btrace_call_history_range): Include | |
8831 | end. | |
8832 | (record_btrace_call_history_from): Adjust range. | |
8833 | * NEWS: Announce changes. | |
8834 | ||
8710b709 MM |
8835 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8836 | ||
8837 | * record.h (enum record_print_flag) | |
8838 | <record_print_indent_calls>: New. | |
8839 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
8840 | (_initialize_record): Document /c modifier. | |
8841 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
8842 | Reorder fields. Optionally indent the function name. Update | |
8843 | all users. | |
8844 | * NEWS: Announce changes. | |
8845 | ||
d0fa7535 MM |
8846 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8847 | ||
8848 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
8849 | ||
5de9129b MM |
8850 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8851 | ||
8852 | * btrace.c (ftrace_new_function): Start counting at one. | |
8853 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
8854 | and insns. | |
8855 | * NEWS: Announce it. | |
8856 | ||
7acbe133 MM |
8857 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8858 | ||
8859 | * record-btrace.c (btrace_call_history_insn_range): Print | |
8860 | insn range as [begin, end]. | |
8861 | ||
23a7fe75 MM |
8862 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8863 | ||
8864 | * btrace.h (struct btrace_func_link): New. | |
8865 | (enum btrace_function_flag): New. | |
8866 | (struct btrace_inst): Rename to ... | |
8867 | (struct btrace_insn): ...this. Update all users. | |
8868 | (struct btrace_func) <ibegin, iend>: Remove. | |
8869 | (struct btrace_func_link): New. | |
8870 | (struct btrace_func): Rename to ... | |
8871 | (struct btrace_function): ...this. Update all users. | |
8872 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
8873 | (number, level, flags>: New. | |
8874 | (struct btrace_insn_iterator): Rename to ... | |
8875 | (struct btrace_insn_history): ...this. | |
8876 | Update all users. | |
8877 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
8878 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
8879 | (struct btrace_target_info) <begin, end, level> | |
8880 | <insn_history, call_history>: New. | |
8881 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
8882 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
8883 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
8884 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
8885 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
8886 | (btrace_find_function_by_number, btrace_set_insn_history) | |
8887 | (btrace_set_call_history): New. | |
8888 | * btrace.c (btrace_init_insn_iterator) | |
8889 | (btrace_init_func_iterator, compute_itrace): Remove. | |
8890 | (ftrace_print_function_name, ftrace_print_filename) | |
8891 | (ftrace_skip_file): Change | |
8892 | parameter to const. | |
8893 | (ftrace_init_func): Remove. | |
8894 | (ftrace_debug): Use new btrace_function fields. | |
8895 | (ftrace_function_switched): Also consider gaining and | |
8896 | losing symbol information). | |
8897 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
8898 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
8899 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
8900 | New. | |
8901 | (ftrace_new_function): Move. Remove debug print. | |
8902 | (ftrace_update_lines, ftrace_update_insns): New. | |
8903 | (ftrace_update_function): Check for call, ret, and jump. | |
8904 | (compute_ftrace): Renamed to ... | |
8905 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
8906 | stack. | |
8907 | (btrace_fetch, btrace_clear): Updated. | |
8908 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
8909 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
8910 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
8911 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
8912 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
8913 | (btrace_find_function_by_number, btrace_set_insn_history) | |
8914 | (btrace_set_call_history): New. | |
8915 | * record-btrace.c (require_btrace): Use new btrace thread | |
8916 | info fields. | |
8917 | (record_btrace_info, btrace_insn_history) | |
8918 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
8919 | Use new btrace thread info fields and new iterator. | |
8920 | (btrace_func_history_src_line): Rename to ... | |
8921 | (btrace_call_history_src_line): ...this. Use new btrace | |
8922 | thread info fields. | |
8923 | (btrace_func_history): Rename to ... | |
8924 | (btrace_call_history): ...this. Use new btrace thread info | |
8925 | fields and new iterator. | |
8926 | (record_btrace_call_history, record_btrace_call_history_range): | |
8927 | Use new btrace thread info fields and new iterator. | |
8928 | ||
8372a7cb MM |
8929 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8930 | ||
8931 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
8932 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
8933 | ||
c2170eef MM |
8934 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8935 | ||
8936 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
8937 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
8938 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
8939 | to gdbarch. | |
8940 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
8941 | (i386_insn_is_jump, i386_jmp_p): New. | |
8942 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
8943 | insn_is_jump to gdbarch. | |
8944 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
8945 | * gdbarch.h: Regenerated. | |
8946 | * gdbarch.c: Regenerated. | |
8947 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
8948 | (default_insn_is_jump): New. | |
8949 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
8950 | (default_insn_is_jump): New. | |
8951 | ||
864089d2 MM |
8952 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8953 | ||
8954 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
8955 | Change to ... | |
8956 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
8957 | (btrace_read_type) <btrace_read_new>: Change to ... | |
8958 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
8959 | ||
ed9edfb5 MM |
8960 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
8961 | ||
8962 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
8963 | previous iteration. | |
8964 | ||
fbcbc3fd DE |
8965 | 2014-01-15 Doug Evans <dje@google.com> |
8966 | ||
8967 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
8968 | uint32_t. | |
8969 | ||
3d548a53 TT |
8970 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
8971 | ||
8972 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
8973 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
8974 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
8975 | (set_objfile_main_name): New function. | |
8976 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
8977 | language_of_main>: New fields. | |
8978 | (set_objfile_main_name): Declare. | |
8979 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
8980 | name and language. | |
8981 | (set_main_name): Now static. | |
8982 | (get_main_info): Add comment. | |
8983 | * symtab.h (set_main_name): Don't declare. | |
8984 | ||
32ac0d11 TT |
8985 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
8986 | ||
8987 | * symtab.c (main_progspace_key): New global. | |
8988 | (struct main_info): New. | |
8989 | (name_of_main, language_of_main): Remove. | |
8990 | (get_main_info, main_info_cleanup): New function. | |
8991 | (set_main_name, main_name, main_language): Use get_main_info. | |
8992 | (_initialize_symtab): Initialize main_progspace_key. | |
8993 | ||
9e6c82ad TT |
8994 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
8995 | ||
8996 | * dbxread.c (process_one_symbol): Update. | |
8997 | * dwarf2read.c (read_partial_die): Update. | |
8998 | * symfile.c (set_initial_language): Call main_language. | |
8999 | * symtab.c (language_of_main): Now static. | |
9000 | (set_main_name): Add 'lang' parameter. | |
9001 | (find_main_name): Update. | |
9002 | (main_language): New function. | |
9003 | (symtab_observer_executable_changed): Update. | |
9004 | * symtab.h (set_main_name): Update. | |
9005 | (language_of_main): Remove. | |
9006 | (main_language): Declare. | |
9007 | ||
6ef55de7 TT |
9008 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
9009 | ||
9010 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
9011 | Update. | |
9012 | * objfiles.h (struct entry_point) <initialized>: New field. | |
9013 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
9014 | (struct objfile) <ei>: ...here. Remove. | |
9015 | * objfiles.c (entry_point_address_query): Update. | |
9016 | ||
53eddfa6 TT |
9017 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
9018 | ||
9019 | * objfiles.c (entry_point_address_query): Relocate entry point | |
9020 | address. | |
9021 | (objfile_relocate1): Do not relocate entry point address. | |
9022 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
9023 | <the_bfd_section_index>: New field. | |
9024 | * symfile.c (init_entry_point_info): Find the entry point's | |
9025 | section. | |
9026 | ||
d56e56aa TT |
9027 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
9028 | ||
9029 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
9030 | ||
33a97bbe OJ |
9031 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
9032 | ||
9033 | * NEWS: Add note on improved process record-replay on | |
9034 | arm*-linux* targets. | |
9035 | ||
c6ec2b30 OJ |
9036 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
9037 | ||
9038 | * arm-tdep.c (enum arm_record_result): New enum. | |
9039 | (arm_record_unsupported_insn): New function. | |
9040 | (arm_record_coproc_data_proc): Removed. | |
9041 | (thumb2_record_ld_st_multiple): New function. | |
9042 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
9043 | (thumb2_record_data_proc_sreg_mimm): New function. | |
9044 | (thumb2_record_ps_dest_generic): New function. | |
9045 | (thumb2_record_branch_misc_cntrl): New function. | |
9046 | (thumb2_record_str_single_data): New function. | |
9047 | (thumb2_record_ld_mem_hints): New function. | |
9048 | (thumb2_record_ld_word): New function. | |
9049 | (thumb2_record_lmul_lmla_div): New function. | |
9050 | (thumb2_record_decode_insn_handler): New function. | |
9051 | (decode_insn): Add thumb32 instruction handlers. | |
9052 | ||
97dfe206 OJ |
9053 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
9054 | ||
9055 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
9056 | (struct arm_linux_record_tdep): Declare. | |
9057 | (arm_canonicalize_syscall): New function. | |
9058 | (arm_all_but_pc_registers_record): New function. | |
9059 | (arm_linux_syscall_record): New function. | |
9060 | (arm_linux_init_abi): Add syscall recording constructs. | |
9061 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
9062 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
9063 | decoding. | |
9064 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
9065 | <arm_syscall_record>: New field. | |
9066 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
9067 | gdb_target_obs. | |
9068 | ||
9904a494 OJ |
9069 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
9070 | ||
9071 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
9072 | register for push instruction recording. | |
9073 | ||
f969241e OJ |
9074 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
9075 | ||
9076 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
9077 | error while recording ldm, ldmia and pop instructions. | |
9078 | ||
bfbbec00 OJ |
9079 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
9080 | ||
9081 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
9082 | ||
e40adcc9 PA |
9083 | 2014-01-15 Pedro Alves <palves@redhat.com> |
9084 | ||
9085 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
9086 | (go32_resume, go32_fetch_registers, store_register) | |
9087 | (go32_store_registers, go32_prepare_to_store) | |
9088 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
9089 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
9090 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
9091 | declarations. | |
9092 | ||
b0a16e66 TT |
9093 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
9094 | ||
9095 | * target.h (async_callback_ftype): New typedef. | |
9096 | (struct target_ops) <to_async>: Use it. | |
9097 | ||
bf7105a4 JB |
9098 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
9099 | ||
9100 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
9101 | braces for single-statement if block. | |
9102 | ||
a8f35c2e JB |
9103 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
9104 | ||
9105 | * python/py-type.c (convert_field): Add missing empty line | |
9106 | after declarations. | |
9107 | ||
bb4142cf DE |
9108 | 2014-01-14 Doug Evans <dje@google.com> |
9109 | ||
9110 | * symfile.h (expand_symtabs_matching): Renamed from | |
9111 | expand_partial_symbol_names. Update prototype. | |
9112 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
9113 | * symfile.c (expand_symtabs_matching): Renamed from | |
9114 | expand_partial_symbol_names. New args file_matcher, kind. | |
9115 | Rename arg fun to symbol_matcher. | |
9116 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
9117 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
9118 | ada_expand_partial_symbol_name. | |
9119 | (ada_make_symbol_completion_list): Update to call | |
9120 | expand_symtabs_matching. | |
9121 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
9122 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
9123 | call map_symbol_filenames. | |
9124 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
9125 | (search_symbols): Call expand_symtabs_matching. | |
9126 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
9127 | (default_make_symbol_completion_list_break_on): Update to call | |
9128 | expand_symtabs_matching. | |
9129 | (make_source_files_completion_list): Update to call | |
9130 | map_symbol_filenames. | |
9131 | ||
206f2a57 DE |
9132 | 2014-01-14 Doug Evans <dje@google.com> |
9133 | ||
9134 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
9135 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
9136 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
9137 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
9138 | * symfile.c (expand_partial_symbol_names): Update to use | |
9139 | expand_symtabs_symbol_matcher_ftype. | |
9140 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
9141 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
9142 | Arg name_matcher renamed to symbol_matcher. | |
9143 | * psymtab.c (recursively_search_psymtabs): Update to use | |
9144 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
9145 | sym_matcher. | |
9146 | (expand_symtabs_matching_via_partial): Update to use | |
9147 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
9148 | Arg name_matcher renamed to symbol_matcher. | |
9149 | ||
540c2971 DE |
9150 | 2014-01-14 Doug Evans <dje@google.com> |
9151 | ||
9152 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
9153 | (map_partial_symbol_filenames): Ditto. | |
9154 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
9155 | (map_partial_symbol_filenames): Ditto. | |
9156 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
9157 | (map_partial_symbol_filenames): Ditto. | |
9158 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
9159 | (map_partial_symbol_filenames): Ditto. | |
9160 | * symtab.c: Delete #include "psymtab.h". | |
9161 | ||
8213266a PA |
9162 | 2014-01-14 Pedro Alves <palves@redhat.com> |
9163 | Tom Tromey <tromey@redhat.com> | |
9164 | ||
9165 | * infrun.c (use_displaced_stepping): Use find_record_target | |
9166 | instead of RECORD_IS_USED. | |
9167 | (adjust_pc_after_break): Use record_full_is_used instead of | |
9168 | RECORD_IS_USED. | |
9169 | * record-btrace.c (record_btrace_open): Call record_preopen | |
9170 | instead of checking RECORD_IS_USED. | |
9171 | * record-full.c (record_full_shortname) | |
9172 | (record_full_core_shortname): New globals. | |
9173 | (record_full_is_used): New function. | |
9174 | (find_full_open): Call record_preopen instead of checking | |
9175 | RECORD_IS_USED. | |
9176 | (init_record_full_ops): Set the target's shortname to | |
9177 | record_full_shortname. | |
9178 | (init_record_full_core_ops): Set the target's shortname to | |
9179 | record_full_core_shortname. | |
9180 | * record-full.h (record_full_is_used): Declare. | |
9181 | * record.c (find_record_target): Make extern. | |
9182 | (record_preopen): New function. | |
9183 | * record.h (RECORD_IS_USED): Delete macro. | |
9184 | (find_record_target, record_preopen): Declare functions. | |
9185 | ||
7ec1862d YQ |
9186 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
9187 | ||
9188 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
9189 | 'len''s type to ULONGEST. | |
9190 | (core_xfer_shared_libraries_aix): Likewise. | |
9191 | * gdbarch.c, gdbarch.h: Regenerated. | |
9192 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
9193 | Change type of 'len' to ULONGEST. | |
9194 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
9195 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
9196 | ||
dea80a27 YQ |
9197 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
9198 | ||
9199 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
9200 | type of 'len' to ULONGEST. | |
9201 | (linux_xfer_osdata_processgroups): Likewise. | |
9202 | (linux_xfer_osdata_threads): Likewise. | |
9203 | (linux_xfer_osdata_fds): Likewise. | |
9204 | (linux_xfer_osdata_isockets): Likewise. | |
9205 | (linux_xfer_osdata_shm): Likewise. | |
9206 | (linux_xfer_osdata_sem): Likewise. | |
9207 | (linux_xfer_osdata_msg): Likewise. | |
9208 | (linux_common_xfer_osdata): Likewise. | |
9209 | (struct osdata_type) <getter>: Likewise. | |
9210 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
9211 | the declaration. | |
9212 | ||
b55e14c7 YQ |
9213 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
9214 | ||
9215 | * target.h (target_xfer_partial_ftype): Update. | |
9216 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
9217 | ULONGEST. | |
9218 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
9219 | argument 'len' to ULONGEST. | |
9220 | * auxv.c (procfs_xfer_auxv): Likewise. | |
9221 | (ld_so_xfer_auxv): Likewise. | |
9222 | (memory_xfer_auxv): Likewise. | |
9223 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
9224 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
9225 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
9226 | * corelow.c (core_xfer_partial): Likewise. | |
9227 | * ctf.c (ctf_xfer_partial): Likewise. | |
9228 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
9229 | '%u'. | |
9230 | (darwin_read_dyld_info): Likewise. | |
9231 | (darwin_xfer_partial): Likewise. | |
9232 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
9233 | (exec_xfer_partial): Likewise. | |
9234 | * exec.h (section_table_xfer_memory_partial): Update | |
9235 | declaration. | |
9236 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
9237 | instead of plongest. | |
9238 | (gnu_xfer_partial): Likewise. | |
9239 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
9240 | (ia64_hpux_xfer_solib_got): Likewise. | |
9241 | (ia64_hpux_xfer_partial): Likewise. | |
9242 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
9243 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
9244 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
9245 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
9246 | (linux_nat_xfer_partial): Likewise. | |
9247 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
9248 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
9249 | * monitor.c (monitor_xfer_memory): Likewise. | |
9250 | (monitor_xfer_partial): Likewise. | |
9251 | * procfs.c (procfs_xfer_partial): Likewise. | |
9252 | * record-full.c (record_full_xfer_partial): Likewise. | |
9253 | (record_full_core_xfer_partial): Likewise. | |
9254 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
9255 | instead of plongest. | |
9256 | (gdbsim_xfer_partial): Likewise. | |
9257 | * remote.c (remote_xfer_partial): Likewise. | |
9258 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
9259 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
9260 | declaration. | |
9261 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
9262 | (rs6000_xfer_shared_libraries): Likewise. | |
9263 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
9264 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
9265 | (sparc_xfer_partial): Likewise. | |
9266 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
9267 | (spu_xfer_partial): Likewise. | |
9268 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
9269 | * target.c (target_read_live_memory): Likewise. | |
9270 | (memory_xfer_live_readonly_partial): Likewise. | |
9271 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
9272 | (target_xfer_partial, default_xfer_partial): Likewise. | |
9273 | (current_xfer_partial): Likewise. | |
9274 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
9275 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
9276 | pulongest instead of plongest. | |
9277 | (windows_xfer_partial): Likewise. | |
9278 | (windows_xfer_shared_libraries): Likewise. | |
9279 | ||
05804640 YQ |
9280 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
9281 | ||
9282 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
9283 | target_xfer_partial_ftype. | |
9284 | ||
b5b08fb4 SC |
9285 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
9286 | ||
9287 | PR python/15464 | |
9288 | PR python/16113 | |
9289 | * valops.c (value_struct_elt_bitpos): New function | |
9290 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
9291 | object to 'None' if the field name is an empty string (""). | |
9292 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
9293 | attribute to look for a field when 'name' is 'None'. | |
9294 | (get_field_type): New function | |
9295 | ||
13aaf454 DE |
9296 | 2014-01-13 Doug Evans <dje@google.com> |
9297 | ||
9298 | PR symtab/16426 | |
9299 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
9300 | (try_open_dwop_file): Ditto. | |
9301 | * gdb_bfd.c: #include "vec.h". | |
9302 | (bfdp): New typedef. | |
9303 | (struct gdb_bfd_data): New member included_bfds. | |
9304 | (gdb_bfd_unref): Unref all included bfds. | |
9305 | (gdb_bfd_record_inclusion): New function. | |
9306 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
9307 | ||
c2cec97c TT |
9308 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
9309 | ||
9310 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
9311 | ||
78e5999d TT |
9312 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
9313 | ||
9314 | * defs.h (use_windows): Remove. | |
9315 | * gdb.c (main): Update. | |
9316 | * main.c (captured_main, gdb_main): Update. | |
9317 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
9318 | * top.c (use_windows): Remove. | |
9319 | ||
f2052bbe TT |
9320 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
9321 | ||
9322 | * defs.h (deprecated_flush_hook): Remove. | |
9323 | ||
fde4f8ed JK |
9324 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
9325 | ||
9326 | PR threads/16216 | |
9327 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
9328 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
9329 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
9330 | (try_thread_db_load_from_sdir): Update caller. | |
9331 | (try_thread_db_load_from_dir): Move it there from here. | |
9332 | ||
bdf61915 PP |
9333 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
9334 | ||
9335 | * regformats/regdat.sh: Always rewrite the register file. | |
9336 | ||
f71e1a8d PA |
9337 | 2014-01-13 Pedro Alves <palves@redhat.com> |
9338 | ||
9339 | * Makefile.in (CHECK_HEADERS): New variable. | |
9340 | (check-headers:): New rule. | |
9341 | ||
42c85435 TT |
9342 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
9343 | ||
9344 | * cli/cli-setshow.c (do_set_command): Update. | |
9345 | * defs.h (deprecated_set_hook): Remove. | |
9346 | * top.c (deprecated_set_hook): Remove. | |
9347 | ||
f8de5129 PA |
9348 | 2014-01-13 Pedro Alves <palves@redhat.com> |
9349 | ||
9350 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
9351 | the tracepoint if the PC is a pseudo-register. | |
9352 | ||
fc270c35 TT |
9353 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
9354 | ||
9355 | * defs.h (XCALLOC): Remove. | |
9356 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
9357 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
9358 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
9359 | * elfread.c (elf_symfile_segments): Likewise. | |
9360 | (elf_symfile_segments): Likewise. | |
9361 | * gdbtypes.c (copy_type_recursive): Likewise. | |
9362 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
9363 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
9364 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
9365 | XCALLOC. | |
9366 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
9367 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
9368 | XCALLOC. | |
9369 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
9370 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
9371 | * registry.c (registry_alloc_data): Likewise. | |
9372 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
9373 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
9374 | * serial.c (serial_fdopen_ops): Likewise. | |
9375 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
9376 | XCALLOC. | |
9377 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
9378 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
9379 | not XCALLOC. | |
9380 | ||
70ba0933 TT |
9381 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
9382 | ||
9383 | * defs.h (XMALLOC): Remove. | |
9384 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
9385 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
9386 | * cli-out.c (struct ui_out *): Likewise. | |
9387 | * cli/cli-dump.c (add_dump_command): Likewise. | |
9388 | (add_dump_command): Likewise. | |
9389 | * complaints.c (get_complaints): Likewise. | |
9390 | (find_complaint): Likewise. | |
9391 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
9392 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
9393 | * gdbarch.sh: Likewise. | |
9394 | * gdbarch.c: Rebuild. | |
9395 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
9396 | * interps.c (interp_new): Likewise. | |
9397 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
9398 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
9399 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
9400 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
9401 | * mi/mi-out.c (mi_out_new): Likewise. | |
9402 | * mi/mi-parse.c (mi_parse): Likewise. | |
9403 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
9404 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
9405 | * observer.c (xalloc_observer_list_node): Likewise. | |
9406 | * regcache.c (regcache_xmalloc_1): Likewise. | |
9407 | * reggroups.c (reggroup_new): Likewise. | |
9408 | (_initialize_reggroup): Likewise. | |
9409 | * registry.c (register_data_with_cleanup): Likewise. | |
9410 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
9411 | * ser-base.c (serial_ttystate): Likewise. | |
9412 | * ser-mingw.c (make_pipe_state): Likewise. | |
9413 | * ser-pipe.c (pipe_open): Likewise. | |
9414 | * serial.c (serial_open): Likewise. | |
9415 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
9416 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
9417 | (tui_alloc_win_info): Likewise. | |
9418 | (tui_add_content_elements): Likewise. | |
9419 | * tui/tui-file.c (tui_file_new): Likewise. | |
9420 | * tui/tui-out.c (tui_out_new): Likewise. | |
9421 | * ui-file.c (mem_file_new): Likewise. | |
9422 | * ui-out.c (push_level): Likewise. | |
9423 | (make_cleanup_ui_out_end): Likewise. | |
9424 | (append_header_to_list): Likewise. | |
9425 | (ui_out_new): Likewise. | |
9426 | * user-regs.c (user_reg_add_builtin): Likewise. | |
9427 | ||
41bf6aca TT |
9428 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
9429 | ||
9430 | * defs.h (XZALLOC): Remove. | |
9431 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
9432 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
9433 | (get_ada_tasks_inferior_data): Likewise. | |
9434 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
9435 | * auxv.c (get_auxv_inferior_data): Likewise. | |
9436 | * bfd-target.c (target_bfd_reopen): Likewise. | |
9437 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
9438 | (deprecated_insert_raw_breakpoint): Likewise. | |
9439 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
9440 | * corelow.c (core_open): Likewise. | |
9441 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
9442 | (darwin_attach_pid): Likewise. | |
9443 | * dummy-frame.c (dummy_frame_push): Likewise. | |
9444 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
9445 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
9446 | * elfread.c (elf_symfile_segments): Likewise. | |
9447 | * eval.c (ptrmath_type_p): Likewise. | |
9448 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
9449 | * gdbtypes.c (alloc_type_arch): Likewise. | |
9450 | (alloc_type_instance): Likewise. | |
9451 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
9452 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
9453 | * inflow.c (get_inflow_inferior_data): Likewise. | |
9454 | * infrun.c (save_infcall_suspend_state): Likewise. | |
9455 | * jit.c (jit_reader_load): Likewise. | |
9456 | (get_jit_objfile_data): Likewise. | |
9457 | (get_jit_program_space_data): Likewise. | |
9458 | (jit_object_open_impl): Likewise. | |
9459 | (jit_symtab_open_impl): Likewise. | |
9460 | (jit_block_open_impl): Likewise. | |
9461 | (jit_frame_sniffer): Likewise. | |
9462 | * linux-fork.c (add_fork): Likewise. | |
9463 | * maint.c (make_command_stats_cleanup): Likewise. | |
9464 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
9465 | * opencl-lang.c (struct lval_closure): Likewise. | |
9466 | * osdata.c (osdata_start_osdata): Likewise. | |
9467 | * progspace.c (new_address_space): Likewise. | |
9468 | (add_program_space): Likewise. | |
9469 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
9470 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
9471 | * skip.c (Ignore): Likewise. | |
9472 | (skip_delete_command): Likewise. | |
9473 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
9474 | (library_list_start_library): Likewise. | |
9475 | (solib_aix_current_sos): Likewise. | |
9476 | * solib-darwin.c (get_darwin_info): Likewise. | |
9477 | (darwin_current_sos): Likewise. | |
9478 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
9479 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
9480 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
9481 | * solib-spu.c (append_ocl_sos): Likewise. | |
9482 | (spu_current_sos): Likewise. | |
9483 | * solib-svr4.c (get_svr4_info): Likewise. | |
9484 | (svr4_keep_data_in_core): Likewise. | |
9485 | (library_list_start_library): Likewise. | |
9486 | (svr4_default_sos): Likewise. | |
9487 | (svr4_read_so_list): Likewise. | |
9488 | * solib-target.c (library_list_start_library): Likewise. | |
9489 | (solib_target_current_sos): Likewise. | |
9490 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
9491 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
9492 | * symfile.c (default_symfile_segments): Likewise. | |
9493 | * target-descriptions.c (tdesc_data_init): Likewise. | |
9494 | (tdesc_create_reg): Likewise. | |
9495 | (struct tdesc_type *): Likewise. | |
9496 | (tdesc_create_vector): Likewise. | |
9497 | (tdesc_set_struct_size): Likewise. | |
9498 | (struct tdesc_type *): Likewise. | |
9499 | (tdesc_free_feature): Likewise. | |
9500 | (tdesc_create_feature): Likewise. | |
9501 | * windows-nat.c (windows_add_thread): Likewise. | |
9502 | (windows_make_so): Likewise. | |
9503 | * xml-support.c (gdb_xml_body_text): Likewise. | |
9504 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
9505 | (xml_process_xincludes): Likewise. | |
9506 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
9507 | (syscall_create_syscall_desc): Likewise. | |
9508 | ||
5acfdbae SDJ |
9509 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
9510 | ||
9511 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
9512 | function, with code from i386_stap_parse_special_token. | |
9513 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
9514 | (i386_stap_parse_special_token): Move code to the two functions | |
9515 | above; simplify it. | |
9516 | ||
0000e5cc PA |
9517 | 2014-01-09 Pedro Alves <palves@redhat.com> |
9518 | Hui Zhu <hui@codesourcery.com> | |
9519 | ||
9520 | PR gdb/16101 | |
9521 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
9522 | bp_err_string. Don't mark the location shlib_disabled if the | |
9523 | error thrown wasn't a generic or memory error. Catch errors | |
9524 | thrown while inserting breakpoints in overlayed code. Output | |
9525 | error message of software breakpoints. | |
9526 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
9527 | target-side commands but this stub doesn't support Z0 packets, | |
9528 | throw NOT_SUPPORTED_ERROR error. | |
9529 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
9530 | * target.h (target_insert_breakpoint): Extend comment. | |
9531 | (target_insert_hw_breakpoint): Add comment. | |
9532 | ||
b7ea362b PA |
9533 | 2014-01-08 Pedro Alves <palves@redhat.com> |
9534 | ||
9535 | * remote.c (remote_add_thread): Add threads silently if starting | |
9536 | up. | |
9537 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
9538 | don't call notice_new_inferior. | |
9539 | (get_current_thread): New function, factored out from ... | |
9540 | (add_current_inferior_and_thread): ... this. Adjust. | |
9541 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
9542 | found any thread, then select the remote's current thread as GDB's | |
9543 | current thread too. | |
9544 | ||
b7bba001 JB |
9545 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
9546 | ||
9547 | * NEWS: Create a new section for the next release branch. | |
9548 | Rename the section of the current branch, now that it has | |
9549 | been cut. | |
9550 | ||
16dfbded JB |
9551 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
9552 | ||
9553 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
9554 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
9555 | ||
22c90ac1 YQ |
9556 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
9557 | ||
9558 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
9559 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
9560 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
9561 | ||
d64ad97c YQ |
9562 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
9563 | ||
9564 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
9565 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
9566 | ||
f93ba80c PM |
9567 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
9568 | ||
9569 | Fix PR16201. | |
9570 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
9571 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
9572 | to prim_record_mininal_symbol_and_info. | |
9573 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
9574 | in call to prim_record_minimal_symbol_and_info. | |
9575 | (read_pe_exported_syms): Set index field of section_data. | |
9576 | ||
a4d9ba85 AP |
9577 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
9578 | ||
9579 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
9580 | * features/aarch64.c: Regenerate. | |
9581 | ||
1b67eb02 AS |
9582 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
9583 | ||
9584 | * target.c (return_null): Define. | |
9585 | (update_current_target): Use it instead of return_zero for | |
9586 | functions that return a pointer. | |
9587 | ||
5e3f4fab EBM |
9588 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
9589 | ||
9590 | * source.c (add_path): Fix check for duplicated paths in the previously | |
9591 | included paths. | |
9592 | ||
e2616788 HK |
9593 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
9594 | ||
9595 | * ada-lang.c: Remove duplicated include statements. | |
9596 | * alphabsd-nat.c: Ditto. | |
9597 | * amd64-darwin-tdep.c: Ditto. | |
9598 | * amd64fbsd-nat.c: Ditto. | |
9599 | * auto-load.c: Ditto. | |
9600 | * ax-gdb.c: Ditto. | |
9601 | * breakpoint.c: Ditto. | |
9602 | * dbxread.c: Ditto. | |
9603 | * fork-child.c: Ditto. | |
9604 | * gdb_usleep.c: Ditto. | |
9605 | * i386-darwin-tdep.c: Ditto. | |
9606 | * i386fbsd-nat.c: Ditto. | |
9607 | * infcmd.c: Ditto. | |
9608 | * inferior.c: Ditto. | |
9609 | * jv-lang.c: Ditto. | |
9610 | * linux-nat.c: Ditto. | |
9611 | * linux-tdep.c: Ditto. | |
9612 | * m68kbsd-nat.c: Ditto. | |
9613 | * m68klinux-nat.c: Ditto. | |
9614 | * microblaze-tdep.c: Ditto. | |
9615 | * mips-linux-tdep.c: Ditto. | |
9616 | * mn10300-tdep.c: Ditto. | |
9617 | * nto-tdep.c: Ditto. | |
9618 | * opencl-lang.c: Ditto. | |
9619 | * osdata.c: Ditto. | |
9620 | * printcmd.c: Ditto. | |
9621 | * regcache.c: Ditto. | |
9622 | * remote-m32r-sdi.c: Ditto. | |
9623 | * remote.c: Ditto. | |
9624 | * symfile.c: Ditto. | |
9625 | * symtab.c: Ditto. | |
9626 | * tilegx-linux-nat.c: Ditto. | |
9627 | * tilegx-tdep.c: Ditto. | |
9628 | * tracepoint.c: Ditto. | |
9629 | * valops.c: Ditto. | |
9630 | * vaxbsd-nat.c: Ditto. | |
9631 | * windows-nat.c: Ditto. | |
9632 | * xtensa-tdep.c: Ditto. | |
9633 | ||
bd1f7788 YQ |
9634 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9635 | ||
9636 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
9637 | ||
79301218 JB |
9638 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9639 | Joel Brobecker <brobecker@adacore.com> | |
9640 | ||
9641 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
9642 | (pdc_write_regs): Likewise. | |
9643 | (fetch_regs_kernel_thread): Likewise. | |
9644 | (store_regs_kernel_thread): Likewise. | |
9645 | ||
9646 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
9647 | ||
9648 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
9649 | tagged type objects to their actual type. | |
9650 | ||
8e355c5d JB |
9651 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9652 | ||
9653 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
9654 | Update calls to print_field_values and print_variant_part. | |
9655 | Pass new parameter "language" in call to val_print instead | |
9656 | of "current_language". Replace call to ada_val_print by call | |
9657 | to val_print. | |
9658 | (print_variant_part): Add "language" parameter. | |
9659 | (ada_val_print_struct_union): Update call to print_field_values. | |
9660 | ||
4fbf5aa5 JB |
9661 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9662 | ||
9663 | * ada-valprint.c (ui_memcpy): Delete. | |
9664 | (ada_print_floating): Update documentation. Add empty line | |
9665 | between between function documentation and implementation. | |
9666 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
9667 | ui_file_put. Minor adjustments following this change. | |
9668 | ||
71855601 JB |
9669 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9670 | ||
9671 | * ada-valprint.c (ada_val_print_string): New function, | |
9672 | extracted from ada_val_print_array. | |
9673 | (ada_val_print_array): Replace extracted code by call | |
9674 | to ada_val_print_string followed by a return. Move | |
9675 | "else" branch to the function's top block. | |
9676 | ||
4eb27a30 JB |
9677 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9678 | ||
9679 | * ada-valprint.c (ada_val_print_array): Move implementation | |
9680 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
9681 | and "original_value" respectively. Add parameter "offset". | |
9682 | ||
34b27950 JB |
9683 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9684 | ||
9685 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
9686 | re-organizing the code. Change the "???" message printed | |
9687 | when target type is a TYPE_CODE_UNDEF into | |
9688 | "<ref to undefined type>". | |
9689 | ||
079e4591 JB |
9690 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9691 | ||
9692 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
9693 | (ada_val_print_struct_union): ... here. Remove call to | |
9694 | ada_check_typedef in inlined implementation. | |
9695 | ||
8004dfd1 JB |
9696 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9697 | ||
9698 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
9699 | extracted from ada_val_print_1; | |
9700 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
9701 | (ada_val_print_flt, ada_val_print_struct_union) | |
9702 | (ada_val_print_ref): Likewise. | |
9703 | (ada_val_print_1): Delete variables i and elttype. | |
9704 | Replace extracted-out code by call to corresponding | |
9705 | new functions. | |
9706 | ||
760a2db0 JB |
9707 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9708 | ||
9709 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
9710 | ||
3a92c861 JB |
9711 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9712 | ||
9713 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
9714 | ada_val_print_1 by calls to val_print. | |
9715 | ||
cd1630f9 JB |
9716 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9717 | ||
9718 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
9719 | Update calls to self accordingly. Replace calls to c_val_print | |
9720 | by calls to val_print. | |
9721 | ||
bdf779a0 JB |
9722 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9723 | ||
9724 | * ada-valprint.c (print_record): Delete declaration. | |
9725 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
9726 | (ada_val_print): Move function implementation down. | |
9727 | (print_variant_part, print_field_values, print_record): | |
9728 | Move function implementation up. | |
9729 | ||
c0d48811 JB |
9730 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
9731 | ||
9732 | * python/py-type.c (typy_get_name): New function. | |
9733 | (type_object_getset): Add entry for attribute "name". | |
9734 | * NEWS: Add entry mentioning this new attribute. | |
9735 | ||
c26e9cbb YQ |
9736 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9737 | ||
9738 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
9739 | statement. | |
9740 | ||
0cc6f43d YQ |
9741 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9742 | ||
9743 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
9744 | argument args. | |
9745 | ||
eec03155 YQ |
9746 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9747 | ||
9748 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
9749 | ||
f04a82ef YQ |
9750 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9751 | ||
9752 | * gnu-nat.c (make_inf) Update declaration. | |
9753 | (make_inf): Make it static. | |
9754 | (inf_set_traced): Likewise. | |
9755 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
9756 | ||
d57dda0a YQ |
9757 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9758 | ||
9759 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
9760 | ||
3aa8c969 YQ |
9761 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9762 | ||
9763 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
9764 | ||
94123b4f YQ |
9765 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
9766 | ||
9767 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
9768 | 'enum bfd_endian'. | |
9769 | (struct gdbarch_info) <byte_order>: Change type to | |
9770 | 'enum bfd_endian'. | |
9771 | <byte_order_for_code>: Likewise. | |
9772 | * gdbarch.c, gdbarch.h: Regenerated. | |
9773 | ||
dc81d70a TT |
9774 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
9775 | ||
9776 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
9777 | ||
cc2f3c35 TT |
9778 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
9779 | ||
9780 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
9781 | CONST. | |
9782 | * somread.c (som_symtab_read): Likewise. | |
9783 | ||
adcf2eed HZ |
9784 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
9785 | ||
9786 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
9787 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
9788 | (gdb_bfd_fopen): Ditto. | |
9789 | (gdb_bfd_openr): Ditto. | |
9790 | (gdb_bfd_openw): Ditto. | |
9791 | (gdb_bfd_openr_iovec): Ditto. | |
9792 | (gdb_bfd_fdopenr): Ditto. | |
9793 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
9794 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
9795 | with xstrdup. | |
9796 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
9797 | with xstrdup. | |
9798 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
9799 | gdb_bfd_stash_filename. | |
9800 | ||
50722198 DE |
9801 | 2014-01-03 Doug Evans <dje@google.com> |
9802 | ||
9803 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
9804 | output. | |
9805 | ||
2fa4b862 JB |
9806 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
9807 | ||
9808 | Update year range in copyright notice of all files. | |
9809 | ||
28498c42 JB |
9810 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
9811 | ||
9812 | * top.c (print_gdb_version): Set copyright year to 2014. | |
9813 | ||
7b6e1046 JB |
9814 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
9815 | ||
9816 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
9817 | ||
df96af55 | 9818 | For older changes see ChangeLog-2013. |
c906108c SS |
9819 | \f |
9820 | Local Variables: | |
9821 | mode: change-log | |
9822 | left-margin: 8 | |
9823 | fill-column: 74 | |
9824 | version-control: never | |
57da7796 | 9825 | coding: utf-8 |
c906108c | 9826 | End: |