aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm
AgeCommit message (Collapse)AuthorFilesLines
2003-06-13From Kelley Cook <kelleycook@wideopenwest.com>:Mark Kettenis2-15/+30
* configure.host: Accept i[34567]86 variants. * configure.tgt: Likewise. * nlm/configure.in: Likewise. * nlm/configure: Regenerated.
2003-04-292003-04-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+2
* gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP. (DEPRECATED_FP_REGNUM): Replace FP_REGNUM. * gdbarch.h, gdbarch.c: Re-generate. * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM, DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID. * inferior.h (deprecated_read_fp): Rename read_fp. (generic_target_read_fp): Delete declaration. * regcache.c (generic_target_read_fp): Delete function. (deprecated_read_fp): Replace read_fp, use DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM. * d10v-tdep.c (d10v_read_fp): Delete function. (d10v_gdbarch_init): Do not set deprecated_read_fp. * sparc-tdep.c (sparc_gdbarch_init): Do not set deprecated_target_read_fp to generic_target_read_fp. * sh-tdep.c (sh_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * xstormy16-tdep.c (xstormy16_gdbarch_init): Set deprecated_fp_regnum. * x86-64-tdep.c (x86_64_init_abi): Ditto. * vax-tdep.c (vax_gdbarch_init): Ditto. * v850-tdep.c (v850_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mcore-tdep.c (mcore_gdbarch_init): Ditto. * m68k-tdep.c (m68k_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * i386-tdep.c (i386_gdbarch_init): Ditto. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * h8300-tdep.c (h8300_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * cris-tdep.c (cris_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * alpha-tdep.c (alpha_gdbarch_init): Ditto. * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp. * v850-tdep.c (v850_gdbarch_init): Ditto. * sparc-tdep.c (sparc_gdbarch_init): Ditto. * sh-tdep.c (sh_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * mips-tdep.c (mips_gdbarch_init): Ditto. * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * hppa-tdep.c (hppa_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * avr-tdep.c (avr_gdbarch_init): Ditto. * arm-tdep.c (arm_gdbarch_init): Ditto. * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with DEPRECATED_FP_REGNUM. (vax_push_dummy_frame, vax_pop_frame): Ditto. * std-regs.c (value_of_builtin_frame_fp_reg): Ditto. * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. (sparc_push_dummy_frame, sparc64_read_fp): Ditto. (sparc32_register_virtual_type): Ditto. * sh-tdep.c (sh64_frame_chain): Ditto. (sh64_get_saved_register, sh64_pop_frame): Ditto. (sh_nofp_frame_init_saved_regs): Ditto. (sh64_nofp_frame_init_saved_regs): Ditto. (sh_fp_frame_init_saved_regs): Ditto. * remote-mips.c (mips_wait, mips_fetch_registers): Ditto. * remote-e7000.c (fetch_regs_from_dump): Ditto. * procfs.c (procfs_fetch_registers): Ditto. (procfs_store_registers): Ditto. * ns32knbsd-nat.c (fetch_inferior_registers): Ditto. (store_inferior_registers, fetch_core_registers): Ditto. (fetch_kcore_registers, clear_regs): Ditto. * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto. (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto. * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto. * nlm/i386.c (do_status): Ditto. * mipsv4-nat.c (supply_gregset): Ditto. * mips-tdep.c: Ditto for comments. * mips-nat.c (fetch_inferior_registers): Ditto. (store_inferior_registers, fetch_core_registers): Ditto. * m68k-tdep.c (m68k_push_dummy_frame): Ditto. (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto. * i386-tdep.c (i386_frame_init_saved_regs): Ditto. (i386_do_pop_frame, i386_register_type): Ditto. * hppa-tdep.c (hppa_frame_chain): Ditto. (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto. (hppa_pop_frame, hppa_read_fp): Ditto. (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto. * cris-tdep.c (cris_examine, cris_pop_frame): Ditto. * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto. * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto. * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto. * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto. * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto. * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto. * blockframe.c: Ditto for comments. * arch-utils.h: Ditto for comments. * arch-utils.c (legacy_virtual_frame_pointer): Ditto. * alphanbsd-tdep.c (fetch_core_registers): Ditto. * alphabsd-nat.c (fetch_inferior_registers): Ditto. * alpha-tdep.h: Ditto for comments. * alpha-tdep.c (alpha_cannot_fetch_register): Ditto. (alpha_cannot_store_register): Ditto. (alpha_push_dummy_frame): Ditto. * alpha-nat.c (supply_gregset): Ditto. * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update. * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update. * config/sparc/tm-sparc.h: Update comment. * hppa-tdep.c (hppa_init_extra_frame_info): Use deprecated_read_fp instead of TARGET_READ_FP. (hppa_init_extra_frame_info, hppa_frame_chain): Ditto. (hppa_push_dummy_frame, hppa_read_fp): Ditto. * sparc-tdep.c (sparc_init_extra_frame_info): Use deprecated_read_fp instead of read_fp. * s390-tdep.c (s390_push_arguments): Ditto. * ia64-tdep.c (ia64_gdbarch_init): Ditto. * frame.h: Ditto in comments. * frame.c (legacy_get_prev_frame): Ditto. * dummy-frame.c (dummy_frame_this_id): Ditto. * arm-tdep.c (arm_init_extra_frame_info): Ditto. 2003-04-28 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Replace read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp, DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM.
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+2
2000-07-30Protoization.Kevin Buettner3-72/+28
1999-06-28import gdb-1999-06-28 snapshotJason Molenda1-0/+3
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs10-0/+3009
1999-04-16Initial creation of sourceware repositoryStan Shebs11-3050/+0
1999-01-051999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda3-12/+14
* configure.in: Require autoconf 2.12.1 or higher. * doc/configure.in: Ditto. * nlm/configure.in: Ditto. * rdi-share/configure.in: Ditto. * testsuite/configure.in: Ditto. * doc/Makefile.in: Don't hardcode $(SHELL). * nlm/Makefile.in: Ditto. * rdi-share/Makefile.in: Ditto. * testsuite/Makefile.in: Ditto.
1998-03-24 * Makefile.in: Derive SHELL from configure.Stu Grossman1-32/+103
* config/d10v/d10v.mt config/d30v/d30v.mt config/m32r/m32r.mt config/mn10200/mn10200.mt config/mn10300/mn10300.mt : Remove -lm from SIM. This prevents dependency checking of -lm (under NT native builds). (It is automatically added by configure if it exists.) * doc/configure mswin/configure nlm/configure testsuite/gdb.base/configure testsuite/gdb.c++/configure testsuite/gdb.chill/configure testsuite/gdb.disasm/configure testsuite/gdb.stabs/configure testsuite/gdb.threads/configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds.
1996-08-29Recognize i686 as pentium proMichael Meissner2-2/+2
1996-06-25 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):Jason Molenda3-30/+166
Use autoconf set values. (docdir): Removed. * configure.in (AC_PREREQ): autoconf 2.5 or higher. * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir): Use autoconf set values. (docdir): Removed. * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher. * nlm/configure: Rebuilt. * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
1995-09-20add maintainer-clean Makefile targetsIan Lance Taylor1-1/+1
1995-08-02Update FSF address.Fred Fish1-1/+1
1995-05-31* nlm/{configure.in, Makefile.in}: Converted to use autoconf.J.T. Conklin4-100/+915
* nlm/configure: New file, generated with autoconf 2.3.
1995-05-31* nlm/configure.in: Use sed instead of awk to get the value ofJ.T. Conklin1-5/+5
cpufile. Awk is not a utility required by the GNU coding standards. This change also fixes the rigid whitespace requirements that were required for awk.
1995-05-08* nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.J.T. Conklin1-226/+0
These variables not used.
1995-04-25Linux configuration name fixesJason Merrill1-2/+2
1995-04-11* nlm/Makefile.in: Remove comments discussing munch.Jim Kingdon1-5/+0
1995-04-10Removed alpha-regdef.h from "Things to Lose"David H. Webster1-2/+0
1995-04-10Removed the following files from "Things to Keep":David H. Webster1-6/+0
README-ALPHA-NETWARE aio.h alpha-io.S alpha.c alpha.h altdebug.h
1995-03-17* nlm/gdbserve.c (handle_exception): #if out call to StopBell,J.T. Conklin2-7/+6
as it is not available on NetWare 3 or PIN. * nlm/ppc.c (StopBell): Removed.
1995-03-15Reworded comments. gdbserve.nlm is no longer NetWare/i386 specific.J.T. Conklin1-14/+14
1995-03-15* nlmstub.def: Removed, this was moved to nlm/gdbserve.defJ.T. Conklin7-1384/+0
long ago. * config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed. * nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h, alpha.c, alpha.h, altdebug.h}: Removed.
1995-03-15* nlm/gdbserve.c (main): Add support for processing BOARD=J.T. Conklin1-0/+13
argument, deprecate NODE=.
1994-12-22* nlm/gdbserve.c, nlm/ppc.c, nlm/ppc.h: Don't try to useJ.T. Conklin3-6/+10
ALTERNATE_MEM_FUNCS.
1994-11-18* nlm/alpha.c (strtol): Removed, it is provided by NetWare C library.J.T. Conklin4-226/+1
* nlm/gdbserve.def (strtol): Added to import list. * nlm/fake_aio.c: Removed file, no longer used.
1994-11-18* Makefile.in (LD_FOR_TARGET, NLMCONV_FOR_TARGET): Removed.J.T. Conklin1-12/+1
* nlm/Makefile.in (gdbserve.O): Link with ${CC_FOR_TARGET}. (LD_FOR_TARGET): Removed.
1994-11-16* config/powerpc/gdbserve.mt (TDEPFILES): Removed fake_aio.oJ.T. Conklin4-161/+11
* nlm/gdbserve.c: Include <nwtypes.h> before other NetWare headers. * nlm/alpha.c: Likewise. * nlm/ppc.c: Likewise. * nlm/ppc.c (strtol): Removed, it is provided by NetWare C Library. (StopBell): New function (stubbed out).
1994-11-02* nlm/Makefile.in: install gdbserve.nlm.J.T. Conklin1-4/+2
1994-10-07* nlm/i386.c (flush_i_cache): New function, does nothing.J.T. Conklin1-5/+14
(frame_to_registers, registers_to_frame, set_step_traps, clear_step_traps, do_status): Make non-static.
1994-10-05* nlm/configure.in: ${gdb_host_cpu} defaults to ${host_cpu}.J.T. Conklin1-1/+1
1994-10-05* nlm/Makefile.in: Get rid of NWINCLUDES.J.T. Conklin1-1/+1
* config/{alpha,powerpc}/gdbserve.mt: Remove NWINCLUDES. User should now configure with --with-headers.
1994-10-01* nlm/Makefile.in: Get rid of NWINCLUDES.J.T. Conklin1-2/+0
* config/{alpha,powerpc}/gdbserve.mt: define NWINCLUDES.
1994-09-09* nlm/Makefile.in: remove MMALLOC, READLINE, TERMCAP, and other cruft.J.T. Conklin1-38/+5
1994-09-01Create a .Sanitize file.Stu Grossman1-0/+49
1994-09-01 * rs6000-pinsn.c (print_insn): Use powerpc disassembler whenStu Grossman4-11/+5
doing Power PC. * config/powerpc/tm-ppc-nw.h: Define GDB_TARGET_POWERPC. * config/i386/i386lynx.mh, config/m68k/m68klynx.mh, config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh: Enable ser-tcp. * nlm/Makefile.in: Get rid of NWSOURCE. * nlm/alpha-io.S (inVti, outVti): Remove extraneous ldha's. * nlm/gdbserve.o: Add dummy __main routine. * nlm/gdbserve.def: Turn on debug.
1994-08-29 * nlm/configure.in: Stop using cpu.c. Put it in TDEPFILES instead.Stu Grossman1-3/+3
* config/alpha/gdbserve.mt (TDEPFILES): Remove alpha-patch.o.
1994-08-29 * nlm/Makefile.in: Add rule for .S.o.Stu Grossman9-1947/+424
* nlm/aio.h: Protect from multiple inclusions. * nlm/alpha-io.S: Remove everything we don't need. * nlm/{alpha-patch.c, alpha-patch.h, alpha-uart.c, alpha-uart.h}: Remove, no longer needed. * nlm/alpha.c: Merge in lots of stuff from previous files. * nlm/alpha.h: Don't #include alpha-patch.h. Make breakpoint_insn extern. * Move stuff from alpha-patch.h into here. * config/alpha/gdbserve.mt (TDEPFILES): Get rid of alpha-uart.o.
1994-08-24 * configure.in: Change i[34]86 to i[345]86.Ian Lance Taylor1-32/+32
* nlm/configure.in: Likewise. * gdbserver/configure.in: Likewise.
1994-08-24* nlm/gdbserve.c: conditionalize header file inclusion for eitherJ.T. Conklin3-3/+30
NetWare 4.0 or PIN targets. * nlm/i386.c: include appropriate header files. * nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0 targets.
1994-08-24 * nlm/ppc.c (set_step_traps clear_step_traps): Cleanups.Stu Grossman2-20/+21
* nlm/gdbserve.def: Autoload clib.
1994-08-19* nlm/i386.c, nlm/i386.h: New files that contain i386 specific code.J.T. Conklin2-0/+101
1994-08-18 * Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET andStu Grossman12-293/+1542
NLMCONV_FOR_TARGET. (SUBDIRS): Add nlm target. * configure.in (powerpc-*-netware*): Automatically configure nlm subdir. * nlm/Makefile.in: Add {CC NLMCONV LD}_FOR_TARGET. Remove alpha specific stuff. Make things more configurable. * nlm/configure.in: Add powerpc-*-netware* target. Use gdbserve.mt/cpu.c/cpu.h for target stuff. Get rid of tm/xm/nm.h files. * nlm/gdbserve.c: Move Alpha specific stuff into other files. Remove lots of architecture-specific stuff. * nlm/gdbserve.def: Add new imports. * nlm/ppc.c, nlm/ppc.h: New files that contain PowerPC specific code. * nlm/prelude.c: Don't include libhooks.h, get rid of call to register library. * nlm/prelude.o: What was this doing here?
1994-07-27* nlm/gdbserve.c: merge in command line argument parsing changesJ.T. Conklin1-23/+115
and bug fixes made to i386-nlmstub.c.
1994-06-22Remove .Sanitize to prevent release of proprietary sources. This will be addedStu Grossman2-92/+17
back when I figure out how to do it right.
1994-06-22Sanitization fixesStan Shebs1-0/+46
1994-06-02 * configure.in: Add nlm subdir to configdirs for alpha-*-netwareStu Grossman1-21/+36
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 * nlm/gdbserve.c (putDebugChar): Install bug fix from i386-nlmstub.Stu Grossman1-14/+15
* (hex2mem): Init ptr. * General cleanups to use ConsolePrintf, standard prologues, etc...
1994-03-25Netware debugger stub NLM.Stu Grossman14-0/+4070