GDB that can debug Mach-Os on Linux
Go to file
Pedro Alves 8ea051c51f Add "executing" property to threads.
* inferior.h (target_executing): Delete.
	* gdbthread.h (struct thread_info): Add executing_ field.
	(set_executing, is_executing): New.
	* thread.c (main_thread_executing): New.
	(init_thread_list): Clear it and also main_thread_running.
	(is_running): Return false if target has no execution.
	(any_running, is_executing, set_executing): New.

	* top.c: Include "gdbthread.h".
	(target_executing): Delete.
	(execute_command): Replace target_executing check by any_running.
	* event-top.c: Include "gdbthread.h".
	(display_gdb_prompt, command_handler): Replace target_executing by
	is_running.
	* inf-loop.c: Include "gdbthread.h".  Don't mark as not executing
	here.  Replace target_executing by is_running.
	* infrun.c (handle_inferior_event): Mark all threads as
	not-executing.
	* linux-nat.c (linux_nat_resume): Don't mark thread as executing
	here.
	* stack.c (get_selected_block): Return null if inferior is
	executing.
	* target.c (target_resume): Mark resumed ptid as executing.
	* breakpoint.c (until_break_command): Replace target_executing
	check by is_executing.
	* remote.c (remote_async_resume): Don't mark inferior as executing
	here.
	* mi/mi-interp.c (mi_cmd_interpreter_exec): Replace target_executing
	by any_running.

	* mi/mi-main.c (mi_cmd_exec_interrupt, mi_cmd_execute)
	(mi_execute_async_cli_command): Replace target_executing by
	is_running.

	* frame.c (get_current_frame): Error out if the current thread is
	executing.
	(has_stack_frames): New.
	(get_selected_frame, deprecated_safe_get_selected_frame): Check
	has_stack_frames.

	* Makefile.in (event-top.o, frame.o, inf-loop.o, top.o): Depend on
	$(gdbthread_h).
2008-07-09 22:16:15 +00:00
bfd daily update 2008-07-09 00:00:05 +00:00
binutils 2008-07-08 Kai Tietz <kai.tietz@onevision.com> 2008-07-08 08:15:09 +00:00
config * configure: Regenerate. 2008-06-17 23:14:44 +00:00
cpu * mt.opc (parse_imm16): Apply 2007-09-26 opcodes/mt-asm.c change 2008-01-29 03:50:23 +00:00
elfcpp 2008-06-12 David S. Miller <davem@davemloft.net> 2008-06-12 16:58:40 +00:00
etc * standards.texi: Import 22 July 2007 version. 2007-08-13 09:45:22 +00:00
gas 2008-07-09 Kai Tietz <kai.tietz@onevision.com> 2008-07-09 10:28:12 +00:00
gdb Add "executing" property to threads. 2008-07-09 22:16:15 +00:00
gold * layout.cc (Layout::include_section): Do not discard unrecognized 2008-07-04 03:34:01 +00:00
gprof * basic_blocks.c: Always include "gprof.h" first. 2008-06-19 16:30:29 +00:00
include 2008-07-07 Stan Shebs <stan@codesourcery.com> 2008-07-07 18:40:13 +00:00
intl merge from gcc 2008-06-18 03:36:03 +00:00
ld *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols 2008-07-09 03:18:15 +00:00
libdecnumber merge from gcc 2008-06-18 03:36:03 +00:00
libiberty 2008-06-19 Eric Blake <ebb9@byu.net> 2008-06-19 15:17:56 +00:00
opcodes * mips-opc.c (CP): New macro. 2008-07-07 19:11:15 +00:00
readline PR gdb/544 2008-03-24 12:59:51 +00:00
sim * m32c.opc (BRK, GDBBRK): Remove debug logic. 2008-06-17 00:34:37 +00:00
texinfo
.cvsignore
ChangeLog * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp. 2008-06-18 23:20:43 +00:00
compile
config-ml.in 2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2007-11-29 15:36:39 +00:00
config.guess * config.sub, config.guess: Update from upstream sources. 2008-04-14 09:28:35 +00:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 19:27:44 +00:00
config.sub * config.sub, config.guess: Update from upstream sources. 2008-04-14 09:28:35 +00:00
configure * configure: Regenerate. 2008-06-17 23:14:44 +00:00
configure.ac * configure.ac: Set TOPLEVEL_CONFIGURE_ARGUMENTS early, when 2008-06-16 21:38:13 +00:00
COPYING
COPYING3 * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
COPYING3.LIB * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
COPYING.LIB
COPYING.LIBGLOSS 2007-12-19 Jeff Johnston <jjohnstn@redhat.com> 2007-12-19 20:47:45 +00:00
COPYING.NEWLIB 2007-12-19 Jeff Johnston <jjohnstn@redhat.com> 2007-12-19 19:12:23 +00:00
depcomp
djunpack.bat
install-sh
libtool.m4 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2008-03-16 06:49:28 +00:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2008-03-16 06:49:28 +00:00
ltversion.m4
MAINTAINERS * MAINTAINERS: Replace reference to configure.in with reference to configure.ac. 2008-04-18 08:55:06 +00:00
Makefile.def * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD. 2008-06-08 16:19:22 +00:00
Makefile.in * Makefile.tpl: Fix comment errors. 2008-06-16 21:30:58 +00:00
Makefile.tpl * Makefile.tpl: Fix comment errors. 2008-06-16 21:30:58 +00:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
README
README-maintainer-mode
setup.com
src-release * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp. 2008-06-18 23:20:43 +00:00
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.