473,320 Members | 2,054 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
Jul 6 '08 #1
5 1932
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.

Jul 6 '08 #2
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
Jul 6 '08 #3
On Sun, 6 Jul 2008 07:35:34 +0000 (UTC), Antoninus Twink posted:
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.
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
Jul 8 '08 #4
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.

Jul 8 '08 #5
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.

Jul 8 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Andr? Roberge | last post by:
I have the following two files: #--testexec.py-- def exec_code(co): try: exec co except: print "error" #-- test.py--
0
by: Jan | last post by:
I store sql-commands in a database table. In the first step I get the sql command out of the database table with embedded sql. In the second step I try to execute the command, which i got from the...
1
by: jgctr4 | last post by:
I'm trying to print an HTML file using AxWebBrowser.ExecWB but it it gives a run time error "Trying to revoke a drop target that has not been registered". Does anyone have any suggestions? ...
17
by: comp.lang.tcl | last post by:
The TCL command I am using will do a command-line action on a PHP script: set cannotRunPHP I have to do it this way as both the TCL script and the PHP script run as CLI. However, "info.php"...
5
by: TPJ | last post by:
I have the following code: ----------------------------------- def f(): def g(): a = 'a' # marked line 1 exec 'a = "b"' in globals(), locals() print "g: a =", a
8
by: flyingleon | last post by:
I have today downloaded gcc-4.1.1 and tried to configure and build it. I have successfully done this before with gcc-3.4.2. The gcc-4.1.1 includes gfortran which is a language that I need. The...
2
by: xml0x1a | last post by:
How do I use exec? Python 2.4.3 ---- from math import * G = 1 def d(): L = 1 exec "def f(x): return L + log(G) " in globals(), locals() f(1)
2
by: post | last post by:
www.equation.com 32-bit and 64-bit versions are available support openmp
3
by: post | last post by:
available for download at www.equation.com Enjoy free compilers.
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.