From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9256 invoked by alias); 3 Mar 2008 20:08:01 -0000 Received: (qmail 9249 invoked by uid 22791); 3 Mar 2008 20:08:00 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 03 Mar 2008 20:07:41 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 9FEB298119 for ; Mon, 3 Mar 2008 20:07:39 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 80A2E9802C for ; Mon, 3 Mar 2008 20:07:39 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JWGwk-0005Ct-Ta for overseers@sourceware.org; Mon, 03 Mar 2008 15:07:38 -0500 Date: Mon, 03 Mar 2008 20:55:00 -0000 From: Daniel Jacobowitz To: overseers@sourceware.org Subject: [bouth@touchtunes.com: Debug problem] Message-ID: <20080303200738.GC19677@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.17 (2007-12-11) Mailing-List: contact overseers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: overseers-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00137.txt.bz2 FYI, a confidentiality disclaimer that got through. ----- Forwarded message from Thierry Bouchard ----- Date: Mon, 3 Mar 2008 13:46:05 -0500 From: Thierry Bouchard Subject: Debug problem To: gdb@sourceware.org Hello, Im pretty new to GDB and Linux overall. I am trying to debug my 'first' program using GDB. I compiled a simple helloworld program using "gcc -g Hello.c". The debugging "works" since I can step through the code but instead of printing the next line to be executed properly while Im stepping, gdb prints something unreadable as seen below : Breakpoint 1, main () at Hello.c:20 ▒▒/home/nismael/My Programs/HelloWorld/Hello.c:20:277:beg:0x804844a Im using n to step through the code and the code Im stepping through has definitely been compiled for debugging (-g). Any ideas on what Im doing wrong? Thx! CONFIDENTIALITY CAUTION This e-mail and any attachments may be confidential or legally privileged. If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein. Please inform us of the erroneous delivery by return e-mail. Thank you for your cooperation. DOCUMENT CONFIDENTIEL Le pr?sent courriel et tout fichier joint ? celui-ci peuvent contenir des renseignements confidentiels ou privil?gi?s. Si cet envoi ne s'adresse pas ? vous ou si vous l'avez re?u par erreur, vous devez l'effacer. Vous ne pouvez conserver, distribuer, communiquer ou utiliser les renseignements qu'il contient. Nous vous prions de nous signaler l'erreur par courriel. Merci de votre collaboration. ----- End forwarded message ----- -- Daniel Jacobowitz CodeSourcery