* ada-lang.c: Minor reformatting to conform to GNU coding standards.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index da46d292ee93f3e3b373120f3a68cc53044fdb99..b921044dabf3978c5e57b26486269cf6966057d3 100644 (file)
@@ -1,5 +1,226 @@
+2004-06-27  Joel Brobecker  <brobecker@gnat.com>
+
+       * ada-lang.c: Minor reformatting to conform to GNU coding standards.
+
+2004-06-27  Joel Brobecker  <brobecker@gnat.com>
+
+       * ada-lang.c: Re-indent file.
+
+2004-06-27  Joel Brobecker  <brobecker@gnat.com>
+
+       * ada-lang.c (symtab_symbol_info): Remove unused declaration.
+       (no_symtab_msg): Likewise.
+
+2004-06-27  Andreas Schwab  <schwab@suse.de>
+
+       * source.c: Fix whitespace.
+
+2004-06-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in: Include <sys/param.h> for td_pcb test.
+       * configure: Regenerated.
+
+       * i386nbsd-nat.c: New file.
+       * Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c,
+       i386obsd-nat.c and i386obsd-tdep.c.
+       (i386nbsd-nat.o): New dependency.
+       * config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and
+       bsd-kvm.o.
+       (LOADLIBES): New variable.
+       * config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and
+       bsd-kvm.o.
+       (LOADLIBES): New variable.
+
+       * config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.
+       (LOADLIBES): New variable.
+
+       * bsd-kvm.c (bsd_kvm_fetch_registers): Directly return after
+       fetching from BSD_KVM_PADDR.  Correctly lookup address for
+       "_thread0".
+
+       * amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and
+       "bsd-kvm.h".
+       (amd64fbsd_supply_pcb): New funcion.
+       (_initialize_amd64fbsd_nat): Enable libkvm interface.
+
+2004-06-27    <david@streamline-computing.com>
+
+       Partial fix for PR cli/1056.
+       * valarith.c: Check for zero in division and remainder 
+       evaluation.
+
+2004-06-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * i387-tdep.c: Remove excessive whitespace.
+
+2004-06-26  Andrew Cagney  <cagney@gnu.org>
+
+       * gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated.
+       * gdb-events.h, gdb-events.c: Re-generate.
+       * tui/tui-hooks.c (tui_install_hooks): Update.
+       (tui_remove_hooks): Update.
+       * mi/mi-cmd-break.c (mi_cmd_break_insert): Update.
+
+2004-06-26  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h".
+       (gregset_t, fpregset_t): Remove typedefs.
+       (REG_OFFSET): Rename argument.
+       (amd64bsd_r_reg_offset): Rename from reg_offset.
+       (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
+       Remove functions.
+       (_initialize_amd64fbsd_nat): Use amd64fbsd64_r_reg_offset instead
+       of reg_offset.
+       * Makefile.in (amd64fbsd-nat.o): Update dependencies.
+
+       * amd64-nat.c (amd64_supply_native_gregset): Fix comment.
+
+       * vax-tdep.c: Tweak comment.
+
+       Add OpenBSD/hppa support.
+       * NEWS (New native configurations): Mention OpenBSD/hppa.
+       * hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh,
+       config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New
+       files.
+       * Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
+       (hppabsd-nat.o, hppabsd-tdep.c): New dependencies.
+       * configure.host: Add hppa*-*-openbsd*.
+       * configure.tgt: Add hppa*-*-openbsd*.
+
+2004-06-25  Andrew Cagney  <cagney@gnu.org>
+
+       * defs.h (deprecated_ui_loop_hook): Deprecated.
+       * wince.c (child_wait): Update.
+       * win32-nat.c (child_wait): Update.
+       * v850ice.c (v850ice_wait): Update.
+       * top.c (deprecated_ui_loop_hook): Update.
+       * serial.h: Update.
+       * ser-unix.c (do_hardwire_readchar, do_hardwire_readchar) 
+       (do_unix_readchar): Update.
+       * ser-tcp.c (net_open): Update.
+       * remote-sim.c (gdb_os_poll_quit): Update.
+       * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update.
+
+2004-06-24  Andrew Cagney  <cagney@gnu.org>
+
+       * defs.h (deprecated_pre_add_symbol_hook)
+       (deprecated_post_add_symbol_hook): Deprecated.
+       * symfile.c (symbol_file_add_with_addrs_or_offsets) 
+       (symbol_file_add_with_addrs_or_offsets): Update references.
+
+2004-06-24  Andrew Cagney  <cagney@gnu.org>
+
+       * defs.h (post_add_symbol_hook, pre_add_symbol_hook)
+       (ui_loop_hook, selected_frame_level_changed_hook): Declare.
+       * wince.c (ui_loop_hook): Delete extern declaration.
+       * win32-nat.c (ui_loop_hook): Delete extern declaration..
+       * v850ice.c (ui_loop_hook): Delete extern declaration..
+       * ser-unix.c (ui_loop_hook): Delete extern declaration..
+       * ser-tcp.c (ui_loop_hook): Delete extern declaration..
+       * remote-sim.c (ui_loop_hook): Delete extern declaration..
+       * rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Delete extern.
+       ui_loop_hook declaration.
+
+2004-06-24  Andrew Cagney  <cagney@gnu.org>
+
+       * objfiles.h (struct entry_info): Delete entry_func_lowpc and
+       entry_func_highpc fields.
+       * objfiles.c (init_entry_point_info): Do not clear
+       entry_func_lowpc and entry_func_highpc.
+       (objfile_relocate): Do not relocate entry_func_lowpc and
+       entry_func_highpc.
+       * dwarfread.c (read_func_scope): Do not set entry_func_lowpc and
+       entry_func_highpc.
+       * dwarf2read.c (read_func_scope): Do not set entry_func_lowpc and
+       entry_func_highpc.
+       * blockframe.c (legacy_frame_chain_valid): Replace tests against
+       entry_func_lowpc and entry_func_highpc with call to
+       inside_entry_func.
+
+2004-06-24  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc64-tdep.c (sparc64_store_arguments): Fix passing
+       quad-precision floating point arguments in registers.
+
+2004-06-24  Mark Kettenis  <kettenis@gnu.org>
+
+       From Michael Mueller <m.mueller99@kay-mueller.de>:
+       * sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into
+       account.
+
+2004-06-22  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint
+       to -1.
+       * breakpoint.c (bpstat_stop_status): Move check for ignoring
+       untriggered watchpoints to a separate if clause.  Update function
+       comment regarding STOPPED_BY_WATCHPOINT argument.
+
+2004-06-22  Jim Blandy  <jimb@redhat.com>
+
+       * gdbarch.sh: Doc fix.
+
+2004-06-21  Martin Hunt  <hunt@redhat.com>
+       Kevin Buettner <kevinb@redhat.com>
+
+        * config/mips/tm-mips.h (SP_REGNUM): Delete define.
+       * mips-tdep.h (MIPS_SP_REGNUM): Define.
+       * mips-tdep.c (mips_gdbarch_init): Set SP_REGNUM via call
+       to set_gdbarch_sp_regnum().  Use cooked register number.
+        (SP_REGNUM): Replace all occurrences with MIPS_SP_REGNUM.
+
 2004-06-21  Andrew Cagney  <cagney@gnu.org>
 
+       * gdbarch.sh: When the macro field is empty, do not generate a
+       macro definition.  When the macro field is "=", generate the macro
+       name from the upper-case function name.
+       (NUM_REGS, NUM_PSEUDO_REGS, SP_REGNUM, PC_REGNUM, PS_REGNUM)
+       (FP0_REGNUM, STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM)
+       (DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM)
+       (REGISTER_NAME, DEPRECATED_REGISTER_VIRTUAL_TYPE)
+       (DEPRECATED_REGISTER_BYTES, DEPRECATED_REGISTER_BYTE)
+       (DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE)
+       (DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_FP_REGNUM)
+       (DEPRECATED_TARGET_READ_FP, DEPRECATED_PUSH_ARGUMENTS)
+       (DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP)
+       (DEPRECATED_REGISTER_SIZE, CALL_DUMMY_LOCATION)
+       (DEPRECATED_DO_REGISTERS_INFO, REGISTER_SIM_REGNO)
+       (REGISTER_BYTES_OK, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER)
+       (GET_LONGJMP_TARGET, DEPRECATED_INIT_FRAME_PC)
+       (BELIEVE_PCC_PROMOTION, DEPRECATED_GET_SAVED_REGISTER)
+       (CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER)
+       (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, INTEGER_TO_ADDRESS)
+       (DEPRECATED_POP_FRAME, DEPRECATED_STORE_STRUCT_RETURN)
+       (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE)
+       (DEPRECATED_EXTRACT_RETURN_VALUE, DEPRECATED_STORE_RETURN_VALUE)
+       (DEPRECATED_USE_STRUCT_CONVENTION)
+       (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS)
+       (DEPRECATED_FRAME_INIT_SAVED_REGS)
+       (DEPRECATED_INIT_EXTRA_FRAME_INFO, SKIP_PROLOGUE, INNER_THAN)
+       (BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT)
+       (MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK)
+       (DEPRECATED_FUNCTION_START_OFFSET, FRAME_ARGS_SKIP)
+       (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN)
+       (DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_SAVED_PC)
+       (DEPRECATED_FRAME_ARGS_ADDRESS, DEPRECATED_FRAME_LOCALS_ADDRESS)
+       (DEPRECATED_SAVED_PC_AFTER_CALL, FRAME_NUM_ARGS)
+       (DEPRECATED_STACK_ALIGN, DEPRECATED_REG_STRUCT_HAS_ADDR)
+       (FRAME_RED_ZONE_SIZE, ADDR_BITS_REMOVE, SMASH_TEXT_ADDRESS)
+       (SOFTWARE_SINGLE_STEP, SKIP_TRAMPOLINE_CODE)
+       (IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE)
+       (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL)
+       (NAME_OF_MALLOC, CANNOT_STEP_BREAKPOINT)
+       (HAVE_NONSTEPPABLE_WATCHPOINT, ADDRESS_CLASS_TYPE_FLAGS)
+       (FETCH_POINTER_ARGUMENT): Replace the macro name with "=".
+
+2004-06-21  Andrew Cagney  <cagney@gnu.org>
+
+       * gdbarch.sh: For gdbarch_dump, print the "function" rather than
+       macro name, and the function rather than macro value.  Only wrap
+       macro print statements in #ifdef.  Move format logic to where it
+       is needed.
+       * gdbarch.c: Re-generate.
+       
        * gdbarch.sh (read): Delete "print_p" and "description", add
        "garbage_at_eol".  Check for non-empty garbage at end-of-line.
        Delete references to print_p.
 
        * infrun.c (handle_inferior_event): Don't treat an invalid ptid
        as a new thread event.
-       * thread_db.c (thread_get_info_callback): If the thread is a
+       * thread-db.c (thread_get_info_callback): If the thread is a
        zombie, return TD_THR_ZOMBIE.
-       (thread_from_lwp): If thread_get_info_callback returns
+       (thread_from_lwp): If thread_get_info_callback returns
        TD_THR_ZOMBIE, check if the thread is still on the thread list
        and return a -1 ptid if not found.
        (thread_db_wait): If thread_from_lwp returns a -1 ptid, then
This page took 0.036042 seconds and 4 git commands to generate.