Commit Graph

27 Commits

Author SHA1 Message Date
Andrew Cagney 6aaea2917f * infttrace.c: Include <sys/pstat.h>.
(child_pid_to_exec_file): Revamp.  Use pstat call to get the
exec file if the ttrace equivalent fails.
2002-01-21 01:27:01 +00:00
Michael Snyder 94cd915f48 2002-01-07 Michael Snyder <msnyder@redhat.com>
* infptrace.c (GDB_MAX_ALLOCA): New define.
	(child_xfer_memory): Use xmalloc/xfree instead of alloca if the
	size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
	can be overridden with whatever value is appropriate to the host).
	* infttrace.c (child_xfer_memory): Add FIXME warning about use of
	alloca to allocate potentially large buffer.
	* rs6000-nat.c (child_xfer_memory): Ditto.
	* symm-nat.c (child_xfer_memory): Ditto.
	* x86-64-linux-nat.c (child_xfer_memory): Ditto.
2002-01-08 00:59:31 +00:00
Jeff Law 6c482b8720 * infttrate.c (child_acknowledge_created_inferior): Pass
correct argument to add_thread.
        (update_thread_state_after_attach): Likewise.
2001-12-19 19:16:50 +00:00
Joel Brobecker d3340a536f kill_inferior: Issue a TT_PROC_EXIT request rather than a TT_PROC_STOP
request to kill the inferior and its child processes. Otherwise, the
inferior is not killed on HPUX 11.0.  Removed the code that detaches the
child processes since we just killed them.
2001-09-27 13:31:45 +00:00
Andrew Cagney de6ee55865 Fix some PID/TPID fallout for HP/UX.
From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
* infttrace.c (ptrace_wait): Match external declaration,
and match target_post_wait declaration.
2001-07-28 22:44:53 +00:00
Daniel Jacobowitz 9f30d7f540 * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
* infttrace.c (child_xfer_memory): Likewise.
        * symm-nat.c (child_xfer_memory): Likewise.
        * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-linux.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
        * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
        (write_inferior_memory): Likewise.
2001-07-26 02:23:58 +00:00
Andrew Cagney 4b048bc096 From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
* infttrace.c (child_thread_alive): Fix gdb_tid typo.
* somsolib.c (no_shared_libraries): Provide stub.
* xcoffsolib.c (no_shared_libraries): Provide stub.
2001-07-19 04:58:17 +00:00
Kevin Buettner 39f770628a Phase 1 of the ptid_t changes. 2001-05-04 04:15:33 +00:00
Andrew Cagney 3c37485b16 malloc() -> xmalloc.
Move malloc() decl to utils.c
2001-03-20 01:37:10 +00:00
Andrew Cagney 043780a1fb Add ``attrib'' parameter to *xfer_memory() functions. 2001-03-15 16:55:15 +00:00
Kevin Buettner b6ba6518e9 Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
Kevin Buettner e1e9e218c1 Replace calls to abort() with calls to internal_error(). 2001-02-25 04:45:12 +00:00
Kevin Buettner b8c9b27d1e Replace free() with xfree(). 2000-12-15 01:01:51 +00:00
Andrew Cagney 3731b38ac3 From 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
* infttrace.c (get_dictionary_entry_of_page): Function
require_memory_page_dictionary takes no args.
2000-10-24 13:10:18 +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
Kevin Buettner 7318608963 Protoization. 2000-09-09 01:38:49 +00:00
Kevin Buettner fba45db2fa Protoization. 2000-07-30 01:48:28 +00:00
Andrew Cagney 03f2053f96 Replace ../include/wait.h with gdb_wait.h. 2000-02-09 08:52:47 +00:00
Jason Molenda ed9a39ebf9 import gdb-1999-12-21 snapshot 1999-12-22 21:45:38 +00:00
Jason Molenda 104c1213b4 import gdb-1999-08-30 snapshot 1999-08-31 01:14:27 +00:00
Jason Molenda 7be570e7ce import gdb-1999-08-16 snapshot 1999-08-16 19:57:19 +00:00
Jason Molenda a0b3c4fd32 import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
Jason Molenda c5aa993b1f import gdb-1999-07-07 post reformat 1999-07-07 20:19:36 +00:00
Stan Shebs c906108c21 Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
Stan Shebs 071ea11e85 Initial creation of sourceware repository 1999-04-16 01:34:07 +00:00
David Taylor 3e1d3d67b9 change <sys/unistd.h> to <unistd.h> and conditionalize its inclusion. 1999-01-04 20:07:59 +00:00
David Taylor 65b07ddca8 all remaining *.c *.h files from hp merge. 1998-12-31 21:58:30 +00:00