From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19858 invoked by alias); 15 Dec 2014 08:13:08 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 19836 invoked by uid 89); 15 Dec 2014 08:13:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-lb0-f169.google.com Received: from mail-lb0-f169.google.com (HELO mail-lb0-f169.google.com) (209.85.217.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 15 Dec 2014 08:13:02 +0000 Received: by mail-lb0-f169.google.com with SMTP id p9so8663006lbv.14 for ; Mon, 15 Dec 2014 00:12:59 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.152.5.198 with SMTP id u6mr29545954lau.42.1418631179355; Mon, 15 Dec 2014 00:12:59 -0800 (PST) Received: by 10.25.217.18 with HTTP; Mon, 15 Dec 2014 00:12:59 -0800 (PST) Date: Mon, 15 Dec 2014 08:13:00 -0000 Message-ID: Subject: SIGILL under gdb for AIX 64 bit binaries From: navin p To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00022.txt.bz2 Hello, When i run a program on command line it runs fine. But when i run it gdb it gives me a SIGILL. I know that is a problem with the code because dbx for AIX also gives the SIGILL instruction. But i've been not able to convince people in my organization it is a problem with code. What they do is they 'c' (continue) in gdb when it hits a SIGILL and keep on continuing 2 times until it crashes somewhere else in the code. I wanted to know these 2 questions : 1) Once it hits a SIGILL can we continue and go to the next crash and so on ? Is this valid . 2) How does gdb allow to continue on a SIGILL ? Regards, Navin