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