* tm-sparc.c (EXTRA_FRAME_INFO): New field sp_offset.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a67d3863c85febcc9c395079b07d458ac181433c..84e2e9be30d5f1888a0365252659192212b04320 100644 (file)
@@ -1,5 +1,303 @@
+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.
 
This page took 0.026499 seconds and 4 git commands to generate.