Commit Graph

8835 Commits

Author SHA1 Message Date
Peter Schauer
a95ac8b608 * sol-thread.c (ps_pdmodel): Return PR_MODEL_UNKNOWN instead of
PS_ERR if exec_bfd is not yet open.
2000-09-28 07:53:41 +00:00
Peter Schauer
5ef227419a * target.c (target_signal_from_host, do_target_signal_to_host):
Add support for Solaris realtime signals.
2000-09-28 07:48:14 +00:00
Kevin Buettner
fa6b9313b5 Protoization. 2000-09-27 17:43:07 +00:00
Eli Zaretskii
c78b412857 * gdb.texinfo (Hooks): Document the new post-hook functionality.
From Steven Johnson <sbjohnson@ozemail.com.au>.
2000-09-26 15:53:59 +00:00
Kevin Buettner
697ec6c4a5 Protoization. 2000-09-26 04:27:59 +00:00
Andrew Cagney
1b57acd296 Add Mark Kettenis to blanket write privs list. 2000-09-25 19:45:45 +00:00
Peter Schauer
582236304c * rs6000-tdep.c (rs6000_pop_frame): Use PC_IN_CALL_DUMMY to test
for call dummy instead of accessing stop_stack_dummy, which does
	not work if we `return' from a stop in a call dummy.
	(rs6000_gdbarch_init):  Use generic_save_dummy_frame_tos for
	dummy_frame_tos function to make PC_IN_CALL_DUMMY work.
2000-09-24 09:58:16 +00:00
Kevin Buettner
0e7e8d51a4 Protoization. 2000-09-24 04:42:12 +00:00
Peter Schauer
d5d653533c * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,
OLD_CANNOT_FETCH_REGISTER):  New definitions for accessible registers
	when accessing the registers via the U area.
	(fetch_register, store_register):  Use them.
	(cannot_fetch_register, cannot_store_register):  New functions,
	all registers should be accessible if we have GETREGS support.
	* config/i386/nm-linux.h:  Use cannot_fetch/store_register for
	CANNOT_FETCH/STORE_REGISTER definitions.
2000-09-22 17:45:47 +00:00
Fred Fish
8c6b089eed * infttrace.c (update_thread_state_after_attach): Pass address
of ttstate_t object, not the object itself.
2000-09-21 16:17:49 +00:00
Mark Kettenis
e63286713f * lin-lwp.c (stop_wait_callback): Remove bogus assertions in the
code that deals with exiting/signalled threads.  Replace with
code similar to what's done in lin_lwp_wait.
2000-09-18 13:09:12 +00:00
Kevin Buettner
fdb28ac401 Enable Mark Kettenis' linux thread support for Linux/PPC. 2000-09-18 01:08:24 +00:00
Kevin Buettner
afd64b4e2d Protoization. 2000-09-18 00:34:51 +00:00
Fernando Nasser
586e589c18 2000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
* varobj.c (varobj_set_value): Call wrapped version of
	parse_exp_1() to avoid longjumps.
2000-09-16 00:49:37 +00:00
Fernando Nasser
f7c9d7b698 2000-09-15 Fernando Nasser <fnasser@cygnus.com>
* ser-unix.c (do_unix_readchar): Prevent infinite read wait to be
	interrupted after 32K seconds.
2000-09-15 20:40:15 +00:00
Kevin Buettner
ad525611ab Protoization. 2000-09-15 07:08:11 +00:00
Kevin Buettner
064002de2b Protoization. 2000-09-13 01:55:17 +00:00
Kevin Buettner
78f0949be7 In objfile_relocate(), don't assume that offsets associated with one
of SECT_OFF_TEXT, SECT_OFF_DATA, or SECT_OFF_BSS will be adequate for
relocating all of the sections in an objfile.
2000-09-13 01:47:16 +00:00
Fernando Nasser
3c06a63b37 2000-09-12 Fernando Nasser <fnasser@cygnus.com>
* remote-rdi.c (arm_rdi_open): Fix typo in error message.
2000-09-12 20:07:54 +00:00
Andrew Cagney
688991e6f8 Replace hardwired timeouts in remote-mips.c with ``remote_timeout''
variable.
2000-09-12 17:20:09 +00:00
Alexandre Oliva
2748f097fd * MAINTAINERS: Added myself. 2000-09-12 04:58:22 +00:00
Alexandre Oliva
e17bf19897 * acinclude.m4 (CY_GNU_GETTEXT): Add dummy definition, so that the
one brought in by ../bfd/acinclude.m4 prevails.
* aclocal.m4, configure: Rebuilt.
2000-09-12 04:23:30 +00:00
Kevin Buettner
2bba1017ee Fix HAVE_STRUCT_LINK_MAP32 configure test. 2000-09-11 17:57:07 +00:00
Kevin Buettner
16bce26c35 Protoization. 2000-09-11 07:36:07 +00:00
Mark Kettenis
3f07c44bc9 * lin-lwp.c (normal_mask, blocked_mask): New variables.
(lin_lwp_wait): Block SIGCHLD here if it isn't already blocked.
(lin_lwp_mourn_inferior): Restore the origional signal mask, and
reset the mask of blocked signals.
(_initialize_lin_lwp): Don't block SIGCHLD here, but do initialize
suspend_mask and blocked_mask.  This makes us pass
gdb.base/sigall.exp for Linux/x86 now.
(lin_thread_get_thread_signals): Treat the LinuxThreads "cancel"
signal similarly to SIGCHLD in the generic code.  Avoids GDB being
terminated by a Real-time signal.
2000-09-09 07:54:20 +00:00
Kevin Buettner
7318608963 Protoization. 2000-09-09 01:38:49 +00:00
J.T. Conklin
0fc93e6bc4 * config/i386/nbsd.mt (TDEPFILES): Add i386nbsd-tdep.o.
* i386nbsd-nat.c (i386nbsd_use_struct_convention): Moved from here.
* i386nbsd-tdep.c (i386nbsd_use_struct_convention): To here.
* i386nbsd-tdep.c: New file.
2000-09-07 20:08:40 +00:00
Kevin Buettner
5c678a1200 Protoization. 2000-09-07 19:27:15 +00:00
Andrew Cagney
451928c513 Regenerate aclocal (and config.in / configure). 2000-09-07 12:26:42 +00:00
Andrew Cagney
3bb04bddc3 Wed Sep 6 23:15:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
* remote-rdi.c (voiddummy): Update function signature to match
        struct Dbg_HostosInterface's reset method.
        * remote-rdp.c (rdp_step): Fix handle parameter to
        remote_rdp_insert_breakpoint and remote_rdp_remove_breakpoint.

        * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P): Provide default
        definition.
        (arm_init_extra_frame_info): Use.
2000-09-06 23:39:15 +00:00
Stephane Carrez
22df305e11 Fix gdb calling a function for 68hc11 2000-09-06 19:39:10 +00:00
Scott Bambrough
e1d6e81ff4 Remove stray debugging statement and move prototypes so arm-linux-tdep.c
compiles without warnings.

2000-09-06  Scott Bambrough <scottb@netwinder.org>

	* arm-linux-tdep.c (arm_linux_skip_solib_resolver):
	Removed debug print statement.  Removed arm_pc_is_thumb prototype.
	* config/arm/tm-arm.h (arm_pc_is_thumb, arm_pc_is_thumb_dummy):
	Move prototypes here from tm-embed.h.
	* config/arm/tm-embed.h (arm_pc_is_thumb, arm_pc_is_thumb_dummy):
	Remove prototypes.  Moved to tm-arm.h.
2000-09-06 18:43:49 +00:00
H.J. Lu
967110cb4f 2000-09-06 H.J. Lu <hjl@gnu.org>
* TODO: Add hardware watchpint problems on x86 OSes for 5.1.
2000-09-06 15:23:04 +00:00
Kevin Buettner
3a854e237b Add rotating register rename support. 2000-09-06 07:43:37 +00:00
Kevin Buettner
2a451106e2 Add support for backtracing through signal handlers on Linux/ARM. Also,
make prologue scanning code somewhat less naive about optimized code
on GNU/Linux/ARM.
2000-09-06 00:39:11 +00:00
Kevin Buettner
165a58fe68 Protoization. 2000-09-05 22:46:57 +00:00
Stephane Carrez
6148eca7f8 Fix frame unwinding for 68hc11 2000-09-05 20:57:25 +00:00
Michael Snyder
71150974e8 Fix mistaken check-in. 2000-09-05 17:43:00 +00:00
Michael Snyder
23715f2973 2000-09-05 Michael Snyder <msnyder@cleaver.cygnus.com>
* sol-thread.c (ps_pdmodel): Protect with an ifdef.
2000-09-05 17:40:57 +00:00
Pierre Muller
7faed10feb * fix my last entry format 2000-09-04 13:49:22 +00:00
Andrew Cagney
3d9a5942bd Revamp so that it works with Solarises version of SH. 2000-09-04 11:40:20 +00:00
Mark Kettenis
8c3a79982e * config/i386/nm-linux.h: Include <signal.h>. 2000-09-04 09:58:06 +00:00
Pierre Muller
a5238fbc03 2000-09-04 Pierre Muller <muller@ics.u-strasbg.fr>
* c-typeprint.c (c_typedef_print): remove (replaced by typedef_print in
	typeprint.c).
	* typeprint.c (typedef_print): new function. (old c_typedef_print
	function with pascal language support added).
	* value.h (c_printdef_print): removed.
	(typedef_print): declare.
	* symtab.c (print_symbol_info): call to c_typedef_print replaced by
	call to typedef_print.
2000-09-04 08:29:25 +00:00
Mark Kettenis
fb0e1ba780 * config/i386/nm-linux.h (PREPARE_TO_PROCEED, ATTCH_LWP,
GET_THREAD_SIGNALS): New defines.
* config/i386/linux.mh (NATDEPFILES): Remove lin-thread.o and
linux-threads.o.  Add proc-service.o, thread-db.o and lin-lwp.o.
* proc-service.c: New file.
* thread-db.c: New file.
* lin-lwp.c: New file.
2000-09-03 18:41:28 +00:00
Mark Kettenis
6751bfc9da * gdb_assert.h: New file. 2000-09-03 17:19:41 +00:00
Mark Kettenis
574dd9a998 * gdb_thread_db.h [HAVE_THREAD_DB_H]: Include <thread_db.h>.
[!HAVE_THREAD_DB_H]: Update from current glibc thread_db.h.  Deal
with absence of <stdint.h> here.
2000-09-03 12:06:58 +00:00
Mark Kettenis
110be7c974 * gdb_proc_service.h: Add copyright notice.
Protect against multiple inclusion.
Add fix for broken prfpregset_t here.
(struct ps_prochandle): Declare here.
[HAVE_PROC_SERVICE_H]: Include <proc_service.h>.
[!HAVE_PROC_SERVICE_H]: Include "gregset.h", define prgregset_t
and prfpregset_t in terms of gdb_gregset_t and gdb_fpregset_t if
necessary.
* lin-thread.c: Unconditionally include "gdb_proc_service.h".
Remove fix for broken prfpregset_t here.
(struct ps_prochandle): Don't declare here.
2000-09-03 11:51:49 +00:00
Mark Kettenis
a8596edfa1 * MAINTAINERS: Add myself as threads co-maintainer. 2000-09-03 11:24:22 +00:00
David Anderson
f1abbe987b Corrected spelling errors in various source files. 2000-09-02 00:16:59 +00:00
David Anderson
cddb0f80f7 Corrected spelling error in comment: tracepont -> tracepoint 2000-09-02 00:13:29 +00:00