Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
6da58d3e
SM
12015-01-30 Simon Marchi <simon.marchi@ericsson.com>
2
3 * varobj.c (varobj_delete): Fix comment.
4
837ce252
SM
52015-01-30 Simon Marchi <simon.marchi@ericsson.com>
6
7 * varobj.c (create_child): Modify comment.
8
b09e2c59
SM
92015-01-30 Simon Marchi <simon.marchi@ericsson.com>
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
622015-01-30 Simon Marchi <simon.marchi@ericsson.com>
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
692015-01-30 Simon Marchi <simon.marchi@ericsson.com>
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
772015-01-30 Simon Marchi <simon.marchi@ericsson.com>
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
872015-01-29 Doug Evans <dje@google.com>
88
89 PR symtab/17890
90 * dwarf2read.c (dwarf_decode_line_header): Punt if version > 4.
91
38360086
MW
922015-01-25 Mark Wielaard <mjw@redhat.com>
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
992015-01-29 Joel Brobecker <brobecker@adacore.com>
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
1262015-01-29 Joel Brobecker <brobecker@adacore.com>
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
1322015-01-29 Joel Brobecker <brobecker@adacore.com>
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 1382015-01-29 Alexander Klimov <alserkli@inbox.ru> (tiny patch)
7a270e0c 139
3d7ad9b4 140 Pushed by Joel Brobecker <brobecker@adacore.com>.
7a270e0c
AK
141 * symfile.c (unmap_overlay_command): Initialize sec to NULL.
142
3a8b707a
DE
1432015-01-27 Doug Evans <dje@google.com>
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
1492015-01-24 Mark Wielaard <mjw@redhat.com>
150
151 * stack.c (return_command): Markup warning message with _.
152
734ae125
DE
1532015-01-24 Doug Evans <xdje42@gmail.com>
154
155 * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
156
527f3840
JK
1572015-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
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
1732015-01-23 Simon Marchi <simon.marchi@ericsson.com>
174
175 PR gdb/17416
176 * valops.c (value_rtti_indirect_type): Catch exception thrown by
177 value_ind.
178
743649fd
MW
1792015-01-15 Mark Wielaard <mjw@redhat.com>
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
1902015-01-23 Pedro Alves <palves@redhat.com>
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
2002015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
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
2092015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
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
2162015-01-22 Pedro Alves <palves@redhat.com>
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
2242015-01-22 Eli Zaretskii <eliz@gnu.org>
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
2322015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
233
234 * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
235
82a864f9
EZ
2362015-01-22 Eli Zaretskii <eliz@gnu.org>
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
2422015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
243
244 * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
245 and check additional store instructions.
246
ffbc4646
WW
2472015-01-21 Wei-cheng Wang <cole945@gmail.com>
248
249 * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
250
ddeca1df
WW
2512015-01-21 Wei-cheng Wang <cole945@gmail.com>
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
2642015-01-20 Joel Brobecker <brobecker@adacore.com>
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 2702015-01-20 Wei-cheng Wang <cole945@gmail.com>
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
2792015-01-20 Chen Gang <gang.chen.5i5j@gmail.com>
280
281 * MAINTAINERS (Write After Approval): Add "Chen Gang".
282
63413d85
EZ
2832015-01-19 Eli Zaretskii <eliz@gnu.org>
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
2932015-01-19 Joel Brobecker <brobecker@adacore.com>
294
295 * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
296 from end of line to start of next line.
297
cf90fd9a
WW
2982015-01-17 Wei-cheng Wang <cole945@gmail.com>
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
3042015-01-17 Wei-cheng Wang <cole945@gmail.com>
305 Ulrich Weigand <uweigand@de.ibm.com>
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
3222015-01-17 Wei-cheng Wang <cole945@gmail.com>
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
3332015-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
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
3402015-01-16 Eli Zaretskii <eliz@gnu.org>
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
3602015-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
361
362 Fix gcc-5 compilation.
363 * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
364
8cc73a39
SDJ
3652015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
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
4002015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
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
4242015-01-15 Joel Brobecker <brobecker@adacore.com>
425
426 GDB 7.8.2 released.
427
bafffb51
JB
4282015-01-15 Joel Brobecker <brobecker@adacore.com>
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
4332015-01-14 Yao Qi <yao@codesourcery.com>
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
4462015-01-14 Yao Qi <yao@codesourcery.com>
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
4592015-01-14 Pedro Alves <palves@redhat.com>
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
4662015-01-14 Pedro Alves <palves@redhat.com>
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
4722015-01-13 Doug Evans <dje@google.com>
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
4802015-01-13 Joel Brobecker <brobecker@adacore.com>
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
4862015-01-13 Joel Brobecker <brobecker@adacore.com>
487
488 GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
489 * version.in: Bump version to 7.9.50.DATE-cvs.
490
92fc2e69
JB
4912015-01-13 Joel Brobecker <brobecker@adacore.com>
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
4962015-01-13 Joel Brobecker <brobecker@adacore.com>
497
498 * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
499 new-line in argument of call to "warning".
500
04dccad0
JB
5012015-01-13 Joel Brobecker <brobecker@adacore.com>
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
5062015-01-12 Patrick Palka <patrick@parcs.ath.cx>
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
5172015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch)
518
519 PR gdb/17046
520 * darwin-nat.c: Replace <machine/setjmp.h> #include by
521 <setjmp.h> #include.
522
005e54bb
DE
5232015-01-11 Doug Evans <xdje42@gmail.com>
524
525 * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
526
439250fb
DE
5272015-01-11 Doug Evans <xdje42@gmail.com>
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
5382015-01-11 Mark Kettenis <kettenis@gnu.org>
539
540 * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
541 inferior_thread is a function.
542
6bf045cd
PP
5432015-01-09 Patrick Palka <patrick@parcs.ath.cx>
544
545 * Makefile.in (.y.c): Don't munge yacc's #line
546 directives.
547
588dcc3e
PP
5482015-01-09 Patrick Palka <patrick@parcs.ath.cx>
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
5572015-01-09 Pedro Alves <palves@redhat.com>
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
5972015-01-09 Pedro Alves <palves@redhat.com>
598
599 * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
600 Set the LWP's 'resumed' flag.
601
8a99810d
PA
6022015-01-09 Pedro Alves <palves@redhat.com>
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
6192015-01-09 Pedro Alves <palves@redhat.com>
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
6282014-01-09 Pedro Alves <palves@redhat.com>
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
6452015-01-09 Pedro Alves <palves@redhat.com>
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
6522015-01-09 Pedro Alves <palves@redhat.com>
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
6922015-01-09 Pedro Alves <palves@redhat.com>
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
6982015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
699 Pedro Alves <palves@redhat.com>
700
701 * compile/compile.c: Include "gdb_wait.h".
702 (do_rmdir): Check return value, and free 'zap'.
703
b597c318
YQ
7042015-01-08 Pedro Alves <palves@redhat.com>
705 Yao Qi <yao@codesourcery.com>
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
7122015-01-07 Pierre Muller <muller@sourceware.org>
713
714 PR symtab/17811
715 * stabsread.c (define_symbol): Set language for C++ special symbols.
716
fa5af12a
PP
7172015-01-07 Patrick Palka <patrick@parcs.ath.cx>
718
719 * inflow.c (initial_gdb_ttystate): Tweak comment.
720
ea42d6f8
JB
7212015-01-07 Joel Brobecker <brobecker@adacore.com>
722
723 * inflow.c (set_initial_gdb_ttystate): Add empty line after
724 comment documenting function.
725
6a06d660
PP
7262015-01-07 Patrick Palka <patrick@parcs.ath.cx>
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
7352015-01-07 Joel Brobecker <brobecker@adacore.com>
736
737 * guile/scm-type.c (tyscm_array_1): Add comment.
738 * python/py-type.c (typy_array_1): Add comment.
739
fce10a84
JB
7402015-01-06 Joel Brobecker <brobecker@adacore.com>
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
7452015-01-06 Joel Brobecker <brobecker@adacore.com>
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
7502015-01-03 Doug Evans <xdje42@gmail.com>
751
752 * c-exp.y: Whitespace cleanup.
753 (classify_inner_name): Remove extra ;.
754
eaa6a9a4
MR
7552015-01-02 Maciej W. Rozycki <macro@codesourcery.com>
756
757 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
758 offset signed.
759
02fe9972
DE
7602015-01-02 Doug Evans <dje@google.com>
761
762 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
763
e2ada9cb
DE
7642015-01-02 Doug Evans <dje@google.com>
765
766 * symtab.h (struct symbol): Fix typo in comment.
767
32d0add0
JB
7682015-01-01 Joel Brobecker <brobecker@adacore.com>
769
770 Update year range in copyright notice of all files.
771
76f2b779
JB
7722015-01-01 Joel Brobecker <brobecker@adacore.com>
773
774 * top.c (print_gdb_version): Update copyright year to 2015.
775
077309e2 7762015-01-01 Joel Brobecker <brobecker@adacore.com>
6bf6fd09 777
077309e2 778 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
6bf6fd09 779
077309e2 780For older changes see ChangeLog-2014.
c906108c
SS
781\f
782Local Variables:
783mode: change-log
784left-margin: 8
785fill-column: 74
786version-control: never
57da7796 787coding: utf-8
c906108c 788End:
This page took 1.727909 seconds and 4 git commands to generate.