GDB that can debug Mach-Os on Linux
Go to file
Yao Qi 722247f1cb gdb/
2012-12-15  Yao Qi  <yao@codesourcery.com>

	* Makefile.in (REMOTE_OBS): Add "remote-notif.o".
	(SFILES): Add "remote-notif.c".
	(HFILES_NO_SRCDIR): Add "remote-notif.h" and "common/queue.h".
	* remote-notif.c: New.  Factored out from remote.c.
	* remote-notif.h: New.
	* remote.c: Include "remote-notif.h".
	(stop_reply_xmalloc, do_stop_reply_xfree):
	(remote_parse_stop_reply, remote_get_pending_stop_replies):
	(remote_async_get_pending_events_handler): Remove declarations.
	(remote_parse_stop_reply): Declare.
	(pending_stop_reply): Remove.
	(remote_async_get_pending_events_token): Move to
	remote-notif.c.
	(remote_close): Replace 'delete_async_event_handler' with
	remote_notif_unregister_async_event_handler.
	Don't call discard_pending_stop_replies.
	(remote_start_remote): Replace code with remote_notif_parse
	and remote_notif_get_pending_replies.
	(remote_open_1): Replace 'create_async_event_handler' with
	remote_notif_register_async_event_handler.
	(extended_remote_attach_1): Call remote_notif_parse and
	notif_stop_reply_push.
	(struct stop_reply) <next>: Remove.
	<base>: New field.
	Callers update.
	(stop_reply_queue): Change its type.
	(stop_reply_xmalloc, do_stop_reply_xfree): Remove.
	(remote_notif_remove_all): New.
	(discard_pending_stop_replies): Update.
	(remote_notif_stop_ack, stop_reply_dtr): New.
	(remote_notif_stop_alloc_event): New.
	(notif_client_stop): New variable.
	(stop_reply_match_ptid, stop_reply_match_ptid_and_ws: New.
	(queued_stop_reply, peek_stop_reply): Adjust.
	(remote_get_pending_stop_replies): Rename to
	remote_notif_get_pending_events.
	(handle_notification): Move to remote-notif.c.
	(remote_async_get_pending_events_handler): Likewise.
	(remote_wait_as): Adjust to call remote_notif_parse.
	Call 'getpkt_or_notif_sane' instead of 'getpkt_sane'.
	Return minus_one_ptid early if gets a notification.
	(remote_wait): Call QUEUE_is_empty (notif_reply_p).
	(_initialize_remote): Call QUEUE_alloc.  Update caller.
	(remote_resume): Call 'remote_notif_process' in all-stop mode.
	* remote.h: Include "remote-notif.h".
	(remote_notif_get_pending_replies): Declare.
2012-12-15 03:50:22 +00:00
bfd daily update 2012-12-14 23:00:05 +00:00
binutils Add copyright notices 2012-12-10 12:48:03 +00:00
config Add libstdc++-raw-cxx.m4 2012-12-12 13:47:14 +00:00
cpu Add copyright notices 2012-12-10 12:48:03 +00:00
elfcpp Add copyright notices 2012-12-10 12:48:03 +00:00
etc
gas Microblaze: Add support for handling TLS symbol suffixes and generating 2012-12-11 16:56:53 +00:00
gdb gdb/ 2012-12-15 03:50:22 +00:00
gold gold/ 2012-12-15 01:55:08 +00:00
gprof Add copyright notices 2012-12-10 12:48:03 +00:00
include Microblaze: Add support for handling TLS symbol suffixes and generating 2012-12-11 16:56:53 +00:00
intl
ld ld/testsuite/ 2012-12-14 11:58:59 +00:00
libdecnumber Merge from GCC. 2012-11-11 10:59:50 +00:00
libiberty merge from gcc 2012-11-11 22:37:30 +00:00
opcodes PR binutils/14950 2012-12-13 07:46:13 +00:00
readline Remove some extraneous changes in readline/terminal.c 2012-10-18 18:55:41 +00:00
sim Fix sim build when configured with --enable-plugins 2012-11-20 14:41:26 +00:00
texinfo
.cvsignore
.gitignore
ChangeLog Add --with-build-config=bootstrap-asan support 2012-12-12 13:52:58 +00:00
compile
config-ml.in
config.guess config.{guess,sub}: update from upstream config-patches repo 2012-10-11 16:04:17 +00:00
config.rpath
config.sub * config.sub: Merge from config repo. 2012-12-08 00:02:34 +00:00
configure Add --with-build-config=bootstrap-asan support 2012-12-12 13:52:58 +00:00
configure.ac Add --with-build-config=bootstrap-asan support 2012-12-12 13:52:58 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
depcomp
djunpack.bat
install-sh
libtool.m4 PR target/38607 2012-09-14 23:55:22 +00:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def Add --with-build-config=bootstrap-asan support 2012-12-12 13:52:58 +00:00
Makefile.in Add --with-build-config=bootstrap-asan support 2012-12-12 13:52:58 +00:00
Makefile.tpl Merge g++/xg++ changes from GCC 2012-11-30 15:02:40 +00:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
README
README-maintainer-mode
setup.com
src-release
symlink-tree
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.