From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28707 invoked by alias); 10 Dec 2012 12:57:17 -0000 Received: (qmail 28696 invoked by uid 22791); 10 Dec 2012 12:57:15 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from vl05.dinaserver.com (HELO vl05.dinaserver.com) (82.98.145.70) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Dec 2012 12:57:10 +0000 Received: from linux-8yvd.site (110.Red-79-156-132.staticIP.rima-tde.net [79.156.132.110]) by vl05.dinaserver.com (Postfix) with ESMTPA id 436951E9F1 for ; Mon, 10 Dec 2012 13:56:56 +0100 (CET) Message-ID: <50C5DC2E.70106@larraioz.com> Date: Mon, 10 Dec 2012 12:57:00 -0000 From: John Martin User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120328 Thunderbird/11.0.1 MIME-Version: 1.0 To: gdb@sourceware.org Subject: Doubts with GDB and GDBSERVER References: <50C5D99A.8040708@larraioz.com> In-Reply-To: <50C5D99A.8040708@larraioz.com> X-Forwarded-Message-Id: <50C5D99A.8040708@larraioz.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DinaScanner-Information: DinaScanner. Filtro anti-Spam y anti-Virus X-MailScanner-ID: 436951E9F1.489C4 X-DinaScanner: Libre de Virus X-DinaScanner-SpamCheck: no es spam, SpamAssassin (not cached, puntaje=-4.399, requerido 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-DinaScanner-From: jmartin@larraioz.com 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 X-SW-Source: 2012-12/txt/msg00038.txt.bz2 Hello, I have tried to use gdb and gdbserver to debug App but I have a doubts: In server side: gdbserver :12345 ./App In client side: GNU gdb (GDB) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-geode-linux-gnu". For bug reporting instructions, please see: . (gdb) target remote 192.168.1.150:12345 Remote debugging using 192.168.1.150:12345 warning: Could not load vsyscall page because no executable was specified try using the "file" command first. 0xb7fe77e0 in ?? () (gdb) file App A program is being debugged already. Are you sure you want to change the file? (y or n) y App: No existe el fichero o el directorio. (gdb) Is it possible to load symbol table App from target remote? Best regards.