* Debug problem
@ 2008-03-03 18:46 Thierry Bouchard
2008-03-03 20:07 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Thierry Bouchard @ 2008-03-03 18:46 UTC (permalink / raw)
To: gdb
[-- 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Debug problem
2008-03-03 18:46 Debug problem Thierry Bouchard
@ 2008-03-03 20:07 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2008-03-03 20:07 UTC (permalink / raw)
To: Thierry Bouchard; +Cc: gdb
On Mon, Mar 03, 2008 at 01:46:05PM -0500, Thierry Bouchard wrote:
> 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
How did you start GDB? Do you have a bad .gdbinit file? You seem to
be in annotation mode.
> CONFIDENTIALITY CAUTION
Please remove this from further postings to this public mailing list,
or we will have to block your messages. Sorry; it is site policy to
refuse messages with disclaimers.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-03 20:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-03 18:46 Debug problem Thierry Bouchard
2008-03-03 20:07 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox