Google Groups Home
Help | Sign in
target exec, gdb, gfortran
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Ron Ford  
View profile
 More options Jul 6, 2:16 am
Newsgroups: comp.lang.c
From: Ron Ford <r...@nowhere.net>
Date: Sun, 6 Jul 2008 00:16:13 -0600
Local: Sun, Jul 6 2008 2:16 am
Subject: target exec, gdb, gfortran

I thought I would ask a question that is decidedly non-political, although
I will admit that a frenchman made my fourth.  As well as infinite
cheeseburgers, and, of course, jenny.

When I believe to be issuing commands to dos that will step me through gdb,
I receive counter-communication that talks of target exec.

What do I need to do to not read of "target exec" and step through?

Dankenstein,
--
Nevertheless, it is even harder for the average ape to believe that he has
descended from man.
H. L. Mencken


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antoninus Twink  
View profile
 More options Jul 6, 3:35 am
Newsgroups: comp.lang.c
From: Antoninus Twink <nos...@nospam.invalid>
Date: Sun, 6 Jul 2008 07:35:34 +0000 (UTC)
Local: Sun, Jul 6 2008 3:35 am
Subject: Re: target exec, gdb, gfortran
On  6 Jul 2008 at  6:16, Ron Ford wrote:

> When I believe to be issuing commands to dos that will step me through gdb,
> I receive counter-communication that talks of target exec.

What exactly does the error message say?

> What do I need to do to not read of "target exec" and step through?

What are you doing at the moment? Try something like

gdb ./myprog
[snip guff]
(gdb) b main
Breakpoint 1 at [wherever]
(gdb) r

Then use step/next/etc.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Ford  
View profile
 More options Jul 6, 4:16 am
Newsgroups: comp.lang.c
From: Ron Ford <r...@nowhere.net>
Date: Sun, 6 Jul 2008 02:16:47 -0600
Local: Sun, Jul 6 2008 4:16 am
Subject: Re: target exec, gdb, gfortran
On Sun, 6 Jul 2008 07:35:34 +0000 (UTC), Antoninus Twink posted:

> (gdb) b main

I hang with gdb( foo) >text42.txt . Frenchman must be at fualt.
--
Wealth - any income that is at least one hundred dollars more a year than
the income of one's wife's sister's husband.
H. L. Mencken

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Ford  
View profile
 More options Jul 7, 8:37 pm
Newsgroups: comp.lang.c
From: Ron Ford <r...@nowhere.net>
Date: Mon, 7 Jul 2008 18:37:54 -0600
Local: Mon, Jul 7 2008 8:37 pm
Subject: Re: target exec, gdb, gfortran
On Sun, 6 Jul 2008 07:35:34 +0000 (UTC), Antoninus Twink posted:

Thanks for the tips, Anton.  I was doing a lot of things wrong
simultaneously.  I can step through it now, but the only information it
tells me is what line I'm on and that I'm in fmain.c .  The source is in
fortran, and I misposted to clc.

Since gdb is bigger than just one syntax, is there an ng where they talk
about it more thoroughly?
--
All men are frauds. The only difference between them is that some admit it.
I myself deny it.
H. L. Mencken


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
santosh  
View profile
 More options Jul 7, 8:41 pm
Newsgroups: comp.lang.c
From: santosh <santosh....@gmail.com>
Date: Tue, 08 Jul 2008 06:11:49 +0530
Local: Mon, Jul 7 2008 8:41 pm
Subject: Re: target exec, gdb, gfortran

Ron Ford wrote:

<snip>

> Since gdb is bigger than just one syntax, is there an ng where they
> talk about it more thoroughly?

gnu.gdb and gnu.gdb.bug.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Antoninus Twink  
View profile
 More options Jul 8, 3:07 pm
Newsgroups: comp.lang.c
From: Antoninus Twink <nos...@nospam.invalid>
Date: Tue, 8 Jul 2008 19:07:41 +0000 (UTC)
Local: Tues, Jul 8 2008 3:07 pm
Subject: Re: target exec, gdb, gfortran
On  8 Jul 2008 at  0:37, Ron Ford wrote:

> Thanks for the tips, Anton.  I was doing a lot of things wrong
> simultaneously.  I can step through it now, but the only information it
> tells me is what line I'm on and that I'm in fmain.c .  The source is in
> fortran, and I misposted to clc.

It may be that you haven't included debugging symbols in your executable
- try investigating compilation options (e.g. -g).

> Since gdb is bigger than just one syntax, is there an ng where they talk
> about it more thoroughly?

I'd recommend here if you're debugging C code, or comp.lang.fortran if
you're debugging Fortran.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google