WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [GDBSERVER] make gdbbuild exit on error

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [GDBSERVER] make gdbbuild exit on error
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Sep 2006 16:30:15 +0000
Delivery-date: Wed, 13 Sep 2006 09:31:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 885c1513c6743cc6d8373f973a4fa696ce5215cb
# Parent  6160da08a238110265fbb9222f812121c7260a90
[GDBSERVER] make gdbbuild exit on error

If an error occurs, such as wget failing because the site (or proxy)
is unavailable, the script will now terminate, rather than trying
to soldier on without any real hope of success.

mkbuildtree should really get the same treatment, but that
can wait for another day.

Signed-Off-By: Simon Horman <horms@xxxxxxxxxxxx>
---
 tools/debugger/gdb/gdbbuild |    2 ++
 1 files changed, 2 insertions(+)

diff -r 6160da08a238 -r 885c1513c674 tools/debugger/gdb/gdbbuild
--- a/tools/debugger/gdb/gdbbuild       Wed Sep 13 15:14:24 2006 +0100
+++ b/tools/debugger/gdb/gdbbuild       Wed Sep 13 15:15:27 2006 +0100
@@ -1,4 +1,6 @@
 #!/bin/sh
+
+set -e
 
 [ "$GDB_MIRROR" ] || GDB_MIRROR="ftp://ftp.gnu.org/gnu/gdb/";
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [GDBSERVER] make gdbbuild exit on error, Xen patchbot-unstable <=