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