From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8117 invoked by alias); 13 Jun 2005 18:21:18 -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 8099 invoked by uid 22791); 13 Jun 2005 18:21:13 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 13 Jun 2005 18:21:13 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j5DILCpV022374 for ; Mon, 13 Jun 2005 14:21:12 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j5DILBu00837; Mon, 13 Jun 2005 14:21:11 -0400 Received: from [172.16.24.50] (bluegiant.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id j5DIL9ml026435; Mon, 13 Jun 2005 14:21:09 -0400 Message-ID: <42ADCE94.1090804@redhat.com> Date: Mon, 13 Jun 2005 18:21:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird (X11/20050322) MIME-Version: 1.0 To: Eli Zaretskii CC: Klee Dienes , gdb-patches@sources.redhat.com Subject: Re: The gdb x86 function prologue parser References: <85C775AE-3B05-431E-96D2-49EA9D1413E6@apple.com> <20050608132431.GA4970@nevyn.them.org> <20050608095805.A67988@molenda.com> <200506120748.j5C7m75C011986@elgar.sibelius.xs4all.nl> <3364FC4D-63FB-493B-9136-D118F74C13BB@mit.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-06/txt/msg00160.txt.bz2 Eli Zaretskii wrote: >>Cc: Mark Kettenis , jason-swarelist@molenda.com, >> gdb-patches@sources.redhat.com >>From: Klee Dienes >>Date: Sun, 12 Jun 2005 07:59:01 -0400 >> >>(2) gets used by GDB when it wants to know where to set a breakpoint >>(the idea being that when you say "break foo", it wants to insert the >>breakpoint in foo() after the prologue has been fully executed). >> >>It also gets used where GDB wants to know if it is inside a function >>prologue for some reason (for example, so "next" knows if it has >>stepped into a new function, or simply jumped interprocedurally). > > > Thanks. > > (I'm collecting info for gdbint.texinfo, that's why I asked.) Also so "step into" can step past the prologue and not stop until it has reached user code. Same basic purpose as 2), but different context.