This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debug problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]