* NEWS: Mention that remote.c now has a `load' operation.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a5f8bbfde7ca84c90d7eb81b64a6e91d98ef3d89..3b1eff86f787c8fb4d1e23c399a253861edef98e 100644 (file)
@@ -1,9 +1,290 @@
+Thu Jul 15 08:34:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * NEWS: Mention that remote.c now has a `load' operation.
+
+       * hppa-tdep.c (pc_in_linker_stub): New function.
+       (find_proc_framesize): Return 0 for linker stubs.
+       (rp_saved): Tell the caller where rp is saved.
+       (frame_chain_valid): Return 1 for linker stubs.
+       (frame_saved_pc): Use return value from rp_saved.
+
+       * stack.c (print_frame_info): When checking PC_IN_CALL_DUMMY,
+       pass the sp relative to the frame in question, not the sp in the
+       innermost frame.
+
+Wed Jul 14 17:37:03 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * mipsread.c (parse_procedure): Take as argument the symtab to look
+       the name up in.  Look it up with mylookup_symbol, not lookup_symbol.
+       (psymtab_to_symtab_1): For stabs, pass the symtab to parse_procedure.
+
+       * mipsread.c (mylookup_symbol): Use strcmp, not STREQ, as we have
+       already checked the first characters.
+
+       Changes from Jeffrey Law:
+       * printcmd.c (makeva_list): Use MAKEVA_EXTRA_INFO to define
+       machine dependent fields in the makeva_list structure.
+       (makeva_size): Allocate extra space to handle gaps made by
+       alignment restrictions.
+       * config/pa/xm-pa.h (MAKEVA_EXTRA_INFO): Define.
+       (MAKEVA_START): Initialize arglist_address field.
+       (MAKEVA_ARG): Always store arguments on natural alignment 
+       boundaries.  Set arglist_address to the address right after
+       the args.  
+       (MAKEVA_END): Simply return the value stored in arglist_address.
+
+Wed Jul 14 13:51:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
+       address, not addr.
+
+       * hppah-nat.c (store_inferior_registers): Don't print i in cases
+       where we aren't using it.
+
+       * a29k-tdep.c (get_saved_register): Fix typo.
+
+Wed Jul 14 09:45:52 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * configure.in: Recognize h8300h (variant of h8300).
+
+start-sanitize-v9
+Wed Jul 14 09:45:52 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * configure.in: Recognize sparc64-*-*.
+end-sanitize-v9
+
+Tue Jul 13 14:03:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * stabsread.c (define_symbol): Make the caddr_t hack apply to `function
+       returning foo' as well as `pointer to foo'.
+
+       * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
+       * config/m68k/tm-m68k.h: Define it.
+       * mem-break.c, breakpoint.c: Improve comments.
+
+Tue Jul 13 13:35:31 1993  Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
+
+       * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
+       * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
+
+Tue Jul 13 11:50:38 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
+       Make prototype match definition.
+
+Tue Jul 13 11:15:15 1993  Fred Fish  (fnf@cygnus.com)
+
+       * elfread.c:  Remove notice about file still being under
+       construction.
+       * Makefile.in (ultra3-xdep.o, umax-xdep.o):  Add missing ')'.
+
+Mon Jul 12 17:46:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * a29k-tdep.c (read_register_stack): Make val static.
+
+Mon Jul 12 14:10:48 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * config/h8300/tm-h8300.h (REGISTER_CONVERTIBLE): Change value to 0.
+       (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
+       usual spot.
+
+Mon Jul 12 11:29:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * c-valprint.c (c_val_print): Fix thinko with unspecified length
+       arrays.
+
+       * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
+       use it.
+
+Sun Jul 11 19:35:05 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * symtab.c (decode_line_1): Use end of block to figure out whether
+       val.end is in the same function, not minimal symbols.
+
+       * source.c (line_info): Add a few more wrap_here's.
+
+       * i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
+       don't make assumptions about sizes of host data types.
+
+       * blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
+       * infrun.c, breakpoint.c, printcmd.c: Change callers.
+       * printcmd.c (containing_function_bounds): Remove.
+       * printcmd.c (disassemble_command): Use find_pc_partial_function,
+       not containing_function_bounds.
+       * infcmd.c (step_1): Use find_pc_partial_function rather than
+       trying to roll our own.  Move check for a pc between SIGTRAMP_START and
+       SIGTRAMP_END in find_pc_partial_function, not step_1.
+
+       * sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
+       Keep unswapped value in array of char, not REGISTER_TYPE.
+       Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
+       (sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
+       sizeof (CORE_ADDR).
+
+Thu Jul  1 15:50:05 1993  Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)
+
+       * configure.in (m68*-bull-sysv*): added support for Bull dpx2.
+       * config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
+       * config/m68k/dpx2.m{h,t}: New files.
+
+Sun Jul 11 12:32:08 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
+       more parens around macro arg.
+
+Sat Jul 10 09:54:17 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * infrun.c: Remove step_resume_{duplicate,shadow}.  Replace
+       step_resume_break_address with step_resume_breakpoint (now local
+       to wait_for_inferior).
+       ({insert,remove}_step_breakpoint): Remove.
+       (wait_for_inferior): Set step resume break with
+       set_momentary_breakpoint.  Test hitting it with bpstat_stop_status
+       and bpstat_what (stop_step_resume_break removed).
+       * breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
+       which includes previous return value as main_action, and a step_resume
+       bit.
+       * breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
+       there is another breakpoint there, insert it.
+       * infrun.c (wait_for_inferior): Rearrange the spaghetti a bit.  Use
+       a few more gotos.
+       Various: Clean up and add comments.
+
+       * infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
+       for Wed Nov 13 16:45:13 1991).
+
+Fri Jul  9 12:36:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
+
+       * h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
+       not short *.
+
+       * findvar.c, defs.h
+       ({extract,store}_{signed_integer,unsigned_integer,address}):
+       New routines to replace SWAP_TARGET_AND_HOST.
+       All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.
+
+       * config/sparc/tm-sparc.h: Add comment suggesting that removing
+       ins and locals from the registers array might clean things up.
+
+       * utils.c: Clean up comments about wrap buffer and wrap_here.
+       * printcmd.c (printf_command): Call wrap_here before vprintf.
+
+       * mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
+       Patch from ptf@delcam.co.uk (Paul Flinders).
+
+       * a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins.
+
+Fri Jul  9 09:47:02 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * defs.h, remote-eb.c (TM_FILE_OVERRIDE):  Remove it.
+       * mips-tdep.c (init_extra_frame_info):  Set proper fci->frame if pc
+       is at the start of the dummy code.
+
+Thu Jul  8 14:48:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
+       stuff, just write the sp and fp.
+       (sparc_pop_frame): Skip the do_restore_insn; we already restore
+       the sp with the other out registers.
+
+       * hppa-tdep.c (hppa_push_arguments): Allocate enough space for
+       arguments.
+
+       * hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
+
+start-sanitize-v9
+Thu Jul  8 14:47:00 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * sparc-tdep.c (sparc_frame_chain): Handle sizeof (CORE_ADDR)
+       != sizeof (REGISTER_TYPE).
+       (frame_saved_pc): Ditto.
+end-sanitize-v9
+
+Thu Jul  8 08:22:05 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * config/h8300/tm-h8300.h: (REGISTER_TYPES): Adjust for h8/300h.
+       (REGISTER_RAW_SIZE): Ditto.
+       (REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs
+       on the h8/300h (ints may still be 16 bits).
+       (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
+       EXTRACT_STRUCT_VALUE_ADDRESS): Add FIXME's for h8/300h.  Some
+       thought needed here.
+
+       * h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
+       (examine_prologue): reg_save_depth is 4 if h8/300h.
+
+       * findvar.c (read_register): Provide some support for 64 bit regs.
+       (write_register): Ditto.
+
+Wed Jul  7 14:30:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/mips/nm-riscos.h: machine/machparam.h is always the right
+       place to look for BSD43_NBPG, not machine/vmparam.h
+
+       * infcmd.c (run_stack_dummy): New argument name.
+       Change error message in (another) attempt to make it comprehensible.
+       * valops.c (call_function_by_hand): Pass name to run_stack_dummy.
+       * symtab.h: Declare demangle and asm_demangle since macros use them.
+
+       * eval.c (evaluate_subexp): Add comment about calling a member
+       function of a variable in a register.
+
+       * expression.h: Clean up comment about string in STRUCT_STRUCT etc.
+
+       * config/{rs6000/tm-rs6000.h,sparc/tm-sparc.h,pyr/tm-pyr.h},
+       inferior.h (PC_IN_CALL_DUMMY) [ON_STACK]: Add comments about stack
+       frame tops and bottoms.
+
+       * frame.h, blockframe.c, stack.c, a29k-tdep.c,
+       config/gould/tmp-{pn,np1}.h,
+       config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
+       next_frame from struct frame_info.  It has no purpose beyond
+       ->next->frame and is an artifact from GDB 2.8.
+
+Tue Jul  6 11:51:18 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * Makefile.in: Remove gdb before creating a new one.
+       Update init.c atomically.
+
+       * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
+       (ALLCONFIG): Add config/alpha/alpha-osf1.mh.
+
+       * infcmd.c (_initialize_infcmd): In docstring for "continue",
+       describe argument as setting ignore count.
+
+Sun Jul  4 15:04:47 1993  Doug Evans  (dje@cygnus.com)
+
+       * h8300-tdep.c (examine_prologue): Fix call to
+       read_memory_unsigned_integer.
+
+Fri Jul  2 18:22:54 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
+       rather than including xm-bigmips.h.
+
+       * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
+       default cases.
+
+       * Makefile.in (distclean): Remove y.tab.h.
+
+Fri Jul  2 14:55:48 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * exec.c (exec_file_command):  Remove Mar 28 hack as BFD handles
+       file updates properly now.
+       * mipsread.c (mips_coff_new_init):  Force reevaluation of sigtramp
+       addresses if switching to a new symbol file.
+       * dbxread.c (process_one_symbol):  Avoid dereferencing NULL
+       symbols that might be returned from define_symbol.
+
 Fri Jul  2 13:33:12 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
 
        New target macros for getting at the pc, sp and fp.
        * infcmd.c (read_pc, write_pc):  Modify to use new macros.
        (read_sp, write_sp, read_fp, write_fp): New functions.
-       * blockframe.c (reinit_frame_cache, get_prev_frame_info):  Use new functions.
+       * blockframe.c (reinit_frame_cache, get_prev_frame_info):
+       Use new functions.
        * breakpoint.c (bpstat_alloc): ditto.
        * infrun.c (wait_for_inferior): ditto.
        * stack.c (print_frame_info): ditto.
@@ -169,6 +450,30 @@ Fri Jun 25 11:22:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
        * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
        CALL_DUMMY between different 68k machines.
 
+Fri Jun 25 17:02:45 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * gdbserver/Makefile.in:  Add dependancies on server.h.
+       * gdbserver/remote-gutils.c:  Remove lots of unused functions and
+       variables.
+       * gdbserver/remote-inflow.c:  Remove lots of unused variables and
+       #includes.  Also, use PTRACE_* symbols instead of constants. 
+       (mywait):  Surround calls to wait() with enable/disable_async_io()
+       so that we can be interrupted from GDB while waiting for the
+       child.  Also, handle child exit more gracefully.
+       * gdbserver/remote-server.c:  Remove lots of unused variables.
+       Move all extern defs into server.h.  Redo main loop so that
+       failure from getpkt() causes communications to be re-established.
+       Fix 'k' command so that it restarts the child.
+       * gdbserver/remote-utils.c:  Remove lots of unloved vars and
+       subrs.  Move many extern decls into server.h.  (remote_open):  For
+       tcp, seperate usage of proto fd from connected fd.  Close proto
+       fd after getting connection.  (putpkt/getpkt):  Pay attention to
+       errors when reading/writing.  Report these to the caller.  New
+       routines input_interrupt/enable_async_io/disable_async_io to make
+       it possible to get an I/O interrupt when data arrives from the
+       comm link.
+       * serial.h:  New file to contain common defs for all remote files.
+
 Fri Jun 25 17:02:45 1993  Stu Grossman  (grossman at cygnus.com)
 
        * remote.c:  Add arg names to prototypes, in a modest effort at
@@ -183,6 +488,11 @@ Fri Jun 25 17:02:45 1993  Stu Grossman  (grossman at cygnus.com)
        * ser-unix.c (wait_for):  Restart select() if we got EINTR.
        * serial.c: (serial_close):  Clean up code.
 
+Fri Jun 25 11:22:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
+       CALL_DUMMY between different 68k machines.
+
 Fri Jun 25 11:22:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
This page took 0.026777 seconds and 4 git commands to generate.