]> Git Repo - binutils.git/blobdiff - gdb/ChangeLog
2002-10-23 David Carlton <[email protected]>
[binutils.git] / gdb / ChangeLog
index 995338a98db67680453dacb0839eca407ee9a363..985d12176b6f380d00ffabe82af4527089cad5d5 100644 (file)
@@ -1,3 +1,465 @@
+2002-10-23  David Carlton  <[email protected]>
+
+       * linespec.c: #include "parser-defs.h".
+       Delete prototype for find_template_name_end.
+       * Makefile.in (linespec.o): Depend on $(parser_defs_h).
+
+2002-10-23  Jeff Johnston  <[email protected]>
+
+       * NEWS: add recent mi fixes.
+       * varobj.c (struct varobj): Add new "updated" flag.
+       (new_variable): Default "updated" flag to 0.
+       (varobj_set_value): Set "updated" flag to 1 if value
+       changes.
+       (varobj_update): Check varobj "updated" flag before
+       comparing old and refreshed values.  Fix for
+       PR gdb/702.
+
+2002-10-23  David Carlton  <[email protected]>
+
+       * parse.c (parse_exp_1): Use BLOCK_START.
+       * x86-64-tdep.c (x86_64_skip_prologue): Use BLOCK_END,
+       SYMBOL_BLOCK_VALUE.
+       * objc-lang.c (find_methods): Use BLOCK_START, BLOCK_END.
+
+2002-10-23  David Carlton  <[email protected]>
+
+       * symtab.c: Delete cplusplus_hint.
+       Delete prototype for find_template_name_end.
+
+2002-10-23  Elena Zannoni  <[email protected]>
+
+       * symtab.h: Update comment.
+
+2002-10-23  Michael Snyder  <[email protected]>
+
+       * printcmd.c (address_info): Restore quotes in output.
+       * valops.c (value_of_local): Restore quotes in error message.
+
+2002-10-23  Elena Zannoni  <[email protected]>
+
+       * symtab.c (symbol_demangled_name): New function.
+       * symtab.h (SYMBOL_DEMANGLED_NAME): Simplify macro, by
+       turning most of it into a function.
+       (symbol_demangled_name): Export.
+
+2002-10-23  Michael Snyder  <[email protected]>
+
+       * valops.c (value_of_local): Restore quotes in error message.
+
+2002-10-23  Elena Zannoni  <[email protected]>
+
+       * symtab.c (symbol_init_language_specific): New function.
+       * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): Simplify macro, by
+       turning most of it into a function.
+       (symbol_init_language_specific): Export.
+
+2002-10-23  David Carlton  <[email protected]>
+
+       * dwarf2read.c (dwarf_tag_name): Add DWARF 3 names.
+       (dwarf_attr_name): Ditto.
+       (dwarf_type_encoding_name): Ditto.
+       (scan_partial_symbols): Descend into DW_TAG_namespace entries.
+       (process_die): Handle DW_TAG_namespace,
+       DW_TAG_imported_declaration, DW_TAG_imported_module.
+       (read_namespace): New function.
+
+2002-10-22  Joel Brobecker  <[email protected]>
+
+       * configure.in: Define NEW_PROC_API on Interix too.
+       * configure: Regenerate.
+
+2002-10-21  Joel Brobecker  <[email protected]>
+
+       * configure: Regenerate using the proper version of autoconf.
+
+2002-10-21  Elena Zannoni  <[email protected]>
+
+       * findvar.c (read_var_value): Temporarily disable TLS code, until
+       complete TLS support is added.
+
+2002-10-21  Jim Blandy  <[email protected]>
+           Elena Zannoni  <[email protected]>
+
+       * symtab.h (address_class): Re-add LOC_THREAD_LOCAL_STATIC
+       for thread local storage locations.
+       (struct symbol): Add objfile field.
+       (SYMBOL_OBJFILE): Define.
+       * dwarf2read.c (is_thread_local): New static variable.
+       (new_symbol): If variable is in thread local fill in address class
+       and objfile appropriately.
+       (decode_locdesc): Recognize and handle DW_OP_GNU_push_tls_address
+       stack operation.
+       * printcmd.c (address_info): Print the information for thread
+       local storage variable.
+       * findvar.c (read_var_value): In case of thread local variable,
+       defer to the target vector code to compute address.
+
+2002-10-21  Elena Zannoni  <[email protected]>
+
+        * solib-svr4.c (svr4_fetch_objfile_link_map): New function.
+        * solib-svr4.h (svr4_fetch_objfile_link_map): Export.   
+
+2002-10-21  Elena Zannoni  <[email protected]>
+
+       * symtab.h (address_class):  Rename
+       LOC_THREAD_LOCAL_STATIC to LOC_HP_THREAD_LOCAL_STATIC.
+       * hpread.c (hpread_process_one_debug_symbol): Ditto.
+       * printcmd.c (address_info): Ditto.
+       * findvar.c (symbol_read_needs_frame, read_var_value): Ditto.
+
+2002-10-20  Mark Kettenis  <[email protected]>
+
+       * i386bsd-nat.c (i386bsd_dr_set, i386bsd_dr_get_status): Use
+       DBREG_DRX macro to acces debug registers.
+
+       * Makefile.in (i386obsd-tdep.o): New target.
+
+       * solib-sunos.c: Include "bcache.h" and "regcache.h".
+       * Makefile.in (solib-sunos.o): Add $(bcache_h) and $(regcache_h).
+
+       * configure.tgt (i[3456]86-*-openbsd*): Set gdb_target to obds.
+       * config/i386/obsd.mt: New file.
+       * i386bsd-nat.c (_initialize_i386bsd_nat): Introduce
+       i386obsd_sc_pc_offset and i386obsd_sc_sp_offset;
+       * i386obsd-nat.c (_initialize_i386obsd_nat): Set
+       i386obsd_sigtramp_start and i386obsd_sigtramp_end instead of
+       i386nbsd_sigtramp_start and i386nbsd_sigtramp_end.
+       * i386obsd-tdep.c: New file.
+
+2002-10-19  Adam Fedor  <[email protected]>
+
+       * objc-exp.y (name_not_typename): Fix invalid comment.  
+
+2002-10-20  Mark Kettenis  <[email protected]>
+
+       * solib-sunos.c (allocate_rt_common_objfile): Use bcache_xmalloc
+       to allocate partial syms and macro byte caches.
+
+2002-10-18  David Carlton  <[email protected]>
+
+       * symtab.h: Delete 'struct source' and 'struct sourcevector'.
+
+2002-10-18  Adam Fedor  <[email protected]>
+
+       * stabsread.c (find_name_end): New function.
+       (define_symbol): Use it.
+
+2002-10-18  Daniel Jacobowitz  <[email protected]>
+
+       * config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
+       * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Define to 1.
+       * config/alpha/nm-nbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
+       * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Define to 1.
+
+2002-10-17  David Carlton  <[email protected]>
+
+       * symfile.h: Add opaque declaration for struct obstack.
+       Declare obsavestring to take a const char *.
+       * symfile.c (obsavestring): Make first argument a const char *.
+
+2002-10-16  Adam Fedor  <[email protected]>
+
+       * breakpoint.c (parse_breakpoint_sals): Ignore ObjC method
+       names when matching breakpoints in current file.
+
+2002-10-16  Kevin Buettner  <[email protected]>
+
+       * dwarf2read.c (dwarf2_invalid_pointer_size): New complaint.
+       (read_tag_pointer_type): Add address class support.
+       * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS)
+       (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, ADDRESS_CLASS_NAME_TO_TYPE_FLAGS):
+       New methods.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * gdbtypes.c (address_space_name_to_int, address_space_int_to_name)
+       (make_type_with_address_space, recursive_type_dump): Add address
+       class support.
+       * gdbtypes.h (TYPE_FLAG_ADDRESS_CLASS_1, TYPE_FLAG_ADDRESS_CLASS_2)
+       (TYPE_FLAG_ADDRESS_CLASS_ALL, TYPE_ADDRESS_CLASS_1)
+       (TYPE_ADDRESS_CLASS_2, TYPE_ADDRESS_CLASS_ALL): New defines
+
+2002-10-16  Klee Dienes  <[email protected]>
+
+       * stabsread.c (read_tilde_fields): Use name[sizeof(vptr_name)-2]
+       to get the last character of a char[] buffer, not
+       name[sizeof(vptr_name)-1].
+
+2002-10-14  Adam Fedor  <[email protected]>
+
+       * symtab.h: New objc_specific struct.
+       (SYMBOL_INIT_LANGUAGE_SPECIFIC): Handle ObjC.
+       (SYMBOL_DEMANGLED_NAME): Likewise.
+
+2002-10-14  Adam Fedor  <[email protected]>
+
+       * symfile.c (init_filename_language_table): Add ObjC file extension.
+
+2002-10-14  Adam Fedor  <[email protected]>
+
+       * utils.c (puts_filtered_tabular): New function.
+       (fprintf_symbol_filtered): Get ObjC demangled name.
+       * defs.h (puts_filtered_tabular): Declared.
+
+2002-10-14  Kevin Buettner  <[email protected]>
+
+       * c-lang.h (c_type_print_varspec_prefix): Delete.
+       * c-typeprint.c (c_type_print_varspec_prefix): Make static.  Add
+       ``need_post_space'' parameter.  Adjust all callers.
+
+2002-10-14  Daniel Jacobowitz  <[email protected]>  
+       * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Define to 1.
+       * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
+       * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
+       * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
+
+2002-10-13  Adam Fedor  <[email protected]>
+
+       * source.c (print_source_lines): Update comments.
+
+2002-10-13  Adam Fedor  <[email protected]>
+
+       * valops.c (value_of_local): New function.
+       (value_of_this): Use it.
+       * value.h (value_of_local): Declared.
+
+2002-10-13  Adam Fedor  <[email protected]>
+
+       * parse.c: (length_of_subexp, prefixify_subexp): Handle
+       OP_MSGCALL, OP_SELECTOR, OP_NSSTRING, and OP_SELF.
+
+2002-10-12  Adam Fedor  <[email protected]>
+
+       * language.c (binop_result_type): Add language_objc to case.
+        (integral_type): Likewise.
+        (character_type): Likewise.
+        (string_type): Likewise.
+        (boolean_type): Likewise.
+        (structured_type): Likewise.
+        (binop_type_check): Likewise.
+
+2002-10-11  Adam Fedor  <[email protected]>
+
+       * printcmd.c (address_info): Print 'self' for ObjC.
+
+2002-10-11  Adam Fedor  <[email protected]>
+
+       * expression.h: New ops OP_NSSTRING, OP_SELECTOR, OP_MSGCALL, and
+       OP_SELF.
+
+2002-10-11  Adam Fedor  <[email protected]>
+
+       * language.h (CAST_IS_CONVERSION): Add language_objc.
+
+2002-10-11  Adam Fedor  <[email protected]>
+
+       * defs.h (enum language): Add language_objc.
+
+2002-10-11  Klee Dienes  <[email protected]>
+
+        * findvar.c (read_memory_typed_address): New function.
+        * gdbcore.h (read_memory_typed_address): Add prototype.
+        * blockframe.c (sigtramp_saved_pc): Use read_memory_typed_address
+       to read a value destined for a CORE_ADDR, not read_memory_integer.
+        * f-valprint.c (f77_get_dynamic_upperbound): Ditto.
+        (f77_get_dynamic_lowerbound): Ditto.
+
+2002-10-11  Martin M. Hunt  <[email protected]>
+
+       * utils.c (string_to_core_addr): After turning string into
+       a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS
+       which will do necessary sign-extension, etc.
+
+2002-10-11  Daniel Jacobowitz  <[email protected]>
+
+       * c-exp.y (THIS): Delete token and grammar rule.
+       (yylex): Don't return THIS.
+       * cp-valprint.c (vtbl_ptr_name_old): Delete.
+       (cp_is_vtbl_ptr_type): Don't check vtbl_ptr_name_old.
+       * demangle.c (cplus_markers): Update comment.  Put '$'
+       first.  Remove CPLUS_MARKER.
+       (_initialize_demangler): Don't call set_cplus_marker_for_demangling.
+       * jv-exp.y (THIS): Delete token and grammar rule.
+       (yylex): Don't return THIS.
+       * mips-tdep.c (mips_dump_tdep): Don't dump CPLUS_MARKER.
+       * objc-exp.y (THIS): Delete token and grammar rule.
+       (yylex): Don't return THIS.
+       * p-exp.y (yylex): Remove reference to CPLUS_MARKER.
+       * stabsread.c (vptr_name, vb_name): Replace CPLUS_MARKER with '$'.
+       (read_member_functions): Likewise for opname.
+       (read_tilde_fields): Use is_cplus_marker.
+
+       * defs.h (CPLUS_MARKER): Don't define.
+       * config/tm-sysv4.h (CPLUS_MARKER): Likewise.
+       * config/i386/xm-i386sco.h (CPLUS_MARKER): Likewise.
+       * config/mips/tm-irix3.h (CPLUS_MARKER): Likewise.
+       * config/mips/tm-irix6.h (CPLUS_MARKER): Likewise.
+       * config/rs6000/tm-rs6000.h (CPLUS_MARKER): Likewise.
+
+       * config/i386/tm-i386v4.h: Delete file.
+       * config/djgpp/fnchange.lst: Delete tm-i386v4.h.
+       * config/i386/tm-i386sol2.h: Include "i386/tm-i386.h" instead.
+       * config/i386/tm-i386v42mp.h: Include "i386/tm-i386.h" instead.
+       * config/i386/tm-ptx.h: Include "i386/tm-i386.h" instead.
+       * config/i386/i386gnu.mt (TM_FILE): Use tm-i386.h.
+       * config/i386/i386sco5.mt (TM_FILE): Likewise.
+       * config/i386/i386v4.mt (TM_FILE): Likewise.
+       * config/i386/ncr3000.mt (TM_FILE): Likewise.
+
+2002-10-10  Marko Mlinar  <[email protected]>
+
+       * infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C,
+       accidentially not commited 2002-10-09
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+2002-10-09  Marko Mlinar  <[email protected]>
+
+       * infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C.
+       * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Add.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+2002-10-08  Petr Sorfa <[email protected]>
+
+       Revised and re-submitted by John Wolfe <[email protected]>
+
+       Move the Dwarf 2 abbrev table to a per-compilation-unit structure,
+       so we can work on more than one compilation unit at a time.  This
+       helps prepare GDB to handle inter-CU die references.
+       * dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in
+       the code to be defined before struct comp_unit_head.
+       (comp_unit_head): Added new members - offset, cu_head,
+       begin_die, next and dwarf2_abbrevs.
+       (dwarf2_abbrevs): Removed single static var; now member of
+       struct comp_unit_head.
+       dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head
+       members.
+       (psymtab_to_symtab_1): Changed to work with the new
+       struct comp_unit_head.
+       (dwarf2_read_abbrevs): Now accepts a cu_header parameter and
+       constructs the dwarf2_abbrevs[] inside the cu_header.
+       (dwarf2_empty_abbrev_table): Now expects a ptr to a
+       dwarf2_abbrev table to clean up.
+       (dwarf2_lookup_abbrev): Now accepts a cu_header parameter and
+       handling of dwarf2_abbrevs inside the cu_header.
+       (read_partial_die): Now supports the call to the new
+       dwarf2_lookup_abbrev.
+       (read_full_die): Now supports the call to the new
+       dwarf2_lookup_abbrev.
+
+2002-10-06  Christopher Faylor  <[email protected]>
+
+       * Makefile.in (install-gdbtk): Add missing continuation backslash to
+       insure that shell variables, such as "transformed_name" are propagated
+       to later shell statements in rule.
+
+2002-10-06  Mark Kettenis  <[email protected]>
+
+       * config/i386/nm-i386sco.h: Add protection against
+       multiple-inclusion.  Include "i386/nm-i386v.h".
+       (REGISTER_U_ADDR): Remove define.
+       (i386_register_u_addr): Remove prototype.
+
+2002-10-04  Michael Snyder  <[email protected]>
+
+       * m32r-stub.c (handle_exception): Make sure exception is "trap"
+       before treating it as a single-step event.
+
+2002-10-03  Adam Fedor  <[email protected]>
+
+       * objc-lang.c: ARI fixes.  Change string.h to gdb_string.h.
+       (objc_demangle): Remove assignment in if statements, Replace
+       free with xfree.
+       (add_msglist): Likewise.
+       (end_msglist): Likewise.
+       (complare_selectors): Likewise.
+       (selectors_info): Likewise.
+       (compare_classes): Likewise.
+       (classes_info): Likewise.
+       (print_object_command): Likewise.
+       (find_objc_msgcall_submethod): Replace PTR with void *.
+       * objc-lang.h: Remove check for __STDC__.
+
+2002-10-03  Jeff Johnston  <[email protected]>
+
+       * ui-out.h (ui_out_field_fmt_int): New prototype.
+       * ui-out.c (ui_out_field_fmt_int): New function allowing specification
+       of field width and alignment.
+       * stack.c (print_frame_info_base): When printing frame level, use
+       ui_out_field_fmt_int with a width of 2 and left alignment.  Fix for
+       PR gdb/192
+
+2002-10-03  Jeff Johnston  <[email protected]>
+
+       * MAINTAINERS: Add self to Write After Approval list.
+
+2002-10-02  Elena Zannoni  <[email protected]>
+
+       * infcmd.c (interrupt_target_command_wrapper): Delete.
+       (interrupt_target_command): Make non static.
+       (nofp_registers_info): Make static.
+       * stack.c (return_command_wrapper): Delete.
+       (return_command): Make non static.
+
+2002-10-02  Elena Zannoni  <[email protected]>
+
+       * event-top.c (gdb_setup_readline): New function. Code moved from
+       _initialize_event_loop().
+       (_initialize_event_loop): Call gdb_setup_readline().
+
+2002-10-02  Andrew Cagney  <[email protected]>
+
+       * infrun.c (resume): Convert #ifdef CANNOT_STEP_BREAKPOINT into C.
+       * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Add.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+2002-10-02  Daniel Jacobowitz  <[email protected]>
+
+       Fix PR gdb/778
+       * gdbtypes.c (fill_in_vptr_fieldno): Call check_typedef
+       before recursing.
+       * gnu-v3-abi.c (gnuv3_virtual_fn_field): Check return value
+       of fill_in_vptr_fieldno.
+
+2002-10-02  Elena Zannoni  <[email protected]>
+
+       * inferior.h (registers_info, stepi_command, nexti_command,
+       continue_command, interrupt_target_command): Export from infcmd.c.
+       * frame.h (args_info, selected_frame_level_changed_hook,
+       return_command): Export from stack.c.
+       * v850ice.c (stepi_command, nexti_command, continue_command): use
+       prototypes from inferior.h.
+       * tracepoint.c (registers_info, args_info, locals_info): Use
+       prototypes from frame.h and inferior.h.
+       * Makefile.in (mi-main.o): Add dependency on frame.h.
+
+2002-10-02  Andrew Cagney  <[email protected]>
+
+       * rs6000-tdep.c (rs6000_store_struct_return): Store struct_return
+       value in register 3 adjusted by ppc_gp0_regnum.
+
+       * rs6000-tdep.c (skip_prologue): Bias alloca_reg by ppc_gp0_regnum.
+
+2002-10-02  Marko Mlinar <[email protected]>
+
+        * MAINTAINERS: Add myself to the Write After Approval list.
+
+2002-10-01  Alexandre Oliva  <[email protected]>
+
+       * mips-tdep.c (mips_find_abi_section): .mdebug.abi64 is the name
+       of the section for the N64 ABI, fixed.
+
+       * config/mips/tm-irix6.h: Include solib.h.
+
+2002-10-01  Elena Zannoni  <[email protected]>
+
+       * dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and
+       GNU operators.
+
+2002-10-01  Andrew Cagney  <[email protected]>
+
+       * NEWS: Mention that MI syntax, selected by "mi" changed to "mi2"
+       and that "mi0" syntax has been removed.
+
 2002-09-30  David Carlton  <[email protected]>
 
        * Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h.
 
 2002-09-22  Fernando Nasser  <[email protected]>
 
-       * source.c (get_current__or_default_source_symtab_and_line): Initialize
+       * source.c (get_current_or_default_source_symtab_and_line): Initialize
        sal.pc and sal.end fields.
        (get_current_or_default_source_symtab_and_line): Ditto.
        * breakpoint.c (parse_breakpoint_sals): Use correct accessor function
@@ -10301,9 +10763,9 @@ Wed Apr 24 14:22:21 2002  Andrew Cagney  <[email protected]>
        * breakpoint.c (break_at_finish_command): Export.
        (break_at_finish_at_depth_command): Export.
        (tbreak_at_finish_command): Export.
-       (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
+       (_initialize_breakpoint): Delete "xbreak" and "txbreak" commands.
        * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
-       "tbreak" commands, which are HPPA specific.
+       "txbreak" commands, which are HPPA specific.
 
        * printcmd.c (disassemble_command): Remove an ancient
        artifact of an old merge.
This page took 0.041283 seconds and 4 git commands to generate.