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