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