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