aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1992-09-18 * tc-m68k.c (m68k_ip): An(disp) is not pc relative.Steve Chamberlain2-1/+5
1992-09-18Remove convert_{to,from}_virtual members from target structs.John Gilmore13-29/+28
1992-09-18* target.h (struct target_ops): removed to_convert_to_virtual andJohn Gilmore4-95/+88
to_convert_from_virtual elements. Initializations removed from all static initializations. (target_convert_to_virtual, target_convert_from_virtual): removed. (host_convert_to_virtual, host_convert_from_virtual): Removed forward declarations. * target.c (cleanup_target): removed default assignments for to_convert_to_virtual and to_convert_from_virtual. * inftarg.c (host_convert_to_virtual, host_convert_from_virtual): removed. * findvar.c (value_of_register, value_from_register): target_convert_to_virtual inlined. * infcmd.c (do_registers_info): target_convert_to_virtual inlined. * valops.c (value_assign): target_convert_from_virtual inlined.
1992-09-18* main.c (gdb_readline): Avoid printf_filtered, which sets charJohn Gilmore2-1/+8
position wrong if used for the prompt. * utils.c (puts_filtered): Comment: NOT a puts() replacement!
1992-09-18Support for accessing arbitrary MIPS stack frames in memory.John Gilmore3-0/+58
* blockframe.c (get_prev_frame_info): If INIT_FRAME_PC_FIRST is set, run it before INIT_EXTRA_FRAME_INFO. * stack.c (frame_info): If PRINT_EXTRA_FRAME_INFO defined, call it. * mips-tdep.c (init_extra_frame_info): Only clobber the `frame' (FP) value in the frame_info struct if it is zero (as from top of execution stack). (setup_arbitrary_frame): Implement FRAME_SPECIFICATION_DYADIC. * mips-xdep.c (fetch_inferior_registers): ZERO_REGNUM always comes back as zero. So does FP_REGNUM, as a trigger for init_extra_frame_info. * tm-mips.h (INIT_FRAME_PC_FIRST): Kludge, FIXME, defined to get the program counter set before INIT_EXTRA_FRAME_INFO is run. (INIT_FRAME_PC): Defined to null. (PRINT_EXTRA_FRAME_INFO): print frame pointer location via symtab. (FRAME_SPECIFICATION_DYADIC): Ask for two args in frame command. Briefly explain MIPS stacks in GDB.
1992-09-18* Makefile.in (make): Remove obsolete crud.John Gilmore2-30/+9
(sparc-opc.o): Avoid Sun Make VPATH bug.
1992-09-18* tm-rs6000.h (AIX_BUGGY_PTRACE_CALL): Zap, we think we fixed it.John Gilmore3-19/+7
Rich and I believe the "real problem" was that both single_step and target_resume were issuing PT_CONTINUE calls. This would cause the second PT_CONTINUE to sometimes fail because the process was already running. * infptrace.c (child_resume): Remove AIX_BUGGY_PTRACE_CALL kludge.
1992-09-18Preliminary cleanup for splitting host/native/target.John Gilmore3-12/+19
* infptrace.c (child_resume): Don't deal with NO_SINGLE_STEP here; it is dealt with at a gdb-target-independent level. * rs6000-tdep.c (single_step): Don't call ptrace, we are a high toned routine. Fix return type to void.
1992-09-18only set PWD if it is already set (and likely wrong). from p3.Mark Eichin1-0/+4
1992-09-18* Makefile.in (update-depend, update-alldeps): Split out ofJohn Gilmore2-11/+29
setup-to-dist, for convenience in rebuilding the depend and alldeps.mak files. (assorted): Update to catch straggler files when building gdb.tar.Z
1992-09-18Changes to make the gdb.tar.Z rule work better.John Gilmore1-0/+8
* Makefile.in (GDB_SUPPORT_DIRS): Add opcodes. (DEVO_SUPPORT): Add configure.texi. (bfd-ilrt.tar.Z): Remove ancient rule.
1992-09-18from p3. Some shells leave PWD in the environment (old tcsh, ksh at least)Mark Eichin2-0/+8
screws nested configures. "unset PWD" is the right answer, except that Decstation sh doesn't *have* unset. Note also that the send-pr build will fail if you have PWD in your environment, because emacs also (foolishly) trusts it. * configure: just set PWD=`pwd` at the top, since Ultrix sh doesn't have unset and all success paths (and most error paths) out set it anyway. (Note: should change all uses of ${PWD=`pwd`} to just ${PWD} to avoid confusion.)
1992-09-17Improve release doc slightly.John Gilmore2-3/+8
1992-09-17* copying.awk, copying.c (show_copying_command,John Gilmore1-0/+4
show_warranty_command): Rename from copying_info, warranty_info, to match command function conventions.
1992-09-17* utils.c (prompt_for_continue): Reinitialize more-countsJohn Gilmore3-21/+33
before printing anything, and again afterward. Fix comments. (vfprintf_filtered): Eliminate static buffer; use auto buffer, or alloca() if needed. * rs6000-xdep.c: Use correct conditional (IBM6000_TARGET) to detect native versus cross-host.
1992-09-17* m68k-tdep.c (sun3_saved_pc_after_call): Only do trap check forStu Grossman4-16/+79
Suns. Rename to m68k_saved_pc_after_call. * tm-68k-noun.h, tm-sun3.h (SAVED_PC_AFTER_CALL): Use m68k_saved... instead of sun3_saved...
1992-09-16Make as.new depend on LIBS not the never set LIBDEPS, so that we get anJim Wilson1-0/+5
opcodes directory dependence.
1992-09-16Update to SPARC V9 draft 1.1. Put brfcx before brfc to avoid superfluousJim Wilson1-4/+13
symbol table entries. Document unimplemented synthetic instructions.
1992-09-15Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-3/+13
* Makefile.in (install): if $(tooldir) exists, install ld in $(tooldir)/bin.
1992-09-15Changes to make an installed cross-compiler find everything correctly.Ian Lance Taylor2-4/+13
Tue Sep 15 15:32:02 1992 Ian Lance Taylor (ian@cygnus.com) * Makefile.in (install): if $(tooldir) exists, install as in $(tooldir)/bin.
1992-09-15Changes to make an installed cross-compiler find everything correctly.Ian Lance Taylor1-0/+17
Tue Sep 15 15:26:38 1992 Ian Lance Taylor (ian@cygnus.com) * Makefile.in (install): if $(tooldir) exists, install nm and strip in $(tooldir)/bin.
1992-09-15Changes to make an installed cross-compiler find everything correctly.Ian Lance Taylor2-14/+68
Tue Sep 15 16:00:54 1992 Ian Lance Taylor (ian@cygnus.com) * configure: always set $(tooldir) to $(libdir)/$(target_alias), even for a native compilation.
1992-09-15In brx macro, check for XCC bit set in xcc insns, and not set in icc insns.Jim Wilson1-13/+18
In cond macro, do brx before br, to avoid getting extra symbol table entries due to failed pattern matches.
1992-09-15Keep h8.m4 now.Roland Pesch1-0/+1
1992-09-15Add missing utils.c patches.Stu Grossman1-2/+87
1992-09-15Don't use prototypes for vfprintf_filtered(). Someday we'll get prototypes ofStu Grossman1-1/+3
varargs routines working...
1992-09-15All new patches for Energize!Stu Grossman1-237/+191
1992-09-15* energize.c (pty_to_kernel): Must check for EAGAIN asStu Grossman2-43/+126
termination condition. (full_filename): Don't prepend dirname if filename begins with /. (breakpoint_notify, kernel_dispatch): Deal with DynamicLoad messages properly!! (getpty (NCR)): Lotsa bug fixes... (kernel_dispatch (case StopRType)): Use kill() instead of killpg() so we can deal with losing systems... (wait_for_events): Work around NCR select() lossage. It doesn't zero out readfds when select() returns zero. (energize_initialize): Use I_SETSIG to get SIGIO interrupts. Use getcwd() instead of getwd() (NCR getwd() seg faults). (energize_wait): Use sigaction() for NCR. Their version of signal() is unreliable by default.
1992-09-15* procfs.c (proc_wait): Call print_sys_errmsg() if we get anStu Grossman2-0/+4
error from PIOCSWSTOP.
1992-09-15* breakpoint.c, core.c, exec.c, language.c, main.c, printcmd.c,Stu Grossman10-125/+209
symfile.c, target.c, valprint.c: Use _filtered form of *printf. defs.h, utils.c: Make vfprintf_filtered global.
1992-09-15Oops! Retract last change. Didn't mean to pollute things with energize justStu Grossman2-34/+13
yet!
1992-09-15* utils.c (query): Remove test for energize from top. NowStu Grossman2-13/+34
handled in input_from_terminal_p().
1992-09-15* energize.c (send_location): New routine to consolidate allStu Grossman2-27/+140
places where we must notify kernel of where the given pc is. (cplus_demangle): Put single-quotes around demangled names. (energize_call_command): Call send_location() after doing up, down, and frame commands.
1992-09-14Fix typos and thinkos reported by Sun Ming (and one reported by John).Roland Pesch1-14/+18
1992-09-14Sun Sep 13 20:29:39 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor3-0/+16
* obj-coffbfd.h: define WARN_SIGNED_OVERFLOW_WORD. obj-coffbfd.c (fixup_segment): check for signed .word overflow if WARN_SIGNED_OVERFLOW_WORD.
1992-09-14Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+8
* Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any .word is < -32768 or > 32767. The -J flag causes the error to be ignored. This is to catch over-sized switches generated by gcc on systems which don't support the broken .word hack. as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD. write.c (fixup_segment): check for signed .word overflow if WARN_SIGNED_OVERFLOW_WORD.
1992-09-14Sun Sep 13 20:29:39 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-2/+7
* obj-coffbfd.c (fixup_segment): fixed missing parens in expression checking for byte or word overflow.
1992-09-14Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-2/+7
* write.c (fixup_segment): fixed missing parens in expression checking for byte or word overflow.
1992-09-12...plus c'est la meme chose.Roland Pesch1-0/+8
1992-09-12 * doc/gdb.texinfo, doc/gdbinv-m.m4.in, doc/gdbinv-s.m4.in: firstRoland Pesch5-5/+91
pass at doc for two new remote targets---29K using UDI, and Tandem ST2000 using STDBUG. * doc/all.m4, doc/none.m4: new m4 switch, _ST2000__ * doc/all.m4: turn on H8/300 stuff for generic manual
1992-09-12*** empty log message ***Roland Pesch1-0/+5
1992-09-12doc/gdbinv-s.m4.in: remove text on special procedures to continue afterRoland Pesch1-27/+0
explicit call to breakpoint() in serial stubs.
1992-09-11Fri Sep 11 15:37:06 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-5/+65
* coffcode.h (coff_renumber_symbols): set the last renumbered symbol pointer to NULL, as expected by coff_write_linenumbers. (coff_write_relocs): apparently a non-zero addend is OK for reloc type R_IHCONST used on the 29k.
1992-09-11Whoops, forgot this oneSteve Chamberlain2-1/+8
1992-09-11Sanitize slipSteve Chamberlain2-1/+44
1992-09-11Add i386coff.shSteve Chamberlain1-1/+5
1992-09-11New filesSteve Chamberlain2-0/+2
1992-09-11Support for i386-coffSteve Chamberlain4-1/+17
1992-09-11Support for 386 coffSteve Chamberlain3-0/+16
1992-09-11* mipsread.c: Clean up some white space.John Gilmore1-0/+4
(parse_symbol): Handle stEnd of stFile. (parse_partial_symbols): Remove old #if 0'd code. Handle stLocal.