Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f7e5394d
SM
12015-01-23 Simon Marchi <simon.marchi@ericsson.com>
2
3 PR gdb/17416
4 * valops.c (value_rtti_indirect_type): Catch exception thrown by
5 value_ind.
6
743649fd
MW
72015-01-15 Mark Wielaard <mjw@redhat.com>
8
9 * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from
10 DW_AT_noreturn.
11 * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make
12 calling_convention an 8 bit bit field.
13 (TYPE_NO_RETURN): New macro.
14 * infcmd.c (finish_command): Query if function does not return
15 normally.
16 * stack.c (return_command): Likewise.
17
198297aa
PA
182015-01-23 Pedro Alves <palves@redhat.com>
19
20 * linux-nat.c (linux_is_async_p): New macro.
21 (linux_nat_is_async_p):
22 (linux_nat_terminal_inferior): Check whether the target can async
23 instead of whether it is already async.
24 (linux_nat_terminal_ours): Don't check whether the target is
25 async.
26 (linux_async_pipe): Use linux_is_async_p.
27
253828f1
JK
282015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
29
30 * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
31 '-ascending'.
32 * thread.c (tp_array_compar_ascending, tp_array_compar): New.
33 (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
34 Sort tp_array using tp_array_compar.
35 (_initialize_thread): Extend thread_apply_all_command help.
36
f0e8c4c5
JK
372015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
38
39 * corelow.c (core_open): Call also thread_command.
40 * gdbthread.h (thread_command): New prototype moved from ...
41 * thread.c (thread_command): ... here.
42 (thread_command): Make it global.
43
03b79603
PA
442015-01-22 Pedro Alves <palves@redhat.com>
45
46 * configure.ac [*mingw32*]: Check $curses_found instead of
47 $prefer_curses.
48 * configure: Regenerate.
49 * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and
50 HAVE_NCURSES_NCURSES_H checks.
51
6b8a872f
EZ
522015-01-22 Eli Zaretskii <eliz@gnu.org>
53
bbbbffbb 54 * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
6b8a872f
EZ
55 fails with the 1st arg NULL, try again with "unknown". Don't test
56 the "cup" capability: it isn't supported by the Windows port of
57 ncurses, but the Windows console driver is still capable of
58 supporting TUI.
59
4b62a76e
JK
602015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
63
82a864f9
EZ
642015-01-22 Eli Zaretskii <eliz@gnu.org>
65
66 * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
67 (ALLDEPFILES): Remove irix5-nat.c. These two are part of the
68 reason that "make TAGS" is broken.
69
b35018fd
CG
702015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
71
72 * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
73 and check additional store instructions.
74
ffbc4646
WW
752015-01-21 Wei-cheng Wang <cole945@gmail.com>
76
77 * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
78
ddeca1df
WW
792015-01-21 Wei-cheng Wang <cole945@gmail.com>
80
81 * ppc-linux-tdep.c (ppc_skip_trampoline_code,
82 ppc_canonicalize_syscall, ppc_linux_syscall_record,
83 ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments.
84 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
85 * rs6000-tdep.c (rs6000_epilogue_frame_cache,
86 rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register,
87 rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4,
88 ppc_process_record_op19, ppc_process_record_op31,
89 ppc_process_record_op59, ppc_process_record_op60,
90 ppc_process_record_op63): Likewise.
91
049bb5de
JB
922015-01-20 Joel Brobecker <brobecker@adacore.com>
93
94 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string)
95 (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of
96 strerror.
97
42b87c63 982015-01-20 Wei-cheng Wang <cole945@gmail.com>
810c1026
WW
99
100 * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19,
101 ppc_process_record_op31, ppc_process_record_op59,
102 ppc_process_record_op60, ppc_process_record_op63,
103 ppc_process_record): Fix -Wformat warning.
104 * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60):
105 Remove unused variables.
106
569340fc
CG
1072015-01-20 Chen Gang <gang.chen.5i5j@gmail.com>
108
109 * MAINTAINERS (Write After Approval): Add "Chen Gang".
110
63413d85
EZ
1112015-01-19 Eli Zaretskii <eliz@gnu.org>
112
113 * configure.ac [*mingw32*]: Only add windows-termcap.o to
114 CONFIG_OBS if not building with a curses library.
115 * configure: Regenerate.
116
117 * windows-termcap.c: Include defs.h. Make the whole body empty if
118 either one of HAVE_CURSES_H or HAVE_NCURSES_H or
119 HAVE_NCURSES_NCURSES_H is defined.
120
16d8013c
JB
1212015-01-19 Joel Brobecker <brobecker@adacore.com>
122
123 * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
124 from end of line to start of next line.
125
cf90fd9a
WW
1262015-01-17 Wei-cheng Wang <cole945@gmail.com>
127
128 * ppc-linux-tdep.c (ppc_skip_trampoline_code):
129 Scan PLT stub backward for reverse debugging.
130 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
131
b4cdae6f
WW
1322015-01-17 Wei-cheng Wang <cole945@gmail.com>
133 Ulrich Weigand <uweigand@de.ibm.com>
134
135 * configure.tgt (powerpc*-*-linux): Add linux-record.o to
136 gdb_target_obs.
137 (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall
138 record.
139 (ppc_canonicalize_syscall, ppc_linux_syscall_record,
140 ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions.
141 (ppc_linux_init_abi): Set process_record, process_record_signal.
142 * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and
143 ppc_linux_record_tdep to gdbarch_tdep.
144 (ppc_process_record): New declaration.
145 * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4,
146 ppc_process_record_op19, ppc_process_record_op31,
147 ppc_process_record_op59, ppc_process_record_op60,
148 ppc_process_record_op63, ppc_process_record): New functions.
149
2608dbf8
WW
1502015-01-17 Wei-cheng Wang <cole945@gmail.com>
151
152 * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to
153 rs6000_in_function_epilogue_frame_p and add an argument
154 for frame_info.
155 (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id,
156 rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer):
157 New functions.
158 (rs6000_epilogue_frame_unwind): New.
159 (rs6000_gdbarch_init): Append epilogue unwinder.
160
4c347be6
SDJ
1612015-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
162
163 * nat/linux-personality.c: Replace "#ifndef
164 HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if
165 !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5
166 systems.
167
9f2850ba
EZ
1682015-01-16 Eli Zaretskii <eliz@gnu.org>
169
6cdb25f4
EZ
170 * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New
171 functions.
172 (_initialize_tui_win) <border-kind, border-mode>:
173 <active-border-mode>: Use tui_set_var_cmd as the "set" function.
c54da50d
EZ
174 (tui_set_tab_width_command): Fix the commentary.
175
6cdb25f4
EZ
176 * tui/tui-win.h: Add prototype for tui_rehighlight_all.
177
bf555842
EZ
178 * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
179 Doc fix.
cb86fcc1
EZ
180 (tui_set_tab_width_command): Delete and recreate the source and
181 the disassembly windows, to show the effect of the changed tab
182 size immediately.
bf555842 183
9f2850ba
EZ
184 * tui/tui-data.h (LINE_PREFIX): Make shorter
185 (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
186 "Thread NNNNN.XXXX" thread ID notation on Windows.
187
95761b2d
JK
1882015-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
189
190 Fix gcc-5 compilation.
191 * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
192
8cc73a39
SDJ
1932015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
194
195 * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h.
196 (linux-personality.o): New rule.
197 * common/common-defs.h: Include <stdint.h>.
198 * config/aarch64/linux.mh (NATDEPFILES): Include
199 linux-personality.o.
200 * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
201 * config/arm/linux.mh (NATDEPFILES): Likewise.
202 * config/i386/linux64.mh (NATDEPFILES): Likewise.
203 * config/i386/linux.mh (NATDEPFILES): Likewise.
204 * config/ia64/linux.mh (NATDEPFILES): Likewise.
205 * config/m32r/linux.mh (NATDEPFILES): Likewise.
206 * config/m68k/linux.mh (NATDEPFILES): Likewise.
207 * config/mips/linux.mh (NATDEPFILES): Likewise.
208 * config/pa/linux.mh (NATDEPFILES): Likewise.
209 * config/powerpc/linux.mh (NATDEPFILES): Likewise.
210 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
211 * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
212 * config/s390/linux.mh (NATDEPFILES): Likewise.
213 * config/sparc/linux64.mh (NATDEPFILES): Likewise.
214 * config/sparc/linux.mh (NATDEPFILES): Likewise.
215 * config/tilegx/linux.mh (NATDEPFILES): Likewise.
216 * config/xtensa/linux.mh (NATDEPFILES): Likewise.
217 * defs.h: Remove #include <stdint.h> (moved to
218 common/common-defs.h).
219 * linux-nat.c: Include nat/linux-personality.h. Remove #include
220 <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to
221 nat/linux-personality.c).
222 (linux_nat_create_inferior): Remove code to disable address space
223 randomization (moved to nat/linux-personality.c). Create cleanup
224 to disable address space randomization.
225 * nat/linux-personality.c: New file.
226 * nat/linux-personality.h: Likewise.
227
fb23d554
SDJ
2282015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
229
230 * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and
231 common/posix-strerror.c.
232 (posix-strerror.o): New rule.
233 (mingw-strerror.o): Likewise.
234 * common/common-utils.h (safe_strerror): Move prototype to here,
235 from utils.h.
236 * common/common.host: New file.
237 * common/mingw-strerror.c: Likewise.
238 * common/posix-strerror.c: Likewise.
239 * configure: Regenerated.
240 * configure.ac: Source common/common.host. Add variable
241 common_host_obs to gdb_host_obs.
242 * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and
243 gdb/common/posix-strerror.c when warning about the use of
244 strerror.
245 * mingw-hdep.c (safe_strerror): Remove definition; move it to
246 common/mingw-strerror.c.
247 * posix-hdep.c (safe_strerror): Remove definition; move it to
248 common/posix-hdep.c.
249 * utils.h (safe_strerror): Remove prototype; move to
250 common/common-utils.h.
251
3af8af43
JB
2522015-01-15 Joel Brobecker <brobecker@adacore.com>
253
254 GDB 7.8.2 released.
255
bafffb51
JB
2562015-01-15 Joel Brobecker <brobecker@adacore.com>
257
258 * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel
259 ___XA type if the array has already been fixed.
260
cdf43629
YQ
2612015-01-14 Yao Qi <yao@codesourcery.com>
262
263 * Makefile.in (ppc-linux.o): New rule.
264 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o.
265 * configure.ac: AC_CHECK_FUNCS(getauxval).
266 * config.in: Re-generated.
267 * configure: Re-generated.
268 * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p):
269 Declare.
270 * nat/ppc-linux.c: New file.
271 * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]:
272 Call ppc64_64bit_inferior_p.
273
514c5338
YQ
2742015-01-14 Yao Qi <yao@codesourcery.com>
275
276 * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
277 nat/ppc-linux.h.
278 (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
279 (PPC_FEATURE_HAS_DFP): Likewise.
280 (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
281 (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
282 (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
283 Include "nat/ppc-linux.h".
284 * nat/ppc-linux.h: New file.
285 * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.
286
5589af0e
PA
2872015-01-14 Pedro Alves <palves@redhat.com>
288
289 PR gdb/17525
290 * breakpoint.c: Include "interps.h".
291 (bpstat_do_actions_1): Also check whether the interpreter is
292 async.
293
6c400b59
PA
2942015-01-14 Pedro Alves <palves@redhat.com>
295
296 PR cli/17828
297 * infrun.c (reinstall_readline_callback_handler_cleanup): Don't
298 reinstall if the interpreter is sync.
299
e02c96a7
DE
3002015-01-13 Doug Evans <dje@google.com>
301
302 * objfiles.c (objfile_filename): New function.
303 * objfiles.h (objfile_filename): Declare it.
304 (objfile_name): Add function comment.
305 * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
306 bfd file name (which may be realpath'd), and the original name.
307
3b2f13ff
JB
3082015-01-13 Joel Brobecker <brobecker@adacore.com>
309
310 * NEWS: Create a new section for the next release branch.
311 Rename the section of the current branch, now that it has
312 been cut.
313
b4cfe7f8
JB
3142015-01-13 Joel Brobecker <brobecker@adacore.com>
315
316 GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
317 * version.in: Bump version to 7.9.50.DATE-cvs.
318
92fc2e69
JB
3192015-01-13 Joel Brobecker <brobecker@adacore.com>
320
321 * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
322 Remove trailing new-line in argument of call to warning.
323
f71f0b0d
JB
3242015-01-13 Joel Brobecker <brobecker@adacore.com>
325
326 * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
327 new-line in argument of call to "warning".
328
04dccad0
JB
3292015-01-13 Joel Brobecker <brobecker@adacore.com>
330
331 * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
332 in static block, then try searching for primitive types.
333
08b13bdd
PP
3342015-01-12 Patrick Palka <patrick@parcs.ath.cx>
335
336 * top.h (gdb_add_history): Declare.
337 * top.c (command_count): New variable.
338 (gdb_add_history): New function.
339 (gdb_safe_append_history): New static function.
340 (quit_force): Call it.
341 (command_line_input): Use gdb_add_history instead of
342 add_history.
343 * event-top.c (command_line_handler): Likewise.
344
4ac15b59
JC
3452015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch)
346
347 PR gdb/17046
348 * darwin-nat.c: Replace <machine/setjmp.h> #include by
349 <setjmp.h> #include.
350
005e54bb
DE
3512015-01-11 Doug Evans <xdje42@gmail.com>
352
353 * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
354
439250fb
DE
3552015-01-11 Doug Evans <xdje42@gmail.com>
356
357 PR gdb/15830
358 * NEWS: The "maint demangle" command is renamed as "demangle".
359 * demangle.c: #include cli/cli-utils.h, language.h.
360 (demangle_command): New function.
361 (_initialize_demangle): Add new command "demangle".
362 * maint.c (maintenance_demangle): Stub out.
363 (_initialize_maint_cmds): Update help text for "maint demangle",
364 and mark as deprecated.
365
ebf3aa72
MK
3662015-01-11 Mark Kettenis <kettenis@gnu.org>
367
368 * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
369 inferior_thread is a function.
370
6bf045cd
PP
3712015-01-09 Patrick Palka <patrick@parcs.ath.cx>
372
373 * Makefile.in (.y.c): Don't munge yacc's #line
374 directives.
375
588dcc3e
PP
3762015-01-09 Patrick Palka <patrick@parcs.ath.cx>
377
378 * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
379 to prompt for input.
380 * tui/tui-hooks.c (tui_query_hook): Remove.
381 (tui_install_hooks): Don't set deprecated_query_hook.
382 * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
383 height calculation. Always update the command window's cur_line.
384
9c02b525
PA
3852015-01-09 Pedro Alves <palves@redhat.com>
386
387 * breakpoint.c (hardware_breakpoint_inserted_here_p): New
388 function.
389 * breakpoint.h (hardware_breakpoint_inserted_here_p): New
390 declaration.
391 * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
392 (linux_resume_one_lwp): Store the thread's PC. Adjust to clear
393 stop_reason.
394 (check_stopped_by_watchpoint): New function.
395 (save_sigtrap): Reimplement.
396 (linux_nat_stopped_by_watchpoint): Adjust.
397 (linux_nat_lp_status_is_event): Delete.
398 (stop_wait_callback): Only call save_sigtrap after storing the
399 pending status.
400 (status_callback): If the thread had been stopped for a breakpoint
401 that has since been removed, discard the event and resume the LWP.
402 (count_events_callback, select_event_lwp_callback): Use
403 lwp_status_pending_p instead of linux_nat_lp_status_is_event.
404 (cancel_breakpoint): Rename to ...
405 (check_stopped_by_breakpoint): ... this. Record whether the LWP
406 stopped for a software breakpoint or hardware breakpoint.
407 (select_event_lwp): Only give preference to the stepping LWP in
408 all-stop mode. Adjust comments.
409 (stop_and_resume_callback): Remove references to new_pending_p.
410 (linux_nat_filter_event): Likewise. Leave exit events of the
411 leader thread pending here. Handle signal short circuiting here.
412 Only call save_sigtrap after storing the pending waitstatus.
413 (linux_nat_wait_1): Remove 'retry' label. Remove references to
414 new_pending. Don't handle leaving events the caller is not
415 interested in pending here, nor handle signal short-circuiting
416 here. Also give equal priority to all LWPs that have had events
417 in non-stop mode. If reporting a software breakpoint event,
418 unadjust the LWP's PC.
419 * linux-nat.h (enum lwp_stop_reason): New.
420 (struct lwp_info) <stop_pc>: New field.
421 (struct lwp_info) <stopped_by_watchpoint>: Delete field.
422 (struct lwp_info) <stop_reason>: New field.
423 * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
424
8af756ef
PA
4252015-01-09 Pedro Alves <palves@redhat.com>
426
427 * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
428 Set the LWP's 'resumed' flag.
429
8a99810d
PA
4302015-01-09 Pedro Alves <palves@redhat.com>
431
432 * linux-nat.c (linux_resume_one_lwp): New function.
433 (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
434 (linux_nat_resume): Use lwp_status_pending_p and
435 linux_resume_one_lwp.
436 (linux_handle_syscall_trap): Use linux_resume_one_lwp.
437 (linux_handle_extended_wait): Use linux_resume_one_lwp.
438 (status_callback, running_callback): Use lwp_status_pending_p.
439 (lwp_status_pending_p): New function.
440 (stop_and_resume_callback): Use lwp_status_pending_p.
441 (linux_nat_filter_event): Use linux_resume_one_lwp.
442 (linux_nat_wait_1): Always use status_callback to look for an LWP
443 with a pending status. Use linux_resume_one_lwp.
444 (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
445 linux_resume_one_lwp.
446
f7ce857f
PA
4472015-01-09 Pedro Alves <palves@redhat.com>
448
449 * breakpoint.c (bp_location_inserted_here_p): New function,
450 factored out from ...
451 (breakpoint_inserted_here_p): ... here. Use
452 ALL_BP_LOCATIONS_AT_ADDR.
453 (software_breakpoint_inserted_here_p): Use
454 bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
455
c1a747c1
PA
4562014-01-09 Pedro Alves <palves@redhat.com>
457
458 Skip enabling event reporting if the kernel supports
459 PTRACE_EVENT_CLONE.
460 * linux-thread-db.c: Include "nat/linux-ptrace.h".
461 (thread_db_use_events): New function.
462 (try_thread_db_load_1): Check thread_db_use_events before enabling
463 event reporting.
464 (update_thread_state): New function.
465 (attach_thread): Use it. Check thread_db_use_events before
466 enabling event reporting.
467 (thread_db_detach): Check thread_db_use_events before disabling
468 event reporting.
469 (find_new_threads_callback): Check thread_db_use_events before
470 enabling event reporting. Update the thread's state if not using
471 libthread_db events.
472
a33e3959
PA
4732015-01-09 Pedro Alves <palves@redhat.com>
474
475 * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
476 about to wait for is > 0.
477 * linux-thread-db.c (find_new_threads_callback): Ignore thread if
478 the kernel thread ID is -1.
479
8784d563
PA
4802015-01-09 Pedro Alves <palves@redhat.com>
481
482 * linux-nat.c (attach_proc_task_lwp_callback): New function.
483 (linux_nat_attach): Use linux_proc_attach_tgid_threads.
484 (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
485 ptrace option flags.
486 * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
487 field.
488 * nat/linux-procfs.c: Include <dirent.h>.
489 (linux_proc_get_int): New parameter "warn". Handle it.
490 (linux_proc_get_tgid): Adjust.
491 (linux_proc_get_tracerpid): Rename to ...
492 (linux_proc_get_tracerpid_nowarn): ... this.
493 (linux_proc_pid_get_state): New function, factored out from
494 (linux_proc_pid_has_state): ... this. Add new parameter "warn"
495 and handle it.
496 (linux_proc_pid_is_gone): New function.
497 (linux_proc_pid_is_stopped): Adjust.
498 (linux_proc_pid_is_zombie_maybe_warn)
499 (linux_proc_pid_is_zombie_nowarn): New functions.
500 (linux_proc_pid_is_zombie): Use
501 linux_proc_pid_is_zombie_maybe_warn.
502 (linux_proc_attach_tgid_threads): New function.
503 * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
504 (linux_proc_get_tracerpid): Rename to ...
505 (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
506 (linux_proc_pid_is_gone): New declaration.
507 (linux_proc_pid_is_zombie): Update comment.
508 (linux_proc_pid_is_zombie_nowarn): New declaration.
509 (linux_proc_attach_lwp_func): New typedef.
510 (linux_proc_attach_tgid_threads): New declaration.
511 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
512 use nowarn functions.
513 (linux_ptrace_attach_fail_reason_string): Move here from
514 gdbserver/linux-low.c and rename.
515 (ptrace_supports_feature): If the current ptrace options are not
516 known yet, check them now, instead of asserting.
517 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
518 Declare.
519
883ed13e
PA
5202015-01-09 Pedro Alves <palves@redhat.com>
521
522 * linux-thread-db.c (thread_db_find_new_threads_silently)
523 (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
524 (find_new_threads_once): Print debug output on gdb_stdlog.
525
1710aab8
CG
5262015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
527 Pedro Alves <palves@redhat.com>
528
529 * compile/compile.c: Include "gdb_wait.h".
530 (do_rmdir): Check return value, and free 'zap'.
531
b597c318
YQ
5322015-01-08 Pedro Alves <palves@redhat.com>
533 Yao Qi <yao@codesourcery.com>
534
535 * dwarf2loc.c (indirect_pieced_value): Don't call
536 gdb_sign_extend. Call extract_signed_integer instead.
537 * utils.c (gdb_sign_extend): Remove.
538 * utils.h (gdb_sign_extend): Remove declaration.
539
025ac414
PM
5402015-01-07 Pierre Muller <muller@sourceware.org>
541
542 PR symtab/17811
543 * stabsread.c (define_symbol): Set language for C++ special symbols.
544
fa5af12a
PP
5452015-01-07 Patrick Palka <patrick@parcs.ath.cx>
546
547 * inflow.c (initial_gdb_ttystate): Tweak comment.
548
ea42d6f8
JB
5492015-01-07 Joel Brobecker <brobecker@adacore.com>
550
551 * inflow.c (set_initial_gdb_ttystate): Add empty line after
552 comment documenting function.
553
6a06d660
PP
5542015-01-07 Patrick Palka <patrick@parcs.ath.cx>
555
556 * terminal.h (set_initial_gdb_ttystate): Declare.
557 * inflow.c (initial_gdb_ttystate): New static variable.
558 (set_initial_gdb_ttystate): New setter.
559 (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
560 instead of our current terminal state.
561 * top.c (gdb_init): Call set_initial_gdb_ttystate.
562
e810d75b
JB
5632015-01-07 Joel Brobecker <brobecker@adacore.com>
564
565 * guile/scm-type.c (tyscm_array_1): Add comment.
566 * python/py-type.c (typy_array_1): Add comment.
567
fce10a84
JB
5682015-01-06 Joel Brobecker <brobecker@adacore.com>
569
570 * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
571 error if N2 is equal to N1 - 1.
572
8503d6e1
JB
5732015-01-06 Joel Brobecker <brobecker@adacore.com>
574
575 * python/py-type.c (typy_array_1): Do not raise negative-length
576 exception if N2 is equal to N1 - 1.
577
4d29c0a8
DE
5782015-01-03 Doug Evans <xdje42@gmail.com>
579
580 * c-exp.y: Whitespace cleanup.
581 (classify_inner_name): Remove extra ;.
582
eaa6a9a4
MR
5832015-01-02 Maciej W. Rozycki <macro@codesourcery.com>
584
585 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
586 offset signed.
587
02fe9972
DE
5882015-01-02 Doug Evans <dje@google.com>
589
590 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
591
e2ada9cb
DE
5922015-01-02 Doug Evans <dje@google.com>
593
594 * symtab.h (struct symbol): Fix typo in comment.
595
32d0add0
JB
5962015-01-01 Joel Brobecker <brobecker@adacore.com>
597
598 Update year range in copyright notice of all files.
599
76f2b779
JB
6002015-01-01 Joel Brobecker <brobecker@adacore.com>
601
602 * top.c (print_gdb_version): Update copyright year to 2015.
603
077309e2 6042015-01-01 Joel Brobecker <brobecker@adacore.com>
6bf6fd09 605
077309e2 606 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
6bf6fd09 607
077309e2 608For older changes see ChangeLog-2014.
c906108c
SS
609\f
610Local Variables:
611mode: change-log
612left-margin: 8
613fill-column: 74
614version-control: never
57da7796 615coding: utf-8
c906108c 616End:
This page took 1.814939 seconds and 4 git commands to generate.