From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10245 invoked by alias); 9 Apr 2003 16:07:43 -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 10238 invoked from network); 9 Apr 2003 16:07:43 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 9 Apr 2003 16:07:43 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h39G7he14491 for ; Wed, 9 Apr 2003 12:07:43 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h39G7fJ13184; Wed, 9 Apr 2003 12:07:41 -0400 Received: from localhost.localdomain (vpn50-42.rdu.redhat.com [172.16.50.42]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h39G7cm09924; Wed, 9 Apr 2003 12:07:38 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h39G7Vr16358; Wed, 9 Apr 2003 09:07:31 -0700 Date: Wed, 09 Apr 2003 16:07:00 -0000 From: Kevin Buettner Message-Id: <1030409160731.ZM16357@localhost.localdomain> In-Reply-To: Andrew Cagney "Re: [RFC] gdb.base/args.exp: Invoke gdb_load for simulator targets" (Apr 9, 10:21am) References: <1030408222709.ZM13182@localhost.localdomain> <3E942C6E.50003@redhat.com> To: Andrew Cagney Subject: Re: [RFC] gdb.base/args.exp: Invoke gdb_load for simulator targets Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-04/txt/msg00160.txt.bz2 On Apr 9, 10:21am, Andrew Cagney wrote: > > * gdb.base/args.exp: Invoke gdb_load for simulator targets. > > Modify regexps to match extra output after program exit in a > > simulator. > > What's the extra output? That part may be a bug. When running on a simulator, I see: (gdb) target sim Connected to the simulator. (gdb) load gdb.base/args (gdb) run Starting program: .../gdb.base/args 1 3 3 .../gdb.base/args 1 3 Program exited normally. [Switching to process 0] Current language: auto; currently asm (gdb) When running with a native gdb, I see: (gdb) run Starting program: .../gdb.base/args 1 3 3 .../gdb.base/args 1 3 Program exited normally. (gdb) The extra output is the bit about switching to process 0 and reporting the current language. I figured it was a feature, but it may well be a bug. (It seems pretty harmless...) Kevin