From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9497 invoked by alias); 30 Jun 2003 21:34:16 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9490 invoked from network); 30 Jun 2003 21:34:15 -0000 Received: from unknown (HELO lisa.goe.net) (134.76.166.209) by sources.redhat.com with SMTP; 30 Jun 2003 21:34:15 -0000 Received: from mutter.goe.net (mutter-lisa0.a11.local [192.168.31.26]) by lisa.goe.net (8.12.6/8.12.6) with ESMTP id h5ULYEqI024915 for ; Mon, 30 Jun 2003 23:34:14 +0200 Received: from whitebox.as.local (whitebox.a11.local [192.168.31.90]) by mutter.goe.net (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id h5ULYDaS018584 for ; Mon, 30 Jun 2003 23:34:13 +0200 Received: from whitebox.as.local (localhost [127.0.0.1]) by whitebox.as.local (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id h5ULXdbj025756 for ; Mon, 30 Jun 2003 23:33:40 +0200 Received: (from andreas@localhost) by whitebox.as.local (8.12.7/8.12.7/Submit) id h5ULXd69025753; Mon, 30 Jun 2003 23:33:39 +0200 X-Authentication-Warning: whitebox.as.local: andreas set sender to schwab@suse.de using -f To: gdb-patches@sources.redhat.com Subject: Fix internal_vproblem X-Yow: Yow!! It's LIBERACE and TUESDAY WELD!! High on a HILL... driving a LITTLE CAR... I wanna be in that LITTLE CAR, too!! I wanna drive off with LIBBY and TUESDAY! From: Andreas Schwab Date: Mon, 30 Jun 2003 21:34:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-06/txt/msg00882.txt.bz2 Committing as obvious, both HEAD and 6.0 branch. Andreas. 2003-06-30 Andreas Schwab * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to format error message. --- gdb/utils.c.~1.102.~ 2003-06-26 23:00:19.000000000 +0200 +++ gdb/utils.c 2003-06-30 22:58:14.000000000 +0200 @@ -724,7 +724,7 @@ internal_vproblem (struct internal_probl so that the user knows that they are living on the edge. */ { char *msg; - xasprintf (&msg, fmt, ap); + xvasprintf (&msg, fmt, ap); xasprintf (&reason, "\ %s:%d: %s: %s\n\ A problem internal to GDB has been detected,\n\