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