1 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3 * ada-varobj.c (ada_varobj_get_array_number_of_children):
4 Return zero if PARENT_VALUE is NULL and parent_type's
7 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9 * gdbtypes.c (is_dynamic_type_internal) <TYPE_CODE_RANGE>: Return
10 nonzero if the type's subtype is dynamic.
11 (resolve_dynamic_range): Also resolve the range's subtype.
13 2015-01-29 Joel Brobecker <brobecker@adacore.com> (tiny patch)
15 * symfile.c (unmap_overlay_command): Initialize sec to NULL.
17 2015-01-27 Doug Evans <dje@google.com>
19 * NEWS: Mention gdb.Objfile.username.
20 * python/py-objfile.c (objfpy_get_username): New function.
21 (objfile_getset): Add "username".
23 2015-01-24 Mark Wielaard <mjw@redhat.com>
25 * stack.c (return_command): Markup warning message with _.
27 2015-01-24 Doug Evans <xdje42@gmail.com>
29 * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
31 2015-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
33 Fix 100x slowdown regression on DWZ files.
34 * dwarf2read.c (struct dwarf2_per_objfile): Add line_header_hash.
35 (struct line_header): Add offset and offset_in_dwz.
36 (dwarf_decode_lines): Add parameter decode_mapping to the declaration.
37 (free_line_header_voidp): New declaration.
38 (line_header_hash, line_header_hash_voidp, line_header_eq_voidp): New
40 (dwarf2_build_include_psymtabs): Update dwarf_decode_lines caller.
41 (handle_DW_AT_stmt_list): Use line_header_hash.
42 (free_line_header_voidp): New function.
43 (dwarf_decode_line_header): Initialize offset and offset_in_dwz.
44 (dwarf_decode_lines): New parameter decode_mapping, use it.
45 (dwarf2_free_objfile): Free line_header_hash.
47 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
50 * valops.c (value_rtti_indirect_type): Catch exception thrown by
53 2015-01-15 Mark Wielaard <mjw@redhat.com>
55 * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from
57 * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make
58 calling_convention an 8 bit bit field.
59 (TYPE_NO_RETURN): New macro.
60 * infcmd.c (finish_command): Query if function does not return
62 * stack.c (return_command): Likewise.
64 2015-01-23 Pedro Alves <palves@redhat.com>
66 * linux-nat.c (linux_is_async_p): New macro.
67 (linux_nat_is_async_p):
68 (linux_nat_terminal_inferior): Check whether the target can async
69 instead of whether it is already async.
70 (linux_nat_terminal_ours): Don't check whether the target is
72 (linux_async_pipe): Use linux_is_async_p.
74 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
76 * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
78 * thread.c (tp_array_compar_ascending, tp_array_compar): New.
79 (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
80 Sort tp_array using tp_array_compar.
81 (_initialize_thread): Extend thread_apply_all_command help.
83 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
85 * corelow.c (core_open): Call also thread_command.
86 * gdbthread.h (thread_command): New prototype moved from ...
87 * thread.c (thread_command): ... here.
88 (thread_command): Make it global.
90 2015-01-22 Pedro Alves <palves@redhat.com>
92 * configure.ac [*mingw32*]: Check $curses_found instead of
94 * configure: Regenerate.
95 * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and
96 HAVE_NCURSES_NCURSES_H checks.
98 2015-01-22 Eli Zaretskii <eliz@gnu.org>
100 * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
101 fails with the 1st arg NULL, try again with "unknown". Don't test
102 the "cup" capability: it isn't supported by the Windows port of
103 ncurses, but the Windows console driver is still capable of
106 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
108 * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
110 2015-01-22 Eli Zaretskii <eliz@gnu.org>
112 * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
113 (ALLDEPFILES): Remove irix5-nat.c. These two are part of the
114 reason that "make TAGS" is broken.
116 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
118 * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
119 and check additional store instructions.
121 2015-01-21 Wei-cheng Wang <cole945@gmail.com>
123 * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
125 2015-01-21 Wei-cheng Wang <cole945@gmail.com>
127 * ppc-linux-tdep.c (ppc_skip_trampoline_code,
128 ppc_canonicalize_syscall, ppc_linux_syscall_record,
129 ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments.
130 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
131 * rs6000-tdep.c (rs6000_epilogue_frame_cache,
132 rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register,
133 rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4,
134 ppc_process_record_op19, ppc_process_record_op31,
135 ppc_process_record_op59, ppc_process_record_op60,
136 ppc_process_record_op63): Likewise.
138 2015-01-20 Joel Brobecker <brobecker@adacore.com>
140 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string)
141 (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of
144 2015-01-20 Wei-cheng Wang <cole945@gmail.com>
146 * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19,
147 ppc_process_record_op31, ppc_process_record_op59,
148 ppc_process_record_op60, ppc_process_record_op63,
149 ppc_process_record): Fix -Wformat warning.
150 * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60):
151 Remove unused variables.
153 2015-01-20 Chen Gang <gang.chen.5i5j@gmail.com>
155 * MAINTAINERS (Write After Approval): Add "Chen Gang".
157 2015-01-19 Eli Zaretskii <eliz@gnu.org>
159 * configure.ac [*mingw32*]: Only add windows-termcap.o to
160 CONFIG_OBS if not building with a curses library.
161 * configure: Regenerate.
163 * windows-termcap.c: Include defs.h. Make the whole body empty if
164 either one of HAVE_CURSES_H or HAVE_NCURSES_H or
165 HAVE_NCURSES_NCURSES_H is defined.
167 2015-01-19 Joel Brobecker <brobecker@adacore.com>
169 * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
170 from end of line to start of next line.
172 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
174 * ppc-linux-tdep.c (ppc_skip_trampoline_code):
175 Scan PLT stub backward for reverse debugging.
176 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
178 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
179 Ulrich Weigand <uweigand@de.ibm.com>
181 * configure.tgt (powerpc*-*-linux): Add linux-record.o to
183 (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall
185 (ppc_canonicalize_syscall, ppc_linux_syscall_record,
186 ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions.
187 (ppc_linux_init_abi): Set process_record, process_record_signal.
188 * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and
189 ppc_linux_record_tdep to gdbarch_tdep.
190 (ppc_process_record): New declaration.
191 * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4,
192 ppc_process_record_op19, ppc_process_record_op31,
193 ppc_process_record_op59, ppc_process_record_op60,
194 ppc_process_record_op63, ppc_process_record): New functions.
196 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
198 * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to
199 rs6000_in_function_epilogue_frame_p and add an argument
201 (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id,
202 rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer):
204 (rs6000_epilogue_frame_unwind): New.
205 (rs6000_gdbarch_init): Append epilogue unwinder.
207 2015-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
209 * nat/linux-personality.c: Replace "#ifndef
210 HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if
211 !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5
214 2015-01-16 Eli Zaretskii <eliz@gnu.org>
216 * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New
218 (_initialize_tui_win) <border-kind, border-mode>:
219 <active-border-mode>: Use tui_set_var_cmd as the "set" function.
220 (tui_set_tab_width_command): Fix the commentary.
222 * tui/tui-win.h: Add prototype for tui_rehighlight_all.
224 * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
226 (tui_set_tab_width_command): Delete and recreate the source and
227 the disassembly windows, to show the effect of the changed tab
230 * tui/tui-data.h (LINE_PREFIX): Make shorter
231 (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
232 "Thread NNNNN.XXXX" thread ID notation on Windows.
234 2015-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
236 Fix gcc-5 compilation.
237 * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
239 2015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
241 * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h.
242 (linux-personality.o): New rule.
243 * common/common-defs.h: Include <stdint.h>.
244 * config/aarch64/linux.mh (NATDEPFILES): Include
246 * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
247 * config/arm/linux.mh (NATDEPFILES): Likewise.
248 * config/i386/linux64.mh (NATDEPFILES): Likewise.
249 * config/i386/linux.mh (NATDEPFILES): Likewise.
250 * config/ia64/linux.mh (NATDEPFILES): Likewise.
251 * config/m32r/linux.mh (NATDEPFILES): Likewise.
252 * config/m68k/linux.mh (NATDEPFILES): Likewise.
253 * config/mips/linux.mh (NATDEPFILES): Likewise.
254 * config/pa/linux.mh (NATDEPFILES): Likewise.
255 * config/powerpc/linux.mh (NATDEPFILES): Likewise.
256 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
257 * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
258 * config/s390/linux.mh (NATDEPFILES): Likewise.
259 * config/sparc/linux64.mh (NATDEPFILES): Likewise.
260 * config/sparc/linux.mh (NATDEPFILES): Likewise.
261 * config/tilegx/linux.mh (NATDEPFILES): Likewise.
262 * config/xtensa/linux.mh (NATDEPFILES): Likewise.
263 * defs.h: Remove #include <stdint.h> (moved to
264 common/common-defs.h).
265 * linux-nat.c: Include nat/linux-personality.h. Remove #include
266 <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to
267 nat/linux-personality.c).
268 (linux_nat_create_inferior): Remove code to disable address space
269 randomization (moved to nat/linux-personality.c). Create cleanup
270 to disable address space randomization.
271 * nat/linux-personality.c: New file.
272 * nat/linux-personality.h: Likewise.
274 2015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
276 * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and
277 common/posix-strerror.c.
278 (posix-strerror.o): New rule.
279 (mingw-strerror.o): Likewise.
280 * common/common-utils.h (safe_strerror): Move prototype to here,
282 * common/common.host: New file.
283 * common/mingw-strerror.c: Likewise.
284 * common/posix-strerror.c: Likewise.
285 * configure: Regenerated.
286 * configure.ac: Source common/common.host. Add variable
287 common_host_obs to gdb_host_obs.
288 * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and
289 gdb/common/posix-strerror.c when warning about the use of
291 * mingw-hdep.c (safe_strerror): Remove definition; move it to
292 common/mingw-strerror.c.
293 * posix-hdep.c (safe_strerror): Remove definition; move it to
295 * utils.h (safe_strerror): Remove prototype; move to
296 common/common-utils.h.
298 2015-01-15 Joel Brobecker <brobecker@adacore.com>
302 2015-01-15 Joel Brobecker <brobecker@adacore.com>
304 * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel
305 ___XA type if the array has already been fixed.
307 2015-01-14 Yao Qi <yao@codesourcery.com>
309 * Makefile.in (ppc-linux.o): New rule.
310 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o.
311 * configure.ac: AC_CHECK_FUNCS(getauxval).
312 * config.in: Re-generated.
313 * configure: Re-generated.
314 * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p):
316 * nat/ppc-linux.c: New file.
317 * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]:
318 Call ppc64_64bit_inferior_p.
320 2015-01-14 Yao Qi <yao@codesourcery.com>
322 * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
324 (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
325 (PPC_FEATURE_HAS_DFP): Likewise.
326 (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
327 (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
328 (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
329 Include "nat/ppc-linux.h".
330 * nat/ppc-linux.h: New file.
331 * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.
333 2015-01-14 Pedro Alves <palves@redhat.com>
336 * breakpoint.c: Include "interps.h".
337 (bpstat_do_actions_1): Also check whether the interpreter is
340 2015-01-14 Pedro Alves <palves@redhat.com>
343 * infrun.c (reinstall_readline_callback_handler_cleanup): Don't
344 reinstall if the interpreter is sync.
346 2015-01-13 Doug Evans <dje@google.com>
348 * objfiles.c (objfile_filename): New function.
349 * objfiles.h (objfile_filename): Declare it.
350 (objfile_name): Add function comment.
351 * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
352 bfd file name (which may be realpath'd), and the original name.
354 2015-01-13 Joel Brobecker <brobecker@adacore.com>
356 * NEWS: Create a new section for the next release branch.
357 Rename the section of the current branch, now that it has
360 2015-01-13 Joel Brobecker <brobecker@adacore.com>
362 GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
363 * version.in: Bump version to 7.9.50.DATE-cvs.
365 2015-01-13 Joel Brobecker <brobecker@adacore.com>
367 * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
368 Remove trailing new-line in argument of call to warning.
370 2015-01-13 Joel Brobecker <brobecker@adacore.com>
372 * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
373 new-line in argument of call to "warning".
375 2015-01-13 Joel Brobecker <brobecker@adacore.com>
377 * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
378 in static block, then try searching for primitive types.
380 2015-01-12 Patrick Palka <patrick@parcs.ath.cx>
382 * top.h (gdb_add_history): Declare.
383 * top.c (command_count): New variable.
384 (gdb_add_history): New function.
385 (gdb_safe_append_history): New static function.
386 (quit_force): Call it.
387 (command_line_input): Use gdb_add_history instead of
389 * event-top.c (command_line_handler): Likewise.
391 2015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch)
394 * darwin-nat.c: Replace <machine/setjmp.h> #include by
397 2015-01-11 Doug Evans <xdje42@gmail.com>
399 * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
401 2015-01-11 Doug Evans <xdje42@gmail.com>
404 * NEWS: The "maint demangle" command is renamed as "demangle".
405 * demangle.c: #include cli/cli-utils.h, language.h.
406 (demangle_command): New function.
407 (_initialize_demangle): Add new command "demangle".
408 * maint.c (maintenance_demangle): Stub out.
409 (_initialize_maint_cmds): Update help text for "maint demangle",
410 and mark as deprecated.
412 2015-01-11 Mark Kettenis <kettenis@gnu.org>
414 * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
415 inferior_thread is a function.
417 2015-01-09 Patrick Palka <patrick@parcs.ath.cx>
419 * Makefile.in (.y.c): Don't munge yacc's #line
422 2015-01-09 Patrick Palka <patrick@parcs.ath.cx>
424 * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
426 * tui/tui-hooks.c (tui_query_hook): Remove.
427 (tui_install_hooks): Don't set deprecated_query_hook.
428 * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
429 height calculation. Always update the command window's cur_line.
431 2015-01-09 Pedro Alves <palves@redhat.com>
433 * breakpoint.c (hardware_breakpoint_inserted_here_p): New
435 * breakpoint.h (hardware_breakpoint_inserted_here_p): New
437 * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
438 (linux_resume_one_lwp): Store the thread's PC. Adjust to clear
440 (check_stopped_by_watchpoint): New function.
441 (save_sigtrap): Reimplement.
442 (linux_nat_stopped_by_watchpoint): Adjust.
443 (linux_nat_lp_status_is_event): Delete.
444 (stop_wait_callback): Only call save_sigtrap after storing the
446 (status_callback): If the thread had been stopped for a breakpoint
447 that has since been removed, discard the event and resume the LWP.
448 (count_events_callback, select_event_lwp_callback): Use
449 lwp_status_pending_p instead of linux_nat_lp_status_is_event.
450 (cancel_breakpoint): Rename to ...
451 (check_stopped_by_breakpoint): ... this. Record whether the LWP
452 stopped for a software breakpoint or hardware breakpoint.
453 (select_event_lwp): Only give preference to the stepping LWP in
454 all-stop mode. Adjust comments.
455 (stop_and_resume_callback): Remove references to new_pending_p.
456 (linux_nat_filter_event): Likewise. Leave exit events of the
457 leader thread pending here. Handle signal short circuiting here.
458 Only call save_sigtrap after storing the pending waitstatus.
459 (linux_nat_wait_1): Remove 'retry' label. Remove references to
460 new_pending. Don't handle leaving events the caller is not
461 interested in pending here, nor handle signal short-circuiting
462 here. Also give equal priority to all LWPs that have had events
463 in non-stop mode. If reporting a software breakpoint event,
464 unadjust the LWP's PC.
465 * linux-nat.h (enum lwp_stop_reason): New.
466 (struct lwp_info) <stop_pc>: New field.
467 (struct lwp_info) <stopped_by_watchpoint>: Delete field.
468 (struct lwp_info) <stop_reason>: New field.
469 * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
471 2015-01-09 Pedro Alves <palves@redhat.com>
473 * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
474 Set the LWP's 'resumed' flag.
476 2015-01-09 Pedro Alves <palves@redhat.com>
478 * linux-nat.c (linux_resume_one_lwp): New function.
479 (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
480 (linux_nat_resume): Use lwp_status_pending_p and
481 linux_resume_one_lwp.
482 (linux_handle_syscall_trap): Use linux_resume_one_lwp.
483 (linux_handle_extended_wait): Use linux_resume_one_lwp.
484 (status_callback, running_callback): Use lwp_status_pending_p.
485 (lwp_status_pending_p): New function.
486 (stop_and_resume_callback): Use lwp_status_pending_p.
487 (linux_nat_filter_event): Use linux_resume_one_lwp.
488 (linux_nat_wait_1): Always use status_callback to look for an LWP
489 with a pending status. Use linux_resume_one_lwp.
490 (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
491 linux_resume_one_lwp.
493 2015-01-09 Pedro Alves <palves@redhat.com>
495 * breakpoint.c (bp_location_inserted_here_p): New function,
496 factored out from ...
497 (breakpoint_inserted_here_p): ... here. Use
498 ALL_BP_LOCATIONS_AT_ADDR.
499 (software_breakpoint_inserted_here_p): Use
500 bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
502 2014-01-09 Pedro Alves <palves@redhat.com>
504 Skip enabling event reporting if the kernel supports
506 * linux-thread-db.c: Include "nat/linux-ptrace.h".
507 (thread_db_use_events): New function.
508 (try_thread_db_load_1): Check thread_db_use_events before enabling
510 (update_thread_state): New function.
511 (attach_thread): Use it. Check thread_db_use_events before
512 enabling event reporting.
513 (thread_db_detach): Check thread_db_use_events before disabling
515 (find_new_threads_callback): Check thread_db_use_events before
516 enabling event reporting. Update the thread's state if not using
519 2015-01-09 Pedro Alves <palves@redhat.com>
521 * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
522 about to wait for is > 0.
523 * linux-thread-db.c (find_new_threads_callback): Ignore thread if
524 the kernel thread ID is -1.
526 2015-01-09 Pedro Alves <palves@redhat.com>
528 * linux-nat.c (attach_proc_task_lwp_callback): New function.
529 (linux_nat_attach): Use linux_proc_attach_tgid_threads.
530 (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
532 * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
534 * nat/linux-procfs.c: Include <dirent.h>.
535 (linux_proc_get_int): New parameter "warn". Handle it.
536 (linux_proc_get_tgid): Adjust.
537 (linux_proc_get_tracerpid): Rename to ...
538 (linux_proc_get_tracerpid_nowarn): ... this.
539 (linux_proc_pid_get_state): New function, factored out from
540 (linux_proc_pid_has_state): ... this. Add new parameter "warn"
542 (linux_proc_pid_is_gone): New function.
543 (linux_proc_pid_is_stopped): Adjust.
544 (linux_proc_pid_is_zombie_maybe_warn)
545 (linux_proc_pid_is_zombie_nowarn): New functions.
546 (linux_proc_pid_is_zombie): Use
547 linux_proc_pid_is_zombie_maybe_warn.
548 (linux_proc_attach_tgid_threads): New function.
549 * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
550 (linux_proc_get_tracerpid): Rename to ...
551 (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
552 (linux_proc_pid_is_gone): New declaration.
553 (linux_proc_pid_is_zombie): Update comment.
554 (linux_proc_pid_is_zombie_nowarn): New declaration.
555 (linux_proc_attach_lwp_func): New typedef.
556 (linux_proc_attach_tgid_threads): New declaration.
557 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
558 use nowarn functions.
559 (linux_ptrace_attach_fail_reason_string): Move here from
560 gdbserver/linux-low.c and rename.
561 (ptrace_supports_feature): If the current ptrace options are not
562 known yet, check them now, instead of asserting.
563 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
566 2015-01-09 Pedro Alves <palves@redhat.com>
568 * linux-thread-db.c (thread_db_find_new_threads_silently)
569 (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
570 (find_new_threads_once): Print debug output on gdb_stdlog.
572 2015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
573 Pedro Alves <palves@redhat.com>
575 * compile/compile.c: Include "gdb_wait.h".
576 (do_rmdir): Check return value, and free 'zap'.
578 2015-01-08 Pedro Alves <palves@redhat.com>
579 Yao Qi <yao@codesourcery.com>
581 * dwarf2loc.c (indirect_pieced_value): Don't call
582 gdb_sign_extend. Call extract_signed_integer instead.
583 * utils.c (gdb_sign_extend): Remove.
584 * utils.h (gdb_sign_extend): Remove declaration.
586 2015-01-07 Pierre Muller <muller@sourceware.org>
589 * stabsread.c (define_symbol): Set language for C++ special symbols.
591 2015-01-07 Patrick Palka <patrick@parcs.ath.cx>
593 * inflow.c (initial_gdb_ttystate): Tweak comment.
595 2015-01-07 Joel Brobecker <brobecker@adacore.com>
597 * inflow.c (set_initial_gdb_ttystate): Add empty line after
598 comment documenting function.
600 2015-01-07 Patrick Palka <patrick@parcs.ath.cx>
602 * terminal.h (set_initial_gdb_ttystate): Declare.
603 * inflow.c (initial_gdb_ttystate): New static variable.
604 (set_initial_gdb_ttystate): New setter.
605 (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
606 instead of our current terminal state.
607 * top.c (gdb_init): Call set_initial_gdb_ttystate.
609 2015-01-07 Joel Brobecker <brobecker@adacore.com>
611 * guile/scm-type.c (tyscm_array_1): Add comment.
612 * python/py-type.c (typy_array_1): Add comment.
614 2015-01-06 Joel Brobecker <brobecker@adacore.com>
616 * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
617 error if N2 is equal to N1 - 1.
619 2015-01-06 Joel Brobecker <brobecker@adacore.com>
621 * python/py-type.c (typy_array_1): Do not raise negative-length
622 exception if N2 is equal to N1 - 1.
624 2015-01-03 Doug Evans <xdje42@gmail.com>
626 * c-exp.y: Whitespace cleanup.
627 (classify_inner_name): Remove extra ;.
629 2015-01-02 Maciej W. Rozycki <macro@codesourcery.com>
631 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
634 2015-01-02 Doug Evans <dje@google.com>
636 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
638 2015-01-02 Doug Evans <dje@google.com>
640 * symtab.h (struct symbol): Fix typo in comment.
642 2015-01-01 Joel Brobecker <brobecker@adacore.com>
644 Update year range in copyright notice of all files.
646 2015-01-01 Joel Brobecker <brobecker@adacore.com>
648 * top.c (print_gdb_version): Update copyright year to 2015.
650 2015-01-01 Joel Brobecker <brobecker@adacore.com>
652 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
654 For older changes see ChangeLog-2014.
660 version-control: never