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