he
31cd1c23b7
More fallout from the NULL change:
...
If we HAVE_STRING_H, include it to bring strchr() prototype in scope.
2003-10-23 16:12:45 +00:00
skrll
899032e619
Consistent naming.
2003-10-22 20:43:12 +00:00
skrll
a69cb4cc55
ARM thread support.
...
- add or expose {supply,fill}_{fp,g}regset functions
- add lwpid to ptrace calls
2003-10-21 19:07:36 +00:00
cl
b56d9ca137
add {supply,fill}_{fp,g}regset functions
...
remove nbsd_{fp,}reg_to_internal and nbsd_internal_to_{fp,}reg functions
add lwpid to ptrace calls
2003-10-19 20:11:22 +00:00
nathanw
db40e00241
Implement regset routines.
...
Pass the LWP of the ptid in PT_{GET,SET}REGS calls.
2003-10-18 00:27:13 +00:00
nathanw
614f188f9d
nbsd_reg_to_internal() and friends are obsolete.
2003-10-18 00:14:09 +00:00
nathanw
37337ad2db
Pass the LWP of the ptid in PT_{GET,SET}REGS calls.
2003-10-18 00:13:35 +00:00
nathanw
fef0da346a
Revert a local change that nbsd-thread.c now handles.
2003-10-18 00:11:51 +00:00
nathanw
804ad776be
Pile of cleanups and improvements, including:
...
* Use {fill,supply}_{g,fp}regset() routines instead of homegrown
nbsd_internal_to_reg()/nbsd_reg_to_internal() routines; reduces
local changes to *-nat files.
* Use the ptrace(PT_LWPINFO) call to find the set of LWPs in a
process and map them to threads, and to identify the target of a
signal event.
* Consistency sweep on ptid-manipulating macros.
* More modern GDB integration and removal of redundant functions.
2003-10-18 00:08:14 +00:00
fvdl
22cd769ea5
Set some better defaults for OSABI_UNKNOWN, and add NetBSD kcore support.
2003-10-14 22:58:38 +00:00
fvdl
e67583ab9d
NetBSD support for the x86_64 target.
2003-10-14 02:02:17 +00:00
martin
feb5c96dad
In the thread support functions only transfer those registers, that fit
...
into our struct fpreg64. This avoids gdb crashing due to smashed stack
when debugging threaded programs.
2003-09-29 17:47:26 +00:00
skrll
679d775246
Fix for gcc 3.3.1 warning.
2003-09-26 20:02:44 +00:00
skrll
15b3a0696e
Fix merge mistake so that we can compile.
2003-09-26 19:38:38 +00:00
christos
996d4c90a5
Cast to appease properly prototyped readline headers [ours].
2003-09-26 17:38:35 +00:00
matt
42dcffbb67
Remove static from a function declaration.
2003-09-24 06:14:29 +00:00
matt
d5d2eec8df
Fix GCC 3.3.1 nit.
2003-09-24 06:13:53 +00:00
matt
5c0acc44d6
Merge back kcore support.
2003-09-24 02:49:29 +00:00
matt
6d47c4ba87
Fix a char comparision to be more unsigned friendly.
2003-09-23 23:12:25 +00:00
cl
9e04ef6840
add m68k--netbsdelf bootstrap support
2003-09-23 20:27:44 +00:00
cl
0af731d2e2
enable pthread debugging
2003-09-23 13:32:52 +00:00
cl
4f2222cf82
make gdb53 work on m68k
...
- fix elf core register access
- add elf abi detection
2003-09-23 01:52:41 +00:00
uwe
3a95f86179
Add missing #include "sh-tdep.h" for *_REGNUM defines.
...
This is what other foonbsd-nat.c files do.
2003-09-21 21:28:40 +00:00
martin
5da3a222b2
Add thread support (XXX - not realy functional yet)
2003-09-15 18:53:43 +00:00
martin
0559625ad0
Thread support for sparc (thanks to Ian L. Taylor for hints).
2003-09-15 18:05:24 +00:00
christos
11c91fb018
Add casts so that we can compile with both the readline headers and ours.
...
Of course we cannot link using our libedit yet.
2003-09-14 22:16:48 +00:00
martin
bf5058e6c1
Backout previos (no comment on this code).
...
XXX - someone should fix our libedit for the few hooks needed by gdb5.3
and we should get rid of this.
2003-09-14 08:54:40 +00:00
cl
38663d008f
make it compile
2003-09-13 19:37:20 +00:00
martin
b3c755cb9c
Bring in two lines from readline-4.3. Not all chars are signed.
2003-09-12 22:36:38 +00:00
simonb
19f997418f
Match "mips*-*-netbsd*" instead of just "mips-*-openbsd*" on NetBSD
...
to pick up the right core file definition for both endiannesses.
2003-09-11 04:55:03 +00:00
simonb
1779f6eb88
Get rid of the nbsde{b,l} targets and just use gdb_target=nbsd for
...
mips.
2003-09-10 22:39:24 +00:00
martin
8f6cdf024b
Remove accidently commited (generated) files that "make distclean" fails
...
to remove.
2003-08-17 23:51:12 +00:00
martin
f4d6f4dfb8
Rumors say there are archs where int != long.
2003-08-17 22:17:03 +00:00
christos
2e12e80a85
avoid PARAMS redefinition.
2003-08-16 21:57:20 +00:00
christos
1cfd40eacc
remove generated files.
2003-08-16 21:56:36 +00:00
christos
f068e22a9f
fix lint errors.
2003-08-16 21:56:23 +00:00
christos
744531991e
a couple more additions.
2003-08-14 16:54:54 +00:00
christos
6dc8ebe23c
Add auto-gen'ed files.
2003-08-14 16:50:53 +00:00
christos
7b11b526b4
Fix a compiler warning.
2003-08-14 16:49:37 +00:00
christos
b71227cf2b
- merge changes from gdb-5.0
2003-08-14 14:22:27 +00:00
christos
88a26652e1
Undo previous change and introduce ugly makefile hack.
2003-08-14 14:17:01 +00:00
christos
2fd435b3f0
- fix IS_THREAD
...
- fix typo ptid_equals
2003-08-14 01:12:26 +00:00
christos
230eaa023f
gdb has signals.c too; rename the file.
2003-08-14 01:08:23 +00:00
christos
3b342f088b
avoid gcc-3 warning.
2003-08-14 01:07:59 +00:00
christos
5aa0e076c6
do mechanical pid to ptid conversion. it now compiles.
2003-08-14 00:24:10 +00:00
christos
fcb15df895
ansify
2003-08-13 23:38:50 +00:00
christos
34fb5d34da
initial checking of the 5.0 version.
2003-08-13 23:30:34 +00:00
christos
8229ffad82
Re-add dead files.
2003-08-11 20:58:34 +00:00
christos
b36d5146cd
Import gdb-5.3
2003-08-11 20:31:36 +00:00
christos
4084bd69eb
Import gdb-5.3
2003-08-11 20:21:35 +00:00