From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12560 invoked by alias); 25 Jun 2012 21:55:25 -0000 Received: (qmail 12551 invoked by uid 22791); 25 Jun 2012 21:55:24 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f169.google.com (HELO mail-ob0-f169.google.com) (209.85.214.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 25 Jun 2012 21:55:12 +0000 Received: by obhx4 with SMTP id x4so9153111obh.0 for ; Mon, 25 Jun 2012 14:55:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.10.227 with SMTP id l3mr13723791oeb.39.1340661311913; Mon, 25 Jun 2012 14:55:11 -0700 (PDT) Received: by 10.182.12.38 with HTTP; Mon, 25 Jun 2012 14:55:11 -0700 (PDT) Date: Mon, 25 Jun 2012 21:55:00 -0000 Message-ID: Subject: How can I modify the source of new,malloc From: Zvi Vered To: crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00047.txt.bz2 Hello, I'm using crosstool-ng 5.1.2 to create gcc 4.3.2 The project started 3 years ago. This is the reason for the old version. I modify the code of new,malloc so it will print a message each time they are called. Where is the code of those routines ? Are they part of glibc ? I have a huge application (not written by me). I want to track all places where a dynamic allocation is done. Is there an alternative to my way ? Thanks, Zvika -- For unsubscribe information see http://sourceware.org/lists.html#faq