Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist Remove gdb-4.17.



details:   https://anonhg.NetBSD.org/src/rev/1fe0339129c2
branches:  trunk
changeset: 536473:1fe0339129c2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Sep 16 17:42:22 2002 +0000

description:
Remove gdb-4.17.

diffstat:

 gnu/dist/gdb/nlm/gdbserve.def                |    42 -
 gnu/dist/gdb/nlm/i386.c                      |   108 -
 gnu/dist/gdb/nlm/i386.h                      |    13 -
 gnu/dist/gdb/nlm/ppc.c                       |   257 --
 gnu/dist/gdb/nlm/ppc.h                       |   165 -
 gnu/dist/gdb/nlm/prelude.c                   |    67 -
 gnu/dist/gdb/osf-share/AT386/cma_thread_io.h |   457 ----
 gnu/dist/gdb/osf-share/HP800/cma_thread_io.h |   432 ----
 gnu/dist/gdb/osf-share/README                |     8 -
 gnu/dist/gdb/osf-share/RIOS/cma_thread_io.h  |   434 ----
 gnu/dist/gdb/osf-share/cma_attr.h            |   341 ---
 gnu/dist/gdb/osf-share/cma_deb_core.h        |   164 -
 gnu/dist/gdb/osf-share/cma_debug_client.h    |   195 -
 gnu/dist/gdb/osf-share/cma_errors.h          |    55 -
 gnu/dist/gdb/osf-share/cma_handle.h          |   182 -
 gnu/dist/gdb/osf-share/cma_init.h            |   114 -
 gnu/dist/gdb/osf-share/cma_list.h            |    84 -
 gnu/dist/gdb/osf-share/cma_mutex.h           |   230 --
 gnu/dist/gdb/osf-share/cma_sched.h           |   279 --
 gnu/dist/gdb/osf-share/cma_semaphore_defs.h  |    46 -
 gnu/dist/gdb/osf-share/cma_sequence.h        |    56 -
 gnu/dist/gdb/osf-share/cma_stack.h           |    83 -
 gnu/dist/gdb/osf-share/cma_stack_int.h       |   136 -
 gnu/dist/gdb/osf-share/cma_tcb_defs.h        |   269 --
 gnu/dist/gdb/osf-share/cma_util.h            |   125 -
 gnu/dist/gdb/rdi-share/Makefile.in           |   165 -
 gnu/dist/gdb/rdi-share/README.CYGNUS         |     6 -
 gnu/dist/gdb/rdi-share/adp.h                 |  2526 ------------------------
 gnu/dist/gdb/rdi-share/adperr.h              |    72 -
 gnu/dist/gdb/rdi-share/angel.h               |   175 -
 gnu/dist/gdb/rdi-share/ardi.c                |  2670 --------------------------
 gnu/dist/gdb/rdi-share/ardi.h                |    83 -
 gnu/dist/gdb/rdi-share/armdbg.h              |  1450 --------------
 gnu/dist/gdb/rdi-share/buffers.h             |   109 -
 gnu/dist/gdb/rdi-share/bytesex.c             |    55 -
 gnu/dist/gdb/rdi-share/bytesex.h             |    40 -
 gnu/dist/gdb/rdi-share/chandefs.h            |    48 -
 gnu/dist/gdb/rdi-share/channels.h            |   382 ---
 gnu/dist/gdb/rdi-share/chanpriv.h            |    55 -
 gnu/dist/gdb/rdi-share/configure.in          |    44 -
 gnu/dist/gdb/rdi-share/crc.c                 |   255 --
 gnu/dist/gdb/rdi-share/crc.h                 |    88 -
 gnu/dist/gdb/rdi-share/dbg_conf.h            |    52 -
 gnu/dist/gdb/rdi-share/dbg_cp.h              |    60 -
 gnu/dist/gdb/rdi-share/dbg_hif.h             |    54 -
 gnu/dist/gdb/rdi-share/dbg_rdi.h             |   509 ----
 gnu/dist/gdb/rdi-share/devclnt.h             |   258 --
 gnu/dist/gdb/rdi-share/devices.h             |   102 -
 gnu/dist/gdb/rdi-share/devsw.c               |   398 ---
 gnu/dist/gdb/rdi-share/devsw.h               |   266 --
 gnu/dist/gdb/rdi-share/drivers.c             |    32 -
 gnu/dist/gdb/rdi-share/drivers.h             |   191 -
 gnu/dist/gdb/rdi-share/endian.h              |   123 -
 gnu/dist/gdb/rdi-share/etherdrv.c            |   723 -------
 gnu/dist/gdb/rdi-share/ethernet.h            |    97 -
 gnu/dist/gdb/rdi-share/host.h                |   222 --
 gnu/dist/gdb/rdi-share/hostchan.c            |  1055 ----------
 gnu/dist/gdb/rdi-share/hostchan.h            |   298 --
 gnu/dist/gdb/rdi-share/hsys.c                |   913 --------
 gnu/dist/gdb/rdi-share/hsys.h                |    99 -
 gnu/dist/gdb/rdi-share/logging.c             |   367 ---
 gnu/dist/gdb/rdi-share/logging.h             |   119 -
 gnu/dist/gdb/rdi-share/msgbuild.c            |   280 --
 gnu/dist/gdb/rdi-share/msgbuild.h            |    73 -
 gnu/dist/gdb/rdi-share/params.c              |   323 ---
 gnu/dist/gdb/rdi-share/params.h              |   179 -
 gnu/dist/gdb/rdi-share/rx.c                  |   359 ---
 gnu/dist/gdb/rdi-share/rxtx.h                |   261 --
 gnu/dist/gdb/rdi-share/serdrv.c              |   647 ------
 gnu/dist/gdb/rdi-share/serpardr.c            |   728 -------
 gnu/dist/gdb/rdi-share/sys.h                 |   317 ---
 gnu/dist/gdb/rdi-share/tx.c                  |   174 -
 gnu/dist/gdb/rdi-share/unixcomm.c            |   533 -----
 gnu/dist/gdb/rdi-share/unixcomm.h            |   210 --
 gnu/dist/readline/doc/inc-hist.texi          |   159 -
 gnu/dist/readline/doc/rluser.texinfo         |   566 -----
 76 files changed, 0 insertions(+), 23312 deletions(-)

diffs (truncated from 23616 to 300 lines):

diff -r b9c888e01def -r 1fe0339129c2 gnu/dist/gdb/nlm/gdbserve.def
--- a/gnu/dist/gdb/nlm/gdbserve.def     Mon Sep 16 17:32:21 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-description "GDB debugger stub"
-version 1,2
-debug
-module clib
-screenname "System Console"
-input gdbserve.O
-output gdbserve.nlm
-start _Prelude
-exit _Stop
-import
-       AllocateResourceTag
-       ConsolePrintf
-       GetCurrentScreen
-       GetNLMHandle
-       GetThreadID
-       KillMe
-       LoadModule
-       ReadByteAltDebugger
-       RegisterDebuggerRTag
-       ResumeThread
-       SuspendThread
-       UnRegisterDebugger
-       WriteByteAltDebugger
-       _GetCLibNLMLibHandle
-       _NWRegisterNLMLibraryUser
-       _SetupArgv
-       _StartNLM
-       _TerminateNLM
-       __GetScreenID
-       __get_errno_ptr
-       exit
-       fprintf
-       getcmd
-       memcmp
-       memcpy
-       memset
-       sprintf
-       strcmp
-       strcpy
-       strlen
-       strnicmp
-       strtol
diff -r b9c888e01def -r 1fe0339129c2 gnu/dist/gdb/nlm/i386.c
--- a/gnu/dist/gdb/nlm/i386.c   Mon Sep 16 17:32:21 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,108 +0,0 @@
-#include <dfs.h>
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <time.h>
-#include <conio.h>
-#include <advanced.h>
-#include <debugapi.h>
-#include <process.h>
-#include <errno.h>
-#include "i386.h"
-
-extern char *mem2hex (void *mem, char *buf, int count, int may_fault);
-extern char *hex2mem (char *buf, void *mem, int count, int may_fault);
-extern int computeSignal (int exceptionVector);
-
-void
-flush_i_cache()
-{
-}
-
-/* Get the registers out of the frame information.  */
-
-void
-frame_to_registers (frame, regs)
-     struct StackFrame *frame;
-     char *regs;
-{
-  /* Copy EAX -> EDI */
-  mem2hex (&frame->ExceptionEAX, &regs[0 * 4 * 2], 4 * 8, 0);
-
-  /* Copy EIP & PS */
-  mem2hex (&frame->ExceptionPC, &regs[8 * 4 * 2], 4 * 2, 0);
-
-  /* Copy CS, SS, DS */
-  mem2hex (&frame->ExceptionCS, &regs[10 * 4 * 2], 4 * 3, 0);
-
-  /* Copy ES */
-  mem2hex (&frame->ExceptionES, &regs[13 * 4 * 2], 4 * 1, 0);
-
-  /* Copy FS & GS */
-  mem2hex (&frame->ExceptionFS, &regs[14 * 4 * 2], 4 * 2, 0);
-}
-
-/* Put the registers back into the frame information.  */
-
-void
-registers_to_frame (regs, frame)
-     char *regs;
-     struct StackFrame *frame;
-{
-  /* Copy EAX -> EDI */
-  hex2mem (&regs[0 * 4 * 2], &frame->ExceptionEAX, 4 * 8, 0);
-
-  /* Copy EIP & PS */
-  hex2mem (&regs[8 * 4 * 2], &frame->ExceptionPC, 4 * 2, 0);
-
-  /* Copy CS, SS, DS */
-  hex2mem (&regs[10 * 4 * 2], &frame->ExceptionCS, 4 * 3, 0);
-
-  /* Copy ES */
-  hex2mem (&regs[13 * 4 * 2], &frame->ExceptionES, 4 * 1, 0);
-
-  /* Copy FS & GS */
-  hex2mem (&regs[14 * 4 * 2], &frame->ExceptionFS, 4 * 2, 0);
-}
-
-void
-set_step_traps (frame)
-     struct StackFrame *frame;
-{
-  frame->ExceptionSystemFlags |= 0x100;
-}
-
-void
-clear_step_traps (frame)
-     struct StackFrame *frame;
-{
-  frame->ExceptionSystemFlags &= ~0x100;
-}
-
-void
-do_status (ptr, frame)
-     char *ptr;
-     struct StackFrame *frame;
-{
-  int sigval;
-
-  sigval = computeSignal (frame->ExceptionNumber);
-
-  sprintf (ptr, "T%02x", sigval);
-  ptr += 3;
-
-  sprintf (ptr, "%02x:", PC_REGNUM);
-  ptr = mem2hex (&frame->ExceptionPC, ptr + 3, 4, 0);
-  *ptr++ = ';';
-
-  sprintf (ptr, "%02x:", SP_REGNUM);
-  ptr = mem2hex (&frame->ExceptionESP, ptr + 3, 4, 0);
-  *ptr++ = ';';
-
-  sprintf (ptr, "%02x:", FP_REGNUM);
-  ptr = mem2hex (&frame->ExceptionEBP, ptr + 3, 4, 0);
-  *ptr++ = ';';
-
-  *ptr = '\000';
-}
diff -r b9c888e01def -r 1fe0339129c2 gnu/dist/gdb/nlm/i386.h
--- a/gnu/dist/gdb/nlm/i386.h   Mon Sep 16 17:32:21 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-/* Register values.  All of these values *MUST* agree with tm.h */
-#define SP_REGNUM 4            /* Contains address of top of stack */
-#define PC_REGNUM 8            /* Contains program counter */
-#define FP_REGNUM 5            /* Virtual frame pointer */
-#define NUM_REGS 16            /* Number of machine registers */
-#define REGISTER_BYTES (NUM_REGS * 4) /* Total size of registers array */
-
-#define ExceptionPC ExceptionEIP
-#define DECR_PC_AFTER_BREAK 1  /* int 3 leaves PC pointing after insn */
-#define BREAKPOINT {0xcc}
-#define BREAKPOINT_SIZE (sizeof breakpoint_insn)
-
-#define StackFrame T_TSS_StackFrame
diff -r b9c888e01def -r 1fe0339129c2 gnu/dist/gdb/nlm/ppc.c
--- a/gnu/dist/gdb/nlm/ppc.c    Mon Sep 16 17:32:21 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,257 +0,0 @@
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <time.h>
-#include <errno.h>
-
-#include <nwtypes.h>
-#include <nwdfs.h>
-#include <nwconio.h>
-#include <nwadv.h>
-#include <nwdbgapi.h>
-#include <nwthread.h>
-#include "ppc.h"
-
-extern char *mem2hex (void *mem, char *buf, int count, int may_fault);
-extern char *hex2mem (char *buf, void *mem, int count, int may_fault);
-extern int computeSignal (int exceptionVector);
-
-void
-flush_i_cache (void)
-{
-}
-
-/* Get the registers out of the frame information.  */
-
-void
-frame_to_registers (frame, regs)
-     struct StackFrame *frame;
-     char *regs;
-{
-  mem2hex (&frame->ExceptionState.CsavedRegs, &regs[GP0_REGNUM * 4 * 2], 4 * 32, 0);
-
-  mem2hex (&frame->ExceptionState.CSavedFPRegs, &regs[FP0_REGNUM * 4 * 2], 4 * 32, 0);
-
-  mem2hex (&frame->ExceptionPC, &regs[PC_REGNUM * 4 * 2], 4 * 1, 0);
-
-  mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedSRR1, &regs[CR_REGNUM * 4 * 2], 4 * 1, 0);
-  mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedLR, &regs[LR_REGNUM * 4 * 2], 4 * 1, 0);
-  mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedCTR, &regs[CTR_REGNUM * 4 * 2], 4 * 1, 0);
-  mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedXER, &regs[XER_REGNUM * 4 * 2], 4 * 1, 0);
-  mem2hex (&frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedMQ, &regs[MQ_REGNUM * 4 * 2], 4 * 1, 0);
-}
-
-/* Put the registers back into the frame information.  */
-
-void
-registers_to_frame (regs, frame)
-     char *regs;
-     struct StackFrame *frame;
-{
-  hex2mem (&regs[GP0_REGNUM * 4 * 2], &frame->ExceptionState.CsavedRegs, 4 * 32, 0);
-
-  hex2mem (&regs[FP0_REGNUM * 4 * 2], &frame->ExceptionState.CSavedFPRegs, 4 * 32, 0);
-
-  hex2mem (&regs[PC_REGNUM * 4 * 2], &frame->ExceptionPC, 4 * 1, 0);
-
-  hex2mem (&regs[CR_REGNUM * 4 * 2], &frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedSRR1, 4 * 1, 0);
-  hex2mem (&regs[LR_REGNUM * 4 * 2], &frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedLR, 4 * 1, 0);
-  hex2mem (&regs[CTR_REGNUM * 4 * 2], &frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedCTR, 4 * 1, 0);
-  hex2mem (&regs[XER_REGNUM * 4 * 2], &frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedXER, 4 * 1, 0);
-  hex2mem (&regs[MQ_REGNUM * 4 * 2], &frame->ExceptionState.u.SpecialRegistersEnumerated.CsavedMQ, 4 * 1, 0);
-}
-
-
-extern volatile int mem_err;
-
-#ifdef ALTERNATE_MEM_FUNCS
-extern int ReadByteAltDebugger (char* addr, char *theByte);
-extern int WriteByteAltDebugger (char* addr, char theByte);
-int
-get_char (addr)
-     char *addr;
-{
-  char c;
-
-  if (!ReadByteAltDebugger (addr, &c))
-    mem_err = 1;
-
-  return c;
-}
-
-void
-set_char (addr, val)
-     char *addr;
-     int val;
-{
-  if (!WriteByteAltDebugger (addr, val))
-    mem_err = 1;
-}
-#endif
-
-int
-mem_write (dst, src, len)
-     char *dst, *src;
-     int len;
-{
-  while (len-- && !mem_err)
-    set_char (dst++, *src++);
-
-  return mem_err;
-}
-
-union inst
-{
-  LONG l;
-
-  struct
-    {
-      union
-       {
-         struct                /* Unconditional branch */
-           {
-             unsigned opcode : 6; /* 18 */
-             signed li : 24;
-             unsigned aa : 1;
-             unsigned lk : 1;
-           } b;
-         struct                /* Conditional branch */
-           {
-             unsigned opcode : 6; /* 16 */
-             unsigned bo : 5;



Home | Main Index | Thread Index | Old Index