Commit Graph

170 Commits

Author SHA1 Message Date
ragge 23435c0d84 Fix warning. 1996-05-18 10:29:07 +00:00
pk fa57b905a9 kcorelow.c: use specified executable name (PR#2375). 1996-05-05 19:58:01 +00:00
mycroft 5dcce59678 Remove extra arg to target_read_memory(). 1996-03-07 07:26:02 +00:00
jtc 343f25f416 Changed fetch_core_registers to ignore "which" parameter as int and fp
registers are contiguous.  Noted by Matthias Pfaller in PR #2072.
1996-03-01 01:00:14 +00:00
pk 0203b54d4b Reflect current yacc output in CLEANFILES (from Michael Graff; PR#1907). 1996-01-09 22:39:31 +00:00
pk 1f061d8392 Initialize all registers (from John Kohl; PR#1651).
The REGISTER_U_ADDR is no longer needed.
1995-11-22 00:25:50 +00:00
christos 89c5e30a44 Parallel make fixes 1995-10-22 21:58:21 +00:00
christos fd3fd7642f Parallel make Makefile fixes. 1995-10-22 00:21:52 +00:00
mycroft 6a91c699b4 We can read %fs and %gs now. 1995-10-11 05:24:49 +00:00
phil f9d6b3823a Improvements by Matthias Pfaller (fpu regs ...) 1995-09-26 20:23:36 +00:00
leo 2bb25d0f0f Make stack-trace in gdb -k work on m68k because the pc-value is now
correctly setup. Also fix the loads of warnings about the second arg
of supply_register().
1995-09-16 19:45:03 +00:00
phil 288f1c084f Changes from Matthias Pfaller to get gdb to work. 1995-08-29 08:03:27 +00:00
mycroft 89becae2d5 Implement fetch_core_registers. Floating point needs work. 1995-08-06 20:38:41 +00:00
phil dad0b0a94c Work towards getting gdb working by Craig Ruff. 1995-07-28 08:00:17 +00:00
cgd 9b7ebcf785 on i386, use VM_MAXUSER_ADDRESS for kernel_start, since the real
kernel start is much different that the start of KVM.  (VM_MAXUSER_ADDRESS
isn't correct, but seems to mostly work...)  (XXX -- there should be a
better way.)

if curproc == null, use address of proc0; code doesn't know how to deal
with null curproc.  (XXX: (1) should make it deal, or (2) should use address
of last proc run, but there's no real way to do that.)
1995-07-08 01:55:54 +00:00
ragge 77ca47bc4d Added vax support. 1995-06-05 15:22:38 +00:00
cgd 81584a34e6 NetBSD RCS Id format 1995-04-23 07:58:27 +00:00
gwr 066fe128b1 Oops, that code was correct before the last change. I was confused. 1995-04-18 21:34:16 +00:00
gwr 4fa65aaec7 Fixed botched increment when reading FP regs from kernel crash dumps... 1995-04-18 21:05:25 +00:00
gwr 5acd5ef18f Support new style core dumps (with .reg section) 1995-04-16 03:07:47 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
mycroft a3df365e06 Update SIGCONTEXT_PC_OFFSET. 1995-02-06 13:31:59 +00:00
mycroft c8de8df89b Add another missing instruction. 1995-02-05 13:29:50 +00:00
mycroft 0132c69943 Add some missing instructions, and synchronize. 1995-02-05 13:27:12 +00:00
mycroft 7db2979d69 Adjust SIGTRAMP_START to reflect reality. 1995-02-03 06:42:31 +00:00
mycroft 2355a66600 Remove some dysfunctional stuff. 1995-01-26 22:39:16 +00:00
mycroft acc7239f63 Shorten register coping code. 1995-01-26 18:28:18 +00:00
mycroft fb5f2e6e92 Shorten register coping code. 1995-01-26 18:27:39 +00:00
mycroft 19b4020cd6 Shorten register copying code. 1995-01-26 18:13:49 +00:00
mycroft 01c2162989 Use PT_[GS]ET{,FP}REGS. 1995-01-26 17:55:18 +00:00
mycroft bbbc633d3f Rearrange slightly to avoid needing to change any generic code. 1995-01-26 16:29:01 +00:00
mycroft 4cf8fa5a27 Use PT_GET*REGS and PT_SET*REGS. 1995-01-26 15:56:29 +00:00
mycroft 1045a9778f Oops; fix off by one error. 1995-01-26 09:16:09 +00:00
mycroft f5e4a41dd2 Use fgetpos(3) and fsetpos(3) to navigate source files. 1995-01-26 09:09:38 +00:00
cgd d85271e6e4 don't forget the newline! 1995-01-24 23:03:51 +00:00
pk a047cccc6e Re-enable verbosity at start-up; use `alias gdb gdb -q '\!*'' 1995-01-18 07:13:21 +00:00
mycroft fda456c38c Use solib.h. 1995-01-18 00:22:03 +00:00
pk 4febe0acb7 - document `-k' flag.
- add `-w' flag (equivalent to `set write')
1995-01-12 10:20:27 +00:00
pk a78b684574 Test pointer before using it. 1995-01-12 10:17:52 +00:00
mycroft 3dbc1e9443 Patch from Giles Lean to make compilation flags more consistent. 1995-01-07 23:07:03 +00:00
phil 8127b61e44 Belated change to NETBSD_CORE. 1994-12-22 04:05:39 +00:00
mycroft d1baf72663 Fetch eip, too. 1994-12-06 03:53:41 +00:00
mycroft 220bb6f6d5 #ifdef some of that. 1994-12-06 03:41:39 +00:00
mycroft 30f739a903 Fix getch_kcore_registers() enough that kgdb is useful. 1994-12-06 03:30:59 +00:00
deraadt 80525d6b91 Don't use trad-core.c the the i386 or sparc. 1994-09-19 23:51:14 +00:00
mycroft a16a6eea42 Add -DHAVE_TERMIOS, per Thomas Eberhardt. 1994-09-19 01:38:55 +00:00
mycroft 96933ee163 Don't use rate_to_code() for termios; cfset[oi]speed() does the conversion. 1994-09-19 01:00:48 +00:00
mycroft 97a272bc2e vmunix --> netbsd 1994-09-17 00:17:12 +00:00
pk bbdc5952bf Just return `wrong format' if file isn't recognised, in stead of
something uncivil.
1994-06-24 06:57:52 +00:00
phil 92fb73b85a Get it to compile. Running will come later :) 1994-06-09 14:46:17 +00:00
pk 07dacb0383 Add missing #include <machine/reg.h> 1994-05-31 20:54:14 +00:00
hpeyerl 96fcc3dd20 byebye frame.h 1994-05-30 20:03:39 +00:00
pk 19c36d96ae kernel stuff brought over from gdb-3.5 1994-05-25 18:27:49 +00:00
pk 7672b8b95b New style core dumps. 1994-05-25 10:56:56 +00:00
phil 8a0a20f0ef Follow changes to sys/arch/pc532/include/reg.h. 1994-05-24 23:58:24 +00:00
pk deb026c61e Get rid of HOST_DATA_START_ADDR; current kernel sets but a few fields
in kp_eproc.
1994-05-21 19:19:00 +00:00
pk d8713176c8 Stop gap: wait for updated <sys/user.h> 1994-05-19 15:56:29 +00:00
pk f0df258e0f Provide machine dependency in registers location. 1994-05-19 15:55:35 +00:00
pk 9fed7065e9 Fix some syntax errors. 1994-05-19 15:50:27 +00:00
pk 104b4025b8 Dig out a program counter; dubious.. 1994-05-18 12:43:13 +00:00
pk 68d7c37b1c Provide for reading from user memory; seems to be needed for stack traces. 1994-05-18 12:42:15 +00:00
pk 3cb426dcde Framework for kernel debugging. 1994-05-17 19:34:51 +00:00
pk 34bcc4c76b dummy kernel-debug routines for now. 1994-05-17 14:04:50 +00:00
pk 67c44985d7 Framework for kernel debugging, needs more work. 1994-05-17 14:01:44 +00:00
pk 5a733c195b Tweak address maps so that .o & kernel symbols tables have some meaning. 1994-04-29 20:46:50 +00:00
phil 59a264f1a8 Adding ns32k support. 1994-04-28 17:11:00 +00:00
phil 9911db04dc Adding ns32k definitions. 1994-04-28 17:10:40 +00:00
cgd 0fa009a916 off_t exp. 1994-03-27 09:01:41 +00:00
pk 39305c8494 Enable ATTACH/DETACH. 1994-03-09 16:15:45 +00:00
chopps 9972647cfa fix core-file-failing-signal, and remove arch dependent values. 1994-02-23 04:48:33 +00:00
chopps 3eb7421d03 removed arch dependent values. 1994-02-23 04:35:35 +00:00
pk fae2950e23 Sparc executables have 8k page granularity. 1994-02-10 20:31:11 +00:00
mycroft 2f22b17ddf Set KERNEL_U_ADDR to USRSTACK. 1994-02-04 19:50:49 +00:00
mycroft 7af9c0b2a8 Hopefully fix some of the m68k page size conflicts. 1994-02-04 18:08:09 +00:00
mycroft 78132c69bc We only align to 4-byte boundaries, not 8. 1994-02-04 17:58:40 +00:00
pk f565950a7d Remove superfluous #include <machine/ptrace.h> 1994-02-04 16:48:20 +00:00
pk 62edd253d8 Don't try to outsmart <sys/ptrace.h> 1994-02-04 16:40:20 +00:00
deraadt f2428221e9 ${MAKE} not make, from roland 1994-02-03 12:57:34 +00:00
cgd 3ab5b4c497 add some CLEANFILES 1994-02-02 06:30:30 +00:00
cgd d1e04375b9 use LIBTERMCAP instead of explicit path 1994-01-28 21:37:23 +00:00
pk ea0407f9c0 Add useful utility. 1994-01-28 16:38:22 +00:00
pk ab5fc9d054 Upgrade to gdb version 4.11 1994-01-28 16:25:42 +00:00
pk 51efd62c2e Upgrade to gdb version 4.11 1994-01-28 12:43:43 +00:00
mycroft bddd530494 Clean up deleted files. 1994-01-28 12:43:41 +00:00
pk 670463fcc8 Upgrade to gdb version 4.11 1994-01-28 12:38:45 +00:00
mycroft 59b10ab3d6 Clean up deleted files. 1994-01-28 12:38:44 +00:00
pk 1b943a732e Upgrade to gdb version 4.11 1994-01-28 12:37:29 +00:00
mycroft e6e5bff5d5 Clean up deleted files. 1994-01-28 12:37:00 +00:00
pk 1c061a0df3 Upgrade to gdb version 4.11 1994-01-28 12:36:46 +00:00
mycroft 484911d7d5 Remove broken and redundant declarations. 1994-01-28 02:12:02 +00:00
cgd 2d2a287a9a uncomment a definition 1994-01-10 00:04:08 +00:00
cgd 1e4db7c6a6 delete some stuff that wasn't necessary, add things in to make it
look more like a 'standard' mach-dep config file.
1994-01-09 23:45:26 +00:00
cgd ed0c68f4e7 add files eaten by crash 1993-12-23 14:02:03 +00:00
cgd 394d0b6f2c NetBSD has now joined the ranks of SYSV systems with the
dirent/direct changes!
1993-12-22 18:15:21 +00:00
mycroft cbe3d33b6d P[GD]_SHIFT --> P[GD]SHIFT 1993-12-15 00:50:45 +00:00
pk a5087c82e2 Recognise (and ignore) symbols of type N_SIZE. 1993-12-08 08:33:40 +00:00
mycroft 10e379fb41 Eliminate various compiler warnings. 1993-12-07 19:58:30 +00:00
mycroft 1418a3f422 Clean up deleted files. 1993-12-07 19:35:38 +00:00
cgd 5e74c19b62 386BSD -> NetBSD 1993-12-06 09:40:27 +00:00
mycroft 5fcb408eb3 Clean up deleted files. 1993-12-05 00:59:21 +00:00