aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1992-09-20 * main.c (main): Back out previous language setting changes.Fred Fish2-9/+12
Replace with simple default to C before processing any init files. There MUST be a language set, even in the absence of init files or executables, or expression parsing fails.
1992-09-19 * main.c (main): Move code that sets initial language toFred Fish2-30/+34
symfile.c. Fixup places where command files are processed to be consistent in setting a default language if none has been previously set. * symfile.c (set_initial_language): Add code moved from main() that sets an initial default language when a new symbol file is read. * symfile.c (symbol_file_command): Call set_initial_language. * symtab.c (find_main_psymtab): Add FIXME comment.
1992-09-19* rs6000-tdep.c (push_dummy_frame, pop_dummy_frame): replaceJohn Gilmore2-4/+8
calls to {fetch|store}_inferior_registers with calls to target_{fetch|store}_registers, for remote-target independence.
1992-09-19* configure.in: removed target_dependent line.John Gilmore4-3/+8
* remote-mm.c (mm_attach): change printf to error to prevent fallthrough bug. * remote-udi.c (udi_attach): change printf to error to prevent fallthrough bug.
1992-09-19comment changesJohn Gilmore1-0/+4
1992-09-19Left out ChangeLog, oopsJohn Gilmore1-0/+6
1992-09-19* Makefile.in: Fix bug I introduced in merging Rich's change.John Gilmore2-96/+173
* infrun.c (child_create_inferior): Use proceed() rather than doing all the same stuff by hand.
1992-09-19* Makefile.in, configure.in: add support for files used only whenJohn Gilmore3-17/+40
configured native, that is, when host == target.
1992-09-19* tm-sparc.h, xm-sparc.h: externs and macros relating to deferredJohn Gilmore3-14/+20
stores are target dependent and were moved from xm to tm.
1992-09-19* Makefile.in (gdb-all.texi): Build in objdir, not $srcdir.John Gilmore2-1/+3
1992-09-19* config/decstation.mh: Add MMALLOC_LIB and MMALLOC_DISABLEJohn Gilmore2-0/+11
overrides, to avoid problem in xdr_bytes with malloc(0) => 0.
1992-09-18Patched a couple of minor bugs in UDI support. These have been sentIan Lance Taylor1-1/+1
to AMD.
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* 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-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-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-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-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-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.
1992-09-11Improve doc of GDB config macros.John Gilmore2-9/+1327
1992-09-11* xm-mips.h (KERNEL_U_ADDR): Get from <machine/param.h>.John Gilmore5-14/+44
(REGISTER_U_ADDR): Fix up for Ultrix 4.2. * tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR): Move macro to xm-tahoe.h. * stack.c (_initialize_stack): "dow" should be a valid abbreviation for "down". Suggested by Richard Stallman.
1992-09-11* mips-xdep.c (REGISTER_PTRACE_ADDR, fetch_inferior_registers,John Gilmore1-11/+16
store_inferior_registers): Replace unexplained numbers with manifest constants from a DECstation header file. * xm-mips.h (KERNEL_U_ADDR): Get from <machine/param.h>. (REGISTER_U_ADDR): Fix up for Ultrix 4.2. * tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR): Move macro to xm-tahoe.h. * stack.c (_initialize_stack): "dow" should be a valid abbreviation for "down". Suggested by Richard Stallman.
1992-09-10from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.hKen Raeburn1-0/+2
1992-09-10from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.hKen Raeburn1-0/+5
1992-09-10* i386-stub.c, sparc-stub.c (getpacket): Actually check checksums.John Gilmore5-7/+15
* m68k-stub.c: Remove a few extraneous ANSI-isms. * remote-nindy.c (nindy_prepare_to_store): Only fetch regs if they aren't already there. * remote-vx.c (vx_prepare_to_store): Ditto. * xcoffread.c: Surround forward struct defns with #ifdef __STDC__.
1992-09-10Removed a large number of changes inserted by Per BothnerJohn Gilmore2-72/+14
for C++ support. These will go back in when they've been examined.
1992-09-10Removed a large number of changes inserted by Per BothnerJohn Gilmore10-351/+103
for C++ support. These will go back in when they've been examined.
1992-09-09* serial.h: Fix prototye for serial_raw().Stu Grossman5-29/+36
* ser-bsd.c, ser-termios.c: Fix args for serial_open() & serial_write() to match prototypes. * remote-st2000.c (get_reg_name): Make *p be const.
1992-09-08Switch to ser-bsd.c.Stu Grossman1-1/+1
1992-09-08nindy bug fixes (function types) and opcode library inclusionKen Raeburn2-4/+12