From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14253 invoked by alias); 27 Sep 2006 06:21:35 -0000 Received: (qmail 14245 invoked by uid 22791); 27 Sep 2006 06:21:34 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.188) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 27 Sep 2006 06:21:33 +0000 Received: by nf-out-0910.google.com with SMTP id k26so448165nfc for ; Tue, 26 Sep 2006 23:21:30 -0700 (PDT) Received: by 10.49.8.10 with SMTP id l10mr2023353nfi; Tue, 26 Sep 2006 23:21:30 -0700 (PDT) Received: from ?82.57.32.114? ( [82.57.32.114]) by mx.gmail.com with ESMTP id o53sm2847022nfa.2006.09.26.23.21.29; Tue, 26 Sep 2006 23:21:30 -0700 (PDT) Message-ID: <451A18E0.90408@gmail.com> Date: Wed, 27 Sep 2006 06:21:00 -0000 From: Carmelo Amoroso Reply-To: carmelo73@gmail.com User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Andreas Schwab CC: Michael Snyder , gdb@sourceware.org Subject: Re: howto debug libthread_db References: <45193401.7000502@gmail.com> <1159294840.24808.76.camel@localhost.localdomain> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00160.txt.bz2 Andreas Schwab wrote: > Michael Snyder writes: > >> When you debug gdb with gdb, it is easier if you change the prompt. >> I usually do this in the 'parent' gdb, so I can tell it apart from >> the 'child' gdb: > > Or just run it from the gdb build directory, which contains a .gdbinit > that does more useful things. > Hi, my one is a cross build, is it ok copying the .gdbinit from the host build directory to the target platform ? > Andreas. > Carmelo