* hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
[binutils-gdb.git] / gdb / ChangeLog
index ac6e7408f1acc7725757c8e7af639112b755b030..6e3e5aa0fa51180c14baabaf25fef1b4b0443860 100644 (file)
@@ -1,4 +1,294 @@
-Thu Jul 20 15:00:31 1995  Jeff Law  (law@snake.cs.utah.edu)
+Sun Aug  6 22:14:25 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
+       out of a long branch stub.
+
+Fri Aug  4 13:37:31 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * xcoffread.c (process_linenos): Fix typo in last change.
+
+Thu Aug  3 22:01:26 1995  Fred Fish  <fnf@rtl.cygnus.com>
+
+       * ch-exp.y (write_lower_upper_value):  Add prototype so bison
+       generated parser will insert prototype before first func usage.
+       Bison and byacc order the output sections differently.  Also
+       make function static.
+
+Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Update all FSF addresses except those in COPYING* files.
+
+Thu Aug  3 01:38:45 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * config/alpha/tm-alpha.h (EXTRA_FRAME_INFO):  Add pc_reg field.
+       (SKIP_TRAMPOLINE_CODE):  Define.
+       * alpha-tdep.c (alpha_frame_saved_pc):  Use pc_reg field from
+       frame to find the saved pc register.
+       (alpha_saved_pc_after_call):  Skip over shared library trampoline
+       before trying to find the saved pc register.
+       (find_proc_desc):  Copy PROC_PC_REG from found proc_desc
+       to heuristic proc_desc.
+       (init_extra_frame_info):  Initialize pc_reg field in frame.
+
+Wed Aug  2 18:00:36 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * configure.in (m68*-est-*): Use monitor target config.
+       * configure: Update.
+       * config/m68k/est.mt, config/m68k/tm-est.h: Delete.
+       * config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments.
+
+Tue Aug  1 22:52:53 1995  Fred Fish  <fnf@cygnus.com>
+
+       * Makefile.in (VERSION): Bump to 4.14.2
+
+Tue Aug  1 16:04:36 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * xcoffread.c (process_linenos): The value in include file symbol
+       should point to line number table. Currently this value is not
+       set correctly by AIX ld. A fix to get around this bug.
+
+Tue Aug  1 11:44:53 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * configure.in: Check for working mmap, ansi headers, string.h,
+       strings.h, and memory.h.
+       * configure: Regenerated.
+
+       * gdb_stat.h: New file, "portable" <sys/stat.h>.
+       * gdb_string.h: New file, "portable" <string.h>.
+
+       * altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
+       convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
+       gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
+       i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
+       mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
+       rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
+       symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
+       ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
+       instead of <sys/stat.h>.
+
+       * alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
+       ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
+       core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
+       dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
+       exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
+       fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
+       inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
+       m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
+       monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
+       printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
+       remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
+       remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
+       remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
+       remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
+       remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
+       solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
+       symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
+       valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
+       "gdb_string.h" instead of <string.h>.
+start-sanitize-gdbtk
+       * gdbtk.c: Likewise.
+end-sanitize-gdbtk
+
+       * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
+       sparc/xm-sun4os4.h (HAVE_MMAP): Removed.
+
+       * config/xm-lynx.h, config/i386/xm-ptx.h,
+       config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
+       config/mips/xm-irix3.h, config/mips/xm-mips.h,
+       config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
+       config/pa/hppah.h, config/rs6000/xm-rs6000.h,
+       config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
+       config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
+       config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
+       * config/mips/xm-irix3.h, config/mips/xm-mips.h,
+       config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
+
+Tue Aug  1 02:08:30 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mips-tdep.c (mips_extract_return_value):  Fix returning of
+       values whose length is less than the register size for big endian
+       targets.
+       * alpha-tdep.c (alpha_extract_return_value,
+       alpha_store_return_value):  Use alpha_convert_register_to_*
+       to handle functions returning "float" correctly.
+
+Mon Jul 31 19:12:48 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * h8500-tdep.c: General linting and cleanup.
+       (opcodes/h8500-opc.h): Don't include.
+       (code_size, data_size): Make static.
+       (frame_locals_address, frame_args_address): Remove.
+       (h8300_pop_frame): Rename to h8500_pop_frame.
+       (big_command, medium_command, compact_command, small_command):
+       Define as regular functions rather than with macro trickery.
+       (tm_print_insn): Set to correct disassembler function.
+       * config/h8500/tm-h8500.h: Minor cleanup, add prototypes.
+       (ABOUT_TO_RETURN): #if 0 out.
+       (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define.
+       (GDB_TARGET_IS_H8500): Remove duplicate definition.
+       (regoff): Remove, never used.
+       * config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
+
+Mon Jul 31 14:32:30 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * configure.in: Check for unistd.h.
+       * configure: Regenerated.
+
+       * command.c, cp-valprint.c, fork-child.c, i386-tdep.c,
+       i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c,
+       source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h
+       and/or unistd.h to bring prototypes into scope.
+
+Sun Jul 30 01:40:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * rs6000-tdep.c (frame_saved_pc):  Check for signal handler caller
+       before trying to determine the start of the function.
+       (skip_prologue):  Skip subroutine call which might save the
+       floating point registers only if it is within the first three
+       instructions.
+       Reinstate setting of alloca_reg if setup of a gcc frame pointer
+       is found.
+       (frame_get_cache_fsr):  Use new fields in rs6000_framedata.
+
+Sat Jul 29 14:43:35 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * sparclite: Removed subdirectory.  aload and eload are now in
+       utils/sparclite, low-level library is in libgloss.
+       * configure.in (sparclite*): Don't configure sparclite subdir.
+       * configure: Update.
+       * Makefile.in (TARDIRS): Remove, no longer used.
+
+Sat Jul 29 01:45:56 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * procfs.c (unconditionally_kill_inferior):  Clear current signal
+       if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined.
+       * config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL):  Define.
+
+       * alpha-tdep.c:  Move sigtramp handling of saved registers from
+       read_next_frame_reg to alpha_find_saved_regs, handle saved
+       floating point registers.
+       * mips-tdep.c:  Move sigtramp handling of saved registers from
+       read_next_frame_reg to mips_find_saved_regs, handle saved
+       floating point registers.
+       * config/mips/tm-irix3.h, config/mips/tm-irix5.h,
+       config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF):  Define. 
+
+       * sparc-tdep.c (sparc_pc_adjust):  Fix check for `unimp'
+       instruction to handle functions returning structures with
+       large sizes properly.
+
+Fri Jul 28 11:50:17 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * configure, configure.in (z8k-*-sim): deleted.
+
+Thu Jul 27 12:49:28 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * lynx-nat.c (child_wait): Handle threads exiting.
+
+Thu Jul 27 07:47:50 1995  Michael Meissner  <meissner@cygnus.com>
+
+       * rs6000-tdep.c (skip_prologue): Don't assume the update stack
+       instruction is the last in the prologue, since xlc stores the lr
+       after the stack update.  Make sure offset is correct sign for
+       large frames.
+       (frame_saved_pc): Move test for signal before frameless.
+
+       * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Define.
+       * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Redefine.
+
+Thu Jul 27 01:22:08 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for calling
+       into shared libraries.
+
+Wed Jul 26 23:33:34 1995  Michael Meissner  <meissner@cygnus.com>
+
+       * config/rs6000/tm-rs6000.h (rs6000_framedata): Add offsets the
+       gprs, fprs, lr, and cr is stored at.
+       (FRAME_FIND_SAVED_REGS): Use new fields in rs6000_framedata.
+       (function_frame_info): Delete declaration.
+       (SKIP_PROLOGUE): Skip_prologue is now passed a rs6000_framedata
+       structure to fill in.
+       (FRAMELESS_FUNCTION_INVOCATION): Function now longer takes a
+       second argument.
+       (FRAME_SAVED_PC): Call frame_saved_pc.
+
+       * rs6000-tdep.c (skip_prologue): Recognize V.4 prologues as well
+       as AIX style.  Fill in rs6000_framedata structure.  Remember where
+       the gprs, fprs, cr, and lr are saved.
+       (pop_frame): Use skip_prologue, not function_frame_info, and use
+       new rs6000_framedata fields.
+       (function_frame_info): Function deleted.
+       (frameless_function_invocation): Separate frame_saved_pc support
+       to new function.  Recognize V.4 frames.
+       (frame_saved_pc): New function.
+       (frame_get_cache_fsr): Use skip_prologue, not function_frame_info.
+       (frame_initial_stack_address): Ditto.
+
+Wed Jul 26 01:00:37 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * remote.c:  Add documentation for extended protocol operations
+       and for thread_alive change from a couple weeks ago.
+       (extended_remote_ops): Declare and define a new target vector
+       for the extended remote protocol.
+       (extended_remote_restart): New function to restart the remote
+       server & process.
+       (remote_open): Just a stub routine.
+       (extended_remote_open): New function to start a remote session
+       using the extended gdb remote protocol.
+       (remote_open_1): New function containing code common to both
+       remote_open and extended_remote_open.
+       (remote_mourn, extended_remote_mourn, remote_mourn_1): Similarly.
+       (extended_remote_create_inferior): New function for the extended
+       remote target.
+       (initialize_remote): Add the extended_remote_ops target vector.
+       * gdbserver/server.c (main, case '!'): Set extended_protocol.
+       (main, case 'k'): If the extended protocol is in use, kill the
+       inferior then start a new one.
+       (main, case 'R'): New command to restart the remote server and
+       inferior process.  Only supported when using the extended
+       protocol.
+       (main, server loop): If the inferior terminates while using the
+       extended protocol then start a new one.  If getpkt fails when
+       using the extended protocol then exit.
+
+Tue Jul 25 11:43:44 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab
+       line numbers using the psymtab's section offsets.
+
+Tue Jul 25 10:43:27 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config/rs6000/tm-rs6000.h (rs6000_framedata): Rename from
+       aix_framedata.  Change all uses.
+       * rs6000-tdep.c: Change all aix_framedata -> rs6000_framedata.  
+
+Sat Jul 22 23:44:18 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.
+
+Fri Jul 21 16:50:28 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * lynx-nat.c (child_thread_alive): New function.  Somehow I
+       forgot to check this in with all the other thread_alive changes.
+
+Thu Jul 20 22:22:34 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * somread.c (som_symtab_read): Add unsatisfied common symbols to
+       the minimal symbol table.  All common symbols are "unsatisfied"
+       when -E is passed to the linker.
+
+Thu Jul 20 15:04:57 1995  Fred Fish  <fnf@cygnus.com>
+
+       * top.c (show_endian): Cast first arg of printf_unfiltered to
+       correct type of "char *".
+
+Thu Jul 20 14:18:51 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * lynx-nat.c (child_wait): A thread_id of zero from wait apparently
+       means the process is single threaded, so there's no need to add
+       it to the thread list.  Handle case where multi-threaded process
+       reverts back to a single-threaded process.
 
        * gdbserver/low-hppabsd.c: Remove error declaration.
        * gdbserver/low-sparc.c: Likewise.