* tm-sparc.c (EXTRA_FRAME_INFO): New field sp_offset.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f442ae61ee4be90352c7387eb702d71898ecd9ab..84e2e9be30d5f1888a0365252659192212b04320 100644 (file)
@@ -1,3 +1,718 @@
+Sat Dec 17 13:23:21 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * tm-sparc.c (EXTRA_FRAME_INFO): New field sp_offset.
+       * sparc-tdep.c (sparc_init_extra_frame_info): Set it.
+       (examine_prologue, sparc_init_extra_frame_info): Use ->frame plus
+       ->sp_offset to compute the address something is saved at, not
+       ->bottom.
+
+       * sparc-tdep.c (get_saved_register): New function.
+       * tm-sparc.h: Define GET_SAVED_REGISTER; don't define
+       FRAME_FIND_SAVED_REGS, HAVE_REGISTER_WINDOWS or REGISTER_IN_WINDOW_P.
+       * stack.c (frame_info): Add comment about what to do if
+       FRAME_FIND_SAVED_REGS is not defined.
+
+       * sparc-tdep.c (sparc_init_extra_frame_info): Set ->frame field
+       here.  Get it right for flat frames.
+       * sparc-tdep.c (sparc_frame_chain): Instead of returning
+       meaningful value for ->frame field, just return dummy value.
+       This change is needed because the old code didn't deal with mixed
+       flat and non-flat frames.
+
+       * sparc-tdep.c (sparc_pop_frame): Write SP_REGNUM from
+       frame->frame, don't go through saved regs for this.
+
+       * sparc-tdep.c: Move guts of skip_prologue to new function
+       examine_prologue.  Check for flat prologue and set is_flat.
+       Provide the caller with the information about what is saved where
+       if desired.
+       (skip_prologue, sparc_frame_find_saved_regs): Call examine_prologue.
+
+       * sparc-tdep.c: Replace union sparc_insn_layout and anonymous
+       union in isannulled, which won't work on a little-endian host,
+       with X_* macros.
+
+       * sparc-tdep.c (sparc_frame_saved_pc): If addr == 0, the saved PC
+       is still in %o7.
+
+       * config/sparc/tm-sparc.h: Define INIT_FRAME_PC and
+       INIT_FRAME_PC_FIRST.
+       * blockframe.c (get_prev_frame_info): Modify comments regarding
+       INIT_FRAME_PC_FIRST and the sparc.
+
+       * sparc-tdep.c (single_step): Use 4 not sizeof (long) for size of
+       instruction. 
+
+Sat Dec 17 02:33:37 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * c-typeprint.c (c_type_print_base):  Use `show' of -1 to print
+       the return type of methods to avoid infinite loops with anonymous
+       types.
+       * valops.c (search_struct_field):  Handle anonymous unions.
+
+       * sparc-tdep.c (sunos4_skip_trampoline_code):  New function
+       to correctly handle steps into -g compiled PIC objects in the
+       main executable.
+       * config/sparc/tm-sun4os4.h (SKIP_TRAMPOLINE_CODE):
+       Redefine to use sunos4_skip_trampoline_code.
+
+       * dwarfread.c (DWARF_REG_TO_REGNUM):  Provide a default mapping
+       from DWARF to GDB register numbering.
+       * dwarfread.c (locval):  Use DWARF_REG_TO_REGNUM to map the
+       register value.
+       * config/mips/tm-mipsv4.h (DWARF_REG_TO_REGNUM):  Define.
+
+Fri Dec 16 10:56:29 1994  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * Makefile.in (uninstall): transform file names.
+
+Thu Dec 15 16:55:35 1994  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * defs.h: Include progress.h.
+       (QUIT): Call PROGRESS.
+       * main.c (main): Call START_PROGRESS and END_PROGRESS, break
+       usage message into shorter strings.
+       * source.c:  Change long command help strings into concats of
+       shorter ones, for picky ANSI compilers.
+
+       * top.c (command_loop): For space usage display, show both
+        absolute size and the change from before command execution.
+
+Thu Dec 15 16:40:10 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * defs.h, gdbtk.c (gdbtk_fputs), main.c (gdb_fputs), top.c: Add
+       stream arg to fputs_unfiltered_hook.  Differentiate stdout from
+       stderr when passing text into tcl land.
+       * defs.h, top.c, utils.c (error): Add error_hook.
+       * gdbtk.c: Improve mechanism for capturing output values.
+       (full_filename): Remove.
+       (gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land
+       with call_wrapper.  This prevents longjmps (usually via error())
+       from jumping out of tcl/tk and leaving things in an indeterminate
+       state.
+       * gdbtk.tcl: New view option to disable line numbers.  Put catch
+       around most uses of gdb_cmd.  Add update button to reg config
+       window.  Stop doing immediate updates when selecting registers.
+       Change register view values into checkbuttons.
+
+Tue Dec 13 15:15:33 1994  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * breakpoint.c, infrun.c, printcmd.c: Change long command help
+        strings into concats of shorter ones, for picky ANSI compilers.
+
+Mon Dec 12 17:08:02 1994  Stan Shebs  <shebs@andros.cygnus.com>
+
+       Sparc flat register window support.
+       * sparc-tdep.c (sparc_insn_layout): New union, defines layout of
+        instructions symbolically (used to be local to skip_prologue).
+       (sparc_init_extra_frame_info): New function.
+       (sparc_frame_chain): Add flat cases throughout.
+       (skip_prologue): Add recognition of flat prologues.
+       (sparc_frame_find_saved_regs): Add flat cases.
+       (sparc_pop_frame): Ditto.
+       * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): New slots.
+       (INIT_EXTRA_FRAME_INFO): Call sparc_init_extra_frame_info.
+       (PRINT_EXTRA_FRAME_INFO): Define.
+
+Mon Dec 12 16:59:29 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * gdbtk.tcl (reg_config_menu create_registers_window
+       recompute_reg_display_list):  Use array instead of individual vars
+       for register display list.
+       * (recompute_reg_display_list update_registers):  Fix bug with not
+       displaying all registers.
+
+Mon Dec 12 13:06:59 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
+
+       * f-lang.c: Remove duplicate declaration of
+       builtin_type_f_integer, and only include it in the f_builtin_types
+       once.
+
+       * somread.c (som_symfile_read): Just assign to objfile->obj_private,
+       not OBJ_UNWIND_INFO.  Assigning to a cast is a GCC-ism which
+       the HP compiler doesn't like.
+
+Mon Dec 12 12:22:21 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * gdbtk.c:  New tcl commands:  gdb_fetch_registers,
+       gdb_changed_register_list, and gdb_regnames.
+       * gdbtk.tcl:  Use monochrome color model for now.
+       * (delete_breakpoint_tag create_file_win):  Add breakdot support.
+       * (create_file_win create_asm_win update_listing build_framework
+       create_source_window create_command_window):  Re-org window
+       creation to give all windows consistent look and feel.
+       * (update_listing update_asm):  Change pc pointer to '->'.
+       * (registers_command reg_config_menu create_registers_window
+       populate_reg_window update_registers):  Revamp register window.
+       Allow selection of registers to be displayed.  Highlight changed
+       registers.
+
+Fri Dec  9 15:50:05 1994  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * remote.c (remote_wait): Pass string instead of char to strcpy.
+
+Fri Dec  9 04:43:17 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * gdbserver/low-lynx.c (mywait): Remove debugging printf.
+
+Thu Dec  8 15:07:29 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
+
+       * frame.h: Restore pre-Nov 3 comments about FRAME_FP with minor
+       changes.  They are correct, unlike the post-Nov 3 comment
+       (FRAME_FP doesn't have any machine-independent relationship with
+       FP_REGNUM or any other such notion of a "frame pointer").
+
+Wed Dec  7 14:50:54 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
+
+       * gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", to
+       match stubs and protocol spec.
+       * gdbserver/remote-utils.c (remote_open): Cast to struct sockaddr
+       when passing to function which expects that.
+
+       The following changes aren't quite enough to make things work with
+       LynxOS (apprently kernel problems).
+       * infrun.c (wait_for_inferior): When resuming new thread, pass pid
+       not -1 for remote case.
+       * thread.c (info_threads_command): Give error if !target_has_stack. 
+       * infrun.c (start_remote): Call init_thread_list.
+       * thread.c (info_threads_command): Don't call kill for remote
+       debugging target.
+       * target.c (normal_pid_to_str): Print "thread" not "process" for
+       remote.
+       * remote.c, gdbserver/*: Add 'H', 'S', and 'C' requests, 'X'
+       response, and `thread' part of 'T' response.
+       * gdbserver/*: If program exits, send packet to GDB before
+       exiting.  Handle termination with a signal the same as exiting
+       with an exitstatus.
+       * remote.c: Don't try to kill program after getting an 'X'
+       response.
+       * infrun.c (wait_for_inferior): Add comment about kill versus mourn.
+
+Thu Dec  8 12:37:38 1994  Rob Savoye  <rob@darkstar.cygnus.com>
+
+       * config/pa/tm-pro.h tm-hppap.h, hppapro.mt: Rename tm-hppap.h to
+       tm-pro.h.
+
+Wed Dec  7 18:22:59 1994  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * source.c: Various cosmetic changes.
+       (forward_search_command): Handle very long source lines correctly.
+
+Wed Dec  7 13:21:47 1994  Rob Savoye  <rob@darkstar.cygnus.com>
+
+       * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
+       stop being linked in.
+
+       * config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF,
+       otherwise it looks like BSD-ELF.
+
+Mon Dec  5 21:43:52 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * inftarg.c: include <sys/types.h> to get def of pid_t.
+
+Fri Dec  2 15:03:07 1994  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * solib.c (auto_solib_add_at_startup): New global.
+       (solib_create_inferior_hook): Call solib_add only if
+       auto_solib_add_at_startup is nonzero.
+       (_initialize_solib): New command "set auto-solib-add".
+
+Fri Dec  2 12:52:04 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * parse.c (msymbol_addr_type):  Replaced by
+       lookup_pointer_type (builtin_type_void).
+
+       * printcmd.c (_initialize_printcmd):  Give examine_*_type
+       a name for `ptype $_'.
+
+Fri Dec  2 12:52:04 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * printcmd.c (print_formatted): Call val_print_string directly,
+       rather than via value_print.
+
+Wed Nov 30 22:27:27 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * somsolib.c (som_solib_get_got_by_pc): New function.
+       * somsolib.h (som_solib_get_got_by_pc): Add extern decl.
+       * hppa-tdep.c (hppa_fix_call_dummy): Handle case where FUN is the
+       function's export stub or real address in a shared library.
+
+Tue Nov 29 13:40:25 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
+
+       * config/i386/nbsd.mh (REGEX, REGEX1): No longer define.
+
+       * configure.in (i[345]86-*-freebsd*): New configuration.
+       * config/i386/{fbsd.mh,fbsd.mt,nm-fbsd.h}: New files.
+
+Tue Nov 29 12:23:25 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * top.c (read_next_line): Pass annotation suffix "commands"
+       instead of "command", matches documentation.
+
+Mon Nov 28 14:53:21 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * config/a29k/tm-a29k.h (setup_arbitrary_frame): Replace
+       FRAME_ADDR with CORE_ADDR in prototype.
+
+       * top.c (command_line_input): If annotation suffix is NULL,
+       replace it with an empty string.
+       (read_next_line): Pass "command" as annotation suffix to
+       command_line_input.
+
+Mon Nov 28 11:03:14 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
+
+       * config/rs6000/tm-rs6000.h (setpgrp): move defn from here...
+       * config/rs6000/xm-rs6000.h: ...to here.
+
+Mon Nov 28 09:17:20 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * gdbtk.tcl (build_framework):  Fix bug with setting window titles.
+
+       * gdbtk.tcl (build_framework):  Add "Report bug" to help menu.
+
+       * gdbtk.tcl:  Re-arrange windows using new, consistent layout. Clean
+       up lots of code and centralize framework initialization.
+
+Fri Nov 25 21:26:02 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * tm-hppa.h (skip_trampoline_code): Add extern decl.
+       * hppa-tdep.c (hppa_pop_frame): Silently restart the inferior and
+       allow it to execute any return path trampoline code.  Stop the
+       inferior and give the user control when the trampoline has
+       finished executing.
+       (in_solib_call_trampoline): Handle export stubs which also perform
+       parameter relocations.
+       (in_solib_return_trampoline): Likewise.
+
+Fri Nov 25 13:37:10 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * coffread.c, symfile.h (coff_getfilename):  Make it static again.
+       * xcoffread.c (coff_getfilename):  Use a static copy from
+       coffread.c, modified for accessing the static xcoff strtbl.
+
+Fri Nov 25 00:51:05 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (in_solib_call_trampoline): Recognize calls through
+       _sr4export and $$dyncall as trampolines.  Likewise for long-call
+       stubs and parameter relocation stubs.
+       (in_solib_return_trampoline): Recognize a return trampoline for
+       return value relocation stubs.
+
+       * hpread.c: Include hp-symtab.h instead of hpux-symtab.h.
+       Various name changes to match those used by hp-symtab.h.
+
+Thu Nov 24 00:39:27 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
+       symbol special handling when INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK
+       is defined.
+       * infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Renamed from
+       IN_SOLIB_TRAMPOLINE.  All callers changed.
+       (IN_SOLIB_RETURN_TRAMPOLINE): Provide default definition.
+       (wait_for_inferior): Handle single stepping through trampolines on
+       return paths from shared libraries.
+       * config/pa/tm-hppa.h (IN_SOLIB_CALL_TRAMPOLINE): Use
+       in_solib_call_trampoline.
+       (IN_SOLIB_RETURN_TRAMPOLINE): Use in_solib_return_trampoline.
+       (INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK): Define.
+       * hppa-tdep.c (in_solib_call_trampoline): New function.
+       (in_solib_return_trampoline): New function.     
+
+Wed Nov 23 21:43:03 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * tm-h8300.h (REMOTE_BREAKPOINT): Define.
+       * h8300-tdep.c (h8300_pop_frame): Remove redundant call.
+
+       * remote-e7000.c (HARD_BREAKPOINTS): Reenable.
+       (BC_BREAKPOINTS): Disable.
+       * sh-tdep.c (print_insn): Cope with big and little endian machines.
+       * sh/sh.mt: Use libsim.a
+       * sh/tm-sh.h (TARGET_BYTE_ORDER_SELECTABLE): New
+       (BREAKPOINT): Changed to be byteorder independent.
+
+Tue Nov 22 19:13:39 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       Maintenance commands to report time and space usage.
+       * main.c (display_time, display_space): New globals.
+       (main): Add argument --statistics to enable reporting, display
+       time and space after startup is done.
+       * maint.c (maintenance_time_display, maintenance_space_display):
+       New commands.
+       * top.c (command_loop): Display time and space after command
+       execution.
+
+       * top.c (pre_init_ui_hook): New global.
+       (gdb_init): If pre_init_ui_hook set, call before all other init.
+
+Tue Nov 22 10:25:59 1994  Kung Hsu  (kung@mexican.cygnus.com)
+
+       * a29k-tdep.c (examine_tag): Fix a bug in stack frame size.
+
+Sat Nov 19 03:10:51 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * config/i386/i386sol2.mh:  Reenable core file support.
+
+       * symfile.c (deduce_language_from_filename):  Treat .c++ as a
+       C++ extension.
+
+       * valops.c (destructor_name_p):  Do not compare the template
+       part for template classes.
+
+Fri Nov 18 14:55:59 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * defs.h, infcmd.c (reg_names): Don't declare as constant.
+       * remote-mips.c (mips_open): Read and set the processor type.
+       * mips-tdep.c (mips_set_processor_type): Always return an int.
+
+Fri Nov 18 10:38:12 1994  J.T. Conklin  <jtc@rtl.cygnus.com>
+
+       * nlm/alpha.c (strtol): Remove, it is provided by NetWare C library.
+       * nlm/gdbserve.def (strtol): Add to import list.
+       * nlm/fake_aio.c: Remove file, no longer used.
+
+       * Makefile.in (LD_FOR_TARGET, NLMCONV_FOR_TARGET): Remove.
+       * nlm/Makefile.in (gdbserve.O): Link with ${CC_FOR_TARGET}.
+       (LD_FOR_TARGET): Remove.
+
+Thu Nov 17 22:09:50 1994  Rob Savoye  <rob@darkstar.cygnus.com>
+
+       * monitor.h, monitor.c, w89k-rom.c, op50n-rom.c, idp-rom.c: Add
+       support for two variables used to control the load protocol and
+       conversion type.
+
+Thu Nov 17 17:51:12 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       Support for different MIPS IDT processor models.
+       * mips-tdep.c (mips_processor_type, tmp_mips_processor_type,
+       mips_generic_reg_names, mips_r3041_reg_names,
+       mips_r3051_reg_names, mips_r3081_reg_names,
+       mips_processor_type_table): New globals.
+       (mips_do_registers_info): Don't display register if name is empty.
+       (mips_set_processor_type_command): New command.
+       (mips_show_processor_type_command): New command.
+       (mips_set_processor_type): New function.
+       (mips_read_processor_type): New function.
+       * config/mips/tm-idt.h (DEFAULT_MIPS_TYPE): New macro.
+       * config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): New macro.
+       (NUM_REGS): Increase to account for all CP0 registers.
+       (REGISTER_NAMES): Add empty names for CP0 registers.
+       (FIRST_EMBED_REGNUM, LAST_EMBED_REGNUM): Adjust.
+       (PRID_REGNUM): New macro.
+
+Wed Nov 16 16:41:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * README: Add warning about termcap in Ultrix and OSF/1.
+
+Wed Nov 16 15:28:29 1994  Rob Savoye  (rob@cygnus.com)
+
+       * Makefile.in: Fix the test for installing gdbtk.
+
+       * hppa-tdep.c: Remove including sys/dir.h from a target file.
+
+Wed Nov 16 10:31:27 1994  J.T. Conklin  (jtc@cygnus.com)
+
+       * config/powerpc/gdbserve.mt (TDEPFILES): Remove fake_aio.o.
+
+       * nlm/gdbserve.c: Include <nwtypes.h> before other NetWare headers.
+       * nlm/ppc.c: Likewise. 
+
+       * nlm/ppc.c (strtol): Remove, it is provided by NetWare C Library.
+       (StopBell): New function (stubbed out).
+
+Wed Nov 16 00:12:21 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (skip_trampoline_code): Handle shared library import
+       trampolines.
+
+Tue Nov 15 16:18:52 1994  Kung Hsu  (kung@mexican.cygnus.com)
+
+       * c-exp.y (yylex): Fix a bug in template scanning.
+
+Tue Nov 15 14:25:47 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * i386-stub.c, m68k-stub.c, sparc-stub.c, sparcl-stub.c: Mask out
+       the top bit returned by getDebugChar.
+
+Tue Nov 15 01:03:56 1994  Rob Savoye  (rob@slipknot.cygnus.com)
+
+       * op50-rom.c, w89k-rom.c, monitor.c: Modify to usr two variables
+       to set remote load type and protocol.
+       * rom68k-rom.c: Add to_stop in target_ops.
+
+Mon Nov 14 08:51:29 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * Makefile.in:  Install gdbtk.tcl.
+       * configure.in:  Add ENABLE_GDBTK flag.
+       * gdbtk.c (gdb_sourcelines):  Returns list of source lines
+       containing code.  (gdb_regnames):  Returns list of register names.
+
+Sat Nov 12 21:55:47 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * somsolib.c: Add TODO list.
+       (som_solib_add): Immediately return if $SHLIB_INFO$ sections does
+       not exist or has size zero.  Slightly simplify error handling.
+       Keep an internal list of all the loaded shared libraries and
+       various tidbits of information about the loaded shared libraries.
+       Build section tables for each loaded shared library and add those
+       tables to the core target if necessary.
+       (som_solib_create_inferior_hook): Force re-reading of shared
+       libraries at exec time.
+       (som_sharedlibrary_info_command): New function for dumping
+       information about the currently loaded shared libraries.
+       (_initialize_som_solib): New function.
+
+Sat Nov 12 02:26:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * Makefile.in (copying.o, f-exp.tab.o, dpx2-nat.o, dstread.o,
+       i386aix-nat.o, i386m3-nat.o, irix5-nat.o, lynx-nat.o, m3-nat.o,
+       mipsm3-nat.o, ns32km3-nat.o, remote-e7000.o, remote-os9k.o):
+       Add dependencies.
+       (copying.o, os9kread.o, remote.o):  Update dependencies.
+
+       * valarith.c (value_sub):  When subtracting pointers, only
+       check for a match of the pointed to element lengths.
+       Cast element length to LONGEST to obtain a signed result for
+       pointer subtractions.
+
+Fri Nov 11 10:51:07 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * ch-exp.y (yylex): Fix off-by-one error when converting string to
+       lowercase.  Null terminate new string.
+
+       * hppa-tdep.c (rp_saved): Handle IMPORT stubs too.
+
+       * somsolib.c (som_solib_add): Check the value of __dld_flags, if
+       it indicates __dld_list is not valid return an error.  If it
+       indicates that libraries were not mapped privately, issue a
+       warning.
+
+Thu Nov 10 23:17:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * symfile.c (syms_from_objfile): Only call find_lowest_section if
+       no ".text" section exists.
+
+Thu Nov 10 15:16:21 1994  Rob Savoye  <rob@rtl.cygnus.com>
+
+       * rom68k-rom.c: New file. Replaces the old remote-mon.c and uses
+       the new generic ROM interface in monitor.c.
+       * config/m68k/monitor.mt: Use new ROM support.
+       * monitor.c: Add support for xmodem download protocol.
+
+Wed Nov  9 18:46:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * findvar.c (find_saved_register): Fix a frame variable name.
+       * infcmd.c (finish_command): Ditto.
+
+Tue Nov  8 13:20:14 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * TODO: Remove "Watchpoints seem not entirely reliable, though
+       they haven't failed me recently." item--this old (4.6 at least)
+       item is too vague to be useful (some watchpoint bugs have been
+       fixed since then).
+       * TODO: Add explanation of "RPC interface" item.
+
+Mon Nov  7 22:25:21 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (read_unwind_info): Use "text_offset" for linker
+       stub unwind descriptors too.
+
+       * Enable backtracing from inside a SOM shared library back into
+       user code.
+       * hppa-tdep.c (internalize_unwinds): Accept and use new
+       "text_offset" argument for dynamic relocation of
+       region_{start,end} fields in the unwind descriptor.
+       (read_unwind_info): Pass text_offset to internalize unwinds.
+
+Mon Nov  7 14:34:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * m3-nat.c: Remove comments about arbitrary limit in
+       printf_filtered; that limit is gone.
+
+Mon Nov  7 00:27:16 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * Beginnings of SOM shared library support.  Breakpoints and
+       single frame backtracing within the library only.  Only works when
+       using the HPUX 9 dynamic linker.  More functionality to be added
+       soon.
+
+       * somsolib.c, somsolib.h: New files.
+       * Makefile.in (HFILES_NO_SRCDIR): Add somsolib.h
+       (ALLDEPFILES): Add somsolib.c.
+       (somsolib.o): Add some dependencies.
+       * somread.c (som_symtab_read): Accept multiple section offsets.
+       All callers changed.  Adjust all text symbols with the first
+       section offset.
+       * symfile.c (find_lowest_section): Enable this function.  Add some
+       tie-breaking logic when sections have the same vma.
+       (syms_from_objfile): Use find_lowest_section rather than looking
+       for ".text" by name.  Relax warning to only warn if the lowest
+       section is not a code section.
+       * config/pa/{hppabsd.mh, hppahpux.mh} (NATDEPFILES): Add somsolib.o
+       * config/pa/{nm-hppab.h, nm-hppah.h}: Include somsolib.h.
+       
+Sun Nov  6 12:54:54 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * partial-stab.h (N_TEXT): Put back GDB_TARGET_IS_HPPA kludge,
+       it is still needed for GCC-2.6 compiled code.
+       * TODO (GDB_TARGET_IS_HPPA): Note this kludge can be nuked
+       sometime after GCC-2.7 has been released.
+
+       * hppa-tdep.c (frame_saved_pc): Mask off low two bits when
+       retrieving the PC from a signal handler caller.  Fix thinko
+       in Stan's last change ("frame", should have been "frame->next").
+       If the next frame is a signal handler caller and it's a system
+       call which has entered the kernel ((PSW & 0x2) != 0), then the
+       saved pc is in %r2 instead of %r31.
+       
+Fri Nov  4 23:47:07 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (hppa_frame_find_saved_regs): Change "frame" to
+       "frame_info" throughout.
+
+Fri Nov  4 16:26:59 1994  Kung Hsu  (kung@mexican.cygnus.com)
+
+       * sparcl-stub.c: get rid of defs.h.
+
+Fri Nov  4 13:11:54 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
+
+       * gdbserver/Makefile.in (MMALLOC_CFLAGS): Add -I${MMALLOC_DIR}.
+       Correct definition of MMALLOC_DIR to reflect fact this is
+       gdb/gdbserver/Makefile.in, not gdb/Makefile.in.
+
+       * gdbserver/server.c (main): After we kill the inferior in
+       response to a 'k' request, exit.
+
+       * remote.c (remote_kill): Use catch_errors when calling putpkt.
+       (putpkt): Return int, not void, to match catch_errors calling
+       convention.
+
+Fri Nov  4 10:52:38 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * rs6000-tdep.c (pop_frame): Correct a variable name.
+
+Fri Nov  4 05:43:35 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * TODO: Re-write item about SIGINT handling to reflect the fact
+       that target_stop now exists.
+
+Thu Nov  3 15:19:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       Replace useless FRAME, FRAME_ADDR types with struct frame_info *
+       and CORE_ADDR, respectively.
+       * frame.h (FRAME, FRAME_INFO_ID, FRAME_ADDR): Remove.
+       * blockframe.c (get_frame_info): Remove.
+       * a29k-tdep.c, alpha-tdep.c, blockframe.c, breakpoint.c,
+       breakpoint.h, energize.c, findvar.c, gdbtk.c, gould-pinsn.c,
+       h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, i386-tdep.c, i960-tdep.c,
+       infcmd.c, inferior.h, infrun.c, m68k-tdep.c, m88k-tdep.c,
+       mips-tdep.c, nindy-tdep.c, printcmd.c, pyr-tdep.c, rs6000-tdep.c,
+       sh-tdep.c, sparc-tdep.c, stack.c, valops.c, z8k-tdep.c,
+       config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
+       config/gould/tm-pn.h, config/h8300/tm-h8300.h,
+       config/h8500/tm-h8500.h, config/mips/tm-mips.h,
+       config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
+       config/pyr/tm-pyr.h, config/sparc/tm-sparc.h): Replace FRAME with
+       struct frame_info * everywhere, replace FRAME_ADDR with CORE_ADDR,
+       rename variables consistently (using `frame' or `fi'), remove
+       calls to get_frame_info and FRAME_INFO_ID, remove comments about
+       FRAME and FRAME_ADDR cruftiness.
+
+Thu Nov  3 14:25:24 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,
+       remote-adapt.c, remote-e7000.c, remote-eb.c, remote-es.c,
+       remote-hms.c, remote-mips.c, remote-mm.c, remote-mon.c,
+       remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c,
+       remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c,
+       w89k-rom.c, target.c, target.h:  Add support for target_stop().
+       * gdbtk.c (gdb_stop):  Switch to target_stop().
+
+Thu Nov  3 01:23:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * osfsolib.c (solib_map_sections, first_link_map_member,
+       next_link_map_member, xfer_link_map_member):  Retrieve and use
+       shared library relocation offset from runtime loader structures.
+       Use libxproc.a routines to get a working version if
+       USE_LDR_ROUTINES is defined.
+       * README:  Remove item about shared library relocation for
+       Alpha OSF/1.
+
+Wed Nov  2 15:05:39 1994  Kung Hsu  (kung@mexican.cygnus.com)
+
+       * c-exp.y (yylex): scan template names, and scan nested class
+       names.
+
+Wed Nov  2 11:01:55 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
+
+       * nlm/Makefile.in: install gdbserve.nlm.
+
+Tue Nov  1 16:41:12 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * Makefile.in:  Use $(objdir)/tcl and $(objdir)/tk if they are
+       available.
+       * configure.in (ENABLE_CLIBS):  Use $(TCL) and $(TK) instead of
+       -ltcl and -ltk.
+       * gdbtk.c:  Get rid of lots of unnecessary #includes.
+       * (gdbtk_init):  Use ConnectionNumber macro instead of referencing
+       Display structure directly.
+       * gdbtk.tcl:  Change exit button to quit button.
+
+Tue Nov  1 13:00:46 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * c-valprint.c (c_value_print):  Check for plain literal `char'
+       target type when suppressing `(char *)' output for strings.
+
+Mon Oct 31 19:19:51 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * coffread.c (coff_symfile_init): Remove unused local abfd.
+       * utils.c [NO_MMALLOC] (mmalloc, mrealloc): Define and use size_t
+       instead of long, for compatibility with mmalloc.h.
+
+Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * top.c (line_completion_function):  Renamed from
+       symbol_completion_function, takes the line buffer and the
+       point in the line buffer as additional arguments.
+       (readline_line_completion_function):  New function, interface
+       between readline and line_completion_function.
+       (init_main):  Use it.
+       (complete_command):  Use line_completion_function instead of
+       abusing rl_line_buffer. Free completion strings after printing
+       them.
+       * symtab.c (completion_list_add_name):  Recheck for duplicates
+       if we intend to add a modified symbol.
+
+       * gdbtypes.h (cplus_struct_type):  nfn_fields_total no longer
+       includes the number of methods from the baseclasses.
+       * stabsread.c (attach_fn_fields_to_type):  No longer add the
+       number of methods from the baseclasses to TYPE_NFN_FIELDS_TOTAL,
+       the baseclass type might not have been completely filled in yet.
+       * symtab.c (total_number_of_methods):  New function to compute
+       the total number of methods for a type, including the methods
+       from baseclasses.
+       (decode_line_1):  Use it instead of TYPE_NFN_FIELDS_TOTAL to
+       allocate the symbol array for find_methods.
+
+       * stabsread.c (scan_file_globals):  Add default case to minimal
+       symbol type switch, to avoid gcc -Wall warnings.
+
+       * config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO):
+       Don't test for zero backchain pointer to recognize a signal
+       handler frame, if read() gets interrupted by a signal, the
+       backchain will be non zero.
+       (SIG_FRAME_FP_OFFSET):  Move to here from rs6000-tdep.c,
+       improve comment.
+       (SIG_FRAME_PC_OFFSET):  New definition.
+       (FRAME_SAVED_PC):  Return saved pc from sigcontext if this
+       is a signal handler frame.
+       * rs6000-tdep.c (function_frame_info):  Do not error out
+       if we can't access the instructions.
+
+       * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR):
+       New definition to get the function address from a function pointer.
+       * valops.c (find_function_addr):  Use it when calling a user
+       function through a function pointer.
+
 Fri Oct 28 16:16:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
 
        * Makefile.in (MMALLOC_DIR): New definition.
@@ -505,6 +1220,27 @@ Wed Sep 28 08:59:14 1994  Jim Kingdon  (kingdon@cygnus.com)
        * xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we were
        ignoring before.  But continue to ignore XMC_DS.
 
+Wed Sep 28 00:35:23 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hpread.c (hpread_read_array_type): Do not change the type code
+       to TYPE_CODE_PTR for "char foo[]".  Just make it a zero length
+       array type.
+
+       * hpread.c (hpread_type_translate): Handle T_UNS_LONG types with
+       lengths other than 32bits (HP C 9.69 represents an "unsigned char"
+       as an T_UNS_LONG with length 8).
+
+       * hpread.c (struct hpread_symfile_info): Delete have_module field
+       and accessor macro.  Minor indentation fix.
+       (hpread_build_psymtabs, case K_MODULE):  Only start a new psymtab
+       and reset state variables have_name & texthigh if pst is NULL.
+       (hpread_build_psymtabs, case K_SRCFILE): Only reset the name of a
+       partial symbol table if pst is non-NULL.  If pst is NULL, then
+       start a new psymtab.
+       (hpread_process_one_debug_symbol, case K_MODULE): Now empty.
+       (hpread_process_one_debug_symbol, case K_SRCFILE): Simplify and
+       correct handling of subfiles.
+
 Mon Sep 26 02:59:00 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
 
        * defs.h (misc_command_type):  Remove trailing comma from
@@ -1157,6 +1893,25 @@ Fri Aug 19 13:35:01 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
        (generic_load):  Remove check for NULL filename, it is done
        in load_command now.
 
+Fri Aug 19 10:36:15 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * Makefile.in (ALLDEPFILES): Add hpread.c.
+       (hpread.o): Add dependencies.
+
+       * somread.c: Do not include "aout/aout64.h".  SOM has nothing to
+       do with a.out.
+       (BYTES_IN_WORD): Delete.
+       (som_symfile_read): Call hpread_build_psymtabs to build any
+       minimal symbols based on the HP C native debug symbols.
+       (som_symfile_finish): Call hpread_symfile_finish.
+       (som_symfile_init): Call hpread_symfile_init.
+       * config/pa/tm-hppa.h (HPREAD_ADJUST_STACK_ADDRESS): Define.
+       * hppa-tdep.c (hpread_adjust_stack_address): New function.
+
+       * config/pa/hppabsd.mh (NATDEPFILES): Add hpread.o
+       * config/pa/hppahpux.mh (NATDEPFILES): Likewise.
+       * hpread.c: New file.
+
 Fri Aug 19 00:40:55 1994  Jeff Law  (law@snake.cs.utah.edu)
 
        * hppa-tdep.c (skip_trampoline_code): Revert incorrect change
@@ -1253,6 +2008,17 @@ Sat Aug 13 08:22:50 1994  Fred Fish  (fnf@cygnus.com)
 
        * environ.c (init_environ):  If no environment, do nothing.
 
+Fri Aug 12 19:30:53 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hpread.c: Delete rest of TODO list.  Do not include "libbfd.h",
+       <time.h>, <sys/types.h>, "demangle.h", <sys/file.h>,
+       "expression.h", "language.h", "gdbtypes.h", "demangleh".
+       Move all global variables into the private symbol table structure
+       and add accessor macros.  Update some comments.
+       (hpread_build_psymtabs): Delete dbsubc_addr, we don't need it.
+       (hpread_end_psymtab): New function to end a partial symbol table,
+       all callers changed (no more bogus sharing with dbxread.c).
+
 Fri Aug 12 15:52:37 1994  Stu Grossman  (grossman@cygnus.com)
 
        * remote.c (remote_wait):  Return inferior_pid instead of 0 for
@@ -1309,6 +2075,12 @@ Tue Aug  9 09:44:42 1994  Stu Grossman  (grossman@cygnus.com)
        clutches.
        * (procfs_set_sproc_trap):  Enable trapping of fork and vfork.
 
+Mon Aug 08 15:34:13 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hpread.c (hpread_process_one_debug_symbol): Fix block scoping
+       problem (losing localvars on the close-brace instead of after
+       the close brace).
+
 Mon Aug  8 15:09:32 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
 
        * i386-nlmstub.c (handle_exception): Wait until the thread has
@@ -1767,6 +2539,20 @@ Wed Jul  6 20:22:07 1994  Per Bothner  (bothner@kalessin.cygnus.com)
        * ch-exp.y (yylex):  First try name lookup using exact name
        typed by user;  if that fails, try lower-cased name.
 
+Wed Jul 06 12:39:07 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hpread.c: More cleanups.  Delete lots of trailing whitespace.
+       Remove some items from the TODO list and notes throughout code
+       for things which need fixing.  Add more comments.
+       Document bogus struct symloc sharing with dbxread.c.  Delete more
+       useless variables.  Add more PARAM prototypes.  Fixup more
+       indention problems that have crept in.
+       (SET_NAMESTRING): Accept new namep and objfile arguments so that
+       it doesn't depend on the variable names on the procedures it's
+       used from.  
+       (hpread_symfile_init): Delete incorrect checks for bogus sizes of
+       the debug sections.
+
 Wed Jul  6 00:48:57 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
 
        * dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c:
@@ -1781,6 +2567,12 @@ Wed Jul  6 00:48:57 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
        * procfs.c (wait_fd):  Handle ENOENT error return from PIOCWSTOP
        ioctl, it indicates that the process has exited.
 
+Mon Jul 04 19:48:03 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hpread.c (hpread_symfile_init): Make sure to initialize all the
+       private data to zero.  Not having any HP C debug symbols is not an
+       error.  Just return.
+
 Mon Jul  4 19:28:56 1994  Jeff Law  (law@snake.cs.utah.edu)
 
        * hppa-tdep.c (read_unwind_info): ELF unwind information is in the
@@ -1802,6 +2594,17 @@ Sat Jul  2 01:51:33 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
        Define to enable handling of shared libraries for a.out executables,
        run under Solaris BCP.
 
+Fri Jul 01 19:50:21 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hpread.c: Change contribution notice to the Cygnus/Utah agreed
+       upon notice.  Delete some stuff from the TODO list.  Rework
+       many comments to be clearer.  Major cleanups.  Consistently
+       use "hpread_" prefix.  Delete unnecessary macros, structures
+       variables, fiels, functions and #if 0 code.  Mark code which
+       still needs to be cleaned up.  PARAMize and make most functions
+       static. Fix error checking when reading in the debug section
+       contents.  No more minimal symbol table handling in this code!
+
 Thu Jun 30 13:59:23 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * infrun.c (wait_for_inferior): Print "Program exited normally"
@@ -3228,6 +4031,11 @@ Mon Mar 21 11:02:51 1994  Stu Grossman  (grossman at cygnus.com)
        VM_MIN_ADDRESS.
        * config/alpha/tm-alphanw.h:  DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0.
 
+Mon Mar 21 10:09:06 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hpread.c (_initialize_hpuxread): Don't call add_symtab_fns if
+       HPREAD is not defined.
+
 Sun Mar 20 15:21:57 1994  Doug Evans  (dje@cygnus.com)
 
        * sparc-tdep.c (sparc_frame_find_save_regs): Use REGISTER_RAW_SIZE
@@ -3343,6 +4151,13 @@ Tue Mar 15 10:05:27 1994  Jim Kingdon  (kingdon@cygnus.com)
 
        * rs6000-tdep.c: Change value to value_ptr.
 
+Sun Mar 13 17:19:03 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hpread.c (read_hpux_symtab: Correctly determine the namespace
+       and address class of SVAR, DVAR, TYPEDEF, TAGDEF, CONST, and
+       MEMENUM symbols.  Do not include function-scoped variables in
+       the partial symbol table.
+
 Sun Mar 13 09:45:51 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * i386m3-nat.c: Include floatformat.h.
@@ -3873,6 +4688,13 @@ Mon Feb  7 08:22:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
        * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
        BFD_HOST_64_TYPE.
 
+Sun Feb  6 15:56:09 1994  Jeff Law  (law@wild.cs.utah.edu)
+
+       * hpread.c (hpux_symfile_init): Use obj_som_* rather than obj_* to
+       access BFD private data.  Search for the "$TEXT$" space rather
+       than ".text".
+       (hppa_sym_fns): Add bfd target flavour to initializer.
+
 Sun Feb  6 06:55:15 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * target.c (target_preopen): If target_kill doesn't remove the
This page took 0.032397 seconds and 4 git commands to generate.