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