From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24574 invoked by alias); 24 Jul 2009 09:50:02 -0000 Received: (qmail 24554 invoked by uid 22791); 24 Jul 2009 09:50:01 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_20 X-Spam-Check-By: sourceware.org Received: from mail.redpinesignals.com (HELO mail.redpinesignals.com) (203.196.161.92) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Jul 2009 09:49:54 +0000 Received: from [192.168.40.83] ([192.168.40.83]) (authenticated user nagaraju.m@redpinesignals.com) by mail.redpinesignals.com; Fri, 24 Jul 2009 15:15:28 +0530 Message-ID: <4A6983C1.7050705@redpinesignals.com> Date: Fri, 24 Jul 2009 09:50:00 -0000 From: "nagaraju.m" User-Agent: Thunderbird 2.0.0.17 (X11/20081009) MIME-Version: 1.0 To: Paul Pluzhnikov CC: gdb@sourceware.org Subject: Re: gdb script References: <4A670F21.407@redpinesignals.com> <20090722213048.GD4952@adacore.com> <8ac60eac0907221734i18c1aa12sae62b0f2de115f32@mail.gmail.com> <20090723015300.GF4952@adacore.com> <4A695166.5080709@redpinesignals.com> <8ac60eac0907232339j6ba88e1cj8f620bf487775303@mail.gmail.com> In-Reply-To: <8ac60eac0907232339j6ba88e1cj8f620bf487775303@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2009-07/txt/msg00188.txt.bz2 Paul, I have given SIGTRAP signal but gdb is not giving control to user, so I have changed to SIGINT and it is working. Paul Pluzhnikov wrote: > On Thu, Jul 23, 2009 at 11:15 PM, > nagaraju.m wrote: > > >> Paul, I have raised "SIGINT" signal in my target for hitting the breakpoint >> is this signal causing the issue. >> > > I have very little experience with embedded targets, and have > absolutely no clue on how to interpret your statement above. > > But I think that yes, SIGINT may have something to do with the > problem, as GDB is probably expecting SIGTRAP, not SIGINT. > >