* ch-valprint.c (annotate.h): Include.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 575c2dff59e98061cf6a23ad8a90835722102171..9902cb1ed3a4e6668e58a7374f5a5b5783e5b28f 100644 (file)
@@ -1,3 +1,431 @@
+Mon Mar 13 18:27:25 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * ch-valprint.c (annotate.h): Include.
+       * eval.c (evaluate_subexp_standard): Remove unused variable.
+       (calc_f77_array_dims): Add parens to expression.
+       * f-exp.y (yylex): Add parens to expression, remove unused label.
+       * f-lang.h (calc_f77_array_dims): Declare.
+       * f-valprint.c (f_val_print): Remove unused variables.
+
+Mon Mar 13 15:25:47 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
+
+       * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
+       use the PDR, just examine prologues instead.
+
+start-sanitize-arc
+Fri Mar 10 16:13:18 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * config/tm-arc.h: Change arc register names.
+end-sanitize-arc
+
+Fri Mar 10 02:49:40 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       Fix problems with infinite recursion when printing a class
+       that contains a static instance of the class.
+       * cp-valprint.c (dont_print_vb_obstack):  Renamed from
+       dont_print_obstack, made static.
+       (dont_print_statmem_obstack):  New obstack, controls printing
+       of static member classes.
+       (_initialize_cp_valprint):  Initialize it.
+       (cp_print_static_field):  New function, handles printing of
+       static members.
+       (cp_print_value_fields):  New parameter dont_print_statmem to
+       handle recursive printing of static member classes, use
+       cp_print_static_field to handle printing of static members.
+       * c-valprint.c (cp_print_value_fields):  Update prototype and
+       call to include additional dont_print_statmem parameter.
+       * c-valprint.c, f-valprint.c (dont_print_obstack):  Remove unused
+       extern declaration.
+
+       * alpha-tdep.c, findvar.c, infptrace.c:  Include <string.h>.
+
+       * config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS):  Call
+       alpha_find_saved_regs if fi->saved_regs is still NULL.
+
+       * elfread.c (elf_symtab_read):  Ensure that the filename field
+       of a minsym is nonempty. Ignore solib trampoline symbols from
+       the main symbol table, they might have a bogus value.
+
+       * procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
+       Fix typos in comments.
+
+Thu Mar  9 17:19:47 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
+
+       * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
+       pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1.  That way
+       we know whether the PDR ever got set.
+       * mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
+       use the PDR, just examine prologues instead.
+
+Wed Mar  8 23:35:10 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * somsolib.c (som_solib_section_offsets): Get offset of text
+       section right. 
+
+Wed Mar  8 16:12:21 1995  Stu Grossman  (grossman@cygnus.com)
+
+start-sanitize-gdbtk
+       * gdbtk.c (gdb_get_breakpoint_info):  Return error if breakpoint
+       type is not bp_breakpoint.
+end-sanitize-gdbtk
+
+       * source.c (forward_search_command reverse_search_command):  Set
+       convenience variable $_ to be the line # of the match.
+       * symtab.c (decode_line_1):  Allow convenience variables to be
+       used in line specs (for breakpoints and such).
+
+Wed Mar  8 12:51:00 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * Makefile.in (VERSION): Bump to 4.14.1.
+       * NEWS, README: Update for 4.14.
+       * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
+       (i386_insert_nonaligned_watchpoint): Call aligned instead of
+       generic watchpoint insertion.
+
+Tue Mar  7 19:26:10 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * valops.c (value_slice):  Do COERCE_VARYING_ARRAY.
+
+Tue Mar  7 00:23:47 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * monitor.c, array-rom.c, monitor.h, rom68k-rom.c:  Move target_ops
+       into monitor.c.
+       * monitor.c (monitor_create_inferior):  Allow run command to start
+       program.
+
+       * monitor.c (monitor_load):  Set PC to start address when done
+       loading.
+
+       * array-rom.c, monitor.h, rom68k-rom.c:  Clean up target_ops.
+       Remove ref to monitor_create_inferior.
+
+       * monitor.c:  More general cleanups.  Add prototypes, remove
+       unused routines.  Fix bug with wrong number of args to error().
+
+       * main.c (main):  Don't start up GUI when running under gdb mode
+       in emacs.
+
+       * Makefile.in:  Add rules for monitor.o and rom68k-rom.o to make
+       Sun make (with VPATH) work...
+
+       * monitor.c, monitor.h, rom68k-rom.c:  Serious cleanup to make IDP
+       (rom68k) target work right.
+       * array-rom.c, op50-rom.c, w89k-rom.c:  Partial updates to new
+       monitor.c interface.  More work needs to be done here.
+       * config/m68k/tm-monitor.h:  Change DECR_PC_AFTER_BREAK to 0 to
+       match the IDP monitor.  Also, set NUM_REGS to 18 cuz there's no
+       floating-point for this card.
+
+       * serial.h, ser-go32.c, ser-go32-para.c, ser-mac.c, ser-tcp.c,
+       ser-unix.c:  Add SERIAL_SETSTOPBITS to set the number of stopbits
+       (needed for IDP board?!?!?).
+
+       * defs.h, utils.c, remote-hms.c, remote-pa.c, remote.c:  Fix defs
+       and usage of fputc_unfiltered and putchar_unfiltered.  Eliminate
+       putc_unfiltered (it's superfluous).
+
+       * command.h, command.c, top.c:  Add var_enum command type.  It's
+       like var_string but allows only only one of the specified strings.
+
+Mon Mar  6 15:03:59 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * valops.c (value_cast): Don't use backslash newline--pre-ANSI
+       compilers (such as SunOS4 /bin/cc) don't generally support it
+       except in some contexts.
+
+Fri Mar  3 17:42:48 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * valops.c (value_cast):  Check for cast to array type *before*
+       we coerce array to pointer (in case arg2 is already array).
+
+       * valops.c (call_function_by_hand):  Set using_gcc to 2 if using
+       gcc2.  Needed for REG_STRUCT_HAS_ADDR to work on sparc.
+       Also check REG_STRUCT_HAS_ADDR for union, array and string types.
+
+       * valops.c (call_function_by_hand):  Re-arrange code for pushing
+       paramaters on the stack so we can do better STACK_ALIGN.
+
+       * valops.c (call_function_by_hand):  Call error if the number
+       of arguments is fewer than parameter types in function type.
+
+Fri Mar  3 17:13:05 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sparc-tdep.c (sparc_extract_struct_value_address): Move
+       sparc64 support to here.
+       (sparc64_extract_struct_value_address): Deleted.
+       (dump_ccreg): Add a prototype so long long arg -> int.
+       * sparc/tm-sp64.h (USE_STRUCT_CONVENTION): Define.
+       (EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
+
+Fri Mar  3 15:12:12 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hpread.c (hpread_record_lines): New argument "offset".  All
+       callers changed.  Use it to handle dynamic address relocation.
+       (hpread_build_psymtabs): Adjust texthigh as we read each function
+       debug symbol.  Fix computation of texthigh.
+       (hpread_read_subrange_type): Work around macro bugs in HP's
+       compilers.
+       (hpread_process_one_debug_symbol): Correctly map source lines.
+
+       * somread.c (check_strange_names): Filter names emitted by the HP
+       compiler when generating PIC code.
+
+       * valops.c (value_struct_elt_for_reference): Work around macro
+       bugs in HP's compilers.
+       * c-exp.y (block): Likewise.
+
+Fri Mar  3 12:27:28 1995  Jim Kingdon  <kingdon@deneb.cygnus.com>
+
+       * rs6000-tdep.c (push_dummy_frame): Fix order of arguments to
+       store_address.
+
+       * utils.c [_AIX]: Include stddef.h instead of #defining size_t.
+
+Fri Mar  3 12:33:24 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * rs6000-tdep.c (skip_prologue): Skip multiple stores of the saved
+       registers that GCC emits on the PowerPC by default in addition to
+       the store multiple instruction used on the Power series.
+
+Fri Mar  3 00:54:58 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * sparc-tdep.c (decode_asi): New function.
+       (sparc_print_register_hook): Pretty print more v9 registers.
+       * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
+
+Thu Mar  2 22:20:22 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
+       (target_to_host): Change result type to CORE_ADDR.
+
+Thu Mar  2 15:13:04 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * rs6000-tdep.c: Fix byte-swapping sins.
+
+Thu Mar  2 16:48:45 1995  Michael Meissner  <meissner@cygnus.com>
+
+       * rs6000-tdep.c (branch_dest): Minor code cleanup, don't share
+       code between branch unconditional and branch conditional cases.
+
+Wed Mar  1 09:41:26 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       Various changes for sparc64.
+       * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
+       (SPARC_INTREG_SIZE): Define.
+       (*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
+       where appropriate.
+       (enum branch_type): New value `done_retry'.
+       (isbranch): Renamed from isannulled.  All callers changed.
+       Support new sparc64 branch insns.
+       (single_step): Handle done_retry.
+       (sparc_extract_struct_value_address): Don't assume 4 byte regs.
+       (get_saved_register): Likewise.
+       (sparc_push_dummy_frame): Likewise.
+       (sparc_frame_find_saved_regs): Likewise.
+       (sparc_pop_frame): Likewise.  Don't refer to FPS_REGNUM, CPS_REGNUM,
+       or PS_REGNUM if not sparc64.  sparc64 has 64 fp regs.
+       (sparc64_extract_struct_value_address): New function.
+       (dump_ccreg, sparc_print_register_hook): Likewise.
+       * sp64-tdep.c: Deleted.
+       * sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
+       (NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
+       (CC_HAS_LONG_LONG): Define.
+       (REGISTER_NAMES): Delete cle/tle and reorganize.
+       (PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
+       sparc-tdep.c now.
+       (REGISTER_BYTES): Update.
+       (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
+       (EXTRACT_RETURN_VALUE): Delete.  Use definition in tm-sparc.h.
+       (NO_SINGLE_STEP): Likewise.
+       * sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
+       * sparc/sp64.mt: Move simulator support ...
+       * sparc/sp64sim.mt: ... to here.
+
+Wed Mar  1 13:14:42 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * remote-vx960.c: new file for target specific register packaging.
+       * remote-vx68.c: ditto.
+       * config/i960/vxworks960.mt: add remote-vx960.o.
+       * config/m68k/vxworks68.mt: add remote-vx68.o.
+
+Wed Mar  1 13:42:49 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * remote.c (remote_wait): Make calls to strtol be type correct by
+       passing the address of a char * pointer instead of an unsigned
+       char *.
+
+       * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
+       write_memory to make things type correct.
+
+Wed Mar  1 12:17:31 1995  Michael Meissner  <meissner@cygnus.com>
+
+       * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
+       standard Linux yacc by adding more names to be redefined with a
+       prefix.
+
+Tue Feb 28 22:55:47 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * hppa-tdep.c (pa_print_registers), monitor.c: Use
+       extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
+       * defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
+       Rename it to SWAP_FLOATING to make it clear it is no longer for
+       integers.
+
+Tue Feb 28 14:38:39 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
+       compile time.
+
+start-sanitize-arc
+       * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to 
+       processor.
+       * remote-arc.c (arc_wait): when a processor stops, stop other two
+       processors too.
+       * remote-arc.c (switch_command): switch tm_print_insn.
+end-sanitize-arc
+
+       * vx-share/ptrace.h: merge in WRS new ptrace requests.
+
+       * defs.h: fix a syntax error.
+
+       * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
+       * remote-vx.c: move read_register and write_register out to 
+       target specific files.
+       * remote-vx29k.c (get_fp_contnets): add this function, from WRS.
+
+       * defs.h: define SWAP_TARGET_AND_HOST macro.
+       * findvar.c, monitor.c, hppa-tdep.c: remove definition of
+       SWAP_TARGET_AND_HOST.
+
+Tue Feb 28 08:31:40 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * alpha-tdep.c (find_proc_desc): Only attempt to set
+       PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
+
+Mon Feb 27 11:56:32 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * monitor.c: General gcc -Wall lint cleanup and reformat.
+       (monitor_command): If no args, send an empty command.
+
+Thu Feb 23 21:07:25 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * monitor.c (monitor_load_ascii_srec):  Add a one second sleep
+       after send LOAD_CMD to prevent loss of first S-record.
+
+Tue Feb 21 20:48:42 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * valops.c (call_function_by_hand):  Set using_gcc to 2 if gcc-2.
+       Call error if too few arguments.
+       If REG_STRUCT_HAS_ADDR (structs passed by invisible reference),
+       copy and convert to reference *before* we calculate alignment.
+       Also, make sure structs allocated for return values and invisible
+       reference don't violate STACK_ALIGN.
+
+Tue Feb 21 23:29:59 1995  Per Bothner  <bothner@rtl.cygnus.com>
+
+       * ch-exp.y (expression_conversion):  Recognize 'ARRAY () TYPE (EXPR)'
+       (same as C's '(TYPE[])EXPR')
+
+Tue Feb 21 11:47:26 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * top.c (print_gdb_version): Update the year.
+
+Sun Feb 19 14:31:57 1995  Jim Kingdon  <kingdon@rtl.cygnus.com>
+
+       * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Look for newlib in
+       `..' not in `../..'.
+
+Sun Feb 19 11:05:28 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * procfs.c (unconditionally_kill_inferior):  Don't issue a PIOCKILL
+       in addition to a PIOCSSIG to kill the inferior.
+
+Thu Feb 16 15:06:12 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * parse.c (follow_types):  Given (TYPE[]) (i.e. with no length),
+       create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
+       * valops.c (value_cast):  If a cast like (TYPE[])VALUE (i.e. array
+       of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
+       * c-typeprint.c (c_type_print_varspec_suffix):  If array length
+       is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
+
+Thu Feb 16 16:06:50 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * dcache.c (insque, remque): Rewrite Linux support.
+
+Wed Feb 15 12:33:20 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config/powerpc/tm-ppc-eabi.h (TEXT_SEGMENT_BASE): Define as 1.
+
+       * dcache.c (insque, remque): If compiling in standard C on Linux,
+       protect insque and remque with macros to cast the pointer
+       arguments to the proper type.
+
+Tue Feb 14 17:16:41 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * annotate.c, breakpoint.c, defs.h, top.c:  Replace
+       enable/disable_breakpoint_hook with modify_breakpoint_hook.
+start-sanitize-gdbtk
+       * gdbtk.c: Ditto.
+       * gdbtk.c: General cleanups, get rid of unused variables.  Redo
+       handling of stdout/stderr to just return output as the result of
+       the tcl command that caused the output.  Cleanup -Wall stuff.
+       * (breakpoint_notify):  Now returns just action and breakpoint
+       number.
+       * (gdb_get_breakpoint_list):  New routine.  Does the obvious.
+       * (gdb_get_breakpoint_info):  Mostly derived from the old
+       breakpoint_notify, but returns lots more info.
+       * (dsprintf_append_element):  Helper routine, works like printf,
+       but appends a tcl element onto the specified DString.  Good for
+       building up lists as return values.
+       * (gdbtk_enable/disable_breakpoint):  Go away.  Replaced with
+       gdbtk_modify_breakpoint.
+       * (*many routines*):  Use new result protocol.
+       * (call_wrapper):  Make sure that recursive calls don't trash results.
+       * gdbtk.tcl:  New windows, autocmd, and breakpoints.
+       * (gdbtk_tcl_fputs):  Don't use $current_output_win redirection
+       anymore.  It's not needed (in fact, this routine may not be needed
+       anymore).
+       * (gdbtk_tcl_breakpoint):  Change to reflect new breakpoint
+       notification protocol.
+       * (gdbtk_tcl_busy gdbtk_tcl_idle):  Straighten out buttons, remove
+       catches.
+       * (interactive_cmd):  Use this wrapper around button invocations
+       of many commands.  This will catch errors and put the results into
+       the command window.  It also updates all the other windows.
+       * Also, change reliefs of most things to sunken.  This actually
+       looks better.
+       * (create_file_win):  Fix margin binding to allow breakpoints to
+       work again.
+       * (create_asm_win):  Use return value of gdb_disassemble instead
+       of implicit I/O to the command window.  
+       * (create_command_window):  Use new result protocol to get output
+       from commands.
+end-sanitize-gdbtk
+
+Tue Feb 14 16:58:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * expression.h: Move declaration of evaluate_subexp_with_coercion
+       from here...
+       * value.h: ...to here.
+       * expression.h: Don't include value.h
+
+Tue Feb 14 11:46:07 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * expression.h: Move include of value.h until after declaration of
+       enum exp_opcode.
+
+Sun Feb 12 13:47:30 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * remote-e7000.c: Comprehensive cleanup; removal of dead code,
+       simplify code, declare things, format to standards.
+       (inferior.h, value.h, command.h, remote-utils.h): Include.
+       (e7000_login): Rename to e7000_login_command.
+       (e7000_ftp): Rename to e7000_ftp_command.
+       (e7000_drain): Rename to e7000_drain_command.
+
+       * irix5-nat.c (string.h): Include near beginning of file.
+
 Sun Feb 12 12:36:38 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
@@ -472,12 +900,14 @@ Wed Jan 25 18:13:14 1995  Per Bothner  <bothner@kalessin.cygnus.com>
        (value_subscript):  Use enhanced value_subscripted_rvalue if
        c_style_arrays is false (and index is in range).
 
+start-sanitize-gdbtk
 Wed Jan 25 18:23:46 1995  Stu Grossman  (grossman@cygnus.com)
 
        * gdbtk.c (gdbtk_init):  Prevent segfault when gdbtk.tcl can't be
        found.
        * gdbtk.tcl:  Initialize expr_update_list() to prevent errors when
        popping up expression window for the first time.
+end-sanitize-gdbtk
 
 Wed Jan 25 18:13:14 1995  Per Bothner  <bothner@kalessin.cygnus.com>
 
This page took 0.033789 seconds and 4 git commands to generate.