From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30131 invoked by alias); 12 Feb 2003 10:59:26 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 30124 invoked from network); 12 Feb 2003 10:59:26 -0000 Received: from unknown (HELO motgate2.mot.com) (136.182.1.10) by 172.16.49.205 with SMTP; 12 Feb 2003 10:59:26 -0000 Received: from mothost.mot.com (mothost.mot.com [129.188.137.101]) by motgate2.mot.com (Motorola/Motgate2) with ESMTP id h1CB067C007823 for ; Wed, 12 Feb 2003 04:00:06 -0700 (MST) Received: [from zch07exm05.corp.mot.com (ZCH07EXM05.corp.mot.com [200.3.1.211]) by mothost.mot.com (MOT-pobox 2.0) with ESMTP id DAA20592 for ; Wed, 12 Feb 2003 03:59:24 -0700 (MST)] Received: by ZCH07EXM05.corp.mot.com with Internet Mail Service (5.5.2656.59) id ; Wed, 12 Feb 2003 18:59:22 +0800 Message-ID: <89DEFCC5DB33D411A27F00508BCF8A8206168277@ZCH07EXM05.corp.mot.com> From: Yu kenny-a18604 To: gdb@sources.redhat.com Subject: How to define shared libray symbol file for GDB in cross debug en vironment? Date: Wed, 12 Feb 2003 10:59:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" X-SW-Source: 2003-02/txt/msg00196.txt.bz2 Hi, all: Here I have trouble in using GDB. I am in a cross-compiler environment. Host is x86 PC and target is xscale-arm. I've been succeeding in connect arm-gdbserver from host PC. Also I loaded symbol file of my binary - elf.out. But now the trouble is: There is some shared libraies like libmydb.so I want to load it in host as a symbol file. GDB 'sharedlibrary' command just search this shared-symbol-file in a fixed path - /usr/lib. I could not copy libmydb.so to /usr/lib cause there is a x86 shared library there with the same name. I can't change it now. So my question is how to direct gdb-host to load shared library symbol file in specific path, for example, /myhome/target(/libmydb.so)? Thanks in advance, Kenny Yu (Xuanwei) PCS R&D, Motorola 108, Jian Guo Road, Chao Yang District, Beijing, China (100022) Tel: (86) 10 - 6564 1346 Fax: (86) 10 - 6566 8542 mailto:kenny.yu@motorola.com [ x ] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary