]> Git Repo - binutils.git/blobdiff - gdb/ChangeLog
2002-10-02 Elena Zannoni <[email protected]>
[binutils.git] / gdb / ChangeLog
index 5cb7e23529db01dee8815c987cd3124b6c73ba2e..d03a60b8b5dde95d2646e5f923b1ae80f987af89 100644 (file)
@@ -1,3 +1,410 @@
+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.
+       * ppc-sysv-tdep.c: #include "gdb_string.h".
+       * remote-sds.c (getmessage): Add semicolon after 'retry' label to
+       pacify GCC.
+
+2002-10-01  Andrew Cagney  <[email protected]>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix
+       "vrsave"'s register number.
+
+2002-09-30  Andrew Cagney  <[email protected]>
+
+       * mips-tdep.c (mips_frame_saved_pc): When a generic dummy frame,
+       use frame_unwind_signed_register to obtain the PC.
+       (mips_frame_chain): Handle a generic dummy frame.
+       (mips_init_extra_frame_info): When a generic dummy frame, don't
+       re-compute the frame base.
+       (mips_pop_frame): Handle generic dummy frames.
+       (mips_gdbarch_init): When generic dummy frames, set
+       use_generic_dummy_frames, push_dummy_frame to
+       generic_push_dummy_frame, pc_in_call_dummy to
+       generic_pc_in_call_dummy, and save_dummy_frame_top_of_stack to
+       generic_save_dummy_frame_tos.
+
+2002-09-30  Andrew Cagney  <[email protected]>
+
+       * blockframe.c (generic_find_dummy_frame): Rewrite.  Only test
+       against TOP when TOP was explictly set.
+       (generic_push_dummy_frame): Set TOP to zero.
+
+2002-09-30  Elena Zannoni  <[email protected]>
+
+       * event-loop.c (start_event_loop): Rename variable 'result' to
+       'gdb_result', to avoid conflicts with upcoming intepreters changes.
+
+2002-09-30  Keith Seitz  <[email protected]>
+
+       * gdb-events.sh (selected_thread_changed): New event.
+       * gdb-events.c: Regenerated.
+       * gdb-events.h: Regenerated.
+
+2002-09-30  Hans-Peter Nilsson  <[email protected]>
+
+       * MAINTAINERS: Add self to Write After Approval list.
+
+2002-09-30  Fernando Nasser  <[email protected]>
+
+       * disasm.c: New file.  
+       * disasm.h: New file.  
+       * mi/mi-cmd-disas.c (gdb_dis_asm_read_memory): Moved to disasm.c.
+       (compare_lines): Ditto.
+       (dump_insns): Ditto.
+       (do_mixed_source_and_assembly): Moved to disasm.c. Added uiout
+       argument.
+       (do_assembly_only): Ditto.
+       (do_disassembly): Renamed to gdb_disassembly and moved to
+       disasm.c.  Sdded uiout argument.
+       * Makefile.in: Add new files.  Reorder SFILES list. Update
+       dependencies.  Include libgdb.a later in the insight executable.
+
+2002-09-29  Andrew Cagney  <[email protected]>
+
+       * config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and
+       bfd/elf64-alpha-fbsd.c.
+
+2002-09-29  Andrew Cagney  <[email protected]>
+
+       * config/djgpp/fnchange.lst: Rename i386gnu-nat.c and
+       i386gnu-tdep.c.
+
+2002-09-29  Andrew Cagney  <[email protected]>
+
+       * gnu-nat.h (debug): Use __FILE__ and __LINE__ instead of
+       __FUNCTION__.
+       * gnu-nat.c (do_mach_notify_no_senders): Replace __FUNCTION__ with
+       function name.
+       (do_mach_notify_port_deleted, do_mach_notify_msg_accepted): Ditto.
+       (do_mach_notify_port_destroyed, do_mach_notify_send_once): Ditto.
+       (S_proc_setmsgport_reply, S_proc_getmsgport_reply): Ditto.
+       (S_msg_sig_post_reply): Ditto.
+       
+2002-09-28  Corinna Vinschen  <[email protected]>
+
+       * sh-tdep.c (sh_use_struct_convention): Use definition according
+       to ABI.
+       (sh_push_arguments): Store in register with correct endianess.
+       (sh_default_store_return_value): Ditto.
+       (sh_gdbarch_init): Set sizeof long double to 8.
+
+2002-09-27  Mark Kettenis  <[email protected]>
+
+       * defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
+       Fix some whitespace problems.
+
+2002-09-27  David Carlton  <[email protected]>
+
+       * Makefile.in (cris-tdep.o): Depend on gdb_string_h.
+       (mcore-tdep.o): Ditto.
+       (ns32k-tdep.o): Ditto.
+       (ns32knbsd-tdep.o): Ditto.
+       (sh3-rom.o): Ditto.
+       (vax-tdep.o): Ditto.
+       * cris-tdep.c: #include "gdb_string.h"
+       * mcore-tdep.c: Ditto.
+       * ns32k-tdep.c: Ditto.
+       * ns32knbsd-tdep.c: Ditto.
+       * sh3-rom.c: Ditto.
+       * vax-tdep.c: Ditto.
+
+2002-09-27  David Carlton  <[email protected]>
+
+       * config/djgpp/fnchange.lst: Add entries for
+       gdb/testsuite/gdb.c++/m-static files.
+
+2002-09-27  Jim Wilson  <[email protected]>
+
+       * MAINTAINERS: Add myself to the Write After Approval list.
+
+2002-09-26  Martin M. Hunt  <[email protected]>
+
+       * mips-tdep.c (find_proc_desc): Initialize startaddr.
+
+
+2002-09-26  Andrew Cagney  <[email protected]>
+
+       * rs6000-tdep.c (rs6000_frame_chain): Don't chain past the dummy
+       frame.
+
+2002-09-26  Andrew Cagney  <[email protected]>
+
+       * rs6000-tdep.c (rs6000_extract_struct_value_address): Return 0.
+       (rs6000_struct_return_address): Delete variable.
+       (rs6000_store_struct_return): Update.
+       (rs6000_gdbarch_init): Set extract_struct_value_address instead of
+       deprecated_extract_struct_value_address.
+       (rs6000_frame_align): New function.
+       (rs6000_gdbarch_init): Set frame_align.
+
+2002-09-26  Andrew Cagney  <[email protected]>
+
+       From Grace Sainsbury <[email protected]>:
+       * Makefile.in (gdbtk-main.o): New target.
+       (gdb.o): New target.
+       (main_h): Define.
+       (main.o): Update dependencies.
+       (gdb$(EXEEXT)): Add gdb.o.
+       (SUBDIR_GDBTK_SRCS): Add gdbtk-main.c.
+       (SUBDIR_GDBTK_ALL, SUBDIR_GDBTK_UNINSTALL): Set.
+       (SUBDIR_GDBTK_CLEAN): Set.
+       (install-gdbtk): Install the insight binary.
+       (uninstall-gdbtk): New target.
+       (all-gdbtk, clean-gdbtk): New rule.
+       * top.c (use_windows): Default to zero.
+       * main.c: Include "main.h".
+       (main): Delete.
+       (struct captured_main_args): Delete.
+       (gdb_main): New function.
+       * main.h: New file.
+       * gdb.c: New File.
+
+2002-09-25  Andrew Cagney  <[email protected]>
+
+       * frame.c: Include "gdb_string.h" and "builtin-regs.h".
+       (frame_map_regnum_to_name): New function.
+       (frame_map_name_to_regnum): New function.
+       * frame.h (frame_map_name_to_regnum): Declare.
+       (frame_map_regnum_to_name): Declare.
+       * builtin-regs.c (builtin_reg_map_regnum_to_name): New function.
+       * builtin-regs.h (builtin_reg_map_regnum_to_name): Declare.
+       * parse.c: Do not include "builtin-regs.h".
+       (target_map_name_to_register): Delete function.
+       (write_dollar_variable): Use frame_map_name_to_regnum.
+       * parser-defs.h (target_map_name_to_register): Delete declaration.
+       * expprint.c: Include "frame.h".
+       (print_subexp): Use frame_map_regnum_to_name.
+       * eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name.
+       * infcmd.c (registers_info): Use frame_map_name_to_regnum.
+
+2002-09-25  Andrew Cagney  <[email protected]>
+
+       * rs6000-tdep.c (rs6000_frame_saved_pc): If the link register
+       wasn't saved, and the next innermost frame is a dummy, return the
+       dummy frame's link register.
+
+2002-09-24  Jim Blandy  <[email protected]>
+
+       Fix from Paul Breed:
+       * main.c (captured_main): Add a `break' after the case for 'b'.
+
+2002-09-24  Keith Seitz  <[email protected]>
+
+       * varobj.c (c_type_of_child): Use get_target_type instead
+       of TYPE_TARGET_TYPE.
+
+2002-09-22  Fernando Nasser  <[email protected]>
+
+       * source.c (get_current_or_default_source_symtab_and_line): Remove
+       function.
+       (set_default_source_symtab_and_line): New function. Attempts to
+       determine a source file to list lines from if one is not currently
+       defined.
+       (get_current_source_symtab_and_line): Initialize sal.pc and
+        sal.end fields.
+       (set_current_source_symtab_and_line): Mark argument as const.
+       * source.h: Update declarations and comments.
+       * linespec.c (decode_line_1): Replace call to removed routine above.
+       * stack.c (print_frame_info_base): Ditto.
+       * cli/cli-cmds.c (edit_command): Ditto.
+       (list_command): Ditto.
+
+2002-09-22  Fernando Nasser  <[email protected]>
+
+       * 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
+       so we do not cause a new source symtab to be searched for (reverting an
+       unintentional change from the 2002-09-20 patch).
+       * scm-lang.c (scm_unpac): Ditto.
+
+2002-09-21  Andrew Cagney  <[email protected]>
+
+       * complaints.c (symfile_explanations): Remove new-line from
+       ``isolated_message''.
+       (vcomplaint): When ISOLATED_MESSAGE, force a line break.
+       (clear_complaints): When a SUBSEQUENT_MESSAGE, force a line break.
+
+2002-09-20  Nick Clifton  <[email protected]>
+       
+       * NEWS: Announce that V850EA ISA is no longer supported.
+        * v850-tdep.c: Remove reference to bfd_mach_v850ea.
+
+2002-09-20  David Carlton  <[email protected]>
+
+       * Makefile.in (c-lang.o): Correct dependencies.
+       (utils.o): Gather dependencies.
+       (charset.o): Move.
+       * c-lang.c: #include "gdb_string.h"
+
+2002-09-20  Fernando Nasser  <[email protected]>
+
+       From 2002-07-02  George Helffrich <[email protected]>
+       * cli/cli-cmds.c (list_command): New function.  Implements the new
+       cli edit command.
+       (_init_cli_cmds): Add new command definition.
+       * gdb.1: Document edit command.
+       * doc/gdb.texinfo: Document edit command.
+
+2002-09-20  Fernando Nasser  <[email protected]>
+
+       * source.c: Make global variables current_source_symtab and
+       current_source_line static.
+       (list_command): Moved to cli/cli-cmds.c.
+       (ambiguous_line_spec): Moved to cli/cli-cmds.c.
+       (get_first_line_listed): New accessor function.
+       (get_lines_to_list): New accessor function.
+       (get_current_source_symtab_and_line): New function. Retrieves the
+       position in the source code that we consider current.
+       (get_current_or_default_source_symtab_and_line): New function.
+       Like the above but attempts to determine a default position if one
+       is not currently defined.
+       (set_current_source_symtab_and_line): New function. Sets the source
+       code position considered current and returns the previously set one.
+       (clear_current_source_symtab_and_line): Reset stored information about
+       a current source line.
+       (_initialize_source): Remove registration for the "list" command and
+       its alias.
+       * source.h: Add declarations for the new functions above.
+       * symtab.h: Remove declarations for the global variables mentioned
+       above.
+       * breakpoint.c (parse_breakpoint_sals): Use accessor functions to
+       obtain current source line.
+       * linespec.c (decode_line_1): Ditto.
+       * macroscope.c (default_macro_scope): Ditto.
+       * scm-lang.c (scm_unpac): Ditto.
+       * stack.c (print_frame_info_base): Ditto.
+       * symfile.c (clear_symtab_users): Ditto.
+       * symtab.c (decode_line_spec): Ditto.
+       * cli/cli-cmds.c (list_command): Moved here from source.c.
+       (ambiguous_line_spec): Moved here from source.c.
+       (_init_cli_cmds): Add definition for "list" and its alias.
+       * Makefile.in: Update dependencies.
+
+2002-09-20  Corinna Vinschen  <[email protected]>
+
+       * h8300-tdep.c (h8300_examine_prologue): Match saved regs location
+       with what gcc thinks is correct.
+
+2002-09-20  Corinna Vinschen  <[email protected]>
+
+       * h8300-tdep.c (h8300_examine_prologue): Fix loop for saved regs in
+       multiple register push instruction.
+
+2002-09-19  Jim Blandy  <[email protected]>
+
+       Add support for distinct host and target character sets.
+       * charset.c, charset.h: New files.
+       * c-exp.y: #include "charset.h".
+       (yylex): Convert character and string literals to the target
+       character set, before returning them as the semantic value of the
+       token.
+       * c-lang.c: #include "charset.h".
+       (c_emit_char): Use charset-specific methods to recognize
+       characters with backslash escape forms, to decide which characters
+       to print literally and which to print using numeric escape
+       sequences, and to convert target characters to host characters
+       before printing.
+       * utils.c: #include "charset.h".
+       (no_control_char_error): New function.
+       (parse_escape): Use charset-specific methods to recognize
+       backslash escapes, parse `control character' notation, and convert
+       characters from the host character set to the target character set.
+       * configure.in: Set the default host character set.
+       Check where to find iconv, and what its argument types might be.
+       * acinclude.m4 (AM_ICONV): New macro, borrowed from GCC.
+       * Makefile.in (SFILES): List charset.c.
+       (COMMON_OBS): List charset.o.   
+       (charset.o): New rule.
+       (charset_h): New header dependency variable.
+       (c-lang.o, utils.o, c-exp.tab.o): Note dependency on $(charset_h).
+       (LIBICONV): New variable, set by configure.
+       (CLIBS): Include $(LIBICONV) here.
+       * aclocal.m4, config.in, configure: Regenerated.
+
+2002-09-19  Joel Brobecker  <[email protected]>
+
+       * ada-exp.y: Add missing semicolons to end rules. Fixes a
+       bison 1.35 warning.
+
+2002-09-19  Richard Earnshaw  <[email protected]>
+
+       * gdb_mbuild.sh: New file.
+
+2002-09-19  Andrew Cagney  <[email protected]>
+
+       * objc-exp.y, objc-lang.h, objc-lang.c: Fix copyright notice.
+
 2002-09-18  Andrew Cagney  <[email protected]>
 
        * breakpoint.c, c-exp.y, defs.h, elfread.c, expression.h,
 
 2002-09-18  Michael Snyder  <[email protected]>
 
+       Contributed by Apple Computer, Inc.  Merged with current sources
+       by Adam Fedor <[email protected]> [cagney].
+       
        * objc-lang.c: First clean-up round: comments, indentation.
        * objc-lang.h: Ditto.
        * objc-lang.y: Ditto.
This page took 0.0384 seconds and 4 git commands to generate.