This is the mail archive of the
archer-commits@sourceware.org
mailing list for the Archer project.
[SCM] master: * gdbint.texinfo: Change server name from sources.redhat.com to
- From: jkratoch at sourceware dot org
- To: archer-commits at sourceware dot org
- Date: 14 Apr 2009 19:45:54 -0000
- Subject: [SCM] master: * gdbint.texinfo: Change server name from sources.redhat.com to
The branch, master has been updated
via ac4b4de77049be06aa3ee102a79af90bd77fffd5 (commit)
via d5d17740486ad1e5324beceeba57f59941d7bbed (commit)
via 9a2eeb81a22edf6760efb1389cb58b8ea7bf8ff7 (commit)
via 2b75ea4b9590089a7a907ef88c5e8a1d75a56d3c (commit)
via da573d42232a05b5ca86048af6e08784158791c4 (commit)
via 39ee73fab9f2e8f3fa03642a2d2622b7c49b312b (commit)
via bfa964f289df99884e9cb623e955f6281df67c7a (commit)
via 0db0b83dcabe31eb1b62a382906daf3bd4516931 (commit)
via 648da326b4f6154d38d6b33467cc59995910b017 (commit)
via 7eeead7a420178296192d6f68ab3f5801f37b72a (commit)
via b589d11dd7dbe4f6b003b89b5775af7351be0cce (commit)
via 8995495e350f6e655aa317f3575927be901c021d (commit)
via 1d0d42a6ee9d864a760f8845ab3106c027fc8ada (commit)
via baa72fa0d5ac0f8d080211e32f53a94721756473 (commit)
via db5a5859b593fe205b9cba3a059f55a44d1a2a63 (commit)
via 033e719dfdb4b493bfd695d6160b8bbf769bcd50 (commit)
via 9313292cc01b0b0a837c35184a7c4db427ceae27 (commit)
via 3e226ec735dd1bfd775183462870e6d771f8f82d (commit)
via 66ba0837d6c589b2e6cac11d7b9748aeec2adaa1 (commit)
via 551bf58597015fed8ae48576b4569a1c60b6c865 (commit)
via d75e82657af0bb09d60974367fa8920daf220461 (commit)
via 8e119381fedf5fe17122d8b04d902389867eb5d8 (commit)
via fd6d1d677c9fcdac98da7e1a535e96391677048d (commit)
via f76c85a6b66b32d852962627a92cfac16a0528b7 (commit)
from b686df9e6e345b22074ceed77dcb86f4e361ded2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit ac4b4de77049be06aa3ee102a79af90bd77fffd5
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Tue Apr 14 18:18:41 2009 +0000
* gdbint.texinfo: Change server name from sources.redhat.com to
sourceware.org throughout.
commit d5d17740486ad1e5324beceeba57f59941d7bbed
Author: DJ Delorie <dj@delorie.com>
Date: Tue Apr 14 18:05:57 2009 +0000
merge from gcc
commit 9a2eeb81a22edf6760efb1389cb58b8ea7bf8ff7
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue Apr 14 16:49:56 2009 +0000
* gdb.base/exe-lock.exp: New testcase.
commit 2b75ea4b9590089a7a907ef88c5e8a1d75a56d3c
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue Apr 14 16:48:07 2009 +0000
* target.c (target_mourn_inferior): Call bfd_cache_close_all
after having executed the target mourn_inferior routine.
commit da573d42232a05b5ca86048af6e08784158791c4
Author: Eli Zaretskii <eliz@gnu.org>
Date: Tue Apr 14 14:25:12 2009 +0000
config/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if undefined.
commit 39ee73fab9f2e8f3fa03642a2d2622b7c49b312b
Author: Dave Korn <dave.korn@artimi.com>
Date: Tue Apr 14 09:47:42 2009 +0000
bfd/ChangeLog
* coffgen.c (make_a_section_from_file): Set the backend long
section names enable if long section names found on input.
* coffcode.h: Extend long section names documentation to match.
binutils/ChangeLog
* objcopy.c (enum long_section_name_handling): New enum type.
(enum command_line_switch): Add OPTION_LONG_SECTION_NAMES.
(copy_options[]): Add entry for --long-section-names option.
(copy_usage): Document it.
(set_long_section_mode): New subroutine.
(copy_file): Call it.
(copy_main): Accept OPTION_LONG_SECTION_NAMES and parse arg.
* doc/binutils.texi: Update objcopy documentation with details
of new option.
commit bfa964f289df99884e9cb623e955f6281df67c7a
Author: Alan Modra <amodra@bigpond.net.au>
Date: Tue Apr 14 01:00:05 2009 +0000
daily update
commit 0db0b83dcabe31eb1b62a382906daf3bd4516931
Author: David Daney <ddaney@avtrex.com>
Date: Tue Apr 14 00:59:46 2009 +0000
2009-04-13 David Daney <ddaney@caviumnetworks.com>
* infrun.c (maybe_software_singlestep): New function.
(resume): Call maybe_software_singlestep.
(handle_inferior_event): Same.
commit 648da326b4f6154d38d6b33467cc59995910b017
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Tue Apr 14 00:00:33 2009 +0000
*** empty log message ***
commit 7eeead7a420178296192d6f68ab3f5801f37b72a
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Apr 13 20:54:58 2009 +0000
gdb
* python/python-frame.c (frapy_richcompare): Return
Py_NotImplemented, not an error. Handle Py_NE as well.
gdb/testsuite
* gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
operator on Frame.
commit b589d11dd7dbe4f6b003b89b5775af7351be0cce
Author: DJ Delorie <dj@delorie.com>
Date: Mon Apr 13 19:42:49 2009 +0000
merge from gcc
commit 8995495e350f6e655aa317f3575927be901c021d
Author: Eli Zaretskii <eliz@gnu.org>
Date: Mon Apr 13 18:55:15 2009 +0000
Fix typo in the last change.
commit 1d0d42a6ee9d864a760f8845ab3106c027fc8ada
Author: Eli Zaretskii <eliz@gnu.org>
Date: Mon Apr 13 18:49:27 2009 +0000
* charset.c (EILSEQ): Define if not defined by system headers.
commit baa72fa0d5ac0f8d080211e32f53a94721756473
Author: Kai Tietz <kai.tietz@onevision.com>
Date: Mon Apr 13 10:48:27 2009 +0000
Merged from gcc head revision 146001.
2009-04-13 Ozkan Sezer <sezeroz@gmail.com>
PR target/39397
* pex-common.h (struct pex_obj): Store pid values as pid_t,
not as long (members *children and (*wait))
* pex-common.c (pex_run_in_environment): Likewise.
* pex-win32.c (pex_win32_wait): Return pid_t and properly check
returned pid value.
* pex-djgpp.c (pex_djgpp_wait): Return pid_t.
* pex-msdos.c (pex_msdos_wait): Likewise.
commit db5a5859b593fe205b9cba3a059f55a44d1a2a63
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Apr 13 01:00:05 2009 +0000
daily update
commit 033e719dfdb4b493bfd695d6160b8bbf769bcd50
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Mon Apr 13 00:00:33 2009 +0000
*** empty log message ***
commit 9313292cc01b0b0a837c35184a7c4db427ceae27
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sun Apr 12 01:00:05 2009 +0000
daily update
commit 3e226ec735dd1bfd775183462870e6d771f8f82d
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sun Apr 12 00:00:03 2009 +0000
*** empty log message ***
commit 66ba0837d6c589b2e6cac11d7b9748aeec2adaa1
Author: Eli Zaretskii <eliz@gnu.org>
Date: Sat Apr 11 19:21:10 2009 +0000
*** empty log message ***
commit 551bf58597015fed8ae48576b4569a1c60b6c865
Author: Eli Zaretskii <eliz@gnu.org>
Date: Sat Apr 11 18:06:02 2009 +0000
*** empty log message ***
commit d75e82657af0bb09d60974367fa8920daf220461
Author: Eli Zaretskii <eliz@gnu.org>
Date: Sat Apr 11 18:03:51 2009 +0000
* config/djgpp/config.sed: Tweak ac_config_files in intl/configure
to be consistent with renaming config.intl.h into config_intl.h.
commit 8e119381fedf5fe17122d8b04d902389867eb5d8
Author: Eli Zaretskii <eliz@gnu.org>
Date: Sat Apr 11 17:57:34 2009 +0000
* go32-nat.c (go32_attach, go32_detach:) Fix prototypes to be
consistent with the change from 2009-03-17.
commit fd6d1d677c9fcdac98da7e1a535e96391677048d
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sat Apr 11 01:00:04 2009 +0000
daily update
commit f76c85a6b66b32d852962627a92cfac16a0528b7
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sat Apr 11 00:00:33 2009 +0000
*** empty log message ***
-----------------------------------------------------------------------
Summary of changes:
bfd/ChangeLog | 6 ++
bfd/coffcode.h | 8 +++
bfd/coffgen.c | 5 ++
bfd/version.h | 2 +-
gdb/ChangeLog | 33 +++++++++++++
gdb/charset.c | 9 ++++
gdb/config/djgpp/config.sed | 1 +
gdb/config/djgpp/djconfig.sh | 4 ++
gdb/doc/ChangeLog | 5 ++
gdb/doc/gdbint.texinfo | 42 ++++++++--------
gdb/go32-nat.c | 4 +-
gdb/infrun.c | 47 ++++++++++++------
gdb/python/python-frame.c | 20 ++++----
gdb/target.c | 6 ++
gdb/testsuite/ChangeLog | 9 ++++
gdb/testsuite/gdb.base/exe-lock.exp | 63 +++++++++++++++++++++++++
gdb/testsuite/gdb.python/python-frame.exp | 2 +
gdb/version.in | 2 +-
libdecnumber/ChangeLog | 51 ++++++++++++++++++++
libdecnumber/Makefile.in | 7 +--
libdecnumber/bid/bid-dpd.h | 23 ++++-----
libdecnumber/bid/bid2dpd_dpd2bid.c | 25 ++++------
libdecnumber/bid/bid2dpd_dpd2bid.h | 25 ++++------
libdecnumber/bid/decimal128.c | 21 ++++-----
libdecnumber/bid/decimal32.c | 21 ++++-----
libdecnumber/bid/decimal64.c | 21 ++++-----
libdecnumber/bid/host-ieee128.c | 25 ++++------
libdecnumber/bid/host-ieee32.c | 25 ++++------
libdecnumber/bid/host-ieee64.c | 25 ++++------
libdecnumber/configure.ac | 9 ++--
libdecnumber/dconfig.h | 25 ++++------
libdecnumber/decBasic.c | 25 ++++------
libdecnumber/decCommon.c | 25 ++++------
libdecnumber/decContext.c | 25 ++++------
libdecnumber/decContext.h | 25 ++++------
libdecnumber/decDPD.h | 25 ++++------
libdecnumber/decDouble.c | 25 ++++------
libdecnumber/decDouble.h | 25 ++++------
libdecnumber/decExcept.c | 25 ++++------
libdecnumber/decExcept.h | 25 ++++------
libdecnumber/decLibrary.c | 25 ++++------
libdecnumber/decNumber.c | 25 ++++------
libdecnumber/decNumber.h | 25 ++++------
libdecnumber/decNumberLocal.h | 25 ++++------
libdecnumber/decPacked.c | 25 ++++------
libdecnumber/decPacked.h | 25 ++++------
libdecnumber/decQuad.c | 25 ++++------
libdecnumber/decQuad.h | 25 ++++------
libdecnumber/decRound.c | 25 ++++------
libdecnumber/decRound.h | 25 ++++------
libdecnumber/decSingle.c | 25 ++++------
libdecnumber/decSingle.h | 25 ++++------
libdecnumber/dpd/decimal128.c | 25 ++++------
libdecnumber/dpd/decimal128.h | 25 ++++------
libdecnumber/dpd/decimal128Local.h | 25 ++++------
libdecnumber/dpd/decimal32.c | 25 ++++------
libdecnumber/dpd/decimal32.h | 25 ++++------
libdecnumber/dpd/decimal64.c | 25 ++++------
libdecnumber/dpd/decimal64.h | 25 ++++------
libiberty/ChangeLog | 19 ++++++++
libiberty/configure | 73 +++++++++++++++++++++--------
libiberty/configure.ac | 39 +++++++++-------
libiberty/pex-common.c | 4 +-
libiberty/pex-common.h | 4 +-
libiberty/pex-djgpp.c | 4 +-
libiberty/pex-msdos.c | 4 +-
libiberty/pex-win32.c | 8 ++--
67 files changed, 759 insertions(+), 667 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/exe-lock.exp
First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 679211b..bcd2179 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-14 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ * coffgen.c (make_a_section_from_file): Set the backend long
+ section names enable if long section names found on input.
+ * coffcode.h: Extend long section names documentation to match.
+
2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_link_add_object_symbols): Warn alternate ELF
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 484fb6b..4f53e47 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -153,6 +153,14 @@ SUBSUBSECTION
points to a function that allows the value of the flag to be altered
at runtime, on formats that support long section names at all; on
other formats it points to a stub that returns an error indication.
+
+ With input BFDs, the flag is set according to whether any long section
+ names are detected while reading the section headers. For a completely
+ new BFD, the flag is set to the default for the target format. This
+ information can be used by a client of the BFD library when deciding
+ what output format to generate, and means that a BFD that is opened
+ for read and subsequently converted to a writeable BFD and modified
+ in-place will retain whatever format it had on input.
If @code{COFF_LONG_SECTION_NAMES} is simply defined (blank), or is
defined to the value "1", then long section names are enabled by
diff --git a/bfd/coffgen.c b/bfd/coffgen.c
index 0faaede..8781557 100644
--- a/bfd/coffgen.c
+++ b/bfd/coffgen.c
@@ -73,6 +73,11 @@ make_a_section_from_file (bfd *abfd,
char *p;
const char *strings;
+ /* Flag that this BFD uses long names, even though the format might
+ expect them to be off by default. This won't directly affect the
+ format of any output BFD created from this one, but the information
+ can be used to decide what to do. */
+ bfd_coff_set_long_section_names (abfd, TRUE);
memcpy (buf, hdr->s_name + 1, SCNNMLEN - 1);
buf[SCNNMLEN - 1] = '\0';
strindex = strtol (buf, &p, 10);
diff --git a/bfd/version.h b/bfd/version.h
index 287c2ab..08424e5 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20090410
+#define BFD_VERSION_DATE 20090414
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b6f86a7..7e40385 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,36 @@
+2009-04-14 Joel Brobecker <brobecker@adacore.com>
+
+ * target.c (target_mourn_inferior): Call bfd_cache_close_all
+ after having executed the target mourn_inferior routine.
+
+2009-04-14 Eli Zaretskii <eliz@gnu.org>
+
+ * config/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if
+ undefined.
+
+2009-04-13 David Daney <ddaney@caviumnetworks.com>
+
+ * infrun.c (maybe_software_singlestep): New function.
+ (resume): Call maybe_software_singlestep.
+ (handle_inferior_event): Same.
+
+2009-04-13 Tom Tromey <tromey@redhat.com>
+
+ * python/python-frame.c (frapy_richcompare): Return
+ Py_NotImplemented, not an error. Handle Py_NE as well.
+
+2009-04-13 Eli Zaretskii <eliz@gnu.org>
+
+ * charset.c (EILSEQ): Define if not defined by system headers.
+
+2009-04-11 Eli Zaretskii <eliz@gnu.org>
+
+ * config/djgpp/config.sed: Tweak ac_config_files in intl/configure
+ to be consistent with renaming config.intl.in into config_intl.in.
+
+ * go32-nat.c (go32_attach, go32_detach): Fix prototypes to be
+ consistent with the change from 2008-11-09.
+
2009-04-10 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdbtypes.c: Remove excessive parentheses at the return keywords.
diff --git a/gdb/charset.c b/gdb/charset.c
index 14862e7..7dd0f40 100644
--- a/gdb/charset.c
+++ b/gdb/charset.c
@@ -89,6 +89,15 @@
#undef ICONV_CONST
#define ICONV_CONST const
+/* Some systems don't have EILSEQ, so we define it here, but not as
+ EINVAL, because callers of `iconv' want to distinguish EINVAL and
+ EILSEQ. This is what iconv.h from libiconv does as well. Note
+ that wchar.h may also define EILSEQ, so this needs to be after we
+ include wchar.h, which happens in defs.h through gdb_wchar.h. */
+#ifndef EILSEQ
+#define EILSEQ ENOENT
+#endif
+
iconv_t
iconv_open (const char *to, const char *from)
{
diff --git a/gdb/config/djgpp/config.sed b/gdb/config/djgpp/config.sed
index aef12eb..536a445 100644
--- a/gdb/config/djgpp/config.sed
+++ b/gdb/config/djgpp/config.sed
@@ -51,3 +51,4 @@ s|\.gdbinit|gdb.ini|g
/ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1,
/^[ ]*if test "x`echo /s,sed 's@/,sed -e 's@^[A-z]:@@' -e 's@/,
/^ *ac_config_headers=/s, config.h", config.h:config.h-in",
+/^ *ac_config_files=/s, config.intl", config.intl:config_intl.in",
diff --git a/gdb/config/djgpp/djconfig.sh b/gdb/config/djgpp/djconfig.sh
index ac2af62..cd61a3a 100644
--- a/gdb/config/djgpp/djconfig.sh
+++ b/gdb/config/djgpp/djconfig.sh
@@ -155,6 +155,10 @@ export am_cv_exeext=.exe
# need all that crap. Assuming that the environment size is less
# than 4KB, we can afford 12KB of command-line arguments.
export lt_cv_sys_max_cmd_len=12288
+# Force depcomp to use _deps rather than .deps as the name of the
+# subdirectory where the *.Po dependency files are put. File names
+# with leading dots are invalid on DOS 8+3 filesystems.
+export DEPDIR=${DEPDIR:-_deps}
# The configure script needs to see the `install-sh' script, otherwise
# it decides the source installation is broken. But "make install" will
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index b70d85c..89d7d11 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-14 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * gdbint.texinfo: Change server name from sources.redhat.com to
+ sourceware.org throughout.
+
2009-04-09 Joel Brobecker <brobecker@adacore.com>
* gdb.texinfo (Set Breaks): Rewrite a paragraph to avoid a warning
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 187da2f..e4e08a3 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -6709,7 +6709,7 @@ adding more reviewers or deciding who can commit).
@item all commits are posted
All changes committed to a branch shall also be posted to
-@email{gdb-patches@@sources.redhat.com, the @value{GDBN} patches
+@email{gdb-patches@@sourceware.org, the @value{GDBN} patches
mailing list}. While commentary on such changes are encouraged, people
should remember that the changes only apply to a branch.
@@ -6876,13 +6876,13 @@ Remember, everything on the Internet takes a week.
@enumerate
@item
-Post the proposal on @email{gdb@@sources.redhat.com, the GDB mailing
+Post the proposal on @email{gdb@@sourceware.org, the GDB mailing
list} Creating a bug report to track the task's state, is also highly
recommended.
@item
Wait a week or so.
@item
-Post the proposal on @email{gdb-announce@@sources.redhat.com, the GDB
+Post the proposal on @email{gdb-announce@@sourceware.org, the GDB
Announcement mailing list}.
@item
Wait a week or so.
@@ -6942,7 +6942,7 @@ file)
@subheading Check the ARI
-@uref{http://sources.redhat.com/gdb/ari,,A.R.I.} is an @code{awk} script
+@uref{http://sourceware.org/gdb/ari,,A.R.I.} is an @code{awk} script
(Awk Regression Index ;-) that checks for a number of errors and coding
conventions. The checks include things like using @code{malloc} instead
of @code{xmalloc} and file naming problems. There shouldn't be any
@@ -6968,15 +6968,15 @@ $ V=`echo $v | sed 's/\./_/g'`
$ D=`date -u +%Y-%m-%d`
$ echo $u $V $D
5.1 5_2 2002-03-03
-$ echo cvs -f -d :ext:sources.redhat.com:/cvs/src rtag \
+$ echo cvs -f -d :ext:sourceware.org:/cvs/src rtag \
-D $D-gmt gdb_$V-$D-branchpoint insight
-cvs -f -d :ext:sources.redhat.com:/cvs/src rtag
+cvs -f -d :ext:sourceware.org:/cvs/src rtag
-D 2002-03-03-gmt gdb_5_2-2002-03-03-branchpoint insight
$ ^echo ^^
...
-$ echo cvs -f -d :ext:sources.redhat.com:/cvs/src rtag \
+$ echo cvs -f -d :ext:sourceware.org:/cvs/src rtag \
-b -r gdb_$V-$D-branchpoint gdb_$V-branch insight
-cvs -f -d :ext:sources.redhat.com:/cvs/src rtag \
+cvs -f -d :ext:sourceware.org:/cvs/src rtag \
-b -r gdb_5_2-2002-03-03-branchpoint gdb_5_2-branch insight
$ ^echo ^^
...
@@ -7006,9 +7006,9 @@ $ V=`echo $v | sed 's/\./_/g'`
$ echo $u $v$V
5.1 5_2
$ cd /tmp
-$ echo cvs -f -d :ext:sources.redhat.com:/cvs/src co \
+$ echo cvs -f -d :ext:sourceware.org:/cvs/src co \
-r gdb_$V-branch src/gdb/version.in
-cvs -f -d :ext:sources.redhat.com:/cvs/src co
+cvs -f -d :ext:sourceware.org:/cvs/src co
-r gdb_5_2-branch src/gdb/version.in
$ ^echo ^^
U src/gdb/version.in
@@ -7069,10 +7069,10 @@ Send an announcement to the mailing lists:
@itemize @bullet
@item
-@email{gdb-announce@@sources.redhat.com, GDB Announcement mailing list}
+@email{gdb-announce@@sourceware.org, GDB Announcement mailing list}
@item
-@email{gdb@@sources.redhat.com, GDB Discussion mailing list} and
-@email{gdb-testers@@sources.redhat.com, GDB Testers mailing list}
+@email{gdb@@sourceware.org, GDB Discussion mailing list} and
+@email{gdb-testers@@sourceware.org, GDB Testers mailing list}
@end itemize
@emph{Pragmatics: The branch creation is sent to the announce list to
@@ -7114,7 +7114,7 @@ candidate).
@subsubheading Freeze the branch
Send out an e-mail notifying everyone that the branch is frozen to
-@email{gdb-patches@@sources.redhat.com}.
+@email{gdb-patches@@sourceware.org}.
@subsubheading Establish a few defaults.
@@ -7140,7 +7140,7 @@ Notes:
@item
Check the @code{autoconf} version carefully. You want to be using the
version taken from the @file{binutils} snapshot directory, which can be
-found at @uref{ftp://sources.redhat.com/pub/binutils/}. It is very
+found at @uref{ftp://sourceware.org/pub/binutils/}. It is very
unlikely that a system installed version of @code{autoconf} (e.g.,
@file{/usr/bin/autoconf}) is correct.
@end itemize
@@ -7345,10 +7345,10 @@ Tweak @file{version.in} (and @file{ChangeLog} to read
process can restart.
@item
Make the release candidate available in
-@uref{ftp://sources.redhat.com/pub/gdb/snapshots/branch}
+@uref{ftp://sourceware.org/pub/gdb/snapshots/branch}
@item
-Notify the relevant mailing lists ( @email{gdb@@sources.redhat.com} and
-@email{gdb-testers@@sources.redhat.com} that the candidate is available.
+Notify the relevant mailing lists ( @email{gdb@@sourceware.org} and
+@email{gdb-testers@@sourceware.org} that the candidate is available.
@end enumerate
@subsection Make a formal release available
@@ -7455,7 +7455,7 @@ Post the @file{ANNOUNCEMENT} file you created above to:
@itemize @bullet
@item
-@email{gdb-announce@@sources.redhat.com, GDB Announcement mailing list}
+@email{gdb-announce@@sourceware.org, GDB Announcement mailing list}
@item
@email{info-gnu@@gnu.org, General GNU Announcement list} (but delay it a
day or so to let things get out)
@@ -7519,7 +7519,7 @@ trunk.
@subsubheading Revise the release schedule
-Post a revised release schedule to @email{gdb@@sources.redhat.com, GDB
+Post a revised release schedule to @email{gdb@@sourceware.org, GDB
Discussion List} with an updated announcement. The schedule can be
generated by running:
@@ -7889,7 +7889,7 @@ permits, which, since the maintainers have many demands to meet, may not
be for quite some time.
Please send patches directly to
-@email{gdb-patches@@sources.redhat.com, the @value{GDBN} maintainers}.
+@email{gdb-patches@@sourceware.org, the @value{GDBN} maintainers}.
@section Build Script
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index e1f793e..4d58a57 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -167,8 +167,8 @@ static int dr_ref_count[4];
static int prog_has_started = 0;
static void go32_open (char *name, int from_tty);
static void go32_close (int quitting);
-static void go32_attach (char *args, int from_tty);
-static void go32_detach (char *args, int from_tty);
+static void go32_attach (struct target_ops *ops, char *args, int from_tty);
+static void go32_detach (struct target_ops *ops, char *args, int from_tty);
static void go32_resume (struct target_ops *ops,
ptid_t ptid, int step,
enum target_signal siggnal);
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 7a9f4e9..f139ea8 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -950,6 +950,29 @@ set_schedlock_func (char *args, int from_tty, struct cmd_list_element *c)
}
}
+/* Try to setup for software single stepping over the specified location.
+ Return 1 if target_resume() should use hardware single step.
+
+ GDBARCH the current gdbarch.
+ PC the location to step over. */
+
+static int
+maybe_software_singlestep (struct gdbarch *gdbarch, CORE_ADDR pc)
+{
+ int hw_step = 1;
+
+ if (gdbarch_software_single_step_p (gdbarch)
+ && gdbarch_software_single_step (gdbarch, get_current_frame ()))
+ {
+ hw_step = 0;
+ /* Do not pull these breakpoints until after a `wait' in
+ `wait_for_inferior' */
+ singlestep_breakpoints_inserted_p = 1;
+ singlestep_ptid = inferior_ptid;
+ singlestep_pc = pc;
+ }
+ return hw_step;
+}
/* Resume the inferior, but allow a QUIT. This is useful if the user
wants to interrupt some lengthy single-stepping operation
@@ -1031,20 +1054,9 @@ a command like `return' or `jump' to continue execution."));
}
}
- if (step && gdbarch_software_single_step_p (gdbarch))
- {
- /* Do it the hard way, w/temp breakpoints */
- if (gdbarch_software_single_step (gdbarch, get_current_frame ()))
- {
- /* ...and don't ask hardware to do it. */
- step = 0;
- /* and do not pull these breakpoints until after a `wait' in
- `wait_for_inferior' */
- singlestep_breakpoints_inserted_p = 1;
- singlestep_ptid = inferior_ptid;
- singlestep_pc = pc;
- }
- }
+ /* Do we need to do it the hard way, w/temp breakpoints? */
+ if (step)
+ step = maybe_software_singlestep (gdbarch, pc);
/* If there were any forks/vforks/execs that were caught and are
now to be followed, then do so. */
@@ -2826,11 +2838,14 @@ targets should add new threads to the thread list themselves in non-stop mode.")
the inferior over it. If we have non-steppable watchpoints,
we must disable the current watchpoint; it's simplest to
disable all watchpoints and breakpoints. */
-
+ int hw_step = 1;
+
if (!HAVE_STEPPABLE_WATCHPOINT)
remove_breakpoints ();
registers_changed ();
- target_resume (ecs->ptid, 1, TARGET_SIGNAL_0); /* Single step */
+ /* Single step */
+ hw_step = maybe_software_singlestep (current_gdbarch, read_pc ());
+ target_resume (ecs->ptid, hw_step, TARGET_SIGNAL_0);
waiton_ptid = ecs->ptid;
if (HAVE_STEPPABLE_WATCHPOINT)
infwait_state = infwait_step_watch_state;
diff --git a/gdb/python/python-frame.c b/gdb/python/python-frame.c
index 8d6127e..a97009f 100644
--- a/gdb/python/python-frame.c
+++ b/gdb/python/python-frame.c
@@ -415,21 +415,23 @@ gdbpy_frame_stop_reason_string (PyObject *self, PyObject *args)
static PyObject *
frapy_richcompare (PyObject *self, PyObject *other, int op)
{
- if (!PyObject_TypeCheck (other, &frame_object_type))
- {
- PyErr_SetString (PyExc_TypeError, "Frame object expected in comparison.");
- return NULL;
- }
- else if (op != Py_EQ)
+ int result;
+
+ if (!PyObject_TypeCheck (other, &frame_object_type)
+ || (op != Py_EQ && op != Py_NE))
{
- PyErr_SetString (PyExc_TypeError, "Invalid comparison for gdb.Frame.");
- return NULL;
+ Py_INCREF (Py_NotImplemented);
+ return Py_NotImplemented;
}
if (frame_id_eq (((frame_object *) self)->frame_id,
((frame_object *) other)->frame_id))
- Py_RETURN_TRUE;
+ result = Py_EQ;
+ else
+ result = Py_NE;
+ if (op == result)
+ Py_RETURN_TRUE;
Py_RETURN_FALSE;
}
diff --git a/gdb/target.c b/gdb/target.c
index 86cdb71..f7366f8 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1941,6 +1941,12 @@ target_mourn_inferior (void)
t->to_mourn_inferior (t);
if (targetdebug)
fprintf_unfiltered (gdb_stdlog, "target_mourn_inferior ()\n");
+
+ /* We no longer need to keep handles on any of the object files.
+ Make sure to release them to avoid unnecessarily locking any
+ of them while we're not actually debugging. */
+ bfd_cache_close_all ();
+
return;
}
}
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index dd8b2eb..04e693c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2009-04-14 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.base/exe-lock.exp: New testcase.
+
+2009-04-13 Tom Tromey <tromey@redhat.com>
+
+ * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
+ operator on Frame.
+
2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/attach.exp: Re-enable for spu*-*-* targets.
diff --git a/gdb/testsuite/gdb.base/exe-lock.exp b/gdb/testsuite/gdb.base/exe-lock.exp
new file mode 100644
index 0000000..59c2adf
--- /dev/null
+++ b/gdb/testsuite/gdb.base/exe-lock.exp
@@ -0,0 +1,63 @@
+# Copyright 2009 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+if $tracelevel {
+ strace $tracelevel
+}
+
+# The intent of this testcase is to verify that GDB does not keep
+# a filesystem lock on the executable file once the executable
+# is no longer running.
+
+set testfile "arrayidx"
+set srcfile ${testfile}.c
+set binfile ${objdir}/${subdir}/${testfile}
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
+ untested "Couldn't compile ${srcfile}"
+ return -1
+}
+
+gdb_exit
+gdb_start
hooks/post-receive
--
Repository for Project Archer.