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