uwe
ae04b1322a
Fix the calculation of next_pc for braf/bsrf instructions.
2004-05-28 22:04:36 +00:00
nathanw
411bc3c814
Failure to fetch FP registers from the thread debugging library isn't
...
necessairly a problem; the thread may in fact have no FP state.
2004-05-27 19:15:10 +00:00
matt
3df46d6c37
Fix stack backtracing so not refer to the initial entry frame.
...
Default to getting the LR out of the stack if no other way works.
This makes backtraces work on stripped programs.
2004-05-07 00:07:10 +00:00
nathanw
e30c25106f
Remove an extraneous use of a 'retval'.
2004-04-15 19:26:58 +00:00
mrg
d7919c9c21
+TM_FILE= tm-x86-64nbsd.h
...
this lets MKCROSSGDB work for ./build.sh -m amd64.
2004-04-12 07:19:16 +00:00
matt
e5795ee03a
Add libraries needed for configure
2004-04-04 20:17:27 +00:00
mrg
df1f7747e1
#endif /* MUST NOT HAVE TOKENS AFTER IT */
2004-04-02 13:36:24 +00:00
mrg
dd567aa2f5
- (required) const poison
...
- fix some function argument type issues (struct _bfd vs bfd)
2004-04-02 13:34:50 +00:00
mrg
80a13c7a72
labels must have statements:;
2004-04-02 13:33:04 +00:00
matt
5132bfefdc
Add support for traversing through signal handler frames.
2004-03-10 01:22:29 +00:00
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