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