nathanw
240c6ac9cf
Re-implement fetch_kcore_registers() for alpha.
2004-01-02 22:41:17 +00:00
nathanw
243cf32568
Alpha uses software single-step. Lost in the 5.0->5.3 conversion.
...
Addresses PR toolchain/23672.
2003-12-11 21:06:27 +00:00
nathanw
de13a4e603
Catch up alpha_software_single_step() prototype with reality.
2003-12-11 21:02:24 +00:00
matt
4e90dd053f
Add kcore and netbsd thread support.
2003-11-14 19:10:00 +00:00
matt
8056b67d49
Add kcore & netbsd thread support
2003-11-14 19:08:49 +00:00
briggs
5e0fd052da
Fix from Ian Lance Taylor to allow building a cross-gdb with arm--netbsdelf
...
target. Patch as seen on tech-toolchain@.
2003-11-14 15:06:15 +00:00
martin
4b0b317837
Remove unused variables.
2003-11-11 16:28:59 +00:00
martin
6354cf63d2
Fix register offset calculations. From Christian Limpach.
2003-11-11 16:24:23 +00:00
mrg
0bcb648614
set the arm breakpoint depending on the byte order. now armeb gdb works.
2003-11-09 02:52:07 +00:00
uwe
af9cced758
The "pref @rN" instruction was introduced in sh3, not sh4, so correct
...
its sh_opcode_info entry accordingly.
2003-11-07 14:43:18 +00:00
hannken
83bd54e877
Add "target kcore" to gdb53/sparc64.
...
Taken verbatim from the old gdb in src/gnu/dist/toolchain/gdb.
Approved by: Christos Zoulas <christos@netbsd.org>
2003-11-04 19:33:39 +00:00
skrll
c1946cebd4
Index fpregsetp->fpr correctly.
2003-11-03 15:59:11 +00:00
hannken
3f72313b8e
Add "target kcore" to gdb53/sparc.
...
Taken verbatim from the old gdb in src/gnu/dist/toolchain/gdb.
Approved by: Christos Zoulas <zoulas@netbsd.org>
2003-11-02 20:59:28 +00:00
uwe
1d729d7bc4
First cut at implementing software single stepping for sh3. We need
...
it because sh3 ports don't provide PT_STEP. It is finally possible to
run programs under gdb now, though there are still issues to be
resolved. It was deemed useful enough to commit early, while the work
is still in progress. Tested on hpcsh.
Blessed by christos@.
2003-10-31 00:11:27 +00:00
hannken
0165bf4148
Make it compile again. Blind copy-and-paste from sparc64nbsd-nat.c.
...
Approved by: Christos Zoulas <christos@netbsd.org>
2003-10-27 14:10:54 +00:00
cl
44f9690b65
g/c unused variables
2003-10-27 00:41:09 +00:00
christos
34e2db4a3c
Make this link and work again (from Christian Limpach)
2003-10-26 17:45:13 +00:00
simonb
969d07f64f
* mips-tdep.c (mips_addr_bits_remove): Don't shift by 32
...
From Ian Taylor.
2003-10-26 00:08:23 +00:00
matt
91f24c5034
Try dealing with sigtramps better.
2003-10-25 19:01:45 +00:00
matt
7819efde3c
GDB 5.3 support for VAX
2003-10-25 18:26:07 +00:00
matt
17aa9b0c9b
Use gregset_t/fpregset_t since that's what is really wanted.
2003-10-25 18:25:42 +00:00
cl
54641460eb
make m68k/gdb53 compile as a crossgdb
...
- catch up tm-nbsd.h with gnu/usr.bin/gdb53/arch/m68k/tm.h
- only use nbsd-thread.o in m68k nbsd-host case
2003-10-25 16:20:58 +00:00
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