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