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