Commit | Line | Data |
---|---|---|
8cc73a39 SDJ |
1 | 2015-01-15 Sergio Durigan Junior <sergiodj@redhat.com> |
2 | ||
3 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h. | |
4 | (linux-personality.o): New rule. | |
5 | * common/common-defs.h: Include <stdint.h>. | |
6 | * config/aarch64/linux.mh (NATDEPFILES): Include | |
7 | linux-personality.o. | |
8 | * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise. | |
9 | * config/arm/linux.mh (NATDEPFILES): Likewise. | |
10 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
11 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
12 | * config/ia64/linux.mh (NATDEPFILES): Likewise. | |
13 | * config/m32r/linux.mh (NATDEPFILES): Likewise. | |
14 | * config/m68k/linux.mh (NATDEPFILES): Likewise. | |
15 | * config/mips/linux.mh (NATDEPFILES): Likewise. | |
16 | * config/pa/linux.mh (NATDEPFILES): Likewise. | |
17 | * config/powerpc/linux.mh (NATDEPFILES): Likewise. | |
18 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise. | |
19 | * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise. | |
20 | * config/s390/linux.mh (NATDEPFILES): Likewise. | |
21 | * config/sparc/linux64.mh (NATDEPFILES): Likewise. | |
22 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
23 | * config/tilegx/linux.mh (NATDEPFILES): Likewise. | |
24 | * config/xtensa/linux.mh (NATDEPFILES): Likewise. | |
25 | * defs.h: Remove #include <stdint.h> (moved to | |
26 | common/common-defs.h). | |
27 | * linux-nat.c: Include nat/linux-personality.h. Remove #include | |
28 | <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to | |
29 | nat/linux-personality.c). | |
30 | (linux_nat_create_inferior): Remove code to disable address space | |
31 | randomization (moved to nat/linux-personality.c). Create cleanup | |
32 | to disable address space randomization. | |
33 | * nat/linux-personality.c: New file. | |
34 | * nat/linux-personality.h: Likewise. | |
35 | ||
fb23d554 SDJ |
36 | 2015-01-15 Sergio Durigan Junior <sergiodj@redhat.com> |
37 | ||
38 | * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and | |
39 | common/posix-strerror.c. | |
40 | (posix-strerror.o): New rule. | |
41 | (mingw-strerror.o): Likewise. | |
42 | * common/common-utils.h (safe_strerror): Move prototype to here, | |
43 | from utils.h. | |
44 | * common/common.host: New file. | |
45 | * common/mingw-strerror.c: Likewise. | |
46 | * common/posix-strerror.c: Likewise. | |
47 | * configure: Regenerated. | |
48 | * configure.ac: Source common/common.host. Add variable | |
49 | common_host_obs to gdb_host_obs. | |
50 | * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and | |
51 | gdb/common/posix-strerror.c when warning about the use of | |
52 | strerror. | |
53 | * mingw-hdep.c (safe_strerror): Remove definition; move it to | |
54 | common/mingw-strerror.c. | |
55 | * posix-hdep.c (safe_strerror): Remove definition; move it to | |
56 | common/posix-hdep.c. | |
57 | * utils.h (safe_strerror): Remove prototype; move to | |
58 | common/common-utils.h. | |
59 | ||
3af8af43 JB |
60 | 2015-01-15 Joel Brobecker <brobecker@adacore.com> |
61 | ||
62 | GDB 7.8.2 released. | |
63 | ||
bafffb51 JB |
64 | 2015-01-15 Joel Brobecker <brobecker@adacore.com> |
65 | ||
66 | * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel | |
67 | ___XA type if the array has already been fixed. | |
68 | ||
cdf43629 YQ |
69 | 2015-01-14 Yao Qi <yao@codesourcery.com> |
70 | ||
71 | * Makefile.in (ppc-linux.o): New rule. | |
72 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o. | |
73 | * configure.ac: AC_CHECK_FUNCS(getauxval). | |
74 | * config.in: Re-generated. | |
75 | * configure: Re-generated. | |
76 | * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p): | |
77 | Declare. | |
78 | * nat/ppc-linux.c: New file. | |
79 | * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]: | |
80 | Call ppc64_64bit_inferior_p. | |
81 | ||
514c5338 YQ |
82 | 2015-01-14 Yao Qi <yao@codesourcery.com> |
83 | ||
84 | * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to | |
85 | nat/ppc-linux.h. | |
86 | (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise. | |
87 | (PPC_FEATURE_HAS_DFP): Likewise. | |
88 | (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise. | |
89 | (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise. | |
90 | (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise. | |
91 | Include "nat/ppc-linux.h". | |
92 | * nat/ppc-linux.h: New file. | |
93 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h. | |
94 | ||
5589af0e PA |
95 | 2015-01-14 Pedro Alves <palves@redhat.com> |
96 | ||
97 | PR gdb/17525 | |
98 | * breakpoint.c: Include "interps.h". | |
99 | (bpstat_do_actions_1): Also check whether the interpreter is | |
100 | async. | |
101 | ||
6c400b59 PA |
102 | 2015-01-14 Pedro Alves <palves@redhat.com> |
103 | ||
104 | PR cli/17828 | |
105 | * infrun.c (reinstall_readline_callback_handler_cleanup): Don't | |
106 | reinstall if the interpreter is sync. | |
107 | ||
e02c96a7 DE |
108 | 2015-01-13 Doug Evans <dje@google.com> |
109 | ||
110 | * objfiles.c (objfile_filename): New function. | |
111 | * objfiles.h (objfile_filename): Declare it. | |
112 | (objfile_name): Add function comment. | |
113 | * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the | |
114 | bfd file name (which may be realpath'd), and the original name. | |
115 | ||
3b2f13ff JB |
116 | 2015-01-13 Joel Brobecker <brobecker@adacore.com> |
117 | ||
118 | * NEWS: Create a new section for the next release branch. | |
119 | Rename the section of the current branch, now that it has | |
120 | been cut. | |
121 | ||
b4cfe7f8 JB |
122 | 2015-01-13 Joel Brobecker <brobecker@adacore.com> |
123 | ||
124 | GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37): | |
125 | * version.in: Bump version to 7.9.50.DATE-cvs. | |
126 | ||
92fc2e69 JB |
127 | 2015-01-13 Joel Brobecker <brobecker@adacore.com> |
128 | ||
129 | * nat/linux-procfs.c (linux_proc_attach_tgid_threads): | |
130 | Remove trailing new-line in argument of call to warning. | |
131 | ||
f71f0b0d JB |
132 | 2015-01-13 Joel Brobecker <brobecker@adacore.com> |
133 | ||
134 | * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing | |
135 | new-line in argument of call to "warning". | |
136 | ||
04dccad0 JB |
137 | 2015-01-13 Joel Brobecker <brobecker@adacore.com> |
138 | ||
139 | * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found | |
140 | in static block, then try searching for primitive types. | |
141 | ||
08b13bdd PP |
142 | 2015-01-12 Patrick Palka <patrick@parcs.ath.cx> |
143 | ||
144 | * top.h (gdb_add_history): Declare. | |
145 | * top.c (command_count): New variable. | |
146 | (gdb_add_history): New function. | |
147 | (gdb_safe_append_history): New static function. | |
148 | (quit_force): Call it. | |
149 | (command_line_input): Use gdb_add_history instead of | |
150 | add_history. | |
151 | * event-top.c (command_line_handler): Likewise. | |
152 | ||
4ac15b59 JC |
153 | 2015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch) |
154 | ||
155 | PR gdb/17046 | |
156 | * darwin-nat.c: Replace <machine/setjmp.h> #include by | |
157 | <setjmp.h> #include. | |
158 | ||
005e54bb DE |
159 | 2015-01-11 Doug Evans <xdje42@gmail.com> |
160 | ||
161 | * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME. | |
162 | ||
439250fb DE |
163 | 2015-01-11 Doug Evans <xdje42@gmail.com> |
164 | ||
165 | PR gdb/15830 | |
166 | * NEWS: The "maint demangle" command is renamed as "demangle". | |
167 | * demangle.c: #include cli/cli-utils.h, language.h. | |
168 | (demangle_command): New function. | |
169 | (_initialize_demangle): Add new command "demangle". | |
170 | * maint.c (maintenance_demangle): Stub out. | |
171 | (_initialize_maint_cmds): Update help text for "maint demangle", | |
172 | and mark as deprecated. | |
173 | ||
ebf3aa72 MK |
174 | 2015-01-11 Mark Kettenis <kettenis@gnu.org> |
175 | ||
176 | * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that | |
177 | inferior_thread is a function. | |
178 | ||
6bf045cd PP |
179 | 2015-01-09 Patrick Palka <patrick@parcs.ath.cx> |
180 | ||
181 | * Makefile.in (.y.c): Don't munge yacc's #line | |
182 | directives. | |
183 | ||
588dcc3e PP |
184 | 2015-01-09 Patrick Palka <patrick@parcs.ath.cx> |
185 | ||
186 | * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper | |
187 | to prompt for input. | |
188 | * tui/tui-hooks.c (tui_query_hook): Remove. | |
189 | (tui_install_hooks): Don't set deprecated_query_hook. | |
190 | * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in | |
191 | height calculation. Always update the command window's cur_line. | |
192 | ||
9c02b525 PA |
193 | 2015-01-09 Pedro Alves <palves@redhat.com> |
194 | ||
195 | * breakpoint.c (hardware_breakpoint_inserted_here_p): New | |
196 | function. | |
197 | * breakpoint.h (hardware_breakpoint_inserted_here_p): New | |
198 | declaration. | |
199 | * linux-nat.c (linux_nat_status_is_event): Move higher up in file. | |
200 | (linux_resume_one_lwp): Store the thread's PC. Adjust to clear | |
201 | stop_reason. | |
202 | (check_stopped_by_watchpoint): New function. | |
203 | (save_sigtrap): Reimplement. | |
204 | (linux_nat_stopped_by_watchpoint): Adjust. | |
205 | (linux_nat_lp_status_is_event): Delete. | |
206 | (stop_wait_callback): Only call save_sigtrap after storing the | |
207 | pending status. | |
208 | (status_callback): If the thread had been stopped for a breakpoint | |
209 | that has since been removed, discard the event and resume the LWP. | |
210 | (count_events_callback, select_event_lwp_callback): Use | |
211 | lwp_status_pending_p instead of linux_nat_lp_status_is_event. | |
212 | (cancel_breakpoint): Rename to ... | |
213 | (check_stopped_by_breakpoint): ... this. Record whether the LWP | |
214 | stopped for a software breakpoint or hardware breakpoint. | |
215 | (select_event_lwp): Only give preference to the stepping LWP in | |
216 | all-stop mode. Adjust comments. | |
217 | (stop_and_resume_callback): Remove references to new_pending_p. | |
218 | (linux_nat_filter_event): Likewise. Leave exit events of the | |
219 | leader thread pending here. Handle signal short circuiting here. | |
220 | Only call save_sigtrap after storing the pending waitstatus. | |
221 | (linux_nat_wait_1): Remove 'retry' label. Remove references to | |
222 | new_pending. Don't handle leaving events the caller is not | |
223 | interested in pending here, nor handle signal short-circuiting | |
224 | here. Also give equal priority to all LWPs that have had events | |
225 | in non-stop mode. If reporting a software breakpoint event, | |
226 | unadjust the LWP's PC. | |
227 | * linux-nat.h (enum lwp_stop_reason): New. | |
228 | (struct lwp_info) <stop_pc>: New field. | |
229 | (struct lwp_info) <stopped_by_watchpoint>: Delete field. | |
230 | (struct lwp_info) <stop_reason>: New field. | |
231 | * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust. | |
232 | ||
8af756ef PA |
233 | 2015-01-09 Pedro Alves <palves@redhat.com> |
234 | ||
235 | * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>: | |
236 | Set the LWP's 'resumed' flag. | |
237 | ||
8a99810d PA |
238 | 2015-01-09 Pedro Alves <palves@redhat.com> |
239 | ||
240 | * linux-nat.c (linux_resume_one_lwp): New function. | |
241 | (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp. | |
242 | (linux_nat_resume): Use lwp_status_pending_p and | |
243 | linux_resume_one_lwp. | |
244 | (linux_handle_syscall_trap): Use linux_resume_one_lwp. | |
245 | (linux_handle_extended_wait): Use linux_resume_one_lwp. | |
246 | (status_callback, running_callback): Use lwp_status_pending_p. | |
247 | (lwp_status_pending_p): New function. | |
248 | (stop_and_resume_callback): Use lwp_status_pending_p. | |
249 | (linux_nat_filter_event): Use linux_resume_one_lwp. | |
250 | (linux_nat_wait_1): Always use status_callback to look for an LWP | |
251 | with a pending status. Use linux_resume_one_lwp. | |
252 | (resume_stopped_resumed_lwps): Use lwp_status_pending_p and | |
253 | linux_resume_one_lwp. | |
254 | ||
f7ce857f PA |
255 | 2015-01-09 Pedro Alves <palves@redhat.com> |
256 | ||
257 | * breakpoint.c (bp_location_inserted_here_p): New function, | |
258 | factored out from ... | |
259 | (breakpoint_inserted_here_p): ... here. Use | |
260 | ALL_BP_LOCATIONS_AT_ADDR. | |
261 | (software_breakpoint_inserted_here_p): Use | |
262 | bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR. | |
263 | ||
c1a747c1 PA |
264 | 2014-01-09 Pedro Alves <palves@redhat.com> |
265 | ||
266 | Skip enabling event reporting if the kernel supports | |
267 | PTRACE_EVENT_CLONE. | |
268 | * linux-thread-db.c: Include "nat/linux-ptrace.h". | |
269 | (thread_db_use_events): New function. | |
270 | (try_thread_db_load_1): Check thread_db_use_events before enabling | |
271 | event reporting. | |
272 | (update_thread_state): New function. | |
273 | (attach_thread): Use it. Check thread_db_use_events before | |
274 | enabling event reporting. | |
275 | (thread_db_detach): Check thread_db_use_events before disabling | |
276 | event reporting. | |
277 | (find_new_threads_callback): Check thread_db_use_events before | |
278 | enabling event reporting. Update the thread's state if not using | |
279 | libthread_db events. | |
280 | ||
a33e3959 PA |
281 | 2015-01-09 Pedro Alves <palves@redhat.com> |
282 | ||
283 | * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're | |
284 | about to wait for is > 0. | |
285 | * linux-thread-db.c (find_new_threads_callback): Ignore thread if | |
286 | the kernel thread ID is -1. | |
287 | ||
8784d563 PA |
288 | 2015-01-09 Pedro Alves <palves@redhat.com> |
289 | ||
290 | * linux-nat.c (attach_proc_task_lwp_callback): New function. | |
291 | (linux_nat_attach): Use linux_proc_attach_tgid_threads. | |
292 | (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's | |
293 | ptrace option flags. | |
294 | * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New | |
295 | field. | |
296 | * nat/linux-procfs.c: Include <dirent.h>. | |
297 | (linux_proc_get_int): New parameter "warn". Handle it. | |
298 | (linux_proc_get_tgid): Adjust. | |
299 | (linux_proc_get_tracerpid): Rename to ... | |
300 | (linux_proc_get_tracerpid_nowarn): ... this. | |
301 | (linux_proc_pid_get_state): New function, factored out from | |
302 | (linux_proc_pid_has_state): ... this. Add new parameter "warn" | |
303 | and handle it. | |
304 | (linux_proc_pid_is_gone): New function. | |
305 | (linux_proc_pid_is_stopped): Adjust. | |
306 | (linux_proc_pid_is_zombie_maybe_warn) | |
307 | (linux_proc_pid_is_zombie_nowarn): New functions. | |
308 | (linux_proc_pid_is_zombie): Use | |
309 | linux_proc_pid_is_zombie_maybe_warn. | |
310 | (linux_proc_attach_tgid_threads): New function. | |
311 | * nat/linux-procfs.h (linux_proc_get_tgid): Update comment. | |
312 | (linux_proc_get_tracerpid): Rename to ... | |
313 | (linux_proc_get_tracerpid_nowarn): ... this, and update comment. | |
314 | (linux_proc_pid_is_gone): New declaration. | |
315 | (linux_proc_pid_is_zombie): Update comment. | |
316 | (linux_proc_pid_is_zombie_nowarn): New declaration. | |
317 | (linux_proc_attach_lwp_func): New typedef. | |
318 | (linux_proc_attach_tgid_threads): New declaration. | |
319 | * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to | |
320 | use nowarn functions. | |
321 | (linux_ptrace_attach_fail_reason_string): Move here from | |
322 | gdbserver/linux-low.c and rename. | |
323 | (ptrace_supports_feature): If the current ptrace options are not | |
324 | known yet, check them now, instead of asserting. | |
325 | * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string): | |
326 | Declare. | |
327 | ||
883ed13e PA |
328 | 2015-01-09 Pedro Alves <palves@redhat.com> |
329 | ||
330 | * linux-thread-db.c (thread_db_find_new_threads_silently) | |
331 | (try_thread_db_load_1, try_thread_db_load, thread_db_load_search) | |
332 | (find_new_threads_once): Print debug output on gdb_stdlog. | |
333 | ||
1710aab8 CG |
334 | 2015-01-09 Chen Gang <gang.chen.5i5j@gmail.com> |
335 | Pedro Alves <palves@redhat.com> | |
336 | ||
337 | * compile/compile.c: Include "gdb_wait.h". | |
338 | (do_rmdir): Check return value, and free 'zap'. | |
339 | ||
b597c318 YQ |
340 | 2015-01-08 Pedro Alves <palves@redhat.com> |
341 | Yao Qi <yao@codesourcery.com> | |
342 | ||
343 | * dwarf2loc.c (indirect_pieced_value): Don't call | |
344 | gdb_sign_extend. Call extract_signed_integer instead. | |
345 | * utils.c (gdb_sign_extend): Remove. | |
346 | * utils.h (gdb_sign_extend): Remove declaration. | |
347 | ||
025ac414 PM |
348 | 2015-01-07 Pierre Muller <muller@sourceware.org> |
349 | ||
350 | PR symtab/17811 | |
351 | * stabsread.c (define_symbol): Set language for C++ special symbols. | |
352 | ||
fa5af12a PP |
353 | 2015-01-07 Patrick Palka <patrick@parcs.ath.cx> |
354 | ||
355 | * inflow.c (initial_gdb_ttystate): Tweak comment. | |
356 | ||
ea42d6f8 JB |
357 | 2015-01-07 Joel Brobecker <brobecker@adacore.com> |
358 | ||
359 | * inflow.c (set_initial_gdb_ttystate): Add empty line after | |
360 | comment documenting function. | |
361 | ||
6a06d660 PP |
362 | 2015-01-07 Patrick Palka <patrick@parcs.ath.cx> |
363 | ||
364 | * terminal.h (set_initial_gdb_ttystate): Declare. | |
365 | * inflow.c (initial_gdb_ttystate): New static variable. | |
366 | (set_initial_gdb_ttystate): New setter. | |
367 | (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate | |
368 | instead of our current terminal state. | |
369 | * top.c (gdb_init): Call set_initial_gdb_ttystate. | |
370 | ||
e810d75b JB |
371 | 2015-01-07 Joel Brobecker <brobecker@adacore.com> |
372 | ||
373 | * guile/scm-type.c (tyscm_array_1): Add comment. | |
374 | * python/py-type.c (typy_array_1): Add comment. | |
375 | ||
fce10a84 JB |
376 | 2015-01-06 Joel Brobecker <brobecker@adacore.com> |
377 | ||
378 | * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range | |
379 | error if N2 is equal to N1 - 1. | |
380 | ||
8503d6e1 JB |
381 | 2015-01-06 Joel Brobecker <brobecker@adacore.com> |
382 | ||
383 | * python/py-type.c (typy_array_1): Do not raise negative-length | |
384 | exception if N2 is equal to N1 - 1. | |
385 | ||
4d29c0a8 DE |
386 | 2015-01-03 Doug Evans <xdje42@gmail.com> |
387 | ||
388 | * c-exp.y: Whitespace cleanup. | |
389 | (classify_inner_name): Remove extra ;. | |
390 | ||
eaa6a9a4 MR |
391 | 2015-01-02 Maciej W. Rozycki <macro@codesourcery.com> |
392 | ||
393 | * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack | |
394 | offset signed. | |
395 | ||
02fe9972 DE |
396 | 2015-01-02 Doug Evans <dje@google.com> |
397 | ||
398 | * dwarf2read.c (setup_type_unit_groups): Remove outdated comment. | |
399 | ||
e2ada9cb DE |
400 | 2015-01-02 Doug Evans <dje@google.com> |
401 | ||
402 | * symtab.h (struct symbol): Fix typo in comment. | |
403 | ||
32d0add0 JB |
404 | 2015-01-01 Joel Brobecker <brobecker@adacore.com> |
405 | ||
406 | Update year range in copyright notice of all files. | |
407 | ||
76f2b779 JB |
408 | 2015-01-01 Joel Brobecker <brobecker@adacore.com> |
409 | ||
410 | * top.c (print_gdb_version): Update copyright year to 2015. | |
411 | ||
077309e2 | 412 | 2015-01-01 Joel Brobecker <brobecker@adacore.com> |
6bf6fd09 | 413 | |
077309e2 | 414 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014. |
6bf6fd09 | 415 | |
077309e2 | 416 | For older changes see ChangeLog-2014. |
c906108c SS |
417 | \f |
418 | Local Variables: | |
419 | mode: change-log | |
420 | left-margin: 8 | |
421 | fill-column: 74 | |
422 | version-control: never | |
57da7796 | 423 | coding: utf-8 |
c906108c | 424 | End: |