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