Commit Graph

237 Commits

Author SHA1 Message Date
mrg
24475afb31 don't build on sparc64. 2001-04-10 11:10:09 +00:00
matt
7b3ebcb787 Use MACHINE_CPU instead of MACHINE_ARCH. Ony disable gdb for arm & sh3 2001-03-11 21:01:55 +00:00
matt
c832521c4f Enable kcore-nbsd.c for powerpc. 2001-02-23 23:16:44 +00:00
enami
5d9e26fa5b - Use PRINTOBJDIR and .WAIT where appropriate.
- Define PARALLEL in gdb/Makefile since multiple yacc might run.
2001-01-09 08:52:56 +00:00
jdolecek
7fe8fd53c7 adapt CPPFLAGS so that readline.h is properly found after it's move
to /usr/include/readline/
2001-01-05 21:17:11 +00:00
itojun
0a3745234e sh3 split 2001-01-04 10:43:24 +00:00
jmc
bc58fd4841 libbfd is ../../lib/libbfd. not ../../lib/bfd 2000-11-28 22:33:49 +00:00
ws
3fffb655ae Add modification remark as required by the GPL. 2000-08-07 15:20:36 +00:00
pooka
6ee9631c26 Add missing $ from {MACHINE_ARCH} 2000-08-02 22:25:13 +00:00
msaitoh
27f9ec8b7e don't include solib.h if the system is sh3&&(!ELF) 2000-08-02 17:46:20 +00:00
eeh
49dd8cbac1 solib.o is required for linking even on MKPIC="no". 2000-07-08 19:18:19 +00:00
nathanw
876c9748cd Just one backslash at the end of a line, please. 2000-04-14 17:58:40 +00:00
msaitoh
06f772e8af Don't compile kcore-nbsd.c when MACHINE_ARCH==sh3 2000-04-14 15:49:07 +00:00
msaitoh
9e71fff743 gdb for sh3 (broken) 2000-04-13 16:08:19 +00:00
ws
f11fc50718 Make this at least compile on platforms that don't define BREAKPOINT.
Bug found by Soren S. Jorvang <soren@wheel.dk>
Maybe we should completely exclude this file from compilation
on these platforms?
2000-03-27 16:31:05 +00:00
ws
0bb2093748 Add IPKDB support to GDB. 2000-03-23 20:44:40 +00:00
msaitoh
414bf126c6 add TDEPFILES.sh3
TODO: add NATDEPFILES.sh3
1999-11-26 14:39:47 +00:00
enami
146df5502f Cosmetic changes:
- fold long lines.
- remove white space between make variable and assignment operator.
1999-09-25 13:13:42 +00:00
enami
bb37a5d97f Use the value of environment variable NM as a name of nm command.
This makes us gdb built on cross compile environment.  (part of PR#8369).
1999-09-25 05:29:27 +00:00
enami
152dfd2912 Pass down the value of NM to mkinit.sh as environment variable. 1999-09-25 05:27:42 +00:00
tsubai
81c1536f84 Support NetBSD/powerpc. 1999-05-03 10:27:23 +00:00
eeh
f99c2723d9 Make gdb compile on sparc64. (Actually work correctly is another thing....) 1999-04-04 19:02:31 +00:00
thorpej
6d2943920a Make it a tad bit easier to bootstrap an a.out system to ELF. Introduce
a BOOTSTRAP_ELF Makefile variable that, when set (e.g. in the environment),
builds a targeted-to-ELF toolchain without requiring OBJECT_FMT to be set
to "ELF" (which affects how e.g. libraries are built).

This basically means you don't need fake crtbegin.o and crtend.o files to
be present in /usr/lib while bootstrapping the toolchain.
1999-03-17 00:46:35 +00:00
drochner
26a8d91a28 one more mipse[bl]->mips substitution, from Jonathan Stone 1999-03-13 10:57:38 +00:00
tv
f57587ff53 Remove .texi's from CLEANFILES. 1999-02-16 21:21:09 +00:00
tv
073124fcd3 Add files not committed during update. 1999-02-16 20:19:03 +00:00
christos
eb06b9633a Create necessary files for info build. 1999-02-13 19:31:45 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
tv
4d66191a88 Add Texinfo doc. 1999-02-11 16:53:39 +00:00
tv
ca264aa174 Update build to 4.17. 1999-02-10 22:04:51 +00:00
tron
024a7bf095 BFD library is in "src/gnu/lib/libbfd" now. 1999-02-10 16:15:21 +00:00
christos
cbfd27854c Add -DSVR4_SHARED_LIBS if elf. 1999-02-07 17:35:28 +00:00
tv
046facafc3 Stopgap fix for mips until this make procedure is overhauled. 1998-09-06 15:07:01 +00:00
tv
370190b97b Fix target naming. Needs more cleanup. 1998-08-22 20:43:56 +00:00
tv
0e1307776f Change mips to mipsel, and disable mipseb until a suitable _mipseb.mk
exists with the proper defines to default to big-endian.
1998-07-27 02:35:13 +00:00
mycroft
6e61e626a9 Use the readline emulation in libedit. 1998-07-25 11:19:24 +00:00
tv
da925af9ad Integrate NetBSD arm32 diffs for gdb. Now compiles and works `out of the
box'.  Use new GNU_ARCH remapper.
1998-05-22 17:17:59 +00:00
mycroft
6ce2d7641a This hasn't been fully ported to the PowerPC yet. 1998-05-07 00:31:51 +00:00
tv
482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
cgd
3319009221 thise gdb doesn't build on the arm32, so don't build it or its libraries. 1998-03-16 18:30:44 +00:00
mycroft
b1d2d2c0b4 Do the OBJDIR hackery just like everything else does it.
Fixes several bugs.
1998-02-14 20:58:23 +00:00
lukem
da49bfcda7 use CPPFLAGS instead of CFLAGS 1997-10-25 10:10:19 +00:00
gwr
1d0fce59db Don't define NO_SINGLE_STEP here because it is already defined in
dist/gdb/config/mips/tm-nbsd.h (avoid redefinition warnings).
1997-10-20 16:05:29 +00:00
jonathan
5f39e3207f Add back -DNO_SINGLE_STEP to DEFS, to avoid PT_STEP for the 1.3 branch. 1997-10-20 05:36:10 +00:00
jonathan
eec6ce02cd Put back kcore-nsbd.c, it builds.
Use our own mipsnbsd-nat.c.
1997-10-19 20:19:07 +00:00
gwr
0abdfcdfd5 Leave out kcore-nbsd.c on these for now 1997-10-19 04:31:55 +00:00
gwr
e74a58a191 Use config/mips/?m-nbsd.h 1997-10-19 04:20:54 +00:00
gwr
12ed8135a0 Add rcsid and a comment 1997-10-18 19:12:11 +00:00
gwr
5e6d32d6b0 Add dir commands to find sources. 1997-10-18 19:09:38 +00:00
gwr
473fa8d5f6 ... and in with the new! (other files added via repository copy) 1997-10-18 18:37:37 +00:00
gwr
41d88aa514 Out with the old... 1997-10-18 18:25:50 +00:00
gwr
36222f7838 Out with the old... 1997-10-18 18:15:48 +00:00
gwr
0dae569d67 Take a stab at this. 1997-10-17 21:30:07 +00:00
gwr
f029fbb3e1 Change .o to .c 1997-09-29 15:37:22 +00:00
gwr
b8dae11d80 Initial NetBSD/alpha support 1997-09-26 21:48:16 +00:00
gwr
7000546255 BSD-style build infrastructure for gdb-4.16
(Will replace ../gdb later on.)
1997-09-26 04:37:02 +00:00
drochner
969394a32b Allow to use a line break to interrupt a remote debugging target.
("set remotebreak 1")
Code taken from GNU gdb-4.16.
1997-08-15 18:11:14 +00:00
mikel
1764309581 don't clobber SUBDIR set within conditional 1997-06-25 07:22:19 +00:00
mrg
586ed80911 install all man pages. 1997-06-23 13:25:41 +00:00
cjs
7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs
83498d7e88 Remove empty libinstall target and add NOINSTALL=1. 1997-05-30 13:43:06 +00:00
mycroft
185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
mycroft
fd8daf980e Add .MAKE to the .OBJDIR hacks, so they work with `make -n'. 1997-05-07 07:15:34 +00:00
cgd
2a441bb486 make sure that arch-specific makefiles exist before they're included.
Otherwise, 'clean' and 'cleandir' can break architectures that don't
normally use this code.
1997-04-19 02:59:28 +00:00
christos
0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
ws
da800fffb0 Add protocol module for remote IPKDB debugging 1996-10-16 19:49:49 +00:00
matthias
574923652f * I applied David Taylor's Fix (mailed to pc532@daver.bungi.com on
February 16th 1990, Message-ID 9002162329.AA11363@odin.think.com)
to our version of gdb. I had to do it by hand, but every thing
works fine now. I changed ns32k-pinsn.c to use the xxx_filtered
functions.
* Added functions to ns32k-nat.c to support gdb -k with crash dumps.
* Made stacktracebacks work better with execs not compiled with -g.
1996-09-28 08:41:24 +00:00
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