* python/py-value.c (valpy_binop): Initialize 'res_val'.
[binutils-gdb.git] / gdb / ChangeLog
1 2012-01-04 Tom Tromey <tromey@redhat.com>
2
3 * python/py-value.c (valpy_binop): Initialize 'res_val'.
4
5 2012-01-04 Joel Brobecker <brobecker@adacore.com>
6
7 * corefile.c (close_exec_file): Delete.
8 (reopen_exec_file): Remove commented out code that seems related
9 to close_exec_file, which is being deleted here.
10 * inferior.h (close_exec_file): Delete.
11 * fork-child.c (fork_inferior): Remove call to fork_inferior.
12
13 2012-01-04 Joel Brobecker <brobecker@adacore.com>
14
15 * ada-lang.c: #include "cli/cli-utils.h".
16 (get_selections): Use skip_spaces.
17 (ada_get_next_arg): Use skip_spaces and skip_to_space.
18 (catch_ada_exception_command_split): Use skip_spaces.
19 (ada_decode_assert_location): Likewise.
20
21 2012-01-04 Joel Brobecker <brobecker@adacore.com>
22
23 * linespec.c (decode_line_internal): Check for C++ or Java
24 compound constructs only if the current language is C, C++
25 or Java.
26
27 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
28
29 Revert:
30 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31 Joel Brobecker <brobecker@adacore.com>
32 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
33 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
34 3 times.
35 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
36 fall through into AT_ENTRY_POINT.
37 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
38 DUMMY_ADDR with it.
39 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
40 PPC_INSN_SIZE skip to 3 times.
41
42 2012-01-04 Joel Brobecker <brobecker@adacore.com>
43
44 * linespec.c (add_minsym): Preserve function descriptors.
45
46 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
47
48 * breakpoint.c (all_locations_are_pending): Consider locations
49 in program spaces executing during startup pending as well.
50
51 2012-01-04 Joel Brobecker <brobecker@adacore.com>
52
53 Copyright year update in most files of the GDB Project.
54
55 2012-01-04 Joel Brobecker <brobecker@adacore.com>
56
57 * copyright.sh: Delete.
58 * copyright.py: Rewrite.
59
60 2012-01-04 Joel Brobecker <brobecker@adacore.com>
61
62 * gnulib/extra/update-copyright: New file, imported from gnulib.
63
64 2012-01-04 Joel Brobecker <brobecker@adacore.com>
65
66 * README (Copyright and License Notices): New section.
67
68 2012-01-03 Tom Tromey <tromey@redhat.com>
69
70 PR python/12533:
71 * python/py-value.c (valpy_dereference, valpy_get_address
72 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
73 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
74 (valpy_absolute, valpy_richcompare): Free intermediate values.
75
76 2011-01-03 Joel Brobecker <brobecker@adacore.com>
77
78 * ada-lang.c: Reformat the copyright notice.
79
80 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
81
82 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
83 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
84 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
85 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
86 Revert this part of:
87 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
88 Build gdb directly from *.o files not using libgdb.a.
89 * Makefile.in (COMMON_OBS): Remove solib-target.o.
90
91 2012-01-02 Joel Brobecker <brobecker@adacore.com>
92
93 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
94 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
95 Reformat the copyright header.
96
97 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
98
99 Revert this part of:
100 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
101 Remove the gdbtui binary.
102 * gdb.c (main): Remove args.interpreter_p initialization.
103 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
104 * main.h (struct captured_main_args): Remove interpreter_p.
105
106 2012-01-02 Joel Brobecker <brobecker@adacore.com>
107
108 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
109
110 2012-01-02 Joel Brobecker <brobecker@adacore.com>
111
112 * top.c (print_gdb_version): Update copyright year.
113
114 2012-01-02 Yao Qi <yao@codesourcery.com>
115
116 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
117
118 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
119 Joel Brobecker <brobecker@adacore.com>
120
121 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
122 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
123 3 times.
124 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
125 fall through into AT_ENTRY_POINT.
126 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
127 DUMMY_ADDR with it.
128 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
129 PPC_INSN_SIZE skip to 3 times.
130
131 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
132
133 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
134 the return value.
135 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
136
137 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
138
139 Build gdb directly from *.o files not using libgdb.a.
140 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
141 (COMMON_OBS): Remove solib-target.o.
142 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
143 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
144 (LIBGDB_OBS, libgdb.a): Move it above.
145 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
146 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
147 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
148 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
149 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
150 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
151 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
152 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
153 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
154 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
155 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
156 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
157 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
158 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
159 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
160 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
161 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
162 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
163 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
164 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
165 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
166 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
167 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
168 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
169 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
170 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
171 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
172
173 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
174
175 Remove the gdbtui binary.
176 * .gitignore (/gdbtui): Remove.
177 * Makefile.in (TUI): Remove.
178 (SUBDIR_TUI_OBS): Remove tui-main.o.
179 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
180 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
181 (tui-main.o): Remove.
182 (all_object_files): Remove tui-main.o.
183 * NEWS: New note for the gdbtui removal.
184 * configure: Rebuilt.
185 * configure.ac: No longer add all-tui, clean-tui, install-tui and
186 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
187 CONFIG_UNINSTALL respectively.
188 * gdb.c (main): Remove args.interpreter_p initialization.
189 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
190 * main.h (struct captured_main_args): Remove interpreter_p.
191 * tui/tui-main.c: Remove.
192
193 2012-01-01 Doug Evans <dje@google.com>
194
195 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
196 (dwarf2_physname, read_import_statement): Ditto.
197 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
198 (process_structure_scope read_subroutine_type): Ditto.
199 (read_typedef, load_partial_dies, read_partial_die): Ditto.
200 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
201 (dwarf2_fetch_die_location_block): Ditto.
202 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
203
204 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
205 All callers updated.
206 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
207 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
208 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
209
210 * dwarf2read.c (load_cu): Move assert to more useful location.
211
212 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
213 All callers updated.
214
215 * dwarf2read.c (dwarf2_per_objfile): Add comment.
216 (dwarf2_elf_names): Minor reformat.
217 (dwarf2_per_cu_data): Tweak comment.
218 (dwarf2_read_section): Fix comment.
219 (create_all_comp_units): Fix comment.
220 (load_full_comp_unit): Fix comment.
221 (process_full_comp_unit): Fix comment.
222 (read_signatured_type): Fix comment.
223
224 For older changes see ChangeLog-2011.
225 \f
226 Local Variables:
227 mode: change-log
228 left-margin: 8
229 fill-column: 74
230 version-control: never
231 coding: utf-8
232 End: