Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Ralf Corsepius <ralf.corsepius@rtems.org>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: [Patch] Exit gdb/configure.tgt for unsupported targets
Date: Wed, 24 Feb 2010 10:56:00 -0000	[thread overview]
Message-ID: <4B8505E9.3050600@rtems.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 142 bytes --]

Hi,

The patch below (against 7.0.90) is meant to address the issues I 
reported in
http://sourceware.org/ml/gdb/2010-02/msg00140.html

Ralf


[-- Attachment #2: gdb-7.0.90-gdb-configure.tgt.diff --]
[-- Type: text/plain, Size: 530 bytes --]

2010-02-23	Ralf Corsépius <ralf.corsepius@rtems.org>

	* configure.tgt: Exit if ${gdb_target_obs}" is not set.

diff -Naur gdb-7.0.90.orig/gdb/configure.tgt gdb-7.0.90/gdb/configure.tgt
--- gdb-7.0.90.orig/gdb/configure.tgt	2010-01-19 11:22:42.000000000 +0100
+++ gdb-7.0.90/gdb/configure.tgt	2010-02-23 05:43:01.000000000 +0100
@@ -611,6 +611,11 @@
 
 esac
 
+if test -z "${gdb_target_obs}"; then
+    echo "*** Configuration ${targ} is unsupported." >&2
+    exit 1
+fi
+
 # map target onto default OS ABI
 
 case "${targ}" in

             reply	other threads:[~2010-02-24 10:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-24 10:56 Ralf Corsepius [this message]
2010-02-24 16:51 ` Tom Tromey
2010-02-24 17:00   ` Ralf Corsepius
2010-02-25  5:40     ` Ralf Corsepius
2010-02-25 17:46       ` Tom Tromey
2010-03-11 16:57         ` Ralf Corsepius
2010-03-15 17:10           ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B8505E9.3050600@rtems.org \
    --to=ralf.corsepius@rtems.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox