* findvar.c, value.h (symbol_read_needs_frame): New function.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 3bc857bfe876c12180de3c3bc66f568f9cef5cc3..db42c5a31dc7cc2d257d66f3a4c4d0ea9bfb87a0 100644 (file)
@@ -1,5 +1,393 @@
+Fri Oct  8 14:56:21 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * findvar.c, value.h (symbol_read_needs_frame): New function.
+       * c-exp.y, m2-exp.y: Call it instead of having our own switch on
+       the symbol's class.
+       * valops.c (value_of_variable): Use symbol_read_needs_frame to
+       decide whether we care about finding a frame.
+
+Fri Oct  8 02:34:21 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * blockframe.c (get_frame_block):  Do not adjust pc if the frame
+       function was interrupted by a signal.
+
+Thu Oct  7 19:20:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/h8300/tm-h8300.h: Don't define sr_get_debug.
+       * remote-sim.c: Include remote-utils.h.
+       * target.h: Add comment about target_has_execution.
+
+Thu Oct  7 16:14:19 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
+       New functions.
+       * infrun.c (normal_stop): Don't try and set the pc in the current
+       frame coredump if there isn't one.
+       * remote-sim.c (gdbsim_store_register): Don't
+       SWAP_TARGET_AND_HOST, sim_store_register takes bytes in raw order.
+       (gdbsim_wait): Set status with WSETSTOP.
+       * config/h8300/tm-h8300.h (sr_get_debug): Define
+
+Thu Oct  7 12:56:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       New Mach stuff:
+       * config/i386/i386mach.c: Explain this is for the old (probably
+       non-functional and/or obsolete) Mach stuff.
+       * m3-nat.c, config/nm-m3.h,
+       i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
+       config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
+       config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
+       config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
+       config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
+       New files.
+
+       * blockframe.c (find_pc_partial_function): If we call
+       PSYMTAB_TO_SYMTAB, call target_terminal_ours_for_output first.
+       This is needed now that wait_for_inferior passes in endaddr.
+       * infrun.c: Move call to target_terminal_inferior from proceed
+       to resume.
+
+Thu Oct  7 09:22:04 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * blockframe.c (find_pc_partial_function):  Fix handling for PCs
+       beyond the end of the last function in an objfile.
+       * coff-solib.c (coff_solib_add):  Use BFD to get fields from .lib
+       section.
+       * infrun.c (wait_for_inferior):  Modify test for subroutine entry
+       to include pc out of bounds of the previous function.
+       * remote.c (remote_wait):  Use strtoul for parsing 'N' message.
+       Add code to relocate symfile_objfile->sections.
+
+Thu Oct  7 06:22:43 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/sparc/sun4os4.mh: Add comment saying why we don't use
+       -lresolv.
+
+Thu Oct  7 09:29:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * breakpoint.c, breakpoint.h (breakpoint_init_inferior):  New function
+       that clears the `inserted' flag for all breakpoints and deletes
+       any breakpoints which should go away between runs of programs.
+       * inflow.c (generic_mourn_inferior), infrun.c (init_wait_for_inferior),
+       remote-es.c (es1800_load), comments in exec.c and corelow.c:
+       Use it instead of mark_breakpoints_out.
+       * breakpoint.c (mark_breakpoints_out):  Update comment, tm-rs6000.h
+       uses it in a completely different context.
+       * breakpoint.c (breakpoint_re_set_one):  Add bp_call_dummy case.
+
+Thu Oct  7 09:29:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * Makefile.in (REGEX, REGEX1):  Always use our own version of
+       regex.c to be consistent across hosts.
+       * source.c (_initialize_source):  Initialize regex to use grep
+       style syntax as an approximation to POSIX basic regex syntax.
+
+Wed Oct  6 12:43:47 1993  Jeffrey A Law  (law@snake.cs.utah.edu)
+                         Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * hppa-tdep.c (frame_chain): Rework so that it correctly
+       handles boundaries where code with a frame pointer calls code
+       without a frame pointer.
+       (dig_fp_from_stack): New function.
+
+Wed Oct  6 12:43:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.c (delete_breakpoint): Don't insert a disabled breakpoint.
+
+       * README: Add Alpha notes from Schauer.
+
+Tue Oct  5 15:26:04 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * Makefile.in (install, uninstall): Remove $$n.1 stuff; I don't
+       understand what it is trying to do, but I suspect it's not doing
+       it.
+
+       * config/ns32k/merlin.mh: Add comment about M_INSTALL.
+       * config/m88k/{delta88.mh,delta88v4.mh}: Remove M_INSTALL and
+       M_UNINSTALL; it tries to install a non-existent file gdb.z.
+       * Makefile.in: Remove M_INSTALL stuff; the above were the only uses.
+
+       * stabsread.c (read_range_type): Remove comment which recommends
+       distinguishing float from complex by the name.
+
+Tue Oct  5 12:17:40 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+                         Jim Kingdon  (kingdon@cygnus.com)
+                         Stu Grossman  (grossman@cygnus.com)
+
+       Changes to support alpha OSF/1 in native mode.
+       * alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
+         config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
+       New files.
+       * Makefile.in:  Add new files and dependencies.
+       * configure.in:  Add alpha target.
+       * config/alpha/alpha-osf1.mh (NATDEPFILES):  Add osfsolib.o
+       * config/alpha/alpha-osf1.mh (MH_CFLAGS):  Remove, we can handle
+       shared libraries now.
+       * config/alpha/xm-alpha.h:  Cleanup, get MAKEVA_* defines right.
+
+       * defs.h (CORE_ADDR):  Make its type overridable via CORE_ADDR_TYPE,
+       provide `unsigned int' default.
+       * breakpoint.c (breakpoint_auto_delete):  Delete only if we really
+       stopped for the breakpoint.
+       * stabsread.c, stabsread.h (define_symbol):  Change valu parameter
+       to a CORE_ADDR.
+       * stabsread.c (read_range_type):  Handle the case where the lower
+       bound overflows and the upper doesn't and the range is legal.
+       * infrun.c (resume):  Do not step a breakpoint instruction if
+       CANNOT_STEP_BREAKPOINT is defined.
+
+       * inferior.h (CALL_DUMMY_LOCATION):  New variant AT_ENTRY_POINT.
+       Now that we have the bp_call_dummy breakpoint the call dummy code
+       is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
+       FIX_CALL_DUMMY can be used to set up everything for the dummy.
+       The breakpoint for the dummy is set at the entry point and thats it.
+       * blockframe.c (inside_entry_file, inside_entry_func):  Do not stop
+       backtraces if pc is in the call dummy at the entry point.
+       * infcmd.c (run_stack_dummy):  Handle AT_ENTRY_POINT case. Use
+       the expected breakpoint pc when setting up the frame for
+       set_momentary_breakpoint.
+       * symfile.c (entry_point_address):  New function for AT_ENTRY_POINT
+       support.
+       * valops.c (call_function_by_hand):  Handle AT_ENTRY_POINT case.
+
+Tue Oct  5 11:37:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
+       Change other hppa host entries to use -*- not -hp-.
+
+Mon Oct  4 19:16:14 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * i386-nlmstub.c: New file; debugging stub for i386 NetWare.  Must
+       be compiled with NetWare header files and turned into an NLM with
+       nlmconv.
+
+Mon Oct  4 11:02:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * minsyms.c (lookup_minimal_symbol_by_pc): Don't use mst_abs symbols.
+
+       * dbxread.c (process_one_symbol): Make n_opt_found static.
+
+       * Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names.
+       * Makefile.in, config/i386/i386lynx.mt: Change accordingly.
+
+       * values.c (record_latest_value): Fetch lazy values and set VALUE_LVAL
+       to not_lval.
+
+Sun Oct  3 15:54:51 1993  Stan Shebs  (shebs@rtl.cygnus.com)
+
+       * objfiles.h (objfile): New slot sym_stab_info, use by most
+       stab-reading formats.
+       * gdb-stabs.h (DBX_SYMFILE_INFO): Access sym_stab_info instead of
+       sym_private.
+       * coffread.c (coff_symfile_init): Alloc struct for sym_stab_info.
+       * dbxread.c, elfread.c, paread.c: Change sym_private references to
+       sym_stab_info references.
+
+Sat Oct  2 19:28:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * mipsread.c, objfiles.c, utils.c: Use PTR not void *.  RISC/OS
+       4.02 lacks void *.
+       * elfread.c: Use void * not PTR inside PARAMS.
+
+       * config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
+       * config/mips/news-mips.mh: Define NAT_FILE not NM_FILE.
+       * config/mips/nm-news-mips.h: Include mips/nm-mips.h not nm-mips.h.
+
+Sat Oct  2 16:05:22 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
+       tm-i386lynx.h:  Add support for SVR3 COFF shared libraries.
+
+Sat Oct  2 15:50:41 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * m88k-nat.c (store_inferior_registers): When writing all registers,
+       don't try to write EXIP_REGNUM or ENIP_REGNUM (not needed for this
+       case, and they cause trouble).
+
+       * TODO: Don't suggest doing fast watchpoints by stepping a line
+       at a time.  That would be really hairy and still not fast enough.
+       Do suggest debug registers and page table diddling.
+
+Fri Oct  1 14:54:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * printcmd.c (do_examine): Make meaning of 'h', 'w', and 'g' not
+       depend on builtin_type_*.  Instead, it is always 2, 4, and 8 bytes
+       like the documentation says.
+       * printcmd.c (decode_format) [CC_HAS_LONG_LONG]: Remove 'l' as
+       synonym for 'g'.  This was never documented, it shouldn't depend on
+       CC_HAS_LONG_LONG, and I don't see what's wrong with 'g'.
+
+Fri Oct  1 10:06:35 1993  Kung Hsu  (kung@cirdan.cygnus.com)
+
+       * symtab.c: fix a bug in testsuite (virtfunc.exp)
+
+Thu Sep 30 11:30:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * m88k-nat.c (fill_gregset): Fix typo (R_SFIP -> R_FIP).
+
+       * c-typeprint.c (c_type_print_base, TYPE_FN_FIELD_STUB code):
+       If demangled name lacks a colon, don't dump core.
+
+       * blockframe.c (find_pc_partial_function): If pst->readin is
+       set, don't try to get symbols from pst.
+
+       * inflow.c (generic_mourn_inferior): Call reinit_frame_cache
+       instead of doing it ourself.
+       * blockframe.c (reinit_frame_cache): Use code which was in
+       generic_mourn_inferior so we can use this function even when
+       we have switched targets.
+       * corelow.c (core_detach): Call reinit_frame_cache.
+       * target.c (target_detach): Don't call generic_mourn_inferior
+       (revert yesterday's change, now handled by core_detach).
+       * objfiles.c (free_objfile): Detach any core file if we call
+       SOLIB_CLEAR.  #include target.h.
+
+       * fork-child.c (fork_inferior): Don't call target_terminal_init
+       and target_terminal_inferior until we are sure that the inferior
+       has called gdb_setpgid.  This fixes PR 2900 (Schauer tracked it
+       down and was able to reliably reproduce it by putting a sleep()
+       before the gdb_setpgid()).
+
+Thu Sep 30 12:00:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * c-exp.y, m2-exp.y:  Change type of address for msymbol to
+       builtin_type_long.
+       * infptrace.c (fetch_register, store_inferior_register,
+       child_xfer_memory):  Use PTRACE_XFER_TYPE for the type of ptrace
+       transfers. Provide an `int' default for PTRACE_XFER_TYPE.
+
+Thu Sep 30 11:30:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * defs.h (TARGET_*_BIT): Don't use host information (sizeof) in
+       picking defaults.
+
+       * cp-valprint.c (cp_is_vtbl_ptr_type): Continue to accept old form.
+
+Thu Sep 30 11:25:55 1993  Kung Hsu  (kung@cygnus.com)
+
+       * cp-valprint.c (cp_is_vtbl_ptr_type):
+       change vtable field name to __vtbl (pr2695).
+
+       * symtab.c (gdb_mangle_name): fix a bug, to get mangled name right.
+
+Wed Sep 29 18:34:22 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * Makefile.in:  Add deps for i386lynx-nat.o and i386lynx-tdep.o to
+       keep non-gnu makes happy.
+
+Wed Sep 29 10:52:19 1993  Kung Hsu  (kung@cygnus.com)
+
+       * c-valprint.c: to fix virtual table print bug (pr2695).
+
+>>>>>>> 1.1795
+Wed Sep 29 10:52:19 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * target.c (target_detach): Call generic_mourn_inferior.
+       * inflow.c (generic_mourn_inferior): Call flush_cached_frames.
+
+Tue Sep 28 23:08:59 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * dbxread.c, coffread.c, elfread.c: A few changes to comments.
+
+Tue Sep 28 18:39:37 1993  Stan Shebs  (shebs@rtl.cygnus.com)
+
+       * configure.in: Rename ...-lynx* to ...-lynxos*.
+       Add m68*-*-lynxos* configuration.
+       * dbxread.c (coffstab_build_psymtabs): New function,
+       interfaces coffread.c to dbxread functions.
+       * coffread.c (coff_symfile_info):  Expand to include
+       dbx_symfile_info slots.
+       (coff_symfile_init): Init coff_symfile_info struct.
+       (coff_locate_sections): New functions, finds the stab and stabstr
+       sections.
+       (coff_symfile_read): Call coffstab_build_psymtabs if a stab
+       section is present.
+       (coff_section_offsets): Replace fake version with real offsets.
+
+Tue Sep 28 18:00:50 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * infcmd.c (run_stack_dummy): Set the frame in the bp_call_dummy
+       breakpoint.
+
+Tue Sep 28 17:53:26 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/nm-sysv4.h: Include solib.h.  Define SVR4_SHARED_LIBS.
+       * config/tm-sysv4.h: Don't include solib.h.
+       * config/xm-sysv4.h: Don't define SVR4_SHARED_LIBS.
+       * config/i386/i386v4.mt (TDEPFILES): Move solib.o from here...
+       * config/i386/i386v4.mh (NATDEPFILES): ...to here.
+       * config/i386/nm-i386v4.h: Include nm-sysv4.h.
+       * config/m68k/amix.mt (TDEPFILES): Move solib.o from here...
+       * config/m68k/amix.mh (NATDEPFILES): ...to here.
+
+Tue Sep 28 09:45:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * symmisc.c (print_symbol): Use %02x not %2x for LOC_CONST_BYTES.
+
+       Clean up problems with targets and hosts that have 64 bit longs
+       and pointers and 32 bit ints.
+       * breakpoint.c, buildsym.c, c-lang.c, c-valprint.c, ch-lang.c,
+       ch-valprint.c, core.c, cp-valprint.c, dbxread.c, exec.c,
+       expprint.c, gdbtypes.c, infcmd.c, language.c, language.h,
+       m2-lang.c, maint.c, mips-tdep.c, mipsread.c, partial-stab.h,
+       printcmd.c, remote-vx.c, solib.c, source.c, stack.c, symfile.c,
+       symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c:
+       Change all printf formats from %x to %lx if outputting an address.
+       Change la_*_format to use long format.
+       local_hex_string, local_hex_string_custom now take an unsigned long
+       argument, change all callers.
+       * coffread.c (read_coff_symtab):  Remove superfluous cast for
+       complaint output.
+       * dbxread.c (end_psymtab):  Cast MSYMBOL_INFO to long, not int.
+       * findvar.c, value.h (write_register):  Change val to LONGEST.
+       * gdbtypes.h (struct type):  Change `bitsize' to long as
+       TYPE_FIELD_STATIC_PHYSNAME uses this field as a pointer.
+       * inferior.h (struct inferior_status):  Change type of stop_pc to
+       CORE_ADDR.
+       * language.h (local_octal_string, local_octal_string_custom):
+       Remove prototype, the functions are neither defined nor used.
+       * mipsread.c (parse_symbol):  Use temporary variable for bitsize as
+       f->bitsize is a long now.
+       * objfiles.c (add_to_objfile_sections, build_objfile_section_table):
+       Use unsigned long casts instead of int for abusing sections_end
+       pointer as integer.
+       * stack.c (parse_frame_specification):  Change type of `args' to
+       CORE_ADDR for SETUP_ARBITRARY_FRAME.
+
+       * printcmd.c (make_vasize):  Allow redefinition via MAKEVA_SIZE.
+       * mipsread.c (parse_type):  Alpha cc now supports the t->continued
+       bit, update algorithm to match the way the compiler uses it.
+
+Tue Sep 28 12:05:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * utils.c (fprintfi_filtered): Fix comments.
+
+Mon Sep 27 18:10:08 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * coffread.c (read_coff_symtab):  Don't call getfilename if there
+       are no auxents.
+
+Mon Sep 27 10:22:37 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * symtab.c (find_pc_line): Fix comments.
+
+       * remote-udi.c (udi_mourn): Don't pop target.
+
+>>>>>>> 1.1783
+Fri Sep 24 17:25:41 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * corelow.c:  Add multi thread/process support for core files with
+       .reg/XXX pseudo-sections.
+       * i386lynx-nat.c thread.h thread.c:  Remove unnecessary core file
+       support.
+
 Thu Sep 23 10:49:37 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * remote-udi.c (download): Skip zero length sections.
+
+       * valops.c (search_struct_method, value_struct_elt):
+       Use (value)-1, not -1, for error.
+
        * infcmd.c (step_1), infrun.c (wait_for_inferior): Add comments
        about SHIFT_INST_REGS.
 
This page took 0.036543 seconds and 4 git commands to generate.