From: David Froger <david.froger@gmail.com>
To: gdb@sourceware.org
Subject: Re: problem with conditional breakpoints
Date: Wed, 02 Sep 2009 15:31:00 -0000 [thread overview]
Message-ID: <9309543c0909020831g7a760c0fne4936a01830e6bc@mail.gmail.com> (raw)
In-Reply-To: <m3bpltpelc.fsf@fleche.redhat.com>
Tom,
Thank you!! So the good command is:
(gdb) b 55 if ((i.eq.2).and.(j.eq.2))
David
2009/9/2 Tom Tromey <tromey@redhat.com>:
>>>>>> "David" == David Froger <david.froger@gmail.com> writes:
>
> David> 3. It doesn't work:
> David> $ gfortran -g -o main.x main.f90
> David> $ gdb ./main.x
> David> (gdb) b addmat
> David> (gdb) run
> David> (gdb) b 55 if i==2 && j==2
> David> A syntax error in expression, near `=2 && j==2'.
>
> At this point the current language is fortran, so you need to use
> fortran syntax. Try "show language" at various points to see what is
> going on.
>
> Tom
>
prev parent reply other threads:[~2009-09-02 15:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-02 7:09 David Froger
2009-09-02 15:10 ` Tom Tromey
2009-09-02 15:31 ` David Froger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9309543c0909020831g7a760c0fne4936a01830e6bc@mail.gmail.com \
--to=david.froger@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox