Commit | Line | Data |
---|---|---|
53fe1783 GB |
1 | 2012-01-24 Gary Benson <gbenson@redhat.com> |
2 | ||
3 | Delete #if 0'd out code. | |
4 | * stack.c (print_frame_label_vars): Remove. | |
5 | (catch_info): Likewise. | |
6 | (_initialize_stack): Remove "info catch" command. | |
7 | * NEWS: Mention the above. | |
8 | ||
49c62f2e PA |
9 | 2012-01-24 Pedro Alves <palves@redhat.com> |
10 | ||
11 | * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use | |
12 | it. | |
13 | (remote_notice_new_inferior): If the remote end doesn't support | |
14 | the multiprocess extensions, then the PID is fake. | |
15 | (add_current_inferior_and_thread): New. | |
16 | (remote_start_remote): Use it. | |
17 | (extended_remote_attach_1): Adjust. | |
18 | (extended_remote_create_inferior_1): Use | |
19 | add_current_inferior_and_thread. | |
20 | ||
d0d8b0c6 JK |
21 | 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
22 | ||
23 | Fix watchpoints to be specific for each inferior. | |
24 | * breakpoint.c (watchpoint_in_thread_scope): Verify also | |
25 | current_program_space. | |
26 | * i386-nat.c (i386_inferior_data_cleanup): New. | |
27 | (i386_inferior_data_get): Replace variable inf_data_local by an | |
28 | inferior_data call. | |
29 | (i386_use_watchpoints): Initialize i386_inferior_data. | |
30 | * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID | |
31 | specific iterate_over_lwps. | |
32 | ||
4403d8e9 JK |
33 | 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
34 | ||
35 | Fix watchpoints across inferior fork. | |
36 | * amd64-linux-nat.c (update_debug_registers_callback): Update the | |
37 | comment for linux_nat_iterate_watchpoint_lwps. | |
38 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use | |
39 | linux_nat_iterate_watchpoint_lwps. | |
40 | (amd64_linux_prepare_to_resume): New comment on Linux kernel. | |
41 | * i386-linux-nat.c (update_debug_registers_callback): Update the | |
42 | comment for linux_nat_iterate_watchpoint_lwps. | |
43 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use | |
44 | linux_nat_iterate_watchpoint_lwps. | |
45 | (i386_linux_prepare_to_resume): New comment on Linux kernel. | |
46 | * i386-nat.c: Include inferior.h. | |
47 | (dr_mirror): Remove. | |
48 | (i386_inferior_data, struct i386_inferior_data) | |
49 | (i386_inferior_data_get): New. | |
50 | (i386_debug_reg_state): Use i386_inferior_data_get. | |
51 | (i386_cleanup_dregs, i386_update_inferior_debug_regs) | |
52 | (i386_insert_watchpoint, i386_remove_watchpoint) | |
53 | (i386_stopped_data_address, i386_insert_hw_breakpoint) | |
54 | (i386_remove_hw_breakpoint): New variable state, use | |
55 | i386_debug_reg_state instead of DR_MIRROR. | |
56 | * linux-nat.c (delete_lwp): New declaration. | |
57 | (num_lwps): Move here from downwards. | |
58 | (delete_lwp_cleanup): New. | |
59 | (linux_child_follow_fork): Create new child_lp, call | |
60 | linux_nat_new_thread and linux_nat_prepare_to_resume before calling | |
61 | PTRACE_DETACH. | |
62 | (num_lwps): Move upwards. | |
63 | (linux_nat_iterate_watchpoint_lwps): New. | |
64 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New. | |
65 | (linux_nat_iterate_watchpoint_lwps_ftype): New declaration. | |
66 | ||
2992c9a7 | 67 | 2012-01-24 Joel Brobecker <brobecker@adacore.com> |
68 | ||
69 | GDB 7.4 released. | |
70 | ||
e360902b PA |
71 | 2012-01-23 Pedro Alves <palves@redhat.com> |
72 | ||
73 | * top.c (caution): Rename to ... | |
74 | (confirm): ... this. | |
75 | (show_caution): Rename to ... | |
76 | (show_confirm): ... this. | |
77 | (quit_cover): Adjust. | |
78 | (init_main): Adjust. | |
79 | * top.h (caution): Rename to ... | |
80 | (confirm): ... this. | |
81 | * utils.c (internal_vproblem, defaulted_query): Adjust. | |
82 | ||
050a2e1d PA |
83 | 2012-01-23 Pedro Alves <palves@redhat.com> |
84 | ||
85 | * top.c (caution): Update comment. | |
86 | (execute_command): Don't consider the current value of `caution'. | |
87 | ||
77a35dd8 JK |
88 | 2012-01-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
89 | ||
90 | * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen. | |
91 | ||
a71b5a38 UW |
92 | 2012-01-23 Ulrich Weigand <ulrich.weigand@linaro.org> |
93 | ||
94 | * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>. | |
95 | * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning. | |
96 | * target.c (target_fileio_pwrite): Remove buffer address from | |
97 | debug output. | |
98 | (target_fileio_pread): Likewise. | |
99 | ||
d99bd577 UW |
100 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
101 | ||
102 | * NEWS: Document remote "info proc" and "generate-core-file". | |
103 | ||
35c2fab7 UW |
104 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
105 | ||
106 | * gdbarch.sh (find_memory_regions): New callback. | |
107 | * gdbarch.c, gdbarch.h: Regenerate. | |
108 | ||
109 | * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions | |
110 | callback before falling back to target method. | |
111 | ||
112 | * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove. | |
113 | (linux_target_install_ops): No longer install it. | |
114 | ||
115 | * linux-tdep.c (linux_find_memory_regions): New function. | |
116 | (linux_init_abi): Install it. | |
117 | ||
6432734d UW |
118 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
119 | ||
120 | * gdbarch.sh (make_corefile_notes): New architecture callback. | |
121 | * gdbarch.c: Regenerate. | |
122 | * gdbarch.h: Likewise. | |
123 | ||
124 | * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes | |
125 | before target_make_corefile_notes. If NULL is returned, the | |
126 | target does not support core file generation. | |
127 | ||
128 | * linux-nat.c: Include "linux-tdep.h". | |
129 | (find_signalled_thread, find_stop_signal): Remove. | |
130 | (linux_nat_do_thread_registers): Likewise. | |
131 | (struct linux_nat_corefile_thread_data): Likewise. | |
132 | (linux_nat_corefile_thread_callback): Likewise. | |
133 | (iterate_over_spus): Likewise. | |
134 | (struct linux_spu_corefile_data): Likewise. | |
135 | (linux_spu_corefile_callback): Likewise. | |
136 | (linux_spu_make_corefile_notes): Likewise. | |
137 | (linux_nat_collect_thread_registers): New function. | |
138 | (linux_nat_make_corefile_notes): Replace contents by call to | |
139 | linux_make_corefile_notes passing linux_nat_collect_thread_registers | |
140 | as native-only callback. | |
141 | ||
142 | * linux-tdep.h: Include "bfd.h". | |
143 | (struct regcache): Add forward declaration. | |
144 | (linux_collect_thread_registers_ftype): New typedef. | |
145 | (linux_make_corefile_notes): Add prototype. | |
146 | * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h", | |
147 | "regset.h", and "elf-bfd.h". | |
148 | (find_signalled_thread, find_stop_signal): New functions. | |
149 | (linux_spu_make_corefile_notes): Likewise. | |
150 | (linux_collect_thread_registers): Likewise. | |
151 | (struct linux_corefile_thread_data): New data structure. | |
152 | (linux_corefile_thread_callback): New funcion. | |
153 | (linux_make_corefile_notes): Likewise. | |
154 | (linux_make_corefile_notes_1): Likewise. | |
155 | (linux_init_abi): Install it. | |
156 | ||
3030c96e UW |
157 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
158 | ||
159 | * gdbarch.sh (info_proc): New callback. | |
160 | * gdbarch.c, gdbarch.h: Regenerate. | |
161 | ||
162 | * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback | |
163 | before falling back to the target info_proc callback. | |
164 | ||
165 | * linux-nat.c: Do not include "cli/cli-utils.h". | |
166 | (linux_nat_info_proc): Remove. | |
167 | (linux_target_install_ops): No longer install it. | |
168 | ||
169 | * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>. | |
170 | (read_mapping): New function. | |
171 | (linux_info_proc): Likewise. | |
172 | (linux_init_abi): Install it. | |
173 | ||
145b16a9 UW |
174 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
175 | ||
176 | * defs.h (enum info_proc_what): Moved here from linux-nat.c | |
177 | * infcmd.c: (info_proc_cmd_1): New function. | |
178 | (info_proc_cmd): New function, moved here from equivalent routine | |
179 | orignally in linux-nat.c. | |
180 | (info_proc_cmd_mappings): Likewise. | |
181 | (info_proc_cmd_stat): Likewise. | |
182 | (info_proc_cmd_status): Likewise. | |
183 | (info_proc_cmd_cwd): Likewise. | |
184 | (info_proc_cmd_cmdline): Likewise. | |
185 | (info_proc_cmd_exe): Likewise. | |
186 | (info_proc_cmd_all): Likewise. | |
187 | (_initialize_infcmd): Install "info proc" command and subcommands. | |
188 | ||
189 | * target.h (struct target_ops): Add to_info_proc. | |
190 | (target_info_proc): Add prototype. | |
191 | * target.c (target_info_proc): New function. | |
192 | ||
193 | * procfs.c (procfs_info_proc): Add prototype. | |
194 | (info_proc_cmd): Rename into ... | |
195 | (procfs_info_proc): ... this. Update argument types as appropriate | |
196 | for a to_info_proc implementation. Handle "what" argument. | |
197 | (procfs_target): Install procfs_info_proc. | |
198 | (_initialize_procfs): No longer install "info proc" command. | |
199 | ||
200 | * linux-nat.c: (enum info_proc_what): Remove. | |
201 | (linux_nat_info_proc_cmd_1): Rename into ... | |
202 | (linux_nat_info_proc): ... this. Update argument types as appropriate | |
203 | for a to_info_proc implementation. | |
204 | (linux_nat_info_proc_cmd): Remove. | |
205 | (linux_nat_info_proc_cmd_mappings): Likewise. | |
206 | (linux_nat_info_proc_cmd_stat): Likewise. | |
207 | (linux_nat_info_proc_cmd_status): Likewise. | |
208 | (linux_nat_info_proc_cmd_cwd): Likewise. | |
209 | (linux_nat_info_proc_cmd_cmdline): Likewise. | |
210 | (linux_nat_info_proc_cmd_exe): Likewise. | |
211 | (linux_nat_info_proc_cmd_all): Likewise. | |
212 | (linux_target_install_ops): Install linux_nat_info_proc. | |
213 | (_initialize_linux_nat): No longer install "info proc" command | |
214 | and subcommands. | |
215 | ||
b9e7b9c3 UW |
216 | 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> |
217 | ||
218 | * configure.ac [AC_CHECK_FUNCS]: Check for readlink. | |
219 | * config.in, configure: Regenerate. | |
220 | ||
221 | * target.h (struct target_ops): Add to_fileio_readlink. | |
222 | (target_fileio_readlink): Add prototype. | |
223 | * target.c (target_fileio_readlink): New function. | |
224 | ||
225 | * inf-child.c: Conditionally include <sys/param.h>. | |
226 | (inf_child_fileio_readlink): New function. | |
227 | (inf_child_target): Install it. | |
228 | ||
229 | * remote.c (PACKET_vFile_readlink): New enum value. | |
230 | (remote_hostio_readlink): New function. | |
231 | (init_remote_ops): Install it. | |
232 | (_initialize_remote): Handle vFile:readlink packet type. | |
233 | ||
7313baad UW |
234 | 2012-01-20 Pedro Alves <palves@redhat.com> |
235 | Ulrich Weigand <ulrich.weigand@linaro.org> | |
236 | ||
237 | * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite. | |
238 | * config.in, configure: Regenerate. | |
239 | ||
240 | * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite, | |
241 | to_fileio_pread, to_fileio_close, to_fileio_unlink. | |
242 | (target_fileio_open): Add prototype. | |
243 | (target_fileio_pwrite): Likewise. | |
244 | (target_fileio_pread): Likewise. | |
245 | (target_fileio_close): Likewise. | |
246 | (target_fileio_unlink): Likewise. | |
247 | (target_fileio_read_alloc): Likewise. | |
248 | (target_fileio_read_stralloc): Likewise. | |
249 | ||
250 | * target.c: Include "gdb/fileio.h". | |
251 | (target_read_stralloc): Accept trailing, but not embedded NUL bytes. | |
252 | (default_fileio_target): New function. | |
253 | (target_fileio_open): Likewise. | |
254 | (target_fileio_pwrite): Likewise. | |
255 | (target_fileio_pread): Likewise. | |
256 | (target_fileio_close): Likewise. | |
257 | (target_fileio_unlink): Likewise. | |
258 | (target_fileio_close_cleanup): Likewise. | |
259 | (target_fileio_read_alloc_1): Likewise. | |
260 | (target_fileio_read_alloc): Likewise. | |
261 | (target_fileio_read_stralloc): Likewise. | |
262 | ||
263 | * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>, | |
264 | <fcntl.h>, and <unistd.h>. | |
265 | (inf_child_fileio_open_flags_to_host): New function. | |
266 | (inf_child_errno_to_fileio_error): Likewise. | |
267 | (inf_child_fileio_open): Likewise. | |
268 | (inf_child_fileio_pwrite): Likewise. | |
269 | (inf_child_fileio_pread): Likewise. | |
270 | (inf_child_fileio_close): Likewise. | |
271 | (inf_child_fileio_unlink): Likewise. | |
272 | (inf_child_target): Install to_fileio routines. | |
273 | ||
274 | * remote.c (init_remote_ops): Install to_fileio routines. | |
275 | ||
901f9912 UW |
276 | 2012-01-20 Pedro Alves <palves@redhat.com> |
277 | Ulrich Weigand <ulrich.weigand@linaro.org> | |
278 | ||
279 | * remote.c (remote_multi_process_p): Only check for multi-process | |
280 | protocol feature, do not check for extended protocol. | |
281 | (remote_supports_multi_process): Check for extended protocol here. | |
282 | (set_general_process): Likewise. | |
283 | (extended_remote_kill): Likewise. | |
284 | (remote_pid_to_str): Likewise. | |
285 | (remote_query_supported): Always query multiprocess mode. | |
286 | ||
e714e1bf UW |
287 | 2012-01-20 Pedro Alves <palves@redhat.com> |
288 | Ulrich Weigand <ulrich.weigand@linaro.org> | |
289 | ||
290 | * inferior.h (struct inferior): Add fake_pid_p. | |
291 | * inferior.c (exit_inferior_1): Clear fake_pid_p. | |
292 | * remote.c (remote_start_remote): Set fake_pid_p if we have to use | |
293 | magic_null_ptid since the remote side doesn't provide a real PID. | |
294 | ||
50897289 TT |
295 | 2012-01-19 Tom Tromey <tromey@redhat.com> |
296 | ||
297 | * NEWS: Combine the two Python sections. | |
298 | ||
1afc2033 JK |
299 | 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
300 | ||
301 | * target.h (target_close): Update comment on the target's unpush state. | |
302 | ||
305436e0 PA |
303 | 2012-01-19 Pedro Alves <palves@redhat.com> |
304 | ||
305 | * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and | |
306 | linux_nat_async directly instead of going through the target | |
307 | vector. | |
308 | * target.c (unpush_target): Close target after unpushing it, not | |
309 | before. | |
310 | ||
49323895 GB |
311 | 2012-01-19 Gary Benson <gbenson@redhat.com> |
312 | ||
313 | * mdebugread.c (sort_blocks): Replace integer constants with ones | |
314 | derived from FIRST_LOCAL_BLOCK. | |
315 | ||
1db33378 PP |
316 | 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com> |
317 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
318 | ||
319 | PR gdb/9538 | |
320 | * symfile.c (find_separate_debug_file): New function. | |
321 | (terminate_after_last_dir_separator): Likewise. | |
322 | (find_separate_debug_file_by_debuglink): Also try realpath. | |
323 | * configure.ac (AC_CHECK_FUNCS): Add lstat. | |
324 | * configure: Regenerate. | |
325 | * config.in: Regenerate. | |
326 | ||
f83d8a90 DE |
327 | 2012-01-18 Doug Evans <dje@google.com> |
328 | ||
329 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete. | |
330 | (main.o): Remove rule. | |
331 | * configure.ac (BINDIR): Define with AC_DEFINE_DIR. | |
332 | (--with-sysroot): Rewrite. | |
333 | * configure: Regenerate. | |
334 | * config.in: Regenerate. | |
335 | ||
2dbca4d6 SDJ |
336 | 2012-01-18 Sergio Durigan Junior <sergiodj@redhat.com> |
337 | ||
338 | * parse.c (initialize_expout): New function. | |
339 | (reallocate_expout): Likewise. | |
340 | (parse_exp_in_context): Use `initialize_expout' and | |
341 | `reallocate_expout' when appropriate. | |
342 | ||
0695b514 PA |
343 | 2012-01-18 Pedro Alves <palves@redhat.com> |
344 | ||
345 | * record.c (struct record_breakpoint, record_breakpoint_p) | |
346 | (record_breakpoints): New. | |
347 | (record_insert_breakpoint, record_remove_breakpoint): Manage | |
348 | record breakpoints list. Only remove breakpoints from the | |
349 | inferior if they had been inserted there in the first place. | |
350 | ||
136e1c30 DE |
351 | 2012-01-17 Doug Evans <dje@google.com> |
352 | ||
353 | * linespec.c (decode_line_internal): Don't call symtabs_from_filename | |
354 | if we know we don't have a file name to look for. | |
355 | ||
c0bf857d PA |
356 | 2012-01-17 Pedro Alves <palves@redhat.com> |
357 | ||
358 | * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if | |
359 | the frame's stop reason is UNWIND_UNAVAILABLE. | |
360 | ||
b486de60 JK |
361 | 2012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
362 | ||
363 | Fix compilation error. | |
364 | * m2-exp.y (yyerror): Use ANSI C prototype. | |
365 | ||
d04550a6 SDJ |
366 | 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com> |
367 | ||
368 | * f-exp.y (parse_number): Convert prototype from K&R to ANSI C. | |
369 | (growbuf_by_size): Likewise. | |
370 | (yyerror): Likewise. | |
371 | * m2-exp.y (make_qualname): Remove function (was #if 0'ed). | |
372 | (modblock): Remove variable (was #if 0'ed). | |
373 | (parse_number): Convert prototype from K&R to ANSI C. | |
374 | (yyerror): Likewise. | |
375 | * objc-exp.y (parse_number): Likewise. | |
376 | (yyerror): Likewise. | |
377 | (yylex): Remove #if 0'ed code. | |
378 | * p-exp.y (uptok): Convert prototype from K&R to ANSI C. | |
379 | (yyerror): Likewise. | |
380 | ||
4aac40c8 TT |
381 | 2012-01-16 Tom Tromey <tromey@redhat.com> |
382 | ||
383 | * NEWS: Add item. | |
384 | * symtab.h (compare_filenames_for_search): Declare. | |
385 | * symtab.c (compare_filenames_for_search): New function. | |
386 | (iterate_over_some_symtabs): Use it. | |
387 | * symfile.h (struct quick_symbol_functions) | |
388 | <map_symtabs_matching_filename>: Change spec. | |
389 | * psymtab.c (partial_map_symtabs_matching_filename): Use | |
390 | compare_filenames_for_search. Update for new spec. | |
391 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Use | |
392 | compare_filenames_for_search. Update for new spec. | |
393 | * breakpoint.c (clear_command): Use compare_filenames_for_search. | |
394 | ||
cafec441 TT |
395 | 2012-01-16 Tom Tromey <tromey@redhat.com> |
396 | ||
397 | PR python/13281: | |
398 | * gdbtypes.h (TYPE_FLAG_ENUM): New macro. | |
399 | (struct main_type) <flag_flag_enum>: New field. | |
400 | * dwarf2read.c (process_enumeration_scope): Detect "flag" enums. | |
401 | * NEWS: Add entries. | |
402 | * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag" | |
403 | enums. | |
404 | * python/lib/gdb/printing.py (_EnumInstance): New class. | |
405 | (FlagEnumerationPrinter): Likewise. | |
406 | ||
983af33b SDJ |
407 | 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com> |
408 | ||
409 | * breakpoint.c (create_sals_from_address_default): New function. | |
410 | (create_breakpoints_sal_default): Likewise. | |
411 | (decode_linespec_default): Likewise. | |
412 | (is_marker_spec): Removed. | |
413 | (strace_marker_p): New function. | |
414 | (init_breakpoint_sal): Using `strace_marker_p' instead of | |
415 | `is_marker_spec'. | |
416 | (create_breakpoint): Call method `create_sals_from_address' from | |
417 | breakpoint_ops, replacing code that created SALs conditionally | |
418 | on the type of the breakpoint. Call method `create_breakpoints_sal', | |
419 | replacing code that created breakpoints conditionally on the type | |
420 | wanted. | |
421 | (base_breakpoint_create_sals_from_address): New function. | |
422 | (base_breakpoint_create_breakpoints_sal): Likewise. | |
423 | (base_breakpoint_decode_linespec): Likewise. | |
424 | (base_breakpoint_ops): Add methods | |
425 | `base_breakpoint_create_sals_from_address', | |
426 | `base_breakpoint_create_breakpoints_sal' and | |
427 | `base_breakpoint_decode_linespec'. | |
428 | (bkpt_create_sals_from_address): New function. | |
429 | (bkpt_create_breakpoints_sal): Likewise. | |
430 | (bkpt_decode_linespec): Likewise. | |
431 | (tracepoint_create_sals_from_address): Likewise. | |
432 | (tracepoint_create_breakpoints_sal): Likewise. | |
433 | (tracepoint_decode_linespec): Likewise. | |
434 | (strace_marker_create_sals_from_address): Likewise. | |
435 | (strace_marker_create_breakpoints_sal): Likewise. | |
436 | (strace_marker_decode_linespec): Likewise. | |
437 | (strace_marker_breakpoint_ops): New variable. | |
438 | (addr_string_to_sals): Remove `marker_spec'. Call method | |
439 | `decode_linespec' from breakpoint_ops, replacing code that decoded | |
440 | an address string into a SAL. Use `strace_marker_p' instead of | |
441 | `marker_spec'. | |
442 | (strace_command): Decide whether we are dealing with a static | |
443 | tracepoint with marker or not. Use the appropriate breakpoint_ops. | |
444 | (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops. | |
445 | * breakpoint.h (linespec_result, linespec_sals): New forward | |
446 | declarations. | |
447 | (breakpoint_ops) <create_sals_from_address>, | |
448 | <create_breakpoints_sal>, <decode_linespec>: New methods. | |
449 | ||
4795f398 DE |
450 | 2012-01-14 Doug Evans <dje@google.com> |
451 | ||
452 | * NEWS: Update text for "maint set python print-stack". | |
453 | It is deprecated in gdb 7.4 and deleted in 7.5. | |
454 | ||
ee5106fe EZ |
455 | 2012-01-13 Eli Zaretskii <eliz@gnu.org> |
456 | ||
457 | * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before | |
458 | including curses.h. | |
459 | ||
b161e06f JK |
460 | 2012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
461 | ||
462 | * configure: Regenerate. | |
463 | * config.in: Regenerate. | |
464 | ||
85254831 KS |
465 | 2012-01-12 Keith Seitz <keiths@redhat.com> |
466 | ||
467 | PR mi/10586 | |
468 | * varobj.c (ANONYMOUS_STRUCT_NAME): Define. | |
469 | (ANONYMOUS_UNION_NAME): Define. | |
470 | (is_path_expr_parent): New function. | |
471 | (get_path_expr_parent): New function. | |
472 | (is_anonymous_child): New function. | |
473 | (create_child_with_value): If the child is anonymous and without | |
474 | a name, assign an object name to it. | |
475 | (c_describe_child): Use get_path_expr_parent to determine | |
476 | the parent expression. | |
477 | If there field represents an anonymous struct or union and | |
478 | has no name, set an appropriate display name and expression. | |
479 | (cplus_describe_child): Likewise. | |
480 | ||
620fa63a PA |
481 | 2012-01-12 Pedro Alves <palves@redhat.com> |
482 | ||
483 | * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as | |
484 | available when %ebp is found to be zero (outermost). | |
485 | ||
2efa2c79 AT |
486 | 2012-01-11 Andreas Tobler <andreast@fgznet.ch> |
487 | ||
488 | * common/gdb_assert.h (gdb_static_assert): Rename static_assert to | |
489 | an internal gdb_static_assert. | |
490 | * mi/mi-common.c: Rename static_assert to gdb_static_assert. | |
491 | ||
88e7d25d TT |
492 | 2012-01-11 Tom Tromey <tromey@redhat.com> |
493 | ||
494 | PR gdb/9598: | |
495 | * breakpoint.c (_initialize_breakpoint): Fix help for "catch | |
496 | catch" and "catch throw". | |
497 | ||
72384ba3 PH |
498 | 2012-01-11 Paul Hilfinger <hilfingr@adacore.com> |
499 | ||
500 | * blockframe.c (block_innermost_frame): Start search from selected | |
501 | frame, if present, or otherwise the current frame. | |
502 | ||
503 | * c-exp.y (variable): Update innermost_block for | |
504 | 'block COLONCOLON NAME' clause. | |
505 | * m2-exp.y (variable): Ditto. | |
506 | * objc-exp.y (variable): Ditto. | |
507 | ||
065a711f TT |
508 | 2012-01-10 Tom Tromey <tromey@redhat.com> |
509 | ||
510 | PR python/13199: | |
511 | * python/python.c (finish_python_initialization): Set sys.argv. | |
512 | ||
f3f5162e DE |
513 | 2012-01-10 Doug Evans <dje@google.com> |
514 | ||
515 | * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg | |
516 | "want_line_info". All callers updated. | |
517 | (dwarf_decode_lines_1): New function. | |
518 | (handle_DW_AT_stmt_list): Add function comment. | |
519 | New arg "want_line_info". All callers updated. | |
520 | (read_file_scope,read_type_unit_scope): Move comment from | |
521 | handle_DW_AT_stmt_list to here. | |
522 | ||
9934703b JK |
523 | 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
524 | ||
525 | Fix regression after libiberty/ update for GCC PR 6057 and others. | |
526 | * c-exp.y (operator) <OPERATOR DELETE> | |
527 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
528 | * cp-name-parser.y (fill_comp, make_operator, make_dtor) | |
529 | (make_builtin_type, make_name): New variable i, add gdb_assert. | |
530 | (operator) <OPERATOR NEW>: Update ARGS to 3. | |
531 | (operator) <OPERATOR DELETE>: Add trailing space. | |
532 | (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3. | |
533 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
534 | * cp-support.c (cp_canonicalize_string): Check NULL from | |
535 | cp_comp_to_string, call warning and return. | |
536 | ||
06b9f45f JK |
537 | 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
538 | ||
539 | Fix duplicate .o files after omitting libbfd.a. | |
540 | * Makefile.in (ALL_TARGET_OBS): Remove corelow.o. | |
541 | (SFILES): Add corelow.c. | |
542 | (COMMON_OBS): Add corelow.o. | |
543 | (ALLDEPFILES): Remove corelow.c. | |
544 | * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o. | |
545 | * config/alpha/alpha-osf3.mh: Likewise. | |
546 | * config/alpha/fbsd.mh: Likewise. | |
547 | * config/arm/nbsdaout.mh: Likewise. | |
548 | * config/arm/nbsdelf.mh: Likewise. | |
549 | * config/i386/i386gnu.mh: Likewise. | |
550 | * config/ia64/hpux.mh: Likewise. | |
551 | * config/ia64/linux.mh: Likewise. | |
552 | * config/m32r/linux.mh: Likewise. | |
553 | * config/m68k/linux.mh: Likewise. | |
554 | * config/mips/irix5.mh: Likewise. | |
555 | * config/mips/irix6.mh: Likewise. | |
556 | * config/pa/hpux.mh: Likewise. | |
557 | * config/pa/linux.mh: Likewise. | |
558 | * config/powerpc/aix.mh: Likewise. | |
559 | * config/sparc/linux.mh: Likewise. | |
560 | * config/sparc/linux64.mh: Likewise. | |
561 | * config/sparc/sol2.mh: Likewise. | |
562 | * config/vax/vax.mh: Likewise. | |
563 | * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu) | |
564 | (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*) | |
565 | (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*) | |
566 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*) | |
567 | (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*) | |
568 | (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*) | |
569 | (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*) | |
570 | (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*) | |
571 | (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*) | |
572 | (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu) | |
573 | (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*) | |
574 | (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*) | |
575 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
576 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*) | |
577 | (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*) | |
578 | (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
579 | (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*) | |
580 | (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu) | |
581 | (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*) | |
582 | (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*) | |
583 | (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*) | |
584 | (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove | |
585 | corelow.o from gdb_target_obs. | |
586 | * corefile.c (core_target): Update the comment on NULL value. | |
587 | (core_file_command): Replace error by gdb_assert on CORE_TARGET. | |
588 | * corelow.c (sniff_core_bfd): Call error instead of warning on zero | |
589 | MATCHES. Drop YUMMY set on NULL. | |
590 | (core_close): Do not call exit_inferior_silent on zero PID. Do not | |
591 | reclaim CORE_DATA if it is already NULL. | |
592 | ||
34365054 DE |
593 | 2012-01-09 Doug Evans <dje@google.com> |
594 | ||
595 | * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy. | |
596 | * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy. | |
597 | ||
696166a3 KS |
598 | 2012-01-09 Keith Seitz <keiths@redhat.com> |
599 | ||
600 | * breakpoint.c (wrapper.h): Don't include. | |
601 | ||
8e7b59a5 KS |
602 | 2012-01-09 Keith Seitz <keiths@redhat.com> |
603 | ||
604 | * Makefile.in (SFILES): Remove wrapper.c. | |
605 | (HFILES_NO_SRCDIR): Remove wrapper.h. | |
606 | (COMMON_OBS): Remove wrapper.o. | |
607 | * cli/cli-interp.c: Don't inlude wrapper.h. | |
608 | * corelow.c: Likewise. | |
609 | (core_open): Replace gdb_target_find_new_threads with | |
610 | TRY_CATCH around target_find_new_threads. | |
611 | * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy. | |
612 | * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type. | |
613 | * varobj.c (varobj_create): Likewise for parse_exp_1 and | |
614 | evaluate_expression. | |
615 | (varobj_set_value): Likewise for evaluate_expression and | |
616 | value_assign. | |
617 | (install_new_variable): Likewise for value_fetch_lazy. | |
618 | (adjust_value_for_child_access): Likewise for value_ind. | |
619 | (c_describe_child): Likewise for value_subscript and | |
620 | value_ind. | |
621 | (c_value_of_root): Likewise for evaluate_expression. | |
622 | * wrapper.c: Remove. | |
623 | * wrapper.h: Remove. | |
624 | ||
1a4eeb98 DE |
625 | 2012-01-09 Doug Evans <dje@google.com> |
626 | ||
9ff913ba DE |
627 | * dwarf2read.c (read_and_check_comp_unit_head): Renamed from |
628 | partial_read_comp_unit_head. Replace "buffer", "buffer_size" and | |
629 | "abfd" args with "section". All callers updated. | |
630 | Error checking code moved ... | |
631 | (error_check_comp_unit_head): ... here. New function. | |
632 | (read_and_check_type_unit_head): Renamed from read_type_unit_head. | |
633 | Delete arg "abfd". New arg "type_offset". All callers updated. | |
634 | (create_debug_types_hash_table): Simplify by using | |
635 | read_and_check_type_unit_head. | |
636 | ||
1a4eeb98 DE |
637 | * parser-defs.h (namecopy): Delete. |
638 | * parse.c (namecopy, namecopy_size): Move into copy_name. | |
639 | ||
2e6af8c0 JK |
640 | 2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
641 | ||
642 | Partially fix duplicate .o files after omitting libbfd.a. | |
643 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o. | |
644 | * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
645 | * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o. | |
646 | * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
647 | * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o. | |
648 | * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o. | |
649 | * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
650 | ||
9f2f828a PA |
651 | 2012-01-09 Pedro Alves <palves@redhat.com> |
652 | ||
653 | * MAINTAINERS: Update my email address. | |
654 | ||
4d72c0bc DE |
655 | 2012-01-08 Doug Evans <dje@google.com> |
656 | ||
d467dd73 DE |
657 | * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to |
658 | n_type_units. Rename type_comp_units to all_type_units. | |
659 | All uses updated. | |
660 | (add_signatured_type_cu_to_table): Renamed from | |
661 | add_signatured_type_cu_to_list. All callers updated. | |
662 | ||
4d72c0bc DE |
663 | * gdbtypes.h (struct cplus_struct_type): Delete member |
664 | nfn_fields_total. All uses removed. | |
665 | ||
21b2bd31 DE |
666 | 2012-01-06 Doug Evans <dje@google.com> |
667 | ||
668 | * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard | |
669 | to top of file. | |
670 | (dwarf2_find_comp_unit): Delete. | |
671 | (process_psymtab_comp_unit): Make result "void". | |
672 | Delete args buffer, info_ptr, buffer_size, and replace with | |
673 | "section". All callers updated. | |
674 | (dwarf2_build_psymtabs_hard): Simplify. | |
675 | ||
bfd189b1 SDJ |
676 | 2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com> |
677 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
678 | ||
679 | * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword | |
680 | before `struct gdb_exception'. | |
681 | * breakpoint.c (update_global_location_list_nothrow) | |
682 | (update_breakpoint_locations, enable_breakpoint_disp): Likewise. | |
683 | * cp-abi.c (value_rtti_type): Likewise. | |
684 | * cp-support.c (cp_validate_operator): Likewise. | |
685 | * infrun.c (insert_exception_resume_breakpoint) | |
686 | (check_exception_resume, keep_going): Likewise. | |
687 | * mi-interp.c (mi_breakpoint_created) | |
688 | (mi_breakpoint_modified): Likewise. | |
689 | * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise. | |
690 | * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p) | |
691 | (ia64_hpux_handle_dld_breakpoint_1): Likewise. | |
692 | ||
6b07635f DE |
693 | 2012-01-05 Doug Evans <dje@google.com> |
694 | ||
0b30b85c DE |
695 | * dwarf2read.c (statement_prologue): Delete, unused. |
696 | ||
98714339 DE |
697 | * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int. |
698 | * dwarf2loc.h (dwarf2_per_cu_addr_size): Update. | |
699 | ||
6b07635f DE |
700 | * dwarf2read.c (comp_unit_header): Delete, unused. |
701 | ||
761f4555 UW |
702 | 2012-01-05 Ulrich Weigand <uweigand@de.ibm.com> |
703 | ||
704 | * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o. | |
705 | * config/s390/s390.mh (NATDEPFILES): Remove corelow.o. | |
706 | ||
2ca0b532 PA |
707 | 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu> |
708 | ||
709 | * infrun.c (normal_stop): Don't skip calling the normal_stop | |
710 | observers if the thread was doing a multi-step, but stopped for | |
711 | some reason other than stepping. | |
712 | ||
50aeff07 PA |
713 | 2012-01-05 Pedro Alves <alves.ped@gmail.com> |
714 | ||
715 | * cli/cli-decode.h: Add comments. | |
716 | (CMD_LIST_AMBIGUOUS): Moved to command.h | |
717 | (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
718 | (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq) | |
719 | (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1) | |
720 | (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition) | |
721 | (add_com, add_com_alias, add_info, add_info_alias) | |
722 | (complete_on_cmdlist, complete_on_enum, help_list): Remove | |
723 | declarations. | |
724 | * command.h: Add and adjust comments. | |
725 | (CMD_LIST_AMBIGUOUS): Moved here. | |
726 | (help_cmd, help_cmd_list): Delete declarations. | |
727 | ||
5953832c DE |
728 | 2012-01-04 Doug Evans <dje@google.com> |
729 | ||
e5fe5e75 DE |
730 | * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd". |
731 | All callers updated. | |
732 | (load_full_type_unit): Renamed from read_signatured_type_at_offset. | |
733 | Replace all arguments with "per_cu". All callers updated. | |
734 | ||
28dee7f5 DE |
735 | * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment. |
736 | ||
23745b47 DE |
737 | * dwarf2read.c (init_one_comp_unit): Delete arg "objfile". |
738 | New arg "per_cu". All callers updated. | |
739 | ||
5953832c DE |
740 | Delete #if 0'd out code. |
741 | * language.c (binop_result_type): Delete. | |
742 | (simple_type, ordered_type, same_type, integral_type): Delete. | |
743 | (numeric_type, character_type, string_type, boolean_type): Delete. | |
744 | (float_type, structured_type): Delete. | |
745 | * language.h: Update. | |
746 | ||
0f5b7562 TT |
747 | 2012-01-04 Tom Tromey <tromey@redhat.com> |
748 | ||
749 | * python/py-value.c (valpy_binop): Initialize 'res_val'. | |
750 | ||
78218f56 JB |
751 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
752 | ||
753 | * corefile.c (close_exec_file): Delete. | |
754 | (reopen_exec_file): Remove commented out code that seems related | |
755 | to close_exec_file, which is being deleted here. | |
756 | * inferior.h (close_exec_file): Delete. | |
757 | * fork-child.c (fork_inferior): Remove call to fork_inferior. | |
758 | ||
0fcd72ba JB |
759 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
760 | ||
761 | * ada-lang.c: #include "cli/cli-utils.h". | |
762 | (get_selections): Use skip_spaces. | |
763 | (ada_get_next_arg): Use skip_spaces and skip_to_space. | |
764 | (catch_ada_exception_command_split): Use skip_spaces. | |
765 | (ada_decode_assert_location): Likewise. | |
766 | ||
1dabb4c4 JB |
767 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
768 | ||
769 | * linespec.c (decode_line_internal): Check for C++ or Java | |
770 | compound constructs only if the current language is C, C++ | |
771 | or Java. | |
772 | ||
5931a2fa JK |
773 | 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
774 | ||
775 | Revert: | |
776 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> | |
777 | Joel Brobecker <brobecker@adacore.com> | |
778 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
779 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
780 | 3 times. | |
781 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
782 | fall through into AT_ENTRY_POINT. | |
783 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
784 | DUMMY_ADDR with it. | |
785 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
786 | PPC_INSN_SIZE skip to 3 times. | |
787 | ||
1a2da5ee JB |
788 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
789 | ||
790 | * linespec.c (add_minsym): Preserve function descriptors. | |
791 | ||
8645ff69 UW |
792 | 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com> |
793 | ||
794 | * breakpoint.c (all_locations_are_pending): Consider locations | |
795 | in program spaces executing during startup pending as well. | |
796 | ||
0b302171 JB |
797 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
798 | ||
799 | Copyright year update in most files of the GDB Project. | |
800 | ||
8ba098ad JB |
801 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
802 | ||
803 | * copyright.sh: Delete. | |
804 | * copyright.py: Rewrite. | |
805 | ||
09c01c30 JB |
806 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
807 | ||
808 | * gnulib/extra/update-copyright: New file, imported from gnulib. | |
809 | ||
3c36c0af JB |
810 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
811 | ||
812 | * README (Copyright and License Notices): New section. | |
813 | ||
888fe1e1 TT |
814 | 2012-01-03 Tom Tromey <tromey@redhat.com> |
815 | ||
816 | PR python/12533: | |
817 | * python/py-value.c (valpy_dereference, valpy_get_address | |
818 | valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast) | |
819 | (valpy_getitem, valpy_call, valpy_binop, valpy_negative) | |
820 | (valpy_absolute, valpy_richcompare): Free intermediate values. | |
821 | ||
6e681866 JB |
822 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
823 | ||
824 | * ada-lang.c: Reformat the copyright notice. | |
825 | ||
0cd09acb JK |
826 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
827 | ||
828 | * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o. | |
829 | * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*) | |
830 | (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*) | |
831 | (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o. | |
832 | Revert this part of: | |
833 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> | |
834 | Build gdb directly from *.o files not using libgdb.a. | |
835 | * Makefile.in (COMMON_OBS): Remove solib-target.o. | |
836 | ||
12c3e59c JB |
837 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
838 | ||
839 | * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c, | |
840 | gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c: | |
841 | Reformat the copyright header. | |
842 | ||
11bf1490 JK |
843 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
844 | ||
845 | Revert this part of: | |
846 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> | |
847 | Remove the gdbtui binary. | |
848 | * gdb.c (main): Remove args.interpreter_p initialization. | |
849 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
850 | * main.h (struct captured_main_args): Remove interpreter_p. | |
851 | ||
1fef196f JB |
852 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
853 | ||
854 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011. | |
855 | ||
67827812 JB |
856 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
857 | ||
858 | * top.c (print_gdb_version): Update copyright year. | |
859 | ||
a4d0b831 YQ |
860 | 2012-01-02 Yao Qi <yao@codesourcery.com> |
861 | ||
862 | * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent. | |
863 | ||
b5914469 JK |
864 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
865 | Joel Brobecker <brobecker@adacore.com> | |
866 | ||
867 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
868 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
869 | 3 times. | |
870 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
871 | fall through into AT_ENTRY_POINT. | |
872 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
873 | DUMMY_ADDR with it. | |
874 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
875 | PPC_INSN_SIZE skip to 3 times. | |
876 | ||
8da828f7 JK |
877 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
878 | ||
879 | * amd64-linux-nat.c (update_debug_registers_callback): New comment on | |
880 | the return value. | |
881 | * i386-linux-nat.c (update_debug_registers_callback): Likewise. | |
882 | ||
8574e74b JK |
883 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
884 | ||
885 | Build gdb directly from *.o files not using libgdb.a. | |
886 | * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o. | |
887 | (COMMON_OBS): Remove solib-target.o. | |
888 | (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule. | |
889 | (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS). | |
890 | (LIBGDB_OBS, libgdb.a): Move it above. | |
891 | * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*) | |
892 | (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu) | |
893 | (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe) | |
894 | (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu) | |
895 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*) | |
896 | (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*) | |
897 | (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu) | |
898 | (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*) | |
899 | (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*) | |
900 | (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*) | |
901 | (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*) | |
902 | (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*) | |
903 | (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*) | |
904 | (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*) | |
905 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
906 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*) | |
907 | (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*) | |
908 | (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
909 | (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*) | |
910 | (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu) | |
911 | (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*) | |
912 | (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*) | |
913 | (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*) | |
914 | (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*) | |
915 | (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu) | |
916 | (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*) | |
917 | (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs. | |
918 | ||
217bff3e JK |
919 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
920 | ||
921 | Remove the gdbtui binary. | |
922 | * .gitignore (/gdbtui): Remove. | |
923 | * Makefile.in (TUI): Remove. | |
924 | (SUBDIR_TUI_OBS): Remove tui-main.o. | |
925 | (SUBDIR_TUI_SRCS): Remove tui/tui-main.c. | |
926 | (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui) | |
927 | (tui-main.o): Remove. | |
928 | (all_object_files): Remove tui-main.o. | |
929 | * NEWS: New note for the gdbtui removal. | |
930 | * configure: Rebuilt. | |
931 | * configure.ac: No longer add all-tui, clean-tui, install-tui and | |
932 | uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and | |
933 | CONFIG_UNINSTALL respectively. | |
934 | * gdb.c (main): Remove args.interpreter_p initialization. | |
935 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
936 | * main.h (struct captured_main_args): Remove interpreter_p. | |
937 | * tui/tui-main.c: Remove. | |
938 | ||
9cdd5dbd DE |
939 | 2012-01-01 Doug Evans <dje@google.com> |
940 | ||
bb5ed363 DE |
941 | * dwarf2read.c (dwarf2_compute_name): Simplify objfile references. |
942 | (dwarf2_physname, read_import_statement): Ditto. | |
943 | (read_call_site_scope, dwarf2_record_block_ranges): Ditto. | |
944 | (process_structure_scope read_subroutine_type): Ditto. | |
945 | (read_typedef, load_partial_dies, read_partial_die): Ditto. | |
946 | (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto. | |
947 | (dwarf2_fetch_die_location_block): Ditto. | |
948 | (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto. | |
949 | ||
a0f42c21 DE |
950 | * dwarf2read.c (read_signatured_type): Delete `objfile' arg. |
951 | All callers updated. | |
952 | (load_full_comp_unit, queue_comp_unit, process_queue): Ditto. | |
953 | (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto. | |
954 | (process_psymtab_comp_unit, load_partial_comp_unit): Ditto. | |
955 | ||
2dc860c0 DE |
956 | * dwarf2read.c (load_cu): Move assert to more useful location. |
957 | ||
68dc6402 DE |
958 | * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit. |
959 | All callers updated. | |
960 | ||
9cdd5dbd DE |
961 | * dwarf2read.c (dwarf2_per_objfile): Add comment. |
962 | (dwarf2_elf_names): Minor reformat. | |
963 | (dwarf2_per_cu_data): Tweak comment. | |
964 | (dwarf2_read_section): Fix comment. | |
965 | (create_all_comp_units): Fix comment. | |
966 | (load_full_comp_unit): Fix comment. | |
967 | (process_full_comp_unit): Fix comment. | |
968 | (read_signatured_type): Fix comment. | |
969 | ||
0c10e53e | 970 | For older changes see ChangeLog-2011. |
c906108c SS |
971 | \f |
972 | Local Variables: | |
973 | mode: change-log | |
974 | left-margin: 8 | |
975 | fill-column: 74 | |
976 | version-control: never | |
57da7796 | 977 | coding: utf-8 |
c906108c | 978 | End: |