Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Thierry Bouchard <bouth@touchtunes.com>
To: gdb@sourceware.org
Subject: Debug problem
Date: Mon, 03 Mar 2008 18:46:00 -0000	[thread overview]
Message-ID: <200803031346.05062.bouth@touchtunes.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain;   charset="utf-8", Size: 1506 bytes --]

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.


             reply	other threads:[~2008-03-03 18:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-03 18:46 Thierry Bouchard [this message]
2008-03-03 20:07 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200803031346.05062.bouth@touchtunes.com \
    --to=bouth@touchtunes.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox