aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-nlmstub.c
AgeCommit message (Collapse)AuthorFilesLines
1994-09-19* Makefile.in: Removed prelude.o, i386-nlmstub.o, nlmstub.o,J.T. Conklin1-1164/+0
nlmstub.nlm, and nlmstub targets. Removed NWSOURCE and NWINCLUDES definitions. * i386-nlmstub.c: Removed.
1994-08-08* i386-nlmstub.c (handle_exception): Wait until the thread hasJ.T. Conklin1-4/+18
been started before killing the NLM by pointing the PC at _exit().
1994-08-05* i386-nlmstub.c (handle_exception): Point the PC at _exit() toJ.T. Conklin1-15/+24
kill the program being debugged. KillMe(), the undocumented call intended for this purpose, causes the server to hang.
1994-07-27* i386-nlmstub.c: The returnLength field must be initializedJ.T. Conklin1-7/+9
before portConfig is passed to AIOGetPortConfiguration. Compare command line arguments with strnicmp(); args are case insensitive on netware.
1994-07-25* Makefile.in (LD_FOR_TARGET): Look for ld in ../ld/ld.new.J.T. Conklin1-25/+115
* i386-nlmstub.c: Add support for NODE, PORT and BAUD command line arguments.
1994-06-02 * configure.in: Add nlm subdir to configdirs for alpha-*-netwareStu Grossman1-25/+51
target. * defs.h (enum language): Add language_asm. * findvar.c (read_register_bytes read_register_gen write_register_bytes read_register read_register_pid write_register write_register_pid supply_register): Move multi- thread handling down into these routines. Create XXX_pid routines that allow register references to specify the pid. * findvar.c infcmd.c (read_pc read_pc_pid write_pc write_pc_pid read_sp write_sp read_fp write_fp): Move these routines from infcmd to findvar to centralize the whole mess. * i386-nlmstub.c: Portability fixes. * infptrace.c (child_resume): Conditionalize to allow other natives to override it. Remove PIDGET gubbish, it's no longer necessary. * infrun.c (wait_for_inferior): Put registers_changed() before target_wait() to speed up remote debugging. * Replace code that reads registers from other threads with much nicer looking new function calls (see changes to findvar.c). * Don't skip prologues if debugging assembly source. * lynx-nat.c (child_resume): Lynx now needs it's own version of child_resume to handle multi-thread debugging properly. * remote.c: Add O response to get console output from target. * (readchar): Add timeout parameter. Handle SERIAL_EOF and SERIAL_ERROR here to simplify callers. * Change static var timeout to remote_timeout. * (fromhex): Remove unnecessary return -1 at end of routine. * (remote_wait): Turn this into a big switch statement. Add support for O response. * (putpkt): Remove unnecessary handling of SERIAL_EOF/ERROR. * (getpkt): Split getpkt into two parts. read_frame deals with all formatting issues, run-length encoding, and framing. getpkt now handles error recovery, and frame detection. * ser-tcp.c (tcp_readchar): Handle EINTR from read(). * ser-unix.c (hardwire_raw): Set CLOCAL so that we ignore modem control. (hardwire_readchar): Handle EINTR from read(). * symfile.c (deduce_language_from_filename): Add support for .s files. * config/nm-lynx.h: Define CHILD_WAIT so that lynx-nat.c can override infptrace's child_wait. * config/rs6000/rs6000lynx.mh: Use xm-rs6000ly.h & nm-rs6000ly.h instead of XXXlynx.h. * config/rs6000/rs6000lynx.mt: Use tm-rs6000ly.h instead of tm-rs6000lynx.h. * nlm/gdbserve.c: Portability fixes.
1994-04-27 * i386-nlmstub.c: Update to be more in line with PIN stub.Stu Grossman1-163/+174
* nlm/gdbserve.c (putDebugChar): Install bug fix from i386-nlmstub. * (hex2mem): Init ptr. * General cleanups to use ConsolePrintf, standard prologues, etc...
1994-04-26 * i386-nlmstub.c: More changes to be compatible with remote.c.Stu Grossman1-10/+16
1994-04-26 * i386-nlmstub.c: An interim version till we get PIN for the x86.Stu Grossman1-22/+69
1993-11-30 * i386-nlmstub.c: Undo I/O redirection changes by Tom Lord.Stu Grossman1-14/+14
These definitely won't work under Netware.
1993-11-01Change the stream argument to _filtered to GDB_FILE *.Thomas Lord1-14/+14
Change all references to stdout/stderr to gdb_stdout/gdb_stderr. Replace all calls to stdio output functions with calls to corresponding _unfiltered functions (`fprintf_unfiltered') Replaced calls to fopen for output to gdb_fopen. Added sufficient goo to utils.c and defs.h to make the above work. The net effect is that stdio output functions are only directly used in utils.c. Elsewhere, the _unfiltered and _filtered functions and GDB_FILE type are used. In the near future, GDB_FILE will stop being equivalant to FILE. The semantics of some commands has changed in a very subtle way: called in the right context, they may cause new occurences of prompt_for_continue() behavior. The testsuite doesn't notice anything like this, though. Please respect this change by not reintroducing stdio output dependencies in the main body of gdb code. All output from commands should go to a GDB_FILE. Target-specific code can still use stdio directly to communicate with targets.
1993-10-04Novell came through with the publicly visible information, so thisIan Lance Taylor1-142/+23
file may now be distributed. * i386-nlmstub.c: New file; debugging stub for i386 NetWare. Must be compiled with NetWare header files and turned into an NLM with nlmconv.
1993-09-21Snapshot of current i386 NetWare debugging stub.Ian Lance Taylor1-46/+65
Added some more debugging information. Added handling of memory fault errors when caused by invalid memory accesses. Always use N response, not S.
1993-09-10Snapshot of current i386 NLM debugging stub.Ian Lance Taylor1-8/+10
1993-09-06Snapshot of stand alone i386 NLM debugging stub. Currently sanitizedIan Lance Taylor1-0/+1057
out because it contains Novell proprietary code.