Commit | Line | Data |
---|---|---|
acd5494d PA |
1 | 2016-04-12 Pedro Alves <palves@redhat.com> |
2 | ||
3 | * remote-fileio.c (sigint_fileio_token, remote_fio_no_longjmp): | |
4 | Delete. | |
5 | (async_remote_fileio_interrupt): Delete. | |
6 | (remote_fileio_ctrl_c_signal_handler): Don't call the async signal | |
7 | handler. Instead just always set the ctrl_c flag. | |
8 | (remote_fileio_reply): Clear remote_fio_ctrl_c_flag before | |
9 | re-enabling the SIGINT handler. | |
10 | (remote_fileio_func_open, remote_fileio_func_close) | |
11 | (remote_fileio_func_read, remote_fileio_func_write) | |
12 | (remote_fileio_func_lseek, remote_fileio_func_rename) | |
13 | (remote_fileio_func_unlink, remote_fileio_func_stat) | |
14 | (remote_fileio_func_fstat, remote_fileio_func_gettimeofday) | |
15 | (remote_fileio_func_isatty, remote_fileio_func_system) | |
16 | (remote_fileio_request): Remove references to | |
17 | remote_fio_no_longjmp. | |
18 | (initialize_remote_fileio): Don't create an async signal handler. | |
19 | ||
d2acc30b PA |
20 | 2016-04-12 Pedro Alves <palves@redhat.com> |
21 | ||
22 | * event-top.c (stdin_event_handler): Call QUIT; | |
23 | (prompt_for_continue): Don't run with immediate_quit set. | |
24 | ||
ab33ab13 PA |
25 | 2016-04-12 Pedro Alves <palves@redhat.com> |
26 | ||
27 | * tui/tui-io.c (tui_redisplay_readline): Check | |
28 | gdb_in_secondary_prompt_p instead of immediate_quit. | |
29 | * tui/tui.c: Include top.h. | |
30 | (tui_rl_startup_hook): Check gdb_in_secondary_prompt_p instead of | |
31 | immediate_quit. | |
32 | ||
faa4ebe1 PA |
33 | 2016-04-12 Pedro Alves <palves@redhat.com> |
34 | ||
35 | * top.c (read_command_file): Inline command_loop here. | |
36 | (command_loop): Delete. | |
37 | ||
3212b858 PA |
38 | 2016-04-12 Pedro Alves <palves@redhat.com> |
39 | ||
40 | * top.c: Include "gdb_select.h". | |
41 | (gdb_readline_no_editing): Wait for input with gdb_select instead | |
42 | of blocking in fgetc. | |
43 | (command_line_input): Don't set immediate_quit. | |
44 | ||
4bf7b526 MG |
45 | 2016-04-08 Martin Galvan <martin.galvan@tallertechnologies.com> |
46 | ||
47 | * value.c (value_next): Make pass-by-reference parameters const-correct. | |
48 | (value_parent): Likewise. | |
49 | (value_enclosing_type): Likewise. | |
50 | (value_lazy): Likewise. | |
51 | (value_stack): Likewise. | |
52 | (value_embedded_offset): Likewise. | |
53 | (value_pointed_to_offset): Likewise. | |
54 | (value_raw_address): Likewise. | |
55 | (deprecated_value_modifiable): Likewise. | |
56 | (value_free_to_mark): Likewise. | |
57 | (value_release_to_mark): Likewise. | |
58 | (internalvar_name): Likewise. | |
59 | (readjust_indirect_value_type): Likewise. | |
60 | (value_initialized): Likewise. | |
61 | * value.h (value_next): Likewise. | |
62 | (value_parent): Likewise. | |
63 | (value_enclosing_type): Likewise. | |
64 | (value_lazy): Likewise. | |
65 | (value_stack): Likewise. | |
66 | (value_embedded_offset): Likewise. | |
67 | (value_pointed_to_offset): Likewise. | |
68 | (value_raw_address): Likewise. | |
69 | (deprecated_value_modifiable): Likewise. | |
70 | (value_free_to_mark): Likewise. | |
71 | (value_release_to_mark): Likewise. | |
72 | (internalvar_name): Likewise. | |
73 | (readjust_indirect_value_type): Likewise. | |
74 | (value_initialized): Likewise. | |
75 | ||
e390720b YQ |
76 | 2016-04-07 Yao Qi <yao.qi@linaro.org> |
77 | ||
78 | * record-full.c (record_full_insert_breakpoint): Return | |
79 | early if entry on the address is found in | |
80 | record_full_breakpoints. | |
81 | ||
1ccd06e4 YQ |
82 | 2016-04-07 Yao Qi <yao.qi@linaro.org> |
83 | ||
84 | * record-full.c (record_full_insert_breakpoint): Set | |
85 | bp_tgt->reqstd_address and bp_tgt->placed_size. | |
86 | ||
ecf2e90c DB |
87 | 2016-04-06 Don Breazeal <donb@codesourcery.com> |
88 | ||
89 | * value.c (value_actual_type): Don't try to get rtti type | |
90 | of the value if it has been optimized out. | |
91 | (value_optimized_out): If a memory access error occurs, | |
92 | just check vaue->optimized_out. | |
93 | ||
14731617 JK |
94 | 2016-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
95 | ||
96 | Revert the previous commit adding unknown_v_replies_ok. | |
97 | ||
319cb5d0 JK |
98 | 2016-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
99 | ||
100 | * remote.c (struct remote_state): New field unknown_v_replies_ok. | |
101 | (packet_config_support): Read it. | |
102 | (remote_start_remote): Set it. | |
103 | ||
052d2eb2 JK |
104 | 2016-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
105 | ||
106 | * remote.c: Revert check-in by a mistake in the previous commit. | |
107 | ||
fef3cb9f JK |
108 | 2016-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
109 | Pedro Alves <palves@redhat.com> | |
110 | ||
111 | * exec.c (exec_file_locate_attach): Print warning for unsupported | |
112 | target_pid_to_exec_file. | |
113 | * symfile-mem.c (add_vsyscall_page): Remove the "file" command | |
114 | message part. | |
115 | ||
2aa08bd1 SM |
116 | 2016-04-04 Simon Marchi <simon.marchi@ericsson.com> |
117 | ||
118 | * cli/cli-decode.c (help_cmd_list): Fix function doc and remove | |
119 | trailing spaces. | |
120 | ||
cc63428a AV |
121 | 2016-04-01 Artemiy Volkov <artemiyv@acm.org> |
122 | ||
123 | PR gdb/19820 | |
124 | * eval.c (evaluate_subexp_standard): Allow TYPE_CODE_ENUM to be | |
125 | the type of BINOP_REPEAT's second operand. | |
126 | ||
9bb84c9f YY |
127 | 2016-03-31 Yichao Yu <yyc1992@gmail.com> |
128 | ||
129 | PR gdb/19858 | |
130 | * jit.c (jit_breakpoint_re_set_internal): Return 0 if we already | |
131 | got the breakpoint at the right address. | |
132 | (jit_inferior_created): New function. | |
133 | (_initialize_jit): Install jit_inferior_created as | |
134 | inferior_created observer. | |
135 | ||
22084c42 MK |
136 | 2016-03-31 Marcin Kościelnicki <koriakin@0x04.net> |
137 | ||
138 | * NEWS: Mention support for tracepoints on powerpc*-linux. | |
139 | ||
e7ea3ec7 CU |
140 | 2016-03-31 Catalin Udma <catalin.udma@freescale.com> |
141 | ||
142 | PR python/19743 | |
143 | * python/python.c (execute_gdb_command): Use console uiout | |
144 | when executing gdb command. | |
145 | * utils.c (restore_ui_out_closure): New structure. | |
146 | (do_restore_ui_out): New function. | |
147 | (make_cleanup_restore_ui_out): Likewise. | |
148 | * utils.h (make_cleanup_restore_ui_out): Declare. | |
149 | ||
f7c38292 PA |
150 | 2016-03-31 Pedro Alves <palves@redhat.com> |
151 | ||
152 | * NEWS: Mention that support for "target m32rsdi", "target mips", | |
153 | "target pmon", "target ddb", "target rockhopper", and "target lsi" | |
154 | was removed. | |
155 | * Makefile.in (ALL_TARGET_OBS): Remove remote-m32r-sdi.o and | |
156 | remote-mips.o. | |
157 | (ALLDEPFILES): Remove remote-m32r-sdi.c and remote-mips.c. | |
158 | * configure.tgt: Remove all references to remote-m32r-sdi.o and | |
159 | remote-mips.o. | |
160 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Delete | |
161 | function. | |
162 | * mips-tdep.h (deprecated_mips_set_processor_regs_hack): Delete | |
163 | declaration. | |
164 | * remote-m32r-sdi.c, remote-mips.c: Delete files. | |
165 | * symfile.c (generic_load, generic_load): Remove comments. | |
166 | ||
fb3f3d25 YQ |
167 | 2016-03-30 Yao Qi <yao.qi@linaro.org> |
168 | ||
169 | * arm-tdep.c (arm_epilogue_frame_this_id): Check 'func' against | |
170 | 0 rather than NULL. | |
171 | ||
779aa56f YQ |
172 | 2016-03-30 Yao Qi <yao.qi@linaro.org> |
173 | ||
174 | * arm-tdep.c: (arm_make_epilogue_frame_cache): New function. | |
175 | (arm_epilogue_frame_this_id): New function. | |
176 | (arm_epilogue_frame_prev_register): New function. | |
177 | (arm_epilogue_frame_sniffer): New function. | |
178 | (arm_epilogue_frame_unwind): New. | |
179 | (arm_gdbarch_init): Append unwinder arm_epilogue_frame_unwind. | |
180 | ||
c58b006a YQ |
181 | 2016-03-30 Yao Qi <yao.qi@linaro.org> |
182 | ||
183 | * arm-tdep.c (arm_stack_frame_destroyed_p): Rename it ... | |
184 | (arm_stack_frame_destroyed_p_1): ... here. Don't call | |
185 | arm_pc_is_thumb. | |
186 | (arm_stack_frame_destroyed_p): Call | |
187 | thumb_stack_frame_destroyed_p and | |
188 | arm_stack_frame_destroyed_p_1. | |
189 | ||
4ae6cc19 DE |
190 | 2016-03-30 Doug Evans <dje@google.com> |
191 | ||
192 | * python/py-utils.c (host_string_to_python_string): New function. | |
193 | * python/python-internal.h (host_string_to_python_string): Declare it. | |
194 | * python/py-*.c (*): Update all calls to | |
195 | PyString_Decode (str, strlen (str), host_charset (), NULL); | |
196 | to use host_string_to_python_string instead. | |
197 | ||
28170b88 MK |
198 | 2016-03-30 Marcin Kościelnicki <koriakin@0x04.net> |
199 | ||
200 | * remote.c (remote_check_symbols): Allocate own buffer for reply. | |
201 | ||
a08b52b5 MF |
202 | 2016-03-29 Max Filippov <jcmvbkbc@gmail.com> |
203 | ||
204 | * xtensa-tdep.c (xtensa_frame_cache): Change op1 type to LONGEST. | |
205 | Use safe_read_memory_integer instead of read_memory_integer. | |
206 | ||
c37c0ba6 MK |
207 | 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net> |
208 | ||
209 | * NEWS: Mention support for tracepoints on s390*-linux. | |
210 | ||
444bca65 DB |
211 | 2016-03-29 Don Breazeal <donb@codesourcery.com> |
212 | ||
213 | * gdb/value.c (value_actual_type): Fix formatting issue. | |
214 | ||
cc651c1c YQ |
215 | 2016-03-23 Yao Qi <yao.qi@linaro.org> |
216 | ||
217 | * gdbarch.sh (software_single_step): Remove comments. | |
218 | * gdbarch.h: Regenerated. | |
219 | ||
c55978a6 YQ |
220 | 2016-03-21 Yao Qi <yao.qi@linaro.org> |
221 | ||
222 | * arm-tdep.c (arm_record_media): New. | |
223 | (arm_record_ld_st_reg_offset): Call arm_record_media. | |
224 | ||
479fe002 YQ |
225 | 2016-03-21 Yao Qi <yao.qi@linaro.org> |
226 | ||
227 | * arm-linux-tdep.c (arm_canonicalize_syscall): Canonicalize | |
228 | more syscalls. | |
229 | ||
9c3f2234 YQ |
230 | 2016-03-18 Yao Qi <yao.qi@linaro.org> |
231 | ||
232 | * sparc-tdep.c (sparc_software_single_step): Make it static. | |
233 | * sparc-tdep.h (sparc_software_single_step): Remove declaration. | |
234 | ||
941319d1 YQ |
235 | 2016-03-18 Yao Qi <yao.qi@linaro.org> |
236 | ||
237 | * spu-tdep.c (spu_software_single_step): Throw error when | |
238 | target_read_memory fails. | |
239 | ||
708bf0a1 JK |
240 | 2016-03-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
241 | ||
242 | * linux-thread-db.c (check_pid_namespace_match): Extend the message. | |
243 | ||
0d5b594f PA |
244 | 2016-03-17 Pedro Alves <palves@redhat.com> |
245 | Don Breazeal <donb@codesourcery.com> | |
246 | ||
247 | PR remote/19496 | |
248 | * infcmd.c (notice_new_inferior): Use the 'leave_running' argument | |
249 | instead of checking the 'non_stop' global. | |
250 | * remote.c (remote_add_thread): New parameter 'executing'. Use it | |
251 | to set the new thread's executing state. | |
252 | (remote_notice_new_inferior): Rename parameter 'running' to | |
253 | 'executing'. Always set the thread state to THREAD_RUNNING in | |
254 | non-stop mode, and to THREAD_STOPPED in all-stop mode. Pass | |
255 | EXECUTING to remote_add_thread and notice_new_inferior. | |
256 | (remote_update_thread_list): Update to pass executing state, not | |
257 | running state. | |
258 | ||
bba960fc AA |
259 | 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com> |
260 | ||
261 | * syscalls/s390-linux.xml: Add NUMA syscalls and new syscalls up | |
262 | to 374. | |
263 | * syscalls/s390x-linux.xml: Likewise. | |
264 | ||
5fd0888a AA |
265 | 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com> |
266 | ||
267 | * linux-record.c (record_mem_at_reg): New helper function. | |
268 | (record_linux_system_call): Exploit new helper function where | |
269 | applicable. | |
270 | ||
0fc8f115 AA |
271 | 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com> |
272 | ||
273 | * linux-record.c: Fix whitespace issues; tabify, remove trailing | |
274 | spaces. | |
275 | ||
afdab916 AA |
276 | 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com> |
277 | ||
278 | * linux-record.c (record_linux_system_call): Add missing return | |
279 | statements to handling of pipe and pipe2 syscalls. | |
280 | ||
bfeeb14b DE |
281 | 2016-03-16 Doug Evans <dje@google.com> |
282 | ||
283 | * xml-tdesc.c (tdesc_start_enum): Fix c++ build. | |
284 | ||
6b94a855 YQ |
285 | 2016-03-16 Yao Qi <yao.qi@linaro.org> |
286 | ||
287 | * arm-linux-tdep.c (arm_linux_init_abi): Fix | |
288 | arm_linux_record_tdep.arg1, arm_linux_record_tdep.arg2 and | |
289 | arm_linux_record_tdep.arg3. Set arm_linux_record_tdep.arg4, | |
290 | arm_linux_record_tdep.arg5, arm_linux_record_tdep.arg6, and | |
291 | arm_linux_record_tdep.arg7. | |
292 | ||
1cafadb4 DB |
293 | 2016-03-15 Keith Seitz <keiths@redhat.com> |
294 | ||
295 | PR breakpoints/18303 | |
296 | * cp-namespace.c (cp_lookup_bare_symbol): Change assertion to | |
297 | look for "::" instead of simply ":". | |
298 | (cp_search_static_and_baseclasses): Return null_block_symbol for | |
299 | malformed input. | |
300 | Remove assertions. | |
301 | * cp-support.c (cp_find_first_component_aux): Do not return | |
302 | a prefix length for ':' unless the next character is also ':'. | |
303 | ||
89c200ed DE |
304 | 2016-03-15 Doug Evans <dje@google.com> |
305 | ||
306 | * features/aarch64-core.xml (cpsr_flags): New flags type. | |
307 | (cpsr): Use it. | |
308 | * features/aarch64.c: Regenerate. | |
309 | ||
49b7ae7b DE |
310 | 2016-03-15 Doug Evans <dje@google.com> |
311 | ||
312 | * features/i386/32bit-core.xml (i386_eflags): Remove "end" spec. | |
313 | * features/i386/32bit-sse.xml (i386_eflags): Ditto. | |
314 | * features/i386/64bit-core.xml (i386_eflags): Ditto. | |
315 | * features/i386/64bit-sse.xml (i386_eflags): Ditto. | |
316 | * features/i386/x32-core.xml (i386_eflags): Ditto. | |
317 | ||
81516450 | 318 | 2016-03-15 Doug Evans <dje@google.com> |
79427bd2 | 319 | Wei-cheng Wang <cole945@gmail.com> |
81516450 DE |
320 | |
321 | Extend flags to support multibit and enum bitfields. | |
79427bd2 | 322 | * NEWS: Document new features. |
81516450 DE |
323 | * c-typeprint.c (c_type_print_varspec_prefix): Handle TYPE_CODE_FLAGS. |
324 | (c_type_print_varspec_suffix, c_type_print_base): Ditto. | |
325 | * gdbtypes.c (arch_flags_type): Don't assume all fields are one bit. | |
326 | (append_flags_type_field): New function. | |
327 | (append_flags_type_flag): Call it. | |
328 | * gdbtypes.h (append_flags_type_field): Declare. | |
329 | * target-descriptions.c (struct tdesc_type_flag): Delete. | |
330 | (enum tdesc_type_kind) <TDESC_TYPE_BOOL>: New enum value. | |
331 | (enum tdesc_type_kind) <TDESC_TYPE_ENUM>: Ditto. | |
332 | (struct tdesc_type) <u.f>: Delete. | |
333 | (tdesc_predefined_types): Add "bool". | |
334 | (tdesc_predefined_type): New function. | |
335 | (tdesc_gdb_type): Handle TDESC_TYPE_BOOL, TDESC_TYPE_ENUM. | |
336 | Update TDESC_TYPE_FLAGS support. | |
337 | (tdesc_free_type): Handle TDESC_TYPE_ENUM. Update TDESC_TYPE_FLAGS. | |
338 | (tdesc_create_flags): Update. | |
339 | (tdesc_create_enum): New function. | |
340 | (tdesc_add_field): Initialize start,end to -1. | |
341 | (tdesc_add_typed_bitfield): New function. | |
342 | (tdesc_add_bitfield): Call it. | |
343 | (tdesc_add_flag): Allow TDESC_TYPE_STRUCT. Update. | |
344 | (tdesc_add_enum_value): New function. | |
345 | (maint_print_c_tdesc_cmd): Fold TDESC_TYPE_FLAGS support into | |
346 | TDESC_TYPE_STRUCT. Handle TDESC_TYPE_ENUM. | |
347 | * target-descriptions.h (tdesc_create_enum): Declare. | |
348 | (tdesc_add_typed_bitfield, tdesc_add_enum_value): Declare. | |
349 | * valprint.c (generic_val_print_enum_1): New function. | |
350 | (generic_val_print_enum): Call it. | |
351 | (val_print_type_code_flags): Make static. Handle multibit bitfields | |
352 | and enum bitfields. | |
353 | * valprint.h (val_print_type_code_flags): Delete. | |
354 | * xml-tdesc.c (struct tdesc_parsing_data) <current_type_is_flags>: | |
355 | Delete. All uses removed. | |
356 | (tdesc_start_enum): New function. | |
357 | (tdesc_start_field): Handle multibit and enum bitfields. | |
358 | (tdesc_start_enum_value): New function. | |
359 | (enum_value_attributes, enum_children, enum_attributes): New static | |
360 | globals. | |
361 | (feature_children): Add "enum". | |
362 | * features/gdb-target.dtd (enum, evalue): New elements. | |
363 | ||
54157a25 DE |
364 | 2016-03-15 Doug Evans <dje@google.com> |
365 | ||
366 | * target-descriptions.c (struct tdesc_type) <u.u.size>: Change type | |
367 | from LONGEST to int. | |
368 | (struct tdesc_type) <u.f.size>: Ditto. | |
369 | (tdesc_set_struct_size): Change type of "size" arg from LONGEST | |
370 | to int. Add assertion size > 0. | |
371 | (tdesc_create_flags): Ditto. | |
372 | * target-descriptions.h (tdesc_set_struct_size): Update. | |
373 | (tdesc_create_flags): Update. | |
374 | * xml-tdesc.c (MAX_FIELD_SIZE, MAX_FIELD_BITSIZE): New macros. | |
375 | (MAX_VECTOR_SIZE): New macro. | |
376 | (tdesc_start_struct): Catch conversion errors from LONGEST to int. | |
377 | (tdesc_start_flags, tdesc_start_field, tdesc_start_vector): Ditto. | |
378 | ||
73b4f516 DE |
379 | 2016-03-15 Doug Evans <dje@google.com> |
380 | ||
381 | * target-descriptions.c (maint_print_c_tdesc_cmd): Use "type" for | |
382 | TYPE_CODE_FLAGS instead of "field_type", for consistency. | |
383 | * features/i386/amd64-avx-linux.c: Regenerate. | |
384 | * features/i386/amd64-avx.c: Regenerate. | |
385 | * features/i386/amd64-avx512-linux.c: Regenerate. | |
386 | * features/i386/amd64-avx512.c: Regenerate. | |
387 | * features/i386/amd64-linux.c: Regenerate. | |
388 | * features/i386/amd64-mpx-linux.c: Regenerate. | |
389 | * features/i386/amd64-mpx.c: Regenerate. | |
390 | * features/i386/amd64.c: Regenerate. | |
391 | * features/i386/i386-avx-linux.c: Regenerate. | |
392 | * features/i386/i386-avx.c: Regenerate. | |
393 | * features/i386/i386-avx512-linux.c: Regenerate. | |
394 | * features/i386/i386-avx512.c: Regenerate. | |
395 | * features/i386/i386-linux.c: Regenerate. | |
396 | * features/i386/i386-mmx-linux.c: Regenerate. | |
397 | * features/i386/i386-mmx.c: Regenerate. | |
398 | * features/i386/i386-mpx-linux.c: Regenerate. | |
399 | * features/i386/i386-mpx.c: Regenerate. | |
400 | * features/i386/i386.c: Regenerate. | |
401 | * features/i386/x32-avx-linux.c: Regenerate. | |
402 | * features/i386/x32-avx.c: Regenerate. | |
403 | * features/i386/x32-avx512-linux.c: Regenerate. | |
404 | * features/i386/x32-avx512.c: Regenerate. | |
405 | * features/i386/x32-linux.c: Regenerate. | |
406 | * features/i386/x32.c: Regenerate. | |
407 | ||
1eb2dbb8 PA |
408 | 2016-03-15 Pedro Alves <palves@redhat.com> |
409 | ||
410 | PR gdb/19676 | |
411 | * linux-thread-db.c (try_thread_db_load_1): Leave | |
412 | info->td_ta_thr_iter_p NULL iff debugging a live process and we | |
413 | have /proc access. | |
414 | (find_new_threads_once): Assert that we have a non-NULL | |
415 | info->td_ta_thr_iter_p instead of checking whether the target has | |
416 | execution. | |
417 | ||
16b41842 PA |
418 | 2016-03-15 Pedro Alves <palves@redhat.com> |
419 | ||
420 | PR gdb/19676 | |
421 | * infrun.c (displaced_step_prepare): Also disable displaced | |
422 | stepping on NOT_SUPPORTED_ERROR. | |
423 | * linux-tdep.c (linux_displaced_step_location): If reading auxv | |
424 | fails, throw NOT_SUPPORTED_ERROR instead of generic error. | |
425 | ||
70104a90 MK |
426 | 2016-03-13 Marcin Kościelnicki <koriakin@0x04.net> |
427 | ||
428 | * s390-linux-tdep.c (s390_gen_return_address): New function. | |
429 | (s390_gdbarch_init): Fill gen_return_address hook. | |
430 | ||
f2403c39 AB |
431 | 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com> |
432 | ||
433 | * symmisc.c (maintenance_info_line_tables): New function. | |
434 | (maintenance_print_one_line_table): New function. | |
435 | (_initialize_symmisc): Register 'maint info line-table' command. | |
436 | * NEWS: Mention new command. | |
437 | ||
c4b3e547 MK |
438 | 2016-03-11 Marcin Kościelnicki <koriakin@0x04.net> |
439 | ||
440 | * s390-linux-tdep.c (s390_ax_pseudo_register_collect): New function. | |
441 | (s390_ax_pseudo_register_push_stack): New function. | |
442 | (s390_gdbarch_init): Fill ax_pseudo_register_collect and | |
443 | ax_pseudo_register_push_stack hooks. | |
444 | ||
f2f3ccb9 SM |
445 | 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca> |
446 | ||
447 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Install | |
448 | gdb/function/as_string.py. | |
449 | * python/lib/gdb/function/as_string.py: New file. | |
450 | * NEWS: Mention the new $_as_string function. | |
451 | ||
2343b78a JM |
452 | 2016-03-09 Jose E. Marchesi <jose.marchesi@oracle.com> |
453 | ||
454 | * target.h: Fix doc string of target_can_use_hardware_watchpoint. | |
455 | ||
b69d38af PA |
456 | 2016-03-09 Pedro Alves <palves@redhat.com> |
457 | ||
458 | * event-top.c (more_to_come): Delete. | |
459 | (struct readline_input_state): Delete. | |
460 | (readline_input_state): Delete. | |
461 | (get_command_line_buffer): New function. | |
462 | (command_handler): Update comments. Don't handle NULL commands | |
463 | here. Do not execute commented lines. | |
464 | (command_line_append_input_line): New function. | |
465 | (handle_line_of_input): New function, partly based on | |
466 | command_line_handler and command_line_input. | |
467 | (command_line_handler): Rewrite. | |
468 | * event-top.h (command_handler): New declaration. | |
469 | (command_loop): Defer command execution to command_handler. | |
470 | (command_line_input): Update comments. Simplify, using struct | |
471 | buffer and handle_line_of_input. | |
472 | * top.h (struct buffer): New forward declaration. | |
473 | (handle_line_of_input): New declaration. | |
474 | ||
2669cade PA |
475 | 2016-03-09 Pedro Alves <palves@redhat.com> |
476 | ||
477 | * event-top.c (command_line_handler): Use xfree + xstrdup instead | |
478 | of xrealloc + strcpy. | |
479 | * main.c (captured_main): Use xstrdup instead of xmalloc plus | |
480 | manual clear. | |
481 | * top.c (saved_command_line): Rewrite comment. | |
482 | (saved_command_line_size): Delete. | |
483 | (command_line_input): Use xfree + xstrdup instead of xrealloc + | |
484 | strcpy. | |
485 | * top.h (saved_command_line_size): Delete declaration. | |
486 | ||
187212b3 PA |
487 | 2016-03-09 Pedro Alves <palves@redhat.com> |
488 | ||
489 | * event-top.c: Include buffer.h. | |
490 | (gdb_readline_no_editing_callback): Use struct buffer instead | |
491 | of xrealloc. | |
492 | ||
7a3bde34 PA |
493 | 2016-03-09 Pedro Alves <palves@redhat.com> |
494 | ||
495 | * common/buffer.h (buffer_grow_char): New function. | |
496 | * top.c: Include buffer.h. | |
497 | (gdb_readline_no_editing): Rename 'prompt_arg' parameter to | |
498 | 'prompt'. Use struct buffer instead of xrealloc. | |
499 | ||
c5c136ea PA |
500 | 2016-03-09 Pedro Alves <palves@redhat.com> |
501 | ||
502 | * defs.h (gdb_readline): Delete declaration. | |
503 | * top.c (gdb_readline): Rename to ... | |
504 | (gdb_readline_no_editing): ... this, and make static. | |
505 | ||
720d2e96 PA |
506 | 2016-03-09 Pedro Alves <palves@redhat.com> |
507 | ||
508 | * utils.c (prompt_for_continue): Update comments. | |
509 | ||
608ff013 PA |
510 | 2016-03-09 Pedro Alves <palves@redhat.com> |
511 | ||
512 | * event-top.c (async_annotation_suffix): Delete. | |
513 | (top_level_prompt, command_line_handler): Don't use | |
514 | 'async_annotation_suffix' and simplify. | |
515 | * event-top.h (async_annotation_suffix): Delete declaration. | |
516 | (init_main): Remove reference to 'async_annotation_suffix'. | |
517 | ||
c70061cf PA |
518 | 2016-03-09 Pedro Alves <palves@redhat.com> |
519 | ||
520 | * event-top.c (gdb_readline2): Rename to ... | |
521 | (gdb_readline_no_editing_callback): ... this. | |
522 | (change_line_handler, stdin_event_handler) | |
523 | (gdb_setup_readline): Adjust. | |
524 | * event-top.h (gdb_readline2): Rename to ... | |
525 | (gdb_readline_no_editing_callback): ... this, and move closer to | |
526 | other readline-related declarations. | |
527 | * mi/mi-interp.c (mi_interpreter_resume): Adjust. | |
528 | ||
8a243832 PA |
529 | 2016-03-09 Pedro Alves <palves@redhat.com> |
530 | ||
531 | * top.c (window_hook): Delete. | |
532 | (command_loop): Remove references to window_hook. | |
533 | ||
cc2c4da8 MK |
534 | 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net> |
535 | ||
536 | * corefile.c (safe_read_memory_unsigned_integer): New function. | |
537 | * gdbcore.h (safe_read_memory_unsigned_integer): New prototype. | |
538 | * rs6000-tdep.c (rs6000_frame_cache): Read backchain as unsigned. | |
539 | ||
a67914de MK |
540 | 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net> |
541 | ||
542 | * rs6000-tdep.c: Add "ax.h" and "ax-gdb.h" includes. | |
543 | (rs6000_gen_return_address): New function. | |
544 | (rs6000_gdbarch_init): Wire in the above. | |
545 | ||
2a2fa07b MK |
546 | 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net> |
547 | ||
548 | * rs6000-tdep.c (rs6000_ax_pseudo_register_collect): New function. | |
549 | (rs6000_gdbarch_init): Wire in the above. | |
550 | ||
bc0e3f49 AA |
551 | 2016-03-09 Andreas Arnez <arnez@linux.vnet.ibm.com> |
552 | ||
553 | * s390-linux-tdep.c (s390_analyze_prologue): Ignore BRC and BRCL | |
554 | instructions that do nothing or are conditional traps. | |
555 | ||
6d53bec8 AA |
556 | 2016-03-09 Andreas Arnez <arnez@linux.vnet.ibm.com> |
557 | ||
558 | * s390-linux-tdep.c (s390_prologue_frame_unwind_cache): Store | |
559 | frame func's PC in info->func before any other failure can occur. | |
560 | (s390_frame_this_id): Use frame_id_build_unavailable_stack if | |
561 | info->func has been filled out. | |
562 | ||
f7990f16 PA |
563 | 2016-03-09 Pedro Alves <palves@redhat.com> |
564 | ||
565 | * osabi.c (gdb_osabi_names): Avoid spaces in osabi names. | |
566 | ||
087ccc6a PA |
567 | 2016-03-09 Pedro Alves <palves@redhat.com> |
568 | ||
569 | * frv-tdep.c (frv_gdbarch_init): Handle bfd_mach_fr300. | |
570 | ||
114d7832 PA |
571 | 2016-03-09 Pedro Alves <palves@redhat.com> |
572 | ||
573 | * cris-tdep.c (cris_gdbarch_init): Return 0 if the info's byte | |
574 | order is BFD_ENDIAN_BIG or if the cris version is unsupported. | |
575 | ||
d7a87b5e PA |
576 | 2016-03-09 Pedro Alves <palves@redhat.com> |
577 | ||
578 | * doublest.c: Extend comments. | |
579 | (floatformat_to_doublest, floatformat_from_doublest): Copy the | |
580 | floatformat's total size, not the host type's size. | |
581 | ||
b79497cb PA |
582 | 2016-03-09 Pedro Alves <palves@redhat.com> |
583 | ||
584 | * doublest.c (floatformat_totalsize_bytes): New function. | |
585 | (floatformat_from_type): Assert that the type's length is at least | |
586 | as long as the floatformat's totalsize. | |
587 | * doublest.h (floatformat_totalsize_bytes): New declaration. | |
588 | * gdbtypes.c (arch_float_type): Assert that the type's length is | |
589 | at least as long as the floatformat's totalsize. | |
590 | ||
aacca8a7 PA |
591 | 2016-03-09 Pedro Alves <palves@redhat.com> |
592 | ||
593 | * hppa-linux-tdep.c (hppa_linux_init_abi): Set the long double | |
594 | format to floatformats_ieee_double. | |
595 | ||
e6c2f47b PA |
596 | 2016-03-07 Pedro Alves <palves@redhat.com> |
597 | ||
598 | * mips-tdep.c (mips_gdbarch_init): Check whether info.abfd is NULL | |
599 | before calling bfd_get_flavour. | |
600 | ||
cb86f388 DC |
601 | 2016-03-05 Pitchumani Sivanupandi <pitchumani.s@atmel.com> |
602 | ||
603 | * avr-tdep.c (AVR_LAST_ARG_REGNUM): Define. | |
604 | (avr_push_dummy_call): Correct last needed argument register. | |
605 | Write MSB of argument into register and subsequent bytes into | |
606 | other registers in decreasing order. | |
607 | ||
f1771dce YQ |
608 | 2016-03-04 Yao Qi <yao.qi@linaro.org> |
609 | ||
610 | * arm-tdep.c (arm_record_vdata_transfer_insn): Simplify the | |
611 | condition check. Record the right D register number. | |
612 | ||
ca92db2d YQ |
613 | 2016-03-04 Yao Qi <yao.qi@linaro.org> |
614 | ||
615 | * arm-tdep.c (arm_record_extension_space): Remove code | |
616 | printing "Process record does not support". | |
617 | (arm_record_data_proc_misc_ld_str): Likewise. | |
618 | (decode_insn): Call arm_record_extension_space if condition | |
619 | is 0xf. Call arm_record_unsupported_insn if ret isn't | |
620 | ARM_RECORD_SUCCESS. Use 'ret' instead of 'insn_id' to hold | |
621 | the value of thumb2_record_decode_insn_handler. | |
622 | ||
73519cce SM |
623 | 2016-03-04 Simon Marchi <simon.marchi@ericsson.com> |
624 | ||
625 | * features/feature_to_c.sh: Print the help when passing no | |
626 | argument. | |
627 | ||
650beae3 BH |
628 | 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com> |
629 | ||
630 | * MAINTAINERS (Write After Approval): Add Bernhard Heckel. | |
631 | ||
28586665 BH |
632 | 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com> |
633 | ||
634 | * dwarf2read.c (new_symbol_full): Fix detection of gfortran compilers. | |
635 | ||
f2489477 AA |
636 | 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com> |
637 | ||
638 | * s390-linux-tdep.c (s390_backchain_frame_unwind_cache): Avoid | |
639 | exception when attempting to access the inferior's backchain. | |
640 | ||
d5219069 YQ |
641 | 2016-02-29 Yao Qi <yao.qi@linaro.org> |
642 | ||
643 | * aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Support | |
644 | eventfd2, eventfd2, dup3, inotify_init1, fallocate and pipe2. | |
645 | Return gdb_sys_epoll_create1 instead of gdb_sys_epoll_create | |
646 | for aarch64_sys_epoll_create1. | |
647 | ||
253b4d3a YQ |
648 | 2016-02-29 Yao Qi <yao.qi@linaro.org> |
649 | ||
650 | * linux-record.h (enum gdb_syscall) <gdb_sys_fallocate>: New. | |
651 | <gdb_sys_eventfd2, gdb_sys_epoll_create1, gdb_sys_dup3>: New. | |
652 | <gdb_sys_pipe2, gdb_sys_inotify_init1>: New. | |
653 | * linux-record.c (record_linux_system_call): Handle them. | |
654 | ||
38899f16 IB |
655 | 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org> |
656 | ||
657 | * d-namespace.c (d_lookup_symbol_imports): Avoid recursive lookups from | |
658 | cyclic imports. | |
659 | ||
1ed0c2a4 KS |
660 | 2016-02-26 Keith Seitz <keiths@redhat.com> |
661 | ||
662 | * rs6000-tdep.c (rs6000_frame_cache): Explicitly cast return result | |
663 | to avoid invalid conversion from void *. | |
664 | ||
9fde51ed YQ |
665 | 2016-02-26 Yao Qi <yao.qi@linaro.org> |
666 | ||
667 | * arm-tdep.c (arm_record_exreg_ld_st_insn): Set 'single_reg' | |
668 | per bit 8. Check bit 20 instead of bit 4 for VMOV | |
669 | instruction. Record D registers for instructions changing | |
670 | S registers. Change of the order of length and address | |
671 | in record_buf_mem array. | |
672 | ||
1f33efec YQ |
673 | 2016-02-26 Yao Qi <yao.qi@linaro.org> |
674 | ||
675 | * arm-tdep.c (thumb_record_ld_st_reg_offset): Fix the register | |
676 | number of Rd. | |
677 | ||
1547ef64 DE |
678 | 2016-02-25 Doug Evans <dje@google.com> |
679 | ||
680 | * remote-m32r-sdi.c (recv_char_data): Initialize val to avoid | |
681 | compiler warning. | |
682 | (recv_long_data): Ditto. | |
683 | ||
166616ce SM |
684 | 2016-02-25 Simon Marchi <simon.marchi@ericsson.com> |
685 | ||
686 | * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): | |
687 | Initialize variables. | |
688 | ||
1eb7c2d8 AT |
689 | 2016-02-25 Antoine Tremblay <antoine.tremblay@ericsson.com> |
690 | ||
691 | * ax-general.c (ax_reg): Call gdbarch_remote_register_number. | |
692 | (ax_reg_mask): Likewise. | |
693 | ||
e7ad2f14 PA |
694 | 2016-02-24 Pedro Alves <palves@redhat.com> |
695 | ||
696 | * linux-nat.c (save_sigtrap) Delete. | |
697 | (stop_wait_callback): Call save_stop_reason instead of | |
698 | save_sigtrap. | |
699 | (check_stopped_by_breakpoint): Rename to ... | |
700 | (save_stop_reason): ... this. Bits of save_sigtrap folded here. | |
701 | Use GDB_ARCH_IS_TRAP_HWBKPT and handle ambiguous | |
702 | GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT. Factor out | |
703 | common code between the USE_SIGTRAP_SIGINFO and | |
704 | !USE_SIGTRAP_SIGINFO blocks. | |
705 | (linux_nat_filter_event): Call save_stop_reason instead of | |
706 | save_sigtrap. | |
707 | * nat/linux-ptrace.h: Check for both SI_KERNEL and TRAP_BRKPT | |
708 | si_code for MIPS. | |
709 | * nat/linux-ptrace.h: Fix "TRAP_HWBPT" typo in x86 table. Add | |
710 | comments on MIPS behavior. | |
711 | (GDB_ARCH_IS_TRAP_HWBKPT): Define for all archs. | |
712 | ||
338435ef MK |
713 | 2016-02-24 Marcin Kościelnicki <koriakin@0x04.net> |
714 | ||
715 | * rs6000-tdep.c (rs6000_frame_cache): Initialize frame and pc to 0 | |
716 | to avoid spurious warnings. | |
717 | ||
bf74e428 GB |
718 | 2016-02-24 Gary Benson <gbenson@redhat.com> |
719 | ||
720 | * exec.c (exec_file_locate_attach): Do not attempt to | |
721 | locate main executable locally if not found in sysroot. | |
722 | ||
62fb310b JB |
723 | 2016-02-24 Joel Brobecker <brobecker@adacore.com> |
724 | ||
725 | GDB 7.11 released. | |
726 | ||
50ae56ec WW |
727 | 2016-02-24 Wei-cheng Wang <cole945@gmail.com> |
728 | ||
729 | * rs6000-tdep.c (rs6000_frame_cache, rs6000_frame_this_id): Handle | |
730 | unavailable PC/SP to build unavailable frame. | |
731 | ||
cce0e923 DE |
732 | 2016-02-23 Doug Evans <dje@google.com> |
733 | ||
734 | Extend "skip" command to support -file, -gfile, -function, -rfunction. | |
735 | * NEWS: Document new features. | |
736 | * skip.c: #include "fnmatch.h", "gdb_regex.h". | |
737 | (skiplist_entry) <file>: Renamed from filename. | |
738 | <function>: Renamed from function_name. | |
739 | <file_is_glob, function_is_regexp>: New members. | |
740 | <compiled_function_regexp, compiled_function_regexp_is_valid>: | |
741 | New members. | |
742 | (make_skip_entry): New function. | |
743 | (free_skiplist_entry, free_skiplist_entry_cleanup): New functions. | |
744 | (make_free_skiplist_entry_cleanup): New function. | |
745 | (skip_file_command): Update. | |
746 | (skip_function, skip_function_command): Update. | |
747 | (compile_skip_regexp): New functions. | |
748 | (skip_command): Add support for new options. | |
749 | (skip_info): Update. | |
750 | (skip_file_p, skip_gfile_p): New functions. | |
751 | (skip_function_p, skip_rfunction_p): New functions. | |
752 | (function_name_is_marked_for_skip): Update and simplify. | |
753 | (_initialize_step_skip): Update. | |
754 | * symtab.c: #include "fnmatch.h". | |
755 | (compare_glob_filenames_for_search): New function. | |
756 | * symtab.h (compare_glob_filenames_for_search): Declare. | |
757 | * utils.c (count_path_elements): New function. | |
758 | (strip_leading_path_elements): New function. | |
759 | * utils.h (count_path_elements): Declare. | |
760 | (strip_leading_path_elements): Declare. | |
761 | ||
12545665 SM |
762 | 2016-02-23 Simon Marchi <simon.marchi@ericsson.com> |
763 | ||
764 | * arm-tdep.c (arm_decode_svc_copro): Remove "to" parameter. | |
765 | (thumb_process_displaced_insn): Likewise. | |
766 | (arm_process_displaced_insn): Adjust calls. | |
767 | ||
c955ae73 YQ |
768 | 2016-02-23 Yao Qi <yao.qi@linaro.org> |
769 | ||
770 | * aarch64-linux-tdep.c (enum aarch64_syscall) <aarch64_sys_mknod>: | |
771 | Remove. | |
772 | <aarch64_sys_mkdir, aarch64_sys_unlink, aarch64_sys_symlink>: Remove. | |
773 | <aarch64_sys_link, aarch64_sys_rename, aarch64_sys_faccess>: Remove. | |
774 | <aarch64_sys_mknodat, aarch64_sys_mkdirat>: New. | |
775 | <aarch64_sys_unlinkat, aarch64_sys_symlinkat>: New. | |
776 | <aarch64_sys_linkat, aarch64_sys_renameat>: New. | |
777 | <aarch64_sys_faccessat>: New. | |
778 | <aarch64_sys_open, aarch64_sys_readlink, aarch64_sys_fstatat>: Remove. | |
779 | <aarch64_sys_openat, aarch64_sys_readlinkat>: New. | |
780 | <aarch64_sys_newfstatat>: New. | |
781 | (UNSUPPORTED_SYSCALL_MAP): New macro. | |
782 | (aarch64_canonicalize_syscall): Add missing syscalls. | |
783 | ||
ac46107c JK |
784 | 2016-02-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
785 | ||
786 | * gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print. | |
787 | ||
01e57735 YQ |
788 | 2016-02-22 Yao Qi <yao.qi@linaro.org> |
789 | ||
790 | * arm-tdep.c: Fix code format issues. | |
791 | ||
30a6a7f0 IB |
792 | 2016-02-21 Iain Buclaw <ibuclaw@gdcproject.org> |
793 | ||
794 | * d-namespace.c (d_lookup_symbol_imports): Remove argument | |
795 | 'search_parents'. All callers updated. | |
796 | ||
f79a3bae MK |
797 | 2016-02-18 Marcin Kościelnicki <koriakin@0x04.net> |
798 | ||
799 | * s390-linux-tdep.c (s390_guess_tracepoint_registers): New function. | |
800 | (s390_gdbarch_init): Fill guess_tracepoint_registers hook. | |
801 | ||
012b3a21 WT |
802 | 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com> |
803 | ||
804 | * NEWS: Add entry for bound violation. | |
805 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): | |
806 | Add handler for segmentation fault. | |
807 | * gdbarch.sh (handle_segmentation_fault): New. | |
808 | * gdbarch.c: Regenerate. | |
809 | * gdbarch.h: Regenerate. | |
810 | * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): New. | |
811 | (SIG_CODE_BONDARY_FAULT): New define. | |
812 | (i386_linux_init_abi): Use i386_mpx_bound_violation_handler. | |
813 | * i386-linux-tdep.h (i386_linux_handle_segmentation_fault) New. | |
814 | * i386-tdep.c (i386_mpx_enabled): Add as external. | |
815 | * i386-tdep.c (i386_mpx_enabled): Add as external. | |
816 | * infrun.c (handle_segmentation_fault): New function. | |
817 | (print_signal_received_reason): Use handle_segmentation_fault. | |
818 | ||
5f034a78 MK |
819 | 2016-02-18 Marcin Kościelnicki <koriakin@0x04.net> |
820 | ||
821 | * arch-utils.c (default_guess_tracepoint_registers): New function. | |
822 | * arch-utils.h (default_guess_tracepoint_registers): New prototype. | |
823 | * gdbarch.c: Regenerate. | |
824 | * gdbarch.h: Regenerate. | |
825 | * gdbarch.sh: Add guess_tracepoint_registers hook. | |
826 | * tracefile.c (tracefile_fetch_registers): Use the new gdbarch hook. | |
827 | ||
88178e82 GB |
828 | 2016-02-17 Gary Benson <gbenson@redhat.com> |
829 | ||
830 | * exec.c (exec_file_locate_attach): Add missing cleanup. | |
831 | ||
4041ed77 DB |
832 | 2016-02-16 Don Breazeal <donb@codesourcery.com> |
833 | ||
834 | PR remote/19496 | |
835 | * remote.c (remove_new_fork_children): Check for pending | |
836 | fork status in thread_info.suspend. | |
837 | ||
b442c911 YQ |
838 | 2016-02-16 Yao Qi <yao.qi@linaro.org> |
839 | ||
840 | * arm-linux-tdep.c (arm_linux_software_single_step): Assign | |
841 | 'old_chain' later. | |
842 | ||
553cb527 YQ |
843 | 2016-02-16 Yao Qi <yao.qi@linaro.org> |
844 | ||
845 | * arch/arm-get-next-pcs.h (struct arm_get_next_pcs_ops) | |
846 | <syscall_next_pc>: Remove argument PC. Callers updated. | |
847 | * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc): | |
848 | Remove argument PC. Get pc from regcache_read_pc. | |
849 | * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Remove | |
850 | argument PC. | |
851 | ||
0a0da556 YQ |
852 | 2016-02-15 Yao Qi <yao.qi@linaro.org> |
853 | ||
854 | * aarch64-tdep.c (aarch64_analyze_prologue): Remove "0x". | |
855 | ||
01113bc1 YQ |
856 | 2016-02-12 Yao Qi <yao.qi@linaro.org> |
857 | ||
858 | * arch/arm-linux.c (arm_linux_get_next_pcs_fixup): Calculate | |
859 | nextpc according to instruction. | |
860 | ||
ed443b61 YQ |
861 | 2016-02-12 Yao Qi <yao.qi@linaro.org> |
862 | ||
863 | * arch/arm-get-next-pcs.c (arm_get_next_pcs): Call | |
864 | self->ops->fixup if it isn't NULL. | |
865 | * arch/arm-get-next-pcs.h: Include gdb_vecs.h. | |
866 | (struct arm_get_next_pcs_ops) <fixup>: New field. | |
867 | * arch/arm-linux.c: Include common-regcache.h and | |
868 | arch/arm-get-next-pcs.h. | |
869 | (arm_linux_get_next_pcs_fixup): New function. | |
870 | * arch/arm-linux.h (arm_linux_get_next_pcs_fixup): Declare. | |
871 | * arm-linux-tdep.c (arm_linux_get_next_pcs_ops): Initialize | |
872 | it with arm_linux_get_next_pcs_fixup. | |
873 | (arm_linux_software_single_step): Move code to | |
874 | arm_linux_get_next_pcs_fixup. | |
875 | * arm-tdep.c (arm_get_next_pcs_ops): Initialize it. | |
876 | ||
d21b5f15 MK |
877 | 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net> |
878 | ||
879 | * xml-tdesc.c (target_fetch_description_xml) [!HAVE_LIBEXPAT]: Warn | |
880 | and return NULL. | |
881 | ||
33b4777c MM |
882 | 2016-02-12 Markus Metzger <markus.t.metzger@intel.com> |
883 | ||
884 | * frame.h (skip_tailcall_frames): Update comment. | |
885 | * frame.c (skip_artificial_frames, skip_tailcall_frames): Return NULL | |
886 | if only artificial frames are found. Update comment. | |
887 | (frame_unwind_caller_id): Handle NULL return. | |
888 | (frame_unwind_caller_pc, frame_unwind_caller_arch): Assert that | |
889 | skip_artificial_frames does not return NULL. | |
890 | (frame_pop): Add an error if only tailcall frames are found. | |
891 | * infcmd.c (finish_command): Move skip_tailcall_frames call into | |
892 | forward-execution case. Add an error if only tailcall frames are | |
893 | found. | |
894 | ||
a038fa3e MM |
895 | 2016-02-12 Markus Metzger <markus.t.metzger@intel.com> |
896 | ||
897 | * stack.c (frame_info): Check frame_unwind_caller_id. | |
898 | ||
2f3ef606 MM |
899 | 2016-02-12 Markus Metzger <markus.t.metzger@intel.com> |
900 | ||
901 | * frame.h (skip_tailcall_frames): New. | |
902 | * frame.c (skip_tailcall_frames): New. | |
903 | (frame_pop): Call skip_tailcall_frames. | |
904 | * infcmd.c (finish_command): Call skip_tailcall_frames. | |
905 | ||
e352bf0a PA |
906 | 2016-02-11 Pedro Alves <palves@redhat.com> |
907 | ||
908 | * Makefile.in (check-parallel): New rule. | |
909 | ||
bec2ab5a SM |
910 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
911 | ||
912 | * arm-tdep.c (arm_skip_prologue): Remove unused variables. | |
913 | (arm_analyze_prologue): Likewise. | |
914 | (arm_scan_prologue): Likewise. | |
915 | (arm_m_exception_prev_register): Likewise. | |
916 | (arm_copy_block_xfer): Likewise. | |
917 | (thumb2_copy_block_xfer): Likewise. | |
918 | (arm_decode_miscellaneous): Likewise. | |
919 | (arm_decode_ld_st_word_ubyte): Likewise. | |
920 | (arm_decode_svc_copro): Likewise. | |
921 | (thumb2_decode_svc_copro): Likewise. | |
922 | (thumb_copy_16bit_ldr_literal): Likewise. | |
923 | (thumb_copy_pop_pc_16bit): Likewise. | |
924 | (decode_thumb_32bit_ld_mem_hints): Likewise. | |
925 | (arm_show_force_mode): Likewise. | |
926 | (_initialize_arm_tdep): Likewise. | |
927 | (arm_record_strx): Likewise. | |
928 | (arm_record_extension_space): Likewise. | |
929 | (arm_record_data_proc_misc_ld_str): Likewise. | |
930 | (arm_record_exreg_ld_st_insn): Likewise. | |
931 | (arm_record_vfp_data_proc_insn): Likewise. | |
932 | (arm_record_coproc_data_proc): Likewise. | |
933 | (thumb_record_misc): Likewise. | |
934 | (thumb_record_ldm_stm_swi): Likewise. | |
935 | (thumb2_record_ld_st_dual_ex_tbb): Likewise. | |
936 | (thumb2_record_ld_mem_hints): Likewise. | |
937 | (thumb2_record_lmul_lmla_div): Likewise. | |
938 | (thumb2_record_asimd_struct_ld_st): Likewise. | |
939 | (arm_process_record): Likewise. | |
940 | ||
2ba163c8 SM |
941 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
942 | ||
943 | * arm-tdep.c (arm_displaced_step_copy_insn): Remove. | |
944 | (ARM displaced stepping support): Remove reference to | |
945 | arm_displaced_step_copy_insn in comment. | |
946 | * arm-tdep.h (arm_displaced_step_copy_insn): Remove. | |
947 | * arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Remove | |
948 | reference to arm_displaced_step_copy_insn in comment. | |
949 | ||
615234c1 SM |
950 | 2016-02-11 Simon Marchi <simon.marchi@ericsson.com> |
951 | ||
952 | * arm-tdep.c (thumb_copy_unmodified_16bit): Change type of insn. | |
953 | (thumb_copy_b): Likewise. | |
954 | (arm_decode_b_bl_ldmstm): Likewise. | |
955 | (thumb_copy_16bit_ldr_literal): Likewise. | |
956 | (thumb_copy_pop_pc_16bit): Likewise. | |
957 | ||
82e9becd AT |
958 | 2016-02-11 Antoine Tremblay <antoine.tremblay@ericsson.com> |
959 | ||
960 | * tracepoint.c (encode_actions_1): Use target_gdbarch () rather | |
961 | than loc->gdbarch. | |
962 | ||
5ac87a99 MK |
963 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
964 | ||
965 | * tracefile-tfile.c (trace_tdesc): New static variable. | |
966 | (tfile_open): Clear trace_tdesc, call target_find_description. | |
967 | (tfile_interp_line): Recognize tdesc lines. | |
968 | (tfile_close): Clear trace_tdesc. | |
969 | (tfile_xfer_partial_features): New function. | |
970 | (tfile_xfer_partial): Call tfile_xfer_partial_features. | |
971 | (tfile_append_tdesc_line): New function. | |
972 | ||
18d3cec5 MK |
973 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
974 | ||
975 | * ctf.c (ctf_write_tdesc): New function. | |
976 | (ctf_write_ops): Wire in ctf_write_tdesc. | |
977 | * tracefile-tfile.c (tfile_write_tdesc): New function. | |
978 | (tfile_write_ops): Wire in tfile_write_tdesc. | |
979 | * tracefile.c (trace_save): Call write_tdesc method. | |
980 | * tracefile.h (struct trace_file_write_ops): Add write_tdesc method. | |
981 | * xml-tdesc.c (target_fetch_description_xml): New function. | |
982 | * xml-tdesc.h: Add target_fetch_description_xml prototype. | |
983 | ||
550dc4e2 SM |
984 | 2016-02-10 Simon Marchi <simon.marchi@ericsson.com> |
985 | ||
986 | * arm-tdep.c (arm_copy_extra_ld_st): Fix "unpriveleged" typo. | |
987 | (arm_decode_dp_misc): Likewise. | |
988 | ||
62e5fd57 MK |
989 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
990 | ||
991 | * amd64-tdep.c (amd64_ax_pseudo_register_collect): New function. | |
992 | (amd64_init_abi): Fill ax_pseudo_register_collect hook. | |
993 | * gdb/i386-tdep.c (i386_pseudo_register_read_into_value): Remove | |
994 | misleading comment. | |
995 | (i386_pseudo_register_write): Ditto. | |
996 | (i386_ax_pseudo_register_collect): New function. | |
997 | (i386_gdbarch_init): Fill ax_pseudo_register_collect hook. | |
998 | * i386-tdep.h: Add i386_ax_pseudo_register_collect prototype. | |
999 | ||
e909d859 MK |
1000 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
1001 | ||
1002 | * tracefile-tfile.c (tfile_fetch_registers): Use g packet order | |
1003 | instead of gdb order. | |
1004 | ||
473b99e5 MK |
1005 | 2016-02-10 Marcin Kościelnicki <koriakin@0x04.net> |
1006 | ||
1007 | * tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds | |
1008 | check. | |
1009 | ||
1233c0ba JB |
1010 | 2016-02-10 Joel Brobecker <brobecker@adacore.com> |
1011 | ||
1012 | * NEWS: Create a new section for the next release branch. | |
1013 | Rename the section of the current branch, now that it has | |
1014 | been cut. | |
1015 | ||
d1dc0942 JB |
1016 | 2016-02-10 Joel Brobecker <brobecker@adacore.com> |
1017 | ||
1018 | GDB 7.11 branch created (9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a): | |
1019 | * version.in: Bump version to 7.11.50.DATE-git. | |
1020 | ||
9ef9e6a6 KS |
1021 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
1022 | ||
1023 | PR breakpoints/19546 | |
1024 | * breakpoint.c (breakpoint_event_location_empty_p): New function. | |
1025 | (update_breakpoints_after_exec, bkpt_re_set): Use this new function | |
1026 | instead of event_location_empty_p. | |
1027 | ||
39a67dc4 KS |
1028 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
1029 | ||
1030 | * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Use | |
1031 | string_to_event_location_basic instead of string_to_event_location. | |
1032 | ||
a96e36da KS |
1033 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
1034 | ||
1035 | * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Skip | |
1036 | leading whitespace and use string_to_event_location_basic instead | |
1037 | of new_linespec_location. | |
1038 | ||
9f61929f KS |
1039 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
1040 | ||
1041 | PR python/19506 | |
1042 | * python/py-breakpoint.c (bppy_init): Use | |
1043 | string_to_event_location_basic instead of new_linespec_location. | |
1044 | ||
eeb1af43 KS |
1045 | 2016-02-09 Keith Seitz <keiths@redhat.com> |
1046 | ||
1047 | * location.c (string_to_explicit_location): Note that "-p" is | |
1048 | reserved for probe locations and return NULL for any input | |
1049 | that starts with that. | |
1050 | (string_to_event_location): Move "legacy" linespec code to ... | |
1051 | (string_to_event_location_basic): ... here. | |
1052 | * location.h (string_to_event_location): Update comment. | |
1053 | (string_to_event_location_basic): New function. | |
1054 | ||
1e94266c SM |
1055 | 2016-02-09 Simon Marchi <simon.marchi@ericsson.com> |
1056 | ||
1057 | * configure.ac: Use AC_CONFIG_FILES instead of passing arguments | |
1058 | to AC_OUTPUT. Remove "exit 0" at the end. | |
1059 | * configure: Regenerate. | |
1060 | ||
2a7f3dff PA |
1061 | 2016-02-09 Pedro Alves <palves@redhat.com> |
1062 | ||
1063 | PR breakpoints/19548 | |
1064 | * breakpoint.c (create_overlay_event_breakpoint): Don't update | |
1065 | global location list here. | |
1066 | (create_longjmp_master_breakpoint) | |
1067 | (create_std_terminate_master_breakpoint) | |
1068 | (create_exception_master_breakpoint, create_jit_event_breakpoint) | |
1069 | (update_breakpoint_locations): | |
1070 | (breakpoint_re_set): Update global location list after all | |
1071 | breakpoints are re-set. | |
1072 | ||
54887903 SM |
1073 | 2016-02-08 Simon Marchi <simon.marchi@ericsson.com> |
1074 | ||
1075 | * remote.c (remote_register_number_and_offset): Remove unused | |
1076 | variable(s). | |
1077 | (remote_thread_always_alive): Likewise. | |
1078 | (remote_update_thread_list): Likewise. | |
1079 | (process_initial_stop_replies): Likewise. | |
1080 | (remote_start_remote): Likewise. | |
1081 | (remote_check_symbols): Likewise. | |
1082 | (discard_pending_stop_replies): Likewise. | |
1083 | (process_stop_reply): Likewise. | |
1084 | (putpkt_binary): Likewise. | |
1085 | (getpkt): Likewise. | |
1086 | (remote_add_target_side_condition): Likewise. | |
1087 | (remote_insert_breakpoint): Likewise. | |
1088 | (remote_supports_stopped_by_sw_breakpoint): Likewise. | |
1089 | (remote_supports_stopped_by_hw_breakpoint): Likewise. | |
1090 | (remote_xfer_partial): Likewise. | |
1091 | (remote_read_btrace): Likewise. | |
1092 | (remote_async_serial_handler): Likewise. | |
1093 | (remote_thread_events): Likewise. | |
1094 | (_initialize_remote): Likewise. | |
1095 | ||
30914ca8 SM |
1096 | 2016-02-07 Simon Marchi <simon.marchi@polymtl.ca> |
1097 | ||
1098 | * varobj.h (varobj_delete): Remove dellist parameter, update and | |
1099 | move documentation here. | |
1100 | * varobj.c (struct cpstack, cppush, cppop): Remove. | |
1101 | (delete_variable): Remove resultp (first) parameter. | |
1102 | (delete_variable_1): Likewise. | |
1103 | (varobj_delete): Remove dellist parameter and unused code. | |
1104 | (update_dynamic_varobj_children): Adjust varobj_delete call. | |
1105 | (update_type_if_necessary): Likewise. | |
1106 | (varobj_set_visualizer): Likewise. | |
1107 | (varobj_update): Likewise. | |
1108 | (value_of_root): Likewise. | |
1109 | (varobj_invalidate_iter): Likewise. | |
1110 | * mi/mi-cmd-var.c (mi_cmd_var_delete): Likewise. | |
1111 | ||
e42e5352 YQ |
1112 | 2016-02-04 Yao Qi <yao.qi@linaro.org> |
1113 | ||
1114 | * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to | |
1115 | 0 before handling 'F' and set it back afterwards. | |
1116 | ||
6456a18b SM |
1117 | 2016-02-02 Simon Marchi <simon.marchi@ericsson.com> |
1118 | ||
1119 | * ui-out.c (MAX_UI_OUT_LEVELS): Remove. | |
1120 | ||
3f2f6cb5 WT |
1121 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1122 | ||
1123 | * amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval): | |
1124 | New types. | |
1125 | (compat_siginfo): New bound fields added. | |
1126 | (compat_x32_siginfo): New field added. | |
1127 | (cpt_si_addr_lsb): New define. | |
1128 | (compat_siginfo_from_siginfo): Use nat_siginfo. | |
1129 | (siginfo_from_compat_siginfo): Use nat_siginfo. | |
1130 | (compat_x32_siginfo_from_siginfo): Likewise. | |
1131 | (siginfo_from_compat_x32_siginfo): Likewise. | |
1132 | ||
96b5c49f WT |
1133 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1134 | ||
1135 | * linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd | |
1136 | structure to the siginfo if extra_fields contains | |
1137 | LINUX_SIGINFO_FIELD_ADDR_BND. | |
1138 | ||
190b495d WT |
1139 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1140 | ||
1141 | * linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern. | |
1142 | * linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern. | |
1143 | * i386-linux-tdep.h (x86_linux_get_siginfo_type): New | |
1144 | function. | |
1145 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): Add | |
1146 | x86_linux_get_siginfo_type for the amd64 abi. | |
1147 | * i386-linux-tdep.c (x86_linux_get_siginfo_type): New | |
1148 | function. | |
1149 | (i386_linux_init_abi): Add new function at the i386 ABI | |
1150 | initialization. | |
1151 | ||
43564574 WT |
1152 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1153 | ||
1154 | * linux-tdep.h (linux_siginfo_extra_field_values): New enum values. | |
1155 | (linux_siginfo_extra_fields): New enum type. | |
1156 | * linux-tdep.c (linux_get_siginfo_type_with_fields): New function. | |
1157 | (linux_get_siginfo_type): Use new function. | |
1158 | ||
93813b37 WT |
1159 | 2016-02-02 Walfred Tedeschi <walfred.tedeschi@intel.com> |
1160 | ||
1161 | * nat/amd64-linux-siginfo.c: New file. | |
1162 | * nat/amd64-linux-siginfo.h: New file. | |
1163 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h. | |
1164 | (amd64-linux-siginfo.o): New rule. | |
1165 | * config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o. | |
1166 | * amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include. | |
1167 | (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo) | |
1168 | (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo) | |
1169 | (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid) | |
1170 | (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status) | |
1171 | (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band) | |
1172 | (cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c. | |
1173 | ||
5fdf6324 AB |
1174 | 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com> |
1175 | ||
1176 | * value.c (max_value_size): New variable. | |
1177 | (MIN_VALUE_FOR_MAX_VALUE_SIZE): New define. | |
1178 | (set_max_value_size): New function. | |
1179 | (show_max_value_size): New function. | |
1180 | (check_type_length_before_alloc): New function. | |
1181 | (allocate_value_contents): Call check_type_length_before_alloc. | |
1182 | (set_value_enclosing_type): Likewise. | |
1183 | (_initialize_values): Add set/show handler for max-value-size. | |
1184 | * NEWS: Mention new set/show command. | |
1185 | ||
5fa13070 SM |
1186 | 2016-01-31 Simon Marchi <simon.marchi@polymtl.ca> |
1187 | ||
1188 | * varobj.h (struct varobj): Fix typos in comments. | |
1189 | (struct lang_varobj_ops): Likewise. | |
1190 | * varobj.c (VAROBJ_TABLE_SIZE): Likewise. | |
1191 | (varobj_create): Move misplaced comment. | |
1192 | ||
a2e3e93f SM |
1193 | 2016-01-29 Simon Marchi <simon.marchi@ericsson.com> |
1194 | ||
1195 | * aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces | |
1196 | to for include additional lines. | |
1197 | * xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces. | |
1198 | ||
56e374a6 SM |
1199 | 2016-01-28 Simon Marchi <simon.marchi@ericsson.com> |
1200 | ||
1201 | * gnulib/import/Makefile.am: Regenerate. | |
1202 | * gnulib/import/Makefile.in: Regenerate. | |
1203 | * gnulib/import/m4/gnulib-cache.m4: Regenerate. | |
1204 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add rawmemchr. | |
1205 | ||
8424cc97 SM |
1206 | 2016-01-28 Simon Marchi <simon.marchi@ericsson.com> |
1207 | ||
1208 | * remote.c (skip_to_semicolon): Remove. | |
1209 | (remote_parse_stop_reply): Use strchrnul instead of | |
1210 | skip_to_semicolon. | |
1211 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
1212 | strchrnul. | |
1213 | * gnulib/aclocal.m4: Regenerate. | |
1214 | * gnulib/config.in: Regenerate. | |
1215 | * gnulib/configure: Regenerate. | |
1216 | * gnulib/import/Makefile.am: Regenerate. | |
1217 | * gnulib/import/Makefile.in: Regenerate. | |
1218 | * gnulib/import/m4/gnulib-cache.m4: Regenerate. | |
1219 | * gnulib/import/m4/gnulib-comp.m4: Regenerate. | |
1220 | * gnulib/import/m4/rawmemchr.m4: New file. | |
1221 | * gnulib/import/m4/strchrnul.m4: New file. | |
1222 | * gnulib/import/rawmemchr.c: New file. | |
1223 | * gnulib/import/rawmemchr.valgrind: New file. | |
1224 | * gnulib/import/strchrnul.c: New file. | |
1225 | * gnulib/import/strchrnul.valgrind: New file. | |
1226 | ||
4a6a1ed4 YQ |
1227 | 2016-01-28 Yao Qi <yao.qi@linaro.org> |
1228 | ||
1229 | * breakpoint.c (build_target_command_list): Don't call continue | |
1230 | if aexpr is NULL. | |
1231 | (build_target_condition_list): Likewise. | |
1232 | ||
94715c17 KB |
1233 | 2016-01-27 Kevin Buettner <kevinb@redhat.com> |
1234 | ||
1235 | * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8 | |
1236 | bytes as aggregates. | |
1237 | ||
c07af0ab JB |
1238 | 2016-01-27 Joel Brobecker <brobecker@adacore.com> |
1239 | ||
1240 | * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as | |
1241 | Linespec Maintainers. | |
1242 | ||
41548caa SM |
1243 | 2016-01-26 Simon Marchi <simon.marchi@ericsson.com> |
1244 | ||
1245 | * common/common-utils.c (skip_spaces): Fix comment. | |
1246 | (skip_to_space_const): Likewise. | |
1247 | ||
4d18591b YQ |
1248 | 2016-01-25 Yao Qi <yao.qi@linaro.org> |
1249 | ||
1250 | * arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw): | |
1251 | Remove argument pc. Get pc by regcache_read_pc. Callers updated. | |
1252 | (arm_deal_with_atomic_sequence_raw): Likewise. | |
1253 | (thumb_get_next_pcs_raw): Likewise. | |
1254 | (arm_get_next_pcs_raw): Likewise. | |
1255 | (arm_get_next_pcs): Remove argument pc. Callers updated. | |
1256 | * arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration. | |
1257 | ||
a579cd9a MW |
1258 | 2016-01-25 Mark Wielaard <mjw@redhat.com> |
1259 | ||
1260 | * ada-lang.c (ada_evaluate_subexp): Add proper else block. | |
1261 | * c-typeprint.c (c_type_print_base): Fix misleading indentation of | |
1262 | if statement. | |
1263 | * inflow.c (child_terminal_ours_1): Fix misleading indentation of | |
1264 | statement block by introducing an else. | |
1265 | * linux-record.c (record_linux_sockaddr): Fix misleading indentation | |
1266 | of return statements. | |
1267 | (record_linux_msghdr): Likewise. | |
1268 | ||
a2077e25 PA |
1269 | 2016-01-25 Pedro Alves <palves@redhat.com> |
1270 | ||
1271 | PR threads/19461 | |
1272 | * infrun.c (handle_inferior_event_1) <fork/vfork>: Update | |
1273 | parent/child running states. | |
1274 | ||
1d2736d4 PA |
1275 | 2016-01-25 Pedro Alves <palves@redhat.com> |
1276 | ||
1277 | PR gdb/19494 | |
1278 | * linux-nat.c (kill_one_lwp): New, factored out from ... | |
1279 | (kill_callback): ... this. | |
1280 | (kill_wait_callback): New, factored out from ... | |
1281 | (kill_wait_one_lwp): ... this. | |
1282 | (kill_unfollowed_fork_children): New function. | |
1283 | (linux_nat_kill): Use it. | |
1284 | ||
b2bae2f7 JB |
1285 | 2016-01-22 John Baldwin <jhb@FreeBSD.org> |
1286 | ||
1287 | * fbsd-nat.c (fbsd_pid_to_str): Adjust string format. | |
1288 | ||
d86feca3 YQ |
1289 | 2016-01-22 Yao Qi <yao.qi@linaro.org> |
1290 | ||
1291 | * arm-linux-nat.c (fetch_fpregs): Call perror_with_name | |
1292 | instead of warning. | |
1293 | (store_fpregs, fetch_regs, store_regs): Likewise. | |
1294 | (fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
1295 | (fetch_vfp_regs, store_vfp_regs): Likewise. | |
1296 | ||
b35a8b2f DE |
1297 | 2016-01-21 Doug Evans <dje@google.com> |
1298 | ||
1299 | * breakpoint.c (init_breakpoint_sal): Add comment. | |
1300 | ||
f906b857 MK |
1301 | 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net> |
1302 | ||
1303 | * ax-gdb.c (gen_traced_pop): Use gen_fetch for string collection. | |
1304 | ||
4a099de2 AB |
1305 | 2016-01-21 Andrew Burgess <andrew.burgess@embecosm.com> |
1306 | ||
1307 | * disasm.c (maybe_add_dis_line_entry): Rename to... | |
1308 | (add_dis_line_entry): ...this, and update header comment. | |
1309 | (do_mixed_source_and_assembly): Now use add_dis_line_entry. | |
1310 | ||
a994041d PA |
1311 | 2016-01-21 Pedro Alves <palves@redhat.com> |
1312 | ||
1313 | * Makefile.in (COMPILER_CFLAGS): New. | |
1314 | (CXXFLAGS): Get it from configure. | |
1315 | (INTERNAL_CFLAGS_BASE, INTERNAL_LDFLAGS): Use COMPILER_CFLAGS | |
1316 | instead of CFLAGS. | |
1317 | * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Set and AC_SUBST | |
1318 | COMPILER_CFLAGS. | |
1319 | * configure: Regenerate. | |
1320 | ||
305e13e6 JB |
1321 | 2016-01-21 Joel Brobecker <brobecker@adacore.com> |
1322 | ||
1323 | * location.h (new_address_location): Add new parameters | |
1324 | "addr_string" and "addr_string_len". | |
1325 | (get_address_string_location): Add declaration. | |
1326 | * location.c (new_address_location): Add new parameters | |
1327 | "addr_string" and "addr_string_len". If not NULL, store | |
1328 | a copy of the addr_string in the new location as well. | |
1329 | (get_address_string_location): New function. | |
1330 | (string_to_event_location): Update call to new_address_location. | |
1331 | * linespec.c (event_location_to_sals) <ADDRESS_LOCATION>: | |
1332 | Save the event location in the parser's state before | |
1333 | passing it to convert_address_location_to_sals. | |
1334 | * breakpoint.c (create_thread_event_breakpoint): Update call | |
1335 | to new_address_location. | |
1336 | (init_breakpoint_sal): Get the event location's string, if any, | |
1337 | and use it to update call to new_address_location. | |
1338 | * python/py-finishbreakpoint.c (bpfinishpy_init): | |
1339 | Update call to new_address_location. | |
1340 | * spu-tdep.c (spu_catch_start): Likewise. | |
1341 | ||
1342 | * config/djgpp/fnchange.lst: Add entries for | |
1343 | gdb/testsuite/gdb.base/break-fun-addr1.c and | |
1344 | gdb/testsuite/gdb.base/break-fun-addr2.c. | |
1345 | ||
f7a6a40d YQ |
1346 | 2016-01-21 Yao Qi <yao.qi@linaro.org> |
1347 | ||
1348 | * arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter | |
1349 | is_thumb and set it according to CPSR saved on the stack. | |
1350 | (arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to | |
1351 | arm_linux_sigreturn_next_pc. | |
1352 | ||
5f5dfff6 SM |
1353 | 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
1354 | ||
1355 | * python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__): | |
1356 | Fix enumerators sort key function. | |
1357 | ||
be56871e JB |
1358 | 2016-01-20 Joel Brobecker <brobecker@adacore.com> |
1359 | ||
b12e5614 | 1360 | * printcmd.c (print_scalar_formatted): Move binary operator from |
be56871e JB |
1361 | end of line to beginning of next line. Adjust formatting |
1362 | accordingly. | |
1363 | ||
f2feec98 JB |
1364 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1365 | ||
1366 | * fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of | |
1367 | "len" with sysctl. | |
1368 | ||
20a0aab3 JB |
1369 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1370 | ||
1371 | * fbsd-tdep.c (find_stop_signal): Remove. | |
1372 | (struct fbsd_collect_regset_section_cb) <lwp>: New field. | |
1373 | <stop_signal>: New field. | |
1374 | <abort_iteration>: New field. | |
1375 | (fbsd_collect_regset_section_cb): Use new fields. | |
1376 | (fbsd_collect_thread_registers): New function. | |
1377 | (struct fbsd_corefile_thread_data): New structure. | |
1378 | (fbsd_corefile_thread): New function. | |
1379 | (fbsd_make_corefile_notes): Use new function to dump notes for each | |
1380 | non-exited thread in a process. | |
1381 | ||
6e9567fe JB |
1382 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1383 | ||
1384 | * configure.ac: Check for support for LWP names on FreeBSD. | |
1385 | * fbsd-nat.c [PT_LWPINFO] New variable debug_fbsd_lwp. | |
1386 | [TDP_RFPPWAIT || HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] | |
1387 | (fbsd_fetch_kinfo_proc): Move function earlier. | |
1388 | [PT_LWPINFO] (fbsd_thread_alive): New function. | |
1389 | [PT_LWPINFO] (fbsd_pid_to_str): New function. | |
1390 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] (fbsd_thread_name): New function. | |
1391 | [PT_LWP_EVENTS] (fbsd_enable_lwp_events): New function. | |
1392 | [PT_LWPINFO] (fbsd_add_threads): New function. | |
1393 | [PT_LWPINFO] (fbsd_update_thread_list): New function. | |
1394 | [PT_LWPINFO] New variable super_resume. | |
1395 | [PT_LWPINFO] (resume_one_thread_cb): New function. | |
1396 | [PT_LWPINFO] (resume_all_threads_cb): New function. | |
1397 | [PT_LWPINFO] (fbsd_resume): New function. | |
1398 | (fbsd_remember_child): Save full ptid instead of plain pid. | |
1399 | (fbsd_is_child_pending): Return ptid of saved child process. | |
1400 | (fbsd_wait): Include lwp in returned ptid and switch to LWP ptid on | |
1401 | first stop. | |
1402 | [PT_LWP_EVENTS] Handle LWP events. | |
1403 | [TDP_RFPPWAIT] Include LWP in child ptid. | |
1404 | (fbsd_post_startup_inferior) [PT_LWP_EVENTS]: Enable LWP events. | |
1405 | (fbsd_post_attach) [PT_LWP_EVENTS]: Enable LWP events. | |
1406 | Add threads for existing processes. | |
1407 | (fbsd_nat_add_target) [PT_LWPINFO]: Set "to_thread_alive" to | |
1408 | "fbsd_thread_alive". | |
1409 | Set "to_pid_to_str" to "fbsd_pid_to_str". | |
1410 | [HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]: Set "to_thread_name" to | |
1411 | "fbsd_thread_name". | |
1412 | [PT_LWPINFO]: Set "to_update_thread_list" to "fbsd_update_thread_list". | |
1413 | Set "to_has_thread_control" to "tc_schedlock". | |
1414 | Set "to_resume" to "fbsd_resume". | |
1415 | (_initialize_fbsd_nat): New function. | |
1416 | * configure: Regenerate. | |
1417 | * config.in: Regenerate. | |
1418 | ||
94309df7 JB |
1419 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1420 | ||
1421 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Use | |
1422 | get_ptrace_pid. | |
1423 | (amd64bsd_store_inferior_registers): Use get_ptrace_pid. | |
1424 | (amd64bsd_dr_get): Use get_ptrace_pid. | |
1425 | (amd64bsd_dr_set): Use get_ptrace_pid. | |
1426 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Use get_ptrace_pid. | |
1427 | (i386bsd_store_inferior_registers): Use get_ptrace_pid. | |
1428 | (i386bsd_dr_get): Use get_ptrace_pid. | |
1429 | (i386bsd_dr_set): Use get_ptrace_pid. | |
1430 | * inf-ptrace.c (get_ptrace_pid): Export. | |
1431 | * inf-ptrace.h (get_ptrace_pid): Declare. | |
1432 | * ppcfbsd-nat.c (ppcfbsd_fetch_inferior_registers): Use lwp id. | |
1433 | (ppcfbsd_store_inferior_registers): Use lwp id. | |
1434 | ||
79117428 JB |
1435 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1436 | ||
1437 | * fbsd_tdep.c (fbsd_core_pid_to_str): New function. | |
1438 | (fbsd_core_thread_name): New function. | |
1439 | (fbsd_init_abi): Add "core_pid_to_str" gdbarch method. | |
1440 | Add "core_thread_name" gdbarch method. | |
1441 | ||
4dfc5dbc JB |
1442 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1443 | ||
1444 | * corelow.c (core_thread_name): New function. | |
1445 | (init_core_ops): Use "core_thread_name" for the "to_thread_name" | |
1446 | target op. | |
1447 | * gdbarch.sh (core_thread_name): New gdbarch callback. | |
1448 | * gdbarch.h: Re-generate. | |
1449 | * gdbarch.c: Re-generate. | |
1450 | ||
10e3ed90 SM |
1451 | 2016-01-19 Simon Marchi <simon.marchi@polymtl.ca> |
1452 | ||
1453 | * python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly | |
1454 | convert gdb.Value to integer type using int(). | |
1455 | ||
a6e69c1f JB |
1456 | 2016-01-19 John Baldwin <jhb@FreeBSD.org> |
1457 | ||
1458 | * configure.ac: Include <sys/types.h when checking for "r_fs" in | |
1459 | "struct reg". | |
1460 | * configure: Regenerate. | |
1461 | ||
37e42b4f PA |
1462 | 2016-01-19 Pedro Alves <palves@redhat.com> |
1463 | ||
1464 | * ax-gdb.c (agent_command_1): Adjust call to decode_line_full. | |
1465 | * break-catch-throw.c (re_set_exception_catchpoint): Pass the | |
1466 | current program space down to linespec decoding and breakpoint | |
1467 | location updating. | |
1468 | * breakpoint.c (parse_breakpoint_sals): Adjust calls to | |
1469 | decode_line_full. | |
1470 | (until_break_command): Adjust calls to decode_line_1. | |
1471 | (base_breakpoint_decode_location, bkpt_decode_location): Add | |
1472 | 'search_pspace' parameter. Pass it along. | |
1473 | (bkpt_probe_create_sals_from_location): Adjust calls to | |
1474 | parse_probes. | |
1475 | (tracepoint_decode_location, tracepoint_probe_decode_location) | |
1476 | (strace_marker_decode_location): Add 'search_pspace' parameter. | |
1477 | Pass it along. | |
1478 | (all_locations_are_pending): Rewrite to take a breakpoint and | |
1479 | program space as arguments instead. | |
1480 | (hoist_existing_locations): New function. | |
1481 | (update_breakpoint_locations): Add 'filter_pspace' parameter. Use | |
1482 | hoist_existing_locations instead of always removing all locations, | |
1483 | and adjust to all_locations_are_pending change. | |
1484 | (location_to_sals): Add 'search_pspace' parameter. Pass it along. | |
1485 | Don't disable the breakpoint if there are other locations in | |
1486 | another program space. | |
1487 | (breakpoint_re_set_default): Adjust to pass down the current | |
1488 | program space as filter program space. | |
1489 | (decode_location_default): Add 'search_pspace' parameter and pass | |
1490 | it along. | |
1491 | (prepare_re_set_context): Don't switch program space here. | |
1492 | (breakpoint_re_set): Use save_current_space_and_thread instead of | |
1493 | save_current_program_space. | |
1494 | * breakpoint.h (struct breakpoint_ops) <decode_location>: Add | |
1495 | 'search_pspace' parameter. | |
1496 | (update_breakpoint_locations): Add 'filter_pspace' parameter. | |
1497 | * cli/cli-cmds.c (edit_command, list_command): Adjust calls to | |
1498 | decode_line_1. | |
1499 | * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current | |
1500 | program space as filter program space. | |
1501 | * linespec.c (struct linespec_state) <search_pspace>: New field. | |
1502 | (create_sals_line_offset, convert_explicit_location_to_sals) | |
1503 | (parse_linespec): Pass the search program space down. | |
1504 | (linespec_state_constructor): Add 'search_pspace' parameter. | |
1505 | Store it. | |
1506 | (linespec_parser_new): Add 'search_pspace' parameter and pass it | |
1507 | along. | |
1508 | (linespec_lex_to_end): Adjust. | |
1509 | (decode_line_full, decode_line_1): Add 'search_pspace' parameter | |
1510 | and pass it along. | |
1511 | (decode_line_with_last_displayed): Adjust. | |
1512 | (collect_symtabs_from_filename, symtabs_from_filename): New | |
1513 | 'search_pspace' parameter. Use it. | |
1514 | (find_function_symbols): Pass the search program space down. | |
1515 | * linespec.h (decode_line_1, decode_line_full): Add | |
1516 | 'search_pspace' parameter. | |
1517 | * probe.c (parse_probes_in_pspace): New function, factored out | |
1518 | from ... | |
1519 | (parse_probes): ... this. Add 'search_pspace' parameter and use | |
1520 | it. | |
1521 | * probe.h (parse_probes): Add pspace' parameter. | |
1522 | * python/python.c (gdbpy_decode_line): Adjust. | |
1523 | * tracepoint.c (scope_info): Adjust. | |
1524 | ||
100b4f2e MR |
1525 | 2016-01-18 Maciej W. Rozycki <macro@imgtec.com> |
1526 | ||
1527 | * mips-tdep.c (mips_insn_size): Remove 48-bit microMIPS | |
1528 | instruction support. | |
1529 | (micromips_next_pc): Likewise. | |
1530 | (micromips_scan_prologue): Likewise. | |
1531 | (micromips_deal_with_atomic_sequence): Likewise. | |
1532 | (micromips_stack_frame_destroyed_p): Likewise. | |
1533 | (mips_breakpoint_from_pc): Likewise. | |
1534 | ||
3f7f3650 MR |
1535 | 2016-01-18 Maciej W. Rozycki <macro@imgtec.com> |
1536 | ||
1537 | * mips-tdep.c (micromips_insn_at_pc_has_delay_slot): Pass | |
1538 | unshifted 16-bit microMIPS instruction word to `mips_insn_size'. | |
1539 | ||
f303dbd6 PA |
1540 | 2016-01-18 Pedro Alves <palves@redhat.com> |
1541 | ||
1542 | * NEWS: Mention that GDB now displays the ID and name of the | |
1543 | thread that hit a breakpoint or received a signal. | |
1544 | * break-catch-sig.c (signal_catchpoint_print_it): Use | |
1545 | maybe_print_thread_hit_breakpoint. | |
1546 | * break-catch-syscall.c (print_it_catch_syscall): Likewise. | |
1547 | * break-catch-throw.c (print_it_exception_catchpoint): Likewise. | |
1548 | * breakpoint.c (maybe_print_thread_hit_breakpoint): New function. | |
1549 | (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib) | |
1550 | (print_it_catch_exec, print_it_ranged_breakpoint) | |
1551 | (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it): | |
1552 | Use maybe_print_thread_hit_breakpoint. | |
1553 | * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare. | |
1554 | * gdbthread.h (show_thread_that_caused_stop): Declare. | |
1555 | * infrun.c (print_signal_received_reason): Print which thread | |
1556 | received signal. | |
1557 | * thread.c (show_thread_that_caused_stop): New function. | |
1558 | ||
eb0edac8 GB |
1559 | 2016-01-18 Gary Benson <gbenson@redhat.com> |
1560 | ||
1561 | * nat/linux-namespaces.c (do_fork): New function. | |
1562 | (linux_mntns_get_helper): Use the above. | |
1563 | ||
dc365182 JH |
1564 | 2016-01-17 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> (tiny change) |
1565 | ||
1566 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
1567 | PR gdb/19208 | |
1568 | * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name | |
1569 | if the function has no name. | |
1570 | ||
f74f61cb SL |
1571 | 2016-01-15 Sandra Loosemore <sandra@codesourcery.com> |
1572 | ||
1573 | * charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET): | |
1574 | Conditionalize for Windows host. | |
1575 | (GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET. | |
1576 | (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32. | |
1577 | (phony_iconv_open): Handle both UTF-32 endiannesses. | |
1578 | (phony_iconv): Likewise. Check for output overflow and clean up | |
1579 | out-of-input cases. Correct adjustment to input buffer pointer. | |
1580 | (set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match | |
1581 | phony_iconv_open. | |
1582 | ||
71ef29a8 PA |
1583 | 2016-01-15 Pedro Alves <palves@redhat.com> |
1584 | ||
1585 | * NEWS: Mention star wildcard ranges. | |
1586 | * cli/cli-utils.c (get_number_or_range): Check state->in_range first. | |
1587 | (number_range_setup_range): New function. | |
1588 | * cli/cli-utils.h (number_range_setup_range): New declaration. | |
1589 | * thread.c (thread_apply_command): Support star TID ranges. | |
1590 | * tid-parse.c (tid_range_parser_finished) | |
1591 | (tid_range_parser_string, tid_range_parser_skip) | |
1592 | (get_tid_or_range, get_tid_or_range): Handle | |
1593 | TID_RANGE_STATE_STAR_RANGE. | |
1594 | (tid_range_parser_star_range): New function. | |
1595 | * tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>: | |
1596 | New value. | |
1597 | (tid_range_parser_star_range): New declaration. | |
1598 | ||
3f5b7598 PA |
1599 | 2016-01-15 Pedro Alves <palves@redhat.com> |
1600 | ||
1601 | * thread.c (thread_apply_command): Use the tid range parser to | |
1602 | advance past the thread ID list. | |
1603 | * tid-parse.c (get_positive_number_trailer): New function. | |
1604 | (parse_thread_id): Use it. | |
1605 | (get_tid_or_range): Use it. Return 0 instead of throwing invalid | |
1606 | thread ID error. | |
1607 | (get_tid_or_range): Detect negative values. Return 0 instead of | |
1608 | throwing invalid thread ID error. | |
1609 | ||
e7cf25a8 YQ |
1610 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
1611 | ||
1612 | * arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc): | |
1613 | Declare. | |
1614 | (arm_linux_get_next_pcs_ops): Install | |
1615 | arm_linux_get_next_pcs_syscall_next_pc. | |
1616 | (arm_linux_syscall_next_pc): Change to ... | |
1617 | (arm_linux_get_next_pcs_syscall_next_pc): ... it. | |
1618 | (arm_linux_init_abi): Don't set tdep->syscall_next_pc. | |
1619 | * arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare. | |
1620 | (arm_get_next_pcs_syscall_next_pc): Make it static. Don't | |
1621 | call tdep->syscall_next_pc. | |
1622 | * arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove. | |
1623 | (arm_get_next_pcs_syscall_next_pc): Remove. | |
1624 | ||
c0518081 YQ |
1625 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
1626 | ||
1627 | * remote.c (remote_set_syscall_catchpoint): Cast to char *. | |
1628 | * thread.c (do_captured_thread_select): Cast to const char *. | |
1629 | ||
1b451dda YQ |
1630 | 2016-01-14 Yao Qi <yao.qi@linaro.org> |
1631 | ||
1632 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change | |
1633 | argument arm_thumb2_breakpoint to has_thumb2_breakpoint. | |
1634 | (thumb_get_next_pcs_raw): Check has_thumb2_breakpoint | |
1635 | instead. | |
1636 | * arch/arm-get-next-pcs.h (struct arm_get_next_pcs) | |
1637 | <arm_thumb2_breakpoint>: Remove. | |
1638 | <has_thumb2_breakpoint>: New field. | |
1639 | (arm_get_next_pcs_ctor): Update declaration. | |
1640 | * arm-linux-tdep.c (arm_linux_software_single_step): Pass | |
1641 | 1 to arm_get_next_pcs_ctor. | |
1642 | * arm-tdep.c (arm_software_single_step): Pass 0 to | |
1643 | arm_get_next_pcs_ctor. | |
1644 | ||
bc06e0b1 UW |
1645 | 2016-01-13 Ulrich Weigand <uweigand@de.ibm.com> |
1646 | ||
1647 | * MAINTAINERS: Add Andreas Arnez as s390 target maintainer. | |
1648 | ||
4e7b8bea YQ |
1649 | 2016-01-13 Yao Qi <yao.qi@linaro.org> |
1650 | ||
1651 | * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use | |
1652 | byte_order_for_code to read instruction. | |
1653 | ||
663f6d42 PA |
1654 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1655 | ||
1656 | * NEWS: Mention $_gthread. | |
1657 | * gdbthread.h (struct thread_info) <global_num>: Mention | |
1658 | $_gthread. | |
1659 | * thread.c (thread_num_make_value_helper): New function. | |
1660 | (thread_id_make_value): Delete. | |
1661 | (thread_id_per_inf_num_make_value, global_thread_id_make_value): | |
1662 | New. | |
1663 | (thread_funcs): Adjust. | |
1664 | (gthread_funcs): New. | |
1665 | (_initialize_thread): Register $_gthread variable. | |
1666 | ||
c84f6bbf PA |
1667 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1668 | ||
1669 | * NEWS: Mention "info threads -gid". | |
1670 | * gdbthread.h (struct thread_info) <global_num>: Mention "info | |
1671 | threads -gid". | |
1672 | * thread.c (info_threads_command): Handle "-gid". | |
1673 | (_initialize_thread): Adjust "info threads" help string to mention | |
1674 | -gid. | |
1675 | ||
22a02324 PA |
1676 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1677 | ||
1678 | * NEWS: Mention InferiorThread.global_num. | |
1679 | * python/py-infthread.c (thpy_get_global_num): New function. | |
1680 | (thread_object_getset): Register "global_num". | |
1681 | ||
5d5658a1 PA |
1682 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1683 | ||
1684 | * NEWS: Mention that thread IDs are now per inferior and global | |
1685 | thread IDs. | |
1686 | * Makefile.in (SFILES): Add tid-parse.c. | |
1687 | (COMMON_OBS): Add tid-parse.o. | |
1688 | (HFILES_NO_SRCDIR): Add tid-parse.h. | |
1689 | * ada-tasks.c: Adjust to use ptid_to_global_thread_id. | |
1690 | * breakpoint.c (insert_breakpoint_locations) | |
1691 | (remove_threaded_breakpoints, bpstat_check_breakpoint_conditions) | |
1692 | (print_one_breakpoint_location, set_longjmp_breakpoint) | |
1693 | (check_longjmp_breakpoint_for_call_dummy) | |
1694 | (set_momentary_breakpoint): Adjust to use global IDs. | |
1695 | (find_condition_and_thread, watch_command_1): Use parse_thread_id. | |
1696 | (until_break_command, longjmp_bkpt_dtor) | |
1697 | (breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust | |
1698 | to use global IDs. | |
1699 | * dummy-frame.c (pop_dummy_frame_bpt): Adjust to use | |
1700 | ptid_to_global_thread_id. | |
1701 | * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise. | |
1702 | * gdbthread.h (struct thread_info): Rename field 'num' to | |
1703 | 'global_num. Add new fields 'per_inf_num' and 'inf'. | |
1704 | (thread_id_to_pid): Rename thread_id_to_pid to | |
1705 | global_thread_id_to_ptid. | |
1706 | (pid_to_thread_id): Rename to ... | |
1707 | (ptid_to_global_thread_id): ... this. | |
1708 | (valid_thread_id): Rename to ... | |
1709 | (valid_global_thread_id): ... this. | |
1710 | (find_thread_id): Rename to ... | |
1711 | (find_thread_global_id): ... this. | |
1712 | (ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare. | |
1713 | (print_thread_info): Add comment. | |
1714 | * tid-parse.h: New file. | |
1715 | * tid-parse.c: New file. | |
1716 | * infcmd.c (step_command_fsm_prepare) | |
1717 | (step_command_fsm_should_stop): Adjust to use the global thread | |
1718 | ID. | |
1719 | (until_next_command, until_next_command) | |
1720 | (finish_command_fsm_should_stop): Adjust to use the global thread | |
1721 | ID. | |
1722 | (attach_post_wait): Adjust to check the inferior number too. | |
1723 | * inferior.h (struct inferior) <highest_thread_num>: New field. | |
1724 | * infrun.c (handle_signal_stop) | |
1725 | (insert_exception_resume_breakpoint) | |
1726 | (insert_exception_resume_from_probe): Adjust to use the global | |
1727 | thread ID. | |
1728 | * record-btrace.c (record_btrace_open): Use global thread IDs. | |
1729 | * remote.c (process_initial_stop_replies): Also consider the | |
1730 | inferior number. | |
1731 | * target.c (target_pre_inferior): Clear the inferior's highest | |
1732 | thread num. | |
1733 | * thread.c (clear_thread_inferior_resources): Adjust to use the | |
1734 | global thread ID. | |
1735 | (new_thread): New inferior parameter. Adjust to use it. Set both | |
1736 | the thread's global ID and the thread's per-inferior ID. | |
1737 | (add_thread_silent): Adjust. | |
1738 | (find_thread_global_id): New. | |
1739 | (find_thread_id): Make static. Adjust to rename. | |
1740 | (valid_thread_id): Rename to ... | |
1741 | (valid_global_thread_id): ... this. | |
1742 | (pid_to_thread_id): Rename to ... | |
1743 | (ptid_to_global_thread_id): ... this. | |
1744 | (thread_id_to_pid): Rename to ... | |
1745 | (global_thread_id_to_ptid): ... this. Adjust. | |
1746 | (first_thread_of_process): Adjust. | |
1747 | (do_captured_list_thread_ids): Adjust to use global thread IDs. | |
1748 | (should_print_thread): New function. | |
1749 | (print_thread_info): Rename to ... | |
1750 | (print_thread_info_1): ... this, and add new show_global_ids | |
1751 | parameter. Handle it. Iterate over inferiors. | |
1752 | (print_thread_info): Reimplement as wrapper around | |
1753 | print_thread_info_1. | |
1754 | (show_inferior_qualified_tids): New function. | |
1755 | (print_thread_id): Use it. | |
1756 | (tp_array_compar): Compare inferior numbers too. | |
1757 | (thread_apply_command): Use tid_range_parser. | |
1758 | (do_captured_thread_select): Use parse_thread_id. | |
1759 | (thread_id_make_value): Adjust. | |
1760 | (_initialize_thread): Adjust "info threads" help string. | |
1761 | * varobj.c (struct varobj_root): Update comment. | |
1762 | (varobj_create): Adjust to use global thread IDs. | |
1763 | (value_of_root_1): Adjust to use global_thread_id_to_ptid. | |
1764 | * windows-tdep.c (display_tib): No longer accept an argument. | |
1765 | * cli/cli-utils.c (get_number_trailer): Make extern. | |
1766 | * cli/cli-utils.h (get_number_trailer): Declare. | |
1767 | (get_number_const): Adjust documentation. | |
1768 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global | |
1769 | thread IDs. | |
1770 | * mi/mi-interp.c (mi_new_thread, mi_thread_exit) | |
1771 | (mi_on_normal_stop, mi_output_running_pid, mi_on_resume): | |
1772 | * mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise. | |
1773 | * guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x): | |
1774 | Likewise. | |
1775 | * python/py-breakpoint.c (bppy_set_thread): Likewise. | |
1776 | * python/py-finishbreakpoint.c (bpfinishpy_init): Likewise. | |
1777 | * python/py-infthread.c (thpy_get_num): Add comment and return the | |
1778 | per-inferior thread ID. | |
1779 | (thread_object_getset): Update comment of "num". | |
1780 | ||
43792cf0 PA |
1781 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1782 | ||
1783 | * breakpoint.c (remove_threaded_breakpoints) | |
1784 | (print_one_breakpoint_location): Use print_thread_id. | |
1785 | * btrace.c (btrace_enable, btrace_disable, btrace_teardown) | |
1786 | (btrace_fetch, btrace_clear): Use print_thread_id. | |
1787 | * common/print-utils.c (CELLSIZE): Delete. | |
1788 | (get_cell): Rename to ... | |
1789 | (get_print_cell): ... this and made extern. Adjust call callers. | |
1790 | Adjust to use PRINT_CELL_SIZE. | |
1791 | * common/print-utils.h (get_print_cell): Declare. | |
1792 | (PRINT_CELL_SIZE): New. | |
1793 | * gdbthread.h (print_thread_id): Declare. | |
1794 | * infcmd.c (signal_command): Use print_thread_id. | |
1795 | * inferior.c (print_inferior): Use print_thread_id. | |
1796 | * infrun.c (handle_signal_stop) | |
1797 | (insert_exception_resume_breakpoint) | |
1798 | (insert_exception_resume_from_probe) | |
1799 | (print_signal_received_reason): Use print_thread_id. | |
1800 | * record-btrace.c (record_btrace_info) | |
1801 | (record_btrace_resume_thread, record_btrace_cancel_resume) | |
1802 | (record_btrace_step_thread, record_btrace_wait): Use | |
1803 | print_thread_id. | |
1804 | * thread.c (thread_apply_all_command): Use print_thread_id. | |
1805 | (print_thread_id): New function. | |
1806 | (thread_apply_command): Use print_thread_id. | |
1807 | (thread_command, thread_find_command, do_captured_thread_select): | |
1808 | Use print_thread_id. | |
1809 | ||
84654457 PA |
1810 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1811 | ||
1812 | * NEWS: Mention InferiorThread.inferior. | |
1813 | * python/py-infthread.c (thpy_get_inferior): New. | |
1814 | (thread_object_getset): Register "inferior". | |
1815 | ||
e3940304 PA |
1816 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1817 | ||
1818 | * NEWS: Mention $_inferior. | |
1819 | * inferior.c (inferior_id_make_value): New. | |
1820 | (inferior_funcs): New. | |
1821 | (_initialize_inferior): Create $_inferior variable. | |
1822 | ||
a911d87a PA |
1823 | 2016-01-13 Pedro Alves <palves@redhat.com> |
1824 | ||
1825 | PR breakpoints/19388 | |
1826 | * frame.c (get_current_frame): Use validate_registers_access. | |
1827 | * gdbthread.h (validate_registers_access): Declare. | |
1828 | * infrun.c (validate_siginfo_access): Delete. | |
1829 | (siginfo_value_read, siginfo_value_write): Use | |
1830 | validate_registers_access. | |
1831 | * thread.c (validate_registers_access): New function. | |
1832 | ||
82075af2 JS |
1833 | 2016-01-12 Josh Stone <jistone@redhat.com> |
1834 | Philippe Waroquiers <philippe.waroquiers@skynet.be> | |
1835 | ||
1836 | * NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the | |
1837 | syscall_entry and syscall_return stop reasons. Mention GDB | |
1838 | support for remote catch syscall. | |
1839 | * remote.c (PACKET_QCatchSyscalls): New enum. | |
1840 | (remote_set_syscall_catchpoint): New function. | |
1841 | (remote_protocol_features): New element for QCatchSyscalls. | |
1842 | (remote_parse_stop_reply): Parse syscall_entry/return stops. | |
1843 | (init_remote_ops): Install remote_set_syscall_catchpoint. | |
1844 | (_initialize_remote): Config QCatchSyscalls. | |
1845 | * linux-nat.h (struct lwp_info) <syscall_state>: Comment typo. | |
1846 | ||
d18547d8 YQ |
1847 | 2016-01-12 Yao Qi <yao.qi@linaro.org> |
1848 | ||
1849 | * nat/linux-ptrace.c (linux_child_function): Cast child_stack | |
1850 | to gdb_byte * and pass to linux_fork_to_function. | |
1851 | ||
ba4dd7c4 YQ |
1852 | 2016-01-12 Yao Qi <yao.qi@linaro.org> |
1853 | ||
1854 | * nat/linux-ptrace.c (linux_fork_to_function): Change type | |
1855 | of argument 'function'. | |
1856 | (linux_grandchild_function): Change return type to 'int'. | |
1857 | Change child_stack's type to 'void *'. | |
1858 | (linux_child_function): Likewise. | |
1859 | ||
bc504a31 PA |
1860 | 2016-01-12 Pedro Alves <palves@redhat.com> |
1861 | ||
1862 | Remove use of the registered trademark symbol throughout. | |
1863 | ||
5eddd578 TS |
1864 | 2016-01-12 Thomas Schwinge <thomas@codesourcery.com> |
1865 | ||
1866 | * reply_mig_hack.awk: Rewrite one regular expression. | |
1867 | ||
b835bb52 MF |
1868 | 2016-01-11 Mike Frysinger <vapier@gentoo.org> |
1869 | ||
1870 | * acinclude.m4: Include new warning.m4 file. | |
1871 | * configure: Regenerated. | |
1872 | * configure.ac: Move all warning logic ... | |
1873 | * warning.m4: ... here. | |
1874 | ||
2f99e8fc YQ |
1875 | 2016-01-08 Yao Qi <yao.qi@linaro.org> |
1876 | ||
1877 | * extension.c: Include target.h. | |
1878 | (set_active_ext_lang): Only call install_gdb_sigint_handler, | |
1879 | check_quit_flag, and set_quit_flag if target_terminal_is_ours | |
1880 | returns false. | |
1881 | (restore_active_ext_lang): Likewise. | |
1882 | * target.c (target_terminal_is_ours): New function. | |
1883 | * target.h (target_terminal_is_ours): Declare. | |
1884 | ||
5dd05630 MR |
1885 | 2016-01-07 Maciej W. Rozycki <macro@imgtec.com> |
1886 | ||
1887 | * mips-tdep.c (mips_breakpoint_from_pc): Rename local `status' | |
1888 | to `err' in the little-endian leg. | |
1889 | ||
f5aa3069 YQ |
1890 | 2016-01-06 Yao Qi <yao.qi@linaro.org> |
1891 | ||
1892 | * arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some | |
1893 | lines below. | |
1894 | (thumb_get_next_pcs_raw): Make it static. | |
1895 | (arm_get_next_pcs_raw): Likewise. | |
1896 | * arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the | |
1897 | declaration. | |
1898 | (arm_get_next_pcs_raw): Likewise. | |
1899 | ||
bf69ad5a MF |
1900 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
1901 | ||
1902 | * version.in: Change cvs to git. | |
1903 | ||
66750332 MF |
1904 | 2016-01-05 Mike Frysinger <vapier@gentoo.org> |
1905 | ||
1906 | * configure.tgt (score-*-*): Delete gdb_sim assignment. | |
1907 | ||
976102cd PA |
1908 | 2016-01-05 Pedro Alves <palves@redhat.com> |
1909 | ||
1910 | PR sim/13418 | |
1911 | * configure.ac: Define WITH_PPC_SIM when linking in the sim and | |
1912 | the target is powerpc*. | |
fa89c126 PA |
1913 | * rs6000-tdep.c (init_sim_regno_table): Check WITH_PPC_SIM instead |
1914 | of WITH_SIM. | |
976102cd PA |
1915 | * configure: Regenerate. |
1916 | * config.in: Regenerate. | |
1917 | ||
43368e1d MM |
1918 | 2016-01-04 Markus Metzger <markus.t.metzger@intel.com> |
1919 | ||
1920 | * btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH. | |
1921 | ||
32273fe6 MF |
1922 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
1923 | ||
1924 | * configure.tgt (powerpc*-*-*): Delete test call and | |
1925 | always assign gdb_sim. | |
1926 | ||
618f726f JB |
1927 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
1928 | ||
1929 | Update year range in copyright notice of all files. | |
1930 | ||
edd88788 JB |
1931 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
1932 | ||
1933 | * top.c (print_gdb_version): Change copyright year in version | |
1934 | message. | |
1935 | ||
0f7b3ef4 | 1936 | 2016-01-01 Joel Brobecker <brobecker@adacore.com> |
aec47d1d | 1937 | |
0f7b3ef4 | 1938 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015. |
aec47d1d | 1939 | |
0f7b3ef4 | 1940 | For older changes see ChangeLog-2015. |
c906108c SS |
1941 | \f |
1942 | Local Variables: | |
1943 | mode: change-log | |
1944 | left-margin: 8 | |
1945 | fill-column: 74 | |
1946 | version-control: never | |
57da7796 | 1947 | coding: utf-8 |
c906108c | 1948 | End: |