2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b0c3fbf8c5bead73732ae42ab347e01c7fbf5f07..6ba978721c0ad0251c12f663b9a17961f1fe864c 100644 (file)
@@ -1,3 +1,323 @@
+2000-05-05  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * procfs.c (many functions): change int cmd; to long cmd;
+       Solaris /proc API calls this parameter a long, and requires it
+       for 64-bit hosts (where sizeof(long) != sizeof(int)).  UnixWare
+       calls it an int, but on existing UnixWare hosts, int and long
+       are the same size.  So long it must be.  If a future UnixWare
+       version has problems with this, we'll have to use autoconf.
+       * proc-api.c (write_with_trace): use long instead of int.
+
+2000-05-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-linux-nat.c: Define PT_READ_U and PT_WRITE_U if they're not
+       already defined.
+
+2000-05-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * infrun.c (handle_inferior_event): Add missing call to keep_going
+       and missing return when handling an ordinary signal from the
+       inferior.
+
+Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+        * objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
+        SECT_OFF_RODATA): Define as functions of OBJFILE.  Add
+        sect_index_text, sect_index_data, sect_index_rodata,
+        sect_index_bss to objfile structure.
+        * gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS,
+        SECT_OFF_RODATA): Remove.
+        * objfiles.c (allocate_objfile): Initialize
+        sect_index_{text,data,bss,rodata} to -1, for error detection.
+
+        * symfile.c (default_symfile_offsets): Initialize
+        sect_index_{text,data,bss,rodata} from bfd information.
+        * xcoffread.c (xcoff_symfile_offsets): Ditto.
+        * somread.c (som_symfile_offsets): Initialize
+        sect_index_{text,data,bss,rodata}.
+
+        * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c,
+        hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c,
+        mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h,
+        remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c,
+        stabsread.c, symfile.c, xcoffread.c:
+        Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the
+        current objfile.
+
+        * xcoffread.c: Add new field objfile to find_targ_sec_arg.
+
+Thu May  4 20:54:00 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * config/mips/tm-mipsv4.h (Dest_Reg), config/mips/tm-irix5.h
+       (MIPS_NUM_ARG_REGS, Dest_Reg), config/mips/tm-mips.h
+       (MIPS_NUM_ARG_REGS), config/mips/tm-mips.h (MIPS_NUM_FP_ARG_REGS):
+       Delete unused macros.
+
+2000-05-03  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * solib.c (elf_locate_base, info_sharedlibrary_command):
+       Look at the bfd to determine if it is elf32 or elf64, rather
+       than using an ifdef.  This makes it runtime teststable and
+       multi-arch.
+
+2000-05-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * infrun.c (handle_inferior_event): When doing a "next", and
+       stepping out of a signal handler into its calling trampoline
+       ignore the value of step_frame_address.
+       (step_over_function): Only modify step_resume_breakpoint->frame if
+       the value of step_frame_address is non-zero.
+
+2000-05-03  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * monitor.c (monitor_fetch_register): MAX_REGISTER_RAW_SIZE
+       is not static in the MULTI_ARCH world, so don't use it in a
+       static array declaration.
+
+2000-05-03  Elena Zannoni  <ezannoni@makita.cygnus.com>
+
+       * symtab.c (in_prologue): From Jim Blandy. Rewrite, more
+       intelligently, making sure we use the information from the 
+        symbol tables fully.
+
+2000-05-02  H.J. Lu  <hjl@gnu.org>
+
+       * ia64-tdep.c (ia64_gdbarch_init): Reference to ELFOSABI_NONE
+       instead of ELFOSABI_SYSV.
+
+Tue May  2 19:07:20 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch.sh (NPC_REGNUM, NNPC_REGNUM): Add.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+       * gdbserver/remote-utils.c (prepare_resume_reply): Change #ifdef
+       NPC_REGNUM to run-time test.
+       * findvar.c (generic_target_write_pc): Change #ifdef NPC_REGNUM
+       and NNPC_REGNUM to run-time test.
+       * procfs.c (procfs_fetch_registers): Change #ifdef NPC_REGNUM to
+       run-time test.
+       (procfs_store_registers): Ditto.
+
+Tue May  2 18:48:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch.sh: Provide non- multi-arch defaults by direct
+       definition in "gdbarch.h" instead of going through "gdbarch.c".
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * defs.h: When non- multi-arch, include "arch-utils.h" so that
+       legacy definitions are globally visible.
+       
+Tue May  2 16:32:06 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Add Syd Polk to gdbtk maintainers.
+       (symtabs): Add Elena to symtabs maintainers list.
+       (Blanket Write Privs): Add Jim Blandy.
+
+2000-05-01  Stan Shebs  <shebs@apple.com>
+
+       Remove obsolete Gould configuration:
+       * configure.host, configure.tgt: Remove Gould configs.
+       * Makefile.in: Remove Gould-related actions.
+       * gould-xdep.c, gould-tdep.c, config/gould/*: Remove files.
+       * NEWS: Mention removal.
+       
+Mon May  1 15:37:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-04-28 Andreas Jaeger <aj@suse.de>:
+       * defs.h: Properly check for GCC version number.
+
+2000-04-30  Mark Kettenis  <kettenis@gnu.org>
+
+       Fix single-stepping out of signal trampolines.
+       * config/i386/nm-linux.h (CHILD_RESUME): Define.
+       * i386-linux-nat.c (child_resume): New function.
+
+Fri Apr 28 16:22:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * blockframe.c (frameless_look_for_prologue): Use
+       PROLOG_FRAMELESS_P instead of SKIP_PROLOGUE_FRAMELESS_P.
+       * gdbarch.sh (PROLOG_FRAMELESS_P): Define.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * arch-utils.h, arch-utils.c (generic_prologue_frameless_p): New
+       function.
+       
+Fri Apr 28 15:31:10 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From "Serge Nikulin" <nikulin@actsw.amat.com>:
+       * m68k-tdep.c (delta68_in_sigtramp): Return 0 when the function
+       name is unknow.
+
+2000-04-27  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * gdbarch.sh (d10v_daddr_p, d10v_iaddr_p, d10v_convert_daddr_to_raw,
+       d10v_convert_iaddr_to_raw): make these multi-arch functions optional.
+       * gdbarch.c, gdbarch.h: regenerate
+       
+Fri Apr 28 12:21:28 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>:
+       * target.c (do_monitor_command): Cast tcomplain to correct
+       function type in comparison.
+
+Fri Apr 28 11:43:05 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-04-25 Guy Harris <guy@netapp.com>:
+       * config/alpha/alpha-osf3.mh (XDEPFILES): Add ser-tcp.o and
+       ser-pipe.o
+
+2000-04-27  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * jv-valprint.c (java_val_print): Add arg declaration, 
+       fix compiler warning.
+       * corelow.c (core_open): Call set_gdbarch_from_file so that 
+       gdbarch becomes aware of the architecture encoded in the 
+       corefile.
+       * findvar.c (write_register_gen): Export this useful interface.
+       * value.h (write_register_gen): Declare.
+
+2000-04-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * cxux-nat.c (add_shared_symbol_files): Don't treat .text section
+       as special in the section_addr_info structure.
+       * pa64solib.c (pa64_solib_add_solib_objfile): Ditto.
+       * osfsolib.c (symbol_add_stub): Ditto.
+       * irix5-nat.c (symbol_add_stub): Ditto.
+
+Thu Apr 27 14:07:16 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips-tdep.c, d10v-tdep.c: Include "arch-utils.h".
+
+Thu Apr 27 10:06:42 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO: Document IRIX X ARM cross compile problems.
+
+2000-04-26  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * utils.c (internal_verror): Call target_terminal_ours.
+       * wrapper.h: Fix minor comment typo.
+       * proc-api.c (write_with_trace): Change 'arg' from long to int.
+       Treat 'off_t' and 'size_t' as unsigned long in printfs.
+       (lseek_with_trace): Treat 'off_t' as unsigned long in printf.
+       * procfs.c (comments): Eliminate "???" in comments, which GCC
+       wants to interpret as a trigraph.  (fill_gregset, supply_gregset,
+       fill_fpregset, supply_fpregset): Declare.
+       (procfs_wait): Sysargs is a long, change printf format to match.
+       (test-mapping, mapping_test, test_mapping_cmd) Remove (test only).
+
+2000-04-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * config/djgpp/fnchange.lst (ia64-linux-nat.c): Map to
+       ia64linux-nat.c.
+
+Wed Apr 26 13:50:35 2000  Philippe De Muyter  <phdm@macqel.be>
+
+       * ax-gdb.c (agent_command): Remove now useless cast of
+       `free_current_contents' when passed to `make_cleanup'.
+       * coffread.c (coff_symfile_read): Ditto.
+       * dwarf2read.c (dwarf2_add_member_fn, read_array_type): Ditto.
+       (dwarf_decode_lines): Ditto.
+       * eval.c (parse_and_eval_address, parse_and_eval_address_1): Ditto.
+       (parse_and_eval, parse_to_comma_and_eval): Ditto.
+       * parse.c (parse_exp_1): Ditto.
+       * printcmd.c (print_command_1, output_command, set_command): Ditto.
+       (x_command, print_frame_args, printf_command): Ditto.
+       * top.c (execute_control_command): Ditto.
+       * tracepoint.c (validate_actionline): Ditto.
+       * typeprint.c (whatis_exp, ptype_command): Ditto.
+       (maintenance_print_type): Ditto.
+
+2000-04-26  Kevin Buettner  <kevinb@redhat.com>
+
+       * Makefile.in (ALLDEPFILES): Add ia64-linux-tdep.c.
+       (ia64-linux-tdep.o): Add dependencies.
+       (ia64-tdep.o): Add dependency for arch-utils.h.
+       * ia64-linux-tdep.c, ia64-tdep.c (arch-utils.h): Include.
+
+2000-04-25  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * blockframe.c: Fix a minor typo in a comment.
+
+2000-04-25  Kevin Buettner  <kevinb@redhat.com>
+
+       * ia64-tdep.c (examine_prologue): Recognize store instructions;
+       those whose source operands are input registers which haven't
+       been seen before are considered to be part of the prologue.
+
+Tue Apr 25 13:51:58 2000  glen mccready  <gkm@pobox.com>
+
+       * rs6000-nat.c (xcoff_relocate_symtam): Recover from the wrong
+       patch being applied `Fri Apr  7 13:44:38 2000'.
+
+2000-04-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * ia64-linux-tdep.c: New file.
+       * ia64-tdep.c (elf-bfd.h): Include.
+       (ia64_linux_sigcontext_register_address): New extern declaration.
+       (struct gdbarch_tdep): New struct.
+       (SIGCONTEXT_REGISTER_ADDRESS): New define.
+       (read_sigcontext_register): New static function.
+       (extract_bit_field, replace_bit_field, slotN_contents,
+       replace_slotN_contents): Made static.
+       (ia64_frame_chain, ia64_frame_saved_pc, ia64_init_extra_frame_info):
+       Added new code for signal handler frames and call dummy frames.
+       (ia64_frame_init_saved_regs): Handle signal handler frames.
+       (ia64_find_saved_register): Removed.
+       (ia64_get_saved_register): Handle call dummy frames; reorganized
+       to call generic_get_saved_register() to find registers saved
+       in previous frames.
+       (process_note_abi_tag_sections): New static function.
+       (ia64_gdbarch_init): Attempt to determine the ABI/OS of the
+       executable.  Based upon this information, set target dependent
+       field sigcontext_register_address appropriately.  Also set
+       FRAME_CHAIN_VALID to be generic_func_frame_chain_valid.
+       * config/ia64/linux.mt (TDEPFILES): Add ia64-linux-tdep.o.
+       * config/ia64/tm-linux.h (IN_SIGTRAMP): Define.
+       (ia64_linux_in_sigtramp): New declaration.
+
+2000-04-23  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * TODO, NEWS: Update due to inclusion of gdbmi.texinfo in the GDB
+       manual.
+
+2000-04-23  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * config/djgpp/README: Explain how to unpack using djunpack.bat.
+
+Fri Apr 21 15:23:13 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * stabsread.c (REG_STRUCT_HAS_ADDR): Delete default.
+       (define_symbol): Check REG_STRUCT_HAS_ADDR_P before using
+       REG_STRUCT_HAS_ADDR.
+       (define_symbol): Ditto.
+
+       * valops.c (hand_function_call): Replace #ifdef
+       REG_STRUCT_HAS_ADDR with if REG_STRUCT_HAS_ADDR_P.  Re-indent
+       affected code.
+
+       * gdbarch.sh (REG_STRUCT_HAS_ADDR): Add along with the predicate
+       function REG_STRUCT_HAS_ADDR_P.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       
+2000-04-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * gdb-stabs.h (SECT_OFF_MAX): Increase to 40.
+
+2000-04-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * win32-nat.c  (handle_load_dll): Don't treat .text as a special
+       section anymore.
+       * somread.c (som_symfile_offsets): Ditto.
+       * somsolib.c (som_solib_add_solib_objfile): Ditto.
+
+Fri Apr 21 16:14:38 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * MAINTAINERS: Make Jimmy Guo TUI maintainer.
+
+Fri Apr 21 14:37:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * command.h (help_all): Delete declaration.
+       * command.c (help_all): Add declaration.  Convert function
+       argument list to ISO-C.
+
 Thu Apr 20 18:15:08 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.
@@ -1533,6 +1853,10 @@ Mon Mar 13 18:54:42 2000  Andrew Cagney  <cagney@b1.cygnus.com>
        (rank_one_type): Change #if 0 to #ifdef DEBUG_OLOAD.
        * gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness"
        associated with converting a non-reference to a reference.
+    * eval.c (evaluate_subexp_standard): for OP_VAR_VALUE, always
+    return full value object; for STRUCTOP_PTR, use pointer to
+    rtti type to get member / method if objectprint is set and
+    target type of pointer is class.
 
        * gdbtypes.c (rank_one_type): Add comment on how to eliminate the
        #ifdef DEBUG_OLOAD.
This page took 0.027247 seconds and 4 git commands to generate.