]>
Commit | Line | Data |
---|---|---|
6da58d3e SM |
1 | 2015-01-30 Simon Marchi <[email protected]> |
2 | ||
3 | * varobj.c (varobj_delete): Fix comment. | |
4 | ||
837ce252 SM |
5 | 2015-01-30 Simon Marchi <[email protected]> |
6 | ||
7 | * varobj.c (create_child): Modify comment. | |
8 | ||
b09e2c59 SM |
9 | 2015-01-30 Simon Marchi <[email protected]> |
10 | ||
11 | * ada-varobj.c (ada_number_of_children): Constify struct varobj * | |
12 | parameter. | |
13 | (ada_name_of_variable): Same. | |
14 | (ada_path_expr_of_child): Same. | |
15 | (ada_value_of_variable): Same. | |
16 | (ada_value_is_changeable_p): Same. | |
17 | (ada_value_has_mutated): Same. | |
18 | * c-varobj.c (varobj_is_anonymous_child): Same. | |
19 | (c_is_path_expr_parent): Same. | |
20 | (c_number_of_children): Same. | |
21 | (c_name_of_variable): Same. | |
22 | (c_path_expr_of_child): Same. | |
23 | (get_type): Same. | |
24 | (c_value_of_variable): Same. | |
25 | (cplus_number_of_children): Same. | |
26 | (cplus_name_of_variable): Same. | |
27 | (cplus_path_expr_of_child): Same. | |
28 | (cplus_value_of_variable): Same. | |
29 | * jv-varobj.c (java_number_of_children): Same. | |
30 | (java_name_of_variable): Same. | |
31 | (java_path_expr_of_child): Same. | |
32 | (java_value_of_variable): Same. | |
33 | * varobj.c (number_of_children): Same. | |
34 | (name_of_variable): Same. | |
35 | (is_root_p): Same. | |
36 | (varobj_ensure_python_env): Same. | |
37 | (varobj_get_objname): Same. | |
38 | (varobj_get_expression): Same. | |
39 | (varobj_get_display_format): Same. | |
40 | (varobj_get_display_hint): Same. | |
41 | (varobj_has_more): Same. | |
42 | (varobj_get_thread_id): Same. | |
43 | (varobj_get_frozen): Same. | |
44 | (dynamic_varobj_has_child_method): Same. | |
45 | (varobj_get_gdb_type): Same. | |
46 | (is_path_expr_parent): Same. | |
47 | (varobj_default_is_path_expr_parent): Same. | |
48 | (varobj_get_language): Same. | |
49 | (varobj_get_attributes): Same. | |
50 | (varobj_is_dynamic_p): Same. | |
51 | (varobj_get_child_range): Same. | |
52 | (varobj_value_has_mutated): Same. | |
53 | (varobj_get_value_type): Same. | |
54 | (number_of_children): Same. | |
55 | (name_of_variable): Same. | |
56 | (check_scope): Same. | |
57 | (varobj_editable_p): Same. | |
58 | (varobj_value_is_changeable_p): Same. | |
59 | (varobj_floating_p): Same. | |
60 | (varobj_default_value_is_changeable_p): Same. | |
61 | ||
2568868e SM |
62 | 2015-01-30 Simon Marchi <[email protected]> |
63 | ||
64 | * varobj.c (varobj_get_path_expr): Set var->path_expr. | |
65 | * c-varobj.c (c_path_expr_of_child): Set local var instead of | |
66 | child->path_expr. | |
67 | (cplus_path_expr_of_child): Same. | |
68 | ||
ca83fa81 SM |
69 | 2015-01-30 Simon Marchi <[email protected]> |
70 | ||
71 | * mi-cmd-var.c (print_varobj): Free varobj_get_expression | |
72 | result. | |
73 | (mi_cmd_var_info_expression): Same. | |
74 | * varobj.c (varobj_get_expression): Mention in the comment that | |
75 | the result must by freed by the caller. | |
76 | ||
afa269ae SM |
77 | 2015-01-30 Simon Marchi <[email protected]> |
78 | ||
79 | * mi/mi-cmd-var.c (mi_cmd_var_info_type): Free result of | |
80 | varobj_get_type. | |
81 | (varobj_update_one): Same. | |
82 | * varobj.c (update_type_if_necessary): Free curr_type_str and | |
83 | new_type_str. | |
84 | (varobj_get_type): Specify in comment that the result needs to be | |
85 | freed by the caller. | |
86 | ||
cd366ee8 DE |
87 | 2015-01-29 Doug Evans <[email protected]> |
88 | ||
89 | PR symtab/17890 | |
90 | * dwarf2read.c (dwarf_decode_line_header): Punt if version > 4. | |
91 | ||
38360086 MW |
92 | 2015-01-25 Mark Wielaard <[email protected]> |
93 | ||
94 | * dwarf2read.c (checkproducer): Call producer_is_gcc. | |
95 | * utils.c (producer_is_gcc_ge_4): Likewise. | |
96 | (producer_is_gcc): New function. | |
97 | * utils.h (producer_is_gcc): New declaration. | |
98 | ||
df25ebbd JB |
99 | 2015-01-29 Joel Brobecker <[email protected]> |
100 | ||
101 | * gdbtypes.h (struct dynamic_prop): New PROP_ADDR_OFFSET enum | |
102 | kind. | |
103 | * gdbtypes.c (resolve_dynamic_type_internal): Replace "addr" | |
104 | parameter by "addr_stack" parameter. | |
105 | (resolve_dynamic_range): Replace "addr" parameter by | |
106 | "stack_addr" parameter. Update function documentation. | |
107 | Update code accordingly. | |
108 | (resolve_dynamic_array, resolve_dynamic_union) | |
109 | (resolve_dynamic_struct, resolve_dynamic_type_internal): Likewise. | |
110 | (resolve_dynamic_type): Update code, following the changes made | |
111 | to resolve_dynamic_type_internal's interface. | |
112 | * dwarf2loc.h (struct property_addr_info): New. | |
113 | (dwarf2_evaluate_property): Replace "address" parameter | |
114 | by "addr_stack" parameter. Adjust function documentation. | |
115 | (struct dwarf2_offset_baton): New. | |
116 | (struct dwarf2_property_baton): Update documentation of | |
117 | field "referenced_type" to be more general. New field | |
118 | "offset_info" in union data field. | |
119 | * dwarf2loc.c (dwarf2_evaluate_property): Replace "address" | |
120 | parameter by "addr_stack" parameter. Adjust code accordingly. | |
121 | Add support for PROP_ADDR_OFFSET properties. | |
122 | * dwarf2read.c (attr_to_dynamic_prop): Add support for | |
123 | DW_AT_data_member_location attributes as well. Use case | |
124 | statements instead of if/else condition. | |
125 | ||
4a0ca9ec JB |
126 | 2015-01-29 Joel Brobecker <[email protected]> |
127 | ||
128 | * ada-varobj.c (ada_varobj_get_array_number_of_children): | |
129 | Return zero if PARENT_VALUE is NULL and parent_type's | |
130 | range type is dynamic. | |
131 | ||
ddb87a81 JB |
132 | 2015-01-29 Joel Brobecker <[email protected]> |
133 | ||
134 | * gdbtypes.c (is_dynamic_type_internal) <TYPE_CODE_RANGE>: Return | |
135 | nonzero if the type's subtype is dynamic. | |
136 | (resolve_dynamic_range): Also resolve the range's subtype. | |
137 | ||
3d7ad9b4 | 138 | 2015-01-29 Alexander Klimov <[email protected]> (tiny patch) |
7a270e0c | 139 | |
3d7ad9b4 | 140 | Pushed by Joel Brobecker <[email protected]>. |
7a270e0c AK |
141 | * symfile.c (unmap_overlay_command): Initialize sec to NULL. |
142 | ||
3a8b707a DE |
143 | 2015-01-27 Doug Evans <[email protected]> |
144 | ||
145 | * NEWS: Mention gdb.Objfile.username. | |
146 | * python/py-objfile.c (objfpy_get_username): New function. | |
147 | (objfile_getset): Add "username". | |
148 | ||
d35b90fb MW |
149 | 2015-01-24 Mark Wielaard <[email protected]> |
150 | ||
151 | * stack.c (return_command): Markup warning message with _. | |
152 | ||
734ae125 DE |
153 | 2015-01-24 Doug Evans <[email protected]> |
154 | ||
155 | * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete. | |
156 | ||
527f3840 JK |
157 | 2015-01-24 Jan Kratochvil <[email protected]> |
158 | ||
159 | Fix 100x slowdown regression on DWZ files. | |
160 | * dwarf2read.c (struct dwarf2_per_objfile): Add line_header_hash. | |
161 | (struct line_header): Add offset and offset_in_dwz. | |
162 | (dwarf_decode_lines): Add parameter decode_mapping to the declaration. | |
163 | (free_line_header_voidp): New declaration. | |
164 | (line_header_hash, line_header_hash_voidp, line_header_eq_voidp): New | |
165 | functions. | |
166 | (dwarf2_build_include_psymtabs): Update dwarf_decode_lines caller. | |
167 | (handle_DW_AT_stmt_list): Use line_header_hash. | |
168 | (free_line_header_voidp): New function. | |
169 | (dwarf_decode_line_header): Initialize offset and offset_in_dwz. | |
170 | (dwarf_decode_lines): New parameter decode_mapping, use it. | |
171 | (dwarf2_free_objfile): Free line_header_hash. | |
172 | ||
f7e5394d SM |
173 | 2015-01-23 Simon Marchi <[email protected]> |
174 | ||
175 | PR gdb/17416 | |
176 | * valops.c (value_rtti_indirect_type): Catch exception thrown by | |
177 | value_ind. | |
178 | ||
743649fd MW |
179 | 2015-01-15 Mark Wielaard <[email protected]> |
180 | ||
181 | * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from | |
182 | DW_AT_noreturn. | |
183 | * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make | |
184 | calling_convention an 8 bit bit field. | |
185 | (TYPE_NO_RETURN): New macro. | |
186 | * infcmd.c (finish_command): Query if function does not return | |
187 | normally. | |
188 | * stack.c (return_command): Likewise. | |
189 | ||
198297aa PA |
190 | 2015-01-23 Pedro Alves <[email protected]> |
191 | ||
192 | * linux-nat.c (linux_is_async_p): New macro. | |
193 | (linux_nat_is_async_p): | |
194 | (linux_nat_terminal_inferior): Check whether the target can async | |
195 | instead of whether it is already async. | |
196 | (linux_nat_terminal_ours): Don't check whether the target is | |
197 | async. | |
198 | (linux_async_pipe): Use linux_is_async_p. | |
199 | ||
253828f1 JK |
200 | 2015-01-22 Jan Kratochvil <[email protected]> |
201 | ||
202 | * NEWS (Changes since GDB 7.9): Add 'thread apply all' option | |
203 | '-ascending'. | |
204 | * thread.c (tp_array_compar_ascending, tp_array_compar): New. | |
205 | (thread_apply_all_command): Parse CMD for tp_array_compar_ascending. | |
206 | Sort tp_array using tp_array_compar. | |
207 | (_initialize_thread): Extend thread_apply_all_command help. | |
208 | ||
f0e8c4c5 JK |
209 | 2015-01-22 Jan Kratochvil <[email protected]> |
210 | ||
211 | * corelow.c (core_open): Call also thread_command. | |
212 | * gdbthread.h (thread_command): New prototype moved from ... | |
213 | * thread.c (thread_command): ... here. | |
214 | (thread_command): Make it global. | |
215 | ||
03b79603 PA |
216 | 2015-01-22 Pedro Alves <[email protected]> |
217 | ||
218 | * configure.ac [*mingw32*]: Check $curses_found instead of | |
219 | $prefer_curses. | |
220 | * configure: Regenerate. | |
221 | * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and | |
222 | HAVE_NCURSES_NCURSES_H checks. | |
223 | ||
6b8a872f EZ |
224 | 2015-01-22 Eli Zaretskii <[email protected]> |
225 | ||
bbbbffbb | 226 | * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm' |
6b8a872f EZ |
227 | fails with the 1st arg NULL, try again with "unknown". Don't test |
228 | the "cup" capability: it isn't supported by the Windows port of | |
229 | ncurses, but the Windows console driver is still capable of | |
230 | supporting TUI. | |
231 | ||
4b62a76e JK |
232 | 2015-01-22 Jan Kratochvil <[email protected]> |
233 | ||
234 | * compile/compile.c (_initialize_compile): Use -fPIE for compile_args. | |
235 | ||
82a864f9 EZ |
236 | 2015-01-22 Eli Zaretskii <[email protected]> |
237 | ||
238 | * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h. | |
239 | (ALLDEPFILES): Remove irix5-nat.c. These two are part of the | |
240 | reason that "make TAGS" is broken. | |
241 | ||
b35018fd CG |
242 | 2015-01-22 Chen Gang <[email protected]> |
243 | ||
244 | * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues | |
245 | and check additional store instructions. | |
246 | ||
ffbc4646 WW |
247 | 2015-01-21 Wei-cheng Wang <[email protected]> |
248 | ||
249 | * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang". | |
250 | ||
ddeca1df WW |
251 | 2015-01-21 Wei-cheng Wang <[email protected]> |
252 | ||
253 | * ppc-linux-tdep.c (ppc_skip_trampoline_code, | |
254 | ppc_canonicalize_syscall, ppc_linux_syscall_record, | |
255 | ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments. | |
256 | * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise. | |
257 | * rs6000-tdep.c (rs6000_epilogue_frame_cache, | |
258 | rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register, | |
259 | rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4, | |
260 | ppc_process_record_op19, ppc_process_record_op31, | |
261 | ppc_process_record_op59, ppc_process_record_op60, | |
262 | ppc_process_record_op63): Likewise. | |
263 | ||
049bb5de JB |
264 | 2015-01-20 Joel Brobecker <[email protected]> |
265 | ||
266 | * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string) | |
267 | (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of | |
268 | strerror. | |
269 | ||
42b87c63 | 270 | 2015-01-20 Wei-cheng Wang <[email protected]> |
810c1026 WW |
271 | |
272 | * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19, | |
273 | ppc_process_record_op31, ppc_process_record_op59, | |
274 | ppc_process_record_op60, ppc_process_record_op63, | |
275 | ppc_process_record): Fix -Wformat warning. | |
276 | * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60): | |
277 | Remove unused variables. | |
278 | ||
569340fc CG |
279 | 2015-01-20 Chen Gang <[email protected]> |
280 | ||
281 | * MAINTAINERS (Write After Approval): Add "Chen Gang". | |
282 | ||
63413d85 EZ |
283 | 2015-01-19 Eli Zaretskii <[email protected]> |
284 | ||
285 | * configure.ac [*mingw32*]: Only add windows-termcap.o to | |
286 | CONFIG_OBS if not building with a curses library. | |
287 | * configure: Regenerate. | |
288 | ||
289 | * windows-termcap.c: Include defs.h. Make the whole body empty if | |
290 | either one of HAVE_CURSES_H or HAVE_NCURSES_H or | |
291 | HAVE_NCURSES_NCURSES_H is defined. | |
292 | ||
16d8013c JB |
293 | 2015-01-19 Joel Brobecker <[email protected]> |
294 | ||
295 | * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator | |
296 | from end of line to start of next line. | |
297 | ||
cf90fd9a WW |
298 | 2015-01-17 Wei-cheng Wang <[email protected]> |
299 | ||
300 | * ppc-linux-tdep.c (ppc_skip_trampoline_code): | |
301 | Scan PLT stub backward for reverse debugging. | |
302 | * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise. | |
303 | ||
b4cdae6f WW |
304 | 2015-01-17 Wei-cheng Wang <[email protected]> |
305 | Ulrich Weigand <[email protected]> | |
306 | ||
307 | * configure.tgt (powerpc*-*-linux): Add linux-record.o to | |
308 | gdb_target_obs. | |
309 | (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall | |
310 | record. | |
311 | (ppc_canonicalize_syscall, ppc_linux_syscall_record, | |
312 | ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions. | |
313 | (ppc_linux_init_abi): Set process_record, process_record_signal. | |
314 | * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and | |
315 | ppc_linux_record_tdep to gdbarch_tdep. | |
316 | (ppc_process_record): New declaration. | |
317 | * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4, | |
318 | ppc_process_record_op19, ppc_process_record_op31, | |
319 | ppc_process_record_op59, ppc_process_record_op60, | |
320 | ppc_process_record_op63, ppc_process_record): New functions. | |
321 | ||
2608dbf8 WW |
322 | 2015-01-17 Wei-cheng Wang <[email protected]> |
323 | ||
324 | * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to | |
325 | rs6000_in_function_epilogue_frame_p and add an argument | |
326 | for frame_info. | |
327 | (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id, | |
328 | rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer): | |
329 | New functions. | |
330 | (rs6000_epilogue_frame_unwind): New. | |
331 | (rs6000_gdbarch_init): Append epilogue unwinder. | |
332 | ||
4c347be6 SDJ |
333 | 2015-01-16 Sergio Durigan Junior <[email protected]> |
334 | ||
335 | * nat/linux-personality.c: Replace "#ifndef | |
336 | HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if | |
337 | !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5 | |
338 | systems. | |
339 | ||
9f2850ba EZ |
340 | 2015-01-16 Eli Zaretskii <[email protected]> |
341 | ||
6cdb25f4 EZ |
342 | * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New |
343 | functions. | |
344 | (_initialize_tui_win) <border-kind, border-mode>: | |
345 | <active-border-mode>: Use tui_set_var_cmd as the "set" function. | |
c54da50d EZ |
346 | (tui_set_tab_width_command): Fix the commentary. |
347 | ||
6cdb25f4 EZ |
348 | * tui/tui-win.h: Add prototype for tui_rehighlight_all. |
349 | ||
bf555842 EZ |
350 | * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command): |
351 | Doc fix. | |
cb86fcc1 EZ |
352 | (tui_set_tab_width_command): Delete and recreate the source and |
353 | the disassembly windows, to show the effect of the changed tab | |
354 | size immediately. | |
bf555842 | 355 | |
9f2850ba EZ |
356 | * tui/tui-data.h (LINE_PREFIX): Make shorter |
357 | (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for | |
358 | "Thread NNNNN.XXXX" thread ID notation on Windows. | |
359 | ||
95761b2d JK |
360 | 2015-01-16 Jan Kratochvil <[email protected]> |
361 | ||
362 | Fix gcc-5 compilation. | |
363 | * hppa-tdep.c (inst_saves_gr): Fix parentheses typo. | |
364 | ||
8cc73a39 SDJ |
365 | 2015-01-15 Sergio Durigan Junior <[email protected]> |
366 | ||
367 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h. | |
368 | (linux-personality.o): New rule. | |
369 | * common/common-defs.h: Include <stdint.h>. | |
370 | * config/aarch64/linux.mh (NATDEPFILES): Include | |
371 | linux-personality.o. | |
372 | * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise. | |
373 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
374 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
375 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
376 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
377 | * config/m32r/linux.mh (NATDEPFILES): Likewise. | |
378 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
379 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
380 | * config/pa/linux.mh (NATDEPFILES): Likewise. | |
381 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
382 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise. | |
383 | * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise. | |
384 | * config/s390/linux.mh (NATDEPFILES): Likewise. | |
385 | * config/sparc/linux64.mh (NATDEPFILES): Likewise. | |
386 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
387 | * config/tilegx/linux.mh (NATDEPFILES): Likewise. | |
388 | * config/xtensa/linux.mh (NATDEPFILES): Likewise. | |
389 | * defs.h: Remove #include <stdint.h> (moved to | |
390 | common/common-defs.h). | |
391 | * linux-nat.c: Include nat/linux-personality.h. Remove #include | |
392 | <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to | |
393 | nat/linux-personality.c). | |
394 | (linux_nat_create_inferior): Remove code to disable address space | |
395 | randomization (moved to nat/linux-personality.c). Create cleanup | |
396 | to disable address space randomization. | |
397 | * nat/linux-personality.c: New file. | |
398 | * nat/linux-personality.h: Likewise. | |
399 | ||
fb23d554 SDJ |
400 | 2015-01-15 Sergio Durigan Junior <[email protected]> |
401 | ||
402 | * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and | |
403 | common/posix-strerror.c. | |
404 | (posix-strerror.o): New rule. | |
405 | (mingw-strerror.o): Likewise. | |
406 | * common/common-utils.h (safe_strerror): Move prototype to here, | |
407 | from utils.h. | |
408 | * common/common.host: New file. | |
409 | * common/mingw-strerror.c: Likewise. | |
410 | * common/posix-strerror.c: Likewise. | |
411 | * configure: Regenerated. | |
412 | * configure.ac: Source common/common.host. Add variable | |
413 | common_host_obs to gdb_host_obs. | |
414 | * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and | |
415 | gdb/common/posix-strerror.c when warning about the use of | |
416 | strerror. | |
417 | * mingw-hdep.c (safe_strerror): Remove definition; move it to | |
418 | common/mingw-strerror.c. | |
419 | * posix-hdep.c (safe_strerror): Remove definition; move it to | |
420 | common/posix-hdep.c. | |
421 | * utils.h (safe_strerror): Remove prototype; move to | |
422 | common/common-utils.h. | |
423 | ||
3af8af43 JB |
424 | 2015-01-15 Joel Brobecker <[email protected]> |
425 | ||
426 | GDB 7.8.2 released. | |
427 | ||
bafffb51 JB |
428 | 2015-01-15 Joel Brobecker <[email protected]> |
429 | ||
430 | * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel | |
431 | ___XA type if the array has already been fixed. | |
432 | ||
cdf43629 YQ |
433 | 2015-01-14 Yao Qi <[email protected]> |
434 | ||
435 | * Makefile.in (ppc-linux.o): New rule. | |
436 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o. | |
437 | * configure.ac: AC_CHECK_FUNCS(getauxval). | |
438 | * config.in: Re-generated. | |
439 | * configure: Re-generated. | |
440 | * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p): | |
441 | Declare. | |
442 | * nat/ppc-linux.c: New file. | |
443 | * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]: | |
444 | Call ppc64_64bit_inferior_p. | |
445 | ||
514c5338 YQ |
446 | 2015-01-14 Yao Qi <[email protected]> |
447 | ||
448 | * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to | |
449 | nat/ppc-linux.h. | |
450 | (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise. | |
451 | (PPC_FEATURE_HAS_DFP): Likewise. | |
452 | (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise. | |
453 | (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise. | |
454 | (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise. | |
455 | Include "nat/ppc-linux.h". | |
456 | * nat/ppc-linux.h: New file. | |
457 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h. | |
458 | ||
5589af0e PA |
459 | 2015-01-14 Pedro Alves <[email protected]> |
460 | ||
461 | PR gdb/17525 | |
462 | * breakpoint.c: Include "interps.h". | |
463 | (bpstat_do_actions_1): Also check whether the interpreter is | |
464 | async. | |
465 | ||
6c400b59 PA |
466 | 2015-01-14 Pedro Alves <[email protected]> |
467 | ||
468 | PR cli/17828 | |
469 | * infrun.c (reinstall_readline_callback_handler_cleanup): Don't | |
470 | reinstall if the interpreter is sync. | |
471 | ||
e02c96a7 DE |
472 | 2015-01-13 Doug Evans <[email protected]> |
473 | ||
474 | * objfiles.c (objfile_filename): New function. | |
475 | * objfiles.h (objfile_filename): Declare it. | |
476 | (objfile_name): Add function comment. | |
477 | * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the | |
478 | bfd file name (which may be realpath'd), and the original name. | |
479 | ||
3b2f13ff JB |
480 | 2015-01-13 Joel Brobecker <[email protected]> |
481 | ||
482 | * NEWS: Create a new section for the next release branch. | |
483 | Rename the section of the current branch, now that it has | |
484 | been cut. | |
485 | ||
b4cfe7f8 JB |
486 | 2015-01-13 Joel Brobecker <[email protected]> |
487 | ||
488 | GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37): | |
489 | * version.in: Bump version to 7.9.50.DATE-cvs. | |
490 | ||
92fc2e69 JB |
491 | 2015-01-13 Joel Brobecker <[email protected]> |
492 | ||
493 | * nat/linux-procfs.c (linux_proc_attach_tgid_threads): | |
494 | Remove trailing new-line in argument of call to warning. | |
495 | ||
f71f0b0d JB |
496 | 2015-01-13 Joel Brobecker <[email protected]> |
497 | ||
498 | * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing | |
499 | new-line in argument of call to "warning". | |
500 | ||
04dccad0 JB |
501 | 2015-01-13 Joel Brobecker <[email protected]> |
502 | ||
503 | * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found | |
504 | in static block, then try searching for primitive types. | |
505 | ||
08b13bdd PP |
506 | 2015-01-12 Patrick Palka <[email protected]> |
507 | ||
508 | * top.h (gdb_add_history): Declare. | |
509 | * top.c (command_count): New variable. | |
510 | (gdb_add_history): New function. | |
511 | (gdb_safe_append_history): New static function. | |
512 | (quit_force): Call it. | |
513 | (command_line_input): Use gdb_add_history instead of | |
514 | add_history. | |
515 | * event-top.c (command_line_handler): Likewise. | |
516 | ||
4ac15b59 JC |
517 | 2015-01-12 James Clarke <[email protected]> (tiny patch) |
518 | ||
519 | PR gdb/17046 | |
520 | * darwin-nat.c: Replace <machine/setjmp.h> #include by | |
521 | <setjmp.h> #include. | |
522 | ||
005e54bb DE |
523 | 2015-01-11 Doug Evans <[email protected]> |
524 | ||
525 | * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME. | |
526 | ||
439250fb DE |
527 | 2015-01-11 Doug Evans <[email protected]> |
528 | ||
529 | PR gdb/15830 | |
530 | * NEWS: The "maint demangle" command is renamed as "demangle". | |
531 | * demangle.c: #include cli/cli-utils.h, language.h. | |
532 | (demangle_command): New function. | |
533 | (_initialize_demangle): Add new command "demangle". | |
534 | * maint.c (maintenance_demangle): Stub out. | |
535 | (_initialize_maint_cmds): Update help text for "maint demangle", | |
536 | and mark as deprecated. | |
537 | ||
ebf3aa72 MK |
538 | 2015-01-11 Mark Kettenis <[email protected]> |
539 | ||
540 | * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that | |
541 | inferior_thread is a function. | |
542 | ||
6bf045cd PP |
543 | 2015-01-09 Patrick Palka <[email protected]> |
544 | ||
545 | * Makefile.in (.y.c): Don't munge yacc's #line | |
546 | directives. | |
547 | ||
588dcc3e PP |
548 | 2015-01-09 Patrick Palka <[email protected]> |
549 | ||
550 | * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper | |
551 | to prompt for input. | |
552 | * tui/tui-hooks.c (tui_query_hook): Remove. | |
553 | (tui_install_hooks): Don't set deprecated_query_hook. | |
554 | * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in | |
555 | height calculation. Always update the command window's cur_line. | |
556 | ||
9c02b525 PA |
557 | 2015-01-09 Pedro Alves <[email protected]> |
558 | ||
559 | * breakpoint.c (hardware_breakpoint_inserted_here_p): New | |
560 | function. | |
561 | * breakpoint.h (hardware_breakpoint_inserted_here_p): New | |
562 | declaration. | |
563 | * linux-nat.c (linux_nat_status_is_event): Move higher up in file. | |
564 | (linux_resume_one_lwp): Store the thread's PC. Adjust to clear | |
565 | stop_reason. | |
566 | (check_stopped_by_watchpoint): New function. | |
567 | (save_sigtrap): Reimplement. | |
568 | (linux_nat_stopped_by_watchpoint): Adjust. | |
569 | (linux_nat_lp_status_is_event): Delete. | |
570 | (stop_wait_callback): Only call save_sigtrap after storing the | |
571 | pending status. | |
572 | (status_callback): If the thread had been stopped for a breakpoint | |
573 | that has since been removed, discard the event and resume the LWP. | |
574 | (count_events_callback, select_event_lwp_callback): Use | |
575 | lwp_status_pending_p instead of linux_nat_lp_status_is_event. | |
576 | (cancel_breakpoint): Rename to ... | |
577 | (check_stopped_by_breakpoint): ... this. Record whether the LWP | |
578 | stopped for a software breakpoint or hardware breakpoint. | |
579 | (select_event_lwp): Only give preference to the stepping LWP in | |
580 | all-stop mode. Adjust comments. | |
581 | (stop_and_resume_callback): Remove references to new_pending_p. | |
582 | (linux_nat_filter_event): Likewise. Leave exit events of the | |
583 | leader thread pending here. Handle signal short circuiting here. | |
584 | Only call save_sigtrap after storing the pending waitstatus. | |
585 | (linux_nat_wait_1): Remove 'retry' label. Remove references to | |
586 | new_pending. Don't handle leaving events the caller is not | |
587 | interested in pending here, nor handle signal short-circuiting | |
588 | here. Also give equal priority to all LWPs that have had events | |
589 | in non-stop mode. If reporting a software breakpoint event, | |
590 | unadjust the LWP's PC. | |
591 | * linux-nat.h (enum lwp_stop_reason): New. | |
592 | (struct lwp_info) <stop_pc>: New field. | |
593 | (struct lwp_info) <stopped_by_watchpoint>: Delete field. | |
594 | (struct lwp_info) <stop_reason>: New field. | |
595 | * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust. | |
596 | ||
8af756ef PA |
597 | 2015-01-09 Pedro Alves <[email protected]> |
598 | ||
599 | * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>: | |
600 | Set the LWP's 'resumed' flag. | |
601 | ||
8a99810d PA |
602 | 2015-01-09 Pedro Alves <[email protected]> |
603 | ||
604 | * linux-nat.c (linux_resume_one_lwp): New function. | |
605 | (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp. | |
606 | (linux_nat_resume): Use lwp_status_pending_p and | |
607 | linux_resume_one_lwp. | |
608 | (linux_handle_syscall_trap): Use linux_resume_one_lwp. | |
609 | (linux_handle_extended_wait): Use linux_resume_one_lwp. | |
610 | (status_callback, running_callback): Use lwp_status_pending_p. | |
611 | (lwp_status_pending_p): New function. | |
612 | (stop_and_resume_callback): Use lwp_status_pending_p. | |
613 | (linux_nat_filter_event): Use linux_resume_one_lwp. | |
614 | (linux_nat_wait_1): Always use status_callback to look for an LWP | |
615 | with a pending status. Use linux_resume_one_lwp. | |
616 | (resume_stopped_resumed_lwps): Use lwp_status_pending_p and | |
617 | linux_resume_one_lwp. | |
618 | ||
f7ce857f PA |
619 | 2015-01-09 Pedro Alves <[email protected]> |
620 | ||
621 | * breakpoint.c (bp_location_inserted_here_p): New function, | |
622 | factored out from ... | |
623 | (breakpoint_inserted_here_p): ... here. Use | |
624 | ALL_BP_LOCATIONS_AT_ADDR. | |
625 | (software_breakpoint_inserted_here_p): Use | |
626 | bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR. | |
627 | ||
c1a747c1 PA |
628 | 2014-01-09 Pedro Alves <[email protected]> |
629 | ||
630 | Skip enabling event reporting if the kernel supports | |
631 | PTRACE_EVENT_CLONE. | |
632 | * linux-thread-db.c: Include "nat/linux-ptrace.h". | |
633 | (thread_db_use_events): New function. | |
634 | (try_thread_db_load_1): Check thread_db_use_events before enabling | |
635 | event reporting. | |
636 | (update_thread_state): New function. | |
637 | (attach_thread): Use it. Check thread_db_use_events before | |
638 | enabling event reporting. | |
639 | (thread_db_detach): Check thread_db_use_events before disabling | |
640 | event reporting. | |
641 | (find_new_threads_callback): Check thread_db_use_events before | |
642 | enabling event reporting. Update the thread's state if not using | |
643 | libthread_db events. | |
644 | ||
a33e3959 PA |
645 | 2015-01-09 Pedro Alves <[email protected]> |
646 | ||
647 | * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're | |
648 | about to wait for is > 0. | |
649 | * linux-thread-db.c (find_new_threads_callback): Ignore thread if | |
650 | the kernel thread ID is -1. | |
651 | ||
8784d563 PA |
652 | 2015-01-09 Pedro Alves <[email protected]> |
653 | ||
654 | * linux-nat.c (attach_proc_task_lwp_callback): New function. | |
655 | (linux_nat_attach): Use linux_proc_attach_tgid_threads. | |
656 | (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's | |
657 | ptrace option flags. | |
658 | * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New | |
659 | field. | |
660 | * nat/linux-procfs.c: Include <dirent.h>. | |
661 | (linux_proc_get_int): New parameter "warn". Handle it. | |
662 | (linux_proc_get_tgid): Adjust. | |
663 | (linux_proc_get_tracerpid): Rename to ... | |
664 | (linux_proc_get_tracerpid_nowarn): ... this. | |
665 | (linux_proc_pid_get_state): New function, factored out from | |
666 | (linux_proc_pid_has_state): ... this. Add new parameter "warn" | |
667 | and handle it. | |
668 | (linux_proc_pid_is_gone): New function. | |
669 | (linux_proc_pid_is_stopped): Adjust. | |
670 | (linux_proc_pid_is_zombie_maybe_warn) | |
671 | (linux_proc_pid_is_zombie_nowarn): New functions. | |
672 | (linux_proc_pid_is_zombie): Use | |
673 | linux_proc_pid_is_zombie_maybe_warn. | |
674 | (linux_proc_attach_tgid_threads): New function. | |
675 | * nat/linux-procfs.h (linux_proc_get_tgid): Update comment. | |
676 | (linux_proc_get_tracerpid): Rename to ... | |
677 | (linux_proc_get_tracerpid_nowarn): ... this, and update comment. | |
678 | (linux_proc_pid_is_gone): New declaration. | |
679 | (linux_proc_pid_is_zombie): Update comment. | |
680 | (linux_proc_pid_is_zombie_nowarn): New declaration. | |
681 | (linux_proc_attach_lwp_func): New typedef. | |
682 | (linux_proc_attach_tgid_threads): New declaration. | |
683 | * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to | |
684 | use nowarn functions. | |
685 | (linux_ptrace_attach_fail_reason_string): Move here from | |
686 | gdbserver/linux-low.c and rename. | |
687 | (ptrace_supports_feature): If the current ptrace options are not | |
688 | known yet, check them now, instead of asserting. | |
689 | * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string): | |
690 | Declare. | |
691 | ||
883ed13e PA |
692 | 2015-01-09 Pedro Alves <[email protected]> |
693 | ||
694 | * linux-thread-db.c (thread_db_find_new_threads_silently) | |
695 | (try_thread_db_load_1, try_thread_db_load, thread_db_load_search) | |
696 | (find_new_threads_once): Print debug output on gdb_stdlog. | |
697 | ||
1710aab8 CG |
698 | 2015-01-09 Chen Gang <[email protected]> |
699 | Pedro Alves <[email protected]> | |
700 | ||
701 | * compile/compile.c: Include "gdb_wait.h". | |
702 | (do_rmdir): Check return value, and free 'zap'. | |
703 | ||
b597c318 YQ |
704 | 2015-01-08 Pedro Alves <[email protected]> |
705 | Yao Qi <[email protected]> | |
706 | ||
707 | * dwarf2loc.c (indirect_pieced_value): Don't call | |
708 | gdb_sign_extend. Call extract_signed_integer instead. | |
709 | * utils.c (gdb_sign_extend): Remove. | |
710 | * utils.h (gdb_sign_extend): Remove declaration. | |
711 | ||
025ac414 PM |
712 | 2015-01-07 Pierre Muller <[email protected]> |
713 | ||
714 | PR symtab/17811 | |
715 | * stabsread.c (define_symbol): Set language for C++ special symbols. | |
716 | ||
fa5af12a PP |
717 | 2015-01-07 Patrick Palka <[email protected]> |
718 | ||
719 | * inflow.c (initial_gdb_ttystate): Tweak comment. | |
720 | ||
ea42d6f8 JB |
721 | 2015-01-07 Joel Brobecker <[email protected]> |
722 | ||
723 | * inflow.c (set_initial_gdb_ttystate): Add empty line after | |
724 | comment documenting function. | |
725 | ||
6a06d660 PP |
726 | 2015-01-07 Patrick Palka <[email protected]> |
727 | ||
728 | * terminal.h (set_initial_gdb_ttystate): Declare. | |
729 | * inflow.c (initial_gdb_ttystate): New static variable. | |
730 | (set_initial_gdb_ttystate): New setter. | |
731 | (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate | |
732 | instead of our current terminal state. | |
733 | * top.c (gdb_init): Call set_initial_gdb_ttystate. | |
734 | ||
e810d75b JB |
735 | 2015-01-07 Joel Brobecker <[email protected]> |
736 | ||
737 | * guile/scm-type.c (tyscm_array_1): Add comment. | |
738 | * python/py-type.c (typy_array_1): Add comment. | |
739 | ||
fce10a84 JB |
740 | 2015-01-06 Joel Brobecker <[email protected]> |
741 | ||
742 | * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range | |
743 | error if N2 is equal to N1 - 1. | |
744 | ||
8503d6e1 JB |
745 | 2015-01-06 Joel Brobecker <[email protected]> |
746 | ||
747 | * python/py-type.c (typy_array_1): Do not raise negative-length | |
748 | exception if N2 is equal to N1 - 1. | |
749 | ||
4d29c0a8 DE |
750 | 2015-01-03 Doug Evans <[email protected]> |
751 | ||
752 | * c-exp.y: Whitespace cleanup. | |
753 | (classify_inner_name): Remove extra ;. | |
754 | ||
eaa6a9a4 MR |
755 | 2015-01-02 Maciej W. Rozycki <[email protected]> |
756 | ||
757 | * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack | |
758 | offset signed. | |
759 | ||
02fe9972 DE |
760 | 2015-01-02 Doug Evans <[email protected]> |
761 | ||
762 | * dwarf2read.c (setup_type_unit_groups): Remove outdated comment. | |
763 | ||
e2ada9cb DE |
764 | 2015-01-02 Doug Evans <[email protected]> |
765 | ||
766 | * symtab.h (struct symbol): Fix typo in comment. | |
767 | ||
32d0add0 JB |
768 | 2015-01-01 Joel Brobecker <[email protected]> |
769 | ||
770 | Update year range in copyright notice of all files. | |
771 | ||
76f2b779 JB |
772 | 2015-01-01 Joel Brobecker <[email protected]> |
773 | ||
774 | * top.c (print_gdb_version): Update copyright year to 2015. | |
775 | ||
077309e2 | 776 | 2015-01-01 Joel Brobecker <[email protected]> |
6bf6fd09 | 777 | |
077309e2 | 778 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014. |
6bf6fd09 | 779 | |
077309e2 | 780 | For older changes see ChangeLog-2014. |
c906108c SS |
781 | \f |
782 | Local Variables: | |
783 | mode: change-log | |
784 | left-margin: 8 | |
785 | fill-column: 74 | |
786 | version-control: never | |
57da7796 | 787 | coding: utf-8 |
c906108c | 788 | End: |