From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6596 invoked by alias); 29 Feb 2004 08:10:42 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 6589 invoked from network); 29 Feb 2004 08:10:40 -0000 Received: from unknown (HELO pcsmail.patni.com) (203.124.139.197) by sources.redhat.com with SMTP; 29 Feb 2004 08:10:40 -0000 Received: from ruby.patni.com (ruby.patni.com [204.165.186.9]) by pcsmail.patni.com (8.11.6/8.9.3) with ESMTP id i1T86Av15941; Sun, 29 Feb 2004 13:36:10 +0530 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: How do I set breakpoints on all lines for a particular file. Date: Sun, 29 Feb 2004 08:10:00 -0000 Message-ID: <374639AB1012AA4C840022842AA95BC2015ABFE8@ruby.patni.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Kotian, Deepak" To: "Andrew Cagney" Cc: X-SW-Source: 2004-02/txt/msg00427.txt.bz2 Break at all functions in a particular file(.c file), can it be done? Thanks and Regards Deepak -----Original Message----- From: Andrew Cagney [mailto:cagney@gnu.org] Sent: Sunday, February 29, 2004 9:34 AM To: Kotian, Deepak Cc: gdb@sources.redhat.com Subject: Re: How do I set breakpoints on all lines for a particular file. > How do I set breakpoints in gdb on all lines for a a target program file. > Basically, I need to know if any code segment is executed from > that file. Other than explicitly setting a breakpoint on every line, I don't know. Andrew