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