Tue May 17 16:45:20 1994 Stan Shebs (shebs@andros.cygnus.com)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 06026308d1e557a4bcace135d13834d8be54e491..56ccbbdd22dd5bb95e5c33323c852d79f99c5afc 100644 (file)
@@ -1,3 +1,684 @@
+Tue May 17 16:45:20 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * xcoffread.c (read_xcoff_symtab): For C_FILE symbols, only use
+       the auxent if the symbol's name is ".file".  From David Edelsohn 
+       <c1dje@watson.ibm.com>.
+
+Tue May 17 11:08:22 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.c (breakpoint_1): Fix typo.
+
+       * annotate.c (annotate_field_end): Fix typo.
+
+       * Makefile.in: Move annotate.o from COMMON_OBS to OBS.
+
+       * Makefile.in (TSSTART): Remove; no longer used.
+
+       * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Call
+       fputs_unfiltered and exit directly, rather than fatal.  The latter
+       calls vfprintf_unfiltered!
+
+       * gdbtypes.h, gdbtypes.c (can_dereference): New function.
+       * value.h, printcmd.c (print_value_flags): Move from here...
+       * annotate.c: ...to here, and make it use can_dereference.
+
+Sat May 14 15:13:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * inflow.c (job_control, attach_flag, generic_mourn_inferior):
+       Remove, needed for both native and cross.
+       * target.c (attach_flag, generic_mourn_inferior): Put here.
+       * utils.c (job_control): Put here.
+       (terminal.h): Don't include anymore.
+
+Sat May 14 09:11:44 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * source.c (find_source_lines): Always use code that was #ifdef
+       BROKEN_LARGE_ALLOCA.  Do the cleanup before returning, rather than
+       leaving it on the chain.  Reindent much of this function.
+       * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h},
+       config/i386/{xm-sun386.h,xm-i386m3.h,xm-i386mach.h},
+       config/m68k/{sun3os4.h,xm-news.h,xm-hp300hpux.h},
+       config/ns32k/xm-ns32km3.h: Remove all references to
+       BROKEN_LARGE_ALLOCA; with the above change it is no longer needed.
+       * main.c, fork-child.c, many config files: Remove all
+       SET_STACK_LIMIT_HUGE code; with the above changes it should no
+       longer be needed.
+
+       * symtab.c (lookup_partial_symbol): Use if and abort, not assert.
+       This avoids __eprintf troubles.
+
+Fri May 13 08:10:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * main.c (main): Surround in #ifndef MAIN_OVERRIDE.  Move
+       initialization code which needs to be called even if we bypass the
+       command line stuff into gdb_init.
+       * utils.c (fputs_unfiltered): Surround in #ifndef
+       FPUTS_UNFILTERED_OVERRIDE.
+       * Makefile.in (libgdb.a): New target.
+
+       * utils.c: Rearrange I/O stuff a bit so that all output goes
+       through fputs_unfiltered.  Use vasprintf; removes arbitrary limit
+       which made %s not work with arbitrarily large strings.
+       * printcmd.c (printf_command): Use printf_filtered, not
+       printf_unfiltered and printf, now that arbitrary limit is gone.
+
+       gcc -Wall lint:
+       * breakpoint.c (watchpoint_check): Remove unused variable b.
+       * stack.c (print_frame_info): Move sp and buf inside #if.
+       * eval.c (evaluate_subexp): Remove unused variables pp,
+       mangle_ptr, ptr, and mangle_tstr.
+       * valarith.c (value_x_binop): Remove unused variables mangle_tstr
+       and mangle_ptr.
+       * symtab.c (lookup_symtab): Put variable copy inside #if.
+       (decode_line_1): Put variable q1 inside #if 0.
+       * target.h: Declare target_link.
+       * infrun.c (wait_for_inferior): Remove unused variables signame.
+       * remote.c (remote_resume): Remove unused variable name.
+       * c-exp.y (parse_number): Parenthesize operand of shift.
+       * dbxread.c (record_minimal_symbol): Parenthesize operand of &&
+       (this is a semantic change, the warning seems to have detected a bug).
+       * dbxread.c (end_psymtab): Move variable p1 inside #if.
+       * coffread.c: Move variable temptype inside #if.
+       * ch-typeprint.c (chill_type_print_base): Remove unused variable
+       name.
+       * ch-valprint.c: #include typeprint.h and ch-lang.h.
+       (chill_val_print): Remove unused variable in_range.
+       (chill_val_print): Remove statement "length > TYPE_LENGTH (type);".
+       (chill_val_print): Add default case for switch.
+       * stabsread.h: Declare stabsect_build_psymtabs.
+       * os9kread.c (read_minimal_symbols): Make this return void.
+       (os9k_symfile_read): Remove unused variables stb_exist and val.
+       (os9k_symfile_init): Remove unused variable val.
+       (fill_sym): Remove unused variable id.
+       (read_os9k_psymtab): Put variable back_to inside #if 0.  Remove
+       unused variable nsl.
+       Remove unused variable symfile_bfd.
+       #if 0 unused variables lbrac_unmatched_complaint and
+       lbrac_mismatch_complaint.
+       Remove declaration for non-existent function os9k_next_symbol_text.
+
+       * annotate.c, annotate.h: New files, containing a function for
+       each annotation which outputs it.
+       * Move breakpoints_changed from breakpoint.c to annotate.c.
+       * breakpoint.c, blockframe.c, infrun.c, cp-valprint.c, main.c,
+       printcmd.c, source.c, stack.c, utils.c, valprint.c:
+       Use annotate.c functions to output annotations.
+       * Makefile.in (OBS): Add annotate.o.
+
+Thu May 12 10:46:27 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size and
+       elf_unwind_entries are always initialized.
+
+       * hppa-tdep.c (skip_trampoline_code): Handle argument relocation
+       stubs which return directly to the caller rather than to the stub
+       itself.
+
+Wed May 11 20:11:51 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * c-exp.y (yyerror): Display a more informative error message.
+       * ch-exp.y (yyerror): Ditto, don't use global yychar.
+       * m2-exp.y (yyerror): Ditto.
+
+Tue May 10 11:57:53 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * inflow.c (job_control): Move definition to front of file.
+
+Tue May 10 14:42:37 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * maint.c (print_section_table): Rename SEC_SHARED_LIBRARY to
+       SEC_COFF_SHARED_LIBRARY to match corresponding change in bfd.
+
+Fri May  6 13:30:22 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * Makefile.in (kdb): Remove old init.c creation commands.
+       * configure.in (sparclite): Match on sparclite*.
+       * sparclite/aload.c (main): Only change section addresses for
+       a.out format object files.
+
+Fri May  6 13:24:04 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * config/i386/go32.mh: Define CC.
+
+Fri May  6 11:56:54 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * gdbserver/Makefile.in: Remove irrelevant definitions and
+       comments inherited from the gdb Makefile.
+       (BFD_DIR, BFD, BFD_SRC, BFD_CFLAGS): Add from gdb Makefile.
+       (VERSION): Update to 4.12.3.
+       (gdbserver): Remove any existing executable first.
+       (distclean, realclean): Remove nm.h.
+       * gdbserver/low-lynx.c: Add Sparc Lynx support.
+       * gdbserver/low-sparc.c, gdbserver/low-sun3.c (sys/wait.h):
+       Don't use absolute pathname.
+
+Thu May  5 12:00:22 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * rs6000-nat.c (vmap_ldinfo): Don't fail if fstat returns an
+       error.
+
+Wed May  4 06:56:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * infrun.c (proceed, normal_stop, wait_for_inferior), breakpoint.c
+       (print_it_normal): Add annotations for the inferior starting and
+       stopping, and for all the various messages related to how it
+       stopped.
+
+       * printcmd.c (do_one_display): Annotate.
+       * stack.c (print_frame_info): Annotate printing of stack frames.
+
+Wed May  4 18:15:51 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * remote.c (get_offsets):  Handle case where stub doesn't support
+       qOffsets message.
+
+Wed May  4 15:30:39 1994  Per Bothner  (bothner@kalessin.cygnus.com)
+
+       Add partial support for g++ code compiled with -fvtable-thunks.
+       * c-valprint.c (c_val_print):  Add vtblprint support
+       when using thunks.
+       * cp-valprint.c (cp_is_vtbl_member):  A vtable can be an array of
+       pointers (if using thunks) as well as array of structs (otherwise).
+       * cp-valprint.c (vtbl_ptr_name_old, vtbl_ptr_name):  Move to global
+       level, and make the latter non-static (so define_symbol can use it).
+       * stabsread.c (define_symbol):  If the type being defined is a
+       pointer type named "__vtbl_ptr_type", set the TYPE_NAME to that name.
+       * symtab.h (VTBL_PREFIX_P):  Allow "_VT" as well as "_vt".
+       * values.c (value_virtual_fn_field):  Handle thunks.
+       * values.c (value_headof):  Minor efficiency hack.
+       * values.c (value_headof):   Incomplete thunk support.  FIXME.
+
+Wed May  4 06:56:03 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * valprint.c (print_longest): Clarify comment about use_local.
+       * printcmd.c, defs.h (print_address_numeric), callers in
+       symmisc.c, symfile.c, stack.c, source.c, remote.c, infcmd.c,
+       cp-valprint.c, core.c, ch-valprint.c, c-valprint.c, breakpoint.c,
+       exec.c: New argument use_local.
+       * source.c (identify_source_line): Use filtered output.  Use
+       print_address_numeric. 
+
+       * core.c (memory_error), symtab.c (cplusplus_hint, decode_line_1),
+       language.c (type_error, range_error): Use filtered output.
+       * utils.c (error_begin): Update comment to tell people to use
+       filtered output.
+
+       * Makefile.in (HFILES_WITH_SRCDIR): List bfd.h.
+       (HFILES_NO_SRCDIR): List gdbcore.h not gdbcore_h, so as not to get
+       bfd.h.
+
+Tue May  3 07:41:33 1994  Jim Kingdon  (kingdon@cygnus.com)
+
+       * procfs.c (procfs_wait): Reinstate code which deduces the signal
+       from the fault, #ifndef FAULTED_USE_SIGINFO.
+       * config/sparc/tm-sun4sol2.h: Define FAULTED_USE_SIGINFO.
+
+Fri Apr 29 18:15:04 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.c (breakpoint_1): Annotate each field of the headers.
+       Explicitly annotate each record.
+
+Fri Apr 29 15:56:18 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * xcoffexec.c: Reformat to standards and lint.
+       (language.h): Include.
+       (exec_close): Declare arg "quitting".
+       (file_command): Declare arg "from_tty".
+       (map_vmap): Cast xmalloc result to PTR.
+       * rs6000-nat.c: Reformat to standards and lint.
+       (exec_one_dummy_insn): Use char array for saved instruction.
+       (fixup_breakpoints): Declare.
+       (vmap_ldinfo): Be more informative in fatal error messages.
+       (xcoff_relocate_symtab): Define to return void.
+       * xcoffsolib.h: Reformat to standards, improve comments.
+       * config/rs6000/nm-rs6000.h (xcoff_relocate_symtab): Declare.
+
+Thu Apr 28 08:40:56 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * utils.c, defs.h (error_begin): New function.
+       (quit): Print annotation before printing the error message.
+       * main.c (return_to_top_level): Print annotation before doing the
+       longjmp.
+       * symtab.c (decode_line_1): Call error not warning and then
+       return_to_top_level.  Call error_begin and printf_unfiltered
+       rather calling warning (before calls to return_to_top_level).
+       * core.c (memory_error): Use error_begin, printf_unfiltered,
+       print_address_numeric and return_to_top_level instead of error.
+       Cleans up a FIXME-32x64.
+       * language.c (type_error, range_error): Call error_begin
+       not just target_terminal_ours.
+
+       * dbxread.c (stabsect_build_psymtabs): Assign to sym_stab_info
+       directly, rather than via DBX_SYMFILE_INFO.  A cast on the left
+       side of an assignment is non-portable.
+
+       * utils.c (query): Change syntax of query annotations to be
+       consistent with other input annotations.
+       (prompt_for_continue): Likewise for prompt-for-continue annotation.
+
+Thu Apr 28 01:20:39 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mdebugread.c (psymtab_to_symtab_1):  Do not call sort_blocks
+       for stabs symtabs.
+       * mips-tdep.c (mips_skip_prologue):  Handle prologues for functions
+       that have a stack frame size of 32k or larger (from Paul Flinders).
+       Remove #if 0'd code.
+
+Wed Apr 27 16:33:51 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * lynx-nat.c (CANNOT_STORE_REGISTER): Add a fallback definition
+       for Lynx platforms that need it.
+       * config/nm-lynx.h (__LYNXOS): Define if not already defined.
+
+Wed Apr 27 16:01:37 1994  Jim Kingdon  (kingdon@cygnus.com)
+
+       * procfs.c (procfs_wait): Use the signal from the pr_info rather
+       than trying to deduce it from the fault.
+
+Wed Apr 27 12:22:46 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * printcmd.c (print_address_symbolic): Initialize name to empty
+       string to avoid core dump if lookup fails.
+       * remote-e7000.c (printf_e7000debug): Error if target not open.
+
+Tue Apr 26 22:45:24 1994  Stu Grossman  (grossman at cygnus.com)
+
+       * i386-nlmstub.c:  Update to be more in line with PIN stub.
+       * nlm/gdbserve.c (putDebugChar):  Install bug fix from i386-nlmstub.
+       * (hex2mem):  Init ptr.
+       * General cleanups to use ConsolePrintf, standard prologues, etc...
+
+Tue Apr 26 10:23:04 1994  Stu Grossman  (grossman at cygnus.com)
+
+       * i386-nlmstub.c:  More changes to be compatible with remote.c.
+
+       * dbxread.c:  Move a bunch of strncmps out of process_one_symbol
+       into (the far less frequently called) dbx_symfile_read.
+
+       * i386-nlmstub.c:  An interim version till we get PIN for the x86.
+
+Tue Apr 26 09:50:45 1994  Stu Grossman  (grossman at cygnus.com)
+
+       * dbxread.c (record_minimal_symbol):  Record the section
+       associated with the symbol to make dynmaic relocation work.
+       * (dbx_symfile_read, process_one_symbol):  Fixes to work around
+       Solaris brain-damage which don't apply to relocatable object
+       files.
+       * (stabsect_build_psymtabs):  New routine to read stabs out of an
+       arbitrarily named section.
+       * nlmread.c (nlm_symtab_read):  Read ALL syms from the NLM, not just
+       globals.
+       * (nlm_symfile_read):  Call stabsect_build_psymtabs to read the
+       stabs out of the nlm.
+       * partial-stabs.h (cases 'f' & 'F'):  Fixes to work around Solaris
+       brain-damage which don't apply to relocatable object files.
+       * remote.c (putpkt):  Improve error reporting and error handling.
+       * (get_offsets):  Temporary kludge to force data & bss sections to
+       have the same relocation.
+       * stabsread.c (define_symbol, scan_file_globals):  Record section
+       info in sym.
+
+Sat Apr 23 19:05:52 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.c (breakpoint_1): Annotate each field of output.  Add
+       FIXME-32x64 comment.
+
+Fri Apr 22 16:43:54 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * infrun.c (wait_for_inferior): Move call to flush_cached_frames
+       to after call to target_wait.  This means that flush_cached_frames
+       can call target_terminal_ours if it wants to.
+       * infrun.c (wait_for_inferior) [HAVE_NONSTEPPABLE_WATCHPOINT]: Add
+       comment about why the code is dubious.
+
+       * stabsread.c (read_type): Call read_type, not nonexistent
+       os9k_read_type.
+
+Fri Apr 22 14:25:36 1994  Kung Hsu  (kung@mexican.cygnus.com)
+
+       * remote-os9k.c (rombug_fetch_registers): set trace mode
+       correctly.
+       * remote-os9k.c (rombug_read_inferior_memory): cache data in
+       buffer.
+       * os9kread,c (read_os9k_psymtab): process file symbol to truncate
+       extra info.
+       * os9kread.c (os9k_read_ofile_symtab): proper casting of args
+       passed to process_one_symbol.
+       * stabsread.c (read_type): process os9k functio prototype.
+
+Fri Apr 22 11:27:39 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * solib.c (symbol_add_stub): If so->textsection is NULL, don't
+       dump core.
+
+Thu Apr 21 07:45:49 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * utils.c (prompt_for_continue): Annotate prompt.
+       (query): Annotate query.
+       * printcmd.c (print_frame_args): Change syntax of argument
+       annotation to make name and value part of a single group of
+       annotations, not two separate groups.
+       * cp-valprint.c (cp_print_value_fields): Likewise for fields.
+       * valprint.c (val_print_array_elements): Change syntax of
+       annotation to be more concise.
+       * main.c, defs.h (command_line_input): New argument tells what
+       string to include in the annotations.
+       * symtab.c (decode_line_2), main.c (read_command_lines,
+       command_loop): Change callers.
+
+       * breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, for
+       target null pointer.
+       * blockframe.c (find_frame_addr_in_frame_chain): Likewise.
+
+       * printcmd.c (output_command): Annotate things we print here too.
+       * printcmd.c (print_command_1): Add "value-history-value" annotation.
+       * Move declaration of print_value_flags from defs.h to value.h.
+       * main.c (command_line_input): Call wrap_here as well as gdb_flush.
+
+Thu Apr 21 09:29:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * dbxread.c (read_dbx_dynamic_symtab):  Reinstall support for sun3,
+       BFD handles sun3 dynamic relocations now.
+       * elfread.c (elf_symtab_read, elf_symfile_read):  Handle dynamic
+       symbol table.
+
+Wed Apr 20 19:41:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * printcmd.c (print_command_1): Annotate the top-level expressions
+       that we print.
+       (print_frame_args): Annotate each argument.
+       * printcmd.c, defs.h (print_value_flags): New function.
+       * cp-valprint.c (cp_print_value_fields): Annotate each field.
+       * valprint.c (val_print_array_elements): Annotate each array element.
+
+Wed Apr 20 13:18:41 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * findvar.c (read_var_value):  Handle LOC_REPARM_ADDR case correctly,
+       the register contains a pointer to the type, not the type itself.
+
+Mon Apr 11 10:44:35 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
+
+       * main.c (main): Accept --annotate=N option and make --fullname
+       the same as --annotate=1.
+       (command_line_input): Print annotatation before and after prompt.
+       * blockframe.c (flush_cached_frames): Print annotation.
+       * Rename frame_file_full_name to annotation_level and move it from
+       symtab.h to defs.h.
+       * source.c (identify_source_line): If annotation_level > 1,
+       change output format.
+       * breakpoint.c: Print annotation whenever a breakpoint changes.
+       * main.c: New variable server_command.
+       (command_line_input): Parse "server " and set server_command.
+       (dont_repeat): Check server_command.
+
+Wed Apr 20 08:37:16 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * xcoffread.c (xcoff_next_symbol_text): Don't return before
+       updating raw_symbol and symnum.  Return a value in the case where
+       we complained.
+
+       * dstread.c, coffread.c: Don't define pending_blocks; buildsym.c
+       takes care of it.
+       * parse.c: Don't define block_found; it is defined in symtab.c.
+       * parser-defs.h: Add comment regarding block_found.
+
+Tue Apr 19 09:46:05 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (internalize_unwind_info): Delete unused indexp
+       argument.
+
+Mon Apr 18 13:18:56 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * dbxread.c (read_dbx_dynamic_symtab):  Relocate BFD symbols by
+       section vma. Do not read dynamic relocs for sun3 executables to
+       avoid BFD assertion message.
+
+Mon Apr 18 10:08:07 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * nm-hppab.h (KERNEL_U_ADDR): Define.
+       (FIVE_ARG_PTRACE): Likewise.
+       (CANNOT_STORE_REGISTER): Likewise.
+       * nm-hppah.h (KERNEL_U_ADDR): Define.
+       (FIVE_ARG_PTRACE): Likewise.
+       (CANNOT_STORE_REGISTER): Likewise.
+       (NEED_TEXT_START_END): Likewise.
+
+       * tm-hppah.h (NEED_TEXT_START_END): Delete definition.
+       * xm-hppah.h (KERNEL_U_ADDR): Delete definition.
+       (FIVE_ARG_PTRACE): Likewise.
+       * xm-hppab.h (KERNEL_U_ADDR): Delete definition.
+       (FIVE_ARG_PTRACE): Likewise.
+
+       * hppa-tdep.c (read_unwind_info): Make static.
+       (restore_pc_queue): Indirect through the target vector to
+       reload the register state.
+
+Sat Apr 16 22:20:51 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * paread.c (compare_unwind_entries): Delete function.  It's been
+       moved into hppa-tdep.c.
+       (read_unwind_info): Likewise.
+       (pa_symfile_read): No longer call read_unwind_info.  The unwind
+       tables will be read in as they are needed.
+
+       * hppa-tdep.c (compare_unwind_entries): New function.
+       (read_unwind_info, internalize_unwinds): Likewise.
+       (find_unwind_entry): Read in unwind information on demand.
+
+Fri Apr 15 11:53:46 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * source.c (DIRNAME_SEPARATOR): New macro, replaces all references
+       to : in search path processing.
+       * defs.h (qsort): Rename argument in prototype.
+       * symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in
+       some compilers.
+       * breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c
+       (false): Eliminate usages.
+
+Fri Apr 15 11:35:19 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * h8500-tdep.c (initialize_h8500_tdep, large_command):
+       All references to value changed to value_ptrlage_command is now
+       called big_command.
+       All references to value changed to value_ptr.
+       * remote-e7000.c (e7000_wait): Use target_waitstatus and SETSTOP
+       * remote-hms.c (hms_wait): Timeout after five seconds.
+       * ser-go32.c (dosasync_read): Poll if timeout < 0.
+       * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted.
+       * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.
+
+Thu Apr 14 07:01:56 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * procfs.c (procfs_wait): Protect watchpoint code with appropriate
+       #ifdefs.
+       (procfs_set_watchpoint, procfs_stopped_by_watchpoint): Likewise.
+
+Wed Apr 13 14:52:46 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * breakpoint.h (enum bptype): Add bp_hardware_watchpoint and
+       bp_watchpoint_scope breakpoints.
+       (struct breakpoint): Add val_chain and related_breakpoint fields
+       for use by watchpoints.
+
+       * breakpoint.c (within_scope): Delete.  No longer used.
+       (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Provide default definition.
+       (target_{remove,insert}_watchpoint): Likewise.
+       (can_use_hardware_watchpoint): New function.
+       (remove_breakpoint): New function to remove a single breakpoint
+       or hardware watchpoint.
+       (insert_breakpoints): Handle insertion of hardware watchpoints.
+       Store a copy of the value chain derived from the watchpoint
+       expression.
+       (remove_breakpoints): Simplify by using remove_breakpoint.
+       (delete_breakpoint): Likewise.
+       (watchpoint_check): Delete the watchpoint and watchpoint scope
+       breakpoints when the watchpoint goes out of scope.  Save & restore
+       the current frame after checking watchpoints.
+       (breakpoint_init_inferior): Likewise (restarting the program
+       makes all local watchpoints go out of scope).
+       (bpstat_stop_status): Handle hardware watchpoints much like normal
+       watchpoints. Delete the watchpoint and watchpoint scope breakpoint
+       when the watchpoint goes out of scope.  Remove and reinsert all
+       breakpoints before returning if we stopped when a hardware watchpoint
+       fired.
+       (watch_command): Use a hardware watchpoint when possible.  If
+       watching a local expression, build a scope breakpoint too.
+       (map_breakpoint_numbers): Also call given function for any
+       related breakpoints.
+       (disable_breakpoint): Never disable a scope breakpoint.
+       (enable_breakpoint): Handle hardware breakpoints much like normal
+       breakpoints, but recompute the watchpoint_scope breakpoint's
+       frame and address  (if we have an associated scope breakpoint).
+       (read_memory_nobpt): Handle hardware watchpoints like normal 
+       watchpoints.  When necessary handle watchpoint_scope breakpoints.
+       (print_it_normal, bpstat_what, breakpoint_1, mention): Likewise.
+       (clear_command, breakpoint_re_set_one, enable_command): Likewise.
+       (disable_command): Likewise.
+
+       * blockframe.c (find_frame_addr_in_frame_chain): New function.
+       Extern prototype added to frame.h
+
+       * infrun.c (wait_for_inferior): Set current_frame and select
+       a frame before checking if we stopped due to a hardare watchpoint
+       firing.  Handle stepping over hardware watchpoints.
+       (normal_stop): Remove unnecessary call to select_frame.
+
+       * value.h (value_release_to_mark): Declare.
+       * values.c (value_release_to_mark): New function.
+
+       * procfs.c (procfs_wait): Add cases for hardware watchpoints.
+       (procfs_set_watchpoint, procfs_stopped_by_watchpoint): New functions.
+
+       * hppab-nat.c (hppa_set_watchpoint): New function.
+
+       * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define.
+       (HAVE_STEPPABLE_WATCHPOINT): Define.
+       (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
+       (target_{insert,delete}_watchpoint): Define.
+
+       * config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
+       (STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
+       (target_{insert,remove}_watchpoint): Likewise.
+
+Mon Apr 11 19:21:27 1994  Stu Grossman  (grossman at cygnus.com)
+
+       * xcoffread.c (read_xcoff_symtab):  Ignore symbols of class C_EXT,
+       smtyp XTY_LD, sclass XMC_DS (external data segment label).  They
+       often have the same names as debug symbols for functions, and
+       confuse lookup_symbol().
+
+Mon Apr 11 10:44:35 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
+
+       * remote.c: Around redefinition of PBUFSIZE, adjust whitespace.
+       * config/pa/tm-hppa.h (REGISTER_BYTES): Use 4 rather than
+       REGISTER_RAW_SIZE (1).
+       Together these changes work around a bug in HP's compiler.  Both
+       seem to be necessary.
+
+Mon Apr 11 09:18:24 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * paread.c (pa_symtab_read): Handle ST_STUB symbols and symbols
+       with scope SS_EXTERNAL.  ST_ENTRY symbols in dynamic executables
+       are type mst_solib_trampoline.
+
+Fri Apr  8 17:14:37 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
+
+       * config/m68k/es1800.mt: Change comments.
+
+Fri Apr  8 17:14:37 1994  Rob Savoye  (rob@darkstar.cygnus.com)
+
+       * config/m68k/monitor.mt (TDEPFILES): Don't include remote-es.o.
+
+Fri Apr  8 15:35:30 1994  Stu Grossman  (grossman at cygnus.com)
+
+       * lynx-nat.c:  Restore regmap structure for SPARC.  It's needed
+       for core files.
+
+Fri Apr  8 14:53:35 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
+
+       * values.c (unpack_long): Remove obsolete comment about using a
+       switch statement.
+
+       * symfile.c (symbol_file_command): Add comments about command syntax.
+
+Thu Apr  7 17:25:21 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+                         Jim Kingdon  (kingdon@cygnus.com)
+
+       * infrun.c (IN_SOLIB_TRAMPOLINE):  Correct comment, trampolines
+       are in the .plt section.
+       * minsyms.c (lookup_solib_trampoline_symbol_by_pc,
+       find_solib_trampoline_target):  New functions for handling
+       stepping into -g compiled shared libraries.
+       * symtab.h (lookup_solib_trampoline_symbol_by_pc,
+       find_solib_trampoline_target):  Add prototypes.
+       * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE):
+       Define to handle stepping into  -g compiled shared libraries.
+       * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE):  Define to handle
+       stepping into  -g compiled shared libraries.
+
+Thu Apr  7 17:22:54 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * configure.in:  Add mips-*-sysv4* support.
+       * config/mips/mipsv4.mh, config/mips/mipsv4.mt,
+       config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c:
+       New files for MIPS SVR4 support.
+       * Makefile.in:  Update for new mipsv4 files.
+       * alpha-tdep.c (heuristic_proc_desc, find_proc_desc):  Use
+       read_next_frame_reg to obtain the frame relative stack pointer.
+       * mips-tdep.c (heuristic_proc_desc):  Use read_next_frame_reg to
+       obtain the frame relative stack pointer.
+       * mdebugread.c (parse_partial_symbols, psymtab_to_symtab1):
+       Handle stStatic and stStaticProc symbols in stabs-in-ecoff output
+       by entering them into the minimal symbol table.
+       * printcmd.c (print_scalar_formatted):  Do not try to unpack to
+       a long for float formats.
+       * solib.c:  Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not
+       get defined in <link.h>.
+       * solib.c (solib_add):  Add shared library sections to the section
+       table of the target before adding the symbols.
+       * partial-stab.h:  Relocate static and global functions.
+       * dbxread.c (read_dbx_symtab):  Remove unused variable
+       end_of_text_address.  Relocate text_addr when passing it
+       to end_psymtab.
+
+       For Alpha OSF/1 targets, enable gdb to set breakpoints in shared
+       library functions before the executable is run. Retrieve dynamic
+       symbols from stripped executables.
+       * mipsread.c (read_alphacoff_dynamic_symtab):  New function.
+       * mipsread.c (mipscoff_symfile_read):  Use it. Issue warning message
+       if no debugging symbols were found.
+       * alpha-tdep.c (alpha_skip_prologue):  Silently return the unaltered
+       pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS
+       is defined.
+       * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS):  Define,
+       OSF/1 has shared libraries.
+
+Thu Apr  7 15:11:11 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * dbxread.c (read_dbx_dynamic_symtab): Adjust for recent changes
+       to BFD handling of dynamic symbols.
+
+Tue Apr  5 15:29:25 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (hppa_fix_call_dummy): If FUN is a procedure label,
+       then gets its real address into FUN and its GOT/DP value into %r19.
+
+       * tm-hppa.h (CALL_DUMMY): Use %r20, not %r19 as a temporary.
+
+       * hppa-tdep.c (frameless_function_invocation): If no unwind
+       descriptor was found, then assume this was not a frameless
+       function invocation.
+       (frame_saved_pc): If the saved PC is in a linker stub, then
+       return the return address which the linker stub will return to.
+
+        * xm-hppab.h: Never define USG.
+        * xm-hppah.h: Always define USG.
+
+Tue Apr  5 12:58:47 1994  Per Bothner  (bothner@kalessin.cygnus.com)
+
+       * values.c (unpack_long, value_from_longest),
+       valarith.c (value_binop):  Allow TYPE_CODE_RANGE.
+
 Fri Apr  1 14:04:34 1994  Jason Merrill  (jason@deneb.cygnus.com)
 
        * symfile.c (deduce_language_from_filename): .cpp is a C++ extension.
This page took 0.02903 seconds and 4 git commands to generate.