]>
Commit | Line | Data |
---|---|---|
d35b90fb MW |
1 | 2015-01-24 Mark Wielaard <mjw@redhat.com> |
2 | ||
3 | * stack.c (return_command): Markup warning message with _. | |
4 | ||
734ae125 DE |
5 | 2015-01-24 Doug Evans <xdje42@gmail.com> |
6 | ||
7 | * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete. | |
8 | ||
527f3840 JK |
9 | 2015-01-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
10 | ||
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 | |
17 | functions. | |
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. | |
24 | ||
f7e5394d SM |
25 | 2015-01-23 Simon Marchi <simon.marchi@ericsson.com> |
26 | ||
27 | PR gdb/17416 | |
28 | * valops.c (value_rtti_indirect_type): Catch exception thrown by | |
29 | value_ind. | |
30 | ||
743649fd MW |
31 | 2015-01-15 Mark Wielaard <mjw@redhat.com> |
32 | ||
33 | * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from | |
34 | DW_AT_noreturn. | |
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 | |
39 | normally. | |
40 | * stack.c (return_command): Likewise. | |
41 | ||
198297aa PA |
42 | 2015-01-23 Pedro Alves <palves@redhat.com> |
43 | ||
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 | |
49 | async. | |
50 | (linux_async_pipe): Use linux_is_async_p. | |
51 | ||
253828f1 JK |
52 | 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
53 | ||
54 | * NEWS (Changes since GDB 7.9): Add 'thread apply all' option | |
55 | '-ascending'. | |
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. | |
60 | ||
f0e8c4c5 JK |
61 | 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
62 | ||
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. | |
67 | ||
03b79603 PA |
68 | 2015-01-22 Pedro Alves <palves@redhat.com> |
69 | ||
70 | * configure.ac [*mingw32*]: Check $curses_found instead of | |
71 | $prefer_curses. | |
72 | * configure: Regenerate. | |
73 | * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and | |
74 | HAVE_NCURSES_NCURSES_H checks. | |
75 | ||
6b8a872f EZ |
76 | 2015-01-22 Eli Zaretskii <eliz@gnu.org> |
77 | ||
bbbbffbb | 78 | * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm' |
6b8a872f EZ |
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 | |
82 | supporting TUI. | |
83 | ||
4b62a76e JK |
84 | 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
85 | ||
86 | * compile/compile.c (_initialize_compile): Use -fPIE for compile_args. | |
87 | ||
82a864f9 EZ |
88 | 2015-01-22 Eli Zaretskii <eliz@gnu.org> |
89 | ||
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. | |
93 | ||
b35018fd CG |
94 | 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com> |
95 | ||
96 | * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues | |
97 | and check additional store instructions. | |
98 | ||
ffbc4646 WW |
99 | 2015-01-21 Wei-cheng Wang <cole945@gmail.com> |
100 | ||
101 | * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang". | |
102 | ||
ddeca1df WW |
103 | 2015-01-21 Wei-cheng Wang <cole945@gmail.com> |
104 | ||
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. | |
115 | ||
049bb5de JB |
116 | 2015-01-20 Joel Brobecker <brobecker@adacore.com> |
117 | ||
118 | * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string) | |
119 | (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of | |
120 | strerror. | |
121 | ||
42b87c63 | 122 | 2015-01-20 Wei-cheng Wang <cole945@gmail.com> |
810c1026 WW |
123 | |
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. | |
130 | ||
569340fc CG |
131 | 2015-01-20 Chen Gang <gang.chen.5i5j@gmail.com> |
132 | ||
133 | * MAINTAINERS (Write After Approval): Add "Chen Gang". | |
134 | ||
63413d85 EZ |
135 | 2015-01-19 Eli Zaretskii <eliz@gnu.org> |
136 | ||
137 | * configure.ac [*mingw32*]: Only add windows-termcap.o to | |
138 | CONFIG_OBS if not building with a curses library. | |
139 | * configure: Regenerate. | |
140 | ||
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. | |
144 | ||
16d8013c JB |
145 | 2015-01-19 Joel Brobecker <brobecker@adacore.com> |
146 | ||
147 | * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator | |
148 | from end of line to start of next line. | |
149 | ||
cf90fd9a WW |
150 | 2015-01-17 Wei-cheng Wang <cole945@gmail.com> |
151 | ||
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. | |
155 | ||
b4cdae6f WW |
156 | 2015-01-17 Wei-cheng Wang <cole945@gmail.com> |
157 | Ulrich Weigand <uweigand@de.ibm.com> | |
158 | ||
159 | * configure.tgt (powerpc*-*-linux): Add linux-record.o to | |
160 | gdb_target_obs. | |
161 | (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall | |
162 | record. | |
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. | |
173 | ||
2608dbf8 WW |
174 | 2015-01-17 Wei-cheng Wang <cole945@gmail.com> |
175 | ||
176 | * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to | |
177 | rs6000_in_function_epilogue_frame_p and add an argument | |
178 | for frame_info. | |
179 | (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id, | |
180 | rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer): | |
181 | New functions. | |
182 | (rs6000_epilogue_frame_unwind): New. | |
183 | (rs6000_gdbarch_init): Append epilogue unwinder. | |
184 | ||
4c347be6 SDJ |
185 | 2015-01-16 Sergio Durigan Junior <sergiodj@redhat.com> |
186 | ||
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 | |
190 | systems. | |
191 | ||
9f2850ba EZ |
192 | 2015-01-16 Eli Zaretskii <eliz@gnu.org> |
193 | ||
6cdb25f4 EZ |
194 | * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New |
195 | functions. | |
196 | (_initialize_tui_win) <border-kind, border-mode>: | |
197 | <active-border-mode>: Use tui_set_var_cmd as the "set" function. | |
c54da50d EZ |
198 | (tui_set_tab_width_command): Fix the commentary. |
199 | ||
6cdb25f4 EZ |
200 | * tui/tui-win.h: Add prototype for tui_rehighlight_all. |
201 | ||
bf555842 EZ |
202 | * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command): |
203 | Doc fix. | |
cb86fcc1 EZ |
204 | (tui_set_tab_width_command): Delete and recreate the source and |
205 | the disassembly windows, to show the effect of the changed tab | |
206 | size immediately. | |
bf555842 | 207 | |
9f2850ba EZ |
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. | |
211 | ||
95761b2d JK |
212 | 2015-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
213 | ||
214 | Fix gcc-5 compilation. | |
215 | * hppa-tdep.c (inst_saves_gr): Fix parentheses typo. | |
216 | ||
8cc73a39 SDJ |
217 | 2015-01-15 Sergio Durigan Junior <sergiodj@redhat.com> |
218 | ||
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 | |
223 | linux-personality.o. | |
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. | |
251 | ||
fb23d554 SDJ |
252 | 2015-01-15 Sergio Durigan Junior <sergiodj@redhat.com> |
253 | ||
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, | |
259 | from utils.h. | |
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 | |
268 | strerror. | |
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 | |
272 | common/posix-hdep.c. | |
273 | * utils.h (safe_strerror): Remove prototype; move to | |
274 | common/common-utils.h. | |
275 | ||
3af8af43 JB |
276 | 2015-01-15 Joel Brobecker <brobecker@adacore.com> |
277 | ||
278 | GDB 7.8.2 released. | |
279 | ||
bafffb51 JB |
280 | 2015-01-15 Joel Brobecker <brobecker@adacore.com> |
281 | ||
282 | * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel | |
283 | ___XA type if the array has already been fixed. | |
284 | ||
cdf43629 YQ |
285 | 2015-01-14 Yao Qi <yao@codesourcery.com> |
286 | ||
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): | |
293 | Declare. | |
294 | * nat/ppc-linux.c: New file. | |
295 | * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]: | |
296 | Call ppc64_64bit_inferior_p. | |
297 | ||
514c5338 YQ |
298 | 2015-01-14 Yao Qi <yao@codesourcery.com> |
299 | ||
300 | * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to | |
301 | nat/ppc-linux.h. | |
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. | |
310 | ||
5589af0e PA |
311 | 2015-01-14 Pedro Alves <palves@redhat.com> |
312 | ||
313 | PR gdb/17525 | |
314 | * breakpoint.c: Include "interps.h". | |
315 | (bpstat_do_actions_1): Also check whether the interpreter is | |
316 | async. | |
317 | ||
6c400b59 PA |
318 | 2015-01-14 Pedro Alves <palves@redhat.com> |
319 | ||
320 | PR cli/17828 | |
321 | * infrun.c (reinstall_readline_callback_handler_cleanup): Don't | |
322 | reinstall if the interpreter is sync. | |
323 | ||
e02c96a7 DE |
324 | 2015-01-13 Doug Evans <dje@google.com> |
325 | ||
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. | |
331 | ||
3b2f13ff JB |
332 | 2015-01-13 Joel Brobecker <brobecker@adacore.com> |
333 | ||
334 | * NEWS: Create a new section for the next release branch. | |
335 | Rename the section of the current branch, now that it has | |
336 | been cut. | |
337 | ||
b4cfe7f8 JB |
338 | 2015-01-13 Joel Brobecker <brobecker@adacore.com> |
339 | ||
340 | GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37): | |
341 | * version.in: Bump version to 7.9.50.DATE-cvs. | |
342 | ||
92fc2e69 JB |
343 | 2015-01-13 Joel Brobecker <brobecker@adacore.com> |
344 | ||
345 | * nat/linux-procfs.c (linux_proc_attach_tgid_threads): | |
346 | Remove trailing new-line in argument of call to warning. | |
347 | ||
f71f0b0d JB |
348 | 2015-01-13 Joel Brobecker <brobecker@adacore.com> |
349 | ||
350 | * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing | |
351 | new-line in argument of call to "warning". | |
352 | ||
04dccad0 JB |
353 | 2015-01-13 Joel Brobecker <brobecker@adacore.com> |
354 | ||
355 | * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found | |
356 | in static block, then try searching for primitive types. | |
357 | ||
08b13bdd PP |
358 | 2015-01-12 Patrick Palka <patrick@parcs.ath.cx> |
359 | ||
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 | |
366 | add_history. | |
367 | * event-top.c (command_line_handler): Likewise. | |
368 | ||
4ac15b59 JC |
369 | 2015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch) |
370 | ||
371 | PR gdb/17046 | |
372 | * darwin-nat.c: Replace <machine/setjmp.h> #include by | |
373 | <setjmp.h> #include. | |
374 | ||
005e54bb DE |
375 | 2015-01-11 Doug Evans <xdje42@gmail.com> |
376 | ||
377 | * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME. | |
378 | ||
439250fb DE |
379 | 2015-01-11 Doug Evans <xdje42@gmail.com> |
380 | ||
381 | PR gdb/15830 | |
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. | |
389 | ||
ebf3aa72 MK |
390 | 2015-01-11 Mark Kettenis <kettenis@gnu.org> |
391 | ||
392 | * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that | |
393 | inferior_thread is a function. | |
394 | ||
6bf045cd PP |
395 | 2015-01-09 Patrick Palka <patrick@parcs.ath.cx> |
396 | ||
397 | * Makefile.in (.y.c): Don't munge yacc's #line | |
398 | directives. | |
399 | ||
588dcc3e PP |
400 | 2015-01-09 Patrick Palka <patrick@parcs.ath.cx> |
401 | ||
402 | * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper | |
403 | to prompt for input. | |
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. | |
408 | ||
9c02b525 PA |
409 | 2015-01-09 Pedro Alves <palves@redhat.com> |
410 | ||
411 | * breakpoint.c (hardware_breakpoint_inserted_here_p): New | |
412 | function. | |
413 | * breakpoint.h (hardware_breakpoint_inserted_here_p): New | |
414 | declaration. | |
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 | |
417 | stop_reason. | |
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 | |
423 | pending status. | |
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. | |
448 | ||
8af756ef PA |
449 | 2015-01-09 Pedro Alves <palves@redhat.com> |
450 | ||
451 | * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>: | |
452 | Set the LWP's 'resumed' flag. | |
453 | ||
8a99810d PA |
454 | 2015-01-09 Pedro Alves <palves@redhat.com> |
455 | ||
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. | |
470 | ||
f7ce857f PA |
471 | 2015-01-09 Pedro Alves <palves@redhat.com> |
472 | ||
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. | |
479 | ||
c1a747c1 PA |
480 | 2014-01-09 Pedro Alves <palves@redhat.com> |
481 | ||
482 | Skip enabling event reporting if the kernel supports | |
483 | PTRACE_EVENT_CLONE. | |
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 | |
487 | event reporting. | |
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 | |
492 | event reporting. | |
493 | (find_new_threads_callback): Check thread_db_use_events before | |
494 | enabling event reporting. Update the thread's state if not using | |
495 | libthread_db events. | |
496 | ||
a33e3959 PA |
497 | 2015-01-09 Pedro Alves <palves@redhat.com> |
498 | ||
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. | |
503 | ||
8784d563 PA |
504 | 2015-01-09 Pedro Alves <palves@redhat.com> |
505 | ||
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 | |
509 | ptrace option flags. | |
510 | * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New | |
511 | field. | |
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" | |
519 | and handle it. | |
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): | |
542 | Declare. | |
543 | ||
883ed13e PA |
544 | 2015-01-09 Pedro Alves <palves@redhat.com> |
545 | ||
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. | |
549 | ||
1710aab8 CG |
550 | 2015-01-09 Chen Gang <gang.chen.5i5j@gmail.com> |
551 | Pedro Alves <palves@redhat.com> | |
552 | ||
553 | * compile/compile.c: Include "gdb_wait.h". | |
554 | (do_rmdir): Check return value, and free 'zap'. | |
555 | ||
b597c318 YQ |
556 | 2015-01-08 Pedro Alves <palves@redhat.com> |
557 | Yao Qi <yao@codesourcery.com> | |
558 | ||
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. | |
563 | ||
025ac414 PM |
564 | 2015-01-07 Pierre Muller <muller@sourceware.org> |
565 | ||
566 | PR symtab/17811 | |
567 | * stabsread.c (define_symbol): Set language for C++ special symbols. | |
568 | ||
fa5af12a PP |
569 | 2015-01-07 Patrick Palka <patrick@parcs.ath.cx> |
570 | ||
571 | * inflow.c (initial_gdb_ttystate): Tweak comment. | |
572 | ||
ea42d6f8 JB |
573 | 2015-01-07 Joel Brobecker <brobecker@adacore.com> |
574 | ||
575 | * inflow.c (set_initial_gdb_ttystate): Add empty line after | |
576 | comment documenting function. | |
577 | ||
6a06d660 PP |
578 | 2015-01-07 Patrick Palka <patrick@parcs.ath.cx> |
579 | ||
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. | |
586 | ||
e810d75b JB |
587 | 2015-01-07 Joel Brobecker <brobecker@adacore.com> |
588 | ||
589 | * guile/scm-type.c (tyscm_array_1): Add comment. | |
590 | * python/py-type.c (typy_array_1): Add comment. | |
591 | ||
fce10a84 JB |
592 | 2015-01-06 Joel Brobecker <brobecker@adacore.com> |
593 | ||
594 | * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range | |
595 | error if N2 is equal to N1 - 1. | |
596 | ||
8503d6e1 JB |
597 | 2015-01-06 Joel Brobecker <brobecker@adacore.com> |
598 | ||
599 | * python/py-type.c (typy_array_1): Do not raise negative-length | |
600 | exception if N2 is equal to N1 - 1. | |
601 | ||
4d29c0a8 DE |
602 | 2015-01-03 Doug Evans <xdje42@gmail.com> |
603 | ||
604 | * c-exp.y: Whitespace cleanup. | |
605 | (classify_inner_name): Remove extra ;. | |
606 | ||
eaa6a9a4 MR |
607 | 2015-01-02 Maciej W. Rozycki <macro@codesourcery.com> |
608 | ||
609 | * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack | |
610 | offset signed. | |
611 | ||
02fe9972 DE |
612 | 2015-01-02 Doug Evans <dje@google.com> |
613 | ||
614 | * dwarf2read.c (setup_type_unit_groups): Remove outdated comment. | |
615 | ||
e2ada9cb DE |
616 | 2015-01-02 Doug Evans <dje@google.com> |
617 | ||
618 | * symtab.h (struct symbol): Fix typo in comment. | |
619 | ||
32d0add0 JB |
620 | 2015-01-01 Joel Brobecker <brobecker@adacore.com> |
621 | ||
622 | Update year range in copyright notice of all files. | |
623 | ||
76f2b779 JB |
624 | 2015-01-01 Joel Brobecker <brobecker@adacore.com> |
625 | ||
626 | * top.c (print_gdb_version): Update copyright year to 2015. | |
627 | ||
077309e2 | 628 | 2015-01-01 Joel Brobecker <brobecker@adacore.com> |
6bf6fd09 | 629 | |
077309e2 | 630 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014. |
6bf6fd09 | 631 | |
077309e2 | 632 | For older changes see ChangeLog-2014. |
c906108c SS |
633 | \f |
634 | Local Variables: | |
635 | mode: change-log | |
636 | left-margin: 8 | |
637 | fill-column: 74 | |
638 | version-control: never | |
57da7796 | 639 | coding: utf-8 |
c906108c | 640 | End: |