From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6787 invoked by alias); 10 Sep 2011 12:51:29 -0000 Received: (qmail 6779 invoked by uid 22791); 10 Sep 2011 12:51:29 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-gy0-f169.google.com (HELO mail-gy0-f169.google.com) (209.85.160.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 10 Sep 2011 12:51:11 +0000 Received: by gya6 with SMTP id 6so1889528gya.0 for ; Sat, 10 Sep 2011 05:51:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.116.233 with SMTP id g69mr17370386yhh.39.1315659071026; Sat, 10 Sep 2011 05:51:11 -0700 (PDT) Received: by 10.236.201.33 with HTTP; Sat, 10 Sep 2011 05:51:10 -0700 (PDT) In-Reply-To: References: <201108042110.45405.pedro@codesourcery.com> Date: Sat, 10 Sep 2011 16:52:00 -0000 Message-ID: Subject: Re: Eliminate tui_command_loop From: Matt Rice To: Pedro Alves Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-09/txt/msg00176.txt.bz2 On Sat, Sep 10, 2011 at 5:46 AM, Matt Rice wrote: > Sorry to report that there is an issue here, forgot the reproducer, ./gdb -quiet -ex 'interpreter-exec mi2 "-break-insert main"' -ex start ~/tests/test e.g. $ ./gdb/gdb -quiet -ex 'interpreter-exec mi2 "-break-insert main"' -ex start ~/tests/test Reading symbols from /home/ratmice/tests/test...done. ^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000400598",func="main",file="/home/ratmice/tests/test.c",fullname="/home/ratmice/tests/test.c",line="36",times="0",original-location="main"} (gdb) Temporary breakpoint 2 at 0x400598: file /home/ratmice/tests/test.c, line 36. Starting program: /home/ratmice/tests/test Breakpoint 1, main (argc=1, argv=0x7fffffffe178) at /home/ratmice/tests/test.c:36 Segmentation fault