From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29251 invoked by alias); 5 Mar 2012 15:16:36 -0000 Received: (qmail 29243 invoked by uid 22791); 5 Mar 2012 15:16:34 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Mar 2012 15:16:19 +0000 Received: from nat-dem.mentorg.com ([195.212.93.2] helo=eu2-mail.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1S4Ze6-00030i-1P from Thomas_Schwinge@mentor.com ; Mon, 05 Mar 2012 07:16:18 -0800 Received: from feldtkeller.schwinge.homeip.net ([172.30.64.48]) by eu2-mail.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 5 Mar 2012 16:16:16 +0100 From: Thomas Schwinge To: Kevin Buettner Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] [SH] Prologue skipping if there is none In-Reply-To: <20120302181810.71233eb9@mesquite.lan> References: <87pqdgciho.fsf@schwinge.name> <20120215075413.1313f7fa@mesquite.lan> <20120215165907.33f2e9a6@mesquite.lan> <8739aad9il.fsf@schwinge.name> <20120216182544.36b41a1b@mesquite.lan> <87mx8da3b9.fsf@schwinge.name> <20120220162029.2082b6a1@mesquite.lan> <87wr7c7aop.fsf@schwinge.name> <20120224144657.36bbd09f@mesquite.lan> <87r4xd528y.fsf@schwinge.name> <87d38w4rxr.fsf@schwinge.name> <20120301171847.306829ba@mesquite.lan> <87mx7z2qwc.fsf@schwinge.name> <20120302181810.71233eb9@mesquite.lan> User-Agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Mon, 05 Mar 2012 15:16:00 -0000 Message-ID: <878vjf2i4k.fsf@schwinge.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: 2012-03/txt/msg00139.txt.bz2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1499 Hi! On Fri, 2 Mar 2012 18:18:10 -0700, Kevin Buettner wrote: > On Fri, 02 Mar 2012 12:17:39 +0100 > Thomas Schwinge wrote: > > (I'm assuming ``this'' is the 28 instructions limit.) This is what many > > other architectures' tdep files are doing, too, and it triggers only as= a > > safeguard if we fail to find any other limit. Also, a similar thing is > > used in sh_in_function_epilogue_p. >=20 > In the past, [...] Thanks for telling the history of that. > enhancements which remove those limits would be welcome. Should we file a bug in bugzilla for that? > > > We do need some limit though. I'm just concerned about debugging leaf > > > functions where that limit will put us into the next function. (This > > > was one of the problems with my earlier patch - it didn't handle that > > > case.) > >=20 > > As I said, this limit is only a safeguard if everything else fails. > > Before that, the end of the function will have tried to be determined > > with the symbol table (find_pc_partial_function), or debug information > > (skip_prologue_using_sal), which will typically trigger (but not in PLT > > slots). >=20 > Hmm. Have you tried it when only minimal symbols are present? (It is > useful to have this stuff working so that you can get decent stack > traces when only linker symbols are present.) Yes, I had a look at gdb.base's arrayidx, advance and nodebug examples, and they're working as before. Gr=C3=BC=C3=9Fe, Thomas --=-=-= Content-Type: application/pgp-signature Content-length: 489 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJPVNi7AAoJENuKOtuXzphJmvoH+QH2OeO9IKxXGTcshl1WNuFz ugMjpRxDg4hlpevbDRqzK6fDB/9HLxJkoeKXWoGaLfIr6aqLlH04z/RucWaPd6x5 wxBpVdzaVFhzEEJsf+yYCmeU0azu7IwUyTxp5we2vnSVYeoGslZYihNIDEJA06iw tmo54FIgj6iaOTzv0ZhhZ+4NpxbWymhmFqVBoU+aMXka32Z4m8fzC2Tr27mBZc// 5OTl7sfk/1NZmyMHpMIy3OT6GYpbsiIlyE2K1VW7xuJxFcdLg21f009W5DVjnAkp H5//dWPMvNu9KGM5EBdB5wEeI511992ONnXD3aV4HBL0Chl/zr56cQlm2QDYXD8= =xlsi -----END PGP SIGNATURE----- --=-=-=--