From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17859 invoked by alias); 20 Jul 2014 08:46:16 -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 17595 invoked by uid 89); 20 Jul 2014 08:46: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-f48.google.com Received: from mail-wg0-f48.google.com (HELO mail-wg0-f48.google.com) (74.125.82.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 20 Jul 2014 08:46:07 +0000 Received: by mail-wg0-f48.google.com with SMTP id x13so5066286wgg.31 for ; Sun, 20 Jul 2014 01:46:03 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.6.134 with SMTP id b6mr11527474wja.64.1405845963801; Sun, 20 Jul 2014 01:46:03 -0700 (PDT) Received: by 10.216.245.202 with HTTP; Sun, 20 Jul 2014 01:46:03 -0700 (PDT) Date: Sun, 20 Jul 2014 08:46:00 -0000 Message-ID: Subject: 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/msg00018.txt.bz2 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