Binutils with MCST patches
Go to file
Joel Brobecker f688d93f0b [hpux/ttrace] Determine attached process LWP immediately after attaching.
When attaching to a process, the ttrace interface was creating a ptid
with a null LWP, because it did not have it yet.  This LWP was then
set as soon as we received our first event from our inferior, during
our first wait.  Similarly, the allocation of the thread private info
was also defered.

This works on PA/HP-UX, because we immediately perform a wait to pop
the event triggered by the attach.  We can use that event to extract
the thread's LWP.  But this does not work for IA64/HP-UX, because
the attach no longer triggers an event, and thus a wait should NOT
be performed (such a wait would simply block indefinitely).

It is actually possible, however, to determine the thread's LWP.
This change therefore adjusts the attach code to create a thread with
the correct LWP set, as well as with its private info allocated.
Same thing for all the other threads.

gdb/ChangeLog:

        [ttrace] Compute thread list immediately after attach.
        * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
        New subprogram.
        (inf_ttrace_attach): Use it.
2011-01-13 16:23:33 +00:00
bfd daily update 2011-01-12 23:00:05 +00:00
binutils * readelf.c (print_symbol): Handle symbol characters as unsigned. 2011-01-11 10:46:55 +00:00
config PR target/40125 2010-12-06 01:40:20 +00:00
cpu Fix build with -DDEBUG=7 2010-10-08 14:00:50 +00:00
elfcpp * elfcpp.h (enum SHT): Add SHT_GNU_INCREMENTAL_GOT_PLT. 2010-08-12 22:18:14 +00:00
etc PR other/46202: implement install-strip. 2010-11-20 19:37:58 +00:00
gas Take unadjusted offset for loongson3a specific instructions. 2011-01-11 07:22:09 +00:00
gdb [hpux/ttrace] Determine attached process LWP immediately after attaching. 2011-01-13 16:23:33 +00:00
gold * layout.cc (Layout::layout_eh_frame): Mark a writable .eh_frame 2011-01-10 21:57:31 +00:00
gprof * po/da.po: Updated Danish translation. 2011-01-10 13:51:10 +00:00
include merge from gcc 2011-01-12 19:04:47 +00:00
intl merge from gcc 2010-09-27 21:01:18 +00:00
ld Add xfail and notarget. 2011-01-13 15:23:59 +00:00
libdecnumber merge from gcc 2011-01-03 21:05:58 +00:00
libiberty merge from gcc 2011-01-03 21:05:58 +00:00
opcodes * rx-dis.c (print_insn_rx): Support RX_Operand_TwoReg. 2011-01-12 07:06:29 +00:00
readline Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 16:56:56 +00:00
sim sim: enable hw_tree_delete in sim_hw_uninstall 2011-01-12 22:10:46 +00:00
texinfo
.cvsignore
.gitignore start a gitignore 2010-11-17 19:34:59 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS 2010-12-18 Jeff Johnston <jjohnstn@redhat.com> 2010-12-17 22:10:05 +00:00
COPYING.NEWLIB 2010-12-02 Jeff Johnston <jjohnstn@redhat.com> 2010-12-02 20:05:11 +00:00
COPYING3
COPYING3.LIB
ChangeLog Sync toplevel configure from GCC. 2011-01-02 16:40:07 +00:00
MAINTAINERS
Makefile.def PR other/46020 2010-11-26 04:56:39 +00:00
Makefile.in PR other/46020 2010-11-26 04:56:39 +00:00
Makefile.tpl PR other/46020 2010-11-26 04:56:39 +00:00
README
README-maintainer-mode Cleanups after the update to Autoconf 2.64, Automake 1.11. 2009-08-22 17:08:11 +00:00
compile Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
config-ml.in Merge from gcc top-level. 2010-11-19 22:06:27 +00:00
config.guess /: 2010-06-01 17:53:40 +00:00
config.rpath
config.sub /: 2010-06-01 17:53:40 +00:00
configure Sync toplevel configure from GCC. 2011-01-02 16:40:07 +00:00
configure.ac Sync toplevel configure from GCC. 2011-01-02 16:40:07 +00:00
depcomp Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
djunpack.bat
install-sh Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
libtool.m4 Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
ltgcc.m4
ltmain.sh Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
ltoptions.m4 Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
ltsugar.m4
ltversion.m4 Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
lt~obsolete.m4 Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
makefile.vms
missing Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
mkdep
mkinstalldirs Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00
move-if-change
setup.com 2009-09-01 Tristan Gingold <gingold@adacore.com> 2009-09-01 13:38:26 +00:00
src-release 2010-12-10 Tristan Gingold <gingold@adacore.com> 2010-12-10 09:10:49 +00:00
symlink-tree
ylwrap Update automake-provided files in the toplevel. 2009-08-22 11:48:33 +00:00

README

		   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.