Commit | Line | Data |
---|---|---|
bed8455c DE |
1 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
2 | ||
3 | * inferior.c (prune_inferiors): Fix comment. | |
4 | (remove_inferior_command): Call prune_program_spaces. | |
5 | ||
8d551b02 DE |
6 | 2014-05-16 Doug Evans <dje@google.com> |
7 | ||
8 | New command line option -D. | |
9 | * NEWS: Mention it. | |
10 | * main.c (set_gdb_data_directory): New function. | |
11 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
12 | Call set_gdb_data_directory. | |
13 | (print_gdb_help): Print --data-directory, -D. | |
14 | * main.h (set_gdb_data_directory): Declare. | |
15 | * top.c (staged_gdb_datadir): New static global. | |
16 | (set_gdb_datadir): Call set_gdb_data_directory | |
17 | (show_gdb_datadir): New function. | |
18 | (init_main): Update init of data-directory parameter. | |
19 | ||
18848e28 GF |
20 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
21 | ||
22 | Import the "dirfd" gnulib module. | |
23 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
24 | * gnulib/aclocal.m4: Update. | |
25 | * gnulib/config.in: Update. | |
26 | * gnulib/configure: Update. | |
27 | * gnulib/import/Makefile.am: Update. | |
28 | * gnulib/import/Makefile.in: Update. | |
29 | * gnulib/import/dirfd.c: New. | |
30 | * gnulib/import/m4/dirfd.m4: New. | |
31 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
32 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
33 | ||
95c64f92 YQ |
34 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
35 | Yao Qi <yao@codesourcery.com> | |
36 | ||
37 | * valprint.c (print_wchar): Move the code on checking whether | |
38 | W is a printable wide char to the default branch of switch | |
39 | statement below. Call wchar_printable instead of gdb_iswprint. | |
40 | ||
cac395ea TM |
41 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
42 | ||
19679eca | 43 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
44 | ldr.w and ldrd instructions. |
45 | ||
83655187 DE |
46 | 2014-05-15 Doug Evans <dje@google.com> |
47 | ||
48 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
49 | ||
dd756689 TT |
50 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
51 | ||
52 | * macrocmd.c (print_macro_definition): Reindent. | |
53 | ||
75ddda77 DE |
54 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
55 | ||
56 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
57 | (completers): Make const. | |
58 | ||
b0f16a3e SM |
59 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
60 | ||
61 | * infrun.c (resume): Remove should_resume (unused). Move up | |
62 | declaration of resume_ptid. | |
63 | ||
033c3379 TT |
64 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
65 | ||
66 | * language.h (unop_type_check): Remove. | |
67 | (binop_type_check): Don't declare. | |
68 | ||
9b44a3a5 AA |
69 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
70 | ||
71 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
72 | call to regcache_raw_collect. | |
73 | ||
303a33fa SM |
74 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
75 | ||
76 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
77 | mi_console->quote as the quoting character. | |
78 | ||
196100a0 SM |
79 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
80 | ||
81 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
82 | ||
f989a1c8 TT |
83 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
84 | ||
85 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
86 | "show debug varobj". | |
87 | ||
9404b58f KM |
88 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
89 | ||
90 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
91 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
92 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
93 | with aarch64_software_single_step. | |
94 | ||
5e49ba57 JB |
95 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
96 | ||
97 | GDB 7.7.1 released. | |
98 | ||
c888a17d KS |
99 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
100 | ||
101 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
102 | variable or history value is successfully parsed. | |
103 | ||
290a839c YQ |
104 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
105 | Pedro Alves <palves@redhat.com> | |
106 | ||
107 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
108 | address of blocks that intersects the requested range. Trim | |
109 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
110 | sections. | |
111 | * ctf.c (ctf_xfer_partial): Likewise. | |
112 | ||
91256dc2 YQ |
113 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
114 | ||
115 | * printcmd.c (display_command): Remove the check to | |
116 | target_has_execution. | |
117 | ||
07284463 MK |
118 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
119 | ||
120 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
121 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
122 | add_target. | |
123 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
124 | ||
30a1e6cc SDJ |
125 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
126 | ||
127 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
128 | and 16-bit signed and unsigned arguments. Update comment. | |
129 | (stap_parse_probe_arguments): Extend code to handle such | |
130 | arguments. Use warning instead of complaint to notify about | |
131 | unrecognized bitness. | |
132 | ||
f33da99a SDJ |
133 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
134 | ||
135 | PR breakpoints/16889 | |
136 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
137 | check for non-prefixed probes (i.e., probes whose | |
138 | arguments do not start with "N@"). Always set the | |
139 | argument type to a sane value. | |
140 | ||
95cf3b38 DT |
141 | 2014-05-01 David Taylor <dtaylor@emc.com> |
142 | ||
143 | * remote.c (compare_sections_command): Add -r option to compare | |
144 | all loadable read-only sections. | |
145 | ||
1cfdf534 SC |
146 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
147 | ||
148 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
149 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
150 | Update all callers. | |
151 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
152 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
153 | Remove unused CORE_ADDR argument. Update all callers. | |
154 | ||
ca4f7f8b PA |
155 | 2014-04-29 Pedro Alves <palves@redhat.com> |
156 | ||
157 | * remote.c (struct packet_config) <detect>: Extend comment. | |
158 | (add_packet_config_cmd): Don't set the config's detect or support | |
159 | fields here. | |
160 | (init_all_packet_configs): Also initialize the config's 'detect' | |
161 | field. | |
162 | (reset_all_packet_configs_support): New function. | |
163 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
164 | init_all_packet_configs. | |
165 | (_initialize_remote): Initialize all packet configs. Assert that | |
166 | all packets have an associated command, except a few known | |
167 | outliers. | |
168 | ||
11c1ba78 JB |
169 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
170 | ||
171 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
172 | DW_AT_lower_bound attributes. | |
173 | ||
8739bc53 JB |
174 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
175 | ||
176 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
177 | dynamic bounds before computing its upper bound. | |
178 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
179 | ||
6f8a3220 JB |
180 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
181 | ||
182 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
183 | range types. Adjust the array handling implementation to | |
184 | take advantage of this change. | |
185 | (resolve_dynamic_range): New function, mostly extracted from | |
186 | resolve_dynamic_bounds. | |
187 | (resolve_dynamic_array): New function, mostly extracted from | |
188 | resolve_dynamic_bounds. | |
189 | (resolve_dynamic_bounds): Delete. | |
190 | (resolve_dynamic_type): Reimplement. Add handling of | |
191 | TYPE_CODE_RANGE types. | |
192 | ||
4d072ce4 JB |
193 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
194 | ||
195 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
196 | handling of parallel ___XA types. | |
197 | ||
52865325 JB |
198 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
199 | ||
200 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
201 | unnecessary second call to static_unwrap_type. | |
202 | ||
433e77fa HZ |
203 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
204 | ||
205 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
206 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
207 | ||
b51a69ee DE |
208 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
209 | ||
210 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
211 | ||
7ae1a6a6 PA |
212 | 2014-04-25 Pedro Alves <palves@redhat.com> |
213 | ||
214 | PR server/16255 | |
215 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
216 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
217 | and newline from built string. | |
218 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
219 | (linux_ptrace_attach_fail_reason): ... this. | |
220 | * linux-nat.c (linux_nat_attach): Adjust to use | |
221 | linux_ptrace_attach_fail_reason. | |
222 | ||
4082afcc PA |
223 | 2014-04-25 Pedro Alves <palves@redhat.com> |
224 | ||
225 | * remote.c (struct remote_state): Remove multi_process_aware, | |
226 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
227 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
228 | install_in_trace, disconnected_tracing, | |
229 | enable_disable_tracepoints, string_tracing, and | |
230 | augmented_libraries_svr4_read fields. | |
231 | (remote_multi_process_p): Move further below in the file. | |
232 | (struct packet_config): Add comments. | |
233 | (update_packet_config): Delete function. | |
234 | (show_packet_config_cmd): Use packet_config_support. | |
235 | (add_packet_config_cmd): Use NULL as set callback. | |
236 | (packet_ok): "set remote foo-packet"-style commands no longer | |
237 | change config->supported -- adjust. | |
238 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
239 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
240 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
241 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
242 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
243 | (PACKET_DisconnectedTracing_feature) | |
244 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
245 | (set_remote_protocol_packet_cmd): Delete function. | |
246 | (packet_config_support, packet_support): New functions. | |
247 | (set_remote_protocol_Z_packet_cmd): Don't call | |
248 | update_packet_config. | |
249 | (remote_query_attached, remote_pass_signals) | |
250 | (remote_program_signals, remote_threads_info) | |
251 | (remote_threads_extra_info, remote_start_remote): Use | |
252 | packet_support. | |
253 | (remote_start_remote): Use packet_config_support and | |
254 | packet_support. | |
255 | (init_all_packet_configs): Set all packets to unknown support, | |
256 | instead of calling update_packet_config. | |
257 | (remote_check_symbols): Use packet_support. | |
258 | (remote_supported_packet): Unconditionally set the packet config's | |
259 | support status. | |
260 | (remote_multi_process_feature, remote_non_stop_feature) | |
261 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
262 | (remote_breakpoint_commands_feature) | |
263 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
264 | (remote_install_in_trace_feature) | |
265 | (remote_disconnected_tracing_feature) | |
266 | (remote_enable_disable_tracepoint_feature) | |
267 | (remote_string_tracing_feature) | |
268 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
269 | (remote_protocol_features): Adjust to use remote_supported_packet | |
270 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
271 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
272 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
273 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
274 | "EnableDisableTracepoints", and "tracenz". | |
275 | (remote_query_supported): Use packet_support. | |
276 | (remote_open_1): Adjust. | |
277 | (extended_remote_attach_1): Use packet_support. Switch on the | |
278 | result of packet_ok instead of checking whether the packet ended | |
279 | up disabled. | |
280 | (remote_vcont_resume): Use packet_support. | |
281 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
282 | (remote_prepare_to_store, store_register_using_P) | |
283 | (check_binary_download, remote_write_bytes): Use packet_support. | |
284 | (remote_vkill): Use packet_support. Switch on the result of | |
285 | packet_ok instead of checking whether the packet ended up | |
286 | disabled. | |
287 | (extended_remote_supports_disable_randomization): Use | |
288 | packet_support. | |
289 | (extended_remote_run): Switch on the result of packet_ok instead | |
290 | of checking whether the packet ended up disabled. | |
291 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
292 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
293 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
294 | packet_support. | |
295 | (remote_search_memory): Use packet_config_support. | |
296 | (remote_get_thread_local_address, remote_get_tib_address) | |
297 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
298 | packet_support. | |
299 | (remote_supports_cond_tracepoints) | |
300 | (remote_supports_cond_breakpoints) | |
301 | (remote_supports_fast_tracepoints) | |
302 | (remote_supports_static_tracepoints) | |
303 | (remote_supports_install_in_trace) | |
304 | (remote_supports_enable_disable_tracepoint) | |
305 | (remote_supports_string_tracing) | |
306 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
307 | the packet config says the feature is enabled or disabled. | |
308 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
309 | (remote_get_trace_status): Use packet_support. | |
310 | (remote_set_disconnected_tracing): Adjust to check whether the | |
311 | feature is enabled with packet_support. | |
312 | (remote_set_trace_buffer_size, remote_use_agent) | |
313 | (remote_can_use_agent, remote_supports_btrace): Use | |
314 | packet_support. | |
315 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
316 | Use packet_config_support. | |
317 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
318 | the packet config says the feature is enabled or disabled. | |
319 | (set_range_stepping): Use packet_support. | |
320 | ||
bdb52a22 TT |
321 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
322 | ||
323 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
324 | argument. | |
325 | ||
e9475ead SA |
326 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
327 | ||
328 | * NEWS: Mention support for C99 variable length arrays. | |
329 | ||
82eacd52 JB |
330 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
331 | ||
332 | * ada-lang.c (standard_exc): Expand introductory comment. | |
333 | ||
01f9f808 MS |
334 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
335 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
336 | ||
337 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
338 | AVX512 registers. | |
339 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
340 | mask and return respective tdesc. | |
341 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
342 | and features/i386/x32-avx512-linux.c. | |
343 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
344 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
345 | xstate mask and return respective tdesc. | |
346 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
347 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
348 | calculation. | |
349 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
350 | (tdesc_amd64_avx512_linux): New prototype. | |
351 | (tdesc_x32_avx512_linux): Likewise. | |
352 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
353 | features/i386/x32-avx512.c. | |
354 | (amd64_ymm_avx512_names): New register names for pseudo | |
355 | registers YMM16-31. | |
356 | (amd64_ymmh_avx512_names): New register names for raw registers | |
357 | YMMH16-31. | |
358 | (amd64_k_names): New register names for K registers. | |
359 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
360 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
361 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
362 | registers. | |
363 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
364 | registers. | |
365 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
366 | if feature is present. | |
367 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
368 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
369 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
370 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
371 | registers supplied via XSTATE by AVX512 registers. | |
372 | (i386_linux_read_description): Add case for AVX512. | |
373 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
374 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
375 | (i386_linux_core_read_description): Add case for AVX512. | |
376 | (i386_linux_init_abi): Install supported register note section | |
377 | for AVX512. | |
378 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
379 | AVX512. | |
380 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
381 | registers to be number of zmm7h + 1. | |
382 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
383 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
384 | (i386_zmm_names): Add ZMM pseudo register names array. | |
385 | (i386_zmmh_names): Add ZMM raw register names array. | |
386 | (i386_k_names): Add K raw register names array. | |
387 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
388 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
389 | registers. | |
390 | (i386_zmmh_regnum_p): Add function to look up register number of | |
391 | ZMM raw registers. | |
392 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
393 | (i386_k_regnum_p): Likewise for K raw registers. | |
394 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
395 | registers added by AVX512. | |
396 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
397 | registers added by AVX512. | |
398 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
399 | added by AVX512. | |
400 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
401 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
402 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
403 | registers. | |
404 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
405 | ZMM0-31 pseudo registers and K registers. | |
406 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
407 | and YMM16-31 registers from register cache. | |
408 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
409 | YMM16-31 registers. | |
410 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
411 | registers in/from respective register groups. | |
412 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
413 | registers if feature is present in xcr0. | |
414 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
415 | variables in tdep structure, wire in pseudo registers and call | |
416 | initialize_tdesc_i386_avx512. | |
417 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
418 | variables. | |
419 | (i386_regnum): Add AVX512 registers. | |
420 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
421 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
422 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
423 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
424 | 512 bits wide. | |
425 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
426 | (i386_ymm_avx512_regnum_p): Likewise. | |
427 | (i386_k_regnum_p): Likewise. | |
428 | (i386_zmm_regnum_p): Likewise. | |
429 | (i386_zmmh_regnum_p): Likewise. | |
430 | * i387-tdep.c : Update year in copyright notice. | |
431 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
432 | XSAVE buffer. | |
433 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
434 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
435 | XSAVE buffer. | |
436 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
437 | (xsave_avx512_k_offset): New table for K register offsets in | |
438 | XSAVE buffer. | |
439 | (XSAVE_AVX512_K_ADDR): New macro. | |
440 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
441 | in XSAVE buffer. | |
442 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
443 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
444 | buffer. | |
445 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
446 | XSAVE buffer. | |
447 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
448 | of XMM16-31 registers. | |
449 | (I387_NUM_K_REGS): New define for number of K registers. | |
450 | (I387_K0_REGNUM): New define for K0 register number. | |
451 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
452 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
453 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
454 | registers. | |
455 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
456 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
457 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
458 | (I387_KEND_REGNUM): New define for last K register number. | |
459 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
460 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
461 | number. | |
462 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
463 | number. | |
464 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
465 | size. | |
466 | * features/Makefile: Add AVX512 related files. | |
467 | * features/i386/32bit-avx512.xml: New file. | |
468 | * features/i386/64bit-avx512.xml: Likewise. | |
469 | * features/i386/amd64-avx512-linux.c: Likewise. | |
470 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
471 | * features/i386/amd64-avx512.c: Likewise. | |
472 | * features/i386/amd64-avx512.xml: Likewise. | |
473 | * features/i386/i386-avx512-linux.c: Likewise. | |
474 | * features/i386/i386-avx512-linux.xml: Likewise. | |
475 | * features/i386/i386-avx512.c: Likewise. | |
476 | * features/i386/i386-avx512.xml: Likewise. | |
477 | * features/i386/x32-avx512-linux.c: Likewise. | |
478 | * features/i386/x32-avx512-linux.xml: Likewise. | |
479 | * features/i386/x32-avx512.c: Likewise. | |
480 | * features/i386/x32-avx512.xml: Likewise. | |
481 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
482 | * regformats/i386/amd64-avx512.dat: Likewise. | |
483 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
484 | * regformats/i386/i386-avx512.dat: Likewise. | |
485 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
486 | * regformats/i386/x32-avx512.dat: Likewise. | |
487 | * NEWS: Add note about new support for AVX512. | |
488 | ||
489 | ||
08351840 PA |
490 | 2014-04-23 Pedro Alves <palves@redhat.com> |
491 | ||
492 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
493 | breakpoint is set in a user-loaded objfile. | |
494 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
495 | location is marked shlib_disabled. If the breakpoint is set in a | |
496 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
497 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
498 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
499 | flag. | |
500 | * mem-break.c (memory_validate_breakpoint): New function. | |
501 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
502 | function. | |
503 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
504 | * target.h (memory_validate_breakpoint): New declaration. | |
505 | ||
076855f9 PA |
506 | 2014-04-23 Pedro Alves <palves@redhat.com> |
507 | ||
508 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
509 | the breakpoint is set in a shared library, only suppress | |
510 | errors for software breakpoints, not hardware breakpoints. | |
511 | ||
483805cf PA |
512 | 2014-04-22 Pedro Alves <palves@redhat.com> |
513 | ||
514 | * infrun.c (schedlock_applies): New function, factored out from | |
515 | find_thread_needs_step_over. | |
516 | (find_thread_needs_step_over): Use it. | |
517 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
518 | step over is finished. Return early if scheduler locking applies. | |
519 | Look for the stepping thread and a potential step-over thread with | |
520 | a single loop. | |
521 | (currently_stepping_or_nexting_callback): Delete. | |
522 | ||
a75fef0e NC |
523 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
524 | ||
525 | * NEWS: Mention that ARM sim now supports tracing. | |
526 | ||
48b6e87e YQ |
527 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
528 | ||
529 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
530 | to ... | |
531 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
532 | function. | |
533 | * tracefile.h (tracefile_fetch_registers): Declare. | |
534 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
535 | tracefile_fetch_registers. | |
536 | ||
17617f2d EZ |
537 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
538 | ||
539 | PR gdb/14018 | |
540 | * windows-nat.c (thread_rec): Don't display a warning when | |
541 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
542 | fails for any reason, set th->suspended to -1, so that we don't | |
543 | try to resume such a thread. Also, don't return NULL in these | |
544 | cases, to avoid completely ruin the session due to "PC register is | |
545 | not available" error. | |
546 | (do_windows_fetch_inferior_registers): Check errors in | |
547 | GetThreadContext call. | |
548 | (windows_continue): Accept an additional argument KILLED; if not | |
549 | zero, ignore errors in the SetThreadContext call, since the | |
550 | inferior was killed and is shutting down. | |
551 | (windows_resume, get_windows_debug_event) | |
552 | (windows_create_inferior, windows_mourn_inferior) | |
553 | (windows_kill_inferior): All callers of windows_continue changed | |
554 | to adjust to its new calling sequence. | |
555 | ||
5723a6fd YQ |
556 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
557 | ||
558 | * ctf.c (ctf_open): Call post_create_inferior. | |
559 | ||
614d5099 YQ |
560 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
561 | ||
562 | * ctf.c (handle_id): New static variable. | |
563 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
564 | value. Get the declaration of event "register" and get length | |
565 | of field "contents". | |
566 | ||
dac3e710 YQ |
567 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
568 | ||
569 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
570 | ||
2bca57ba SC |
571 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
572 | ||
573 | * valops.c (oload_method_static): Remove unnecessary argument | |
574 | METHOD. Update all callers. | |
575 | ||
51d48146 PA |
576 | 2014-04-18 Pedro alves <palves@redhat.com> |
577 | Tom Tromey <tromey@redhat.com> | |
578 | ||
579 | PR backtrace/15558 | |
580 | * frame.c (get_prev_frame_1): Rename to ... | |
581 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
582 | (skip_artificial_frames): Use get_prev_frame_always. | |
583 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
584 | (get_frame_unwind_stop_reason): Adjust to rename. | |
585 | * frame.h (get_prev_frame_always): Declare. | |
586 | * inline-frame.c: Include frame.h. | |
587 | (inline_frame_this_id): Use get_prev_frame_always. | |
588 | ||
1bdad2e0 TG |
589 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
590 | ||
591 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
592 | code by using bfd_mach_o_get_base_address. | |
593 | ||
7ce16bd4 UW |
594 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
595 | ||
596 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
597 | (spu_ax_pseudo_register_collect): New function. | |
598 | (spu_ax_pseudo_register_push_stack): Likewise. | |
599 | (spu_dwarf_reg_to_regnum): Likewise. | |
600 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
601 | ||
2ed3c037 UW |
602 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
603 | ||
604 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
605 | Replace FRAME argument with FRAME_ID. | |
606 | * gdbarch.c, gdbarch.h: Regenerate. | |
607 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
608 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
609 | (value_from_register): Update call to gdbarch_value_from_register. | |
610 | * value.h (default_value_from_register): Update prototype. | |
611 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
612 | and call to default_value_from_register. | |
613 | * spu-tdep.c (spu_value_from_register): Likewise. | |
614 | ||
615 | * findvar.c (address_from_register): Remove TYPE argument. | |
616 | Do not call value_from_register; use gdbarch_value_from_register | |
617 | with null_frame_id instead. | |
618 | * value.h (address_from_register): Update prototype. | |
619 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
620 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
621 | address_from_register interface change. | |
622 | ||
71e50e83 YQ |
623 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
624 | ||
625 | * gdbtypes.h: Update comments to link to types and macros' | |
626 | definitions. | |
627 | ||
7a23c549 SC |
628 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
629 | ||
630 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
631 | ||
22869d73 KS |
632 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
633 | ||
634 | PR gdb/15827 | |
635 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
636 | sibling DIEs fall within range of the current reader's buffer. | |
637 | (read_partial_die): Likewise. | |
638 | ||
c4f87ca6 KS |
639 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
640 | ||
641 | PR c++/16597 | |
642 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
643 | `this' is NULL, return immediately. | |
644 | ||
b50c8614 KS |
645 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
646 | ||
647 | PR c++/16253 | |
648 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
649 | from symbol_matches_domain in symtab.c. All local callers | |
650 | of symbol_matches_domain updated. | |
651 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
652 | search STRUCT_DOMAIN. | |
653 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
654 | independently. standard_lookup will do that automatically. | |
655 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
656 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
657 | (cp_lookup_symbol_in_namespace): Likewise. | |
658 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
659 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
660 | may return a STRUCT_DOMAIN match. | |
661 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
662 | * cp-support.c: Include language.h. | |
663 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
664 | VAR_DOMAIN. | |
665 | * psymtab.c (match_partial_symbol): Compare the requested | |
666 | domain with the symbol's domain directly. | |
667 | (lookup_partial_symbol): Likewise. | |
668 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
669 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
670 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
671 | appropriate languages. | |
672 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
673 | and moved to ada-lang.c | |
674 | (lookup_block_symbol): Explain that this function only returns | |
675 | symbol matching the requested DOMAIN. | |
676 | Compare the requested domain with the symbol's domain directly. | |
677 | (iterate_over_symbols): Compare the requested domain with the | |
678 | symbol's domain directly. | |
679 | * symtab.h (symbol_matches_domain): Remove. | |
680 | ||
3d567982 TT |
681 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
682 | ||
683 | PR c++/15246: | |
684 | * c-exp.y (type_aggregate_p): New function. | |
685 | (qualified_name, classify_inner_name): Use it. | |
686 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
687 | and TYPE_TARGET_TYPE of an enum type. | |
688 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
689 | an enum type. | |
690 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
691 | handle TYPE_DECLARED_CLASS. | |
692 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
693 | types. | |
694 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
695 | * valops.c (enum_constant_from_type): New function. | |
696 | (value_aggregate_elt): Use it. | |
697 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
698 | TYPE_CODE_ENUM. | |
699 | ||
c848d642 TT |
700 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
701 | ||
702 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
703 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
704 | const. | |
705 | * value.h (value_aggregate_elt): Update. | |
706 | ||
0626fc76 TT |
707 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
708 | ||
709 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
710 | ||
5ecaaa66 SA |
711 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
712 | ||
713 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
714 | (evaluate_subexp_standard): Pass noside argument. | |
715 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
716 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
717 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
718 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
719 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
720 | ||
1612e0c0 SA |
721 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
722 | ||
723 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
724 | points to a constant blob. | |
725 | ||
c451ebe5 SA |
726 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
727 | ||
728 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
729 | property and store it as the high bound and flag the range accordingly. | |
730 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
731 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
732 | * gdbtypes.h (enum range_flags): New enum. | |
733 | (struct range_bounds): Add flags member. | |
734 | ||
1d42e4c4 SA |
735 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
736 | ||
737 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
738 | check for not yet resolved high bound. If unresolved, print | |
739 | "variable length" string to the console instead of random | |
740 | length. | |
741 | ||
9f1f738a SA |
742 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
743 | ||
744 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
745 | value. | |
746 | (ada_template_to_fixed_record_type_1): Likewise. | |
747 | (ada_to_fixed_type_1): Likewise. | |
748 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
749 | (cp_print_value): Likewise. | |
750 | * d-valprint.c (dynamic_array_type): Likewise. | |
751 | * findvar.c (address_of_variable): Likewise. | |
752 | * jv-valprint.c (java_value_print): Likewise. | |
753 | * valops.c (value_ind): Likewise. | |
754 | * value.c (coerce_ref): Likewise. | |
755 | ||
3c8452d4 SA |
756 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
757 | ||
758 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
759 | value and retrieve the dynamic type size. | |
760 | ||
4ad88275 SA |
761 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
762 | ||
763 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
764 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
765 | ||
80180f79 SA |
766 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
767 | Joel Brobecker <brobecker@adacore.com> | |
768 | ||
769 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
770 | (dwarf2_evaluate_property): New function. | |
771 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
772 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
773 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
774 | attribute. | |
775 | * gdbtypes.c: Include dwarf2loc.h. | |
776 | (is_dynamic_type): New function. | |
777 | (resolve_dynamic_type): New function. | |
778 | (resolve_dynamic_bounds): New function. | |
779 | (get_type_length): New function. | |
780 | (check_typedef): Use get_type_length to compute type length. | |
781 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
782 | (TYPE_LOW_BOUND_KIND): New macro. | |
783 | (is_dynamic_type): New function prototype. | |
784 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
785 | to resolve dynamic properties of the type. Update comment. | |
786 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
787 | ||
a1556843 RH |
788 | 2014-04-14 Richard Henderson <rth@redhat.com> |
789 | ||
790 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
791 | ||
0be03e84 DE |
792 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
793 | Doug Evans <xdje42@gmail.com> | |
794 | ||
795 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
796 | dereference TYPE_CODE_REF values. | |
797 | ||
6b662e19 JB |
798 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
799 | ||
800 | Revert the following changes due to regressions: | |
801 | ||
802 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
803 | (dwarf2_evaluate_property): New function. | |
804 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
805 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
806 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
807 | attribute. | |
808 | * gdbtypes.c: Include dwarf2loc.h. | |
809 | (is_dynamic_type): New function. | |
810 | (resolve_dynamic_type): New function. | |
811 | (resolve_dynamic_bounds): New function. | |
812 | (get_type_length): New function. | |
813 | (check_typedef): Use get_type_length to compute type length. | |
814 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
815 | (TYPE_LOW_BOUND_KIND): New macro. | |
816 | (is_dynamic_type): New function prototype. | |
817 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
818 | to resolve dynamic properties of the type. Update comment. | |
819 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
820 | ||
821 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
822 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
823 | ||
824 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
825 | value and retrieve the dynamic type size. | |
826 | ||
827 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
828 | (ada_template_to_fixed_record_type_1): Likewise. | |
829 | (ada_to_fixed_type_1): Likewise. | |
830 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
831 | (cp_print_value): Likewise. | |
832 | * d-valprint.c (dynamic_array_type): Likewise. | |
833 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
834 | * findvar.c (address_of_variable): Likewise. | |
835 | * jv-valprint.c (java_value_print): Likewise. | |
836 | * valops.c (value_ind): Likewise. | |
837 | * value.c (coerce_ref): Likewise. | |
838 | ||
839 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
840 | check for not yet resolved high bound. If unresolved, print | |
841 | "variable length" string to the console instead of random | |
842 | length. | |
843 | ||
844 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
845 | property and store it as the high bound and flag the range accordingly. | |
846 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
847 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
848 | * gdbtypes.h (enum range_flags): New enum. | |
849 | (struct range_bounds): Add flags member. | |
850 | ||
851 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
852 | points to a constant blob. | |
853 | ||
854 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
855 | (evaluate_subexp_standard): Pass noside argument. | |
856 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
857 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
858 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
859 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
860 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
861 | ||
245a5f0b KS |
862 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
863 | ||
864 | PR c++/16675 | |
865 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
866 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
867 | reference types. | |
868 | ||
3bce8237 SA |
869 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
870 | ||
871 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
872 | (evaluate_subexp_standard): Pass noside argument. | |
873 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
874 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
875 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
876 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
877 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
878 | ||
92b09522 SA |
879 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
880 | ||
881 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
882 | points to a constant blob. | |
883 | ||
e1969afb SA |
884 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
885 | ||
886 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
887 | property and store it as the high bound and flag the range accordingly. | |
888 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
889 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
890 | * gdbtypes.h (enum range_flags): New enum. | |
891 | (struct range_bounds): Add flags member. | |
892 | ||
b86138fb SA |
893 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
894 | ||
895 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
896 | check for not yet resolved high bound. If unresolved, print | |
897 | "variable length" string to the console instead of random | |
898 | length. | |
899 | ||
bcd629a4 SA |
900 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
901 | ||
902 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
903 | (ada_template_to_fixed_record_type_1): Likewise. | |
904 | (ada_to_fixed_type_1): Likewise. | |
905 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
906 | (cp_print_value): Likewise. | |
907 | * d-valprint.c (dynamic_array_type): Likewise. | |
908 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
909 | * findvar.c (address_of_variable): Likewise. | |
910 | * jv-valprint.c (java_value_print): Likewise. | |
911 | * valops.c (value_ind): Likewise. | |
912 | * value.c (coerce_ref): Likewise. | |
913 | ||
04b19544 SA |
914 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
915 | ||
916 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
917 | value and retrieve the dynamic type size. | |
918 | ||
26cb189f SA |
919 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
920 | ||
921 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
922 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
923 | ||
37c1ab67 SA |
924 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
925 | ||
926 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
927 | (dwarf2_evaluate_property): New function. | |
928 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
929 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
930 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
931 | attribute. | |
932 | * gdbtypes.c: Include dwarf2loc.h. | |
933 | (is_dynamic_type): New function. | |
934 | (resolve_dynamic_type): New function. | |
935 | (resolve_dynamic_bounds): New function. | |
936 | (get_type_length): New function. | |
937 | (check_typedef): Use get_type_length to compute type length. | |
938 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
939 | (TYPE_LOW_BOUND_KIND): New macro. | |
940 | (is_dynamic_type): New function prototype. | |
941 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
942 | to resolve dynamic properties of the type. Update comment. | |
943 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
944 | ||
729efb13 SA |
945 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
946 | ||
947 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
948 | declaring high/low bounds and change uses accordingly. Call | |
949 | create_range_type instead of create_static_range_type. | |
950 | * gdbtypes.c (create_range_type): New function. | |
951 | (create_range_type): Convert bounds into struct bound_prop and pass | |
952 | them to create_range_type. | |
953 | * gdbtypes.h (struct bound_prop): New struct. | |
954 | (create_range_type): New function prototype. | |
955 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
956 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
957 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
958 | part of the bound. | |
959 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
960 | ||
0c9c3474 SA |
961 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
962 | ||
963 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
964 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
965 | * ada-lang.c: All uses of create_range_type updated. | |
966 | * coffread.c: All uses of create_range_type updated. | |
967 | * dwarf2read.c: All uses of create_range_type updated. | |
968 | * f-exp.y: All uses of create_range_type updated. | |
969 | * m2-valprint.c: All uses of create_range_type updated. | |
970 | * mdebugread.c: All uses of create_range_type updated. | |
971 | * stabsread.c: All uses of create_range_type updated. | |
972 | * valops.c: All uses of create_range_type updated. | |
973 | * valprint.c: All uses of create_range_type updated. | |
974 | ||
9d497a19 PA |
975 | 2014-04-10 Pedro Alves <palves@redhat.com> |
976 | ||
977 | * breakpoint.c (single_step_breakpoints) | |
978 | (single_step_gdbarch): Move up in the file. | |
979 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
980 | (breakpoint_xfer_memory): ... here. Also process single-step | |
981 | breakpoints. | |
982 | ||
15a9128a TG |
983 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
984 | ||
985 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
986 | comments. | |
987 | (darwin_decode_exception_message): Free port only after use. | |
988 | ||
9c97a070 PL |
989 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
990 | ||
991 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
992 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
993 | when setting the size of call_length. | |
994 | ||
7af389b8 SC |
995 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
996 | ||
997 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
998 | dereference TYPE_CODE_REF values. | |
999 | ||
86ad98c3 JB |
1000 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
1001 | ||
1002 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
1003 | end of warning message. | |
1004 | ||
b0aeadb3 DE |
1005 | 2014-04-03 Doug Evans <dje@google.com> |
1006 | ||
1007 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
1008 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
1009 | ||
5979d6b6 AM |
1010 | 2014-04-02 Alan Modra <amodra@gmail.com> |
1011 | ||
1012 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
1013 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
1014 | (struct symbol_file_add_from_memory_args): Add size field. | |
1015 | (find_vdso_size): New function. | |
1016 | (add_vsyscall_page): Attempt to find vdso size. | |
1017 | ||
0d60c288 DE |
1018 | 2014-04-01 Doug Evans <dje@google.com> |
1019 | ||
1020 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
1021 | ||
a41f2563 TG |
1022 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
1023 | ||
1024 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
1025 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
1026 | (darwin_decode_message): Handle message by id. Ignore message | |
1027 | to unknown inferior. | |
1028 | (darwin_wait): Discard unknown messages, add debug trace. | |
1029 | ||
11a865c8 DE |
1030 | 2014-03-31 Doug Evans <dje@google.com> |
1031 | ||
1032 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
1033 | comp_dir_string. | |
1034 | ||
770e7fc7 DE |
1035 | 2014-03-31 Doug Evans <dje@google.com> |
1036 | ||
1037 | New option "set print symbol-loading". | |
1038 | * NEWS: Mention it. | |
1039 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
1040 | if requested. | |
1041 | (solib_add): If symbol loading is in "brief" mode, notify user | |
1042 | symbols are being loaded. | |
1043 | (reload_shared_libraries_1): Ditto. | |
1044 | * symfile.c (print_symbol_loading_off): New static global. | |
1045 | (print_symbol_loading_brief): New static global. | |
1046 | (print_symbol_loading_full): New static global. | |
1047 | (print_symbol_loading_enums): New static global. | |
1048 | (print_symbol_loading): New static global. | |
1049 | (print_symbol_loading_p): New function. | |
1050 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
1051 | if requested. | |
1052 | (_initialize_symfile): Register "print symbol-loading" set/show | |
1053 | command. | |
1054 | * symfile.h (print_symbol_loading_p): Declare. | |
1055 | ||
c32c64b7 DE |
1056 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
1057 | ||
1058 | * infrun.c (set_last_target_status): New function. | |
1059 | (handle_inferior_event): Call it. | |
1060 | ||
7c0bc051 DE |
1061 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
1062 | ||
1063 | * inferior.h (enum stop_kind): Improve comment. | |
1064 | ||
8776cfe9 JB |
1065 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
1066 | ||
1067 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
1068 | a reference, strip the reference layer before calling | |
1069 | the lang_ops value_has_mutated callback. | |
1070 | ||
410a0ff2 SDJ |
1071 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
1072 | ||
1073 | Remove some globals from our parser. | |
1074 | * language.c (unk_lang_parser): Add "struct parser_state" | |
1075 | argument. | |
1076 | * language.h (struct language_defn) <la_parser>: Likewise. | |
1077 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
1078 | (initialize_expout): Add "struct parser_state" argument. | |
1079 | Rewrite function to use the parser state. | |
1080 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
1081 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
1082 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
1083 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
1084 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
1085 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
1086 | write_dollar_variable): Likewise. | |
1087 | (parse_exp_in_context_1): Use parser state. | |
1088 | (insert_type_address_space): Add "struct parser_state" argument. | |
1089 | Use parser state. | |
1090 | (increase_expout_size): New function. | |
1091 | * parser-defs.h: Forward declare "struct language_defn" and | |
1092 | "struct parser_state". | |
1093 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
1094 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
1095 | accept the parser state. | |
1096 | (struct parser_state): New struct. | |
1097 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
1098 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
1099 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
1100 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
1101 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
1102 | write_exp_msymbol, write_dollar_variable, | |
1103 | mark_struct_expression, insert_type_address_space): Add "struct | |
1104 | parser_state" argument. | |
1105 | (increase_expout_size): New function. | |
1106 | * utils.c (do_clear_parser_state): New function. | |
1107 | (make_cleanup_clear_parser_state): Likewise. | |
1108 | * utils.h (make_cleanup_clear_parser_state): New function | |
1109 | prototype. | |
1110 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
1111 | Update calls to write_exp* in order to pass the parser state. | |
1112 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
1113 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
1114 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
1115 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
1116 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
1117 | (stap_parse_single_operand): Likewise. | |
1118 | (stap_parse_argument_1): Likewise. | |
1119 | (stap_parse_argument): Use parser state. | |
1120 | * stap-probe.h: Include "parser-defs.h". | |
1121 | (struct stap_parse_info) <pstate>: New field. | |
1122 | * c-exp.y (parse_type): Rewrite to use parser state. | |
1123 | (yyparse): Redefine to c_parse_internal. | |
1124 | (pstate): New global variable. | |
1125 | (parse_number): Add "struct parser_state" argument. | |
1126 | (write_destructor_name): Likewise. | |
1127 | (type_exp): Update calls to write_exp* and similars in order to | |
1128 | use parser state. | |
1129 | (exp1, exp, variable, qualified_name, space_identifier, | |
1130 | typename, typebase): Likewise. | |
1131 | (write_destructor_name, parse_number, lex_one_token, | |
1132 | classify_name, classify_inner_name, c_parse): Add "struct | |
1133 | parser_state" argument. Update function to use parser state. | |
1134 | * c-lang.h: Forward declare "struct parser_state". | |
1135 | (c_parse): Add "struct parser_state" argument. | |
1136 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
1137 | (yyparse): Redefine macro to ada_parse_internal. | |
1138 | (pstate): New variable. | |
1139 | (write_int, write_object_renaming, write_var_or_type, | |
1140 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
1141 | type_int, type_long, type_long_long, type_float, type_double, | |
1142 | type_long_double, type_char, type_boolean, type_system_address): | |
1143 | Add "struct parser_state" argument. | |
1144 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
1145 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
1146 | var_or_type, aggregate, aggregate_component_list, | |
1147 | positional_list, others, component_group, | |
1148 | component_associations): Update calls to write_exp* and similar | |
1149 | functions in order to use parser state. | |
1150 | (ada_parse, write_var_from_sym, write_int, | |
1151 | write_exp_op_with_string, write_object_renaming, | |
1152 | find_primitive_type, write_selectors, write_ambiguous_var, | |
1153 | write_var_or_type, write_name_assoc, type_int, type_long, | |
1154 | type_long_long, type_float, type_double, type_long_double, | |
1155 | type_char, type_boolean, type_system_address): Add "struct | |
1156 | parser_state" argument. Adjust function to use parser state. | |
1157 | * ada-lang.c (parse): Likewise. | |
1158 | * ada-lang.h: Forward declare "struct parser_state". | |
1159 | (ada_parse): Add "struct parser_state" argument. | |
1160 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
1161 | calls to both functions. | |
1162 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
1163 | parser state. | |
1164 | (yyparse): Redefine macro to f_parse_internal. | |
1165 | (pstate): New variable. | |
1166 | (parse_number): Add "struct parser_state" argument. | |
1167 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
1168 | and similars in order to use parser state. | |
1169 | (parse_number): Adjust code to use parser state. | |
1170 | (yylex): Likewise. | |
1171 | (f_parse): New function. | |
1172 | * f-lang.h: Forward declare "struct parser_state". | |
1173 | (f_parse): Add "struct parser_state" argument. | |
1174 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
1175 | parser state. | |
1176 | (yyparse): Redefine macro for java_parse_internal. | |
1177 | (pstate): New variable. | |
1178 | (push_expression_name, push_expression_name, insert_exp): Add | |
1179 | "struct parser_state" argument. | |
1180 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
1181 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
1182 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
1183 | PostIncrementExpression, PostDecrementExpression, | |
1184 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
1185 | UnaryExpressionNotPlusMinus, CastExpression, | |
1186 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
1187 | RelationalExpression, EqualityExpression, AndExpression, | |
1188 | ExclusiveOrExpression, InclusiveOrExpression, | |
1189 | ConditionalAndExpression, ConditionalOrExpression, | |
1190 | ConditionalExpression, Assignment, LeftHandSide): Update | |
1191 | calls to write_exp* and similars in order to use parser state. | |
1192 | (parse_number): Ajust code to use parser state. | |
1193 | (yylex): Likewise. | |
1194 | (java_parse): New function. | |
1195 | (push_variable): Add "struct parser_state" argument. Adjust | |
1196 | code to user parser state. | |
1197 | (push_fieldnames, push_qualified_expression_name, | |
1198 | push_expression_name, insert_exp): Likewise. | |
1199 | * jv-lang.h: Forward declare "struct parser_state". | |
1200 | (java_parse): Add "struct parser_state" argument. | |
1201 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
1202 | parser state. | |
1203 | (yyparse): Redefine macro to m2_parse_internal. | |
1204 | (pstate): New variable. | |
1205 | (type_exp, exp, fblock, variable, type): Update calls to | |
1206 | write_exp* and similars to use parser state. | |
1207 | (yylex): Likewise. | |
1208 | (m2_parse): New function. | |
1209 | * m2-lang.h: Forward declare "struct parser_state". | |
1210 | (m2_parse): Add "struct parser_state" argument. | |
1211 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
1212 | * objc-lang.h: Forward declare "struct parser_state". | |
1213 | (end_msglist): Add "struct parser_state" argument. | |
1214 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
1215 | (yyparse): Redefine macro to pascal_parse_internal. | |
1216 | (pstate): New variable. | |
1217 | (parse_number): Add "struct parser_state" argument. | |
1218 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
1219 | write_exp* and similars in order to use parser state. | |
1220 | (parse_number, yylex): Adjust code to use parser state. | |
1221 | (pascal_parse): New function. | |
1222 | * p-lang.h: Forward declare "struct parser_state". | |
1223 | (pascal_parse): Add "struct parser_state" argument. | |
1224 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
1225 | (yyparse): Redefine macro to go_parse_internal. | |
1226 | (pstate): New variable. | |
1227 | (parse_number): Add "struct parser_state" argument. | |
1228 | (type_exp, exp1, exp, variable, type): Update calls to | |
1229 | write_exp* and similars in order to use parser state. | |
1230 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
1231 | to use parser state. | |
1232 | (go_parse): Likewise. | |
1233 | * go-lang.h: Forward declare "struct parser_state". | |
1234 | (go_parse): Add "struct parser_state" argument. | |
1235 | ||
342587c4 DE |
1236 | 2014-03-27 Doug Evans <dje@google.com> |
1237 | ||
1238 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
1239 | ||
33e80786 DE |
1240 | 2014-03-27 Doug Evans <dje@google.com> |
1241 | ||
1242 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
1243 | Remove argument abbrev_section. All callers updated. | |
1244 | ||
1dbab08b DE |
1245 | 2014-03-27 Doug Evans <dje@google.com> |
1246 | ||
1247 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
1248 | addr_base, ranges_base. | |
1249 | ||
318d3177 KS |
1250 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
1251 | ||
1252 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
1253 | types, not VAR_DOMAIN. | |
1254 | ||
1e54db15 SL |
1255 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
1256 | ||
1257 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
1258 | "ra" registers. | |
1259 | * features/nios2-linux.c: Regenerated. | |
1260 | * features/nios2.c: Regenerated. | |
1261 | ||
d3839ede PA |
1262 | 2014-03-25 Pedro Alves <palves@redhat.com> |
1263 | ||
1264 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
1265 | sync mode. | |
1266 | ||
7588d2ec PL |
1267 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
1268 | ||
1269 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
1270 | small stack allocation. | |
1271 | ||
a6290449 TG |
1272 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
1273 | ||
1274 | * darwin-nat.c (exc_server): Remove unused prototype. | |
1275 | (darwin_dump_message): Correctly display data on x86_64. | |
1276 | (darwin_encode_reply): Fix style. | |
1277 | Add comments and fix indentation. | |
1278 | ||
31ae9d24 | 1279 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
1280 | |
1281 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
1282 | ||
6339bfc4 DE |
1283 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
1284 | ||
1285 | * infcmd.c: Whitespace fixes. | |
1286 | (interrupt_command): Merge two function comments into one. | |
1287 | ||
0a07590b DE |
1288 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
1289 | ||
1290 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
1291 | All uses updated. | |
1292 | ||
b55fbac4 YQ |
1293 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
1294 | ||
1295 | * remote.c (target_read_live_memory): Remove. | |
1296 | (memory_xfer_live_readonly_partial): Rename it to | |
1297 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
1298 | All callers updated. Call remote_read_bytes_1 | |
1299 | instead of target_read_live_memory. | |
1300 | * tracepoint.c (set_traceframe_number): Remove. | |
1301 | (make_cleanup_restore_traceframe_number): Likewise . | |
1302 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
1303 | (make_cleanup_restore_traceframe_number): Likewise. | |
1304 | ||
9217e74e YQ |
1305 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
1306 | ||
1307 | * remote.c (remote_read_bytes): Move code on reading from the | |
1308 | remote stub to ... | |
1309 | (remote_read_bytes_1): ... here. New function. | |
1310 | ||
8acf9577 YQ |
1311 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
1312 | ||
1313 | * ctf.c (ctf_xfer_partial): Check the return value of | |
1314 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
1315 | return TARGET_XFER_UNAVAILABLE. | |
1316 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
1317 | * target.c (target_read_live_memory): Move it to remote.c. | |
1318 | (memory_xfer_live_readonly_partial): Likewise. | |
1319 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
1320 | * remote.c (target_read_live_memory): Moved from target.c. | |
1321 | (memory_xfer_live_readonly_partial): Likewise. | |
1322 | (remote_read_bytes): Factored out from | |
1323 | memory_xfer_partial_1. | |
1324 | ||
feef67ab DE |
1325 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
1326 | ||
1327 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
1328 | NULL pointer. | |
1329 | ||
b65dc60b PA |
1330 | 2014-03-21 Pedro Alves <palves@redhat.com> |
1331 | ||
1332 | * infrun.c (normal_stop): Extend comment. | |
1333 | ||
b4ab256d HZ |
1334 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
1335 | Pedro Alves <palves@redhat.com> | |
1336 | ||
1337 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
1338 | static buffer. | |
1339 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
1340 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
1341 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
1342 | ||
deba7593 MR |
1343 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
1344 | ||
1345 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
1346 | `z' formatted output modifier. | |
1347 | ||
1bff71c3 SDJ |
1348 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
1349 | Sergio Durigan Junior <sergiodj@redhat.com> | |
1350 | ||
1351 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
1352 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
1353 | exceptions when parsing probes. Rearrange the code for clarity. | |
1354 | ||
90e28950 TT |
1355 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
1356 | ||
1357 | PR gdb/14135 | |
1358 | * top.c (execute_command): Only dispatch events if the command | |
1359 | started the target. | |
1360 | ||
beb460e8 PA |
1361 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
1362 | ||
1363 | PR cli/15718 | |
1364 | * infcall.c: Include event-top.h. | |
1365 | (run_inferior_call): Call async_disable_stdin if needed. | |
1366 | ||
99619bea PA |
1367 | 2014-03-20 Pedro Alves <palves@redhat.com> |
1368 | ||
1369 | * infrun.c (prepare_to_proceed): Delete. | |
1370 | (thread_still_needs_step_over): New function. | |
1371 | (find_thread_needs_step_over): New function. | |
1372 | (proceed): If the current thread needs a step-over, set its | |
1373 | steping_over_breakpoint flag. Adjust to use | |
1374 | find_thread_needs_step_over instead of prepare_to_proceed. | |
1375 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
1376 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
1377 | breakpoint. | |
1378 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
1379 | threads not the stepping thread, before switching back to the | |
1380 | stepping thread. | |
1381 | ||
2adfaa28 PA |
1382 | 2014-03-20 Pedro Alves <palves@redhat.com> |
1383 | ||
1384 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
1385 | extern. | |
1386 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
1387 | * infrun.c (saved_singlestep_ptid) | |
1388 | (stepping_past_singlestep_breakpoint): Delete. | |
1389 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
1390 | (proceed): Store the prev_pc of the stepping thread too. | |
1391 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
1392 | singlestep_pc. | |
1393 | (enum infwait_states): Delete infwait_thread_hop_state. | |
1394 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
1395 | field. | |
1396 | (handle_inferior_event): Adjust. | |
1397 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
1398 | handling and the thread-hop code. Before removing single-step | |
1399 | breakpoints, check whether the thread hit a single-step breakpoint | |
1400 | of another thread. If it did, the trap is not a random signal. | |
1401 | (switch_back_to_stepped_thread): If the event thread hit a | |
1402 | single-step breakpoint, unblock it before switching to the | |
1403 | stepping thread. Handle the case of the stepped thread having | |
1404 | advanced already. | |
1405 | (keep_going): Handle the case of the current thread moving past a | |
1406 | single-step breakpoint. | |
1407 | ||
31e77af2 PA |
1408 | 2014-03-20 Pedro Alves <palves@redhat.com> |
1409 | ||
1410 | PR breakpoints/7143 | |
1411 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
1412 | are being stepped over. | |
1413 | (breakpoint_address_match): Make extern. | |
1414 | * breakpoint.h (breakpoint_address_match): New declaration. | |
1415 | * inferior.h (stepping_past_instruction_at): New declaration. | |
1416 | * infrun.c (struct step_over_info): New type. | |
1417 | (step_over_info): New global. | |
1418 | (set_step_over_info, clear_step_over_info) | |
1419 | (stepping_past_instruction_at): New functions. | |
1420 | (handle_inferior_event): Clear the step-over info when | |
1421 | trap_expected is cleared. | |
1422 | (resume): Remove now stale comment. | |
1423 | (clear_proceed_status): Clear step-over info. | |
1424 | (proceed): Adjust step-over handling to set or clear the step-over | |
1425 | info instead of removing all breakpoints. | |
1426 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
1427 | breakpoints here. | |
1428 | (stop_stepping): Clear step-over info. | |
1429 | (keep_going): Adjust step-over handling to set or clear step-over | |
1430 | info and then always inserting breakpoints, instead of removing | |
1431 | all breakpoints when stepping over one. | |
1432 | ||
b9f437de PA |
1433 | 2014-03-20 Pedro Alves <palves@redhat.com> |
1434 | ||
1435 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
1436 | (deferred_step_ptid): Delete. | |
1437 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
1438 | (init_wait_for_inferior): Adjust. | |
1439 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
1440 | ||
06c868a8 JK |
1441 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
1442 | ||
1443 | PR gdb/15358 | |
1444 | * defs.h (sync_quit_force_run): New declaration. | |
1445 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
1446 | * event-top.c (async_sigterm_handler): New declaration. | |
1447 | (async_sigterm_token): New variable. | |
1448 | (async_init_signals): Create also async_sigterm_token. | |
1449 | (async_sigterm_handler): New function. | |
1450 | (sync_quit_force_run): New variable. | |
1451 | (handle_sigterm): Replace quit_force call by other calls. | |
1452 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
1453 | ||
dea80df0 MR |
1454 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
1455 | ||
1456 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
1457 | offset into SPE pseudo registers. | |
1458 | ||
0c7e1a46 PA |
1459 | 2014-03-18 Pedro Alves <palves@redhat.com> |
1460 | ||
1461 | PR gdb/13860 | |
1462 | * inferior.h (print_stop_event): Declare. | |
1463 | * infrun.c (print_stop_event): New, factored out from ... | |
1464 | (normal_stop): ... this. | |
1465 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
1466 | of bpstat_print/print_stack_frame. | |
1467 | ||
9c1fcd01 TT |
1468 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
1469 | ||
1470 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
1471 | ||
11aa919a PMR |
1472 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
1473 | ||
1474 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
1475 | minimal coercion for reference with coerce_ref instead of | |
1476 | ada_coerce_ref. | |
1477 | ||
d4ccb5e0 TG |
1478 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
1479 | ||
1480 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
1481 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
1482 | is unhandled. | |
1483 | ||
49840f2a UW |
1484 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
1485 | ||
1486 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
1487 | PyObject_GetAttrString to support Python 2.4. | |
1488 | ||
ed4123e5 JK |
1489 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
1490 | ||
1491 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
1492 | (Global Maintainers): Remove Jan Kratochvil. | |
1493 | ||
d6b64346 PA |
1494 | 2014-03-14 Pedro Alves <palves@redhat.com> |
1495 | ||
1496 | * inferior.h (terminal_ours_for_output): Rename to ... | |
1497 | (child_terminal_ours_for_output): ... this. | |
1498 | (terminal_save_ours): Rename to ... | |
1499 | (child_terminal_save_ours): ... this. | |
1500 | (terminal_ours): Rename to ... | |
1501 | (child_terminal_ours): ... this. | |
1502 | (terminal_inferior): Rename to ... | |
1503 | (child_terminal_inferior): ... this. | |
1504 | (terminal_init_inferior): Rename to ... | |
1505 | (child_terminal_init_inferior): ... this. | |
1506 | (terminal_init_inferior_with_pgrp): Rename to ... | |
1507 | (child_terminal_init_inferior_with_pgrp): ... this. | |
1508 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
1509 | (child_terminal_init_with_pgrp): ... this. | |
1510 | (terminal_save_ours): Rename to ... | |
1511 | (child_terminal_save_ours): ... this. | |
1512 | (terminal_init_inferior): Rename to ... | |
1513 | (child_terminal_init): ... this. Adjust. | |
1514 | (terminal_inferior): Rename to ... | |
1515 | (child_terminal_inferior): ... this. | |
1516 | (terminal_ours_for_output): Rename to ... | |
1517 | (child_terminal_ours_for_output): ... this. Adjust. | |
1518 | (terminal_ours): Rename to ... | |
1519 | (child_terminal_ours): ... this. | |
1520 | (terminal_ours_1): Rename to ... | |
1521 | (child_terminal_ours_1): ... this. Adjust. | |
1522 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
1523 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
1524 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
1525 | (gnu_terminal_init): ... this. Adjust. | |
1526 | (gnu_target): Adjust. | |
1527 | * inf-child.c (inf_child_target): Adjust. | |
1528 | ||
5a1e8c7a DE |
1529 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
1530 | ||
1531 | PR guile/16612 | |
1532 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
1533 | new eq?-hashtab. | |
1534 | ||
350e1a76 DE |
1535 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
1536 | ||
1537 | * value.c (record_latest_value): Call release_value_or_incref | |
1538 | instead of release_value. | |
1539 | ||
a69900ae PA |
1540 | 2014-03-13 Pedro Alves <palves@redhat.com> |
1541 | ||
1542 | * procfs.c (procfs_target): Don't override to_shortname, | |
1543 | to_longname or to_doc. | |
1544 | ||
5db9f0bd PA |
1545 | 2014-03-13 Pedro Alves <palves@redhat.com> |
1546 | ||
1547 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
1548 | Unix in user visible strings. | |
1549 | ||
5e3a2c38 SS |
1550 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
1551 | ||
1552 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
1553 | block comment with some general info. | |
1554 | ||
8bc2fe48 PA |
1555 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1556 | ||
1557 | * infcmd.c (prepare_execution_command): New function, factored out | |
1558 | from several execution commands. | |
1559 | (run_command_1, continue_command, step_1, jump_command) | |
1560 | (signal_command, until_command, advance_command, finish_command) | |
1561 | (attach_command): Use prepare_execution_command. | |
1562 | ||
638c5f49 OJ |
1563 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
1564 | ||
1565 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
1566 | (MAX_BPTS): Define. | |
1567 | (MAX_WPTS): Define. | |
1568 | (struct arm_linux_thread_points): Removed. | |
1569 | (struct arm_linux_process_info): New. | |
1570 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
1571 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
1572 | (arm_linux_find_breakpoints_by_tid): Removed. | |
1573 | (struct arch_lwp_info): New. | |
1574 | (arm_linux_find_process_pid): New functions. | |
1575 | (arm_linux_add_process): New functions. | |
1576 | (arm_linux_process_info_get): New functions. | |
1577 | (arm_linux_forget_process): New function. | |
1578 | (arm_linux_get_debug_reg_state): New function. | |
1579 | (struct update_registers_data): New. | |
1580 | (update_registers_callback): New function. | |
1581 | (arm_linux_insert_hw_breakpoint1): Updated. | |
1582 | (arm_linux_remove_hw_breakpoint1): Updated. | |
1583 | (arm_linux_insert_hw_breakpoint): Updated. | |
1584 | (arm_linux_remove_hw_breakpoint): Updated. | |
1585 | (arm_linux_insert_watchpoint): Updated. | |
1586 | (arm_linux_remove_watchpoint): Updated. | |
1587 | (arm_linux_new_thread): Updated. | |
1588 | (arm_linux_prepare_to_resume): New function. | |
1589 | (arm_linux_new_fork): New function. | |
1590 | (_initialize_arm_linux_nat): Updated. | |
1591 | ||
6d03af93 PA |
1592 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1593 | ||
1594 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
1595 | ||
b3ccfe11 TT |
1596 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
1597 | ||
1598 | * inf-child.c (return_zero): New function. | |
1599 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
1600 | * aix-thread.c (aix_thread_inferior_created): New function. | |
1601 | (aix_thread_attach): Remove. | |
1602 | (init_aix_thread_ops): Don't set to_attach. | |
1603 | (_initialize_aix_thread): Register inferior_created observer. | |
1604 | * corelow.c (init_core_ops): Don't set to_attach or | |
1605 | to_create_inferior. | |
1606 | * exec.c (init_exec_ops): Don't set to_attach or | |
1607 | to_create_inferior. | |
1608 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
1609 | target calls. | |
1610 | (attach_command): Use find_attach_target. Make direct target | |
1611 | calls. | |
1612 | * record-btrace.c (init_record_btrace_ops): Don't set | |
1613 | to_create_inferior. | |
1614 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
1615 | Remove. | |
1616 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
1617 | set to_create_inferior. | |
1618 | * target.c (complete_target_initialization): Add assertion. | |
1619 | (target_create_inferior): Remove. | |
1620 | (find_default_attach, find_default_create_inferior): Remove. | |
1621 | (find_attach_target, find_run_target): New functions. | |
1622 | (find_default_is_async_p, find_default_can_async_p) | |
1623 | (target_supports_non_stop, target_attach): Remove. | |
1624 | (init_dummy_target): Don't set to_create_inferior or | |
1625 | to_supports_non_stop. | |
1626 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
1627 | TARGET_DEFAULT_FUNC. | |
1628 | <to_create_inferior>: Add comment. | |
1629 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
1630 | TARGET_DEFAULT_RETURN. | |
1631 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
1632 | (find_attach_target, find_run_target): Declare. | |
1633 | (target_create_inferior): Remove. | |
1634 | (target_has_execution_1): Update comment. | |
1635 | (target_supports_non_stop): Remove. | |
1636 | * target-delegates.c: Rebuild. | |
1637 | ||
91f83b02 PA |
1638 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1639 | ||
1640 | * inf-child.h: Update comment to not mention Unix. | |
1641 | ||
f1aea813 PA |
1642 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1643 | ||
1644 | * inf-child.c: Update top comment to not mention Unix. Add | |
1645 | generic comment describing how this target is meant to be used. | |
1646 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
1647 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
1648 | Unix in comment. | |
1649 | ||
ee8e9165 PA |
1650 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1651 | ||
1652 | * nto-procfs.c: Include inf-child.h. | |
1653 | (procfs_ops): Delete global. | |
1654 | (procfs_can_run): Delete method. | |
1655 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
1656 | target pointer instead of referencing procfs_ops. | |
1657 | (procfs_prepare_to_store): Delete. | |
1658 | (init_procfs_ops): Delete function. | |
1659 | (procfs_target): New function, based on init_procfs_ops, but | |
1660 | inherit inf_child_target. | |
1661 | (_initialize_procfs): Use procfs_target. | |
1662 | ||
51a9c8c5 PA |
1663 | 2014-03-12 Pedro Alves <palves@redhat.com> |
1664 | ||
1665 | * windows-nat.c: Include inf-child.h. | |
1666 | (windows_ops): Delete global. | |
1667 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
1668 | methods. | |
1669 | (init_windows_ops): Delete function. | |
1670 | (windows_target): New function, based on init_windows_ops, but | |
1671 | inherit inf_child_target. | |
1672 | (_initialize_windows_nat): Use windows_target. Install x86 | |
1673 | specific target methods here. | |
1674 | ||
c1966e26 DE |
1675 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
1676 | ||
1677 | * guile/guile.c (call_initialize_gdb_module): New function. | |
1678 | (initialize_guile): Replace call to scm_init_guile with call to | |
1679 | scm_with_guile. | |
1680 | ||
023db19c JB |
1681 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
1682 | ||
1683 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
1684 | in call to TYPE_CODE macro. | |
1685 | ||
5ec18f2b JG |
1686 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
1687 | ||
8668be63 JB |
1688 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
1689 | Resolve tagged types to full view. | |
5ec18f2b | 1690 | |
7d03f2eb HZ |
1691 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
1692 | ||
1693 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
1694 | comments. | |
1695 | ||
c5164cbc DE |
1696 | 2014-03-07 Doug Evans <dje@google.com> |
1697 | ||
1698 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
1699 | ||
c4a3fee2 DE |
1700 | 2014-03-07 Doug Evans <dje@google.com> |
1701 | ||
1702 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
1703 | Remove unused local comp_dir_attr. Assert exactly one of | |
1704 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
1705 | ||
3156469c JB |
1706 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
1707 | ||
1708 | * target.h (complete_target_initialization, add_target): | |
1709 | Add comment. | |
1710 | ||
c1a7b7c6 PA |
1711 | 2014-03-07 Pedro Alves <palves@redhat.com> |
1712 | ||
1713 | * go32-nat.c: Include inf-child.h. | |
1714 | (go32_ops): Delete global. | |
1715 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
1716 | Delete methods. | |
1717 | (go32_create_inferior): Push the passed in target pointer instead | |
1718 | of referencing go32_ops. | |
1719 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
1720 | (go32_target): New function, based on init_go32_ops, but inherit | |
1721 | inf_child_target. | |
1722 | (_initialize_go32_nat): Use go32_target. Move parts of | |
1723 | init_go32_ops here. | |
1724 | ||
d3c1a85f JB |
1725 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
1726 | ||
1727 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
1728 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
1729 | SYMBOL_VALUE_ADDRESS. | |
1730 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
1731 | ||
5fa1d40e YQ |
1732 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
1733 | ||
1734 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
1735 | optional_p. All callers updated. Adjust comments. Update | |
1736 | output message. | |
1737 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
1738 | ||
0c13193f YQ |
1739 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
1740 | ||
1741 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
1742 | early if get_number returns zero. Use 'p' instead of 'args'. | |
1743 | ||
2217da06 YQ |
1744 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
1745 | ||
1746 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
1747 | message. | |
1748 | ||
cc3da688 YQ |
1749 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
1750 | ||
1751 | PR breakpoints/16508 | |
1752 | * tracepoint.c (check_trace_running): New function. | |
1753 | (trace_find_command): Move code to check_trace_running and | |
1754 | call check_trace_running. | |
1755 | (trace_find_pc_command): Likewise. | |
1756 | (trace_find_tracepoint_command): Likewise. | |
1757 | (trace_find_line_command): Likewise. | |
1758 | (trace_find_range_command): Likewise. | |
1759 | * tracepoint.h (check_trace_running): Likewise. | |
1760 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
1761 | ||
6a5f844b YQ |
1762 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
1763 | ||
1764 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
1765 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
1766 | * target-delegates.c: Regenerated. | |
1767 | ||
0f26cec1 PA |
1768 | 2014-03-05 Pedro Alves <palves@redhat.com> |
1769 | ||
1770 | PR gdb/16575 | |
1771 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
1772 | void. Update comment. | |
1773 | (dcache_xfer_memory): Delete. | |
1774 | (dcache_read_memory_partial): New, based on the read bits of | |
1775 | dcache_xfer_memory. | |
1776 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
1777 | adjust. Discard cache lines if the reason for the update was | |
1778 | error. | |
1779 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
1780 | (dcache_read_memory_partial): New declaration. | |
1781 | (dcache_update): Update prototype. | |
1782 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
1783 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
1784 | ||
b2b255bd MF |
1785 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
1786 | ||
1787 | * remote-sim.c (gdbsim_load): Add const to prog. | |
1788 | ||
5d9cf8a4 TT |
1789 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
1790 | ||
1791 | * elfread.c (probe_key): Change to bfd_data. | |
1792 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
1793 | now per-BFD, not per-objfile. | |
1794 | * stap-probe.c (stap_probe_destroy): Update comment. | |
1795 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
1796 | ||
729662a5 TT |
1797 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
1798 | ||
1799 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
1800 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
1801 | get_probe_address. | |
1802 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
1803 | (bkpt_probe_remove_location): Update. | |
1804 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
1805 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
1806 | (elf_probe_fns): Update. | |
1807 | (insert_exception_resume_breakpoint): Change type of "probe" | |
1808 | parameter to bound_probe. | |
1809 | (check_exception_resume): Update. | |
1810 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
1811 | * probe.c (bound_probe_s): New typedef. | |
1812 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
1813 | (find_probe_by_pc): Return a bound_probe. | |
1814 | (collect_probes): Return a VEC(bound_probe_s). | |
1815 | (compare_probes): Update. | |
1816 | (gen_ui_out_table_header_info): Change type of "probes" | |
1817 | parameter. Update. | |
1818 | (info_probes_for_ops): Update. | |
1819 | (get_probe_address): New function. | |
1820 | (probe_safe_evaluate_at_pc): Update. | |
1821 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
1822 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
1823 | (struct probe) <objfile>: Remove field. | |
1824 | <arch>: New field. | |
1825 | <address>: Update comment. | |
1826 | (struct bound_probe): New. | |
1827 | (find_probe_by_pc): Return a bound_probe. | |
1828 | (get_probe_address): Declare. | |
1829 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
1830 | (hash_probe_and_action, equal_probe_and_action): Update. | |
1831 | (register_solib_event_probe): Add address parameter. | |
1832 | (solib_event_probe_at): Update. | |
1833 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
1834 | get_probe_address. | |
1835 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
1836 | (stap_get_probe_address): New function. | |
1837 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
1838 | (compile_probe_arg): Update. | |
1839 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
1840 | address. | |
1841 | (handle_stap_probe): Don't relocate the probe. | |
1842 | (stap_relocate): Remove. | |
1843 | (stap_gen_info_probes_table_values): Update. | |
1844 | (stap_probe_ops): Remove stap_relocate. | |
1845 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
1846 | (debug_sym_probe_fns): Update. | |
1847 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
1848 | * symtab.c (init_sal): Use memset. | |
1849 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
1850 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
1851 | ||
ff887920 TT |
1852 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
1853 | ||
1854 | * probe.h (parse_probes, find_probe_by_pc) | |
1855 | (find_probes_in_objfile): Fix comments. | |
1856 | ||
f0407826 DE |
1857 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
1858 | ||
1859 | * infrun.c (handle_signal_stop): Replace test for | |
1860 | TARGET_WAITKIND_STOPPED with an assert. | |
1861 | ||
35e6a711 DE |
1862 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
1863 | ||
1864 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
1865 | ||
667f9d0b DE |
1866 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
1867 | ||
1868 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
1869 | ||
dc92ace0 MK |
1870 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
1871 | ||
1872 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
1873 | ||
a900370f MK |
1874 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
1875 | ||
1876 | * i386obsd-nat.c: Include "obsd-nat.h". | |
1877 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
1878 | add_target. | |
1879 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
1880 | ||
b72a7981 MK |
1881 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
1882 | ||
1883 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
1884 | ||
96c70aba MK |
1885 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
1886 | ||
1887 | * mips64obsd-nat.c: Include "obsd-nath". | |
1888 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
1889 | add_target | |
1890 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
1891 | ||
874a80af MK |
1892 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
1893 | ||
8fd408f1 MK |
1894 | * amd64obsd-nat.c: Include "obsd-nat,h. |
1895 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
1896 | add_target. | |
874a80af MK |
1897 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
1898 | ||
9cf95373 SC |
1899 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
1900 | ||
1901 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
1902 | (find_overload_match): Update call to find_oload_champ. | |
1903 | (find_oload_champ_namespace_loop): Likewise | |
1904 | ||
863e4da4 MK |
1905 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
1906 | ||
025cac40 MK |
1907 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
1908 | ||
1ed586ce MK |
1909 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
1910 | * config/sparc/obsd64.mh: New file. | |
1911 | * sparc64obsd-nat.c: New file. | |
1912 | ||
863e4da4 MK |
1913 | * obsd-nat.h: New file. |
1914 | * obsd-nat.c: New file. | |
1915 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
1916 | (ALLDEPFILES): Add obsd-nat.c. | |
1917 | ||
89de4da4 TT |
1918 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
1919 | ||
1920 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
1921 | * cli-out.h (cli_ui_out_impl): Now const. | |
1922 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
1923 | * ui-out.c (struct ui_out) <impl>: Now const. | |
1924 | (default_ui_out_impl): Now const. | |
1925 | (ui_out_new): Make 'impl' parameter const. | |
1926 | * ui-out.h (ui_out_new): Update. | |
1927 | ||
c725e7b6 MK |
1928 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
1929 | ||
1930 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
1931 | ||
670b46b3 MK |
1932 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
1933 | ||
1934 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
1935 | ||
c91550fc JK |
1936 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
1937 | ||
1938 | Additional PR 8882 fix. | |
1939 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
1940 | ||
2fa0369e PA |
1941 | 2014-02-27 Pedro Alves <palves@redhat.com> |
1942 | ||
1943 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
1944 | isn't set. | |
1945 | ||
d632a097 PA |
1946 | 2014-02-27 Pedro Alves <palves@redhat.com> |
1947 | ||
1948 | PR 12702 | |
1949 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
1950 | * nat/linux-waitpid.c: Include string.h. | |
1951 | (status_to_str): Moved here and made extern. | |
1952 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
1953 | ||
2ebd5a35 HZ |
1954 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
1955 | ||
1956 | PR 12702 | |
1957 | * infrun.c (ptid_match): Move ... | |
1958 | * common/ptid.c (ptid_match): ... here. | |
1959 | * inferior.h (ptid_match): Move ... | |
1960 | * common/ptid.h (ptid_match): ... here. | |
1961 | ||
3cdd631f MK |
1962 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
1963 | ||
1964 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
1965 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
1966 | gdb_target_obs. | |
1967 | ||
bee30a64 MK |
1968 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
1969 | ||
1970 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
1971 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
1972 | |
1973 | * gdbarch.sh (auxv_parse): New. | |
1974 | * gdbarch.h: Regenerated. | |
1975 | * gdbarch.c: Regenerated. | |
1976 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
1977 | ||
7a5a839f LC |
1978 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
1979 | ||
1980 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
1981 | (value_functions): Add it. | |
1982 | ||
31aa7e4e JB |
1983 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
1984 | ||
1985 | * dwarf2read.c (attr_value_as_address): New function. | |
1986 | (dwarf2_find_base_address, read_call_site_scope): Use | |
1987 | attr_value_as_address in place of DW_ADDR. | |
1988 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
1989 | the low and high addresses. Slight rework of the handling | |
1990 | of the high pc being a constant form, and limit it to | |
1991 | DWARF verson 4 or higher. | |
1992 | (dwarf2_record_block_ranges): Likewise. | |
1993 | (read_partial_die): Likewise. | |
1994 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
1995 | ||
9b333ba3 TT |
1996 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
1997 | ||
1998 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
1999 | ||
5f6cac40 TT |
2000 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2001 | ||
2002 | * elfread.c (elf_read_minimal_symbols): Return early if | |
2003 | minimal symbols have already been read. Add "ei" parameter. | |
2004 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
2005 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
2006 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
2007 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
2008 | * symmisc.c (print_objfile_statistics): Update. | |
2009 | ||
2750ef27 TT |
2010 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2011 | ||
2012 | * elfread.c (elf_read_minimal_symbols): New function, from | |
2013 | elf_symfile_read. | |
2014 | (elf_symfile_read): Call it. | |
2015 | ||
34643a32 TT |
2016 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2017 | ||
2018 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
2019 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
2020 | (lookup_minimal_symbol_solib_trampoline) | |
2021 | (lookup_minimal_symbol_by_pc_section_1) | |
2022 | (lookup_minimal_symbol_and_objfile): Update. | |
2023 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
2024 | Don't allocate a minimal symbol if minsyms have already been read. | |
2025 | (build_minimal_symbol_hash_tables): Update. | |
2026 | (install_minimal_symbols): Do nothing if minsyms already read. | |
2027 | Use the per-BFD obstack. | |
2028 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
2029 | * objfiles.c (allocate_objfile): Call | |
2030 | terminate_minimal_symbol_table later. | |
2031 | (have_minimal_symbols): Update. | |
2032 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
2033 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
2034 | Move from struct objfile. | |
2035 | <minsyms_read>: New field. | |
2036 | (struct objfile) <msymbols, minimal_symbol_count, | |
2037 | msymbol_hash, msymbol_demangled_hash>: Move. | |
2038 | (ALL_OBJFILE_MSYMBOLS): Update. | |
2039 | * symfile.c (read_symbols): Set minsyms_read. | |
2040 | (reread_symbols): Update. | |
2041 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
2042 | ||
2273f0ac TT |
2043 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2044 | ||
2045 | * minsyms.c (msymbols_sort): Remove. | |
2046 | * minsyms.h (msymbols_sort): Remove. | |
2047 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
2048 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
2049 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
2050 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
2051 | to minimal symbol address. | |
2052 | * somread.c (text_offset, data_offset): Remove. | |
2053 | (som_symtab_read): Don't add section offsets to minimal symbol | |
2054 | addresses. | |
2055 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
2056 | Don't add section offsets to minimal symbols. | |
2057 | * coffread.c (coff_symtab_read): Don't add section offsets | |
2058 | to minimal symbol addresses. | |
2059 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
2060 | to minimal symbol addresses. | |
2061 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
2062 | section offset to minimal symbol addresses. | |
2063 | * mdebugread.c (parse_partial_symbols): Don't add section | |
2064 | offset to minimal symbol addresses. | |
2065 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
2066 | offset to minimal symbol addresses. | |
2067 | ||
77e371c0 TT |
2068 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2069 | ||
2070 | * ada-lang.c (ada_main_name): Update. | |
2071 | (ada_add_standard_exceptions): Update. | |
2072 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
2073 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
2074 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
2075 | * auxv.c (ld_so_xfer_auxv): Update. | |
2076 | * avr-tdep.c (avr_scan_prologue): Update. | |
2077 | * ax-gdb.c (gen_var_ref): Update. | |
2078 | * blockframe.c (get_pc_function_start) | |
2079 | (find_pc_partial_function_gnu_ifunc): Update. | |
2080 | * breakpoint.c (create_overlay_event_breakpoint) | |
2081 | (create_longjmp_master_breakpoint) | |
2082 | (create_std_terminate_master_breakpoint) | |
2083 | (create_exception_master_breakpoint): Update. | |
2084 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
2085 | * c-valprint.c (c_val_print): Update. | |
2086 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
2087 | * common/agent.c (agent_look_up_symbols): Update. | |
2088 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
2089 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
2090 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
2091 | * elfread.c (elf_gnu_ifunc_record_cache) | |
2092 | (elf_gnu_ifunc_resolve_by_got): Update. | |
2093 | * findvar.c (default_read_var_value): Update. | |
2094 | * frame.c (inside_main_func): Update. | |
2095 | * frv-tdep.c (frv_frame_this_id): Update. | |
2096 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
2097 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
2098 | Update. | |
2099 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
2100 | (hppa_hpux_find_dummy_bpaddr): Update. | |
2101 | * hppa-tdep.c (hppa_symbol_address): Update. | |
2102 | * infcmd.c (until_next_command): Update. | |
2103 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
2104 | Update. | |
2105 | * linespec.c (minsym_found, add_minsym): Update. | |
2106 | * linux-nat.c (get_signo): Update. | |
2107 | * linux-thread-db.c (inferior_has_bug): Update. | |
2108 | * m32c-tdep.c (m32c_return_value) | |
2109 | (m32c_m16c_address_to_pointer): Update. | |
2110 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
2111 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
2112 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
2113 | * maint.c (maintenance_translate_address): Update. | |
2114 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
2115 | (frob_address): New function. | |
2116 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
2117 | frob_address. Rename parameter to "pc_in". | |
2118 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
2119 | addresses. | |
2120 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
2121 | Update. | |
2122 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
2123 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
2124 | * objc-lang.c (find_objc_msgsend): Update. | |
2125 | * objfiles.c (objfile_relocate1): Update. | |
2126 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
2127 | * p-valprint.c (pascal_val_print): Update. | |
2128 | * parse.c (write_exp_msymbol): Update. | |
2129 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
2130 | (ppc_elfv2_skip_entrypoint): Update. | |
2131 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
2132 | * printcmd.c (build_address_symbolic, msym_info) | |
2133 | (address_info): Update. | |
2134 | * proc-service.c (ps_pglobal_lookup): Update. | |
2135 | * psymtab.c (find_pc_sect_psymtab_closer) | |
2136 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
2137 | Change msymbol parameter to bound_minimal_symbol. | |
2138 | * ravenscar-thread.c (get_running_thread_id): Update. | |
2139 | * remote.c (remote_check_symbols): Update. | |
2140 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
2141 | address. | |
2142 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
2143 | * solib-dsbt.c (lm_base): Update. | |
2144 | * solib-frv.c (lm_base, main_got): Update. | |
2145 | * solib-irix.c (locate_base): Update. | |
2146 | * solib-som.c (som_solib_create_inferior_hook) | |
2147 | (link_map_start): Update. | |
2148 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
2149 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
2150 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
2151 | (flush_ea_cache): Update. | |
2152 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
2153 | * stack.c (find_frame_funname): Update. | |
2154 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
2155 | (debug_qf_find_pc_sect_symtab): Update. | |
2156 | * symfile.c (simple_read_overlay_table) | |
2157 | (simple_overlay_update): Update. | |
2158 | * symfile.h (struct quick_symbol_functions) | |
2159 | <find_pc_sect_symtab>: Change type of msymbol to | |
2160 | bound_minimal_symbol. | |
2161 | * symmisc.c (dump_msymbols): Update. | |
2162 | * symtab.c (find_pc_sect_symtab_via_partial) | |
2163 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
2164 | (search_symbols, print_msymbol_info): Update. | |
2165 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
2166 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
2167 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
2168 | * tracepoint.c (scope_info): Update. | |
2169 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
2170 | (tui_get_begin_asm_address): Update. | |
2171 | * valops.c (find_function_in_inferior): Update. | |
2172 | * value.c (value_static_field, value_fn_field): Update. | |
2173 | ||
3b7344d5 TT |
2174 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2175 | ||
2176 | * ada-lang.c (ada_update_initial_language): Update. | |
2177 | (ada_main_name, ada_has_this_exception_support): Update. | |
2178 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
2179 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
2180 | * arm-tdep.c (arm_skip_stub): Update. | |
2181 | * auxv.c (ld_so_xfer_auxv): Update. | |
2182 | * avr-tdep.c (avr_scan_prologue): Update. | |
2183 | * ax-gdb.c (gen_var_ref): Update. | |
2184 | * breakpoint.c (struct breakpoint_objfile_data) | |
2185 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
2186 | type to bound_minimal_symbol. | |
2187 | (create_overlay_event_breakpoint) | |
2188 | (create_longjmp_master_breakpoint) | |
2189 | (create_std_terminate_master_breakpoint) | |
2190 | (create_exception_master_breakpoint): Update. | |
2191 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
2192 | * c-exp.y (classify_name): Update. | |
2193 | * coffread.c (coff_symfile_read): Update. | |
2194 | * common/agent.c (agent_look_up_symbols): Update. | |
2195 | * d-lang.c (d_main_name): Update. | |
2196 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
2197 | * dec-thread.c (enable_dec_thread): Update. | |
2198 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
2199 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
2200 | * eval.c (evaluate_subexp_standard): Update. | |
2201 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
2202 | to bound_minimal_symbol. | |
2203 | <objfile>: Remove. | |
2204 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
2205 | * frame.c (inside_main_func): Update. | |
2206 | * frv-tdep.c (frv_frame_this_id): Update. | |
2207 | * gcore.c (call_target_sbrk): Update. | |
2208 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
2209 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
2210 | Update. | |
2211 | * go-lang.c (go_main_name): Update. | |
2212 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
2213 | (hppa_hpux_find_import_stub_for_addr): Update. | |
2214 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
2215 | Update. Change return type. | |
2216 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
2217 | type. | |
2218 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
2219 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
2220 | Update. | |
2221 | * linux-nat.c (get_signo): Update. | |
2222 | * linux-thread-db.c (inferior_has_bug): Update | |
2223 | * m32c-tdep.c (m32c_return_value) | |
2224 | (m32c_m16c_address_to_pointer): Update. | |
2225 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
2226 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
2227 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
2228 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
2229 | lookup_minimal_symbol. Change return type. | |
2230 | (lookup_minimal_symbol): Remove. | |
2231 | (lookup_bound_minimal_symbol): Update. | |
2232 | (lookup_minimal_symbol_text): Change return type. | |
2233 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
2234 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
2235 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
2236 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
2237 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
2238 | (value_nsstring, find_imps): Update. | |
2239 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
2240 | * p-lang.c (pascal_main_name): Update. | |
2241 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
2242 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
2243 | * proc-service.c (ps_pglobal_lookup): Update. | |
2244 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
2245 | return type. | |
2246 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
2247 | * remote.c (remote_check_symbols): Update. | |
2248 | * sol-thread.c (ps_pglobal_lookup): Update. | |
2249 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
2250 | * solib-dsbt.c (lm_base): Update. | |
2251 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
2252 | Update. | |
2253 | * solib-irix.c (locate_base): Update. | |
2254 | * solib-som.c (som_solib_create_inferior_hook) | |
2255 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
2256 | Update. | |
2257 | * solib-spu.c (spu_enable_break): Update. | |
2258 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
2259 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
2260 | (flush_ea_cache): Update. | |
2261 | * stabsread.c (define_symbol): Update. | |
2262 | * symfile.c (simple_read_overlay_table): Update. | |
2263 | * symtab.c (find_pc_sect_line): Update. | |
2264 | * tracepoint.c (scope_info): Update. | |
2265 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
2266 | * value.c (value_static_field): Update. | |
2267 | ||
40c1a007 TT |
2268 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2269 | ||
2270 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
2271 | SET_MSYMBOL_VALUE_ADDRESS. | |
2272 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
2273 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
2274 | SET_MSYMBOL_VALUE_ADDRESS. | |
2275 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
2276 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
2277 | ||
efd66ac6 TT |
2278 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2279 | ||
2280 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
2281 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
2282 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
2283 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
2284 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
2285 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
2286 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
2287 | * ada-lang.c (ada_main_name): Update. | |
2288 | (ada_lookup_simple_minsym): Update. | |
2289 | (ada_make_symbol_completion_list): Update. | |
2290 | (ada_add_standard_exceptions): Update. | |
2291 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
2292 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
2293 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
2294 | * arm-tdep.c (skip_prologue_function): Update. | |
2295 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
2296 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
2297 | (arm_wince_skip_main_prologue): Update. | |
2298 | * auxv.c (ld_so_xfer_auxv): Update. | |
2299 | * avr-tdep.c (avr_scan_prologue): Update. | |
2300 | * ax-gdb.c (gen_var_ref): Update. | |
2301 | * block.c (call_site_for_pc): Update. | |
2302 | * blockframe.c (get_pc_function_start): Update. | |
2303 | (find_pc_partial_function_gnu_ifunc): Update. | |
2304 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
2305 | (create_longjmp_master_breakpoint): Update. | |
2306 | (create_std_terminate_master_breakpoint): Update. | |
2307 | (create_exception_master_breakpoint): Update. | |
2308 | (resolve_sal_pc): Update. | |
2309 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
2310 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
2311 | Update. | |
2312 | * c-valprint.c (c_val_print): Update. | |
2313 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
2314 | * coffread.c (coff_symfile_read): Update. | |
2315 | * common/agent.c (agent_look_up_symbols): Update. | |
2316 | * dbxread.c (find_stab_function_addr): Update. | |
2317 | (end_psymtab): Update. | |
2318 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
2319 | (func_verify_no_selftailcall): Update. | |
2320 | (tailcall_dump): Update. | |
2321 | (call_site_find_chain_1): Update. | |
2322 | (dwarf_expr_reg_to_entry_parameter): Update. | |
2323 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
2324 | (elf_gnu_ifunc_resolve_by_got): Update. | |
2325 | * f-valprint.c (info_common_command): Update. | |
2326 | * findvar.c (read_var_value): Update. | |
2327 | * frame.c (get_prev_frame_1): Update. | |
2328 | (inside_main_func): Update. | |
2329 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
2330 | (frv_frame_this_id): Update. | |
2331 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
2332 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
2333 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
2334 | (gnuv3_skip_trampoline): Update. | |
2335 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
2336 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
2337 | (hppa_hpux_skip_trampoline_code): Update. | |
2338 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
2339 | (hppa_hpux_find_import_stub_for_addr): Update. | |
2340 | (hppa_hpux_find_dummy_bpaddr): Update. | |
2341 | * hppa-tdep.c (hppa_symbol_address) | |
2342 | (hppa_lookup_stub_minimal_symbol): Update. | |
2343 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
2344 | (i386_pe_skip_trampoline_code): Update. | |
2345 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
2346 | * infcall.c (get_function_name): Update. | |
2347 | * infcmd.c (until_next_command): Update. | |
2348 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
2349 | (jit_inferior_init): Update. | |
2350 | * linespec.c (minsym_found): Update. | |
2351 | (add_minsym): Update. | |
2352 | * linux-fork.c (info_checkpoints_command): Update. | |
2353 | * linux-nat.c (get_signo): Update. | |
2354 | * linux-thread-db.c (inferior_has_bug): Update. | |
2355 | * m32c-tdep.c (m32c_return_value): Update. | |
2356 | (m32c_m16c_address_to_pointer): Update. | |
2357 | (m32c_m16c_pointer_to_address): Update. | |
2358 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
2359 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
2360 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
2361 | * maint.c (maintenance_translate_address): Update. | |
2362 | * minsyms.c (add_minsym_to_hash_table): Update. | |
2363 | (add_minsym_to_demangled_hash_table): Update. | |
2364 | (msymbol_objfile): Update. | |
2365 | (lookup_minimal_symbol): Update. | |
2366 | (iterate_over_minimal_symbols): Update. | |
2367 | (lookup_minimal_symbol_text): Update. | |
2368 | (lookup_minimal_symbol_by_pc_name): Update. | |
2369 | (lookup_minimal_symbol_solib_trampoline): Update. | |
2370 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
2371 | (lookup_minimal_symbol_and_objfile): Update. | |
2372 | (prim_record_minimal_symbol_full): Update. | |
2373 | (compare_minimal_symbols): Update. | |
2374 | (compact_minimal_symbols): Update. | |
2375 | (build_minimal_symbol_hash_tables): Update. | |
2376 | (install_minimal_symbols): Update. | |
2377 | (terminate_minimal_symbol_table): Update. | |
2378 | (find_solib_trampoline_target): Update. | |
2379 | (minimal_symbol_upper_bound): Update. | |
2380 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
2381 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
2382 | (mips_skip_pic_trampoline_code): Update. | |
2383 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
2384 | * objc-lang.c (selectors_info): Update. | |
2385 | (classes_info): Update. | |
2386 | (find_methods): Update. | |
2387 | (find_imps): Update. | |
2388 | (find_objc_msgsend): Update. | |
2389 | * objfiles.c (objfile_relocate1): Update. | |
2390 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
2391 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
2392 | * p-valprint.c (pascal_val_print): Update. | |
2393 | * parse.c (write_exp_msymbol): Update. | |
2394 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
2395 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
2396 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
2397 | * printcmd.c (build_address_symbolic): Update. | |
2398 | (sym_info): Update. | |
2399 | (address_info): Update. | |
2400 | * proc-service.c (ps_pglobal_lookup): Update. | |
2401 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
2402 | (find_pc_sect_psymtab): Update. | |
2403 | * python/py-framefilter.c (py_print_frame): Update. | |
2404 | * ravenscar-thread.c (get_running_thread_id): Update. | |
2405 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
2406 | Update. | |
2407 | * remote.c (remote_check_symbols): Update. | |
2408 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
2409 | (rs6000_skip_trampoline_code): Update. | |
2410 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
2411 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
2412 | * solib-dsbt.c (lm_base): Update. | |
2413 | * solib-frv.c (lm_base): Update. | |
2414 | (main_got): Update. | |
2415 | * solib-irix.c (locate_base): Update. | |
2416 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
2417 | (som_solib_desire_dynamic_linker_symbols): Update. | |
2418 | (link_map_start): Update. | |
2419 | * solib-spu.c (spu_enable_break): Update. | |
2420 | (ocl_enable_break): Update. | |
2421 | * solib-svr4.c (elf_locate_base): Update. | |
2422 | (enable_break): Update. | |
2423 | * spu-tdep.c (spu_get_overlay_table): Update. | |
2424 | (spu_catch_start): Update. | |
2425 | (flush_ea_cache): Update. | |
2426 | * stabsread.c (define_symbol): Update. | |
2427 | (scan_file_globals): Update. | |
2428 | * stack.c (find_frame_funname): Update. | |
2429 | (frame_info): Update. | |
2430 | * symfile.c (simple_read_overlay_table): Update. | |
2431 | (simple_overlay_update): Update. | |
2432 | * symmisc.c (dump_msymbols): Update. | |
2433 | * symtab.c (fixup_section): Update. | |
2434 | (find_pc_sect_line): Update. | |
2435 | (skip_prologue_sal): Update. | |
2436 | (search_symbols): Update. | |
2437 | (print_msymbol_info): Update. | |
2438 | (rbreak_command): Update. | |
2439 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
2440 | (completion_list_objc_symbol): Update. | |
2441 | (default_make_symbol_completion_list_break_on): Update. | |
2442 | * tracepoint.c (scope_info): Update. | |
2443 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
2444 | (tui_get_begin_asm_address): Update. | |
2445 | * valops.c (find_function_in_inferior): Update. | |
2446 | * value.c (value_static_field): Update. | |
2447 | (value_fn_field): Update. | |
2448 | ||
50e65b17 TT |
2449 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
2450 | ||
2451 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
2452 | bound minimal symbols. Move code that knows about minsym | |
2453 | table layout... | |
2454 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
2455 | function. | |
2456 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
2457 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
2458 | minimal_symbol_upper_bound. | |
2459 | ||
1b588015 JB |
2460 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
2461 | ||
2462 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
2463 | Use the type's name if its basic type does not have a tag. | |
2464 | ||
dbb9c2b1 JB |
2465 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
2466 | ||
2467 | * dwarf2read.c (read_subrange_type): Add comment. | |
2468 | ||
55426c9d JB |
2469 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
2470 | ||
2471 | * dwarf2read.c (update_enumeration_type_from_children): New | |
2472 | function, mostly extracted from process_structure_scope. | |
2473 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
2474 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
2475 | and flag_flag_enum fields. | |
2476 | ||
f2fce0ca PA |
2477 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2478 | ||
2479 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
2480 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
2481 | to_xfer_partial method. | |
2482 | ||
7a44e40e PA |
2483 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2484 | ||
2485 | * target.c (complete_target_initialization): Don't install | |
2486 | default_xfer_partial as to_xfer_partial hook. | |
2487 | (nomemory): Delete. | |
2488 | (update_current_target): Don't INHERIT nor de_fault | |
2489 | deprecated_xfer_memory. Delete de_fault macro. | |
2490 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
2491 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
2492 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
2493 | field. | |
2494 | ||
bd265cd0 PA |
2495 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2496 | ||
2497 | * go32-nat.c (my_write_child): New function. | |
2498 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
2499 | (go32_xfer_partial): New function. | |
2500 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
2501 | Instead install a to_xfer_partial hook. | |
2502 | ||
9d46c4e5 PA |
2503 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2504 | ||
2505 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
2506 | to_xfer_partial helper. Rewrite. | |
2507 | (procfs_xfer_partial): New function. | |
2508 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
2509 | Install a to_xfer_partial hook. | |
2510 | ||
a1583b1f PA |
2511 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2512 | ||
2513 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
2514 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
2515 | (m32r_xfer_partial): New function. | |
2516 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
2517 | Install a to_xfer_partial hook. | |
2518 | ||
6df1b29f PA |
2519 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2520 | ||
2521 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
2522 | helper. | |
2523 | (mips_xfer_partial): New function. | |
2524 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
2525 | hook. Install a to_xfer_partial hook. | |
2526 | ||
dc53a7ad JB |
2527 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
2528 | ||
2529 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
2530 | * gdbtypes.c (create_array_type_with_stride): New function, | |
2531 | renaming create_array_type, but with an added parameter | |
2532 | called "bit_stride". | |
2533 | (create_array_type): Re-implement using | |
2534 | create_array_type_with_stride. | |
2535 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
2536 | and DW_AT_bit_stride attributes. | |
2537 | ||
12ab52e9 PA |
2538 | 2014-02-26 Pedro Alves <palves@redhat.com> |
2539 | ||
2540 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
2541 | task-specific breakpoints. | |
2542 | ||
d16461ae PA |
2543 | 2014-02-25 Pedro Alves <palves@redhat.com> |
2544 | ||
2545 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
2546 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
2547 | ||
a8b16220 SS |
2548 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
2549 | ||
2550 | * defs.h: Annotate comments for Doxygen. | |
2551 | ||
b9e795ee TT |
2552 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
2553 | ||
2554 | * target.h (target_ignore): Don't declare. | |
2555 | * target.c (target_ignore): Remove. | |
2556 | ||
849c862e JK |
2557 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
2558 | ||
2559 | PR gdb/16626 | |
2560 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
2561 | debugfile. | |
2562 | ||
475109d8 JB |
2563 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
2564 | ||
2565 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
2566 | documentation. Adjust prototype to match the target_ops | |
2567 | to_xfer_partial method. Adjust implementation accordingly. | |
2568 | ||
e186c3bd HZ |
2569 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
2570 | ||
2571 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
2572 | to_traceframe_info. | |
2573 | ||
6d451942 KB |
2574 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
2575 | ||
041ab8b4 | 2576 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
2577 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
2578 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
2579 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
2580 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
2581 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
2582 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
2583 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
2584 | New constants. | |
2585 | (rl78_register_type): Use a data pointer type for SP and | |
2586 | new pseudo registers mentioned above. Use a 16 bit integer | |
2587 | type for all other register pairs. | |
2588 | (rl78_register_name, rl78_g10_register_name): Update for | |
2589 | new pseudo registers. | |
2590 | (rl78_pseudo_register_read): Likewise. | |
2591 | (rl78_pseudo_register_write): Likewise. | |
2592 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
2593 | to the newly added pseudo registers. | |
2594 | ||
eddf0bae DE |
2595 | 2014-02-24 Doug Evans <dje@google.com> |
2596 | ||
2597 | * value.c (record_latest_value): Fix comment. | |
2598 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
2599 | record_latest_value. | |
2600 | ||
e96027e0 PA |
2601 | 2014-02-24 Pedro Alves <palves@redhat.com> |
2602 | ||
2603 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
2604 | deprecated_xfer_memory hook. | |
2605 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
2606 | of the deprecated_xfer_memory target hook. | |
2607 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
2608 | helper. | |
2609 | ||
0837c976 YZ |
2610 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
2611 | ||
2612 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
2613 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
2614 | requested object is TARGET_OBJECT_LIBRARIES. | |
2615 | ||
bc113b4e YQ |
2616 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
2617 | ||
2618 | * target.h (enum target_xfer_status) | |
2619 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
2620 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
2621 | explicitly. New. | |
2622 | * corefile.c (memory_error_message): User updated. | |
2623 | * exec.c (section_table_read_available_memory): Likewise. | |
2624 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
2625 | * target.c (target_xfer_status_to_string): Likewise. | |
2626 | (raw_memory_xfer_partial): Likewise. | |
2627 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
2628 | * valops.c (read_value_memory): Likewise. | |
2629 | * exec.h: Update comments. | |
2630 | ||
01cb8804 YQ |
2631 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
2632 | ||
2633 | * target.c (target_xfer_status_to_string): Rename argument err | |
2634 | to status. | |
2635 | * target.h (target_xfer_status_to_string): Update declaration. | |
2636 | Replace target_xfer_error_to_string with | |
2637 | target_xfer_status_to_string in comment. | |
2638 | ||
93063aa6 YQ |
2639 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
2640 | ||
2641 | * mips-linux-nat.c (super_close): Update its type. | |
2642 | (mips_linux_close): Pass 'self' to super_close. | |
2643 | ||
5c328c05 YQ |
2644 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
2645 | ||
2646 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
2647 | * corefile.c (read_memory): Adjusted. | |
2648 | * target.c (target_write_with_progress): Adjusted. | |
2649 | ||
f73023dd YQ |
2650 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2651 | ||
2652 | Revert two patches: | |
2653 | ||
2654 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
2655 | ||
2656 | * remote.c (remote_traceframe_info): Return early if | |
2657 | traceframe is not selected. | |
2658 | ||
2659 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
2660 | ||
2661 | * target.c (update_current_target): Change the default action | |
2662 | of 'to_traceframe_info' from tcomplain to return_zero. | |
2663 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
2664 | comments. | |
2665 | ||
5a2eb0ef YQ |
2666 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2667 | ||
2668 | * valops.c (read_value_memory): Rewrite it. Call | |
2669 | target_xfer_partial in a loop. | |
2670 | * exec.h (section_table_available_memory): Remove declaration. | |
2671 | Move comments to ... | |
2672 | * exec.c (section_table_available_memory): ... here. Make it | |
2673 | static. | |
2674 | ||
1ee79381 YQ |
2675 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2676 | ||
2677 | * exec.c (section_table_read_available_memory): New function. | |
2678 | * exec.h (section_table_read_available_memory): Declare. | |
2679 | * ctf.c (ctf_xfer_partial): Call | |
2680 | section_table_read_available_memory. | |
2681 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
2682 | ||
1ca49d37 YQ |
2683 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2684 | ||
2685 | * ctf.c (ctf_xfer_partial): Move code to ... | |
2686 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
2687 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
2688 | * tracefile.c: Include "exec.h". | |
2689 | * exec.h (exec_read_partial_read_only): Declare. | |
2690 | ||
a283690e YQ |
2691 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2692 | ||
2693 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
2694 | (tfile_has_memory): Remove. | |
2695 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
2696 | to_has_memory of tfile_ops. | |
2697 | * tracefile.c (tracefile_has_all_memory): New function. | |
2698 | (tracefile_has_memory): New function. | |
2699 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
2700 | to_has_memory of 'ops'. | |
2701 | ||
12e03cd0 YQ |
2702 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2703 | ||
2704 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
2705 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
2706 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
2707 | init_tracefile_ops. | |
2708 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
2709 | (tfile_has_stack, tfile_has_registers): Remove. | |
2710 | (tfile_thread_alive): Remove. | |
2711 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
2712 | init_tracefile_ops. | |
2713 | * tracefile.c (tracefile_has_stack): New function. | |
2714 | (tracefile_has_registers): New function. | |
2715 | (tracefile_thread_alive): New function. | |
2716 | (tracefile_get_trace_status): New function. | |
2717 | (init_tracefile_ops): New function. | |
2718 | * tracefile.h (init_tracefile_ops): Declare. | |
2719 | ||
11395323 YQ |
2720 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2721 | ||
2722 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
2723 | (O_LARGEFILE): Likewise. | |
2724 | (tfile_ops): Likewise. | |
2725 | (TRACE_HEADER_SIZE): Likewise. | |
2726 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
2727 | (cur_data_size): Likewise. | |
2728 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
2729 | (tfile_close, tfile_files_info): Likewise. | |
2730 | (tfile_get_trace_status): Likewise. | |
2731 | (tfile_get_tracepoint_status): Likewise. | |
2732 | (tfile_get_traceframe_address): Likewise. | |
2733 | (tfile_trace_find, match_blocktype): Likewise. | |
2734 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
2735 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
2736 | (tfile_get_trace_state_variable_value): Likewise. | |
2737 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
2738 | (tfile_has_stack, tfile_has_registers): Likewise. | |
2739 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
2740 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
2741 | (_initialize_tracepoint): Don't call init_tfile_ops | |
2742 | and add_target_with_completer. | |
2743 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
2744 | exec.h, completer.h and filenames.h. | |
2745 | (_initialize_tracefile_tfile): New function. | |
2746 | ||
7951c4eb YQ |
2747 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
2748 | ||
2749 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
2750 | tracefile-tfile.o. | |
2751 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
2752 | * ctf.c: Include "tracefile.h". | |
2753 | * tracefile.h: New file. | |
2754 | * tracefile.c: New file | |
2755 | * tracefile-tfile.c: New file. | |
2756 | * tracepoint.c: Include "tracefile.h". | |
2757 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
2758 | (stop_reason_names): Add const. | |
2759 | (trace_file_writer_xfree): Move it to tracefile.c. | |
2760 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
2761 | (trace_save_ctf): Likewise. | |
2762 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
2763 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
2764 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
2765 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
2766 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
2767 | (tfile_write_raw_data, tfile_end): Likewise. | |
2768 | (tfile_trace_file_writer_new): Likewise. | |
2769 | (free_uploaded_tp): Make it extern. | |
2770 | (free_uploaded_tsv): Make it extern. | |
2771 | (_initialize_tracepoint): Move code to register command 'tsave' | |
2772 | to tracefile.c. | |
2773 | * tracepoint.h (stop_reason_names): Declare. | |
2774 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
2775 | (struct trace_file_write_ops): Likewise. | |
2776 | (struct trace_file_writer): Likewise. | |
2777 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
2778 | ||
184cd072 JK |
2779 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
2780 | ||
2781 | PR gdb/16594 | |
2782 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
2783 | process name. | |
2784 | (get_cores_used_by_process): New parameter num_cores, use it. | |
2785 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
2786 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
2787 | process name. | |
2788 | ||
c63528fc AK |
2789 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
2790 | ||
2791 | * target.c (memory_xfer_partial): Fix length arg in call to | |
2792 | breakpoint_xfer_memory. | |
2793 | ||
d7b30f67 SDJ |
2794 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
2795 | ||
2796 | PR tdep/16397 | |
2797 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
2798 | number comes after the + or - signs. Adjust length of register | |
2799 | name to be extracted. | |
2800 | ||
8838afaf TT |
2801 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
2802 | ||
2803 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
2804 | (ada_varobj_ops): Mark "extern". | |
2805 | ||
05227d14 TT |
2806 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
2807 | ||
2808 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
2809 | ||
1254eefc DE |
2810 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
2811 | ||
2812 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
2813 | All callers updated. | |
2814 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
2815 | All callers updated. | |
2816 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
2817 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
2818 | ||
adde2bff DE |
2819 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
2820 | Joel Brobecker <brobecker@adacore.com> | |
2821 | Doug Evans <xdje42@gmail.com> | |
2822 | ||
2823 | PR symtab/16581 | |
2824 | * dwarf2read.c (struct die_info): New member in_process. | |
2825 | (reset_die_in_process): New function. | |
2826 | (process_die): Set it at the start, reset when returning. | |
2827 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
2828 | not already being processed. | |
2829 | ||
3be75f87 JB |
2830 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
2831 | ||
2832 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
2833 | (do_initial_windows_stuff): Add comment explaining why we wait | |
2834 | until after inferior initialization has finished before | |
2835 | processing all DLLs. | |
2836 | ||
47f7ffdb JB |
2837 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
2838 | ||
2839 | * windows-nat.c (get_module_name): Delete. | |
2840 | (windows_get_exec_module_filename): New function, mostly | |
2841 | inspired from get_module_name. | |
2842 | (windows_pid_to_exec_file): Replace call to get_module_name | |
2843 | by call to windows_get_exec_module_filename. | |
2844 | ||
1cd9feab JB |
2845 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
2846 | ||
2847 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
2848 | introductory comment. Remove code using get_module_name | |
2849 | to get the DLL's name. | |
2850 | ||
ea39ad35 JB |
2851 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
2852 | ||
2853 | * windows-nat.c (get_windows_debug_event): Ignore | |
2854 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
2855 | if windows_initialization_done == 0. | |
2856 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
2857 | Adjust implementation to always load all DLLs. | |
2858 | (do_initial_windows_stuff): Replace call to | |
2859 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
2860 | ||
95060284 JB |
2861 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
2862 | ||
2863 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
2864 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
2865 | and "assf" aliases into commands, and deprecate them as well. | |
2866 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
2867 | aliases are now deprecated. | |
2868 | ||
8d4fdb12 JB |
2869 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
2870 | ||
2871 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
2872 | new-line in debug string. Remove trailing spaces. | |
2873 | ||
1b281443 SS |
2874 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
2875 | ||
2876 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
2877 | ||
f7bd0f78 SC |
2878 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
2879 | ||
2880 | * NEWS: Add entry for the new feature | |
2881 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
2882 | and class values. | |
2883 | ||
399ebc3d SS |
2884 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
2885 | ||
2886 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
2887 | ||
c658158d PA |
2888 | 2014-02-19 Pedro Alves <palves@redhat.com> |
2889 | ||
2890 | * common/ptid.h (struct ptid): Mention that process_stratum | |
2891 | targets should prefer ptid.lwp. | |
2892 | ||
ba348170 PA |
2893 | 2014-02-19 Pedro Alves <palves@redhat.com> |
2894 | ||
2895 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
2896 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
2897 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
2898 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
2899 | store remote thread ids rather than ptid.tid. | |
2900 | (_initialize_remote): Adjust. | |
2901 | ||
ac01945b TT |
2902 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2903 | ||
2904 | * target.c (target_get_unwinder): Rewrite. | |
2905 | (target_get_tailcall_unwinder): Rewrite. | |
2906 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
2907 | (record_btrace_to_get_tailcall_unwinder): New function. | |
2908 | (init_record_btrace_ops): Update. | |
2909 | * target.h (struct target_ops) <to_get_unwinder, | |
2910 | to_get_tailcall_unwinder>: Now function pointers. Use | |
2911 | TARGET_DEFAULT_RETURN. | |
2912 | ||
8476dc92 TT |
2913 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2914 | ||
2915 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
2916 | argument. | |
2917 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
2918 | ||
c0eca49f TT |
2919 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2920 | ||
2921 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
2922 | directly. | |
2923 | * target-delegates.c: Rebuild. | |
2924 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
2925 | TARGET_DEFAULT_FUNC. | |
2926 | * target.c (default_target_decr_pc_after_break): Rename from | |
2927 | forward_target_decr_pc_after_break. Simplify. | |
2928 | (target_decr_pc_after_break): Rely on delegation. | |
2929 | ||
596b6b39 TT |
2930 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2931 | ||
2932 | * target.c (update_current_target): Do not INHERIT to_doc or | |
2933 | to_magic. Do not de_fault to_open or to_close. | |
2934 | ||
b427c1bc TT |
2935 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2936 | ||
2937 | * gcore.h (objfile_find_memory_regions): Declare. | |
2938 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
2939 | "self" argument. | |
2940 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
2941 | * exec.c: Include gcore.h. | |
2942 | (exec_set_find_memory_regions): Remove. | |
2943 | (exec_find_memory_regions): Remove. | |
2944 | (exec_do_find_memory_regions): Remove. | |
2945 | (init_exec_ops): Update. | |
2946 | * defs.h (exec_set_find_memory_regions): Remove. | |
2947 | ||
9b144037 TT |
2948 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2949 | ||
2950 | * target-delegates.c: Rebuild. | |
2951 | * target.h (struct target_ops) <to_extra_thread_info, | |
2952 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
2953 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
2954 | not 0, in TARGET_DEFAULT_RETURN. | |
2955 | ||
555bbdeb TT |
2956 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2957 | ||
2958 | * target.c (complete_target_initialization): Remove casts. Use | |
2959 | return_zero_has_execution. | |
2960 | (return_zero): Add "ignore" argument. | |
2961 | (return_zero_has_execution): New function. | |
2962 | (init_dummy_target): Remove casts. Use | |
2963 | return_zero_has_execution. | |
2964 | ||
be4ddd36 TT |
2965 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2966 | ||
2967 | * target.c (update_current_target): Update comments. Do not | |
2968 | INHERIT to_stratum. | |
2969 | ||
2117c711 TT |
2970 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2971 | ||
2972 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
2973 | needed. | |
2974 | * corelow.c (core_read_description): Delegate when needed. | |
2975 | * remote.c (remote_read_description): Delegate when needed. | |
2976 | * target-delegates.c: Rebuild. | |
2977 | * target.c (target_read_description): Rewrite. | |
2978 | * target.h (struct target_ops) <to_read_description>: Update | |
2979 | comment. Use TARGET_DEFAULT_RETURN. | |
2980 | ||
e88ef65c TT |
2981 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2982 | ||
2983 | * target-delegates.c: Rebuild. | |
2984 | * target.c (update_current_target): Don't inherit or default | |
2985 | to_can_run. | |
2986 | (find_default_run_target): Check against delegate_can_run. | |
2987 | * target.h (struct target_ops) <to_can_run>: Use | |
2988 | TARGET_DEFAULT_RETURN. | |
2989 | ||
86a0854a TT |
2990 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2991 | ||
2992 | * target-delegates.c: Rebuild. | |
2993 | * target.c (target_disconnect): Unconditionally delegate. | |
2994 | * target.h (struct target_ops) <to_disconnect>: Use | |
2995 | TARGET_DEFAULT_NORETURN. | |
2996 | ||
ee97f592 TT |
2997 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
2998 | ||
2999 | * record.c (record_stop): Unconditionally delegate. | |
3000 | * target-delegates.c: Rebuild. | |
3001 | * target.c (target_stop_recording): Unconditionally delegate. | |
3002 | * target.h (struct target_ops) <to_stop_recording>: Use | |
3003 | TARGET_DEFAULT_IGNORE. | |
3004 | ||
6dc7fcf4 TT |
3005 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3006 | ||
3007 | * target-delegates.c: Rebuild. | |
3008 | * target.c (target_enable_btrace): Unconditionally delegate. | |
3009 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
3010 | TARGET_DEFAULT_NORETURN. | |
3011 | ||
eb5b20d4 TT |
3012 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3013 | ||
3014 | * target-delegates.c: Rebuild. | |
3015 | * target.c (target_read_btrace): Unconditionally delegate. | |
3016 | * target.h (struct target_ops) <to_read_btrace>: Use | |
3017 | TARGET_DEFAULT_NORETURN. | |
3018 | ||
9ace480d TT |
3019 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3020 | ||
3021 | * target-delegates.c: Rebuild. | |
3022 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
3023 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
3024 | TARGET_DEFAULT_NORETURN. | |
3025 | ||
8dc292d3 TT |
3026 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3027 | ||
3028 | * target-delegates.c: Rebuild. | |
3029 | * target.c (target_disable_btrace): Unconditionally delegate. | |
3030 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
3031 | TARGET_DEFAULT_NORETURN. | |
3032 | ||
58a5184e TT |
3033 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3034 | ||
3035 | * target-delegates.c: Rebuild. | |
3036 | * target.c (default_search_memory): New function. | |
3037 | (simple_search_memory): Update comment. | |
3038 | (target_search_memory): Unconditionally delegate. | |
3039 | * target.h (struct target_ops) <to_search_memory>: Use | |
3040 | TARGET_DEFAULT_FUNC. | |
3041 | ||
8de71aab TT |
3042 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3043 | ||
3044 | * auxv.c (default_auxv_parse): No longer static. | |
3045 | (target_auxv_parse): Unconditionally delegate. | |
3046 | * auxv.h (default_auxv_parse): Declare. | |
3047 | * target-delegates.c: Rebuild. | |
3048 | * target.c: Include auxv.h. | |
3049 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
3050 | TARGET_DEFAULT_FUNC. | |
3051 | ||
6b2c5a57 TT |
3052 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3053 | ||
3054 | * target-delegates.c: Rebuild. | |
3055 | * target.c (target_memory_map): Unconditionally delegate. | |
3056 | * target.h (struct target_ops) <to_memory_map>: Use | |
3057 | TARGET_DEFAULT_RETURN. | |
3058 | ||
cbffc065 TT |
3059 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3060 | ||
3061 | * target-delegates.c: Rebuild. | |
3062 | * target.c (target_thread_alive): Unconditionally delegate. | |
3063 | * target.h (struct target_ops) <to_thread_alive>: Use | |
3064 | TARGET_DEFAULT_RETURN. | |
3065 | ||
f09e2107 TT |
3066 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3067 | ||
3068 | * target-delegates.c: Rebuild. | |
3069 | * target.c (target_save_record): Unconditionally delegate. | |
3070 | * target.h (struct target_ops) <to_save_record>: Use | |
3071 | TARGET_DEFAULT_NORETURN. | |
3072 | ||
07366925 TT |
3073 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3074 | ||
3075 | * target-delegates.c: Rebuild. | |
3076 | * target.c (target_delete_record): Unconditionally delegate. | |
3077 | * target.h (struct target_ops) <to_delete_record>: Use | |
3078 | TARGET_DEFAULT_NORETURN. | |
3079 | ||
dd2e9d25 TT |
3080 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3081 | ||
3082 | * target-delegates.c: Rebuild. | |
3083 | * target.c (target_record_is_replaying): Unconditionally | |
3084 | delegate. | |
3085 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
3086 | TARGET_DEFAULT_RETURN. | |
3087 | ||
671e76cc TT |
3088 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3089 | ||
3090 | * target-delegates.c: Rebuild. | |
3091 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
3092 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
3093 | TARGET_DEFAULT_NORETURN. | |
3094 | ||
e9179bb3 TT |
3095 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3096 | ||
3097 | * target-delegates.c: Rebuild. | |
3098 | * target.c (target_goto_record_end): Unconditionally delegate. | |
3099 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
3100 | TARGET_DEFAULT_NORETURN. | |
3101 | ||
05969c84 TT |
3102 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3103 | ||
3104 | * target-delegates.c: Rebuild. | |
3105 | * target.c (target_goto_record): Unconditionally delegate. | |
3106 | * target.h (struct target_ops) <to_goto_record>: Use | |
3107 | TARGET_DEFAULT_NORETURN. | |
3108 | ||
3679abfa TT |
3109 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3110 | ||
3111 | * target-delegates.c: Rebuild. | |
3112 | * target.c (target_insn_history): Unconditionally delegate. | |
3113 | * target.h (struct target_ops) <to_insn_history>: Use | |
3114 | TARGET_DEFAULT_NORETURN. | |
3115 | ||
8444ab58 TT |
3116 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3117 | ||
3118 | * target-delegates.c: Rebuild. | |
3119 | * target.c (target_insn_history_from): Unconditionally delegate. | |
3120 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
3121 | TARGET_DEFAULT_NORETURN. | |
3122 | ||
c29302cc TT |
3123 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3124 | ||
3125 | * target-delegates.c: Rebuild. | |
3126 | * target.c (target_insn_history_range): Unconditionally delegate. | |
3127 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
3128 | TARGET_DEFAULT_NORETURN. | |
3129 | ||
170049d4 TT |
3130 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3131 | ||
3132 | * target-delegates.c: Rebuild. | |
3133 | * target.c (target_call_history): Unconditionally delegate. | |
3134 | * target.h (struct target_ops) <to_call_history>: Use | |
3135 | TARGET_DEFAULT_NORETURN. | |
3136 | ||
16fc27d6 TT |
3137 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3138 | ||
3139 | * target-delegates.c: Rebuild. | |
3140 | * target.c (target_call_history_from): Unconditionally delegate. | |
3141 | * target.h (struct target_ops) <to_call_history_from>: Use | |
3142 | TARGET_DEFAULT_NORETURN. | |
3143 | ||
115d9817 TT |
3144 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3145 | ||
3146 | * target-delegates.c: Rebuild. | |
3147 | * target.c (target_call_history_range): Unconditionally delegate. | |
3148 | * target.h (struct target_ops) <to_call_history_range>: Use | |
3149 | TARGET_DEFAULT_NORETURN. | |
3150 | ||
eb276a6b TT |
3151 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3152 | ||
3153 | * target-delegates.c: Rebuild. | |
3154 | * target.c (target_verify_memory): Unconditionally delegate. | |
3155 | * target.h (struct target_ops) <to_verify_memory>: Use | |
3156 | TARGET_DEFAULT_NORETURN. | |
3157 | ||
9e538d0d TT |
3158 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3159 | ||
3160 | * target-delegates.c: Rebuild. | |
3161 | * target.c (target_core_of_thread): Unconditionally delegate. | |
3162 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
3163 | TARGET_DEFAULT_RETURN. | |
3164 | ||
f6fb2925 TT |
3165 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3166 | ||
3167 | * target-delegates.c: Rebuild. | |
3168 | * target.c (target_flash_done): Unconditionally delegate. | |
3169 | * target.h (struct target_ops) <to_flash_done>: Use | |
3170 | TARGET_DEFAULT_NORETURN. | |
3171 | ||
e8a6c6ac TT |
3172 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3173 | ||
3174 | * target-delegates.c: Rebuild. | |
3175 | * target.c (target_flash_erase): Unconditionally delegate. | |
3176 | * target.h (struct target_ops) <to_flash_erase>: Use | |
3177 | TARGET_DEFAULT_NORETURN. | |
3178 | ||
7e35c012 TT |
3179 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3180 | ||
3181 | * target-delegates.c: Rebuild. | |
3182 | * target.c (target_get_section_table): Unconditionally delegate. | |
3183 | * target.h (struct target_ops) <to_get_section_table>: Use | |
3184 | TARGET_DEFAULT_RETURN. | |
3185 | ||
770234d3 TT |
3186 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3187 | ||
3188 | * target-delegates.c: Rebuild. | |
3189 | * target.c (target_pid_to_str): Unconditionally delegate. | |
3190 | (init_dummy_target): Don't initialize to_pid_to_str. | |
3191 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
3192 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
3193 | TARGET_DEFAULT_FUNC. | |
3194 | ||
09b0dc2b TT |
3195 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3196 | ||
3197 | * target-delegates.c: Rebuild. | |
3198 | * target.c (target_find_new_threads): Unconditionally delegate. | |
3199 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
3200 | TARGET_DEFAULT_RETURN. | |
3201 | ||
7d4f8efa TT |
3202 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3203 | ||
3204 | * target-delegates.c: Rebuild. | |
3205 | * target.c (target_program_signals): Unconditionally delegate. | |
3206 | * target.h (struct target_ops) <to_program_signals>: Use | |
3207 | TARGET_DEFAULT_IGNORE. | |
3208 | ||
035cad7f TT |
3209 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3210 | ||
3211 | * target-delegates.c: Rebuild. | |
3212 | * target.c (target_pass_signals): Unconditionally delegate. | |
3213 | * target.h (struct target_ops) <to_pass_signals>: Use | |
3214 | TARGET_DEFAULT_IGNORE. | |
3215 | ||
8d657035 TT |
3216 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3217 | ||
3218 | * target-delegates.c: Rebuild. | |
3219 | * target.c (default_mourn_inferior): New function. | |
3220 | (target_mourn_inferior): Unconditionally delegate. | |
3221 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
3222 | TARGET_DEFAULT_FUNC. | |
3223 | ||
098dba18 TT |
3224 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3225 | ||
3226 | * target-delegates.c: Rebuild. | |
3227 | * target.c (default_follow_fork): New function. | |
3228 | (target_follow_fork): Unconditionally delegate. | |
3229 | * target.h (struct target_ops) <to_follow_fork>: Use | |
3230 | TARGET_DEFAULT_FUNC. | |
3231 | ||
423a4807 TT |
3232 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3233 | ||
3234 | * target-delegates.c: Rebuild. | |
3235 | * target.c (target_kill): Unconditionally delegate. | |
3236 | * target.h (struct target_ops) <to_kill>: Use | |
3237 | TARGET_DEFAULT_NORETURN. | |
3238 | ||
6c7e5e5c TT |
3239 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3240 | ||
3241 | * target-delegates.c: Rebuild. | |
3242 | * target.c (target_masked_watch_num_registers): Unconditionally | |
3243 | delegate. | |
3244 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
3245 | Use TARGET_DEFAULT_RETURN. | |
3246 | ||
8b1c364c TT |
3247 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3248 | ||
3249 | * target-delegates.c: Rebuild. | |
3250 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
3251 | delegate. | |
3252 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
3253 | TARGET_DEFAULT_RETURN. | |
3254 | ||
cd4ae029 TT |
3255 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3256 | ||
3257 | * target-delegates.c: Rebuild. | |
3258 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
3259 | delegate. | |
3260 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
3261 | TARGET_DEFAULT_RETURN. | |
3262 | ||
a134316b TT |
3263 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3264 | ||
3265 | * target-delegates.c: Rebuild. | |
3266 | * target.c (target_ranged_break_num_registers): Unconditionally | |
3267 | delegate. | |
3268 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
3269 | Use TARGET_DEFAULT_RETURN. | |
3270 | ||
ad5989bd TT |
3271 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3272 | ||
3273 | * target-delegates.c: Rebuild. | |
3274 | * target.c (target_fetch_registers): Unconditionally delegate. | |
3275 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
3276 | TARGET_DEFAULT_NORETURN. | |
3277 | ||
46ee7e8d TT |
3278 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3279 | ||
3280 | * target-delegates.c: Rebuild. | |
3281 | * target.c (update_current_target): Don't inherit or default | |
3282 | to_stop. | |
3283 | * target.h (struct target_ops) <to_stop>: Use | |
3284 | TARGET_DEFAULT_IGNORE. | |
3285 | ||
843f59ed TT |
3286 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3287 | ||
3288 | * target-delegates.c: Rebuild. | |
3289 | * target.c (update_current_target): Don't inherit or default | |
3290 | to_can_run_breakpoint_commands. | |
3291 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
3292 | Use TARGET_DEFAULT_RETURN. | |
3293 | ||
ccfde2a0 TT |
3294 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3295 | ||
3296 | * target-delegates.c: Rebuild. | |
3297 | * target.c (update_current_target): Don't inherit or default | |
3298 | to_supports_evaluation_of_breakpoint_conditions. | |
3299 | * target.h (struct target_ops) | |
3300 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
3301 | TARGET_DEFAULT_RETURN. | |
3302 | ||
0de91722 TT |
3303 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3304 | ||
3305 | * target-delegates.c: Rebuild. | |
3306 | * target.c (update_current_target): Don't inherit or default | |
3307 | to_augmented_libraries_svr4_read. | |
3308 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
3309 | Use TARGET_DEFAULT_RETURN. | |
3310 | ||
9a7d8b48 TT |
3311 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3312 | ||
3313 | * target-delegates.c: Rebuild. | |
3314 | * target.c (update_current_target): Don't inherit or default | |
3315 | to_can_use_agent. | |
3316 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
3317 | TARGET_DEFAULT_RETURN. | |
3318 | ||
d9db5b21 TT |
3319 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3320 | ||
3321 | * target-delegates.c: Rebuild. | |
3322 | * target.c (update_current_target): Don't inherit or default | |
3323 | to_use_agent. | |
3324 | * target.h (struct target_ops) <to_use_agent>: Use | |
3325 | TARGET_DEFAULT_NORETURN. | |
3326 | ||
92155eeb TT |
3327 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3328 | ||
3329 | * target-delegates.c: Rebuild. | |
3330 | * target.c (update_current_target): Don't inherit or default | |
3331 | to_traceframe_info. | |
3332 | (return_null): Remove. | |
3333 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
3334 | TARGET_DEFAULT_RETURN. | |
3335 | ||
d6522a22 TT |
3336 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3337 | ||
3338 | * target-delegates.c: Rebuild. | |
3339 | * target.c (update_current_target): Don't inherit or default | |
3340 | to_static_tracepoint_markers_by_strid. | |
3341 | * target.h (struct target_ops) | |
3342 | <to_static_tracepoint_markers_by_strid>: Use | |
3343 | TARGET_DEFAULT_NORETURN. | |
3344 | ||
4c3e4425 TT |
3345 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3346 | ||
3347 | * target-delegates.c: Rebuild. | |
3348 | * target.c (update_current_target): Don't inherit or default | |
3349 | to_static_tracepoint_marker_at. | |
3350 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
3351 | Use TARGET_DEFAULT_RETURN. | |
3352 | ||
dcd6917f TT |
3353 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3354 | ||
3355 | * target-delegates.c: Rebuild. | |
3356 | * target.c (update_current_target): Don't inherit or default | |
3357 | to_set_permissions. | |
3358 | * target.h (struct target_ops) <to_set_permissions>: Use | |
3359 | TARGET_DEFAULT_IGNORE. | |
3360 | ||
22bcceee TT |
3361 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3362 | ||
3363 | * target-delegates.c: Rebuild. | |
3364 | * target.c (update_current_target): Don't inherit or default | |
3365 | to_get_tib_address. | |
3366 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
3367 | TARGET_DEFAULT_NORETURN. | |
3368 | ||
8586ccaa TT |
3369 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3370 | ||
3371 | * target-delegates.c: Rebuild. | |
3372 | * target.c (update_current_target): Don't inherit or default | |
3373 | to_set_trace_notes. | |
3374 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
3375 | TARGET_DEFAULT_RETURN. | |
3376 | ||
91df8d1d TT |
3377 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3378 | ||
3379 | * target-delegates.c: Rebuild. | |
3380 | * target.c (update_current_target): Don't initialize | |
3381 | to_set_trace_buffer_size. | |
3382 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
3383 | TARGET_DEFAULT_IGNORE. | |
3384 | ||
8d526939 TT |
3385 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3386 | ||
3387 | * target-delegates.c: Rebuild. | |
3388 | * target.c (update_current_target): Don't inherit or default | |
3389 | to_set_circular_trace_buffer. | |
3390 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
3391 | TARGET_DEFAULT_IGNORE. | |
3392 | ||
0bcfeddf TT |
3393 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3394 | ||
3395 | * target-delegates.c: Rebuild. | |
3396 | * target.c (update_current_target): Don't inherit or default | |
3397 | to_set_disconnected_tracing. | |
3398 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
3399 | TARGET_DEFAULT_IGNORE. | |
3400 | ||
9249843f TT |
3401 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3402 | ||
3403 | * target-delegates.c: Rebuild. | |
3404 | * target.c (update_current_target): Don't inherit or default | |
3405 | to_get_min_fast_tracepoint_insn_len. | |
3406 | (return_minus_one): Remove. | |
3407 | * target.h (struct target_ops) | |
3408 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
3409 | ||
ace92e7d TT |
3410 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3411 | ||
3412 | * target-delegates.c: Rebuild. | |
3413 | * target.c (update_current_target): Don't inherit or default | |
3414 | to_get_raw_trace_data. | |
3415 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
3416 | TARGET_DEFAULT_NORETURN. | |
3417 | ||
08120467 TT |
3418 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3419 | ||
3420 | * target-delegates.c: Rebuild. | |
3421 | * target.c (update_current_target): Don't inherit or default | |
3422 | to_upload_trace_state_variables. | |
3423 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
3424 | Use TARGET_DEFAULT_RETURN. | |
3425 | ||
1e949b00 TT |
3426 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3427 | ||
3428 | * target-delegates.c: Rebuild. | |
3429 | * target.c (update_current_target): Don't inherit or default | |
3430 | to_upload_tracepoints. | |
3431 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
3432 | TARGET_DEFAULT_RETURN. | |
3433 | ||
a2e6c147 TT |
3434 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3435 | ||
3436 | * target-delegates.c: Rebuild. | |
3437 | * target.c (update_current_target): Don't inherit or default | |
3438 | to_save_trace_data. | |
3439 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
3440 | TARGET_DEFAULT_NORETURN. | |
3441 | ||
959bcd0b TT |
3442 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3443 | ||
3444 | * target-delegates.c: Rebuild. | |
3445 | * target.c (update_current_target): Don't inherit or default | |
3446 | to_get_trace_state_variable_value. | |
3447 | * target.h (struct target_ops) | |
3448 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
3449 | ||
afc94e66 TT |
3450 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3451 | ||
3452 | * target-delegates.c: Rebuild. | |
3453 | * target.c (update_current_target): Don't inherit or default | |
3454 | to_trace_find. | |
3455 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
3456 | ||
e51c07ea TT |
3457 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3458 | ||
3459 | * target-delegates.c: Rebuild. | |
3460 | * target.c (update_current_target): Don't inherit or default | |
3461 | to_trace_stop. | |
3462 | * target.h (struct target_ops) <to_trace_stop>: Use | |
3463 | TARGET_DEFAULT_NORETURN. | |
3464 | ||
6fea14cd TT |
3465 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3466 | ||
3467 | * target-delegates.c: Rebuild. | |
3468 | * target.c (update_current_target): Don't inherit or default | |
3469 | to_get_tracepoint_status. | |
3470 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
3471 | TARGET_DEFAULT_NORETURN. | |
3472 | ||
4072d4ff TT |
3473 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3474 | ||
3475 | * target-delegates.c: Rebuild. | |
3476 | * target.c (update_current_target): Don't inherit or default | |
3477 | to_get_trace_status. | |
3478 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
3479 | TARGET_DEFAULT_RETURN. | |
3480 | ||
25da2e80 TT |
3481 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3482 | ||
3483 | * target-delegates.c: Rebuild. | |
3484 | * target.c (update_current_target): Don't inherit or default | |
3485 | to_trace_start. | |
3486 | * target.h (struct target_ops) <to_trace_start>: Use | |
3487 | TARGET_DEFAULT_NORETURN. | |
3488 | ||
86dd181d TT |
3489 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3490 | ||
3491 | * target-delegates.c: Rebuild. | |
3492 | * target.c (update_current_target): Don't inherit or default | |
3493 | to_trace_set_readonly_regions. | |
3494 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
3495 | Use TARGET_DEFAULT_NORETURN. | |
3496 | ||
05c41993 TT |
3497 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3498 | ||
3499 | * target-delegates.c: Rebuild. | |
3500 | * target.c (update_current_target): Don't inherit or default | |
3501 | to_disable_tracepoint. | |
3502 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
3503 | TARGET_DEFAULT_NORETURN. | |
3504 | ||
151f70f1 TT |
3505 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3506 | ||
3507 | * target-delegates.c: Rebuild. | |
3508 | * target.c (update_current_target): Don't inherit or default | |
3509 | to_enable_tracepoint. | |
3510 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
3511 | TARGET_DEFAULT_NORETURN. | |
3512 | ||
94eb98b9 TT |
3513 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3514 | ||
3515 | * target-delegates.c: Rebuild. | |
3516 | * target.c (update_current_target): Don't inherit or default | |
3517 | to_download_trace_state_variable. | |
3518 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
3519 | Use TARGET_DEFAULT_NORETURN. | |
3520 | ||
719acc4a TT |
3521 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3522 | ||
3523 | * target-delegates.c: Rebuild. | |
3524 | * target.c (update_current_target): Don't inherit or default | |
3525 | to_can_download_tracepoint. | |
3526 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
3527 | TARGET_DEFAULT_RETURN. | |
3528 | ||
9a980a22 TT |
3529 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3530 | ||
3531 | * target-delegates.c: Rebuild. | |
3532 | * target.c (update_current_target): Don't inherit or default | |
3533 | to_download_tracepoint. | |
3534 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
3535 | TARGET_DEFAULT_NORETURN. | |
3536 | ||
5536135b TT |
3537 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3538 | ||
3539 | * target-delegates.c: Rebuild. | |
3540 | * target.c (update_current_target): Don't inherit or default | |
3541 | to_trace_init. | |
3542 | * target.h (struct target_ops) <to_trace_init>: Use | |
3543 | TARGET_DEFAULT_RETURN. | |
3544 | ||
9409d39e TT |
3545 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3546 | ||
3547 | * target-delegates.c: Rebuild. | |
3548 | * target.c (update_current_target): Don't inherit or default | |
3549 | to_supports_string_tracing. | |
3550 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
3551 | TARGET_DEFAULT_RETURN. | |
3552 | ||
aab1b22d TT |
3553 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3554 | ||
3555 | * target-delegates.c: Rebuild. | |
3556 | * target.c (update_current_target): Don't inherit or default | |
3557 | to_supports_enable_disable_tracepoint. | |
3558 | * target.h (struct target_ops) | |
3559 | <to_supports_enable_disable_tracepoint>: Use | |
3560 | TARGET_DEFAULT_RETURN. | |
3561 | ||
a7304748 TT |
3562 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3563 | ||
3564 | * target-delegates.c: Rebuild. | |
3565 | * target.c (update_current_target): Don't inherit or default | |
3566 | to_supports_multi_process. | |
3567 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
3568 | TARGET_DEFAULT_RETURN. | |
3569 | ||
4229b31d TT |
3570 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3571 | ||
3572 | * target-delegates.c: Rebuild. | |
3573 | * target.c (update_current_target): Don't inherit or default | |
3574 | to_get_ada_task_ptid. | |
3575 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
3576 | TARGET_DEFAULT_FUNC. | |
3577 | ||
43eba180 TT |
3578 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3579 | ||
3580 | * target-delegates.c: Rebuild. | |
3581 | * target.c (update_current_target): Don't inherit or default | |
3582 | to_thread_architecture. | |
3583 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
3584 | TARGET_DEFAULT_FUNC. | |
3585 | ||
fe31bf5b TT |
3586 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3587 | ||
3588 | * target-delegates.c: Rebuild. | |
3589 | * target.c (update_current_target): Don't inherit or default | |
3590 | to_execution_direction. | |
3591 | * target.h (struct target_ops) <to_execution_direction>: Use | |
3592 | TARGET_DEFAULT_FUNC. | |
3593 | ||
53e1cfc7 TT |
3594 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3595 | ||
3596 | * target-delegates.c: Rebuild. | |
3597 | * target.c (update_current_target): Don't inherit or default | |
3598 | to_can_execute_reverse. | |
3599 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
3600 | TARGET_DEFAULT_RETURN. | |
3601 | (target_can_execute_reverse): Unconditionally delegate. | |
3602 | ||
9bb9d61d TT |
3603 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3604 | ||
3605 | * target-delegates.c: Rebuild. | |
3606 | * target.c (update_current_target): Don't inherit or default | |
3607 | to_goto_bookmark. | |
3608 | (dummy_goto_bookmark): Remove. | |
3609 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
3610 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
3611 | TARGET_DEFAULT_NORETURN. | |
3612 | ||
3dbafbbb TT |
3613 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3614 | ||
3615 | * target-delegates.c: Rebuild. | |
3616 | * target.c (update_current_target): Don't inherit or default | |
3617 | to_get_bookmark. | |
3618 | (dummy_get_bookmark): Remove. | |
3619 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
3620 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
3621 | TARGET_DEFAULT_NORETURN | |
3622 | ||
16f796b1 TT |
3623 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3624 | ||
3625 | * target-delegates.c: Rebuild. | |
3626 | * target.c (update_current_target): Don't inherit or default | |
3627 | to_make_corefile_notes. | |
3628 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
3629 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
3630 | TARGET_DEFAULT_FUNC. | |
3631 | ||
0b5a2719 TT |
3632 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3633 | ||
3634 | * target-delegates.c: Rebuild. | |
3635 | * target.c (update_current_target): Don't inherit or default | |
3636 | to_find_memory_regions. | |
3637 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
3638 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
3639 | TARGET_DEFAULT_FUNC. | |
3640 | ||
d9cb0195 TT |
3641 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3642 | ||
3643 | * target-delegates.c: Rebuild. | |
3644 | * target.c (update_current_target): Don't inherit or default | |
3645 | to_log_command. | |
3646 | * target.h (struct target_ops) <to_log_command>: Use | |
3647 | TARGET_DEFAULT_IGNORE. | |
3648 | (target_log_command): Unconditionally delegate. | |
3649 | ||
830ca330 TT |
3650 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3651 | ||
3652 | * target-delegates.c: Rebuild. | |
3653 | * target.c (update_current_target): Don't inherit or default | |
3654 | to_pid_to_exec_file. | |
3655 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
3656 | TARGET_DEFAULT_RETURN. | |
3657 | ||
825828fc TT |
3658 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3659 | ||
3660 | * target-delegates.c: Rebuild. | |
3661 | * target.c (update_current_target): Don't inherit or default | |
3662 | to_thread_name. | |
3663 | (target_thread_name): Unconditionally delegate. | |
3664 | * target.h (struct target_ops) <to_thread_name>: Use | |
3665 | TARGET_DEFAULT_RETURN. | |
3666 | ||
4a7e6dda TT |
3667 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3668 | ||
3669 | * target-delegates.c: Rebuild. | |
3670 | * target.c (update_current_target): Don't inherit or default | |
3671 | to_extra_thread_info. | |
3672 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
3673 | TARGET_DEFAULT_RETURN. | |
3674 | ||
0db88c1d TT |
3675 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3676 | ||
3677 | * target-delegates.c: Rebuild. | |
3678 | * target.c (update_current_target): Don't inherit or default | |
3679 | to_has_exited. | |
3680 | * target.h (struct target_ops) <to_has_exited>: Use | |
3681 | TARGET_DEFAULT_RETURN.. | |
3682 | ||
6a9fa051 TT |
3683 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3684 | ||
3685 | * target-delegates.c: Rebuild. | |
3686 | * target.c (update_current_target): Don't inherit or default | |
3687 | to_set_syscall_catchpoint. | |
3688 | (return_one): Remove. | |
3689 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
3690 | TARGET_DEFAULT_RETURN. | |
3691 | ||
62f64d7a TT |
3692 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3693 | ||
3694 | * target-delegates.c: Rebuild. | |
3695 | * target.c (update_current_target): Don't inherit or default | |
3696 | to_insert_exec_catchpoint. | |
3697 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
3698 | TARGET_DEFAULT_RETURN. | |
3699 | ||
cda0f38c TT |
3700 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
3701 | ||
3702 | * target-delegates.c: Rebuild. | |
3703 | * target.c (update_current_target): Don't inherit or default | |
3704 | to_insert_exec_catchpoint. | |
3705 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
3706 | TARGET_DEFAULT_RETURN. | |
3707 | ||
95c3375e TT |
3708 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3709 | ||
3710 | * target-delegates.c: Rebuild. | |
3711 | * target.c (update_current_target): Don't inherit or default | |
3712 | to_remove_vfork_catchpoint. | |
3713 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
3714 | TARGET_DEFAULT_RETURN. | |
3715 | ||
7e18a8dc TT |
3716 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3717 | ||
3718 | * target-delegates.c: Rebuild. | |
3719 | * target.c (update_current_target): Don't inherit or default | |
3720 | to_insert_vfork_catchpoint. | |
3721 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
3722 | TARGET_DEFAULT_RETURN. | |
3723 | ||
e1a21fb7 TT |
3724 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3725 | ||
3726 | * target-delegates.c: Rebuild. | |
3727 | * target.c (update_current_target): Don't inherit or default | |
3728 | to_remove_fork_catchpoint. | |
3729 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
3730 | TARGET_DEFAULT_RETURN. | |
3731 | ||
5958ebeb TT |
3732 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3733 | ||
3734 | * target-delegates.c: Rebuild. | |
3735 | * target.c (update_current_target): Don't inherit or default | |
3736 | to_insert_fork_catchpoint. | |
3737 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
3738 | TARGET_DEFAULT_RETURN. | |
3739 | ||
340ba4bf TT |
3740 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3741 | ||
3742 | * target-delegates.c: Rebuild. | |
3743 | * target.c (update_current_target): Don't inherit or default | |
3744 | to_post_startup_inferior. | |
3745 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
3746 | TARGET_DEFAULT_IGNORE. | |
3747 | ||
7634da87 TT |
3748 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3749 | ||
3750 | * target-delegates.c: Rebuild. | |
3751 | * target.c (update_current_target): Don't inherit or default | |
3752 | to_load. | |
3753 | * target.h (struct target_ops) <to_load>: Use | |
3754 | TARGET_DEFAULT_NORETURN. | |
3755 | ||
e19e919f TT |
3756 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3757 | ||
3758 | * target-delegates.c: Rebuild. | |
3759 | * target.c (update_current_target): Don't inherit or default | |
3760 | to_terminal_info. | |
3761 | * target.h (struct target_ops) <to_terminal_info>: Use | |
3762 | TARGET_DEFAULT_FUNC. | |
3763 | ||
c6ea8f79 TT |
3764 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3765 | ||
3766 | * target-delegates.c: Rebuild. | |
3767 | * target.c (update_current_target): Don't inherit or default | |
3768 | to_terminal_save_ours. | |
3769 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
3770 | TARGET_DEFAULT_IGNORE. | |
3771 | ||
e4a733f1 TT |
3772 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3773 | ||
3774 | * target-delegates.c: Rebuild. | |
3775 | * target.c (update_current_target): Don't inherit or default | |
3776 | to_terminal_ours. | |
3777 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
3778 | TARGET_DEFAULT_IGNORE. | |
3779 | ||
74fcbef9 TT |
3780 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3781 | ||
3782 | * target-delegates.c: Rebuild. | |
3783 | * target.c (update_current_target): Don't inherit or default | |
3784 | to_terminal_ours_for_output. | |
3785 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
3786 | TARGET_DEFAULT_IGNORE. | |
3787 | ||
ddeaacc9 TT |
3788 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3789 | ||
3790 | * target-delegates.c: Rebuild. | |
3791 | * target.c (update_current_target): Don't inherit or default | |
3792 | to_terminal_inferior. | |
3793 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
3794 | TARGET_DEFAULT_IGNORE. | |
3795 | ||
0343661d TT |
3796 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3797 | ||
3798 | * target-delegates.c: Rebuild. | |
3799 | * target.c (update_current_target): Don't inherit or default | |
3800 | to_terminal_init. | |
3801 | * target.h (struct target_ops) <to_terminal_init>: Use | |
3802 | TARGET_DEFAULT_IGNORE. | |
3803 | ||
77cdffe9 TT |
3804 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3805 | ||
3806 | * target-delegates.c: Rebuild. | |
3807 | * target.c (update_current_target): Don't inherit or default | |
3808 | to_can_accel_watchpoint_condition. | |
3809 | * target.h (struct target_ops) | |
3810 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
3811 | ||
d03655e4 TT |
3812 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3813 | ||
3814 | * target-delegates.c: Rebuild. | |
3815 | * target.c (update_current_target): Don't inherit or default | |
3816 | to_region_ok_for_hw_watchpoint. | |
3817 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
3818 | Use TARGET_DEFAULT_FUNC. | |
3819 | ||
65f160a9 TT |
3820 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3821 | ||
3822 | * target-delegates.c: Rebuild. | |
3823 | * target.c (update_current_target): Don't inherit or default | |
3824 | to_watchpoint_addr_within_range. | |
3825 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
3826 | Use TARGET_DEFAULT_FUNC. | |
3827 | ||
61dd109f TT |
3828 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3829 | ||
3830 | * target-delegates.c: Rebuild. | |
3831 | * target.c (update_current_target): Don't inherit or default | |
3832 | to_remove_watchpoint. | |
3833 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
3834 | TARGET_DEFAULT_NORETURN. | |
3835 | ||
016facd4 TT |
3836 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3837 | ||
3838 | * target-delegates.c: Rebuild. | |
3839 | * target.c (update_current_target): Don't inherit or default | |
3840 | to_insert_watchpoint. | |
3841 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
3842 | TARGET_DEFAULT_RETURN. | |
3843 | ||
418dabac TT |
3844 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3845 | ||
3846 | * target-delegates.c: Rebuild. | |
3847 | * target.c (update_current_target): Don't inherit or default | |
3848 | to_remove_hw_breakpoint. | |
3849 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
3850 | TARGET_DEFAULT_RETURN. | |
3851 | ||
61b371f9 TT |
3852 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3853 | ||
3854 | * target-delegates.c: Rebuild. | |
3855 | * target.c (update_current_target): Don't inherit or default | |
3856 | to_insert_hw_breakpoint. | |
3857 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
3858 | TARGET_DEFAULT_RETURN. | |
3859 | ||
52b51d06 TT |
3860 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3861 | ||
3862 | * target-delegates.c: Rebuild. | |
3863 | * target.c (update_current_target): Don't inherit or default | |
3864 | to_can_use_hw_breakpoint. | |
3865 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
3866 | TARGET_DEFAULT_RETURN. | |
3867 | ||
f86e59b2 TT |
3868 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3869 | ||
3870 | * target-delegates.c: Rebuild. | |
3871 | * target.c (update_current_target): Don't inherit or default | |
3872 | to_files_info. | |
3873 | * target.h (struct target_ops) <to_files_info>: Use | |
3874 | TARGET_DEFAULT_IGNORE. | |
3875 | ||
6c628163 TT |
3876 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3877 | ||
3878 | * target-delegates.c: Rebuild. | |
3879 | * target.c (update_current_target): Don't inherit or default | |
3880 | to_store. | |
3881 | * target.h (struct target_ops) <to_store>: Use | |
3882 | TARGET_DEFAULT_NORETURN. | |
3883 | ||
bebd3233 TT |
3884 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3885 | ||
3886 | * target-delegates.c: Rebuild. | |
3887 | * target.c (update_current_target): Don't inherit or default | |
3888 | to_post_attach. | |
3889 | * target.h (struct target_ops) <to_post_attach>: Use | |
3890 | TARGET_DEFAULT_IGNORE. | |
3891 | ||
a53f3625 TT |
3892 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3893 | ||
3894 | * target-delegates.c: Rebuild. | |
3895 | * target.c (update_current_target): Don't inherit or default | |
3896 | to_rcmd. | |
3897 | (default_rcmd): New function. | |
3898 | (do_monitor_command): Unconditionally delegate. | |
3899 | * target.h (struct target_ops) <to_rmcd>: Use | |
3900 | TARGET_DEFAULT_FUNC. | |
3901 | ||
e9a29200 TT |
3902 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3903 | ||
3904 | * target-delegates.c: Rebuild. | |
3905 | * target.c (init_dummy_target): Don't initialize to_attach. | |
3906 | (target_attach): Unconditionally delegate. | |
3907 | * target.h (struct target_ops) <to_attach>: Use | |
3908 | TARGET_DEFAULT_FUNC. | |
3909 | ||
09da0d0a TT |
3910 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3911 | ||
3912 | * target-delegates.c: Rebuild. | |
3913 | * target.c (target_detach): Unconditionally delegate. | |
3914 | (init_dummy_target): Don't initialize to_detach. | |
3915 | * target.h (struct target_ops) <to_detach>: Use | |
3916 | TARGET_DEFAULT_IGNORE. | |
3917 | ||
5436ff03 TT |
3918 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3919 | ||
3920 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
3921 | Add argument. | |
3922 | (target_augmented_libraries_svr4_read): Add argument. | |
3923 | * target.c (update_current_target): Update. | |
3924 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
3925 | argument. | |
3926 | ||
f0d960ea TT |
3927 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3928 | ||
3929 | * target.h (struct target_ops) <to_call_history_range>: Add | |
3930 | argument. | |
3931 | * target.c (target_call_history_range): Add argument. | |
3932 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
3933 | argument. | |
3934 | (record_btrace_call_history_from): Update. | |
3935 | ||
ec0aea04 TT |
3936 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3937 | ||
3938 | * target.h (struct target_ops) <to_call_history_from>: Add | |
3939 | argument. | |
3940 | * target.c (target_call_history_from): Add argument. | |
3941 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
3942 | argument. | |
3943 | ||
5df2fcba TT |
3944 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3945 | ||
3946 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
3947 | * target.c (target_call_history): Add argument. | |
3948 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
3949 | argument. | |
3950 | ||
4e99c6b7 TT |
3951 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3952 | ||
3953 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
3954 | argument. | |
3955 | * target.c (target_insn_history_range): Add argument. | |
3956 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
3957 | argument. | |
3958 | (record_btrace_insn_history_from): Update. | |
3959 | ||
9abc3ff3 TT |
3960 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3961 | ||
3962 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
3963 | argument. | |
3964 | * target.c (target_insn_history_from): Add argument. | |
3965 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
3966 | argument. | |
3967 | ||
7a6c5609 TT |
3968 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3969 | ||
3970 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
3971 | * target.c (target_insn_history): Add argument. | |
3972 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
3973 | argument. | |
3974 | ||
606183ac TT |
3975 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3976 | ||
3977 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
3978 | * target.c (target_goto_record): Add argument. | |
3979 | * record-full.c (record_full_goto): Add 'self' argument. | |
3980 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
3981 | ||
307a1b91 TT |
3982 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3983 | ||
3984 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
3985 | * target.c (target_goto_record_end): Add argument. | |
3986 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
3987 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
3988 | ||
08475817 TT |
3989 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3990 | ||
3991 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
3992 | argument. | |
3993 | * target.c (target_goto_record_begin): Add argument. | |
3994 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
3995 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
3996 | argument. | |
3997 | ||
1c63c994 TT |
3998 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
3999 | ||
4000 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
4001 | argument. | |
4002 | * target.c (target_record_is_replaying): Add argument. | |
4003 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
4004 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
4005 | argument. | |
4006 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
4007 | (record_btrace_prepare_to_store, record_btrace_resume) | |
4008 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
4009 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
4010 | Update. | |
4011 | ||
d1b55219 TT |
4012 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4013 | ||
4014 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
4015 | * target.c (target_delete_record): Add argument. | |
4016 | * record-full.c (record_full_delete): Add 'self' argument. | |
4017 | ||
1390f529 TT |
4018 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4019 | ||
4020 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
4021 | * target.c (target_save_record): Add argument. | |
4022 | * record-full.c (record_full_save): Add 'self' argument. | |
4023 | (record_full_save): Add 'self' argument. | |
4024 | ||
630d6a4a TT |
4025 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4026 | ||
4027 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
4028 | * target.c (target_info_record): Add argument. | |
4029 | * record.c (info_record_command): Add argument. | |
4030 | * record-full.c (record_full_info): Add 'self' argument. | |
4031 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
4032 | ||
c6cd7c02 TT |
4033 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4034 | ||
4035 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
4036 | * target.c (target_stop_recording): Add argument. | |
4037 | * record.c (record_stop): Add argument. | |
4038 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
4039 | argument. | |
4040 | ||
39c49f83 TT |
4041 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4042 | ||
4043 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
4044 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
4045 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
4046 | argument. | |
4047 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
4048 | (_initialize_amd64_linux_nat): Use it. | |
4049 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
4050 | (_initialize_i386_linux_nat): Use it. | |
4051 | ||
1777056d TT |
4052 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4053 | ||
4054 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
4055 | * target.c (target_teardown_btrace): Add argument. | |
4056 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
4057 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
4058 | argument. | |
4059 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
4060 | argument. | |
4061 | ||
25e95349 TT |
4062 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4063 | ||
4064 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
4065 | * target.c (target_disable_btrace): Add argument. | |
4066 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
4067 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
4068 | argument. | |
4069 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
4070 | argument. | |
4071 | ||
e3c49f88 TT |
4072 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4073 | ||
4074 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
4075 | * target.c (target_enable_btrace): Add argument. | |
4076 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
4077 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
4078 | argument. | |
4079 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
4080 | argument. | |
4081 | ||
fe38f897 TT |
4082 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4083 | ||
4084 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
4085 | (target_can_use_agent): Add argument. | |
4086 | * target.c (update_current_target): Update. | |
4087 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
4088 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
4089 | ||
2c152180 TT |
4090 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4091 | ||
4092 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
4093 | (target_use_agent): Add argument. | |
4094 | * target.c (update_current_target): Update. | |
4095 | * remote.c (remote_use_agent): Add 'self' argument. | |
4096 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
4097 | ||
a893e81f TT |
4098 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4099 | ||
4100 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
4101 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
4102 | (target_traceframe_info): Add argument. | |
4103 | * target.c (update_current_target): Update. | |
4104 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
4105 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
4106 | ||
c686c57f TT |
4107 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4108 | ||
4109 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
4110 | argument. | |
4111 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
4112 | 'self' argument. | |
4113 | * target.c (update_current_target): Update. | |
4114 | * remote.c (struct target_ops) | |
4115 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
4116 | * linux-nat.c (struct target_ops) | |
4117 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
4118 | ||
61fc905d TT |
4119 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4120 | ||
4121 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
4122 | Add argument. | |
4123 | (target_static_tracepoint_marker_at): Add argument. | |
4124 | * target.c (update_current_target): Update. | |
4125 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
4126 | argument. | |
4127 | ||
c378d69d TT |
4128 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4129 | ||
4130 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
4131 | (target_set_permissions): Add argument. | |
4132 | * target.c (update_current_target): Update. | |
4133 | * remote.c (remote_set_permissions): Add 'self' argument. | |
4134 | (remote_start_remote): Update. | |
4135 | ||
bd7ae0f5 TT |
4136 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4137 | ||
4138 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
4139 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
4140 | (target_get_tib_address): Add argument. | |
4141 | * target.c (update_current_target): Update. | |
4142 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
4143 | ||
d9e68a2c TT |
4144 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4145 | ||
4146 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
4147 | (target_set_trace_notes): Add argument. | |
4148 | * target.c (update_current_target): Update. | |
4149 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
4150 | ||
4da384be TT |
4151 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4152 | ||
4153 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
4154 | argument. | |
4155 | (target_set_trace_buffer_size): Add argument. | |
4156 | * target.c (update_current_target): Update. | |
4157 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
4158 | ||
736d5b1f TT |
4159 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4160 | ||
4161 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
4162 | argument. | |
4163 | (target_set_circular_trace_buffer): Add argument. | |
4164 | * target.c (update_current_target): Update. | |
4165 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
4166 | argument. | |
4167 | ||
37b25738 TT |
4168 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4169 | ||
4170 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
4171 | argument. | |
4172 | (target_set_disconnected_tracing): Add argument. | |
4173 | * target.c (update_current_target): Update. | |
4174 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
4175 | ||
0e67620a TT |
4176 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4177 | ||
4178 | * target.h (struct target_ops) | |
4179 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
4180 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
4181 | * target.c (update_current_target): Update. | |
4182 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
4183 | argument. | |
4184 | ||
88ee6f45 TT |
4185 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4186 | ||
4187 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
4188 | argument. | |
4189 | (target_get_raw_trace_data): Add argument. | |
4190 | * target.c (update_current_target): Update. | |
4191 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
4192 | ||
181e3713 TT |
4193 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4194 | ||
4195 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
4196 | Add argument. | |
4197 | (target_upload_trace_state_variables): Add argument. | |
4198 | * target.c (update_current_target): Update. | |
4199 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
4200 | argument. | |
4201 | (remote_start_remote): Update. | |
4202 | ||
ab6617cc TT |
4203 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4204 | ||
4205 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
4206 | argument. | |
4207 | (target_upload_tracepoints): Add argument. | |
4208 | * target.c (update_current_target): Update. | |
4209 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
4210 | (remote_start_remote): Update. | |
4211 | ||
dc3decaf TT |
4212 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4213 | ||
4214 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
4215 | (target_save_trace_data): Add argument. | |
4216 | * target.c (update_current_target): Update. | |
4217 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
4218 | ||
4011015b TT |
4219 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4220 | ||
4221 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
4222 | argument. | |
4223 | * target.h (struct target_ops) | |
4224 | <to_get_trace_state_variable_value>: Add argument. | |
4225 | (target_get_trace_state_variable_value): Add argument. | |
4226 | * target.c (update_current_target): Update. | |
4227 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
4228 | argument. | |
4229 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
4230 | ||
bd4c6793 TT |
4231 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4232 | ||
4233 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
4234 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
4235 | (target_trace_find): Add argument. | |
4236 | * target.c (update_current_target): Update. | |
4237 | * remote.c (remote_trace_find): Add 'self' argument. | |
4238 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
4239 | ||
74499f1b TT |
4240 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4241 | ||
4242 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
4243 | (target_trace_stop): Add argument. | |
4244 | * target.c (update_current_target): Update. | |
4245 | * remote.c (remote_trace_stop): Add 'self' argument. | |
4246 | ||
db90e85c TT |
4247 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4248 | ||
4249 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
4250 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
4251 | argument. | |
4252 | (target_get_tracepoint_status): Add argument. | |
4253 | * target.c (update_current_target): Update. | |
4254 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
4255 | ||
8bd200f1 TT |
4256 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4257 | ||
4258 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
4259 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
4260 | argument. | |
4261 | (target_get_trace_status): Add argument. | |
4262 | * target.c (update_current_target): Update. | |
4263 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
4264 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
4265 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
4266 | ||
e2d1aae3 TT |
4267 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4268 | ||
4269 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
4270 | (target_trace_start): Add argument. | |
4271 | * target.c (update_current_target): Update. | |
4272 | * remote.c (remote_trace_start): Add 'self' argument. | |
4273 | ||
583f9a86 TT |
4274 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4275 | ||
4276 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
4277 | Add argument. | |
4278 | (target_trace_set_readonly_regions): Add argument. | |
4279 | * target.c (update_current_target): Update. | |
4280 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
4281 | argument. | |
4282 | ||
780b049c TT |
4283 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4284 | ||
4285 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
4286 | argument. | |
4287 | (target_disable_tracepoint): Add argument. | |
4288 | * target.c (update_current_target): Update. | |
4289 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
4290 | ||
46670d57 TT |
4291 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4292 | ||
4293 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
4294 | argument. | |
4295 | (target_enable_tracepoint): Add argument. | |
4296 | * target.c (update_current_target): Update. | |
4297 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
4298 | ||
559d2b81 TT |
4299 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4300 | ||
4301 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
4302 | Add argument. | |
4303 | (target_download_trace_state_variable): Add argument. | |
4304 | * target.c (update_current_target): Update. | |
4305 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
4306 | argument. | |
4307 | ||
a52a8357 TT |
4308 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4309 | ||
4310 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
4311 | argument. | |
4312 | (target_can_download_tracepoint): Add argument. | |
4313 | * target.c (update_current_target): Update. | |
4314 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
4315 | ||
548f7808 TT |
4316 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4317 | ||
4318 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
4319 | argument. | |
4320 | (target_download_tracepoint): Add argument. | |
4321 | * target.c (update_current_target): Update. | |
4322 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
4323 | ||
ecae04e1 TT |
4324 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4325 | ||
4326 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
4327 | (target_trace_init): Add argument. | |
4328 | * target.c (update_current_target): Update. | |
4329 | * remote.c (remote_trace_init): Add 'self' argument. | |
4330 | ||
fab5aa7c TT |
4331 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4332 | ||
4333 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
4334 | * target.c (target_fileio_readlink): Add argument. | |
4335 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
4336 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
4337 | ||
dbbca37d TT |
4338 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4339 | ||
4340 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
4341 | * target.c (target_fileio_unlink): Add argument. | |
4342 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
4343 | (remote_file_delete): Update. | |
4344 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
4345 | ||
df39ea25 TT |
4346 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4347 | ||
4348 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
4349 | * target.c (target_fileio_close): Add argument. | |
4350 | * remote.c (remote_hostio_close): Add 'self' argument. | |
4351 | (remote_hostio_close_cleanup): Update. | |
4352 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
4353 | Update. | |
4354 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
4355 | ||
a3be983c TT |
4356 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4357 | ||
4358 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
4359 | * target.c (target_fileio_pread): Add argument. | |
4360 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
4361 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
4362 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
4363 | ||
0d866f62 TT |
4364 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4365 | ||
4366 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
4367 | * target.c (target_fileio_pwrite): Add argument. | |
4368 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
4369 | (remote_file_put): Update. | |
4370 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
4371 | ||
cd897586 TT |
4372 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4373 | ||
4374 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
4375 | * target.c (target_fileio_open): Add argument. | |
4376 | * remote.c (remote_hostio_open): Add 'self' argument. | |
4377 | (remote_bfd_iovec_open): Add 'self' argument. | |
4378 | (remote_file_put): Add 'self' argument. | |
4379 | (remote_file_get): Add 'self' argument. | |
4380 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
4381 | ||
78eff0ec TT |
4382 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4383 | ||
4384 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
4385 | Add argument. | |
4386 | (target_can_run_breakpoint_commands): Add argument. | |
4387 | * target.c (update_current_target): Update. | |
4388 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
4389 | argument. | |
4390 | (remote_insert_breakpoint): Add 'self' argument. | |
4391 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
4392 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
4393 | ||
efcc2da7 TT |
4394 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4395 | ||
4396 | * target.h (struct target_ops) | |
4397 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
4398 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
4399 | argument. | |
4400 | * target.c (update_current_target): Update. | |
4401 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
4402 | argument. | |
4403 | (remote_insert_breakpoint): Add 'self' argument. | |
4404 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
4405 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
4406 | ||
6de37a3a TT |
4407 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4408 | ||
4409 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
4410 | argument. | |
4411 | (target_supports_string_tracing): Add argument. | |
4412 | * target.c (update_current_target): Update. | |
4413 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
4414 | ||
2bfc0540 TT |
4415 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4416 | ||
4417 | * target.h (struct target_ops) | |
4418 | <to_supports_disable_randomization>: Add argument. | |
4419 | * target.c (find_default_supports_disable_randomization): Add | |
4420 | argument. | |
4421 | (target_supports_disable_randomization): Add argument. | |
4422 | (find_default_supports_disable_randomization): Add 'self' | |
4423 | argument. | |
4424 | * remote.c (extended_remote_supports_disable_randomization): Add | |
4425 | 'self' argument. | |
4426 | (remote_supports_disable_randomization): Add 'self' argument. | |
4427 | (extended_remote_create_inferior): Update. | |
4428 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
4429 | 'self' argument. | |
4430 | ||
7d178d6a TT |
4431 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4432 | ||
4433 | * target.h (struct target_ops) | |
4434 | <to_supports_enable_disable_tracepoint>: Add argument. | |
4435 | (target_supports_enable_disable_tracepoint): Add argument. | |
4436 | * target.c (update_current_target): Update. | |
4437 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
4438 | argument. | |
4439 | ||
86ce2668 TT |
4440 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4441 | ||
4442 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
4443 | argument. | |
4444 | (target_supports_multi_process): Add argument. | |
4445 | * target.c (update_current_target): Update. | |
4446 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
4447 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
4448 | argument. | |
4449 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
4450 | argument. | |
4451 | ||
4c612759 TT |
4452 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4453 | ||
4454 | * target.h (struct target_ops) <to_execution_direction>: Add | |
4455 | argument. | |
4456 | (target_execution_direction): Add argument. | |
4457 | * target.c (default_execution_direction): Add 'self' argument. | |
4458 | * record-full.c (record_full_execution_direction): Add 'self' | |
4459 | argument. | |
4460 | ||
19db3e69 TT |
4461 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4462 | ||
4463 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
4464 | argument. | |
4465 | (target_can_execute_reverse): Add argument. | |
4466 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
4467 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
4468 | argument. | |
4469 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
4470 | argument. | |
4471 | ||
1e6b91a4 TT |
4472 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4473 | ||
4474 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
4475 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
4476 | argument. | |
4477 | (target_get_ada_task_ptid): Add argument. | |
4478 | * target.c (update_current_target): Update. | |
4479 | (default_get_ada_task_ptid): Add 'self' argument. | |
4480 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
4481 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
4482 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
4483 | argument. | |
4484 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
4485 | argument. | |
4486 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
4487 | argument. | |
4488 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
4489 | argument. | |
4490 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
4491 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
4492 | argument. | |
4493 | ||
3c80fb48 TT |
4494 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4495 | ||
4496 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
4497 | (target_goto_bookmark): Add argument. | |
4498 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
4499 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
4500 | ||
dd0e2830 TT |
4501 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4502 | ||
4503 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
4504 | (target_get_bookmark): Add argument. | |
4505 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
4506 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
4507 | ||
fc6691b2 TT |
4508 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4509 | ||
4510 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
4511 | argument. | |
4512 | (target_make_corefile_notes): Add argument. | |
4513 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
4514 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
4515 | (procfs_make_note_section): Add 'self' argument. | |
4516 | (procfs_make_note_section): Add 'self' argument. | |
4517 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
4518 | argument. | |
4519 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
4520 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
4521 | * exec.c (exec_make_note_section): Add 'self' argument. | |
4522 | (exec_make_note_section): Add 'self' argument. | |
4523 | ||
2e73927c TT |
4524 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4525 | ||
4526 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
4527 | argument. | |
4528 | (target_find_memory_regions): Add argument. | |
4529 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
4530 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
4531 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
4532 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
4533 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
4534 | * exec. (exec_do_find_memory_regions): New global. | |
4535 | (exec_set_find_memory_regions): Rewrite. | |
4536 | (exec_find_memory_regions): New function. | |
4537 | (init_exec_ops): Use exec_find_memory_regions. | |
4538 | ||
2a9a2795 TT |
4539 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4540 | ||
4541 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
4542 | argument. | |
4543 | * target.c (find_default_supports_non_stop): Add argument. | |
4544 | (target_supports_non_stop): Add argument. | |
4545 | (find_default_supports_non_stop): Add 'self' argument. | |
4546 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
4547 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
4548 | ||
4ab76ea3 TT |
4549 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4550 | ||
4551 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
4552 | (target_log_command): Add argument. | |
4553 | * serial.h (serial_log_command): Add 'self' argument. | |
4554 | * serial.c (serial_log_command): Add 'self' argument. | |
4555 | ||
8dd27370 TT |
4556 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4557 | ||
4558 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
4559 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
4560 | argument. | |
4561 | (target_pid_to_exec_file): Add argument. | |
4562 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
4563 | (update_current_target): Update. | |
4564 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
4565 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
4566 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
4567 | (linux_handle_extended_wait): Update. | |
4568 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
4569 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
4570 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
4571 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
4572 | ||
1aac633b TT |
4573 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4574 | ||
4575 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
4576 | (target_rcmd): Add argument. | |
4577 | * target.c (debug_to_rcmd): Add argument. | |
4578 | (update_current_target, do_monitor_command): Update. | |
4579 | * remote.c (remote_rcmd): Add 'self' argument. | |
4580 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
4581 | ||
1eab8a48 TT |
4582 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4583 | ||
4584 | * windows-nat.c (windows_stop): Add 'self' argument. | |
4585 | * target.h (struct target_ops) <to_stop>: Add argument. | |
4586 | * target.c (target_stop): Add argument. | |
4587 | (debug_to_stop): Add argument. | |
4588 | (update_current_target): Update. | |
4589 | * remote.c (remote_stop): Add 'self' argument. | |
4590 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
4591 | (gdbsim_cntrl_c): Update. | |
4592 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
4593 | * procfs.c (procfs_stop): Add 'self' argument. | |
4594 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
4595 | * monitor.c (monitor_stop): Add 'self' argument. | |
4596 | (monitor_open): Update. | |
4597 | * linux-nat.c (linux_nat_stop): Add argument. | |
4598 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
4599 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
4600 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
4601 | ||
503a628d TT |
4602 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4603 | ||
4604 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
4605 | * target.c (target_thread_name): Add argument. | |
4606 | (update_current_target): Update. | |
4607 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
4608 | ||
c15906d8 TT |
4609 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4610 | ||
4611 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
4612 | argument. | |
4613 | (target_extra_thread_info): Add argument. | |
4614 | * target.c (update_current_target): Update. | |
4615 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
4616 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
4617 | argument. | |
4618 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
4619 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
4620 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
4621 | argument. | |
4622 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
4623 | argument. | |
4624 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
4625 | argument. | |
4626 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
4627 | argument. | |
4628 | ||
daf5e9b6 TT |
4629 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4630 | ||
4631 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
4632 | * target.c (target_program_signals): Add argument. | |
4633 | * remote.c (remote_program_signals): Add 'self' argument. | |
4634 | ||
94bedb42 TT |
4635 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4636 | ||
4637 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
4638 | * target.c (target_pass_signals): Add argument. | |
4639 | * remote.c (remote_pass_signals): Add 'self' argument. | |
4640 | (remote_start_remote): Update. | |
4641 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
4642 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
4643 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
4644 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
4645 | ||
da82bd6b TT |
4646 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4647 | ||
4648 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
4649 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
4650 | (target_can_run): Add argument. | |
4651 | * target.c (debug_to_can_run): Add argument. | |
4652 | (update_current_target): Update. | |
4653 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
4654 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
4655 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
4656 | ||
d796e1d6 TT |
4657 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4658 | ||
4659 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
4660 | (target_has_exited): Add argument. | |
4661 | * target.c (debug_to_has_exited): Add argument. | |
4662 | (update_current_target): Update. | |
4663 | ||
ff214e67 TT |
4664 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4665 | ||
4666 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
4667 | argument. | |
4668 | (target_set_syscall_catchpoint): Add argument. | |
4669 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
4670 | argument. | |
4671 | * target.c (update_current_target): Update. | |
4672 | ||
758e29d2 TT |
4673 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4674 | ||
4675 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
4676 | argument. | |
4677 | (target_remove_exec_catchpoint): Add argument. | |
4678 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
4679 | (update_current_target): Update. | |
4680 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
4681 | argument. | |
4682 | ||
ba025e51 TT |
4683 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4684 | ||
4685 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
4686 | argument. | |
4687 | (target_insert_exec_catchpoint): Add argument. | |
4688 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
4689 | (update_current_target): Update. | |
4690 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
4691 | argument. | |
4692 | ||
e98cf0cd TT |
4693 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4694 | ||
4695 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
4696 | argument. | |
4697 | (target_remove_vfork_catchpoint): Add argument. | |
4698 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
4699 | (update_current_target): Update. | |
4700 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
4701 | argument. | |
4702 | ||
3ecc7da0 TT |
4703 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4704 | ||
4705 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
4706 | argument. | |
4707 | (target_insert_vfork_catchpoint): Add argument. | |
4708 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
4709 | (update_current_target): Update. | |
4710 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
4711 | argument. | |
4712 | ||
973fc227 TT |
4713 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4714 | ||
4715 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
4716 | argument. | |
4717 | (target_remove_fork_catchpoint): Add argument. | |
4718 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
4719 | (update_current_target): Update. | |
4720 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
4721 | argument. | |
4722 | ||
a863b201 TT |
4723 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4724 | ||
4725 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
4726 | argument. | |
4727 | (target_insert_fork_catchpoint): Add argument. | |
4728 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
4729 | (update_current_target): Update. | |
4730 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
4731 | argument. | |
4732 | ||
2e97a79e TT |
4733 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4734 | ||
4735 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
4736 | argument. | |
4737 | (target_post_startup_inferior): Add argument. | |
4738 | * target.c (debug_to_post_startup_inferior): Add argument. | |
4739 | (update_current_target): Update. | |
4740 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
4741 | argument. | |
4742 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
4743 | argument. | |
4744 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
4745 | argument. | |
4746 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
4747 | argument. | |
4748 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
4749 | 'self' argument. | |
4750 | (super_post_startup_inferior): Likewise. | |
4751 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
4752 | 'self' argument. | |
4753 | (super_post_startup_inferior): Likewise. | |
4754 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
4755 | Add 'self' argument. | |
4756 | (super_post_startup_inferior): Likewise. | |
4757 | ||
71a9f134 TT |
4758 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4759 | ||
4760 | * target.h (struct target_ops) <to_load>: Add argument. | |
4761 | * target.c (target_load): Add argument. | |
4762 | (debug_to_load): Add argument. | |
4763 | (update_current_target): Update. | |
4764 | * remote.c (remote_load): Add 'self' argument. | |
4765 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
4766 | * remote-mips.c (mips_load): Add 'self' argument. | |
4767 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
4768 | * monitor.c (monitor_load): Add 'self' argument. | |
4769 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
4770 | ||
0a4f40a2 TT |
4771 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4772 | ||
4773 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
4774 | (target_terminal_info): Add argument. | |
4775 | * target.c (debug_to_terminal_info): Add argument. | |
4776 | (default_terminal_info): Likewise. | |
4777 | * inflow.c (child_terminal_info): Add 'self' argument. | |
4778 | * inferior.h (child_terminal_info): Add 'self' argument. | |
4779 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
4780 | ||
ae3bd431 TT |
4781 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4782 | ||
4783 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
4784 | argument. | |
4785 | (target_terminal_save_ours): Add argument. | |
4786 | * target.c (debug_to_terminal_save_ours): Add argument. | |
4787 | (update_current_target): Update. | |
4788 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
4789 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
4790 | ||
e3594fd1 TT |
4791 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4792 | ||
4793 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
4794 | (target_terminal_ours): Add argument. | |
4795 | * target.c (debug_to_terminal_ours): Add argument. | |
4796 | (update_current_target): Update. | |
4797 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
4798 | (remote_close): Update. | |
4799 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
4800 | * inflow.c (terminal_ours): Add 'self' argument. | |
4801 | * inferior.h (terminal_ours): Add 'self' argument. | |
4802 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
4803 | ||
2e1e1a19 TT |
4804 | 2014-02-19 Pedro Alves <palves@redhat.com> |
4805 | Tom Tromey <tromey@redhat.com> | |
4806 | ||
4807 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
4808 | argument. | |
4809 | (target_terminal_ours_for_output): Add argument. | |
4810 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
4811 | (update_current_target): Update. | |
4812 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
4813 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
4814 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
4815 | ||
d2f640d4 TT |
4816 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4817 | ||
4818 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
4819 | argument. | |
4820 | * target.c (target_terminal_inferior): Add argument. | |
4821 | (update_current_target): Update. | |
4822 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
4823 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
4824 | * inflow.c (terminal_inferior): Add 'self' argument. | |
4825 | * inferior.h (terminal_inferior): Add 'self' argument. | |
4826 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
4827 | (go32_terminal_inferior): Add 'self' argument. | |
4828 | ||
c42bf286 TT |
4829 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4830 | ||
4831 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
4832 | (target_terminal_init): Add argument. | |
4833 | * target.c (debug_to_terminal_init): Add argument. | |
4834 | (update_current_target): Update. | |
4835 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
4836 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
4837 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
4838 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
4839 | ||
c3a5ff89 TT |
4840 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4841 | ||
4842 | * target.h (struct target_ops) | |
4843 | <to_can_accel_watchpoint_condition>: Add argument. | |
4844 | (target_can_accel_watchpoint_condition): Add argument. | |
4845 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
4846 | argument. | |
4847 | (update_current_target): Update. | |
4848 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
4849 | 'self' argument. | |
4850 | ||
31568a15 TT |
4851 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4852 | ||
4853 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
4854 | Add argument. | |
4855 | (target_region_ok_for_hw_watchpoint): Add argument. | |
4856 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
4857 | (default_region_ok_for_hw_watchpoint): Add argument. | |
4858 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
4859 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
4860 | argument. | |
4861 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
4862 | argument. | |
4863 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
4864 | argument. | |
4865 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
4866 | 'self' argument. | |
4867 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
4868 | 'self' argument. | |
4869 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
4870 | 'self' argument. | |
4871 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
4872 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
4873 | 'self' argument. | |
4874 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
4875 | Add 'self' argument. | |
4876 | ||
7bb99c53 TT |
4877 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4878 | ||
4879 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
4880 | argument. | |
4881 | (target_insert_watchpoint): Add argument. | |
4882 | * target.c (debug_to_insert_watchpoint): Add argument. | |
4883 | (update_current_target): Update. | |
4884 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
4885 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
4886 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
4887 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
4888 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
4889 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
4890 | argument. | |
4891 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
4892 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
4893 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
4894 | argument. | |
4895 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
4896 | argument. | |
4897 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
4898 | argument. | |
4899 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
4900 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
4901 | argument. | |
4902 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
4903 | 'self' argument. | |
4904 | ||
11b5219a TT |
4905 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4906 | ||
4907 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
4908 | argument. | |
4909 | (target_remove_watchpoint): Add argument. | |
4910 | * target.c (debug_to_remove_watchpoint): Add argument. | |
4911 | (update_current_target): Update. | |
4912 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
4913 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
4914 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
4915 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
4916 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
4917 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
4918 | argument. | |
4919 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
4920 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
4921 | argument. | |
4922 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
4923 | argument. | |
4924 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
4925 | argument. | |
4926 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
4927 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
4928 | argument. | |
4929 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
4930 | 'self' argument. | |
4931 | ||
a64dc96c TT |
4932 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4933 | ||
4934 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
4935 | argument. | |
4936 | (target_remove_hw_breakpoint): Add argument. | |
4937 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
4938 | (update_current_target): Update. | |
4939 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
4940 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
4941 | argument. | |
4942 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
4943 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
4944 | argument. | |
4945 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
4946 | 'self' argument. | |
4947 | ||
23a26771 TT |
4948 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4949 | ||
4950 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
4951 | argument. | |
4952 | (target_insert_hw_breakpoint): Add argument. | |
4953 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
4954 | (update_current_target): Update. | |
4955 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
4956 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
4957 | argument. | |
4958 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
4959 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
4960 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
4961 | argument. | |
4962 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
4963 | 'self' argument. | |
4964 | ||
5461485a TT |
4965 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
4966 | ||
4967 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
4968 | argument. | |
4969 | (target_can_use_hardware_watchpoint): Add argument. | |
4970 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
4971 | (update_current_target): Update. | |
4972 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
4973 | argument. | |
4974 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
4975 | argument. | |
4976 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
4977 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
4978 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
4979 | argument. | |
4980 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
4981 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
4982 | argument. | |
4983 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
4984 | argument. | |
4985 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
4986 | argument. | |
4987 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
4988 | argument. | |
4989 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
4990 | argument. | |
4991 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
4992 | argument. | |
4993 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
4994 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
4995 | argument. | |
4996 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
4997 | 'self' argument. | |
4998 | ||
f045800c TT |
4999 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5000 | ||
5001 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
5002 | (target_post_attach): Add argument. | |
5003 | * target.c (debug_to_post_attach): Add argument. | |
5004 | (update_current_target): Update. | |
5005 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
5006 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
5007 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
5008 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
5009 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
5010 | ||
de90e03d TT |
5011 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5012 | ||
5013 | * windows-nat.c (windows_close): Add 'self' argument. | |
5014 | * tracepoint.c (tfile_close): Add 'self' argument. | |
5015 | * target.h (struct target_ops) <to_close>: Add argument. | |
5016 | * target.c (target_close): Add argument. | |
5017 | (update_current_target): Update. | |
5018 | * remote.c (remote_close): Add 'self' argument. | |
5019 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
5020 | * remote-mips.c (mips_close): Add 'self' argument. | |
5021 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
5022 | * record-full.c (record_full_close): Add 'self' argument. | |
5023 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
5024 | * monitor.h (monitor_close): Add 'self' argument. | |
5025 | * monitor.c (monitor_close): Add 'self' argument. | |
5026 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
5027 | * linux-nat.c (linux_nat_close): Add argument. | |
5028 | * go32-nat.c (go32_close): Add 'self' argument. | |
5029 | * exec.c (exec_close_1): Add 'self' argument. | |
5030 | * ctf.c (ctf_close): Add 'self' argument. | |
5031 | * corelow.c (core_close): Add 'self' argument. | |
5032 | (core_close_cleanup): Update. | |
5033 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
5034 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
5035 | ||
9dd130a0 TT |
5036 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5037 | ||
5038 | * remote.c (remote_load): New function. | |
5039 | (init_remote_ops): Use it. | |
5040 | ||
46917d26 TT |
5041 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5042 | ||
5043 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
5044 | argument. | |
5045 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
5046 | * remote.c (remote_supports_btrace): Add "self" argument. | |
5047 | * target-delegates.c: Rebuild. | |
5048 | * target.c (target_supports_btrace): Remove. | |
5049 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
5050 | target_ops argument. | |
5051 | (target_supports_btrace): New define. | |
5052 | ||
6b84065d TT |
5053 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5054 | ||
5055 | * record-full.c (record_full_beneath_to_resume_ops) | |
5056 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
5057 | (record_full_beneath_to_wait) | |
5058 | (record_full_beneath_to_store_registers_ops) | |
5059 | (record_full_beneath_to_store_registers) | |
5060 | (record_full_beneath_to_xfer_partial_ops) | |
5061 | (record_full_beneath_to_xfer_partial) | |
5062 | (record_full_beneath_to_insert_breakpoint_ops) | |
5063 | (record_full_beneath_to_insert_breakpoint) | |
5064 | (record_full_beneath_to_remove_breakpoint_ops) | |
5065 | (record_full_beneath_to_remove_breakpoint) | |
5066 | (record_full_beneath_to_stopped_by_watchpoint) | |
5067 | (record_full_beneath_to_stopped_data_address) | |
5068 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
5069 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
5070 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
5071 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
5072 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
5073 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
5074 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
5075 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
5076 | (record_full_resume, record_full_wait_1) | |
5077 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
5078 | (record_full_store_registers, record_full_xfer_partial) | |
5079 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
5080 | (record_full_async, record_full_core_xfer_partial): Use target | |
5081 | delegation. | |
5082 | * target-delegates.c: Rebuild. | |
5083 | * target.c (current_xfer_partial): Remove. | |
5084 | (update_current_target): Do not INHERIT or de_fault | |
5085 | to_insert_breakpoint, to_remove_breakpoint, | |
5086 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
5087 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
5088 | (default_xfer_partial): Simplify. | |
5089 | (current_xfer_partial): Remove. | |
5090 | (target_wait, target_resume): Simplify. | |
5091 | (find_default_can_async_p, find_default_is_async_p): Update. | |
5092 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
5093 | to_xfer_partial, to_stopped_by_watchpoint, | |
5094 | to_stopped_data_address. | |
5095 | (target_store_registers): Simplify. | |
5096 | (forward_target_remove_breakpoint) | |
5097 | (forward_target_insert_breakpoint): Remove. | |
5098 | (target_remove_breakpoint, target_insert_breakpoint) | |
5099 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
5100 | * target.h (struct target_ops) <to_resume, to_wait, | |
5101 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
5102 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
5103 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
5104 | markup. | |
5105 | (forward_target_remove_breakpoint) | |
5106 | (forward_target_insert_breakpoint): Remove. | |
5107 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
5108 | directly. | |
5109 | (record_btrace_insert_breakpoint): Delegate directly. | |
5110 | ||
1101cb7b TT |
5111 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5112 | ||
5113 | PR build/7701: | |
5114 | * target-delegates.c: New file. | |
5115 | * target.c: Include target-delegates.c. | |
5116 | (init_dummy_target): Call install_dummy_methods. | |
5117 | (complete_target_initialization): Call install_delegators. | |
5118 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
5119 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
5120 | * make-target-delegates: New file. | |
5121 | ||
8b06beed TT |
5122 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5123 | ||
5124 | * record.c (find_record_target): Use find_target_at. | |
5125 | * target.c (find_target_at): New function. | |
5126 | * target.h (find_target_at): Declare. | |
5127 | ||
6a109b6b TT |
5128 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
5129 | ||
5130 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
5131 | Add 'ops' argument. | |
5132 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
5133 | 'ops' argument. | |
5134 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
5135 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
5136 | 'ops' argument. | |
5137 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
5138 | argument. | |
5139 | * linux-nat.c (save_sigtrap): Update. | |
5140 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
5141 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
5142 | (linux_nat_close): Update. | |
5143 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
5144 | argument. | |
5145 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
5146 | argument. | |
5147 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
5148 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
5149 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
5150 | (tmp_to_async): Add 'ops' argument. | |
5151 | (record_full_stopped_by_watchpoint, record_full_async) | |
5152 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
5153 | argument. | |
5154 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
5155 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
5156 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
5157 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
5158 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
5159 | (remote_stopped_data_address): Update. | |
5160 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
5161 | * target.c (update_current_target) | |
5162 | (find_default_can_async_p, find_default_is_async_p): Update. | |
5163 | (init_dummy_target): Update. | |
5164 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
5165 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
5166 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
5167 | (target_can_async_p, target_is_async_p, target_async) | |
5168 | (target_stopped_by_watchpoint): Update. | |
5169 | ||
e095146b YQ |
5170 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
5171 | ||
5172 | PR gdb/16220 | |
5173 | * gdbarch.sh: Remove startup_gdbarch. | |
5174 | * gdbarch.c: Regenerated. | |
5175 | * gdbarch.h: Likewise. | |
5176 | ||
bc3c6b36 KB |
5177 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
5178 | ||
5179 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
5180 | (rl78_return_value): Add g10 support. | |
5181 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
5182 | g10. | |
5183 | ||
98dc0167 | 5184 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
5185 | |
5186 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
5187 | (SUBDIR_GUILE_SRCS): Ditto. | |
5188 | (scm-gsmob.o): Ditto. | |
5189 | ||
842c05cd YQ |
5190 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
5191 | ||
5192 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
5193 | ||
25c0bd04 YQ |
5194 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
5195 | ||
5196 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
5197 | mach_msg_type_number_t. | |
5198 | (gnu_write_inferior): Likewise. | |
5199 | ||
a9a758e3 YQ |
5200 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
5201 | ||
5202 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
5203 | in format string. | |
5204 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
5205 | (inf_validate_procs, inf_signal): Likewise. | |
5206 | (S_exception_raise_request): Likewise. | |
5207 | (do_mach_notify_dead_name): Likewise. | |
5208 | (steal_exc_port): Likewise. | |
5209 | (gnu_read_inferior): Change 'copy_count''s type to | |
5210 | mach_msg_type_number_t. | |
5211 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
5212 | format string. | |
5213 | ||
bae8023e TS |
5214 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
5215 | ||
c82f56d9 TS |
5216 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
5217 | flag. Adjust all users; in particular... | |
5218 | (gnu_wait): ..., don't decrement its value in here... | |
5219 | (gnu_create_inferior): ..., and instead set the flag in here, | |
5220 | around the startup_inferior call, and call that one with | |
5221 | START_INFERIOR_TRAPS_EXPECTED. | |
5222 | ||
3398af6a TS |
5223 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
5224 | (ILL_RPC): ... new macro. | |
5225 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
5226 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
5227 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
5228 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
5229 | functions with ILL_RPC macro. | |
5230 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
5231 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
5232 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
5233 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
5234 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
5235 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
5236 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
5237 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
5238 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
5239 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
5240 | (S_proc_get_code_reply): New stub functions, generated with | |
5241 | ILL_RPC macro. | |
5242 | ||
d47642c9 TS |
5243 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
5244 | collected the type check structures. | |
5245 | ||
bae8023e TS |
5246 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
5247 | ||
8a55ffb0 DE |
5248 | 2014-02-14 Doug Evans <dje@google.com> |
5249 | ||
5250 | * target.c (target_write_partial): Fix result type. | |
5251 | ||
c2853f3d JM |
5252 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
5253 | ||
5254 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
5255 | the proper offsets to access fpregset_t. | |
5256 | ||
ac61d2db SA |
5257 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
5258 | ||
5259 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
5260 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
5261 | * h8300-tdep.c (setmachinelist): Remove global. | |
5262 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
5263 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
5264 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
5265 | * ravenscar-thread.c (update_target_observer): Remove global. | |
5266 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
5267 | ||
9d2d0b8b TT |
5268 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5269 | ||
5270 | * common/rsp-low.c: Update comments. | |
5271 | * common/rsp-low.h: Update comments. | |
5272 | ||
a7191e8b TT |
5273 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5274 | ||
5275 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
5276 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
5277 | ||
ff0e980e TT |
5278 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5279 | ||
5280 | * common/rsp-low.h (unhexify): Don't declare. | |
5281 | * common/rsp-low.c (unhexify): Remove. | |
5282 | ||
e9371aff TT |
5283 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5284 | ||
5285 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
5286 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
5287 | ||
971dc0b8 TT |
5288 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5289 | ||
5290 | * common/rsp-low.h (hexify): Don't declare. | |
5291 | * common/rsp-low.c (hexify): Remove. | |
5292 | ||
0a822afb TT |
5293 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5294 | ||
5295 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
5296 | ||
9f1b45b0 TT |
5297 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5298 | ||
5299 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
5300 | * remote.c (extended_remote_run, remote_rcmd) | |
5301 | (remote_download_trace_state_variable, remote_save_trace_data) | |
5302 | (remote_set_trace_notes): Update. | |
5303 | * tracepoint.c (encode_source_string, tfile_write_status) | |
5304 | (tfile_write_uploaded_tsv): Update. | |
5305 | ||
9c3d6531 TT |
5306 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5307 | ||
5308 | * tracepoint.c: Include rsp-low.h. | |
5309 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
5310 | * remote.c: Include rsp-low.h. | |
5311 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
5312 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
5313 | (remote_unescape_input): Move to common/rsp-low.c. | |
5314 | * common/rsp-low.h: New file. | |
5315 | * common/rsp-low.c: New file. | |
5316 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
5317 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
5318 | (COMMON_OBS): Add rsp-low.o. | |
5319 | (rsp-low.o): New target. | |
5320 | ||
01fd3ea5 TT |
5321 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5322 | ||
5323 | * utils.h: Include print-utils.h. | |
5324 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
5325 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
5326 | (hex_string, hex_string_custom): Don't declare. | |
5327 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
5328 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
5329 | (hex_string_custom, int_string, core_addr_to_string) | |
5330 | (core_addr_to_string_nz, host_address_to_string): Move to | |
5331 | common/print-utils.c. | |
5332 | * common/print-utils.h: New file. | |
5333 | * common/print-utils.c: New file | |
5334 | * Makefile.in (SFILES): Add common/print-utils.c. | |
5335 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
5336 | (COMMON_OBS): Add print-utils.o. | |
5337 | (print-utils.o): New target. | |
5338 | ||
9fb50108 TT |
5339 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
5340 | ||
5341 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
5342 | ||
0548b5db MK |
5343 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
5344 | ||
5345 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
5346 | ||
493443a4 MK |
5347 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
5348 | ||
5349 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
5350 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
5351 | bytes were transferred. | |
5352 | ||
706d0883 PA |
5353 | 2014-02-12 Pedro Alves <palves@redhat.com> |
5354 | Kevin Buettner <kevinb@redhat.com> | |
5355 | ||
5356 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
5357 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
5358 | ||
5caa2f0b PA |
5359 | 2014-02-12 Pedro Alves <palves@redhat.com> |
5360 | ||
5361 | * h8300-tdep.c (pseudo_from_raw_register) | |
5362 | (raw_from_pseudo_register): New functions. | |
5363 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
5364 | them. | |
5365 | ||
76fd5f74 PA |
5366 | 2014-02-12 Pedro Alves <palves@redhat.com> |
5367 | ||
5368 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
5369 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
5370 | gdbarch_register_sim_regno hook. | |
5371 | ||
8f008406 SA |
5372 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
5373 | ||
5374 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
5375 | ||
195abc10 SA |
5376 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
5377 | ||
5378 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
5379 | ||
93ffa5b9 MK |
5380 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
5381 | ||
5382 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
5383 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
5384 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
5385 | (obsd_init_abi): New functions. | |
5386 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
5387 | (i386obsd_init_abi): Call obsd_init_abi. | |
5388 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
5389 | (amd64obsd_init_abi): Call obsd_init_abi. | |
5390 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
5391 | obsd-tdep.c to gdb_target_obs. | |
5392 | ||
49caec94 JM |
5393 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
5394 | ||
5395 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
5396 | double float arguments to 16-byte in the argument slots. | |
5397 | ||
e1402065 DE |
5398 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
5399 | ||
5400 | * configure.ac: Don't crash if pkg-config is not found and guile | |
5401 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
5402 | in guile checks. | |
5403 | * configure: Regenerate. | |
5404 | ||
edcc890f YQ |
5405 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
5406 | ||
5407 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
5408 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
5409 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
5410 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
5411 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
5412 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
5413 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
5414 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
5415 | ||
9b409511 YQ |
5416 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
5417 | ||
5418 | * target.h (enum target_xfer_error): Rename to ... | |
5419 | (enum target_xfer_status): ... it. New. All users updated. | |
5420 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
5421 | New. | |
5422 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
5423 | (target_xfer_error_to_string): Remove declaration. | |
5424 | (target_xfer_status_to_string): Declare. | |
5425 | (target_xfer_partial_ftype): Adjust it. | |
5426 | (struct target_ops) <to_xfer_partial>: Return | |
5427 | target_xfer_status. Add argument xfered_len. Update | |
5428 | comments. | |
5429 | * target.c (target_xfer_error_to_string): Rename to ... | |
5430 | (target_xfer_status_to_string): ... it. New. All callers | |
5431 | updated. | |
5432 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
5433 | instead of target_read. | |
5434 | (memory_xfer_live_readonly_partial): Return | |
5435 | target_xfer_status. Add argument xfered_len. | |
5436 | (raw_memory_xfer_partial): Likewise. | |
5437 | (memory_xfer_partial_1): Likewise. | |
5438 | (memory_xfer_partial): Likewise. | |
5439 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
5440 | properly. Update debug message. | |
5441 | (default_xfer_partial, current_xfer_partial): Likewise. | |
5442 | (target_write_partial): Likewise. | |
5443 | (target_read_partial): Likewise. All callers updated. | |
5444 | (read_whatever_is_readable): Likewise. | |
5445 | (target_write_with_progress): Likewise. | |
5446 | (target_read_alloc_1): Likewise. | |
5447 | ||
5448 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
5449 | * auxv.c (procfs_xfer_auxv): Likewise. | |
5450 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
5451 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
5452 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
5453 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
5454 | * corefile.c (read_memory): Adjust. | |
5455 | * corelow.c (core_xfer_partial): Likewise. | |
5456 | * ctf.c (ctf_xfer_partial): Likewise. | |
5457 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
5458 | updated. | |
5459 | (darwin_xfer_partial): Likewise. | |
5460 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
5461 | callers updated. | |
5462 | (exec_xfer_partial): Likewise. | |
5463 | * exec.h (section_table_xfer_memory_partial): Update | |
5464 | declaration. | |
5465 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
5466 | negative. | |
5467 | (gnu_xfer_partial): Likewise. | |
5468 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
5469 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
5470 | (ia64_hpux_xfer_solib_got): Likewise. | |
5471 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
5472 | type of 'partial_len' to ULONGEST. | |
5473 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
5474 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
5475 | (linux_nat_xfer_partial): Likewise. | |
5476 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
5477 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
5478 | * monitor.c (monitor_xfer_memory): Likewise. | |
5479 | (monitor_xfer_partial): Likewise. | |
5480 | * procfs.c (procfs_xfer_partial): Likewise. | |
5481 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
5482 | * record-full.c (record_full_xfer_partial): Likewise. | |
5483 | (record_full_core_xfer_partial): Likewise. | |
5484 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
5485 | (gdbsim_xfer_partial): Likewise. | |
5486 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
5487 | updated. | |
5488 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
5489 | callers updated. | |
5490 | (remote_flash_erase): Likewise. All callers updated. | |
5491 | (remote_write_qxfer): Likewise. All callers updated. | |
5492 | (remote_read_qxfer): Likewise. All callers updated. | |
5493 | (remote_xfer_partial): Likewise. | |
5494 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
5495 | (rs6000_xfer_shared_libraries): Likewise. | |
5496 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
5497 | (sol_thread_xfer_partial): Likewise. | |
5498 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
5499 | (sparc_xfer_partial): Likewise. | |
5500 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
5501 | updated. | |
5502 | (spu_xfer_partial): Likewise. | |
5503 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
5504 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
5505 | * windows-nat.c (windows_xfer_memory): Likewise. | |
5506 | (windows_xfer_shared_libraries): Likewise. | |
5507 | (windows_xfer_partial): Likewise. | |
5508 | * valprint.c: Replace 'target_xfer_error' with | |
5509 | 'target_xfer_status' in comments. | |
5510 | ||
a8e63083 JB |
5511 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
5512 | ||
5513 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
5514 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
5515 | ||
e86b67d3 JB |
5516 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
5517 | ||
5518 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
5519 | function parameters. | |
5520 | ||
4b7d1f7f WN |
5521 | 2014-02-10 Will Newton <will.newton@linaro.org> |
5522 | ||
5523 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
5524 | looking up .got.plt fails. | |
5525 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
5526 | on address passed to elf_gnu_ifunc_record_cache. | |
5527 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
5528 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
5529 | ||
961842b2 JM |
5530 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
5531 | ||
5532 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
5533 | (X_RETTURN): New macro. | |
5534 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
5535 | ||
5536 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
5537 | sparc_in_function_epilogue_p. | |
5538 | ||
3f03e7b1 GB |
5539 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
5540 | ||
5541 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
5542 | Rename name_matcher to symbol_matcher. | |
5543 | ||
96f861ef GB |
5544 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
5545 | ||
5546 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
5547 | Use expand_symtabs_file_matcher_ftype and | |
5548 | expand_symtabs_symbol_matcher_ftype. | |
5549 | ||
ee01b665 JB |
5550 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5551 | ||
5552 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
5553 | (struct ada_symbol_cache): New. | |
5554 | (ada_free_symbol_cache): Forward declare. | |
5555 | (struct ada_pspace_data): New. | |
5556 | (ada_pspace_data_handle): New static global. | |
5557 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
5558 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
5559 | (cache_space, cache): Delete, now folded inside struct | |
5560 | ada_pspace_data. | |
5561 | (ada_get_symbol_cache): New function. | |
5562 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
5563 | implementation. | |
5564 | (_initialize_ada_language): Remove initialization of cache_space. | |
5565 | Move call to observer_attach_inferior_exit up, grouping it | |
5566 | with the other observer registrations inside this function. | |
5567 | Rename command to be more general. Add call to | |
5568 | register_program_space_data_with_cleanup. | |
5569 | ||
143adbbf JB |
5570 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5571 | ||
5572 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
5573 | ada_new_objfile_observer. | |
5574 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
5575 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
5576 | and ada_tasks_normal_stop_observer. | |
5577 | ||
aa4fb036 JB |
5578 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5579 | ||
5580 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
5581 | returned by the 'Length attribute to integer. | |
5582 | ||
9dee8cc6 JB |
5583 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5584 | ||
5585 | * ada-lang.c (_initialize_ada_language): Initialize | |
5586 | cache_space obstack. | |
5587 | ||
3d9434b5 JB |
5588 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5589 | ||
5590 | * ada-lang.c (HASH_SIZE): New macro. | |
5591 | (struct cache_entry): New type. | |
5592 | (cache_space, cache): New static globals. | |
5593 | (ada_clear_symbol_cache, find_entry): New functions. | |
5594 | (lookup_cached_symbol, cache_symbol): Implement. | |
5595 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
5596 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
5597 | and ada_free_objfile_observer. | |
5598 | ||
f0c5f9b2 JB |
5599 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
5600 | ||
5601 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
5602 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
5603 | struct block * parameter. | |
5604 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
5605 | Remove cast which is no longer necessary. | |
5606 | ||
ed3ef339 DE |
5607 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
5608 | ||
5609 | Add Guile as an extension language. | |
5610 | * NEWS: Mention Guile scripting. | |
5611 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
5612 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
5613 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
5614 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
5615 | (CLIBS): Add GUILE_LIBS. | |
5616 | (install-guile): New rule. | |
5617 | (guile.o): New rule. | |
5618 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
5619 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
5620 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
5621 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
5622 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
5623 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
5624 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
5625 | * configure.ac: New option --with-guile. | |
5626 | * configure: Regenerate. | |
5627 | * config.in: Regenerate. | |
5628 | * auto-load.c: Remove #include "python/python.h". Add #include | |
5629 | "gdb/section-scripts.h". | |
5630 | (source_section_scripts): Handle Guile scripts. | |
5631 | (_initialize_auto_load): Add name of Guile objfile script to | |
5632 | scripts-directory help text. | |
5633 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
5634 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
5635 | (struct breakpoint): New member scm_bp_object. | |
5636 | * defs.h (enum command_control_type): New value guile_control. | |
5637 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
5638 | "extension.h". | |
5639 | (show_user): Update comment. | |
5640 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
5641 | text for max-user-call-depth. | |
5642 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
5643 | "extension.h". | |
5644 | (multi_line_command_p): Add guile_control. | |
5645 | (print_command_lines): Handle guile_control. | |
5646 | (execute_control_command, recurse_read_control_structure): Ditto. | |
5647 | (process_next_line): Recognize "guile" commands. | |
5648 | * disasm.c (gdb_disassemble_info): Make non-static. | |
5649 | * disasm.h: #include "dis-asm.h". | |
5650 | (struct gdbarch): Add forward decl. | |
5651 | (gdb_disassemble_info): Declare. | |
5652 | * extension.c: #include "guile/guile.h". | |
5653 | (extension_languages): Add guile. | |
5654 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
5655 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
5656 | * gdbtypes.c (get_unsigned_type_max): New function. | |
5657 | (get_signed_type_minmax): New function. | |
5658 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
5659 | (get_signed_type_minmax): Declare. | |
5660 | * guile/README: New file. | |
5661 | * guile/guile-internal.h: New file. | |
5662 | * guile/guile.c: New file. | |
5663 | * guile/guile.h: New file. | |
5664 | * guile/scm-arch.c: New file. | |
5665 | * guile/scm-auto-load.c: New file. | |
5666 | * guile/scm-block.c: New file. | |
5667 | * guile/scm-breakpoint.c: New file. | |
5668 | * guile/scm-disasm.c: New file. | |
5669 | * guile/scm-exception.c: New file. | |
5670 | * guile/scm-frame.c: New file. | |
5671 | * guile/scm-gsmob.c: New file. | |
5672 | * guile/scm-iterator.c: New file. | |
5673 | * guile/scm-lazy-string.c: New file. | |
5674 | * guile/scm-math.c: New file. | |
5675 | * guile/scm-objfile.c: New file. | |
5676 | * guile/scm-ports.c: New file. | |
5677 | * guile/scm-pretty-print.c: New file. | |
5678 | * guile/scm-safe-call.c: New file. | |
5679 | * guile/scm-string.c: New file. | |
5680 | * guile/scm-symbol.c: New file. | |
5681 | * guile/scm-symtab.c: New file. | |
5682 | * guile/scm-type.c: New file. | |
5683 | * guile/scm-utils.c: New file. | |
5684 | * guile/scm-value.c: New file. | |
5685 | * guile/lib/gdb.scm: New file. | |
5686 | * guile/lib/gdb/boot.scm: New file. | |
5687 | * guile/lib/gdb/experimental.scm: New file. | |
5688 | * guile/lib/gdb/init.scm: New file. | |
5689 | * guile/lib/gdb/iterator.scm: New file. | |
5690 | * guile/lib/gdb/printing.scm: New file. | |
5691 | * guile/lib/gdb/types.scm: New file. | |
5692 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
5693 | (VPATH): Add $(GUILE_SRCDIR). | |
5694 | (GUILE_DIR): New variable. | |
5695 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
5696 | (all): Add stamp-guile dependency. | |
5697 | (stamp-guile): New rule. | |
5698 | (clean-guile, install-guile, uninstall-guile): New rules. | |
5699 | (install-only): Add install-guile dependency. | |
5700 | (uninstall): Add uninstall-guile dependency. | |
5701 | (clean): Add clean-guile dependency. | |
5702 | ||
ac020ec5 DE |
5703 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
5704 | ||
5705 | Revert this patch (which I approved, mea culpa). | |
5706 | ||
5707 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
5708 | ||
5709 | * Makefile.in (all-lib): Remove. | |
5710 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
5711 | ||
2a081c59 JK |
5712 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
5713 | ||
5714 | Fix Python stack corruption. | |
5715 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
5716 | gdb_py_longest. | |
5717 | ||
0a6bd22d MK |
5718 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
5719 | ||
5720 | * Makefile.in (all-lib): Remove. | |
5721 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
5722 | ||
1a860409 DE |
5723 | 2014-02-07 Doug Evans <dje@google.com> |
5724 | ||
5725 | * extension-priv.h (extension_language_script_ops): Add comment. | |
5726 | (extension_language_ops): Add comment. | |
caf5a491 | 5727 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 5728 | |
d137e6dc PA |
5729 | 2014-02-07 Pedro Alves <palves@redhat.com> |
5730 | ||
0dcb32c3 | 5731 | PR breakpoints/16292 |
d137e6dc PA |
5732 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
5733 | over a breakpoint>: Switch back to the stepping thread. | |
5734 | ||
ce6d0892 YQ |
5735 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
5736 | ||
5737 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
5738 | ||
2ed4b548 YQ |
5739 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
5740 | ||
5741 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
5742 | (ld_so_xfer_auxv): Likewise. | |
5743 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
5744 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
5745 | * corelow.c (core_xfer_partial): Likewise. | |
5746 | * ctf.c (ctf_xfer_partial): Likewise. | |
5747 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
5748 | (darwin_xfer_partial): Likewise. | |
5749 | * exec.c (exec_xfer_partial): Likewise. | |
5750 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
5751 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
5752 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
5753 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
5754 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
5755 | (linux_proc_xfer_spu): Likewise. | |
5756 | * procfs.c (procfs_xfer_partial): Likewise. | |
5757 | * record-full.c (record_full_xfer_partial): Likewise. | |
5758 | (record_full_core_xfer_partial): Likewise. | |
5759 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
5760 | * remote.c (remote_write_qxfer): Likewise. | |
5761 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
5762 | (remote_xfer_partial): Likewise. | |
5763 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
5764 | (rs6000_xfer_shared_libraries): Likewise. | |
5765 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
5766 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
5767 | (spu_xfer_partial): Likewise. | |
5768 | * target.c (memory_xfer_partial_1): Likewise. | |
5769 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
5770 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
5771 | (windows_xfer_partial): Likewise. | |
5772 | ||
c09f20e4 YQ |
5773 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
5774 | ||
5775 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
5776 | comments. | |
5777 | (core_xfer_shared_libraries_aix): Likewise. | |
5778 | * gdbarch.c, gdbarch.h: Regenerated. | |
5779 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
5780 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
5781 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
5782 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
5783 | declaration. | |
5784 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
5785 | ||
8635b3bf YQ |
5786 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
5787 | ||
5788 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
5789 | 'exception' to throw_error. | |
5790 | ||
6dddc817 DE |
5791 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
5792 | ||
5793 | * configure.ac (libpython checking): Remove all but python.o from | |
5794 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
5795 | * configure: Regenerate. | |
5796 | ||
5797 | * Makefile.in (SFILES): Add extension.c. | |
5798 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
5799 | (COMMON_OBS): Add extension.o. | |
5800 | * extension.h: New file. | |
5801 | * extension-priv.h: New file. | |
5802 | * extension.c: New file. | |
5803 | ||
5804 | * python/python-internal.h: #include "extension.h". | |
5805 | (gdbpy_auto_load_enabled): Declare. | |
5806 | (gdbpy_apply_val_pretty_printer): Declare. | |
5807 | (gdbpy_apply_frame_filter): Declare. | |
5808 | (gdbpy_preserve_values): Declare. | |
5809 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
5810 | (gdbpy_breakpoint_has_cond): Declare. | |
5811 | (void source_python_script_for_objfile): Delete. | |
5812 | * python/python.c: #include "extension-priv.h". | |
5813 | Delete inclusion of "observer.h". | |
5814 | (extension_language_python): Moved here and renamed from | |
5815 | script_language_python in py-auto-load.c. | |
5816 | Redefined to be of type extension_language_defn. | |
5817 | (python_extension_script_ops): New global. | |
5818 | (python_extension_ops): New global. | |
5819 | (struct python_env): New member previous_active. | |
5820 | (restore_python_env): Call restore_active_ext_lang. | |
5821 | (ensure_python_env): Call set_active_ext_lang. | |
5822 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
5823 | New arg extlang. | |
5824 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
5825 | New arg extlang. | |
5826 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
5827 | New arg extlang. | |
5828 | (gdbpy_eval_from_control_command): Renamed from | |
5829 | eval_python_from_control_command, made static. New arg extlang. | |
5830 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
5831 | New arg extlang. | |
5832 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
5833 | result to int. New arg extlang. | |
5834 | (gdbpy_source_objfile_script): Renamed from | |
5835 | source_python_script_for_objfile, made static. New arg extlang. | |
5836 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
5837 | static. New args extlang, extlang_printers. Change result type to | |
5838 | "void". | |
5839 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
5840 | static. New arg extlang. Rename arg printers to extlang_printers | |
5841 | and change type to ext_lang_type_printers *. | |
5842 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
5843 | static. Replace argument arg with extlang, extlang_printers. | |
5844 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
5845 | (!HAVE_PYTHON, source_python_script): Delete. | |
5846 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
5847 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
5848 | (!HAVE_PYTHON, start_type_printers): Delete. | |
5849 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
5850 | (!HAVE_PYTHON, free_type_printers): Delete. | |
5851 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
5852 | (finalize_python): Set/restore active extension language. | |
5853 | (gdbpy_finish_initialization) Renamed from | |
5854 | finish_python_initialization, made static. New arg extlang. | |
5855 | (gdbpy_initialized): New function. | |
5856 | * python/python.h: #include "extension.h". Delete #include | |
5857 | "value.h", "mi/mi-cmds.h". | |
5858 | (extension_language_python): Declare. | |
5859 | (GDBPY_AUTO_FILE_NAME): Delete. | |
5860 | (enum py_bt_status): Moved to extension.h and renamed to | |
5861 | ext_lang_bt_status. | |
5862 | (enum frame_filter_flags): Moved to extension.h. | |
5863 | (enum py_frame_args): Moved to extension.h and renamed to | |
5864 | ext_lang_frame_args. | |
5865 | (finish_python_initialization): Delete. | |
5866 | (eval_python_from_control_command): Delete. | |
5867 | (source_python_script): Delete. | |
5868 | (apply_val_pretty_printer): Delete. | |
5869 | (apply_frame_filter): Delete. | |
5870 | (preserve_python_values): Delete. | |
5871 | (gdbpy_script_language_defn): Delete. | |
5872 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
5873 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
5874 | ||
5875 | * auto-load.c: #include "extension.h". | |
5876 | (GDB_AUTO_FILE_NAME): Delete. | |
5877 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
5878 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
5879 | extension_language_gdb. | |
5880 | (source_gdb_script_for_objfile): Delete. | |
5881 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
5882 | (loaded_script): Change type of language member to | |
5883 | struct extension_language_defn *. | |
5884 | (init_loaded_scripts_info): Initialize | |
5885 | unsupported_script_warning_printed. | |
5886 | (maybe_add_script): Make static. Change type of language arg to | |
5887 | struct extension_language_defn *. | |
5888 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
5889 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
5890 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
5891 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
5892 | (source_section_scripts): Rewrite to use extension language API. | |
5893 | (load_auto_scripts_for_objfile): Rewrite to use | |
5894 | auto_load_scripts_for_objfile. | |
5895 | (collect_matching_scripts_data): Change type of language member to | |
5896 | struct extension_language_defn *. | |
5897 | (auto_load_info_scripts): Change type of language arg to | |
5898 | struct extension_language_defn *. | |
5899 | (unsupported_script_warning_print): New function. | |
5900 | (script_not_found_warning_print): Make static. | |
5901 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
5902 | help. | |
5903 | * auto-load.h (struct objfile): Add forward decl. | |
5904 | (struct script_language): Delete. | |
5905 | (struct auto_load_pspace_info): Add forward decl. | |
5906 | (struct extension_language_defn): Add forward decl. | |
5907 | (maybe_add_script): Delete. | |
5908 | (auto_load_objfile_script): Declare. | |
5909 | (script_not_found_warning_print): Delete. | |
5910 | (auto_load_info_scripts): Update prototype. | |
5911 | (auto_load_gdb_scripts_enabled): Declare. | |
5912 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
5913 | auto_load_python_scripts_enabled and made public. | |
5914 | (script_language_python): Delete, moved to python.c. | |
5915 | (gdbpy_script_language_defn): Delete. | |
5916 | (info_auto_load_python_scripts): Update to use | |
5917 | extension_language_python. | |
5918 | ||
5919 | * breakpoint.c (condition_command): Replace call to | |
5920 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
5921 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
5922 | with call to breakpoint_ext_lang_cond_says_stop. | |
5923 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
5924 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
5925 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
5926 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
5927 | New arg slang. | |
5928 | (local_setattro): Print name of extension language with existing | |
5929 | stop condition. | |
5930 | ||
5931 | * valprint.c (val_print, value_print): Update to call | |
5932 | apply_ext_lang_val_pretty_printer. | |
5933 | * cp-valprint.c (cp_print_value): Update call to | |
5934 | apply_ext_lang_val_pretty_printer. | |
5935 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
5936 | (gdbpy_apply_val_pretty_printer): Renamed from | |
5937 | apply_val_pretty_printer. New arg extlang. | |
5938 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
5939 | ||
5940 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
5941 | extension language API. | |
5942 | * cli/cli-script.c (execute_control_command): Update to call | |
5943 | eval_ext_lang_from_control_command. | |
5944 | ||
5945 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
5946 | enum ext_lang_bt_status values. Update call to | |
5947 | apply_ext_lang_frame_filter. | |
5948 | (mi_cmd_stack_list_locals): Ditto. | |
5949 | (mi_cmd_stack_list_args): Ditto. | |
5950 | (mi_cmd_stack_list_variables): Ditto. | |
5951 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
5952 | Add #include "extension.h". | |
5953 | (mi_cmd_list_features): Replace reference to python internal variable | |
5954 | gdb_python_initialized with call to ext_lang_initialized_p. | |
5955 | ||
5956 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
5957 | Update to use enum ext_lang_frame_args. Update to call | |
5958 | apply_ext_lang_frame_filter. | |
5959 | * python/py-framefilter.c (extract_sym): Update to use enum | |
5960 | ext_lang_bt_status. | |
5961 | (extract_value, py_print_type, py_print_value): Ditto. | |
5962 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
5963 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
5964 | (py_print_frame): Ditto. | |
5965 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
5966 | New arg extlang. Update to use enum ext_lang_bt_status. | |
5967 | ||
5968 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
5969 | finish_python_initialization. Replace with call to | |
5970 | finish_ext_lang_initialization. | |
5971 | ||
5972 | * typeprint.c (do_free_global_table): Update to call | |
5973 | free_ext_lang_type_printers. | |
5974 | (create_global_typedef_table): Update to call | |
5975 | start_ext_lang_type_printers. | |
5976 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
5977 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
5978 | (type_print_options): Change type of global_printers from "void *" | |
5979 | to "struct ext_lang_type_printers *". | |
5980 | ||
5981 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
5982 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
5983 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
5984 | New arg extlang. | |
5985 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
5986 | ||
5987 | * utils.c (quit_flag): Delete, moved to extension.c. | |
5988 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
5989 | extension.c. | |
5990 | ||
5991 | * eval.c: Delete #include "python/python.h". | |
5992 | * main.c: Delete #include "python/python.h". | |
5993 | ||
5994 | * defs.h: Update comment. | |
5995 | ||
6af79985 JB |
5996 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
5997 | ||
5998 | GDB 7.7 released. | |
5999 | ||
12c5175d MK |
6000 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
6001 | ||
6002 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
6003 | defined. | |
6004 | ||
8dc5b319 YQ |
6005 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
6006 | ||
6007 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
6008 | rs->buf. | |
6009 | (remote_program_signals): Likewise. | |
6010 | ||
de7b2893 YQ |
6011 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
6012 | ||
6013 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
6014 | (CTF_PID): A new macro. | |
6015 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
6016 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
6017 | (ctf_thread_alive): New function. | |
6018 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
6019 | ||
66d032ac YQ |
6020 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
6021 | ||
6022 | Revert this patch: | |
6023 | ||
6024 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
6025 | ||
6026 | * tracepoint.c (TFILE_PID): Remove. | |
6027 | (tfile_open): Don't add thread and inferior. | |
6028 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
6029 | exit_inferior_silent. | |
6030 | (tfile_thread_alive): Remove. | |
6031 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
6032 | tfile_ops. | |
6033 | ||
f4ccffad CE |
6034 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
6035 | ||
6036 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
6037 | if only symbol-file (not file) has been given. | |
6038 | ||
591a12a1 UW |
6039 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6040 | ||
6041 | * gdbarch.sh (skip_entrypoint): New callback. | |
6042 | * gdbarch.c, gdbarch.h: Regenerate. | |
6043 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
6044 | * infrun.c (fill_in_stop_func): Likewise. | |
6045 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
6046 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
6047 | (ppc_elfv2_skip_entrypoint): Likewise. | |
6048 | (ppc_linux_init_abi): Install them for ELFv2. | |
6049 | ||
cc0e89c5 UW |
6050 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6051 | ||
6052 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
6053 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
6054 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
6055 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
6056 | structures returned in GPRs. | |
6057 | ||
52f548e4 UW |
6058 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6059 | ||
6060 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
6061 | offset to the stack parameter list for the ELFv2 ABI. | |
6062 | ||
d4094b6a UW |
6063 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6064 | ||
6065 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
6066 | set_gdbarch_convert_from_func_ptr_addr and | |
6067 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
6068 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
6069 | function descriptors on ELFv1. | |
6070 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
6071 | set up r12 at function entry. | |
6072 | ||
cd453cd0 UW |
6073 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6074 | ||
6075 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
6076 | (struct gdbarch_tdep): New member elf_abi. | |
6077 | ||
6078 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
6079 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
6080 | ||
0ff3e01f UW |
6081 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6082 | ||
6083 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
6084 | within a register pair holding a DFP 128-bit value on little-endian. | |
6085 | (ppc64_sysv_abi_return_value_base): Likewise. | |
6086 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
6087 | (dfp_pseudo_register_write): Likewise. | |
6088 | ||
5b757e5d UW |
6089 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6090 | ||
6091 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
6092 | offset on little-endian when passing _Decimal32. | |
6093 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
6094 | ||
084ee545 UW |
6095 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6096 | ||
6097 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
6098 | of the overlapped FP register within the VSX register on little- | |
6099 | endian platforms. | |
6100 | (efpr_pseudo_register_write): Likewise. | |
6101 | ||
d63167af UW |
6102 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6103 | ||
6104 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
6105 | offset on little-endian when passing small structures. | |
6106 | ||
e765b44c UW |
6107 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6108 | ||
6109 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
6110 | (struct ppc64_sysv_argpos): New data structure. | |
6111 | (ppc64_sysv_abi_push_float): Remove. | |
6112 | (ppc64_sysv_abi_push_val): New function. | |
6113 | (ppc64_sysv_abi_push_integer): Likewise. | |
6114 | (ppc64_sysv_abi_push_freg): Likewise. | |
6115 | (ppc64_sysv_abi_push_vreg): Likewise. | |
6116 | (ppc64_sysv_abi_push_param): Likewise. | |
6117 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
6118 | (ppc64_sysv_abi_return_value_base): New function. | |
6119 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
6120 | ||
36c24d95 UW |
6121 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
6122 | ||
6123 | * NEWS: Document new target powerpc64le-*-linux*. | |
6124 | ||
26fd9228 MK |
6125 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
6126 | ||
6127 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
6128 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
6129 | core dumps. | |
6130 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
6131 | register set used in ELF core dumps. Add floating-point register set. | |
6132 | ||
c5bb7362 KB |
6133 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
6134 | ||
6135 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite | |
6136 | dwarf2_to_gdb[] table using symbolic constants. Adjust | |
6137 | penultimate entry from number representing the PC register | |
6138 | to symbolic constant representing the MDR register. Add | |
6139 | constant for the PC register to the end of the table. | |
6140 | ||
af09351e MK |
6141 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
6142 | ||
6143 | * bsd-kvm.c: Include <sys/param.h> | |
6144 | ||
8507e05d MK |
6145 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
6146 | ||
6147 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
6148 | ||
ae56bfb8 JB |
6149 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
6150 | ||
6151 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
6152 | ||
718ee4dc UW |
6153 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
6154 | ||
6155 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
6156 | ||
401e27fd JM |
6157 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
6158 | ||
6159 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
6160 | the sigreturn register save area only if the syscall is | |
6161 | sigreturn. | |
6162 | ||
a7c88acd JB |
6163 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
6164 | ||
6165 | * valops.c (value_slice): Minor reformatting. | |
6166 | ||
fa0079ea UW |
6167 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
6168 | ||
6169 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
6170 | ||
c6044dd1 JB |
6171 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
6172 | ||
6173 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
6174 | New static globals. | |
6175 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
6176 | (ada_ignore_descriptive_types_p): New static global. | |
6177 | (find_parallel_type_by_descriptive_type): Return immediately | |
6178 | if ada_ignore_descriptive_types_p is set. | |
6179 | (_initialize_ada_language): Register new commands "maintenance | |
6180 | set ada", "maintenance show ada", "maintenance set ada | |
6181 | ignore-descriptive-types" and "maintenance show ada | |
6182 | ignore-descriptive-types". | |
6183 | * NEWS: Add entry for new "maint ada set/show | |
6184 | ignore-descriptive-types" commands. | |
6185 | ||
568e808b MM |
6186 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
6187 | ||
6188 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
6189 | for all threads. | |
6190 | ||
467d141b JB |
6191 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6192 | ||
6193 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
6194 | "ui-out.h". | |
6195 | ||
fb151210 JB |
6196 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6197 | ||
6198 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
6199 | New function. | |
6200 | (print_range): Add parameter bounds_prefered_p. If not set, | |
6201 | try printing range types using the name of their base type. | |
6202 | (print_range_type): Add parameter bounds_prefered_p. | |
6203 | Use it in call to print_range. | |
6204 | (print_array_type, ada_print_type): Update calls to print_range | |
6205 | and print_range_type. | |
6206 | ||
aba02109 JB |
6207 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6208 | ||
6209 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
6210 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
6211 | Remove declaration. | |
6212 | ||
e62e21fd JB |
6213 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6214 | ||
6215 | * ada-typeprint.c (print_range): Add missing empty line | |
6216 | after local declaration. | |
6217 | ||
859cf5d1 JB |
6218 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6219 | ||
6220 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
6221 | target type for as long as it is a TYPE_CODE_RANGE. | |
6222 | ||
25790f6f JB |
6223 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
6224 | ||
6225 | * procfs.c (procfs_make_note_section): Remove assertion and | |
6226 | associated comment. | |
6227 | ||
6b6aa828 YQ |
6228 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
6229 | ||
6230 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
6231 | * corelow.c (get_core_siginfo): Likewise. | |
6232 | ||
5d6df423 YQ |
6233 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
6234 | ||
6235 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
6236 | ULONGEST. Don't check 'len' is negative. | |
6237 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
6238 | ||
83b645b8 TT |
6239 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
6240 | ||
6241 | PR python/16485: | |
6242 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
6243 | Handle exception from frame.block. | |
6244 | (FrameVars.fetch_frame_locals): Likewise. | |
6245 | ||
0740f8d8 TT |
6246 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
6247 | ||
6248 | PR python/16487: | |
6249 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
6250 | on a NULL pointer. Move "goto error" to correct place. | |
6251 | ||
21909fa1 TT |
6252 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
6253 | ||
6254 | PR python/16491: | |
6255 | * python/py-framefilter.c (apply_frame_filter): Call | |
6256 | ensure_python_env after computing gdbarch. | |
6257 | ||
17fde6d0 YQ |
6258 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
6259 | ||
6260 | * target.c (raw_memory_xfer_partial): Change argument type | |
6261 | from void * to gdb_byte *. | |
6262 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
6263 | ||
87ce2a04 DE |
6264 | 2014-01-22 Doug Evans <dje@google.com> |
6265 | ||
6266 | New gdbserver option --debug-format=timestamp. | |
6267 | * NEWS: Mention it. | |
6268 | ||
237b092b AA |
6269 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
6270 | ||
6271 | * syscalls/s390x-linux.xml: New file. | |
6272 | * syscalls/s390-linux.xml: New file. | |
6273 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
6274 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
6275 | (op_svc): New enum value for SVC opcode. | |
6276 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
6277 | (s390_linux_get_syscall_number): New function. | |
6278 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
6279 | syscall xml file name. | |
6280 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
6281 | "s390-linux.xml" and "s390x-linux.xml". | |
6282 | * NEWS: Announce new feature. | |
6283 | ||
54bff650 BS |
6284 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
6285 | ||
6286 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
6287 | ||
14e361d7 PA |
6288 | 2014-01-22 Pedro Alves <palves@redhat.com> |
6289 | ||
6290 | * xtensa-config.c: Include defs.h. | |
6291 | ||
46bbb3ed JB |
6292 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
6293 | ||
6294 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
6295 | reference. | |
6296 | ||
3a80edfc JB |
6297 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
6298 | ||
6299 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
6300 | documentation a bit. | |
6301 | ||
4869db5e RM |
6302 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
6303 | ||
6304 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
6305 | * configure: Regenerate. | |
6306 | * aclocal.m4: Regenerate. | |
6307 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
6308 | New substituted variables. | |
6309 | (install-strip): New target. | |
6310 | (INSTALL_SCRIPT): New substituted variable. | |
6311 | (FLAGS_TO_PASS): Add it. | |
6312 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
6313 | $(INSTALL_PROGRAM) for gcore. | |
6314 | ||
9ea4267d TT |
6315 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
6316 | ||
6317 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
6318 | together. | |
6319 | ||
1f2bdf09 TT |
6320 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
6321 | ||
6322 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
6323 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
6324 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
6325 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
6326 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
6327 | (struct cmd_list_element) <flags>: Remove. | |
6328 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
6329 | doc_allocated>: New fields. | |
6330 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
6331 | bitfields. | |
6332 | * maint.c (maintenance_do_deprecate): Update. | |
6333 | * top.c (execute_command): Update. | |
6334 | ||
e671835b BS |
6335 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
6336 | ||
6337 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
6338 | ||
50367cd2 IB |
6339 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6340 | ||
6341 | * Makefile.in (SFILES): Add d-support.c. | |
6342 | (COMMON_OBS): Add d-support.o. | |
6343 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
6344 | d-support.c. | |
6345 | * d-lang.c (parse_call_convention) | |
6346 | (parse_attributes, parse_function_types) | |
6347 | (parse_function_args, parse_type, parse_identifier) | |
6348 | (call_convention_p, d_parse_symbol): Move functions to ... | |
6349 | * d-support.c: ... New file. | |
6350 | ||
ec9f644a IB |
6351 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6352 | ||
6353 | * d-lang.h (d_parse_symbol): Add declaration. | |
6354 | * d-lang.c (extract_identifiers) | |
6355 | (extract_type_info): Remove functions. | |
6356 | (parse_call_convention, parse_attributes) | |
6357 | (parse_function_types, parse_function_args) | |
6358 | (parse_type, parse_identifier, call_convention_p) | |
6359 | (d_parse_symbol): New functions. | |
6360 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
6361 | ||
94b1b47e IB |
6362 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6363 | ||
6364 | * d-lang.h (struct builtin_d_type): New data type. | |
6365 | (builtin_d_type): Add declaration. | |
6366 | * d-lang.c (d_language_arch_info, build_d_types) | |
6367 | (builtin_d_type): New functions. | |
6368 | (enum d_primitive_types): New data type. | |
6369 | (d_language_defn): Change c_language_arch_info to | |
6370 | d_language_arch_info. | |
6371 | (d_type_data): New static variable. | |
6372 | (_initialize_d_language): Initialize d_type_data. | |
6373 | ||
63778547 IB |
6374 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6375 | ||
6376 | * d-lang.h (d_main_name): Add declaration. | |
6377 | * d-lang.c (d_main_name): New function. | |
6378 | * symtab.c (find_main_name): Add call to d_main_name. | |
6379 | ||
3271ba66 IB |
6380 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6381 | ||
6382 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
6383 | macro_expansion_no. | |
6384 | ||
d36b3012 IB |
6385 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
6386 | ||
6387 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
6388 | ||
c90a6fb7 SDJ |
6389 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
6390 | ||
6391 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
6392 | gdb_exception" declaration. | |
6393 | * remote.c (getpkt_or_notif_sane): Likewise. | |
6394 | ||
749234e5 DE |
6395 | 2014-01-17 Doug Evans <dje@google.com> |
6396 | ||
6397 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
6398 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
6399 | (delim_string_to_char_ptr_vec): New function. | |
6400 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
6401 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
6402 | ||
df049a58 DE |
6403 | 2014-01-17 Doug Evans <dje@google.com> |
6404 | ||
6405 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
6406 | and moved here ... | |
6407 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
6408 | #include "common-utils.h". | |
6409 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
6410 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
6411 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
6412 | (MACH_CHECK_ERROR): Update. | |
6413 | ||
69f97648 SM |
6414 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
6415 | ||
6416 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
6417 | comments. | |
6418 | * gdbarch.h: Regenerate. | |
6419 | ||
98b1cfdc TT |
6420 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
6421 | ||
6422 | * value.c (struct value) <regnum>: Move earlier. | |
6423 | ||
77a19445 TT |
6424 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
6425 | ||
6426 | * remote.c (extended_remote_create_inferior): Rename from | |
6427 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
6428 | old implementation. | |
6429 | ||
62261490 PA |
6430 | 2014-01-16 Pedro Alves <palves@redhat.com> |
6431 | ||
6432 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
6433 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
6434 | the backchain. | |
6435 | ||
4d65956b DE |
6436 | 2014-01-16 Doug Evans <dje@google.com> |
6437 | ||
6438 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
6439 | ||
52834460 MM |
6440 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6441 | ||
6442 | * btrace.h (btrace_thread_flag): New. | |
6443 | (struct btrace_thread_info) <flags>: New. | |
6444 | * record-btrace.c (record_btrace_resume_thread) | |
6445 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
6446 | (btrace_step_stopped, record_btrace_start_replaying) | |
6447 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
6448 | (record_btrace_find_resume_thread): New. | |
6449 | (record_btrace_resume, record_btrace_wait): Extend. | |
6450 | (record_btrace_can_execute_reverse): New. | |
6451 | (record_btrace_open): Fail in non-stop mode. | |
6452 | (record_btrace_set_replay): Split into this, ... | |
6453 | (record_btrace_stop_replaying): ... this, ... | |
6454 | (record_btrace_clear_histories): ... and this. | |
6455 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
6456 | * NEWS: Announce it. | |
6457 | ||
118e6252 MM |
6458 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6459 | ||
6460 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
6461 | (forward_target_decr_pc_after_break) | |
6462 | (target_decr_pc_after_break): New. | |
6463 | * target.c (forward_target_decr_pc_after_break) | |
6464 | (target_decr_pc_after_break): New. | |
6465 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
6466 | instead of gdbarch_decr_pc_after_break. | |
6467 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
6468 | instead of gdbarch_decr_pc_after_break. | |
6469 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
6470 | instead of gdbarch_decr_pc_after_break. | |
6471 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
6472 | instead of gdbarch_decr_pc_after_break. | |
6473 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
6474 | instead of gdbarch_decr_pc_after_break. | |
6475 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
6476 | instead of gdbarch_decr_pc_after_break. | |
6477 | ||
6e07b1d2 MM |
6478 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6479 | ||
6480 | * btrace.c: Include regcache.h. | |
6481 | (btrace_add_pc): New. | |
6482 | (btrace_enable): Call btrace_add_pc. | |
6483 | (btrace_is_empty): New. | |
6484 | * btrace.h (btrace_is_empty): New. | |
6485 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
6486 | btrace_is_empty. | |
6487 | ||
969c39fb MM |
6488 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6489 | ||
6490 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
6491 | Support delta reads. | |
6492 | (linux_disable_btrace): Change return type. | |
6493 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
6494 | and return type to allow error reporting. Update users. | |
6495 | (linux_disable_btrace): Change return type. Update users. | |
6496 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
6497 | New. | |
6498 | (btrace_error): New. | |
6499 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
6500 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
6501 | the current trace. | |
6502 | (btrace_stitch_trace, btrace_clear_history): New. | |
6503 | (btrace_fetch): Read delta trace, return if replaying. | |
6504 | (btrace_clear): Move clear history code to btrace_clear_history. | |
6505 | (parse_xml_btrace): Throw an error if parsing failed. | |
6506 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
6507 | and return type to allow error reporting. | |
6508 | (target_read_btrace): Change parameters and return type to allow | |
6509 | error reporting. | |
6510 | * target.c (target_read_btrace): Update. | |
6511 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
6512 | errors on. | |
6513 | * NEWS: Announce it. | |
6514 | ||
0b722aec MM |
6515 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6516 | ||
6517 | * record.h (record_btrace_frame_unwind) | |
6518 | (record_btrace_tailcall_frame_unwind): New declarations. | |
6519 | * dwarf2-frame: Include record.h | |
6520 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
6521 | * record-btrace.c: Include hashtab.h. | |
6522 | (btrace_get_bfun_name): New. | |
6523 | (btrace_call_history): Call btrace_get_bfun_name. | |
6524 | (struct btrace_frame_cache): New. | |
6525 | (bfcache): New. | |
6526 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
6527 | (btrace_get_frame_function): New. | |
6528 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
6529 | (record_btrace_frame_this_id): Compute own id. | |
6530 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
6531 | for all other registers. | |
6532 | (record_btrace_frame_sniffer): Detect btrace frames. | |
6533 | (record_btrace_tailcall_frame_sniffer): New. | |
6534 | (record_btrace_frame_dealloc_cache): New. | |
6535 | (record_btrace_frame_unwind): Add new functions. | |
6536 | (record_btrace_tailcall_frame_unwind): New. | |
6537 | (_initialize_record_btrace): Allocate cache. | |
6538 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
6539 | * NEWS: Announce it. | |
6540 | ||
066ce621 MM |
6541 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6542 | ||
6543 | * record-btrace.c (record_btrace_set_replay) | |
6544 | (record_btrace_goto_begin, record_btrace_goto_end) | |
6545 | (record_btrace_goto): New. | |
6546 | (init_record_btrace_ops): Initialize them. | |
6547 | * NEWS: Announce it. | |
6548 | ||
e2887aa3 MM |
6549 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6550 | ||
6551 | * record-btrace.c (record_btrace_find_new_threads) | |
6552 | (record_btrace_thread_alive): New. | |
6553 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
6554 | to_thread_alive. | |
6555 | ||
b2f4cfde MM |
6556 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6557 | ||
6558 | * record-btrace.c (record_btrace_resume): New. | |
6559 | (record_btrace_wait): New. | |
6560 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
6561 | ||
633785ff MM |
6562 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6563 | ||
6564 | * record-btrace.c (record_btrace_xfer_partial) | |
6565 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
6566 | (record_btrace_allow_memory_access): New. | |
6567 | (init_record_btrace_ops): Initialize new methods. | |
6568 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
6569 | that this memory is not available. | |
6570 | ||
3db08215 MM |
6571 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6572 | ||
6573 | * target.h (target_ops) <to_insert_breakpoint> | |
6574 | <to_remove_breakpoint>: Add target_ops parameter. | |
6575 | (forward_target_insert_breakpoint): New. | |
6576 | (forward_target_remove_breakpoint): New. | |
6577 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
6578 | Add target_ops parameter. | |
6579 | * target.c (target_insert_breakpoint): Split into this and ... | |
6580 | (forward_target_insert_breakpoint): ... this. | |
6581 | (target_remove_breakpoint): Split into this and ... | |
6582 | (forward_target_remove_breakpoint): ... this. | |
6583 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
6584 | Call forward_target_insert_breakpoint. | |
6585 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
6586 | Call forward_target_remove_breakpoint. | |
6587 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
6588 | and to_remove_breakpoint. | |
6589 | * corelow.c (ignore): Add target_ops parameter. | |
6590 | * exec.c (ignore): Add target_ops parameter. | |
6591 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
6592 | Add target_ops parameter. | |
6593 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
6594 | Add target_ops parameter. | |
6595 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
6596 | Add target_ops parameter. | |
6597 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
6598 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
6599 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
6600 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
6601 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
6602 | Update users. | |
6603 | (record_full_beneath_to_insert_breakpoint_ops) | |
6604 | (record_full_beneath_to_remove_breakpoint_ops) | |
6605 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
6606 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
6607 | tmp_to_remove_breakpoint_ops, | |
6608 | record_full_beneath_to_insert_breakpoint_ops, and | |
6609 | record_full_beneath_to_remove_breakpoint_ops. | |
6610 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
6611 | (m32r_remove_breakpoint): Add target_ops parameter. | |
6612 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
6613 | Add target_ops parameter. | |
6614 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
6615 | Add target_ops parameter. | |
6616 | ||
cecac1ab MM |
6617 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
6618 | Markus Metzger <markus.t.metzger@intel.com> | |
6619 | ||
6620 | * record-btrace.c: Include frame-unwind.h. | |
6621 | (record_btrace_frame_unwind_stop_reason) | |
6622 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
6623 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
6624 | New. | |
6625 | (init_record_btrace_ops): Install it. | |
6626 | ||
824344ca MM |
6627 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
6628 | ||
6629 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
6630 | get_prev_frame_1. | |
6631 | ||
32261e52 MM |
6632 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
6633 | ||
6634 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
6635 | earlier. | |
6636 | ||
ea001bdc MM |
6637 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
6638 | ||
6639 | * frame-unwind.c: Include target.h. | |
6640 | (frame_unwind_try_unwinder): New function with code from ... | |
6641 | (frame_unwind_find_by_frame): ... here. New variable | |
6642 | unwinder_from_target, call also target_get_unwinder) | |
6643 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
6644 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
6645 | * target.h (struct target_ops): New fields to_get_unwinder and | |
6646 | to_get_tailcall_unwinder. | |
6647 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
6648 | ||
1f3ef581 MM |
6649 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6650 | ||
6651 | * record-btrace.c (record_btrace_fetch_registers) | |
6652 | (record_btrace_store_registers) | |
6653 | (record_btrace_to_prepare_to_store): New. | |
6654 | (init_record_btrace_ops): Add the above. | |
6655 | ||
f32dbf8c MM |
6656 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
6657 | ||
6658 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
6659 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
6660 | argument. | |
6661 | (target_prepare_to_store): Add argument. | |
6662 | * target.c (debug_to_prepare_to_store): Add argument. | |
6663 | (update_current_target): Update. | |
6664 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
6665 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
6666 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
6667 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
6668 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
6669 | argument. | |
6670 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
6671 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
6672 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
6673 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
6674 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
6675 | ||
07bbe694 MM |
6676 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6677 | ||
6678 | * btrace.h (replay) <replay>: New. | |
6679 | (btrace_is_replaying): New. | |
6680 | * btrace.c (btrace_clear): Free replay iterator. | |
6681 | (btrace_is_replaying): New. | |
6682 | * record-btrace.c (record_btrace_is_replaying): New. | |
6683 | (record_btrace_info): Print insn number if replaying. | |
6684 | (record_btrace_insn_history): Start at replay position. | |
6685 | (record_btrace_call_history): Start at replay position. | |
6686 | (init_record_btrace_ops): Init to_record_is_replaying. | |
6687 | ||
0688d04e MM |
6688 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6689 | ||
6690 | * record-btrace.c (record_btrace_insn_history_range): Include | |
6691 | end. | |
6692 | (record_btrace_insn_history_from): Adjust range. | |
6693 | (record_btrace_call_history_range): Include | |
6694 | end. | |
6695 | (record_btrace_call_history_from): Adjust range. | |
6696 | * NEWS: Announce changes. | |
6697 | ||
8710b709 MM |
6698 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6699 | ||
6700 | * record.h (enum record_print_flag) | |
6701 | <record_print_indent_calls>: New. | |
6702 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
6703 | (_initialize_record): Document /c modifier. | |
6704 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
6705 | Reorder fields. Optionally indent the function name. Update | |
6706 | all users. | |
6707 | * NEWS: Announce changes. | |
6708 | ||
d0fa7535 MM |
6709 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6710 | ||
6711 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
6712 | ||
5de9129b MM |
6713 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6714 | ||
6715 | * btrace.c (ftrace_new_function): Start counting at one. | |
6716 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
6717 | and insns. | |
6718 | * NEWS: Announce it. | |
6719 | ||
7acbe133 MM |
6720 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6721 | ||
6722 | * record-btrace.c (btrace_call_history_insn_range): Print | |
6723 | insn range as [begin, end]. | |
6724 | ||
23a7fe75 MM |
6725 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6726 | ||
6727 | * btrace.h (struct btrace_func_link): New. | |
6728 | (enum btrace_function_flag): New. | |
6729 | (struct btrace_inst): Rename to ... | |
6730 | (struct btrace_insn): ...this. Update all users. | |
6731 | (struct btrace_func) <ibegin, iend>: Remove. | |
6732 | (struct btrace_func_link): New. | |
6733 | (struct btrace_func): Rename to ... | |
6734 | (struct btrace_function): ...this. Update all users. | |
6735 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
6736 | (number, level, flags>: New. | |
6737 | (struct btrace_insn_iterator): Rename to ... | |
6738 | (struct btrace_insn_history): ...this. | |
6739 | Update all users. | |
6740 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
6741 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
6742 | (struct btrace_target_info) <begin, end, level> | |
6743 | <insn_history, call_history>: New. | |
6744 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
6745 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
6746 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
6747 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
6748 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
6749 | (btrace_find_function_by_number, btrace_set_insn_history) | |
6750 | (btrace_set_call_history): New. | |
6751 | * btrace.c (btrace_init_insn_iterator) | |
6752 | (btrace_init_func_iterator, compute_itrace): Remove. | |
6753 | (ftrace_print_function_name, ftrace_print_filename) | |
6754 | (ftrace_skip_file): Change | |
6755 | parameter to const. | |
6756 | (ftrace_init_func): Remove. | |
6757 | (ftrace_debug): Use new btrace_function fields. | |
6758 | (ftrace_function_switched): Also consider gaining and | |
6759 | losing symbol information). | |
6760 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
6761 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
6762 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
6763 | New. | |
6764 | (ftrace_new_function): Move. Remove debug print. | |
6765 | (ftrace_update_lines, ftrace_update_insns): New. | |
6766 | (ftrace_update_function): Check for call, ret, and jump. | |
6767 | (compute_ftrace): Renamed to ... | |
6768 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
6769 | stack. | |
6770 | (btrace_fetch, btrace_clear): Updated. | |
6771 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
6772 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
6773 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
6774 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
6775 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
6776 | (btrace_find_function_by_number, btrace_set_insn_history) | |
6777 | (btrace_set_call_history): New. | |
6778 | * record-btrace.c (require_btrace): Use new btrace thread | |
6779 | info fields. | |
6780 | (record_btrace_info, btrace_insn_history) | |
6781 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
6782 | Use new btrace thread info fields and new iterator. | |
6783 | (btrace_func_history_src_line): Rename to ... | |
6784 | (btrace_call_history_src_line): ...this. Use new btrace | |
6785 | thread info fields. | |
6786 | (btrace_func_history): Rename to ... | |
6787 | (btrace_call_history): ...this. Use new btrace thread info | |
6788 | fields and new iterator. | |
6789 | (record_btrace_call_history, record_btrace_call_history_range): | |
6790 | Use new btrace thread info fields and new iterator. | |
6791 | ||
8372a7cb MM |
6792 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6793 | ||
6794 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
6795 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
6796 | ||
c2170eef MM |
6797 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6798 | ||
6799 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
6800 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
6801 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
6802 | to gdbarch. | |
6803 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
6804 | (i386_insn_is_jump, i386_jmp_p): New. | |
6805 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
6806 | insn_is_jump to gdbarch. | |
6807 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
6808 | * gdbarch.h: Regenerated. | |
6809 | * gdbarch.c: Regenerated. | |
6810 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
6811 | (default_insn_is_jump): New. | |
6812 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
6813 | (default_insn_is_jump): New. | |
6814 | ||
864089d2 MM |
6815 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6816 | ||
6817 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
6818 | Change to ... | |
6819 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
6820 | (btrace_read_type) <btrace_read_new>: Change to ... | |
6821 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
6822 | ||
ed9edfb5 MM |
6823 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
6824 | ||
6825 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
6826 | previous iteration. | |
6827 | ||
fbcbc3fd DE |
6828 | 2014-01-15 Doug Evans <dje@google.com> |
6829 | ||
6830 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
6831 | uint32_t. | |
6832 | ||
3d548a53 TT |
6833 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
6834 | ||
6835 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
6836 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
6837 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
6838 | (set_objfile_main_name): New function. | |
6839 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
6840 | language_of_main>: New fields. | |
6841 | (set_objfile_main_name): Declare. | |
6842 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
6843 | name and language. | |
6844 | (set_main_name): Now static. | |
6845 | (get_main_info): Add comment. | |
6846 | * symtab.h (set_main_name): Don't declare. | |
6847 | ||
32ac0d11 TT |
6848 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
6849 | ||
6850 | * symtab.c (main_progspace_key): New global. | |
6851 | (struct main_info): New. | |
6852 | (name_of_main, language_of_main): Remove. | |
6853 | (get_main_info, main_info_cleanup): New function. | |
6854 | (set_main_name, main_name, main_language): Use get_main_info. | |
6855 | (_initialize_symtab): Initialize main_progspace_key. | |
6856 | ||
9e6c82ad TT |
6857 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
6858 | ||
6859 | * dbxread.c (process_one_symbol): Update. | |
6860 | * dwarf2read.c (read_partial_die): Update. | |
6861 | * symfile.c (set_initial_language): Call main_language. | |
6862 | * symtab.c (language_of_main): Now static. | |
6863 | (set_main_name): Add 'lang' parameter. | |
6864 | (find_main_name): Update. | |
6865 | (main_language): New function. | |
6866 | (symtab_observer_executable_changed): Update. | |
6867 | * symtab.h (set_main_name): Update. | |
6868 | (language_of_main): Remove. | |
6869 | (main_language): Declare. | |
6870 | ||
6ef55de7 TT |
6871 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
6872 | ||
6873 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
6874 | Update. | |
6875 | * objfiles.h (struct entry_point) <initialized>: New field. | |
6876 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
6877 | (struct objfile) <ei>: ...here. Remove. | |
6878 | * objfiles.c (entry_point_address_query): Update. | |
6879 | ||
53eddfa6 TT |
6880 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
6881 | ||
6882 | * objfiles.c (entry_point_address_query): Relocate entry point | |
6883 | address. | |
6884 | (objfile_relocate1): Do not relocate entry point address. | |
6885 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
6886 | <the_bfd_section_index>: New field. | |
6887 | * symfile.c (init_entry_point_info): Find the entry point's | |
6888 | section. | |
6889 | ||
d56e56aa TT |
6890 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
6891 | ||
6892 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
6893 | ||
33a97bbe OJ |
6894 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
6895 | ||
6896 | * NEWS: Add note on improved process record-replay on | |
6897 | arm*-linux* targets. | |
6898 | ||
c6ec2b30 OJ |
6899 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
6900 | ||
6901 | * arm-tdep.c (enum arm_record_result): New enum. | |
6902 | (arm_record_unsupported_insn): New function. | |
6903 | (arm_record_coproc_data_proc): Removed. | |
6904 | (thumb2_record_ld_st_multiple): New function. | |
6905 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
6906 | (thumb2_record_data_proc_sreg_mimm): New function. | |
6907 | (thumb2_record_ps_dest_generic): New function. | |
6908 | (thumb2_record_branch_misc_cntrl): New function. | |
6909 | (thumb2_record_str_single_data): New function. | |
6910 | (thumb2_record_ld_mem_hints): New function. | |
6911 | (thumb2_record_ld_word): New function. | |
6912 | (thumb2_record_lmul_lmla_div): New function. | |
6913 | (thumb2_record_decode_insn_handler): New function. | |
6914 | (decode_insn): Add thumb32 instruction handlers. | |
6915 | ||
97dfe206 OJ |
6916 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
6917 | ||
6918 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
6919 | (struct arm_linux_record_tdep): Declare. | |
6920 | (arm_canonicalize_syscall): New function. | |
6921 | (arm_all_but_pc_registers_record): New function. | |
6922 | (arm_linux_syscall_record): New function. | |
6923 | (arm_linux_init_abi): Add syscall recording constructs. | |
6924 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
6925 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
6926 | decoding. | |
6927 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
6928 | <arm_syscall_record>: New field. | |
6929 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
6930 | gdb_target_obs. | |
6931 | ||
9904a494 OJ |
6932 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
6933 | ||
6934 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
6935 | register for push instruction recording. | |
6936 | ||
f969241e OJ |
6937 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
6938 | ||
6939 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
6940 | error while recording ldm, ldmia and pop instructions. | |
6941 | ||
bfbbec00 OJ |
6942 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
6943 | ||
6944 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
6945 | ||
e40adcc9 PA |
6946 | 2014-01-15 Pedro Alves <palves@redhat.com> |
6947 | ||
6948 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
6949 | (go32_resume, go32_fetch_registers, store_register) | |
6950 | (go32_store_registers, go32_prepare_to_store) | |
6951 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
6952 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
6953 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
6954 | declarations. | |
6955 | ||
b0a16e66 TT |
6956 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
6957 | ||
6958 | * target.h (async_callback_ftype): New typedef. | |
6959 | (struct target_ops) <to_async>: Use it. | |
6960 | ||
bf7105a4 JB |
6961 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
6962 | ||
6963 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
6964 | braces for single-statement if block. | |
6965 | ||
a8f35c2e JB |
6966 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
6967 | ||
6968 | * python/py-type.c (convert_field): Add missing empty line | |
6969 | after declarations. | |
6970 | ||
bb4142cf DE |
6971 | 2014-01-14 Doug Evans <dje@google.com> |
6972 | ||
6973 | * symfile.h (expand_symtabs_matching): Renamed from | |
6974 | expand_partial_symbol_names. Update prototype. | |
6975 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
6976 | * symfile.c (expand_symtabs_matching): Renamed from | |
6977 | expand_partial_symbol_names. New args file_matcher, kind. | |
6978 | Rename arg fun to symbol_matcher. | |
6979 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
6980 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
6981 | ada_expand_partial_symbol_name. | |
6982 | (ada_make_symbol_completion_list): Update to call | |
6983 | expand_symtabs_matching. | |
6984 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
6985 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
6986 | call map_symbol_filenames. | |
6987 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
6988 | (search_symbols): Call expand_symtabs_matching. | |
6989 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
6990 | (default_make_symbol_completion_list_break_on): Update to call | |
6991 | expand_symtabs_matching. | |
6992 | (make_source_files_completion_list): Update to call | |
6993 | map_symbol_filenames. | |
6994 | ||
206f2a57 DE |
6995 | 2014-01-14 Doug Evans <dje@google.com> |
6996 | ||
6997 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
6998 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
6999 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
7000 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
7001 | * symfile.c (expand_partial_symbol_names): Update to use | |
7002 | expand_symtabs_symbol_matcher_ftype. | |
7003 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
7004 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
7005 | Arg name_matcher renamed to symbol_matcher. | |
7006 | * psymtab.c (recursively_search_psymtabs): Update to use | |
7007 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
7008 | sym_matcher. | |
7009 | (expand_symtabs_matching_via_partial): Update to use | |
7010 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
7011 | Arg name_matcher renamed to symbol_matcher. | |
7012 | ||
540c2971 DE |
7013 | 2014-01-14 Doug Evans <dje@google.com> |
7014 | ||
7015 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
7016 | (map_partial_symbol_filenames): Ditto. | |
7017 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
7018 | (map_partial_symbol_filenames): Ditto. | |
7019 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
7020 | (map_partial_symbol_filenames): Ditto. | |
7021 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
7022 | (map_partial_symbol_filenames): Ditto. | |
7023 | * symtab.c: Delete #include "psymtab.h". | |
7024 | ||
8213266a PA |
7025 | 2014-01-14 Pedro Alves <palves@redhat.com> |
7026 | Tom Tromey <tromey@redhat.com> | |
7027 | ||
7028 | * infrun.c (use_displaced_stepping): Use find_record_target | |
7029 | instead of RECORD_IS_USED. | |
7030 | (adjust_pc_after_break): Use record_full_is_used instead of | |
7031 | RECORD_IS_USED. | |
7032 | * record-btrace.c (record_btrace_open): Call record_preopen | |
7033 | instead of checking RECORD_IS_USED. | |
7034 | * record-full.c (record_full_shortname) | |
7035 | (record_full_core_shortname): New globals. | |
7036 | (record_full_is_used): New function. | |
7037 | (find_full_open): Call record_preopen instead of checking | |
7038 | RECORD_IS_USED. | |
7039 | (init_record_full_ops): Set the target's shortname to | |
7040 | record_full_shortname. | |
7041 | (init_record_full_core_ops): Set the target's shortname to | |
7042 | record_full_core_shortname. | |
7043 | * record-full.h (record_full_is_used): Declare. | |
7044 | * record.c (find_record_target): Make extern. | |
7045 | (record_preopen): New function. | |
7046 | * record.h (RECORD_IS_USED): Delete macro. | |
7047 | (find_record_target, record_preopen): Declare functions. | |
7048 | ||
7ec1862d YQ |
7049 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
7050 | ||
7051 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
7052 | 'len''s type to ULONGEST. | |
7053 | (core_xfer_shared_libraries_aix): Likewise. | |
7054 | * gdbarch.c, gdbarch.h: Regenerated. | |
7055 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
7056 | Change type of 'len' to ULONGEST. | |
7057 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
7058 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
7059 | ||
dea80a27 YQ |
7060 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
7061 | ||
7062 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
7063 | type of 'len' to ULONGEST. | |
7064 | (linux_xfer_osdata_processgroups): Likewise. | |
7065 | (linux_xfer_osdata_threads): Likewise. | |
7066 | (linux_xfer_osdata_fds): Likewise. | |
7067 | (linux_xfer_osdata_isockets): Likewise. | |
7068 | (linux_xfer_osdata_shm): Likewise. | |
7069 | (linux_xfer_osdata_sem): Likewise. | |
7070 | (linux_xfer_osdata_msg): Likewise. | |
7071 | (linux_common_xfer_osdata): Likewise. | |
7072 | (struct osdata_type) <getter>: Likewise. | |
7073 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
7074 | the declaration. | |
7075 | ||
b55e14c7 YQ |
7076 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
7077 | ||
7078 | * target.h (target_xfer_partial_ftype): Update. | |
7079 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
7080 | ULONGEST. | |
7081 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
7082 | argument 'len' to ULONGEST. | |
7083 | * auxv.c (procfs_xfer_auxv): Likewise. | |
7084 | (ld_so_xfer_auxv): Likewise. | |
7085 | (memory_xfer_auxv): Likewise. | |
7086 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
7087 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
7088 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
7089 | * corelow.c (core_xfer_partial): Likewise. | |
7090 | * ctf.c (ctf_xfer_partial): Likewise. | |
7091 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
7092 | '%u'. | |
7093 | (darwin_read_dyld_info): Likewise. | |
7094 | (darwin_xfer_partial): Likewise. | |
7095 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
7096 | (exec_xfer_partial): Likewise. | |
7097 | * exec.h (section_table_xfer_memory_partial): Update | |
7098 | declaration. | |
7099 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
7100 | instead of plongest. | |
7101 | (gnu_xfer_partial): Likewise. | |
7102 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
7103 | (ia64_hpux_xfer_solib_got): Likewise. | |
7104 | (ia64_hpux_xfer_partial): Likewise. | |
7105 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
7106 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
7107 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
7108 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
7109 | (linux_nat_xfer_partial): Likewise. | |
7110 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
7111 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
7112 | * monitor.c (monitor_xfer_memory): Likewise. | |
7113 | (monitor_xfer_partial): Likewise. | |
7114 | * procfs.c (procfs_xfer_partial): Likewise. | |
7115 | * record-full.c (record_full_xfer_partial): Likewise. | |
7116 | (record_full_core_xfer_partial): Likewise. | |
7117 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
7118 | instead of plongest. | |
7119 | (gdbsim_xfer_partial): Likewise. | |
7120 | * remote.c (remote_xfer_partial): Likewise. | |
7121 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
7122 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
7123 | declaration. | |
7124 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
7125 | (rs6000_xfer_shared_libraries): Likewise. | |
7126 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
7127 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
7128 | (sparc_xfer_partial): Likewise. | |
7129 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
7130 | (spu_xfer_partial): Likewise. | |
7131 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
7132 | * target.c (target_read_live_memory): Likewise. | |
7133 | (memory_xfer_live_readonly_partial): Likewise. | |
7134 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
7135 | (target_xfer_partial, default_xfer_partial): Likewise. | |
7136 | (current_xfer_partial): Likewise. | |
7137 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
7138 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
7139 | pulongest instead of plongest. | |
7140 | (windows_xfer_partial): Likewise. | |
7141 | (windows_xfer_shared_libraries): Likewise. | |
7142 | ||
05804640 YQ |
7143 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
7144 | ||
7145 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
7146 | target_xfer_partial_ftype. | |
7147 | ||
b5b08fb4 SC |
7148 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
7149 | ||
7150 | PR python/15464 | |
7151 | PR python/16113 | |
7152 | * valops.c (value_struct_elt_bitpos): New function | |
7153 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
7154 | object to 'None' if the field name is an empty string (""). | |
7155 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
7156 | attribute to look for a field when 'name' is 'None'. | |
7157 | (get_field_type): New function | |
7158 | ||
13aaf454 DE |
7159 | 2014-01-13 Doug Evans <dje@google.com> |
7160 | ||
7161 | PR symtab/16426 | |
7162 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
7163 | (try_open_dwop_file): Ditto. | |
7164 | * gdb_bfd.c: #include "vec.h". | |
7165 | (bfdp): New typedef. | |
7166 | (struct gdb_bfd_data): New member included_bfds. | |
7167 | (gdb_bfd_unref): Unref all included bfds. | |
7168 | (gdb_bfd_record_inclusion): New function. | |
7169 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
7170 | ||
c2cec97c TT |
7171 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7172 | ||
7173 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
7174 | ||
78e5999d TT |
7175 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7176 | ||
7177 | * defs.h (use_windows): Remove. | |
7178 | * gdb.c (main): Update. | |
7179 | * main.c (captured_main, gdb_main): Update. | |
7180 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
7181 | * top.c (use_windows): Remove. | |
7182 | ||
f2052bbe TT |
7183 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7184 | ||
7185 | * defs.h (deprecated_flush_hook): Remove. | |
7186 | ||
fde4f8ed JK |
7187 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
7188 | ||
7189 | PR threads/16216 | |
7190 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
7191 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
7192 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
7193 | (try_thread_db_load_from_sdir): Update caller. | |
7194 | (try_thread_db_load_from_dir): Move it there from here. | |
7195 | ||
bdf61915 PP |
7196 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
7197 | ||
7198 | * regformats/regdat.sh: Always rewrite the register file. | |
7199 | ||
f71e1a8d PA |
7200 | 2014-01-13 Pedro Alves <palves@redhat.com> |
7201 | ||
7202 | * Makefile.in (CHECK_HEADERS): New variable. | |
7203 | (check-headers:): New rule. | |
7204 | ||
42c85435 TT |
7205 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7206 | ||
7207 | * cli/cli-setshow.c (do_set_command): Update. | |
7208 | * defs.h (deprecated_set_hook): Remove. | |
7209 | * top.c (deprecated_set_hook): Remove. | |
7210 | ||
f8de5129 PA |
7211 | 2014-01-13 Pedro Alves <palves@redhat.com> |
7212 | ||
7213 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
7214 | the tracepoint if the PC is a pseudo-register. | |
7215 | ||
fc270c35 TT |
7216 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7217 | ||
7218 | * defs.h (XCALLOC): Remove. | |
7219 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
7220 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
7221 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
7222 | * elfread.c (elf_symfile_segments): Likewise. | |
7223 | (elf_symfile_segments): Likewise. | |
7224 | * gdbtypes.c (copy_type_recursive): Likewise. | |
7225 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
7226 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
7227 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
7228 | XCALLOC. | |
7229 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
7230 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
7231 | XCALLOC. | |
7232 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
7233 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
7234 | * registry.c (registry_alloc_data): Likewise. | |
7235 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
7236 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
7237 | * serial.c (serial_fdopen_ops): Likewise. | |
7238 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
7239 | XCALLOC. | |
7240 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
7241 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
7242 | not XCALLOC. | |
7243 | ||
70ba0933 TT |
7244 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7245 | ||
7246 | * defs.h (XMALLOC): Remove. | |
7247 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
7248 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
7249 | * cli-out.c (struct ui_out *): Likewise. | |
7250 | * cli/cli-dump.c (add_dump_command): Likewise. | |
7251 | (add_dump_command): Likewise. | |
7252 | * complaints.c (get_complaints): Likewise. | |
7253 | (find_complaint): Likewise. | |
7254 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
7255 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
7256 | * gdbarch.sh: Likewise. | |
7257 | * gdbarch.c: Rebuild. | |
7258 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
7259 | * interps.c (interp_new): Likewise. | |
7260 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
7261 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
7262 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
7263 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
7264 | * mi/mi-out.c (mi_out_new): Likewise. | |
7265 | * mi/mi-parse.c (mi_parse): Likewise. | |
7266 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
7267 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
7268 | * observer.c (xalloc_observer_list_node): Likewise. | |
7269 | * regcache.c (regcache_xmalloc_1): Likewise. | |
7270 | * reggroups.c (reggroup_new): Likewise. | |
7271 | (_initialize_reggroup): Likewise. | |
7272 | * registry.c (register_data_with_cleanup): Likewise. | |
7273 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
7274 | * ser-base.c (serial_ttystate): Likewise. | |
7275 | * ser-mingw.c (make_pipe_state): Likewise. | |
7276 | * ser-pipe.c (pipe_open): Likewise. | |
7277 | * serial.c (serial_open): Likewise. | |
7278 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
7279 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
7280 | (tui_alloc_win_info): Likewise. | |
7281 | (tui_add_content_elements): Likewise. | |
7282 | * tui/tui-file.c (tui_file_new): Likewise. | |
7283 | * tui/tui-out.c (tui_out_new): Likewise. | |
7284 | * ui-file.c (mem_file_new): Likewise. | |
7285 | * ui-out.c (push_level): Likewise. | |
7286 | (make_cleanup_ui_out_end): Likewise. | |
7287 | (append_header_to_list): Likewise. | |
7288 | (ui_out_new): Likewise. | |
7289 | * user-regs.c (user_reg_add_builtin): Likewise. | |
7290 | ||
41bf6aca TT |
7291 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
7292 | ||
7293 | * defs.h (XZALLOC): Remove. | |
7294 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
7295 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
7296 | (get_ada_tasks_inferior_data): Likewise. | |
7297 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
7298 | * auxv.c (get_auxv_inferior_data): Likewise. | |
7299 | * bfd-target.c (target_bfd_reopen): Likewise. | |
7300 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
7301 | (deprecated_insert_raw_breakpoint): Likewise. | |
7302 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
7303 | * corelow.c (core_open): Likewise. | |
7304 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
7305 | (darwin_attach_pid): Likewise. | |
7306 | * dummy-frame.c (dummy_frame_push): Likewise. | |
7307 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
7308 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
7309 | * elfread.c (elf_symfile_segments): Likewise. | |
7310 | * eval.c (ptrmath_type_p): Likewise. | |
7311 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
7312 | * gdbtypes.c (alloc_type_arch): Likewise. | |
7313 | (alloc_type_instance): Likewise. | |
7314 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
7315 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
7316 | * inflow.c (get_inflow_inferior_data): Likewise. | |
7317 | * infrun.c (save_infcall_suspend_state): Likewise. | |
7318 | * jit.c (jit_reader_load): Likewise. | |
7319 | (get_jit_objfile_data): Likewise. | |
7320 | (get_jit_program_space_data): Likewise. | |
7321 | (jit_object_open_impl): Likewise. | |
7322 | (jit_symtab_open_impl): Likewise. | |
7323 | (jit_block_open_impl): Likewise. | |
7324 | (jit_frame_sniffer): Likewise. | |
7325 | * linux-fork.c (add_fork): Likewise. | |
7326 | * maint.c (make_command_stats_cleanup): Likewise. | |
7327 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
7328 | * opencl-lang.c (struct lval_closure): Likewise. | |
7329 | * osdata.c (osdata_start_osdata): Likewise. | |
7330 | * progspace.c (new_address_space): Likewise. | |
7331 | (add_program_space): Likewise. | |
7332 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
7333 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
7334 | * skip.c (Ignore): Likewise. | |
7335 | (skip_delete_command): Likewise. | |
7336 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
7337 | (library_list_start_library): Likewise. | |
7338 | (solib_aix_current_sos): Likewise. | |
7339 | * solib-darwin.c (get_darwin_info): Likewise. | |
7340 | (darwin_current_sos): Likewise. | |
7341 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
7342 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
7343 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
7344 | * solib-spu.c (append_ocl_sos): Likewise. | |
7345 | (spu_current_sos): Likewise. | |
7346 | * solib-svr4.c (get_svr4_info): Likewise. | |
7347 | (svr4_keep_data_in_core): Likewise. | |
7348 | (library_list_start_library): Likewise. | |
7349 | (svr4_default_sos): Likewise. | |
7350 | (svr4_read_so_list): Likewise. | |
7351 | * solib-target.c (library_list_start_library): Likewise. | |
7352 | (solib_target_current_sos): Likewise. | |
7353 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
7354 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
7355 | * symfile.c (default_symfile_segments): Likewise. | |
7356 | * target-descriptions.c (tdesc_data_init): Likewise. | |
7357 | (tdesc_create_reg): Likewise. | |
7358 | (struct tdesc_type *): Likewise. | |
7359 | (tdesc_create_vector): Likewise. | |
7360 | (tdesc_set_struct_size): Likewise. | |
7361 | (struct tdesc_type *): Likewise. | |
7362 | (tdesc_free_feature): Likewise. | |
7363 | (tdesc_create_feature): Likewise. | |
7364 | * windows-nat.c (windows_add_thread): Likewise. | |
7365 | (windows_make_so): Likewise. | |
7366 | * xml-support.c (gdb_xml_body_text): Likewise. | |
7367 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
7368 | (xml_process_xincludes): Likewise. | |
7369 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
7370 | (syscall_create_syscall_desc): Likewise. | |
7371 | ||
5acfdbae SDJ |
7372 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
7373 | ||
7374 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
7375 | function, with code from i386_stap_parse_special_token. | |
7376 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
7377 | (i386_stap_parse_special_token): Move code to the two functions | |
7378 | above; simplify it. | |
7379 | ||
0000e5cc PA |
7380 | 2014-01-09 Pedro Alves <palves@redhat.com> |
7381 | Hui Zhu <hui@codesourcery.com> | |
7382 | ||
7383 | PR gdb/16101 | |
7384 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
7385 | bp_err_string. Don't mark the location shlib_disabled if the | |
7386 | error thrown wasn't a generic or memory error. Catch errors | |
7387 | thrown while inserting breakpoints in overlayed code. Output | |
7388 | error message of software breakpoints. | |
7389 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
7390 | target-side commands but this stub doesn't support Z0 packets, | |
7391 | throw NOT_SUPPORTED_ERROR error. | |
7392 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
7393 | * target.h (target_insert_breakpoint): Extend comment. | |
7394 | (target_insert_hw_breakpoint): Add comment. | |
7395 | ||
b7ea362b PA |
7396 | 2014-01-08 Pedro Alves <palves@redhat.com> |
7397 | ||
7398 | * remote.c (remote_add_thread): Add threads silently if starting | |
7399 | up. | |
7400 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
7401 | don't call notice_new_inferior. | |
7402 | (get_current_thread): New function, factored out from ... | |
7403 | (add_current_inferior_and_thread): ... this. Adjust. | |
7404 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
7405 | found any thread, then select the remote's current thread as GDB's | |
7406 | current thread too. | |
7407 | ||
b7bba001 JB |
7408 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
7409 | ||
7410 | * NEWS: Create a new section for the next release branch. | |
7411 | Rename the section of the current branch, now that it has | |
7412 | been cut. | |
7413 | ||
16dfbded JB |
7414 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
7415 | ||
7416 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
7417 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
7418 | ||
22c90ac1 YQ |
7419 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
7420 | ||
7421 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
7422 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
7423 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
7424 | ||
d64ad97c YQ |
7425 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
7426 | ||
7427 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
7428 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
7429 | ||
f93ba80c PM |
7430 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
7431 | ||
7432 | Fix PR16201. | |
7433 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
7434 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
7435 | to prim_record_mininal_symbol_and_info. | |
7436 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
7437 | in call to prim_record_minimal_symbol_and_info. | |
7438 | (read_pe_exported_syms): Set index field of section_data. | |
7439 | ||
a4d9ba85 AP |
7440 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
7441 | ||
7442 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
7443 | * features/aarch64.c: Regenerate. | |
7444 | ||
1b67eb02 AS |
7445 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
7446 | ||
7447 | * target.c (return_null): Define. | |
7448 | (update_current_target): Use it instead of return_zero for | |
7449 | functions that return a pointer. | |
7450 | ||
5e3f4fab EBM |
7451 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
7452 | ||
7453 | * source.c (add_path): Fix check for duplicated paths in the previously | |
7454 | included paths. | |
7455 | ||
e2616788 HK |
7456 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
7457 | ||
7458 | * ada-lang.c: Remove duplicated include statements. | |
7459 | * alphabsd-nat.c: Ditto. | |
7460 | * amd64-darwin-tdep.c: Ditto. | |
7461 | * amd64fbsd-nat.c: Ditto. | |
7462 | * auto-load.c: Ditto. | |
7463 | * ax-gdb.c: Ditto. | |
7464 | * breakpoint.c: Ditto. | |
7465 | * dbxread.c: Ditto. | |
7466 | * fork-child.c: Ditto. | |
7467 | * gdb_usleep.c: Ditto. | |
7468 | * i386-darwin-tdep.c: Ditto. | |
7469 | * i386fbsd-nat.c: Ditto. | |
7470 | * infcmd.c: Ditto. | |
7471 | * inferior.c: Ditto. | |
7472 | * jv-lang.c: Ditto. | |
7473 | * linux-nat.c: Ditto. | |
7474 | * linux-tdep.c: Ditto. | |
7475 | * m68kbsd-nat.c: Ditto. | |
7476 | * m68klinux-nat.c: Ditto. | |
7477 | * microblaze-tdep.c: Ditto. | |
7478 | * mips-linux-tdep.c: Ditto. | |
7479 | * mn10300-tdep.c: Ditto. | |
7480 | * nto-tdep.c: Ditto. | |
7481 | * opencl-lang.c: Ditto. | |
7482 | * osdata.c: Ditto. | |
7483 | * printcmd.c: Ditto. | |
7484 | * regcache.c: Ditto. | |
7485 | * remote-m32r-sdi.c: Ditto. | |
7486 | * remote.c: Ditto. | |
7487 | * symfile.c: Ditto. | |
7488 | * symtab.c: Ditto. | |
7489 | * tilegx-linux-nat.c: Ditto. | |
7490 | * tilegx-tdep.c: Ditto. | |
7491 | * tracepoint.c: Ditto. | |
7492 | * valops.c: Ditto. | |
7493 | * vaxbsd-nat.c: Ditto. | |
7494 | * windows-nat.c: Ditto. | |
7495 | * xtensa-tdep.c: Ditto. | |
7496 | ||
bd1f7788 YQ |
7497 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7498 | ||
7499 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
7500 | ||
79301218 JB |
7501 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7502 | Joel Brobecker <brobecker@adacore.com> | |
7503 | ||
7504 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
7505 | (pdc_write_regs): Likewise. | |
7506 | (fetch_regs_kernel_thread): Likewise. | |
7507 | (store_regs_kernel_thread): Likewise. | |
7508 | ||
7509 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
7510 | ||
7511 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
7512 | tagged type objects to their actual type. | |
7513 | ||
8e355c5d JB |
7514 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7515 | ||
7516 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
7517 | Update calls to print_field_values and print_variant_part. | |
7518 | Pass new parameter "language" in call to val_print instead | |
7519 | of "current_language". Replace call to ada_val_print by call | |
7520 | to val_print. | |
7521 | (print_variant_part): Add "language" parameter. | |
7522 | (ada_val_print_struct_union): Update call to print_field_values. | |
7523 | ||
4fbf5aa5 JB |
7524 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7525 | ||
7526 | * ada-valprint.c (ui_memcpy): Delete. | |
7527 | (ada_print_floating): Update documentation. Add empty line | |
7528 | between between function documentation and implementation. | |
7529 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
7530 | ui_file_put. Minor adjustments following this change. | |
7531 | ||
71855601 JB |
7532 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7533 | ||
7534 | * ada-valprint.c (ada_val_print_string): New function, | |
7535 | extracted from ada_val_print_array. | |
7536 | (ada_val_print_array): Replace extracted code by call | |
7537 | to ada_val_print_string followed by a return. Move | |
7538 | "else" branch to the function's top block. | |
7539 | ||
4eb27a30 JB |
7540 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7541 | ||
7542 | * ada-valprint.c (ada_val_print_array): Move implementation | |
7543 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
7544 | and "original_value" respectively. Add parameter "offset". | |
7545 | ||
34b27950 JB |
7546 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7547 | ||
7548 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
7549 | re-organizing the code. Change the "???" message printed | |
7550 | when target type is a TYPE_CODE_UNDEF into | |
7551 | "<ref to undefined type>". | |
7552 | ||
079e4591 JB |
7553 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7554 | ||
7555 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
7556 | (ada_val_print_struct_union): ... here. Remove call to | |
7557 | ada_check_typedef in inlined implementation. | |
7558 | ||
8004dfd1 JB |
7559 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7560 | ||
7561 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
7562 | extracted from ada_val_print_1; | |
7563 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
7564 | (ada_val_print_flt, ada_val_print_struct_union) | |
7565 | (ada_val_print_ref): Likewise. | |
7566 | (ada_val_print_1): Delete variables i and elttype. | |
7567 | Replace extracted-out code by call to corresponding | |
7568 | new functions. | |
7569 | ||
760a2db0 JB |
7570 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7571 | ||
7572 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
7573 | ||
3a92c861 JB |
7574 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7575 | ||
7576 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
7577 | ada_val_print_1 by calls to val_print. | |
7578 | ||
cd1630f9 JB |
7579 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7580 | ||
7581 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
7582 | Update calls to self accordingly. Replace calls to c_val_print | |
7583 | by calls to val_print. | |
7584 | ||
bdf779a0 JB |
7585 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7586 | ||
7587 | * ada-valprint.c (print_record): Delete declaration. | |
7588 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
7589 | (ada_val_print): Move function implementation down. | |
7590 | (print_variant_part, print_field_values, print_record): | |
7591 | Move function implementation up. | |
7592 | ||
c0d48811 JB |
7593 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
7594 | ||
7595 | * python/py-type.c (typy_get_name): New function. | |
7596 | (type_object_getset): Add entry for attribute "name". | |
7597 | * NEWS: Add entry mentioning this new attribute. | |
7598 | ||
c26e9cbb YQ |
7599 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7600 | ||
7601 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
7602 | statement. | |
7603 | ||
0cc6f43d YQ |
7604 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7605 | ||
7606 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
7607 | argument args. | |
7608 | ||
eec03155 YQ |
7609 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7610 | ||
7611 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
7612 | ||
f04a82ef YQ |
7613 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7614 | ||
7615 | * gnu-nat.c (make_inf) Update declaration. | |
7616 | (make_inf): Make it static. | |
7617 | (inf_set_traced): Likewise. | |
7618 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
7619 | ||
d57dda0a YQ |
7620 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7621 | ||
7622 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
7623 | ||
3aa8c969 YQ |
7624 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7625 | ||
7626 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
7627 | ||
94123b4f YQ |
7628 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
7629 | ||
7630 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
7631 | 'enum bfd_endian'. | |
7632 | (struct gdbarch_info) <byte_order>: Change type to | |
7633 | 'enum bfd_endian'. | |
7634 | <byte_order_for_code>: Likewise. | |
7635 | * gdbarch.c, gdbarch.h: Regenerated. | |
7636 | ||
dc81d70a TT |
7637 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
7638 | ||
7639 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
7640 | ||
cc2f3c35 TT |
7641 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
7642 | ||
7643 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
7644 | CONST. | |
7645 | * somread.c (som_symtab_read): Likewise. | |
7646 | ||
adcf2eed HZ |
7647 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
7648 | ||
7649 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
7650 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
7651 | (gdb_bfd_fopen): Ditto. | |
7652 | (gdb_bfd_openr): Ditto. | |
7653 | (gdb_bfd_openw): Ditto. | |
7654 | (gdb_bfd_openr_iovec): Ditto. | |
7655 | (gdb_bfd_fdopenr): Ditto. | |
7656 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
7657 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
7658 | with xstrdup. | |
7659 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
7660 | with xstrdup. | |
7661 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
7662 | gdb_bfd_stash_filename. | |
7663 | ||
50722198 DE |
7664 | 2014-01-03 Doug Evans <dje@google.com> |
7665 | ||
7666 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
7667 | output. | |
7668 | ||
2fa4b862 JB |
7669 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
7670 | ||
7671 | Update year range in copyright notice of all files. | |
7672 | ||
28498c42 JB |
7673 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
7674 | ||
7675 | * top.c (print_gdb_version): Set copyright year to 2014. | |
7676 | ||
7b6e1046 JB |
7677 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
7678 | ||
7679 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
7680 | ||
df96af55 | 7681 | For older changes see ChangeLog-2013. |
c906108c SS |
7682 | \f |
7683 | Local Variables: | |
7684 | mode: change-log | |
7685 | left-margin: 8 | |
7686 | fill-column: 74 | |
7687 | version-control: never | |
57da7796 | 7688 | coding: utf-8 |
c906108c | 7689 | End: |