From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5377 invoked by alias); 20 Jul 2014 09:12:17 -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 5195 invoked by uid 89); 20 Jul 2014 09:12:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f52.google.com Received: from mail-wg0-f52.google.com (HELO mail-wg0-f52.google.com) (74.125.82.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 20 Jul 2014 09:12:08 +0000 Received: by mail-wg0-f52.google.com with SMTP id a1so5164464wgh.23 for ; Sun, 20 Jul 2014 02:12:05 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.94.166 with SMTP id dd6mr21895133wib.33.1405847525561; Sun, 20 Jul 2014 02:12:05 -0700 (PDT) Received: by 10.216.245.202 with HTTP; Sun, 20 Jul 2014 02:12:05 -0700 (PDT) In-Reply-To: References: Date: Sun, 20 Jul 2014 09:12:00 -0000 Message-ID: Subject: Re: deprecated_print_frame_info_listing_hook From: phi gcc To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00019.txt.bz2 Hi All, Forget my prev mail, I figured I forgot to setup deprecated_print_frame_info_listing_hook that is still there. That raise another question, will it disapear one day ? Cheers, Phi On Sun, Jul 20, 2014 at 10:46 AM, phi gcc wrote: > Hi All, > > This is my first post in this ML, if it is not the right place let me > know and I will register another list. > > I have my own hack on gdb since ages, that I port to each new broken > gdb, I mean each time GDB become incompatible with my updated linux, I > get the latest GDB and incorporate my few hacks in there. (this may > happen when [pt]trace change its API) > > Today I got from ubuntu LTS 14.04, and my old GDB (6.4) don't work > anymore. That's ok I get the latest GDB for that ubuntu 14.04 and it > sounds like it is gdb-7.7, I port my hack in there and kaboom, my hack > don't port because I heavily depend on > print_frame_info_listing_hook() to be called upon GDB interaction. > > I discover that this print_frame_info_listing_hook() is deprecated (thanx). > > My question is, what is the replacement for that, what is the right > place to stick a callback to my function when we hit a BP and enter > GDB loop? > > Thanx in advance > Cheers, > Phi