Commit | Line | Data |
---|---|---|
50897289 TT |
1 | 2012-01-19 Tom Tromey <tromey@redhat.com> |
2 | ||
3 | * NEWS: Combine the two Python sections. | |
4 | ||
1afc2033 JK |
5 | 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
6 | ||
7 | * target.h (target_close): Update comment on the target's unpush state. | |
8 | ||
305436e0 PA |
9 | 2012-01-19 Pedro Alves <palves@redhat.com> |
10 | ||
11 | * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and | |
12 | linux_nat_async directly instead of going through the target | |
13 | vector. | |
14 | * target.c (unpush_target): Close target after unpushing it, not | |
15 | before. | |
16 | ||
49323895 GB |
17 | 2012-01-19 Gary Benson <gbenson@redhat.com> |
18 | ||
19 | * mdebugread.c (sort_blocks): Replace integer constants with ones | |
20 | derived from FIRST_LOCAL_BLOCK. | |
21 | ||
1db33378 PP |
22 | 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com> |
23 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
24 | ||
25 | PR gdb/9538 | |
26 | * symfile.c (find_separate_debug_file): New function. | |
27 | (terminate_after_last_dir_separator): Likewise. | |
28 | (find_separate_debug_file_by_debuglink): Also try realpath. | |
29 | * configure.ac (AC_CHECK_FUNCS): Add lstat. | |
30 | * configure: Regenerate. | |
31 | * config.in: Regenerate. | |
32 | ||
f83d8a90 DE |
33 | 2012-01-18 Doug Evans <dje@google.com> |
34 | ||
35 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete. | |
36 | (main.o): Remove rule. | |
37 | * configure.ac (BINDIR): Define with AC_DEFINE_DIR. | |
38 | (--with-sysroot): Rewrite. | |
39 | * configure: Regenerate. | |
40 | * config.in: Regenerate. | |
41 | ||
2dbca4d6 SDJ |
42 | 2012-01-18 Sergio Durigan Junior <sergiodj@redhat.com> |
43 | ||
44 | * parse.c (initialize_expout): New function. | |
45 | (reallocate_expout): Likewise. | |
46 | (parse_exp_in_context): Use `initialize_expout' and | |
47 | `reallocate_expout' when appropriate. | |
48 | ||
0695b514 PA |
49 | 2012-01-18 Pedro Alves <palves@redhat.com> |
50 | ||
51 | * record.c (struct record_breakpoint, record_breakpoint_p) | |
52 | (record_breakpoints): New. | |
53 | (record_insert_breakpoint, record_remove_breakpoint): Manage | |
54 | record breakpoints list. Only remove breakpoints from the | |
55 | inferior if they had been inserted there in the first place. | |
56 | ||
136e1c30 DE |
57 | 2012-01-17 Doug Evans <dje@google.com> |
58 | ||
59 | * linespec.c (decode_line_internal): Don't call symtabs_from_filename | |
60 | if we know we don't have a file name to look for. | |
61 | ||
c0bf857d PA |
62 | 2012-01-17 Pedro Alves <palves@redhat.com> |
63 | ||
64 | * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if | |
65 | the frame's stop reason is UNWIND_UNAVAILABLE. | |
66 | ||
b486de60 JK |
67 | 2012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
68 | ||
69 | Fix compilation error. | |
70 | * m2-exp.y (yyerror): Use ANSI C prototype. | |
71 | ||
d04550a6 SDJ |
72 | 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com> |
73 | ||
74 | * f-exp.y (parse_number): Convert prototype from K&R to ANSI C. | |
75 | (growbuf_by_size): Likewise. | |
76 | (yyerror): Likewise. | |
77 | * m2-exp.y (make_qualname): Remove function (was #if 0'ed). | |
78 | (modblock): Remove variable (was #if 0'ed). | |
79 | (parse_number): Convert prototype from K&R to ANSI C. | |
80 | (yyerror): Likewise. | |
81 | * objc-exp.y (parse_number): Likewise. | |
82 | (yyerror): Likewise. | |
83 | (yylex): Remove #if 0'ed code. | |
84 | * p-exp.y (uptok): Convert prototype from K&R to ANSI C. | |
85 | (yyerror): Likewise. | |
86 | ||
4aac40c8 TT |
87 | 2012-01-16 Tom Tromey <tromey@redhat.com> |
88 | ||
89 | * NEWS: Add item. | |
90 | * symtab.h (compare_filenames_for_search): Declare. | |
91 | * symtab.c (compare_filenames_for_search): New function. | |
92 | (iterate_over_some_symtabs): Use it. | |
93 | * symfile.h (struct quick_symbol_functions) | |
94 | <map_symtabs_matching_filename>: Change spec. | |
95 | * psymtab.c (partial_map_symtabs_matching_filename): Use | |
96 | compare_filenames_for_search. Update for new spec. | |
97 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Use | |
98 | compare_filenames_for_search. Update for new spec. | |
99 | * breakpoint.c (clear_command): Use compare_filenames_for_search. | |
100 | ||
cafec441 TT |
101 | 2012-01-16 Tom Tromey <tromey@redhat.com> |
102 | ||
103 | PR python/13281: | |
104 | * gdbtypes.h (TYPE_FLAG_ENUM): New macro. | |
105 | (struct main_type) <flag_flag_enum>: New field. | |
106 | * dwarf2read.c (process_enumeration_scope): Detect "flag" enums. | |
107 | * NEWS: Add entries. | |
108 | * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag" | |
109 | enums. | |
110 | * python/lib/gdb/printing.py (_EnumInstance): New class. | |
111 | (FlagEnumerationPrinter): Likewise. | |
112 | ||
983af33b SDJ |
113 | 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com> |
114 | ||
115 | * breakpoint.c (create_sals_from_address_default): New function. | |
116 | (create_breakpoints_sal_default): Likewise. | |
117 | (decode_linespec_default): Likewise. | |
118 | (is_marker_spec): Removed. | |
119 | (strace_marker_p): New function. | |
120 | (init_breakpoint_sal): Using `strace_marker_p' instead of | |
121 | `is_marker_spec'. | |
122 | (create_breakpoint): Call method `create_sals_from_address' from | |
123 | breakpoint_ops, replacing code that created SALs conditionally | |
124 | on the type of the breakpoint. Call method `create_breakpoints_sal', | |
125 | replacing code that created breakpoints conditionally on the type | |
126 | wanted. | |
127 | (base_breakpoint_create_sals_from_address): New function. | |
128 | (base_breakpoint_create_breakpoints_sal): Likewise. | |
129 | (base_breakpoint_decode_linespec): Likewise. | |
130 | (base_breakpoint_ops): Add methods | |
131 | `base_breakpoint_create_sals_from_address', | |
132 | `base_breakpoint_create_breakpoints_sal' and | |
133 | `base_breakpoint_decode_linespec'. | |
134 | (bkpt_create_sals_from_address): New function. | |
135 | (bkpt_create_breakpoints_sal): Likewise. | |
136 | (bkpt_decode_linespec): Likewise. | |
137 | (tracepoint_create_sals_from_address): Likewise. | |
138 | (tracepoint_create_breakpoints_sal): Likewise. | |
139 | (tracepoint_decode_linespec): Likewise. | |
140 | (strace_marker_create_sals_from_address): Likewise. | |
141 | (strace_marker_create_breakpoints_sal): Likewise. | |
142 | (strace_marker_decode_linespec): Likewise. | |
143 | (strace_marker_breakpoint_ops): New variable. | |
144 | (addr_string_to_sals): Remove `marker_spec'. Call method | |
145 | `decode_linespec' from breakpoint_ops, replacing code that decoded | |
146 | an address string into a SAL. Use `strace_marker_p' instead of | |
147 | `marker_spec'. | |
148 | (strace_command): Decide whether we are dealing with a static | |
149 | tracepoint with marker or not. Use the appropriate breakpoint_ops. | |
150 | (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops. | |
151 | * breakpoint.h (linespec_result, linespec_sals): New forward | |
152 | declarations. | |
153 | (breakpoint_ops) <create_sals_from_address>, | |
154 | <create_breakpoints_sal>, <decode_linespec>: New methods. | |
155 | ||
4795f398 DE |
156 | 2012-01-14 Doug Evans <dje@google.com> |
157 | ||
158 | * NEWS: Update text for "maint set python print-stack". | |
159 | It is deprecated in gdb 7.4 and deleted in 7.5. | |
160 | ||
ee5106fe EZ |
161 | 2012-01-13 Eli Zaretskii <eliz@gnu.org> |
162 | ||
163 | * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before | |
164 | including curses.h. | |
165 | ||
b161e06f JK |
166 | 2012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
167 | ||
168 | * configure: Regenerate. | |
169 | * config.in: Regenerate. | |
170 | ||
85254831 KS |
171 | 2012-01-12 Keith Seitz <keiths@redhat.com> |
172 | ||
173 | PR mi/10586 | |
174 | * varobj.c (ANONYMOUS_STRUCT_NAME): Define. | |
175 | (ANONYMOUS_UNION_NAME): Define. | |
176 | (is_path_expr_parent): New function. | |
177 | (get_path_expr_parent): New function. | |
178 | (is_anonymous_child): New function. | |
179 | (create_child_with_value): If the child is anonymous and without | |
180 | a name, assign an object name to it. | |
181 | (c_describe_child): Use get_path_expr_parent to determine | |
182 | the parent expression. | |
183 | If there field represents an anonymous struct or union and | |
184 | has no name, set an appropriate display name and expression. | |
185 | (cplus_describe_child): Likewise. | |
186 | ||
620fa63a PA |
187 | 2012-01-12 Pedro Alves <palves@redhat.com> |
188 | ||
189 | * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as | |
190 | available when %ebp is found to be zero (outermost). | |
191 | ||
2efa2c79 AT |
192 | 2012-01-11 Andreas Tobler <andreast@fgznet.ch> |
193 | ||
194 | * common/gdb_assert.h (gdb_static_assert): Rename static_assert to | |
195 | an internal gdb_static_assert. | |
196 | * mi/mi-common.c: Rename static_assert to gdb_static_assert. | |
197 | ||
88e7d25d TT |
198 | 2012-01-11 Tom Tromey <tromey@redhat.com> |
199 | ||
200 | PR gdb/9598: | |
201 | * breakpoint.c (_initialize_breakpoint): Fix help for "catch | |
202 | catch" and "catch throw". | |
203 | ||
72384ba3 PH |
204 | 2012-01-11 Paul Hilfinger <hilfingr@adacore.com> |
205 | ||
206 | * blockframe.c (block_innermost_frame): Start search from selected | |
207 | frame, if present, or otherwise the current frame. | |
208 | ||
209 | * c-exp.y (variable): Update innermost_block for | |
210 | 'block COLONCOLON NAME' clause. | |
211 | * m2-exp.y (variable): Ditto. | |
212 | * objc-exp.y (variable): Ditto. | |
213 | ||
065a711f TT |
214 | 2012-01-10 Tom Tromey <tromey@redhat.com> |
215 | ||
216 | PR python/13199: | |
217 | * python/python.c (finish_python_initialization): Set sys.argv. | |
218 | ||
f3f5162e DE |
219 | 2012-01-10 Doug Evans <dje@google.com> |
220 | ||
221 | * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg | |
222 | "want_line_info". All callers updated. | |
223 | (dwarf_decode_lines_1): New function. | |
224 | (handle_DW_AT_stmt_list): Add function comment. | |
225 | New arg "want_line_info". All callers updated. | |
226 | (read_file_scope,read_type_unit_scope): Move comment from | |
227 | handle_DW_AT_stmt_list to here. | |
228 | ||
9934703b JK |
229 | 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
230 | ||
231 | Fix regression after libiberty/ update for GCC PR 6057 and others. | |
232 | * c-exp.y (operator) <OPERATOR DELETE> | |
233 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
234 | * cp-name-parser.y (fill_comp, make_operator, make_dtor) | |
235 | (make_builtin_type, make_name): New variable i, add gdb_assert. | |
236 | (operator) <OPERATOR NEW>: Update ARGS to 3. | |
237 | (operator) <OPERATOR DELETE>: Add trailing space. | |
238 | (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3. | |
239 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
240 | * cp-support.c (cp_canonicalize_string): Check NULL from | |
241 | cp_comp_to_string, call warning and return. | |
242 | ||
06b9f45f JK |
243 | 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
244 | ||
245 | Fix duplicate .o files after omitting libbfd.a. | |
246 | * Makefile.in (ALL_TARGET_OBS): Remove corelow.o. | |
247 | (SFILES): Add corelow.c. | |
248 | (COMMON_OBS): Add corelow.o. | |
249 | (ALLDEPFILES): Remove corelow.c. | |
250 | * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o. | |
251 | * config/alpha/alpha-osf3.mh: Likewise. | |
252 | * config/alpha/fbsd.mh: Likewise. | |
253 | * config/arm/nbsdaout.mh: Likewise. | |
254 | * config/arm/nbsdelf.mh: Likewise. | |
255 | * config/i386/i386gnu.mh: Likewise. | |
256 | * config/ia64/hpux.mh: Likewise. | |
257 | * config/ia64/linux.mh: Likewise. | |
258 | * config/m32r/linux.mh: Likewise. | |
259 | * config/m68k/linux.mh: Likewise. | |
260 | * config/mips/irix5.mh: Likewise. | |
261 | * config/mips/irix6.mh: Likewise. | |
262 | * config/pa/hpux.mh: Likewise. | |
263 | * config/pa/linux.mh: Likewise. | |
264 | * config/powerpc/aix.mh: Likewise. | |
265 | * config/sparc/linux.mh: Likewise. | |
266 | * config/sparc/linux64.mh: Likewise. | |
267 | * config/sparc/sol2.mh: Likewise. | |
268 | * config/vax/vax.mh: Likewise. | |
269 | * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu) | |
270 | (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*) | |
271 | (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*) | |
272 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*) | |
273 | (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*) | |
274 | (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*) | |
275 | (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*) | |
276 | (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*) | |
277 | (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*) | |
278 | (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu) | |
279 | (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*) | |
280 | (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*) | |
281 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
282 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*) | |
283 | (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*) | |
284 | (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
285 | (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*) | |
286 | (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu) | |
287 | (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*) | |
288 | (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*) | |
289 | (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*) | |
290 | (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove | |
291 | corelow.o from gdb_target_obs. | |
292 | * corefile.c (core_target): Update the comment on NULL value. | |
293 | (core_file_command): Replace error by gdb_assert on CORE_TARGET. | |
294 | * corelow.c (sniff_core_bfd): Call error instead of warning on zero | |
295 | MATCHES. Drop YUMMY set on NULL. | |
296 | (core_close): Do not call exit_inferior_silent on zero PID. Do not | |
297 | reclaim CORE_DATA if it is already NULL. | |
298 | ||
34365054 DE |
299 | 2012-01-09 Doug Evans <dje@google.com> |
300 | ||
301 | * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy. | |
302 | * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy. | |
303 | ||
696166a3 KS |
304 | 2012-01-09 Keith Seitz <keiths@redhat.com> |
305 | ||
306 | * breakpoint.c (wrapper.h): Don't include. | |
307 | ||
8e7b59a5 KS |
308 | 2012-01-09 Keith Seitz <keiths@redhat.com> |
309 | ||
310 | * Makefile.in (SFILES): Remove wrapper.c. | |
311 | (HFILES_NO_SRCDIR): Remove wrapper.h. | |
312 | (COMMON_OBS): Remove wrapper.o. | |
313 | * cli/cli-interp.c: Don't inlude wrapper.h. | |
314 | * corelow.c: Likewise. | |
315 | (core_open): Replace gdb_target_find_new_threads with | |
316 | TRY_CATCH around target_find_new_threads. | |
317 | * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy. | |
318 | * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type. | |
319 | * varobj.c (varobj_create): Likewise for parse_exp_1 and | |
320 | evaluate_expression. | |
321 | (varobj_set_value): Likewise for evaluate_expression and | |
322 | value_assign. | |
323 | (install_new_variable): Likewise for value_fetch_lazy. | |
324 | (adjust_value_for_child_access): Likewise for value_ind. | |
325 | (c_describe_child): Likewise for value_subscript and | |
326 | value_ind. | |
327 | (c_value_of_root): Likewise for evaluate_expression. | |
328 | * wrapper.c: Remove. | |
329 | * wrapper.h: Remove. | |
330 | ||
1a4eeb98 DE |
331 | 2012-01-09 Doug Evans <dje@google.com> |
332 | ||
9ff913ba DE |
333 | * dwarf2read.c (read_and_check_comp_unit_head): Renamed from |
334 | partial_read_comp_unit_head. Replace "buffer", "buffer_size" and | |
335 | "abfd" args with "section". All callers updated. | |
336 | Error checking code moved ... | |
337 | (error_check_comp_unit_head): ... here. New function. | |
338 | (read_and_check_type_unit_head): Renamed from read_type_unit_head. | |
339 | Delete arg "abfd". New arg "type_offset". All callers updated. | |
340 | (create_debug_types_hash_table): Simplify by using | |
341 | read_and_check_type_unit_head. | |
342 | ||
1a4eeb98 DE |
343 | * parser-defs.h (namecopy): Delete. |
344 | * parse.c (namecopy, namecopy_size): Move into copy_name. | |
345 | ||
2e6af8c0 JK |
346 | 2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
347 | ||
348 | Partially fix duplicate .o files after omitting libbfd.a. | |
349 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o. | |
350 | * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
351 | * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o. | |
352 | * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
353 | * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o. | |
354 | * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o. | |
355 | * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
356 | ||
9f2f828a PA |
357 | 2012-01-09 Pedro Alves <palves@redhat.com> |
358 | ||
359 | * MAINTAINERS: Update my email address. | |
360 | ||
4d72c0bc DE |
361 | 2012-01-08 Doug Evans <dje@google.com> |
362 | ||
d467dd73 DE |
363 | * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to |
364 | n_type_units. Rename type_comp_units to all_type_units. | |
365 | All uses updated. | |
366 | (add_signatured_type_cu_to_table): Renamed from | |
367 | add_signatured_type_cu_to_list. All callers updated. | |
368 | ||
4d72c0bc DE |
369 | * gdbtypes.h (struct cplus_struct_type): Delete member |
370 | nfn_fields_total. All uses removed. | |
371 | ||
21b2bd31 DE |
372 | 2012-01-06 Doug Evans <dje@google.com> |
373 | ||
374 | * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard | |
375 | to top of file. | |
376 | (dwarf2_find_comp_unit): Delete. | |
377 | (process_psymtab_comp_unit): Make result "void". | |
378 | Delete args buffer, info_ptr, buffer_size, and replace with | |
379 | "section". All callers updated. | |
380 | (dwarf2_build_psymtabs_hard): Simplify. | |
381 | ||
bfd189b1 SDJ |
382 | 2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com> |
383 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
384 | ||
385 | * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword | |
386 | before `struct gdb_exception'. | |
387 | * breakpoint.c (update_global_location_list_nothrow) | |
388 | (update_breakpoint_locations, enable_breakpoint_disp): Likewise. | |
389 | * cp-abi.c (value_rtti_type): Likewise. | |
390 | * cp-support.c (cp_validate_operator): Likewise. | |
391 | * infrun.c (insert_exception_resume_breakpoint) | |
392 | (check_exception_resume, keep_going): Likewise. | |
393 | * mi-interp.c (mi_breakpoint_created) | |
394 | (mi_breakpoint_modified): Likewise. | |
395 | * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise. | |
396 | * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p) | |
397 | (ia64_hpux_handle_dld_breakpoint_1): Likewise. | |
398 | ||
6b07635f DE |
399 | 2012-01-05 Doug Evans <dje@google.com> |
400 | ||
0b30b85c DE |
401 | * dwarf2read.c (statement_prologue): Delete, unused. |
402 | ||
98714339 DE |
403 | * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int. |
404 | * dwarf2loc.h (dwarf2_per_cu_addr_size): Update. | |
405 | ||
6b07635f DE |
406 | * dwarf2read.c (comp_unit_header): Delete, unused. |
407 | ||
761f4555 UW |
408 | 2012-01-05 Ulrich Weigand <uweigand@de.ibm.com> |
409 | ||
410 | * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o. | |
411 | * config/s390/s390.mh (NATDEPFILES): Remove corelow.o. | |
412 | ||
2ca0b532 PA |
413 | 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu> |
414 | ||
415 | * infrun.c (normal_stop): Don't skip calling the normal_stop | |
416 | observers if the thread was doing a multi-step, but stopped for | |
417 | some reason other than stepping. | |
418 | ||
50aeff07 PA |
419 | 2012-01-05 Pedro Alves <alves.ped@gmail.com> |
420 | ||
421 | * cli/cli-decode.h: Add comments. | |
422 | (CMD_LIST_AMBIGUOUS): Moved to command.h | |
423 | (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
424 | (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq) | |
425 | (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1) | |
426 | (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition) | |
427 | (add_com, add_com_alias, add_info, add_info_alias) | |
428 | (complete_on_cmdlist, complete_on_enum, help_list): Remove | |
429 | declarations. | |
430 | * command.h: Add and adjust comments. | |
431 | (CMD_LIST_AMBIGUOUS): Moved here. | |
432 | (help_cmd, help_cmd_list): Delete declarations. | |
433 | ||
5953832c DE |
434 | 2012-01-04 Doug Evans <dje@google.com> |
435 | ||
e5fe5e75 DE |
436 | * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd". |
437 | All callers updated. | |
438 | (load_full_type_unit): Renamed from read_signatured_type_at_offset. | |
439 | Replace all arguments with "per_cu". All callers updated. | |
440 | ||
28dee7f5 DE |
441 | * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment. |
442 | ||
23745b47 DE |
443 | * dwarf2read.c (init_one_comp_unit): Delete arg "objfile". |
444 | New arg "per_cu". All callers updated. | |
445 | ||
5953832c DE |
446 | Delete #if 0'd out code. |
447 | * language.c (binop_result_type): Delete. | |
448 | (simple_type, ordered_type, same_type, integral_type): Delete. | |
449 | (numeric_type, character_type, string_type, boolean_type): Delete. | |
450 | (float_type, structured_type): Delete. | |
451 | * language.h: Update. | |
452 | ||
0f5b7562 TT |
453 | 2012-01-04 Tom Tromey <tromey@redhat.com> |
454 | ||
455 | * python/py-value.c (valpy_binop): Initialize 'res_val'. | |
456 | ||
78218f56 JB |
457 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
458 | ||
459 | * corefile.c (close_exec_file): Delete. | |
460 | (reopen_exec_file): Remove commented out code that seems related | |
461 | to close_exec_file, which is being deleted here. | |
462 | * inferior.h (close_exec_file): Delete. | |
463 | * fork-child.c (fork_inferior): Remove call to fork_inferior. | |
464 | ||
0fcd72ba JB |
465 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
466 | ||
467 | * ada-lang.c: #include "cli/cli-utils.h". | |
468 | (get_selections): Use skip_spaces. | |
469 | (ada_get_next_arg): Use skip_spaces and skip_to_space. | |
470 | (catch_ada_exception_command_split): Use skip_spaces. | |
471 | (ada_decode_assert_location): Likewise. | |
472 | ||
1dabb4c4 JB |
473 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
474 | ||
475 | * linespec.c (decode_line_internal): Check for C++ or Java | |
476 | compound constructs only if the current language is C, C++ | |
477 | or Java. | |
478 | ||
5931a2fa JK |
479 | 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
480 | ||
481 | Revert: | |
482 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> | |
483 | Joel Brobecker <brobecker@adacore.com> | |
484 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
485 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
486 | 3 times. | |
487 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
488 | fall through into AT_ENTRY_POINT. | |
489 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
490 | DUMMY_ADDR with it. | |
491 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
492 | PPC_INSN_SIZE skip to 3 times. | |
493 | ||
1a2da5ee JB |
494 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
495 | ||
496 | * linespec.c (add_minsym): Preserve function descriptors. | |
497 | ||
8645ff69 UW |
498 | 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com> |
499 | ||
500 | * breakpoint.c (all_locations_are_pending): Consider locations | |
501 | in program spaces executing during startup pending as well. | |
502 | ||
0b302171 JB |
503 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
504 | ||
505 | Copyright year update in most files of the GDB Project. | |
506 | ||
8ba098ad JB |
507 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
508 | ||
509 | * copyright.sh: Delete. | |
510 | * copyright.py: Rewrite. | |
511 | ||
09c01c30 JB |
512 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
513 | ||
514 | * gnulib/extra/update-copyright: New file, imported from gnulib. | |
515 | ||
3c36c0af JB |
516 | 2012-01-04 Joel Brobecker <brobecker@adacore.com> |
517 | ||
518 | * README (Copyright and License Notices): New section. | |
519 | ||
888fe1e1 TT |
520 | 2012-01-03 Tom Tromey <tromey@redhat.com> |
521 | ||
522 | PR python/12533: | |
523 | * python/py-value.c (valpy_dereference, valpy_get_address | |
524 | valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast) | |
525 | (valpy_getitem, valpy_call, valpy_binop, valpy_negative) | |
526 | (valpy_absolute, valpy_richcompare): Free intermediate values. | |
527 | ||
6e681866 JB |
528 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
529 | ||
530 | * ada-lang.c: Reformat the copyright notice. | |
531 | ||
0cd09acb JK |
532 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
533 | ||
534 | * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o. | |
535 | * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*) | |
536 | (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*) | |
537 | (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o. | |
538 | Revert this part of: | |
539 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> | |
540 | Build gdb directly from *.o files not using libgdb.a. | |
541 | * Makefile.in (COMMON_OBS): Remove solib-target.o. | |
542 | ||
12c3e59c JB |
543 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
544 | ||
545 | * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c, | |
546 | gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c: | |
547 | Reformat the copyright header. | |
548 | ||
11bf1490 JK |
549 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
550 | ||
551 | Revert this part of: | |
552 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> | |
553 | Remove the gdbtui binary. | |
554 | * gdb.c (main): Remove args.interpreter_p initialization. | |
555 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
556 | * main.h (struct captured_main_args): Remove interpreter_p. | |
557 | ||
1fef196f JB |
558 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
559 | ||
560 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011. | |
561 | ||
67827812 JB |
562 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
563 | ||
564 | * top.c (print_gdb_version): Update copyright year. | |
565 | ||
a4d0b831 YQ |
566 | 2012-01-02 Yao Qi <yao@codesourcery.com> |
567 | ||
568 | * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent. | |
569 | ||
b5914469 JK |
570 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
571 | Joel Brobecker <brobecker@adacore.com> | |
572 | ||
573 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
574 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
575 | 3 times. | |
576 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
577 | fall through into AT_ENTRY_POINT. | |
578 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
579 | DUMMY_ADDR with it. | |
580 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
581 | PPC_INSN_SIZE skip to 3 times. | |
582 | ||
8da828f7 JK |
583 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
584 | ||
585 | * amd64-linux-nat.c (update_debug_registers_callback): New comment on | |
586 | the return value. | |
587 | * i386-linux-nat.c (update_debug_registers_callback): Likewise. | |
588 | ||
8574e74b JK |
589 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
590 | ||
591 | Build gdb directly from *.o files not using libgdb.a. | |
592 | * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o. | |
593 | (COMMON_OBS): Remove solib-target.o. | |
594 | (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule. | |
595 | (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS). | |
596 | (LIBGDB_OBS, libgdb.a): Move it above. | |
597 | * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*) | |
598 | (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu) | |
599 | (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe) | |
600 | (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu) | |
601 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*) | |
602 | (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*) | |
603 | (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu) | |
604 | (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*) | |
605 | (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*) | |
606 | (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*) | |
607 | (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*) | |
608 | (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*) | |
609 | (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*) | |
610 | (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*) | |
611 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
612 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*) | |
613 | (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*) | |
614 | (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
615 | (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*) | |
616 | (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu) | |
617 | (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*) | |
618 | (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*) | |
619 | (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*) | |
620 | (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*) | |
621 | (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu) | |
622 | (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*) | |
623 | (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs. | |
624 | ||
217bff3e JK |
625 | 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
626 | ||
627 | Remove the gdbtui binary. | |
628 | * .gitignore (/gdbtui): Remove. | |
629 | * Makefile.in (TUI): Remove. | |
630 | (SUBDIR_TUI_OBS): Remove tui-main.o. | |
631 | (SUBDIR_TUI_SRCS): Remove tui/tui-main.c. | |
632 | (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui) | |
633 | (tui-main.o): Remove. | |
634 | (all_object_files): Remove tui-main.o. | |
635 | * NEWS: New note for the gdbtui removal. | |
636 | * configure: Rebuilt. | |
637 | * configure.ac: No longer add all-tui, clean-tui, install-tui and | |
638 | uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and | |
639 | CONFIG_UNINSTALL respectively. | |
640 | * gdb.c (main): Remove args.interpreter_p initialization. | |
641 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
642 | * main.h (struct captured_main_args): Remove interpreter_p. | |
643 | * tui/tui-main.c: Remove. | |
644 | ||
9cdd5dbd DE |
645 | 2012-01-01 Doug Evans <dje@google.com> |
646 | ||
bb5ed363 DE |
647 | * dwarf2read.c (dwarf2_compute_name): Simplify objfile references. |
648 | (dwarf2_physname, read_import_statement): Ditto. | |
649 | (read_call_site_scope, dwarf2_record_block_ranges): Ditto. | |
650 | (process_structure_scope read_subroutine_type): Ditto. | |
651 | (read_typedef, load_partial_dies, read_partial_die): Ditto. | |
652 | (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto. | |
653 | (dwarf2_fetch_die_location_block): Ditto. | |
654 | (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto. | |
655 | ||
a0f42c21 DE |
656 | * dwarf2read.c (read_signatured_type): Delete `objfile' arg. |
657 | All callers updated. | |
658 | (load_full_comp_unit, queue_comp_unit, process_queue): Ditto. | |
659 | (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto. | |
660 | (process_psymtab_comp_unit, load_partial_comp_unit): Ditto. | |
661 | ||
2dc860c0 DE |
662 | * dwarf2read.c (load_cu): Move assert to more useful location. |
663 | ||
68dc6402 DE |
664 | * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit. |
665 | All callers updated. | |
666 | ||
9cdd5dbd DE |
667 | * dwarf2read.c (dwarf2_per_objfile): Add comment. |
668 | (dwarf2_elf_names): Minor reformat. | |
669 | (dwarf2_per_cu_data): Tweak comment. | |
670 | (dwarf2_read_section): Fix comment. | |
671 | (create_all_comp_units): Fix comment. | |
672 | (load_full_comp_unit): Fix comment. | |
673 | (process_full_comp_unit): Fix comment. | |
674 | (read_signatured_type): Fix comment. | |
675 | ||
0c10e53e | 676 | For older changes see ChangeLog-2011. |
c906108c SS |
677 | \f |
678 | Local Variables: | |
679 | mode: change-log | |
680 | left-margin: 8 | |
681 | fill-column: 74 | |
682 | version-control: never | |
57da7796 | 683 | coding: utf-8 |
c906108c | 684 | End: |