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