daily update
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
74228e77
RM
12014-07-30 Roland McGrath <mcgrathr@google.com>
2
3 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
4
014f9477
TT
52014-07-30 Tom Tromey <tromey@redhat.com>
6
7 * bsd-kvm.c (bsd_kvm_open): Constify.
8 * corelow.c (core_open): Constify.
9 * ctf.c (ctf_open): Constify.
10 * dbug-rom.c (dbug_open): Constify.
11 * exec.c (exec_open): Constify.
12 * m32r-rom.c (m32r_open, mon2000_open): Constify.
13 * microblaze-rom.c (picobug_open): Constify.
14 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
15 Constify.
16 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
17 * record-btrace.c (record_btrace_open): Constify.
18 * record-full.c (record_full_core_open_1, record_full_open_1)
19 (record_full_open): Constify.
20 * remote-m32r-sdi.c (m32r_open): Constify.
21 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
22 (rockhopper_open, lsi_open): Constify.
23 * remote-sim.c (gdbsim_open): Constify.
24 * remote.c (remote_open, extended_remote_open, remote_open_1):
25 Constify.
26 * target.h (struct target_ops) <to_open>: Make "arg" const.
27 * tracefile-tfile.c (tfile_open): Constify.
28
e799154c
TT
292014-07-30 Tom Tromey <tromey@redhat.com>
30
31 * breakpoint.c (map_breakpoint_numbers): Update.
32 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
33 (get_number_const): New function.
34 (get_number): Rewrite using get_number_const.
35 (init_number_or_range): Make "string" const.
36 (number_is_in_list): Make "list" const.
37 * cli/cli-utils.h (get_number_const): Declare.
38 (struct get_number_or_range_state) <string, end_ptr>: Now const.
39 (init_number_or_range, number_is_in_list): Update.
40 * printcmd.c (map_display_numbers): Update.
41 * value.c (value_from_history_ref): Constify.
42 * value.h (value_from_history_ref): Update.
43
5f08566b
TT
442014-07-30 Tom Tromey <tromey@redhat.com>
45
46 * corefile.c (hook_type, call_extra_exec_file_hooks)
47 (specify_exec_file_hook): Constify.
48 * exec.c (exec_file_attach): Make "filename" const.
49 * gdbcore.h (deprecated_exec_file_display_hook)
50 (specify_exec_file_hook, exec_file_attach): Constify.
51 * main.c (captured_main): Use catch_command_errors_const.
52
8981c758
TT
532014-07-30 Tom Tromey <tromey@redhat.com>
54
55 * target.c (open_target): New function.
56 (add_target_with_completer, add_deprecated_target_alias): Use
57 set_cmd_sfunc, set_cmd_context.
58 (debug_to_open): Remove.
59 (setup_target_debug): Update.
60
a1c7835a
YQ
612014-07-30 Yao Qi <yao@codesourcery.com>
62
63 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
64 comments.
65 * parse.c (exp_iterate): Update comments.
66
976411d6
GB
672014-07-30 Gary Benson <gbenson@redhat.com>
68
69 * common/common-defs.h: New file.
70 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
71 * defs.h: Include common-defs.h.
72 Do not include config.h or build-gnulib/config.h.
73
5d4848a4
GB
742014-07-30 Gary Benson <gbenson@redhat.com>
75
76 * common/common-utils.h: Do not include config.h.
77 * nat/linux-btrace.h: Likewise.
78
d41f6d8e
GB
792014-07-30 Gary Benson <gbenson@redhat.com>
80
81 * btrace.c: Include defs.h.
82 * common/ptid.c: Include defs.h or server.h as appropriate.
83 * nat/mips-linux-watch.c: Likewise.
84
84202f9c
TT
852014-07-29 Tom Tromey <tromey@redhat.com>
86
87 * target.c (target_is_pushed): Simplify.
88
2530441c
JB
892014-07-29 Joel Brobecker <brobecker@adacore.com>
90
91 GDB 7.8 released.
92
7e09a223
YQ
932014-07-29 Yao Qi <yao@codesourcery.com>
94
95 PR gdb/17206
96 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
97
7ebdbe92
DE
982014-07-28 Doug Evans <xdje42@gmail.com>
99
100 PR guile/17203
101 * guile/scm-param.c (pascm_parameter_defined_p): New function.
102 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
103 parameters.
104
f347ffc9
WN
1052014-07-28 Will Newton <will.newton@linaro.org>
106
107 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
108 (THUMB2_SET_R7_SIGRETURN2): Likewise.
109 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
110 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
111 (THUMB2_EABI_SYSCALL): Likewise.
112 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
113 struct tramp_frame.
114 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
115 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
116
37c5f1f7
DE
1172014-07-27 Doug Evans <xdje42@gmail.com>
118
119 * guile/scm-param.c (pascm_print_param_smob): Fix output.
120
0c3abbc7
DE
1212014-07-27 Doug Evans <xdje42@gmail.com>
122
123 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
124
e76c5d17
DE
1252014-07-26 Ludovic Courtès <ludo@gnu.org>
126 Doug Evans <xdje42@gmail.com>
127
128 PR guile/17146
129 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
130 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
131 * configure.ac: Try to use guild to compile an scm file, if it fails
132 then disable guile support.
133 * configure: Regenerate.
134 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
135 GUILE_FILE_LIST.
136 (GUILE_COMPILED_FILES): New variable.
137 (GUILE_FILES) Update.
138 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
139 (stamp-guile): Compile scm files.
140 * guile/guile.c (boot_guile_support): New function.
141 (standard_throw_args_p): New function.
142 (print_standard_throw_error, print_throw_error): New functions.
143 (handle_boot_error): New function.
144 (initialize_scheme_side): Rewrite to call boot_guile_support.
145 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
146 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
147
186fcde0
DE
1482014-07-26 Ludovic Courtès <ludo@gnu.org>
149 Doug Evans <xdje42@gmail.com>
150
151 PR guile/17146
152 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
153 * guile/lib/gdb/support.scm: New file.
154 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
155 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
156 All uses updated.
157 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
158 All uses updated.
159 (%assert-type): Ditto, and renamed to assert-type.
160 (%exception-print-style): Delete.
161
4df42755
DE
1622014-07-26 Doug Evans <xdje42@gmail.com>
163
164 PR build/17105
165 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
166 * configure: Regenerate.
167 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
168 PYTHON_FILES.
169 (PYTHON_FILES): New variable.
170 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
171 (GUILE_FILES): New variable.
172 (stamp-python, install-python, uninstall-python): Handle empty
173 file list.
174 (stamp-guile, install-guile, uninstall-guile): Ditto.
175
ee7333ae
DE
1762014-07-26 Doug Evans <xdje42@gmail.com>
177
178 PR guile/17177
179 * guile/lib/gdb.scm (pretty-printers): Export.
180 (set-pretty-printers!): Export.
181 * guile/lib/gdb/printing.scm (gdb module): Update.
182 (prepend-pretty-printer!, append-pretty-printer!): Update.
183 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
184 (pretty_printer_list_var): Delete.
185 (pretty_printer_list): New static global.
186 (gdbscm_pretty_printers): New function.
187 (gdbscm_set_pretty_printers_x): New function.
188 (ppscm_find_pretty_printer_from_gdb): Update.
189 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
190 (gdbscm_initialize_pretty_printers): Update.
191
74edf516
DE
1922014-07-26 Doug Evans <xdje42@gmail.com>
193
194 PR 17185
195 * configure.ac: Add check for header gc/gc.h.
196 Add check for function setenv.
197 * configure: Regenerate.
198 * config.in: Regenerate.
199 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
200
d54398a7
MR
2012014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
202
203 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
204 variation in gdbarch matching.
205
ab16fce8
TT
2062014-07-25 Tom Tromey <tromey@redhat.com>
207
208 * exec.c (using_exec_ops): Remove.
209 (exec_close_1): Update. Remove extraneous block, reindent.
210 (add_target_sections): Use target_is_pushed.
211
88056fbb
PA
2122014-07-25 Pedro Alves <palves@redhat.com>
213
214 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
215 * monitor.c (monitor_create_inferior): Likewise.
216 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
217 * remote-sim.c (gdbsim_create_inferior): Likewise.
218 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
219 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
220 * windows-nat.c (do_initial_windows_stuff): Likewise.
221
70509625
PA
2222014-07-25 Pedro Alves <palves@redhat.com>
223
224 * NEWS: Mention signal passing and "signal" command changes.
225 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
226 comment.
227 * breakpoint.c (until_break_command): Adjust clear_proceed_status
228 call.
229 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
230 * infcmd.c (proceed_thread_callback, continue_1, step_once)
231 (jump_command): Adjust clear_proceed_status call.
232 (signal_command): Warn if other thread that are resumed have
233 signals that will be delivered. Adjust clear_proceed_status call.
234 (until_next_command, finish_command)
235 (proceed_after_attach_callback, attach_command_post_wait)
236 (attach_command): Adjust clear_proceed_status call.
237 * infrun.c (proceed_after_vfork_done): Likewise.
238 (proceed_after_attach_callback): Adjust comment.
239 (clear_proceed_status_thread): Clear stop_signal if not in pass
240 state.
241 (clear_proceed_status_callback): Delete.
242 (clear_proceed_status): New 'step' parameter. Only clear the
243 proceed status of threads the command being prepared is about to
244 resume.
245 (proceed): If passed in an explicit signal, override stop_signal
246 with it. Don't pass the last stop signal to the thread we're
247 resuming.
248 (init_wait_for_inferior): Adjust clear_proceed_status call.
249 (switch_back_to_stepped_thread): Clear the signal if it should not
250 be passed.
251 * infrun.h (clear_proceed_status): New 'step' parameter.
252 (user_visible_resume_ptid): Add comment.
253 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
254 signal is in pass state.
255 * remote.c (append_pending_thread_resumptions): Likewise.
256 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
257
d8be2939
TT
2582014-07-25 Tom Tromey <tromey@redhat.com>
259
260 * target.h (target_stopped_data_address)
261 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
262 parentheses.
263
7d0d9d2b
PL
2642014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
265
266 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
267 comments.
268 (avr_pointer_to_address): Likewise.
269
e9e7f724
TT
2702014-07-24 Tom Tromey <tromey@redhat.com>
271
272 * monitor.c (compile_pattern): Update.
273 * target.h (struct target_ops) <to_shortname, to_longname,
274 to_doc>: Now const.
275
1947513d
TT
2762014-07-24 Tom Tromey <tromey@redhat.com>
277
278 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
279 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
280 (add_info_alias, add_com): Make "doc" const.
281 (print_doc_line): Make "str" const.
282 (delete_cmd): Update.
283 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
284 (print_doc_line): Update.
285 * cli/cli-script.c (document_command): Update.
286 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
287 (add_com, add_info, add_info_alias): Update.
288 * guile/scm-cmd.c (cmdscm_destroyer): Update.
289 * python/py-cmd.c (cmdpy_destroyer): Update.
290
64e61d29
TT
2912014-07-24 Tom Tromey <tromey@redhat.com>
292
293 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
294 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
295 (help_cmd_list): Constify.
296 (lookup_cmd): Update.
297 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
298 const.
299 (help_cmd_list, apropos_cmd): Update.
300 * cli/cli-script.c (show_user): Update.
301 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
302 * cli/cli-setshow.h (cmd_show_list): Update.
303 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
304 (cmd_show_list): Update.
305 * guile/scm-cmd.c (cmdscm_destroyer): Update.
306 * python/py-cmd.c (cmdpy_destroyer): Update.
307
429e55ea
TT
3082014-07-24 Tom Tromey <tromey@redhat.com>
309
310 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
311 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
312 const.
313 * command.h (deprecate_cmd): Update.
314 * maint.c (maintenance_do_deprecate): Add casts.
315
64669f3b
TT
3162014-07-24 Tom Tromey <tromey@redhat.com>
317
318 * cli/cli-decode.c (help_cmd): Make parameter "const".
319 * cli/cli-decode.h (help_cmd): Update.
320
d3d3328b
TT
3212014-07-24 Tom Tromey <tromey@redhat.com>
322
323 * stack.c (up_silently_base, down_silently_base): Make argument
324 const.
325
414842dc
TT
3262014-07-24 Tom Tromey <tromey@redhat.com>
327
328 * solib.c (solib_add): Make "pattern" const.
329 * solib.h (solib_add): Update.
330
baa336ce
TT
3312014-07-24 Tom Tromey <tromey@redhat.com>
332
333 * remote.c (remote_serial_open, print_packet, putpkt)
334 (putpkt_binary): Constify.
335 * remote.h (putpkt): Update.
336
5a19e2d0
TT
3372014-07-24 Tom Tromey <tromey@redhat.com>
338
339 * monitor.c (monitor_open): Make "args" const.
340 * monitor.h (monitor_open): Update.
341
fc4baa5e
TT
3422014-07-24 Tom Tromey <tromey@redhat.com>
343
344 * maint.c (match_bfd_flags): Make "string" const.
345 (print_bfd_section_info): Remove casts.
346 (print_objfile_section_info): Make "string" const.
347
0d5f0dbe
TT
3482014-07-24 Tom Tromey <tromey@redhat.com>
349
350 * inf-child.c (inf_child_open_target): Make "arg" const.
351 * inf-child.h (inf_child_open_target): Update.
352
41c77899
TT
3532014-07-24 Tom Tromey <tromey@redhat.com>
354
355 * environ.c (unset_in_environ): Make "var" const.
356 * environ.h (unset_in_environ): Update.
357
93db0d79
TT
3582014-07-24 Tom Tromey <tromey@redhat.com>
359
360 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
361 Make "cmd" const.
362 (scan_filename_with_cleanup): Likewise.
363 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
364 Make arguments const.
365 (restore_command): Update.
366
36d6eb95
PA
3672014-07-24 Pedro Alves <palves@redhat.com>
368
369 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
370
8009206a
TT
3712014-07-24 Tom Tromey <tromey@redhat.com>
372 Gary Benson <gbenson@redhat.com>
373
374 * nat/linux-ptrace.c (additional_flags): New global.
375 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
376 additional_flags; don't check GDBSERVER.
377 (linux_ptrace_set_additional_flags): New function.
378 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
379 Declare.
380 * linux-nat.c (_initialize_linux_nat): Call
381 linux_ptrace_set_additional_flags.
382
a7068b60
TT
3832014-07-24 Tom Tromey <tromey@redhat.com>
384
385 * make-target-delegates (munge_type, write_debugmethod): New
386 functions.
387 (debug_names): New global.
388 ($TARGET_DEBUG_PRINTER): New global.
389 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
390 name.
391 Write debug methods. Generate init_debug_target.
392 * target-debug.h: New file.
393 * target-delegates.c: Rebuild.
394 * target.c: Include target-debug.h.
395 (debug_target): Hoist definition.
396 (target_kill, target_get_section_table, target_memory_map)
397 (target_flash_erase, target_flash_done, target_detach)
398 (target_disconnect, target_wait, target_resume)
399 (target_pass_signals, target_program_signals, target_follow_fork)
400 (target_mourn_inferior, target_search_memory)
401 (target_thread_address_space, target_close)
402 (target_find_new_threads, target_core_of_thread)
403 (target_verify_memory, target_insert_mask_watchpoint)
404 (target_remove_mask_watchpoint): Remove targetdebug code.
405 (debug_to_post_attach, debug_to_prepare_to_store)
406 (debug_to_files_info, debug_to_insert_breakpoint)
407 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
408 (debug_to_region_ok_for_hw_watchpoint)
409 (debug_to_can_accel_watchpoint_condition)
410 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
411 (debug_to_watchpoint_addr_within_range)
412 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
413 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
414 (debug_to_terminal_init, debug_to_terminal_inferior)
415 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
416 (debug_to_terminal_save_ours, debug_to_terminal_info)
417 (debug_to_load, debug_to_post_startup_inferior)
418 (debug_to_insert_fork_catchpoint)
419 (debug_to_remove_fork_catchpoint)
420 (debug_to_insert_vfork_catchpoint)
421 (debug_to_remove_vfork_catchpoint)
422 (debug_to_insert_exec_catchpoint)
423 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
424 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
425 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
426 (setup_target_debug): Call init_debug_target.
427 * target.h (TARGET_DEBUG_PRINTER): New macro.
428 (struct target_ops) <to_resume, to_wait, to_pass_signals,
429 to_program_signals>: Use TARGET_DEBUG_PRINTER.
430
2c51604d
GB
4312014-07-24 Gary Benson <gbenson@redhat.com>
432
433 * exceptions.h (throw_vfatal): Renamed to...
434 (throw_vquit): New declaration.
435 (throw_quit): Likewise.
436 * exceptions.c (throw_vfatal): Renamed to...
437 (throw_vquit): New function.
438 (throw_quit): Likewise.
439 (throw_error): Call throw_verror rather than throw_it.
440 * utils.h (vfatal): Removed.
441 (fatal): Likewise.
442 * utils.c (vfatal): Removed.
443 (fatal): Likewise.
444 (internal_verror): Replaced call to fatal with call to throw_quit.
445 (quit): Replaced calls to fatal with calls to throw_quit.
446
34211963
ME
4472014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
448
449 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
450 target_read_code.
451
a52b4d3e
ME
4522014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
453
454 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
455 less than zero in conditional expression.
456
a8bdc56b
TT
4572014-07-23 Tom Tromey <tromey@redhat.com>
458
459 * make-target-delegates ($ARGS_PART): Match trailing close paren.
460 ($INTRO_PART): Don't match whitespace.
461 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
462 argument matching.
463 ($METHOD): Add $METHOD_TRAILER.
464 (trim): Rewrite.
465 (scan_target_h): New sub.
466 Change main loop not to collect state.
467 * target-delegates.c: Rebuild.
468
91b52240
GB
4692014-07-23 Gary Benson <gbenson@redhat.com>
470
471 * cp-support.c (gdb_demangle): Fix build on systems without
472 sigaltstack.
473
45326f6f
JK
4742014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
475
476 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
477 for reference entry value target data value.
478
e214cf6c
JK
4792014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
480
481 * stack.c (read_frame_arg): Verify value_optimized_out before calling
482 value_available_contents_eq.
483
bddbbedd
PA
4842014-07-22 Pedro Alves <palves@redhat.com>
485
486 * value.c (allocate_optimized_out_value): Don't mark value as
487 non-lazy.
488
45c71484
JW
4892014-07-22 Jiong Wang <jiong.wang@arm.com>
490
491 * MAINTAINERS (Write After Approval): Update my email address.
492
9597b22a
DE
4932014-07-20 Doug Evans <dje@google.com>
494
495 PR server/17147
496 * remote.c (putpkt_binary): Add text to error message.
497
91101fe5
YQ
4982014-07-20 Yao Qi <yao@codesourcery.com>
499
500 * eval.c: Remove "Chill" from comments.
501 * gdbtypes.h: Likewise.
502 * symtab.h: Likewise.
503
c9402c95
YQ
5042014-07-20 Yao Qi <yao@codesourcery.com>
505
506 * std-operator.def: Update comments to TERNOP_SLICE.
507
ae8fddda
YQ
5082014-07-20 Yao Qi <yao@codesourcery.com>
509
510 * std-operator.def: Remove BINOP_RANGE.
511 * breakpoint.c (watchpoint_exp_is_const): Update.
512 * expprint.c (dump_subexp_body_standard): Likewise.
513 * eval.c (init_array_element): Remove dead code.
514 (evaluate_subexp_standard): Likewise.
515
9c816640
YQ
5162014-07-20 Yao Qi <yao@codesourcery.com>
517
518 * std-operator.def: Remove BINOP_IN.
519 * breakpoint.c (watchpoint_exp_is_const): Update.
520 * eval.c (evaluate_subexp_standard): Likewise.
521 * expprint.c (dump_subexp_body_standard): Likewise.
522
164224e9
ME
5232014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
524
525 * microblaze-tdep.c (microblaze_register_names): Add
526 the rshr and rslr register names.
527 (microblaze_gdbarch_init): Use of tdesc_has_registers.
528 Use of tdesc_find_feature. Use of tdesc_data_alloc.
529 Use of tdesc_numbered_register. Use of
530 microblaze_register_g_packet_guesses. Use of
531 tdesc_use_registers. Use of set_gdbarch_register_type.
532 (microblaze_register_g_packet_guesses): New.
533 * microblaze-tdep.h (microblaze_reg_num): Add
534 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
535 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
536 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
537 * features/microblaze-core.xml: New file.
538 * features/microblaze-stack-protect.xml: New file.
539 * features/microblaze-with-stack-protect.c: New file.
540 * features/microblaze-with-stack-protect.xml: New file.
541 * features/microblaze.xml: New file.
542 * features/microblaze.c: New file.
543 * features/Makefile (microblaze-with-stack-protect): Add
544 microblaze-with-stack-protect microblaze and microblaze-expedite.
545 * regformats/microblaze-with-stack-protect.dat: New file.
546 * regformats/microblaze.dat: New file.
547 * doc/gdb.texinfo (MicroBlaze Features): Added.
548
e8b2341c
TT
5492014-07-18 Tom Tromey <tromey@redhat.com>
550
551 * exec.c (exec_ops): Now static.
552 * exec.h (exec_ops): Don't declare.
553
44e89118
TT
5542014-07-18 Tom Tromey <tromey@redhat.com>
555
556 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
557 to find_target_beneath.
558 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
559 find_target_beneath.
560 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
561
b0ed115f
TT
5622014-07-18 Tom Tromey <tromey@redhat.com>
563
564 PR gdb/17130:
565 * utils.c (quit): Use target_supports_terminal_ours.
566 * target.h (target_supports_terminal_ours): Declare.
567 * target.c (target_supports_delete_record): Don't check
568 to_delete_record against NULL.
569 (target_supports_terminal_ours): New function.
570
e75fdfca
TT
5712014-07-18 Tom Tromey <tromey@redhat.com>
572
573 PR gdb/17130:
574 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
575 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
576 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
577 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
578 * windows-nat.c (windows_xfer_partial): Always delegate.
579 * record-btrace.c (record_btrace_xfer_partial): Simplify
580 delegation.
581 (record_btrace_fetch_registers, record_btrace_store_registers)
582 (record_btrace_prepare_to_store, record_btrace_resume)
583 (record_btrace_wait, record_btrace_find_new_threads)
584 (record_btrace_thread_alive): Likewise.
585 * procfs.c (procfs_xfer_partial): Always delegate.
586 * corelow.c (core_xfer_partial): Always delegate.
587 * sol-thread.c (sol_find_new_threads): Simplify delegation.
588
83814951
TT
5892014-07-18 Tom Tromey <tromey@redhat.com>
590
591 * exec.c (exec_make_note_section): Move earlier.
592
b8b8facf
DE
5932014-07-17 Doug Evans <dje@google.com>
594
74b49205 595 PR gdb/17170
b8b8facf
DE
596 * maint.c (count_symtabs_and_blocks): Handle NULL
597 current_program_space.
598 (report_command_stats): Check global enabled flag in addition to
599 recorded enabled flag.
600 (make_command_stats_cleanup): Handle msg_type == 0, startup.
601
69ff6be5
PA
6022014-07-16 Pedro Alves <palves@redhat.com>
603
604 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
605
252db1b5
TT
6062014-07-16 Tom Tromey <tromey@redhat.com>
607
608 * target.h (struct target_ops) <to_delete_record>: Reformat
609 comment.
610
a432721e
TT
6112014-07-16 Tom Tromey <tromey@redhat.com>
612
613 * target-delegates.c: Rebuild.
614
487d9753
PL
6152014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
616
617 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
618 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
619 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
620 (avr_pointer_to_address): Likewise.
621 (avr_address_class_type_flags): New function.
622 (avr_address_class_type_flags_to_name): Likewise.
623 (avr_address_class_name_to_type_flags): Likewise.
624 (avr_gdbarch_init): Set address_class_type_flags,
625 address_class_type_flags_to_name and
626 address_class_name_to_type_flags.
627
57745c90
PA
6282014-07-15 Pedro Alves <palves@redhat.com>
629
630 * linux-nat.c (kill_callback): Save errno and work with saved
631 copy.
632
2d40be18
SM
6332014-07-15 Simon Marchi <simon.marchi@ericsson.com>
634
635 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
636
572f6555
EBM
6372014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
638
639 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
640 breakpoint support correctly.
641
cc1c52ad
PA
6422014-07-14 Pedro Alves <palves@redhat.com>
643
644 * utils.c (prompt_for_continue): Call target_terminal_ours.
645
1e973570
PA
6462014-07-14 Pedro Alves <palves@redhat.com>
647
648 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
649 catch_errors. Don't re-enable stdin or notify observers where,
650 and rethrow error.
651 (fetch_inferior_event_wrapper): Delete.
652
93d6eb10
PA
6532014-07-14 Pedro Alves <palves@redhat.com>
654
655 PR gdb/17072
656 * top.c: Include "inf-loop.h".
657 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
658 field.
659 (gdb_readline_wrapper_cleanup): Make the target async again, if it
660 was async before.
661 (gdb_readline_wrapper): Store whether the target is async, and
662 make it sync.
663
0017922d
PA
6642014-07-14 Pedro Alves <palves@redhat.com>
665
666 PR gdb/17072
667 * top.c (gdb_readline_wrapper_line): Tweak comment.
668 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
669 the input handler callback.
670
94696ad3
PA
6712014-07-14 Pedro Alves <palves@redhat.com>
672
673 PR gdb/17072
674 * main.c: Include event-top.h.
675 (handle_command_errors): New function.
676 (catch_command_errors, catch_command_errors_const): Use it.
677
9d1e69a2
PA
6782014-07-14 Pedro Alves <palves@redhat.com>
679
680 * exceptions.c (catch_command_errors, catch_command_errors_const):
681 Moved to main.c.
682 * exceptions.h (catch_command_errors_ftype)
683 (catch_command_errors_const_ftype): Moved to main.c.
684 (catch_command_errors, catch_command_errors_const): Delete
685 declarations.
686 * main.c (catch_command_errors_ftype)
687 (catch_command_errors_const_ftype): Moved here from exceptions.h.
688 (catch_command_errors, catch_command_errors_const)): Moved here
689 from exceptions.c and make static.
690
feefc97b
PA
6912014-07-14 Pedro Alves <palves@redhat.com>
692
693 * exceptions.c (print_any_exception): Delete.
694 (catch_exceptions_with_msg): Use exception_print instead of
695 print_any_exception.
696 (catch_errors): Use exception_fprintf instead of
697 print_any_exception.
698 (catch_command_errors, catch_command_errors_const): Use
699 exception_print instead of print_any_exception.
700
c933f875
PA
7012014-07-14 Pedro Alves <palves@redhat.com>
702
703 * infcall.c (run_inferior_call): Set 'sync_execution' while
704 running the inferior call.
705
feb6f816
PA
7062014-07-14 Pedro Alves <palves@redhat.com>
707
708 * value.c (value_contents_equal): Delete function.
709 * value.h (value_contents_equal): Delete declaration.
710
d98b7a16
TT
7112014-07-14 Tom Tromey <tromey@redhat.com>
712
713 PR exp/17106:
714 * gdbtypes.c (is_dynamic_type_internal): New function, from
715 is_dynamic_type.
716 (is_dynamic_type): Rewrite.
717 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
718 (resolve_dynamic_struct): Likewise.
719 (resolve_dynamic_type_internal): New function, from
720 resolve_dynamic_type.
721 (resolve_dynamic_type): Rewrite.
722
548740d6
TT
7232014-07-14 Tom Tromey <tromey@redhat.com>
724
725 * target.c (target_require_runnable): Also check record_stratum.
726 Update comment.
727
808f7ab1
YQ
7282014-07-11 Yao Qi <yao@codesourcery.com>
729
730 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
731 thumb_instruction_restores_sp return true.
732
540314bd
YQ
7332014-07-11 Yao Qi <yao@codesourcery.com>
734
735 * arm-tdep.c (thumb_instruction_restores_sp): New function.
736 (thumb_in_function_epilogue_p): Call
737 thumb_instruction_restores_sp.
738
1db01f22
YQ
7392014-07-11 Yao Qi <yao@codesourcery.com>
740
741 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
742 'add sp, #imm'.
743 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
744
3116063b
GB
7452014-07-11 Gary Benson <gbenson@redhat.com>
746
747 * amd64-linux-nat.c (gdbcore.h): Remove include.
748 (regset.h): Likewise.
749 (nat/linux-btrace.h): Likewise.
750 (btrace.h): Likewise.
751 (gdb_assert.h): Likewise.
752 (string.h): Likewise.
753 (sys/uio.h): Likewise.
754 (sys/debugreg.h): Likewise.
755 (sys/syscall.h): Likewise.
756 (sys/procfs.h): Likewise.
757 (sys/user.h): Likewise.
758 (asm/ptrace.h): Likewise.
759 (i386-nat.h): Likewise.
760 * i386-linux-nat.c (i386-nat.h): Likewise.
761 (regset.h): Likewise.
762 (target.h): Likewise.
763 (linux-nat.h): Likewise.
764 (nat/linux-btrace.h): Likewise.
765 (btrace.h): Likewise.
766 (gdb_assert.h): Likewise.
767 (string.h): Likewise.
768 (sys/uio.h): Likewise.
769 (sys/user.h): Likewise.
770 (sys/procfs.h): Likewise.
771 (sys/reg.h): Likewise.
772 (sys/debugreg.h): Likewise.
773 (ORIG_EAX): Remove definition.
774
040baaf6
GB
7752014-07-11 Gary Benson <gbenson@redhat.com>
776
777 * i386-linux-nat.h: New file.
778 * x86-linux-nat.h: Likewise.
779 * x86-linux-nat.c: Likewise.
780 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
781 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
782 * config/i386/linux64.mh (NATDEPFILES): Likewise.
783 * amd64-linux-nat.c (x86-linux-nat.h): New include.
784 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
785 (PTRACE_SETREGSET): Likewise.
786 (arch_lwp_info): Now in x86-linux-nat.c.
787 (have_ptrace_getregset): Now in x86-linux-nat.h.
788 (x86_linux_dr_get): Now in x86-linux-nat.c.
789 (x86_linux_dr_set): Likewise.
790 (x86_linux_dr_get_addr): Likewise.
791 (x86_linux_dr_get_control): Likewise.
792 (x86_linux_dr_get_status): Likewise.
793 (update_debug_registers_callback): Likewise.
794 (x86_linux_dr_set_control): Likewise.
795 (x86_linux_dr_set_addr): Likewise.
796 (x86_linux_prepare_to_resume): Likewise.
797 (x86_linux_new_thread): Likewise.
798 (x86_linux_new_fork): Likewise.
799 (x86_linux_get_thread_area): Likewise.
800 (super_post_startup_inferior): Likewise.
801 (x86_linux_child_post_startup_inferior): Likewise.
802 (AMD64_LINUX_USER64_CS): Likewise.
803 (AMD64_LINUX_X32_DS): Likewise.
804 (x86_linux_read_description): Likewise.
805 (x86_linux_enable_btrace): Likewise.
806 (x86_linux_disable_btrace): Likewise.
807 (x86_linux_teardown_btrace): Likewise.
808 (x86_linux_read_btrace): Likewise.
809 (x86_linux_create_target): Likewise.
810 (x86_linux_add_target): Likewise.
811 * i386-linux-nat.c (x86-linux-nat.h): New include.
812 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
813 (PTRACE_SETREGSET): Likewise.
814 (arch_lwp_info): Now in x86-linux-nat.c.
815 (have_ptrace_getregset): Now in x86-linux-nat.h.
816 (x86_linux_dr_get): Now in x86-linux-nat.c.
817 (x86_linux_dr_set): Likewise.
818 (x86_linux_dr_get_addr): Likewise.
819 (x86_linux_dr_get_control): Likewise.
820 (x86_linux_dr_get_status): Likewise.
821 (update_debug_registers_callback): Likewise.
822 (x86_linux_dr_set_control): Likewise.
823 (x86_linux_dr_set_addr): Likewise.
824 (x86_linux_prepare_to_resume): Likewise.
825 (x86_linux_new_thread): Likewise.
826 (x86_linux_new_fork): Likewise.
827 (x86_linux_get_thread_area): Likewise.
828 (super_post_startup_inferior): Likewise.
829 (x86_linux_child_post_startup_inferior): Likewise.
830 (AMD64_LINUX_USER64_CS): Likewise.
831 (AMD64_LINUX_X32_DS): Likewise.
832 (x86_linux_read_description): Likewise.
833 (x86_linux_enable_btrace): Likewise.
834 (x86_linux_disable_btrace): Likewise.
835 (x86_linux_teardown_btrace): Likewise.
836 (x86_linux_read_btrace): Likewise.
837 (x86_linux_create_target): Likewise.
838 (x86_linux_add_target): Likewise.
839
1aa7e42c
GB
8402014-07-11 Gary Benson <gbenson@redhat.com>
841
842 * amd64-linux-nat.c: Comment and whitespace changes.
843 * i386-linux-nat.c: Comment and whitespace changes.
844
c1e246a0
GB
8452014-07-11 Gary Benson <gbenson@redhat.com>
846
847 * amd64-linux-nat.c (x86_linux_create_target): New function.
848 (x86_linux_add_target): Likewise.
849 (_initialize_amd64_linux_nat): Delegate to the above new functions.
850 * i386-linux-nat.c (x86_linux_create_target): New function.
851 (x86_linux_add_target): Likewise.
852 (_initialize_i386_linux_nat): Delegate to the above new functions.
853
8c420b8d
GB
8542014-07-11 Gary Benson <gbenson@redhat.com>
855
856 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
857 (ps_get_thread_area): Delegate to the above in 32-bit mode.
858 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
859 (ps_get_thread_area): Delegate to the above.
860
cb1da100
GB
8612014-07-11 Gary Benson <gbenson@redhat.com>
862
863 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
864 x86_linux_read_description. All uses updated. amd64-specific
865 code conditionalized. Conditionalized i386-specific code added.
866 Redundant cast removed.
867 * i386-linux-nat.c (i386_linux_read_description): Renamed to
868 x86_linux_read_description. All uses updated. i386-specific
869 code conditionalized. Conditionalized amd64-specific code added.
870 One sizeof replaced with the actual type it is describing.
871
2acf3cd0
GB
8722014-07-11 Gary Benson <gbenson@redhat.com>
873
874 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
875 x86_linux_dr_get. All uses updated.
876 (amd64_linux_dr_set): Renamed to
877 x86_linux_dr_set. All uses updated.
878 (amd64_linux_dr_get_addr): Renamed to
879 x86_linux_dr_get_addr. All uses updated.
880 (amd64_linux_dr_get_control): Renamed to
881 x86_linux_dr_get_control. All uses updated.
882 (amd64_linux_dr_get_status): Renamed to
883 x86_linux_dr_get_status. All uses updated.
884 (amd64_linux_dr_set_control): Renamed to
885 x86_linux_dr_set_control. All uses updated.
886 (amd64_linux_dr_set_addr): Renamed to
887 x86_linux_dr_set_addr. All uses updated.
888 (amd64_linux_prepare_to_resume): Renamed to
889 x86_linux_prepare_to_resume. All uses updated.
890 (amd64_linux_new_thread): Renamed to
891 x86_linux_new_thread. All uses updated.
892 (amd64_linux_new_fork): Renamed to
893 x86_linux_new_fork. All uses updated.
894 (amd64_linux_child_post_startup_inferior): Renamed to
895 x86_linux_child_post_startup_inferior. All uses updated.
896 (amd64_linux_enable_btrace): Renamed to
897 x86_linux_enable_btrace. All uses updated.
898 (amd64_linux_disable_btrace): Renamed to
899 x86_linux_disable_btrace. All uses updated.
900 (amd64_linux_teardown_btrace): Renamed to
901 x86_linux_teardown_btrace. All uses updated.
902 (amd64_linux_read_btrace): Renamed to
903 x86_linux_read_btrace. All uses updated.
904 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
905 x86_linux_dr_get. All uses updated.
906 (i386_linux_dr_set): Renamed to
907 x86_linux_dr_set. All uses updated.
908 (i386_linux_dr_get_addr): Renamed to
909 x86_linux_dr_get_addr. All uses updated.
910 (i386_linux_dr_get_control): Renamed to
911 x86_linux_dr_get_control. All uses updated.
912 (i386_linux_dr_get_status): Renamed to
913 x86_linux_dr_get_status. All uses updated.
914 (i386_linux_dr_set_control): Renamed to
915 x86_linux_dr_set_control. All uses updated.
916 (i386_linux_dr_set_addr): Renamed to
917 x86_linux_dr_set_addr. All uses updated.
918 (i386_linux_prepare_to_resume): Renamed to
919 x86_linux_prepare_to_resume. All uses updated.
920 (i386_linux_new_thread): Renamed to
921 x86_linux_new_thread. All uses updated.
922 (i386_linux_new_fork): Renamed to
923 x86_linux_new_fork. All uses updated.
924 (i386_linux_child_post_startup_inferior): Renamed to
925 x86_linux_child_post_startup_inferior. All uses updated.
926 (i386_linux_enable_btrace): Renamed to
927 x86_linux_enable_btrace. All uses updated.
928 (i386_linux_disable_btrace): Renamed to
929 x86_linux_disable_btrace. All uses updated.
930 (i386_linux_teardown_btrace): Renamed to
931 x86_linux_teardown_btrace. All uses updated.
932 (i386_linux_read_btrace): Renamed to
933 x86_linux_read_btrace. All uses updated.
934
b9c1d481
AS
9352014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
936
937 * remote.c (extended_remote_post_attach): New function.
938 (init_extended_remote_ops): Install it as to_post_attach method.
939
7180e04a
PA
9402014-07-09 Pedro Alves <palves@redhat.com>
941
942 * infcmd.c (attach_command_post_wait): Don't call
943 target_terminal_inferior here.
944 (attach_command): Call it here instead.
945
9a9a7608
AB
9462014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
947
948 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
949 field.
950 * c-varobj.c (c_is_path_expr_parent): New function, moved core
951 from varobj.c, with additional checks.
952 (c_varobj_ops): Fill in is_path_expr_parent field.
953 (cplus_varobj_ops): Fill in is_path_expr_parent field.
954 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
955 field.
956 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
957 ops method.
958 (varobj_default_is_path_expr_parent): New function.
959 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
960 (varobj_default_is_path_expr_parent): Declare new function.
961
1f267ae3
MM
9622014-07-08 Markus Metzger <markus.t.metzger@intel.com>
963
964 * infcmd.c (finish_backward): Turn internal error into normal error.
965
b2ee242b
PA
9662014-07-07 Pedro Alves <palves@redhat.com>
967
8a869bca 968 PR gdb/17096
b2ee242b
PA
969 * remote.c (async_handle_remote_sigint)
970 (async_handle_remote_sigint_twice): Call
971 gdb_call_async_signal_handler instead of
972 mark_async_signal_handler.
973
38e229b2
TT
9742014-07-07 Tom Tromey <tromey@redhat.com>
975
976 * target-delegates.c: Rebuild.
977 * target.c (target_info_record): Remove.
978 * record.c (info_record_command): Unconditionally call
979 to_info_record.
980 * target.h (struct target_ops) <to_info_record>: Use
981 TARGET_DEFAULT_IGNORE.
982 (target_info_record): Remove.
983
f0f9ff95
TT
9842014-07-07 Tom Tromey <tromey@redhat.com>
985
986 * target.h (struct target_ops) <to_get_thread_local_address>: Use
987 TARGET_DEFAULT_NORETURN.
988 * target.c (generic_tls_error): New function.
989 (target_translate_tls_address): Don't search target stack.
990 * target-delegates.c: Rebuild.
991 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
992 stack.
993 * linux-thread-db.c (thread_db_get_thread_local_address):
994 Unconditionally call beneath target.
995
4a5be5ee
MK
9962014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
997
998 * cli/cli-logging.c (pop_output_files): Assign targerr to
999 gdb_stdtargerr.
1000
92c3b204
AB
10012014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
1002
1003 * MAINTAINERS (Write After Approval): Update my email address.
1004
9b11e3a7
GB
10052014-07-02 Gary Benson <gbenson@redhat.com>
1006
1007 * proc-service.c (ps_xfer_memory): Update comment.
1008 (ps_pstop): Remove unused function.
1009 (ps_pcontinue): Likewise.
1010 (ps_lstop): Likewise.
1011 (ps_lcontinue): Likewise.
1012 (ps_lgetxregsize): Likewise.
1013 (ps_lgetxregs): Likewise.
1014 (ps_lsetxregs): Likewise.
1015 (ps_plog): Likewise.
1016 (ps_ptread): Likewise.
1017 (ps_ptwrite): Likewise.
1018
cf363f18
MW
10192014-07-01 Mark Wielaard <mjw@redhat.com>
1020
1021 * dwarf2read.c (add_array_cv_type): New function.
1022 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
1023 (read_tag_volatile_type): Likewise.
1024
82ae6c8d
TT
10252014-07-01 Tom Tromey <tromey@redhat.com>
1026
1027 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
1028 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
1029 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
1030 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
1031 * command.h (cmd_cfunc_ftype): Move earlier.
1032 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
1033 (add_com, add_info): Use cmd_cfunc_ftype.
1034
96142726
TT
10352014-06-30 Tom Tromey <tromey@redhat.com>
1036
1037 * symtab.c (operator_chars): Make parameters and return type
1038 const.
1039 (file_matches): Make "files" const.
1040 (struct search_symbols_data) <files>: Now const.
1041 (search_symbols): Make "regexp" and "files" parameters const.
1042 Update.
1043 (symtab_symbol_info): Remove cast.
1044 (rbreak_command): Update.
1045 * symtab.h (search_symbols): Update.
1046
b67a2c6f
YQ
10472014-06-27 Yao Qi <yao@codesourcery.com>
1048
1049 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
1050 Change parameter type to 'struct thread_info *'. Caller
1051 updated.
1052 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
1053 Update declaration.
1054 * dummy-frame.c (struct dummy_frame_id): New.
1055 (dummy_frame_id_eq): New function.
1056 (struct dummy_frame) <id>: Change its type to 'struct
1057 dummy_frame_id'.
1058 (dummy_frame_push): Add parameter ptid and save it in
1059 dummy_frame_id.
1060 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
1061 inferior_ptid.
1062 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
1063 to inferior_ptid.
1064 (lookup_dummy_frame): Change parameter type to 'struct
1065 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
1066 instead of frame_id_eq.
1067 (dummy_frame_pop): Add parameter ptid. Callers updated.
1068 Update comments. Compose dummy_frame_id and pass it to
1069 lookup_dummy_frame.
1070 (dummy_frame_discard): Add parameter ptid.
1071 (dummy_frame_sniffer): Compose dummy_frame_id and call
1072 dummy_frame_id_eq instead of frame_id_eq.
1073 (fprint_dummy_frames): Print ptid.
1074 * dummy-frame.h: Remove comments.
1075 (dummy_frame_push): Add ptid in declaration.
1076 (dummy_frame_pop, dummy_frame_discard): Likewise.
1077
5b10184c
TT
10782014-06-26 Tom Tromey <tromey@redhat.com>
1079
1080 * cli/cli-cmds.c (error_no_arg): Make "why" const.
1081 * command.h (error_no_arg): Update.
1082
06900326
TT
10832014-06-26 Tom Tromey <tromey@redhat.com>
1084
1085 * cli/cli-setshow.c (do_set_command): Make "arg" const.
1086 (do_show_command): Make "arg" const.
1087 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
1088
c2bcbb1d
TT
10892014-06-26 Tom Tromey <tromey@redhat.com>
1090
1091 * record-full.c (record_full_get_bookmark): Make "args" const.
1092 (record_full_goto_bookmark): Make "raw_bookmark" const.
1093 * record.c (record_goto): New function.
1094 (cmd_record_goto): Use it. Now static.
1095 * record.h (record_goto): Declare.
1096 (cmd_record_goto): Remove declaration.
1097 * target-delegates.c: Rebuild.
1098 * target.h (struct target_ops) <to_get_bookmark,
1099 to_goto_bookmark>: Make parameter const.
1100
9cbe5fff
TT
11012014-06-26 Tom Tromey <tromey@redhat.com>
1102
1103 * defs.h (generic_load): Update.
1104 * m32r-rom.c (m32r_load_gen): Make "filename" const.
1105 * monitor.c (monitor_load): Make "args" const.
1106 * remote-m32r-sdi.c (m32r_load): Make "args" const.
1107 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
1108 const.
1109 (mips_load): Make "file" const.
1110 * remote-sim.c (gdbsim_load): Make "args" const.
1111 * remote.c (remote_load): Make "name" const.
1112 * symfile.c (generic_load): Make "args" const.
1113 * target-delegates.c: Rebuild.
1114 * target.c (target_load): Make "arg" const.
1115 (debug_to_load): Make "args" const.
1116 * target.h (struct target_ops) <to_load>: Make parameter const.
1117 (target_load): Update.
1118
34a68019
TT
11192014-06-26 Tom Tromey <tromey@redhat.com>
1120
1121 PR symtab/16902:
1122 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
1123 (dwarf2_physname, read_partial_die)
1124 (guess_partial_die_structure_name, fixup_partial_die)
1125 (guess_full_die_structure_name, anonymous_struct_prefix)
1126 (dwarf2_name): Use per-BFD obstack.
1127
efc889c1
YQ
11282014-06-26 Yao Qi <yao@codesourcery.com>
1129
1130 * dummy-frame.c (dummy_frame_sniffer): Move local variables
1131 dummyframe and this_id into inner block below.
1132
4395285e
YQ
11332014-06-26 Yao Qi <yao@codesourcery.com>
1134
1135 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
1136 with "signal_pass[0]" in the initialization of signal_pass.
1137
aef92902
MM
11382014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1139
1140 * record-btrace.c (record_btrace_generating_corefile)
1141 (record_btrace_prepare_to_generate_core)
1142 (record_btrace_done_generating_core): New.
1143 (record_btrace_xfer_partial, record_btrace_fetch_registers)
1144 (record_btrace_store_registers, record_btrace_prepare_to_store):
1145 Forward request when generating a core file.
1146 (record_btrace_open): Set record_btrace_generating_corefile to zero.
1147 (init_record_btrace_ops): Set to_prepare_to_generate_core and
1148 to_done_generating_core.
1149
5fff78c4
MM
11502014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1151
1152 * target.h (target_ops) <to_prepare_to_generate_core>
1153 <to_done_generating_core>: New.
1154 (target_prepare_to_generate_core, target_done_generating_core): New.
1155 * target.c (target_prepare_to_generate_core)
1156 (target_done_generating_core): New.
1157 * target-delegates.c: Regenerate.
1158 * gcore.c: (write_gcore_file): Rename to ...
1159 (write_gcore_file_1): ...this.
1160 (write_gcore_file): Call target_prepare_to_generate_core
1161 and target_done_generating_core.
1162
1d1f1ccb
MM
11632014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1164
1165 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
1166 * gcore.c (write_gcore_file): Free memory returned from
1167 make_corefile_notes.
1168 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
1169 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
1170
3343ef86
YQ
11712014-06-24 Yao Qi <yao@codesourcery.com>
1172
1173 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
1174 (arm_linux_init_abi): Set skip_trampoline_code with
1175 gdbarch_skip_trampoline_code instead of
1176 find_solib_trampoline_target.
1177
18d18ac8
YQ
11782014-06-24 Yao Qi <yao@codesourcery.com>
1179
1180 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
1181 arm_skip_bx_reg returns non-zero.
1182
80d8d390
YQ
11832014-06-24 Yao Qi <yao@codesourcery.com>
1184
1185 * arm-tdep.c (arm_skip_bx_reg): New function.
1186 (arm_skip_stub): Call arm_skip_bx_reg.
1187
6a18a01c
DB
11882014-06-23 Don Breazeal <donb@codesourcery.com>
1189
1190 * MAINTAINERS: Add myself as write-after-approval maintainer.
1191
8e9db26e
PA
11922014-06-23 Pedro Alves <palves@redhat.com>
1193
1194 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
1195 DR_CONTROL before setting DR0..DR3.
1196 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
1197 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
1198 bits of DR_CONTROL related to the debug register slot being
1199 disabled. If all slots are vacant, clear local slowdown as well,
1200 and assert DR_CONTROL is 0.
1201
70afc5b7
SC
12022014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1203
1204 * python/lib/gdb/command/xmethods.py
1205 (get_method_matchers_in_loci): Lookup xmethod matchers in the
1206 current progspace only if the string "progspace" matches LOCUS_RE.
1207
840ed64d
JK
12082014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1209
1210 Fix --with-system-readline with readline-6.3 patch 5.
1211 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
1212 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
1213 types.
1214
26f2dc30
TT
12152014-06-20 Tom Tromey <tromey@redhat.com>
1216
1217 * dwarf2read.c (dw2_get_real_path): Use correct type in
1218 OBSTACK_CALLOC.
1219 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
1220
125f8a3d
GB
12212014-06-20 Gary Benson <gbenson@redhat.com>
1222
1223 * common/gdb_thread_db.h: Moved to nat. All includes updated.
1224 * common/glibc_thread_db.h: Likewise.
1225 * common/i386-cpuid.h: Likewise.
1226 * common/i386-gcc-cpuid.h: Likewise.
1227 * common/linux-btrace.h: Likewise.
1228 * common/linux-osdata.h: Likewise.
1229 * common/linux-procfs.h: Likewise.
1230 * common/linux-ptrace.h: Likewise.
1231 * common/mips-linux-watch.h: Likewise.
1232 * common/linux-btrace.c: Moved to nat.
1233 * common/linux-osdata.c: Likewise.
1234 * common/linux-procfs.c: Likewise.
1235 * common/linux-ptrace.c: Likewise.
1236 * common/mips-linux-watch.c: Likewise.
1237 * nat/gdb_thread_db.h: Moved from common.
1238 * nat/glibc_thread_db.h: Likewise.
1239 * nat/i386-cpuid.h: Likewise.
1240 * nat/i386-gcc-cpuid.h: Likewise.
1241 * nat/linux-btrace.c: Likewise.
1242 * nat/linux-btrace.h: Likewise.
1243 * nat/linux-osdata.c: Likewise.
1244 * nat/linux-osdata.h: Likewise.
1245 * nat/linux-procfs.c: Likewise.
1246 * nat/linux-procfs.h: Likewise.
1247 * nat/linux-ptrace.c: Likewise.
1248 * nat/linux-ptrace.h: Likewise.
1249 * nat/mips-linux-watch.c: Likewise.
1250 * nat/mips-linux-watch.h: Likewise.
1251 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
1252 (object file files): Reordered.
1253 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
1254 of glibc_thread_db.h.
1255
42995dbd
GB
12562014-06-20 Gary Benson <gbenson@redhat.com>
1257
1258 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
1259 (i386_dr_low_type): Moved to nat/i386-dregs.h.
1260 (i386_dr_low): Likewise.
1261 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
1262 (i386_dr_low_set_addr): Likewise.
1263 (i386_dr_low_get_addr): Likewise.
1264 (i386_dr_low_can_set_control): Likewise.
1265 (i386_dr_low_set_control): Likewise.
1266 (i386_dr_low_get_control): Likewise.
1267 (i386_dr_low_get_status): Likewise.
1268 (i386_get_debug_register_length): Likewise.
1269 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
1270 (i386_dr_low): Likewise.
1271 * nat/i386-dregs.c (i386-low.h): Remove include.
1272 (i386-nat.h): Likewise.
1273 (nat/i386-dregs.h): New include.
1274 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
1275 (i386_dr_low_set_addr): Likewise.
1276 (i386_dr_low_get_addr): Likewise.
1277 (i386_dr_low_can_set_control): Likewise.
1278 (i386_dr_low_set_control): Likewise.
1279 (i386_dr_low_get_control): Likewise.
1280 (i386_dr_low_get_status): Likewise.
1281 (i386_get_debug_register_length): Likewise.
1282 (debug_hw_points): Likewise.
1283
3ed9baed
IB
12842014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1285
1286 * Makefile.in (SFILES): Add d-exp.y.
1287 (YYFILES): Add d-exp.c.
1288 (YYOBJ): Add d-exp.o.
1289 (local-maintainer-clean): Delete d-exp.c.
1290 * d-exp.y: New file.
1291 * d-lang.h (d_parse): New declaration.
1292 (d_error): New declaration.
1293 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
1294 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
1295 PREC_ORDER operators.
1296 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
1297
78c164b0
YQ
12982014-06-19 Yao Qi <yao@codesourcery.com>
1299
1300 * gdbthread.h (any_running): Remove the declaration.
1301 * thread.c (any_running): Remove.
1302
f6e29b6e
YQ
13032014-06-19 Yao Qi <yao@codesourcery.com>
1304
1305 * gdbthread.h (struct thread_info) <state>: Change its type to
1306 'enum thread_state'. Update comments.
1307
034f788c
PA
13082014-06-19 Pedro Alves <palves@redhat.com>
1309
1310 * gdbthread.h (ALL_THREADS): Delete.
1311 (ALL_NON_EXITED_THREADS): New macro.
1312 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
1313 instead of ALL_THREADS.
1314 * infrun.c (find_thread_needs_step_over)
1315 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
1316 instead of ALL_THREADS.
1317 * record-btrace.c (record_btrace_open)
1318 (record_btrace_stop_recording, record_btrace_close)
1319 (record_btrace_is_replaying, record_btrace_resume)
1320 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
1321 * remote.c (append_pending_thread_resumptions): Likewise.
1322 * thread.c (thread_apply_all_command): Likewise.
1323
46e33252
GB
13242014-06-19 Gary Benson <gbenson@redhat.com>
1325
1326 * i386-nat.c (i386_stopped_by_watchpoint):
1327 Use i386_dr_stopped_by_watchpoint.
1328 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
1329 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
1330
3a8ee006
GB
13312014-06-19 Gary Benson <gbenson@redhat.com>
1332
1333 * nat/i386-dregs.c: New file.
1334 * Makefile.in (i386-dregs.o): New rule.
1335 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
1336 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
1337 * config/i386/darwin.mh (NATDEPFILES): Likewise.
1338 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
1339 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
1340 * config/i386/go32.mh (NATDEPFILES): Likewise.
1341 * config/i386/linux.mh (NATDEPFILES): Likewise.
1342 * config/i386/linux64.mh (NATDEPFILES): Likewise.
1343 * config/i386/mingw.mh (NATDEPFILES): Likewise.
1344 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
1345 * i386-nat.h (debug_hw_points): New declaration.
1346 * i386-nat.c (breakpoint.h): Remove include.
1347 (command.h): Likewise.
1348 (target.h): Likewise.
1349 (gdb_assert.h): Likewise.
1350 (debug_hw_points): Made nonstatic.
1351 (debug_printf): Now in i386-dregs.c.
1352 (TARGET_HAS_DR_LEN_8): Likewise.
1353 (DR_CONTROL_SHIFT): Likewise.
1354 (DR_CONTROL_SIZE): Likewise.
1355 (DR_RW_EXECUTE): Likewise.
1356 (DR_RW_WRITE): Likewise.
1357 (DR_RW_READ): Likewise.
1358 (DR_RW_IORW): Likewise.
1359 (DR_LEN_1): Likewise.
1360 (DR_LEN_2): Likewise.
1361 (DR_LEN_4): Likewise.
1362 (DR_LEN_8): Likewise.
1363 (DR_LOCAL_ENABLE_SHIFT): Likewise.
1364 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
1365 (DR_ENABLE_SIZE): Likewise.
1366 (DR_LOCAL_SLOWDOWN): Likewise.
1367 (DR_GLOBAL_SLOWDOWN): Likewise.
1368 (DR_CONTROL_RESERVED): Likewise.
1369 (I386_DR_CONTROL_MASK): Likewise.
1370 (I386_DR_VACANT): Likewise.
1371 (I386_DR_LOCAL_ENABLE): Likewise.
1372 (I386_DR_GLOBAL_ENABLE): Likewise.
1373 (I386_DR_DISABLE): Likewise.
1374 (I386_DR_SET_RW_LEN): Likewise.
1375 (I386_DR_GET_RW_LEN): Likewise.
1376 (I386_DR_WATCH_HIT): Likewise.
1377 (i386_wp_op_t): Likewise.
1378 (i386_show_dr): Likewise.
1379 (i386_length_and_rw_bits): Likewise.
1380 (i386_insert_aligned_watchpoint): Likewise.
1381 (i386_remove_aligned_watchpoint): Likewise.
1382 (i386_handle_nonaligned_watchpoint): Likewise.
1383 (i386_update_inferior_debug_regs): Likewise.
1384 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
1385 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
1386 (i386_region_ok_for_watchpoint):
1387 Use i386_dr_region_ok_for_watchpoint.
1388 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
1389
322a8e06
GB
13902014-06-19 Gary Benson <gbenson@redhat.com>
1391
1392 * i386-nat.c (i386_insert_hw_breakpoint): Use
1393 i386_insert_watchpoint.
1394 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
1395
8f26655c
GB
13962014-06-19 Gary Benson <gbenson@redhat.com>
1397
1398 * i386-nat.c (i386_dr_show): Renamed to
1399 i386_show_dr and made static. All uses updated.
1400 (i386_dr_length_and_rw_bits): Renamed to
1401 i386_length_and_rw_bits and made static.
1402 All uses updated.
1403 (i386_dr_insert_aligned_watchpoint): Renamed to
1404 i386_insert_aligned_watchpoint and made static.
1405 All uses updated.
1406 (i386_dr_remove_aligned_watchpoint): Renamed to
1407 i386_remove_aligned_watchpoint and made static.
1408 All uses updated.
1409 (i386_dr_update_inferior_debug_regs): Renamed to
1410 i386_update_inferior_debug_regs and made static.
1411 All uses updated.
1412 * nat/i386-dregs.h (i386_dr_show): Removed.
1413 (i386_dr_length_and_rw_bits): Likewise.
1414 (i386_dr_insert_aligned_watchpoint): Likewise.
1415 (i386_dr_remove_aligned_watchpoint): Likewise.
1416 (i386_dr_update_inferior_debug_regs): Likewise.
1417
992c7d70
GB
14182014-06-19 Gary Benson <gbenson@redhat.com>
1419
1420 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
1421 * configure: Regenerate.
1422 * config.in: Likewise.
1423 * main.c (signal.h): New include.
1424 (setup_alternate_signal_stack): New function.
1425 (captured_main): Call the above.
1426 * cp-support.c (signal.h): New include.
1427 (catch_demangler_crashes): New flag.
1428 (SIGJMP_BUF): New define.
1429 (SIGSETJMP): Likewise.
1430 (SIGLONGJMP): Likewise.
1431 (gdb_demangle_jmp_buf): New static global.
1432 (gdb_demangle_attempt_core_dump): Likewise.
1433 (gdb_demangle_signal_handler): New function.
1434 (gdb_demangle): If catch_demangler_crashes is set, install the
1435 above signal handler before calling bfd_demangle, and restore
1436 the original signal handler afterwards. Display the offending
1437 symbol and call demangler_warning the first time a segmentation
1438 fault is caught.
1439 (_initialize_cp_support): New maint set/show command.
1440
eae7090b
GB
14412014-06-19 Gary Benson <gbenson@redhat.com>
1442
1443 * utils.h (resource_limit_kind): New enum.
1444 (can_dump_core): New declaration.
1445 (warn_cant_dump_core): Likewise.
1446 (dump_core): Likewise.
1447 * utils.c (dump_core): Made nonstatic. Added new
1448 parameter "limit_kind".
1449 (can_dump_core): Made nonstatic. Moved printing code to...
1450 (warn_cant_dump_core): New function.
1451 (can_dump_core_warn): Likewise.
1452 (internal_vproblem): Replace calls to can_dump_core with
1453 calls to can_dump_core_warn. Supply new argument to each.
1454
57fcfb1b
GB
14552014-06-19 Gary Benson <gbenson@redhat.com>
1456
1457 * utils.h (demangler_vwarning): New declaration.
1458 (demangler_warning): Likewise.
1459 * utils.c (struct internal_problem)
1460 <user_settable_should_quit>: New field.
1461 <user_settable_should_dump_core>: Likewise
1462 (internal_error_problem): Add values for above new fields.
1463 (internal_warning_problem): Likewise.
1464 (demangler_warning_problem): New static global.
1465 (demangler_vwarning): New function.
1466 (demangler_warning): Likewise.
1467 (add_internal_problem_command): Selectively add commands.
1468 (_initialize_utils): New internal problem command.
1469 * maint.c (maintenance_demangler_warning): New function.
1470 (_initialize_maint_cmds): New command.
1471
17a40b44
TT
14722014-06-18 Tom Tromey <tromey@redhat.com>
1473
1474 * f-valprint.c (info_common_command_for_block): Update.
1475 * symtab.h (struct general_symbol_info) <common_block>: Now
1476 const.
1477
346d1dfe
TT
14782014-06-18 Tom Tromey <tromey@redhat.com>
1479
1480 * symtab.h (struct symtab) <blockvector>: Now const.
1481 * ada-lang.c (ada_add_global_exceptions): Update.
1482 * buildsym.c (augment_type_symtab): Update.
1483 * dwarf2read.c (dw2_lookup_symbol): Update.
1484 * jit.c (finalize_symtab): Update.
1485 * jv-lang.c (add_class_symtab_symbol): Update.
1486 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
1487 Update.
1488 * objfiles.c (objfile_relocate1): Update.
1489 * psymtab.c (lookup_symbol_aux_psymtabs)
1490 (maintenance_check_psymtabs): Update.
1491 * python/py-symtab.c (stpy_global_block, stpy_static_block):
1492 Update.
1493 * spu-tdep.c (spu_catch_start): Update.
1494 * symmisc.c (dump_symtab_1): Update.
1495 * symtab.c (lookup_global_symbol_from_objfile)
1496 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
1497 (basic_lookup_transparent_type_quick)
1498 (basic_lookup_transparent_type, find_pc_sect_symtab)
1499 (find_pc_sect_line, search_symbols): Update.
1500 * block.c (find_block_in_blockvector): Make "bl" const.
1501 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
1502 const.
1503 (blockvector_contains_pc): Make "bv" const.
1504 (block_for_pc_sect): Update.
1505 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
1506 (blockvector_contains_pc): Update.
1507 * breakpoint.c (resolve_sal_pc): Update.
1508 * inline-frame.c (block_starting_point_at): Update.
1509
1834676b
TT
15102014-06-18 Tom Tromey <tromey@redhat.com>
1511
1512 * completer.c (complete_line): Make "line_buffer" const.
1513 * completer.h (complete_line): Update.
1514
ac1a991b
TT
15152014-06-18 Tom Tromey <tromey@redhat.com>
1516
1517 * symtab.c (add_macro_name): Remove unneeded cast.
1518
5bc98e52
TT
15192014-06-18 Tom Tromey <tromey@redhat.com>
1520
1521 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
1522 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
1523
8236def8
TT
15242014-06-18 Tom Tromey <tromey@redhat.com>
1525
1526 * probe.c (info_probes_for_ops): Make "arg" const.
1527 * probe.h (info_probes_for_ops): Update.
1528
3977b71f
TT
15292014-06-18 Tom Tromey <tromey@redhat.com>
1530
1531 * varobj.c (varobj_create): Update.
1532 * valops.c (value_of_this): Update.
1533 * tracepoint.c (add_local_symbols, scope_info): Update.
1534 * symtab.h (struct general_symbol_info) <block>: Now const.
1535 * symtab.c (skip_prologue_sal)
1536 (default_make_symbol_completion_list_break_on)
1537 (skip_prologue_using_sal): Update.
1538 * stack.h (iterate_over_block_locals)
1539 (iterate_over_block_local_vars): Update.
1540 * stack.c (print_frame_args): Update.
1541 (iterate_over_block_locals, iterate_over_block_local_vars): Make
1542 parameter const.
1543 (get_selected_block): Make return type const.
1544 * python/py-frame.c (frapy_block): Update.
1545 * python/py-block.c (gdbpy_block_for_pc): Update.
1546 * p-exp.y (%union) <bval>: Now const.
1547 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
1548 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
1549 * m2-exp.y (%union) <bval>: Now const.
1550 * linespec.c (get_current_search_block): Make return type const.
1551 (create_sals_line_offset, find_label_symbols): Update.
1552 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
1553 Update.
1554 (block_starting_point_at): Make "block" const.
1555 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
1556 (check_exception_resume): Update.
1557 * guile/scm-frame.c (gdbscm_frame_block): Update.
1558 * guile/scm-block.c (gdbscm_lookup_block): Update.
1559 * frame.h (get_frame_block): Update.
1560 (get_selected_block): Make return type const.
1561 * frame.c (frame_id_inner): Update.
1562 * f-valprint.c (info_common_command_for_block)
1563 (info_common_command): Update.
1564 * dwarf2loc.c (dwarf2_find_location_expression)
1565 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
1566 (locexpr_describe_location_piece): Update.
1567 * c-exp.y (%union) <bval>: Now const.
1568 * breakpoint.c (resolve_sal_pc): Update.
1569 * blockframe.c (get_frame_block):Make return type const.
1570 (get_pc_function_start, get_frame_function, find_pc_sect_function)
1571 (block_innermost_frame): Update.
1572 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
1573 (block_for_pc, block_for_pc_sect): Update.
1574 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
1575 'pblock' const.
1576 (block_for_pc_sect, block_for_pc): Make return type const.
1577 * ax-gdb.c (gen_expr): Update.
1578 * alpha-mdebug-tdep.c (find_proc_desc): Update.
1579 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
1580 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
1581 (ada_read_var_value): Update.
1582 * ada-exp.y (struct name_info) <block>: Now const.
1583 (%union): Likewise.
1584 (block_lookup): Constify.
1585
b9228891
GB
15862014-06-18 Gary Benson <gbenson@redhat.com>
1587
1588 * nat/i386-dregs.h: New file.
1589 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
1590 * i386-nat.h (i386-dregs.h): New include.
1591 (DR_FIRSTADDR): Now in i386-dregs.h.
1592 (DR_LASTADDR): Likewise.
1593 (DR_NADDR): Likewise.
1594 (DR_STATUS): Likewise.
1595 (DR_CONTROL): Likewise.
1596 (i386_debug_reg_state): Likewise.
1597 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
1598
a1aa2221
LM
15992014-06-18 Don Breazeal <donb@codesourcery.com>
1600
1601 * breakpoint.c (set_longjmp_breakpoint): Call
1602 momentary_breakpoint_from_master with additional argument.
1603 (set_longjmp_breakpoint_for_call_dummy): Call
1604 momentary_breakpoint_from_master with additional argument.
1605 (set_std_terminate_breakpoint): Call
1606 momentary_breakpoint_from_master with additional argument.
1607 (momentary_breakpoint_from_master): Add argument to function
1608 definition and use it to initialize structure member flag.
74228e77 1609 (clone_momentary_breakpoint): Call
a1aa2221
LM
1610 momentary_breakpoint_from_master with additional argument.
1611 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
1612 member flags set in momentary_breakpoint_from_master.
1613
4be83cc2
GB
16142014-06-18 Gary Benson <gbenson@redhat.com>
1615
1616 * i386-nat.c (i386_show_dr): Renamed to
1617 i386_dr_show and made nonstatic. All uses updated.
1618 (i386_length_and_rw_bits): Renamed to
1619 i386_dr_length_and_rw_bits and made nonstatic.
1620 All uses updated.
1621 (i386_insert_aligned_watchpoint): Renamed to
1622 i386_dr_insert_aligned_watchpoint and made nonstatic.
1623 All uses updated.
1624 (i386_remove_aligned_watchpoint): Renamed to
1625 i386_dr_remove_aligned_watchpoint and made nonstatic.
1626 All uses updated.
1627 (i386_update_inferior_debug_regs): Renamed to
1628 i386_dr_update_inferior_debug_regs and made nonstatic.
1629 All uses updated.
1630
131aa0d4
GB
16312014-06-18 Gary Benson <gbenson@redhat.com>
1632
1633 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
1634 (i386_dr_low_can_set_control): Likewise.
1635 (i386_dr_low_set_addr): Likewise.
1636 (i386_dr_low_set_control): Likewise.
1637 (i386_dr_low_get_addr): Likewise.
1638 (i386_dr_low_get_status): Likewise.
1639 (i386_dr_low_get_control): Likewise.
1640 (i386_insert_aligned_watchpoint): Use new macros.
1641 (i386_update_inferior_debug_regs): Likewise.
1642 (i386_stopped_data_address): Likewise.
1643
d9305f7f
GB
16442014-06-18 Gary Benson <gbenson@redhat.com>
1645
1646 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
1647 New parameter. All uses updated.
1648
ea008da4
GB
16492014-06-18 Gary Benson <gbenson@redhat.com>
1650
1651 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
1652 All uses updated.
1653
1b6d4134
GB
16542014-06-18 Gary Benson <gbenson@redhat.com>
1655
1656 * i386-nat.c (debug_printf): New macro.
1657 (i386_get_debug_register_length): Likewise.
1658 (TARGET_HAS_DR_LEN_8): Use above macro.
1659 (i386_show_dr): Use debug_printf instead of puts_unfiltered
1660 and printf_unfiltered. Use phex to format values.
1661
9b4550ef
GB
16622014-06-18 Gary Benson <gbenson@redhat.com>
1663
1664 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
1665 Make const.
1666
6e62758f
GB
16672014-06-18 Gary Benson <gbenson@redhat.com>
1668
1669 * i386-nat.c: Comment changes.
1670
51c79e94
GB
16712014-06-18 Gary Benson <gbenson@redhat.com>
1672
1673 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
1674
3e11889a
GB
16752014-06-18 Gary Benson <gbenson@redhat.com>
1676
1677 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
1678 (i386_insert_aligned_watchpoint): Likewise.
1679 (i386_remove_aligned_watchpoint): Likewise.
1680 (i386_handle_nonaligned_watchpoint): Likewise.
1681
fc6e2f03
GB
16822014-06-18 Gary Benson <gbenson@redhat.com>
1683
1684 * i386-nat.c: Whitespace changes.
1685
2afe7d50
SB
16862014-06-17 Samuel Bronson <naesten@gmail.com>
1687
1688 * MAINTAINERS: Update Roland McGrath's email address.
1689 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 1690 Red Hat a while ago, and giving me a current address.
2afe7d50 1691
3bca49ee
TT
16922014-06-17 Tom Tromey <tromey@redhat.com>
1693
1694 * utils.h (savestring): Remove declaration.
1695
6e366df1
TT
16962014-06-17 Tom Tromey <tromey@redhat.com>
1697
1698 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
1699
6be47f0c
KS
17002014-06-16 Keith Seitz <keiths@redhat.com>
1701
1702 PR mi/15863
1703 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
1704 to update the varobj if inferior_ptid is null_ptid.
1705
7bc112c1
TT
17062014-06-16 Tom Tromey <tromey@redhat.com>
1707
1708 * target.h (struct target_ops) <to_info_proc>: Make parameter
1709 const.
1710 (target_info_proc): Update.
1711 * target.c (target_info_proc): Make "args" const.
1712 * procfs.c (procfs_info_proc): Update.
1713 * linux-tdep.c (linux_info_proc): Update.
1714 (linux_core_info_proc_mappings): Make "args" const.
1715 (linux_core_info_proc): Update.
1716 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
1717 * gdbarch.c: Rebuild.
1718 * gdbarch.h: Rebuild.
1719 * corelow.c (core_info_proc): Update.
1720
fee354ee
TT
17212014-06-16 Tom Tromey <tromey@redhat.com>
1722
1723 * target.h (struct target_ops) <to_disconnect>: Make parameter
1724 const.
1725 (target_disconnect): Update.
1726 * target.c (target_disconnect): Make "args" const.
1727 * target-delegates.c: Rebuild.
1728 * remote.c (remote_disconnect): Update.
1729 * record.h (record_disconnect): Update.
1730 * record.c (record_disconnect): Update.
1731 * inf-child.c (inf_child_disconnect): Update.
1732
a30bf1f1
TT
17332014-06-16 Tom Tromey <tromey@redhat.com>
1734
1735 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
1736 * target.c (debug_to_rcmd, default_rcmd): Update.
1737 * target-delegates.c: Rebuild.
1738 * remote.c (remote_rcmd): Update.
1739 * monitor.c (monitor_rcmd): Update.
1740
d03de421
PA
17412014-06-16 Pedro Alves <palves@redhat.com>
1742
1743 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
1744 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
1745 have OBJF_SHARED set.
1746 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
1747 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
1748 instead of OBJF_USERLOADED.
1749 * objfiles.h (OBJF_SHARED): Update comment.
1750 (userloaded_objfile_contains_address_p): Rename to ...
1751 (shared_objfile_contains_address_p): ... this, and update
1752 comments.
1753 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
1754 new objfile.
1755 (remove_symbol_file_command): Skip objfiles that don't have
1756 OBJF_SHARED set.
1757
99f4262f
TT
17582014-06-16 Tom Tromey <tromey@redhat.com>
1759
1760 * minsyms.h (prim_record_minimal_symbol)
1761 (prim_record_minimal_symbol_and_info): Update comments.
1762
97d66cc6
EZ
17632014-06-14 Eli Zaretskii <eliz@gnu.org>
1764
1765 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
1766 or --without-guile, according to how GDB was built.
1767
635c7e8a
TT
17682014-06-13 Tom Tromey <tromey@redhat.com>
1769
1770 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
1771 to help_list.
1772 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
1773 to help_list.
1774 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
1775 help_list.
1776 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
1777 help_list.Pass all_commands, not -1, to help_list.
1778 * cli/cli-dump.c (dump_command, append_command)
1779 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
1780 (binary_dump_command, binary_append_command): Pass all_commands,
1781 not -1, to help_list.
1782 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
1783 -1, to help_list.
1784 * valprint.c (set_print, set_print_raw): Pass all_commands, not
1785 -1, to help_list.
1786 * typeprint.c (set_print_type): Pass all_commands, not -1, to
1787 help_list.
1788 * top.c (set_history): Pass all_commands, not -1, to help_list.
1789 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
1790 all_commands, not -1, to help_list.
1791 * symfile.c (overlay_command): Pass all_commands, not -1, to
1792 help_list.
1793 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
1794 help_list.
1795 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
1796 help_list.
1797 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
1798 -1, to help_list.
1799 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
1800 not -1, to help_list.
1801 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
1802 not -1, to help_list.
1803 * maint.c (maintenance_command, maintenance_info_command)
1804 (maintenance_print_command, maintenance_set_cmd): Pass
1805 all_commands, not -1, to help_list.
1806 * macrocmd.c (macro_command): Pass all_commands, not -1, to
1807 help_list.
1808 * language.c (set_check): Pass all_commands, not -1, to help_list.
1809 * infcmd.c (unset_command): Pass all_commands, not -1, to
1810 help_list.
1811 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
1812 help_list.
1813 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
1814 help_list.
1815 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
1816 help_list.
1817 * breakpoint.c (save_command): Pass all_commands, not -1, to
1818 help_list.
1819 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
1820 all_commands, not -1, to help_list.
1821
b94ade42
PL
18222014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
1823
1824 * regcache.c (struct register_to_invalidate): New structure.
1825 (do_register_invalidate, make_cleanup_regcache_invalidate): New
1826 functions.
1827 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
1828
31f628ae
YQ
18292014-06-12 Yao Qi <yao@codesourcery.com>
1830
1831 * varobj.c (varobj_get_num_children): Call
1832 varobj_is_dynamic_p.
1833 (varobj_list_children): Likewise.
1834 (varobj_update): Likewise. Update comments.
1835
cde5ef40
YQ
18362014-06-12 Yao Qi <yao@codesourcery.com>
1837
1838 * varobj.c (varobj_pretty_printed_p): Rename to ...
1839 (varobj_is_dynamic_p): ... this. New function.
1840 * varobj.h (varobj_pretty_printed_p): Remove declaration.
1841 (varobj_is_dynamic_p): Declare.
1842 * mi/mi-cmd-var.c (print_varobj): All callers updated.
1843 (mi_print_value_p, varobj_update_one): Likewise.
1844
576ea091
YQ
18452014-06-12 Pedro Alves <pedro@codesourcery.com>
1846 Yao Qi <yao@codesourcery.com>
1847
1848 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
1849 (varobj_get_iterator): Wrap up code for pretty-printer by
1850 "#if HAVE_PYTHON" and "#endif".
1851 (update_dynamic_varobj_children): Likewise.
1852
827f100c
YQ
18532014-06-12 Pedro Alves <pedro@codesourcery.com>
1854 Yao Qi <yao@codesourcery.com>
1855
1856 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
1857 gdb_python_initialized is false. Move some code from varobj.c.
1858 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
1859 * varobj.c: Move "varobj-iter.h" inclusion earlier.
1860 (struct varobj_item): Moved to varobj-iter.h".
1861 (varobj_clear_saved_item): New function.
1862 (update_dynamic_varobj_children): Move python-related code to
1863 py-varobj.c.
1864 (free_variable): Call varobj_clear_saved_item and
1865 varobj_iter_delete.
1866
e5250216
YQ
18672014-06-12 Pedro Alves <pedro@codesourcery.com>
1868 Yao Qi <yao@codesourcery.com>
1869
1870 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
1871 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
1872 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
1873 (py-varobj.o): New rule.
1874 * python/py-varobj.c: New file.
1875 * python/python-internal.h (py_varobj_get_iterator): Declare.
1876 * varobj-iter.h: New file.
1877 * varobj.c: Include "varobj-iter.h"
1878 (struct varobj) <child_iter>: Change its type from "PyObject *"
1879 to "struct varobj_iter *".
1880 <saved_item>: Likewise.
1881 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
1882 [HAVE_PYTHON] (varobj_get_iterator): New function.
1883 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
1884 python-specific code to python/py-varobj.c.
1885 (install_visualizer): Call varobj_iter_delete instead of
1886 Py_XDECREF.
1887 * varobj.h (varobj_ensure_python_env): Declare.
1888
5a2e0d6e
YQ
18892014-06-12 Yao Qi <yao@codesourcery.com>
1890
1891 * varobj.c (struct varobj_item): New structure.
1892 (create_child_with_value): Update declaration.
1893 (varobj_add_child): Replace arguments 'name' and 'value' with
1894 'item'. All callers updated.
1895 (install_dynamic_child): Likewise.
1896 (update_dynamic_varobj_children): Likewise.
1897 (varobj_add_child): Likewise.
1898 (create_child_with_value): Likewise.
1899
919b9a93
JB
19002014-06-11 Joel Brobecker <brobecker@adacore.com>
1901
1902 * NEWS: Create a new section for the next release branch.
1903 Rename the section of the current branch, now that it has
1904 been cut.
1905
71a55bdf
JB
19062014-06-11 Joel Brobecker <brobecker@adacore.com>
1907
1908 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
1909 * version.in: Bump version to 7.8.50.DATE-cvs.
1910
364fe1f7
PA
19112014-06-11 Pedro Alves <palves@redhat.com>
1912
1913 PR remote/17028
1914 * ser-mingw.c (net_windows_socket_check_pending): New function.
1915 (net_windows_select_thread): Ignore spurious wakeups. Use
1916 net_windows_socket_check_pending.
1917 (net_windows_wait_handle): Check for pending events with
1918 ioctlsocket, through net_windows_socket_check_pending, instead of
1919 checking the socket's event.
1920
5a6c7709
SC
19212014-06-10 Siva Chandra Reddy <sivachandra@google.com>
1922
1923 * python/python-internal.h (gdb_PyObject_GetAttrString)
1924 (gdb_PyObject_HasAttrString): New inline function definitions.
1925 * py-value.c (get_field_flag): Remove the now unnecessary cast to
1926 char * of the second argument to PyObject_GetAttrString.
74228e77 1927
0e58ee40
JB
19282014-06-10 Joel Brobecker <brobecker@adacore.com>
1929
1930 * serial.c (serial_write): Fix index of character to be printed
1931 in call to serial_logchar when serial debug traces are enabled.
1932
d190df30
JB
19332014-06-10 Joel Brobecker <brobecker@adacore.com>
1934
1935 * gdbtypes (resolve_dynamic_range): Add function description.
1936
b4b01d36
PA
19372014-06-09 Pedro Alves <palves@redhat.com>
1938
1939 * linux-nat.c (linux_child_follow_fork): Initialize status with
1940 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
1941 inner block. Only pass the signal to PTRACE_DETACH if in pass
1942 state.
1943
3657956b
GB
19442014-06-09 Gary Benson <gbenson@redhat.com>
1945
1946 * common/signals.c (gdb_signal_from_host): Reorder to separate
1947 the always-available ANSI-standard signals from the signals that
1948 require checking.
1949 (do_gdb_signal_to_host): Likewise.
1950 * proc-events.c (signal_table): Likewise.
1951
c077881a
HZ
19522014-06-08 Hui Zhu <hui@codesourcery.com>
1953
1954 * common/linux-ptrace.c (linux_disable_event_reporting): New
1955 function.
1956 * common/linux-ptrace.h (linux_disable_event_reporting): New
1957 declaration.
1958 * linux-nat.c (linux_child_follow_fork): Do a single step before
1959 detach.
1960
4186eb54
KS
19612014-06-07 Keith Seitz <keiths@redhat.com>
1962
1963 Revert:
1964 PR c++/16253
1965 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
1966 from symbol_matches_domain in symtab.c. All local callers
1967 of symbol_matches_domain updated.
1968 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
1969 search STRUCT_DOMAIN.
1970 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
1971 independently. standard_lookup will do that automatically.
1972 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
1973 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
1974 (cp_lookup_symbol_in_namespace): Likewise.
1975 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
1976 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
1977 may return a STRUCT_DOMAIN match.
1978 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
1979 * cp-support.c: Include language.h.
1980 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
1981 VAR_DOMAIN.
1982 * psymtab.c (match_partial_symbol): Compare the requested
1983 domain with the symbol's domain directly.
1984 (lookup_partial_symbol): Likewise.
1985 * symtab.c (lookup_symbol_in_language): Explain when/why
1986 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
1987 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
1988 appropriate languages.
1989 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
1990 and moved to ada-lang.c
1991 (lookup_block_symbol): Explain that this function only returns
1992 symbol matching the requested DOMAIN.
1993 Compare the requested domain with the symbol's domain directly.
1994 (iterate_over_symbols): Compare the requested domain with the
1995 symbol's domain directly.
1996 * symtab.h (symbol_matches_domain): Remove.
1997
25326a28 19982014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
1999
2000 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
2001 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
2002 (gdbscm_guile_version_is_at_least): Declare.
2003 (gdbscm_scm_string_to_int): Declare.
2004 * guile/guile.c (gdbscm_guile_major_version): New global.
2005 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
2006 (guile_datadir): New static global.
2007 (gdbscm_guile_data_directory): New function.
2008 (initialize_scheme_side): Update.
2009 (misc_guile_functions): Add guile-data-directory.
2010 (initialize_gdb_module): Fetch guile version number.
2011 * guile/lib/gdb.scm: Remove call to add-to-load-path.
2012 * guile/lib/gdb/init.scm (%initialize!): Ditto.
2013 * guile/lib/gdb/boot.scm: Use guile-data-directory.
2014 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
2015 comments.
2016 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
2017 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
2018 * guile/scm-value.c (gdbscm_value_to_string): Only call
2019 scm_port_conversion_strategy if Guile version >= 2.0.6.
2020
0a770bb2 20212014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
2022
2023 * main.c (print_gdb_help): Add -q and --silent.
2024
73ba372c
GB
20252014-06-06 Gary Benson <gbenson@redhat.com>
2026
2027 * common/signals.c: Remove preprocessor conditionals for
2028 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2029 SIGSEGV and SIGTERM.
2030 * proc-events.c: Likewise.
2031
c33b2f12
MM
20322014-06-06 Markus Metzger <markus.t.metzger@intel.com>
2033
2034 * symfile.c (symfile_free_objfile): Remove restriction to
2035 OBJF_USERLOADED.
2036 * symfile-mem.c (symbol_file_add_from_memory): Call
2037 add_target_sections_of_objfile.
2038
fb934770
LC
20392014-06-05 Ludovic Courtès <ludo@gnu.org>
2040
2041 * guile/scm-value.c (gdbscm_history_append_x): Use
2042 'vlscm_get_value_smob_arg_unsafe' instead of
2043 'vlscm_scm_to_value'.
2044
6ef284bd
SM
20452014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2046
2047 PR mi/15806
2048 * utils.c (printchar): Don't escape at all if quoter is NUL.
2049 Update function documentation to clarify effect of parameter
2050 QUOTER.
2051 * remote.c (escape_buffer): Pass '\\' as the quoter to
2052 fputstrn_unfiltered.
2053 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
2054 generate the output.
2055 (mi_solib_unloaded): Same.
2056
270c9937
JB
20572014-06-05 Joel Brobecker <brobecker@adacore.com>
2058
2059 * development.sh: Delete.
2060 * Makefile.in (config.status): Adjust dependency on development.sh.
2061 * configure.ac: Adjust development.sh source call.
2062 * configure: Regenerate.
2063
16f691fb
DE
20642014-06-04 Doug Evans <xdje42@gmail.com>
2065
2066 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
2067 is_scheme_bkpt, spec.
2068 (bpscm_make_breakpoint_smob): Initialize new members.
2069 (gdbscm_create_breakpoint_x): Split into two ...
2070 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
2071 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
2072 (scheme_function breakpoint_functions): Update.
2073 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
2074 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
2075 register-breakpoint!.
2076
ef7cab6b
JB
20772014-06-04 Joel Brobecker <brobecker@adacorer.com>
2078
2079 PR server/17023
2080 * mem-break.c (z_type_supported): Return zero if
2081 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
2082
012370f6
TT
20832014-06-04 Tom Tromey <tromey@redhat.com>
2084
2085 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
2086 value_from_contents_and_address_unresolved.
2087 (ada_template_to_fixed_record_type_1): Likewise.
2088 (ada_which_variant_applies): Likewise.
2089 * value.h (value_from_contents_and_address_unresolved): Declare.
2090 * value.c (value_from_contents_and_address_unresolved): New
2091 function.
2092 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
2093 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
2094 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
2095
92e2a17f
TT
20962014-06-04 Tom Tromey <tromey@redhat.com>
2097
2098 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
2099
c0939df1
TT
21002014-06-04 Tom Tromey <tromey@redhat.com>
2101
2102 * procfs.c (procfs_attach): Make "args" const.
2103 * windows-nat.c (windows_attach): Make "args" const.
2104 * nto-procfs.c (procfs_attach): Make "args" const.
2105 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
2106 * go32-nat.c (go32_attach): Make "args" const.
2107 * gnu-nat.c (gnu_attach): Make "args" const.
2108 * darwin-nat.c (darwin_attach): Make "args" const.
2109 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
2110 * linux-nat.c (linux_nat_attach): Make "args" const.
2111 * remote.c (extended_remote_attach_1, extended_remote_attach):
2112 Make "args" const.
2113 * target.h (struct target_ops) <to_attach>: Make "args" const.
2114 (find_default_attach): Likewise.
2115 * utils.c (parse_pid_to_attach): Make "args" const.
2116 * utils.h (parse_pid_to_attach): Update.
2117
8eaff7cd
TT
21182014-06-04 Tom Tromey <tromey@redhat.com>
2119
2120 * target-delegates.c: Rebuild.
2121 * target.c (default_thread_address_space): New function.
2122 (target_thread_address_space): Simplify.
2123 * target.h (struct target_ops) <to_thread_address_space>: Add
2124 TARGET_DEFAULT_FUNC.
2125
1913f160
DE
21262014-06-04 Doug Evans <xdje42@gmail.com>
2127
2128 * guile/scm-type.c (type_smob): Remove duplicate typedef.
2129
70ad5bff
MM
21302014-06-04 Markus Metzger <markus.t.metzger@intel.com>
2131
2132 * record-btrace.c: Include event-loop.h and inf-loop.h.
2133 (record_btrace_resume_exec_dir)
2134 (record_btrace_async_inferior_event_handler)
2135 (record_btrace_handle_async_inferior_event): New.
2136 (record_btrace_open): Create async event handler.
2137 (record_btrace_close): Delete async event handler.
2138 (record_btrace_resume): Set record_btrace_resume_exec_dir,
2139 Mark async event handler.
2140 (record_btrace_execution_direction): New.
2141 (init_record_btrace_ops): Initialize to_execution_direction.
2142
b6210538
DE
21432014-06-03 Doug Evans <xdje42@gmail.com>
2144
2145 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
2146 (gdbscm_make_parameter): Ditto.
2147
a5b1fd27
DE
21482014-06-03 Doug Evans <dje@google.com>
2149
2150 * exec.c (exec_close_1): Call clear_section_table instead of
2151 resize_section_table.
2152 (clear_section_table): New function.
2153 (resize_section_table): Make static. Rename arg num_added to
2154 adjustment.
2155 * exec.h (clear_section_table): Declare.
2156 (resize_section_table): Delete.
2157 * progspace.c (release_program_space): Call clear_section_table
2158 instead of resize_section_table.
2159
0c6e92a5
SC
21602014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2161
2162 * NEWS (Python Scripting): Add entry about the new xmethods
2163 feature.
2164
883964a7
SC
21652014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2166
2167 * python/py-xmethods.c: New file.
2168 * python/py-objfile.c (objfile_object): New field 'xmethods'.
2169 (objfpy_dealloc): XDECREF on the new xmethods field.
2170 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
2171 field.
2172 (objfpy_get_xmethods): New function.
2173 (objfile_getset): New entry 'xmethods'.
2174 * python/py-progspace.c (pspace_object): New field 'xmethods'.
2175 (pspy_dealloc): XDECREF on the new xmethods field.
2176 (pspy_new, pspace_to_pspace_object): Initialize xmethods
2177 field.
2178 (pspy_get_xmethods): New function.
2179 (pspace_getset): New entry 'xmethods'.
2180 * python/python-internal.h: Add declarations for new functions.
2181 * python/python.c (_initialize_python): Invoke
2182 gdbpy_initialize_xmethods.
2183 * python/lib/gdb/__init__.py (xmethods): New
2184 attribute.
2185 * python/lib/gdb/xmethod.py: New file.
2186 * python/lib/gdb/command/xmethods.py: New file.
2187
58992dc5
SC
21882014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2189
2190 * eval.c (evaluate_subexp_standard): Call the xmethod if the
2191 best match method returned by find_overload_match is an xmethod.
2192 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
2193 the best matching operator returned by find_overload_match is an
2194 xmethod.
2195 * valops.c: #include "extension.h".
2196 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
2197 Return void. The list of matching source methods is returned in
2198 "fn_list" and a vector of matching debug method workers is
2199 returned in "xm_worker_vec". Update all callers.
2200 (value_find_oload_method_list): Likewise.
2201 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
2202 non-NULL, then the index of the best matching method in this
2203 vector is returned. Update all callers.
2204 (find_overload_match): Include xmethods while performing overload
2205 resolution.
2206
e81e7f5e
SC
22072014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2208
2209 * defs.h (enum lval_type): New enumerator "lval_xcallable".
2210 * extension-priv.h (struct extension_language_ops): Add the
2211 xmethod interface.
2212 * extension.c (new_xmethod_worker, clone_xmethod_worker,
2213 get_matching_xmethod_workers, get_xmethod_argtypes,
2214 invoke_xmethod, free_xmethod_worker,
2215 free_xmethod_worker_vec): New functions.
2216 * extension.h: #include "common/vec.h".
2217 New function declarations.
2218 (struct xmethod_worker): New struct.
2219 (VEC (xmethod_worker_ptr)): New vector type.
2220 (xmethod_worker_ptr): New typedef.
2221 (xmethod_worker_vec): Likewise.
2222 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
2223 builtin_type.
2224 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
2225 (struct builtin_type): New field "xmethod".
2226 * valarith.c (value_ptradd): Assert that the value argument is not
2227 lval_xcallable.
2228 * valops.c (value_must_coerce_to_target): Return 0 for
2229 lval_xcallable values.
2230 * value.c (struct value): New field XM_WORKER in the field
2231 LOCATION.
2232 (value_address, value_raw_address): Return 0 for lval_xcallable
2233 values.
2234 (set_value_address): Assert that the value is not an
2235 lval_xcallable.
2236 (value_free): Free the associated xmethod worker when freeing
2237 lval_xcallable values.
2238 (set_value_component_location): Assert that the WHOLE value is not
2239 lval_xcallable.
2240 (value_of_xmethod, call_xmethod): New functions.
2241 * value.h: Declare "struct xmethod_worker".
2242 Declare new functions value_of_xmethod, call_xmethod.
2243
ef370185
JB
22442014-06-03 Joel Brobecker <brobecker@adacore.com>
2245 Pedro Alves <palves@redhat.com>
2246
2247 PR breakpoints/17000
2248 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
2249 New function, extracted from software_breakpoint_inserted_here_p.
2250 (software_breakpoint_inserted_here_p): Replace factored out code
2251 by call to find_non_raw_software_breakpoint_inserted_here.
2252 (bp_target_info_copy_insertion_state): New function.
2253 (bkpt_insert_location): Handle the case of a single-step
2254 breakpoint already inserted at the same address.
2255 (bkpt_remove_location): Handle the case of a single-step
2256 breakpoint still inserted at the same address.
2257 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
2258 breakpoint already inserted at the same address.
2259 (deprecated_remove_raw_breakpoint): Handle the case of a
2260 non-raw breakpoint still inserted at the same address.
2261 (find_single_step_breakpoint): New function, extracted from
2262 single_step_breakpoint_inserted_here_p.
2263 (find_single_step_breakpoint): New function,
2264 factored out from single_step_breakpoint_inserted_here_p.
2265 (single_step_breakpoint_inserted_here_p): Reimplement.
2266
1e2ccb61
BM
22672014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2268
2269 Pushed by Joel Brobecker <brobecker@adacore.com>
2270 * source.c (show_substitute_path_command): Fix display of matching
2271 substitution rules.
2272
d3448d85
GB
22732014-06-03 Gary Benson <gbenson@redhat.com>
2274
2275 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
2276
06eb1586
DE
22772014-06-02 Doug Evans <xdje42@gmail.com>
2278
2279 Add parameter support for Guile.
2280 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
2281 (SUBDIR_GUILE_SRCS): Add scm-param.c.
2282 (scm-param.o): New rule.
2283 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
2284 (gdbscm_misc_error): Declare.
2285 (gdbscm_canonicalize_command_name): Declare.
2286 (gdbscm_scm_to_host_string): Declare.
2287 (gdbscm_scm_from_host_string): Declare.
2288 (gdbscm_initialize_parameters): Declare.
2289 * guile/guile.c (initialize_gdb_module): Call
2290 gdbscm_initialize_parameters.
2291 * guile/lib/gdb.scm: Export parameter symbols.
2292 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
2293 cmdscm_canonicalize_name and made public. All callers updated.
2294 * guile/scm-exception.c (gdbscm_misc_error): New function.
2295 * guile/scm-param.c: New file.
2296 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
2297 (gdbscm_scm_to_host_string): New function.
2298 (gdbscm_scm_from_host_string): New function.
2299 * scm-utils.c (gdbscm_gc_dup_argv): New function.
2300
e698b8c4
DE
23012014-06-02 Doug Evans <xdje42@gmail.com>
2302
2303 Add command support for Guile.
2304 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
2305 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
2306 (scm-cmd.o): New rule.
2307 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
2308 (gdbscm_user_error_p): Declare.
2309 (gdbscm_parse_command_name): Declare.
2310 (gdbscm_valid_command_class_p): Declare.
2311 (gdbscm_initialize_commands): Declare.
2312 * guile/guile.c (initialize_gdb_module): Call
2313 gdbscm_initialize_commands.
2314 * guile/lib/gdb.scm: Export command symbols.
2315 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
2316 (throw-user-error): New function.
2317 * guile/scm-cmd.c: New file.
2318 * guile/scm-exception.c (user_error_symbol): New static global.
2319 (gdbscm_user_error_p): New function.
2320 (gdbscm_initialize_exceptions): Set user_error_symbol.
2321 * scm-utils.c (gdbscm_gc_xstrdup): New function.
2322
fb1f94b0
PM
23232014-06-02 Phil Muldoon <pmuldoon@redhat.com>
2324
2325 * top.c (command_loop): Handle comments here...
2326 (command_line_input): ... not here.
2327
ded03782
DE
23282014-06-02 Doug Evans <xdje42@gmail.com>
2329
2330 Add progspace support for Guile.
2331 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
2332 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
2333 (scm-progspace.o): New rule.
2334 * guile/guile-internal.h (pspace_smob): New typedef.
2335 (psscm_pspace_smob_pretty_printers): Declare.
2336 (psscm_pspace_smob_from_pspace): Declare.
2337 (psscm_scm_from_pspace): Declare.
2338 * guile/guile.c (initialize_gdb_module): Call
2339 gdbscm_initialize_pspaces.
2340 * guile/lib/gdb.scm: Export progspace symbols.
2341 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
2342 support.
2343 (append-pretty-printer!): Ditto.
2344 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
2345 Implement.
2346 * guile/scm-progspace.c: New file.
2347
397998fc
AM
23482014-06-03 Alan Modra <amodra@gmail.com>
2349
2350 * ppc64-tdep.c (ppc64_standard_linkage8): New.
2351 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
2352
6aa5f3a6
DE
23532014-06-02 Doug Evans <dje@google.com>
2354
2355 Add support for skeletonless type units.
2356 * dwarf2read.c (struct dwarf2_per_objfile): New member
2357 n_allocated_type_units.
2358 (struct dwarf2_per_objfile) <tu_stats>: New member
2359 nr_all_type_units_reallocs.
2360 (create_signatured_type_table_from_index): Initialize
2361 n_allocated_type_units
2362 (create_all_type_units): Ditto.
2363 (add_type_unit): Move up in file. New arg slot.
2364 All callers updated. Increase space for all_type_units more
2365 efficiently.
2366 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
2367 (lookup_dwo_signatured_type): Handle skeletonless TUs.
2368 (lookup_dwp_signatured_type): Ditto.
2369 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
2370 All callers updated.
2371 (build_type_psymtabs_1): Leave type_unit_groups as
2372 NULL if no TUs present.
2373 (print_tu_stats): New function.
2374 (process_skeletonless_type_unit): New function.
2375 (process_dwo_file_for_skeletonless_type_units): New
2376 function.
2377 (process_skeletonless_type_units): New function.
2378 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
2379 Call print tu_stats if debugging enabled.
2380
41fac0cf
PA
23812014-06-02 Pedro Alves <palves@redhat.com>
2382
2383 * breakpoint.c (build_target_command_list): Don't build a command
2384 list if we have any duplicate location that isn't a dprintf.
2385
cd1608cc
PA
23862014-06-02 Pedro Alves <palves@redhat.com>
2387
2388 * breakpoint.c (dprintf_breakpoint_hit): New function.
2389 (initialize_breakpoint_ops): Install it as dprintf's
2390 breakpoint_hit method.
2391
486ef3b9
JB
23922014-06-02 Joel Brobecker <brobecker@adacore.com>
2393
2394 * source.c (substitute_path_rule_matches): Simplify using
2395 filename_ncmp instead of FILENAME_CMP.
2396
230cd560
JB
23972014-06-02 Joel Brobecker <brobecker@adacore.com>
2398
2399 * source.c (substitute_path_rule_matches): Remove trailing spaces.
2400
16954d5d
LC
24012014-06-01 Ludovic Courtès <ludo@gnu.org>
2402
2403 * configure.ac: When Guile is available, check for the
2404 availability of 'scm_new_smob'.
2405 * configure, config.h.in: Regenerate.
2406 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
2407 function.
2408
53e8a631
AB
24092014-05-30 Andrew Burgess <aburgess@broadcom.com>
2410
2411 * frame.c (struct frame_info): Add stop_string field.
2412 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
2413 (get_prev_frame_always): Old content moved into
2414 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
2415 TRY_CATCH, handle MEMORY_ERROR exceptions.
2416 (frame_stop_reason_string): New function definition.
2417 * frame.h (unwind_stop_reason_to_string): Extend comment to
2418 mention frame_stop_reason_string.
2419 (frame_stop_reason_string): New function declaration.
2420 * stack.c (frame_info): Switch to frame_stop_reason_string.
2421 (backtrace_command_1): Switch to frame_stop_reason_string.
2422 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
2423 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
2424 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
2425
70e38b8e
AB
24262014-05-30 Andrew Burgess <aburgess@broadcom.com>
2427
2428 * frame.c (frame_stop_reason_string): Rename to ...
2429 (unwind_stop_reason_to_string): this.
2430 * frame.h (frame_stop_reason_string): Rename to ...
2431 (unwind_stop_reason_to_string): this.
2432 * stack.c (frame_info): Update call to frame_stop_reason_string.
2433 (backtrace_command_1): Likewise.
2434 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
2435 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
2436
938f0e2f
AB
24372014-05-30 Andrew Burgess <aburgess@broadcom.com>
2438
2439 * frame.c (remove_prev_frame): New function.
2440 (get_prev_frame_if_no_cycle): Create / discard cleanup using
2441 remove_prev_frame.
2442
a09dd441
PA
24432014-05-29 Pedro Alves <palves@redhat.com>
2444
2445 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
2446 and make it const. When a single-step decays to a continue,
2447 clear 'step', not 'hw_step'. Pass whether the caller wanted
2448 to step to user_visible_resume_ptid, not what we ask the
2449 target to do.
2450
bdc36728
PA
24512014-05-29 Pedro Alves <palves@redhat.com>
2452
2453 * infrun.c (process_event_stop_test, handle_step_into_function)
2454 (handle_step_into_function_backward): Adjust.
2455 Don't set the even thread's stop_step and call stop_waiting before
2456 calling end_stepping_range. Instead do that ...
2457 (end_stepping_range): ... here. Take an ecs pointer parameter.
2458
22bcd14b
PA
24592014-05-29 Pedro Alves <palves@redhat.com>
2460
2461 * infrun.c (stop_stepping): Rename to ...
2462 (stop_waiting): ... this.
2463 (proceed): Update comment.
2464 (process_event_stop_test, handle_inferior_event)
2465 (handle_signal_stop, handle_step_into_function)
2466 (handle_step_into_function_backward): Update.
2467
4ae57c05
PA
24682014-05-29 Pedro Alves <palves@redhat.com>
2469
2470 * infcall.c (run_inferior_call): Don't check whether the current
2471 thread is running after the proceed call.
2472
329ea579
PA
24732014-05-29 Pedro Alves <palves@redhat.com>
2474 Tom Tromey <tromey@redhat.com>
2475
2476 * NEWS: Mention "maint set target-async", "set mi-async", and that
2477 background execution commands are now always available.
2478 * target.h (target_async_permitted): Update comment.
2479 * target.c (target_async_permitted, target_async_permitted_1):
2480 Default to 1.
2481 (set_target_async_command): Rename to ...
2482 (maint_set_target_async_command): ... this.
2483 (show_target_async_command): Rename to ...
2484 (maint_show_target_async_command): ... this.
2485 (_initialize_target): Adjust.
2486 * infcmd.c (prepare_execution_command): Make extern.
2487 * inferior.h (prepare_execution_command): Declare.
2488 * infrun.c (set_observer_mode): Leave target async alone.
2489 * mi/mi-interp.c (mi_interpreter_init): Install
2490 mi_on_sync_execution_done as sync_execution_done observer.
2491 (mi_on_sync_execution_done): New function.
2492 (mi_execute_command_input_handler): Don't print the prompt if we
2493 just started a synchronous command with an async target.
2494 (mi_on_resume): Check sync_execution before printing prompt.
2495 * mi/mi-main.h (mi_async_p): Declare.
2496 * mi/mi-main.c: Include gdbcmd.h.
2497 (mi_async_p): New function.
2498 (mi_async, mi_async_1): New globals.
2499 (set_mi_async_command, show_mi_async_command, mi_async): New
2500 functions.
2501 (exec_continue): Call prepare_execution_command.
2502 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
2503 (mi_execute_async_cli_command): Use mi_async_p.
2504 (_initialize_mi_main): Install "set mi-async". Make
2505 "target-async" a deprecated alias.
2506
92bcb5f9
PA
25072014-05-29 Pedro Alves <palves@redhat.com>
2508
2509 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
2510 (_initialize_cli_interp): Adjust.
2511 * event-loop.c: Include "observer.h".
2512 (start_event_loop): Notify 'command_error' observers instead of
2513 calling display_gdb_prompt. Remove FIXME comment.
2514 * event-top.c (display_gdb_prompt): Remove call into the
2515 interpreters.
2516 * inf-loop.c: Include "observer.h".
2517 (inferior_event_handler): Notify 'command_error' observers instead
2518 of calling display_gdb_prompt.
2519 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
2520 observers instead of calling display_gdb_prompt.
2521 * interps.c (interp_set): Don't call display_gdb_prompt.
2522 (current_interp_display_prompt_p): Delete.
2523 * interps.h (interp_prompt_p): Delete declaration.
2524 (interp_prompt_p_ftype): Delete.
2525 (struct interp_procs) <prompt_proc_p>: Delete field.
2526 (current_interp_display_prompt_p): Delete declaration.
2527 * mi-interp.c (mi_interpreter_prompt_p): Delete.
2528 (_initialize_mi_interp): Adjust.
2529 * tui-interp.c (tui_init): Install 'sync_execution_done' and
2530 'command_error' observers.
2531 (tui_on_sync_execution_done, tui_on_command_error): New
2532 functions.
2533 (tui_display_prompt_p): Delete.
2534 (_initialize_tui_interp): Adjust.
2535
fd664c91
PA
25362014-05-29 Pedro Alves <palves@redhat.com>
2537
2538 PR gdb/13860
2539 * cli/cli-interp.c: Include infrun.h and observer.h.
2540 (cli_uiout, cli_interp): New globals.
2541 (cli_on_signal_received, cli_on_end_stepping_range)
2542 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
2543 functions.
2544 (cli_interpreter_init): Install them as 'end_stepping_range',
2545 'signal_received' 'signal_exited', 'exited' and 'no_history'
2546 observers.
2547 (_initialize_cli_interp): Remove cli_interp local.
2548 * infrun.c (handle_inferior_event): Call the several stop reason
2549 observers instead of printing the stop reason directly.
2550 (end_stepping_range): New function.
2551 (print_end_stepping_range_reason, print_signal_exited_reason)
2552 (print_exited_reason, print_signal_received_reason)
2553 (print_no_history_reason): Make static, and add an uiout
2554 parameter. Print to that instead of to CURRENT_UIOUT.
2555 * infrun.h (print_end_stepping_range_reason)
2556 (print_signal_exited_reason, print_exited_reason)
2557 (print_signal_received_reason print_no_history_reason): New
2558 declarations.
2559 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
2560 'mi_uiout'.
2561 <cli_uiout>: New field.
2562 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
2563 uiout for CLI output. Install 'signal_received',
2564 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
2565 observers.
2566 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
2567 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
2568 (mi_on_no_history): New functions.
2569 (ui_out_free_cleanup): Delete function.
2570 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
2571 instead use the one already stored in the MI interpreter data.
2572 (mi_ui_out): Adjust.
2573 * tui/tui-interp.c: Include infrun.h and observer.h.
2574 (tui_interp): New global.
2575 (tui_on_signal_received, tui_on_end_stepping_range)
2576 (tui_on_signal_exited, tui_on_exited)
2577 (tui_on_no_history): New functions.
2578 (tui_init): Install them as 'end_stepping_range',
2579 'signal_received' 'signal_exited', 'exited' and 'no_history'
2580 observers.
2581 (_initialize_tui_interp): Delete tui_interp local.
2582
8817a6f2
PA
25832014-05-29 Pedro Alves <palves@redhat.com>
2584
2585 PR gdb/15713
2586 * linux-nat.c (linux_nat_resume_callback): Rename the second
2587 parameter to 'except'. Skip LP if it points to EXCEPT.
2588 (linux_nat_resume): Don't mark the event lwp as not stopped
2589 before resuming sibling lwps. Instead ask
2590 linux_nat_resume_callback to skip the event lwp. Mark it as not
2591 stopped after actually resuming it.
2592 (linux_handle_syscall_trap): Mark the lwp as not stopped after
2593 resuming it.
2594 (wait_lwp): Mark the lwp as stopped here.
2595 (stop_wait_callback): Mark the lwp as not stopped right after
2596 resuming it. Don't mark lwps as stopped here.
2597 (linux_nat_filter_event): Mark the lwp as stopped earlier.
2598 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
2599
251bde03
PA
26002014-05-29 Pedro Alves <palves@redhat.com>
2601
2602 PR PR15693
2603 * infrun.c (resume): Determine how much to resume depending on
2604 whether the caller wanted a step, not whether we can hardware step
2605 the target. Mark all threads that we intend to run as running,
2606 unless we're calling an inferior function.
2607 (normal_stop): If the thread is running an infcall, don't finish
2608 thread state.
2609 * target.c (target_resume): Don't mark threads as running here.
2610
7f3c0343
JB
26112014-05-28 Joel Brobecker <brobecker@adacore.com>
2612
2613 * serial.c (_initialize_serial): Remove support for
2614 the "set remotebaud" and "show remotebaud" commands.
2615 * NEWS: Add entry documenting the removal of that command.
2616
ee34b3f9
YQ
26172014-05-28 Yao Qi <yao@codesourcery.com>
2618
2619 * charset.c: Fix typo in comments.
2620
add6c04d
GB
26212014-05-27 Gary Benson <gbenson@redhat.com>
2622
2623 * utils.c (internal_vproblem): Prompt for a bug report.
2624
92c48fc5
AW
26252014-05-26 Andy Wingo <wingo@igalia.com>
2626
2627 * guile/scm-arch.c (arscm_mark_arch_smob):
2628 * guile/scm-block.c (bkscm_mark_block_smob)
2629 (bkscm_mark_block_syms_progress_smob):
2630 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
2631 * guile/scm-exception.c (exscm_mark_exception_smob):
2632 * guile/scm-frame.c (frscm_mark_frame_smob):
2633 * guile/scm-iterator.c (itscm_mark_iterator_smob):
2634 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
2635 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
2636 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
2637 (ppscm_mark_pretty_printer_worker_smob):
2638 * guile/scm-symbol.c (syscm_mark_symbol_smob):
2639 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
2640 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
2641 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
2642 mark functions.
2643 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
2644 function.
2645
b2715b27
AW
26462014-05-26 Andy Wingo <wingo@igalia.com>
2647 Doug Evans <xdje42@gmail.com>
2648
2649 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
2650 empty_base_class. All uses updated.
2651 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
2652 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
2653 Adapt all callers.
2654 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
2655 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
2656 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
2657 (gdbscm_gsmob_has_property_p, add_property_name)
2658 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
2659 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
2660 (gdb-object-has-property?, gdb-object-properties): Remove.
2661 (gdb-object-kind): Renamed from gsmob-kind.
2662
214ab2da
AW
26632014-05-26 Andy Wingo <wingo@igalia.com>
2664
2665 * configure.ac (try_guile_versions): Allow building with guile 2.2.
2666 * configure: Regenerate.
2667
589fdceb
MM
26682014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2669
2670 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
2671
67b5c0c1
MM
26722014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2673
2674 * record-btrace.c (record_btrace_allow_memory_access): Remove.
2675 (replay_memory_access_read_only, replay_memory_access_read_write)
2676 (replay_memory_access_types, replay_memory_access)
2677 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
2678 (cmd_set_record_btrace, cmd_show_record_btrace)
2679 (cmd_show_replay_memory_access): New.
2680 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
2681 (record_btrace_remove_breakpoint): Replace
2682 record_btrace_allow_memory_access with replay_memory_access.
2683 (_initialize_record_btrace): Add commands.
2684 * NEWS: Announce it.
2685
036cd381
RR
26862014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2687
2688 * aarch64-linux-nat.c (asm/ptrace.h): Include.
2689
c77c1e42
RR
26902014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2691
2692 * MAINTAINERS (Write After Approval): Move self back from
2693 paper trail.
2694
45741a9c
PA
26952014-05-22 Pedro Alves <palves@redhat.com>
2696
2697 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
2698 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
2699 (disable_randomization, enum exec_direction_kind)
2700 (execution_direction, stop_registers, start_remote)
2701 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
2702 (wait_for_inferior, normal_stop, get_last_target_status)
2703 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
2704 (insert_step_resume_breakpoint_at_sal)
2705 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
2706 (set_step_info, print_stop_event, signal_stop_state)
2707 (signal_print_state, signal_pass_state, signal_stop_update)
2708 (signal_print_update, signal_pass_update)
2709 (update_signals_program_target, clear_exit_convenience_vars)
2710 (displaced_step_dump_bytes, update_observer_mode)
2711 (signal_catch_update, gdb_signal_from_command): Move
2712 declarations ...
2713 * infrun.h: ... to this new file.
2714 * amd64-tdep.c: Include infrun.h.
2715 * annotate.c: Include infrun.h.
2716 * arch-utils.c: Include infrun.h.
2717 * arm-linux-tdep.c: Include infrun.h.
2718 * arm-tdep.c: Include infrun.h.
2719 * break-catch-sig.c: Include infrun.h.
2720 * breakpoint.c: Include infrun.h.
2721 * common/agent.c: Include infrun.h instead of inferior.h.
2722 * corelow.c: Include infrun.h.
2723 * event-top.c: Include infrun.h.
2724 * go32-nat.c: Include infrun.h.
2725 * i386-tdep.c: Include infrun.h.
2726 * inf-loop.c: Include infrun.h.
2727 * infcall.c: Include infrun.h.
2728 * infcmd.c: Include infrun.h.
2729 * infrun.c: Include infrun.h.
2730 * linux-fork.c: Include infrun.h.
2731 * linux-nat.c: Include infrun.h.
2732 * linux-thread-db.c: Include infrun.h.
2733 * monitor.c: Include infrun.h.
2734 * nto-tdep.c: Include infrun.h.
2735 * procfs.c: Include infrun.h.
2736 * record-btrace.c: Include infrun.h.
2737 * record-full.c: Include infrun.h.
2738 * remote-m32r-sdi.c: Include infrun.h.
2739 * remote-mips.c: Include infrun.h.
2740 * remote-notif.c: Include infrun.h.
2741 * remote-sim.c: Include infrun.h.
2742 * remote.c: Include infrun.h.
2743 * reverse.c: Include infrun.h.
2744 * rs6000-tdep.c: Include infrun.h.
2745 * s390-linux-tdep.c: Include infrun.h.
2746 * solib-irix.c: Include infrun.h.
2747 * solib-osf.c: Include infrun.h.
2748 * solib-svr4.c: Include infrun.h.
2749 * target.c: Include infrun.h.
2750 * top.c: Include infrun.h.
2751 * windows-nat.c: Include infrun.h.
2752 * mi/mi-interp.c: Include infrun.h.
2753 * mi/mi-main.c: Include infrun.h.
2754 * python/py-threadevent.c: Include infrun.h.
2755
98eb56a4
PA
27562014-05-22 Pedro Alves <palves@redhat.com>
2757
2758 * infrun.c (handle_inferior_event): Store the exit code for
2759 --return-child-result here, instead of ...
2760 (print_exited_reason): ... here.
2761
17b2616c
PA
27622014-05-21 Pedro Alves <palves@redhat.com>
2763
2764 PR gdb/13860
2765 * gdbthread.h (struct thread_control_state): New field
2766 `command_interp'.
2767 * infrun.c (follow_fork): Copy the new thread control field to the
2768 child fork thread.
2769 (clear_proceed_status_thread): Clear the new thread control field.
2770 (proceed): Set the new thread control field.
2771 * interps.h (command_interp): Declare.
2772 * interps.c (command_interpreter): New global.
2773 (command_interp): New function.
2774 (interp_exec): Set `command_interpreter' while here.
2775 * cli-out.c (cli_uiout_dtor): New function.
2776 (cli_ui_out_impl): Install it.
2777 * mi/mi-interp.c: Include cli-out.h.
2778 (mi_cmd_interpreter_exec): Add comment.
2779 (restore_current_uiout_cleanup): New function.
2780 (ui_out_free_cleanup): New function.
2781 (mi_on_normal_stop): If finishing an execution command started by
2782 a CLI command, or any kind of breakpoint-like event triggered,
2783 print the stop event to the output (CLI) stream.
2784 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
2785
5166082f
PA
27862014-05-21 Pedro Alves <palves@redhat.com>
2787
2788 * cli/cli-cmds.c (list_command): Handle the first "list" after the
2789 current source line having changed.
2790 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
2791 * infrun.c (normal_stop): Adjust call to
2792 set_current_sal_from_frame.
2793 * source.c (clear_lines_listed_range): New function.
2794 (set_current_source_symtab_and_line, identify_source_line): Clear
2795 the lines listed range.
2796 (line_info): Handle the first "info line" after the current source
2797 line having changed.
2798 * stack.c (print_stack_frame): Remove center handling.
2799 (set_current_sal_from_frame): Remove 'center' parameter. Don't
2800 center sal.line.
2801
c1ee2fb3
PA
28022014-05-21 Pedro Alves <palves@redhat.com>
2803
2804 * inf-child.c (inf_child_mourn_inferior): New function.
2805 * inf-child.h (inf_child_mourn_inferior): New declaration.
2806 * darwin-nat.c (darwin_mourn_inferior): Use
2807 inf_child_mourn_inferior.
2808 * gnu-nat.c (gnu_mourn_inferior): Likewise.
2809 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
2810 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
2811 * nto-procfs.c (procfs_mourn_inferior): Likewise.
2812 * windows-nat.c (windows_mourn_inferior): Likewise.
2813
5c6d4fb2
DE
28142014-05-21 Doug Evans <xdje42@gmail.com>
2815
250748cb 2816 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 2817
4a2722c5
DE
28182014-05-21 Doug Evans <xdje42@gmail.com>
2819
17292b30 2820 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
2821 (gdbscm_out_of_range_error): Ditto.
2822 (gdbscm_memory_error): Ditto.
250748cb
DE
2823 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
2824 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
2825 (gdbscm_out_of_range_error): Update.
2826 (gdbscm_memory_error): Update.
2827 (gdbscm_scm_to_target_string_unsafe): Delete.
2828
6a3cb8e8
PA
28292014-05-21 Pedro Alves <palves@redhat.com>
2830
2831 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
2832 globals.
2833 (inf_child_open_target): New function.
2834 (inf_child_open): Use inf_child_open_target to push the target
2835 instead of erroring out.
2836 (inf_child_disconnect, inf_child_close)
2837 (inf_child_maybe_unpush_target): New functions.
2838 (inf_child_target): Install inf_child_disconnect and
2839 inf_child_close. Store a pointer to the returned object.
2840 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
2841 declarations.
2842 * target.c (auto_connect_native_target): New global.
2843 (show_default_run_target): New function.
2844 (find_default_run_target): Return NULL if automatically connecting
2845 to the native target is disabled.
2846 (_initialize_target): Install set/show auto-connect-native-target.
2847 * NEWS: Mention "set auto-connect-native-target", and "target
2848 native".
2849 * linux-nat.c (super_close): New global.
2850 (linux_nat_close): Call super_close.
2851 (linux_nat_add_target): Store a pointer to the base class's
2852 to_close method.
2853 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
2854 inf_child_maybe_unpush.
2855 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
2856 already pushed.
2857 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
2858 the inferior. Use inf_child_maybe_unpush_target.
2859 (inf_ttrace_attach): Don't push the target if it is already
2860 pushed.
2861 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
2862 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
2863 after mourning the inferior. Use inf_child_maybe_unpush_target.
2864 (darwin_attach_pid): Don't push the target if it is already
2865 pushed.
2866 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
2867 mourning the inferior. Use inf_child_maybe_unpush_target.
2868 (gnu_detach): Use inf_child_maybe_unpush_target.
2869 * go32-nat.c (go32_create_inferior): Don't push the target if it
2870 is already pushed.
2871 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
2872 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
2873 (procfs_open): Rename to ...
2874 (procfs_open_1): ... this. Add target_ops parameter. Adjust
2875 comments. Can target_preopen before changing node. Call
2876 inf_child_open_target to push the target explicitly.
2877 (procfs_attach): Don't push the target if it is already pushed.
2878 (procfs_detach): Use inf_child_maybe_unpush_target.
2879 (procfs_create_inferior): Don't push the target if it is already
2880 pushed.
2881 (nto_native_ops): New global.
2882 (procfs_open): Reimplement.
2883 (procfs_native_open): New function.
2884 (init_procfs_targets): Install procfs_native_open as to_open of
2885 "target native". Store a pointer to the "native" target in
2886 nto_native_ops.
2887 * procfs.c (procfs_attach): Don't push the target if it is already
2888 pushed.
2889 (procfs_detach): Use inf_child_maybe_unpush_target.
2890 (procfs_mourn_inferior): Only unpush the target after mourning the
2891 inferior. Use inf_child_maybe_unpush_target.
2892 (procfs_init_inferior): Don't push the target if it is already
2893 pushed.
2894 * windows-nat.c (do_initial_windows_stuff): Don't push the target
2895 if it is already pushed.
2896
930ee1b1
PA
28972014-05-21 Pedro Alves <palves@redhat.com>
2898
2899 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
2900 and "procfs" targets are now called "native" instead.
2901
1f5d1b13
PA
29022014-05-21 Pedro Alves <palves@redhat.com>
2903
2904 * go32-nat.c (go32_open): Delete.
2905 (go32_target): Don't override the to_open method.
2906
132f8e03
PA
29072014-05-21 Pedro Alves <palves@redhat.com>
2908
2909 * nto-procfs.c (procfs_can_run): New function.
2910 (nto_procfs_ops): New global.
2911 (init_procfs_targets): New, based on procfs_target. Install
2912 "target native" in addition to "target procfs".
2913 (_initialize_procfs): Call init_procfs_targets instead of adding
2914 the target here.
2915
03c136c3
PA
29162014-05-21 Pedro Alves <palves@redhat.com>
2917
2918 * windows-nat.c (windows_target): Don't override to_shortname,
2919 to_longname or to_doc.
2920
a635d0f3
PA
29212014-05-21 Pedro Alves <palves@redhat.com>
2922
2923 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
2924 to_doc.
2925
4f9b5133
PA
29262014-05-21 Pedro Alves <palves@redhat.com>
2927
2928 * darwin-nat.c (_initialize_darwin_inferior): Don't override
2929 to_shortname, to_longname or to_doc.
2930
bc85afde
PA
29312014-05-21 Pedro Alves <palves@redhat.com>
2932
2933 * go32-nat.c (go32_target): Don't override to_shortname,
2934 to_longname or to_doc.
2935
4ebfc96e
PA
29362014-05-21 Pedro Alves <palves@redhat.com>
2937
2938 * inf-child.c (inf_child_open): Remove mention of "child".
2939 (inf_child_target): Rename target to "native" instead of "child".
2940
2648dfed
AA
29412014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2942
2943 * Makefile.in (SFILES): Delete "regset.c".
2944 (COMMON_OBS): Delete "regset.o".
2945 * regset.c: Remove.
2946 * regset.h (regset_alloc): Delete prototype.
2947
b13feb94
AA
29482014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2949
2950 * sparc-linux-tdep.c (sparc32_linux_gregset)
2951 (sparc32_linux_fpregset): New static regset structures.
2952 (sparc32_linux_init_abi): Drop dynamic regset allocations.
2953 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
2954 'fpregset' fields.
2955 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
2956 (sparc64_linux_fpregset): New static regset structures.
2957 (sparc64_linux_init_abi): Drop dynamic regset allocations.
2958 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
2959 New static regset structures.
2960 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
2961 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
2962 New static regset structures.
2963 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
2964 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
2965 New static regset structures.
2966 (sparc64obsd_init_abi): Drop dynamic regset allocations.
2967 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
2968 New static regset structures.
2969 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
2970
b4fd25c9
AA
29712014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
2972
2973 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
2974 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
2975 register maps ("regmaps") from "*regset" to "*regmap". Do this
2976 for all regmap types and variables.
2977 * sparc-linux-tdep.c (sparc32_linux_step_trap)
2978 (sparc32_linux_supply_core_gregset)
2979 (sparc32_linux_collect_core_gregset)
2980 (sparc32_linux_supply_core_fpregset)
2981 (sparc32_linux_collect_core_fpregset): Likewise.
2982 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
2983 (sparc_gregmap, sparc_fpregmap): ... these.
2984 (sparc_supply_gregset, sparc_collect_gregset)
2985 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
2986 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
2987 (_initialize_sparc_nat): Rename regmaps.
2988 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
2989 (sparc_gregmap, sparc_fpregmap): ... these.
2990 (sparc_supply_gregset, sparc_collect_gregset)
2991 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
2992 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
2993 Rename macros to...
2994 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
2995 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
2996 Likewise.
2997 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
2998 Rename to...
2999 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
3000 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
3001 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
3002 regmaps.
3003 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
3004 (sparc32_bsd_fpregset): Rename to...
3005 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
3006 (sparc32_bsd_fpregmap): ... these.
3007 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
3008 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
3009 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
3010 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
3011 (struct sparc_gregmap, struct sparc_fpregmap)
3012 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
3013 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
3014 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
3015 (sparc32_supply_regset, sparc32_collect_gregset)
3016 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
3017 prototypes.
3018 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
3019 (sparc64_linux_ptrace_gregmap): ... this.
3020 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
3021 (_initialize_sparc64_linux_nat): Rename regmaps.
3022 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
3023 (sparc64_linux_core_gregmap): ... this.
3024 (sparc64_linux_supply_core_gregset)
3025 (sparc64_linux_collect_core_gregset)
3026 (sparc64_linux_supply_core_fpregset)
3027 (sparc64_linux_collect_core_fpregset): Rename regmaps.
3028 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
3029 (sparc64_sol2_fpregset): Rename to...
3030 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
3031 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
3032 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
3033 regmaps.
3034 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
3035 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
3036 (sparc64_bsd_fpregset): Rename to...
3037 (struct sparc_gregmap, sparc64_sol2_gregmap)
3038 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
3039 (sparc64_bsd_fpregmap): ... these.
3040 (sparc64_supply_gregset, sparc64_collect_gregset)
3041 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
3042 prototypes.
3043 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
3044 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
3045 (sparc64fbsd_gregmap): ... this.
3046 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
3047 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
3048 Rename regmaps.
3049 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
3050 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
3051 (sparc64nbsd_collect_fpregset): Likewise.
3052 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
3053 (sparc64nbsd_gregmap): ... this.
3054 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
3055 regmaps.
3056 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
3057 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
3058 (sparc64obsd_gregmap): ... this.
3059 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
3060 regmaps.
3061 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
3062 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
3063 (sparc32nbsd_gregmap): ... this.
3064 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
3065 regmaps.
3066
8fea3224
AA
30672014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3068
3069 * score-tdep.c (score7_linux_gregset): New static regset
3070 structure.
3071 (score7_linux_regset_from_core_section): Remove dynamic regset
3072 allocation.
3073 (score_gdbarch_init): Drop allocation of tdep structure.
3074 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
3075
24534243
AA
30762014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3077
3078 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
3079 regset structures.
3080 (am33_regset_from_core_section): Remove dynamic regset
3081 allocations.
3082
b7195f27
AA
30832014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3084
3085 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
3086 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
3087 structures.
3088 (mips_linux_regset_from_core_section): Remove dynamic regset
3089 allocations.
3090 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
3091 'gregset64', 'fpregset', and 'fpregset64'.
3092 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
3093 deleted tdep fields.
3094
ecc37a5a
AA
30952014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3096
3097 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
3098 regset structures.
3099 (amd64_regset_from_core_section): Remove dynamic regset
3100 allocations.
3101 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
3102 structure.
3103 (amd64obsd_regset_from_core_section): Remove dynamic regset
3104 allocation.
3105 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
3106 Likewise.
3107 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
3108 x86-common regset supply function.
3109 * i386-tdep.c (i386_collect_gregset): Make static.
3110 (i386_gregset): New global regset structure.
3111 (i386_fpregset, i386_xstateregset): New static regset structures.
3112 (i386_regset_from_core_section): Remove dynamic regset
3113 allocations.
3114 (i386_gdbarch_init): Remove initialization of tdep fields
3115 'gregset', 'fpregset', and 'xstateregset'.
3116 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
3117 'fpregset', and 'xstateregset'.
3118 (i386_collect_gregset): Remove prototype.
3119 (i386_gregset): New declaration.
3120 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
3121 structure.
3122 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
3123 allocation.
3124
b7611c43
AA
31252014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3126
3127 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
3128 (arm_linux_vfpregset): New static regset structures.
3129 (arm_linux_regset_from_core_section): Remove dynamic allocation of
3130 regset structures.
3131 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
3132 and 'vfpregset' fields.
3133
a069a2bd
AA
31342014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3135
3136 * aarch64-linux-tdep.c (aarch64_linux_gregset)
3137 (aarch64_linux_fpregset): New static regset structures.
3138 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
3139 of regset structures.
3140 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
3141 'fpregset' fields.
3142
09424cff
AA
31432014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3144
3145 * regset.h (struct regset): Remove gdbarch field.
3146 * regset.c (regset_alloc): Drop initialization of gdbarch field.
3147 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
3148 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
3149 Likewise.
3150 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
3151 (ppc32_linux_fpregset, ppc32_linux_vrregset)
3152 (ppc32_linux_vsxregset): Likewise.
3153 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
3154 via the regcache instead of the regset.
3155 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
3156 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
3157 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
3158 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
3159 Likewise.
3160
3ca7dae4
AA
31612014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3162
3163 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
3164 Constify structures.
3165 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
3166 (alphanbsd_aout_gregset): Likewise.
3167 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
3168 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
3169 Likewise.
3170 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
3171 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
3172 Likewise.
3173 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
3174 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
3175 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
3176 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
3177 * m88k-tdep.c (m88k_gregset): Likewise.
3178 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
3179 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
3180 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
3181 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
3182 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
3183 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
3184 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
3185 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
3186 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
3187 Likewise.
3188 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
3189 * sh-tdep.h (sh_corefile_gregset): Likewise.
3190 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
3191 * vax-tdep.c (vax_gregset): Likewise.
3192
5876f503
JK
31932014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3194
3195 Fix TLS access for -static -pthread.
3196 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
3197 (try_thread_db_load_1): Initialize it.
3198 (thread_db_get_thread_local_address): Call it if LM is zero.
3199 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
3200 * target.h (struct target_ops) (to_get_thread_local_address): Add
3201 load_module_addr comment.
3202
0256a6ac
PA
32032014-05-21 Pedro Alves <palves@redhat.com>
3204
3205 * dcache.c (dcache_read_memory_partial): If reading the cache line
3206 fails, fallback to reading just the memory the caller wanted.
3207
227533ac
DE
32082014-05-20 Doug Evans <dje@google.com>
3209
3210 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
3211 instead of get_current_arch.
3212
936d2992
PA
32132014-05-20 Pedro Alves <palves@redhat.com>
3214
3215 * NEWS: Mention that compare-sections now works with all targets.
3216
3217 * remote.c (PACKET_qCRC): New enum value.
3218 (remote_verify_memory): Don't send qCRC if the target has no
3219 execution. Use packet_support/packet_ok. If the target doesn't
3220 support the qCRC packet, fallback to a deep memory copy.
3221 (compare_sections_command): Say "target image" instead of "remote
3222 executable".
3223 (_initialize_remote): Add PACKET_qCRC to the list of config
3224 packets that have no associated command. Extend comment.
3225 * target.c (simple_verify_memory, default_verify_memory): New
3226 function.
3227 * target.h (struct target_ops) <to_verify_memory>: Default to
3228 default_verify_memory.
3229 (simple_verify_memory): New declaration.
3230 * target-delegates.c: Regenerate.
3231
e59fa00f
MM
32322014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3233
3234 * record-btrace.c (record_btrace_step_thread): Check for empty history.
3235
f2205de0
HZ
32362014-05-20 Hui Zhu <hui@codesourcery.com>
3237 Yao Qi <yao@codesourcery.com>
3238
3239 PR backtrace/16558
3240 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
3241 and change address of sp and pc.
3242
c4e54771
TT
32432014-05-19 Tom Tromey <tromey@redhat.com>
3244
3245 * gdbtypes.c (rank_function): Use XNEWVEC.
3246 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
3247
73051182
DE
32482014-05-19 Doug Evans <dje@google.com>
3249
3250 * dwarf2read.c (build_type_psymtabs_1): Renamed from
3251 build_type_unit_groups and moved closer to only caller. Remove
3252 arguments. All references updated. Remove outdated .gdb_index
3253 comment.
3254 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
3255 build_type_psymtabs_1.
3256
8832e7e3
DE
32572014-05-19 Doug Evans <dje@google.com>
3258
3259 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
3260 n_type_unit_groups, all_type_unit_groups. All uses removed.
3261 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
3262 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
3263 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
3264 (add_type_unit_group_to_table): Delete.
3265
cd8ae15e
DE
32662014-05-19 Doug Evans <dje@google.com>
3267
3268 * eval.c (evaluate_subexp_standard): Add some comments.
3269
08f4850b
DE
32702014-05-17 Doug Evans <xdje42@gmail.com>
3271
3272 * progspace.c (remove_program_space): Delete, unused.
3273 * progspace.h (remove_program_space): Ditto.
3274
bed8455c
DE
32752014-05-17 Doug Evans <xdje42@gmail.com>
3276
3277 * inferior.c (prune_inferiors): Fix comment.
3278 (remove_inferior_command): Call prune_program_spaces.
3279
8d551b02
DE
32802014-05-16 Doug Evans <dje@google.com>
3281
3282 New command line option -D.
3283 * NEWS: Mention it.
3284 * main.c (set_gdb_data_directory): New function.
3285 (captured_main): Recognize -D. Flag error for --data-directory "".
3286 Call set_gdb_data_directory.
3287 (print_gdb_help): Print --data-directory, -D.
3288 * main.h (set_gdb_data_directory): Declare.
3289 * top.c (staged_gdb_datadir): New static global.
3290 (set_gdb_datadir): Call set_gdb_data_directory
3291 (show_gdb_datadir): New function.
3292 (init_main): Update init of data-directory parameter.
3293
18848e28
GF
32942014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
3295
3296 Import the "dirfd" gnulib module.
3297 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
3298 * gnulib/aclocal.m4: Update.
3299 * gnulib/config.in: Update.
3300 * gnulib/configure: Update.
3301 * gnulib/import/Makefile.am: Update.
3302 * gnulib/import/Makefile.in: Update.
3303 * gnulib/import/dirfd.c: New.
3304 * gnulib/import/m4/dirfd.m4: New.
3305 * gnulib/import/m4/gnulib-cache.m4: Update.
3306 * gnulib/import/m4/gnulib-comp.m4: Update.
3307
95c64f92
YQ
33082014-05-16 Pierre Muller <muller@sourceware.org>
3309 Yao Qi <yao@codesourcery.com>
3310
3311 * valprint.c (print_wchar): Move the code on checking whether
3312 W is a printable wide char to the default branch of switch
3313 statement below. Call wchar_printable instead of gdb_iswprint.
3314
cac395ea
TM
33152014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
3316
19679eca 3317 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
3318 ldr.w and ldrd instructions.
3319
83655187
DE
33202014-05-15 Doug Evans <dje@google.com>
3321
3322 * dwarf2read.c (read_structure_type): Delete outdated comments.
3323
dd756689
TT
33242014-05-14 Tom Tromey <tromey@redhat.com>
3325
3326 * macrocmd.c (print_macro_definition): Reindent.
3327
75ddda77
DE
33282014-05-13 Doug Evans <xdje42@gmail.com>
3329
3330 * python/py-cmd.c (cmdpy_completer): Add comment.
3331 (completers): Make const.
3332
b0f16a3e
SM
33332014-05-13 Simon Marchi <simon.marchi@ericsson.com>
3334
3335 * infrun.c (resume): Remove should_resume (unused). Move up
3336 declaration of resume_ptid.
3337
033c3379
TT
33382014-05-13 Tom Tromey <tromey@redhat.com>
3339
3340 * language.h (unop_type_check): Remove.
3341 (binop_type_check): Don't declare.
3342
9b44a3a5
AA
33432014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
3344
3345 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
3346 call to regcache_raw_collect.
3347
303a33fa
SM
33482014-05-12 Simon Marchi <simon.marchi@ericsson.com>
3349
3350 * mi/mi-console.c (mi_console_raw_packet): Use the value from
3351 mi_console->quote as the quoting character.
3352
196100a0
SM
33532014-05-12 Simon Marchi <simon.marchi@ericsson.com>
3354
3355 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
3356
f989a1c8
TT
33572014-04-29 Tom Tromey <tromey@redhat.com>
3358
3359 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
3360 "show debug varobj".
3361
9404b58f
KM
33622014-05-07 Kyle McMartin <kyle@redhat.com>
3363
3364 Pushed by Joel Brobecker <brobecker@adacore.com>.
3365 * aarch64-tdep.c (aarch64_software_single_step): New function.
3366 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
3367 with aarch64_software_single_step.
3368
5e49ba57
JB
33692014-05-05 Joel Brobecker <brobecker@adacore.com>
3370
3371 GDB 7.7.1 released.
3372
c888a17d
KS
33732014-05-05 Keith Seitz <keiths@redhat.com>
3374
3375 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
3376 variable or history value is successfully parsed.
3377
290a839c
YQ
33782014-05-05 Yao Qi <yao@codesourcery.com>
3379 Pedro Alves <palves@redhat.com>
3380
3381 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
3382 address of blocks that intersects the requested range. Trim
3383 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
3384 sections.
3385 * ctf.c (ctf_xfer_partial): Likewise.
3386
91256dc2
YQ
33872014-05-05 Yao Qi <yao@codesourcery.com>
3388
3389 * printcmd.c (display_command): Remove the check to
3390 target_has_execution.
3391
07284463
MK
33922014-05-03 Mark Kettenis <kettenis@gnu.org>
3393
3394 * ppcobsd-nat.c: Include "obsd-nat.h".
3395 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
3396 add_target.
3397 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
3398
30a1e6cc
SDJ
33992014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3400
3401 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
3402 and 16-bit signed and unsigned arguments. Update comment.
3403 (stap_parse_probe_arguments): Extend code to handle such
3404 arguments. Use warning instead of complaint to notify about
3405 unrecognized bitness.
3406
f33da99a
SDJ
34072014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3408
3409 PR breakpoints/16889
3410 * stap-probe.c (stap_parse_probe_arguments): Simplify
3411 check for non-prefixed probes (i.e., probes whose
3412 arguments do not start with "N@"). Always set the
3413 argument type to a sane value.
3414
95cf3b38
DT
34152014-05-01 David Taylor <dtaylor@emc.com>
3416
3417 * remote.c (compare_sections_command): Add -r option to compare
3418 all loadable read-only sections.
3419
1cfdf534
SC
34202014-04-30 Siva Chandra Reddy <sivachandra@google.com>
3421
3422 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
3423 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
3424 Update all callers.
3425 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
3426 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
3427 Remove unused CORE_ADDR argument. Update all callers.
3428
ca4f7f8b
PA
34292014-04-29 Pedro Alves <palves@redhat.com>
3430
3431 * remote.c (struct packet_config) <detect>: Extend comment.
3432 (add_packet_config_cmd): Don't set the config's detect or support
3433 fields here.
3434 (init_all_packet_configs): Also initialize the config's 'detect'
3435 field.
3436 (reset_all_packet_configs_support): New function.
3437 (remote_open_1): Call reset_all_packet_configs_support instead of
3438 init_all_packet_configs.
3439 (_initialize_remote): Initialize all packet configs. Assert that
3440 all packets have an associated command, except a few known
3441 outliers.
3442
11c1ba78
JB
34432014-04-28 Joel Brobecker <brobecker@adacore.com>
3444
3445 * dwarf2read.c (read_subrange_type): Handle dynamic
3446 DW_AT_lower_bound attributes.
3447
8739bc53
JB
34482014-04-28 Joel Brobecker <brobecker@adacore.com>
3449
3450 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
3451 dynamic bounds before computing its upper bound.
3452 (ada_discrete_type_low_bound): Same as above with the lower bound.
3453
6f8a3220
JB
34542014-04-28 Joel Brobecker <brobecker@adacore.com>
3455
3456 * dwarf2read.c (is_dynamic_type): Return true for dynamic
3457 range types. Adjust the array handling implementation to
3458 take advantage of this change.
3459 (resolve_dynamic_range): New function, mostly extracted from
3460 resolve_dynamic_bounds.
3461 (resolve_dynamic_array): New function, mostly extracted from
3462 resolve_dynamic_bounds.
3463 (resolve_dynamic_bounds): Delete.
3464 (resolve_dynamic_type): Reimplement. Add handling of
3465 TYPE_CODE_RANGE types.
3466
4d072ce4
JB
34672014-04-28 Joel Brobecker <brobecker@adacore.com>
3468
3469 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
3470 handling of parallel ___XA types.
3471
52865325
JB
34722014-04-28 Joel Brobecker <brobecker@adacore.com>
3473
3474 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
3475 unnecessary second call to static_unwrap_type.
3476
433e77fa
HZ
34772014-04-27 Hui Zhu <hui@codesourcery.com>
3478
3479 * stack.c (print_frame_info): Call do_gdb_disassembly with
3480 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
3481
b51a69ee
DE
34822014-04-26 Doug Evans <xdje42@gmail.com>
3483
3484 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
3485
7ae1a6a6
PA
34862014-04-25 Pedro Alves <palves@redhat.com>
3487
3488 PR server/16255
3489 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
3490 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
3491 and newline from built string.
3492 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
3493 (linux_ptrace_attach_fail_reason): ... this.
3494 * linux-nat.c (linux_nat_attach): Adjust to use
3495 linux_ptrace_attach_fail_reason.
3496
4082afcc
PA
34972014-04-25 Pedro Alves <palves@redhat.com>
3498
3499 * remote.c (struct remote_state): Remove multi_process_aware,
3500 non_stop_aware, cond_tracepoints, cond_breakpoints,
3501 breakpoint_commands, fast_tracepoints, static_tracepoints,
3502 install_in_trace, disconnected_tracing,
3503 enable_disable_tracepoints, string_tracing, and
3504 augmented_libraries_svr4_read fields.
3505 (remote_multi_process_p): Move further below in the file.
3506 (struct packet_config): Add comments.
3507 (update_packet_config): Delete function.
3508 (show_packet_config_cmd): Use packet_config_support.
3509 (add_packet_config_cmd): Use NULL as set callback.
3510 (packet_ok): "set remote foo-packet"-style commands no longer
3511 change config->supported -- adjust.
3512 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
3513 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
3514 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
3515 (PACKET_QNonStop, PACKET_multiprocess_feature)
3516 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
3517 (PACKET_DisconnectedTracing_feature)
3518 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
3519 (set_remote_protocol_packet_cmd): Delete function.
3520 (packet_config_support, packet_support): New functions.
3521 (set_remote_protocol_Z_packet_cmd): Don't call
3522 update_packet_config.
3523 (remote_query_attached, remote_pass_signals)
3524 (remote_program_signals, remote_threads_info)
3525 (remote_threads_extra_info, remote_start_remote): Use
3526 packet_support.
3527 (remote_start_remote): Use packet_config_support and
3528 packet_support.
3529 (init_all_packet_configs): Set all packets to unknown support,
3530 instead of calling update_packet_config.
3531 (remote_check_symbols): Use packet_support.
3532 (remote_supported_packet): Unconditionally set the packet config's
3533 support status.
3534 (remote_multi_process_feature, remote_non_stop_feature)
3535 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
3536 (remote_breakpoint_commands_feature)
3537 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
3538 (remote_install_in_trace_feature)
3539 (remote_disconnected_tracing_feature)
3540 (remote_enable_disable_tracepoint_feature)
3541 (remote_string_tracing_feature)
3542 (remote_augmented_libraries_svr4_read_feature): Delete functions.
3543 (remote_protocol_features): Adjust to use remote_supported_packet
3544 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
3545 "ConditionalTracepoints", "ConditionalBreakpoints",
3546 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
3547 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
3548 "EnableDisableTracepoints", and "tracenz".
3549 (remote_query_supported): Use packet_support.
3550 (remote_open_1): Adjust.
3551 (extended_remote_attach_1): Use packet_support. Switch on the
3552 result of packet_ok instead of checking whether the packet ended
3553 up disabled.
3554 (remote_vcont_resume): Use packet_support.
3555 (remote_resume, remote_stop_ns, fetch_register_using_p)
3556 (remote_prepare_to_store, store_register_using_P)
3557 (check_binary_download, remote_write_bytes): Use packet_support.
3558 (remote_vkill): Use packet_support. Switch on the result of
3559 packet_ok instead of checking whether the packet ended up
3560 disabled.
3561 (extended_remote_supports_disable_randomization): Use
3562 packet_support.
3563 (extended_remote_run): Switch on the result of packet_ok instead
3564 of checking whether the packet ended up disabled.
3565 (remote_insert_breakpoint, remote_remove_breakpoint)
3566 (remote_insert_watchpoint, remote_remove_watchpoint)
3567 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
3568 packet_support.
3569 (remote_search_memory): Use packet_config_support.
3570 (remote_get_thread_local_address, remote_get_tib_address)
3571 (remote_hostio_send_command, remote_can_execute_reverse): Use
3572 packet_support.
3573 (remote_supports_cond_tracepoints)
3574 (remote_supports_cond_breakpoints)
3575 (remote_supports_fast_tracepoints)
3576 (remote_supports_static_tracepoints)
3577 (remote_supports_install_in_trace)
3578 (remote_supports_enable_disable_tracepoint)
3579 (remote_supports_string_tracing)
3580 (remote_can_run_breakpoint_commands): Rewrite, checking whether
3581 the packet config says the feature is enabled or disabled.
3582 (remote_download_tracepoint, remote_trace_set_readonly_regions)
3583 (remote_get_trace_status): Use packet_support.
3584 (remote_set_disconnected_tracing): Adjust to check whether the
3585 feature is enabled with packet_support.
3586 (remote_set_trace_buffer_size, remote_use_agent)
3587 (remote_can_use_agent, remote_supports_btrace): Use
3588 packet_support.
3589 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
3590 Use packet_config_support.
3591 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
3592 the packet config says the feature is enabled or disabled.
3593 (set_range_stepping): Use packet_support.
3594
bdb52a22
TT
35952014-04-25 Tom Tromey <tromey@redhat.com>
3596
3597 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
3598 argument.
3599
e9475ead
SA
36002014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
3601
3602 * NEWS: Mention support for C99 variable length arrays.
3603
82eacd52
JB
36042014-04-24 Joel Brobecker <brobecker@adacore.com>
3605
3606 * ada-lang.c (standard_exc): Expand introductory comment.
3607
01f9f808
MS
36082014-04-24 Michael Sturm <michael.sturm@mintel.com>
3609 Walfred Tedeschi <walfred.tedeschi@intel.com>
3610
3611 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
3612 AVX512 registers.
3613 (amd64_linux_read_description): Add code to handle AVX512 xstate
3614 mask and return respective tdesc.
3615 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
3616 and features/i386/x32-avx512-linux.c.
3617 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
3618 (amd64_linux_core_read_description): Add code to handle AVX512
3619 xstate mask and return respective tdesc.
3620 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
3621 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
3622 calculation.
3623 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
3624 (tdesc_amd64_avx512_linux): New prototype.
3625 (tdesc_x32_avx512_linux): Likewise.
3626 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
3627 features/i386/x32-avx512.c.
3628 (amd64_ymm_avx512_names): New register names for pseudo
3629 registers YMM16-31.
3630 (amd64_ymmh_avx512_names): New register names for raw registers
3631 YMMH16-31.
3632 (amd64_k_names): New register names for K registers.
3633 (amd64_zmmh_names): New register names for ZMM raw registers.
3634 (amd64_zmm_names): New registers names for ZMM pseudo registers.
3635 (amd64_xmm_avx512_names): New register names for XMM16-31
3636 registers.
3637 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
3638 registers.
3639 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
3640 if feature is present.
3641 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
3642 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
3643 (AMD64_NUM_REGS): Adjust to new number of registers.
3644 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
3645 registers supplied via XSTATE by AVX512 registers.
3646 (i386_linux_read_description): Add case for AVX512.
3647 * i386-linux-tdep.c: Include i386-avx512-linux.c.
3648 (i386_linux_gregset_reg_offset): Add AVX512 registers.
3649 (i386_linux_core_read_description): Add case for AVX512.
3650 (i386_linux_init_abi): Install supported register note section
3651 for AVX512.
3652 (_initialize_i386_linux_tdep): Add call to tdesc init function for
3653 AVX512.
3654 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
3655 registers to be number of zmm7h + 1.
3656 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
3657 * i386-tdep.c: Include features/i386/i386-avx512.c.
3658 (i386_zmm_names): Add ZMM pseudo register names array.
3659 (i386_zmmh_names): Add ZMM raw register names array.
3660 (i386_k_names): Add K raw register names array.
3661 (num_lower_zmm_regs): Add constant for the number of lower ZMM
3662 registers. AVX512 has 16 more ZMM registers than there are YMM
3663 registers.
3664 (i386_zmmh_regnum_p): Add function to look up register number of
3665 ZMM raw registers.
3666 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
3667 (i386_k_regnum_p): Likewise for K raw registers.
3668 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
3669 registers added by AVX512.
3670 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
3671 registers added by AVX512.
3672 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
3673 added by AVX512.
3674 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
3675 (i386_pseudo_register_name): Add ZMM pseudo registers.
3676 (i386_zmm_type): Construct and return vector registers type for ZMM
3677 registers.
3678 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
3679 ZMM0-31 pseudo registers and K registers.
3680 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
3681 and YMM16-31 registers from register cache.
3682 (i386_pseudo_register_write): Add code to write K, ZMM and
3683 YMM16-31 registers.
3684 (i386_register_reggroup_p): Add code to include/exclude AVX512
3685 registers in/from respective register groups.
3686 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
3687 registers if feature is present in xcr0.
3688 (i386_gdbarch_init): Add code to initialize AVX512 feature
3689 variables in tdep structure, wire in pseudo registers and call
3690 initialize_tdesc_i386_avx512.
3691 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
3692 variables.
3693 (i386_regnum): Add AVX512 registers.
3694 (I386_SSE_NUM_REGS): New define for number of SSE registers.
3695 (I386_AVX_NUM_REGS): Likewise for AVX registers.
3696 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
3697 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
3698 512 bits wide.
3699 (i386_xmm_avx512_regnum_p): New prototype for register look up.
3700 (i386_ymm_avx512_regnum_p): Likewise.
3701 (i386_k_regnum_p): Likewise.
3702 (i386_zmm_regnum_p): Likewise.
3703 (i386_zmmh_regnum_p): Likewise.
3704 * i387-tdep.c : Update year in copyright notice.
3705 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
3706 XSAVE buffer.
3707 (XSAVE_YMM_AVX512_ADDR): New macro.
3708 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
3709 XSAVE buffer.
3710 (XSAVE_XMM_AVX512_ADDR): New macro.
3711 (xsave_avx512_k_offset): New table for K register offsets in
3712 XSAVE buffer.
3713 (XSAVE_AVX512_K_ADDR): New macro.
3714 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
3715 in XSAVE buffer.
3716 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
3717 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
3718 buffer.
3719 (i387_collect_xsave): Add code to collect AVX512 registers from
3720 XSAVE buffer.
3721 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
3722 of XMM16-31 registers.
3723 (I387_NUM_K_REGS): New define for number of K registers.
3724 (I387_K0_REGNUM): New define for K0 register number.
3725 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
3726 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
3727 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
3728 registers.
3729 (I387_YMM16H_REGNUM): New define for YMM16H register number.
3730 (I387_XMM16_REGNUM): New define for XMM16 register number.
3731 (I387_YMM0_REGNUM): New define for YMM0 register number.
3732 (I387_KEND_REGNUM): New define for last K register number.
3733 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
3734 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
3735 number.
3736 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
3737 number.
3738 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
3739 size.
3740 * features/Makefile: Add AVX512 related files.
3741 * features/i386/32bit-avx512.xml: New file.
3742 * features/i386/64bit-avx512.xml: Likewise.
3743 * features/i386/amd64-avx512-linux.c: Likewise.
3744 * features/i386/amd64-avx512-linux.xml: Likewise.
3745 * features/i386/amd64-avx512.c: Likewise.
3746 * features/i386/amd64-avx512.xml: Likewise.
3747 * features/i386/i386-avx512-linux.c: Likewise.
3748 * features/i386/i386-avx512-linux.xml: Likewise.
3749 * features/i386/i386-avx512.c: Likewise.
3750 * features/i386/i386-avx512.xml: Likewise.
3751 * features/i386/x32-avx512-linux.c: Likewise.
3752 * features/i386/x32-avx512-linux.xml: Likewise.
3753 * features/i386/x32-avx512.c: Likewise.
3754 * features/i386/x32-avx512.xml: Likewise.
3755 * regformats/i386/amd64-avx512-linux.dat: New file.
3756 * regformats/i386/amd64-avx512.dat: Likewise.
3757 * regformats/i386/i386-avx512-linux.dat: Likewise.
3758 * regformats/i386/i386-avx512.dat: Likewise.
3759 * regformats/i386/x32-avx512-linux.dat: Likewise.
3760 * regformats/i386/x32-avx512.dat: Likewise.
3761 * NEWS: Add note about new support for AVX512.
3762
3763
08351840
PA
37642014-04-23 Pedro Alves <palves@redhat.com>
3765
3766 * breakpoint.c (insert_bp_location): Tolerate errors if the
3767 breakpoint is set in a user-loaded objfile.
3768 (remove_breakpoint_1): Likewise. Also tolerate errors if the
3769 location is marked shlib_disabled. If the breakpoint is set in a
3770 user-loaded objfile is a GDB-side memory breakpoint, validate it
3771 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
3772 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
3773 flag.
3774 * mem-break.c (memory_validate_breakpoint): New function.
3775 * objfiles.c (userloaded_objfile_contains_address_p): New
3776 function.
3777 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
3778 * target.h (memory_validate_breakpoint): New declaration.
3779
076855f9
PA
37802014-04-23 Pedro Alves <palves@redhat.com>
3781
3782 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
3783 the breakpoint is set in a shared library, only suppress
3784 errors for software breakpoints, not hardware breakpoints.
3785
483805cf
PA
37862014-04-22 Pedro Alves <palves@redhat.com>
3787
3788 * infrun.c (schedlock_applies): New function, factored out from
3789 find_thread_needs_step_over.
3790 (find_thread_needs_step_over): Use it.
3791 (switch_back_to_stepped_thread): Always clear trap_expected if the
3792 step over is finished. Return early if scheduler locking applies.
3793 Look for the stepping thread and a potential step-over thread with
3794 a single loop.
3795 (currently_stepping_or_nexting_callback): Delete.
3796
a75fef0e
NC
37972014-04-22 Nick Clifton <nickc@redhat.com>
3798
3799 * NEWS: Mention that ARM sim now supports tracing.
3800
48b6e87e
YQ
38012014-04-22 Yao Qi <yao@codesourcery.com>
3802
3803 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
3804 to ...
3805 * tracefile.c (tracefile_fetch_registers): ... it. New
3806 function.
3807 * tracefile.h (tracefile_fetch_registers): Declare.
3808 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
3809 tracefile_fetch_registers.
3810
17617f2d
EZ
38112014-04-19 Eli Zaretskii <eliz@gnu.org>
3812
3813 PR gdb/14018
3814 * windows-nat.c (thread_rec): Don't display a warning when
3815 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
3816 fails for any reason, set th->suspended to -1, so that we don't
3817 try to resume such a thread. Also, don't return NULL in these
3818 cases, to avoid completely ruin the session due to "PC register is
3819 not available" error.
3820 (do_windows_fetch_inferior_registers): Check errors in
3821 GetThreadContext call.
3822 (windows_continue): Accept an additional argument KILLED; if not
3823 zero, ignore errors in the SetThreadContext call, since the
3824 inferior was killed and is shutting down.
3825 (windows_resume, get_windows_debug_event)
3826 (windows_create_inferior, windows_mourn_inferior)
3827 (windows_kill_inferior): All callers of windows_continue changed
3828 to adjust to its new calling sequence.
3829
5723a6fd
YQ
38302014-04-19 Yao Qi <yao@codesourcery.com>
3831
3832 * ctf.c (ctf_open): Call post_create_inferior.
3833
614d5099
YQ
38342014-04-19 Yao Qi <yao@codesourcery.com>
3835
3836 * ctf.c (handle_id): New static variable.
3837 (ctf_open_dir): Get handle_id from bt_context_add_trace return
3838 value. Get the declaration of event "register" and get length
3839 of field "contents".
3840
dac3e710
YQ
38412014-04-19 Yao Qi <yao@codesourcery.com>
3842
3843 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
3844
2bca57ba
SC
38452014-04-18 Siva Chandra Reddy <sivachandra@google.com>
3846
3847 * valops.c (oload_method_static): Remove unnecessary argument
3848 METHOD. Update all callers.
3849
51d48146
PA
38502014-04-18 Pedro alves <palves@redhat.com>
3851 Tom Tromey <tromey@redhat.com>
3852
3853 PR backtrace/15558
3854 * frame.c (get_prev_frame_1): Rename to ...
3855 (get_prev_frame_always): ... this, and make extern. Adjust.
3856 (skip_artificial_frames): Use get_prev_frame_always.
3857 (frame_unwind_caller_id, frame_pop, get_prev_frame)
3858 (get_frame_unwind_stop_reason): Adjust to rename.
3859 * frame.h (get_prev_frame_always): Declare.
3860 * inline-frame.c: Include frame.h.
3861 (inline_frame_this_id): Use get_prev_frame_always.
3862
1bdad2e0
TG
38632014-04-18 Tristan Gingold <gingold@adacore.com>
3864
3865 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
3866 code by using bfd_mach_o_get_base_address.
3867
7ce16bd4
UW
38682014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
3869
3870 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
3871 (spu_ax_pseudo_register_collect): New function.
3872 (spu_ax_pseudo_register_push_stack): Likewise.
3873 (spu_dwarf_reg_to_regnum): Likewise.
3874 (spu_gdbarch_init): Install them. Append DWARF unwinders.
3875
2ed3c037
UW
38762014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
3877
3878 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
3879 Replace FRAME argument with FRAME_ID.
3880 * gdbarch.c, gdbarch.h: Regenerate.
3881 * findvar.c (default_value_from_register): Add GDBARCH argument;
3882 replace FRAME by FRAME_ID. No longer call get_frame_id.
3883 (value_from_register): Update call to gdbarch_value_from_register.
3884 * value.h (default_value_from_register): Update prototype.
3885 * s390-linux-tdep.c (s390_value_from_register): Update interface
3886 and call to default_value_from_register.
3887 * spu-tdep.c (spu_value_from_register): Likewise.
3888
3889 * findvar.c (address_from_register): Remove TYPE argument.
3890 Do not call value_from_register; use gdbarch_value_from_register
3891 with null_frame_id instead.
3892 * value.h (address_from_register): Update prototype.
3893 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
3894 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
3895 address_from_register interface change.
3896
71e50e83
YQ
38972014-04-17 Yao Qi <yao@codesourcery.com>
3898
3899 * gdbtypes.h: Update comments to link to types and macros'
3900 definitions.
3901
7a23c549
SC
39022014-04-16 Siva Chandra Reddy <sivachandra@google.com>
3903
3904 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
3905
22869d73
KS
39062014-04-16 Keith Seitz <keiths@redhat.com>
3907
3908 PR gdb/15827
3909 * dwarf2read.c (skip_one_die): Check that all relative-offset
3910 sibling DIEs fall within range of the current reader's buffer.
3911 (read_partial_die): Likewise.
3912
c4f87ca6
KS
39132014-04-16 Keith Seitz <keiths@redhat.com>
3914
3915 PR c++/16597
3916 * cp-namespace.c (lookup_symbol_file): If the type name of
3917 `this' is NULL, return immediately.
3918
b50c8614
KS
39192014-04-14 Keith Seitz <keiths@redhat.com>
3920
3921 PR c++/16253
3922 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3923 from symbol_matches_domain in symtab.c. All local callers
3924 of symbol_matches_domain updated.
3925 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3926 search STRUCT_DOMAIN.
3927 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3928 independently. standard_lookup will do that automatically.
3929 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3930 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3931 (cp_lookup_symbol_in_namespace): Likewise.
3932 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3933 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3934 may return a STRUCT_DOMAIN match.
3935 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3936 * cp-support.c: Include language.h.
3937 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3938 VAR_DOMAIN.
3939 * psymtab.c (match_partial_symbol): Compare the requested
3940 domain with the symbol's domain directly.
3941 (lookup_partial_symbol): Likewise.
3942 * symtab.c (lookup_symbol_in_language): Explain when/why
3943 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3944 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3945 appropriate languages.
3946 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3947 and moved to ada-lang.c
3948 (lookup_block_symbol): Explain that this function only returns
3949 symbol matching the requested DOMAIN.
3950 Compare the requested domain with the symbol's domain directly.
3951 (iterate_over_symbols): Compare the requested domain with the
3952 symbol's domain directly.
3953 * symtab.h (symbol_matches_domain): Remove.
3954
3d567982
TT
39552014-04-14 Tom Tromey <tromey@redhat.com>
3956
3957 PR c++/15246:
3958 * c-exp.y (type_aggregate_p): New function.
3959 (qualified_name, classify_inner_name): Use it.
3960 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
3961 and TYPE_TARGET_TYPE of an enum type.
3962 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
3963 an enum type.
3964 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
3965 handle TYPE_DECLARED_CLASS.
3966 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
3967 types.
3968 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
3969 * valops.c (enum_constant_from_type): New function.
3970 (value_aggregate_elt): Use it.
3971 * cp-namespace.c (cp_lookup_nested_symbol): Handle
3972 TYPE_CODE_ENUM.
3973
c848d642
TT
39742014-04-14 Tom Tromey <tromey@redhat.com>
3975
3976 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
3977 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
3978 const.
3979 * value.h (value_aggregate_elt): Update.
3980
0626fc76
TT
39812014-04-14 Tom Tromey <tromey@redhat.com>
3982
3983 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
3984
5ecaaa66
SA
39852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3986
3987 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
3988 (evaluate_subexp_standard): Pass noside argument.
3989 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
3990 if noside equals EVAL_NORMAL. If the subscript yields a vla type
3991 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
3992 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
3993 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
3994
1612e0c0
SA
39952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3996
3997 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
3998 points to a constant blob.
3999
c451ebe5
SA
40002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4001
4002 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
4003 property and store it as the high bound and flag the range accordingly.
4004 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
4005 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
4006 * gdbtypes.h (enum range_flags): New enum.
4007 (struct range_bounds): Add flags member.
4008
1d42e4c4
SA
40092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4010
4011 * c-typeprint.c (c_type_print_varspec_suffix): Added
4012 check for not yet resolved high bound. If unresolved, print
4013 "variable length" string to the console instead of random
4014 length.
4015
9f1f738a
SA
40162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4017
4018 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
4019 value.
4020 (ada_template_to_fixed_record_type_1): Likewise.
4021 (ada_to_fixed_type_1): Likewise.
4022 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
4023 (cp_print_value): Likewise.
4024 * d-valprint.c (dynamic_array_type): Likewise.
4025 * findvar.c (address_of_variable): Likewise.
4026 * jv-valprint.c (java_value_print): Likewise.
4027 * valops.c (value_ind): Likewise.
4028 * value.c (coerce_ref): Likewise.
4029
3c8452d4
SA
40302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4031
4032 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
4033 value and retrieve the dynamic type size.
4034
4ad88275
SA
40352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4036
4037 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
4038 passed to sizeof is dynamic evaluate the argument to compute the length.
4039
80180f79
SA
40402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4041 Joel Brobecker <brobecker@adacore.com>
4042
4043 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
4044 (dwarf2_evaluate_property): New function.
4045 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
4046 * dwarf2read.c (attr_to_dynamic_prop): New function.
4047 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
4048 attribute.
4049 * gdbtypes.c: Include dwarf2loc.h.
4050 (is_dynamic_type): New function.
4051 (resolve_dynamic_type): New function.
4052 (resolve_dynamic_bounds): New function.
4053 (get_type_length): New function.
4054 (check_typedef): Use get_type_length to compute type length.
4055 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
4056 (TYPE_LOW_BOUND_KIND): New macro.
4057 (is_dynamic_type): New function prototype.
4058 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
4059 to resolve dynamic properties of the type. Update comment.
4060 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
4061
a1556843
RH
40622014-04-14 Richard Henderson <rth@redhat.com>
4063
4064 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
4065
0be03e84
DE
40662014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4067 Doug Evans <xdje42@gmail.com>
4068
4069 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
4070 dereference TYPE_CODE_REF values.
4071
6b662e19
JB
40722014-04-11 Joel Brobecker <brobecker@adacore.com>
4073
4074 Revert the following changes due to regressions:
4075
4076 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
4077 (dwarf2_evaluate_property): New function.
4078 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
4079 * dwarf2read.c (attr_to_dynamic_prop): New function.
4080 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
4081 attribute.
4082 * gdbtypes.c: Include dwarf2loc.h.
4083 (is_dynamic_type): New function.
4084 (resolve_dynamic_type): New function.
4085 (resolve_dynamic_bounds): New function.
4086 (get_type_length): New function.
4087 (check_typedef): Use get_type_length to compute type length.
4088 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
4089 (TYPE_LOW_BOUND_KIND): New macro.
4090 (is_dynamic_type): New function prototype.
4091 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
4092 to resolve dynamic properties of the type. Update comment.
4093 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
4094
4095 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
4096 passed to sizeof is dynamic evaluate the argument to compute the length.
4097
4098 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
4099 value and retrieve the dynamic type size.
4100
4101 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
4102 (ada_template_to_fixed_record_type_1): Likewise.
4103 (ada_to_fixed_type_1): Likewise.
4104 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
4105 (cp_print_value): Likewise.
4106 * d-valprint.c (dynamic_array_type): Likewise.
4107 * eval.c (evaluate_subexp_with_coercion): Likewise.
4108 * findvar.c (address_of_variable): Likewise.
4109 * jv-valprint.c (java_value_print): Likewise.
4110 * valops.c (value_ind): Likewise.
4111 * value.c (coerce_ref): Likewise.
4112
4113 * c-typeprint.c (c_type_print_varspec_suffix): Added
4114 check for not yet resolved high bound. If unresolved, print
4115 "variable length" string to the console instead of random
4116 length.
4117
4118 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
4119 property and store it as the high bound and flag the range accordingly.
4120 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
4121 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
4122 * gdbtypes.h (enum range_flags): New enum.
4123 (struct range_bounds): Add flags member.
4124
4125 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
4126 points to a constant blob.
4127
4128 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
4129 (evaluate_subexp_standard): Pass noside argument.
4130 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
4131 if noside equals EVAL_NORMAL. If the subscript yields a vla type
4132 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
4133 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
4134 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
4135
245a5f0b
KS
41362014-04-11 Keith Seitz <keiths@redhat.com>
4137
4138 PR c++/16675
4139 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
4140 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
4141 reference types.
4142
3bce8237
SA
41432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4144
4145 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
4146 (evaluate_subexp_standard): Pass noside argument.
4147 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
4148 if noside equals EVAL_NORMAL. If the subscript yields a vla type
4149 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
4150 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
4151 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
4152
92b09522
SA
41532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4154
4155 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
4156 points to a constant blob.
4157
e1969afb
SA
41582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4159
4160 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
4161 property and store it as the high bound and flag the range accordingly.
4162 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
4163 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
4164 * gdbtypes.h (enum range_flags): New enum.
4165 (struct range_bounds): Add flags member.
4166
b86138fb
SA
41672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4168
4169 * c-typeprint.c (c_type_print_varspec_suffix): Added
4170 check for not yet resolved high bound. If unresolved, print
4171 "variable length" string to the console instead of random
4172 length.
4173
bcd629a4
SA
41742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4175
4176 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
4177 (ada_template_to_fixed_record_type_1): Likewise.
4178 (ada_to_fixed_type_1): Likewise.
4179 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
4180 (cp_print_value): Likewise.
4181 * d-valprint.c (dynamic_array_type): Likewise.
4182 * eval.c (evaluate_subexp_with_coercion): Likewise.
4183 * findvar.c (address_of_variable): Likewise.
4184 * jv-valprint.c (java_value_print): Likewise.
4185 * valops.c (value_ind): Likewise.
4186 * value.c (coerce_ref): Likewise.
4187
04b19544
SA
41882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4189
4190 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
4191 value and retrieve the dynamic type size.
4192
26cb189f
SA
41932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4194
4195 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
4196 passed to sizeof is dynamic evaluate the argument to compute the length.
4197
37c1ab67
SA
41982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4199
4200 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
4201 (dwarf2_evaluate_property): New function.
4202 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
4203 * dwarf2read.c (attr_to_dynamic_prop): New function.
4204 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
4205 attribute.
4206 * gdbtypes.c: Include dwarf2loc.h.
4207 (is_dynamic_type): New function.
4208 (resolve_dynamic_type): New function.
4209 (resolve_dynamic_bounds): New function.
4210 (get_type_length): New function.
4211 (check_typedef): Use get_type_length to compute type length.
4212 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
4213 (TYPE_LOW_BOUND_KIND): New macro.
4214 (is_dynamic_type): New function prototype.
4215 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
4216 to resolve dynamic properties of the type. Update comment.
4217 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
4218
729efb13
SA
42192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4220
4221 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
4222 declaring high/low bounds and change uses accordingly. Call
4223 create_range_type instead of create_static_range_type.
4224 * gdbtypes.c (create_range_type): New function.
4225 (create_range_type): Convert bounds into struct bound_prop and pass
4226 them to create_range_type.
4227 * gdbtypes.h (struct bound_prop): New struct.
4228 (create_range_type): New function prototype.
4229 (struct range_bounds): Use struct bound_prop instead of LONGEST for
4230 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
4231 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
4232 part of the bound.
4233 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
4234
0c9c3474
SA
42352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4236
4237 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
4238 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
4239 * ada-lang.c: All uses of create_range_type updated.
4240 * coffread.c: All uses of create_range_type updated.
4241 * dwarf2read.c: All uses of create_range_type updated.
4242 * f-exp.y: All uses of create_range_type updated.
4243 * m2-valprint.c: All uses of create_range_type updated.
4244 * mdebugread.c: All uses of create_range_type updated.
4245 * stabsread.c: All uses of create_range_type updated.
4246 * valops.c: All uses of create_range_type updated.
4247 * valprint.c: All uses of create_range_type updated.
4248
9d497a19
PA
42492014-04-10 Pedro Alves <palves@redhat.com>
4250
4251 * breakpoint.c (single_step_breakpoints)
4252 (single_step_gdbarch): Move up in the file.
4253 (one_breakpoint_xfer_memory): New function, factored out from ...
4254 (breakpoint_xfer_memory): ... here. Also process single-step
4255 breakpoints.
4256
15a9128a
TG
42572014-04-09 Tristan Gingold <gingold@adacore.com>
4258
4259 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
4260 comments.
4261 (darwin_decode_exception_message): Free port only after use.
4262
9c97a070
PL
42632014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
4264
4265 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
4266 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
4267 when setting the size of call_length.
4268
7af389b8
SC
42692014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4270
4271 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
4272 dereference TYPE_CODE_REF values.
4273
86ad98c3
JB
42742014-04-07 Joel Brobecker <brobecker@adacore.com>
4275
4276 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
4277 end of warning message.
4278
b0aeadb3
DE
42792014-04-03 Doug Evans <dje@google.com>
4280
4281 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
4282 of stub_comp_unit_die, stub_comp_dir is non-NULL.
4283
5979d6b6
AM
42842014-04-02 Alan Modra <amodra@gmail.com>
4285
4286 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
4287 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
4288 (struct symbol_file_add_from_memory_args): Add size field.
4289 (find_vdso_size): New function.
4290 (add_vsyscall_page): Attempt to find vdso size.
4291
0d60c288
DE
42922014-04-01 Doug Evans <dje@google.com>
4293
4294 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
4295
a41f2563
TG
42962014-04-01 Tristan Gingold <gingold@adacore.com>
4297
4298 * darwin-nat.c (darwin_encode_reply): Add prototype.
4299 (darwin_decode_exception_message): Reply to unknown inferiors.
4300 (darwin_decode_message): Handle message by id. Ignore message
4301 to unknown inferior.
4302 (darwin_wait): Discard unknown messages, add debug trace.
4303
11a865c8
DE
43042014-03-31 Doug Evans <dje@google.com>
4305
4306 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
4307 comp_dir_string.
4308
770e7fc7
DE
43092014-03-31 Doug Evans <dje@google.com>
4310
4311 New option "set print symbol-loading".
4312 * NEWS: Mention it.
4313 * solib.c (solib_read_symbols): Only print symbol loading messages
4314 if requested.
4315 (solib_add): If symbol loading is in "brief" mode, notify user
4316 symbols are being loaded.
4317 (reload_shared_libraries_1): Ditto.
4318 * symfile.c (print_symbol_loading_off): New static global.
4319 (print_symbol_loading_brief): New static global.
4320 (print_symbol_loading_full): New static global.
4321 (print_symbol_loading_enums): New static global.
4322 (print_symbol_loading): New static global.
4323 (print_symbol_loading_p): New function.
4324 (symbol_file_add_with_addrs): Only print symbol loading messages
4325 if requested.
4326 (_initialize_symfile): Register "print symbol-loading" set/show
4327 command.
4328 * symfile.h (print_symbol_loading_p): Declare.
4329
c32c64b7
DE
43302014-03-30 Doug Evans <xdje42@gmail.com>
4331
4332 * infrun.c (set_last_target_status): New function.
4333 (handle_inferior_event): Call it.
4334
7c0bc051
DE
43352014-03-30 Doug Evans <xdje42@gmail.com>
4336
4337 * inferior.h (enum stop_kind): Improve comment.
4338
8776cfe9
JB
43392014-03-28 Joel Brobecker <brobecker@adacore.com>
4340
4341 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
4342 a reference, strip the reference layer before calling
4343 the lang_ops value_has_mutated callback.
4344
410a0ff2
SDJ
43452014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
4346
4347 Remove some globals from our parser.
4348 * language.c (unk_lang_parser): Add "struct parser_state"
4349 argument.
4350 * language.h (struct language_defn) <la_parser>: Likewise.
4351 * parse.c (expout, expout_size, expout_ptr): Remove variables.
4352 (initialize_expout): Add "struct parser_state" argument.
4353 Rewrite function to use the parser state.
4354 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
4355 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
4356 write_exp_elt_longcst, write_exp_elt_dblcst,
4357 write_exp_elt_decfloatcst, write_exp_elt_type,
4358 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
4359 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
4360 write_dollar_variable): Likewise.
4361 (parse_exp_in_context_1): Use parser state.
4362 (insert_type_address_space): Add "struct parser_state" argument.
4363 Use parser state.
4364 (increase_expout_size): New function.
4365 * parser-defs.h: Forward declare "struct language_defn" and
4366 "struct parser_state".
4367 (expout, expout_size, expout_ptr): Remove extern declarations.
4368 (parse_gdbarch, parse_language): Rewrite macro declarations to
4369 accept the parser state.
4370 (struct parser_state): New struct.
4371 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
4372 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
4373 write_exp_elt_decfloatcst, write_exp_elt_type,
4374 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
4375 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
4376 write_exp_msymbol, write_dollar_variable,
4377 mark_struct_expression, insert_type_address_space): Add "struct
4378 parser_state" argument.
4379 (increase_expout_size): New function.
4380 * utils.c (do_clear_parser_state): New function.
4381 (make_cleanup_clear_parser_state): Likewise.
4382 * utils.h (make_cleanup_clear_parser_state): New function
4383 prototype.
4384 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
4385 Update calls to write_exp* in order to pass the parser state.
4386 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
4387 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
4388 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4389 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
4390 * stap-probe.c (stap_parse_register_operand): Likewise.
4391 (stap_parse_single_operand): Likewise.
4392 (stap_parse_argument_1): Likewise.
4393 (stap_parse_argument): Use parser state.
4394 * stap-probe.h: Include "parser-defs.h".
4395 (struct stap_parse_info) <pstate>: New field.
4396 * c-exp.y (parse_type): Rewrite to use parser state.
4397 (yyparse): Redefine to c_parse_internal.
4398 (pstate): New global variable.
4399 (parse_number): Add "struct parser_state" argument.
4400 (write_destructor_name): Likewise.
4401 (type_exp): Update calls to write_exp* and similars in order to
4402 use parser state.
4403 (exp1, exp, variable, qualified_name, space_identifier,
4404 typename, typebase): Likewise.
4405 (write_destructor_name, parse_number, lex_one_token,
4406 classify_name, classify_inner_name, c_parse): Add "struct
4407 parser_state" argument. Update function to use parser state.
4408 * c-lang.h: Forward declare "struct parser_state".
4409 (c_parse): Add "struct parser_state" argument.
4410 * ada-exp.y (parse_type): Rewrite macro to use parser state.
4411 (yyparse): Redefine macro to ada_parse_internal.
4412 (pstate): New variable.
4413 (write_int, write_object_renaming, write_var_or_type,
4414 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
4415 type_int, type_long, type_long_long, type_float, type_double,
4416 type_long_double, type_char, type_boolean, type_system_address):
4417 Add "struct parser_state" argument.
4418 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
4419 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
4420 var_or_type, aggregate, aggregate_component_list,
4421 positional_list, others, component_group,
4422 component_associations): Update calls to write_exp* and similar
4423 functions in order to use parser state.
4424 (ada_parse, write_var_from_sym, write_int,
4425 write_exp_op_with_string, write_object_renaming,
4426 find_primitive_type, write_selectors, write_ambiguous_var,
4427 write_var_or_type, write_name_assoc, type_int, type_long,
4428 type_long_long, type_float, type_double, type_long_double,
4429 type_char, type_boolean, type_system_address): Add "struct
4430 parser_state" argument. Adjust function to use parser state.
4431 * ada-lang.c (parse): Likewise.
4432 * ada-lang.h: Forward declare "struct parser_state".
4433 (ada_parse): Add "struct parser_state" argument.
4434 * ada-lex.l (processInt, processReal): Likewise. Adjust all
4435 calls to both functions.
4436 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
4437 parser state.
4438 (yyparse): Redefine macro to f_parse_internal.
4439 (pstate): New variable.
4440 (parse_number): Add "struct parser_state" argument.
4441 (type_exp, exp, subrange, typebase): Update calls to write_exp*
4442 and similars in order to use parser state.
4443 (parse_number): Adjust code to use parser state.
4444 (yylex): Likewise.
4445 (f_parse): New function.
4446 * f-lang.h: Forward declare "struct parser_state".
4447 (f_parse): Add "struct parser_state" argument.
4448 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
4449 parser state.
4450 (yyparse): Redefine macro for java_parse_internal.
4451 (pstate): New variable.
4452 (push_expression_name, push_expression_name, insert_exp): Add
4453 "struct parser_state" argument.
4454 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
4455 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
4456 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
4457 PostIncrementExpression, PostDecrementExpression,
4458 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
4459 UnaryExpressionNotPlusMinus, CastExpression,
4460 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
4461 RelationalExpression, EqualityExpression, AndExpression,
4462 ExclusiveOrExpression, InclusiveOrExpression,
4463 ConditionalAndExpression, ConditionalOrExpression,
4464 ConditionalExpression, Assignment, LeftHandSide): Update
4465 calls to write_exp* and similars in order to use parser state.
4466 (parse_number): Ajust code to use parser state.
4467 (yylex): Likewise.
4468 (java_parse): New function.
4469 (push_variable): Add "struct parser_state" argument. Adjust
4470 code to user parser state.
4471 (push_fieldnames, push_qualified_expression_name,
4472 push_expression_name, insert_exp): Likewise.
4473 * jv-lang.h: Forward declare "struct parser_state".
4474 (java_parse): Add "struct parser_state" argument.
4475 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
4476 parser state.
4477 (yyparse): Redefine macro to m2_parse_internal.
4478 (pstate): New variable.
4479 (type_exp, exp, fblock, variable, type): Update calls to
4480 write_exp* and similars to use parser state.
4481 (yylex): Likewise.
4482 (m2_parse): New function.
4483 * m2-lang.h: Forward declare "struct parser_state".
4484 (m2_parse): Add "struct parser_state" argument.
4485 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
4486 * objc-lang.h: Forward declare "struct parser_state".
4487 (end_msglist): Add "struct parser_state" argument.
4488 * p-exp.y (parse_type): Rewrite macro to use parser state.
4489 (yyparse): Redefine macro to pascal_parse_internal.
4490 (pstate): New variable.
4491 (parse_number): Add "struct parser_state" argument.
4492 (type_exp, exp1, exp, qualified_name, variable): Update calls to
4493 write_exp* and similars in order to use parser state.
4494 (parse_number, yylex): Adjust code to use parser state.
4495 (pascal_parse): New function.
4496 * p-lang.h: Forward declare "struct parser_state".
4497 (pascal_parse): Add "struct parser_state" argument.
4498 * go-exp.y (parse_type): Rewrite macro to use parser state.
4499 (yyparse): Redefine macro to go_parse_internal.
4500 (pstate): New variable.
4501 (parse_number): Add "struct parser_state" argument.
4502 (type_exp, exp1, exp, variable, type): Update calls to
4503 write_exp* and similars in order to use parser state.
4504 (parse_number, lex_one_token, classify_name, yylex): Adjust code
4505 to use parser state.
4506 (go_parse): Likewise.
4507 * go-lang.h: Forward declare "struct parser_state".
4508 (go_parse): Add "struct parser_state" argument.
4509
342587c4
DE
45102014-03-27 Doug Evans <dje@google.com>
4511
4512 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
4513
33e80786
DE
45142014-03-27 Doug Evans <dje@google.com>
4515
4516 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
4517 Remove argument abbrev_section. All callers updated.
4518
1dbab08b
DE
45192014-03-27 Doug Evans <dje@google.com>
4520
4521 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
4522 addr_base, ranges_base.
4523
318d3177
KS
45242014-03-26 Keith Seitz <keiths@redhat.com>
4525
4526 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
4527 types, not VAR_DOMAIN.
4528
1e54db15
SL
45292014-03-25 Sandra Loosemore <sandra@codesourcery.com>
4530
4531 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
4532 "ra" registers.
4533 * features/nios2-linux.c: Regenerated.
4534 * features/nios2.c: Regenerated.
4535
d3839ede
PA
45362014-03-25 Pedro Alves <palves@redhat.com>
4537
4538 * cli/cli-script.c (script_from_file): Force the interpreter to
4539 sync mode.
4540
7588d2ec
PL
45412014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
4542
4543 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
4544 small stack allocation.
4545
a6290449
TG
45462014-03-24 Tristan Gingold <gingold@adacore.com>
4547
4548 * darwin-nat.c (exc_server): Remove unused prototype.
4549 (darwin_dump_message): Correctly display data on x86_64.
4550 (darwin_encode_reply): Fix style.
4551 Add comments and fix indentation.
4552
31ae9d24 45532014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
4554
4555 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
4556
6339bfc4
DE
45572014-03-22 Doug Evans <xdje42@gmail.com>
4558
4559 * infcmd.c: Whitespace fixes.
4560 (interrupt_command): Merge two function comments into one.
4561
0a07590b
DE
45622014-03-22 Doug Evans <xdje42@gmail.com>
4563
4564 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
4565 All uses updated.
4566
b55fbac4
YQ
45672014-03-22 Yao Qi <yao@codesourcery.com>
4568
4569 * remote.c (target_read_live_memory): Remove.
4570 (memory_xfer_live_readonly_partial): Rename it to
4571 remote_xfer_live_readonly_partial. Remove argument 'object'.
4572 All callers updated. Call remote_read_bytes_1
4573 instead of target_read_live_memory.
4574 * tracepoint.c (set_traceframe_number): Remove.
4575 (make_cleanup_restore_traceframe_number): Likewise .
4576 * tracepoint.h (set_traceframe_number): Remove declaration.
4577 (make_cleanup_restore_traceframe_number): Likewise.
4578
9217e74e
YQ
45792014-03-22 Yao Qi <yao@codesourcery.com>
4580
4581 * remote.c (remote_read_bytes): Move code on reading from the
4582 remote stub to ...
4583 (remote_read_bytes_1): ... here. New function.
4584
8acf9577
YQ
45852014-03-22 Yao Qi <yao@codesourcery.com>
4586
4587 * ctf.c (ctf_xfer_partial): Check the return value of
4588 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
4589 return TARGET_XFER_UNAVAILABLE.
4590 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
4591 * target.c (target_read_live_memory): Move it to remote.c.
4592 (memory_xfer_live_readonly_partial): Likewise.
4593 (memory_xfer_partial_1): Move some code to remote_read_bytes.
4594 * remote.c (target_read_live_memory): Moved from target.c.
4595 (memory_xfer_live_readonly_partial): Likewise.
4596 (remote_read_bytes): Factored out from
4597 memory_xfer_partial_1.
4598
feef67ab
DE
45992014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
4600
4601 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
4602 NULL pointer.
4603
b65dc60b
PA
46042014-03-21 Pedro Alves <palves@redhat.com>
4605
4606 * infrun.c (normal_stop): Extend comment.
4607
b4ab256d
HZ
46082014-03-21 Hui Zhu <hui@codesourcery.com>
4609 Pedro Alves <palves@redhat.com>
4610
4611 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
4612 static buffer.
4613 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
4614 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
4615 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
4616
deba7593
MR
46172014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
4618
4619 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
4620 `z' formatted output modifier.
4621
1bff71c3
SDJ
46222014-03-20 Tom Tromey <tromey@redhat.com>
4623 Sergio Durigan Junior <sergiodj@redhat.com>
4624
4625 * probe.c (parse_probes): Turn assert into an ordinary error.
4626 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
4627 exceptions when parsing probes. Rearrange the code for clarity.
4628
90e28950
TT
46292014-03-20 Tom Tromey <tromey@redhat.com>
4630
4631 PR gdb/14135
4632 * top.c (execute_command): Only dispatch events if the command
4633 started the target.
4634
beb460e8
PA
46352014-03-20 Tom Tromey <tromey@redhat.com>
4636
4637 PR cli/15718
4638 * infcall.c: Include event-top.h.
4639 (run_inferior_call): Call async_disable_stdin if needed.
4640
99619bea
PA
46412014-03-20 Pedro Alves <palves@redhat.com>
4642
4643 * infrun.c (prepare_to_proceed): Delete.
4644 (thread_still_needs_step_over): New function.
4645 (find_thread_needs_step_over): New function.
4646 (proceed): If the current thread needs a step-over, set its
4647 steping_over_breakpoint flag. Adjust to use
4648 find_thread_needs_step_over instead of prepare_to_proceed.
4649 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
4650 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
4651 breakpoint.
4652 (switch_back_to_stepped_thread): Step over breakpoints of all
4653 threads not the stepping thread, before switching back to the
4654 stepping thread.
4655
2adfaa28
PA
46562014-03-20 Pedro Alves <palves@redhat.com>
4657
4658 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
4659 extern.
4660 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
4661 * infrun.c (saved_singlestep_ptid)
4662 (stepping_past_singlestep_breakpoint): Delete.
4663 (resume): Remove stepping_past_singlestep_breakpoint handling.
4664 (proceed): Store the prev_pc of the stepping thread too.
4665 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
4666 singlestep_pc.
4667 (enum infwait_states): Delete infwait_thread_hop_state.
4668 (struct execution_control_state) <hit_singlestep_breakpoint>: New
4669 field.
4670 (handle_inferior_event): Adjust.
4671 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
4672 handling and the thread-hop code. Before removing single-step
4673 breakpoints, check whether the thread hit a single-step breakpoint
4674 of another thread. If it did, the trap is not a random signal.
4675 (switch_back_to_stepped_thread): If the event thread hit a
4676 single-step breakpoint, unblock it before switching to the
4677 stepping thread. Handle the case of the stepped thread having
4678 advanced already.
4679 (keep_going): Handle the case of the current thread moving past a
4680 single-step breakpoint.
4681
31e77af2
PA
46822014-03-20 Pedro Alves <palves@redhat.com>
4683
4684 PR breakpoints/7143
4685 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
4686 are being stepped over.
4687 (breakpoint_address_match): Make extern.
4688 * breakpoint.h (breakpoint_address_match): New declaration.
4689 * inferior.h (stepping_past_instruction_at): New declaration.
4690 * infrun.c (struct step_over_info): New type.
4691 (step_over_info): New global.
4692 (set_step_over_info, clear_step_over_info)
4693 (stepping_past_instruction_at): New functions.
4694 (handle_inferior_event): Clear the step-over info when
4695 trap_expected is cleared.
4696 (resume): Remove now stale comment.
4697 (clear_proceed_status): Clear step-over info.
4698 (proceed): Adjust step-over handling to set or clear the step-over
4699 info instead of removing all breakpoints.
4700 (handle_signal_stop): When setting up a thread-hop, don't remove
4701 breakpoints here.
4702 (stop_stepping): Clear step-over info.
4703 (keep_going): Adjust step-over handling to set or clear step-over
4704 info and then always inserting breakpoints, instead of removing
4705 all breakpoints when stepping over one.
4706
b9f437de
PA
47072014-03-20 Pedro Alves <palves@redhat.com>
4708
4709 * infrun.c (previous_inferior_ptid): Adjust comment.
4710 (deferred_step_ptid): Delete.
4711 (infrun_thread_ptid_changed, prepare_to_proceed)
4712 (init_wait_for_inferior): Adjust.
4713 (handle_signal_stop): Delete deferred_step_ptid handling.
4714
06c868a8
JK
47152014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4716
4717 PR gdb/15358
4718 * defs.h (sync_quit_force_run): New declaration.
4719 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
4720 * event-top.c (async_sigterm_handler): New declaration.
4721 (async_sigterm_token): New variable.
4722 (async_init_signals): Create also async_sigterm_token.
4723 (async_sigterm_handler): New function.
4724 (sync_quit_force_run): New variable.
4725 (handle_sigterm): Replace quit_force call by other calls.
4726 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
4727
dea80df0
MR
47282014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
4729
4730 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
4731 offset into SPE pseudo registers.
4732
0c7e1a46
PA
47332014-03-18 Pedro Alves <palves@redhat.com>
4734
4735 PR gdb/13860
4736 * inferior.h (print_stop_event): Declare.
4737 * infrun.c (print_stop_event): New, factored out from ...
4738 (normal_stop): ... this.
4739 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
4740 of bpstat_print/print_stack_frame.
4741
9c1fcd01
TT
47422014-03-17 Tom Tromey <tromey@redhat.com>
4743
4744 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
4745
11aa919a
PMR
47462014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
4747
4748 * ada-lang.c (decode_constrained_packed_array): Perform a
4749 minimal coercion for reference with coerce_ref instead of
4750 ada_coerce_ref.
4751
d4ccb5e0
TG
47522014-03-17 Tristan Gingold <gingold@adacore.com>
4753
4754 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
4755 (darwin_solib_create_inferior_hook): Emit a warning if version
4756 is unhandled.
4757
49840f2a
UW
47582014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
4759
4760 * python/py-value.c (get_field_flag): Cast flag_name argument to
4761 PyObject_GetAttrString to support Python 2.4.
4762
ed4123e5
JK
47632014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4764
4765 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
4766 (Global Maintainers): Remove Jan Kratochvil.
4767
d6b64346
PA
47682014-03-14 Pedro Alves <palves@redhat.com>
4769
4770 * inferior.h (terminal_ours_for_output): Rename to ...
4771 (child_terminal_ours_for_output): ... this.
4772 (terminal_save_ours): Rename to ...
4773 (child_terminal_save_ours): ... this.
4774 (terminal_ours): Rename to ...
4775 (child_terminal_ours): ... this.
4776 (terminal_inferior): Rename to ...
4777 (child_terminal_inferior): ... this.
4778 (terminal_init_inferior): Rename to ...
4779 (child_terminal_init_inferior): ... this.
4780 (terminal_init_inferior_with_pgrp): Rename to ...
4781 (child_terminal_init_inferior_with_pgrp): ... this.
4782 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
4783 (child_terminal_init_with_pgrp): ... this.
4784 (terminal_save_ours): Rename to ...
4785 (child_terminal_save_ours): ... this.
4786 (terminal_init_inferior): Rename to ...
4787 (child_terminal_init): ... this. Adjust.
4788 (terminal_inferior): Rename to ...
4789 (child_terminal_inferior): ... this.
4790 (terminal_ours_for_output): Rename to ...
4791 (child_terminal_ours_for_output): ... this. Adjust.
4792 (terminal_ours): Rename to ...
4793 (child_terminal_ours): ... this.
4794 (terminal_ours_1): Rename to ...
4795 (child_terminal_ours_1): ... this. Adjust.
4796 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
4797 * windows-nat.c (do_initial_windows_stuff): Adjust.
4798 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
4799 (gnu_terminal_init): ... this. Adjust.
4800 (gnu_target): Adjust.
4801 * inf-child.c (inf_child_target): Adjust.
4802
5a1e8c7a
DE
48032014-03-13 Doug Evans <xdje42@gmail.com>
4804
4805 PR guile/16612
4806 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
4807 new eq?-hashtab.
4808
350e1a76
DE
48092014-03-13 Doug Evans <xdje42@gmail.com>
4810
4811 * value.c (record_latest_value): Call release_value_or_incref
4812 instead of release_value.
4813
a69900ae
PA
48142014-03-13 Pedro Alves <palves@redhat.com>
4815
4816 * procfs.c (procfs_target): Don't override to_shortname,
4817 to_longname or to_doc.
4818
5db9f0bd
PA
48192014-03-13 Pedro Alves <palves@redhat.com>
4820
4821 * inf-child.c (inf_child_open, inf_child_target): Don't mention
4822 Unix in user visible strings.
4823
5e3a2c38
SS
48242014-03-12 Stan Shebs <stan@codesourcery.com>
4825
4826 * gdbtypes.h: Annotate comments for Doxygen, add a page
4827 block comment with some general info.
4828
8bc2fe48
PA
48292014-03-12 Pedro Alves <palves@redhat.com>
4830
4831 * infcmd.c (prepare_execution_command): New function, factored out
4832 from several execution commands.
4833 (run_command_1, continue_command, step_1, jump_command)
4834 (signal_command, until_command, advance_command, finish_command)
4835 (attach_command): Use prepare_execution_command.
4836
638c5f49
OJ
48372014-03-12 Omair Javaid <omair.javaid@linaro.org>
4838
4839 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
4840 (MAX_BPTS): Define.
4841 (MAX_WPTS): Define.
4842 (struct arm_linux_thread_points): Removed.
4843 (struct arm_linux_process_info): New.
4844 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
4845 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
4846 (arm_linux_find_breakpoints_by_tid): Removed.
4847 (struct arch_lwp_info): New.
4848 (arm_linux_find_process_pid): New functions.
4849 (arm_linux_add_process): New functions.
4850 (arm_linux_process_info_get): New functions.
4851 (arm_linux_forget_process): New function.
4852 (arm_linux_get_debug_reg_state): New function.
4853 (struct update_registers_data): New.
4854 (update_registers_callback): New function.
4855 (arm_linux_insert_hw_breakpoint1): Updated.
4856 (arm_linux_remove_hw_breakpoint1): Updated.
4857 (arm_linux_insert_hw_breakpoint): Updated.
4858 (arm_linux_remove_hw_breakpoint): Updated.
4859 (arm_linux_insert_watchpoint): Updated.
4860 (arm_linux_remove_watchpoint): Updated.
4861 (arm_linux_new_thread): Updated.
4862 (arm_linux_prepare_to_resume): New function.
4863 (arm_linux_new_fork): New function.
4864 (_initialize_arm_linux_nat): Updated.
4865
6d03af93
PA
48662014-03-12 Pedro Alves <palves@redhat.com>
4867
4868 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
4869
b3ccfe11
TT
48702014-03-12 Tom Tromey <tromey@redhat.com>
4871
4872 * inf-child.c (return_zero): New function.
4873 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
4874 * aix-thread.c (aix_thread_inferior_created): New function.
4875 (aix_thread_attach): Remove.
4876 (init_aix_thread_ops): Don't set to_attach.
4877 (_initialize_aix_thread): Register inferior_created observer.
4878 * corelow.c (init_core_ops): Don't set to_attach or
4879 to_create_inferior.
4880 * exec.c (init_exec_ops): Don't set to_attach or
4881 to_create_inferior.
4882 * infcmd.c (run_command_1): Use find_run_target. Make direct
4883 target calls.
4884 (attach_command): Use find_attach_target. Make direct target
4885 calls.
4886 * record-btrace.c (init_record_btrace_ops): Don't set
4887 to_create_inferior.
4888 * record-full.c (record_full_can_async_p, record_full_is_async_p):
4889 Remove.
4890 (init_record_full_ops, init_record_full_core_ops): Update. Don't
4891 set to_create_inferior.
4892 * target.c (complete_target_initialization): Add assertion.
4893 (target_create_inferior): Remove.
4894 (find_default_attach, find_default_create_inferior): Remove.
4895 (find_attach_target, find_run_target): New functions.
4896 (find_default_is_async_p, find_default_can_async_p)
4897 (target_supports_non_stop, target_attach): Remove.
4898 (init_dummy_target): Don't set to_create_inferior or
4899 to_supports_non_stop.
4900 * target.h (struct target_ops) <to_attach>: Add comment. Remove
4901 TARGET_DEFAULT_FUNC.
4902 <to_create_inferior>: Add comment.
4903 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
4904 TARGET_DEFAULT_RETURN.
4905 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
4906 (find_attach_target, find_run_target): Declare.
4907 (target_create_inferior): Remove.
4908 (target_has_execution_1): Update comment.
4909 (target_supports_non_stop): Remove.
4910 * target-delegates.c: Rebuild.
4911
91f83b02
PA
49122014-03-12 Pedro Alves <palves@redhat.com>
4913
4914 * inf-child.h: Update comment to not mention Unix.
4915
f1aea813
PA
49162014-03-12 Pedro Alves <palves@redhat.com>
4917
4918 * inf-child.c: Update top comment to not mention Unix. Add
4919 generic comment describing how this target is meant to be used.
4920 (inf_child_post_attach, inf_child_post_startup_inferior)
4921 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
4922 Unix in comment.
4923
ee8e9165
PA
49242014-03-12 Pedro Alves <palves@redhat.com>
4925
4926 * nto-procfs.c: Include inf-child.h.
4927 (procfs_ops): Delete global.
4928 (procfs_can_run): Delete method.
4929 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
4930 target pointer instead of referencing procfs_ops.
4931 (procfs_prepare_to_store): Delete.
4932 (init_procfs_ops): Delete function.
4933 (procfs_target): New function, based on init_procfs_ops, but
4934 inherit inf_child_target.
4935 (_initialize_procfs): Use procfs_target.
4936
51a9c8c5
PA
49372014-03-12 Pedro Alves <palves@redhat.com>
4938
4939 * windows-nat.c: Include inf-child.h.
4940 (windows_ops): Delete global.
4941 (windows_open, windows_prepare_to_store, windows_can_run): Delete
4942 methods.
4943 (init_windows_ops): Delete function.
4944 (windows_target): New function, based on init_windows_ops, but
4945 inherit inf_child_target.
4946 (_initialize_windows_nat): Use windows_target. Install x86
4947 specific target methods here.
4948
c1966e26
DE
49492014-03-10 Doug Evans <xdje42@gmail.com>
4950
4951 * guile/guile.c (call_initialize_gdb_module): New function.
4952 (initialize_guile): Replace call to scm_init_guile with call to
4953 scm_with_guile.
4954
023db19c
JB
49552014-03-10 Joel Brobecker <brobecker@adacore.com>
4956
4957 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
4958 in call to TYPE_CODE macro.
4959
5ec18f2b
JG
49602014-03-10 Jerome Guitton <guitton@adacore.com>
4961
8668be63
JB
4962 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
4963 Resolve tagged types to full view.
5ec18f2b 4964
7d03f2eb
HZ
49652014-03-10 Hui Zhu <hui@codesourcery.com>
4966
4967 * target.h (target_insert_breakpoint): Remove "hardware" from its
4968 comments.
4969
c5164cbc
DE
49702014-03-07 Doug Evans <dje@google.com>
4971
4972 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
4973
c4a3fee2
DE
49742014-03-07 Doug Evans <dje@google.com>
4975
4976 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
4977 Remove unused local comp_dir_attr. Assert exactly one of
4978 stub_comp_unit_die, stub_comp_dir is non-NULL.
4979
3156469c
JB
49802014-03-07 Joel Brobecker <brobecker@adacore.com>
4981
4982 * target.h (complete_target_initialization, add_target):
4983 Add comment.
4984
c1a7b7c6
PA
49852014-03-07 Pedro Alves <palves@redhat.com>
4986
4987 * go32-nat.c: Include inf-child.h.
4988 (go32_ops): Delete global.
4989 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
4990 Delete methods.
4991 (go32_create_inferior): Push the passed in target pointer instead
4992 of referencing go32_ops.
4993 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
4994 (go32_target): New function, based on init_go32_ops, but inherit
4995 inf_child_target.
4996 (_initialize_go32_nat): Use go32_target. Move parts of
4997 init_go32_ops here.
4998
d3c1a85f
JB
49992014-03-06 Joel Brobecker <brobecker@adacore.com>
5000
5001 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
5002 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
5003 SYMBOL_VALUE_ADDRESS.
5004 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
5005
5fa1d40e
YQ
50062014-03-06 Yao Qi <yao@codesourcery.com>
5007
5008 * breakpoint.c (get_tracepoint_by_number): Remove argument
5009 optional_p. All callers updated. Adjust comments. Update
5010 output message.
5011 * breakpoint.h (get_tracepoint_by_number): Update declaration.
5012
0c13193f
YQ
50132014-03-06 Yao Qi <yao@codesourcery.com>
5014
5015 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
5016 early if get_number returns zero. Use 'p' instead of 'args'.
5017
2217da06
YQ
50182014-03-06 Yao Qi <yao@codesourcery.com>
5019
5020 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
5021 message.
5022
cc3da688
YQ
50232014-03-06 Yao Qi <yao@codesourcery.com>
5024
5025 PR breakpoints/16508
5026 * tracepoint.c (check_trace_running): New function.
5027 (trace_find_command): Move code to check_trace_running and
5028 call check_trace_running.
5029 (trace_find_pc_command): Likewise.
5030 (trace_find_tracepoint_command): Likewise.
5031 (trace_find_line_command): Likewise.
5032 (trace_find_range_command): Likewise.
5033 * tracepoint.h (check_trace_running): Likewise.
5034 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
5035
6a5f844b
YQ
50362014-03-06 Yao Qi <yao@codesourcery.com>
5037
5038 * target.h (struct target_ops) <to_traceframe_info>: Use
5039 TARGET_DEFAULT_NORETURN (tcomplain ()).
5040 * target-delegates.c: Regenerated.
5041
0f26cec1
PA
50422014-03-05 Pedro Alves <palves@redhat.com>
5043
5044 PR gdb/16575
5045 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
5046 void. Update comment.
5047 (dcache_xfer_memory): Delete.
5048 (dcache_read_memory_partial): New, based on the read bits of
5049 dcache_xfer_memory.
5050 (dcache_update): Add status parameter. Use ULONGEST for len, and
5051 adjust. Discard cache lines if the reason for the update was
5052 error.
5053 * dcache.h (dcache_xfer_memory): Delete declaration.
5054 (dcache_read_memory_partial): New declaration.
5055 (dcache_update): Update prototype.
5056 * target.c (raw_memory_xfer_partial): Update the dcache here.
5057 (memory_xfer_partial_1): Don't handle dcache writes here.
5058
b2b255bd
MF
50592014-03-05 Mike Frysinger <vapier@gentoo.org>
5060
5061 * remote-sim.c (gdbsim_load): Add const to prog.
5062
5d9cf8a4
TT
50632014-03-03 Tom Tromey <tromey@redhat.com>
5064
5065 * elfread.c (probe_key): Change to bfd_data.
5066 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
5067 now per-BFD, not per-objfile.
5068 * stap-probe.c (stap_probe_destroy): Update comment.
5069 (handle_stap_probe): Allocate on the per-BFD obstack.
5070
729662a5
TT
50712014-03-03 Tom Tromey <tromey@redhat.com>
5072
5073 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
5074 * breakpoint.c (create_longjmp_master_breakpoint): Use
5075 get_probe_address.
5076 (add_location_to_breakpoint, bkpt_probe_insert_location)
5077 (bkpt_probe_remove_location): Update.
5078 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
5079 * elfread.c (elf_symfile_relocate_probe): Remove.
5080 (elf_probe_fns): Update.
5081 (insert_exception_resume_breakpoint): Change type of "probe"
5082 parameter to bound_probe.
5083 (check_exception_resume): Update.
5084 * objfiles.c (objfile_relocate1): Don't relocate probes.
5085 * probe.c (bound_probe_s): New typedef.
5086 (parse_probes): Use get_probe_address. Set sal's objfile.
5087 (find_probe_by_pc): Return a bound_probe.
5088 (collect_probes): Return a VEC(bound_probe_s).
5089 (compare_probes): Update.
5090 (gen_ui_out_table_header_info): Change type of "probes"
5091 parameter. Update.
5092 (info_probes_for_ops): Update.
5093 (get_probe_address): New function.
5094 (probe_safe_evaluate_at_pc): Update.
5095 * probe.h (struct probe_ops) <get_probe_address>: New field.
5096 <set_semaphore, clear_semaphore>: Add objfile parameter.
5097 (struct probe) <objfile>: Remove field.
5098 <arch>: New field.
5099 <address>: Update comment.
5100 (struct bound_probe): New.
5101 (find_probe_by_pc): Return a bound_probe.
5102 (get_probe_address): Declare.
5103 * solib-svr4.c (struct probe_and_action) <address>: New field.
5104 (hash_probe_and_action, equal_probe_and_action): Update.
5105 (register_solib_event_probe): Add address parameter.
5106 (solib_event_probe_at): Update.
5107 (svr4_create_probe_breakpoints): Add objfile parameter. Use
5108 get_probe_address.
5109 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
5110 (stap_get_probe_address): New function.
5111 (stap_can_evaluate_probe_arguments, compute_probe_arg)
5112 (compile_probe_arg): Update.
5113 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
5114 address.
5115 (handle_stap_probe): Don't relocate the probe.
5116 (stap_relocate): Remove.
5117 (stap_gen_info_probes_table_values): Update.
5118 (stap_probe_ops): Remove stap_relocate.
5119 * symfile-debug.c (debug_sym_relocate_probe): Remove.
5120 (debug_sym_probe_fns): Update.
5121 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
5122 * symtab.c (init_sal): Use memset.
5123 * symtab.h (struct symtab_and_line) <objfile>: New field.
5124 * tracepoint.c (start_tracing, stop_tracing): Update.
5125
ff887920
TT
51262014-03-03 Tom Tromey <tromey@redhat.com>
5127
5128 * probe.h (parse_probes, find_probe_by_pc)
5129 (find_probes_in_objfile): Fix comments.
5130
f0407826
DE
51312014-03-02 Doug Evans <xdje42@gmail.com>
5132
5133 * infrun.c (handle_signal_stop): Replace test for
5134 TARGET_WAITKIND_STOPPED with an assert.
5135
35e6a711
DE
51362014-03-02 Doug Evans <xdje42@gmail.com>
5137
5138 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
5139
667f9d0b
DE
51402014-03-02 Doug Evans <xdje42@gmail.com>
5141
5142 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
5143
dc92ace0
MK
51442014-03-01 Mark Kettenis <kettenis@gnu.org>
5145
5146 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
5147
a900370f
MK
51482014-03-01 Mark Kettenis <kettenis@gnu.org>
5149
5150 * i386obsd-nat.c: Include "obsd-nat.h".
5151 (_initialize_i386obsd_nat): Call obsd_add_target instead of
5152 add_target.
5153 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
5154
b72a7981
MK
51552014-03-01 Mark Kettenis <kettenis@gnu.org>
5156
5157 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
5158
96c70aba
MK
51592014-03-01 Mark Kettenis <kettenis@gnu.org>
5160
5161 * mips64obsd-nat.c: Include "obsd-nath".
5162 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
5163 add_target
5164 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
5165
874a80af
MK
51662014-03-01 Mark Kettenis <kettenis@gnu.org>
5167
8fd408f1
MK
5168 * amd64obsd-nat.c: Include "obsd-nat,h.
5169 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
5170 add_target.
874a80af
MK
5171 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
5172
9cf95373
SC
51732014-02-28 Siva Chandra Reddy <sivachandra@google.com>
5174
5175 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
5176 (find_overload_match): Update call to find_oload_champ.
5177 (find_oload_champ_namespace_loop): Likewise
5178
863e4da4
MK
51792014-02-28 Mark Kettenis <kettenis@gnu.org>
5180
025cac40
MK
5181 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
5182
1ed586ce
MK
5183 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
5184 * config/sparc/obsd64.mh: New file.
5185 * sparc64obsd-nat.c: New file.
5186
863e4da4
MK
5187 * obsd-nat.h: New file.
5188 * obsd-nat.c: New file.
5189 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
5190 (ALLDEPFILES): Add obsd-nat.c.
5191
89de4da4
TT
51922014-02-28 Tom Tromey <tromey@redhat.com>
5193
5194 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
5195 * cli-out.h (cli_ui_out_impl): Now const.
5196 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
5197 * ui-out.c (struct ui_out) <impl>: Now const.
5198 (default_ui_out_impl): Now const.
5199 (ui_out_new): Make 'impl' parameter const.
5200 * ui-out.h (ui_out_new): Update.
5201
c725e7b6
MK
52022014-02-27 Mark Kettenis <kettenis@gnu.org>
5203
5204 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
5205
670b46b3
MK
52062014-02-27 Mark Kettenis <kettenis@gnu.org>
5207
5208 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
5209
c91550fc
JK
52102014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5211
5212 Additional PR 8882 fix.
5213 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
5214
2fa0369e
PA
52152014-02-27 Pedro Alves <palves@redhat.com>
5216
5217 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
5218 isn't set.
5219
d632a097
PA
52202014-02-27 Pedro Alves <palves@redhat.com>
5221
5222 PR 12702
5223 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
5224 * nat/linux-waitpid.c: Include string.h.
5225 (status_to_str): Moved here and made extern.
5226 * nat/linux-waitpid.h (status_to_str): New declaration.
5227
2ebd5a35
HZ
52282014-02-27 Hui Zhu <hui@codesourcery.com>
5229
5230 PR 12702
5231 * infrun.c (ptid_match): Move ...
5232 * common/ptid.c (ptid_match): ... here.
5233 * inferior.h (ptid_match): Move ...
5234 * common/ptid.h (ptid_match): ... here.
5235
3cdd631f
MK
52362014-02-27 Mark Kettenis <kettenis@gnu.org>
5237
5238 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
5239 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
5240 gdb_target_obs.
5241
bee30a64
MK
52422014-02-27 Mark Kettenis <kettenis@gnu.org>
5243
5244 * obsd-tdep.c (obsd_auxv_parse): New function.
5245 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
5246
5247 * gdbarch.sh (auxv_parse): New.
5248 * gdbarch.h: Regenerated.
5249 * gdbarch.c: Regenerated.
5250 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
5251
7a5a839f
LC
52522014-02-26 Ludovic Courtès <ludo@gnu.org>
5253
5254 * guile/scm-value.c (gdbscm_history_append_x): New function.
5255 (value_functions): Add it.
5256
31aa7e4e
JB
52572014-02-27 Joel Brobecker <brobecker@adacore.com>
5258
5259 * dwarf2read.c (attr_value_as_address): New function.
5260 (dwarf2_find_base_address, read_call_site_scope): Use
5261 attr_value_as_address in place of DW_ADDR.
5262 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
5263 the low and high addresses. Slight rework of the handling
5264 of the high pc being a constant form, and limit it to
5265 DWARF verson 4 or higher.
5266 (dwarf2_record_block_ranges): Likewise.
5267 (read_partial_die): Likewise.
5268 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
5269
9b333ba3
TT
52702014-02-26 Tom Tromey <tromey@redhat.com>
5271
5272 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
5273
5f6cac40
TT
52742014-02-26 Tom Tromey <tromey@redhat.com>
5275
5276 * elfread.c (elf_read_minimal_symbols): Return early if
5277 minimal symbols have already been read. Add "ei" parameter.
5278 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
5279 * minsyms.c (prim_record_minimal_symbol_full): Update.
5280 * objfiles.h (struct objstats) <n_minsyms>: Move...
5281 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
5282 * symmisc.c (print_objfile_statistics): Update.
5283
2750ef27
TT
52842014-02-26 Tom Tromey <tromey@redhat.com>
5285
5286 * elfread.c (elf_read_minimal_symbols): New function, from
5287 elf_symfile_read.
5288 (elf_symfile_read): Call it.
5289
34643a32
TT
52902014-02-26 Tom Tromey <tromey@redhat.com>
5291
5292 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
5293 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
5294 (lookup_minimal_symbol_solib_trampoline)
5295 (lookup_minimal_symbol_by_pc_section_1)
5296 (lookup_minimal_symbol_and_objfile): Update.
5297 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
5298 Don't allocate a minimal symbol if minsyms have already been read.
5299 (build_minimal_symbol_hash_tables): Update.
5300 (install_minimal_symbols): Do nothing if minsyms already read.
5301 Use the per-BFD obstack.
5302 (terminate_minimal_symbol_table): Use the per-BFD obstack.
5303 * objfiles.c (allocate_objfile): Call
5304 terminate_minimal_symbol_table later.
5305 (have_minimal_symbols): Update.
5306 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
5307 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
5308 Move from struct objfile.
5309 <minsyms_read>: New field.
5310 (struct objfile) <msymbols, minimal_symbol_count,
5311 msymbol_hash, msymbol_demangled_hash>: Move.
5312 (ALL_OBJFILE_MSYMBOLS): Update.
5313 * symfile.c (read_symbols): Set minsyms_read.
5314 (reread_symbols): Update.
5315 * symmisc.c (dump_objfile, dump_msymbols): Update.
5316
2273f0ac
TT
53172014-02-26 Tom Tromey <tromey@redhat.com>
5318
5319 * minsyms.c (msymbols_sort): Remove.
5320 * minsyms.h (msymbols_sort): Remove.
5321 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
5322 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
5323 * elfread.c (elf_symtab_read): Don't add section offsets.
5324 * xcoffread.c (record_minimal_symbol): Don't add section offset
5325 to minimal symbol address.
5326 * somread.c (text_offset, data_offset): Remove.
5327 (som_symtab_read): Don't add section offsets to minimal symbol
5328 addresses.
5329 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
5330 Don't add section offsets to minimal symbols.
5331 * coffread.c (coff_symtab_read): Don't add section offsets
5332 to minimal symbol addresses.
5333 * machoread.c (macho_symtab_add_minsym): Don't add section offset
5334 to minimal symbol addresses.
5335 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
5336 section offset to minimal symbol addresses.
5337 * mdebugread.c (parse_partial_symbols): Don't add section
5338 offset to minimal symbol addresses.
5339 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
5340 offset to minimal symbol addresses.
5341
77e371c0
TT
53422014-02-26 Tom Tromey <tromey@redhat.com>
5343
5344 * ada-lang.c (ada_main_name): Update.
5345 (ada_add_standard_exceptions): Update.
5346 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
5347 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
5348 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
5349 * auxv.c (ld_so_xfer_auxv): Update.
5350 * avr-tdep.c (avr_scan_prologue): Update.
5351 * ax-gdb.c (gen_var_ref): Update.
5352 * blockframe.c (get_pc_function_start)
5353 (find_pc_partial_function_gnu_ifunc): Update.
5354 * breakpoint.c (create_overlay_event_breakpoint)
5355 (create_longjmp_master_breakpoint)
5356 (create_std_terminate_master_breakpoint)
5357 (create_exception_master_breakpoint): Update.
5358 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
5359 * c-valprint.c (c_val_print): Update.
5360 * coff-pe-read.c (add_pe_forwarded_sym): Update.
5361 * common/agent.c (agent_look_up_symbols): Update.
5362 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
5363 * dwarf2loc.c (call_site_to_target_addr): Update.
5364 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
5365 * elfread.c (elf_gnu_ifunc_record_cache)
5366 (elf_gnu_ifunc_resolve_by_got): Update.
5367 * findvar.c (default_read_var_value): Update.
5368 * frame.c (inside_main_func): Update.
5369 * frv-tdep.c (frv_frame_this_id): Update.
5370 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
5371 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
5372 Update.
5373 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
5374 (hppa_hpux_find_dummy_bpaddr): Update.
5375 * hppa-tdep.c (hppa_symbol_address): Update.
5376 * infcmd.c (until_next_command): Update.
5377 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
5378 Update.
5379 * linespec.c (minsym_found, add_minsym): Update.
5380 * linux-nat.c (get_signo): Update.
5381 * linux-thread-db.c (inferior_has_bug): Update.
5382 * m32c-tdep.c (m32c_return_value)
5383 (m32c_m16c_address_to_pointer): Update.
5384 * m32r-tdep.c (m32r_frame_this_id): Update.
5385 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
5386 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
5387 * maint.c (maintenance_translate_address): Update.
5388 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
5389 (frob_address): New function.
5390 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
5391 frob_address. Rename parameter to "pc_in".
5392 (compare_minimal_symbols, compact_minimal_symbols): Use raw
5393 addresses.
5394 (find_solib_trampoline_target, minimal_symbol_upper_bound):
5395 Update.
5396 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
5397 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
5398 * objc-lang.c (find_objc_msgsend): Update.
5399 * objfiles.c (objfile_relocate1): Update.
5400 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
5401 * p-valprint.c (pascal_val_print): Update.
5402 * parse.c (write_exp_msymbol): Update.
5403 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
5404 (ppc_elfv2_skip_entrypoint): Update.
5405 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
5406 * printcmd.c (build_address_symbolic, msym_info)
5407 (address_info): Update.
5408 * proc-service.c (ps_pglobal_lookup): Update.
5409 * psymtab.c (find_pc_sect_psymtab_closer)
5410 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
5411 Change msymbol parameter to bound_minimal_symbol.
5412 * ravenscar-thread.c (get_running_thread_id): Update.
5413 * remote.c (remote_check_symbols): Update.
5414 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
5415 address.
5416 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
5417 * solib-dsbt.c (lm_base): Update.
5418 * solib-frv.c (lm_base, main_got): Update.
5419 * solib-irix.c (locate_base): Update.
5420 * solib-som.c (som_solib_create_inferior_hook)
5421 (link_map_start): Update.
5422 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
5423 * solib-svr4.c (elf_locate_base, enable_break): Update.
5424 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
5425 (flush_ea_cache): Update.
5426 * stabsread.c (define_symbol, scan_file_globals): Update.
5427 * stack.c (find_frame_funname): Update.
5428 * symfile-debug.c (debug_qf_expand_symtabs_matching)
5429 (debug_qf_find_pc_sect_symtab): Update.
5430 * symfile.c (simple_read_overlay_table)
5431 (simple_overlay_update): Update.
5432 * symfile.h (struct quick_symbol_functions)
5433 <find_pc_sect_symtab>: Change type of msymbol to
5434 bound_minimal_symbol.
5435 * symmisc.c (dump_msymbols): Update.
5436 * symtab.c (find_pc_sect_symtab_via_partial)
5437 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
5438 (search_symbols, print_msymbol_info): Update.
5439 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
5440 (MSYMBOL_VALUE_ADDRESS): Redefine.
5441 (BMSYMBOL_VALUE_ADDRESS): New macro.
5442 * tracepoint.c (scope_info): Update.
5443 * tui/tui-disasm.c (tui_find_disassembly_address)
5444 (tui_get_begin_asm_address): Update.
5445 * valops.c (find_function_in_inferior): Update.
5446 * value.c (value_static_field, value_fn_field): Update.
5447
3b7344d5
TT
54482014-02-26 Tom Tromey <tromey@redhat.com>
5449
5450 * ada-lang.c (ada_update_initial_language): Update.
5451 (ada_main_name, ada_has_this_exception_support): Update.
5452 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
5453 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
5454 * arm-tdep.c (arm_skip_stub): Update.
5455 * auxv.c (ld_so_xfer_auxv): Update.
5456 * avr-tdep.c (avr_scan_prologue): Update.
5457 * ax-gdb.c (gen_var_ref): Update.
5458 * breakpoint.c (struct breakpoint_objfile_data)
5459 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
5460 type to bound_minimal_symbol.
5461 (create_overlay_event_breakpoint)
5462 (create_longjmp_master_breakpoint)
5463 (create_std_terminate_master_breakpoint)
5464 (create_exception_master_breakpoint): Update.
5465 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
5466 * c-exp.y (classify_name): Update.
5467 * coffread.c (coff_symfile_read): Update.
5468 * common/agent.c (agent_look_up_symbols): Update.
5469 * d-lang.c (d_main_name): Update.
5470 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
5471 * dec-thread.c (enable_dec_thread): Update.
5472 * dwarf2loc.c (call_site_to_target_addr): Update.
5473 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
5474 * eval.c (evaluate_subexp_standard): Update.
5475 * findvar.c (struct minsym_lookup_data) <result>: Change type
5476 to bound_minimal_symbol.
5477 <objfile>: Remove.
5478 (minsym_lookup_iterator_cb, default_read_var_value): Update.
5479 * frame.c (inside_main_func): Update.
5480 * frv-tdep.c (frv_frame_this_id): Update.
5481 * gcore.c (call_target_sbrk): Update.
5482 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
5483 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
5484 Update.
5485 * go-lang.c (go_main_name): Update.
5486 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
5487 (hppa_hpux_find_import_stub_for_addr): Update.
5488 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
5489 Update. Change return type.
5490 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
5491 type.
5492 * jit.c (jit_breakpoint_re_set_internal): Update.
5493 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
5494 Update.
5495 * linux-nat.c (get_signo): Update.
5496 * linux-thread-db.c (inferior_has_bug): Update
5497 * m32c-tdep.c (m32c_return_value)
5498 (m32c_m16c_address_to_pointer): Update.
5499 * m32r-tdep.c (m32r_frame_this_id): Update.
5500 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
5501 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
5502 * minsyms.c (lookup_minimal_symbol_internal): Rename to
5503 lookup_minimal_symbol. Change return type.
5504 (lookup_minimal_symbol): Remove.
5505 (lookup_bound_minimal_symbol): Update.
5506 (lookup_minimal_symbol_text): Change return type.
5507 (lookup_minimal_symbol_solib_trampoline): Change return type.
5508 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
5509 (lookup_minimal_symbol_solib_trampoline): Change return type.
5510 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
5511 * objc-lang.c (lookup_objc_class, lookup_child_selector)
5512 (value_nsstring, find_imps): Update.
5513 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
5514 * p-lang.c (pascal_main_name): Update.
5515 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
5516 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
5517 * proc-service.c (ps_pglobal_lookup): Update.
5518 * ravenscar-thread.c (get_running_thread_msymbol): Change
5519 return type.
5520 (has_ravenscar_runtime, get_running_thread_id): Update.
5521 * remote.c (remote_check_symbols): Update.
5522 * sol-thread.c (ps_pglobal_lookup): Update.
5523 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
5524 * solib-dsbt.c (lm_base): Update.
5525 * solib-frv.c (lm_base, frv_relocate_section_addresses):
5526 Update.
5527 * solib-irix.c (locate_base): Update.
5528 * solib-som.c (som_solib_create_inferior_hook)
5529 (som_solib_desire_dynamic_linker_symbols, link_map_start):
5530 Update.
5531 * solib-spu.c (spu_enable_break): Update.
5532 * solib-svr4.c (elf_locate_base, enable_break): Update.
5533 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
5534 (flush_ea_cache): Update.
5535 * stabsread.c (define_symbol): Update.
5536 * symfile.c (simple_read_overlay_table): Update.
5537 * symtab.c (find_pc_sect_line): Update.
5538 * tracepoint.c (scope_info): Update.
5539 * tui-disasm.c (tui_get_begin_asm_address): Update.
5540 * value.c (value_static_field): Update.
5541
40c1a007
TT
55422014-02-26 Tom Tromey <tromey@redhat.com>
5543
5544 * minsyms.c (prim_record_minimal_symbol_full): Use
5545 SET_MSYMBOL_VALUE_ADDRESS.
5546 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
5547 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
5548 SET_MSYMBOL_VALUE_ADDRESS.
5549 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
5550 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
5551
efd66ac6
TT
55522014-02-26 Tom Tromey <tromey@redhat.com>
5553
5554 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
5555 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
5556 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
5557 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
5558 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
5559 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
5560 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
5561 * ada-lang.c (ada_main_name): Update.
5562 (ada_lookup_simple_minsym): Update.
5563 (ada_make_symbol_completion_list): Update.
5564 (ada_add_standard_exceptions): Update.
5565 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
5566 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
5567 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
5568 * arm-tdep.c (skip_prologue_function): Update.
5569 (arm_skip_stack_protector, arm_skip_stub): Update.
5570 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
5571 (arm_wince_skip_main_prologue): Update.
5572 * auxv.c (ld_so_xfer_auxv): Update.
5573 * avr-tdep.c (avr_scan_prologue): Update.
5574 * ax-gdb.c (gen_var_ref): Update.
5575 * block.c (call_site_for_pc): Update.
5576 * blockframe.c (get_pc_function_start): Update.
5577 (find_pc_partial_function_gnu_ifunc): Update.
5578 * breakpoint.c (create_overlay_event_breakpoint): Update.
5579 (create_longjmp_master_breakpoint): Update.
5580 (create_std_terminate_master_breakpoint): Update.
5581 (create_exception_master_breakpoint): Update.
5582 (resolve_sal_pc): Update.
5583 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
5584 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
5585 Update.
5586 * c-valprint.c (c_val_print): Update.
5587 * coff-pe-read.c (add_pe_forwarded_sym): Update.
5588 * coffread.c (coff_symfile_read): Update.
5589 * common/agent.c (agent_look_up_symbols): Update.
5590 * dbxread.c (find_stab_function_addr): Update.
5591 (end_psymtab): Update.
5592 * dwarf2loc.c (call_site_to_target_addr): Update.
5593 (func_verify_no_selftailcall): Update.
5594 (tailcall_dump): Update.
5595 (call_site_find_chain_1): Update.
5596 (dwarf_expr_reg_to_entry_parameter): Update.
5597 * elfread.c (elf_gnu_ifunc_record_cache): Update.
5598 (elf_gnu_ifunc_resolve_by_got): Update.
5599 * f-valprint.c (info_common_command): Update.
5600 * findvar.c (read_var_value): Update.
5601 * frame.c (get_prev_frame_1): Update.
5602 (inside_main_func): Update.
5603 * frv-tdep.c (frv_skip_main_prologue): Update.
5604 (frv_frame_this_id): Update.
5605 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
5606 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
5607 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
5608 (gnuv3_skip_trampoline): Update.
5609 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
5610 (hppa64_hpux_in_solib_call_trampoline): Update.
5611 (hppa_hpux_skip_trampoline_code): Update.
5612 (hppa64_hpux_search_dummy_call_sequence): Update.
5613 (hppa_hpux_find_import_stub_for_addr): Update.
5614 (hppa_hpux_find_dummy_bpaddr): Update.
5615 * hppa-tdep.c (hppa_symbol_address)
5616 (hppa_lookup_stub_minimal_symbol): Update.
5617 * i386-tdep.c (i386_skip_main_prologue): Update.
5618 (i386_pe_skip_trampoline_code): Update.
5619 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
5620 * infcall.c (get_function_name): Update.
5621 * infcmd.c (until_next_command): Update.
5622 * jit.c (jit_breakpoint_re_set_internal): Update.
5623 (jit_inferior_init): Update.
5624 * linespec.c (minsym_found): Update.
5625 (add_minsym): Update.
5626 * linux-fork.c (info_checkpoints_command): Update.
5627 * linux-nat.c (get_signo): Update.
5628 * linux-thread-db.c (inferior_has_bug): Update.
5629 * m32c-tdep.c (m32c_return_value): Update.
5630 (m32c_m16c_address_to_pointer): Update.
5631 (m32c_m16c_pointer_to_address): Update.
5632 * m32r-tdep.c (m32r_frame_this_id): Update.
5633 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
5634 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
5635 * maint.c (maintenance_translate_address): Update.
5636 * minsyms.c (add_minsym_to_hash_table): Update.
5637 (add_minsym_to_demangled_hash_table): Update.
5638 (msymbol_objfile): Update.
5639 (lookup_minimal_symbol): Update.
5640 (iterate_over_minimal_symbols): Update.
5641 (lookup_minimal_symbol_text): Update.
5642 (lookup_minimal_symbol_by_pc_name): Update.
5643 (lookup_minimal_symbol_solib_trampoline): Update.
5644 (lookup_minimal_symbol_by_pc_section_1): Update.
5645 (lookup_minimal_symbol_and_objfile): Update.
5646 (prim_record_minimal_symbol_full): Update.
5647 (compare_minimal_symbols): Update.
5648 (compact_minimal_symbols): Update.
5649 (build_minimal_symbol_hash_tables): Update.
5650 (install_minimal_symbols): Update.
5651 (terminate_minimal_symbol_table): Update.
5652 (find_solib_trampoline_target): Update.
5653 (minimal_symbol_upper_bound): Update.
5654 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
5655 * mips-tdep.c (mips_stub_frame_sniffer): Update.
5656 (mips_skip_pic_trampoline_code): Update.
5657 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
5658 * objc-lang.c (selectors_info): Update.
5659 (classes_info): Update.
5660 (find_methods): Update.
5661 (find_imps): Update.
5662 (find_objc_msgsend): Update.
5663 * objfiles.c (objfile_relocate1): Update.
5664 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
5665 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
5666 * p-valprint.c (pascal_val_print): Update.
5667 * parse.c (write_exp_msymbol): Update.
5668 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
5669 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
5670 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
5671 * printcmd.c (build_address_symbolic): Update.
5672 (sym_info): Update.
5673 (address_info): Update.
5674 * proc-service.c (ps_pglobal_lookup): Update.
5675 * psymtab.c (find_pc_sect_psymtab_closer): Update.
5676 (find_pc_sect_psymtab): Update.
5677 * python/py-framefilter.c (py_print_frame): Update.
5678 * ravenscar-thread.c (get_running_thread_id): Update.
5679 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
5680 Update.
5681 * remote.c (remote_check_symbols): Update.
5682 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
5683 (rs6000_skip_trampoline_code): Update.
5684 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
5685 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
5686 * solib-dsbt.c (lm_base): Update.
5687 * solib-frv.c (lm_base): Update.
5688 (main_got): Update.
5689 * solib-irix.c (locate_base): Update.
5690 * solib-som.c (som_solib_create_inferior_hook): Update.
5691 (som_solib_desire_dynamic_linker_symbols): Update.
5692 (link_map_start): Update.
5693 * solib-spu.c (spu_enable_break): Update.
5694 (ocl_enable_break): Update.
5695 * solib-svr4.c (elf_locate_base): Update.
5696 (enable_break): Update.
5697 * spu-tdep.c (spu_get_overlay_table): Update.
5698 (spu_catch_start): Update.
5699 (flush_ea_cache): Update.
5700 * stabsread.c (define_symbol): Update.
5701 (scan_file_globals): Update.
5702 * stack.c (find_frame_funname): Update.
5703 (frame_info): Update.
5704 * symfile.c (simple_read_overlay_table): Update.
5705 (simple_overlay_update): Update.
5706 * symmisc.c (dump_msymbols): Update.
5707 * symtab.c (fixup_section): Update.
5708 (find_pc_sect_line): Update.
5709 (skip_prologue_sal): Update.
5710 (search_symbols): Update.
5711 (print_msymbol_info): Update.
5712 (rbreak_command): Update.
5713 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
5714 (completion_list_objc_symbol): Update.
5715 (default_make_symbol_completion_list_break_on): Update.
5716 * tracepoint.c (scope_info): Update.
5717 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
5718 (tui_get_begin_asm_address): Update.
5719 * valops.c (find_function_in_inferior): Update.
5720 * value.c (value_static_field): Update.
5721 (value_fn_field): Update.
5722
50e65b17
TT
57232014-02-26 Tom Tromey <tromey@redhat.com>
5724
5725 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
5726 bound minimal symbols. Move code that knows about minsym
5727 table layout...
5728 * minsyms.c (minimal_symbol_upper_bound): ... here. New
5729 function.
5730 * minsyms.h (minimal_symbol_upper_bound): Declare.
5731 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
5732 minimal_symbol_upper_bound.
5733
1b588015
JB
57342014-02-27 Joel Brobecker <brobecker@adacore.com>
5735
5736 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
5737 Use the type's name if its basic type does not have a tag.
5738
dbb9c2b1
JB
57392014-02-27 Joel Brobecker <brobecker@adacore.com>
5740
5741 * dwarf2read.c (read_subrange_type): Add comment.
5742
55426c9d
JB
57432014-02-27 Joel Brobecker <brobecker@adacore.com>
5744
5745 * dwarf2read.c (update_enumeration_type_from_children): New
5746 function, mostly extracted from process_structure_scope.
5747 (read_enumeration_type): Call update_enumeration_type_from_children.
5748 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
5749 and flag_flag_enum fields.
5750
f2fce0ca
PA
57512014-02-26 Pedro Alves <palves@redhat.com>
5752
5753 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
5754 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
5755 to_xfer_partial method.
5756
7a44e40e
PA
57572014-02-26 Pedro Alves <palves@redhat.com>
5758
5759 * target.c (complete_target_initialization): Don't install
5760 default_xfer_partial as to_xfer_partial hook.
5761 (nomemory): Delete.
5762 (update_current_target): Don't INHERIT nor de_fault
5763 deprecated_xfer_memory. Delete de_fault macro.
5764 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
5765 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
5766 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
5767 field.
5768
bd265cd0
PA
57692014-02-26 Pedro Alves <palves@redhat.com>
5770
5771 * go32-nat.c (my_write_child): New function.
5772 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
5773 (go32_xfer_partial): New function.
5774 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
5775 Instead install a to_xfer_partial hook.
5776
9d46c4e5
PA
57772014-02-26 Pedro Alves <palves@redhat.com>
5778
5779 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
5780 to_xfer_partial helper. Rewrite.
5781 (procfs_xfer_partial): New function.
5782 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
5783 Install a to_xfer_partial hook.
5784
a1583b1f
PA
57852014-02-26 Pedro Alves <palves@redhat.com>
5786
5787 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
5788 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
5789 (m32r_xfer_partial): New function.
5790 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
5791 Install a to_xfer_partial hook.
5792
6df1b29f
PA
57932014-02-26 Pedro Alves <palves@redhat.com>
5794
5795 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
5796 helper.
5797 (mips_xfer_partial): New function.
5798 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
5799 hook. Install a to_xfer_partial hook.
5800
dc53a7ad
JB
58012014-02-26 Joel Brobecker <brobecker@adacore.com>
5802
5803 * gdbtypes.h (create_array_type_with_stride): Add declaration.
5804 * gdbtypes.c (create_array_type_with_stride): New function,
5805 renaming create_array_type, but with an added parameter
5806 called "bit_stride".
5807 (create_array_type): Re-implement using
5808 create_array_type_with_stride.
5809 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
5810 and DW_AT_bit_stride attributes.
5811
12ab52e9
PA
58122014-02-26 Pedro Alves <palves@redhat.com>
5813
5814 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
5815 task-specific breakpoints.
5816
d16461ae
PA
58172014-02-25 Pedro Alves <palves@redhat.com>
5818
5819 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
5820 handling of object == TARGET_OBJECT_UNWIND_TABLE.
5821
a8b16220
SS
58222014-02-25 Stan Shebs <stan@codesourcery.com>
5823
5824 * defs.h: Annotate comments for Doxygen.
5825
b9e795ee
TT
58262014-02-25 Tom Tromey <tromey@redhat.com>
5827
5828 * target.h (target_ignore): Don't declare.
5829 * target.c (target_ignore): Remove.
5830
849c862e
JK
58312014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5832
5833 PR gdb/16626
5834 * auto-load.c (auto_load_objfile_script_1): Change filename to
5835 debugfile.
5836
475109d8
JB
58372014-02-25 Joel Brobecker <brobecker@adacore.com>
5838
5839 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
5840 documentation. Adjust prototype to match the target_ops
5841 to_xfer_partial method. Adjust implementation accordingly.
5842
e186c3bd
HZ
58432014-02-25 Hui Zhu <hui@codesourcery.com>
5844
5845 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
5846 to_traceframe_info.
5847
6d451942
KB
58482014-02-25 Kevin Buettner <kevinb@redhat.com>
5849
041ab8b4 5850 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
5851 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
5852 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
5853 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
5854 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
5855 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
5856 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
5857 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
5858 New constants.
5859 (rl78_register_type): Use a data pointer type for SP and
5860 new pseudo registers mentioned above. Use a 16 bit integer
5861 type for all other register pairs.
5862 (rl78_register_name, rl78_g10_register_name): Update for
5863 new pseudo registers.
5864 (rl78_pseudo_register_read): Likewise.
5865 (rl78_pseudo_register_write): Likewise.
5866 (rl78_dwarf_reg_to_regnum): Return register numbers representing
5867 to the newly added pseudo registers.
5868
eddf0bae
DE
58692014-02-24 Doug Evans <dje@google.com>
5870
5871 * value.c (record_latest_value): Fix comment.
5872 * printcmd.c (print_command_1): Remove code to handle -1 return from
5873 record_latest_value.
5874
e96027e0
PA
58752014-02-24 Pedro Alves <palves@redhat.com>
5876
5877 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
5878 deprecated_xfer_memory hook.
5879 (procfs_xfer_partial): Call procfs_xfer_memory instead
5880 of the deprecated_xfer_memory target hook.
5881 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
5882 helper.
5883
0837c976
YZ
58842014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
5885
5886 * windows-nat.c (windows_xfer_shared_libraries): Return
5887 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
5888 requested object is TARGET_OBJECT_LIBRARIES.
5889
bc113b4e
YQ
58902014-02-24 Yao Qi <yao@codesourcery.com>
5891
5892 * target.h (enum target_xfer_status)
5893 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
5894 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
5895 explicitly. New.
5896 * corefile.c (memory_error_message): User updated.
5897 * exec.c (section_table_read_available_memory): Likewise.
5898 * record-btrace.c (record_btrace_xfer_partial): Likewise.
5899 * target.c (target_xfer_status_to_string): Likewise.
5900 (raw_memory_xfer_partial): Likewise.
5901 (memory_xfer_partial_1, target_xfer_partial): Likewise.
5902 * valops.c (read_value_memory): Likewise.
5903 * exec.h: Update comments.
5904
01cb8804
YQ
59052014-02-24 Yao Qi <yao@codesourcery.com>
5906
5907 * target.c (target_xfer_status_to_string): Rename argument err
5908 to status.
5909 * target.h (target_xfer_status_to_string): Update declaration.
5910 Replace target_xfer_error_to_string with
5911 target_xfer_status_to_string in comment.
5912
93063aa6
YQ
59132014-02-24 Yao Qi <yao@codesourcery.com>
5914
5915 * mips-linux-nat.c (super_close): Update its type.
5916 (mips_linux_close): Pass 'self' to super_close.
5917
5c328c05
YQ
59182014-02-24 Yao Qi <yao@codesourcery.com>
5919
5920 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
5921 * corefile.c (read_memory): Adjusted.
5922 * target.c (target_write_with_progress): Adjusted.
5923
f73023dd
YQ
59242014-02-23 Yao Qi <yao@codesourcery.com>
5925
5926 Revert two patches:
5927
5928 2013-10-25 Yao Qi <yao@codesourcery.com>
5929
5930 * remote.c (remote_traceframe_info): Return early if
5931 traceframe is not selected.
5932
5933 2013-07-19 Yao Qi <yao@codesourcery.com>
5934
5935 * target.c (update_current_target): Change the default action
5936 of 'to_traceframe_info' from tcomplain to return_zero.
5937 * target.h (struct target_ops) <to_traceframe_info>: Add more
5938 comments.
5939
5a2eb0ef
YQ
59402014-02-23 Yao Qi <yao@codesourcery.com>
5941
5942 * valops.c (read_value_memory): Rewrite it. Call
5943 target_xfer_partial in a loop.
5944 * exec.h (section_table_available_memory): Remove declaration.
5945 Move comments to ...
5946 * exec.c (section_table_available_memory): ... here. Make it
5947 static.
5948
1ee79381
YQ
59492014-02-23 Yao Qi <yao@codesourcery.com>
5950
5951 * exec.c (section_table_read_available_memory): New function.
5952 * exec.h (section_table_read_available_memory): Declare.
5953 * ctf.c (ctf_xfer_partial): Call
5954 section_table_read_available_memory.
5955 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5956
1ca49d37
YQ
59572014-02-23 Yao Qi <yao@codesourcery.com>
5958
5959 * ctf.c (ctf_xfer_partial): Move code to ...
5960 * exec.c (exec_read_partial_read_only): ... it. New function.
5961 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5962 * tracefile.c: Include "exec.h".
5963 * exec.h (exec_read_partial_read_only): Declare.
5964
a283690e
YQ
59652014-02-23 Yao Qi <yao@codesourcery.com>
5966
5967 * tracefile-tfile.c (tfile_has_all_memory): Remove.
5968 (tfile_has_memory): Remove.
5969 (init_tfile_ops): Don't set fields to_has_all_memory and
5970 to_has_memory of tfile_ops.
5971 * tracefile.c (tracefile_has_all_memory): New function.
5972 (tracefile_has_memory): New function.
5973 (init_tracefile_ops): Initialize fields to_has_all_memory and
5974 to_has_memory of 'ops'.
5975
12e03cd0
YQ
59762014-02-23 Yao Qi <yao@codesourcery.com>
5977
5978 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
5979 (ctf_thread_alive, ctf_get_trace_status): Remove.
5980 (init_ctf_ops): Don't set some fields of ctf_ops. Call
5981 init_tracefile_ops.
5982 * tracefile-tfile.c (tfile_get_trace_status): Remove.
5983 (tfile_has_stack, tfile_has_registers): Remove.
5984 (tfile_thread_alive): Remove.
5985 (init_tfile_ops): Don't set some fields of tfile_ops. Call
5986 init_tracefile_ops.
5987 * tracefile.c (tracefile_has_stack): New function.
5988 (tracefile_has_registers): New function.
5989 (tracefile_thread_alive): New function.
5990 (tracefile_get_trace_status): New function.
5991 (init_tracefile_ops): New function.
5992 * tracefile.h (init_tracefile_ops): Declare.
5993
11395323
YQ
59942014-02-23 Yao Qi <yao@codesourcery.com>
5995
5996 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
5997 (O_LARGEFILE): Likewise.
5998 (tfile_ops): Likewise.
5999 (TRACE_HEADER_SIZE): Likewise.
6000 (trace_fd, trace_frames_offset, cur_offset): Likewise.
6001 (cur_data_size): Likewise.
6002 (tfile_read, tfile_open, tfile_interp_line): Likewise.
6003 (tfile_close, tfile_files_info): Likewise.
6004 (tfile_get_trace_status): Likewise.
6005 (tfile_get_tracepoint_status): Likewise.
6006 (tfile_get_traceframe_address): Likewise.
6007 (tfile_trace_find, match_blocktype): Likewise.
6008 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
6009 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
6010 (tfile_get_trace_state_variable_value): Likewise.
6011 (tfile_has_all_memory, tfile_has_memory): Likewise.
6012 (tfile_has_stack, tfile_has_registers): Likewise.
6013 (tfile_thread_alive, build_traceframe_info): Likewise.
6014 (tfile_traceframe_info, init_tfile_ops): Likewise.
6015 (_initialize_tracepoint): Don't call init_tfile_ops
6016 and add_target_with_completer.
6017 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
6018 exec.h, completer.h and filenames.h.
6019 (_initialize_tracefile_tfile): New function.
6020
7951c4eb
YQ
60212014-02-23 Yao Qi <yao@codesourcery.com>
6022
6023 * Makefile.in (REMOTE_OBS): Append tracefile.o and
6024 tracefile-tfile.o.
6025 (HFILES_NO_SRCDIR): Add tracefile.h.
6026 * ctf.c: Include "tracefile.h".
6027 * tracefile.h: New file.
6028 * tracefile.c: New file
6029 * tracefile-tfile.c: New file.
6030 * tracepoint.c: Include "tracefile.h".
6031 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
6032 (stop_reason_names): Add const.
6033 (trace_file_writer_xfree): Move it to tracefile.c.
6034 (trace_save, trace_save_command, trace_save_tfile): Likewise.
6035 (trace_save_ctf): Likewise.
6036 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
6037 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
6038 (tfile_write_header, tfile_write_regblock_type): Likewise.
6039 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
6040 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
6041 (tfile_write_raw_data, tfile_end): Likewise.
6042 (tfile_trace_file_writer_new): Likewise.
6043 (free_uploaded_tp): Make it extern.
6044 (free_uploaded_tsv): Make it extern.
6045 (_initialize_tracepoint): Move code to register command 'tsave'
6046 to tracefile.c.
6047 * tracepoint.h (stop_reason_names): Declare.
6048 (struct trace_frame_write_ops): Move it to tracefile.h.
6049 (struct trace_file_write_ops): Likewise.
6050 (struct trace_file_writer): Likewise.
6051 (free_uploaded_tsvs, free_uploaded_tps): Declare.
6052
184cd072
JK
60532014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6054
6055 PR gdb/16594
6056 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
6057 process name.
6058 (get_cores_used_by_process): New parameter num_cores, use it.
6059 (linux_xfer_osdata_processes): Pass num_cores to it.
6060 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
6061 process name.
6062
c63528fc
AK
60632014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
6064
6065 * target.c (memory_xfer_partial): Fix length arg in call to
6066 breakpoint_xfer_memory.
6067
d7b30f67
SDJ
60682014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6069
6070 PR tdep/16397
6071 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
6072 number comes after the + or - signs. Adjust length of register
6073 name to be extracted.
6074
8838afaf
TT
60752014-02-20 Tom Tromey <tromey@redhat.com>
6076
6077 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
6078 (ada_varobj_ops): Mark "extern".
6079
05227d14
TT
60802014-02-20 Tom Tromey <tromey@redhat.com>
6081
6082 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
6083
1254eefc
DE
60842014-02-20 Doug Evans <xdje42@gmail.com>
6085
6086 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
6087 All callers updated.
6088 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
6089 All callers updated.
6090 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
6091 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
6092
adde2bff
DE
60932014-02-20 lin zuojian <manjian2006@gmail.com>
6094 Joel Brobecker <brobecker@adacore.com>
6095 Doug Evans <xdje42@gmail.com>
6096
6097 PR symtab/16581
6098 * dwarf2read.c (struct die_info): New member in_process.
6099 (reset_die_in_process): New function.
6100 (process_die): Set it at the start, reset when returning.
6101 (inherit_abstract_dies): Only call process_die if origin_child_die
6102 not already being processed.
6103
3be75f87
JB
61042014-02-20 Joel Brobecker <brobecker@adacore.com>
6105
6106 * windows-nat.c (handle_unload_dll): Add function documentation.
6107 (do_initial_windows_stuff): Add comment explaining why we wait
6108 until after inferior initialization has finished before
6109 processing all DLLs.
6110
47f7ffdb
JB
61112014-02-20 Joel Brobecker <brobecker@adacore.com>
6112
6113 * windows-nat.c (get_module_name): Delete.
6114 (windows_get_exec_module_filename): New function, mostly
6115 inspired from get_module_name.
6116 (windows_pid_to_exec_file): Replace call to get_module_name
6117 by call to windows_get_exec_module_filename.
6118
1cd9feab
JB
61192014-02-20 Joel Brobecker <brobecker@adacore.com>
6120
6121 * windows-nat.c (handle_load_dll): Rewrite this function's
6122 introductory comment. Remove code using get_module_name
6123 to get the DLL's name.
6124
ea39ad35
JB
61252014-02-20 Joel Brobecker <brobecker@adacore.com>
6126
6127 * windows-nat.c (get_windows_debug_event): Ignore
6128 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
6129 if windows_initialization_done == 0.
6130 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
6131 Adjust implementation to always load all DLLs.
6132 (do_initial_windows_stuff): Replace call to
6133 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
6134
95060284
JB
61352014-02-20 Joel Brobecker <brobecker@adacore.com>
6136
6137 * windows-nat.c (_initialize_windows_nat): Deprecate the
6138 "dll-symbols" command. Turn the "add-shared-symbol-files"
6139 and "assf" aliases into commands, and deprecate them as well.
6140 * NEWS: Add entry explaining that "dll-symbols" and its two
6141 aliases are now deprecated.
6142
8d4fdb12
JB
61432014-02-20 Joel Brobecker <brobecker@adacore.com>
6144
6145 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
6146 new-line in debug string. Remove trailing spaces.
6147
1b281443
SS
61482014-02-19 Stan Shebs <stan@codesourcery.com>
6149
6150 * darwin-nat.c (darwin_xfer_partial): Fix return type.
6151
f7bd0f78
SC
61522014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6153
6154 * NEWS: Add entry for the new feature
6155 * python/py-value.c (valpy_binop): Call value_x_binop for struct
6156 and class values.
6157
399ebc3d
SS
61582014-02-19 Stan Shebs <stan@codesourcery.com>
6159
6160 * MAINTAINERS: List Yao Qi as nios2 maintainer.
6161
c658158d
PA
61622014-02-19 Pedro Alves <palves@redhat.com>
6163
6164 * common/ptid.h (struct ptid): Mention that process_stratum
6165 targets should prefer ptid.lwp.
6166
ba348170
PA
61672014-02-19 Pedro Alves <palves@redhat.com>
6168
6169 * remote.c (remote_thread_alive, write_ptid, read_ptid)
6170 (read_ptid, remote_newthread_step, remote_threads_extra_info)
6171 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
6172 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
6173 store remote thread ids rather than ptid.tid.
6174 (_initialize_remote): Adjust.
6175
ac01945b
TT
61762014-02-19 Tom Tromey <tromey@redhat.com>
6177
6178 * target.c (target_get_unwinder): Rewrite.
6179 (target_get_tailcall_unwinder): Rewrite.
6180 * record-btrace.c (record_btrace_to_get_unwinder): New function.
6181 (record_btrace_to_get_tailcall_unwinder): New function.
6182 (init_record_btrace_ops): Update.
6183 * target.h (struct target_ops) <to_get_unwinder,
6184 to_get_tailcall_unwinder>: Now function pointers. Use
6185 TARGET_DEFAULT_RETURN.
6186
8476dc92
TT
61872014-02-19 Tom Tromey <tromey@redhat.com>
6188
6189 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
6190 argument.
6191 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
6192
c0eca49f
TT
61932014-02-19 Tom Tromey <tromey@redhat.com>
6194
6195 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
6196 directly.
6197 * target-delegates.c: Rebuild.
6198 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
6199 TARGET_DEFAULT_FUNC.
6200 * target.c (default_target_decr_pc_after_break): Rename from
6201 forward_target_decr_pc_after_break. Simplify.
6202 (target_decr_pc_after_break): Rely on delegation.
6203
596b6b39
TT
62042014-02-19 Tom Tromey <tromey@redhat.com>
6205
6206 * target.c (update_current_target): Do not INHERIT to_doc or
6207 to_magic. Do not de_fault to_open or to_close.
6208
b427c1bc
TT
62092014-02-19 Tom Tromey <tromey@redhat.com>
6210
6211 * gcore.h (objfile_find_memory_regions): Declare.
6212 * gcore.c (objfile_find_memory_regions): No longer static. Add
6213 "self" argument.
6214 (_initialize_gcore): Don't call exec_set_find_memory_regions.
6215 * exec.c: Include gcore.h.
6216 (exec_set_find_memory_regions): Remove.
6217 (exec_find_memory_regions): Remove.
6218 (exec_do_find_memory_regions): Remove.
6219 (init_exec_ops): Update.
6220 * defs.h (exec_set_find_memory_regions): Remove.
6221
9b144037
TT
62222014-02-19 Tom Tromey <tromey@redhat.com>
6223
6224 * target-delegates.c: Rebuild.
6225 * target.h (struct target_ops) <to_extra_thread_info,
6226 to_thread_name, to_pid_to_exec_file, to_get_section_table,
6227 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
6228 not 0, in TARGET_DEFAULT_RETURN.
6229
555bbdeb
TT
62302014-02-19 Tom Tromey <tromey@redhat.com>
6231
6232 * target.c (complete_target_initialization): Remove casts. Use
6233 return_zero_has_execution.
6234 (return_zero): Add "ignore" argument.
6235 (return_zero_has_execution): New function.
6236 (init_dummy_target): Remove casts. Use
6237 return_zero_has_execution.
6238
be4ddd36
TT
62392014-02-19 Tom Tromey <tromey@redhat.com>
6240
6241 * target.c (update_current_target): Update comments. Do not
6242 INHERIT to_stratum.
6243
2117c711
TT
62442014-02-19 Tom Tromey <tromey@redhat.com>
6245
6246 * arm-linux-nat.c (arm_linux_read_description): Delegate when
6247 needed.
6248 * corelow.c (core_read_description): Delegate when needed.
6249 * remote.c (remote_read_description): Delegate when needed.
6250 * target-delegates.c: Rebuild.
6251 * target.c (target_read_description): Rewrite.
6252 * target.h (struct target_ops) <to_read_description>: Update
6253 comment. Use TARGET_DEFAULT_RETURN.
6254
e88ef65c
TT
62552014-02-19 Tom Tromey <tromey@redhat.com>
6256
6257 * target-delegates.c: Rebuild.
6258 * target.c (update_current_target): Don't inherit or default
6259 to_can_run.
6260 (find_default_run_target): Check against delegate_can_run.
6261 * target.h (struct target_ops) <to_can_run>: Use
6262 TARGET_DEFAULT_RETURN.
6263
86a0854a
TT
62642014-02-19 Tom Tromey <tromey@redhat.com>
6265
6266 * target-delegates.c: Rebuild.
6267 * target.c (target_disconnect): Unconditionally delegate.
6268 * target.h (struct target_ops) <to_disconnect>: Use
6269 TARGET_DEFAULT_NORETURN.
6270
ee97f592
TT
62712014-02-19 Tom Tromey <tromey@redhat.com>
6272
6273 * record.c (record_stop): Unconditionally delegate.
6274 * target-delegates.c: Rebuild.
6275 * target.c (target_stop_recording): Unconditionally delegate.
6276 * target.h (struct target_ops) <to_stop_recording>: Use
6277 TARGET_DEFAULT_IGNORE.
6278
6dc7fcf4
TT
62792014-02-19 Tom Tromey <tromey@redhat.com>
6280
6281 * target-delegates.c: Rebuild.
6282 * target.c (target_enable_btrace): Unconditionally delegate.
6283 * target.h (struct target_ops) <to_enable_btrace>: Use
6284 TARGET_DEFAULT_NORETURN.
6285
eb5b20d4
TT
62862014-02-19 Tom Tromey <tromey@redhat.com>
6287
6288 * target-delegates.c: Rebuild.
6289 * target.c (target_read_btrace): Unconditionally delegate.
6290 * target.h (struct target_ops) <to_read_btrace>: Use
6291 TARGET_DEFAULT_NORETURN.
6292
9ace480d
TT
62932014-02-19 Tom Tromey <tromey@redhat.com>
6294
6295 * target-delegates.c: Rebuild.
6296 * target.c (target_teardown_btrace): Unconditionally delegate.
6297 * target.h (struct target_ops) <to_teardown_btrace>: Use
6298 TARGET_DEFAULT_NORETURN.
6299
8dc292d3
TT
63002014-02-19 Tom Tromey <tromey@redhat.com>
6301
6302 * target-delegates.c: Rebuild.
6303 * target.c (target_disable_btrace): Unconditionally delegate.
6304 * target.h (struct target_ops) <to_disable_btrace>: Use
6305 TARGET_DEFAULT_NORETURN.
6306
58a5184e
TT
63072014-02-19 Tom Tromey <tromey@redhat.com>
6308
6309 * target-delegates.c: Rebuild.
6310 * target.c (default_search_memory): New function.
6311 (simple_search_memory): Update comment.
6312 (target_search_memory): Unconditionally delegate.
6313 * target.h (struct target_ops) <to_search_memory>: Use
6314 TARGET_DEFAULT_FUNC.
6315
8de71aab
TT
63162014-02-19 Tom Tromey <tromey@redhat.com>
6317
6318 * auxv.c (default_auxv_parse): No longer static.
6319 (target_auxv_parse): Unconditionally delegate.
6320 * auxv.h (default_auxv_parse): Declare.
6321 * target-delegates.c: Rebuild.
6322 * target.c: Include auxv.h.
6323 * target.h (struct target_ops) <to_auxv_parse>: Use
6324 TARGET_DEFAULT_FUNC.
6325
6b2c5a57
TT
63262014-02-19 Tom Tromey <tromey@redhat.com>
6327
6328 * target-delegates.c: Rebuild.
6329 * target.c (target_memory_map): Unconditionally delegate.
6330 * target.h (struct target_ops) <to_memory_map>: Use
6331 TARGET_DEFAULT_RETURN.
6332
cbffc065
TT
63332014-02-19 Tom Tromey <tromey@redhat.com>
6334
6335 * target-delegates.c: Rebuild.
6336 * target.c (target_thread_alive): Unconditionally delegate.
6337 * target.h (struct target_ops) <to_thread_alive>: Use
6338 TARGET_DEFAULT_RETURN.
6339
f09e2107
TT
63402014-02-19 Tom Tromey <tromey@redhat.com>
6341
6342 * target-delegates.c: Rebuild.
6343 * target.c (target_save_record): Unconditionally delegate.
6344 * target.h (struct target_ops) <to_save_record>: Use
6345 TARGET_DEFAULT_NORETURN.
6346
07366925
TT
63472014-02-19 Tom Tromey <tromey@redhat.com>
6348
6349 * target-delegates.c: Rebuild.
6350 * target.c (target_delete_record): Unconditionally delegate.
6351 * target.h (struct target_ops) <to_delete_record>: Use
6352 TARGET_DEFAULT_NORETURN.
6353
dd2e9d25
TT
63542014-02-19 Tom Tromey <tromey@redhat.com>
6355
6356 * target-delegates.c: Rebuild.
6357 * target.c (target_record_is_replaying): Unconditionally
6358 delegate.
6359 * target.h (struct target_ops) <to_record_is_replaying>: Use
6360 TARGET_DEFAULT_RETURN.
6361
671e76cc
TT
63622014-02-19 Tom Tromey <tromey@redhat.com>
6363
6364 * target-delegates.c: Rebuild.
6365 * target.c (target_goto_record_begin): Unconditionally delegate.
6366 * target.h (struct target_ops) <to_goto_record_begin>: Use
6367 TARGET_DEFAULT_NORETURN.
6368
e9179bb3
TT
63692014-02-19 Tom Tromey <tromey@redhat.com>
6370
6371 * target-delegates.c: Rebuild.
6372 * target.c (target_goto_record_end): Unconditionally delegate.
6373 * target.h (struct target_ops) <to_goto_record_end>: Use
6374 TARGET_DEFAULT_NORETURN.
6375
05969c84
TT
63762014-02-19 Tom Tromey <tromey@redhat.com>
6377
6378 * target-delegates.c: Rebuild.
6379 * target.c (target_goto_record): Unconditionally delegate.
6380 * target.h (struct target_ops) <to_goto_record>: Use
6381 TARGET_DEFAULT_NORETURN.
6382
3679abfa
TT
63832014-02-19 Tom Tromey <tromey@redhat.com>
6384
6385 * target-delegates.c: Rebuild.
6386 * target.c (target_insn_history): Unconditionally delegate.
6387 * target.h (struct target_ops) <to_insn_history>: Use
6388 TARGET_DEFAULT_NORETURN.
6389
8444ab58
TT
63902014-02-19 Tom Tromey <tromey@redhat.com>
6391
6392 * target-delegates.c: Rebuild.
6393 * target.c (target_insn_history_from): Unconditionally delegate.
6394 * target.h (struct target_ops) <to_insn_history_from>: Use
6395 TARGET_DEFAULT_NORETURN.
6396
c29302cc
TT
63972014-02-19 Tom Tromey <tromey@redhat.com>
6398
6399 * target-delegates.c: Rebuild.
6400 * target.c (target_insn_history_range): Unconditionally delegate.
6401 * target.h (struct target_ops) <to_insn_history_range>: Use
6402 TARGET_DEFAULT_NORETURN.
6403
170049d4
TT
64042014-02-19 Tom Tromey <tromey@redhat.com>
6405
6406 * target-delegates.c: Rebuild.
6407 * target.c (target_call_history): Unconditionally delegate.
6408 * target.h (struct target_ops) <to_call_history>: Use
6409 TARGET_DEFAULT_NORETURN.
6410
16fc27d6
TT
64112014-02-19 Tom Tromey <tromey@redhat.com>
6412
6413 * target-delegates.c: Rebuild.
6414 * target.c (target_call_history_from): Unconditionally delegate.
6415 * target.h (struct target_ops) <to_call_history_from>: Use
6416 TARGET_DEFAULT_NORETURN.
6417
115d9817
TT
64182014-02-19 Tom Tromey <tromey@redhat.com>
6419
6420 * target-delegates.c: Rebuild.
6421 * target.c (target_call_history_range): Unconditionally delegate.
6422 * target.h (struct target_ops) <to_call_history_range>: Use
6423 TARGET_DEFAULT_NORETURN.
6424
eb276a6b
TT
64252014-02-19 Tom Tromey <tromey@redhat.com>
6426
6427 * target-delegates.c: Rebuild.
6428 * target.c (target_verify_memory): Unconditionally delegate.
6429 * target.h (struct target_ops) <to_verify_memory>: Use
6430 TARGET_DEFAULT_NORETURN.
6431
9e538d0d
TT
64322014-02-19 Tom Tromey <tromey@redhat.com>
6433
6434 * target-delegates.c: Rebuild.
6435 * target.c (target_core_of_thread): Unconditionally delegate.
6436 * target.h (struct target_ops) <to_core_of_thread>: Use
6437 TARGET_DEFAULT_RETURN.
6438
f6fb2925
TT
64392014-02-19 Tom Tromey <tromey@redhat.com>
6440
6441 * target-delegates.c: Rebuild.
6442 * target.c (target_flash_done): Unconditionally delegate.
6443 * target.h (struct target_ops) <to_flash_done>: Use
6444 TARGET_DEFAULT_NORETURN.
6445
e8a6c6ac
TT
64462014-02-19 Tom Tromey <tromey@redhat.com>
6447
6448 * target-delegates.c: Rebuild.
6449 * target.c (target_flash_erase): Unconditionally delegate.
6450 * target.h (struct target_ops) <to_flash_erase>: Use
6451 TARGET_DEFAULT_NORETURN.
6452
7e35c012
TT
64532014-02-19 Tom Tromey <tromey@redhat.com>
6454
6455 * target-delegates.c: Rebuild.
6456 * target.c (target_get_section_table): Unconditionally delegate.
6457 * target.h (struct target_ops) <to_get_section_table>: Use
6458 TARGET_DEFAULT_RETURN.
6459
770234d3
TT
64602014-02-19 Tom Tromey <tromey@redhat.com>
6461
6462 * target-delegates.c: Rebuild.
6463 * target.c (target_pid_to_str): Unconditionally delegate.
6464 (init_dummy_target): Don't initialize to_pid_to_str.
6465 (default_pid_to_str): Rename from dummy_pid_to_str.
6466 * target.h (struct target_ops) <to_pid_to_str>: Use
6467 TARGET_DEFAULT_FUNC.
6468
09b0dc2b
TT
64692014-02-19 Tom Tromey <tromey@redhat.com>
6470
6471 * target-delegates.c: Rebuild.
6472 * target.c (target_find_new_threads): Unconditionally delegate.
6473 * target.h (struct target_ops) <to_find_new_threads>: Use
6474 TARGET_DEFAULT_RETURN.
6475
7d4f8efa
TT
64762014-02-19 Tom Tromey <tromey@redhat.com>
6477
6478 * target-delegates.c: Rebuild.
6479 * target.c (target_program_signals): Unconditionally delegate.
6480 * target.h (struct target_ops) <to_program_signals>: Use
6481 TARGET_DEFAULT_IGNORE.
6482
035cad7f
TT
64832014-02-19 Tom Tromey <tromey@redhat.com>
6484
6485 * target-delegates.c: Rebuild.
6486 * target.c (target_pass_signals): Unconditionally delegate.
6487 * target.h (struct target_ops) <to_pass_signals>: Use
6488 TARGET_DEFAULT_IGNORE.
6489
8d657035
TT
64902014-02-19 Tom Tromey <tromey@redhat.com>
6491
6492 * target-delegates.c: Rebuild.
6493 * target.c (default_mourn_inferior): New function.
6494 (target_mourn_inferior): Unconditionally delegate.
6495 * target.h (struct target_ops) <to_mourn_inferior>: Use
6496 TARGET_DEFAULT_FUNC.
6497
098dba18
TT
64982014-02-19 Tom Tromey <tromey@redhat.com>
6499
6500 * target-delegates.c: Rebuild.
6501 * target.c (default_follow_fork): New function.
6502 (target_follow_fork): Unconditionally delegate.
6503 * target.h (struct target_ops) <to_follow_fork>: Use
6504 TARGET_DEFAULT_FUNC.
6505
423a4807
TT
65062014-02-19 Tom Tromey <tromey@redhat.com>
6507
6508 * target-delegates.c: Rebuild.
6509 * target.c (target_kill): Unconditionally delegate.
6510 * target.h (struct target_ops) <to_kill>: Use
6511 TARGET_DEFAULT_NORETURN.
6512
6c7e5e5c
TT
65132014-02-19 Tom Tromey <tromey@redhat.com>
6514
6515 * target-delegates.c: Rebuild.
6516 * target.c (target_masked_watch_num_registers): Unconditionally
6517 delegate.
6518 * target.h (struct target_ops) <to_masked_watch_num_registers>:
6519 Use TARGET_DEFAULT_RETURN.
6520
8b1c364c
TT
65212014-02-19 Tom Tromey <tromey@redhat.com>
6522
6523 * target-delegates.c: Rebuild.
6524 * target.c (target_remove_mask_watchpoint): Unconditionally
6525 delegate.
6526 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
6527 TARGET_DEFAULT_RETURN.
6528
cd4ae029
TT
65292014-02-19 Tom Tromey <tromey@redhat.com>
6530
6531 * target-delegates.c: Rebuild.
6532 * target.c (target_insert_mask_watchpoint): Unconditionally
6533 delegate.
6534 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
6535 TARGET_DEFAULT_RETURN.
6536
a134316b
TT
65372014-02-19 Tom Tromey <tromey@redhat.com>
6538
6539 * target-delegates.c: Rebuild.
6540 * target.c (target_ranged_break_num_registers): Unconditionally
6541 delegate.
6542 * target.h (struct target_ops) <to_ranged_break_num_registers>:
6543 Use TARGET_DEFAULT_RETURN.
6544
ad5989bd
TT
65452014-02-19 Tom Tromey <tromey@redhat.com>
6546
6547 * target-delegates.c: Rebuild.
6548 * target.c (target_fetch_registers): Unconditionally delegate.
6549 * target.h (struct target_ops) <to_fetch_registers>: Use
6550 TARGET_DEFAULT_NORETURN.
6551
46ee7e8d
TT
65522014-02-19 Tom Tromey <tromey@redhat.com>
6553
6554 * target-delegates.c: Rebuild.
6555 * target.c (update_current_target): Don't inherit or default
6556 to_stop.
6557 * target.h (struct target_ops) <to_stop>: Use
6558 TARGET_DEFAULT_IGNORE.
6559
843f59ed
TT
65602014-02-19 Tom Tromey <tromey@redhat.com>
6561
6562 * target-delegates.c: Rebuild.
6563 * target.c (update_current_target): Don't inherit or default
6564 to_can_run_breakpoint_commands.
6565 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
6566 Use TARGET_DEFAULT_RETURN.
6567
ccfde2a0
TT
65682014-02-19 Tom Tromey <tromey@redhat.com>
6569
6570 * target-delegates.c: Rebuild.
6571 * target.c (update_current_target): Don't inherit or default
6572 to_supports_evaluation_of_breakpoint_conditions.
6573 * target.h (struct target_ops)
6574 <to_supports_evaluation_of_breakpoint_conditions>: Use
6575 TARGET_DEFAULT_RETURN.
6576
0de91722
TT
65772014-02-19 Tom Tromey <tromey@redhat.com>
6578
6579 * target-delegates.c: Rebuild.
6580 * target.c (update_current_target): Don't inherit or default
6581 to_augmented_libraries_svr4_read.
6582 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
6583 Use TARGET_DEFAULT_RETURN.
6584
9a7d8b48
TT
65852014-02-19 Tom Tromey <tromey@redhat.com>
6586
6587 * target-delegates.c: Rebuild.
6588 * target.c (update_current_target): Don't inherit or default
6589 to_can_use_agent.
6590 * target.h (struct target_ops) <to_can_use_agent>: Use
6591 TARGET_DEFAULT_RETURN.
6592
d9db5b21
TT
65932014-02-19 Tom Tromey <tromey@redhat.com>
6594
6595 * target-delegates.c: Rebuild.
6596 * target.c (update_current_target): Don't inherit or default
6597 to_use_agent.
6598 * target.h (struct target_ops) <to_use_agent>: Use
6599 TARGET_DEFAULT_NORETURN.
6600
92155eeb
TT
66012014-02-19 Tom Tromey <tromey@redhat.com>
6602
6603 * target-delegates.c: Rebuild.
6604 * target.c (update_current_target): Don't inherit or default
6605 to_traceframe_info.
6606 (return_null): Remove.
6607 * target.h (struct target_ops) <to_traceframe_info>: Use
6608 TARGET_DEFAULT_RETURN.
6609
d6522a22
TT
66102014-02-19 Tom Tromey <tromey@redhat.com>
6611
6612 * target-delegates.c: Rebuild.
6613 * target.c (update_current_target): Don't inherit or default
6614 to_static_tracepoint_markers_by_strid.
6615 * target.h (struct target_ops)
6616 <to_static_tracepoint_markers_by_strid>: Use
6617 TARGET_DEFAULT_NORETURN.
6618
4c3e4425
TT
66192014-02-19 Tom Tromey <tromey@redhat.com>
6620
6621 * target-delegates.c: Rebuild.
6622 * target.c (update_current_target): Don't inherit or default
6623 to_static_tracepoint_marker_at.
6624 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
6625 Use TARGET_DEFAULT_RETURN.
6626
dcd6917f
TT
66272014-02-19 Tom Tromey <tromey@redhat.com>
6628
6629 * target-delegates.c: Rebuild.
6630 * target.c (update_current_target): Don't inherit or default
6631 to_set_permissions.
6632 * target.h (struct target_ops) <to_set_permissions>: Use
6633 TARGET_DEFAULT_IGNORE.
6634
22bcceee
TT
66352014-02-19 Tom Tromey <tromey@redhat.com>
6636
6637 * target-delegates.c: Rebuild.
6638 * target.c (update_current_target): Don't inherit or default
6639 to_get_tib_address.
6640 * target.h (struct target_ops) <to_get_tib_address>: Use
6641 TARGET_DEFAULT_NORETURN.
6642
8586ccaa
TT
66432014-02-19 Tom Tromey <tromey@redhat.com>
6644
6645 * target-delegates.c: Rebuild.
6646 * target.c (update_current_target): Don't inherit or default
6647 to_set_trace_notes.
6648 * target.h (struct target_ops) <to_set_trace_notes>: Use
6649 TARGET_DEFAULT_RETURN.
6650
91df8d1d
TT
66512014-02-19 Tom Tromey <tromey@redhat.com>
6652
6653 * target-delegates.c: Rebuild.
6654 * target.c (update_current_target): Don't initialize
6655 to_set_trace_buffer_size.
6656 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
6657 TARGET_DEFAULT_IGNORE.
6658
8d526939
TT
66592014-02-19 Tom Tromey <tromey@redhat.com>
6660
6661 * target-delegates.c: Rebuild.
6662 * target.c (update_current_target): Don't inherit or default
6663 to_set_circular_trace_buffer.
6664 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
6665 TARGET_DEFAULT_IGNORE.
6666
0bcfeddf
TT
66672014-02-19 Tom Tromey <tromey@redhat.com>
6668
6669 * target-delegates.c: Rebuild.
6670 * target.c (update_current_target): Don't inherit or default
6671 to_set_disconnected_tracing.
6672 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
6673 TARGET_DEFAULT_IGNORE.
6674
9249843f
TT
66752014-02-19 Tom Tromey <tromey@redhat.com>
6676
6677 * target-delegates.c: Rebuild.
6678 * target.c (update_current_target): Don't inherit or default
6679 to_get_min_fast_tracepoint_insn_len.
6680 (return_minus_one): Remove.
6681 * target.h (struct target_ops)
6682 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
6683
ace92e7d
TT
66842014-02-19 Tom Tromey <tromey@redhat.com>
6685
6686 * target-delegates.c: Rebuild.
6687 * target.c (update_current_target): Don't inherit or default
6688 to_get_raw_trace_data.
6689 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
6690 TARGET_DEFAULT_NORETURN.
6691
08120467
TT
66922014-02-19 Tom Tromey <tromey@redhat.com>
6693
6694 * target-delegates.c: Rebuild.
6695 * target.c (update_current_target): Don't inherit or default
6696 to_upload_trace_state_variables.
6697 * target.h (struct target_ops) <to_upload_trace_state_variables>:
6698 Use TARGET_DEFAULT_RETURN.
6699
1e949b00
TT
67002014-02-19 Tom Tromey <tromey@redhat.com>
6701
6702 * target-delegates.c: Rebuild.
6703 * target.c (update_current_target): Don't inherit or default
6704 to_upload_tracepoints.
6705 * target.h (struct target_ops) <to_upload_tracepoints>: Use
6706 TARGET_DEFAULT_RETURN.
6707
a2e6c147
TT
67082014-02-19 Tom Tromey <tromey@redhat.com>
6709
6710 * target-delegates.c: Rebuild.
6711 * target.c (update_current_target): Don't inherit or default
6712 to_save_trace_data.
6713 * target.h (struct target_ops) <to_save_trace_data>: Use
6714 TARGET_DEFAULT_NORETURN.
6715
959bcd0b
TT
67162014-02-19 Tom Tromey <tromey@redhat.com>
6717
6718 * target-delegates.c: Rebuild.
6719 * target.c (update_current_target): Don't inherit or default
6720 to_get_trace_state_variable_value.
6721 * target.h (struct target_ops)
6722 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
6723
afc94e66
TT
67242014-02-19 Tom Tromey <tromey@redhat.com>
6725
6726 * target-delegates.c: Rebuild.
6727 * target.c (update_current_target): Don't inherit or default
6728 to_trace_find.
6729 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
6730
e51c07ea
TT
67312014-02-19 Tom Tromey <tromey@redhat.com>
6732
6733 * target-delegates.c: Rebuild.
6734 * target.c (update_current_target): Don't inherit or default
6735 to_trace_stop.
6736 * target.h (struct target_ops) <to_trace_stop>: Use
6737 TARGET_DEFAULT_NORETURN.
6738
6fea14cd
TT
67392014-02-19 Tom Tromey <tromey@redhat.com>
6740
6741 * target-delegates.c: Rebuild.
6742 * target.c (update_current_target): Don't inherit or default
6743 to_get_tracepoint_status.
6744 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
6745 TARGET_DEFAULT_NORETURN.
6746
4072d4ff
TT
67472014-02-19 Tom Tromey <tromey@redhat.com>
6748
6749 * target-delegates.c: Rebuild.
6750 * target.c (update_current_target): Don't inherit or default
6751 to_get_trace_status.
6752 * target.h (struct target_ops) <to_get_trace_status>: Use
6753 TARGET_DEFAULT_RETURN.
6754
25da2e80
TT
67552014-02-19 Tom Tromey <tromey@redhat.com>
6756
6757 * target-delegates.c: Rebuild.
6758 * target.c (update_current_target): Don't inherit or default
6759 to_trace_start.
6760 * target.h (struct target_ops) <to_trace_start>: Use
6761 TARGET_DEFAULT_NORETURN.
6762
86dd181d
TT
67632014-02-19 Tom Tromey <tromey@redhat.com>
6764
6765 * target-delegates.c: Rebuild.
6766 * target.c (update_current_target): Don't inherit or default
6767 to_trace_set_readonly_regions.
6768 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
6769 Use TARGET_DEFAULT_NORETURN.
6770
05c41993
TT
67712014-02-19 Tom Tromey <tromey@redhat.com>
6772
6773 * target-delegates.c: Rebuild.
6774 * target.c (update_current_target): Don't inherit or default
6775 to_disable_tracepoint.
6776 * target.h (struct target_ops) <to_disable_tracepoint>: Use
6777 TARGET_DEFAULT_NORETURN.
6778
151f70f1
TT
67792014-02-19 Tom Tromey <tromey@redhat.com>
6780
6781 * target-delegates.c: Rebuild.
6782 * target.c (update_current_target): Don't inherit or default
6783 to_enable_tracepoint.
6784 * target.h (struct target_ops) <to_enable_tracepoint>: Use
6785 TARGET_DEFAULT_NORETURN.
6786
94eb98b9
TT
67872014-02-19 Tom Tromey <tromey@redhat.com>
6788
6789 * target-delegates.c: Rebuild.
6790 * target.c (update_current_target): Don't inherit or default
6791 to_download_trace_state_variable.
6792 * target.h (struct target_ops) <to_download_trace_state_variable>:
6793 Use TARGET_DEFAULT_NORETURN.
6794
719acc4a
TT
67952014-02-19 Tom Tromey <tromey@redhat.com>
6796
6797 * target-delegates.c: Rebuild.
6798 * target.c (update_current_target): Don't inherit or default
6799 to_can_download_tracepoint.
6800 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
6801 TARGET_DEFAULT_RETURN.
6802
9a980a22
TT
68032014-02-19 Tom Tromey <tromey@redhat.com>
6804
6805 * target-delegates.c: Rebuild.
6806 * target.c (update_current_target): Don't inherit or default
6807 to_download_tracepoint.
6808 * target.h (struct target_ops) <to_download_tracepoint>: Use
6809 TARGET_DEFAULT_NORETURN.
6810
5536135b
TT
68112014-02-19 Tom Tromey <tromey@redhat.com>
6812
6813 * target-delegates.c: Rebuild.
6814 * target.c (update_current_target): Don't inherit or default
6815 to_trace_init.
6816 * target.h (struct target_ops) <to_trace_init>: Use
6817 TARGET_DEFAULT_RETURN.
6818
9409d39e
TT
68192014-02-19 Tom Tromey <tromey@redhat.com>
6820
6821 * target-delegates.c: Rebuild.
6822 * target.c (update_current_target): Don't inherit or default
6823 to_supports_string_tracing.
6824 * target.h (struct target_ops) <to_supports_string_tracing>: Use
6825 TARGET_DEFAULT_RETURN.
6826
aab1b22d
TT
68272014-02-19 Tom Tromey <tromey@redhat.com>
6828
6829 * target-delegates.c: Rebuild.
6830 * target.c (update_current_target): Don't inherit or default
6831 to_supports_enable_disable_tracepoint.
6832 * target.h (struct target_ops)
6833 <to_supports_enable_disable_tracepoint>: Use
6834 TARGET_DEFAULT_RETURN.
6835
a7304748
TT
68362014-02-19 Tom Tromey <tromey@redhat.com>
6837
6838 * target-delegates.c: Rebuild.
6839 * target.c (update_current_target): Don't inherit or default
6840 to_supports_multi_process.
6841 * target.h (struct target_ops) <to_supports_multi_process>: Use
6842 TARGET_DEFAULT_RETURN.
6843
4229b31d
TT
68442014-02-19 Tom Tromey <tromey@redhat.com>
6845
6846 * target-delegates.c: Rebuild.
6847 * target.c (update_current_target): Don't inherit or default
6848 to_get_ada_task_ptid.
6849 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
6850 TARGET_DEFAULT_FUNC.
6851
43eba180
TT
68522014-02-19 Tom Tromey <tromey@redhat.com>
6853
6854 * target-delegates.c: Rebuild.
6855 * target.c (update_current_target): Don't inherit or default
6856 to_thread_architecture.
6857 * target.h (struct target_ops) <to_thread_architecture>: Use
6858 TARGET_DEFAULT_FUNC.
6859
fe31bf5b
TT
68602014-02-19 Tom Tromey <tromey@redhat.com>
6861
6862 * target-delegates.c: Rebuild.
6863 * target.c (update_current_target): Don't inherit or default
6864 to_execution_direction.
6865 * target.h (struct target_ops) <to_execution_direction>: Use
6866 TARGET_DEFAULT_FUNC.
6867
53e1cfc7
TT
68682014-02-19 Tom Tromey <tromey@redhat.com>
6869
6870 * target-delegates.c: Rebuild.
6871 * target.c (update_current_target): Don't inherit or default
6872 to_can_execute_reverse.
6873 * target.h (struct target_ops) <to_can_execute_reverse>: Use
6874 TARGET_DEFAULT_RETURN.
6875 (target_can_execute_reverse): Unconditionally delegate.
6876
9bb9d61d
TT
68772014-02-19 Tom Tromey <tromey@redhat.com>
6878
6879 * target-delegates.c: Rebuild.
6880 * target.c (update_current_target): Don't inherit or default
6881 to_goto_bookmark.
6882 (dummy_goto_bookmark): Remove.
6883 (init_dummy_target): Don't inherit or default to_goto_bookmark.
6884 * target.h (struct target_ops) <to_goto_bookmark>: Use
6885 TARGET_DEFAULT_NORETURN.
6886
3dbafbbb
TT
68872014-02-19 Tom Tromey <tromey@redhat.com>
6888
6889 * target-delegates.c: Rebuild.
6890 * target.c (update_current_target): Don't inherit or default
6891 to_get_bookmark.
6892 (dummy_get_bookmark): Remove.
6893 (init_dummy_target): Don't inherit or default to_get_bookmark.
6894 * target.h (struct target_ops) <to_get_bookmark>: Use
6895 TARGET_DEFAULT_NORETURN
6896
16f796b1
TT
68972014-02-19 Tom Tromey <tromey@redhat.com>
6898
6899 * target-delegates.c: Rebuild.
6900 * target.c (update_current_target): Don't inherit or default
6901 to_make_corefile_notes.
6902 (init_dummy_target): Don't initialize to_make_corefile_notes.
6903 * target.h (struct target_ops) <to_make_corefile_notes>: Use
6904 TARGET_DEFAULT_FUNC.
6905
0b5a2719
TT
69062014-02-19 Tom Tromey <tromey@redhat.com>
6907
6908 * target-delegates.c: Rebuild.
6909 * target.c (update_current_target): Don't inherit or default
6910 to_find_memory_regions.
6911 (init_dummy_target): Don't initialize to_find_memory_regions.
6912 * target.h (struct target_ops) <to_find_memory_regions>: Use
6913 TARGET_DEFAULT_FUNC.
6914
d9cb0195
TT
69152014-02-19 Tom Tromey <tromey@redhat.com>
6916
6917 * target-delegates.c: Rebuild.
6918 * target.c (update_current_target): Don't inherit or default
6919 to_log_command.
6920 * target.h (struct target_ops) <to_log_command>: Use
6921 TARGET_DEFAULT_IGNORE.
6922 (target_log_command): Unconditionally delegate.
6923
830ca330
TT
69242014-02-19 Tom Tromey <tromey@redhat.com>
6925
6926 * target-delegates.c: Rebuild.
6927 * target.c (update_current_target): Don't inherit or default
6928 to_pid_to_exec_file.
6929 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
6930 TARGET_DEFAULT_RETURN.
6931
825828fc
TT
69322014-02-19 Tom Tromey <tromey@redhat.com>
6933
6934 * target-delegates.c: Rebuild.
6935 * target.c (update_current_target): Don't inherit or default
6936 to_thread_name.
6937 (target_thread_name): Unconditionally delegate.
6938 * target.h (struct target_ops) <to_thread_name>: Use
6939 TARGET_DEFAULT_RETURN.
6940
4a7e6dda
TT
69412014-02-19 Tom Tromey <tromey@redhat.com>
6942
6943 * target-delegates.c: Rebuild.
6944 * target.c (update_current_target): Don't inherit or default
6945 to_extra_thread_info.
6946 * target.h (struct target_ops) <to_extra_thread_info>: Use
6947 TARGET_DEFAULT_RETURN.
6948
0db88c1d
TT
69492014-02-19 Tom Tromey <tromey@redhat.com>
6950
6951 * target-delegates.c: Rebuild.
6952 * target.c (update_current_target): Don't inherit or default
6953 to_has_exited.
6954 * target.h (struct target_ops) <to_has_exited>: Use
6955 TARGET_DEFAULT_RETURN..
6956
6a9fa051
TT
69572014-02-19 Tom Tromey <tromey@redhat.com>
6958
6959 * target-delegates.c: Rebuild.
6960 * target.c (update_current_target): Don't inherit or default
6961 to_set_syscall_catchpoint.
6962 (return_one): Remove.
6963 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
6964 TARGET_DEFAULT_RETURN.
6965
62f64d7a
TT
69662014-02-19 Tom Tromey <tromey@redhat.com>
6967
6968 * target-delegates.c: Rebuild.
6969 * target.c (update_current_target): Don't inherit or default
6970 to_insert_exec_catchpoint.
6971 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
6972 TARGET_DEFAULT_RETURN.
6973
cda0f38c
TT
69742014-01-08 Tom Tromey <tromey@redhat.com>
6975
6976 * target-delegates.c: Rebuild.
6977 * target.c (update_current_target): Don't inherit or default
6978 to_insert_exec_catchpoint.
6979 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
6980 TARGET_DEFAULT_RETURN.
6981
95c3375e
TT
69822014-02-19 Tom Tromey <tromey@redhat.com>
6983
6984 * target-delegates.c: Rebuild.
6985 * target.c (update_current_target): Don't inherit or default
6986 to_remove_vfork_catchpoint.
6987 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
6988 TARGET_DEFAULT_RETURN.
6989
7e18a8dc
TT
69902014-02-19 Tom Tromey <tromey@redhat.com>
6991
6992 * target-delegates.c: Rebuild.
6993 * target.c (update_current_target): Don't inherit or default
6994 to_insert_vfork_catchpoint.
6995 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
6996 TARGET_DEFAULT_RETURN.
6997
e1a21fb7
TT
69982014-02-19 Tom Tromey <tromey@redhat.com>
6999
7000 * target-delegates.c: Rebuild.
7001 * target.c (update_current_target): Don't inherit or default
7002 to_remove_fork_catchpoint.
7003 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
7004 TARGET_DEFAULT_RETURN.
7005
5958ebeb
TT
70062014-02-19 Tom Tromey <tromey@redhat.com>
7007
7008 * target-delegates.c: Rebuild.
7009 * target.c (update_current_target): Don't inherit or default
7010 to_insert_fork_catchpoint.
7011 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
7012 TARGET_DEFAULT_RETURN.
7013
340ba4bf
TT
70142014-02-19 Tom Tromey <tromey@redhat.com>
7015
7016 * target-delegates.c: Rebuild.
7017 * target.c (update_current_target): Don't inherit or default
7018 to_post_startup_inferior.
7019 * target.h (struct target_ops) <to_post_startup_inferior>: Use
7020 TARGET_DEFAULT_IGNORE.
7021
7634da87
TT
70222014-02-19 Tom Tromey <tromey@redhat.com>
7023
7024 * target-delegates.c: Rebuild.
7025 * target.c (update_current_target): Don't inherit or default
7026 to_load.
7027 * target.h (struct target_ops) <to_load>: Use
7028 TARGET_DEFAULT_NORETURN.
7029
e19e919f
TT
70302014-02-19 Tom Tromey <tromey@redhat.com>
7031
7032 * target-delegates.c: Rebuild.
7033 * target.c (update_current_target): Don't inherit or default
7034 to_terminal_info.
7035 * target.h (struct target_ops) <to_terminal_info>: Use
7036 TARGET_DEFAULT_FUNC.
7037
c6ea8f79
TT
70382014-02-19 Tom Tromey <tromey@redhat.com>
7039
7040 * target-delegates.c: Rebuild.
7041 * target.c (update_current_target): Don't inherit or default
7042 to_terminal_save_ours.
7043 * target.h (struct target_ops) <to_terminal_save_ours>: Use
7044 TARGET_DEFAULT_IGNORE.
7045
e4a733f1
TT
70462014-02-19 Tom Tromey <tromey@redhat.com>
7047
7048 * target-delegates.c: Rebuild.
7049 * target.c (update_current_target): Don't inherit or default
7050 to_terminal_ours.
7051 * target.h (struct target_ops) <to_terminal_ours>: Use
7052 TARGET_DEFAULT_IGNORE.
7053
74fcbef9
TT
70542014-02-19 Tom Tromey <tromey@redhat.com>
7055
7056 * target-delegates.c: Rebuild.
7057 * target.c (update_current_target): Don't inherit or default
7058 to_terminal_ours_for_output.
7059 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
7060 TARGET_DEFAULT_IGNORE.
7061
ddeaacc9
TT
70622014-02-19 Tom Tromey <tromey@redhat.com>
7063
7064 * target-delegates.c: Rebuild.
7065 * target.c (update_current_target): Don't inherit or default
7066 to_terminal_inferior.
7067 * target.h (struct target_ops) <to_terminal_inferior>: Use
7068 TARGET_DEFAULT_IGNORE.
7069
0343661d
TT
70702014-02-19 Tom Tromey <tromey@redhat.com>
7071
7072 * target-delegates.c: Rebuild.
7073 * target.c (update_current_target): Don't inherit or default
7074 to_terminal_init.
7075 * target.h (struct target_ops) <to_terminal_init>: Use
7076 TARGET_DEFAULT_IGNORE.
7077
77cdffe9
TT
70782014-02-19 Tom Tromey <tromey@redhat.com>
7079
7080 * target-delegates.c: Rebuild.
7081 * target.c (update_current_target): Don't inherit or default
7082 to_can_accel_watchpoint_condition.
7083 * target.h (struct target_ops)
7084 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
7085
d03655e4
TT
70862014-02-19 Tom Tromey <tromey@redhat.com>
7087
7088 * target-delegates.c: Rebuild.
7089 * target.c (update_current_target): Don't inherit or default
7090 to_region_ok_for_hw_watchpoint.
7091 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
7092 Use TARGET_DEFAULT_FUNC.
7093
65f160a9
TT
70942014-02-19 Tom Tromey <tromey@redhat.com>
7095
7096 * target-delegates.c: Rebuild.
7097 * target.c (update_current_target): Don't inherit or default
7098 to_watchpoint_addr_within_range.
7099 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
7100 Use TARGET_DEFAULT_FUNC.
7101
61dd109f
TT
71022014-02-19 Tom Tromey <tromey@redhat.com>
7103
7104 * target-delegates.c: Rebuild.
7105 * target.c (update_current_target): Don't inherit or default
7106 to_remove_watchpoint.
7107 * target.h (struct target_ops) <to_remove_watchpoint>: Use
7108 TARGET_DEFAULT_NORETURN.
7109
016facd4
TT
71102014-02-19 Tom Tromey <tromey@redhat.com>
7111
7112 * target-delegates.c: Rebuild.
7113 * target.c (update_current_target): Don't inherit or default
7114 to_insert_watchpoint.
7115 * target.h (struct target_ops) <to_insert_watchpoint>: Use
7116 TARGET_DEFAULT_RETURN.
7117
418dabac
TT
71182014-02-19 Tom Tromey <tromey@redhat.com>
7119
7120 * target-delegates.c: Rebuild.
7121 * target.c (update_current_target): Don't inherit or default
7122 to_remove_hw_breakpoint.
7123 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
7124 TARGET_DEFAULT_RETURN.
7125
61b371f9
TT
71262014-02-19 Tom Tromey <tromey@redhat.com>
7127
7128 * target-delegates.c: Rebuild.
7129 * target.c (update_current_target): Don't inherit or default
7130 to_insert_hw_breakpoint.
7131 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
7132 TARGET_DEFAULT_RETURN.
7133
52b51d06
TT
71342014-02-19 Tom Tromey <tromey@redhat.com>
7135
7136 * target-delegates.c: Rebuild.
7137 * target.c (update_current_target): Don't inherit or default
7138 to_can_use_hw_breakpoint.
7139 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
7140 TARGET_DEFAULT_RETURN.
7141
f86e59b2
TT
71422014-02-19 Tom Tromey <tromey@redhat.com>
7143
7144 * target-delegates.c: Rebuild.
7145 * target.c (update_current_target): Don't inherit or default
7146 to_files_info.
7147 * target.h (struct target_ops) <to_files_info>: Use
7148 TARGET_DEFAULT_IGNORE.
7149
6c628163
TT
71502014-02-19 Tom Tromey <tromey@redhat.com>
7151
7152 * target-delegates.c: Rebuild.
7153 * target.c (update_current_target): Don't inherit or default
7154 to_store.
7155 * target.h (struct target_ops) <to_store>: Use
7156 TARGET_DEFAULT_NORETURN.
7157
bebd3233
TT
71582014-02-19 Tom Tromey <tromey@redhat.com>
7159
7160 * target-delegates.c: Rebuild.
7161 * target.c (update_current_target): Don't inherit or default
7162 to_post_attach.
7163 * target.h (struct target_ops) <to_post_attach>: Use
7164 TARGET_DEFAULT_IGNORE.
7165
a53f3625
TT
71662014-02-19 Tom Tromey <tromey@redhat.com>
7167
7168 * target-delegates.c: Rebuild.
7169 * target.c (update_current_target): Don't inherit or default
7170 to_rcmd.
7171 (default_rcmd): New function.
7172 (do_monitor_command): Unconditionally delegate.
7173 * target.h (struct target_ops) <to_rmcd>: Use
7174 TARGET_DEFAULT_FUNC.
7175
e9a29200
TT
71762014-02-19 Tom Tromey <tromey@redhat.com>
7177
7178 * target-delegates.c: Rebuild.
7179 * target.c (init_dummy_target): Don't initialize to_attach.
7180 (target_attach): Unconditionally delegate.
7181 * target.h (struct target_ops) <to_attach>: Use
7182 TARGET_DEFAULT_FUNC.
7183
09da0d0a
TT
71842014-02-19 Tom Tromey <tromey@redhat.com>
7185
7186 * target-delegates.c: Rebuild.
7187 * target.c (target_detach): Unconditionally delegate.
7188 (init_dummy_target): Don't initialize to_detach.
7189 * target.h (struct target_ops) <to_detach>: Use
7190 TARGET_DEFAULT_IGNORE.
7191
5436ff03
TT
71922014-02-19 Tom Tromey <tromey@redhat.com>
7193
7194 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
7195 Add argument.
7196 (target_augmented_libraries_svr4_read): Add argument.
7197 * target.c (update_current_target): Update.
7198 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
7199 argument.
7200
f0d960ea
TT
72012014-02-19 Tom Tromey <tromey@redhat.com>
7202
7203 * target.h (struct target_ops) <to_call_history_range>: Add
7204 argument.
7205 * target.c (target_call_history_range): Add argument.
7206 * record-btrace.c (record_btrace_call_history_range): Add 'self'
7207 argument.
7208 (record_btrace_call_history_from): Update.
7209
ec0aea04
TT
72102014-02-19 Tom Tromey <tromey@redhat.com>
7211
7212 * target.h (struct target_ops) <to_call_history_from>: Add
7213 argument.
7214 * target.c (target_call_history_from): Add argument.
7215 * record-btrace.c (record_btrace_call_history_from): Add 'self'
7216 argument.
7217
5df2fcba
TT
72182014-02-19 Tom Tromey <tromey@redhat.com>
7219
7220 * target.h (struct target_ops) <to_call_history>: Add argument.
7221 * target.c (target_call_history): Add argument.
7222 * record-btrace.c (record_btrace_call_history): Add 'self'
7223 argument.
7224
4e99c6b7
TT
72252014-02-19 Tom Tromey <tromey@redhat.com>
7226
7227 * target.h (struct target_ops) <to_insn_history_range>: Add
7228 argument.
7229 * target.c (target_insn_history_range): Add argument.
7230 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
7231 argument.
7232 (record_btrace_insn_history_from): Update.
7233
9abc3ff3
TT
72342014-02-19 Tom Tromey <tromey@redhat.com>
7235
7236 * target.h (struct target_ops) <to_insn_history_from>: Add
7237 argument.
7238 * target.c (target_insn_history_from): Add argument.
7239 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
7240 argument.
7241
7a6c5609
TT
72422014-02-19 Tom Tromey <tromey@redhat.com>
7243
7244 * target.h (struct target_ops) <to_insn_history>: Add argument.
7245 * target.c (target_insn_history): Add argument.
7246 * record-btrace.c (record_btrace_insn_history): Add 'self'
7247 argument.
7248
606183ac
TT
72492014-02-19 Tom Tromey <tromey@redhat.com>
7250
7251 * target.h (struct target_ops) <to_goto_record>: Add argument.
7252 * target.c (target_goto_record): Add argument.
7253 * record-full.c (record_full_goto): Add 'self' argument.
7254 * record-btrace.c (record_btrace_goto): Add 'self' argument.
7255
307a1b91
TT
72562014-02-19 Tom Tromey <tromey@redhat.com>
7257
7258 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
7259 * target.c (target_goto_record_end): Add argument.
7260 * record-full.c (record_full_goto_end): Add 'self' argument.
7261 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
7262
08475817
TT
72632014-02-19 Tom Tromey <tromey@redhat.com>
7264
7265 * target.h (struct target_ops) <to_goto_record_begin>: Add
7266 argument.
7267 * target.c (target_goto_record_begin): Add argument.
7268 * record-full.c (record_full_goto_begin): Add 'self' argument.
7269 * record-btrace.c (record_btrace_goto_begin): Add 'self'
7270 argument.
7271
1c63c994
TT
72722014-02-19 Tom Tromey <tromey@redhat.com>
7273
7274 * target.h (struct target_ops) <to_record_is_replaying>: Add
7275 argument.
7276 * target.c (target_record_is_replaying): Add argument.
7277 * record-full.c (record_full_is_replaying): Add 'self' argument.
7278 * record-btrace.c (record_btrace_is_replaying): Add 'self'
7279 argument.
7280 (record_btrace_xfer_partial, record_btrace_store_registers)
7281 (record_btrace_prepare_to_store, record_btrace_resume)
7282 (record_btrace_wait, record_btrace_decr_pc_after_break)
7283 (record_btrace_find_new_threads, record_btrace_thread_alive):
7284 Update.
7285
d1b55219
TT
72862014-02-19 Tom Tromey <tromey@redhat.com>
7287
7288 * target.h (struct target_ops) <to_delete_record>: Add argument.
7289 * target.c (target_delete_record): Add argument.
7290 * record-full.c (record_full_delete): Add 'self' argument.
7291
1390f529
TT
72922014-02-19 Tom Tromey <tromey@redhat.com>
7293
7294 * target.h (struct target_ops) <to_save_record>: Add argument.
7295 * target.c (target_save_record): Add argument.
7296 * record-full.c (record_full_save): Add 'self' argument.
7297 (record_full_save): Add 'self' argument.
7298
630d6a4a
TT
72992014-02-19 Tom Tromey <tromey@redhat.com>
7300
7301 * target.h (struct target_ops) <to_info_record>: Add argument.
7302 * target.c (target_info_record): Add argument.
7303 * record.c (info_record_command): Add argument.
7304 * record-full.c (record_full_info): Add 'self' argument.
7305 * record-btrace.c (record_btrace_info): Add 'self' argument.
7306
c6cd7c02
TT
73072014-02-19 Tom Tromey <tromey@redhat.com>
7308
7309 * target.h (struct target_ops) <to_stop_recording>: Add argument.
7310 * target.c (target_stop_recording): Add argument.
7311 * record.c (record_stop): Add argument.
7312 * record-btrace.c (record_btrace_stop_recording): Add 'self'
7313 argument.
7314
39c49f83
TT
73152014-02-19 Tom Tromey <tromey@redhat.com>
7316
7317 * target.h (struct target_ops) <to_read_btrace>: Add argument.
7318 * target.c (struct target_ops) <to_read_btrace>: Add argument.
7319 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
7320 argument.
7321 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
7322 (_initialize_amd64_linux_nat): Use it.
7323 * i386-linux-nat.c (i386_linux_read_btrace): New function.
7324 (_initialize_i386_linux_nat): Use it.
7325
1777056d
TT
73262014-02-19 Tom Tromey <tromey@redhat.com>
7327
7328 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
7329 * target.c (target_teardown_btrace): Add argument.
7330 * remote.c (remote_teardown_btrace): Add 'self' argument.
7331 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
7332 argument.
7333 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
7334 argument.
7335
25e95349
TT
73362014-02-19 Tom Tromey <tromey@redhat.com>
7337
7338 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
7339 * target.c (target_disable_btrace): Add argument.
7340 * remote.c (remote_disable_btrace): Add 'self' argument.
7341 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
7342 argument.
7343 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
7344 argument.
7345
e3c49f88
TT
73462014-02-19 Tom Tromey <tromey@redhat.com>
7347
7348 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
7349 * target.c (target_enable_btrace): Add argument.
7350 * remote.c (remote_enable_btrace): Add 'self' argument.
7351 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
7352 argument.
7353 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
7354 argument.
7355
fe38f897
TT
73562014-02-19 Tom Tromey <tromey@redhat.com>
7357
7358 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
7359 (target_can_use_agent): Add argument.
7360 * target.c (update_current_target): Update.
7361 * remote.c (remote_can_use_agent): Add 'self' argument.
7362 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
7363
2c152180
TT
73642014-02-19 Tom Tromey <tromey@redhat.com>
7365
7366 * target.h (struct target_ops) <to_use_agent>: Add argument.
7367 (target_use_agent): Add argument.
7368 * target.c (update_current_target): Update.
7369 * remote.c (remote_use_agent): Add 'self' argument.
7370 * inf-child.c (inf_child_use_agent): Add 'self' argument.
7371
a893e81f
TT
73722014-02-19 Tom Tromey <tromey@redhat.com>
7373
7374 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
7375 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
7376 (target_traceframe_info): Add argument.
7377 * target.c (update_current_target): Update.
7378 * remote.c (remote_traceframe_info): Add 'self' argument.
7379 * ctf.c (ctf_traceframe_info): Add 'self' argument.
7380
c686c57f
TT
73812014-02-19 Tom Tromey <tromey@redhat.com>
7382
7383 * target.h (target_static_tracepoint_markers_by_strid): Add
7384 argument.
7385 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
7386 'self' argument.
7387 * target.c (update_current_target): Update.
7388 * remote.c (struct target_ops)
7389 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
7390 * linux-nat.c (struct target_ops)
7391 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
7392
61fc905d
TT
73932014-02-19 Tom Tromey <tromey@redhat.com>
7394
7395 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
7396 Add argument.
7397 (target_static_tracepoint_marker_at): Add argument.
7398 * target.c (update_current_target): Update.
7399 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
7400 argument.
7401
c378d69d
TT
74022014-02-19 Tom Tromey <tromey@redhat.com>
7403
7404 * target.h (struct target_ops) <to_set_permissions>: Add argument.
7405 (target_set_permissions): Add argument.
7406 * target.c (update_current_target): Update.
7407 * remote.c (remote_set_permissions): Add 'self' argument.
7408 (remote_start_remote): Update.
7409
bd7ae0f5
TT
74102014-02-19 Tom Tromey <tromey@redhat.com>
7411
7412 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
7413 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
7414 (target_get_tib_address): Add argument.
7415 * target.c (update_current_target): Update.
7416 * remote.c (remote_get_tib_address): Add 'self' argument.
7417
d9e68a2c
TT
74182014-02-19 Tom Tromey <tromey@redhat.com>
7419
7420 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
7421 (target_set_trace_notes): Add argument.
7422 * target.c (update_current_target): Update.
7423 * remote.c (remote_set_trace_notes): Add 'self' argument.
7424
4da384be
TT
74252014-02-19 Tom Tromey <tromey@redhat.com>
7426
7427 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
7428 argument.
7429 (target_set_trace_buffer_size): Add argument.
7430 * target.c (update_current_target): Update.
7431 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
7432
736d5b1f
TT
74332014-02-19 Tom Tromey <tromey@redhat.com>
7434
7435 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
7436 argument.
7437 (target_set_circular_trace_buffer): Add argument.
7438 * target.c (update_current_target): Update.
7439 * remote.c (remote_set_circular_trace_buffer): Add 'self'
7440 argument.
7441
37b25738
TT
74422014-02-19 Tom Tromey <tromey@redhat.com>
7443
7444 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
7445 argument.
7446 (target_set_disconnected_tracing): Add argument.
7447 * target.c (update_current_target): Update.
7448 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
7449
0e67620a
TT
74502014-02-19 Tom Tromey <tromey@redhat.com>
7451
7452 * target.h (struct target_ops)
7453 <to_get_min_fast_tracepoint_insn_len>: Add argument.
7454 (target_get_min_fast_tracepoint_insn_len): Add argument.
7455 * target.c (update_current_target): Update.
7456 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
7457 argument.
7458
88ee6f45
TT
74592014-02-19 Tom Tromey <tromey@redhat.com>
7460
7461 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
7462 argument.
7463 (target_get_raw_trace_data): Add argument.
7464 * target.c (update_current_target): Update.
7465 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
7466
181e3713
TT
74672014-02-19 Tom Tromey <tromey@redhat.com>
7468
7469 * target.h (struct target_ops) <to_upload_trace_state_variables>:
7470 Add argument.
7471 (target_upload_trace_state_variables): Add argument.
7472 * target.c (update_current_target): Update.
7473 * remote.c (remote_upload_trace_state_variables): Add 'self'
7474 argument.
7475 (remote_start_remote): Update.
7476
ab6617cc
TT
74772014-02-19 Tom Tromey <tromey@redhat.com>
7478
7479 * target.h (struct target_ops) <to_upload_tracepoints>: Add
7480 argument.
7481 (target_upload_tracepoints): Add argument.
7482 * target.c (update_current_target): Update.
7483 * remote.c (remote_upload_tracepoints): Add 'self' argument.
7484 (remote_start_remote): Update.
7485
dc3decaf
TT
74862014-02-19 Tom Tromey <tromey@redhat.com>
7487
7488 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
7489 (target_save_trace_data): Add argument.
7490 * target.c (update_current_target): Update.
7491 * remote.c (remote_save_trace_data): Add 'self' argument.
7492
4011015b
TT
74932014-02-19 Tom Tromey <tromey@redhat.com>
7494
7495 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
7496 argument.
7497 * target.h (struct target_ops)
7498 <to_get_trace_state_variable_value>: Add argument.
7499 (target_get_trace_state_variable_value): Add argument.
7500 * target.c (update_current_target): Update.
7501 * remote.c (remote_get_trace_state_variable_value): Add 'self'
7502 argument.
7503 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
7504
bd4c6793
TT
75052014-02-19 Tom Tromey <tromey@redhat.com>
7506
7507 * tracepoint.c (tfile_trace_find): Add 'self' argument.
7508 * target.h (struct target_ops) <to_trace_find>: Add argument.
7509 (target_trace_find): Add argument.
7510 * target.c (update_current_target): Update.
7511 * remote.c (remote_trace_find): Add 'self' argument.
7512 * ctf.c (ctf_trace_find): Add 'self' argument.
7513
74499f1b
TT
75142014-02-19 Tom Tromey <tromey@redhat.com>
7515
7516 * target.h (struct target_ops) <to_trace_stop>: Add argument.
7517 (target_trace_stop): Add argument.
7518 * target.c (update_current_target): Update.
7519 * remote.c (remote_trace_stop): Add 'self' argument.
7520
db90e85c
TT
75212014-02-19 Tom Tromey <tromey@redhat.com>
7522
7523 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
7524 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
7525 argument.
7526 (target_get_tracepoint_status): Add argument.
7527 * target.c (update_current_target): Update.
7528 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
7529
8bd200f1
TT
75302014-02-19 Tom Tromey <tromey@redhat.com>
7531
7532 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
7533 * target.h (struct target_ops) <to_get_trace_status>: Add
7534 argument.
7535 (target_get_trace_status): Add argument.
7536 * target.c (update_current_target): Update.
7537 * remote.c (remote_get_trace_status): Add 'self' argument.
7538 (remote_start_remote, remote_can_download_tracepoint): Update.
7539 * ctf.c (ctf_get_trace_status): Add 'self' argument.
7540
e2d1aae3
TT
75412014-02-19 Tom Tromey <tromey@redhat.com>
7542
7543 * target.h (struct target_ops) <to_trace_start>: Add argument.
7544 (target_trace_start): Add argument.
7545 * target.c (update_current_target): Update.
7546 * remote.c (remote_trace_start): Add 'self' argument.
7547
583f9a86
TT
75482014-02-19 Tom Tromey <tromey@redhat.com>
7549
7550 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
7551 Add argument.
7552 (target_trace_set_readonly_regions): Add argument.
7553 * target.c (update_current_target): Update.
7554 * remote.c (remote_trace_set_readonly_regions): Add 'self'
7555 argument.
7556
780b049c
TT
75572014-02-19 Tom Tromey <tromey@redhat.com>
7558
7559 * target.h (struct target_ops) <to_disable_tracepoint>: Add
7560 argument.
7561 (target_disable_tracepoint): Add argument.
7562 * target.c (update_current_target): Update.
7563 * remote.c (remote_disable_tracepoint): Add 'self' argument.
7564
46670d57
TT
75652014-02-19 Tom Tromey <tromey@redhat.com>
7566
7567 * target.h (struct target_ops) <to_enable_tracepoint>: Add
7568 argument.
7569 (target_enable_tracepoint): Add argument.
7570 * target.c (update_current_target): Update.
7571 * remote.c (remote_enable_tracepoint): Add 'self' argument.
7572
559d2b81
TT
75732014-02-19 Tom Tromey <tromey@redhat.com>
7574
7575 * target.h (struct target_ops) <to_download_trace_state_variable>:
7576 Add argument.
7577 (target_download_trace_state_variable): Add argument.
7578 * target.c (update_current_target): Update.
7579 * remote.c (remote_download_trace_state_variable): Add 'self'
7580 argument.
7581
a52a8357
TT
75822014-02-19 Tom Tromey <tromey@redhat.com>
7583
7584 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
7585 argument.
7586 (target_can_download_tracepoint): Add argument.
7587 * target.c (update_current_target): Update.
7588 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
7589
548f7808
TT
75902014-02-19 Tom Tromey <tromey@redhat.com>
7591
7592 * target.h (struct target_ops) <to_download_tracepoint>: Add
7593 argument.
7594 (target_download_tracepoint): Add argument.
7595 * target.c (update_current_target): Update.
7596 * remote.c (remote_download_tracepoint): Add 'self' argument.
7597
ecae04e1
TT
75982014-02-19 Tom Tromey <tromey@redhat.com>
7599
7600 * target.h (struct target_ops) <to_trace_init>: Add argument.
7601 (target_trace_init): Add argument.
7602 * target.c (update_current_target): Update.
7603 * remote.c (remote_trace_init): Add 'self' argument.
7604
fab5aa7c
TT
76052014-02-19 Tom Tromey <tromey@redhat.com>
7606
7607 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
7608 * target.c (target_fileio_readlink): Add argument.
7609 * remote.c (remote_hostio_readlink): Add 'self' argument.
7610 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
7611
dbbca37d
TT
76122014-02-19 Tom Tromey <tromey@redhat.com>
7613
7614 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
7615 * target.c (target_fileio_unlink): Add argument.
7616 * remote.c (remote_hostio_unlink): Add 'self' argument.
7617 (remote_file_delete): Update.
7618 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
7619
df39ea25
TT
76202014-02-19 Tom Tromey <tromey@redhat.com>
7621
7622 * target.h (struct target_ops) <to_fileio_close>: Add argument.
7623 * target.c (target_fileio_close): Add argument.
7624 * remote.c (remote_hostio_close): Add 'self' argument.
7625 (remote_hostio_close_cleanup): Update.
7626 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
7627 Update.
7628 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
7629
a3be983c
TT
76302014-02-19 Tom Tromey <tromey@redhat.com>
7631
7632 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
7633 * target.c (target_fileio_pread): Add argument.
7634 * remote.c (remote_hostio_pread): Add 'self' argument.
7635 (remote_bfd_iovec_pread, remote_file_get): Update.
7636 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
7637
0d866f62
TT
76382014-02-19 Tom Tromey <tromey@redhat.com>
7639
7640 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
7641 * target.c (target_fileio_pwrite): Add argument.
7642 * remote.c (remote_hostio_pwrite): Add 'self' argument.
7643 (remote_file_put): Update.
7644 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
7645
cd897586
TT
76462014-02-19 Tom Tromey <tromey@redhat.com>
7647
7648 * target.h (struct target_ops) <to_fileio_open>: Add argument.
7649 * target.c (target_fileio_open): Add argument.
7650 * remote.c (remote_hostio_open): Add 'self' argument.
7651 (remote_bfd_iovec_open): Add 'self' argument.
7652 (remote_file_put): Add 'self' argument.
7653 (remote_file_get): Add 'self' argument.
7654 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
7655
78eff0ec
TT
76562014-02-19 Tom Tromey <tromey@redhat.com>
7657
7658 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
7659 Add argument.
7660 (target_can_run_breakpoint_commands): Add argument.
7661 * target.c (update_current_target): Update.
7662 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
7663 argument.
7664 (remote_insert_breakpoint): Add 'self' argument.
7665 (remote_insert_hw_breakpoint): Add 'self' argument.
7666 (remote_can_run_breakpoint_commands): Add 'self' argument.
7667
efcc2da7
TT
76682014-02-19 Tom Tromey <tromey@redhat.com>
7669
7670 * target.h (struct target_ops)
7671 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
7672 (target_supports_evaluation_of_breakpoint_conditions): Add
7673 argument.
7674 * target.c (update_current_target): Update.
7675 * remote.c (remote_supports_cond_breakpoints): Add 'self'
7676 argument.
7677 (remote_insert_breakpoint): Add 'self' argument.
7678 (remote_insert_hw_breakpoint): Add 'self' argument.
7679 (remote_supports_cond_breakpoints): Add 'self' argument.
7680
6de37a3a
TT
76812014-02-19 Tom Tromey <tromey@redhat.com>
7682
7683 * target.h (struct target_ops) <to_supports_string_tracing>: Add
7684 argument.
7685 (target_supports_string_tracing): Add argument.
7686 * target.c (update_current_target): Update.
7687 * remote.c (remote_supports_string_tracing): Add 'self' argument.
7688
2bfc0540
TT
76892014-02-19 Tom Tromey <tromey@redhat.com>
7690
7691 * target.h (struct target_ops)
7692 <to_supports_disable_randomization>: Add argument.
7693 * target.c (find_default_supports_disable_randomization): Add
7694 argument.
7695 (target_supports_disable_randomization): Add argument.
7696 (find_default_supports_disable_randomization): Add 'self'
7697 argument.
7698 * remote.c (extended_remote_supports_disable_randomization): Add
7699 'self' argument.
7700 (remote_supports_disable_randomization): Add 'self' argument.
7701 (extended_remote_create_inferior): Update.
7702 * linux-nat.c (linux_nat_supports_disable_randomization): Add
7703 'self' argument.
7704
7d178d6a
TT
77052014-02-19 Tom Tromey <tromey@redhat.com>
7706
7707 * target.h (struct target_ops)
7708 <to_supports_enable_disable_tracepoint>: Add argument.
7709 (target_supports_enable_disable_tracepoint): Add argument.
7710 * target.c (update_current_target): Update.
7711 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
7712 argument.
7713
86ce2668
TT
77142014-02-19 Tom Tromey <tromey@redhat.com>
7715
7716 * target.h (struct target_ops) <to_supports_multi_process>: Add
7717 argument.
7718 (target_supports_multi_process): Add argument.
7719 * target.c (update_current_target): Update.
7720 * remote.c (remote_supports_multi_process): Add 'self' argument.
7721 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
7722 argument.
7723 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
7724 argument.
7725
4c612759
TT
77262014-02-19 Tom Tromey <tromey@redhat.com>
7727
7728 * target.h (struct target_ops) <to_execution_direction>: Add
7729 argument.
7730 (target_execution_direction): Add argument.
7731 * target.c (default_execution_direction): Add 'self' argument.
7732 * record-full.c (record_full_execution_direction): Add 'self'
7733 argument.
7734
19db3e69
TT
77352014-02-19 Tom Tromey <tromey@redhat.com>
7736
7737 * target.h (struct target_ops) <to_can_execute_reverse>: Add
7738 argument.
7739 (target_can_execute_reverse): Add argument.
7740 * remote.c (remote_can_execute_reverse): Add 'self' argument.
7741 * record-full.c (record_full_can_execute_reverse): Add 'self'
7742 argument.
7743 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
7744 argument.
7745
1e6b91a4
TT
77462014-02-19 Tom Tromey <tromey@redhat.com>
7747
7748 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
7749 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
7750 argument.
7751 (target_get_ada_task_ptid): Add argument.
7752 * target.c (update_current_target): Update.
7753 (default_get_ada_task_ptid): Add 'self' argument.
7754 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
7755 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
7756 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
7757 argument.
7758 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
7759 argument.
7760 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
7761 argument.
7762 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
7763 argument.
7764 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
7765 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
7766 argument.
7767
3c80fb48
TT
77682014-02-19 Tom Tromey <tromey@redhat.com>
7769
7770 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
7771 (target_goto_bookmark): Add argument.
7772 * target.c (dummy_goto_bookmark): Add 'self' argument.
7773 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
7774
dd0e2830
TT
77752014-02-19 Tom Tromey <tromey@redhat.com>
7776
7777 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
7778 (target_get_bookmark): Add argument.
7779 * target.c (dummy_get_bookmark): Add 'self' argument.
7780 * record-full.c (record_full_get_bookmark): Add 'self' argument.
7781
fc6691b2
TT
77822014-02-19 Tom Tromey <tromey@redhat.com>
7783
7784 * target.h (struct target_ops) <to_make_corefile_notes>: Add
7785 argument.
7786 (target_make_corefile_notes): Add argument.
7787 * target.c (dummy_make_corefile_notes): Add 'self' argument.
7788 * procfs.c (procfs_make_note_section): Add 'self' argument.
7789 (procfs_make_note_section): Add 'self' argument.
7790 (procfs_make_note_section): Add 'self' argument.
7791 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
7792 argument.
7793 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
7794 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
7795 * exec.c (exec_make_note_section): Add 'self' argument.
7796 (exec_make_note_section): Add 'self' argument.
7797
2e73927c
TT
77982014-02-19 Tom Tromey <tromey@redhat.com>
7799
7800 * target.h (struct target_ops) <to_find_memory_regions>: Add
7801 argument.
7802 (target_find_memory_regions): Add argument.
7803 * target.c (dummy_find_memory_regions): Add 'self' argument.
7804 * procfs.c (proc_find_memory_regions): Add 'self' argument.
7805 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
7806 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
7807 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
7808 * exec. (exec_do_find_memory_regions): New global.
7809 (exec_set_find_memory_regions): Rewrite.
7810 (exec_find_memory_regions): New function.
7811 (init_exec_ops): Use exec_find_memory_regions.
7812
2a9a2795
TT
78132014-02-19 Tom Tromey <tromey@redhat.com>
7814
7815 * target.h (struct target_ops) <to_supports_non_stop>: Add
7816 argument.
7817 * target.c (find_default_supports_non_stop): Add argument.
7818 (target_supports_non_stop): Add argument.
7819 (find_default_supports_non_stop): Add 'self' argument.
7820 * remote.c (remote_supports_non_stop): Add 'self' argument.
7821 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
7822
4ab76ea3
TT
78232014-02-19 Tom Tromey <tromey@redhat.com>
7824
7825 * target.h (struct target_ops) <to_log_command>: Add argument.
7826 (target_log_command): Add argument.
7827 * serial.h (serial_log_command): Add 'self' argument.
7828 * serial.c (serial_log_command): Add 'self' argument.
7829
8dd27370
TT
78302014-02-19 Tom Tromey <tromey@redhat.com>
7831
7832 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
7833 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
7834 argument.
7835 (target_pid_to_exec_file): Add argument.
7836 * target.c (debug_to_pid_to_exec_file): Add argument.
7837 (update_current_target): Update.
7838 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
7839 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
7840 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
7841 (linux_handle_extended_wait): Update.
7842 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
7843 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
7844 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
7845 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
7846
1aac633b
TT
78472014-02-19 Tom Tromey <tromey@redhat.com>
7848
7849 * target.h (struct target_ops) <to_rcmd>: Add argument.
7850 (target_rcmd): Add argument.
7851 * target.c (debug_to_rcmd): Add argument.
7852 (update_current_target, do_monitor_command): Update.
7853 * remote.c (remote_rcmd): Add 'self' argument.
7854 * monitor.c (monitor_rcmd): Add 'self' argument.
7855
1eab8a48
TT
78562014-02-19 Tom Tromey <tromey@redhat.com>
7857
7858 * windows-nat.c (windows_stop): Add 'self' argument.
7859 * target.h (struct target_ops) <to_stop>: Add argument.
7860 * target.c (target_stop): Add argument.
7861 (debug_to_stop): Add argument.
7862 (update_current_target): Update.
7863 * remote.c (remote_stop): Add 'self' argument.
7864 * remote-sim.c (gdbsim_stop): Add 'self' argument.
7865 (gdbsim_cntrl_c): Update.
7866 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
7867 * procfs.c (procfs_stop): Add 'self' argument.
7868 * nto-procfs.c (procfs_stop): Add 'self' argument.
7869 * monitor.c (monitor_stop): Add 'self' argument.
7870 (monitor_open): Update.
7871 * linux-nat.c (linux_nat_stop): Add argument.
7872 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
7873 * gnu-nat.c (gnu_stop): Add 'self' argument.
7874 * darwin-nat.c (darwin_stop): Add 'self' argument.
7875
503a628d
TT
78762014-02-19 Tom Tromey <tromey@redhat.com>
7877
7878 * target.h (struct target_ops) <to_thread_name>: Add argument.
7879 * target.c (target_thread_name): Add argument.
7880 (update_current_target): Update.
7881 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
7882
c15906d8
TT
78832014-02-19 Tom Tromey <tromey@redhat.com>
7884
7885 * target.h (struct target_ops) <to_extra_thread_info>: Add
7886 argument.
7887 (target_extra_thread_info): Add argument.
7888 * target.c (update_current_target): Update.
7889 * remote.c (remote_threads_extra_info): Add 'self' argument.
7890 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
7891 argument.
7892 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
7893 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
7894 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
7895 argument.
7896 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
7897 argument.
7898 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
7899 argument.
7900 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
7901 argument.
7902
daf5e9b6
TT
79032014-02-19 Tom Tromey <tromey@redhat.com>
7904
7905 * target.h (struct target_ops) <to_program_signals>: Add argument.
7906 * target.c (target_program_signals): Add argument.
7907 * remote.c (remote_program_signals): Add 'self' argument.
7908
94bedb42
TT
79092014-02-19 Tom Tromey <tromey@redhat.com>
7910
7911 * target.h (struct target_ops) <to_pass_signals>: Add argument.
7912 * target.c (target_pass_signals): Add argument.
7913 * remote.c (remote_pass_signals): Add 'self' argument.
7914 (remote_start_remote): Update.
7915 * procfs.c (procfs_pass_signals): Add 'self' argument.
7916 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
7917 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
7918 (linux_nat_create_inferior, linux_nat_attach): Update.
7919
da82bd6b
TT
79202014-02-19 Tom Tromey <tromey@redhat.com>
7921
7922 * windows-nat.c (windows_can_run): Add 'self' argument.
7923 * target.h (struct target_ops) <to_can_run>: Add argument.
7924 (target_can_run): Add argument.
7925 * target.c (debug_to_can_run): Add argument.
7926 (update_current_target): Update.
7927 * nto-procfs.c (procfs_can_run): Add 'self' argument.
7928 * inf-child.c (inf_child_can_run): Add 'self' argument.
7929 * go32-nat.c (go32_can_run): Add 'self' argument.
7930
d796e1d6
TT
79312014-02-19 Tom Tromey <tromey@redhat.com>
7932
7933 * target.h (struct target_ops) <to_has_exited>: Add argument.
7934 (target_has_exited): Add argument.
7935 * target.c (debug_to_has_exited): Add argument.
7936 (update_current_target): Update.
7937
ff214e67
TT
79382014-02-19 Tom Tromey <tromey@redhat.com>
7939
7940 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
7941 argument.
7942 (target_set_syscall_catchpoint): Add argument.
7943 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
7944 argument.
7945 * target.c (update_current_target): Update.
7946
758e29d2
TT
79472014-02-19 Tom Tromey <tromey@redhat.com>
7948
7949 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
7950 argument.
7951 (target_remove_exec_catchpoint): Add argument.
7952 * target.c (debug_to_remove_exec_catchpoint): Add argument.
7953 (update_current_target): Update.
7954 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
7955 argument.
7956
ba025e51
TT
79572014-02-19 Tom Tromey <tromey@redhat.com>
7958
7959 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
7960 argument.
7961 (target_insert_exec_catchpoint): Add argument.
7962 * target.c (debug_to_insert_exec_catchpoint): Add argument.
7963 (update_current_target): Update.
7964 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
7965 argument.
7966
e98cf0cd
TT
79672014-02-19 Tom Tromey <tromey@redhat.com>
7968
7969 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
7970 argument.
7971 (target_remove_vfork_catchpoint): Add argument.
7972 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
7973 (update_current_target): Update.
7974 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
7975 argument.
7976
3ecc7da0
TT
79772014-02-19 Tom Tromey <tromey@redhat.com>
7978
7979 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
7980 argument.
7981 (target_insert_vfork_catchpoint): Add argument.
7982 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
7983 (update_current_target): Update.
7984 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
7985 argument.
7986
973fc227
TT
79872014-02-19 Tom Tromey <tromey@redhat.com>
7988
7989 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
7990 argument.
7991 (target_remove_fork_catchpoint): Add argument.
7992 * target.c (debug_to_remove_fork_catchpoint): Add argument.
7993 (update_current_target): Update.
7994 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
7995 argument.
7996
a863b201
TT
79972014-02-19 Tom Tromey <tromey@redhat.com>
7998
7999 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
8000 argument.
8001 (target_insert_fork_catchpoint): Add argument.
8002 * target.c (debug_to_insert_fork_catchpoint): Add argument.
8003 (update_current_target): Update.
8004 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
8005 argument.
8006
2e97a79e
TT
80072014-02-19 Tom Tromey <tromey@redhat.com>
8008
8009 * target.h (struct target_ops) <to_post_startup_inferior>: Add
8010 argument.
8011 (target_post_startup_inferior): Add argument.
8012 * target.c (debug_to_post_startup_inferior): Add argument.
8013 (update_current_target): Update.
8014 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
8015 argument.
8016 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
8017 argument.
8018 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
8019 argument.
8020 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
8021 argument.
8022 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
8023 'self' argument.
8024 (super_post_startup_inferior): Likewise.
8025 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
8026 'self' argument.
8027 (super_post_startup_inferior): Likewise.
8028 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
8029 Add 'self' argument.
8030 (super_post_startup_inferior): Likewise.
8031
71a9f134
TT
80322014-02-19 Tom Tromey <tromey@redhat.com>
8033
8034 * target.h (struct target_ops) <to_load>: Add argument.
8035 * target.c (target_load): Add argument.
8036 (debug_to_load): Add argument.
8037 (update_current_target): Update.
8038 * remote.c (remote_load): Add 'self' argument.
8039 * remote-sim.c (gdbsim_load): Add 'self' argument.
8040 * remote-mips.c (mips_load): Add 'self' argument.
8041 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
8042 * monitor.c (monitor_load): Add 'self' argument.
8043 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
8044
0a4f40a2
TT
80452014-02-19 Tom Tromey <tromey@redhat.com>
8046
8047 * target.h (struct target_ops) <to_terminal_info>: Add argument.
8048 (target_terminal_info): Add argument.
8049 * target.c (debug_to_terminal_info): Add argument.
8050 (default_terminal_info): Likewise.
8051 * inflow.c (child_terminal_info): Add 'self' argument.
8052 * inferior.h (child_terminal_info): Add 'self' argument.
8053 * go32-nat.c (go32_terminal_info): Add 'self' argument.
8054
ae3bd431
TT
80552014-02-19 Tom Tromey <tromey@redhat.com>
8056
8057 * target.h (struct target_ops) <to_terminal_save_ours>: Add
8058 argument.
8059 (target_terminal_save_ours): Add argument.
8060 * target.c (debug_to_terminal_save_ours): Add argument.
8061 (update_current_target): Update.
8062 * inflow.c (terminal_save_ours): Add 'self' argument.
8063 * inferior.h (terminal_save_ours): Add 'self' argument.
8064
e3594fd1
TT
80652014-02-19 Tom Tromey <tromey@redhat.com>
8066
8067 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
8068 (target_terminal_ours): Add argument.
8069 * target.c (debug_to_terminal_ours): Add argument.
8070 (update_current_target): Update.
8071 * remote.c (remote_terminal_ours): Add 'self' argument.
8072 (remote_close): Update.
8073 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
8074 * inflow.c (terminal_ours): Add 'self' argument.
8075 * inferior.h (terminal_ours): Add 'self' argument.
8076 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
8077
2e1e1a19
TT
80782014-02-19 Pedro Alves <palves@redhat.com>
8079 Tom Tromey <tromey@redhat.com>
8080
8081 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
8082 argument.
8083 (target_terminal_ours_for_output): Add argument.
8084 * target.c (debug_to_terminal_ours_for_output): Add argument.
8085 (update_current_target): Update.
8086 * inflow.c (terminal_ours_for_output): Add 'self' argument.
8087 * inferior.h (terminal_ours_for_output): Add 'self' argument.
8088 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
8089
d2f640d4
TT
80902014-02-19 Tom Tromey <tromey@redhat.com>
8091
8092 * target.h (struct target_ops) <to_terminal_inferior>: Add
8093 argument.
8094 * target.c (target_terminal_inferior): Add argument.
8095 (update_current_target): Update.
8096 * remote.c (remote_terminal_inferior): Add 'self' argument.
8097 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
8098 * inflow.c (terminal_inferior): Add 'self' argument.
8099 * inferior.h (terminal_inferior): Add 'self' argument.
8100 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
8101 (go32_terminal_inferior): Add 'self' argument.
8102
c42bf286
TT
81032014-02-19 Tom Tromey <tromey@redhat.com>
8104
8105 * target.h (struct target_ops) <to_terminal_init>: Add argument.
8106 (target_terminal_init): Add argument.
8107 * target.c (debug_to_terminal_init): Add argument.
8108 (update_current_target): Update.
8109 * inflow.c (terminal_init_inferior): Add 'self' argument.
8110 * inferior.h (terminal_init_inferior): Add 'self' argument.
8111 * go32-nat.c (go32_terminal_init): Add 'self' argument.
8112 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
8113
c3a5ff89
TT
81142014-02-19 Tom Tromey <tromey@redhat.com>
8115
8116 * target.h (struct target_ops)
8117 <to_can_accel_watchpoint_condition>: Add argument.
8118 (target_can_accel_watchpoint_condition): Add argument.
8119 * target.c (debug_to_can_accel_watchpoint_condition): Add
8120 argument.
8121 (update_current_target): Update.
8122 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
8123 'self' argument.
8124
31568a15
TT
81252014-02-19 Tom Tromey <tromey@redhat.com>
8126
8127 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8128 Add argument.
8129 (target_region_ok_for_hw_watchpoint): Add argument.
8130 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
8131 (default_region_ok_for_hw_watchpoint): Add argument.
8132 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
8133 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
8134 argument.
8135 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
8136 argument.
8137 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
8138 argument.
8139 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
8140 'self' argument.
8141 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
8142 'self' argument.
8143 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
8144 'self' argument.
8145 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
8146 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
8147 'self' argument.
8148 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
8149 Add 'self' argument.
8150
7bb99c53
TT
81512014-02-19 Tom Tromey <tromey@redhat.com>
8152
8153 * target.h (struct target_ops) <to_insert_watchpoint>: Add
8154 argument.
8155 (target_insert_watchpoint): Add argument.
8156 * target.c (debug_to_insert_watchpoint): Add argument.
8157 (update_current_target): Update.
8158 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
8159 * remote.c (remote_insert_watchpoint): Add 'self' argument.
8160 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
8161 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
8162 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
8163 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
8164 argument.
8165 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
8166 (procfs_insert_hw_watchpoint): Add 'self' argument.
8167 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
8168 argument.
8169 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
8170 argument.
8171 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
8172 argument.
8173 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
8174 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
8175 argument.
8176 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
8177 'self' argument.
8178
11b5219a
TT
81792014-02-19 Tom Tromey <tromey@redhat.com>
8180
8181 * target.h (struct target_ops) <to_remove_watchpoint>: Add
8182 argument.
8183 (target_remove_watchpoint): Add argument.
8184 * target.c (debug_to_remove_watchpoint): Add argument.
8185 (update_current_target): Update.
8186 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
8187 * remote.c (remote_remove_watchpoint): Add 'self' argument.
8188 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
8189 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
8190 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
8191 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
8192 argument.
8193 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
8194 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
8195 argument.
8196 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
8197 argument.
8198 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
8199 argument.
8200 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
8201 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
8202 argument.
8203 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
8204 'self' argument.
8205
a64dc96c
TT
82062014-02-19 Tom Tromey <tromey@redhat.com>
8207
8208 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
8209 argument.
8210 (target_remove_hw_breakpoint): Add argument.
8211 * target.c (debug_to_remove_hw_breakpoint): Add argument.
8212 (update_current_target): Update.
8213 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
8214 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
8215 argument.
8216 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
8217 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
8218 argument.
8219 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
8220 'self' argument.
8221
23a26771
TT
82222014-02-19 Tom Tromey <tromey@redhat.com>
8223
8224 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
8225 argument.
8226 (target_insert_hw_breakpoint): Add argument.
8227 * target.c (debug_to_insert_hw_breakpoint): Add argument.
8228 (update_current_target): Update.
8229 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
8230 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
8231 argument.
8232 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
8233 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
8234 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
8235 argument.
8236 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
8237 'self' argument.
8238
5461485a
TT
82392014-02-19 Tom Tromey <tromey@redhat.com>
8240
8241 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
8242 argument.
8243 (target_can_use_hardware_watchpoint): Add argument.
8244 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
8245 (update_current_target): Update.
8246 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
8247 argument.
8248 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
8249 argument.
8250 * remote.c (remote_check_watch_resources): Add 'self' argument.
8251 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
8252 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
8253 argument.
8254 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
8255 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
8256 argument.
8257 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
8258 argument.
8259 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
8260 argument.
8261 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
8262 argument.
8263 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
8264 argument.
8265 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
8266 argument.
8267 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
8268 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
8269 argument.
8270 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
8271 'self' argument.
8272
f045800c
TT
82732014-02-19 Tom Tromey <tromey@redhat.com>
8274
8275 * target.h (struct target_ops) <to_post_attach>: Add argument.
8276 (target_post_attach): Add argument.
8277 * target.c (debug_to_post_attach): Add argument.
8278 (update_current_target): Update.
8279 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
8280 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
8281 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
8282 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
8283 * inf-child.c (inf_child_post_attach): Add 'self' argument.
8284
de90e03d
TT
82852014-02-19 Tom Tromey <tromey@redhat.com>
8286
8287 * windows-nat.c (windows_close): Add 'self' argument.
8288 * tracepoint.c (tfile_close): Add 'self' argument.
8289 * target.h (struct target_ops) <to_close>: Add argument.
8290 * target.c (target_close): Add argument.
8291 (update_current_target): Update.
8292 * remote.c (remote_close): Add 'self' argument.
8293 * remote-sim.c (gdbsim_close): Add 'self' argument.
8294 * remote-mips.c (mips_close): Add 'self' argument.
8295 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
8296 * record-full.c (record_full_close): Add 'self' argument.
8297 * record-btrace.c (record_btrace_close): Add 'self' argument.
8298 * monitor.h (monitor_close): Add 'self' argument.
8299 * monitor.c (monitor_close): Add 'self' argument.
8300 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
8301 * linux-nat.c (linux_nat_close): Add argument.
8302 * go32-nat.c (go32_close): Add 'self' argument.
8303 * exec.c (exec_close_1): Add 'self' argument.
8304 * ctf.c (ctf_close): Add 'self' argument.
8305 * corelow.c (core_close): Add 'self' argument.
8306 (core_close_cleanup): Update.
8307 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
8308 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
8309
9dd130a0
TT
83102014-02-19 Tom Tromey <tromey@redhat.com>
8311
8312 * remote.c (remote_load): New function.
8313 (init_remote_ops): Use it.
8314
46917d26
TT
83152014-02-19 Tom Tromey <tromey@redhat.com>
8316
8317 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
8318 argument.
8319 * common/linux-btrace.h (linux_supports_btrace): Update.
8320 * remote.c (remote_supports_btrace): Add "self" argument.
8321 * target-delegates.c: Rebuild.
8322 * target.c (target_supports_btrace): Remove.
8323 * target.h (struct target_ops) <to_supports_btrace>: Add
8324 target_ops argument.
8325 (target_supports_btrace): New define.
8326
6b84065d
TT
83272014-02-19 Tom Tromey <tromey@redhat.com>
8328
8329 * record-full.c (record_full_beneath_to_resume_ops)
8330 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
8331 (record_full_beneath_to_wait)
8332 (record_full_beneath_to_store_registers_ops)
8333 (record_full_beneath_to_store_registers)
8334 (record_full_beneath_to_xfer_partial_ops)
8335 (record_full_beneath_to_xfer_partial)
8336 (record_full_beneath_to_insert_breakpoint_ops)
8337 (record_full_beneath_to_insert_breakpoint)
8338 (record_full_beneath_to_remove_breakpoint_ops)
8339 (record_full_beneath_to_remove_breakpoint)
8340 (record_full_beneath_to_stopped_by_watchpoint)
8341 (record_full_beneath_to_stopped_data_address)
8342 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
8343 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
8344 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
8345 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
8346 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
8347 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
8348 (tmp_to_stopped_data_address, tmp_to_async): Remove.
8349 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
8350 (record_full_resume, record_full_wait_1)
8351 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
8352 (record_full_store_registers, record_full_xfer_partial)
8353 (record_full_insert_breakpoint, record_full_remove_breakpoint)
8354 (record_full_async, record_full_core_xfer_partial): Use target
8355 delegation.
8356 * target-delegates.c: Rebuild.
8357 * target.c (current_xfer_partial): Remove.
8358 (update_current_target): Do not INHERIT or de_fault
8359 to_insert_breakpoint, to_remove_breakpoint,
8360 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
8361 to_is_async_p, to_async. Do not set to_xfer_partial field.
8362 (default_xfer_partial): Simplify.
8363 (current_xfer_partial): Remove.
8364 (target_wait, target_resume): Simplify.
8365 (find_default_can_async_p, find_default_is_async_p): Update.
8366 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
8367 to_xfer_partial, to_stopped_by_watchpoint,
8368 to_stopped_data_address.
8369 (target_store_registers): Simplify.
8370 (forward_target_remove_breakpoint)
8371 (forward_target_insert_breakpoint): Remove.
8372 (target_remove_breakpoint, target_insert_breakpoint)
8373 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
8374 * target.h (struct target_ops) <to_resume, to_wait,
8375 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
8376 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
8377 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
8378 markup.
8379 (forward_target_remove_breakpoint)
8380 (forward_target_insert_breakpoint): Remove.
8381 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
8382 directly.
8383 (record_btrace_insert_breakpoint): Delegate directly.
8384
1101cb7b
TT
83852014-02-19 Tom Tromey <tromey@redhat.com>
8386
8387 PR build/7701:
8388 * target-delegates.c: New file.
8389 * target.c: Include target-delegates.c.
8390 (init_dummy_target): Call install_dummy_methods.
8391 (complete_target_initialization): Call install_delegators.
8392 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
8393 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
8394 * make-target-delegates: New file.
8395
8b06beed
TT
83962014-02-19 Tom Tromey <tromey@redhat.com>
8397
8398 * record.c (find_record_target): Use find_target_at.
8399 * target.c (find_target_at): New function.
8400 * target.h (find_target_at): Declare.
8401
6a109b6b
TT
84022014-02-19 Tom Tromey <tromey@redhat.com>
8403
8404 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
8405 Add 'ops' argument.
8406 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
8407 'ops' argument.
8408 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
8409 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
8410 'ops' argument.
8411 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
8412 argument.
8413 * linux-nat.c (save_sigtrap): Update.
8414 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
8415 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
8416 (linux_nat_close): Update.
8417 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
8418 argument.
8419 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
8420 argument.
8421 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
8422 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
8423 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
8424 (tmp_to_async): Add 'ops' argument.
8425 (record_full_stopped_by_watchpoint, record_full_async)
8426 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
8427 argument.
8428 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
8429 (m32r_stopped_by_watchpoint): Add 'ops' argument.
8430 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
8431 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
8432 (remote_is_async_p, remote_async): Add 'ops' argument.
8433 (remote_stopped_data_address): Update.
8434 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
8435 * target.c (update_current_target)
8436 (find_default_can_async_p, find_default_is_async_p): Update.
8437 (init_dummy_target): Update.
8438 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
8439 * target.h (struct target_ops) <to_stopped_by_watchpoint,
8440 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
8441 (target_can_async_p, target_is_async_p, target_async)
8442 (target_stopped_by_watchpoint): Update.
8443
e095146b
YQ
84442014-02-19 Yao Qi <yao@codesourcery.com>
8445
8446 PR gdb/16220
8447 * gdbarch.sh: Remove startup_gdbarch.
8448 * gdbarch.c: Regenerated.
8449 * gdbarch.h: Likewise.
8450
bc3c6b36
KB
84512014-02-17 Kevin Buettner <kevinb@redhat.com>
8452
8453 * rl78-tdep.c (rl78_g10_register_name): New function.
8454 (rl78_return_value): Add g10 support.
8455 (rl78_gdbarch_init): Register rl78_g10_register_name for the
8456 g10.
8457
98dc0167 84582014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
8459
8460 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
8461 (SUBDIR_GUILE_SRCS): Ditto.
8462 (scm-gsmob.o): Ditto.
8463
842c05cd
YQ
84642014-02-17 Yao Qi <yao@codesourcery.com>
8465
8466 * gnu-nat.c (ILL_RPC): Declare defined function.
8467
25c0bd04
YQ
84682014-02-17 Yao Qi <yao@codesourcery.com>
8469
8470 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
8471 mach_msg_type_number_t.
8472 (gnu_write_inferior): Likewise.
8473
a9a758e3
YQ
84742014-02-17 Yao Qi <yao@codesourcery.com>
8475
8476 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
8477 in format string.
8478 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
8479 (inf_validate_procs, inf_signal): Likewise.
8480 (S_exception_raise_request): Likewise.
8481 (do_mach_notify_dead_name): Likewise.
8482 (steal_exc_port): Likewise.
8483 (gnu_read_inferior): Change 'copy_count''s type to
8484 mach_msg_type_number_t.
8485 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
8486 format string.
8487
bae8023e
TS
84882014-02-16 Thomas Schwinge <thomas@codesourcery.com>
8489
c82f56d9
TS
8490 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
8491 flag. Adjust all users; in particular...
8492 (gnu_wait): ..., don't decrement its value in here...
8493 (gnu_create_inferior): ..., and instead set the flag in here,
8494 around the startup_inferior call, and call that one with
8495 START_INFERIOR_TRAPS_EXPECTED.
8496
3398af6a
TS
8497 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
8498 (ILL_RPC): ... new macro.
8499 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
8500 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
8501 (do_mach_notify_send_once, S_proc_setmsgport_reply)
8502 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
8503 functions with ILL_RPC macro.
8504 (S_proc_pid2task_reply, S_proc_task2pid_reply)
8505 (S_proc_task2proc_reply, S_proc_proc2task_reply)
8506 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
8507 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
8508 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
8509 (S_proc_getlogin_reply, S_proc_getsid_reply)
8510 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
8511 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
8512 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
8513 (S_proc_getnports_reply, S_proc_is_important_reply)
8514 (S_proc_get_code_reply): New stub functions, generated with
8515 ILL_RPC macro.
8516
d47642c9
TS
8517 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
8518 collected the type check structures.
8519
bae8023e
TS
8520 * reply_mig_hack.awk: Don't expect to see the auto keyword.
8521
8a55ffb0
DE
85222014-02-14 Doug Evans <dje@google.com>
8523
8524 * target.c (target_write_partial): Fix result type.
8525
c2853f3d
JM
85262014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
8527
8528 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
8529 the proper offsets to access fpregset_t.
8530
ac61d2db
SA
85312014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
8532
8533 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
8534 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
8535 * h8300-tdep.c (setmachinelist): Remove global.
8536 * hppa-tdep.c (hppa_sigtramp): Remove global.
8537 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
8538 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
8539 * ravenscar-thread.c (update_target_observer): Remove global.
8540 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
8541
9d2d0b8b
TT
85422014-02-12 Tom Tromey <tromey@redhat.com>
8543
8544 * common/rsp-low.c: Update comments.
8545 * common/rsp-low.h: Update comments.
8546
a7191e8b
TT
85472014-02-12 Tom Tromey <tromey@redhat.com>
8548
8549 * common/rsp-low.c (convert_ascii_to_int): Remove.
8550 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
8551
ff0e980e
TT
85522014-02-12 Tom Tromey <tromey@redhat.com>
8553
8554 * common/rsp-low.h (unhexify): Don't declare.
8555 * common/rsp-low.c (unhexify): Remove.
8556
e9371aff
TT
85572014-02-12 Tom Tromey <tromey@redhat.com>
8558
8559 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
8560 * common/rsp-low.c (convert_int_to_ascii): Remove.
8561
971dc0b8
TT
85622014-02-12 Tom Tromey <tromey@redhat.com>
8563
8564 * common/rsp-low.h (hexify): Don't declare.
8565 * common/rsp-low.c (hexify): Remove.
8566
0a822afb
TT
85672014-02-12 Tom Tromey <tromey@redhat.com>
8568
8569 * common/rsp-low.c (hexify): Never take strlen of argument.
8570
9f1b45b0
TT
85712014-02-12 Tom Tromey <tromey@redhat.com>
8572
8573 * common/rsp-low.c (bin2hex): Never take strlen of argument.
8574 * remote.c (extended_remote_run, remote_rcmd)
8575 (remote_download_trace_state_variable, remote_save_trace_data)
8576 (remote_set_trace_notes): Update.
8577 * tracepoint.c (encode_source_string, tfile_write_status)
8578 (tfile_write_uploaded_tsv): Update.
8579
9c3d6531
TT
85802014-02-12 Tom Tromey <tromey@redhat.com>
8581
8582 * tracepoint.c: Include rsp-low.h.
8583 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
8584 * remote.c: Include rsp-low.h.
8585 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
8586 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
8587 (remote_unescape_input): Move to common/rsp-low.c.
8588 * common/rsp-low.h: New file.
8589 * common/rsp-low.c: New file.
8590 * Makefile.in (SFILES): Add common/rsp-low.c.
8591 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
8592 (COMMON_OBS): Add rsp-low.o.
8593 (rsp-low.o): New target.
8594
01fd3ea5
TT
85952014-02-12 Tom Tromey <tromey@redhat.com>
8596
8597 * utils.h: Include print-utils.h.
8598 (host_address_to_string, plongest, pulongest, phex, phex_nz)
8599 (int_string, core_addr_to_string, core_addr_to_string_nz)
8600 (hex_string, hex_string_custom): Don't declare.
8601 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
8602 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
8603 (hex_string_custom, int_string, core_addr_to_string)
8604 (core_addr_to_string_nz, host_address_to_string): Move to
8605 common/print-utils.c.
8606 * common/print-utils.h: New file.
8607 * common/print-utils.c: New file
8608 * Makefile.in (SFILES): Add common/print-utils.c.
8609 (HFILES_NO_SRCDIR): Add common/print-utils.h.
8610 (COMMON_OBS): Add print-utils.o.
8611 (print-utils.o): New target.
8612
9fb50108
TT
86132014-02-12 Tom Tromey <tromey@redhat.com>
8614
8615 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
8616
0548b5db
MK
86172014-02-12 Mark Kettenis <kettenis@gnu.org>
8618
8619 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
8620
493443a4
MK
86212014-02-12 Mark Kettenis <kettenis@gnu.org>
8622
8623 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
8624 if a PT_IO ptrace request returns sucessfully but indicates that 0
8625 bytes were transferred.
8626
706d0883
PA
86272014-02-12 Pedro Alves <palves@redhat.com>
8628 Kevin Buettner <kevinb@redhat.com>
8629
8630 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
8631 TYPE_INSTANCE_FLAG_CODE_SPACE.
8632
5caa2f0b
PA
86332014-02-12 Pedro Alves <palves@redhat.com>
8634
8635 * h8300-tdep.c (pseudo_from_raw_register)
8636 (raw_from_pseudo_register): New functions.
8637 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
8638 them.
8639
76fd5f74
PA
86402014-02-12 Pedro Alves <palves@redhat.com>
8641
8642 * h8300-tdep.c (h8300_register_sim_regno): New function.
8643 (h8300_gdbarch_init): Install h8300_register_sim_regno as
8644 gdbarch_register_sim_regno hook.
8645
8f008406
SA
86462014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
8647
8648 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
8649
195abc10
SA
86502014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
8651
8652 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
8653
93ffa5b9
MK
86542014-02-12 Mark Kettenis <kettenis@gnu.org>
8655
8656 * obsd-tdep.h (obsd_init_abi): New prototype.
8657 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
8658 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
8659 (obsd_init_abi): New functions.
8660 * i386obsd-tdep.c: Include "obsd-tdep.h".
8661 (i386obsd_init_abi): Call obsd_init_abi.
8662 * amd64obsd-tdep.c: Include "obsd-tdep.h".
8663 (amd64obsd_init_abi): Call obsd_init_abi.
8664 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
8665 obsd-tdep.c to gdb_target_obs.
8666
49caec94
JM
86672014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
8668
8669 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
8670 double float arguments to 16-byte in the argument slots.
8671
e1402065
DE
86722014-02-11 Doug Evans <xdje42@gmail.com>
8673
8674 * configure.ac: Don't crash if pkg-config is not found and guile
8675 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
8676 in guile checks.
8677 * configure: Regenerate.
8678
edcc890f
YQ
86792014-02-11 Yao Qi <yao@codesourcery.com>
8680
8681 * aix-thread.c (aix_thread_xfer_partial): Update comments.
8682 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
8683 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
8684 * gnu-nat.c (gnu_xfer_memory): Likewise.
8685 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
8686 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
8687 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
8688 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
8689
9b409511
YQ
86902014-02-11 Yao Qi <yao@codesourcery.com>
8691
8692 * target.h (enum target_xfer_error): Rename to ...
8693 (enum target_xfer_status): ... it. New. All users updated.
8694 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
8695 New.
8696 (TARGET_XFER_STATUS_ERROR_P): New macro.
8697 (target_xfer_error_to_string): Remove declaration.
8698 (target_xfer_status_to_string): Declare.
8699 (target_xfer_partial_ftype): Adjust it.
8700 (struct target_ops) <to_xfer_partial>: Return
8701 target_xfer_status. Add argument xfered_len. Update
8702 comments.
8703 * target.c (target_xfer_error_to_string): Rename to ...
8704 (target_xfer_status_to_string): ... it. New. All callers
8705 updated.
8706 (target_read_live_memory): Likewise. Call target_xfer_partial
8707 instead of target_read.
8708 (memory_xfer_live_readonly_partial): Return
8709 target_xfer_status. Add argument xfered_len.
8710 (raw_memory_xfer_partial): Likewise.
8711 (memory_xfer_partial_1): Likewise.
8712 (memory_xfer_partial): Likewise.
8713 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
8714 properly. Update debug message.
8715 (default_xfer_partial, current_xfer_partial): Likewise.
8716 (target_write_partial): Likewise.
8717 (target_read_partial): Likewise. All callers updated.
8718 (read_whatever_is_readable): Likewise.
8719 (target_write_with_progress): Likewise.
8720 (target_read_alloc_1): Likewise.
8721
8722 * aix-thread.c (aix_thread_xfer_partial): Likewise.
8723 * auxv.c (procfs_xfer_auxv): Likewise.
8724 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
8725 * bfd-target.c (target_bfd_xfer_partial): Likewise.
8726 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
8727 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
8728 * corefile.c (read_memory): Adjust.
8729 * corelow.c (core_xfer_partial): Likewise.
8730 * ctf.c (ctf_xfer_partial): Likewise.
8731 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
8732 updated.
8733 (darwin_xfer_partial): Likewise.
8734 * exec.c (section_table_xfer_memory_partial): Likewise. All
8735 callers updated.
8736 (exec_xfer_partial): Likewise.
8737 * exec.h (section_table_xfer_memory_partial): Update
8738 declaration.
8739 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
8740 negative.
8741 (gnu_xfer_partial): Likewise.
8742 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
8743 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
8744 (ia64_hpux_xfer_solib_got): Likewise.
8745 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
8746 type of 'partial_len' to ULONGEST.
8747 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
8748 * linux-nat.c (linux_xfer_siginfo ): Likewise.
8749 (linux_nat_xfer_partial): Likewise.
8750 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
8751 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
8752 * monitor.c (monitor_xfer_memory): Likewise.
8753 (monitor_xfer_partial): Likewise.
8754 * procfs.c (procfs_xfer_partial): Likewise.
8755 * record-btrace.c (record_btrace_xfer_partial): Likewise.
8756 * record-full.c (record_full_xfer_partial): Likewise.
8757 (record_full_core_xfer_partial): Likewise.
8758 * remote-sim.c (gdbsim_xfer_memory): Likewise.
8759 (gdbsim_xfer_partial): Likewise.
8760 * remote.c (remote_write_bytes_aux): Likewise. All callers
8761 updated.
8762 (remote_write_bytes, remote_read_bytes): Likewise. All
8763 callers updated.
8764 (remote_flash_erase): Likewise. All callers updated.
8765 (remote_write_qxfer): Likewise. All callers updated.
8766 (remote_read_qxfer): Likewise. All callers updated.
8767 (remote_xfer_partial): Likewise.
8768 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
8769 (rs6000_xfer_shared_libraries): Likewise.
8770 * sol-thread.c (sol_thread_xfer_partial): Likewise.
8771 (sol_thread_xfer_partial): Likewise.
8772 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
8773 (sparc_xfer_partial): Likewise.
8774 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
8775 updated.
8776 (spu_xfer_partial): Likewise.
8777 * spu-multiarch.c (spu_xfer_partial): Likewise.
8778 * tracepoint.c (tfile_xfer_partial): Likewise.
8779 * windows-nat.c (windows_xfer_memory): Likewise.
8780 (windows_xfer_shared_libraries): Likewise.
8781 (windows_xfer_partial): Likewise.
8782 * valprint.c: Replace 'target_xfer_error' with
8783 'target_xfer_status' in comments.
8784
a8e63083
JB
87852014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
8786
8787 Checked in by Joel Brobecker <brobecker@adacore.com>.
8788 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
8789
e86b67d3
JB
87902014-02-11 Joel Brobecker <brobecker@adacore.com>
8791
8792 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
8793 function parameters.
8794
4b7d1f7f
WN
87952014-02-10 Will Newton <will.newton@linaro.org>
8796
8797 * elfread.c (elf_rel_plt_read): Look for a .got section if
8798 looking up .got.plt fails.
8799 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
8800 on address passed to elf_gnu_ifunc_record_cache.
8801 (elf_gnu_ifunc_resolve_addr): Likewise.
8802 (elf_gnu_ifunc_resolver_return_stop): Likewise.
8803
961842b2
JM
88042014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
8805
8806 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
8807 (X_RETTURN): New macro.
8808 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
8809
8810 * sparc64-tdep.c (sparc64_init_abi): Hook
8811 sparc_in_function_epilogue_p.
8812
3f03e7b1
GB
88132014-02-10 Gary Benson <gbenson@redhat.com>
8814
8815 * symfile-debug.c (debug_qf_expand_symtabs_matching):
8816 Rename name_matcher to symbol_matcher.
8817
96f861ef
GB
88182014-02-10 Gary Benson <gbenson@redhat.com>
8819
8820 * symfile-debug.c (debug_qf_expand_symtabs_matching):
8821 Use expand_symtabs_file_matcher_ftype and
8822 expand_symtabs_symbol_matcher_ftype.
8823
ee01b665
JB
88242014-02-10 Joel Brobecker <brobecker@adacore.com>
8825
8826 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
8827 (struct ada_symbol_cache): New.
8828 (ada_free_symbol_cache): Forward declare.
8829 (struct ada_pspace_data): New.
8830 (ada_pspace_data_handle): New static global.
8831 (get_ada_pspace_data, ada_pspace_data_cleanup)
8832 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
8833 (cache_space, cache): Delete, now folded inside struct
8834 ada_pspace_data.
8835 (ada_get_symbol_cache): New function.
8836 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
8837 implementation.
8838 (_initialize_ada_language): Remove initialization of cache_space.
8839 Move call to observer_attach_inferior_exit up, grouping it
8840 with the other observer registrations inside this function.
8841 Rename command to be more general. Add call to
8842 register_program_space_data_with_cleanup.
8843
143adbbf
JB
88442014-02-10 Joel Brobecker <brobecker@adacore.com>
8845
8846 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
8847 ada_new_objfile_observer.
8848 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
8849 (_initialize_tasks): Update uses of ada_new_objfile_observer
8850 and ada_tasks_normal_stop_observer.
8851
aa4fb036
JB
88522014-02-10 Joel Brobecker <brobecker@adacore.com>
8853
8854 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
8855 returned by the 'Length attribute to integer.
8856
9dee8cc6
JB
88572014-02-10 Joel Brobecker <brobecker@adacore.com>
8858
8859 * ada-lang.c (_initialize_ada_language): Initialize
8860 cache_space obstack.
8861
3d9434b5
JB
88622014-02-10 Joel Brobecker <brobecker@adacore.com>
8863
8864 * ada-lang.c (HASH_SIZE): New macro.
8865 (struct cache_entry): New type.
8866 (cache_space, cache): New static globals.
8867 (ada_clear_symbol_cache, find_entry): New functions.
8868 (lookup_cached_symbol, cache_symbol): Implement.
8869 (ada_new_objfile_observer, ada_free_objfile_observer): New.
8870 (_initialize_ada_language): Attach ada_new_objfile_observer
8871 and ada_free_objfile_observer.
8872
f0c5f9b2
JB
88732014-02-10 Joel Brobecker <brobecker@adacore.com>
8874
8875 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
8876 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
8877 struct block * parameter.
8878 (ada_lookup_symbol_list_worker): Constify local variable "block".
8879 Remove cast which is no longer necessary.
8880
ed3ef339
DE
88812014-02-10 Doug Evans <xdje42@gmail.com>
8882
8883 Add Guile as an extension language.
8884 * NEWS: Mention Guile scripting.
8885 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
8886 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
8887 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
8888 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
8889 (CLIBS): Add GUILE_LIBS.
8890 (install-guile): New rule.
8891 (guile.o): New rule.
8892 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
8893 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
8894 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
8895 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
8896 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
8897 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
8898 (scm-type.o, scm-utils.o, scm-value.o): New rules.
8899 * configure.ac: New option --with-guile.
8900 * configure: Regenerate.
8901 * config.in: Regenerate.
8902 * auto-load.c: Remove #include "python/python.h". Add #include
8903 "gdb/section-scripts.h".
8904 (source_section_scripts): Handle Guile scripts.
8905 (_initialize_auto_load): Add name of Guile objfile script to
8906 scripts-directory help text.
8907 * breakpoint.c (condition_command): Tweak comment to include Scheme.
8908 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
8909 (struct breakpoint): New member scm_bp_object.
8910 * defs.h (enum command_control_type): New value guile_control.
8911 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
8912 "extension.h".
8913 (show_user): Update comment.
8914 (_initialize_cli_cmds): Update help text for "show user". Update help
8915 text for max-user-call-depth.
8916 * cli/cli-script.c: Remove #include "python/python.h". Add #include
8917 "extension.h".
8918 (multi_line_command_p): Add guile_control.
8919 (print_command_lines): Handle guile_control.
8920 (execute_control_command, recurse_read_control_structure): Ditto.
8921 (process_next_line): Recognize "guile" commands.
8922 * disasm.c (gdb_disassemble_info): Make non-static.
8923 * disasm.h: #include "dis-asm.h".
8924 (struct gdbarch): Add forward decl.
8925 (gdb_disassemble_info): Declare.
8926 * extension.c: #include "guile/guile.h".
8927 (extension_languages): Add guile.
8928 (get_ext_lang_defn): Handle EXT_LANG_GDB.
8929 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
8930 * gdbtypes.c (get_unsigned_type_max): New function.
8931 (get_signed_type_minmax): New function.
8932 * gdbtypes.h (get_unsigned_type_max): Declare.
8933 (get_signed_type_minmax): Declare.
8934 * guile/README: New file.
8935 * guile/guile-internal.h: New file.
8936 * guile/guile.c: New file.
8937 * guile/guile.h: New file.
8938 * guile/scm-arch.c: New file.
8939 * guile/scm-auto-load.c: New file.
8940 * guile/scm-block.c: New file.
8941 * guile/scm-breakpoint.c: New file.
8942 * guile/scm-disasm.c: New file.
8943 * guile/scm-exception.c: New file.
8944 * guile/scm-frame.c: New file.
8945 * guile/scm-gsmob.c: New file.
8946 * guile/scm-iterator.c: New file.
8947 * guile/scm-lazy-string.c: New file.
8948 * guile/scm-math.c: New file.
8949 * guile/scm-objfile.c: New file.
8950 * guile/scm-ports.c: New file.
8951 * guile/scm-pretty-print.c: New file.
8952 * guile/scm-safe-call.c: New file.
8953 * guile/scm-string.c: New file.
8954 * guile/scm-symbol.c: New file.
8955 * guile/scm-symtab.c: New file.
8956 * guile/scm-type.c: New file.
8957 * guile/scm-utils.c: New file.
8958 * guile/scm-value.c: New file.
8959 * guile/lib/gdb.scm: New file.
8960 * guile/lib/gdb/boot.scm: New file.
8961 * guile/lib/gdb/experimental.scm: New file.
8962 * guile/lib/gdb/init.scm: New file.
8963 * guile/lib/gdb/iterator.scm: New file.
8964 * guile/lib/gdb/printing.scm: New file.
8965 * guile/lib/gdb/types.scm: New file.
8966 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
8967 (VPATH): Add $(GUILE_SRCDIR).
8968 (GUILE_DIR): New variable.
8969 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
8970 (all): Add stamp-guile dependency.
8971 (stamp-guile): New rule.
8972 (clean-guile, install-guile, uninstall-guile): New rules.
8973 (install-only): Add install-guile dependency.
8974 (uninstall): Add uninstall-guile dependency.
8975 (clean): Add clean-guile dependency.
8976
ac020ec5
DE
89772014-02-09 Doug Evans <xdje42@gmail.com>
8978
8979 Revert this patch (which I approved, mea culpa).
8980
8981 2014-02-08 Mark Kettenis <kettenis@gnu.org>
8982
8983 * Makefile.in (all-lib): Remove.
8984 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
8985
2a081c59
JK
89862014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8987
8988 Fix Python stack corruption.
8989 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
8990 gdb_py_longest.
8991
0a6bd22d
MK
89922014-02-08 Mark Kettenis <kettenis@gnu.org>
8993
8994 * Makefile.in (all-lib): Remove.
8995 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
8996
1a860409
DE
89972014-02-07 Doug Evans <dje@google.com>
8998
8999 * extension-priv.h (extension_language_script_ops): Add comment.
9000 (extension_language_ops): Add comment.
caf5a491 9001 (active_ext_lang_state): Fix typo in comment.
1a860409 9002
d137e6dc
PA
90032014-02-07 Pedro Alves <palves@redhat.com>
9004
0dcb32c3 9005 PR breakpoints/16292
d137e6dc
PA
9006 * infrun.c (handle_signal_stop) <signal arrives while stepping
9007 over a breakpoint>: Switch back to the stepping thread.
9008
ce6d0892
YQ
90092014-02-07 Yao Qi <yao@codesourcery.com>
9010
9011 * target.c (target_xfer_partial): Return zero if LEN is zero.
9012
2ed4b548
YQ
90132014-02-07 Yao Qi <yao@codesourcery.com>
9014
9015 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
9016 (ld_so_xfer_auxv): Likewise.
9017 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9018 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9019 * corelow.c (core_xfer_partial): Likewise.
9020 * ctf.c (ctf_xfer_partial): Likewise.
9021 * darwin-nat.c (darwin_read_dyld_info): Likewise.
9022 (darwin_xfer_partial): Likewise.
9023 * exec.c (exec_xfer_partial): Likewise.
9024 * gnu-nat.c (gnu_xfer_partial): Likewise.
9025 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
9026 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
9027 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
9028 * linux-nat.c (linux_xfer_siginfo): Likewise.
9029 (linux_proc_xfer_spu): Likewise.
9030 * procfs.c (procfs_xfer_partial): Likewise.
9031 * record-full.c (record_full_xfer_partial): Likewise.
9032 (record_full_core_xfer_partial): Likewise.
9033 * remote-sim.c (gdbsim_xfer_partial): Likewise.
9034 * remote.c (remote_write_qxfer): Likewise.
9035 (remote_write_qxfer, remote_read_qxfer): Likewise.
9036 (remote_xfer_partial): Likewise.
9037 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9038 (rs6000_xfer_shared_libraries): Likewise.
9039 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9040 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9041 (spu_xfer_partial): Likewise.
9042 * target.c (memory_xfer_partial_1): Likewise.
9043 * tracepoint.c (tfile_xfer_partial): Likewise.
9044 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
9045 (windows_xfer_partial): Likewise.
9046
c09f20e4
YQ
90472014-02-07 Yao Qi <yao@codesourcery.com>
9048
9049 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
9050 comments.
9051 (core_xfer_shared_libraries_aix): Likewise.
9052 * gdbarch.c, gdbarch.h: Regenerated.
9053 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
9054 ULONGEST. Change 'len_avail' type to ULONGEST.
9055 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
9056 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
9057 declaration.
9058 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
9059
8635b3bf
YQ
90602014-02-07 Yao Qi <yao@codesourcery.com>
9061
9062 * corefile.c (memory_error): Get 'exception' from ERR and pass
9063 'exception' to throw_error.
9064
6dddc817
DE
90652014-02-06 Doug Evans <xdje42@gmail.com>
9066
9067 * configure.ac (libpython checking): Remove all but python.o from
9068 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
9069 * configure: Regenerate.
9070
9071 * Makefile.in (SFILES): Add extension.c.
9072 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
9073 (COMMON_OBS): Add extension.o.
9074 * extension.h: New file.
9075 * extension-priv.h: New file.
9076 * extension.c: New file.
9077
9078 * python/python-internal.h: #include "extension.h".
9079 (gdbpy_auto_load_enabled): Declare.
9080 (gdbpy_apply_val_pretty_printer): Declare.
9081 (gdbpy_apply_frame_filter): Declare.
9082 (gdbpy_preserve_values): Declare.
9083 (gdbpy_breakpoint_cond_says_stop): Declare.
9084 (gdbpy_breakpoint_has_cond): Declare.
9085 (void source_python_script_for_objfile): Delete.
9086 * python/python.c: #include "extension-priv.h".
9087 Delete inclusion of "observer.h".
9088 (extension_language_python): Moved here and renamed from
9089 script_language_python in py-auto-load.c.
9090 Redefined to be of type extension_language_defn.
9091 (python_extension_script_ops): New global.
9092 (python_extension_ops): New global.
9093 (struct python_env): New member previous_active.
9094 (restore_python_env): Call restore_active_ext_lang.
9095 (ensure_python_env): Call set_active_ext_lang.
9096 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
9097 New arg extlang.
9098 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
9099 New arg extlang.
9100 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
9101 New arg extlang.
9102 (gdbpy_eval_from_control_command): Renamed from
9103 eval_python_from_control_command, made static. New arg extlang.
9104 (gdbpy_source_script) Renamed from source_python_script, made static.
9105 New arg extlang.
9106 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
9107 result to int. New arg extlang.
9108 (gdbpy_source_objfile_script): Renamed from
9109 source_python_script_for_objfile, made static. New arg extlang.
9110 (gdbpy_start_type_printers): Renamed from start_type_printers, made
9111 static. New args extlang, extlang_printers. Change result type to
9112 "void".
9113 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
9114 static. New arg extlang. Rename arg printers to extlang_printers
9115 and change type to ext_lang_type_printers *.
9116 (gdbpy_free_type_printers): Renamed from free_type_printers, made
9117 static. Replace argument arg with extlang, extlang_printers.
9118 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
9119 (!HAVE_PYTHON, source_python_script): Delete.
9120 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
9121 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
9122 (!HAVE_PYTHON, start_type_printers): Delete.
9123 (!HAVE_PYTHON, apply_type_printers): Delete.
9124 (!HAVE_PYTHON, free_type_printers): Delete.
9125 (_initialize_python): Delete call to observer_attach_before_prompt.
9126 (finalize_python): Set/restore active extension language.
9127 (gdbpy_finish_initialization) Renamed from
9128 finish_python_initialization, made static. New arg extlang.
9129 (gdbpy_initialized): New function.
9130 * python/python.h: #include "extension.h". Delete #include
9131 "value.h", "mi/mi-cmds.h".
9132 (extension_language_python): Declare.
9133 (GDBPY_AUTO_FILE_NAME): Delete.
9134 (enum py_bt_status): Moved to extension.h and renamed to
9135 ext_lang_bt_status.
9136 (enum frame_filter_flags): Moved to extension.h.
9137 (enum py_frame_args): Moved to extension.h and renamed to
9138 ext_lang_frame_args.
9139 (finish_python_initialization): Delete.
9140 (eval_python_from_control_command): Delete.
9141 (source_python_script): Delete.
9142 (apply_val_pretty_printer): Delete.
9143 (apply_frame_filter): Delete.
9144 (preserve_python_values): Delete.
9145 (gdbpy_script_language_defn): Delete.
9146 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
9147 (start_type_printers, apply_type_printers, free_type_printers): Delete.
9148
9149 * auto-load.c: #include "extension.h".
9150 (GDB_AUTO_FILE_NAME): Delete.
9151 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
9152 (script_language_gdb): Delete, moved to extension.c and renamed to
9153 extension_language_gdb.
9154 (source_gdb_script_for_objfile): Delete.
9155 (auto_load_pspace_info): New member unsupported_script_warning_printed.
9156 (loaded_script): Change type of language member to
9157 struct extension_language_defn *.
9158 (init_loaded_scripts_info): Initialize
9159 unsupported_script_warning_printed.
9160 (maybe_add_script): Make static. Change type of language arg to
9161 struct extension_language_defn *.
9162 (clear_section_scripts): Reset unsupported_script_warning_printed.
9163 (auto_load_objfile_script_1): Rewrite to use extension language API.
9164 (auto_load_objfile_script): Make public. Remove support-compiled-in
9165 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
9166 (source_section_scripts): Rewrite to use extension language API.
9167 (load_auto_scripts_for_objfile): Rewrite to use
9168 auto_load_scripts_for_objfile.
9169 (collect_matching_scripts_data): Change type of language member to
9170 struct extension_language_defn *.
9171 (auto_load_info_scripts): Change type of language arg to
9172 struct extension_language_defn *.
9173 (unsupported_script_warning_print): New function.
9174 (script_not_found_warning_print): Make static.
9175 (_initialize_auto_load): Rewrite construction of scripts-directory
9176 help.
9177 * auto-load.h (struct objfile): Add forward decl.
9178 (struct script_language): Delete.
9179 (struct auto_load_pspace_info): Add forward decl.
9180 (struct extension_language_defn): Add forward decl.
9181 (maybe_add_script): Delete.
9182 (auto_load_objfile_script): Declare.
9183 (script_not_found_warning_print): Delete.
9184 (auto_load_info_scripts): Update prototype.
9185 (auto_load_gdb_scripts_enabled): Declare.
9186 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
9187 auto_load_python_scripts_enabled and made public.
9188 (script_language_python): Delete, moved to python.c.
9189 (gdbpy_script_language_defn): Delete.
9190 (info_auto_load_python_scripts): Update to use
9191 extension_language_python.
9192
9193 * breakpoint.c (condition_command): Replace call to
9194 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
9195 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
9196 with call to breakpoint_ext_lang_cond_says_stop.
9197 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
9198 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
9199 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
9200 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
9201 New arg slang.
9202 (local_setattro): Print name of extension language with existing
9203 stop condition.
9204
9205 * valprint.c (val_print, value_print): Update to call
9206 apply_ext_lang_val_pretty_printer.
9207 * cp-valprint.c (cp_print_value): Update call to
9208 apply_ext_lang_val_pretty_printer.
9209 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
9210 (gdbpy_apply_val_pretty_printer): Renamed from
9211 apply_val_pretty_printer. New arg extlang.
9212 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
9213
9214 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
9215 extension language API.
9216 * cli/cli-script.c (execute_control_command): Update to call
9217 eval_ext_lang_from_control_command.
9218
9219 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
9220 enum ext_lang_bt_status values. Update call to
9221 apply_ext_lang_frame_filter.
9222 (mi_cmd_stack_list_locals): Ditto.
9223 (mi_cmd_stack_list_args): Ditto.
9224 (mi_cmd_stack_list_variables): Ditto.
9225 * mi/mi-main.c: Delete #include "python/python-internal.h".
9226 Add #include "extension.h".
9227 (mi_cmd_list_features): Replace reference to python internal variable
9228 gdb_python_initialized with call to ext_lang_initialized_p.
9229
9230 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
9231 Update to use enum ext_lang_frame_args. Update to call
9232 apply_ext_lang_frame_filter.
9233 * python/py-framefilter.c (extract_sym): Update to use enum
9234 ext_lang_bt_status.
9235 (extract_value, py_print_type, py_print_value): Ditto.
9236 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
9237 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
9238 (py_print_frame): Ditto.
9239 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
9240 New arg extlang. Update to use enum ext_lang_bt_status.
9241
9242 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
9243 finish_python_initialization. Replace with call to
9244 finish_ext_lang_initialization.
9245
9246 * typeprint.c (do_free_global_table): Update to call
9247 free_ext_lang_type_printers.
9248 (create_global_typedef_table): Update to call
9249 start_ext_lang_type_printers.
9250 (find_global_typedef): Update to call apply_ext_lang_type_printers.
9251 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
9252 (type_print_options): Change type of global_printers from "void *"
9253 to "struct ext_lang_type_printers *".
9254
9255 * value.c (preserve_values): Update to call preserve_ext_lang_values.
9256 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
9257 (gdbpy_preserve_values): Renamed from preserve_python_values.
9258 New arg extlang.
9259 (!HAVE_PYTHON, preserve_python_values): Delete.
9260
9261 * utils.c (quit_flag): Delete, moved to extension.c.
9262 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
9263 extension.c.
9264
9265 * eval.c: Delete #include "python/python.h".
9266 * main.c: Delete #include "python/python.h".
9267
9268 * defs.h: Update comment.
9269
6af79985
JB
92702014-02-06 Joel Brobecker <brobecker@adacore.com>
9271
9272 GDB 7.7 released.
9273
12c5175d
MK
92742014-02-05 Mark Kettenis <kettenis@gnu.org>
9275
9276 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
9277 defined.
9278
8dc5b319
YQ
92792014-02-05 Yao Qi <yao@codesourcery.com>
9280
9281 * remote.c (remote_pass_signals): Remove local 'buf' and use
9282 rs->buf.
9283 (remote_program_signals): Likewise.
9284
de7b2893
YQ
92852014-02-05 Yao Qi <yao@codesourcery.com>
9286
9287 * ctf.c: Include "inferior.h" and "gdbthread.h".
9288 (CTF_PID): A new macro.
9289 (ctf_open): Call inferior_appeared and add_thread_silent.
9290 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
9291 (ctf_thread_alive): New function.
9292 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
9293
66d032ac
YQ
92942014-02-05 Yao Qi <yao@codesourcery.com>
9295
9296 Revert this patch:
9297
9298 2013-05-24 Yao Qi <yao@codesourcery.com>
9299
9300 * tracepoint.c (TFILE_PID): Remove.
9301 (tfile_open): Don't add thread and inferior.
9302 (tfile_close): Don't set 'inferior_ptid'. Don't call
9303 exit_inferior_silent.
9304 (tfile_thread_alive): Remove.
9305 (init_tfile_ops): Don't set field 'to_thread_alive' of
9306 tfile_ops.
9307
f4ccffad
CE
93082014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
9309
9310 * remote.c (remote_start_remote): Call remote_check_symbols even
9311 if only symbol-file (not file) has been given.
9312
591a12a1
UW
93132014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9314
9315 * gdbarch.sh (skip_entrypoint): New callback.
9316 * gdbarch.c, gdbarch.h: Regenerate.
9317 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
9318 * infrun.c (fill_in_stop_func): Likewise.
9319 * ppc-linux-tdep.c: Include "elf/ppc64.h".
9320 (ppc_elfv2_elf_make_msymbol_special): New function.
9321 (ppc_elfv2_skip_entrypoint): Likewise.
9322 (ppc_linux_init_abi): Install them for ELFv2.
9323
cc0e89c5
UW
93242014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9325
9326 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
9327 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
9328 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
9329 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
9330 structures returned in GPRs.
9331
52f548e4
UW
93322014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9333
9334 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
9335 offset to the stack parameter list for the ELFv2 ABI.
9336
d4094b6a
UW
93372014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9338
9339 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
9340 set_gdbarch_convert_from_func_ptr_addr and
9341 set_gdbarch_elf_make_msymbol_special for ELFv1.
9342 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
9343 function descriptors on ELFv1.
9344 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
9345 set up r12 at function entry.
9346
cd453cd0
UW
93472014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9348
9349 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
9350 (struct gdbarch_tdep): New member elf_abi.
9351
9352 * rs6000-tdep.c: Include "elf/ppc64.h".
9353 (rs6000_gdbarch_init): Detect ELF ABI version.
9354
0ff3e01f
UW
93552014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9356
9357 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
9358 within a register pair holding a DFP 128-bit value on little-endian.
9359 (ppc64_sysv_abi_return_value_base): Likewise.
9360 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
9361 (dfp_pseudo_register_write): Likewise.
9362
5b757e5d
UW
93632014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9364
9365 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
9366 offset on little-endian when passing _Decimal32.
9367 (ppc64_sysv_abi_return_value_base): Likewise for return values.
9368
084ee545
UW
93692014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9370
9371 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
9372 of the overlapped FP register within the VSX register on little-
9373 endian platforms.
9374 (efpr_pseudo_register_write): Likewise.
9375
d63167af
UW
93762014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9377
9378 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
9379 offset on little-endian when passing small structures.
9380
e765b44c
UW
93812014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9382
9383 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
9384 (struct ppc64_sysv_argpos): New data structure.
9385 (ppc64_sysv_abi_push_float): Remove.
9386 (ppc64_sysv_abi_push_val): New function.
9387 (ppc64_sysv_abi_push_integer): Likewise.
9388 (ppc64_sysv_abi_push_freg): Likewise.
9389 (ppc64_sysv_abi_push_vreg): Likewise.
9390 (ppc64_sysv_abi_push_param): Likewise.
9391 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
9392 (ppc64_sysv_abi_return_value_base): New function.
9393 (ppc64_sysv_abi_return_value): Refactor to use it.
9394
36c24d95
UW
93952014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
9396
9397 * NEWS: Document new target powerpc64le-*-linux*.
9398
26fd9228
MK
93992014-02-04 Mark Kettenis <kettenis@gnu.org>
9400
9401 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
9402 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
9403 core dumps.
9404 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
9405 register set used in ELF core dumps. Add floating-point register set.
9406
c5bb7362
KB
94072014-02-03 Kevin Buettner <kevinb@redhat.com>
9408
74228e77 9409 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
9410 dwarf2_to_gdb[] table using symbolic constants. Adjust
9411 penultimate entry from number representing the PC register
9412 to symbolic constant representing the MDR register. Add
9413 constant for the PC register to the end of the table.
9414
af09351e
MK
94152014-02-03 Mark Kettenis <kettenis@gnu.org>
9416
9417 * bsd-kvm.c: Include <sys/param.h>
9418
8507e05d
MK
94192014-02-03 Mark Kettenis <kettenis@gnu.org>
9420
9421 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
9422
ae56bfb8
JB
94232014-01-31 Joel Brobecker <brobecker@adacore.com>
9424
9425 * ada-lang.h (clear_ada_sym_cache): Delete.
9426
718ee4dc
UW
94272014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
9428
9429 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
9430
401e27fd
JM
94312014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
9432
9433 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
9434 the sigreturn register save area only if the syscall is
9435 sigreturn.
9436
a7c88acd
JB
94372014-01-29 Joel Brobecker <brobecker@adacore.com>
9438
9439 * valops.c (value_slice): Minor reformatting.
9440
fa0079ea
UW
94412014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
9442
9443 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
9444
c6044dd1
JB
94452014-01-28 Joel Brobecker <brobecker@adacore.com>
9446
9447 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
9448 New static globals.
9449 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
9450 (ada_ignore_descriptive_types_p): New static global.
9451 (find_parallel_type_by_descriptive_type): Return immediately
9452 if ada_ignore_descriptive_types_p is set.
9453 (_initialize_ada_language): Register new commands "maintenance
9454 set ada", "maintenance show ada", "maintenance set ada
9455 ignore-descriptive-types" and "maintenance show ada
9456 ignore-descriptive-types".
9457 * NEWS: Add entry for new "maint ada set/show
9458 ignore-descriptive-types" commands.
9459
568e808b
MM
94602014-01-27 Markus Metzger <markus.t.metzger@intel.com>
9461
9462 * record-btrace.c (record_btrace_close): Call btrace_teardown
9463 for all threads.
9464
467d141b
JB
94652014-01-27 Joel Brobecker <brobecker@adacore.com>
9466
9467 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
9468 "ui-out.h".
9469
fb151210
JB
94702014-01-27 Joel Brobecker <brobecker@adacore.com>
9471
9472 * ada-typeprint (type_is_full_subrange_of_target_type):
9473 New function.
9474 (print_range): Add parameter bounds_prefered_p. If not set,
9475 try printing range types using the name of their base type.
9476 (print_range_type): Add parameter bounds_prefered_p.
9477 Use it in call to print_range.
9478 (print_array_type, ada_print_type): Update calls to print_range
9479 and print_range_type.
9480
aba02109
JB
94812014-01-27 Joel Brobecker <brobecker@adacore.com>
9482
9483 * ada-typeprint.c (print_array_type, print_choices, print_range)
9484 (print_range_bound, print_dynamic_range_bound, print_range_type):
9485 Remove declaration.
9486
e62e21fd
JB
94872014-01-27 Joel Brobecker <brobecker@adacore.com>
9488
9489 * ada-typeprint.c (print_range): Add missing empty line
9490 after local declaration.
9491
859cf5d1
JB
94922014-01-27 Joel Brobecker <brobecker@adacore.com>
9493
9494 * ada-valprint.c (print_optional_low_bound): Get index_type's
9495 target type for as long as it is a TYPE_CODE_RANGE.
9496
25790f6f
JB
94972014-01-27 Joel Brobecker <brobecker@adacore.com>
9498
9499 * procfs.c (procfs_make_note_section): Remove assertion and
9500 associated comment.
9501
6b6aa828
YQ
95022014-01-24 Yao Qi <yao@codesourcery.com>
9503
9504 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
9505 * corelow.c (get_core_siginfo): Likewise.
9506
5d6df423
YQ
95072014-01-24 Yao Qi <yao@codesourcery.com>
9508
9509 * remote.c (remote_write_bytes_aux): Change type of 'len' to
9510 ULONGEST. Don't check 'len' is negative.
9511 (remote_write_bytes): Change type of 'len' to ULONGEST.
9512
83b645b8
TT
95132014-01-23 Tom Tromey <tromey@redhat.com>
9514
9515 PR python/16485:
9516 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
9517 Handle exception from frame.block.
9518 (FrameVars.fetch_frame_locals): Likewise.
9519
0740f8d8
TT
95202014-01-23 Tom Tromey <tromey@redhat.com>
9521
9522 PR python/16487:
9523 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
9524 on a NULL pointer. Move "goto error" to correct place.
9525
21909fa1
TT
95262014-01-23 Tom Tromey <tromey@redhat.com>
9527
9528 PR python/16491:
9529 * python/py-framefilter.c (apply_frame_filter): Call
9530 ensure_python_env after computing gdbarch.
9531
17fde6d0
YQ
95322014-01-23 Yao Qi <yao@codesourcery.com>
9533
9534 * target.c (raw_memory_xfer_partial): Change argument type
9535 from void * to gdb_byte *.
9536 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
9537
87ce2a04
DE
95382014-01-22 Doug Evans <dje@google.com>
9539
9540 New gdbserver option --debug-format=timestamp.
9541 * NEWS: Mention it.
9542
237b092b
AA
95432014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
9544
9545 * syscalls/s390x-linux.xml: New file.
9546 * syscalls/s390-linux.xml: New file.
9547 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
9548 (XML_SYSCALL_FILENAME_S390X): Likewise.
9549 (op_svc): New enum value for SVC opcode.
9550 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
9551 (s390_linux_get_syscall_number): New function.
9552 (s390_gdbarch_init): Register '*get_syscall_number' and the
9553 syscall xml file name.
9554 * data-directory/Makefile.in (SYSCALLS_FILES): Add
9555 "s390-linux.xml" and "s390x-linux.xml".
9556 * NEWS: Announce new feature.
9557
54bff650
BS
95582014-01-22 Baruch Siach <baruch@tkos.co.il>
9559
9560 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
9561
14e361d7
PA
95622014-01-22 Pedro Alves <palves@redhat.com>
9563
9564 * xtensa-config.c: Include defs.h.
9565
46bbb3ed
JB
95662014-01-22 Joel Brobecker <brobecker@adacore.com>
9567
9568 * common/common-utils.h: Add "ARI:" comment beside __func__
9569 reference.
9570
3a80edfc
JB
95712014-01-22 Joel Brobecker <brobecker@adacore.com>
9572
9573 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
9574 documentation a bit.
9575
4869db5e
RM
95762014-01-21 Roland McGrath <mcgrathr@google.com>
9577
9578 * configure.ac: Call AM_PROG_INSTALL_STRIP.
9579 * configure: Regenerate.
9580 * aclocal.m4: Regenerate.
9581 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
9582 New substituted variables.
9583 (install-strip): New target.
9584 (INSTALL_SCRIPT): New substituted variable.
9585 (FLAGS_TO_PASS): Add it.
9586 (install-only): Use $(INSTALL_SCRIPT) rather than
9587 $(INSTALL_PROGRAM) for gcore.
9588
9ea4267d
TT
95892014-01-20 Tom Tromey <tromey@redhat.com>
9590
9591 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
9592 together.
9593
1f2bdf09
TT
95942014-01-20 Tom Tromey <tromey@redhat.com>
9595
9596 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
9597 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
9598 (deprecated_cmd_warning, complete_on_cmdlist): Update.
9599 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
9600 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
9601 (struct cmd_list_element) <flags>: Remove.
9602 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
9603 doc_allocated>: New fields.
9604 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
9605 bitfields.
9606 * maint.c (maintenance_do_deprecate): Update.
9607 * top.c (execute_command): Update.
9608
e671835b
BS
96092014-01-20 Baruch Siach <baruch@tkos.co.il>
9610
9611 * xtensa-linux-nat.c: Include asm/ptrace.h.
9612
50367cd2
IB
96132014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9614
9615 * Makefile.in (SFILES): Add d-support.c.
9616 (COMMON_OBS): Add d-support.o.
9617 * d-lang.h (d_parse_symbol): Add comment, now defined in
9618 d-support.c.
9619 * d-lang.c (parse_call_convention)
9620 (parse_attributes, parse_function_types)
9621 (parse_function_args, parse_type, parse_identifier)
9622 (call_convention_p, d_parse_symbol): Move functions to ...
9623 * d-support.c: ... New file.
9624
ec9f644a
IB
96252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9626
9627 * d-lang.h (d_parse_symbol): Add declaration.
9628 * d-lang.c (extract_identifiers)
9629 (extract_type_info): Remove functions.
9630 (parse_call_convention, parse_attributes)
9631 (parse_function_types, parse_function_args)
9632 (parse_type, parse_identifier, call_convention_p)
9633 (d_parse_symbol): New functions.
9634 (d_demangle): Use d_parse_symbol to demangle D symbols.
9635
94b1b47e
IB
96362014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9637
9638 * d-lang.h (struct builtin_d_type): New data type.
9639 (builtin_d_type): Add declaration.
9640 * d-lang.c (d_language_arch_info, build_d_types)
9641 (builtin_d_type): New functions.
9642 (enum d_primitive_types): New data type.
9643 (d_language_defn): Change c_language_arch_info to
9644 d_language_arch_info.
9645 (d_type_data): New static variable.
9646 (_initialize_d_language): Initialize d_type_data.
9647
63778547
IB
96482014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9649
9650 * d-lang.h (d_main_name): Add declaration.
9651 * d-lang.c (d_main_name): New function.
9652 * symtab.c (find_main_name): Add call to d_main_name.
9653
3271ba66
IB
96542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9655
9656 * d-lang.c (d_language_defn): Change macro_expansion_c to
9657 macro_expansion_no.
9658
d36b3012
IB
96592014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
9660
9661 * MAINTAINERS: Add myself as a write-after-approval maintainer.
9662
c90a6fb7
SDJ
96632014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
9664
9665 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
9666 gdb_exception" declaration.
9667 * remote.c (getpkt_or_notif_sane): Likewise.
9668
749234e5
DE
96692014-01-17 Doug Evans <dje@google.com>
9670
9671 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
9672 function, contents of dirnames_to_char_ptr_vec_append moved here.
9673 (delim_string_to_char_ptr_vec): New function.
9674 (dirnames_to_char_ptr_vec_append): Rewrite.
9675 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
9676
df049a58
DE
96772014-01-17 Doug Evans <dje@google.com>
9678
9679 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
9680 and moved here ...
9681 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
9682 #include "common-utils.h".
9683 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
9684 * common/vec.h (VEC_ASSERT_PASS): Update.
9685 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
9686 (MACH_CHECK_ERROR): Update.
9687
69f97648
SM
96882014-01-17 Simon Marchi <simon.marchi@ericsson.com>
9689
9690 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
9691 comments.
9692 * gdbarch.h: Regenerate.
9693
98b1cfdc
TT
96942014-01-16 Tom Tromey <tromey@redhat.com>
9695
9696 * value.c (struct value) <regnum>: Move earlier.
9697
77a19445
TT
96982014-01-16 Tom Tromey <tromey@redhat.com>
9699
9700 * remote.c (extended_remote_create_inferior): Rename from
9701 extended_remote_create_inferior_1. Add "ops" argument. Remove
9702 old implementation.
9703
62261490
PA
97042014-01-16 Pedro Alves <palves@redhat.com>
9705
9706 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
9707 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
9708 the backchain.
9709
4d65956b
DE
97102014-01-16 Doug Evans <dje@google.com>
9711
9712 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
9713
52834460
MM
97142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9715
9716 * btrace.h (btrace_thread_flag): New.
9717 (struct btrace_thread_info) <flags>: New.
9718 * record-btrace.c (record_btrace_resume_thread)
9719 (record_btrace_find_thread_to_move, btrace_step_no_history)
9720 (btrace_step_stopped, record_btrace_start_replaying)
9721 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
9722 (record_btrace_find_resume_thread): New.
9723 (record_btrace_resume, record_btrace_wait): Extend.
9724 (record_btrace_can_execute_reverse): New.
9725 (record_btrace_open): Fail in non-stop mode.
9726 (record_btrace_set_replay): Split into this, ...
9727 (record_btrace_stop_replaying): ... this, ...
9728 (record_btrace_clear_histories): ... and this.
9729 (init_record_btrace_ops): Init to_can_execute_reverse.
9730 * NEWS: Announce it.
9731
118e6252
MM
97322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9733
9734 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
9735 (forward_target_decr_pc_after_break)
9736 (target_decr_pc_after_break): New.
9737 * target.c (forward_target_decr_pc_after_break)
9738 (target_decr_pc_after_break): New.
9739 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
9740 instead of gdbarch_decr_pc_after_break.
9741 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
9742 instead of gdbarch_decr_pc_after_break.
9743 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
9744 instead of gdbarch_decr_pc_after_break.
9745 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
9746 instead of gdbarch_decr_pc_after_break.
9747 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
9748 instead of gdbarch_decr_pc_after_break.
9749 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
9750 instead of gdbarch_decr_pc_after_break.
9751
6e07b1d2
MM
97522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9753
9754 * btrace.c: Include regcache.h.
9755 (btrace_add_pc): New.
9756 (btrace_enable): Call btrace_add_pc.
9757 (btrace_is_empty): New.
9758 * btrace.h (btrace_is_empty): New.
9759 * record-btrace.c (require_btrace, record_btrace_info): Call
9760 btrace_is_empty.
9761
969c39fb
MM
97622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9763
9764 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
9765 Support delta reads.
9766 (linux_disable_btrace): Change return type.
9767 * common/linux-btrace.h (linux_read_btrace): Change parameters
9768 and return type to allow error reporting. Update users.
9769 (linux_disable_btrace): Change return type. Update users.
9770 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
9771 New.
9772 (btrace_error): New.
9773 (btrace_block) <begin>: Comment on BEGIN == 0.
9774 * btrace.c (btrace_compute_ftrace): Start from the end of
9775 the current trace.
9776 (btrace_stitch_trace, btrace_clear_history): New.
9777 (btrace_fetch): Read delta trace, return if replaying.
9778 (btrace_clear): Move clear history code to btrace_clear_history.
9779 (parse_xml_btrace): Throw an error if parsing failed.
9780 * target.h (struct target_ops) <to_read_btrace>: Change parameters
9781 and return type to allow error reporting.
9782 (target_read_btrace): Change parameters and return type to allow
9783 error reporting.
9784 * target.c (target_read_btrace): Update.
9785 * remote.c (remote_read_btrace): Support delta reads. Pass
9786 errors on.
9787 * NEWS: Announce it.
9788
0b722aec
MM
97892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9790
9791 * record.h (record_btrace_frame_unwind)
9792 (record_btrace_tailcall_frame_unwind): New declarations.
9793 * dwarf2-frame: Include record.h
9794 (dwarf2_frame_cfa): Throw an error for btrace frames.
9795 * record-btrace.c: Include hashtab.h.
9796 (btrace_get_bfun_name): New.
9797 (btrace_call_history): Call btrace_get_bfun_name.
9798 (struct btrace_frame_cache): New.
9799 (bfcache): New.
9800 (bfcache_hash, bfcache_eq, bfcache_new): New.
9801 (btrace_get_frame_function): New.
9802 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
9803 (record_btrace_frame_this_id): Compute own id.
9804 (record_btrace_frame_prev_register): Provide PC, throw_error
9805 for all other registers.
9806 (record_btrace_frame_sniffer): Detect btrace frames.
9807 (record_btrace_tailcall_frame_sniffer): New.
9808 (record_btrace_frame_dealloc_cache): New.
9809 (record_btrace_frame_unwind): Add new functions.
9810 (record_btrace_tailcall_frame_unwind): New.
9811 (_initialize_record_btrace): Allocate cache.
9812 * btrace.c (btrace_clear): Call reinit_frame_cache.
9813 * NEWS: Announce it.
9814
066ce621
MM
98152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9816
9817 * record-btrace.c (record_btrace_set_replay)
9818 (record_btrace_goto_begin, record_btrace_goto_end)
9819 (record_btrace_goto): New.
9820 (init_record_btrace_ops): Initialize them.
9821 * NEWS: Announce it.
9822
e2887aa3
MM
98232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9824
9825 * record-btrace.c (record_btrace_find_new_threads)
9826 (record_btrace_thread_alive): New.
9827 (init_record_btrace_ops): Initialize to_find_new_threads and
9828 to_thread_alive.
9829
b2f4cfde
MM
98302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9831
9832 * record-btrace.c (record_btrace_resume): New.
9833 (record_btrace_wait): New.
9834 (init_record_btrace_ops): Initialize to_wait and to_resume.
9835
633785ff
MM
98362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9837
9838 * record-btrace.c (record_btrace_xfer_partial)
9839 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
9840 (record_btrace_allow_memory_access): New.
9841 (init_record_btrace_ops): Initialize new methods.
9842 * target.c (raw_memory_xfer_partial): Bail out if target reports
9843 that this memory is not available.
9844
3db08215
MM
98452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9846
9847 * target.h (target_ops) <to_insert_breakpoint>
9848 <to_remove_breakpoint>: Add target_ops parameter.
9849 (forward_target_insert_breakpoint): New.
9850 (forward_target_remove_breakpoint): New.
9851 (memory_remove_breakpoint, memory_insert_breakpoint):
9852 Add target_ops parameter.
9853 * target.c (target_insert_breakpoint): Split into this and ...
9854 (forward_target_insert_breakpoint): ... this.
9855 (target_remove_breakpoint): Split into this and ...
9856 (forward_target_remove_breakpoint): ... this.
9857 (debug_to_insert_breakpoint): Add target_ops parameter.
9858 Call forward_target_insert_breakpoint.
9859 (debug_to_remove_breakpoint): Add target_ops parameter.
9860 Call forward_target_remove_breakpoint.
9861 (update_current_target): Do not inherit or default to_insert_breakpoint
9862 and to_remove_breakpoint.
9863 * corelow.c (ignore): Add target_ops parameter.
9864 * exec.c (ignore): Add target_ops parameter.
9865 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
9866 Add target_ops parameter.
9867 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
9868 Add target_ops parameter.
9869 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
9870 Add target_ops parameter.
9871 * record-full.c (record_full_beneath_to_insert_breakpoint)
9872 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
9873 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
9874 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
9875 (record_full_core_remove_breakpoint): Add target_ops parameter.
9876 Update users.
9877 (record_full_beneath_to_insert_breakpoint_ops)
9878 (record_full_beneath_to_remove_breakpoint_ops)
9879 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
9880 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
9881 tmp_to_remove_breakpoint_ops,
9882 record_full_beneath_to_insert_breakpoint_ops, and
9883 record_full_beneath_to_remove_breakpoint_ops.
9884 * remote-m32r-sdi.c (m32r_insert_breakpoint)
9885 (m32r_remove_breakpoint): Add target_ops parameter.
9886 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
9887 Add target_ops parameter.
9888 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
9889 Add target_ops parameter.
9890
cecac1ab
MM
98912014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9892 Markus Metzger <markus.t.metzger@intel.com>
9893
9894 * record-btrace.c: Include frame-unwind.h.
9895 (record_btrace_frame_unwind_stop_reason)
9896 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
9897 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
9898 New.
9899 (init_record_btrace_ops): Install it.
9900
824344ca
MM
99012014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9902
9903 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
9904 get_prev_frame_1.
9905
32261e52
MM
99062014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9907
9908 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
9909 earlier.
9910
ea001bdc
MM
99112014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9912
9913 * frame-unwind.c: Include target.h.
9914 (frame_unwind_try_unwinder): New function with code from ...
9915 (frame_unwind_find_by_frame): ... here. New variable
9916 unwinder_from_target, call also target_get_unwinder)
9917 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
9918 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
9919 * target.h (struct target_ops): New fields to_get_unwinder and
9920 to_get_tailcall_unwinder.
9921 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
9922
1f3ef581
MM
99232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9924
9925 * record-btrace.c (record_btrace_fetch_registers)
9926 (record_btrace_store_registers)
9927 (record_btrace_to_prepare_to_store): New.
9928 (init_record_btrace_ops): Add the above.
9929
f32dbf8c
MM
99302014-01-16 Tom Tromey <tromey@redhat.com>
9931
9932 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
9933 * target.h (struct target_ops) <to_prepare_to_store>: Add
9934 argument.
9935 (target_prepare_to_store): Add argument.
9936 * target.c (debug_to_prepare_to_store): Add argument.
9937 (update_current_target): Update.
9938 * remote.c (remote_prepare_to_store): Add 'self' argument.
9939 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
9940 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
9941 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
9942 * record-full.c (record_full_core_prepare_to_store): Add 'self'
9943 argument.
9944 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
9945 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
9946 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
9947 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
9948 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
9949
07bbe694
MM
99502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9951
9952 * btrace.h (replay) <replay>: New.
9953 (btrace_is_replaying): New.
9954 * btrace.c (btrace_clear): Free replay iterator.
9955 (btrace_is_replaying): New.
9956 * record-btrace.c (record_btrace_is_replaying): New.
9957 (record_btrace_info): Print insn number if replaying.
9958 (record_btrace_insn_history): Start at replay position.
9959 (record_btrace_call_history): Start at replay position.
9960 (init_record_btrace_ops): Init to_record_is_replaying.
9961
0688d04e
MM
99622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9963
9964 * record-btrace.c (record_btrace_insn_history_range): Include
9965 end.
9966 (record_btrace_insn_history_from): Adjust range.
9967 (record_btrace_call_history_range): Include
9968 end.
9969 (record_btrace_call_history_from): Adjust range.
9970 * NEWS: Announce changes.
9971
8710b709
MM
99722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9973
9974 * record.h (enum record_print_flag)
9975 <record_print_indent_calls>: New.
9976 * record.c (get_call_history_modifiers): Recognize /c modifier.
9977 (_initialize_record): Document /c modifier.
9978 * record-btrace.c (btrace_call_history): Add btinfo parameter.
9979 Reorder fields. Optionally indent the function name. Update
9980 all users.
9981 * NEWS: Announce changes.
9982
d0fa7535
MM
99832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9984
9985 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
9986
5de9129b
MM
99872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9988
9989 * btrace.c (ftrace_new_function): Start counting at one.
9990 * record-btrace.c (record_btrace_info): Adjust number of calls
9991 and insns.
9992 * NEWS: Announce it.
9993
7acbe133
MM
99942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9995
9996 * record-btrace.c (btrace_call_history_insn_range): Print
9997 insn range as [begin, end].
9998
23a7fe75
MM
99992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10000
10001 * btrace.h (struct btrace_func_link): New.
10002 (enum btrace_function_flag): New.
10003 (struct btrace_inst): Rename to ...
10004 (struct btrace_insn): ...this. Update all users.
10005 (struct btrace_func) <ibegin, iend>: Remove.
10006 (struct btrace_func_link): New.
10007 (struct btrace_func): Rename to ...
10008 (struct btrace_function): ...this. Update all users.
10009 (struct btrace_function) <segment, flow, up, insn, insn_offset)
10010 (number, level, flags>: New.
10011 (struct btrace_insn_iterator): Rename to ...
10012 (struct btrace_insn_history): ...this.
10013 Update all users.
10014 (struct btrace_insn_iterator, btrace_call_iterator): New.
10015 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
10016 (struct btrace_target_info) <begin, end, level>
10017 <insn_history, call_history>: New.
10018 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
10019 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
10020 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
10021 (btrace_call_number, btrace_call_begin, btrace_call_end)
10022 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
10023 (btrace_find_function_by_number, btrace_set_insn_history)
10024 (btrace_set_call_history): New.
10025 * btrace.c (btrace_init_insn_iterator)
10026 (btrace_init_func_iterator, compute_itrace): Remove.
10027 (ftrace_print_function_name, ftrace_print_filename)
10028 (ftrace_skip_file): Change
10029 parameter to const.
10030 (ftrace_init_func): Remove.
10031 (ftrace_debug): Use new btrace_function fields.
10032 (ftrace_function_switched): Also consider gaining and
10033 losing symbol information).
10034 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
10035 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
10036 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
10037 New.
10038 (ftrace_new_function): Move. Remove debug print.
10039 (ftrace_update_lines, ftrace_update_insns): New.
10040 (ftrace_update_function): Check for call, ret, and jump.
10041 (compute_ftrace): Renamed to ...
10042 (btrace_compute_ftrace): ...this. Rewritten to compute call
10043 stack.
10044 (btrace_fetch, btrace_clear): Updated.
10045 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
10046 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
10047 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
10048 (btrace_call_number, btrace_call_begin, btrace_call_end)
10049 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
10050 (btrace_find_function_by_number, btrace_set_insn_history)
10051 (btrace_set_call_history): New.
10052 * record-btrace.c (require_btrace): Use new btrace thread
10053 info fields.
10054 (record_btrace_info, btrace_insn_history)
10055 (record_btrace_insn_history, record_btrace_insn_history_range):
10056 Use new btrace thread info fields and new iterator.
10057 (btrace_func_history_src_line): Rename to ...
10058 (btrace_call_history_src_line): ...this. Use new btrace
10059 thread info fields.
10060 (btrace_func_history): Rename to ...
10061 (btrace_call_history): ...this. Use new btrace thread info
10062 fields and new iterator.
10063 (record_btrace_call_history, record_btrace_call_history_range):
10064 Use new btrace thread info fields and new iterator.
10065
8372a7cb
MM
100662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10067
10068 * frame.h (frame_id_build_unavailable_stack_special): New.
10069 * frame.c (frame_id_build_unavailable_stack_special): New.
10070
c2170eef
MM
100712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10072
10073 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
10074 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
10075 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
10076 to gdbarch.
10077 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
10078 (i386_insn_is_jump, i386_jmp_p): New.
10079 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
10080 insn_is_jump to gdbarch.
10081 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
10082 * gdbarch.h: Regenerated.
10083 * gdbarch.c: Regenerated.
10084 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
10085 (default_insn_is_jump): New.
10086 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
10087 (default_insn_is_jump): New.
10088
864089d2
MM
100892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10090
10091 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
10092 Change to ...
10093 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
10094 (btrace_read_type) <btrace_read_new>: Change to ...
10095 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
10096
ed9edfb5
MM
100972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10098
10099 * common/linux-btrace.c (linux_read_btrace): Free trace from
10100 previous iteration.
10101
fbcbc3fd
DE
101022014-01-15 Doug Evans <dje@google.com>
10103
10104 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
10105 uint32_t.
10106
3d548a53
TT
101072014-01-15 Tom Tromey <tromey@redhat.com>
10108
10109 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
10110 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
10111 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
10112 (set_objfile_main_name): New function.
10113 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
10114 language_of_main>: New fields.
10115 (set_objfile_main_name): Declare.
10116 * symtab.c (find_main_name): Loop over objfiles to find the main
10117 name and language.
10118 (set_main_name): Now static.
10119 (get_main_info): Add comment.
10120 * symtab.h (set_main_name): Don't declare.
10121
32ac0d11
TT
101222014-01-15 Tom Tromey <tromey@redhat.com>
10123
10124 * symtab.c (main_progspace_key): New global.
10125 (struct main_info): New.
10126 (name_of_main, language_of_main): Remove.
10127 (get_main_info, main_info_cleanup): New function.
10128 (set_main_name, main_name, main_language): Use get_main_info.
10129 (_initialize_symtab): Initialize main_progspace_key.
10130
9e6c82ad
TT
101312014-01-15 Tom Tromey <tromey@redhat.com>
10132
10133 * dbxread.c (process_one_symbol): Update.
10134 * dwarf2read.c (read_partial_die): Update.
10135 * symfile.c (set_initial_language): Call main_language.
10136 * symtab.c (language_of_main): Now static.
10137 (set_main_name): Add 'lang' parameter.
10138 (find_main_name): Update.
10139 (main_language): New function.
10140 (symtab_observer_executable_changed): Update.
10141 * symtab.h (set_main_name): Update.
10142 (language_of_main): Remove.
10143 (main_language): Declare.
10144
6ef55de7
TT
101452014-01-15 Tom Tromey <tromey@redhat.com>
10146
10147 * symfile.c (init_entry_point_info): Use new "initialized" field.
10148 Update.
10149 * objfiles.h (struct entry_point) <initialized>: New field.
10150 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
10151 (struct objfile) <ei>: ...here. Remove.
10152 * objfiles.c (entry_point_address_query): Update.
10153
53eddfa6
TT
101542014-01-15 Tom Tromey <tromey@redhat.com>
10155
10156 * objfiles.c (entry_point_address_query): Relocate entry point
10157 address.
10158 (objfile_relocate1): Do not relocate entry point address.
10159 * objfiles.h (struct entry_info) <entry_point>: Update comment.
10160 <the_bfd_section_index>: New field.
10161 * symfile.c (init_entry_point_info): Find the entry point's
10162 section.
10163
d56e56aa
TT
101642014-01-15 Tom Tromey <tromey@redhat.com>
10165
10166 * solib-frv.c (enable_break): Use entry_point_address_query.
10167
33a97bbe
OJ
101682014-01-15 Omair Javaid <omair.javaid@linaro.org>
10169
10170 * NEWS: Add note on improved process record-replay on
10171 arm*-linux* targets.
10172
c6ec2b30
OJ
101732014-01-15 Omair Javaid <omair.javaid@linaro.org>
10174
10175 * arm-tdep.c (enum arm_record_result): New enum.
10176 (arm_record_unsupported_insn): New function.
10177 (arm_record_coproc_data_proc): Removed.
10178 (thumb2_record_ld_st_multiple): New function.
10179 (thumb2_record_ld_st_dual_ex_tbb): New function.
10180 (thumb2_record_data_proc_sreg_mimm): New function.
10181 (thumb2_record_ps_dest_generic): New function.
10182 (thumb2_record_branch_misc_cntrl): New function.
10183 (thumb2_record_str_single_data): New function.
10184 (thumb2_record_ld_mem_hints): New function.
10185 (thumb2_record_ld_word): New function.
10186 (thumb2_record_lmul_lmla_div): New function.
10187 (thumb2_record_decode_insn_handler): New function.
10188 (decode_insn): Add thumb32 instruction handlers.
10189
97dfe206
OJ
101902014-01-15 Omair Javaid <omair.javaid@linaro.org>
10191
10192 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
10193 (struct arm_linux_record_tdep): Declare.
10194 (arm_canonicalize_syscall): New function.
10195 (arm_all_but_pc_registers_record): New function.
10196 (arm_linux_syscall_record): New function.
10197 (arm_linux_init_abi): Add syscall recording constructs.
10198 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
10199 decoding. (arm_record_coproc_data_proc): Update arm syscall
10200 decoding.
10201 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
10202 <arm_syscall_record>: New field.
10203 * configure.tgt (arm*-*-linux*): Add linux-record.o to
10204 gdb_target_obs.
10205
9904a494
OJ
102062014-01-15 Omair Javaid <omair.javaid@linaro.org>
10207
10208 * arm-tdep.c (thumb_record_misc): Update to use sp as base
10209 register for push instruction recording.
10210
f969241e
OJ
102112014-01-15 Omair Javaid <omair.javaid@linaro.org>
10212
10213 * arm-tdep.c (thumb_record_misc): Update to correct logical
10214 error while recording ldm, ldmia and pop instructions.
10215
bfbbec00
OJ
102162014-01-15 Omair Javaid <omair.javaid@linaro.org>
10217
10218 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
10219
e40adcc9
PA
102202014-01-15 Pedro Alves <palves@redhat.com>
10221
10222 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
10223 (go32_resume, go32_fetch_registers, store_register)
10224 (go32_store_registers, go32_prepare_to_store)
10225 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
10226 (go32_create_inferior, go32_can_run, go32_terminal_init)
10227 (go32_terminal_inferior, go32_terminal_ours): Delete forward
10228 declarations.
10229
b0a16e66
TT
102302014-01-15 Tom Tromey <tromey@redhat.com>
10231
10232 * target.h (async_callback_ftype): New typedef.
10233 (struct target_ops) <to_async>: Use it.
10234
bf7105a4
JB
102352014-01-15 Joel Brobecker <brobecker@adacore.com>
10236
10237 * python/py-value.c (get_field_type): Remove unnecessary curly
10238 braces for single-statement if block.
10239
a8f35c2e
JB
102402014-01-15 Joel Brobecker <brobecker@adacore.com>
10241
10242 * python/py-type.c (convert_field): Add missing empty line
10243 after declarations.
10244
bb4142cf
DE
102452014-01-14 Doug Evans <dje@google.com>
10246
10247 * symfile.h (expand_symtabs_matching): Renamed from
10248 expand_partial_symbol_names. Update prototype.
10249 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
10250 * symfile.c (expand_symtabs_matching): Renamed from
10251 expand_partial_symbol_names. New args file_matcher, kind.
10252 Rename arg fun to symbol_matcher.
10253 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
10254 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
10255 ada_expand_partial_symbol_name.
10256 (ada_make_symbol_completion_list): Update to call
10257 expand_symtabs_matching.
10258 (ada_add_global_exceptions): Call expand_symtabs_matching.
10259 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
10260 call map_symbol_filenames.
10261 * symtab.c (sources_info): Update to call map_symbol_filenames.
10262 (search_symbols): Call expand_symtabs_matching.
10263 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
10264 (default_make_symbol_completion_list_break_on): Update to call
10265 expand_symtabs_matching.
10266 (make_source_files_completion_list): Update to call
10267 map_symbol_filenames.
10268
206f2a57
DE
102692014-01-14 Doug Evans <dje@google.com>
10270
10271 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
10272 (expand_symtabs_symbol_matcher_ftype): New typedef.
10273 (quick_symbol_functions.expand_symtabs_matching): Update to use.
10274 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
10275 * symfile.c (expand_partial_symbol_names): Update to use
10276 expand_symtabs_symbol_matcher_ftype.
10277 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
10278 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
10279 Arg name_matcher renamed to symbol_matcher.
10280 * psymtab.c (recursively_search_psymtabs): Update to use
10281 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
10282 sym_matcher.
10283 (expand_symtabs_matching_via_partial): Update to use
10284 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
10285 Arg name_matcher renamed to symbol_matcher.
10286
540c2971
DE
102872014-01-14 Doug Evans <dje@google.com>
10288
10289 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
10290 (map_partial_symbol_filenames): Ditto.
10291 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
10292 (map_partial_symbol_filenames): Ditto.
10293 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
10294 (map_partial_symbol_filenames): Ditto.
10295 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
10296 (map_partial_symbol_filenames): Ditto.
10297 * symtab.c: Delete #include "psymtab.h".
10298
8213266a
PA
102992014-01-14 Pedro Alves <palves@redhat.com>
10300 Tom Tromey <tromey@redhat.com>
10301
10302 * infrun.c (use_displaced_stepping): Use find_record_target
10303 instead of RECORD_IS_USED.
10304 (adjust_pc_after_break): Use record_full_is_used instead of
10305 RECORD_IS_USED.
10306 * record-btrace.c (record_btrace_open): Call record_preopen
10307 instead of checking RECORD_IS_USED.
10308 * record-full.c (record_full_shortname)
10309 (record_full_core_shortname): New globals.
10310 (record_full_is_used): New function.
10311 (find_full_open): Call record_preopen instead of checking
10312 RECORD_IS_USED.
10313 (init_record_full_ops): Set the target's shortname to
10314 record_full_shortname.
10315 (init_record_full_core_ops): Set the target's shortname to
10316 record_full_core_shortname.
10317 * record-full.h (record_full_is_used): Declare.
10318 * record.c (find_record_target): Make extern.
10319 (record_preopen): New function.
10320 * record.h (RECORD_IS_USED): Delete macro.
10321 (find_record_target, record_preopen): Declare functions.
10322
7ec1862d
YQ
103232014-01-14 Yao Qi <yao@codesourcery.com>
10324
10325 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
10326 'len''s type to ULONGEST.
10327 (core_xfer_shared_libraries_aix): Likewise.
10328 * gdbarch.c, gdbarch.h: Regenerated.
10329 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
10330 Change type of 'len' to ULONGEST.
10331 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10332 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
10333
dea80a27
YQ
103342014-01-14 Yao Qi <yao@codesourcery.com>
10335
10336 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
10337 type of 'len' to ULONGEST.
10338 (linux_xfer_osdata_processgroups): Likewise.
10339 (linux_xfer_osdata_threads): Likewise.
10340 (linux_xfer_osdata_fds): Likewise.
10341 (linux_xfer_osdata_isockets): Likewise.
10342 (linux_xfer_osdata_shm): Likewise.
10343 (linux_xfer_osdata_sem): Likewise.
10344 (linux_xfer_osdata_msg): Likewise.
10345 (linux_common_xfer_osdata): Likewise.
10346 (struct osdata_type) <getter>: Likewise.
10347 * common/linux-osdata.h (linux_common_xfer_osdata): Update
10348 the declaration.
10349
b55e14c7
YQ
103502014-01-14 Yao Qi <yao@codesourcery.com>
10351
10352 * target.h (target_xfer_partial_ftype): Update.
10353 (struct target_ops) <to_xfer_partial>: Change 'len' type to
10354 ULONGEST.
10355 * aix-thread.c (aix_thread_xfer_partial): Change type of
10356 argument 'len' to ULONGEST.
10357 * auxv.c (procfs_xfer_auxv): Likewise.
10358 (ld_so_xfer_auxv): Likewise.
10359 (memory_xfer_auxv): Likewise.
10360 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10361 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10362 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10363 * corelow.c (core_xfer_partial): Likewise.
10364 * ctf.c (ctf_xfer_partial): Likewise.
10365 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
10366 '%u'.
10367 (darwin_read_dyld_info): Likewise.
10368 (darwin_xfer_partial): Likewise.
10369 * exec.c (section_table_xfer_memory_partial): Likewise.
10370 (exec_xfer_partial): Likewise.
10371 * exec.h (section_table_xfer_memory_partial): Update
10372 declaration.
10373 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
10374 instead of plongest.
10375 (gnu_xfer_partial): Likewise.
10376 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
10377 (ia64_hpux_xfer_solib_got): Likewise.
10378 (ia64_hpux_xfer_partial): Likewise.
10379 * ia64-linux-nat.c (ia64_linux_xfer_partial):
10380 * inf-ptrace.c (inf_ptrace_xfer_partial):
10381 * inf-ttrace.c (inf_ttrace_xfer_partial):
10382 * linux-nat.c (linux_xfer_siginfo): Likewise.
10383 (linux_nat_xfer_partial): Likewise.
10384 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
10385 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
10386 * monitor.c (monitor_xfer_memory): Likewise.
10387 (monitor_xfer_partial): Likewise.
10388 * procfs.c (procfs_xfer_partial): Likewise.
10389 * record-full.c (record_full_xfer_partial): Likewise.
10390 (record_full_core_xfer_partial): Likewise.
10391 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
10392 instead of plongest.
10393 (gdbsim_xfer_partial): Likewise.
10394 * remote.c (remote_xfer_partial): Likewise.
10395 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10396 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10397 declaration.
10398 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10399 (rs6000_xfer_shared_libraries): Likewise.
10400 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10401 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10402 (sparc_xfer_partial): Likewise.
10403 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10404 (spu_xfer_partial): Likewise.
10405 * spu-multiarch.c (spu_xfer_partial): Likewise.
10406 * target.c (target_read_live_memory): Likewise.
10407 (memory_xfer_live_readonly_partial): Likewise.
10408 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
10409 (target_xfer_partial, default_xfer_partial): Likewise.
10410 (current_xfer_partial): Likewise.
10411 * tracepoint.c (tfile_xfer_partial): Likewise.
10412 * windows-nat.c (windows_xfer_memory): Likewise. Call
10413 pulongest instead of plongest.
10414 (windows_xfer_partial): Likewise.
10415 (windows_xfer_shared_libraries): Likewise.
10416
05804640
YQ
104172014-01-14 Yao Qi <yao@codesourcery.com>
10418
10419 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
10420 target_xfer_partial_ftype.
10421
b5b08fb4
SC
104222014-01-13 Siva Chandra Reddy <sivachandra@google.com>
10423
10424 PR python/15464
10425 PR python/16113
10426 * valops.c (value_struct_elt_bitpos): New function
10427 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
10428 object to 'None' if the field name is an empty string ("").
10429 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
10430 attribute to look for a field when 'name' is 'None'.
10431 (get_field_type): New function
10432
13aaf454
DE
104332014-01-13 Doug Evans <dje@google.com>
10434
10435 PR symtab/16426
10436 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
10437 (try_open_dwop_file): Ditto.
10438 * gdb_bfd.c: #include "vec.h".
10439 (bfdp): New typedef.
10440 (struct gdb_bfd_data): New member included_bfds.
10441 (gdb_bfd_unref): Unref all included bfds.
10442 (gdb_bfd_record_inclusion): New function.
10443 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
10444
c2cec97c
TT
104452014-01-13 Tom Tromey <tromey@redhat.com>
10446
10447 * gdbcore.h (deprecated_core_resize_section_table): Remove.
10448
78e5999d
TT
104492014-01-13 Tom Tromey <tromey@redhat.com>
10450
10451 * defs.h (use_windows): Remove.
10452 * gdb.c (main): Update.
10453 * main.c (captured_main, gdb_main): Update.
10454 * main.h (struct captured_main_args) <use_windows>: Remove.
10455 * top.c (use_windows): Remove.
10456
f2052bbe
TT
104572014-01-13 Tom Tromey <tromey@redhat.com>
10458
10459 * defs.h (deprecated_flush_hook): Remove.
10460
fde4f8ed
JK
104612014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10462
10463 PR threads/16216
10464 * linux-thread-db.c (try_thread_db_load): Add parameter
10465 check_auto_load_safe. Move here the file_is_auto_load_safe call.
10466 (try_thread_db_load_from_pdir_1): Move it there from here.
10467 (try_thread_db_load_from_sdir): Update caller.
10468 (try_thread_db_load_from_dir): Move it there from here.
10469
bdf61915
PP
104702014-01-13 Patrick Palka <patrick@parcs.ath.cx>
10471
10472 * regformats/regdat.sh: Always rewrite the register file.
10473
f71e1a8d
PA
104742014-01-13 Pedro Alves <palves@redhat.com>
10475
10476 * Makefile.in (CHECK_HEADERS): New variable.
10477 (check-headers:): New rule.
10478
42c85435
TT
104792014-01-13 Tom Tromey <tromey@redhat.com>
10480
10481 * cli/cli-setshow.c (do_set_command): Update.
10482 * defs.h (deprecated_set_hook): Remove.
10483 * top.c (deprecated_set_hook): Remove.
10484
f8de5129
PA
104852014-01-13 Pedro Alves <palves@redhat.com>
10486
10487 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
10488 the tracepoint if the PC is a pseudo-register.
10489
fc270c35
TT
104902014-01-13 Tom Tromey <tromey@redhat.com>
10491
10492 * defs.h (XCALLOC): Remove.
10493 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
10494 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
10495 * dwarf2loc.c (allocate_piece_closure): Likewise.
10496 * elfread.c (elf_symfile_segments): Likewise.
10497 (elf_symfile_segments): Likewise.
10498 * gdbtypes.c (copy_type_recursive): Likewise.
10499 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
10500 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
10501 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
10502 XCALLOC.
10503 * mt-tdep.c (mt_gdbarch_init): Likewise.
10504 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
10505 XCALLOC.
10506 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
10507 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
10508 * registry.c (registry_alloc_data): Likewise.
10509 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
10510 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
10511 * serial.c (serial_fdopen_ops): Likewise.
10512 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
10513 XCALLOC.
10514 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
10515 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
10516 not XCALLOC.
10517
70ba0933
TT
105182014-01-13 Tom Tromey <tromey@redhat.com>
10519
10520 * defs.h (XMALLOC): Remove.
10521 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
10522 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
10523 * cli-out.c (struct ui_out *): Likewise.
10524 * cli/cli-dump.c (add_dump_command): Likewise.
10525 (add_dump_command): Likewise.
10526 * complaints.c (get_complaints): Likewise.
10527 (find_complaint): Likewise.
10528 * dwarf2-frame.c (execute_cfa_program): Likewise.
10529 * dwarf2read.c (abbrev_table_read_table): Likewise.
10530 * gdbarch.sh: Likewise.
10531 * gdbarch.c: Rebuild.
10532 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
10533 * interps.c (interp_new): Likewise.
10534 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
10535 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
10536 * mi/mi-console.c (mi_console_file_new): Likewise.
10537 * mi/mi-interp.c (mi_interpreter_init): Likewise.
10538 * mi/mi-out.c (mi_out_new): Likewise.
10539 * mi/mi-parse.c (mi_parse): Likewise.
10540 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
10541 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
10542 * observer.c (xalloc_observer_list_node): Likewise.
10543 * regcache.c (regcache_xmalloc_1): Likewise.
10544 * reggroups.c (reggroup_new): Likewise.
10545 (_initialize_reggroup): Likewise.
10546 * registry.c (register_data_with_cleanup): Likewise.
10547 * remote.c (remote_notif_stop_alloc_reply): Likewise.
10548 * ser-base.c (serial_ttystate): Likewise.
10549 * ser-mingw.c (make_pipe_state): Likewise.
10550 * ser-pipe.c (pipe_open): Likewise.
10551 * serial.c (serial_open): Likewise.
10552 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
10553 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
10554 (tui_alloc_win_info): Likewise.
10555 (tui_add_content_elements): Likewise.
10556 * tui/tui-file.c (tui_file_new): Likewise.
10557 * tui/tui-out.c (tui_out_new): Likewise.
10558 * ui-file.c (mem_file_new): Likewise.
10559 * ui-out.c (push_level): Likewise.
10560 (make_cleanup_ui_out_end): Likewise.
10561 (append_header_to_list): Likewise.
10562 (ui_out_new): Likewise.
10563 * user-regs.c (user_reg_add_builtin): Likewise.
10564
41bf6aca
TT
105652014-01-13 Tom Tromey <tromey@redhat.com>
10566
10567 * defs.h (XZALLOC): Remove.
10568 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
10569 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
10570 (get_ada_tasks_inferior_data): Likewise.
10571 * auto-load.c (get_auto_load_pspace_data): Likewise.
10572 * auxv.c (get_auxv_inferior_data): Likewise.
10573 * bfd-target.c (target_bfd_reopen): Likewise.
10574 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
10575 (deprecated_insert_raw_breakpoint): Likewise.
10576 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
10577 * corelow.c (core_open): Likewise.
10578 * darwin-nat.c (darwin_check_new_threads): Likewise.
10579 (darwin_attach_pid): Likewise.
10580 * dummy-frame.c (dummy_frame_push): Likewise.
10581 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
10582 * dwarf2loc.c (allocate_piece_closure): Likewise.
10583 * elfread.c (elf_symfile_segments): Likewise.
10584 * eval.c (ptrmath_type_p): Likewise.
10585 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
10586 * gdbtypes.c (alloc_type_arch): Likewise.
10587 (alloc_type_instance): Likewise.
10588 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
10589 * inf-child.c (inf_child_can_use_agent): Likewise.
10590 * inflow.c (get_inflow_inferior_data): Likewise.
10591 * infrun.c (save_infcall_suspend_state): Likewise.
10592 * jit.c (jit_reader_load): Likewise.
10593 (get_jit_objfile_data): Likewise.
10594 (get_jit_program_space_data): Likewise.
10595 (jit_object_open_impl): Likewise.
10596 (jit_symtab_open_impl): Likewise.
10597 (jit_block_open_impl): Likewise.
10598 (jit_frame_sniffer): Likewise.
10599 * linux-fork.c (add_fork): Likewise.
10600 * maint.c (make_command_stats_cleanup): Likewise.
10601 * objfiles.c (get_objfile_pspace_data): Likewise.
10602 * opencl-lang.c (struct lval_closure): Likewise.
10603 * osdata.c (osdata_start_osdata): Likewise.
10604 * progspace.c (new_address_space): Likewise.
10605 (add_program_space): Likewise.
10606 * remote-sim.c (get_sim_inferior_data): Likewise.
10607 * sh-tdep.c (sh_gdbarch_init): Likewise.
10608 * skip.c (Ignore): Likewise.
10609 (skip_delete_command): Likewise.
10610 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
10611 (library_list_start_library): Likewise.
10612 (solib_aix_current_sos): Likewise.
10613 * solib-darwin.c (get_darwin_info): Likewise.
10614 (darwin_current_sos): Likewise.
10615 * solib-dsbt.c (get_dsbt_info): Likewise.
10616 * solib-ia64-hpux.c (new_so_list): Likewise.
10617 (ia64_hpux_get_solib_linkage_addr): Likewise.
10618 * solib-spu.c (append_ocl_sos): Likewise.
10619 (spu_current_sos): Likewise.
10620 * solib-svr4.c (get_svr4_info): Likewise.
10621 (svr4_keep_data_in_core): Likewise.
10622 (library_list_start_library): Likewise.
10623 (svr4_default_sos): Likewise.
10624 (svr4_read_so_list): Likewise.
10625 * solib-target.c (library_list_start_library): Likewise.
10626 (solib_target_current_sos): Likewise.
10627 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
10628 * symfile-debug.c (install_symfile_debug_logging): Likewise.
10629 * symfile.c (default_symfile_segments): Likewise.
10630 * target-descriptions.c (tdesc_data_init): Likewise.
10631 (tdesc_create_reg): Likewise.
10632 (struct tdesc_type *): Likewise.
10633 (tdesc_create_vector): Likewise.
10634 (tdesc_set_struct_size): Likewise.
10635 (struct tdesc_type *): Likewise.
10636 (tdesc_free_feature): Likewise.
10637 (tdesc_create_feature): Likewise.
10638 * windows-nat.c (windows_add_thread): Likewise.
10639 (windows_make_so): Likewise.
10640 * xml-support.c (gdb_xml_body_text): Likewise.
10641 (gdb_xml_create_parser_and_cleanup): Likewise.
10642 (xml_process_xincludes): Likewise.
10643 * xml-syscall.c (allocate_syscalls_info): Likewise.
10644 (syscall_create_syscall_desc): Likewise.
10645
5acfdbae
SDJ
106462014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
10647
10648 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
10649 function, with code from i386_stap_parse_special_token.
10650 (i386_stap_parse_special_token_three_arg_disp): Likewise.
10651 (i386_stap_parse_special_token): Move code to the two functions
10652 above; simplify it.
10653
0000e5cc
PA
106542014-01-09 Pedro Alves <palves@redhat.com>
10655 Hui Zhu <hui@codesourcery.com>
10656
10657 PR gdb/16101
10658 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
10659 bp_err_string. Don't mark the location shlib_disabled if the
10660 error thrown wasn't a generic or memory error. Catch errors
10661 thrown while inserting breakpoints in overlayed code. Output
10662 error message of software breakpoints.
10663 * remote.c (remote_insert_breakpoint): If this breakpoint has
10664 target-side commands but this stub doesn't support Z0 packets,
10665 throw NOT_SUPPORTED_ERROR error.
10666 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
10667 * target.h (target_insert_breakpoint): Extend comment.
10668 (target_insert_hw_breakpoint): Add comment.
10669
b7ea362b
PA
106702014-01-08 Pedro Alves <palves@redhat.com>
10671
10672 * remote.c (remote_add_thread): Add threads silently if starting
10673 up.
10674 (remote_notice_new_inferior): If in all-stop, and starting up,
10675 don't call notice_new_inferior.
10676 (get_current_thread): New function, factored out from ...
10677 (add_current_inferior_and_thread): ... this. Adjust.
10678 (remote_start_remote) <all-stop>: Fetch the thread list. If we
10679 found any thread, then select the remote's current thread as GDB's
10680 current thread too.
10681
b7bba001
JB
106822014-01-08 Joel Brobecker <brobecker@adacore.com>
10683
10684 * NEWS: Create a new section for the next release branch.
10685 Rename the section of the current branch, now that it has
10686 been cut.
10687
16dfbded
JB
106882014-01-08 Joel Brobecker <brobecker@adacore.com>
10689
10690 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
10691 * version.in: Bump version to 7.7.50.DATE-cvs.
10692
22c90ac1
YQ
106932014-01-08 Yao Qi <yao@codesourcery.com>
10694
10695 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
10696 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
10697 (spu_xfer_partial): Cast 'buf' to 'const char *'.
10698
d64ad97c
YQ
106992014-01-08 Yao Qi <yao@codesourcery.com>
10700
10701 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
10702 return value of bfd_get_filename to symbol_file_add_from_bfd.
10703
f93ba80c
PM
107042014-01-08 Pierre Muller <muller@sourceware.org>
10705
10706 Fix PR16201.
10707 * coff-pe-read.c (struct read_pe_section_data): Add index field.
10708 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
10709 to prim_record_mininal_symbol_and_info.
10710 (add_pe_forwarded_sym): Use known section number of forwarded symbol
10711 in call to prim_record_minimal_symbol_and_info.
10712 (read_pe_exported_syms): Set index field of section_data.
10713
a4d9ba85
AP
107142014-01-07 Andrew Pinski <apinski@cavium.com>
10715
10716 * features/aarch64-core.xml (cpsr): Change to be 64bit.
10717 * features/aarch64.c: Regenerate.
10718
1b67eb02
AS
107192014-01-07 Andreas Schwab <schwab@linux-m68k.org>
10720
10721 * target.c (return_null): Define.
10722 (update_current_target): Use it instead of return_zero for
10723 functions that return a pointer.
10724
5e3f4fab
EBM
107252014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10726
10727 * source.c (add_path): Fix check for duplicated paths in the previously
10728 included paths.
10729
e2616788
HK
107302014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
10731
10732 * ada-lang.c: Remove duplicated include statements.
10733 * alphabsd-nat.c: Ditto.
10734 * amd64-darwin-tdep.c: Ditto.
10735 * amd64fbsd-nat.c: Ditto.
10736 * auto-load.c: Ditto.
10737 * ax-gdb.c: Ditto.
10738 * breakpoint.c: Ditto.
10739 * dbxread.c: Ditto.
10740 * fork-child.c: Ditto.
10741 * gdb_usleep.c: Ditto.
10742 * i386-darwin-tdep.c: Ditto.
10743 * i386fbsd-nat.c: Ditto.
10744 * infcmd.c: Ditto.
10745 * inferior.c: Ditto.
10746 * jv-lang.c: Ditto.
10747 * linux-nat.c: Ditto.
10748 * linux-tdep.c: Ditto.
10749 * m68kbsd-nat.c: Ditto.
10750 * m68klinux-nat.c: Ditto.
10751 * microblaze-tdep.c: Ditto.
10752 * mips-linux-tdep.c: Ditto.
10753 * mn10300-tdep.c: Ditto.
10754 * nto-tdep.c: Ditto.
10755 * opencl-lang.c: Ditto.
10756 * osdata.c: Ditto.
10757 * printcmd.c: Ditto.
10758 * regcache.c: Ditto.
10759 * remote-m32r-sdi.c: Ditto.
10760 * remote.c: Ditto.
10761 * symfile.c: Ditto.
10762 * symtab.c: Ditto.
10763 * tilegx-linux-nat.c: Ditto.
10764 * tilegx-tdep.c: Ditto.
10765 * tracepoint.c: Ditto.
10766 * valops.c: Ditto.
10767 * vaxbsd-nat.c: Ditto.
10768 * windows-nat.c: Ditto.
10769 * xtensa-tdep.c: Ditto.
10770
bd1f7788
YQ
107712014-01-07 Yao Qi <yao@codesourcery.com>
10772
10773 * spu-linux-nat.c (_initialize_spu_nat): Declare.
10774
79301218
JB
107752014-01-07 Yao Qi <yao@codesourcery.com>
10776 Joel Brobecker <brobecker@adacore.com>
10777
10778 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
10779 (pdc_write_regs): Likewise.
10780 (fetch_regs_kernel_thread): Likewise.
10781 (store_regs_kernel_thread): Likewise.
10782
107832014-01-07 Joel Brobecker <brobecker@adacore.com>
10784
10785 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
10786 tagged type objects to their actual type.
10787
8e355c5d
JB
107882014-01-07 Joel Brobecker <brobecker@adacore.com>
10789
10790 * ada-valprint.c (print_field_values): Add "language" parameter.
10791 Update calls to print_field_values and print_variant_part.
10792 Pass new parameter "language" in call to val_print instead
10793 of "current_language". Replace call to ada_val_print by call
10794 to val_print.
10795 (print_variant_part): Add "language" parameter.
10796 (ada_val_print_struct_union): Update call to print_field_values.
10797
4fbf5aa5
JB
107982014-01-07 Joel Brobecker <brobecker@adacore.com>
10799
10800 * ada-valprint.c (ui_memcpy): Delete.
10801 (ada_print_floating): Update documentation. Add empty line
10802 between between function documentation and implementation.
10803 Delete variable "buffer". Use ui_file_xstrdup in place of
10804 ui_file_put. Minor adjustments following this change.
10805
71855601
JB
108062014-01-07 Joel Brobecker <brobecker@adacore.com>
10807
10808 * ada-valprint.c (ada_val_print_string): New function,
10809 extracted from ada_val_print_array.
10810 (ada_val_print_array): Replace extracted code by call
10811 to ada_val_print_string followed by a return. Move
10812 "else" branch to the function's top block.
10813
4eb27a30
JB
108142014-01-07 Joel Brobecker <brobecker@adacore.com>
10815
10816 * ada-valprint.c (ada_val_print_array): Move implementation
10817 down. Rename parameter "offset" and "val" into "offset_aligned"
10818 and "original_value" respectively. Add parameter "offset".
10819
34b27950
JB
108202014-01-07 Joel Brobecker <brobecker@adacore.com>
10821
10822 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
10823 re-organizing the code. Change the "???" message printed
10824 when target type is a TYPE_CODE_UNDEF into
10825 "<ref to undefined type>".
10826
079e4591
JB
108272014-01-07 Joel Brobecker <brobecker@adacore.com>
10828
10829 * ada-valprint.c (print_record): Delete, implementation inlined...
10830 (ada_val_print_struct_union): ... here. Remove call to
10831 ada_check_typedef in inlined implementation.
10832
8004dfd1
JB
108332014-01-07 Joel Brobecker <brobecker@adacore.com>
10834
10835 * ada-valprint.c (ada_val_print_gnat_array): New function,
10836 extracted from ada_val_print_1;
10837 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
10838 (ada_val_print_flt, ada_val_print_struct_union)
10839 (ada_val_print_ref): Likewise.
10840 (ada_val_print_1): Delete variables i and elttype.
10841 Replace extracted-out code by call to corresponding
10842 new functions.
10843
760a2db0
JB
108442014-01-07 Joel Brobecker <brobecker@adacore.com>
10845
10846 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
10847
3a92c861
JB
108482014-01-07 Joel Brobecker <brobecker@adacore.com>
10849
10850 * ada-valprint.c (ada_val_print_1): Replace calls to
10851 ada_val_print_1 by calls to val_print.
10852
cd1630f9
JB
108532014-01-07 Joel Brobecker <brobecker@adacore.com>
10854
10855 * ada-valprint.c (ada_val_print_1): Add parameter "language".
10856 Update calls to self accordingly. Replace calls to c_val_print
10857 by calls to val_print.
10858
bdf779a0
JB
108592014-01-07 Joel Brobecker <brobecker@adacore.com>
10860
10861 * ada-valprint.c (print_record): Delete declaration.
10862 (adjust_type_signedness, ada_val_print_1): Likewise.
10863 (ada_val_print): Move function implementation down.
10864 (print_variant_part, print_field_values, print_record):
10865 Move function implementation up.
10866
c0d48811
JB
108672014-01-07 Joel Brobecker <brobecker@adacore.com>
10868
10869 * python/py-type.c (typy_get_name): New function.
10870 (type_object_getset): Add entry for attribute "name".
10871 * NEWS: Add entry mentioning this new attribute.
10872
c26e9cbb
YQ
108732014-01-07 Yao Qi <yao@codesourcery.com>
10874
10875 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
10876 statement.
10877
0cc6f43d
YQ
108782014-01-07 Yao Qi <yao@codesourcery.com>
10879
10880 * gnu-nat.c (info_port_rights): Add qualifier const to
10881 argument args.
10882
eec03155
YQ
108832014-01-07 Yao Qi <yao@codesourcery.com>
10884
10885 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
10886
f04a82ef
YQ
108872014-01-07 Yao Qi <yao@codesourcery.com>
10888
10889 * gnu-nat.c (make_inf) Update declaration.
10890 (make_inf): Make it static.
10891 (inf_set_traced): Likewise.
10892 (inf_port_to_thread, inf_task_died_status): Likewise.
10893
d57dda0a
YQ
108942014-01-07 Yao Qi <yao@codesourcery.com>
10895
10896 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
10897
3aa8c969
YQ
108982014-01-07 Yao Qi <yao@codesourcery.com>
10899
10900 * gnu-nat.c (_initialize_gnu_nat): Declare.
10901
94123b4f
YQ
109022014-01-07 Yao Qi <yao@codesourcery.com>
10903
10904 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
10905 'enum bfd_endian'.
10906 (struct gdbarch_info) <byte_order>: Change type to
10907 'enum bfd_endian'.
10908 <byte_order_for_code>: Likewise.
10909 * gdbarch.c, gdbarch.h: Regenerated.
10910
dc81d70a
TT
109112014-01-06 Sasha Smundak <asmundak@google.com>
10912
10913 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
10914
cc2f3c35
TT
109152014-01-06 Tom Tromey <tromey@redhat.com>
10916
10917 * doublest.c (convert_doublest_to_floatformat): Use const, not
10918 CONST.
10919 * somread.c (som_symtab_read): Likewise.
10920
adcf2eed
HZ
109212014-01-07 Hui Zhu <hui@codesourcery.com>
10922
10923 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
10924 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
10925 (gdb_bfd_fopen): Ditto.
10926 (gdb_bfd_openr): Ditto.
10927 (gdb_bfd_openw): Ditto.
10928 (gdb_bfd_openr_iovec): Ditto.
10929 (gdb_bfd_fdopenr): Ditto.
10930 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
10931 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
10932 with xstrdup.
10933 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
10934 with xstrdup.
10935 * symfile-mem.c (symbol_file_add_from_memory): Removed
10936 gdb_bfd_stash_filename.
10937
50722198
DE
109382014-01-03 Doug Evans <dje@google.com>
10939
10940 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
10941 output.
10942
2fa4b862
JB
109432014-01-01 Joel Brobecker <brobecker@adacore.com>
10944
10945 Update year range in copyright notice of all files.
10946
28498c42
JB
109472014-01-01 Joel Brobecker <brobecker@adacore.com>
10948
10949 * top.c (print_gdb_version): Set copyright year to 2014.
10950
7b6e1046
JB
109512014-01-01 Joel Brobecker <brobecker@adacore.com>
10952
10953 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
10954
df96af55 10955For older changes see ChangeLog-2013.
c906108c
SS
10956\f
10957Local Variables:
10958mode: change-log
10959left-margin: 8
10960fill-column: 74
10961version-control: never
57da7796 10962coding: utf-8
c906108c 10963End:
This page took 2.116577 seconds and 4 git commands to generate.