Commit Graph

5 Commits

Author SHA1 Message Date
Kevin Buettner be006b8b64 * aix-thread.c (ptrace_check): Use safe_strerror() instead of
strerror().
	(pdc_realloc): Use xrealloc() instead of realloc().
2002-07-16 00:22:45 +00:00
Kevin Buettner 14fa37513d * aix-thread.c (PD_ERROR, CALL_BASE): Delete.
(ops_resume, ops_wait, fetch_regs_lib, store_regs_lib)
	(ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE
	macros.
2002-07-15 23:33:09 +00:00
Kevin Buettner 42cc437fb0 * aix-thread.c (ptrace_check): Eliminate goto.
(sync_threadlists): Eliminate gotos.  Also, fix array overrun
	problem.
2002-07-15 20:06:12 +00:00
Kevin Buettner 8e2c28d425 * aix-thread.c (gdbcmd.h): Include.
(DEBUG, DBG, DBG2, dbg): Eliminate.
	(debug_aix_thread): New static global.
	(ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
	(pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc)
	(fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite
	invocations to DBG and DBG2 macros to test against
	``debug_aix_thread'' and call fprintf_unfiltered().
	(_initialize_aix_thread): Add new command "set debug aix-thread".
2002-07-15 18:55:04 +00:00
Kevin Buettner c11d79f2b1 From Nicholas Duffek (with minor changes by Martin Hunt,
Louis Hamilton, and Kevin Buettner):
	* aix-thread.c: New file.
2002-07-13 00:29:37 +00:00