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