Article View: gnu.gcc.help
Article #46434Re: Can somebody help me with gdb.
From: Zhenya Sorokin
Date: Tue, 15 Nov 1994 08:21
Date: Tue, 15 Nov 1994 08:21
29 lines
1898 bytes
1898 bytes
George Daswani (gdaswani@silicon.csci.csusb.edu) wrote: >Hello out there, > Can somebody help me with gdb? Well I can't seem to make >it work... [...] >.. this is the part where i'm stuck.. I can't do anything. I have >been using "dbx" for a while and it is good but I would rather use >gdb... On dbx when I type step, it goes step by step , etc.. However >when I do the same on gdb all I get is "program is not running" or >something like that.. When I type the run command it just runs the >program but it doesn't do it step by step... I'm pretty sure I'm doing >something really stupid and missing something... I second the motion. This "feature" (assuming it is not a bug) is really awkward. So far, the only remedy I found was to issue "br main()" (or something like that) as a first command to gdb. However, this could be as well done by gdb itself, couldn't it? Is this a right way to work with gdb (I am also a gdb-newbie)? -- Zhenya Sorokin E-mail : sorokin@ps1.iaee.tuwien.ac.at, sor@rs6.iaee.tuwien.ac.at Paper-mail : E. Sorokin, Gusshausstr. 27/359-9, 1040 Vienna, Austria Voice-mail : +43(1)58801-3703, -3948 Flame-mail : /dev/null
Technical Details
Message-ID:
<3a9r1o$c0j@news.tuwien.ac.at>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!newsfeed.pitt.edu!gatech!swrinde!pipex!uunet!news.tuwien.ac.at!rs6.iaee.tuwien.ac.at!sorReferences:
<39v7ta$ngn@news.csus.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,100a77b2db679587 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-11-15 00:21:12 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!newsfeed.pitt.edu!gatech!swrinde!pipex!uunet!news.tuwien.ac.at!rs6.iaee.tuwien.ac.at!sor From: sor@rs6.iaee.tuwien.ac.at (Zhenya Sorokin) Newsgroups: gnu.gcc.help Subject: Re: Can somebody help me with gdb. Date: 15 Nov 1994 08:21:12 GMT Organization: Vienna University of Technology, Austria Lines: 29 Message-ID: <3a9r1o$c0j@news.tuwien.ac.at> References: <39v7ta$ngn@news.csus.edu> NNTP-Posting-Host: rs6.iaee.tuwien.ac.at X-Newsreader: TIN [version 1.2 PL2]